UPS (Uninterrupted Power Supply) control method and device
By generating a cut-off plan and predicting the remaining backup time in the UPS, the process of cutting off abnormal battery clusters is optimized, which solves the safety and backup time problems caused by abnormal battery clusters in the UPS, and realizes the safe operation of the UPS and sufficient backup time.
Patent Information
- Application Number
- CN202511819568.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-04
- Publication Date
- 2026-02-27
AI Technical Summary
When there are abnormal battery clusters in a UPS, existing technologies cannot ensure the safe operation of the UPS while maintaining sufficient backup time. Directly disconnecting the abnormal clusters may shorten the backup time, while not disconnecting them may cause circulating current, thermal runaway or cascading failures.
By determining the number of abnormal battery clusters and the degree of failure, a disconnection plan is generated and a priority is set. The remaining backup time of the UPS after disconnection is predicted, and disconnection is carried out only when the current backup time requirement is met, so as to ensure the safe operation of the UPS and sufficient backup time.
When abnormal battery clusters exist in a UPS, the optimization of the target disconnection scheme avoids the shortened backup time caused by direct disconnection, ensuring the normal operation of the UPS and sufficient remaining backup time, and reducing the probability of failure.
Smart Images

Figure CN121584852A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of uninterruptible power supplies, and particularly to a control method and device for a UPS. Background Technology
[0002] A UPS (Uninterruptible Power Supply) is a device that ensures a continuous, stable, and clean power supply to the load when the mains power is abnormal. This protects the load from power outages and prevents data loss, business interruption, or even safety incidents. UPS systems typically include multiple battery clusters connected in parallel to enhance power rating and redundancy. However, if a faulty battery cluster exists within the UPS, directly disconnecting it may severely shorten the overall backup time, failing to guarantee uninterrupted power supply to the load. Conversely, while not disconnecting the faulty cluster may maintain the original backup time, it could induce circulating current, thermal runaway, or cascading failures, ultimately leading to the failure of the entire UPS.
[0003] Therefore, how to ensure the safe operation of a UPS while ensuring sufficient backup time when abnormal clusters occur in the UPS is a problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0004] The purpose of this invention is to provide a UPS control method and device. When there is an abnormal battery cluster in the UPS, the abnormal battery cluster is not directly disconnected. Instead, the abnormal battery cluster is actually disconnected according to the target disconnection plan only after ensuring that the preset remaining backup time of the UPS is not less than the current backup time requirement. This avoids the abnormal battery cluster affecting the normal operation of the UPS while ensuring that the remaining backup time of the UPS is sufficient.
[0005] To solve the above-mentioned technical problems, the present invention provides a UPS control method, comprising:
[0006] The target removal plan is determined based on the number of abnormal battery clusters in the UPS and the degree of failure of each abnormal battery cluster.
[0007] Determine the current backup time requirement of the UPS;
[0008] The predicted remaining backup time of the UPS after the abnormal battery cluster in the UPS is removed according to the target removal plan;
[0009] If the predicted remaining backup time is not less than the current backup time requirement, the abnormal battery clusters in the UPS are disconnected according to the target disconnection plan.
[0010] Preferably, the target removal scheme is determined according to the number of abnormal battery clusters existing in the UPS and the failure degree of each abnormal battery cluster, comprising:
[0011] generating a plurality of removal schemes based on the number of abnormal battery clusters existing in the UPS, and determining the priority order of each removal scheme according to the failure degree of each abnormal battery cluster;
[0012] determining the first removal scheme as the target removal scheme according to the priority order of each removal scheme;
[0013] predicting the predicted remaining backup time of the UPS after the abnormal battery clusters in the UPS are removed according to the target removal scheme, and further comprising:
[0014] in the case that the predicted remaining backup time is less than the current backup time requirement, setting the next removal scheme as the target removal scheme according to the priority order of each removal scheme, and returning to the step of determining the current backup time requirement of the UPS;
[0015] after the abnormal battery clusters in the UPS are removed according to the target removal scheme, further comprising:
[0016] returning to the step of generating a plurality of removal schemes based on the number of abnormal battery clusters existing in the UPS, and determining the priority order of each removal scheme according to the failure degree of each abnormal battery cluster.
[0017] Preferably, before the next removal scheme is set as the target removal scheme according to the priority order of each removal scheme, further comprising:
[0018] in the case that the predicted remaining backup time is less than the current backup time requirement, if the target removal scheme is the last removal scheme, determining whether the current backup time requirement is not greater than a preset backup time requirement;
[0019] if yes, removing the abnormal battery cluster with the most serious failure degree in the UPS;
[0020] if no, returning to the step of generating a plurality of removal schemes based on the number of abnormal battery clusters existing in the UPS, and determining the priority order of each removal scheme according to the failure degree of each abnormal battery cluster.
[0021] Preferably, before setting the next one of the removal schemes as the target removal scheme in the order of priority of each of the removal schemes, further comprises:
[0022] determining a current remaining backup time of the UPS;
[0023] if the current remaining backup time is less than the current backup time requirement, the predicted remaining backup time is less than the current backup time requirement, and the predicted remaining backup time is less than the current remaining backup time, entering the step of setting the next one of the removal schemes as the target removal scheme in the order of priority of each of the removal schemes;
[0024] if the current remaining backup time is less than the current backup time requirement, the predicted remaining backup time is less than the current backup time requirement, but the predicted remaining backup time is not less than the current remaining backup time, entering the step of removing the abnormal battery cluster in the UPS according to the target removal scheme.
[0025] Preferably, determining the current remaining backup time of the UPS, comprises:
[0026] determining a remaining capacity of each cluster battery cluster in the UPS;
[0027] determining a discharge speed of the UPS based on a ratio of a discharge integral of the UPS to a discharge time during discharging of the UPS;
[0028] determining a current cluster remaining backup time of each cluster battery cluster in the UPS based on the remaining capacity of each cluster battery cluster in the UPS and the discharge speed, respectively;
[0029] determining the current remaining backup time as the smallest current cluster remaining backup time among the cluster battery clusters.
[0030] Preferably, after determining the current backup time requirement of the UPS, further comprises:
[0031] determining whether the current backup time requirement is less than a preset minimum backup time requirement;
[0032] if not, entering the step of predicting a predicted remaining backup time of the UPS after removing the abnormal battery cluster in the UPS according to the target removal scheme;
[0033] if yes, removing each cluster abnormal battery cluster in the UPS.
[0034] Preferably, after removing each cluster abnormal battery cluster in the UPS, further comprises:
[0035] determining whether there is an abnormal battery cluster in the UPS;
[0036] If yes, returning to a step of determining a target removal scheme according to the number of abnormal battery clusters and the fault degree of each cluster in the UPS.
[0037] Preferably, the current backup time requirement of the UPS is determined, comprising:
[0038] obtaining the cumulative discharge time after the self-discharge current of the UPS is greater than the preset discharge current;
[0039] determining the difference between the rated backup time of the UPS and the cumulative discharge time as the current backup time requirement.
[0040] Preferably, the predicted remaining backup time of the UPS after the abnormal battery clusters in the UPS are removed according to the target removal scheme is predicted, comprising:
[0041] predicting the predicted cluster number of the predicted remaining battery clusters and the cluster voltage of each cluster of the predicted remaining battery clusters in the UPS after the abnormal battery clusters in the UPS are removed according to the target removal scheme;
[0042] determining the average value of the cluster voltage between each cluster of the predicted remaining battery clusters;
[0043] determining the predicted discharge current of the UPS based on the ratio between the rated discharge power of the UPS and the average value of the cluster voltage;
[0044] determining the proportional coefficient of each cluster of the predicted remaining battery clusters based on the ratio between the cluster voltage of each cluster of the predicted remaining battery clusters and the average value of the cluster voltage;
[0045] determining the cluster branch current of each cluster of the predicted remaining battery clusters based on the first product between the predicted discharge current and the proportional coefficient of each cluster of the predicted remaining battery clusters and the ratio between the predicted cluster number;
[0046] determining the predicted cluster remaining backup time of each cluster of the predicted remaining battery clusters based on the ratio between the remaining capacity of each cluster of the predicted remaining battery clusters and the cluster branch current of each cluster of the predicted remaining battery clusters;
[0047] determining the predicted remaining backup time as the minimum predicted cluster remaining backup time of each cluster of the predicted remaining battery clusters.
[0048] To solve the above technical problems, the application provides a UPS control device, comprising:
[0049] a memory for storing the computer program;
[0050] a processor for implementing the steps of the control method of the UPS as described above when executing the computer program.
[0051] The application provides a control method and device of a UPS. The target removal scheme is determined according to the cluster number of abnormal battery clusters and the fault degree of each cluster abnormal battery cluster in the UPS, the predicted remaining backup time of the UPS after the abnormal battery clusters in the UPS are removed according to the target removal scheme is predicted, and the abnormal battery clusters in the UPS are removed according to the target removal scheme when the predicted remaining backup time is not less than the current backup time requirement. Based on this, when there are abnormal battery clusters in the UPS, the abnormal battery clusters are not directly removed, but the abnormal battery clusters in the UPS are actually removed according to the target removal scheme only when the preset remaining backup time of the UPS is not less than the current backup time requirement after ensuring that the abnormal battery clusters in the UPS are removed according to the target removal scheme, thereby avoiding the influence of the abnormal battery clusters on the normal work of the UPS and ensuring the sufficiency of the remaining backup time of the UPS. BRIEF DESCRIPTION OF DRAWINGS
[0052] In order to more clearly illustrate the embodiments of the application, the drawings needed in the embodiments will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative labor.
[0053] Figure 1 a flowchart of the control method of the UPS provided by the application;
[0054] Figure 2 a structural diagram of the control system of the UPS provided by the application;
[0055] Figure 3 a structural diagram of the control device of the UPS provided by the application;
[0056] Figure 4 a structural diagram of the computer readable storage medium provided by the application. DETAILED DESCRIPTION
[0057] The core of the present application is to provide a UPS control method and device, when there is an abnormal battery cluster in the UPS, the abnormal battery cluster is not directly removed, but after ensuring that the abnormal battery cluster in the UPS is removed according to the target removal scheme, the preset remaining backup time of the UPS is not less than the current backup time requirement, and then the actual removal of the abnormal battery cluster in the UPS is carried out according to the target removal scheme, avoiding the influence of the abnormal battery cluster on the normal work of the UPS, and ensuring the sufficiency of the remaining backup time of the UPS.
[0058] In order to make the purpose, technical scheme and advantages of the embodiments of the present application more clear, the technical scheme in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0059] Please refer to Figure 1 , Figure 1 The flowchart of a UPS control method provided by the present application is shown in the figure, and the method comprises:
[0060] S11: determining a target removal scheme according to the number of abnormal battery clusters existing in the UPS and the fault degree of each cluster of abnormal battery clusters;
[0061] UPS is a kind of uninterrupted power supply, when the city power for supplying power to load appears flash, recess or continuous power failure, UPS can undertake all loads within milliseconds, to provide uninterrupted power supply for load, avoid large range of data loss, business interruption even safety accident of load. With the explosive growth of computing power density and cloud business, UPS generally adopts multi-battery cluster parallel architecture to improve power level and redundancy. However, the parallel of multi-cluster battery cluster not only brings high reliability power supply, but also introduces other problems:
[0062] If the safe operation of UPS is preferentially guaranteed, the traditional UPS control strategy immediately removes the cluster battery cluster when any cluster battery cluster in the UPS appears slight abnormality, even reduces the whole UPS or turns bypass, resulting in waste of backup time and inability to provide sufficient power supply time for load;
[0063] And if the faulty battery cluster is not removed, but the continued operation of the cluster battery cluster is maintained, although the backup time of the UPS can be ensured, the faulty battery cluster may induce circulating current, thermal runaway or cascading failure problems, and eventually evolve into systematic power failure of the UPS.
[0064] In the scenario of large data centers, both zero interruption power supply of the load and sufficient backup time provided by the UPS are required, and the loss of any of the two will directly translate into economic loss and compliance risk. Therefore, a control method of the UPS capable of predicting the backup time is required, that is, ensuring the backup time while ensuring the safe operation of the UPS.
[0065] Based on this, in the present application, when there are abnormal battery clusters in the UPS, the abnormal battery clusters are not directly removed from the UPS, nor are they directly kept in the power supply state. Instead, the target removal scheme is determined according to the number of abnormal battery clusters and the fault degree of each cluster of abnormal battery clusters, for example, determining the target removal scheme of removing one cluster of abnormal battery clusters or removing multiple clusters of abnormal battery clusters from each abnormal battery cluster, so as to subsequently remove the abnormal battery clusters according to the target removal scheme.
[0066] S12: determining the current backup time requirement of the UPS;
[0067] It is also necessary to determine whether the target removal scheme meets the current backup time requirement. The backup time requirement is pre-set, and the continuous power time required by the load after the power failure. The current backup time requirement is the continuous power time required by the load when the UPS has started to supply power to the load or has not started to supply power to the load, but detects that there are abnormal battery clusters in the UPS.
[0068] S13: predicting the predicted remaining backup time of the UPS after removing the abnormal battery clusters in the UPS according to the target removal scheme;
[0069] Before removing the abnormal battery clusters according to the target removal scheme, the prediction of the predicted remaining backup time is performed, that is, the remaining backup time of the UPS after removing the abnormal battery clusters in the UPS according to the target removal scheme, which can still supply power to the load, is predicted.
[0070] Specifically, a UPS model can be established, and the removal simulation of the abnormal battery clusters of the UPS model according to the pre-set target removal scheme can be performed to determine the predicted remaining backup time, or the calculation of the predicted remaining backup time can be directly performed according to the state of the remaining battery clusters in the UPS after removing the abnormal battery clusters in the UPS according to the target removal scheme, which is not limited in the present application.
[0071] S14: removing the abnormal battery clusters in the UPS according to the target removal scheme in the case that the predicted remaining backup time is not less than the current backup time requirement.
[0072] If the predicted remaining backup time is not less than the current backup time requirement, it can be determined that the UPS can still provide sufficient backup time for the load after the abnormal battery cluster in the UPS is removed according to the target removal scheme, so as to ensure that the load completes the unfinished work, or ensures that the load can complete the storage of data to avoid the loss of data, at this time, the actual removal of the abnormal battery cluster in the UPS according to the target removal scheme can be performed in the actual situation to ensure the safe work of the UPS. Based on this, the probability of UPS failure can be reduced while ensuring that the current backup time requirement of the load is met.
[0073] In summary, when there is an abnormal battery cluster in the UPS, the abnormal battery cluster is not directly removed, but when the preset remaining backup time of the UPS is not less than the current backup time requirement after the abnormal battery cluster in the UPS is removed according to the target removal scheme, the actual removal of the abnormal battery cluster in the UPS according to the target removal scheme is performed, which avoids the influence of the abnormal battery cluster on the normal work of the UPS while ensuring the sufficiency of the remaining backup time of the UPS. And as a non-instantaneous backup time algorithm, it is less fluctuating and more linear than the instantaneous current type algorithm.
[0074] On the basis of the above embodiment:
[0075] As a preferred embodiment, the target removal scheme is determined according to the number of abnormal battery clusters and the failure degree of each abnormal battery cluster in the UPS, which includes:
[0076] A plurality of removal schemes are generated based on the number of abnormal battery clusters in the UPS, and the priority order of each removal scheme is determined according to the failure degree of each abnormal battery cluster;
[0077] The first removal scheme is determined as the target removal scheme according to the priority order of each removal scheme;
[0078] After predicting the predicted remaining backup time of the UPS after the abnormal battery cluster in the UPS is removed according to the target removal scheme, it further includes:
[0079] In the case that the predicted remaining backup time is less than the current backup time requirement, the next removal scheme is set as the target removal scheme according to the priority order of each removal scheme, and the step of determining the current backup time requirement of the UPS is returned;
[0080] After the abnormal battery cluster in the UPS is removed according to the target removal scheme, it further includes:
[0081] Returning to the step of generating a plurality of removal schemes based on the number of abnormal battery clusters in the UPS, and determining the priority order of each removal scheme according to the failure degree of each abnormal battery cluster.
[0082] First, a number of removal schemes are generated according to the number of abnormal battery clusters in the UPS, for example, if the number of abnormal battery clusters in the UPS is three, then in the removal scheme, at most three abnormal battery clusters can be removed at the same time, or only one cluster can be removed, and the data of the removal scheme can be calculated according to the following formula:
[0083] ;
[0084] Wherein, m is the number of abnormal battery clusters, based on the above formula, the sum from k is 1 to k is m, that is, the number of removal schemes. For example, when m is 3, that is, the number of abnormal battery clusters in the UPS is 3, the number of removal schemes can be calculated as 7, and when the fault degrees of the three abnormal battery clusters are serious fault, moderate fault and slight fault respectively, the first removal scheme can be determined according to the priority order as removing all the three abnormal battery clusters, the second removal scheme as removing the abnormal battery cluster with serious fault and the abnormal battery cluster with moderate fault, the third removal scheme as removing the abnormal battery cluster with serious fault and the abnormal battery cluster with slight fault, the fourth removal scheme as removing the abnormal battery cluster with moderate fault and the abnormal battery cluster with slight fault, the fifth removal scheme as removing the abnormal battery cluster with serious fault, the sixth removal scheme as removing the abnormal battery cluster with moderate fault, and the seventh removal scheme as removing the abnormal battery cluster with slight fault.
[0085] First, the predicted remaining backup time of the UPS after the abnormal battery clusters in the UPS are removed according to the first removal scheme is predicted, if the predicted remaining backup time is less than the current backup time requirement, then the abnormal battery clusters in the UPS are not actually removed according to the first removal scheme, but the predicted remaining backup time of the UPS after the abnormal battery clusters in the UPS are removed according to the second removal scheme is predicted, if the predicted remaining backup time is less than the current backup time requirement, then the abnormal battery clusters in the UPS are still not actually removed according to the second removal scheme, the predicted remaining backup time of the UPS after the abnormal battery clusters in the UPS are removed according to the third removal scheme is predicted, and so on, until the removal scheme that makes the predicted remaining backup time not less than the current backup time requirement is determined as the target removal scheme, so that the abnormal battery clusters in the UPS are removed according to the target removal scheme in the case that the predicted remaining backup time is not less than the current backup time requirement.
[0086] After determining the fourth removal scheme as the target removal scheme, the abnormal battery cluster in the UPS is removed according to the target removal scheme, and the cluster number of the abnormal battery cluster remaining in the UPS is generated again based on the removal of the abnormal battery cluster in the UPS according to the target removal scheme. The priority order of each removal scheme is determined according to the fault degree of each abnormal battery cluster, and each newly generated removal scheme is traversed again to determine whether the removal of the abnormal battery cluster needs to be continued. It should be noted that the calculation and update of the current backup time requirement need to be performed again, and the traversal of the removal scheme is performed again.
[0087] It should be noted that if the predicted remaining backup time of the UPS after the removal of the abnormal battery cluster in the UPS according to each removal scheme is less than the current backup time requirement, the abnormal battery cluster is not removed first, but the current backup time requirement is prioritized to ensure that the power demand of the load is met.
[0088] As a preferred embodiment, before setting the next removal scheme as the target removal scheme according to the priority order of each removal scheme, the method further comprises:
[0089] In the case where the predicted remaining backup time is less than the current backup time requirement, if the target removal scheme is the last removal scheme, it is determined whether the current backup time requirement is not greater than the preset backup time requirement;
[0090] If yes, the abnormal battery cluster with the most serious fault degree in the UPS is removed;
[0091] If no, the step of generating a plurality of removal schemes based on the cluster number of the abnormal battery cluster existing in the UPS and determining the priority order of each removal scheme according to the fault degree of each abnormal battery cluster is returned.
[0092] If the predicted remaining backup time of the UPS after the removal of the abnormal battery cluster according to each removal scheme is less than the current backup time requirement, that is, if the predicted remaining backup time of the seventh removal scheme is also less than the current backup time requirement after the determination of seven removal schemes, it can be determined that the current backup time requirement of the load cannot be met regardless of which removal scheme is used to remove the abnormal battery cluster. Then, the abnormal battery cluster is not removed first, and it is determined whether the current backup time requirement is not greater than the preset backup time requirement, that is, whether the current backup time requirement is low. If the current backup time requirement is not greater than the preset backup time requirement, it can be determined that the load has completed most of the power outage preparation work after the power outage. At this time, in order to protect the UPS, the abnormal battery cluster with the most serious fault degree in the UPS can be removed first, although part of the backup time will be sacrificed, but the UPS can be properly protected. Based on this, the number of removal schemes is generated again based on the number of abnormal battery clusters remaining in the UPS, and the priority order of each removal scheme is determined according to the fault degree of each abnormal battery cluster. The newly generated removal schemes are traversed again to determine whether the removal of the abnormal battery cluster needs to be continued, and the cycle is repeated. It should be noted that the calculation and update of the current backup time requirement and the traversal of the removal scheme need to be performed again in each cycle.
[0093] The preset backup time requirement can be, but is not limited to, 1 / 3 of the rated backup time of the UPS.
[0094] As a preferred embodiment, before the next removal scheme is set as the target removal scheme according to the priority order of each removal scheme in the case that the predicted remaining backup time is less than the current backup time requirement, it further includes:
[0095] determining the current remaining backup time of the UPS;
[0096] in the case that the current remaining backup time is less than the current backup time requirement, the predicted remaining backup time is less than the current backup time requirement, and the predicted remaining backup time is less than the current remaining backup time, entering the step of setting the next removal scheme as the target removal scheme according to the priority order of each removal scheme;
[0097] in the case that the current remaining backup time is less than the current backup time requirement, the predicted remaining backup time is less than the current backup time requirement, but the predicted remaining backup time is not less than the current remaining backup time, entering the step of removing the abnormal battery cluster in the UPS according to the target removal scheme.
[0098] In the embodiment, when switching the prediction of the removal scheme, the current remaining backup time of the UPS is determined first, that is, when the removal of the battery cluster in the current cycle has not been performed, the remaining backup time that the UPS can provide for the load is calculated according to each battery cluster in the UPS, if the current remaining backup time of the UPS is less than the current backup time demand, it can be determined that the UPS cannot meet the backup time demand of the load under the current condition, if the predicted remaining backup time is less than the current backup time demand, after the abnormal battery cluster in the UPS is removed according to the target removal scheme, the UPS also cannot meet the backup time demand of the load, if the predicted remaining backup time is less than the current remaining backup time, the remaining backup time of the UPS after the abnormal battery cluster in the UPS is removed according to the target removal scheme will even be less than the remaining backup time before the removal, therefore, it can be determined that the removal of the abnormal battery cluster in the UPS according to the target removal scheme cannot meet the power supply demand of the load, which may cause the problem of data loss of the load due to the lack of power-off preparation, therefore, the target removal scheme is not the current executable removal operation scheme, the next removal scheme can be set as the target removal scheme and the above three determination conditions are determined again.
[0099] If the current remaining backup time is less than the current backup time demand, the predicted remaining backup time is less than the current backup time demand, but the predicted remaining backup time is not less than the current remaining backup time, it can be determined that although the remaining backup time of the UPS under the current condition cannot meet the backup time demand of the load, and the predicted remaining backup time of the UPS after the abnormal battery cluster in the UPS is removed according to the target removal scheme also cannot meet the backup time demand of the load, the predicted remaining backup time of the UPS after the abnormal battery cluster in the UPS is removed according to the target removal scheme is not less than the current remaining backup time, that is, the remaining backup time of the UPS after the abnormal battery cluster in the UPS is removed according to the target removal scheme will increase, therefore, the removal according to the target removal scheme can not only improve the safety of the UPS, but also improve the remaining backup time of the UPS, the removal according to the target removal scheme can be performed.
[0100] It should be noted that no matter which removal scheme is used to remove the abnormal battery cluster, the calculation of the current backup time demand and the regeneration and traversal of the removal scheme need to be performed again. Since the generation and traversal of the removal scheme are short in time, the calculation of the current backup time demand can be performed only once in a traversal cycle, or the calculation of the current backup time demand can be performed once when the target removal scheme is switched.
[0101] As a preferred embodiment, the current remaining backup time of the UPS is determined, including:
[0102] determining the residual capacity of each cluster battery cluster in the UPS;
[0103] determining the discharge speed of the UPS based on the ratio of the discharge integral of the UPS to the discharge time during the discharge process of the UPS;
[0104] determining the current cluster residual backup time of each cluster battery cluster based on the residual capacity and the discharge speed of each cluster battery cluster in the UPS respectively;
[0105] determining the minimum current cluster residual backup time of each cluster battery cluster as the current residual backup time.
[0106] In determining the current residual backup time of the UPS, the residual capacity of each cluster battery cluster in the UPS can be determined first, and the current cluster residual backup time of each cluster battery cluster can be determined based on the discharge speed of the UPS respectively, and the minimum current cluster residual backup time of each cluster battery cluster can be determined as the current residual backup time, that is, if the UPS includes three cluster battery clusters, the current cluster residual backup time of the first cluster battery cluster is 28 min, the current cluster residual backup time of the second cluster battery cluster is 29 min, and the current cluster residual backup time of the third cluster battery cluster is 30 min, then the current residual backup time of the UPS can be determined as 28 min.
[0107] For the discharge speed of the UPS, the ratio of the discharge integral of the UPS to the discharge time can be used to determine the discharge speed, for example, if the discharge time during the process that the discharge integral of the UPS reaches 5‰ of the total capacity of the UPS from 0 is △t, then the ratio of the discharge integral to △t is the discharge speed of the UPS.
[0108] For example, the time when the UPS starts discharging is , the discharge current of the UPS is I, the UPS starts discharging at time , and the discharge integral of the UPS is:
[0109]
[0110] is the integral variable, the discharge time is:
[0111]
[0112] The discharge speed is:
[0113]
[0114] The current cluster residual backup time is:
[0115]
[0116] wherein, the current cluster remaining backup time of the i-th cluster of battery clusters in the UPS, the remaining capacity of the i-th cluster of battery clusters in the UPS, the state of health of the i-th cluster of battery clusters in the UPS, the capacity of the i-th cluster of battery clusters in the UPS, the capacity unit is 10 mAs, i is an integer greater than 0 but not greater than the total number of battery clusters in the UPS, and the time unit is 0.1 s.
[0117] It should be noted that the above current cluster remaining backup time unit is second, if it is switched to minute unit, it is:
[0118] .
[0119] After calculating the current cluster remaining backup time of each cluster of battery clusters in the UPS, the smallest current cluster remaining backup time is determined from the current cluster remaining backup time of each cluster of battery clusters, which is determined as the current remaining backup time .
[0120] As a preferred embodiment, after determining the current backup time requirement of the UPS, it further comprises:
[0121] determining whether the current backup time requirement is less than the preset minimum backup time requirement;
[0122] If not, it enters the step of predicting the predicted remaining backup time of the UPS after the abnormal battery clusters in the UPS are removed according to the target removal scheme;
[0123] If yes, the abnormal battery clusters in each cluster of the UPS are removed.
[0124] If the current backup time requirement of the load to the UPS is not less than the preset minimum backup time requirement, it can be determined that the load may not be ready for power failure, at this time, the calculation of the predicted remaining backup time according to the determined target removal scheme can be performed to determine the final removal scheme and removal. If the current backup time requirement of the load to the UPS is less than the preset minimum backup time requirement, it can be determined that the load is ready for power failure, at this time, the abnormal battery clusters in each cluster of the UPS can be removed, and the UPS is preferentially protected.
[0125] Wherein, the preset minimum backup time requirement can be but is not limited to 0.
[0126] As a preferred embodiment, after removing the abnormal battery clusters in each cluster of the UPS, it further comprises:
[0127] determining whether there is an abnormal battery cluster in the UPS;
[0128] If yes, return to the step of determining the target removal scheme according to the cluster number of the abnormal battery cluster and the fault degree of each cluster in the UPS.
[0129] After the abnormal battery cluster in the UPS is removed, if there is still an abnormal battery cluster in the UPS, continue to generate a plurality of removal schemes according to the cluster number of the abnormal battery cluster in the UPS, and reiterate the removal scheme to determine the scheme for removing the abnormal battery cluster.
[0130] As a preferred embodiment, the current backup time requirement of the UPS is determined, including:
[0131] The cumulative discharge time of the UPS after the self-discharge current is greater than the preset discharge current is obtained;
[0132] The difference between the rated backup time of the UPS and the cumulative discharge time is determined as the current backup time requirement.
[0133] When the UPS is working normally, the maximum backup time of the UPS is the rated backup time, which can be designed according to the demand of the load, and the maximum backup time of the UPS. After the self-discharge current of the UPS is greater than the preset discharge current, it can be determined that the UPS enters the power supply state, and the cumulative discharge time of the UPS is accumulated. The cumulative discharge time is a part of the rated backup time. After the UPS enters the power supply state, the current backup time requirement of the load to the UPS starts to decrease from the rated backup time, and the difference between the rated backup time and the cumulative discharge time is the backup time required by the load to the UPS in the current state.
[0134] Specifically, when the rated backup time is , the cumulative discharge time is , and the current backup time requirement is:
[0135] ;
[0136] The current backup time requirement is
[0137] When the state of the UPS is switched to charging, let .
[0138] As a preferred embodiment, the predicted remaining backup time of the UPS after the abnormal battery cluster in the UPS is removed according to the target removal scheme is predicted, including:
[0139] The predicted cluster number of the predicted remaining battery cluster and the cluster voltage of each cluster of the predicted remaining battery cluster in the UPS after the abnormal battery cluster in the UPS is removed according to the target removal scheme are predicted.
[0140] determining a cluster voltage average value between the cluster voltages of the predicted remaining battery clusters of each cluster;
[0141] determining a predicted discharge current of the UPS based on a ratio between the rated discharge power of the UPS and the cluster voltage average value;
[0142] determining a proportional coefficient of each predicted remaining battery cluster of each cluster based on a ratio between the cluster voltage of the predicted remaining battery cluster of each cluster and the cluster voltage average value;
[0143] determining a cluster branch current of each predicted remaining battery cluster of each cluster based on a first product between the predicted discharge current and the proportional coefficient of each predicted remaining battery cluster of each cluster and a ratio between the predicted cluster number;
[0144] determining a predicted cluster remaining backup time of each predicted remaining battery cluster of each cluster based on a ratio between the remaining capacity of each predicted remaining battery cluster of each cluster and the cluster branch current of each predicted remaining battery cluster of each cluster;
[0145] determining the predicted remaining backup time as the smallest predicted cluster remaining backup time among the predicted remaining battery clusters of each cluster.
[0146] In the embodiment, when the predicted remaining backup time of the UPS is calculated, the predicted cluster number and the cluster voltage of the predicted remaining battery cluster of the UPS after the abnormal battery cluster of the UPS is removed according to the target removal scheme are predicted first. For example, if there are three battery clusters in the UPS and the target removal scheme is to remove the abnormal battery cluster with a serious fault, the predicted cluster number of the predicted remaining battery cluster of the UPS is two and the cluster voltage of each predicted remaining battery cluster is the cluster voltage of each of the two predicted remaining battery clusters.
[0147] The average value of the cluster voltage of each predicted remaining battery cluster is the cluster voltage average value. For example, the cluster voltage average value is the sum of the cluster voltages of the two predicted remaining battery clusters divided by 2. The ratio between the cluster voltage of each predicted remaining battery cluster and the cluster voltage average value is the proportional coefficient of each predicted remaining battery cluster.
[0148] The cluster branch current of each predicted remaining battery cluster of each cluster is determined based on the first product between the predicted discharge current of the UPS and the proportional coefficient of each predicted remaining battery cluster of each cluster and the ratio between the predicted cluster number. The predicted cluster remaining backup time of each predicted remaining battery cluster of each cluster is obtained by dividing the remaining capacity of each predicted remaining battery cluster by the cluster branch current of each predicted battery cluster. The predicted remaining backup time is determined as the smallest predicted cluster remaining backup time among the predicted remaining battery clusters of each cluster.
[0149] Specifically, the corresponding relationship between the busbar current of the UPS, the rated discharge power of the UPS and the busbar voltage is:
[0150] ;
[0151] wherein, is the bus current of the UPS, is the rated discharge power of the UPS, is the bus voltage.
[0152] The predicted cluster number of the predicted remaining battery clusters in the UPS after the abnormal battery cluster in the UPS is removed according to the target removal scheme is n, and the cluster voltages of the predicted remaining battery clusters are in turn , and the cluster voltage average is:
[0153] ;
[0154] wherein, is the cluster voltage average.
[0155] Based on the above correspondence, the predicted discharge current of the UPS is:
[0156] ;
[0157] is the predicted discharge current of the UPS.
[0158] The proportional coefficient of the jth cluster predicted remaining battery cluster in the UPS is :
[0159] ;
[0160] wherein, is the cluster voltage of the jth cluster predicted remaining battery cluster in the UPS.
[0161] The cluster branch current of the jth cluster predicted remaining battery cluster is :
[0162] ;
[0163] The predicted cluster remaining backup time of the jth cluster predicted remaining battery cluster is:
[0164] ;
[0165] is the predicted cluster remaining backup time of the jth cluster predicted remaining battery cluster in the UPS, is the remaining capacity of the jth cluster predicted remaining battery cluster in the UPS, is the battery health state of the jth cluster predicted remaining battery cluster in the UPS, The battery capacity of the predicted remaining battery cluster for the jth cluster in the UPS is predicted, j being an integer greater than 0 but not greater than the number of predicted clusters.
[0166] It should be noted that the predicted cluster remaining backup time of the predicted remaining battery cluster is in seconds, and if the switching is in minutes, it is:
[0167]
[0168] After determining the predicted cluster remaining backup time of the predicted remaining battery cluster of each cluster in the UPS, the minimum predicted cluster remaining backup time of the predicted cluster remaining backup time of the predicted remaining battery cluster of each cluster is determined as the predicted remaining backup time
[0169] Please refer to Figure 2 Figure 2 A structure diagram of a control system of a UPS provided by the present application is shown in the figure, and the system comprises:
[0170] The first determination unit 21 is configured to determine a target removal scheme according to the number of abnormal battery clusters and the fault degree of each cluster abnormal battery cluster in the UPS;
[0171] The second determination unit 22 is configured to determine the current backup time requirement of the UPS;
[0172] The prediction unit 23 is configured to predict the predicted remaining backup time of the UPS after the abnormal battery cluster in the UPS is removed according to the target removal scheme;
[0173] The removal unit 24 is configured to remove the abnormal battery cluster in the UPS according to the target removal scheme if the predicted remaining backup time is not less than the current backup time requirement.
[0174] For the introduction of the control system of the UPS provided by the present application, please refer to the above method embodiment, and the present application will not be repeated here.
[0175] Please refer to Figure 3 Figure 3 A structure diagram of a control device of a UPS provided by the present application is shown in the figure, and the device comprises:
[0176] The memory 31 is configured to store a computer program;
[0177] The processor 32 is configured to implement the steps of the control method of the UPS as described above when executing the computer program.
[0178] For the introduction of the control device of the UPS provided by the present application, please refer to the above method embodiment, and the present application will not be repeated here.
[0179] Please refer to Figure 4 ,Figure 4 A structural diagram of a computer readable storage medium provided by the present application is shown in FIG. 41. The computer readable storage medium 41 stores a computer program 42. The computer program 42 is executed by the processor 32 to implement the steps of the control method of the UPS as described above.
[0180] The computer readable storage medium provided by the present application is described above with reference to the method embodiments. The present application will not be described here again.
[0181] It should be noted that the terms such as first and second are used herein only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the terms "comprising", "including" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or apparatus including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such a process, method, article or apparatus. Without more limitations, the element defined by the phrase "comprising a" does not exclude the presence of additional identical elements in the process, method, article or apparatus including the element.
[0182] The above description of the disclosed embodiments enables a person skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A control method for a UPS, characterized in that, include: The target removal plan is determined based on the number of abnormal battery clusters in the UPS and the degree of failure of each abnormal battery cluster. Determine the current backup time requirement of the UPS; The predicted remaining backup time of the UPS after the abnormal battery cluster in the UPS is removed according to the target removal plan; If the predicted remaining backup time is not less than the current backup time requirement, the abnormal battery clusters in the UPS are disconnected according to the target disconnection plan.
2. The UPS control method as described in claim 1, characterized in that, The target isolation plan is determined based on the number of abnormal battery clusters in the UPS and the degree of failure of each abnormal battery cluster, including: Several cutoff schemes are generated based on the number of abnormal battery clusters in the UPS, and the priority order of each cutoff scheme is determined according to the fault degree of each abnormal battery cluster. According to the priority order of the various resection plans, the first of the resection plans is determined as the target resection plan; After predicting the remaining backup time of the UPS following the predicted disconnection of the abnormal battery clusters in the UPS according to the target disconnection plan, the following steps are also included: If the predicted remaining backup time is less than the current backup time requirement, the next cut-off plan is set as the target cut-off plan according to the priority order of each cut-off plan, and the process returns to the step of determining the current backup time requirement of the UPS. After removing the abnormal battery clusters in the UPS according to the target removal plan, the process further includes: The steps involve generating several cut-off schemes based on the number of abnormal battery clusters in the UPS, and determining the priority order of each cut-off scheme according to the fault degree of each abnormal battery cluster.
3. The UPS control method as described in claim 2, characterized in that, Before setting the next resection plan as the target resection plan according to the priority order of the various resection plans, the method further includes: If the predicted remaining backup time is less than the current backup time requirement, and if the target cutoff plan is the last cutoff plan, then it is determined whether the current backup time requirement is not greater than the preset backup time requirement. If so, the abnormal battery cluster with the most severe fault in the UPS will be removed; If not, then return to the steps of generating several cut-off schemes based on the number of abnormal battery clusters in the UPS, and determining the priority order of each cut-off scheme according to the fault degree of each abnormal battery cluster.
4. The UPS control method as described in claim 2, characterized in that, If the predicted remaining backup time is less than the current backup time requirement, before setting the next cut-off plan as the target cut-off plan according to the priority order of the cut-off plans, the method further includes: Determine the current remaining backup time of the UPS; If the current remaining backup time is less than the current backup time requirement, the predicted remaining backup time is less than the current backup time requirement, and the predicted remaining backup time is less than the current remaining backup time, then proceed to the step of setting the next resection plan as the target resection plan according to the priority order of each resection plan. If the current remaining backup time is less than the current backup time requirement, or the predicted remaining backup time is less than the current backup time requirement but not less than the current remaining backup time, proceed to the step of disconnecting the abnormal battery cluster in the UPS according to the target disconnection plan.
5. The UPS control method as described in claim 4, characterized in that, Determining the current remaining backup time of the UPS includes: Determine the remaining capacity of each battery cluster in the UPS; The discharge rate of the UPS is determined based on the ratio of the integral discharge amount to the discharge time during the UPS discharge process. The remaining backup time of each battery cluster in the UPS is determined based on the remaining capacity of each battery cluster and the discharge rate. The current remaining backup time is determined as the minimum remaining backup time of the current battery cluster.
6. The UPS control method as described in claim 1, characterized in that, After determining the current backup time requirement of the UPS, the following is also included: Determine whether the current backup time requirement is less than the preset minimum backup time requirement; If not, proceed to the step of predicting the remaining backup time of the UPS after the abnormal battery cluster in the UPS is removed according to the target removal plan; If so, the abnormal battery clusters in the UPS will be removed.
7. The UPS control method as described in claim 6, characterized in that, After removing the abnormal battery clusters in the UPS, the process also includes: Determine if there are any abnormal battery clusters in the UPS; If so, return to the steps of determining the target removal scheme based on the number of abnormal battery clusters in the UPS and the fault degree of each abnormal battery cluster.
8. The UPS control method as described in claim 1, characterized in that, Determining the current backup time requirement of the UPS includes: Obtain the cumulative discharge time after the UPS self-discharge current exceeds the preset discharge current; The difference between the rated backup time of the UPS and the cumulative discharge time is determined as the current backup time requirement.
9. The UPS control method according to any one of claims 1-8, characterized in that, The predicted remaining backup time of the UPS after the abnormal battery cluster in the UPS is disconnected according to the target disconnection plan includes: The predicted number of remaining battery clusters and the cluster voltage of each remaining battery cluster in the UPS are predicted after the abnormal battery clusters in the UPS are removed according to the target removal scheme. Determine the average cluster voltage among the predicted remaining battery clusters for each cluster; The predicted discharge current of the UPS is determined based on the ratio between the rated discharge power of the UPS and the average value of the cluster voltage. The proportionality coefficient of the predicted remaining battery cluster for each cluster is determined based on the ratio between the cluster voltage of the predicted remaining battery cluster and the average value of the cluster voltage for each cluster. Based on the first product between the predicted discharge current and the proportional coefficient of the predicted remaining battery clusters of each cluster, and the ratio between the predicted cluster numbers, the cluster branch current of the predicted remaining battery clusters of each cluster is determined respectively. The predicted remaining backup time of each cluster of battery cells is determined based on the ratio between the predicted remaining capacity of each cluster of battery cells and the cluster branch current of each cluster of battery cells. The predicted remaining backup time is determined as the smallest remaining backup time among the predicted remaining battery clusters.
10. A control device for a UPS, characterized in that, include: Memory, used to store computer programs; A processor, configured to, when executing a computer program, implement the steps of the UPS control method as described in any one of claims 1-9.