Tractor Communication/Control and Select Fire Perforating Switch Simulations
Apparatus and methods for controlling and communicating with one or more tools in a downhole tool string including a tractor, an auxiliary tractor tool, a logging tool, a safety sub, a release mechanism, a unit containing sensors for monitoring downhole conditions, a setting tool, and a perforating gun. Control and communication are accomplished by sending signals from the surface to control switches in the control units on the tool, with redundant switches for safety, to state machines in the respective control units, each state machine returning a signal verifying switch status to the surface. The state machine need not return a signal including a unique identifier.
Latest Hunting Titan, Ltd. Patents:
This application is a continuation of U.S. Non-Provisional application Ser. No. 12/451,913, filed May 3, 2010, which is the national phase application of PCT/US08/00200, filed Jan. 7, 2008, which claims the benefit of U.S. Provisional Application No. 60/879,169, filed Jan. 6, 2007, which related patent application is hereby incorporated in its entirety by this specific reference thereto.
BACKGROUND OF THE INVENTIONPerforating guns are used in operations to complete an oil or gas well by creating a series of tunnels through the casing into the formation, allowing hydrocarbons to flow into the wellbore. Such operations can involve multiple guns that create separate perforations in multiple producing zones where each gun is fired separately. Operations can also involve single or multiple guns in conjunction with setting a plug. The guns are typically conveyed by wireline, tubing or downhole tractors.
Switches are typically coupled to each detonator or igniter in a string of guns to determine the sequence of firing. One simple type of switch uses a diode that allows two guns (or a gun and a plug) to be fired, one with positive voltage and the other with negative voltage. Percussion switches are typically used to selectively fire three or more guns. Percussion switches are mechanical devices that use the force of the detonation of one gun to connect electrically to the next one, starting with the bottom gun and working up. The devices also disconnect from the gun just fired, preventing the wireline from shorting out electrically. One problem with percussion switches is that if any one switch in the gun string fails to actuate, the firing sequence cannot continue, and the gun string has to be pulled out of the wellbore, redressed and run again.
More recently, electronic switches have been used in select-fire guns. Unlike the percussion actuated mechanical switches, selective firing of guns can continue in the event of a misfired gun or a gun that cannot be fired because it is flooded with wellbore fluid. One commercial switch of this type has downlink communication but is limited in the number of individual guns that can be fired in one run. As with the percussion switches, the system relies on detecting changes in current at the surface to identify gun position, which may not be a reliable method to identify gun position in a changing environment.
Another type of electronic switch has both downlink and uplink communication, is not as limited in total number of guns that can be fired in a run, but is somewhat slow to fire because of the long bidirectional bit sequence required for communication. Both downlink and uplink communications use a unique address associated with each switch to identify correct gun position prior to firing.
A common problem in operating downhole devices is keeping unwanted power from causing catastrophic actions. Some examples include a perforating gun receiving voltage that accidentally fires the gun downhole, a setting tool being activated prematurely, a release device suddenly deploying and high voltage destroying electronics in a well logging tool because its power rating is exceeded. A solution is to stop unwanted power by inserting a blocking mechanism between the power supply and the downhole device that is to be protected. In a standard perforating job, the power to log and to detonate the perforating gun is located at the surface. Power can also be generated downhole using batteries. Recently, there have been detonator designs that incorporate electronics to block unwanted power from firing a gun.
The high voltage necessary to power a downhole tractor presents particular problems in protecting the tool string it conveys. The surface voltages powering a tractor are typically 1500 VDC or 1000 VAC. Tractors normally have an internal design that prevents tractor power from being transmitted below the tractor, but sometimes the circuitry fails or does not work properly, allowing induced voltage or direct voltage to pass through the tractor into the tool string below, which can include perforating guns or logging tools. To protect the tool string, one or more special safety subs are located between it and the tractor. Some of the subs use electrical/mechanical relays to block accidental tractor power. Others use electronic switches that are commanded to turn off and on using communication messages from the surface that contain a unique address.
More recently, the American Petroleum Institute has issued a recommended practice for safe tractor operations, RP 67, which includes a recommendation that the tractor be designed so that it blocks unwanted voltage from passing through and that the design is free of any single point failure. In addition, there must be an independent, certified blocking device between the tractor and any perforating gun to prevent unwanted power from being applied to a gun.
BRIEF SUMMARY OF EXAMPLES OF THE INVENTIONIt is, therefore, an object of the present invention to provide a command and response system featuring fast bidirectional communication while allowing a large number of guns to be fired selectively. The system requires communication through a cable and can include communications with a downhole tractor and safety sub. Two embodiments are provided, both using a state machine as part of the electrical switch to command and identify status within the switch. In one, the gun position before firing is uniquely identified by keeping track of the sequence of states. In the other, correct gun position is established by state and an uplink of a unique identifier. Unlike bidirectional communication electronic switches, a returned downlink of the identifier is not necessary.
Another object of the present invention is to provide a system that prevents tractor power from migrating past the tractor. Elements of this design are employed in a separate safety sub that acts as a further safety barrier to block unwanted power to the tool string.
Other objects of the present invention, and many advantages, will be clear to those skilled in the art from the description of the several embodiment(s) of the invention and the drawings appended hereto. Those skilled in the art will also recognize that the embodiment(s) described herein are only examples of specific embodiment(s), set out for the purpose of describing the making and using of the present invention.
The present invention provides a system for communicating bi-directionally with a tractor that includes means for connecting and disconnecting electrical power below the tractor. The system also allows bidirectional communication to sensors contained in the tractor for monitoring certain operational functions. The communication and uplink data transmission can occur with tractor power either off or on. A separate safety sub uses common elements of the bidirectional communication and switching to block unwanted voltage and to pass allowable voltage. In addition, methods are disclosed for disconnecting a shorted wireline below the tractor or below the safety sub.
Also provided is a system for bi-directional communication with other devices such as selectively fired perforating guns, setting tool, release devices and downhole sensors. According to described embodiments, the invention features a system to select and fire specific guns in a perforating string. In one embodiment each switch unit is interrogated and returns a unique address that is retrieved under system control from the surface. Each location within the gun string is identified with a particular address.
In another aspect, the present invention provides an embodiment in which every switch unit is identical without an identifying address. Each switch unit's sequential position in the gun string is identified by keeping proper track of the number of surface commands along with the uplink status from an embedded state machine. This predetermined chain of events provides surface information for determining the unique location of each switch unit in a given gun string. These enhancements allow for faster communication, initialization and firing time. As an added feature, all switches are exactly the same with no unique embedded address to program and manage.
Also provided is a method for controlling one or more devices on a tool string in a wellbore with a surface computer and a surface controller comprising the steps of sending a signal down a cable extending into the wellbore to one or more control units located on the devices in the tool string, each said control unit comprising a state machine for identifying the status of each said control unit, processing the signal with the state machine, controlling the position of one or more switches located on the device in the tool string when the state machine for that device processes a valid signal, and returning a signal validating switch action to the surface computer.
In another aspect, a method of switching wireline voltage between a tractor motor or the tractor output in a downhole tool string including a tractor is provided. The method comprises the steps of sending a signal to a control unit on the tractor from the surface, processing the signal with a state machine on board the tractor for controlling the position of one or more switches located in one or more circuits connecting the wireline to either the tractor motor or a through wire that connects to the tool string; and returning a signal validating switch action to the surface. In another aspect, a method of switching between a safe mode for tractoring and a perforating mode for perforating in a tool string including a tractor and a perforating gun that has been lowered into a well on a wireline is provided. The method comprises the steps of sending a signal to a control unit on the tractor from the surface, processing the signal with a state machine for controlling the position of one or more switches located in one or more circuits for connecting the wireline to either the tractor motor or a through wire connecting to the perforating gun, and returning a signal validating switch action to the surface.
Also provided is an explosive initiator that is integrated with a control unit comprising means for receiving a signal from a cable to which the explosive initiator is electrically connected, a microcontroller including a state machine for validating a signal from the signal receiving means, a switch responsive to an output from the microcontroller when a signal is validated by the state machine; and an explosive initiator that is connected to the switch.
In yet another aspect, the present invention provides an apparatus for checking the function of one or more downhole tools before lowering the tools into a wellbore comprising a pre-check controller, electrical connections between the pre-check controller and one or more downhole tools to be lowered into a wellbore, and one or more control units mounted on each downhold tool that are adapted for bi-directional communication with the pre-check controller, each control unit comprising a state machine for identifying the status of each control unit, the pre-check controller being adapted to send a plurality of commands to the respective control units.
Also provided is a method for checking one or more devices in a tool string before lowering the tool string into a wellbore comprising the steps of sending a signal to one or more control units located on the devices in the tool string, each control unit comprising a state machine for identifying the status of each control unit; and processing the signal with the state machine. The position of one or more switches located on the device in the tool string is controlled when the state machine for that device processes a valid signal and a signal validating switch action is returned from the control unit.
Also provided is a communication system than allows both serial and parallel control of downhole devices including tractors, auxiliary tractor tools, well logging tools, release mechanisms, and sensors. The advantage of parallel control is that individual devices can be interrogated without going through a series path, thereby being more accessible. Each tool in the parallel arrangement has a control unit that carries a tool identifier as part of its uplink communication. A detonator that contains an integral switch unit is also provided.
Also provided is a system including several components, a tractor, surface controller, surface computer, and safety sub as follows:
Tractor
-
- 1. Use of dual processors, each controlling a set of switches for connecting a W/L to either a tractor motor or a tool below for directing the wireline for powering the tractor power or providing a direct through wire mode.
- 2. A Zener diode in series with the final output to decouple the wireline in case of a short, thereby allowing communication to the micro in order to actuate a switch to disconnect a shorted circuit to regain tractor functions.
- 3. An inline series transformer on the output of the tractor with one end of the primary winding connecting directly to the tractor output while the other end connecting to tools below. In addition, the output end of the transformer primary is capacitive coupled to ground. In the event of a shorted W/L, a high frequency signal can be sent down the wireline and produce power on the transformer secondary for actuating a switch such as a motorized piston switch or a form C switch, thereby clearing the shorted wireline.
- 4. Pre-selecting W/L switches within a tractor and remaining in a fixed or latched position for further use by another service operation.
- 5. Provide real time status for temperature.
- 6. Provide real time status for downhole voltage.
- 7. Gang switch for control and status in a piston contact geometry.
- 8. Design applies to both AC or DC driven tractors.
- 9. Supports 2-way communication.
- 10. Receives downlink commands.
- 11. Transmits switch status.
- 12. Transmits sensor data (Temp, V, RPM, etc.).
- 13. No single point failures in Tractor itself
- 14. Complies with RP67.
Surface Controller
-
- 1. Wireless interface for sending and receiving data between a laptop computer and a Surface Controller.
- 2. Laptop provides:
- Control and human interface via special program
- Monitor System Status
- Archives data
- Job History
- Bluetooth between Laptop and Surface Controller.
- 3. Interfaces between laptop and Tractor.
- 4. Sends commands and solicits data.
Surface Computer
-
- 1. Wireless connection to a surface controller.
- 2. Monitor which power supply is connected between tractor or perforating and run appropriate program.
- 3. Surface computer for controlling tractor pre-check, tractor operations including communications and sending commands, and power for perforating.
- 4. Communicate using a power line carrier during tractor operation with either AC or DC power.
- 5. Correlation (CCL) during tractor operation.
Safety Sub
-
- 1. Use of dual processors, each controlling a set of switches for connecting a perforating gun string to either ground or to a downhole W/L.
- 2. A Zener diode in series with the final output to decouple the wireline in case of a short thereby allowing communication to the micro in order to actuate a switch to disconnect a shorted circuit in order to regain tractor functions.
- 3. Provide an inline transformer on the output of the Safety Sub having the output capacitive coupled to ground. In the event of a shorted W/L, a high frequency signal can be sent down the wireline and produce power on the transformer secondary for actuating a switch such as a motorized piston switch or a form C switch, thereby clearing the shorted wireline, and produce power on the transformer secondary for actuating a piston switch and clearing the shorted wireline in the same way as with the tractor.
- 4. A wireless interface for sending and receiving data between a laptop computer and a Surface Controller.
- 5. Pre-selecting Safe Sub W/L switches and remain in a fixed position for further use by another service operation.
- 6. Supports two-way communication.
- 7. Receives Safe and Perf commands from surface.
- 8. Transmits switch status.
- 9. Independent Unit with no single point failures.
- 10. Uses same design as portion of tractor electronics.
- 11. Complies with RP67.
Referring now to the figures,
In more detail, and referring to
Perforating power supply 26 and Tractor Power Unit 22 are not connected to the Wireline Collector 28 at the same time. Wireline Collector 28 provides a means for selecting a plurality of different signals or power for a specific operation. In all cases, only one signal and/or power source 22, 26 is connected to wireline collector 28 at a time.
Referring now also to
Surface Controller 30 runs such events as pre-check and initialization of tractor 10, controlling tractor power supply 22 during tractor operation, running embedded software for logging during tractor operations, controlling sequences during a perforating job, communicating with and controlling other tools in a string such as drop-off joints (to disconnect in case of being stuck in the hole), safety sub functions, and operating parameters of tractor 10 such as temperature, RPM, voltage and/or current, etc. A Downlink Driver 34 typically interfaces to wireline 24 through transformer 36 to send signals down wireline 24 while powering the tools below. Uplink signals are monitored across a Signal Transformer/current-viewing-resistor (CVR) 38 and decoded for message integrity by uplink 40. Series wireline switch 42 turns power ON or OFF under computer control and also by means of using a manual removable safety key 44.
Surface Computer 32 is also equipped with a wireless or cable, or combination of wireless and cable, interface 46 to Pre-Check Controller 48. Pre-Check Controller could include a laptop, PDA or any preprogrammed device that controls predetermined events, a laptop computer being shown in
As described above, Surface Controller 30 is equipped with power supplies 22, 26, one for perforating and another for tractor operations, in separate compartments for safety reasons, and only one is connected to wireline 24 at a time through a Perf/Tractor switch in wireline collector 28. The switch could also be a physical connector that allows only one connector to be installed at a time. Those skilled in the art will also recognize that computer 32 can be configured to sense whichever power supply is connected and only allow the programs to run that are associated with a particular power supply.
The purpose of the pre-check is to verify proper function of all control units connected to the wireline. Tractor Control Units, Safety Sub Control Units, Sensors, and Release Devices are tested. An additional reduced current and voltage power supply is utilized for testing Switch Units within a gun string. These tests verify that the Control Units are communicating and functioning correctly before running the perforating gun in the hole, and for safety reasons, are typically not done with the same power supply used to fire the gun downhole. As described above, a special power supply is used that generates communication power signals with limited current output in accordance with API RP 67. Pre-Check Controller 48 commands a special internal power supply and sends power along with signals to the Control Units in the gun string through a connecting cable. Pre-Check Controller 48 receives wireless commands from a laptop; alternatively, Surface Controller 30 communicates wirelessly using communication protocols such as BlueTooth which limits the wireless output power according to established commercial standards.
A Downlink Driver 50 provides an interface link between the Microprocessor and a Signal Transformer 52 that is capacitor coupled to the wireline. Induced signals from transformer 52 are received by the Tractor or Safety Sub (not shown in
As an example, the following describes a pre-check event for a plurality of Switch Units.
The default or initial condition of the Deto Switch, see
There are several variations on this sequence. One variation is for the top Switch Unit to send an automatic uplink message after being powered up containing a State (0) status, State Machine status, and security check word. The surface computer records and validates the message and returns a downlink command to advance the State Machine to (1), which turns the W/L Switch ON. The top Switch Unit then sends a second uplink message that contains a State (1) status. Applying power to the next Switch Unit wakes it up and triggers an automatic uplink message of its current State (0) status. The uplink is delayed to allow the second uplink message to be received first at the surface. The second Switch Unit is then commanded from the surface to advance to State (1), and so forth. By recognizing the change in state of each Switch Unit as it is communicated with, the surface computer can uniquely identify each Switch Unit in the perforating gun string.
A tractor has two basic operation modes, Tractor Mode or Logging Mode. In Tractor Mode, high power is delivered to the tractor motor for pushing tools along a horizontal section of a well. In Logging Mode, the tractor provides only a through-wire connection to tools connected below the tractor.
The process of switching the wireline is accomplished using small voltage and low current signals. The following disclosure describes a control system within the tractor that safely disconnects the wireline from the tractor motor and connects it to the output of the tractor. The system only allows connection to the Logging Mode when certain criteria are met and verified, and contains redundancy so that no single point failure can cause unwanted voltage below the tractor. Referring to
To comply with safety standards for perforating while using a tractor, it is necessary not to have single point failures that cause unwanted voltages on the output of the tractor. The embodiment in
It is sometimes important to solicit critical operating parameters associated with operation of a well tractor including, but are not limited to, temperature, head voltage and current delivered to the tractor unit, as well as tractor motor RPM. These and other operating parameters are retrieved in real time by surface computer 32 using a power line carrier communications (PLCC) that provide for both downlink and uplink communication signals to be sent over a wireline in real time while the tractor is powered. On the transmit side, communication signals are injected onto the wireline and ride on top the power. On the receiver side, signals are extracted using band pass filter techniques, allowing commands to be sent to the tractor control electronics as well as retrieving status from downhole events.
A plurality of temperature sensors, shown schematically at reference numeral 90, may be used to monitor downhole temperature, motor winding temperature, boring bit temperature, or any other necessary tractor functions as known in the art. Implementation is accomplished by a variety of sensors. Examples include a resistor-thermal-device (RTD) associated with a reference voltage, thermocouples, junction voltages of semiconductors, and voltage-to-frequency converter associated with an RTD. In all of the examples, a calibration and scale factor is part of an overall design as known to persons practicing the art. The sensor outputs mentioned are represented by either a voltage or frequency and monitored by either an analog-to-digital input or time domain counter and converted to temperature. The revolutions-per-minute (RPM) of various motors within a tractor is important for milling operations as well as pushing pay loads to location. The RPM sensor 91 accumulates pulses generated as a function of motor shaft rotation. Various sensors may be used including, but not limited to, magnetic field coupling, optical, infrared, switch contacts, and brush encoders. Pulses generated are counted over a selected time frame for RPM derivation.
As part of the safety requirements for perforating with a tractor system, a separate independent device, typically the above-described Safety Sub 14 (
The block diagram in
Each set 94A, 94B of single-pole-double-pole (SPDT/form C) switches are ganged together with another like pair of contacts to obtain true status of the existing pair. The switches shown are generic and can be one or more of many different types such as latching relays, latching solenoid piston switches, bidirectional solid state switches in the form of N and P channel FETs, and IGBT with high side drivers, all as known in the art. The switch control 96A, 96B between microprocessor 98A, 98B and the switch element is designed for appropriate action as known in the art. Switches within the Safety Sub are controlled from the surface by sending signals to the Control Units that are decoded by onboard microprocessor 98A, 98B and used to control the position of switches 94A, 94B. In addition, switch status is returned to the surface, thereby providing validation of switching action. Each control unit also has an onboard power supply 100A, 100B along with circuits that transmit 102A, 102B and receive 104A, 104B communication signals.
A motorized piston switch as shown in
A wireline can short to ground when the perforating gun fires and communication can be interrupted, particularly with a form-C switch. Without communication, the switches in both the Tractor and the Safety Sub cannot be changed.
A second method of preventing a short on the output of the Safety Sub is to place a diode in series with the output of the Safety Sub. Those skilled in the art will recognize that the diode could be a normal diode of chosen polarity, a single Zener diode of chosen polarity, or a back-to-back Zener having a predetermined breakdown voltage in both directions. Using a normal diode as an example, perforating is done in one polarity and communication in the opposite polarity. With a simple diode, only one polarity would be shorted to ground thereby allowing communication by using the opposite polarity.
A Zener provides the same results as a normal diode along with a selected breakdown voltage in one polarity. With a properly selected Zener voltage, communication continues at signal levels below breakdown voltage with the advantage that shooting of the perforating gun can be done selectively in both polarities. The voltage delivered to the gun system in one polarity would be less by the Zener breakdown value and generally has no effect on perforating. A back-to-back Zener has all the features of a single Zener diode except that standoff voltage is the same for both polarities. The voltage delivered to the gun system would be less by the Zener breakdown value for both polarities of shooting voltage. Again, no detrimental effect is seen during selective perforating. Voltage blocks between the Safety Sub can also be accomplished using a Triac that triggers at a predetermined voltage that is either positive or negative and is above the operating voltages of the Safety Sub. The Triac blocks all voltages until triggered and after being triggered, only a small voltage drop is seen across the device, which is desirable for shooting selectively (plus and minus polarities). Another method for creating a voltage block is implemented with a set of FET transistors. One P-Channel FET controls or switches the high side and the other N-Channel FET controls or switches the low side, allowing both polarities to pass for selective shooting. Again, predetermined switch voltages (turn ON) can be implemented using zeners, diacs, thyristors, etc.
Referring to
The block diagram in
a. Downlink—FSK (mark/space frequencies TBD)
b. Uplink—Current Loop, modified NRZ
Baud Rate—300 Baud or higher (for example).
Initialization of the Switch Units (
If one of the guns fails to fire for some reason, the operator can communicate and control the remaining guns. Given that misfires can occur frequently, an extra gun(s) can be attached to the gun string and fired in place of a misfired gun, saving an additional trip in the hole. Accidental application of voltage on the wireline will not cause a detonation because proper communication must be established before the Switch Unit will connect to the detonator. As an added safety element, a top switch may be added that is not connected to a detonator, giving a safety redundancy that prevents an accidental detonation should a Switch Unit be defective.
Detonators can include all types, such as hot wire detonators, exploding foil initiators, exploding bridge wire detonators, and semiconductor bridge detonators. In addition, the Switch Units described herein can be integrated into the body of such detonators as shown in
In an alternative embodiment, the interrogation-response communications system of the present invention does not use addressing between the surface computer and the downhole Switch Units. In this alternative embodiment, the surface computer and power supply are typically the same as used in ordinary perforating jobs, but different software is used for the communication protocol that tracks the number of uplink and downlink messages and the state machine position within each Switch Unit.
The process begins at the time the Surface Unit sends power down the wireline. The Surface Unit then sends a State (0) command to the top Switch Unit (3). After receiving the first message, the top Switch Unit (3) validates the message. Upon receiving a valid message, the State Machine advances within the top Switch Unit (3). If the message validation is error free, Switch Unit (3) uplinks a message containing switch status, State Machine status, and a security check word. If an invalid message is received, the Switch Unit uplinks an invalid response message. Upon receiving the first uplink message from Switch Unit (3), the surface computer validates the message, verifies the status of the State Machine, and switches and downlinks a W/L ON command. If the Switch Unit sends an error message or the uplink message was invalid in any way, the power to the gun string is removed and the process restarted.
Upon receiving the second downlink message, the State Machine advances within the top Switch Unit (3). If the message validation is error free, the Switch Unit (3) turns the W/L Switch ON, uplinks a message containing switch status, State Machine status, and a security check word and then goes into hibernation. The action of turning W/L Switch ON within Switch Unit (3) allows wireline power to be applied to Switch Unit (2). If an invalid message was receive, the Switch Unit uplinks an invalid message response with no other action. Upon receiving the second uplink message from Switch Unit (3), the surface computer validates the message and verifies the status of the State Machine and the switches, completing the communication to Switch Unit (3). Switch Unit (3) then goes into hibernation.
The following process begins a first time communication to Switch Unit (2). The surface computer sends the first message, a State (0) command to the middle Switch Unit (2). Switch Unit (2) now receives and validates its first message. Upon receiving a valid message, the State Machine advances within the middle Switch Unit (2). If the message validation is error free, Switch Unit (2) uplinks a message containing switch status, State Machine status, and a security check word. If an invalid message is received, the Switch Unit uplinks an invalid response message. Upon receiving the first uplink message from Switch Unit (2), the surface computer validates the message, verifies the status of the State Machine and then switches and downlinks a W/L ON command. If the Switch Unit sends an error message or the uplink message was invalid in any way, the power to the gun string is removed and the process restarted.
The middle Switch Unit (2) receives and validates the second downlink message. Upon receiving a valid message, the State Machine advances within middle Switch Unit (2). If the message validation is error free, the Switch Unit (2) turns the W/L Switch ON, uplinks a message containing switch status, State Machine status, and a security check word and then goes into hibernation. With the action of turning W/L Switch ON with Switch Unit (2), wireline power is applied to Switch Unit (1). If an invalid message is received, the Switch Unit uplinks an invalid message response. Upon receiving the second uplink message from Switch Unit (2), the surface computer validates the message, verifies the status of the State Machine and the switches, completing the communication to Switch Unit (2). Switch Unit (2) then goes into hibernation.
The following process begins a first time communication with Switch Unit (1). The Surface Unit sends the first message, a State (0) command to the bottom Switch Unit (1), which receives and validates its first message. Upon receiving a valid message, the State Machine advances within bottom Switch Unit (1). If the message validation is error free, Switch Unit (1) uplinks a message containing switch status, State Machine status, and a security check word. If an invalid message is received, Switch Unit (1) uplinks an invalid response message. Upon receiving the first uplink message from Switch Unit (1), the surface computer validates the message, verifies the status of the State Machine, and switches and downlinks an ARM ON command. If an error message was sent or the uplink message was invalid, power to the gun string is removed and the process restarted.
Upon receiving the second downlink message, the state machine advances within the bottom Switch Unit (1). If the message validation is error free, the Switch Unit (1) turns the ARM Switch ON, uplinks a message containing switch status, State Machine status, and a security check. If an invalid message is received, the Switch Unit uplinks an invalid message response. Upon receiving the second uplink message from Switch Unit (1), the surface computer validates the message, verifies status of the State Machine and the switches and downlinks a FIRE ON command. If an error message was sent or the uplink message was invalid in any way, power to the gun string is removed and the process restarted.
Upon receiving the third downlink message, the state machine advances within the bottom Switch Unit (1). If the message validation is error free, the Switch Unit (1) turns the FIRE Switch ON, uplinks a message containing switch status, State Machine status, and a security check. If an invalid message is received, the Switch Unit uplinks an invalid message response. Upon receiving the third uplink message from Switch Unit (1), the surface computer validates the message, verifies the status of the State Machine and the switches. All conditions are now met to send power for detonation of the bottom gun. Following detonation, power is removed from the wireline and the gun string is repositioned for firing gun (2), which is now the bottom gun. On a gun string of (n) guns, the process is repeated for each gun. Again, no addressing is required.
Those skilled in the art will recognize that there are several variations on this method. One variation is for the top Switch Unit to send an automatic uplink message after being powered up containing a State (0) status, State Machine status, and a security check word. The surface computer records and validates the message and returns a downlink command to advance the State Machine to State (1), which turns the W/L Switch ON. The top Switch Unit then sends a second uplink message containing a State (1) status that is verified at the surface. Applying power to the next Switch Unit wakes it up and triggers an automatic uplink message of its current State (0) status. The uplink is delayed to allow the second uplink message to be received first at the surface. The second Switch Unit is then commanded from the surface to advance to State (1), and so forth until the bottom Switch Unit is located and power sent to detonate the bottom perforating gun. By recognizing the change in state of each Switch Unit as it is communicated, the surface computer uniquely identifies each Switch Unit in the perforating gun string.
After receiving the second downlink message the State Machine advances from State (2) to State (3) and tests the second message sent for correct bit count, content and cyclic-redundancy-check (CRC). If the second message is invalid, the State Machine advances from State (3) to State (9) and uplinks an invalid message status. The results of this action alert the surface computer and cause the Switch Unit to progress to a permanent hold state waiting for power to be removed. If the second message is verified, the received command bits must be decoded. The two legal commands for the second downlink message are a W/L ON command or an ARM ON command. If the Switch Unit decodes a W/L ON command, the State Machine advances from State (3) to State (4). While in State (4), the Switch Unit turns the W/L Switch ON, uplinks a valid status message and then goes into hibernation. The Switch Unit is not allowed to receive any further commands. If the Switch Unit decodes an ARM ON command, the State Machine advances from State (3) to State (5) and turns the ARM Switch ON, uplinks a valid status message and waits for a third downlink message.
After receiving the third downlink message, the State Machine advances from State (5) to State (6) and again the message is validated for content. If an error is detected in the third downlink message, the State Machine advances from State (6) to State (10) and uplinks an invalid message status. The results of this action alert the surface computer and cause the Switch Unit to progress to a permanent hold state waiting for power to be removed. If a valid third downlink message is decoded along with a valid FIRE ON command, the State Machine advances from State (6) to State (7). While the State Machine is in State (7), the switch unit sets the FIRE Switch to ON, uplinks a valid status message, and waits for the firing voltage to be applied to the wireline. Application of the firing voltage causes the detonator to fire. Other error trapping as known to those skilled in the art may also be used in accordance with the method of the present invention.
Another alternative embodiment follows the same logic except that any uplink message also contains a unique address specific to a particular Switch Unit. The address is pre-programmed into the State Machine during manufacturing of the circuit, providing additional confirmation of the position of an individual Switch Unit within the tool string.
In the following paragraphs, an interrogation-response communication between the surface computer and the downhole Switch Units is described that uses common commands for all downlink interrogations. The surface computer and power supply are typically the same as used in ordinary perforating jobs and the communication protocol is implemented with appropriate software. All Switch Units respond to a common specific protocol for the downlink interrogation. A unique address is retrieved from each individual switch unit as a result of a downlink interrogation and is transmitted back up to the surface computer. In this embodiment, downlink commands do not contain the address of the switch, making the commands shorter and quicker than if they did.
After receiving the first message, the top Switch Unit validates the message. If the downlink message is free of errors, the top Switch Unit advances the State Machine, loads its embedded unique address, and uplinks a message containing switch status, state machine status, address information and a security check word. If the downlink message contains errors, the Switch Unit advances the state machine and uplinks an invalid message response identifying the detected error. This error trapping is repeated for any invalid receive message for a switch unit. For clarity, this routine will not be repeated in the remaining paragraphs of this description of this embodiment of the communication/control protocol of the present invention. The surface computer receives and validates the first uplink message from the top Switch Unit. The State Machine status is compared to expected results and the unique address is recorded.
The surface computer sends a second downlink containing a W/L ON command. If the Switch Unit sent an error message or the uplink message was invalid in any way, the power to the gun string would be removed and the process restarted. The top Switch Unit receives and validates the second downlink message. If a valid message was received, the Switch Unit advances the State Machine, turns the W/L Switch ON, loads the embedded unique address for the top Switch Unit, and uplinks a message containing switch status, State Machine status, address information, and a security check word. The top Switch Unit then goes into hibernation. With the W/L switch turned ON, the second Switch Unit in the string is now powered. The surface computer verifies the final uplink message from the top Switch Unit, which includes State Machine and switch status and the unique address of the Switch Unit, completing the sequence for the top Switch Unit.
The surface computer now interrogates the second Switch Unit. The first downlink interrogation to the second Switch Unit includes a State (0) command. After receiving the first message, the second Switch Unit validates the message. If the downlink message is free of errors, the second Switch Unit advances the State Machine, loads the embedded unique address, and uplinks a message containing switch status, state machine status, address information, and a security check word. If the downlink message contains errors, the Switch Unit advances the State Machine and uplinks an invalid message response identifying the detected error. The surface computer receives and validates the first uplink message from the second Switch Unit. The State Machine status is compared to expected results and the unique address is recorded. The surface computer sends a second downlink containing ARM ON command. If the Switch Unit sent an error message or the uplink message was invalid in any way, the power to the gun string is removed and the process restarted.
The second (bottom) Switch Unit receives and validates the second downlink message. If a valid message is received, the Switch Unit advances the State Machine, turns the ARM Switch ON, loads the embedded unique address for the second Switch Unit, and uplinks a message containing switch status, state machine location, address information and a security check word. The surface computer receives and validates the second uplink message from the second (bottom) Switch Unit. State Machine status and unique address are compared to expected results and the surface computer sends a third downlink message containing a FIRE ON command. If the Switch Unit sent an error message or the uplink message was invalid in any way, the power to the gun string would be removed and the process restarted.
The second (bottom) Switch Unit receives and validates the third downlink message. If a valid message is received, the Switch Unit advances the State Machine, turns the FIRE Switch ON, loads the embedded unique address for the second Switch Unit, and uplinks a message containing switch status, state machine location, address information, and a security check word. The surface computer receives and validates the third uplink message from the second (bottom) Switch Unit. State Machine status and unique address are compared to expected results, and if all status and address data is correct, the surface power supply is allowed to send shooting voltage to the second switch and the bottom gun detonates.
Those skilled in the art will recognize that there are several variations on this sequence. One variation is for the top Switch Unit to send an automatic uplink message containing a State (0) status, State Machine status, the unique embedded address for the top Switch Unit, and a security check word after being powered up. The surface computer records and validates the message and returns a downlink command to advance the State Machine to State (1), which turns the W/L Switch ON, which powers the next Switch Unit, which then automatically uplinks a message containing a State (0) status, State Machine status, the unique embedded address, and a security check word, and so forth until the bottom Switch Unit is reached and firing power applied to detonate the gun.
In the preceding paragraphs, selective perforating with Switch Units controlling power access to detonators was described.
Another version of the application of parallel/series communication is for conveyance of well logging tools by a tractor as shown in
In addition, before an uplink transmission can occur, the logical position of the state machine is compared and must be in sync with the expected state position transmitted by the host. This comparison further discriminates which messages are legal and which controllers are allowed to return an uplink message. In another embodiment, to distinguish further or identify one type of tool from the other, an identifier, either unique or common to that type of tool is attached to each uplink or returned message. Those skilled in the art will recognize that these methods apply to each of the controllers within the parallel and serial systems shown in
Referring to
The Surface Unit then receives and validates the first uplink message. If the message is in error, the Surface Controller goes into a restart mode by turning power OFF and then back ON for a fresh start. If the message is error free, the Surface Controller transmits a second message containing the same control command along with the state machine expected position. Again, all remote control units receive the second message and only the one controller matching the downlink state position and having received a legal command is allowed to advance and process the message. If the message is verified and an error exists, then a bad message status is returned and the downhole device must be powered down to continue. If the message is verified to free of errors, the command is processed and a return (uplink) confirmation message is transmitted. The Surface Controller receives and validates the message, and if the message contains errors, the Surface Controller restarts the entire process. If the message is error free, the Surface Controller accepts the data and continues to the next command or next control unit.
While in state “2,” the command bits are decoded. If an illegal command is decoded for that particular controller, the state machine again goes back to state “0.” If a legal command is decoded, the device returns a message containing state “3,” the decoded command, all status, embedded address (if used) and cyclic-redundancy-check. The device now waits for a second downlink message. Upon receiving a second downlink message the state machine advances to state “4.” While in state “4,” the control unit verifies receiving the proper state position from the surface controller, again compares the command bits with the previous command bits, cyclic-redundancy-check, and message length. If the message is invalid in any way, the state machine advances to state “6” and the downhole controller transmits an uplink message confirming an invalid message. At this point, the control unit must be powered down to restart. If the message is valid, the state machine advances to state “5.” While in state “5,” the control unit processes the command. For the last event, the control unit transmits an uplink message including state “5” position, all status, embedded address (if used), and cyclic-redundancy-check. The State Diagram in
Those skilled in the art who have the benefit of this disclosure will recognize that certain changes can be made to the component parts and steps of the present invention without changing the manner in which those parts/steps function and/or interact to achieve their intended result. Several examples of such changes have been described herein, and those skilled in the art will recognize other such changes from this disclosure. All such changes are intended to fall within the scope of the following, non-limiting claims.
Claims
1. Apparatus for controlling one or more devices in a wellbore comprising:
- a surface computer;
- a surface controller;
- one or more control units connected to one or more devices, the control units being adapted for bi-directional communication with said surface controller over a cable, each said control unit comprising a state machine for identifying the status of the control unit, the surface controller being adapted to send commands to the control units;
- characterized in that;
- the state machine of each control unit is adapted to identify one or more valid commands for each status of the control unit;
- the control units each being adapted to verify whether a command is valid for the status of the control unit, send an error message to the surface controller if the command is not valid for the status of the control unit, perform the command and send an uplink message to the surface controller comprising the status of the control unit if the command is valid for the status of the control unit; and
- the surface controller being adapted to identify the relative position of the devices within the tool string by tracking the commands and uplink messages and remove power to the control units if it receives an error message or if does not receive an uplink message after the command is sent.
2. The apparatus of claim 1 wherein said surface computer communicates with the surface controller via wireless connection.
3. The apparatus of claim 1 wherein said surface computer and said surface controller selectively controls said control units using a sequence of commands.
4. The apparatus of claim 1 wherein each said control unit is adapted for communicating status information to said surface computer over-a cable.
5. The apparatus of claim 1 wherein the control units are electrically connected in series.
6. The apparatus of claim 1 wherein said control units access one or more than one of the following: a tractor motor; sensors for monitoring one or more of the parameters of tractor RPM, temperature, voltage, and/or current either at the surface or at the surface while tractoring; a mechanism for releasing a tractor from said cable; a mechanism for releasing one or more tools in a tool string; a unit containing sensors for monitoring downhole conditions including temperature, pressure, voltage, current, inclination, rotation, and/or acceleration; a well logging tool; an auxiliary tractor tool; a device for blocking voltage; an explosive initiator; a perforating gun including an explosive initiator; and/or a setting tool including an explosive initiator.
7. The apparatus of claim 1 wherein said control unit comprises one or more transistor switches, form-C switches, latching relays, or motorized piston switches.
8. The apparatus of claim 1 additionally comprising voltage-protected circuitry for controlling one or more switches in said control unit.
9. The apparatus of claim 8 wherein said voltage-protected circuitry comprises a shunting device and a fuse element.
10. The apparatus of claim 8 further comprising a circuit containing a transformer or one or more diodes, Zener diodes, triacs, or P- or N-channel FETs.
11. The apparatus of claim 1 wherein the state machine of each of said control units is provided with a pre-assigned identifier for each said control unit.
12. The apparatus of claim 11 wherein the pre-assigned identifier is contained in either a downlink, an uplink, or both downlink and uplink communications.
13. An explosive initiator integrated with a control unit comprising:
- means for receiving a signal from a cable to which the explosive initiator is electrically connected;
- characterized in that the initiator further comprises:
- a microcontroller including a state machine for validating a signal from said signal receiving means;
- a switch responsive to an output from said microcontroller when a signal is validated by the state machine; and
- an explosive initiator connected to said switch.
14. The explosive initiator of claim 13 additionally comprising a switch for passing power, communication signals, or power and communication signals, to a device connected to the cable.
15. The explosive initiator of claim 13 wherein said switch is comprised of an explosive initiator switch and a wireline switch.
16. The explosive initiator of claim 13 wherein the state machine is provided with a pre-assigned identifier.
17. An apparatus for checking the function of one or more downhole tools before lowering the tools into a wellbore comprising:
- a pre-check controller;
- electrical connections between said pre-check controller and one or more downhole tools to be lowered into a wellbore; and
- one or more control units mounted on each downhole tool adapted for bi-directional communication with said pre-check controller, each said control unit comprising a state machine for identifying the status of each said control unit, said pre-check controller being adapted to send a plurality of commands to the respective control units;
- characterized in that;
- the state machine of each control unit is adapted to identify one or more valid commands for each state of the control unit;
- the control units each being adapted to verify whether a command is valid for the state of the control unit, send an error message to the pre-check controller if the command is not valid for the state of the control unit, perform the command and send an uplink message to the pre-check controller comprising the state of the control unit if the command is valid for the state of the control unit; and
- the pre-check controller being adapted to identify the relative position of the devices within the tool string by tracking the commands and uplink messages and remove power to the control units if it receives an error message or if it does not receive an uplink message after the command is sent.
18. The apparatus of claim 17 additionally comprising a surface computer, said surface computer communicating with said pre-check controller via either a cable, a wireless connection, or a combination of cable and wireless connection.
19. The apparatus of claim 17 wherein the state machine of each of said control units is provided with a pre-assigned identifier for each said control unit.
20. The apparatus of claim 19 wherein the pre-assigned identifier is contained in either a downlink, an uplink, or both downlink and uplink communications.
21. The apparatus of claim 17 wherein the switches controlled by the state machine are located on either a perforating gun or setting tool.
Type: Application
Filed: Nov 13, 2013
Publication Date: Jun 5, 2014
Applicant: Hunting Titan, Ltd. (Pampa, TX)
Inventors: Nolan C. Lerche (Stafford, TX), James E. Brooks (Manvel, TX), Jesper Oluf Larsen (Vallensbaek Strand), Brian Thomsen (Fredrikssund), Kasper Juul Larsen (Valby)
Application Number: 14/079,139
International Classification: E21B 47/12 (20060101);