Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method to improve the precision of built-in real-time clock of energy meter mcu

A technology of real-time clock and electric energy meter, which is applied to measuring devices, measuring electrical variables, instruments, etc., and can solve the problems of inaccurate compensation, influence of calibration accuracy, and calibration.

Active Publication Date: 2015-09-09
YANGZHOU WANTAI ELECTRIC TECH CO LTD
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Chinese patent CN102176112A proposes a method for accurate timekeeping of a MCU built-in RTC real-time clock; although Deng Qianzhong's master's degree thesis "Research and Design of Self-Calibrating Real-Time Clock RTC" is a correction method proposed for hard clock design, the principle is the same as that of the Chinese patent The method proposed by CN102176112A is the same, and the deviation of crystal oscillator frequency with temperature is regarded as a parabola whose symmetry axis is parallel to the Y axis, such as Image 6 As shown, this is also the crystal frequency error model commonly used at present, but there is a certain discrepancy with the actual crystal frequency error, so the calibration accuracy will also be affected to a certain extent
Since there is a certain difference between the actual crystal oscillator curve and the typical crystal temperature-accuracy curve (the actual crystal oscillator curve is as follows figure 1 As shown), this will cause the final compensation amount to be unable to calibrate the frequency accurately, resulting in timing errors

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method to improve the precision of built-in real-time clock of energy meter mcu
  • A method to improve the precision of built-in real-time clock of energy meter mcu
  • A method to improve the precision of built-in real-time clock of energy meter mcu

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The present invention as Figure 1-4 As shown: the electric energy meter includes an MCU, a crystal oscillator and a power management unit, and the power management unit is connected to a battery and a regulated power supply through a power supply circuit;

[0033] It includes the following steps: calculating the compensation amount and correcting the clock;

[0034] The calculation of the compensation amount is carried out according to the following process:

[0035] 1) Measure the frequency deviation of the actual crystal oscillator at different temperatures;

[0036] 2) Draw a sketch of the temperature-frequency deviation curve and find out the turning temperature T 0 ;

[0037] 3), respectively for T 0 The frequency deviation measured on both sides is used for curve fitting to obtain the corresponding curvature constant.

[0038] 3.1), when T0 When , the curvature constant K of the temperature and frequency offset function is fitted according to the measured va...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for improving the precision of a built-in real-time clock of an electric energy meter MCU. Based on the practical crystal oscillator frequency, fine compensation can be achieved. An electric energy meter comprises the MCU, a crystal oscillator and a power management unit. The method for improving the precision of the built-in real-time clock of the electric energy meter MCU includes the following steps of compensation amount calculation and clock calibration. Compensation amount calculation is performed according to the following processes that firstly, frequency deviations of the practical crystal oscillator under different temperatures are measured; secondly, a temperature-frequency deviation curve sketch is drawn, and the turn temperature T0 is found out; thirdly, the measured frequency deviations of the two sides of T0 undergo curve fitting, and a corresponding buckling constant is obtained; fourthly, a temperature-frequency deviation function table is formed according to a function of the third process, the frequency deviation value of the current temperature can be obtained through the temperature-frequency deviation function table according to the practical environmental temperature, and the frequency deviation value serves as the compensation amount for calibrating the clock under the practical environmental temperature. According to the method for improving the precision of the built-in real-time clock of the electric energy meter MCU, an accurate compensation value can be obtained according to errors of the practical crystal oscillator, and therefore the precision of the clock is improved.

Description

technical field [0001] The invention relates to a method for improving the precision of a real-time clock (RTC) built into an MCU of an electric energy meter. Background technique [0002] As a metering product for electric energy metering and electricity bill settlement, smart energy meters are required to have stable and accurate metering performance, so as to ensure that the interests of both electricity consumers and power suppliers are not damaged. At present, smart energy meters generally have time-sharing and multi-rate energy meters, and the requirements for time accuracy are getting higher and higher, and the problem of daily timing errors is also more prominent. In the rectification notice issued by the supplier, both Article 2 "Components Link" and Article 11 "Design and Manufacturing Process Link" focused on the problem of daily timekeeping error out-of-tolerance, requiring key rectification. According to the technical specifications of the smart energy meter of...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G01R35/04
Inventor 潘建华郎干勇李香朱世林徐振伟吴静王应娆
Owner YANGZHOU WANTAI ELECTRIC TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products