Correcting circuit and real-time clock circuit

A technology for calibrating circuits and real-time clocks, applied in the field of electronics, can solve problems such as waste of MCU resources and inability to correct chips, and achieve the effect of saving MCU resources

Active Publication Date: 2013-05-22
HUAWEI TECH CO LTD
View PDF7 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a correction circuit and a real-time clock circuit to solve the problem that the above-mentioned chip cannot be corrected according to the temperature when the chip is powered off, and the frequency division coefficient needs to be calculated by the MCU, resulting in a waste of MCU resources.

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
  • Correcting circuit and real-time clock circuit
  • Correcting circuit and real-time clock circuit
  • Correcting circuit and real-time clock circuit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] figure 2It is a structural schematic diagram of Embodiment 1 of the correction circuit of the present invention. The circuit of this embodiment is suitable for calibration of a quartz crystal oscillator that provides timing pulses to the RTC. refer to figure 2 The correction circuit includes: a frequency division circuit 110, a frequency division coefficient calculation circuit 120, a built-in temperature acquisition circuit 130, and a power-on and power-on detection circuit 140, and the above-mentioned circuits are all integrated in the chip; the built-in temperature acquisition circuit 130 is used to collect the temperature of the chip Temperature; power on and off detection circuit 140, used to detect whether the chip is powered off; frequency division coefficient calculation circuit 120, used to collect according to the built-in temperature acquisition circuit 130 when the power on and off detection circuit detects that the chip is powered off. According to the ...

Embodiment 2

[0036] image 3 It is a schematic structural diagram of the second embodiment of the correction circuit of the present invention, refer to image 3 On the basis of the first embodiment above, in order to realize the correction when the chip is powered on, the power-on and power-on detection circuit 140 in this embodiment is also used to detect whether the chip is powered on, and the correction circuit also includes: an external temperature collector 160 , used to collect the temperature of the quartz crystal in the quartz crystal oscillator 12 outside the chip; the temperature selection circuit 170, with the built-in temperature acquisition circuit 130, the external temperature acquisition device 160, the power-up and down-power detection circuit 140, and the frequency division coefficient calculation circuit 120 connection, for when the power-on and power-off detection circuit 140 detects that the chip is powered off, the temperature of the chip collected by the built-in temp...

Embodiment 3

[0041] Figure 4 It is a schematic structural diagram of the third embodiment of the correction circuit of the present invention, refer to Figure 4 On the basis of the first embodiment above, in order to realize the correction when the chip is powered on, the power-on and power-on detection circuit 140 in this embodiment is also used to detect whether the chip is powered on, and the correction circuit also includes: a temperature deviation calculation circuit 180, Respectively connected with built-in temperature acquisition circuit 130, power on and off detection circuit 140, frequency division coefficient calculation circuit 120; temperature deviation calculation circuit 180, for when power on and off detection circuit 140 detects that the chip is powered off, the built-in temperature acquisition circuit The temperature of the chip collected by 130 is output to the frequency division coefficient operation circuit 120, and when the power-on detection circuit 140 detects that ...

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 correcting circuit and a real-time clock circuit. The correcting circuit comprises a frequency-dividing circuit integrated in a chip, a frequency-dividing parameter operating circuit, a built-in temperature collecting circuit and an on-and-off detecting circuit. The built-in temperature collecting circuit is used for collecting temperature of a chip. The on-and-off detecting circuit is used for detecting power off of the chip. The frequency-dividing parameter operating circuit is used for calculating frequency-dividing parameters according to the temperature of the chip collected by the built-in temperature collecting circuit when the on-and-off detecting circuit detects the power off of the chip, and outputting the frequency-dividing parameters to the frequency-dividing circuit. The frequency-dividing circuit is used for providing counting impulses to a real-time clock according to the frequency-dividing parameters outputted by the frequency-dividing parameter operating circuit. The correcting circuit and the real-time clock circuit solve the problem that the correcting circuit employing the prior arts stops working when the chip is powered off, and improve accuracy of the counting circuit.

Description

technical field [0001] The invention relates to electronic technology, in particular to a correction circuit and a real-time clock circuit. Background technique [0002] Usually the real time clock (Real Time Clock, referred to as RTC) uses a 32.768 kilohertz (KHz) quartz crystal oscillator to provide timing pulses, because the oscillating frequency output of the 32.768KHz quartz crystal in the quartz crystal oscillator will vary under different temperatures. Different frequency deviation, for RTC, frequency deviation means time deviation, and this deviation is accumulated with the increase of time, so for RTC that uses 32.768KHz quartz crystal oscillator to provide timing pulse, If high-precision timekeeping is to be achieved, it is necessary to correct the frequency deviation of the quartz crystal oscillator according to the temperature. [0003] figure 1 A schematic diagram of the usual calibration scheme. Specifically, the correction scheme adopted when performing fre...

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): G06F1/14
CPCG06F1/32G06F1/14H03L1/00G04G3/02H03K21/02G04G3/04
Inventor 刘锦秀郭书苞李定
Owner HUAWEI TECH CO LTD
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