Phase-locked loop circuit

By introducing deadlock detection and switching circuits into the PLL circuit, the deadlock problem caused by the frequency setting exceeding the range is solved, and the PLL circuit is automatically restored in the deadlock state to ensure normal operation.

CN118573182AInactive Publication Date: 2024-08-30LAPIS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410186526.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-02-28
Filing Date
2024-02-20
Publication Date
2024-08-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In a phase-locked loop circuit (PLL), if the frequency setting exceeds the operating range, it is easy to enter a deadlock state, resulting in the inability to automatically return to normal operating state unless an external reset is performed.

Method used

A PLL circuit is designed, including a deadlock detection circuit and a switching circuit. It detects whether the control voltage exceeds the set range, activates or deactivates the switching signal, and switches the reference signal to automatically adjust the input of the phase comparator to ensure the output of the charge pump circuit. The voltage is within a reasonable range, allowing the VCO to generate a suitable oscillation frequency.

Benefits of technology

Even when the operating frequency is inadvertently set beyond the operating frequency, the PLL circuit can automatically return to normal operating status to avoid deadlock and requires no external reset.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118573182A
    Figure CN118573182A
Patent Text Reader

Abstract

Provided is a phase-locked loop circuit capable of automatically returning to a normal operating state as long as a setting of an operable frequency is made, even when the phase-locked loop circuit is in a deadlock state due to unintentional setting of a division ratio exceeding the operable frequency. The deadlock detection circuit (20) determines a deadlock state and sets the switching signal (106) to an H level when the control voltage (104) exceeds a preset upper limit value, and sets the switching signal (106) to an L level when the control voltage (104) falls below a preset lower limit value. When the switching signal (106) is at an H level, the multiplexer (12) and the multiplexer (13) switch to input an L-level signal to the phase frequency detector (14) in place of the reference clock signal (101) and to input the reference clock signal (101) to the phase frequency detector (14) in place of the feedback clock signal (107).
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a phase-locked loop circuit. Background Art

[0002] In order to generate output signals of various frequencies based on a certain reference frequency, a phase-locked loop (PLL) circuit is widely used (see, for example, Patent Document 1).

[0003] Such a PLL circuit includes a voltage controlled oscillator (VCO) configured to change an oscillation frequency according to a control voltage, and is configured to obtain an output signal of a desired frequency by changing the control voltage.

[0004] [Prior art literature]

[0005] [Patent Document]

[0006] [Patent Document 1] Japanese Patent Application Publication No. 2004-7433 Summary of the invention

[0007] [Problems to be solved by the invention]

[0008] In recent years, the output frequency required of such a PLL circuit has become higher, and an output signal with a wide frequency band has been generated. Therefore, the frequency characteristics of the VCO have been changed to operating conditions and settings that may cause the peripheral circuits to not operate.

[0009] Therefore, in the PLL circuit, if a frequency exceeding the operating range is set, a deadlock state may occur, and the PLL circuit may not be able to return to a normal operating state unless it is reset externally.

[0010] An object of the present invention is to provide a PLL circuit which, even if the frequency is accidentally set to exceed an operable frequency and enters a deadlock state, can automatically return to a normal operating state as long as the frequency is set to an operable frequency.

[0011] [Technical means to solve the problem]

[0012] In order to solve the above-mentioned problem, the PLL circuit of the present invention includes:

[0013] A voltage controlled oscillator generates an output signal having an oscillation frequency corresponding to an input control voltage;

[0014] A frequency dividing circuit, which divides the frequency of the output signal generated by the voltage controlled oscillator using a set frequency dividing ratio;

[0015] a phase comparator for detecting a phase difference between an output signal divided by the frequency dividing circuit and a reference signal of a preset frequency, and outputting a rising indication signal or a falling indication signal according to the detected phase difference;

[0016] A charge pump circuit, based on the rising indication signal or the falling indication signal, causes the output voltage to rise or fall;

[0017] a filter circuit that smoothes the output voltage from the charge pump circuit and outputs the smoothed output voltage to the voltage controlled oscillator as the control voltage;

[0018] a deadlock detection circuit, which sets the switching signal to be activated when the control voltage exceeds a preset upper limit value, and sets the switching signal to be inactivated when the control voltage is lower than a preset lower limit value; and

[0019] The switching circuit performs the following switching: when the switching signal is inactive, the output signal divided by the frequency dividing circuit and the reference signal are input to the phase comparator to detect the phase difference and the frequency difference; when the switching signal becomes active, a low-level signal is input instead of the reference signal, and the reference signal is input instead of the output signal divided by the frequency dividing circuit.

[0020] In addition, the PLL circuit of the present invention may also be the deadlock detection circuit including:

[0021] a first generating circuit for generating a first signal when the control voltage becomes equal to or higher than a preset upper limit voltage;

[0022] a second generating circuit for generating a second signal when the control voltage becomes equal to or lower than a preset lower limit voltage; and

[0023] The trigger circuit sets the first signal as a clock input, sets the second signal as a reset input, connects a high-level signal at the input, and sets the output as the switching signal.

[0024] Furthermore, the PLL circuit of the present invention may be such that the first generating circuit includes a first transistor that is turned off when the control voltage becomes equal to or higher than a preset upper limit voltage, and the first signal is set to a high level by turning off the first transistor;

[0025] The second generating circuit includes a second transistor that is turned off when the control voltage becomes equal to or lower than a preset lower limit voltage, and the second signal is set to a high level when the second transistor is turned off.

[0026] [Effects of the Invention]

[0027] According to the present invention, a PLL circuit can be provided which can automatically return to a normal operating state as long as the setting of the operable frequency is achieved even if the setting of the PLL circuit exceeds the operable frequency unintentionally and becomes a deadlock state. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 1 is a block diagram showing the configuration of a PLL circuit 10 according to an embodiment of the present invention.

[0029] Figure 2 It is a diagram for explaining the operation of the phase frequency detector 14 .

[0030] Figure 3 2 is a circuit diagram showing a specific circuit configuration of the deadlock detection circuit 20 .

[0031] Figure 4 It is a diagram for explaining the input switching operation of the phase frequency detector 14 .

[0032] Figure 5 This is a flowchart for explaining the operation of the PLL circuit 10 according to one embodiment of the present invention.

[0033] Figure 6 This is a timing chart for explaining the operation of the PLL circuit 10 according to one embodiment of the present invention.

[0034] [Explanation of Symbols]

[0035] 10: PLL circuit

[0036] 11: 1 / R divider

[0037] 12, 13: Multiplexer

[0038] 14: Phase Frequency Detector (PFD)

[0039] 15: Charge pump circuit

[0040] 16: Loop filter (LPF)

[0041] 17: VCO (voltage controlled oscillator)

[0042] 18: 1 / N divider

[0043] 20: Deadlock detection circuit

[0044] 21: Trigger Circuit

[0045] 22: P-channel FET

[0046] 23: N-channel FET

[0047] 24-26: Inverter circuit

[0048] 27, 28: Current source

[0049] 101: Reference clock signal

[0050] 102: rising pulse signal

[0051] 103: Falling pulse signal

[0052] 104: Control voltage

[0053] 105: Output clock signal

[0054] 106: Switching signal

[0055] 107: Feedback clock signal

[0056] 108: Upper limit detection signal

[0057] 109: Lower limit detection signal DETAILED DESCRIPTION

[0058] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

[0059] Figure 1 1 is a block diagram showing the configuration of a PLL circuit 10 according to an embodiment of the present invention.

[0060] like Figure 1 As shown, the PLL circuit 10 of this embodiment includes: a 1 / R divider 11, a multiplexer 12, a multiplexer 13, a phase frequency detector (PFD (Phase Frequency Detector)) 14, a charge pump circuit 15, a loop filter (LoopPass Filter, LPF) 16, a VCO (voltage controlled oscillator) 17, a 1 / N divider 18 and a deadlock detection circuit 20.

[0061] The 1 / R frequency divider 11 divides the input clock signal by a predetermined frequency division ratio to generate and output a reference clock signal 101 .

[0062] The deadlock detection circuit 20 is a circuit for monitoring the control voltage (control voltage) 104 for controlling the oscillation frequency of the VCO 17, and detecting a deadlock state when the control voltage 104 deviates from a preset voltage range. Specifically, the deadlock detection circuit 20 determines that the deadlock state is in a state where the control voltage 104 exceeds a preset upper limit value, and sets the switching signal 106 to an active high level (hereinafter referred to as an H level). When the control voltage 104 is lower than a preset lower limit value, the switching signal 106 is set to an inactive low level (hereinafter referred to as an L level).

[0063] Furthermore, when the switching signal 106 is at an L level, the multiplexers 12 and 13 function as a switching circuit that inputs the feedback clock signal 107, which is the output signal divided by the 1 / N frequency divider 18, and the reference clock signal 101 from the 1 / R frequency divider 11, to the phase frequency detector 14 to detect the phase difference and the frequency difference. Furthermore, when the switching signal 106 is at an H level, the multiplexers 12 and 13 perform switching that inputs an L-level signal to the phase frequency detector 14 instead of the reference clock signal 101, and inputs the reference clock signal 101 to the phase frequency detector 14 instead of the feedback clock signal 107 divided by the 1 / N frequency divider 18.

[0064] Specifically, when the switching signal 106 is at an L level, the multiplexer 12 outputs the reference clock signal 101 to the input A of the phase frequency detector 14, and when the switching signal 106 is at an H level, the multiplexer 12 outputs the L level signal to the input A of the phase frequency detector 14. In addition, when the switching signal 106 is at an L level, the multiplexer 13 outputs the feedback clock signal 107 from the 1 / N divider 18 to the input B of the phase frequency detector 14, and when the switching signal 106 is at an H level, the multiplexer 13 outputs the reference clock signal 101 to the input B of the phase frequency detector 14.

[0065] Next, refer to Figure 2 The operation of the phase frequency detector 14 will be described. Figure 2 As shown in FIG. 1 , when the frequency of input A is higher than the frequency of input B, the phase frequency detector 14 outputs the rising pulse signal 102 as the rising instruction signal to the charge pump circuit 15. Figure 2 As shown, when the frequency of the input B is higher than the frequency of the input A, the phase frequency detector 14 outputs the falling pulse signal 103 as the falling instruction signal to the charge pump circuit 15 .

[0066] The charge pump circuit 15 increases or decreases the output voltage based on the rising pulse signal 102 or the falling pulse signal 103. Specifically, the charge pump circuit 15 applies current to increase the output voltage when the rising pulse signal 102 is input, and subtracts current to decrease the output voltage when the falling pulse signal 103 is input.

[0067] The loop filter (LPF) 16 is a filter circuit that smoothes the output voltage from the charge pump circuit 15 and outputs the smoothed output voltage to the VCO 17 as the control voltage 104 .

[0068] With the circuit configuration as described above, when the rising pulse signal 102 is output from the phase frequency detector 14 , the control voltage 104 rises, and when the falling pulse signal 103 is output from the phase frequency detector 14 , the control voltage 104 falls.

[0069] A VCO (voltage controlled oscillator) 17 generates an output clock signal 105 having an oscillation frequency according to a control voltage 104 input from the loop filter 16 .

[0070] The 1 / N frequency divider 18 is a frequency dividing circuit that divides the frequency of the output clock signal 105 generated by the VCO 17 by a set frequency dividing ratio N and outputs the result as a feedback clock signal 107 .

[0071] Furthermore, when the PLL circuit 10 is operating normally without being in a deadlock state, the reference clock signal 101 is input as an input A of the phase frequency detector 14, and the feedback clock signal 107 from the 1 / N frequency divider 18 is input as an input B. Therefore, the phase frequency detector 14 functions as a phase comparator that detects a phase difference between the feedback clock signal 107 divided by the 1 / N frequency divider 18 and the reference clock signal 101, which is a reference signal of a preset frequency, and outputs either a rising pulse signal 102 or a falling pulse signal 103 according to the detected phase difference.

[0072] By performing the above-described operation, in the PLL circuit 10 of the present embodiment, the frequency of the output clock signal 105 is controlled by the frequency division setting of the 1 / N frequency divider 18. For example, when the frequency division ratio N set to the 1 / N frequency divider 18 is set to 10, the frequency of the output clock signal 105 becomes 10 times the frequency of the reference clock signal 101.

[0073] Next, Figure 1 The specific circuit structure of the deadlock detection circuit 20 is shown in FIG. Figure 3 in the circuit diagram.

[0074] like Figure 3 As shown, the deadlock detection circuit 20 includes a flip-flop circuit (FF (Flip Flop) circuit) 21 , a P-channel field effect transistor (FET) 22 , an N-channel FET 23 , inverter circuits 24 to 26 , and current sources 27 and 28 .

[0075] The P-channel FET 22 , the current source 27 , and the inverter circuit 24 constitute a first generation circuit that generates an upper limit detection signal 108 as a first signal when the control voltage 104 becomes equal to or higher than a preset upper limit voltage.

[0076] The N-channel FET 23, the current source 28, the inverter circuit 25, and the inverter circuit 26 constitute a second generation circuit that generates a lower limit detection signal 109 as a second signal when the control voltage 104 becomes equal to or lower than a preset lower limit voltage.

[0077] Furthermore, the trigger circuit 21 is connected as follows: the upper limit detection signal 108 from the inverter circuit 24 is set as the clock input, the lower limit detection signal 109 from the inverter circuit 26 is set as the reset input (RST), the H level signal VDD is connected to the D input, and the Q output is set as the switching signal 106.

[0078] As for the P-channel FET 22, the gate is connected to the control voltage 104, the source is connected to the power supply voltage VDD, and the drain is connected to the ground via the current source 27. In addition, as for the N-channel FET 23, the gate is connected to the control voltage 104, the source is connected to the ground, and the drain is connected to the power supply voltage VDD via the current source 28. Then, the inverter circuit 24 inverts the logic of the voltage at the drain of the P-channel FET 22 and outputs it to the clock input of the flip-flop circuit 21 as the upper limit detection signal 108. In addition, the inverter circuit 25 inverts the logic of the voltage at the drain of the N-channel FET 23, and the inverter circuit 26 further inverts the logic and outputs it to the reset input of the flip-flop circuit 21 as the lower limit detection signal 109.

[0079] That is, the first generation circuit includes the P-channel FET 22 of the first transistor which is turned off when the control voltage 104 becomes equal to or higher than the preset upper limit voltage, and the upper limit detection signal 108 is set to the H level by turning off the P-channel FET 22.

[0080] The upper limit voltage when the deadlock detection circuit 20 monitors the voltage range of the control voltage 104 is set to a voltage obtained by subtracting the threshold voltage of the P-channel FET 22 from the power supply voltage. The lower limit voltage is the threshold voltage of the N-channel FET 23.

[0081] Furthermore, when the deadlock state is reached, the control voltage 104 is a voltage such that the VCO 17 generates a high-frequency output clock signal 105, that is, close to the power supply voltage side. Therefore, by making the upper limit voltage as close to the power supply voltage as possible, the voltage range of the control voltage 104 that can be used in normal operation is expanded. Specifically, by adding an N-channel FET between the gate of the P-channel FET 22 and the control voltage 104 to perform level shifting, it is possible to level shift by an amount equivalent to the threshold voltage of the N-channel FET. In addition, by expanding the voltage range of the control voltage 104, it is also possible to expand the frequency range of the generated output clock signal 105.

[0082] Then, when the upper limit detection signal 108 of the clock input becomes H level, the flip-flop circuit 21 outputs the H level signal of the D input to the Q output. As a result, the switching signal 106 becomes H level.

[0083] The second generation circuit includes an N-channel FET 23 as a second transistor that is turned off when the control voltage 104 becomes equal to or lower than a preset lower limit voltage. When the N-channel FET 23 is turned off, the lower limit detection signal 109 is set to the H level.

[0084] When the lower limit detection signal 109 of the reset input becomes H level, the flip-flop circuit 21 changes the Q output which is H level to L level. As a result, the switching signal 106 becomes L level.

[0085] The deadlock detection circuit 20 has the above-described circuit configuration, and thus operates to set the switching signal 106 to the H level when the control voltage 104 is equal to or higher than the upper limit voltage, and to set the switching signal 106 which has been at the H level to the L level when the control voltage 104 is equal to or lower than the lower limit voltage.

[0086] Furthermore, by the logic change of the switching signal 106 from the deadlock detection circuit 20, the input of the phase frequency detector 14 is as follows: Figure 4 Switch as shown.

[0087] Specifically, when the switching signal 106 is at an L level, the reference clock signal 101 is input to the input A of the phase frequency detector 14, and the feedback clock signal 107 is input to the input B of the phase frequency detector 14. Therefore, in the PLL circuit 10, a normal operation is performed to generate an output clock signal 105 based on the frequency division ratio set in the 1 / N frequency divider 18.

[0088] When the control voltage 104 becomes equal to or higher than the upper limit voltage and the deadlock detection circuit 20 detects that the deadlock state has been reached, the switching signal 106 becomes the H level. Then, the following switching is performed: the input A of the phase frequency detector 14 becomes fixed at the L level, and the reference clock signal 101 is input to the input B of the phase frequency detector 14. That is, the frequency of the input B is always maintained to be higher than the frequency of the input A. As a result, the phase frequency detector 14 continues to output the falling pulse signal 103, the charge pump circuit 15 decreases the output voltage, and the control voltage 104 also continues to decrease.

[0089] Furthermore, when the control voltage 104 becomes lower than the lower limit voltage, the deadlock detection circuit 20 returns the switching signal 106 to the L level, so that the reference clock signal 101 is input to the input A of the phase frequency detector 14, and the feedback clock signal 107 is input to the input B of the phase frequency detector 14, thereby automatically returning to the normal operation. Thereafter, the control voltage 104 rises until the output clock signal 105 reaches the frequency based on the frequency division ratio N set in the 1 / N frequency divider 18, and when the frequency of the reference clock signal 101 matches the frequency of the feedback clock signal 107, a locked state is achieved.

[0090] The operation of the PLL circuit 10 of the present embodiment described above is shown in FIG. Figure 5 in the flow chart.

[0091] In the PLL circuit 10 , a normal operation is performed in a normal state (step S101 ) until a deadlock state is detected by the deadlock detection circuit 20 (until a YES determination is made in step S102 ).

[0092] Then, when the deadlock state is detected in the deadlock detection circuit 20 (YES in step S102), the switching signal 106 becomes the H level, and the multiplexer 12 and the multiplexer 13 are switched (step S103).

[0093] As a result, the phase frequency detector 14 continues to output the falling pulse signal 103, and the control voltage 104 continues to fall (step S104). Then, when the control voltage 104 reaches the lower limit voltage (Yes in step S105), the deadlock detection circuit 20 sets the switching signal 106 to L level.

[0094] Therefore, the multiplexers 12 and 13 are switched again (step S106 ), and the PLL circuit 10 returns to the normal operation.

[0095] Finally, the operation of the PLL circuit 10 of the present embodiment described above is shown in FIG. Figure 6 in the timing diagram.

[0096] exist Figure 62 shows a case where the frequency division ratio of the 1 / N frequency divider 18 is set to a value outside the operating frequency range and the control voltage 104 rises and exceeds the upper limit voltage.

[0097] Before the deadlock detection circuit 20 detects the deadlock state, the reference clock signal 101 is input to the input A of the phase frequency detector 14 , and the feedback clock signal 107 is input to the input B of the phase frequency detector 14 .

[0098] Then, when the control voltage 104 exceeds the upper limit voltage at time T1, the P-channel FET 22 is turned off and the upper limit detection signal 108 becomes H level in the deadlock detection circuit 20. As a result, the deadlock detection circuit 20 changes the switching signal 106 from L level to H level.

[0099] Then, the falling pulse signal 103 is continuously outputted from the phase frequency detector 14, so the control voltage 104 decreases. When the control voltage 104 decreases and becomes lower than the upper limit voltage, the P-channel FET 22 is turned on and the upper limit detection signal 108 returns to the L level. However, even in this state, the switching signal 106 is maintained at the H level.

[0100] Then, when the control voltage 104 continues to decrease and becomes lower than the lower limit voltage at time T2, in the deadlock detection circuit 20, the N-channel FET 23 is turned off and the lower limit detection signal 109 becomes the H level. As a result, the deadlock detection circuit 20 changes the switching signal 106 from the H level to the L level. Then, the phase frequency detector 14 returns to the normal operation, and the control voltage 104 increases so that the output clock signal 105 becomes the frequency based on the set frequency division ratio. In addition, when the control voltage 104 increases and becomes higher than the lower limit voltage, the N-channel FET 23 is turned on and the lower limit detection signal 109 returns to the L level.

[0101] In the PLL circuit 10 of the present embodiment, by performing the actions as described above, even if a deadlock state is caused by accidentally setting a frequency division ratio that exceeds the operable frequency, as long as the operable frequency is set, it can automatically return to a normal operating state without the need for an external reset action, etc.

[0102] In addition, the PLL circuit 10 of this embodiment has the following characteristics: Figure 3 The deadlock detection circuit 20 and the multiplexers 12 and 13 of the simple circuit structure shown can automatically return to a normal working state from a deadlock state.

Claims

1. A phase-locked loop circuit, comprising: A voltage controlled oscillator generates an output signal having an oscillation frequency corresponding to an input control voltage; A frequency dividing circuit, which divides the frequency of the output signal generated by the voltage controlled oscillator using a set frequency dividing ratio; a phase comparator for detecting a phase difference between an output signal divided by the frequency dividing circuit and a reference signal of a preset frequency, and outputting a rising indication signal or a falling indication signal according to the detected phase difference; A charge pump circuit, based on the rising indication signal or the falling indication signal, causes the output voltage to rise or fall; a filter circuit that smoothes the output voltage from the charge pump circuit and outputs the smoothed output voltage to the voltage controlled oscillator as the control voltage; a deadlock detection circuit, which sets the switching signal to be activated when the control voltage exceeds a preset upper limit value, and sets the switching signal to be inactivated when the control voltage is lower than a preset lower limit value; and The switching circuit performs the following switching: when the switching signal is inactive, the output signal divided by the frequency dividing circuit and the reference signal are input to the phase comparator to detect the phase difference and the frequency difference; when the switching signal becomes active, a low-level signal is input instead of the reference signal, and the reference signal is input instead of the output signal divided by the frequency dividing circuit.

2. The phase-locked loop circuit according to claim 1, wherein: The deadlock detection circuit comprises: a first generating circuit for generating a first signal when the control voltage becomes equal to or higher than a preset upper limit voltage; a second generating circuit for generating a second signal when the control voltage becomes equal to or lower than a preset lower limit voltage; and The trigger circuit sets the first signal as a clock input, sets the second signal as a reset input, connects a high-level signal at the input, and sets the output as the switching signal.

3. The phase-locked loop circuit according to claim 2, wherein: The first generating circuit includes a first transistor that is turned off when the control voltage becomes equal to or higher than a preset upper limit voltage, and the first signal is set to a high level by turning off the first transistor; The second generating circuit includes a second transistor that is turned off when the control voltage becomes equal to or lower than a preset lower limit voltage, and the second signal is set to a high level when the second transistor is turned off.