This invention relates to integrated circuits and more particularly to clock generator integrated circuits.
High speed communication systems require high speed clock signals for transmission and reception of information. In a typical clock generation circuit, a phase-locked loop (PLL) receives a synchronization input reference clock signal and generates one or more high speed clock signals suitable for use in transmitting or receiving data. According to one aspect of such a communication system, when the synchronization input reference clock signal is lost, the system enters a mode known as “holdover” mode and continues to output a clock signal.
The accuracy with which the clock generation circuit provides the clock signal in holdover mode is typically specified in a system standard for a target application. The clock generation circuit tries to maintain the output clock signal during holdover mode at a frequency based on a previous reference clock signal. When switching from a free running clock signal to a locked clock signal, entering into a holdover mode, exiting from a holdover mode, or switching an input clock signal from one clock source to another clock source, an application may require that the frequency and phase of output clock signal change in a controlled manner. Some applications specify a phase slope limit and a frequency slope limit for the output clock signal. An exemplary specification requires that the maximum rate of frequency change during a pull-in process (i.e., the process of locking a clock signal to another clock signal) is limited to a predetermined value. For example, a specification for a target application has a frequency slope limit of 2.9 ppm/second for a measurement interval of 1 second. However, in some circumstances, satisfying the frequency slope limit specification causes the pull-in process to take a substantial amount of time and causes substantial phase build-up. Accordingly, techniques that reduce the time to complete the clock pull-in process and reduce the phase build-up of a clock generator circuit in response to an event while satisfying change specifications for the output clock signal are desired.
In at least one embodiment, a method for generating a clock signal by a phase-locked loop includes generating a phase difference signal based on an input clock signal and a feedback clock signal. The method includes generating a loop filter output signal. In a first mode of operation, the loop filter output signal is generated based on the phase difference signal and a predetermined frequency slope limit. The clock signal is generated based on the loop filter output signal. In the first mode of operation, generating the loop filter output signal may include generating a phase-slope-limited version of the phase difference signal based on a predetermined phase slope limit, and generating a frequency-slope-limited version of the phase difference signal based on the predetermined frequency slope limit. The loop filter output signal may be generated using the phase-slope-limited version of the phase difference signal and the frequency-slope-limited version of the phase difference signal. In a second mode of operation, the loop filter output signal may be generated based on the predetermined frequency slope limit, a value of the loop filter output signal, and a target frequency. In the second mode of operation, the loop filter output signal may be generated further based on a predetermined frequency step value.
In at least one embodiment, a phase-locked loop includes a phase-detector configured to generate a phase difference signal in response to an input clock signal and a feedback clock signal. The phase-locked loop includes a change-limiting loop filter. In a first mode of operation, the change-limiting loop filter is configured to generate a loop filter output signal based on a predetermined frequency slope limit and the phase difference signal. In a second mode of operation, the change-limiting loop filter may be configured to generate the loop filter output signal based on the predetermined frequency slope limit, a value of the loop filter output signal, and a target frequency. The change-limiting loop filter may include an accumulator configured to update contents of the accumulator with a combination of an operand and the contents of the accumulator and a frequency slope limiting circuit configured to provide the operand to the accumulator. In the second mode of operation, the operand may be based on the predetermined frequency slope limit and the target frequency. The change-limiting loop filter may include a low-pass filter configured to generate the loop filter output signal based on the contents of the accumulator in the second mode of operation.
In at least one embodiment, a method for operating a phase-locked loop includes, in response to an event, gradually changing a frequency of an output clock signal generated by the phase-locked loop from a first frequency to a second frequency. The frequency is gradually changed at a rate less than or equal to a predetermined frequency slope limit. The first frequency is based on a prior frequency of the output clock signal and a predetermined frequency step value.
The present invention may be better understood, and its numerous objects, features, and advantages made apparent to those skilled in the art by referencing the accompanying drawings.
The use of the same reference symbols in different drawings indicates similar or identical items.
Referring to
Outer phase-locked loop 204 includes time-to-digital converters 130 that generate clock signals CLKIND(N:1), which are digital representations of input clock signals CLKIN(N:1). Select circuit 154 selects one of those digital input clock signals according to control signal CLK_SEL and provides the selected digital input clock signal to phase/frequency detector 158 as clock signal REFCLK2D, which serves as a digital reference clock signal for outer phase-locked loop 204. Outer phase-locked loop 204 includes phase/frequency detector 158, change-limiting loop filter 120, and divider 162, and uses inner phase-locked loop 108 as a digitally controlled oscillator responsive to digital divider ratio DIVM, which is an integer divider value or a fractional divider value. Phase/frequency detector 158 receives clock signal REFCLK2D and feedback clock signal FBCLKD. Time-to-digital converter 152 provides feedback clock signal FBCLKD, which is a digital version of feedback clock signal FBCLK. Feedback clock signal FBCLK is a frequency-divided version of clock signal CLKVCO. Phase/frequency detector 158 provides a phase error signal generated based on the difference between clock signal REFCLK2D and feedback clock signal FBCLKD. In at least one embodiment, phase/frequency detector 158 is a digital phase detector that provides a digital difference signal to change-limiting loop filter 120, which generates loop filter output signal LF_OUT. Change-limiting loop filter 120 provides loop filter output signal LF_OUT to inner loop 108 as divider ratio DIVM that controls divider 118. In at least one embodiment, time-to-digital converters 130 and 152 are implemented using techniques described in U.S. Pat. No. 10,067,478, issued Sep. 4, 2018, entitled “Use of a Recirculating Delay Line with a Time-to-Digital Converter,” naming Raghunandan Kolar Ranganathan as inventor, which application is incorporated herein by reference.
The frequency of reference clock signal REFCLK and divider ratio DIVM provided by outer phase-locked loop 204 to divider 118 in the feedback path of inner phase-locked loop 108 determine the frequency of clock signal CLKVCO. Outer phase-locked loop 204 adjusts divider ratio DIVM to match the frequency of clock signal CLKVCO (fCLKVCO) to a multiple (divider ratio DIVN) of the frequency of the selected input clock signal of input clock signals CLKIN(N:1) (e.g., fCLKIN(n)=fCLKVCO/DIVN, where fCLKIN(n) is the frequency of selected input clock signal CLKIN(n), which corresponds to clock signal REFCLK2D). In an embodiment of clock generator 104, outer phase-locked loop 204 provides clock signal CLKVCO to output divider 166, which is responsive to divider control signal DIVP. In at least one embodiment of output divider 166, divider control signal DIVP is a digital frequency ratio translated from a code, e.g., a code provided by non-volatile memory or other storage element. In other embodiments of clock generator 104, voltage-controlled oscillator 116 provides clock signal CLKVCO as output clock signal CLKOUT and output divider 166 is disabled or excluded.
In at least one embodiment of clock generator 104, event/holdover controller 224 determines whether selected input clock signal CLKIN(n), which is selected from input clock signals CLKIN(N:1) and digitized by time-to-digital converters 130, exists and/or whether the frequency of selected input clock signal CLKIN(n) is within a target frequency range. If the frequency of selected input clock signal CLKIN(n) is out of the target frequency range, a loss-of-signal condition is detected, or a substantial phase difference is detected, event/holdover controller 224 determines that selected input clock signal CLKIN(n) is invalid. If selected input clock signal CLKIN(n) is invalid and event/holdover controller 224 determines that no other input clock signals are valid, event/holdover controller 224 triggers the holdover mode. Event/holdover controller 224 freezes loop output signal LF_OUT provided by change-limiting loop filter 120 to prevent divider ratio DIVM from tracking further changes to clock signal REFCLK2D, and selects a stored averaged output of change-limiting loop filter 120 or a stored value based on an output signal of change-limiting loop filter 120 as target value FREQ_TARGET provided as input to change-limiting loop filter 120, thereby holding the frequency of clock signal CLKVCO at a steady frequency value. For example, event/holdover control 224 of outer phase-locked loop 204 holds the output signal of change-limiting loop filter 120 at a value corresponding to an output of phase/frequency detector 158 received by change-limiting loop filter 120 prior to entering the holdover mode to prevent updating of DIVM. In at least one embodiment of clock generator 104, during holdover mode, event/holdover controller 224 provides change-limiting loop filter 120 with target value FREQ_TARGET that causes output clock signal CLKOUT to achieve a target frequency and is an average value or other function of a stored value of the output of phase/frequency detector 158. The stored value is stored prior to entering the holdover mode. Freezing divider ratio DIVM provided to divider 118 causes the output frequency of clock signal CLKVCO to vary only based on frequency variation of clock signal REFCLK. Meanwhile, event/holdover controller 224 also updates CLK_SEL to select an output of time-to-digital converters 130 to provide as selected input clock signal CLKIN(n) for use upon exiting the holdover mode.
In at least one embodiment, change-limiting loop filter 120 limits a phase change and a frequency change of an output clock signal in response to pull-in events (e.g., after a switch of the selected input clock signal from selected input clock signal CLKIN(n) to another of input clock signals CLKIN(N:1) by select circuit 154 or after the frequency of selected input clock signal CLKIN(n) changes abruptly). Target applications specify a maximum rate of frequency change and maximum rate of phase change of output clock signal CLKOUT during the pull-in process. An exemplary predetermined frequency slope limit PREDET_FSL is 2.9 ppm/second for a measurement interval of one second and an exemplary predetermined phase slope limit PREDET_PSL is 0.3125 μs/s within 164 ms. In response to a pull-in event, change-limiting loop filter 120 limits the rate of change in phase of output clock signal CLKOUT and limits the rate of change in frequency of output clock signal CLKOUT to cause the frequency of output clock signal CLKOUT to gradually transition between frequencies.
In a signal path that is coupled in parallel with phase slope limiter 304, integrator gain 306 applies another gain factor (e.g., a power of two) to the gained phase difference signal received from gain circuit 302. If the gained phase difference value is greater than predetermined frequency slope limit PREDET_FSL, frequency slope limiter 308 provides predetermined frequency slope limit PREDET_FSL to accumulator 310. If the gained phase difference value is less than predetermined frequency slope limit PREDET_FSL, frequency slope limiter 308 provides the gained phase difference signal to accumulator 310. In closed-loop operation, accumulator 310 sums values of the gained phase difference signal over time to obtain a frequency shift value. Scaler 312 adjusts the output of accumulator 310 and provides the scaled accumulator output to summing circuit 314 for combination with the output of phase slope limiter 304. Summing circuit 314 provides the resulting combination to low-pass filter 138, which low-pass filters the phase-change limited and frequency-change limited output signal to generate a corresponding digital control signal for inner loop 108. Event/holdover controller 224 updates a stored value based on the output of change-limiting loop filter 120 for later use during other modes of operation (e.g., an open-loop mode of operation).
Referring to
During a gradual transition, event/holdover controller 224 continuously drives frequency slope limiter 308 with an updated difference between target value FREQ_TARGET and a signal corresponding to the frequency of the reference clock signal (e.g., output of accumulator 310). When the magnitude of the difference is greater than predetermined frequency slope limit PREDET_FSL, frequency slope limiter 308 provides the predetermined frequency slope limit PREDET_FSL as an operand to accumulator 310 until the magnitude of the difference is less than predetermined frequency slope limit PREDET_FSL. When the magnitude of the difference is less than predetermined frequency slope limit PREDET_FSL, frequency slope limiter 308 provides that difference to accumulator 310. When the frequency of selected input clock signal CLKIN(n) is greater than the frequency of feedback clock signal FBCLK, the output of the loop filter as a function of time gradually increases (e.g., linearly increases or monotonically increases) to target value FREQ_TARGET, as illustrated in
A technique for reducing the transition time and phase build-up caused by a gradual phase or frequency transition includes introducing a frequency step at the beginning of the gradual transition, which is allowed by a specification of a target application. Referring to
Since the output of accumulator 310 is indirectly coupled to low-pass filter 138, change-limiting loop filter 120 provides a nonlinear, but continuous signal to inner loop 108.
Referring to
Loss-of-signal detector 117 determines whether selected input clock signal CLKIN(n) is present based on clock signal REFCLK2D and threshold LOS_THRESH. If either the frequency of selected input clock signal CLKIN(n) is out of the target frequency range or a loss-of-signal condition is detected, control signal generator 121 generates corresponding control signals or an indication that selected input clock signal CLKIN(n) has failed. If event/holdover controller 224 detects an event and triggers holdover mode, frequency target calculator 123 generates target value FREQ_TARGET based on historical input clock average frequency data stored in a storage element. Event/holdover controller 224 configures change-limiting loop filter 120 for open-loop mode and provides target value FREQ_TARGET to change-limiting filter 120. Under some circumstances, instead of entering holdover mode in response to an event, event/holdover controller 224 updates clock select signal CLK_SEL to a next input clock signal, which may be the same clock signal or another clock signal received by select circuit 154. If event/holdover controller 224 detects an event and updates clock select signal CLK_SEL to switch the input clock signal to another valid clock signal received by select circuit 154, frequency target calculator 123 generates target value FREQ_TARGET based on the average frequency of selected input clock signal CLKIN(n). Event/holdover controller 224 configures change-limiting loop filter 120 for open-loop mode and provides target value FREQ_TARGET to change-limiting filter 120. If event/holdover controller 224 does not detect an event, event/holdover controller 224 configures change-limiting loop filter 120 to provide a dynamically updated output to inner phase-locked loop 108. In an embodiment, event/holdover controller 224 is implemented using software executing on a processor (which includes firmware) or by a combination of software and hardware. Software, as described herein, may be encoded in at least one tangible (i.e., non-transitory) computer readable medium. As referred to herein, a tangible computer-readable medium includes at least a disk, tape, or other magnetic, optical, or electronic storage medium.
Referring to
Frequency target calculator 123 determines whether rearrangement of clock generator 104 should include a frequency transition of a frequency step based on a comparison of the magnitude of a difference between target value FREQ_TARGET and the loop filter output to threshold RAMP_THRESH, which is a predetermined transition threshold value (1208). If frequency target calculator 123 determines that a gradual frequency transition is not needed (e.g., the difference is less than the predetermined transition threshold value and the difference is within the bandwidth of outer phase-locked loop 204), then outer phase-locked loop 204 continues to operate in a closed-loop configuration (1202). If frequency target calculator 123 determines that a gradual frequency transition should occur (e.g., the difference is greater than the predetermined transition threshold value) with or without a frequency step, then event/holdover controller 224 opens outer phase-locked loop 204 and configures change-limiting loop filter 120 as described in
In general, predetermined values (e.g., phase slope limit, frequency slope limit, predetermined step, and threshold values) may be fixed during manufacture or production test of clock product 100 or may be defined by a user. As referred to herein, a user is an application (e.g., configuration software) executing on a processor (e.g., executing on controller 102 or a controller external to clock product 100) to configure clock product 100 or clock generator 104, or a person manually configuring clock product 100 for operation. Thus, techniques for a clock product handling of relatively large changes in frequency of an active input clock signal have been described. Techniques described herein improve phase continuity or reduce amount of open-loop operation in some applications.
While circuits and physical structures have been generally presumed in describing embodiments of the invention, it is well recognized that in modern semiconductor design and fabrication, physical structures and circuits may be embodied in computer-readable descriptive form suitable for use in subsequent design, simulation, test or fabrication stages. Structures and functionality presented as discrete components in the exemplary configurations may be implemented as a combined structure or component. Various embodiments of the invention are contemplated to include circuits, systems of circuits, related methods, and tangible computer-readable medium having encodings thereon (e.g., VHSIC Hardware Description Language (VHDL), Verilog, GDSII data, Electronic Design Interchange Format (EDIF), and/or Gerber file) of such circuits, systems, and methods, all as described herein, and as defined in the appended claims. In addition, the computer-readable media may store instructions as well as data that can be used to implement the invention. The instructions/data may be related to hardware, software, firmware or combinations thereof.
The description of the invention set forth herein is illustrative and is not intended to limit the scope of the invention as set forth in the following claims. For example, while the invention has been described in an embodiment in which clock generator 104 uses a dual-loop phase-locked loop, one of skill in the art will appreciate that the teachings herein can be utilized with clock generators including other numbers of cascaded phase-locked loops. In addition, although the invention has been described in an embodiment in which outer phase-locked loop 204 of clock generator 104 controls the divider value used by divider 118 of inner loop 108 and output divider 166 receives divider control signal DIVP, one of skill in the art will appreciate that the teachings herein can be utilized with outer phase-locked loop 204 controlling divider control signal DIVP of an output divider responsive to CLKVCO and divider 118 is responsive to a predetermined divider value.
The terms “first,” “second,” “third,” and so forth, as used in the claims, unless otherwise clear by context, is to distinguish between different items in the claims and does not otherwise indicate or imply any order in time, location or quality. Variations and modifications of the embodiments disclosed herein may be made based on the description set forth herein, without departing from the scope of the invention as set forth in the following claims.
Number | Name | Date | Kind |
---|---|---|---|
5349310 | Rieder | Sep 1994 | A |
6590426 | Perrott | Jul 2003 | B2 |
6711230 | Nicholls | Mar 2004 | B1 |
6741109 | Huang et al. | May 2004 | B1 |
6870411 | Shibahara | Mar 2005 | B2 |
7015738 | Cao | Mar 2006 | B1 |
7271634 | Daga | Sep 2007 | B1 |
7405628 | Hulfachor et al. | Jul 2008 | B2 |
7417510 | Huang | Aug 2008 | B2 |
7463098 | Baird et al. | Dec 2008 | B2 |
7613267 | Perrott et al. | Nov 2009 | B2 |
7777585 | Sonntag | Aug 2010 | B1 |
8441291 | Hara et al. | May 2013 | B2 |
8441575 | Wang | May 2013 | B2 |
8514118 | Eldredge | Aug 2013 | B2 |
8786341 | Weltin-Wu et al. | Jul 2014 | B1 |
8791734 | Hara et al. | Jul 2014 | B1 |
8692599 | Gong et al. | Aug 2014 | B2 |
9705514 | Perrott | Jul 2017 | B2 |
10067478 | Ranganathan | Sep 2018 | B1 |
10075173 | Sarda | Sep 2018 | B2 |
20020044620 | Spijker | Apr 2002 | A1 |
20030025538 | Bisanti | Feb 2003 | A1 |
20050258908 | Mitric | Nov 2005 | A1 |
20070024383 | Spijker | Feb 2007 | A1 |
20070182467 | Nakamuta | Aug 2007 | A1 |
20090052602 | Annampedu | Feb 2009 | A1 |
20100073048 | Ke | Mar 2010 | A1 |
20100158051 | Hadzic | Jun 2010 | A1 |
20100158181 | Hadzic | Jun 2010 | A1 |
20100158183 | Hadzic | Jun 2010 | A1 |
20110007859 | Ueda | Jan 2011 | A1 |
20120049913 | Tadjpour | Mar 2012 | A1 |
20120249195 | Guo | Oct 2012 | A1 |
20130057325 | Dong | Mar 2013 | A1 |
20130106476 | Joubert | May 2013 | A1 |
20140118033 | Anker et al. | May 2014 | A1 |
20140320186 | Jin | Oct 2014 | A1 |
20150222273 | Allan et al. | Aug 2015 | A1 |
20150222274 | Cenger | Aug 2015 | A1 |
20160065224 | Galton | Mar 2016 | A1 |
20160099716 | Kobayashi | Apr 2016 | A1 |
20170187481 | Huang et al. | Jun 2017 | A1 |
20190007055 | Nelson | Jan 2019 | A1 |
Entry |
---|
Silicon Laboratories Inc., “Functional Description,” Si5383/84 Rev D Data Sheet, Oct. 2018, 22 pages. |
Silicon Laboratories Inc., “AN1006: Diffrences Between Si534x/8x Revision B and Revision D Silicon,” Data Sheet, Nov. 3, 2016, 8 pages. |
Shenoi, K., “An Introduction to Synchronization and Timing in Telecommunications,” Qulsar Clocks, Oscillators, and PLLs, WSTS-2013, San Jose, Apr. 16-18, 2013, 73 pages. |