Communications systems in a well

Information

  • Patent Grant
  • 6252518
  • Patent Number
    6,252,518
  • Date Filed
    Tuesday, November 17, 1998
    26 years ago
  • Date Issued
    Tuesday, June 26, 2001
    23 years ago
Abstract
A system for use with a well includes a surface device, a communications link coupled to the surface device and extending into the well, and a plurality of downhole devices coupled to different points on the communications link in the well. The surface device and the plurality of devices are adapted to determine distortions of different portions of the communications link coupling the surface device and downhole devices and to compensate for the distortions when communicating. Transfer characteristics of the communications link portions may be determined, from which equalization parameters may be determined to compensate for distortions caused by communications link portions.
Description




BACKGROUND




The invention relates to communications systems having multiple nodes used in wells.




After a wellbore has been drilled, various completion operations may be performed in the wellbore, in which equipment including packers, valves, flow tubes, and other devices may be set to control fluid production from one or more zones in the well. With advances in technology, sensing and control devices may be placed downhole to monitor and to adjust conditions downhole as needed.




An example system that monitors downhole conditions may include various downhole gauges and sensors that are capable of monitoring temperature, pressure, and flow information. Using a communications link, such as an acoustic data link or a digital telemetry link, data gathered by the gauges and sensors may be sent to the surface to control boxes. The data may then be processed to determine the conditions downhole so that production may be improved and potential reservoir problems may be avoided. In addition to gauges and sensors, other downhole systems may include control devices that may be used to adjust equipment settings downhole.




The communications link between the surface and the downhole equipment is typically a very long link. Conventionally, the link is in the form of one or more electrical wires coupling the downhole equipment to the surface equipment, and the length of the one or more wires may be thousands or tens of thousands of feet long. In addition, the links are associated with transfer characteristics. Consequently, signal attenuation and distortion may occur when the signal is transmitted over a link, which may result in communications errors.




Some communications systems have implemented mechanisms to counteract the distortion effects of cable lines. However, a need continues to exist for improved methods and apparatus for reliable communications between devices coupled to communications lines.




SUMMARY




In general, according to one embodiment, a system for use with a well includes a surface device, a communications link coupled to the surface device and extending into the well, and a plurality of downhole devices coupled to different points on the communications link in the well. The surface device and the plurality of devices are adapted to determine signal distortions in different portions of the communications link coupling the surface device and downhole devices and to compensate for the signal distortions during communication.




Other features will become apparent from the following description and from the claims.











BRIEF DESCRIPTION OF THE DRAWINGS





FIG. 1

is a block diagram of a system in a well having multiple nodes coupled over a communications link.





FIG. 2

is a diagram illustrating how nodes in the system of

FIG. 1

may be coupled to the communications link.





FIG. 3

is a flow diagram of a training sequence performed in the system of FIG.


1


.





FIG. 4

is a block diagram of a transmitter and receiver in nodes coupled to the communications link.





FIGS. 5A-5B

illustrate a communications systems according to one embodiment having redundant communications links.





FIG. 6

illustrates a communications system according to another embodiment having redundant communications links.





FIG. 7

is a diagram of a portion of the communications system of

FIG. 6

including control and interface circuitry according to one embodiment.





FIG. 8

is a flow diagram of a setup sequence to set up nodes in the communications system of FIG.


6


.











DETAILED DESCRIPTION




Referring to

FIG. 1

, in an example communications system according to an embodiment of the invention for use with a well


18


, a surface node


10


may be coupled to multiple downhole nodes in the well


18


, illustrated as three nodes


12


,


14


, and


16


. The well


18


may be a vertical or deviated well with one or more completion zones, or it may be a multilateral well. In some embodiments, the nodes may include various types of control devices, including general-purpose and special-purpose computers or any other controller-based system in which the controller may include a microprocessor, microcontroller, application specific integrated circuit (ASIC), programmable gate array (PGA), or other control devices, whether integrated or discrete. Alternatively, some or all of the nodes may be devices that do not include control devices but do include transmitters to communicate information acquired from sensors and gauges to the surface.




The nodes are coupled to a communications link


20


, and each may include communications interface circuitry, for example, modems. In some embodiments, the nodes located in the wellbore may be coupled to sensing devices (e.g., temperature and pressure sensors or gauges) and other well equipment. Data may be acquired by the sensing devices and transferred to the downhole nodes for transmission up the communications link


20


. In addition, the downhole nodes may be coupled to well equipment, such as valves, flow control devices, and packers that are actuatable to different settings. Control signals may be sent from the surface node


10


to the downhole nodes to adjust settings of certain well equipment, including for example valves, packers, and so forth. In some example applications, the well equipment and nodes may form part of an intelligent completions system or a permanent monitoring system.




In some embodiments, signals may be transmitted over the communications link


20


according to any one of various types of protocols. An example protocol is the ModBus Protocol, available at {http://www.modicon.com/techpubs}, which defines a serial communications link. However, any number of communications protocols may be used with embodiments of the invention. The communications link


20


may be, for example, a wireline having one or more electrical conductors. The link


20


may include a single electrical conductor to carry both power and signals. Alternatively, the link


20


may include a separate power conductor and one or more separate signal conductors. If a common line is used to carry both power and data, the DC component on the line constitutes the power voltage while an AC component constitutes a data signal.




Typically, the length of the link


20


is very long, ranging between thousands of feet to tens of thousands of feet, although it is to be understood that the embodiments described may be applied to communications links of shorter or longer lengths. The link


20


may cause distortions in the transmitted signals that may reduce the reliability of communications if compensation is not provided for such distortions.




To compensate for such signal distortions caused by communications link transfer characteristics, training sequences may be performed with the downhole nodes. From the training sequences, the transfer characteristics of different communications link portions may be determined, from which adaptive equalization may be performed to compensate for signal distortions. Training sequences may be performed at periodic intervals or in response to certain events, for example, system initialization or detection of changes in environment or noise. During the training sequence, one node may transmit a known signal stream (the training stream) from one node to a receiver in another node, which may compare the received stream to an expected result. Distortions caused by corresponding communications link portions are detected based on this comparison, from which the transfer characteristics of the link portions may be determined or estimated. The derived or estimated transfer characteristic may be represented by inverse transfer functions H


−1


of the communications link portions.




Once the transfer characteristics of the link portions have been determined in the training sequences performed according to some embodiments of the invention, adaptive equalization may be performed either at the transmitter or receiver end in communications between nodes coupled to the link


20


. Given a signal S and a link portion having a transfer function H, distortion caused by the link portion results in a distorted signal S*H sent from one node to another. During the training sequence, the inverse transfer function H


−1


is derived and stored as an equalization parameter to be applied to distorted signals over the link portions. According to one embodiment, to compensate for the distortion caused by the link portion, a pre-distorted signal generated in the transmitter, expressed as S*H


−1


, may be transmitted over the link portion to a receiver that receives the signal as the original signal S. Once this pre-distorted signal is sent over the link portion that has the transfer function H, the resultant signal S*H


−1


*H converts back to the signal S, which is the originally intended signal. The pre-distortion using H


−1


may adjust the gain and phase of the transmitted signal. In an alternative embodiment, compensation may be performed at the receiver end by applying the inverse transfer function H


−1


to the received signal S*H to cancel out the distortion caused by the communications link portion.




Referring further to

FIG. 2

, because the nodes


12


,


14


, and


16


are coupled at different depths to the communications link


20


, the distortion caused by the different portions of the communications link


20


to corresponding nodes


12


,


14


, and


16


are different. In one embodiment, the transfer characteristics of the link portions between the surface node


10


and each of the downhole nodes


12


,


14


, and


16


may be defined. In further embodiments, the transfer characteristics between or among each of the downhole nodes


12


,


14


, and


16


may also be defined, which may be advantageous for systems in which the downhole nodes may need to communicate directly to each other over the communications link


20


.




In the illustrated embodiment, the transfer function representing the transfer characteristic of the link


20


portion between the surface node


10


and the first node


12


is defined as Hi. Similarly, the transfer functions characterizing the link


20


portions between the surface node


10


and the second and third nodes


14


and


16


in the illustrated embodiment are defined as H


2


and H


3


, respectively. With additional downhole nodes coupled to the link


20


in the wellbore


18


, additional transfer functions Hn may be defined for the respective lengths of the link


20


between the surface node


10


and the downhole nodes.




In one embodiment, the inverse transfer functions Hn


−1


are calculated and applied as equalization parameters used for adaptive equalization. To determine the inverse transfer functions Hn


1


, training sequences may be performed between the surface node


10


and each of the downhole nodes


12


,


14


, and


16


(nodes #1, #2, and #3). In further embodiments, training sequences may also be performed between or among downhole nodes to determine transfer characteristics of the portions of the link


20


coupling the downhole nodes.




The derived inverse transfer functions Hn


−1


may be stored in the surface node


10


, and in some embodiments, also in each of the corresponding downhole nodes


12


,


14


, and


16


. Thus, for example, when the surface node


10


wishes to communicate with a downhole node #n, its transmitter may fetch from a storage location in the surface node the parameter Hn


−1


. If a downhole node #n wishes to communicate with the surface node


10


, a transmitter in the downhole node, according to one embodiment, may fetch from its memory the parameter Hn


−1


to combine with the signal to be transmitted to the surface. In an alternative embodiment, the downhole node may transmit the signal without pre-distortion and the surface node


10


is responsible for compensation of signal distortion received over the link


20


.




According to one embodiment, the training sequence is performed on each node downhole one at a time to determine its corresponding inverse transfer function Hn


−1


. To do so, switches S


1


and S


2


are coupled between successive nodes


12


,


14


, and


16


. As the communications link


20


is configured to provide both power and data signals, the switches S


1


and S


2


control communication of both power and data. According to one embodiment, the training sequence is performed as each downhole node is initially powered up. The training sequence starts with node


12


, followed by node


14


, and then node


16


. When the training sequence is performed on node #1, the switch S


1


is in the open position. At this time, node #1 is powered on but power is cut off from downstream nodes since switch S


1


is open. To train node #2, the switch S


1


is placed in the closed position, which allows power to be supplied to node #2, but the switch S


2


is open. To train node #3, both switches S


1


and S


2


are placed in closed positions to allow power to reach node #3. Before each training sequence, the system is powered down, which causes the switches S


1


and S


2


to open. The surface node


10


then powers up the first node #1, followed by successively closing switches S


1


and S


2


to power up nodes #2 and #3 to perform the training sequence. Additional switches may be placed along the link


20


as more downhole nodes are coupled to the link


20


. As examples, the switches may be implemented as relay switches, solid-state switches, or other types of switches as conventionally available.




In further embodiments, the transfer characteristics of the link


20


portions may be separately derived and stored in the surface node


10


, and optionally in the downhole nodes, without performing a training sequence. Such transfer characteristics may be estimated based on known characteristics of a signal line, depths of coupled downhole nodes and expected downhole temperatures and other conditions. Alternatively, the transfer characteristics may be derived based on empirical data collected from other systems. Using such derived transfer characteristics, pre-distortion or compensation may be performed on transmitted signals.




Further, such independently derived transfer characteristics may be used as default transfer characteristics in a system that is capable of performing training sequences.




In one embodiment, the equalization parameters Hn-


1


are all stored in the surface node


10


, which are accessible by the receiver in the surface node


10


to apply to distorted signals S* Hn


−1


received from respective link portions. In this embodiment, a transmitter in the surface node


10


is also capable of selecting one of multiple parameters Hn


1


to perform adaptive equalization of signals transmitted downhole. In alternative embodiments, the equalization parameters Hn-


1


may also be stored in corresponding downhole nodes #n so that transmitters in the downhole nodes may apply the parameter Hnfl to a transmitted signal S. Due to harsh conditions downhole, the processing capabilities that may be included in each downhole node may be limited. As a result, it may be more cost effective and practical to perform adaptive equalization in the surface node


10


.




Referring further to

FIG. 3

, a flow diagram of a training sequence according to one embodiment is illustrated. The training sequence may be implementable by a training module


60


executable in the surface node


10


, which may include a data acquisition system that may be implemented with a computer or any other controller-based system in which the controller may be a microprocessor, microcontroller, ASIC, PGA, discrete devices, or the like. The training module


60


may be implementable in one or more layers in the surface node


10


(e.g., application layer, operating system layer, device driver layer, firmware layer, and so forth) and in one or more sub-modules. The surface node


10


may include a central processing unit (CPU)


62


on which the training module


60


is executable. The surface node


10


may also include various storage media, including a main memory


64


, a hard disk drive


66


, and a floppy drive


68


. Other types of storage media may include compact disc (CD) or digital video disc (DVD) drives and nonvolatile memory. The training module


60


may initially be stored as instructions on the various machine-readable storage media, including the hard disk drive, floppy drive, CD or DVD drive, non-volatile memory, many memory, or other media. The instructions when executed cause the surface node


10


to perform the training sequence according to an embodiment.




A modem


70


is also included in the surface node that may be coupled to the communications link


20


. The modem


70


includes a transmitter to transmit signals down the link


20


and a receiver to receive signals from the link


20


.




Each downhole node #n may include a control device (e.g., a microcontroller, ASIC, PGA, or discrete devices) that is capable of responding to requests from the surface node


10


or other downhole nodes. In some embodiments, the control device may also be capable of generating commands for transmitting over the link


20


to other nodes. Each node #n also includes a storage device


74


(e.g., registers, non-volatile memory, random access memory, and so forth) and a modem


80


having a transmitter and receiver coupled to the communications link


20


to transmit and receive commands or responses.




A training sequence may be performed by the training module


60


at system start-up, at periodic intervals, or in response to certain stimuli, including for example operator input, change of downhole conditions, or noise. The surface node


10


may power off the communications link


20


to open switches SI and S


2


before powering on the link


20


to perform the training sequence. To begin the training sequence according to one embodiment, the training module


60


may initialize (at


102


) a parameter n to the value one. This begins the training sequence of the communications link portion between the surface node


10


and downhole node #1. In alternative embodiments, the training sequence may occur in a different sequence from that illustrated in FIG.


3


.




Next, the training module


60


performs (at


104


) the training operation with node #n. The training operation according to one embodiment includes the downhole node #n transmitting a known training pattern stream to the surface node


10


. The training module


60


then compares the received training pattern to an expected pattern. From the comparison, the inverse transfer function Hn


−1


of the link portion may be derived. The training module


60


then determines (at


106


) if the inverse transfer flnction Hn


1


has been successfully derived. If not, the training operation is continued (at


104


). If the inverse transfer function Hn


−1


for node #n has been successively derived, then the training module


60


stores (at


108


) the inverse transfer function Hn


1


in a storage location in the surface node


10


. Next, according to one embodiment, the training module


60


may communicate (at


110


) to the downhole node #n the inverse transfer function Hn


−1


so that the downhole node #n may store Hn


−1


in its storage location. Next, the training module


60


determines if the end of the string has been reached (at


112


). If so, the training sequence is completed.




However, if more nodes need to be trained, then the switch Sn that is below the previously training node #n is closed (at


114


). The switch Sn may be controllable by node #n in response to a command issued by the training module


60


. For example, a control signal may be coupled from node #n to switch Sn to actuate the switch Sn to the open or close position. Next, the parameter n is incremented (at


116


) to begin the training operation of the next downhole node. The acts performed at


104


-


116


are repeated until all nodes downhole have been trained.




A further feature of the switches S


1


and S


2


is that, if a node failure occurs, the switches S


1


and S


2


allow downstream nodes to be “dropped out” so that nodes above the failed node can still work but communication to downstream nodes is lost. For example, referring again to

FIG. 2

, if node #3 is a shorted node, then closing the switch S


2


during the training sequence will cause other nodes coupled to the link


20


to fail. This may be detected by the software module


60


when nodes do not respond to commands or queries within time-out periods. If that occurs, then the surface node


10


powers the communications link


20


down to again open the switches S


1


and S


2


. The subsequent training sequence will then stop before closing switches S


2


. Although node #3 and any other nodes coupled below node #3 cannot be used, nodes #1 and #2 can still be used to provide a partially functional system.




In further embodiments, redundancy may be provided in the communications link


20


so that failed nodes or link portions may be bypassed to reach other nodes. This is described further below in connection with

FIGS. 5A-5B

and


6


-


8


.




Referring to

FIG. 4

, the modems


70


and


80


of the surface node


10


and downhole nodes, respectively, according to one embodiment may include transmitter and receiver portions. For illustrative purposes, a transmitter


150


of a downhole node modem


80


is illustrated in conjunction with a receiver


152


of the surface node modem


70


. The transmitter


150


in one example configuration may include an encoder


154


that receives input data for transmission. The output of the encoder


154


is provided to the input of a multiplexer


158


, which has another input coupled to a training sequence generator


156


. The multiplexer


158


selects the output of one of the encoder


154


and training sequence generator


156


and provides it to the input of a modulator


160


to modulate a carrier waveform with the baseband transmission signal.




In one embodiment, pre-distortion of the signal to be transmitted may be performed in the modulator by feeding one or more control signals EQ that are based on the equalization parameter Hn


−1


. Alternatively, a digital filter stage may be coupled before the modulator


160


that is controllable by an equalization parameter Hn


−1


to perform the pre-distortion. Equalization may also be performed in other components in further embodiments. The digital output of the modulator


160


is converted to analog format by a digital-to-analog (D/A) converter


162


. The output analog signal may be provided through a filter stage


164


and a line driver


166


that drives the link


20


.




On the receive side, the analog signal transmitted over the link


20


may be received by a line buffer


168


in the receiver


152


, which is then passed through an input filter stage


170


and converted to digital format by an analog-to-digital (A/D) converter


172


. The digital stream is then fed to a demodulator


174


that recovers the base-band signal. In an embodiment in which signals transmitted from transmitters downhole are not pre-distorted, the output of the demodulator


174


may be provided to an adaptive equalizer


175


that is configured to compensate for the distortion caused by the communications link portion over which a received signal is sent. The adaptive equalizer


175


receives taps that are derived from an appropriate one of the equalization parameters Hn


−1


stored in the surface node


10


. For example, when a signal stream is received, an identifier (such as an address) may be provided to select an appropriate parameter Hn


−1


. The output from the adaptive equalizer


175


(or the output from the demodulator


174


if the adaptive equalizer


175


is not present) is provided to a decoder


176


which may regenerate the transmitted data for processing by the CPU


62


in the surface node


10


.




In the transmitter


150


, the training sequence generator


156


can generate training patterns and synchronization patterns for transmission over the link


20


. Synchronization patterns may be generated to allow the receiver


152


in the surface node


10


to reacquire the carrier frequency and phase. During a training sequence, known training patterns are generated by the training sequence generator


156


in each of the downhole nodes and received by the surface node


10


. For example, a transmitter


150


in a downhole node may store the training pattern in non-volatile memory so that the transmitter


150


may start up by transmitting the known training pattern. The surface node


10


may also store a copy of the training pattern so that the training module


60


may compare the received pattern with the expected pattern. Differences between the patterns may be caused by distortions of the link


20


. From the comparison, the transfer function Hn may be derived and the inverse Hn


−1


is stored and transmitted to each of the downhole nodes for storage. Hn


−1


may then be used by transmitters in each of modems


70


and


80


to pre-distort signals transmitted over the link


20


in some embodiments.




In further embodiments, some of the downhole nodes may also be capable of performing training sequences. These downhole nodes may cause another node to transmit a training pattern so that the transfer characteristics of the communication link portions between the nodes may be determined.




According to one embodiment, the transmitter in the surface node modem


70


is capable of accessing multiple equalization parameters Hn


−1


stored in a memory location in the surface node


10


so that the appropriate one is selected “on the fly” for communication with one of the downhole nodes. In further embodiments, each of the downhole nodes may also be capable of storing multiple equalization parameters to allow them to communicate over the link


20


with the surface node


10


as well as other downhole nodes.




A communications system for use in a well has thus been described in which distortions of communications link portions between or among multiple nodes are detected. Transfer characteristics of the communications link portions are derived from which equalization parameters can be determined and stored. According to one embodiment, using the equalization parameters, transmitters in the nodes can perform adaptive equalization by pre-distorting signals that are transmitted from one node to another such that the distortion of a communications link portion may be substantially canceled out. In other embodiments, receivers in some nodes may perform adaptive equalization of received signals. Multiple downhole nodes may be successively trained to enable performance of adaptive equalization of signals sent between one of multiple downhole nodes and the surface node.




In further embodiments, redundancy may be included in the communications link to allow continued operation despite some failures of one or more parts of the communications system. Parts that may fail include portions of the communications link itself, e.g., due to mechanical breakage, shorting of electrical conductors, or other types of failures. Another source of failure downhole may be the nodes themselves, which may occur because of power loss or well fluid flooding.




According to some embodiments, an inter-coupling scheme provides redundancy to reduce the likelihood of system failure should a component downhole fail. In the ensuing description, portions of the communications link that couple any two nodes are referred to as channels. Referring to

FIGS. 5A-5B

, one illustrative configuration of how elements in a communications system containing redundant channels may be inter-coupled is shown. In

FIG. 5A

, the communications system includes five nodes


202


,


204


,


206


,


208


, and


210


coupled in a loop by corresponding channels. A channel


212


couples nodes


202


and


204


, a channel


214


couples nodes


204


and


206


, a channel


216


couples nodes


206


and


208


, and a channel


218


couples nodes


208


and


210


. As redundancy, a further channel


220


couples the bottom node


210


to another node upstream, which may be a surface device, for example.




The communications system as illustrated may withstand failures of one or more of the nodes


202


-


210


or one or more of the channels


212


-


220


. For example, in

FIG. 5B

, failure of the node


204


is illustrated. Because of the failed node


204


, communication from node


202


to node


206


over channels


212


,


214


is not possible. However, because of the presence of the redundant channel


220


, an alternative path is provided from nodes above the failed node


204


to nodes


206


,


208


, and


210


. The possible communication paths are illustrated by arrows


222


,


223


,


224


, and


225


.




Power to the nodes


202


-


210


are provided through each of the channels


212


,


214


,


216


,


218


, and


220


. If any channel is cut off due to failure, power may be provided over an alternative path. In the example of

FIG. 2B

, power to the nodes


206


,


208


, and


210


are provided from another direction over the channel


220


if the node


204


is detected as a failed node.




Referring to

FIG. 6

, according to another embodiment, channels couple every other node to remove the need for a long channel


220


from the bottom node


210


to upstream nodes as illustrated in FIG.


5


A. In the topology of

FIG. 6

, a channel


240


couples an upstream device (e.g., a surface node


200


) to the node


202


. Although the nodes


202


-


210


are physically positioned in sequence in a well, the order of communications may be different. For example, a loop containing the surface node


200


and the nodes


202


-


210


may be coupled in the following sequence: surface node


200


, node


202


, node


206


, node


210


, node


208


, node


204


, and surface node


200


. A channel


240


couples nodes


200


and


202


, a channel


242


couples nodes


202


and


206


, a channel


244


couples nodes


206


and


210


, a channel


250


couples nodes


210


and


208


, a channel


248


couples nodes


208


and


204


, and a channel


246


couples nodes


204


and


200


. As illustrated, intermediate nodes may be bypassed by communications channels to couple nodes on either side of the intermediate nodes. In

FIG. 6

, a channel


242


bypasses node


204


to couple nodes


202


and


206


, and so forth. As coupled to the communications link, node


202


is node #1, node


206


is node #2, node


210


is node #3, node


208


is node #4, and node


204


is node #5. In alternative embodiments, channels may bypass more than one intermediate node. With a topology as illustrated in

FIG. 6

or some other similar topology, the length of channels between downhole nodes and the surface node may be shortened to reduce the likelihood of coupling failure.




In addition to communicating signals among the nodes, the channels


240


,


242


,


244


,


246


,


248


, and


250


also communicate power to the nodes. A failure in a path would cause power to be cut off along that path; however, power can be routed to the affected nodes along an alternative path. For example, if channel


242


becomes unavailable due to some failure, power to node


206


will be cut off from above. However, because channels


246


,


248


,


250


, and


244


are available, power can be provided from below the node


206


over those channels.




Each of the nodes includes interface circuitry coupled to the communications channels. The interface circuitry may include a modem having a transmitter and receiver to transmit and receive signals over the channels. As illustrated in

FIG. 7

, the nodes


202


,


206


, and


210


include modems


310


,


312


, and


316


, respectively, having first ports A coupled to channels


240


,


242


, and


244


, respectively. The second ports B of the modems


310


,


312


, and


314


are coupled to channels


242


,


244


and


250


, respectively. Thus, each modem has a first port A to listen to a channel above and a port B to listen to a channel below. Also, in case of failure, the downhole nodes are coupled to receive power either from above or below over the channels.




The nodes


202


,


206


, and


210


further include control devices


316


,


318


, and


320


that are coupled to respective modems to process received data or to generate data for transmission. The control devices may be in the form of microprocessors, microcontrollers, ASICs, PGAs, discrete devices, and the like. The other downhole devices may be similarly constructed.




The interface circuitry of each node may also include an isolation switch to isolate successive channels. The switches may be solid-state switches, relay switches, or the like. As illustrated, an isolation switch


302


is actuatable by the control device


316


in the node


202


to an open or close position to selectively couple channel


240


to channel


242


. Similarly, an isolation switch


304


in the node


206


is actuatable by the control device


318


to selectively couple channel


242


and


244


, and an isolation switch


306


in the node


210


is actuatable by the control device


320


to selectively couple channels


244


and


250


. The other nodes may also contain isolation switches arranged in similar fashion.




As illustrated, each modem can monitor a channel above the node with port A and a channel blow the node with port B before the associated isolation switch is closed.




When a failure occurs, it may be desirable to isolate the failed elements or channels. The switches


302


,


304


, and


306


may be adapted to power up in the open position. Thus, for example, if a link or node is shorted so that communication is disabled, the isolations switches can isolate the defect from the rest of the system. For example, if a short on the channel


242


is detected, then the switches


302


and


304


may be kept open to avoid the short on channel


242


causing failures in neighboring nodes or channels. During system initialization, the switches in the nodes may be successively closed if a test sequence verifies that defects are not present. Switches adjacent defective channels or nodes may be kept open to isolate the defective links or nodes.




In further embodiments that provide added redundancy, a pair of channels may be coupled between any two nodes. Thus, if one channel in the pair fails, the other one may be utilized. If both channels fail, then a redundant path may be identified to communicate to the other nodes.




Referring further to

FIG. 8

, a setup sequence for testing the integrity of components in the communications system according to one embodiment may be executed by a setup module


300


in the surface node


200


, which may be implemented as software or firmware layers in the surface node


200


. If all nodes and channels downhole are operational, then the setup sequence would successfully initialize all nodes downhole, including assignment of addresses and transfer of initialization information. If any of the nodes or channels are defective, then the setup module


300


would not be able to receive an expected response from a downhole node. If a defective component is detected, the setup module


300


will attempt to find an alternate route to the downhole nodes.




In one embodiment, if an expected response is not received within a predetermined amount of time, the setup module


300


times out and powers the entire system down to open all isolation switches. Before powering down, the setup module


300


stores in memory (e.g., hard disk drive, non-volatile memory, system memory, and so forth) the state of the setup sequence, including which devices have been successfully set up.




The setup module


300


first accesses (at


402


) any stored setup information from previous setup cycles. For example, if a previous setup cycle was interrupted due to a defective node or channel downhole, then the state of that setup sequence was stored in a storage location in the surface node


200


. From the stored information, if it exists, the setup module can determine (at


404


) which nodes or channels have been detected to be defective. Based on which devices have already been initialized, a parameter n is set (at


406


) to the next value. If this is the first time through the setup sequence, the parameter n is set to 1, for example. It is contemplated, however, that a different setup sequence may be used.




Next, the setup module configures (at


408


) node #n, such as by assigning an address to the node, setting the internal context and register settings of the node, and so forth. The setup module may perform this by transmitting a configuration cycle downhole to node #n. The setup module


300


next waits for an expected response (at


410


) from node #n. An expected response, by way of example, may include the assigned address information along with other types of information (e.g., device name, serial number, and the like). If the expected response has not been received (at


410


), then the set-module


300


determines (at


412


) if a time out has occurred. If not, then the setup module


300


continues to wait for the response from node #n. However, if a predetermined amount of time has elapsed with no response from node #n, then time out occurs and the setup module


300


stores the current state of the setup sequence (at


414


). The stored configuration information is accessed by the setup module


300


in the next setup sequence so that the module


300


may be made aware of which node or channel may be associated with the failure. Next, the setup module


300


powers down the system to open any switches that may have been closed as part of the setup sequence.




If, however, the downhole node returns with the expected response (at


410


), the setup module


300


next stores the configuration information in a storage location in the surface node


10


. Next, the setup module


300


determines (at


420


) if the end of string has been reached. If so, then the setup sequence is completed. If not, then the switch in node #n is closed to allow access to the next node. The switch may be closed by issuing a command from the setup module


300


to the control unit in node #n. In response, the control unit issues the appropriate signal to close the switch. Next, the software module


300


changes (at


424


) the value of the parameter n and proceeds to configure the next node.




In this manner, the nodes downhole are successively configured and set up. If any one of the devices or channels downhole is defective, the setup module


300


attempts to find an alternate path around the defective node or channel. For example, referring again to

FIG. 6

, if after node #1 has been configured and it is determined that node #2 is defective, the system is powered down to open all switches. In the next setup sequence, the setup module


300


continues the setup sequence by starting with node #5, for example, to bypass the defective node #2. The next node that may be configured may be node #4, followed by node #3. In this example, the switches in the nodes coupling channels


246


,


248


, and


250


may be closed while the switches coupling channels


240


,


242


and


242


,


244


remain open to isolate defective node #2.




While the invention has been disclosed with respect to a limited number of embodiments, those skilled in the art will appreciate numerous modifications and variations therefrom. It is intended that the appended claims cover all such modifications and variations as fall within the true spirit and scope of the invention.



Claims
  • 1. A system for use with a well, comprising:a surface device; a communication link coupled to the surface device and extending into the well; a plurality of downhole devices coupled to different points of the communications link in the well; and the surface device and the plurality of downhole devices adapted to determine signal distortions in different portions of the communications link coupling the surface device and downhole devices and to compensate for the signal distortions during communication, wherein the surface device is adapted to receive a training pattern from each of the downhole devices to determine equilization parameters used to comprise for the distortions caused by the communications link portions.
  • 2. The system of claim 1, wherein the surface device includes a storage device to store the equalization parameters, the surface device being adapted to select one of the equalization parameters based on the downhole device the surface device is communicating with.
  • 3. The system of claim 1, wherein the surface device includes a transmitter adapted to use an equalization parameter to pre-distort a signal for transmission down the communications link.
  • 4. The system of claim 1, wherein a downhole device includes a storage device to store a corresponding equalization parameter, the downhole device including a transmitter adapted to use the equalization parameter to pre-distort a signal for transmission to another device coupled to the communications link.
  • 5. The system of claim 1, wherein each equalization parameter is the inverse of a transfer function of a corresponding link portion between any two devices.
  • 6. A system for use with a well, comprising:a surface device; a communications link coupled to the surface device and extending into the well; a plurality of downhole devices coupled to different points on the communications link in the well; and the surface device and the plurality of the downhole devices adapted to determine signal distortions in different portions of the communications link coupled the surface device and downhole devices and to compensate for the signal distortions during communication, wherein the surface device is further adapted to perform a training sequence with each of the downhole devices to determine a tranfer characteristic of a corresponding communications link portion.
  • 7. The system of claim 6, further comprising switches coupled between downhole devices that are actuatable to open and close positions to allow the surface device to successively train each downhole device.
  • 8. An article including a machine-readable storage medium containing instructions that when executed cause a controller to:access downhole devices coupled to a communications link in a well; determine transfer characteristics of corresponding portions of the communications link between a surface system and corresponding downhole devices; and calculate an equalization parameter that is the inverse of a transfer function representing the transfer characteristics of each communications link portion.
  • 9. The article of claim 8, wherein the storage medium contains instructions for causing the controller to further store multiple equalization parameters accessible by a transmitter in the surface system to pre-distort signals transmitted over the communications link portions.
  • 10. An article including a machine-readable storage medium containing instructions that when executed cause a controller to:access downhole devices coupled to a communications link in a well; determine transfer characteristics of corresponding portions of the communications link between a surface system and corresponding downhole devices; and transmit a parameter representing the transfer characteristic to each of the downhole devices.
  • 11. A method of communicating between a surface device and downhole devices coupled by a communications channel, comprising:accessing the downhole devices; determining transfer characteristics of different portions of the communications channel coupled between the surface device and corresponding downhole devices; and using the transfer characteristics to compensate for distortions to transmitted signals caused by corresponding portions of the communications channel between the surface device and downhole devices.
  • 12. The method of claim 11, further comprising calculating a parameter that is based on a transfer function representing the transfer characteristic of each communications channel portion.
  • 13. The method of claim 12, further comprising storing multiple parameters accessible by a transmitter in the surface device to pre-distort signals transmitted over the communications channel portions.
  • 14. The method of claim 12, further comprising storing a parameter in a downhole device that is accessible by a transmitter in the downhole device to pre-distort signals transmitted by the downhole device to the surface device over a communications channel portion.
  • 15. The method of claim 12, further comprising storing multiple parameters accessible by a receiver in the surface device to compensate for distorted signals received from downhole devices over corresponding communications channel portions.
  • 16. A system for use with a well, comprising:a surface controller; downhole devices; a communications link coupling the downhole devices and the surface controller; and switches coupled to the communications link between successive downhole devices, the surface controller adapted to access the downhole devices and to control activation of the switches, the surface controller adapted to determine transfer characteristics of different portions of the communications link coupled to corresponding downhole devices, wherein the switches power up in an open position, and wherein the surface controller is adapted to successively close switches to successively determine the transfer characteristics of the communications link portions.
  • 17. A system for use with a well, comprising:a surface controller; downhole devices; a communications link coupling the downhole devices and the surface controller; and switches coupled to the communications link between successive downhole devices, the surface controller adapted to access the downhole devices and to control activation of the switches, the surface controller adapted to determine transfer characteristics of different portions of the communications link coupled to corresponding downhole devices, wherein the surface controller is adapted to determine a failed downhole device and to place a switch above the failed device in an open position to isolate the failed device so that upstream devices remain functional.
  • 18. A system for use with a well, comprising:a surface device; a communications link coupled to the surface device and extending into the well; a plurality of downhole devices coupled to different points on the communications link in the well; and the surface devicee and the plurality of the downhole devices adapted to determine signal distortions in different portions of the communications link coupling th surface device and downhole devices and to compensate for the signal distortions during communication, wherein the downhole devices are coupled in a first order to the communications link, the surface device being adapted to perform a training sequence with each of the downhole devices one at a time in the first order to determine the signal distortions of the different communications link portions.
  • 19. The system of claim 18, further comprising switches that are actuatable between open and closed positions to perform the training sequences in the first order.
  • 20. An article including a machine-readable storage medium containing instructions that when executed cause a controller to:access downhole devices coupled to a communications link in a well; determine transfer characteristics of corresponding portions of the communications link between a surface system and corresponding downhole devices; and perform a training procedure with each downhole device.
  • 21. The article of claim 20, wherein the storage medium contains instructions for causing the controller to perform the training procedure with each downhole device one at a time.
  • 22. The article of claim 21, wherein the storage medium contains instructions for causing the controller to perform the training procedures with the downhole devices in a sequence corresponding to a sequence in which the downhole devices are coupled to the communications link.
US Referenced Citations (16)
Number Name Date Kind
3906347 Motley Sep 1975
4028626 Motley Jun 1977
4061978 Motley Dec 1977
4797898 Martinez Jan 1989
4868569 Montgomery Sep 1989
4992790 Montgomery Feb 1991
5191326 Montgomery Mar 1993
5229765 Gardner Jul 1993
5253271 Montgomery Oct 1993
5291520 Cole Mar 1994
5331318 Montgomery Jul 1994
5365511 Kusano Nov 1994
5473321 Goodman et al. Dec 1995
5506769 Fu et al. Apr 1996
5613935 Jarvik Mar 1997
5781530 Segal Jul 1998
Foreign Referenced Citations (1)
Number Date Country
WO 0029719 May 2000 WO
Non-Patent Literature Citations (4)
Entry
US Patent Application Ser. No. 07/657,225, filed Feb. 15, 1991, entitled “Method and Apparatus For Transmitting and Receiving Digital Data Over A Bandpass Channel,” By Michael A. Montgomery, Jimmy E. Neeley, David L. Lyon and Chanchai Poonpol.
Neil Douglas et al., “Risk & Reliability Considerations For The Intelligent Well,” Paper for Petroleum Series 1998, Conference Aberdeen, Scotland, pp. 1-25 (Sep. 22-24, 1998).
Schlumbrger Oilfield Services, Wireline & Testing, “Intelligent Testing Systems,” pp. 1-4, Published at http//www.schlumberger.com/oilf/w-t/ (1996).
CRC Press, “The Electrical Engineering Handbook,” pp. 1465-1466 (1993).