Emergency power supply allocation method and system based on current detection
Patent Information
- Application Number
- CN202411611220.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2025-02-18
Smart Images

Figure CN119482897A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of emergency power supply, and in particular to an emergency power supply allocation method and system based on current detection. Background Art
[0002] Emergency power access devices are usually used to provide backup power for important loads when the main power fails or is interrupted; it can ensure that key equipment and systems can still operate normally in the event of a power outage, and is commonly found in hospitals, data centers, communication base stations, emergency command centers, and other places;
[0003] Due to the limited capacity of emergency power supply, it is impossible to meet all load requirements at the same time. The existing data management system lacks effective resource planning and allocation. It often happens that key equipment cannot work normally due to insufficient resource allocation, which reduces the practicality of emergency power supply equipment.
[0004] CN111786456A discloses a dual-circuit power supply automatic switching device with short-circuit detection function, including a current sensor and a short-circuit detection module, the current sensor is placed on the distribution box bus, the short-circuit detection module is electrically connected to the current sensor, the short-circuit detection module is electrically connected to the main power circuit and the emergency power circuit respectively, the distribution box bus is electrically connected to the load, and the distribution box bus is electrically connected to the main power circuit and the emergency power circuit respectively; the current sensor is used to detect the current on the distribution box bus and transmit the current value to the short-circuit detection module; the short-circuit detection module is used to control the main power circuit and the emergency power circuit to disconnect when the current value is determined to be a fault current value so that the load is disconnected. This invention does not take into account the importance of different electrical equipment, which may cause the equipment with important functions to fail to operate normally in the end, so the method has a small scope of application and low reliability.
[0005] CN111130204A discloses a power failure safety switching device and a fast switching method thereof, including a central processing unit, a circuit detection system, a power supply module, an electrical device, a backup power supply group, an independent power supply, a power supply reminder unit, an incoming call voltage relief system, a generator, a dual circuit system, a transformer, a current adjustment unit and a charging system, wherein the power supply module and the circuit detection system are bidirectionally connected, and the present invention relates to the field of emergency power supply technology. The power failure safety switching device and the fast switching method thereof can avoid economic losses caused by equipment shutdown by quickly switching the backup power supply group to supply power during a power failure, and use the current adjustment unit to make the backup power supply group in a low-voltage state when initially supplying power, so as to ensure that the equipment does not shut down, and then use the boost unit to gradually boost the voltage until the equipment works normally. This patent does not take into account the power demand of different equipment, and also does not take into account the importance of electrical equipment, which may cause important equipment to eventually fail to operate normally, so this method is inefficient, has a small scope of application, and is not highly reliable. Summary of the invention
[0006] In order to solve the shortcomings of the prior art such as low efficiency, small application scope, and low reliability, the present invention provides an emergency power supply allocation method and system based on current detection.
[0007] The present invention adopts the following technical solution.
[0008] A method for allocating emergency power supply based on current detection, comprising:
[0009] The present invention discloses an emergency power supply allocation method based on current detection, comprising:
[0010] Step 1: Collect the current value of each device in the circuit to be managed within a set operating time length, and calculate the relevant parameters of the circuit to be managed; the relevant parameters of the circuit to be managed include the average current value of each device, the optimal current change range of each device, the total average current value of the circuit to be managed, and the optimal total current change range of the circuit to be managed;
[0011] Step 2: Set the device type of each device in step 1, and determine the power supply priority based on the relevant parameters of the circuit to be managed and the device type of each device;
[0012] Step 3: Collect the current value of the running equipment in the circuit to be managed in real time, calculate the total real-time current of the circuit to be managed, and analyze the access conditions of the emergency power supply; if the analysis result is to access the emergency power supply, go to step 4, otherwise repeat step 3;
[0013] Step 4: The emergency power supply supplies power according to the power supply priority of each running device, and collects the actual current value of each device after power supply and the maximum load current of the emergency power supply;
[0014] Step 5: Based on the current value of each device after power supply and the maximum load current of the emergency power supply, an optimization allocation function and optimization allocation constraints are established to optimize the power supply of the emergency power supply.
[0015] More preferably,
[0016] In step 1, the optimal current variation range of each device is set as follows:
[0017] The average value of the valley current value of the i-th device in the circuit to be managed within the set operating time length is recorded as I3 i ; The average value of the peak current value of the i-th device in the circuit to be managed within the set operating time length is recorded as I4 i ; Set the optimal current change interval of the i-th device in the circuit to be managed to [I3 i ,I4 i ].
[0018] More preferably,
[0019] In step 1, the total average current value Itotal of the circuit to be managed is calculated according to the following formula:
[0020]
[0021] Where i is an integer, and i∈[1, N1], N1 represents the total number of devices in the circuit to be managed; I2 i Represents the average current value of the i-th device.
[0022] More preferably,
[0023] In step 1, the optimal current change range of the circuit to be managed is set to [Itotal min ,Itotal max ]; among them, Itotal min Indicates the minimum value in the optimal total current change range of the circuit to be managed, Itotal max Indicates the maximum value in the optimal total current variation range of the circuit to be managed;
[0024] The minimum value in the optimal total current variation range of the circuit to be managed is calculated according to the following formula:
[0025]
[0026] Where i is an integer, and i∈[1, N1], N1 represents the total number of devices in the circuit to be managed; I3 i is the left endpoint of the optimal current variation interval of the i-th device;
[0027] The maximum value in the optimal total current variation range of the circuit to be managed is calculated according to the following formula:
[0028]
[0029] Among them, I4 i is the right endpoint of the optimal current variation range of the i-th device.
[0030] More preferably,
[0031] In step 2, the equipment types include key equipment, secondary equipment and common equipment.
[0032] More preferably,
[0033] In step 2, the power supply priority is determined as follows:
[0034] First, determine the priority value of each device according to the following formula:
[0035]
[0036] Among them, Y i Indicates the power supply priority value of the i-th device; α i Represents the weight of the i-th device; I2 i is the average current value of the i-th device; Itotal is the total average current value of the circuit to be managed;
[0037] Arrange all power supply priority values from large to small. The higher the order, the higher the power supply priority.
[0038] More preferably,
[0039] The weight of each device is set according to the device type; the weight of the key device is set to w1; the weight of the secondary device is set to w2; and the weight of the common device is set to w3.
[0040] More preferably,
[0041] In step 3, analyze the access conditions of the emergency power supply as follows:
[0042] If the total real-time current Itotal of the circuit to be managed t If the set emergency power supply connection condition analysis formula is met, the emergency power supply will not be connected, otherwise, the emergency power supply will be connected;
[0043] The analysis formula for the access condition of the emergency power supply is:
[0044] (1+β)Itotal min ≤Itotal t ≤(1+β)Itotal max ;
[0045] Among them, β is a fixed parameter preset by the system.
[0046] More preferably,
[0047] In step 5, the optimized allocation function F is:
[0048]
[0049] Where min[·] means taking the minimum value of the data in brackets; k is an integer, and k∈[1, N3], N3 is the total number of devices supplied by the emergency power supply; I6 k The actual current value of the kth device supplied by the emergency power supply; Itarget k is the target current value of the kth device.
[0050] More preferably,
[0051] In step 5, the optimization allocation constraint is:
[0052]
[0053] Among them, I supply Imin is the maximum load current of the emergency power supply; k The minimum current value of the kth device supplied by the emergency power supply; Imax k The maximum current value of the kth device supplied by the emergency power supply.
[0054] On the other hand, the present invention discloses an emergency power supply allocation system based on current detection based on the emergency power supply allocation method based on current detection, including a historical data acquisition and calculation module, a priority setting module, an emergency power supply access condition analysis module, an emergency power supply module and an emergency power supply optimization module:
[0055] The historical data collection and calculation module collects the current value of each device in the circuit to be managed within a set operating time length, and calculates the relevant parameters of the circuit to be managed; the relevant parameters of the circuit to be managed include the average current value of each device, the optimal current change range of each device, the total average current value of the circuit to be managed, and the optimal total current change range of the circuit to be managed;
[0056] The priority setting module sets the device type of each device in the circuit to be managed, and determines the power supply priority based on the relevant parameters of the circuit to be managed and the device type of each device;
[0057] The access condition analysis module of the emergency power supply collects the current value of the running equipment in the circuit to be managed in real time, calculates the total real-time current of the circuit to be managed, and analyzes the access condition of the emergency power supply; when the analysis result is that the emergency power supply is connected, the emergency power supply module is entered, otherwise the access time analysis module of the emergency power supply is still executed;
[0058] In the emergency power supply module, the emergency power supply supplies power according to the power supply priority of each running device, and collects the actual current value of each device after power supply and the maximum load current of the emergency power supply;
[0059] The emergency power supply optimization module establishes an optimization allocation function and optimization allocation constraints based on the current value of each device after power supply and the maximum load current of the emergency power supply, thereby optimizing the power supply of the emergency power supply.
[0060] On the other hand, the present application discloses an electronic device, including a processor and a storage medium; the characteristics are:
[0061] The storage medium is used to store instructions;
[0062] The processor is used to operate according to the instructions to execute the emergency power allocation method based on current detection.
[0063] The present application also discloses a computer-readable storage medium on which a computer program is stored, wherein the program, when executed by a processor, implements the emergency power supply allocation method based on current detection.
[0064] The beneficial effect of the present invention is that, compared with the prior art, the present invention divides the priority of the emergency power supply when supplying power to the equipment by analyzing the historical current changes of all devices in the circuit to which the emergency power supply needs to be connected, combined with the type of corresponding equipment, thereby ensuring the normal operation of key equipment when the main power supply fails or is interrupted, and increasing the practicality of the emergency power supply. At the same time, after the emergency power supply is connected, the real-time current of the power supply equipment is analyzed, and the optimization allocation function and constraint conditions are established to optimize the power supply of the emergency power supply, which not only ensures the stability and safety of the circuit when the emergency power supply is connected, but also makes the power distribution of the emergency power supply more reasonable, and realizes the maximum utilization of limited capacity.
[0065] In addition, the present invention has the outstanding advantages of high efficiency, wide application range and high reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 It is a flow chart of an emergency power supply allocation method based on current detection of the present invention;
[0067] Figure 2 It is a structural schematic diagram of an emergency power supply allocation system based on current detection of the present invention. DETAILED DESCRIPTION
[0068] In order to make the purpose, technical scheme and advantages of the present invention clearer, the technical scheme of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The embodiments described in this application are only part of the embodiments of the present invention, not all of them. Based on the spirit of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the scope of protection of the present invention.
[0069] The present invention discloses an emergency power supply allocation method based on current detection, see attached Figure 1 ,include:
[0070] Step 1: Collect the current value of each device in the circuit to be managed within a set operating time length, and calculate the relevant parameters of the circuit to be managed; the relevant parameters of the circuit to be managed include the average current value of each device, the optimal current change range of each device, the total average current value of the circuit to be managed, and the optimal total current change range of the circuit to be managed;
[0071] The optimal current variation range of each device is set as follows:
[0072] The average value of the valley current value of the i-th device in the circuit to be managed within the set operating time length is recorded as I3 i ; The average value of the peak current value of the i-th device in the circuit to be managed within the set operating time length is recorded as I4 i ; Set the optimal current change interval of the i-th device in the circuit to be managed to [I3 i , I4 i ].
[0073] The total average current value Itotal of the circuit to be managed is calculated according to the following formula:
[0074]
[0075] Where i is an integer, and i∈[1, N1], N1 represents the total number of devices in the circuit to be managed; I2 i Represents the average current value of the i-th device.
[0076] The optimal current change range of the circuit to be managed is set as [Itotal min ,Itotal max ]; among them, Itotal min Indicates the minimum value in the optimal total current change range of the circuit to be managed, Itotal max Indicates the maximum value in the optimal total current variation range of the circuit to be managed;
[0077] The minimum value in the optimal total current variation range of the circuit to be managed is calculated according to the following formula:
[0078]
[0079] Where i is an integer, and i∈[1, N1], N1 represents the total number of devices in the circuit to be managed; I3 i is the left endpoint of the optimal current variation interval of the i-th device;
[0080] The maximum value in the optimal total current variation range of the circuit to be managed is calculated according to the following formula:
[0081]
[0082] Among them, I4 i is the right endpoint of the optimal current variation range of the i-th device.
[0083] Step 2: Set the device type of each device in step 1, and determine the power supply priority based on the relevant parameters of the circuit to be managed and the device type of each device;
[0084] The equipment types include key equipment, secondary equipment and ordinary equipment.
[0085] The power supply priority is determined as follows:
[0086] First, determine the priority value of each device according to the following formula:
[0087]
[0088] Among them, Y i Indicates the power supply priority value of the i-th device; α i Represents the weight of the i-th device; I2 i is the average current value of the i-th device; Itotal is the total average current value of the circuit to be managed;
[0089] The weight of each device is set according to the device type; the weight of the key device is set to w1; the weight of the secondary device is set to w2; and the weight of the common device is set to w3.
[0090] Arrange all power supply priority values from large to small. The higher the order, the higher the power supply priority.
[0091] Step 3: Collect the current value of the running equipment in the circuit to be managed in real time, calculate the total real-time current of the circuit to be managed, and analyze the access conditions of the emergency power supply; if the analysis result is to access the emergency power supply, go to step 4, otherwise repeat step 3;
[0092] Analyze the access conditions of emergency power supply as follows:
[0093] If the total real-time current Itotal of the circuit to be managed t If the set emergency power supply connection condition analysis formula is met, the emergency power supply will not be connected, otherwise, the emergency power supply will be connected;
[0094] The analysis formula for the access condition of the emergency power supply is:
[0095] (1+β)Itotal min ≤Itotal t ≤(1+β)Itotal max ;
[0096] Among them, β is a fixed parameter preset by the system.
[0097] Step 4: The emergency power supply supplies power according to the power supply priority of each running device, and collects the actual current value of each device after power supply and the maximum load current of the emergency power supply;
[0098] Step 5: Based on the current value of each device after power supply and the maximum load current of the emergency power supply, an optimization allocation function and optimization allocation constraints are established to optimize the power supply of the emergency power supply.
[0099] The optimized allocation function F is:
[0100]
[0101] Where min[·] means taking the minimum value of the data in brackets; k is an integer, and k∈[1, N3], N3 is the total number of devices supplied by the emergency power supply; I6 k The actual current value of the kth device supplied by the emergency power supply; Itarget k is the target current value of the kth device, that is, the average current value of the device corresponding to the kth device supplied by the emergency power supply.
[0102] The optimization allocation constraints are:
[0103]
[0104] Among them, I supply Imin is the maximum load current of the emergency power supply; k Imax is the minimum current value of the kth device supplied by the emergency power supply, that is, the left endpoint of the optimal current change range of the kth device supplied by the emergency power supply; k It is the maximum current value of the kth device supplied by the emergency power supply, that is, the right endpoint of the optimal current change range of the kth device supplied by the emergency power supply.
[0105] The present application also discloses a system based on the aforementioned emergency power supply allocation method, including a historical data acquisition and calculation module, a priority setting module, an emergency power supply access condition analysis module, an emergency power supply module and an emergency power supply optimization module:
[0106] The historical data collection and calculation module collects the current value of each device in the circuit to be managed within a set operating time length, and calculates the relevant parameters of the circuit to be managed; the relevant parameters of the circuit to be managed include the average current value of each device, the optimal current change range of each device, the total average current value of the circuit to be managed, and the optimal total current change range of the circuit to be managed;
[0107] The optimal current variation range of each device is set as follows:
[0108] The average value of the valley current value of the i-th device in the circuit to be managed within the set operating time length is recorded as I3 i ; The average value of the peak current value of the i-th device in the circuit to be managed within the set operating time length is recorded as I4 i; Set the optimal current change interval of the i-th device in the circuit to be managed to [I3 i ,I4 i ].
[0109] The total average current value Itotal of the circuit to be managed is calculated according to the following formula:
[0110]
[0111] Where i is an integer, and i∈[1, N1], N1 represents the total number of devices in the circuit to be managed; I2 i Represents the average current value of the i-th device.
[0112] The optimal current change range of the circuit to be managed is set as [Itotal min ,Itotal max ]; among them, Itotal min Indicates the minimum value in the optimal total current change range of the circuit to be managed, Itotal max Indicates the maximum value in the optimal total current variation range of the circuit to be managed;
[0113] The minimum value in the optimal total current variation range of the circuit to be managed is calculated according to the following formula:
[0114]
[0115] Where i is an integer, and i∈[1, N1], N1 represents the total number of devices in the circuit to be managed; I3 i is the left endpoint of the optimal current variation interval of the i-th device;
[0116] The maximum value in the optimal total current variation range of the circuit to be managed is calculated according to the following formula:
[0117]
[0118] Among them, I4 i is the right endpoint of the optimal current variation range of the i-th device.
[0119] The priority setting module sets the device type of each device in the circuit to be managed, and determines the power supply priority based on the relevant parameters of the circuit to be managed and the device type of each device;
[0120] The equipment types include key equipment, secondary equipment and ordinary equipment.
[0121] The power supply priority is determined as follows:
[0122] First, determine the priority value of each device according to the following formula:
[0123]
[0124] Among them, Y i Indicates the power supply priority value of the i-th device; α i Represents the weight of the i-th device; I2 i is the average current value of the i-th device; Itotal is the total average current value of the circuit to be managed;
[0125] The weight of each device is set according to the device type; the weight of the key device is set to w1; the weight of the secondary device is set to w2; and the weight of the common device is set to w3.
[0126] Arrange all power supply priority values from large to small. The higher the order, the higher the power supply priority.
[0127] The access condition analysis module of the emergency power supply collects the current value of the running equipment in the circuit to be managed in real time, calculates the total real-time current of the circuit to be managed, and analyzes the access condition of the emergency power supply; when the analysis result is that the emergency power supply is connected, the emergency power supply module is entered, otherwise the access time analysis module of the emergency power supply is still executed;
[0128] Analyze the access conditions of emergency power supply as follows:
[0129] If the total real-time current Itotal of the circuit to be managed t If the set emergency power supply connection condition analysis formula is met, the emergency power supply will not be connected, otherwise, the emergency power supply will be connected;
[0130] The analysis formula for the access condition of the emergency power supply is:
[0131] (1+β)Itotal min ≤Itotal t ≤(1+β)Itotal max ;
[0132] Among them, β is a fixed parameter preset by the system.
[0133] In the emergency power supply module, the emergency power supply supplies power according to the power supply priority of each running device, and collects the actual current value of each device after power supply and the maximum load current of the emergency power supply;
[0134] The emergency power supply optimization module establishes an optimization allocation function and optimization allocation constraints based on the current value of each device after power supply and the maximum load current of the emergency power supply, thereby optimizing the power supply of the emergency power supply.
[0135] The optimized allocation function F is:
[0136]
[0137] Where min[·] means taking the minimum value of the data in brackets; k is an integer, and k∈[1, N3], N3 is the total number of devices supplied by the emergency power supply; I6 k The actual current value of the kth device supplied by the emergency power supply; Itarget k is the target current value of the kth device.
[0138] The optimization allocation constraints are:
[0139]
[0140] Among them, I supply Imin is the maximum load current of the emergency power supply; k Imax is the minimum current value of the kth device supplied by the emergency power supply, that is, the left endpoint of the optimal current change range of the kth device supplied by the emergency power supply; k It is the maximum current value of the kth device supplied by the emergency power supply, that is, the right endpoint of the optimal current change range of the kth device supplied by the emergency power supply.
[0141] This application also discloses another system based on the aforementioned emergency power allocation method, see the attached Figure 2 , including an information collection module, an information processing module and an execution module;
[0142] The information acquisition module is used to acquire the information required by the system; the information processing module is used to store, analyze and transmit the information of each module; and the execution module is used to execute the information of the information processing module.
[0143] According to the above technical solution, the information acquisition module includes a device information unit and a current information unit;
[0144] The device information unit is used to collect data information of all devices in the circuit to be managed to which the emergency power supply is connected, and the current information unit is used to collect historical current data and real-time current data of the emergency power supply and the circuit to be managed to which the emergency power supply is connected.
[0145] According to the above technical solution, the information processing module includes an information storage unit, an information analysis unit and an information transmission unit;
[0146] The information storage unit is used to store the information acquired by the information acquisition module; the information analysis unit is used to analyze the information acquired by the information acquisition module; and the information transmission unit is used for information transmission of each module in the system.
[0147] According to the above technical solution, the execution module includes a display unit and a current distribution unit;
[0148] The display unit is used to display the current data of the emergency power supply and the current data of the equipment powered by the emergency power supply for the circuit to be managed; the current distribution unit is used to distribute the current of the equipment according to the information of the information processing module.
[0149] Example 1
[0150] A method for allocating emergency power supply based on current detection, comprising:
[0151] Step 1: Set the time length, collect the current values of all devices in the circuit to be managed during their operation time, analyze the average current value and current variation range of each device, and analyze the total average current value and total current variation range of the circuit to be managed;
[0152] The specific process of step 1 is as follows:
[0153] 1.1. Set the time length to T, collect the current value of each device in the circuit to be managed for T, and record the current value of the i-th device in the circuit to be managed at time t within the set operating time length as I1 i (t), i∈[1, N1], N1 is a positive integer, representing the total number of devices in the circuit to be managed;
[0154] Calculate the average current value of each device according to the following formula:
[0155]
[0156] Among them, I2 i represents the average current value of the i-th device;
[0157] Since the current value I1 of each device during normal operation is collected i (t) is continuous and fluctuates, so taking the average value can make the data more accurate and reduce the error when the system performs subsequent calculations;
[0158] Calculate the total average current value of the circuit to be managed according to the following formula:
[0159]
[0160] Wherein, Itotal represents the total average current value of the circuit to be managed;
[0161] Get I2 i and Itotal, providing data support for the subsequent division of power supply priorities and optimization of emergency power supply;
[0162] 1.2. The average value of the low peak value of the current value of the i-th device in the circuit to be managed during the operation time length T is recorded as I3 i; The average value of the peak current value of the i-th device in the circuit to be managed during the operation time length T is recorded as I4 i ; The current variation range of the i-th device in the circuit to be managed is [I3 i ,I4 i ]; the low peak value is the valley value, and the high peak value is the peak value.
[0163] Since the current value of the device fluctuates continuously when it is working, there are multiple high and low peaks. The accuracy of the system can be improved by taking the average value of the high and low peak values.
[0164] The total current variation range of the circuit to be managed is recorded as [Itotal min ,Itotal max ]; among them, Itotal min Indicates the minimum value of the total current change range of the circuit to be managed, Itotal max Indicates the maximum value in the total current variation range of the circuit to be managed;
[0165] Calculate Itotal according to the following formula min :
[0166]
[0167] Calculate Itotal according to the following formula max :
[0168]
[0169] Get Itotal min and Itotal max , providing data support for subsequent analysis of the access time of the emergency power supply;
[0170] Step 2: Divide all devices in the circuit to be managed into different device types and assign weights. Combine the average current value of each device and the total average current value of the circuit to be managed to divide the power supply priority.
[0171] The specific process of step 2 is as follows:
[0172] 2.1. Divide all devices in the circuit to be managed into different device types, including key devices, secondary devices and common devices; assign weights according to device types, and record the weight assigned to devices of key devices as w1, whose preferred value range is [0.7, 0.9]; record the weight assigned to devices of secondary devices as w2, whose preferred value range is [0.09, 0.29]; record the weight assigned to devices of common devices as w3, w3 = 1-w1-w2; In summary, the weight of the i-th device is recorded as αi , α i The value of is determined by the device type of the ith device, that is, when the device type of the ith device is a key device, α i =w1; when the device type of the i-th device is a secondary device, α i =w2; when the device type of the i-th device is a common device, α i =w3.
[0173] Key equipment can be divided according to the equipment involved in key tasks in different places. For example, in a hospital, the key task is to protect the lives of critically ill patients. Therefore, key equipment includes life support equipment, operating room equipment, and ICU equipment.
[0174] Secondary equipment can be divided according to the equipment involved in secondary tasks in different places. For example, in hospitals, secondary equipment is emergency communication systems, emergency lighting, elevators and refrigeration equipment;
[0175] Ordinary equipment can be divided according to the equipment involved in ordinary tasks in different places. For example, in a hospital, ordinary equipment is ordinary ward lighting, non-critical medical equipment, and office equipment;
[0176] 2.2 According to α i 、I2 i and Itotal, calculate the priority value of each device, the calculation formula is as follows:
[0177]
[0178] Among them, Y i Indicates the priority value of the i-th device;
[0179] At the same time, the priority value must meet the following constraints:
[0180]
[0181] Among them, min(·) means taking the minimum value of the data in the brackets, and max(·) means taking the maximum value of the data in the brackets; Y l_1 Represents the power supply priority value set of key equipment; Y l_2 Indicates the power supply priority value set of secondary equipment; Y l_3 Represents a set of power supply priority values for common devices.
[0182] According to the Y corresponding to each device i , Y i Arrange from large to small to prioritize power supply;
[0183] Y i The device with a large value has a high power supply priority and is given priority when the emergency power supply is connected;
[0184] Y i The device with a small value has a low power supply priority and will be powered last when the emergency power supply is connected.
[0185] Equipment is divided into power supply priorities to ensure priority power supply to key equipment. When the emergency power supply cannot support all equipment, the equipment is powered according to the power supply priority, so that key equipment will not fail to work normally.
[0186] Step 3: collect the current value of the running equipment in the circuit to be managed in real time, calculate the total real-time current of the circuit to be managed, and analyze the access condition of the emergency power supply in combination with the total current variation range; if the analysis result is to access the emergency power supply, proceed to step 4, otherwise repeat step 3;
[0187] The specific process of step 3 is as follows:
[0188] 3.1. Collect the current value of the running equipment in the circuit to be managed in real time, and record the current value of the jth running equipment in the circuit to be managed at time t as I5 t,j , j∈[1,N2], N2 is a positive integer and N2≤N1;
[0189] The total real-time current of the circuit to be managed at time t is calculated according to the following formula:
[0190]
[0191] Among them, Itotal t Indicates the total real-time current of the circuit to be managed at time t;
[0192] 3.2. According to Itotal t 、Itotal min and Itotal max , analyze the access conditions of emergency power supply;
[0193] If Itotal t The value of (1+β)Itotal min ≤Itotal t ≤(1+β)Itotal max , the emergency power supply will not be connected, β is a fixed parameter preset by the system, and its preferred value range is [0.05, 0.2].
[0194] If Itotal t The value of does not satisfy (1+β)Itotal min ≤Itotal t ≤(1+β)Itotal max , the emergency power supply is connected, and time t is taken as the time of connection of the emergency power supply;
[0195] When the main power fails or is interrupted, the current may over-current or interrupt the current, and this situation will trigger the connection of the emergency power supply.
[0196] Step 4: Analyze the power supply priority of the running equipment according to the running equipment at the time of emergency power supply connection; the emergency power supply supplies power according to the power supply priority of the running equipment; collect the actual current value of each device after power supply and the maximum load current of the emergency power supply, and analyze the total number of equipment supplied by the emergency power supply;
[0197] The specific process of step 4 is as follows:
[0198] 4.1. The priority value of the jth running device at time t is recorded as Y1 j ;
[0199] Arrange the priority values corresponding to the equipment running at time t from large to small to divide the power supply priority of the equipment running at time t; the emergency power supply supplies power according to the power supply priority of the equipment running at time t;
[0200] 4.2. The maximum load current of the emergency power supply is recorded as I supply ;
[0201] The total number of devices supplied by the emergency power supply is recorded as N3; the actual current value of the kth device supplied by the emergency power supply is recorded as I6 k , k∈[1,N3], N3 is a positive integer and N3≤N2;
[0202] The total number of equipment supplied by the emergency power supply satisfies the following inequality:
[0203]
[0204] The total actual current value of the equipment supplied by the emergency power supply exceeds the maximum load current of the emergency power supply, which may easily lead to safety hazards.
[0205] Step 5: Collect the actual current value of each device after power supply and the maximum load current of the emergency power supply, establish the optimization allocation function and optimization allocation constraint conditions, and optimize the power supply of the emergency power supply:
[0206] The specific process of step 5 is as follows:
[0207] 5.1. The average current value of the device corresponding to the kth device supplied by the emergency power supply is taken as the target current value of the kth device supplied by the emergency power supply, denoted as Itarget k ; That is, when the kth device supplied by the emergency power supply corresponds to the ith device in the circuit to be managed in step 1, Itarget k =I2 iSet the left end point I3 in the optimal current change interval of the kth device supplied by the emergency power supply i , as the minimum current value of the kth device supplied by the emergency power supply, denoted as Imin k That is, when the kth device supplied by the emergency power supply corresponds to the ith device in the circuit to be managed in step 1, Imin k =I3 i The right end point of the optimal current variation interval of the kth device supplied by the emergency power supply is taken as the maximum current value of the kth device supplied by the emergency power supply, recorded as Imax k ; That is, when the kth device supplied by the emergency power supply corresponds to the ith device in the circuit to be managed in step 1, Imax k =I4 i .
[0208] 5.2. Establish the optimization allocation function F, as follows:
[0209]
[0210] Among them, min[·] means taking the minimum value of the data in the brackets, that is, taking the minimum value of F. The smaller the value of F, the higher the value of I6. k With Itarget k The smaller the deviation, the more reasonable the emergency power supply;
[0211] 5.3. Establish constraints, as follows:
[0212]
[0213] 5.4. Optimize the power supply of emergency power supply according to the established optimization allocation function and constraint conditions;
[0214] By optimizing the allocation function and the constraints, the normal and stable operation of the supplied equipment is guaranteed when the emergency power supply is supplied, and the utilization rate of the emergency power supply is improved, thereby improving the practicality.
[0215] Example 2
[0216] A method for emergency power supply allocation based on current detection:
[0217] The known emergency power supply has the following characteristics: large load current I Supply =9; there are N1 = 2 devices in the circuit to be managed, sorted according to the power supply priority, and the I2 corresponding to each device i I2 i=1 =5, I2 i=2 =4; I3 corresponding to each device i I3 i=1 =4, I3 i=2=3; I4 corresponding to each device i I4 i=1 =6, I4 i=2 =5
[0218] Before the emergency power supply is connected, all equipment is in operation, that is, N2 = 2;
[0219] At time t, the emergency power supply is connected, and the total number of devices supplied by the emergency power supply is N3 = 1, and I6 k=1 =5.5;
[0220] satisfy
[0221] Emergency power supply target current value Itarget k=1 =5; the minimum current value of the emergency power supply equipment is recorded as Imin k=1 =6; the maximum current value of the emergency power supply equipment is recorded as Imax k=1 =4
[0222] Establish an optimized allocation function as follows:
[0223]
[0224] Among them, F represents the optimization degree, and the minimum value of F is taken;
[0225] Establish constraints as follows:
[0226]
[0227] Optimize the emergency power supply according to the established optimization allocation function and constraints;
[0228] After optimization, the total number of devices that output emergency power supply is N3=2, I6 k=1 =5,I6 k=2 =4.
[0229] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0230] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.
[0231] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0232] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0233] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.
[0234] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for allocating emergency power supply based on current detection, characterized in that: include: Step 1: Collect the current value of each device in the circuit to be managed within the set operating time length and calculate Parameters related to the circuit to be managed; The parameters related to the circuit to be managed include the average current value of each device, The optimal current variation range of each device, the total average current value of the circuit to be managed, and the optimal total current variation range of the circuit to be managed; Step 2: Set the device type of each device in step 1, and determine the power supply priority based on the relevant parameters of the circuit to be managed and the device type of each device; Step 3: Collect the current value of the running equipment in the circuit to be managed in real time, calculate the total real-time current of the circuit to be managed, and analyze the access conditions of the emergency power supply; if the analysis result is to access the emergency power supply, go to step 4, otherwise repeat step 3; Step 4: The emergency power supply supplies power according to the power supply priority of each running device, and collects the actual current value of each device after power supply and the maximum load current of the emergency power supply; Step 5: Based on the current value of each device after power supply and the maximum load current of the emergency power supply, an optimization allocation function and optimization allocation constraints are established to optimize the power supply of the emergency power supply.
2. The method for allocating emergency power supply based on current detection according to claim 1 is characterized in that: In step 1, the optimal current variation range of each device is set as follows: The average value of the valley current value of the i-th device in the circuit to be managed within the set operating time length is recorded as I3 i ; The average value of the peak current value of the i-th device in the circuit to be managed within the set operating time length is recorded as I4 i ; Set the optimal current change interval of the i-th device in the circuit to be managed to [I3 i ,I4 i ].
3. The method for emergency power supply allocation based on current detection according to claim 1 is characterized in that: In step 1, the total average current value Itotal of the circuit to be managed is calculated according to the following formula: Where i is an integer, and i∈[1, N1], N1 represents the total number of devices in the circuit to be managed; I2 i Represents the average current value of the i-th device.
4. The method for allocating emergency power supply based on current detection according to claim 1 is characterized in that: In step 1, the optimal current change range of the circuit to be managed is set to [Itotal min , Itotal max ]; among them, Itotal min Indicates the minimum value in the optimal total current change range of the circuit to be managed, Itotal max Indicates the maximum value in the optimal total current variation range of the circuit to be managed; The minimum value in the optimal total current variation range of the circuit to be managed is calculated according to the following formula: Where i is an integer, and i∈[1, N1], N1 represents the total number of devices in the circuit to be managed; I3 i is the left endpoint of the optimal current variation interval of the i-th device; The maximum value in the optimal total current variation range of the circuit to be managed is calculated according to the following formula: Among them, Γ4 i is the right endpoint of the optimal current variation range of the i-th device.
5. The method for allocating emergency power supply based on current detection according to claim 1, characterized in that: In step 2, the equipment types include key equipment, secondary equipment and common equipment.
6. The method for allocating emergency power supply based on current detection according to claim 1 or 5, characterized in that: In step 2, the power supply priority is determined as follows: First, determine the priority value of each device according to the following formula: Among them, Y i Indicates the power supply priority value of the i-th device; α i Represents the weight of the i-th device; I2 i is the average current value of the i-th device; Itotal is the total average current value of the circuit to be managed; Arrange all power supply priority values from large to small. The higher the order, the higher the power supply priority.
7. The method for allocating emergency power supply based on current detection according to claim 6 is characterized in that: The weight of each device is set according to the device type; the weight of the key device is set to w1; the weight of the secondary device is set to w2; and the weight of the common device is set to w3.
8. The method for allocating emergency power supply based on current detection according to claim 1, characterized in that: In step 3, analyze the access conditions of the emergency power supply as follows: If the total real-time current Itotal of the circuit to be managed t If the set emergency power supply connection condition analysis formula is met, the emergency power supply will not be connected, otherwise, the emergency power supply will be connected; The analysis formula for the access condition of the emergency power supply is: (1+β)Itotal min ≤Itotal t ≤(1+β)Itotal max ; Among them, β is a fixed parameter preset by the system.
9. The method for emergency power supply allocation based on current detection according to claim 1, characterized in that: In step 5, the optimized allocation function F is: Where min[·] means taking the minimum value of the data in brackets; k is an integer, and k∈[1, N3], N3 is the total number of devices supplied by the emergency power supply; I6 k The actual current value of the kth device supplied by the emergency power supply; Itarget k is the target current value of the kth device.
10. The method for emergency power supply allocation based on current detection according to claim 1, characterized in that: In step 5, the optimization allocation constraint is: Among them, I supply Imin is the maximum load current of the emergency power supply; k The minimum current value of the kth device supplied by the emergency power supply; Imax k The maximum current value of the kth device supplied by the emergency power supply.
11. An emergency power supply allocation system based on current detection using the emergency power supply allocation method based on current detection according to any one of claims 1 to 10, characterized in that: It includes historical data collection and calculation module, priority setting module, emergency power supply access condition analysis module, emergency power supply module and emergency power supply optimization module: The historical data collection and calculation module collects the current value of each device in the circuit to be managed within a set operating time length, and calculates the relevant parameters of the circuit to be managed; the relevant parameters of the circuit to be managed include the average current value of each device, the optimal current change range of each device, the total average current value of the circuit to be managed, and the optimal total current change range of the circuit to be managed; The priority setting module sets the device type of each device in the circuit to be managed, and determines the power supply priority based on the relevant parameters of the circuit to be managed and the device type of each device; The access condition analysis module of the emergency power supply collects the current value of the running equipment in the circuit to be managed in real time, calculates the total real-time current of the circuit to be managed, and analyzes the access condition of the emergency power supply; when the analysis result is that the emergency power supply is connected, the emergency power supply module is entered, otherwise the access time analysis module of the emergency power supply is still executed; In the emergency power supply module, the emergency power supply supplies power according to the power supply priority of each running device, and collects the actual current value of each device after power supply and the maximum load current of the emergency power supply; The emergency power supply optimization module establishes an optimization allocation function and optimization allocation constraints based on the current value of each device after power supply and the maximum load current of the emergency power supply, thereby optimizing the power supply of the emergency power supply.
12. An electronic device, comprising a processor and a storage medium; characterized in that: The storage medium is used to store instructions; The processor is used to operate according to the instructions to execute the emergency power allocation method based on current detection according to claims 1-10.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the emergency power supply allocation method based on current detection described in claims 1-10 is implemented.
Citation Information
Patent Citations
Power failure safety switching device and quick switching method thereof
CN111130204A
Double-circuit power supply automatic switching device with short-circuit detection function
CN111786456A
Cited By
Energy storage system and method integrated with electric energy quality management
CN120069485A
An energy storage system and method integrating power quality management
CN120069485B