Abnormality detection device of power switch charging loop, chip, product and equipment
By designing an anomaly detection device, the power switch charging circuit of the intelligent electronic switch is monitored in real time, which solves the problem of abnormal charging circuit connection and ensures the normal use and performance of the equipment.
Patent Information
- Application Number
- CN202511617687.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-06
- Publication Date
- 2026-02-17
AI Technical Summary
Existing smart electronic switches, under long-term use and high operating stress conditions, suffer from abnormal charging circuit connections, leading to reduced load-carrying capacity or even malfunction.
Design an anomaly detection device, including a power supply terminal, a power supply ground terminal, a gate drive circuit, and a drive voltage detection circuit. By acquiring the power supply terminal voltage of the gate drive circuit in real time and comparing it with preset threshold information, determine whether the charging circuit of the power switch is abnormally connected.
It enables accurate and timely detection of the power switch charging circuit, avoiding the problem of the smart electronic switch failing to function properly, and improving the reliability and performance of the equipment.
Smart Images

Figure CN121541034A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of semiconductor switching technology, and in particular to an anomaly detection device, chip, product, and equipment for a power switch charging circuit. Background Technology
[0002] In electromechanical equipment, intelligent electronic switches are connected between the load and the power supply via wires. They possess one or more diagnostic capabilities and protection features, such as protection against over-temperature, overload, overcurrent, and short-circuit events. They can disconnect the power switch within the intelligent electronic switch, thereby breaking the path between the power supply and the load, in the event of such events. Therefore, the fault detection mechanism and reliability assessment of intelligent electronic switches are crucial.
[0003] In the prior art, in order to improve the versatility of the gate drive circuit, the power switch and the gate drive circuit of the smart electronic switch can be deployed on different chips. Moreover, in order to meet the current requirements of large loads, the smart electronic switch can include multiple power switches connected in parallel, and the gate terminal of each power switch is connected to the gate drive terminal of the gate drive circuit.
[0004] In practical applications, with the use of intelligent electronic switches, especially when they are used under high operating stress conditions for a long time, problems such as abnormal connection of the charging circuit of the power switch may occur. For example, the gate terminal of the power switch or the gate driving terminal of the gate driving circuit may fall off, which will lead to a decrease in the load capacity of the intelligent electronic switch, or even the intelligent electronic switch may not be able to be used normally. Summary of the Invention
[0005] This application provides an anomaly detection device, chip, product, and equipment for a power switch charging circuit, used to detect whether the control terminal of the switching circuit and / or the gate terminal of the power switch in the switching circuit are connected abnormally.
[0006] To solve the above-mentioned technical problems, the first aspect of this application provides an abnormality detection device for a power switch charging circuit, the abnormality detection device including a power supply terminal, a power ground terminal, a gate drive circuit and a gate drive terminal;
[0007] The power supply terminal and the power ground terminal are used to connect to the positive and negative terminals of the power supply, respectively. The gate driving terminal is used to connect to the gate driving circuit and the gate terminal of the power switch. The gate driving circuit is used to control the power switch to turn on or off.
[0008] It also includes a drive voltage detection circuit and an anomaly judgment circuit. The drive voltage detection circuit is connected to the power supply terminal of the gate drive circuit and the anomaly judgment circuit. During the first preset time period when the power switch changes from the off state to the on state, the drive voltage detection circuit obtains the real-time power supply terminal voltage of the gate drive circuit. The anomaly judgment circuit determines whether the charging circuit of the power switch is abnormally connected based on the real-time power supply terminal voltage and preset threshold information and outputs the anomaly judgment result.
[0009] Optionally, the preset threshold information includes a first voltage threshold, which is related to the total gate-source capacitance of all power switches connected to the gate drive terminal;
[0010] If the anomaly detection circuit detects that the real-time power supply voltage drops to less than or equal to the first voltage threshold within a first preset time period during which the power switch transitions from the off state to the on state, it determines that the charging circuit of the power switch is connected normally; otherwise, it determines that there is an anomaly in the charging circuit of the power switch.
[0011] Optionally, the anomaly detection circuit includes a first timer, a first voltage comparator, and an anomaly detection unit. The first timer is connected to the anomaly detection unit. The first input terminal of the first voltage comparator is connected to the drive voltage detection circuit, its second input terminal is used to input a first voltage threshold, and its output terminal is connected to the anomaly detection unit.
[0012] The first timer starts timing when the power switch transitions from the off state to the on state, and outputs a first timing arrival signal when the continuous timing duration reaches a first preset duration. The first voltage comparator compares the real-time power supply terminal voltage with the first voltage threshold. If the real-time power supply terminal voltage is less than or equal to the preset voltage threshold, it outputs a first falling comparison signal. If the anomaly judgment unit receives the first falling comparison signal before receiving the first timing arrival signal, it determines that the charging circuit connection of the power switch is normal. If it does not receive the first falling comparison signal when receiving the first timing arrival signal, it determines that the charging circuit connection of the power switch is abnormal.
[0013] Optionally, the gate driving terminal is used to connect N power switches in parallel. The preset threshold information includes K voltage thresholds and a first preset duration. The magnitude of the K voltage thresholds is related to the gate-source capacitance of the power switches connected to the gate driving terminal. N is a natural number greater than or equal to 2, and K is a natural number less than or equal to N.
[0014] Within a first preset time period during which N power switches transition from the off state to the on state, the anomaly detection circuit compares the real-time power supply terminal voltage with K voltage thresholds, and determines whether the charging circuit of the power switch is connected normally and the number of power switches with abnormal connections in the charging circuit based on the comparison results of the real-time power supply terminal voltage with the K voltage thresholds and the values of N and K.
[0015] Optionally, the anomaly detection circuit includes a first timer, K voltage comparators, and an anomaly detection unit. The first timer is connected to the anomaly detection unit. The first input terminals of the K voltage comparators are all connected to the drive voltage detection circuit, their second input terminals are used to connect to K voltage thresholds, and their output terminals are connected to the anomaly detection unit.
[0016] The first timer starts timing when the power switch transitions from the off state to the on state, and outputs a first timing arrival signal when the continuous timing duration reaches a first preset duration. K voltage comparators compare the real-time power supply terminal voltage with K voltage thresholds and output K comparison result signals. When the anomaly judgment unit receives the first timing arrival signal, it determines whether the charging circuit of the power switch is connected normally and the number of power switches with abnormal connections in the charging circuit based on the K comparison result signals, the values of N and K.
[0017] Optionally, the anomaly detection circuit further includes K timing units, the first input terminals of the K timing units are connected to the output terminals of the K voltage comparators, the second input terminals of the units are respectively connected to a second preset duration, and the output terminals of the units are all connected to the anomaly detection unit.
[0018] K timing units start timing when they receive a falling comparison signal, and output a second timing arrival signal when the continuous timing duration reaches a second preset duration, or stop timing when they receive a rising comparison signal;
[0019] The anomaly detection unit determines whether the charging circuit of the power switch is connected normally, and the number of power switches with abnormal connections in the charging circuit, based on the order in which the second timing arrival signal is received from the K timing units and the first timing arrival signal is received from the first timer, and the values of K and N.
[0020] Optionally, the gate driving terminal is used to connect N power switches in parallel. The preset threshold information includes a second voltage threshold and M duration thresholds. The second voltage threshold and the M duration thresholds are both related to the gate-source capacitance of the power switches connected to the gate driving terminal. N is a natural number greater than or equal to 2, and M is a natural number less than or equal to N.
[0021] Within the first preset time period during which the power switch transitions from the off state to the on state, when the anomaly detection circuit detects that the real-time power supply terminal voltage drops to less than or equal to the second voltage threshold, it times the duration during which the real-time power supply terminal voltage is less than or equal to the second voltage threshold to obtain a continuous timing duration. Based on the relationship between the continuous timing duration and M time thresholds, it determines whether the charging circuit of the power switch is connected normally and the number of power switches with abnormal connections in the charging circuit.
[0022] Optionally, the anomaly detection circuit includes a first timer, a second voltage comparator, M timing comparators, and an anomaly detection unit. The first input terminal of the second voltage comparator is connected to the drive voltage detection circuit, its second input terminal is used to input a second voltage threshold, and its output terminal is connected to the second timer. The output terminal of the second timer is connected to the first input terminal of the M timing comparators, the second input terminals of the M timing comparators are connected to M duration thresholds, and their output terminals are connected to the anomaly detection unit. The anomaly detection unit is also connected to the first timer.
[0023] The second voltage comparator compares the real-time power supply terminal voltage with a second voltage threshold. When the real-time power supply terminal voltage drops to less than or equal to the second voltage threshold, it outputs a second drop comparison signal to start the second timer. When the real-time power supply terminal voltage rises to greater than the second voltage threshold, it outputs a first rise comparison signal to stop the second timing unit and output a second timing duration. M timing comparators compare the second timing duration with M duration thresholds and output M timing comparison signals. When the anomaly judgment unit receives the first timing arrival signal, it determines whether there is an anomaly in the charging circuit of the power switch and the number of power switches with abnormal connections in the charging circuit based on the received M timing comparison signals, the number of M and N.
[0024] Optionally, the preset threshold information is parameter information obtained by the anomaly detection device in a single detection within a preset detection time period, or...
[0025] The preset threshold information is the average of at least two parameter information obtained by the anomaly detection device at least twice within a preset detection time period; or,
[0026] The preset threshold information is configuration information received by the anomaly detection device through the configuration port.
[0027] Optionally, the anomaly detection device includes a gate driver and a processor;
[0028] The gate driving circuit, the driving voltage detection circuit, and the anomaly judgment circuit are all included in the gate driver. The anomaly judgment circuit outputs the anomaly judgment result to the processor so that the processor controls the switching state of the switching circuit via the gate driving circuit.
[0029] Optionally, the anomaly detection device includes a gate driver and a processor;
[0030] The gate driving circuit and the driving voltage detection circuit are included in the gate driver, and the anomaly judgment circuit is included in the processor. The processor controls the switching state of the switching circuit via the gate driving circuit based on the anomaly judgment result of the anomaly judgment circuit.
[0031] The second aspect of this application provides an integrated circuit chip, including an abnormality detection device for a power switch charging circuit as described in the first aspect, wherein the power supply terminal is a power supply pin, the power ground terminal is a power ground pin, and the gate drive terminal is a gate drive pin.
[0032] A third aspect of this application provides an integrated circuit chip, including an abnormality detection device for a power switch charging circuit as described in the first aspect and a power switch, wherein the power supply terminal is a power supply pin, the power ground terminal is a power ground pin, and the gate drive terminal is a gate drive pin.
[0033] The fourth aspect of this application provides a chip product including an anomaly detection device for a power switch charging circuit as described in the first aspect, wherein the gate driving circuit and the driving voltage detection circuit are located on a first integrated circuit chip, and the anomaly judgment circuit is located on a second integrated circuit chip.
[0034] The fifth aspect of this application provides a chip product, comprising:
[0035] Integrated circuit chips as described in the second aspect or chip products as described in the fourth aspect;
[0036] A switching circuit, which is located on a third integrated circuit chip.
[0037] The sixth aspect of this application provides a chip product, comprising:
[0038] Integrated circuit chips as described in the second aspect or chip products as described in the fourth aspect;
[0039] A switching circuit, comprising multiple power switches, each located on a multiple integrated circuit chip.
[0040] The seventh aspect of this application provides an electromechanical device, including an abnormality detection device for a power switch charging circuit as described in the first aspect;
[0041] It also includes a power supply, a switching circuit, and a load; wherein, the positive terminal of the power supply is connected to the power supply terminal, the negative terminal of the power supply is connected to the power supply ground terminal, one end of the power switch is connected to the load, the other end of the power switch is connected to the power supply terminal or the power supply ground terminal, and its gate terminal is connected to the gate drive terminal of the abnormality detection device, the abnormality detection device is used to detect whether the charging circuit of the power switch is abnormally connected.
[0042] In the embodiments of this application, the anomaly detection device includes a gate driving circuit, a driving voltage detection circuit, and an anomaly judgment circuit. The driving voltage detection circuit is connected to the power supply terminal of the gate driving circuit and the anomaly judgment circuit. During a first preset time period when the power switch transitions from the off state to the on state, the driving voltage detection circuit acquires the real-time power supply terminal voltage of the gate driving circuit. The anomaly judgment circuit determines whether the charging circuit of the power switch is abnormally connected based on the real-time power supply terminal voltage and preset threshold information, and outputs the anomaly judgment result. This technical solution can accurately and timely detect whether the charging circuit of the power switch is abnormally connected, avoiding the problem of the intelligent electronic switch containing the power switch failing to function properly. Attached Figure Description
[0043] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0044] Figure 1 This is a circuit module diagram of the electromechanical equipment provided in the first embodiment of this application;
[0045] Figure 2 This is a schematic diagram of the anomaly detection device provided in the first embodiment of this application;
[0046] Figure 3a yes Figure 2 The illustrated embodiment corresponds to the signal waveform diagram;
[0047] Figure 3b This is a circuit diagram of a boost converter circuit;
[0048] Figure 4a This is a schematic diagram of the anomaly detection device provided in the third embodiment of this application;
[0049] Figure 4b yes Figure 4aA waveform diagram corresponding to the anomaly detection device;
[0050] Figure 5 This is a schematic diagram of the structure of the electromechanical equipment provided in the second embodiment of this application;
[0051] Figure 6a This is a schematic diagram of the anomaly detection device provided in the third embodiment of this application;
[0052] Figure 6b yes Figure 6a A waveform diagram corresponding to the anomaly detection device;
[0053] Figure 7a This is a schematic diagram of the anomaly detection device provided in the fourth embodiment of this application;
[0054] Figure 7b yes Figure 7a A waveform diagram corresponding to the anomaly detection device;
[0055] Figure 8a This is a schematic diagram of the anomaly detection device provided in the fifth embodiment of this application;
[0056] Figure 8b yes Figure 8a A waveform diagram corresponding to the anomaly detection device. Detailed Implementation
[0057] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0058] The terms "comprising" and "having," and any variations thereof, appearing in this application specification, claims, and drawings, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or modules is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices. Furthermore, the terms "first," "second," and "third," etc., are used to distinguish different objects and are not used to describe a specific order. Connections in this application include direct connections and indirect connections. An indirect connection refers to the presence of other electronic components, pins, etc., between the two connected components. The term "XX terminal" mentioned in this application may or may not be an actual terminal, such as simply one end of a component or one end of a wire. The term "and / or includes three cases" mentioned in this application, such as A and / or B, includes A, B, and A and B.
[0059] This application provides an electromechanical device. Figure 1 This is a circuit module diagram of the electromechanical equipment provided in the first embodiment of this application. Please refer to... Figure 1 The electromechanical equipment includes a power supply 10, a load 20, and an intelligent electronic switch.
[0060] Among them, the power source 10 is generally a battery, which is usually a storage battery. The storage battery provides voltages such as 12V, 24V, 36V, 48V, and 60V. Of course, it can also be other types of batteries or power sources, such as AC / DC (alternating current / direct current) converters, DC / DC (direct current / direct current) converters, etc.
[0061] Load 20 includes at least one of resistive, inductive, and capacitive loads. For example, in the case of an automotive electromechanical device, a resistive load might be a seat adjustment device, auxiliary heating device, window heating device, light-emitting diode (LED), rear lighting, or other resistive load. An inductive load might be a pump, actuator, motor, anti-lock braking system (ABS), electronic braking system (EBS), fan, or other system that includes an inductive load for one or more wiper systems. A capacitive load might be a lighting element, such as a xenon arc lamp. In the illustration, load 20 is shown as a single element only; load 20 is typically a more complex load, such as a module or subsystem with a large number of components.
[0062] A smart electronic switch, acting as a switching device to open and close the path between power supply 10 and load 20, is connected between the load and the power supply via wires. Typically, a smart electronic switch includes a gate driver and a power switch M0, such as... Figure 1As shown, the power switch M0 may include multiple switching transistors connected in parallel. Optionally, the gate driver may at least include a gate drive circuit for controlling the power switch M0 to turn on or off. Moreover, in practical applications, to improve the versatility of the gate driver, the power switch M0 and the gate driver can be deployed separately, for example, on different integrated circuit chips, with the gate terminal of the power switch M0 connected to the gate drive terminal of the gate driver.
[0063] Furthermore, to meet the current requirements of large loads, the gate driver can simultaneously drive multiple power switches connected in parallel. Each power switch can include multiple switching transistors connected in parallel, and each power switch is packaged as a chip. Thus, the multiple integrated circuit chips corresponding to the multiple power switches can be connected to the gate driving terminal of the gate driver through their external gate terminals. Optionally, in other applications, the multiple power switches can be packaged into a switching circuit, with the gate terminal of each power switch connected to the control terminal of the switching circuit. The control terminal of the switching circuit is connected to the gate driving terminal of the gate driver via a connecting wire. In this embodiment, when the gate driver simultaneously controls multiple power switches to turn on, the total current flowing through the load is equal to the sum of the currents flowing through each power switch.
[0064] In practical applications, intelligent electronic switches are commonly used in the automotive field. During testing of intelligent electronic switches, the inventors of this application discovered that with prolonged use, especially under high operating stress conditions, the connecting wires between the power switch M0 and the gate driver, or the gate terminals of the power switch or the gate driver, may become detached. This leads to connection abnormalities in the power switch's charging circuit (or turn-on circuit). When the connecting wire between the power switch M0 and the gate driver circuit breaks or the gate driver terminal of the gate driver circuit becomes detached, the intelligent electronic switch cannot function properly. Furthermore, when the gate terminal of the power switch connected to the gate driver becomes detached, the load-carrying capacity of the intelligent electronic switch is reduced, resulting in a performance degradation.
[0065] To address the aforementioned problems, this application provides an anomaly detection device 30 for detecting anomalies in the charging circuit of the power switch M0. (Refer to...) Figure 1 As shown, the abnormality detection device 30 is connected to the gate terminal of the power switch M0 and is used to control the power switch M0 to turn on or off, and at the same time to detect abnormalities in the charging circuit of the power switch M0.
[0066] Optional, refer to Figure 1As shown, in this embodiment, the anomaly detection device 30 may include a gate driving circuit 31, a driving voltage detection circuit 32, and an anomaly judgment circuit 33. The gate driving circuit 31 may be included within the aforementioned gate driver.
[0067] Continue to refer to Figure 1 As shown, the abnormal detection device 30 also includes a power supply terminal VCC, a power supply ground terminal GND, and a gate drive terminal GATE; wherein, the power supply terminal VCC and the power supply ground terminal GND are used to connect to the positive and negative terminals of the power supply 10 respectively, the gate drive terminal GATE is used to connect to the gate drive circuit 31 and the gate terminal of the power switch M0, and the gate drive circuit 31 is used to control the power switch M0 to turn on or off.
[0068] For example, in an embodiment of this application, the power supply terminal VCC is connected to the positive terminal of power supply 10, and the power ground terminal GND is connected to the negative terminal of power supply 10. Optionally, the power supply terminal VCC can be connected to the positive terminal of power supply 10 via fuse 50, and a reverse polarity protection diode D1 and a current limiting resistor R1 are connected in parallel between the power ground terminal GND and the negative terminal of power supply 10, as shown in the reference. Figure 1 As shown. Additionally, in other embodiments of this application, the fuse 50 may not be connected between the power supply terminal VCC and the positive terminal of power supply 10, and / or the reverse connection protection diode D4 and / or current-limiting resistor R1 may not be provided between the power supply ground terminal GND and the negative terminal of power supply 10. Moreover, in practical applications, other components may be provided between the power supply terminal VCC and the positive terminal of the power supply and / or between the power supply ground terminal GND and the negative terminal of power supply 10 as needed; this embodiment does not impose any limitations.
[0069] In this embodiment, power switch M0 is connected in series with load 20 between the positive and negative terminals of power supply 10. For example, the first terminal of power switch M0 is connected to the power supply terminal VCC or the power ground terminal GND, and its second terminal is connected to load 20. Figure 1 In this embodiment, the first terminal of power switch M0 is connected to the power supply terminal VCC. In this case, power switch M0 is connected as a high-side switch, which connects the power supply terminal VCC and the load 20. In other embodiments of this application, the first terminal of power switch M0 is connected to the power supply ground terminal GND. In this case, power switch M0 is connected as a low-side switch, which connects the load 20 and the power supply ground terminal GND. Optionally, the first terminal of power switch M0 is the drain, and its second terminal is the source. However, this application is not limited to this; in other embodiments of this application, the first terminal of power switch M0 is the drain, and its second terminal is the source.
[0070] In this embodiment, the switching transistor included in the power switch M0 can be implemented as an NMOS transistor, a PMOS transistor, a junction FET, etc. The illustration uses an NMOS transistor as an example. The switching transistor included in the power switch M0 can also be implemented as a silicon device, or it can be implemented using other semiconductor materials, such as silicon carbide (SiC), gallium arsenide (GaAs), or gallium nitride (GaN). In other embodiments, the switching transistor included in the power switch M0 can also be an LDMOS (Lateral Double Diffused Metal Oxide Semiconductor FET) or a VDMOS (Vertical Double Diffused MOSFET), etc.
[0071] In the embodiments of this application, reference continues to be made to... Figure 1 As shown, the drive voltage detection circuit 32 is connected to the power supply terminal of the gate drive circuit 31 and the anomaly judgment circuit 33. Thus, within the first preset time Tref1 during the transition of the power switch M0 from the off state to the on state, the drive voltage detection circuit 32 acquires the real-time power supply terminal voltage Vpx of the gate drive circuit 31, and the anomaly judgment circuit 33 determines whether the charging circuit of the power switch M0 is abnormally connected based on the real-time power supply terminal voltage Vpx and preset threshold information, and outputs the anomaly judgment result.
[0072] Optionally, when the power switch M0 transitions from the off state to the on state, the drive voltage detection circuit 32 can be triggered to start working. That is, the drive voltage detection circuit 32 can acquire the power supply voltage of the gate drive circuit 31 in real time and output the real-time power supply voltage Vpx. At the same time, the anomaly judgment circuit 33 is also triggered to start working. The anomaly judgment circuit 33 can compare the acquired real-time power supply voltage Vpx with the preset threshold information set internally within the first preset time period Tref1.
[0073] In embodiments of this application, the preset threshold information can be parameter information obtained by the anomaly detection device 30 once within a preset detection time period. For example, the first voltage threshold Vref1 is the power supply voltage value of the gate drive circuit 31 obtained by the anomaly detection device 30 once within a preset detection time period after power-on, and the first preset duration Tref1 is the duration information used by the anomaly detection device 30 once within the preset detection time period after power-on. In other embodiments of this application, the preset threshold information can also be the average of at least two parameter information obtained by the anomaly detection device 30 at least twice within a preset detection time period. For example, the first voltage threshold Vref1 is the average of the power supply voltage values of the gate drive circuit 31 obtained by the anomaly detection device 30 at least twice within a preset detection time period after power-on, and the first preset duration Tref1 is the average of the two duration information used by the anomaly detection device 30 at least twice within the preset detection time period after power-on. Optionally, the preset detection time period can be a preset duration, such as 10 minutes, 30 minutes, 1 hour, 2 hours, 3 hours, 4 hours, or half a day. This can be selected or set according to the duration scenario, and this application does not impose any limitations. By calculating the average value of parameter information within the preset test time period, the problem of inaccurate parameter acquisition caused by environmental interference can be effectively avoided, thus improving test accuracy.
[0074] The preset threshold information can also be configuration information received by the anomaly detection device 30 through the configuration port. That is, the preset threshold information can be configured based on actual needs. For example, the anomaly detection device 30 is connected to the processor through the configuration port, and the processor can configure the preset threshold information according to the number of power switches connected to the gate drive terminal GATE, the gate-source capacitance of the power switch M0, etc., and then transmit it to the anomaly detection device 30 through the configuration port. This application embodiment does not limit this.
[0075] In practical applications, the power switch M0 is mainly in a closed (conducting) or open (cut-off) state depending on the charging state of its internal capacitor. This internal capacitor is connected between the control terminal (gate terminal g) and the source terminal s of the power switch M0, and is usually referred to as the gate-source capacitor (i.e., the gate-source capacitance Cgs). Figure 1As shown in the diagram, the gate drive circuit 31 controls the power switch M0 to turn on, which can be interpreted as the gate drive circuit 31 charging the gate-source capacitance Cgs of the power switch M0. When the voltage across the gate-source capacitance Cgs of the power switch M0 is charged to a level greater than or equal to the turn-on threshold of the power switch M0, the power switch M0 turns on. Similarly, the gate drive circuit 31 controls the power switch M0 to turn off, which can be interpreted as the gate drive circuit 31 discharging the gate-source capacitance Cgs of the power switch M0. When the voltage across the gate-source capacitance Cgs is discharged to a level less than the turn-on threshold of the power switch M0, the power switch M0 turns off. Therefore, based on the switching principle of power switch M0 being turned on and off, when performing abnormal detection on the charging circuit of power switch M0, the abnormal judgment circuit 33 can access preset threshold information, such as a first voltage threshold Vref1. The first voltage threshold Vref1 can be determined based on the number of power switches M0 connected to the gate drive terminal GATE and the turn-on threshold of the power switches. Generally, the more power switches connected to the gate drive terminal GATE and / or the larger the turn-on threshold of the power switches, the larger the first voltage threshold Vref1 will be.
[0076] First Embodiment
[0077] For example, Figure 2 This is a schematic diagram of the anomaly detection device provided in the first embodiment of this application. Figure 3a yes Figure 2 The illustrated embodiment shows a signal waveform diagram. In this embodiment, it is assumed that the preset threshold information includes a first voltage threshold Vref1, which is related to the total gate-source capacitance of all power switches connected to the gate drive terminal GATE. For example, if there are 5 power switches connected to the gate drive terminal GATE, then the first voltage threshold Vref1 is related to the total gate-source capacitance of the 5 power switches. That is, when the power supply terminal of the gate drive circuit 31 charges the gate-source capacitance of the 5 power switches, the first voltage threshold Vref1 is related to the magnitude of the voltage drop at the power supply terminal of the gate drive circuit 31.
[0078] Optional, refer to Figure 2 As shown, within the first preset time Tref1 during the transition of power switch M0 from the off state to the on state, the anomaly detection circuit 33 can compare the real-time power supply terminal voltage Vpx with the first voltage threshold Vref1. If the anomaly detection circuit 33 detects that the real-time power supply terminal voltage Vpx drops to less than or equal to the first voltage threshold Vref1, it determines that the charging circuit connection of power switch M0 is normal; otherwise, it determines that there is an anomaly in the charging circuit of power switch M0.
[0079] For example, continue to refer to Figure 2As shown, the anomaly detection device 30 includes a boost circuit 36. At this time, the power supply voltage VP of the gate drive circuit 31 is, for example, the output voltage of the boost circuit 36. Since the output voltage variation of the boost circuit 36 is usually controlled within a preset error range, the power supply voltage of the gate drive circuit 31 also usually varies little. For example, when the power supply voltage (i.e., the output voltage of the boost circuit 36) drops by a preset error, the boost circuit 36 responds to the drop in output voltage and has a certain response time. This response time is related to the sensitivity of the boost circuit 36. After the response time, the boost circuit 36 responds quickly and replenishes the power supply voltage, so that the difference between the real-time power supply voltage Vpx of the gate drive circuit 31 and its rated power supply voltage (rated output voltage of the boost circuit 36) is controlled within the preset error range. It can be understood that in this embodiment, the response time of the boost circuit 36 is the recovery response time of the power supply voltage of the gate drive circuit 31.
[0080] For example, the boost circuit 36 can be a charge pump boost circuit (CP boost circuit), a Boost boost circuit, or a Bootstrcp boost circuit. The CP boost circuit and Bootstrcp boost circuit 36 primarily utilize large capacitors for energy storage, while the Boost boost circuit primarily utilizes inductors for energy storage. The boost circuit 36 can convert the voltage at the power supply terminal VCC into the power supply terminal voltage VP of the gate drive circuit 31 and provide it to the gate drive circuit 31. This power supply terminal voltage VP is greater than the voltage at the power supply terminal VCC.
[0081] For example, Figure 3b This is a circuit diagram of a boost circuit. Figure 3b The diagram illustrates a charge pump boost circuit. Capacitor Cfly is a transport capacitor, typically small in size, while capacitor Ctank is a storage capacitor, typically large in size. Therefore, by controlling the operating frequencies of switches S1 and S2, capacitor Cfly can transport charge to the terminals of capacitor Ctank, thereby increasing the voltage across Ctank to the target voltage. It is understood that this application does not limit the specific composition of the charge pump boost circuit; other modifications are possible depending on actual needs, and this application does not impose limitations.
[0082] In practical applications, when power switch M0 transitions from the off state to the on state, the gate-source capacitor of power switch M0 needs to be charged. Therefore, within the response time of boost circuit 36, the supply voltage VP of gate drive circuit 31 drops sharply, and the drop is greater than a preset error. Furthermore, when the power switch's on threshold is fixed, the drop in supply voltage VP is related to the number of power switches M0 connected to the gate drive terminal GATE. Therefore, in the embodiments of this application, the anomaly detection device 30 can determine whether the charging circuit of power switch M0 is abnormally connected within a first preset time Tref1 during the transition of power switch M0 from the off state to the on state by utilizing the real-time change in supply voltage Vpx of gate drive circuit 31. Here, the first preset time Tref1 is less than or equal to the recovery response time of the supply voltage of gate drive circuit 31.
[0083] For example, continue to refer to Figure 2 As shown, the anomaly detection device 30 may include a storage circuit 34 for storing preset threshold information, such as, but not limited to, a first preset duration Tref1 and a first voltage threshold Vr. For example, the storage circuit 34 may also store a second voltage threshold, K voltage thresholds, M duration thresholds, etc., as mentioned in the following embodiments.
[0084] Optional, continue to refer to Figure 2 As shown, the anomaly detection circuit 33 includes a first timer 330. When the power switch M0 transitions from the off state to the on state, the first timer 330 starts timing and outputs a first timing arrival signal DT1 when the continuous timing duration reaches a first preset duration Tref1.
[0085] For example, refer to Figure 2 As shown, the anomaly detection device 30 may include an input terminal, Input, which is connected to the drive voltage detection circuit 32, the gate drive circuit 31, and the first timer 330. When the input terminal receives a first edge signal, such as a rising edge signal, the gate drive circuit 31 controls the power switch M0 to transition from the off state to the on state. Correspondingly, the first timer 330 starts timing, and the drive voltage detection circuit 32 begins to operate. The first timer 330 continues timing until the timing duration reaches a first preset duration Tref1, and then outputs a first timing arrival signal DT1. During operation, the drive voltage detection circuit 32 acquires the real-time power supply voltage Vpx of the gate drive circuit 31 and outputs it to the anomaly judgment circuit 33. The anomaly judgment circuit 33 then determines whether the charging circuit of the power switch M0 is abnormally connected based on the received real-time power supply voltage Vpx, the first voltage threshold Vref1, and the first timing arrival signal DT1.
[0086] Continue to refer to Figure 2 As shown, the anomaly detection circuit 33 also includes a first voltage comparator VCP1 and an anomaly detection unit 331. The first input terminal of the first voltage comparator VCP1 is connected to the drive voltage detection circuit 32, its second input terminal is used to connect to the first voltage threshold Vref1, and its output terminal is connected to the anomaly detection unit 331. The anomaly detection unit 331 is also connected to the first timer 330.
[0087] In this embodiment, the first voltage comparator VCP1 is used to compare the received real-time power supply terminal voltage Vpx with the first voltage threshold Vref1. When the real-time power supply terminal voltage Vpx drops to less than or equal to the first voltage threshold Vref1, it outputs a first drop comparison signal DW1. If the anomaly judgment unit 331 receives the first drop comparison signal DW1 before receiving the first timing arrival signal DT1, it determines that the charging circuit connection of the power switch M0 is normal. If it does not receive the first drop comparison signal DW1 when receiving the first timing arrival signal DT1, it determines that the charging circuit connection of the power switch M0 is abnormal.
[0088] Optional, in Figure 2 In this example, the first input terminal of the first voltage comparator VCP1 is used as the inverting input, and the second input terminal is used as the non-inverting input. Therefore, as an example, this is combined with... Figure 3a As shown in the waveform diagram, when the gate drive circuit 31 controls the power switch M0 to transition from the off state to the on state, that is, when the Input terminal receives the rising edge signal, the first timer 330 starts timing. The gate drive circuit 31 charges the gate-source capacitance Cgs of the power switch M0 based on its power supply voltage. At this time, the real-time power supply voltage Vpx of the gate drive circuit 31 obtained by the drive voltage detection circuit 32 begins to decrease. However, the voltage at the non-inverting input of the first voltage comparator VCP1 is less than the voltage at the inverting input, and the first voltage comparator VCP1 outputs a low-level signal. As the charging current output by the gate drive circuit 31 continues to supply the gate-source capacitance Cgs, the first voltage comparator VCP1 outputs a low-level signal. As capacitor Cgs charges, the gate-source voltage Vgs of power switch M0 gradually increases, while the drop in the real-time power supply voltage Vpx of gate drive circuit 31 gradually increases. When the real-time power supply voltage Vpx obtained by drive voltage detection circuit 32 drops below the first voltage threshold Vref1, the voltage at the non-inverting input of the first voltage comparator VCP1 is greater than the voltage at the inverting input. The first drop comparison signal DW1 output by the first voltage comparator VCP1 is a high-level signal. Accordingly, the anomaly judgment unit 331 judges whether the charging circuit of power switch M0 is abnormally connected based on the order of receiving the first timing arrival signal DT1 and the high-level signal.
[0089] It is understandable that the scheme where the first input terminal of the first voltage comparator VCP1 is the non-inverting input and the second input terminal is the inverting input is similar, and will not be described in detail in this embodiment.
[0090] In the embodiments of this application, within a first preset time period during which the power switch transitions from the off state to the on state, the anomaly detection circuit determines whether there is a connection anomaly in the charging circuit of the power switch based on the power supply voltage of the gate drive circuit and preset threshold information. For example, the preset threshold information includes a first voltage threshold. The anomaly detection circuit then determines whether there is a connection anomaly in the charging circuit of the power switch based on whether the power supply voltage of the gate drive circuit drops to the first voltage threshold. For example, if the power supply voltage of the gate drive circuit drops to the first voltage threshold within the first preset time period, it is determined that the charging circuit of the power switch is connected normally. Conversely, if the power supply voltage of the gate drive circuit does not drop below the first voltage threshold within the first preset time period, it is determined that the charging circuit of the power switch is connected abnormally. This technical solution can accurately and timely detect whether there is a connection anomaly in the charging circuit of the power switch, avoiding the problem of reduced load capacity or inability to use the intelligent electronic switch due to abnormal charging circuit connection of the power switch.
[0091] Second Embodiment
[0092] In another embodiment of this application, if the first voltage threshold Vref1 is set relatively large, the anomaly judgment unit 331 can further determine whether the duration for which the real-time power supply terminal voltage Vpx is less than or equal to the first voltage threshold Vref1 meets the requirements, such as whether it is greater than or equal to the second preset duration Tref2, when it detects that the real-time power supply terminal voltage Vpx has dropped to less than or equal to the first voltage threshold Vref1. That is, the anomaly judgment circuit 33 can determine whether the control terminal of the power switch M0 is connected abnormally based on the received real-time power supply terminal voltage Vpx, the first voltage threshold Vref1, the first timing arrival signal DT1, and the second preset duration Tref2.
[0093] For example, Figure 4a This is a schematic diagram of the anomaly detection device provided in the third embodiment of this application. Figure 4b yes Figure 4aA waveform diagram corresponding to the anomaly detection device. In the embodiments of this application, the anomaly judgment circuit 33 compares the received real-time power supply terminal voltage Vpx with the first voltage threshold Vref1. If, before receiving the first timing arrival signal DT1, the real-time power supply terminal voltage Vpx is detected to be less than or equal to the first voltage threshold Vref1 and the duration of the real-time power supply terminal voltage Vpx being less than or equal to the first voltage threshold Vref1 is greater than or equal to the second preset duration Tref2, then it is determined that the charging circuit connection of the power switch M0 is normal. If, upon receiving the first timing arrival signal DT1, the real-time power supply terminal voltage Vpx is not detected to be less than the first voltage threshold Vref1 or the duration of the real-time power supply terminal voltage Vpx being less than the first voltage threshold Vref1 is less than the second preset duration Tref2, then it is determined that the charging circuit connection of the power switch M0 is abnormal, wherein the second preset duration Tref2 is less than the first preset duration Tref1.
[0094] For example, compared to Figure 2 The illustrated embodiments, such as Figure 4a As shown, the anomaly detection circuit 33 also includes a first timing unit 332, which is connected to the first voltage comparator VCP1 and the anomaly detection unit 331 respectively. The first timing unit 332 is also connected to the storage circuit 34, which is used to store the second preset duration Tref2.
[0095] The first timing unit 332 starts timing when the first voltage comparator VCP1 outputs the first falling comparison signal DW1, and stops timing when the first voltage comparator VCP1 outputs the first rising comparison signal UP1. The first timing unit 332 is also used to output the second timing arrival signal DT2 when the continuous timing duration reaches the second preset duration Tref2.
[0096] In this embodiment, when the anomaly judgment unit 331 receives the second timing arrival signal DT2 earlier than the first timing arrival signal DT1, it determines that the charging circuit connection of the power switch M0 is normal; when the second timing arrival signal DT2 is received later than the first timing arrival signal DT1, it determines that there is a connection anomaly in the charging circuit of the power switch M0.
[0097] Optional, refer to Figure 4a and Figure 4bAs shown, when the gate drive circuit 31 controls the power switch M0 to transition from the off state to the on state, that is, when the Input terminal receives a rising edge signal, the first timer 330 starts timing. The gate drive circuit 31 charges the gate-source capacitor Cgs of the power switch M0 based on its power supply voltage. At this time, the real-time power supply voltage Vpx of the gate drive circuit 31 obtained by the drive voltage detection circuit 32 begins to decrease. However, the voltage at the non-inverting input of the first voltage comparator VCP1 is less than the voltage at the inverting input, and the first voltage comparator VCP1 outputs a low-level signal. As the charging current output by the gate drive circuit 31 continues to charge the gate-source capacitor Cgs, the gate-source voltage Vgs of the power switch M0 gradually increases, while the real-time power supply voltage of the gate drive circuit 31... The rate of decrease of Vpx gradually increases. When the real-time power supply terminal voltage Vpx obtained by the drive voltage detection circuit 32 drops to less than the first voltage threshold Vref1, the voltage at the non-inverting terminal of the first voltage comparator VCP1 is greater than the voltage at the inverting terminal. The first voltage comparator VCP1 outputs a high-level signal. This high-level signal triggers the first timing unit 332 to start timing. During the period when the first voltage comparator VCP1 outputs a high-level signal, the first timing unit 332 continues timing until the first voltage comparator VCP1 outputs a low-level signal or the continuous timing duration of the first timing unit 332 reaches the second preset duration Tref2. That is, the first timing unit 332 outputs a second timing arrival signal when the continuous timing duration reaches the second preset duration Tref2.
[0098] For details not described in this embodiment, please refer to the descriptions in the above embodiments. They will not be repeated here.
[0099] In the embodiments of this application, within a first preset time period during which the switching circuit transitions from an off-state to an on-state, the anomaly detection circuit compares the power supply voltage of the gate drive circuit with a first voltage threshold. Based on whether the power supply voltage of the gate drive circuit drops to the first voltage threshold, and whether the duration of this drop is greater than or equal to a second preset time period, the circuit determines whether the charging circuit of the power switch circuit is abnormally connected. This technical solution can also accurately and promptly detect whether the charging circuit of the power switch is abnormally connected, avoiding the problem of the intelligent electronic switch, including the power switch, malfunctioning due to an abnormal charging circuit.
[0100] Optionally, in practical applications, Figure 5 This is a schematic diagram of the electromechanical equipment provided in the second embodiment of this application. This embodiment is similar to... Figure 1 The embodiments shown are similar, therefore, any parts not described in this embodiment can be referred to. Figure 1 The embodiment shown is similar to... Figure 1The main difference in the embodiment shown is that the gate drive terminal GATE of the anomaly detection device 30 is used to connect N power switches, and the anomaly judgment circuit 33 can be connected to K voltage thresholds to determine whether the charging circuit of the N power switches is abnormally connected.
[0101] like Figure 5 As shown, to improve the load-carrying capacity of the intelligent electronic switch, the gate drive terminal GATE can be connected to multiple power switches in parallel, such as M1 to MN. Therefore, the total current flowing through the load is equal to the sum of the currents flowing through all the power switches. Since multiple power switches are connected in parallel, their gate-source capacitances are also connected in parallel. When the gate drive circuit 31 controls the multiple power switches to turn on, the gate drive circuit 31 will simultaneously charge the gate-source capacitances of the multiple power switches using the power supply voltage. Furthermore, when the gate terminals and charging circuits of the power switches are all normally connected, the more power switches connected in parallel, the greater the voltage drop at the power supply terminal. Conversely, when there are power switches with abnormal charging circuit connections, the voltage drop at the power supply terminal becomes smaller compared to the case where all power switches have normal charging circuit connections. Moreover, the more power switches with abnormal charging circuit connections, the smaller the voltage drop at the power supply terminal. Based on this principle, it is possible to determine whether the charging circuits of multiple power switches are abnormally connected and the number of power switches with abnormal charging circuit connections.
[0102] Third Embodiment
[0103] For example, Figure 6a This is a schematic diagram of the anomaly detection device provided in the third embodiment of this application. Figure 6b yes Figure 6a A waveform diagram corresponding to the anomaly detection device. This embodiment is similar to the previous embodiment; therefore, parts not described in this embodiment can be referred to in the previous embodiment. In the embodiments of this application, the gate drive terminal GATE is used to connect N power switches (M1-MN) in parallel. The preset threshold information includes K voltage thresholds and a first preset duration. The magnitude of the K voltage thresholds is related to the gate-source capacitance of the power switches connected to the gate drive terminal GATE. N is a natural number greater than or equal to 2, and K is a natural number less than or equal to N.
[0104] In this embodiment, within the first preset time Tref1 during the transition of N power switches from the off state to the on state, the anomaly detection circuit 33 compares the real-time power supply terminal voltage Vpx with K voltage thresholds. Based on the comparison results of the real-time power supply terminal voltage Vpx with the K voltage thresholds (Vref1-VrefK), and the values of N and K, it determines whether the charging circuit of the N power switches is connected normally and the number of power switches with abnormal connections in the charging circuit.
[0105] Optionally, the abnormality determination circuit 33 includes a first timer 330, K voltage comparators, and an abnormality determination unit 331. The first timer 330 is connected to the abnormality determination unit 331. The first input terminals of the K voltage comparators are all connected to the driving voltage detection circuit 32, the second input terminals are used to correspondingly access K voltage thresholds, and the output terminals are connected to the abnormality determination unit 331.
[0106] In this embodiment, when the power switch M0 changes from the off state to the on state, the first timer 330 starts timing, and when the continuous timing duration reaches the first preset duration Tref1, it outputs a first timing arrival signal TD1. The K voltage comparators compare the real-time power supply terminal voltage Vpx with the K voltage thresholds and output K comparison result signals. When the abnormality determination unit 331 receives the first timing arrival signal TD1, it determines whether the charging circuit of the power switch is connected normally according to the K comparison result signals, the values of N and K, and the number of power switches with abnormal connections in the charging circuit.
[0107] Optionally, K can be set according to actual needs. For example, K can be 1 / 3, 1 / 2, 2 / 3, etc. of N, or other ratios. And the magnitude relationship of the K voltage thresholds is Vref1 < ··· < VrefK. In this way, the abnormality determination circuit 33 can determine the connection status of the charging circuit of the power switch M0 according to the relationship between the real-time power supply terminal voltage Vpx and the K voltage thresholds. For example, when the abnormality determination circuit 33 determines that the real-time power supply terminal voltage Vpx is less than Vref1, it is determined that the charging circuit of the power switch is connected normally; for example, when M = N / 3, when the abnormality determination circuit 33 determines that the real-time power supply terminal voltage Vpx is less than VrefK, it is determined that the number of power switches with abnormal connections in the charging circuit of the power switch M0 is 2N / 3. This is because the greater the amplitude of the decrease in the real-time power supply terminal voltage Vpx, the fewer the number of power switches with abnormal connections in the charging circuit, otherwise more.
[0108] Optionally, as Figure 6a and Figure 6b shown, an exemplary description is made with N = K = 3. Referring to Figure 6a shown, the first input terminals of the voltage comparators VCP1 to VCP3 are all connected to the driving voltage detection circuit 32, the second input terminals are used to correspondingly access the voltage thresholds Vref1 to Vref3, and the output terminals are connected to the abnormality determination unit 331. Combining Figure 6bThe waveform diagram shown illustrates, for example, that the first voltage threshold Vref1 is the theoretical voltage drop when all three power switches' charging circuits are connected normally, and the third voltage threshold Vref3 is the theoretical voltage drop when one of the three power switches' charging circuits is connected normally. If all three power switches' charging circuits are abnormally connected, the real-time power supply voltage Vpx will not drop below any of the voltage thresholds.
[0109] For example, refer to Figure 6a and Figure 6b As shown, within the first preset time period, if the real-time power supply terminal voltage Vpx drops below the third voltage threshold Vref3, and then drops below the second voltage threshold Vref2 and the first voltage threshold Vref1, that is, if the anomaly judgment unit 331 receives the first drop comparison signal DW1 to the third drop comparison signal DW3 before receiving the first timing arrival signal TD1, then it is determined that the charging circuit connection of the power switch is normal; if the real-time power supply terminal voltage Vpx drops to the third voltage threshold Vref3 and the second voltage threshold Vref2, but does not drop to the first voltage threshold Vref1, that is, if the anomaly judgment unit 331 receives the second drop comparison signal DW2 and the third drop comparison signal DW3 before receiving the first timing arrival signal TD1, but does not receive the first drop comparison signal DW1, then it is determined that the charging circuit connection of the power switch is abnormal. If there is one abnormal power switch connection in the power circuit; if the real-time power supply terminal voltage Vpx drops below the third voltage threshold Vref3 but does not drop to the second voltage threshold Vref2 and the first voltage threshold Vref1, that is, if the anomaly judgment unit 331 receives the third drop comparison signal DW3 before receiving the first timing arrival signal TD1, but does not receive the second drop comparison signal DW2 and the first drop comparison signal DW1, then it is determined that there are two abnormal power switch connections in the charging circuit of the power switch; if the real-time power supply terminal voltage Vpx does not drop to the third voltage threshold Vref3, that is, if the anomaly judgment unit 331 does not receive the third drop comparison signal DW3 before receiving the first timing arrival signal TD1, then it is determined that there is an abnormal power switch connection and / or there are three abnormal power switch connections in the charging circuit.
[0110] In this embodiment, within the first preset time period during which the power switch transitions from the off state to the on state, the anomaly detection circuit compares the real-time power supply voltage with K voltage thresholds. Based on the K comparison result signals and the values of N and K, it determines whether the charging circuit of the power switch is connected normally, and the number of power switches with abnormal connections in the charging circuit. This scheme can roughly determine the number of power switches with abnormal connections in the charging circuit, providing a reference for subsequent power switch control.
[0111] Fourth embodiment
[0112] Figure 7a This is a schematic diagram of the anomaly detection device provided in the fourth embodiment of this application. Figure 7b yes Figure 7a A waveform diagram corresponding to the anomaly detection device. This embodiment is similar to the fourth embodiment; therefore, parts not described in this embodiment can be referred to in the fourth embodiment. In the embodiments of this application, the anomaly judgment circuit 33 further includes K timing units. The first input terminals of the K timing units are connected to the output terminals of the K voltage comparators, their second input terminals are respectively connected to the second preset duration Tref2, and their output terminals are all connected to the anomaly judgment unit 331.
[0113] Among them, K timing units start timing when they receive a falling comparison signal, and output the kth timing arrival signal when the continuous timing duration reaches the second preset duration Tref2, or stop timing when they receive a rising comparison signal. The anomaly judgment unit 331 judges whether the charging circuit of the power switch is connected normally and the number of power switches with abnormal connection in the charging circuit according to the order of receiving the kth timing arrival signal from the K timing units and receiving the first timing arrival signal TD1 from the first timer 330 and the values of K and N. k is an integer greater than or equal to 1 and less than or equal to K.
[0114] Reference Figure 7a and Figure 7b As shown in the figure, N=K=3 is used for illustrative purposes. In this embodiment, the first timing unit 3321 is connected between the first voltage comparator VCP1 and the anomaly detection unit 331, the second timing unit 3322 is connected between the second voltage comparator VCP2 and the anomaly detection unit 331, and the third timing unit 3323 is connected between the third voltage comparator VCP3 and the anomaly detection unit 331. Each unit starts timing upon receiving a falling comparison signal and stops timing upon receiving a rising comparison signal. The anomaly detection unit 331 determines whether the charging circuit of the power switch is abnormally connected based on whether it receives the timing arrival signals (T1 to T3) output by the first timing unit 3321 to the third timing unit 3323 before receiving the first timing arrival signal.
[0115] In this embodiment, the first timing arrival signal to the third timing arrival signal (T1 to T3) refers to the timing arrival signals output by the first timing unit 3321 to the third timing unit 3323. Specifically, the first timing arrival signal T1 refers to the timing arrival signal output by the first timing unit 3321 when the timing reaches the second preset duration Tref2, while the first timing arrival signal DT1 is the timing arrival signal output by the first timer 330 when the timing reaches the first preset duration Tref1. That is, the first timing arrival signal DT1 and the first timing arrival signal T1 have different meanings.
[0116] Optionally, before the anomaly judgment unit 331 receives the first timing arrival signal DT1, the anomaly judgment unit 331 determines whether the charging circuit of the power switch is abnormally connected based on whether the k-th timing arrival signal Tk is received. If the anomaly judgment unit 331 does not receive any of the first to N-th timing arrival signals when it receives the first timing arrival signal DT1, it considers the charging circuit of the power switch to be abnormal or the gate terminals of all power switches to be abnormally connected.
[0117] For example, before the anomaly judgment unit 331 receives the first timing arrival signal DT1, if the anomaly judgment unit 331 receives the first timing arrival signal T1, it is determined that the charging circuit connection of the power switch is normal. If the anomaly judgment unit 331 receives the second timing arrival signal T2, it is determined that the number of power switches with abnormal connection in the charging circuit of the power switch is 2. If the anomaly judgment unit 331 receives the third timing arrival signal T3, it is determined that the number of power switches with abnormal connection in the charging circuit of the power switch is 1. The calculation method for other numbers is similar, and will not be described in detail in this embodiment.
[0118] In the embodiments of this application, the anomaly detection circuit, by incorporating multiple preset voltage thresholds and a second preset duration, determines the number of abnormally connected power switches in the charging circuit of the power switch when the switching circuit transitions from the off state to the on state. This is based on the correspondence between the real-time power supply voltage of the gate drive circuit and the multiple preset thresholds, as well as the duration for which the voltage drops to the corresponding preset threshold. This solution can promptly detect abnormal gate connections in the power switches, preventing a decrease in the load-carrying capacity of the intelligent electronic switch.
[0119] Fifth embodiment
[0120] Figure 8a This is a schematic diagram of the anomaly detection device provided in the fifth embodiment of this application. Figure 8b yes Figure 8a A waveform diagram corresponding to the anomaly detection device is shown. In this embodiment, the gate driver terminal GATE is used to connect N power switches in parallel. The preset threshold information includes a second voltage threshold and M duration thresholds. Both the second voltage threshold and the M duration thresholds are related to the gate-source capacitance of the power switches connected to the gate driver terminal GATE. N is a natural number greater than or equal to 2, and M is a natural number less than or equal to N. This embodiment is similar to the first and second embodiments, except that the values of the second voltage threshold and the first voltage threshold are different. Therefore, parts not described in this embodiment can be referred to in the first and second embodiments.
[0121] In this embodiment, within the first preset time Tref1 during the transition of the power switch from the off state to the on state, when the anomaly judgment circuit 33 detects that the real-time power supply terminal voltage Vpx drops to less than or equal to the second voltage threshold Vref2, it counts the duration during which the real-time power supply terminal voltage Vpx is less than or equal to the second voltage threshold Vref2 to obtain the duration of the duration. Based on the relationship between the duration and M duration thresholds, it determines whether the charging circuit of the power switch is connected normally and the number of power switches with abnormal connections in the charging circuit.
[0122] In this embodiment, the anomaly detection circuit 33 includes a first timer 330, a second voltage comparator CP2, a second timer 333, M timing comparators, and an anomaly detection unit 331. The first input terminal of the second voltage comparator CP2 is connected to the drive voltage detection circuit 32, its second input terminal is used to input a second voltage threshold Vref2, its output terminal is connected to the second timer 333, the output terminal of the second timer 333 is connected to the first input terminals of the M timing comparators, the second input terminals of the M timing comparators are connected to M duration thresholds, and its output terminal is connected to the anomaly detection unit 331. The anomaly detection unit 331 is also connected to the first timer 330.
[0123] The second voltage comparator CP2 compares the real-time power supply terminal voltage Vpx with the second voltage threshold Vref2. When the real-time power supply terminal voltage Vpx drops to less than or equal to the second voltage threshold Vref2, it outputs a second drop comparison signal DW2 to start the second timer 333. When the real-time power supply terminal voltage Vpx rises to greater than the second voltage threshold Vref2, it outputs a first rise comparison signal UP2 to stop the second timer 333 and output a second timing duration t2. M timing comparators compare the second timing duration with M duration thresholds and output M timing comparison signals. When the anomaly judgment unit 331 receives the first timing arrival signal, it determines whether there is an anomaly in the charging circuit of the power switch and the number of power switches with abnormal connections in the charging circuit based on the received M timing comparison signals and the quantities of M and N.
[0124] For example, Figure 8a and Figure 8b The example is illustrated using N=M=3. In this embodiment, the second voltage threshold Vref2 can be the voltage drop at the power supply terminal caused by the normal connection of the charging circuit of a power switch, the first duration threshold T21 is the voltage drop at the power supply terminal caused by the normal connection of the charging circuits of all three power switches, the second duration threshold T22 is the voltage drop at the power supply terminal caused by the normal connection of the charging circuits of two power switches, and the third duration threshold T23 is the voltage drop at the power supply terminal caused by the normal connection of the charging circuit of one power switch.
[0125] In this embodiment, the first input terminal of the timing comparator is used as the inverting input, and the second input terminal is used as the non-inverting input. If the duration of the second timer is greater than T21, T22, and T23 respectively, the three timing comparators output three low-level signals. In this case, the anomaly detection unit 331 considers the charging circuit of the power switch to be connected normally. If the duration of the second timer is greater than T22 and T23 but less than T21, the first timing comparator TP21 outputs a high-level signal, and the second and third timing comparators TP22 and TP23 output low-level signals. In this case, the anomaly detection unit 331 considers the number of abnormally connected power switches in the charging circuit of the power switch to be 1. Similarly, if the duration of the second timer is greater than T23 but less than T22 and T21, the first and second timing comparators TP21 and TP22 output high-level signals, and the third timing comparator TP23 outputs a low-level signal. In this case, the anomaly detection unit 331 considers the number of abnormally connected power switches in the charging circuit of the power switch to be 2.
[0126] In the embodiments of this application, by presetting a second voltage threshold and M duration thresholds, if the real-time power supply voltage of the gate drive circuit drops below the second voltage threshold within a first preset time period during which the switching circuit transitions from the off state to the on state, the number of abnormally connected power switches in the charging circuit of the power switch can be determined based on the relationship between the duration of the real-time power supply voltage dropping to the second voltage threshold and the M duration thresholds. This scheme can detect the number of abnormally connected power switches and issue timely reminders, thus preventing a decrease in the load-carrying capacity of the intelligent electronic switch.
[0127] Optionally, in the anomaly detection device 30 provided in the above embodiment, the anomaly detection device 30 includes a gate driver and a processor.
[0128] As an example, the gate driving circuit 31, the driving voltage detection circuit 32, and the anomaly judgment circuit 33 are all included in the gate driver. The anomaly judgment circuit 33 outputs the anomaly judgment result to the processor, so that the processor controls the switching state of the power switch M0 via the gate driving circuit 31. That is, in this example, the gate driver performs the detection of the change in the power supply voltage of the gate driving circuit 31, judges whether the control terminal of the power switch M0 is abnormal, and then feeds back the anomaly judgment result to the processor, which then controls the switching of the power switch M0.
[0129] Optionally, the gate driver can also feed back its status and related parameter information to the processor, such as diagnostic parameters, current parameters, voltage parameters, etc., for the processor to process. The processor includes one or more microprocessors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or any other equivalent integrated or discrete logic circuits, and any combination of these components.
[0130] As another example, the gate driving circuit 31 and the driving voltage detection circuit 32 are included in the gate driver, and the anomaly judgment circuit 33 is included in the processor. The processor controls the switching state of the power switch M0 via the gate driving circuit 31 based on the anomaly judgment result of the anomaly judgment circuit 33. In this example, the gate driver performs the change detection of the power supply terminal voltage of the gate driving circuit 31, the processor judges whether the control terminal of the power switch M0 is abnormal, and then controls the switching of the power switch M0 based on the anomaly judgment result.
[0131] It is understood that other parts not detailed in the above embodiments can be found in other embodiments of this application, and will not be repeated here.
[0132] Optionally, based on the above embodiments, this application also provides an integrated circuit chip, which includes an anomaly detection device 30 for the power switching charging circuit provided in the above embodiments, i.e., the anomaly detection device 30 is fabricated on a semiconductor substrate. Wherein, the power supply terminal VCC is a power supply pin, the power ground terminal GND is a power ground pin, and the gate drive terminal GATE is a gate drive pin.
[0133] As another example, this application also provides an integrated circuit chip, which includes an anomaly detection device 30 for the power switch charging circuit provided in the above embodiments and a power switch, that is, the anomaly detection device 30 and the power switch are fabricated on the same semiconductor substrate. The power supply terminal VCC is a power supply pin, the power ground terminal GND is a power ground pin, and the gate drive terminal GATE is a gate drive pin.
[0134] Optionally, based on the above embodiments, this application provides a chip product including an anomaly detection device 30 for the power switching charging circuit described in the above embodiments. The gate drive circuit 31 and drive voltage detection circuit 32 in the anomaly detection device 30 are located on a first integrated circuit chip, and the anomaly judgment circuit 33 is located on a second integrated circuit chip. That is, the first integrated circuit chip is fabricated on one semiconductor substrate, and the second integrated circuit chip is fabricated on another semiconductor substrate. Additional pins can be added to the first and second integrated circuit chips as needed. Here, the first and second integrated circuit chips are packaged into a single product.
[0135] Optionally, another embodiment of this application also provides a chip product, including the integrated circuit chip as described above or the chip product as described above; the chip product further includes a power switch, which is located on the third integrated circuit chip. That is, in this embodiment, the third integrated circuit chip containing the power switch is fabricated on a separate semiconductor substrate, and can be packaged with the aforementioned integrated circuit chip to form a chip product, or the third integrated circuit chip and the aforementioned chip product can be packaged together to form a new chip product.
[0136] This application also provides a chip product, including the integrated circuit chip as described above or the chip product as described above; the chip product further includes multiple power switches, which are respectively located on multiple integrated circuit chips and packaged into a chip product for connection with external devices. That is, in this embodiment, the chip product including power switches can also be packaged with the integrated circuit chip as described above to form a new chip product, or the chip product including power switches can also be packaged with the chip product as described above to form a new chip product. This application embodiment does not limit it.
[0137] This application also provides an electromechanical device that may include the anomaly detection device 30 described in various embodiments. Furthermore, the electromechanical device may also include a power supply, a power switch M0, and a load; wherein the positive terminal of the power supply is connected to the power supply terminal, the negative terminal of the power supply is connected to the power supply ground terminal, one end of the power switch M0 is connected to the load, the other end of the power switch M0 is connected to the power supply terminal or the power supply ground terminal, and the gate terminal of the power switch M0 is connected to the gate drive terminal of the anomaly detection device 30. The anomaly detection device 30 is used to control the power switch to turn on or off, and also to detect whether the charging circuit of the power switch is abnormally connected.
[0138] Optionally, the electromechanical equipment can be an automobile, which can be an electric vehicle, such as an electric passenger car or an electric commercial vehicle, or a hybrid vehicle or a gasoline vehicle. The electromechanical equipment can also be a consumer product such as a mobile phone, headphones, or electronic cigarette.
[0139] It is understood that the anomaly detection device provided in this embodiment can be applied to multiple fields, such as automotive electronics, industrial automation, aerospace, consumer electronics, etc. This embodiment does not limit it.
[0140] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0141] It should be understood that "a plurality of" as used herein refers to two or more. Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0142] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus embodiments, since they are basically similar to the method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
[0143] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.
Claims
1. An anomaly detection device for a power switch charging circuit, characterized in that, The anomaly detection device includes a power supply terminal, a power ground terminal, a gate drive circuit, and a gate drive terminal. The power supply terminal and the power ground terminal are used to connect to the positive and negative terminals of the power supply, respectively. The gate driving terminal is used to connect to the gate driving circuit and the gate terminal of the power switch. The gate driving circuit is used to control the power switch to turn on or off. It also includes a drive voltage detection circuit and an anomaly judgment circuit. The drive voltage detection circuit is connected to the power supply terminal of the gate drive circuit and the anomaly judgment circuit. During the first preset time period when the power switch changes from the off state to the on state, the drive voltage detection circuit obtains the real-time power supply terminal voltage of the gate drive circuit. The anomaly judgment circuit determines whether the charging circuit of the power switch is abnormally connected based on the real-time power supply terminal voltage and preset threshold information and outputs the anomaly judgment result.
2. The anomaly detection device according to claim 1, characterized in that, The preset threshold information includes a first voltage threshold, which is related to the total gate-source capacitance of all power switches connected to the gate drive terminal. If the anomaly detection circuit detects that the real-time power supply voltage drops to less than or equal to the first voltage threshold within a first preset time period during which the power switch transitions from the off state to the on state, it determines that the charging circuit of the power switch is connected normally; otherwise, it determines that there is an anomaly in the charging circuit of the power switch.
3. The anomaly detection device according to claim 2, characterized in that, The anomaly detection circuit includes a first timer, a first voltage comparator, and an anomaly detection unit. The first timer is connected to the anomaly detection unit. The first input terminal of the first voltage comparator is connected to the drive voltage detection circuit, its second input terminal is used to connect to a first voltage threshold, and its output terminal is connected to the anomaly detection unit. The first timer starts timing when the power switch transitions from the off state to the on state, and outputs a first timing arrival signal when the continuous timing duration reaches a first preset duration. The first voltage comparator compares the real-time power supply terminal voltage with the first voltage threshold. If the real-time power supply terminal voltage is less than or equal to the preset voltage threshold, it outputs a first falling comparison signal. If the anomaly judgment unit receives the first falling comparison signal before receiving the first timing arrival signal, it determines that the charging circuit connection of the power switch is normal. If it does not receive the first falling comparison signal when receiving the first timing arrival signal, it determines that the charging circuit connection of the power switch is abnormal.
4. The anomaly detection device according to claim 1, characterized in that, The gate driving terminal is used to connect N power switches in parallel. The preset threshold information includes K voltage thresholds and a first preset duration. The magnitude of the K voltage thresholds is related to the gate-source capacitance of the power switches connected to the gate driving terminal. N is a natural number greater than or equal to 2, and K is a natural number less than or equal to N. Within a first preset time period during which N power switches transition from the off state to the on state, the anomaly detection circuit compares the real-time power supply terminal voltage with K voltage thresholds, and determines whether the charging circuit of the power switch is connected normally and the number of power switches with abnormal connections in the charging circuit based on the comparison results of the real-time power supply terminal voltage with the K voltage thresholds and the values of N and K.
5. The anomaly detection device according to claim 4, characterized in that, The anomaly detection circuit includes a first timer, K voltage comparators, and an anomaly detection unit. The first timer is connected to the anomaly detection unit. The first input terminals of the K voltage comparators are all connected to the drive voltage detection circuit, and their second input terminals are used to connect to K voltage thresholds. Their output terminals are connected to the anomaly detection unit. The first timer starts timing when the power switch transitions from the off state to the on state, and outputs a first timing arrival signal when the continuous timing duration reaches a first preset duration. K voltage comparators compare the real-time power supply terminal voltage with K voltage thresholds and output K comparison result signals. When the anomaly judgment unit receives the first timing arrival signal, it determines whether the charging circuit of the power switch is connected normally and the number of power switches with abnormal connections in the charging circuit based on the K comparison result signals, the values of N and K.
6. The anomaly detection device according to claim 5, characterized in that, The anomaly detection circuit also includes K timing units. The first input terminal of each of the K timing units is connected to the output terminal of each of the K voltage comparators, the second input terminal of each timing unit is connected to a second preset duration, and the output terminal of each timing unit is connected to the anomaly detection unit. K timing units start timing when they receive a falling comparison signal, and output a second timing arrival signal when the continuous timing duration reaches a second preset duration, or stop timing when they receive a rising comparison signal; The anomaly detection unit determines whether the charging circuit of the power switch is connected normally, and the number of power switches with abnormal connections in the charging circuit, based on the order in which the second timing arrival signal is received from the K timing units and the first timing arrival signal is received from the first timer, and the values of K and N.
7. The anomaly detection device according to claim 1, characterized in that, The gate driving terminal is used to connect N power switches in parallel. The preset threshold information includes a second voltage threshold and M duration thresholds. The second voltage threshold and the M duration thresholds are both related to the gate-source capacitance of the power switches connected to the gate driving terminal. N is a natural number greater than or equal to 2, and M is a natural number less than or equal to N. Within the first preset time period during which the power switch transitions from the off state to the on state, when the anomaly detection circuit detects that the real-time power supply terminal voltage drops to less than or equal to the second voltage threshold, it times the duration during which the real-time power supply terminal voltage is less than or equal to the second voltage threshold to obtain a continuous timing duration. Based on the relationship between the continuous timing duration and M time thresholds, it determines whether the charging circuit of the power switch is connected normally and the number of power switches with abnormal connections in the charging circuit.
8. The anomaly detection device according to claim 7, characterized in that, The anomaly detection circuit includes a first timer, a second voltage comparator, M timing comparators, and an anomaly detection unit. The first input terminal of the second voltage comparator is connected to the drive voltage detection circuit, its second input terminal is used to input a second voltage threshold, and its output terminal is connected to the second timer. The output terminal of the second timer is connected to the first input terminal of the M timing comparators, the second input terminals of the M timing comparators are connected to M duration thresholds, and their output terminals are connected to the anomaly detection unit. The anomaly detection unit is also connected to the first timer. The second voltage comparator compares the real-time power supply terminal voltage with a second voltage threshold. When the real-time power supply terminal voltage drops to less than or equal to the second voltage threshold, it outputs a second drop comparison signal to start the second timer. When the real-time power supply terminal voltage rises to greater than the second voltage threshold, it outputs a first rise comparison signal to stop the second timing unit and output a second timing duration. M timing comparators compare the second timing duration with M duration thresholds and output M timing comparison signals. When the anomaly judgment unit receives the first timing arrival signal, it determines whether there is an anomaly in the charging circuit of the power switch and the number of power switches with abnormal connections in the charging circuit based on the received M timing comparison signals, the number of M and N.
9. The anomaly detection device according to any one of claims 1 to 8, characterized in that, The preset threshold information is parameter information obtained by the anomaly detection device in a single detection within a preset detection time period, or... The preset threshold information is the average of at least two parameter information obtained by the anomaly detection device at least twice within a preset detection time period; or, The preset threshold information is configuration information received by the anomaly detection device through the configuration port.
10. An integrated circuit chip, characterized in that, The device includes an abnormality detection device for a power switch charging circuit as described in any one of claims 1 to 9, wherein the power supply terminal is a power supply pin, the power ground terminal is a power ground pin, and the gate drive terminal is a gate drive pin.
11. An integrated circuit chip, characterized in that, The device includes an abnormality detection device and a power switch for a power switch charging circuit as described in any one of claims 1 to 9, wherein the power supply terminal is a power supply pin, the power ground terminal is a power ground pin, and the gate drive terminal is a gate drive pin.
12. A chip product, characterized in that, The device includes an anomaly detection device for a power switch charging circuit as described in any one of claims 1 to 9, wherein the gate drive circuit and the drive voltage detection circuit are located on a first integrated circuit chip, and the anomaly judgment circuit is located on a second integrated circuit chip.
13. A chip product, characterized in that, include: The integrated circuit chip as described in claim 10 or the chip product as described in claim 12; A power switch, which is located on a third integrated circuit chip.
14. A chip product, characterized in that, include: The integrated circuit chip as described in claim 10 or the chip product as described in claim 12; Multiple power switches, each located on a multiple integrated circuit chip.
15. An electromechanical device, characterized in that, Includes an anomaly detection device for a power switch charging circuit as described in any one of claims 1 to 9; It also includes a power supply, a power switch, and a load; wherein, the positive terminal of the power supply is connected to the power supply terminal, the negative terminal of the power supply is connected to the power supply ground terminal, one end of the power switch is connected to the load, the other end of the power switch is connected to the power supply terminal or the power supply ground terminal, and its gate terminal is connected to the gate drive terminal of the abnormality detection device, the abnormality detection device is used to detect whether the charging circuit of the power switch is abnormally connected.