# US 2024/0195424 A1 · 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 2024/0195424 A1
- Document ID: US20240195424A1
- Status: Published application
- Kind: A1
- Application number: 18/063,809
- Filed: 2022-12-09
- Published: 2024-06-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/US20240195424A1

## 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.

### Claim 2 (depends on 1)

The clock monitor of claim 1, wherein the first oscillator has a lower operating frequency than the second oscillator.

### Claim 3 (depends on 2)

The clock monitor of claim 2, 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 4 (depends on 3)

The clock monitor circuit of claim 3, wherein the comparison circuitry is configured to detect the lower frequency clock being stuck.

### Claim 5 (depends on 3)

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

### Claim 6 (depends on 2)

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

### Claim 7 (depends on 6)

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

### Claim 8 (depends on 1)

The clock monitor of claim 1, wherein the first oscillator has a higher operating frequency than the second oscillator.

### Claim 9 (depends on 1)

The clock monitor of claim 1, 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 10 (depends on 1)

The clock monitor of claim 1, 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 11 (depends on 1)

The clock monitor of claim 1, 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 12 (depends on 1)

The clock monitor of claim 1, 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 13 (depends on 1)

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

### Claim 14 (depends on 1)

The clock monitor of claim 1, 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 15 (depends on 1)

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

### Claim 16 (depends on 1)

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

### Claim 17 (depends on 1)

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

### Claim 18 (depends on 1)

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

### Claim 19 (depends on 1)

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

### Claim 20 (depends on 1)

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

### Claim 21 (depends on 18)

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

### Claim 22

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.

### Claim 23 (depends on 22)

The clock monitor circuit of claim 22, wherein the first oscillator has a lower operating frequency than the second oscillator.

### Claim 24 (depends on 23)

The clock monitor circuit of claim 23, 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 25 (depends on 23)

The clock monitor circuit of claim 23, wherein the comparison circuitry is configured to detect the lower frequency clock being stuck.

### Claim 26 (depends on 23)

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

### Claim 27 (depends on 23)

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

### Claim 28 (depends on 27)

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

### Claim 29 (depends on 22)

The clock monitor circuit of claim 22, wherein the first oscillator has a higher operating frequency than the second oscillator.

### Claim 30 (depends on 22)

The clock monitor circuit of claim 22, 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 31 (depends on 22)

The clock monitor circuit of claim 22, 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 32 (depends on 22)

The clock monitor circuit of claim 22, 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 33 (depends on 22)

The clock monitor circuit of claim 22, 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 34 (depends on 22)

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

### Claim 35 (depends on 22)

The clock monitor circuit of claim 22, 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 36 (depends on 22)

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

### Claim 37 (depends on 22)

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

### Claim 38 (depends on 22)

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

### Claim 39 (depends on 22)

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

### Claim 40 (depends on 22)

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

### Claim 41 (depends on 40)

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

### Claim 42 (depends on 22)

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