Exact rational frequency translation using a phase locked loop (PLL) is well known. However, it generally has been implemented with integer dividers yielding an output/input frequency ratio given by: FOUT/FIN=B/A (A and B are both integers). The integer constraint significantly limits the useful range of ratios, because FOUT is bounded by the range of the PLL's internal frequency source (typically a VCO). The bound on FOUT limits the usefulness of the B/A integer divide ratios. A further constraint on the usefulness of this approach is that FIN/A must be sufficiently large to ensure that the input PLL phase margin is not compromised due to an excessively low PFD update rate. Generally, it is desirable to have the A and B dividers be programmable in order to support a range of FOUT/FIN ratios. A problem arises, however, when the A and/or B dividers lack sufficient depth to satisfy a particular FOUT/FIN ratio.
As discussed in provisional application 61/114,676, the inventors have developed a frequency translation system that provides frequency conversion according to non-integer frequency conversion—where A and B need not be integers. Moreover, the inventors have developed such a system that accepts input clock signals from a variety of independent sources and converts the various clock signals to a common frequency. A problem remains, however, if the frequency converter were to switch from one input clock to another as a dominant clock signal. In such a case, the clock signals generated from the input branches may not be in synchronism, which can cause data loss until the system recovers and a new output clock signal is established. This performance degradation is called a switchover “hit,” colloquially.
Accordingly, the inventors have identified a need in the art for a hitless switchover mechanism in frequency conversion systems, particularly in frequency conversions systems that perform frequency translation that is a ratio of very large integers.
Embodiments of the present invention provide a multi-branch frequency translation system that converts a plurality of independent input clocks to a common frequency. One of the converted clock signals is selected as a dominant clock. The remaining converted clock signals are edge-synchronized with the dominant clock. When the system selects another converted clock signal for use as the dominant clock, the newly selected signal already is edge-synchronized with the dominant clock and, therefore, switchover losses can be avoided. The dominant clock can be subject of further frequency translation processes and output from the system.
where NAi, FAi, MAi and NB, FB, MB are programmable integer values.
The system may include a plurality of branch circuits 110.1-110.n, each of which receives a respective clock signal at its input. Each branch circuit (say, branch 110.1) may include a variable integer divider 112.1, which is controlled by a respective sigma-delta modulator (SDM) 114.1, and a delay lock loop (DLL) 116.1. The branch circuits 110.1-110.n provide frequency divided, phase aligned output clocks to a multiplexer 120. The system 100 further may include a pair of phase lock loops (PLLs) 130, 140 provided in cascade. The second PLL 140 generates an output clock signal on an output terminal OUT. The second PLL 140 may include a variable integer divider 150 in the PLL's feedback path. The variable integer divider 150 may be controlled by an SDM 160.
The paired integer dividers and SDMs (e.g., 112.1 & 114.1, 150 & 160) yield fractional dividers that divide an input clock signal by N+(F/M), where N is the integer portion of the division and F/M is the fractional portion of the division, with M denoting the fractional modulus. Within each branch (say, branch 110.1), the first integer divider 112.1 generates an output clock at node N1.1 with a frequency:
The other branches i also generate output clocks according to
By controlling the factors NAi, FAi, MAi, the system 100 may convert the input clocks from independent frequencies to a common frequency (fN1.1=fN1.1=fN1.n, for all i).
During operation, the system 100 may control the MUX 120 via control line SEL and cause the MUX 120 to select a clock signal from one of the branches to be output to successor stages of the system 100. The selected clock signal may be fed back to the DLLs of the other branches 1-n. The DLLs 116.1-116.n, therefore, synchronize the clock signals output from their respective branches to the selected clock signal from the MUX 120. Thus, the clock signals output from the branches 110.1-110.n are phase synchronized to each other as well.
A PLL 130 accepts the clock frequency converted clock output from the MUX 120 and outputs a second clock. The frequencies of the clock signals input to and output from the PLL 130 may be the same. The PLL 130 tends to filter out transients or other noise present at the PLL's input (node N1.2). Thus, the clock at node N1.3 is ‘cleaner’ than the clock at node N1.2.
The second PLL 140 receives the clock signal output from PLL 130 as its input. It generates a frequency upconverted clock at the output terminal OUT based on a frequency conversion operation performed by the second divider 150 provided in a feedback path of the second PLL 140. The variable integer divider 150 divides the clock signal down by a factor determined by a control signal CTRL2 provided by the second SDM 160. The second SDM 160 generates the control signal to the second integer divider 150 in response to respective control signals NB, FB and MB.
Specifically, the second integer divider 150 generates an output clock at node N1.4 with a frequency:
The second integer divider is provided in a feedback path of the second PLL 140 and, therefore, the PLL 140 causes a frequency conversion between node N1.3 and the output node as:
The frequency translator 100, therefore, performs an overall frequency conversion upon the input clocks and generates an output clock whose frequency is determined by Eq. 1.
As discussed above, the system 100 outputs edge-aligned clock signals at the input to the MUX 120 from all branches 110.1-110.n. This configuration permits so-called “hitless switchover” when the system switches among the input branches. Because the branches are edge-synchronized prior to a switchover, the system 100 need not incur switchover latency that might arise if synchronization were performed after a switchover operation.
where NAi, FAi, MAi and NB, FB, MB are programmable integer values. Optionally, factors J and K also can be made programmable values but, for ease of implementation and because the NAi, FAi, MAi and NB, FB, MB values provide sufficient programming flexibility, factors J and K can be set as fixed values when the frequency translator 200 is fabricated as an integrated circuit.
The system may include a plurality of branch circuits 210.1-210.n. For ease of reference, details of the branch circuits 210.1-210.n are not shown in
As compared to the
The branch DLLs 310.1, 310.2 may have a common structure. Each may include a delay element 312.1, a phase frequency detector 314.1, an accumulator 316.1 and a selection multiplexer 318.1. The delay element 312.1 may receive an input clock signal and may delay the clock signal by a variable amount determined by a control signal received from the MUX 318.1. It may output an edge-aligned clock signal to from the DLL 310.1 to the selection multiplexer 340.
The output clock also may be input to the PFD 314.1 The PFD 314.1 also may accept a clock signal output by its counterpart DLL (310.2) and performs a phase comparison between them. Alternatively, the PFD may accept the second clock signal from the output of MUX 340. The PFD's phase comparisons are output to an accumulator 316.1. The accumulator 316.1 aggregates the phase comparison decisions from the PFD 314.1 and outputs a control signal to the control MUX 318.1.
The reference DLL 320 may include a selection MUX 322, a clock divider 324, a DLL 326 accepting true and complement versions of the output of the clock divider 324 and a flip-flop 328. The selection MUX 322 may select one of the clocks input to the branch DLLs 310.1, 310.2 for further processing. The clock divider 324 may frequency divide the selected clock signal by a predetermined factor (e.g., divide by two). The DLL 326 may edge-align the true and complement versions of the clock output from the frequency divider 324 and generates an output signal indicating that the DLL 326 is locked. The DLL 326 outputs a delay value of the reference DLL 320 to the flip flop 328.
During operation, the control circuit 360 may check the outputs from the dividers 330.1, 330.2 to determine if active clock signals are present. If active clock signals are not present on a particular branch (say, Branch 1), the control circuit 360 may select a counterpart branch (Branch 2) as the master branch via a branch select signal (BR SEL). If there are multiple active inputs, one of the branches may be selected as a master branch according to a predetermined scheme. For example, the master branch may be identified by an external select signal (SEL) or one of the branches may be preselected to take priority over other branches.
The clock from the master branch (say, Branch 1) may be input to the reference DLL 320, which measures the period of the reference clock and produces a delay value corresponding to a half-cycle delay. Once the reference DLL 320 locks, the control circuit 360 may enable the branch DLLS 310.1, 310.2. The branch DLL 310.1 in the master branch (Branch 1 in this example) may operate in an open loop mode, using a delay value from the reference DLL 320 and propagated via the control MUX 318.1 in the respective branch DLL 310.1. Thus, when the first branch is selected, the DLL 310.1 may delay the input clock by a half-cycle delay. The other branch DLLS 310.2 may operate in a closed loop mode, which uses a phase comparison between the locally generated clock and the master clock via the branch DLL's PFD 314.2. This configuration causes clock signals output from all the branch DLLs 310.1, 310.2 to be edge aligned to each other.
If the control circuit 360 detects the loss of a clock signal in the master branch, it may initiate a recovery operation that includes:
Since the failed branch is assigned to alternate DLL status, if the control circuit 360 detects that a clock signal on the failed branch has returned, the DLL of this branch may be set in closed loop mode and may become edge aligned to the reference clock from the reference DLL 320 and generated from the counter-part branch. Thus, branch failure may be accommodated by hitless switchover to the alternate branch. Moreover, when a branch returns, if it has a priority higher than a current master branch, the control circuit 360 may switch back to the higher priority branch, redesignating it as the master branch. The swapping among branches and between open-loop or closed-loop modes allow for continuous hitless switching from one branch to the other as needed.
In the event that both references fail, the control circuit 360 may enter a holdover mode. In this case, the control circuit 360 may hold the PLL at its last setting prior to the holdover condition and the PLL may run at this setting until the holdover condition expires.
Several embodiments of the present invention are specifically illustrated and described herein. However, it will be appreciated that modifications and variations of the present invention are covered by the above teachings and within the purview of the appended claims without departing from the spirit and intended scope of the invention.
The present invention is related to and benefits from the priority of two provisional applications, a first entitled “Exact Frequency Translation Using Dual Cascaded Sigma-Delta Modulator Controlled PLLs,” Ser. No. 61/114,676, and a second entitled “Multiple Input PLL With Hitless Switchover Between Non-Integer Related Input Frequencies,” Ser. No. 61/114,697, which are incorporated by reference herein and to which priority is claimed. Both applications were filed Nov. 14, 2008.
| Number | Name | Date | Kind |
|---|---|---|---|
| 4868513 | Piercy et al. | Sep 1989 | A |
| 5038117 | Miller | Aug 1991 | A |
| 5079521 | Gaskell et al. | Jan 1992 | A |
| 5786778 | Adams et al. | Jul 1998 | A |
| 7058010 | Chidambaran et al. | Jun 2006 | B2 |
| 7148753 | Garlepp et al. | Dec 2006 | B1 |
| RE40424 | Han et al. | Jul 2008 | E |
| 7457388 | Van Den Berg | Nov 2008 | B2 |
| 7656791 | Mok et al. | Feb 2010 | B1 |
| 20020141344 | Chidambaran et al. | Oct 2002 | A1 |
| 20030067405 | Keaveney et al. | Apr 2003 | A1 |
| 20040036509 | Smith | Feb 2004 | A1 |
| 20050046491 | Smith | Mar 2005 | A1 |
| 20050149775 | Van Den Berg | Jul 2005 | A1 |
| 20060139081 | Van Den Berg | Jun 2006 | A1 |
| 20080246521 | Feng | Oct 2008 | A1 |
| 20090143397 | Xia | Jun 2009 | A1 |
| 20090174492 | Zhang | Jul 2009 | A1 |
| 20090195275 | Friedman et al. | Aug 2009 | A1 |
| 20090256601 | Zhang et al. | Oct 2009 | A1 |
| 20100091688 | Staszewski et al. | Apr 2010 | A1 |
| Number | Date | Country |
|---|---|---|
| 1467488 | Oct 2004 | EP |
| Number | Date | Country | |
|---|---|---|---|
| 20100123496 A1 | May 2010 | US |
| Number | Date | Country | |
|---|---|---|---|
| 61114676 | Nov 2008 | US | |
| 61114697 | Nov 2008 | US |