Charging and discharging device, control method, electronic equipment, storage medium and vehicle

By using a combination of power factor correction module, resonance module and alternating current conversion module in the vehicle charger, and using phase shift control technology, the problems of low charge and discharge efficiency, high cost, many components and large volume in the prior art are solved, efficient and low-cost charge and discharge, and support a variety of working modes and functions.

CN119765595APending Publication Date: 2025-04-04BYD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411818199.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-10
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

The two-stage structure of existing vehicle-mounted chargers has limitations in improving efficiency and reducing costs. The number of components is large and the size is large, and it is difficult to achieve multiple working modes and functions.

Method used

A charging and discharging device is proposed, including a power factor correction module, a resonance module and an alternating current conversion module. The charging and discharging between the AC power supply and the battery unit is realized through phase shift control, and supports multiple working modes and functions.

Benefits of technology

It improves charging and discharging efficiency, reduces costs, reduces the number and volume of components, and realizes a variety of working modes and functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119765595A_ABST
    Figure CN119765595A_ABST
Patent Text Reader

Abstract

The invention discloses a charging and discharging device, a control method, electronic equipment, a storage medium and a vehicle. The charging and discharging device comprises a power factor correction module, a resonance module and at least one alternating current-direct current conversion module, the first end of the power factor correction module is suitable for being connected with an AC power supply; the first end of the resonance module is connected with the second end of the power factor correction module; the first end of the at least one AC-DC conversion module is connected with the second end of the resonance module, and the second end of the at least one AC-DC conversion module is suitable for being connected with a battery unit; and the power factor correction module and the at least one AC-DC conversion module perform phase shift control so as to realize charging and discharging between the AC power supply and the battery unit and / or charging and discharging between different battery units. The device can improve the charging and discharging efficiency, reduce the cost, reduce the number of components, reduce the size, and control the charging and discharging of the circuit and the power through phase shift control, thereby achieving multiple working modes and multiple functions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicles, and in particular to a charging and discharging device, a charging and discharging control method, an electronic device, a computer-readable storage medium and a vehicle. Background Art

[0002] In the related technology, the on-board charger currently generally adopts a two-stage OBC (On-Board Charger) structure. The front stage is the PFC (Power Factor Correction) link, which uses a staggered parallel totem pole bridgeless PFC to achieve power factor correction of the input current, reduce harmonic distortion, and output a stable bus voltage; the back stage is the DC-DC (Direct Current) link, which uses an isolated resonant circuit or CLLLC (inductor-inductor-capacitor-inductor structure) converter to improve work efficiency and output high-quality electric energy to the battery side. The two-stage structure can achieve a wide voltage range and high power factor. However, since the power conversion is realized in two stages and the number of components is large, this structure has limitations in improving efficiency and reducing costs. The device size is large. Since the CLLLC adopts frequency modulation control and the DC-DC part adopts fixed frequency duty cycle control, the two parts have different control algorithms, making it difficult to achieve multiple working modes and multiple functions. 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, one purpose of the present invention is to provide a charging and discharging device, which can improve the charging and discharging efficiency, reduce the cost, reduce the number of components, and reduce the volume, and control the charging and discharging of the circuit and the power size through phase shift control, thereby realizing multiple working modes and multiple functions.

[0004] The second objective of the present invention is to provide a charge and discharge control method.

[0005] The third objective of the present invention is to provide an electronic device.

[0006] A fourth objective of the present invention is to provide a computer-readable storage medium.

[0007] A fifth object of the present invention is to provide a vehicle.

[0008] In order to solve the above problems, an embodiment of the first aspect of the present invention provides a charging and discharging device, including: a power factor correction module, a first end of the power factor correction module is suitable for being connected to an AC power supply; a resonance module, a first end of the resonance module is connected to a second end of the power factor correction module; at least one AC-DC conversion module, a first end of the at least one AC-DC conversion module is connected to a second end of the resonance module, and a second end of the at least one AC-DC conversion module is suitable for being connected to a battery unit; the power factor correction module and the at least one AC-DC conversion module perform phase shift control to realize charging and discharging between the AC power supply and the battery unit and / or realize charging and discharging between different battery units.

[0009] The charging and discharging device according to the embodiment of the present invention can improve the charging and discharging efficiency, reduce the cost, reduce the number of components, and reduce the volume. When charging and discharging, the power factor correction module and at least one AC-DC conversion module are controlled to perform phase shift control to realize the charging and discharging between the AC power supply and the battery unit, and realize the charging and discharging between different battery units, thereby realizing multiple working modes and multiple functions.

[0010] In some embodiments, the power factor correction module includes: a first high-frequency switch tube bridge arm, the midpoint of which is suitable for connecting to the first end of the AC power supply through a first inductor; a second high-frequency switch tube bridge arm, the midpoint of which is suitable for connecting to the first end of the AC power supply through a second inductor; an industrial frequency switch tube bridge arm, the midpoint of which is suitable for connecting to the second end of the AC power supply; the first high-frequency switch tube bridge arm, the second high-frequency switch tube bridge arm and the industrial frequency switch tube bridge arm are connected in parallel.

[0011] In some embodiments, the second end of the resonance module includes a first connection end and a second connection end; the charging and discharging device includes: a first AC-DC conversion module, the first end of the first AC-DC conversion module is connected to the first connection end and the second connection end of the resonance module, and the second end of the first AC-DC conversion module is suitable for connecting to a first battery unit; the power factor correction module and the first AC-DC conversion module perform phase shift control to realize charging and discharging between the AC power supply and the first battery unit.

[0012] In some embodiments, the first AC-DC conversion module includes: a first capacitor, which is connected to both ends of the first battery unit; a third high-frequency switch tube bridge arm, the midpoint of which is connected to the first connection end of the resonance module; a fourth high-frequency switch tube bridge arm, the midpoint of which is connected to the second connection end of the resonance module; the third high-frequency switch tube bridge arm and the fourth high-frequency switch tube bridge arm are connected in parallel, and the first end of the third high-frequency switch tube bridge arm connected in parallel with the fourth switch tube bridge arm is suitable for connection to the first end of the first battery unit, and the second end of the third high-frequency switch tube bridge arm connected in parallel with the fourth high-frequency switch tube bridge arm is suitable for connection to the second end of the first battery unit.

[0013] In some embodiments, the resonance module includes: a transformer, the transformer including a primary coil and a first secondary coil; a resonance unit, the resonance unit is connected to at least the primary coil, the midpoint of the first high-frequency switch tube bridge arm and the midpoint of the second high-frequency switch tube bridge arm, for realizing AC signal transmission.

[0014] In some embodiments, the first end of the first secondary coil is connected to the midpoint of the third high-frequency switch tube bridge arm, and the second end of the first secondary coil is connected to the midpoint of the fourth high-frequency switch tube bridge arm; the resonance unit includes: a first resonant inductor, the first end of the first resonant inductor is connected to the midpoint of the first high-frequency switch tube bridge arm, and the second end of the first resonant inductor is connected to the first end of the primary coil.

[0015] In some embodiments, the resonance unit further includes: an excitation inductor, a first end of the excitation inductor connected to a second end of the first resonant inductor and a first end of the primary coil, and a second end of the excitation inductor connected to a second end of the primary coil.

[0016] In some embodiments, the resonance unit further includes: a first resonant capacitor, a first end of the first resonant capacitor is connected to the midpoint of the second high-frequency switch bridge arm, and a second end of the first resonant capacitor is connected to the second end of the primary coil.

[0017] In some embodiments, the resonance unit further includes: a second resonant inductor, a first end of the second resonant inductor is connected to a first end of the first secondary coil, and a second end of the second resonant inductor is connected to a midpoint of the third high-frequency switch bridge arm.

[0018] In some embodiments, the resonance unit further includes: a second resonance capacitor, a first end of the second resonance capacitor is connected to the second end of the first secondary coil, and a second end of the second resonance capacitor is connected to the midpoint of the fourth high-frequency switch bridge arm.

[0019] In some embodiments, the charging and discharging device further includes: at least one thin film capacitor, and the at least one thin film capacitor is connected in parallel with the power factor correction module.

[0020] In some embodiments, the charging and discharging device includes a plurality of thin film capacitors, and the plurality of thin film capacitors are connected in series.

[0021] In some embodiments, the second end of the resonance module also includes a third connection end and a fourth connection end; the charging and discharging device also includes: a second AC-DC conversion module, the first end of the second AC-DC conversion module is connected to the third connection end and the fourth connection end of the resonance module, and the second end of the second AC-DC conversion module is suitable for connecting to a second battery unit; the power factor correction module and the second AC-DC conversion module perform phase shift control to realize charging and discharging between the AC power supply and the second battery unit, and / or the first AC-DC conversion module and the second AC-DC conversion module perform phase shift control to realize charging and discharging between the first battery unit and the second battery unit.

[0022] In some embodiments, the transformer also includes a second secondary coil; the second AC-DC conversion module includes: a second capacitor, the second capacitor is connected to both ends of the second battery unit; a fifth high-frequency switch tube bridge arm, the midpoint of the fifth high-frequency switch tube bridge arm is connected to the first end of the second secondary coil; a sixth high-frequency switch tube bridge arm, the midpoint of the sixth high-frequency switch tube bridge arm is connected to the second end of the second secondary coil; the fifth high-frequency switch tube bridge arm is connected in parallel with the sixth high-frequency switch tube bridge arm, the first end of the fifth high-frequency switch tube bridge arm connected in parallel with the sixth high-frequency switch tube bridge arm is connected to the first end of the second battery unit, and the second end of the fifth high-frequency switch tube bridge arm connected in parallel with the sixth high-frequency switch tube bridge arm is connected to the second end of the second battery unit.

[0023] In some embodiments, the charging and discharging device further includes: a controller connected to the power factor correction module and the at least one AC-DC conversion module, and configured to perform phase shift control on the power factor correction module and the at least one AC-DC conversion module.

[0024] A second aspect of the present invention provides a charging and discharging control method for the charging and discharging device described in the above embodiment, the charging and discharging control method comprising: according to the charging and discharging mode, performing phase shift control on the power factor correction module and / or the at least one AC-DC conversion module in the charging and discharging device to realize charging and discharging between the AC power supply and the battery unit and / or realize charging and discharging between different battery units.

[0025] According to the charge and discharge control method of the embodiment of the present invention, the charge and discharge mode is first determined during charge and discharge, and the power factor correction module and at least one AC-DC conversion module are controlled to perform phase shift control according to the charge and discharge mode during charge and discharge, so as to realize the charge and discharge between the AC power supply and the battery unit, and realize the charge and discharge between different battery units, thereby realizing multiple working modes and multiple functions.

[0026] In some embodiments, the charging and discharging mode includes an AC to DC mode; in the AC to DC mode, the phase shift angle of the power factor correction module for the at least one AC to DC conversion module is positive, and the AC power supply charges the battery unit through the power factor correction module, the resonance module and the at least one AC to DC conversion module.

[0027] In some embodiments, when the AC power source charges the battery unit, the phase shift angle of the power factor correction module with respect to the at least one AC-DC conversion module is controlled through a current loop.

[0028] In some embodiments, the charging and discharging mode includes a DC to AC mode; in the DC to AC mode, the phase shift angle of the power factor correction module with respect to the at least one AC-DC conversion module is negative, and the battery unit is discharged to the AC power supply through the at least one AC-DC conversion module, the resonance module and the power factor correction module.

[0029] In some embodiments, when the battery unit discharges to the AC power supply, the phase shift angle of the at least one AC-DC conversion module relative to the power factor correction module is controlled by a dual closed-loop control of a voltage loop and a current loop, wherein the output current value of the voltage loop serves as a reference current value of the current loop.

[0030] In some embodiments, the charging and discharging device includes a first AC-DC conversion module on the high-voltage DC side and a second AC-DC conversion module on the low-voltage DC side; the charging and discharging mode includes a DC-to-DC mode; in the DC-to-DC mode, the phase shift angle of the first AC-DC conversion module to the second DC conversion module is positive, and the first battery unit discharges to the second battery unit through the first AC-DC conversion module, the resonance module and the second DC conversion module; or, the phase shift angle of the first AC-DC conversion module to the second DC conversion module is negative, and the second battery unit discharges to the first battery unit through the second DC conversion module, the resonance module and the first AC-DC conversion module; wherein the first battery unit is connected to the first AC-DC conversion module, and the second battery unit is connected to the second AC-DC conversion module.

[0031] In some embodiments, when the first battery cell discharges to the second battery cell or when the second battery cell discharges to the first battery cell, the phase shift angle of the first AC-DC conversion module relative to the second AC-DC conversion module is controlled by a voltage loop and a current loop, and the output current value of the voltage loop is used as a reference current value of the current loop.

[0032] In some embodiments, the power factor correction module is modulated with a fixed duty cycle or a variable duty cycle, and the at least one AC-DC conversion module is modulated with a half-sine wave and a triangular carrier.

[0033] In some embodiments, the first high-frequency switch tube bridge arm and the second high-frequency switch tube bridge arm of the power factor correction module are driven at a 50% duty cycle, and the power frequency switch tube bridge arm is driven at a 50% duty cycle, or the first high-frequency switch tube bridge arm and the second high-frequency switch tube bridge arm of the power factor correction module are driven at a variable duty cycle, and the power frequency switch tube bridge arm is driven at a 50% duty cycle; wherein the first high-frequency switch tube bridge arm includes a first upper bridge switch tube and a first lower bridge switch tube connected, the second high-frequency switch tube bridge arm includes a second upper bridge switch tube and a second lower bridge switch tube connected, and the power frequency switch tube bridge arm includes a third upper bridge switch tube and a third lower bridge switch tube connected. wherein the driving pulse signal of the first upper bridge switch tube is the same as that of the second lower bridge switch tube, the driving pulse signal of the first lower bridge switch tube is the same as that of the second upper bridge switch tube, the driving pulse signal of the first upper bridge switch tube is complementary to that of the first lower bridge switch tube, and the driving pulse signal of the second upper bridge switch tube is complementary to that of the second lower bridge switch tube.

[0034] In some embodiments, the third high-frequency switch tube bridge arm and the fourth high-frequency switch tube bridge arm of the first AC-DC conversion module are driven with a variable duty cycle, and the duty cycles of the third high-frequency switch tube bridge arm and the fourth high-frequency switch tube bridge arm are sinusoidally varied, wherein the third high-frequency switch tube bridge arm includes a fourth upper bridge switch tube and a fourth lower bridge switch tube connected to each other, and the fourth high-frequency switch tube bridge arm includes a fifth upper bridge switch tube and a fifth lower bridge switch tube connected to each other; wherein the driving pulse signal of the fourth upper bridge switch tube is the same as that of the fifth lower bridge switch tube, the driving pulse signal of the fourth lower bridge switch tube is the same as that of the fifth upper bridge switch tube, the driving pulse signal of the fourth upper bridge switch tube is complementary to that of the fourth lower bridge switch tube, and the driving pulse signal of the fifth upper bridge switch tube is complementary to that of the fifth lower bridge switch tube.

[0035] In some embodiments, the fifth high-frequency switch tube bridge arm and the sixth high-frequency switch tube bridge arm of the second AC conversion module are driven with a variable duty cycle, and the duty cycles of the fifth high-frequency switch tube bridge arm and the sixth high-frequency switch tube bridge arm are sinusoidally varied, wherein the fifth high-frequency switch tube bridge arm includes a sixth upper bridge switch tube and a sixth lower bridge switch tube connected to each other, and the sixth high-frequency switch tube bridge arm includes a seventh upper bridge switch tube and a seventh lower bridge switch tube connected to each other; wherein the driving pulse signal of the sixth upper bridge switch tube is the same as that of the seventh lower bridge switch tube, the driving pulse signal of the sixth lower bridge switch tube is the same as that of the seventh upper bridge switch tube, the driving pulse signal of the sixth upper bridge switch tube is complementary to that of the sixth lower bridge switch tube, and the driving pulse signal of the seventh upper bridge switch tube is complementary to that of the seventh lower bridge switch tube.

[0036] A third aspect of the present invention provides an electronic device, comprising: at least one processor; a memory communicatively connected to the at least one processor; the memory storing a computer program executable by the at least one processor, wherein the at least one processor implements the charge and discharge control method described in the above embodiment when executing the computer program.

[0037] According to the electronic device of the embodiment of the present invention, the corresponding charge and discharge control program can be stored in the memory. When the charge and discharge control method is implemented, the processor runs the program in the memory, controls the power factor correction module and at least one AC-DC conversion module to perform phase shift control according to the charge and discharge mode, realizes the charge and discharge between the AC power supply and the battery unit, and realizes the charge and discharge between different battery units, thereby realizing multiple working modes and multiple functions.

[0038] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the charging control method described in the above embodiment when executed.

[0039] A fifth aspect of the present invention provides a vehicle, comprising the electronic device described in the above embodiment, and / or, comprising the charging and discharging device described in the above embodiment.

[0040] According to the vehicle of the embodiment of the present invention, the power factor correction module and at least one AC-DC conversion module in the charging and discharging device can be controlled to perform phase shift control according to the charging and discharging mode, so as to realize the charging and discharging between the AC power supply and the battery unit, and realize the charging and discharging between different battery units, thereby realizing multiple working modes and multiple functions.

[0041] 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

[0042] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which: Figure 1 is a schematic diagram of a charging and discharging device according to an embodiment of the present invention; Figure 2 is a schematic diagram of an improved charging and discharging device according to an embodiment of the present invention; Figure 3 is a schematic diagram of a single-stage charge and discharge device according to an embodiment of the present invention; Figure 4 is a schematic diagram of a three-port charging and discharging device according to an embodiment of the present invention; Figure 5 is a schematic diagram of a charging and discharging device with two clamping capacitors according to an embodiment of the present invention; Figure 6 is a schematic diagram of a first stage charging operation according to an embodiment of the present invention; Figure 7 is a schematic diagram of the second stage charging operation according to an embodiment of the present invention; Figure 8 is a schematic diagram of charging operation in the third stage according to an embodiment of the present invention; Fig. 9 is a schematic diagram of charging operation in the fourth stage according to an embodiment of the present invention; Fig.10 is a schematic diagram of charging operation in the fifth stage according to an embodiment of the present invention; Fig.11 is a schematic diagram of charging operation in the sixth stage according to an embodiment of the present invention; Fig.12 is a schematic diagram of charging operation in the seventh stage according to an embodiment of the present invention; Fig.13 is a schematic diagram of charging operation in the eighth stage according to an embodiment of the present invention; Fig.14 is a schematic diagram of a first stage discharge operation according to an embodiment of the present invention; Fig.15 is a schematic diagram of the second stage discharge operation according to an embodiment of the present invention; Fig.16 is a schematic diagram of a third stage discharge operation according to an embodiment of the present invention; Fig.17 is a schematic diagram of a fourth stage discharge operation according to an embodiment of the present invention; Fig.18 is a schematic diagram of a fifth stage discharge operation according to an embodiment of the present invention; Fig.19is a schematic diagram of a sixth stage discharge operation according to an embodiment of the present invention; Fig. 20 is a schematic diagram of the seventh stage discharge operation according to an embodiment of the present invention; Fig.21 is a schematic diagram of the discharge operation in the eighth stage according to an embodiment of the present invention; Fig. 22 is a schematic diagram of a three-port charging and discharging device according to an embodiment of the present invention; Fig.23 is a schematic diagram of a three-port charging and discharging device according to an embodiment of the present invention; Fig.24 is a schematic diagram of a three-port charging and discharging device according to an embodiment of the present invention; Fig.25 is a schematic diagram of voltage and current on the primary and secondary sides of a single-stage charge and discharge device according to an embodiment of the present invention; Fig.26 is a ripple-free current diagram of a single-stage charge-discharge device with interleaved inductance according to an embodiment of the present invention; Fig. 27 is a diagram of an interleaved inductor current of a single-stage charge and discharge device according to an embodiment of the present invention; Fig.28 is a diagram of midpoint voltage and resonant current of a single-stage charge and discharge device according to an embodiment of the present invention; Fig.29 is a related topological diagram of a single-stage charge-discharge device according to an embodiment of the present invention; Fig.30 is a related topological diagram of a single-stage charge-discharge device according to an embodiment of the present invention; Fig.31 is a related topological diagram of a single-stage charge-discharge device according to an embodiment of the present invention; Fig.32 is a related topological diagram of a single-stage charge-discharge device according to an embodiment of the present invention; Fig.33 is a related topological diagram of a single-stage charge-discharge device according to an embodiment of the present invention; Fig.34 is a structural block diagram of a charging and discharging device according to an embodiment of the present invention; Fig.35 is a current waveform diagram of an interleaved parallel power factor correction module according to an embodiment of the present invention; Fig.36 is a structural diagram of a controller according to an embodiment of the present invention; Fig.37 is a schematic diagram of the operation of a three-port charging and discharging device according to an embodiment of the present invention; Fig.38is a schematic diagram of the operation of a three-port charging and discharging device according to an embodiment of the present invention; Fig.39 is a schematic diagram of the operation of a three-port charging and discharging device according to an embodiment of the present invention; Fig.40 is an AC side driving waveform diagram according to control algorithm 1 of an embodiment of the present invention; Fig.41 is a DC side driving waveform diagram according to control algorithm 1 of an embodiment of the present invention; Fig.42 is an AC side driving waveform diagram according to control algorithm 2 of an embodiment of the present invention; Fig.43 is an AC side driving waveform diagram according to control algorithm 2 of an embodiment of the present invention; Fig.44 is a structural block diagram of an electronic device according to an embodiment of the present invention; Fig.45 is a structural block diagram of a vehicle according to an embodiment of the present invention; Fig.46 is a structural block diagram of a vehicle according to an embodiment of the present invention.

[0043] Reference numerals: Vehicles 600; Electronic device 500; charging and discharging device 1000; Processor 501; memory 502; power factor correction module 100; resonance module 200; AC-DC conversion module 300; controller 400; The first high-frequency switch tube bridge arm 110; the second high-frequency switch tube bridge arm 120; the power frequency switch tube bridge arm 130; the first inductor 1001; the second inductor 1002; the first AC-DC conversion module 310; the first battery unit 1003; the first capacitor 311; the third high-frequency switch tube bridge arm 312; the fourth high-frequency switch tube bridge arm 313; the transformer 210; the primary coil 211; the first secondary coil 212; the resonant unit 220; the first resonant inductor 221; the excitation inductor 222; the first resonant capacitor 223; the second resonant inductor 224; the second resonant capacitor 225; the film capacitor 1005; the second ... The battery module 320 is replaced by the battery module 320; the second battery unit 1004; the second secondary coil 213; the second capacitor 321; the fifth high-frequency switch tube bridge arm 322; the sixth high-frequency switch tube bridge arm 323; the first upper bridge switch tube S1; the first lower bridge switch tube S2; the second upper bridge switch tube S3; the second lower bridge switch tube S4; the third upper bridge switch tube S5; the third lower bridge switch tube S6; the fourth upper bridge switch tube S7; the fourth lower bridge switch tube S8; the fifth upper bridge switch tube S9; the fifth lower bridge switch tube S10; the sixth upper bridge switch tube S11; the sixth lower bridge switch tube S12; the seventh upper bridge switch tube S13; the seventh lower bridge switch tube S14. DETAILED DESCRIPTION

[0044] Embodiments of the present invention are described in detail below. The embodiments described with reference to the accompanying drawings are exemplary. Embodiments of the present invention are described in detail below.

[0045] In the prior art, the on-board charger adopts an OBC and DC-DC integrated structure, the OBC part adopts a PFC+CLLLC structure, and the DC-DC part adopts a full-bridge structure. Since CLLLC adopts frequency modulation control and the DC-DC part adopts fixed frequency duty cycle control, the two parts have different control algorithms, and it is difficult to integrate multiple ports accordingly. Since power conversion is achieved in two stages and the number of components is large, this structure has limitations in improving efficiency and reducing costs. The busbar capacitance is large, and electrolytic capacitors must be used. In the case of improper design and thermal management failure, the DC link electrolytic capacitors may reduce the reliability of the system due to their short life.

[0046] In order to solve the above problems, the first embodiment of the present invention provides a charging and discharging device, such as Figure 1 As shown, the charging and discharging device 1000 includes: a power factor correction module 100 , a resonance module 200 and at least one AC-DC conversion module 300 .

[0047] Among them, the first end of the power factor correction module 100 is suitable for connecting to an AC power source; the first end of the resonance module 200 is connected to the second end of the power factor correction module 100; the first end of at least one AC-DC conversion module 300 is connected to the second end of the resonance module 200, and the second end of at least one AC-DC conversion module 300 is suitable for connecting to a battery unit; the power factor correction module 100 and at least one AC-DC conversion module 300 perform phase shift control to realize charging and discharging between the AC power source and the battery unit and / or realize charging and discharging between different battery units.

[0048] Specifically, phase shift control is a method of controlling the working state of a circuit by adjusting the phase difference of a signal. Phase shift control is used to coordinate the operation of the power factor correction module 100 and the AC-DC conversion module 300 to realize charging and discharging between the AC power supply and the battery unit, and between different battery units. By accurately controlling the phase difference of each module, the charging and discharging process can be optimized, efficiency can be improved, and energy waste can be reduced. Only through phase shift control in the charging and discharging device 1000 can the conversion between AC and DC be realized. The AC-DC conversion module 300 can be one, two, or more than one. If there are two AC-DC conversion modules 300, it is a three-port charging and discharging device. The more AC-DC conversion modules 300 there are, the more secondary coils are set on the transformer, thereby realizing charging and discharging between multiple ports.

[0049] For example, in order to solve the defects of the existing two-stage OBC, the present invention proposes a single-stage OBC circuit based on DAB (Dual Active Bridge), such as Figure 2 As shown, the circuit reuses the switch tubes of the staggered parallel totem pole bridgeless PFC part and the DAB primary side switch tube. The PFC module and the DC module share two pairs of switch tubes. Film capacitors are used to replace electrolytic capacitors. The DAB structure is mixed with the CLLLC resonant structure to form a DC module. The two modules together constitute a single-stage OBC structure.

[0050] The optimized circuit diagram of the present invention is as follows: Figure 3 As shown, the controller of the single-stage OBC applies pulse signals to the PFC and DC modules to turn on and off the switch tube to achieve control of the circuit structure. The operating frequency of the single-stage OBC is set by the resonant frequency, and the charging and discharging of the circuit as well as the power size are controlled by controlling the phase shift angle of the primary and secondary pulse signals.

[0051] The staggered parallel totem pole bridgeless PFC combines the totem pole bridgeless PFC and the staggered parallel circuit. It consists of two sets of totem pole bridgeless PFC, with three pairs of bridge arms and a total of six switch tubes. The upper bridge arm is connected to the positive DC bus, and the lower bridge arm is connected to the negative DC bus. The first bridge arm includes the first switch tube from top to bottom. And the second switch , the middle connection point a of the switch tube is connected to the first and second switch tubes respectively, and the staggered boost inductor and resonant inductor The second bridge arm includes the third switch tube from top to bottom And the fourth switch , the middle connection point b of the switch tube is connected to the third and fourth switch tubes respectively, and the boost inductor is staggered and resonant capacitor The third bridge arm includes the fifth switch tube from top to bottom. And the sixth switch The middle connection point of the switch tube is connected to the fifth and sixth switch tubes and the power supply In addition to the three pairs of bridge arms, the interleaved parallel totem pole PFC also has a clamping capacitor , the capacitor is a thin film capacitor, and its two ends are connected to the positive DC bus and the negative DC bus respectively.

[0052] The DC module consists of a DAB structure mixed with a CLLLC structure. The DAB primary side is reused with the first and second bridge arms of the PFC. The energy storage inductor and transformer are replaced by a resonant module, and the secondary side structure remains unchanged.

[0053] The resonant module adopts CLLLC resonant structure, which is composed of primary resonant module, high frequency transformer and secondary resonant module. , resonant capacitor and magnetizing inductance Resonant inductor One end is connected to the PFC connection point a, and the other end is connected to the high-frequency transformer. One end is connected to the PFC connection point b, and the other end is connected to the high-frequency transformer, resonant inductor , high frequency transformer and resonant capacitor There is a connection point between the resonant inductor and the transformer, and between the resonant capacitor and the transformer. These two connection points are connected to the two ends of the excitation inductor, and the primary resonant module forms an LLC structure. and resonant capacitor Resonant inductor One end is connected to the DAB secondary connection point c, and the other end is connected to the high-frequency transformer. One end is connected to DAB connection point d, and the other end is connected to the high-frequency transformer, resonant inductor , high frequency transformer and resonant capacitor A series resonant structure is formed.

[0054] The DAB secondary side consists of two pairs of bridge arms, a total of 4 switch tubes, the upper bridge arm is connected to the positive end of the load, and the lower bridge arm is connected to the negative end of the load. The fourth bridge arm includes the seventh switch tube from top to bottom. And the eighth switch The middle connection point c of the switch tube is connected to the seventh and eighth switch tubes and the resonant inductor respectively. The fifth bridge arm includes the ninth switch tube from top to bottom. And the tenth switch The middle connection point d of the switch tube is connected to the ninth and tenth switch tubes and the resonant capacitor respectively. In addition to the two pairs of bridge arms, the DAB secondary side also has a filter capacitor with both ends connected to the positive and negative poles of the load respectively.

[0055] The single-stage OBC primary side switch tube is controlled by a fixed duty cycle pulse signal with a duty cycle of 50%. The first, second, third, and fourth switch tubes are all high-frequency tubes and are controlled by a fixed frequency. , switching frequency Need to be greater than or equal to the resonant frequency The fifth and sixth switch tubes are industrial frequency tubes, and their frequencies are consistent with the frequency of the AC source. With the fourth switch Drive synchronously, drive waveform consistent, the second switch tube With the third switch Drive synchronization, drive waveform consistent, the first switch tube With the second switch The driving waveform is 180° out of phase when the drive is reversed. With the fourth switch When driving in the reverse direction, the driving waveform has a phase difference of 180°.

[0056] The switch tube on the secondary side of the single-stage OBC is controlled by a variable duty cycle pulse signal. The duty cycle is half-wave modulated by a triangle wave and a sine wave. The seventh, eighth, ninth, and tenth switch tubes are all high-frequency tubes and are controlled by a fixed frequency. The frequency is , switching frequency Need to be greater than or equal to the resonant frequency . The seventh switch tube With the eighth switch Drive reverse, the ninth switch tube With the seventh switch The driving waveform phase difference is 180°, the tenth switch With the ninth switch Drive in reverse direction.

[0057] The control method of single-stage OBC is phase shift control, which controls the phase shift angle of the primary side relative to the secondary side. The size of the phase shift angle is used to control the working mode of the single-stage OBC. The first switch Relative to the seventh switch The phase shift angle. is positive, the single-stage OBC works in charging mode, and the primary side transfers power to the secondary side. is negative, the single-stage OBC works in inverter mode. The working range is -0.25 ~0.25 , is the working cycle of a single-stage OBC, also the working frequency The reciprocal of .

[0058] The single-stage OBC drive pulse signal adopts PWM modulation. The primary side is modulated by a fixed value and a triangular carrier, and the secondary side is modulated by a half-sine wave and a triangular carrier.

[0059] The charging and discharging device according to the embodiment of the present invention can improve the charging and discharging efficiency, reduce the cost, reduce the number of components, and reduce the volume. When charging and discharging, the power factor correction module and at least one AC-DC conversion module are controlled to perform phase shift control to realize the charging and discharging between the AC power supply and the battery unit, and realize the charging and discharging between different battery units, thereby realizing multiple working modes and multiple functions.

[0060] In some embodiments, Figure 4 As shown, the power factor correction module 100 includes: a first high-frequency switch tube bridge arm 110 , a second high-frequency switch tube bridge arm 120 and an industrial frequency switch tube bridge arm 130 .

[0061] Specifically, the midpoint of the first high-frequency switch tube bridge arm 110 is suitable for connecting to the first end of the AC power supply through the first inductor 1001; the midpoint of the second high-frequency switch tube bridge arm 120 is suitable for connecting to the first end of the AC power supply through the second inductor 1002; the midpoint of the industrial frequency switch tube bridge arm 130 is suitable for connecting to the second end of the AC power supply; the first high-frequency switch tube bridge arm 110, the second high-frequency switch tube bridge arm 120 and the industrial frequency switch tube bridge arm 130 are connected in parallel.

[0062] In some embodiments, the second end of the resonance module includes a first connection end and a second connection end. Figure 4 As shown, the charging and discharging device 1000 includes: a first AC-DC conversion module 310 .

[0063] Specifically, the first end of the first AC-DC conversion module 310 is connected to the first connection end and the second connection end of the resonance module 200, and the second end of the first AC-DC conversion module 310 is suitable for connecting to the first battery unit 1003; the power factor correction module 100 and the first AC-DC conversion module 310 perform phase shift control to realize charging and discharging between the AC power supply and the first battery unit 1003.

[0064] In some embodiments, Figure 4 As shown, the first AC-DC conversion module 310 includes: a first capacitor 311 , a third high-frequency switch tube bridge arm 312 , and a fourth high-frequency switch tube bridge arm 313 .

[0065] Specifically, the first capacitor 311 is connected to both ends of the first battery unit 1003; the midpoint of the third high-frequency switch tube bridge arm 312 is connected to the first connection end of the resonance module 200; the midpoint of the fourth high-frequency switch tube bridge arm 313 is connected to the second connection end of the resonance module 200; the third high-frequency switch tube bridge arm 312 and the fourth high-frequency switch tube bridge arm 313 are connected in parallel, and the first end of the third high-frequency switch tube bridge arm 312 and the fourth switch tube bridge arm 313 connected in parallel is suitable for connecting to the first end of the first battery unit 1003, and the second end of the third high-frequency switch tube bridge arm 312 and the fourth high-frequency switch tube bridge arm 313 connected in parallel is suitable for connecting to the second end of the first battery unit 1003.

[0066] In some embodiments, Figure 4 As shown, the resonance module 200 includes a transformer 210 and a resonance unit 220 .

[0067] Specifically, the transformer 210 includes a primary coil 211 and a first secondary coil 212; the resonance unit 220 is connected to at least the primary coil 211, the midpoint of the first high-frequency switch tube bridge arm 110 and the midpoint of the second high-frequency switch tube bridge arm 120 to realize AC signal transmission.

[0068] In some embodiments, Figure 4 As shown, the first end of the first secondary coil 212 is connected to the midpoint of the third high-frequency switch bridge arm 312, and the second end of the first secondary coil 212 is connected to the midpoint of the fourth high-frequency switch bridge arm 313; The resonance unit 220 includes: a first resonant inductor 221 , a first end of the first resonant inductor 221 connected to the midpoint of the first high-frequency switch bridge arm 110 , and a second end of the first resonant inductor 221 connected to the first end of the primary coil 211 .

[0069] In some embodiments, Figure 4 As shown, the resonance unit 220 further includes: an excitation inductor 222 .

[0070] Specifically, a first end of the excitation inductor 222 is connected to a second end of the first resonant inductor 221 and a first end of the primary coil 211 , and a second end of the excitation inductor 222 is connected to a second end of the primary coil 211 .

[0071] In some embodiments, Figure 4 As shown, the resonance unit 220 further includes: a first resonance capacitor 223 .

[0072] Specifically, a first end of the first resonant capacitor 223 is connected to the midpoint of the second high-frequency switch bridge arm 120 , and a second end of the first resonant capacitor 223 is connected to the second end of the primary coil 211 .

[0073] In some embodiments, Figure 4 As shown, the resonance unit 220 further includes: a second resonant inductor 224 .

[0074] Specifically, a first end of the second resonant inductor 224 is connected to a first end of the first secondary coil 212 , and a second end of the second resonant inductor 224 is connected to a midpoint of the third high-frequency switch bridge arm 312 .

[0075] In some embodiments, Figure 4 As shown, the resonance unit 220 further includes: a second resonance capacitor 225 .

[0076] Specifically, a first end of the second resonant capacitor 225 is connected to the second end of the first secondary coil 212 , and a second end of the second resonant capacitor 225 is connected to the midpoint of the fourth high-frequency switch bridge arm 313 .

[0077] In some embodiments, Figure 4 As shown, the charging and discharging device 1000 further includes: at least one thin film capacitor 1005 .

[0078] Specifically, at least one film capacitor 1005 is connected in parallel with the power factor correction module 100. The present invention uses film capacitors to replace electrolytic capacitors. Film capacitors have no polarity, so there is no need to consider polarity issues when using them. The insulation impedance of film capacitors is very high, which can effectively prevent current leakage. Film capacitors have excellent frequency characteristics and a wide frequency response range, so they are suitable for high-frequency circuits. Metallized film capacitors have a self-healing effect. When a small part of the electrode causes a short circuit due to the fragility of the dielectric, the electrode metal around the short-circuited part will cause a larger area of ​​melting and evaporation due to the electrostatic energy or short-circuit current carried by the capacitor, thereby restoring insulation and allowing the capacitor to resume function.

[0079] In some embodiments, Figure 5 As shown, the charge-discharge device 1000 includes a plurality of thin film capacitors 1005, and the plurality of thin film capacitors 1005 are connected in series.

[0080] Specifically, when multiple film capacitors are connected in series, their total capacitance value will decrease, and the total capacitance value after series connection is less than the capacitance value of any single film capacitor. Series connection can increase the total withstand voltage value of film capacitors, and the total withstand voltage value is equal to the sum of the withstand voltage values ​​of each capacitor. However, in actual use, the voltage balancing problem of capacitors should be considered to ensure that each capacitor can withstand the corresponding voltage.

[0081] For example, the charging working mode of the present invention can be divided into 8 stages within one cycle. The charging working mode is described below.

[0082] like Figure 6 This is the first stage of charging. In the first stage, Keep it off. and Hard shutdown, and ZVS (Zero Voltage Switching) conduction, and Keep conducting, and Keep it turned off, the primary side transmits power in the forward direction, the primary side transmits power to the secondary side, the energy storage inductor transmits power in the forward direction, and the energy storage inductor transmits power to the secondary side.

[0083] like Figure 7 For the second stage of charging, in the second stage, Keep it off. and Keep conducting, and Keep it off, and Keep conducting, and Keep it turned off, the power on the primary side is transmitted forward, the power on the primary side is transmitted to the energy storage inductor, the power on the secondary side is refluxed, and the power on the secondary side is transmitted to the energy storage inductor.

[0084] like Figure 8 This is the third stage of charging. In the third stage, Keep it off. and Keep conducting, and Keep it off, Hard shutdown, ZVS turn-on, Keep conducting, Keep it turned off. The primary side transmits power in the forward direction, the primary side transmits power to the energy storage inductor, the power on the secondary side flows internally, the filter capacitor continues to flow, and transmits power to the secondary side.

[0085] like Fig. 9 This is the fourth stage of charging. In the fourth stage, Keep it off, and Keep conducting, and Keep it off, Hard shutdown, ZVS turn-on, Keep conducting, Keep it off. The primary side transmits power in the forward direction, the primary side transmits power to the secondary side, the energy storage inductor transmits power in the forward direction, and the energy storage inductor transmits power to the secondary side.

[0086] like Fig.10 This is the fifth stage of charging. In the fifth stage, Keep it off, and Hard shutdown, and ZVS turn-on, and Keep conducting, and Keep it turned off, the primary side transmits power in the forward direction, the primary side transmits power to the secondary side, the energy storage inductor transmits power in the forward direction, and the energy storage inductor transmits power to the secondary side.

[0087] like Fig.11 This is the sixth stage of charging. In the sixth stage, Keep it off, and Keep conducting, and Keep it off, and Keep conducting, and Keep it turned off, the power on the primary side is transmitted forward, the power on the primary side is transmitted to the energy storage inductor, the power on the secondary side is refluxed, and the power on the secondary side is transmitted to the energy storage inductor.

[0088] like Fig.12 For the seventh stage of charging, in the seventh stage, Keep it off, and Keep conducting, and Keep it off, Hard shutdown, ZVS turn-on, Keep conducting, Keep it turned off. The primary side transmits power in the forward direction, the primary side transmits power to the energy storage inductor, the power on the secondary side flows internally, the filter capacitor continues to flow, and transmits power to the secondary side.

[0089] like Fig.13 This is the eighth stage of charging. In the eighth stage, Keep it off, and Keep conducting, and Keep it off, Hard shutdown, ZVS turn-on, Keep conducting, Keep it off. The primary side transmits power in the forward direction, the primary side transmits power to the secondary side, the energy storage inductor transmits power in the forward direction, and the energy storage inductor transmits power to the secondary side.

[0090] The discharge working mode of the present invention can be divided into 8 stages within one cycle.

[0091] like Fig.14 This is the first stage of discharge. In the first stage, Keep conducting, Keep it off, and Keep conducting, and Keep it off, Hard shutdown, ZVS turn-on, Keep conducting, Keep it off. The secondary side transmits power in the reverse direction, the secondary side transmits power to the primary side, the energy storage inductor transmits power in the reverse direction, and the energy storage inductor transmits power to the primary side.

[0092] like Fig.15 This is the second stage of discharge. In the second stage, Keep conducting, Keep it off, and Keep conducting, and Keep it off, and Keep conducting, and Keep it off. The secondary side transmits power in the reverse direction, the secondary side transmits power to the energy storage inductor, the secondary side transmits power in the reverse direction, and the secondary side transmits power to the primary side.

[0093] like Fig.16 This is the third stage of discharge. In the third stage, Keep conducting, Keep it off, and Hard shutdown, and ZVS turn-on, and Keep conducting, and Keep it off. The secondary side transmits power in the reverse direction, the secondary side transmits power to the energy storage inductor, the secondary side transmits power in the reverse direction, and the secondary side transmits power to the primary side.

[0094] like Fig.17 This is the fourth stage of discharge. In the fourth stage, Keep conducting, Keep it off, and Keep conducting, and Keep it off, Hard shutdown, ZVS turn-on, Keep conducting, Keep it off. The secondary side transmits power in the reverse direction, the secondary side transmits power to the filter inductor, the energy storage inductor transmits power in the reverse direction, and the energy storage inductor transmits power to the primary side.

[0095] like Fig.18 This is the fifth stage of discharge. In the fifth stage, Keep conducting, Keep it off, and Keep conducting, and Keep it off, Hard shutdown, ZVS turn-on, Keep conducting, Keep it off. The secondary side transmits power in the reverse direction, the secondary side transmits power to the primary side, the energy storage inductor transmits power in the reverse direction, and the energy storage inductor transmits power to the primary side.

[0096] like Fig.19 This is the sixth stage of discharge. In the sixth stage, Keep conducting, Keep it off, and Keep conducting, and Keep it off, and Keep conducting, and Keep it off. The secondary side transmits power in the reverse direction, the secondary side transmits power to the energy storage inductor, the secondary side transmits power in the reverse direction, and the secondary side transmits power to the primary side.

[0097] like Fig. 20 This is the seventh stage of discharge. In the seventh stage, Keep conducting, Keep it off, and Hard shutdown, and ZVS turn-on, and Keep conducting, and Keep it off. The secondary side transmits power in the reverse direction, the secondary side transmits power to the energy storage inductor, the secondary side transmits power in the reverse direction, and the secondary side transmits power to the primary side.

[0098] like Fig.21 This is the eighth stage of discharge. In the eighth stage, Keep conducting, Keep it off, and Keep conducting, and Keep it off, Hard shutdown, ZVS turn-on, Keep conducting, Keep it off. The secondary side transmits power in the reverse direction, the secondary side transmits power to the filter inductor, the energy storage inductor transmits power in the reverse direction, and the energy storage inductor transmits power to the primary side.

[0099] In some embodiments, the second end of the resonance module further includes a third connection end and a fourth connection end; Figure 4 As shown, the charging and discharging device 1000 further includes: a second AC-DC conversion module 320 .

[0100] Specifically, the first end of the second AC-DC conversion module 320 is connected to the third connection end and the fourth connection end of the resonance module 200, and the second end of the second AC-DC conversion module 320 is suitable for connecting to the second battery unit 1004; the power factor correction module 100 and the second AC-DC conversion module 320 perform phase shift control to realize charging and discharging between the AC power supply and the second battery unit 1004, and / or the first AC-DC conversion module 310 and the second AC-DC conversion module 320 perform phase shift control to realize charging and discharging between the first battery unit 1003 and the second battery unit 1004.

[0101] The charging and discharging device 1000 may be provided with one AC-DC conversion module for charging control, or may be provided with two AC-DC conversion modules, such as Figure 4As shown, they are respectively a first AC-DC conversion module 310 and a second AC-DC conversion module 320, so that the charging and discharging device 1000 has three ports, so that the AC power supply can charge the first battery unit 1003 through the first AC-DC conversion module 310, and the AC power supply can charge the second battery unit 1004 through the second AC-DC conversion module 320, and the first AC-DC conversion module 310 and the second AC-DC conversion module 320 can also be phase-shifted to realize the charging and discharging between the first battery unit 1003 and the second battery unit 1004.

[0102] In some embodiments, Figure 4 As shown, the transformer 210 further includes a second secondary coil 213 .

[0103] Specifically, the second secondary coil 213 is used to regulate the voltage of the second AC-DC conversion module 320 . When the second battery unit 1004 is charged and discharged by the second AC-DC conversion module 320 , the second secondary coil 213 in the transformer 210 plays a role in regulating the voltage.

[0104] like Figure 4 As shown, the second AC-DC conversion module 320 includes: a second capacitor 321 , a fifth high-frequency switch tube bridge arm 322 , and a sixth high-frequency switch tube bridge arm 323 .

[0105] Among them, the second capacitor 321 is connected to the two ends of the second battery unit 1004; the midpoint of the fifth high-frequency switch tube bridge arm 322 is connected to the first end of the second secondary coil 213; the midpoint of the sixth high-frequency switch tube bridge arm 323 is connected to the second end of the second secondary coil 213; the fifth high-frequency switch tube bridge arm 322 and the sixth high-frequency switch tube bridge arm 323 are connected in parallel, and the first end of the fifth high-frequency switch tube bridge arm 322 and the sixth high-frequency switch tube bridge arm 323 connected in parallel is connected to the first end of the second battery unit 1004, and the second end of the fifth high-frequency switch tube bridge arm 322 and the sixth high-frequency switch tube bridge arm 323 connected in parallel is connected to the second end of the second battery unit 1004.

[0106] For example, adding an AC-DC conversion module to a charging and discharging device can have a variety of different structures, as follows: like Fig. 22 Based on the single-stage OBC structure, the topology of the DC-DC structure is added. The battery side is directly connected to the DC-DC primary side. The DC-DC part adopts the DAB topology structure, operates at a fixed frequency, and performs phase shift control. The duty cycle of the DC-DC primary and secondary sides is 50%.

[0107] like Fig.23Based on the single-stage OBC structure, the OBC and DC-DC integrated structure topology uses a three-terminal isolation transformer to reuse the DC-DC primary and OBC secondary switch tubes. The DC-DC part adopts the DAB topology structure, works at a fixed frequency, performs phase shift control, and the duty cycle is consistent with the OBC secondary duty cycle. The fixed frequency operation makes the integration of OBC and DC-DC simpler.

[0108] like Fig.24 It is a three-port integrated topology based on a single-stage OBC structure, using a three-port transformer, and the working modes are divided into AC-DC conversion, DC-AC conversion, and DC-DC conversion. In AC-DC conversion, the primary side inputs AC power, and both the secondary side ports can output DC power, both using the single-stage OBC working mode. In the DC-AC conversion mode, the secondary side inputs DC power, and the primary side outputs AC power, both using the single-stage OBC working mode. In the DC-DC conversion mode, the secondary side port 1 inputs DC power, and the secondary side port 2 outputs DC power, or the secondary side port 2 inputs DC power and the secondary side port 1 outputs DC power, using the DAB working mode.

[0109] like Fig.25 The waveform diagram of the single-stage OBC input AC voltage, AC current, DC voltage, and DC current. The AC voltage and current are both sinusoidal, and the DC current shows a 100Hz ripple superposition state. This is related to the removal of the electrolytic capacitor in the single-stage OBC topology. There is no electrolytic capacitor to absorb the 100Hz power fluctuation, and the 100Hz power fluctuation is directly transmitted to the DC side. When the DC voltage is fixed, the ripple is reflected in the DC current.

[0110] like Fig.26 This is the ripple-free current diagram of a single-stage OBC interleaved inductor. Fig. 27 This is a single-stage OBC interleaved inductor current diagram. The two-phase interleaved inductor current ripples cancel each other out to form a ripple-free AC current.

[0111] like Fig.28 The waveforms are the primary midpoint voltage, secondary midpoint voltage, and resonant inductor current. The primary midpoint voltage is a high-frequency two-level square wave with a sinusoidal envelope, the secondary midpoint voltage is a high-frequency three-level square wave with a DC envelope, and the resonant current is a high-frequency converted AC current.

[0112] like Fig.29 , 30 , 31, 32, and 33 are all extended topologies of the single-stage OBC of the present invention, and can all achieve power conversion in a single stage. However, depending on the topology, the roles played by the inductor and capacitor are also different.

[0113] like Fig.29 The inductance is distributed at both ends of the transformer, and there is a capacitor on the secondary side of the transformer. The inductance plays a role in energy storage, and the capacitor plays a role in isolation.

[0114] like Fig.30 , 33 , the inductor is distributed at one or both ends of the transformer, there is no capacitor, and the inductor plays the role of energy storage. It is more conducive to the realization of secondary side soft switching at one end of the transformer, and more conducive to the realization of bidirectional charging and discharging functions at both ends of the transformer.

[0115] like Fig.31 , 32 , the inductor is distributed at one or both ends of the transformer, and there is a capacitor on the primary side of the transformer. The inductor plays the role of energy storage, and the primary side inductor and capacitor form a resonance effect. It is more conducive to the realization of soft switching on the secondary side at one end of the transformer, and it is more conducive to the realization of bidirectional charging and discharging functions at both ends of the transformer. The capacitor plays a resonant role, which can optimize the resonant current, is more conducive to reducing switching losses, and realizing soft switching.

[0116] In some embodiments, Fig.34 As shown, the charging and discharging device 1000 further includes: a controller 400 .

[0117] The controller 400 is connected to the power factor correction module 100 and the at least one AC-DC conversion module 300 , and is used to perform phase shift control on the power factor correction module 100 and the at least one AC-DC conversion module 300 .

[0118] Specifically, the controller 400 is the core of the charging and discharging device 1000. According to different modes, the controller precisely controls the power factor correction module 100 and the AC-DC conversion module 300 through phase shift control to achieve charging and discharging at different ports.

[0119] For example, the present invention reuses some of the switch tubes of the staggered parallel totem pole bridgeless PFC with the DAB primary switch tube. The PFC module and the DC module share two pairs of switch tubes, and thin film capacitors are used to replace electrolytic capacitors. The DAB structure is mixed with the CLLLC resonant structure to form a DC module. This structure can simultaneously realize power factor correction, current waveform correction, and voltage regulation functions on the primary side, and realize the conversion from AC to DC in one stage, with the advantages of high efficiency, small size, and low cost. The present invention adopts a staggered parallel totem pole bridgeless PFC structure, such as Fig.35 As shown in the parallel PFC current waveform, the staggered parallel structure can not only improve the power level of the converter, but also increase the current ripple frequency and reduce the input differential mode interference. The PFC drive adopts a 50% duty cycle, so that the staggered current fluctuation period is the same, and the rising stage and the falling stage both occupy 50% of the period, which can generate a ripple-free grid current regardless of the size of the inductor. The staggered inductor is charged and discharged in an alternating manner, and the current change trends are opposite. The two-phase current ripples cancel each other out, generating a ripple-free grid current.

[0120] The staggered parallel structure and 50% fixed duty cycle make the clamp capacitor withstand a voltage twice the AC voltage value, such as Figure 5 Two capacitors can be connected in series to reduce the voltage that the capacitor bears, thereby reducing costs and improving circuit reliability.

[0121] The present invention adopts a hybrid structure of DAB and CLLLC. Compared with LLC, DAB can adopt a higher operating frequency to meet the requirements of higher power occasions. A higher operating frequency can realize the miniaturization of transformers, resonant inductors, and capacitors, which can reduce the volume and obtain higher power density.

[0122] The hybrid structure of DAB and CLLLC can curve the current of the energy storage inductor, making the current stage switching smoother, reducing the switching loss during operation and improving efficiency.

[0123] The three-phase structure of DAB is relatively mature and has more branch topologies, so it can be applied to more occasions.

[0124] The present invention solves the problem of narrow soft switching range of DAB, and by selecting a suitable inductance value, it can ensure that all switch tubes can achieve soft switching within a wide range and load range.

[0125] The control method of single-stage OBC is phase shift control, which controls the phase shift angle of the primary side relative to the secondary side. The size of the phase shift angle is used to control the working mode of the single-stage OBC. The first switch Relative to the seventh switch The phase shift angle. is positive, the single-stage OBC works in charging mode, and the primary side transfers power to the secondary side. is negative, the single-stage OBC works in inverter mode. The working range is -0.25 ~0.25 , is the working cycle of a single-stage OBC, also the working frequency The reciprocal of .

[0126] The single-stage OBC drive pulse signal adopts PWM modulation. The primary side is modulated by a fixed value and a triangular carrier, and the secondary side is modulated by a half-sine wave and a triangular carrier.

[0127] The topology of the present invention is as follows Figure 3 As shown, is the input AC voltage, To output the power battery voltage, It is the high-frequency switch tube on the primary side. It is the power frequency switch tube on the primary side. It is the high-frequency switch tube on the secondary side. is a film capacitor, is the original secondary side resonant inductor, is the original secondary side resonant capacitor. Driven at 50% duty cycle, the same bridge arm drive is complementary, and the diagonal drive is synchronous; Also driven at 50% duty cycle, the drives are complementary; For variable duty cycle drive, the absolute value modulation of triangle wave and sine wave is adopted.

[0128] The control method of the present invention is phase shift control, which controls the phase shift angle of the primary side relative to the secondary side. The size of the phase shift angle is used to control the working mode of the single-stage OBC. The first switch Relative to the seventh switch The phase shift angle. is positive, the single-stage OBC works in charging mode, and the primary side transfers power to the secondary side. is negative, the single-stage OBC works in inverter mode. When it is zero, the single-stage OBC stops transmitting power. The working range is -0.25 ~0.25 , is the working cycle of a single-stage OBC, also the working frequency The reciprocal of .

[0129] The present invention controls the phase shift angle The output power is controlled by the size of the phase shift angle. When the phase shift angle is zero, the output power is zero. When the phase shift angle increases in the positive direction, the single-stage OBC works in the charging mode and the output power increases. When the phase shift angle reaches 0.25 When the phase shift angle increases in the opposite direction, the single-stage OBC works in the inverter mode, and the inverter power increases. When the phase shift angle reaches -0.25 , the inverter power reaches the maximum.

[0130] The control algorithm of the present invention is PID control. Fig.36 As shown, dual closed-loop control is adopted, the outer loop is the voltage loop, and the inner loop is the current loop. The sampling points are the DC voltage sampling on the output side and the AC current sampling on the input side. The voltage loop output limit is the current loop target setting, and the current loop output is the phase shift angle of the primary side relative to the secondary side. The midpoint voltage of the present invention is , It is a high-frequency square wave, the midpoint voltage of the primary side is a two-level square wave, and the midpoint voltage of the secondary side is a three-level square wave.

[0131] A second aspect of the present invention provides a charge and discharge control method for a charge and discharge device, the charge and discharge control method comprising: according to the charge and discharge mode, performing phase shift control on a power factor correction module and / or at least one AC-DC conversion module in the charge and discharge device to achieve charge and discharge between an AC power source and a battery cell and / or achieve charge and discharge between different battery cells.

[0132] Specifically, the charging and discharging device is controlled through different charging and discharging modes to realize the charging and discharging between different units of the charging and discharging device, for example: The AC port is used as input, and the high-voltage DC port and low-voltage DC port are used as output. The working principle of the conversion between the AC port and the high-voltage DC port is a single-stage on-board charger topology, where the AC input AC is directly converted into high-voltage DC; the working principle of the conversion between the AC port and the low-voltage DC port is a single-stage on-board charger topology, where the AC input AC is directly converted into low-voltage DC; the two conversion working modes can work simultaneously or separately.

[0133] The high-voltage DC port is used as input, and the AC port and low-voltage DC port are used as output. The working principle of the high-voltage DC port to AC port conversion is the single-stage on-board charger inverter topology, which directly converts the high-voltage DC input from the high-voltage DC port into AC power; the working principle of the high-voltage DC port to low-voltage DC port conversion is the dual-active full-bridge topology, which directly converts the high-voltage DC into low-voltage DC power; the two conversion working modes can work simultaneously or separately.

[0134] The low-voltage DC port is used as input, and the AC port and high-voltage DC port are used as output. The working principle of the conversion between the low-voltage DC port and the AC port is the single-stage on-board charger inverter topology, which directly converts the low-voltage DC power input from the low-voltage DC port into AC power; the working principle of the conversion between the low-voltage DC port and the high-voltage DC port is the dual-active full-bridge topology, which directly converts the low-voltage DC power into high-voltage DC power; the two conversion working modes can work simultaneously or separately.

[0135] According to the charge and discharge control method of the embodiment of the present invention, the charge and discharge mode is first determined during charge and discharge, and the power factor correction module and at least one AC-DC conversion module are controlled to perform phase shift control according to the charge and discharge mode during charge and discharge, so as to realize the charge and discharge between the AC power supply and the battery unit, and realize the charge and discharge between different battery units, thereby realizing multiple working modes and multiple functions.

[0136] For example, the present invention proposes a three-port circuit based on a single-stage OBC topology, which integrates the single-stage OBC circuit with the DAB circuit and adopts a three-port transformer. The three ports can work simultaneously or independently. It has three working types: AC-DC conversion, DC-AC conversion, and DC-DC conversion.

[0137] The control method of the three-port circuit is phase shift control, which controls the phase shift angle of the primary side relative to the secondary side. The size of the phase shift angle controls the working mode of the single-stage OBC. The first switch Relative to the seventh switch The phase shift angle. is positive, the AC is converted into DC, and the AC side transmits power to the DC side. is negative, DC is converted into AC, and power is transmitted from the DC side to the AC side. The working range is -0.25 ~0.25 , is the duty cycle, also known as the operating frequency The reciprocal of In the DC-DC conversion process, the phase shift angle The ninth switch Relative to the eleventh switch The phase shift angle. is positive, high voltage DC is converted into low voltage DC, and power is transmitted from the high voltage side to the low voltage side. is negative, low voltage DC is converted into high voltage DC, and power is transmitted from the low voltage side to the high voltage side. The working range is -0.25 ~0.25 , is the duty cycle, also known as the operating frequency The reciprocal of .

[0138] The topology of the present invention is as follows Fig.23 As shown, is the input AC voltage, To output the high voltage power battery voltage, To output low voltage battery voltage, It is the high frequency switch tube on the AC side. It is the AC side power frequency switch tube. It is a high-frequency switch tube on the high-voltage DC side. It is a high-frequency switch tube on the low-voltage DC side. is a film capacitor, is the resonant inductor, is the resonant capacitor. Driven at 50% duty cycle, the same bridge arm drive is complementary, and the diagonal drive is synchronous; Also driven at 50% duty cycle, the drives are complementary; For variable duty cycle drive, triangle wave and sine wave absolute value modulation is adopted. The output power is controlled by the size of the phase shift angle. When the phase shift angle is zero, the output power is zero. When the phase shift angle increases in the positive direction, the output power increases. When the phase shift angle reaches 0.25 When the phase shift angle increases in the opposite direction, the inverter power increases. When the phase shift angle reaches -0.25 , the inverter power reaches the maximum.

[0139] In some embodiments, the charging and discharging mode includes an AC to DC mode; in the AC to DC mode, the phase shift angle of the power factor correction module for at least one AC to DC conversion module is positive, and the AC power supply is used to charge the battery unit through the power factor correction module, the resonance module and at least one AC to DC conversion module.

[0140] Specifically, in the AC to DC charging and discharging mode, the phase shift angle of the power factor correction module for at least one AC-DC conversion module is positive, and the phase shift angle of the power factor correction module for all AC-DC conversion modules can be positive. Power is transmitted from the AC side to the DC side, and power control is achieved by controlling the phase shift angle through the current loop, so that current passes through the power factor correction module, the resonance module, and the AC-DC conversion module to charge the battery unit.

[0141] In some embodiments, when the AC power source charges the battery unit, the phase shift angle of the power factor correction module for at least one AC-DC conversion module is controlled through a current loop.

[0142] Specifically, current loop control is a closed-loop control system that monitors the input current in real time and performs feedback control to achieve precise adjustment of the current waveform. When charging the battery cell, the current loop controls the phase shift angle of the power factor correction module to achieve power factor correction.

[0143] In some embodiments, the charging and discharging mode includes a DC to AC mode; in the DC to AC mode, the phase shift angle of the power factor correction module for at least one AC-DC conversion module is negative, and the battery unit is discharged to the AC power supply through at least one AC-DC conversion module, a resonance module and a power factor correction module.

[0144] Specifically, in the DC to AC charging mode, the phase shift angle of the power factor correction module for at least one AC-DC conversion module is negative, and the phase shift angle of the power factor correction module for all AC-DC conversion modules can be negative. Power is transmitted from the DC side to the AC side, and power control is achieved by controlling the phase shift angle through a voltage and current dual closed-loop control, so that the DC side current discharges to the AC power supply through the AC-DC conversion module, the resonance module, and the power factor correction module.

[0145] In some embodiments, when the battery unit discharges to the AC power supply, the phase shift angle of at least one AC-DC conversion module relative to the power factor correction module is controlled through a dual closed loop of a voltage loop and a current loop, wherein the output current value of the voltage loop serves as a reference current value of the current loop.

[0146] Specifically, the dual closed-loop control strategy includes a voltage outer loop and a current inner loop. The voltage outer loop is responsible for monitoring and controlling the stability and accuracy of the output voltage, while the current inner loop is responsible for adjusting the current waveform to achieve power factor correction and precise current control. When the battery unit discharges to the AC power supply, the phase shift angle adjustment of the AC-DC conversion module is the key to achieving power factor correction. By adjusting the phase shift angle, the phase relationship between the output current and the output voltage can be changed, thereby improving the power factor.

[0147] In some embodiments, the charging and discharging device includes a first AC-DC conversion module on the high-voltage DC side and a second AC-DC conversion module on the low-voltage DC side; the charging and discharging mode includes a DC-to-DC mode; in the DC-to-DC mode, the phase shift angle of the first AC-DC conversion module to the second DC conversion module is positive, and the first battery unit discharges to the second battery unit through the first AC-DC conversion module, the resonance module and the second DC conversion module; or, the phase shift angle of the first AC-DC conversion module to the second DC conversion module is negative, and the second battery unit discharges to the first battery unit through the second DC conversion module, the resonance module and the first AC-DC conversion module; wherein the first battery unit is connected to the first AC-DC conversion module, and the second battery unit is connected to the second AC-DC conversion module.

[0148] Specifically, the charging and discharging device may include an AC-DC conversion module, and may also include a first AC-DC conversion module on the high-voltage DC side and a second AC-DC conversion module on the low-voltage DC side; the charging and discharging mode also includes a DC-to-DC mode, in which the first battery unit on the high-voltage side discharges to the second battery unit on the low-voltage side, or the second battery unit on the low-voltage side discharges to the first battery unit on the high-voltage side. When the first battery unit discharges to the second battery unit, the phase shift angle of the first AC-DC conversion module to the second DC conversion module is positive, and the first battery unit discharges to the second battery unit through the first AC-DC conversion module, the resonance module and the second DC conversion module; when the second battery unit discharges to the first battery unit, the phase shift angle of the first AC-DC conversion module to the second DC conversion module is negative, and the second battery unit discharges to the first battery unit through the second DC conversion module, the resonance module and the first AC-DC conversion module.

[0149] For example, the present invention completely adopts the single-stage OBC topology in the AC-DC conversion process, and adopts the DAB topology in the DC-DC conversion process, adopts variable duty cycle drive, the drive duty cycle changes sinusoidally, and the high and low voltage sides adopt duty cycle control and phase shift control respectively. The output power is controlled by adjusting the drive duty cycle and the phase shift angle.

[0150] The present invention has three working modes: using the AC port as input and the high-voltage DC port and the low-voltage DC port as output; using the high-voltage DC port as input and the AC port and the low-voltage DC port as output; using the low-voltage DC port as input and the AC port and the high-voltage DC port as output.

[0151] like Fig.37 As shown, working mode 1: AC port as input, high-voltage DC port and low-voltage DC port as output. The working principle of the conversion between AC port and high-voltage DC port is a single-stage OBC topology, where the AC input AC power is directly converted into high-voltage DC power; the working principle of the conversion between AC port and low-voltage DC port is a single-stage OBC topology, where the AC input AC power is directly converted into low-voltage DC power; the two conversion working modes can work simultaneously or separately.

[0152] like Fig.38 As shown, working mode 2: high-voltage DC port as input, AC port and low-voltage DC port as output. The working principle of high-voltage DC port and AC port conversion is single-stage OBC inverter topology, which directly converts high-voltage DC input from high-voltage DC port into AC power; the working principle of high-voltage DC port and low-voltage DC port conversion is DAB topology, which directly converts high-voltage DC into low-voltage DC power; the two conversion working modes can work simultaneously or separately.

[0153] like Fig.39As shown, working mode 3: the low-voltage DC port is used as input, and the AC port and high-voltage DC port are used as output. The working principle of the conversion between the low-voltage DC port and the AC port is a single-stage OBC inverter topology, which directly converts the low-voltage DC power input from the low-voltage DC port into AC power; the working principle of the conversion between the low-voltage DC port and the high-voltage DC port is a DAB topology, which directly converts the low-voltage DC power into high-voltage DC power; the two conversion working modes can work simultaneously or separately. The power transfer between the high-voltage DC side and the low-voltage DC side is achieved by phase shifting between the high-voltage DC side and the low-voltage DC side. The phase shift angle is and The phase shift between The phase is ahead of When the phase is , the power on the high voltage DC side flows to the low voltage DC side, realizing the voltage reduction function. The phase lags behind When the phase is the same, the power on the high-voltage DC side flows to the low-voltage DC side to achieve the boost function. By adjusting the size of the phase shift angle, the size of the duty cycle of the high-voltage DC side and the low-voltage DC side can achieve the control of the power size.

[0154] In some embodiments, when the first battery cell discharges the second battery cell or when the second battery cell discharges the first battery cell, the phase shift angle of the first AC-DC conversion module relative to the second AC-DC conversion module is controlled by a voltage loop and a current loop dual closed loop, and the output current value of the voltage loop is used as a reference current value of the current loop.

[0155] Specifically, during the discharge process, the two battery cells transfer energy through their respective AC-DC conversion modules, and the voltage loop continuously monitors the output voltage. When it is found that the voltage deviates from the set value, the adjustment amount is calculated and a current reference value is output. This current reference value reflects the voltage loop's requirement for output voltage stability; the current loop compares the current reference value provided by the voltage loop with the actual output current, and controls the current by adjusting the duty cycle. The adjustment amount of the current loop will eventually be converted into an adjustment of the phase shift angle. By adjusting the phase shift angle, the output voltage and current of the AC-DC conversion module can be changed, thereby achieving precise control of the entire discharge process.

[0156] In some embodiments, the power factor correction module is modulated with a fixed duty cycle or a variable duty cycle, and at least one AC-DC conversion module is modulated with a half-sine wave and a triangular carrier.

[0157] Specifically, in fixed duty cycle modulation, the duty cycle of the pulse width modulation signal of the power factor correction module is constant, which means that in each cycle, the proportion of time occupied by the high level (or low level) is fixed. Fixed duty cycle modulation is suitable for occasions where the load does not change much and the input current harmonics are not required. Variable duty cycle modulation dynamically adjusts the duty cycle of the pulse width signal according to the changes in parameters such as input voltage and load current. By adjusting the duty cycle, the input current waveform can be accurately controlled to make it closer to a sine wave, thereby improving the power factor and reducing harmonic distortion. Variable duty cycle modulation has significant advantages in occasions that require high power factor and low harmonic distortion. Sine half-wave modulation uses the positive half-cycle or negative half-cycle of the sine wave signal as a modulation signal and compares it with a triangular carrier to generate a pulse width modulation signal. Under this modulation mode, the duty cycle of the pulse width modulation signal changes with the change of the sine wave signal, realizing accurate control of the output signal. Sine half-wave modulation is often used in occasions where a sine wave output needs to be generated, such as inverters, AC power supplies, etc. Triangular carrier modulation uses a triangular wave as a carrier signal and compares it with a modulation signal (such as a sine wave, square wave, etc.) to generate a pulse width modulation signal. Triangular carrier modulation has the advantages of good waveform symmetry and low harmonic content. In AC-DC conversion modules, triangular carrier modulation is often used to generate stable DC output or adjust the output voltage.

[0158] For example, the three-port circuit structure can be regarded as the integration of the staggered parallel totem pole and two DAB circuits. Fig.23 As shown in FIG. 1 , the staggered parallel totem pole bridgeless PFC combines the totem pole bridgeless PFC and the staggered parallel circuit. It consists of two groups of totem pole bridgeless PFC, with three pairs of bridge arms and a total of six switch tubes. The upper bridge arm is connected to the positive DC bus, and the lower bridge arm is connected to the negative DC bus. The first bridge arm includes the first switch tube from top to bottom. And the second switch , the middle connection point a of the switch tube is connected to the first and second switch tubes respectively, and the staggered boost inductor and resonant inductor The second bridge arm includes the third switch tube from top to bottom And the fourth switch , the middle connection point b of the switch tube is connected to the third and fourth switch tubes respectively, and the boost inductor is staggered and resonant capacitor The third bridge arm includes the fifth switch tube from top to bottom. And the sixth switch The middle connection point of the switch tube is connected to the fifth and sixth switch tubes and the power supply In addition to the three pairs of bridge arms, the interleaved parallel totem pole PFC also has a clamping capacitor , the capacitor is a thin film capacitor, and its two ends are connected to the positive DC bus and the negative DC bus respectively.

[0159] The high-voltage DC module adopts a DAB structure, which is composed of a primary resonance module, a high-frequency transformer, and a secondary resonance module. , resonant capacitor Resonant inductor One end is connected to the PFC connection point a, the other end is connected to the high-frequency transformer, and one end of the resonant capacitor One end is connected to the PFC connection point b, and the other end is connected to the high-frequency transformer, resonant inductor , high frequency transformer and resonant capacitor There is a connection point between the resonant inductor and the transformer, and between the resonant capacitor and the transformer. These two connection points are connected to the two ends of the excitation inductor, and the primary resonant module forms an LLC structure. and resonant capacitor Resonant inductor One end is connected to the DAB secondary connection point c, and the other end is connected to the high-frequency transformer. One end is connected to DAB connection point d, and the other end is connected to the high-frequency transformer, resonant inductor , high frequency transformer and resonant capacitor The DAB secondary side consists of two pairs of bridge arms, with a total of four switch tubes. The upper bridge arm is connected to the positive end of the load, and the lower bridge arm is connected to the negative end of the load. The fourth bridge arm includes the seventh switch tube from top to bottom. And the eighth switch The middle connection point c of the switch tube is connected to the seventh and eighth switch tubes and the resonant inductor respectively. The fifth bridge arm includes the ninth switch tube from top to bottom. And the tenth switch The middle connection point d of the switch tube is connected to the ninth and tenth switch tubes and the resonant capacitor respectively. In addition to the two pairs of bridge arms, the DAB secondary side also has a filter capacitor with both ends connected to the positive and negative poles of the load respectively.

[0160] The low voltage DC module adopts DAB structure, which is composed of primary resonance module, high frequency transformer and secondary resonance module. , resonant capacitor Resonant inductor One end is connected to the PFC connection point a, the other end is connected to the high-frequency transformer, and one end of the resonant capacitor One end is connected to the PFC connection point b, and the other end is connected to the high-frequency transformer, resonant inductor , high frequency transformer and resonant capacitor Form a series relationship. There is a connection point between the resonant inductor and the transformer, and between the resonant capacitor and the transformer. These two connection points are respectively connected to the two ends of the excitation inductor, and the primary resonant module forms an LLC structure. The secondary module only has a high-frequency transformer. One end of the high-frequency transformer is connected to the DAB secondary connection point e, and the other end is connected to the DAB secondary connection point g. The DAB secondary side is composed of two pairs of bridge arms, with a total of 4 switch tubes. The upper bridge arm is connected to the positive end of the load, and the lower bridge arm is connected to the negative end of the load. The sixth bridge arm includes the eleventh switch tube from top to bottom. And the twelfth switch , the middle connection point e of the switch tube is connected to the eleventh and twelfth switch tubes and the high-frequency transformer respectively. The seventh bridge arm includes the thirteenth switch tube from top to bottom. And the fourteenth switch The middle connection point g of the switch tube is connected to the thirteenth and fourteenth switch tubes and the high-frequency transformer respectively. In addition to the two pairs of bridge arms, the DAB secondary side also has a filter capacitor with both ends connected to the positive and negative poles of the load respectively.

[0161] In some embodiments, the first high-frequency switch tube bridge arm and the second high-frequency switch tube bridge arm of the power factor correction module are driven with a 50% duty cycle, and the industrial frequency switch tube bridge arm is driven with a 50% duty cycle, or the first high-frequency switch tube bridge arm and the second high-frequency switch tube bridge arm of the power factor correction module are driven with a variable duty cycle, and the industrial frequency switch tube bridge arm is driven with a 50% duty cycle.

[0162] Specifically, Figure 4 As shown, the first high-frequency switch tube bridge arm 110 includes a first upper bridge switch tube S1 and a first lower bridge switch tube S2 connected to each other, the second high-frequency switch tube bridge arm 120 includes a second upper bridge switch tube S3 and a second lower bridge switch tube S4 connected to each other, and the power frequency switch tube bridge arm 130 includes a third upper bridge switch tube S5 and a third lower bridge switch tube S6 connected to each other. Among them, the driving pulse signal of the first upper bridge switch tube S1 is the same as that of the second lower bridge switch tube S4, the driving pulse signal of the first lower bridge switch tube S2 is the same as that of the second upper bridge switch tube S3, the driving pulse signal of the first upper bridge switch tube S1 is complementary to that of the first lower bridge switch tube S2, and the driving pulse signal of the second upper bridge switch tube S3 is complementary to that of the second lower bridge switch tube S4.

[0163] In some embodiments, the third high-frequency switch bridge arm and the fourth high-frequency switch bridge arm of the first AC-DC conversion module are driven with a variable duty cycle, and the duty cycle of the third high-frequency switch bridge arm and the fourth high-frequency switch bridge arm varies sinusoidally.

[0164] Specifically, Figure 4As shown, the third high-frequency switch tube bridge arm 312 includes a fourth upper bridge switch tube S7 and a fourth lower bridge switch tube S8 connected to each other, and the fourth high-frequency switch tube bridge arm 313 includes a fifth upper bridge switch tube S9 and a fifth lower bridge switch tube S10 connected to each other; wherein, the driving pulse signal of the fourth upper bridge switch tube S7 is the same as that of the fifth lower bridge switch tube S10, the driving pulse signal of the fourth lower bridge switch tube S8 is the same as that of the fifth upper bridge switch tube S9, the driving pulse signal of the fourth upper bridge switch tube S7 is complementary to that of the fourth lower bridge switch tube S8, and the driving pulse signal of the fifth upper bridge switch tube S9 is complementary to that of the fifth lower bridge switch tube S10.

[0165] In some embodiments, the fifth high-frequency switch bridge arm and the sixth high-frequency switch bridge arm of the second AC conversion module are driven with a variable duty cycle, and the duty cycle of the fifth high-frequency switch bridge arm and the sixth high-frequency switch bridge arm varies sinusoidally.

[0166] Specifically, Figure 4 As shown, the fifth high-frequency switch tube bridge arm 322 includes a sixth upper bridge switch tube S11 and a sixth lower bridge switch tube S12 connected to each other, and the sixth high-frequency switch tube bridge arm 323 includes a seventh upper bridge switch tube S13 and a seventh lower bridge switch tube S14 connected to each other; wherein, the driving pulse signal of the sixth upper bridge switch tube S11 is the same as that of the seventh lower bridge switch tube S14, the driving pulse signal of the sixth lower bridge switch tube S12 is the same as that of the seventh upper bridge switch tube S13, the driving pulse signal of the sixth upper bridge switch tube S11 is complementary to that of the sixth lower bridge switch tube S12, and the driving pulse signal of the seventh upper bridge switch tube S13 is complementary to that of the seventh lower bridge switch tube S14.

[0167] For example, according to Fig.23 Describe, control algorithm 1: AC side S1~S4 adopts fixed duty cycle 50% control, high frequency fixed frequency operation, S5-S6 adopts fixed duty cycle 50% control, power frequency fixed frequency operation. High voltage DC side S7~S10 adopts variable duty cycle control, with sinusoidal half wave and triangle carrier modulation, the phase difference between S7 and S1 is ; The low voltage DC side S11~S14 adopts variable duty cycle control, which is modulated by half sine wave and triangle carrier. The phase difference between S11 and S9 is , the phase difference between S11 and S1 is .

[0168] Charging: The AC side transmits power to the high-voltage DC side, and the phase shift angle is controlled by the current loop. Realize power control; transmit power to the low voltage DC side at the same time, and control the phase shift angle through the voltage and current double closed loop Implement power control.

[0169] Discharge: High-voltage DC side transmits power to AC side, and the phase shift angle is controlled by voltage and current double closed loop Realize power control; transmit power to the low voltage DC side at the same time, and control the phase shift angle through the voltage and current double closed loop Implement power control.

[0170] like Fig.40 As shown, the AC side drive adopts a fixed 50% duty cycle drive control. Driven at 50% duty cycle, the same bridge arm drive is complementary, and the diagonal drive is synchronous; The first switch is also driven with a 50% duty cycle, and the driving is complementary. With the fourth switch The driving pulse signal is the same, the second switch tube With the third switch The driving pulse signal is the same, the first switch tube With the second switch The driving pulse signal is complementary, and the third switch tube With the fourth switch The driving pulse signals are complementary.

[0171] like Fig.41 As shown, the high voltage DC side drive adopts variable duty cycle drive control. The duty cycle changes sinusoidally, the same bridge arm drive is complementary, and the diagonal drive is synchronous. With the tenth switch The driving pulse signal is the same, the eighth switch tube With the ninth switch The driving pulse signal is the same, the seventh switch tube With the eighth switch The driving pulse signal is complementary, and the ninth switch tube With the tenth switch The driving pulse signals are complementary. The low voltage DC side drive adopts variable duty cycle drive control. The duty cycle changes sinusoidally, the same bridge arm drive is complementary, and the diagonal drive is synchronous. With the fourteenth switch The driving pulse signal is the same, the twelfth switch With the thirteenth switch The driving pulse signal is the same, the eleventh switch With the twelfth switch The driving pulse signal is complementary, the thirteenth switch tube With the fourteenth switch The driving pulse signals are complementary.

[0172] Control algorithm 2: On the AC side, S1~S4 adopts variable duty cycle control and works at high frequency and fixed frequency. S5-S6 adopts fixed duty cycle 50% control and works at fixed frequency and fixed frequency. On the high-voltage DC side, S7~S10 adopts variable duty cycle control, and the phase of S7 is different from that of S1. ; The low voltage DC side S11~S14 adopts variable duty cycle control, and the phase difference between S11 and S9 is , the phase difference between S11 and S1 The duty cycles of S1\S7\S11 are the same, with only phase differences.

[0173] Charging: Power is transmitted from the AC side to the high-voltage DC side. The power control on the AC side is achieved by controlling the duty cycle S1 and S3, and the phase shift angle is controlled by the voltage and current double closed loop. Realize power transmission control; transmit power to the low voltage DC side at the same time, and control the phase shift angle through the voltage and current double closed loop Implement power control.

[0174] Discharge: High-voltage DC side transmits power to AC side, AC side power control is achieved by controlling duty cycle S1 and S3, and phase shift angle is controlled by voltage and current double closed loop Realize power transmission control and transmit power to the low voltage DC side at the same time, and control the phase shift angle through the voltage and current double closed loop Implement power control.

[0175] like Fig.42 As shown in Figure 1, the AC side drive adopts duty cycle control, the same bridge arm drive is complementary, and the diagonal drive is synchronous. With the fourth switch The driving pulse signal is the same, the second switch tube With the third switch The driving pulse signal is the same, the first switch tube With the second switch The driving pulse signal is complementary, and the third switch tube With the fourth switch The driving pulse signals are complementary.

[0176] like Fig.43 As shown, the high-voltage DC side drive adopts variable duty cycle drive control, the same bridge arm drive is complementary, the diagonal drive is synchronous, and the seventh switch tube With the tenth switch The driving pulse signal is the same, the eighth switch tube With the ninth switch The driving pulse signal is the same, the seventh switch tube With the eighth switch The driving pulse signal is complementary, and the ninth switch tube With the tenth switch The driving pulse signals are complementary. The low voltage DC side drive adopts variable duty cycle drive control, the same bridge arm drive is complementary, the diagonal drive is synchronous, and the eleventh switch tube With the fourteenth switch The driving pulse signal is the same, the twelfth switch With the thirteenth switch The driving pulse signal is the same, the eleventh switch With the twelfth switch The driving pulse signal is complementary, the thirteenth switch tube With the fourteenth switch The driving pulse signals are complementary.

[0177] A third aspect of the present invention provides an electronic device, such as Fig.44 As shown, the electronic device 500 includes: at least one processor 501 and a memory 502 .

[0178] Among them, at least one processor 501 is in communication connection with the memory 502, and the memory 502 stores a computer program that can be executed by the at least one processor 501. When the at least one processor 501 executes the computer program, the charge and discharge control method is implemented.

[0179] According to the electronic device of the embodiment of the present invention, the corresponding charge and discharge control program can be stored in the memory. When the charge and discharge control method is implemented, the processor runs the program in the memory, controls the power factor correction module and at least one AC-DC conversion module to perform phase shift control according to the charge and discharge mode, realizes the charge and discharge between the AC power supply and the battery unit, and realizes the charge and discharge between different battery units, thereby realizing multiple working modes and multiple functions.

[0180] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the charging control method of the above embodiment when executed.

[0181] A fifth aspect of the present invention provides a vehicle, such as Fig.45 As shown, the vehicle 600 includes: an electronic device 500; or Fig.46 As shown, vehicle 600 includes: a charging and discharging device 1000 .

[0182] According to the vehicle of the embodiment of the present invention, the power factor correction module and at least one AC-DC conversion module in the charging and discharging device can be controlled to perform phase shift control according to the charging and discharging mode, so as to realize the charging and discharging between the AC power supply and the battery unit, and realize the charging and discharging between different battery units, thereby realizing multiple working modes and multiple functions.

[0183] In the description of this specification, any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code including one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present invention 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 reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.

[0184] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

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

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

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

[0188] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.

[0189] 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" means that the specific features, substrates, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example.

[0190] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

Claims

1. A charging and discharging device, characterized in that: include: A power factor correction module, wherein a first end of the power factor correction module is suitable for connecting to an AC power source; A resonance module, wherein a first end of the resonance module is connected to a second end of the power factor correction module; at least one AC-DC conversion module, wherein a first end of the at least one AC-DC conversion module is connected to a second end of the resonance module, and a second end of the at least one AC-DC conversion module is suitable for being connected to a battery unit; The power factor correction module and the at least one AC-DC conversion module perform phase shift control to achieve charging and discharging between the AC power source and the battery unit and / or to achieve charging and discharging between different battery units.

2. The charge and discharge device according to claim 1, characterized in that: The power factor correction module comprises: A first high-frequency switch tube bridge arm, wherein a midpoint of the first high-frequency switch tube bridge arm is suitable for being connected to a first end of the AC power source through a first inductor; A second high-frequency switch tube bridge arm, wherein a midpoint of the second high-frequency switch tube bridge arm is suitable for being connected to a first end of the AC power source via a second inductor; A power frequency switch bridge arm, the midpoint of which is suitable for connecting to the second end of the AC power supply; The first high-frequency switch tube bridge arm, the second high-frequency switch tube bridge arm and the industrial frequency switch tube bridge arm are connected in parallel.

3. The charge and discharge device according to claim 2, characterized in that: The second end of the resonance module includes a first connection end and a second connection end; The charging and discharging device comprises a first AC-DC conversion module, a first end of the first AC-DC conversion module is connected to a first connection end and a second connection end of the resonance module, and a second end of the first AC-DC conversion module is suitable for connecting to a first battery unit; The power factor correction module and the first AC-DC conversion module perform phase shift control to achieve charging and discharging between the AC power source and the first battery unit.

4. The charge and discharge device according to claim 3, characterized in that: The first AC-DC conversion module comprises: a first capacitor connected to two ends of the first battery unit; A third high-frequency switch tube bridge arm, wherein a midpoint of the third high-frequency switch tube bridge arm is connected to the first connection end of the resonance module; A fourth high-frequency switch tube bridge arm, wherein a midpoint of the fourth high-frequency switch tube bridge arm is connected to the second connection end of the resonance module; The third high-frequency switch tube bridge arm and the fourth high-frequency switch tube bridge arm are connected in parallel, and the first end of the third high-frequency switch tube bridge arm connected in parallel with the fourth switch tube bridge arm is suitable for connecting to the first end of the first battery unit, and the second end of the third high-frequency switch tube bridge arm connected in parallel with the fourth high-frequency switch tube bridge arm is suitable for connecting to the second end of the first battery unit.

5. The charge and discharge device according to claim 4, characterized in that: The resonance module comprises: A transformer, the transformer comprising a primary coil and a first secondary coil; A resonance unit, wherein the resonance unit is connected to at least the primary coil, the midpoint of the first high-frequency switch tube bridge arm and the midpoint of the second high-frequency switch tube bridge arm, and is used to realize AC signal transmission.

6. The charge and discharge device according to claim 5, characterized in that: The first end of the first secondary coil is connected to the midpoint of the third high-frequency switch bridge arm, and the second end of the first secondary coil is connected to the midpoint of the fourth high-frequency switch bridge arm; The resonance unit comprises: A first resonant inductor, wherein a first end of the first resonant inductor is connected to a midpoint of the first high-frequency switch bridge arm, and a second end of the first resonant inductor is connected to a first end of the primary coil.

7. The charge and discharge device according to claim 6, characterized in that: The resonance unit further includes: An excitation inductor, wherein a first end of the excitation inductor is connected to a second end of the first resonant inductor and a first end of the primary coil, and a second end of the excitation inductor is connected to a second end of the primary coil.

8. The charge and discharge device according to claim 6 or 7, characterized in that: The resonance unit further includes: A first resonant capacitor, wherein a first end of the first resonant capacitor is connected to a midpoint of the second high-frequency switch tube bridge arm, and a second end of the first resonant capacitor is connected to a second end of the primary coil.

9. The charging and discharging device according to claim 8, characterized in that: The resonance unit further includes: A second resonant inductor, wherein a first end of the second resonant inductor is connected to a first end of the first secondary coil, and a second end of the second resonant inductor is connected to a midpoint of the third high-frequency switch tube bridge arm.

10. The charge and discharge device according to claim 9, characterized in that: The resonance unit further includes: A second resonant capacitor, wherein a first end of the second resonant capacitor is connected to a second end of the first secondary coil, and a second end of the second resonant capacitor is connected to a midpoint of the fourth high-frequency switch tube bridge arm.

11. The charge-discharge device according to any one of claims 1 to 7, characterized in that: The charging and discharging device further comprises: At least one thin film capacitor, wherein the at least one thin film capacitor is connected in parallel with the power factor correction module.

12. The charge and discharge device according to claim 11, characterized in that: The charging and discharging device includes a plurality of thin film capacitors, and the plurality of thin film capacitors are connected in series.

13. The charge-discharge device according to claim 5, characterized in that: The second end of the resonance module further includes a third connection end and a fourth connection end; The charging and discharging device further comprises: a second AC-DC conversion module, wherein a first end of the second AC-DC conversion module is connected to the third connection end and the fourth connection end of the resonance module, and a second end of the second AC-DC conversion module is suitable for being connected to a second battery unit; The power factor correction module and the second AC-DC conversion module perform phase shift control to achieve charging and discharging between the AC power supply and the second battery unit, and / or the first AC-DC conversion module and the second AC-DC conversion module perform phase shift control to achieve charging and discharging between the first battery unit and the second battery unit.

14. The charge and discharge device according to claim 13, characterized in that: The transformer also includes a second secondary coil; The second AC-DC conversion module comprises: a second capacitor connected to two ends of the second battery unit; a fifth high-frequency switch tube bridge arm, wherein a midpoint of the fifth high-frequency switch tube bridge arm is connected to the first end of the second secondary coil; a sixth high-frequency switch tube bridge arm, wherein a midpoint of the sixth high-frequency switch tube bridge arm is connected to the second end of the second secondary coil; The fifth high-frequency switch tube bridge arm is connected in parallel with the sixth high-frequency switch tube bridge arm, the first end of the fifth high-frequency switch tube bridge arm connected in parallel with the sixth high-frequency switch tube bridge arm is connected to the first end of the second battery unit, and the second end of the fifth high-frequency switch tube bridge arm connected in parallel with the sixth high-frequency switch tube bridge arm is connected to the second end of the second battery unit.

15. The charging and discharging device according to any one of claims 1 to 7, 13 to 14, characterized in that: The charging and discharging device further comprises: A controller is connected to the power factor correction module and the at least one AC-DC conversion module, and is used to perform phase shift control on the power factor correction module and the at least one AC-DC conversion module.

16. A charge and discharge control method, characterized in that: For the charging and discharging device according to any one of claims 1 to 15, the charging and discharging control method comprises: According to the charge and discharge mode, the power factor correction module and / or the at least one AC-DC conversion module in the charge and discharge device are phase-shifted to realize the charge and discharge between the AC power supply and the battery unit and / or realize the charge and discharge between different battery units.

17. The charge and discharge control method according to claim 16, characterized in that: The charging and discharging mode includes an AC to DC mode; In the AC to DC mode, the phase shift angle of the power factor correction module for the at least one AC-DC conversion module is positive, and the AC power supply charges the battery unit through the power factor correction module, the resonance module and the at least one AC-DC conversion module.

18. The charge and discharge control method according to claim 17, characterized in that: When the AC power source charges the battery unit, the phase shift angle of the power factor correction module with respect to the at least one AC-DC conversion module is controlled through a current loop.

19. The charge and discharge control method according to claim 16, characterized in that: The charging and discharging mode includes a direct current to alternating current mode; In the DC to AC mode, the phase shift angle of the power factor correction module for the at least one AC-DC conversion module is negative, and the battery unit discharges to the AC power supply through the at least one AC-DC conversion module, the resonance module and the power factor correction module.

20. The charge and discharge control method according to claim 19, characterized in that: When the battery unit discharges to the AC power supply, the phase shift angle of the at least one AC-DC conversion module relative to the power factor correction module is controlled through a dual closed loop of a voltage loop and a current loop, wherein the output current value of the voltage loop serves as a reference current value of the current loop.

21. The charge and discharge control method according to any one of claims 16 to 20, characterized in that: The charging and discharging device comprises a first AC-DC conversion module on the high voltage DC side and a second AC-DC conversion module on the low voltage DC side; The charging and discharging mode includes a DC to DC mode; In the DC to DC mode, the phase shift angle of the first AC-DC conversion module to the second DC conversion module is positive, and the first battery unit discharges the second battery unit through the first AC-DC conversion module, the resonance module and the second DC conversion module; Alternatively, the phase shift angle of the first AC-DC conversion module to the second DC conversion module is negative, and the second battery unit discharges the first battery unit through the second DC conversion module, the resonance module and the first AC-DC conversion module; Wherein, the first battery unit is connected to the first AC-DC conversion module, and the second battery unit is connected to the second AC-DC conversion module.

22. The charge and discharge control method according to claim 21, characterized in that: When the first battery cell discharges the second battery cell or when the second battery cell discharges the first battery cell, the phase shift angle of the first AC-DC conversion module relative to the second AC-DC conversion module is controlled by a voltage loop and a current loop, and the output current value of the voltage loop is used as a reference current value of the current loop.

23. The charge and discharge control method according to claim 16, characterized in that: The power factor correction module is modulated with a fixed duty cycle or a variable duty cycle, and the at least one AC-DC conversion module is modulated with a half-sine wave and a triangular carrier.

24. The charge and discharge control method according to claim 23, characterized in that: The first high-frequency switch tube bridge arm and the second high-frequency switch tube bridge arm of the power factor correction module are driven at a 50% duty cycle, and the power frequency switch tube bridge arm is driven at a 50% duty cycle, or the first high-frequency switch tube bridge arm and the second high-frequency switch tube bridge arm of the power factor correction module are driven at a variable duty cycle, and the power frequency switch tube bridge arm is driven at a 50% duty cycle; Among them, the first high-frequency switch tube bridge arm includes a first upper bridge switch tube and a first lower bridge switch tube connected to each other, the second high-frequency switch tube bridge arm includes a second upper bridge switch tube and a second lower bridge switch tube connected to each other, and the industrial frequency switch tube bridge arm includes a third upper bridge switch tube and a third lower bridge switch tube connected to each other. Among them, the driving pulse signal of the first upper bridge switch tube is the same as that of the second lower bridge switch tube, the driving pulse signal of the first lower bridge switch tube is the same as that of the second upper bridge switch tube, the driving pulse signal of the first upper bridge switch tube is complementary to that of the first lower bridge switch tube, and the driving pulse signal of the second upper bridge switch tube is complementary to that of the second lower bridge switch tube.

25. The charge and discharge control method according to claim 24, characterized in that: The third high-frequency switch tube bridge arm and the fourth high-frequency switch tube bridge arm of the first AC-DC conversion module are driven with a variable duty cycle, wherein the duty cycles of the third high-frequency switch tube bridge arm and the fourth high-frequency switch tube bridge arm are sinusoidally varied, wherein the third high-frequency switch tube bridge arm comprises a fourth upper bridge switch tube and a fourth lower bridge switch tube connected to each other, and the fourth high-frequency switch tube bridge arm comprises a fifth upper bridge switch tube and a fifth lower bridge switch tube connected to each other; Among them, the driving pulse signal of the fourth upper bridge switch tube is the same as that of the fifth lower bridge switch tube, the driving pulse signal of the fourth lower bridge switch tube is the same as that of the fifth upper bridge switch tube, the driving pulse signal of the fourth upper bridge switch tube is complementary to that of the fourth lower bridge switch tube, and the driving pulse signal of the fifth upper bridge switch tube is complementary to that of the fifth lower bridge switch tube.

26. The charge and discharge control method according to claim 25, characterized in that: The fifth high-frequency switch tube bridge arm and the sixth high-frequency switch tube bridge arm of the second AC conversion module are driven with a variable duty cycle, wherein the duty cycles of the fifth high-frequency switch tube bridge arm and the sixth high-frequency switch tube bridge arm are sinusoidally varied, wherein the fifth high-frequency switch tube bridge arm comprises a sixth upper bridge switch tube and a sixth lower bridge switch tube connected to each other, and the sixth high-frequency switch tube bridge arm comprises a seventh upper bridge switch tube and a seventh lower bridge switch tube connected to each other; Among them, the driving pulse signal of the sixth upper bridge switch tube is the same as that of the seventh lower bridge switch tube, the driving pulse signal of the sixth lower bridge switch tube is the same as that of the seventh upper bridge switch tube, the driving pulse signal of the sixth upper bridge switch tube is complementary to that of the sixth lower bridge switch tube, and the driving pulse signal of the seventh upper bridge switch tube is complementary to that of the seventh lower bridge switch tube.

27. An electronic device, characterized in that: include: at least one processor; a memory communicatively coupled to the at least one processor; The memory stores a computer program that can be executed by the at least one processor, and when the at least one processor executes the computer program, the charge and discharge control method according to any one of claims 16 to 26 is implemented.

28. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed, the charge and discharge control method according to any one of claims 16 to 26 is implemented.

29. A vehicle, characterized in that: Includes the electronic device described in claim 27, and / or includes the charging and discharging device described in any one of claims 1-15.