Feedback control for accurate signal generation
By introducing hold mode and multi-mode divider in the PLL, adjusting the divider input divisor to align the new reference clock, solving the phase offset problem of PLL during reference clock switching, achieving interruption switching and stability improvement .
Patent Information
- Application Number
- CN202010104933.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-02-20
- Filing Date
- 2020-02-20
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2040-02-20
AI Technical Summary
Existing PLLs are prone to introduce phase offsets during reference clock switching, resulting in PLL loss of locking and shutdown. Especially when the outputs of the two crystal oscillators do not match, it is difficult to achieve uninterrupted clock switching.
By putting the PLL in hold mode, the output is decoupled from the oscillator, and during this time the input divisor is adjusted to align the feedback clock with the new reference clock, ensuring that the PLL output remains constant frequency during switching, and Align and resume normal operation.
The reference clock switching without interruption or near interruption is achieved, which reduces PLL interference, improves the reliability and stability of the system, and avoids the lock loss problem caused by phase offset.
Smart Images

Figure CN111600601B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to circuits and, more particularly, to phase locked loops (PLLs). Background Art
[0002] PLLs are widely used for clock generation in electronic circuits, especially when flexibility is required in setting the clock frequency and other electrical parameters. Figure 1 An exemplary PLL 120 is shown that generates a clock signal PLL 120 from a reference clock signal refclk provided by a crystal oscillator circuit 110 including a piezoelectric crystal 114 and a temperature compensated amplifier circuit 116. out . The output PLL out Feedback to the PLL for comparison with refclk to calibrate the PLL out In addition, if desired, the feedback path can be used for frequency multiplication to make the PLL out The frequency is a multiple of the refclk frequency.
[0003] Specifically, the frequency divider 128 divides the PLL out The frequency is divided by some divisor N, which can be an integer or a fraction. The divider output fbclk is provided to a phase / frequency detector (PFD) 136 which also receives refclk. The PFD generates an error signal representing the phase / frequency difference between refclk and fbclk. The error signal is converted by a charge pump (CP) 140 into a voltage Vctrl which controls a voltage controlled oscillator (VCO) 150 to generate a PLL. out signal, thereby minimizing the phase / frequency difference between refclk and fbclk. It is worth noting that since the fbclk frequency is equal to the PLL out The frequency is divided by N, so the PLL out The frequency is N times refclk. See, for example, US Patent No. 7,202,717, issued April 10, 2007, which is incorporated herein by reference.
[0004] A low pass filter 154 is inserted between the CP 140 and the VCO 150 to improve the PLL out stability.
[0005] PLLs may also use digital circuitry. See, for example, U.S. Patent No. 8,947,139, issued February 3, 2015, which is incorporated herein by reference.
[0006] In various applications (automotive being one of them), redundant reference clocks are required to improve the reliability / safety of the system. Figure 2An example is shown in , where two crystal oscillators 110.1, 110.2 are multiplexed to provide refclk to PLL 120. More specifically, oscillators 110.1, 110.2 generate respective clocks ref1, ref2. Multiplexer 210 selects one of these clocks based on select signal 214 and provides the selected clock to the refclk input of the PLL. If one of the two oscillators 110 fails, select signal 214 selects the other oscillator. See, e.g., U.S. Patent No. 5,122,677 issued to Sato on June 16, 1992, which is incorporated herein by reference.
[0007] If the outputs of the two oscillators 110 are phase aligned, oscillator switching can be non-disruptive, i.e., with PLL out and refclk with minimal interruption / downtime. However, even if the oscillators 110 are enabled at the same time, the oscillators 110 are often not in phase. This is because their crystals 114 are usually cut slightly differently and due to other mismatches (layout mismatch, location in different parts of the die, etc.). In the case where the phase between the two crystals is unknown / arbitrary, switching from one oscillator 110 to the other oscillator 110 will introduce a phase offset to the PLL, which may interfere with downstream signals, which may cause the electronic device to crash. In particular, the PLL 120 may lose lock and stop functioning.
[0008] According to the Sato patent cited above, the output of oscillator 110 may be phase aligned by additional circuitry (not shown) before being provided to MUX 210. Phase alignment is always maintained, so clock switching is non-disruptive. Summary of the invention
[0009] This section summarizes some features of the invention. Other features may be described in subsequent sections. The invention is defined by the appended claims, which are incorporated into this section by reference.
[0010] Some embodiments of the present invention facilitate hitless or near hitless reference clock switching, regardless of whether the reference clocks are always aligned. For example, assume that the PLL needs to switch from ref1 (i.e., oscillator 110.1) to ref2. First, the PLL is placed in a holdover mode, in which the output PLL outDecoupled from oscillator 110 and held at a constant frequency. Divider 128 is replaced with a multi-mode divider, and during the hold period, the input N (divisor) of the divider is adjusted in the feedback loop to align fbclk with the new reference ref2. When alignment has been achieved, the hold mode ends and the PLL operates according to ref2. In some embodiments, PLL interference is reduced due to the alignment performed in the hold mode.
[0011] Furthermore, in some embodiments, clocks ref1 and ref2 may have different frequencies. Additionally, the divisor N may have different values depending on whether refclk is ref1 or ref2.
[0012] Some PLL embodiments of the present invention may be combined with other techniques such as those described in the Sato patent.
[0013] The present invention is not limited to the above-described features or advantages, except as defined by the accompanying claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 and Figure 2 is a block diagram of a clock generator according to the prior art.
[0015] Figure 3 is a block diagram of a clock generator according to some embodiments of the present invention.
[0016] Figure 4 is a flow chart of the operation of a clock generator according to some embodiments of the present invention.
[0017] Figure 5 is a timing diagram illustrating hold mode operation according to some embodiments of the present invention.
[0018] Figure 6 , Figure 7 , Figure 8 The figure shows a clock generator circuit according to some embodiments of the present invention.
[0019] Fig. 9 is a time / frequency diagram of a clock generator according to the prior art.
[0020] Fig.10 is a time / frequency diagram of a clock generator according to some embodiments of the present invention. DETAILED DESCRIPTION
[0021] The embodiments described in this section illustrate but do not limit the present invention. The present invention is defined by the following claims.
[0022] Figure 3FIG. 1 shows a clock generator including a PLL 300 according to some embodiments of the present invention. The oscillator 110 and the MUX 210 may be as follows: Figure 2 or some other type to provide a reference signal refclk based on the selection signal 214. Figure 2 Signal 214 is generated as in , to switch oscillator 110 when the currently selected oscillator signal becomes insufficient. See, e.g., the Sato patent.
[0023] PLL 300 includes two feedback loops: 304 and 308. These loops share a multi-mode divider (MMD) 128. In loop 308, divisor circuit 320 provides a digital divisor output (D) to MMD 128. In normal operation, loop 308 is open and can generate divisor D to a fixed value N, such as Figure 2 As shown in FIG. 304, the loop 304 is closed to make it possible to Figure 2 Proceed as shown in .
[0024] In holdover mode, loop 304 is open and loop 308 is closed to control the divisor D so that the fbclk clock is aligned with refclk. However, refclk is switched to the new reference clock, so fbclk is actually aligned with the new reference clock in holdover state. PLL output PLL out Maintained at a constant frequency and isolated from the refclk input in holdover mode. out Isolation from refclk may be performed in accordance with prior art or otherwise; see, for example, U.S. Patent No. 5,726,607, issued on March 10, 1998, which is incorporated herein by reference; and U.S. pre-grant patent publications US 2010 / 0123496A1, US 2015 / 0180409 A1, and US 2019 / 0007055 A1, all of which are incorporated herein by reference.
[0025] Each of the loops 304, 308 may be analog, digital, or hybrid (a mix of analog and digital circuits). For purposes of illustration, in some examples described below, the loop 304 is analog and the loop 308 is digital.
[0026] The PLL 300 is placed in the holdover mode by asserting the holdover enable signal H_en generated by the PLL controller 350. Figure 4 In step 410 of FIG. 1 , the enable signal H_en is kept inactive; the divisor circuit 320 provides the digital divisor signal D=N to the MMD 128. Based on the selected reference clock, for example, ref1, the PLL Figure 2 The circuit 304 is closed and the circuit 308 is open.
[0027] At step 414, the controller 350 receives a command ("CMD") to switch the reference clock from ref1 to ref2, or vice versa. The command may be triggered by a failure of the current reference (eg, ref1), or may be triggered manually or otherwise.
[0028] In response (step 418), controller 350 asserts signal H_en to place the PLL in holdover mode. Loop 304 is opened to cause the PLL to output PLL out Independent of refclk. Loop 308 is closed.
[0029] Additionally, the oscillator select signal 214 is changed to select the new reference ref2. MUX 210 provides the new reference as refclk.
[0030] During the hold period (step 422), loop 308 operates to align feedback clock fbclk with the new reference now provided as refclk. Specifically, divisor circuit 320 compares refclk with fbclk and outputs a divisor D to reduce the misalignment between refclk and fbclk.
[0031] When alignment has been achieved (as may be determined by divisor circuit 320), controller 350 deasserts signal H_en to exit holdover mode (step 426). The clock generator returns to normal operation with a new reference clock selected (step 410).
[0032] Figure 5 The figure illustrates the operation of the divisor circuit 320 in some embodiments. When refclk leads fbclk by a period ΔT, the rising edge of the reference clock refclk occurs at time t1. Let D1 denote the divisor D value at time t1. At a subsequent time t2, the divisor circuit 320 changes the D value to another value D2 so as to reduce the feedback clock period by ΔT. As a result, at time t2, the refclk and fbclk rising edges are aligned.
[0033] In some embodiments, divisor circuit 320 determines D2 as follows. Let Tr and f r Denote the period and frequency of the reference clock refclk (i.e., the new reference; note that ref1 and ref2 may or may not have the same frequency). Then:
[0034] t2=t1+Tr=t1+1 / f r (1)
[0035] Let T1 denote the fbclk period at time t1, and T2 denote the fbclk period after time t1, specifically at time t2. Then, in order to align the refclk and fbclk rising edges at time t2, the following relationship is required:
[0036] t2=t1+ΔT+T2 (2)
[0037] Equations (1) and (2) mean:
[0038] T2=Tr–ΔT (3)
[0039] Let f out Indicates PLL output PLL out Due to MMD 128, the fbclk period T2 at time t2 should be D2 / f out :
[0040] T2=D2 / f out
[0041] Combining this with equation (3), we get:
[0042] D2=f out *(Tr–ΔT) (4)
[0043] In some embodiments, divisor circuit 320 measures ΔT at time t1 + ΔT or shortly thereafter and immediately sets the divisor D output to D2 according to equation (4).
[0044] In some embodiments, while maintaining, the PLL output frequency f out is held at the same value as it was immediately before the hold, i.e.
[0045] f out =1 / Tr0*N (5)
[0046] Where Tr0 is the refclk period before the hold. Also, in some embodiments, ref1 and ref2 have the same frequency, i.e., Tr=Tr0. In this case, equation (5) expresses f out *Tr=N, so equation (4) can be rewritten as:
[0047] D2=Nf out *ΔT (6)
[0048] In this case, the divisor circuit 320 determines D2 according to equation (6).
[0049] The above equations assume that refclk leads fbclk. However, if fbclk leads refclk at all times, then equation (4) can be replaced by:
[0050] D2=f out *(Tr+ΔT) (4')
[0051] Where ΔT is the time from the rising edge of fbclk to the rising edge of refclk. Similarly, equation (6) can be replaced by:
[0052] D2=N+f out *ΔT (6')
[0053] In some embodiments, the divisor circuit 320 measures the time ΔT between each two consecutive rising edges of refclk and fbclk. For each two consecutive ΔT values, the circuit 320 determines the minimum value. If the minimum ΔT value is from the rising edge of refclk to the rising edge of fbclk, then the circuit 320 uses equation (4) or (6); otherwise, it uses equation (4') or (6').
[0054] Other techniques may also be used to determine the value of D, including programmable integral-derivative control or other types of techniques.
[0055] In some embodiments, circuit 320 uses a microprocessor to calculate divisor D2 using any of the techniques described above.
[0056] Figure 6 An exemplary non-microprocessor embodiment of the divisor circuit 320 is shown in the case of equation (6), equation (6'), ie, when the reference clocks ref1 and ref2 have the same frequency. Figure 6 The circuit assumes that N is an integer. Switch 602 controlled by the H_en signal closes loop 308 in the hold mode, connecting the fbclk and refclk signals to a time-to-digital converter (TDC) 610. TDC 610 calculates the value f according to equation (6') or (6), respectively. out*ΔT and / or negative values of these values. The delta-sigma modulator (DSM) 614 converts the possible fractional TDC output into an integer stream whose average value is equal to the TDC output. See, for example, the following documents, which are incorporated herein by reference: Raja KKR Sandireddy et al., "A Generic Architecture for Multi-Modulus Dividers in Low-Power and High-Speed Frequency Synthesis", 2004, Silicon Monolithic Integrated Circuits in Radio Frequency Systems Conference, IEEE, 2004; Marco Cassia et al., "A SPUR-FREE FRACTIONAL-N EA PLL FOR GSM APPLICATIONS: LINEAR MODEL AND SIMULATIONS", IEEE, 2003; Ian Galton, "Delta-Sigma Fractional-N EA PLL for GSM Applications: Linear Model and Simulation", IEEE, 2003; Phase-LockedLoops (Delta-Sigma Fractional N Phase-Locked Loops)”, https: / / www.semanticscholar.org / paper / Delta-Sigma-Fractional-N-Phase-Locked-Loops-Galton / f83c1d67a5532e84904a0c550d9594a57fda6bee (2017).
[0057] A digital low pass filter (DLPF) 618 removes high frequency components from the DSM output to improve D signal stability. An adder 622 adds the N value to the DSM output according to equation (6) or equation (6'). The adder output is coupled to the D output via a multiplexer 650; when H_en is asserted, MUX 650 selects the adder 622 output. The D output is connected to the MMD 128. In some embodiments, the TDC 610, DSM 615, DLPF 618, and adder 622 are conventional circuits.
[0058] When H_en is deasserted (normal mode), multiplexer 650 provides the N value to the D output. In some embodiments, the N value is different depending on which of the ref1 and ref2 clocks is selected by MUX 210.
[0059] Figure 7 FIG. 3 shows another partial simulation example of the divisor circuit 320. The switch 602 is as shown in FIG. Figure 6, to couple the fbclk and refclk signals to the PFD 710 when H_en is asserted. The PFD 710 then provides the phase / frequency error signal to the charge pump 714. The PFD 710 and CP 714 act similarly to a TDC. A low pass filter is provided at the output of the CP 714 in the following manner: a resistor R is connected to the output of the CP 714; a capacitor C1 is connected to the resistor R and ground; and another capacitor C2 is connected to the output of the CP 714 and ground. When H_en is asserted, the digital-to-analog converter 718 converts the low pass filter output into a digital signal selected by the MUX 650 for the D signal. When H_en is deasserted, the multiplexer 650 selects the N value, such as Figure 6 These examples of divisor circuit 320 are not limiting.
[0060] Figure 8 The figure shows a PLL forward path 310 with a hold circuit ( Figure 3 ). PFD 136, CP 140, low pass filter (LPF) 154 and VCO 150 are Figure 1 154 and VCO 150. The switch is controlled by the hold enable signal H_en and is closed when H_en is deasserted (i.e., in normal operation). The hold circuit includes a comparator 820, whose input 820i1 receives the Vctrl voltage output by LFP 154 and buffered by buffer amplifier 824. (Buffer 824 is optional, but it is recommended to isolate LPF 154 if it is sensitive to noise.)
[0061] Another comparator input 820i2 is connected to the input of VCO 150 through switch 842, which is controlled by H_en and is closed in hold mode (i.e., when H_en is asserted). Input 820i2 is also connected to the output of DAC 830, which is connected to the output of increment / decrement logic 840 through switch 844, which is controlled by H_en to be closed in normal mode (when H_en is deasserted). Logic 840 is clocked by refclk.
[0062] In normal mode, the forward path 310 and the MMD 128 ( Figure 3 )picture Figure 1 Generate signal PLL out. Furthermore, switch 844 is closed to connect logic 840 to DAC 830. At each refclk cycle, logic 840 searches for values to bring comparator inputs 820i1, 820i2 to approximately equal voltages. More specifically, the comparator compares the Vctrl signal (or a buffered version thereof) to the DAC output voltage, i.e., to the digital output of logic 840. At each refclk cycle, if the DAC output voltage is below Vctrl, the output of logic 840 increments. If the DAC output voltage is above Vctrl, the output of logic 840 decrements. In this way, the DAC output is maintained near Vctrl, which is consistent with the desired PLL when the PLL is locked. out The frequency corresponds.
[0063] In the hold mode, the DAC is disconnected from the logic 840 via switch 844; the output of the DAC is latched by the DAC and provided to the input of the VCO 150 via switch 842. The VCO is isolated from the LPF 154 via switch 810. The VCO output holds the PLL voltage corresponding to the DAC output voltage. out frequency.
[0064] This forward path implementation is exemplary and not limiting.
[0065] Fig. 9 yes Figure 1 FIG. 1 is a graph of the frequency versus time of the feedback clock fbclk of one embodiment of a PLL. Fig.10 is used for Figure 3 , Figure 6 and Figure 8 910. In both cases, ref1 and ref2 are both 50 MHz, and the reference switching operation starts on the rising edge of line 910. Fig. 9 In Figure 1, this occurs at t = 15 μs. For a time offset of 10 ns, the PLL feedback clock fbclk experiences a temporary maximum frequency disturbance of 1.2 MHz, which is 2.4% of the 50 MHz reference frequency.
[0066] exist Fig.10 In the example, the feedback clock frequency varies by only 0.013 MHz, which is 260 ppm, i.e., two orders of magnitude lower.
[0067] In some embodiments, more than two oscillators 110 are provided, with more than two reference clocks.
[0068] Some embodiments of the invention are defined by the following clauses.
[0069] Clause 1 defines a method for operating a phase locked loop (PLL), the method comprising:
[0070] operating the PLL according to the first reference clock (e.g., at step 410); and then
[0071] Switching the PLL from the first reference clock to the second reference clock (eg, steps 414 to 426); and
[0072] operating the PLL according to a second reference clock;
[0073] wherein operating the PLL according to a reference clock that is one of the first reference clock and the second reference clock comprises: generating a PLL output signal according to the reference clock; and generating a feedback signal according to the PLL output signal;
[0074] Wherein switching the PLL from the first reference clock to the second reference clock comprises:
[0075] placing the PLL in a holdover mode wherein the PLL output signal is generated independently of the first reference clock and the second reference clock;
[0076] While in the holdover mode, generation of the feedback signal from the PLL output signal is controlled in response to alignment between the second reference clock and the feedback signal.
[0077] 2. The method of clause 1, wherein the feedback signal is obtained using a frequency divider circuit responsive to a divisor signal; and
[0078] The controlling generation of the feedback signal includes controlling the divisor signal in response to an alignment between the second reference clock and the feedback signal (eg, an alignment between fbclk and ref2 or refclk).
[0079] 3. A method according to clause 1 or 2, wherein the alignment between the second reference clock and the feedback signal is an alignment between the feedback signal and a rising edge of the second reference clock.
[0080] 4. A method according to any of the preceding clauses, wherein the PLL comprises a reference input to receive a reference clock according to which the PLL operates; and
[0081] The alignment between the second reference clock and the feedback signal is an alignment between the feedback signal and a rising edge of the reference clock at the reference input.
[0082] 5. A method according to any of the preceding clauses, wherein:
[0083] The PLL includes a first feedback loop for generating a PLL output signal in response to an alignment between a feedback signal and a reference clock according to which the PLL is operating;
[0084] The PLL includes a second feedback loop for generating a divisor signal in response to alignment between the feedback signal and a second reference clock;
[0085] wherein when the PLL operates according to the first reference clock or the second reference clock, the first feedback loop is closed and the second feedback loop is opened to generate the divisor signal independently of the feedback signal;
[0086] Wherein in the hold mode, the first feedback loop is opened to generate the PLL output signal independently of the first reference clock and the second reference clock, and the second feedback loop is closed to generate the divisor signal in response to the alignment between the feedback signal and the second reference clock signal.
[0087] 6. A method according to any of the preceding clauses, wherein the first reference clock and the second reference clock have the same frequency.
[0088] 7. A method according to any of clauses 1 to 5, wherein the first reference clock and the second reference clock have different frequencies.
[0089] 8. A phase-locked loop (PLL), comprising:
[0090] a first feedback loop for generating a PLL output signal in response to an alignment between a feedback signal and a selected reference clock of a plurality of reference clocks, wherein the feedback signal is to be generated by the PLL from the PLL output signal and a divisor signal that controls a frequency of the feedback signal based on a frequency of the PLL output signal;
[0091] a second feedback loop for generating a divisor signal in response to an alignment between the feedback signal and one of the reference clocks when the PLL is in a holdover mode;
[0092] wherein in normal mode, the first feedback loop is closed and the second feedback loop is open;
[0093] In the holding mode, the first feedback loop is open and the second feedback loop is closed.
[0094] 9. A PLL according to clause 8, wherein in normal mode, the divisor signal is independent of the feedback signal.
[0095] 10. A PLL according to clause 8 or 9, wherein the alignment between the feedback signal and one of the reference clocks is an alignment between one of the reference clocks and a rising edge of the feedback signal.
[0096] 11. A PLL according to clause 8, 9 or 10, wherein the first reference clock and the second reference clock have the same frequency.
[0097] 12. A PLL according to clause 8, 9 or 10, wherein the first reference clock and the second reference clock have different frequencies.
[0098] 13. A PLL according to any of clauses 8 to 12, further comprising a control circuit configured to receive a command to switch from one of the reference clocks to another of the reference clocks and, in response to the command, to:
[0099] selecting the other reference clock among the reference clocks;
[0100] placing the PLL into a hold mode to generate a divisor signal in response to alignment between the feedback signal and the other of the reference clocks; and then
[0101] Exit hold mode.
[0102] 14. A clock generator, comprising:
[0103] Multiple inputs for receiving multiple reference clocks;
[0104] a reference clock selector for selecting one of the reference clocks;
[0105] an oscillator for generating an output clock;
[0106] a first circuit for controlling an oscillator based on a reference clock selected by a selector;
[0107] a multi-mode frequency divider for generating a feedback signal in response to an output clock and a divisor signal;
[0108] wherein in the normal mode, the first circuit is responsive to the feedback signal in controlling the oscillator to improve alignment between the feedback signal and the selected reference clock, but in the hold mode, the output clock is independent of alignment between the feedback signal and the selected reference clock;
[0109] Wherein the clock generator further comprises a divisor circuit for generating a divisor signal;
[0110] Wherein in the hold mode, the divisor circuit generates a divisor in response to the selected reference clock to improve the alignment between the feedback signal and the selected reference clock, but in the normal mode, the divisor signal is independent of the alignment between the feedback signal and the selected reference clock.
[0111] 15. A clock generator according to clause 14, wherein all of the reference clocks have the same frequency.
[0112] 16. The clock generator of clause 14, wherein at least two of the reference clocks have different frequencies.
[0113] 17. A clock generator according to any one of clauses 14 to 16, further comprising a control circuit configured to receive a command to switch from one of the reference clocks to another of the reference clocks and, in response to the command, to:
[0114] selecting the other reference clock among the reference clocks;
[0115] placing the clock generator into a holdover mode to improve alignment between the feedback signal and the other of the reference clocks; and then
[0116] Exit hold mode.
[0117] The present invention is not limited to the embodiments described above. Other embodiments and variations are also within the scope of the present invention as defined by the appended claims.
Claims
1. A method for operating a phase locked loop (PLL), the method comprising: operating the PLL according to a first reference clock; Then switching the PLL from the first reference clock to a second reference clock; as well as operating the PLL according to the second reference clock; Wherein operating the PLL according to a reference clock that is one of the first reference clock and the second reference clock comprises: generating a PLL output signal and generating a feedback signal according to the PLL output signal, wherein generating the PLL output signal comprises: generating, by a first circuit (136, 140), a first error signal indicative of alignment between the reference clock and the feedback signal; and generating the PLL output signal in response to the first error signal; Wherein switching the PLL from the first reference clock to the second reference clock comprises: placing the PLL in a holdover mode wherein the PLL output signal is generated independently of the first reference clock and the second reference clock; While in the hold mode, controlling generation of the feedback signal based on the PLL output signal in response to a second error signal indicating alignment between the second reference clock and the feedback signal, the second error signal being generated by a second circuit.
2. The method of claim 1 , wherein the feedback signal is obtained using a frequency divider circuit responsive to a divisor signal; and The controlling the generation of the feedback signal includes controlling the divisor signal in response to the alignment between the second reference clock and the feedback signal.
3. The method according to claim 1, wherein: The PLL includes a first feedback loop for generating the PLL output signal in response to an alignment between the feedback signal and the reference clock according to which the PLL is operating; The PLL includes a second feedback loop for generating a divisor signal in response to an alignment between the feedback signal and the second reference clock; wherein when the PLL is operated according to the first reference clock or the second reference clock, the first feedback loop is closed and the second feedback loop is opened to generate the divisor signal independently of the feedback signal; Wherein in the hold mode, the first feedback loop is opened to generate the PLL output signal independently of the first reference clock and the second reference clock, and the second feedback loop is closed to generate the divisor signal in response to alignment between the feedback signal and the second reference clock. The method of claim 1 , wherein the first reference clock and the second reference clock have different frequencies.
5. The method according to claim 1, wherein: The first circuit is analog, and the first error signal is an analog signal; and The second circuit is digital and the second error signal is a digital signal.
6. The method of claim 5, wherein the first circuit comprises a phase / frequency detector and the second circuit comprises a time-to-digital converter.
7. The method according to claim 1, wherein: In a normal mode, the PLL operates according to the reference clock, and the PLL output signal is generated by a forward path including the first circuit, the forward path receiving the feedback signal and the reference clock and generating the PLL output signal; as well as The second circuit is not part of the forward path.
8. The method of claim 7, wherein in the normal mode and the hold mode, the feedback signal is obtained using a frequency divider circuit responsive to a divisor signal; In the hold mode, the divisor signal is generated in response to the second error signal without using the forward path.
9. A phase-locked loop (PLL), comprising: a first feedback loop for generating a PLL output signal in response to a first error signal, the first error signal indicating alignment between a feedback signal and a selected reference clock of a plurality of reference clocks, wherein the feedback signal is to be generated by the PLL based on the PLL output signal and a divisor signal, the divisor signal controlling a frequency of the feedback signal based on a frequency of the PLL output signal, the first feedback loop comprising a first circuit configured to generate the first error signal; a second feedback loop for generating the divisor signal in response to a second error signal when the PLL is in a holdover mode, the second error signal being indicative of an alignment between the feedback signal and one of the reference clocks, the second feedback loop comprising a second circuit configured to generate the second error signal; wherein in normal mode, the first feedback loop is closed and the second feedback loop is open; In the holding mode, the first feedback loop is opened and the second feedback loop is closed.
10. The PLL of claim 9, wherein in normal mode, the divisor signal is independent of the feedback signal.
11. The PLL of claim 9, wherein the alignment between the feedback signal and one of the reference clocks is an alignment between one of the reference clocks and a rising edge of the feedback signal.
12. The PLL of claim 9, wherein: The first circuit is analog, and the first error signal is an analog signal; and The second circuit is digital and the second error signal is a digital signal.
13. The PLL of claim 9, wherein the first circuit comprises a phase / frequency detector and the second circuit comprises a time-to-digital converter.
14. The PLL of claim 9, further comprising a control circuit configured to receive a command to switch from one of the reference clocks to another of the reference clocks, and in response to the command to: selecting the other one of the reference clocks; placing the PLL into a hold mode for generating the divisor signal in response to the amount and sign of the misalignment between the feedback signal and the other of the reference clocks; and then Exit hold mode.
15. A phase locked loop (PLL) configured to operate according to the method of claim 1, the PLL comprising the first circuit and the second circuit.
16. The PLL of claim 15, wherein: The first circuit is analog, and the first error signal is an analog signal; The second circuit is digital and the second error signal is a digital signal.
17. The PLL of claim 16, wherein the first circuit comprises a phase / frequency detector and the second circuit comprises a time-to-digital converter.
18. The PLL of claim 15, wherein the PLL comprises a forward path, the forward path comprising the first circuit, the forward path receiving the feedback signal and the reference clock and generating the PLL output signal; and The second circuit is not part of the forward path.
19. The PLL of claim 15, further comprising a frequency divider circuit responsive to the divisor signal; and The controlling generation of the feedback signal in the hold mode includes controlling the divisor signal in response to the second error signal.
20. The PLL of claim 18, further comprising a divider circuit responsive to a divisor signal to generate the feedback signal in a normal mode in which the PLL operates according to the reference clock and in the hold mode; Wherein in the hold mode, the divisor signal is generated in response to the second error signal without using the forward path.
Citation Information
Patent Citations
Multiple input PLL with hitless switchover between non-integer related input frequencies
US20100123496A1
System for producing a system clock and temperature gradient detection system
US20150180409A1
Apparatus and methods for compensation of signal path delay variation
US20190007055A1
Instantaneous breakless clock switching apparatus
US5122677A
Phase locked loop using a counter and a microcontroller to produce VCXO control signals
US5726607A
