The disclosed embodiments of the present invention relate to timing recovery, and more particularly, to a loop gain calibration apparatus for controlling a loop gain of a timing recovery loop and a related loop gain calibration method.
Communication systems increasingly depend on digital data transmission. Digital data transmission, in turn, depends on reliable reception of transmitted data. Basically, the signals received on the receiving end must be synchronized with those from the transmission end to eliminate frequency and/or phase errors generated in a transmission channel between the transmitting end and the receiving end. In general, effective timing recovery can be used to facilitate reliable reception of transmitted data in the receiving end. More specifically, effective timing recovery can facilitate sampling instances of the received data stream at correct sampling timing phases.
For example, a timing recovery loop is implemented to control a sampling phase used by an analog-to-digital converter (ADC) in the receiving end. However, to achieve a more accurate timing error evaluation result, the timing error evaluation will introduce a longer delay, thus increasing the latency of a timing recovery circuit used in the timing recovery loop. The increased latency of the timing recovery circuit may affect the stability of the timing recovery loop. For example, on the premise that the open-loop bandwidth of the timing recovery circuit is the same, the phase margin of the timing recovery circuit becomes smaller when the latency of the timing recovery circuit becomes longer. However, a smaller phase margin of the timing recovery circuit may result in a lower stability of the timing recovery loop.
Thus, there is a need for an innovative control mechanism which is capable of tuning the open-loop bandwidth of the timing recovery circuit to thereby control the stability of the timing recovery loop.
In accordance with exemplary embodiments of the present invention, a loop gain calibration apparatus for controlling a loop gain of a timing recovery loop and a related loop gain calibration method are proposed to precisely tune the timing recovery bandwidth and phase margin.
According to a first aspect of the present invention, an exemplary loop gain calibration apparatus is disclosed. The exemplary loop gain calibration apparatus includes an exciting signal generator, an exciting signal extracting circuit, and a loop gain control circuit. The exciting signal generator is configured to generate a first exciting signal, and inject the first exciting signal into a timing recovery loop while the timing recovery loop is operating in response to a reception signal received under a normal reception mode. The exciting signal extracting circuit is configured to extract a second exciting signal from the timing recovery loop after the first exciting signal is injected into the timing recovery loop. The loop gain control circuit is configured to receive the first exciting signal from the exciting signal generator, receive the second exciting signal from the exciting signal extracting circuit, and control a loop gain of the timing recovery loop according to the first exciting signal and the second exciting signal.
According to a second aspect of the present invention, an exemplary loop gain calibration method is disclosed. The exemplary loop gain calibration method includes: while the timing recovery loop is operating in response to a reception signal received under a normal reception mode, generating a first exciting signal and injecting the first exciting signal into a timing recovery loop; after the first exciting signal is injected into the timing recovery loop, extracting a second exciting signal from the timing recovery loop; and controlling a loop gain of the timing recovery loop according to the first exciting signal and the second exciting signal.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Certain terms are used throughout the description and following claims to refer to particular components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms “include” and “comprise” are used in an open-ended fashion, and thus should be interpreted to mean “include, but not limited to . . . ”. Also, the term “couple” is intended to mean either an indirect or direct electrical connection. Accordingly, if one device is coupled to another device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.
The timing recovery circuit 113 is a kernel component of the timing recovery loop 102. Specifically, the timing error detector 115 estimates a timing error TE based on an output of the ADC 111. The estimated timing error TE is processed by the loop filter 116 to generate a digital control word Nc to the NCO 117 (which is also called Direct Digital Synthesizer (DDS)). The NCO 117 generates a clock CLKTR to the phase interpolator 114 according to the digital control word Nc. The phase interpolator 114 refers to the clock CLKTR to generate a sampling clock to the ADC 111. Since the phase of the clock CLKTR is adjusted according to the estimated timing error TE, the ADC sampling phase φ is therefore adjusted to reduce the estimated timing error TE.
In this embodiment, the timing error detector 115 may perform timing error detection by using a Mueller-Muller algorithm, and then generate the estimated timing error TE to the loop filter 116.
E{x
slice(n−1)y(n)−xslice(n)y(n−1)}=h(TS+φ)−h(−TS+φ)=TE (1)
Hence, the timing recovery loop operates in response to the estimated timing error TE to adjust the ADC sampling phase φ. The timing recovery loop does not stop adjusting the ADC sampling phase φ until the estimated timing error TE (i.e., h(TS+φ)−h(−TS+φ)) is equal to zero. In other words, the timing recovery loop is used to make the ADC sampling phase φ locked to a timing phase corresponding to a minimum timing error.
As can be known from above formula (1), the expected value (i.e., estimated timing error TE) is channel-dependent. Hence, different channels of the communication system may have different timing error detector gains around the locked timing phase, where the timing error detector gain is defined by a slope
around the locked timing phase. Since the timing error detector gains are different for different channels, the open-loop bandwidth of the timing recovery circuit will be different for different channels.
Further, to provide more accurate sliced values xslice(nTS), a digital equalizer may be placed between the ADC and the slicer shown in
As mentioned above, the timing recovery circuit 113 may have different open-loop bandwidth values for different channels and the open-loop bandwidth of the timing recovery circuit 113 should be adjusted to ensure stability of the timing recovery loop 102. The present invention therefore proposes using the loop gain calibration apparatus 104 to properly tune the open-loop bandwidth of the timing recovery circuit 113, thereby ensuring the stability of the timing recovery loop 102. Further details of the proposed loop gain calibration mechanism are described as below.
The loop gain calibration apparatus 104 is operated under a condition that a transmitter of the communication system does not provide a test signal (e.g., a sine wave with a predetermined frequency) to the receiver 100 to act as a reference signal used for calibrating the loop gain of the timing recovery loop 102. Hence, the loop gain calibration apparatus 104 is configured to perform the loop gain calibration while the receiver 100 is operating under a normal reception mode. That is, the proposed loop gain calibration and the normal data reception are performed concurrently. Therefore, the ADC 111 samples the reception signal SIN received under the normal reception mode, where the reception signal SIN include normal data symbols transmitted from the transmitter of the communication system. Since the proposed loop gain calibration is an on-line calibration under the normal reception mode, there is no need to particularly control the transmitter to generate and transmit a test signal.
In this embodiment, the exciting signal generator 121 is configured to generate a first exciting signal S1 and inject the first exciting signal S1 into the timing recovery loop 102 while the timing recovery loop 102 is operating in response to the reception signal SIN received under the normal reception mode. The reception signal SIN may be used to deliver data symbols at a specific symbol rate. For example, the specific symbol rate may be 10.3125 GHz when the communication system is a 10 Gb/s LRM fiber system. It should be noted that digital circuits may operate at a slower operation rate, say, 10.3125/M GHz due to hardware constraints. For example, the timing error detector 115 may operate at the slower operation rate, such that one timing error TE output from the timing error detector 115 is an accumulation result of M timing errors. However, this is for illustrative purposes only, and is not meant to be a limitation of the present invention. In an alternative design, the digital hardware operation rate may be equal to the symbol rate. This also falls within the scope of the present invention.
In this embodiment, the exciting signal generator 121 is used to generate a periodical signal as the first exciting signal S1. For example, the periodical signal is a sinusoidal signal with a predetermined exciting frequency. The predetermined exciting frequency may be selected by checking the phase response sensitivity among different signal frequencies. For example, when the 10 Gb/s LRM fiber system uses a large SJ (sinusoidal jitter) test with the frequency of 375 KHz, the predetermined exciting frequency should be properly set to be far away from 375 KHz.
As shown in
It should be noted that the location where the exciting signal generator 121 injects the first exciting signal S1 may be adjusted, depending upon the timing recovery loop design. That is, adding the first exciting signal S1 to an NCO output or a PI input is for illustrative purposes only, and is not meant to be a limitation of the present invention.
The exciting signal extracting circuit 122 is configured to extract a second exciting signal S2 from the timing recovery loop 102 after the first exciting signal S1 is injected into the timing recovery loop 102. The phase disturbance resulting from the first exciting signal S1 injected into the input of the phase interpolator 114 will affect the ADC sampling phase φ, and will be present in the timing error TE generated from the timing error detector 115. Hence, the first exciting signal S1 will be included in the NCO output. Specifically, the output of the NCO 117 may be regarded as a combination of the clock CLKTR generated due to an offset of ADC sampling of data symbols in the reception signal SIN and a delayed version of the injected first exciting signal S1. In this embodiment, the first exciting signal S1 passing through circuit components in the timing recovery loop 102 is captured as the second exciting signal S2, where the phase lag between the second exciting signal S2 and the first exciting signal S1 is correlated to the timing recovery bandwidth.
In general, the transmitter of the communication system has a digital-to-analog converter (DAC) to deal with conversion between digital signals and analog signals, and the receiver 100 of the communication system has the ADC 111 to deal with conversion between analog signals and digital signals. However, the sampling frequency of receiver's ADC may not be exactly synchronized with the sampling frequency of transmitter's DAC, thus resulting in a timing frequency offset (TFO). The sampling timing offsets resulting from the TFO will be accumulated. For example, the accumulated sampling timing offset may be linearly increased or linearly decreased during a period of time. Assume that the first exciting signal S1 is a sine wave. After the first exciting signal S1 is injected to the timing recovery loop 102 to disturb the ADC sampling phase φ, an unwrapped phase will be a sine wave if there is no TFO. However, if there is TFO, the unwrapped phase will linearly increase/decrease and come with a sine wave. To obtain a correct delayed version of the first exciting signal S1, the TFO effect should be removed.
The loop gain control circuit 123 is configured to receive the first exciting signal S1 from the exciting signal generator 121, receive the second exciting signal S2 from the exciting signal extracting circuit 122, and control the loop gain of the timing recovery loop 102 according to the first exciting signal S1 and the second exciting signal S2. In this embodiment, the phase lag calculating circuit 124 is configured to calculate a phase lag PD between the second exciting signal S2 and the first exciting signal S1. The loop gain calibration circuit 125 is configured to adjust the loop gain of the timing recovery loop 102 according to the phase lag PD. For example, the loop gain calibration circuit 125 may adjust the loop gain of the timing recovery loop 102 by adjusting the gain of the controllable gain stage 112 and/or the gain of the loop filter 116. When at least one of the gain of the controllable gain stage 112 and the gain of the loop filter 116 is adjusted, the open-loop bandwidth and the phase margin of the timing recovery circuit 113 are adjusted correspondingly.
In this embodiment, the loop gain calibration circuit 125 may compare the phase lag PD with a target phase difference (which is set based on a target timing recovery bandwidth), and may refer to the comparison result to adjust the loop gain of the timing recovery loop 102 for making the phase lag PD approach the target phase difference. When the phase lag PD is adjusted to a value equal to the target phase difference, the timing recovery bandwidth is controlled to be the target bandwidth. In this way, the stability of the timing recovery loop 102 can be properly controlled by using the proposed loop gain calibration mechanism.
It should be noted that using the proposed loop gain calibration mechanism in a receiver of an optical fiber communication system is merely one feasible application of the present invention. Any communication system with a receiver using the proposed loop gain calibration mechanism to control timing recovery bandwidth falls within the scope of the present invention.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
This application claims the benefit of U.S. provisional application No. 62/002,194, filed on May 23, 2014 and incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
62002194 | May 2014 | US |