Clock and data recovery circuit with proportional path and integral path, and multiplexer circuit for clock and data recovery circuit
11411574 · 2022-08-09
Assignee
Inventors
Cpc classification
H03M1/1295
ELECTRICITY
H04L7/0331
ELECTRICITY
H03M1/468
ELECTRICITY
H03M1/462
ELECTRICITY
H03L7/0891
ELECTRICITY
G05F1/468
PHYSICS
H03L7/0807
ELECTRICITY
International classification
H03D3/24
ELECTRICITY
H04L7/033
ELECTRICITY
H03L7/089
ELECTRICITY
H03M1/46
ELECTRICITY
G05F1/46
PHYSICS
Abstract
A clock and data recovery circuit includes a phase detector (PD), a phase frequency detector (PFD), a multiplexer circuit, a conversion stage and an oscillator. The PD detects a difference in phase between a data signal and an oscillating signal to generate a first set of error signals. The PFD detects a difference in phase and frequency between a reference clock signal and the oscillating signal to generate a second set of error signals. The multiplexer circuit selectively outputs the first set of error signals or the second set of error signals as a third set of error signals according to a selection signal. The conversion stage determines a set of gains according to the selection signal, and converts the third set of error signals with the set of gains to generate a set of input signals. The oscillator generates the oscillating signal according to the set of input signals.
Claims
1. A clock and data recovery (CDR) circuit, comprising: a phase detector (PD), configured to detect a difference in phase between a data signal and an oscillating signal to generate a first set of error signals; a phase frequency detector (PFD), configured to detect a difference in phase and frequency between a reference clock signal and the oscillating signal to generate a second set of error signals; a multiplexer circuit, coupled to the PD and the PFD, the multiplexer circuit being configured to selectively output the first set of error signals or the second set of error signals as a third set of error signals according to a selection signal; a conversion stage, coupled to the multiplexer circuit, the conversion stage being configured to determine a set of gains according to the selection signal, and convert the third set of error signals with the set of gains to generate a set of input signals; and an oscillator, coupled to the conversion stage, the oscillator being configured to generate the oscillating signal according to the set of input signals; wherein the conversion stage comprises: a first conversion circuit, configured to adjust a first gain in the set of gains according to the selection signal, and convert the third set of error signals with the first gain to generate a first input signal in the set of input signals; and a second conversion circuit, configured to convert the third set of error signals with a second gain in the set of gains to generate a second input signal in the set of input signals.
2. The CDR circuit of claim 1, wherein the first conversion circuit is formed in a first path between the multiplexer circuit and the oscillator, and the second conversion circuit is formed in a second path between the multiplexer circuit and the oscillator; the second path is separated from the first path.
3. The CDR circuit of claim 1, wherein when the selection signal indicates that the CDR circuit operates in a phase-locked loop (PLL) mode, the first gain is set to a first gain value; when the selection signal indicates that the CDR circuit operates in a CDR mode, the first gain is set to a second gain value less than the first gain value.
4. The CDR circuit of claim 1, wherein a gain value of the second gain in a PLL mode is equal to a gain value of the second gain in a CDR mode.
5. The CDR circuit of claim 1, wherein the first conversion circuit comprises a voltage-to-current converter.
6. The CDR circuit of claim 1, wherein the second conversion circuit comprises a charge pump and a filter circuit connected in cascade.
7. The CDR circuit of claim 1, wherein when the selection signal indicates that the CDR circuit operates in a CDR mode, the multiplexer circuit is configured to output the first set of error signals as the third set of error signals according to the selection signal; when the selection signal indicates that the CDR circuit operates in a PLL mode, the multiplexer circuit is configured to output the second set of error signals as the third set of error signals according to the selection signal.
8. The CDR circuit of claim 1, wherein the first set of error signals comprises a first up signal and a first down signal; the second set of error signals comprises a second up signal and a second down signal; the third set of error signals comprises a third up signal and a third down signal; the multiplexer circuit comprises: a synchronization circuit, configured to sample the selection signal according to the reference clock signal and accordingly generate an enable signal; a first multiplexer, coupled to the PD, the PFD and the synchronization circuit, the first multiplexer being configured to selectively output one of the first up signal and the second up signal as the third up signal according to the enable signal; and a second multiplexer, coupled to the PD, the PFD and the synchronization circuit, the second multiplexer being configured to selectively output one of the first down signal and the second down signal as the third down signal according to the enable signal.
9. The CDR circuit of claim 8, wherein when the PFD is positive edge triggered, the synchronization circuit is configured to sample the selection signal at a rising edge of the reference clock signal, and generate the enable signal at a falling edge of the reference clock signal.
10. The CDR circuit of claim 8, wherein when the PFD is negative edge triggered, the synchronization circuit is configured to sample the selection signal at a falling edge of the reference clock signal, and generate the enable signal at a rising edge of the reference clock signal.
11. The CDR circuit of claim 1, further comprising: a frequency divider, coupled between the oscillator and the PFD, the frequency divider being configured to receive the oscillating signal to generate a frequency-divided signal, wherein the PFD is configured to receive the reference clock signal and the frequency-divided signal to detect the difference in phase and frequency between the reference clock signal and the oscillating signal.
12. The CDR circuit of claim 11, wherein the first gain is set to a first gain value when the selection signal indicates that the CDR circuit operates in a PLL mode, the first gain is set to a second gain value when the selection signal indicates that the CDR circuit operates in a CDR mode, the first gain value is M times greater than the second gain value; a gain value of the second gain in the PLL mode is equal to a gain value of the second gain in the CDR mode; wherein M is determined by the following expression:
13. A clock and data recovery (CDR) circuit, comprising: a phase detector (PD), configured to detect a difference in phase between a data signal and an oscillating signal to generate a first set of error signals; a phase frequency detector (PFD), configured to detect a difference in phase and frequency between a reference clock signal and the oscillating signal to generate a second set of error signals; a synchronization circuit, configured to sample a selection signal at a first signal edge of the reference clock signal, and accordingly generate an enable signal at a second signal edge of the reference clock signal different from the first signal edge; a selection circuit, coupled to the PD, the PFD and the synchronization circuit, the selection circuit being configured to selectively output the first set of error signals or the second set of error signals as a third set of error signals according to the enable signal; a conversion stage, coupled to the selection circuit, the conversion stage being configured to convert the third set of error signals with a set of gains to generate a set of input signals; and an oscillator, coupled to the conversion stage, the oscillator being configured to generate the oscillating signal according to the set of input signals.
14. The CDR circuit of claim 13, wherein one of the first signal edge and the second signal edge is a rising edge, and the other of the first signal edge and the second signal edge is a falling edge.
15. The CDR circuit of claim 13, wherein the first set of error signals comprises a first up signal and a first down signal; the second set of error signals comprises a second up signal and a second down signal; the third set of error signals comprises a third up signal and a third down signal; the selection circuit comprises: a first multiplexer, coupled to the PD and the PFD, the first multiplexer being configured to selectively output one of the first up signal and the second up signal as the third up signal according to the enable signal; and a second multiplexer, coupled to the PD and the PFD, the second multiplexer being configured to selectively output one of the first down signal and the second down signal as the third down signal according to the enable signal.
16. The CDR circuit of claim 13, wherein the conversion stage comprises: a first conversion circuit, configured to adjust a first gain in the set of gains according to the selection signal, and convert the third set of error signals with the first gain to generate a first input signal in the set of input signals; and a second conversion circuit, configured to convert the third set of error signals with a second gain in the set of gains to generate a second input signal in the set of input signals.
17. The CDR circuit of claim 16, wherein when the CDR circuit operates in a phase-locked loop (PLL) mode, the first gain is set to a first gain value; when the CDR circuit operates in a CDR mode, the first gain is set to a second gain value less than the first gain value.
18. The CDR circuit of claim 16, wherein a gain value of the second gain in a PLL mode is equal to a gain value of the second gain in a CDR mode.
19. The CDR circuit of claim 13, further comprising: a frequency divider, coupled between the oscillator and the PFD, the frequency divider being configured to receive the oscillating signal to generate a frequency-divided signal, wherein the PFD is configured to receive the reference clock signal and the frequency-divided signal to detect the difference in phase and frequency between the reference clock signal and the oscillating signal.
20. The CDR circuit of claim 19, wherein the conversion stage comprises: a first conversion circuit, configured to convert the third set of error signals with a first gain in the set of gains to generate a first input signal in the set of input signals, the first gain being set to a first gain value when the selection signal indicates that the CDR circuit operates in a PLL mode, the first gain being set to a second gain value when the selection signal indicates that the CDR circuit operates in a CDR mode, the first gain value being M times greater than the second gain value; and a second conversion circuit, configured to convert the third set of error signals with a second gain in the set of gains to generate a second input signal in the set of input signals, a gain value of the second gain in the PLL mode is equal to a gain value of the second gain in the CDR mode; wherein M is determined by the following expression:
21. A multiplexer circuit, comprising: a synchronization circuit, configured to sample a selection signal at a first signal edge of a reference clock signal, and generate an enable signal at a second signal edge of the reference clock signal different from the first signal edge, wherein one of the first signal edge and the second signal edge is a rising edge, and the other of the first signal edge and the second signal edge is a falling edge; a first multiplexer, coupled to the synchronization circuit, the first multiplexer being configured to receive a first up signal outputted from a phase detector (PD) and a second up signal outputted from a phase frequency detector (PFD), output one of the first up signal and the second up signal as a first control signal according to the enable signal, and increase a frequency of an oscillator according to the first control signal; and a second multiplexer, coupled to the synchronization circuit, the second multiplexer being configured to receive a first down signal outputted from the PD and a second down signal outputted from the PFD, output one of the first down signal and the second down signal as a second control signal according to the enable signal, and decrease the frequency of the oscillator according to the second control signal.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Aspects of the present disclosure are best understood from the following detailed description when read with the accompanying figures. It is noted that, in accordance with the standard practice in the industry, various features are not drawn to scale. In fact, the dimensions of the various features may be arbitrarily increased or reduced for clarity of discussion.
(2)
(3)
(4)
(5)
(6)
DETAILED DESCRIPTION
(7) The following disclosure provides many different embodiments, or examples, for implementing different features of the provided subject matter. Specific examples of components and arrangements are described below to simplify the present disclosure. These are, of course, merely examples and are not intended to be limiting. For example, parameter values in the description that follows may vary depending on a given technology node. As another example, parameter values for a given technology node may vary depending on a given application or operating scenario. In addition, the present disclosure may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed.
(8) Further, it will be understood that when an element is referred to as being “connected to” or “coupled to” another element, it may be directly connected to or coupled to the other element, or intervening elements may be present.
(9) A CDR circuit employing a PLL design, e.g. a PLL-based CDR circuit, may utilize two conversion stages dedicated to two phase sensitive detectors respectively. For example, the CDR circuit may utilize a phase frequency detector (PFD) and a corresponding gain conversion stage to implement the PLL design. The CDR circuit may further utilize a phase detector (PD) and another gain conversion stage, thereby perform phase tracking of an output clock obtained using the PLL design. However, as the PFD would be unused in a CDR mode where the phase tracking is performed, the conversion stage associated with the PFD would stand idle. The use of dedicated conversion stages will result in increased circuit areas and costs.
(10) The present disclosure describes exemplary CDR circuits, each of which includes a conversion stage shared among different tracking loops including, for example, a frequency tracking loop and a phase tracking loop. In some embodiments, at least one gain provided by the shared conversion stage may vary according to a mode of operation of the CDR circuit. The present disclosure further describes exemplary multiplexer circuits. Each of the multiplexer circuits can be configured to couple one of two phase sensitive detectors, used for a frequency tracking loop and a phase tracking loop respectively, to a conversion stage shared among the frequency tracking loop and the phase tracking loop. The exemplary multiplexer circuits have reduced glitches during operation thereof. Further description is provided below.
(11)
(12) The PD 110 is configured to detect a difference in phase between the data signal D.sub.IN and an oscillating signal CK.sub.OUT to generate a set of error signals {S.sub.ER1}. The PD 110 may be implemented using a phase only sensitive detector, such as an exclusive-OR (XOR) phase detector or other types of digital/analog phase detectors sensitive to phase. In some embodiments, the PD 110 can be implemented using a phase-frequency sensitive detector without departing from the scope of the present disclosure.
(13) The PFD 120 is configured to detect a difference in phase and frequency between a reference clock signal CK.sub.R and the oscillating signal CK.sub.OUT to generate a set of error signals {SERE}. The PFD 120 may be implemented using various detectors which are phase-frequency sensitive. By way of example but not limitation, the PFD 120 may be implemented using an edge triggered 1K flip-flop PFD or other types of PFD. In some embodiments, the PFD 120 may be implemented using a phase sensitive detector when the reference clock signal CK.sub.R and the oscillating signal CK.sub.OUT are close in frequency.
(14) The multiplexer circuit 130, coupled to the PD 110 and the PFD 120, is configured to selectively output the set of error signals {S.sub.ER1} or the set of error signals {S.sub.ER2} as a set of error signals {S.sub.ER} according to a selection signal S.sub.SEL. For example, when the selection signal S.sub.SEL indicates that the CDR circuit 100 operates in a mode where one of the PD 110 and PFD 120 is active, the set of error signals {S.sub.ER} may come from the one of the PD 110 and PFD 120. The other of the PD 110 and PFD 120 may be inactive in the mode.
(15) The conversion stage 140, coupled to the multiplexer circuit 130, is configured to determine a set of gains {G} according to the selection signal S.sub.SEL, and convert the set of error signals {S.sub.ER} with the set of gains {G} to generate a set of input signals {S.sub.IN}. It is worth noting that at least one gain in the set of gains {G} can vary in response to the selection signal S.sub.SEL. In some embodiments, a portion of the set of error signals {S.sub.ER} is converted with a gain included in the set of gains {G} which varies in response to the selection signal S.sub.SEL. Another portion of the set of error signals {S.sub.ER} is converted with another gain included in the set of gains {G} which stays constant even if the selection signal S.sub.SEL changes.
(16) The oscillator 150, coupled to the conversion stage 140, is configured to generate the oscillating signal CK.sub.OUT according to the set of input signals {S.sub.IN}, wherein the set of input signals {S.sub.IN} can serve as a set of control inputs of the oscillator 150. The oscillator 150 may be implemented using a voltage controlled oscillator (VCO), a current controlled oscillator (CCO), a digital controlled oscillator (DCO), a hybrid current/voltage controlled oscillator, or other types of oscillators.
(17) In operation, when the selection signal S.sub.SEL indicates that the CDR circuit 100 operates in a PLL mode to perform frequency tracking or coarse tracking, the multiplexer circuit 130 may output the set of error signals {S.sub.ER2}, indicating the difference in phase and frequency between the reference clock signal CK.sub.R and the oscillating signal CK.sub.OUT, as the set of error signals {S.sub.ER} according to the selection signal S.sub.SEL. The conversion stage 140 may generate the set of input signals {S.sub.IN} by converting the set of error signals {S.sub.ER} with the set of gains {G}, which is determined according to the selection signal S.sub.SEL. The oscillator 150 may generate an updated version of the oscillating signal CK.sub.OUT according to the set of input signals {S.sub.IN}.
(18) After the oscillating signal CK.sub.OUT is locked to the reference clock signal CK.sub.R, a signal level or signal pattern of the selection signal S.sub.SEL may change to indicate that the CDR circuit 100 operates in a CDR mode to perform phase tracking or fine tracking. The multiplexer circuit 130 may output the set of error signals {S.sub.ER1}, which indicates the difference in phase between the data signal D.sub.IN and the oscillating signal CK.sub.OUT, as the set of error signals {S.sub.ER} according to the selection signal S.sub.SEL. The conversion stage 140 may generate the set of input signals {S.sub.IN} by converting the set of error signals {S.sub.ER} with the set of gains {G}, which is determined according to the selection signal S.sub.SEL. The set of gains {G} employed in the CDR mode may have a set of gain values different from that of the set of gains {G} employed in the PLL mode. By way of example but not limitation, in the PLL mode, a gain in the set of gains {G} has a first gain value. In the CDR mode, the gain in the set of gains {G} has a second gain value less than the first gain value. Next, the oscillator 150 may generate an updated version of the oscillating signal CK.sub.OUT. When the oscillating signal CK.sub.OUT is locked to the data signal D.sub.IN, the data signal D.sub.IN and the reference clock signal CK.sub.R may be sent to a decision circuit (not shown in
(19) With the use of the proposed CDR scheme, respective sets of error signals provided by a PD and a PFD can be converted by a same conversion stage with a set of adjustable gains. For example, a CDR circuit may operate in a PLL mode to act as a PLL, and operate in a CDR mode to lock a phase of an output clock of the PLL to that of a data input of the CDR circuit. The conversion stage operative in the PLL mode can be reused in the CDR mode, wherein a set of gains of the conversion stage can be adjusted/determined in response to a mode of operation of the CDR circuit. Compared with a CDR circuit utilizing two conversion stages dedicated to the PLL mode and the CDR mode, the CDR circuit utilizing the proposed CDR scheme can have a simplified design, a relatively small circuit area and reduced manufacturing costs.
(20) To facilitate understanding of the present disclosure, some embodiments are given as follows for further description of the proposed CDR scheme. Those skilled in the art should appreciate that other embodiments employing the architecture shown in
(21)
(22) The CDR circuit 200 may operate in a CDR mode and a PLL mode. In the CDR mode, the PD 210 is configured to detect a difference in phase between the data signal D.sub.IN and the oscillating signal CK.sub.OUT to generate the set of error signals {Seri}, which includes an up signal UP.sub.CDR and a down signal DN.sub.CDR. In the PLL mode, the PFD 220 is configured to detect a difference in phase between the reference clock signal CK.sub.R and the oscillating signal CK.sub.OUT to generate the set of error signals {S.sub.ER2}, which includes an up signal UP.sub.PLL and a down signal DN.sub.PLL. In the present embodiment, the CDR circuit 200 may further include a frequency divider 260, which is coupled between the oscillator 250 and the PFD 220. The frequency divider 260 can be configured to receive the oscillating signal CK.sub.OUT to generate a frequency-divided signal CK.sub.FB. As a result, the PFD 220 can be configured to receive the reference clock signal CK.sub.R and the frequency-divided signal CK.sub.FB to detect the difference in phase and frequency between the reference clock signal CK.sub.R and the oscillating signal CK.sub.OUT.
(23) For example, the PD 210 may generate the up signal UP.sub.CDR with a predetermined logic level when the oscillating signal CK.sub.OUT lags the data signal D.sub.IN, and generates the down signal DN.sub.CDR with a predetermined logic level when the oscillating signal CK.sub.OUT leads the data signal D.sub.IN. As another example, the PFD 220 may generate the up signal UP.sub.PLL with a predetermined logic level when the frequency-divided signal CK.sub.FB lags the reference clock signal CK.sub.R, and generates the down signal DN.sub.PLL with a predetermined logic level when the frequency-divided signal CK.sub.FB leads the reference clock signal CK.sub.R.
(24) The multiplexer circuit 230 is configured to output one of the up signal UP.sub.CDR and the up signal UP.sub.PLL as an up signal UP according to the selection signal S.sub.SEL, and output one of the down signal DN.sub.CDR and the down signal DN.sub.PLL as a down signal DN according to the selection signal S.sub.SEL. The up signal UP and the down signal DN outputted from the multiplexer circuit 230 can serve as at least a portion of the set of error signals {S.sub.ER}. For example, when the selection signal S.sub.SEL indicates that the CDR circuit 200 operates in the CDR mode, the multiplexer circuit 230 is configured to output the up signal UP.sub.CDR as the up signal UP, and output the down signal DN.sub.CDR as the down signal DN. When the selection signal S.sub.SEL indicates that the CDR circuit 200 operates in the PLL mode, the multiplexer circuit 230 is configured to output the up signal UP.sub.PLL as the up signal UP, and output the down signal DN.sub.PLL as the down signal DN.
(25) The conversion stage 240 is configured to convert the up signal UP and the down signal DN with a plurality of gains K.sub.P and K.sub.I, which can serve as an embodiment of the set of gains {G} shown in
(26) The conversion circuit 246 is configured to convert the up signal UP and the down signal DN with the gain K.sub.I to generate an input signal S.sub.IN1, which can serve as an embodiment of an input signal in the set of input signals {S.sub.IN} shown in
(27) In some embodiments where the gain K.sub.I has a same gain value in the PLL mode and the CDR mode, the gain value of the gain K.sub.P in the PLL mode (represented by K.sub.P_PLL) can be determined based on the gain value of the gain K.sub.P in the CDR mode (represented by K.sub.P_CDR) to achieve good stability of the CDR circuit 200 operating in the PLL mode. Consider an example where K.sub.P_PLL is designed to be M times greater than K.sub.P_CDR. Also, the gain K.sub.I can have a same gain value in the PLL mode and the CDR mode. A ratio of a stabilizing zero ω.sub.Z_PLL to a cutoff frequency ω.sub.−3dB_PLL of the CDR circuit 200 operating in the PLL mode can be determined by the following expression:
(28)
where N represents a division factor of the frequency divider 260. As a result, M can be determined according to the gain value of the gain K.sub.P in the CDR mode, the division factor of the frequency divider 260, and the ratio of the stabilizing zero ω.sub.Z_PLL to the cutoff frequency ω.sub.−3dB_PLL. For example, the ratio of the stabilizing zero ω.sub.Z_PLL to the cutoff frequency ω.sub.−3dB_PLL can be designed to be 1:R to achieve good PLL stability. M can be determined by the following expression:
(29)
wherein K.sub.P_CDR can be designed according to a predetermined CDR loop bandwidth. As K.sub.P_CDR can be set to provide a sufficient CDR loop bandwidth, and R can be set to provide good PLL stability, the CDR circuit 200 can have good operating performance not only in the CDR mode but also in the PLL mode.
(30) The oscillator 250, coupled to the conversion circuits 242 and 246, is configured to generate the oscillating signal CK.sub.OUT according to the input signals S.sub.INP and S.sub.IN1. In the present embodiment, when the CDR circuit 200 operates in the CDR mode, the multiplexer circuit 230 and the conversion circuit 242 may form at least a portion of a proportional path between the PD 210 and the oscillator 250. Also, the multiplexer circuit 230 and the conversion circuit 246 may form at least a portion of an integral path between the PD 210 and the oscillator 250. Similarly, when the CDR circuit 200 operates in the PLL mode, the multiplexer circuit 230 and the conversion circuit 242 may form at least a portion of a proportional path between the PFD 220 and the oscillator 250. The multiplexer circuit 230 and the conversion circuit 246 may form at least a portion of an integral path between the RFD 220 and the oscillator 250.
(31) In operation, when the CDR circuit 200 operates in the PLL mode, the up signal UP and the down signal DN outputted from the multiplexer circuit 230 may come from the up signal UP.sub.PLL and the down signal DN.sub.PLL, respectively. The conversion circuit 246, included in the integral path for coarse tuning, can convert the up signal UP and the down signal DN with the gain K.sub.T to generate the input signal S.sub.IN1. The conversion circuit 242, included in the proportional path for fine tuning, can convert the up signal UP and the down signal DN with the gain K.sub.P to generate the input signal S.sub.INP. The oscillator 250 may output the oscillating signal CK.sub.OUT according to the input signals S.sub.INP and S.sub.IN1. The frequency divider 260 may generate the frequency-divided signal CK.sub.FB according to the oscillating signal CK.sub.OUT. The PFD 220 may compare the frequency-divided signal CK.sub.FB with the reference clock signal CK.sub.R to update the up signal UP.sub.PLL and the down signal DN.sub.BLF.
(32) After the oscillating signal CK.sub.OUT is locked to the reference clock signal CK.sub.R, signal level or signal pattern of the selection signal Sari, may change to indicate that the CDR circuit 200 operates in the CDR mode. The up signal UP and the down signal DN outputted from the multiplexer circuit 230 may come from the up signal UP.sub.CDR and the down signal DN.sub.CDR, respectively. The conversion circuit 242 may convert the up signal UP and the down signal DN with the gain K.sub.P to generate the input signals S.sub.INP, wherein the gain value of the gain K.sub.P in the CDR mode is different from that in the PLL mode. The conversion circuit 246 may convert the up signal UP and the down signal DN with the gain K.sub.I to generate the input signals S.sub.IN1, wherein the gain value of the gain K.sub.I is kept constant for both of the CDR mode and the PLL mode. Next, the oscillator 250 may receive the input signals S.sub.INP and S.sub.IN1, outputted from the conversion circuits 242 and 246 respectively, to generate the oscillating signal CK.sub.OUT. The PD 210 may compare the oscillating signal CK.sub.OUT with the data signal D.sub.IN to update the up signal UP.sub.CDR and the down signal DN.sub.CDR. In the present embodiment, the PD 210 may sample different quadrature phases of the oscillating signal CK.sub.OUT at each data edge of the data signal D.sub.IN, thereby detecting the difference in phase between the data signal D.sub.IN and the oscillating signal CK.sub.OUT. By way of example but not limitation, the PD 210 may be implemented using a bang-bang phase detector, which can sample four quadrature phases I+, I−, Q+ and Q− of the oscillating signal CK.sub.OUT at each data edge of the data signal D.sub.IN.
(33) It is worth noting that, when the CDR circuit 200 operates in the CDR mode, at least one of the PFD 220 and the frequency divider 260 may be kept functionally inactive. Additionally, or alternatively, the PD 210 may be kept functionally inactive when the CDR circuit 200 operates in the PLL mode. With the use of the conversion circuits 242 and 246 shared by the CDR mode and the PLL mode, the CDR circuit 200 can have a simplified design, a relatively small circuit area and reduced manufacturing costs.
(34) The above circuit implementations are provided for illustrative purposes, and are not intended to limit the scope of the present disclosure. Iii some embodiments, the PD 210 can be implemented using other types of phase sensitive detectors. In some embodiments, the conversion circuit 242 can be implemented using other types of variable-gain conversion circuits. In some embodiments, the conversion circuit 246 can be implemented using other types of conversion circuits capable of provide a same gain value for both of the CDR mode and the PLL mode. Associated modifications and alternatives fall within the contemplated scope of the present disclosure.
(35) In the embodiment shown in
(36) The synchronization circuit 332 is configured to sample the selection signal S.sub.SEL according to the reference clock signal CK.sub.R, and accordingly generate an enable signal S.sub.EN. For example, the synchronization circuit 332 may sample the selection signal S.sub.SEL at a signal edge of the reference clock signal CK.sub.R, and generate the enable signal S.sub.EN at another signal edge of the reference clock signal CK.sub.R, which occurs after the signal edge of the reference clock signal CK.sub.R. As another example, the synchronization circuit 332 may sample the selection signal S.sub.SEL at a first signal edge of the reference clock signal CK.sub.R, and generate the enable signal S.sub.EN at a second signal edge of the reference clock signal CK.sub.R different from the first signal edge. One of the first signal edge and the second signal edge may be a rising edge of the reference clock signal CK.sub.R, and the other of the first signal edge and the second signal edge may a falling edge of the reference clock signal CK.sub.R.
(37) The selection circuit 334, coupled to the synchronization circuit 332, is configured to selectively output the set of error signals {S.sub.ER1} or the set of error signals {S.sub.ER2} as the set of error signals {S.sub.ER} according to the enable signal S.sub.EN. In the present embodiment, the selection circuit 334 may include a plurality of multiplexers 336 and 338. The multiplexer 336 is configured to selectively output one of the up signal UP.sub.CDR and the up signal UP.sub.PLL as the up signal UP according to the enable signal S.sub.EN. The up signal UP generated by the multiplexer 336 may serve as a control signal provided for the oscillator 250. The multiplexer 336 can be configured to increase a frequency of the oscillator 250 according to the control signal, i.e. the up signal UP. Similarly, the multiplexer 338 is configured to selectively output one of the down signal DN.sub.CDR and the down signal DN.sub.PLL as the down signal DN according to the enable signal S.sub.EN. The down signal DN generated by the multiplexer 338 may serve as another control signal provided for the oscillator 250. The multiplexer 338 can be configured to decrease the frequency of the oscillator 250 according to the another control signal, i.e. the down signal DN.
(38)
(39) At time t0, the selection signal S.sub.SEL may transition from a low level to a high level, which indicates that the CDR circuit 200 is switched to the CDR mode. Next, the synchronization circuit 332 can sample the selection signal S.sub.SEL at a rising edge of the reference clock signal CK.sub.R, i.e. at time t1. At a falling edge of the reference clock signal CK.sub.R which occurs after time t1, the synchronization circuit 332 can generate the enable signal S.sub.EN to trigger the signal selection of the multiplexers 336 and 338. For example, at time t2, the enable signal S.sub.EN may transition from a low level to a high level. After time t2, the multiplexer 336 can output the up signal UP.sub.CDR as the up signal UP according to the enable signal S.sub.EN, and the multiplexer 338 can output the down signal DN.sub.CDR as the down signal DN according to the enable signal S.sub.EN.
(40)
(41) Referring to
(42) With the use of the proposed multiplexing scheme, signal selection can be synchronized with a clock signal, such as a reference clock signal for triggering a phase frequency detector employed for a phase-locked loop, to thereby reduce glitches induced during the signal selection.
(43) The foregoing outlines features of several embodiments so that those skilled in the art may better understand the aspects of the present disclosure. Those skilled in the art should appreciate that they may readily use the present disclosure as a basis for designing or modifying other processes and structures for carrying out the same purposes and/or achieving the same advantages of the embodiments introduced herein. Those skilled in the art should also realize that such equivalent constructions do not depart from the spirit and scope of the present disclosure, and that they may make various changes, substitutions, and alterations herein without departing from the spirit and scope of the present disclosure.