Circuit control method and device, electronic equipment and storage medium

By setting different desaturation detection parameters for the upper and lower bridges in the H bridge arm circuit, we ensure that the upper and lower bridges share energy when short-circuited, the problem of large circuit short-circuit stress is solved and the safety and reliability of the circuit is improved.

CN119050947APending Publication Date: 2024-11-29XIAOMI EV TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411186989.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

When the H bridge arm circuit is abnormally driven, the bridge arm is likely to pass through and the current is too high, which will damage the power pipe or insulation layer, causing short circuits on the upper and lower bridge arms. The lower bridge bears all short circuit energy, has a high short circuit stress and a high risk of explosion.

Method used

By determining the different desaturation detection parameters of the first power device and the second power device in the H bridge arm circuit, each power device is controlled based on these parameters, ensuring that the upper and lower bridge arms bear the short circuit energy at the same time when the short circuit is short-circuited, and reducing the lower bridge Short circuit stress.

Benefits of technology

It effectively improves the short circuit performance caused by the asymmetry of the upper and lower bridges of the drive circuit, reduces the risk of blowing up the pipe and improves the working safety of the circuit.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119050947A_ABST
    Figure CN119050947A_ABST
Patent Text Reader

Abstract

The invention provides a circuit control method and device, electronic equipment and a storage medium, and relates to the technical field of power electronics, and the method comprises the steps: determining a first desaturation detection parameter of a first power device in an H bridge arm circuit, and a second desaturation detection parameter of a second power device, the first desaturation detection parameter is different from the second desaturation detection parameter; and controlling the first power device and the second power device based on the first desaturation detection parameter and the second desaturation detection parameter respectively. Therefore, when the upper bridge or the lower bridge in the H bridge arm circuit is short-circuited, the upper bridge arm and the lower bridge arm bear short-circuit energy at the same time, and safety and reliability of the controller are guaranteed. Through different first desaturation detection parameters and second desaturation detection parameters, the differential control processing of the upper and lower bridges is realized, and the short circuit performance caused by asymmetry of the upper and lower bridges of the driving loop can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of power electronics technology, and in particular to a circuit control method, device, electronic device and storage medium. Background Art

[0002] In the H-bridge arm circuit, when the drive is abnormal, the bridge arm will be directly connected, the current will be too large, and then the power tube will burn or the insulation layer will be damaged, causing the upper and lower bridge arms to short-circuit. When the upper and lower bridge arms are directly connected, because the actual chip end driving voltage of the lower bridge is much lower than that of the upper bridge, no matter whether the upper bridge or the lower bridge is short-circuited, only the lower bridge will be deeply desaturated, and the short-circuit energy will be concentrated in the lower bridge arm. The lower bridge arm bears all the short-circuit energy, the short-circuit stress is large, and the risk of tube explosion is high.

[0003] Therefore, how to better achieve short-circuit control of the circuit and ensure the working safety of the circuit is a problem that needs to be solved urgently. Summary of the invention

[0004] The present disclosure proposes a circuit control method, device, electronic device and storage medium, aiming to solve one of the technical problems in the related art at least to a certain extent.

[0005] The first aspect of the present disclosure provides a circuit control method, including:

[0006] Determining a first desaturation detection parameter of a first power device in an H-bridge arm circuit and a second desaturation detection parameter of a second power device, wherein the first desaturation detection parameter and the second desaturation detection parameter are different;

[0007] The first power device and the second power device are controlled based on the first desaturation detection parameter and the second desaturation detection parameter, respectively.

[0008] A second aspect of the present disclosure provides a circuit control device, including:

[0009] a determination module, configured to determine a first desaturation detection parameter of a first power device in an H-bridge arm circuit, and a second desaturation detection parameter of a second power device, wherein the first desaturation detection parameter is different from the second desaturation detection parameter;

[0010] A control module is used to control the first power device and the second power device based on the first desaturation detection parameter and the second desaturation detection parameter respectively.

[0011] An embodiment of the third aspect of the present disclosure proposes an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the circuit control method of the embodiment of the present disclosure.

[0012] The fourth aspect of the present disclosure provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute the circuit control method disclosed in the embodiment of the present disclosure.

[0013] The fifth aspect embodiment of the present disclosure proposes a chip, including a processor and an interface, wherein the processor is used to read instructions to execute the control method of the circuit disclosed in the embodiment of the present disclosure.

[0014] In the disclosed embodiment, firstly, a first desaturation detection parameter of a first power device in an H-bridge arm circuit and a second desaturation detection parameter of a second power device are determined, wherein the first desaturation detection parameter and the second desaturation detection parameter are different, and then the first power device and the second power device are controlled based on the first desaturation detection parameter and the second desaturation detection parameter, respectively. Thus, by distinguishing the first desaturation detection parameter and the second desaturation detection parameter, when a short circuit occurs in the upper bridge or the lower bridge in the H-bridge arm circuit, the upper and lower bridge arms simultaneously bear the short circuit energy, thereby ensuring the safety and reliability of the controller. Different control processing of the upper and lower bridges is achieved by different first desaturation detection parameters and second desaturation detection parameters, which can effectively improve the short circuit performance caused by the asymmetry of the upper and lower bridges of the drive circuit.

[0015] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings herein are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description, serve to explain the principles of the present disclosure, in which:

[0017] Figure 1 is a flow chart of a circuit control method provided according to the first embodiment of the present disclosure;

[0018] Figure 2 is a flow chart of a circuit control method provided according to a second embodiment of the present disclosure;

[0019] Figure 3 A circuit diagram of an upper bridge desaturation detection circuit of an H-bridge arm circuit provided according to an embodiment of the present disclosure;

[0020] Figure 4 is a flow chart of a circuit control method provided according to a third embodiment of the present disclosure;

[0021] Figure 5 is a flow chart of a circuit control method provided according to a fourth embodiment of the present disclosure;

[0022] Figure 6 A comparison chart of simulation results;

[0023] Figure 7 is a structural block diagram of a control device for a circuit according to an embodiment of the present disclosure;

[0024] Figure 8 The block diagram of an electronic device used to implement the circuit control method of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0025] Some embodiments of the present disclosure will be described in detail here, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. Various changes, modifications and equivalents of the methods, devices and / or systems described herein will become apparent after understanding the present disclosure. For example, the order of operations described herein is merely an example and is not limited to those orders set forth herein, but can be changed as becomes apparent after understanding the present disclosure, except for operations that must be performed in a specific order. In addition, for clarity and brevity, descriptions of features known in the art may be omitted.

[0026] The embodiments described in some embodiments of the present disclosure below do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0027] Among them, the H-bridge circuit, also known as the H-bridge circuit, is a DC motor control circuit. The H-bridge circuit is mainly composed of four switching components, which are arranged in the shape of "H" and are used to control the direction and magnitude of the current. Specifically, these four switching components are divided into two groups, two in each group, respectively connected between the positive and negative poles of the DC power supply and the two ends of the motor. By controlling the on and off states of these switching components, the direction and speed of the motor can be controlled.

[0028] The H-bridge arm circuit in the embodiment of the present disclosure is not limited to DC motor control, but can also be used in power electronic devices such as inverters, frequency converters, and power conversion, which is not limited here.

[0029] Among them, switching components can also be called power devices, such as Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET), Insulated Gate Bipolar Transistor (IGBT), Silicon Carbide Field Effect Transistor SiC Mosfet, which are not limited here.

[0030] It should be noted that in the H-bridge arm circuit, in order to prevent the power device from a straight-through short-circuit fault, a Desat protection mechanism is usually used. This protection mechanism monitors whether the device has a short-circuit fault by detecting the voltage drop at the ds end (for MOSFET) or ce end (for IGBT) of the power device. When an abnormal voltage drop is detected, it means that the power device may have a straight-through short circuit. At this time, the protection mechanism will respond quickly and achieve safe shutdown through strategies such as soft shutdown to protect the power device from damage.

[0031] Among them, Desat protection generally refers to a protection mechanism that monitors and prevents direct short-circuit faults by detecting the saturation voltage drop of a power device (such as a MOSFET or an IGBT).

[0032] It should be noted that the executor of the circuit control method of this embodiment can be a control device of the circuit, which can be implemented by software and / or hardware. The executor of the circuit control method of the embodiment of the present disclosure can be any type of equipment, such as automobiles, various industrial equipment (such as CNC machine tools, textile machinery, industrial robots), power electronic converters (such as uninterruptible power supplies UPS, inverters, rectifiers), and are not limited here.

[0033] In the embodiments of the present disclosure, a “circuit control device” will be used as an execution subject to illustrate a circuit control method, which will be referred to as “device” hereinafter and is not limited herein.

[0034] Figure 1 It is a flowchart of a circuit control method provided according to the first embodiment of the present disclosure.

[0035] like Figure 1 As shown, the method includes:

[0036] S101: Determine a first desaturation detection parameter of a first power device in an H-bridge arm circuit and a second desaturation detection parameter of a second power device, wherein the first desaturation detection parameter is different from the second desaturation detection parameter.

[0037] The desaturation detection parameters may be key parameters used in the desaturation detection process, and may be pre-configured parameters, such as a desaturation voltage threshold, a current value, and a blanking time blank, which are not limited here.

[0038] Among them, desaturation protection is a short-circuit protection mechanism based on voltage detection. When a short circuit occurs, the voltage drop across the power device will increase abnormally. When the voltage drop exceeds the preset threshold, the desaturation protection will be triggered, thereby shutting down the power device to prevent further damage.

[0039] It should be noted that, according to the position of the power device currently in the short-circuit state in the H-bridge arm, a specific desaturation detection parameter can be selected. For example, if the power device currently in the short-circuit state is in the upper bridge position in the H-bridge arm, the desaturation detection parameter that can be selected is A, and if the power device currently in the short-circuit state is in the lower bridge position in the H-bridge arm, the desaturation detection parameter that can be selected is B, which is not limited here.

[0040] Among them, the first power device can be a power device located in the upper bridge of the H-bridge arm circuit, and the second power device can be a power device located in the lower bridge of the H-bridge arm circuit, which is not limited here.

[0041] The power device may be MOSFET, IGBT, SiC Mosfet, etc., which are not limited here.

[0042] The first desaturation detection parameter may be a parameter used to detect whether the first power device is desaturated. The second desaturation detection parameter may be a parameter used to detect whether the second power device is desaturated.

[0043] For example, if the power device currently in a short-circuit state is located at the upper bridge in the H-bridge arm, the desaturation detection parameter that can be selected is A. Further, the first desaturation detection parameter can be A1, and the second desaturation detection parameter can be A2. Among them, A1 and A2 are different desaturation detection parameters. For example, A is a voltage threshold, A1 is less than A2, and is not limited here.

[0044] It should be noted that, since the first desaturation detection parameter and the second desaturation detection parameter are different, different control methods can be used when performing desaturation detection on the first power device and the second power device. In this way, the time when the upper bridge and the lower bridge trigger the desaturation protection can be distinguished, thereby ensuring the safe shutdown of the power device in the circuit and protecting the power device from damage.

[0045] It is understandable that if the first desaturation detection parameter and the second desaturation detection parameter are consistent, some risks may occur. This situation will be explained below.

[0046] It should be noted that in different power module designs, due to practical design limitations, the upper and lower bridge arms (the upper and lower switch bridge arms used to control the direction of current) are often asymmetric. This asymmetry is not only reflected in the physical layout and connection, but may also affect the design of the drive circuit, which in turn has a direct impact on the performance of short-circuit protection. In the current application-side design, the same protection strategy is usually used for the Desat protection of the upper and lower bridge arms, and no differentiated design is made based on the different characteristics of the upper and lower bridge arms. Due to the asymmetry of the upper and lower bridge arms, their response and tolerance to short-circuit faults are different. If a unified protection strategy is adopted, in some cases, the protection mechanism may be too sensitive or not sensitive enough, thus affecting the performance and reliability of the entire system.

[0047] S102: Controlling the first power device and the second power device based on the first desaturation detection parameter and the second desaturation detection parameter, respectively.

[0048] Optionally, a first power device located at the upper bridge may be controlled based on a first desaturation detection parameter, and a second power device located at the lower bridge may be controlled based on a second desaturation detection parameter.

[0049] As an example, if the desaturation detection parameter is a desaturation voltage threshold, and both the first power device and the second power device are MOSFETs, the drain-source voltage (Vds) of the first power device and the second power device can be monitored. The drain-source voltage changes significantly during a short circuit, which can be used as a basis for short circuit detection. Furthermore, the monitored drain-source voltage can be compared with the voltage threshold (desaturation detection parameter). If the monitored voltage value exceeds the desaturation voltage threshold, a desaturation protection mechanism can be triggered, such as soft shutdown or hard shutdown of the power device, to prevent further damage.

[0050] As another example, if the desaturation detection parameter is a desaturation voltage threshold, and both the first power device and the second power device are IGBTs, the collector-emitter voltage (Vce) of the first power device and the second power device can be monitored. In an IGBT, when a short circuit occurs, the collector-to-emitter voltage (Vce) rises rapidly. Furthermore, the monitored collector-emitter voltage can be compared with the desaturation voltage threshold (desaturation detection parameter). If the monitored voltage value exceeds the desaturation voltage threshold, a desaturation protection mechanism can be triggered, such as soft-shutdown or hard-shutdown of the power device to prevent further damage.

[0051] It is understandable that the first desaturation detection parameter and the second desaturation detection parameter are different. For example, if the desaturation detection parameter is a desaturation voltage threshold, the first desaturation detection parameter is recorded as the first desaturation voltage threshold, and the second desaturation detection parameter is recorded as the second desaturation voltage threshold. The first desaturation voltage threshold may be smaller than the second desaturation voltage threshold.

[0052] It should be noted that in the case of a short circuit in the lower bridge, that is, when the second power device in the lower bridge is in a short-circuit state, since the first desaturation voltage threshold can be smaller than the second desaturation voltage threshold, the desaturation detection of the upper bridge can be faster than that of the lower bridge, so that the upper bridge is shut down earlier, the driving voltage drops, and enters a desaturation state. In this way, the short-circuit energy can be borne by the upper and lower bridge arms at the same time, greatly reducing the short-circuit stress of the lower bridge and reducing the risk of pipe explosion.

[0053] In the disclosed embodiment, firstly, a first desaturation detection parameter of a first power device in an H-bridge arm circuit and a second desaturation detection parameter of a second power device are determined, wherein the first desaturation detection parameter and the second desaturation detection parameter are different, and then the first power device and the second power device are controlled based on the first desaturation detection parameter and the second desaturation detection parameter, respectively. Thus, by distinguishing the first desaturation detection parameter and the second desaturation detection parameter, when a short circuit occurs in the upper bridge or the lower bridge in the H-bridge arm circuit, the upper and lower bridge arms simultaneously bear the short circuit energy, thereby ensuring the safety and reliability of the controller. Different control processing of the upper and lower bridges is achieved by different first desaturation detection parameters and second desaturation detection parameters, which can effectively improve the short circuit performance caused by the asymmetry of the upper and lower bridges of the drive circuit.

[0054] Figure 2 FIG. 1 is a flow chart of a circuit control method according to a second embodiment of the present disclosure. Figure 2 As shown, the method includes:

[0055] S201: Determine the position of the power device currently in the short-circuit state in the H bridge arm.

[0056] In the related technology, most designs focus on the consistency of the upper and lower bridge arms during normal switching, and try to keep the switching speeds of the upper and lower bridge arms consistent by taking some measures (such as using different driving power supply voltages, configuring different driving resistors, etc.). Regardless of whether it is the upper or lower bridge arm, as long as the Desat protection condition is triggered, the protection mechanism will be activated without distinguishing which bridge arm has a problem. However, when dealing with extreme working conditions (such as a direct short circuit between the upper and lower bridge arms), since the actual chip-end driving voltage of the lower bridge is much lower than that of the upper bridge, regardless of whether the upper bridge or the lower bridge is short-circuited, only the lower bridge will be deeply desaturated, and the short-circuit energy is concentrated in the lower bridge arm. The lower bridge arm bears the short-circuit energy, the short-circuit stress is large, and the risk of tube explosion is high.

[0057] Figure 3 It is a schematic diagram of an H-bridge arm, ls1 and ls2 are parasitic inductors, T1 represents the power device of the upper bridge, and T2 represents the power device of the lower bridge. Figure 3 The power device is a field effect transistor, in which when T1 is turned on, the internal current source Idesat of the driver chip flows through the power device T1 through the diode D2, and the voltage across the capacitor C1 is clamped at the ds (drain-source) voltage of T1. Under normal circumstances, this voltage is less than the Desat protection threshold. When a short circuit occurs, T1 begins to desaturate, the ds voltage of T1 rises rapidly, and the voltage across C1 also rises rapidly. When it rises to the Desat protection threshold, the Desat protection of the driver chip is triggered.

[0058] Among them, R1 and R2 marked in the figure are resistors used to limit the current or voltage division through the circuit. Vgs1 and Vgs2 are the voltage sources of the upper bridge and the lower bridge respectively. Vbus is the bus voltage.

[0059] As an illustration of a scenario, when a non-Kelvin design is adopted, the layout of the upper and lower bridges of the AMB (Active Metal Brazing Substrate) is asymmetric, resulting in a large difference in parasitic inductance ls1 and ls2. The actual driving voltage of the power device chip end is Vg1_s1 = Vgs1-VR1-Vls1, Vg2_s2 = Vgs2-VR2-Vls2. Among them, Vg1_s1 is the voltage between the gate and source of T1, that is, the actual driving voltage of the T1 power device chip end, and Vg2_s2 is the voltage between the gate and source of T2, that is, the actual driving voltage of the T2 power device chip end. VR1 and VR2 are the voltages at both ends of R1 and R2, respectively. Vls1 and Vls1 are the voltages at both ends of ls1 and ls1, respectively. If the source (s end) of T1 is connected to the motor side, the parasitic inductance ls1 may be much smaller than ls2, Vls1 = ls1*di / dt, Vls2 = ls2*di / dt, and Vg2_s2 is much smaller than Vg1_s1. In this way, regardless of the short circuit of the upper bridge or the lower bridge, the lower bridge T2 will be deeply desaturated, and the short circuit energy will be borne by the lower bridge. The short circuit stress of the lower bridge is much higher than that of the upper bridge, increasing the risk of pipe explosion.

[0060] It should be noted that in order to reduce the risk of the above-mentioned problems, before starting the desaturation short-circuit mechanism in the embodiment of the present disclosure, the position of the short-circuited power device in the H-bridge arm can be determined first, such as the upper bridge or the lower bridge, and then a short-circuit protection strategy can be adopted in a targeted manner to improve the working safety of the H-bridge arm circuit.

[0061] S202: Determine a current first desaturation detection parameter and a second desaturation detection parameter according to a position of the power device currently in a short-circuit state in the H bridge arm.

[0062] It should be noted that under short-circuit conditions, the output voltage of the power device will undergo complex changes, including saturation, desaturation and intermediate states. These state changes will affect the switching speed, making the entire switching process much slower than normal. In the disclosed embodiment, the protection parameters can be reasonably configured according to the position of the power device currently in the short-circuit state in the H-bridge arm.

[0063] Optionally, the first power device is located at an upper bridge in the H-bridge arm, and the second power device is located at a lower bridge in the H-bridge arm.

[0064] Optionally, when the power device currently in the short-circuit state is located in the upper bridge of the H bridge arm, the current first desaturation detection parameter is determined to be the first blanking Blank time, and the current second desaturation detection parameter is determined to be the second blanking Blank time.

[0065] The first Blank time is smaller than the second Blank time.

[0066] Among them, Blank time (also called desaturation detection blind time or leading blanking time) is a key parameter.

[0067] It should be noted that Blank time refers to a time window set after the power device is turned on in order to avoid false detection caused by the circuit (for example, false triggering caused by parasitic capacitance). During this period of time, even if the increase of Vce or Vds is detected, it will not be immediately determined as a desaturation fault, thereby ensuring that the protection mechanism is triggered only in the case of a real short circuit. By setting a suitable Blank time, it can be ensured that when a real short circuit fault occurs, Vce or Vds has stably increased to a threshold sufficient to trigger the protection mechanism, thereby improving the accuracy of detection.

[0068] The setting of Blank time can be determined based on actual experience. The setting of Blank time needs to balance the relationship between false triggering and detection accuracy. If the Blank time is set too short, false triggering may occur. If it is set too long, the detection of short-circuit faults may be delayed. The configuration can be done by fully considering the circuit parameters, load characteristics, and performance of power devices in actual application scenarios in advance.

[0069] The first Blank time is the Blank time corresponding to the first power device, and the second Blank time is the Blank time corresponding to the second power device.

[0070] The following is an analysis of the case where the upper bridge is short-circuited. The initial state of the circuit can be that the lower bridge is in the on state, and the drain-source voltage Vds of the lower bridge is maintained at a lower on-state voltage drop. The upper bridge has not yet turned on, and the drive voltage is ready. If the upper bridge is short-circuited, the upper bridge will try to enter the saturation state due to the high drive voltage. Ideally, if the upper bridge is fully saturated, its Vds should drop rapidly from the bus voltage to its on-state voltage drop. However, in the case of a short circuit, this transition may be very rapid and unstable. Due to the short circuit of the upper bridge, the current may flow back through the lower bridge, and the lower bridge may therefore enter a desaturated state, and its Vds starts to rise from the on-state voltage drop, and may even approach the bus voltage.

[0071] In order to improve the performance of the upper bridge short circuit, the device can select the current first desaturation detection parameter and the second desaturation detection parameter to be the first Blank time and the second Blank time respectively, and make the first Blank time smaller than the second Blank time.

[0072] It should be noted that there is a Blank time as a delay between the issuance of the drive signal and the actual detection of the Vd voltage. When the Blank time of the upper bridge is less than that of the lower bridge (the first Blank time is less than the second Blank time), it means that the upper bridge will start monitoring and detecting Vds earlier, so that short circuits or other abnormal conditions can be detected more quickly. Since the first Blank time is shorter, the upper bridge can enter the desaturation state before the lower bridge, or at the same time as the lower bridge, thereby reducing the damage to the circuit caused by the short-circuit current.

[0073] In a bridge circuit, the upper and lower bridge arms need to work together to control the phase current of the motor. When a short circuit occurs in the upper bridge, if the upper bridge still maintains a long Blank time, it may not be able to respond to the short circuit in time, resulting in uneven current distribution and additional thermal stress. By shortening the Blank time of the upper bridge, it can ensure that the upper and lower bridge arms can respond quickly in the event of a short circuit, thereby balancing the load and reducing the risk of damage.

[0074] Alternatively, when the power device currently in the short-circuit state is located in the upper bridge of the H bridge arm, it can be determined that the current first desaturation detection parameter is the first detection current and the current second desaturation detection parameter is the second detection current.

[0075] The first detection current is greater than the second detection current.

[0076] Optionally, a first detection current may be provided to the first power device based on a first current source, and a second detection current may be provided to the second power device based on a second current source, wherein the first current source may be an internal current source in the upper bridge driver chip, and the second current source may be an internal current source in the lower bridge driver chip.

[0077] The first detection current can be Figure 3 Increasing the current value of the internal current source Idesat can charge C1 faster, so that the voltage across C1 reaches the Desat threshold faster, thereby triggering the protection in advance. In the disclosed embodiment, in order to enable the upper bridge to trigger the protection in advance and reach the Desat threshold faster, a larger first detection current can be set so that the first detection current is higher than the second detection current.

[0078] The first detection current can charge C1 in the upper bridge circuit. Similarly, the second detection current can charge the corresponding capacitor at the corresponding position of the lower bridge. Taking the upper bridge as an example, the voltage across C1 in the upper bridge reflects the ds terminal voltage Vds of T1.

[0079] like Figure 3 As shown, when the power device T1 is operating normally, its drain-source voltage (Vds) is usually low. When Vds exceeds the desaturation voltage threshold, it is considered that the power device may enter a desaturation state, thereby triggering a protection mechanism to shut down the device.

[0080] The internal current source Idesat in the driver chip charges the capacitor C1 through the diode D2, and the voltage across C1 changes with the ds voltage. When Vds rises, the voltage of C1 also rises, and when it reaches the desaturation voltage threshold, the protection circuit is activated.

[0081] It should be noted that the driver chip in the embodiment of the present disclosure can be a configurable driver chip with SPI (Serial Peripheral Interface) function, and desaturation detection parameters such as desaturation voltage threshold, detection current and blanking time can be set by programming different registers to adapt to different application scenarios and device characteristics.

[0082] That is, desaturation detection parameters, such as desaturation voltage threshold, detection current and blanking time, can be configured and stored in the driver chip. In addition, different register configurations can be used to set different desaturation detection parameters.

[0083] S203: Controlling the first power device and the second power device based on the first desaturation detection parameter and the second desaturation detection parameter, respectively.

[0084] It should be noted that the specific implementation of step S203 may refer to the above embodiment and will not be described in detail here.

[0085] In the disclosed embodiment, firstly, according to the position of the power device currently in a short-circuit state in the H-bridge arm, the current first desaturation detection parameter and the second desaturation detection parameter are determined, and then the first power device and the second power device are controlled based on the first desaturation detection parameter and the second desaturation detection parameter, respectively, and then the first power device and the second power device are controlled based on the first desaturation detection parameter and the second desaturation detection parameter, respectively. Thus, in the bridge circuit, corresponding short-circuit detection parameters, such as blanking time and detection current, can be configured according to the different behaviors of the upper bridge and the lower bridge to achieve effective short-circuit protection, realize the differentiated control processing of the upper and lower bridges, and effectively improve the short-circuit performance caused by the asymmetry of the upper and lower bridges of the drive circuit.

[0086] Figure 4 FIG. 1 is a flow chart of a circuit control method according to a third embodiment of the present disclosure. Figure 4 As shown, the method includes:

[0087] S301: Determine the position of the power device currently in the short-circuit state in the H bridge arm.

[0088] It should be noted that the specific implementation of step S301 can refer to the above embodiment and will not be described in detail here.

[0089] S302: When the power device currently in a short-circuit state is located in an upper bridge in an H-bridge arm, determine that a current first desaturation detection parameter is a first Blank time and a first detection current, and a current second desaturation detection parameter is a second Blank time and a second detection current.

[0090] The first Blank time is shorter than the second Blank time, and the first detection current is larger than the second detection current.

[0091] It should be noted that in the embodiments of the present disclosure, the specific description of the first Blank time and the first detection current, the second Blank time and the second detection current can refer to the above embodiments and will not be repeated here.

[0092] In the embodiment of the present disclosure, the first desaturation detection parameter may include the first Blank time and the first detection current at the same time, and the second desaturation detection parameter may include the second Blank time and the second detection current at the same time.

[0093] It should be noted that, compared with solely controlling the first Blank time to be less than the second Blank time, or solely controlling the first detection current to be greater than the second detection current, by controlling the first Blank time to be less than the second Blank time and the first detection current to be greater than the second detection current, the upper bridge can trigger the Desat safety shutdown faster, thereby driving the voltage to drop and the upper bridge entering a desaturation state.

[0094] S303: Controlling the first power device and the second power device based on the first desaturation detection parameter and the second desaturation detection parameter, respectively.

[0095] It should be noted that the specific implementation of step S303 can refer to the above embodiment and will not be described in detail here.

[0096] In the disclosed embodiment, the position of the power device currently in a short-circuit state in the H-bridge arm is first determined, and then, when the power device currently in a short-circuit state is located in the upper bridge in the H-bridge arm, the current first desaturation detection parameter is determined to be the first Blank time and the first detection current, and the current second desaturation detection parameter is the second Blank time and the second detection current, and then the first power device and the second power device are controlled based on the first desaturation detection parameter and the second desaturation detection parameter, respectively. Thus, since the first Blank time is less than the second Blank time, and the first detection current is greater than the second detection current, the output voltage (Vds or Vce) of the upper bridge can trigger the desaturation protection in advance before it actually drops to the desaturation voltage threshold, thereby ensuring that both the upper bridge and the lower bridge enter the desaturation state, preventing further damage, and ensuring the working safety of the motor controller.

[0097] Figure 5 FIG. 4 is a flow chart of a circuit control method according to a fourth embodiment of the present disclosure. Figure 5 As shown, the method includes:

[0098] S401: Determine the position of the power device currently in the short-circuit state in the H bridge arm.

[0099] It should be noted that the specific implementation of step S401 can refer to the above embodiment and will not be described in detail here.

[0100] S402: When the power device currently in a short-circuit state is located in the lower bridge of the H-bridge arm, determine that the current first desaturation detection parameter is the first desaturation voltage threshold, the current second desaturation detection parameter is the second desaturation voltage threshold, and the first desaturation voltage threshold is less than the second desaturation voltage threshold.

[0101] The first desaturation voltage threshold may be a desaturation voltage threshold of a first power device in the upper bridge, and the second desaturation voltage threshold may be a desaturation voltage threshold of a second power device in the lower bridge.

[0102] It can be understood that the initial state of the circuit may be: the upper bridge is already in the on state, and the lower bridge should be in the off state but is accidentally turned on due to a short circuit.

[0103] Taking MOSFET as an example, for the upper bridge, since the upper bridge is already turned on and its drive voltage is high, it will continue to remain in the on state. However, due to the short circuit of the lower bridge, the upper bridge may experience a "micro-de-saturation" state, that is, Vds (drain to source voltage) will rise slightly due to current shunting, but it will not usually reach a completely de-saturated state (the voltage will not rise to the bus voltage). This is because some current is still flowing in the upper bridge, although part of the current is shunted by the short circuit path of the lower bridge.

[0104] For the lower bridge, the lower bridge quickly enters a fully desaturated state due to the short circuit, and its Vds will undergo a change process. First, due to the short circuit, the Vds of the lower bridge may start to drop from the bus voltage, because the short circuit current will increase rapidly, resulting in an increase in the voltage drop across the lower bridge. However, due to the parasitic inductance in the loop, these inductances will hinder the rapid change of current, so the drop in Vds may be short-lived, and may then rebound back to near the bus voltage due to the effect of the inductance.

[0105] In the embodiment of the present disclosure, in order to prevent short circuit from causing damage to the system, the current first desaturation detection parameter can be determined as the first desaturation voltage threshold, the current second desaturation detection parameter can be determined as the second desaturation voltage threshold, and the first desaturation voltage threshold is made smaller than the second desaturation voltage threshold. In this way, the upper bridge can trigger the protection mechanism when Vds rises slightly.

[0106] It should be noted that the above example is only an illustrative description and is not intended to limit the present disclosure.

[0107] S403: When the output terminal voltage of the first power device is greater than the first desaturation voltage threshold, the first power device is turned off. Alternatively, when the output terminal voltage of the second power device is greater than the second desaturation voltage threshold, the second power device is turned off.

[0108] It is understood that, for a power device MOSFET, the output terminal voltage may be the voltage between the drain (D) and the source (S), namely Vds. For a power device IGBT, the output terminal voltage may be the voltage between the collector (C) and the emitter (E), namely Vce, which is not limited here.

[0109] Optionally, when it is detected that the output voltage of the first power device is greater than the first desaturation voltage threshold, the system can immediately trigger a protection mechanism to shut down the first power device, thereby preventing the device from continuing to operate under short-circuit or overload conditions, thereby avoiding serious consequences such as overheating, damage or even explosion.

[0110] Optionally, when it is detected that the output voltage of the second power device is greater than the second desaturation voltage threshold set by the device, the device should also be immediately shut down. This ensures that no matter which device is abnormal, the system can respond quickly and take measures to protect the safety of the entire circuit.

[0111] In the disclosed embodiment, the position of the power device currently in a short-circuit state in the H-bridge arm is first determined, and then when the power device currently in a short-circuit state is located in the lower bridge in the H-bridge arm, the current first desaturation detection parameter is determined to be the first desaturation voltage threshold, and the current second desaturation detection parameter is the second desaturation voltage threshold, and the first desaturation voltage threshold is less than the second desaturation voltage threshold, and then when the output terminal voltage of the first power device is greater than the first desaturation voltage threshold, the first power device is turned off. Or, when the output terminal voltage of the second power device is greater than the second desaturation voltage threshold, the second power device is turned off. Thus, the upper bridge can trigger the protection mechanism when the output terminal voltage (Vds or Vce) rises slightly, and by performing desaturation detection on the output terminal voltage of the power device and shutting down the device in time when an abnormal situation is detected, the safe and stable operation of the power electronic system can be effectively protected, and the short-circuit energy standard during the short-circuit screening of the chip offline can be reduced, the yield rate can be improved, and the cost can be reduced.

[0112] For example, Figure 6 This is a comparison chart of simulation results. Figure 6 As shown, the horizontal axis is time, the unit is us, and the vertical axis (Y2) is the current value, the unit is A. The vertical axis (Y1) is the voltage value, the unit is kV. The blue solid line and the dotted line are the curves of the current changing with time. The green solid line and the dotted line are the curves of the drain-source voltage (Vds) of the lower bridge changing with time. The red solid line and the dotted line are the curves of the drain-source voltage (Vds) of the lower bridge changing with time.

[0113] The solid line is the simulation result of the control method of the circuit without using the embodiment of the present disclosure, and the dotted line is the simulation result of the control method of the circuit with the embodiment of the present disclosure. Figure 6It can be seen that after using this solution, the upper bridge shuts down after detecting Desat, causing the upper bridge to enter a deep desaturation state. Between 16.2us and 16.7us, the short-circuit energy (the overlapping part of the green dotted line and the blue dotted line) is transferred from the lower bridge to the upper bridge, thereby reducing the short-circuit energy of the lower bridge, reducing the short-circuit stress of the lower bridge, and reducing the risk of pipe explosion.

[0114] Figure 7 Schematic diagram of a control device of a circuit according to an embodiment of the present disclosure. Figure 7 As shown, the control device 500 of the circuit includes:

[0115] A determination module 510, configured to determine a first desaturation detection parameter of a first power device in an H-bridge arm circuit, and a second desaturation detection parameter of a second power device, wherein the first desaturation detection parameter is different from the second desaturation detection parameter;

[0116] The control module 520 is configured to control the first power device and the second power device based on the first desaturation detection parameter and the second desaturation detection parameter, respectively.

[0117] Optionally, there are multiple desaturation detection parameters, and the determination module includes:

[0118] A first determining unit, used to determine the position of the power device currently in a short-circuit state in the H bridge arm;

[0119] The second determination unit is used to determine the current first desaturation detection parameter and the second desaturation detection parameter according to the position of the power device currently in the short-circuit state in the H-bridge arm.

[0120] Optionally, the first power device is located at an upper bridge in the H bridge arm, the second power device is located at a lower bridge in the H bridge arm, and the second determining unit is specifically configured to:

[0121] In a case where the power device currently in a short-circuit state is located in an upper bridge in the H-bridge arm, determining that a current first desaturation detection parameter is a first blanking Blank time, and a current second desaturation detection parameter is a second blanking Blank time, wherein the first Blank time is less than the second Blank time;

[0122] or,

[0123] It is determined that the current first desaturation detection parameter is the first detection current, and the current second desaturation detection parameter is the second detection current, wherein the first detection current is greater than the second detection current.

[0124] Optionally, the first power device is located at an upper bridge in the H bridge arm, the second power device is located at a lower bridge in the H bridge arm, and the second determining unit is specifically configured to:

[0125] In the case where the power device currently in a short-circuit state is located in the upper bridge of the H bridge arm,

[0126] Determine that the current first desaturation detection parameter is the first Blank time and the first detection current, and the current second desaturation detection parameter is the second Blank time and the second detection current,

[0127] The first Blank time is shorter than the second Blank time, and the first detection current is larger than the second detection current.

[0128] Optionally, the second determining unit is further configured to:

[0129] Providing the first detection current to the first power device based on a first current source;

[0130] The second detection current is provided to the second power device based on a second current source.

[0131] Optionally, the first power device is located at an upper bridge in the H bridge arm, the second power device is located at a lower bridge in the H bridge arm, and the second determining unit is specifically configured to:

[0132] In the case where the power device currently in a short-circuit state is located at the lower bridge in the H-bridge arm,

[0133] It is determined that the current first desaturation detection parameter is a first desaturation voltage threshold, the current second desaturation detection parameter is a second desaturation voltage threshold, and the first desaturation voltage threshold is less than the second desaturation voltage threshold.

[0134] Optionally, the control module is specifically used to:

[0135] When the output terminal voltage of the first power device is greater than the first desaturation voltage threshold, shutting down the first power device;

[0136] Alternatively, when the output terminal voltage of the second power device is greater than the second desaturation voltage threshold, the second power device is turned off.

[0137] In the disclosed embodiment, firstly, a first desaturation detection parameter of a first power device in an H-bridge arm circuit and a second desaturation detection parameter of a second power device are determined, wherein the first desaturation detection parameter and the second desaturation detection parameter are different, and then the first power device and the second power device are controlled based on the first desaturation detection parameter and the second desaturation detection parameter, respectively. Thus, by distinguishing the first desaturation detection parameter and the second desaturation detection parameter, when a short circuit occurs in the upper bridge or the lower bridge in the H-bridge arm circuit, the upper and lower bridge arms simultaneously bear the short circuit energy, thereby ensuring the safety and reliability of the controller. Different control processing of the upper and lower bridges is achieved by different first desaturation detection parameters and second desaturation detection parameters, which can effectively improve the short circuit performance caused by the asymmetry of the upper and lower bridges of the drive circuit.

[0138] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0139] Figure 8 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure is shown. Figure 8 The electronic device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0140] like Figure 8 As shown, the electronic device 12 is in the form of a general purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processing unit 16).

[0141] The bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnection (PCI) bus.

[0142] The electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 12, including volatile and non-volatile media, removable and non-removable media.

[0143] The memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 8 Not shown, often called a "hard drive").

[0144] although Figure 8 Not shown in the figure, a disk drive for reading and writing a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk (e.g., a compact disc read only memory (CD-ROM), a digital versatile disc read only memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the various embodiments of the present disclosure.

[0145] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28, such program modules 42 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described in the present disclosure.

[0146] The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 12, and / or may communicate with any device that enables the electronic device 12 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed via an input / output (I / O) interface 22. Furthermore, the electronic device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via a bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0147] The processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28, such as implementing the circuit control method mentioned in the above embodiments.

[0148] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the applications disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0149] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

[0150] It should be noted that, in the description of the present disclosure, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present disclosure, unless otherwise specified, the meaning of "plurality" is two or more.

[0151] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present disclosure includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present disclosure belong.

[0152] It should be understood that the various parts of the present disclosure can be implemented in hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0153] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0154] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. The above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0155] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0156] Although the embodiments of the present disclosure have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present disclosure. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present disclosure.

Claims

1. A circuit control method, characterized in that: include: Determining a first desaturation detection parameter of a first power device in an H-bridge arm circuit and a second desaturation detection parameter of a second power device, wherein the first desaturation detection parameter and the second desaturation detection parameter are different; The first power device and the second power device are controlled based on the first desaturation detection parameter and the second desaturation detection parameter, respectively.

2. The method according to claim 1, characterized in that: There are multiple desaturation detection parameters, and determining a first desaturation detection parameter of a first power device in the H-bridge arm circuit and a second desaturation detection parameter of a second power device includes: Determining the position of the power device currently in a short-circuit state in the H-bridge arm; According to the position of the power device currently in the short-circuit state in the H-bridge arm, the current first desaturation detection parameter and the second desaturation detection parameter are determined.

3. The method according to claim 2, characterized in that The first power device is located at the upper bridge of the H bridge arm, and the second power device is located at the lower bridge of the H bridge arm. The determining of the current first desaturation detection parameter and the second desaturation detection parameter according to the position of the power device currently in the short-circuit state in the H-bridge arm includes: In a case where the power device currently in a short-circuit state is located in an upper bridge in the H-bridge arm, determining that a current first desaturation detection parameter is a first blanking Blank time, and a current second desaturation detection parameter is a second blanking Blank time, wherein the first Blank time is less than the second Blank time; or, It is determined that the current first desaturation detection parameter is the first detection current, and the current second desaturation detection parameter is the second detection current, wherein the first detection current is greater than the second detection current.

4. The method according to claim 2, characterized in that: The first power device is located at the upper bridge of the H bridge arm, and the second power device is located at the lower bridge of the H bridge arm. The determining of the current first desaturation detection parameter and the second desaturation detection parameter according to the position of the power device currently in the short-circuit state in the H-bridge arm includes: In the case where the power device currently in a short-circuit state is located in the upper bridge of the H bridge arm, Determine that the current first desaturation detection parameter is the first Blank time and the first detection current, and the current second desaturation detection parameter is the second Blank time and the second detection current, The first Blank time is shorter than the second Blank time, and the first detection current is larger than the second detection current.

5. The method according to claim 4, characterized in that Also includes: Providing the first detection current to the first power device based on a first current source; The second detection current is provided to the second power device based on a second current source.

6. The method according to claim 2, characterized in that The first power device is located at the upper bridge of the H bridge arm, and the second power device is located at the lower bridge of the H bridge arm. The determining of the current first desaturation detection parameter and the second desaturation detection parameter according to the position of the power device currently in the short-circuit state in the H-bridge arm includes: In the case where the power device currently in a short-circuit state is located at the lower bridge in the H-bridge arm, It is determined that the current first desaturation detection parameter is a first desaturation voltage threshold, the current second desaturation detection parameter is a second desaturation voltage threshold, and the first desaturation voltage threshold is less than the second desaturation voltage threshold.

7. The method according to claim 6, characterized in that The controlling the first power device and the second power device based on the first desaturation detection parameter and the second desaturation detection parameter respectively includes: When the output terminal voltage of the first power device is greater than the first desaturation voltage threshold, shutting down the first power device; Alternatively, when the output terminal voltage of the second power device is greater than the second desaturation voltage threshold, the second power device is turned off.

8. A circuit control device, characterized in that: include: a determination module, configured to determine a first desaturation detection parameter of a first power device in an H-bridge arm circuit, and a second desaturation detection parameter of a second power device, wherein the first desaturation detection parameter is different from the second desaturation detection parameter; A control module is used to control the first power device and the second power device based on the first desaturation detection parameter and the second desaturation detection parameter respectively.

9. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-7.