CN104714404A - Method for improving clock precision in electric energy meter - Google Patents
Method for improving clock precision in electric energy meter Download PDFInfo
- Publication number
- CN104714404A CN104714404A CN201410835559.6A CN201410835559A CN104714404A CN 104714404 A CN104714404 A CN 104714404A CN 201410835559 A CN201410835559 A CN 201410835559A CN 104714404 A CN104714404 A CN 104714404A
- Authority
- CN
- China
- Prior art keywords
- clock
- electric energy
- energy meter
- chip microcomputer
- rtc
- 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.)
- Pending
Links
Abstract
The invention provides a method for improving clock precision in an electric energy meter. The method for improving the clock precision in the electric energy meter is achieved by arranging a TCXO crystal oscillating unit in a single chip microcomputer of the electric energy meter. The method for improving the clock precision in the electric energy meter comprises the first step that an RTC clock of the single chip microcomputer is configured through an outer RTC source or an inner RTC source; the second step that interruption function second pulse output is arranged on the TCXO crystal oscillating unit; the third step that the current time of the TCXO crystal oscillating is set; and the forth step that the current time is calculated through a counter in the single chip microcomputer.
Description
Technical field
The present invention relates to a kind of Curve guide impeller of the clock of power meter system based on TCXO crystal oscillator.
Background technology
Clock is as one of electronic type intelligent electric energy meter important function, ensure that the precision of clock is necessary with safety, the invention application to be design presentation a kind of method that clock of power meter realizes, improves the clock accuracy of electric energy meter, improves the reliability of clock.
The clock at present our electric energy meter used mainly contains two kinds, soft clock and hardware clock.Soft clock: the inside RTC clock of so-called soft clock and stm32 single-chip microcomputer, uses the passive crystal oscillator of an outside 32.768KHz as its clock reference, although it is the internal resource of single-chip microcomputer, use easily and safety, its precision is not very high.Hardware clock: the clock chip of so-called hardware clock and single-chip microcomputer outside, as DS3231, RX8025T etc., the 32.768KHz crystal oscillator of the most of built-in high stability of these clock chips, although the precision of hardware clock can ensure, but due to real-time communication can be excessive occupying system resources, so system clock can not rely on hardware clock completely.
In this case, we need soft clock and hardware clock to combine to ensure our system clock, on the one hand in order to reduce the precision that take and ensure clock of hardware clock to system resource, we per minutely can read a hardware clock, carry out synchronous with this time data with system clock simultaneously, to ensure the accurate of clock minute data, on the other hand in order to obtain the number of seconds certificate of clock, we use the inner RTC of single-chip microcomputer as number of seconds certificate, even if the precision of inner RTC is not very high, but often will once through after one minute synchronously, be equivalent to calibrate clock, namely our system clock ensure that precision to the full extent like this, in turn ensure that security.
Summary of the invention
The embodiment of the present invention solves aforementioned drawback, design a kind of method improving electric energy meter internal clock precision, TCXO crystal oscillator is the active crystal oscillator of the high stability that a built-in temperature compensates, its error within the scope of total temperature can reach ± 5ppm, so we just think can using the clock reference of TCXO crystal oscillator as single-chip microcomputer inside RTC, replace the external passive crystal oscillator of 32.768KHz, remove outside hardware clock simultaneously.The synchronizing process of clock can be saved like this when guaranteeing precision, reducing the probability of makeing mistakes.
In one embodiment, a kind of High Accuracy Clock Curve guide impeller of ammeter, its precision can reach equivalent standard with the precision of clock chip, it utilizes single-chip microcomputer internal resource, eliminates the communication of single-chip microcomputer and external chip, and original basis improves security, present single clock source is replaced with in original doubleclocking source, eliminate synchronous process, decrease the amendment number of times to system clock, increase the reliability of system clock.
Technical scheme: a kind of implementation method improving clock of power meter precision, realizing by arranging TCXO crystal oscillator unit in the single-chip microcomputer of described electric energy meter, comprising step as follows: the RTC clock 1) being configured single-chip microcomputer by an outside RTC source or inner RTC source; 2) arrange interrupt function pulse per second (PPS) to described TCXO crystal oscillator unit to export; 3) current time of described TCXO crystal oscillator is set; And 4) calculate current time by the counter in described single-chip microcomputer.
In another embodiment, design a kind of clock modulation circuit plate of electric energy meter, it is only made up of single-chip microcomputer and the power supply be attached thereto, at least one TCXO crystal oscillator unit is set in described single-chip microcomputer, for generation of electric energy meter inside RTC clock, the clock source of any other single-chip microcomputer outside is not wherein set on described circuit board.
Embodiment
Improve the implementation method of clock of power meter precision, comprise step as follows: configuration single-chip microcomputer RTC clock; Arrange interrupt function pulse per second (PPS) to export; Current time is set; Current time is calculated by counter.
In one embodiment, the outside or inside being included in electric energy meter further carries out the step of different condition or environmental testing simultaneously.
Such as, described step includes electric fast transient burst of pulses testing procedure.Add three-phase supply at electric energy meter ABCN, add the pulse train of+4.4KV and-4.4KV, frequency 5KHz at ABCN, ABC, N respectively, each test 60 seconds, on pretreatment, observe clock respectively after process of the test neutralization test and whether change.
In another embodiment, design a kind of clock modulation circuit plate of electric energy meter, it is only made up of single-chip microcomputer and the power supply be attached thereto, at least one TCXO crystal oscillator unit is set in described single-chip microcomputer, for generation of electric energy meter inside RTC clock, the clock source of any other single-chip microcomputer outside is not wherein set on described circuit board.
industrial applicibility is analyzed
(1) electric fast transient burst of pulses test:
pilot project | the test of electricity fast transient burst of pulses |
testing tool | quick burst of pulses test instrument |
method of testing | add three-phase supply at electric energy meter ABCN, add the pulse train of+4.4KV and-4.4KV, frequency 5KHz at ABCN, ABC, N respectively, each test 60 seconds, on pretreatment, observe clock respectively after process of the test neutralization test and whether change. |
criterion | clock should be unchanged |
test result | qualified |
(2) ESD test:
(3) AC voltage test:
pilot project | aC voltage test |
testing tool | pressure-resistant tester |
method of testing | electric energy meter reference voltage more than 40V connection together, reference voltage below 40V connection together and ground connection, add 4.4KV trial voltage between the ends, 5-10 is raised to 4.4KV by 0 in second, and maintain 60 seconds, this test carries out 20 times repeatedly. |
criterion | clock should be unchanged |
test result | qualified |
accuracy test
(1) normal temperature accuracy test:
Pilot project | Normal temperature accuracy test |
Testing tool | Error of time of day tester |
Method of testing | Under normal temperature 23 degree, make a call to the error of 10 points continuously, each 1 minute, then average as error of time of day |
Criterion | Be less than 0.02 second every day |
Test result | Qualified |
(2) environment temperature is on the impact of error of time of day:
pilot project | environment temperature is on the impact of error of time of day |
testing tool | error of time of day tester, high-low temperature chamber |
method of testing | measure error of time of day, measure once under environment temperature 60 degree of conditions, measure once for 23 degree ,-25 degree are measured once.Temperature coefficient calculates: this experiment measuring two value, and namely 23 degree of temperature gap t1-t0 spending temperature coefficient two temperature ranges calculated with 60 degree of temperatures coefficient calculated and 23 degree and-25 equal 37 degree and 48 degree respectively. |
criterion | two temperatures coefficient all should meet often spends 0.01 second every day, and at-25 degree, the error of time of day of 23 degree and 60 degree three temperature spots is no more than 1 second every day. |
test result | qualified |
technique effect
Electric energy meter adopts this programme compared with former scheme, simplify the clock system structure of electric energy meter, the clock of electric energy meter can be made to rely on independent clock source, decrease the series of problems because clock synchronous causes, ensure that the reliability of clock system, meanwhile, eliminate external clock chip, decrease the area of pcb board, decrease the cost of electric energy meter from components and parts and process aspect all to a great extent.
Claims (2)
1. improve a method for electric energy meter internal clock precision, it is characterized in that, realizing by arranging TCXO crystal oscillator unit in the single-chip microcomputer of described electric energy meter, comprising step as follows: the RTC clock 1) being configured single-chip microcomputer by an outside RTC source or inner RTC source; 2) arrange interrupt function pulse per second (PPS) to described TCXO crystal oscillator unit to export; 3) current time of described TCXO crystal oscillator is set; And 4) calculate current time by the counter in described single-chip microcomputer.
2. the clock modulation circuit plate of an electric energy meter, it is characterized in that, only be made up of single-chip microcomputer and the power supply be attached thereto, at least one TCXO crystal oscillator unit is set in described single-chip microcomputer, for generation of electric energy meter inside RTC clock, the clock source of any other single-chip microcomputer outside is not wherein set on described circuit board.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410835559.6A CN104714404A (en) | 2014-12-30 | 2014-12-30 | Method for improving clock precision in electric energy meter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410835559.6A CN104714404A (en) | 2014-12-30 | 2014-12-30 | Method for improving clock precision in electric energy meter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104714404A true CN104714404A (en) | 2015-06-17 |
Family
ID=53413842
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410835559.6A Pending CN104714404A (en) | 2014-12-30 | 2014-12-30 | Method for improving clock precision in electric energy meter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104714404A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108020808A (en) * | 2017-11-21 | 2018-05-11 | 浙江晨泰科技股份有限公司 | A kind of highly reliable high-precision electric energy meter real-time clock design method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1909375A (en) * | 2005-08-03 | 2007-02-07 | 乐金电子(中国)研究开发中心有限公司 | Real-time clock device and current time compensating method |
CN101943885A (en) * | 2010-09-08 | 2011-01-12 | 珠海中慧微电子有限公司 | Method for correcting timing precision of RTC inside SOC in intelligent electric meter |
CN202059371U (en) * | 2011-05-13 | 2011-11-30 | 苏州银河龙芯科技有限公司 | Device for realizing compensation of closed loop temperature of clock crystal oscillator |
US8423711B1 (en) * | 2009-10-30 | 2013-04-16 | Cambridge Silicon Radio Limited | Compression solution for embedded devices and systems |
CN203101508U (en) * | 2013-02-22 | 2013-07-31 | 利尔达科技有限公司 | Single-phase remote cost control electric energy meter |
CN103499803A (en) * | 2013-09-09 | 2014-01-08 | 扬州市万泰电器厂有限公司 | Method for improving precision of built-in real-time clock of electric energy meter MCU |
-
2014
- 2014-12-30 CN CN201410835559.6A patent/CN104714404A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1909375A (en) * | 2005-08-03 | 2007-02-07 | 乐金电子(中国)研究开发中心有限公司 | Real-time clock device and current time compensating method |
US8423711B1 (en) * | 2009-10-30 | 2013-04-16 | Cambridge Silicon Radio Limited | Compression solution for embedded devices and systems |
CN101943885A (en) * | 2010-09-08 | 2011-01-12 | 珠海中慧微电子有限公司 | Method for correcting timing precision of RTC inside SOC in intelligent electric meter |
CN202059371U (en) * | 2011-05-13 | 2011-11-30 | 苏州银河龙芯科技有限公司 | Device for realizing compensation of closed loop temperature of clock crystal oscillator |
CN203101508U (en) * | 2013-02-22 | 2013-07-31 | 利尔达科技有限公司 | Single-phase remote cost control electric energy meter |
CN103499803A (en) * | 2013-09-09 | 2014-01-08 | 扬州市万泰电器厂有限公司 | Method for improving precision of built-in real-time clock of electric energy meter MCU |
Non-Patent Citations (1)
Title |
---|
梁世清,等: "内置RTC作为电能表计时钟的应用", 《自动化仪表》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108020808A (en) * | 2017-11-21 | 2018-05-11 | 浙江晨泰科技股份有限公司 | A kind of highly reliable high-precision electric energy meter real-time clock design method |
CN108020808B (en) * | 2017-11-21 | 2020-02-04 | 浙江晨泰科技股份有限公司 | High-reliability high-precision electric energy meter real-time clock design method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102928803B (en) | Electronic transformer checking device based on synchronization pulse output power supply | |
Xu et al. | A current orthogonality method to extract resistive leakage current of MOSA | |
Jordan et al. | Frequency dependent grid-impedance determination with pulse-width-modulation-signals | |
CN106292839B (en) | Real-time clock compensation circuit and calibration method, device | |
AU2012268191A1 (en) | Fault diagnostic system, fault diagnostic device, fault diagnostic method, program, storage medium, and object to be diagnosed | |
CN103116096A (en) | Integration unit for electric energy quality monitoring and synchronous sampling method of integration unit | |
CN110967658A (en) | Analog input merging unit calibrator tracing method based on digital differential method | |
CN202939299U (en) | Electronic transformer calibration device based on synchronous pulse output power supply | |
CN102981138A (en) | Electric-energy-meter-use clock chip full performance test system and method thereof | |
CN104035062B (en) | A kind of high accuracy calibration method based on ATT7022E computation chip | |
CN102841330A (en) | Calibrating method used for calibrating analytical instrument | |
CN104714404A (en) | Method for improving clock precision in electric energy meter | |
CN104297604B (en) | Pilot system and method for a kind of harmonic wave on shunt capacitor temperature rise and loss influence | |
Leferink et al. | Runaway energy meters due to conducted electromagnetic interference | |
CN106597243B (en) | A kind of probability characteristics parameter extracting method based on shelf depreciation holographic data | |
Avram et al. | Design and development of an electricity Meter Test Equipment | |
CN109815581A (en) | The appraisal procedure of aircraft electrical supply parameters test analysis algorithm software | |
Macii et al. | Accuracy of DFT-based synchrophasor estimators at off-nominal frequencies | |
CN104237637A (en) | Measuring method of blocking resistance of wave trapper | |
CN204405109U (en) | Electric Submersible Pump Unit proving installation | |
CN112379320A (en) | Lightning protection element tester calibration method based on fixed voltage timing method | |
Huang et al. | FPGA-based adaptive phase-shift compensation method for electronic instrument transformers | |
CN207638632U (en) | Spaceborne refrigerating device controller internal reset circuit based on anti-fuse FPGA | |
Zhu et al. | Development of standard device for resistive current tester for zinc oxide surge arrester | |
de Araújo et al. | Dedicated hardware implementation of a high precision power quality meter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: HOLLEY Technology Park No. 181 310023 Hangzhou city Zhejiang District of Yuhang province Wuchang Avenue Applicant after: HOLLEY METERING LIMITED Address before: HOLLEY Technology Park No. 181 310023 Hangzhou city Zhejiang District of Yuhang province Wuchang Avenue Applicant before: Holley Metering Ltd. |
|
COR | Change of bibliographic data | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150617 |