# US 2022/0045021 A1 · Detection circuit for laser fault injection attack on chip and security chip

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

- Number: US 2022/0045021 A1
- Document ID: US20220045021A1
- Status: Published application
- Kind: A1
- Application number: 17/468,221
- Filed: 2021-09-07
- Published: 2022-02-10
- Earliest claimed: 2020-08-07
- Assignees: Shenzhen Goodix Technology Co., Ltd.
- Applicants: Shenzhen Goodix Technology Co., Ltd.
- Inventors: Jianfeng XUE; Yunning LI; Yuan SU
- Web page: https://patentgrep.com/patent/US20220045021A1

## CPC

- H10W 42/405: {using active circuits}
- G01J 1/4257: {applied to monitoring the characteristics of a beam, e.g. laser beam, headlamp beam (monitoring arrangements for lasers in general H01S3/0014)}
- G01J 1/46: using a capacitor
- G06F 21/72: in cryptographic circuits
- G06F 21/75: by inhibiting the analysis of circuitry or operation
- G06F 21/755: {with measures against power attack}
- H10W 42/20: protecting against electromagnetic or particle radiation, e.g. light, X-rays, gamma-rays or electrons
- G01J 2001/446: {Photodiode}
- H10F 39/103: {the at least one element covered by H10F30/00 having potential barriers, e.g. integrated devices comprising photodiodes or phototransistors}
- H10W: GENERIC PACKAGES, INTERCONNECTIONS, CONNECTORS OR OTHER CONSTRUCTIONAL DETAILS OF DEVICES COVERED BY CLASS H10
- G01J: MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY (light sources F21, H01J, H01K, H05B; investigating properties of materials by optical means G01N)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H10F: INORGANIC SEMICONDUCTOR DEVICES SENSITIVE TO INFRARED RADIATION, LIGHT, ELECTROMAGNETIC RADIATION OF SHORTER WAVELENGTH OR CORPUSCULAR RADIATION

## Abstract

Embodiments of the present disclosure provide a detection circuit for a laser fault injection attack on a chip and a security chip. The detection circuit includes a first capacitor, a second capacitor, a first switch, a second switch, a photosensitive element, a first NMOS transistor, and a second NMOS transistor. A drain of the first NMOS transistor is configured to output a first voltage signal, and a drain of the second NMOS transistor is configured to output a second voltage signal. The first voltage signal and the second voltage signal are configured to indicate that the chip is attacked by laser fault injection, thereby realizing detection of the laser fault injection attack, and ensuring the robustness and security of the chips.

## Claims

### Claim 1

A detection circuit for a laser fault injection attack on a chip, being disposed in the chip and comprising:
a first capacitor;
a second capacitor;
a first switch, wherein the first switch comprises a control terminal configured to receive a first clock signal for controlling a turning-on state and a turning-off state of the first switch, a first terminal connected to a supply voltage, and a second terminal grounded through the first capacitor;
a second switch, wherein the second switch comprises a control terminal configured to receive a second clock signal for controlling a turning-on state and a turning-off state of the second switch, a first terminal connected to the supply voltage, and a second terminal grounded through the second capacitor;
a photosensitive element;
a first NMOS transistor, wherein the first NMOS transistor comprises a drain connected to the second terminal of the first switch and configured to output a first voltage signal, a source connected to the photosensitive element, and a gate connected to the second terminal of the second switch; and
a second NMOS transistor, wherein the second NMOS transistor comprises a drain connected to the second terminal of the second switch and configured to output a second voltage signal, a source connected to the photosensitive element, and a gate connected to the second terminal of the first switch; and the first voltage signal and the second voltage signal are configured to indicate the chip is attacked by laser fault injection.

### Claim 2 (depends on 1)

The detection circuit according to claim 1, wherein the first clock signal and the second clock signal have a same frequency and a same phase.

### Claim 3 (depends on 1)

The detection circuit according to claim 1, wherein the first clock signal and the second clock signal have opposite phases.

### Claim 4 (depends on 1)

The detection circuit according to claim 1, wherein the first switch is turned on when the first clock signal is at a high level, and is turned off when the clock signal is at a low level; and the second switch is turned on when the second clock signal is at a high level, and is turned off when the second clock signal is at a low level.

### Claim 5 (depends on 4)

The detection circuit according to claim 4, wherein the first switch comprises a first inverter and a first PMOS transistor, wherein the first PMOS transistor comprises a gate, a drain serving as the first terminal of the first switch, and a source serving as the second terminal of the first switch; and the first inverter comprises an input terminal serving as the control terminal of the first switch, and an output terminal connected to the gate of the first PMOS transistor.

### Claim 6 (depends on 4)

The detection circuit according to claim 4, wherein the second switch comprises a second inverter and a second PMOS transistor, wherein the second PMOS transistor comprises a gate, a drain serving as the first terminal of the second switch, and a source serving as the second terminal of the second switch; and the second inverter comprises an input terminal serving as the control terminal of the second switch, and an output terminal connected to the gate of the second PMOS transistor.

### Claim 7 (depends on 1)

The detection circuit according to claim 1, wherein the first switch is turned on when the first clock signal is at a low level, and is turned off when the first clock signal is at a high level; and the second switch is turned on when the second clock signal is at a low level, and is turned off when the second clock signal is at a high level.

### Claim 8 (depends on 7)

The detection circuit according to claim 7, wherein the first switch comprises a third PMOS transistor, wherein the third PMOS transistor comprises a gate serving as the control terminal of the first switch, a drain serving as the first terminal of the first switch, and a source serving as the second terminal of the first switch.

### Claim 9 (depends on 7)

The detection circuit according to claim 7, wherein the second switch comprises a fourth PMOS transistor, wherein the fourth PMOS transistor comprises a gate serving as the control terminal of the second switch, a drain serving as the first terminal of the second switch, and a source serving as the second terminal of the second switch.

### Claim 10 (depends on 1)

The detection circuit according to claim 1, wherein the first switch is turned on when the first clock signal is at a low level, and is turned off when the first clock signal is at a high level; and the second switch is turned on when the second clock signal is at a high level, and is turned off when the second clock signal is at a low level.

### Claim 11 (depends on 10)

The detection circuit according to claim 10, wherein the first switch comprises a third PMOS transistor, wherein the third PMOS transistor comprises a gate serving as the control terminal of the first switch, a drain serving as the first terminal of the first switch, and a source serving as the second terminal of the first switch.

### Claim 12 (depends on 10)

The detection circuit according to claim 10, wherein the second switch comprises a second inverter and a second PMOS transistor, wherein the second PMOS transistor comprises a gate, a drain serving as the first terminal of the second switch, and a source serving as the second terminal of the second switch; and the second inverter comprises an input terminal serving as the control terminal of the second switch, an output terminal connected to the gate of the second PMOS transistor.

### Claim 13 (depends on 3)

The detection circuit according to claim 3, wherein the first switch is turned on when the first clock signal is at a high level, and is turned off when the first clock signal is at a low level; and the second switch is turned on when the second clock signal is at a low level, and is turned off when the second clock signal is at a high level.

### Claim 14 (depends on 13)

The detection circuit according to claim 13, wherein the first switch comprises a first inverter and a first PMOS transistor, wherein the first PMOS transistor comprises a gate, a drain serving as the first terminal of the first switch, and a source serving as the second terminal of the first switch; and the first inverter comprises an input terminal serving as the control terminal of the first switch, and an output terminal connected to the gate of the first PMOS transistor.

### Claim 15 (depends on 13)

The detection circuit according to claim 13, wherein the second switch comprises:
a fourth PMOS transistor, comprising a gate serving as the control terminal of the second switch, a drain serving as the first terminal of the second switch, and a source serving as the second terminal of the second switch.

### Claim 16 (depends on 3)

The detection circuit according to claim 3, wherein the photosensitive element is a photodiode.

### Claim 17 (depends on 1)

The detection circuit according to claim 1, further comprising:
a signal processing circuit, configured to output a processing signal based on the first voltage signal and the second voltage signal, wherein the processing signal is configured to control states of other circuits in the chip.

### Claim 18

A security chip, comprising:
a detection circuit for a laser fault injection attack on a chip, wherein the detection circuit is disposed in the chip and comprises:
a first capacitor;
a second capacitor;
a first switch, wherein the first switch comprises a control terminal configured to receive a first clock signal for controlling a turning-on state and a turning-off state of the first switch, a first terminal connected to a supply voltage, and a second terminal grounded through the first capacitor;
a second switch, wherein the second switch comprises a control terminal configured to receive a second clock signal for controlling a turning-on state and a turning-off state of the second switch, a first terminal connected to the supply voltage, and a second terminal grounded through the second capacitor;
a photosensitive element;
a first NMOS transistor, wherein the first NMOS transistor comprises a drain connected to the second terminal of the first switch and configured to output a first voltage signal, a source connected to the photosensitive element, and a gate connected to the second terminal of the second switch; and
a second NMOS transistor, wherein the second NMOS transistor comprises a drain connected to the second terminal of the second switch and configured to output a second voltage signal, a source connected to the photosensitive element, and a gate connected to the second terminal of the first switch; and the first voltage signal and the second voltage signal are configured to indicate the chip is attacked by laser fault injection; and
a storage circuit, wherein the first voltage signal and the second voltage signal are configured to control removal of contents of the storage circuit.

### Claim 19 (depends on 18)

The security chip according to claim 18, wherein the first clock signal and the second clock signal have a same frequency and a same phase.

### Claim 20 (depends on 18)

The security chip according to claim 18, wherein the first clock signal and the second clock signal have opposite phases.
