Power adaptive distribution method and system for multi-loop power distribution cabinet
By constructing a loop current timing matrix in the distribution cabinet and performing second-order differential operations, high-risk loops are screened and active predictive switching is performed, which solves the problems of response lag and cascading overload in the power distribution of multiple loops in the distribution cabinet and achieves more stable load distribution.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TIANJIN HUAJIE POWER EQUIP MFG CO LTD
- Filing Date
- 2026-04-01
- Publication Date
- 2026-06-23
AI Technical Summary
In existing power distribution cabinet multi-circuit power allocation schemes, passive threshold triggering causes response lag, and the selection of receiving circuits lacks trend prediction, leading to cascading overload failures.
By synchronously collecting data at a fixed sampling period on the incoming side of each output circuit of the distribution cabinet, a circuit current time sequence matrix is constructed. Second-order differential operations are performed to obtain the load change acceleration and inertia coefficient, high-risk circuits are screened, and active prediction and load switching are performed based on the load inertia coefficient and rated margin to optimize switching decisions.
It realizes the feedforward prediction capability of multi-circuit power distribution in the power distribution cabinet and the long-term stability of switching decisions, avoiding response lag and cascading overload, and improving the system's adaptability and safety.
Smart Images

Figure CN121965580B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of intelligent power distribution technology, and in particular to a method and system for adaptive power allocation of multiple circuits in a power distribution cabinet. Background Technology
[0002] Distribution cabinets are core equipment in industrial and civil power distribution systems, responsible for distributing electrical energy from the input bus to various output circuits, each supplying power to different loads. Traditional multi-circuit power distribution in distribution cabinets employs a static, fixed allocation strategy. The rated capacity of each circuit remains unchanged after being determined during the design phase, and each circuit operates independently, with overload protection provided by its own circuit breaker. This static allocation method can operate normally under long-term stable load conditions and is a conventional technique in this field.
[0003] However, in industrial production scenarios, the actual load of each output circuit fluctuates dynamically with changes in production conditions. Some circuits experience a continuous increase in load rate during peak production periods, while others remain under light load, leading to a severe imbalance in load distribution among the circuits. While existing technologies have improved solutions that collect current data from each circuit in real time and trigger load switching when the current exceeds a preset threshold, these solutions are essentially passive response mechanisms. Switching is only initiated when an overload has occurred or is about to trigger the circuit breaker, resulting in an inherent lag in the switching response and an inability to proactively intervene before an overload occurs. Furthermore, existing solutions select the receiving circuit based solely on its lightest current load, without considering the receiving circuit's own load variation trend. This carries the risk of transferring load from a high-risk circuit to another circuit whose own load is also rapidly increasing, potentially leading to cascading overload failures. Summary of the Invention
[0004] This application provides a method and system for adaptive power allocation of multiple circuits in a power distribution cabinet, which solves the problems of response lag caused by passive threshold triggering and cascading overload caused by lack of trend prediction in the selection of receiving circuits in the existing power allocation schemes for multiple circuits in power distribution cabinets. It improves the feedforward prediction capability and long-term stability of switching decisions in the power allocation of multiple circuits in power distribution cabinets.
[0005] In a first aspect, this application provides a method for adaptive power allocation across multiple circuits in a power distribution cabinet, the method comprising:
[0006] Step S1: Synchronously collect the real-time current values of each output circuit of the distribution cabinet at a fixed sampling period, and store the current values of each circuit at M consecutive moments in an N-row × M-column circuit current time sequence matrix in a rolling update manner.
[0007] Step S2: Perform second-order difference operation on the timing data of each row of the loop current timing matrix to obtain the load change acceleration of each loop; divide the load change acceleration by the rated margin of each loop to obtain the load inertia coefficient of each loop.
[0008] Step S3: Based on the condition that the load inertia coefficient continuously exceeds the predicted threshold within K consecutive sampling periods, a set of high-risk loops is obtained from each output loop;
[0009] Step S4: Use the weighted difference between the rated margin rate of each candidate receiving circuit and the load inertia coefficient as the future stability score, and switch some loads in the high-risk circuit set to the receiving circuit with the highest future stability score; based on the prediction accuracy of historical switching, correct the prediction threshold and K value.
[0010] Secondly, this application provides a multi-circuit power adaptive distribution system for a power distribution cabinet, the multi-circuit power adaptive distribution system comprising:
[0011] The extraction module is used to synchronously collect the real-time current values of each output circuit of the distribution cabinet at a fixed sampling period, and store the current values of each circuit at M consecutive moments in a rolling update manner into an N-row × M-column circuit current time sequence matrix.
[0012] The calculation module is used to perform second-order difference operations on the timing data of each row of the loop current timing matrix to obtain the load change acceleration of each loop; and to divide the load change acceleration by the rated margin of each loop to obtain the load inertia coefficient of each loop.
[0013] The filtering module is used to filter out a set of high-risk loops from each output loop based on the condition that the load inertia coefficient continuously exceeds a predetermined threshold within K consecutive sampling periods.
[0014] The switching module is used to switch some loads in the high-risk circuit set to the receiving circuit with the highest future stability score by using the weighted difference between the rated margin rate of each candidate receiving circuit and the load inertia coefficient as the future stability score; and to correct the prediction threshold and K value based on the prediction accuracy of historical switching.
[0015] Thirdly, a power adaptive distribution device for a power distribution cabinet with multiple circuits is provided, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor invokes the instructions in the memory to cause the power adaptive distribution device for the power distribution cabinet with multiple circuits to execute the aforementioned power adaptive distribution method for the power distribution cabinet with multiple circuits.
[0016] Fourthly, a computer-readable storage medium is provided, wherein instructions are stored therein, which, when executed on a computer, cause the computer to perform the aforementioned multi-circuit power adaptive allocation method for power distribution cabinets.
[0017] The technical solution provided in this application synchronously collects data at a fixed sampling period on the incoming side of each output circuit of the distribution cabinet, storing the current values of each circuit at continuous moments in a rolling update manner into the circuit current time-series matrix. This enables the control unit to, for the first time, have the ability to completely record the historical evolution trajectory of the load of each circuit, unlike the single-point acquisition method in the prior art that only retains the instantaneous current value. Based on this, second-order difference operations are performed on the time-series data of each row of the circuit current time-series matrix to obtain the load change acceleration of each circuit. The load change acceleration is then divided by the rated margin of each circuit to obtain the load inertia coefficient of each circuit. The load inertia coefficient unifies the accelerating trend of load growth and the remaining safety margin into a single risk quantification index, enabling the system to identify high-risk circuits with strong load growth and narrowing safety margins before the current reaches the overload threshold. This fundamentally changes the power allocation decision from a passive response to an active prediction, solving the response lag problem caused by simply relying on the current threshold trigger in the prior art.
[0018] Furthermore, using the load inertia coefficient consistently exceeding a predicted threshold over several consecutive sampling periods as a screening criterion, a set of high-risk loops is obtained through the accumulation and decrement mechanism of the confirmation counter. This accurately distinguishes short-term shocks such as inductive load initiation from actual continuous load growth in the time dimension, avoiding the risk of erroneous handover caused by directly exposing the sensitivity of differential operations to short-term disturbances to the handover triggering logic. In selecting the handover target, the weighted difference between the rated margin rate and the load inertia coefficient of each candidate receiving loop is used as the future stability score. The load growth inertia of the receiving loop itself is included in the score weight, ensuring that the handover target not only has sufficient current load margin but also a stable load trend. This solves the defect in existing technologies that only use the lightest current load as the receiving target while ignoring the growth trend of the receiving loop itself, leading to cascading overloads. Ultimately, the prediction threshold and confirmation window length were adjusted based on the prediction accuracy of historical switching, enabling the entire power allocation strategy to continuously optimize parameter configuration as the operating scenario changes. In scenarios with strong load regularity, the prediction threshold was narrowed to improve sensitivity, while in scenarios with drastic load fluctuations, the prediction threshold was expanded and the confirmation window was extended to enhance anti-disturbance capability, thus achieving long-term adaptability of the power allocation strategy to different operating scenarios. Attached Figure Description
[0019] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a schematic diagram of one embodiment of the adaptive power allocation method for multi-circuit power distribution cabinets in this application.
[0021] Figure 2 This is a schematic diagram of one embodiment of the multi-circuit power adaptive distribution system for the power distribution cabinet in this application.
[0022] Figure 3 This is a schematic block diagram of the structure of the multi-circuit power adaptive distribution device in the power distribution cabinet in this embodiment of the invention. Detailed Implementation
[0023] This application provides a method and system for adaptive power distribution across multiple circuits in a power distribution cabinet. The terms "first," "second," "third," "fourth," etc. (if present)," in the specification, claims, and accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than that illustrated or described herein. Furthermore, the terms "comprising" or "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.
[0024] For ease of understanding, the specific process of the embodiments of this application is described below. Please refer to [link / reference]. Figure 1 One embodiment of the adaptive power allocation method for multi-circuit distribution cabinets in this application includes:
[0025] Step S1: Synchronously collect the real-time current values of each output circuit of the distribution cabinet at a fixed sampling period, and store the current values of each circuit at M consecutive moments in an N-row × M-column circuit current time sequence matrix in a rolling update manner.
[0026] Specifically, the number of columns in the loop current timing matrix is set to 300, corresponding to a 30-second historical window with a sampling period of 100 milliseconds. The 30-second window is selected based on the following: in industrial power distribution scenarios, the shortest stable period of periodic load fluctuations (such as motor start-stop and variable frequency speed control) is usually no less than 10 seconds. The 30-second window can cover at least two complete load fluctuation cycles, ensuring that the load change acceleration obtained from the second-order difference operation can reflect the true growth trend of the loop load, rather than a false acceleration caused by instantaneous disturbances. The number of rows is determined by the actual number of output loops in the distribution cabinet. Each row is stored independently, and each row is updated synchronously during rolling updates to ensure the time alignment of the historical data for each loop.
[0027] Step S2: Perform second-order difference operation on the timing data of each row of the loop current timing matrix to obtain the load change acceleration of each loop; divide the load change acceleration by the rated margin of each loop to obtain the load inertia coefficient of each loop.
[0028] Specifically, the load inertia coefficient is constructed using the load change acceleration as the numerator and the rated margin as the denominator. The rated margin is the difference between the upper limit of the rated current of each circuit and the current real-time current, reflecting the remaining safe space for that circuit from overload. The load change acceleration reflects whether the current growth trend of that circuit is still accelerating. The physical meaning of the quotient of the two is: within the current remaining safe space, the urgency of the current growth trend of that circuit—the smaller the remaining safe space and the greater the growth acceleration, the higher the load inertia coefficient and the more concentrated the overload risk. When the load change acceleration is not greater than zero, it indicates that the circuit current is in a decreasing or stable state, the load inertia coefficient is set to zero, and the subsequent screening process is not triggered.
[0029] Step S3: Based on the condition that the load inertia coefficient continuously exceeds the predicted threshold within K consecutive sampling periods, a set of high-risk loops is obtained from each output loop;
[0030] Specifically, the confirmation window length is set to five sampling periods, corresponding to 500 milliseconds. In industrial power distribution scenarios, the inrush current generated when an inductive load starts typically lasts no more than 200 milliseconds, or no more than two sampling periods, which is insufficient for the confirmation counter to accumulate to five. However, in real-world scenarios with continuously increasing loads, the duration for which the load inertia coefficient exceeds the prediction threshold far exceeds 500 milliseconds, causing the confirmation counter to steadily accumulate to five, thus triggering the screening of high-risk circuit sets. The prediction threshold is set to 0.05, meaning that when the load acceleration within a circuit's unit rated margin exceeds 0.05, a predicted overload risk is identified. The adjustment range of the prediction threshold is limited to between 0.02 and 0.15, and the adjustment range of the confirmation window length is limited to between three and eight sampling periods. Both boundaries are set based on the response speed requirements of the distribution cabinet under extreme light and heavy load scenarios to prevent parameters from drifting to the range that could lead to system failure.
[0031] Step S4: Use the weighted difference between the rated margin rate and the load inertia coefficient of each candidate receiving circuit as the future stability score, and switch some loads in the high-risk circuit set to the receiving circuit with the highest future stability score; based on the prediction accuracy of historical switching, correct the prediction threshold and K value.
[0032] Specifically, in the future stability scoring, the weighting factor for the rated margin rate is set to 0.7, and the weighting factor for the load inertia coefficient compensation is set to 0.3. The rated margin rate has a higher weighting than the inertia coefficient compensation because: the primary condition for the receiving circuit is that it currently has sufficient load capacity; the inertia coefficient compensation, as a secondary condition, is used to further screen the circuit with the most stable load trend among multiple candidate circuits with similar margins. The sum of the two weights is one, ensuring score normalization. In the calculation of the switching current, the difference between the current and 70% of the rated current limit is taken for the high-risk circuit side. The purpose is to reduce the current of the high-risk circuit to below 70% of the rated value, leaving sufficient margin to cope with possible subsequent load fluctuations. For the receiving circuit side, 50% of the rated margin is taken as the upper limit to prevent the receiving circuit from being overloaded in a single switch. The minimum of the two is taken as the final switching current, ensuring that the switching decision is within the safe range for both circuits.
[0033] In one specific embodiment, step S1 includes:
[0034] On the incoming side of each output circuit of the distribution cabinet, a current transformer with a strain ratio is configured based on the rated current of each circuit. The real-time current value of each circuit is synchronously collected at a fixed sampling period to obtain the current collection value of each circuit at each moment.
[0035] The current acquisition values are stored in the corresponding row and column positions of the loop current time sequence matrix according to the loop number and sampling time. The earliest column is deleted when a new column of data is acquired. The loop current time sequence matrix is maintained in a rolling update manner so that it always saves the current acquisition values of each loop within a continuous fixed time period.
[0036] Based on the current acquisition value of each loop in the current column of the loop current time sequence matrix and the pre-stored rated current upper limit of each loop, the subtraction operation is performed on each loop in turn to obtain the rated margin of each loop.
[0037] The rated margin is compared with the zero value. The loops with rated margin not greater than zero are selected to obtain the set of instant overload loop markers. The loops in the set of instant overload loop markers are directly incorporated into the load switching process, while the loops with rated margin greater than zero are entered into the load inertia coefficient calculation process.
[0038] Specifically, the loop current time-series matrix is a two-dimensional data structure with the number of rows equal to the total number of output loops in the distribution cabinet and a fixed number of columns of 300. Elements in a specific row and column of the matrix store the real-time current acquisition value of the corresponding numbered loop at the corresponding sampling time, in amperes. The rolling update is implemented as follows: after every 100-millisecond sampling cycle, the newly acquired current values of each loop within that cycle are added as a new column to the last column of the matrix, while the earliest column is deleted, ensuring the matrix always maintains 300 columns, corresponding to a 30-second historical window. The 30-second window is set based on the fact that the shortest stable period of load periodic fluctuations in industrial power distribution scenarios is usually no less than 10 seconds. 30 seconds can cover at least two complete fluctuation cycles, ensuring that the load change acceleration obtained from subsequent second-order difference calculations reflects the true load growth trend rather than instantaneous disturbances.
[0039] Rated margin is defined as the difference between the upper limit of the rated current of each circuit and the current real-time current acquisition value. The upper limit of the rated current is pre-stored in the control unit by the distribution cabinet's nameplate parameters during system initialization and remains fixed. The physical meaning of rated margin is the remaining current safety space of the circuit from overload conditions, measured in amperes. A rated margin not greater than zero indicates that the current current of the circuit has reached or exceeded the rated upper limit; such circuits constitute an instant overload circuit marker set and are directly incorporated into the load switching process. Circuits with a rated margin greater than zero are still within the safe operating range and enter the load inertia coefficient calculation process. Both branch paths use whether the rated margin is greater than zero as the sole criterion, covering all possible values of the rated margin, and there are no undefined states.
[0040] In one specific embodiment, step S2 includes:
[0041] The first-order difference operation is performed on the time series data of each row in the loop current time series matrix to obtain the current change between each adjacent sampling time of each loop. The current change is smoothed by mean based on a sliding window with a length of five sampling points to obtain the load change rate of each loop.
[0042] The first-order difference operation is performed on the load change rate sequentially to obtain the rate change between adjacent time points of each loop. The rate change is then smoothed by mean based on a sliding window with a length of three sampling points to obtain the load change acceleration of each loop.
[0043] The load inertia coefficient of each circuit is obtained by dividing the load change acceleration by the rated margin of the corresponding circuit; when the load change acceleration is not greater than zero, the load inertia coefficient of the corresponding circuit is set to zero.
[0044] Specifically, the difference between two adjacent columns in a row of the loop current time-series matrix is taken, i.e., the current sampling value at a later time step minus the current sampling value at the previous time step, to obtain the current change of the loop between adjacent time steps, in amperes per sampling period. The resulting current change sequence is averaged using a sliding window of five sampling points, i.e., the arithmetic mean of the current changes at five consecutive time steps, to obtain the load change rate at the current time step. The sliding window length is set to 500 milliseconds corresponding to five sampling points, based on the principle that the interference amplitude of single sampling noise on the difference result usually does not exceed two sampling periods, and the five-point mean is sufficient to eliminate noise interference without excessively smoothing the true load change trend. Based on the obtained load change rate sequence, a first-order difference operation is performed again, i.e., the load change rate at a later time step is subtracted from the load change rate at the previous time step, to obtain the rate change between adjacent time steps for each loop. Then, the rate change is averaged using a sliding window of three sampling points to obtain the load change acceleration for each loop. The second sliding window length is three sampling points instead of five because the acceleration sequence has already undergone two differential processing steps, and the data fluctuation amplitude is smaller than that of the rate sequence. The three-point average is sufficient to eliminate residual noise. If the five-point average is used, it will cause the acceleration response to lag, weakening the timeliness of the prediction.
[0045] The load inertia coefficient, calculated by dividing the load change acceleration by the rated margin of the corresponding circuit, physically represents the urgency of the current growth trend within the current safe space. A smaller rated margin indicates the circuit is closer to overload; a larger load change acceleration indicates a stronger current growth momentum; and a larger quotient indicates a more concentrated risk of overload. When the load change acceleration is not greater than zero, it indicates that the current growth trend has stabilized or turned downward, and there is no anticipated overload risk. The load inertia coefficient is set to zero, and the subsequent screening process for high-risk circuits is not triggered. The zeroing condition for the load inertia coefficient, together with the entry condition of a rated margin greater than zero, constitutes complete state coverage, ensuring that each circuit has a clear processing path in each sampling period.
[0046] In one specific embodiment, step S3 includes:
[0047] The load inertia coefficient of each loop is compared with the predicted threshold. For loops whose load inertia coefficient continuously exceeds the predicted threshold, the confirmation counter of the corresponding loop is incremented by one unit. For loops whose load inertia coefficient is lower than the predicted threshold, the confirmation counter of the corresponding loop is decremented by one unit, and the value of the confirmation counter after decrement is not lower than zero.
[0048] The cumulative value of the confirmation counter for each loop is compared with the confirmation window length. Loops whose cumulative confirmation counter value reaches the confirmation window length are selected to obtain a set of high-risk loops.
[0049] The load inertia coefficient of the loops already included in the high-risk loop set is compared with half of the predicted threshold. Loops whose load inertia coefficient is lower than half of the predicted threshold for three consecutive sampling periods are removed from the high-risk loop set, and the loop's confirmation counter is reset to zero.
[0050] Specifically, the confirmation counter is an independently maintained integer count variable for each circuit, initially set to zero, with its value limited to between zero and the confirmation window length. Within each sampling period, if the load inertia coefficient of a circuit exceeds the predicted threshold, the confirmation counter for that circuit is incremented by one unit; if it falls below the predicted threshold, it is decremented by one unit, ensuring the value does not fall below zero. The confirmation window length is set to five sampling periods, corresponding to 500 milliseconds. This value is based on the following: In industrial power distribution scenarios, the duration of the inrush current generated when an inductive load starts typically does not exceed 200 milliseconds, i.e., no more than two sampling periods. The abnormal increase in the load inertia coefficient caused by the inrush current cannot cause the confirmation counter to accumulate to five through alternating increments and decrements. However, in real, continuous load growth scenarios, the load inertia coefficient will stably exceed the predicted threshold over multiple consecutive sampling periods. After the confirmation counter stably accumulates to five, screening is triggered, thus accurately distinguishing short-term impact disturbances from real load growth in the time dimension. This is an anti-disturbance capability that existing single-threshold comparison triggering mechanisms lack.
[0051] If a loop already included in the high-risk loop set has a load inertia coefficient that is below half of the predicted threshold for three consecutive sampling periods, it will be removed from the high-risk loop set and its confirmation counter will be reset to zero. The removal criterion uses half of the predicted threshold rather than the threshold itself because: when the load inertia coefficient fluctuates slightly around the predicted threshold, using the threshold itself as the removal criterion would cause the loop to repeatedly enter and exit the high-risk set, leading to frequent triggering and cancellation of handover commands. Using half as the removal criterion requires the load inertia coefficient to clearly fall below the predicted threshold by a sufficiently large margin before it can be confirmed that the overload risk of the loop has been substantially eliminated. The requirement of three consecutive sampling periods corresponds to 300 milliseconds, further eliminating the possibility of the load inertia coefficient rising again after a brief drop. This, combined with the five-period confirmation in the accumulation phase, forms an asymmetric design—strict entry conditions and even stricter exit conditions—preventing instability in handover decisions due to frequent changes in the high-risk loop set.
[0052] In one specific embodiment, step S4, using the weighted difference between the rated margin rate and the load inertia coefficient of each candidate receiving loop as the future stability score, includes:
[0053] The circuits in the high-risk circuit set and the instant overload circuit mark set are excluded from each output circuit, and the remaining circuits form the candidate receiving circuit set;
[0054] Based on the ratio of the rated margin to the upper limit of the rated current of each candidate receiving circuit in the candidate receiving circuit set, the rated margin rate of each candidate receiving circuit is obtained; the rated margin rate is assigned to the first weighting coefficient, and the complement of the ratio of the load inertia coefficient of each candidate receiving circuit to the maximum load inertia coefficient of all circuits is assigned to the second weighting coefficient. The two weighted results are summed to obtain the future stability score of each candidate receiving circuit.
[0055] The target receiving circuit is determined by the circuit with the highest future stability score among the candidate receiving circuit sets.
[0056] Specifically, circuits from both the high-risk circuit set and the instant overload circuit marker set are simultaneously excluded from all output circuits of the distribution cabinet. The remaining circuits are then included in the candidate receiving circuit set. The criteria for simultaneous exclusion of both types of circuits are as follows: circuits in the high-risk circuit set have a load inertia coefficient exceeding the pre-judgment threshold, indicating a pre-judged overload risk and thus lacking the capacity to accept transferred loads; circuits in the instant overload circuit marker set have a current rated margin no greater than zero, indicating an overload state and similarly lacking the capacity to accept loads. The rated margin rate is defined as the ratio of the rated margin of each candidate receiving circuit to its rated current upper limit, reflecting the proportion of the circuit's current remaining safety space to its rated capacity. The value ranges from zero to one; a higher value indicates a more ample current carrying capacity for the circuit. The complement of the ratio of the load inertia coefficient to the maximum load inertia coefficient in all loops is calculated as follows: divide the load inertia coefficient of a candidate receiving loop by the maximum load inertia coefficient in all loops to obtain the normalized inertia coefficient, and then subtract the normalized inertia coefficient from one to obtain the complement. The complement value is also between zero and one. The larger the complement value, the more stable the load growth trend of the loop itself.
[0057] The first weighting coefficient is set to 0.7, and the second weighting coefficient is set to 0.3. Their sum is 1, ensuring the normalization of the future stability score. The reason for setting the first weighting coefficient higher than the second weighting coefficient is as follows: the primary condition for the receiving circuit is that it currently has sufficient physical carrying capacity, and the rated margin rate directly reflects this condition, thus assigning it a higher weight. The load inertia coefficient is used as a secondary condition to further screen among multiple candidate circuits with similar rated margin rates to identify the circuit with the most stable load trend, preventing the load from being transferred to a circuit that, although currently having sufficient margin, is experiencing rapid load growth, thereby triggering a chain reaction of overload. The future stability score is obtained by summing the two weighted results. The candidate receiving circuit with the highest score is selected as the target receiving circuit. The target receiving circuit is uniquely determined, and there is no ambiguity when there is a tie for the highest score. If there are identical scores, the circuit with the smaller circuit number is given priority.
[0058] In one specific embodiment, step S4, switching a portion of the load in the high-risk loop set to the receiving loop with the highest future stability score, includes:
[0059] The switching current is obtained by taking the minimum of the difference between the current acquisition value of each circuit in the high-risk circuit set and 70% of the rated current limit, and 50% of the rated margin of the target receiving circuit.
[0060] The switching power is obtained by multiplying the switching current by the rated voltage of the corresponding circuit. Based on the switching power, a switching command is sent to the intelligent switching module to transfer part of the load of the corresponding circuit in the high-risk circuit set to the target receiving circuit.
[0061] Specifically, the calculation of the switching current involves two constraints: The first constraint comes from the high-risk circuit side, where the switching limit is the difference between the current current acquisition value of the corresponding circuit in the high-risk circuit set and 70% of its rated current limit. This difference physically represents the amount of current transferred to reduce the current of the high-risk circuit to 70% of its rated current limit. The 70% rated current limit is set as the target voltage drop level to ensure that the high-risk circuit current is reduced to below 70% of its rated value, providing sufficient safety margin after switching to cope with subsequent load fluctuations without triggering a high-risk determination. The second constraint comes from the target receiving circuit side, where the switching limit is 50% of the target receiving circuit's current rated margin. This value is set based on the principle that a single switch only occupies half of the remaining load capacity of the target receiving circuit, reserving the other half as a buffer for load fluctuations within the target receiving circuit itself, preventing the target receiving circuit from falling into a high-risk state due to excessive load in a single operation. The final switching current is obtained by taking the minimum value of the two constraints. The logic for taking the minimum value is to simultaneously satisfy the voltage drop requirement of the high-risk circuit side and the load limit of the target receiving circuit side. The more stringent one of the two constraints is selected as the switching amount to ensure that the switching decision is within the safe range for both circuits.
[0062] The switching power is calculated by multiplying the switching current by the rated voltage of the corresponding circuit. The rated voltage is the nominal voltage value of the corresponding circuit in the distribution cabinet, pre-stored in the control unit during system initialization, and is measured in volts. The switching power is measured in watts. The intelligent switching module consists of a solid-state relay or a smart circuit breaker. The control unit sends a switching command to the intelligent switching module based on the switching power. The intelligent switching module then disconnects the load with a rated power equal to the switching power in the corresponding circuit of the high-risk circuit set from the original circuit and connects it to the target receiving circuit, completing the physical transfer of part of the load. The switching command includes three parameters: the high-risk circuit number, the target receiving circuit number, and the switching power. These three parameters together determine a complete switching operation, eliminating any ambiguity caused by missing parameters.
[0063] In one specific embodiment, step S4 involves adjusting the prediction threshold and confirmation window length based on the prediction accuracy of historical switching, including:
[0064] After the switching command is executed, the evolution data of the current acquisition value of the corresponding circuit in the original high-risk circuit set is collected with a fixed evaluation time window. Based on the evolution data, it is judged whether the trend extrapolation result corresponding to the load inertia coefficient before the switching is consistent with the actual current evolution direction, and the prediction accuracy mark of each switching is obtained.
[0065] The historical handover prediction accuracy rate is obtained by identifying the percentage of handovers in a continuous fixed number of historical handover records where the prediction accuracy is marked as accurate, the current acquisition value of the corresponding circuit in the original high-risk circuit set drops to below 75% of the rated current limit after the handover, and the current acquisition value of the target receiving circuit does not exceed 85% of the rated current limit.
[0066] The historical handover prediction accuracy is compared with a first proportional threshold. If the historical handover prediction accuracy is higher than the first proportional threshold, the prediction threshold is lowered by a fixed proportion. The historical handover prediction accuracy is compared with a second proportional threshold. If the historical handover prediction accuracy is lower than the second proportional threshold, the prediction threshold is raised by a fixed proportion, and the confirmation window length is increased by one unit. The adjustment range of the prediction threshold is limited to a first preset range, and the adjustment range of the confirmation window length is limited to a second preset range.
[0067] Specifically, the fixed evaluation duration is set to 10 seconds, corresponding to 100 sampling periods. The 10-second setting is based on the fact that after the switching command is executed, the current response of the high-risk circuit needs several sampling periods to stably reflect the switching effect. In industrial power distribution scenarios, the current stabilization time after load transfer is usually no more than 5 seconds, and a 10-second window is sufficient to cover the complete current response process. The trend extrapolation judgment logic is as follows: take the average load change rate of the high-risk circuit in the last 5 sampling periods before the switching, multiply this average value by the number of sampling periods corresponding to the evaluation duration to obtain the predicted increment of the circuit current under the assumption of no switching. Compare the sum of the current collected value and the predicted increment with the rated current upper limit. If the predicted result exceeds the rated current upper limit, the trend extrapolation result is determined to be an overload trend. If the actual current evolution direction of the circuit within the evaluation window is consistent with the trend extrapolation result direction, the prediction accuracy of this switching is marked as accurate; otherwise, it is marked as inaccurate. The number of consecutive fixed times is set to 20. The historical handover prediction accuracy is obtained by dividing the number of handover records in the most recent 20 handover records that simultaneously meet the following conditions: the prediction accuracy is marked as accurate, the current of the original high-risk circuit drops to below 75% of the rated current limit after the handover, and the current of the target receiving circuit does not exceed 85% of the rated current limit by 20.
[0068] The first proportional threshold is set to 0.85, and the second proportional threshold is set to 0.70. The rationale for these settings is as follows: a historical handover prediction accuracy rate higher than 0.85 indicates that the current prediction threshold has sufficient ability to identify load growth trends; therefore, the prediction threshold is lowered by a fixed percentage of 5% to make the system more sensitive to load growth trends. Conversely, a historical handover prediction accuracy rate lower than 0.70 indicates that the current prediction threshold has a misjudgment rate exceeding 30%; therefore, the prediction threshold is increased by a fixed percentage of 10%, and the confirmation window length is increased by one unit to enhance anti-disturbance capabilities. The adjustment range of the prediction threshold is limited to between 0.02 and 0.15. The lower limit of 0.02 corresponds to the minimum identifiable risk intensity of the system under extremely low load fluctuation scenarios; values below this value will lead to a large number of misjudgments. The upper limit of 0.15 corresponds to the maximum tolerable misjudgment intensity of the system under extremely high load fluctuation scenarios; values exceeding this value will cause the system to respond sluggishly to real overload risks. The adjustment range for the confirmation window length is limited to 3 to 8 sampling periods. The lower limit of 3 sampling periods corresponds to 300 milliseconds, which is the shortest confirmation time required to distinguish between inrush current and actual load growth. The upper limit of 8 sampling periods corresponds to 800 milliseconds. Exceeding this value will cause the system to respond to rapid load growth with severe lag.
[0069] The above describes the multi-circuit power adaptive allocation method for the distribution cabinet in the embodiments of this application. The following describes the multi-circuit power adaptive allocation system for the distribution cabinet in the embodiments of this application. Please refer to [link / reference]. Figure 2 One embodiment of the multi-circuit power adaptive distribution system for power distribution cabinets in this application includes:
[0070] The extraction module is used to synchronously collect the real-time current values of each output circuit of the distribution cabinet at a fixed sampling period, and store the current values of each circuit at M consecutive moments in a rolling update manner into an N-row × M-column circuit current time sequence matrix.
[0071] The calculation module is used to perform second-order difference operations on the timing data of each row of the loop current timing matrix to obtain the load change acceleration of each loop; and to divide the load change acceleration by the rated margin of each loop to obtain the load inertia coefficient of each loop.
[0072] The filtering module is used to filter out a set of high-risk loops from each output loop based on the condition that the load inertia coefficient continuously exceeds a predetermined threshold within K consecutive sampling periods.
[0073] The switching module is used to switch some loads in the high-risk circuit set to the receiving circuit with the highest future stability score by using the weighted difference between the rated margin rate of each candidate receiving circuit and the load inertia coefficient as the future stability score; and to correct the prediction threshold and K value based on the prediction accuracy of historical switching.
[0074] above Figure 2 The multi-circuit power adaptive distribution system of the distribution cabinet in this embodiment of the invention is described in detail from the perspective of modular functional entities. The multi-circuit power adaptive distribution device of the distribution cabinet in this embodiment of the invention is described in detail from the perspective of hardware processing.
[0075] Reference Figure 3 This invention also provides a multi-circuit power adaptive distribution device for a power distribution cabinet. This device can be a server, and its internal structure can be as follows: Figure 3 As shown, the multi-circuit power adaptive distribution device for the power distribution cabinet includes a processor, memory, display screen, input device, network interface, and database connected via a system bus. The processor, designed as a computer, provides computing and control capabilities. The memory of the multi-circuit power adaptive distribution device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system, computer programs, and database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database of the multi-circuit power adaptive distribution device stores the data corresponding to this embodiment. The network interface of the multi-circuit power adaptive distribution device is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements the above-described method.
[0076] Those skilled in the art will understand that Figure 3 The structure shown is merely a block diagram of a portion of the structure related to the present invention and does not constitute a limitation on the multi-circuit power adaptive distribution device of the power distribution cabinet to which the present invention is applied.
[0077] The present invention also provides a computer-readable storage medium, which can be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, wherein the computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the steps of the power distribution cabinet multi-circuit adaptive power allocation method.
[0078] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0079] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a multi-circuit power adaptive distribution device in a power distribution cabinet (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0080] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for adaptive power allocation across multiple circuits in a distribution cabinet, characterized in that, The method includes: Step S1: Synchronously collect the real-time current values of each output circuit of the distribution cabinet at a fixed sampling period. Store the current values of each circuit at M consecutive moments in an N-row × M-column circuit current time sequence matrix in a rolling update manner. Based on the current collection value of each circuit in the current column of the circuit current time sequence matrix and the pre-stored rated current upper limit of each circuit, perform a subtraction operation on each circuit in turn to obtain the rated margin of each circuit. Compare the rated margin with zero value. Select the circuits with rated margin not greater than zero to obtain the instant overload circuit mark set. The circuits in the instant overload circuit mark set are directly incorporated into the load switching process. The circuits with rated margin greater than zero enter the load inertia coefficient calculation process. Step S2: Perform second-order difference operation on the timing data of each row of the loop current timing matrix to obtain the load change acceleration of each loop; divide the load change acceleration by the rated margin of each loop to obtain the load inertia coefficient of each loop. Step S3: Based on the condition that the load inertia coefficient continuously exceeds the predicted threshold within K consecutive sampling periods, a set of high-risk loops is obtained from each output loop; Step S4: Using the weighted sum of the rated margin rate of each candidate receiving circuit and the load inertia coefficient as the future stability score, switch some loads in the high-risk circuit set to the receiving circuit with the highest future stability score; based on the prediction accuracy of historical switching, correct the prediction threshold and K value, wherein circuits in the high-risk circuit set and the instant overload circuit marker set are excluded from each output circuit, and the remaining circuits constitute the candidate receiving circuit set; based on the ratio of the rated margin to the rated current upper limit of each candidate receiving circuit in the candidate receiving circuit set, obtain the rated margin rate of each candidate receiving circuit.
2. The multi-circuit power adaptive allocation method for power distribution cabinets according to claim 1, characterized in that, Step S1 includes: On the incoming side of each output circuit of the distribution cabinet, a current transformer with a strain ratio is configured based on the rated current of each circuit. The real-time current value of each circuit is synchronously collected at a fixed sampling period to obtain the current collection value of each circuit at each moment. The current acquisition values are stored in the corresponding row and column positions of the loop current time sequence matrix according to the loop number and sampling time. The earliest column is deleted when a new column of data is acquired. The loop current time sequence matrix is maintained in a rolling update manner so that it always saves the current acquisition values of each loop within a continuous fixed time period.
3. The multi-circuit power adaptive allocation method for power distribution cabinets according to claim 2, characterized in that, Step S2 includes: The first-order difference operation is performed on the time series data of each row in the current time series matrix of the circuit to obtain the current change between each adjacent sampling time of each circuit. The current change is smoothed by mean based on a sliding window with a length of five sampling points to obtain the load change rate of each circuit. The load change rate is sequentially subjected to first-order difference operation to obtain the rate change between adjacent time points of each loop. The rate change is then smoothed by mean based on a sliding window with a length of three sampling points to obtain the load change acceleration of each loop. The load inertia coefficient of each circuit is obtained by dividing the load change acceleration by the rated margin of the corresponding circuit; when the load change acceleration is not greater than zero, the load inertia coefficient of the corresponding circuit is set to zero.
4. The multi-circuit power adaptive allocation method for power distribution cabinets according to claim 3, characterized in that, Step S3 includes: The load inertia coefficient of each loop is compared with the predicted threshold. For loops whose load inertia coefficient continuously exceeds the predicted threshold, the confirmation counter of the corresponding loop is incremented by one unit. For loops whose load inertia coefficient is lower than the predicted threshold, the confirmation counter of the corresponding loop is decremented by one unit, and the value of the confirmation counter after decrement is not lower than zero. The cumulative value of the confirmation counter for each loop is compared with the confirmation window length, and a set of high-risk loops is obtained by filtering loops whose cumulative value of the confirmation counter reaches the confirmation window length. The load inertia coefficient of the loops already included in the high-risk loop set is compared with half of the prediction threshold. Loops whose load inertia coefficient is lower than half of the prediction threshold for three consecutive sampling periods are removed from the high-risk loop set, and the confirmation counter of the loop is reset to zero.
5. The multi-circuit power adaptive allocation method for power distribution cabinets according to claim 4, characterized in that, In step S4, the future stability score is calculated using the weighted sum of the rated margin rate of each candidate receiving loop and the load inertia coefficient, including: The rated margin rate is assigned to the first weighting coefficient, and the complement of the ratio of the load inertia coefficient of each candidate receiving loop to the maximum load inertia coefficient of all loops is assigned to the second weighting coefficient. The two weighted results are summed to obtain the future stability score of each candidate receiving loop. The target receiving circuit is determined from the set of candidate receiving circuits that has the highest future stability score.
6. The multi-circuit power adaptive allocation method for power distribution cabinets according to claim 5, characterized in that, In step S4, switching a portion of the load in the high-risk loop set to the receiving loop with the highest future stability score includes: The switching current is obtained by taking the minimum of the difference between the current acquisition value of each circuit in the high-risk circuit set and 70% of the rated current limit, and 50% of the rated margin of the target receiving circuit. The switching power is obtained by multiplying the switching current by the rated voltage of the corresponding circuit. Based on the switching power, a switching command is sent to the intelligent switching module to transfer part of the load of the corresponding circuit in the high-risk circuit set to the target receiving circuit.
7. The multi-circuit power adaptive allocation method for power distribution cabinets according to claim 6, characterized in that, In step S4, the prediction threshold and the confirmation window length are corrected based on the prediction accuracy of historical switching, including: After the switching command is executed, the evolution data of the current acquisition value of the corresponding circuit in the original high-risk circuit set is collected with a fixed evaluation time window. Based on the evolution data, it is determined whether the trend extrapolation result corresponding to the load inertia coefficient before the switching is consistent with the actual current evolution direction, so as to obtain the prediction accuracy mark of each switching. The historical handover prediction accuracy rate is obtained based on the percentage of handovers in a continuous fixed number of historical handover records where the predicted accuracy is marked as accurate, and after the handover, the current acquisition value of the corresponding circuit in the original high-risk circuit set drops to below 75% of the rated current upper limit, and the current acquisition value of the target receiving circuit does not exceed 85% of the rated current upper limit. The historical handover prediction accuracy is compared with a first proportional threshold. If the historical handover prediction accuracy is higher than the first proportional threshold, the prediction threshold is lowered by a fixed proportion. The historical handover prediction accuracy is compared with a second proportional threshold. If the historical handover prediction accuracy is lower than the second proportional threshold, the prediction threshold is raised by a fixed proportion, and the confirmation window length is increased by one unit. The adjustment range of the prediction threshold is limited to a first preset interval, and the adjustment range of the confirmation window length is limited to a second preset interval.
8. A multi-circuit adaptive power distribution system for a power distribution cabinet, characterized in that, For implementing the multi-circuit power adaptive allocation method for a distribution cabinet as described in any one of claims 1-7, the multi-circuit power adaptive allocation system for the distribution cabinet comprises: The extraction module is used to synchronously collect the real-time current values of each output circuit of the distribution cabinet at a fixed sampling period. The current values of each circuit at M consecutive moments are stored in an N-row × M-column circuit current time series matrix in a rolling update manner. Based on the current collection value of each circuit in the current column of the circuit current time series matrix and the pre-stored rated current upper limit of each circuit, the difference operation is performed on each circuit in turn to obtain the rated margin of each circuit. The rated margin is compared with zero value. The circuits with rated margin not greater than zero are selected to obtain the instant overload circuit mark set. The circuits in the instant overload circuit mark set are directly incorporated into the load switching process. The circuits with rated margin greater than zero enter the load inertia coefficient calculation process. The calculation module is used to perform second-order difference operations on the timing data of each row of the loop current timing matrix to obtain the load change acceleration of each loop; and to divide the load change acceleration by the rated margin of each loop to obtain the load inertia coefficient of each loop. The filtering module is used to filter out a set of high-risk loops from each output loop based on the condition that the load inertia coefficient continuously exceeds a predetermined threshold within K consecutive sampling periods. The switching module is used to switch some loads in the high-risk circuit set to the receiving circuit with the highest future stability score by using the weighted sum of the rated margin rate of each candidate receiving circuit and the load inertia coefficient; and to correct the prediction threshold and K value based on the prediction accuracy of historical switching, wherein circuits in the high-risk circuit set and the instant overload circuit mark set are excluded from each output circuit, and the remaining circuits constitute the candidate receiving circuit set; and to obtain the rated margin rate of each candidate receiving circuit based on the ratio of the rated margin to the rated current upper limit of each candidate receiving circuit in the candidate receiving circuit set.
9. A multi-circuit power adaptive distribution device for a power distribution cabinet, characterized in that, It includes a memory and a processor, the memory storing a computer program that can run on the processor, and the processor executing the computer program to implement the multi-circuit power adaptive allocation method for the distribution cabinet as described in any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is run by the processor, it causes the processor to execute the power adaptive allocation method for multiple circuits in the distribution cabinet as described in any one of claims 1 to 7.