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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


