# US 2016/0240193 A1 · Clock Switching in Always-On Component

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

- Number: US 2016/0240193 A1
- Document ID: US20160240193A1
- Status: Published application
- Kind: A1
- Application number: 14/621,093
- Filed: 2015-02-12
- Published: 2016-08-18
- Earliest claimed: 2015-02-12
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Manu Gulati; Gilbert H. Herbeck; Alexei E. Kosut; Girault W. Jones; Timothy J. Millet
- Web page: https://patentgrep.com/patent/US20160240193A1

## CPC

- G10L 15/28: Constructional details of speech recognition systems
- G10L 15/08: Speech classification or search
- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L 2015/088: {Word spotting}
- G10L 2015/223: {Execution procedure of a spoken command}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

In an embodiment, a system on a chip (SOC) may include one or more central processing units (CPUs), a memory controller, and a circuit configured to remain powered on when the rest of the SOC is powered down. The circuit may be configured to receive audio samples and match those audio samples against a predetermined pattern. The circuit may operate according to a first clock during the time that the rest of the SOC is powered down. In response to detecting the predetermined pattern in the samples, the circuit may cause the memory controller and processors to power up. During the power up process, a second clock having one or more better characteristics than the first clock may become available. The circuit may switch to the second clock while preserving the samples, or losing at most one sample, or no more than a threshold number of samples.

## Claims

### Claim 1

A method comprising:
monitoring audio samples in a first component in an integrated circuit during a time that a remainder of the integrated circuit is powered down, wherein the first component is powered on during the time and is operating according to a first clock;
detecting a key phrase in the audio samples by the first component;
powering up a memory controller and initializing the memory controller to store the audio samples in a memory;
powering up at least a portion of the integrated circuit including the memory controller responsive to the detecting;
determining that a second clock used within the integrated circuit is available, wherein the second clock has at least one characteristic that is closer to an ideal clock for the integrated circuit than a corresponding characteristic of the first clock, and wherein the second clock becomes available responsive to powering up the portion of the integrated circuit; and
switching to the second clock in the first component at a time that is not near an arrival of subsequent audio samples to ensure no more than a threshold number of audio samples is lost or corrupted during the switching.

### Claim 2 (depends on 1)

The method as recited in claim 1 wherein the one or more characteristics include phase noise.

### Claim 3 (depends on 1)

The method as recited in claim 1 wherein the one or more characteristics include frequency accuracy.

### Claim 4 (depends on 1)

The method as recited in claim 1 wherein the one or more characteristics include duty cycle.

### Claim 5 (depends on 1)

The method as recited in claim 1 wherein the one or more characteristics include period jitter.

### Claim 6 (depends on 1)

The method as recited in claim 1 further comprising:
capturing a first plurality of the audio samples by the first component operating according to the first clock;
capturing a second plurality of samples by the first component operating according to the second clock;
writing the first plurality of samples and the second plurality of samples to the memory to which the integrated circuit is coupled; and
processing the first plurality of samples and the second plurality of samples from the memory as a single phrase.

### Claim 7 (depends on 6)

The method as recited in claim 6 wherein the processing is performed by a processor that is part of the portion of the integrated circuit that is powered up responsive to detecting the key phrase.

### Claim 8 (depends on 7)

The method as recited in claim 7 wherein the powering up comprises booting an operating system on the processor.

### Claim 9 (depends on 1)

The method as recited in claim 1 further comprising generating the first clock in an oscillator in the integrated circuit.

### Claim 10 (depends on 9)

The method as recited in claim 9 further comprising generating the second clock in a phase lock loop (PLL) in the integrated circuit.

### Claim 11

An integrated circuit comprising:
one or more processors;
a memory controller and a memory; and
a first circuit coupled to the one or more processors and the memory controller, wherein the first circuit is configured to:
remain powered up during times that the one or more processors are powered down;
receive a first plurality of audio samples captured by one or more audio input devices during a time that the one or more processors are powered down, wherein the first circuit operates according to a first clock during the time that the one or more processors are powered down;
detect a predetermined pattern in the first plurality of audio samples;
cause the memory controller to power up and initialize the memory controller to store the first plurality of audio samples in a memory responsive to detecting the predetermined pattern;
cause the one or more processors to power up responsive to detecting the predetermined pattern, wherein a second clock activates responsive to the power up; and
switch to the second clock responsive to the second clock becoming operable at a time that is not near an arrival of a subsequent second plurality of audio samples.

### Claim 12 (depends on 11)

The integrated circuit as recited in claim 11 wherein the predetermined pattern represents sound comprising a verbal utterance of one or more words.

### Claim 13 (depends on 10)

The integrated circuit as recited in claim 10 wherein the first circuit is configured to provide one or more memory controller parameters to the memory controller to program the memory controller for operation responsive to the power up.

### Claim 14 (depends on 11)

The integrated circuit as recited in claim 11 wherein the first circuit comprises a buffer configured to store the first plurality of the audio samples and a second plurality of audio samples received during and after the power up, wherein the first circuit is configured to write the first plurality of samples and the second plurality of samples to the memory.

### Claim 15 (depends on 11)

The integrated circuit as recited in claim 11 wherein the second clock has a lower phase noise than the first clock during use.

### Claim 16 (depends on 11)

The integrated circuit as recited in claim 11 wherein the second clock has a duty cycle that is closer to a 50% duty cycle than a duty cycle of the first clock.

### Claim 17 (depends on 11)

The integrated circuit as recited in claim 11 wherein a period jitter of the second clock is lower than the period jitter of the first clock.

### Claim 18 (depends on 11)

The integrated circuit as recited in claim 11 wherein a frequency accuracy of the second clock is higher than the frequency accuracy of the first clock.

### Claim 19

A system comprising:
an audio input device;
an audio coder/decoder (codec) coupled to the audio input device and configured to generate audio samples from sound detected by the audio input device;
a memory; and
an integrated circuit coupled to the audio codec and the memory, wherein the integrated circuit includes an audio filter circuit, one or more processors, and a memory controller coupled to the memory, and wherein:
the audio filter circuit is configured to detect a predetermined pattern in the audio samples from the audio codec during a time that a memory controller and the one or more processors are powered down, wherein the audio filter circuit operates according to a first clock during the time;
the audio filter circuit is configured to cause the memory controller and the processors to power up responsive to detecting the predetermined pattern, wherein the power up causes a second clock to activate in the integrated circuit; and
the audio filter circuit configured to switch from the first clock to the second clock responsive to activation of the second clock at a time that is not near an arrival of subsequent audio samples.

### Claim 20 (depends on 19)

The system as recited in claim 19 wherein the integrated circuit includes an on-chip oscillator that sources the first clock and a phase-lock loop that sources the second clock.
