# US 2023/0266403 A1 · Device with fault detection and related system and method

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

- Number: US 2023/0266403 A1
- Document ID: US20230266403A1
- Status: Published application
- Kind: A1
- Application number: 17/678,953
- Filed: 2022-02-23
- Published: 2023-08-24
- Earliest claimed: 2022-02-23
- Assignees: STMicroelectronics S.r.l.
- Applicants: STMICROELECTRONICS S.r.l.
- Inventors: Gaudenzia BAGNATI
- Web page: https://patentgrep.com/patent/US20230266403A1

## CPC

- G01R 31/52: Testing for short-circuits, leakage current or ground faults
- H03K 5/24: the characteristic being amplitude
- H03K 17/08: Modifications for protecting switching circuit against overcurrent or overvoltage
- H03K 17/18: Modifications for indicating state of switch
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)
- 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

A device includes a driver circuit and diagnostic circuitry coupled to the driver circuit. The diagnostic circuitry includes an on-state diagnostic circuit and an off-state diagnostic circuit. The diagnostic circuitry, in operation: generates a configuration signal associated with an operative condition of the driver circuit based on a comparator output of the off-state diagnostic circuit; diagnoses conditions associated with the driver circuit; and controls operation of the on-state diagnostic circuit based on the configuration signal.

## Claims

### Claim 1

A device comprising:
a driver circuit; and
diagnostic circuitry coupled to the driver circuit and including on-state diagnostic circuitry and off-state diagnostic circuitry, wherein the diagnostic circuitry, in operation:
generates a configuration signal associated with an operative condition of the driver circuit based on a comparator output of the off-state diagnostic circuitry;
diagnoses conditions associated with the driver circuit; and
controls operation of the on-state diagnostic circuitry based on the configuration signal.

### Claim 2 (depends on 1)

The device of claim 1, wherein operation of the off-state diagnostic circuitry is based on the configuration signal.

### Claim 3 (depends on 1)

The device of claim 1, wherein the on-state diagnostic circuitry, in operation, detects overcurrent of the driver circuit.

### Claim 4 (depends on 1)

The device of claim 1, wherein the off-state diagnostic circuitry, in operation, detects an open load fault, a short fault, or both of the driver circuit.

### Claim 5 (depends on 1)

The device of claim 1, wherein the diagnostic circuitry determines the configuration signal in a fail-safe mode of the device.

### Claim 6 (depends on 5)

The device of claim 5, wherein the fail-safe mode is entered directly from a sleep mode or reset mode.

### Claim 7 (depends on 1)

The device of claim 1, wherein:
the comparator output is an inverted output of a comparator of the off-state diagnostic circuitry; and
a non-inverted output of the comparator is used to indicate an open load fault, a short fault, or both of the driver circuit.

### Claim 8 (depends on 1)

The device of claim 1, wherein:
the off-state diagnostic circuitry includes a plurality of first switches;
the on-state diagnostic circuitry includes a plurality of second switches; and
the device includes combinatorial logic coupled to the plurality of first switches and the plurality of second switches, wherein the combinatorial logic, in operation:
receives the configuration signal from the off-state diagnostic circuitry; and
controls open and closed states of the plurality of first switches and open and closed states of the plurality of second switches based on the configuration signal.

### Claim 9 (depends on 1)

The device of claim 1, wherein the off-state diagnostic circuitry includes:
a comparator;
a first current source coupled to a first input of the comparator;
a second current source coupled to the first input of the comparator; and
an inverter coupled to an output of the comparator.

### Claim 10

A system comprising:
a microcontroller unit;
a system basis chip; and
a device coupled to the microcontroller unit and the system basis chip, the device including:
a driver circuit; and
diagnostic circuitry including on-state diagnostic circuitry and off-state diagnostic circuitry, wherein the diagnostic circuitry, in operation:
generates a configuration signal associated with an operative condition of the driver circuit based on a comparator output of the off-state diagnostic circuitry;
diagnoses conditions associated with the driver circuit; and
controls operation of the on-state diagnostic circuitry based on the configuration signal.

### Claim 11 (depends on 10)

The system of claim 10, wherein the diagnostic circuitry generates the configuration signal in a fail-safe mode.

### Claim 12 (depends on 11)

The system of claim 11, wherein the fail-safe mode is associated with failure of the microcontroller unit.

### Claim 13

A method, comprising:
generating a configuration signal associated with an operative condition of a driver circuit based on a comparator output of off-state diagnostic circuitry, the off-state diagnostic circuitry being coupled to the driver circuit;
diagnosing conditions associated with the driver circuit; and
controlling operation of on-state diagnostic circuitry coupled to the driver circuit, the controlling being based on the configuration signal.

### Claim 14 (depends on 13)

The method of claim 13, wherein the generating a configuration signal includes alternately comparing a reference voltage with a source terminal voltage of the hybrid driver and a drain terminal voltage of the hybrid driver.

### Claim 15 (depends on 14)

The method of claim 14, wherein the generating a configuration signal includes determining the hybrid driver is high-side configured when the inverted comparator output settles following the source terminal voltage exceeding the reference voltage.

### Claim 16 (depends on 14)

The method of claim 14, wherein the generating a configuration signal includes determining the hybrid driver is low-side configured when the inverted comparator output settles following the drain terminal voltage falling below the reference voltage.

### Claim 17 (depends on 14)

The method of claim 14, wherein the alternately comparing results in toggling of the configuration signal, and the toggling is rejected by a digital filter.

### Claim 18 (depends on 13)

The method of claim 13, comprising:
the hybrid driver entering a fail-safe mode from a sleep mode.

### Claim 19 (depends on 18)

The method of claim 18, wherein the configuration signal stabilizes before the hybrid driver enters an active mode from the fail-safe mode.

### Claim 20 (depends on 18)

The method of claim 18, wherein the configuration signal toggles and does not stabilize if overcurrent is present in the hybrid driver.
