A comprehensive power distribution box load balancing regulation method and comprehensive power distribution box
Patent Information
- Application Number
- CN202611517230.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-29
- Publication Date
- 2026-10-30
AI Technical Summary
[0005]本发明提供了一种综合配电箱负载均衡的调控方法及综合配电箱,解决了现有技术中由于缺乏动态自适应调节,同时相别切换频繁,导致终端设备运行中断、设备利用率低下的技术问题
本发明提供了一种综合配电箱负载均衡的调控方法及综合配电箱,首先,同步获取三相实时电流值与各终端设备的实时运行功率及预计剩余运行时长,获取电气量参数与时间维度参数的多源数据融合基础;其次,从三相实时电流值中计算三相电流不平衡度,并结合额定总容量与当前三相总负荷计算各相剩余可用容量,实现了对终端负荷所导致的不平衡程度的精准量化,以及对各相供电裕度的客观评估,为功率调配提供了容量边界约束;再次,结合预计剩余运行时长的运行紧迫度系数,经归一化处理获得各终端设备的紧迫度权重,并结合各相剩余可用容量计算各相综合调控系数,将终端任务的时间紧迫性纳入调控决策体系;进一步地,以最小化三相电流不平衡度为目标,以综合调控系数为约束,在动态功率调整步长下进行迭代寻优,实现了三相不平衡度的渐进式、精细化逼近优化,避免了大幅单次调节引发的功率振荡和过调问题;最终,根据功率调整量生成控制指令并下发执行,实现了综合配电箱在终端负荷动态变化条件下的三相负载均衡调控,在有效降低三相电流不平衡度的同时兼顾了各终端设备的终端任务的紧迫程度差异,保障了电网设备安全运行、提高用户充电体验。
Smart Images

Figure CN123018947A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of load control technology for distribution boxes, specifically to a load balancing control method for an integrated distribution box and an integrated distribution box. Background Technology
[0002] As the core equipment for power distribution and control in low-voltage power distribution networks, integrated distribution boxes typically use a three-phase four-wire power supply method to provide power to various terminal devices. However, the power distribution of these terminal devices exhibits significant randomness and time-varying characteristics.
[0003] The presence of three-phase current imbalance will increase power loss in the line, reduce the output of the distribution transformer, generate zero-sequence current, and affect the safe operation of electrical equipment. At the same time, three-phase imbalance can also lead to excessively high or low phase voltage, which can impact the power grid, damage electrical equipment connected to the grid, and affect the safe operation of the power distribution system.
[0004] However, traditional methods lack dynamic adaptive adjustment, which can easily lead to severe imbalance of three-phase loads in the transformer area and overcurrent in the neutral line. At the same time, the hard blocking of total power will frequently trigger overload trips, resulting in low equipment utilization and power supply service interruptions. Summary of the Invention
[0005] This invention provides a control method for load balancing of an integrated distribution box and an integrated distribution box, which solves the technical problems in the prior art that the lack of dynamic adaptive adjustment and frequent phase switching lead to interruption of terminal equipment operation and low equipment utilization.
[0006] In a first aspect, the present invention provides a method for load balancing control of an integrated distribution box, the method comprising: Obtain the real-time current value at the three-phase incoming line of the integrated distribution box and the real-time operating power and estimated remaining operating time of each terminal device connected to each phase; Calculate the current three-phase current imbalance based on the real-time three-phase current values, and calculate the remaining available capacity of each phase by combining the rated total capacity of the integrated distribution box with the current total three-phase load. Based on the estimated remaining runtime of each terminal device, the corresponding operational urgency coefficient is obtained. The operational urgency coefficients of all terminal devices in the same phase are normalized to obtain the urgency weight of each terminal device. Combined with the remaining available capacity of each phase, the comprehensive control coefficient of each phase is calculated. With the goal of minimizing the three-phase current imbalance and the comprehensive control coefficient of each phase as a constraint, the operating power of each terminal device is iteratively optimized under the dynamic power adjustment step size until the three-phase current imbalance is less than the target imbalance threshold or the maximum number of iterations is reached, thereby obtaining the power adjustment amount of each terminal device. Control commands are generated based on the power adjustment amount of each terminal device and sent to each terminal device to perform power adjustment.
[0007] Secondly, the present invention provides a comprehensive distribution box, which serves as a carrier for implementing the aforementioned comprehensive distribution box load balancing control method, comprising: The terminal equipment parameter acquisition module is used to acquire the real-time current value at the three-phase incoming line of the integrated distribution box and the real-time operating power and estimated remaining operating time of each terminal equipment connected to each phase; The module for calculating the remaining available capacity of each phase is used to calculate the current imbalance of the three-phase current based on the real-time current value of the three phases, and to calculate the rated total capacity of the integrated distribution box and the current total load of the three phases in combination with the remaining available capacity of each phase, and to calculate the remaining available capacity of each phase. The comprehensive control coefficient calculation module is used to obtain the corresponding operation urgency coefficient based on the expected remaining runtime of each terminal device, normalize the operation urgency coefficients of all terminal devices in the same phase to obtain the urgency weight of each terminal device, and calculate the comprehensive control coefficient of each phase in combination with the remaining available capacity of each phase. The power adjustment optimization module is used to iteratively optimize the operating power of each terminal device under the dynamic power adjustment step size with the goal of minimizing the three-phase current imbalance and the constraint of the comprehensive control coefficient of each phase, until the three-phase current imbalance is less than the target imbalance threshold or the maximum number of iterations is reached, so as to obtain the power adjustment amount of each terminal device. The power adjustment module is used to generate control commands based on the power adjustment amount of each terminal device and send them to each terminal device to perform power adjustment.
[0008] One or more technical solutions provided in this invention have at least the following technical effects or advantages: This invention provides a load balancing control method and integrated distribution box for a comprehensive distribution box. First, it synchronously acquires the real-time three-phase current values, the real-time operating power of each terminal device, and the estimated remaining operating time, thus obtaining a multi-source data fusion basis for electrical quantity parameters and time dimension parameters. Second, it calculates the three-phase current imbalance from the real-time three-phase current values and, combined with the rated total capacity and the current total three-phase load, calculates the remaining available capacity of each phase. This achieves accurate quantification of the imbalance caused by the terminal load and an objective assessment of the power supply margin of each phase, providing capacity boundary constraints for power allocation. Third, it combines the operating urgency coefficient of the estimated remaining operating time, normalizes it to obtain the urgency weight of each terminal device, and combines it with the urgency weight of each phase. The remaining available capacity is used to calculate the comprehensive control coefficient for each phase, incorporating the time urgency of terminal tasks into the control decision-making system. Furthermore, with the goal of minimizing three-phase current imbalance and constrained by the comprehensive control coefficient, iterative optimization is performed under dynamic power adjustment step size, achieving a gradual and refined approximation optimization of three-phase imbalance, avoiding power oscillations and over-adjustment problems caused by large single adjustments. Finally, control commands are generated and executed based on the power adjustment amount, realizing three-phase load balancing control of the integrated distribution box under dynamic changes in terminal load. While effectively reducing three-phase current imbalance, it also takes into account the differences in the urgency of terminal tasks of each terminal device, ensuring the safe operation of power grid equipment and improving the user charging experience. Attached Figure Description
[0009] Figure 1 This is a flowchart illustrating a load balancing control method for an integrated distribution box provided by the present invention. Figure 2 This is a logic diagram of a load balancing control method for an integrated distribution box provided by the present invention; Figure 3 This is a schematic diagram of the structure of each module in an integrated power distribution box provided by the present invention.
[0010] In the attached diagram, the components represented by each number are as follows: Terminal equipment parameter acquisition module 11; remaining available capacity calculation module for each phase 12; comprehensive control coefficient calculation module 13; power adjustment optimization module 14; power regulation module 15. Detailed Implementation
[0011] This invention provides a control method for load balancing of an integrated distribution box and an integrated distribution box, which solves the technical problems in the prior art that the lack of dynamic adaptive adjustment and frequent phase switching lead to interruption of terminal equipment operation and low equipment utilization.
[0012] The present invention will now be described in detail with reference to the accompanying drawings.
[0013] Example 1, as Figure 1 , Figure 2 As shown, the present invention provides a method for load balancing control of an integrated distribution box, the method comprising: S100: Obtain the real-time current value at the three-phase incoming line of the integrated distribution box and the real-time operating power and estimated remaining operating time of each terminal device connected to each phase; In this embodiment of the invention, the integrated distribution box refers to a low-voltage switchgear assembly, whose input terminal is connected to a three-phase AC power grid, and whose output terminal supplies power to various electrical loads through several feeder circuits; the three-phase incoming line is the inlet terminal of the integrated distribution box that connects to the external three-phase power supply, typically including three phase lines (A, B, and C) and a neutral line; the real-time current value is the effective value of the current flowing through the conductors of each phase incoming line at the current acquisition time; the input terminal of the terminal device is connected to a certain phase output circuit of the integrated distribution box; the real-time operating power is the active power output by the terminal device to the electric vehicle at the current time; the estimated remaining running time is the remaining time required for the terminal device to complete this charging service based on the current battery state of charge, the target charging amount, and the current operating power.
[0014] Specifically, the real-time current values at the three-phase incoming lines are read in real time by the three-phase energy meters configured in the integrated distribution box, and recorded as the real-time current values of phase A, phase B, and phase C, respectively. Subsequently, the terminal equipment management platform acquires the real-time operating power of all terminal devices connected to each phase of the integrated distribution box and the estimated remaining runtime reported by each terminal device according to the acquisition cycle. The terminal equipment management platform communicates with each terminal device via a communication network, calculating the estimated remaining runtime in real time based on parameters such as the terminal device's current state of charge, battery temperature, health status, and the user-set target charging amount, and reporting this to the platform. Specifically, battery parameters can be obtained and reported to the platform through extended digital communication protocols with the vehicle, such as ISO15118 and GB / T27930. The system simultaneously acquires the three-phase real-time current values, the real-time operating power of each terminal device, and the estimated remaining runtime.
[0015] Step S100 in the method of this embodiment of the invention includes: The real-time current value at the three-phase incoming line is read by the three-phase energy meter configured in the integrated distribution box according to the set sampling interval; Through the terminal device management platform, the real-time operating power of all terminal devices connected to each phase of the integrated distribution box and the estimated remaining operating time reported by each terminal device are obtained according to the same sampling period as the sampling interval. The three-phase real-time current values, real-time operating power of each terminal device and estimated remaining operating time acquired at the same acquisition time are grouped according to the physical access phase of each terminal device to obtain the A-phase dataset, B-phase dataset and C-phase dataset. The validity of data items in the A-phase dataset, the B-phase dataset, and the C-phase dataset are verified respectively to obtain the valid terminal device dataset for each phase; The real-time operating power of each terminal device in the effective terminal device data of each phase is accumulated, and the real-time current value of the corresponding phase obtained at the same time is combined with the rated phase voltage of the integrated distribution box to calculate the actual load power of each phase. The difference between the actual load power and the cumulative operating power of the effective terminal equipment dataset of the corresponding phase is calculated to obtain the non-terminal basic load power of each phase.
[0016] In this embodiment of the invention, firstly, the real-time current values at the three-phase incoming lines are read according to a set sampling interval using a three-phase energy meter configured within the integrated distribution box. The three-phase energy meter is an intelligent metering device installed on the incoming side of the integrated distribution box, capable of real-time measurement and data output of parameters such as three-phase voltage, current, power, and energy. It integrates a current transformer, a voltage sampling circuit, an analog-to-digital converter, and a digital signal processor.
[0017] Specifically, the integrated distribution box is equipped with a three-phase energy meter that has passed metering verification at the three-phase incoming line. Its current sampling circuit is coupled to the three incoming conductors of phases A, B, and C through a current transformer. The controller sends data reading requests to the three-phase energy meter according to the preset sampling interval, and the energy meter reads the effective value of the three-phase current at the current moment after responding to the request.
[0018] Secondly, through the terminal device management platform, data requests are sent to each terminal device at the same collection cycle as the sampling interval, for example, 5 seconds. After responding to the request, each terminal device obtains the real-time operating power of all terminal devices connected to phases A, B, and C of the integrated distribution box, as well as the estimated remaining runtime reported by each terminal device, from the terminal device management platform. The terminal device management platform is a terminal device monitoring and management software system deployed locally or in the cloud, responsible for establishing communication connections with each terminal device, collecting operational data from the terminal devices, and issuing control commands.
[0019] Specifically, the sampling interval and acquisition period are set to the same time length so that the three-phase incoming current data and the operating data of each terminal device can be correlated and compared under the same time reference during subsequent data processing, avoiding calculation deviations caused by asynchronous data acquisition time.
[0020] For example, suppose that at a certain data collection time t=0 seconds, the three-phase energy meter reads a real-time current value of 150A for phase A, 120A for phase B, and 180A for phase C. Simultaneously, the terminal device management platform obtains the following real-time operating power data: the terminal device connected to phase A has a real-time operating power of 7kW and an estimated remaining operating time of 45 minutes; the terminal device connected to phase B has a real-time operating power of 6kW and an estimated remaining operating time of 30 minutes; and the terminal device connected to phase C has a real-time operating power of 7.5kW and an estimated remaining operating time of 25 minutes.
[0021] Furthermore, the three-phase real-time current values, real-time operating power of each terminal device, and estimated remaining operating time acquired at the same time are grouped according to the physical connection phase of each terminal device. The physical connection phase refers to the phase (A, B, or C) that each terminal device is actually connected to on the low-voltage outgoing side of the integrated distribution box. This connection phase is determined by the installation and wiring method of the terminal device, and the phase assignment information for each terminal device is pre-configured in the terminal device management platform.
[0022] Specifically, the relevant data of terminal devices belonging to the same phase category are aggregated together with the real-time current values of the corresponding phase to form Phase A dataset, Phase B dataset, and Phase C dataset. Each phase dataset includes at least the real-time current value of that phase, as well as the real-time operating power and estimated remaining operating time of all terminal devices connected to that phase.
[0023] Furthermore, the validity of data items in the A-phase, B-phase, and C-phase datasets is verified to obtain valid terminal device datasets for each phase. Validation is used to remove outliers, missing values, or data items that clearly do not conform to physical laws that may have occurred during data acquisition or transmission, ensuring the accuracy and reliability of the data used in subsequent calculations.
[0024] Specifically, validity verification includes at least one or more of the following verification rules: verifying whether the real-time operating power is greater than zero or verifying whether the estimated remaining operating time is less than the minimum charging time threshold. Data that fails the validity verification is marked as invalid terminal device data and removed from the corresponding dataset; data that passes the validity verification is retained as valid terminal device data and included in the valid terminal device dataset. The minimum charging time threshold can be determined based on the rated power capacity and current load rate of the distribution area where the integrated distribution box is located, and corrected according to the mode of the rated operating power of all terminal devices in the distribution area. For example, a statistical estimation method can be used: collect the estimated remaining operating time data reported by each terminal device in the same historical period of the distribution area, and take the lower quartile, i.e., the 25th percentile, as the minimum charging time threshold; or set a fixed empirical value based on the typical ratio of the rated operating power of the terminal device to the battery capacity.
[0025] Furthermore, the real-time operating power of each terminal device in the effective terminal device data of each phase is accumulated to obtain the cumulative operating power of each phase, which is the sum of the operating power currently consumed by all effective terminal devices in that phase. Simultaneously, by combining the real-time current value of the corresponding phase obtained at the same acquisition time with the rated phase voltage of the integrated distribution box, the actual load power of each phase at the current moment is calculated. The actual load power refers to the total power consumption of that phase at the current moment, including the power consumed by terminal devices and the power consumed by non-terminal loads.
[0026] Specifically, the actual load power can be obtained by multiplying the real-time current value of the corresponding phase by the rated phase voltage of the integrated distribution box, and then multiplying by the power factor, according to the power calculation formula. That is, actual load power = real-time current value × rated phase voltage × power factor. The power factor needs to be obtained in real time through an independent power factor meter or an energy meter with power factor output function. The three-phase energy meter (smart meter) configured in the integrated distribution box synchronously samples the voltage and current waveforms at high speed, calculates the active power and apparent power separately through digital signal processing, and outputs the ratio of the two as the power factor in real time.
[0027] Finally, the difference between the actual load power and the cumulative operating power of the effective terminal equipment dataset of the corresponding phase is calculated to obtain the non-terminal basic load power of each phase, where the non-terminal basic load power = actual load power - cumulative operating power of the effective terminal equipment dataset.
[0028] In this embodiment of the invention, the real-time current values at the three-phase incoming lines are collected in real time by the three-phase energy meters configured in the integrated distribution box. This enables the association and grouping of the three-phase incoming current data with the operating data of each phase terminal equipment, ensuring the consistency of the data used for subsequent imbalance calculations and power regulation in the time dimension. Simultaneously, abnormal and missing data are eliminated through validity checks, improving data quality. Through the terminal equipment management platform, the real-time operating power of all terminal equipment and the estimated remaining operating time reported by the terminal equipment are obtained. Then, the difference between the actual load power and the cumulative operating power of the corresponding effective terminal equipment datasets for each phase is calculated to obtain the non-terminal basic load power. This allows subsequent imbalance analysis to focus on the controllable terminal load portion, improving the accuracy and effectiveness of regulation.
[0029] S200: Calculate the current imbalance of the three-phase current based on the real-time three-phase current value, and calculate the remaining available capacity of each phase in combination with the rated total capacity of the integrated distribution box and the current total three-phase load. In this embodiment of the invention, the three-phase current imbalance is a quantitative indicator representing the degree to which the amplitude of each phase current in a three-phase system deviates from the equilibrium state, and is used to reflect the degree of asymmetry of the three-phase load; the rated total capacity refers to the maximum apparent power that the integrated distribution box design can bear.
[0030] Extract the real-time current values corresponding to the A-phase, B-phase, and C-phase datasets at the same acquisition time. However, the real-time current at the three-phase input line includes both controllable terminal currents from terminal devices and base load currents from non-terminal fixed loads such as lighting and air conditioning, the latter of which cannot be changed by adjusting the power of the terminal devices. Therefore, it is necessary to separate the controllable portion from the three-phase real-time current values to locate specific adjustable terminal devices in subsequent iterations.
[0031] Specifically, based on the non-terminal base load power of each phase and the rated phase voltage of the integrated distribution box, the base load current of each phase is calculated. Subtracting the base load current of the corresponding phase from the real-time current value of each phase yields the controllable terminal current of each phase. This controllable terminal current is only used in subsequent iterations to determine which terminal device in each phase should be adjusted, but it is not used as the basis for calculating the three-phase current imbalance.
[0032] Three-phase current imbalance should be calculated based on the real-time total three-phase current, because line losses, transformer output, and neutral current all depend on the actual distribution of the total current, not just the terminal load component. Only the total current imbalance can truly reflect the overall load balance at the distribution box's inlet. The specific calculation steps are as follows: extract the real-time current values of phases A, B, and C at the same moment, calculate the root mean square value of the three as the equivalent value, and take the phase current with the largest absolute deviation from the equivalent value. Determine the imbalance based on its relative deviation.
[0033] Subsequently, the actual load power of each phase is extracted and summed to obtain the current three-phase total load. Combined with the rated total capacity of the integrated distribution box, the total remaining available capacity is obtained. The estimated remaining operating time of each terminal device in the effective terminal equipment data for each phase is extracted, and the average remaining time within each phase is calculated to obtain the urgency weight of each phase. Finally, the total remaining available capacity is allocated according to the urgency weight of each phase to obtain the remaining available capacity of each phase.
[0034] Step S200 in the method of this embodiment of the invention includes: Extract the real-time current values corresponding to the A-phase dataset, B-phase dataset, and C-phase dataset at the same acquisition time, and denot them as the A-phase real-time current value, B-phase real-time current value, and C-phase real-time current value, respectively. Calculate the root mean square values of the real-time current values of phase A, phase B, and phase C, and use them as the equivalent value of the total three-phase current. The phase current value with the largest absolute value of deviation from the equivalent value of the total three-phase current among the real-time current values of phase A, phase B, and phase C is denoted as the real-time current of the phase with the largest deviation. The three-phase current imbalance at the current moment is determined based on the relative deviation between the real-time current of the phase with the maximum deviation and the equivalent value of the total three-phase current.
[0035] In the above calculation process, the root mean square value can comprehensively reflect the overall amplitude level of the three-phase current, avoiding the problem that the simple average value weakens the influence of the larger current component after averaging. The phase with the largest absolute value of deviation is selected as the evaluation basis because this phase is the link with the most prominent imbalance problem. Using this phase as the basis can most effectively reflect the severity of the current imbalance of the three-phase current.
[0036] In this embodiment of the invention, firstly, the real-time current values corresponding to the A-phase dataset, B-phase dataset, and C-phase dataset at the same acquisition time are extracted and denoted as the A-phase real-time current value, B-phase real-time current value, and C-phase real-time current value, respectively.
[0037] Secondly, based on the non-terminal basic load power of each phase and the rated phase voltage of the integrated distribution box, the basic load current is determined. The basic load current is the quotient of the non-terminal basic load power and the rated phase voltage, i.e., basic load current = non-terminal basic load power / rated phase voltage.
[0038] Non-terminal basic load power refers to the power consumed by electrical equipment other than terminal equipment on this phase line. This part of the load is not affected by the power control command of the terminal equipment and belongs to a fixed component that cannot be adjusted.
[0039] Next, the non-terminal basic load power on each phase of the integrated distribution box is processed separately, and division operations are performed to obtain the basic load current of phase A, phase B, and phase C respectively.
[0040] Secondly, since the controllable terminal current is the current component generated by the terminal equipment load on each phase line, it is a portion of the current that can be actively adjusted by regulating the operating power of the terminal equipment. The controllable terminal current is equal to the difference between the real-time current value and the base load current, i.e., controllable terminal current = real-time current value - base load current. The controllable terminal current of phase A, phase B, and phase C is obtained by subtracting the base load current of phase A, phase B, and phase C from the real-time current values of phase A, phase B, and phase C, respectively.
[0041] The controllable terminal current quantifies the current amplitude that can be actively adjusted by the terminal equipment control strategy on each phase line, providing a data basis for selecting specific adjustment objects from each phase in subsequent iterative optimization, but it does not participate in the calculation of the three-phase current imbalance. The target value of the imbalance is always based on the real-time total current of the three phases.
[0042] Step S200 in the method of this embodiment of the invention further includes: Extract the actual load power of each phase and sum them to obtain the current three-phase total load. Combine this with the rated total capacity of the integrated distribution box to obtain the total remaining available capacity. Extract the estimated remaining runtime of each terminal device in the effective terminal device dataset of each phase, and calculate the harmonic average of the estimated remaining runtime of all terminal devices in the effective terminal device dataset of each phase to obtain the average remaining runtime of phase A, phase B, and phase C. Calculate the reciprocals of the average remaining time of phase A, the average remaining time of phase B, and the average remaining time of phase C to obtain the urgency of phase A, phase B, and phase C; The urgency of phase A, the urgency of phase B, and the urgency of phase C are normalized to obtain the urgency weights of phase A, phase B, and phase C. The total remaining available capacity is pre-allocated according to the urgency weight of phase A, phase B, and phase C. The pre-allocation result is compared with the actual physical remaining capacity of each phase, and the smaller value is taken to obtain the remaining available capacity of phase A, phase B, and phase C.
[0043] In this embodiment of the invention, firstly, the actual load power of each phase is extracted and summed to obtain the current three-phase total load. The current three-phase total load refers to the cumulative value of the actual load power of phases A, B, and C of the integrated distribution box at a certain acquisition time, reflecting the total power consumption level of the entire distribution box at the current moment. Specifically, the total power consumption value of each phase is obtained indirectly by multiplying the real-time current value of each phase by the rated phase voltage and subtracting the non-terminal basic load. The actual load power of phase A, phase B, and phase C is then added together to obtain the current three-phase total load.
[0044] Then, by combining the rated total capacity of the integrated distribution box, the total remaining usable capacity is obtained. The total remaining usable capacity equals the difference between the rated total capacity and the current three-phase total load, i.e., Total remaining usable capacity = Rated total capacity - Current three-phase total load. The rated total capacity is the maximum apparent power that the integrated distribution box can be designed to carry, determined by the product of the distribution box's rated current and rated voltage. Its value is marked on the distribution box's nameplate and can therefore be read from the integrated distribution box's nameplate.
[0045] Secondly, the estimated remaining runtime of each terminal device in the effective terminal device dataset for each phase is extracted. The harmonic mean of the estimated remaining runtime of all terminal devices in the effective terminal device dataset for each phase is then calculated to obtain the average remaining runtime of phase A, phase B, and phase C. The estimated remaining runtime refers to the time length estimated by each terminal device based on its current battery state of charge (SOC) and current operating power. This value is calculated by the terminal device's own battery management system and periodically reported to the terminal device management platform.
[0046] Specifically, the harmonic mean represents the reciprocal of the arithmetic mean of the reciprocals of the data points. The mathematical expression for the harmonic mean is = Where n is the number of data points, t i This represents the estimated remaining runtime for the i-th terminal device.
[0047] Next, calculate the reciprocals of the average remaining time for phase A, phase B, and phase C to obtain the urgency levels for phases A, B, and C, respectively: Phase A urgency = 1 / Average remaining time for phase A, Phase B urgency = 1 / Average remaining time for phase B, and Phase C urgency = 1 / Average remaining time for phase C. The urgency level represents the time-related urgency of each phase's terminal tasks, and its value is equal to the reciprocal of the average remaining time. A shorter average remaining time indicates that the terminal tasks within that phase are closer to their completion deadlines, requiring priority in power supply to avoid terminal interruptions or significant time delays; a longer average remaining time indicates that the terminal tasks within that phase have ample time, allowing for a reduction in power allocation priority during periods of power shortage.
[0048] Furthermore, the urgency levels of phases A, B, and C are normalized to obtain the urgency weights for phases A, B, and C. Specifically, normalization involves dividing the urgency level of each phase by the sum of the urgency levels of the three phases. The normalized value is the urgency weight of a phase = urgency level of that phase / (urgency level of phase A + urgency level of phase B + urgency level of phase C). When the effective terminal device datasets for each phase are all empty, the current control process is terminated and the system waits for the next acquisition cycle; otherwise, urgency calculation and normalization are performed only in phases with at least one effective terminal device.
[0049] Finally, the total remaining available capacity is pre-allocated according to the urgency weights of phase A, phase B, and phase C to obtain the pre-allocated remaining capacity for each phase. To ensure that the allocation results do not exceed the independent physical capacity limit of each phase, the actual physical remaining capacity of phases A, B, and C is obtained separately, which is the rated capacity of the phase minus the current actual load power of the phase. The pre-allocated remaining capacity of each phase is compared with the corresponding actual physical remaining capacity, and the smaller one is taken as the final remaining available capacity of the phase. When the pre-allocated remaining capacity of a phase exceeds its actual physical remaining capacity, the excess part is considered invalid, and the remaining available capacity of the phase is capped at the actual physical remaining capacity. At the same time, the phase is marked as a non-increaseable power state in subsequent iterations.
[0050] Specifically, the remaining available capacity of each phase refers to the actual available power margin allocated to each phase from the total remaining available capacity, taking into account the differences in the urgency of each phase's terminals and their respective independent physical capacity constraints. The final remaining available capacity of each phase = min(capacity pre-allocated according to urgency weight, rated capacity of that phase - current actual load power of that phase). This calculation method reflects the guiding role of urgency weight in capacity allocation while ensuring that the allocation result is limited by independent physical constraints such as conductor current carrying capacity, circuit breaker settings, and feeder circuit capacity, preventing excessive capacity transfer between phases. Phases with higher urgency weights receive a larger share of pre-allocated power margin in the total remaining capacity allocation to prioritize power supply to terminal equipment within that phase; however, if the pre-allocated share exceeds the actual physical remaining capacity of that phase, the actual physical remaining capacity serves as the upper limit to avoid violating the independent physical constraints of that phase.
[0051] In this embodiment of the invention, controllable terminal current components are obtained by real-time acquisition of three-phase incoming current and operating data of terminal equipment in each phase. Then, the terminal urgency is quantified by the harmonic average of the average remaining time of each phase. The total remaining available capacity is pre-allocated among the phases according to the urgency weight, and the final remaining available capacity is obtained after correction by combining the upper limit of the independent physical remaining capacity of each phase. Iterative optimization is performed with the goal of minimizing the three-phase current imbalance, so as to achieve precise control of the operating power of the terminal equipment, effectively improve the three-phase load imbalance, reduce line losses, and improve the operation safety and power supply reliability of the power distribution system.
[0052] S300: Based on the estimated remaining runtime of each terminal device, obtain the corresponding operating urgency coefficient, normalize the operating urgency coefficients of all terminal devices in the same phase, obtain the urgency weight of each terminal device, and calculate the comprehensive control coefficient of each phase in combination with the remaining available capacity of each phase. In this embodiment of the invention, the urgency coefficient is a parameter representing the urgency of a single terminal device's terminal task at the current moment; the urgency weight is the relative urgency ratio of each terminal device within the same phase after normalization, reflecting the relative position of each terminal device in the priority ranking of terminal tasks within that phase; the comprehensive control coefficient is a composite parameter that comprehensively reflects the adjustment priority and adjustment capability of each phase in load balancing control, and its value determines the degree to which the phase is preferentially adjusted in subsequent iterative optimization.
[0053] Specifically, for each operating terminal device, since the operating urgency coefficient is inversely proportional to the estimated remaining runtime, the operating urgency coefficient is calculated based on its estimated remaining runtime. After obtaining the operating urgency coefficients of each terminal device, the urgency coefficients of all terminal devices within the same phase are normalized to obtain the urgency weight of each terminal device. Subsequently, based on the sum of the urgency weights of the terminal devices within each phase and the remaining available capacity of each phase, the comprehensive control coefficient of each phase is calculated.
[0054] In step S300 of the method of this embodiment of the invention, the operating urgency coefficient is inversely proportional to the expected remaining operating time of the corresponding terminal device, and is corrected based on the deviation of the real-time operating power of the corresponding terminal device from the average operating power of all terminal devices in the same phase. The urgency weight is determined by the relative proportion of the operating urgency coefficients of each terminal device in the same phase. The comprehensive control coefficient is positively correlated with the sum of the original operating urgency coefficients of the terminal devices in each phase and inversely correlated with the remaining available capacity of each phase.
[0055] In this embodiment of the invention, the operating urgency coefficient is inversely proportional to the expected remaining runtime of the corresponding terminal device, wherein the base value of the operating urgency coefficient = 1 / expected remaining runtime; then, a correction is made based on the deviation of the real-time operating power of the corresponding terminal device from the average operating power of all terminal devices in the same phase, wherein the average operating power of all terminal devices in the same phase refers to the arithmetic mean of the real-time operating power of each terminal device in the effective terminal device data set of that phase, and the correction is made by multiplying the correction factor by the base value of the operating urgency coefficient.
[0056] Specifically, the correction factor = real-time operating power / average operating power of all terminal devices within the same phase. Therefore, the operating urgency coefficient = (1 / estimated remaining operating time) × (real-time operating power / average operating power of all terminal devices within the same phase). It should be noted that when the real-time operating power of a terminal device is lower than the average level within the same phase, it indicates that the current output power of that terminal device is limited, and the time to complete the terminal task is more urgent with the same remaining terminal time. Its operating urgency coefficient is relatively lower after correction. Conversely, when the real-time operating power of a terminal device is higher than the average level within the same phase, its operating urgency coefficient is relatively higher after correction. The corrected urgency coefficient is used for subsequent phase-level normalization processing.
[0057] The urgency weight is determined by the relative proportion of the urgency coefficients of each terminal device within the same phase. Specifically, the sum of the urgency coefficients of all terminal devices within the same phase equals the urgency coefficient of terminal device 1 + the urgency coefficient of terminal device 2 + ... + the urgency coefficient of terminal device n. The urgency weight is calculated as the urgency coefficient divided by the sum of the urgency coefficients of all terminal devices within the same phase. A higher urgency weight indicates a higher terminal priority within that phase. This weight ensures that the sum of the urgency weights of all terminal devices within the same phase is always equal to 1, satisfying the total constraint condition for weight allocation. This urgency weight is used for priority ranking among terminal devices within the same phase. For example, in a power reduction phase, the terminal with the lowest weight is prioritized for power reduction; in a power increase phase, the terminal with the highest weight is prioritized for power increase.
[0058] After obtaining the urgency weights of each terminal device within each phase, the comprehensive control coefficient of each phase is calculated. The comprehensive control coefficient is a comprehensive indicator used to measure the power control priority and constraint strength of each phase in the subsequent iterative optimization process. The comprehensive control coefficient is positively correlated with the sum of the original operating urgency coefficients of the terminal devices within each phase and negatively correlated with the remaining available capacity of each phase.
[0059] Specifically, the sum of the original operational urgency coefficients of terminal equipment within each phase = the original operational urgency coefficient of terminal equipment 1 + the original operational urgency coefficient of terminal equipment 2 + ... + the original operational urgency coefficient of terminal equipment n within that phase. This sum of original coefficients is not subject to phase-specific normalization constraints and can accurately reflect the overall urgency of terminal tasks within that phase. The sum of original coefficients across different phases is comparable—the larger the value, the more urgent the overall terminal tasks within that phase are, and the higher their priority should be given in cross-phase power allocation. Conversely, the lower the remaining available capacity, the closer that phase is to its capacity limit, and the more cautious the power should be in power regulation. The formula for calculating the comprehensive regulation coefficient is: Comprehensive regulation coefficient = Sum of the original operational urgency coefficients of terminal equipment within each phase / (Remaining available capacity of each phase + ε). Here, ε is a very small positive number, such as 0.001kW. Its function is to avoid the denominator being zero when the remaining available capacity of a phase is zero or negative, which would lead to calculation abnormalities. When the remaining available capacity of a phase is zero or negative, it means that the phase has no available capacity or is operating beyond its capacity. At this time, the phase should not be used as a power-increasing phase, but only as a power-reducing phase to participate in regulation when necessary.
[0060] In this formula, the larger the sum of the original urgency coefficients in each phase, the larger the comprehensive control coefficient, and the more likely that phase is to gain power increase during control; the larger the remaining available capacity of each phase, the smaller the comprehensive control coefficient, and the more likely that phase is to maintain or reduce power during control; when the remaining available capacity is zero or negative, the comprehensive control coefficient of that phase does not participate in the competition for power increase phases and is marked as a non-power increase state, so as to prioritize the safe operation of the equipment.
[0061] In this embodiment of the invention, by calculating the urgency coefficient, urgency weight, and comprehensive control coefficient, the urgency of a single terminal device is accurately quantified and the control priority of each phase is comprehensively evaluated. At the same time, the comprehensive control coefficient provides a key constraint basis for determining the power adjustment step size, the selection of power reduction phase and power increase phase, and the determination of the iteration termination condition in the subsequent iterative optimization process.
[0062] S400: With the goal of minimizing the three-phase current imbalance and the comprehensive control coefficient of each phase as a constraint, the operating power of each terminal device is iteratively optimized under the dynamic power adjustment step size until the three-phase current imbalance is less than the target imbalance threshold or the maximum number of iterations is reached, and the power adjustment amount of each terminal device is obtained. In this embodiment of the invention, iterative optimization is a process of gradually approaching the optimal solution through repeated iterative calculations. Each iteration makes minor adjustments based on the current state until the termination condition is met. The dynamic power adjustment step size is the magnitude of the power adjustment of a single terminal device in each iteration. The target unbalance threshold is a pre-set upper limit for the three-phase current unbalance. When the actual unbalance is less than this threshold, the system is considered to be in an acceptable balance state. The power adjustment amount refers to the change in the operating power of each terminal device relative to the initial real-time operating power after iterative optimization.
[0063] Specifically, using the three-phase current imbalance as the target and the comprehensive control coefficient of each phase as a constraint, the operating power of each terminal device is iteratively optimized under a dynamic power adjustment step size. In each iteration, the power adjustment step size is determined based on the difference between the current three-phase current imbalance and the target imbalance threshold. The phase with the largest amplitude in the current three-phase real-time current value is identified as the power reduction phase, and the phase with the smallest amplitude is identified as the power increase phase. The operating power of the power reduction phase is decreased by one power adjustment step size, and the operating power of the power increase phase is increased by one power adjustment step size, ensuring that the increased operating power does not exceed the rated operating power of the terminal device. After each power adjustment, the three-phase current imbalance is recalculated based on the adjusted three-phase real-time current values, and it is determined whether the termination condition is met. After the iteration ends, the final operating power of each terminal device after the iteration is calculated by subtracting its initial real-time operating power to obtain the power adjustment amount for each terminal device.
[0064] Step S400 in the method of this embodiment of the invention includes: The power adjustment step size for this iteration is determined based on the difference between the current three-phase current imbalance and the target imbalance threshold, wherein the power adjustment step size is positively correlated with the difference. The phase with the largest amplitude among the three-phase real-time current values at the current moment is the power reduction phase, and the phase with the smallest amplitude is the power increase phase. Within the power reduction phase, the terminal device with the smallest urgency weight is selected as the power reduction target, and within the power increase phase, the terminal device with the largest urgency weight is selected as the power increase target. The operating power of the power-reducing object is reduced by the power adjustment step size, and the operating power of the power-increasing object is increased by the power adjustment step size, provided that the increased operating power does not exceed the rated operating power of the corresponding terminal device. After each power adjustment, the three-phase current imbalance is recalculated based on the adjusted real-time three-phase current values. If the recalculated three-phase current imbalance is less than the target imbalance threshold, or the number of iterations in this round reaches the maximum number of iterations, the iteration is terminated; otherwise, the comprehensive control coefficients of each phase are updated and the next round of iterations continues. The power adjustment amount of each terminal device is obtained by calculating the difference between the operating power of each terminal device after iteration and the real-time operating power before iteration.
[0065] In this embodiment of the invention, firstly, the power adjustment step size for this iteration is determined based on the difference between the current three-phase current imbalance and the target imbalance threshold. The power adjustment step size = three-phase current imbalance - target imbalance threshold, where the target imbalance threshold is a preset upper limit of the expected imbalance; the smaller the value, the higher the requirement for three-phase balance. During calculation, the remaining available capacity of each phase can be normalized to a dimensionless proportion, such as the proportion of each phase's remaining capacity to the total remaining capacity, to eliminate the influence of dimensions.
[0066] Specifically, the difference between the current three-phase current imbalance and the target imbalance threshold reflects the degree to which the current imbalance deviates from the expected target. The power adjustment step size is positively correlated with the difference. The larger the difference, the more serious the imbalance problem is, and a larger power adjustment is required. The smaller the difference, the closer the current imbalance is to the expected target, and a smaller adjustment should be made to avoid over-adjustment.
[0067] Secondly, the phase with the largest amplitude among the three-phase real-time current values at the current moment is the power reduction phase, indicating that the phase has the heaviest terminal load at the current moment and makes the greatest positive contribution to the three-phase imbalance. Reducing the operating power of the terminal equipment in this phase can most effectively reduce the difference between the three-phase currents. The phase with the smallest amplitude is the power increase phase, indicating that the phase has the lightest terminal load at the current moment and is the relatively low phase in the three-phase imbalance. Increasing the operating power of the terminal equipment in this phase can increase the current level of this phase to narrow the gap with other phases.
[0068] Subsequently, the corresponding power targets were determined. Since the terminal device with the lowest urgency weight is the least urgent terminal task within that phase, reducing its power would have the least impact on the user terminal experience. Therefore, the terminal device with the lowest urgency weight was selected as the power reduction target within the power reduction phase. Conversely, since the terminal device with the highest urgency weight is the most urgent terminal task within that phase, increasing its power would most quickly meet the urgent terminal needs. Therefore, the terminal device with the highest urgency weight was selected as the power increase target within the power increase phase.
[0069] Secondly, to reduce the current amplitude of the phase with reduced power, the operating power of the phase with reduced power is reduced by decreasing the power adjustment step. To increase the current amplitude of the phase with increased power, the three-phase current is adjusted bidirectionally to approach a balanced state. The operating power of the phase with increased power is increased by increasing the power adjustment step, and the increased operating power does not exceed the rated operating power of the corresponding terminal equipment. This ensures that the terminal equipment operates within its safe operating range and prevents problems such as overheating, protection activation, or even damage caused by power exceeding limits.
[0070] After each power adjustment, the three-phase current imbalance is recalculated based on the adjusted real-time three-phase current values. If the recalculated three-phase current imbalance is less than the target imbalance threshold, or the number of iterations in this round reaches the maximum number of iterations, the iteration is terminated; otherwise, the comprehensive control coefficients of each phase are updated and the next round of iteration continues. The maximum number of iterations is determined by the sampling interval, the time consumed in a single iteration, and the statistical distribution of the control convergence speed, and is usually taken as 15 to 20 times.
[0071] Finally, the difference between the operating power of each terminal device after iteration and the real-time operating power before iteration is calculated. The difference can be used as the power adjustment amount of each terminal device for subsequent iterations. The power adjustment amount of each terminal device = operating power of each terminal device after iteration - real-time operating power before iteration.
[0072] In the method of this embodiment of the invention, step S400, determining the power adjustment step size for the current iteration based on the difference between the current three-phase current imbalance and the target imbalance threshold, includes: Extract the difference between the current three-phase current imbalance and the target imbalance threshold as the current deviation. The target imbalance threshold is determined based on the numerical distribution relationship between the remaining available capacity of phase A, phase B, and phase C. The more unbalanced the distribution of the remaining available capacity of the three phases, the smaller the target imbalance threshold. The difference between the three-phase current imbalance degree before the previous iteration and the target imbalance degree threshold is obtained as the deviation amount of the previous iteration, and the rate of change of the current deviation amount relative to the deviation amount of the previous iteration is calculated. The reference step size is determined based on the magnitude of the current deviation; the larger the current deviation, the larger the reference step size. A correction coefficient is determined based on the rate of change, wherein a negative rate of change indicates that the three-phase current imbalance is approaching the target imbalance threshold, and the correction coefficient is a positive number less than 1; a positive rate of change indicates that the three-phase current imbalance is moving away from the target imbalance threshold, and the correction coefficient is a positive number greater than 1. Multiply the baseline step size by the correction coefficient to obtain the power adjustment step size for this iteration.
[0073] In this embodiment of the invention, firstly, the difference between the current three-phase current imbalance and the target imbalance threshold is extracted as the current deviation. The target imbalance threshold is determined based on the numerical distribution relationship between the remaining available capacity of phase A, phase B, and phase C.
[0074] Specifically, the sum of squares of the deviations of the remaining available capacity of each phase from the average value is obtained, and 1 is used as the reciprocal of the sum of the squares of the deviations as the target imbalance threshold. The average remaining available capacity of the three phases is calculated as (remaining available capacity of phase A + remaining available capacity of phase B + remaining available capacity of phase C) / 3, and the sum of squares of the deviations of the remaining available capacity of each phase from the average value is calculated as (remaining available capacity of phase A - average remaining available capacity of the three phases). 2 +(Remaining available capacity of phase B - Average of remaining available capacity of all three phases) 2 +(C-phase remaining available capacity - average of three-phase remaining available capacity) 2 Therefore, the more unbalanced the distribution of the remaining available capacity of the three phases, the greater the sum of squares of the deviations of the remaining available capacity of each phase from the average value, and the smaller the target imbalance threshold.
[0075] Secondly, the difference between the three-phase current imbalance before the previous iteration and the target imbalance threshold is obtained as the deviation amount for the previous iteration, i.e., deviation amount for the previous iteration = three-phase current imbalance before the previous iteration - target imbalance threshold. Then, the rate of change of the current deviation amount relative to the previous deviation amount is calculated based on the previous deviation amount. The rate of change is used to measure the trend of the deviation amount changing with the iteration process. It is calculated by subtracting the previous deviation amount from the current deviation amount and dividing by the absolute value of the previous deviation amount, i.e., rate of change = (current deviation amount - previous deviation amount) / |previous deviation amount|. For the first iteration, the rate of change is recorded as 0, and the power adjustment step size is directly determined based on the current deviation amount, without calculating a correction coefficient. Simultaneously, if the previous deviation amount is zero, meaning the target imbalance threshold was met in the previous iteration, but the iteration has not terminated (an abnormal situation), the rate of change is also recorded as 0, and the power adjustment step size is set to a small step size to prevent calculation errors caused by a zero denominator.
[0076] Specifically, the sign and magnitude of the rate of change reflect the convergence state of the iterative optimization process: a negative rate of change indicates that the current deviation is smaller than the previous round, and the three-phase current imbalance is approaching the target imbalance threshold, meaning the iterative process is in an effective convergence direction; a positive rate of change indicates that the current deviation is larger than the previous round, and the three-phase current imbalance is moving away from the target imbalance threshold, meaning the iterative process has diverged or oscillated. The larger the absolute value of the rate of change, the faster the convergence or divergence.
[0077] Next, the reference step size is determined based on the current deviation; the larger the current deviation, the larger the reference step size.
[0078] Specifically, the baseline step size is determined based on the magnitude of the current deviation, and the deviation is divided into three intervals using a segmented mapping method: greater than the upper threshold, less than the lower threshold, and in between.
[0079] When the current deviation is extremely large, it indicates a very severe three-phase imbalance, requiring a large step size for rapid coarse adjustment to quickly reduce the imbalance. In this case, a linear mapping step size may be insufficient to handle the extreme situation. Conversely, when the current deviation is extremely small, it indicates that the three-phase imbalance is close to the target, requiring a very small step size for fine-tuning to prevent overshoot. In this case, a linear mapping step size may still be too large. When the deviation is at a moderate level, linear interpolation can be used to determine the reference step size, allowing the step size to change smoothly with the deviation and avoiding abrupt changes in the step size at interval boundaries. Linear interpolation is a method of estimating intermediate values between two known points according to a linear relationship.
[0080] Preferably, the lower threshold and upper threshold are used as the two endpoints of the interpolation interval, with corresponding reference step sizes of small and large, respectively. For the current deviation between the lower and upper thresholds, the reference step size is calculated as: reference step size = small step size + (large step size - small step size) × (current deviation - lower threshold) / (upper threshold - lower threshold). In a Cartesian coordinate system with the deviation as the abscissa and the reference step size as the ordinate, a straight line segment is formed connecting the point (lower threshold, small step size) and the point (upper threshold, large step size). The corresponding ordinate value is determined based on the abscissa position of the current deviation on this straight line segment. Through linear interpolation, the reference step size increases continuously and smoothly with the increase of the deviation, avoiding step size jumps that may occur at the interval boundaries during piecewise mapping, thus making the control process more stable.
[0081] The specific values for the upper threshold, lower threshold, small step size, and large step size are preset based on the rated capacity of the integrated distribution box, the rated power of each terminal device, and the control accuracy requirements. The upper and lower thresholds are set with offsets based on the target imbalance threshold. The upper threshold is typically set to 4 to 6 times the target imbalance threshold, and the lower threshold is set to 1.5 to 2.5 times the target imbalance threshold. The large step size is determined based on 10% to 20% of the rated power of a single terminal device, and the small step size is determined based on 2% to 5% of the rated power of a single terminal device. For example, assuming the target imbalance threshold is 5%, the upper threshold is 25% and the lower threshold is 10%; assuming the rated power of each terminal device is 11kW, the large step size is 1.65kW and the small step size is 0.33kW. Presetting these parameters ensures that the step size parameters match the power level and control target of the power distribution system.
[0082] Furthermore, a correction coefficient is determined based on the rate of change. When the rate of change is negative, it indicates that the three-phase current imbalance is approaching the target imbalance threshold. The correction coefficient is a positive number less than 1, such as 0.5 to 0.9, thereby reducing the degree of step size adjustment and preventing the three-phase current imbalance from getting too close to the target imbalance threshold. When the rate of change is positive, it indicates that the three-phase current imbalance is moving away from the target imbalance threshold. The correction coefficient is a positive number greater than 1, such as 1.1 to 2.0, thereby increasing the degree of step size adjustment and bringing the three-phase current imbalance closer to the target imbalance threshold.
[0083] Finally, the reference step size is multiplied by the correction factor to obtain the power adjustment step size for this iteration. That is, power adjustment step size = reference step size × correction factor. Through multiplication, the reference step size driven by the deviation and the correction factor driven by the rate of change are organically integrated.
[0084] Step S400 in the method of this embodiment of the invention, When the operating power of the power-enhancing object is increased by the power adjustment step size, if the increased operating power exceeds the rated operating power of the power-enhancing object, the operating power of the power-enhancing object is set to the rated operating power, and the difference between the rated operating power and the operating power before the increase is used as the actual increased power value. The power adjustment step size is subtracted from the actual increased power value to obtain a power adjustment margin, and the power adjustment margin is added to the power adjustment step size of the next iteration.
[0085] In this embodiment of the invention, when increasing the operating power of the power-enhancing object by the power adjustment step size, if the increased operating power exceeds the rated operating power of the power-enhancing object, the operating power of the power-enhancing object is set to the rated operating power, that is, truncated to the rated operating power, to avoid safety accidents caused by exceeding the rated operating power.
[0086] Because the power adjustment capability of an increased power object is limited by its rated power, when the terminal equipment has reached or is close to its rated power, its power increase space is insufficient to accommodate the complete power adjustment step size. This results in some step size not being executed in the current iteration. If this margin is not addressed, this portion of the power adjustment capability will be wasted. Therefore, the difference between the rated operating power and the operating power before the increase is used as the actual increased power value. The power adjustment step size is subtracted from the actual increased power value to obtain the power adjustment margin. This power adjustment margin is then added to the power adjustment step size of the next iteration. That is, the adjusted power adjustment step size for the next iteration = power adjustment margin + next iteration power adjustment step size.
[0087] In this embodiment of the invention, an adaptive step size adjustment mechanism is constructed based on the rate of change of the current deviation and the previous deviation. The current deviation drives the reference step size, and the rate of change corrects the step size, achieving rapid convergence with large step sizes and fine adjustment with small step sizes. At the same time, the target imbalance threshold is dynamically set according to the distribution relationship of the remaining available capacity of each phase. When the capacity distribution is uneven, a more stringent target guides the iterative deepening. While ensuring the improvement effect of three-phase load balance, the convergence efficiency and stability of the control process are improved, line losses are reduced, and the operational safety and power supply reliability of the power distribution system are enhanced.
[0088] S500: Generate control commands based on the power adjustment amount of each terminal device and send them to each terminal device to perform power adjustment.
[0089] In this embodiment of the invention, the control command is a downlink data frame containing parameters such as terminal device identifier, target operating power, and power adjustment ratio, used to instruct the terminal device to perform specific power adjustment actions; the transmission is the process of transmitting the control command from the distribution box controller to each terminal device through the communication network; the power adjustment is the operation of the terminal device adjusting the output power to the target value through its internal power conversion module according to the received control command.
[0090] After iterative optimization is completed, the power adjustment amount of each terminal device has been determined, so control commands need to be generated to adjust the power.
[0091] Specifically, the power adjustment amount and corresponding real-time operating power of each terminal device are extracted. The real-time operating power and the power adjustment amount are then superimposed to obtain the target operating power of each terminal device. Based on the target operating power and the rated operating power of the corresponding terminal device, the power adjustment ratio of each terminal device is determined. The power adjustment ratio and the target operating power are then encapsulated into single-terminal control instructions for each terminal device, generating a phase control instruction set. Each phase control instruction set is appended with a phase identifier and an instruction generation timestamp. Subsequently, the three-phase control instruction sets are sequentially sent to the corresponding phase terminal devices according to phase order. After receiving the single-terminal control instruction for its respective phase, each terminal device adjusts its own operating power to the target operating power according to the power adjustment ratio. After completing the power configuration, each terminal device updates its records and reports the execution results to the terminal device management platform.
[0092] Step S500 in the method of this embodiment of the invention includes: Extract the power adjustment amount and corresponding real-time operating power of each terminal device, and superimpose the real-time operating power with the power adjustment amount to obtain the target operating power of each terminal device; Based on the ratio of the target operating power to the rated operating power of the corresponding terminal device, the power adjustment ratio of each terminal device is determined, and the power adjustment ratio and the target operating power are encapsulated into a single terminal control command for each terminal device. According to the phase of each terminal device, the control commands of single terminals belonging to the same phase are collected to generate the A-phase control command set, the B-phase control command set and the C-phase control command set, and each phase control command set is attached with a phase identifier and a command generation timestamp. The three-phase control command set is sequentially sent to the corresponding terminal devices according to the phase order. After receiving the single terminal control command of its respective phase, each terminal device adjusts its own operating power to the target operating power according to the power adjustment ratio. Receive execution confirmation signals returned by each terminal device. For terminal devices that do not return execution confirmation signals within the specified confirmation period, resend the single terminal control command for the corresponding terminal device in the next sending period until an execution confirmation signal is received or the maximum number of resends is reached. After the maximum number of retransmissions is reached, the corresponding terminal device will be marked as abnormal and an abnormal report will be generated. The abnormal report will include at least the physical number of the abnormal terminal device, the target operating power and power adjustment ratio in the single terminal control command corresponding to the abnormal terminal device, the number of retransmissions, and the time of the abnormality. After confirming that all terminal devices have completed the execution, update the power configuration record in the integrated power distribution box and report the execution results to the terminal device management platform.
[0093] In this embodiment of the invention, firstly, the power adjustment amount and the corresponding real-time operating power of each terminal device are extracted, and the real-time operating power and the power adjustment amount are superimposed, that is, the real-time operating power and the power adjustment amount are added together, and the sum is used as the target operating power of each terminal device, that is, target operating power = real-time operating power + power adjustment amount.
[0094] Secondly, based on the ratio of the target operating power to the rated operating power of the corresponding terminal equipment, the power adjustment ratio of each terminal equipment is determined, that is, the power adjustment ratio of each terminal equipment = target operating power / rated operating power of the corresponding terminal equipment. The value range of the power adjustment ratio is usually between 0 and 1, indicating what proportion of its rated power the terminal equipment needs to output.
[0095] Since different models of terminal devices have different rated power and power adjustment resolution, directly issuing the absolute power value may result in insufficient execution accuracy due to differences in the hardware of each terminal. Therefore, the power adjustment ratio and the target operating power are encapsulated into single-terminal control commands for each terminal device and issued accordingly.
[0096] Next, according to the phase of each terminal device, the single terminal control commands belonging to the same phase are aggregated to generate the A-phase control command set, the B-phase control command set, and the C-phase control command set, and each phase control command set is attached with a phase identifier and a command generation timestamp.
[0097] Furthermore, the three-phase control command set is sequentially distributed to the corresponding phase-specific terminal devices according to phase order, such as phase A → phase B → phase C. This avoids communication channel congestion and command conflicts that may result from simultaneous distribution of multiple phase commands. After receiving the single-terminal control command for its respective phase, each terminal device adjusts its operating power to the target operating power according to the power adjustment ratio, i.e., power adjustment ratio × terminal device operating power = target operating power. For terminal devices supporting continuous power adjustment, such as those with CAN / PLC communication interfaces, supporting remote setpoint control, or indirectly adjusting the vehicle terminal power command through dynamic adjustment of the PWM duty cycle, this method can be directly applied. For terminal devices without fine power adjustment capabilities, the target operating power is treated as the upper limit of available power.
[0098] Furthermore, the system receives execution confirmation signals from each terminal device. For terminal devices that do not return an execution confirmation signal within a specified confirmation period, the single-terminal control command for the corresponding terminal device is resent in the next sending cycle until an execution confirmation signal is received or the maximum number of retransmissions is reached. The execution confirmation signal is a response signal returned by each terminal device to the integrated distribution box after successfully receiving the command and completing power adjustment, confirming that the command has been executed correctly. The specified confirmation period refers to the maximum time window during which the integrated distribution box waits for confirmation signals from each terminal device. If a terminal device does not return a confirmation signal within this time period, it is considered that the sending may have failed due to communication failure or a malfunction of the terminal device itself. The next sending cycle refers to the time loop for the next command to be sent. In the retransmission mechanism, it means that after the current sending fails, it waits until the next sending opportunity to retry sending.
[0099] Specifically, by setting an execution confirmation signal and confirmation period, a closed-loop verification of the success of command issuance is achieved. The sender can confirm whether the receiver has actually received and executed the command. The maximum number of retransmission attempts is a preset maximum number of retransmission attempts to prevent infinite repetition due to continuous communication link anomalies. The confirmation period is coordinated with the maximum number of retransmission attempts; if an confirmation signal is still not received after a limited number of retransmission attempts, the terminal device is determined to be in an abnormal state. The maximum number of retransmission attempts is usually determined by the maximum allowable time of a single control cycle, the duration of the specified confirmation period, and the typical packet loss rate of the terminal device's communication link, typically ranging from 3 to 5 times.
[0100] Furthermore, after the maximum number of retransmissions is reached, the corresponding terminal device is marked as abnormal and an abnormal report is generated. The abnormal report includes at least the physical number of the abnormal terminal device, the target operating power and power adjustment ratio in the single terminal control command corresponding to the abnormal terminal device, the number of retransmissions, and the time when the abnormality occurred.
[0101] Specifically, an abnormal state is an abnormal working state in which a terminal device cannot receive and execute control commands normally due to communication failure, equipment failure, or other reasons. Once marked as an abnormal state, the terminal device will be excluded from subsequent control processes until the fault is resolved. An abnormal report is a structured document that records detailed information about abnormal events. The physical number of the abnormal terminal device is used to uniquely identify the terminal device that has an abnormality. The target operating power and power adjustment ratio in the single terminal control command corresponding to the terminal device are used to record the power control parameters that were last tried to be sent to the terminal device, which is convenient for understanding the expected control target of the terminal during subsequent fault analysis. The number of retransmissions is used to record the number of retransmission attempts actually experienced by the terminal device, reflecting the severity of the abnormality and the duration of communication. The time of abnormality occurrence is used to record the timestamp of the first identification of the abnormality, which is convenient for maintenance personnel to perform fault timing tracing and event correlation analysis.
[0102] Ultimately, after confirming that all terminal devices have completed their execution, the purpose of reporting the execution results to the terminal device management platform is to achieve information synchronization between the integrated power distribution box and the terminal device management platform. This allows the platform to obtain the latest power configuration status of the terminal devices and acquire power configuration records, enabling higher-level operation management, billing settlement, and status monitoring.
[0103] After confirming that all terminal devices have completed their operations, if any terminal devices have failed to complete the operations, the integrated distribution box will re-execute the three-phase current measurement and data acquisition. Using the current operating state as the initial state, the failed terminals will be excluded, and a new round of iterative optimization will be performed to generate and issue new control commands. If two consecutive re-optimizations result in execution failures, control will be stopped, and a batch execution anomaly alarm will be reported to the higher-level platform. Terminal devices marked as abnormal are considered excluded and no longer included in the criteria for completed execution. Instead, their control process is considered terminated upon the generation of the anomaly report, and the integrated distribution box will update the power configuration records within the remaining normal terminal devices.
[0104] In this embodiment of the invention, the target operating power is obtained by superimposing the real-time operating power and the power adjustment amount, and the iterative optimization result is accurately converted into the power setting value of each terminal device, ensuring the accurate transmission of the control intention. Secondly, the power adjustment ratio is determined by the ratio of the target operating power to the rated operating power, unifying the control interface of terminal devices with different power levels and enhancing the compatibility and execution accuracy of the instructions. Thirdly, the instructions are collected by phase and labeled with identifiers and timestamps to achieve classified management and time-trackable instruction sets. Finally, through the closed-loop confirmation of execution confirmation signals, the retransmission mechanism, and the generation of anomaly reports, reliable detection of communication anomalies and complete recording of fault information are achieved, ensuring the reliable execution of control instructions and the maintainability of the system.
[0105] The embodiments of this application, through the specific implementation methods described above, achieve the following technical effects: In this embodiment, the real-time current values at the three-phase incoming lines are first collected by the three-phase energy meters configured in the integrated distribution box. This establishes a correlation and grouping of the three-phase incoming current data with the operating data of each phase's terminal equipment, ensuring the consistency of the data used for subsequent imbalance calculations and power regulation in the time dimension. Simultaneously, abnormal and missing data are eliminated through validity checks, improving data quality. The real-time operating power of all terminal equipment and the estimated remaining operating time reported by the terminal equipment are obtained through the terminal equipment management platform. Then, the difference between the actual load power and the cumulative operating power of the corresponding effective terminal equipment datasets for each phase is calculated to obtain the non-terminal basic load power. This allows subsequent imbalance analysis to focus on the controllable terminal load portion, improving the accuracy and effectiveness of regulation.
[0106] Secondly, by collecting real-time data on the three-phase incoming current and the operation data of each phase terminal equipment, controllable terminal current components are obtained. Subsequently, real-time data on the three-phase incoming current and the operation data of each phase terminal equipment are collected, and the terminal urgency is quantified by the harmonic average of the average remaining time of each phase. The total remaining available capacity is optimized and allocated among the phases according to the urgency weight, and iterative optimization is performed with the goal of minimizing the three-phase current imbalance. This achieves precise control of the operating power of the terminal equipment, effectively improves the three-phase load imbalance, reduces line losses, and enhances the operational safety and power supply reliability of the power distribution system.
[0107] Furthermore, by calculating the urgency coefficient, urgency weight, and comprehensive control coefficient, the urgency of a single terminal device is accurately quantified, and the control priority of each phase is comprehensively evaluated. At the same time, the comprehensive control coefficient provides key constraints for determining the power adjustment step size, the selection of power reduction and power increase phases, and the determination of iteration termination conditions in the subsequent iterative optimization process.
[0108] Furthermore, an adaptive step size adjustment mechanism is constructed based on the rate of change of the current deviation and the previous deviation. The current deviation drives the benchmark step size, and the rate of change corrects the step size, achieving rapid convergence with large step sizes and fine adjustment with small step sizes. At the same time, the target imbalance threshold is dynamically set according to the distribution relationship of the remaining available capacity of each phase. When the capacity distribution is uneven, a more stringent target guides the iterative deepening. While ensuring the improvement of the three-phase load balance, the convergence efficiency and stability of the control process are improved, line losses are reduced, and the operational safety and power supply reliability of the power distribution system are enhanced.
[0109] Finally, the target operating power is obtained by superimposing the real-time operating power and the power adjustment amount, and the iterative optimization results are accurately converted into the power setpoints of each terminal device, ensuring the precise transmission of control intentions. Secondly, the power adjustment ratio is determined by the ratio of the target operating power to the rated operating power, unifying the control interfaces of terminal devices with different power levels and enhancing the compatibility and execution accuracy of commands. Thirdly, commands are collected by phase and labeled with identifiers and timestamps to achieve classified management and time-trackable command sets. Finally, through the closed-loop confirmation of execution confirmation signals, the retransmission mechanism, and the generation of anomaly reports, reliable detection of communication anomalies and complete recording of fault information are achieved, ensuring the reliable execution of control commands and the maintainability of the system.
[0110] Example 2, as Figure 3 As shown, based on the same inventive concept as the integrated distribution box load balancing control method provided in Embodiment 1, this embodiment of the invention also provides an integrated distribution box, which serves as a carrier for executing the aforementioned integrated distribution box load balancing control method, comprising: Terminal equipment parameter acquisition module 11 is used to acquire the real-time current value at the three-phase incoming line of the integrated distribution box and the real-time operating power and expected remaining operating time of each terminal equipment connected to each phase; The remaining available capacity calculation module 12 for each phase is used to calculate the current imbalance of the three-phase current based on the real-time current value of the three phases, and to calculate the rated total capacity of the integrated distribution box and the current total load of the three phases in combination with the remaining available capacity of each phase, and to calculate the remaining available capacity of each phase. The comprehensive control coefficient calculation module 13 is used to obtain the corresponding operation urgency coefficient based on the expected remaining runtime of each terminal device, normalize the operation urgency coefficients of all terminal devices in the same phase to obtain the urgency weight of each terminal device, and calculate the comprehensive control coefficient of each phase in combination with the remaining available capacity of each phase. The power adjustment optimization module 14 is used to iteratively optimize the operating power of each terminal device under the dynamic power adjustment step size with the goal of minimizing the three-phase current imbalance and the constraint of the comprehensive control coefficient of each phase, until the three-phase current imbalance is less than the target imbalance threshold or the maximum number of iterations is reached, so as to obtain the power adjustment amount of each terminal device. The power adjustment module 15 is used to generate control commands based on the power adjustment amount of each terminal device and send them to each terminal device to perform power adjustment.
[0111] In one embodiment, the terminal device parameter acquisition module 11 is used for: The real-time current value at the three-phase incoming line is read by the three-phase energy meter configured in the integrated distribution box according to the set sampling interval; Through the terminal device management platform, the real-time operating power of all terminal devices connected to each phase of the integrated distribution box and the estimated remaining operating time reported by each terminal device are obtained according to the same sampling period as the sampling interval. The three-phase real-time current values, real-time operating power of each terminal device and estimated remaining operating time acquired at the same acquisition time are grouped according to the physical access phase of each terminal device to obtain the A-phase dataset, B-phase dataset and C-phase dataset. The validity of data items in the A-phase dataset, the B-phase dataset, and the C-phase dataset are verified respectively to obtain the valid terminal device dataset for each phase; The real-time operating power of each terminal device in the effective terminal device data of each phase is accumulated, and the real-time current value of the corresponding phase obtained at the same time is combined with the rated phase voltage of the integrated distribution box to calculate the actual load power of each phase. The difference between the actual load power and the cumulative operating power of the effective terminal equipment dataset of the corresponding phase is calculated to obtain the non-terminal basic load power of each phase.
[0112] In one embodiment, the remaining available capacity calculation module 12 for each phase is used for: Extract the real-time current values corresponding to the A-phase dataset, B-phase dataset, and C-phase dataset at the same acquisition time, and denot them as the A-phase real-time current value, B-phase real-time current value, and C-phase real-time current value, respectively. Calculate the root mean square values of the real-time current values of phase A, phase B, and phase C, and use them as the equivalent value of the total three-phase current. The phase current value with the largest absolute value of deviation from the equivalent value of the total three-phase current among the real-time current values of phase A, phase B, and phase C is denoted as the real-time current of the phase with the largest deviation. The three-phase current imbalance at the current moment is determined based on the relative deviation between the real-time current of the phase with the maximum deviation and the equivalent value of the total three-phase current.
[0113] In one embodiment, the remaining available capacity calculation module 12 for each phase is used for: Extract the actual load power of each phase and sum them to obtain the current three-phase total load. Combine this with the rated total capacity of the integrated distribution box to obtain the total remaining available capacity. Extract the estimated remaining runtime of each terminal device in the effective terminal device dataset of each phase, and calculate the harmonic average of the estimated remaining runtime of all terminal devices in the effective terminal device dataset of each phase to obtain the average remaining runtime of phase A, phase B, and phase C. Calculate the reciprocals of the average remaining time of phase A, the average remaining time of phase B, and the average remaining time of phase C to obtain the urgency of phase A, phase B, and phase C; The urgency of phase A, the urgency of phase B, and the urgency of phase C are normalized to obtain the urgency weights of phase A, phase B, and phase C. The total remaining available capacity is pre-allocated according to the urgency weight of phase A, phase B, and phase C. The pre-allocation result is compared with the actual physical remaining capacity of each phase, and the smaller value is taken to obtain the remaining available capacity of phase A, phase B, and phase C.
[0114] In one embodiment, the comprehensive control coefficient calculation module 13 is used for: The operational urgency coefficient is inversely proportional to the expected remaining operating time of the corresponding terminal equipment and is corrected based on the deviation of the real-time operating power of the corresponding terminal equipment from the average operating power of all terminal equipment in the same phase. The urgency weight is determined by the relative proportion of the operational urgency coefficients of each terminal equipment in the same phase. The comprehensive control coefficient is positively correlated with the sum of the original operational urgency coefficients of the terminal equipment in each phase and inversely correlated with the remaining available capacity of each phase.
[0115] In one embodiment, the power adjustment optimization module 14 is used for: The power adjustment step size for this iteration is determined based on the difference between the current three-phase current imbalance and the target imbalance threshold, wherein the power adjustment step size is positively correlated with the difference. The phase with the largest amplitude among the three-phase real-time current values at the current moment is the power reduction phase, and the phase with the smallest amplitude is the power increase phase. Within the power reduction phase, the terminal device with the smallest urgency weight is selected as the power reduction target, and within the power increase phase, the terminal device with the largest urgency weight is selected as the power increase target. The operating power of the power-reducing object is reduced by the power adjustment step size, and the operating power of the power-increasing object is increased by the power adjustment step size, provided that the increased operating power does not exceed the rated operating power of the corresponding terminal device. After each power adjustment, the three-phase current imbalance is recalculated based on the adjusted real-time three-phase current values. If the recalculated three-phase current imbalance is less than the target imbalance threshold, or the number of iterations in this round reaches the maximum number of iterations, the iteration is terminated; otherwise, the comprehensive control coefficients of each phase are updated and the next round of iterations continues. The power adjustment amount of each terminal device is obtained by calculating the difference between the operating power of each terminal device after iteration and the real-time operating power before iteration.
[0116] Specifically, the power adjustment step size for this iteration is determined based on the difference between the current three-phase current imbalance and the target imbalance threshold, including: Extract the difference between the current three-phase current imbalance and the target imbalance threshold as the current deviation. The target imbalance threshold is determined based on the numerical distribution relationship between the remaining available capacity of phase A, phase B, and phase C. The more unbalanced the distribution of the remaining available capacity of the three phases, the smaller the target imbalance threshold. The difference between the three-phase current imbalance degree before the previous iteration and the target imbalance degree threshold is obtained as the deviation amount of the previous iteration, and the rate of change of the current deviation amount relative to the deviation amount of the previous iteration is calculated. The reference step size is determined based on the magnitude of the current deviation; the larger the current deviation, the larger the reference step size. A correction coefficient is determined based on the rate of change, wherein a negative rate of change indicates that the three-phase current imbalance is approaching the target imbalance threshold, and the correction coefficient is a positive number less than 1; a positive rate of change indicates that the three-phase current imbalance is moving away from the target imbalance threshold, and the correction coefficient is a positive number greater than 1. Multiply the baseline step size by the correction coefficient to obtain the power adjustment step size for this iteration.
[0117] Specifically, when increasing the operating power of the power-enhancing object by the power adjustment step size, if the increased operating power exceeds the rated operating power of the power-enhancing object, then the operating power of the power-enhancing object is set to the rated operating power, and the difference between the rated operating power and the operating power before the increase is used as the actual increased power value. The power adjustment step size is subtracted from the actual increased power value to obtain a power adjustment margin, and the power adjustment margin is added to the power adjustment step size of the next iteration.
[0118] In one embodiment, the power regulation module 15 is used for: Extract the power adjustment amount and corresponding real-time operating power of each terminal device, and superimpose the real-time operating power with the power adjustment amount to obtain the target operating power of each terminal device; Based on the ratio of the target operating power to the rated operating power of the corresponding terminal device, the power adjustment ratio of each terminal device is determined, and the power adjustment ratio and the target operating power are encapsulated into a single terminal control command for each terminal device. According to the phase of each terminal device, the control commands of single terminals belonging to the same phase are collected to generate the A-phase control command set, the B-phase control command set and the C-phase control command set, and each phase control command set is attached with a phase identifier and a command generation timestamp. The three-phase control command set is sequentially sent to the corresponding terminal devices according to the phase order. After receiving the single terminal control command of its respective phase, each terminal device adjusts its own operating power to the target operating power according to the power adjustment ratio. Receive execution confirmation signals returned by each terminal device. For terminal devices that do not return execution confirmation signals within the specified confirmation period, resend the single terminal control command for the corresponding terminal device in the next sending period until an execution confirmation signal is received or the maximum number of resends is reached. After the maximum number of retransmissions is reached, the corresponding terminal device will be marked as abnormal and an abnormal report will be generated. The abnormal report will include at least the physical number of the abnormal terminal device, the target operating power and power adjustment ratio in the single terminal control command corresponding to the abnormal terminal device, the number of retransmissions, and the time of the abnormality. After confirming that all terminal devices have completed the execution, update the power configuration record in the integrated power distribution box and report the execution results to the terminal device management platform.
[0119] Compared to existing technologies, this invention firstly acquires real-time three-phase current values, real-time operating power of each terminal device, and estimated remaining operating time simultaneously, establishing a multi-source data fusion foundation for electrical quantity parameters and time dimension parameters. Secondly, it calculates the three-phase current imbalance from the real-time three-phase current values and, combined with the rated total capacity and current three-phase total load, calculates the remaining available capacity of each phase, achieving precise quantification of the imbalance caused by terminal loads and objective assessment of the power supply margin of each phase, providing capacity boundary constraints for power allocation. Thirdly, it combines the operating urgency coefficient of the estimated remaining operating time, normalizes it to obtain the urgency weight of each terminal device, and calculates the remaining available capacity of each phase. The comprehensive control coefficients for each phase are calculated, incorporating the time urgency of terminal tasks into the control decision-making system. Furthermore, with the goal of minimizing three-phase current imbalance and constrained by the comprehensive control coefficients, iterative optimization is performed under dynamic power adjustment step size, achieving a gradual and refined approximation optimization of three-phase imbalance, avoiding power oscillations and over-adjustment problems caused by large single adjustments. Finally, control commands are generated and executed based on the power adjustment amount, realizing three-phase load balancing control of the integrated distribution box under dynamic changes in terminal load. While effectively reducing three-phase current imbalance, it also takes into account the differences in the urgency of tasks of each terminal device, ensuring the safe operation of power grid equipment and improving the user experience.
Claims
1. A method for load balancing control of an integrated distribution box, characterized in that, The method includes: Obtain the real-time current value at the three-phase incoming line of the integrated distribution box and the real-time operating power and estimated remaining operating time of each terminal device connected to each phase; Calculate the current three-phase current imbalance based on the real-time three-phase current values, and calculate the remaining available capacity of each phase by combining the rated total capacity of the integrated distribution box with the current total three-phase load. Based on the estimated remaining runtime of each terminal device, the corresponding operational urgency coefficient is obtained. The operational urgency coefficients of all terminal devices in the same phase are normalized to obtain the urgency weight of each terminal device. Combined with the remaining available capacity of each phase, the comprehensive control coefficient of each phase is calculated. With the goal of minimizing the three-phase current imbalance and the comprehensive control coefficient of each phase as a constraint, the operating power of each terminal device is iteratively optimized under the dynamic power adjustment step size until the three-phase current imbalance is less than the target imbalance threshold or the maximum number of iterations is reached, thereby obtaining the power adjustment amount of each terminal device. Control commands are generated based on the power adjustment amount of each terminal device and sent to each terminal device to perform power adjustment.
2. The control method for load balancing of an integrated distribution box according to claim 1, characterized in that, Obtain the real-time current value at the three-phase incoming line of the integrated distribution box and the real-time operating power and estimated remaining operating time of each terminal device connected to each phase, including: The real-time current value at the three-phase incoming line is read by the three-phase energy meter configured in the integrated distribution box according to the set sampling interval; Through the terminal device management platform, the real-time operating power of all terminal devices connected to each phase of the integrated distribution box and the estimated remaining operating time reported by each terminal device are obtained according to the same sampling period as the sampling interval. The three-phase real-time current values, real-time operating power of each terminal device and estimated remaining operating time acquired at the same acquisition time are grouped according to the physical access phase of each terminal device to obtain the A-phase dataset, B-phase dataset and C-phase dataset. The validity of data items in the A-phase dataset, the B-phase dataset, and the C-phase dataset are verified respectively to obtain the valid terminal device dataset for each phase; The real-time operating power of each terminal device in the effective terminal device data of each phase is accumulated, and the real-time current value of the corresponding phase obtained at the same time is combined with the rated phase voltage of the integrated distribution box to calculate the actual load power of each phase. The difference between the actual load power and the cumulative operating power of the effective terminal equipment dataset of the corresponding phase is calculated to obtain the non-terminal basic load power of each phase.
3. The control method for load balancing of an integrated distribution box according to claim 2, characterized in that, The calculation steps for the three-phase current imbalance include: Extract the real-time current values corresponding to the A-phase dataset, B-phase dataset, and C-phase dataset at the same acquisition time, and denot them as the A-phase real-time current value, B-phase real-time current value, and C-phase real-time current value, respectively. Calculate the root mean square values of the real-time current values of phase A, phase B, and phase C, and use them as the equivalent value of the total three-phase current. The phase current value with the largest absolute value of deviation from the equivalent value of the total three-phase current among the real-time current values of phase A, phase B, and phase C is denoted as the real-time current of the phase with the largest deviation. The three-phase current imbalance at the current moment is determined based on the relative deviation between the real-time current of the phase with the maximum deviation and the equivalent value of the total three-phase current.
4. The control method for load balancing of an integrated distribution box according to claim 1, characterized in that, The calculation steps for the remaining available capacity of each phase include: Extract the actual load power of each phase and sum them to obtain the current three-phase total load. Combine this with the rated total capacity of the integrated distribution box to obtain the total remaining available capacity. Extract the estimated remaining runtime of each terminal device in the effective terminal device dataset of each phase, and calculate the harmonic average of the estimated remaining runtime of all terminal devices in the effective terminal device dataset of each phase to obtain the average remaining runtime of phase A, phase B, and phase C. Calculate the reciprocals of the average remaining time of phase A, the average remaining time of phase B, and the average remaining time of phase C to obtain the urgency of phase A, phase B, and phase C; The urgency of phase A, the urgency of phase B, and the urgency of phase C are normalized to obtain the urgency weights of phase A, phase B, and phase C. The total remaining available capacity is pre-allocated according to the urgency weight of phase A, phase B, and phase C. The pre-allocation result is compared with the actual physical remaining capacity of each phase, and the smaller value is taken to obtain the remaining available capacity of phase A, phase B, and phase C.
5. The control method for load balancing of an integrated distribution box according to claim 1, characterized in that, The operational urgency coefficient is inversely proportional to the expected remaining operating time of the corresponding terminal equipment and is corrected based on the deviation of the real-time operating power of the corresponding terminal equipment from the average operating power of all terminal equipment in the same phase. The urgency weight is determined by the relative proportion of the operational urgency coefficients of each terminal equipment in the same phase. The comprehensive control coefficient is positively correlated with the sum of the original operational urgency coefficients of the terminal equipment in each phase and inversely correlated with the remaining available capacity of each phase.
6. The control method for load balancing of an integrated distribution box according to claim 1, characterized in that, With the goal of minimizing the three-phase current imbalance and constrained by the comprehensive control coefficient of each phase, the operating power of each terminal device is iteratively optimized under a dynamic power adjustment step size until the three-phase current imbalance is less than the target imbalance threshold or the maximum number of iterations is reached, thereby obtaining the power adjustment amount of each terminal device, including: The power adjustment step size for this iteration is determined based on the difference between the current three-phase current imbalance and the target imbalance threshold, wherein the power adjustment step size is positively correlated with the difference. The phase with the largest amplitude among the three-phase real-time current values at the current moment is the power reduction phase, and the phase with the smallest amplitude is the power increase phase. Within the power reduction phase, the terminal device with the smallest urgency weight is selected as the power reduction target, and within the power increase phase, the terminal device with the largest urgency weight is selected as the power increase target. The operating power of the power-reducing object is reduced by the power adjustment step size, and the operating power of the power-increasing object is increased by the power adjustment step size, provided that the increased operating power does not exceed the rated operating power of the corresponding terminal device. After each power adjustment, the three-phase current imbalance is recalculated based on the adjusted real-time three-phase current values. If the recalculated three-phase current imbalance is less than the target imbalance threshold, or the number of iterations in this round reaches the maximum number of iterations, the iteration is terminated; otherwise, the comprehensive control coefficients of each phase are updated and the next round of iterations continues. The power adjustment amount of each terminal device is obtained by calculating the difference between the operating power of each terminal device after iteration and the real-time operating power before iteration.
7. The control method for load balancing of an integrated distribution box according to claim 6, characterized in that, Based on the difference between the current three-phase current imbalance and the target imbalance threshold, the power adjustment step size for this iteration is determined, including: Extract the difference between the current three-phase current imbalance and the target imbalance threshold as the current deviation. The target imbalance threshold is determined based on the numerical distribution relationship between the remaining available capacity of phase A, phase B, and phase C. The more unbalanced the distribution of the remaining available capacity of the three phases, the smaller the target imbalance threshold. The difference between the three-phase current imbalance degree before the previous iteration and the target imbalance degree threshold is obtained as the deviation amount of the previous iteration, and the rate of change of the current deviation amount relative to the deviation amount of the previous iteration is calculated. The reference step size is determined based on the magnitude of the current deviation; the larger the current deviation, the larger the reference step size. A correction coefficient is determined based on the rate of change, wherein a negative rate of change indicates that the three-phase current imbalance is approaching the target imbalance threshold, and the correction coefficient is a positive number less than 1; a positive rate of change indicates that the three-phase current imbalance is moving away from the target imbalance threshold, and the correction coefficient is a positive number greater than 1. Multiply the baseline step size by the correction coefficient to obtain the power adjustment step size for this iteration.
8. The control method for load balancing of an integrated distribution box according to claim 6, characterized in that, When the operating power of the power-enhancing object is increased by the power adjustment step size, if the increased operating power exceeds the rated operating power of the power-enhancing object, the operating power of the power-enhancing object is set to the rated operating power, and the difference between the rated operating power and the operating power before the increase is used as the actual increased power value. The power adjustment step size is subtracted from the actual increased power value to obtain a power adjustment margin, and the power adjustment margin is added to the power adjustment step size of the next iteration.
9. The control method for load balancing of an integrated distribution box according to claim 1, characterized in that, Based on the power adjustment amount of each terminal device, a control command is generated and sent to each terminal device to execute the power adjustment, including: Extract the power adjustment amount and corresponding real-time operating power of each terminal device, and superimpose the real-time operating power with the power adjustment amount to obtain the target operating power of each terminal device; Based on the ratio of the target operating power to the rated operating power of the corresponding terminal device, the power adjustment ratio of each terminal device is determined, and the power adjustment ratio and the target operating power are encapsulated into a single terminal control command for each terminal device. According to the phase of each terminal device, the control commands of single terminals belonging to the same phase are collected to generate the A-phase control command set, the B-phase control command set and the C-phase control command set, and each phase control command set is attached with a phase identifier and a command generation timestamp. The three-phase control command set is sequentially sent to the corresponding terminal devices according to the phase order. After receiving the single terminal control command of its respective phase, each terminal device adjusts its own operating power to the target operating power according to the power adjustment ratio. Receive execution confirmation signals returned by each terminal device. For terminal devices that do not return execution confirmation signals within the specified confirmation period, resend the single terminal control command for the corresponding terminal device in the next sending period until an execution confirmation signal is received or the maximum number of resends is reached. After the maximum number of retransmissions is reached, the corresponding terminal device will be marked as abnormal and an abnormal report will be generated. The abnormal report will include at least the physical number of the abnormal terminal device, the target operating power and power adjustment ratio in the single terminal control command corresponding to the abnormal terminal device, the number of retransmissions, and the time of the abnormality. After confirming that all terminal devices have completed the execution, update the power configuration record in the integrated power distribution box and report the execution results to the terminal device management platform.
10. A comprehensive power distribution box, characterized in that, The integrated distribution box is a carrier for implementing the load balancing control method for an integrated distribution box as described in any one of claims 1 to 9, comprising: The terminal equipment parameter acquisition module is used to acquire the real-time current value at the three-phase incoming line of the integrated distribution box and the real-time operating power and estimated remaining operating time of each terminal equipment connected to each phase; The module for calculating the remaining available capacity of each phase is used to calculate the current imbalance of the three-phase current based on the real-time current value of the three phases, and to calculate the rated total capacity of the integrated distribution box and the current total load of the three phases in combination with the remaining available capacity of each phase, and to calculate the remaining available capacity of each phase. The comprehensive control coefficient calculation module is used to obtain the corresponding operation urgency coefficient based on the expected remaining runtime of each terminal device, normalize the operation urgency coefficients of all terminal devices in the same phase to obtain the urgency weight of each terminal device, and calculate the comprehensive control coefficient of each phase in combination with the remaining available capacity of each phase. The power adjustment optimization module is used to iteratively optimize the operating power of each terminal device under the dynamic power adjustment step size with the goal of minimizing the three-phase current imbalance and the constraint of the comprehensive control coefficient of each phase, until the three-phase current imbalance is less than the target imbalance threshold or the maximum number of iterations is reached, so as to obtain the power adjustment amount of each terminal device. The power adjustment module is used to generate control commands based on the power adjustment amount of each terminal device and send them to each terminal device to perform power adjustment.