This invention pertains generally to technology for controlling perforating guns for deployment in, e.g., oil and gas wells. More specifically, the technology relates to addressable microprocessor-based gun initiator circuits with a time-sensitive startup routine.
Perforating guns are used in oil and gas well to perforate casing to access oil or gas reserves. Typically, the guns are deployed into the casing in a wellbore using an electrically conductive wireline. The guns include explosive charges which, when fired, proceed from the gun through the casing, thus perforating the casing. To ensure safe operation of the guns, the firing circuit in a gun is typically disabled by default and is selectively enabled through use of an initiator circuit (also known as a switch).
To enable stacking of multiple guns and selective fire of each gun independently of other guns, the initiator circuit is typically configured with an address that is unique in the stack of guns. The initiator circuit communicates with a surface system through the wireline using its address: messages from the initiator circuit include the initiator circuit's address and messages to the initiator circuit include the initiator circuit's address. Using the address, each initiator circuit may be, e.g., queried or configured apart from the other guns in the stack.
Guns in a stack are electrically connected to each other through the initiator circuits. Typically, each initiator circuit includes a passthrough switch, which selectively connects a passthrough conductor to a conductor above it in the stack, and ultimately to a conductor in the wireline. The topmost gun in the stack will be connected to the wireline conductor and through that to the surface system. The surface system will communicate with the top-gun initiator circuit and instruct it to enable the feedthrough switch, connecting the wireline conductor to the second-from-top gun in the stack and enabling communication between the surface system and the initiator circuit of the second-from-top gun in the stack. This proceeds until all guns in the stack are connected to the surface system through the enabled passthrough switches and are registered with the surface system.
The stack “inventory” process, the process of connecting to and registering each gun in the stack, can be quite time intense as each initiator circuit in the stack goes through a handshake process with the surface system. Typically, when first powered up, the initiator circuit waits a predetermined period of time, determines the circuit's state (e.g., the presence of a detonator), and then sends an uplink to the surface system informing the surface system of the initiator circuit's address and state, and that the initiator circuit is ready for operation. The surface system will respond with a command to enable the feedthrough switch, initiating the process for the next gun in the stack. (The initiator circuit will periodically send its uplink until it receives a response from the surface system.) This handshake process, the process of establishing communication between an initiator circuit and surface system and registering the initiator circuit (thus, the gun) at the surface system, may, e.g., take on the order of 350-1000 ms for each gun in the stack. Once the inventory process is complete, the field engineer can selectively fire a gun in the stack (using enable/fire commands addressed to the selected gun). After a gun is fired, the field engineer powers down the stack, repowers it, and the inventory process begins again from the start. This can pose long delays between shots. For example, in a shoot-on-the-fly situation, waiting on the inventory process (perhaps 10s for a 10-20 gun stack) before the next gun is ready to fire may result in the wireline field engineer having to slow down the winch to ensure that the guns are configured before they arrive at the next perforating interval. Thus, the inventory process may add significant time (and therefore expense) to the perforating operation.
Increasing the inventory speed, then, can improve the perforating operation. Thus, it is an object of the present invention to improve the initiator circuit by speeding the inventory process.
In an aspect of the invention, a perforating-gun initiator circuit includes a microprocessor structured according to a startup algorithm that includes monitoring the time from the circuit powering up, monitoring the voltage supplied to the circuit, determining a level of dispersion in the supplied voltage (e.g., variance or range), determining whether the circuit has been powered up for a predetermined amount of time, and determining whether the supply voltage is stable (via the dispersion measurement). If the circuit has been powered up long enough or the voltage is deemed stable enough, the circuit sends an outgoing message indicating that it is ready for operation. The outgoing message may be an uplink comprising an address of the circuit and a circuit-status indicator or it may be a series of pulses indicating the status. In response to an uplink, the circuit may receive a downlink instructing the circuit to set a feedthrough switch (which may connect power to the next gun in the stack). In response to a pulse-burst message, the circuit may receive a responsive pulse burst indicating the circuit should set the feedthrough switch.
These and other features, aspects, and advantages of the present invention will become better understood with reference to the following description, appended claims, and accompanying drawings where:
In the summary above, and in the description below, reference is made to particular features of the invention in the context of exemplary embodiments of the invention. The features are described in the context of the exemplary embodiments to facilitate understanding. But the invention is not limited to the exemplary embodiments. And the features are not limited to the embodiments by which they are described. The invention provides a number of inventive features which can be combined in many ways, and the invention can be embodied in a wide variety of contexts. Unless expressly set forth as an essential feature of the invention, a feature of a particular embodiment should not be read into the claims unless expressly recited in a claim.
Except as explicitly defined otherwise, the words and phrases used herein, including terms used in the claims, carry the same meaning they carry to one of ordinary skill in the art as ordinarily used in the art.
Because one of ordinary skill in the art may best understand the structure of the invention by the function of various structural features of the invention, certain structural features may be explained or claimed with reference to the function of a feature. Unless used in the context of describing or claiming a particular inventive function (e.g., a process), reference to the function of a structural feature refers to the capability of the structural feature, not to an instance of use of the invention.
Except for claims that include language introducing a function with “means for” or “step for,” the claims are not recited in so-called means-plus-function or step-plus-function format governed by 35 U.S.C. § 112(f). Claims that include the “means for [function]” language but also recite the structure for performing the function are not means-plus-function claims governed by § 112(f). Claims that include the “step for [function]” language but also recite an act for performing the function are not step-plus-function claims governed by § 112(f).
Except as otherwise stated herein or as is otherwise clear from context, the inventive methods comprising or consisting of more than one step may be carried out without concern for the order of the steps.
The terms “comprising,” “comprises,” “including,” “includes,” “having,” “haves,” and their grammatical equivalents are used herein to mean that other components or steps are optionally present. For example, an article comprising A, B, and C includes an article having only A, B, and C as well as articles having A, B, C, and other components. And a method comprising the steps A, B, and C includes methods having only the steps A, B, and C as well as methods having the steps A, B, C, and other steps.
Terms of degree, such as “substantially,” “about,” and “roughly” are used herein to denote features that satisfy their technological purpose equivalently to a feature that is “exact.” For example, a component A is “substantially” perpendicular to a second component B if A and B are at an angle such as to equivalently satisfy the technological purpose of A being perpendicular to B.
Except as otherwise stated herein, or as is otherwise clear from context, the term “or” is used herein in its inclusive sense. For example, “A or B” means “A or B, or both A and B.”
The guns 100a, 100b, 100c in the stack each include one or more explosive charges 104a, 104b, 104c connected to an initiator circuit 102a, 102b, 102c through a detonation cord 106a, 106b, 106c (or other explosive train). As explained in more detail below, each initiator circuit 102a, 102b, 102c includes a microprocessor circuit that is associated with an address (unique in the stack) and that is connected to a detonator. The detonator is in turn connected to the detonator cord 106a, 106b, 106c. The guns 100a, 100b, 100c are connected one-to-the-other through feedthrough lines 108a, 108b, 108c.
In use, the surface system 110 communicates with the initiator circuits 102a, 102b, 102c through use of the addresses of the initiator circuits 102a, 102b, 102c. For example, each gun 100a, 100b, 100c in the stack would be assigned a unique address: e.g., 0xAA, 0xAB, 0xAC; uphole to downhole respectively in the figure. Firing the top gun, 0xAA, would entail sending a signal from the surface system 110 over the wireline 116 wherein the signal includes a firing command associated with the address 0xAA. Similarly, firing the middle gun 102b would use the address 0xAB and the bottom gun would use the address 0xAC. Each initiator circuit 102a, 102b, 102c that receives a signal will determine if the command is directed to it through comparison of the address in the command to the initiator circuit's assigned address. If it is the same address, the initiator circuit 102a, 102b, 102c will enable a route for a firing signal to the detonator to trigger the explosive charges 104a, 104b, 104c. In this way, each gun 100a, 100b, 100c in the stack may be selectively fired. Messages other than a firing command may be exchanged between the surface system 110 to the guns 100a, 100b, 100c. For example, the surface system 110 typically performs an inventory of guns 100a, 100b, 100c in the stack. In such a process, the surface determines what guns are in the stack, what the status of each gun is, and registers each gun's address.
On startup, when power is provided to the microprocessor circuit 220 via a supply voltage on a conductor 209 connected to a wireline conductor (perhaps through feedthrough lines and switches of any uphole guns), the microprocessor circuit 220 monitors the voltage and, once the voltage stabilizes to an acceptable level (e.g., variance of less than 8V over the trailing 35 ms) the microprocessor 221 formulates and sends a ready/status message via the wireline-connected conductor 209. The microprocessor 221 continues to periodically send this message until it receives a response from a surface system (or a test box) instructing the microprocessor 221 to enable the feedthrough switch 222. The microprocessor 221 then enables the feedthrough switch 222 thereby providing power to the microprocessor circuit of the next gun in the stack. This process continues until all gun initiators in the gun stack have registered with the surface system (or test box).
An exemplary initiator-circuit startup algorithm is illustrated in
The microprocessor 221 is configured to monitor the time from the moment the circuit was powered up 306 and use this time to determine whether to deem the initiator circuit ready for operation. For example, if the time exceeds (or is equal to) some time predetermined to correspond to the circuit being ready for operation (e.g., 250 ms), then sufficient time has run since power up and the initiator circuit is deemed ready for operation.
The microprocessor 221 is configured to determine if the initiator circuit is ready for operation 304 using the supply-voltage dispersion and powered-up time. The circuit may be deemed ready for operation if either condition is met (or both), as described above. For example: if (voltage_range<=3V OR powered_up_time>=250 ms) then READY. If the circuit is not deemed ready for operation, then it continues to check the supply voltage dispersion and powered-up time as described (perhaps performing the check every 1 ms). If the circuit is deemed ready for operation, an uplink is sent 308.
The microprocessor 221 is configured to send an uplink 308 (to the surface system or a test box) once the initiator circuit is deemed ready for operation 304. (It may do this utilizing support circuitry such as a transceiver.) The uplink will include information indicating the address of the initiator circuit (uniquely identifying the gun in the stack) and the READY status of the initiator circuit. Other information may be included in the uplink (e.g., a detonator status). This uplink may be sent periodically until a downlink is received in response (e.g., every 750 ms).
The microprocessor 221 is configured to receive 310 and process information (from the surface system or a test box). If the microprocessor 221 receives a downlink in response to the uplink 312, then the microprocessor proceeds to process the downlink 314. The downlink may include any of a variety of commands to the initiator circuit (e.g., enable feedthrough, change address, arm, fire). If the downlink command is to enable the feedthrough, for example, the microprocessor 221 sets the feedthrough switch 222 to provide a conduction path between the wireline conductor and the next gun in the stack, thereby enabling power up of the initiator circuit of the next gun in the stack.
Another exemplary initiator-circuit startup algorithm is illustrated in
The microprocessor 221 is configured to send a burst of pulses 408 when the initiator circuit is ready for operation as a message indicating it is ready. This burst will be uniquely identified as coming from an initiator circuit as distinct from a responsive burst from the surface system. For example, the microprocessor may be configured to send 2 ms of pulses at 3 kHz whereas the surface system may respond with 2 ms of pulses at 2 kHz.
The microprocessor 221 is configured to track the time 415 from sending the burst of pulses 408 and to determine if that time exceeds (or equals to or exceeds) a predetermined threshold deemed a timeout 418. If too much time has passed (e.g., 10 ms) without a response burst, then the process proceeds to send an uplink 420 as described with reference to
The microprocessor 221 is configured to receive 410 and process burst information (from the surface system or a test box). If the microprocessor 221 receives a response burst acknowledging the sent burst 412 then the microprocessor 221 sets the feedthrough switch 222 to provide a conduction path between the wireline conductor and the next gun in the stack, thereby enabling power up of the initiator circuit of the next gun in the stack 414. This received burst will be uniquely identified as a responsive burst from the surface system (as distinct from a initiating burst from an initiator circuit).
Exemplary timing diagrams for startup routines are illustrated in
The timing schemes illustrated in
As illustrated in
While the foregoing description is directed to the preferred embodiments of the invention, other and further embodiments of the invention will be apparent to those skilled in the art and may be made without departing from the basic scope of the invention. And features described with reference to one embodiment may be combined with other embodiments, even if not explicitly stated above, without departing from the scope of the invention. The scope of the invention is defined by the claims which follow.