WO2014190666A1 - Circuit de détection et procédé de détection de signal d'impulsion transitoire de puissance - Google Patents

Circuit de détection et procédé de détection de signal d'impulsion transitoire de puissance Download PDF

Info

Publication number
WO2014190666A1
WO2014190666A1 PCT/CN2013/086267 CN2013086267W WO2014190666A1 WO 2014190666 A1 WO2014190666 A1 WO 2014190666A1 CN 2013086267 W CN2013086267 W CN 2013086267W WO 2014190666 A1 WO2014190666 A1 WO 2014190666A1
Authority
WO
WIPO (PCT)
Prior art keywords
capacitor
resistor
input port
comparator
power source
Prior art date
Application number
PCT/CN2013/086267
Other languages
English (en)
Chinese (zh)
Inventor
杨小坤
原义栋
赵东艳
张海峰
李振国
Original Assignee
国家电网公司
北京南瑞智芯微电子科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 国家电网公司, 北京南瑞智芯微电子科技有限公司 filed Critical 国家电网公司
Publication of WO2014190666A1 publication Critical patent/WO2014190666A1/fr

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/165Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
    • G01R19/16533Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the application
    • G01R19/16538Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the application in AC or DC supplies
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/25Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
    • G01R19/2513Arrangements for monitoring electric power systems, e.g. power lines or loads; Logging

Definitions

  • the present invention relates to the field of embedded system technologies, and in particular, to a power glitch signal detecting circuit and a detecting method.
  • a power glitch attack is to change a power supply voltage or a ground voltage input to a chip, causing certain circuit elements in the chip to be affected, causing one or more circuit units to enter an error state, thereby causing the chip processor.
  • information cards in the field of information security have become the focus of attack by hackers.
  • the power glitch detection circuit generally includes four steps of glitch acquisition, calculation, comparison and latching.
  • the comparison and latching are mainly realized by the comparator and the latch, and the acquisition and operation of the glitch are mainly realized by the resistor string.
  • the purpose of detecting the glitch on the power supply is achieved by comparing the power supply voltage by a resistor string and comparing it with a fixed reference voltage. When the power supply voltage is glitched and its transient value is higher or lower than the reference voltage we set.
  • the comparator generates an interrupt warning signal.
  • the voltage domain of the power glitch detection circuit is completely different from the voltage domain being attacked. While collecting the attacked voltage through the resistor string, it is necessary to consider whether the latter circuit can process the attack signal after the acquisition. In this case, it is inevitable to consider the actual signal input range of the latter circuit.
  • the resistor string can only collect the low frequency signal on the power supply, and the high frequency signal on the power supply cannot achieve the same ratio acquisition.
  • the present invention provides a power glitch signal detecting circuit and a detecting method.
  • a power supply glitch signal detecting circuit includes: a power source, a comparator, a first capacitor, a second capacitor, a first resistor, a second resistor, and a third resistor,
  • the positive input port of the comparator is connected to one pole of the power source through a first capacitor, and the negative input port of the comparator is connected to the other pole of the power source through a second capacitor, the power source includes a positive pole of the power source and a negative pole of the power source; the first resistor, the second resistor, and The third resistor is connected in series; the current is input from the first resistor, and the third resistor is grounded; the first capacitor is connected to the positive input port of the comparator through a connection point of the first resistor and the second resistor; the second capacitor is passed through the second resistor and the third resistor The connection point of the resistor is connected to the negative input port of the comparator.
  • the detection circuit further includes a third capacitor, the first capacitor and the second capacitor being connected in series by the third capacitor.
  • Voltage is the power supply glitch signal voltage
  • ( ⁇ is the capacitance value of the first capacitor
  • c 3 is the capacitance value of the third capacitor.
  • the glitch signal voltage at the positive input port is:
  • V A ⁇ Vcc , where is the glitch signal voltage at the positive input port; the power supply glitch signal voltage; ( ⁇ is the capacitance value of the first capacitor, and c 3 is the capacitance value of the third capacitor.
  • the detection circuit also includes a shaper and a latch, and the comparator is coupled to the latch through a shaper.
  • a power supply glitch signal detecting method includes: a first capacitor and a second capacitor collecting a glitch signal of a power source positive pole and a power source negative pole; the current sequentially passes through the first resistor, the second resistor, and the third resistor, A DC bias voltage provided for the comparator is generated at a connection point of the first resistor and the second resistor, and a connection point between the second resistor and the third resistor; the comparator obtains a glitch by comparing a voltage difference between the positive input port and the negative input port Signal voltage.
  • the method further includes: the first capacitor, the second capacitor, and the third capacitor collecting a glitch signal of the positive pole of the power source and the negative pole of the power source.
  • the method further includes: the comparator further comparing the glitch signal voltage with an alarm threshold, and transmitting the comparison result to the shaper; the shaper converts the comparison result into a digital signal; the latch latches the digital signal, and when the comparison result is a glitch When the signal voltage is greater than the alarm threshold, the latch generates an interrupt warning signal.
  • FIG. 1 is a schematic structural view of an embodiment of a power supply glitch signal detecting circuit of the present invention
  • FIG. 2 is a schematic diagram of a power supply glitch signal of the present invention as a negative glitch signal
  • FIG. 3 is a schematic diagram of the power supply glitch signal of the present invention as a positive glitch signal
  • FIG. 4 is a schematic structural view of another embodiment of the power supply glitch signal detecting circuit of the present invention
  • FIG. 5 is a schematic structural view of another embodiment of the power glitch signal detecting circuit of the present invention
  • FIG. 6 is still another embodiment of the power glitch signal detecting circuit of the present invention
  • Schematic diagram of the structure. DETAILED DESCRIPTION OF THE INVENTION The present invention will be described in detail below with reference to the accompanying drawings.
  • the power supply glitch signal detecting circuit embodiment of the present invention includes: a power supply positive terminal VCC, a power supply negative electrode VSS, a comparator COMP, a first capacitor C1 and a second capacitor C2, a first resistor R1, and a second resistor R2.
  • the positive input port A of COMP is connected to VCC through C1
  • the negative input port B of COMP is connected to VSS through C2.
  • Rl, R2 and R3 are connected in series. Current Ibias is input from R1 and R3 is grounded. C1 is connected to port A through the connection point of R1 and R2; C2 is connected to port B through the connection point of R2 and R3.
  • Voltages V A and V B are The latter comparator provides a DC bias. Due to the presence of the resistor R2, there is a certain voltage difference V TH between the two points A and B, and the voltage difference V TH is exactly the voltage amplitude of the power supply glitch signal to be detected.
  • the capacitors C1 and C2 collect the glitch signal to the ports A and B, and isolate the DC signal of the power supply voltage from the ports A and B. Therefore, the VCC DC voltage conversion will not have any effect on the subsequent circuits.
  • the detection circuit in this embodiment further includes a shaper and a latch.
  • the comparator is connected to the latch through a shaper.
  • the comparator further compares the glitch signal voltage to the alarm threshold and sends the comparison result to the shaper.
  • the shaper converts the comparison result into a digital signal.
  • the latch latches the digital signal. When the comparison result is that the glitch signal voltage is greater than the alarm threshold, the latch generates an interrupt warning signal. After that, the processor can perform real-time protection processing on each circuit unit according to the interrupt alarm signal to prevent information from being stolen.
  • FIG. 1 If the voltage output from VCC is used as the input signal, port A is used as the output terminal. If R 2 + R 3 » ⁇ , : ⁇ , and R 3 are the resistance values of resistors R1, R2, and R3, respectively, then capacitor C1 and resistor R1 are formed.
  • the high-pass filter circuit of the signal has a time constant of i;:! ⁇ * ⁇ , which is the capacitance value of the capacitor C1. Similarly, if +
  • T 2 R 3 * C 2
  • C 2 is the capacitance value of the capacitor C2.
  • the frequency range of the VCC glitch signal that the detection circuit can detect is 3 ⁇ 4 ⁇ fycc ⁇ f top;
  • the detection circuit can detect The VSS glitch signal frequency range is f 2 ⁇ f vss ⁇ f top .
  • the highest frequency of the AC input signal that the comparator can detect is 1 GHz, and the frequency range of the glitch signal that the circuit can detect is ⁇ GHz.
  • the power glitch signal may be a negative glitch signal, which can be detected by using the detection circuit shown in Figure 1.
  • the power glitch signal may also be a positive glitch attack signal, which can be detected using the detection circuit shown in Figure 4.
  • the detection circuits of Figures 1 and 4 operate in the same way, except that the detected glitch signals are of opposite polarity.
  • the positive pole of the power supply is connected to the port B of the comparator through the capacitor C2
  • the negative pole of the power supply is connected to the port A of the comparator through the capacitor C1.
  • the detecting circuit in this embodiment collects the glitch signal on the power source through the capacitor, and can isolate the DC voltage, so there is no DC power consumption; and, by isolating the DC voltage, the DC voltage value of the attacked power source changes.
  • the circuit has no effect, and the detection circuit is flexible and portable.
  • Embodiment 2 the purpose of detecting positive and negative voltage glitch signals can be achieved by fine-tuning the circuit structure.
  • the voltage of the glitch signal and the operating voltage of the detection circuit are issues that must be considered.
  • the operating voltage VDD of the detecting circuit is much smaller than the voltage amplitude of the glitch signal, the detecting circuit cannot normally detect the glitch signal.
  • the power supply glitch signal detecting circuit of the present embodiment adds a third capacitor C3 based on the first embodiment. Cl and C2 are connected in series by C3. That is, the voltage of the glitch signal at the power source is divided by the capacitor C3 to lower the input port.
  • VCC is used as the input signal
  • port A is used as the output
  • + Rz and R 3 are the resistance values of the resistors R1, R2 and R3 respectively
  • the capacitors Cl, C3 and the resistor R1 form a high-pass filter circuit for the signal
  • the time constant is T:! ⁇ * ⁇
  • Cp C 3 is the capacitor.
  • C 2 is the capacitance value of the capacitor C2.
  • the maximum frequency of the AC input signal that the comparator can detect is 1 GHz.
  • the frequency range of the VCC glitch signal that the circuit can detect is
  • the frequency range of the VSS glitch that can be detected is ⁇ ⁇ f vss ⁇ ⁇ GHz.
  • the detection circuit can normally detect the glitch signal with a large voltage amplitude.
  • the present invention further provides a power glitch signal detecting method, comprising: a first capacitor and a second capacitor collecting a glitch signal of a power source positive pole and a power source negative pole; the current sequentially passes through the first resistor, the second resistor, and the third resistor And generating a DC bias voltage for the comparator at a connection point of the first resistor and the second resistor, a connection point between the second resistor and the third resistor; comparing the voltage difference between the positive input port and the negative input port by the comparator Obtain the glitch signal voltage.
  • the method further includes: the first reference voltage and the second reference voltage provide a DC bias voltage to the comparator through the first resistor and the second resistor, respectively.
  • the method further comprises: the comparator further comparing the glitch signal voltage with the alarm threshold, and transmitting the comparison result to the shaper; the shaper converts the comparison result into a digital signal; the latch latches the digital signal, when When the comparison result is that the glitch signal voltage is greater than the alarm threshold, the latch generates an interrupt warning signal.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Manipulation Of Pulses (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

La présente invention concerne un circuit de détection et un procédé de détection de signal d'impulsion transitoire de puissance. Le circuit de détection comprend : un bloc d'alimentation, un comparateur, un premier condensateur, un second condensateur, une première résistance, une deuxième résistance, et une troisième résistance, le port d'entrée positive du comparateur étant connecté à une électrode du bloc d'alimentation par le biais du premier condensateur, et le port d'entrée négative du comparateur étant connecté à l'autre électrode du bloc d'alimentation par le biais du second condensateur; le bloc d'alimentation comprend l'électrode positive du bloc d'alimentation et l'électrode négative du bloc d'alimentation; la première résistance, la deuxième résistance et la troisième résistance sont connectées en série; un courant est délivré à partir de la première résistance, et la troisième résistance est connectée à la masse; le premier condensateur est connecté au port d'entrée positive du comparateur par le biais d'un point de connexion de la première résistance et de la deuxième résistance; et le second condensateur est connecté au port d'entrée négative du comparateur par le biais d'un point de connexion de la deuxième résistance et de la troisième résistance.
PCT/CN2013/086267 2013-05-31 2013-10-30 Circuit de détection et procédé de détection de signal d'impulsion transitoire de puissance WO2014190666A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310215124.7A CN103675421A (zh) 2013-05-31 2013-05-31 一种电源毛刺信号检测电路及检测方法
CN201310215124.7 2013-05-31

Publications (1)

Publication Number Publication Date
WO2014190666A1 true WO2014190666A1 (fr) 2014-12-04

Family

ID=50313587

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/086267 WO2014190666A1 (fr) 2013-05-31 2013-10-30 Circuit de détection et procédé de détection de signal d'impulsion transitoire de puissance

Country Status (2)

Country Link
CN (1) CN103675421A (fr)
WO (1) WO2014190666A1 (fr)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3071318A1 (fr) * 2017-09-21 2019-03-22 Stmicroelectronics (Rousset) Sas Detection de perturbations d'une tension continue
US11355457B2 (en) 2019-06-19 2022-06-07 Nxp B.V. Fully digital glitch detection mechanism with process and temperature compensation
US11474130B2 (en) 2020-06-22 2022-10-18 Nxp B.V. Voltage glitch detection in integrated circuit
US11947672B2 (en) 2021-03-02 2024-04-02 Nxp B.V. Voltage glitch detection circuit

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714193A (zh) * 2014-08-27 2015-06-17 北京中电华大电子设计有限责任公司 一种高精度低功耗电源毛刺检测电路
CN110462410B (zh) 2019-06-24 2022-03-08 深圳市汇顶科技股份有限公司 毛刺信号检测电路、安全芯片和电子设备
CN110462415B (zh) 2019-06-24 2021-12-28 深圳市汇顶科技股份有限公司 毛刺信号检测电路、安全芯片和电子设备
CN112673263B (zh) 2019-08-15 2023-05-12 深圳市汇顶科技股份有限公司 毛刺信号检测电路、安全芯片和电子设备
CN112782484A (zh) 2019-11-05 2021-05-11 大唐恩智浦半导体有限公司 检测电路和集成电路
EP3926349B1 (fr) 2020-03-09 2023-05-03 Shenzhen Goodix Technology Co., Ltd. Circuit et puce de détection d'attaque de tension

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020186038A1 (en) * 2001-04-25 2002-12-12 Ernst Bretschneider Circuit for the detection of short voltage glitches in a supply voltage
CN1469131A (zh) * 2002-05-31 2004-01-21 三星电子株式会社 使集成电路设备免遭袭击的电压低频干扰检测装置和方法
CN101943728A (zh) * 2009-07-06 2011-01-12 北京中电华大电子设计有限责任公司 一种防电源毛刺攻击的检测电路
CN101943729A (zh) * 2009-07-06 2011-01-12 北京中电华大电子设计有限责任公司 一种电源、地上毛刺的快速低功耗检测电路
JP2012117929A (ja) * 2010-12-01 2012-06-21 Mitsubishi Electric Corp 電圧検出装置
CN103034804A (zh) * 2012-12-11 2013-04-10 深圳国微技术有限公司 安全芯片及其攻击检测电路

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9143876B2 (en) * 2011-11-17 2015-09-22 Infineon Technologies Ag Glitch detection and method for detecting a glitch

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020186038A1 (en) * 2001-04-25 2002-12-12 Ernst Bretschneider Circuit for the detection of short voltage glitches in a supply voltage
CN1469131A (zh) * 2002-05-31 2004-01-21 三星电子株式会社 使集成电路设备免遭袭击的电压低频干扰检测装置和方法
CN101943728A (zh) * 2009-07-06 2011-01-12 北京中电华大电子设计有限责任公司 一种防电源毛刺攻击的检测电路
CN101943729A (zh) * 2009-07-06 2011-01-12 北京中电华大电子设计有限责任公司 一种电源、地上毛刺的快速低功耗检测电路
JP2012117929A (ja) * 2010-12-01 2012-06-21 Mitsubishi Electric Corp 電圧検出装置
CN103034804A (zh) * 2012-12-11 2013-04-10 深圳国微技术有限公司 安全芯片及其攻击检测电路

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZHAO, DONGYAN ET AL.: "Design and Implementation of Novel Power Glitch Detector", INFORMATION SECURITY AND COMMUNICATION PRIVACY, vol. 5, 10 May 2013 (2013-05-10), pages 62 - 65, 71 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3071318A1 (fr) * 2017-09-21 2019-03-22 Stmicroelectronics (Rousset) Sas Detection de perturbations d'une tension continue
US10768229B2 (en) 2017-09-21 2020-09-08 Stmicroelectronics (Rousset) Sas Glitch detection of a DC voltage
US11355457B2 (en) 2019-06-19 2022-06-07 Nxp B.V. Fully digital glitch detection mechanism with process and temperature compensation
US11474130B2 (en) 2020-06-22 2022-10-18 Nxp B.V. Voltage glitch detection in integrated circuit
US11947672B2 (en) 2021-03-02 2024-04-02 Nxp B.V. Voltage glitch detection circuit

Also Published As

Publication number Publication date
CN103675421A (zh) 2014-03-26

Similar Documents

Publication Publication Date Title
WO2014190666A1 (fr) Circuit de détection et procédé de détection de signal d'impulsion transitoire de puissance
CN101943728B (zh) 一种防电源毛刺攻击的检测电路
CN105445587B (zh) 串联故障电弧检测电路
WO2020257959A1 (fr) Circuit de détection de signal de pointe, puce de sécurité et appareil électronique
TWI659349B (zh) 指紋感測電路及指紋感測裝置
WO2018054038A1 (fr) Circuit de protection de convertisseur bidirectionnel et système de consommation d'énergie possédant une fonction de stockage d'énergie
CN103634723B (zh) 音频输入电路及具有音频输入的电子设备
US8896289B2 (en) Circuit and method of signal detection
CN103166587A (zh) 音频处理电路
CN108169694A (zh) 一种具有温度、工艺补偿功能的毛刺检测电路
CN202750222U (zh) 音频输入电路及具有音频输入的电子设备
CN203772944U (zh) 自动识别信号类型的真有效值交直流电压测量装置
CN103675428A (zh) 一种电源毛刺信号检测电路及检测方法
KR20200045249A (ko) 복조회로 및 이를 갖는 무선 전력 송신기
CN206379719U (zh) 过流保护外围电路和用电设备
CN110462410B (zh) 毛刺信号检测电路、安全芯片和电子设备
CN104811181B (zh) 一种带有输入偏置和有源滤波的电流电压转换电路及方法
CN211086428U (zh) 一种网线检测电路
CN102981038A (zh) 一种简化的正弦波采样电路
CN206281870U (zh) 加速度传感器
CN110794196A (zh) 交流掉电检测方法、装置及通信设备
CN108845220B (zh) 一种电池系统接地故障检测装置及方法
CN106405205B (zh) 一种过零检测电路
CN203896318U (zh) 一种差分输入电路
CN104348451A (zh) 迟滞性窗口比较器电路

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13885618

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13885618

Country of ref document: EP

Kind code of ref document: A1