Time calibration method, device, equipment and storage medium for electric energy meter
Through in-depth analysis and automated calibration of electric energy data, the problems of time drift and inaccurate measurement of electric energy meters are solved, and the accuracy of electricity bill calculations and the safety and economy of the power system are improved.
Patent Information
- Application Number
- CN202410837971.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-06-26
AI Technical Summary
Electric energy meters often face time drift problems, and existing anomaly detection mechanisms rely on simple threshold judgments, resulting in incorrect calculations of electricity bills and inaccurate measurement.
By obtaining electric energy data, perform data analysis and integration, combine positioning data and cost data for anomaly detection, calculate time drift, automatically calibrate the electric energy meter clock and billing parameters, and generate calibration logs to ensure the time accuracy and measurement of the electric energy meter. Accuracy.
It improves the accuracy of electric energy measurement, reduces billing errors, promptly detects potential power theft or equipment failures, shortens the calibration cycle, reduces operation and maintenance costs, and ensures the standardization and consistency of calibration operations.
Smart Images

Figure CN118393423B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric energy meters, and in particular to a time calibration method, device, equipment and storage medium for an electric energy meter. Background Art
[0002] With the increasing popularity of smart grids and remote meter reading systems, the accuracy and time synchronization of electric energy meters, as the basic equipment for electricity metering, are crucial for electricity bill settlement, power quality management, and efficient operation of power systems. However, current electric energy meters often face time drift problems, and most existing abnormality detection mechanisms for electric energy meters rely on simple threshold judgments. Summary of the invention
[0003] The main purpose of the present invention is to provide a time calibration method, device, equipment and storage medium for an electric energy meter, which can effectively solve the time drift, improve the time accuracy of the electric energy meter, and make a comprehensive judgment on the electric energy data set, reduce electricity fee calculation errors and improve accuracy.
[0004] To achieve the above object, the present invention provides a time calibration method for an electric energy meter, comprising:
[0005] Acquire electric energy data from the electric energy meter, perform data analysis on the electric energy data, obtain electric energy consumption data, electric energy meter time and location data, and store the electric energy consumption data, electric energy meter time and location data in a historical database;
[0006] Calculating the electricity charges for the electricity consumption data to obtain charge data, and performing abnormality detection on the electric energy meter according to the positioning data, the charge data and the meter time to obtain a detection result;
[0007] Performing data analysis on the test results to obtain calibration data, establishing a control connection with the electric energy meter, calibrating the electric energy meter according to the calibration data, generating a calibration log and uploading it to a historical database;
[0008] The state of the calibrated electric energy meter is verified, and when the operating state of the electric energy meter does not meet the calibration requirements, the electric energy meter is recalibrated.
[0009] Further, the data analysis of the electric energy data to obtain the power consumption data, the meter time and the positioning data, and storing the power consumption data, the meter time and the positioning data in the historical database includes:
[0010] Extracting the electric energy data to obtain an electric meter identifier, current data, voltage data, power data, frequency data, peak power consumption period, off-peak power consumption period, total power consumption, real-time electric meter time, and the positioning data, integrating the current data, voltage data, power data, frequency data, and total power consumption to obtain the electric power consumption data, and integrating the peak power consumption period, off-peak power consumption period, and real-time electric meter time into the electric meter time;
[0011] sequentially marking the electricity consumption data, the electricity meter time, and the positioning data with an electricity meter identifier;
[0012] Inputting the electric meter identifier into the historical database for storage area matching to obtain the corresponding electric meter storage area, and storing the positioning data and the electric meter time in the electric meter storage area;
[0013] The electricity consumption data are sorted in chronological order, and the difference value of two consecutive electricity consumption data at adjacent time points is calculated, and the electricity consumption data and the difference value which are first in chronological order are marked with electric energy identifiers in turn and stored in the electricity meter storage area, and when it is necessary to extract the electricity consumption data at each time point from the historical database, the electricity consumption data at each time point can be restored by accumulating the difference values one by one;
[0014] The calculation formula of the difference value is:
[0015] Difference value = electricity consumption data (time point + 1) - electricity consumption data (time point).
[0016] Furthermore, the electricity fee calculation is performed on the electricity usage data to obtain fee data, including:
[0017] Perform type analysis based on the positioning data and the electricity usage data to obtain a corresponding electricity usage type, and obtain a corresponding billing plan based on the electricity usage type. When the electricity usage type is a residential type, obtain a corresponding residential billing plan; when the electricity usage type is a commercial type, obtain a corresponding commercial billing plan; when the electricity usage type is an industrial type, obtain a corresponding industrial billing plan;
[0018] The electricity charges are calculated for the electricity usage data according to the charging scheme to obtain the corresponding charge data, and the charge data is stored in the historical database.
[0019] Further, the abnormality detection of the electric energy meter is performed based on the positioning data, the cost data and the electric energy meter time to obtain the detection result, including:
[0020] Extracting historical expense data from the historical database, comparing the expense data with the historical expense data, determining whether the expense data has significant deviations, and generating abnormal consumption information when there are significant deviations;
[0021] Verify whether the actual installation location of the electric energy meter is consistent with the registered address according to the positioning data, and generate abnormal geographic information when it is inconsistent with the registered address;
[0022] Determine the time zone standard time of the electric energy meter according to the positioning data, judge whether the meter time exceeds a preset time drift threshold according to the time zone standard time, and generate time drift information when it exceeds the time drift threshold;
[0023] When no abnormality is detected, a detection result indicating normal operation is generated; when at least one abnormality is detected, a detection result including corresponding abnormality information is generated.
[0024] Further, the data analysis of the detection results to obtain calibration data includes:
[0025] Performing information analysis and extraction on the detection result, when the extracted abnormal information is single abnormal information, performing single information analysis on the abnormal information to obtain an abnormality processing scheme, performing data processing conversion on the abnormality processing scheme to obtain corresponding single abnormality calibration data;
[0026] When the abnormal information extracted through analysis is the abnormal consumption information and the abnormal geographic information, an error analysis is performed on the billing function of the electric energy meter in combination with the abnormal consumption information and the abnormal geographic information. When the billing function is a hardware error, a corresponding hardware processing solution is generated and sent to a corresponding hardware processing mechanism; when the billing function is a software error, corresponding software calibration data is generated;
[0027] When the abnormal information extracted through analysis is the abnormal geographic information and the time drift information, the electric energy meter is subjected to time series analysis to obtain sequence analysis data, all the sequence analysis data Xt are averaged to obtain average sequence data, the sequence analysis data and the average sequence data are cross-calculated to obtain a cross value, the maximum value in the cross value is set as the time drift amount, and each time point of the sequence analysis data is adjusted based on the time drift amount to generate corresponding time calibration data;
[0028] The formula for calculating the average sequence data is: a = X t ;
[0029] The cross calculation formula for calculating the time drift is:
[0030] Rxx(k) = (X t -X a )(X t+k -Xa ) / (X t -X a ) 2 ;
[0031] The formula for adjusting the time point according to the time drift is: t*= tr;
[0032] Among them, X a is the average sequence data; X t is the sequence analysis data; n is the length of the observed reading sequence at the time point; t is the time point, t=1, 2, ..., n; Rxx(k) is the crossover value; the time drift is r; the adjusted time point is t*; k is the unit time interval value of the time point; X t+k Represents the value of the sequence analysis data at k unit time intervals after time point t.
[0033] Furthermore, the electric energy meter establishes a control connection, performs data calibration on the electric energy meter according to the calibration data, generates a calibration log and uploads it to a historical database, including:
[0034] Establishing a communication connection with the electric energy meter through a communication network, sending a control instruction to the electric energy meter for identity authentication, and when the authentication is passed, performing instruction matching analysis on the calibration data to obtain a corresponding calibration instruction, sending the calibration data and the calibration instruction to the electric energy meter, and after being transmitted to the electric energy meter, controlling the electric energy meter according to the type of the calibration instruction;
[0035] When the calibration instruction is a time calibration instruction, the real-time clock time of the electric energy meter is read, the time deviation of the real-time clock time is calculated according to the calibration data to obtain the deviation time, the clock of the electric energy meter is verified according to the deviation time to obtain the clock data, the clock parameters of the electric energy meter are adjusted according to the calibration data, and after the parameter adjustment is completed, a corresponding clock system calibration log is generated in combination with the clock data;
[0036] When the calibration instruction is a billing calibration instruction, the metering data of the electric energy meter is read, the deviation of the metering data is calculated according to the calibration data to obtain the deviation data, the accuracy of the electric energy meter is detected in combination with the deviation data to obtain the billing data, the billing parameters of the electric energy meter are adjusted according to the calibration data, and after the complete parameter adjustment, the corresponding billing system calibration log is generated in combination with the billing data;
[0037] The meter calibration log sent by the electric energy meter after the calibration is completed is received through the communication network, the system calibration log and the meter calibration log are integrated and processed, and stored in the historical database.
[0038] Furthermore, the state of the calibrated electric energy meter is verified, and when the operating state of the electric energy meter does not meet the calibration requirements, the electric energy meter is recalibrated, including:
[0039] After the calibration is completed, the operating status data of the electric energy meter is obtained within a preset verification period, the operating status data is analyzed to obtain status analysis data, and it is determined whether the status analysis data meets the calibration requirements. If not, the electric energy meter is recalibrated.
[0040] The present invention also provides a time calibration device for an electric energy meter, comprising:
[0041] An acquisition module, the acquisition module is used to acquire electric energy data of the electric energy meter, perform data analysis on the electric energy data, obtain power consumption data, electric meter time and positioning data, and store the power consumption data, electric meter time and positioning data in a historical database;
[0042] A detection module, the detection module is used to calculate the electricity fee for the electricity consumption data to obtain fee data, and to perform abnormality detection on the electric energy meter according to the positioning data, fee data and the meter time to obtain a detection result;
[0043] The processing module is used to perform data analysis on the detection results, obtain calibration data, establish a control connection with the electric energy meter, perform data calibration on the electric energy meter according to the calibration data, generate a calibration log and upload it to a historical database;
[0044] A control module is used to verify the status of the calibrated electric energy meter, and when the operating status of the electric energy meter does not meet the calibration requirements, recalibrate the electric energy meter.
[0045] The present invention also provides a time calibration device for an electric energy meter, comprising:
[0046] Memory, used to store programs;
[0047] The processor is used to execute the program to implement each step of the time calibration method for an electric energy meter described in any one of the above.
[0048] The present invention also provides a storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute any of the above methods.
[0049] The present invention provides the following beneficial effects:
[0050] The present invention obtains the power consumption mode, meter time and geographic location information through in-depth analysis of electric energy data, and uses these data to calculate electricity charges and detect anomalies, thereby ensuring the accuracy of electric energy metering and reducing billing errors caused by time asynchrony or data misreading. The anomaly detection combined with positioning data and cost data can more accurately identify the abnormal working state of the electric energy meter, including but not limited to time deviation, illegal operation, etc., timely discover potential power theft or equipment failure, and improve the safety and economy of the power system. Automated calibration data generation and control connection establishment enable the time calibration process of the electric energy meter to be completed quickly without human intervention, greatly shortening the calibration cycle, reducing operation and maintenance costs, and ensuring the standardization and consistency of calibration operations. The verification process of the electric energy meter status after calibration ensures the effectiveness of the calibration effect. Once it is found that the calibration still does not meet the requirements, recalibration is immediately triggered, forming a closed-loop self-adjustment mechanism to continuously optimize the reliability and stability of electric energy metering. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 A flow chart of a time calibration method for an electric energy meter is provided for the present invention;
[0052] Figure 2 The present invention provides a structural diagram of a time calibration device for an electric energy meter;
[0053] Figure 3 The present invention provides a structural diagram of a time calibration device for an electric energy meter.
[0054] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0056] The present invention is further described below in conjunction with the accompanying drawings and specific implementation methods.
[0057] Reference Figure 1 As shown, the present invention provides a time calibration method for an electric energy meter, comprising:
[0058] Step S1: Acquire electric energy data of the electric energy meter, perform data analysis on the electric energy data, obtain power consumption data, electric energy meter time and positioning data, and store the power consumption data, electric energy meter time and positioning data in a historical database;
[0059] Step S2: Calculate the electricity charges for the electricity consumption data to obtain the charge data, and perform abnormality detection on the electric energy meter based on the positioning data, the charge data and the meter time to obtain the detection result;
[0060] Step S3: Analyze the test results to obtain calibration data, establish a control connection with the electric energy meter, calibrate the electric energy meter according to the calibration data, generate a calibration log and upload it to the historical database;
[0061] Step S4: verify the status of the calibrated electric energy meter. When the operating status of the electric energy meter does not meet the calibration requirements, recalibrate the electric energy meter.
[0062] Based on the above steps, the detailed process is as follows:
[0063] Step S1: Periodically collect information from the electric energy meter through remote communication technology (such as GPRS, Bluetooth, Wi-Fi or power line carrier communication, etc.) Process the raw electric energy data to separate the power consumption (such as kilowatt-hour kWh), the timestamp of the built-in clock of the electric energy meter, and the geographical location information obtained through positioning.
[0064] The processed electricity consumption data, meter timestamp and location data are packaged and saved in the cloud or local historical database.
[0065] Step S2: Integrate and deepen the processing of electricity consumption data to ensure the accuracy of electricity fee calculation, and simultaneously check the rationality of the data and the compliance status of the equipment. According to the local electricity pricing policy, including peak and valley electricity prices, tiered electricity prices and other factors, the collected electricity consumption data is carefully calculated for electricity fees. Subsequently, using geographic information system (GIS) technology, the geographical location reported by the electricity meter is compared with its preset installation address to identify whether there are any violations such as meter relocation.
[0066] Next, the power consumption pattern is analyzed to identify abnormal energy consumption, such as a sudden surge in power consumption, which may indicate leakage, equipment failure or illegal power consumption. At the same time, by comparing the timestamp of the meter's embedded clock with the authoritative time server, the meter time is diagnosed to be accurately synchronized to prevent billing errors caused by time deviation. For all non-compliant or abnormal situations found, such as abnormal electricity fee calculation, geographical location mismatch, abnormal energy consumption pattern or time synchronization problems, the system automatically generates a detailed detection report to clearly mark these problems.
[0067] Step S3: Perform root cause analysis for each detected anomaly (such as time offset, metering error). This includes reviewing historical data trends, considering external factors (such as seasonal changes, special events), and verifying the status of device hardware. Through data analysis, determine whether immediate calibration is required or whether there is external interference. Ensure that all remote calibration operations are performed through encrypted, industry-compliant communication protocols, such as TLS / SSL, to protect security and privacy during data transmission. Perform authentication and authorization steps before establishing a secure connection with the energy meter to prevent unauthorized access.
[0068] Obtain accurate time signals from standard time sources such as international atomic clocks or GPS, and adjust the internal clock of the energy meter through remote commands to ensure synchronization with standard time.
[0069] If a measurement error is found, it is necessary to send corresponding calibration instructions to adjust the measurement parameters, such as the transformation ratio correction of the current transformer, according to the calibration procedures provided by the equipment manufacturer or the national measurement standards to ensure the measurement accuracy.
[0070] During the entire calibration process, record each operation step, the calibration data used, the status before and after adjustment, and the final result. This information constitutes the calibration log, which should include key information such as date, time, operator, measures taken, meter ID, abnormal details and solutions. After completing the calibration, immediately upload the calibration log to the cloud or local historical database to ensure the data is tamper-proof and traceable.
[0071] Step S4: Within a certain period after the electric energy meter is calibrated, its working status is checked again, including clock accuracy, communication function and metering performance, etc. If it is found that there are still problems with the electric energy meter (such as incorrect time synchronization, other configuration errors, etc.), the recalibration process is automatically triggered, and the calibration steps are repeated until all indicators of the electric energy meter meet the specified requirements.
[0072] The present invention provides a time calibration method for an electric energy meter, which obtains the power consumption mode, meter time and geographical location information through in-depth analysis of electric energy data, and uses these data to calculate electricity charges and detect anomalies, thereby ensuring the accuracy of electric energy metering and reducing billing errors caused by time asynchrony or data misreading. The anomaly detection combined with positioning data and cost data can more accurately identify the abnormal working state of the electric energy meter, including but not limited to time deviation, illegal operation, etc., timely discover potential electricity theft or equipment failure, and improve the safety and economy of the power system. Automated calibration data generation and control connection establishment enable the time calibration process of the electric energy meter to be completed quickly without manual intervention, greatly shortening the calibration cycle, reducing operation and maintenance costs, and ensuring the standardization and consistency of calibration operations. The verification process of the electric energy meter status after calibration ensures the effectiveness of the calibration effect. Once it is found that the calibration still does not meet the requirements, recalibration is immediately triggered, forming a closed-loop self-adjustment mechanism to continuously optimize the reliability and stability of electric energy metering.
[0073] In one embodiment, data analysis is performed on electric energy data to obtain power consumption data, meter time and location data, and the power consumption data, meter time and location data are stored in a historical database, including:
[0074] Data extraction is performed on electric energy data to obtain meter identifiers, current data, voltage data, power data, frequency data, peak power consumption periods, off-peak power consumption periods, total power consumption, real-time meter time and positioning data; the current data, voltage data, power data, frequency data and total power consumption are integrated to obtain power consumption data; the peak power consumption periods, off-peak power consumption periods and real-time meter time are integrated into meter time.
[0075] The electricity consumption data, the meter time and the location data are sequentially marked with the meter identifier;
[0076] Input the meter identifier into the history database for storage area matching, obtain the corresponding meter storage area, and store the positioning data and meter time in the meter storage area;
[0077] The electricity consumption data is sorted in chronological order, and the difference value of two consecutive electricity consumption data at adjacent time points is calculated. The electricity consumption data and the difference value that are the first in the chronological order are marked with electric energy identifiers in turn and stored in the electricity meter storage area. When the electricity consumption data at each time point needs to be extracted from the historical database, the electricity consumption data at each time point can be restored by accumulating the difference values one by one;
[0078] The calculation formula of the difference value is:
[0079] Difference value = electricity consumption data (time point + 1) - electricity consumption data (time point).
[0080] For example:
[0081] Assume that there is an electric meter with an identifier of "EB001" and the records on a certain day are as follows:
[0082] Time point 1: 8:00, electricity consumption data is 200kWh, meter time is 8:00:00, and positioning data is "longitude 1120.56, latitude 30.25".
[0083] Time point 2: 9:00, the electricity consumption data is 25kWh, the meter time is 9:00:00, and the positioning data remains unchanged.
[0084] The current, voltage, and power data are integrated to obtain the power consumption data. For example, assuming that 20 kWh is the peak power multiplied by time, the meter time at two time points is integrated into "8:00-9:00".
[0085] The difference value is calculated and stored: difference value = 25kWh - 20kWh = 5kWh.
[0086] The electricity consumption data (20 kWh) at the first time point of "EB001" and the difference value 5 kWh are stored in the database area corresponding to the electricity meter.
[0087] If you need to query the electricity consumption data at 9:30, you do not need to store it separately, but accumulate the difference value: 20kWh + 5kWh *1 (the time span from 8:00 to 9:00) = 25kWh, which is the estimated electricity consumption data at 9:30.
[0088] This embodiment integrates and processes the original electric energy data, extracts key information (such as current, voltage, power, frequency, and power consumption period, etc.), and integrates these data into "power consumption data", thereby reducing the demand for storage space and improving the efficiency of data processing and storage. In particular, by calculating the differential value of the power consumption data at consecutive time points for storage, the storage demand is further greatly reduced, because only the first data and the differential sequence need to be stored, rather than the complete data record at each time point. By matching the meter identifier and the meter storage area, the orderly archiving and rapid positioning of the data are achieved. When the data of a specific meter needs to be queried, the corresponding data storage area can be directly found according to the meter identifier, which speeds up the data retrieval speed. At the same time, since the data is arranged in chronological order and the differential value is recorded, the complete power consumption data sequence can be quickly accumulated from any time point to restore the differential, which improves the flexibility and accuracy of data retrieval. The integrated meter time information includes peak power consumption period and valley power consumption period. Combined with the real-time meter time, the efficiency and abnormal conditions of power use can be more accurately evaluated, such as power consumption behavior during abnormal peak and valley periods.
[0089] In one embodiment, electricity charges are calculated based on the electricity consumption data to obtain charge data, including:
[0090] Perform type analysis based on positioning data and electricity consumption data to obtain the corresponding electricity consumption type, and obtain the corresponding billing plan based on the electricity consumption type. When the electricity consumption type is residential (usually a tiered electricity price is adopted, that is, the price is divided into sections according to the electricity consumption, and the more the consumption, the higher the unit price may be), obtain the corresponding residential billing plan. For example, assuming that the electricity price for 0-300 kWh in the first stage is 0.5 yuan / kWh, the electricity price for 301-500 kWh in the second stage is 0.6 yuan / kWh, and so on.
[0091] When the electricity usage type is commercial (a fixed rate may be adopted or different rates may be adopted according to the business activity time, such as during and outside business hours), obtain the corresponding commercial billing plan, for example, the electricity price during business hours is 1 yuan / kWh, and the electricity price during non-business hours is 0.6 yuan / kWh.
[0092] When the electricity consumption type is industrial (there may be complex billing rules based on factors such as electricity consumption and peak demand, and may also include basic electricity charges and demand electricity charges), obtain the corresponding industrial billing plan, for example, the basic electricity charge is 1,000 yuan per month, and the demand charge rate per kilowatt is 0.2 yuan / kilowatt.
[0093] The electricity charges are calculated based on the billing plan to obtain the corresponding charge data, and the charge data is stored in the historical database. For example, for residential users, the electricity consumption of each stage is calculated first, then multiplied by the corresponding unit price, and the total electricity charge is accumulated. For example, the electricity consumption data of residential users this month is as follows:
[0094] 0-300 degrees: 250kWh, the first stage of electricity fee: 250kWh * 0.5 yuan / kWh = 125 yuan;
[0095] 301-500 degrees: 150kWh, the second stage electricity fee: 150kWh * 0.6 yuan / kWh = 90 yuan;
[0096] Above 501 degrees: 100kWh, the third stage of electricity charges: 100kWh * higher-level electricity price (assuming 0.8 yuan / kWh) = 80 yuan.
[0097] Total electricity bill = 125 yuan + 90 yuan + 80 yuan = 295 yuan.
[0098] For commercial and industrial users, it may also be necessary to consider different electricity prices during peak and valley periods, demand charges, etc., and calculate and summarize them separately.
[0099] This embodiment can more accurately reflect the electricity costs and affordability of different user groups by performing differentiated billing based on electricity usage types (residential, commercial, and industrial), ensuring fairness in billing. The use of positioning data enables electricity fee calculation to be combined with regional characteristics, taking into account factors such as power supply costs, grid loads, and energy policies in different regions, which helps to manage resources more scientifically, optimize grid structure, and improve overall operational efficiency.
[0100] In one embodiment, an abnormality detection is performed on the electric energy meter according to the positioning data, the cost data and the electric energy meter time, and a detection result is obtained, including:
[0101] Historical expense data (such as the same period last year and the same period last month) is extracted from the historical database, and the expense data is compared with the historical expense data of the same period through statistical analysis methods to determine whether there is a significant deviation in the expense data. When there is a significant deviation, abnormal consumption information is generated.
[0102] Verify whether the actual installation location of the electric energy meter is consistent with the registered address based on the positioning data. If it is inconsistent with the registered address, generate abnormal geographic information containing specific deviations. The registered address includes the address registered by the system and the initial installation address.
[0103] Determine the standard time of the time zone where the electric energy meter is located based on the positioning data, and judge whether the electric energy meter time exceeds the preset time drift threshold according to the standard time of the time zone. When the time drift threshold is exceeded, generate time drift information including time asynchrony problem;
[0104] When no abnormality is detected, a detection result indicating normal operation is generated; when at least one abnormality is detected, a detection result including corresponding abnormality information is generated.
[0105] For example: Assume that the current status of user B's electric energy meter is as follows:
[0106] Comparison of cost data: The electricity bill for the current month is 450 yuan, while the average electricity bill for the same period in history is 300 yuan, with a standard deviation of 50 yuan. Calculation shows that the current electricity bill exceeds the historical average by more than 2 standard deviations, which indicates a significant deviation. Because the cost data deviates significantly from the historical average, "abnormal consumption information" is generated.
[0107] Location verification: The positioning data shows that the electric energy meter is actually located at the longitude and latitude (31.2304° N, 121.4737° E), and the system registered address is Room 501, Building A, a residential area in Shanghai. The map API confirms that the actual location deviation is 30 meters, which does not exceed the allowable error. The geographic location deviation does not meet the abnormal standard, and there is no need to generate abnormal information.
[0108] Time synchronization check: The meter time is displayed as 2023-04-15 14:35, while the current standard time in the Shanghai time zone is 14:48. The time difference is 13 minutes, which exceeds the threshold of 15 minutes. The meter time is not synchronized with the standard time, generating "time drift information".
[0109] This embodiment can more accurately identify various abnormal conditions of the electric energy meter through comprehensive analysis of positioning data, cost data and meter time, reduce the probability of false alarms and missed alarms, and improve the accuracy of abnormality detection. Through geographic location verification, the accuracy and fairness of electric energy metering are ensured, which is conducive to the rational planning of power resource allocation and the improvement of energy utilization efficiency. For electric meters with abnormal locations, they can be quickly located and corresponding measures can be taken to reduce unnecessary operation and maintenance costs.
[0110] In one embodiment, data analysis is performed on the detection results to obtain calibration data, including:
[0111] Information analysis and extraction are performed on the detection results. When the extracted abnormal information is single abnormal information (such as only time drift information), single information analysis is performed on the abnormal information to obtain an abnormality processing plan, and data processing conversion is performed on the abnormality processing plan to obtain corresponding single abnormality calibration data.
[0112] When the abnormal information extracted through analysis is abnormal consumption information and abnormal geographic information, the billing function of the electricity meter is subjected to error analysis in combination with the abnormal consumption information and abnormal geographic information. When the billing function is a hardware error, a corresponding hardware processing solution is generated and sent to the corresponding hardware processing mechanism; when the billing function is a software error, corresponding software calibration data is directly generated to correct the error of the billing software.
[0113] When the abnormal information extracted through analysis is abnormal geographic information and time drift information, the electric energy meter is subjected to time series analysis, all the sequence analysis data Xt are averaged to obtain the average sequence data, the sequence analysis data and the average sequence data are cross-calculated to obtain the cross value, the maximum value in the cross value is set as the time drift, and each time point of the sequence analysis data is adjusted based on the time drift to generate the corresponding time calibration data.
[0114] The formula for calculating the average sequence data is: a = X t .
[0115] The cross calculation formula for calculating the time drift is:
[0116] Rxx(k) = (X t -X a )(Xt+k -X a ) / (X t -X a ) 2 .
[0117] The formula for adjusting the time point according to the time drift is: t*= tr;
[0118] Among them, X a is the average sequence data; X t is the sequence analysis data; n is the length of the observed reading sequence at the time point; t is the time point, t=1, 2, ..., n; Rxx(k) is the crossover value; the time drift is r; the adjusted time point is t*; k is the unit time interval value of the time point; X t+k Represents the value of the sequence analysis data at k unit time intervals after time point t.
[0119] This embodiment can more accurately identify different types of abnormal information by performing detailed classification and analysis on the detection results, reduce the possibility of misjudgment, and ensure the pertinence and effectiveness of subsequent processing measures. By quickly responding to and processing single abnormal information and compound abnormal information, functional errors of the electric energy meter can be corrected in a timely manner, effectively avoiding unstable system operation or billing errors caused by untimely processing. For billing function errors caused by software or hardware, by providing a clear response strategy, software errors can be directly adjusted through calibration data, and hardware errors initiate a maintenance process. These measures jointly ensure the accuracy of electric energy metering.
[0120] In one embodiment, the electric energy meter establishes a control connection, performs data calibration on the electric energy meter according to the calibration data, generates a calibration log and uploads it to a historical database, including:
[0121] A communication connection is established with the electric energy meter through the communication network, and a control instruction is sent to the electric energy meter for identity authentication. After receiving the control instruction, the electric energy meter uses a preset security algorithm and key to verify the identity of the control instruction.
[0122] When the verification is passed, the calibration data is subjected to instruction matching analysis to obtain the corresponding calibration instruction, and the calibration data and the calibration instruction are sent to the electric energy meter. After being transmitted to the electric energy meter, the electric energy meter is controlled according to the type of the calibration instruction.
[0123] When the calibration instruction is a time calibration instruction, the real-time clock time of the electric energy meter is read, the time deviation of the real-time clock time is calculated based on the calibration data to obtain the deviation time, the clock of the electric energy meter is verified according to the deviation time to obtain the clock data, the clock parameters of the electric energy meter are adjusted based on the calibration data, and after the parameter adjustment is completed, the corresponding clock system calibration log is generated in combination with the clock data.
[0124] When the calibration instruction is a billing calibration instruction, the metering data of the electric energy meter is read, the deviation of the metering data is calculated based on the calibration data to obtain the deviation data, the accuracy of the electric energy meter is tested in combination with the deviation data to obtain the billing data, the billing parameters of the electric energy meter are adjusted according to the calibration data, and after the complete parameter adjustment, the corresponding billing system calibration log is generated in combination with the billing data.
[0125] The meter calibration log sent by the electric energy meter after the calibration is completed is received through the communication network, the system calibration log and the meter calibration log are integrated and processed, and stored in the historical database.
[0126] This embodiment ensures the metering accuracy of the energy meter through regular remote data calibration, reducing electricity bill disputes caused by metering errors. The calibration process is based on accurate calibration data and instructions, ensuring the consistency and standardization of all energy meters. The remote control connection and automatic calibration process significantly reduce the demand for on-site operations, reduce human resource investment, and save transportation, labor and time costs. The identity authentication mechanism enhances the security of the communication process and prevents illegal access and operation.
[0127] In one embodiment, the state of the calibrated electric energy meter is verified, and when the operating state of the electric energy meter does not meet the calibration requirements, the electric energy meter is recalibrated, including:
[0128] After the calibration is completed, the operating status data of the electric energy meter is obtained within the preset verification period, the operating status data is analyzed to obtain the status analysis data, and it is determined whether the status analysis data meets the calibration requirements. If it does not meet the requirements, the electric energy meter is recalibrated and a recalibration log is generated containing the recalibration reason, adjustment details and results, and the recalibration log is stored in the historical database.
[0129] This embodiment ensures that the electric energy meter always maintains the best measurement accuracy through regular verification and timely recalibration, reduces measurement errors caused by equipment deviation, and ensures the fairness of the interests of users and power suppliers. The automated status monitoring and response mechanism can quickly identify and solve problems in the operation of the electric energy meter, improve the stability and reliability of the entire system, and reduce the risk of service interruption caused by equipment failure. Compared with traditional regular manual inspections, this dynamic calibration strategy can detect problems earlier and take measures, reduce the number of unnecessary on-site inspections, reduce operation and maintenance costs, and enable operation and maintenance resources to be more focused on situations that really require intervention.
[0130] Reference Figure 2 As shown, the present invention also provides a time calibration device for an electric energy meter, comprising:
[0131] An acquisition module is used to acquire electric energy data of an electric energy meter, perform data analysis on the electric energy data, obtain electric energy consumption data, electric energy meter time and positioning data, and store the electric energy consumption data, electric energy meter time and positioning data in a historical database;
[0132] The detection module is used to calculate the electricity fee based on the electricity consumption data to obtain the fee data, and to detect abnormalities on the electric energy meter based on the positioning data, fee data and meter time to obtain the detection result;
[0133] The processing module and the acquisition module are used to analyze the test results, obtain calibration data, establish a control connection with the electric energy meter, calibrate the electric energy meter according to the calibration data, generate a calibration log and upload it to the historical database;
[0134] The control module is used to verify the status of the calibrated electric energy meter. When the operating status of the electric energy meter does not meet the calibration requirements, the electric energy meter is recalibrated.
[0135] The present invention provides a time calibration method for an electric energy meter, which obtains the power consumption mode, meter time and geographical location information through in-depth analysis of electric energy data, and uses these data to calculate electricity charges and detect anomalies, thereby ensuring the accuracy of electric energy metering and reducing billing errors caused by time asynchrony or data misreading. The anomaly detection combined with positioning data and cost data can more accurately identify the abnormal working state of the electric energy meter, including but not limited to time deviation, illegal operation, etc., timely discover potential electricity theft or equipment failure, and improve the safety and economy of the power system. Automated calibration data generation and control connection establishment enable the time calibration process of the electric energy meter to be completed quickly without manual intervention, greatly shortening the calibration cycle, reducing operation and maintenance costs, and ensuring the standardization and consistency of calibration operations. The verification process of the electric energy meter status after calibration ensures the effectiveness of the calibration effect. Once it is found that the calibration still does not meet the requirements, recalibration is immediately triggered, forming a closed-loop self-adjustment mechanism to continuously optimize the reliability and stability of electric energy metering.
[0136] Reference Figure 3 As shown, the present invention also provides a time calibration device for an electric energy meter, comprising:
[0137] Memory, used to store programs;
[0138] The processor is used to execute the program to implement each step of the time calibration method for an electric energy meter described in any one of the above.
[0139] In this embodiment, the processor and the memory may be connected via a bus or other means. The memory may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk, or a solid-state drive. The processor may be a general-purpose processor, such as a central processing unit, a digital signal processor, an application-specific integrated circuit, or one or more integrated circuits configured to implement the embodiments of the present invention.
[0140] The present invention also provides a storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute any of the above methods.
[0141] It should be noted that technicians in the relevant technical field can clearly understand that for the convenience and conciseness of description, the specific working process of the system and each module described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0142] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A time calibration method for an electric energy meter, characterized in that: include: Acquire electric energy data from the electric energy meter, perform data analysis on the electric energy data, obtain electric energy consumption data, electric energy meter time and location data, and store the electric energy consumption data, electric energy meter time and location data in a historical database; Calculating the electricity charges for the electricity consumption data to obtain charge data, and performing abnormality detection on the electric energy meter according to the positioning data, the charge data and the meter time to obtain a detection result; Performing data analysis on the test results to obtain calibration data, establishing a control connection with the electric energy meter, calibrating the electric energy meter according to the calibration data, generating a calibration log and uploading it to a historical database; Performing status verification on the calibrated electric energy meter, and recalibrating the electric energy meter when the operating status of the electric energy meter does not meet the calibration requirements; The abnormality detection of the electric energy meter is performed according to the positioning data, the cost data and the electric energy meter time to obtain the detection result, including: Extracting historical expense data from the historical database, comparing the expense data with the historical expense data, determining whether the expense data has significant deviations, and generating abnormal consumption information when there are significant deviations; Verify whether the actual installation location of the electric energy meter is consistent with the registered address according to the positioning data, and generate abnormal geographic information when it is inconsistent with the registered address; Determine the time zone standard time of the electric energy meter according to the positioning data, judge whether the meter time exceeds a preset time drift threshold according to the time zone standard time, and generate time drift information when it exceeds the time drift threshold; When no abnormality is detected, a normal operation test result is generated; when at least one abnormality is detected, a test result including corresponding abnormality information is generated; The step of performing data analysis on the test results to obtain calibration data includes: Performing information analysis and extraction on the detection result, when the extracted abnormal information is single abnormal information, performing single information analysis on the abnormal information to obtain an abnormality processing scheme, performing data processing conversion on the abnormality processing scheme to obtain corresponding single abnormality calibration data; When the abnormal information extracted through analysis is the abnormal consumption information and the abnormal geographic information, an error analysis is performed on the billing function of the electric energy meter in combination with the abnormal consumption information and the abnormal geographic information. When the billing function is a hardware error, a corresponding hardware processing solution is generated and sent to a corresponding hardware processing mechanism; when the billing function is a software error, corresponding software calibration data is generated; When the abnormal information extracted through analysis is the abnormal geographic information and the time drift information, the electric energy meter is subjected to time series analysis to obtain sequence analysis data, all the sequence analysis data are averaged to obtain average sequence data, the sequence analysis data and the average sequence data are cross-calculated to obtain a cross value, the maximum value in the cross value is set as the time drift amount, and each time point of the sequence analysis data is adjusted based on the time drift amount to generate corresponding time calibration data; The formula for calculating the average sequence data is: Xa= Xt; The cross calculation formula for calculating the time drift is: Rxx(k)= (Xt-Xa)(Xt+k-Xa) / (Xt-Xa) 2 ; The formula for adjusting the time point according to the time drift is: t*= tr; Among them, Xa is the average sequence data; Xt is the sequence analysis data; n is the length of the observed reading sequence at the time point; t is the time point, t=1, 2,....., n; Rxx(k) is the crossover value; the time drift is r; the adjusted time point is t*; k is the unit time interval value of the time point; Xt+k represents the value of the sequence analysis data at k unit time intervals after time point t.
2. The time calibration method of an electric energy meter according to claim 1, characterized in that: The data analysis of the electric energy data is performed to obtain the power consumption data, the meter time and the positioning data, and the power consumption data, the meter time and the positioning data are stored in the historical database, including: Extracting the electric energy data to obtain an electric meter identifier, current data, voltage data, power data, frequency data, peak power consumption period, off-peak power consumption period, total power consumption, real-time electric meter time, and the positioning data, integrating the current data, voltage data, power data, frequency data, and total power consumption to obtain the electric power consumption data, and integrating the peak power consumption period, off-peak power consumption period, and real-time electric meter time into the electric meter time; sequentially marking the electricity consumption data, the electricity meter time, and the positioning data with an electricity meter identifier; Inputting the electric meter identifier into the historical database for storage area matching to obtain the corresponding electric meter storage area, and storing the positioning data and the electric meter time in the electric meter storage area; The electricity consumption data are sorted in chronological order, and the difference value of two consecutive electricity consumption data at adjacent time points is calculated, and the electricity consumption data and the difference value which are first in chronological order are marked with electric energy identifiers in turn and stored in the electricity meter storage area, and when it is necessary to extract the electricity consumption data at each time point from the historical database, the electricity consumption data at each time point can be restored by accumulating the difference values one by one; The calculation formula of the difference value is: Difference value = electricity consumption data (time point + 1) - electricity consumption data (time point).
3. The time calibration method of an electric energy meter according to claim 1, characterized in that: The step of calculating the electricity charges for the electricity consumption data to obtain the charge data includes: Perform type analysis based on the positioning data and the electricity usage data to obtain a corresponding electricity usage type, and obtain a corresponding billing plan based on the electricity usage type. When the electricity usage type is a residential type, obtain a corresponding residential billing plan; when the electricity usage type is a commercial type, obtain a corresponding commercial billing plan; when the electricity usage type is an industrial type, obtain a corresponding industrial billing plan; The electricity charges are calculated for the electricity usage data according to the charging scheme to obtain the corresponding charge data, and the charge data is stored in the historical database.
4. The time calibration method of an electric energy meter according to claim 1, characterized in that: The electric energy meter establishes a control connection, performs data calibration on the electric energy meter according to the calibration data, generates a calibration log and uploads it to a historical database, including: Establishing a communication connection with the electric energy meter through a communication network, sending a control instruction to the electric energy meter for identity authentication, and when the authentication is passed, performing instruction matching analysis on the calibration data to obtain a corresponding calibration instruction, sending the calibration data and the calibration instruction to the electric energy meter, and after being transmitted to the electric energy meter, controlling the electric energy meter according to the type of the calibration instruction; When the calibration instruction is a time calibration instruction, the real-time clock time of the electric energy meter is read, the time deviation of the real-time clock time is calculated according to the calibration data to obtain the deviation time, the clock of the electric energy meter is verified according to the deviation time to obtain the clock data, the clock parameters of the electric energy meter are adjusted according to the calibration data, and after the parameter adjustment is completed, a corresponding clock system calibration log is generated in combination with the clock data; When the calibration instruction is a billing calibration instruction, the metering data of the electric energy meter is read, the deviation of the metering data is calculated according to the calibration data to obtain the deviation data, the accuracy of the electric energy meter is detected in combination with the deviation data to obtain the billing data, the billing parameters of the electric energy meter are adjusted according to the calibration data, and after the complete parameter adjustment, the corresponding billing system calibration log is generated in combination with the billing data; The meter calibration log sent by the electric energy meter after the calibration is completed is received through the communication network, the system calibration log and the meter calibration log are integrated and processed, and stored in the historical database.
5. The time calibration method of an electric energy meter according to claim 1, characterized in that: The state of the calibrated electric energy meter is verified, and when the operating state of the electric energy meter does not meet the calibration requirements, the electric energy meter is recalibrated, including: After the calibration is completed, the operating status data of the electric energy meter is obtained within a preset verification period, the operating status data is analyzed to obtain status analysis data, and it is determined whether the status analysis data meets the calibration requirements. If not, the electric energy meter is recalibrated.
6. A time calibration device for an electric energy meter, characterized in that: include: An acquisition module, the acquisition module is used to acquire electric energy data of the electric energy meter, perform data analysis on the electric energy data, obtain power consumption data, electric meter time and positioning data, and store the power consumption data, electric meter time and positioning data in a historical database; A detection module, the detection module is used to calculate the electricity fee for the electricity consumption data to obtain fee data, and to perform abnormality detection on the electric energy meter according to the positioning data, fee data and the meter time to obtain a detection result; The processing module is used to perform data analysis on the detection results, obtain calibration data, establish a control connection with the electric energy meter, perform data calibration on the electric energy meter according to the calibration data, generate a calibration log and upload it to a historical database; A control module, the control module is used to verify the status of the calibrated electric energy meter, and recalibrate the electric energy meter when the operating status of the electric energy meter does not meet the calibration requirements; The abnormality detection of the electric energy meter is performed according to the positioning data, the cost data and the electric energy meter time to obtain the detection result, including: Extracting historical expense data from the historical database, comparing the expense data with the historical expense data, determining whether the expense data has significant deviations, and generating abnormal consumption information when there are significant deviations; Verify whether the actual installation location of the electric energy meter is consistent with the registered address according to the positioning data, and generate abnormal geographic information when it is inconsistent with the registered address; Determine the time zone standard time of the electric energy meter according to the positioning data, judge whether the meter time exceeds a preset time drift threshold according to the time zone standard time, and generate time drift information when it exceeds the time drift threshold; When no abnormality is detected, a normal operation test result is generated; when at least one abnormality is detected, a test result including corresponding abnormality information is generated; The step of performing data analysis on the test results to obtain calibration data includes: Performing information analysis and extraction on the detection result, when the extracted abnormal information is single abnormal information, performing single information analysis on the abnormal information to obtain an abnormality processing scheme, performing data processing conversion on the abnormality processing scheme to obtain corresponding single abnormality calibration data; When the abnormal information extracted through analysis is the abnormal consumption information and the abnormal geographic information, an error analysis is performed on the billing function of the electric energy meter in combination with the abnormal consumption information and the abnormal geographic information. When the billing function is a hardware error, a corresponding hardware processing solution is generated and sent to a corresponding hardware processing mechanism; when the billing function is a software error, corresponding software calibration data is generated; When the abnormal information extracted through analysis is the abnormal geographic information and the time drift information, the electric energy meter is subjected to time series analysis to obtain sequence analysis data, all the sequence analysis data are averaged to obtain average sequence data, the sequence analysis data and the average sequence data are cross-calculated to obtain a cross value, the maximum value in the cross value is set as the time drift amount, and each time point of the sequence analysis data is adjusted based on the time drift amount to generate corresponding time calibration data; The formula for calculating the average sequence data is: Xa= Xt; The cross calculation formula for calculating the time drift is: Rxx(k)= (Xt-Xa)(Xt+k-Xa) / (Xt-Xa) 2 ; The formula for adjusting the time point according to the time drift is: t*= tr; Among them, Xa is the average sequence data; Xt is the sequence analysis data; n is the length of the observed reading sequence at the time point; t is the time point, t=1, 2,....., n; Rxx(k) is the crossover value; the time drift is r; the adjusted time point is t*; k is the unit time interval value of the time point; Xt+k represents the value of the sequence analysis data at k unit time intervals after time point t.
7. A time calibration device for an electric energy meter, characterized in that: include: Memory, used to store programs; The processor is used to execute the program to implement the various steps of the time calibration method for an electric energy meter as described in any one of claims 1 to 5.
8. A storage medium, characterized in that: Computer instructions are stored, and the computer instructions are used to make a computer execute the method according to any one of claims 1 to 5.
