Glitch detection circuit and glitch detection method

By designing the glitch detection circuit of the reset unit, detection unit and output unit, and using the inverter and RC delay unit for glitch detection, the problem of complexity and low accuracy of the existing power glitch detection circuit is solved, and glitch width configuration and Small burr filtering improves detection accuracy and system stability.

CN114779113BActive Publication Date: 2024-10-11HUNAN GOKE MICROELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210456371.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-27
Publication Date
2024-10-11
Estimated Expiration
2042-04-27

AI Technical Summary

Technical Problem

The existing power supply glitch detection circuit is complex and requires additional auxiliary circuits. The system frequently fails to respond, has low glitch detection accuracy, and cannot configure the glitch width and filter out small glitches.

Method used

A glitch detection circuit including a reset unit, a detection unit and an output unit is designed. The first inverter, the second inverter and the RC delay unit are used for glitch detection. The glitch is configured through a variable resistance element and a variable capacitance element. width, reducing frequent system response, and is independently laid out in the chip through the reference power module.

Benefits of technology

It realizes the configuration of burr width, filters out small burrs, improves the accuracy of burr signal detection, and ensures the normal operation of the system. It has a simple structure, small area, low cost, and has strong practical application value.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114779113B_ABST
    Figure CN114779113B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a glitch detection circuit and a glitch detection method, wherein the glitch detection circuit includes: a reset unit, a detection unit and an output unit, the detection unit includes a first inverter, a second inverter and an RC delay unit; the output end of the reset unit is electrically connected to the input end of the first inverter, the output end of the first inverter is electrically connected to the input end of the RC delay unit, the output end of the RC delay unit is electrically connected to the input end of the second inverter and the input end of the output unit respectively, the output end of the second inverter is electrically connected to the input end of the first inverter, the power supply end of the first inverter inputs the CPU power supply signal, the power supply end of the second inverter inputs the reference power supply signal, and the grounding ends of the first inverter and the second inverter are grounded respectively. The glitch detection circuit and glitch detection method provided by the present application can configure the glitch width detected, filter out small glitches, reduce the frequent response of the system, and have a simple structure, small area and low cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of circuit processing technology, and in particular to a burr detection circuit and a burr detection method. Background Art

[0002] Existing smart cards are being promoted to various fields for application, especially in high-security fields such as identity authentication and finance, which have put forward higher requirements on the anti-attack capabilities of the smart cards used in these fields. Existing smart cards usually include a central processing unit, a memory, an embedded operating system, etc. Among them, the memory is an electrically erasable programmable read-only memory (EEPROM), a flash memory, etc. At present, attackers can attack the key and obtain the confidential data in the memory by applying a power glitch signal (glitch) under certain conditions on the power supply of the smart card chip, and then use the Deterministic Finite Automaton (DFA) analysis technology. Therefore, for general power glitches, the circuit system of the smart card needs to respond to protect the internal circuit data from leakage.

[0003] One type of existing power glitch detection circuit often needs to use a D flip-flop to collect and output power supply voltage glitches, which increases the complexity of the circuit, and the power supply voltage glitch width cannot be configured, and the glitches cannot be selectively filtered out. Another type of existing power glitch detection circuit requires an external device to provide a reference voltage (VREF) and bias current (IBIAS) module to accurately output the glitch, and an amplifier needs to be set up, without considering the reset signal, so the application is limited. In summary, the existing power glitch detection circuit has the problems of complex circuits, the need for additional auxiliary circuits, frequent invalid responses of the system, and relatively low glitch detection accuracy. Summary of the invention

[0004] In order to solve the above technical problems, the embodiments of the present application provide a glitch detection circuit and a glitch detection method.

[0005] In a first aspect, an embodiment of the present application provides a glitch detection circuit, the glitch detection circuit comprising: a reset unit, a detection unit and an output unit, the detection unit comprising a first inverter, a second inverter and an RC delay unit;

[0006] The output end of the reset unit is electrically connected to the input end of the first inverter, the output end of the first inverter is electrically connected to the input end of the RC delay unit, the output end of the RC delay unit is electrically connected to the input end of the second inverter and the input end of the output unit respectively, the output end of the second inverter is electrically connected to the input end of the first inverter, the power supply end of the first inverter inputs the CPU power supply signal, the power supply end of the second inverter inputs the reference power supply signal, and the grounding ends of the first inverter and the second inverter are grounded respectively;

[0007] The reset unit inputs a first low level to the first inverter. If the glitch width of the CPU power signal is greater than or equal to a preset width, and the glitch depth voltage is within a preset depth range, the output end of the first inverter rises from the glitch depth voltage to a normal voltage, the output end of the RC delay unit outputs the glitch depth voltage to the second inverter, the glitch depth voltage is flipped by the second inverter to obtain a first high level, the first high level is flipped by the first inverter to obtain a second low level, the second low level is input to the output unit through the RC delay unit, and the output unit outputs a glitch indication signal according to the second low level.

[0008] In one embodiment, the reset unit includes: a third inverter and a transistor, the output end of the third inverter is connected to the gate of the transistor, and the drain of the transistor is the output end of the reset unit;

[0009] The input end of the third inverter is used to receive a reset signal sent by the CPU, flip the reset signal to obtain a flip signal, input the flip signal to the gate of the transistor, and input the first low level to the first inverter through the drain of the transistor.

[0010] In one embodiment, the RC delay unit includes: a variable resistance subunit and a variable capacitance subunit, the first end of the variable resistance subunit and the first end of the variable capacitance subunit are connected to a node, the node is the output end of the RC delay unit, the second end of the variable resistance subunit is the input end of the RC delay unit, and the second end of the variable capacitance subunit is grounded.

[0011] In one implementation, the variable resistor subunit includes a first resistor and a variable resistor connected in series.

[0012] In one embodiment, the variable resistor includes a second resistor, a third resistor, a first switch and a second switch, the first end of the second resistor is electrically connected to the first end of the third resistor, the second resistor is also connected in parallel with the first switch, and the third resistor is also connected in parallel with the second switch.

[0013] In one embodiment, the variable capacitance subunit includes a first capacitor and a variable capacitor connected in parallel.

[0014] In one embodiment, the variable capacitor includes a second capacitor, a third capacitor, a third switch and a fourth switch, the first end of the second capacitor is electrically connected to the first end of the third switch, the first end of the third capacitor is electrically connected to the first end of the fourth switch, the second end of the second capacitor is electrically connected to the second end of the third capacitor, and the second end of the third switch is electrically connected to the second end of the fourth switch.

[0015] In one embodiment, the output unit includes a fourth inverter and a fifth inverter, the input end of the fourth inverter is electrically connected to the output end of the RC delay unit, the output end of the fourth inverter is electrically connected to the input end of the fifth inverter, and the output end of the fifth inverter is electrically connected to the CPU.

[0016] In one implementation, the glitch detection circuit further includes: a reference power supply module, which is electrically connected to power supply terminals of the first inverter, the second inverter, the third inverter, the fourth inverter, and the fifth inverter, respectively.

[0017] In a second aspect, an embodiment of the present application provides a burr detection method, which is applied to the burr detection circuit provided in the first aspect, and the method includes:

[0018] inputting a first low level to the first inverter through the reset unit;

[0019] If the glitch width of the CPU power signal is greater than or equal to the preset width, and the glitch depth voltage is within the preset depth range, the output end of the first inverter rises from the glitch depth voltage to a normal voltage, and the output end of the RC delay unit outputs the glitch depth voltage to the second inverter;

[0020] The burr depth voltage is inverted by the second inverter to obtain a first high level, and the first high level is then inverted by the first inverter to obtain a second low level;

[0021] The second low level is input to the output unit through the RC delay unit, and the glitch indication signal is output according to the second low level through the output unit.

[0022] The glitch detection circuit and glitch detection method provided in the present application can configure the detected glitch width, filter out small glitches, reduce the frequent response of the system, improve the accuracy of glitch signal detection, ensure the normal operation of the system, input the glitch indication signal into the CPU, and the CPU sends a reset signal value to the reset unit to realize the reset function. It does not require complex units such as D flip-flops and circuits that do not need to provide bias current and bias voltage. It has a simple structure, small area, low cost, can be independently arranged in the chip, and has strong practical application value. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solution of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present application and should not be regarded as limiting the scope of protection of the present application. In each of the drawings, similar components are numbered similarly.

[0024] Figure 1 A schematic diagram of the structure of a burr detection circuit provided in an embodiment of the present application is shown;

[0025] Figure 2 A waveform diagram provided in an embodiment of the present application is shown;

[0026] Figure 3 Another structural schematic diagram of the burr detection circuit provided in an embodiment of the present application is shown;

[0027] Figure 4 Another structural schematic diagram of the burr detection circuit provided in an embodiment of the present application is shown.

[0028] Icon: 101-reset unit; 1011-third inverter; 1012-transistor; 102-detection unit; 1021-first inverter; 1022-second inverter; 1023-RC delay unit; R-variable resistor subunit; C-variable capacitor subunit; G-node; R0-first resistor; R1-variable resistor; R11-second resistor; R12-third resistor; SR0-first switch; SR1-second switch; C0-first capacitor; C1-variable capacitor; C11-second capacitor; C12-third capacitor; SC0-third switch; SC1-fourth switch; 103-output unit; 1031-fourth inverter; 1032-fifth inverter; 200-glitch signal. DETAILED DESCRIPTION

[0029] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.

[0030] The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0031] Hereinafter, the terms "including", "having" and their cognates, which may be used in various embodiments of the present application, are intended only to indicate specific features, numbers, steps, operations, elements, components, or combinations of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing items or adding the possibility of one or more features, numbers, steps, operations, elements, components, or combinations of the foregoing items.

[0032] Furthermore, the terms “first”, “second”, “third”, etc. are merely used for distinguishing descriptions and are not to be understood as indicating or implying relative importance.

[0033] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present application belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present application.

[0034] Example 1

[0035] An embodiment of the present disclosure provides a glitch detection circuit.

[0036] For details, see Figure 1 The burr detection circuit includes: a reset unit 101, a detection unit 102 and an output unit 103, wherein the detection unit 102 includes a first inverter 1021, a second inverter 1022 and an RC delay unit 1023, wherein the output end of the reset unit 101 is electrically connected to the input end of the first inverter 1021, the output end of the first inverter 1021 is electrically connected to the input end of the RC delay unit 1023, the output end of the RC delay unit 1023 is electrically connected to the input end of the second inverter 1022 and the input end of the output unit 103 respectively, and the output end of the second inverter 1022 is electrically connected to the input end of the first inverter 1021;

[0037] The power supply terminal of the first inverter 1021 inputs a CPU power supply signal, the ground terminal of the first inverter 1021 is grounded, the power supply terminal of the second inverter 1022 inputs a reference power supply signal VDD, and the ground terminal of the second inverter 1022 is grounded.

[0038] The process of implementing glitch detection by the glitch detection circuit is described below.

[0039] In this embodiment, the reset unit 101 of the glitch detection circuit inputs a first low level to the first inverter 1021. When the CPU power signal is in a normal state, the output end of the first inverter 1021 outputs a high level. The output unit 103 receives the high level output from the output end of the first inverter 1021 and outputs a high level.

[0040] When the CPU power signal is in an abnormal state, that is, when the CPU power signal has a glitch signal, the level of the output end of the first inverter 1021 will change. Figure 2 , the CPU power signal VDD11 has a glitch signal 200 , a glitch width tx, and a glitch depth Vx of the glitch signal 200 .

[0041] When the glitch width tx reaches a certain preset width so as to affect the change of internal data of the system, and the glitch depth voltage Vx drops to about half of the CPU power signal VDD11, that is, if the glitch width tx of the CPU power signal VDD11 is greater than or equal to the preset width, and the glitch depth voltage Vx is within the preset depth range, the output level of the output end of the first inverter 1021 follows the CPU power signal VDD11 to drop, from the CPU power signal VDD11 to the glitch depth voltage Vx. In the process of the output level of the output end of the first inverter 1021 dropping from the normal CPU power signal VDD11 to the glitch depth voltage Vx, due to the existence of the RC delay unit 1023, the input level of the input end of the second inverter 1022 is still at a high level and gradually drops to the glitch depth voltage Vx. Therefore, the output level of the output end of the second inverter 1022 remains unchanged and continues to maintain a low level. The output level of the output end of the first inverter 1021 continues to change with the CPU voltage signal VDD11, and the output end of the output unit 103 outputs a high level.

[0042] If the glitch width of the CPU power signal is greater than or equal to the preset width, and the glitch depth voltage is within a preset depth range, the output end of the first inverter 1021 rises from the glitch depth voltage to a normal voltage, the output end of the RC delay unit 1023 outputs the glitch depth voltage to the second inverter 1022, the glitch depth voltage is flipped by the second inverter 1022 to obtain a first high level, and then the first high level is flipped by the first inverter 1021 to obtain a second low level, the second low level is input to the output unit 103 through the RC delay unit 1023, and the output unit 103 outputs a glitch indication signal according to the second low level.

[0043] Please refer again Figure 2 The glitch width and glitch depth voltage of the glitch signal 200 have already affected the internal data of the system, and the output level OUT of the output unit 103 changes from a high level to a low level, and a glitch indication signal is detected and fed back to the central processing unit (CPU). The CPU sends a reset signal to the reset unit 101 according to the glitch indication signal to control the glitch detection circuit to perform a reset operation.

[0044] It should be noted that the glitch signal upward generally does not affect the internal data of the system. In general, the glitch depth of the downward glitch signal is considered. For the digital circuit inside the system, the flip threshold of the downward glitch depth is generally half or less than the CPU power signal VDD11. Therefore, the glitch depth voltage is generally considered to be set at half of the CPU power signal VDD11, or a preset depth range is set according to half of the CPU power signal VDD11. When the CPU power signal VDD11 drops to the glitch depth voltage Vx or below, and the glitch width reaches the preset width, the output end of the output unit 103 will output a glitch indication signal.

[0045] It is further explained that the value of the glitch depth voltage Vx can also be adjusted by adjusting the sizes of the first inverter 1021 and the second inverter 1022. In addition, when a very small glitch signal appears, such a very small glitch signal may be a disturbance generated by the normal operation of the system or a power supply attack, but at this time, since the glitch width is very short, the system has no time to respond, so there is no need to give a glitch indication signal, otherwise the system responds frequently, affecting the normal operation of the system.

[0046] In actual application, it is necessary to filter out very small glitch signals according to requirements, and not detect very small glitch information to avoid frequent system responses. For details, see Figure 3 or Figure 4, very small glitch signals can be filtered out by configuring the RC delay unit 1023. Figure 3 In the embodiment, the first switch SR0, the second switch SR1, the third switch SC0, and the fourth switch SC1 are used to configure the RC delay unit 1023 to filter out very small glitch signals. In addition, due to process deviations when different chips are mass-produced, different glitch widths can be configured according to different chips to ensure that the system is not affected by very small glitches during actual applications, reduce the frequent response of the system, and thus ensure the normal operation of the system.

[0047] The glitch detection circuit provided in this embodiment can realize glitch detection without complex units such as D flip-flops and circuits that provide bias current and bias voltage, amplifiers, etc. The glitch detection circuit provided in this embodiment has a simple structure, a small area, and a low cost, and can be used independently in the system. It also has a reset function and can be used in conjunction with the system to reset the glitch detection signal in real time; at the same time, the glitch width is configurable, and very small glitch signals can be filtered out to ensure the normal operation of the system and improve the accuracy of glitch signal detection. The glitch detection circuit can be used in digital power supplies, or the glitch detection circuit can be used in various types of power supply glitch attack protection detection circuits, and has a strong practical application value.

[0048] See also Figure 3 , the reset unit 101 includes: a third inverter 1011 and a transistor 1012, the output end of the third inverter 1011 is connected to the gate of the transistor 1012, and the drain of the transistor 1012 is the output end of the reset unit 101;

[0049] The input end of the third inverter 1011 is used to receive a reset signal RESET sent by a central processing unit (CPU), flip the reset signal RESET to obtain a flip signal RESETN, and input the flip signal RESETN to the gate of the transistor 1012, and input the first low level to the first inverter 1021 through the drain of the transistor 1012. Specifically, the reset signal RESET received by the input end of the third inverter 1011 changes from low to high, the flip signal RESETN output by the output end of the third inverter 1011 changes from high to low, and the drain of the transistor 1012 outputs the first low level.

[0050] Please refer again Figure 1 or Figure 3The RC delay unit 1023 includes: a variable resistor subunit R and a variable capacitor subunit C, the first end of the variable resistor subunit R and the first end of the variable capacitor subunit C are connected to a node G, the node G is the output end of the RC delay unit 1023, the second end of the variable resistor subunit R is the input end of the RC delay unit 1023, and the second end of the variable capacitor subunit C is grounded.

[0051] Please refer again Figure 4 , the variable resistance subunit R includes a first resistor R0 and a variable resistor R1 connected in series.

[0052] Specifically, the variable resistor R1 includes a second resistor R11, a third resistor R12, a first switch SR0 and a second switch SR1, the first end of the second resistor R11 is electrically connected to the first end of the third resistor R12, the second resistor R11 is also connected in parallel with the first switch SR0, and the third resistor R12 is also connected in parallel with the second switch SR1.

[0053] Please refer again Figure 4 , the variable capacitance subunit C includes a first capacitor C0 and a variable capacitor C1 connected in parallel.

[0054] Specifically, the variable capacitor C1 includes a second capacitor C11, a third capacitor C12, a third switch SC0 and a fourth switch SC1, the first end of the second capacitor C11 is electrically connected to the first end of the third switch SC0, the first end of the third capacitor C12 is electrically connected to the first end of the fourth switch SC1, the second end of the second capacitor C11 is electrically connected to the second end of the third capacitor C12, and the second end of the third switch SC0 is electrically connected to the second end of the fourth switch SC1.

[0055] See also Figure 3 or Figure 4 The output unit 103 includes a fourth inverter 1031 and a fifth inverter 1032, the input end of the fourth inverter 1031 is electrically connected to the output end of the RC delay unit 1023, the output end of the fourth inverter 1031 is electrically connected to the input end of the fifth inverter 1032, and the output end of the fifth inverter 1032 is electrically connected to the CPU.

[0056] In one embodiment, the glitch detection circuit further includes a reference power supply module, which is electrically connected to power supply terminals of the first inverter 1021 , the second inverter 1022 , the third inverter 1011 , the fourth inverter 1031 and the fifth inverter 1032 , respectively.

[0057] It should be noted that the reference power module and CPU are not Figure 4 It is shown in Figures 1 to 4 In the figure, VSS represents grounding, and VDD represents input reference power supply voltage. The reference power supply voltage VDD is a basically constant voltage that is less affected by glitch signals. It can be obtained by the reference power supply module inside the system or the CPU power supply signal VDD11 after passing through the RC filter circuit. VDD11 is the system CPU power supply voltage, and the CPU power supply voltage is the power supply voltage that needs to be detected by glitch signals.

[0058] The glitch detection circuit provided in this embodiment can configure the width of the detected glitch, filter out small glitches, reduce the frequent response of the system, improve the accuracy of glitch signal detection, ensure the normal operation of the system, input the glitch indication signal into the CPU, and the CPU sends a reset signal value to the reset unit to realize the reset function. It does not require complex units such as D flip-flops and circuits that do not need to provide bias current and bias voltage. It has a simple structure, a small area, and a low cost. It can be independently arranged in the chip and has a strong practical application value.

[0059] Example 2

[0060] The present disclosure provides a burr detection method, which is applied to the burr detection circuit provided in Embodiment 1. The method includes:

[0061] inputting a first low level to the first inverter through the reset unit;

[0062] If the glitch width of the CPU power signal is greater than or equal to the preset width, and the glitch depth voltage is within the preset depth range, the output end of the first inverter rises from the glitch depth voltage to a normal voltage, and the output end of the RC delay unit outputs the glitch depth voltage to the second inverter;

[0063] The burr depth voltage is inverted by the second inverter to obtain a first high level, and the first high level is then inverted by the first inverter to obtain a second low level;

[0064] The second low level is input to the output unit through the RC delay unit, and the glitch indication signal is output according to the second low level through the output unit.

[0065] The burr detection method provided in this embodiment is applied to the burr detection circuit provided in Embodiment 1, and can achieve the same function as the burr detection circuit provided in Embodiment 1. To avoid repetition, it will not be described again here.

[0066] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A glitch detection circuit, It is characterized in that include: A reset unit, a detection unit and an output unit, wherein the detection unit includes a first inverter, a second inverter and an RC delay unit; The output end of the reset unit is electrically connected to the input end of the first inverter, the output end of the first inverter is electrically connected to the input end of the RC delay unit, the output end of the RC delay unit is electrically connected to the input end of the second inverter and the input end of the output unit respectively, the output end of the second inverter is electrically connected to the input end of the first inverter, the power supply end of the first inverter inputs the CPU power supply signal, the power supply end of the second inverter inputs the reference power supply signal, and the grounding ends of the first inverter and the second inverter are grounded respectively; The reset unit inputs a first low level to the first inverter. If the glitch width of the CPU power signal is greater than or equal to a preset width, and the glitch depth voltage is within a preset depth range, the output end of the first inverter rises from the glitch depth voltage to a normal voltage, the output end of the RC delay unit outputs the glitch depth voltage to the second inverter, the glitch depth voltage is flipped by the second inverter to obtain a first high level, the first high level is flipped by the first inverter to obtain a second low level, the second low level is input to the output unit through the RC delay unit, and the output unit outputs a glitch indication signal according to the second low level.

2. The glitch detection circuit according to claim 1, It is characterized in that The reset unit comprises: a third inverter and a transistor, the output end of the third inverter is connected to the gate of the transistor, and the drain of the transistor is the output end of the reset unit; The input end of the third inverter is used to receive a reset signal sent by the CPU, flip the reset signal to obtain a flip signal, input the flip signal to the gate of the transistor, and input the first low level to the first inverter through the drain of the transistor.

3. The glitch detection circuit according to claim 2, It is characterized in that The RC delay unit includes: a variable resistance subunit and a variable capacitance subunit, the first end of the variable resistance subunit and the first end of the variable capacitance subunit are connected to a node, the node is the output end of the RC delay unit, the second end of the variable resistance subunit is the input end of the RC delay unit, and the second end of the variable capacitance subunit is grounded.

4. The glitch detection circuit according to claim 3, It is characterized in that The variable resistance subunit includes a first resistor and a variable resistor connected in series.

5. The glitch detection circuit according to claim 4, It is characterized in that The variable resistor includes a second resistor, a third resistor, a first switch and a second switch, the first end of the second resistor is electrically connected to the first end of the third resistor, the second resistor is also connected in parallel with the first switch, and the third resistor is also connected in parallel with the second switch.

6. The glitch detection circuit according to claim 3, It is characterized in that The variable capacitance subunit includes a first capacitance and a variable capacitor connected in parallel.

7. The glitch detection circuit according to claim 6, It is characterized in that The variable capacitor includes a second capacitor, a third capacitor, a third switch and a fourth switch, the first end of the second capacitor is electrically connected to the first end of the third switch, the first end of the third capacitor is electrically connected to the first end of the fourth switch, the second end of the second capacitor is electrically connected to the second end of the third capacitor, and the second end of the third switch is electrically connected to the second end of the fourth switch.

8. The glitch detection circuit according to claim 2, It is characterized in that The output unit includes a fourth inverter and a fifth inverter, the input end of the fourth inverter is electrically connected to the output end of the RC delay unit, the output end of the fourth inverter is electrically connected to the input end of the fifth inverter, and the output end of the fifth inverter is electrically connected to the CPU.

9. The glitch detection circuit according to claim 8, It is characterized in that Also includes: A reference power supply module is electrically connected to power supply terminals of the first inverter, the second inverter, the third inverter, the fourth inverter and the fifth inverter respectively.

10. A burr detection method, It is characterized in that The burr detection circuit applied to any one of claims 1 to 9, the method comprising: inputting a first low level to the first inverter through the reset unit; If the glitch width of the CPU power signal is greater than or equal to the preset width, and the glitch depth voltage is within the preset depth range, the output end of the first inverter rises from the glitch depth voltage to a normal voltage, and the output end of the RC delay unit outputs the glitch depth voltage to the second inverter; The burr depth voltage is inverted by the second inverter to obtain a first high level, and the first high level is then inverted by the first inverter to obtain a second low level; The second low level is input to the output unit through the RC delay unit, and the glitch indication signal is output according to the second low level through the output unit.