The invention relates to optical communications systems. More particularly, the invention relates to performing DC offset cancellation in an optical communications device.
A typical optical transceiver module currently used in optical communications includes a transmitter portion and a receiver portion. The transmitter (TX) portion includes a laser driver, which is typically an integrated circuit (IC), one or more laser diodes, and an optics system. The laser driver outputs electrical signals to the laser diodes to modulate them. When the laser diodes are modulated, they output optical signals, which are then directed by the optics system of the TX portion onto the ends of respective transmit optical fibers or waveguides held within a connector that mates with the transceiver module. The TX portion typically also includes an open loop or closed loop optical output power control system for maintaining the average optical output power levels of the lasers at substantially constant levels. Open loop optical output power control systems do not directly measure the optical output power levels of the laser diodes, but rather, rely on temperature, age and/or other parameters to determine adjustments that are to be made to the bias and/or modulation current levels of the laser diodes to maintain them at substantially constant average output power levels. Closed loop optical output power control systems use monitor photodiodes in the TX portion to monitor the output power levels of the laser diodes and to adjust the modulation and/or bias current levels of the laser diodes such that the average output power levels of the laser diodes are maintained at substantially constant levels.
The receiver (RX) portion of the optical transceiver module typically includes one or more receive photodiodes for detecting optical data signals received over one or more optical fibers and for producing corresponding electrical signals. The RX portion includes electrical circuitry for detecting and processing the electrical signals produced by the receive photodiodes. In addition, the RX portions of high-speed optical transceiver modules typically also include DC offset cancellation circuits for cancelling input DC offset and obtaining an optimum slicing threshold for maximum performance.
The TIA 4 receives a single-ended voltage signal from the photodetector 11 and compares the voltage signal to a slicing threshold (TH) voltage level and produces a differential voltage signal. This differential voltage signal is then input to the LA 5 and to the signal detection circuit 6. The LA 5 is a high gain differential amplifier that quantizes or digitizes the differential voltage signal output from the TIA 4. The signal detection circuit 6 measures the amplitude of the differential voltage signal output from the TIA 4, compares it to a TH voltage level, and produces an output signal on line 13, which the control circuitry (not shown) uses to determine whether the signal amplitude of the input optical signal is sufficiently large to indicate that optical power is being detected by the photodetector 11. The LA 5 quantizes, or limits, the voltage signal received by the LA 5 from the TIA 4 to produce a limited voltage signal on line 14.
The DC offset cancellation circuit 8 is used to help ensure that the slicing TH voltage level of the TIA 4 is kept as accurate as possible. As indicated above, in the TIA 4, a single ended to differential conversion of the input voltage signal takes place. The DC offset cancellation circuit 8 subtracts off the DC component of the incoming signal from the PIN 11 so that the amplified voltage signal and the slicing TH voltage level are correctly aligned to achieve a minimum bit error rate (BER). At higher data rates, there is less margin level than at lower data rates for the TIA 4 to select the proper slicing TH voltage level. For this reason, the DC offset cancellation circuit 8 is more critical for RXs that operate at higher data rates in order to achieve a particular BER, whereas it is sometimes not needed to achieve the same BER in RXs that operate at much lower data rates.
One of the problems with RX portion of the type shown in
Another problem with lowering the cutoff bandwidth of the DC offset cancellation circuit 8 is that doing so increases the link startup time period and signal detect time period. The DC offset cancellation circuit 8 includes a lowpass filter (LPF) (not shown) that integrates the output of the TIA 4 to obtain an average value, which corresponds to the DC offset. The RX startup time period is dominated by the amount of time that is required for the LPF to settle to its steady state value. The output of the signal detection circuit 6 is not valid and cannot be used until after the LPF of the DC offset cancellation circuit 8 has settled to its steady state. Therefore, the output of the signal detection circuit 6 cannot be considered valid until after the LPF has settled to its steady state. This entire time period including the LPF settling period is included in the signal detect response time. Because there are usually system imposed limits on how long these time periods can be, there is, in turn, a lower limit that is placed on the cutoff frequency of the DC offset cancellation circuit 8. The lower limit set by response timing and the upper limit set by pattern run lengths (i.e., low frequency data pattern content) can often be in conflict with one another.
Accordingly, a need exists for a DC offset cancellation system and method that are suitable for use in optical RXs, TXs and transceivers and that allow lower data rates to be achieved and relatively long patterns of consecutive logic 1s or consecutive logic 0s to be transmitted and received. A need also exists for a DC offset cancellation system and method that do not result in increased startup settling time periods or increased signal detection time periods.
The invention is directed to an apparatus and method for use in a communications device for performing DC offset cancellation (OC). The apparatus comprises a DC OC feedback loop, a signal transition detection (XD) circuit, and a controller device. The DC OC feedback loop has a first node that is electrically coupled to the TIA of the communications device and a second node that is electrically coupled to an output of a gain stage of the communications device. The feedback loop includes a DC OC circuit and a low pass filter (LPF) circuit. The LPF circuit has a bandwidth (BW) that is adjustable. The LPF circuit has an input that is electrically coupled to the second node of the feedback loop and an output that is electrically coupled to an input of the DC OC circuit. The DC OC circuit has an output that is electrically coupled to the first node of the feedback loop. The signal XD circuit is electrically coupled to the output of the gain stage and is configured to detect signal data transitions in an input signal to the communications device between logic levels (1 to 0 or 0 to 1). The signal XD circuit is configured to output an indication of whether or not at least one signal transition has been detected thereby. The controller device is electrically coupled to the DC OC circuit, the LPF and the signal XD circuit and is configured to perform a feedback loop control (FLC) algorithm. The controller device receives the indication output from the signal XD circuit. The FLC algorithm enables the DC OC circuit to perform DC OC based at least in part on the indication received by the controller device from the signal XD circuit. The FLC algorithm disables the DC OC circuit from performing DC OC based at least in part on the indication received by the controller device from the signal XD circuit.
The method includes providing a DC OC feedback loop in the communications device having a DC OC circuit and a low pass filter (LPF), providing a signal XD circuit in the communications device, providing a controller device configured to perform a feedback loop control (FLC) algorithm in a controller device, and with the controller device, the FLC algorithm causing the DC OC circuit to be enabled and disabled based at least in part on the indication received by the controller device from the signal XD circuit. The feedback loop has a first node that is electrically coupled to the TIA of the communications device and a second node that is electrically coupled to an output of a gain stage of the communications device. The LPF has a BW that is adjustable. An input of the LPF circuit is electrically coupled to the second node of the feedback loop. An output of the LPF that is electrically coupled to an input of the DC OC circuit. The DC OC circuit has an output that is electrically coupled to the first node of the feedback loop. The signal XD circuit is electrically coupled to the output of the gain stage and it configured to detect signal data transitions in an input signal to the communications device between logic levels (1 to 0 or 0 to 1). The signal XD circuit is configured to output an indication of whether or not at least one signal transition has been detected. The controller device receives the indication from the signal XD circuit and the FLC algorithm causes the DC OC circuit to be enabled to perform DC OC and disabled from performing DC OC based at least in part on the indication received in the controller device from the signal XD circuit.
These and other features and advantages of the invention will become apparent from the following description, drawings and claims.
In accordance with the invention, an apparatus and method are provided that enable a feedback control loop of an optical TX or optical RX to be opened and closed and the bandwidth (BW) of the loop to be adjusted based on a status of an input signal to the RX or TX. Opening and closing the loop and adjusting the BW of the loop allows lower data rates to be achieved and allows relatively long patterns of consecutive 1s or 0s to be transmitted or received without being cancelled out due to the low cutoff frequency of the loop. In addition, opening and closing the loop and adjusting its BW allows the foregoing advantages to be realized without causing an increase in the startup settling time period or in the signal detection time period of the optical TX or RX. The apparatus and method may be incorporated into a stand-alone optical RX, a stand-alone optical TX, or an optical transceiver that includes an RX portion and a TX portion. The term “optical communications device”, as that term is used herein, is intended to denote a stand-alone optical TX, a stand-alone optical RX, and an optical transceiver that includes both an optical TX and an optical RX.
In accordance with one embodiment, the method and apparatus are incorporated into a DC offset cancellation system that is configured to be disabled and enabled and to have its BW adjusted based on the status of the incoming data signal. A controller device of the optical communications device is configured to perform a feedback loop control algorithm that controls the DC offset cancellation loop. If the feedback loop control algorithm determines that the status of the incoming data signal indicates that data (i.e., a pattern of logic 1s and/or logic 0s) is being received, the control algorithm enables the DC offset cancellation system so that DC offset cancellation is performed by the DC offset cancellation system. If the loop control algorithm determines that the status of the incoming data signal indicates that data is not being received, or that the current data pattern is very low in frequency (i.e., below the cutoff frequency of the DC offset cancellation system), the control algorithm disables the DC offset cancellation system so that DC offset cancellation is not performed. Thus, if the incoming data signal has run lengths that are below the cutoff frequency of the DC offset cancellation system, the data will not be cancelled out by the DC offset cancellation system. In addition, the BW of the DC offset cancellation system is preferably set to a higher BW at startup for faster settling and is set to a lower BW at a later instant in time. By adjusting the BW of the DC offset cancellation system in this manner, the optical RX or TX has a shorter settling time period and a shorter signal detection time period at startup than known optical TXs and RXs that use DC offset cancellation systems.
The buffer 103 is not required, but is often included in the RX 100 to provide additional gain or level shifting in front of the LA 104. In the event that the buffer 103 is used, a signal transition detection (XD) circuit 105 receives the voltage signal output from the buffer 103. In the event that the buffer 103 is not used, the signal XD circuit 105 receives the voltage signal that is output from the TIA 102. In either case, the signal XD circuit 105 detects when there is a transition from a logic 0 level to a logic 1 level, and vice versa. The signal transition detection function performed by the signal XD circuit 105 is a different function from that performed by the signal detection circuit 6 shown in
A controller device 110 of the RX 100 comprises control circuitry configured to perform the aforementioned feedback loop control algorithm that causes the RX 100 to perform the method of the invention, as will be described below in detail. The RX 100 includes a DC offset cancellation (OC) system 120 that is controlled by the controller device 110. The DC OC system 120 comprises a DC OC circuit 130 and a bandwidth-selectable LPF 140. The manner in which the DC OC circuit 130 and the bandwidth-selectable LPF 140 are controlled by the controller device 110 is described below in detail. The RX 100 typically also includes an optical power (usually average power) detection (PD) circuit 145, which receives the electrical current signal produced by the photodetector 101 and detects when the electrical current signal indicates that any usable amount (i.e., sufficiently above the noise floor) of optical power is being received by the photodetector 101.
While DC offset cancellation is being performed, a period of time passes before the DC OC feedback loop has settled to its steady state condition. Block 211 represents the controller device 110 waiting for the DC OC feedback loop to settle to its steady state condition in which the DC OC system 120 has removed the DC offset. After the DC OC feedback loop has settled to its steady state condition, the controller device 110 sets the bandwidth of the LPF 140 to a low bandwidth, as indicated by block 213. After the bandwidth of the LPF 140 has been set to the low bandwidth, a determination is made by the controller device 110 at block 215 as to whether or not the signal output from the signal XD circuit 105 indicates that one or more signal transitions have been detected within the predetermined timing interval. If so, the process remains at block 215 and DC offset cancellation continues to be performed.
If it is determined at block 215 that one or more signal transitions have not been detected during the predetermined timing interval, then the DC OC feedback loop is opened and the DC OC system 120 stops performing DC offset cancellation, as indicated by block 217. After the DC OC feedback loop has been opened and the DC OC system 120 stops performing DC offset cancellation, the process proceeds to block 219 where the controller device 110 once again determines whether one or more transitions in the input data signal have been detected during the predetermined timing interval. If not, the process remains at block 219 and the controller device 110 continues to monitor the output of the signal XD circuit 105 to determine whether one or more signal transitions have been detected during the predetermined timing interval. If at block 219 it is determined that one or more signal transitions have been detected during the predetermined timing interval not, then the process proceeds to block 221. At block 221, the controller device 110 closes the DC OC feedback loop and again performs DC offset cancellation. While performing DC offset cancellation, the process returns to block 215 where the controller device 110 continues to check to determine whether or not one or more signal transitions are still being detected within the predetermined timing interval. If so, the process remains at block 215. If not, the process proceeds again to block 217, at which the controller device 110 opens the DC OC feedback loop, causing the DC OC system 120 to stop performing DC offset cancellation. From block 217, the process again proceeds to block 219.
It can be seen from the above description of
Setting the LPF 140 to the high BW at startup allows the DC OC feedback loop to converge to its steady state more rapidly than if the LPF 140 is set to its normal low BW at startup. This rapid convergence of the feedback loop to steady state provides a reduced settling time period for the RX 100 compared to that of the known RX 2 shown in
The method described above with reference to
The state diagram demonstrates one possible implementation of a semi-open loop RX 100 in accordance with one illustrative embodiment. The term “POWERDETECT” is used in the state diagram as a variable having a state that indicates whether or not the optical PD circuit 145 is turned on or off. The term “PD” is used in the state diagram as a variable that represents the state of the output of the optical PD circuit 145, i.e., whether or not optical power is currently being detected by the photodetector 101. The term “OC” is used in the state diagram to represent the DC OC circuit 130. The term “XD” is used as a variable in the state diagram to represent the state of the output of the signal XD circuit 105, i.e., whether or not one or more transitions in the input signal to the RX 100 are currently being detected. The term “BW” is used in the state diagram to represent the bandwidth of the bandwidth-adjustable LPF 140. The term “CLOSELOOP” is used as a variable in the state diagram to represent whether the RX feedback loop is in the opened or closed state, i.e., whether or not the DC OC circuit 130 is disabled or enabled, respectively.
Starting at power up of the RX 100, which is represented by block 301, the feedback loop control algorithm RX 100 enters the state represented by block 303 in which most of the circuitry of the RX 100 is inactive. In this state, electrical power to the TIA 102, the DC OC circuit 130, the buffer 103, the LA 104, and the signal XD circuit 105 is turned off, while electrical power to the optical PD circuit 145 is turned on. Thus, the TIA 102, the DC OC circuit 130, the buffer 103, the LA 104, and the signal XD circuit 105 are set to OFF and the optical PD circuit 145 is set to ON. In this state, feedback loop control algorithm sets the BW of the LPF 140 to a High BW. Setting the BW of the LPF 140 to the High BW enables the LPF 140 to settle more rapidly when the RX 100 is powered on than would otherwise be the case if the LPF 140 were set to a lower BW typically used to perform DC offset cancellation.
The feedback loop control algorithm then enters the state represented by block 305, during which it waits for the controller device 110 to receive an indication from the optical PD circuit 145 that some level of input optical power is detected. If optical power is not detected, PD is set to False. The algorithm remains in this state until the output of the optical PD circuit 145 indicates that optical power is detected, in which case it sets PD equal to True. Once optical power is detected and PD has been set to True, the control algorithm enters the state represented by block 307. In this state, the TIA 102, the buffer 103, the LA 104, and the signal XD circuit 105 are set to ON, meaning that electrical power is being provided to these circuits. The RX 100 then enters the state represented by block 309. In this state, the controller device 110 monitors the output of the signal XD circuit 105 and determines whether one or more signal transitions are being detected, i.e., whether the input signal contains data as indicated by transitions from a logic 1 level to a logic 0 level, or vice versa, within a predetermined timing interval. If transitions are not detected in this state, XD is set to False and the RX 100 enters the state represented by block 311. In this state, the controller device 110 continues to monitor the output of the optical PD circuit 145 to determine whether or not any optical power is still being detected. This allows the RX 100 to return to its lowest power state in the event that there was a spurious application of DC light that never transitioned to modulated data. The RX 100 remains in one of the states represented by blocks 309 and 311 until XD becomes True, i.e., until the controller device 110 determines that the input signal to the RX 100 contains data.
If the controller device 110 determines that the input signal to the RX 100 contains data, as indicated by the output of the signal XD circuit 105, then the feedback loop control algorithm enters the state represented by block 313. In this state, OC is set to ON, CLOSELOOP is set to True, and the controller device 110 sets a counter (not shown) to a count value corresponding to a short settling time period, T_Settle_Short. Setting CLOSELOOP to True enables the DC OC circuit 130. The controller device 110 then waits for the short settling time period to pass while the DC OC feedback loop is converging to its initial steady state solution. Because the BW of the LPF 140 was previously set to the High BW when the RX 100 entered the state represented by block 303, only a short settling time period is required for the LPF 140 to settle to its steady state value once the RX 100 has entered the state represented by block 313.
At the end of the short settling time period, the feedback loop control algorithm enters the state represented by block 315. In the state represented by block 315, the controller device 110 monitors the output of the signal XD circuit 105 and determines whether one or more signal transitions are still being detected within the predetermined timing interval, i.e., whether the input signal still contains data. If signal transitions are no longer being detected in this state, the control algorithm sets XD equal to False and then enters the state represented by block 321. In this state, the controller device 110 sets CLOSELOOP to False and freezes, or saves, the current state. Setting CLOSELOOP to false disables the DC OC circuit 130 to prevent DC OC from being performed. The control algorithm then enters the state represented by block 323. In the state represented by block 323, the controller device 110 continues to monitor the output of the optical PD circuit 145 and determine whether or not any optical power has been detected. The purpose of entering this state is to enable the controller device 110 to distinguish between a long string of consecutive 1 or 0 data bits and a complete loss of input data. If a long bit run length is being detected, the controller device 110 will continue to look for data transitions to determine when it should return to closed loop operation. However, if input data is turned off completely and optical power is no longer being detected, the control algorithm re-enters the state represented by block 303, in which the RX 100 powers down the TIA 102, the buffer 103, the LA 104, the signal XD circuit 105, and the DC OC circuit 130. Powering down these components allows the RX 100 to conserve electrical power when no optical power is being detected by the optical PD circuit 145.
When the loop control algorithm is in the state represented by block 315 and the controller device 110 determines that XD is still true (i.e., that one or more signal transitions are still being detected by the signal transition detection circuit 105), it then enters the state represented by block 317. In this state, the controller device 110 causes the BW of the LPF 140 to switch from the High BW set in the state represented by block 303 to a Low BW. The RX 100 has more pattern sensitivity in the High BW mode than in the Low BW mode, which results in there being some residual DC offset in the High BW mode that will still need to be cancelled out by the DC OC system 120. The reduced pattern sensitivity in the Low BW mode allows the DC OC loop to settle to a minimum offset condition that provides the best BER performance.
After the LPF 140 has been set to the Low BW and CLOSELOOP has been set to True, the RX 100 enters the state represented by block 319. In this state, the DC OC system 120 continues to perform DC offset cancellation while the controller device 110 continues to monitor the output of the signal XD circuit 105. As long as signal transitions continue to be detected, XD will remain True and DC OC will continue to be performed. If a determination is made in this state that signal transitions are no longer being detected (as indicated by XD changing from True to False), the loop control algorithm will then enter the state represented by block 321. As described above, in this state, the controller device 110 sets CLOSELOOP to False and saves and freezes the current state. The loop control algorithm then enters the state represented by block 323. As described above, in the state represented by block 323, the controller device 110 continues to monitor the output of the optical PD circuit 145 and determine whether or not any optical power is still being detected. If optical power is no longer detected, the loop control algorithm re-enters the state represented by block 303, in which the RX 100 powers down the TIA 102, the buffer 103, the LA 104, the signal XD circuit 105, and the DC OC circuit 130. If optical power continues to be detected while the RX 100 is in the state represented by block 323, the loop control algorithm will re-enter the state represented by block 315 to look for the return of data transitions.
One of the advantages of the method represented by the state diagram shown in
It should be noted that in between the instant in time when the signal XD circuit 104 detects no signal transition and the instant in time that the DC OC feedback loop is opened, there may be a certain amount of drift in the DC OC circuit 130 that is associated with the BW of the LPF 140. In a typical DC OC circuit, such as the DC OC circuit 8 described above with reference to
The input data signal, which is labeled “DATA”, is received by the buffer 441, which provides the input data signal with some gain. The output of the buffer 441 is received by the pre-drive amplifier 442, which amplifies the signal to provide it with some additional gain. Thus, the combination of the buffer 441 and the pre-drive amplifier 442 is essentially an input gain stage, which may be configured in a variety of ways. The output of the pre-drive amplifier 442 is received by the laser driver circuit 443 and by the signal XD circuit 460. The signal XD circuit 460 performs the same functions as those performed by the signal XD circuit 105 described above with reference to
The signal XD circuit 460 detects when one or more transitions are occurring in the input data signal and produces a corresponding output signal, XD. The controller device 480 is configured to perform a feedback loop control algorithm that is identical or similar to the feedback loop control algorithm described above with reference to
The controller devices 110 shown in
It should be noted that the invention has been described with respect to illustrative embodiments for the purpose of describing the principles and concepts of the invention. The invention is not limited to these embodiments. For example, while the invention has been described with reference to using a particular RX or TX configuration, the invention is not limited to these particular configurations. Also, the state diagram shown in