Clock-temperature-error compensation method and system thereof

A temperature error and clock error technology, applied in the field of clock temperature error compensation method and system thereof, to achieve the effects of reducing production cost, wide application range and low price

Inactive Publication Date: 2012-07-18
HUIZHOU DESAY SV AUTOMOTIVE
View PDF7 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The invention provides a clock crystal oscillator temperature error compensation method and its system to solve the existing technical problem that adjusting the frequency of the clock oscillator according to the external temperature requires a clock chip to support the adjustable frequency of the oscillator

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
  • Clock-temperature-error compensation method and system thereof
  • Clock-temperature-error compensation method and system thereof
  • Clock-temperature-error compensation method and system thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.

[0035] Such as figure 2 Shown is the system structure diagram of the embodiment of the present invention. This embodiment is a clock crystal oscillator temperature error compensation system, including:

[0036] Thermistor 1, central controller 2 and real-time clock chip 3, the analog-to-digital conversion interface of central controller 2 is connected to thermistor 1, and receives the temperature measurement value measured by thermistor 1, and the external interrupt of central controller 2 The input port is connected to the interrupt output port of the real-time clock chip 3, and the real-time clock chip 4 is connected to the clock crystal oscillator 5:

[0037] Central controller 2 includes:

[0038] The temperature initialization unit is used to receive and store the first temperature value obtained from the temperature measurem...

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 relates to the field of related clock error compensation technology, and in particular relates to a clock-temperature-error compensation method and a system thereof. The clock-temperature-error compensation method comprises the following steps of: measuring the temperature at initial time, obtaining and storing a first temperature value, and storing the first temperature value; after measuring time T, measuring the temperature again and obtaining a second temperature value; adopting the first temperature value or the second temperature value as the measuring temperature, and according to the relation between the measuring temperature and the clock crystal-oscillator error, calculating and obtaining an error value of a clock; calculating a clock error of the measuring time T; repeatedly executing the steps from step 2 to step 4, till the clock error accumulated value is larger than a preset clock adjusting threshold, adding the value same as the clock adjusting threshold for the clock, and executing the steps from step 2 to step 4 again. The clock-temperature-error compensation method has the advantages that the clock compensation can be realized only by using the common circuit and algorithm without needing to use GPS or a function clock chip with expensive price and adjustable oscillating circuit frequency, so that the production cost is greatly reduced.

Description

technical field [0001] The invention relates to the related technical field of clock error compensation, in particular to a clock temperature error compensation method and system thereof. Background technique [0002] The crystal oscillator frequency is easily affected by the external temperature. General clock chips do not have temperature compensation function, so temperature changes will directly affect the accuracy of the clock. The vehicle environment is relatively harsh, and the ambient temperature in the vehicle varies greatly. In such a harsh environment, it is difficult to realize a high-precision clock. In cars with high configuration, in order to solve the problem of clock accuracy, the method of synchronizing the local clock with the GPS clock is generally adopted. But now most cars are not equipped with a GPS module, and the clock cannot be synchronized with GPS. Now there are clock chips with temperature compensation function on the market, but they are muc...

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): G04G7/02G04G3/02G04G3/04
Inventor 张泽明
Owner HUIZHOU DESAY SV AUTOMOTIVE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products