A CDR circuit includes an AD converter that converts an analog input signal to a digital output signal according to an operation clock signal; a phase adjuster that subtracts a first phase from a first clock signal having a first frequency equal to a frequency of the input signal to output a second clock signal having a second frequency as the operation clock signal to the AD converter; a phase detector that detects a second phase in the output signal of the AD converter; a filter that obtains a third phase by performing a filtering process based on the first phase, the second phase, and the third phase output from the filter; an adder that adds the first phase and the third phase to obtain a fourth phase; and a decision circuit that obtains recovered data from the output signal of the AD converter using the fourth phase.
|
7. A clock and data recovery circuit, comprising:
an analog-to-digital converter that converts an analog input signal having a first frequency to a digital output signal according to an operation clock signal;
a clock generator that generates a clock signal having a second frequency that is different from the first frequency of the input signal by a frequency difference corresponding to a first phase, and inputs the generated clock signal as the operation clock signal to the analog-to-digital converter;
a phase detector that detects a second phase included in the output signal of the analog-to-digital converter;
a filter that obtains a third phase by performing a filtering process based on the first phase, the second phase detected by the phase detector, and the third phase output from the filter;
an adder that adds the first phase and the third phase obtained by the filter to obtain a fourth phase; and
a decision circuit that obtains recovered data from the output signal of the analog-to-digital converter using the fourth phase obtained by the adder,
wherein in the filtering process, the filter obtains the third phase that minimizes a phase difference between the second phase and the fourth phase.
1. A clock and data recovery circuit, comprising:
an analog-to-digital converter that converts an analog input signal to a digital output signal according to an operation clock signal;
a phase adjuster that subtracts a first phase from a first clock signal having a first frequency equal to a frequency of the input signal to modulate the first clock signal and thereby obtain a second clock signal having a second frequency, and inputs the second clock signal as the operation clock signal to the analog-to-digital converter;
a phase detector that detects a second phase included in the output signal of the analog-to-digital converter;
a filter that obtains a third phase by performing a filtering process based on the first phase, the second phase detected by the phase detector, and the third phase output from the filter;
an adder that adds the first phase and the third phase obtained by the filter to obtain a fourth phase; and
a decision circuit that obtains recovered data from the output signal of the analog-to-digital converter using the fourth phase obtained by the adder,
wherein in the filtering process, the filter obtains the third phase that minimizes a phase difference between the second phase and the fourth phase.
2. The clock and data recovery circuit as claimed in
3. The clock and data recovery circuit as claimed in
4. The clock and data recovery circuit as claimed in
a phase signal output unit that outputs a signal having the first phase.
5. The clock and data recovery circuit as claimed in
6. The clock and data recovery circuit as claimed in
a phase difference detector that is disposed between the phase detector and the filter, obtains a phase difference by subtracting the first phase and the third phase from the second phase, and inputs the obtained phase difference to the filter.
8. The clock and data recovery circuit as claimed in
9. The clock and data recovery circuit as claimed in
10. The clock and data recovery circuit as claimed in
a phase signal output unit that outputs a signal having the first phase.
11. The clock and data recovery circuit as claimed in
a phase difference detector that is disposed between the phase detector and the filter, obtains a phase difference by subtracting the first phase and the third phase from the second phase, and inputs the obtained phase difference to the filter.
|
This application is based upon and claims the benefit of priority of Japanese Patent Application No. 2013-160606 filed on Aug. 1, 2013, the entire contents of which are incorporated herein by reference.
An aspect of this disclosure relates to a clock and data recovery (CDR) circuit.
There exists a method for performing adaptive filtering on a communication signal with a digital filter. In this method, a set of coefficients is used for each “run” of a digital filter, and it is determined whether an output of the digital filter obtained by using the set of coefficients is equal to a selected error level. When the output of the digital filter obtained by using the set of coefficients is not equal to the selected error level, the coefficients are adjusted until the output from the digital filter becomes equal to the selected error level, and the set of adjusted coefficients is stored in a memory. When the digital filter is run later, the set of adjusted coefficients is read from the memory and loaded into the digital filter (see, for example, Japanese Laid-Open Patent Publication No. 2000-077979).
A known 5-Gbps transceiver includes a front end employing an analog-to-digital converter (ADC). The front end extracts an input signal without adjusting the phase difference between the input signal and a sampling clock signal. Phase tracking and data determination of the input signal are performed in a computational domain (see, for example, Yamaguchi, H. “A 5 Gb/s transceiver with an ADC-based feedforward CDR and CMA adaptive equalizer in 65 nm CMOS”, 2010 IEEE International Solid-State Circuits Conference, Digest of Technical Papers (ISSCC)).
However, with the related-art method and transceiver described above, it is difficult to detect a phase of a signal with a small phase detection error without increasing the overhead.
An aspect of this disclosure provides a clock and data recovery circuit including an analog-to-digital converter that converts an analog input signal to a digital output signal according to an operation clock signal; a phase adjuster that subtracts a first phase from a first clock signal having a first frequency equal to a frequency of the input signal to modulate the first clock signal and thereby obtain a second clock signal having a second frequency, and inputs the second clock signal as the operation clock signal to the analog-to-digital converter; a phase detector that detects a second phase included in the output signal of the analog-to-digital converter; a filter that obtains a third phase by performing a filtering process based on the first phase, the second phase detected by the phase detector, and the third phase output from the filter; an adder that adds the first phase and the third phase obtained by the filter to obtain a fourth phase; and a decision circuit that obtains recovered data from the output signal of the analog-to-digital converter using the fourth phase obtained by the adder. In the filtering process, the filter obtains the third phase that minimizes a phase difference between the second phase and the fourth phase.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention.
A related-art blind-sampling clock and data recovery (CDR) circuit 10 is described below with reference to
The blind-sampling CDR circuit 10 may include an analog-to-digital converter (ADC) 1, a phase detector (PD) 2, a filter 3, and a decision circuit 4.
Instead of tracking the phase of an input signal, the blind-sampling CDR circuit 10 extracts phase information from a signal sampled by the ADC 1, and the ADC 1 performs sampling based on the extracted phase information.
In the blind-sampling CDR circuit 10, the ADC 1 converts an input signal into a digital output signal, the phase detector 2 detects the phase of the output signal to obtain a phase signal, the filter 3 generates a recovered phase code by recovering the phase signal, and the decision circuit 4 recovers data included in the sampled signal based on the recovered phase code and the output signal from the ADC 1.
The decision circuit 4 outputs recovered data recovered from the input signal input to the ADC 1.
In the blind-sampling CDR circuit 10, when a change in the signal level is less than the resolution of the ADC 1 in a sampling period (or sampling interval) where a signal zero crossing occurs, a dead zone equal to the sampling interval is generated in a detection result of the phase detector 2.
The waveform of a signal from a transmitter becomes blunt while the signal is transmitted through a transmission path. Therefore, an input signal input to the ADC 1 has a sine waveform. While it is not possible to determine the actual phase of the input signal when it crosses an axis representing 0 (zero), it is possible to determine whether a zero crossing point (at which the input signal crosses the axis) is in a first half or a second half of one UI because the zero crossing point is present between two sampling points. Accordingly, in this case, the phase detection error is 0.5 UIp-p.
In this case, because a signal is sampled four times during one UI, the phase detection error is 0.25 UIp-p that is one half of the phase detection error in the case of
The two-bit ADC 1 can determine four signal levels: +½, +3/2, −½, and −3/2. A point between +½ and −½ is 0 (zero).
With the two-bit ADC 1, the phase detection error becomes 0.25 UIp-p that is one half of the phase detection error in the case of
As described above, compared with the case of
However, increasing the number of sampling times and the number of bits of the ADC 1 increases the overhead of analog circuits around the ADC 1.
An aspect of this disclosure provides a CDR circuit that can accurately detect a phase of a signal without increasing the overhead.
Embodiments of the present invention are described below with reference to the accompanying drawings.
The CDR circuit 100 may include an input terminal 101, an output terminal 102, an analog-to-digital converter (ADC) 110, a phase detector (PD) 120, a phase difference output circuit 130, a filter 140, an adder 150, a decision circuit 160, a phase adjusting circuit 170, a reference phase output unit 180, and a clock generator (fb) 190.
In
The input terminal 101 is an input unit that receives an input signal that is transmitted via a transmission line of an information processing apparatus including the CDR circuit 100. Thus, the CDR circuit 100 receives data transmitted through a transmission path via the input terminal 101. The symbol rate of the input signal is represented by fb, and the phase of the input signal is represented by θin. When binary modulation is employed, the bit rate is also fb. On the other hand, when a four-level modulation is employed, the bit rate becomes fb*2.
The output terminal 102 is an output unit that output recovered data recovered by the CDR circuit 100. The output terminal 102 is connected to a transmission line of an information processing apparatus including the CDR circuit 100.
The ADC 110 converts data (input signal) input to the input terminal 101 from analog to digital, and thereby generates a series of digital codes (digital signal). The ADC 110 samples the data two times in each data interval (or in each unit interval (UI)) at the rising and falling edges of a clock signal CLK that is input from the phase adjusting circuit 170 as an operation clock signal. This operation of the ADC 110 is similar to the operation of the ADC 1 of the related art. The digital signal output from the ADC 110 is input to the phase detector 120 and the decision circuit 160.
The phase detector 120 detects phase information θPD(k) of the digital signal output from the ADC 110. The phase information θPD(k) is included in the digital signal output from the ADC 110. That is, the phase information θPD(k) indicates an actual measurement of the phase of the input signal that is measured by the phase detector 120. A digital signal representing the phase information θPD(k) detected by the phase detector 120 is input to the phase difference output circuit 130.
Here, k is an integer from 1 through N, and is incremented by 1 every cycle of the clock signal CLK that is input as an operation clock signal from the phase adjusting circuit 170 to the ADC 110. When k is incremented up to N, k returns to 1. N is a value included in formula (3) described later.
The phase difference output circuit 130 subtracts phase information Δθ included in a digital signal output from the filter 140 and reference phase information θ0(k) included in a digital signal output from the reference phase output unit 180 from the phase information θPD(k) detected by the phase detector 120 to obtain phase information θ1(k), and output a digital signal including the phase information θ1(k). The phase information θ1(k) is represented by formula (1) below.
θ1(k)=θPD(k)−θ0(k)−Δθ (1)
The phase information θ1(k) output from the phase difference output circuit 130 is input to the filter 140.
The filter 140 performs an approximation process based on a least-squares method on sets of phase information θ1(k) that is output from the phase difference output circuit 130 every cycle of the clock signal CLK to obtain the phase information Δθ, and outputs a digital signal including the phase information Δθ. The phase information Δθ indicates the smallest phase difference between the phase information θPD(k) detected by the phase detector 120 and phase information θ(k) output as a phase code from the adder 150, and is obtained by an approximation process based on a least-squares method. The phase information Δθ included in the digital signal output from the filter 140 is input to the phase difference output circuit 130 and the adder 150. Details of the approximation process based on the least-squares method are described later.
The adder 150 adds the phase information Δθ output from the filter 140 and the reference phase information θ0(k) output from the reference phase output unit 180 to obtain the phase information θ(k) represented by formula (2) below, and outputs a digital signal including the phase information θ(k).
θ(k)=Δθ+θ0(k) (2)
The phase information θ(k) output from the adder 150 is input to the decision circuit 160.
That is, the phase information θ(k) is a phase code extracted from the input signal input to the input terminal 101.
The decision circuit 160 recovers the output signal of the ADC 110 using the phase information θ(k) (phase code) output from the adder 150 to obtain recovered data, and outputs the recovered data.
The phase adjusting circuit 170 outputs the clock signal CLK that is obtained by adjusting the phase of a clock signal CLK(fb) output from the clock generator 190. The phase adjusting circuit 170 subtracts a reference phase θ0(k) output from the reference phase output unit 180 from a phase signal θclk of the clock signal CLK(fb) by performing digital-to-analog conversion. As a result, the phase signal of the clock signal CLK output from the phase adjusting circuit 170 becomes θclk−θ0(k). The phase adjusting circuit 170 may be implemented, for example, by a phase interpolator or a delay control circuit.
The frequency of the clock signal CLK(fb) output from the clock generator 190 is fb and is equal to the frequency fb of the input signal. Therefore, when the reference phase θ0(k) is a positive value, a frequency fclk of the clock signal CLK output from the phase adjusting circuit 170 is higher than the frequency fb of the clock signal CLK(fb).
The reference phase information θ0(k) output from the reference phase output unit 180 is a periodic function whose period corresponds to N clock cycles. An index k (k=1, 2, . . . , N) is assigned to each clock cycle. The cycle of the clock signal CLK (fb) before modulation is represented by Tb=1/fb.
The reference phase output unit 180 outputs the reference phase information θ0(k). The reference phase information θ0(k) is a periodic function that is represented, for example, by formula (3) below.
θ0(k)=k×Δf×Tb (3)
In formula (3), “cycle slip” is not taken into account. A cycle slip indicates an event where the apparent number of data units in a clock cycle periodically decreases (fclk>fdata) or increases (fclk<fdata) due to a frequency offset between a data signal and a clock signal.
Δf in formula (3) is represented by Δf=fclk−fb.
Accordingly, a period of 7 UI of data of the input signal having the same frequency as the frequency of the clock signal CLK(fb) is equal to a period of eight cycles (8 Tclk) of the clock signal CLK input from the phase adjusting circuit 170 to the ADC 110.
In other words, a period of eight cycles (8 T) of the clock signal CLK(fb) output from the clock generator 190 is equal to a period of 8 UI of data of the input signal having the same frequency as the frequency of the clock signal CLK(fb).
Thus, a period of eight cycles (8 Tclk) of the clock signal CLK input from the phase adjusting circuit 170 to the ADC 110 is equal to a period of 7 UI of data of the input signal having the same frequency as the clock signal CLK(fb).
Therefore, the frequency fclk of the clock signal CLK output from the phase adjusting circuit 170 is 8/7 times greater than the frequency fb of the clock signal CLK(fb) output from the clock generator 190. That is, the frequency fclk is represented by fclk=(8/7)×fb.
As described above, in the first embodiment, the frequency fclk of the clock signal CLK input to the ADC 110 is modulated.
The reference phase output unit 180 is a circuit that can output a digital signal including the reference phase information θ0(k).
The clock generator 190 outputs the clock signal CLK(fb) having the frequency fb that is equal to the frequency of the input signal. The clock generator 190 may be implemented, for example, by a phase locked loop (PLL).
An approximation process performed by the filter 140 based on a least-squares method is described below.
The phase information Δθoutput from the filter 140 indicates the smallest phase difference between the phase information θPD(k) detected by the phase detector 120 and the phase information θ(k) output as a phase code from the adder 150. The phase information Δθ is obtained by an approximation process based on a least-squares method as described below.
The approximation process based on the least-squares method is performed to obtain the phase information Δθ that minimizes a square sum E(Δθ) of a difference between the phase information θ(k) output as a phase code from the adder 150 and the phase information θPD(k) detected by the phase detector 120. When k is 1 through N, E(Δθ) is obtained by formula (4) below.
Formula (5) below is obtained by differentiating formula (4) with respect to Δθ and setting E(Δθ) at 0 (zero).
Accordingly, when formula (6) below is not 0 (zero), the phase Δθ is obtained by formula (7). Nedge of formula (6) indicates the number of data edges (transition points) observed in N clock cycles. In formula (6), S(k) is 1 when a data edge is present in the interval k, and S(k) is 0 when no data edge is present in the interval k.
Formula (7) indicates that the phase information Δθ is obtained as an average of differences between the phase information θPD(k) output from the phase detector 120 and the reference phase information θ0(k) output from the reference phase output unit 180.
The filter 140 may be configured such that calculations (filtering process) to obtain Δθrepresented by formula (7) are performed by a loop formed by the filter 140 and the phase difference output circuit 130.
When sampling is performed n times, an n-phase clock signal is used. In the example of
In
In the first Tclk of 8 Tclk, the transition point of the data is located in the center of the period B of the clock signal CLK. Therefore, in all of the second through eighth Tclk, the transition point of the data is in the center of the period B.
Thus, the transition points of all eight data units are included in the corresponding periods B.
In the above described case where the transition points of all of eight data units are included in the periods B, eight periods B are lined up as illustrated in the lower part of
In a different case where the transition points of all of eight data units are included in the periods A, eight periods A are lined up as illustrated in the upper part of
On the other hand, as illustrated by
When the frequency fclk of the clock signal CLK to be input to the ADC 110 is 8/7 fb, data units of 7 UI are sampled during a period of 8 Tclk as illustrated by
In
One UI of data in
In
The transition point of the fifth data unit in 7 UI is located near the beginning of the period B of the clock signal CLK. The transition points of the sixth and seventh data units of 7 UI become gradually closer to the end of the period B.
Thus, in
The uppermost pattern in
The 14 patterns illustrated by
In practice, however, because transition of data occurs at particular timing with respect to the phase of the clock signal CLK, the actual pattern of periods A and B (phase pattern) of the clock signal CLK where the transition points of seven data units (7 UI) appear becomes one of the 14 patterns illustrated by
In
In
When sampling is performed n times in one UI, an n-phase clock signal is used. In the example of
Also in
In
When Δθobtained by formula (7) above is 0 (zero), according to formula (2) above, the phase information θ(k) output from the adder 150 equals the reference phase information θ0(k). That is, θ(k)=θ0(k) is true.
In this case, the decision circuit 160 recovers the output signal of the ADC 110 using the reference phase information θ0(k) as the phase information θ(k) (phase code) output from the adder 150 to obtain recovered data, and outputs the recovered data. This method or configuration makes it possible to make the phase detection error less than 0.5 UIp-p.
In
When Δθ obtained by formula (7) above is 0.25 UI, according to formula (2) above, the phase information θ(k) output from the adder 150 is represented by θ(k)=θ0(k)+0.25 UI.
In this case, the decision circuit 160 recovers the output signal of the ADC 110 using θ(k)=θ0(k)+0.25 UI as the phase information θ(k) (phase code) output from the adder 150 to obtain recovered data, and outputs the recovered data. This method or configuration makes it possible to make the phase detection error less than 0.5 UIp-p.
As described above, the CDR circuit 100 of the first embodiment can make the phase detection error less than 0.5 UIp-p without increasing the number of sampling times and the number of bits of the ADC 110.
Thus, the first embodiment makes it possible to provide a CDR circuit that can detect a phase of a signal with a small phase detection error without increasing the overhead.
In the first embodiment, the CDR circuit 100 includes the phase adjusting circuit 170. However, a CDR circuit may have a different configuration.
The CDR circuit 100A of
A phase interpolator (PI) 210 illustrated in
In this case, the phase interpolator 210 may be configured to use a digital signal <θ0(k)> corresponding to the reference phase information θ0(k) as the control signal Din, use the clock signal CLK(fb) input from the clock generator 190 as the input clock signal CLKin, and output the output clock signal CLKout as the operation clock signal CLK of the ADC 110.
The CDR circuit of the second embodiment can also make the phase detection error less than 0.5 UIp-p without increasing the number of sampling times and the number of bits of the ADC 110.
Thus, the second embodiment also makes it possible to provide a CDR circuit that can detect a phase of a signal with a small phase detection error without increasing the overhead.
In
CDR circuits according to embodiments of the present invention are described above. However, the present invention is not limited to the specifically disclosed embodiments, and variations and modifications may be made without departing from the scope of the present invention.
All examples and conditional language provided herein are intended for the pedagogical purposes of aiding the reader in understanding the invention and the concepts contributed by the inventor to further the art, and are not to be construed as limitations to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although one or more embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
7020227, | May 31 2002 | Acard Technology Corporation | Method and apparatus for high-speed clock data recovery using low-speed circuits |
8138840, | Jan 23 2009 | GLOBALFOUNDRIES U S INC | Optimal dithering of a digitally controlled oscillator with clock dithering for gain and bandwidth control |
8611473, | Dec 15 2010 | MICROSEMI STORAGE SOLUTIONS, INC | Reduction of correlated channel impairments |
8791735, | Feb 05 2014 | Fujitsu Limited | Receiving circuit and control method of receiving circuit |
8798217, | Nov 03 2010 | Qualcomm Incorporated | Method and digital circuit for recovering a clock and data from an input signal using a digital frequency detection |
8837656, | Jul 06 2010 | Cisco Technology, Inc | Phase detection method and circuit |
8860467, | Mar 15 2013 | AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LIMITED | Biased bang-bang phase detector for clock and data recovery |
20010031000, | |||
20100102888, | |||
20100127906, | |||
20110216863, | |||
20120033773, | |||
20120200325, | |||
20150043698, | |||
20150092898, | |||
JP2000077979, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Jul 03 2014 | CHEN, YANFEI | Fujitsu Limited | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 033584 | /0439 | |
Jul 29 2014 | Fujitsu Limited | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Feb 14 2019 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Feb 08 2023 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Date | Maintenance Schedule |
Aug 25 2018 | 4 years fee payment window open |
Feb 25 2019 | 6 months grace period start (w surcharge) |
Aug 25 2019 | patent expiry (for year 4) |
Aug 25 2021 | 2 years to revive unintentionally abandoned end. (for year 4) |
Aug 25 2022 | 8 years fee payment window open |
Feb 25 2023 | 6 months grace period start (w surcharge) |
Aug 25 2023 | patent expiry (for year 8) |
Aug 25 2025 | 2 years to revive unintentionally abandoned end. (for year 8) |
Aug 25 2026 | 12 years fee payment window open |
Feb 25 2027 | 6 months grace period start (w surcharge) |
Aug 25 2027 | patent expiry (for year 12) |
Aug 25 2029 | 2 years to revive unintentionally abandoned end. (for year 12) |