Power supply chip and power failure and ground failure monitoring circuit thereof

By designing a power-down and ground-out monitoring circuit in the body control system to detect the status of the power and ground pins, it solves the short-circuit or floating problem caused by the loss of power or ground pins in the traditional system, and avoids high-side or low-side The damage to the edge drive module ensures the stability of the power supply architecture and the normal operation of the product.

CN118867971APending Publication Date: 2024-10-29UNITED AUTOMOTIVE ELECTRONICS SYST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410819490.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

The power supply architecture of traditional body control systems cannot detect when the power or ground pins are lost, causing the parasitic diodes of the high-side or low-side drive modules to burn out, causing product failure. Especially in regional control architectures, the possibility of such failures increases.

Method used

Design a power failure and ground monitoring circuit, including a power detection circuit and a ground detection circuit. Through the power anti-reverse circuit and the ground anti-reverse circuit, the status of the power pin and the ground pin is detected to prevent short circuit and floating If there is any damage, make sure the power and ground pins are properly connected.

Benefits of technology

It effectively avoids short-circuit or floating problems caused by the loss of power pins or ground pins, prevents parasitic diodes from burning, and ensures the stability of the power supply architecture and the normal operation of the product.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118867971A_ABST
    Figure CN118867971A_ABST
Patent Text Reader

Abstract

The invention provides a power supply chip and a power failure and ground failure monitoring circuit thereof. The monitoring circuit comprises a controller, at least two power supply detection circuits and at least two power supply anti-reverse circuits which are in one-to-one correspondence with power supply pins, and at least two ground end detection circuits and at least two ground end anti-reverse circuits which are in one-to-one correspondence with ground end pins. Through mutual cooperation of a power supply detection circuit, a power supply anti-reverse circuit, a ground end anti-reverse circuit and a ground end detection circuit, the voltage of a power supply pin is collected so as to obtain a first sampling voltage and a second sampling voltage. Whether the power supply pin is powered down or not is monitored according to the value of the first sampling voltage, and whether the ground end pin is grounded or not is monitored according to the value of the second sampling voltage, so that failure of the power supply chip is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power supply chips, and in particular to a power supply chip and a power failure and ground failure monitoring circuit thereof. Background Art

[0002] In the power supply architecture of the traditional body control system, there are usually at least two power pins connected to the power supply and at least two ground pins connected to the ground to provide power and circuits to the internal microprocessor, high-side driver module and low-side driver module. When the following two fault conditions occur, the power supply architecture of the traditional body has the risk of burning the product.

[0003] One of the fault conditions is that the power pin of the power supply architecture is lost, resulting in the inability to obtain power through the power pin, and at this time the output of the high-side driver module is shorted to the power supply. In this condition, the external power supply will continue to supply power to the microprocessor and other structures inside the power supply architecture through the parasitic diode inside the high-side switch of the high-side driver module to the power pin. The power pin can still detect voltage, which makes it impossible to detect that the power pin has been lost. When other high-side driver modules in the power supply architecture are running, the parasitic diodes inside the high-side switches of other high-side driver modules are likely to burn out, causing the overall failure of the product.

[0004] Another fault condition is that the ground pin of the power supply architecture is lost, causing the circuit to be suspended, unable to form a loop, and the output of the low-side driver module is shorted to the ground. In this condition, the ground terminal inside the power supply architecture continues to provide a loop to the circuit inside the power supply architecture through the parasitic diode inside the low-side switch of the low-side driver module to the external ground terminal outside the power supply architecture to supply power. At this time, it is impossible to detect that the ground pin has been lost. When other low-side driver modules inside the power supply architecture are running, it is very likely to burn out the parasitic diodes inside the low-side switches of other low-side driver modules, causing the overall failure of the product.

[0005] As the vehicle electronic architecture develops towards a regional control architecture, regional controllers will replace traditional fuses to control more high-power loads, and the possibility of the above two fault conditions in regional controllers will increase. Therefore, how to detect whether the power pin or ground pin in the power supply architecture of the body control system has been lost to avoid power supply architecture failure is an urgent problem to be solved. Summary of the invention

[0006] The purpose of the present invention is to provide a power supply chip and a power-off and ground-off monitoring circuit thereof to solve the problem of how to detect whether a power pin or a ground pin in a power supply architecture of a vehicle body control system has been lost, thereby avoiding failure of the power supply architecture.

[0007] In order to solve the above technical problems, the present invention provides a power-off and ground-off monitoring circuit, the power-off and ground-off monitoring circuit is used for a power supply chip, the power supply chip has at least two power supply pins and at least two ground terminal pins, the power-off and ground-off monitoring circuit comprises a controller, at least two power supply detection circuits and at least two power supply reverse protection circuits corresponding to the power supply pins one by one, and at least two ground terminal detection circuits and at least two ground terminal reverse protection circuits corresponding to the ground terminal pins one by one;

[0008] The positive end of the power anti-reverse circuit is used to connect to the corresponding power pin, and the reverse end of the power anti-reverse circuit is used to connect to the high-side switch of the power supply chip;

[0009] The two ends of the power detection circuit are respectively connected to the corresponding power pin and the positive ends of all the ground anti-reverse circuits, the positive ends of all the ground anti-reverse circuits are also used to connect the low-side switch of the power supply chip, the reverse end of the ground anti-reverse circuit is used to connect the corresponding ground pin, and the power detection circuit is used to detect the voltage at the corresponding power pin and then output a first sampling voltage;

[0010] The two ends of the ground detection circuit are respectively used to connect the corresponding ground pin and all the power pins, and the ground detection circuit is used to detect the voltage at the power pin and then output a second sampling voltage;

[0011] The controller determines that the power pin corresponding to the power detection circuit is in a power-off state when the controller detects that the first sampling voltage is zero, and determines that the ground pin corresponding to the ground detection circuit is in a grounded state when the controller detects that the second sampling voltage is zero.

[0012] Optionally, the power supply anti-reverse circuit includes a first power switch tube which is an NMOS tube and a control unit, wherein the source of the first power switch tube is used to connect to the power pin, the drain is used to connect to the high-side switch, and the gate is connected to the control unit, and the control unit drives the first power switch tube to turn on or off.

[0013] Optionally, the power supply anti-reverse circuit also includes a first capacitor and a second capacitor, one end of the first capacitor is connected to the source of the first power switch tube, the other end of the first capacitor is grounded, one end of the second capacitor is connected to the drain of the first power switch tube, and the other end of the second capacitor is grounded.

[0014] Optionally, the power detection circuit includes a first voltage sampling unit and a first driving unit, the first voltage sampling unit is connected to the controller, the first voltage sampling unit is connected between the power pin and the ground anti-reverse circuit, and the first driving unit is used to drive the first voltage sampling unit to form a loop to sample the voltage at the power pin.

[0015] Optionally, the first voltage sampling unit includes a second power switch tube, a first resistor and a second resistor, the input end of the second power switch tube is connected to the power pin, the output end of the second power switch tube is connected to the ground anti-reverse circuit through the first resistor and the second resistor connected in series, the driving end of the second power switch tube is connected to the first driving unit, and the controller is connected between the first resistor and the second resistor.

[0016] Optionally, the first driving unit includes a third power switch tube, a third resistor and a fourth resistor; the input end of the third power switch tube is connected to the power pin through the third resistor and the fourth resistor connected in series, the output end of the third power switch tube is connected to the ground anti-reverse circuit, and the controller is connected to the driving end of the third power switch tube for controlling the third power switch tube to be turned on or off.

[0017] Optionally, the second power switch tube is a PNP transistor or a PMOS tube, and the third power switch tube is an NPN transistor or an NMOS tube.

[0018] Optionally, the ground detection circuit includes a second voltage sampling unit and a second driving unit, the second voltage sampling unit is connected to the controller, the second voltage sampling unit is used to be connected between the power pin and the ground pin, and the second driving unit is used to drive the second voltage sampling unit to form a loop to sample the voltage at the power pin.

[0019] Optionally, the second voltage sampling unit includes a fourth power switch tube, a seventh resistor and an eighth resistor, the input end of the fourth power switch tube is used to connect the power pin, the output end of the fourth power switch tube is connected to the ground pin through the seventh resistor and the eighth resistor connected in series, the driving end of the fourth power switch tube is connected to the second driving unit, and the controller is connected between the seventh resistor and the eighth resistor.

[0020] Optionally, the second driving unit includes a fifth power switch tube, a ninth resistor and a tenth resistor; the input end of the fifth power switch tube is connected to the power pin through the ninth resistor and the tenth resistor connected in series, the output end of the fifth power switch tube is connected to the ground pin, and the controller is connected to the driving end of the fifth power switch tube for controlling the fifth power switch tube to be turned on or off.

[0021] Optionally, the fourth power switch tube is a PNP transistor or a PMOS tube, and the fifth power switch tube is an NPN transistor or an NMOS tube.

[0022] Optionally, the ground anti-reverse circuit includes a sixth power switch tube which is an NMOS tube, a third capacitor and a thirteenth resistor, one end of the thirteenth resistor is used to obtain the voltage at the power pin transmitted by the second voltage sampling unit forming a loop, the other end of the thirteenth resistor is connected to the gate of the sixth power switch tube, and the other end of the thirteenth resistor is also connected to the source of the sixth power switch tube through the capacitor, the source of the sixth power switch tube is connected to the power detection circuit and the low-side switch, and the drain of the sixth power switch tube is connected to the ground pin.

[0023] Optionally, the ground anti-reverse circuit further includes a Zener diode, a cathode end of the Zener diode is connected to the gate of the sixth power switch tube, and an anode end of the Zener diode is connected to the source of the sixth power switch tube.

[0024] Optionally, the power-off and ground-off monitoring circuit also includes at least two anti-reverse diodes corresponding one-to-one to the power pins, the anode end of the anti-reverse diode is used to connect the corresponding power pin, and the cathode end of the anti-reverse diode is connected to all the ground detection circuits.

[0025] In order to solve the above technical problems, the present invention also provides a power supply chip, which is applied to the regional controller of the whole vehicle. The power supply chip has at least two power pins and at least two ground pins. The power pins are used to connect to the power module, and the ground pins are used to ground. The power supply chip includes a high-side switch, a low-side switch and the power-off and ground-off monitoring circuit as described above. The input end of the high-side switch is connected to the reverse end of the power anti-reverse circuit, the output end of the high-side switch is used to be grounded through the high-side load, the input end of the low-side switch is used to connect to the power module through the low-side load, and the output end of the low-side switch is connected to the positive end of the ground anti-reverse circuit.

[0026] Optionally, both the high-side switch and the low-side switch are NMOS tubes.

[0027] The above power-off and ground-off monitoring circuit has at least the following four technical advantages:

[0028] First, even if the power pin is lost and the power module cannot be connected, and the output of the high-side switch connected to the power pin is short-circuited to the power module, the design of the power reverse protection circuit ensures that the short-circuited power cannot reach the lost power pin through the parasitic diode of the high-side switch, thereby preventing the product from burning and failing.

[0029] Secondly, even if the ground pin is lost and the circuit is floating and cannot form a loop, and the output of the low-side switch connected to the ground pin is short-circuited to the ground, the design of the ground anti-reverse circuit ensures that the power input to the power pin cannot be grounded through the parasitic diode of the low-side switch, and a loop power supply cannot be formed, thus avoiding the product from burning and failing.

[0030] Thirdly, the power detection circuit is connected to all the ground anti-reverse circuits. Even if some of the ground pins are lost, the power detection circuit can still be grounded through other ground pins. The design of the power anti-reverse circuit ensures that the voltage detected by the power detection circuit is not the voltage of the high-side switch short-circuited, thereby ensuring that the power detection circuit can detect whether the corresponding power pin is lost. When the first sampling voltage is greater than zero, it is judged that the power pin corresponding to the power detection circuit is in a normal connection state. When the first sampling voltage is zero, it is judged that the power pin corresponding to the power detection circuit is in a power-off state, and this power pin has been lost.

[0031] Fourthly, the ground detection circuit is connected to all the power pins. Even if some of the power pins are lost, voltage can still be provided to the ground detection circuit through other power pins. The design of the ground anti-reverse circuit ensures that the ground detection circuit will not be grounded through the low-side switch shorted to the ground, thereby ensuring that the ground detection circuit can detect whether the corresponding ground pin has been lost. When the second sampling voltage is greater than zero, it is judged that the ground pin corresponding to the ground detection circuit is in a normal grounding state. When the second sampling voltage is equal to zero, it is judged that the ground pin corresponding to the ground detection circuit is in a grounded state, and this ground pin has been lost.

[0032] It should be noted that, since the power supply chip includes the power-off and ground-off monitoring circuit, it also has the technical effects brought by the power-off and ground-off monitoring circuit, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Those skilled in the art should understand that the drawings are provided for a better understanding of the present invention and do not constitute any limitation on the scope of the present invention.

[0034] Figure 1 is a schematic diagram of a power supply chip according to an embodiment of the present invention;

[0035] Figure 2 is a schematic diagram of a power supply anti-reverse circuit according to an embodiment of the present invention;

[0036] Figure 3 is a schematic diagram of a power detection circuit according to an embodiment of the present invention;

[0037] Figure 4It is a schematic diagram of a ground detection circuit and a ground reverse protection circuit according to an embodiment of the present invention.

[0038] In the attached figure:

[0039] 10-power module; 20-power anti-reverse circuit; 21-control unit; 30-power detection circuit; 31-first voltage sampling unit; 32-first drive unit; 40-ground detection circuit; 41-second voltage sampling unit; 42-second drive unit; 50-ground anti-reverse circuit; 60-controller; 70-high-side load; 80-low-side load;

[0040] P1-power pin; P2-ground pin; M1-high-side switch; M2-low-side switch;

[0041] D1-first anti-reverse diode; D2-second anti-reverse diode; D3-Zener diode;

[0042] C1-first capacitor; C2-second capacitor; C3-third capacitor;

[0043] Q1-first power switch tube; Q2-second power switch tube; Q3-third power switch tube; Q4-fourth power switch tube; Q5-fifth power switch tube; Q6-sixth power switch tube;

[0044] R1-first resistor; R2-second resistor; R3-third resistor; R4-fourth resistor; R5-fifth resistor; R6-sixth resistor; R7-seventh resistor; R8-eighth resistor; R9-ninth resistor; R10-tenth resistor; R11-eleventh resistor; R12-twelfth resistor; R13-thirteenth resistor. DETAILED DESCRIPTION

[0045] In order to make the purpose, advantages and features of the present invention clearer, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the drawings are all in a very simplified form and are not drawn to scale, and are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention. In addition, the structure shown in the drawings is often a part of the actual structure. In particular, the emphasis of each drawing is different, and sometimes different scales are used.

[0046] As used in the present invention, the singular forms "one", "an" and "the" include plural objects, the term "or" is generally used to include the meaning of "and / or", the term "several" is generally used to include the meaning of "at least one", and the term "at least two" is generally used to include the meaning of "two or more". In addition, the terms "first", "second" and "third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first", "second" and "third" may explicitly or implicitly include one or at least two of the features, "one end" and "the other end" and "the proximal end" and "the distal end" generally refer to two corresponding parts, which include not only the endpoints, and the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral body; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. In addition, as used in the present invention, an element disposed on another element generally only indicates that there is a connection, coupling, cooperation or transmission relationship between the two elements, and the connection, coupling, cooperation or transmission between the two elements may be direct or indirect through an intermediate element, and cannot be understood as indicating or implying the spatial position relationship between the two elements, that is, one element may be in any orientation such as inside, outside, above, below or on one side of another element, unless otherwise clearly indicated in the content. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0047] Figure 1 FIG. 1 is a schematic diagram of a power supply chip according to an embodiment of the present invention. Figure 1As shown, an embodiment of the present invention schematically provides a power supply chip, the power supply chip has a zonal control unit (ZCU) 60 applied to the whole vehicle, the power supply chip has at least two power pins P1 and at least two ground pins P2, the power pin P1 is used to connect the power module 10, so as to input the power of the power module 10 into the power supply chip, and the ground pin P2 is used for grounding. The power supply chip includes a high-side switch M1, a low-side switch M2 and a power-off and ground-off monitoring circuit, and the power-off and ground-off monitoring circuit includes a controller 60, at least two power detection circuits 30 corresponding to the power pin P1, at least two power anti-reverse circuits 20 corresponding to the power pin P1, at least two ground detection circuits 40 corresponding to the ground pin P2, and at least two ground anti-reverse circuits 50 corresponding to the ground detection circuit 40. Among them, the input end of the high side switch M1 is connected to the reverse end of the power anti-reverse circuit 20, the output end of the high side switch M1 is grounded through the high side load 70, the input end of the low side switch M2 is connected to the power module 10 through the low side load 80, and the output end of the low side switch M2 is connected to the positive end of the ground anti-reverse circuit 50. The positive end of the power anti-reverse circuit 20 is connected to the corresponding power pin P1, and the reverse end of the power anti-reverse circuit 20 is connected to the high side switch M1 of the power supply chip. One end of the power detection circuit 30 is connected to the corresponding power pin P1, and the other end of the power detection circuit 30 is connected to the positive ends of all the ground anti-reverse circuits 50. The output end of the low side switch M2 is also connected to the positive ends of all the ground anti-reverse circuits 50, and the reverse end of the ground anti-reverse circuit 50 is connected to the corresponding ground pin P2. The power detection circuit 30 is used to detect the voltage at the corresponding power pin P1 and then output the first sampling voltage V1. One end of the ground detection circuit 40 is connected to the corresponding ground pin P2, and the other end of the ground detection circuit 40 is connected to all power pins P1. The ground detection circuit 40 is used to detect the voltage at the power pin P1 and then output a second sampling voltage V2. The controller 60 is connected to the power detection circuit 30 to obtain the first sampling voltage V1, and the controller 60 is connected to the ground detection circuit 40 to obtain the second sampling voltage V2. When the controller 60 detects that the first sampling voltage V1 is zero, it determines that the power pin P1 corresponding to the power detection circuit 30 is in a power-off state, and when the controller detects that the second sampling voltage V2 is zero, it determines that the ground pin P2 corresponding to the ground detection circuit 40 is in a grounded state. The power module 10 here usually refers to the battery of the entire vehicle. Usually, the number of high-side switches M1 and the number of low-side switches M2 are both at least two, and the power supply chip realizes power supply to multiple loads. Each high-side switch M1 works independently, each low-side switch M2 works independently, and the high-side switch M1 and the low-side switch M2 also work independently, that is, the on and off of the high-side switch M1 and the on and off of the low-side switch M2 are independently controlled. It can be understood that the voltage required by the high-side load 70 is greater than the voltage required by the low-side load 80.

[0048] In one embodiment, both the high-side switch M1 and the low-side switch M2 are NMOS transistors. Specifically, the source of the high-side switch M1 is connected to the high-side load 70, the drain of the high-side switch M1 is connected to the reverse end of the power anti-reverse circuit 20, the source of the low-side switch M2 is connected to the positive end of the ground anti-reverse circuit 50, and the drain of the low-side switch M2 is connected to the low-side load 80.

[0049] Those skilled in the art can understand that when the corresponding power pin P1 is connected to the positive terminal of the power module 10, the power anti-reverse circuit 20 acts as a path to normally transfer the power of the power module 10; when the power pin P1 is connected to the negative terminal of the power module 10, the power anti-reverse circuit 20 is turned off, and the power module 10 and the high-side switch M1 are disconnected to perform power anti-reverse protection. When the ground pin P2 is connected to the negative terminal of the power module 10 or grounded, the corresponding ground anti-reverse circuit 50 is a path, so that a loop can be formed in the power supply chip to supply power normally. When the ground pin P2 is connected to the positive terminal of the power module 10, the ground anti-reverse circuit 50 is turned off to perform ground anti-reverse protection.

[0050] In summary, on the one hand, even if the power pin P1 is lost and the power module 10 cannot be connected, and the output of the high-side switch M1 connected to the power pin P1 is shorted to the power module 10, the design of the power anti-reverse circuit 20 ensures that the shorted power cannot reach the lost power pin P1 through the parasitic diode of the high-side switch M1, thereby preventing the product from being burned and failing. On the other hand, even if the ground pin P2 is lost and the circuit is suspended and unable to form a loop, and the output of the low-side switch M2 connected to the ground pin P2 is shorted to the ground, the design of the ground anti-reverse circuit 50 ensures that the power input to the power pin P1 cannot be grounded through the parasitic diode of the low-side switch M2, and a loop power supply cannot be formed, thereby preventing the product from being burned and failing. Thirdly, the power detection circuit 30 is connected to all the ground anti-reverse circuits 50. Even if some of the ground pins P2 are lost, the power detection circuit 30 can still be grounded through other ground pins P2, which provides a prerequisite for the power detection circuit 30 to form a loop. The design of the power anti-reverse circuit 20 ensures that the voltage detected by the power detection circuit 30 is not the voltage of the short-circuited high-side switch M1, thereby ensuring that the power detection circuit 30 can detect whether the corresponding power pin P1 is lost. When the first sampling voltage V1 is greater than zero, it is judged that the power pin P1 corresponding to the power detection circuit 30 is in a normal connection state. When the first sampling voltage V1 is zero, it is judged that the power pin P1 corresponding to the power detection circuit 30 is in a power-off state, and this power pin P1 has been lost. Fourthly, the ground detection circuit 40 is connected to all the power pins P1. Even if some of the power pins P1 are lost, voltage can still be provided to the ground detection circuit 40 through other power pins P1, which provides the prerequisite for the input voltage to form a loop for the ground detection circuit 40. The design of the ground anti-reverse circuit 50 ensures that the ground detection circuit 40 will not be grounded through the low-side switch M2 short-connected to the ground, thereby ensuring that the ground detection circuit 40 can detect whether the corresponding ground pin P2 is lost. When the second sampling voltage V2 is greater than zero, it is judged that the ground pin P2 corresponding to the ground detection circuit 40 is already in a normal grounding state. When the second sampling voltage V2 is equal to zero, it is judged that the ground pin P2 corresponding to the ground detection circuit 40 is in a grounded state, and this ground pin P2 has been lost.

[0051] Further, see Figure 1 The power-off and ground-off monitoring circuit further includes at least two anti-reverse diodes corresponding to the power pins P1 one by one, the anode end of the anti-reverse diode is connected to the corresponding power pin P1, and the cathode end of the anti-reverse diode is connected to all ground detection circuits 40. For example, refer to Figure 1 This embodiment demonstrates two reverse protection diodes, namely a first reverse protection diode D1 and a second reverse protection diode D2.

[0052] Figure 2 FIG. 1 is a schematic diagram of a power supply anti-reverse circuit according to an embodiment of the present invention. Figure 2 The power anti-reverse circuit 20 includes a first power switch tube Q1 which is an NMOS tube and a control unit 21. The source of the first power switch tube Q1 is connected to the power pin P1, the drain of the first power switch tube Q1 is connected to the input end of the high-side switch M1, and the gate of the first power switch tube Q1 is connected to the control unit 21. The control unit 21 drives the first power switch tube Q1 to be turned on or off. Preferably, the power anti-reverse circuit 20 also includes a first capacitor C1 and a second capacitor C2. One end of the first capacitor C1 is connected to the source of the first power switch tube Q1, and the other end of the first capacitor C1 is grounded. One end of the second capacitor C2 is connected to the drain of the first power switch tube Q1, and the other end of the second capacitor C2 is grounded. It can be understood that the first capacitor C1 is used to filter the voltage input before the anti-reverse protection, and the second capacitor C2 is used to filter the voltage output after the anti-reverse protection.

[0053] In a preferred embodiment, the control unit 21 may use an ideal diode driver chip. Those skilled in the art will appreciate that the ideal diode driver chip may be controlled to realize the function of an ideal diode as the first power switch tube Q1 of the NMOS tube. The ideal diode driver chip may adjust the forward voltage drop across the NMOS tube to ensure smooth current conversion of the diode in the application. And the power supply may be quickly turned on, reducing the load voltage drop during power switching. If the input power fails or is short-circuited, the ideal diode driver chip may quickly turn off the NMOS tube to minimize reverse current transients.

[0054] Figure 3 FIG. 1 is a schematic diagram of a power detection circuit according to an embodiment of the present invention. Figure 3 The power detection circuit 30 includes a first voltage sampling unit 31 and a first driving unit 32. One end of the first voltage sampling unit 31 is connected to the corresponding power pin P1, and the other end of the first voltage sampling unit 31 is connected to the positive end of all ground anti-reverse circuits 50, so that the other end of the first voltage sampling unit 31 can always be grounded through the ground pin P2. The controller 60 controls the first driving unit 32 to act, so that the first driving unit 32 drives the first voltage sampling unit 31 to form a loop, and the first voltage sampling unit 31 that forms the loop samples the voltage at the corresponding power pin P1. After the corresponding power pin P1 is lost, the sampling is obtained. The first voltage sampling unit 31 is connected to the controller 60, so that the first sampled voltage V1 obtained by sampling is output to the controller 60.

[0055] For further information, see Figure 3, the first voltage sampling unit 31 includes a second power switch tube Q2, a first resistor R1 and a second resistor R2, the input end of the second power switch tube Q2 is connected to the corresponding power pin P1, the output end of the second power switch tube Q2 is connected to the positive end of all ground anti-reverse circuits 50 through the first resistor R1 and the second resistor R2 connected in series, the driving end of the second power switch tube Q2 is connected to the first driving unit 32, and the controller 60 is connected between the first resistor R1 and the second resistor R2. In this way, the control signal controls the first driving unit 32 to turn on the second power switch tube Q2, so that the first voltage sampling unit 31 is turned on, so as to sample the voltage of the power pin P1 through the voltage division of the first resistor R1 and the second resistor R2, and output it to the controller 60, and the first sampling voltage V1 is the voltage of one of the first resistor R1 and the second resistor R2 connected to the ground anti-reverse circuit 50.

[0056] For further information, see Figure 3 , the first driving unit 32 includes a third power switch tube Q3, a third resistor R3 and a fourth resistor R4; the input end of the third power switch tube Q3 is connected to the corresponding power pin P1 through the third resistor R3 and the fourth resistor R4 connected in series, the output end of the third power switch tube Q3 is connected to the positive end of all ground-end anti-reverse circuits 50, and the controller 60 is connected to the driving end of the third power switch tube Q3 to control the third power switch tube Q3 to be turned on or off. The first driving unit 32 also includes a fifth resistor R5 and a sixth resistor R6, the controller 60 is connected to the driving end of the third power switch tube Q3 through the fifth resistor R5, the fifth resistor R5 and the driving end of the third power switch tube Q3 are connected to the positive end of all ground-end anti-reverse circuits 50 through the sixth resistor R6, and are grounded through the ground pin P2. In this way, the controller 60 outputs a corresponding control signal to the first drive unit 32, thereby generating a bias voltage between the fifth resistor R5 and the sixth resistor R6 to turn on the third power switch tube Q3. When the power pin P1 is not lost and the voltage of the power module 10 can be obtained, the turned-on third power switch tube Q3 enables a bias voltage between the third resistor R3 and the fourth resistor R4 to turn on the second power switch tube Q2. After the second power switch tube Q2 is turned on, the voltage at the power pin P1 is sampled through the voltage divider effect of the first resistor R1 and the second resistor R2.

[0057] Exemplarily, the second power switch tube Q2 can be a PNP triode, the input end of the second power switch tube Q2 is the emitter, the output end of the second power switch tube Q2 is the collector, and the driving end of the second power switch tube Q2 is the base. Of course, the second power switch tube Q2 can also be a PMOS tube, the input end of the second power switch tube Q2 is the source, the output end of the second power switch tube Q2 is the drain, and the driving end of the second power switch tube Q2 is the gate. Exemplarily, the third power switch tube Q3 can be an NPN triode, the input end of the third power switch tube Q3 is the collector, the output end of the third power switch tube Q3 is the emitter, and the driving end of the third power switch tube Q3 is the base. Of course, the third power switch tube Q3 can also be an NMOS tube, the input end of the third power switch tube Q3 is the drain, the output end of the third power switch tube Q3 is the source, and the driving end of the third power switch tube Q3 is the gate.

[0058] Figure 4 Schematic diagram of a ground detection circuit and a ground reverse protection circuit according to an embodiment of the present invention. Figure 4 The ground detection circuit 40 includes a second voltage sampling unit 41 and a second driving unit 42. One end of the second voltage sampling unit 41 is connected to all power pins P1. Preferably, one end of the second voltage sampling unit 41 is connected to the power pin P1 through an anti-reverse diode, so that one end of the second voltage sampling unit 41 always has the voltage input by the power module 10. The other end of the second voltage sampling unit 41 is connected to the corresponding ground pin P2. The controller 60 controls the second driving unit 42 to drive the second voltage sampling unit 41 to form a loop. The second voltage sampling unit 41 that forms the loop can sample the voltage at the power pin P1. If the corresponding ground pin P2 is lost, the second voltage sampling unit 41 cannot be grounded, and the sampled second sampling voltage V2 is zero. The second voltage sampling unit 41 is connected to the controller 60, so as to output the second sampling voltage V2 to the controller 60.

[0059] Further, see Figure 4, the second voltage sampling unit 41 includes a fourth power switch tube Q4, a seventh resistor R7 and an eighth resistor R8, the input end of the fourth power switch tube Q4 is connected to all power pins P1, the output end of the fourth power switch tube Q4 is connected to the corresponding ground pin P2 through the seventh resistor R7 and the eighth resistor R8 connected in series, the driving end of the fourth power switch tube Q4 is connected to the second driving unit 42, and the controller 60 is connected between the seventh resistor R7 and the eighth resistor R8. In this way, the control signal controls the second driving unit 42 to turn on the fourth power switch tube Q4, so that the second voltage sampling unit 41 is turned on, so as to sample the voltage of the power pin P1 through the voltage division of the seventh resistor R7 and the eighth resistor R8, and output it to the controller 60, and the second sampling voltage V2 is the voltage of one of the seventh resistor R7 and the eighth resistor R8 connected to the ground pin P2.

[0060] Further, see Figure 4 , the second driving unit 42 includes a fifth power switch tube Q5, a ninth resistor R9 and a tenth resistor R10; the input end of the fifth power switch tube Q5 is connected to all power pins P1 through the ninth resistor R9 and the tenth resistor R10 connected in series, the output end of the fifth power switch tube Q5 is connected to the corresponding ground pin P2, and the controller 60 is connected to the driving end of the fifth power switch tube Q5 to control the fifth power switch tube Q5 to be turned on or off. The second driving also includes an eleventh resistor R11 and a twelfth resistor R12, the controller 60 is connected to the driving end of the fifth power switch tube Q5 through the eleventh resistor R11, and the eleventh resistor R11 and the driving end of the fifth power switch tube Q5 are connected to the corresponding ground pin P2 through the twelfth resistor R12. In this way, when the corresponding ground pin P2 is not lost and is in a normal grounding state, the controller 60 outputs a corresponding control signal to the second driving unit 42, thereby generating a bias voltage between the eleventh resistor R11 and the twelfth resistor R12 to turn on the fifth power switch tube Q5. The turned-on fifth power switch tube Q5 enables a bias voltage between the ninth resistor R9 and the tenth resistor R10 to turn on the fourth power switch tube Q4. After the fourth power switch tube Q4 is turned on, the voltage at the power pin P1 is sampled through the voltage divider effect of the seventh resistor R7 and the eighth resistor R8.

[0061] Exemplarily, the fourth power switch tube Q4 can be a PNP transistor, the input end of the fourth power switch tube Q4 is the emitter, the output end of the fourth power switch tube Q4 is the collector, and the driving end of the fourth power switch tube Q4 is the base. Of course, the fourth power switch tube Q4 can also be a PMOS tube, the input end of the fourth power switch tube Q4 is the source, the output end of the fourth power switch tube Q4 is the drain, and the driving end of the fourth power switch tube Q4 is the gate. Exemplarily, the fifth power switch tube Q5 can be an NPN transistor, the input end of the fifth power switch tube Q5 is the collector, the output end of the fifth power switch tube Q5 is the emitter, and the driving end of the fifth power switch tube Q5 is the base. Of course, the fifth power switch tube Q5 can also be an NMOS tube, the input end of the fifth power switch tube Q5 is the drain, the output end of the fifth power switch tube Q5 is the source, and the driving end of the fifth power switch tube Q5 is the gate.

[0062] Continue reading Figure 4 The ground anti-reverse circuit 50 includes a sixth power switch tube Q6 which is an NMOS tube, a third capacitor C3 and a thirteenth resistor R13. One end of the thirteenth resistor R13 is used to obtain the voltage at the power pin P1 transmitted by the second voltage sampling unit 41 forming a loop. The other end of the thirteenth resistor R13 is connected to the gate of the sixth power switch tube Q6. The other end of the thirteenth resistor R13 is also connected to the source of the sixth power switch tube Q6 through the third capacitor C3. The source of the sixth power switch tube Q6 is connected to all power detection circuits 30 and the low-side switch M2. The drain of the sixth power switch tube Q6 is connected to the ground pin P2. Preferably, the ground anti-reverse circuit 50 also includes a Zener diode D3. The cathode end of the Zener diode D3 is connected to the gate of the sixth power switch tube Q6. The anode end of the Zener diode D3 is connected to the source of the sixth power switch tube Q6. The setting of the Zener diode D3 can be used to control the V of the sixth power switch tube Q6. GS Clamp to ensure that the V GS Do not exceed the reverse breakdown voltage of Zener diode D3.

[0063] Although the present invention is disclosed as above with preferred embodiments, the above embodiments are not intended to limit the present invention. For any technician familiar with the art, without departing from the scope of the technical solution of the present invention, the technical content disclosed above can be used to make many possible changes and modifications to the technical solution of the present invention, or modified into equivalent embodiments of equivalent changes. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still belongs to the scope of protection of the technical solution of the present invention.

Claims

1. A power failure and ground failure monitoring circuit, used for a power supply chip, wherein the power supply chip has at least two power supply pins and at least two ground pins, characterized in that: It includes a controller, at least two power detection circuits and at least two power anti-reverse circuits corresponding to the power pins one by one, and at least two ground detection circuits and at least two ground anti-reverse circuits corresponding to the ground pins one by one; The positive end of the power anti-reverse circuit is used to connect to the corresponding power pin, and the reverse end of the power anti-reverse circuit is used to connect to the high-side switch of the power supply chip; The two ends of the power detection circuit are respectively connected to the corresponding power pin and the positive ends of all the ground anti-reverse circuits, the positive ends of all the ground anti-reverse circuits are also used to connect the low-side switch of the power supply chip, the reverse end of the ground anti-reverse circuit is used to connect the corresponding ground pin, and the power detection circuit is used to detect the voltage at the corresponding power pin and then output a first sampling voltage; The two ends of the ground detection circuit are respectively used to connect the corresponding ground pin and all the power pins, and the ground detection circuit is used to detect the voltage at the power pin and then output a second sampling voltage; The controller determines that the power pin corresponding to the power detection circuit is in a power-off state when the controller detects that the first sampling voltage is zero, and determines that the ground pin corresponding to the ground detection circuit is in a grounded state when the controller detects that the second sampling voltage is zero.

2. The power-off and ground-off monitoring circuit according to claim 1, characterized in that: The power supply anti-reverse circuit includes a first power switch tube which is an NMOS tube and a control unit, wherein the source of the first power switch tube is used to connect to the power pin, the drain is used to connect to the high-side switch, and the gate is connected to the control unit, and the control unit drives the first power switch tube to turn on or off.

3. The power-off and ground-off monitoring circuit according to claim 2, characterized in that: The power supply anti-reverse circuit also includes a first capacitor and a second capacitor, one end of the first capacitor is connected to the source of the first power switch tube, the other end of the first capacitor is grounded, one end of the second capacitor is connected to the drain of the first power switch tube, and the other end of the second capacitor is grounded.

4. The power-off and ground-off monitoring circuit according to claim 1, characterized in that: The power detection circuit includes a first voltage sampling unit and a first driving unit, the first voltage sampling unit is connected to the controller, the first voltage sampling unit is connected between the power pin and the ground anti-reverse circuit, and the first driving unit is used to drive the first voltage sampling unit to form a loop to sample the voltage at the power pin.

5. The power-off and ground-off monitoring circuit according to claim 4, characterized in that: The first voltage sampling unit includes a second power switch tube, a first resistor and a second resistor, the input end of the second power switch tube is connected to the power pin, the output end of the second power switch tube is connected to the ground anti-reverse circuit through the first resistor and the second resistor connected in series, the driving end of the second power switch tube is connected to the first driving unit, and the controller is connected between the first resistor and the second resistor.

6. The power-off and ground-off monitoring circuit according to claim 5, characterized in that: The first driving unit includes a third power switch tube, a third resistor and a fourth resistor; the input end of the third power switch tube is connected to the power pin through the third resistor and the fourth resistor connected in series, the output end of the third power switch tube is connected to the ground anti-reverse circuit, and the controller is connected to the driving end of the third power switch tube for controlling the third power switch tube to be turned on or off.

7. The power-off and ground-off monitoring circuit according to claim 6, characterized in that: The second power switch tube is a PNP transistor or a PMOS tube, and the third power switch tube is an NPN transistor or an NMOS tube.

8. The power-off and ground-off monitoring circuit according to claim 1, characterized in that: The ground detection circuit includes a second voltage sampling unit and a second driving unit, the second voltage sampling unit is connected to the controller, the second voltage sampling unit is used to be connected between the power pin and the ground pin, and the second driving unit is used to drive the second voltage sampling unit to form a loop to sample the voltage at the power pin.

9. The power-off and ground-off monitoring circuit according to claim 8, characterized in that: The second voltage sampling unit includes a fourth power switch tube, a seventh resistor and an eighth resistor, the input end of the fourth power switch tube is used to connect the power pin, the output end of the fourth power switch tube is connected to the ground pin through the seventh resistor and the eighth resistor connected in series, the driving end of the fourth power switch tube is connected to the second driving unit, and the controller is connected between the seventh resistor and the eighth resistor.

10. The power-off and ground-off monitoring circuit according to claim 9, characterized in that: The second driving unit includes a fifth power switch tube, a ninth resistor and a tenth resistor; the input end of the fifth power switch tube is connected to the power pin through the ninth resistor and the tenth resistor connected in series, the output end of the fifth power switch tube is connected to the ground pin, and the controller is connected to the driving end of the fifth power switch tube for controlling the fifth power switch tube to be turned on or off.

11. The power-off and ground-off monitoring circuit according to claim 10, characterized in that: The fourth power switch tube is a PNP transistor or a PMOS tube, and the fifth power switch tube is an NPN transistor or an NMOS tube.

12. The power-off and ground-off monitoring circuit according to claim 8, characterized in that: The ground anti-reverse circuit includes a sixth power switch tube which is an NMOS tube, a third capacitor and a thirteenth resistor, one end of the thirteenth resistor is used to obtain the voltage at the power pin transmitted by the second voltage sampling unit forming a loop, the other end of the thirteenth resistor is connected to the gate of the sixth power switch tube, and the other end of the thirteenth resistor is also connected to the source of the sixth power switch tube through the capacitor, the source of the sixth power switch tube is connected to the power detection circuit and the low-side switch, and the drain of the sixth power switch tube is connected to the ground pin.

13. The power-off and ground-off monitoring circuit according to claim 12, characterized in that: The ground anti-reverse circuit also includes a Zener diode, a cathode end of the Zener diode is connected to the gate of the sixth power switch tube, and an anode end of the Zener diode is connected to the source of the sixth power switch tube.

14. The power supply chip according to claim 1, characterized in that: The power-off and ground-off monitoring circuit also includes at least two anti-reverse diodes corresponding one-to-one to the power pins, the anode end of the anti-reverse diode is used to connect the corresponding power pin, and the cathode end of the anti-reverse diode is connected to all the ground detection circuits.

15. A power supply chip, characterized in that: The power supply chip has at least two power pins and at least two ground pins, the power pins are used to connect to the power module, the power supply chip includes a high-side switch, a low-side switch and the power-off and ground-off monitoring circuit according to any one of claims 1 to 14, the input end of the high-side switch is connected to the reverse end of the power anti-reverse circuit, the output end of the high-side switch is used to be grounded through a high-side load, the input end of the low-side switch is used to connect to the power module through a low-side load, and the output end of the low-side switch is connected to the forward end of the ground anti-reverse circuit.

16. The power supply chip according to claim 15, characterized in that: The high-side switch and the low-side switch are both NMOS tubes.