# US 12,063,046 B2 · Oscillator monitoring circuits for different oscillator domains

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

- Number: US 12,063,046 B2
- Document ID: US12063046B2
- Status: Granted
- Kind: B2
- Application number: 18/063,809
- Filed: 2022-12-09
- Published: 2024-06-13
- Granted: 2024-08-13
- Earliest claimed: 2022-12-09
- Assignees: Allegro MicroSystems, LLC
- Applicants: Allegro MicroSystems, LLC
- Inventors: Florencia Ferrer; Lucas Intile; Juan Manuel Cesaretti; Nicolás Rigoni
- Web page: https://patentgrep.com/patent/US12063046B2

## CPC

- 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)}
- H03D 13/001: {in which a pulse counter is used followed by a conversion into an analog signal}
- H03K 3/12: bistable
- H03K 5/19: Monitoring patterns of pulse trains (indicating amplitude G01R19/00; indicating frequency G01R23/00; measuring characteristics of individual pulses G01R29/02)
- H03L: AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES (generation of oscillations H03B)
- H03D: DEMODULATION OR TRANSFERENCE OF MODULATION FROM ONE CARRIER TO ANOTHER (masers, lasers H01S; circuits capable of acting both as modulator and demodulator H03C; details applicable to both modulators and frequency-changers H03C; demodulating pulses H03K9/00; transforming types of pulse modulation H03K11/00; coding, decoding or code conversion, in general H03M; repeater stations H04B7/14; demodulators adapted for AC systems of digital information transmission H04L27/00; synchronous demodulators adapted for colour television H04N9/66)
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)

## Abstract

Clock monitors for circuits having a plurality of oscillators. The clock monitors produce an error indication when one oscillator is determined to be outside of a desired operating range or beyond a defined threshold with respect to a second oscillator. The clock monitors include a synchronizer configured to receive a clock signal from a first oscillator of the plurality of oscillators and synchronize the received clock signal with a second oscillator and to produce a synchronized clock signal. The clock monitors can include a counter configured to produce a count value based on synchronized clock signal. The clock monitors include comparison circuitry configured to receive the count value and produce an error indication when the count value is outside a predetermined range. The clock monitors may be used to ensure correct clock operation for different transition scenarios, e.g., turning on or off a certain clock or power domain.

## Claims

### Claim 1

A clock monitor for a monitored circuit having a plurality of oscillators, the clock monitor comprising:
means for synchronization configured to receive a clock signal from a first oscillator of the plurality of oscillators and synchronize the received clock signal with a second oscillator of the plurality of oscillators and to produce a synchronized clock signal;
a counter configured to produce a count value based on synchronized clock signal; and
comparison circuitry configured to receive the count value and produce an error indication when the count value is outside a predetermined range;
wherein the first oscillator is configured to run at a nominal frequency of about 2 MHz and the second oscillator is configured to run at a nominal frequency of about 16 MHZ, wherein the means for synchronization is disposed in a domain of the second oscillator.

### Claim 2 (depends on 1)

The clock monitor of claim 1, wherein the comparison circuitry comprises a comparator configured to compare the count value to upper and/or lower threshold values and to determine whether the count value indicates a frequency error.

### Claim 3 (depends on 2)

The clock monitor circuit of claim 2, wherein the comparison circuitry is configured to detect the clock signal from the first oscillator being stuck.

### Claim 4 (depends on 2)

The clock monitor circuit of claim 2, wherein the comparison circuitry is configured to detect the frequency difference between the two clock signals being outside of a predetermined range.

### Claim 5 (depends on 1)

The clock monitor of claim 1, further comprising an edge detector configured to detect transitions between one digital signal state and another state of the synchronized clock signal.

### Claim 6 (depends on 5)

The clock monitor of claim 5, wherein the edge detector comprises a rising-edge detector.

### Claim 7

A clock monitor for a monitored circuit having a plurality of oscillators, the clock monitor comprising:
means for synchronization configured to receive a clock signal from a first oscillator of the plurality of oscillators and synchronize the received clock signal with a second oscillator of the plurality of oscillators and to produce a synchronized clock signal;
a counter configured to produce a count value based on synchronized clock signal; and
comparison circuitry configured to receive the count value and produce an error indication when the count value is outside a predetermined range;
wherein the first oscillator is configured to run at a nominal frequency of about 250 kHz and the second oscillator is configured to run at a nominal frequency of about 2 MHz, wherein the means for synchronization is disposed in a domain of the second oscillator.

### Claim 8

A clock monitor for a monitored circuit having a plurality of oscillators, the clock monitor comprising:
means for synchronization configured to receive a clock signal from a first oscillator of the plurality of oscillators and synchronize the received clock signal with a second oscillator of the plurality of oscillators and to produce a synchronized clock signal;
a counter configured to produce a count value based on synchronized clock signal; and
comparison circuitry configured to receive the count value and produce an error indication when the count value is outside a predetermined range;
wherein the first oscillator is configured to run at a nominal frequency of about 250 kHz and the second oscillator is configured to run at a nominal frequency of about 16 MHz, wherein the means for synchronization is disposed in a domain of the second oscillator.

### Claim 9 (depends on 8)

The clock monitor of claim 8, wherein the comparison circuitry comprises a finite state machine (FSM).

### Claim 10

A clock monitor for a monitored circuit having a plurality of oscillators, the clock monitor comprising:
means for synchronization configured to receive a clock signal from a first oscillator of the plurality of oscillators and synchronize the received clock signal with a second oscillator of the plurality of oscillators and to produce a synchronized clock signal;
a counter configured to produce a count value based on synchronized clock signal; and
comparison circuitry configured to receive the count value and produce an error indication when the count value is outside a predetermined range;
wherein the first oscillator is configured to run at a nominal frequency of about 2 MHz and the second oscillator is configured to run at a nominal frequency of about 250 kHz, wherein the means for synchronization is disposed in the domain of the second oscillator.

### Claim 11 (depends on 10)

The clock monitor of claim 10, wherein the means for synchronization comprises a plurality of flip-flops configured in series.

### Claim 12 (depends on 10)

The clock monitor of claim 10, wherein the means for synchronization comprises a MUX synchronizer.

### Claim 13 (depends on 10)

The clock monitor of claim 10, wherein the means for synchronization comprises a toggle synchronizer.

### Claim 14 (depends on 10)

The clock monitor of claim 10, wherein the means for synchronization comprises a dual-clock FIFO synchronizer.

### Claim 15 (depends on 10)

The clock monitor of claim 10, wherein the plurality of oscillators is disposed in an integrated circuit.

### Claim 16 (depends on 10)

The clock monitor of claim 10, wherein the comparison circuitry is configured to implement a predetermined range including upper and lower thresholds.

### Claim 17 (depends on 16)

The clock monitor of claim 16, wherein the upper and lower thresholds each comprise a pair of different thresholds.

### Claim 18

A clock monitor circuit for detecting oscillator frequency error in an integrated circuit including a plurality of oscillators, the clock monitor circuit comprising:
a synchronizer configured to receive a clock signal from a first oscillator of the plurality of oscillators and synchronize the received clock signal with a second oscillator of the plurality of oscillators and to produce a synchronized clock signal;
a counter configured to produce a count value based on synchronized clock signal; and
comparison means configured to receive the count value and produce an error indication when the count value is outside a predetermined range;
wherein the first oscillator is configured to run at a nominal frequency of about 2 MHz and the second oscillator is configured to run at a nominal frequency of about 16 MHz, wherein the synchronizer is disposed in a domain of the second oscillator.

### Claim 19 (depends on 18)

The clock monitor circuit of claim 18, wherein the comparison means comprises a comparator configured to compare the count value to upper and/or lower threshold values, to determine whether the count value indicates a frequency error.

### Claim 20 (depends on 18)

The clock monitor circuit of claim 18, wherein the comparison circuitry is configured to detect the clock signal from the first oscillator being stuck.

### Claim 21 (depends on 18)

The clock monitor circuit of claim 18, wherein the comparison circuitry is configured to detect the frequency difference between the two clock signals being outside of a predetermined range.

### Claim 22 (depends on 18)

The clock monitor circuit of claim 18, further comprising an edge detector configured to detect transitions between one digital signal state and another state of the synchronized clock signal.

### Claim 23 (depends on 22)

The clock monitor circuit of claim 22, wherein the edge detector comprises a rising-edge detector.

### Claim 24

A clock monitor circuit for detecting oscillator frequency error in an integrated circuit including a plurality of oscillators, the clock monitor circuit comprising:
a synchronizer configured to receive a clock signal from a first oscillator of the plurality of oscillators and synchronize the received clock signal with a second oscillator of the plurality of oscillators and to produce a synchronized clock signal;
a counter configured to produce a count value based on synchronized clock signal; and
comparison means configured to receive the count value and produce an error indication when the count value is outside a predetermined range;
wherein the first oscillator is configured to run at a nominal frequency of about 250 kHz and the second oscillator is configured to run at a nominal frequency of about 2 MHz, wherein the synchronizer is disposed in a domain of the second oscillator.

### Claim 25

A clock monitor circuit for detecting oscillator frequency error in an integrated circuit including a plurality of oscillators, the clock monitor circuit comprising:
a synchronizer configured to receive a clock signal from a first oscillator of the plurality of oscillators and synchronize the received clock signal with a second oscillator of the plurality of oscillators and to produce a synchronized clock signal;
a counter configured to produce a count value based on synchronized clock signal; and
comparison means configured to receive the count value and produce an error indication when the count value is outside a predetermined range;
wherein the first oscillator is configured to run at a nominal frequency of about 250 kHz and the second oscillator is configured to run at a nominal frequency of about 16 MHz, wherein the synchronizer is disposed in a domain of the second oscillator.

### Claim 26 (depends on 25)

The clock monitor circuit of claim 25, wherein the comparison means comprises a finite state machine (FSM).

### Claim 27

A clock monitor circuit for detecting oscillator frequency error in an integrated circuit including a plurality of oscillators, the clock monitor circuit comprising:
a synchronizer configured to receive a clock signal from a first oscillator of the plurality of oscillators and synchronize the received clock signal with a second oscillator of the plurality of oscillators and to produce a synchronized clock signal;
a counter configured to produce a count value based on synchronized clock signal; and
comparison means configured to receive the count value and produce an error indication when the count value is outside a predetermined range;
wherein the first oscillator is configured to run at a nominal frequency of about 2 MHz and the second oscillator is configured to run at a nominal frequency of about 250 kHz, wherein the synchronizer is disposed in the domain of the second oscillator.

### Claim 28 (depends on 27)

The clock monitor circuit of claim 27, wherein the synchronizer comprises a plurality of flip-flops configured in series.

### Claim 29 (depends on 27)

The clock monitor circuit of claim 27, wherein the synchronizer comprises a MUX synchronizer.

### Claim 30 (depends on 27)

The clock monitor circuit of claim 27, wherein the synchronizer comprises a toggle synchronizer.

### Claim 31 (depends on 27)

The clock monitor circuit of claim 27, wherein the synchronizer comprises a dual-clock FIFO synchronizer.

### Claim 32 (depends on 27)

The clock monitor circuit of claim 27, wherein the comparison means is configured to implement a predetermined range including upper and lower thresholds.

### Claim 33 (depends on 32)

The clock monitor circuit of claim 32, wherein the upper and lower thresholds each comprise a pair of different thresholds.

### Claim 34 (depends on 27)

The clock monitor circuit of claim 27, wherein the clock monitor circuit comprises a microcontroller.
