CN1801008A - Automatic time correction method for electronic device - Google Patents

Automatic time correction method for electronic device Download PDF

Info

Publication number
CN1801008A
CN1801008A CN 200410099355 CN200410099355A CN1801008A CN 1801008 A CN1801008 A CN 1801008A CN 200410099355 CN200410099355 CN 200410099355 CN 200410099355 A CN200410099355 A CN 200410099355A CN 1801008 A CN1801008 A CN 1801008A
Authority
CN
China
Prior art keywords
time
electronic installation
electronic
standard
central processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200410099355
Other languages
Chinese (zh)
Inventor
许世法
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kunda Computer Technology Kunshan Co Ltd
Original Assignee
Kunda Computer Technology Kunshan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kunda Computer Technology Kunshan Co Ltd filed Critical Kunda Computer Technology Kunshan Co Ltd
Priority to CN 200410099355 priority Critical patent/CN1801008A/en
Publication of CN1801008A publication Critical patent/CN1801008A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Electric Clocks (AREA)

Abstract

The invention discloses an automatic time correction method of electronic device, which comprises the following parts: time sampling unit, CPU, storage coupling the CPU and display unit, wherein the electronic device adapts the time sampling unit to obtain the standard time and compares the system time with the standard time to calculate the time error of electronic system time, which corrects the system time according to the correction period. The invention improves the time precision through common quartz oscillator, which overcomes the different influences of electronic element parameter to reduce the cost of electronic device.

Description

Automatic time correction method for electronic device
[technical field]
The relevant a kind of automatic time correction method of the present invention especially is applied to the automatic time correction method in the electronic installation.
[background technology]
Development along with mechanics of communication, electronic installation popularity rate with time clock feature improves day by day, wherein the importance of the accuracy of clock in the actual use of electronic installation improves day by day, all relies on the accuracy of clock as the realization of functions such as present p.m.entry, alarm clock.And the accuracy of present clock depends primarily on the precision of the oscillator that uses in the clock circuit, and the common quartz (controlled) oscillator of many at present uses, its frequency error is at ± 20-50ppm (1,000,000/20-50), as the error with 20ppm is example, the time error that produce every day will be 1.728 seconds, the year error then is accumulated as 630.72 seconds, will be for 10.5 minutes, so can bring some inconvenience to the user.
At this problem, industry takes to use the quartz (controlled) oscillator of degree of precision or two kinds of methods using trimmer or similar elements that the frequency of ordinary oscillator is finely tuned.The deficiency of first method is: even use high-precision quartz (controlled) oscillator, the load capacitance of oscillatory circuit is interdependent in difference, so in fact can not obtain the high precision identical with quartz (controlled) oscillator, therefore no matter use how expensive element, also can not obtain the time of pin-point accuracy.The weak point of second method is: though use the general quartz (controlled) oscillator cost can be too not high, but need frequency regulation arrangement, as vernier capacitor, this has caused that component costs increases and makes the increase of frequency adjustment process comparatively loaded down with trivial details defective, particularly number of elements can cause obstruction to electronic device miniaturization.Even same electron-like element of while, but its electrical parameter is also inequality, so the error that causes is also inequality, so above-mentioned two kinds of methods all can not overcome this problem.
In view of this, in fact being necessary to provide a kind of neither can increase the electronic installation cost, and applicable to the automatic time correction method for electronic device of the electronic component with different electrical parameters.
[summary of the invention]
The object of the invention is to provide a kind of neither can increase the electronic installation cost, and applicable to the automatic time correction method for electronic device of the electronic component with different electrical parameters.
For achieving the above object, implement the time-sampling unit that electronic installation of the present invention comprises the external electronic standard time that is used to sample at least, produce the clock unit of electronic apparatus system time, the storer of storage system time, standard time and compensation cycle, the central processing unit of display unit and control said units, the automatic bearing calibration of electronic installation time of the present invention may further comprise the steps:
The time adjustment cycle is set, and is stored in the storer;
Electronic installation is by first standard time of time-sampling unit sampling T1, and is stored in the storer, and central processing unit is set at this first standard time T1 the system time of electronic installation simultaneously;
Electronic installation is by second standard time of time-sampling unit sampling T2, and the second standard time T2 is stored in the storer, and central processing unit also is stored in electronic apparatus system time t1 in the storer simultaneously;
Electronic installation calculates the time interval Δ T1 between the second standard time T2 and the first standard time T1;
Electronic installation calculates the system time t1 of electronic installation and the time interval Δ T2 between the first standard time T1;
Central processing unit judges whether Δ T1 is identical with Δ T2;
Inequality as Δ T1 and Δ T2, then calculate the error of the unit interval of the relative Δ T1 of Δ T2;
The second standard time T2 is set to the system time of electronic installation;
The system time of electronic installation is adjusted according to the time adjustment cycle, adjustment amount is the product of the error of calibration cycle and unit interval;
Be made as the system time of electronic installation the adjusted time.
Compared with prior art, the present invention utilizes the system time of electronic installation and standard time to compare, thereby judge system time error, and regularly the system time of electronic installation is proofreaied and correct, thereby can regularly time error in time be eliminated, even therefore the clock circuit of electronic installation adopts general quartz (controlled) oscillator, can not bring inconvenience to the user yet, so need not adopt comparatively expensive quartz (controlled) oscillator or other vernier capacitor etc., therefore can not increase the cost of electronic installation, can overcome electronic component simultaneously yet because of the different influences that cause of electrical parameter.
For purpose of the present invention, structural attitude and function thereof are had further understanding, conjunction with figs. is described in detail as follows now:
[description of drawings]
Fig. 1 is the composition frame chart of electronic installation of the present invention.
Fig. 2 is the process flow diagram of automatic time correction method for electronic device of the present invention.
[embodiment]
Be elaborated to of the present invention below with reference to Fig. 1 and Fig. 2, in the following description, electronic installation can be PDA(Personal Digital Assistant) with time clock feature, smart phone etc.
See also shown in Figure 1ly, implement electronic installation 1 of the present invention and comprise:
External interface 10 is used for being connected with external electronic (not shown);
Time-sampling unit 11 couples with external interface 10, in order to the standard time of the external electronic of will sampling;
Storer 12 gives standard time of device in order to system time, time adjustment cycle and the external electric of storage electronics 1;
Clock unit 13 is in order to produce the system time of electronic installation 1;
Display unit 14 is in order to the system time of display electronics assemblies 1;
Central processing unit 15 couples with above-mentioned each unit, in order to control the running of above different units.
See also shown in Figure 2ly, the automatic time correction method of electronic installation 1 of the present invention may further comprise the steps:
Time adjustment cycle P is set, and is stored in the storer 12 of electronic installation 1, the time adjustment cycle, P for example can be set to 10 seconds (step 100);
Electronic installation 1 is connected with external electronic by external interface 10, the first standard time T1 of time-sampling unit 11 sampling external electronic, and be stored in the storer 12, central processing unit 15 is set at this first standard time T1 the system time (step 101) of electronic installation 1 simultaneously;
Electronic installation 1 is connected with external electronic once more by external interface 10, the second standard time T2 of time-sampling unit 11 sampling external electronic, and the second standard time T2 is stored in the storer 12, and central processing unit 15 also is stored in the system time t1 of clock unit 13 in the storer 12 (step 102) simultaneously;
The time interval Δ T1 (step 103) that central processing unit 15 calculates between the second standard time T2 and the first standard time T1;
Central processing unit 15 calculates the system time t1 of electronic installation 1 and the time interval Δ T2 (step 104) between the first standard time T1;
Central processing unit 15 is judged Δ T1 and Δ T2 whether identical (step 105), is set to the system time of electronic installation 1 as the identical then second standard time T2, and shows (step 110) on display unit 14;
Inequality as Δ T1 and Δ T2, then calculate the error of the unit interval of the relative Δ T1 of Δ T2, i.e. the ratio (step 106) of Δ T2 and Δ T1;
Central processing unit 15 second standard time T2 are set to the system time (step 107) of electronic installation 1;
Central processing unit 15 is adjusted the system time of electronic installation 1 according to time adjustment cycle P, and adjustment amount is the product (step 108) of the error of calibration cycle P and unit interval;
The adjusted time is made as the system time of electronic installation 1 and on display unit 14, shows (step 109).
In the above-described embodiment, electronic installation 1 is to be connected with external electronic by its external interface 10, and this electronic installation 1 also can be connected with external electronic or standard time source (as timing radio station) by wireless mode certainly, to obtain the standard time.
Compared with prior art, the present invention utilizes the standard time of electronic installation and external electronic to carry out Relatively, thus judge system time error, and regularly the system time of electronic installation is carried out automatically Proofread and correct, thereby can regularly time error in time be eliminated, even therefore the clock circuit of electronic installation adopts one As quartz (controlled) oscillator, can not bring inconvenience to the user yet, so need not adopt comparatively expensive quartz to shake Swing device or other trimmer etc., therefore can not increase the cost of electronic installation, also can overcome electricity simultaneously Sub-element is because of the different impacts that cause of electrical parameter.

Claims (5)

1, a kind of automatic time correction method for electronic device, this electronic installation comprises the time-sampling unit that is used for the standard for manual sampling time at least, produce the clock unit of electronic apparatus system time, the storer of storage system time, standard time and compensation cycle, the central processing unit of display unit and control said units is characterized in that this automatic time correction method comprises the steps:
The time adjustment cycle is set, and is stored in the storer;
Electronic installation is by the time-sampling unit first standard time T1 that samples from the outside, and is stored in the storer, and central processing unit is set at this first standard time T1 the system time of electronic installation simultaneously;
Electronic installation is by the time-sampling unit second standard time T2 that samples from the outside, and the second standard time T2 is stored in the storer, and central processing unit also is stored in electronic apparatus system time t1 in the storer simultaneously;
Central processing unit calculates the time interval Δ T1 between the second standard time T2 and the first standard time T1;
Central processing unit calculates the system time t1 of electronic installation and the time interval Δ T2 between the first standard time T1;
Central processing unit judges whether Δ T1 is identical with Δ T2;
Inequality as Δ T1 and Δ T2, then calculate the error of the unit interval of the relative Δ T1 of Δ T2;
The second standard time T2 is set to the system time of electronic installation;
The system time of electronic installation is adjusted according to the time adjustment cycle, adjustment amount is the product of the error of calibration cycle and unit interval;
Be made as the system time of electronic installation the adjusted time.
2, automatic time correction method for electronic device as claimed in claim 1 is characterized in that: this method comprises that also the system time with electronic installation is presented at the step on the display unit.
3, as claim 1 or 2 automatic time correction method for electronic device, it is characterized in that: judge that as the electronic installation central processing unit Δ T1 is identical with Δ T2, then the second standard time T2 is set to the system time of electronic installation, and demonstrates on display unit;
4, as claim 1,2 or 3 described automatic time correction method for electronic device, it is characterized in that: this electronic installation is provided with an external interface, and electronic installation is connected with an external electronic by this external interface.
5, as claim 1,2 or 3 described automatic time correction method for electronic device, it is characterized in that: this electronic installation is connected with external electronic or standard time source by wireless mode.
CN 200410099355 2004-12-30 2004-12-30 Automatic time correction method for electronic device Pending CN1801008A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410099355 CN1801008A (en) 2004-12-30 2004-12-30 Automatic time correction method for electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410099355 CN1801008A (en) 2004-12-30 2004-12-30 Automatic time correction method for electronic device

Publications (1)

Publication Number Publication Date
CN1801008A true CN1801008A (en) 2006-07-12

Family

ID=36811055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410099355 Pending CN1801008A (en) 2004-12-30 2004-12-30 Automatic time correction method for electronic device

Country Status (1)

Country Link
CN (1) CN1801008A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455656A (en) * 2010-10-22 2012-05-16 比亚迪股份有限公司 Automobile clock calibration system and calibration method
CN102497665A (en) * 2011-12-28 2012-06-13 深圳市五巨科技有限公司 Mobile terminal time correction method and apparatus thereof
CN103092068A (en) * 2011-11-03 2013-05-08 珠海精准电子有限公司 Timing method and timing system
CN104618737A (en) * 2013-11-01 2015-05-13 深圳中兴力维技术有限公司 Streaming media system clock slow synchronization method and streaming media system clock slow synchronization device
CN106325059A (en) * 2016-10-26 2017-01-11 中国计量大学 Bluetooth calibration method of digital clock
CN107894703A (en) * 2017-11-15 2018-04-10 广东乐心医疗电子股份有限公司 Wearable device time calibration method and wearable device
CN109839816A (en) * 2017-11-27 2019-06-04 北京通号国铁城市轨道技术有限公司 A kind of calibration method and device of local zone time
CN109918337A (en) * 2019-02-21 2019-06-21 广州技象科技有限公司 A kind of time automatic calibrating method applied to SCM system
CN111580379A (en) * 2020-05-11 2020-08-25 威胜集团有限公司 Time correction method, device and computer readable storage medium
CN111694399A (en) * 2019-03-15 2020-09-22 瑞鼎科技股份有限公司 Method and device for adjusting display clock
CN112286039A (en) * 2020-12-30 2021-01-29 深圳市越芯电子有限责任公司 Clock calibration method and device and readable storage medium
CN112416756A (en) * 2020-11-03 2021-02-26 广州六环信息科技有限公司 Clock error testing method, device and equipment for vehicle-mounted system
CN112462590A (en) * 2020-12-04 2021-03-09 武汉轻工大学 Date self-checking system with automatic time calibration function chip
CN112596367A (en) * 2020-12-29 2021-04-02 黄进海 Electronic clock calibration method and device

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455656B (en) * 2010-10-22 2014-03-19 比亚迪股份有限公司 Automobile clock calibration system and calibration method
CN102455656A (en) * 2010-10-22 2012-05-16 比亚迪股份有限公司 Automobile clock calibration system and calibration method
CN103092068A (en) * 2011-11-03 2013-05-08 珠海精准电子有限公司 Timing method and timing system
WO2013063960A1 (en) * 2011-11-03 2013-05-10 珠海精准电子有限公司 Timing method and system thereof
CN103092068B (en) * 2011-11-03 2014-12-31 珠海精准电子有限公司 Timing method and timing system
CN102497665A (en) * 2011-12-28 2012-06-13 深圳市五巨科技有限公司 Mobile terminal time correction method and apparatus thereof
CN102497665B (en) * 2011-12-28 2014-12-03 深圳市五巨科技有限公司 Mobile terminal time correction method and apparatus thereof
CN104618737B (en) * 2013-11-01 2019-09-20 深圳力维智联技术有限公司 The slow synchronous method of stream media system clock and its device
CN104618737A (en) * 2013-11-01 2015-05-13 深圳中兴力维技术有限公司 Streaming media system clock slow synchronization method and streaming media system clock slow synchronization device
CN106325059A (en) * 2016-10-26 2017-01-11 中国计量大学 Bluetooth calibration method of digital clock
CN107894703A (en) * 2017-11-15 2018-04-10 广东乐心医疗电子股份有限公司 Wearable device time calibration method and wearable device
CN109839816A (en) * 2017-11-27 2019-06-04 北京通号国铁城市轨道技术有限公司 A kind of calibration method and device of local zone time
CN109839816B (en) * 2017-11-27 2021-01-15 通号城市轨道交通技术有限公司 Timing method and device for local time
CN109918337A (en) * 2019-02-21 2019-06-21 广州技象科技有限公司 A kind of time automatic calibrating method applied to SCM system
CN111694399A (en) * 2019-03-15 2020-09-22 瑞鼎科技股份有限公司 Method and device for adjusting display clock
CN111694399B (en) * 2019-03-15 2022-02-25 瑞鼎科技股份有限公司 Method and device for adjusting display clock
CN111580379A (en) * 2020-05-11 2020-08-25 威胜集团有限公司 Time correction method, device and computer readable storage medium
CN112416756A (en) * 2020-11-03 2021-02-26 广州六环信息科技有限公司 Clock error testing method, device and equipment for vehicle-mounted system
CN112416756B (en) * 2020-11-03 2024-05-14 广州六环信息科技有限公司 Clock error testing method, device and equipment of vehicle-mounted system
CN112462590A (en) * 2020-12-04 2021-03-09 武汉轻工大学 Date self-checking system with automatic time calibration function chip
CN112596367A (en) * 2020-12-29 2021-04-02 黄进海 Electronic clock calibration method and device
CN112286039A (en) * 2020-12-30 2021-01-29 深圳市越芯电子有限责任公司 Clock calibration method and device and readable storage medium

Similar Documents

Publication Publication Date Title
CN1801008A (en) Automatic time correction method for electronic device
US7924104B2 (en) Methods and apparatus for compensating a clock bias in a GNSS receiver
US8669890B2 (en) Method and apparatus of estimating/calibrating TDC mismatch
US9258487B2 (en) Auto calibration method and OIS camera using the same
EP1341311A2 (en) Signal processing apparatus for encoder
CN1052083C (en) Correcting time indication of electronic watch
US20080244301A1 (en) Real-time clock correction methods and apparatus
CN106936425B (en) Clock frequency holding method and device
EP1304603A3 (en) Time error compensating apparatus and method in a terminal
CN1904642A (en) Apparatus and method for compensating the drift of a local clock used as sampling frequency
CN101034914A (en) Method and device for the RF performance temperature-self-adaptive compensation of the mobile communication terminal
CN101118279A (en) Time autocorrection system and method for electronic device
US8368480B2 (en) Phase locked loop circuits and gain calibration methods thereof
CN1614894A (en) Video signal processing system including analog to digital converter and related method for calibrating analog to digital converter
EP2370830B1 (en) Methods and apparatus for obtaining gnss time in a gnss receiver
CN113114108A (en) Method for estimating crystal oscillator frequency
CN1992529A (en) Method for synthesizing high accuracy digital time-frequency standard
CN102313566A (en) Capacitive sensor with correction mechanism and capacitive sensing method
CN101075146A (en) Method and apparatus for correcting
CN114500209B (en) Frequency offset compensation method, system, electronic equipment and computer readable storage medium
JPH05251898A (en) Parts deciding method of electronic parts mounting machine
JP2012058115A (en) Management apparatus, management method, and management program
WO2010036376A1 (en) Temperature compensation method and apparatus for an output frequency signal based on successive approximation
KR20140104065A (en) Optical image stabilizer for camera module and method thereof
US20190140629A1 (en) Phase detector

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication