Bidirectional dc-dc converter control method and microcontroller unit

By acquiring the operating status data of energy storage devices and executing a coordinated decision-making process, the problem of energy transmission mismatch between bidirectional DC-DC converters in different energy storage device systems is solved, achieving more efficient energy scheduling and stability.

CN123184473APending Publication Date: 2026-11-27SHENZHEN POWEROAK NEWENER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611535091.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-30
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In energy storage systems with multiple different energy storage devices, existing bidirectional DC-DC converters struggle to reasonably determine energy dispatch requirements, transmission direction, and transmission power based on the actual operating status of the energy storage devices, leading to energy transmission mismatch and affecting system efficiency and stability.

Method used

By acquiring the operating status data of the first and second energy storage devices, a coordinated decision-making process is executed, including battery state of charge balancing demand detection, power deficit support demand detection, and power surplus consumption demand detection, to determine the energy transmission direction and target scheduling power, and to generate target output commands to adapt to the actual state of the energy storage devices.

Benefits of technology

It improves the adaptability and operational stability of bidirectional DC-DC converters in energy transmission, ensuring that energy dispatching needs match the actual operating status of energy storage devices and reducing the possibility of unreasonable power transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123184473A_ABST
    Figure CN123184473A_ABST
Patent Text Reader

Abstract

The application belongs to the technical field of energy storage systems, and relates to a bidirectional DC-DC converter control method and a microcontroller unit. By acquiring operation state data of first and second energy storage devices, a coordination decision process is executed, and battery state of charge balancing demand, power shortage support demand and power surplus consumption demand detection is performed to determine energy scheduling demand and transmission direction. Source side and target side energy storage devices are further determined and scheduling feasibility detection is performed. When the conditions are met, target maximum allowable transmission power is acquired and target scheduling power is determined, and then target output instructions are generated to realize energy transmission adapted to the operation states of the two energy storage devices, thereby improving the matching degree and operation stability of energy scheduling and power transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of energy storage system technology, specifically relating to a bidirectional DC-DC converter control method and a microcontroller unit. Background Technology

[0002] With the development of energy storage systems, battery-powered systems, and DC power systems, battery packs, DC buses, and electrical equipment of different voltage levels may be combined and used according to actual application needs. For example, in scenarios involving energy storage system expansion, equipment modification, or the coordinated operation of battery systems of different specifications, energy storage devices with different nominal voltages may exist. To achieve energy exchange between energy storage devices of different voltage levels, a bidirectional DC-DC converter can typically be used to electrically connect the two energy storage devices, enabling bidirectional energy transfer between energy storage devices of different voltage levels.

[0003] Existing bidirectional DC-DC converters are typically used for voltage conversion and energy transfer between different DC voltages. Their operating state can be adjusted according to external control commands to meet corresponding power transfer requirements. In some energy storage systems, the system can also control the converter's operating state based on operating parameters provided by the battery management system, energy management system, or other control devices.

[0004] However, in energy storage or power supply systems containing multiple different energy storage devices, the load state, battery state, and power supply and demand of two energy storage devices may change during operation. When there is an energy exchange requirement between two energy storage devices, relying solely on the operating state of a single energy storage device or a fixed power transfer strategy is insufficient to accurately reflect the actual operating conditions of both devices. For example, different energy storage devices may be in different states of charge, power demand states, or charge / discharge capacity states, and the appropriate energy transfer methods may differ at different operating times. If the converter's power transfer process cannot be adapted to the actual operating states of the two energy storage devices, inaccurate judgment of energy transfer demand, unreasonable selection of transfer direction, or mismatch between transfer power and the actual capacity of the energy storage devices may occur, thereby affecting the overall energy utilization efficiency and operational stability of the system.

[0005] In the process of realizing this application, the inventors discovered that the prior art has at least the following problems: when different energy storage devices interact with each other through a bidirectional DC-DC converter, there is still room for improvement in how to combine the operating status of different energy storage devices to reasonably determine whether energy scheduling is needed, the direction of energy transmission, and the corresponding transmission power, so that the power transmission process of the bidirectional DC-DC converter can adapt to the actual operating status of the two energy storage devices. Summary of the Invention

[0006] To address the aforementioned issues, this application provides a bidirectional DC-DC converter control method and a microcontroller unit to rationally determine energy dispatching requirements, energy transmission direction, and target dispatching power based on different energy storage device operating states, thereby improving the adaptability and operational stability of the bidirectional DC-DC converter's energy transmission.

[0007] To address the aforementioned technical problems, one technical solution adopted in this application is: providing a control method for a bidirectional DC-DC converter, applied to a bidirectional DC-DC converter, which is communicatively connected to a first energy storage device and a second energy storage device, respectively. The method includes: in the current control cycle, acquiring first operating state data corresponding to the first energy storage device and second operating state data corresponding to the second energy storage device; and executing a coordination decision-making process based on the first and second operating state data; wherein the coordination decision-making process includes: performing scheduling necessity detection on the first and second operating state data to obtain scheduling necessity detection results; wherein the scheduling necessity detection includes battery state-of-charge balancing requirements. The system includes detection of power deficit support needs and power surplus absorption needs; the scheduling necessity detection result includes energy transmission direction information; when the scheduling necessity detection result meets the first preset judgment condition, the source-side energy storage device and the target-side energy storage device are determined from the first energy storage device and the second energy storage device according to the energy transmission direction information; based on the source-side energy storage device and the target-side energy storage device, a scheduling feasibility detection is performed to obtain the scheduling feasibility detection result; when the scheduling feasibility detection result meets the second preset judgment condition, the target maximum allowable transmission power is obtained, and the target scheduling power is obtained according to the target maximum allowable transmission power and the scheduling necessity detection result; and a target output command is generated according to the target scheduling power and the energy transmission direction information.

[0008] To solve the above-mentioned technical problems, another technical solution adopted in the embodiments of this application is: to provide a microcontroller unit, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the above-mentioned method.

[0009] Unlike related technologies, this application provides a bidirectional DC-DC converter control method and a microcontroller unit. By acquiring the operating status data of the first and second energy storage devices during the current control cycle, and executing a coordinated decision-making process based on the operating status data, the bidirectional DC-DC converter can perform energy transmission control in conjunction with the actual operating status of the two energy storage devices. By detecting the battery state-of-charge balancing demand, power deficit support demand, and power surplus absorption demand of the two energy storage devices, it is determined whether there is an energy scheduling demand and the corresponding energy transmission direction, thereby matching the energy scheduling demand and transmission direction with the actual operating status of the two energy storage devices. Further, after determining the energy transmission direction, by identifying the source-side energy storage device and the target-side energy storage device and performing a scheduling feasibility test, the target maximum allowable transmission power is obtained if scheduling feasibility is satisfied. Combined with the scheduling necessity test results, the target scheduling power is determined, so that the target scheduling power is constrained by both the current transmission capacity and the actual scheduling demand, reducing the possibility of unreasonable power transmission. Subsequently, a target output command is generated based on the target scheduling power and the energy transmission direction, realizing energy transmission between different energy storage devices adapted to the current operating status. This improves the matching degree between energy dispatching demand, energy transmission direction and target dispatching power and the actual operating status of the two energy storage devices, thereby improving the operational adaptability and stability of different energy storage devices when interacting with each other. Attached Figure Description

[0010] One or more embodiments are illustrated by way of example with reference to the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements having the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0011] Figure 1 This is a schematic diagram of the structure of a bidirectional DC-DC converter control system provided in an embodiment of this application; Figure 2 This is a schematic diagram of the hardware structure of a microcontroller unit provided in an embodiment of this application; Figure 3 This is a flowchart of a bidirectional DC-DC converter control method provided in an embodiment of this application; Figure 4 This is a flowchart of a coordination decision-making process provided in an embodiment of this application. Detailed Implementation

[0012] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and thoroughly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0013] It should be noted that, unless otherwise specified, the various features in the embodiments of this application can be combined with each other, all of which are within the protection scope of this application. When an element is described as "connected" to another element, it can be directly connected to the other element, or there may be one or more intervening elements between them.

[0014] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It should be understood that such 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 are not limited in number; for example, a first object can be one or more.

[0015] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of this application.

[0016] Please see Figure 1 , Figure 1 This is a schematic diagram of a bidirectional DC-DC converter control system provided in an embodiment of this application. Figure 1 As shown, the bidirectional DC-DC converter control system 1000 includes a bidirectional DC-DC converter 100, a first energy storage device 200, and a second energy storage device 300. The first energy storage device 200 has a first DC bus 201; the second energy storage device 300 has a second DC bus 301; the nominal voltages of the first DC bus 201 and the second DC bus 301 are different (e.g., the nominal voltage of the first DC bus 201 is 48V, and the nominal voltage of the second DC bus 301 is 24V). The bidirectional DC-DC converter 100 is connected between the first DC bus 201 and the second DC bus 301, and is communicatively connected to both the first energy storage device 200 and the second energy storage device 300.

[0017] The bidirectional DC-DC converter 100 includes a microcontroller unit 110, a main power circuit 120, a sampling circuit 130, a first communication interface 140, and a second communication interface 150.

[0018] The main power circuit 120 serves as the execution carrier for system energy transfer. It can employ mature bidirectional DC-DC topologies such as dual active full-bridge (DAB), LLC resonant, and non-isolated buck-boost, providing bidirectional energy flow and voltage boost / buck conversion capabilities. In some embodiments, the main power circuit 120 internally includes two independent power ports (not shown): a first power port and a second power port. The first power port connects to the first DC bus 201, and the second power port connects to the second DC bus 301. In this embodiment, the nominal voltage of the first DC bus 201 is 48V, and the nominal voltage of the second DC bus 301 is 24V, adaptable to multiple DC energy storage platforms with different nominal voltages. The main power circuit 120 primarily handles bidirectional physical energy transfer between two heterogeneous energy storage devices, while simultaneously performing voltage boost / buck matching on both buses, providing hardware power support for cross-platform energy dispatch.

[0019] The microcontroller unit 110, the first communication interface 140, and the second communication interface 150 constitute the information interaction hub and intelligent decision-making core of the entire system, i.e., the control unit. The microcontroller unit 110 (such as an MCU, DSP, or FPGA) serves as the core processor, integrating multiple peripheral interfaces and algorithm execution resources to achieve full-process management of dual-platform information acquisition, logic decision-making, and power control. The first communication interface 140 integrates a CAN controller and an isolated transceiver, connecting to the CAN communication network of the first energy storage device 200 through a dedicated isolation circuit, enabling information interaction with the battery management system (BMS), load, and power supply equipment of the first energy storage device 200. The second communication interface 150 integrates an independent CAN controller and an isolated transceiver, connecting to the CAN communication network of the second energy storage device 300 through a dedicated isolation circuit. The two CAN interfaces are completely independent and electrically isolated, enabling synchronous information acquisition from both platforms. Additionally, the bidirectional DC-DC converter 100 also includes a sampling interface and a PWM generator (not shown in the figure). The sampling interface is equipped with a high-precision ADC analog-to-digital converter module and an external sampling circuit 130 (such as voltage, current, and temperature sampling circuits) to collect local operating parameters of the main power circuit 120 in real time, providing feedback data for closed-loop control. The PWM generator has a built-in programmable PWM generation module that can generate high-precision, adjustable parameter switching drive signals based on the decision instructions output by the control algorithm, achieving precise control of the switching transistors in the main power circuit 120. In this embodiment, the control unit acts as the information interaction hub and intelligent decision-making center of the dual independent heterogeneous networks, comprehensively collecting the operating status of both platforms, running the coordinated control algorithm, and outputting power control instructions to achieve intelligent and precise management and control of cross-platform energy scheduling.

[0020] The sampling circuit 130 includes bus voltage sampling, current sampling (Hall sensor or shunt), and temperature sampling circuits. In this embodiment, the sampling circuit 130 is a feedback sensing module for the system's closed-loop control, integrating three types of acquisition units: bus voltage sampling, loop current sampling, and equipment temperature sampling. It is mainly used to collect local parameters such as bus voltage, operating current, and equipment operating temperature on both sides of the main power circuit 120 in real time, providing complete feedback signals for the system's closed-loop voltage regulation, constant power control, over-temperature and over-current protection, and status monitoring, ensuring the safe and stable operation of the power circuit.

[0021] In addition, the bidirectional DC-DC converter 100 also includes an auxiliary power supply (not shown). The auxiliary power supply provides a stable power supply for the system's low-voltage control modules, enabling wide voltage input and regulated output. In this embodiment, the auxiliary power supply is used to provide a continuous and stable operating power supply for low-voltage functional modules such as the control unit, switching transistor drive circuit, communication isolation circuit, and sampling circuit, ensuring the normal operation of all control, communication, and sampling functions of the system.

[0022] The first energy storage device 200, serving as the main energy storage device, includes a battery pack and battery management system 210 and a bidirectional inverter 203. The first energy storage device 200 can be externally connected to a DC load / DC charger 220 and an AC load / AC charger 230. The battery pack and battery management system 210 provides energy storage and battery status management functions. The battery management system can obtain the battery's state of charge (SOC), state of health (SOH), charging power capacity, discharging power capacity, and operating status parameters such as battery voltage, current, and temperature corresponding to the first energy storage device 200. The DC side of the bidirectional inverter 203 is connected to the first DC bus 201 of the first energy storage device 200, and the AC side can be externally connected to an AC load / AC charger 230. The DC load / DC charger 220 is connected to the first DC bus 201 of the first energy storage device 200 to realize energy interaction between the first energy storage device 200 and external electrical equipment, power supply equipment, and / or charging equipment, and can form the power demand or power supply status corresponding to the first energy storage device 200. In this embodiment, the first energy storage device 200 adopts a 48V DC bus and communicates with the bidirectional DC-DC converter 100 through the first communication interface 140 to provide corresponding operating status information to the bidirectional DC-DC converter 100.

[0023] The second energy storage device 300 serves as an auxiliary energy storage device, including a battery pack and a battery management system 310. The second energy storage device 300 can be externally connected to a DC load / DC charger 320. The battery pack and battery management system 310 provide energy storage and battery status management functions. The battery management system can obtain the battery's state of charge (SOC), state of health (SOH), charging power capability, discharging power capability, and operating status parameters such as battery voltage, current, and temperature corresponding to the second energy storage device 300. The DC load / DC charger 320 is connected to the second DC bus 301 of the second energy storage device 300 to realize energy interaction between the second energy storage device 300 and DC power-consuming equipment and / or charging equipment, and can form the power demand or power supply status corresponding to the second energy storage device 300. In this embodiment, the second energy storage device 300 uses a 24V DC bus and communicates with the bidirectional DC-DC converter 100 through the second communication interface 150 to provide corresponding operating status information to the bidirectional DC-DC converter 100.

[0024] It should be noted that the specific voltage level, energy storage capacity, and connected power consumption or supply equipment of the first energy storage device 200 and the second energy storage device 300 are not limited to the settings in this embodiment, and can be adjusted according to actual application needs.

[0025] The bidirectional DC-DC converter control system 1000 provided in this embodiment establishes communication connections with the first energy storage device 200 and the second energy storage device 300 via a bidirectional DC-DC converter 100. The bidirectional DC-DC converter 100 acquires the operating status information of the two energy storage devices through a first communication interface 140 and a second communication interface 150, respectively. The microcontroller unit 110 processes and coordinates the acquired operating status information, and the main power circuit 120 executes bidirectional energy transfer between the two energy storage devices. Thus, the bidirectional DC-DC converter 100 can coordinate and control energy transfer based on the actual operating status of the two energy storage devices, providing a hardware and control foundation for energy interaction between DC platforms of different voltage levels.

[0026] Please see Figure 2 This document illustrates a hardware structure diagram of a microcontroller unit 110 capable of executing the methods of embodiments of this application. The microcontroller unit 110 includes: at least one processor 111; and a memory 112 communicatively connected to the at least one processor 111. Figure 2Taking a processor 111 as an example, the memory 112 stores instructions executable by at least one processor 111. These instructions, when executed by at least one processor 111, enable the at least one processor 111 to perform the bidirectional DC-DC converter control method of this embodiment. The processor 111 and the memory 112 can be connected via a bus or other means. Figure 2 Taking the example of a connection between China and Israel via a bus.

[0027] The memory 112, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the bidirectional DC-DC converter control method in the embodiments of this application. The processor 111 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions, and modules stored in the memory 112, thereby implementing the bidirectional DC-DC converter control method of the embodiments of this application.

[0028] Memory 112 may include a stored program area and a stored data area, wherein the stored program area may store the operating system and applications required for at least one function; the stored data area may store data created based on the use of the computing device, etc. Furthermore, memory 112 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 112 may optionally include memory remotely located relative to processor 111, and these remote memories may be connected to the computing device via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0029] One or more modules are stored in memory 112, and when executed by one or more processors 111, they execute the bidirectional DC-DC converter control method of this application embodiment.

[0030] The implementation process of a bidirectional DC-DC converter control method provided in this application will be described in detail below through specific embodiments.

[0031] Please see Figure 3 , Figure 3 This is a flowchart illustrating a bidirectional DC-DC converter control method provided in an embodiment of this application. The method is applied to the microcontroller unit 110 in the aforementioned bidirectional DC-DC converter 100. Figure 3 As shown, the method includes steps S1-S3: S1: Under the current control cycle, acquire the first operating status data corresponding to the first energy storage device and the second operating status data corresponding to the second energy storage device.

[0032] In this embodiment, it is assumed that the bidirectional DC-DC converter control system 1000 includes two energy storage devices: the first energy storage device 200 (e.g., a 48V system) consists of 15 series of lithium iron phosphate cells connected in series (15S, nominal voltage 48V, rated capacity 50Ah), equipped with an inverter to output 220V AC power, and is the main power supply unit of the system; the second energy storage device 300 (e.g., a 24V system) consists of 8 series of lithium iron phosphate cells connected in series (8S, nominal voltage 25.6V, rated capacity 100Ah), which is a backup battery pack, without an inverter, and is interconnected with the first energy storage device 200 through the bidirectional DC-DC converter 100 (rated power 1000W) of this embodiment, with the control cycle set to 10ms.

[0033] During each control cycle of the bidirectional DC-DC converter 100, the microcontroller unit 110 acquires real-time operating status data of the first energy storage device 200 and the second energy storage device 300 through the first communication interface 140 and the second communication interface 150, respectively. The first communication interface 140 is used for data interaction with the communication network of the first energy storage device 200, and the second communication interface 150 is used for data interaction with the communication network of the second energy storage device 300. The two communication interfaces are independent of each other, enabling the microcontroller unit 110 to acquire operating status data of the two energy storage devices separately.

[0034] Specifically, the microcontroller unit 110 obtains a first operating status information packet from the first energy storage device 200 through the first communication interface 140, and obtains operating status parameters such as the first DC bus voltage V_A, the first battery state of charge SOC_A, the first battery health state SOH_A, the first battery rechargeable power limit SOP_chg_A, the first battery dischargeable power limit SOP_dis_A, and the first load demand power P_load_A or the first external power input power P_source_A corresponding to the first energy storage device 200 from the first operating status information packet.

[0035] It is understood that the first DC bus voltage V_A is the real-time voltage across the DC bus of the first energy storage device 200, used to characterize the current DC bus voltage state of the first energy storage device 200; the first battery state of charge SOC_A is used to characterize the current remaining charge state of the battery in the first energy storage device 200; the first battery health state SOH_A is used to characterize the current health status of the battery in the first energy storage device 200; the first battery rechargeable power limit SOP_chg_A is used to characterize the maximum charging power allowed to be input to the battery in the current battery state of the first energy storage device 200; and the first battery dischargeable power limit SOP_dis_A is used to characterize the maximum discharge power allowed to be output by the battery in the current battery state of the first energy storage device 200. The first battery rechargeable power limit SOP_chg_A and the first battery dischargeable power limit SOP_dis_A can be determined by the battery management system of the first energy storage device 200 based on the current battery operating state and sent to the microcontroller unit 110 through the first communication interface 140.

[0036] When the first energy storage device 200 has a load power demand, the first load demand power P_load_A corresponding to the first energy storage device 200 is obtained. The first load demand power P_load_A is used to characterize the power required by the first energy storage device 200 at the current load side, and in this embodiment, a positive value is used to indicate that the first energy storage device 200 has corresponding power consumption.

[0037] When the first energy storage device 200 receives power from an external power source, the external power input power corresponding to the first energy storage device 200 is obtained and recorded as the first external power input power P_source_A, which is used to characterize the power currently input by the external power source to the first energy storage device 200.

[0038] Therefore, the DC bus voltage V_A corresponding to the first energy storage device 200, the first battery state of charge SOC_A, the first battery health state SOH_A, the first battery rechargeable power limit SOP_chg_A, the first battery dischargeable power limit SOP_dis_A, the first load demand power P_load_A, and / or the first external power input power P_source_A together form the first operating status data.

[0039] Accordingly, the microcontroller unit 110 obtains the second operating status information packet from the second energy storage device 300 through the second communication interface 150, and obtains operating status parameters such as the second DC bus voltage V_B, the second battery state of charge SOC_B, the second battery health state SOH_B, the second battery rechargeable power limit SOP_chg_B, the second battery dischargeable power limit SOP_dis_B, the second load demand power P_load_B, or the second external power input power P_source_B corresponding to the second energy storage device 300 from the second operating status information packet.

[0040] It is understood that the second DC bus voltage V_B is the real-time voltage across the DC bus of the second energy storage device 300, used to characterize the current DC bus voltage state of the second energy storage device 300; the second battery state of charge SOC_B is used to characterize the current remaining charge state of the battery in the second energy storage device 300; the second battery health state SOH_B is used to characterize the current health status of the battery in the second energy storage device 300; the second battery rechargeable power limit SOP_chg_B is used to characterize the maximum charging power allowed to be input to the battery in the current battery state of the second energy storage device 300; and the second battery dischargeable power limit SOP_dis_B is used to characterize the maximum discharge power allowed to be output by the battery in the current battery state of the second energy storage device 300. The second battery rechargeable power limit SOP_chg_B and the second battery dischargeable power limit SOP_dis_B can be determined by the battery management system of the second energy storage device 300 based on the current battery operating state and sent to the microcontroller unit 110 through the second communication interface 150.

[0041] When the second energy storage device 300 has a load power requirement, the load power requirement corresponding to the second energy storage device 300 is obtained and recorded as the second load power requirement P_load_B; wherein, the second load power requirement P_load_B is used to characterize the power required by the current load side of the second energy storage device 300, and in this embodiment, a positive value is used to indicate that the second energy storage device 300 has a corresponding power consumption.

[0042] When the second energy storage device 300 receives power from an external power source, the external power input power corresponding to the second energy storage device 300 is obtained and recorded as the second external power input power P_source_B, which is used to characterize the power currently input by the external power source to the second energy storage device 300.

[0043] Therefore, the second DC bus voltage V_B, the second battery state of charge SOC_B, the second battery health state SOH_B, the second battery rechargeable power limit SOP_chg_B, the second battery dischargeable power limit SOP_dis_B, the second load demand power P_load_B, and / or the second external power input power P_source_B corresponding to the second energy storage device 300 together form the second operating status data.

[0044] S2: Based on the first and second operating status data, execute the coordination decision-making process.

[0045] Please see Figure 4 , Figure 4 This is a flowchart illustrating a coordination and decision-making process provided in an embodiment of this application. For example... Figure 4 As shown, the coordination and decision-making process includes steps S21-S24: S21: Perform scheduling necessity detection on the first operating state data and the second operating state data to obtain scheduling necessity detection results; wherein, scheduling necessity detection includes battery state of charge balancing demand detection, power deficit support demand detection, and power surplus absorption demand detection; wherein, scheduling necessity detection results include energy transmission direction information.

[0046] The process involves performing scheduling necessity checks on the first and second operating state data to obtain scheduling necessity check results. This includes: performing battery state-of-charge balancing demand checks on the first and second operating state data to obtain a first check result; performing power deficit support demand checks on the first and second operating state data to obtain a second check result; performing power surplus absorption demand checks on the first and second operating state data to obtain a third check result; and generating a scheduling necessity check result based on the first, second, and third check results.

[0047] The first operating status data includes a first battery state of charge, and the second operating status data includes a second battery state of charge. The battery state of charge balancing demand is detected by analyzing the first operating status data and the second operating status data to obtain a first detection result, which includes: obtaining the battery state of charge difference based on the first battery state of charge and the second battery state of charge; and obtaining the first detection result based on the battery state of charge difference and a preset balancing start threshold.

[0048] The first operating status data includes a first load power demand and a first battery discharge power limit; the second operating status data includes a second load power demand and a second battery discharge power limit. Power deficit support demand detection is performed on the first and second operating status data to obtain a second detection result, including: obtaining a first energy storage device power deficit value based on the first load power demand and the first battery discharge power limit; obtaining a second energy storage device power deficit value based on the second load power demand and the second battery discharge power limit; and obtaining the second detection result based on the first energy storage device power deficit value, the second energy storage device power deficit value, and preset power deficit judgment conditions.

[0049] The first operating status data includes the first external power input power and the first battery rechargeable power limit; the second operating status data includes the second external power input power and the second battery rechargeable power limit. Power surplus consumption demand is detected based on the first and second operating status data to obtain a third detection result, including: obtaining the first energy storage device power surplus value based on the first external power input power and the first battery rechargeable power limit; obtaining the second energy storage device power surplus value based on the second external power input power and the second battery rechargeable power limit; and obtaining the third detection result based on the first energy storage device power surplus value, the second energy storage device power surplus value, and preset power surplus determination conditions.

[0050] In this embodiment, the microcontroller unit 110 detects whether there is an energy scheduling requirement between the two energy storage devices in the current control cycle based on the first and second operating state data obtained in step S1. The scheduling necessity detection includes battery state of charge balancing requirement detection, power deficit support requirement detection, and power surplus absorption requirement detection, which are used to determine whether there is an energy scheduling requirement between the two energy storage devices due to differences in battery state of charge, insufficient power supply, and excessive power input, respectively. Based on the detection results, the corresponding energy transmission direction is determined, and finally, a scheduling necessity detection result is formed.

[0051] Specifically, the microcontroller unit 110 performs battery state-of-charge (SOC) balancing requirement detection on the first operating state data and the second operating state data. Since the first battery SOC_A and the second battery SOC_B have already been obtained in step S1, the microcontroller unit 110 calculates the battery SOC difference ΔSOC based on the first battery SOC_A and the second battery SOC_B, which can be specifically expressed as: ΔSOC = SOC_A - SOC_B.

[0052] Furthermore, the microcontroller unit 110 acquires the absolute value of the battery state-of-charge difference, |ΔSOC|, and compares it with a preset equalization initiation threshold, Th_bal. The preset equalization initiation threshold, Th_bal, characterizes the minimum allowable state-of-charge difference for initiating battery state-of-charge equalization scheduling between two energy storage devices. In this embodiment, Th_bal can be set to 15%. It is understood that the Th_bal threshold setting is based on the following: Lithium iron phosphate batteries have an ultra-wide SOC range (voltage fluctuation <0.1V), and relying solely on voltage cannot distinguish SOC differences; SOC estimation is necessary. However, SOC estimation errors typically reach ±15%. If the threshold is too small (e.g., 5%~10%), estimation noise will frequently trigger ineffective equalization scheduling, increasing losses and reducing system lifespan. When the SOC difference reaches 15%, the battery pack's "weakest link" effect significantly impacts the overall usable capacity, requiring timely intervention. Based on this, a 15% threshold can effectively filter out SOC estimation noise and avoid erroneous equalization triggers, and can also initiate scheduling in time before the SOC difference reaches a critical point that affects system performance. It is the optimal value for engineering design that balances reliability and effectiveness.

[0053] When |ΔSOC| is greater than Th_bal, it indicates that the difference in battery state of charge between the two energy storage devices has reached the point where cross-platform energy dispatch is required. At this time, a first detection result is generated to indicate that there is a need for battery state of charge balancing. When |ΔSOC| is not greater than Th_bal, a first detection result is generated to indicate that there is currently no need for battery state of charge balancing.

[0054] When a battery state-of-charge (SOC) balancing requirement is identified, the microcontroller unit 110 further determines energy transfer direction information based on the first battery SOC_A and the second battery SOC_B. When SOC_A is greater than SOC_B, it indicates that the battery SOC of the first energy storage device 200 is higher than that of the second energy storage device 300; therefore, the energy transfer direction is determined to be from the first energy storage device 200 to the second energy storage device 300. When SOC_B is greater than SOC_A, the energy transfer direction is determined to be from the second energy storage device 300 to the first energy storage device 200. This allows energy to be transferred from the energy storage device with the higher battery SOC to the energy storage device with the lower battery SOC, thus achieving SOC balancing between the two energy storage devices.

[0055] For example, at the initial time t=0s, the SOC_A of the first energy storage device 200 is 85%, and the SOC_B of the second energy storage device 300 is 45%. Therefore, ΔSOC = 85% - 45% = 40%, and its absolute value |ΔSOC| is 40%, which is greater than the preset equalization start-up threshold Th_bal = 15%. Thus, the first detection result indicates that there is a need for battery state-of-charge equalization. Since SOC_A is greater than SOC_B, the corresponding energy transfer direction information is determined to be energy transfer from the first energy storage device 200 to the second energy storage device 300.

[0056] Simultaneously, the microcontroller unit 110 performs power deficit support requirement detection on the first operating state data and the second operating state data. Specifically, the microcontroller unit 110 calculates the power deficit value of the first energy storage device 200 based on the first load demand power P_load_A and the first battery discharge power limit SOP_dis_A, and records it as the first energy storage device power deficit value P_def_A, which can be expressed as: P_def_A = P_load_A - SOP_dis_A. Here, the first energy storage device power deficit value P_def_A is used to characterize the power difference between the current load demand power of the first energy storage device 200 and its battery's allowable discharge capacity. When P_def_A is greater than 0, it indicates that the battery discharge capacity of the first energy storage device 200 itself is insufficient to meet the current load demand, and the first energy storage device 200 has a power deficit that requires power support from another energy storage device.

[0057] Accordingly, the microcontroller unit 110 calculates the power deficit value of the second energy storage device 300 based on the second load demand power P_load_B and the second battery discharge power limit SOP_dis_B, and records it as the second energy storage device power deficit value P_def_B, which can be specifically expressed as: P_def_B = P_load_B - SOP_dis_B. Here, the second energy storage device power deficit value P_def_B is used to characterize the power difference between the current load demand power of the second energy storage device 300 and its battery's allowable discharge capacity.

[0058] Further, the microcontroller unit 110 determines the second detection result based on the power deficit value P_def_A of the first energy storage device, the power deficit value P_def_B of the second energy storage device, and a preset power deficit judgment condition. The preset power deficit judgment condition is: at least one of the power deficit values ​​P_def_A and P_def_B of the first and second energy storage devices is greater than 0, that is, if any energy storage device has P_def > 0, the power deficit judgment condition is satisfied. At this time, a second detection result indicating the existence of a power deficit support requirement is generated; if neither P_def_A nor P_def_B is greater than 0, a second detection result indicating the absence of a power deficit support requirement is generated.

[0059] When a power deficit support requirement exists, the microcontroller unit 110 further determines the corresponding energy transmission direction information based on the energy storage device with the power deficit. When P_def_A is greater than 0 and P_def_B is not greater than 0, it indicates that the first energy storage device 200 has a power deficit, while the second energy storage device 300 does not. Therefore, the energy transmission direction information is determined to be energy transmission from the second energy storage device 300 to the first energy storage device 200. When P_def_B is greater than 0 and P_def_A is not greater than 0, the energy transmission direction information is determined to be energy transmission from the first energy storage device 200 to the second energy storage device 300. Thus, the side without a power deficit is designated as the power support side, and the side with a power deficit is designated as the supported side.

[0060] In addition, the microcontroller unit 110 can also perform power surplus absorption demand detection on the first operating state data and the second operating state data. Specifically, the microcontroller unit 110 calculates the power surplus value of the first energy storage device 200 based on the first external power input power P_source_A and the first battery rechargeable power limit SOP_chg_A, and records it as the first energy storage device power surplus value P_sur_A, which can be expressed as: P_sur_A = P_source_A - SOP_chg_A. Here, the first energy storage device power surplus value P_sur_A is used to characterize the power difference between the external power input power currently received by the first energy storage device 200 and its battery's allowable charging capacity. When P_sur_A is greater than 0, it indicates that the first energy storage device 200 cannot completely absorb the current external input power through its own battery, and therefore there is a power surplus that needs to be transferred to another energy storage device.

[0061] Accordingly, the microcontroller unit 110 calculates the power surplus value of the second energy storage device 300 based on the second external power input power P_source_B and the second battery rechargeable power limit SOP_chg_B, and records it as the second energy storage device power surplus value P_sur_B, which can be specifically expressed as: P_sur_B = P_source_B - SOP_chg_B. Here, the second energy storage device power surplus value P_sur_B is used to characterize the power difference between the external power input power currently received by the second energy storage device 300 and its battery's allowable charging capacity.

[0062] Further, the microcontroller unit 110 determines the third detection result based on the power surplus value P_sur_A of the first energy storage device, the power surplus value P_sur_B of the second energy storage device, and a preset power surplus determination condition. The preset power surplus determination condition is: at least one of the power surplus values ​​P_sur_A and P_sur_B of the first and second energy storage devices is greater than 0, that is, if any energy storage device has P_sur > 0, the power surplus determination condition is met. At this time, a third detection result indicating the existence of a power surplus consumption demand is generated; if neither P_sur_A nor P_sur_B is greater than 0, a third detection result indicating the absence of a power surplus consumption demand is generated.

[0063] When there is a demand for power surplus absorption, the microcontroller unit 110 further determines the corresponding energy transmission direction information based on the energy storage device with the power surplus. When P_sur_A is greater than 0 and P_sur_B is not greater than 0, it indicates that the first energy storage device 200 has a power surplus, so the energy transmission direction information is determined to be energy transmission from the first energy storage device 200 to the second energy storage device 300; when P_sur_B is greater than 0 and P_sur_A is not greater than 0, the energy transmission direction information is determined to be energy transmission from the second energy storage device 300 to the first energy storage device 200. Thus, the side with the power surplus is designated as the power output side, and the other side is designated as the power absorption side.

[0064] It should be noted that the three processes mentioned in this embodiment—battery state of charge balancing demand detection, power deficit support demand detection, and power surplus absorption demand detection—do not have a specific execution order and can be executed simultaneously.

[0065] After completing the above three tests, the microcontroller unit 110 generates a scheduling necessity test result based on the first test result, the second test result, and the third test result. The scheduling necessity test result characterizes whether there is a scheduling requirement for energy transfer between the two energy storage devices via the bidirectional DC-DC converter 100 within the current control cycle, and includes the corresponding energy transfer direction information if a scheduling requirement exists.

[0066] Specifically, when the first detection result, the second detection result, and the third detection result all indicate that there is no corresponding scheduling requirement, it is determined that there is no cross-device energy scheduling requirement at present, and the scheduling necessity detection result is determined as the result that no energy scheduling is required; when at least one of the first detection result, the second detection result, and the third detection result indicates that there is a corresponding scheduling requirement, it is determined that there is a cross-device energy scheduling requirement at present, and the energy transmission direction information is determined according to the corresponding detection result.

[0067] When multiple scheduling demands occur simultaneously within the same control cycle, the microcontroller unit 110 can record the corresponding detection results and their corresponding energy transmission direction information, and use the requirements for determining the necessity of scheduling as input for subsequent scheduling feasibility detection and target scheduling power calculation. Thus, by separately detecting battery state-of-charge balancing demands, power deficit support demands, and power surplus absorption demands, it is possible to determine whether cross-device energy scheduling is currently necessary from multiple dimensions, including battery status and the power supply and demand status of energy storage devices, providing a basis for subsequently determining the source-side energy storage device, the target-side energy storage device, and the target scheduling power.

[0068] In this embodiment, the scheduling necessity of the first and second energy storage devices is detected through multi-dimensional analysis of their operational status. The system assesses the existence of energy scheduling needs between the two devices from three aspects: battery state-of-charge balancing, power deficit support, and power surplus absorption. Upon detection of a scheduling need, the energy transmission direction is further determined. Therefore, compared to methods that determine energy transmission needs based solely on a single operating parameter or fixed scheduling strategy, this application comprehensively reflects the current energy storage status and power supply and demand status of the two devices. This reduces ineffective scheduling or unreasonable scheduling directions caused by changes in a single parameter, providing a clear decision-making basis for subsequent source-side and target-side determination and scheduling feasibility testing, thereby improving the accuracy of energy scheduling need assessment and energy transmission direction determination.

[0069] S22: When the scheduling necessity detection result meets the first preset judgment condition, the source-side energy storage device and the target-side energy storage device are determined from the first energy storage device and the second energy storage device according to the energy transmission direction information.

[0070] S23: Based on the source-side energy storage device and the target-side energy storage device, perform scheduling feasibility detection and obtain the scheduling feasibility detection results.

[0071] Specifically, based on the source-side energy storage device and the target-side energy storage device, a scheduling feasibility test is performed to obtain the scheduling feasibility test results. This includes: obtaining the battery discharge power limit of the source-side energy storage device, the battery recharge power limit of the target-side energy storage device, the battery state of charge of the source-side energy storage device, and the battery state of charge of the target-side energy storage device; testing the battery discharge power limit of the source-side energy storage device to obtain a fourth test result; testing the battery recharge power limit of the target-side energy storage device to obtain a fifth test result; testing the battery state of charge of the source-side energy storage device and the target-side energy storage device according to preset discharge cutoff thresholds and preset charging cutoff thresholds to obtain a sixth test result; and generating a scheduling feasibility test result based on the fourth, fifth, and sixth test results.

[0072] After completing the scheduling necessity detection in step S21, the microcontroller unit 110 further determines whether to proceed to the scheduling feasibility detection based on the scheduling necessity detection result. When the scheduling necessity detection result meets the first preset judgment condition, step S22 is executed. The first preset judgment condition is used to determine whether there is a scheduling requirement for cross-platform energy transfer in the current control cycle. In this embodiment, when at least one of the first, second, and third detection results obtained in step S21 indicates a corresponding scheduling requirement, the scheduling necessity detection result is determined to meet the first preset judgment condition; when all three detection results indicate no corresponding scheduling requirement, the first preset judgment condition is not met.

[0073] Specifically, the microcontroller unit 110 reads the energy transmission direction information obtained in step S21 and determines the energy output side and energy receiving side based on the energy transmission direction information. Here, the source-side energy storage device refers to the energy storage device that outputs energy during the current scheduling process, and its corresponding battery needs to have the ability to discharge externally; the target-side energy storage device refers to the energy storage device that receives energy during the current scheduling process, and its corresponding battery needs to have the ability to receive energy and charge.

[0074] When the energy transfer direction information indicates that energy is being transferred from the first energy storage device 200 to the second energy storage device 300, the first energy storage device 200 is designated as the source-side energy storage device, and the second energy storage device 300 is designated as the target-side energy storage device. In this case, the battery corresponding to the first energy storage device 200 is on the discharging side, and the battery corresponding to the second energy storage device 300 is on the charging side. Conversely, when the energy transfer direction information indicates that energy is being transferred from the second energy storage device 300 to the first energy storage device 200, the second energy storage device 300 is designated as the source-side energy storage device, and the first energy storage device 200 is designated as the target-side energy storage device. In this case, the battery corresponding to the second energy storage device 300 is on the discharging side, and the battery corresponding to the first energy storage device 200 is on the charging side.

[0075] After determining the source-side energy storage device and the target-side energy storage device, the microcontroller unit 110 executes step S23 to detect the scheduling feasibility under the current energy transmission direction, in order to determine whether the source-side energy storage device has the ability to output the corresponding energy and whether the target-side energy storage device has the ability to receive the corresponding energy, and further determine whether the battery charge state of the two energy storage devices is within the safe operating range that allows energy scheduling.

[0076] Specifically, the microcontroller unit 110 first obtains the battery discharge power limit of the source-side energy storage device, the battery recharge power limit of the target-side energy storage device, the battery state of charge of the source-side energy storage device, and the battery state of charge of the target-side energy storage device from the corresponding operating state data, based on the source-side energy storage device and the target-side energy storage device determined in step S22. The battery discharge power limit of the source-side energy storage device characterizes the maximum discharge power that the battery in the current source-side energy storage device is allowed to output; the battery recharge power limit of the target-side energy storage device characterizes the maximum charging power that the battery in the current target-side energy storage device is allowed to receive; the battery state of charge of the source-side energy storage device characterizes the current state of charge of the battery acting as the energy output side; and the battery state of charge of the target-side energy storage device characterizes the current state of charge of the battery acting as the energy receiving side.

[0077] After obtaining the above parameters, the microcontroller unit 110 first detects the battery discharge power limit of the source-side energy storage device to obtain a fourth detection result. Specifically, the battery discharge power limit of the source-side energy storage device is compared with zero. When the battery discharge power limit of the source-side energy storage device is greater than 0, it indicates that the source-side energy storage device is currently allowed to discharge the battery, generating a fourth detection result indicating that the source-side discharge capability meets the requirements; when the battery discharge power limit is not greater than 0, it indicates that the source-side energy storage device currently does not have the ability to output electrical energy, generating a fourth detection result indicating that the source-side discharge capability does not meet the requirements.

[0078] Subsequently, the microcontroller unit 110 detects the battery rechargeable power limit of the target-side energy storage device to obtain a fifth detection result. Specifically, the battery rechargeable power limit of the target-side energy storage device is compared with zero. When the battery rechargeable power limit of the target-side energy storage device is greater than 0, it indicates that the target-side energy storage device currently allows the battery to receive external input power, generating a fifth detection result indicating that the target-side charging capability meets the requirements; when the battery rechargeable power limit is not greater than 0, it indicates that the target-side energy storage device currently does not have the ability to receive external energy, generating a fifth detection result indicating that the target-side charging capability does not meet the requirements.

[0079] After completing the source-side discharge capability and target-side charging capability detection, the microcontroller unit 110 further performs a safe operating window detection on the battery state of charge of the source-side energy storage device and the target-side energy storage device to obtain a sixth detection result. Specifically, the microcontroller unit 110 acquires a preset discharge cutoff threshold and a preset charging cutoff threshold, and compares the battery state of charge of the source-side energy storage device with the preset discharge cutoff threshold, and compares the battery state of charge of the target-side energy storage device with the preset charging cutoff threshold, respectively.

[0080] The preset discharge cutoff threshold is used to limit the minimum state of charge (SOC) at which the battery of the source-side energy storage device is allowed to continue discharging when acting as an energy output side. When the SOC of the battery of the source-side energy storage device is lower than or reaches this threshold, it is no longer allowed to continue acting as a discharge side in the current energy dispatch process, thereby reducing the risk of over-discharge of the battery. In this embodiment, the preset discharge cutoff threshold can be set to 20%.

[0081] The preset charging cutoff threshold is used to limit the highest state of charge (SOC) of the target-side energy storage device's battery when it is acting as an energy receiving side. When the SOC of the target-side energy storage device's battery reaches or exceeds this threshold, it is no longer allowed to continue acting as a charging side in the current energy dispatch process, thereby reducing the risk of overcharging. In this embodiment, the preset charging cutoff threshold can be set to 95%.

[0082] Furthermore, when the state of charge (SOC) of the source-side energy storage device is higher than a preset discharge cutoff threshold, and the SOC of the target-side energy storage device is lower than a preset charging cutoff threshold, it is determined that the SOC of both energy storage devices is within the safe operating window for energy transfer, and a sixth detection result is generated indicating that the SOC meets the safe operating requirements. When the SOC of the source-side energy storage device is not higher than a preset discharge cutoff threshold, or the SOC of the target-side energy storage device is not lower than a preset charging cutoff threshold, it is determined that the SOC of at least one battery does not meet the safe operating requirements, and a sixth detection result is generated indicating that the SOC does not meet the safe operating requirements.

[0083] In this embodiment, the preset discharge cutoff threshold and the preset charge cutoff threshold can be set according to the battery type and its safe operating characteristics. Taking lithium iron phosphate batteries as an example, the discharge cutoff threshold can be set to 20% to prevent the source-side battery from continuing to output energy at a low state of charge; the charge cutoff threshold can be set to 95% to prevent the target-side battery from continuing to receive energy at a high state of charge. It is understood that the voltage of lithium iron phosphate batteries drops sharply after the SOC is below 20%, and continued discharge will cause the single cell voltage to approach the 2.5V safety cutoff line, which is very likely to trigger BMS protection and cause shutdown; at the same time, 20% is the lower limit of the optimal daily operating range, and cycling above this range can significantly extend battery life; in addition, this threshold provides sufficient engineering redundancy for SOC estimation error (±15%) to ensure the safe and reliable operation of the system. Understandably, lithium iron phosphate batteries experience a sharp voltage spike to the 3.65V cutoff voltage after reaching a State of Charge (SOC) of over 95%, resulting in a significant decrease in charging efficiency. Furthermore, the Battery Management System (BMS) typically initiates its balancing function only after reaching 95%. This threshold provides the BMS with balancing and SOC calibration space while avoiding energy loss and overcharging risks associated with inefficient charging at the end of the charging process. It should be noted that the aforementioned threshold is used to define the safe operating window for the battery in the current energy dispatch process, and is not limited to a fixed value.

[0084] Finally, the microcontroller unit 110 generates a scheduling feasibility test result based on the fourth, fifth, and sixth detection results. If the fourth detection result indicates that the discharge capacity of the source-side energy storage device meets the requirements, the fifth detection result indicates that the charging capacity of the target-side energy storage device meets the requirements, and the sixth detection result indicates that the battery state of charge of both the source-side and target-side energy storage devices meets the safe operation requirements, then the scheduling feasibility test result for the current scheduling direction is determined to meet the scheduling feasibility conditions; otherwise, the scheduling feasibility test result is determined to not meet the scheduling feasibility conditions.

[0085] For example, if in step S21 the energy transfer direction is determined to be from the first energy storage device 200 to the second energy storage device 300, the first energy storage device 200 is identified as the source-side energy storage device, and the second energy storage device 300 is identified as the target-side energy storage device. Assuming the first battery discharge power limit SOP_dis_A of the first energy storage device 200 is 800W, and the second battery charge power limit SOP_chg_B of the second energy storage device 300 is 700W, then the source-side battery discharge power limit is greater than 0, and the target-side battery charge power limit is greater than 0. The corresponding fourth and fifth detection results both indicate that the requirements are met. Simultaneously, assuming the SOC_A of the first energy storage device 200 is 85% and the SOC_B of the second energy storage device 300 is 45%, with a preset discharge cutoff threshold of 20% and a charge cutoff threshold of 95%, SOC_A is higher than 20%, and SOC_B is lower than 95%. Therefore, the sixth detection result indicates that the battery state of charge meets the safe operation requirements. Therefore, the fourth, fifth, and sixth test results all meet the corresponding conditions, and it is finally determined that it is feasible to dispatch energy from the first energy storage device 200 to the second energy storage device 300.

[0086] In this embodiment, the feasibility of scheduling is tested by assessing the discharge capacity of the source-side energy storage device, the charging capacity of the target-side energy storage device, and the state of charge (SBC) of the batteries on both the source and target sides. After determining the energy transmission direction, it is further determined whether the current energy transmission meets the actual execution conditions. This avoids executing energy transmission when the source side lacks effective discharge capacity, the target side lacks effective charging capacity, or the SBC exceeds a preset safety range. It reduces the risk of ineffective scheduling and abnormal operation due to insufficient platform capabilities or unsuitable battery conditions, thereby improving the matching degree between energy scheduling decisions and the actual operating capabilities of the two energy storage devices, and providing an executable basis for determining the subsequent target scheduling power.

[0087] S24: When the scheduling feasibility detection result meets the second preset judgment condition, obtain the target maximum allowable transmission power, and obtain the target scheduling power based on the target maximum allowable transmission power and the scheduling necessity detection result.

[0088] The scheduling necessity detection result includes scheduling triggering reason information, obtaining the target maximum allowable transmission power, and obtaining the target scheduling power based on the target maximum allowable transmission power and the scheduling necessity detection result. This includes: obtaining the maximum discharge power limit of the source-side energy storage device, the maximum charging power limit of the target-side energy storage device, and the rated power of the bidirectional DC-DC converter; determining the minimum value among the maximum discharge power limit of the source-side energy storage device, the maximum charging power limit of the target-side energy storage device, and the rated power of the bidirectional DC-DC converter as the target maximum allowable transmission power; when the scheduling triggering reason information is battery state of charge balancing triggering, executing the first target scheduling power calculation process; wherein the first target scheduling power calculation process includes: obtaining the target state of charge difference, and based on the preset battery state of charge... The target state-of-charge (SOC) equalization power adjustment amount is obtained by using the SOC equalization ratio adjustment coefficient and the target SOC equalization power difference. The minimum value between the target maximum allowable transmission power and the target SOC equalization power adjustment amount is determined as the target scheduling power. When the scheduling triggering reason information is power deficit support triggering, the second target scheduling power calculation process is executed. The second target scheduling power calculation process includes: obtaining the target power deficit value and determining the minimum value between the target maximum allowable transmission power and the target power deficit value as the target scheduling power. When the scheduling triggering reason information is power surplus absorption triggering, the third target scheduling power calculation process is executed. The third target scheduling power calculation process includes: obtaining the target power surplus value and determining the minimum value between the target maximum allowable transmission power and the target power surplus value as the target scheduling power.

[0089] S3: Generate target output instructions based on target scheduling power and energy transmission direction information.

[0090] When the scheduling feasibility test result meets the second preset judgment condition, it indicates that the currently determined source-side energy storage device and target-side energy storage device have the conditions to perform energy transmission. At this time, based on the power capabilities of the source-side energy storage device, the target-side energy storage device, and the bidirectional DC-DC converter itself, the maximum transmission power allowed to be executed in the current control cycle is determined, and the target scheduling power is determined in combination with the specific triggering reason of this scheduling.

[0091] Specifically, the second preset judgment condition is used to characterize whether the source-side energy storage device and the target-side energy storage device meet the execution conditions for energy transmission. In step S23, when the source-side energy storage device has effective battery discharge capability, the target-side energy storage device has effective battery charging capability, and the battery state of charge of both the source-side and target-side energy storage devices is within the corresponding preset safety range, it is determined that the scheduling feasibility detection result meets the second preset judgment condition; otherwise, it is determined that the scheduling feasibility detection result does not meet the second preset judgment condition. When the second preset judgment condition is not met, the subsequent target scheduling power determination process is not executed in this control cycle, thereby avoiding the issuance of energy transmission commands to the main power circuit when actual transmission conditions are not met.

[0092] When the scheduling feasibility test result meets the second preset judgment condition, the microcontroller unit 110 further acquires the maximum discharge power limit of the source-side energy storage device, the maximum charging power limit of the target-side energy storage device, and the rated power of the bidirectional DC-DC converter. The maximum discharge power limit of the source-side energy storage device refers to the maximum power that the battery in the source-side energy storage device is allowed to output under the current operating state, corresponding to the aforementioned battery discharge power limit of the source-side energy storage device; the maximum charging power limit of the target-side energy storage device refers to the maximum charging power that the battery in the target-side energy storage device is allowed to receive under the current operating state, corresponding to the aforementioned battery rechargeable power limit of the target-side energy storage device; and the rated power of the bidirectional DC-DC converter refers to the rated power that the bidirectional DC-DC converter is allowed to continuously transmit energy when the design operating conditions are met.

[0093] Furthermore, the microcontroller unit 110 compares the three power limits mentioned above and determines the minimum value as the target maximum allowable transmission power. The target maximum allowable transmission power limits the upper limit of the actual energy transmission power within the current control cycle, ensuring that the actual dispatched power is simultaneously constrained by the source-side battery output capacity, the target-side battery receiving capacity, and the rated power of the bidirectional DC-DC converter itself. Its calculation relationship can be expressed as: ; in, For the target maximum allowable transmission power, This refers to the maximum discharge power limit for source-side energy storage devices. This refers to the maximum charging power limit for the target-side energy storage device. This is the rated power of the bidirectional DC-DC converter.

[0094] After determining the target maximum allowable transmission power, the microcontroller unit 110 further determines the scheduling triggering reason information for this scheduling based on the scheduling necessity detection result determined in step S21. The scheduling triggering reason information is used to characterize which specific scheduling demand triggers the current energy scheduling requirement. In this embodiment, the scheduling triggering reason information includes at least battery state-of-charge balancing triggering, power deficit support triggering, and power surplus absorption triggering, corresponding to the battery state-of-charge balancing requirement, power deficit support requirement, and power surplus absorption requirement detected in step S21, respectively.

[0095] When the scheduling trigger reason information is battery state of charge equalization trigger, it indicates that the current cross-device energy transfer is mainly used to reduce the battery state of charge difference between the first and second energy storage devices. At this time, the microcontroller unit 110 obtains the target state of charge difference between the two energy storage devices. The target state of charge difference represents the state of charge deviation that needs to be adjusted through energy transfer, and it can be determined based on the battery state of charge difference between the first and second energy storage devices obtained in step S21, that is: ; in, The difference in the target state of charge.

[0096] Subsequently, the microcontroller unit 110 obtains the preset battery state-of-charge balancing ratio adjustment coefficient. The target state-of-charge (SOC) equalization power adjustment amount is calculated based on the target SOC difference. The battery SOC equalization ratio adjustment coefficient is used to convert the current SOC deviation into a power adjustment amount corresponding to the target scheduling power. Its specific value can be pre-configured based on the rated power of the bidirectional DC-DC converter and the typical SOC difference range. In this embodiment, the target SOC equalization power adjustment amount can be expressed as: ; in, The target state-of-charge equalization power regulation amount.

[0097] It should be noted that in the above calculations, when the target battery state-of-charge difference is included in the calculation as a percentage (e.g., 40% is taken as 40%), the battery state-of-charge balancing ratio adjustment coefficient is configured accordingly based on the proportional relationship between power and the state-of-charge difference. The dimension of the value is W / percentage point, giving the calculated target state-of-charge equalization power adjustment a power dimension. Subsequently, the microcontroller unit 110 compares the target maximum permissible transmission power with the target state-of-charge equalization power adjustment, and determines the smaller of the two as the target scheduling power, i.e.: ; Therefore, when performing state of charge balancing, the target scheduling power will not exceed the maximum transmission capacity allowed by the two energy storage devices and converters, and the energy transmission level can be adjusted according to the actual state of charge deviation between the two energy storage devices.

[0098] For example, in the case of energy transfer from the first energy storage device to the second energy storage device, if the maximum discharge power limit of the first energy storage device is 800W, the maximum charging power limit of the second energy storage device is 700W, and the rated power of the bidirectional DC-DC converter is 1000W, then the target maximum allowable transfer power is: .

[0099] If the current SOC of the first energy storage device is 85% and the SOC of the second energy storage device is 45%, then the target SOC difference is 40%. When the preset battery SOC balancing ratio adjustment coefficient is 15, the target SOC balancing power adjustment amount is: .

[0100] Therefore, the target scheduling power is: That is, the current control cycle determines the target dispatch power of 600W to be transmitted from the first energy storage device to the second energy storage device.

[0101] When the scheduling trigger reason information is "power deficit support trigger," it indicates that the current energy transfer is used to support the target-side energy storage device that has a power deficit. At this time, the microcontroller unit 110 obtains the target power deficit value corresponding to the target-side energy storage device. The target power deficit value represents the insufficient portion between the current power required by the target-side energy storage device and the maximum discharge power allowed to be provided by its own battery, corresponding to the power deficit value determined in step S21. For example, when the target side is the first energy storage device, the target power deficit value is: ; When the target side is a second energy storage device, the corresponding situation is: ; After determining the target power deficit value, the microcontroller unit 110 compares it with the target maximum allowable transmission power and determines the smaller of the two values ​​as the target scheduling power, i.e.: ; This allows the support power to be determined based on the actual power deficit on the target side, while also being limited by the maximum discharge capacity of the source side, the maximum charging capacity of the target side, and the rated power of the converter, thus avoiding unnecessary energy transfer due to the support power exceeding the actual power demand or the equipment's transmission capacity.

[0102] When the scheduling trigger reason information is power surplus absorption trigger, it indicates that the current energy transfer is used to absorb the excess power generated by the source-side energy storage device that has a power surplus. At this time, the microcontroller unit 110 obtains the target power surplus value corresponding to the source-side energy storage device. The target power surplus value is used to represent the portion of the current external power input power of the source-side energy storage device that exceeds its battery's maximum allowable charging power, corresponding to the power surplus value determined in step S21. For example, when the source side is the first energy storage device, the target power surplus value is: ; When the source side is a second energy storage device, the corresponding situation is: ; After determining the target power surplus value, the microcontroller unit 110 compares it with the target maximum allowable transmission power and determines the smaller of the two values ​​as the target scheduling power, i.e.: ; This enables the bidirectional DC-DC converter to determine the transmission power based on the current actual power surplus to be absorbed, while avoiding the actual transmission power exceeding the allowable capacity of the source side, the target side, and the converter itself.

[0103] It should be noted that when the scheduling triggering reason information includes battery state-of-charge (POC) balancing triggering and power deficit support triggering, the target scheduling priority is determined based on these two triggers, and the target scheduling power calculation process to be executed first in the current control cycle is determined based on the target scheduling priority. When the scheduling triggering reason information includes battery POC balancing triggering and power surplus absorption triggering, the target scheduling priority is determined based on these two triggers, and the target scheduling power calculation process to be executed first in the current control cycle is determined based on the target scheduling priority. In this embodiment, the scheduling priority of power deficit support triggering is higher than that of battery POC balancing triggering, and the scheduling priority of power surplus absorption triggering is higher than that of battery POC balancing triggering.

[0104] Understandably, when the scheduling triggering reason information includes both battery state of charge balancing triggering and power deficit support triggering, the power deficit support request is responded to first, and the second target scheduling power calculation process is executed. The target scheduling power is determined based on the target maximum allowable transmission power and the target power deficit value, so as to prioritize meeting the load demand of energy storage devices with power deficits. After the power deficit support request is eliminated, if the battery state of charge balancing request still exists, the first target scheduling power calculation process is executed in subsequent control cycles.

[0105] When the scheduling trigger information includes both battery state-of-charge balancing trigger and power surplus consumption trigger, the power surplus consumption demand is responded to first, and the third target scheduling power calculation process is executed. The target scheduling power is determined based on the target maximum allowable transmission power and the target power surplus value, so as to prioritize the scheduling of input power that exceeds the current charging capacity of the corresponding energy storage device. If the battery state-of-charge balancing demand still exists after the power surplus consumption demand is eliminated, the first target scheduling power calculation process is executed in subsequent control cycles.

[0106] Through the above process, when the scheduling feasibility test result meets the second preset judgment condition, the microcontroller unit 110 first uses three power constraints to determine the target maximum allowable transmission power for the current control cycle, then selects the corresponding power demand based on the specific scheduling triggering reason, and determines the target scheduling power by taking the minimum of the two. The target scheduling power is the actual expected energy transmission power that the bidirectional DC-DC converter will perform in the current control cycle, and its value is within the range of 0 to the target maximum allowable transmission power.

[0107] After determining the target scheduling power, the microcontroller unit 110 further generates a target output command based on the target scheduling power and the aforementioned energy transmission direction information. The target output command refers to the control command used to control the main power circuit 120 of the bidirectional DC-DC converter 100 to execute energy transmission according to the determined energy transmission direction and target scheduling power; it corresponds at least to the energy transmission direction and target scheduling power determined in the current control cycle.

[0108] Specifically, the microcontroller unit 110 first determines the energy transmission direction of the main power circuit 120 based on the energy transmission direction information. When the energy transmission direction information indicates that energy is being transmitted from the first energy storage device to the second energy storage device, the microcontroller unit 110 determines the power port corresponding to the first energy storage device as the energy input side and the power port corresponding to the second energy storage device as the energy output side; when the energy transmission direction information indicates that energy is being transmitted from the second energy storage device to the first energy storage device, the configuration is reversed.

[0109] Subsequently, the microcontroller unit 110 will use the target scheduling power obtained in step S24. The power control target for the current control cycle is used, and corresponding power control parameters are generated based on the determined energy transmission direction. These power control parameters are used to control the power switching devices in the main power circuit 120 to operate according to the corresponding switching sequence. When using an adapted bidirectional switching topology, the microcontroller unit 110 can generate corresponding PWM drive signals through a PWM generator and set or adjust the corresponding PWM control parameters according to the energy transmission direction and the target scheduling power, so that the main power circuit 120 transmits energy according to the target direction.

[0110] For example, when the first energy storage device is a 48V DC platform and the second energy storage device is a 24V DC platform, and step S24 determines that the energy transmission direction is from the first energy storage device to the second energy storage device and the target scheduling power is 600W, the microcontroller unit 110 configures the bidirectional power transmission direction of the main power circuit 120 according to the above-mentioned energy transmission direction, and generates corresponding PWM drive control parameters according to the target scheduling power of 600W, so that the main power circuit 120 converts the electrical energy on the side of the first energy storage device to the side of the second energy storage device, and performs energy transmission at a power level that does not exceed the currently determined target scheduling power.

[0111] It should be noted that the specific PWM control parameters are related to the bidirectional conversion topology and power device parameters used in the main power circuit 120. In this embodiment, no specific modulation method is limited, as long as the main power circuit 120 can be controlled to achieve the determined energy transmission direction and target scheduling power according to the target output command.

[0112] Furthermore, after generating the target output command in the current control cycle, the microcontroller unit 110 outputs a corresponding drive signal to the main power circuit 120 via the PWM generator, causing the main power circuit 120 to execute the energy transfer determined in this control cycle. Then, the next control cycle begins, and the operating status data of the first and second energy storage devices are reacquired. Based on the real-time changes in the SOC, power demand, power supply, and charging / discharging capabilities of the two energy storage devices, the aforementioned coordination decision-making process is re-executed, thereby enabling the energy transfer of the bidirectional DC-DC converter to be adjusted accordingly to the changes in the operating status of the two energy storage devices.

[0113] In this embodiment, the target maximum allowable transmission power is determined by comprehensively considering the maximum discharge power limit on the source side, the maximum charging power limit on the target side, and the rated power of the bidirectional DC-DC converter. Furthermore, the target scheduling power is determined based on different scheduling triggering reasons, such as battery state-of-charge balancing, power deficit support, or power surplus absorption. This ensures that the actual transmission power is simultaneously constrained by the system's maximum transmission capacity and actual scheduling needs. This avoids scheduling power exceeding the actual carrying capacity of the battery or converter, reduces ineffective scheduling caused by excessive or insufficient transmission power, and improves the matching degree between the target scheduling power and the current platform operating state and actual energy demand. In addition, a target output command is generated based on the target scheduling power and energy transmission direction. This converts the energy transmission demand obtained from the coordinated decision into control commands that the main power circuit of the bidirectional DC-DC converter can execute, enabling the main power circuit to perform cross-device energy transmission according to the determined transmission direction and target scheduling power. This achieves a closed-loop connection from scheduling demand judgment and power determination to actual power execution, improving the accuracy and consistency of energy transmission control between the two energy storage devices.

[0114] In some embodiments, the method further includes: after generating and executing the target output instruction, acquiring target operating status data; when the target operating status data meets preset adjustment conditions, suspending the execution process of the target output instruction in the current control cycle, and re-executing the coordination decision process.

[0115] After generating and executing the target output instruction, the microcontroller unit 110 continues to monitor the operating status of the first energy storage device 200 and the second energy storage device 300 in real time, so as to dynamically adjust the current energy scheduling result according to the status changes of the two energy storage devices during operation.

[0116] Specifically, during the execution of the target output command, the microcontroller unit 110 acquires the real-time operating status information of the first energy storage device 200 and the second energy storage device 300 through the first communication interface 140 and the second communication interface 150, respectively, and extracts operating parameters from the acquired operating status information to determine whether the current scheduling state has changed abruptly, forming target operating status data. The target operating status data characterizes the real-time operating status of the two energy storage devices during the execution of the target output command. In this embodiment, it includes at least one or more of the following: battery state of charge (SOC), battery rechargeable power limit (SOP_chg), battery dischargeable power limit (SOP_dis), load demand power (P_load), and external power input power (P_source) corresponding to the two energy storage devices.

[0117] The target operating status data is not used to replace the operating status data obtained in step S1, but rather to continuously determine whether the operating status of the two energy storage devices has undergone significant changes that would affect the current scheduling result, given that the current target output command has already been executed. For example, the microcontroller unit 110 can obtain the load demand power P_load_A of the first energy storage device 200 in the current control cycle or a continuous control cycle and compare it with the load demand power previously used to generate the current target output command; it can also obtain parameters such as the battery discharge power limit SOP_dis_A of the first energy storage device 200, the battery chargeable power limit SOP_chg_B of the second energy storage device 300, and the SOC of the two platforms, and compare them with the corresponding state values ​​at the start of the current scheduling.

[0118] Furthermore, the microcontroller unit 110 determines whether the target operating status data meets the preset adjustment conditions based on the target operating status data. The preset adjustment conditions are used to characterize that the operating status of the two energy storage devices has undergone a sudden change sufficient to affect the current target scheduling result. In this embodiment, corresponding change thresholds can be set for key operating parameters such as SOC, SOP, load demand power, and external power input power. When the change in any key operating parameter during the execution of the current target output command exceeds the corresponding preset change threshold, it is determined that the target operating status data meets the preset adjustment conditions; when the change in any key operating parameter does not exceed the corresponding preset change threshold, it is determined that the target operating status data does not meet the preset adjustment conditions, and the current target output command continues to be executed.

[0119] For example, when the first energy storage device 200 is currently performing a 600W SOC balancing dispatch to the second energy storage device 300, if the first energy storage device 200 suddenly receives a high-power load, causing its load demand power P_load_A to increase from 200W to 1200W, the microcontroller unit 110 detects a significant jump in P_load_A and determines that the power change exceeds a preset load power mutation threshold. At this time, the target operating status data meets the preset adjustment conditions.

[0120] When the target operating status data meets the preset adjustment conditions, the microcontroller unit 110 stops the execution of the target output command in the current control cycle. Stopping the current target output command means ceasing the execution of the original power scheduling control according to the currently determined energy transmission direction and target scheduling power. This prevents the main power circuit 120 from maintaining the target scheduling power determined based on the original operating status, thus avoiding energy transmission according to the original scheduling results when the operating status of the two energy storage devices has changed significantly.

[0121] It should be noted that abortion does not mean shutting down the bidirectional DC-DC converter 100 or stopping the entire system, but rather terminating the current target scheduling control process determined based on the previous operating state. After abortion, the microcontroller unit 110 can reacquire the current operating state data of the first energy storage device 200 and the second energy storage device 300, and re-execute the coordination decision-making process of step S2, including re-performing scheduling necessity detection, determining the source-side energy storage device and the target-side energy storage device, performing scheduling feasibility detection, and determining the target scheduling power, and regenerating the target output command based on the newly determined energy transmission direction and target scheduling power.

[0122] It should be further explained that when re-executing the scheduling necessity check, at least two scheduling needs among the battery state-of-charge equalization needs, power deficit support needs, and power surplus consumption needs may coexist. Correspondingly, the scheduling triggering reason information may simultaneously include at least two scheduling triggering reasons. In response, the microcontroller unit 110 determines the scheduling needs to be prioritized in the current control cycle according to a preset scheduling priority. In this embodiment, the scheduling priority triggered by power deficit support is higher than that triggered by battery state-of-charge equalization, and the scheduling priority triggered by power surplus consumption is higher than that triggered by battery state-of-charge equalization. Therefore, when multiple scheduling needs coexist, the energy transmission direction and target scheduling power are determined based on the scheduling need with the higher priority. The scheduling necessity check continues to be performed in subsequent control cycles, and after the higher-priority scheduling need disappears, the scheduling to be executed is re-determined based on the remaining scheduling needs.

[0123] For example, in the initial state, the SOC_A of the first energy storage device 200 is 85%, and the SOC_B of the second energy storage device 300 is 45%. The difference in battery state of charge between the two platforms is 40%, which is greater than the preset equalization start threshold. Therefore, there is a need for battery state of charge equalization. After the scheduling feasibility test is passed, step S24 determines that the target scheduling power transmitted from the first energy storage device 200 to the second energy storage device 300 is 600W. The microcontroller unit 110 generates and executes the corresponding target output command accordingly. During the above SOC equalization scheduling process, if the first energy storage device 200 suddenly connects to a high-power load, causing its P_load_A to increase from 200W to 1200W, and this change exceeds the corresponding preset load power mutation threshold, then it is determined that the target operating state data meets the preset adjustment conditions. At this time, the microcontroller unit 110 stops the current transmission of the 600W target output command from the first energy storage device 200 to the second energy storage device 300, and re-executes the coordination decision process based on the updated operating state data of the two energy storage devices.

[0124] Assuming the SOP_dis_A of the first energy storage device 200 is 800W at this time, the recalculated result is: .

[0125] Since P_def_A is greater than 0, when the scheduling necessity check is re-executed, it is determined that the first energy storage device 200 has a power deficit support requirement of 400W. Simultaneously, assuming that the SOC_A of the first energy storage device 200 is 83% and the SOC_B of the second energy storage device 300 is 46%, the difference in battery state of charge between the two is still greater than the preset equalization activation threshold. Therefore, the battery state of charge equalization requirement still exists. Thus, the scheduling triggering reason information obtained from this scheduling necessity check includes both power deficit support triggering and battery state of charge equalization triggering.

[0126] The power deficit support trigger requires the second energy storage device 300 to transfer energy to the first energy storage device 200, which has a power deficit. Conversely, the battery state-of-charge (SOC) balancing trigger requires the first energy storage device 200, with a higher SOC, to transfer energy to the second energy storage device 300, with a lower SOC. The energy transfer directions for these two scheduling requirements are opposite. Since the scheduling priority of the power deficit support trigger is higher than that of the battery state-of-charge balancing trigger, the microcontroller unit 110 prioritizes processing the power deficit support requirement in the current control cycle, identifying the second energy storage device 300 as the source-side energy storage device and the first energy storage device 200 as the target-side energy storage device.

[0127] After re-performing the scheduling feasibility test, if the SOP_dis_B of the second energy storage device 300 is 500W, the SOP_chg_A of the first energy storage device 200 is 600W, and the SOC_B is 46% and the SOC_A is 83%, meeting the corresponding discharge capacity, charging capacity, and SOC safety range requirements, then the rescheduling is deemed feasible. Further calculations are performed with the bidirectional DC-DC converter 100 having a rated power of 1000W: .

[0128] Since the current control cycle prioritizes power deficit support needs, the second target scheduling power calculation process is executed. The target power deficit value corresponding to the first energy storage device 200 is 400W, therefore... .

[0129] Therefore, the microcontroller unit 110 regenerates the target output command of 400W from the second energy storage device 300 to the first energy storage device 200, and outputs the corresponding drive control signal to the main power circuit 120 through the PWM generator, so that the main power circuit 120 performs power support according to the new energy transmission direction and target scheduling power.

[0130] It should be noted that prioritizing power deficit support scheduling in the current control cycle does not mean that the battery state-of-charge (SOC) balancing requirement is cancelled. In subsequent control cycles, the microcontroller unit 110 continues to acquire the operating status data of the two energy storage devices and perform scheduling necessity checks. When the first energy storage device 200 still has a power deficit, the power deficit support requirement continues to be processed according to the preset scheduling priority. When the power deficit of the first energy storage device 200 disappears, if the difference in battery SOC between the first energy storage device 200 and the second energy storage device 300 is still greater than the preset balancing initiation threshold, then there is still a battery SOC balancing requirement. At this time, the energy transmission direction is re-determined based on this balancing requirement, and the first target scheduling power calculation process is executed to continue SOC balancing scheduling between the two energy storage devices.

[0131] Furthermore, changes in the target operating status data can also be triggered by changes in the external power input status. For example, while the first energy storage device 200 is currently performing other energy dispatch, its connected photovoltaic charger suddenly provides 500W of external input power P_source_A. As charging progresses, SOC_A continues to rise to nearly 92%, and the current SOP_chg_A of the first energy storage device 200 drops to 200W. If the change in key operating parameters such as the external power input power exceeds the corresponding preset mutation threshold, the microcontroller unit 110 determines that the target operating status data meets the preset adjustment conditions, suspends the current target output command, and re-executes the coordination decision process based on the updated operating status data. At this time, the microcontroller unit 110 calculates the first energy storage device power surplus value of the first energy storage device based on the re-acquired operating status data: .

[0132] Therefore, when re-executing the scheduling necessity check, it is determined that the first energy storage device 200 has a power surplus consumption requirement of 300W. Simultaneously, the microcontroller unit 110 re-executes the battery state-of-charge (SOC) balancing requirement check based on the current SOC of the two energy storage devices. If the difference in battery SOC between the first energy storage device 200 and the second energy storage device 300 is still greater than the preset balancing trigger threshold, then the battery SOC balancing requirement still exists, and the scheduling triggering reason information includes both power surplus consumption triggering and battery SOC balancing triggering.

[0133] In this example, since the State of Charge (SOC) of the first energy storage device 200 is higher than that of the second energy storage device 300, the energy transfer direction corresponding to the battery state of charge balancing requirement is from the first energy storage device 200 to the second energy storage device 300. Simultaneously, since the first energy storage device 200 has a power surplus, the energy transfer direction corresponding to the power surplus absorption requirement is also from the first energy storage device 200 to the second energy storage device 300. Although the energy transfer directions corresponding to the two scheduling requirements are the same, the scheduling priority triggered by power surplus absorption is higher than that triggered by battery state of charge balancing. Therefore, the current control cycle prioritizes processing the power surplus absorption requirement and executes the third target scheduling power calculation process.

[0134] Assuming that the maximum discharge power limit SOP_dis_A for the first energy storage device 200 as the source-side energy storage device is 800W, the maximum charging power limit SOP_chg_B for the second energy storage device 300 as the target-side energy storage device is 700W, and the rated power of the bidirectional DC-DC converter 100 is 1000W, then the maximum allowable transmission power of the target is: .

[0135] Since the target power surplus value corresponding to the current priority power surplus absorption demand is 300W, the target scheduling power is: .

[0136] Therefore, the microcontroller unit 110 regenerates the target output command of transmitting 300W from the first energy storage device 200 to the second energy storage device 300, and controls the main power circuit 120 to perform the corresponding power surplus consumption scheduling, so as to transmit the part of the power that the first energy storage device 200 currently needs to consume to the second energy storage device 300.

[0137] Similarly, the current control cycle prioritizes power surplus consumption scheduling, but this does not mean that the concurrent battery state-of-charge (SOC) balancing demand is cancelled. In subsequent control cycles, the microcontroller unit 110 continues to acquire real-time operating status data of the two energy storage devices and re-executes the scheduling necessity check. When the first energy storage device 200 still has power surplus, power surplus consumption scheduling continues to be prioritized; when the power surplus of the first energy storage device 200 disappears, if the difference in battery SOC between the two energy storage devices is still greater than the preset balancing initiation threshold, the energy transmission direction and target scheduling power are re-determined according to the battery SOC balancing demand, and SOC balancing scheduling continues.

[0138] In this way, during the execution of the target output command, the microcontroller unit 110 does not continuously transmit fixed power according to the initial decision result, but continuously monitors the key operating status of the two energy storage devices. When key parameters such as load power, external input power, SOC or SOP change beyond a preset threshold, the target output command determined based on the original operating status is terminated, and the coordination decision process is re-executed based on the updated operating status. When multiple scheduling demands are detected simultaneously, the current priority scheduling demand is determined according to the preset scheduling priority, and the status of each scheduling demand is continuously reassessed in subsequent control cycles. Thus, the bidirectional DC-DC converter 100 can dynamically adjust the energy transmission direction and target scheduling power according to the real-time power supply and demand status and battery status of the two energy storage devices, and avoid scheduling target conflicts when multiple scheduling demands exist simultaneously.

[0139] This application provides a bidirectional DC-DC converter control method. By establishing independent communication connections between the bidirectional DC-DC converter and a first energy storage device and a second energy storage device, the bidirectional DC-DC converter can simultaneously acquire the operating status data of the two different energy storage devices. Based on information such as the battery state of charge, power demand, charging and discharging capacity, and external power input of the two energy storage devices, it can make coordinated decisions, thereby establishing a complete control link from operating status perception and scheduling decision to energy transmission execution between platforms of different voltage levels, and improving the adaptability of cross-platform energy interaction.

[0140] Furthermore, by performing scheduling necessity checks, the system determines whether there is an energy scheduling need between two energy storage devices from different dimensions such as battery state of charge balance, power deficit support, and power surplus absorption. Based on the check results, the energy transmission direction is determined so that the energy transmission direction can match the current actual operating state of the two energy storage devices. Furthermore, scheduling feasibility checks are performed by considering the source-side discharge capacity, the target-side charging capacity, and the safe range of battery state of charge. This avoids scheduling when the platform itself does not have the corresponding energy transmission capacity or the battery state is unsuitable, thereby improving the reliability of scheduling decisions.

[0141] Furthermore, the target maximum allowable transmission power is determined by comprehensively considering the maximum discharge power limit on the source side, the maximum charging power limit on the target side, and the rated power of the bidirectional DC-DC converter. The target scheduling power is determined based on different scheduling triggering reasons such as battery state of charge balancing, power deficit support, or power surplus absorption. This ensures that the actual transmission power is constrained by both the equipment's transmission capacity and the actual scheduling requirements, preventing the transmission power from exceeding the allowable capacity of the battery or converter and improving the matching degree between the target scheduling power and the platform's actual operating status and energy demand.

[0142] Furthermore, during the execution of the target output command, the target operating status data of the two energy storage devices are continuously acquired. When key operating parameters such as load demand power, external power input power, battery state of charge, or battery charging and discharging capacity change beyond the preset sudden change threshold, the current target output command is stopped and the coordination decision process is re-executed. This enables the bidirectional DC-DC converter to promptly redetermine the energy transmission direction and target scheduling power based on sudden load changes, power supply changes, and battery state changes, thereby improving the system's responsiveness to dynamic operating conditions and operational stability.

[0143] Based on this, this application coordinates dual-path independent communication, cross-device status awareness, scheduling necessity detection, scheduling feasibility detection, power constraint calculation, and dynamic adaptive adjustment to transform the bidirectional DC-DC converter from a traditional simple voltage conversion and power transmission device into a cross-device energy scheduling node capable of sensing the operating status of two energy storage devices and actively coordinating energy flow. This enables more flexible, reliable, and demand-matched energy interaction between energy storage or power supply devices with different voltage levels and operating states.

[0144] 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 prior art, can be embodied in the form of a 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, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0145] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and not to limit them; under the concept of this application, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of this application as described above, which are not provided in detail for the sake of brevity; although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A control method for a bidirectional DC-DC converter, characterized in that, The method, applied to the bidirectional DC-DC converter, which is communicatively connected to a first energy storage device and a second energy storage device, includes: Under the current control cycle, acquire the first operating status data corresponding to the first energy storage device and the second operating status data corresponding to the second energy storage device; Based on the first operating status data and the second operating status data, a coordination decision-making process is executed. This process includes: performing scheduling necessity detection on the first and second operating status data to obtain a scheduling necessity detection result; wherein the scheduling necessity detection includes battery state-of-charge balancing demand detection, power deficit support demand detection, and power surplus absorption demand detection; wherein the scheduling necessity detection result includes energy transmission direction information; when the scheduling necessity detection result meets a first preset judgment condition, determining a source-side energy storage device and a target-side energy storage device from the first and second energy storage devices based on the energy transmission direction information; performing scheduling feasibility detection based on the source-side energy storage device and the target-side energy storage device to obtain a scheduling feasibility detection result; when the scheduling feasibility detection result meets a second preset judgment condition, obtaining the target maximum allowable transmission power, and obtaining the target scheduling power based on the target maximum allowable transmission power and the scheduling necessity detection result. Based on the target scheduling power and the energy transmission direction information, a target output command is generated.

2. The bidirectional DC-DC converter control method according to claim 1, characterized in that, The step of performing scheduling necessity detection on the first operating status data and the second operating status data to obtain the scheduling necessity detection result includes: Battery state of charge balancing demand detection is performed on the first operating state data and the second operating state data to obtain a first detection result; Power deficit support requirement detection is performed on the first operating status data and the second operating status data to obtain a second detection result; A third detection result is obtained by performing power surplus absorption demand detection on the first operating status data and the second operating status data; The scheduling necessity detection result is generated based on the first detection result, the second detection result, and the third detection result.

3. The bidirectional DC-DC converter control method according to claim 2, characterized in that, The first operating status data includes a first battery state of charge, and the second operating status data includes a second battery state of charge. The step of performing battery state of charge balancing demand detection on the first operating status data and the second operating status data to obtain a first detection result includes: The battery state of charge difference is obtained based on the first battery state of charge and the second battery state of charge. The first detection result is obtained based on the difference in battery state of charge and the preset equalization start threshold.

4. The bidirectional DC-DC converter control method according to claim 2, characterized in that, The first operating status data includes a first load power demand and a first battery discharge power limit; the second operating status data includes a second load power demand and a second battery discharge power limit; the step of performing power deficit support demand detection on the first operating status data and the second operating status data to obtain a second detection result includes: The power deficit of the first energy storage device is obtained based on the first load power demand and the first battery discharge power limit. The power deficit value of the second energy storage device is obtained based on the second load demand power and the second battery discharge power limit. The second detection result is obtained based on the power deficit value of the first energy storage device, the power deficit value of the second energy storage device, and the preset power deficit judgment conditions.

5. The bidirectional DC-DC converter control method according to claim 2, characterized in that, The first operating status data includes a first external power input power and a first battery rechargeable power limit; the second operating status data includes a second external power input power and a second battery rechargeable power limit; the step of performing power surplus absorption demand detection on the first and second operating status data to obtain a third detection result includes: The power surplus value of the first energy storage device is obtained based on the first external power input power and the first battery rechargeable power limit. The power surplus value of the second energy storage device is obtained based on the input power of the second external power source and the rechargeable power limit of the second battery. The third detection result is obtained based on the power surplus value of the first energy storage device, the power surplus value of the second energy storage device, and the preset power surplus determination conditions.

6. The bidirectional DC-DC converter control method according to claim 1, characterized in that, The process of performing a scheduling feasibility test based on the source-side energy storage device and the target-side energy storage device to obtain the scheduling feasibility test result includes: Obtain the battery discharge power limit of the source-side energy storage device, the battery recharge power limit of the target-side energy storage device, the battery state of charge of the source-side energy storage device, and the battery state of charge of the target-side energy storage device; The discharge power limit of the battery in the source-side energy storage device is tested to obtain a fourth test result. The rechargeable power limit of the battery of the target-side energy storage device is tested to obtain a fifth test result; Based on preset discharge cutoff thresholds and preset charge cutoff thresholds, the state of charge of the battery of the source-side energy storage device and the state of charge of the battery of the target-side energy storage device are detected to obtain a sixth detection result. The scheduling feasibility test result is generated based on the fourth test result, the fifth test result, and the sixth test result.

7. The bidirectional DC-DC converter control method according to claim 1, characterized in that, The scheduling necessity detection result includes scheduling triggering reason information. The step of obtaining the target maximum allowed transmission power and, based on the target maximum allowed transmission power and the scheduling necessity detection result, obtaining the target scheduling power includes: Obtain the maximum discharge power limit of the source-side energy storage device, the maximum charging power limit of the target-side energy storage device, and the rated power of the bidirectional DC-DC converter; The minimum value among the maximum discharge power limit of the source-side energy storage device, the maximum charging power limit of the target-side energy storage device, and the rated power of the bidirectional DC-DC converter is determined as the target maximum allowable transmission power. When the scheduling triggering reason information is battery state of charge balancing triggering, the first target scheduling power calculation process is executed; wherein, the first target scheduling power calculation process includes: obtaining the target state of charge difference, and obtaining the target state of charge balancing power adjustment amount according to the preset battery state of charge balancing ratio adjustment coefficient and the target state of charge difference; determining the minimum value between the target maximum allowable transmission power and the target state of charge balancing power adjustment amount as the target scheduling power; When the scheduling triggering reason information is power deficit support triggering, the second target scheduling power calculation process is executed; wherein, the second target scheduling power calculation process includes: obtaining the target power deficit value, and determining the minimum value between the target maximum allowable transmission power and the target power deficit value as the target scheduling power; When the scheduling triggering reason information is power surplus absorption triggering, the third target scheduling power calculation process is executed; wherein, the third target scheduling power calculation process includes: obtaining the target power surplus value, and determining the minimum value between the target maximum allowable transmission power and the target power surplus value as the target scheduling power.

8. The bidirectional DC-DC converter control method according to claim 7, characterized in that, The method further includes: When the scheduling triggering reason information includes battery state of charge balancing triggering and power deficit support triggering, the target scheduling priority is determined according to the battery state of charge balancing triggering and the power deficit support triggering, and the target scheduling power calculation process to be executed first in the current control cycle is determined according to the target scheduling priority. When the scheduling triggering reason information includes battery state of charge balancing triggering and power surplus consumption triggering, the target scheduling priority is determined according to the battery state of charge balancing triggering and the power surplus consumption triggering, and the target scheduling power calculation process to be executed first in the current control cycle is determined according to the target scheduling priority.

9. The bidirectional DC-DC converter control method according to claim 1, characterized in that, The method further includes: After generating and executing the target output instruction, acquire the target running status data; When the target operating status data meets the preset adjustment conditions, the execution process of the target output instruction in the current control cycle is stopped, and the coordination decision process is re-executed.

10. A microcontroller unit, characterized in that, include: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1-9.