Double-ring sub-sampling phase-locked loop clock system and electronic chip
Through the design of the double-ring subsampled phase-locked loop clock system, the adjustable pulse generator is used to adjust the pulse width and frequency in the locking stage, which solves the power consumption and noise problems in the subsampled phase-locked loop clock system, and achieves a more efficient clock Signal stability and low power consumption.
Patent Information
- Application Number
- CN202411019469.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-07-29
AI Technical Summary
The existing subsampled phase-locked loop clock system has a prominent problem of power consumption and noise when implementing frequency locking, especially due to unnecessary power consumption and noise inlet caused by charging and discharging at fixed frequency.
Using a double-ring subsampled phase-locked loop clock system, through the combination of the main loop and the frequency locking loop, the adjustable pulse generator is used to adjust the pulse width and frequency in the locking stage, reducing the frequency and noise input of the reference clock signal, and reducing the main The power consumption of the loop.
It realizes reducing the frequency and width of the pulse signal after frequency and phase locking, reducing the power consumption and noise of the system, and improving the stability and efficiency of the clock signal.
Smart Images

Figure CN119010887A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of integrated circuits, and in particular to a dual-loop sub-sampling phase-locked loop clock system and an electronic chip. Background Art
[0002] With the rise of the Internet of Things, the development speed of digital circuits is getting faster and faster, and the scale is getting larger and larger. At the same time, the requirements for clock systems are also getting higher and higher. Phase-locked loops are widely used in SOC (System on Chip). The traditional charge pump phase-locked loop (CPPLL) is a commonly used phase-locked loop clock system structure in the industry due to its high robustness, infinitely wide frequency tracking range and relatively simple circuit structure.
[0003] However, with the increasing requirements for power consumption and noise, the simple CPPLL can no longer meet the application scenarios with higher performance, and various improved frequency lock loops (PLL) have emerged. Among them, the sub-sampling phase lock loop (SSPLL) changes the traditional phase frequency detector / charge pump (PFD / CP) structure on the basis of CPPLL to directly sample the clock signal output by the voltage controlled oscillator (VCO) with the reference clock signal (Reference clock). Because the phase-locked loop often needs to multiply the clock frequency, the reference clock signal frequency used as the sampling clock is often less than the VCO output clock signal used as the sampled clock, so this structure is called a sub-sampling phase-locked loop system.
[0004] In the implementation of the sub-sampling phase-locked loop, the SSPD will be charged and discharged once every reference clock cycle, which will generate a large current and cause the SSPD to consume a lot of power. Moreover, the charging and discharging time of each SSPD is fixed, which also causes unnecessary power consumption. In addition, after adding the SSPD, the sub-sampling phase-locked loop realizes a dual-loop system, and the noise of the reference clock itself will be brought into the overall loop through each charging and discharging. Therefore, in the current implementation of the sub-sampling phase-locked loop, power consumption and noise are still important issues that need to be solved urgently. Summary of the invention
[0005] In view of this, the embodiments of the present application provide a dual-ring sub-sampling phase-locked loop clock system and an electronic chip, which can effectively solve the problems of noise and high power consumption of the current phase-locked loop clock system.
[0006] In a first aspect, an embodiment of the present application provides a dual-loop sub-sampling phase-locked loop clock system, comprising: a main loop, a frequency-locked loop, a first lock detector, and a second lock detector;
[0007] The input of the first lock detector is used to connect an external reference clock signal and a frequency-divided clock signal, and the first detection result outputted by the first lock detector is used to regulate the pulse signal in the main loop; the input of the second lock detector is connected to the reference clock signal and the frequency-divided clock signal, and the second detection result outputted by the second lock detector is used to control the working state of the frequency-locked loop;
[0008] The input of the frequency locked loop is connected to the reference clock signal and the oscillation clock signal output by the main loop; the frequency locked loop is used to perform frequency division processing on the oscillation clock signal in a first locking stage to obtain the divided clock signal, and to adjust the oscillation clock signal based on the divided clock signal and the reference clock signal until the frequency of the oscillation clock signal is locked and the phase difference is stabilized within a preset range;
[0009] The main loop includes an adjustable pulse generator, the input end of the adjustable pulse generator is connected to the reference clock signal, and the adjustable pulse generator is used to control the pulse width of the pulse signal according to the first detection result in the second locking stage, so that the main loop adjusts the amplitude of the oscillation clock signal until the phase of the oscillation clock signal is locked, and after the phase is locked, control the adjustable pulse generator to reduce the generation frequency of the pulse signal and the pulse width of the pulse signal.
[0010] In some embodiments, the adjustable pulse generator is used to control the pulse width of the pulse signal to be less than or equal to a set pulse width in a first locking stage according to the first detection result received, and to control the pulse width of the pulse signal to be equal to the set pulse width in a second locking stage according to the first detection result.
[0011] In some embodiments, in the first locking stage, the first detection result is a low level; the second detection result is a low level that is maintained for a certain period of time and then changes to a high level. When the second detection result is a low level, the frequency locking loop works; when the second detection result changes to the high level, the frequency of the oscillation clock signal is locked, and the phase difference between the oscillation clock signal and the reference clock signal is stabilized within a preset range.
[0012] In some embodiments, in the second locking stage, the second detection result is a high level, which controls the closing of the frequency locking loop; the first detection result is a low level that is maintained for a certain period of time and then changes to a high level. When the first detection result changes to the high level, the phase difference between the oscillation clock signal and the reference clock signal is locked, and after the phase difference is locked, the pulse width of the pulse signal output by the adjustable pulse generator is controlled to be reduced.
[0013] In some embodiments, the adjustable pulse generator includes a pulse generation module and a pulse output module;
[0014] The pulse generating module input is connected to the reference clock signal, and the pulse generating module processes the reference clock signal to generate an initial pulse signal;
[0015] The pulse output module includes a frequency division unit and a selection unit;
[0016] The input end of the frequency division unit is connected to the output end of the pulse generation module, and the output end of the frequency division unit is connected to the second input end of the selection unit; the frequency division unit divides the initial pulse signal to obtain a divided pulse signal;
[0017] The first input end of the selection unit is connected to the output end of the pulse generation module; when the first detection result is a low level, the selection unit is controlled to use the initial pulse signal as the pulse signal output by the adjustable pulse generator; when the first detection result is a high level, the selection unit is controlled to use the divided pulse signal as the pulse signal output by the adjustable pulse generator.
[0018] In some embodiments, the first lock detector and the second lock detector have the same structure; the first lock detector includes a sampling module, a processing module and an output module;
[0019] The sampling module samples the reference clock signal and the frequency-divided clock signal to obtain a reference edge signal and a frequency-divided edge signal respectively;
[0020] The processing module processes the reference edge signal and the frequency-divided edge signal, and outputs a result signal and a control signal;
[0021] The output module processes a set number of the result signals and the control signal to obtain the first detection result.
[0022] In some embodiments, the sampling module includes a first trigger, a second trigger, and an AND gate;
[0023] The clock end of the first trigger is connected to the reference clock signal, and the clock end of the second trigger is connected to the divided clock signal; the input end of the AND gate is respectively connected to the output end of the first trigger and the output end of the second trigger; the output end of the AND gate is connected to the control end of the first trigger and the control end of the second trigger.
[0024] In some embodiments, the processing module includes an inversion processing unit, a first processing unit, and a second processing unit;
[0025] The input end of the inversion processing unit is connected to the output end of the sampling module; the inversion processing unit is used to perform inversion processing on the reference edge signal and the frequency-divided edge signal;
[0026] The first processing unit input is connected to the output end of the sampling module and the output end of the inversion processing unit; the first processing unit processes the reference edge signal and the frequency-divided edge signal after the inversion processing, and outputs the control signal;
[0027] The input of the second processing unit is connected to the output end of the inversion processing unit. The second processing unit processes the reference edge signal and the frequency-divided edge signal after the inversion processing and outputs the result signal.
[0028] In some embodiments, the first processing unit includes a processing subunit and a filtering subunit;
[0029] The processing subunit input is connected to the output end of the sampling module and the output end of the inversion processing unit, and the filtering subunit includes a filtering branch and a NAND gate; the input end of the filtering branch is connected to the output end of the processing subunit, and the output end of the filtering branch is connected to the first input end of the NAND gate; the second input end of the NAND gate is connected to the output end of the processing subunit; and the NAND gate outputs the result signal.
[0030] In a second aspect, an embodiment of the present application provides an electronic chip, wherein the electronic chip includes a clock circuit, and the clock circuit is the above-mentioned dual-loop sub-sampling phase-locked loop clock system.
[0031] The embodiments of the present application have the following beneficial effects:
[0032] When the dual-loop sub-sampling phase-locked loop system of the present application starts working, the frequency-locked loop mainly stabilizes the frequency of the oscillation clock signal output by the main loop and initially locks the phase difference within a preset range, so that the main loop can make fine phase adjustments in the second locking stage. When the phase adjustment is completed, the adjustable pulse generator is controlled to reduce the frequency of the generated pulse signal, thereby reducing the reference clock signal entering the loop to reduce the power consumption of the main loop. Based on the adjustable pulse generator, both the pulse width and the output frequency are reduced after the secondary locking, which further reduces power consumption and noise. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0034] Figure 1 A schematic diagram of the structure of a dual-loop sub-sampling phase-locked loop clock system in an embodiment of the present application is shown;
[0035] Figure 2 A schematic diagram of the control principle of SSPD and CP-M in an embodiment of the present application is shown;
[0036] Figure 3 shows a characteristic curve diagram of a sub-sampling phase detector in an embodiment of the present application;
[0037] Figure 4 A schematic diagram of a circuit structure of an adjustable pulse generator in an embodiment of the present application is shown;
[0038] Figure 5 A schematic diagram of a circuit structure of a lock detector according to an embodiment of the present application is shown.
[0039] Description of main reference numerals:
[0040] 10 - pulse generation module; 20 - pulse output module; 30 - sampling module; 40 - processing module; 50 - output module; 410 - inversion processing unit; 420 - first processing unit; 430 - second processing unit; 421 - processing subunit; 422 - filtering subunit. DETAILED DESCRIPTION
[0041] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.
[0042] The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0043] Hereinafter, the terms "including", "having" and their cognates that can be used in various embodiments of the present application are intended only to indicate specific features, numbers, steps, operations, elements, components or a combination of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or a combination of the foregoing items or increasing the possibility of one or more features, numbers, steps, operations, elements, components or a combination of the foregoing items. In addition, the terms "first", "second", "third" and the like are only used to distinguish descriptions and cannot be understood as indicating or implying relative importance.
[0044] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present application belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present application.
[0045] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0046] In the implementation of the sub-sampling phase-locked loop, the reference clock samples the positive phase clock output by the VCO and the negative phase clock output by the VCO respectively. The two voltage values (V sam , V sam-N ) respectively control the current size of the upper / lower current source of CP (I UP , I DN ), when the reference clock and the VCO clock finally reach the same phase, the current magnitude of the upper / lower current source is consistent, the control voltage remains unchanged, and the clock frequency g mLock. Among them, SSPD will charge and discharge once every reference clock cycle, that is, charging and discharging are simultaneous, which will generate a large current, resulting in a large power consumption of SSPD; and the charging and discharging time of SSPD each time is fixed, unlike PFD, which will gradually decrease as the reference clock and VCO output clock approach, which also leads to unnecessary power consumption; in addition, after adding SSPD, the sub-sampling phase-locked loop realizes a dual-loop system, removes the N divider from the main loop, so that the PFD / CP noise will no longer be multiplied by N^2 by the divider, reducing the noise; when the phase-locked loop frequency is locked, SSPD still controls the charging and discharging of CP at the same frequency as the reference clock, and the noise of the reference clock itself will be brought into the overall loop through each charge and discharge, so the noise brought by the clock itself becomes the key to further reduce the noise of the sub-sampling phase-locked loop. Therefore, in view of this situation, the present application proposes a dual-loop sub-sampling phase-locked loop clock system to reduce power consumption and noise.
[0047] The dual-loop sub-sampling phase-locked loop clock system is described below in conjunction with some specific embodiments.
[0048] Figure 1 A schematic diagram of the structure of a dual-loop sub-sampling phase-locked loop clock system of an embodiment of the present application is shown. Exemplarily, the dual-loop sub-sampling phase-locked loop clock system includes a main loop Main-Loop, a frequency locked loop FLL, a first lock detector narrow L-DET and a second lock detector L-DET.
[0049] In an embodiment of the present application, the main loop Main-Loop includes a sub-sampling phase detector SSPD, a main charge pump CP-M, an adjustable pulse generator T-Pulser, a low-pass filter LPF and a voltage-controlled oscillator VCO; a first input end of the sub-sampling phase detector SSPD is connected to an external reference clock signal ref, a second input end of the sub-sampling phase detector SSPD is connected to an output end of the voltage-controlled oscillator VCO, an output end of the sub-sampling phase detector SSPD is connected to a first input end of the main charge pump CP-M, an output end of the main charge pump CP-M is connected to an input end of the low-pass filter LPF, and an output end of the low-pass filter LPF is connected to an input end of the voltage-controlled oscillator VCO; an input end of the adjustable pulse generator T-Pulser is connected to an external reference clock signal ref and a first detection result fiag1 output by a first lock detector narrowL-DET; an output end of the adjustable pulse generator T-Pulser is connected to a second input end of the main charge pump CP-M.
[0050] In an embodiment of the present application, a frequency locked loop FLL includes a phase frequency detector PFD, a dead zone generator DZ, an auxiliary charge pump CP-S and a divider Divider; an input end of the divider Divider is connected to an output end of the main loop Main-Loop, an output end of the divider Divider is connected to a second input end of the phase frequency detector PFD, a first input end of the phase frequency detector PFD is connected to an external reference clock signal ref, an output end of the phase frequency detector PFD is connected to an input end of the dead zone generator DZ, an output end of the dead zone generator DZ is connected to an input end of the auxiliary charge pump CP-S, and an output end of the auxiliary charge pump CP-S is connected to an input end of a low-pass filter LPF.
[0051] In an embodiment of the present application, a reference input end of a first locking detector narrow L-DET is connected to a reference clock signal ref, a clock input end of the first locking detector narrow L-DET is connected to an output end of a frequency divider Divider, an output end of the first locking detector narrow L-DET is connected to a control end of an adjustable pulse generator T-Pulser, and a first detection result fiag1 output by the first locking detector narrow L-DET is used to regulate a pulse signal pul output by the adjustable pulse generator T-Pulser in the main loop Main-Loop; a reference input end of a second locking detector is connected to a reference clock signal ref, a clock input end of the second locking detector L-DET is connected to an output end of the frequency divider Divider, and a second detection result fiag2 output by the second locking detector L-DET is used to control a working state of a frequency locked loop FLL, so that the frequency locked loop FLL operates before the oscillation clock signal clk output by the main loop Main-Loop completes frequency locking, and is closed after frequency locking is achieved and the phase is stable within ±π. The frequency divider Divider adopts an N-fold frequency divider, and the frequency divider Divider performs frequency division processing on the oscillation clock signal clk according to the frequency division ratio to obtain a frequency division signal.
[0052] Specifically, in the first locking stage, the first detection result flag1 is a low level; the second detection result flag2 is a low level and maintains it for a certain period of time before changing to a high level. When the second detection result flag2 is a low level, the frequency locked loop FLL works; when the second detection result flag2 changes to a high level, the frequency of the oscillation clock signal clk is locked, and the phase difference between the oscillation clock signal clk and the reference clock signal ref is stabilized within a preset range.
[0053] Specifically, in the second locking stage, the second detection result flag2 is a high level, which controls the closing of the frequency locking loop FLL; the first detection result flag1 is a low level and maintains it for a certain period of time before changing to a high level. When the first detection result flag1 changes to a high level, the phase difference between the oscillation clock signal clk and the reference clock signal ref is locked, and after the phase difference is locked, the pulse width of the pulse signal pul output by the adjustable pulse generator T-Pulser is controlled to decrease.
[0054] In the main loop Main-Loop of the present application, the sub-sampling phase detector SSPD samples the oscillation clock signal clk output by the voltage-controlled oscillator VCO with the external reference clock signal ref, and the sampling method based on the frequency of the reference clock signal ref being less than the frequency of the oscillation clock signal clk is called sub-sampling; Figure 2 As shown, the oscillation clock signal clk includes a positive phase clock signal F VCO and the inverted clock signal F VCO-N The sub-sampling phase detector SSPD uses the reference clock signal ref to detect the positive phase clock signal F output by the voltage controlled oscillator VCO. VCO and the inverted clock signal F VCO-N The sub-sampling phase detector SSPD samples the positive phase clock signal F VCO Processing to obtain the positive phase voltage V sam , the sampled inverted clock signal F VCO-N Processing to obtain the reverse voltage V sam-N ; Positive phase voltage V sam Used to control the current size I of the first current source in the main charge pump CP-M UP , reverse voltage V sam-N Used to control the current size I of the second current source in the main charge pump CP-M down The pulse signal output by the adjustable pulse generator T-Pulser is used to simultaneously control the opening or closing of the first current source and the second current source in the main charge pump CP-M; the first current source and the second current source of the main charge pump CP-M are opened or closed following the pulse signal, and at the same time, the first current source of the main charge pump CP-M extracts according to the controlled current size, and the second current source injects according to the controlled current size, so that the main charge pump CP-M outputs the main current i CP-M .
[0055] In the frequency locked loop FLL of the present application, the phase frequency detector PFD performs phase difference and frequency identification on the reference clock signal ref and the divided clock signal div. When the phase difference signal between the reference clock signal ref and the divided clock signal div is less than or equal to a preset target, the phase frequency detector PFD cannot identify the phase difference signal, and the frequency locked loop FLL will enter the dead zone generated by the dead zone generator DZ, so that the frequency locked loop does not participate in the work; when the phase difference signal between the reference clock signal ref and the divided clock signal div is greater than the preset target, the phase frequency detector PFD can identify the phase difference signal, the frequency locked loop FLL leaves the dead zone, and the signal output by the phase frequency detector PFD controls the auxiliary charge pump CP-S through the dead zone generator DZ, so that the main charge pump CP-M outputs the auxiliary current.
[0056] The low-pass filter LPF of the present application is used for the main current i CP The control voltage vc is obtained by processing the auxiliary current; based on the input control voltage vc, the voltage-controlled oscillator VCO outputs an oscillation clock signal clk. The present application changes the control voltage vc of the voltage-controlled oscillator VCO based on the current information, thereby adjusting the frequency of the output oscillation clock signal. Specifically, the frequency of the oscillation clock signal clk is N times that of the reference clock signal ref, so when the expected frequency and phase are locked at the same time, the edge (crossing the midpoint) of the reference clock signal ref must be the flip edge (crossing the midpoint) of the oscillation clock signal clk. Therefore, if the second lock is achieved, the expected sampled positive phase voltage V sam and reverse voltage V sam-N should be the same, and thus control the two symmetrical current sources (I UP , I DN ) should also be the same, at this time the sink current and the drain current are equal, and the control voltage vc will not change. If the oscillation clock signal clk is delayed by the reference clock signal ref, then Figure 2 The positive phase voltage V sam Greater than the reverse voltage V sam-N , at this time the input current I DN Greater than the draw current I UP , the control voltage vc will increase to increase the frequency of the oscillation clock signal clk; if the oscillation clock signal clk is ahead of the reference clock signal ref, the control voltage vc will decrease to reduce the frequency of the oscillation clock signal clk;
[0057] In the first locking stage, the frequency locked loop FLL is dominant, that is, the frequency locked loop FLL is mainly controlled to lock the frequency of the oscillation clock signal clk, and the phase difference is stable within the preset range. At this time, the control effect of the main loop Main-Loop is reduced. Since the sub-sampling phase detector SSPD only has phase detection characteristics within ±π, and the phase detection gain is related to the output signal edge slope and the transconductance of the two current source tubes in the controlled main charge pump CP-M, as shown in Figure 3 As shown, the horizontal axis represents the phase difference between the oscillation clock signal output by the voltage-controlled oscillator and the reference clock signal, and the vertical axis represents the current size for the charge pump output, A cvo represents the amplitude of the oscillating clock signal, g m Represents the edge slope of the oscillation clock signal. Therefore, the preset range is ±π. Specifically, according to the low level output by the first detection result flag1, the pulse width of the pulse signal pul controlled to be output by the adjustable pulse generator T-Pulser is less than or equal to the set pulse width, so as to reduce the control effect of the main loop Main-Loop, so that the control of the frequency locked loop FLL is dominant; the second detection result flag2 first outputs a low level and maintains it for a certain period of time. During the certain period of time, the frequency locked loop PLL processes the output signals of the reference clock signal ref and the oscillation clock signal clk to identify the phase and frequency. When the frequency is locked and the phase difference is stable within the preset range, the second detection result flag2 outputs a high level, completing the whole process of the first locking stage.
[0058] In the second locking stage, after the second detection result flag2 maintains the high level of the output for a certain period of time, the frequency locking loop FLL is controlled to be closed, and then only the main loop Main-Loop regulates the oscillation clock signal clk with a phase difference stable within ±π, and identifies the phase of the oscillation clock signal clk in real time, so that the main loop Main-Loop adjusts the amplitude of the oscillation clock signal clk until the phase of the oscillation clock signal clk is locked, and after the phase is locked, the pulse width of the pulse signal output by the adjustable pulse generator T-Pulser is controlled to be reduced.
[0059] The adjustable pulse generator T-Pulser in the embodiment of the present application is as follows Figure 4 As shown, the adjustable pulse generator includes a pulse generating module and a pulse output module.
[0060] Among them, the input of the pulse generating module 10 is connected to the reference clock signal ref, and the pulse generating module 10 processes the reference clock signal ref to generate an initial pulse signal; the reference clock signal ref input by the pulse generating module 10 drives the pulse generating module to start under the action of two inverters, and the adjustable delay tunabledelay of the pulse generating module performs output delay adjustment to adjust the pulse width of the initial pulse signal output by the pulse generating module 10.
[0061] In the present application, the sub-sampling phase detector SSPD and the main charge pump CP-M perform forward and reverse sampling of the oscillation clock signal clk output by the voltage-controlled oscillator VCO through the reference clock signal ref, and respectively control the current magnitude of the two current sources in the main charge pump CP to achieve phase-locked adjustment. Therefore, the sampling voltage is particularly important, and each switching of the sampling switch will introduce transient noise and thermal noise, so it is necessary to turn on the pulse after a period of open-loop switching to control the main charge pump CP-M. Therefore, the pulse signal pul generated by the pulse generator T-Pulser needs to be away from the upper and lower edge signals of the sampling, that is, the pulse generation module 10 drives the reference clock signal ref through a two-stage inverter to achieve a short delay, so that the pulse signal that will only be generated at the falling edge of the reference clock signal will not coincide with the falling edge, giving the sub-sampling phase detector enough sampling time; avoid the sampling noise caused by the coincidence of the pulse signal and the reference clock signal edge directly introduced into the main charge pump and affect the output frequency, so as to achieve the pulse signal pul generated by the pulse generator T-Pulser away from the edge signal of the sampled oscillation clock signal clk.
[0062] Among them, the pulse output module 20 includes a frequency division unit and a selection unit; the input end of the frequency division unit is connected to the output end of the pulse generation module 10, and the output end of the frequency division unit is connected to the second input end of the selection unit; the frequency division unit divides the initial pulse signal to obtain a frequency-divided pulse signal; the first input end of the selection unit is connected to the output end of the pulse generation module 10; when the first detection result flag1 is a low level, the control selection unit uses the initial pulse signal as the pulse signal pul output by the adjustable pulse generator T-Pulser; when the first detection result flag1 is a high level, the control selection unit uses the frequency-divided pulse signal as the pulse signal pul output by the adjustable pulse generator T-Pulser.
[0063] In some implementations, the frequency division unit uses a two-way frequency divider. As other implementation methods, a three-way frequency divider or a four-way frequency divider may also be used. The present application does not limit the selection of the frequency division unit as long as it can meet the actual frequency division needs. The selection unit of the present application uses a two-to-one selector.
[0064] The adjustable pulse generator of the present application is used to control the pulse width of the output pulse signal pul to be less than or equal to the set pulse width in the first locking stage according to the received first detection result flag1, at this time, the first detection result is a low level; and in the second locking stage, first control the pulse width of the output pulse signal pul to be equal to the set pulse width according to the low level of the first detection result flag1.
[0065] In a preferred embodiment, in the first locking stage, under the adjustment of the adjustable delay tunable delay, the pulse width of the pulse signal pul output by the adjustable pulse generator T-Pulser is the smallest. At this time, the first detection result fiag1 output by the first locking detector narrow L-DET is a low level, and the pulse output module 20 uses the initial pulse signal output by the pulse generating module 10 as the pulse signal pul output by the adjustable pulse generator T-Pulser; in the second locking stage, under the adjustment of the adjustable delay tunabledelay, the pulse signal pul output by the adjustable pulse generator T-Pulser is restored to the set pulse width. At this time, the first locking detector narrow L-DET is a low level. The first detection result fiag1 output by L-DET is still at a low level, and the pulse output module 20 uses the initial pulse signal output by the pulse generation module 10 as the pulse signal pul output by the adjustable pulse generator T-Pulser. Under the regulation of the main loop Main-Loop, the oscillation clock signal clk achieves phase locking; after completing the phase locking, the adjustable delay tunabledelay is controlled to reduce the pulse signal pul output by the adjustable pulse generator T-Pulser from the set pulse width and generate a pulse signal at half the frequency of the reference clock, thereby reducing the power consumption of the dual-loop subsampling phase-locked loop clock system.
[0066] In some implementations, the first lock detector and the second lock detector have the same structure; the structure of the lock detector is introduced by taking the first lock detector as an example.
[0067] like Figure 5 As shown, the first lock detector includes a sampling module 30, a processing module 40 and an output module 50; the sampling module 30 samples and processes the reference clock signal ref and the divided clock signal div respectively to obtain a reference edge signal and a divided edge signal; the processing module 40 processes the reference edge signal and the divided edge signal, and outputs a result signal and a control signal; the output module 50 processes a set number of multiple result signals and control signals to obtain a first detection result.
[0068] In some embodiments, the sampling module 30 includes a first trigger, a second trigger and an AND gate Y1; the clock end of the first trigger is connected to the reference clock signal ref, and the clock end of the second trigger is connected to the divided clock signal div; the input end of the AND gate Y1 is respectively connected to the output end of the first trigger and the output end of the second trigger; the output end of the AND gate Y1 is connected to the control end of the first trigger and the control end of the second trigger. The first trigger and the second trigger are both D triggers. After the reference clock signal ref and the divided clock signal div are triggered on the upper edge respectively, the output results of the two triggers are fed back to recharge the two triggers after the AND gate Y1, so as to respectively sample and obtain the reference edge signal of the reference clock signal ref and the divided edge signal of the divided clock signal div, that is, the phase difference between the reference clock signal ref and the divided clock signal div can be obtained. Among them, the output results of the two triggers are fed back to recharge the two triggers after the AND gate Y1 to achieve the reset of the two triggers, and each reset will make the trigger sample once.
[0069] In some embodiments, the processing module 40 includes an inverting processing unit 410, a first processing unit 420 and a second processing unit 430; the input end of the inverting processing unit 410 is connected to the output end of the sampling module 30; the inverting processing unit 410 is used to invert the reference edge signal and the frequency-divided edge signal; the input of the first processing unit 420 is connected to the output end of the sampling module 30 and the output end of the inverting processing unit 410; the first processing unit 420 processes the reference edge signal and the frequency-divided edge signal after the inversion processing and outputs a control signal; the input of the second processing unit 430 is connected to the output end of the inverting processing unit 410, and the second processing unit 430 processes the reference edge signal and the frequency-divided edge signal after the inversion processing and outputs a result signal.
[0070] In some embodiments, the first processing unit 420 includes a processing subunit 421 and a filtering subunit 422; the input of the processing subunit 421 is connected to the output end of the sampling module 30 and the output end of the inversion processing unit 410, and the filtering subunit 422 includes a filtering branch and a NAND gate; the input end of the filtering branch is connected to the output end of the processing subunit 421, and the output end of the filtering branch is connected to the first input end of the NAND gate YN1; the second input end of the NAND gate YN1 is connected to the output end of the processing subunit 421; and the NAND gate YN1 outputs a result signal.
[0071] In some embodiments, the processing subunit 421 includes three NAND gates, the first input end of the NAND gate YN2 is connected to the first output end of the inverting processing unit 410, the second input end of the NAND gate YN2 is connected to the first output end of the sampling module 30, the first input end of the NAND gate YN3 is connected to the first output end of the sampling module 30, the second input end of the NAND gate YN3 is connected to the second output end of the inverting processing unit 410, the first input end of the NAND gate YN4 is connected to the output end of the NAND gate YN2, the second input end of the NAND gate YN4 is connected to the output end of the NAND gate YN3, and the output end of the NAND gate YN4 is the output end of the processing subunit 421. After the reference edge signal and the frequency-divided edge signal output by the sampling module 30 are processed by the inverter processing unit and the processing subunit, an intermediate pulse signal with the same phase difference is obtained.
[0072] In some embodiments, the filtering branch of the filtering subunit 422 includes two inverters and an adjustable capacitor, and the intermediate pulse signal output by the processing subunit 421 is subjected to glitch filtering; the glitch width filtered by the adjustable capacitor is adjusted to the jitter range of the desired output clock, so that the interference signal or noise in the result signal is as small as possible. When the glitch smaller than the jitter range is filtered out, the output result signal is a high level.
[0073] As other implementation methods, other filtering structures may also be used. The present application does not specifically limit the structure of the filtering subunit, and it only needs to be able to filter out the burrs on the intermediate pulse signal output by the processing subunit 421.
[0074] In some embodiments, the second processing unit 430 includes an AND gate, a first input end of the AND gate is connected to a first output end of the inversion processing unit 410, and a second input end of the AND gate is connected to a second output end of the inversion processing unit 410. As other implementations, other components may also be included as long as they can output a phase difference.
[0075] In some embodiments, the output module 50 includes multiple triggers, NAND gates and inverters; specifically, the output ends of 16 D triggers connected in series are all connected to the input ends of the NAND gates, the outputs of the NAND gates are connected to 1 D trigger and an inverter in sequence, and the inverter outputs the detection result. During the detection process, the lock detector will reset the two triggers multiple times during a rising edge signal, so the sampling module 30 will perform multiple sampling, so that the output module generates multiple result signals and control signals; and the result signal after the burr is filtered out is a high level, when the first result signal output is a high level through the first D trigger connected in series (high level); when the second result signal is output, the first result signal is transmitted to the second D trigger connected in series to output a high level, and the second result signal is output through the first D trigger connected in series to output a high level; when the third result signal is output, the first result signal is transmitted to the third D trigger connected in series to output a high level, the second result signal is transmitted to the second D trigger connected in series to output a high level, and the third result signal is output through the first D trigger connected in series to output a high level, and so on, until 16 D triggers connected in series in sequence all output a high level and are transmitted to the input end of the NAND gate. When the first detection result flag1 output by the output module is a high level, it indicates that the corresponding main loop is phase locked.
[0076] The dual-loop sub-sampling phase-locked loop clock system of the present application is input with a reference clock signal ref before power is turned on, and the system starts working after power is turned on. Because the control voltage vc of the voltage-controlled oscillator VCO is at an initial value at the beginning of operation, the voltage-controlled oscillator VCO does not output an oscillation clock signal clk. At this time, the phase frequency detector PFD detects that the oscillation clock signal clk lags behind the reference clock signal ref, and controls the auxiliary charge pump CP-S in the frequency-locked loop FLL to inject current into the control voltage VC. Because the oscillation clock signal clk at this time is quite different from the reference clock signal ref, and the dead zone generator DZ has little effect on the frequency-locked loop FLL, and the main loop Main-Loop also works at the same time, but the sub-sampling phase detector SSPD The phase-locking range is limited, so the output signal of the auxiliary charge pump CP-S is wrong at this time, which is noise for the system; so in the first locking stage, by adjusting the adjustable delay tunabledelay of the adjustable pulse generator T-Pulser, the pulse width of the pulse signal pul output by the adjustable pulse generator T-Pulser is set to the minimum, so that the current size (tail current) of the main charge pump CP-M is actually much smaller than the current size (tail current) of the auxiliary charge pump CP-S, so the frequency locked loop FLL is dominant, and the other processes in this stage are consistent with the working process of the traditional CPPLL. When the frequency of the oscillation clock signal is basically locked, it enters the phase locking stage of ±π. At this time, the dead zone generator DZ artificially generates a dead zone in the frequency locking loop FLL. After entering the dead zone, the auxiliary charge pump CP-S will not inject or extract current into the control voltage VC of the voltage controlled oscillator VCO. At the same time, the entered ±π has verified the phase detection range of the sub-sampling phase detector SSPD in the main loop Main-Loop. Then, at the end of the first locking stage, the frequency locking loop no longer participates in the locking, but the main loop Main-Loop is responsible for the subsequent phase locking.
[0077] After the first locking stage, the frequency locking loop FLL completes the frequency locking and phase stabilization within the range of ±π, and the oscillation clock signal output by the voltage-controlled oscillator VCO completes a locking. The phase noise of the oscillation clock signal clk is the main noise. Because the locking margin of the second locking detector is greater than the locking margin of the first locking detector, the expected phase noise will enter the first-order locking but not the second-order locking. At this time, the first locking detector sends a first-order locking signal, that is, outputs a high level; then the pulse width of the pulse signal pul output by the adjustable pulse generator T-Pulser is controlled to return to positive rubbing, and after a certain period of time, the frequency locking loop FLL is controlled to be closed; at this time, only the pulse generator of the main loop Main-Loop detects the phase of the oscillation clock signal clk, such as Figure 3As shown in the characteristic curve of SSPD, the gain of the sub-sampling phase detector SSPD is proportional to the edge slope of the output signal of the voltage-controlled oscillator VCO, which is much larger than the phase frequency detector PFD. Therefore, it has a gain much larger than the phase frequency detector PFD. Even when the current of the main charge pump CP-M is small, the phase noise generated by the main charge pump CP-M can still be significantly suppressed, thereby achieving low power consumption and low jitter at the same time. At the same time, there is no N divider in the main loop Main-Loop, so the phase noise generated by the main charge pump CP-M will not be multiplied by N^2, which also greatly reduces the noise of the output clock.
[0078] During the secondary locking process, the phase noise of the output oscillation clock signal clk gradually decreases, eventually triggering a fine second locking detector and triggering the second locking stage; after the secondary locking, the phase noise of the oscillation clock signal clk output by the voltage-controlled oscillator VCO is very small in itself, which will reduce the pulse generation frequency of the pulse generator by half, thereby reducing power consumption while reducing the noise caused by each sampling; avoiding frequent adjustments that introduce unexpected noise.
[0079] It should be noted here that since it cannot be ruled out that the environment may encounter extremely strong transient interference, if the interference enters the control level, it will cause loss of lock. Therefore, the second lock detector L-DET needs to be turned on at all times when the dual-loop subsampling phase-locked loop clock system is working. When the lock is lost for some reason, the frequency locking loop FLL will be reconnected and replace the main loop to become the dominant loop, and the frequency locking loop FLL will be locked again.
[0080] Compared with the structure of the traditional CPPLL, the clock system of the dual-ring sub-sampling phase-locked loop of the present application can eliminate the amplification of noise by the divider and the noise reduction of the frequency divider itself. Compared with the traditional sub-sampling phase-locked loop structure, after the fine second lock, the width and frequency of the generated pulse are reduced, thereby optimizing the over-design in the prior art, further reducing power consumption and noise. At the same time, the present application also has the advantages of on-chip integration, no need for additional components, low power consumption and area, etc., and is very suitable for application on existing microcontrollers.
[0081] The present application also provides an electronic chip. Exemplarily, the electronic chip includes a clock circuit, wherein the clock circuit generates a stable clock signal for the electronic chip; the clock circuit is the above-mentioned dual-loop sub-sampling phase-locked loop clock system.
[0082] It can be understood that the clock circuit of this embodiment corresponds to the dual-loop sub-sampling phase-locked loop clock system of the above embodiment, and the options in the above embodiment are also applicable to this embodiment, so they will not be described repeatedly here.
[0083] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the structure diagram and / or the flow diagram, and the combination of boxes in the structure diagram and / or the flow diagram, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0084] In addition, the functional modules or units in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0085] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.
Claims
1. A dual-loop sub-sampling phase-locked loop clock system, characterized in that: include: A main loop, a frequency locked loop, a first lock detector, and a second lock detector; The input of the first lock detector is used to connect an external reference clock signal and a frequency-divided clock signal, and the first detection result outputted by the first lock detector is used to regulate the pulse signal in the main loop; The input of the second lock detector is connected to the reference clock signal and the frequency-divided clock signal, and the second detection result outputted by the second lock detector is used to control the working state of the frequency locked loop; The input of the frequency locked loop is connected to the reference clock signal and the oscillation clock signal output by the main loop; The frequency locked loop is used to perform frequency division processing on the oscillation clock signal in a first locking stage to obtain the divided clock signal, and to adjust the oscillation clock signal based on the divided clock signal and the reference clock signal until the frequency of the oscillation clock signal is locked and the phase difference is stabilized within a preset range; The main loop includes an adjustable pulse generator, the input end of the adjustable pulse generator is connected to the reference clock signal, and the adjustable pulse generator is used to control the pulse width of the pulse signal according to the first detection result in the second locking stage, so that the main loop adjusts the amplitude of the oscillation clock signal until the phase of the oscillation clock signal is locked, and after the phase is locked, control the adjustable pulse generator to reduce the generation frequency of the pulse signal and the pulse width of the pulse signal.
2. The dual-loop sub-sampling phase-locked loop clock system according to claim 1, characterized in that: The adjustable pulse generator is used to control the pulse width of the pulse signal to be less than or equal to the set pulse width in the first locking stage according to the first detection result received, and to control the pulse width of the pulse signal to be equal to the set pulse width in the second locking stage according to the first detection result.
3. The dual-loop sub-sampling phase-locked loop clock system according to claim 1, characterized in that: In the first locking stage, the first detection result is a low level; the second detection result is a low level that is maintained for a certain period of time and then changes to a high level. When the second detection result is a low level, the frequency locking loop works; when the second detection result changes to the high level, the frequency of the oscillation clock signal is locked, and the phase difference between the oscillation clock signal and the reference clock signal is stabilized within a preset range.
4. The dual-loop sub-sampling phase-locked loop clock system according to claim 1, characterized in that: In the second locking stage, the second detection result is a high level, which controls the closing of the frequency locking loop; the first detection result is a low level that is maintained for a certain period of time and then changes to a high level. When the first detection result changes to the high level, the phase difference between the oscillation clock signal and the reference clock signal is locked, and after the phase difference is locked, the pulse width of the pulse signal output by the adjustable pulse generator is controlled to be reduced.
5. The dual-loop sub-sampling phase-locked loop clock system according to claim 1, characterized in that: The adjustable pulse generator includes a pulse generation module and a pulse output module; The pulse generating module input is connected to the reference clock signal, and the pulse generating module processes the reference clock signal to generate an initial pulse signal; The pulse output module includes a frequency division unit and a selection unit; The input end of the frequency division unit is connected to the output end of the pulse generation module, and the output end of the frequency division unit is connected to the second input end of the selection unit; the frequency division unit divides the initial pulse signal to obtain a divided pulse signal; The first input end of the selection unit is connected to the output end of the pulse generation module; When the first detection result is a low level, controlling the selection unit to use the initial pulse signal as the pulse signal output by the adjustable pulse generator; When the first detection result is a high level, the selection unit is controlled to use the frequency-divided pulse signal as the pulse signal output by the adjustable pulse generator.
6. The dual-loop sub-sampling phase-locked loop clock system according to claim 5, characterized in that: The first lock detector and the second lock detector have the same structure; the first lock detector includes a sampling module, a processing module and an output module; The sampling module samples the reference clock signal and the frequency-divided clock signal to obtain a reference edge signal and a frequency-divided edge signal respectively; The processing module processes the reference edge signal and the frequency-divided edge signal, and outputs a result signal and a control signal; The output module processes a set number of the result signals and the control signal to obtain the first detection result.
7. The dual-loop sub-sampling phase-locked loop clock system according to claim 6, characterized in that: The sampling module includes a first trigger, a second trigger and an AND gate; The clock end of the first trigger is connected to the reference clock signal, and the clock end of the second trigger is connected to the divided clock signal; the input end of the AND gate is respectively connected to the output end of the first trigger and the output end of the second trigger; the output end of the AND gate is connected to the control end of the first trigger and the control end of the second trigger.
8. The dual-loop sub-sampling phase-locked loop clock system according to claim 6, characterized in that: The processing module includes an inversion processing unit, a first processing unit, and a second processing unit; The input end of the inversion processing unit is connected to the output end of the sampling module; the inversion processing unit is used to perform inversion processing on the reference edge signal and the frequency-divided edge signal; The first processing unit input is connected to the output end of the sampling module and the output end of the inversion processing unit; the first processing unit processes the reference edge signal and the frequency-divided edge signal after the inversion processing, and outputs the control signal; The input of the second processing unit is connected to the output end of the inversion processing unit. The second processing unit processes the reference edge signal and the frequency-divided edge signal after the inversion processing and outputs the result signal.
9. The dual-loop sub-sampling phase-locked loop clock system according to claim 8, characterized in that: The first processing unit includes a processing subunit and a filtering subunit; The processing subunit input is connected to the output end of the sampling module and the output end of the inversion processing unit, and the filtering subunit includes a filtering branch and a NAND gate; the input end of the filtering branch is connected to the output end of the processing subunit, and the output end of the filtering branch is connected to the first input end of the NAND gate; the second input end of the NAND gate is connected to the output end of the processing subunit; and the NAND gate outputs the result signal.
10. An electronic chip, characterized in that: The electronic chip comprises a clock circuit, and the clock circuit is a dual-loop sub-sampling phase-locked loop clock system according to any one of claims 1-9.
Citation Information
Patent Citations
Phase-locked loop circuit
CN113014254A
Phase-locked loop circuit for suppressing clock spurs
CN118337205A
Sampling phase-locked loop system and method for resisting environmental interference
CN118381503A
Automatically ranging phase locked loop circuit for microprocessor clock generation
US5903195A
Adaptive phase-locked loop (PLL) multi-band calibration
US8358159B1
Cited By
Voltage-controlled oscillator and sub-sampling phase-locked loop
CN121643644A
