# US 2017/0288677 A1 · Clock signal stop detection circuit

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

- Number: US 2017/0288677 A1
- Document ID: US20170288677A1
- Status: Published application
- Kind: A1
- Application number: 15/623,037
- Filed: 2017-06-14
- Published: 2017-10-05
- Earliest claimed: 2015-08-03
- Assignees: Renesas Electronics Corporation
- Applicants: Renesas Electronics Corporation
- Inventors: Seima UEZATO
- Web page: https://patentgrep.com/patent/US20170288677A1

## CPC

- H03K 21/38: Starting, stopping or resetting the counter (counters with a base other than a power of two H03K23/48, H03K23/66)
- G06F 11/0757: {by exceeding a time limit, i.e. time-out, e.g. watchdogs}
- H02P 31/00: Arrangements for regulating or controlling electric motors not provided for in groups H02P1/00 - H02P5/00, H02P7/00 or H02P21/00 - H02P29/00
- H03K 3/037: Bistable circuits
- H03K 5/1534: Transition or edge detectors
- H03K 5/19: Monitoring patterns of pulse trains (indicating amplitude G01R19/00; indicating frequency G01R23/00; measuring characteristics of individual pulses G01R29/02)
- H03K 19/003: Modifications for increasing the reliability {for protection}
- H03K 19/21: EXCLUSIVE-OR circuits, i.e. giving output if input signal exists at only one input; COINCIDENCE circuits, i.e. giving output only if all input signals are identical
- H03K 21/40: Monitoring; Error detection; Preventing or correcting improper counter operation
- 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)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H02P: CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS

## Abstract

A semiconductor device detects an edge of input data input into a data retention circuit to which a clock signal is supplied, resets a first count value obtained by counting an edge detection frequency with a clock signal, resets a second count value obtained by counting the edge detection frequency with an inverted clock signal, and thereby detects an abnormality of the clock signal in accordance with a situation that either of the first count value and the second count value has reached a value indicative of an overflow state.

## Claims

### Claim 1

A semiconductor device, comprising:
a PWM circuit that receives a clock signal and a PWM control signal, and generates a PWM signal;
a first counter that counts an edge number of the PWM signal;
a second counter that counts the edge number of the PWM signal; and
a clock signal stop detection circuit that detects an abnormality of the clock signal when one of the first counter and the second counter reaches a predetermined value.

### Claim 2 (depends on 1)

The semiconductor device according to claim 1, wherein the PWM circuit is a synchronous circuit with a rising edge of the clock signal.

### Claim 3 (depends on 1)

The semiconductor device according to claim 1,
wherein the clock signal stop detection circuit detects the abnormality of the clock signal when the first counter reaches a first predetermined value or the second counter reaches a second predetermined value,
wherein the second predetermined value is larger value than the first predetermined value.

### Claim 4 (depends on 1)

The semiconductor device according to claim 1, wherein when the clock signal stop detection circuit detects the abnormality of the clock signal, the PWM circuit stops generating the PWM signal.

### Claim 5 (depends on 3)

The semiconductor device according to claim 3,
wherein the PWM circuit is a synchronous circuit with a rising edge of the clock signal,
wherein when the first counter reaches the first predetermined value, the clock signal stop detection circuit detects that the clock signal is fixed to low level.

### Claim 6 (depends on 3)

The semiconductor device according to claim 3,
wherein the PWM circuit is a synchronous circuit with a rising edge of the clock signal,
wherein when the second counter reaches the second predetermined value, the clock signal stop detection circuit detects that the clock signal is fixed to high level.
