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

Method for realizing RTC high precision based on temperature sensor

A temperature sensor, high-precision technology, applied in the application of thermometers, thermometers, instruments, etc., can solve the problem of deviation between device time and actual time, achieve the effect of reducing device power consumption and prolonging device running time

Active Publication Date: 2021-04-30
山东新港电子科技有限公司
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, based on the consideration of device power consumption, cost or installation geographical environment, some devices do not have network modules and GPS modules. After the device has not been synchronized with the clock for a long time, the device time will deviate greatly from the actual time.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0029] A method for realizing RTC high precision based on a temperature sensor, the specific implementation steps of the method are as follows:

[0030] First, the error calibration of the RTC of the target device is carried out, the target device is electrically connected to the GPS module, and the target device and the GPS module are placed in the incubator at the same time, and the temperature of the incubator is set to 25°C. Use the GPS second pulse signal of the GPS module to trigger the interrupt of the external device, and trigger the RTC clock second output of the target device, so that the RTC clock of the target device and the GPS clock signal can be output synchronously. When the RTC clock signal and the GPS clock signal are output synchronously for a period of time, due to the influence of the RTC itself, the RTC clock signal and the GPS clock signal begin to have errors. Use an oscilloscope to observe the error between the RTC clock signal and the GPS clock signal ...

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 provides a method for realizing RTC high precision based on a temperature sensor, and the method comprises the following specific steps: enabling target equipment to be connected with a GPS module, and putting the target equipment and the GPS module into a constant-temperature box; enabling the target equipment RTC and the GPS clock signal to be synchronously output; calibrating the clock error of the RTC, and calculating the PPM value of the RTC crystal oscillator of the target equipment at the constant temperature of the constant temperature box; determining the type of an RTC clock crystal oscillator of the target equipment; determining related parameters and a frequency temperature curve of the RTC clock crystal oscillator, and calculating the frequency change of the crystal by utilizing a formula; collecting and transmitting the environment temperature to the target equipment, and when the environment temperature change exceeds 2 DEG C, enabling a self-calibration program in the target equipment to recalculate the PPM value of the RTC of the target equipment; calculating a new calibration value according to the corresponding relationship between the PPM error value and the RTC calibration function; and calibrating the RTC clock crystal oscillator by using the latest calibration value. Temperature compensation of the crystal oscillator can be adaptively realized according to the temperature so that power consumption can be reduced and precision of the equipment clock can be enhanced.

Description

technical field [0001] The invention relates to the technical field of realizing self-calibration and time synchronization of an RTC clock of a terminal device, in particular to a method for realizing RTC high precision based on a temperature sensor. Background technique [0002] RTC is the abbreviation of real-time clock, real-time clock chip is one of the most widely used consumer electronic products in daily life. It provides accurate real-time time for people, or provides accurate time reference for electronic systems. At present, most real-time clock chips use crystal oscillators with high precision as clock sources. [0003] For a real-time clock, the stability of the crystal oscillation frequency directly affects the accuracy of the real-time clock. The parameters used to describe the frequency characteristics of a crystal mainly include frequency tolerance, frequency temperature characteristics and frequency voltage characteristics. They describe the change of cryst...

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
IPC IPC(8): H03B5/04G01K13/00
CPCH03B5/04G01K13/00Y02D30/70
Inventor 李龙
Owner 山东新港电子科技有限公司