An electricity meter data prediction method, device and medium
By repeatedly executing the meter data prediction process within the meter communication cycle and using inverter power to compensate for meter power, the problem of untimely response of the inverter system is solved, and the efficiency of meter data reading and the real-time performance of inverter energy control are improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-19
- Publication Date
- 2026-03-17
AI Technical Summary
In inverter systems, communication delays between the electricity meter and the back-end system can cause the inverter system to fail to respond to instantaneous power fluctuations in a timely manner, leading to problems such as anti-reverse current failure and system oscillation.
The meter data prediction process is repeated multiple times within the meter's communication cycle. The predicted meter power value from the previous round is compared with the meter power collected at the current moment. The predicted meter power value for the current round is calculated based on the historically latched target power data and the inverter power at the current moment. The latched target power data is updated when necessary.
During the communication downtime of the electricity meter, the change in inverter power is used to compensate for the meter power prediction, which improves the reading efficiency of the meter data and the real-time performance of the inverter energy control, and reduces the risk of system oscillation.
Smart Images

Figure CN121365177B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of new energy power generation technology, and in particular to a method, device and medium for predicting electricity meter data. Background Technology
[0002] Electricity meters are metering instruments used in power systems to collect power system data and periodically update the collected data to a backend system. Generally, the communication cycle between the electricity meter and the backend system is 600ms; that is, it takes 600ms for the meter to update the collected data to the backend system. During this 600ms interval, the backend system cannot obtain the latest meter data; in other words, the data displayed on the backend system lags behind the real-time power system data collected by the meter.
[0003] In inverter systems, controlling the inverter often requires accessing data from the backend system. If the inverter system experiences instantaneous power fluctuations, the control loop may not be able to respond to these fluctuations in a timely manner due to communication delays between the meter and the backend system. This can lead to reverse current protection failure and system oscillations. Summary of the Invention
[0004] One objective of this application is to provide a method for predicting electricity meter data that can overcome at least one of the deficiencies in the aforementioned background art.
[0005] Another object of this application is to provide an electronic device capable of implementing a meter data prediction method that solves at least one of the defects in the above-mentioned background art.
[0006] Another object of this application is to provide a computer-readable storage medium capable of implementing a meter data prediction method that addresses at least one of the deficiencies in the aforementioned background art.
[0007] To achieve at least one of the above objectives, the technical solution adopted in this application is as follows: a method for predicting electricity meter data, implemented within the communication cycle of the electricity meter; multiple rounds of electricity meter data prediction process are repeatedly executed within the communication cycle of the electricity meter, and a single round of electricity meter data prediction process includes the following steps: recording the predicted electricity meter power value of the previous round and comparing it with the electricity meter power collected at the current moment; if the absolute difference between the two is greater than a set first threshold, calculating the predicted electricity meter power value of the current round based on the historically latched target power data and the inverter power collected at the current moment; if the absolute difference between the two is less than or equal to the set first threshold, updating the historically latched target power data by using the electricity meter power and inverter power at the current moment, and calculating the predicted electricity meter power value of the current round based on the currently latched target power data.
[0008] Preferably, the process of latching the target power data at the current moment is as follows: if the absolute difference between the predicted power value of the meter in the previous round and the power value of the meter collected at the current moment is greater than the set second threshold, the historically latched target power data is updated based on the inverter power and the meter power at the current moment; otherwise, the historically latched target power data remains unchanged; wherein, the second threshold is less than the first threshold.
[0009] Preferably, the first threshold is 2% to 5% of the inverter's rated power; the second threshold is 5% to 20% of the first threshold.
[0010] Preferably, the process of latching the target power data at the current moment is as follows: during the continuous prediction of electricity meter data, a time count value is set; the time count value is accumulated when the historically latched target power data remains unchanged, and the time count value is cleared when the historically latched target power data is updated; if the accumulated value of the time count value exceeds the set third threshold, the historically latched target power data is updated using the inverter power and electricity meter power at the current moment.
[0011] Preferably, the time count value is suitable for accumulating the duration of a single meter data prediction; the third threshold value is 10% to 30% of the meter communication cycle.
[0012] Preferably, the time count value is incremented by 1 when the historical latched target power data remains unchanged; the third threshold value is 50~200.
[0013] Preferably, without considering load fluctuations, the predicted power value of the meter is equal to the latched power of the meter plus the difference between the current inverter power and the latched inverter power.
[0014] Preferably, the interval between two adjacent rounds of meter data prediction processes is 0.2% to 5% of the meter communication cycle.
[0015] An electronic device includes a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program to implement the above-described method for predicting electricity meter data.
[0016] A computer-readable storage medium storing a computer program; when the computer program is executed by a processor, it implements the above-described method for predicting electricity meter data.
[0017] Compared with the prior art, the beneficial effects of this application are as follows:
[0018] During the communication downtime of the electricity meter, the change in inverter power can be used to compensate for the meter power and predict the meter power, making the meter power closer to the actual grid power. This facilitates energy control of the inverter and can effectively improve the efficiency of meter data reading, thereby enhancing the real-time performance of grid management. Attached Figure Description
[0019] Figure 1 This is a schematic diagram illustrating the working steps of the single-round meter data prediction process in this application.
[0020] Figure 2 This is a schematic diagram illustrating the specific workflow of the electricity meter data prediction process in this application.
[0021] Figure 3 This is a schematic diagram illustrating the calculation process for the predicted power value of the electricity meter in this application. Detailed Implementation
[0022] The present application will now be further described in conjunction with specific embodiments. It should be noted that, in the description of this specification, the use of terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicates that the specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms should not be construed as necessarily referring to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. In addition, those skilled in the art can combine and integrate the different embodiments or examples described in this specification.
[0023] In the description of this application, it should be noted that the terms "center", "lateral", "longitudinal", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", etc., which indicate the orientation and positional relationship based on the orientation or positional relationship shown in the accompanying drawings, are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and should not be construed as limiting the specific protection scope of this application.
[0024] It should be noted that the terms "first," "second," etc., in the specification and claims of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0025] In this application, unless otherwise expressly specified and limited, the terms "installation," "connection," "joining," and "fixing," etc., should be interpreted broadly. For example, they can refer to a connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0026] In this application, unless otherwise expressly specified and limited, "above" or "below" the second feature can include direct contact between the first and second features, or contact between the first and second features through another feature between them. Furthermore, "above," "over," and "on top" of the second feature includes the first feature being directly above or diagonally above the second feature, or simply indicates that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature includes the first feature being directly below or diagonally below the second feature, or simply indicates that the first feature is at a lower horizontal level than the second feature.
[0027] The terms “comprising” and “having”, and any variations thereof, in the specification and claims of this application are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to such process, method, product, or device.
[0028] One aspect of this application provides a method for predicting electricity meter data, implemented within the communication cycle of the electricity meter; and repeatedly executing multiple rounds of the electricity meter data prediction process within the communication cycle of the electricity meter. For example... Figures 1 to 3 As shown, a preferred embodiment of the single-round meter data prediction process includes the following steps: recording the meter power prediction value of the previous round and comparing it with the meter power collected at the current moment. If the absolute difference between the two is greater than a set first threshold, the meter power prediction value for the current round is calculated based on the historically latched target power data and the inverter power collected at the current moment; if the absolute difference between the two is less than or equal to the set first threshold, the historically latched target power data is latched and updated using the meter power and inverter power at the current moment, and the meter power prediction value for the current round is calculated based on the currently latched target power data.
[0029] Understandably, the core idea of this application's technical solution is as follows: During the current meter data prediction process, if the real-time collected data of the meter is not significantly different from the meter power recorded in the previous round (i.e., less than or equal to the first threshold), it indicates that the inverter's output power fluctuation is not significant. Therefore, the current meter power and inverter power can be latched as the basis for subsequent meter data prediction, and the predicted meter power value is calculated based on the currently latched target power data, which is then used as the meter power recorded in the next round of meter data prediction. If the real-time collected data of the meter differs significantly from the meter power recorded in the previous round (i.e., greater than the first threshold), it indicates that the inverter's output power has undergone a significant change. That is, the real-time meter data differs greatly from the historically latched target power data. Directly using the historically latched target power data to calculate the predicted meter power value would lead to inaccurate results. Therefore, the current inverter power can be added to the historically latched target power data to calculate the predicted meter power value. Furthermore, since the current real-time power of the electricity meter differs greatly from the historical latched data, it may be due to occasional sudden changes in data. Therefore, it is not necessary to latch the current real-time power of the electricity meter and the inverter power to avoid inaccurate subsequent calculation results.
[0030] In layman's terms, during the communication downtime of the electricity meter, the technical solution of this application can predict the meter power by compensating for changes in inverter power. Thus, during the communication downtime, the meter power is a value that varies with the inverter power, more closely resembling the actual grid power, which is more beneficial for inverter energy control, especially in improving the response speed of the power feeder (EPM) limitation in metered mode. It also effectively improves the efficiency of meter data reading and enhances the real-time performance of grid management. Furthermore, by predicting the meter power during the communication downtime, abnormal inverter conditions during the downtime can be monitored.
[0031] In this embodiment, the single-round meter data prediction process can be carried out continuously within the meter's communication cycle, or it can be carried out continuously at set intervals within the meter's communication cycle. The interval should not be set too large, as this may reduce the energy control efficiency of the inverter. Therefore, in this embodiment, the interval between two adjacent rounds of meter data prediction is preferably 0 to 5% of the meter's communication cycle.
[0032] It's important to know that the communication cycle of an electricity meter is typically 600ms. Based on the aforementioned interval values, the interval between two adjacent rounds of meter data prediction is 0-30ms. That is, when the interval is 0, it can be considered as continuous and uninterrupted prediction of the meter's power within the communication cycle. Simultaneously, the controller's processing time for meter data is typically 1ms, meaning the duration of a single round of meter data prediction is approximately 1ms. Therefore, the number of rounds of meter data prediction within the communication cycle can be determined based on the interval value. This allows the current communication cycle's meter data prediction process to end based on the determined number of rounds; alternatively, it can end the current communication cycle's meter data prediction process based on whether the total execution time of the meter data prediction process reaches the end of the communication cycle.
[0033] In this embodiment, as Figure 2 As shown, the process of latching the target power data at the current moment is as follows: if the absolute difference between the predicted power value of the meter in the previous round and the power value of the meter collected at the current moment is greater than the set second threshold, the historically latched target power data is updated based on the inverter power and meter power at the current moment; otherwise, the historically latched target power data remains unchanged; wherein, the second threshold is less than the first threshold.
[0034] Understandably, when latching the target power data, it is necessary to compare the current meter power with the current meter power. If the change in the current meter power is small compared with the previous round of output meter prediction value, i.e. less than the second threshold, it means that the current meter power can be regarded as basically unchanged, so there is no need to update the historically latched target power data. Only when the change in meter power is between the first threshold and the second threshold, is the historically latched target power data updated.
[0035] It should be understood that the specific values of the first and second thresholds can be selected according to the actual needs of those skilled in the art; generally speaking, the first threshold is 2% to 5% of the inverter's rated power; and the second threshold is 5% to 20% of the first threshold. For example, if the inverter's rated power is 15kW, then the first threshold is 300W to 750W, and the second threshold is 15W to 150W.
[0036] In this embodiment, as Figure 3 As shown, without considering load fluctuations, the predicted power value of the electricity meter equals the latched power value plus the difference between the current inverter power and the latched inverter power. For ease of understanding, this will be expressed by a specific expression below:
[0037] P pre =P meterlock +(P inv -Pinvlock ).
[0038] Among them, P pre P represents the predicted power consumption of the electricity meter. meterlock P represents the power of the latched meter. inv P represents the current inverter power. invlock This indicates the latched inverter power.
[0039] To facilitate understanding, the meter data prediction process will be described in detail below with specific parameters. Since there are many rounds of meter data prediction required within the meter's communication cycle, to simplify the description, the first four rounds of meter data prediction will be used as an example. For instance... Figure 2 As shown, the first threshold can be 500W, and the second threshold can be 50W; the power sent by the meter to the backend system at the beginning of the communication cycle can be set as P0, and the initial inverter power is P. inv-0 .
[0040] If the meter power collected during the first round of meter data prediction is P = P0 + 200W, and the inverter power is P inv =P inv-0 +ΔP1. The power P recorded at this point in the previous meter reading. pre That is, the power P0 sent by the meter to the back-end system, then |PP pre If |=200W < 500W, the target power data latch mode can be entered. Because |PP pre If |=200W>50W, the historically latched target power data needs to be updated using the current meter power and inverter power, i.e., P meterlock =P0+200W, P invlock = P inv-0 +ΔP1. After updating the historical latched target power data, the current meter power prediction value P can be calculated. pre Perform the calculation, P pre =P meterlock +(P inv -P invlock ) = P0 + 200W. After completing the meter's power prediction value P pre The recorded power of the electricity meter can be updated after the calculation.
[0041] If the meter power collected during the second round of meter data prediction is P = P0 + 800W, and the inverter power is P inv =P inv-0 +ΔP2. The power prediction value P recorded at this time from the previous round of meter readings. pre If P0 + 200W, then |PP preIf |=600W>500W, the current meter power prediction value P can be directly obtained. pre Perform the calculation. At this point, P... meterlock = P0 + 200W, P invlock = P inv-0 +ΔP1. Then P pre =P meterlock +(P inv -P invlock The power prediction value P is calculated as P0 + 200W + (ΔP2 - ΔP1). pre After calculation, the recorded power P of the electricity meter can be used to determine the power. pre Update.
[0042] If the meter power collected during the third round of meter data prediction is P = P0 + 200W + (ΔP2 - ΔP1) + 200W, and the inverter power is P inv =P inv-0 +ΔP3. The recorded power prediction value P from the previous round of meter readings. pre If P0 + 200W + (ΔP2 - ΔP1), then |PP pre If |=200W>500W, the target power data latch mode can be entered. Because |PP pre If |=200W>50W, the historically latched target power data needs to be updated using the current meter power and inverter power, i.e., P meterlock =P0 + 400W + (ΔP2 - ΔP1), P invlock =P inv-0 +ΔP3. After updating the historical latched target power data, the current meter power prediction value P can be calculated. pre Perform the calculation, P pre =P meterlock +(P inv -P invlock The power prediction value P is calculated as P0 + 400W + (ΔP2 - ΔP1). pre After calculation, the recorded power P of the electricity meter can be used to determine the power. pre Update.
[0043] If the meter power collected during the fourth round of meter data prediction is P = P0 + 400W + (ΔP2 - ΔP1) + 20W, and the inverter power is P inv =P inv-0 +ΔP4. The recorded power prediction value P from the previous round of meter readings. pre If P0 + 400W + (ΔP2 - ΔP1), then |PP pre If |=20W < 500W, the target power data latch mode can be entered. Because |PPpre Since |=20W<50W, there is no need to update the historically latched target power data, i.e., P meterlock =P0 + 400W + (ΔP2 - ΔP1), P invlock =P inv-0 +ΔP3. Based on the above parameters, the current meter power value P can be predicted. pre Perform the calculation, P pre =P meterlock +(P inv -P invlock The power prediction value P is calculated as P0 + 400W + (ΔP4 - ΔP3). pre After calculation, the recorded power P of the electricity meter can be used to determine the power. pre Update.
[0044] It is important to note that when updating the latched target power data, there may be instances where the change in meter power data collected in multiple real-time rounds compared to the previous round is less than the second threshold. This means that the historically latched target power data will not be triggered for an extended period. However, inverter power may experience continuous shifts due to slow changes in temperature or irradiance, eventually leading to a widening discrepancy between the predicted and actual meter power values, ultimately triggering over-limit power in the feeder network or malfunctioning protection systems. Therefore, when latching target power data, a duration determination mechanism needs to be implemented for updating the latched target power data. For ease of understanding, this will be described in detail below.
[0045] In this embodiment, as Figure 2 As shown, the process of latching the target power data at the current moment is as follows: During the continuous prediction of meter data, a time counter is set; the time counter is accumulated while the historically latched target power data remains unchanged, and is reset to zero when the historically latched target power data is updated. If the accumulated value of the time counter is t... c If the target power exceeds the set third threshold t0, the historical latched target power data is updated using the current inverter power and meter power.
[0046] It is understandable that there are multiple ways to accumulate time count values. For ease of understanding, two specific methods will be described in detail below.
[0047] Method 1: The time count value can be accumulated over the duration predicted by a single meter reading; assuming the duration predicted by a single meter reading is T, then t c =∑T.
[0048] It is understandable that the value of the third threshold t0 can be selected according to the actual needs of those skilled in the art. For example, the value of the third threshold can be 10% to 30% of the communication cycle of the electricity meter. Generally speaking, the communication cycle of the electricity meter is 600ms, so the value of the third threshold t0 is 60ms to 180ms.
[0049] Method 2: The time count value is incremented by 1 while the historically latched target power data remains unchanged, then t c =∑1.
[0050] It is understandable that the value of the third threshold t0 can be selected according to the actual needs of those skilled in the art, for example, the value of the third threshold can be 50~200.
[0051] Another aspect of this application provides an electronic device, in one preferred embodiment of which includes a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program to implement the above-described method for predicting electricity meter data.
[0052] Another aspect of this application provides a computer-readable storage medium, in a preferred embodiment of which a computer program is stored on the storage medium; when the computer program is executed by a processor, it implements the above-described method for predicting electricity meter data.
[0053] The basic principles, main features, and advantages of this application have been described above. Those skilled in the art should understand that this application is not limited to the above embodiments. The embodiments and descriptions in the specification are merely the principles of this application. Various changes and modifications can be made to this application without departing from its spirit and scope, and all such changes and modifications fall within the scope of the claims. The scope of protection claimed by this application is defined by the appended claims and their equivalents.
Claims
1. A method for predicting meter data, implemented in a communication cycle of a meter, comprising: The multiple rounds of electric meter data prediction process are repeatedly performed in a communication cycle of the electric meter, and a single round of electric meter data prediction process comprises the following steps: a last round of electric meter power prediction value is recorded and compared with the electric meter power collected at the current time; if the absolute difference between the two is greater than a set first threshold value, the electric meter power prediction value of the current round is calculated according to the historical latched target power data and the collected inverter power at the current time; if the absolute difference between the two is less than or equal to the set first threshold value, the historical latched target power data is updated by the current electric meter power and inverter power, and the electric meter power prediction value of the current round is calculated based on the current latched target power data; without considering the load fluctuation, the electric meter power prediction value is equal to the latched electric meter power plus the difference between the current inverter power and the latched inverter power.
2. The method of claim 1, wherein, The process of latching the target power data at the current time is: if the absolute difference between the last round of electric meter power prediction value and the electric meter power collected at the current time is greater than a set second threshold value, the historical latched target power data is updated based on the current inverter power and electric meter power; otherwise, the historical latched target power data remains unchanged; wherein the second threshold value is less than the first threshold value.
3. The method of claim 2, wherein, The value of the first threshold value is 2% to 5% of the rated power of the inverter; the value of the second threshold value is 5% to 20% of the first threshold value.
4. The method of claim 1, wherein, The process of latching the target power data at the current time is: in the process of continuously performing electric meter data prediction, a time count value is set; the time count value is accumulated when the historical latched target power data remains unchanged, and the time count value is cleared when the historical latched target power data is updated; if the accumulated value of the time count value exceeds a set third threshold value, the historical latched target power data is updated by the current inverter power and electric meter power.
5. The method of claim 4, wherein, The time count value is suitable for accumulating the duration of a single electric meter data prediction; the value of the third threshold value is 10% to 30% of the electric meter communication cycle.
6. The method of claim 4, wherein, The time count value is accumulated by 1 when the historical latched target power data remains unchanged; the value of the third threshold value is 50 to 200.
7. The method of claim 1, wherein, The interval time between adjacent two rounds of electric meter data prediction process is 0 to 5% of the electric meter communication cycle.
8. An electronic device, comprising: The storage medium has a computer program stored thereon; when the computer program is executed by the processor, the electric meter data prediction method according to any one of claims 1-7 is implemented.
9. A computer-readable storage medium, characterized in that, The storage medium has a computer program stored thereon; when the computer program is executed by the processor, the electric meter data prediction method according to any one of claims 1-7 is implemented.
Citation Information
Patent Citations
Model prediction current control method based on NPC topology grid connected inverter under asymmetric voltage
CN105375804A
Inverter adjusting method and device and power supply control system
CN121055491A