# US 2020/0169260 A1 · Fast wakeup for crystal oscillator

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

- Number: US 2020/0169260 A1
- Document ID: US20200169260A1
- Status: Published application
- Kind: A1
- Application number: 16/779,307
- Filed: 2020-01-31
- Published: 2020-05-28
- Earliest claimed: 2018-07-06
- Assignees: Goodix Technology Inc.
- Applicants: Goodix Technology Inc.
- Inventors: Mohamed Aboudina; Ahmed Emira; Faisal Hussien
- Web page: https://patentgrep.com/patent/US20200169260A1

## CPC

- H03L 7/0802: {the loop being adapted for reducing power consumption (H03L7/14 takes precedence)}
- H03L 7/099: concerning mainly the controlled oscillator of the loop
- H03B 5/32: being a piezoelectric resonator (selection of piezoelectric material H10N30/00)
- H03L 3/00: Starting of generators
- H03L 7/0992: {comprising a counter or a frequency divider}
- H03L 7/104: {using an additional signal from outside the loop for setting or controlling a parameter in the loop (H03L7/107, H03L7/12 take precedence)}
- H03L 7/113: using frequency discriminator
- H03L 7/12: using a scanning signal
- H03L 7/093: using special filtering or amplification characteristics in the loop (H03L7/087 - H03L7/091 take precedence)
- H03L 2207/06: Phase locked loops with a controlled oscillator having at least two frequency control terminals
- H03L: AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES (generation of oscillations H03B)
- H03B: GENERATION OF OSCILLATIONS, DIRECTLY OR BY FREQUENCY-CHANGING, BY CIRCUITS EMPLOYING ACTIVE ELEMENTS WHICH OPERATE IN A NON-SWITCHING MANNER; GENERATION OF NOISE BY SUCH CIRCUITS (generators adapted for electrophonic musical instruments G10H; masers or lasers H01S; generation of oscillations in plasma H05H)

## Abstract

Techniques are described for fast wakeup of a crystal oscillator circuit. Embodiments operate in context of a crystal oscillator coupled with a phase-locked loop (PLL). For example, prior to entering sleep mode, embodiments retain a previously obtained coarse code used to coarse-tune a voltage controlled oscillator of the PLL. On wakeup, the PLL is configured in a chirp mode, in which the retained coarse code and a sweep voltage are used to generate a chirp signal at, or close to, a target stimulating frequency for the crystal oscillator. The chirp signal can be used to inject energy into the crystal oscillator, thereby causing the crystal oscillator to move from sleep mode to steady state oscillation relatively quickly.

## Claims

### Claim 1

A method for fast wakeup of a clock system having a crystal oscillator coupled with a phase-locked loop (PLL), the method comprising:
recording a retained coarse code for a voltage-controlled oscillator (VCO) of the PLL while the PLL is operating in an operating mode, in which a control voltage of the VCO is regulated by a feedback loop of the PLL as a function of a reference clock signal received at an initial reference frequency from the crystal oscillator running at a steady state oscillation;
setting the clock system to a sleep mode subsequent to the recording;
setting the PLL to a chirp mode responsive to receiving an instruction to initiate a warm wakeup routine for the clock system subsequent to the setting the clock system to the sleep mode;
coarse-tuning a chirp signal, responsive to the setting the PLL to the chirp mode, by applying the retained coarse code to tune a PLL output frequency of the PLL output signal generated by the VCO, thereby generating the chirp signal by the PLL at an initial chirp frequency that is divided down from the PLL output frequency by a predetermined multiple to approximate the initial reference frequency;
stimulating fast wakeup of the crystal oscillator by injecting the chirp signal into the crystal oscillator while sweeping a frequency of the chirp signal over a range of frequencies set according to the initial chirp frequency and comprising a target stimulating frequency that stimulates resonant oscillation of the crystal oscillator.

### Claim 2 (depends on 1)

The method of claim 1, wherein:
the recording comprises storing the retained coarse code in an always-on domain of a digital phase-locked loop (DPLL) coupled with the PLL; and
the coarse-tuning comprises obtaining the retained coarse code from the always-on domain of the DPLL.

### Claim 3 (depends on 1)

The method of claim 1, wherein:
in the chirp mode, the PLL output signal is generated according to a combination of the retained coarse code and a fine code;
the sweeping the frequency of the chirp signal over a range of frequencies comprises fine-tuning the chirp signal according to a pre-defined range of values of the fine code.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
detecting, subsequent to the stimulating, steady state operation of the crystal oscillator; and
returning the PLL, responsive to the detecting, to the operating mode at least by setting the control voltage of the VCO to be regulated by the feedback loop of the PLL as a function of the reference clock signal.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
updating the retained coarse code, responsive to the returning, to indicate an updated reference frequency,
wherein the reference clock signal is being received from the crystal oscillator at an updated reference frequency as of the returning.

### Claim 6 (depends on 4)

The method of claim 4, further comprising:
updating the retained coarse code, subsequent to the returning, and while the PLL is operating in the operating mode, by enabling an iterative tuning routine of a digital phase-locked loop (DPLL) coupled with the PLL.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
receiving the instruction to initiate the warm wakeup routine for the clock system subsequent to the setting the clock system to the sleep mode.

### Claim 8 (depends on 1)

The method of claim 1, wherein the retained coarse code corresponds to a coarse-tuned output frequency of the VCO that approximates the reference frequency times the predetermined multiple.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
receiving an instruction to set the clock system to the sleep mode while the PLL is operating in the operating mode,
wherein the setting the clock system to the sleep mode is responsive to the receiving the instruction to set the clock system to the sleep mode.

### Claim 10 (depends on 1)

The method of claim 1, wherein the prior wakeup routine is a cold wakeup routine.

### Claim 11 (depends on 1)

The method of claim 1, wherein the coarse-tuned output frequency of the VCO approximates the predetermined multiple of the reference frequency at the steady state operation of the crystal oscillator to within five percent of the predetermined multiple of the reference frequency.

### Claim 12

A clock signal generation system configured to operate selectively in one of an operating mode or a chirp mode in accordance with a mode selection, the system comprising:
a phase-locked loop (PLL) comprising a voltage controlled oscillator (VCO) block configured, such that:
in the operating mode, the VCO block is coupled into a feedback loop that regulates the VCO to generate the PLL output frequency as a function of comparing a feedback frequency against a reference frequency of a reference clock signal, the feedback frequency generated from the PLL output signal; and
in the chirp mode, the VCO is decoupled from the feedback loop and coupled with a sweeper block that drives the PLL to sweep the PLL output frequency over a range of frequencies responsive to a previously recorded retained coarse code and a range of sweep voltages; and
a crystal oscillator coupled with the PLL and configured to generate the reference clock signal, such that:
in the operating mode, the reference frequency corresponds to oscillation of the crystal oscillator at a steady state; and
in the chirp mode, the oscillation of the crystal oscillator is at least partially responsive to injection of a chirp signal corresponding to the feedback frequency.

### Claim 13 (depends on 12)

The system of claim 12, wherein the clock signal generation system is configured to further operate selectively in a sleep mode, and further comprising:
a mode selector block configured to set the PLL to the chirp mode responsive to receiving an instruction to initiate a warm wakeup routine while the clock signal generation system is in the sleep mode.

### Claim 14 (depends on 13)

The system of claim 13, wherein mode selector block is further configured to set the PLL to the operating mode automatically responsive to detecting that the crystal oscillator is oscillating at the steady state.

### Claim 15 (depends on 12)

The system of claim 12, further comprising:
a divider block configured to generate a feedback signal at the feedback frequency by dividing down the PLL output frequency by a predetermined multiple.

### Claim 16 (depends on 15)

The system of claim 15, wherein the chirp signal is the feedback signal.

### Claim 17 (depends on 12)

The system of claim 12, further comprising:
a digital phase-locked loop (DPLL) coupled with the PLL, and configured:
in the operating mode, to obtain the retained coarse code in accordance with the reference frequency in the operating mode; and
in the chirp mode, to apply the retained coarse code to the VCO for coarse tuning of the VCO.

### Claim 18 (depends on 17)

The system of claim 17, wherein:
the DPLL comprises an always-on domain of the DPLL having the retained coarse code recorded thereon.

### Claim 19 (depends on 17)

The system of claim 17, wherein:
the DPLL is configured, in the operating mode, to obtain the retained coarse code by iterating through a plurality of candidate coarse codes to determine one of the candidate coarse codes as corresponding to a coarse-tuned PLL output frequency that most closely approximates a predetermined multiple of the reference frequency in the operating mode.

### Claim 20 (depends on 12)

The system of claim 12, wherein:
the VCO block generates the PLL output frequency, in the chirp mode, responsive to coarse tuning according to the retained coarse code and fine tuning according to a fine code; and
the sweeper block drives the PLL to sweep the PLL output frequency over the range of frequencies by varying the fine code over a pre-defined range of values.
