WO2016161504A1 - Digital phase locked loop arrangement with master clock redundancy - Google Patents
Digital phase locked loop arrangement with master clock redundancy Download PDFInfo
- Publication number
- WO2016161504A1 WO2016161504A1 PCT/CA2016/050272 CA2016050272W WO2016161504A1 WO 2016161504 A1 WO2016161504 A1 WO 2016161504A1 CA 2016050272 W CA2016050272 W CA 2016050272W WO 2016161504 A1 WO2016161504 A1 WO 2016161504A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- master clock
- clock sources
- locked loop
- phase locked
- sources
- Prior art date
Links
- 239000013078 crystal Substances 0.000 claims abstract description 15
- 238000000034 method Methods 0.000 claims description 12
- 238000012937 correction Methods 0.000 claims description 8
- 238000012544 monitoring process Methods 0.000 claims description 8
- 230000004044 response Effects 0.000 claims description 7
- 238000011144 upstream manufacturing Methods 0.000 claims 2
- 230000008878 coupling Effects 0.000 claims 1
- 238000010168 coupling process Methods 0.000 claims 1
- 238000005859 coupling reaction Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 101150018075 sel-2 gene Proteins 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000003278 mimic effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0079—Receiver details
- H04L7/0083—Receiver details taking measures against momentary loss of synchronisation, e.g. inhibiting the synchronisation, using idle words or using redundant clocks
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L7/00—Automatic control of frequency or phase; Synchronisation
- H03L7/06—Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
- H03L7/08—Details of the phase-locked loop
- H03L7/10—Details of the phase-locked loop for assuring initial synchronisation or for broadening the capture range
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L2207/00—Indexing scheme relating to automatic control of frequency or phase and to synchronisation
- H03L2207/06—Phase locked loops with a controlled oscillator having at least two frequency control terminals
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L2207/00—Indexing scheme relating to automatic control of frequency or phase and to synchronisation
- H03L2207/50—All digital phase-locked loop
Definitions
- This invention relates to the field of precision timing, and in particular to a digital phase locked loop arrangement with master clock redundancy, for example, for use in telecommunications.
- the invention also relates to a method of implementing master clock redundancy in a digital phase locked loop.
- DPLL digital phase-locked loop
- the DPLL requires a stable master clock, which is generated from an external crystal oscillator (XO) or temperature compensated variants, such as a temperature compensated crystal oscillator (TCXO) or an oven controlled crystal oscillator (OCXO).
- XO external crystal oscillator
- TCXO temperature compensated crystal oscillator
- OCXO oven controlled crystal oscillator
- Embodiments of the invention address the problem of master clock failure by using two or more redundant XOs. When the first XO that feeds the DPLL fails, another XO takes over.
- a digital phase locked loop arrangement with master clock redundancy comprising: a plurality of master clock sources generating clock signals; a digital phase locked loop (DPLL) including at least one reference input and a digital controlled oscillator (DCO) driven by one of said plurality of master clock sources; clock monitors for monitoring the performance of said master clock sources; a first multiplexer for selecting one of said master clock sources to drive said DCO; and a controller programmed to control said multiplexer to switch said DCO from being driven by a previously selected one of said master clock sources to a newly selected one of said master clock sources upon loss of a clock signal from said previously selected master clock source or when the performance of said previously selected one of said master clock sources falls below a predetemiined acceptable level.
- DPLL digital phase locked loop
- DCO digital controlled oscillator
- the master clock sources may be crystal oscillators, but they could also be other types of clock source, such as SAW oscillators, MEMS oscillators, atomic clock or any device capable of delivering clock signals with the desired stability.
- a digital controlled oscillator as defined herein means any device that uses a master clock and a digital representation of frequency and/or phase to generate an output clock. This includes gapped clock based implementations combined with an analog phase locked loop (APLL), or a straight fractional-N APLL, or a Digital-to-Time converter (DTC) used in a phase interpolator.
- APLL analog phase locked loop
- DTC Digital-to-Time converter
- the DPLL with have a plurality of reference inputs, of which one can be selected by an input multiplexer. The DPLL can however run in the free-run mode without using any reference input.
- Performance is defined herein as the ability of the crystal oscillators to perform their tasks in a satisfactory manner to enable the DPLL to perform within acceptable limits, for example, to maintain the required degree of frequency stability and accuracy.
- the DPLL can successfully recover from XO failure with minimum effect at the output clock so that devices timed from DPLL do not undergo any adverse effects (no bit errors).
- Embodiments of the invention detect not only when the first XO stops generating a clock but also when the XO drifts in frequency outside an allowed threshold.
- An example of such failure arises when the oven in an OCXO fails. In this case, the OCXO frequency will slowly drift from the nominal value as the OCXO cools down.
- Embodiments of the invention also compensates for any frequency difference between active and redundant XO during switchover, which will in turn minimize frequency change at the output of DPLL.
- a digital phase locked loop arrangement with master clock redundancy comprising: a plurality master clock sources generating clock signals; a digital phase locked loop (DPLL) including a digital controlled oscillator (DCO) driven by one of said plurality of master clock sources; clock monitors for monitoring the performance of said master clock sources; a first multiplexer for selecting one of said master clock sources to drive said DCO; and a controller programmed to control said multiplexer to switch said DCO from being driven by a previously selected one of said master clock sources to a newly selected one of said master clock sources upon loss of a clock signal from said previously selected master clock source or when the performance of said previously selected one of said master clock sources falls below a predetermined acceptable level.
- DPLL digital phase locked loop
- DCO digital controlled oscillator
- Figure 1 is top-level block diagram of a DPLL arrangement with master clock redundancy according an embodiment of the invention
- Figure 2 is an algorithm implemented by the state machine (block 111) shown in Figure l;
- Figure 3 is a timing diagram showing the switchover when the XO instantly fails
- Figure 4 is a timing diagram showing the switchover when the XO slowly drifts in frequency outside the predefined threshold.
- Figure 5 is a timing diagram showing the switchover when the XO instantly fails but the digital controlled oscillator (DCO) is fed from an analog phase locked loop (APLL) which multiplies the XO frequency.
- DCO digital controlled oscillator
- APLL analog phase locked loop
- a DPLL 10 has an input reference selector circuit in the form of selection multiplexer 100, which selects one of N input signals, Input Refl to Input RefN in response to a selection signal sel3.
- the multiplexer 100 allows the DPLL to be locked to any of several independent reference signals.
- the DPLL 10 also comprises phase detector 101, low pass filter 102, adder 103 and digitally controlled oscillator (DCO) 104. The output of the DCO 104 is fed back to the phase detector 101.
- DCO digitally controlled oscillator
- the DPLL 10 needs a stable master clock for normal operation.
- crystal oscillators (XOs) 105, 106, 107 provide this clock via a selection multiplexer 112, which is responsive to a selection sell.
- the selected XO clock can be directly used to drive the DCO 104 and other digital circuitry or first multiplied by an analog phase locked loop (APLL) 113.
- APLL analog phase locked loop
- a multiplexer 114 selects either the output of the multiplexer 112 or the output of an APLL 113 in response to a selection signal sel2.
- the multiplexer 114 would be set on the power up (only once) depending on frequency of XOs. If XOs are high frequency ones (for example, 100MHz and above) the APLL 113 will be bypassed. If they are lower frequency (which much more common) the internal APLL is need to multiply frequency.
- controller 111 in the form of a state machine, which may be implemented in software in a processer.
- the controller 111 comprises central processing unit (CPU) 120, input/output block 122, and memory 124 containing a stored program to implement the functions of the state machine.
- CPU central processing unit
- input/output block 122 input/output block 122
- memory 124 containing a stored program to implement the functions of the state machine.
- the controller selects one of XOs 105, 106, 107 via selection signal sell as active to drive the DPLL 10. The remaining XO(s) are used for backup.
- Clock Monitors 108, 109, 110 constantly measure and monitor the frequencies of the XOs and report them to the controller 111. If the controller 111 determines that the frequency of the active XO 105, 106, 107 deviates by more than a configurable threshold (both positive and negative thresholds are included), for example exceeds or falls below a predetermined threshold, or fails entirely, the controller 111 will select a new XO via multiplexer 112. At the same time, the controller 111 will apply a frequency correction to adder 113, which will cancel out the frequency difference between the active and redundant XOs, thus rninimizing any frequency change at the output of the DPLL 10.
- the clock monitors 108, 109, 110 thus serve as performance monitors continually monitoring the performance of their associated crystal oscillators to output an event indication when their performance, in this case frequency stability, departs from a predetermined acceptable level.
- the clock monitors 108, 109, 110 operate in two different modes, selected by a switch 115.
- any selected one of the input reference signals, Input Refl ...Input RefN is used to monitor the master clock sources and only two XOs are required.
- the input signal that the reference DPLL is locked to is selected because it is usually the best one available. However, if another reference is available it could be used as well.
- three XOs use a majority voting system to determine which XO has failed, without the requirement to make use of one of the input reference signals.
- three cross measurements are performed. For example if XOl drifts outside the threshold, the clock monitor for XOl will signal a failure. However, we do not know if XOl drifted outside the range or the reference (X02) measure XOl drifted outside the range. To determine which one failed (XOl or X02), X02 is checked against X03, and XOl is checked against X03.
- XOl is the faulty oscillator, it will also show a failure when checked against X03, whereas X02 when checked against X03 will not show a failure, and X03 when checked against XOl will show a failure.
- Figure 2 shows the operation of the state machine in the controller 111.
- a configurable threshold th is set.
- the state machine reads the measured frequencies Fl(n), F2(n) and F3(n), and responsive to the selected input reference signal checks if one of them exceeds the configurable threshold at step 152.
- the state machine only returns a positive indication if the threshold is exceeded for a configurable monitoring time.
- step 153 determines which XO has failed.
- step 154 determines whether the failed XO is currently active (i.e. driving the DPLL). If the answer is no, the state machine will declare a failure of the identified backup XO at step 155 and loop back to the start.
- the state machine will select at step 156 an alternate XO 105, 106, 107 as the active XO to drive the DPLL 104. It will also compensate for the frequency difference between the failed XOs and the XO that takes over as the active XO.
- Figure 3 shows a timing diagram of the situation that occurs when the active XO instantly fails and its frequency drops to zero at time to.
- the state machine 111 instantly switches to an alternative XO, determines the frequency difference D12 between the new XO (X02) and the last stored good value for the previously active XO (XOl), and applies this frequency difference to the DCO 104 with opposite polarity via adder 103 to cancel out the frequency disturbance at the output of the DPLL resulting from the frequency difference between the XOs.
- Figure 4 shows a timing diagram of the situation that occurs when the active XO (X01) slowly drifts in frequency outside the predefined range. This type of failure might occur, for example, when the oven in an OCXO fails, causing frequency changes (typically increasing) as the OCXO cools down. If the XO used as a reference starts to drift, the threshold will move as well because the threshold is derived from the reference. The majority voting system decides whether or not to declare a failure.
- the state machine 111 switches to the alternate XO, in this case X02, when the threshold for the XO XOl is crossed and applies the frequency difference D12 with opposite polarity, via adder 103 to the DCO 104 at the same time.
- the frequency difference D12 is defined as the difference between the crossed threshold value for XOl and the X02 frequency value, which is the measured frequency difference between XOl and X02 just before the frequency switch occurs,.
- Figure 5 shows a timing diagram in situations where the XO frequency is first multiplied by the APLL 113, and then the output of APLL 113 is used as master clock for the DPLL 10.
- the output frequency of APLL 113 will only change gradually, depending on the loop bandwidth of APLL 113. Because the loop bandwidth is known, the state machine 111 will apply a frequency correction to mimic the response of the APLL 113 but with opposite polarity by determining the frequency change over time and applying the frequency change, with opposite polarity, via adder 103 to the DCO 104
- any block diagrams herein represent conceptual views of illustrative circuitry embodying the principles of the invention.
- a processor may be provided through the use of dedicated hardware as well as hardware capable of executing software in association with appropriate software.
- the functions may be provided by a single dedicated processor, by a single shared processor, or by a plurality of individual processors, some of which may be shared.
- processor should not be construed to refer exclusively to hardware capable of executing software, and may implicitly include, without limitation, digital signal processor (DSP) hardware, network processor, application specific integrated circuit (ASIC), field programmable gate array (FPGA), read only memory (ROM) for storing software, random access memory (RAM), and non volatile storage.
- DSP digital signal processor
- ASIC application specific integrated circuit
- FPGA field programmable gate array
- ROM read only memory
- RAM random access memory
- non volatile storage Other hardware, conventional and/or custom, may also be included.
- the functional blocks or modules illustrated herein may in practice be implemented in hardware or software running on a suitable processor.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
Abstract
Master clock redundancy is provided for a digital phase locked loop having a digital controlled oscillator (DCO) driven by a master clock source, for example, a crystal oscillator. One of a plurality of a crystal oscillators generating clock signals is selected to drive the DCO. The performance of the crystal oscillators is monitored, and the DCO is switched from being driven by a previously selected crystal oscillator to a newly selected crystal oscillator upon loss of a clock signal from the previously selected crystal oscillator or when the performance of the previously selected crystal oscillator falls below a predetermined acceptable level.
Description
Digital Phase Locked loop Arrangement with Master Clock Redundancy Field of the Invention
This invention relates to the field of precision timing, and in particular to a digital phase locked loop arrangement with master clock redundancy, for example, for use in telecommunications. The invention also relates to a method of implementing master clock redundancy in a digital phase locked loop.
Background of the Invention
Most telecom/datacom systems are implemented with a number of digital/mixed signal integrated circuits (ICs), which require an accurate and stable clock source for normal operations. This clock is typically generated by a digital phase-locked loop (DPLL), which receives a recovered reference clock from a network port, cleans it from jitter and wander, and then synthesizes the frequencies required by different integrated circuits in the system. When the input reference clock is unavailable, the DPLL may also be operated in the free-run mode, wherein it continues to run without an input reference.
The DPLL requires a stable master clock, which is generated from an external crystal oscillator (XO) or temperature compensated variants, such as a temperature compensated crystal oscillator (TCXO) or an oven controlled crystal oscillator (OCXO).
In the case of master clock failure, the DPLL will instantly stop generating an output clock and the whole system will fail. XOs typically have a higher failure rate than ICs, and as such can dominate the overall failure rate of the whole system.
Summary of the Invention
Embodiments of the invention address the problem of master clock failure by using two or more redundant XOs. When the first XO that feeds the DPLL fails, another XO takes over.
According to the present invention there is provided a digital phase locked loop arrangement with master clock redundancy, comprising: a plurality of master clock sources generating clock signals; a digital phase locked loop (DPLL) including at least one reference input and a digital controlled oscillator (DCO) driven by one of said plurality of master clock sources; clock monitors for monitoring the performance of said master clock sources; a first multiplexer for selecting one of said master clock sources to drive said DCO; and a controller programmed to control said multiplexer to switch said DCO from being driven by a previously selected one of said master clock sources to a newly selected one of said master clock sources upon loss of a clock signal from said previously selected master clock source or when the performance of said previously selected one of said master clock sources falls below a predetemiined acceptable level.
The master clock sources may be crystal oscillators, but they could also be other types of clock source, such as SAW oscillators, MEMS oscillators, atomic clock or any device capable of delivering clock signals with the desired stability.
A digital controlled oscillator as defined herein means any device that uses a master clock and a digital representation of frequency and/or phase to generate an output clock. This includes gapped clock based implementations combined with an analog phase locked loop (APLL), or a straight fractional-N APLL, or a Digital-to-Time converter (DTC) used in a phase interpolator.
Typically, the DPLL with have a plurality of reference inputs, of which one can be selected by an input multiplexer. The DPLL can however run in the free-run mode without using any reference input.
Performance is defined herein as the ability of the crystal oscillators to perform their tasks in a satisfactory manner to enable the DPLL to perform within acceptable limits, for example, to maintain the required degree of frequency stability and accuracy.
The DPLL can successfully recover from XO failure with minimum effect at the output clock so that devices timed from DPLL do not undergo any adverse effects (no bit errors).
Embodiments of the invention detect not only when the first XO stops generating a clock but also when the XO drifts in frequency outside an allowed threshold. An example of such failure arises when the oven in an OCXO fails. In this case, the OCXO frequency will slowly drift from the nominal value as the OCXO cools down.
Embodiments of the invention also compensates for any frequency difference between active and redundant XO during switchover, which will in turn minimize frequency change at the output of DPLL.
According to another aspect of the present invention there is provided a digital phase locked loop arrangement with master clock redundancy, comprising: a plurality master clock sources generating clock signals; a digital phase locked loop (DPLL) including a digital controlled oscillator (DCO) driven by one of said plurality of master clock sources; clock monitors for monitoring the performance of said master clock sources; a first multiplexer for selecting one of said master clock sources to drive said DCO; and a controller programmed to control said multiplexer to switch said DCO from being driven
by a previously selected one of said master clock sources to a newly selected one of said master clock sources upon loss of a clock signal from said previously selected master clock source or when the performance of said previously selected one of said master clock sources falls below a predetermined acceptable level.
Brief Description of the Drawings
This invention will now be described in more detail, by way of example only, with reference to the accompanying drawings, in which: -
Figure 1 is top-level block diagram of a DPLL arrangement with master clock redundancy according an embodiment of the invention;
Figure 2 is an algorithm implemented by the state machine (block 111) shown in Figure l;
Figure 3 is a timing diagram showing the switchover when the XO instantly fails;
Figure 4 is a timing diagram showing the switchover when the XO slowly drifts in frequency outside the predefined threshold; and
Figure 5 is a timing diagram showing the switchover when the XO instantly fails but the digital controlled oscillator (DCO) is fed from an analog phase locked loop (APLL) which multiplies the XO frequency.
Detailed Description of Preferred Embodiments
Referring now to Figure 1, the DPLL arrangement with master clock redundancy in accordance with an embodiment of the invention is shown. A DPLL 10 has an input reference selector circuit in the form of selection multiplexer 100, which selects one of N input signals, Input Refl to Input RefN in response to a selection signal sel3. The
multiplexer 100 allows the DPLL to be locked to any of several independent reference signals. The DPLL 10 also comprises phase detector 101, low pass filter 102, adder 103 and digitally controlled oscillator (DCO) 104. The output of the DCO 104 is fed back to the phase detector 101.
The DPLL 10 needs a stable master clock for normal operation. In this non-limiting example, crystal oscillators (XOs) 105, 106, 107 provide this clock via a selection multiplexer 112, which is responsive to a selection sell. Depending on the application, the selected XO clock can be directly used to drive the DCO 104 and other digital circuitry or first multiplied by an analog phase locked loop (APLL) 113. For this purpose, a multiplexer 114 selects either the output of the multiplexer 112 or the output of an APLL 113 in response to a selection signal sel2. The multiplexer 114 would be set on the power up (only once) depending on frequency of XOs. If XOs are high frequency ones (for example, 100MHz and above) the APLL 113 will be bypassed. If they are lower frequency (which much more common) the internal APLL is need to multiply frequency.
The arrangement, including the assertion of selection signals sell, sel2, is controlled by a controller 111 in the form of a state machine, which may be implemented in software in a processer. In the illustrated embodiment the controller 111 comprises central processing unit (CPU) 120, input/output block 122, and memory 124 containing a stored program to implement the functions of the state machine.
During normal operation, the controller selects one of XOs 105, 106, 107 via selection signal sell as active to drive the DPLL 10. The remaining XO(s) are used for backup.
Clock Monitors 108, 109, 110, constantly measure and monitor the frequencies of the XOs and report them to the controller 111. If the controller 111 determines that the
frequency of the active XO 105, 106, 107 deviates by more than a configurable threshold (both positive and negative thresholds are included), for example exceeds or falls below a predetermined threshold, or fails entirely, the controller 111 will select a new XO via multiplexer 112. At the same time, the controller 111 will apply a frequency correction to adder 113, which will cancel out the frequency difference between the active and redundant XOs, thus rninimizing any frequency change at the output of the DPLL 10. The clock monitors 108, 109, 110 thus serve as performance monitors continually monitoring the performance of their associated crystal oscillators to output an event indication when their performance, in this case frequency stability, departs from a predetermined acceptable level.
The clock monitors 108, 109, 110 operate in two different modes, selected by a switch 115. In the first mode, any selected one of the input reference signals, Input Refl ...Input RefN, is used to monitor the master clock sources and only two XOs are required.
Usually, the input signal that the reference DPLL is locked to is selected because it is usually the best one available. However, if another reference is available it could be used as well.
In the second mode, three XOs use a majority voting system to determine which XO has failed, without the requirement to make use of one of the input reference signals. With these three clocks three cross measurements are performed. For example if XOl drifts outside the threshold, the clock monitor for XOl will signal a failure. However, we do not know if XOl drifted outside the range or the reference (X02) measure XOl drifted outside the range. To determine which one failed (XOl or X02), X02 is checked against X03, and XOl is checked against X03. If, for example, XOl is the faulty oscillator, it
will also show a failure when checked against X03, whereas X02 when checked against X03 will not show a failure, and X03 when checked against XOl will show a failure.
Figure 2 shows the operation of the state machine in the controller 111. At step 150 a configurable threshold th is set. At step 151, the state machine reads the measured frequencies Fl(n), F2(n) and F3(n), and responsive to the selected input reference signal checks if one of them exceeds the configurable threshold at step 152. Preferably, the state machine only returns a positive indication if the threshold is exceeded for a configurable monitoring time.
If the answer is no, the process flow loops back to the start and a flag will be set to declare that failed XO can no longer be used. Also, an alarm will be generated to the system to report this failure to the operator/user. If the answer is yes, i.e. one of the XOs has exceeded the threshold check, a majority vote is applied at step 153 to determine which XO has failed. A determination is made as step 154 whether the failed XO is currently active (i.e. driving the DPLL). If the answer is no, the state machine will declare a failure of the identified backup XO at step 155 and loop back to the start. If answer is yes, the state machine will select at step 156 an alternate XO 105, 106, 107 as the active XO to drive the DPLL 104. It will also compensate for the frequency difference between the failed XOs and the XO that takes over as the active XO.
Figure 3 shows a timing diagram of the situation that occurs when the active XO instantly fails and its frequency drops to zero at time to. In this case the state machine 111 instantly switches to an alternative XO, determines the frequency difference D12 between the new XO (X02) and the last stored good value for the previously active XO (XOl), and applies this frequency difference to the DCO 104 with opposite polarity via adder 103 to
cancel out the frequency disturbance at the output of the DPLL resulting from the frequency difference between the XOs.
Figure 4 shows a timing diagram of the situation that occurs when the active XO (X01) slowly drifts in frequency outside the predefined range. This type of failure might occur, for example, when the oven in an OCXO fails, causing frequency changes (typically increasing) as the OCXO cools down. If the XO used as a reference starts to drift, the threshold will move as well because the threshold is derived from the reference. The majority voting system decides whether or not to declare a failure. The state machine 111 switches to the alternate XO, in this case X02, when the threshold for the XO XOl is crossed and applies the frequency difference D12 with opposite polarity, via adder 103 to the DCO 104 at the same time. The frequency difference D12 is defined as the difference between the crossed threshold value for XOl and the X02 frequency value, which is the measured frequency difference between XOl and X02 just before the frequency switch occurs,.
Figure 5 shows a timing diagram in situations where the XO frequency is first multiplied by the APLL 113, and then the output of APLL 113 is used as master clock for the DPLL 10. When the active XO fails in this case, and the state machine switches between two XOs, the output frequency of APLL 113 will only change gradually, depending on the loop bandwidth of APLL 113. Because the loop bandwidth is known, the state machine 111 will apply a frequency correction to mimic the response of the APLL 113 but with opposite polarity by determining the frequency change over time and applying the frequency change, with opposite polarity, via adder 103 to the DCO 104
contemporaneously with the changing output frequency of the APLL 113.
It should be appreciated by those skilled in the art that any block diagrams herein represent conceptual views of illustrative circuitry embodying the principles of the invention. For example, a processor may be provided through the use of dedicated hardware as well as hardware capable of executing software in association with appropriate software. When provided by a processor, the functions may be provided by a single dedicated processor, by a single shared processor, or by a plurality of individual processors, some of which may be shared. Moreover, explicit use of the term "processor" should not be construed to refer exclusively to hardware capable of executing software, and may implicitly include, without limitation, digital signal processor (DSP) hardware, network processor, application specific integrated circuit (ASIC), field programmable gate array (FPGA), read only memory (ROM) for storing software, random access memory (RAM), and non volatile storage. Other hardware, conventional and/or custom, may also be included. The functional blocks or modules illustrated herein may in practice be implemented in hardware or software running on a suitable processor.
Claims
1. A digital phase locked loop arrangement with master clock redundancy, comprising:
a plurality of master clock sources generating clock signals;
a digital phase locked loop (DPLL) including a digital controlled oscillator (DCO) driven by one of said plurality of master clock sources;
clock monitors for monitoring a performance of said plurality of master clock sources;
a first multiplexer for selecting one of said master clock sources to drive said DCO; and
a controller programmed to control said multiplexer to switch said DCO from being driven by a previously selected one of said master clock sources to a newly selected one of said master clock sources upon loss of a clock signal from said previously selected master clock source or when the performance of said previously selected one of said master clock sources falls below a predetermined acceptable level.
2. A digital phase locked loop arrangement as claimed in claim 1, wherein said controller comprises a processor implementing a state machine.
3. A digital phase locked loop arrangement as claimed in claim 1, wherein said controller is programmed to switch said master clock sources when said previously selected master clock source experiences a frequency deviation that exceeds a
configurable threshold.
4. A digital phase locked loop arrangement as claimed in claim 3, wherein said controller is programmed to switch said master clock sources when said frequency deviation is exceeded for a predetermined monitoring time.
5. A digital phase locked loop arrangement as claimed in any one of claims 1 to 4, comprising at least two said master clock sources, and wherein said clock monitors are configured to monitor the performance of said at least two master clock sources by comparing their outputs with an input reference clock.
6. A digital phase locked loop arrangement as claimed in any one of claims 1 to 4, comprising at least three said master clock sources, and wherein said controller is programmed to determine when the performance of said previously selected one of said master clock sources has fallen below said predetermined acceptable level by implementing a majority voting scheme wherein the performance of said master clock sources is continually compared with each other.
7. A digital phase locked loop arrangement as claimed in claim 5 or 6, further comprising a switch for coupling inputs of said monitors to either said master clock sources and an output of said first multiplexer.
8. A digital phase locked loop arrangement as claimed in any one of claims 1 to 7, further comprising an adder upstream of said DCO having first and second inputs, said adder receiving a frequency control signal at said first input, and wherein upon switching master clock sources, said controller is programmed to apply a frequency correction to said second input to compensate for any frequency difference between the previously selected master clock source and the newly-selected master clock source.
9. A digital phase locked loop arrangement as claimed in any one of claims 1 to 7, further comprising an adder upstream of said DCO having first and second inputs, a second multiplexer, and an analog phase locked loop (APLL) for multiplying the output of said selected one of said master clock sources, wherein an output of said first multiplexer is coupled to a first input of said second multiplexer and an input of said APLL, and an output of said APLL is coupled to a second input of said second multiplexer, said second multiplexer being responsive to a selection signal to select the output of said first multiplexer or the output of said APLL, and wherein upon switching to a newly selected master clock source the controller is programmed to apply a frequency correction to said second input to compensate for any frequency difference between the previously selected master clock source and the response of the APLL.
10. A digital phase locked loop arrangement as claimed in claim 9, wherein said frequency correction mimics a response of said APLL to said newly selected master clock source with opposite polarity.
11. A digital phase locked loop arrangement as claimed in any one of claims 1 to 10, wherein said master clock sources are crystal oscillators.
12. A method of providing master clock redundancy for a digital phase locked loop having a digital controlled oscillator (DCO) driven by a master clock source acting as a master clock source, the method comprising:
providing a plurality of said master clock sources generating clock signals;
selecting one of said master clock sources to drive said DCO;
monitoring a performance of said master clock sources; and
switching said DCO from being driven by a previously selected one of said
master clock sources to a newly selected one of said master clock sources upon loss of a clock signal from said previously selected master clock source or when the performance of said previously selected one of said master clock sources falls below a predetermined acceptable level.
13. A method as claimed in claim 12, wherein a processor implementing a state machine controls the switching of said master clock sources.
14. A method as claimed in claim 12, comprising switching said master clock sources when said previously selected master clock source experiences a frequency deviation that exceeds a configurable threshold.
15. A method as claimed in claim 12, comprising switching said master clock sources when said frequency deviation is exceeded for a predetermined monitoring time.
16. A method as claimed in any one of claims 12 to 15, wherein said clock monitors monitor the performance of said master clock sources by comparing their outputs with one of said input reference clocks.
17. A method as claimed in any one of claims 12 to 15, comprising implementing a majority voting scheme among at least three said master clock sources wherein the performance of said master clock sources is continually compared with each other to determine when the performance of said previously selected one of said master clock sources has fallen below said predetermined acceptable level.
18. A method as claimed in any one of claims 12 to 17, further comprising adding a frequency correction to a control signal for said DCO to compensate for any frequency
difference between the previously selected master clock source and the newly-selected master clock source.
19. A method as claimed in any one of claims 11 to 18, further comprising multiplying the output of said selected one of said master clock sources in an analog phase locked loop (APLL), and apply a frequency correction to a control signal for said DCO to compensate for any frequency difference between the previously selected master clock source while allowing for the response of the APLL.
20. A method as claimed in claim 19, wherein said frequency correction mimics a response of said APLL to the newly-selected master clock source with opposite polarity.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201680019395.7A CN107431479B (en) | 2015-04-08 | 2016-03-11 | Digital phase-locked loop arrangement with master clock redundancy |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201562144611P | 2015-04-08 | 2015-04-08 | |
US62/144,611 | 2015-04-08 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016161504A1 true WO2016161504A1 (en) | 2016-10-13 |
Family
ID=57071658
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CA2016/050272 WO2016161504A1 (en) | 2015-04-08 | 2016-03-11 | Digital phase locked loop arrangement with master clock redundancy |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107431479B (en) |
WO (1) | WO2016161504A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021138730A1 (en) * | 2020-01-09 | 2021-07-15 | Microsemi Semiconductor Ulc | Circuit and method for generating temperature-stable clocks using ordinary oscillators |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110932719B (en) * | 2019-11-29 | 2021-11-23 | 深圳市皓文电子有限公司 | Clock signal switching method of switching power supply |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5117442A (en) * | 1988-12-14 | 1992-05-26 | National Semiconductor Corporation | Methods and circuits for synchronizing signals in a modular redundant fault tolerant computer system |
US20060119402A1 (en) * | 2003-05-02 | 2006-06-08 | Axel Thomsen | Multi-frequency clock synthesizer |
US7242740B2 (en) * | 2003-04-16 | 2007-07-10 | Zarlink Semiconductor Inc. | Digital phase-locked loop with master-slave modes |
US7643595B2 (en) * | 2004-09-13 | 2010-01-05 | Nortel Networks Limited | Method and apparatus for synchronizing clock timing between network elements |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1225089C (en) * | 2002-10-31 | 2005-10-26 | 百利通电子(上海)有限公司 | Digital lock phase ring for producing multiple frequency point clock signal using one time delay chain |
US8907706B2 (en) * | 2013-04-29 | 2014-12-09 | Microsemi Semiconductor Ulc | Phase locked loop with simultaneous locking to low and high frequency clocks |
CN103399808B (en) * | 2013-06-06 | 2016-05-04 | 北京航天自动控制研究所 | A kind of method that realizes the two redundancies of crystal oscillator in flight control computer |
-
2016
- 2016-03-11 WO PCT/CA2016/050272 patent/WO2016161504A1/en active Application Filing
- 2016-03-11 CN CN201680019395.7A patent/CN107431479B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5117442A (en) * | 1988-12-14 | 1992-05-26 | National Semiconductor Corporation | Methods and circuits for synchronizing signals in a modular redundant fault tolerant computer system |
US7242740B2 (en) * | 2003-04-16 | 2007-07-10 | Zarlink Semiconductor Inc. | Digital phase-locked loop with master-slave modes |
US20060119402A1 (en) * | 2003-05-02 | 2006-06-08 | Axel Thomsen | Multi-frequency clock synthesizer |
US7643595B2 (en) * | 2004-09-13 | 2010-01-05 | Nortel Networks Limited | Method and apparatus for synchronizing clock timing between network elements |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021138730A1 (en) * | 2020-01-09 | 2021-07-15 | Microsemi Semiconductor Ulc | Circuit and method for generating temperature-stable clocks using ordinary oscillators |
Also Published As
Publication number | Publication date |
---|---|
CN107431479A (en) | 2017-12-01 |
CN107431479B (en) | 2018-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9595972B2 (en) | Digital phase locked loop arrangement with master clock redundancy | |
US8907706B2 (en) | Phase locked loop with simultaneous locking to low and high frequency clocks | |
NO310090B1 (en) | Digitally controlled crystal oscillator | |
SE501385C2 (en) | Circuit for retaining a clock signal | |
US7839222B2 (en) | Systems and methods using programmable fixed frequency digitally controlled oscillators for multirate low jitter frequency synthesis | |
JPH0795052A (en) | Frequency synchronizing circuit | |
JP5688905B2 (en) | Reference frequency generator | |
US9979406B2 (en) | High-reliability holdover method and topologies | |
JP6133986B2 (en) | System for generating system clock and temperature gradient detection system | |
US10908635B1 (en) | Detection and management of frequency errors in a reference input clock signal | |
KR20040009269A (en) | System for Concluding Phase of Multi-Clock | |
WO2016161504A1 (en) | Digital phase locked loop arrangement with master clock redundancy | |
US7701268B2 (en) | Clock generation circuit | |
CN101026377A (en) | Clock generation circuit | |
JP5272210B2 (en) | Clock supply device | |
US11815552B2 (en) | Clock frequency monitoring device and clock frequency monitoring method | |
EP3457572B1 (en) | Clock generator circuit and clock signal generation method | |
JP2856108B2 (en) | Frequency deviation detection circuit | |
JP4036013B2 (en) | Frequency monitoring circuit, clock supply device, and frequency monitoring method | |
CA3080598C (en) | Method of limiting frequency overshoot in a timing recovery loop | |
JP5746004B2 (en) | Clock supply method and clock supply apparatus | |
JP3160904B2 (en) | Phase-locked oscillation circuit device | |
CA1296073C (en) | Clock holdover circuit | |
JPH04139930A (en) | Clock generating circuit | |
JP2000341257A (en) | Frequency deviation detector, transmitter and frequency deviation detection method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16775972 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16775972 Country of ref document: EP Kind code of ref document: A1 |