WO2021184632A1 - 锁相环的锁定检测方法、锁相环及其频率锁定检测控制器 - Google Patents
锁相环的锁定检测方法、锁相环及其频率锁定检测控制器 Download PDFInfo
- Publication number
- WO2021184632A1 WO2021184632A1 PCT/CN2020/105104 CN2020105104W WO2021184632A1 WO 2021184632 A1 WO2021184632 A1 WO 2021184632A1 CN 2020105104 W CN2020105104 W CN 2020105104W WO 2021184632 A1 WO2021184632 A1 WO 2021184632A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- phase
- locked loop
- frequency
- output
- signal
- Prior art date
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 106
- 238000000034 method Methods 0.000 claims abstract description 56
- 230000008569 process Effects 0.000 claims abstract description 46
- 230000006870 function Effects 0.000 claims abstract description 25
- 230000015572 biosynthetic process Effects 0.000 claims abstract description 9
- 238000003786 synthesis reaction Methods 0.000 claims abstract description 9
- 230000001960 triggered effect Effects 0.000 claims description 9
- 230000000630 rising effect Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 5
- 102100024735 Resistin Human genes 0.000 description 3
- 101150091950 retn gene Proteins 0.000 description 3
- 230000006641 stabilisation Effects 0.000 description 3
- 238000011105 stabilization Methods 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 239000013256 coordination polymer Substances 0.000 description 2
- 239000003381 stabilizer Substances 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002028 premature Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L7/00—Automatic control of frequency or phase; Synchronisation
- H03L7/06—Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
- H03L7/08—Details of the phase-locked loop
- H03L7/081—Details of the phase-locked loop provided with an additional controlled phase shifter
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L7/00—Automatic control of frequency or phase; Synchronisation
- H03L7/06—Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
- H03L7/08—Details of the phase-locked loop
- H03L7/085—Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L7/00—Automatic control of frequency or phase; Synchronisation
- H03L7/06—Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
- H03L7/16—Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop
- H03L7/18—Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop using a frequency divider or counter in the loop
Definitions
- the invention relates to a phase-locked loop, in particular to a phase-locked loop lock detection method, a phase-locked loop and a frequency lock detection controller thereof.
- Phase locked loop (Phase Locked Loop) circuit is a widely used circuit system, especially for FPGA (Field Programmable Gate Array), VLSI (Very Large Scale Integrated Circuit, Very Large Scale Integrated Circuit). Large Scale Integration) system is essential.
- the phase-locked loop is the core system for FPGA to provide clock resources, which can realize functions such as clock frequency synthesis, clock skew reduction (skew) and phase adjustment.
- the frequency lock is realized.
- the phase-locked loop that includes a low dropout linear regulator (LDO) inside
- LDO low dropout linear regulator
- the phase-locked loop needs to support a low power consumption mode, that is, the LDO needs to be turned off.
- the LDO needs stabilization time, which often causes the internal logic of the phase-locked loop to be abnormal (such as phase Align between multiple frequency dividers), so that although the phase-locked loop can be locked in normal frequency, the output clock
- the properties (especially the phase relationship between the clocks) and settings will be different.
- the traditional design method is to add a delay cell (DELAY CELL) to the path of the phase-locked loop logic control signal (such as an enable signal or a reset signal), that is, the period from when the LDO is turned on to when it stabilizes.
- the internal logic of the phase-locked loop does not work.
- a large margin should be reserved for the delay unit design, and a single delay unit design also needs to occupy a large layout area.
- the embodiment of the present invention provides a lock detection method of a phase-locked loop, a phase-locked loop and a frequency-locked detection controller thereof, which can solve the problem of abnormal internal logic during the power-on unstable process of the phase-locked loop, and has a simple structure and a design layout area. small.
- the present invention provides a lock detection method of a phase-locked loop, including:
- the first locking process the frequency of the phase-locked loop is first locked until the built-in voltage regulator of the phase-locked loop stabilizes, wherein the reset sequence of the digital logic and the power supply during the first locking process Whether it is stable or not is not required;
- the second locking process After the built-in voltage regulator of the phase-locked loop is stable, the phase-locked loop performs the second locking process. At this time, the output clock of the voltage-controlled oscillator of the phase-locked loop has no glitches or power supply. Voltage stabilization realizes complex functions including phase alignment adjustment and duty cycle synthesis; finally, the output signal of the lock detection circuit of the phase-locked loop is output as the lock indication signal of the phase-locked loop.
- the built-in voltage regulator of the phase-locked loop when the built-in voltage regulator of the phase-locked loop is turned on and the output voltage reaches a preset threshold that enables the phase-locked loop of the phase-locked loop to start working, the first locking process is started to start the The frequency of the phase-locked loop is locked.
- the clock frequency division of the feedback signal is completed by a simple frequency divider and input to the frequency discriminator of the phase-locked loop, and the simple frequency divider means that only the frequency division is completed.
- Frequency divider with frequency function is
- a reset control signal is generated, so that the actual feedback frequency divider of the phase-locked loop and each output frequency divider are reset and released, and a selection control signal is generated at the same time ,
- a selection control signal is generated at the same time .
- the method further includes: detecting the output signal of the frequency lock detection circuit; after detecting that the output signal of the frequency lock detection circuit is pulled high, wait for a predetermined time, and reset the frequency lock detection circuit.
- the clock frequency division of the feedback signal is completed by the actual feedback frequency divider of the phase-locked loop and input to the phase-frequency discriminator of the phase-locked loop.
- the present invention provides a phase-locked loop, including: the actual feedback frequency divider of the phase-locked loop and a frequency lock detection circuit, and also includes: a frequency lock detection controller, a simple frequency divider, and a multiplexer ,
- the simple frequency divider refers to a frequency divider that only completes the frequency division function.
- the frequency lock detection controller is used to generate corresponding control signals according to the output signal state of the frequency lock detection circuit to control the frequency lock detection circuit, the actual feedback frequency divider of the phase-locked loop, and the simple frequency divider The working status of the device;
- the simple frequency divider is used to perform clock frequency division of the feedback signal in the first lock process under the control of the frequency lock detection controller;
- the first input end of the multiplexer is connected to the output end of the actual feedback frequency divider of the phase-locked loop, and the second input end of the multiplexer is connected to the output end of the simple frequency divider, so
- the control end of the multiplexer is connected to the feedback input end of the frequency lock detection controller, and the output end of the multiplexer is connected to the frequency discriminator of the phase-locked loop, and the multiplexer is used for Under the control of the frequency lock detection controller, one of the output signal of the actual feedback frequency divider of the phase-locked loop and the output signal of the simple frequency divider is selected as the feedback signal and output to the frequency discriminator.
- Phase device Phase device.
- the frequency lock detection controller is also connected to the actual feedback frequency divider of the phase-locked loop and each output frequency divider, and the frequency lock detection controller is also used to control the phase-locked loop through a simple frequency divider. After completing the first locking of the frequency of the phase-locked loop, a reset control signal for resetting and releasing the actual feedback frequency divider of the phase-locked loop and each output frequency divider is generated.
- the present invention provides a frequency lock detection controller, including: a memory; and a processor coupled to the memory, and the processor is configured to execute any of the above based on instructions stored in the memory.
- the frequency lock detection controller includes:
- the first flip-flop the trigger terminal of which receives the input signal of the phase-locked loop, the output terminal of which is connected to the input terminal of the first flip-flop through a first inverter, and the first flip-flop is in the phase-locked loop.
- the falling edge of the input signal of the ring is triggered, and the first trigger outputs a selection control signal for controlling the multiplexer;
- the AND gate the first input terminal of which is connected to the output terminal of the first flip-flop, the second output terminal of which receives the input signal of the phase-locked loop, and the output terminal of which outputs the lock indication signal of the phase-locked loop;
- the second trigger has its trigger terminal connected to the output terminal of the first trigger, and its input terminal receives the high potential of the power supply voltage. The rising edge is triggered, and the second flip-flop outputs a reset control signal for resetting and releasing the actual feedback frequency divider of the phase-locked loop and each output frequency divider;
- a third flip-flop the input terminal of which is connected to the output terminal of the first flip-flop, the trigger terminal of which inputs a feedback clock signal, the second flip-flop is triggered on the rising edge of the feedback clock signal, and the second trigger
- the output terminal of the inverter is connected to the reset terminal of the counting module through the second inverter;
- the counter module whose input clock terminal receives the feedback clock signal, and its enable terminal receives the input signal of the phase-locked loop, the counting module is used for timing, and waits for a predetermined value after the output signal of the frequency lock detection circuit is pulled high At time, output a signal to the frequency lock detection circuit to reset the frequency lock detection circuit.
- the lock detection method of the phase-locked loop, the phase-locked loop and the frequency-locked detection controller provided by the present invention adopt two phase-locked loop locking technology: the first phase-locked loop lock is purely for locking the frequency of the phase-locked loop. There is no requirement for the reset sequence of digital logic and power supply stability; when the frequency is locked for the first time, an internal flag signal is generated to reset all the digital dividers (phase align) adjustment At this time, the output clock of the phase-locked loop voltage-controlled oscillator is normal (no glitch), and the power supply voltage is stable. There is almost no risk to the phase bonding function required for digital circuit design. At this time, it will be tested by the lock detection circuit. The output signal is output as the lock indication signal of the phase-locked loop.
- the scheme provided by the present invention can ensure the correctness of the circuit logic function, and has simple logic, high reliability and small occupied area.
- Figure 1 is a block diagram of a traditional phase-locked loop system
- FIG. 2 is a flowchart of a lock detection method of a phase-locked loop provided by an embodiment of the present invention
- FIG. 3 is a schematic structural diagram of a phase-locked loop provided by an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a frequency lock detection controller provided by an embodiment of the present invention.
- FIG. 5 is a schematic diagram of a timing sequence of a phase-locked loop locking process provided by an embodiment of the present invention.
- An embodiment of the present invention provides a lock detection method of a phase-locked loop. As shown in FIG. 2, the lock detection method includes:
- the first locking process the frequency of the phase locked loop is locked for the first time until the built-in voltage regulator of the phase locked loop stabilizes, wherein the digital logic is reset during the first locking process Timing and whether the power supply is stable are not required.
- the stability of the built-in voltage stabilizer of the phase-locked loop means that the built-in voltage stabilizer of the phase-locked loop is stable or nearly stable, otherwise the lock signal (LOCK signal) of the phase-locked loop will not be pulled high.
- phase-locked loop power supply is close to stable or has stabilized.
- the second locking process after the built-in voltage regulator of the phase-locked loop is stable, the phase-locked loop performs a second locking process, and the voltage-controlled oscillator output clock of the phase-locked loop has no glitches at this time , The power supply voltage is stable, and the complex functions including phase alignment adjustment and duty cycle synthesis are realized;
- the phase-locked loop lock detection method of this embodiment uses two frequency locks.
- the first frequency lock process is to wait for the built-in voltage regulator to stabilize.
- the reset sequence of the digital logic and whether the power supply is stable is not done.
- the second frequency locking process is to realize the phase alignment adjustment between the output frequency dividers of the phase-locked loop; at this time, the output clock of the voltage-controlled oscillator of the phase-locked loop is normal and the power supply voltage is stable.
- the phase bonding function required for digital circuit design has almost no risk. After the output clock of the voltage-controlled oscillator of the phase-locked loop is normal and the power supply voltage is stable, the output signal of the lock detection circuit of the phase-locked loop is output as the lock indication signal of the phase-locked loop.
- the built-in voltage regulator of the phase-locked loop when the built-in voltage regulator of the phase-locked loop is turned on and the output voltage reaches a preset threshold that enables the phase-locked loop of the phase-locked loop to start working, the first locking process is started to start the The frequency of the phase-locked loop is locked.
- the clock frequency division of the feedback signal can be completed by a simple frequency divider and input to the frequency discriminator of the phase-locked loop.
- a simple frequency divider can be used in the PLL loop for the first lock, which has strong reliability.
- the reset sequence of the digital logic and whether the power supply is stable during the lock process when the phase locked loop is first locked After the secondary frequency lock indicator signal is pulled high, the representative built-in voltage regulator is stable, and it switches to the actual feedback frequency divider of the phase-locked loop, and each output frequency divider starts to work, and the phase-locked loop performs the second lock process; After the voltage-controlled oscillator output clock of the phase-locked loop has no glitches and the power supply voltage is stable, the logic circuit work of complex functions such as phase alignment adjustment is started; finally, the output signal of the lock detection circuit of the phase-locked loop It is output as a lock indication signal of the phase-locked loop.
- the simple frequency divider means that the frequency divider only completes the frequency division function, without other complex logic functions such as phase alignment, duty cycle synthesis, and so on.
- "Simple” mainly refers to simple functions and simple circuit structures. Therefore, if the power supply is unstable at the initial stage, or the output clock of the voltage-controlled oscillator has a glitch at the initial stage, the frequency divider can always divide the frequency correctly, and the phase-locked loop can finally wait until the power supply is stable. The simple frequency divider divides the frequency correctly, thus the PLL Correctly achieve the first lock frequency.
- the actual feedback frequency divider of the phase-locked loop is a complex frequency divider as opposed to the simple frequency division, and the complex frequency divider (which can achieve complex functions such as phase alignment and duty cycle synthesis) has glitches in the initial input clock. Or the power supply is unstable and affects normal operation. Even if the output power of the phase-locked loop LDO is finally stable, functions such as phase alignment and duty cycle synthesis cannot be realized later.
- the complex frequency divider means that in addition to the frequency division, it also needs to implement complex functions such as phase alignment and duty cycle synthesis.
- the circuit structure is very complex, and there are clear requirements for the initial state of the circuit.
- the output frequency divider of field programmable logic gate array must meet the control functions of programmable frequency division ratio, programmable phase, programmable duty cycle, etc., and have high levels of timing, reset, and power supply stability. Requirements.
- the simple frequency divider is designed or selected to avoid the strict requirements on power supply and reset sequence when the complex frequency divider is working, so that the frequency division can work normally.
- the structure is simple and the layout area is small.
- the first lock is only the primary stage of the frequency lock of the phase-locked loop, and does not output a frequency lock signal.
- Simple frequency divider mainly whether the power supply is stable or the VCO output clock is stable, the output frequency division function will not be affected too much, so that the first frequency lock detection PLL locks, waits for the LDO output to stabilize and provide a stable voltage Give PLL analog and digital logic circuits. If the output divider directly starts working under the condition that the power supply and LDO output are not stable, the initial state is uncertain, and it is possible that the output divider divider0 ⁇ n may not function properly. This circuit is mainly to achieve complex functions, comparing frequency division, phase adjustment, phase synchronization and other functional requirements.
- the purpose of using two frequency lock detections is mainly Yes: Through the first lock, it is mainly to prove that the LDO output power supply voltage has been stable or close to stability, otherwise, the PLL output frequency will not be stable, and the indication output by the frequency detection (LOCK-DETECTOR) circuit will not be pulled up; Then after the internal LOCK indicator signal is pulled high, it means that the power supply is basically stable and the VCO output clock will not have glitches, because when the voltage is close to or has reached the normal value, the VCO output clock is normal.
- the digital logic power supply LDO output is stable, and the first internal lock indicator signal is used to generate a feedback divider selection signal (selection control signal of the multiplexer) and a reset control signal, and the feedback divider is divided from the simple frequency Switch to the actual feedback divider, and at the same time serve as the reset release signal of the PLL output divider divider0 ⁇ n and the feedback divider DIVIDER_FB.
- the PLL output divider divider0 ⁇ n and the feedback divider DIVIDER_FB.
- it can reliably realize the complex functions of the PLL, such as phase alignment. That is, further, at the end of the first lock process: reset and release the actual feedback frequency divider and each output frequency divider of the phase-locked loop, so as to facilitate the subsequent second frequency lock.
- a selection control signal (FBSEL) is generated to complete the work switch between the simple frequency divider and the actual feedback frequency divider of the phase-locked loop, so that the feedback signal passes through the actual feedback frequency divider of the phase-locked loop
- the clock frequency division is completed and input to the frequency discriminator of the phase-locked loop.
- the first frequency lock after the first frequency lock is completed, it further includes: detecting the output signal of the frequency lock detection circuit; when it is detected that the output signal is pulled high, wait for a predetermined time, and reset the frequency lock detection circuit. The detection result does not affect the subsequent frequency lock detection result during the second frequency lock.
- the clock frequency division of the feedback signal is completed by the actual feedback frequency divider of the phase-locked loop and input to the phase-frequency discriminator of the phase-locked loop.
- each output frequency divider of the phase-locked loop performs phase alignment adjustment.
- the embodiment of the present invention also provides a phase-locked loop.
- the phase-locked loop usually includes a phase frequency detector (PFD, Phase Frequency Detector), a charge pump (CP, charge pump), and a low-pass filter.
- PFD Phase Frequency Detector
- CP charge pump
- LPF Low-pass filter
- VCO voltage-controlled oscillator
- DIVIVDERF actual feedback frequency divider of the phase-locked loop
- LOCK CONTROL frequency lock detection circuit
- FREQ LOCK DETECT Frequency lock detection controller
- SIMPLE DIVIDERF simple frequency divider
- MUX multiplexer
- the frequency lock detection controller is used to generate corresponding control signals according to the output signal state of the frequency lock detection circuit to control the frequency lock detection circuit, the actual feedback frequency divider of the phase-locked loop, and the simple frequency divider
- the working state of the multiplexer; the simple frequency divider is used to clock the feedback signal in the first lock process under the control of the frequency lock detection controller; the first input end of the multiplexer is connected to the The output end of the actual feedback frequency divider of the phase-locked loop, the second input end of the multiplexer is connected to the output end of the simple frequency divider, and the control end of the multiplexer is connected to the frequency lock
- the feedback input terminal of the detection controller, the output terminal of the multiplexer is connected to the phase-frequency detector of the phase-locked loop, and the multiplexer is used to control the frequency lock detection controller under the control of the frequency lock detection controller.
- One of the output signal of the actual feedback frequency divider of the phase-locked loop and the output signal of the simple frequency divider is selected as the feedback signal and output to
- a frequency lock detection controller In this embodiment, a frequency lock detection controller, a simple frequency divider and a multiplexer are added on the basis of a commonly used phase-locked loop system.
- the frequency lock detection controller generates a corresponding control signal according to the output signal state of the frequency lock detection circuit, and controls the working state of the frequency lock detection circuit and the simple frequency divider.
- the simple frequency divider completes the clock frequency division and feeds back the output clock to the frequency discriminator according to the state of its own control signal.
- the simple frequency divider is opposite to the complex frequency divider, which can avoid the strict requirements on the power supply and reset sequence when the complicated frequency divider is working.
- the phase-locked loop provided in this embodiment adopts a frequency lock detection mechanism twice to ensure the correctness of the circuit sequence and function.
- the first locking process is to wait for the built-in voltage regulator to stabilize, so that the phase-locked loop analog VCO output clock is continuously and stably output , And then use the first internal locking flag as the reset signal of phase bonding (phase bonding) which is more demanding for the phase locked loop, and then the phase locked loop enters the frequency re-locking process; the second locking process is to achieve all outputs of the phase locked loop Phase alignment between dividers.
- the frequency lock detection controller is also connected to the actual feedback frequency divider of the phase-locked loop and each output frequency divider, and the frequency lock detection controller is also used to control the phase-locked loop through a simple frequency divider. After completing the first locking of the frequency of the phase-locked loop, a reset control signal for resetting and releasing the actual feedback frequency divider of the phase-locked loop and each output frequency divider is generated.
- LOCK CONTROL frequency lock controller
- the first flip-flop the trigger terminal of which receives the input signal LOCKIN of the phase-locked loop, and the output terminal of which is connected to the input terminal of the first flip-flop through a first inverter.
- the falling edge of the input signal LOCKIN of the phase loop is triggered, and the first flip-flop outputs a selection control signal FBSEL for controlling the multiplexer;
- the AND gate (&) its first input terminal is connected to the output terminal of the first flip-flop, its second output terminal receives the input signal LOCKIN of the phase-locked loop, and its output terminal outputs the lock indication of the phase-locked loop Signal LOCK;
- a second flip-flop the trigger terminal of which is connected to the output terminal of the first flip-flop, the input terminal of which is input with a high potential of the power supply voltage, and the second flip-flop outputs the selection control signal FBSEL of the first flip-flop The rising edge of is triggered, and the second flip-flop outputs a reset control signal RSTN_ODIV for resetting and releasing the actual feedback frequency divider of the phase-locked loop and each output frequency divider;
- the third flip-flop the input terminal of which is connected to the output terminal of the first flip-flop, the trigger terminal of which inputs the feedback clock signal REFCLK, the second flip-flop is triggered on the rising edge of the feedback clock signal REFCLK, the first The output terminal of the second flip-flop is connected to the reset terminal RSTN of the following counting module through the second inverter;
- the counter module whose input clock terminal CLK receives the feedback clock signal REFCLK, and its enable terminal receives the input signal LOCKIN of the phase-locked loop, the counting module is used for timing, and the output signal of the frequency lock detection circuit is pulled high After waiting for a predetermined time, a signal RST_N is output to the frequency lock detection circuit to reset the frequency lock detection circuit.
- the input signal LOCKIN of the phase-locked loop is used as the clock input of the flip-flop (DFF), the falling edge is valid, and the selection control signal FBSEL of the multiplexer is generated, and the selection control signal FBSEL is used to control the multiplexer to realize the feedback frequency division Switching of the device; at the same time, a reset control signal RSTN_DIV is generated using the rising edge of the selection control signal FBSEL.
- the counter in the frequency lock controller counts several clock cycles and generates a reset signal RSTN, which is first pulled down, then pulled up, resets the frequency lock detection circuit once and then released; then the PLL divides the new feedback frequency The frequency detector is locked for the second time.
- the main purpose of this circuit is that after the internal LOCKIN is pulled high, in the frequency lock detection controller, the frequency lock detection circuit is automatically reset and released after a few clock cycles using the counter. At this time, LOCKIN will generate a falling edge. Use this The falling edge divide by 2 circuit will generate a control signal FBSEL to pull high when this falling edge is detected, and the feedback divider will switch from the simple divider to the complex divider (that is, the actual feedback divider of the phase-locked loop) ; Then the frequency lock detection circuit starts the second frequency detection. After the frequency lock is pulled high, the LOCKIN and FBSEL signals are summed, and the resulting LOCK signal is used as the final output lock signal of the phase-locked loop.
- the frequency lock controller In the first frequency lock detection process, the frequency lock controller (LOCK CONTROL) outputs the FBSEL control signal and selects the output of the simple divider (SIMPLE DIVIDER) as the feedback clock and sends it to the PFD module. At the same time, in order to save power consumption, the frequency lock controller outputs a reset control signal RSTN_DIV to make the actual feedback divider (DIVIDERF) of the phase-locked loop and all output dividers (DIVIDER0/1/.../n) in a reset state.
- DIVIDERF actual feedback divider
- DIVIDER0/1/.../n all output dividers
- the frequency lock controller When the frequency is locked for the first time, after the frequency lock controller detects that the output signal LOCKIN of the frequency lock detection is pulled up, it waits for a few cycles and then outputs the signal RSTN to reset the frequency lock detection module, and outputs the feedback selection control signal FBSEL, which will
- the control multiplexer selects the actual feedback divider output signal of the phase-locked loop as the feedback clock and sends it to the PFD, and the module releases the reset control signal RSTN_DIV, the actual feedback divider of the phase-locked loop and all output dividers start Work, RSTN_DIV also closes the counter through the internal LOGIC module, and the second lock detection process ends at this time.
- the LOCKIN signal and the internal signal output the final lock detection signal through the AND gate logic.
- the invention provides a two-time frequency locking technique for avoiding the risk of unstable output voltage of the phase-locked loop LDO power-on, which can ensure the correctness of the circuit logic function, reduce the layout area, and monitor whether the phase-locked loop power supply output is stable.
- An embodiment of the present invention also provides a frequency lock detection controller, including: a memory; and a processor coupled to the memory, the processor is configured to enable a phase-locked loop based on instructions stored in the memory Perform the frequency lock detection method as described in any of the appeals.
- the frequency lock detection controller can also be implemented by using other hardware other than FIG. 4, or in a manner of hardware plus software.
- the program can be stored in a computer readable storage medium. During execution, it may include the procedures of the above-mentioned method embodiments.
- the storage medium can be a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
Landscapes
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
Abstract
Description
Claims (10)
- 一种锁相环的锁定检测方法,其特征在于,包括:第一次锁定过程:对所述锁相环的频率进行第一次锁定,直至所述锁相环的内置稳压器稳定,其中,所述第一次锁定过程中对数字逻辑的复位时序以及电源是否稳定不做要求;第二次锁定过程:当所述锁相环的内置稳压器稳定之后,对所述锁相环的频率进行第二次锁定,直至所述锁相环的压控振荡器输出时钟没有毛刺且电源电压稳定,以实现所述锁相环的各输出分频器之间的相位对齐调整以及占空比合成;将所述锁相环的锁定检测电路的输出信号作为所述锁相环的锁定指示信号输出。
- 根据权利要求1所述的锁相环锁定检测方法,其特征在于,在所述锁相环内置稳压器开启且输出电压达到能使所述锁相环的锁相环路开始工作的预设阈值时,启动所述第一次锁定过程,开始对所述锁相环的频率进行第一次锁定。
- 根据权利要求1所述的锁相环锁定检测方法,其特征在于,在所述第一次锁定过程中,通过简易分频器完成反馈信号的时钟分频并将分频后的反馈信号输入到所述锁相环的鉴频鉴相器,所述简易分频器指仅完成分频功能的分频器。
- 根据权利要求3所述的锁相环锁定检测方法,其特征在于,在所述第一次锁定过程结束时:产生一个复位控制信号,以使所述锁相环的实际反馈分频器和各输出分频器进行复位释放,同时产生一个选择控制信号,以完成简易分频器与所述锁相环的实际反馈分频器之间的工作切换,使反馈信号通过所述锁相环的实际反馈分频器完成时钟分频并将分频后的反馈信号输入到所述锁相环的鉴频鉴相器。
- 根据权利要求4所述的锁相环锁定检测方法,其特征在于,当完成第一次频率锁定后,还包括:检测频率锁定检测电路的输出信号;当检测到频率锁定检测电路的输出信号拉高后等待预定时间,复位所述频率锁定检测电路。
- 根据权利要求1-5任一项所述的锁相环锁定检测方法,其特征在于,在所述第二次锁定过程中,通过所述锁相环的实际反馈分频器完成反馈信号的时钟分频并将分频后的反馈信号输入到所述锁相环的鉴频鉴相器。
- 一种锁相环,包括:所述锁相环的实际反馈分频器和频率锁定检测电路,其特征在于,还包括:频率锁定检测控制器、简易分频器和多路选择器,所述简易分频器指仅完成分频功能的分频器;所述频率锁定检测控制器用于根据所述频率锁定检测电路的输出信号状态产生相应控制信号,以控制所述频率锁定检测电路、所述锁相环的实际反馈分频器和所述简易分频器的工作状态;所述简易分频器用于在所述频率锁定检测控制器的控制下在第一次锁定过程对反馈信号进行时钟分频;所述多路选择器的第一输入端连接所述锁相环的实际反馈分频器的输出端,所述多路选择器的第二输入端连接所述简易分频器的输出端,所述多路选择器的控制端连接所述频率锁定检测控制器的反馈输入端,所述多路选择器的输出端连接所述锁相环的鉴频鉴相器,所述多路选择器用于在所述频率锁定检测控制器的控制下,在所述锁相环的实际反馈分频器的输出信号和所述简易分频器的输出信号中选择一个作为反馈信号输出至所述鉴频鉴相器。
- 根据权利要求7所述的锁相环,其特征在于,所述频率锁定检测控制器还与所述锁相环的实际反馈分频器和各输出分频器相连,所述频率锁定检测控制器还用于在通过简易分频器对所述锁相环的频率完成第一次锁定后,生成使所述锁相环的实际反馈分频器和各输出分频器进行复位释放的复位控制信号。
- 根据权利要求7或8所述的锁相环,其特征在于,所述频率锁定检测控制器包括:第一触发器,其触发端接收所述锁相环的输入信号,其输出端通过第一反相器连接至所述第一触发器的输入端,所述第一触发器在所述锁相环的输入信号的下降沿被触发,所述第一触发器输出用于控制所述多路选择器的选择控制信号;与门,其第一输入端与所述第一触发器输出端相连,其第二输出端接收所述锁相环的输入信号,其输出端输出所述锁相环的锁定指示信号;第二触发器,其触发端与所述第一触发器输出端相连,其输入端接收电源电压的高电位,所述第二触发器在所述第一触发器输出的所述选择控制信号的上升沿被触发,所述第二触发器输出用于使所述锁相环的实际反馈分频器和各输出分频器进行复位释放的复位控制信号;第三触发器,其输入端与所述第一触发器输出端相连,其触发端输入反馈时钟信号,所述第二触发器在所述反馈时钟信号的上升沿被触发,所述第二触发器输出端通过第二反相器连接至计数模块的复位端;计数器模块,其输入时钟端接收所述反馈时钟信号,其使能端接收所述锁相环的输入信号,所述计数模块用于计时,并在频率锁定检测电路的输出信号拉高后等待预定时间,输出一信号至所述频率锁定检测电路,以复位所述频率锁定检测电路。
- 一种频率锁定检测控制器,其特征在于,包括:存储器;以及耦接至所述存储器的处理器,所述处理器被配置为基于存储在所述存储器中的指令,使锁相环执行如权利要求1至6中任一项所述的频率锁定检测方法。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020227031051A KR20220139363A (ko) | 2020-03-18 | 2020-07-28 | 위상 고정 루프의 고정 검출 방법, 위상 고정 루프 및 그 주파수 고정 검출 컨트롤러 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010194504.7 | 2020-03-18 | ||
CN202010194504.7A CN111371451B (zh) | 2020-03-18 | 2020-03-18 | 锁相环的锁定检测方法、锁相环及其频率锁定检测控制器 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021184632A1 true WO2021184632A1 (zh) | 2021-09-23 |
Family
ID=71212013
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/105104 WO2021184632A1 (zh) | 2020-03-18 | 2020-07-28 | 锁相环的锁定检测方法、锁相环及其频率锁定检测控制器 |
Country Status (3)
Country | Link |
---|---|
KR (1) | KR20220139363A (zh) |
CN (1) | CN111371451B (zh) |
WO (1) | WO2021184632A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114095016A (zh) * | 2021-11-25 | 2022-02-25 | 宁波奥拉半导体有限公司 | 采样锁相环电路、方法、时钟发生器及电子设备 |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111371451B (zh) * | 2020-03-18 | 2023-02-28 | 深圳市紫光同创电子有限公司 | 锁相环的锁定检测方法、锁相环及其频率锁定检测控制器 |
CN113848384A (zh) * | 2021-09-22 | 2021-12-28 | 浙江大学 | 一种基于鉴频鉴相器的高精度反馈式频率测量装置及方法 |
CN116094518B (zh) * | 2022-12-30 | 2024-04-05 | 成都电科星拓科技有限公司 | 一种高精度全数字锁相环环路的复位方法 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5278520A (en) * | 1992-10-26 | 1994-01-11 | Codex, Corp. | Phase lock detection in a phase lock loop |
CN103684432A (zh) * | 2013-12-05 | 2014-03-26 | 龙芯中科技术有限公司 | 多相位时钟产生系统的时钟锁定方法及装置 |
US10243573B1 (en) * | 2018-03-27 | 2019-03-26 | Texas Instruments Incorporated | Phase syncronizing PLL output across reference and VCO clock domains |
CN110729996A (zh) * | 2019-11-12 | 2020-01-24 | 中电科仪器仪表有限公司 | 一种小型化两次锁相的锁相环电路及方法 |
CN110808735A (zh) * | 2019-11-18 | 2020-02-18 | 华南理工大学 | 一种快速频率锁定的数模混合锁相环 |
CN111371451A (zh) * | 2020-03-18 | 2020-07-03 | 深圳市紫光同创电子有限公司 | 锁相环的锁定检测方法、锁相环及其频率锁定检测控制器 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8854095B2 (en) * | 2012-11-12 | 2014-10-07 | Stmicroelectronics International N.V. | Fast lock acquisition and detection circuit for phase-locked loops |
KR101735147B1 (ko) * | 2013-05-22 | 2017-05-15 | 매그나칩 반도체 유한회사 | Dll 회로 장치 및 그의 dll 락킹 방법 |
US9397673B2 (en) * | 2014-04-23 | 2016-07-19 | Telefonaktiebolaget L M Ericsson (Publ) | Oscillator crosstalk compensation |
CN108631774B (zh) * | 2017-03-22 | 2021-07-13 | 中芯国际集成电路制造(上海)有限公司 | 锁相环及其启动电路、启动方法 |
-
2020
- 2020-03-18 CN CN202010194504.7A patent/CN111371451B/zh active Active
- 2020-07-28 KR KR1020227031051A patent/KR20220139363A/ko unknown
- 2020-07-28 WO PCT/CN2020/105104 patent/WO2021184632A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5278520A (en) * | 1992-10-26 | 1994-01-11 | Codex, Corp. | Phase lock detection in a phase lock loop |
CN103684432A (zh) * | 2013-12-05 | 2014-03-26 | 龙芯中科技术有限公司 | 多相位时钟产生系统的时钟锁定方法及装置 |
US10243573B1 (en) * | 2018-03-27 | 2019-03-26 | Texas Instruments Incorporated | Phase syncronizing PLL output across reference and VCO clock domains |
CN110729996A (zh) * | 2019-11-12 | 2020-01-24 | 中电科仪器仪表有限公司 | 一种小型化两次锁相的锁相环电路及方法 |
CN110808735A (zh) * | 2019-11-18 | 2020-02-18 | 华南理工大学 | 一种快速频率锁定的数模混合锁相环 |
CN111371451A (zh) * | 2020-03-18 | 2020-07-03 | 深圳市紫光同创电子有限公司 | 锁相环的锁定检测方法、锁相环及其频率锁定检测控制器 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114095016A (zh) * | 2021-11-25 | 2022-02-25 | 宁波奥拉半导体有限公司 | 采样锁相环电路、方法、时钟发生器及电子设备 |
CN114095016B (zh) * | 2021-11-25 | 2023-01-24 | 宁波奥拉半导体股份有限公司 | 采样锁相环电路、方法、时钟发生器及电子设备 |
Also Published As
Publication number | Publication date |
---|---|
KR20220139363A (ko) | 2022-10-14 |
CN111371451B (zh) | 2023-02-28 |
CN111371451A (zh) | 2020-07-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021184632A1 (zh) | 锁相环的锁定检测方法、锁相环及其频率锁定检测控制器 | |
JP3665536B2 (ja) | 広帯域遅延ロックループ回路 | |
KR940005934B1 (ko) | 위상차 검출회로 | |
US7759990B2 (en) | Clock switching circuit | |
US9680484B2 (en) | Clock conditioner circuitry with improved holdover exit transient performance | |
JP4077979B2 (ja) | 半導体集積回路装置 | |
US20040066845A1 (en) | PWM controller with integrated PLL | |
KR101950320B1 (ko) | 위상 검출 회로 및 이를 이용한 동기 회로 | |
US10491222B2 (en) | Switch between input reference clocks of different frequencies in a phase locked loop (PLL) without phase impact | |
US6590949B1 (en) | Circuit and method for compensating a phase detector | |
US6853252B2 (en) | Phase-lock loop having programmable bandwidth | |
US7038508B2 (en) | Methods and apparatuses for detecting clock loss in a phase-locked loop | |
JP2002026728A (ja) | Pll回路のモード制御回路及び半導体装置 | |
US6330296B1 (en) | Delay-locked loop which includes a monitor to allow for proper alignment of signals | |
KR20040081530A (ko) | 데드존을 제거하는 지연 구간에서 발생한 클럭 트랜지션을차지 펌프 제어에 반영하는 위상/주파수 검출기 및 그위상/주파수 검출 방법 | |
EP1662663B1 (en) | PLL circuit | |
JP7420537B2 (ja) | 位相ロックループ回路 | |
US6954510B2 (en) | Phase-locked loop lock detector circuit and method of lock detection | |
US8432191B2 (en) | Phase-locked loop having high-gain mode phase-frequency detector | |
US6990165B2 (en) | Phase and frequency lock detector | |
US7327199B1 (en) | Phase-locked loop (PLL) device and method for entering a test mode without a dedicated test pin | |
JPH0621811A (ja) | 分周器同期回路 | |
JPH11289253A (ja) | Pll回路 | |
JP2013213715A (ja) | 半導体装置とそのテスト方法 | |
JP3796908B2 (ja) | 位相ロック検査回路、およびこれを備えたクロック生成装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20925423 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 20227031051 Country of ref document: KR Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 20.02.2023.) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20925423 Country of ref document: EP Kind code of ref document: A1 |