An edge control method for a virtual power plant

By collecting the cross-determination mechanism of active power and power factor, the overlapping area load response level identification is generated, combined with adjustment threshold and time slice strategy, the main link is screened, and the problems of load state identification and link communication delay fluctuations in virtual power plants are solved, and high-precision control strategy matching and stable synchronization are achieved.

CN120073719BActive Publication Date: 2025-07-25XIAMEN JINMING ENERGY SAVING TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510540271.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-27
Publication Date
2025-07-25
Estimated Expiration
2045-04-27

AI Technical Summary

Technical Problem

The existing virtual power plant control technology has shortcomings in load state identification and link communication delay fluctuations, resulting in low matching accuracy of control strategy, out-of-synchronization of responses, affecting coordination and economics.

Method used

By collecting active power and power factors, establishing a cross-determination mechanism, generating an overlapping area load response level identifier, combining adjustment threshold, time slice and priority matching strategy, filtering the main link, and achieving synchronous control of the signal execution process.

Benefits of technology

It improves the dual-dimensional recognition accuracy of load state and energy efficiency levels, enhances the targetedness and real-timeness of control instructions, ensures the stability of the control path, and realizes synchronization of the signal execution process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120073719B_ABST
    Figure CN120073719B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of virtual power plant control technology, and specifically to an edge control method for a virtual power plant, which includes the following steps: collecting load power parameter matching threshold intervals to generate response levels, matching strategy templates to generate control instructions, extracting link delays to divide levels to determine synchronization benchmarks, analyzing link jitter rates to screen out optimal links to generate identifiers, and adjusting the timing of slave links to generate time synchronization protocols. In the present invention, by collecting active power and power factor to establish an overlapping determination mechanism, the two-dimensional identification of load status and energy efficiency level is realized, the accuracy and dynamic adaptability of response level division are improved, combined with adjustment thresholds, time slices and priority matching control strategies, the pertinence and real-time nature of instruction generation are enhanced, the main link is screened according to link delay and jitter characteristics to ensure the stability of the control path, and the receiving timing and feedback response are corrected through the delay deviation between the master and slave links to achieve synchronous control during the signal execution process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of virtual power plant control, and particularly to an edge control method for a virtual power plant. Background Art

[0002] The technical field of virtual power plant control includes technical methods for integrating, dispatching, and optimizing the control of distributed energy resources. The core content of this technical field is to integrate multiple geographically dispersed energy units, such as photovoltaic power generation, wind power generation, energy storage systems, and adjustable loads, into a unified and coordinated virtual entity through information and communication technology and automation control technology, so as to achieve the ability to provide auxiliary services to the power system and participate in market operations. The overall technical system of virtual power plant control mainly includes a resource aggregation mechanism, a load forecasting and optimal dispatching strategy, an information interaction protocol, an energy management process, a real-time status monitoring and control execution mechanism, etc. Its system structure usually relies on a multi-level control architecture and a distributed intelligent control mechanism to ensure the coordination, responsiveness, and economy of the virtual power plant under different operating scenarios.

[0003] Among them, an edge control method for a virtual power plant refers to a technical method for independently controlling and coordinately dispatching the power resources on the edge side of the virtual power plant. It covers local measurement, status identification, and behavior prediction of controllable resources located at the end of the distribution network, such as distributed photovoltaic units, household energy storage devices, and interruptible loads, and on this basis, formulating local control decisions and executing instructions through a local computing terminal. The control strategy is optimized and matched according to the operating characteristic parameters of the equipment, power quality constraint conditions, and power regulation capabilities, and combined with a multi-level communication protocol between the edge side and the master control center to realize the linkage mechanism of information reporting and control response, so as to complete the integration and dispatching of edge resources in a locally autonomous manner.

[0004] The existing virtual power plant control technology has obvious limitations in dealing with the diversity of edge resource states and the fluctuations of link communication delays. During the load state recognition process, equipment is usually judged only based on a single power parameter or threshold, ignoring the collaborative effects of key indicators such as power factor, resulting in a rough classification of load response levels and an inability to accurately reflect the actual operating capacity of the equipment, thereby affecting the accuracy of control strategy matching. In the scheduling execution stage, in the common mode, the control center lacks the ability to monitor and dynamically discriminate link delays in real time, ignoring the command transmission errors caused by link stability and feedback timeliness differences, resulting in command delays or response asynchronization in the regulation of edge resources. The lack of an effective link optimization and time calibration mechanism makes the control link prone to response imbalance in high-load or network fluctuation environments, affecting the coordination and consistency of the overall control system. For example, in a multi-terminal concurrent scheduling scenario, the lag of some link feedbacks will cause misalignment of execution actions or deviation of energy management, restricting the realization of the collaborative control ability and economic objectives of the virtual power plant. The above deficiencies indicate that the existing methods have shortcomings in adaptability and accuracy in dynamic perception, hierarchical response, and link coordination. Summary of the Invention

[0005] The purpose of the present invention is to solve the shortcomings existing in the prior art, and a method for edge control of a virtual power plant is proposed.

[0006] To achieve the above purpose, the present invention adopts the following technical solutions: A method for edge control of a virtual power plant, including the following steps:

[0007] S1: Collect the current active power value, rated power value, and current power factor of the adjustable load, match the ratio of the active power value to the rated power value with a preset active power threshold interval, establish a cross-judgment relationship in combination with the power factor interval classification of the power factor, and generate an overlapping area load response level identifier;

[0008] S2: Based on the overlapping area load response level identifier, match the corresponding level of active power adjustment threshold, time slice scheduling strategy, and control action priority, and generate an edge control instruction set in combination with the target power adjustment requirement;

[0009] S3: Combine the time slice scheduling strategy in the edge control instruction set, obtain the scheduling command sending timestamp and feedback response timestamp of the control link in real time, extract the link round-trip delay and response duration, divide the delay level interval according to the delay value sorting and determine the maximum delay value, and generate a synchronous time window reference value;

[0010] S4: According to the synchronous time window reference value, analyze the delay jitter rate of the candidate main link within the control period, screen the candidate links that meet the requirements in combination with the delay stability threshold, select the optimal link according to the delay value sorting, and generate a main link optimization identifier.

[0011] As a further solution of the present invention, the overlapping area load response level identifier includes active power threshold interval classification, power factor interval classification, and response level mapping relationship. The edge control instruction set includes active power adjustment threshold, time slice scheduling strategy, and control action priority. The synchronous time window reference value includes control link round-trip delay, response duration, and maximum delay value. The main link preference identifier includes delay jitter rate, delay stability threshold, and optimal link sorting result.

[0012] As a further solution of the present invention, the specific steps of S1 are as follows.

[0013] S101: Collect the current active power value, rated power value, and current power factor of the adjustable load, record the original values of the active power value and the rated power value, classify the power factor into preset power factor interval classifications, and generate a real-time power parameter set.

[0014] S102: Based on the real-time power parameter set, calculate the ratio of the active power value to the rated power value, perform range matching of the ratio with a preset active power threshold interval, determine the threshold interval number where the ratio is located, and generate an active power ratio interval identifier.

[0015] S103: Invoke the active power ratio interval identifier and the power factor interval classification, establish a cross-judgment table of the ratio interval number and the power factor classification, and generate a classification code according to the overlapping area correspondence rule to generate an overlapping area load response level identifier.

[0016] As a further solution of the present invention, the specific steps of S2 are as follows.

[0017] S201: Based on the overlapping area load response level identifier, match the active power adjustment threshold, time slice scheduling strategy, and control action priority corresponding to the level in the strategy template library. By matching the numerical range of the load response level identifier with the threshold interval in the template library, generate a load response parameter group.

[0018] S202: Invoke the time slice scheduling strategy in the load response parameter group. According to the deviation amount and time constraint of the target power adjustment requirement, divide the total period into time slices according to preset rules, and adjust the time slice length and allocation ratio in combination with the deviation amount distribution to generate a time slice configuration sequence.

[0019] S203: Based on the time nodes and allocation ratio of the time slice configuration sequence, combine the adjustment threshold of the load response parameter group and the priority sorting rule, and map the deviation amount to the time slice according to the priority to generate an edge control instruction set.

[0020] As a further solution of the present invention, the specific calculation formula for mapping the deviation amount to the time slice according to the priority is:

[0021] ;

[0022] wherein, represents the deviation allocation amount of the th time slice, represents the priority weight of the th time slice, wj is the weight coefficient of the jth time slice, represents the absolute value of the total system load deviation, represents the th time slice allocation ratio, is the allocation ratio of the jth time slice, represents the total number of time slices, represents the adjustment threshold correction coefficient, represents the th time slice adjustment threshold.

[0023] As a further solution of the present invention, the specific steps of S3 are as follows:

[0024] S301: Based on the time slice scheduling strategy in the edge control instruction set, extract the transmission timestamp and feedback response timestamp of the scheduling command, perform corresponding matching according to the control command number, establish a timestamp pair and form a link scheduling information set, calculate the round-trip delay between commands based on the timestamp pair, and generate a sequence of link round-trip delay values after summarization;

[0025] S302: Call the sequence of link round-trip delay values, arrange them in the order of delay values, divide continuous grade intervals, and perform boundary correction according to the distribution characteristics of the interval differences to obtain the link delay grade division interval;

[0026] S303: According to the link delay grade division interval, extract the maximum round-trip delay value in the highest interval, determine the synchronous time domain boundary in combination with the scheduling cycle parameter, and generate the synchronous time window reference value.

[0027] As a further solution of the present invention, the specific steps of S4 are as follows:

[0028] S401: Based on the synchronous time window reference value, collect the delay sequence of candidate primary links within the control cycle, calculate the delay jitter rate of the link within the cycle according to the change amplitude and frequency between adjacent delay values, and generate the candidate link delay jitter rate;

[0029] S402: According to the candidate link delay jitter rate, compare with the delay stability threshold under the synchronous time window reference value, extract the average delay value of the reserved links for sorting, and obtain the stability screening sorting sequence value;

[0030] S403: Filter and sort the sequence values according to the stability, analyze the identification information of the first-link in the sorting, write it into the corresponding position field in the filtered link set, and establish the preferred identification of the main link.

[0031] As a further solution of the present invention, the specific calculation formula for calculating the delay jitter rate of the link within a period according to the change amplitude and frequency between adjacent delay values is:

[0032] ;

[0033] Wherein, represents the link delay jitter rate, represents the absolute difference of the th pair of adjacent delay values, represents the reciprocal of the th delay sampling interval, represents the th dynamic weight factor of the delay difference, represents the fixed cycle duration of the synchronization time window reference value, represents the change frequency of adjacent delay values within the control period, represents the frequency smoothing coefficient.

[0034] As a further solution of the present invention, the method further includes,

[0035] S5: Based on the instruction issuance time of the preferred identification of the main link, call the synchronization time window reference value, and adjust the signal reception start point and feedback timing offset of the slave link in combination with the delay deviation value between the slave link and the main link to generate the master-slave link time synchronization protocol;

[0036] The master-slave link time synchronization protocol includes the instruction issuance time, the signal reception start point, and the feedback timing offset.

[0037] As a further solution of the present invention, the specific steps of S5 are,

[0038] S501: Based on the instruction issuance time of the preferred identification of the main link, call the synchronization time window reference value and compare it with the main link signal reception start time, filter the main link signal that meets the time interval as the synchronization reference, obtain the time interval range between the instruction issuance time, and generate the main link synchronization interval value;

[0039] S502: According to the main link synchronization interval value, calculate the delay deviation between the link signal reception time and the main link signal reception time, judge the correction requirement of the slave link signal reception position according to the deviation, and adjust the reception time accordingly to obtain the corrected start point of the slave link signal;

[0040] S503: Based on the correction starting point of the slave link signal, combine the master link reception time and the slave link feedback timing time to construct a feedback timing comparison interval, adjust the feedback timing offset according to the relationship between the time difference and the interval, and establish a master-slave link time synchronization protocol.

[0041] Compared with the prior art, the advantages and positive effects of the present invention are as follows:

[0042] In the present invention, by collecting the active power and power factor to establish an overlapping determination mechanism, the dual-dimensional recognition of the load state and energy efficiency level is realized, the accuracy and dynamic adaptability of the response level division are improved, combined with the adjustment threshold, time slice and priority matching control strategy, the pertinence and real-time of the command generation are enhanced, the master link is selected according to the link delay and jitter characteristics to ensure the stability of the control path, and the reception timing and feedback response are corrected by the delay deviation between the master and slave links to realize the synchronous control of the signal execution process. Description of the Drawings

[0043] Figure 1 is a schematic diagram of the step flow of the present invention; Detailed Embodiment

[0044] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0045] In the description of the present invention, it should be understood that the orientation or positional relationship indicated by the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention. In addition, in the description of the present invention, the meaning of "a plurality" is two or more unless otherwise specifically defined.

[0046] Please refer to Figure 1 , an edge control method for a virtual power plant, including the following steps:

[0047] S1: Collect the current active power value, rated power value and current power factor of the adjustable load, match the ratio of the active power value to the rated power value with a preset active power threshold interval, establish a cross-determination relationship in combination with the power factor interval classification of the power factor, and generate an overlapping area load response level identifier;

[0048] Active power threshold range: The allowable fluctuation range of active power set according to the power system dispatching specifications;

[0049] Power factor range classification: The power factor range divided based on power industry standards (such as IEEE1547);

[0050] S2: Based on the load response level identification in the overlapping area, match the corresponding level of active power adjustment threshold, time slice scheduling strategy, and control action priority from the policy template library, and generate an edge control instruction set in combination with the target power adjustment requirement;

[0051] Active power adjustment threshold: The upper and lower limit values of power adjustment allowed for power equipment.

[0052] Time slice scheduling strategy: The instruction execution time unit divided based on real-time control requirements;

[0053] S3: Based on the time slice scheduling strategy in the edge control instruction set, obtain the scheduling command sending timestamp and feedback response timestamp of the control link in real time, extract the link round-trip delay and response duration, sort according to the delay value to divide the delay level range and determine the maximum delay value; generate the synchronous time window reference value;

[0054] Round-trip delay: The total time difference from instruction sending to feedback receiving in the communication link.

[0055] Delay level range: The delay segments defined according to the communication protocol (such as IEC61850);

[0056] Synchronous time window reference value: The maximum allowable round-trip delay value within the control period, used to constrain the timing range of communication link cooperative operations;

[0057] S4: Based on the synchronous time window reference value, analyze the delay jitter rate of the candidate primary link within the control period, combine with the delay stability threshold to screen the candidate links that meet the requirements, and select the optimal link according to the delay value sorting; generate the primary link preference identification;

[0058] Delay jitter rate: The ratio of the standard deviation of link delay fluctuation to the average delay;

[0059] Delay stability threshold: The maximum allowable jitter rate set according to the communication reliability requirements;

[0060] S5: Based on the instruction issuing time of the primary link preference identification, call the synchronous time window reference value, and adjust the signal reception start point and feedback timing offset of the slave link in combination with the delay deviation value between the slave link and the primary link; generate the master-slave link time synchronization protocol.

[0061] Delay deviation value: The difference between the round-trip delays of the slave link and the primary link;

[0062] Master-Slave Link Time Synchronization Protocol: Based on the timing calibration rules of IEEE1588 (PTP protocol), it is used for multi-link collaborative control.

[0063] The load response level identifier in the overlapping area includes active power threshold interval classification, power factor interval classification, and response level mapping relationship. The edge control instruction set includes active power adjustment threshold, time slice scheduling strategy, and control action priority. The synchronous time window reference value includes control link round-trip delay, response duration, and maximum delay value. The master link preference identifier includes delay jitter rate, delay stability threshold, and optimal link sorting result. The master-slave link time synchronization protocol includes instruction issuance time, signal reception start point, and feedback timing offset.

[0064] The specific steps of S1 are as follows:

[0065] S101: Collect the current active power value, rated power value, and current power factor of the adjustable load, record the original values of the active power value and the rated power value, classify the power factor into the preset power factor interval classification, and generate a real-time power parameter set;

[0066] When collecting real-time adjustable load data on-site, it is necessary to continuously obtain the real-time working state parameters of the target device through an intelligent measurement and control device installed in the power distribution system, including the active power output currently, the rated power indicated on the equipment nameplate, and the current power factor. Among them, the acquisition of active power can rely on measuring the instantaneous values of voltage and current and combining the phase angle difference between voltage and current to obtain the actual power output. The rated power parameter can be directly retrieved from the database of the equipment management platform, usually checked according to the factory data and the engineering configuration list during input to ensure accuracy. The power factor needs to detect the phase relationship of the voltage and current waveforms through the power analysis unit in the device to obtain the effective conversion ratio of the current electric energy. For three-phase equipment, three-phase data needs to be collected for averaging or characteristic values are selected according to the main load phase. For example, in an office building air conditioning system, the voltage value is 220 volts, the current is 4.5 amperes, the measured power factor is 0.85, and the corresponding calculated actual active power is 841.5 watts, and the equipment rated power is 1000 watts. Then, 841.5 watts and 1000 watts are recorded as the operating state of this equipment at this moment, and classified according to the interval where the power factor is located. The set power factor classification intervals include, for example, [0, 0.6), [0.6, 0.8), [0.8, 0.9), [0.9, 1], etc. The current 0.85 belongs to the third gear. The finally recorded real-time power parameter set contains three parts: the current active power value, the rated power value, and the interval where the power factor is located, forming a structured record for subsequent judgment and processing.

[0067] S102: Based on the set of real-time power parameters, calculate the ratio of the active power value to the rated power value, match the ratio with a preset active power threshold interval, determine the threshold interval number where the ratio is located, and generate an active power ratio interval identifier;

[0068] Compare the currently acquired real-time active power value with the corresponding rated power value. First, the ratio needs to be obtained according to the actual values. By dividing the current output by the nameplate rated output, the proportional relationship is obtained. This ratio characterizes the relationship between the load operating state and the design capacity. For easy determination and classification, this ratio needs to be matched with a pre-set threshold interval table. Usually, it is divided into several operating level intervals. For example, the set intervals are [0, 0.2), [0.2, 0.4), [0.4, 0.6), [0.6, 0.8), [0.8, 1.0], etc. Taking the previously acquired equipment as an example, the current active power is 841.5 watts and the rated power is 1000 watts. The ratio is 0.8415, which falls into the [0.8, 1.0] interval and corresponds to the fourth gear number. During this process, it is necessary to ensure that all ratio calculations are based on valid data. If the rated power item is missing or zero, this item does not participate in the comparison. The setting of the threshold interval is statistically divided with reference to a large amount of load operation data and reasonably set according to the distribution of the power utilization rate of the equipment during actual operation, avoiding being too dense or too sparse, and ensuring that the grading is recognizable and applicable. The ratio attribution of each equipment corresponds to a number one by one, and finally this number is output as the identification information of the power ratio interval and used as one of the subsequent classification bases.

[0069] S103: Call the active power ratio interval identifier and the power factor interval classification, establish a cross-judgment table of the ratio interval number and the power factor classification, generate a classification code according to the corresponding rules of the overlapping area, and generate an overlapping area load response level identifier;

[0070] Use the power ratio interval number obtained above and the classification of the power factor interval as dual indicators to construct a cross-judgment matrix, form a two-dimensional classification table, set the power factor interval horizontally and the ratio interval number vertically, and fill in the corresponding classification code in each cross unit. This code reflects the classification level of the current load under specific conditions. The code setting is designed according to the load characteristics and the grading standard of the regulation response ability. For example, class A represents low regulation ability, class D represents high regulation ability, and numbers represent further sub-grades. For example, if the power ratio number is the fourth gear and the power factor interval belongs to [0.8, 0.9), the corresponding item in the cross table is set to "D3", indicating that the equipment is in a relatively high operating state and the power factor is in a relatively optimal interval. The classification number setting process constructs a rule base by combining a large number of historical operating state samples, and is automatically generated by the system according to the set rules. The classification table is called by the data processing module. Whenever new real-time data is received, it immediately performs matching and code extraction, determines the response level where the load in the overlap area is currently located, and outputs the corresponding level identifier as an input item for subsequent control and analysis.

[0071] The specific steps of S2 are as follows:

[0072] S201: Based on the load response level identifier in the overlap area, match the active power regulation threshold, time slice scheduling strategy, and control action priority corresponding to this level in the strategy template library. By matching the numerical range of the load response level identifier with the threshold interval in the template library, generate a load response parameter group;

[0073] The load response level identifier in the overlap area is jointly determined by three factors: historical response ability, current response state, and geographical location factor. Suppose the historical response ability of a certain load unit is 85%, the current response state is 75%, and the geographical location factor is 50%. The response level obtained after weighted combination is 0.74. The response level is in the interval of 0.7 to 0.8, and match the strategy template in this level interval in the strategy template library. The active power regulation threshold specified by this template is 500 kW, the time regulation period is 15 minutes, and the control action priority is that load A is prior, followed by load C, and then load B. The system matches the actual response level with the level interval of the strategy template. After confirmation, read the above three key parameters from the template. The finally generated load response parameter group includes: the regulated power is 500 kW, the regulated duration is 15 minutes, and the response control order is three load units A, C, and B. This parameter group will be used as the basis for subsequent regulation and instruction generation to ensure that the allocation of regulation resources is logically dispatched based on the response level.

[0074] S202: Invoke the time slice scheduling strategy in the load response parameter group. Based on the deviation of the target power adjustment demand and the time constraint, divide the total period into time slices according to preset rules. Combine the deviation distribution to adjust the time slice length and allocation ratio, and generate a time slice configuration sequence;

[0075] The scheduling strategy first invokes the adjustment period information in the parameter group, that is, 15 minutes as the total time. If the target power adjustment demand is 450 kW, exceeding the allowable error range, for example, a tolerance deviation of 5% which is 22.5 kW, then this 15-minute period needs to be divided into multiple time slices. Initially, the period is evenly divided into three time slices, each being 5 minutes. Then, according to the distribution of the previous load response capabilities, the adjustment targets are allocated proportionally. If historical data shows that the response capability of the first segment accounts for 50%, the second segment for 30%, and the third segment for 20%, then these three time slices are respectively assigned adjustment tasks of 225, 135, and 90 kW. After that, by combining the response speeds of each time slice, it is evaluated that the average response rate of the first segment is 90%, the second segment is 60%, and the third segment is 50%. By analyzing the relationship between the response speed and the expected adjustment power, it can be seen that the actual response time required for each segment changes. After adjustment, the first segment is about 5.6 minutes, the second segment is about 6.25 minutes, and the third segment is about 9 minutes, which exceeds the total period. Therefore, compression adjustment is required to make the sum of the three segments equal to 15 minutes again. After compression, the three time slices are finally reallocated to 4.3 minutes, 5.2 minutes, and 5.5 minutes. This configuration is used to guide the load response rhythm in different stages and form a clear scheduling beat.

[0076] S203: Based on the time nodes and allocation ratios of the time slice configuration sequence, combine the adjustment thresholds and priority sorting rules of the load response parameter group, and map the deviation amount to the time slices according to the priority to generate an edge control instruction set;

[0077] The specific calculation formula for mapping the deviation amount to the time slices according to the priority is:

[0078] ;

[0079] where, represents the deviation allocation amount of the th time slice, represents the priority weight of the th time slice, wj is the weight coefficient of the jth time slice, represents the absolute value of the total load deviation of the system, represents the allocation ratio of the th time slice, is the allocation ratio of the jth time slice, represents the total number of time slices, represents the adjustment threshold correction coefficient, Represents the adjustment threshold for the th time slice;

[0080] Detailed explanation of the formula and the derivation process of formula calculation:

[0081] Absolute value of the total system load deviation The difference between the current total load and the target value is collected in real time through the power grid monitoring system and the absolute value is taken. Among the monitoring data of a certain regional power grid , the priority weight is generated according to the preset rules of the load response parameter group, and the weight of the time slice is , the allocation ratio is calculated through the historical load distribution data, and the allocation ratio of the time slice is , the adjustment threshold correction coefficient is set according to the device adjustment ability to be , the time slice adjustment threshold is determined by the device response characteristics, and the adjustment threshold of the time slice is , the total number of time slices (divided at 15-minute intervals based on a 24-hour cycle).

[0082] Substitute into the formula to calculate the deviation allocation amount of the time slice : :

[0083] The operation of the numerator part is , and the summation term in the denominator is calculated according to all the time slice data. Assuming that the average value of the remaining time slices is and the average value is , then , after taking the square root , the adjustment threshold correction term is , and the sum of the denominators is , finally . This result indicates that the time slice needs to allocate approximately of the load adjustment amount to generate the edge control instruction for the corresponding time slice.

[0084] Parameter definition: is the deviation allocation amount of the th time slice, is the weight coefficient generated based on the load response priority rule for the th time slice, is the absolute value of the total load deviation collected in real time by the power grid monitoring system, is the allocation ratio calculated based on the historical load distribution for the th time slice, is the total number of time slices, is the threshold correction coefficient set according to the device adjustment ability, is the th adjustment threshold determined by the device response characteristics for the time slice.

[0085] The specific steps of S3 are as follows:

[0086] S301: Based on the time slice scheduling strategy in the edge control instruction set, extract the sending timestamp and feedback response timestamp of the scheduling command, perform corresponding matching according to the control command number, establish a timestamp pair and form a link scheduling information set, calculate the round-trip delay between commands based on the timestamp pair, and generate a link round-trip delay value sequence after summarization;

[0087] When adopting the time slice scheduling strategy in the edge control instruction set, first, a round-robin scheduling method needs to be set in the edge node, allocate the execution window of the control command according to the preset time slice, record the current system time as the sending timestamp each time the command is sent. After the command is executed, the system receives the corresponding feedback response and records the reception time again as the response timestamp. Match these two timestamps one by one according to the control command number to form a timestamp pair and form a scheduling link information set. For example, in an automated assembly line, when the edge node records the sending time as 100.1 milliseconds when controlling the mechanical arm to extend, and the response time for feedback that the position has reached the standard is 102.3 milliseconds, and the corresponding command number is set to 105, the obtained timestamp pair is <100.1, 102.3>. The command number is used for corresponding confirmation to ensure that each pair of timestamps truly belongs to the same control process. Subsequently, calculate the round-trip delay of this command as 2.2 milliseconds through the difference between the two timestamps. Accumulate the timestamp pairs from different commands in this way, calculate the round-trip delay of each group respectively, and form a set of link delay data, such as 2.2 milliseconds, 2.0 milliseconds, 2.3 milliseconds, 2.1 milliseconds, etc. This data sequence is the link round-trip delay value sequence and becomes the basis for subsequent scheduling analysis.

[0088] S302: Call the link round-trip delay value sequence, arrange it in the order of delay values, divide continuous grade intervals, perform boundary correction based on the distribution characteristics of the interval differences, remove the deviated sections and complete the interval delimitation to obtain the link delay grade division interval;

[0089] The aforementioned round-trip delay value sequence of the link is called and processed. First, all delay values are arranged in ascending order to ensure a clear data distribution structure. Then, all sorted delay values are divided into continuous time intervals according to the set time division unit. For example, the width of each level interval is set to 1 millisecond, and multiple intervals are generated in sequence. The number of delays contained in each interval is counted. According to the statistical results, the situation in which the number of data in some intervals is obviously small is identified, and it is identified as a deviation segment. For this purpose, a calculation method for determining density difference is introduced. By calculating the proportion of the difference in the number of data between adjacent intervals, if the proportion is greater than 80%, it is considered a density mutation, thereby Perform interval boundary correction operations. On this basis, only segments with concentrated data density are retained to form the final delay level interval. For example, in actual data, the initial interval is multiple 1-millisecond wide intervals from 2 milliseconds to 9 milliseconds, and the density is concentrated between 2 and 4 milliseconds and between 7 and 9 milliseconds. The data in several intermediate segments is sparse, so the final delineated intervals are two: 2 to 4 milliseconds and 7 to 9 milliseconds. While dividing the level intervals, the numerical features are combined to identify the segments in the high delay range. For example, when the minimum value of an interval exceeds the mean value by more than two standard deviations, it can be determined that the interval is in the significant delay level, ensuring that the boundary delineation reflects the performance fluctuation characteristics of the actual network link.

[0090] S303: Divide the intervals according to the link delay level, extract the maximum round-trip delay value in the highest interval, determine the synchronization time domain boundary in combination with the scheduling cycle parameters, and generate a synchronization time window reference value;

[0091] According to the link delay level interval obtained in the previous processing process, the item with the highest value in the maximum level interval is selected as the representative indicator. The maximum value comes from the highest round-trip delay of all successfully matched timestamp pairs, indicating the ultimate delay performance that the current link may reach. For example, the maximum level interval is seven to nine milliseconds, and the maximum round-trip delay is eight point one milliseconds. In the actual scheduling environment, such as the intelligent warehousing system for robot path adjustment control, the system can use this maximum round-trip delay as the starting point of the scheduling time domain boundary, combined with the set scheduling cycle parameters, such as ten milliseconds, through a simple numerical addition method, add a fixed delay compensation value to generate a reference value of the synchronization time window. For example, if the compensation value is set to 0.5 milliseconds, the reference value is 8.6 milliseconds. In the subsequent synchronization scheduling process, the system will construct the synchronization time window according to this reference value. For example, if the tolerance range is set to plus or minus 0.2 milliseconds, the final synchronization time domain judgment range is 8.4 to 8.8 milliseconds. This range is used to determine whether each edge node meets the unified time domain requirements to ensure that the scheduling pace can still be unified under the influence of the maximum link delay.

[0092] The specific steps of S4 are:

[0093] S401: Based on the synchronization time window reference value, collect the delay sequence of the candidate primary link within the control period. According to the change amplitude and frequency between adjacent delay values, calculate the delay jitter rate of the link within the period, and generate the candidate link delay jitter rate.

[0094] The specific calculation formula for calculating the delay jitter rate of the link within the period according to the change amplitude and frequency between adjacent delay values is:

[0095] ;

[0096] Among them, represents the link delay jitter rate, represents the absolute difference of the th pair of adjacent delay values, represents the th dynamic weight factor of the delay difference, represents the fixed cycle duration of the synchronization time window reference value, represents the change frequency of adjacent delay values within the control period, represents the frequency smoothing coefficient ( );

[0097] Detailed explanation of the formula and the derivation process of the formula calculation:

[0098] Parameter assignment and acquisition method:

[0099] Delay sequence: Monitor the delay of the candidate primary link within the control period and obtain the actual sampling data , , , , , a total of delay values, and the change frequency of adjacent delays .

[0100] Absolute difference of adjacent delays: , , , .

[0101] Reciprocal of the sampling interval: According to the sampling frequency of the network monitoring device (interval ), .

[0102] Synchronization time window reference value: Set , based on the typical value of the synchronization time window in the network protocol standard (refer to IEEE802.1AS).

[0103] Frequency smoothing coefficient: Set , according to the empirical formula When At this time , round down to .

[0104] Dynamic weight factor: Calculate , where , , get , similarly , , .

[0105] Step-by-step calculation of the formula:

[0106] Calculation of the numerator:

[0107] ;

[0108] ;

[0109] ;

[0110] ;

[0111] Sum of the numerators ;

[0112] Calculation of the denominator: ;

[0113] Final result: ;

[0114] Explanation of the numerical result:

[0115] The calculation result is the link delay jitter rate, and its value reflects the comprehensive fluctuation degree of the delay change within the control period. The larger the value, the more significant the delay jitter.

[0116] This result, through normalization processing (the denominator contains and the frequency term) and the introduction of the dynamic weight factor , correlates parameters such as the amplitude, change frequency, and sampling density of adjacent delay differences, and is used to horizontally compare the jitter stability of different candidate links, directly related to the generation of the candidate link delay jitter rate at the end of the step.

[0117] S402: According to the candidate link delay jitter rate, compare with the delay stability threshold under the synchronous time window reference value, screen out the links whose jitter rate exceeds the threshold, extract the average delay values of the remaining links for sorting, and obtain the stability screening sorting sequence value;

[0118] After obtaining the delay jitter rate of each link, a threshold for distinguishing stable and unstable states is set. For example, the threshold is set to 20%. All links with jitter rates higher than this threshold are considered unstable and are removed. Only the links with jitter rates not exceeding the threshold are retained. For each of the retained links, the average delay value over its entire cycle is calculated, and then these values are sorted in ascending order to form a sorted sequence. The specific process includes: for each retained link, add up all the delay data from start to end and divide by the total amount of data to obtain the average delay of the link. Then, compare the average delay values of all links and generate a sorted list in ascending order. For example, for the two retained links with cycle delays of 10, 10, 10, 10, 10 milliseconds and 10, 10, 11, 10, 10 milliseconds respectively, the corresponding average values are 10 milliseconds and 10.2 milliseconds. After sorting, the former is ranked first, and the acquisition of the stability screening sorted sequence is completed.

[0119] S403: Based on the values in the stability screening sorted sequence, analyze the identification information of the link ranked first and write it into the corresponding position field in the screened link set to establish the preferred identification of the main link;

[0120] Analyze the link sequence after stability sorting, take out the link ranked first, and its identification information is used as the current main link. Search for the corresponding link position in the established link information set, and assign the main link identification field of this link to the main link state. The specific operation is to read the first link number in the sorting result, find its corresponding information unit in the link data structure, and set the boolean or integer field used to identify the main link state to the active state, while keeping the other link fields in the non-active state. Thus, the operation of assigning the preferred identification of the main link is completed.

[0121] The specific steps of S5 are as follows:

[0122] S501: Based on the instruction issuance time of the preferred identification of the main link, call the synchronization time window reference value and compare it with the start time of receiving the main link signal to screen the main link signals that meet the time interval as the synchronization reference, obtain the time interval range between the instruction issuance time, and generate the main link synchronization interval value;

[0123] In the main link, it is necessary to extract the instruction issuance time from the data record, the reception start time of each frame of signal, and the reference value of the synchronization time window set in the system. Compare one by one the intervals between the reception times of all main link signals and the instruction issuance time, and filter out those signal frames whose time intervals are within the set window range as the reference basis for subsequent synchronization operations. For example, if the set reference value is 5 milliseconds, the instruction issuance time is 200 milliseconds, and the reception start times of the signals are 195 milliseconds, 198 milliseconds, 202 milliseconds, and 206 milliseconds, then only 198 milliseconds and 202 milliseconds meet the condition within the set range. Based on this, a synchronization interval is established, ranging from 198 milliseconds to 202 milliseconds, and this time period is the main link synchronization interval. In this process, the time stamp recording module should be used to accurately read the time information of the signal frames, and the optimal synchronization comparison samples should be extracted according to the time offset constraint, and finally the reference interval for the time alignment between the main link and the slave link can be obtained. Such a scheme can be applied to multi-channel signal processing devices, such as distributed radar networks. After a synchronization control instruction is issued at a certain node, the remaining nodes locate the legal time window for signal reception according to this instruction, so as to select an accurate time alignment reference point.

[0124] S502: Calculate the delay deviation between the reception time of the link signal and the reception time of the main link signal according to the main link synchronization interval value, judge the correction requirement of the reception position of the slave link signal according to the deviation, and adjust the reception time accordingly to obtain the corrected start point of the slave link signal;

[0125] According to the synchronization time interval determined by the main link, compare the times of the received signals in the slave link correspondingly, and analyze the time difference between the reception time of the slave link and the reception time of the main link signal. If the time interval between the reception time of a certain slave link signal and the time of the main link signal exceeds the set maximum allowable deviation value, it can be judged that the signal reception point has a too large offset and a correction operation is required. At this time, the reception time should be adjusted to reduce the offset time within the main link reference time range. For example, the main link signal is 200 milliseconds, the slave link signal is 204 milliseconds, and the set maximum deviation is 2 milliseconds, then the current deviation is 4 milliseconds, which has exceeded the tolerance range. The time of the slave link signal should be adjusted to be consistent with the main link as the corrected start point. If the deviation is negative, reverse correction is performed. After correction, the offset trend should be continuously tracked, and the adjustment value required for each correction should be recorded. In practical applications, in large communication systems or distributed sensor platforms, there are slight jitters in the signal reception of each sub-node. The correction process is adjusted by comparing the main link reference value to ensure that all signals can be aligned within a unified time reference.

[0126] S503: Based on the correction starting point of the slave link signal, combine the master link reception time and the slave link feedback timing time to construct a feedback timing comparison interval. Adjust the feedback timing offset according to the relationship between the time difference and the interval, and establish a master-slave link time synchronization protocol;

[0127] Combine the correction starting point of the slave link, the master link reception time and the slave link feedback time to construct a comparison interval between the feedback timings. According to the time difference within this interval, determine whether there is an offset in the feedback timing. If the offset exceeds the set value, correct the feedback time and make it closer to the master link timing to ensure that the feedback behavior is consistent with the master link instruction. For example, if the master link reception time is 200 milliseconds, the slave link feedback time is 207 milliseconds, and the preset feedback allowable error is 5 milliseconds, then the current feedback time offset exceeds the set range and should be adjusted to meet the error tolerance, such as adjusted to 205 milliseconds. Next, construct the time synchronization protocol parameters for the master-slave link, including the feedback timing offset limit value, the master-slave reception time error range, the time offset correction term, etc. By analyzing the time data before and after correction, set the maximum time offset between the master and slave not to exceed a certain tolerance, such as set to 2 milliseconds, to ensure that the data return is consistent with the master link time reference. This set of suitable synchronization protocol parameters is applicable to an automated control system, such as a distributed control module in rail transit. Each control unit feeds back according to the timing control signal sent by the master link and corrects its own time stamp to ensure the coordinated operation of the system.

[0128] The above are only the preferred embodiments of the present invention and do not limit the present invention in other forms. Any person skilled in the art may use the disclosed technical content to make changes or modifications into equivalent embodiments with equivalent changes and apply them to other fields. However, as long as it does not depart from the technical solution content of the present invention, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention still fall within the protection scope of the technical solution of the present invention.

Claims

1. An edge control method for a virtual power plant, characterized in that, It includes the following steps: S1: Collect the current active power value, rated power value and current power factor of the adjustable load, match the ratio of the active power value to the rated power value with the preset active power threshold interval, establish a cross - determination relationship by combining the power factor intervals of the power factor, and generate an overlapping area load response level identifier; S2: Based on the overlapping area load response level identifier, match the corresponding - level active power adjustment threshold, time - slice scheduling strategy and control action priority, and combine the target power adjustment requirement to generate an edge control instruction set; S3: Combine the time - slice scheduling strategy in the edge control instruction set, obtain the scheduling command send timestamp and feedback response timestamp of the control link in real time, extract the link round - trip delay and response duration, divide the delay level interval according to the delay value sorting and determine the maximum delay value, and generate a synchronous time window reference value; S4: According to the synchronous time window reference value, analyze the delay jitter rate of the candidate primary link within the control period, screen the candidate links that meet the requirements by combining the delay stability threshold, sort the links according to the delay value and select the optimal link, and generate a primary link preference identifier; The specific steps of S1 are as follows S101: Collect the current active power value, rated power value and current power factor of the adjustable load, record the original values of the active power value and the rated power value, classify the power factor into the preset power factor interval classification, and generate a real - time power parameter set; S102: Based on the real - time power parameter set, calculate the ratio of the active power value to the rated power value, match the ratio with the preset active power threshold interval for range matching, judge the threshold interval number where the ratio is located, and generate an active power ratio interval identifier; S103: Call the active power ratio interval identifier and the power factor interval classification, establish a cross - determination table of the ratio interval number and the power factor classification, generate a classification code according to the corresponding rules of the overlapping area, and generate an overlapping area load response level identifier.

2. The edge control method of the virtual power plant according to claim 1, wherein The overlapping area load response level identifier includes the active power threshold interval classification, power factor interval classification, and response level mapping relationship. The edge control instruction set includes the active power adjustment threshold, time - slice scheduling strategy, and control action priority. The synchronous time window reference value includes the control link round - trip delay, response duration, and maximum delay value. The primary link preference identifier includes the delay jitter rate, delay stability threshold, and optimal link sorting result.

3. The edge control method of the virtual power plant according to claim 1, wherein The specific steps of S2 are as follows S201: Based on the overlapping area load response level identifier, match the corresponding - level active power adjustment threshold, time - slice scheduling strategy and control action priority in the strategy template library, match the numerical range of the load response level identifier with the template library threshold interval, and generate a load response parameter group; S202: Call the time - slice scheduling strategy in the load response parameter group, divide the total period into time slices according to the preset rules according to the deviation amount and time constraint of the target power adjustment requirement, and adjust the time - slice length and allocation ratio by combining the deviation amount distribution to generate a time - slice configuration sequence; S203: Based on the time nodes and allocation ratios of the time slice configuration sequence, combined with the adjustment thresholds and priority sorting rules of the load response parameter group, map the deviation amount to the time slices according to the priorities to generate an edge control instruction set.

4. The edge control method of the virtual power plant according to claim 3, characterized in that, The specific calculation formula for mapping the deviation amount to the time slices according to the priorities is: ; Among them, represents the deviation allocation amount of the th time slice, represents the priority weight of the th time slice, w j is the weight coefficient of the jth time slice, represents the absolute value of the total system load deviation, represents the allocation ratio of the th time slice, is the allocation ratio of the jth time slice, represents the adjustment threshold correction coefficient, represents the adjustment threshold of the 5. The edge control method of the virtual power plant according to claim 1, characterized in that The specific steps of S3 are as follows: S301: Based on the time slice scheduling strategy in the edge control instruction set, extract the sending timestamp and feedback response timestamp of the scheduling command, perform corresponding matching according to the control command number, establish a timestamp pair and form a link scheduling information set, calculate the round-trip delay between commands based on the timestamp pair, and generate a link round-trip delay value sequence after summarization. S302: Invoke the link round-trip delay value sequence, sort it in the order of delay values, divide continuous grade intervals, and perform boundary correction according to the distribution characteristics of the interval differences to obtain the link delay grade division intervals. S303: According to the link delay grade division intervals, extract the maximum round-trip delay value in the highest interval, determine the synchronous time domain boundary in combination with the scheduling period parameter, and generate a synchronous time window reference value.

6. The edge control method of the virtual power plant according to claim 5, characterized in that The specific steps of S4 are as follows: S401: Based on the synchronous time window reference value, collect the delay sequence of the candidate master link within the control period, calculate the delay jitter rate of the link within the period according to the change amplitude and frequency between adjacent delay values, and generate the candidate link delay jitter rate. S402: According to the candidate link delay jitter rate, compare it with the delay stability threshold under the synchronous time window reference value, extract the average delay values of the reserved links for sorting, and obtain the stability screening sorting sequence value. S403: Based on the stability screening sorting sequence value, analyze the identification information of the link ranked first in the sorting and write it into the corresponding position field in the screened link set to establish the preferred identification of the master link.

7. The edge control method of the virtual power plant according to claim 6, wherein The specific calculation formula for calculating the delay jitter rate of the link within the period according to the change amplitude and frequency between adjacent delay values is: ; Among them, represents the link delay jitter rate, represents the absolute difference between adjacent delay values, represents the reciprocal of the delay sampling interval, represents the dynamic weight factor of the th delay difference, represents the fixed cycle duration of the synchronization time window reference value, represents the frequency smoothing coefficient.

8. The edge control method of the virtual power plant according to claim 1, wherein The method also includes S5: Based on the instruction issuance time of the preferred identification of the master link, invoke the synchronous time window reference value, and adjust the signal reception start point and feedback timing offset of the slave link in combination with the delay deviation value between the slave link and the master link to generate the master-slave link time synchronization protocol. The master-slave link time synchronization protocol includes the instruction issuance time, the signal reception start point, and the feedback timing offset.

9. The edge control method of the virtual power plant according to claim 8, characterized in that The specific steps of S5 are as follows: S501: Based on the instruction issuance time of the preferred identification of the master link, compare the synchronous time window reference value with the master link signal reception start time, screen the master link signals within the time interval as the synchronization reference, obtain the time interval range between the instruction issuance time, and generate the master link synchronization interval value. S502: According to the master link synchronization interval value, calculate the delay deviation between the link signal reception time and the master link signal reception time, judge the correction requirement of the slave link signal reception position according to the deviation, and adjust the reception time accordingly to obtain the slave link signal correction start point. S503: Based on the correction starting point of the slave link signal, combine the master link reception time and the slave link feedback timing time to construct a feedback timing comparison interval, adjust the feedback timing offset according to the relationship between the time difference and the interval, and establish a master-slave link time synchronization protocol.

Citation Information

Patent Citations

  • Virtual power plant adjustable potential comprehensive evaluation method, system and equipment giving consideration to communication and action time delay

    CN119518685A

  • KR20210043389A