Charging methods, charging devices and storage media
By charging the fly capacitance, input capacitance and output capacitance in the three-level soft start circuit in sequence, using multiple current loops to control the current flow of the power module and capacitor, the high energy consumption of the three-level soft start circuit is solved. High heating and high cost issues improve the efficiency and stability of the circuit.
Patent Information
- Application Number
- CN202311450718.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-02
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2043-11-02
AI Technical Summary
The existing three-level soft start circuits have problems such as large space, high cost, high energy consumption and large heat generation, which affects the efficiency and stability of the circuit.
A charging method and charging device are proposed. By charging preset fly capacitance, input capacitance and output capacitance sequentially, a variety of current loops are formed using relays and switch modules, the current flow between the power module and the capacitance is controlled, and the MOS is reduced. The voltage resistance of the tube reduces circuit losses and heating.
It effectively reduces the loss and heating of the three-level soft-start circuit, saves pre-charge time, improves the working efficiency and stability of the circuit, reduces economic costs, and is suitable for high-voltage application scenarios.
Smart Images

Figure CN117691849B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electric power conversion, and in particular to a charging method, a charging device and a storage medium. Background Art
[0002] In the field of high-voltage applications, the existing three-level soft-start circuit usually includes an RCD auxiliary network. The RCD auxiliary network uses multiple high-voltage diodes and capacitors that can withstand high voltages, which not only makes the circuit cost higher, but also takes up a lot of PCB space. At the same time, the circuit structure of the RCD auxiliary network needs to withstand the high voltage stress on both sides of the MOS tube after the circuit is started, which will consume a lot of energy and generate a lot of heat. High energy consumption and high heat will reduce the efficiency and stability of the circuit. The existing three-level soft-start circuit has the disadvantages of occupying a large PCB space, high cost, high energy consumption, and high heat generation. Summary of the invention
[0003] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes a charging method, a charging device and a storage medium, which can reduce the loss and heat generation, PCB space occupied and economic cost of the existing three-level soft start circuit, and improve the working efficiency and stability of the circuit.
[0004] To achieve the above object, a first aspect of an embodiment of the present application provides a charging method for charging a three-level soft start circuit, comprising the following steps:
[0005] The three-level soft start circuit comprises: a power module; a relay module, wherein the relay module comprises a first relay module and a second relay module; the first relay module comprises a first relay, the second relay module comprises a second relay and a first soft start resistor, and the second relay and the first soft start resistor are connected in series; the first relay and the second relay module are connected in parallel, the first end of the first relay is connected to the power module, and the second end of the first relay is connected to a preset input capacitor;
[0006] A switch module, the switch module comprising a first switch module, a second switch module, a third switch module and a fourth switch module; the first switch module, the second switch module and the third switch module are the same; the first end of the first switch module is connected to the first relay, and the second end of the first switch module is respectively connected to the second switch module and a preset flying capacitor; the second switch module is respectively connected to the third switch module and a preset inductor, and the preset inductor is connected to a preset output capacitor; the third switch module is respectively connected to the preset flying capacitor and the fourth switch module;
[0007] The first switch module includes a first MOS tube and a voltage stabilizing unit, the first MOS tube and the voltage stabilizing unit are connected in parallel, the voltage stabilizing unit includes a voltage stabilizing resistor and a voltage stabilizing capacitor, the voltage stabilizing resistor and the voltage stabilizing capacitor are connected in series; the voltage stabilizing unit is used to absorb the peak voltage generated when the first MOS tube is turned on; the fourth switch module includes a second MOS tube and a second soft-start resistor, the second MOS tube and the second soft-start resistor are connected in series;
[0008] The relay module further includes a third relay module, a first end of the third relay module is connected to the preset output capacitor, a second end of the third relay module is connected to a preset load, and the third relay module is used to control the preset output capacitor to output power to the preset load;
[0009] The charging method comprises:
[0010] Receive control instructions;
[0011] In response to the control instruction, the preset flying capacitor is first charged so that the current flying voltage of the preset flying capacitor is a first voltage, and the preset input capacitor is second charged so that the current input capacitor voltage of the preset input capacitor is a second voltage;
[0012] Performing a third charging on the preset input capacitor according to the first voltage and a first preset voltage threshold, so that the current input capacitor voltage changes from the second voltage to a third voltage;
[0013] The preset output capacitor is charged according to the third voltage, the first preset voltage threshold, the second preset voltage threshold and the preset output voltage, so that the current output capacitor voltage of the preset output capacitor is the target voltage; the second preset voltage threshold is twice the first preset voltage threshold, and the preset output voltage is the voltage setting value of the preset output capacitor;
[0014] In response to the control instruction, the preset flying capacitor is first charged so that the current flying voltage of the preset flying capacitor is a first voltage, and the preset input capacitor is second charged so that the current input capacitor voltage of the preset input capacitor is a second voltage, including:
[0015] In response to the control instruction, the second relay, the first switch module and the fourth switch module are closed, so that a first current loop is formed between the power module, the second relay module, the first MOS tube of the first switch module, the preset flying capacitor and the fourth switch module, and a second current loop is formed between the power module, the second relay module and the preset input capacitor;
[0016] Performing the first charging on the preset flying capacitor through the first current loop to obtain the first voltage;
[0017] Performing the second charging on the preset input capacitor through the second current loop to obtain the second voltage;
[0018] The performing a third charging on the preset input capacitor according to the first voltage and the first preset voltage threshold so that the current input capacitor voltage changes from the second voltage to a third voltage includes:
[0019] If the first voltage is equal to the first preset voltage threshold, disconnecting the first switch module and the fourth switch module to disconnect the first current loop;
[0020] Performing the third charging on the preset input capacitor through the second current loop to obtain the third voltage;
[0021] The step of charging the preset output capacitor according to the third voltage, the first preset voltage threshold, the second preset voltage threshold and the preset output voltage so that the current output capacitor voltage of the preset output capacitor is the target voltage includes:
[0022] If the third voltage is equal to the second preset voltage threshold, comparing the preset output voltage with the first preset voltage threshold;
[0023] If the preset output voltage is greater than the first preset voltage threshold, the first relay, the first switch module and the third switch module are closed, so that a third current loop is formed among the power module, the first relay, the first switch module, the preset flying capacitor, the third switch module and the preset output capacitor;
[0024] intermediately charging the preset output capacitor through the third current loop so that the output capacitor voltage becomes a candidate voltage;
[0025] The preset output capacitor is fourthly charged according to the candidate voltage and the first preset voltage threshold, so that the output capacitor voltage changes from the candidate voltage to the target voltage.
[0026] In some embodiments, the fourth charging of the preset output capacitor according to the candidate voltage and the first preset voltage threshold so that the output capacitor voltage changes from the candidate voltage to the target voltage includes:
[0027] If the candidate voltage is equal to the first preset voltage threshold, disconnect the third switch module and close the second switch module, so that a fourth current loop is formed between the power module, the first relay, the first switch module, the second switch module and the preset output capacitor;
[0028] The preset output capacitor is charged for the fourth time through the fourth current loop to obtain the target voltage.
[0029] In some embodiments, charging the preset output capacitor according to the third voltage, the first preset voltage threshold, the second preset voltage threshold, and the preset output voltage so that the current output capacitor voltage of the preset output capacitor is the target voltage includes:
[0030] If the preset output voltage is less than or equal to the first preset voltage threshold, the first relay, the first switch module and the third switch module are closed, so that a fifth current loop is formed between the power module, the first relay, the first switch module, the preset flying capacitor, the third switch module and the preset output capacitor;
[0031] The preset output capacitor is charged for a fifth time through the fifth current loop to obtain the target voltage.
[0032] To achieve the above-mentioned purpose, the second aspect of an embodiment of the present application proposes a charging device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the charging method described in the technical solution of the second aspect is implemented.
[0033] To achieve the above-mentioned purpose, the third aspect of the embodiments of the present application proposes a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the charging method described in the technical solution of the second aspect is implemented.
[0034] The charging method, charging device and computer-readable storage medium proposed in the embodiment of the present application, by receiving a control instruction, responding to the control instruction, first charging the preset flying capacitor, so that the current flying voltage of the preset flying capacitor is the first voltage. The preset input capacitor is charged for the second time, so that the current input capacitor voltage of the preset input capacitor is the second voltage. The preset input capacitor is charged while the preset flying capacitor is soft-start pre-charged, so that the preset input capacitor can be charged on the basis of the second voltage later, which can save a certain amount of pre-charging time. The preset input capacitor is charged for the third time according to the first voltage and the first preset voltage threshold, so that the current input capacitor voltage changes from the second voltage to the third voltage. The preset output capacitor is charged according to the third voltage, the first preset voltage threshold, the second preset voltage threshold and the preset output voltage, so that the current output capacitor voltage of the preset output capacitor is the target voltage, the second preset voltage threshold is twice the first preset voltage threshold, and the preset output voltage is the voltage setting value of the preset output capacitor, which can flexibly control the voltage value of the preset output capacitor according to the actual output demand, so as to be suitable for application scenarios where the output voltage is uncertain and the output is adjustable. By charging the preset flying capacitor, the preset input capacitor and the preset output capacitor in sequence, the preset flying capacitor, the preset input capacitor and the preset output capacitor can reach the preset voltage value, ensuring that the capacitor components in the circuit will not damage the circuit components due to uncontrollable impact current generated by sudden voltage, so that the circuit can work normally.
[0035] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The accompanying drawings are used to provide further understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.
[0037] Figure 1 It is a schematic diagram of the three-level circuit structure of the existing passive RCD auxiliary network;
[0038] Figure 2 It is a schematic diagram of the three-level circuit structure of the existing active control RCD auxiliary network;
[0039] Figure 3 is a structural diagram of a three-level soft start circuit provided in an embodiment of the present application;
[0040] Figure 4 is a flow chart of a charging method provided in an embodiment of the present application;
[0041] Figure 5 yes Figure 4Flow chart of step S200;
[0042] Figure 6 yes Figure 4 Schematic diagram of the flow direction of the current in step S200;
[0043] Figure 7 yes Figure 4 Flow chart of step S300;
[0044] Figure 8 yes Figure 4 Schematic diagram of the current flow in step S300;
[0045] Fig. 9 yes Figure 4 A first flow chart of step S400;
[0046] Fig.10 yes Figure 4 Schematic diagram of the current flow in step S400;
[0047] Fig.11 yes Fig. 9 Flow chart of step S440;
[0048] Fig.12 yes Fig. 9 Schematic diagram of the flow direction of the current in step S440;
[0049] Fig.13 yes Figure 4 A second flow chart of step S400;
[0050] Fig.14 It is a schematic diagram of the hardware structure of the charging device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0052] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0053] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0054] First, some nouns involved in this application are analyzed:
[0055] Soft Start: refers to a control circuit technology that gradually provides power supply voltage or current when the circuit or equipment is started to reduce the voltage or current mutation during the startup process, thereby protecting the circuit and equipment and reducing the impact and damage during startup. The main purpose of soft start is to protect circuits and equipment, reduce overcurrent, overvoltage and voltage fluctuations during startup, avoid equipment damage and instability of the power system. Soft start is widely used in various circuits and equipment, especially in the fields of high-power motor starting, power switches, inverters, electronic equipment, etc. Through soft start technology, the circuit and equipment can be started smoothly, and the performance and stability of the system can be improved.
[0056] RCD auxiliary network: In the field of three-level technology, the RCD auxiliary network is a circuit used to reduce the current impact during the capacitor voltage crossing process. It is composed of a resistor (Resistor), a capacitor (Capacitor) and a diode (Diode). When the circuit or device is started, the voltage of the capacitor changes very quickly, which will cause the current to increase instantly, thereby generating a current impact. The RCD auxiliary network can reduce the size of the current impact by limiting the speed of change of the capacitor voltage and protecting the capacitor and other circuit components from excessive current impact. By reasonably designing the RCD auxiliary network, the stability and reliability of the flying capacitor three-level technology can be improved.
[0057] In the bidirectional DC power conversion circuit of more than 1000V in the field of high-voltage power conversion, the cost of new materials is high, and the design of magnetic components is difficult. It is difficult to apply two-level conversion technology, and the flying capacitor three-level technology is applied. The flying capacitor three-level technology can achieve high-efficiency and high-precision DC conversion, and is widely used in electric vehicles, solar power generation, wind power generation and other fields. The existing three-level soft start circuit usually includes an RCD auxiliary network. The RCD auxiliary network uses multiple high-voltage diodes and capacitors that can withstand high voltages, which not only makes the circuit cost high, but also takes up a lot of PCB space. At the same time, the circuit structure of the RCD auxiliary network will need to withstand high voltage stress on both sides of the MOS tube after the circuit is started, which will consume a lot of energy and generate a lot of heat. High energy consumption and high heat will reduce the efficiency and stability of the circuit. The existing three-level soft start circuit has the disadvantages of occupying a large PCB space, high cost, high energy consumption, and high heat generation.
[0058] like Figure 1 and Figure 2 As shown, D of the RCD auxiliary network needs to use four high-voltage diodes, and C needs to use four capacitors with high withstand voltage and large ripple current. The design cost is high and it takes up a lot of PCB space. Figure 1 This is a schematic diagram of a three-level circuit structure using a passive RCD auxiliary network. After the circuit starts working and the switch tube is in the on state, the RCD auxiliary network will continue to generate heat and consume energy. In a high-voltage system, this consumed energy and generated heat cannot be underestimated, and is not conducive to improving the efficiency and stability of the circuit. Figure 2 As shown, in Figure 1 On the basis of the , switch tube S3 is added to realize active control to improve the pre-charge soft start time and circuit overshoot adjustment problems. However, this circuit still has the shortcomings of the passive RCD auxiliary network, and in high-voltage application scenarios, the newly added switch tube needs to be separately selected with high-specification voltage-resistant materials, which increases the economic cost.
[0059] Based on this, a three-level soft start circuit, a charging method, a charging device and a storage medium are provided in the embodiments of the present application, aiming to solve the problems that the existing three-level soft start circuit occupies a large PCB space, has high cost, high energy consumption and generates a lot of heat, and to improve the stability and working efficiency of the three-level soft start circuit.
[0060] A charging method, a charging device and a storage medium are provided in the application embodiments, which are specifically described through the following embodiments.
[0061] Figure 3: It is a circuit structure diagram of a three-level soft start circuit provided in an embodiment of the present application. The three-level soft start circuit applies the flying capacitor three-level technology and can be applied to bidirectional DC high voltage occasions. The three-level soft start circuit includes a power module Vin, a relay module and a switch module. The relay module includes a first relay module and a second relay module, the first relay module includes a first relay RLY1, the second relay module includes a second relay RLY2 and a first soft start resistor RS1, the second relay RLY2 and the first soft start resistor RS1 are connected in series, and the first relay RLY1 and the second relay module are connected in parallel. The switch module includes a first switch module S1, a second switch module S2, a third switch module S3 and a fourth switch module S4. Among them, the first switch module S1, the second switch module S2 and the third switch module S3 are the same, the first switch module S1 includes a first MOS tube and a voltage stabilizing unit, the first MOS tube and the voltage stabilizing unit are connected in parallel, the voltage stabilizing unit includes a voltage stabilizing resistor and a voltage stabilizing capacitor, and the voltage stabilizing resistor and the voltage stabilizing capacitor are connected in series. The voltage stabilizing unit is used to absorb the peak voltage generated when the first MOS tube is turned on. The resistor-capacitor series structure of the voltage stabilizing unit does not participate in the loop operation, thereby reducing the additional loss and heat caused by the participation of the resistor in the circuit operation, thereby improving the circuit's operating efficiency and operating stability. The fourth switch module S4 includes a second MOS tube and a second soft-start resistor RS2, and the second MOS tube and the second soft-start resistor RS2 are connected in series. The first MOS tube and the second MOS tube can select the same voltage-resistant grade material. Compared with the existing three-level soft-start circuit, the circuit hardware structure of the three-level soft-start circuit in the embodiment of the present application is simple, saving 4 high-voltage diodes, and no need to use capacitors with large ripple current, reducing the PCB space occupied. The voltage stabilizing unit of the switch module can absorb the peak voltage generated when the first MOS tube is opened and closed. When the first MOS tube works in a steady state, the voltage stabilizing unit does not participate in the loop operation, so that no additional loss and heat are generated in the circuit, which is conducive to improving the efficiency of the module.
[0062] The power module Vin includes a positive power electrode and a negative power electrode, a first end of the first relay RLY1 is connected to the positive power electrode of the power module Vin, and a second end of the first relay RLY1 is connected to the first end of the preset input capacitor Cin. The first end of the first switch module S1 is connected to the first relay RLY1, and the second end of the first switch module S1 is respectively connected to the first end of the second switch module S2 and the first end of the preset flying capacitor CF. The second end of the second switch module S2 is respectively connected to the first end of the third switch module S3 and the first end of the preset inductor L1. The second end of the preset inductor L1 is connected to the first end of the preset output capacitor Co. The second end of the third switch module S3 is respectively connected to the second end of the preset flying capacitor CF and the first end of the fourth switch module S4. The negative power electrode of the power module Vin, the second end of the preset input capacitor Cin, the second end of the fourth switch module S4, and the second end of the preset output capacitor Co are all grounded.
[0063] In some embodiments, the relay module further includes a third relay module for controlling the preset output capacitor Co to output power to the preset load. The third relay module includes a third relay RLY3, a first end of the third relay module RLY3 is connected to the first end of the preset output capacitor Co, and a second end of the third relay module RLY3 is connected to the preset load.
[0064] In some embodiments, the switch module further includes a fifth switch module S5, which is the same as the first switch module S1, the second switch module S2 and the third switch module S3, and includes a first MOS tube and a voltage stabilizing unit. The first end of the fifth switch module S5 is respectively connected to the second end of the preset flying capacitor CF and the second end of the third switch module S3, and the second end of the fifth switch module S5 is grounded.
[0065] In some embodiments, the first MOS transistor of the first switch module S1, the first MOS transistor of the second switch module S2, the first MOS transistor of the third switch module S3, the second MOS transistor of the fourth switch module S4, and the first MOS transistor of the fifth switch module all have corresponding independent drivers G1, G2, G3, G4, and G5, and the first MOS transistor and the second MOS transistor are used for main power conversion. Driver G1 is used to control the closing and opening of the first MOS transistor of the first switch module S1. Driver G2 is used to control the closing and opening of the first MOS transistor of the second switch module S2. Driver G3 is used to control the closing and opening of the first MOS transistor of the third switch module S3. Driver G4 is used to control the closing and opening of the first MOS transistor of the fourth switch module S4. Driver G5 is used to control the closing and opening of the second MOS transistor of the fifth switch module S5. The first MOS transistor and the second MOS transistor are of the same type, which can be an enhanced N-channel MOS transistor.
[0066] The soft start circuit of the embodiment of the present application has a simple circuit hardware structure, low cost, and is easy to maintain. It can be modularly designed in a common DC bus situation, and is convenient for parallel expansion to extend the system current range according to actual application requirements.
[0067] Figure 4 is an optional flow chart of the charging method provided in the embodiment of the present application, which is applied to the above-mentioned three-level soft start circuit. Figure 4 The method may include but is not limited to steps S100 to S400.
[0068] Step S100, receiving a control instruction.
[0069] Step S200, in response to the control instruction, the preset flying capacitor is first charged so that the current flying voltage of the preset flying capacitor is a first voltage, and the preset input capacitor is second charged so that the current input capacitor voltage of the preset input capacitor is a second voltage.
[0070] Step S300 , performing a third charging on the preset input capacitor according to the first voltage and the first preset voltage threshold, so that the current input capacitor voltage changes from the second voltage to the third voltage.
[0071] Step S400 , charging the preset output capacitor according to the third voltage, the first preset voltage threshold, the second preset voltage threshold and the preset output voltage, so that the current output capacitor voltage of the preset output capacitor is the target voltage.
[0072] Steps S100 to S400 shown in the embodiment of the present application, by dividing the charging stage into three stages, the preset flying capacitor, the preset input capacitor and the preset output capacitor are charged in sequence, so that the preset flying capacitor, the preset input capacitor and the preset output capacitor can be pre-charged to a suitable voltage, and the charging sequence can make the first and second MOS tubes only need to withstand half the voltage of the power module Vin throughout the whole process, reducing the voltage resistance requirements of the MOS tube, so that the MOS tube with a lower voltage resistance material can be selected to reduce economic costs. If the charging sequence is changed, when the MOS tube is pre-charged and soft-started by pulse width modulation (PWM), the MOS tube needs to withstand the full voltage resistance of the power module Vin. In addition, it is also ensured that the capacitor components in the circuit will not damage the circuit components due to the uncontrollable impact current generated by the sudden voltage, so that the circuit works normally. By combining software control, the three-level soft start circuit is more stable, reliable and practical, and the flying capacitor pre-charge soft start problem, the input capacitor soft start problem and the output capacitor voltage soft start problem are solved when the circuit designed by the three-level technology of the flying capacitor is started, the loop loss is reduced, and the capacitor pre-charge soft start time is reduced.
[0073] In step S100 of some embodiments, before the three-level soft start circuit is started, it is necessary to pre-charge the preset flying capacitor, the preset input capacitor and the preset output capacitor to a suitable voltage to avoid overvoltage problems in the power device. The control instruction refers to the work step instruction issued by the host computer, that is, the instruction for controlling the working state of the circuit, and the control instruction is used to control the charging of the preset flying capacitor, the preset input capacitor and the preset output capacitor of the three-level soft start circuit. Specifically, the DSP chip in the three-level soft start circuit stores the soft start control program. After the three-level soft start circuit receives the work step instruction issued by the host computer, it starts to run the soft start control program stored in the DSP chip.
[0074] Please refer to Figure 5 In some embodiments, step S200 may include but is not limited to steps S210 to S230:
[0075] Step S210, in response to the control instruction, close the second relay, the first switch module and the fourth switch module, so that a first current loop is formed between the power module, the second relay module, the first MOS tube of the first switch module, the preset flying capacitor and the fourth switch module, and a second current loop is formed between the power module, the second relay module and the preset input capacitor.
[0076] Step S220: performing a first charging on the preset flying capacitor through a first current loop to obtain a first voltage.
[0077] Step S230, performing a second charging on the preset input capacitor through a second current loop to obtain a second voltage.
[0078] In step S210 of some embodiments, the preset flying capacitor CF plays the role of clamping in the three-level soft start circuit. When the voltage of the preset flying capacitor CF is zero, the preset flying capacitor CF loses its clamping meaning. At this time, the closed MOS tube needs to withstand the entire Vin withstand voltage of the power module. In high-voltage applications (for example, VIN=1800V), the withstand voltage requirements for the switch tube, i.e., the MOS tube, are too high, which is not conducive to material selection and cost control. Therefore, the preset flying capacitor CF needs to be pre-charged in the first step of soft start. The role of the preset input capacitor Cin in the three-level soft start circuit is to support and filter the input DC voltage bus. When the voltage of the preset input capacitor Cin is zero, the closing of the first relay RLY1 will generate an uncontrollable impact current to damage the circuit components, so while charging the preset flying capacitor CF, it is also necessary to charge the preset input capacitor Cin.
[0079] In response to the control instruction, the second relay RLY2, the first MOS tube of the first switch module and the first MOS tube of the fourth switch module are closed, and the first current loop is formed between the power module Vin, the first MOS tube of the first switch module, the preset flying capacitor CF and the fourth switch module through the closing of the second relay RLY2, the first MOS tube of the first switch module S1 and the first MOS tube of the fourth switch module S4. Through the closing of the second relay RLY2, a second current loop is formed between the power module Vin, the second relay RLY2, the first soft-start resistor RS1 and the preset input capacitor Cin. It can be understood that closing the first MOS tube refers to turning on the first MOS tube through the driving module, and disconnecting the first MOS tube refers to turning off the first MOS through the driving module.
[0080] The first current loop and the second current loop are Figure 6 As shown, the current flows through the positive power supply of the power module Vin, the second relay RLY2, the first soft-start resistor RS1, the first MOS tube of the first switch module S1, the preset flying capacitor CF and the fourth switch module S4, and then returns to the negative power supply of the power module Vin to form a first current loop. The current flows through the positive power supply of the power module Vin, the second relay RLY2, the first soft-start resistor RS1 and the preset input capacitor Cin, and then returns to the negative power supply of the power module Vin to form a second current loop.
[0081] When the circuit starts to charge the preset input capacitor Cin and closes the second relay RLY2, the voltage of the preset input capacitor Cin is greatly different from the input voltage of the power module Vin. At this time, the first soft-start resistor RS1 performs current limiting and voltage division to prevent the preset input capacitor Cin from generating an impact current and damaging the second relay RLY2 due to the large potential difference between the preset input capacitor Cin and the power module.
[0082] When the preset input capacitor Cin maintains a high voltage, if the first switch module S1 and the fourth switch module S4 are closed at this time, the preset flying capacitor will generate a surge current due to the large potential difference with the input capacitor Cin and thus damage the relay. At this time, the second soft-start resistor RS2 plays a role of voltage division to protect the circuit loop components.
[0083] In step S220 of some embodiments, the power module Vin charges the preset flying capacitor CF according to the first current loop, and the voltage obtained by the preset flying capacitor CF during the charging process is the first voltage.
[0084] In step S230 of some embodiments, the power module Vin charges the preset input capacitor Cin according to the second current loop, and the voltage obtained by the preset input capacitor Cin during the charging process is the second voltage.
[0085] Through the above steps S210 to S230, the preset flying capacitor CF and the preset input capacitor Cin can be charged, so that the preset flying capacitor CF and the preset input capacitor Cin can be pre-charged to a suitable voltage. When the preset flying capacitor CF is charged and the preset input capacitor Cin is charged at the same time, a certain soft start time can be saved.
[0086] Please refer to Figure 7 In some embodiments, step S300 may include but is not limited to step S310 and step S320:
[0087] Step S310: If the first voltage is equal to the first preset voltage threshold, disconnect the first switch module and the fourth switch module to disconnect the first current loop.
[0088] Step S320: performing the third charging on the preset input capacitor through the second current loop to obtain the third voltage.
[0089] In step S310 of some embodiments, the first preset voltage threshold is half of the voltage value of the power module Vin, that is, the first preset voltage threshold is the middle symmetrical point of the input voltage of the power module. The first preset voltage threshold is set to half of the voltage value of the power module Vin, so that the upper and lower bridge arm switch tubes of the circuit topology can each be clamped to half of the input voltage, and the withstand voltages borne by the upper and lower bridge arm switch tubes are uniform and symmetrical. If an asymmetric voltage point is selected, the switch tubes on one side of the upper and lower bridge arms will be subject to a lower withstand voltage, and the switch tubes on the other side will be subject to a higher withstand voltage, which is not conducive to device selection. In addition, by setting the first preset voltage to Vin / 2, the first MOS tubes of the first switch module S1, the second switch module S2, the third switch module S3 and the fifth switch module S5 are all subject to the same voltage, which can reduce the withstand voltage selection and control costs of the first switch module S1, the second switch module S2, the third switch module S3 and the fifth switch module S5, which is conducive to device selection.
[0090] If the first voltage is equal to Vin / 2, the first switch module S1 and the fourth switch module S4 are disconnected to disconnect the first current loop and stop charging the preset flying capacitor CF. When the first current loop is disconnected, the preset input capacitor Cin has been pre-charged with a portion of the voltage. At this time, the second voltage V(t) of the preset input capacitor Cin can be calculated according to formula (1):
[0091]
[0092] Wherein, Vin is the input voltage value of the power module, RS1 is the resistance value of the first soft-start resistor, Cin is the capacitance of the input capacitor, and t is the time from the start of charging to the disconnection of the first current loop.
[0093] In step S320 of some embodiments, after the first current loop is disconnected, the current flow in the three-level soft start circuit is as follows: Figure 8 The current path is the same as the current path of the second current loop, which will not be described again. The power module Vin continues to charge the preset input capacitor Cin based on the second voltage according to the second current loop, and the voltage obtained by the preset input capacitor Cin during the charging process is the third voltage.
[0094] Through the above steps S310 to S320, it is possible to determine whether the soft-start charging of the preset flying capacitor CF is completed based on the first preset voltage threshold and the voltage value of the preset flying capacitor CF. After the soft-start charging of the preset flying capacitor CF is completed, the second relay RYL2 is kept closed so that the circuit continues to charge the preset input capacitor Cin.
[0095] Please refer to Fig. 9 In some embodiments, step S400 includes but is not limited to steps S410 to S440:
[0096] In step S410 , if the third voltage is equal to the second preset voltage threshold, the preset output voltage is compared with the first preset voltage threshold.
[0097] Step S420, if the preset output voltage is greater than the first preset voltage threshold, the first relay, the first switch module and the third switch module are closed, so that a third current loop is formed between the power module, the first relay, the first switch module, the preset flying capacitor, the third switch module and the preset output capacitor.
[0098] Step S430 , intermediately charging the preset output capacitor through the third current loop, so that the output capacitor voltage becomes the candidate voltage.
[0099] Step S440 , performing a fourth charging on the preset output capacitor according to the candidate voltage and the first preset voltage threshold, so that the output capacitor voltage changes from the candidate voltage to the target voltage.
[0100] In step S410 of some embodiments, the second preset voltage threshold is the voltage value of the power module Vin, and the preset output voltage Vo is the voltage value that needs to be output in the actual application scenario. The output capacitor of the RCD auxiliary voltage divider network has a fixed voltage division, which cannot meet the demand for adjustable output. In the field of new energy batteries, the output voltage often needs to be adjustable to meet the requirements, and this technology cannot meet the requirements. In order to make the voltage of the preset output capacitor adjustable, the embodiment of the present application introduces a preset output voltage. Let the voltage of the preset input capacitor Cin approach the voltage of the power module Vin in order to reduce the voltage difference between the preset input capacitor Cin and the power module Vin, and prepare for the closing of the first relay RLY1, so that the impact current generated on the preset input capacitor Cin after closing the first relay RLY1 is small, thereby avoiding damage to circuit components.
[0101] It should be noted that when the third voltage is equal to the second preset voltage threshold, the second relay RLY2 is controlled to be disconnected, the preset input capacitor Cin is stopped from being charged, and the preset output capacitor Co is started to be charged. If the second relay RLY2 is continuously connected after the preset input capacitor Cin is pre-charged, the first soft-start resistor RS1 will continue to consume energy when used for pre-charging soft-start, affecting the power efficiency of the three-level soft-start circuit, thereby prolonging the subsequent charging time of the preset output capacitor Co.
[0102] The main function of the preset output capacitor Co in the circuit is to support and filter the output DC voltage bus. If the voltage difference between the preset output capacitor Co and the preset output voltage Vo is large, when the circuit closes the third relay RLY3 to output power to the preset load, an uncontrollable impact current will be generated to damage the circuit components. Therefore, it is necessary to precharge the voltage of the preset output capacitor Co to the preset output voltage Vo.
[0103] In step S420 of some embodiments, if the preset output voltage is greater than the first preset voltage threshold, the first relay RLY1, the first MOS transistor of the first switch module S1 and the first MOS transistor of the third switch module S3 are closed, so that a third current loop is formed between the power module Vin, the first relay RLY1, the first MOS transistor of the first switch module S1, the preset flying capacitor CF, the first MOS transistor of the third switch module S3 and the preset output capacitor Co. The third current loop is as follows Fig.10 As shown, the current flows through the positive power electrode of the power module Vin, the first relay RLY1, the first MOS tube of the first switch module S1, the preset flying capacitor CF, the first MOS tube of the third switch module S3, the preset inductor L1 and the preset output capacitor Co, and then returns to the negative power electrode of the power module Vin to form a third current loop.
[0104] In step S430 of some embodiments, the power module Vin charges the preset output capacitor Co according to the third current loop, and the voltage obtained by the preset output capacitor Co during the charging process is the candidate voltage.
[0105] In step S440 of some embodiments, the preset output capacitor Co is charged for the fourth time according to the candidate voltage and the first preset voltage threshold, so that the output capacitor voltage changes from the candidate voltage to the target voltage. Fig.10 In the third current loop, the preset flying capacitor CF and the preset output capacitor Co are in series relationship. To ensure that the voltage of the preset flying capacitor CF is Vin / 2, the voltage of the preset output capacitor Co cannot exceed Vin / 2. When the preset output voltage Vo is greater than Vin / 2, only allowing the power module Vin to charge the preset output capacitor Co according to the third current loop cannot make the voltage value of the preset output capacitor Co close to the voltage value of the preset output voltage Vo. This method step allows the voltage of the preset output capacitor Co to be charged to the candidate voltage first, and then the voltage of the preset output capacitor Co is made close to the preset output voltage Vo through the fourth current loop, thereby completing the charging of the preset output capacitor Co.
[0106] Through the above steps S410 to S440, it is possible to determine whether the soft-start charging of the preset input capacitor Cin is completed based on the second preset voltage threshold and the voltage value of the preset input capacitor Cin, and then determine the execution of the corresponding charging operation of the circuit based on the voltage value actually required to be output, thereby ensuring the normal charging of the preset output capacitor Co.
[0107] Please refer to Fig.11 In some embodiments, step S440 may include but is not limited to steps S441 to S442:
[0108] Step S441, if the candidate voltage is equal to the first preset voltage threshold, the third switch module is disconnected and the second switch module is closed, so that a fourth current loop is formed between the power module, the first relay, the first switch module, the second switch module and the preset output capacitor.
[0109] Step S442, performing a fourth charging on the preset output capacitor through a fourth current loop to obtain a target voltage.
[0110] In step S441 of some embodiments, if the candidate voltage is equal to the first preset voltage threshold Vin / 2, it means that the voltage of the preset output capacitor is pre-charged from 0V to Vin / 2, the third switch module S3 is disconnected, and the second switch module S2 is closed, so that a fourth current loop is formed between the power module Vin, the first relay RLY1, the first switch module S1, the second switch module S2 and the preset output capacitor Co. The fourth current loop is as follows Fig.12As shown, the current flows through the positive power pole of the power module Vin, the first relay RLY1, the first MOS tube of the first switch module S1, the first MOS tube of the second switch module S2, the preset inductor L1 and the preset output capacitor Co, and then returns to the negative power pole of the power module Vin to form a fourth current loop.
[0111] In step S442 of some embodiments, the power module Vin charges the preset output capacitor Co of the existing candidate voltage according to the fourth current loop, and the target voltage is the voltage of the preset output capacitor Co. When the target voltage is equal to the voltage setting value of the preset output capacitor (the preset output voltage Vo), it means that the voltage difference between the preset output capacitor Co and the preset load approaches zero, and the third relay RLY3 is closed to start outputting power to the load.
[0112] Through the above steps S441 to S442, the current loop can be controlled to connect the power module Vin and the preset output capacitor Co in series, so that the power module Vin can charge the preset output capacitor Co, and the voltage value of the preset output capacitor Co can approach the preset output voltage Vo.
[0113] Please refer to Fig.13 In some other embodiments of the present application, after step S410, the charging method includes but is not limited to steps S510 to S520:
[0114] Step S510, if the preset output voltage is less than or equal to the first preset voltage threshold, close the first relay, the first switch module and the third switch module, so that a fifth current loop is formed between the power module, the first relay, the first switch module, the preset flying capacitor, the third switch module and the preset output capacitor.
[0115] Step S520 , performing a fifth charging on the preset output capacitor through a fifth current loop to obtain a target voltage.
[0116] In step S510 of some embodiments, if the preset output voltage Vo is less than or equal to the first preset voltage threshold Vin / 2, the first relay RLY1, the first switch module S1 and the third switch module S3 are closed, so that a fifth current loop is formed between the power module Vin, the first relay RLY1, the first switch module S1, the preset flying capacitor CF, the third switch module S3 and the preset output capacitor Co. The fifth current loop is as follows: Fig.10 The fifth current loop is the same as the third current loop, and the specific current path of the third current loop has been described in detail in the above description, which will not be repeated here.
[0117] In step S520 of some embodiments, the preset output capacitor is charged for the fifth time through the fifth current loop to obtain a target voltage. When the target voltage is equal to the voltage setting value of the preset output capacitor, the circuit closes the third relay RLY3. After closing the third relay RLY3, the circuit starts to output power to the load. The main function of the preset output capacitor Co in the circuit is to support and filter the output DC voltage bus. If the preset output capacitor Co has a large voltage difference with the voltage value to be output in the actual application scenario, that is, the preset output voltage Vo, then when the third relay RLY3 is closed, the preset output capacitor Co will generate an uncontrollable impact current to damage circuit components.
[0118] Through the above steps S510 to S520, the circuit can control the corresponding relay and MOS tube to close according to the first preset voltage threshold and the preset output voltage, forming a specific current loop to charge the preset output capacitor Co, thereby ensuring that the preset output capacitor Co is charged to the preset voltage value.
[0119] In some embodiments, it is necessary to detect the voltage value of the component and compare it with the preset voltage threshold. According to the comparison result, a corresponding instruction is issued to control the corresponding first MOS tube and the relay to open and close. The control process can be to collect voltage at both ends of the component whose voltage value needs to be detected, and then give it to the port responsible for AD data collection in the DSP chip after attenuation by the sampling resistor and amplification by the operational amplifier to compare the voltage value. Then, through the DSP embedded software programming control, the DSP chip issues an instruction corresponding to the comparison result to complete the control process.
[0120] When the input capacitor voltage of the high-voltage bidirectional power converter is not zero, the flying capacitor can also be charged, directly skipping a large amount of input capacitor discharge time, quickly responding to the instructions issued by the upper computer step, and the output capacitor is pre-charged and soft-started through the closed-loop control of the switch tube. No additional auxiliary circuits are introduced, and the design is simple. When the high-voltage bidirectional power converter is working normally, the pre-charge soft-start auxiliary circuit does not participate in the loop work, does not cause additional loss and heat, and is conducive to improving the efficiency of the module. Compared with Figure 1 and 2 The technical solution can save 4 high-voltage diodes, and there is no need to use capacitors with large ripple current. The flying capacitor pre-charged soft-start switch tube, that is, the fourth switch module S4, can choose the same voltage resistance level as the first switch module S1, the second switch module S2, the third switch module S3 and the fifth switch module S5 in the main topology. From the cost perspective, the three-level soft-start circuit of the embodiment of the present application is better. From the perspective of PCB design, this solution occupies less PCB space.
[0121] The embodiment of the present application also provides a charging device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements any of the steps of the above-mentioned charging method when executing the computer program. The charging device controls the first MOS tube, the second MOS tube and the relay switch to close and change the current flow direction through instructions, charges the preset flying capacitor, the preset input capacitor and the preset output capacitor, obtains the preset voltage value in turn, and completes the soft start charging.
[0122] The computer program is stored in the memory, and the processor executes at least one computer program to implement the charging method disclosed in the present disclosure. The charging device can be any intelligent terminal including a mobile phone, a tablet computer, a personal digital assistant (PDA), a car computer, etc.
[0123] Combine the following Fig.14 The charging device of the embodiment of the present application is introduced in detail.
[0124] Please refer to Fig.14 , Fig.14 The hardware structure of a charging device of another embodiment is illustrated, and the charging device comprises:
[0125] The processor 1410 may be implemented by a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present disclosure;
[0126] The memory 1420 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1420 can store an operating system and other application programs. When the technical solution provided in the embodiments of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1420, and the processor 1410 calls and executes the charging method of the embodiment of the present disclosure;
[0127] Input / output interface 1430, used to implement information input and output;
[0128] Communication interface 1440, used to realize communication interaction between the device and other devices, which can be realized through wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);
[0129] Bus 1450 , which transmits information between various components of the device (e.g., processor 1410 , memory 1420 , input / output interface 1430 , and communication interface 1440 );
[0130] The processor 1410 , the memory 1420 , the input / output interface 1430 , and the communication interface 1440 are connected to each other in communication within the device via a bus 1450 .
[0131] An embodiment of the present application further provides a storage medium, which is a computer-readable storage medium and stores a computer program. When the computer program is executed by a processor, the steps of any one of the above-mentioned charging methods are implemented.
[0132] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0133] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0134] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0135] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0136] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0137] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0138] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0139] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0140] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0141] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0142] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0143] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable an electronic device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store programs.
[0144] The preferred embodiments of the present disclosure are described above with reference to the accompanying drawings, but the scope of the rights of the present disclosure is not limited thereto. Any modification, equivalent substitution and improvement made by those skilled in the art without departing from the scope and essence of the present disclosure should be within the scope of the rights of the present disclosure.
Claims
1. A charging method for charging a three-level soft start circuit, characterized in that: The three-level soft start circuit comprises: a power module; a relay module, wherein the relay module comprises a first relay module and a second relay module; the first relay module comprises a first relay, the second relay module comprises a second relay and a first soft start resistor, and the second relay and the first soft start resistor are connected in series; the first relay and the second relay module are connected in parallel, the first end of the first relay is connected to the power module, and the second end of the first relay is connected to a preset input capacitor; A switch module, the switch module comprising a first switch module, a second switch module, a third switch module and a fourth switch module; the first switch module, the second switch module and the third switch module are the same; the first end of the first switch module is connected to the first relay, and the second end of the first switch module is respectively connected to the second switch module and a preset flying capacitor; the second switch module is respectively connected to the third switch module and a preset inductor, and the preset inductor is connected to a preset output capacitor; the third switch module is respectively connected to the preset flying capacitor and the fourth switch module; The first switch module includes a first MOS tube and a voltage stabilizing unit, the first MOS tube and the voltage stabilizing unit are connected in parallel, the voltage stabilizing unit includes a voltage stabilizing resistor and a voltage stabilizing capacitor, the voltage stabilizing resistor and the voltage stabilizing capacitor are connected in series; the voltage stabilizing unit is used to absorb the peak voltage generated when the first MOS tube is turned on; the fourth switch module includes a second MOS tube and a second soft-start resistor, the second MOS tube and the second soft-start resistor are connected in series; The relay module further includes a third relay module, a first end of the third relay module is connected to the preset output capacitor, a second end of the third relay module is connected to a preset load, and the third relay module is used to control the preset output capacitor to output power to the preset load; The charging method comprises: Receive control instructions; In response to the control instruction, the preset flying capacitor is first charged so that the current flying voltage of the preset flying capacitor is a first voltage, and the preset input capacitor is second charged so that the current input capacitor voltage of the preset input capacitor is a second voltage; Performing a third charging on the preset input capacitor according to the first voltage and a first preset voltage threshold, so that the current input capacitor voltage changes from the second voltage to a third voltage; The preset output capacitor is charged according to the third voltage, the first preset voltage threshold, the second preset voltage threshold and the preset output voltage, so that the current output capacitor voltage of the preset output capacitor is the target voltage; the second preset voltage threshold is twice the first preset voltage threshold, and the preset output voltage is the voltage setting value of the preset output capacitor; In response to the control instruction, the preset flying capacitor is first charged so that the current flying voltage of the preset flying capacitor is a first voltage, and the preset input capacitor is second charged so that the current input capacitor voltage of the preset input capacitor is a second voltage, including: In response to the control instruction, the second relay, the first switch module and the fourth switch module are closed, so that a first current loop is formed between the power module, the second relay module, the first MOS tube of the first switch module, the preset flying capacitor and the fourth switch module, and a second current loop is formed between the power module, the second relay module and the preset input capacitor; Performing the first charging on the preset flying capacitor through the first current loop to obtain the first voltage; Performing the second charging on the preset input capacitor through the second current loop to obtain the second voltage; The performing a third charging on the preset input capacitor according to the first voltage and the first preset voltage threshold so that the current input capacitor voltage changes from the second voltage to a third voltage includes: If the first voltage is equal to the first preset voltage threshold, disconnecting the first switch module and the fourth switch module to disconnect the first current loop; Performing the third charging on the preset input capacitor through the second current loop to obtain the third voltage; The step of charging the preset output capacitor according to the third voltage, the first preset voltage threshold, the second preset voltage threshold and the preset output voltage so that the current output capacitor voltage of the preset output capacitor is the target voltage includes: If the third voltage is equal to the second preset voltage threshold, comparing the preset output voltage with the first preset voltage threshold; If the preset output voltage is greater than the first preset voltage threshold, the first relay, the first switch module and the third switch module are closed, so that a third current loop is formed among the power module, the first relay, the first switch module, the preset flying capacitor, the third switch module and the preset output capacitor; intermediately charging the preset output capacitor through the third current loop so that the output capacitor voltage becomes a candidate voltage; The preset output capacitor is fourthly charged according to the candidate voltage and the first preset voltage threshold, so that the output capacitor voltage changes from the candidate voltage to the target voltage.
2. The charging method according to claim 1, characterized in that: The fourth step of charging the preset output capacitor according to the candidate voltage and the first preset voltage threshold so that the output capacitor voltage changes from the candidate voltage to the target voltage includes: If the candidate voltage is equal to the first preset voltage threshold, disconnect the third switch module and close the second switch module, so that a fourth current loop is formed between the power module, the first relay, the first switch module, the second switch module and the preset output capacitor; The preset output capacitor is charged for the fourth time through the fourth current loop to obtain the target voltage.
3. The charging method according to claim 1, characterized in that: The step of charging the preset output capacitor according to the third voltage, the first preset voltage threshold, the second preset voltage threshold and the preset output voltage so that the current output capacitor voltage of the preset output capacitor is the target voltage includes: If the preset output voltage is less than or equal to the first preset voltage threshold, the first relay, the first switch module and the third switch module are closed, so that a fifth current loop is formed between the power module, the first relay, the first switch module, the preset flying capacitor, the third switch module and the preset output capacitor; The preset output capacitor is charged for a fifth time through the fifth current loop to obtain the target voltage.
4. A charging device, characterized in that: The charging device comprises a memory and a processor, the memory stores a computer program, and the processor implements the charging method according to any one of claims 1 to 3 when executing the computer program.
5. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the charging method according to any one of claims 1 to 3 is implemented.
