Charging and discharging device, control method and device of charging and discharging device

CN122969128APending Publication Date: 2026-10-23SHANGHAI SIGE DIGITAL TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611133373.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-28
Publication Date
2026-10-23

AI Technical Summary

Technical Problem

上述一对反向连接的开关器件会增加充放电装置的损耗和成本

Benefits of technology

控制模块,用于控制所述双有源桥电路包括的各开关器件的开关状态,以使得所述充放电装置工作于目标模式;所述目标模式为正常充放电模式、只充电不放电模式或只放电不充电模式。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122969128A_ABST
    Figure CN122969128A_ABST
Patent Text Reader

Abstract

The application discloses a charging and discharging device, a control method and device of the charging and discharging device, and belongs to the technical field of power electronics. The charging and discharging device comprises an energy storage module, a double active bridge circuit and a controller. The first bridge circuit in the double active bridge circuit is connected with the energy storage module for storing electric energy. The second bridge circuit in the double active bridge circuit is used for connecting a power supply or a load. The double active bridge circuit is used for power conversion, realizing charging of the power supply to the energy storage module or discharging of the energy storage module to the load. The controller is used for controlling the switching state of each switching device included in the double active bridge circuit, so that the charging and discharging device works in a target mode. The target mode is a normal charging and discharging mode, a charging-only mode or a discharging-only mode. The charging and discharging device, the control method and device of the charging and discharging device disclosed by the application can realize the target mode without setting additional switching devices, and can reduce the loss and cost of the charging and discharging device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of power electronics technology, and in particular relates to a charging and discharging device, a control method for the charging and discharging device, and a device for controlling the charging and discharging device. Background Technology

[0002] In related technologies, charging and discharging devices can operate in various modes, such as normal charging and discharging, charging only without discharging, or discharging only without charging, depending on requirements. Currently, a pair of reverse-connected switching devices are typically incorporated into the charging and discharging device. By controlling the switching states of these devices, the desired operating mode of the charging and discharging device can be controlled. (Reference) Figure 1 Sp and Sn are a pair of reverse-connected switching devices. When the charging / discharging device needs to operate in a charging-only mode, Sn can be controlled to turn on and Sp to turn off; when the charging / discharging device needs to operate in a discharging-only mode, Sp can be controlled to turn on and Sn to turn off; when the charging / discharging device needs to operate in a normal charging / discharging mode, both Sp and Sn can be controlled to turn on. This reverse-connected pair of switching devices increases the losses and cost of the charging / discharging device. Summary of the Invention

[0003] The present invention aims to at least solve one of the technical problems existing in the prior art. To this end, the present invention proposes a charging and discharging device, a control method for the charging and discharging device, and an apparatus, which can reduce the loss and cost of the charging and discharging device.

[0004] In a first aspect, this application provides a charging and discharging device, which includes: an energy storage module, a dual active bridge circuit, and a controller; the first bridge circuit in the dual active bridge circuit is connected to the energy storage module, and the second bridge circuit in the dual active bridge circuit is used to connect to a power source or a load. The energy storage module is used to store electrical energy; The dual active bridge circuit is used for power conversion, enabling the power supply to charge the energy storage module or the energy storage module to discharge the load. The controller is used to control the switching state of each switching device included in the dual active bridge circuit so that the charging and discharging device operates in a target mode; the target mode is a normal charging and discharging mode, a charging-only mode, or a discharging-only mode.

[0005] According to the control method of the charging and discharging device of this application, by controlling the switching state of each switching device included in the dual active bridge circuit, the charging and discharging device can operate in normal charging and discharging mode, charging-only mode or discharging-only mode. It can realize the charging and discharging device to operate in normal charging and discharging mode, charging-only mode or discharging-only mode as required without setting additional switching devices, thereby reducing the loss and cost of the charging and discharging device.

[0006] According to one embodiment of this application, the controller is used to control the switching state of each switching device based on the current command of the energy storage module, the target mode, and the voltage conversion ratio of the dual active bridge circuit, so that the charging and discharging device operates in the target mode.

[0007] According to one embodiment of this application, the controller is configured to control a target switching device to remain in an off state based on the target mode and the voltage conversion ratio when the absolute value of the current value carried by the current command is less than or equal to a target threshold; the target switching device includes at least one of the switching devices.

[0008] According to one embodiment of this application, the controller is configured to control each of the switching devices to a target state when the absolute value of the current value carried by the current command is greater than the target threshold; the target state includes an on state or an off state determined by phase shift modulation, pulse width modulation, phase shift plus duty cycle modulation or resonant modulation.

[0009] Secondly, this application provides a control method for a charging and discharging device, the charging and discharging device comprising: an energy storage module and a dual active bridge circuit; a first bridge circuit in the dual active bridge circuit is connected to the energy storage module, and a second bridge circuit in the dual active bridge circuit is used to connect to a power source or a load; the method includes: The switching state of each switching device included in the dual active bridge circuit is controlled so that the charging and discharging device operates in a target mode; the target mode is a normal charging and discharging mode, a charging-only mode, or a discharging-only mode.

[0010] According to the control method of the charging and discharging device of this application, by controlling the switching state of each switching device included in the dual active bridge circuit, the charging and discharging device can operate in normal charging and discharging mode, charging-only mode or discharging-only mode. It can realize the charging and discharging device to operate in normal charging and discharging mode, charging-only mode or discharging-only mode as required without setting additional switching devices, thereby reducing the loss and cost of the charging and discharging device.

[0011] According to one embodiment of this application, controlling the switching state of each switching device included in the dual active bridge circuit includes: The switching states of each switching device are controlled based on the current command of the energy storage module, the target mode, and the voltage conversion ratio of the dual active bridge circuit.

[0012] According to one embodiment of this application, controlling the switching state of each switching device based on the current command of the energy storage module, the target mode, and the voltage conversion ratio of the dual active bridge circuit includes: If the absolute value of the current value carried by the current command is less than or equal to the target threshold, the target switching device is controlled to remain in the off state based on the target mode and the voltage conversion ratio; the target switching device includes at least one of the switching devices.

[0013] According to one embodiment of this application, controlling the switching state of each switching device based on the current command of the energy storage module, the target mode, and the voltage conversion ratio of the dual active bridge circuit includes: When the absolute value of the current value carried by the current command is greater than the target threshold, each of the switching devices is controlled to a target state; the target state includes an on state or an off state determined by phase shift modulation, pulse width modulation, phase shift plus duty cycle modulation or resonant modulation.

[0014] Thirdly, this application provides a control device for a charging and discharging device, the charging and discharging device comprising: an energy storage module and a dual active bridge circuit; a first bridge circuit in the dual active bridge circuit is connected to the energy storage module, and a second bridge circuit in the dual active bridge circuit is used to connect to a power source or a load; the device includes: The control module is used to control the switching state of each switching device included in the dual active bridge circuit so that the charging and discharging device operates in a target mode; the target mode is a normal charging and discharging mode, a charging-only mode, or a discharging-only mode.

[0015] According to the control device of the charging and discharging device of this application, by controlling the switching state of each switching device included in the dual active bridge circuit, the charging and discharging device can operate in normal charging and discharging mode, charging-only mode or discharging-only mode. It can realize the charging and discharging device to operate in normal charging and discharging mode, charging-only mode or discharging-only mode as required without setting additional switching devices, thereby reducing the loss and cost of the charging and discharging device.

[0016] Fourthly, this application provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the control method of the charging and discharging device as described in the second aspect above.

[0017] Fifthly, this application provides a non-volatile computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the control method of the charging and discharging device as described in the second aspect above.

[0018] In a sixth aspect, this application provides a chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the control method of the charging and discharging device as described in the second aspect.

[0019] In a seventh aspect, this application provides a computer program product, including a computer program that, when executed by a processor, implements the control method for the charging and discharging device as described in the second aspect above.

[0020] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0021] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which: Figure 1 This is a schematic diagram of the structure of a charging and discharging device in related technologies; Figure 2 This is one of the structural schematic diagrams of the charging and discharging device provided in the embodiments of this application; Figure 3 This is a second schematic diagram of the charging and discharging device provided in the embodiments of this application; Figure 4 This is a schematic flowchart of the control method for the charging and discharging device provided in the embodiments of this application; Figure 5 This is a schematic diagram of the structure of the control device of the charging and discharging device provided in the embodiments of this application; Figure 6 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0022] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0023] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0024] The control method, charging and discharging device, control device for charging and discharging device, electronic device and readable storage medium of the charging and discharging device provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.

[0025] This application also provides a charging and discharging device. For example... Figure 2 As shown, the charging and discharging device may include: an energy storage module 210, a dual active bridge circuit 220 and a controller 230; the first bridge circuit 221 in the dual active bridge circuit 220 is connected to the energy storage module 210, and the second bridge circuit 222 in the dual active bridge circuit 220 is used to connect to a power source or a load.

[0026] In actual implementation, the charging and discharging device may include an energy storage module 210, a dual active bridge (DAB) circuit 220, and a controller 230, etc., but unlike related technologies, it does not provide a pair of reverse-connected switching devices for controlling the operating mode of the charging and discharging device.

[0027] Energy storage module 210 is used to store electrical energy.

[0028] In practical implementation, the energy storage module 210 can store electrical energy as needed and output it at appropriate times. For example, the energy storage module 210 can store electrical energy during off-peak hours and provide it to relevant users or electrical devices during peak hours. The energy storage system provided in this application embodiment can be any power system that requires energy storage devices.

[0029] In some embodiments, the energy storage module 210 may include one or more battery clusters to increase the voltage and capacity of the energy storage module 210. A battery cluster may include multiple battery devices connected in series via a busbar to increase the voltage of the energy storage device. When the energy storage device includes multiple battery clusters, the battery clusters are connected in parallel to increase the capacity of the energy storage device.

[0030] In some embodiments, the battery device may include one or more battery cell assemblies for providing voltage and capacity. A battery cell assembly may include multiple battery cells connected in series, parallel, or in a mixed configuration via a busbar.

[0031] In some embodiments, a battery cell assembly is typically formed by arranging multiple battery cells.

[0032] As an example, a battery cell assembly can be a battery module, which is formed by arranging and fixing multiple battery cells together to form an independent module. As another example, a battery module can be formed by bundling multiple battery cells together with cable ties.

[0033] In some embodiments, the battery device may be a battery pack, which includes a housing and one or more individual battery cells housed within the housing.

[0034] As an example, the battery cell assembly can be a battery module, which can be housed in a housing by fixing the battery module in the housing.

[0035] As an example, battery cell assemblies can also be housed in a housing by directly fixing multiple battery cells to the housing.

[0036] In some embodiments, the housing may be part of the vehicle's chassis structure. For example, a portion of the housing may be at least a part of the vehicle's floor, or a portion of the housing may be at least a part of the vehicle's crossbeams and longitudinal beams.

[0037] In some embodiments, the battery cell can be a secondary battery, which refers to a battery cell that can be recharged to activate the active materials and continue to be used after the battery cell has been discharged.

[0038] The battery cell can be a lithium-ion battery, sodium-ion battery, sodium-lithium-ion battery, lithium metal battery, sodium metal battery, lithium-sulfur battery, magnesium-ion battery, nickel-metal hydride battery, nickel-cadmium battery, lead-acid battery, etc., and the embodiments of this application are not limited to this.

[0039] Battery cells can be cylindrical, flat, cuboid, or other shapes, and this application embodiment is not limited to any of these. Battery cells are generally classified into three types according to their packaging method: cylindrical battery cells, square battery cells, and pouch battery cells, and this application embodiment is not limited to any of these types either.

[0040] A battery cell includes a casing, electrode components, and electrolyte. The casing houses the electrode components and electrolyte. The electrode components consist of a positive electrode, a negative electrode, and a separator. The battery cell primarily functions by the movement of metal ions between the positive and negative electrode components. The positive electrode includes a positive current collector and a positive active material layer. The positive current collector includes a current collector body and a positive electrode tab. The positive active material layer is coated on the surface of the current collector body, while the positive electrode tab is not coated with the positive active material layer and protrudes from the current collector body. Taking a lithium-ion battery as an example, the material of the positive current collector can be aluminum, and the positive active material can be lithium cobalt oxide, lithium iron phosphate, ternary lithium, or lithium manganese oxide, etc. The negative electrode includes a negative current collector and a negative active material layer. The negative current collector includes a current collector body and a negative electrode tab. The negative active material layer is coated on the surface of the current collector body, while the negative electrode tab is not coated with the negative active material layer and protrudes from the current collector body. The negative electrode current collector can be made of copper, and the negative electrode active material can be carbon or silicon, etc. To ensure that a large current can be passed without melting, there are multiple positive electrode tabs stacked together, and there are multiple negative electrode tabs stacked together.

[0041] The separator can be made of PP (polypropylene) or PE (polyethylene), etc. Furthermore, the electrode assembly can be a wound structure or a stacked structure; the embodiments of this application are not limited to these.

[0042] The technical solutions described in the embodiments of this application are applicable to various electrical devices that use battery devices, such as mobile phones, portable devices, laptops, electric vehicles, electric toys, power tools, vehicles, ships, and spacecraft, etc. For example, spacecraft include airplanes, rockets, space shuttles, and spacecraft. The battery device is used to store or provide electrical energy.

[0043] The dual active bridge circuit 220 is used for power conversion, enabling the power supply to charge the energy storage module 210 or the energy storage module 210 to discharge to the load.

[0044] In practical implementation, the dual active bridge circuit 220 features a small number of circuit elements, high conversion efficiency, and input-output electrical isolation. The dual active bridge circuit 220 can include two bridge circuits: a first bridge circuit 221 and a second bridge circuit 222. The dual active bridge circuit 220 provided in this application embodiment can adopt various topologies, but is not dependent on a specific dual active bridge topology.

[0045] In some embodiments, both the first bridge circuit 221 and the second bridge circuit 222 are bridge circuits. These bridge circuits can be full-bridge circuits (also known as "H" bridge circuits) or half-bridge circuits. Both the first bridge circuit 221 and the second bridge circuit 222 can include at least one pair of switching devices. These switching devices can be field-effect transistors (FETs), bipolar junction transistors (BJTs), or insulated-gate bipolar transistors (IGBTs), such as metal-oxide-semiconductor field-effect transistors (MOSFETs).

[0046] Understandably, a full-bridge circuit can include two arms, each of which can consist of a pair of switching devices. A half-bridge circuit can include one arm, which can also consist of a pair of switching devices.

[0047] In some embodiments, the dual active bridge circuit 220 may also include a power transmission branch between the first bridge circuit 221 and the second bridge circuit 222. The first bridge circuit 221 and the second bridge circuit 222 can be connected through this power transmission branch to achieve functions such as electrical isolation, voltage conversion, and energy transfer.

[0048] In some embodiments, the power transmission branch may include a transformer and / or a resonant network.

[0049] In some embodiments, the resonant network can be used to implement soft switching of each switching device in the dual active bridge circuit 220, thereby reducing circuit losses.

[0050] In some embodiments, the resonant network can be configured in various ways, such as single L, LC, LLC, and CLLC. Here, L represents inductance, and C represents capacitance.

[0051] In some embodiments, the transformer can be used to step up or step down the voltage.

[0052] In some embodiments, the dual active bridge circuit 220 can be used for bidirectional power conversion. The first bridge circuit 221 can be connected to the energy storage module 210; depending on the application scenario, the second bridge circuit 222 can be connected to a power supply or a load.

[0053] In some embodiments, the bidirectional power conversion can be a bidirectional direct current to direct current (DC / DC) conversion or a bidirectional direct current to alternating current (DC / AC) conversion. When the dual active bridge circuit 220 is used for bidirectional DC-DC conversion, the power supply can be a DC power supply, and the load can be a DC load. When the dual active bridge circuit 220 is used for bidirectional DC-AC conversion, the power supply can be an AC power supply, and the load can be an AC load.

[0054] It is understandable that when the second bridge circuit 222 is connected to the power supply, the power supply can charge the energy storage module 210, and the electrical energy output by the power supply can be converted by the dual active bridge circuit 220 and then input into the energy storage module 210 for storage.

[0055] In some embodiments, when the energy storage module 210 supports reverse discharge, the second bridge circuit 222 is connected to a power source such as the power grid, which serves as the actual "load". The electrical energy stored in the energy storage module 210 can be transformed by the dual active bridge circuit 220 and then input into the power source such as the power grid to provide electrical energy to the power source such as the power grid.

[0056] Understandably, when the second bridge circuit 222 is connected to the load, the energy storage module 210 can discharge the load. The electrical energy stored in the energy storage module 210 can be transformed by the dual active bridge circuit 220 and then input to the load to provide electrical energy to the load.

[0057] In some embodiments, when reverse charging of the load is supported, the second bridge circuit 222 is connected to the load, and the load can act as an actual "power source" to charge the energy storage module 210. The electrical energy output by the load can be converted by the dual active bridge circuit 220 and then input into the energy storage module 210 for storage.

[0058] The controller 230 is used to control the switching state of each switching device included in the dual active bridge circuit 220 so that the charging and discharging device operates in a target mode; the target mode is a normal charging and discharging mode, a charging-only mode or a discharging-only mode.

[0059] In actual operation, the controller 230 can control the switching states of each switching device included in the first bridge circuit 221 and each switching device included in the second bridge circuit 222, so that the discharge device can operate in a target mode such as normal charging and discharging mode, charging only without discharging mode, or discharging only without charging mode.

[0060] In some embodiments, for each switching device included in the dual active bridge circuit 220, the controller 230 controls the switching state of the switching device by inputting a drive signal to the switching device or stopping the input of the drive signal. In some embodiments, the drive signal can be a pulse width modulation (PWM) signal or other modulation signal.

[0061] It should be noted that by controlling the switching states of each switching device included in the first bridge circuit 221 and each switching device included in the second bridge circuit 222, electrical energy can be transmitted in the direction corresponding to the target mode.

[0062] For example, by controlling the switching states of each switching device included in the first bridge circuit 221 and each switching device included in the second bridge circuit 222, it is possible to allow only electrical energy to be transmitted from the first bridge circuit 221 to the second bridge circuit 222, and block the transmission of electrical energy from the second bridge circuit 222 to the first bridge circuit 221. At this time, the target mode is the discharge-only mode.

[0063] For example, by controlling the switching states of each switching device included in the first bridge circuit 221 and each switching device included in the second bridge circuit 222, it is possible to allow only electrical energy to be transmitted from the second bridge circuit 222 to the first bridge circuit 221, and block the transmission of electrical energy from the first bridge circuit 221 to the second bridge circuit 222. At this time, the target mode is the charging-only mode.

[0064] In some embodiments, by controlling the switching states of each switching device included in the first bridge circuit 221 and each switching device included in the second bridge circuit 222, it is possible to allow power to be transmitted from the first bridge circuit 221 to the second bridge circuit 222 and from the second bridge circuit 222 to the first bridge circuit 221. In this case, the target mode is the normal charging and discharging mode.

[0065] In some embodiments, by controlling the switching states of each switching device included in the first bridge circuit 221 and each switching device included in the second bridge circuit 222, certain switching devices among the aforementioned switching devices can be kept in an off state (meaning they remain in an off state until the target mode changes), allowing electrical energy to be transmitted only in a specific direction and blocking the transmission of electrical energy in the opposite direction to that specific direction. This achieves the following: allowing electrical energy to be transmitted only from the second bridge circuit 222 to the first bridge circuit 221 and blocking the transmission of electrical energy from the first bridge circuit 221 to the second bridge circuit 222, or allowing electrical energy to be transmitted only from the second bridge circuit 222 to the first bridge circuit 221 and blocking the transmission of electrical energy from the first bridge circuit 221 to the second bridge circuit 222.

[0066] In some embodiments, the charging and discharging device may be an on-board charger (OBC). Electric vehicles (EVs) and plug-in hybrid electric vehicles (PHEVs) may be equipped with on-board chargers.

[0067] According to the embodiments of this application, the charging and discharging device can operate in normal charging and discharging mode, charging-only mode or discharging-only mode by controlling the switching state of each switching device included in the dual active bridge circuit. This eliminates the need for additional switching devices, allowing the charging and discharging device to operate in normal charging and discharging mode, charging-only mode or discharging-only mode as required, thereby reducing the loss and cost of the charging and discharging device.

[0068] In some embodiments of this application, the controller 230 is used to control the switching state of each switching device based on the current command of the energy storage module 210, the target mode, and the voltage conversion ratio of the dual active bridge circuit 220, so that the charging and discharging device operates in the target mode.

[0069] In actual implementation, the control of the switching state of each switching device in the dual active bridge circuit 220 can be determined based on the current command Icmd of the energy storage module 210, the target mode, and the voltage conversion ratio k of the dual active bridge circuit 220.

[0070] In some embodiments, the current command Icmd carries a current value. When charging the energy storage module 210, this current value is the charging current; when the energy storage module 210 discharges to the outside, this current value is the discharging current.

[0071] In some embodiments, the voltage conversion ratio k of the dual active bridge circuit 220 is the ratio of the output voltage of the first bridge circuit 221 to the output voltage of the second bridge circuit 222. It can be understood that when the output voltage of the first bridge circuit 221 is greater than the output voltage of the second bridge circuit 222, the voltage conversion ratio k > 1; when the output voltage of the first bridge circuit 221 is less than the output voltage of the second bridge circuit 222, the voltage conversion ratio k < 1.

[0072] It is understandable that when the first bridge circuit 221 or the second bridge circuit 222 is a full-bridge circuit, the output voltage of the full-bridge circuit is the voltage between the midpoints of the two bridge arms.

[0073] It is understandable that when the first bridge circuit 221 or the second bridge circuit 222 is a half-bridge circuit, the output voltage of the half-bridge circuit is the voltage between the midpoint of the bridge arm and the midpoint of the DC bus or the reference midpoint.

[0074] In some embodiments, where the half-bridge circuit further includes a capacitor string connected in parallel with the DC bus, the capacitor string may include two voltage-dividing capacitors, and the aforementioned reference midpoint may be the connection point of the two voltage-dividing capacitors.

[0075] According to the charging and discharging device provided in the embodiments of this application, the switching state of each switching device included in the dual active bridge circuit is controlled based on the current command of the energy storage module, the target mode, and the voltage conversion ratio of the dual active bridge circuit. This enables the charging and discharging device to operate in normal charging and discharging mode, charging-only mode, or discharging-only mode without setting additional switching devices. This allows the charging and discharging device to operate in normal charging and discharging mode, charging-only mode, or discharging-only mode as required, thereby reducing the loss and cost of the charging and discharging device.

[0076] In some embodiments of this application, controller 230 is configured to control a target switching device to remain in an off state based on a target mode and voltage conversion ratio when the absolute value of the current value carried by the current command is less than or equal to a target threshold; the target switching device includes at least one switching device.

[0077] In actual execution, the current value carried by the current command Icmd can be obtained by parsing the current command Icmd; or, the actual current value can be obtained by detecting the charging current or discharging current of the energy storage module 210, and the control state of keeping the target switching device off can be determined based on the command current value and / or the actual current value.

[0078] After obtaining the current value carried by the current command Icmd, the absolute value of the current value carried by the current command Icmd can be compared with the target threshold. The target threshold is a predetermined value, and the specific value of the target threshold is not limited in this embodiment.

[0079] In some embodiments, when the absolute value of the current value carried by the current command Icmd is less than or equal to the target threshold, the controller 230 may determine at least one switching device in the dual active bridge circuit 220 as the target switching device based on the target mode and the voltage conversion ratio k.

[0080] In some embodiments, the determination of the target switching device can also be based on the polarity of the parasitic diodes of each switching device, the polarity of the external port voltage, and the direction of the power transmission branch current, so that when the target switching device is kept in the off state, the current path in the prohibited direction is cut off or suppressed. The target switching device can be a switching device that is reverse biased in the energy transmission path in the prohibited direction, or a switching device with reverse blocking capability.

[0081] In some embodiments, when the target mode is a charging-only mode, the target switching device may include at least one switching device in the first bridge circuit 221.

[0082] In some embodiments, when the target mode is a discharge-only mode, the target switching device may include at least one switching device in the second bridge circuit 222.

[0083] In some embodiments, the target switching device is the aforementioned specific switching device. The controller 230 can control the target switching device to remain in the off state (until the target mode changes), and control the switching state of other switching devices with the goal of achieving charging or discharging corresponding to the target mode. This enables only the transmission of electrical energy to the direction corresponding to the current target mode, and blocks the transmission of electrical energy to the opposite direction, thereby enabling the charging and discharging device to operate in the target mode.

[0084] In some embodiments, when the target mode is a charging-only mode, the controller 230 can control the target switching device to remain in the off state (until the target mode changes), and control the switching state of other switching devices with the goal of achieving the charging or discharging corresponding to the target mode, so as to allow only the transmission of electrical energy from the second bridge circuit 222 to the first bridge circuit 221, and block the transmission of electrical energy from the first bridge circuit 221 to the second bridge circuit 222. The charging and discharging device operates in a charging-only mode.

[0085] In some embodiments, when the target mode is a discharge-only mode, the controller 230 can control the target switching device to remain in the off state (until the target mode changes), and control the switching state of other switching devices with the goal of achieving the charging or discharging corresponding to the target mode, so as to allow only the transmission of electrical energy from the first bridge circuit 221 to the second bridge circuit 222, and block the transmission of electrical energy from the second bridge circuit 222 to the first bridge circuit 221. The charging and discharging device operates in a discharge-only mode.

[0086] In some embodiments, the controller 230 controls the target switching device to remain in the off state, which may include stopping the input of drive signals to the target switching device. Stopping the input of drive signals to the target switching device can achieve reliable turn-off of the target switching device.

[0087] According to the charging and discharging device provided in the embodiments of this application, when the absolute value of the current value carried by the current command is less than or equal to the target threshold, the target switching device is controlled to remain in the off state based on the target mode and voltage conversion ratio, so that the charging and discharging device can work in a charging-only mode or a discharging-only mode without charging. No additional switching device is required to enable the charging and discharging device to work in the normal charging and discharging mode, the charging-only mode or the discharging-only mode as needed, thereby reducing the loss and cost of the charging and discharging device.

[0088] In some embodiments of this application, the controller 230 is configured to control each switching device to a target state when the absolute value of the current value carried by the current command is greater than a target threshold; the target state includes an on state or an off state determined according to phase shift modulation, pulse width modulation, phase shift plus duty cycle modulation or resonant modulation.

[0089] In actual execution, when the absolute value of the current value carried by the current command Icmd is greater than the target threshold, the controller 230 can control the switching state of each switching device to the corresponding target state according to the preset control logic.

[0090] In some embodiments, the target state corresponding to each switching device may be related to the control method used to control the dual active bridge circuit 220.

[0091] In some embodiments, the control method used to control the dual active bridge circuit 220 may include at least one of the modulation methods such as phase shift keying (PSK), pulse width modulation (PWM), phase shift plus duty cycle modulation (PS-DCM), or resonant modulation (RM), but may not be limited to phase shift keying, pulse width modulation, phase shift plus duty cycle modulation, or resonant modulation.

[0092] According to the charging and discharging device provided in the embodiments of this application, when the absolute value of the current value is greater than the target threshold, each switching device is controlled to the target state, so that the charging and discharging device can work in normal charging and discharging mode, charging-only mode or discharging-only mode. No additional switching devices are required to enable the charging and discharging device to work in normal charging and discharging mode, charging-only mode or discharging-only mode as needed, thereby reducing the loss and cost of the charging and discharging device.

[0093] To facilitate understanding of the above embodiments of this application, the following references are made to... Figure 3The structure of the charging and discharging device is shown, and the process of the charging and discharging device realizing different working modes is described.

[0094] Figure 3 In the charging and discharging device shown, both the first bridge circuit 221 and the second bridge circuit 222 in the dual active bridge circuit 220 are full-bridge circuits. The first bridge circuit 221 may include switching devices S1, S2, S3, and S4. Switching devices S1 and S2 form the first bridge arm, and the midpoint of the first bridge arm serves as the positive terminal of the output voltage of the first bridge circuit 221. Switching devices S3 and S4 form the second bridge arm, and the midpoint of the second bridge arm serves as the negative terminal of the output voltage of the first bridge circuit 221. The second bridge circuit 222 may include switching devices S5, S6, S7, and S8. Switching devices S5 and S6 form the third bridge arm, and the midpoint of the third bridge arm serves as the positive terminal of the output voltage of the second bridge circuit 222. Switching devices S7 and S8 form the fourth bridge arm, and the midpoint of the fourth bridge arm serves as the negative terminal of the output voltage of the second bridge circuit 222.

[0095] When the absolute value of the current value carried by the current command Icmd is greater than the target threshold, the controller 230 can control the switching devices S1 to S8 to the target state according to the preset control logic.

[0096] When the absolute value of the current value carried by the current command Icmd is less than or equal to the target threshold, the controller 230 can control the switching state of each switching device so that the charging and discharging device operates in the target mode, which may include the following situations.

[0097] When the charging and discharging device needs to operate in a non-charging and non-discharging mode, the controller 230 can stop outputting drive signals to the switching devices S1 to S8. With the controller 230 stopping outputting drive signals to the switching devices S1 to S8, the switching devices S1 to S8 remain in the off state or remain in the reliable off state after a rapid switch from the on state to the reliable off state. No power transfer occurs between the first bridge circuit 221 and the second bridge circuit 222.

[0098] When the charging and discharging device needs to operate in normal charging and discharging mode, the controller 230 can control the switching state of the switching devices S1 to S8 by outputting corresponding drive signals to the switching devices S1 to S8. All the switching devices S1 to S8 operate normally, enabling bidirectional power transmission between the first bridge circuit 221 and the second bridge circuit 222.

[0099] When the charging and discharging device needs to operate in a charging-only mode without discharging, if the voltage conversion ratio k < 1, and the target switching device is switching device S3 or S4, the controller 230 can stop outputting drive signals to the target switching device. The target switching device can remain in the off state or remain in the reliable off state after quickly switching from the on state to the reliable off state. The controller 230 outputs corresponding drive signals to other switching devices besides the target switching device to control the switching state of the other switching devices. The other switching devices operate normally, realizing that only the transmission of electrical energy from the second bridge circuit 222 to the first bridge circuit 221 is allowed, and the transmission of electrical energy from the first bridge circuit 221 to the second bridge circuit 222 is blocked.

[0100] When the charging and discharging device needs to operate in a charging-only mode without discharging, if the voltage conversion ratio k>1, the target switching device includes switching devices S1 to S4. The controller 230 can stop outputting drive signals to the target switching device. The target switching device can remain in the off state or remain in the reliable off state after quickly switching from the on state to the reliable off state. The controller 230 outputs corresponding drive signals to other switching devices besides the target switching device to control the switching state of the other switching devices. The other switching devices operate normally, the first bridge circuit 221 does not work, and the second bridge circuit 222 works normally, so that only the power is allowed to be transmitted from the second bridge circuit 222 to the first bridge circuit 221, and the power is blocked from being transmitted from the first bridge circuit 221 to the second bridge circuit 222.

[0101] When the charging and discharging device needs to operate in a discharge-only mode without charging, if the voltage conversion ratio k < 1, the target switching device includes switching devices S5 to S8. The controller 230 can stop outputting drive signals to the target switching device. The target switching device can remain in the off state or remain in the reliable off state after quickly switching from the on state to the reliable off state. The controller 230 outputs corresponding drive signals to other switching devices besides the target switching device to control the switching state of the other switching devices. The other switching devices operate normally, the first bridge circuit 221 operates normally, and the second bridge circuit 222 does not operate, so that only the power is allowed to be transmitted from the first bridge circuit 221 to the second bridge circuit 222, and the power is blocked from being transmitted from the second bridge circuit 222 to the first bridge circuit 221.

[0102] When the charging and discharging device needs to operate in a discharge-only mode, if the voltage conversion ratio k>1, the target switching device is switching device S6 or S8. The controller 230 can stop outputting drive signals to the target switching device. The target switching device can remain in the off state or remain in the reliable off state after quickly switching from the on state to the reliable off state. The controller 230 outputs corresponding drive signals to other switching devices besides the target switching device to control the switching state of the other switching devices. The other switching devices operate normally, realizing that only the power is allowed to be transmitted from the first bridge circuit 221 to the second bridge circuit 222, and the power is blocked from being transmitted from the second bridge circuit 222 to the first bridge circuit 221.

[0103] It is understood that the above description assumes that both the first bridge circuit 221 and the second bridge circuit 222 in the dual active bridge circuit 220 are full-bridge circuits. However, those skilled in the art can understand, based on the above embodiments, that the charging and discharging device can achieve different operating modes when the dual active bridge circuit 220 adopts other topologies.

[0104] This application also provides a control method for a charging and discharging device. This control method can be applied to a terminal, and can be executed by hardware or software within the terminal.

[0105] The control method for the charging and discharging device provided in this application embodiment can be executed by an electronic device or a functional module or functional entity in an electronic device that can implement the control method for the charging and discharging device. The electronic devices mentioned in this application embodiment include, but are not limited to, mobile phones, tablet computers, computers, cameras and wearable devices. The control method for the charging and discharging device provided in this application embodiment will be described below using an electronic device as the execution subject as an example.

[0106] like Figure 4 As shown, the control method of the charging and discharging device includes: controlling the switching state of each switching device included in the dual active bridge circuit so that the charging and discharging device operates in a target mode; the target mode is a normal charging and discharging mode, a charging-only mode or a discharging-only mode.

[0107] In actual operation, the charging and discharging device includes an energy storage module and a dual active bridge circuit; the first bridge circuit in the dual active bridge circuit is connected to the energy storage module, and the second bridge circuit in the dual active bridge circuit is used to connect to the power supply or load.

[0108] In some embodiments of this application, controlling the switching state of each switching device included in the dual active bridge circuit includes: The switching states of each switching device are controlled based on the current command of the energy storage module, the target mode, and the voltage conversion ratio of the dual active bridge circuit.

[0109] In some embodiments of this application, the switching state of each switching device is controlled based on the current command of the energy storage module, the target mode, and the voltage conversion ratio of the dual active bridge circuit, including: When the absolute value of the current value carried by the current command is less than or equal to the target threshold, the target switching device is controlled to remain in the off state based on the target mode and voltage conversion ratio; the target switching device includes at least one switching device.

[0110] In some embodiments of this application, the switching state of each switching device is controlled based on the current command of the energy storage module, the target mode, and the voltage conversion ratio of the dual active bridge circuit, including: When the absolute value of the current value carried by the current command is greater than the target threshold, each switching device is controlled to the target state; the target state includes the on state or off state determined by phase shift modulation, pulse width modulation, phase shift plus duty cycle modulation or resonant modulation.

[0111] According to the control method of the charging and discharging device provided in the embodiments of this application, by controlling the switching state of each switching device included in the dual active bridge circuit, the charging and discharging device can operate in normal charging and discharging mode, charging-only-no-discharging mode, or discharging-only-no-charging mode. It can realize that the charging and discharging device can operate in normal charging and discharging mode, charging-only-no-discharging mode, or discharging-only-no-charging mode as required without setting additional switching devices, thereby reducing the loss and cost of the charging and discharging device.

[0112] It should be noted that the implementation process of the control method of the charging and discharging device provided in each embodiment of this application can be referred to the aforementioned embodiments of the charging and discharging device. To avoid repetition, it will not be described again here.

[0113] The control method for a charging and discharging device provided in this application can be executed by a control device for the charging and discharging device. This application uses the example of a control device executing the control method for the charging and discharging device to illustrate the control device for the charging and discharging device provided in this application.

[0114] This application also provides a control device for a charging and discharging device. For example... Figure 5 As shown, the control device 500 of the charging and discharging device includes a control module 510.

[0115] The control module 510 is used to control the switching state of each switching device included in the dual active bridge circuit so that the charging and discharging device operates in the target mode; the target mode is normal charging and discharging mode, charging only without discharging mode, or discharging only without charging mode.

[0116] In actual operation, the charging and discharging device includes an energy storage module and a dual active bridge circuit; the first bridge circuit in the dual active bridge circuit is connected to the energy storage module, and the second bridge circuit in the dual active bridge circuit is used to connect to the power supply or load.

[0117] According to the control device of the charging and discharging device provided in the embodiments of this application, by controlling the switching state of each switching device included in the dual active bridge circuit, the charging and discharging device can operate in normal charging and discharging mode, charging-only-no-discharging mode, or discharging-only-no-charging mode. It can realize that the charging and discharging device can operate in normal charging and discharging mode, charging-only-no-discharging mode, or discharging-only-no-charging mode as required without setting additional switching devices, thereby reducing the loss and cost of the charging and discharging device.

[0118] In some embodiments of this application, the control module 510 can be specifically used to control the switching state of each switching device based on the current command of the energy storage module, the target mode, and the voltage conversion ratio of the dual active bridge circuit.

[0119] In some embodiments of this application, the control module 510 may be specifically used to control the target switching device to remain in the off state based on the target mode and voltage conversion ratio when the absolute value of the current value carried by the current command is less than or equal to the target threshold; the target switching device includes at least one switching device.

[0120] In some embodiments of this application, the control module 510 can be specifically used to control each switching device to a target state when the absolute value of the current value is greater than a target threshold.

[0121] The control device for the charging and discharging device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the scope of the device.

[0122] The control device of the charging and discharging device in this application embodiment can be a device with an operating system. The operating system can be a Microsoft (Windows) operating system, an Android operating system, an iOS operating system, or other possible operating systems. This application embodiment does not specifically limit the specific operating system.

[0123] The control device for the charging and discharging apparatus provided in this application embodiment can achieve... Figure 4 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.

[0124] In some embodiments, such as Figure 6 As shown, this application embodiment also provides an electronic device 600, including a processor 601, a memory 602, and a computer program stored in the memory 602 and executable on the processor 601. When the computer program is executed by the processor 601, it implements the various processes of the above-described control method embodiment of the charging and discharging device and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0125] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0126] This application also provides a non-volatile computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described control method embodiment for the charging and discharging device and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0127] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0128] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the control method of the above-described charging and discharging device.

[0129] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0130] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described control method embodiment of the charging and discharging device, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0131] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0132] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0133] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the related technology, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0134] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

[0135] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0136] Although embodiments of this application have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of this application, the scope of which is defined by the claims and their equivalents.

Claims

1. A charging and discharging device, characterized in that, include: An energy storage module, a dual active bridge circuit, and a controller; the first bridge circuit in the dual active bridge circuit is connected to the energy storage module, and the second bridge circuit in the dual active bridge circuit is used to connect to a power source or a load; The energy storage module is used to store electrical energy; The dual active bridge circuit is used for power conversion, enabling the power supply to charge the energy storage module or the energy storage module to discharge the load. The controller is used to control the switching state of each switching device included in the dual active bridge circuit so that the charging and discharging device operates in a target mode; the target mode is a normal charging and discharging mode, a charging-only mode, or a discharging-only mode.

2. The charging and discharging device according to claim 1, characterized in that, The controller is used to control the switching state of each switching device based on the current command of the energy storage module, the target mode, and the voltage conversion ratio of the dual active bridge circuit, so that the charging and discharging device operates in the target mode.

3. The charging and discharging device according to claim 2, characterized in that, The controller is configured to control a target switching device to remain in an off state based on the target mode and the voltage conversion ratio, provided that the absolute value of the current value carried by the current command is less than or equal to a target threshold; the target switching device includes at least one of the switching devices.

4. The charging and discharging device according to claim 2, characterized in that, The controller is configured to control each of the switching devices to a target state when the absolute value of the current value carried by the current command is greater than a target threshold; the target state includes an on state or an off state determined by phase shift modulation, pulse width modulation, phase shift plus duty cycle modulation or resonant modulation.

5. A control method for a charging and discharging device, characterized in that, The charging and discharging device includes: an energy storage module and a dual active bridge circuit; the first bridge circuit in the dual active bridge circuit is connected to the energy storage module, and the second bridge circuit in the dual active bridge circuit is used to connect to a power source or a load; the method includes: The switching state of each switching device included in the dual active bridge circuit is controlled so that the charging and discharging device operates in a target mode; the target mode is a normal charging and discharging mode, a charging-only mode, or a discharging-only mode.

6. The control method for the charging and discharging device according to claim 5, characterized in that, The control of the switching states of each switching device included in the dual active bridge circuit includes: The switching states of each switching device are controlled based on the current command of the energy storage module, the target mode, and the voltage conversion ratio of the dual active bridge circuit.

7. The control method for the charging and discharging device according to claim 6, characterized in that, The control of the switching states of each switching device based on the current command of the energy storage module, the target mode, and the voltage conversion ratio of the dual active bridge circuit includes: If the absolute value of the current value carried by the current command is less than or equal to the target threshold, the target switching device is controlled to remain in the off state based on the target mode and the voltage conversion ratio; the target switching device includes at least one of the switching devices.

8. The control method for the charging and discharging device according to claim 6, characterized in that, The control of the switching states of each switching device based on the current command of the energy storage module, the target mode, and the voltage conversion ratio of the dual active bridge circuit includes: When the absolute value of the current value carried by the current command is greater than the target threshold, each of the switching devices is controlled to the target state; the target state includes an on state or an off state determined by phase shift modulation, pulse width modulation, phase shift plus duty cycle modulation or resonant modulation.

9. A control device for a charging and discharging apparatus, characterized in that, The charging and discharging device includes: an energy storage module and a dual active bridge circuit; the first bridge circuit in the dual active bridge circuit is connected to the energy storage module, and the second bridge circuit in the dual active bridge circuit is used to connect to a power source or a load; the device includes: The control module is used to control the switching state of each switching device included in the dual active bridge circuit so that the charging and discharging device operates in a target mode; the target mode is a normal charging and discharging mode, a charging-only mode, or a discharging-only mode.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the control method of the charging and discharging device as described in any one of claims 5 to 8.

11. A non-volatile computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the control method of the charging and discharging device as described in any one of claims 5 to 8.

12. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the control method of the charging and discharging device as described in any one of claims 5 to 8.