PLL circuit
Patent Information
- Application Number
- JP2023030361
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-09-09
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
【0011】 本発明によれば、意図せず動作可能な周波数を超えた設定が行われてデッドロック状態となった場合でも、動作可能な周波数の設定になれば、正常な動作状態に自動的に復帰することが可能なPLL回路を提供することができる。
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical Field]
[0001] The present invention relates to a PLL circuit. [Background technology]
[0002] BACKGROUND ART PLL (Phase Locked Loop) circuits are widely used to generate output signals of various frequencies based on a certain reference frequency (see, for example, Patent Document 1).
[0003] Such a PLL circuit is equipped with a VCO (Voltage Controlled Oscillator) configured to change the oscillation frequency in response to a control voltage, and is configured to obtain an output signal of a desired frequency by changing this control voltage. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Japanese Patent Application Laid-Open No. 2004-7433 Summary of the Invention [Problem to be solved by the invention]
[0005] In recent years, the output frequency required for such PLL circuits has increased, and they have begun to generate output signals with a wide frequency band. As a result, the frequency characteristics of the VCO sometimes include operating conditions and settings that prevent peripheral circuits from operating.
[0006] Therefore, if a frequency that exceeds the operating range is set in the PLL circuit, 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.
[0007] An object of the present invention is to provide a PLL circuit that can automatically return to a normal operating state when an operable frequency is set again, even if a deadlock state occurs due to an unintentional setting that exceeds the operable frequency. [Means for solving the problem]
[0008] In order to solve the above problem, the PLL circuit of the present invention comprises: a voltage controlled oscillator that generates an output signal with an oscillation frequency corresponding to an input control voltage; a frequency divider circuit that divides the frequency of the output signal generated by the voltage controlled oscillator by a set frequency division ratio; a phase comparator that detects a phase difference between the output signal divided by the frequency divider circuit and a reference signal of a preset frequency, and outputs an up instruction signal or a down instruction signal in accordance with the detected phase difference; a charge pump circuit that increases or decreases an output voltage based on the increase instruction signal or the decrease instruction signal; a filter circuit that smoothes an output voltage from the charge pump circuit and outputs the smoothed output voltage as the control voltage to the voltage-controlled oscillator; a deadlock detection circuit that activates a switching signal when the control voltage exceeds a preset upper limit value, and that inactivates the switching signal when the control voltage falls below a preset lower limit value; a switching circuit that, when the switching signal is inactive, inputs the output signal divided by the frequency divider circuit and the reference signal to the phase comparator so that a phase difference and a frequency difference can be detected, and, when the switching signal becomes active, inputs a low-level signal instead of the reference signal, and switches so that the reference signal is input instead of the output signal divided by the frequency divider circuit.
[0009] Furthermore, in the PLL circuit of the present invention, the deadlock detection circuit a first generating circuit that generates a first signal when the control voltage becomes equal to or greater than a preset upper limit voltage; a second generating circuit that generates a second signal when the control voltage becomes equal to or lower than a preset lower limit voltage; The first signal may be a clock input, the second signal may be a reset input, and the flip-flop circuit may have a high-level signal connected to its input and an output that is the switching signal.
[0010] Furthermore, in the PLL circuit of the present invention, the first generation circuit has 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 when the first transistor is turned off; The second generating circuit may have a second transistor that turns off when the control voltage becomes equal to or lower than a preset lower limit voltage, and the second signal may be set to a high level when the second transistor turns off. [Effects of the Invention]
[0011] According to the present invention, it is possible to provide a PLL circuit that can automatically return to a normal operating state when an operable frequency is set again, even if a deadlock state occurs due to an unintentional setting that exceeds the operable frequency. [Brief explanation of the drawings]
[0012] [Figure 1] 1 is a block diagram showing a configuration of a PLL circuit 10 according to an embodiment of the present invention. [Figure 2] 4 is a diagram for explaining the operation of the phase frequency detector 14. FIG. [Figure 3] FIG. 2 is a circuit diagram showing a specific circuit configuration of a deadlock detection circuit 20. [Figure 4] 10 is a diagram for explaining the input switching operation of the phase frequency detector 14. FIG. [Figure 5] 4 is a flowchart for explaining the operation of the PLL circuit 10 according to one embodiment of the present invention. [Figure 6] 4 is a timing chart for explaining the operation of the PLL circuit 10 according to one embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0013] Next, an embodiment of the present invention will be described in detail with reference to the drawings.
[0014] FIG. 1 is a block diagram showing the configuration of a PLL circuit 10 according to one embodiment of the present invention.
[0015] As shown in FIG. 1, the PLL circuit 10 of this embodiment is composed of a 1 / R divider 11, multiplexers 12 and 13, a phase frequency detector (PFD) 14, a charge pump circuit 15, a loop filter (LPF) 16, a VCO (voltage controlled oscillator) 17, a 1 / N divider 18, and a deadlock detection circuit 20.
[0016] The 1 / R frequency divider 11 generates and outputs a reference clock signal 101 by dividing the input clock signal by a preset frequency division ratio.
[0017] The deadlock detection circuit 20 is a circuit that monitors the control voltage 104 for controlling the oscillation frequency of the VCO 17, and detects a deadlock state when the control voltage 104 falls outside a preset voltage range. Specifically, when the control voltage 104 exceeds a preset upper limit, the deadlock detection circuit 20 determines that a deadlock state has occurred and sets the switching signal 106 to an active high level (hereinafter abbreviated as H), and when the control voltage 104 falls below a preset lower limit, the deadlock detection circuit 20 sets the switching signal 106 to an inactive low level (hereinafter abbreviated as L level).
[0018] 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 frequency-divided by the 1 / N divider 18, and the reference clock signal 101 from the 1 / R divider 11, to the phase frequency detector 14 so that the phase difference and frequency difference can be detected. When the switching signal 106 becomes an H level, the multiplexers 12 and 13 perform switching so that an L-level signal is input to the phase frequency detector 14 instead of the reference clock signal 101, and the reference clock signal 101 is input to the phase frequency detector 14 instead of the feedback clock signal 107 frequency-divided by the 1 / N divider 18.
[0019] Specifically, when switching signal 106 is at L level, multiplexer 12 outputs reference clock signal 101 to input A of phase frequency detector 14, and when switching signal 106 is at H level, multiplexer 12 outputs an L-level signal to input A of phase frequency detector 14. Furthermore, when switching signal 106 is at L level, multiplexer 13 outputs feedback clock signal 107 from 1 / N divider 18 to input B of phase frequency detector 14, and when switching signal 106 is at H level, multiplexer 13 outputs reference clock signal 101 to input B of phase frequency detector 14.
[0020] Next, the operation of phase frequency detector 14 will be described with reference to Fig. 2. As shown in Fig. 2, when the frequency of input A is higher than the frequency of input B, phase frequency detector 14 outputs up pulse signal 102, which is an instruction signal to increase, to charge pump circuit 15. Furthermore, as shown in Fig. 2, when the frequency of input B is higher than the frequency of input A, phase frequency detector 14 outputs down pulse signal 103, which is an instruction signal to decrease, to charge pump circuit 15.
[0021] The charge pump circuit 15 increases or decreases the output voltage based on the up pulse signal 102 or the down pulse signal 103. Specifically, when the charge pump circuit 15 receives the up pulse signal 102, it applies a current to increase the output voltage, and when the charge pump circuit 15 receives the down pulse signal 103, it draws a current to decrease the output voltage.
[0022] The loop filter (LPF) 16 is a filter circuit that smoothes the output voltage from the charge pump circuit 15 and outputs it to the VCO 17 as a control voltage 104 .
[0023] With the circuit configuration as described above, when the phase frequency detector 14 outputs an up pulse signal 102, the control voltage 104 increases, and when the phase frequency detector 14 outputs a down pulse signal 103, the control voltage 104 decreases.
[0024] VCO (Voltage Controlled Oscillator) 17 generates output clock signal 105 with an oscillation frequency according to control voltage 104 input from loop filter 16 .
[0025] The 1 / N frequency divider 18 is a frequency divider circuit that divides the frequency of the output clock signal 105 generated by the VCO 17 by a set frequency division ratio N and outputs the result as a feedback clock signal 106 .
[0026] When the PLL circuit 10 is operating normally and not in a deadlock state, the reference clock signal 101 is input as input A of the phase frequency detector 14, and the feedback clock signal 106 from the 1 / N divider 18 is input as input B. Therefore, the phase frequency detector 14 functions as a phase comparator that detects the phase difference between the feedback clock signal 107 frequency-divided by the 1 / N divider 18 and the reference clock signal 101, which is a reference signal of a preset frequency, and outputs either an up pulse signal 102 or a down pulse signal 103 depending on the detected phase difference.
[0027] By performing the above-described operations, in the PLL circuit 10 of this embodiment, the frequency of the output clock signal 105 is controlled by the division setting made for the 1 / N divider 18. For example, if the division ratio N set for the 1 / N divider 18 is 10, the frequency of the output clock signal 105 will be 10 times the frequency of the reference clock signal 101.
[0028] Next, a specific circuit configuration of the deadlock detection circuit 20 shown in FIG. 1 is shown in the circuit diagram of FIG.
[0029] As shown in FIG. 3, the deadlock detection circuit 20 is composed of a flip-flop circuit (FF circuit) 21, a P-channel FET (Field Effect Transistor) 22, an N-channel FET 23, inverter circuits 24 to 26, and current sources 27 and 28.
[0030] The P-channel FET 22, the current source 27, and the inverter circuit 24 constitute a first generating circuit that generates an upper limit detection signal 108, which is a first signal, when the control voltage 104 becomes equal to or greater than a preset upper limit voltage.
[0031] The N-channel FET 23, the current source 28, and the inverter circuits 25 and 26 constitute a second generating circuit that generates a second signal, a lower limit detection signal 109, when the control voltage 104 becomes equal to or lower than a preset lower limit voltage.
[0032] The flip-flop circuit 21 is connected so that the upper limit detection signal 108 from the inverter circuit 24 is used as a clock input, the lower limit detection signal 109 from the inverter circuit 26 is used as a reset input (RST), an H-level signal VDD is connected to the D input, and the Q output is used as the switching signal 106.
[0033] The P-channel FET 22 has a gate connected to a control voltage 104, a source connected to a power supply voltage VDD, and a drain connected to ground via a current source 27. The N-channel FET 23 has a gate connected to the control voltage 104, a source connected to ground, and a drain connected to the power supply voltage VDD via a current source 28. An inverter circuit 24 inverts the logic of the drain voltage of the P-channel FET 22 and outputs it as an upper limit detection signal 108 to the clock input of the flip-flop circuit 21. An inverter circuit 25 inverts the logic of the drain voltage of the N-channel FET 23, and an inverter circuit 26 further inverts the logic and outputs it as a lower limit detection signal 109 to the reset input of the flip-flop circuit 21.
[0034] In other words, the first generating circuit has a P-channel FET 22 as a first transistor that turns off when the control voltage 104 becomes equal to or higher than a preset upper limit voltage, and when the P-channel FET 22 turns off, the upper limit detection signal 108 becomes H level.
[0035] When the deadlock detection circuit 20 monitors the voltage range of the control voltage 104, the upper limit voltage is set to the power supply voltage minus the threshold voltage of the P-channel FET 22. The lower limit voltage is the threshold voltage of the N-channel FET 23.
[0036] Furthermore, in the event of a deadlock, the control voltage 104 will be stuck at a voltage that causes the VCO 17 to generate a high-frequency output clock signal 105, i.e., stuck to the power supply voltage. Therefore, by bringing 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 can be expanded. Specifically, by adding an N-channel FET between the gate of the P-channel FET 22 and the control voltage 104 to shift the level, it is possible to shift the level by the threshold voltage of the N-channel FET. Furthermore, by widening the voltage range of the control voltage 104, it is possible to widen the frequency range of the generated clock signal 105.
[0037] When the upper limit detection signal 108 at the clock input goes high, the flip-flop circuit 21 outputs the high-level signal at the D input to the Q output, causing the switching signal 106 to go high.
[0038] The second generating circuit also has an N-channel FET 23 as a second transistor that turns off when the control voltage 104 becomes equal to or lower than a preset lower limit voltage, and when the N-channel FET 23 turns off, the lower limit detection signal 109 becomes H level.
[0039] When the reset input lower limit detection signal 109 goes to H level, the flip-flop circuit 21 changes the Q output, which was at H level, to L level, causing the switching signal 106 to go to L level.
[0040] The deadlock detection circuit 20 has the circuit configuration described above, and operates so that when the control voltage 104 becomes equal to or higher than the upper limit voltage, the switching signal 106 is set to H level, and when the control voltage 104 becomes equal to or lower than the lower limit voltage, the switching signal 106, which was set to H level, is set to L level.
[0041] Then, when the logic of the switching signal 106 from the deadlock detection circuit 20 changes, the input of the phase frequency detector 14 switches as shown in FIG.
[0042] 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, the PLL circuit 10 performs normal operation and generates the output clock signal 105 based on the division ratio set in the 1 / N divider 18.
[0043] When control voltage 104 exceeds the upper limit voltage and deadlock detection circuit 20 detects a deadlock state, switching signal 106 goes high. Then, input A of phase frequency detector 14 is fixed at low level, and reference clock signal 101 is input to input B of phase frequency detector 14. In other words, a state is maintained in which the frequency of input B is always higher than the frequency of input A. As a result, phase frequency detector 14 continues to output down pulse signal 103, charge pump circuit 15 decreases the output voltage, and control voltage 104 also continues to decrease.
[0044] When control voltage 104 falls below the lower limit voltage, deadlock detection circuit 20 returns switching signal 106 to the L level, so that reference clock signal 101 is input to input A of phase frequency detector 14 and feedback clock signal 107 is input to input B of phase frequency detector 14, automatically restoring normal operation. Thereafter, control voltage 104 rises until output clock signal 105 has a frequency based on division ratio N set in 1 / N divider 18, and when the frequency of reference clock signal 101 and the frequency of feedback clock signal 107 match, a locked state is achieved.
[0045] The operation of the PLL circuit 10 of this embodiment described above is shown in the flowchart of FIG.
[0046] The PLL circuit 10 performs normal operation (step S101) until the deadlock detection circuit 20 detects a deadlock state (until the determination in step S102 is yes).
[0047] Then, when the deadlock detection circuit 20 detects a deadlock state (yes in step S102), the switching signal 106 goes to H level and the multiplexers 12 and 13 are switched (step S103).
[0048] As a result, the phase frequency detector 14 continues to output the down pulse signal 103, and the control voltage 104 continues to decrease (step S104). 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 the L level.
[0049] Therefore, the multiplexers 12 and 13 are switched again (step S106), and the PLL circuit 10 returns to normal operation.
[0050] Finally, the operation of the PLL circuit 10 of this embodiment as described above is shown in the timing chart of FIG.
[0051] FIG. 6 shows a case where the division ratio of the 1 / N frequency divider 18 is set to a value outside the operating frequency range, causing the control voltage 104 to rise and exceed the upper limit voltage.
[0052] Until the deadlock detection circuit 20 detects a 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 thereof.
[0053] Then, when the control voltage 104 exceeds the upper limit voltage at time T1, the P-channel FET 22 is turned off in the deadlock detection circuit 20, and the upper limit detection signal 108 goes to H level. As a result, the deadlock detection circuit 20 changes the switching signal 106 from L level to H level.
[0054] As a result, down pulse signal 103 continues to be output from phase frequency detector 14, causing control voltage 104 to decrease. When control voltage 104 decreases to a value equal to or lower than the upper limit voltage, P-channel FET 22 turns on and upper limit detection signal 108 returns to the L level. However, even in this state, switching signal 106 remains at the H level.
[0055] Then, when the control voltage 104 continues to decrease and falls below the lower limit voltage at time T2, the N-channel FET 23 in the deadlock detection circuit 20 is turned off and the lower limit detection signal 109 goes to 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 normal operation and the control voltage 104 rises so that the output clock signal 105 has a frequency based on the set division ratio. Note that when the control voltage 104 increases and exceeds the lower limit voltage, the N-channel FET 23 is turned on and the lower limit detection signal 109 returns to the L level.
[0056] In the PLL circuit 10 of this embodiment, by performing the above-described operation, even if a deadlock state occurs due to an unintentional setting of a division ratio that exceeds an operable frequency, once an operable frequency is set, it is possible to automatically return to a normal operating state without the need for an external reset operation or the like.
[0057] Furthermore, the PLL circuit 10 of this embodiment has the feature that it can automatically return to a normal operating state from a deadlock state simply by using the deadlock detection circuit 20 with a simple circuit configuration as shown in FIG. 3 and the multiplexers 12 and 13. [Explanation of symbols]
[0058] 10 PLL circuit 11 1 / R frequency divider 12, 13 Multiplexer 14 Phase Frequency Detector (PFD) 15 Charge pump circuit 16 Loop filter (LPF) 17 VCO (Voltage Controlled Oscillator) 18 1 / N frequency divider 20 Deadlock detection circuit 21 Flip-flop circuit 22 P-channel FET 23 N-channel FET 24~26 Inverter circuit 27, 28 current source 101 Reference Clock Signal 102 Up pulse signal 103 Down pulse signal 104 Control Voltage 105 Output Clock Signal 106 Switching Signal 107 Feedback Clock Signal 108 Upper limit detection signal 109 Lower limit detection signal
Claims
1. a voltage controlled oscillator for generating an output signal having an oscillation frequency according to an input control voltage; a frequency division circuit that divides the frequency of the output signal generated by the voltage controlled oscillator by a set frequency division ratio; a phase comparator which detects a phase difference between an output signal divided by the frequency divider circuit and a reference signal having a preset frequency, and outputs an up instruction signal or a down instruction signal in accordance with the detected phase difference; a charge pump circuit that increases or decreases an output voltage based on the increase instruction signal or the decrease instruction signal; a filter circuit that smoothes an output voltage from the charge pump circuit and outputs the smoothed output voltage as the control voltage to the voltage controlled oscillator; a deadlock detection circuit that makes a switching signal active when the control voltage exceeds a preset upper limit value and makes the switching signal inactive when the control voltage falls below a preset lower limit value; a switching circuit which, when the switching signal is inactive, inputs the output signal divided by the frequency divider circuit and the reference signal to the phase comparator so that a phase difference and a frequency difference can be detected, and when the switching signal becomes active, inputs a low-level signal instead of the reference signal, and switches so that the reference signal is input instead of the output signal divided by the frequency divider circuit; A PLL circuit comprising:
2. The deadlock detection circuit, a first generating circuit that generates a first signal when the control voltage becomes equal to or higher than a preset upper limit voltage; a second generating circuit that generates a second signal when the control voltage becomes equal to or lower than a preset lower limit voltage; a flip-flop circuit having the first signal as a clock input, the second signal as a reset input, a high-level signal connected to an input, and an output as the switching signal; 2. The PLL circuit according to claim 1, comprising:
3. the first generating circuit has 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 transistor is turned off to set the first signal to a high level; the second generating circuit has 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 by the second transistor being turned off; 3. The PLL circuit according to claim 2.
Citation Information
Patent Citations
Semiconductor integrated circuit device for communication
JP2004007433A
