Method for charging a shared battery pack and ups system
Patent Information
- Application Number
- CN202610752011.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-28
- Publication Date
- 2026-09-25
AI Technical Summary
[0002]在相关技术中,不间断电源(Uninterruptible Power Supply,UPS)系统由多台UPS设备并机且同时共用同一组电池的情况下,通常由多台UPS设备同时给电池组充电,电池组容易过充,而且每台UPS设备显示的荷电状态(State of Charge,SoC)都不一样和不准确
[0016]本申请实施例的方案,UPS系统包括电池组和与电池组相连的至少两个UPS设备,每个UPS设备之间通信连接,每个UPS包括AC/DC模块、DC/AC模块和DC/DC模块,每个UPS设备的DC/DC模块的电池端相互连接并连接到电池组,DC/AC模块连接负载设备,AC/DC模块连接市电。通过各个UPS设备之间的通讯,确定每个UPS设备的AC/DC模块和DC/AC模块的工作状态,根据每个UPS设备的AC/DC模块和DC/AC模块的工作状态,从至少两个UPS设备中选择目标UPS设备给电池组充电,避免了多个UPS设备同时给电池组充电带来的过充和电池容量计算不准确的问题,有利于电池安全。而且根据AC/DC模块和DC/AC模块的工作状态,可以选择出最符合当前工况的目标UPS设备,不影响负载运行。
Smart Images

Figure CN122823698A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power supply technology, and in particular to a charging control method for a shared battery pack and a UPS system. Background Technology
[0002] In related technologies, when an uninterruptible power supply (UPS) system consists of multiple UPS devices operating in parallel and sharing the same battery pack, the battery pack is usually charged by multiple UPS devices at the same time, which can easily lead to overcharging of the battery pack. Moreover, the state of charge (SoC) displayed by each UPS device is different and inaccurate. Summary of the Invention
[0003] In view of this, embodiments of this application provide a charging control method for a shared battery pack and a UPS system.
[0004] The technical solution of this application embodiment is implemented as follows: This application provides a charging control method for a shared battery pack, applied to a UPS system with a shared battery pack. The UPS system includes a battery pack and at least two UPS devices connected to the battery pack. Each UPS device is communicatively connected to the others. Each UPS includes an AC / DC module, a DC / AC module, and a DC / DC module. The battery terminals of the DC / DC modules of each UPS device are interconnected and connected to the battery pack. The DC / AC modules are connected to the load device, and the AC / DC modules are connected to AC mains power. The charging control method includes: The operating status of the AC / DC module and DC / AC module of each UPS device is determined through communication between the various UPS devices; Based on the operating status of the AC / DC module and DC / AC module of each UPS device, a target UPS device is selected from the at least two UPS devices to charge the battery pack.
[0005] In the above scheme, the step of selecting a target UPS device from the at least two UPS devices to charge the battery pack based on the operating status of the AC / DC module and DC / AC module of each UPS device includes: If there is a UPS device with an abnormal DC / AC module, then the UPS device with an abnormal DC / AC module but a normal AC / DC module is selected as the target UPS device.
[0006] In the above scheme, the method further includes: If there is no UPS device with an abnormal DC / AC module operating status, then any UPS device with a normal AC / DC module operating status shall be selected as the target UPS device.
[0007] In the above scheme, the at least two UPS devices include a first UPS device and a second UPS device. If there is a UPS device with an abnormal DC / AC module operation, then the UPS device with an abnormal DC / AC module operation but a normal AC / DC module operation is selected as the target UPS device, including: If the DC / AC module of the first UPS device is working normally, the DC / AC module of the second UPS device is working abnormally, or both the AC / DC modules of the first UPS device and the second UPS device are working normally, then the second UPS device is selected as the target UPS device. If the DC / AC module of the first UPS device is working normally, the DC / AC module of the second UPS device is working abnormally, the AC / DC module of the first UPS device is working abnormally, and the AC / DC module of the second UPS device is working normally, then the second UPS device is selected as the target UPS device.
[0008] In the above scheme, the at least two UPS devices include a first UPS device and a second UPS device. If no UPS device has an abnormal DC / AC module operation, then any UPS device with a normal AC / DC module operation is selected as the target UPS device, including: If the DC / AC modules of the first UPS device and the second UPS device are both operating normally, and the AC / DC modules of the first UPS device and the second UPS device are both operating normally, then any one of the UPS devices can be selected as the target UPS device. If the DC / AC modules of the first UPS device and the second UPS device are operating normally, the AC / DC module of the first UPS device is operating abnormally, and the AC / DC module of the second UPS device is operating normally, then the second UPS device is selected as the target UPS device. If the DC / AC modules of both the first and second UPS devices are operating normally, or if the AC / DC modules of both the first and second UPS devices are operating abnormally, the battery pack will not be charged, and an alarm will be triggered.
[0009] In the above scheme, if the second UPS device is selected as the target UPS device, the method further includes: The input current of the DC / DC module of the first UPS device is determined based on the power consumption of the load. The charging current of the battery pack is determined based on the output current of the DC / DC module of the second UPS device and the input current of the DC / DC module of the first UPS device. The change in the state of charge (SOC) of the battery pack is determined based on the charging current and charging time.
[0010] In the above scheme, the method further includes: If any UPS device is selected as the target UPS device, the change in the SOC of the battery pack is determined based on the output current of the DC / DC module of the target UPS device and the charging time of the battery pack. If the second UPS device is selected as the target UPS device, the charging current of the battery pack is determined based on the output current of the DC / DC module of the second UPS device and the input current of the DC / DC module of the first UPS device; the change in SOC of the battery pack is determined based on the charging current and the charging time.
[0011] In the above scheme, when the AC / DC modules of both the first UPS device and the second UPS device are malfunctioning, the battery pack supplies power to the load. The method further includes: The change in SOC of the battery pack is determined based on the input current of the DC / DC modules of the first UPS device and the second UPS device, and the discharge time of the battery pack.
[0012] This application also provides a UPS device, including: a processor and a memory for storing a computer program that can run on the processor, wherein the processor, when running the computer program, performs the steps in the above-described method.
[0013] This application also provides a UPS system, which includes multiple UPS devices and a shared battery pack, wherein the UPS devices are used to perform the steps in the above method.
[0014] This application also provides a computer storage medium storing a computer program, which, when executed by a processor, implements the steps in the above method.
[0015] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described method.
[0016] The solution in this embodiment includes a UPS system comprising a battery pack and at least two UPS devices connected to the battery pack. Each UPS device is communicatively connected to each other. Each UPS includes an AC / DC module, a DC / AC module, and a DC / DC module. The battery terminals of the DC / DC modules of each UPS device are interconnected and connected to the battery pack. The DC / AC modules are connected to the load device, and the AC / DC modules are connected to the mains power. Through communication between the UPS devices, the operating status of the AC / DC and DC / AC modules of each UPS device is determined. Based on the operating status of the AC / DC and DC / AC modules of each UPS device, a target UPS device is selected from at least two UPS devices to charge the battery pack. This avoids overcharging and inaccurate battery capacity calculations caused by multiple UPS devices charging the battery pack simultaneously, thus improving battery safety. Furthermore, based on the operating status of the AC / DC and DC / AC modules, the target UPS device best suited to the current operating conditions can be selected without affecting load operation. Attached Figure Description
[0017] Figure 1 This is a schematic diagram of the structure of a UPS system provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of the operating conditions of a UPS system provided in an embodiment of the present invention; Figure 3 This is a schematic diagram illustrating the implementation process of a charging control method for a shared battery pack provided in an embodiment of the present invention; Figure 4 This is a schematic diagram of another UPS system provided in an embodiment of the present invention; Figure 5 This is a schematic diagram of another UPS system operating condition provided in an embodiment of the present invention; Figure 6 This is a schematic diagram of another UPS system operating condition provided in an embodiment of the present invention; Figure 7 This is a schematic diagram of another UPS system operating condition provided in an embodiment of the present invention; Figure 8 This is a schematic diagram of another UPS system operating condition provided in an embodiment of the present invention; Figure 9 This is a schematic diagram of the structure of a UPS device provided in an embodiment of this application. Detailed Implementation
[0018] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0019] A UPS power supply system is a power protection device that contains an energy storage device and uses an inverter as its main unit. It can continuously provide a stable and uninterrupted power supply to critical equipment when the mains power is abnormal or interrupted. Figure 1 This is a schematic diagram of a UPS system provided in an embodiment of the present invention. The UPS system includes multiple UPS devices, which share the same battery pack, referred to as a shared battery pack.
[0020] like Figure 2 As shown, Figure 2 The UPS system shown includes a battery pack, UPS1 (unit A) and UPS2 (unit B), which are connected by communication. UPS1 and UPS2 each include an AC / DC module, a DC / AC module, and a DC / DC module. The battery terminals of the DC / DC modules of each UPS are interconnected and connected to the battery pack. The DC / AC modules are connected to the load devices, and the AC / DC modules are connected to the AC mains power.
[0021] AC / DC modules are devices that convert alternating current (AC) into direct current (DC). Since the power system (mains power) generally transmits AC power, while most electronic devices rely on DC power to operate, AC / DC conversion has become a key link in connecting the power grid and electrical equipment.
[0022] In related technologies, the DC / DC modules of UPS1 (Unit A) and UPS2 (Unit B) simultaneously charge the battery pack. The remaining capacity and charging time of the battery pack are calculated using the battery current sampling values of each individual unit. The Hall effect current sampling point of the battery pack can be located after the DC / DC module, such as... Figure 2 Current sampling is performed near the battery pack after the DC / DC module of UPS1 in Unit A. Because both UPS units charge simultaneously, but each unit independently collects and calculates current, the remaining capacity and time of the battery pack are inaccurately calculated, potentially leading to overcharging and compromising battery safety.
[0023] This invention provides a charging control method for a shared battery pack. Figure 3 This is a schematic diagram illustrating the implementation process of a charging control method for a shared battery pack according to an embodiment of the present invention. This method is applied to a UPS system with a shared battery pack. The structure of the UPS system can be referenced from [reference needed]. Figure 2A UPS system includes a battery pack and at least two UPS units connected to the battery pack. Each UPS unit is communicatively connected to the others. Each UPS includes an AC / DC module, a DC / AC module, and a DC / DC module. The battery terminals of the DC / DC modules of each UPS unit are interconnected and connected to the battery pack. The DC / AC modules are connected to the load device, and the AC / DC modules are connected to the AC mains power. (Reference) Figure 3 The charging control methods include: S301 determines the operating status of the AC / DC module and DC / AC module of each UPS device through communication between the various UPS devices.
[0024] In this embodiment, each UPS device is connected to another UPS device, and each UPS device can communicate in parallel. Each UPS device can obtain the operating status of the AC / DC module and DC / AC module of other UPS devices.
[0025] For example, such as Figure 4 As shown, the main control chips of UPS A and UPS B communicate in parallel to exchange data. All UPS devices communicate in parallel to exchange the operating status of their AC / DC and DC / AC modules, allowing each UPS device to access the operating status of the AC / DC and DC / AC modules of all other UPS devices in the UPS system.
[0026] The operating states of AC / DC modules and DC / AC modules include: normal operation and abnormal operation. Normal operation means that both the module's input and output are normal; abnormal operation includes input abnormalities and module abnormalities. For example, an AC / DC module may experience input abnormalities due to a mains power failure, while a module abnormality means that the module itself is faulty and cannot output.
[0027] S302, based on the operating status of the AC / DC module and DC / AC module of each UPS device, select a target UPS device from the at least two UPS devices to charge the battery pack.
[0028] Compared to related technologies that use multiple UPS devices to charge the battery pack simultaneously, this invention determines which UPS device to charge the battery pack based on the AC / DC and DC / AC modules of each UPS device. This avoids the problems of overcharging and inaccurate battery capacity calculation caused by multiple UPS devices charging the battery pack simultaneously. When a single UPS device charges the battery pack, the change in the battery pack's state of charge (SoC) can be determined based on the output current of the DC / AC module of that single UPS device.
[0029] For example, the principle for selecting target UPS devices in this embodiment of the invention includes: first determining whether there are UPS devices with abnormal DC / AC modules, then determining UPS devices with normal AC / DC modules from among the UPS devices with abnormal DC / AC modules, and determining the UPS devices with abnormal DC / AC modules and normal AC / DC modules as target UPS devices.
[0030] For example, if the DC / AC modules of at least two UPS devices are functioning properly, then select one of the UPS devices with functioning AC / DC modules as the target UPS device.
[0031] When there are multiple AC / DC modules and UPS devices with DC / AC modules that meet the operating conditions, the target UPS device can be selected based on various information (address, version number, etc.) of each UPS device.
[0032] The solution in this embodiment includes a UPS system comprising a battery pack and at least two UPS devices connected to the battery pack. Each UPS device is communicatively connected to each other. Each UPS includes an AC / DC module, a DC / AC module, and a DC / DC module. The battery terminals of the DC / DC modules of each UPS device are interconnected and connected to the battery pack. The DC / AC modules are connected to the load device, and the AC / DC modules are connected to the mains power. Through communication between the UPS devices, the operating status of the AC / DC and DC / AC modules of each UPS device is determined. Based on the operating status of the AC / DC and DC / AC modules of each UPS device, a target UPS device is selected from at least two UPS devices to charge the battery pack, avoiding overcharging and inaccurate battery capacity calculations caused by multiple UPS devices charging the battery pack simultaneously. Furthermore, based on the operating status of the AC / DC and DC / AC modules, the target UPS device best suited to the current operating conditions can be selected without affecting the load operation.
[0033] In some embodiments, selecting a target UPS device from the at least two UPS devices to charge the battery pack based on the operating status of the AC / DC module and DC / AC module of each UPS device includes: If there is a UPS device with an abnormal DC / AC module, then the UPS device with an abnormal DC / AC module but a normal AC / DC module is selected as the target UPS device.
[0034] If the DC / AC module of the UPS device is malfunctioning while the AC / DC module is functioning normally, it indicates that the UPS device cannot directly supply power to the load. Therefore, it is recommended to select this UPS device specifically for charging the battery (the current of this UPS device can enter the load without passing through other UPS devices), while other UPS devices are responsible for supplying power to the load, so as to make full use of the UPS system resources.
[0035] In some embodiments, if there is no UPS device with an abnormal DC / AC module operating status, then any UPS device with a normal AC / DC module operating status is selected as the target UPS device.
[0036] If all UPS devices have DC / AC modules in normal working condition, then a UPS device with a normal AC / DC module can be randomly selected as the target UPS device, which can also supply power to the load.
[0037] In some embodiments, the at least two UPS devices include a first UPS device and a second UPS device. If a UPS device has an abnormal DC / AC module operation, then selecting the UPS device with an abnormal DC / AC module operation but a normal AC / DC module operation as the target UPS device includes: If the DC / AC module of the first UPS device is working normally, the DC / AC module of the second UPS device is working abnormally, or both the AC / DC modules of the first UPS device and the second UPS device are working normally, then the second UPS device is selected as the target UPS device. If the DC / AC module of the first UPS device is working normally, the DC / AC module of the second UPS device is working abnormally, the AC / DC module of the first UPS device is working abnormally, and the AC / DC module of the second UPS device is working normally, then the second UPS device is selected as the target UPS device.
[0038] refer to Figures 5 to 8 The first UPS device corresponds to Unit A, UPS1, and the second UPS device corresponds to Unit B, UPS2.
[0039] exist Figure 7In this scenario, both the AC / DC and DC / AC modules of UPS1 (Unit A) are functioning normally. The AC / DC module of UPS2 (Unit B) is functioning normally, while its DC / AC module is malfunctioning. Therefore, UPS2 (Unit B) can be selected to charge the battery pack. If UPS1 (Unit A) can independently power the load, then UPS2 (Unit B) does not need to power the load. If UPS1 (Unit A) cannot independently power the load, then the current from UPS2 (Unit B) needs to flow into UPS1 (Unit A) through its DC / DC module, and then power the load through UPS1 (Unit A)'s DC / AC module.
[0040] exist Figure 6 In this scenario, UPS1 (Unit A) has both a normal and abnormal AC / DC module and a normal DC / AC module. UPS2 (Unit B) has both a normal and abnormal AC / DC module. Therefore, UPS2 (Unit B) can be selected to charge the battery pack. At this time, UPS2 (Unit B) supplies power to both the battery pack and the load simultaneously, prioritizing the load and only charging the battery pack when there is surplus power.
[0041] In some embodiments, if the second UPS device is selected as the target UPS device, the method further includes: The input current of the DC / DC module of the first UPS device is determined based on the power consumption of the load. The charging current of the battery pack is determined based on the output current of the DC / DC module of the second UPS device and the input current of the DC / DC module of the first UPS device. The change in SOC of the battery pack is determined based on the charging current and charging time.
[0042] exist Figure 6 and Figure 7 In the above scenario, the battery pack is charged by the load of UPS2 (Unit B), while the load is powered by the DC / AC module of UPS1 (Unit A). Based on the power consumption required by the load, the required input current of the DC / DC module of UPS1 (Unit A) can be determined. Then, based on the output current of the DC / DC module of UPS2 (Unit B), the charging current of the battery pack can be determined.
[0043] For example, in Figure 6 In this scenario, UPS2 (Unit B) supplies power to both the battery pack and the load simultaneously. Priority should be given to powering the load. The required input current for the DC / DC module of UPS1 (Unit A) is calculated based on the power consumption of the load. The charging current of the battery pack is obtained by subtracting the input current of the DC / DC module of UPS1 (Unit A) from the output current of the DC / DC module of UPS2 (Unit B). Based on the charging current and charging time, the change in the SOC of the battery pack can be calculated, thereby determining the remaining battery capacity / remaining charging time.
[0044] For example, in Figure 7 In this scenario, if UPS1 (Unit A) can independently power the load, then UPS2 (Unit B) does not need to power the load. Therefore, the charging current of the battery pack is the output current of the DC / DC module in UPS2 (Unit B). By default, the input current of the DC / DC module in UPS1 (Unit A) is 0 at this time.
[0045] In some embodiments, the at least two UPS devices include a first UPS device and a second UPS device. If no UPS device has an abnormal DC / AC module operation status, then selecting any UPS device with a normal AC / DC module operation status as the target UPS device includes: If the DC / AC modules of the first UPS device and the second UPS device are both operating normally, and the AC / DC modules of the first UPS device and the second UPS device are both operating normally, then any one of the UPS devices can be selected as the target UPS device. If the DC / AC modules of the first UPS device and the second UPS device are operating normally, the AC / DC module of the first UPS device is operating abnormally, and the AC / DC module of the second UPS device is operating normally, then the second UPS device is selected as the target UPS device. If the DC / AC modules of both the first and second UPS devices are operating normally, or if the AC / DC modules of both the first and second UPS devices are operating abnormally, the battery pack will not be charged, and an alarm will be triggered.
[0046] exist Figure 2 If both UPS1 (A unit) and UPS2 (B unit) are working normally, either UPS can be used to charge the battery pack. If UPS1 (A unit) is chosen to charge the battery pack, and UPS2 (B unit) can independently power the load, then UPS1 (A unit) can only charge the battery pack without powering the load, thus improving the charging efficiency of the battery pack.
[0047] exist Figure 5 In the scenario, the DC / AC modules of UPS1 (Unit A) and UPS2 (Unit B) are both functioning normally. However, the AC / DC module of UPS1 (Unit A) is malfunctioning, while the AC / DC module of UPS2 (Unit B) is functioning normally. Since only the AC / DC module of UPS2 (Unit B) is functioning normally, UPS2 (Unit B) will be selected to charge the battery pack, and it will also need to supply power to the load.
[0048] exist Figure 8In this case, the AC / DC modules of UPS1 (Unit A) and UPS2 (Unit B) are both malfunctioning. Neither UPS1 nor UPS2 can supply power to the battery pack or the load. In this situation, the battery pack is required to supply power to the load.
[0049] In some embodiments, if any UPS device is selected as the target UPS device, the change in the SOC of the battery pack is determined based on the output current of the DC / DC module of the target UPS device and the charging time of the battery pack. If the second UPS device is selected as the target UPS device, the charging current of the battery pack is determined based on the output current of the DC / DC module of the second UPS device and the input current of the DC / DC module of the first UPS device; the change in SOC of the battery pack is determined based on the charging current and the charging time.
[0050] exist Figure 2 In this scenario, both UPS units are functioning normally; both UPS1 (A) and UPS2 (B) can supply power to the load. At this time, the DC / DC converter of the UPS unit charging the battery only charges the battery. For example, if UPS2 (B) is selected to charge the battery, the current from UPS2 will not flow into the DC / DC converter of UPS1 (A). Therefore, the charging current of the battery pack is the output current of the DC / DC module of UPS2 (B). By default, the input current of the DC / DC module of UPS1 (A) is 0. Based on the charging current and charging time, the change in the battery pack's State of Charge (SOC) can be calculated, thereby determining the remaining battery capacity / remaining charging time.
[0051] exist Figure 5 Since only the AC / DC module of UPS2 (Unit B) is functioning normally, UPS2 is selected to charge the battery pack. Furthermore, UPS2 also needs to supply power to the load. Therefore, the charging current of the battery pack equals the output current of the DC / DC module of UPS2 (Unit B) minus the input current of the DC / DC module of UPS1 (Unit A). Based on the charging current and charging time, the change in the battery pack's State of Charge (SOC) can be calculated, thus determining the remaining battery capacity / remaining charging time.
[0052] For example, Figure 5 In the diagram, the input current of the DC / DC module of UPS1 (Unit A) is I1, the output current of the DC / DC module of UPS2 (Unit B) is I2, and the charging current of the battery pack is I3, where I3 = I2 - I1.
[0053] In some embodiments, when the AC / DC modules of both the first UPS device and the second UPS device are malfunctioning, the battery pack supplies power to the load, and the method further includes: The change in SOC of the battery pack is determined based on the input current of the DC / DC modules of the first UPS device and the second UPS device, and the discharge time of the battery pack.
[0054] When charging a battery pack, the initial SOC of the battery pack is added to the change in the SOC of the battery pack to obtain the SOC of the battery pack (the current remaining battery capacity).
[0055] Initial SOC Determination: Before starting measurements, the battery's initial SOC needs to be known, as its accuracy significantly impacts subsequent estimations. The initial SOC is typically obtained through the open-circuit voltage method or other calibration methods.
[0056] Since this embodiment uses only one UPS device to charge the battery pack, the change in SOC of the battery pack can be calculated by the input current and charging time of the battery pack. Compared with the integral algorithm used in related technologies, this is simpler and more accurate, and solves the problem of inaccurate calculation of the remaining battery capacity in related technologies.
[0057] exist Figure 8 In this process, the battery pack supplies power to the load. The input currents of the DC / DC modules of the first and second UPS devices are added together to obtain the total output current of the battery pack. Then, the change in the SOC of the battery pack is calculated in combination with the discharge time of the battery pack, thereby determining the remaining capacity / remaining discharge time of the battery pack.
[0058] For example, the discharge time of a shared battery pack can be calculated using the following formula: Among them, SOC t1 I represents the remaining charge of the battery pack, and I3 represents the discharge current of the battery pack.
[0059] Under different operating conditions, the method of this application embodiment can be used to calculate the change in SOC of the battery, ensuring that the calculated remaining battery capacity and remaining time are true and accurate, and can reflect the actual health status of the battery.
[0060] In one embodiment, the SOC of the shared battery pack is sent to the host computer monitoring device of this UPS.
[0061] In one embodiment, the SOC of the shared battery pack is sent to other UPS devices in the UPS system so that each UPS device displays an accurate SOC for user monitoring.
[0062] To implement the method of the embodiments of this application, the embodiments of this application also provide a UPS system. The UPS system includes a battery pack and at least two UPS devices connected to the battery pack. For details, please refer to... Figure 1 and Figure 2The UPS equipment is used to implement the scheme of the above method embodiments, and its specific implementation process is detailed in the method embodiments, which will not be repeated here.
[0063] Based on the hardware implementation of the above program modules, and in order to implement the method of the embodiments of this application, the embodiments of this application also provide a UPS device. Figure 9 This is a schematic diagram of the hardware composition structure of the UPS device according to an embodiment of this application, such as... Figure 9 As shown, the UPS device includes: The communication interface 901 enables information exchange with other devices, such as network devices. The processor 902 is connected to the communication interface 901 to enable information interaction with other devices and to execute the methods provided by one or more of the above-mentioned technical solutions when running computer programs.
[0064] The memory 903 stores a computer program, which, when executed by the processor 902, is configured to: determine the operating status of the AC / DC module and DC / AC module of each UPS device through communication between the various UPS devices; and select a target UPS device from the at least two UPS devices to charge the battery pack based on the operating status of the AC / DC module and DC / AC module of each UPS device.
[0065] Furthermore, according to at least one embodiment of this application, the processor 902 is configured to: if there is a UPS device with an abnormal DC / AC module operating state, select a UPS device with an abnormal DC / AC module operating state and a normal AC / DC module operating state as the target UPS device.
[0066] Furthermore, according to at least one embodiment of this application, the processor 902 is configured to: if there is no UPS device with an abnormal operating state of the DC / AC module, select any UPS device with a normal operating state of the AC / DC module as the target UPS device.
[0067] Furthermore, according to at least one embodiment of this application, the processor 902 is configured to: select the second UPS device as the target UPS device when the DC / AC module of the first UPS device is in normal working condition, the DC / AC module of the second UPS device is in abnormal working condition, or the AC / DC modules of both the first UPS device and the second UPS device are in normal working condition. If the DC / AC module of the first UPS device is working normally, the DC / AC module of the second UPS device is working abnormally, the AC / DC module of the first UPS device is working abnormally, and the AC / DC module of the second UPS device is working normally, then the second UPS device is selected as the target UPS device.
[0068] Furthermore, according to at least one embodiment of this application, the processor 902 is configured to: select any one of the UPS devices as the target UPS device when the DC / AC modules of the first UPS device and the second UPS device are both in normal working condition and the AC / DC modules of the first UPS device and the second UPS device are both in normal working condition. If the DC / AC modules of the first UPS device and the second UPS device are operating normally, the AC / DC module of the first UPS device is operating abnormally, and the AC / DC module of the second UPS device is operating normally, then the second UPS device is selected as the target UPS device. If the DC / AC modules of both the first and second UPS devices are operating normally, or if the AC / DC modules of both the first and second UPS devices are operating abnormally, the battery pack will not be charged, and an alarm will be triggered.
[0069] Furthermore, according to at least one embodiment of this application, the processor 902 is configured to: determine the input current of the DC / DC module of the first UPS device based on the power consumption of the load; The charging current of the battery pack is determined based on the output current of the DC / DC module of the second UPS device and the input current of the DC / DC module of the first UPS device. The change in the state of charge (SOC) of the battery pack is determined based on the charging current and charging time.
[0070] Furthermore, according to at least one embodiment of this application, the processor 902 is configured to: if any UPS device is selected as the target UPS device, determine the change in the SOC of the battery pack based on the output current of the DC / DC module of the target UPS device and the charging time of the battery pack; If the second UPS device is selected as the target UPS device, the charging current of the battery pack is determined based on the output current of the DC / DC module of the second UPS device and the input current of the DC / DC module of the first UPS device; the change in SOC of the battery pack is determined based on the charging current and the charging time.
[0071] Furthermore, according to at least one embodiment of this application, the processor 902 is configured to determine the change in the SOC of the battery pack based on the input current of the DC / DC modules of the first UPS device and the second UPS device, and the discharge time of the battery pack.
[0072] Of course, in practical applications, the various components in a UPS device are coupled together via a bus system 904. It can be understood that the bus system 904 is used to achieve communication and connection between these components. In addition to the data bus, the bus system also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 9 The general designated all buses as Bus System 904.
[0073] The memory 903 in this embodiment is used to store various types of data to support the operation of the computer device. Examples of such data include any computer program used to operate on the UPS device.
[0074] It is understood that memory 903 can be volatile memory or non-volatile memory, or both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), ferromagnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM); magnetic surface memory can be disk storage or magnetic tape storage. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), SyncLink Dynamic Random Access Memory (SLDRAM), and Direct Rambus Random Access Memory (DRRAM).The memories described in the embodiments of this application are intended to include, but are not limited to, these and any other suitable types of memories.
[0075] The methods disclosed in the embodiments of this application can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, which is located in memory. The processor reads the program from the memory and, in conjunction with its hardware, completes the steps of the aforementioned method.
[0076] Optionally, when the processor 902 executes the program, it implements the corresponding processes implemented by the computer device in the various methods of the embodiments of this application. For the sake of brevity, these will not be described in detail here.
[0077] In an exemplary embodiment, this application also provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, such as a first memory storing a computer program, which can be executed by a processor of a computer device to complete the steps described in the aforementioned method. The computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM.
[0078] In the several embodiments provided in this application, it should be understood that the disclosed apparatus, computer devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components may be combined, or integrated into another system, or some features may be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0079] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.
[0080] In addition, each functional unit in the various embodiments of this application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0081] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, ROM, RAM, magnetic disks, or optical disks.
[0082] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to related technologies, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, RAM, magnetic disks, or optical disks.
[0083] In an exemplary embodiment, this application also provides a computer program product, including a computer program that can be executed by the processor 902 of a UPS device to complete the steps described in the charging control method for a shared battery pack according to the embodiments of this application.
[0084] It should be noted that terms such as "first" and "second" are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0085] Furthermore, the technical solutions described in the embodiments of this application can be combined arbitrarily without conflict.
[0086] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A charging control method for a shared battery pack, applied to an uninterruptible power supply (UPS) system with a shared battery pack, the UPS system comprising a battery pack and at least two UPS devices connected to the battery pack, each UPS device being communicatively connected to each other, each UPS comprising an AC-to-DC converter, a DC-to-AC converter, and a DC-to-DC converter, the battery terminals of the DC / DC modules of each UPS device being interconnected and connected to the battery pack, the DC / AC modules being connected to the load device, and the AC / DC modules being connected to AC mains power, characterized in that... The charging control method includes: The operating status of the AC / DC module and DC / AC module of each UPS device is determined through communication between the various UPS devices; Based on the operating status of the AC / DC module and DC / AC module of each UPS device, a target UPS device is selected from the at least two UPS devices to charge the battery pack.
2. The method according to claim 1, characterized in that, The step of selecting a target UPS device from at least two UPS devices to charge the battery pack based on the operating status of the AC / DC module and DC / AC module of each UPS device includes: If there is a UPS device with an abnormal DC / AC module, then the UPS device with an abnormal DC / AC module but a normal AC / DC module is selected as the target UPS device.
3. The method according to claim 1, characterized in that, The method further includes: If there is no UPS device with an abnormal DC / AC module, then any UPS device with a normal AC / DC module is selected as the target UPS device.
4. The method according to claim 2, characterized in that, The at least two UPS devices include a first UPS device and a second UPS device. If a UPS device has an abnormal DC / AC module operation, then the UPS device with an abnormal DC / AC module operation but a normal AC / DC module operation is selected as the target UPS device, including: If the DC / AC module of the first UPS device is working normally, the DC / AC module of the second UPS device is working abnormally, or both the AC / DC modules of the first UPS device and the second UPS device are working normally, then the second UPS device is selected as the target UPS device. If the DC / AC module of the first UPS device is working normally, the DC / AC module of the second UPS device is working abnormally, the AC / DC module of the first UPS device is working abnormally, and the AC / DC module of the second UPS device is working normally, then the second UPS device is selected as the target UPS device.
5. The method according to claim 3, characterized in that, The at least two UPS devices include a first UPS device and a second UPS device. If no UPS device has an abnormal DC / AC module operation status, then any UPS device with a normal AC / DC module operation status is selected as the target UPS device, including: If the DC / AC modules of the first UPS device and the second UPS device are both operating normally, and the AC / DC modules of the first UPS device and the second UPS device are both operating normally, then any one of the UPS devices can be selected as the target UPS device. If the DC / AC modules of the first UPS device and the second UPS device are operating normally, the AC / DC module of the first UPS device is operating abnormally, and the AC / DC module of the second UPS device is operating normally, then the second UPS device is selected as the target UPS device. If the DC / AC modules of both the first and second UPS devices are operating normally, or if the AC / DC modules of both the first and second UPS devices are operating abnormally, the battery pack will not be charged, and an alarm will be triggered.
6. The method according to claim 4, characterized in that, If the second UPS device is selected as the target UPS device, the method further includes: The input current of the DC / DC module of the first UPS device is determined based on the power consumption of the load. The charging current of the battery pack is determined based on the output current of the DC / DC module of the second UPS device and the input current of the DC / DC module of the first UPS device. The change in the state of charge (SOC) of the battery pack is determined based on the charging current and charging time.
7. The method according to claim 5, characterized in that, The method further includes: If any UPS device is selected as the target UPS device, the change in the SOC of the battery pack is determined based on the output current of the DC / DC module of the target UPS device and the charging time of the battery pack. If the second UPS device is selected as the target UPS device, the charging current of the battery pack is determined based on the output current of the DC / DC module of the second UPS device and the input current of the DC / DC module of the first UPS device; the change in SOC of the battery pack is determined based on the charging current and the charging time.
8. The method according to claim 5, characterized in that, When both the AC / DC modules of the first UPS and the second UPS are malfunctioning, the battery pack supplies power to the load, and the method further includes: The change in SOC of the battery pack is determined based on the input current of the DC / DC modules of the first UPS device and the second UPS device, and the discharge time of the battery pack.
9. A UPS system, characterized in that, The UPS system includes a battery pack and at least two UPS devices connected to the battery pack, wherein the UPS devices are used to perform the steps of the method according to any one of claims 1 to 8.