A circuit and method for improving stable operation of phase-locked loop

By introducing a detector and FPGA control module into the phase-locked loop circuit, the power supply state of the phase-locked loop is dynamically controlled, which solves the problem that the reference clock input sequence of the phase-locked loop is not constant when the phase-locked loop is powered on, and improves the stability of the phase-locked loop.

CN119543926BActive Publication Date: 2025-06-06CHENGDU SHIYUAN FREQUENCY CONTROL TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510105104.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-06-06
Estimated Expiration
2045-01-23

Smart Images

  • Figure CN119543926B_ABST
    Figure CN119543926B_ABST
Patent Text Reader

Abstract

The present invention discloses a circuit and method for improving the stable operation of a phase-locked loop, which belongs to the field of electronic technology and mainly solves the technical problem that the phase-locked loop is unstable when the sequence between the power-on operation of the phase-locked loop and the input of a reference clock is not constant. The circuit includes a phase-locked loop, and also includes a one-to-two power divider whose output end is connected to the phase-locked loop and is used to divide the reference clock power into two paths, a detector whose input end is connected to the other output end of the one-to-two power divider, a comparator whose input end is connected to the output end of the detector, an FPGA control module connected to the output end of the comparator and connected to the phase-locked loop, and a power supply module for powering the phase-locked loop and the FPGA control module. The present invention controls an analog switch through an FPGA to power on the phase-locked loop, configures a register for the phase-locked loop, and improves the stability of the phase-locked loop.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of electronic technology, and in particular relates to a circuit and a method for improving the stable operation of a phase-locked loop. Background Art

[0002] Frequency source is the basic signal source of electronic system. In modern electronic technology, the system is becoming more and more complex. The system cannot evaluate the timing between the power-on of the phase-locked loop and the reference clock input. The timing between the power-on of the phase-locked loop and the reference clock input is not constant, which can easily cause the timing to be disordered when the FPGA configures the registers for the phase-locked loop, resulting in unstable operation of the phase-locked loop and loss of lock. There is an urgent need for a method to improve the stability of the phase-locked loop. Summary of the invention

[0003] The purpose of the present invention is to provide a circuit and method for improving the stable operation of a phase-locked loop, mainly to solve the technical problem that the phase-locked loop is unstable when the sequence between the power-on operation of the phase-locked loop and the reference clock input is not constant.

[0004] To achieve the above purpose, the technical solution adopted by the present invention is as follows:

[0005] A circuit for improving the stable operation of a phase-locked loop comprises a phase-locked loop, and also comprises a one-to-two power divider whose output end is connected to the phase-locked loop and is used to divide the power of a reference clock into two paths, a detector whose input end is connected to the other output end of the one-to-two power divider, a comparator whose input end is connected to the output end of the detector, an FPGA control module connected to the output end of the comparator and to the phase-locked loop, and a power supply module for supplying power to the phase-locked loop and the FPGA control module.

[0006] Furthermore, in the present invention, the power supply module includes a first linear regulator and a second linear regulator of an external input power supply; wherein the output end of the first linear regulator is directly connected to the FPGA control module, and the output end of the second linear regulator is connected to the phase-locked loop after an analog switch; the analog switch is also connected to the FPGA control module.

[0007] Furthermore, in the present invention, the analog switch adopts a single-pole double-throw switch, the input end of the single-pole double-throw switch is connected to the output end of the second linear regulator, the control end of the single-pole double-throw switch is connected to the FPGA control module, one output end of the single-pole double-throw switch is connected to the phase-locked loop, and the other output end of the single-pole double-throw switch is grounded after a resistor R.

[0008] Based on the above circuit, the present invention also provides a method for improving the stable operation of a phase-locked loop, comprising the following steps:

[0009] S1, using the detector to detect the external input reference clock and transmit the signal to the comparator, the FPGA control module receives the output level of the comparator, if it is a low level, it goes to step S2, if it is a high level, it goes to step S3;

[0010] S2, FPGA control module output level controls analog switch to power off the phase-locked loop;

[0011] S3, FPGA control module output level controls analog switch to power the phase-locked loop;

[0012] S4, the FPGA control module configures the registers for the phase-locked loop to avoid an inconsistent sequence between the phase-locked loop power-on operation and the reference clock input.

[0013] Compared with the prior art, the present invention has the following beneficial effects:

[0014] The present invention detects an external reference clock input through a detector, and then the FPGA controls the analog switch to power on the phase-locked loop and configure the register for the phase-locked loop, thereby avoiding the problem of phase-locked loop loss of lock due to disordered configuration timing of the phase-locked loop register when the order between the phase-locked loop power-on and the reference clock input is not constant, thereby improving the stability of the phase-locked loop operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is the overall principle block diagram of the present invention.

[0016] Figure 2 Flow chart of the method of the present invention. DETAILED DESCRIPTION

[0017] The present invention is further described below in conjunction with the accompanying drawings and embodiments. The embodiments of the present invention include but are not limited to the following embodiments.

[0018] like Figure 1 As shown, the present invention discloses a circuit for improving the stable operation of a phase-locked loop, including a phase-locked loop, and also including a one-to-two power divider whose output end is connected to the phase-locked loop for dividing the reference clock power into two paths, a detector whose input end is connected to the other output end of the one-to-two power divider, a comparator whose input end is connected to the output end of the detector, an FPGA control module connected to the output end of the comparator and connected to the phase-locked loop, and a power supply module for powering the phase-locked loop and the FPGA control module. The external input reference clock power is divided into two paths, one path provides a reference clock signal for the phase-locked loop, and the other path is detected by the detector. The detection level output by the detector is then compared by the comparator, and the output LVTTL level is fed back to the PPGA control module. The external input power supply is stabilized by a linear regulator and then input to an analog switch. The FPGA controls the analog switch to output a voltage to power the phase-locked loop, and the phase-locked loop outputs a signal.

[0019] When the FPGA control module receives a low level output from the comparator, it indicates that there is no reference clock input. The FPGA control module controls the analog switch to power off the phase-locked loop and does not configure the register for the phase-locked loop. When the FPGA receives a high level output from the comparator, it indicates that there is a reference clock input. The FPGA control module controls the analog switch to power on the phase-locked loop and configure the register for the phase-locked loop.

[0020] In this embodiment, the power supply module includes a first linear regulator and a second linear regulator with an external input power supply; wherein the output end of the first linear regulator is directly connected to the FPGA control module, and the output end of the second linear regulator is connected to the phase-locked loop through an analog switch; and the analog switch is also connected to the FPGA control module. The analog switch adopts a single-pole double-throw switch, the input end of the single-pole double-throw switch is connected to the output end of the second linear regulator, the control end of the single-pole double-throw switch is connected to the FPGA control module, one output end of the single-pole double-throw switch is connected to the phase-locked loop, and the other output end of the single-pole double-throw switch is grounded through a resistor R.

[0021] like Figure 2 As shown, based on the above circuit, the present invention also provides a method for improving the stable operation of a phase-locked loop, comprising the following steps:

[0022] S1, using the detector to detect the external input reference clock and transmit the signal to the comparator, the FPGA control module receives the output level of the comparator, if it is a low level, it goes to step S2, if it is a high level, it goes to step S3;

[0023] S2, FPGA control module output level controls analog switch to power off the phase-locked loop;

[0024] S3, FPGA control module output level controls analog switch to power the phase-locked loop;

[0025] S4, the FPGA control module configures the registers for the phase-locked loop to avoid an inconsistent sequence between the phase-locked loop power-on operation and the reference clock input.

[0026] Through the above design, the present invention detects that there is an external reference clock input through the detector, and the FPGA controls the analog switch to power on the phase-locked loop and configure the register for the phase-locked loop, thereby avoiding the problem of phase-locked loop loss of lock due to disordered configuration timing of the phase-locked loop register when the sequence between the phase-locked loop power-on and the reference clock input is not constant, thereby improving the stability of the phase-locked loop operation.

[0027] The above embodiment is only one of the preferred implementation modes of the present invention and should not be used to limit the protection scope of the present invention. Any changes or modifications that are made to the main design concept and spirit of the present invention and have no substantive significance, and the technical problems they solve are still consistent with the present invention, should be included in the protection scope of the present invention.

Claims

1. A circuit for improving the stable operation of a phase-locked loop, comprising a phase-locked loop, characterized in that: It also includes a one-to-two power divider whose output end is connected to the phase-locked loop and is used to divide the reference clock power into two paths, a detector whose input end is connected to the other output end of the one-to-two power divider, a comparator whose input end is connected to the output end of the detector, an FPGA control module connected to the output end of the comparator and to the phase-locked loop, and a power supply module for supplying power to the phase-locked loop and the FPGA control module; The method for this circuit to achieve stable operation is as follows: S1, using the detector to detect the external input reference clock and transmit the signal to the comparator, the FPGA control module receives the output level of the comparator, if it is a low level, it goes to step S2, if it is a high level, it goes to step S3; S2, FPGA control module output level controls analog switch to power off the phase-locked loop; S3, FPGA control module output level controls analog switch to power the phase-locked loop; S4, the FPGA control module configures the registers for the phase-locked loop to avoid an inconsistent sequence between the phase-locked loop power-on operation and the reference clock input.

2. A circuit for improving the stable operation of a phase-locked loop according to claim 1, characterized in that: The power supply module includes a first linear regulator and a second linear regulator for external input power; wherein the output end of the first linear regulator is directly connected to the FPGA control module, and the output end of the second linear regulator is connected to the phase-locked loop after passing through an analog switch; the analog switch is also connected to the FPGA control module.

3. A circuit for improving the stable operation of a phase-locked loop according to claim 2, characterized in that: The analog switch adopts a single-pole double-throw switch, the input end of the single-pole double-throw switch is connected to the output end of the second linear regulator, the control end of the single-pole double-throw switch is connected to the FPGA control module, one output end of the single-pole double-throw switch is connected to the phase-locked loop, and the other output end of the single-pole double-throw switch is grounded after a resistor R.

Citation Information

Patent Citations

  • General local oscillator source of receiver

    CN207427124U