Power switch control circuit for compensating current threshold, chip, automobile and method

By introducing a threshold compensation calculation module into the power switch control circuit, voltage spikes are detected and current thresholds are compensated, thus solving the problem of false triggering of overcurrent protection by voltage spikes and improving the reliability and safety of the system.

CN121283384APending Publication Date: 2026-01-06SHENZHEN WINSEMI MICROELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510521161.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-23
Publication Date
2026-01-06

AI Technical Summary

Technical Problem

Existing intelligent electronic switches are susceptible to overcurrent protection being falsely triggered by voltage spikes, leading to false shutdown or false current limiting, which affects the normal operation of the load and personal safety.

Method used

A threshold compensation calculation module is introduced into the power switch control circuit. By detecting voltage spike information, the current threshold is compensated, and a compensation threshold signal is generated to improve the overcurrent protection performance.

Benefits of technology

This effectively avoids false triggering of overcurrent protection caused by voltage spikes, ensuring normal operation of the load and improving the reliability and safety of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121283384A_ABST
    Figure CN121283384A_ABST
Patent Text Reader

Abstract

The invention provides a power switch control circuit for compensating a current threshold, which comprises a power switch and a switch control module, and is characterized in that the power switch is used for being connected with a load in series; the threshold value compensation operation module is used for receiving the information of the voltage peak on the main wire harness, the threshold value compensation operation module further receives a preset current threshold value, and the threshold value compensation operation module compensates the current threshold value based on the information of the voltage peak to obtain a compensation threshold value signal; the first input end of the overcurrent protection module is used for accessing a detection current signal, the second input end of the overcurrent protection module is connected with the threshold compensation operation module to access a compensation threshold signal, the output end of the overcurrent protection module is connected with the switch control module, and when a signal of the first input end of the overcurrent protection module and a signal of the second input end of the overcurrent protection module meet a preset condition, an overcurrent signal is output; and the switch control module carries out overcurrent protection on the power switch. The embodiment of the invention further provides a chip, an automobile and a method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power semiconductor switches, and more particularly to a power switch control circuit, chip, automobile, and method for compensating for current threshold. Background Technology

[0002] In recent years, with the robust growth of the automotive market, especially the explosive growth of the electric vehicle market, such as the electric passenger vehicle market and the electric commercial vehicle market, the demand for automotive electronic components has been increasing. Relays and fuses are among the most frequently used electronic components in automobiles, used to connect or disconnect a load circuit. However, relays and fuses themselves have some drawbacks. For example, relays have long opening and closing delays, are expensive, and are relatively large; while fuses are single-use, have slow response times, and are also relatively large.

[0003] With the development of semiconductor technology, power switch control circuits, such as intelligent electronic switches, have been successfully developed to replace traditional relays and fuses. Typical intelligent electronic switches are used to couple loads to power supplies and have one or more protection features, such as protection against overcurrent events. For example, intelligent electronic switches include a power switch that trips in the event of a short circuit, disconnecting the power supply from the load. Some intelligent electronic switches also incorporate IT and I... 2 The T function can be used as a fuse. This type of smart electronic switch is generally called an electronic fuse. Electronic fuses have advantages such as reusability, fast response, and small size.

[0004] Existing smart electronic switches have one end connected to the positive terminal of the power supply via the main wiring harness, or the other end connected to the positive terminal of the power supply via the load and the main wiring harness. Correspondingly, the other end is connected to the negative terminal of the power supply via the load, or the other end is connected to the negative terminal of the power supply. The main wiring harness is very long, for example, 0.5 meters or longer, and there will be parasitic inductance on the main wiring harness. When the current in the main wiring harness suddenly decreases for some reason (for example, there are multiple parallel branches between the main wiring harness and the negative terminal of the power supply, and one or more branches suddenly disconnect, while at least one branch is still conducting), or due to signal interference, a voltage spike may appear at the end of the main wiring harness away from the positive terminal of the power supply. This voltage spike will not cause any damage to the smart electronic switch, nor is it a real load short circuit, nor does it pose any threat to the load. The smart electronic switch would normally not need to handle it. However, due to the overcurrent protection function, this voltage spike may cause the conducting smart electronic switch to be falsely triggered by the overcurrent protection, resulting in false shutdown or false current limiting, causing adverse effects and even affecting personal safety. Summary of the Invention

[0005] The technical problem to be solved by the embodiments of this application is to provide a power switch control circuit, chip, automobile, and method with a compensated current threshold, addressing the shortcomings of the prior art. This can improve the overcurrent protection performance of the power switch control circuit and enhance its reliability.

[0006] To address the aforementioned technical problems, a first aspect of this application provides a power switch control circuit with a compensated current threshold, comprising:

[0007] A power switch and a switch control module are provided. The first end of the power switch is connected to the positive terminal of the power supply via the main wiring harness, and the second end is connected to the negative terminal of the power supply. Its control terminal is connected to the switch control module. The switch control module is used to control the power switch to turn on or off. The power switch is used to be connected in series with the load.

[0008] A threshold compensation calculation module is used to receive information about voltage spikes on the main line harness. The threshold compensation calculation module also receives a preset current threshold. The threshold compensation calculation module compensates the current threshold based on the information about the voltage spikes to obtain a compensation threshold signal, wherein the compensation threshold signal is greater than or equal to the current threshold.

[0009] The overcurrent protection module has a first input terminal for receiving a detection current signal, a second input terminal connected to a threshold compensation calculation module for receiving a compensation threshold signal, and an output terminal connected to a switch control module. When the signal at the first input terminal of the overcurrent protection module and the signal at its second input terminal meet a preset condition, an overcurrent signal is output. The switch control module then provides overcurrent protection for the power switch. The detection current signal is used to characterize the current flowing through the power switch.

[0010] Optionally, the power switch control circuit further includes a voltage spike detection unit, which is connected to the threshold compensation calculation module. The voltage spike detection unit is used to detect the voltage spike information of the main harness and output the corresponding spike detection signal to the threshold compensation calculation module.

[0011] Optionally, the spike detection signal is used to characterize the magnitude of the voltage spike.

[0012] Optionally, the threshold compensation calculation module includes a threshold compensation calculation unit and an arithmetic unit, wherein the threshold compensation calculation unit is connected to the voltage spike detection unit to receive spike detection signals, the arithmetic unit is connected to the threshold compensation calculation unit, and the arithmetic unit also receives a current threshold.

[0013] The threshold compensation calculation unit calculates the compensation value based on the spike detection signal, and the operation unit obtains the compensation threshold signal based on the current threshold and the compensation value.

[0014] Optionally, the compensation value includes information about the corresponding load.

[0015] Optionally, the threshold compensation calculation unit includes a load voltage acquisition unit, a load current acquisition unit, and a compensation value calculation unit. The load voltage acquisition unit is used to acquire the load voltage, the load current acquisition unit is used to acquire the load current corresponding to the load voltage, and the compensation value calculation unit receives the load voltage, the load current, and the spike detection signal to calculate the compensation value.

[0016] Optionally, the compensation value calculation unit multiplies the spike detection signal by the load current and removes the load voltage to obtain the compensation value.

[0017] Optionally, the threshold compensation calculation module obtains the voltage spike information from the switch control module; or,

[0018] The threshold compensation calculation module obtains information about the voltage spike from the processor, wherein the processor is connected to the power switch control circuit; or,

[0019] The power switch control circuit forms multiple intelligent electronic switches, each intelligent electronic switch including one or more power switches, and the intelligent electronic switches are connected to each other. Each intelligent electronic switch obtains information about the voltage spike from other intelligent electronic switches.

[0020] Optionally, the power switch control circuit includes multiple power switches, each power switch is connected in series with a corresponding load, and the control terminals of the multiple power switches are all connected to the switch control module. When at least one power switch changes from being turned on to being turned off, the threshold compensation calculation module compensates for the current threshold.

[0021] The voltage spike information comes from the voltage spike detection unit, and the switch control module controls whether the voltage spike detection unit is activated; or...

[0022] The switch control module controls whether the threshold compensation calculation unit of the threshold compensation calculation module is activated; or,

[0023] The voltage spike information originates from the voltage spike detection unit. The switch control module is connected to the processor. The switch control module receives signals from the processor to control the corresponding power switch to turn on or off. The processor controls whether the voltage spike detection unit is activated; or...

[0024] The switch control module includes multiple switch control units, the number of which is less than or equal to the number of power switches. Each switch control unit controls the corresponding power switch to turn on or off. All switch control units communicate with each other, and each switch control unit controls whether the threshold compensation calculation unit of the corresponding threshold compensation calculation module is activated.

[0025] Optionally, the preset condition includes that the signal at the first input terminal of the overcurrent protection module is greater than or equal to the signal at its second input terminal.

[0026] A second aspect of this application provides an integrated circuit chip including the power switch control circuit described above.

[0027] A third aspect of this application provides a chip product including the power switch control circuit described above, wherein the chip product includes at least two chips, and the power switch control circuit is located on at least two of the chips.

[0028] The fourth aspect of this application provides an automobile, including the power switch control circuit described above, or the integrated circuit chip described above, or the chip product described above.

[0029] It also includes a power supply, a load, and a processor, wherein the positive terminal of the power supply is connected to the first terminal of the power switch via a main wiring harness, the negative terminal of the power supply is connected to the second terminal of the power switch, the load is connected in series with the power switch, and the processor is connected to the switch control module of the power switch control circuit.

[0030] The fifth aspect of this application provides a control method for a power switch control circuit, including:

[0031] The power switch is controlled to be turned on, wherein the first end of the power switch is connected to the positive terminal of the power supply via the main wiring harness, the second end of the power switch is connected to the negative terminal of the power supply, and the control terminal is connected to the switch control module. The switch control module is used to control the power switch to be turned on or off. The power switch is used to be connected in series with the load.

[0032] Receive information about voltage spikes on the main harness;

[0033] The current threshold is compensated based on the information of the voltage spike to obtain a compensation threshold signal, wherein the current threshold is preset and the compensation threshold signal is greater than or equal to the current threshold;

[0034] The overcurrent protection module is used to determine whether the signals at its first input terminal and its second input terminal meet preset conditions. The first input terminal of the overcurrent protection module is used to connect to the detection current signal, the second input terminal is used to connect to the compensation threshold signal, and the output terminal is connected to the switch control module. The detection current signal is used to characterize the current flowing through the power switch.

[0035] If the judgment result is yes, the overcurrent protection module outputs an overcurrent signal.

[0036] This embodiment adds a threshold compensation calculation module. This module receives information about voltage spikes on the main wiring harness and compensates the current threshold based on this information to obtain a compensation threshold signal. The compensation threshold signal is then output to the overcurrent protection module and is greater than or equal to the corresponding current threshold. With this configuration, when a brief voltage spike occurs on the main wiring harness for various reasons, the current threshold is compensated by the threshold compensation module. This mitigates the problem of false overcurrent protection triggering and prevents adverse effects, such as false shutdown or false current limiting, thus promoting normal load operation, improving personal safety, and enhancing reliability. Attached Figure Description

[0037] 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.

[0038] Figure 1a This is a partial circuit module diagram of a vehicle according to this application;

[0039] Figure 1b This is another circuit module diagram of the vehicle described in this application;

[0040] Figure 2a It corresponds Figure 1a A circuit module diagram showing the power switch control circuit connected to the main wiring harness and the load;

[0041] Figure 2b It corresponds Figure 1b Another circuit module diagram showing the power switch control circuit connected to the main wiring harness and load;

[0042] Figure 3 This is a detailed circuit block diagram showing the power switch control circuit of the first embodiment of this application connected to the main wiring harness and the load;

[0043] Figure 4This is a detailed circuit diagram of the power switch control circuit according to the first embodiment of this application;

[0044] Figure 5a This is a detailed circuit diagram of the k-th threshold compensation calculation unit and the voltage spike detection unit in the first embodiment of this application;

[0045] Figure 5b yes Figure 5a Detailed circuit diagram of the k-th normalization processing unit;

[0046] Figure 6 This is a partial detailed circuit block diagram of a power switch control circuit according to another embodiment of this application;

[0047] Figure 7 This is a partial detailed circuit block diagram of a power switch control circuit according to another embodiment of the present application;

[0048] Figure 8 This is a partial detailed circuit block diagram of a power switch control circuit according to another embodiment of this application;

[0049] Figure 9 This is a detailed circuit block diagram showing the power switch control circuit of the second embodiment of this application connected to the main wiring harness and the load;

[0050] Figures 10a-10c This is a detailed circuit block diagram showing the connection between the power switch control circuit and the main wiring harness and the load in some other embodiments of this application;

[0051] Figure 11 This is a detailed circuit block diagram showing the power switch control circuit connected to the main wiring harness and load according to another embodiment of this application;

[0052] Figure 12 This is a detailed circuit block diagram showing the power switch control circuit connected to the main wiring harness and load according to another embodiment of this application;

[0053] Figure 13 This is a flowchart of the control method for the power switch control circuit of this application. Detailed Implementation

[0054] 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.

[0055] 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.

[0056] First Embodiment

[0057] This application provides an embodiment of a vehicle; please refer to [link / reference]. Figure 1aThe vehicle includes a power supply 110, a load 130, a processor 120, and a power switch control circuit 200. The power supply 110 is typically a battery, usually a rechargeable battery, providing voltages such as 12V, 24V, 36V, 48V, and 60V. Other types of batteries or power sources can also be used, such as AC / DC converters or DC / DC converters. The load 130 includes at least one of resistive, inductive, and capacitive loads. Resistive loads include, for example, seat adjustment devices, auxiliary heating devices, window heating devices, light-emitting diodes (LEDs), rear lighting, or other resistive loads. Inductive loads include, for example, pumps, actuators, motors, anti-lock braking systems (ABS), electronic braking systems (EBS), fans, or other systems that include inductive loads for one or more wiper systems. Capacitive loads include, for example, lighting elements such as xenon arc lamps. In the illustration, each load 130 is represented by a single element for illustrative purposes only; loads 130 are typically more complex loads, such as modules or subsystems with numerous components. The processor 120 is connected to the power switch control circuit 200 and is used to control the power switch control circuit 200, for example, through terminals INPUT1, INPUT2, ..., INPUTn. Simultaneously, the power switch control circuit 200 feeds back its status and related parameter information to the processor 120, such as sending diagnostic parameters, current parameters, and voltage parameters through terminal IS, for processing by the processor 120. The processor 120 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.

[0058] In this embodiment, the power switch control circuit 200 includes a power supply terminal VCC, a power ground terminal GND, and a load output terminal. The power supply terminal VCC is directly or indirectly connected to the positive terminal of the power supply 110 via the main wiring harness. The power ground terminal GND is indirectly or directly connected to the negative terminal of the power supply 110. In this embodiment, 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 the power supply 110. The load output terminal is connected to one end of the load 130, and the other end of the load 130 is connected to either the negative or positive terminal of the power supply 110. Alternatively, in other embodiments of this application, the reverse polarity protection diode D1 and / or the current-limiting resistor R1 may not be provided between the power ground terminal GND and the negative terminal of the power supply 110.

[0059] In this embodiment, please refer to [reference needed]. Figure 1a and Figure 2aThe power switch control circuit 200 also includes a power switch and a switch control module 220. The number of power switches can be multiple, such as 2, 3, 4, 5, 6, etc. The illustration uses n power switches as an example, where n is an integer greater than 1. The n power switches are connected in parallel and, from left to right, are named the first power switch M1, the second power switch M2, the third power switch M3, ..., the nth power switch Mn. Correspondingly, the number of load output terminals is also n, namely the first load output terminal OUT1, the second load output terminal OUT2, the third load output terminal OUT3, ..., the nth load output terminal OUTn. The number of loads 130 is equal to the number of power switches, also n, namely the first load 131, the second load 132, ..., the nth load 13n. However, this application is not limited to this. In other embodiments of this application, the number of power switches can also be one, and the corresponding number of load output terminals is also one, in which case the number of loads 130 is also one.

[0060] In this embodiment, the first terminal of the first power switch M1 is connected to the power supply terminal VCC, and its second terminal is connected in series with the first load 131 via the first load output terminal OUT1. Its gate is connected to the switch control module 220, and the first load 131 and the first power switch M1 form a first series branch. The first terminal of the second power switch M2 is connected to the power supply terminal VCC, and its second terminal is connected in series with the second load 132 via the second load output terminal OUT2. Its gate is connected to the switch control module 220, and the second load 132 and the second power switch M2 form a second series branch. ... The first terminal of the nth power switch Mn is connected to the power supply terminal VCC, and its second terminal is connected in series with the nth load 13n via the nth load output terminal OUTn. Its gate is connected to the switch control module 220, and the nth load 13n and the nth power switch Mn form an nth series branch. The switch control module 220 is used to control whether the first power switch M1 to the nth power switch Mn are turned on and on. In this embodiment, the first terminal of the power switch is the drain, and the second terminal is the source. However, this application is not limited to this; in other embodiments of this application, the first terminal of the power switch is the source, and the second terminal is the drain. In this embodiment, the power switch is an NMOS transistor, a PMOS transistor, a junction FET, etc. The figure uses an NMOS transistor as an example for illustration. The power switch can 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). The power switch can also be an LDMOS (Lateral Double Diffused Metal Oxide Semiconductor FET) or a VDMOS (Vertical Double Diffused MOSFET), etc.

[0061] exist Figure 1a and Figure 2a In this configuration, the first power switch M1 through the nth power switch Mn are connected as high-side switches. These switches connect the power supply terminal VCC to the load 130. One end of the power switch is connected to the corresponding load output terminal, and the other end is connected to the power supply terminal VCC. However, this application is not limited to this; please refer to other embodiments of this application. Figure 1b and Figure 2b The first power switch M1 to the nth power switch Mn are connected as low-side switches. This is a switch connected between the corresponding load 130 and the power supply ground terminal GND. At this time, one end of the power switch is connected to the power supply ground terminal GND, and the other end of the power switch is connected to the corresponding load output terminal.

[0062] Please continue to refer to the above. Figure 1a , Figure 2a , Figure 3 and Figure 4In this embodiment, the power switch control circuit 200 has an overcurrent protection function. Specifically, the power switch control circuit 200 includes an overcurrent protection module 210, which is used to protect each power switch. In this embodiment, the overcurrent protection module 210 includes multiple overcurrent protection units, the number of which is equal to the number of power switches, corresponding to n units. The n overcurrent protection units are the first overcurrent protection unit 211, the second overcurrent protection unit 212, the third overcurrent protection unit 213, ..., the nth overcurrent protection unit 21n. The first overcurrent protection unit 211 protects the first power switch M1, the second overcurrent protection unit 212 protects the second power switch M2, the third overcurrent protection unit 213 protects the third power switch M3, ..., the nth overcurrent protection unit 21n protects the nth power switch Mn. In this embodiment, the first input terminal of the first overcurrent protection unit 211 is used to connect to a first detection current signal I1, which represents the current flowing through the first power switch M1. The ratio of the current flowing through the first power switch M1 to the first detection current signal I1 is a first current sampling ratio. The second input terminal of the first overcurrent protection unit 211 is used to connect to a preset first current threshold Iy1. The output terminal of the first overcurrent protection unit 211 is connected to the switch control module 220. The first input terminal of the second overcurrent protection unit 212 is used to connect to a second detection current signal I2, which represents the current flowing through the second power switch M2. The ratio of the current flowing through the second power switch M1 to the first detection current signal I1 is a first current sampling ratio. The ratio of the current signal I2 is the second current sampling ratio. The second input terminal of the second overcurrent protection unit 212 is used to connect to the preset second current threshold Iy2. The output terminal of the second overcurrent protection unit 212 is connected to the switch control module 220; ...; The first input terminal of the nth overcurrent protection unit 21n is used to connect to the nth detected current signal In. The nth detected current signal In is used to characterize the current flowing through the nth power switch Mn. The ratio of the current flowing through the nth power switch Mn to the nth detected current signal In is the nth current sampling ratio. The second input terminal of the nth overcurrent protection unit 21n is used to connect to the preset nth current threshold Iyn. The output terminal of the nth overcurrent protection unit 21n is connected to the switch control module 220. Here, the first detected current signal I1, the second detected current signal I2, the third detected current signal I3, ... the nth detected current signal In can be collectively referred to as the detected current signal. How the detected current signal is obtained is a conventional technique in this field and will not be described in detail here. The first current threshold Iy1, the second current threshold Iy2, the third current threshold Iy3, ..., the nth current threshold Iyn can be collectively referred to as the current threshold, and the first current sampling ratio, the second current sampling ratio, the third current sampling ratio, ..., the nth current sampling ratio can be collectively referred to as the current sampling ratio.In this embodiment, the first current sampling ratio, the second current sampling ratio, the third current sampling ratio, ..., the nth current sampling ratio can be the same or different.

[0063] In this embodiment, when the signals at the first input terminals of the first overcurrent protection unit 211, the second overcurrent protection unit 212, the third overcurrent protection unit 213, ..., the nth overcurrent protection unit 21n and the signals at their second input terminals meet a preset condition, the first overcurrent protection unit 211, the second overcurrent protection unit 212, the third overcurrent protection unit 213, ..., the nth overcurrent protection unit 21n will perform overcurrent protection, that is, output the corresponding overcurrent signal to the switch control module 220. The switch control module 220 controls the corresponding power switch to open or limit the current. In this embodiment, the preset condition is that the signals at the first input terminals of the first overcurrent protection unit 211, the second overcurrent protection unit 212, the third overcurrent protection unit, ..., the nth overcurrent protection unit 21n are greater than or equal to the signals at their second input terminals and remain for their respective preset durations. The preset durations of each overcurrent protection unit can be the same or different. In other embodiments of this application, the preset conditions may not have a preset duration. In this case, the preset conditions include the signals at the first input terminals of the first overcurrent protection unit 211, the second overcurrent protection unit 212, ..., the nth overcurrent protection unit 21n being greater than or equal to the signals at their second input terminals.

[0064] The inventors of this application discovered during the testing of the power switch control circuit 200: Please refer to [reference needed]. Figure 2a , Figure 3 and Figure 4When at least two power switches are turned on, and one or more power switches change from on to off, at least one power switch remains on. The inventors discovered that the overcurrent protection unit corresponding to the still-on power switch may trigger overcurrent protection, which is undesirable. Further research revealed that the reason for triggering overcurrent protection is that the main wiring harness between the series branch and the positive terminal of power supply 110 is relatively long. This main wiring harness is shared by all series branches for connection to the positive terminal of power supply 110. A main parasitic inductance L0 exists on the main wiring harness, and this inductance is relatively large. When one or more power switches change from on to off, the current in the main parasitic inductance L0 changes significantly in a short time, causing a voltage spike on the main parasitic inductance L0. This voltage spike acts on the still-on series branch, causing overcurrent protection to be triggered on the still-on series branch. Current spikes can cause overcurrent protection units of power switches that are still conducting to meet preset conditions, leading to misjudgments and causing the conducting series branch to be falsely triggered for overcurrent protection. Furthermore, the series branch itself also has connecting branch harnesses (e.g., the branch harness from the main harness endpoint to the first terminal of the power switch). These branch harnesses have corresponding parasitic inductances L1, ..., Ln. The parasitic inductances L1, ..., Ln are relatively small compared to the main parasitic inductance L0. When one or more power switches change from conducting to off-center, the current in the parasitic inductance of that off-center branch becomes zero, also generating a voltage spike. This voltage spike is superimposed on the voltage spike in the main parasitic inductance L0, causing the voltage spike in the main parasitic inductance L0 to further increase, which in turn further increases the current spike in the conducting series branch. In addition to voltage spikes caused by the power switch changing from on to off, signal interference and other factors can also cause voltage spikes (in which case multiple series branches are not required), which may also lead to the overcurrent protection unit falsely triggering overcurrent protection. However, experiments have shown that this voltage spike will not cause any damage to the power switch control circuit 200, nor is it caused by a real short circuit in the load 130, nor does it pose any threat to the load 130. Based on considerations of reliability and safety, the power switch control circuit 200 does not need to trigger overcurrent protection.

[0065] To mitigate the issue of voltage spikes causing current spikes in the conducting branch, which in turn prevents the corresponding overcurrent protection unit from falsely triggering overcurrent protection, please refer to [reference needed]. Figure 1a , Figure 2a , Figure 3 and Figure 4In this embodiment, the power switch control circuit 200 includes a voltage spike detection unit 240 and a threshold compensation calculation module 230. The voltage spike detection unit 240 is connected to the main wiring harness, specifically to the end of the main wiring harness away from the positive terminal of the power supply 110. In the figure, the voltage spike detection unit 240 is connected to the power supply terminal VCC. In this embodiment, the voltage spike detection unit 240 is used to sample and obtain the amplitude of the voltage spike in real time to obtain the spike detection signal ΔV0. Specifically, the voltage spike detection unit 240 includes a high-pass filter (HPF). One end of the high-pass filter is connected to the end of the main harness away from the power supply 110, and the other end of the high-pass filter is connected to the threshold compensation calculation module 230. When a voltage spike occurs, the high-pass filter allows the voltage spike (high frequency) to pass through. The magnitude of the spike detection signal ΔV0 output by the high-pass filter is proportional to the magnitude of the voltage spike. The magnitude of the spike detection signal ΔV0 output by the high-pass filter can characterize the amplitude of the voltage spike in real time. When there is no voltage spike in the main harness, the spike detection signal ΔV0 output by the voltage spike detection unit 240 is always 0. In this embodiment, the threshold compensation calculation module 230 is connected to the voltage spike detection unit 240 and also to the second input terminal of the overcurrent protection unit. The threshold compensation calculation module 230 compensates for the current threshold based on the spike detection signal ΔV0 output by the voltage spike detection unit 240, and then outputs the compensated threshold signal to the second input terminal of the overcurrent protection unit. In this embodiment, the compensation threshold signal and the detected current signal are preferably voltages, but can also be currents or other signals.

[0066] Please refer to the above. Figure 3 and Figure 4In this embodiment, the threshold compensation calculation module 230 includes a threshold compensation calculation unit and an arithmetic unit. The number of threshold compensation calculation units is equal to the number of overcurrent protection units, that is, the number of threshold compensation calculation units is n, corresponding to the first threshold compensation calculation unit 231a, the second threshold compensation calculation unit 232a, ..., the nth threshold compensation calculation unit 23na. The number of arithmetic units is also equal to the number of overcurrent protection units, that is, the number of arithmetic units is n, corresponding to the first arithmetic unit 231b, the second arithmetic unit 232b, ..., the nth arithmetic unit 23nb. The first threshold compensation calculation unit 231a to the nth threshold compensation calculation unit 23na all receive the peak detection signal △V0. The first operation unit 231b to the nth operation unit 23nb are connected to the first threshold compensation calculation unit 231a to the nth threshold compensation calculation unit 23na respectively. Based on the magnitude of the peak detection signal △V0, the first threshold compensation calculation unit 231a to the nth threshold compensation calculation unit 23na outputs the corresponding compensation value to the corresponding first operation unit 231b to the nth operation unit 23nb. In this embodiment, the compensation value and the peak detection signal △V0 have a corresponding relationship. This correspondence can be obtained based on experimental testing, calculated based on a specific model algorithm, or calculated based on an inductive formula, etc. In addition, the compensation value is normalized so that the compensation value and the corresponding current threshold are in the same dimension. The corresponding compensation value is output to the corresponding operation unit. Specifically, the first threshold compensation calculation unit 231a outputs a first compensation value, and the first arithmetic unit 231b performs an operation on the first compensation value and a first current threshold Iy1 to obtain a first compensation threshold signal, which is greater than or equal to the first current threshold Iy1; the second threshold compensation calculation unit 232a outputs a second compensation value, and the second arithmetic unit 232b performs an operation on the second compensation value and a second current threshold Iy2 to obtain a second compensation threshold signal, which is greater than or equal to the second current threshold Iy2; ...; the nth threshold compensation calculation unit 23na outputs the nth compensation value, and the nth arithmetic unit 23nb performs an operation on the nth compensation value and an nth current threshold Iyn to obtain the nth compensation threshold signal, which is greater than or equal to the nth current threshold Iyn. When there is no voltage spike, the compensation threshold signal is equal to the current threshold; when there is a voltage spike, the compensation threshold signal is greater than the current threshold. In this embodiment, the arithmetic unit is an addition unit. The first arithmetic unit 231b adds the first compensation value to the first current threshold Iy1 to obtain the first compensation threshold signal. The second arithmetic unit 232b adds the second compensation value to the second current threshold Iy2 to obtain the second compensation threshold signal. ... The nth arithmetic unit 23nb adds the nth compensation value to the nth current threshold Iyn to obtain the nth compensation threshold signal.In this embodiment, the first compensation threshold signal is output to the second input terminal of the first overcurrent protection unit 211, the second compensation threshold signal is output to the second input terminal of the second overcurrent protection unit 212, ..., the nth compensation threshold signal is output to the second input terminal of the nth overcurrent protection unit 21n. Furthermore, in other embodiments of this application, the magnitude of the compensation value may not correspond to the amplitude of the peak detection signal ΔV0. In this case, as long as a voltage peak exists, the compensation value generated by the same threshold compensation calculation unit is the same, that is, the compensation value is fixed. The compensation values ​​generated by different threshold compensation calculation units may be the same or different, and the duration of the compensation value is the same as the duration of the voltage peak. In other embodiments of this application, when the compensation values ​​generated by the first threshold compensation calculation unit 231a, ..., the nth threshold compensation calculation unit 23na are the same, only one threshold compensation calculation unit needs to exist, saving n-1 threshold compensation calculation units. This threshold compensation calculation unit is connected to the first operation unit 231b, ..., the nth operation unit 23nb to output the same compensation value to the first operation unit 231b-thenth operation unit 23nb. Furthermore, in other embodiments of this application, based on the foregoing, when the first current threshold Iy1, the second current threshold Iy2, ..., the nth current threshold Iyn are the same, only one operation unit needs to be set up. The operation unit outputs the compensation threshold signal to the second input terminal of the first overcurrent protection unit 211-the second input terminal of the nth overcurrent protection unit 21n.

[0067] In this embodiment, because the current threshold is compensated, the current in the series branch can exceed the originally designed maximum current value (corresponding to the current threshold) without triggering overcurrent protection. For example, the compensated maximum current value increases by Ai amps relative to the original maximum current value. For instance, the ratio of the increase of A1 amps in the first series branch to the first compensation value is preferably equal to the first current sampling ratio; the ratio of the increase of A2 amps in the second series branch to the second compensation value is preferably equal to the second current sampling ratio; and so on, the ratio of the increase of An amps in the nth series branch to the nth compensation value is preferably equal to the nth current sampling ratio. Of course, appropriate adjustments can be made according to the actual situation. For example, the ratios can not be equal, and can be appropriately increased or decreased, depending on actual needs. In addition, in other embodiments of this application, the arithmetic unit can also perform other calculations to obtain the compensation threshold signal, such as multiplication, where the compensation value is a multiplier greater than 1, or division, where the compensation value is a dividend less than 1 and greater than 0.

[0068] To more accurately determine the impact of voltage spikes on the current of the corresponding series branch, the inventors discovered that the compensation value is related not only to the current sampling ratio (as described in the normalization process above) but also to load information. Load information generally includes load resistance, load inductance, and load capacitance. Generally, load resistance has a significant impact on the compensation value and current. To simplify the processing, the influence of the load inductance and load capacitance of the corresponding series branch is ignored here. Therefore, the load information here is the load resistance information. Of course, those skilled in the art will also know that in other embodiments of this application, the load information can also comprehensively consider load resistance, load inductance, and load capacitance, etc., so that the calculated compensation value will be more accurate.

[0069] In this embodiment, the ratio of the peak detection signal ΔV0 to the voltage peak is determined (based on the specific high-pass filter parameters), and the current sampling ratio is also determined. In order to obtain load information, the threshold compensation calculation unit can also directly obtain the load information or obtain the load information through calculation. For example, taking the k-th series branch as an example, under normal circumstances (when no voltage peak occurs), when the k-th power switch is turned on, the k-th threshold compensation calculation unit 23ka obtains the voltage (e.g., the voltage of the k-th load output terminal OUTk) and current (obtained through the corresponding detection circuit) on the k-th load 13k, thereby calculating the load resistance information of the k-th load 13k. In addition, the load resistance information can also be calculated by other modules of the power switch control circuit 200 and output to the compensation calculation unit.

[0070] Specifically, in this embodiment, please refer to [reference needed]. Figure 4 and Figure 5a Taking the kth threshold compensation calculation unit 23ka as an example, the kth threshold compensation calculation unit 23ka includes a load voltage acquisition unit 255k, a load current acquisition unit 254k, and a compensation value calculation unit. The load voltage acquisition unit 255k is used to acquire the load voltage Vload(k) (under normal circumstances), and the load current acquisition unit 254k is used to synchronously acquire the load current Iload(k) corresponding to the load voltage Vload(k). The compensation value calculation unit receives the load voltage Vload(k), the load current Iload(k), and the spike detection signal △V0, and calculates the kth compensation value △I0(k).

[0071] In this embodiment, the compensation value calculation unit includes a normalization processing unit 251k, a multiplier 252k, and a divider 253k. The normalization processing unit 251k is connected to the voltage spike detection unit 240 to receive the spike detection signal ΔV0. The normalization processing unit 251k outputs a first intermediate value ΔV1(k), whereby the ratio of the voltage spike to the corresponding first intermediate value ΔV1(k) is set to the corresponding current sampling ratio. The multiplier 252k is connected to both the normalization processing unit 251k and the load current acquisition unit 240. A 54k connection is established. Multiplier 252k receives a first intermediate value ΔV1(k) and the load current Iload(k) and multiplies them to obtain a second intermediate value P(k). Divider 253k is connected to the load voltage acquisition unit 255k and multiplier 252k respectively. Divider 253k receives the second intermediate value P(k) and the load voltage Vload(k) and divides the second intermediate value P(k) by the load voltage Vload(k) to obtain the k-th compensation value ΔI0(k). The k-th compensation value ΔI0(k) is output to the k-th operation unit 23kb. In other embodiments of this application, the positions of divider 253k and multiplier 252k can be reversed. In other embodiments of this application, normalization processing unit 251k can also be located after multiplier 252k or divider 253k. In this embodiment, the implementation of multiplier 252k and divider 253k is conventional technology in the art and will not be described in detail here. In this embodiment, the specific implementation of the normalization processing unit 251k can be found in [reference needed]. Figure 5b By designing the width-to-length ratios of resistors R3 and R4, and MOSFETs MP2 and MP3, normalization can be achieved. That is, the ratio of the voltage spike to the corresponding first intermediate value ΔV1(k) is the corresponding current sampling ratio. Placing normalization at the beginning reduces the withstand voltage requirements of subsequent components. Taking the k-th series branch as an example, in this embodiment, the k-th compensation value ΔI0[k] = ΔV1[k] * Iload[k] / Vload[k]. For the specific implementation of other threshold compensation calculation units, please refer to the k-th threshold compensation calculation unit 23ka, which will not be elaborated here.

[0072] Please see Figure 4In this embodiment, the voltage spike detection unit 240 includes a second capacitor C2 and a second resistor R2. The first end of the second capacitor C2 is connected to one end of the main wiring harness, and the second end of the second capacitor C2 is connected to the first end of the second resistor R2. The second end of the second resistor R2 is connected to the power ground terminal GND, and the first end of the second resistor R2 is also connected to the threshold compensation calculation module 230. In this embodiment, the second capacitor C2 and the second resistor R2 constitute a passive high-pass filter. The passive high-pass filter is used to collect the amplitude of the voltage spikes on the main wiring harness, and the resulting spike detection signal ΔV0 is a voltage. For example, the larger the voltage spike, the larger the voltage at the first end of the second resistor R2; the smaller the voltage spike, the smaller the voltage at the first end of the second resistor R2. In this embodiment, the voltage at the first end of the second resistor R2 is used to characterize whether there is a voltage spike in the main wiring harness and the magnitude of the voltage spike. The voltage at the first end of the second resistor R2 is output to the threshold compensation calculation module 230, and the voltage at the first end of the second resistor R2 is the spike detection signal ΔV0.

[0073] The high-pass filter in this embodiment is a passive high-pass filter, but this application is not limited to this. In other embodiments of this application, the high-pass filter can also be an active high-pass filter. An active high-pass filter can be implemented, for example, as a second-order voltage-controlled voltage source high-pass filter circuit. Please refer to [link to relevant documentation]. Figure 6 Or, for example, an infinite-gain multiple-feedback high-pass filter circuit; please refer to [link to relevant documentation]. Figure 7 , Figure 6 and Figure 7 The specific implementation of the high-pass filter function is a conventional technique in the art and will not be elaborated upon here. Furthermore, in other embodiments of this application, the high-pass filter function can also be implemented using other conventional high-pass filter circuits.

[0074] In other embodiments of this application, the voltage spike detection unit 240 includes a bandpass filter (BPF). One end of the bandpass filter is connected to the end of the main wiring harness furthest from the power supply 110, and the other end is connected to the threshold compensation calculation module 230. When a voltage spike occurs, the bandpass filter allows the voltage spike (with a frequency within the frequency range that the bandpass filter can pass through) to pass through. The magnitude of the spike detection signal ΔV0 output by the bandpass filter is proportional to the magnitude of the voltage spike, thus the spike detection signal ΔV0 output by the bandpass filter can characterize the voltage spike in real time. Here, the bandpass filter is implemented, for example, as a second-order bandpass filter circuit of a voltage-controlled voltage source. Please refer to [link to relevant documentation]. Figure 8 , Figure 8 The specific implementation of the bandpass filtering function is a conventional technique in the art and will not be elaborated here. Furthermore, in other embodiments of this application, the bandpass filter function can also be implemented using other conventional bandpass filter circuits.

[0075] This embodiment adds a voltage spike detection unit 240 and a threshold compensation calculation module 230. The voltage spike detection unit 240 is used to detect voltage spikes on the main harness in real time to obtain a spike detection signal ΔV0. The threshold compensation calculation module 230 obtains a compensation value based on the spike detection signal ΔV0 and calculates the compensation value with a current threshold to obtain a compensation threshold signal. The compensation threshold signal is output to the corresponding overcurrent protection module 210. The compensation threshold signal is greater than or equal to the corresponding current threshold. With this setting, when a brief voltage spike occurs on the main harness for various reasons, the threshold compensation calculation module 230 compensates for the current threshold, thus improving the problem of false triggering of overcurrent protection when a voltage spike occurs, preventing adverse effects such as false shutdown or false current limiting, which is beneficial to the normal operation of the load 130, improves personal safety, and enhances reliability.

[0076] This application embodiment also provides an integrated circuit chip, which includes the aforementioned power switch control circuit 200, i.e., the aforementioned power switch control circuit 200 is 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 load output terminal is a load output pin. The integrated circuit chip has n channels, each channel including a power switch.

[0077] Other embodiments of this application also provide a chip product, which includes the power switch control circuit 200 described above. The components of the power switch control circuit 200, except for the first power switches M1 to the nth power switches Mn, are located on a first integrated circuit chip. The first power switches M1 to the nth power switches Mn are located on one or more other integrated circuit chips. That is, the first integrated circuit chip is fabricated on one semiconductor substrate, and the other integrated circuit chips are fabricated on one or more other semiconductor substrates. Preferably, each power switch is fabricated on an independent chip, i.e., n power switches are fabricated on n independent chips. Here, the power switch control circuit 200 is packaged into a single product. Furthermore, in other embodiments of this application, the voltage spike detection unit 240 is not fabricated on the integrated circuit chip; the voltage spike detection unit 240 can be used as a peripheral device.

[0078] Furthermore, the power switch control circuit 200, integrated circuit chip, and chip product of this embodiment are not limited to automotive electronics, but can also be used in fields such as industrial automation, aerospace, and artificial intelligence.

[0079] In the above embodiment, the voltage spike detection unit 240 and the threshold compensation calculation module 230 will operate regardless of the cause of the voltage spike on the main wiring harness. However, in some cases, it may be desirable to prevent false triggering only for voltage spikes caused by the disconnection of power switches in other series branches, and not to compensate for voltage spikes that occur in other situations. To improve this problem, this application provides a second embodiment.

[0080] Second Embodiment

[0081] Please see Figure 9 , Figure 9 This is a partial circuit block diagram of the power switch control circuit 200 of the second embodiment of this application. This embodiment is similar to the first embodiment. Therefore, the parts not described in this embodiment can be referred to the first embodiment. The main difference between this embodiment and the first embodiment is that not all voltage spikes are compensated.

[0082] Please refer to the above. Figure 1a and Figure 9 In this embodiment, the power switch control circuit 200 includes multiple channels, each channel including a corresponding power switch and a load output terminal, and each load output terminal is connected to a corresponding load 130, for example in... Figure 9 In this embodiment, the power switch control circuit 200 includes n channels. In this embodiment, the control terminals of all power switches are connected to the switch control module 220. Since the switch control module 220 controls the on / off state of all power switches, it can determine which power switch is controlled by the processor 120 or has changed from on / off to off due to protection.

[0083] In this embodiment, the current threshold of the overcurrent protection unit of the conducting power switch or all overcurrent protection units is compensated only when the power switch changes from being turned on to being turned off, causing a voltage spike in the main wiring harness. Voltage spikes on the main wiring harness caused by other reasons are not compensated for the current threshold of the overcurrent protection unit.

[0084] Specifically, in this embodiment, the switch control module 220 is also connected to the voltage spike detection unit 240. Figure 9 () or connected to the threshold compensation calculation module 230 () Figures 10a-10cWhen the switch control module 220 controls one or more power switches to change from on to off based on the control of the processor 120 or for protection purposes, the switch control module 220 controls the voltage spike detection unit 240 to change from deactivated to activated, or the switch control module 220 controls the threshold compensation calculation module 230 corresponding to the on power switch or all threshold compensation calculation modules 230 to change from deactivated to activated. The control of the voltage spike detection unit 240 or the threshold compensation calculation module 230 by the switch control module 220 includes, but is not limited to, the following methods:

[0085] 1. Please see Figure 9 The voltage spike detection unit 240 includes a second capacitor C2, a second resistor R2, and a first switch K1. The first terminal of the first switch K1 is connected to the second terminal of the second capacitor C2, and the second terminal of the first switch K1 is connected to the first terminal of the second resistor R2. The first terminal of the second resistor R2 is used to output a spike detection signal ΔV0. The control terminal of the first switch K1 is connected to the switch control module 220. When the switch control module 220 does not control any power switch to change from on to off, the switch control module 220 controls the first switch K1 to turn off. At this time, the voltage spike detection unit 240 is deactivated, the spike detection signal ΔV0 is 0, and all compensation values ​​are 0. When the switch control module 220 controls one or more power switches to change from on to off, the switch control module 220 controls the first switch K1 to turn on. At this time, the voltage spike detection unit 240 is activated. Afterward, the voltage spike detection unit 240 detects voltage spikes and outputs a spike detection signal ΔV0. The threshold compensation calculation module 230 compensates for all current thresholds based on the spike detection signal ΔV0. After the switch control module 220 controls the first switch K1 to turn on for a preset threshold time period, it then controls the first switch K1 to return to being off. Alternatively, after the voltage spike detection unit 240 detects that the voltage spike has passed, the switch control module 220 controls the first switch K1 to return to being off. In other embodiments of this application, the first switch K1 may also be located between the first end of the second capacitor C2 and the main wiring harness. In this embodiment, the first switch K1 may be a MOSFET, a transistor, etc. In other embodiments of this application... Figure 6 , Figure 7 , Figure 8 It can also be controlled in a similar way, which will not be elaborated here.

[0086] 2. Please see Figure 10aThe threshold compensation calculation module 230 includes a threshold compensation calculation unit and an operation unit, as well as a second switch K2. The first terminal of the second switch K2 is connected to the first terminal of the second resistor R2, and the second terminal of the second switch K2 is connected to each threshold compensation calculation unit, specifically the first threshold compensation calculation unit 231a, the second threshold compensation calculation unit 232a, ..., the nth threshold compensation calculation unit 23na. The control terminal of the second switch K2 is connected to the switch control module 220. When the switch control module 220 does not control one or more power switches to change from on to off, the switch control module 220 controls the second switch K2 to turn off. At this time, the threshold compensation calculation unit is deactivated, and the compensation value is 0. When the switch control module 220 controls one or more power switches to change from on to off, the switch control module 220 controls the second switch K2 to turn on. At this time, the threshold compensation calculation unit is activated, and the spike detection signal ΔV0 is then output to each threshold compensation calculation unit via the second switch K2 to compensate for the current threshold. After the switch control module 220 controls the second switch K2 to turn on for a preset threshold time period, it then controls the second switch K2 to return to open or closed. Alternatively, after the voltage spike detection unit 240 detects that the voltage spike has passed, the switch control module 220 controls the second switch K2 to return to open or closed. Here, the second switch K2 can be a MOSFET, transistor, etc.

[0087] 3. Please see Figure 10b The threshold compensation calculation module 230 includes a threshold compensation calculation unit and an arithmetic unit, as well as third switches. The number of third switches is equal to the number of threshold compensation calculation units. The first terminals of the third switches K31, ..., K3n are connected to the corresponding threshold compensation calculation units, and the second terminals of the third switches K31, ..., K3n are connected to the corresponding arithmetic units. When the switch control module 220 does not control one or more power switches to change from on to off, the switch control module 220 controls all third switches K31, ..., K3n to be off. When the switch control module 220 controls one or more power switches to change from on to off, the switch control module 220 controls all third switches K31, ..., K3n to be on. Here, the third switches K31, ..., K3n can be MOSFETs, transistors, etc.

[0088] 4. Please see Figure 10cThe threshold compensation calculation module 230 can also function without additional switches. In this case, each threshold compensation calculation unit has an enable terminal, and each enable terminal is connected to the switch control module 220. When the switch control module 220 does not control one or more power switches to change from on to off, the switch control module 220 controls all threshold compensation calculation units to deactivate. When the switch control module 220 controls one or more power switches to change from on to off, the switch control module 220 controls all threshold compensation calculation units to activate, so as to compensate for the current threshold. After the switch control module 220 controls the threshold compensation calculation units to activate for a threshold time period, it then controls the threshold compensation calculation units to deactivate, or after the voltage spike detection unit 240 detects that the voltage spike has passed, the switch control module 220 controls the threshold compensation calculation units to deactivate.

[0089] In the implementations of methods 3 and 4 above, to simplify control, when the switch control module 220 controls one or more power switches to change from on to off, the switch control module 220 controls all third switches to be on or controls all threshold compensation calculation units to be activated. However, this application is not limited to this; please refer to other embodiments of this application. Figure 10b or Figure 10c When the switch control module 220 controls one or more power switches to change from on to off, the switch control module 220 controls the third switch corresponding to the currently on power switch to turn on or activates the corresponding threshold compensation calculation unit. The current threshold corresponding to the currently off power switch is not compensated because these power switches are off at this time and the current flowing through these power switches is 0.

[0090] In this embodiment, at least the switch control module 220 is located on the same chip. In this case, the switch control module 220 knows the state and state transitions of all power switches. Preferably, the entire power switch control circuit is located on the same chip, or the entire power switch control circuit except for the voltage spike detection unit 240 is located on the same chip, or the entire power switch control circuit except for the voltage spike detection unit 240 and the power switches is located on the same chip. However, this application is not limited to this. For other embodiments of this application, please refer to... Figure 11 Multiple channels are located on different sub-units (this sub-unit can be called a smart electronic switch), that is, there are multiple smart electronic switches, and one smart electronic switch can have one channel. Figure 11(Taking this as an example for illustration) or multiple channels, the intelligent electronic switch includes a threshold compensation calculation unit, an arithmetic unit, an overcurrent protection unit, a switch control unit (the switch control module 220 includes a first switch control unit 221 to an nth switch control unit 22n), and a power switch. The processor 120 is connected to all intelligent electronic switches. The processor 120 can control the corresponding power switch to turn on or off based on the switch control unit of the corresponding intelligent electronic switch. Furthermore, the intelligent electronic switch also feeds back to the processor 120 whether its power switch is off. These are all conventional technologies in the field and will not be described in detail here. Here, the processor 120 is also used to control whether the voltage spike detection unit 240 or each threshold compensation calculation unit is activated. In one manner (e.g.) Figure 11 The processor 120 controls whether the voltage spike detection unit 240 is activated: when the processor 120 controls or learns that the power switch of one or more channels changes from on to off, the processor 120 activates the voltage spike detection unit 240, which detects and obtains a spike detection signal △V0. The spike detection signal △V0 is output to the threshold compensation calculation module 230 of each intelligent electronic switch. After the voltage spike passes, the processor 120 controls the voltage spike detection unit 240 to deactivate, at which point the spike detection signal △V0 is 0. In another embodiment, the processor 120 controls whether the threshold compensation calculation unit is activated: when the processor 120 detects that the power switch of one or more channels changes from on to off, the processor 120 controls each threshold compensation calculation unit to activate. Each threshold compensation calculation unit receives the peak detection signal ΔV0 output by the voltage peak detection unit 240, processes it to obtain a compensation value, and outputs the compensation value to the corresponding arithmetic unit. After the voltage peak passes, the processor 120 controls the threshold compensation calculation unit to return to an inactive state, at which point the compensation value is 0. Additionally, in other embodiments of this application, when the processor 120 detects that the power switch of one or more channels changes from on to off, the processor 120 controls the threshold compensation calculation unit corresponding to the currently active power switch to activate. In one implementation, each smart electronic switch is located on its own independent chip; in another implementation, the circuit units of each smart electronic switch, excluding the power switch, are located on their own independent chips, and each power switch is located on its own separate chip.

[0091] Additionally, please refer to other embodiments of this application. Figure 12 Multiple channels are located on different smart electronic switches; a single smart electronic switch can have one or more channels. Figure 12(Taking a smart electronic switch with one channel as an example) Here, the smart electronic switches are interconnected. When the power switch of one channel of one smart electronic switch changes from on to off, the smart electronic switch informs the other smart electronic switches, and the other channels of the same smart electronic switch also know this information. The smart electronic switch then controls the corresponding threshold compensation calculation unit to activate. For example, the corresponding switch control unit controls the activation of the corresponding threshold compensation calculation unit. The threshold compensation calculation unit receives the peak detection signal ΔV0 output by the voltage peak detection unit 240 (which is always active), processes it to obtain a compensation value, and outputs the compensation value to the corresponding calculation unit. After the voltage peak passes, the smart electronic switch controls the threshold compensation calculation unit to deactivate, at which point the compensation value is 0. In other embodiments of this application, when each smart electronic switch learns that the power switch of one or more smart electronic switches has changed from on to off, the switch control unit corresponding to the currently on power switch controls the activation of the corresponding threshold compensation calculation unit, while the switch control unit corresponding to the off power switch continues to control the deactivation of the corresponding threshold compensation calculation unit.

[0092] Both the first and second embodiments include a voltage spike detection unit 240, but this application is not limited to this. In other embodiments of this application, the voltage spike detection unit 240 may not be provided. When the threshold compensation calculation module 230 receives information about a voltage spike on the main line harness output by the switch control module 220, the processor 120, and other intelligent electronic switches, for example, when one or more intelligent electronic switches change from being turned on to being turned off, the threshold compensation calculation module 230 receives information about a voltage spike on the main line harness and can output a compensation value. This compensation value is preset, and the duration for which the compensation value is not 0 is also preset.

[0093] Figure 13 This is a flowchart corresponding to the methods in the two embodiments above. Figure 13 The method can be referred to the previous ones. Figures 1a-12 The implementation of the power switch control circuit 200 is discussed, but not limited to it. Nevertheless, for ease of explanation, the following descriptions... Figure 13 When using this method, refer to Figures 1a-12 Please see. Figure 13 The control method of the power switch control circuit 200 includes:

[0094] S110: Switch control module 220 controls the power switch to be turned on. The first end of the power switch is connected to the positive terminal of power supply 110 via the main wiring harness, and its second end is connected to the negative terminal of power supply 110. Its control terminal is connected to switch control module 220. Switch control module 220 is used to control the power switch to be turned on or off. The power switch is used to be connected in series with load 130.

[0095] S120: Receive information about voltage spikes on the main line harness, wherein the information about voltage spikes is used to characterize voltage spikes on the main line harness;

[0096] S130: Compensate the current threshold based on the information of the voltage spike to obtain a compensation threshold signal, wherein the current threshold is preset, and the compensation threshold signal is greater than or equal to the current threshold.

[0097] S140: The overcurrent protection module 210 is used to determine whether the signal at its first input terminal and the signal at its second input terminal meet the preset conditions. The first input terminal of the overcurrent protection module 210 is used to connect to the detection current signal, the second input terminal is connected to the threshold compensation calculation module 230 to connect to the compensation threshold signal, and the output terminal is connected to the switch control module 220. The detection current signal is used to characterize the current flowing through the power switch.

[0098] S151: If the judgment result is yes, the overcurrent protection module 210 outputs an overcurrent signal;

[0099] S152: If the judgment result is negative, the overcurrent protection module 210 will not output an overcurrent signal.

[0100] 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.

[0101] 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.

[0102] 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.

[0103] 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. A power switch control circuit that compensates for a current threshold, characterized by, The power switch control circuit comprises: a power switch, a switch control module, a first end of the power switch being connected with a positive electrode of a power supply via a main wire harness, a second end of the power switch being connected with a negative electrode of the power supply, and a control end of the power switch being connected with the switch control module, the switch control module being configured to control the power switch to be turned on or turned off, and the power switch being configured to be connected in series with a load; a threshold compensation operation module configured to receive information of a voltage spike on the main wire harness, the threshold compensation operation module further receiving a preset current threshold, and the threshold compensation operation module compensating the current threshold based on the information of the voltage spike to obtain a compensated threshold signal, wherein the compensated threshold signal is greater than or equal to the current threshold; an overcurrent protection module, a first input end of the overcurrent protection module being configured to receive a detection current signal, a second input end of the overcurrent protection module being connected with the threshold compensation operation module to receive the compensated threshold signal, and an output end of the overcurrent protection module being connected with the switch control module, the overcurrent protection module outputting an overcurrent signal when the signal at the first input end of the overcurrent protection module and the signal at the second input end of the overcurrent protection module satisfy a preset condition, and the switch control module performing overcurrent protection on the power switch, wherein the detection current signal is configured to represent a current flowing through the power switch.

2. The power switch control circuit of claim 1, wherein, The power switch control circuit further comprises a voltage spike detection unit, the voltage spike detection unit being connected with the threshold compensation operation module, and the voltage spike detection unit being configured to detect information of a voltage spike on the main wire harness and output a corresponding spike detection signal to the threshold compensation operation module.

3. The power switch control circuit of claim 2, wherein, The spike detection signal is configured to represent a magnitude of the voltage spike.

4. The power switch control circuit of claim 3, wherein, The threshold compensation operation module comprises a threshold compensation calculation unit and an operation unit, the threshold compensation calculation unit being connected with the voltage spike detection unit to receive the spike detection signal, and the operation unit being connected with the threshold compensation calculation unit and further receiving the current threshold. The threshold compensation calculation unit obtains a compensation value based on the spike detection signal, and the operation unit obtains the compensated threshold signal based on the current threshold and the compensation value.

5. The power switch control circuit of claim 4, wherein, The compensation value comprises information of the load.

6. The power switch control circuit of claim 5, wherein, The threshold compensation calculation unit comprises a load voltage acquisition unit, a load current acquisition unit, and a compensation value calculation unit, the load voltage acquisition unit being configured to acquire a load voltage, the load current acquisition unit being configured to acquire a load current corresponding to the load voltage, and the compensation value calculation unit receiving the load voltage, the load current, and the spike detection signal to calculate a compensation value.

7. The power switch control circuit of claim 6, wherein, The compensation value calculation unit multiplies the spike detection signal by the load current and divides the load voltage to obtain the compensation value.

8. The power switch control circuit of claim 1, wherein, The threshold compensation operation module obtains the information of the voltage spike from the switch control module; or The threshold compensation operation module obtains the information of the voltage spike from a processor, wherein the processor is connected with the power switch control circuit; or The power switch control circuit forms a plurality of intelligent electronic switches, each intelligent electronic switch comprising one or more power switches, and each intelligent electronic switch being connected with other intelligent electronic switches, and each intelligent electronic switch obtaining the information of the voltage spike from other intelligent electronic switches.

9. The power switch control circuit according to any one of claims 1 to 8, characterized by, The power switch control circuit comprises a plurality of power switches, each of which is connected in series with a corresponding load, and the control ends of the plurality of power switches are connected with the switch control module; and the threshold compensation operation module compensates the current threshold when at least one power switch changes from being turned on to being turned off.

10. The power switch control circuit of claim 9, wherein, The information of the voltage spike is obtained from a voltage spike detection unit, and the switch control module controls whether the voltage spike detection unit is activated; or The switch control module controls whether the threshold compensation calculation unit of the threshold compensation operation module is activated; or The information of the voltage spike is obtained from a voltage spike detection unit, and the switch control module is connected with a processor, and the switch control module receives a signal from the processor to control the corresponding power switch to be turned on or turned off, and the processor controls whether the voltage spike detection unit is activated; or The switch control module comprises a plurality of switch control units, the number of the switch control units is less than or equal to the number of the power switches, the switch control units are used to control the corresponding power switches to be turned on or turned off, all the switch control units communicate with each other, and the switch control units control whether the threshold compensation calculation units of the corresponding threshold compensation operation modules are activated.

11. The power switch control circuit according to any one of claims 1 to 8, characterized by The preset condition comprises that the signal at the first input end of the overcurrent protection module is greater than or equal to the signal at the second input end thereof.

12. An integrated circuit chip, characterized by The power switch control circuit comprises the power switch control circuit according to any one of claims 1-11.

13. A chip product, characterized by The chip product comprises at least two chips, and the power switch control circuit is located on the at least two chips.

14. An automobile characterized by comprising: The power switch control circuit according to any one of claims 1-11 or the integrated circuit chip according to claim 12 or the chip product according to claim 13; The power supply, the load and the processor are further included, wherein the positive pole of the power supply is connected with the first end of the power switch via a main wire harness, the negative pole of the power supply is connected with the second end of the power switch, the load is connected in series with the power switch, and the processor is connected with the switch control module of the power switch control circuit.

15. A control method of a power switch control circuit, characterized by, The power switch is controlled to be turned on, wherein the first end of the power switch is connected with the positive pole of the power supply via a main wire harness, the second end of the power switch is connected with the negative pole of the power supply, the control end of the power switch is connected with the switch control module, the switch control module is used to control the power switch to be turned on or turned off, and the power switch is connected in series with the load; Information of a voltage spike on the main wire harness is received; A current threshold is compensated based on the information of the voltage spike to obtain a compensated threshold signal, wherein the current threshold is preset, and the compensated threshold signal is greater than or equal to the current threshold; An overcurrent protection module is used to determine whether the signal at the first input end thereof and the signal at the second input end thereof satisfy a preset condition, wherein the first input end of the overcurrent protection module is used to input a detection current signal, the second input end of the overcurrent protection module is used to input the compensated threshold signal, the output end of the overcurrent protection module is connected with the switch control module, and the detection current signal is used to represent the current flowing through the power switch. ​ If the result of the judgment is yes, the overcurrent protection module outputs an overcurrent signal.