Full-automatic on-chip latch protection circuit

By designing a fully automatic latch-up protection circuit on the chip, using hole/electron flow detectors and power management modules to automatically detect and control the power supply, the problem of damage to the chip's core circuit due to the latch-up effect is solved and effective protection is achieved. , improving the reliability of the chip.

CN118763604APending Publication Date: 2024-10-11NINGBO INST OF TECH ZHEJIANG UNIV ZHEJIANG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410857113.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

The core circuit inside the chip is easily affected by the latch-up effect and is damaged or permanently damaged. The existing technology cannot effectively prevent latch-up failure, especially in harsh environments, which poses a greater risk.

Method used

Design a fully automatic on-chip latch protection circuit, including a hole/electron flow detector and a power management module. By detecting abnormal latch trigger current, the power switch is controlled to be disconnected or turned on to prevent power supply to the core circuit and avoid damage.

Benefits of technology

It realizes automatic detection and prevents chip damage caused by latch-up effect, improves the reliability and protection effect of the chip, and avoids the impact of short circuit or large current on the core circuit caused by latch-up effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118763604A_ABST
    Figure CN118763604A_ABST
Patent Text Reader

Abstract

The invention provides a full-automatic on-chip latch protection circuit, which relates to the technical field of integrated circuits, and comprises a hole / electron flow detector arranged between a bonding pad and an internal core circuit; the power management module comprises a power switch, and the output end of the power switch is electrically connected with the internal core circuit; the input end of the detector control circuit is electrically connected with the output end of the hole / electron flow detector, and the output end of the detector control circuit is electrically connected with the input end of the power switch; the detector control circuit controls the power switch to connect or disconnect the access between the power supply and the internal core circuit according to the latch trigger current detected by the hole / electron flow detector. When the hole / electron flow detector detects latch trigger current, the detector control circuit controls the power switch to be switched off, and power supply to the internal core circuit is stopped; if not, the power switch is switched on, and power supply is recovered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of integrated circuits, and in particular to a fully automatic on-chip latch protection circuit. Background Art

[0002] Latch-up, also known as parasitic silicon controlled rectifier (SCR) structure or parasitic pnpn structure, is an inherent parasitic structure in CMOS integrated circuits. The conduction of this parasitic structure will cause serious latch-up failure. Therefore, in order to avoid damage or reliability problems caused by latch-up failure, IC designers should pay special attention to this problem in the chip layout stage and circuit design stage. The SCR structure is a 2-terminal structure of a four-layer pnpn path, consisting of two bipolar transistors (QPNP and QNPN). If the circuit has unexpected conditions, such as overvoltage, overcurrent, electromagnetic interference (EMI), etc., which make the two parasitic bipolar transistors conduct, the latch-up effect occurs, and a short circuit will be formed between the power supply (VDD) and the ground (GND), which may cause damage to the integrated circuit or short circuit burning.

[0003] The integrated circuit (chip) includes an internal circuit of the integrated circuit and a pad for connecting to the outside. If the parasitic pnpn structure is accidentally conducted after the voltage / current disturbance is triggered at the metal bonding pad (PAD) of the integrated circuit input / output (I / O), the latch path will be triggered to enter the latch state. In the event of latching, the latch path will not stop until the chip is burned, regardless of whether the trigger voltage / current is removed.

[0004] In the prior art, N-well isolation rings and P-well isolation rings are injected around transistors to reduce the probability of latch-up by reducing well contact resistance and increasing the concentration and spacing of the parasitic transistor base. The addition of this technology will greatly increase the chip area, and its effect cannot be verified by simulation tools, and requires intuitive experience. There are also circuits that add "active protection rings" to I / O pads to improve latch-up immunity by reducing the trigger current injected into the internal core circuit. This technology requires increasing the area of ​​each I / O PAD, and there may still be a risk of latch-up in harsh environments such as industrial applications or automotive applications. Summary of the invention

[0005] The technical problem to be solved by the present invention is that the core circuit inside the chip may be damaged or permanently destroyed due to the influence of the latch effect. In order to overcome the above defects of the prior art, the present invention provides a fully automatic on-chip latch protection circuit.

[0006] The present invention provides a fully automatic on-chip latch protection circuit, comprising:

[0007] A hole / electron flow detector, used to detect a latch trigger current of an internal circuit of an integrated circuit, wherein the hole / electron flow detector is disposed between a pad of a chip and an internal core circuit;

[0008] The power management module comprises a power switch S1, wherein the output end of the power switch S1 is electrically connected to the internal core circuit;

[0009] A detector control circuit, wherein the input end of the detector control circuit is electrically connected to the output end of the hole / electron flow detector, and the output end of the detector control circuit is electrically connected to the input end of the power switch S1; the detector control circuit controls the power switch S1 to connect or disconnect the path between the power supply VDD and the internal core circuit according to the latch trigger current detected by the hole / electron flow detector.

[0010] Compared with the prior art, the fully automatic on-chip latch protection circuit of the present application has the following advantages: when an abnormal latch trigger current / voltage is injected from a pad into the interior of the chip, it is automatically detected by a hole / electron flow detector, and the corresponding detector control circuit controls the power switch S1 to be disconnected, stops power supply to the internal core circuit, and prevents the internal core circuit from being damaged; when no latch trigger current is input into the interior of the chip, the detector control circuit controls the power switch S1 to be turned on, so that the internal core circuit resumes power supply and normal operation.

[0011] In a possible implementation, the hole / electron flow detector includes a P-type band, an N-type band, a resistor RN and a resistor RP surrounding an internal core circuit; the P-type band and the N-type band are both electrically connected to the detector control circuit, one end of the resistor RN is electrically connected to the N-type band, and the other end of the resistor RN is electrically connected to a power supply; one end of the resistor RP is electrically connected to the P-type band, and the other end of the resistor RP is grounded, and the P-type band and the N-type band are the output ends of the hole / electron flow detector.

[0012] Compared with the prior art, by setting the P-type band and the N-type band, hole and electron flow signals can be detected respectively, ensuring that different signals can be triggered.

[0013] In a possible implementation, each of the pads on four sides of the chip is provided with a hole / electron flow detector, and the output ends of the four hole / electron flow detectors are electrically connected to the input end of the detector control circuit.

[0014] Compared with the prior art, pads are provided on all four sides of the chip, and four hole / electron flow detectors are also provided to improve detection accuracy.

[0015] In a possible implementation, the P-type strips in the four hole / electron flow detectors are electrically connected end to end to form a P-type ring, and the N-type strips in the four hole / electron flow detectors are electrically connected end to end to form an N-type ring.

[0016] Compared with the prior art, the ring structure can detect from all directions whether abnormal current / voltage is injected into the chip through the pad.

[0017] In a possible implementation, the detector control circuit includes PMOS tubes MP1, MP2, MP3, NMOS tubes MN1, MN2, MN3 and an NOR gate; the gate of MP1 and the gate of MN1 are electrically connected to the N-type band, the drain of MP1 and the drain of MN1 are electrically connected to one input end of the NOR gate; the gate of MP2 and the gate of MN2 are electrically connected to the P-type band, the drain of MP2 and the drain of MN2 are electrically connected to the gate of MP3 and the gate of MN3, the drain of MP3 and the drain of MN3 are electrically connected to the other input end of the NOR gate, and the output end of the NOR gate is electrically connected to a power management module; the source of MP1, the source of MP2 and the source of MP3 are electrically connected to the power supply VDD, and the source of MN1, the source of MN2 and the source of MN3 are grounded.

[0018] In a possible implementation, the power switch S1 is a MOS tube MPSW, a gate of the MOS tube MPSW is electrically connected to the output end of the detector control circuit, a source of the MOS tube MPSW is electrically connected to the power supply VDD, and a drain of the MOS tube MPSW is electrically connected to the internal core circuit.

[0019] Compared with the prior art, by setting the power switch as a MOS tube, it is convenient to electrically control the on or off.

[0020] In a possible implementation, the power management module includes a MOS tube MPSW, a PMOS tube MP0, an amplifier EA, a resistor RF1 and a resistor RF2; the output end of the detector control circuit is electrically connected to the gate of the MOS tube MPSW, the drain of the MOS tube MPSW is electrically connected to the gate of MP0, the source of the MOS tube MPSW and the source of MP0 are both electrically connected to the power supply VDD, and the drain of MP0 is electrically connected to the internal core circuit; the drain of MP0 is grounded through a series resistor RF1 and a resistor RF2, the connection end of the resistor RF1 and the resistor RF2 is electrically connected to the positive input end of the amplifier EA, the negative input end of the amplifier EA is electrically connected to the reference voltage VREF, and the output end of the amplifier EA is electrically connected to the gate of MP0.

[0021] Compared with the prior art, the power management module is designed as a linear regulator for example, so that the signal control is stable and false triggering is avoided.

[0022] In a possible implementation, the hole / electron flow detector includes a hole detector and an electron flow detector. When the voltage detected by the hole detector is higher than the ground voltage, or the voltage detected by the electron flow detector is lower than the power supply VDD, the detector control circuit controls the power switch S1 to disconnect the path between the power supply VDD and the internal core circuit.

[0023] In a possible implementation, when the hole / electron flow detector does not detect the latch trigger current, the detector control circuit controls the power switch S1 to connect the path between the power supply VDD and the internal core circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A system block diagram of a first embodiment of a fully automatic on-chip latch protection circuit of the present invention;

[0025] Figure 2 A circuit diagram of a detector control circuit in a fully automatic on-chip latch protection circuit of the present invention;

[0026] Figure 3 A circuit diagram of a power management module in a fully automatic on-chip latch protection circuit of the present invention;

[0027] Figure 4 A circuit diagram of a second embodiment of a fully automatic on-chip latch protection circuit of the present invention;

[0028] Figure 5 This is a circuit diagram of a third embodiment of a fully automatic on-chip latch protection circuit of the present invention. DETAILED DESCRIPTION

[0029] First, those skilled in the art should understand that these implementations are only used to explain the technical principles of the embodiments of the present application, and are not intended to limit the protection scope of the embodiments of the present application. Those skilled in the art can make adjustments to them as needed to adapt to specific application scenarios.

[0030] In the description of the embodiments of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "connected" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the embodiments of the present application can be understood according to specific circumstances.

[0031] The present application is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0032] See also Figure 1 to Figure 5 As shown, the embodiment of the present application discloses a fully automatic on-chip latch protection circuit, comprising:

[0033] Hole / electron flow detector, used to detect the latch trigger current of the internal circuit of the integrated circuit. Specifically: used to detect the electron / hole carriers generated by the input / output (I / O) pad or interference and convert them into electrical signals. The hole / electron flow detector is set between the pad of the chip and the internal core circuit. The spacing limit must be based on the design rule of the foundry (i.e., the rules set by wafer manufacturers such as TSMC and SMIC);

[0034] The power management module includes a power switch S1, wherein the output end of the power switch S1 is electrically connected to the internal core circuit;

[0035] The detector control circuit has an input end electrically connected to an output end of the hole / electron flow detector, and an output end of the detector control circuit electrically connected to an input end of a power switch S1; the detector control circuit controls the power switch S1 to connect or disconnect a path between the power supply VDD and the internal core circuit according to a latch trigger current detected by the hole / electron flow detector.

[0036] When an abnormal latch trigger current / voltage is injected from the pad into the chip, it is automatically detected by the hole / electron flow detector, and the corresponding detector control circuit controls the power switch S1 to disconnect and stop supplying power to the internal core circuit. In this way, the parasitic PNPN path of the core circuit will not be turned on, thus solving the impact of short-circuit current or high current on the core circuit caused by the latch effect from the root, avoiding damage to the components of the core circuit.

[0037] When no latch trigger current is input into the chip, the detector control circuit controls the power switch S1 to turn on, so that the internal core circuit resumes power supply and operates normally.

[0038] In this embodiment, the hole / electron flow detector includes a P-type strip, an N-type strip, a resistor RN and a resistor RP surrounding an internal core circuit.

[0039] Both the P-type band and the N-type band are electrically connected to the detector control circuit, one end of the resistor RN is electrically connected to the N-type band, the point where the two are connected is the node N1, and the other end of the resistor RN is electrically connected to the power supply; one end of the resistor RP is electrically connected to the P-type band, the point where the two are connected is the node P1, and the other end of the resistor RP is grounded. Node N1 and node P1 are the output ends of the hole / electron flow detector.

[0040] By setting the P-type band and the N-type band, the hole and electron flow signals can be detected respectively, ensuring that different signals can be triggered.

[0041] Considering that the chip pads are arranged on the top, bottom, left and right sides of the chip, in actual design, the hole / electron flow detector can be arranged next to the pad on one side, or on two sides, or on all four sides.

[0042] See also Figure 4 As shown, each of the pads on the four sides of the chip is provided with a hole / electron flow detector, and the output ends of the four hole / electron flow detectors are electrically connected to the input end of the detector control circuit. There are pads on all four sides of the chip, and the number of hole / electron flow detectors is also set to four to improve the detection accuracy.

[0043] See also Figure 5 As shown, the P-type strips in the four hole / electron flow detectors are electrically connected head to tail to form a P-type ring, and the N-type strips in the four hole / electron flow detectors are electrically connected head to tail to form an N-type ring. Through the ring structure, it is possible to detect from all directions whether abnormal current / voltage is injected into the chip through the pad.

[0044] Among them, see Figure 2 As shown, the detector control circuit includes PMOS tubes MP1, MP2, MP3, NMOS tubes MN1, MN2, MN3 and a NOR gate.

[0045] The gate of MP1 and the gate of MN1 are both electrically connected to the N-type band (node ​​N1), the drain of MP1 and the drain of MN1 are both electrically connected to node A, and node A is electrically connected to one input terminal of the NOR gate.

[0046] The gate of MP2 and the gate of MN2 are both electrically connected to the P-type band (node ​​P1), the drain of MP2 and the drain of MN2 are both electrically connected to node C, and node C is electrically connected to the gate of MP3 and the gate of MN3.

[0047] The drain of MP3 and the drain of MN3 are both electrically connected to node B, node B is electrically connected to another input terminal of the NOR gate, the output terminal of the NOR gate is node SW_DETR, and node SW_DETR is electrically connected to the power management module.

[0048] The sources of MP1 , MP2 , and MP3 are all electrically connected to the power source VDD, and the sources of MN1 , MN2 , and MN3 are all grounded.

[0049] The power switch S1 is a MOS tube MPSW, a gate of the MOS tube MPSW is electrically connected to the output end of the detector control circuit, a source of the MOS tube MPSW is electrically connected to the power supply VDD, and a drain of the MOS tube MPSW is electrically connected to the internal core circuit.

[0050] By setting the power switch S1 as a MOS tube, it is convenient to electrically control the on or off. The power switch S1 can be a switch component such as a PMOS tube, an NMOS tube, or other circuits or components that can function as an electrically controlled switch.

[0051] In this embodiment, see Figure 3 As shown, the power management module includes a MOS tube MPSW, a PMOS tube MP0, an amplifier EA, a resistor RF1 and a resistor RF2.

[0052] The output end of the detector control circuit is electrically connected to the gate of the MOS tube MPSW, the drain of the MOS tube MPSW is electrically connected to the gate of MP0, the source of the MOS tube MPSW and the source of MP0 are both electrically connected to the power supply VDD, and the drain of MP0 is electrically connected to the internal core circuit; the drain of MP0 is grounded through the series resistor RF1 and the resistor RF2, the connection end of the resistor RF1 and the resistor RF2 is electrically connected to the positive input end of the amplifier EA, the negative input end of the amplifier EA is electrically connected to the reference voltage VREF, and the output end of the amplifier EA is electrically connected to the gate of MP0.

[0053] Taking the power management module as a linear regulator as an example, the signal control is stable and false triggering is avoided.

[0054] The hole / electron flow detector includes a hole detector and an electron flow detector. When the voltage detected by the hole detector is higher than the ground voltage, or the voltage detected by the electron flow detector is lower than the power supply VDD, the detector control circuit controls the power switch S1 to disconnect the path between the power supply VDD and the internal core circuit.

[0055] When the hole / electron flow detector does not detect the latch trigger current, the detector control circuit controls the power switch S1 to connect the path between the power supply VDD and the internal core circuit.

[0056] Specific:

[0057] When a positive trigger current / voltage is applied to the pad I / O PAD, the hole / electron detector (P-type strip placed between the I / O PAD and the internal core circuit) will detect the positive trigger current injected into the internal circuit, and then the voltage at the node P1 will be pulled up. When the state at P1 changes from a low voltage (VSS) to a high voltage, the state at the node SW_DETR (the output of the detector control circuit) becomes low, thereby turning on the MOS tube MPSW in the power management module. When MPSW is turned on, MP0, which generates VDD_Core from VDD in the power management module, will be turned off to stop supplying power to the power supply voltage VDD_Core of the internal core circuit. There is no power supply to the internal circuit, so the current flowing through the parasitic latch path of the internal core circuit will all stop automatically.

[0058] When a negative trigger current / voltage is applied to the pad I / O PAD, the hole / electron detector (N-type strip placed between the I / O PAD and the internal core circuit) will detect the negative trigger current injected into the internal circuit, and then the voltage at the node N1 will be pulled down. When the state at N1 changes from a high voltage (VCC) to a low level, the state at the node SW_DETR (the output of the detector circuit) becomes low, thereby turning on the MOS tube MPSW in the power management module. When MPSW is turned on, MP0, which generates VDD_Core from VDD in the power management module, will be turned off to stop supplying power to the power supply voltage VDD_Core of the internal core circuit. There is no power supply to the internal circuit, so the current flowing through the parasitic latch path of the internal core circuit will all stop automatically.

[0059] After the positive and negative trigger currents / voltages are applied to the pad I / O PAD, since no current injected into the internal circuit is applied to the I / O PAD, the voltage level of the node P1 will return to VSS, and the voltage level of the node N1 will return to VCC. The state of the node SW_DETR becomes high again, and the power management module will work normally, providing the power supply voltage VDD_Core for the internal core circuit, and the internal core circuit will resume normal circuit function.

[0060] To summarize, when the above technical solution detects that the current and voltage triggered by the I / O PAD are injected into the internal circuit, the MOS tube MPSW is opened and the path from the power management module to the internal core circuit is closed, thereby cutting off the power supply path of the core circuit. Without power supply to the internal circuit, the instantaneous current of the I / O PAD will not flow into the core circuit, and any internal circuit in which the current flows through the latch path will automatically stop. After the current and voltage triggered by the I / O PAD ends, the on-chip fully automatic latch protection circuit can automatically reset the power supply of the internal circuit.

[0061] Therefore, this technical method can completely avoid the burnout failure caused by internal circuit latch-up. Through the circuit design method, the goal of preventing full chip latch-up is successfully achieved.

[0062] The entire circuit design can be integrated inside the chip. There is no need to increase the distance between the I / O PAD and the internal core circuit, and the distance can even be reduced. No additional process mask costs are required, and full-chip latch prevention can be achieved in the CMOS integrated circuit.

[0063] In the description of the present application, the description with reference to the terms "one embodiment", "some embodiments", "in the present embodiment", "specific example", or "some examples" etc. means that the specific features, mechanisms, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, mechanisms, materials or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0064] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A fully automatic on-chip latch protection circuit, characterized in that: include: A hole / electron flow detector, used to detect a latch trigger current of an internal circuit of the integrated circuit, wherein the hole / electron flow detector is disposed between a bonding pad of the chip and the internal circuit of the integrated circuit; The power management module comprises a power switch S1, wherein the output end of the power switch S1 is electrically connected to the internal core circuit; A detector control circuit, wherein an input end of the detector control circuit is electrically connected to an output end of the hole / electron flow detector, and an output end of the detector control circuit is electrically connected to an input end of a power switch S1; The detector control circuit controls the power switch S1 to connect or disconnect the path between the power source VDD and the internal core circuit according to the latch trigger current detected by the hole / electron flow detector.

2. The fully automatic on-chip latch protection circuit according to claim 1, characterized in that: The hole / electron flow detector includes a P-type strip, an N-type strip, a resistor RN and a resistor RP surrounding an internal core circuit; The P-type band and the N-type band are both electrically connected to the detector control circuit, one end of the resistor RN is electrically connected to the N-type band, and the other end of the resistor RN is electrically connected to the power supply; one end of the resistor RP is electrically connected to the P-type band, and the other end of the resistor RP is grounded, and the P-type band and the N-type band are the output ends of the hole / electron flow detector.

3. The fully automatic on-chip latch protection circuit according to claim 2, characterized in that: The pads on the four sides of the chip are each provided with a hole / electron flow detector, and the output ends of the four hole / electron flow detectors are electrically connected to the input end of the detector control circuit.

4. The fully automatic on-chip latch protection circuit according to claim 3, characterized in that: The P-type strips in the four hole / electron flow detectors are electrically connected end to end to form a P-type ring, and the N-type strips in the four hole / electron flow detectors are electrically connected end to end to form an N-type ring.

5. The fully automatic on-chip latch protection circuit according to any one of claims 2 to 4, characterized in that: The detector control circuit includes PMOS tubes MP1, MP2, MP3, NMOS tubes MN1, MN2, MN3 and a NOR gate; The gate of MP1 and the gate of MN1 are both electrically connected to the N-type band, the drain of MP1 and the drain of MN1 are electrically connected to one input terminal of the NOR gate; the gate of MP2 and the gate of MN2 are both electrically connected to the P-type band, the drain of MP2 and the drain of MN2 are both electrically connected to the gate of MP3 and the gate of MN3, the drain of MP3 and the drain of MN3 are electrically connected to the other input terminal of the NOR gate, and the output terminal of the NOR gate is electrically connected to the power management module; The sources of MP1, MP2 and MP3 are all electrically connected to the power source VDD, and the sources of MN1, MN2 and MN3 are all grounded.

6. The fully automatic on-chip latch protection circuit according to claim 1, characterized in that: The power switch S1 is a MOS tube MPSW, a gate of the MOS tube MPSW is electrically connected to the output end of the detector control circuit, a source of the MOS tube MPSW is electrically connected to the power supply VDD, and a drain of the MOS tube MPSW is electrically connected to the internal core circuit.

7. The fully automatic on-chip latch protection circuit according to claim 1, characterized in that: The power management module includes a MOS tube MPSW, a PMOS tube MP0, an amplifier EA, a resistor RF1 and a resistor RF2; The output end of the detector control circuit is electrically connected to the gate of the MOS tube MPSW, the drain of the MOS tube MPSW is electrically connected to the gate of MP0, the source of the MOS tube MPSW and the source of MP0 are both electrically connected to the power supply VDD, and the drain of MP0 is electrically connected to the internal core circuit; The drain of MP0 is grounded through a series resistor RF1 and a resistor RF2, the connection end of the resistor RF1 and the resistor RF2 is electrically connected to the positive input end of the amplifier EA, the negative input end of the amplifier EA is electrically connected to the reference voltage VREF, and the output end of the amplifier EA is electrically connected to the gate of MP0.

8. The fully automatic on-chip latch protection circuit according to claim 1, characterized in that: The hole / electron flow detector includes a hole detector and an electron flow detector. When the voltage detected by the hole detector is higher than the ground voltage, or the voltage detected by the electron flow detector is lower than the power supply VDD, the detector control circuit controls the power switch S1 to disconnect the path between the power supply VDD and the internal core circuit.

9. The fully automatic on-chip latch protection circuit according to claim 1, characterized in that: When the hole / electron flow detector does not detect the latch trigger current, the detector control circuit controls the power switch S1 to connect the path between the power supply VDD and the internal core circuit.