Control method and control circuit of voltage converter, vehicle and computer medium
By controlling the switching transistor in the voltage converter according to the overvoltage signal and the command signal, a target loop is formed to reduce the inductor current, which solves the problem of continuous capacitor charging, achieves effective overvoltage protection, and prevents hardware damage.
Patent Information
- Application Number
- CN202411252192.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2024-12-13
AI Technical Summary
In existing voltage converters, under overvoltage conditions, current flows through the anti-parallel diode and capacitor of the switching transistor to form a circuit, causing the capacitor voltage to rise continuously, which cannot effectively protect against overvoltage.
By controlling the voltage converter to enter overvoltage protection based on the overvoltage signal and the command signal, the first and second switching transistors are disconnected, and the third and fourth switching transistors are closed to form the target circuit. The inductor current flows through the circuit, and the inductor current is reduced by utilizing the losses in the circuit to avoid capacitor charging.
This effectively avoids continuous charging of the capacitor, prevents hardware damage, and improves the accuracy and efficiency of overvoltage protection.
Smart Images

Figure CN119134870A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and more specifically, to a control method for a voltage converter, a control circuit, a vehicle, and a computer-readable storage medium. Background Art
[0002] The voltage converter can step up or down the voltage. Capacitors are usually connected in parallel to the busbars on both sides of the voltage converter to stabilize the voltage. In the event of overvoltage on the capacitor, the operation of the voltage converter can be stopped by turning off all the switching tubes in the voltage converter, thereby performing overvoltage protection. In related technologies, since the current can still charge the capacitor through the loop formed by the anti-parallel diode of the switching tube and the capacitor, the voltage of the capacitor will continue to rise, and effective overvoltage protection cannot be formed. Summary of the invention
[0003] Embodiments of the present application provide a control method of a voltage converter, a control circuit, a vehicle, and a computer-readable storage medium.
[0004] The embodiment of the present application provides a control method for a voltage converter, wherein the voltage converter includes a first switch tube, a second switch tube, a third switch tube, a fourth switch tube and an inductor, wherein the first end of the first switch tube, the second switch tube, the third switch tube and the first end of the fourth switch tube are electrically connected to the inductor respectively, and the second end of the third switch tube is electrically connected to the second end of the fourth switch tube, and the control method includes:
[0005] Controlling the voltage converter to enter overvoltage protection according to an overvoltage signal and a command signal, wherein the overvoltage signal is determined according to a voltage of a capacitor of the voltage converter and a preset voltage threshold, and the command signal is determined according to an inductor current and a preset current threshold, wherein the inductor current is a current flowing through an inductor of the voltage converter;
[0006] When the overvoltage protection is entered, controlling the first switch tube and the second switch tube of the voltage converter to be disconnected;
[0007] The third switch tube and the fourth switch tube of the voltage converter are controlled to be closed. When the third switch tube and the fourth switch tube are closed, the third switch tube, the fourth switch tube and the inductor form a target loop, and the inductor current can flow through the target loop.
[0008] In this way, the control method, control circuit, vehicle and computer-readable storage medium of the embodiment of the present application control the third switch tube and the fourth switch tube to close according to the overvoltage signal and the command signal, so that the third switch tube, the fourth switch tube and the inductor form a target loop, so that when the overvoltage protection is triggered, the inductor current can flow through the target loop. Due to the loss in the target loop, the inductor current gradually decreases, thereby avoiding the hardware damage caused by the inductor current continuously charging the capacitor of the voltage converter.
[0009] In some embodiments, controlling the voltage converter to enter overvoltage protection according to the overvoltage signal and the command signal includes:
[0010] Determining the overvoltage signal by comparing the voltage of the capacitor of the voltage converter with the preset voltage threshold;
[0011] Determining the command signal according to the voltage of the capacitor, the preset voltage threshold, the inductor current and the preset current threshold;
[0012] When the overvoltage signal is a first overvoltage signal, triggering the overvoltage protection;
[0013] In the case where the overvoltage protection is triggered, if the command signal is a first command signal, controlling the voltage converter to enter the overvoltage protection;
[0014] When the overvoltage protection is triggered, if the command signal is the second command signal, the first switch tube, the second switch tube, the third switch tube and the fourth switch tube are controlled to be disconnected.
[0015] In this way, whether to enter overvoltage protection can be determined based on the command signal and the overvoltage signal. When the overvoltage signal is the first overvoltage signal and the command signal is the first command signal, the overvoltage protection is entered; when the overvoltage signal is the first overvoltage signal and the command signal is the second command signal, all switch tubes are controlled to be disconnected at the same time.
[0016] In some embodiments, the preset voltage threshold includes a first voltage threshold and a second voltage threshold, and the determining the overvoltage signal by comparing the voltage of the capacitor of the voltage converter with the preset voltage threshold includes:
[0017] When the voltage of the first capacitor of the voltage converter is greater than the first voltage threshold, or the voltage of the second capacitor of the voltage converter is greater than the second voltage threshold, the overvoltage signal is determined to be the first overvoltage signal.
[0018] In this way, whether the overvoltage protection is triggered can be determined by comparing the first capacitance with the first voltage threshold, or by comparing the second capacitance with the second voltage threshold, thereby determining the overvoltage signal.
[0019] In some embodiments, the preset current threshold includes a first current threshold and a second current threshold, and determining the command signal according to the voltage of the capacitor, the preset voltage threshold, the inductor current and the preset current threshold includes:
[0020] When the voltage of the first capacitor of the voltage converter is greater than the preset voltage threshold and the inductor current is less than the first current threshold, or when the voltage of the second capacitor of the voltage converter is greater than the preset voltage threshold and the inductor current is greater than the second current threshold, determine that the command signal is the first command signal, the first current threshold is a negative value, and the second current threshold is a positive value;
[0021] Otherwise, it is determined that the instruction signal is the second instruction signal.
[0022] In this way, when the voltage of the first capacitor of the voltage converter is greater than the first voltage threshold and the inductor current is less than the first current threshold, or when the voltage of the second capacitor of the voltage converter is greater than the second voltage threshold and the inductor current is greater than the second current threshold, the command signal is determined to be the first command signal to control the voltage converter to enter overvoltage protection; otherwise, all switching tubes are controlled to be turned off at the same time, so that it is possible to more accurately select whether to enter overvoltage protection and improve the efficiency of overvoltage protection.
[0023] In some embodiments, determining the command signal according to the voltage of the capacitor, the preset voltage threshold, the inductor current, and the preset current threshold includes:
[0024] In the case where the overvoltage protection is triggered, if the absolute value of the inductor current is greater than a third current threshold, it is determined that the command signal is the first command signal.
[0025] In this way, when the overvoltage protection is triggered and the absolute value of the inductor current is greater than the third current threshold, the command signal is determined to be the first command signal to control the voltage converter to enter the overvoltage protection.
[0026] In some embodiments, determining the command signal according to the voltage of the capacitor, the preset voltage threshold, the inductor current, and the preset current threshold includes:
[0027] In the case where the overvoltage protection is triggered, if the absolute value of the inductor current is less than a third current threshold, the command signal is determined to be the second command signal.
[0028] In this way, when the inductor current is less than the third current threshold, the command signal is determined to be the second command signal to control the switch tubes of the voltage converter to be turned off, thereby stopping the operation of the voltage converter.
[0029] In some embodiments, the control method further comprises:
[0030] When the overvoltage protection is triggered, the first overvoltage signal is latched to maintain the overvoltage signal as the first overvoltage signal.
[0031] In this way, after the overvoltage protection is triggered, the overvoltage signal is latched as the first overvoltage signal to avoid frequent switching between the overvoltage signal and the command signal due to voltage fluctuation of the capacitor.
[0032] In some embodiments, the voltage converter includes a plurality of voltage converters, each of which corresponds to one command signal, and the step of controlling the voltage converter to enter overvoltage protection according to the overvoltage signal and the command signal includes:
[0033] According to the overvoltage signal and the instruction signal corresponding to the voltage converter, control the voltage converter to enter the overvoltage protection respectively; or,
[0034] When one of the voltage converters enters the overvoltage protection, all the voltage converters are controlled to enter the overvoltage protection.
[0035] In this way, multiple voltage converters can be controlled to enter overvoltage protection respectively, or when one voltage converter enters overvoltage protection, all voltage converters can be controlled to enter overvoltage protection simultaneously to perform overvoltage protection on the capacitor.
[0036] In some embodiments, after entering the overvoltage protection, the control method includes:
[0037] comparing the inductor current with a preset exit threshold;
[0038] When the absolute value of the inductor current is less than a preset exit threshold, controlling the voltage converter to exit the overvoltage protection;
[0039] When the overvoltage protection is exited, the third switch tube and the fourth switch tube are controlled to be disconnected.
[0040] In this way, the overvoltage protection can be exited when the absolute value of the inductor current is less than the preset exit threshold, so as to achieve precise control of the overvoltage protection.
[0041] In some embodiments, the voltage converter includes a plurality of steps, after entering the overvoltage protection, comparing the inductor current with a preset exit threshold, including:
[0042] comparing the inductor currents of the plurality of voltage converters with the preset exit thresholds respectively; and,
[0043] When the absolute value of the inductor current is less than a preset exit threshold, controlling the voltage converter to exit the overvoltage protection comprises:
[0044] When the absolute values of the inductor currents of all the voltage converters are less than the preset exit threshold, controlling all the voltage converters to exit the overvoltage protection; or,
[0045] When the absolute value of the inductor current of at least one of the voltage converters is smaller than the preset exit threshold, at least one of the voltage converters is controlled to exit the overvoltage protection.
[0046] In this way, when the inductor currents of all voltage converters are less than the preset exit threshold, the third switch tubes and the fourth switch tubes of multiple voltage converters are controlled to be disconnected; or when the inductor current of at least one voltage converter is less than the preset exit threshold, the voltage converter is controlled to exit the overvoltage protection, so as to control multiple voltage converters to exit the overvoltage protection.
[0047] In some embodiments, when the absolute value of the inductor current is less than a preset exit threshold, controlling the voltage converter to exit the overvoltage protection includes:
[0048] When the absolute value of the inductor current is less than a preset exit threshold and lasts for a preset time period, the voltage converter is controlled to exit the overvoltage protection.
[0049] In this way, by controlling the voltage converter to exit the overvoltage protection when the absolute value of the inductor current is less than the preset exit threshold and lasts for a preset time, it is possible to further prevent the inductor current from charging the capacitor.
[0050] The present application provides a control circuit of a voltage converter, wherein the voltage converter includes a first switch tube, a second switch tube, a third switch tube, a fourth switch tube and an inductor, wherein the first end of the first switch tube, the second switch tube, the third switch tube and the first end of the fourth switch tube are electrically connected to the inductor respectively, and the second end of the third switch tube is electrically connected to the second end of the fourth switch tube, and the control circuit includes:
[0051] The first control subcircuit controls the voltage converter to enter overvoltage protection according to an overvoltage signal and a command signal, wherein the overvoltage signal is determined according to the voltage of the capacitor of the voltage converter and a preset voltage threshold, and the command signal is determined according to the inductor current and a preset current threshold, wherein the inductor current is the current flowing through the inductor of the voltage converter.
[0052] a second control subcircuit, in the case of entering the overvoltage protection, controlling the first switch tube and the second switch tube of the voltage converter to be disconnected; and controlling the third switch tube and the fourth switch tube of the voltage converter to be closed, wherein when the third switch tube and the fourth switch tube are closed, the third switch tube, the fourth switch tube and the inductor form a target loop, and the inductor current can flow through the target loop;
[0053] An embodiment of the present application provides a vehicle, which includes one or more processors and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of the control method of any of the above embodiments are implemented.
[0054] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the steps of the control method of any of the above embodiments are implemented.
[0055] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0057] Figure 1 It is a flow chart of a control method according to an embodiment of the present application;
[0058] Figure 2 is a circuit diagram of a voltage converter according to an embodiment of the present application;
[0059] Figure 3 It is a flow chart of a control method according to an embodiment of the present application;
[0060] Figure 4 is a schematic diagram of a confirmation process of an overvoltage signal and a command signal according to an embodiment of the present application;
[0061] Figure 5 It is a schematic diagram of controlling the operation of a switch tube according to an overvoltage signal and a command signal in an implementation mode of the present application;
[0062] Figure 6 It is a flow chart of a control method according to an embodiment of the present application;
[0063] Figure 7 It is a flow chart of a control method according to an embodiment of the present application;
[0064] Figure 8 It is a flow chart of a control method according to an embodiment of the present application;
[0065] Fig. 9 It is a flow chart of a control method according to an embodiment of the present application;
[0066] Fig.10 It is a flow chart of a control method according to an embodiment of the present application;
[0067] Fig.11 It is a flow chart of a control method according to an embodiment of the present application;
[0068] Fig.12 It is a flow chart of a control method according to an embodiment of the present application;
[0069] Fig.13 It is a flow chart of a control method according to an embodiment of the present application;
[0070] Fig.14 It is a flow chart of a control method according to an embodiment of the present application;
[0071] Fig.15 It is a partial schematic diagram of a control circuit according to an embodiment of the present application. DETAILED DESCRIPTION
[0072] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.
[0073] The voltage converter can step up or down the voltage. Capacitors are usually connected in parallel to the busbars on both sides of the voltage converter to stabilize the voltage. In the event of overvoltage on the capacitor, all the switching tubes in the voltage converter can be turned off to stop the operation of the voltage converter, thereby providing overvoltage protection.
[0074] In the related art, since the current can still charge the capacitor through the loop formed by the anti-parallel diode of the switch tube and the capacitor, the voltage of the capacitor will continue to rise, and effective overvoltage protection cannot be formed.
[0075] Based on the above problems you may encounter, please refer to Figure 1 and Figure 2The embodiment of the present application provides a control method for a voltage converter 100, wherein the voltage converter 100 includes a first switch tube 10, a second switch tube 20, a third switch tube 30, a fourth switch tube 40 and an inductor 50, wherein the first end of the first switch tube 10, the second switch tube 20, the third switch tube 30, and the first end of the fourth switch tube 40 are electrically connected to the inductor 50 respectively, and the second end of the third switch tube 30 is electrically connected to the second end of the fourth switch tube 40, and the control method includes:
[0076] 01: Control the voltage converter 100 to enter overvoltage protection according to the overvoltage signal and the command signal, the overvoltage signal is determined according to the voltage of the capacitor of the voltage converter 100 and the preset voltage threshold, the command signal is determined according to the inductor current and the preset current threshold, the inductor current is the current flowing through the inductor 50 of the voltage converter 100;
[0077] 02: When the overvoltage protection is activated, the first switch tube 10 and the second switch tube 20 of the voltage converter 100 are controlled to be disconnected;
[0078] 03: The third switch tube 30 and the fourth switch tube 40 of the control voltage converter 100 are closed. When the third switch tube 30 and the fourth switch tube 40 are closed, the third switch tube 30, the fourth switch tube 40 and the inductor 50 form a target loop, and the inductor current can flow through the target loop.
[0079] The embodiment of the present application provides a vehicle, the vehicle includes one or more processors and a memory, and the memory stores a computer program. The processor can be used to control the voltage converter 100 to enter overvoltage protection according to an overvoltage signal and a command signal, the overvoltage signal is determined according to the voltage of the capacitor of the voltage converter 100 and a preset voltage threshold, and the command signal is determined according to the inductor current and a preset current threshold, and the inductor current is the current flowing through the inductor 50 of the voltage converter 100. And it is used to control the first switch tube 10 and the second switch tube 20 of the voltage converter 100 to be disconnected when entering the overvoltage protection; it can also be used to control the third switch tube 30 and the fourth switch tube 40 of the voltage converter 100 to be closed. When the third switch tube 30 and the fourth switch tube 40 are closed, the third switch tube 30, the fourth switch tube 40 and the inductor 50 form a target loop, and the inductor current can flow through the target loop.
[0080] The embodiment of the present application provides a control device, which includes a first control module, a second control module and a third control module. The first control module can be used to control the voltage converter 100 to enter overvoltage protection according to an overvoltage signal and a command signal, the overvoltage signal is determined according to the voltage of the capacitor of the voltage converter 100 and a preset voltage threshold, and the command signal is determined according to the inductor current and a preset current threshold, and the inductor current is the current flowing through the inductor 50 of the voltage converter 100. The second control module can be used to control the first switch tube 10 and the second switch tube 20 of the voltage converter 100 to be disconnected when entering overvoltage protection; the third control module can be used to control the third switch tube 30 and the fourth switch tube 40 of the voltage converter 100 to be closed, and when the third switch tube 30 and the fourth switch tube 40 are closed, the third switch tube 30, the fourth switch tube 40 and the inductor 50 form a target loop, and the inductor current can flow through the target loop.
[0081] Specifically, the voltage converter 100 may be a four-switch buck-boost converter, which includes a first capacitor 60, a second capacitor 70, a first switch tube 10, a second switch tube 20, a third switch tube 30, a fourth switch tube 40, and an inductor 50. The second end of the first switch tube 10, the first end of the third switch tube 30, and the first end of the inductor 50 are electrically connected; the first end of the second switch tube 20 and the first end of the second capacitor 70 are electrically connected, the second end of the second switch tube 20, the first end of the fourth switch tube 40, and the second end of the inductor 50 are electrically connected, and the second end of the first capacitor 60, the second end of the second capacitor 70, the second end of the third switch tube 30, and the second end of the fourth switch tube 40 are electrically connected.
[0082] Among them, the four switch tubes can all be IGBTs (Insulated Gate Bipolar Transistor) with anti-parallel diodes.
[0083] In the related art, when the overvoltage protection is triggered, the four switching tubes of the voltage converter are turned off at the same time. At this time, if the inductor current is high and the direction of the inductor current is positive (from node 1 to node 2), the anti-parallel diode of the second switching tube, the inductor, the anti-parallel diode of the third switching tube and the second capacitor form a loop, and the inductor current can charge the second capacitor, and the voltage of the second capacitor continues to rise; if the direction of the inductor current is negative (from node 2 to node 1), the first capacitor, the anti-parallel diode of the first switching tube, the inductor and the anti-parallel diode of the fourth switching tube form a loop, and the inductor current can charge the first capacitor, and the voltage of the first capacitor continues to rise, resulting in the inability to perform effective overvoltage protection.
[0084] In an embodiment of the present application, the overvoltage signal can be used to characterize an overvoltage in the voltage converter 100, and the command signal can be used to characterize that the magnitude of the inductor current exceeds an appropriate range. As a result, if all the switch tubes are turned off at the same time, a loop will be formed through the anti-parallel diode to charge the capacitor, and effective overvoltage protection cannot be performed.
[0085] Therefore, according to the overvoltage signal and the command signal, the first switch tube 10 and the second switch tube 20 are controlled to be disconnected, and the third switch tube 30 and the fourth switch tube 40 are controlled to be closed. When the third switch tube 30 and the fourth switch tube 40 are closed, the inductor 50, the third switch tube 30 and the fourth switch tube 40 can form a target loop.
[0086] Due to the loss in the target loop, the inductor current is continuously reduced in the target loop, thereby reducing the inductor current through the loss of the components themselves, thereby preventing the inductor current from continuously charging the capacitor of the voltage converter 100 and causing hardware damage.
[0087] In this way, the control method, control circuit 200, vehicle and computer-readable storage medium of the embodiment of the present application control the third switch tube 30 and the fourth switch tube 40 to close according to the overvoltage signal and the command signal, so that the third switch tube 30, the fourth switch tube 40 and the inductor 50 form a target loop, so that when the overvoltage protection is triggered, the inductor current can flow through the target loop. Due to the loss in the target loop, the inductor current gradually decreases, thereby avoiding the hardware damage caused by the inductor current continuously charging the capacitor of the voltage converter 100.
[0088] See also Figures 3 to 5 In some embodiments, step 01 (controlling the voltage converter 100 to enter overvoltage protection according to the overvoltage signal and the command signal) includes:
[0089] 011: Determine an overvoltage signal by comparing the voltage of the capacitor of the voltage converter 100 with a preset voltage threshold;
[0090] 012: Determine a command signal according to the voltage of the capacitor, the preset voltage threshold, the inductor current and the preset current threshold;
[0091] 013: When the overvoltage signal is the first overvoltage signal, overvoltage protection is triggered;
[0092] 014: When the overvoltage protection is triggered, if the command signal is the first command signal, the voltage converter 100 is controlled to enter the overvoltage protection;
[0093] 015: When the overvoltage protection is triggered, if the command signal is the second command signal, the first switch tube 10, the second switch tube 20, the third switch tube 30 and the fourth switch tube 40 are controlled to be disconnected.
[0094] In some embodiments, the processor can be used to determine an overvoltage signal based on comparing the voltage of the capacitor of the voltage converter 100 and a preset voltage threshold; and to determine a command signal based on the voltage of the capacitor, the preset voltage threshold, the inductor current and the preset current threshold; and to trigger overvoltage protection when the overvoltage signal is a first overvoltage signal; and to control the voltage converter 100 to enter overvoltage protection if the command signal is a first command signal when the overvoltage protection is triggered; and can also be used to control the first switch tube 10, the second switch tube 20, the third switch tube 30 and the fourth switch tube 40 to disconnect when the overvoltage protection is triggered if the command signal is a second command signal.
[0095] In some embodiments, the first control module includes a first determination submodule, a second determination submodule, a trigger submodule, a first control submodule, and a second control submodule. The first determination submodule can be used to determine the overvoltage signal by comparing the voltage of the capacitor of the voltage converter 100 with the preset voltage threshold; the second determination submodule can be used to determine the command signal according to the voltage of the capacitor, the preset voltage threshold, the inductor current, and the preset current threshold; the trigger submodule can be used to trigger the overvoltage protection when the overvoltage signal is the first overvoltage signal; the first control submodule can be used to control the voltage converter 100 to enter the overvoltage protection when the overvoltage protection is triggered, if the command signal is the first command signal; the second control submodule can be used to control the first switch tube 10, the second switch tube 20, the third switch tube 30, and the fourth switch tube 40 to be disconnected when the overvoltage protection is triggered, if the command signal is the second command signal.
[0096] Specifically, the overvoltage signal FltFlg can be determined based on the comparison result between the voltage of the capacitor of the voltage converter 100 and the preset voltage threshold to indicate whether the voltage converter 100 is overvoltage. When the overvoltage signal FltFlg is the first overvoltage signal (True), the voltage converter 100 is overvoltage, that is, the voltage of at least one capacitor is greater than the preset voltage threshold, and the overvoltage protection is triggered. When the overvoltage signal is the second overvoltage signal (False), the first switch tube 10, the second switch tube 20, the third switch tube 30 and the fourth switch tube 40 are controlled to operate according to the normal working logic (Q1=PWM1, Q2=PWM2, Q3=PWM3, Q4=PWM4).
[0097] The command signal AscFlg can be determined based on the comparison result between the capacitor voltage and the preset voltage threshold, and the comparison result between the inductor current and the preset current threshold, to characterize whether the magnitude of the current will affect the capacitor voltage. If the command signal AscFlg is the first command signal (True), when the current exceeds the appropriate range, a loop will be formed through the anti-parallel diode of the switch tube to charge the capacitor. Therefore, when the command signal AscFlg is the first command signal (True), overvoltage protection is performed, that is, the first switch tube 10 and the second switch tube 20 are controlled to be disconnected, and the third switch tube 30 and the fourth switch tube 40 are controlled to be closed (Q1=Low, Q2=Low, Q3=High, Q4=High).
[0098] If the command signal AscFlg is the second command signal (False), the current is within the appropriate range, and even if a loop is formed, the capacitor will not be charged, and the overvoltage protection will not be affected. Therefore, all switches can be directly disconnected (Q1 = Low, Q2 = Low, Q3 = Low, Q4 = Low) to stop the voltage converter 100 from working, waiting for the user to check the cause of the overvoltage.
[0099] In this way, whether to enter overvoltage protection can be determined based on the command signal and the overvoltage signal. When the overvoltage signal is the first overvoltage signal and the command signal is the first command signal, the overvoltage protection is entered; when the overvoltage signal is the first overvoltage signal and the command signal is the second command signal, all switch tubes are controlled to be disconnected at the same time.
[0100] See also Figure 6 In some embodiments, step 011 (determining an overvoltage signal by comparing the voltage of the capacitor of the voltage converter 100 with a preset voltage threshold) includes:
[0101] 0111: When the voltage of the first capacitor 60 of the voltage converter 100 is greater than the first voltage threshold, or the voltage of the second capacitor 70 of the voltage converter 100 is greater than the second voltage threshold, the overvoltage signal is determined to be the first overvoltage signal.
[0102] In some embodiments, the processor may be configured to determine that the overvoltage signal is a first overvoltage signal when the voltage of the first capacitor 60 of the voltage converter 100 is greater than a first voltage threshold, or the voltage of the second capacitor 70 of the voltage converter 100 is greater than a second voltage threshold.
[0103] In some embodiments, the first determination submodule includes a first determination unit, which can be used to determine that the overvoltage signal is a first overvoltage signal when the voltage of the first capacitor 60 of the voltage converter 100 is greater than the first voltage threshold, or the voltage of the second capacitor 70 of the voltage converter 100 is greater than the second voltage threshold.
[0104] Specifically, the first switch tube 10 and the third switch tube 30 of the voltage converter 100 are connected in parallel with the first capacitor 60, and the second switch tube 20 and the fourth switch tube 40 are connected in parallel with the second capacitor 70. When the voltage of the first capacitor 60 is greater than the preset voltage threshold, or the voltage of the second capacitor 70 is greater than the preset voltage threshold, the voltage converter 100 triggers the overvoltage protection and determines that the overvoltage signal FltFlg is the first overvoltage signal.
[0105] The first voltage threshold MaxV1 and the second voltage threshold MaxV2 may be pre-set voltage values, and the first voltage threshold and the second voltage threshold may be equal, or may be two different voltage values, which is not limited here.
[0106] In this way, whether the overvoltage protection is triggered can be determined by comparing the first capacitor 60 with the first voltage threshold, or by comparing the second capacitor 70 with the second voltage threshold, thereby determining the overvoltage signal.
[0107] See also Figure 7 In some embodiments, the preset current threshold includes a first current threshold and a second current threshold, and step 012 (determining the command signal according to the capacitor voltage, the preset voltage threshold, the inductor current and the preset current threshold) includes:
[0108] 0121: When the voltage of the first capacitor 60 of the voltage converter 100 is greater than the first voltage threshold and the inductor current is less than the first current threshold, or when the voltage of the second capacitor 70 of the voltage converter 100 is greater than the second voltage threshold and the inductor current is greater than the second current threshold, determine that the command signal is the first command signal, the first current threshold is a negative value, and the second current threshold is a positive value;
[0109] 0122: Otherwise, determine that the command signal is the second command signal.
[0110] In certain embodiments, the processor may be used to determine that the command signal is the first command signal, the first current threshold is a negative value, and the second current threshold is a positive value when the voltage of the first capacitor 60 of the voltage converter 100 is greater than the first voltage threshold and the inductor current is less than the first current threshold, or when the voltage of the second capacitor 70 of the voltage converter 100 is greater than the second voltage threshold and the inductor current is greater than the second current threshold; otherwise, determine that the command signal is the second command signal.
[0111] In some embodiments, the first determination submodule includes a second determination unit and a third determination unit. The second determination unit can be used to determine that the command signal is the first command signal, the first current threshold is a negative value, and the second current threshold is a positive value when the voltage of the first capacitor 60 of the voltage converter 100 is greater than the first voltage threshold and the inductor current is less than the first current threshold, or when the voltage of the second capacitor 70 of the voltage converter 100 is greater than the second voltage threshold and the inductor current is greater than the second current threshold; otherwise, the third determination unit can be used to determine that the command signal is the second command signal.
[0112] Specifically, when the inductor current IL is positive, the direction of the inductor current is from node 1 to node 2, and the inductor current is a forward current; when the inductor current IL is negative, the direction of the inductor current is from node 2 to node 1, and the inductor current is a reverse current.
[0113] The first current threshold is a negative value close to 0, and the second current threshold is a positive value close to 0. They can be set according to actual needs and are not limited here.
[0114] When the voltage V1 of the first capacitor 60 is greater than the first voltage threshold MaxV1 (triggering overvoltage protection), that is, V1>MaxV1, if the inductor current IL is less than the first current threshold, since the first current threshold is a negative value, the inductor current IL is also a negative value. At this time, the inductor current IL is a large reverse current, that is, the direction of the inductor current IL is from node 2 to node 1. If all the switches are turned off directly, the inductor 50 will form a loop with the first capacitor C1 through the anti-parallel diode of the first switch tube Q1 and the parallel diode of the fourth switch tube Q4, so that the inductor current IL will charge the first capacitor C1, causing the voltage of the first capacitor C1 to continue to rise, and overvoltage protection cannot be performed. Therefore, the command signal AscFlg is the first command signal, which controls the voltage converter 100 to enter overvoltage protection, that is, controls the first switch tube Q1 and the second switch tube Q2 to be disconnected, and the third switch tube Q3 and the fourth switch tube Q4 to be closed, so that the inductor 50L, the third switch tube Q3 and the fourth switch tube Q4 can form a loop, so that the inductor current IL can gradually decrease in the target loop due to loss, thereby preventing the inductor current IL from charging the first capacitor C1.
[0115] When the voltage V1 of the first capacitor 60 is greater than the first voltage threshold MaxV1, if the inductor current IL is greater than or equal to the first current threshold, that is, the inductor current IL is a positive value or a smaller negative value. When the inductor current is a positive value, if all the switch tubes are turned off, the inductor 50 and the anti-parallel diode of the second switch tube Q2 and the anti-parallel diode of the third switch tube Q3 form a loop, so that the inductor current IL can charge the second capacitor C2 instead of charging the first capacitor C1, and the voltage of the first capacitor C1 will not continue to rise. When the inductor current IL is a smaller negative value, since the inductor current is small, even if the first capacitor C1 is charged by forming a loop through the anti-parallel diode, the inductor current IL will drop quickly to 0V, and the voltage of the first capacitor C1 will not rise significantly. Therefore, the command signal AscFlg is the second command signal, so that all the switch tubes can be turned off directly.
[0116] Similarly, when the voltage V2 of the second capacitor 70 is greater than the first voltage threshold MaxV2 (triggering overvoltage protection), that is, V2>MaxV2, if the inductor current IL is greater than the second current threshold, that is, the inductor current IL is a large positive value. At this time, if all switch tubes are turned off, the inductor current IL will charge the second capacitor C2, so that the voltage of the second capacitor C2 continues to rise, and effective overvoltage protection cannot be performed. Therefore, the command signal AscFlg is a first command signal to control the voltage converter 100 to enter overvoltage protection, so that the inductor current IL can be continuously consumed and reduced in the target loop.
[0117] When the voltage V2 of the second capacitor 70 is greater than the first voltage threshold MaxV2, if the inductor current IL is less than or equal to the second current threshold, that is, the inductor current IL is a negative value or a small positive value. At this time, even if a loop is formed with the anti-parallel diode, the inductor current will only charge the first capacitor 60, or charge the second capacitor 70 to a limited extent, and will not affect the overvoltage protection. Therefore, the command signal AscFlg is the second command signal, so that all the switch tubes can be directly turned off.
[0118] In this way, when the voltage of the first capacitor 60 of the voltage converter 100 is greater than the first voltage threshold and the inductor current is less than the first current threshold, or when the voltage of the second capacitor 70 of the voltage converter 100 is greater than the second voltage threshold and the inductor current is greater than the second current threshold, the command signal is determined to be the first command signal to control the voltage converter 100 to enter overvoltage protection; otherwise, all switching tubes are controlled to be turned off at the same time, so that it is possible to more accurately select whether to enter overvoltage protection and improve the efficiency of overvoltage protection.
[0119] See also Figure 8In some embodiments, step 012 (determining the command signal according to the capacitor voltage, the preset voltage threshold, the inductor current and the preset current threshold) includes:
[0120] 0123: When the overvoltage protection is triggered, if the absolute value of the inductor current is greater than the third current threshold, determine that the command signal is the first command signal.
[0121] In some implementations, the processor may be configured to determine that the command signal is the first command signal if the absolute value of the inductor current is greater than a third current threshold when the overvoltage protection is triggered.
[0122] In some embodiments, the first determination submodule includes a fourth determination unit. The fourth determination unit can be used to determine that the command signal is the first command signal if the absolute value of the inductor current is greater than the third current threshold when the overvoltage protection is triggered.
[0123] Specifically, the third inductor current is a preset voltage value, and the third inductor current is a positive value, which can be set according to actual needs.
[0124] When the voltage of the first capacitor 60 is greater than the first voltage threshold or the voltage of the second capacitor 70 is greater than the second voltage threshold, the overvoltage protection is triggered. At this time, if the absolute value of the inductor current is greater than the third current threshold, that is, when the inductor current is positive and greater than the third current threshold, or when the inductor current is negative and less than the negative value of the third current threshold, the command signal is determined to be the first command signal to control the voltage converter 100 to enter the overvoltage protection.
[0125] In this way, when the overvoltage protection is triggered and the absolute value of the inductor current is greater than the third current threshold, the command signal is determined to be the first command signal to control the voltage converter 100 to enter the overvoltage protection.
[0126] See also Fig. 9 In some embodiments, step 012 (determining the command signal according to the capacitor voltage, the preset voltage threshold, the inductor current and the preset current threshold) includes:
[0127] 0124: When the overvoltage protection is triggered, if the absolute value of the inductor current is less than the third current threshold, determine that the command signal is the second command signal.
[0128] In some embodiments, the processor may be configured to determine that the command signal is the second command signal if the absolute value of the inductor current is less than a third current threshold value when the overvoltage protection is triggered.
[0129] In some embodiments, the first determination submodule includes a fifth determination unit. The fifth determination unit can be used to determine that the command signal is the second command signal if the absolute value of the inductor current is less than the third current threshold when the overvoltage protection is triggered.
[0130] Specifically, when the overvoltage protection is triggered, if the inductor current IL is less than the third current threshold, the inductor current IL is small, and even if the inductor 50, the anti-parallel diode of the switch tube and the capacitor can form a loop, the first capacitor C1 or the second capacitor C2 cannot be effectively charged. Therefore, when the inductor current is less than the first current threshold, the first switch tube 10, the second switch tube 20, the third switch tube 30 and the fourth switch tube 40 are controlled to be disconnected to stop the operation of the voltage converter 100, so as to avoid damage to the components of the voltage converter 100 caused by excessive voltage.
[0131] In this way, when the inductor current is less than the third current threshold, the command signal is determined to be the second command signal to control the switch tubes of the voltage converter 100 to be turned off, thereby stopping the operation of the voltage converter 100 .
[0132] In some embodiments, the control method further comprises:
[0133] 04: When the overvoltage protection is triggered, the first overvoltage signal is latched to maintain the overvoltage signal as the first overvoltage signal.
[0134] In some embodiments, the processor may be configured to latch the first overvoltage signal when the overvoltage protection is triggered, so as to maintain the overvoltage signal as the first overvoltage signal.
[0135] In some embodiments, the first determination submodule includes a sixth determination unit. The sixth determination unit can be used to latch the first overvoltage signal when the overvoltage protection is triggered, so as to maintain the overvoltage signal as the first overvoltage signal.
[0136] Specifically, in order to avoid the voltage oscillation of the first capacitor 60 or the second capacitor 70 causing the overvoltage signal to change frequently, resulting in frequent triggering of the overvoltage protection judgment, the first overvoltage signal can be latched after the overvoltage protection is triggered, that is, the overvoltage signal is maintained as the first overvoltage signal to avoid frequent switching of the overvoltage signal and the command signal due to the voltage fluctuation of the capacitor.
[0137] In this way, after the overvoltage protection is triggered, the overvoltage signal is latched as the first overvoltage signal to avoid frequent switching between the overvoltage signal and the command signal due to voltage fluctuation of the capacitor.
[0138] See also Fig.10 and Fig.11In some embodiments, the voltage converter 100 includes a plurality of voltage converters, each of which corresponds to a command signal, and step 01 (controlling the voltage converter 100 to enter overvoltage protection according to the overvoltage signal and the command signal) includes:
[0139] 016: According to the overvoltage signal and the instruction signal corresponding to the voltage converter 100, control the voltage converter 100 to enter overvoltage protection; or,
[0140] 017: When one of the voltage converters 100 enters the overvoltage protection state, all the voltage converters 100 are controlled to enter the overvoltage protection state.
[0141] In some embodiments, the processor can be used to control the voltage converters 100 to enter overvoltage protection respectively according to the overvoltage signal and the instruction signal corresponding to the voltage converter 100; it can also be used to control all voltage converters 100 to enter overvoltage protection when one of the voltage converters 100 enters overvoltage protection.
[0142] In some embodiments, the first control module includes a third control submodule and a fourth control submodule. The third control submodule can be used to control the voltage converters 100 to enter overvoltage protection respectively according to the overvoltage signal and the instruction signal corresponding to the voltage converter 100; the fourth control submodule can be used to control all voltage converters 100 to enter overvoltage protection when one of the voltage converters 100 enters overvoltage protection.
[0143] Specifically, the overvoltage signal and the command signal are determined for each voltage converter 100, that is, the multiple voltage converters 100 each determine whether to enter the overvoltage protection. Since the multiple voltage converters 100 are connected in parallel with the first capacitor 60 and the second capacitor 70, when the voltage of the first capacitor 60 is greater than the first voltage threshold, or the voltage of the second capacitor 70 is greater than the second voltage threshold, the overvoltage signal is the first overvoltage signal, that is, all the voltage converters 100 trigger the overvoltage protection at the same time.
[0144] At this time, each voltage converter 100 determines its own command signal according to its own inductor current and the preset current threshold value, and when the command signal of a certain voltage converter 100 is the first command signal, the voltage converter 100 enters the overvoltage protection. Another voltage converter 100 may enter the overvoltage protection when its own command signal is the first command signal, or may enter the overvoltage protection together with the voltage converter 100 that enters the overvoltage protection.
[0145] In one embodiment, the voltage converter 100 includes a first voltage converter and a second voltage converter. When the overvoltage protection is triggered, the command signal of the first voltage converter is the first command signal, and the command signal of the second voltage converter is the second command signal, then the first voltage converter enters the overvoltage protection, and the second voltage converter controls all switch tubes to be disconnected.
[0146] In another embodiment, the voltage converter 100 includes a first voltage converter and a second voltage converter. When the overvoltage protection is triggered, the command signal of the first voltage converter is the first command signal, and at this time, no matter the command signal of the second voltage converter is the first command signal or the second command signal, the second voltage converter enters the overvoltage protection together with the first voltage converter.
[0147] In this way, multiple voltage converters 100 can be controlled to enter overvoltage protection respectively, or when one voltage converter 100 enters overvoltage protection, all voltage converters 100 can be controlled to enter overvoltage protection at the same time to perform overvoltage protection on the capacitor.
[0148] See also Fig.12 In some embodiments, after entering the overvoltage protection, the control method includes:
[0149] 04: Compare the inductor current with the preset exit threshold;
[0150] 05: When the absolute value of the inductor current is less than the preset exit threshold, the voltage converter 100 is controlled to exit the overvoltage protection;
[0151] 06: When the overvoltage protection is exited, the third switch tube 30 and the fourth switch tube 40 are controlled to be disconnected.
[0152] In some embodiments, the processor can be used to compare the inductor current with a preset exit threshold; and to control the voltage converter 100 to exit overvoltage protection when the absolute value of the inductor current is less than the preset exit threshold; and can also be used to control the third switch tube 30 and the fourth switch tube 40 to disconnect when exiting overvoltage protection.
[0153] In some embodiments, the control device includes a comparison module, a fourth control module and a fifth control module. The comparison module can be used to compare the inductor current with a preset exit threshold; the fourth control module can be used to control the voltage converter 100 to exit the overvoltage protection when the absolute value of the inductor current is less than the preset exit threshold; the fifth control module can be used to control the third switch tube 30 and the fourth switch tube 40 to be disconnected when the overvoltage protection is exited.
[0154] Specifically, the preset exit threshold may be a preset current value, and the preset exit threshold may be the same as the preset current threshold.
[0155] After entering the overvoltage protection, the inductor current will gradually decrease to a current value that cannot effectively charge the capacitor due to the loss in the target loop. At this time, there is no need to perform overvoltage protection on the voltage converter 100 for the inductor current. Therefore, when the absolute value of the inductor current is less than the preset exit threshold, the voltage converter 100 can be controlled to exit the overvoltage protection, that is, the third switch tube 30 and the fourth switch tube 40 are controlled to be disconnected, and the first switch tube 10 and the second switch tube 20 are controlled to maintain the disconnected state. At this time, all four switch tubes are in the disconnected state.
[0156] In this way, the overvoltage protection can be exited when the absolute value of the inductor current is less than the preset exit threshold, so as to achieve precise control of the overvoltage protection.
[0157] See also Fig.13 and Fig.14 In some embodiments, the voltage converter 100 includes a plurality of, after entering the overvoltage protection, step 04 (comparing the inductor current with a preset exit threshold) includes:
[0158] 041: respectively comparing the inductor currents of the plurality of voltage converters 100 with a preset exit threshold; and,
[0159] Step 05 (controlling the voltage converter 100 to exit overvoltage protection when the absolute value of the inductor current is less than the preset exit threshold) includes:
[0160] 051: When the absolute values of the inductor currents of all the voltage converters 100 are less than the preset exit threshold, control all the voltage converters 100 to exit the overvoltage protection; or,
[0161] 052: When the absolute value of the inductor current of at least one voltage converter 100 is smaller than a preset exit threshold, control at least one voltage converter 100 to exit overvoltage protection.
[0162] In certain embodiments, the processor may be used to respectively compare the inductor current of each of the plurality of voltage converters 100 with a preset exit threshold; and may be used to control all of the voltage converters 100 to exit overvoltage protection when the absolute values of the inductor currents of all of the voltage converters 100 are less than the preset exit threshold; and may also be used to control at least one voltage converter 100 to exit overvoltage protection when the absolute values of the inductor currents of at least one voltage converter 100 are less than the preset exit threshold.
[0163] In some embodiments, the fourth control module includes a comparison submodule, and the fifth control module includes a fifth control submodule and a sixth control submodule. The comparison submodule can be used to compare the inductor currents of the plurality of voltage converters 100 with the preset exit threshold value, respectively; the fifth control submodule can be used to control all voltage converters 100 to exit overvoltage protection when the absolute values of the inductor currents of all voltage converters 100 are less than the preset exit threshold value; the sixth control submodule can be used to control at least one voltage converter 100 to exit overvoltage protection when the absolute values of the inductor currents of at least one voltage converter 100 are less than the preset exit threshold value.
[0164] Specifically, if the absolute values of the inductor currents of all the voltage converters 100 are less than the preset exit threshold, the third switch tubes 30 and the fourth switch tubes 40 of the multiple voltage converters 100 are simultaneously controlled to be disconnected, so as to control the multiple voltage converters 100 to exit the overvoltage protection at the same time. Alternatively, when the absolute value of the inductor current of one of the voltage converters 100 is less than the preset exit threshold, the voltage converter 100 is controlled to exit the overvoltage protection, that is, according to the comparison result between the absolute value of the inductor current of each voltage converter 100 and the preset exit threshold, different voltage converters 100 are controlled to exit the overvoltage protection respectively.
[0165] In addition, when the number of voltage converters 100 whose inductor current is less than the preset exit threshold is greater than a set number, the third switch tubes 30 and the fourth switch tubes 40 of the plurality of voltage converters 100 may be controlled to be disconnected simultaneously.
[0166] In this way, when the inductor currents of all the voltage converters 100 are less than the preset exit threshold, the third switch tubes 30 and the fourth switch tubes 40 of the multiple voltage converters 100 are controlled to be disconnected; or when the inductor current of at least one voltage converter 100 is less than the preset exit threshold, the voltage converter 100 is controlled to exit the overvoltage protection, so as to control the multiple voltage converters 100 to exit the overvoltage protection.
[0167] In some implementations, step 05 (controlling the voltage converter 100 to exit overvoltage protection when the absolute value of the inductor current is less than a preset exit threshold) includes:
[0168] 053: When the absolute value of the inductor current is less than the preset exit threshold and lasts for a preset time, the voltage converter 100 is controlled to exit the overvoltage protection.
[0169] In some implementations, the processor may be configured to control the voltage converter 100 to exit overvoltage protection when the absolute value of the inductor current is less than a preset exit threshold and lasts for a preset time period.
[0170] In some embodiments, the fifth control module includes a seventh control submodule. The seventh control submodule can be used to control the voltage converter 100 to exit the overvoltage protection when the absolute value of the inductor current is less than a preset exit threshold and lasts for a preset time.
[0171] Specifically, the preset duration may be a preset duration value. When the absolute value of the inductor current is less than the preset exit threshold and lasts for the preset duration, the inductor current has been further reduced to a current value whose absolute value is even less than the preset exit threshold, and may even be reduced to 0, that is, all the energy stored in the inductor 50 is converted into heat through loss, thereby further ensuring that the inductor current does not charge the capacitor.
[0172] Therefore, when the absolute value of the inductor current is less than the preset exit threshold and lasts for a preset time, the voltage converter 100 can be controlled to exit the overvoltage protection to further consume the energy stored in the inductor 50 and reduce the possibility of the inductor current charging the capacitor.
[0173] In this way, by controlling the voltage converter 100 to exit the overvoltage protection when the absolute value of the inductor current is less than the preset exit threshold and lasts for a preset time, the inductor current can be further prevented from charging the capacitor.
[0174] The control method of the embodiment of the present invention can be implemented by software or by hardware circuit. When implemented by hardware circuit, the response is faster and the overvoltage protection effect is better. In one embodiment, the structure of the hardware circuit is as follows: Fig.15 shown.
[0175] See also Figure 3 and Fig.15 The embodiment of the present application provides a control circuit 200 of a voltage converter 100. The voltage converter 100 includes a first switch tube 10, a second switch tube 20, a third switch tube 30, a fourth switch tube 40 and an inductor 50. The first ends of the first switch tube 10, the second switch tube 20, the third switch tube 30 and the fourth switch tube 40 are electrically connected to the inductor 50 respectively, and the second end of the third switch tube 30 is electrically connected to the second end of the fourth switch tube 40. The control circuit 200 includes:
[0176] The first control subcircuit 210 controls the voltage converter 100 to enter overvoltage protection according to the overvoltage signal and the command signal. The overvoltage signal is determined according to the voltage of the capacitor of the voltage converter 100 and a preset voltage threshold. The command signal is determined according to the inductor current and a preset current threshold. The inductor current is the current flowing through the inductor 50 of the voltage converter 100.
[0177] The second control subcircuit 220 controls the first switch tube 10 and the second switch tube 20 of the voltage converter 100 to be disconnected when entering the overvoltage protection mode; and controls the third switch tube 30 and the fourth switch tube 40 of the voltage converter 100 to be closed. When the third switch tube 30 and the fourth switch tube 40 are closed, the third switch tube 30, the fourth switch tube 40 and the inductor 50 form a target loop, and the inductor current can flow through the target loop.
[0178] Specifically, the first control subcircuit 210 may include a comparison unit and a logic unit, wherein the comparison unit is used to compare the voltage of the capacitor with a preset voltage threshold, and to compare the current of the inductor with a preset current threshold, and output an overvoltage signal and a command signal.
[0179] The second control subcircuit 220 includes a first control unit, and the control circuit 200 also includes a second control unit. The first control unit and the second control unit are respectively connected to the gates of the four switch tubes. The overvoltage signal and the command signal are connected to the first control unit Buffer1 through an AND gate, and the overvoltage signal is connected to the second control unit Buffer2 through a NOT gate.
[0180] In one embodiment, the overvoltage signal FltFlg is at a high level (triggering overvoltage protection), the command signal AscFlg is at a high level, and the AND gate AND outputs a high level. The first control unit Buffer1 receives the high level and works to control the voltage converter 100 to enter overvoltage protection, that is, to control the first switch tube 10 and the second switch tube 20 to be disconnected, and the third switch tube 30 and the fourth switch tube 40 to be closed.
[0181] In another embodiment, the overvoltage signal FltFlg is at a low level (overvoltage protection is not triggered), and a high level is output after passing through the NOT gate. The second control unit Buffer2 is connected to the MCU. The second control unit Buffer2 receives the high level and works, transmits the control signal output by the MCU to the four switch tubes and controls the operation of the switch tubes respectively.
[0182] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the steps of the control method of any of the above embodiments are implemented.
[0183] It is understood that a computer program includes computer program code. The computer program code may be in source code form, object code form, executable file or some intermediate form. Computer readable storage media may include: any entity or device capable of carrying computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), and software distribution medium.
[0184] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples without contradiction.
[0185] In addition, the term "connection" should be understood in a broad sense, for example, it can include fixed connection, detachable connection, or integral connection; it can include direct connection, indirect connection through an intermediate medium, and internal communication between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0186] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0187] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment 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 application 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 technicians in the technical field to which the embodiments of the present application belong.
[0188] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A control method for a voltage converter, characterized in that: The voltage converter comprises a first switch tube, a second switch tube, a third switch tube, a fourth switch tube and an inductor, wherein the first switch tube, the second switch tube, the first end of the third switch tube and the first end of the fourth switch tube are electrically connected to the inductor respectively, and the second end of the third switch tube is electrically connected to the second end of the fourth switch tube, and the control method comprises: Controlling the voltage converter to enter overvoltage protection according to an overvoltage signal and a command signal, wherein the overvoltage signal is determined according to a voltage of a capacitor of the voltage converter and a preset voltage threshold, and the command signal is determined according to an inductor current and a preset current threshold, wherein the inductor current is a current flowing through an inductor of the voltage converter; When the overvoltage protection is entered, controlling the first switch tube and the second switch tube of the voltage converter to be disconnected; The third switch tube and the fourth switch tube of the voltage converter are controlled to be closed. When the third switch tube and the fourth switch tube are closed, the third switch tube, the fourth switch tube and the inductor form a target loop, and the inductor current can flow through the target loop.
2. The control method according to claim 1, characterized in that: The step of controlling the voltage converter to enter overvoltage protection according to the overvoltage signal and the command signal comprises: Determining the overvoltage signal by comparing the voltage of the capacitor of the voltage converter with the preset voltage threshold; Determining the command signal according to the voltage of the capacitor, the preset voltage threshold, the inductor current and the preset current threshold; When the overvoltage signal is a first overvoltage signal, triggering the overvoltage protection; In the case where the overvoltage protection is triggered, if the command signal is a first command signal, controlling the voltage converter to enter the overvoltage protection; When the overvoltage protection is triggered, if the command signal is the second command signal, the first switch tube, the second switch tube, the third switch tube and the fourth switch tube are controlled to be disconnected.
3. The control method according to claim 2, characterized in that: The preset voltage threshold includes a first voltage threshold and a second voltage threshold, and the determining the overvoltage signal by comparing the voltage of the capacitor of the voltage converter with the preset voltage threshold includes: When the voltage of the first capacitor of the voltage converter is greater than the first voltage threshold, or the voltage of the second capacitor of the voltage converter is greater than the second voltage threshold, the overvoltage signal is determined to be the first overvoltage signal.
4. The control method according to claim 2, characterized in that: The preset current threshold includes a first current threshold and a second current threshold, and the determining of the command signal according to the voltage of the capacitor, the preset voltage threshold, the inductor current and the preset current threshold includes: When the voltage of the first capacitor of the voltage converter is greater than the preset voltage threshold and the inductor current is less than the first current threshold, or when the voltage of the second capacitor of the voltage converter is greater than the preset voltage threshold and the inductor current is greater than the second current threshold, determine that the command signal is the first command signal, the first current threshold is a negative value, and the second current threshold is a positive value; Otherwise, it is determined that the instruction signal is the second instruction signal.
5. The control method according to claim 2, characterized in that: The step of determining the command signal according to the voltage of the capacitor, the preset voltage threshold, the inductor current and the preset current threshold comprises: In the case where the overvoltage protection is triggered, if the absolute value of the inductor current is greater than a third current threshold, it is determined that the command signal is the first command signal.
6. The control method according to claim 2, characterized in that: The step of determining the command signal according to the voltage of the capacitor, the preset voltage threshold, the inductor current and the preset current threshold comprises: In the case where the overvoltage protection is triggered, if the absolute value of the inductor current is less than a third current threshold, the command signal is determined to be the second command signal.
7. The control method according to claim 2, characterized in that: The control method further comprises: When the overvoltage protection is triggered, the first overvoltage signal is latched to maintain the overvoltage signal as the first overvoltage signal.
8. The control method according to claim 1, characterized in that: The voltage converter includes a plurality of voltage converters, each of which corresponds to one command signal, and the voltage converter is controlled to enter overvoltage protection according to the overvoltage signal and the command signal, including: According to the overvoltage signal and the instruction signal corresponding to the voltage converter, control the voltage converter to enter the overvoltage protection respectively; or, When one of the voltage converters enters the overvoltage protection, all the voltage converters are controlled to enter the overvoltage protection.
9. The control method according to claim 1, characterized in that: After entering the overvoltage protection, the control method includes: comparing the inductor current with a preset exit threshold; When the absolute value of the inductor current is less than a preset exit threshold, controlling the voltage converter to exit the overvoltage protection; When the overvoltage protection is exited, the third switch tube and the fourth switch tube are controlled to be disconnected.
10. The control method according to claim 9, characterized in that: The voltage converter includes a plurality of steps, after entering the overvoltage protection, comparing the inductor current with a preset exit threshold, including: comparing the inductor currents of the plurality of voltage converters with the preset exit thresholds respectively; and, When the absolute value of the inductor current is less than a preset exit threshold, controlling the voltage converter to exit the overvoltage protection comprises: When the absolute values of the inductor currents of all the voltage converters are less than the preset exit threshold, controlling all the voltage converters to exit the overvoltage protection; or, When the absolute value of the inductor current of at least one of the voltage converters is smaller than the preset exit threshold, at least one of the voltage converters is controlled to exit the overvoltage protection.
11. The control method according to claim 10, characterized in that: When the absolute value of the inductor current is less than a preset exit threshold, controlling the voltage converter to exit the overvoltage protection comprises: When the absolute value of the inductor current is less than a preset exit threshold and lasts for a preset time period, the voltage converter is controlled to exit the overvoltage protection.
12. A control circuit for a voltage converter, characterized in that: The voltage converter comprises a first switch tube, a second switch tube, a third switch tube, a fourth switch tube and an inductor, wherein the first switch tube, the second switch tube, the first end of the third switch tube and the first end of the fourth switch tube are electrically connected to the inductor respectively, and the second end of the third switch tube is electrically connected to the second end of the fourth switch tube, and the control circuit comprises: a first control subcircuit, configured to control the voltage converter to enter overvoltage protection according to an overvoltage signal and a command signal, wherein the overvoltage signal is determined according to a voltage of a capacitor of the voltage converter and a preset voltage threshold, and the command signal is determined according to an inductor current and a preset current threshold, wherein the inductor current is a current flowing through an inductor of the voltage converter; The second control subcircuit is configured to control the first switch tube and the second switch tube of the voltage converter to be disconnected when entering the overvoltage protection; and control the third switch tube and the fourth switch tube of the voltage converter to be closed. When the third switch tube and the fourth switch tube are closed, the third switch tube, the fourth switch tube and the inductor form a target loop, and the inductor current can flow through the target loop.
13. A vehicle, characterized in that: The vehicle includes one or more processors and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of the control method described in any one of claims 1 to 11 are implemented.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the control method according to any one of claims 1 to 11 are implemented.
