A charging pump circuit, a frequency detector and a phase-locked loop circuit
By designing the charge pump circuit in the charge pump phase-locked loop and using the state transition signal to generate the output pulse signal, the problem of nonlinear static characteristics caused by the floating state of the pump circuit is solved, reducing the design difficulty of the control system and maintaining steady-state operation, ensuring improve system performance.
Patent Information
- Application Number
- CN202210004206.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-05
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2042-01-05
AI Technical Summary
The existing charge pump phase-locked loop causes the static characteristics of the frequency and phase detector to change nonlinearly due to the floating state of the pump circuit, which increases the difficulty of control system design and interferes with steady-state operation, affecting performance.
Design a charge pump circuit, including a first power supply module, a second power supply module, a three-state conversion module and a voltage divider module. The output pulse signal is generated through the state conversion signal to ensure that the three-state conversion module outputs positive direction at different access terminals. , negative or zero voltage to avoid the floating state of the pump circuit.
It effectively avoids the asymmetric impact on the control system when the pump circuit is suspended, reduces the design difficulty, maintains steady-state operation, and ensures the performance of the control system.
Smart Images

Figure CN114696597B
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of phase-locked loop technology, and in particular to a charge pump circuit, a frequency detector, and an improved phase-locked loop circuit. Background Art
[0002] At present, phase-locked loops, especially charge pump phase-locked loops, have been widely promoted and applied in the fields of electronic communications, motor control, data acquisition and new energy grid connection because of their many characteristics such as modulation, low threshold, frequency locking and carrier tracking.
[0003] For the existing general charge pump phase-locked loop, the input end of the loop filter is in a suspended state due to the pump circuit. This suspended state will cause the frequency detector to exhibit different dynamic characteristics at different working points, that is, the static characteristics of the frequency detector will show nonlinear changes. Based on this, applying the charge pump phase-locked loop to system control will have an asymmetric effect on the control system, which will not only increase the difficulty of control system design, but also interfere with the steady-state operation of the control system and affect the performance of the control system. Summary of the invention
[0004] The embodiments of the present invention provide a charging pump circuit, a frequency detector and a phase detector, and an improved phase-locked loop circuit to avoid the asymmetric impact of the pump circuit on the control system when the pump circuit is in a suspended state, which is beneficial to reducing the design difficulty of the control system, maintaining the steady-state operation of the control system, and ensuring the performance of the control system.
[0005] In a first aspect, an embodiment of the present invention provides a charge pump circuit, including a first power supply module, a second power supply module, a three-state conversion module, a first voltage division module, and a second voltage division module;
[0006] The positive electrode of the first power supply module is connected to the first end of the three-state conversion module, the negative electrode of the first power supply module is grounded, and the first power supply module is used to provide a forward voltage;
[0007] The positive electrode of the second power supply module is connected to the negative electrode of the first power supply module, the negative electrode of the second power supply module is connected to the third end of the three-state conversion module, and the second power supply module is used to provide a negative voltage;
[0008] The second end of the three-state conversion module is suspended, the output end of the three-state conversion module is connected between the first voltage divider module and the second voltage divider module, and the three-state conversion module is used to access the first end, the second end or the third end according to the state conversion signal to generate an output pulse signal;
[0009] The first voltage divider module is connected in parallel between the first end and the output end of the three-state conversion module, and the second voltage divider module is connected in parallel between the third end and the output end of the three-state conversion module. The first voltage divider module and the second voltage divider module are used to make the output end of the three-state conversion module output a zero voltage signal through voltage division when the output end of the three-state conversion module is connected to the second end.
[0010] Optionally, the absolute value of the negative voltage is equal to the forward voltage.
[0011] Optionally, the first voltage dividing module includes at least a first resistive element, and the second voltage dividing module includes at least a second resistive element;
[0012] The first resistive element and the second resistive element have the same resistance value, a first end of the first resistive element is connected to a first end of the three-state conversion module, a second end of the first resistive element is connected to an output end of the three-state conversion module, a first end of the second resistive element is connected to the output end of the three-state conversion module, and a second end of the second resistive element is connected to a third end of the three-state conversion module.
[0013] In a second aspect, an embodiment of the present invention further provides a frequency and phase detector, comprising a phase comparison module and any charge pump circuit described in the first aspect;
[0014] The phase comparison module is connected to the charge pump circuit, and the phase comparison module is used to generate the state conversion signal according to a reference signal and a feedback signal.
[0015] Optionally, there is a phase difference between the reference signal and the feedback signal.
[0016] Optionally, the state transition signal is a pulse sequence.
[0017] Optionally, a phase difference between the reference signal and the feedback signal is proportional to a pulse width of the state transition signal.
[0018] Optionally, when the rising edge or falling edge of the reference signal or the feedback signal arrives, the phase comparison module generates the state transition signal according to a preset transition rule;
[0019] The state conversion signal includes a first state conversion signal and a second state conversion signal.
[0020] Optionally, the preset conversion rule includes:
[0021] When the first state transition signal is at a low level, the second state transition signal is at a high level, and the rising edge of the reference signal arrives, the first state transition signal remains at a low level, and the second state transition signal is converted to a low level;
[0022] When the first state transition signal and the second state transition signal are both at low levels and the rising edge of the reference signal arrives, the first state transition signal is converted to a high level and the second state transition signal remains at a low level;
[0023] When the first state transition signal is at a high level, the second state transition signal is at a low level, and the rising edge of the feedback signal arrives, the first state transition signal is converted to a low level, and the second state transition signal remains at a low level;
[0024] When the first state conversion signal and the second state conversion signal are both at low levels and the rising edge of the feedback signal arrives, the first state conversion signal remains at a low level and the second state conversion signal converts to a high level.
[0025] In a third aspect, an embodiment of the present invention further provides an improved phase-locked loop circuit, comprising a loop filter, a voltage-controlled oscillator, and any frequency detector or phase detector as described in the second aspect;
[0026] The loop filter is connected in series between the output end of the tri-state conversion module and the voltage-controlled oscillator, and the loop filter is used to generate a voltage control signal according to the output pulse signal;
[0027] The voltage-controlled oscillator is used to adjust the frequency and phase of the feedback signal according to the voltage control signal, so that the frequencies and phases of the reference signal and the feedback signal are kept synchronized.
[0028] The technical solution provided by the embodiment of the present invention is that when the three-state conversion module is connected to the first end according to the state conversion signal, the first voltage divider module is short-circuited, and the output end of the three-state conversion module outputs a positive voltage; when the three-state conversion module is connected to the third end according to the state conversion signal, the second voltage divider module is short-circuited, and the output end of the three-state conversion module outputs a negative voltage; when the three-state conversion module is connected to the second end according to the state conversion signal, since the positive pole of the first power supply module and the negative pole of the second power supply module are grounded, under the voltage division effect of the first voltage divider module and the second voltage divider module, the output end of the three-state conversion module outputs a zero voltage signal. It can be seen that the embodiment of the present invention overcomes the defects of the existing frequency and phase detector that the static characteristics of the pump circuit are nonlinear due to a suspended state, thereby causing an asymmetric effect on the control system, increasing the design difficulty of the control system, interfering with the steady-state operation of the control system, and affecting the performance of the control system. It effectively avoids the asymmetric effect of the pump circuit on the control system in the suspended state, which is conducive to reducing the design difficulty of the control system, maintaining the steady-state operation of the control system, and ensuring the performance of the control system. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 is a structural diagram of a frequency and phase detector provided by an embodiment of the present invention;
[0030] Figure 2 is a state transition diagram of a frequency and phase detector provided by an embodiment of the present invention;
[0031] Figure 3 It is a connection circuit diagram of a pump circuit and a passive low-pass filter provided by an embodiment of the present invention;
[0032] Figure 4 Schematic diagram of static characteristics of a frequency and phase detector provided by an embodiment of the present invention;
[0033] Figure 5 is a structural schematic diagram of a charging pump circuit provided by an embodiment of the present invention;
[0034] Figure 6 is a structural schematic diagram of another charging pump circuit provided by an embodiment of the present invention;
[0035] Figure 7 is a structural schematic diagram of another charging pump circuit provided by an embodiment of the present invention;
[0036] Figure 8 is a structural schematic diagram of another charging pump circuit provided by an embodiment of the present invention;
[0037] Fig. 9 is a structural schematic diagram of another charging pump circuit provided by an embodiment of the present invention;
[0038] Fig.10 1 is a schematic diagram of the structure of a frequency and phase detector provided by an embodiment of the present invention;
[0039] Fig.11 It is a schematic diagram of front-end and back-end signal transmission of a frequency and phase detector provided by an embodiment of the present invention;
[0040] Fig.12 is a static phase detection characteristic diagram of a frequency and phase detector provided by an embodiment of the present invention;
[0041] Fig.13 1 is a schematic diagram of state transition of a frequency and phase detector provided by an embodiment of the present invention;
[0042] Fig.14 is a schematic structural diagram of an improved phase-locked loop circuit provided by an embodiment of the present invention;
[0043] Fig.15 Schematic diagram of front-end and back-end signal transmission of another frequency and phase detector provided by an embodiment of the present invention;
[0044] Fig.16The embodiment of the present invention provides a phase relationship diagram of a reference signal and a feedback signal input to a frequency detector and a phase detector, and an output pulse signal output by the frequency detector and phase detector within a certain period of time without limitation;
[0045] Fig.17 is an input-output characteristic diagram of a nonlinear function mod(x) provided in an embodiment of the present invention;
[0046] Fig.18 It is a relative error simulation diagram of a frequency detector-phase detector-charge pump circuit-RC integral filter mathematical model provided by an embodiment of the present invention;
[0047] Fig.19 It is the relative error simulation diagram of the existing linear phase-discrimination model;
[0048] Fig. 20 It is a relative error simulation diagram of another frequency detector-phase detector-charge pump circuit-RC integral filter mathematical model provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0049] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0050] Generally speaking, the existing general charge pump phase-locked loop is composed of a frequency detector, a loop filter and a voltage-controlled oscillator, wherein the frequency detector is composed of a phase comparator and a pump circuit. Specifically, Figure 1 is a structural diagram of a frequency and phase detector provided by an embodiment of the present invention, Figure 2 is a state transition diagram of a frequency detector and phase detector provided by an embodiment of the present invention. Figure 1 and Figure 2 The phase comparator is based on the input pulse signal. Figure 2 The state transition diagram outputs different combinations of U and D. In addition, since the pump circuit can be equivalent to a three-state electronic switch, the output of the pump circuit is +V corresponding to the three combinations of U and D (10), (00) and (01). p , floating and -V p .
[0051] However, the inventors have found that since the pump circuit is in a suspended state, when a passive low-pass filter is connected to the pump circuit, a nonlinear phase-locking characteristic will result. Specifically, Figure 3 1 is a connection circuit diagram of a pump circuit and a passive low-pass filter provided by an embodiment of the present invention. Figure 3 When the three-state electronic switch is in positions 1 and 3, the pump circuit has a certain output, which is +Vp and -V p However, when the three-state electronic switch is in position 2, since the input terminal of the passive filter is suspended, the voltage V on the capacitor C c will remain unchanged, and the output of the pump circuit can be equivalent to V c Based on this, the average output voltage V PFD The relationship with the phase error θ can be expressed as:
[0052]
[0053] Since V c It changes continuously during the operation of the phase-locked loop, so equation (1) is a nonlinear equation. Based on this, Figure 4 is a schematic diagram of the static characteristics of a frequency and phase detector provided by an embodiment of the present invention, see Figure 4 , the frequency detector is characterized by different dynamic characteristics at different working points, that is, its static characteristics show nonlinear changes. It can be seen that using the frequency detector for system control will have an asymmetric effect on the control system, which will not only increase the difficulty of control system design, but also interfere with the steady-state operation of the control system and affect the performance of the control system.
[0054] In response to the above problems, Figure 5 Schematic diagram of a charging pump circuit provided by an embodiment of the present invention. Figure 5 As shown, the charge pump circuit 100 includes a first power supply module 110 , a second power supply module 120 , a three-state conversion module 130 , a first voltage division module 140 and a second voltage division module 150 .
[0055] The positive electrode of the first power supply module 110 is connected to the first end S1 of the three-state conversion module 130, the negative electrode of the first power supply module 110 is grounded, and the first power supply module 110 is used to provide a positive voltage. The positive electrode of the second power supply module 120 is connected to the negative electrode of the first power supply module 110, the negative electrode of the second power supply module 120 is connected to the third end S3 of the three-state conversion module 130, and the second power supply module 120 is used to provide a negative voltage. The second end S2 of the three-state conversion module 130 is suspended, and the output end of the three-state conversion module 130 is connected between the first voltage divider module 140 and the second voltage divider module 150. The three-state conversion module 130 is used to access the first end S1, the second end S2 or the third end S3 according to the state conversion signal to generate an output pulse signal. The first voltage divider module 140 is connected in parallel between the first end S1 and the output end of the three-state conversion module 130, and the second voltage divider module 150 is connected in parallel between the third end S3 and the output end of the three-state conversion module 130. The first voltage divider module 140 and the second voltage divider module 150 are used to make the output end of the three-state conversion module 130 output a zero voltage signal through voltage division when the output end of the three-state conversion module 130 is connected to the second end S2.
[0056] In order to realize that when the output end of the three-state conversion module 130 is connected to the second end S2, the output end of the three-state conversion module 130 outputs a zero voltage signal, the positive voltage provided by the first power supply module 110 and the negative voltage provided by the second power supply module 120, as well as the resistance values of the first voltage divider module 140 and the second voltage divider module 150 need to be strictly equal in value. Based on this, optionally, the absolute value of the negative voltage is equal to the positive voltage. It can be understood that the absolute values of the positive voltage and the negative voltage can be any voltage value. For example, the absolute values of the positive voltage and the negative voltage can be 1.5V, etc.
[0057] It can be known that the state conversion signal is used to control the three-state conversion module 130 to adaptively access the first end S1, the second end S2 or the third end S3, thereby generating three different output pulse signals. It can be understood that the state conversion signal can be but not limited to a digital signal, for example, a pulse signal. In addition, the transmission mode of the state conversion signal and the output pulse signal can be but not limited to wired transmission.
[0058] Exemplarily, the working principle of the charge pump circuit 100 provided in this embodiment is specifically as follows:
[0059] When the three-state conversion module 130 is connected to the first terminal S1 according to the state conversion signal, since the positive electrode of the first power supply module 110 is directly connected to the output terminal of the three-state conversion module 130 via the first terminal S1 of the three-state conversion module 130, the first voltage divider module 140 is in a short-circuit state. At this time, the electric energy is output from the positive electrode of the first power supply module 110, flows into the negative electrode of the second power supply module 120 through the first terminal S1 of the three-state conversion module 130, the output terminal of the three-state conversion module 130 and the second voltage divider module 150, and then the output terminal of the three-state conversion module 130 outputs a positive voltage.
[0060] When the three-state conversion module 130 is connected to the third terminal S3 according to the state conversion signal, the second voltage divider module 150 is in a short-circuit state because the negative electrode of the second power supply module 120 is directly connected to the output terminal of the three-state conversion module 130 via the third terminal S3 of the three-state conversion module 130. At this time, the electric energy is output from the positive electrode of the first power supply module 110, flows into the negative electrode of the second power supply module 120 through the first voltage divider module 140, the output terminal of the three-state conversion module 130 and the third terminal S3 of the three-state conversion module 130, and then the output terminal of the three-state conversion module 130 outputs a negative voltage.
[0061] When the three-state conversion module 130 is connected to the second terminal S2 according to the state conversion signal, the electric energy is output from the positive electrode of the first power supply module 110, and flows into the negative electrode of the second power supply module 120 through the first voltage divider module 140, the output terminal of the three-state conversion module 130 and the second voltage divider module 150. At this time, since the positive electrode of the first power supply module 110 and the negative electrode of the second power supply module 120 are grounded, and the resistance values of the first voltage divider module 140 and the second voltage divider module 150 are strictly equal, under the voltage division effect of the first voltage divider module 140 and the second voltage divider module 150, the output terminal potential of the three-state conversion module 130 is zero, that is, a zero voltage signal is output.
[0062] It can be seen from this that the embodiments of the present invention can solve the problem that the static characteristics of the existing frequency and phase detectors show nonlinear changes due to the suspended state of the pump circuit, which in turn produces an asymmetric effect on the control system, increases the design difficulty of the control system, interferes with the steady-state operation of the control system, and affects the performance of the control system. By setting the first voltage divider module and the second voltage divider module with strictly equal resistance values, and the absolute value of the negative voltage is equal to the positive voltage, the pump circuit is no longer suspended, which effectively avoids the asymmetric effect on the control system caused by the pump circuit in the suspended state, which is conducive to reducing the design difficulty of the control system, maintaining the steady-state operation of the control system, and ensuring the performance of the control system.
[0063] Based on the above embodiments, the specific configuration of the first voltage dividing module 140 and the second voltage dividing module 150 is described below, but it is not intended to limit the present invention. Figure 6 FIG. 1 is a schematic diagram of the structure of another charging pump circuit provided by an embodiment of the present invention. Figure 6 As shown, optionally, the first voltage dividing module 140 includes at least a first resistive element 141 , and the second voltage dividing module 150 includes at least a second resistive element 151 .
[0064] The first resistive element 141 and the second resistive element 151 have the same resistance value, a first end of the first resistive element 141 is connected to the first end S1 of the three-state conversion module 130, a second end of the first resistive element 141 is connected to the output end of the three-state conversion module, a first end of the second resistive element 151 is connected to the output end of the three-state conversion module, and a second end of the second resistive element 151 is connected to the third end S3 of the three-state conversion module.
[0065] in, Figure 6The charging pump circuit shown in the figure exemplarily shows that the first voltage divider module 140 includes a first resistive element 141, and the second voltage divider module 150 includes a second resistive element 151, and the first resistive element 141 and the second resistive element 151 can be, but are not limited to, resistors. It can be seen that when the resistance values of the first resistive element 141 and the second resistive element 151 are the same, the resistance values of the first voltage divider module 140 and the second voltage divider module 150 are the same. Based on this, when the three-state conversion module 130 is connected to the second end S2 according to the state conversion signal, under the common voltage division of the first voltage divider module 140 and the second voltage divider module 150, the output end of the three-state conversion module 130 adaptively outputs a zero voltage signal, so that the pump circuit no longer exists in a suspended state, effectively avoiding the asymmetric effect on the control system when the pump circuit is in a suspended state, which is conducive to reducing the design difficulty of the control system, maintaining the steady-state operation of the control system, and ensuring the performance of the control system.
[0066] It is understandable that the first voltage dividing module 140 and the second voltage dividing module 150 may also include a plurality of resistive elements having parameters such as resistance value, quantity or connection relationship that are not completely the same, which are specifically described below:
[0067] For example, Figure 7 FIG. 1 is a schematic diagram of the structure of another charging pump circuit provided by an embodiment of the present invention. Figure 7 As shown, the first voltage divider module 140 may include a resistor R1 and a resistor R2 connected in series, and the second voltage divider module 150 may include a resistor R3 and a resistor R4 connected in series, and the resistance values of the resistors R1, R2, R3, and R4 may all be 3Ω. In some embodiments, the resistance value of the resistor R1 may be 1Ω, the resistance value of the resistor R2 may be 4Ω, the resistance value of the resistor R3 may be 2Ω, and the resistance value of the resistor R4 may be 3Ω.
[0068] For example, Figure 8 FIG. 1 is a schematic diagram of the structure of another charging pump circuit provided by an embodiment of the present invention. Figure 8 As shown, the first voltage divider module 140 may include resistors R5, R6 and R7. After resistors R5 and R6 are connected in parallel, they are connected in series with resistor R7. The resistance values of resistors R5, R6 and R7 may all be 4Ω. The second voltage divider module 150 may include resistors R8, R9 and R10 connected in series. The resistance values of resistors R8, R9 and R10 may all be 2Ω.
[0069] For example, Fig. 9 FIG. 1 is a schematic diagram of the structure of another charging pump circuit provided by an embodiment of the present invention. Fig. 9As shown, the first voltage divider module 140 may include a resistor R11, a resistor R12 and a resistor R13. The resistors R11 and R12 are connected in parallel and then connected in series with the resistor R13. The resistance values of the resistors R11, R12 and R13 may all be 2Ω. The second voltage divider module 150 may include a resistor R14. The resistance value of the resistor R14 may be 3Ω.
[0070] To summarize, regardless of whether the parameters such as the resistance value, quantity or connection relationship of the resistive elements included in the first voltage divider module and the second voltage divider module are the same, when the resistance values of the first voltage divider module and the second voltage divider module are the same, and the three-state conversion module is connected to the second end according to the state conversion signal, under the common voltage division of the first voltage divider module and the second voltage divider module, the output end of the three-state conversion module can adaptively output a zero voltage signal, so that the pump circuit is no longer in a suspended state, effectively avoiding the asymmetric impact of the pump circuit on the control system in the suspended state, which is conducive to reducing the design difficulty of the control system, maintaining the steady-state operation of the control system, and ensuring the performance of the control system.
[0071] Based on the above embodiments, Fig.10 Schematic diagram of the structure of a frequency and phase detector provided by an embodiment of the present invention. Fig.10 As shown, the phase frequency detector 300 includes a phase comparison module 200 and a charge pump circuit 100 according to any embodiment of the present invention. The phase comparison module 200 is connected to the charge pump circuit 100 and is used to generate a state transition signal according to a reference signal and a feedback signal.
[0072] Among them, the phase comparison module 200 can be but is not limited to a digital phase comparator. It can be known that the reference signal and the feedback signal can be digital signals. For example, the reference signal and the feedback signal can both be pulse signals. Optionally, there is a phase difference between the reference signal and the feedback signal, the state transition signal is a pulse sequence, and the phase difference between the reference signal and the feedback signal is proportional to the pulse width of the state transition signal. It can be understood that the output pulse signal generated by the three-state conversion module 130 according to the state transition signal, that is, the output signal of the frequency detector 300, can contain information such as the frequency error and phase error of the reference signal and the feedback signal. In addition, the reference signal can be generated by a pulse generator, and the feedback signal can be generated by a pulse sensor.
[0073] Based on this, illustratively, Fig.11 Schematic diagram of front-end and back-end signal transmission of a frequency detector and phase detector provided by an embodiment of the present invention. Fig.11 , analog reference signal ω i 'Converted into reference signal ω by pulse sensor i The analog feedback signal ω0' is converted into the feedback signal ω0 by the pulse generator, and the phase comparison module 200 is based on the input reference signal ω iThe charge pump circuit 100 generates the output pulse signal ω according to the state transition signals U' and D'. PFD Among them, the analog reference signal ω i ', analog feedback signal ω0' and output pulse signal ω PFD All are analog quantities, state transition signals U' and D', reference signal ω i And the feedback signal ω0 are all digital quantities.
[0074] Understandably, continue to see Figure 6 , the output equation of the charge pump circuit provided in the embodiment of the present invention is as follows:
[0075]
[0076] Wherein, V1 represents the output voltage of the charge pump circuit 100 when the three-state conversion module 130 is connected to the first terminal S1, V2 represents the output voltage of the charge pump circuit 100 when the three-state conversion module 130 is connected to the second terminal S2, V3 represents the output voltage of the charge pump circuit 100 when the three-state conversion module 130 is connected to the third terminal S3, V GND Represents the ground voltage, V p represents the output voltage of the first power supply module 110 .
[0077] Substituting equation (2) into equation (1), the output characteristic of the frequency detector and phase detector including the charge pump circuit provided by the embodiment of the present invention can be obtained as follows:
[0078] V PFD =k p θ(-2π≤θ≤2π) (3)
[0079] In the formula, k p =V p / 2π,k p is the phase gain of the frequency detector 300, θ represents the phase error, V PFD represents the average output voltage of the phase frequency detector 300.
[0080] According to formula (3), Fig.12 is a static phase characteristic diagram of a frequency and phase detector provided by an embodiment of the present invention, see Fig.12 It can be seen that the embodiment of the present invention eliminates the static phase-locking nonlinearity caused by the suspended state of the pump circuit, thereby effectively avoiding the asymmetric impact of the pump circuit on the control system in the suspended state, which is beneficial to reducing the design difficulty of the control system, maintaining the steady-state operation of the control system, and ensuring the performance of the control system.
[0081] Based on the above embodiments, the following describes the manner in which the phase comparison module 200 generates a state transition signal, but does not limit the present invention. Optionally, when the rising edge or falling edge of the reference signal or the feedback signal arrives, the phase comparison module 200 generates a state transition signal according to a preset conversion rule. The state transition signal includes a first state transition signal and a second state transition signal.
[0082] The preset conversion rule may be set by the initial setting of the phase comparison module 200, or may be set according to the specific application scenario of the phase frequency detector 300. It can be known that both the first state conversion signal and the second state conversion signal may be pulse sequences.
[0083] Specifically, taking the rising edge of the reference signal and the feedback signal as an example, see Figure 2 Optionally, the preset conversion rules include:
[0084] When the first state transition signal is at a low level, the second state transition signal is at a high level, and the rising edge of the reference signal arrives, the first state transition signal remains at a low level, and the second state transition signal is converted to a low level; when the first state transition signal and the second state transition signal are both at a low level, and the rising edge of the reference signal arrives, the first state transition signal is converted to a high level, and the second state transition signal remains at a low level; when the first state transition signal is at a high level, the second state transition signal is at a low level, and the rising edge of the feedback signal arrives, the first state transition signal is converted to a low level, and the second state transition signal remains at a low level; when the first state transition signal and the second state transition signal are both at a low level, and the rising edge of the feedback signal arrives, the first state transition signal is maintained at a low level, and the second state transition signal is converted to a high level.
[0085] For example, Fig.13 1 is a state transition diagram of a frequency detector and phase detector provided by an embodiment of the present invention. Fig.13 In some embodiments, the preset conversion rule may also be:
[0086] When the first state transition signal is at a low level, the second state transition signal is at a high level, and the falling edge of the reference signal arrives, the first state transition signal remains at a low level, and the second state transition signal is converted to a low level; when the first state transition signal and the second state transition signal are both at a low level, and the rising and falling edges of the reference signal arrive, the first state transition signal is converted to a high level, and the second state transition signal remains at a low level; when the first state transition signal is at a high level, the second state transition signal is at a low level, and the falling edge of the feedback signal arrives, the first state transition signal is converted to a low level, and the second state transition signal remains at a low level; when the first state transition signal and the second state transition signal are both at a low level, and the falling edge of the feedback signal arrives, the first state transition signal is maintained at a low level, and the second state transition signal is converted to a high level.
[0087] It is understandable that, in some embodiments, the preset conversion rule may also be a high-low level conversion of the first state transition signal and the second state transition signal when a rising edge and a falling edge arrive, that is, a preset conversion rule triggered by both edges. The preset conversion rule triggered by both edges may be adaptively adjusted according to the actual application scenario of the frequency and phase detector 300, and will not be described in detail here.
[0088] In summary, since the pump circuit provided in the embodiment of the present invention is no longer in a suspended state, the frequency detector and phase detector can effectively avoid the asymmetric impact of the pump circuit on the control system when it is in a suspended state, which is beneficial to reduce the design difficulty of the control system, maintain the steady-state operation of the control system, and ensure the performance of the control system.
[0089] Based on the above embodiments, Fig.14 1 is a schematic diagram of the structure of an improved phase-locked loop circuit provided by an embodiment of the present invention. Fig.14 As shown, the improved phase-locked loop circuit 600 includes a loop filter 400, a voltage-controlled oscillator 500, and a phase frequency detector 300 according to any embodiment of the present invention.
[0090] The loop filter 400 is connected in series between the output end of the tri-state conversion module 130 and the voltage-controlled oscillator 500. The loop filter 400 is used to generate a voltage control signal according to the output pulse signal. The voltage-controlled oscillator 500 is used to adjust the frequency and phase of the feedback signal according to the voltage control signal so that the frequency and phase of the reference signal and the feedback signal are synchronized.
[0091] The loop filter 400 may be, but is not limited to, a low-pass filter, a high-pass filter, a band-pass filter or a band-stop filter. For example, the loop filter 400 may be an RC integral filter, a passive proportional integral filter or an active proportional integral filter. In addition, the voltage-controlled oscillator 500 may be, but is not limited to, an LC oscillator or a ring oscillator. It is known that the voltage-controlled oscillator 500 may be manufactured using a variety of processes, such as a CMOS process, a BiCMOS process, and a GaAs process.
[0092] Exemplarily, a low-pass filter, such as an RC integrating filter, is used as the loop filter 400. Fig.15 FIG. 1 is a schematic diagram of front-end and back-end signal transmission of another frequency and phase detector provided by an embodiment of the present invention. Fig.15 , analog reference signal ω i 'Converted into reference signal ω by pulse sensor i The analog feedback signal ω0' is converted into the feedback signal ω0 by the pulse generator, and the phase comparison module 200 is based on the input reference signal ω i The charge pump circuit 100 generates the output pulse signal ω according to the state transition signals U' and D'. PFD , output pulse signal ω PFD A voltage control signal V is generated through an RC integrator filter. c '. Among them, the voltage control signal V c ' is the analog quantity.
[0093] In summary, since the pump circuit provided in the embodiment of the present invention no longer has a suspended state, the improved phase-locked loop circuit can effectively avoid the asymmetric impact of the pump circuit on the control system when it is in a suspended state, which is beneficial to reduce the design difficulty of the control system, maintain the steady-state operation of the control system, and ensure the performance of the control system.
[0094] It should be noted that, continue to refer to Fig.15 The embodiment of the present invention also provides a mathematical model of a frequency detector-charge pump circuit-RC integral filter. The inventor has verified that in the steady-state phase detection stage, the accuracy of the mathematical model provided by the embodiment of the present invention and the existing phase detection model are basically the same, but in the dynamic frequency detection stage, the existing phase detection model is no longer applicable, and the mathematical model provided by the embodiment of the present invention can still maintain a high model accuracy. The establishment process of the above mathematical model is first specifically described below.
[0095] It can be seen that θ represents the phase error between the reference signal and the feedback signal. Since the circuit works differently when θ≥0 and θ<0, the modeling is also adaptively divided into two cases. First, the case of θ≥0 is discussed. At this time, the loop is in the forward frequency detection state, that is, ω i>ω0, with the period T of the reference signal i As the standard, the timing accuracy of the pulse analysis is high. According to the logical function of the phase detector, assuming that the phase relationship between the reference signal and feedback signal input to the phase detector and the output pulse signal output by the phase detector within a certain period of time is as follows: Fig.16 As shown, see Fig.16 , the time variables in the figure satisfy the following relationship:
[0096] t1+t2=T i (4)
[0097]
[0098] Continue to see Fig.16 , since the initial frequency detector output is V PFD =V GND = 0, so the starting point of a cycle starts from A, passes through B and ends at C. It can be seen that in a T i During the period t1, the output of the frequency detector and phase detector changes twice: during the period t1, the output end of the three-state conversion module is connected to the second end of the three-state conversion module, the output voltage is 0V, and the capacitor of the RC integral filter is discharged through the charge pump circuit; during the period t2, the output end of the three-state conversion module is connected to the first end of the three-state conversion module, and the output voltage is +V p , the charge pump circuit charges the capacitor of the RC integral filter; after the cycle ends, the output pulse signal of the frequency detector returns to V GND In addition, the voltage control signal V c The waveform of Fig.16 shown.
[0099] According to circuit theory, the initial condition of the RC integrator filter is And the input is u i The output when (t) = A·1(t-t0) is:
[0100]
[0101] When t-t0<<τ f When , equation (6) can be linearized as:
[0102]
[0103] According to formula (7), we can calculate Fig.16 The voltage at each point in is:
[0104] V c1 =V c0 (1-t1 / τ f ) (8)
[0105] V c2 =V c1 (1-t2 / τ f )+V p t2 / τ f (9)
[0106] Substitute (8) into (9) and note that is t1 / τ f or t2 / τ f The high price is infinitesimal, and formula (9) can be used V c0 It is expressed as:
[0107]
[0108] In a T i V c The average value of '(t) is:
[0109]
[0110] Substituting equations (8) and (9) into equation (11), we can get The initial value of the cycle is expressed as:
[0111]
[0112] Then at the nth and n+1th T i During the cycle The average values are:
[0113]
[0114]
[0115] The initial value V in equations (13) and (14) is c0 (n) and V c0 (n+1) satisfies the following relationship:
[0116]
[0117] Solve equation (13) to get V c0 (n):
[0118]
[0119] Substitute equation (16) into equation (15):
[0120]
[0121] Considering Substituting equation (17) into equation (14) and ignoring higher-order infinitesimals, we can get Ti The recursive formula for the output voltage of the RC integral filter with a period is:
[0122]
[0123] Substituting formula (5) into formula (18) and making appropriate transformations, we can obtain:
[0124]
[0125] When the frequency of the reference signal is far beyond the loop bandwidth, it is equivalent to T i →0 holds, and T is taken for equation (19) i →0, and considering that the following equation holds:
[0126]
[0127]
[0128]
[0129] The voltage of the RC integral filter capacitor is obtained as:
[0130]
[0131] In formula (23), θ∈[0,2π), when θ≥2π, θ in the formula should be modulo 2π to define a nonlinear function mod(x):
[0132]
[0133] It can be seen that the input and output characteristics of mod(x) are as follows Fig.17 As shown, θ in equation (23) should be changed to the form of mod(θ):
[0134]
[0135] When θ≤0, the loop is in the negative frequency discrimination state, that is, ω i <ω o , at this time, the feedback signal period T o The timing accuracy of the standard analysis pulse is high. Similar to the forward frequency discrimination state analysis method, the voltage of the RC integral filter capacitor can be obtained as:
[0136]
[0137] In formula (26), θ∈(-2π,0] is similar to the forward demodulation state. When θ≤-2π, θ in the formula should be replaced by mod(x):
[0138]
[0139] It can be seen from this that Fig.15 As shown in Figure 2, during the signal transmission process between the front and rear ends of the frequency detector and phase detector, the frequency and phase errors are also transmitted. When the reference signal frequency and the feedback signal frequency are much larger than the RC integral filter bandwidth, the dynamic characteristics of the frequency and phase error transmission link can be expressed by formula (28):
[0140]
[0141] It is understandable that, in the derivation process of the above mathematical model, the embodiment of the present invention deduces the capacitor voltage expression of the RC integral filter based on the timing relationship between the reference signal and the feedback signal, and the logical function of the frequency detector and phase detector, but does not limit the frequency detector and phase detector to work in a specific stage, such as the frequency detection or phase detection stage. Based on this, the mathematical model provided by the embodiment of the present invention can be applied to almost all working conditions of the frequency detector and phase detector.
[0142] On the basis of the above mathematical model, the inventor further verified the superiority of the above mathematical model through simulation experiments, as follows:
[0143] In the phase detection stage, θ∈(-2π,2π), when the speed error is very small, |ω| / ω i ≈0, then formula (28) can be simplified as:
[0144]
[0145] It can be seen that formula (29) is a linear differential equation. By performing Laplace transformation on it, we can get the following form:
[0146]
[0147] Formula (30) can be regarded as the gain k p The series connection of the low-pass filter is consistent with the commonly used linear phase-locked model, which can be considered as the linearized representation of equation (28) near the equilibrium point with the high-order terms ignored.
[0148] In order to verify the correctness of formula (28), the mathematical model provided by the embodiment of the present invention, namely formula (28), and the existing linear phase-locking model, namely formula (29) are simulated. f =20ms, then Fig.18 It is a relative error simulation diagram of a frequency detector-phase detector-charge pump circuit-RC integral filter mathematical model provided by an embodiment of the present invention. Fig.19 It is the relative error simulation diagram of the existing linear phase-locked model.
[0149] See also Fig.18 and Fig.19 In the steady-state phase-locking stage, the accuracy of the two models is basically the same, which means that the mathematical model provided in the embodiment of the present invention can be converted into the existing common phase-locking model in the phase-locking stage; in the dynamic frequency-locking stage, the existing phase-locking model is no longer applicable, however, the mathematical model provided in the embodiment of the present invention can still maintain a relatively high accuracy.
[0150] In addition, the inventors have also found that the relative error can be further suppressed by increasing the time constant of the filter and the pulse frequency. For example, the time constant τ of the RC integral filter is set to f =35ms, Fig. 20 FIG. 1 is a relative error simulation diagram of another mathematical model of a frequency detector-charge pump circuit-RC integral filter provided by an embodiment of the present invention. Fig. 20 As shown, Fig.18 In comparison, the accuracy of the mathematical model of the frequency detector-charge pump circuit-RC integral filter is significantly improved, the uncertainty error in the frequency capture stage is further suppressed, and the error in the phase detection stage is also significantly reduced.
[0151] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A charge pump circuit, characterized in that: It includes a first power supply module, a second power supply module, a three-state conversion module, a first voltage division module and a second voltage division module; The positive electrode of the first power supply module is connected to the first end of the three-state conversion module, the negative electrode of the first power supply module is grounded, and the first power supply module is used to provide a forward voltage; The positive electrode of the second power supply module is connected to the negative electrode of the first power supply module, the negative electrode of the second power supply module is connected to the third end of the three-state conversion module, and the second power supply module is used to provide a negative voltage; The second end of the three-state conversion module is suspended, the output end of the three-state conversion module is connected between the first voltage divider module and the second voltage divider module, and the three-state conversion module is used to access the first end, the second end or the third end according to the state conversion signal to generate an output pulse signal; The first voltage divider module is connected in parallel between the first end and the output end of the three-state conversion module, and the second voltage divider module is connected in parallel between the third end and the output end of the three-state conversion module. The first voltage divider module and the second voltage divider module are used to make the output end of the three-state conversion module output a zero voltage signal through voltage division when the output end of the three-state conversion module is connected to the second end.
2. The charge pump circuit according to claim 1, characterized in that: The absolute value of the negative voltage is equal to the forward voltage.
3. The charge pump circuit according to claim 1, characterized in that: The first voltage dividing module at least includes a first resistive element, and the second voltage dividing module at least includes a second resistive element; The first resistive element and the second resistive element have the same resistance value, a first end of the first resistive element is connected to a first end of the three-state conversion module, a second end of the first resistive element is connected to an output end of the three-state conversion module, a first end of the second resistive element is connected to the output end of the three-state conversion module, and a second end of the second resistive element is connected to a third end of the three-state conversion module.
4. A frequency detector, characterized in that: Comprising a phase comparison module and a charge pump circuit according to any one of claims 1 to 3; The phase comparison module is connected to the charge pump circuit, and the phase comparison module is used to generate the state conversion signal according to a reference signal and a feedback signal.
5. The phase frequency detector according to claim 4, characterized in that: There is a phase difference between the reference signal and the feedback signal.
6. The phase frequency detector according to claim 4, characterized in that: The state transition signal is a pulse sequence.
7. The phase frequency detector according to claim 5 or 6, characterized in that: The phase difference between the reference signal and the feedback signal is proportional to the pulse width of the state conversion signal.
8. The phase frequency detector according to claim 4, characterized in that: When the rising edge or falling edge of the reference signal or the feedback signal arrives, the phase comparison module generates the state transition signal according to a preset conversion rule; The state conversion signal includes a first state conversion signal and a second state conversion signal.
9. The phase frequency detector according to claim 8, characterized in that: The preset conversion rules include: When the first state transition signal is at a low level, the second state transition signal is at a high level, and the rising edge of the reference signal arrives, the first state transition signal remains at a low level, and the second state transition signal is converted to a low level; When the first state transition signal and the second state transition signal are both at low levels and the rising edge of the reference signal arrives, the first state transition signal is converted to a high level and the second state transition signal remains at a low level; When the first state transition signal is at a high level, the second state transition signal is at a low level, and the rising edge of the feedback signal arrives, the first state transition signal is converted to a low level, and the second state transition signal remains at a low level; When the first state conversion signal and the second state conversion signal are both at low levels and the rising edge of the feedback signal arrives, the first state conversion signal remains at a low level and the second state conversion signal is converted to a high level.
10. An improved phase-locked loop circuit, characterized in that: Comprising a loop filter, a voltage-controlled oscillator and a frequency detector and phase detector as claimed in any one of claims 4 to 9; The loop filter is connected in series between the output end of the tri-state conversion module and the voltage-controlled oscillator, and the loop filter is used to generate a voltage control signal according to the output pulse signal; The voltage-controlled oscillator is used to adjust the frequency and phase of the feedback signal according to the voltage control signal, so that the frequencies and phases of the reference signal and the feedback signal are kept synchronized.
Citation Information
Patent Citations
Single-event transient (SET) resistant reinforcing charge pump structure
CN104600979A
Quick locking phase-locked loop circuit capable of avoiding cycle slip
CN110474634A
