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 control of addressable microprocessor-based gun initiator circuits to deduplicate addresses in a gun stack.
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.
The inventory-process delay is exacerbated by the length of the addresses used to identify the initiator circuits. Longer addresses (more bits) take more time to transmit than shorter addresses (fewer bits). But shorter addresses are more prone to risk of duplication. For example, an 8-bit address has only 256 unique configurations (28) whereas a 32-bit address has 4,294,967,296 unique configurations (232). Thus, factory-addressed initiator circuits often use 16-bit or 32-bit addresses to ensure that there are no duplicate addresses in a gun stack. But a 32-bit address takes four times as long to transmit as an 8-bit address. Thus, ensuring initiator circuits have unique addresses can come at the cost of an extended inventory process, with the associated operating delays.
Increasing the inventory speed, then, can improve the perforating operation. One approach to speeding the inventory process is to limit the use of the addresses in the inventory process (see, e.g., U.S. patent application Ser. No. 17/879,856, assigned to Applicant and incorporated herein by reference). Another approach is to use shorter addresses and assign unique addresses to every initiator circuit at the job site once the gun stack is assembled for use (see, e.g., U.S. Pat. No. 10,900,335). The approach of the present disclosure is to deduplicate preassigned addresses at the job site once the gun stack is assembled for use.
In an aspect of the invention, a perforating system includes a multi-gun stack, each gun with an addressable initiator circuit, and a control system (e.g., a test or firing system). The control system is configured to read the addresses of each initiator circuit in the stack, establish the top gun's initiator circuit in the stack as a reference address, and determine if any subsequent gun in the stack has an address that is a duplicate of any other gun in the stack. The control system is further configured to change gun addresses other than the top-gun address so that each gun in the stack has an address that is unique in the stack. In another aspect of the invention, the duplicate addresses are changed to a random address to establish a gun-stack sequence of addresses that may be used to identify the stack/job in postprocessing of the firing (and other) data.
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 adequate 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 221 formulates and sends a ready/status message via the wireline-connected conductor 209 to inform a control system of its status, including its address. The microprocessor 221 continues to periodically send this message until it receives a response from the control system. At some point, the control system will instruct 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 control system.
The startup routine for a gun stack may be understood with reference to
Through this address-deduplication process, the control system ensures that each gun in the stack is associated with an address unique in the stack. Thus, it is possible to ensure unique addressing for factory-addressed initiator circuits while using a relatively small number of bits for the address. For example, if it is determined that the gun stack will not have more than 256 addressable circuits, then an 8-bit address is sufficient. In some embodiments, certain addresses may be reserved for certain tools. For example, a perforating-gun stack may be run with a release tool or a setting tool or a safety sub, each also using an addressable switch/circuit and addresses may be reserved for these tools and thus would not be appropriate for a gun IC. In such a circumstance, the address- deduplication process would ensure that no gun IC is assigned a reserved address, assigning a new address if the factory address is one of the reserved addresses.
In the address-deduplication process, a new address to be assigned and recorded for an initiator circuit may be randomly selected from the set of available address. The set would consist of the available bit combinations less addresses known to be in the stack less any reserved addresses. Such a process has the added benefit of generating an address set for the perforating-gun stack that is likely to be unique to the stack. Such an address set may be useful in identifying the job in a post-job processing or presentation of information.
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.