CDR circuit that automatically corrects VCO gain at power-on
By introducing a process deviation detection circuit and an automatic correction mechanism of variable capacitance into the CDR circuit, the stability problem of VCO gain caused by process and environmental changes is solved, the signal jitter performance is improved, and the resistance to temperature, voltage and process changes is achieved. Gain correction.
Patent Information
- Application Number
- CN202410757568.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-06-13
AI Technical Summary
In CDR circuits, VCO gain changes in stability and bandwidth due to changes in process, power supply voltage, and temperature, resulting in increased data jitter, and existing technology has not been able to effectively improve it.
A CDR circuit is designed that automatically corrects the VCO gain when it is powered on. It automatically determines the gain and bandwidth deviation of the VCO through the process deviation detection circuit, adjusts the VCO gain through the access of the variable capacitor, and uses the mirror variable capacitor and comparator to detect Capacitor value, select an appropriate variable capacitor to correct the VCO gain.
It effectively eliminates the VCO gain difference, improves the jitter performance of the CDR circuit output signal, and adapts to changes in gain and bandwidth under different process conditions.
Smart Images

Figure CN118337203B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of integrated circuits, and in particular to a CDR circuit for automatically correcting VCO gain upon power-on. Background Art
[0002] Clock Data Recovery (CDR) circuits are used in high-speed interconnect chips. After the data signal is attenuated by the channel, the quality of the data signal has been seriously distorted, and the bit error rate of the data signal has greatly increased. This requires the CDR circuit to recover the data signal and clock signal and send them to the lower-level module after shaping to improve the signal quality.
[0003] CDR circuit is an electronic circuit used to extract and reconstruct clock signals from input data streams. CDR circuit plays an important role in communication systems, storage systems and high-speed data transmission.
[0004] The CDR circuit mainly includes the following steps: (1) Phase-locking process: CDR circuits often use phase-locked loops to lock the frequency and phase of the input data stream and generate a clock signal synchronized with the data stream. (2) Data sampling: The input data is sampled using the recovered clock signal to extract the accurate data signal. (3) Error detection and correction: By detecting the phase error between the clock and data, the clock is adjusted to ensure that the sampling point is aligned with the center of the data, thereby minimizing the bit error rate.
[0005] Figure 1 A schematic diagram showing the role of the CDR circuit between the front-end chip and the back-end chip. In order to prevent the signal transmission quality from deteriorating, a CDR circuit is inserted between the front-end chip and the back-end chip to restore and shape the signal waveform and improve the signal quality.
[0006] The CDR circuit includes a voltage-controlled oscillator (VCO), which is affected by changes in process, power supply voltage and temperature, causing the VCO gain to change or differ, thereby affecting the stability and bandwidth of the CDR circuit, increasing data jitter and reducing the bit error rate during data recovery.
[0007] Currently, there is no good method for improving data jitter in CDR circuits in the prior art. Summary of the invention
[0008] In order to alleviate or partially alleviate the above technical problems, the solution of the present invention is as follows:
[0009] A CDR circuit for automatically correcting a VCO gain upon power-up, comprising: a VCO, wherein the VCO comprises n variable capacitors, namely: a first variable capacitor to an nth variable capacitor, wherein the i-th variable capacitor is any one of the n variable capacitors, wherein n is a positive integer, and i is any positive integer from 1 to n; a process deviation detection circuit, wherein the process deviation detection circuit comprises n circuit units, namely: a first circuit unit to an n-th circuit unit; wherein the circuit structures of the n circuit units are all the same, and the i-th circuit unit comprises an i-th mirror variable capacitor and an i-th comparator, wherein the i-th mirror variable capacitor is the same in specification as the i-th variable capacitor in the VCO; wherein the process deviation detection circuit comprises n circuit units, namely: a first circuit unit to an n-th circuit unit; wherein the circuit structures of the n circuit units are all the same, and the i-th circuit unit comprises an i-th mirror variable capacitor and an i-th comparator, and ... process deviation detection circuit comprises n circuit units, namely: a first circuit unit to an n-th circuit unit; wherein the process deviation detection circuit comprises n circuit units, namely: a first circuit unit The difference detection circuit is connected to the VCO and outputs information indicating the selected variable capacitor to the VCO; according to the information indicating the selected variable capacitor, the VCO connects the selected variable capacitor to the VCO; in addition, when the CDR circuit is powered on, the i-th mirror variable capacitor is charged with a constant current within a preset time, and the voltage of the i-th mirror variable capacitor and the reference voltage are used as inputs of the i-th comparator, the i-th comparator outputs the i-th comparator output signal, and the process deviation detection circuit obtains a total of n comparator output signals; according to the n comparator output signals, the process deviation detection circuit determines one of the n variable capacitors as the selected variable capacitor.
[0010] Further, from the capacitance value of the first variable capacitor to the capacitance value of the nth variable capacitor, the capacitance values decrease or increase in sequence.
[0011] Furthermore, before charging the i-th mirror variable capacitor with a constant current within a preset time period, the i-th mirror variable capacitor is first discharged.
[0012] Further, if the jth comparator output signal among the n comparator output signals is the last comparator output signal to flip, the jth variable capacitor is selected as the selected variable capacitor; wherein j is a positive integer and j is not greater than n.
[0013] Furthermore, the CDR circuit also includes a phase detector, a charge pump, a low-pass filter and a sampling circuit; the data signal received by the CDR circuit and the clock signal output by the VCO are sent to the phase detector, the phase detector outputs an error signal to the charge pump, and the output signal of the charge pump is filtered by the low-pass filter to generate a control signal which is sent to the VCO; the data signal and the clock signal output by the VCO are also sent to the sampling circuit to obtain recovered data.
[0014] Furthermore, the constant current is provided by a current source.
[0015] The technical solution of the present invention has one or more of the following beneficial technical effects:
[0016] (1) A technical solution is provided to eliminate VCO gain differences against changes in temperature, voltage, process, etc.
[0017] (2) Improve the jitter performance of the CDR circuit output signal.
[0018] In addition, other beneficial effects of the present invention will be mentioned in the specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a schematic diagram of the role played by the CDR circuit between the front-stage chip and the back-stage chip;
[0020] Figure 2 This is the circuit diagram of the VCO;
[0021] Figure 3 is a system block diagram of the CDR circuit of the present invention;
[0022] Figure 4 is a circuit structure diagram of a process deviation detection circuit;
[0023] Figure 5 is a waveform diagram of output signals of n comparators in the first chip according to the present invention;
[0024] Figure 6 4 is a waveform diagram of output signals of n comparators in the second chip according to the present invention. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0026] In order to clearly describe the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, words such as "first" and "second" are used to distinguish the same or similar items with substantially the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order.
[0027] The CDR circuit of the present invention includes a VCO, and the VCO includes n variable capacitors, namely: a first variable capacitor to an nth variable capacitor. Without loss of generality, the i-th variable capacitor is any one of the n variable capacitors, n is a positive integer, and i is any positive integer from 1 to n.
[0028] Figure 2is a circuit diagram of a VCO in an example. The VCO includes variable capacitors V0, V1, V2, ..., and Vn, as well as inductors and transconductance devices, where n is a positive integer. In addition, the access of variable capacitors 1, 2, ..., and n in the VCO can be controlled by switches S11, S21, S12, S22, ..., S1n, and S2n, and the variable capacitor V0 is a capacitor fixedly connected to the VCO.
[0029] The gain of the VCO is mainly determined by the size and connection of the variable capacitor. The more variable capacitors are connected, the greater the gain of the VCO, which can be used to quantitatively and directionally adjust the gain and bandwidth of the CDR circuit to adapt to the impact of changes in the gain and bandwidth of the CDR circuit due to manufacturing deviations under different processes.
[0030] Figure 3 The system block diagram of the CDR circuit of the present invention is shown. The data signal received by the CDR circuit and the clock signal output by the voltage-controlled oscillator are sent to the phase detector, and the phase detector outputs an error signal to the charge pump. The output signal of the charge pump is filtered by a low-pass filter, and the generated control signal is sent to the voltage-controlled oscillator. The data signal and the clock signal output by the voltage-controlled oscillator are also sent to the sampling circuit to obtain the recovered data.
[0031] Furthermore, the CDR circuit also includes a process deviation detection circuit. When the CDR circuit is powered on, the process deviation detection circuit automatically determines whether the gain and bandwidth of the CDR circuit have deviations, and quantitatively determines the direction and magnitude of the change in the gain and bandwidth of the CDR circuit.
[0032] The process deviation detection circuit is used to determine the deviation between the actual parameters of the CDR circuit and the design values, so as to control the access status of the variable capacitors V1 to Vn of the VCO.
[0033] In the present invention, the process deviation detection circuit is connected to the VCO and outputs information indicating the selected variable capacitor to the VCO. According to the information indicating the selected variable capacitor, the VCO connects the selected variable capacitor to the VCO. The selected variable capacitor is one of the n variable capacitors in the VCO. How to obtain the selected variable capacitor will be described later.
[0034] Figure 4 The circuit structure diagram of the process deviation detection circuit is shown. The process deviation detection circuit includes n circuit units, namely: a first circuit unit to an nth circuit unit. Figure 4 The first circuit unit and the nth circuit unit are shown in detail, where n is a positive integer. In addition, the circuit structures of the n circuit units are the same.
[0035] Without loss of generality, the i-th circuit unit (not shown) includes the i-th mirror variable capacitor, the i-th current source and the i-th comparator, and the i-th mirror variable capacitor is the same as the i-th variable capacitor in the VCO in terms of specifications; wherein i is any positive integer from 1 to n. The specific structure of the i-th circuit unit is the same as that of the first single-channel unit and the n-th circuit unit, and will not be repeated here.
[0036] For example, the first circuit unit includes: a first current source, a switch T11, a mirror variable capacitor C1, a switch T21 and a first comparator. The first current source can be connected to the first end of the mirror variable capacitor C1 through the switch T11, and the second end of the mirror variable capacitor C1 is grounded. The switch T21 is connected across the first end of the mirror variable capacitor C1 and the second end of the mirror variable capacitor C1. The first end of the mirror variable capacitor C1 is connected to the first input end of the first comparator, the second input end of the first comparator is connected to the reference voltage, and the comparison result output by the first comparator is the first comparator output signal.
[0037] For example, the nth circuit unit includes: an nth current source, a switch T1n, a mirror variable capacitor Cn, a switch T2n and an nth comparator. The nth current source can be connected to the first end of the mirror variable capacitor Cn through the switch T1n, and the second end of the mirror variable capacitor Cn is grounded. The switch T2n is connected across the first end of the mirror variable capacitor Cn and the second end of the mirror variable capacitor Cn. The first end of the mirror variable capacitor Cn is connected to the first input end of the nth comparator, the second input end of the nth comparator is connected to the reference voltage, and the comparison result output by the nth comparator is the nth comparator output signal.
[0038] Without loss of generality, the i-th circuit unit (not shown) includes: an i-th current source, a switch T1i, a mirror variable capacitor Ci, a switch T2i and a comparator i. The i-th current source can be connected to the first end of the mirror variable capacitor Ci through the switch T1i, and the second end of the mirror variable capacitor Ci is grounded. The switch T2i is connected across the first end of the mirror variable capacitor Ci and the second end of the mirror variable capacitor Ci. The first end of the mirror variable capacitor Ci is connected to the first input end of the comparator i, the second input end of the comparator i is connected to the reference voltage, and the comparison result output by the comparator i is the i-th comparator output signal. Wherein, i is any positive integer from 1 to n.
[0039] The first time period is a time period prior to the second time period. In the first time period, the mirror variable capacitors C1 to Cn are discharged by turning off the switches T11 to T1n and turning on the switches T21 to T2n. In the second time period, the mirror variable capacitors C1 to Cn are charged by turning off the switches T21 to T2n and turning on the switches T11 to T1n.
[0040] In the present invention, the variable capacitor V1 and the mirror variable capacitor C1 have the same size. Specifically, the variable capacitor V1 and the mirror variable capacitor C1 can be manufactured with the same size and specification. Similarly, the variable capacitor V2 and the mirror variable capacitor C2 have the same size, ..., the variable capacitor Vn and the mirror variable capacitor Cn have the same size.
[0041] The mirror variable capacitors C1 to Cn are charged by the reliable constant current output by the first current source to the nth current source. If the voltage of a variable capacitor exceeds the reference voltage after the second time period, the output signal of the corresponding comparator will be reversed. The present invention will use this reversal information to obtain the selected variable capacitor.
[0042] When the CDR circuit is powered on, the i-th mirror variable capacitor is charged with a constant current within a preset time, and the voltage of the i-th mirror variable capacitor and the reference voltage are used as inputs of the i-th comparator, and the i-th comparator outputs the i-th comparator output signal. The process deviation detection circuit can obtain a total of n comparator output signals.
[0043] Figure 5 : is a waveform diagram of n comparator output signals in the first chip according to the present invention. The first chip includes Figure 2 The VCO shown in Figure 4 The first chip and the second chip are both finished chips including CDR circuits.
[0044] During the power-on process of the first chip and the VCO, the n comparators output comparison results according to the magnitude relationship between the voltage value of the first end of the mirror variable capacitor C1 charged in the second time period to the voltage value of the first end of the mirror variable capacitor Cn and the reference voltage value, wherein the second time period has a preset duration.
[0045] In the example, the output signal of the sixth comparator in the first chip is flipped, while the output signal of the fifth comparator is not flipped.
[0046] Figure 6 is a waveform diagram of n comparator output signals in the second chip according to the present invention. The first chip also includes Figure 2 The VCO shown in Figure 4 However, due to the deviation of chip manufacturing process, based on the same first current source to nth current source outputting currents with the same current value and the same length of second time period, the output signal of the sixth comparator in the second chip did not flip, but only started to flip from the output signal of the eighth comparator.
[0047] In other words, the mirror variable capacitor C6 and variable capacitor V6 corresponding to the 6th comparator in the first chip and the mirror variable capacitor C8 and variable capacitor V8 corresponding to the 8th comparator in the second chip are closest in capacitance value and can be considered equal.
[0048] In the present invention, preferably, if the jth comparator output signal among the n comparator output signals is the last comparator output signal to flip, the jth variable capacitor is selected as the selected variable capacitor; wherein j is a positive integer and j is not greater than n.
[0049] Preferably, in the first chip, the variable capacitor V6 corresponding to the last flipped 6th comparator in the VCO can be used as the selected variable capacitor and connected to the VCO. Specifically, it can be done by turning on switch S16 and switch S26. In the second chip, the variable capacitor V8 corresponding to the last flipped 8th comparator in the VCO can be used as the selected variable capacitor and connected to the VCO. Specifically, it can be done by turning on switch S18 and switch S28.
[0050] Preferably, from the variable capacitor V1 to the variable capacitor Vn, the capacitance values decrease or increase in sequence. Figure 5 and Figure 6 is an example of decreasing capacitance values.
[0051] Correspondingly, from the mirror variable capacitor C1 to the mirror variable capacitor Cn, the capacitance values decrease or increase in sequence.
[0052] Based on this, although there are differences between the first chip and the second chip in manufacturing or in the environments in which they are located, the above solution can ensure that the gain of the VCO is corrected when it is powered on.
[0053] Furthermore, the length of the second time period is the same each time each chip is powered on.
[0054] Furthermore, the current values of the currents outputted by the first current source to the nth current source of each chip are all equal.
[0055] In order to better illustrate the present invention, numerous specific details are provided in the above specific embodiments. It should be understood by those skilled in the art that the present invention can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present invention.
[0056] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A CDR circuit that automatically corrects VCO gain at power-on. It is characterized in that include: The VCO includes n variable capacitors, which are: a first variable capacitor to an nth variable capacitor, the i-th variable capacitor is any one of the n variable capacitors, n is a positive integer, and i is any positive integer from 1 to n; A process deviation detection circuit, the process deviation detection circuit comprising n circuit units, namely: a first circuit unit to an nth circuit unit; wherein the circuit structures of the n circuit units are the same, and the i-th circuit unit comprises an i-th mirror variable capacitor and an i-th comparator, and the i-th mirror variable capacitor is the same as the i-th variable capacitor in the VCO in terms of specifications; The process deviation detection circuit is connected to the VCO and outputs information indicating the selected variable capacitor to the VCO; according to the information indicating the selected variable capacitor, the VCO connects the selected variable capacitor to the VCO; When the CDR circuit is powered on, the i-th mirror variable capacitor is charged with a constant current within a preset time, and the voltage of the i-th mirror variable capacitor and the reference voltage are used as inputs of the i-th comparator, and the i-th comparator outputs the i-th comparator output signal, and the process deviation detection circuit obtains a total of n comparator output signals; The process deviation detection circuit determines one of the n variable capacitors as the selected variable capacitor according to the n comparator output signals; and From the capacitance value of the first variable capacitor to the capacitance value of the nth variable capacitor, the capacitance values decrease or increase in sequence; If the jth comparator output signal among the n comparator output signals is the last comparator output signal to flip, the jth variable capacitor is selected as the selected variable capacitor; wherein j is a positive integer and j is not greater than n.
2. The CDR circuit for automatically correcting VCO gain upon power-on according to claim 1, Features: Before charging the i-th mirror variable capacitor with a constant current within a preset time period, the i-th mirror variable capacitor is first discharged.
3. The CDR circuit for automatically correcting VCO gain upon power-on according to claim 2, Features: The CDR circuit also includes a phase detector, a charge pump, a low-pass filter and a sampling circuit; The data signal received by the CDR circuit and the clock signal output by the VCO are sent to the phase detector, and the phase detector outputs an error signal to the charge pump. The output signal of the charge pump is filtered by a low-pass filter, and the control signal generated is sent to the VCO; The data signal and the clock signal output by the VCO are also sent to a sampling circuit to obtain restored data.
4. The CDR circuit for automatically correcting VCO gain upon power-on according to claim 3, Features: The constant current is provided by a current source.
