CN101303401B - RTC regulating apparatus of electrical energy meter and RTC automatic compensation correcting method - Google Patents

RTC regulating apparatus of electrical energy meter and RTC automatic compensation correcting method Download PDF

Info

Publication number
CN101303401B
CN101303401B CN2008100316386A CN200810031638A CN101303401B CN 101303401 B CN101303401 B CN 101303401B CN 2008100316386 A CN2008100316386 A CN 2008100316386A CN 200810031638 A CN200810031638 A CN 200810031638A CN 101303401 B CN101303401 B CN 101303401B
Authority
CN
China
Prior art keywords
rtc
energy meter
electric energy
error
communication interface
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
CN2008100316386A
Other languages
Chinese (zh)
Other versions
CN101303401A (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.)
Wasion Group Co Ltd
Original Assignee
Wasion Group 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 Wasion Group Co Ltd filed Critical Wasion Group Co Ltd
Priority to CN2008100316386A priority Critical patent/CN101303401B/en
Publication of CN101303401A publication Critical patent/CN101303401A/en
Application granted granted Critical
Publication of CN101303401B publication Critical patent/CN101303401B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electric Clocks (AREA)

Abstract

The invention discloses an RTC adjusting and calibrating device of an energy meter and a method for RTC automatic compensation and calibration. The device comprises a clock tester, a computing device and a communication interface, which are connected in sequence, wherein, the clock tester adopts a wireless sensing way to measure the output signal output by RTC, and the communication interface is connected with the communication interface of the energy meter; the inherent error of clock components of the energy meter through the computing device and the communication interface is stored into the memory of the energy meter. The method measures and stores the RTC inherent error in the energy meter, at the same time, the temperature data measured by temperature measuring equipment is transmitted into the relative error of RTC; the two error data are added up and aggregated by an MCU; and when the aggregated data reaches a minimum unit of RTC in the energy meter, the MCU carries out compensation and calibration on RTC. The invention can well solve the timing precision problem of the RTC device of the energy meter.

Description

The RTC calibration apparatus of electric energy meter and RTC automatic compensation correcting method
Technical field
The present invention relates to a kind of RTC calibration apparatus and RTC compensation correction method of electric energy meter.
Background technology
Existing electronic electric energy meter generally all comprises RTC, temperature measuring device, MCU, nonvolatile memory and communication interface, and wherein the RTC clock accuracy plays crucial effects to aspects such as electric energy meter chargings.Because the existence of the clock element inherent error of RTC in the electric energy meter at present, the output of RTC device will offset when this error constantly accumulates.Clock element with 32.768kHz commonly used at present is an example, and the error about 20ppm takes place in one-period approximately, varies with temperature simultaneously also and can change.The accuracy of timekeeping of RTC is relatively poor in the therefore present electric energy meter.
Summary of the invention
The object of the present invention is to provide a kind of inherent error of the clock element that can measure RTC in the electric energy meter and improve the RTC calibration apparatus and the RTC automatic compensation correcting method of the electric energy meter of RTC accuracy of timekeeping.
The RTC calibration apparatus of this electric energy meter provided by the invention, comprise clock test instrument, arithmetical unit, communication interface, be linked in sequence between them, wherein the clock test instrument adopts the mode formula measure R TC output signal of wireless induction, communication interface is connected with the electric energy meter communication interface, stores in the storer of electric energy meter by described arithmetical unit and the described communication interface clock element inherent error with electric energy meter.
The method of the automatic compensation correction of RTC of electric energy meter provided by the invention comprises the steps:
1). electric energy meter is positioned in the demarcation temperature environment, when treating its clock element energy steady operation, communication interface with the electric energy meter calibration apparatus is communicated with the electric energy meter communication interface, and make electric energy meter be in the induction zone of the clock test instrument of described electric energy meter calibration apparatus, measure the inherent error of RTC in the electric energy meter;
2). the inherent error of the RTC that step 1 is measured is stored in the storer of electric energy meter;
3) .MCU temperature data that temperature measuring equipment is measured converts the relative error of RTC to;
4) .MCU obtains compensation immediate error constantly this time with above-mentioned two kinds of error information additions; It is the absolute error of RTC between twice compensation constantly that described immediate error be multiply by adjacent twice compensation mistiming constantly;
5). the absolute error of the described RTC of step 4 is added up, and when cumulative data reached in the electric energy meter RTC least unit, MCU compensated correction to RTC.
Electric energy meter RTC calibration apparatus of the present invention can be measured the inherent error of RTC in the electric energy meter, and this error transferred in the electric energy meter store, this work can be finished by manufacturer before electric energy meter dispatches from the factory, and makes electric energy meter compensate correction simultaneously to inherent error and the temperature drift deviation of RTC automatically according to the inventive method in use.Well solved the accuracy of timekeeping problem of RTC device in the electric energy meter.
Description of drawings
Fig. 1 is a structural representation of the present invention.
Embodiment
The RTC calibration apparatus of electric energy meter of the present invention as can be seen from Figure 1, comprise clock test instrument 1, arithmetical unit 2, communication interface 3, in the present embodiment clock test instrument 1 adopt Guangzhou can be auspicious the RT-3000 type clock test instrument produced of electronics technology company limited, communication interface 3 adopts RS485 serial line interface or contact infrared optical interface or modulation system infrared optical interface.The output signal end of clock test instrument 1 is connected with arithmetical unit by the RS232 interface, when electric energy meter is carried out adjustment, electric energy meter 4 should be put into the induction region of tester 2, communication interface 3 is connected with electric energy meter communication interface 7, the clock test instrument mode formula measure R TC6 output signal of wireless induction, measure the inherent error of the clock element of RTC, arithmetical unit 2 converts after the data of clock test instrument 1 are taken out by the tester output interface, error information is passed to MCU8 in the electric energy meter, and be written in the nonvolatile memory 9 in the electric energy meter and store.
The automatic compensation correction of the RTC of electric energy meter of the present invention at first will be measured the inherent error of RTC with the RTC calibration apparatus of above-mentioned electric energy meter, compensates correction automatically by electric energy meter then, and concrete grammar comprises the steps:
1). electric energy meter 4 is positioned over the demarcation temperature, and (this temperature is by the manufacture method decision of clock element, be generally 25 ± 5 ℃) in the environment, when treating its clock element energy steady operation, be communicated with electric energy meter communication interface 7 with described communication interface 3, and make electric energy meter 4 be in the induction zone of the clock test instrument 1 of described electric energy meter calibration apparatus, measure the inherent error of RTC6 in the electric energy meter;
2). the inherent error of the RTC6 that step 1 is measured is stored in the nonvolatile memory 9 of electric energy meter;
3). the temperature data that temperature measuring equipment 5 in the electric energy meter 4 is measured reads among the RAM of electric energy meter MCU 8, and temperature data is converted to the temperature drift error by the characteristic curve of clock element;
4). the MCU 8 of electric energy meter takes out the inherent error data in the nonvolatile memory 9, and the addition of temperature drift sum of errors inherent error data is obtained immediate error;
5). calculate and carried out last time the compensation moment and this execution compensation mistiming constantly;
6). the mistiming that step 5 is obtained and the immediate error of step 4 multiply each other, and draw the absolute error that the clock element produces between twice compensation constantly;
7). the absolute error of the described RTC 6 of step 6 is added up, when reaching RTC 6 least unit in the electric energy meter (being generally 1 second), then revise cumulative data and upgrade RTC 6 simultaneously, otherwise preserve accumulated value, finish this time compensating flow process as if cumulative data.

Claims (2)

1. the RTC calibration apparatus of an electric energy meter, it is characterized in that this device comprises clock test instrument (1), arithmetical unit (2), communication interface (3), be linked in sequence between them, wherein clock test instrument (1) adopts the mode formula of wireless induction to measure the output signal of RTC (6) in the electric energy meter, measure the inherent error of the clock element of RTC (6), communication interface (3) is connected with electric energy meter communication interface (7), stores in the nonvolatile memory (9) of electric energy meter by described arithmetical unit (2) and communication interface (3) the clock element inherent error with RTC (6).
2. the method for the automatic compensation correction of RTC of an electric energy meter is characterized in that comprising the steps:
1). electric energy meter is positioned in the demarcation temperature environment, when treating its clock element energy steady operation, communication interface (3) with the electric energy meter calibration apparatus is communicated with electric energy meter communication interface (7), and make electric energy meter (4) be in the induction zone of the clock test instrument (1) of described electric energy meter calibration apparatus, measure the inherent error of RTC in the electric energy meter (6);
2). the inherent error of the RTC (6) that step 1 is measured is stored in the nonvolatile memory (9) of electric energy meter;
3) .MCU (8) temperature data that temperature measuring equipment (5) is measured converts the relative error of RTC (6) to;
4) .MCU (8) obtains compensation immediate error constantly this time with above-mentioned two kinds of error information additions; It is the absolute error of RTC (6) between twice compensation constantly that described immediate error be multiply by adjacent twice compensation mistiming constantly;
5). the absolute error of the described RTC of step 4 is added up, and when cumulative data reached in the electric energy meter RTC least unit, MCU (8) compensated correction to RTC (6).
CN2008100316386A 2008-07-01 2008-07-01 RTC regulating apparatus of electrical energy meter and RTC automatic compensation correcting method Active CN101303401B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100316386A CN101303401B (en) 2008-07-01 2008-07-01 RTC regulating apparatus of electrical energy meter and RTC automatic compensation correcting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100316386A CN101303401B (en) 2008-07-01 2008-07-01 RTC regulating apparatus of electrical energy meter and RTC automatic compensation correcting method

Publications (2)

Publication Number Publication Date
CN101303401A CN101303401A (en) 2008-11-12
CN101303401B true CN101303401B (en) 2010-06-23

Family

ID=40113397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100316386A Active CN101303401B (en) 2008-07-01 2008-07-01 RTC regulating apparatus of electrical energy meter and RTC automatic compensation correcting method

Country Status (1)

Country Link
CN (1) CN101303401B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799526B (en) * 2009-02-06 2012-12-12 杭州中科微电子有限公司 Method for calibrating high-precision RTC circuit in GPS receiver and module thereof
CN103033655A (en) * 2011-10-08 2013-04-10 江阴长仪集团有限公司 Intelligent electric energy meter with accurate timing module
CN102520386B (en) * 2011-12-12 2014-01-22 宁夏隆基宁光仪表有限公司 Calibration method of three-phase electric energy meter
CN102520608B (en) * 2011-12-19 2014-04-02 深圳市航盛电子股份有限公司 Method and device for automatically correcting automobile vehicle-mounted clock
CN102608559B (en) * 2012-03-19 2014-07-30 钜泉光电科技(上海)股份有限公司 Method for collecting electric energy errors of electric energy meter and device thereof
CN103424731A (en) * 2013-01-10 2013-12-04 万高(杭州)科技有限公司 Electric energy meter real-time clock correction device and correction method
CN103499803B (en) * 2013-09-09 2015-09-09 扬州万泰电子科技有限公司 A kind of method improving precision of built-in real-time clock of electric energy meter MCU
CN104635193B (en) * 2013-11-06 2018-01-26 钜泉光电科技(上海)股份有限公司 A kind of SOC real-time clock high-accuracy compensation method of ammeter
CN104483649A (en) * 2014-11-12 2015-04-01 珠海中慧微电子有限公司 High-precision time synchronization method and system applied to electric energy meter
CN104635196B (en) * 2015-02-10 2017-07-07 武汉阿迪克电子股份有限公司 Take the real-time clock synchronization error correction method of control intelligent electric energy meter
CN104849523B (en) * 2015-05-15 2017-06-09 威胜集团有限公司 The temperature compensation of single-phase electric energy meter
CN107229219A (en) * 2017-06-28 2017-10-03 山东超越数控电子有限公司 It is a kind of based on GPS module, the computer precision time service method of embedded system and its to realize system
CN107884608B (en) * 2017-11-02 2020-10-23 钜泉光电科技(上海)股份有限公司 Electric energy meter control system and clock correction method
CN112147561B (en) * 2020-08-13 2023-05-30 国网浙江省电力有限公司营销服务中心 Multi-core intelligent ammeter clock precision test system based on low-power consumption Bluetooth
CN113504401B (en) * 2021-06-08 2024-02-13 深圳市科陆电子科技股份有限公司 Method, device and system for compensating diary time error of electric energy meter
CN117110977B (en) * 2023-10-25 2024-03-01 国网浙江省电力有限公司营销服务中心 Electric energy meter error assessment method and system

Also Published As

Publication number Publication date
CN101303401A (en) 2008-11-12

Similar Documents

Publication Publication Date Title
CN101303401B (en) RTC regulating apparatus of electrical energy meter and RTC automatic compensation correcting method
CN101846572B (en) Method for decreasing basic error of pressure sensor
CN104297716B (en) Intelligent electric meter RTC calibrating method
CN109425844A (en) A kind of calibration method and system of data sampling
CN105306056A (en) Scale factor temperature compensating method of current frequency conversion circuit
CN105573106A (en) Smart meter RTC timing precision correction circuit and method thereof
CN101562451A (en) Precise domestication conserving method of second-level frequency scale
CN103063321B (en) Platinum resistance temperature measuring equipment and temperature measuring method thereof
CN102722099A (en) Clock correction system with error computing function and correction method
CN107450305A (en) Calibration method and correction device, the smart machine of clock chip
CN201212907Y (en) RTC calibration apparatus for electric energy meter
CN102620862A (en) Temperature checker
CN106228926B (en) Liquid crystal module detection voltage compensation circuit, detection unit, system and method
CN102818623B (en) Method and system for calibrating brightness and chrominance meter
CN101252357A (en) Method and system for correcting parameter
CN103034116A (en) Method for improving accuracy of timing of quartz timer
CN111865465B (en) Accurate time calibration method for Internet of things equipment
CN105571666A (en) Flow compensation method, compensation device and flow sensor
CN102096440A (en) Method for keeping high precision of real time clock circuit
CN104635193B (en) A kind of SOC real-time clock high-accuracy compensation method of ammeter
KR101973411B1 (en) Electronic Power Meter and Method of Temperature Compensation Using the Same
CN106020019A (en) Multi-channel analog signal data acquisition automatic correction circuit and correction method
CN101738159B (en) Device and method for measuring diameter of nozzle of aircraft engine tail
CN201571042U (en) Self-refit digital temperature compensated crystal oscillator and system thereof
CN112782425A (en) Acceleration measurement channel temperature compensation method and system of laser strapdown inertial measurement unit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant