Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for improving RTC calibration precision based on time domain piecewise interpolation compensation

A technology of interpolation compensation and time-domain segmentation, which is applied to electronic timers, time indicators, instruments, etc., can solve the problems of calibration accuracy loss, etc., and achieve the effect of improving accuracy, high precision, and clock accuracy

Active Publication Date: 2021-04-30
江阴长仪集团有限公司
View PDF19 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At different temperature points, different coefficients can be used to achieve calibration, and since these coefficients are all values ​​at a certain temperature point, such as M1 is the offset value at 50°C, if the temperature becomes 55°C, due to the quadratic curve The characteristics (depending on whether T0 is accurate) will inevitably lead to the loss of calibration accuracy, and if we have a measurement error when measuring the temperature, it will also lead to the loss of calibration accuracy. In many cases, we hope to obtain an error accuracy of 0.08s / day But the actual calibration accuracy is 0.16s / day

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
  • Method for improving RTC calibration precision based on time domain piecewise interpolation compensation
  • Method for improving RTC calibration precision based on time domain piecewise interpolation compensation
  • Method for improving RTC calibration precision based on time domain piecewise interpolation compensation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] like Figures 1 to 2 Shown is an embodiment of a method for improving RTC calibration accuracy based on time-domain segment interpolation compensation of the present invention, including the following steps:

[0037] Step 1. Mathematical modeling: establish the mathematical model formula of the n-degree curve of the relationship between the RTC crystal oscillator frequency error compensation value Ferr and the temperature T:

[0038] Ferr=C n × T n +C n-1 × T n-1 +C n-2 × T n-2 +…+C 1 ×T+C 0 ;

[0039] Among them, C n , C n-1 , C n-2 ,...,C 1 , C 0 Undetermined coefficient for error compensation;

[0040] Step 2. Crystal oscillator verification: Obtain the Ferr verification value of the RTC crystal oscillator at n+1 different temperature points through the verification device: Ferr 1 , Ferr 2 , Ferr 3 ,…Ferr n , Ferr n+1 ;

[0041] Step 3, establishing an equation: Substituting the Ferr calibration value obtained in step 2 and the corresponding tempe...

Embodiment 2

[0060] This embodiment is used to establish the cubic curve mathematical model formula of the relationship between the frequency error compensation value Ferr of the RTC crystal oscillator and the temperature T, and perform RTC correction and compensation according to the mathematical model formula, which does not depend on the inherent B value and T0 value of the crystal oscillator, that is, During calibration, temperature measurement errors can be eliminated.

[0061] After obtaining the compensation value according to the mathematical model formula, you need to write this value into the register of the chip, and the chip will perform corresponding frequency compensation according to this value, but the compensation step size of many chips is relatively large, reaching 0.96PPM , which is 0.08s / day, if you want to increase it to 0.24ppm, which is 0.02s / day, you must use an interpolation algorithm to further improve the calibration accuracy.

[0062] Specific steps are as foll...

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 RTC calibration precision based on time domain piecewise interpolation compensation, and the method comprises the steps: mathematical modeling, crystal oscillator verification, equation building, equation solving, compensation value calculation, and time domain piecewise interpolation compensation. The time domain segmented interpolation compensation method comprises the following steps: (1) taking a minimum compensation step length which can be written into a compensation register in an RTC chip as a reference compensation value; (2) setting a compensation time domain period with a preset length, and dividing the compensation time domain period into a plurality of time segments; wherein the plurality of time segments are composed of k1 positive compensation time segments, k2 negative compensation time segments and k3 zero compensation time segments; (3) performing segment compensation: adding a reference compensation value in a compensation register in each positive compensation time segment; in each negative compensation time segment, subtracting one reference compensation value from the compensation register; keeping the value in the compensation register unchanged in each zero compensation time segment. According to the invention, the RTC calibration precision is improved.

Description

technical field [0001] The invention relates to the technical field of real-time clock calibration, in particular to a method for improving RTC calibration accuracy based on time-domain segmental interpolation compensation. Background technique [0002] With the further liberalization of the electricity sales business, spot trading will surely occupy a core position in the future electricity market. The smart energy meter is the basic unit of the entire power grid. The realization of spot transactions must be carried out by collecting the basic data of smart meters for load analysis. The essence of spot transactions is the division and calculation of loads in different time periods. This will inevitably require the smart energy meter to have an accurate real-time clock function. Nowadays, general smart energy meters have real-time clock functions. According to industry standards, the accuracy is required to be less than 1s / day (11.5ppm) within the working temperature range,...

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 Applications(China)
IPC IPC(8): G04G5/00
CPCG04G5/00
Inventor 张晓东杨国烨华号杨玉勇陶英浩钱晓明张晨云
Owner 江阴长仪集团有限公司