# US 2018/0329450 A1 · Clock Synthesizer with Hitless Reference Switching and Frequency Stabilization

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2018/0329450 A1
- Document ID: US20180329450A1
- Status: Published application
- Kind: A1
- Application number: 15/961,936
- Filed: 2018-04-25
- Published: 2018-11-15
- Earliest claimed: 2017-05-11
- Assignees: Microsemi Semiconductor ULC
- Applicants: Microsemi Semiconductor ULC
- Inventors: Qu Gary JIN; Chao ZHAO
- Web page: https://patentgrep.com/patent/US20180329450A1

## CPC

- G06F 1/12: Synchronisation of different clock signals {provided by a plurality of clock generators}
- G06F 1/04: Generating or distributing clock signals or signals derived directly therefrom
- H03L 7/07: using several loops, e.g. for redundant clock signal generation
- H03L 7/093: using special filtering or amplification characteristics in the loop (H03L7/087 - H03L7/091 take precedence)
- H03L 7/0991: {the oscillator being a digital oscillator, e.g. composed of a fixed oscillator followed by a variable frequency divider (H03L7/0995 takes precedence; fixed oscillators with means for selecting among various phases H03L7/0814)}
- H03L 2207/50: All digital phase-locked loop
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H03L: AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES (generation of oscillations H03B)

## Abstract

A clock synthesizer for synthesizing an output clock locked to a selected reference clock input has a pair of phase locked loops locked to respective reference clock inputs first generating first and second frequencies. One of the frequencies is selected to control a controlled oscillator for generating an output clock. The frequency offset between the first and second frequencies at the time of switching is stored and added to the frequency controlling the controlled oscillator.

## Claims

### Claim 1

A clock synthesizer for synthesizing an output clock locked to a selected reference clock input, comprising:
a first phase locked loop for generating a first frequency locked to a first selected reference clock input;
a second phase locked loop for generating a second frequency locked to a second selected reference clock input;
a controlled oscillator for generating the output clock;
a first switch responsive to a switch signal for selecting said first or second frequency to control said controlled oscillator;
a frequency tracker for storing a frequency offset between said first and second frequencies at the time of switching said reference clock inputs; and
a first adder for adding said frequency offset to said first or second frequency controlling said controlled oscillator.

### Claim 2 (depends on 1)

The clock synthesizer of claim 1, wherein said frequency tracker comprises:
a first subtractor for outputting the difference between said first and second frequencies;
a register for storing said frequency offset; and
a second adder for adding a stored value in said register to said difference to obtain a new frequency offset, and loading said new frequency offset into said register in response to a switch signal.

### Claim 3 (depends on 2)

The clock synthesizer of claim 2, wherein said register has a reset input for resetting the contents of said register to zero.

### Claim 4 (depends on 2)

The clock synthesizer of claim 2, further comprising a filter between said first subtractor and said second adder to obtain a long-term average of said difference.

### Claim 5 (depends on 1)

The clock synthesizer of claim 1, further comprising an attenuator between said frequency tracker and said first adder for reducing said stored frequency offset to zero over time.

### Claim 6

The clock synthesizer of 5, wherein said attenuator comprises a delay register for storing a value that gradually increments until it reaches said stored frequency offset, and a second subtractor for offsetting said incrementing value against said stored frequency offset.

### Claim 7

The clock synthesizer of 6, wherein said attenuator further comprises:
a magnitude/sign block for extracting the magnitude and sign of said stored frequency offset;
a multiplier for multiplying the value stored in said delay register by the extracted sign;
a difference block for extracting the difference between said magnitude and the value stored in said delay register; and
a switch for applying an increment df to the currently stored value in said delay register while the difference between said magnitude and the value stored in said delay register is greater than zero.

### Claim 8

The clock synthesizer of 7, wherein said switch for applying an increment df to the currently stored value in said delay register is applied to the first input of a third adder whose second input receives the current value stored in said register, and whose output is applied to the input of said register.

### Claim 9 (depends on 1)

The clock synthesizer of claim 1, further comprising multiple reference clock inputs, and a reference clock selection switch responsive to a selection signal to couple selected one of said multiple reference clock inputs to said first phase locked loop, and a selected another one of said multiple reference clock inputs to said second phase locked loop.

### Claim 10 (depends on 1)

The clock synthesizer of claim 1, wherein:
said first and second phase locked loops output first and second phases;
said first switch includes a phase tracker for storing a phase offset between said first and second phase at the time of switching said reference clock inputs; and
a fourth adder adds said phase offset to said first or second phase to control said controlled oscillator in addition to the output of said first adder.

### Claim 11 (depends on 1)

The clock synthesizer of claim 1, wherein said clock synthesizer operates in the digital domain, and said first and second phase locked loops receive said selected reference clock inputs from respective phase sampling blocks and include software digital controlled oscillators providing said first and second frequencies.

### Claim 12

A method of synthesizing an output clock from a selected reference clock input, comprising:
generating a first frequency in a first phase locked loop locked to a first selected reference clock input;
generating a second frequency in a second phase locked loop locked to a second selected reference clock input;
selecting one of said first or second frequencies to control a controlled oscillator arranged to synthesize the output clock;
switching to the other of said first or second frequencies to control said controlled oscillator;
storing a frequency offset between said first and second frequencies at the time of switching said reference clock inputs; and
adding said stored frequency offset to said first or second frequency controlling said controlled oscillator.

### Claim 13 (depends on 12)

The method of claim 12, further comprising filtering the difference between said first and second frequencies to obtain a long-term average prior to storing said frequency offset.

### Claim 14 (depends on 12)

The method of claim 12, further comprising periodically resetting the stored frequency offset to zero.

### Claim 15 (depends on 12)

The method of claim 12, further comprising gradually attenuating said stored frequency offset to zero over time after switching to the other of said first or second frequencies.

### Claim 16 (depends on 15)

The method of claim 15, wherein said attenuating is achieved by subtracting a gradually incrementing value from said stored frequency offset.

### Claim 17 (depends on 12)

The method of claim 12, further comprising selecting inputs to said first and second phase locked loops from multiple reference clock inputs in response to a selection signal.

### Claim 18 (depends on 12)

The method of claim 12, further comprising:
generating, in addition to said first and second frequencies, first and second phases in said respective first and second phase locked loops, said first phase being associated with said first frequency and being operable to control said controlled oscillator in conjunction with said first frequency, and said second phase being associated with said second frequency and being operable to control said controlled oscillator in conjunction with said second frequency;
storing a phase offset between said first and second phases associated with said respective first and second frequencies at the time of switching said reference clock inputs; and
adding said phase offset to the phase associated with said selected first or second frequency.

### Claim 19 (depends on 12)

The method of claim 12, wherein said reference clock inputs are phase sampled to provide inputs to said respective phase locked loops, and said phase locked loops include software digital controlled oscillators providing said generated first and second frequencies.

### Claim 20 (depends on 12)

The method of claim 12, wherein the switching between said first and second frequencies occurs in response to monitoring of a quality of said respective reference clock inputs.
