CN109239640B - Electric meter clock correction method based on average difference value - Google Patents

Electric meter clock correction method based on average difference value Download PDF

Info

Publication number
CN109239640B
CN109239640B CN201810723413.0A CN201810723413A CN109239640B CN 109239640 B CN109239640 B CN 109239640B CN 201810723413 A CN201810723413 A CN 201810723413A CN 109239640 B CN109239640 B CN 109239640B
Authority
CN
China
Prior art keywords
ammeter
electric meter
error
value
average difference
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810723413.0A
Other languages
Chinese (zh)
Other versions
CN109239640A (en
Inventor
吴军
王荣历
张明达
雷鸣
母国辉
李基瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Zhejiang Electric Power Co Ltd Ningbo Fenghua District Power Supply Co
Ningbo Power Supply Co of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
Ningbo Power Supply Co of State Grid Zhejiang Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ningbo Power Supply Co of State Grid Zhejiang Electric Power Co Ltd filed Critical Ningbo Power Supply Co of State Grid Zhejiang Electric Power Co Ltd
Priority to CN201810723413.0A priority Critical patent/CN109239640B/en
Publication of CN109239640A publication Critical patent/CN109239640A/en
Application granted granted Critical
Publication of CN109239640B publication Critical patent/CN109239640B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/04Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current
    • GPHYSICS
    • G04HOROLOGY
    • G04RRADIO-CONTROLLED TIME-PIECES
    • G04R40/00Correcting the clock frequency
    • G04R40/06Correcting the clock frequency by computing the time value implied by the radio signal

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Electric Clocks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention provides an ammeter clock correction method based on average difference, which belongs to the field of time calibration and comprises the steps of networking ammeter groups including a target ammeter to obtain an ammeter time calibration network; regularly extracting ammeter error values in an ammeter timing network, and solving an average difference value of all the ammeter error values; obtaining a factory error mean value of all ammeter types in an ammeter timing network, and obtaining a calibration mean value by combining the average difference value; and broadcasting the calibration mean value in the electric meter timing network. And carrying out average value solving based on the current errors of all the electric meters in the network, and calibrating the electric meters in the whole network by taking the obtained average value as a calibration quantity. Because the step of extracting the error value of the electric meter is triggered at regular time, the error of the electric meter in the whole network can be effectively reduced through repeated iteration operation, the reduced error is used for calibrating the electric meter in the whole network, the electric meter in the whole network can be in a state of small error, and the accuracy of the clock in the electric meter is effectively improved.

Description

Electric meter clock correction method based on average difference value
Technical Field
The invention belongs to the field of time calibration, and particularly relates to an electric meter clock correction method based on average difference.
Background
The Real-Time Clock (RTC) plays an important role in the smart meter, and provides accurate Time guarantee for services such as remote centralized reading, cost control management, line loss detection and the like. According to the technical specification requirements of the intelligent electric energy meter of the national power grid company, the clock precision is within +/-0.5 s/d, the error is less than 5ppm, and the daily timing error within the operation temperature range is less than 1 s. If the error is larger than the value, the data of the electric quantity generated in the process of charging the electric energy by sections or exceeding the standard is inaccurate, the error caused by the inaccuracy can cause great loss to users or power supply units,
common time setting modes in the current power grid include IRIG-B code time setting, IEEE1588 accurate time protocol and SNIP simple network time protocol. When IRIG-B code is paired, a separate time synchronization network is required, and when IEEE1588 time synchronization requires that equipment Ethernet chip hardware can support generation of a timestamp, the existing equipment functions need to be purchased again or expanded. The above schemes all need to configure additional hardware equipment, are too high in cost, and are not suitable for the transformation of the current power grid.
Disclosure of Invention
In order to solve the defects and shortcomings in the prior art, the invention provides an electric meter clock correction method based on average difference, which is used for improving the accuracy of a clock in an electric meter.
In order to achieve the technical purpose, the invention provides an electric meter clock correction method based on an average difference value, which comprises the following steps:
networking the ammeter groups including the target ammeter to obtain an ammeter timing network;
regularly extracting ammeter error values in an ammeter timing network, and solving an average difference value of all the ammeter error values;
obtaining a factory error mean value of all ammeter types in an ammeter timing network, and obtaining a calibration mean value by combining the average difference value;
and broadcasting the calibration mean value in the ammeter timing network, and enabling the received ammeter to calibrate the clock of the ammeter based on the calibration mean value.
Optionally, networking the ammeter groups including the target ammeter to obtain an ammeter timing network, including:
enabling the target electricity meter to broadcast the target equipment code in a wireless mode;
the electric meter in the broadcast radiation area stores the received target equipment code, and broadcasts a reply message containing the target equipment code, the own equipment code and the current time;
and (4) establishing the target ammeter and the ammeter which sends the reply message as an ammeter timing network, and establishing communication connection between each ammeter in the ammeter timing network.
Optionally, the timing extracting an electric meter error value in the electric meter timing network, and solving an average difference value of all electric meter error values includes:
determining an ammeter error value of each sample ammeter according to the current time in the received reply message by taking the current time of the target ammeter as a reference;
and calculating an average difference value representing the average error of the electric meter clock based on all the received electric meter error values.
Optionally, the obtaining of the factory error mean value of all the electric meter types in the electric meter timing network and the obtaining of the calibration mean value by combining the average difference value includes:
reading the self equipment code of each electric meter from the reply message, and determining the corresponding electric meter model based on the self equipment code;
and obtaining a factory error mean value of each electric meter model, selecting a minimum value from the factory error mean values, and summing the minimum value and the average difference value to obtain a calibration mean value.
Optionally, the obtaining of the factory error mean value of each electric meter model includes:
and reading the factory error mean value from the specification of the electric meter or a factory inspection list.
The technical scheme provided by the invention has the beneficial effects that:
and carrying out average value solving based on the current errors of all the electric meters in the network, and calibrating the electric meters in the whole network by taking the obtained average value as a calibration quantity. Because the step of extracting the error value of the electric meter is triggered at regular time, the error of the electric meter in the whole network can be effectively reduced through repeated iteration operation, the reduced error is used for calibrating the electric meter in the whole network, the electric meter in the whole network can be in a state of small error, and the accuracy of the clock in the electric meter is effectively improved.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic flow chart of an electric meter clock correction method based on average difference values according to the present invention.
Detailed Description
To make the structure and advantages of the present invention clearer, the structure of the present invention will be further described with reference to the accompanying drawings.
Example one
The invention provides an electric meter clock correction method based on an average difference value, as shown in fig. 1, the electric meter clock correction method comprises the following steps:
11. networking the ammeter groups including the target ammeter to obtain an ammeter timing network;
12. regularly extracting ammeter error values in an ammeter timing network, and solving an average difference value of all the ammeter error values;
13. obtaining a factory error mean value of all ammeter types in an ammeter timing network, and obtaining a calibration mean value by combining the average difference value;
14. and broadcasting the calibration mean value in the ammeter timing network, and enabling the received ammeter to calibrate the clock of the ammeter based on the calibration mean value.
In implementation, in order to calibrate a clock in an electric meter, the embodiment provides a method for calibrating electric meters in a whole network based on networking the electric meters and further based on an average value of errors of all the electric meters in the electric network. Because the step of extracting the error value of the electric meter is triggered at regular time, the error of the electric meter in the whole network can be effectively reduced through repeated iteration operation, the reduced error is used for calibrating the electric meter in the whole network, the electric meter in the whole network can be in a state of small error, and the accuracy of the clock in the electric meter is effectively improved.
Specifically, step 11 is a step of establishing a network for executing the electricity meter timing network, specifically:
111. enabling the target electricity meter to broadcast the target equipment code in a wireless mode;
112. the electric meter in the broadcast radiation area stores the received target equipment code, and broadcasts a reply message containing the target equipment code, the own equipment code and the current time;
113. and (4) establishing the target ammeter and the ammeter which sends the reply message as an ammeter timing network, and establishing communication connection between each ammeter in the ammeter timing network.
In practice, the purpose of establishing the meter timing network is to acquire as large a number of meters as possible, and then to select the meter which needs to be most corrected from the meters.
The specific step 12 is to obtain an average difference value in the electric meter timing network, and specifically includes:
121. determining an ammeter error value of each sample ammeter according to the current time in the received reply message by taking the current time of the target ammeter as a reference;
122. and calculating an average difference value representing the average error of the electric meter clock based on all the received electric meter error values.
In implementation, based on the electric meter timing network constructed in the foregoing step 11, after the network is successfully constructed, the target electric meter can collect the current time of the rest electric meters in the network. On the basis of the time, the result of the superposition after the inherent transmission delay in the electric meter timing network is differed from the moment when the target electric meter receives the reply information, so that the electric meter error value existing in each sample electric meter can be obtained.
And then, calculating the average of all the electric meter error values on the basis of the electric meter error value corresponding to each sample electric meter to obtain an average difference value representing the clock average error of the electric meter.
The specific step 13 is to obtain a calibration mean value, specifically:
131. reading the self equipment code of each electric meter from the reply message, and determining the corresponding electric meter model based on the self equipment code;
132. and obtaining a factory error mean value of each electric meter model, selecting a minimum value from the factory error mean values, and summing the minimum value and the average difference value to obtain a calibration mean value.
In implementation, in order to improve the accuracy of the electric meter clock calibration, the step of obtaining the delivery error mean value of the electric meter according to the difference of each electric meter model in the electric meter timing network is also carried out on the basis of determining the average difference value according to the reply information.
And obtaining the factory error mean value according to the self equipment codes in the reply information in the electric meter calibration network mentioned in the foregoing, and obtaining the factory error mean value corresponding to each electric meter by referring to the self equipment codes of each electric meter.
Considering that, in the prior art, even though the factory errors of different types of electric meters are not very different, in order to improve the calibration efficiency, the minimum value is directly selected from all the obtained error mean values, and the minimum value is summed with the average difference value provided in the foregoing to obtain the calibration mean value for calibration.
In the established electric meter timing network, the target electric meter broadcasts the calibration mean value, so that other electric meters calibrate themselves according to the received calibration mean value, and the effect of reducing the clock error of themselves is achieved.
Optionally, the obtaining of the factory error mean value of each electric meter model includes:
and reading the factory error mean value from the specification of the electric meter or a factory inspection list.
The invention provides an ammeter clock correction method based on average difference, which comprises the steps of networking ammeter groups including a target ammeter to obtain an ammeter timing network; regularly extracting ammeter error values in an ammeter timing network, and solving an average difference value of all the ammeter error values; obtaining a factory error mean value of all ammeter types in an ammeter timing network, and obtaining a calibration mean value by combining the average difference value; and broadcasting the calibration mean value in the ammeter timing network, and enabling the received ammeter to calibrate the clock of the ammeter based on the calibration mean value. And carrying out average value solving based on the current errors of all the electric meters in the network, and calibrating the electric meters in the whole network by taking the obtained average value as a calibration quantity. Because the step of extracting the error value of the electric meter is triggered at regular time, the error of the electric meter in the whole network can be effectively reduced through repeated iteration operation, the reduced error is used for calibrating the electric meter in the whole network, the electric meter in the whole network can be in a state of small error, and the accuracy of the clock in the electric meter is effectively improved.
The sequence numbers in the above embodiments are merely for description, and do not represent the sequence of the assembly or the use of the components.
The above description is only exemplary of the present invention and should not be taken as limiting the invention, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (2)

1. The electric meter clock correction method based on the average difference value is characterized by comprising the following steps:
networking the ammeter groups including the target ammeter to obtain an ammeter timing network;
regularly extracting ammeter error values in an ammeter timing network, and solving an average difference value of all the ammeter error values;
obtaining a factory error mean value of all ammeter types in an ammeter timing network, and obtaining a calibration mean value by combining the average difference value;
broadcasting the calibration mean value in an ammeter timing network, and enabling the received ammeter to calibrate the clock of the ammeter based on the calibration mean value;
the timing extraction of the ammeter error values in the ammeter timing network to obtain the average difference value of all the ammeter error values comprises the following steps:
determining an ammeter error value of each sample ammeter according to the current time in the received reply message by taking the current time of the target ammeter as a reference;
on the basis of all received ammeter error values, calculating an average difference value representing ammeter clock average errors;
networking the ammeter groups including the target ammeter to obtain an ammeter timing network, comprising the following steps:
enabling the target electricity meter to broadcast the target equipment code in a wireless mode;
the electric meter in the broadcast radiation area stores the received target equipment code, and broadcasts a reply message containing the target equipment code, the own equipment code and the current time in the broadcast radiation area;
the target ammeter and the ammeter which sends the reply message are set up as an ammeter timing network, and communication connection is established between each ammeter in the ammeter timing network;
the method for obtaining the factory error mean value of all the ammeter types in the ammeter timing network and obtaining the calibration mean value by combining the average difference value comprises the following steps:
reading the self equipment code of each electric meter from the reply message, and determining the corresponding electric meter model based on the self equipment code;
and obtaining a factory error mean value of each electric meter model, selecting a minimum value from the factory error mean values, and summing the minimum value and the average difference value to obtain a calibration mean value.
2. The method for correcting electric meter clock based on average difference value according to claim 1, wherein the obtaining of the factory error average value of each electric meter model comprises:
and reading the factory error mean value from the specification of the electric meter or a factory inspection list.
CN201810723413.0A 2018-07-04 2018-07-04 Electric meter clock correction method based on average difference value Active CN109239640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810723413.0A CN109239640B (en) 2018-07-04 2018-07-04 Electric meter clock correction method based on average difference value

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810723413.0A CN109239640B (en) 2018-07-04 2018-07-04 Electric meter clock correction method based on average difference value

Publications (2)

Publication Number Publication Date
CN109239640A CN109239640A (en) 2019-01-18
CN109239640B true CN109239640B (en) 2021-12-10

Family

ID=65071844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810723413.0A Active CN109239640B (en) 2018-07-04 2018-07-04 Electric meter clock correction method based on average difference value

Country Status (1)

Country Link
CN (1) CN109239640B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111796235B (en) * 2020-06-28 2022-10-14 司浩天 Assessment method for gateway table with high utilization rate
CN113093510B (en) * 2021-02-26 2022-07-22 山东师范大学 Clock frequency signal error measuring instrument and method
CN113108825B (en) * 2021-03-26 2022-08-23 山东师范大学 Atomic clock error measurement and correction method and error measurement and correction instrument
CN113271171A (en) * 2021-05-14 2021-08-17 四川虹美智能科技有限公司 Time calibration method, device and computer readable medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2866011B2 (en) * 1994-08-24 1999-03-08 日本ヒューレット・パッカード株式会社 Calibration method for network measurement equipment
US7142512B1 (en) * 1999-12-02 2006-11-28 Hitachi, Ltd. Network measurement controlling system apparatus and method
CN101656977B (en) * 2009-07-01 2013-08-07 南京邮电大学 Secure time synchronization method based on time division multiplexing access protocol
CN101826955A (en) * 2010-01-28 2010-09-08 陈秋玲 Synchronization error correction method
CN101982959B (en) * 2010-11-24 2013-02-13 电子科技大学 Network demand time synchronization method
CN102196554A (en) * 2011-06-10 2011-09-21 西安电子科技大学 Method for realizing average clock synchronization of wireless sensor network through cluster averaging
CN102625428B (en) * 2012-04-24 2015-01-07 苏州摩多物联科技有限公司 Time synchronization method of wireless sensor networks
CN104410481B (en) * 2014-11-28 2018-01-19 国家电网公司 A kind of setting means based on NTP networks and pair when system
CN105207767B (en) * 2015-10-09 2018-08-24 国网冀北电力有限公司信息通信分公司 A kind of PTP master clocks and the method and device from Frequency Synchronization between clock
CN106054106B (en) * 2016-05-25 2018-08-31 宁波三星医疗电气股份有限公司 A kind of clock of power meter exception automatic testing method based on power line carrier
CN106455038A (en) * 2016-10-10 2017-02-22 海能达通信股份有限公司 Master node, slave node and synchronization information self-correcting method

Also Published As

Publication number Publication date
CN109239640A (en) 2019-01-18

Similar Documents

Publication Publication Date Title
CN109239640B (en) Electric meter clock correction method based on average difference value
US20110161022A1 (en) Systems, methods, and apparatus for utility meter phase identification
US11982695B2 (en) Transformer area identification method and computer-readable storage medium
CN103516507B (en) Electricity utilization information collecting system time synchronization method based on DLPTP clock synchronization
EP2217886B1 (en) Improvements in hierarchy determination for power monitoring systems
Mahmood et al. Design and implementation of AMR smart grid system
CN102497665B (en) Mobile terminal time correction method and apparatus thereof
CN111624544B (en) Method and related device for identifying household transformer relation of transformer area
CN108988975B (en) Correction method and device for ammeter clock
CN111446988A (en) Low-voltage transformer area line-changing user topology identification edge calculation method based on HP L C carrier communication
Hasan et al. Phase offset analysis of asymmetric communications infrastructure in smart grid
CN110648249B (en) Annual power balance measuring and calculating method, device and equipment
CN101964689A (en) Method for improving time accuracy of electric energy information acquisition system
CN110677211B (en) Time synchronization method and device and power acquisition terminal
CN111711192B (en) Real-time line loss analysis method and system for lean management of line loss of support station area
CN108874859B (en) Scheduling real-time section data generation method and system
CN115618654B (en) Identification method and device for out-of-tolerance electric energy meter
CN108919172A (en) A kind of automatic time synchronization method of electric energy meter, device and terminal device
CN116406491A (en) Power line low-voltage transformer area topology identification method and device
CN109765582A (en) A kind of temporal frequency calibration system based on GNSS
Krsman et al. Pre-processing of pseudo measurements based on AMI data for distribution system state estimation
CN111478311A (en) Line loss calculation method and system for any partition of power grid
CN103792400A (en) Electricity meter
CN109472295B (en) Pearson correlation coefficient-based WAMS/SCADA system time synchronization sorting method
CN114142960A (en) Method for timing acquisition terminal of low-voltage transformer area by using mobile 5G base station

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230710

Address after: No. 8, Guangji Road, Jinping Street, Fenghua District, Ningbo City, Zhejiang Province 315500

Patentee after: State Grid Zhejiang Electric Power Co., Ltd. Ningbo Fenghua district power supply Co.

Patentee after: STATE GRID ZHEJIANG ELECTRIC POWER CO., LTD. NINGBO POWER SUPPLY Co.

Address before: 315500 Guangji Road, Jinping street, Fenghua District, Ningbo City, Zhejiang Province

Patentee before: STATE GRID ZHEJIANG NINGBO FENGHUA POWER SUPPLY Co.,Ltd.

Patentee before: STATE GRID ZHEJIANG ELECTRIC POWER CO., LTD. NINGBO POWER SUPPLY Co.