CN102520608B - Method and device for automatically correcting automobile vehicle-mounted clock - Google Patents
Method and device for automatically correcting automobile vehicle-mounted clock Download PDFInfo
- Publication number
- CN102520608B CN102520608B CN201110426958.3A CN201110426958A CN102520608B CN 102520608 B CN102520608 B CN 102520608B CN 201110426958 A CN201110426958 A CN 201110426958A CN 102520608 B CN102520608 B CN 102520608B
- Authority
- CN
- China
- Prior art keywords
- value
- time
- clock
- setting
- deviation value
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 239000013078 crystal Substances 0.000 claims description 30
- 230000010355 oscillation Effects 0.000 claims description 29
- 230000001105 regulatory effect Effects 0.000 claims description 14
- 238000009825 accumulation Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 5
- 238000005070 sampling Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003203 everyday effect Effects 0.000 description 2
- 238000011897 real-time detection Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000001143 conditioned effect Effects 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005684 electric field Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000007493 shaping process Methods 0.000 description 1
- 230000002277 temperature effect Effects 0.000 description 1
Images
Landscapes
- Electric Clocks (AREA)
Abstract
The invention relates to a method for automatically correcting an automobile vehicle-mounted clock. The method comprises the following steps of: obtaining a current time deviation value of the vehicle-mounted clock within unit time; accumulating the time deviation value with a value in a specified register, and storing the accumulation result in the register; judging whether the numerical value stored in the register reaches a first set time value, if so, executing the next step, otherwise, returning back to the first step; acquiring the current time of the clock, interpolating the first set time value on the time, and then, returning back the value to the clock; subtracting the first set time value from the value in the specified register, and storing the result in the specified register and returning back to the first step. The invention further relates to a device for realizing the method. The implementation of the method and the device for automatically correcting the automobile vehicle-mounted clock of the invention causes the following the benefits of: avoiding or reducing manual regulation on the clock, and making the clock to be more convenient to use.
Description
Technical field
The present invention relates to vehicle electric field, more particularly, relate to method and the device of the automobile mounted clock display of a kind of automatic calibration.
Background technology
Development along with economy and technology, electronic product obtains applying comparatively widely in auto industry, wherein, in general, in automotive electronics except representing the instrument display device of parameter, state and multifunctional and multipurpose of various automobiles, all also be provided with a kind of electronic clock, it is that numeral is presented on display screen by time representation, for user.Traditional auto clock display screen, the composition of its internal circuit is comparatively fixing, all must have clock oscillator, this oscillator produces pulse as the standard of timing, by processor, to its step-by-step counting, and obtain representing the numeral of current time, and then this numeral is shown on display screen.These clock oscillators are common is crystal oscillator.Due to the inherent characteristic of crystal in crystal oscillator, in the error of high and low temperature state, be-0.04 * 10
-6/ ℃
2, can not meet the degree of accuracy of clock timing, the performance plot of crystal oscillator (referring to Fig. 1).Like this, because the difference of temperature causes the pulse change of crystal oscillator, may occur in some cases that the timing of every day is slack-off and surpass 10 seconds, monthly timing is slack-off surpasses 5 minutes for accumulative total.Like this, in order to guarantee the accuracy of clock timing, just must be by manually readjusting clock display.This has brought larger inconvenience to user.
Summary of the invention
The technical problem to be solved in the present invention is, the defect that makes clock become inaccurate, make troubles to user for the above-mentioned impact due to temperature of prior art, provides a kind of method and the device that can automatically eliminate the automobile mounted clock display of automatic calibration that clock is inaccurate, user is easy to use bringing due to temperature variation.
The technical solution adopted for the present invention to solve the technical problems is: construct the method for the automobile mounted clock of a kind of automatic calibration, comprise the steps:
A) obtain the ambient temperature value at current vehicle-mounted clock place in the unit interval and according to described ambient temperature value, search and obtain the time deviation value that the crystal oscillation frequency variation in its corresponding unit interval brings;
B) described time deviation value is added up and is stored in this register with specifying the value in register;
Whether the numerical value that C) judges described appointment register-stored reaches the first setting-up time value, in this way, carries out next step, otherwise returns to steps A);
D) obtain the present clock time, and described in interpolation, after the first setting-up time value, this value is returned to clock on this time;
E) value in described appointment register deducts described the first setting-up time value, stores in described appointment register; Return to steps A).
In the method for the automobile mounted clock of automatic calibration of the present invention, described steps A) further comprise:
A1) within the unit interval, according to the sample frequency of setting, obtain the magnitude of voltage that represents environment temperature;
A2) magnitude of voltage of obtaining described in foundation is tabled look-up and is obtained the ambient temperature value of its representative;
A3) ambient temperature value obtaining described in foundation is tabled look-up and is obtained the time deviation value in the unit interval at this temperature.
In the method for the automobile mounted clock of automatic calibration of the present invention, described steps A 3) further comprise:
A31) according to described in the ambient temperature value that obtains table look-up and obtain at this temperature the deviation value of crystal oscillation frequency under crystal oscillation frequency and standard temperature;
A32) said frequencies deviation value and unit interval multiply each other and obtain the time deviation value in the described lower unit interval of temperature.
In the method for the automobile mounted clock of automatic calibration of the present invention, described the first setting-up time value is 1 second, described step C) in judge in described appointment register whether time value is totally greater than 1 second.
In the method for the automobile mounted clock of automatic calibration of the present invention, described step D) in, further comprise the steps:
D1) obtain the current time value of clock;
D2) in current time value, directly increase by the first setting-up time value;
D3) time value after regulating is returned to clock and shows as current time value.
In the method for the automobile mounted clock of automatic calibration of the present invention, described step e) in, further comprise the steps:
E1) obtain the absolute value of numerical value in described appointment register;
E2) in the described absolute value of obtaining, deduct the first setting-up time value and using the surplus value obtaining as absolute value, return to described appointment register.
The invention still further relates to a kind of device of realizing said method, comprising:
Time deviation value is obtained unit: for obtaining the ambient temperature value at current vehicle-mounted clock place in the unit interval and according to described ambient temperature value, searching and obtain the time deviation value that the crystal oscillation frequency variation in its corresponding unit interval brings;
Time deviation value accumulated unit: for described time deviation value is added up and is stored in this register with specifying the value in register;
Time deviation value judging unit: for judging whether the numerical value of described appointment register-stored reaches the first setting-up time value;
Present clock is obtained and regulon: for obtaining the present clock time, and described in interpolation, after the first setting-up time value, this value is returned to clock on this time;
Time deviation value clearing cell: the value for described appointment register deducts described the first setting-up time value, stores in described appointment register.
In device of the present invention, described time deviation value is obtained unit and is further comprised:
Magnitude of voltage is obtained module: for obtain according to the sample frequency of setting the magnitude of voltage that represents environment temperature within the unit interval;
Ambient temperature value obtains module: for the magnitude of voltage of obtaining described in foundation, table look-up and obtain the ambient temperature value of its representative;
Time deviation value is obtained module: for the ambient temperature value obtaining described in foundation, table look-up and obtain the time deviation value in the unit interval at this temperature.
In device of the present invention, described time deviation value is obtained module and is further comprised:
Oscillation frequency deviation value is obtained submodule: for the ambient temperature value obtaining described in foundation, table look-up and obtain at this temperature the deviation value of crystal oscillation frequency under crystal oscillation frequency and standard temperature;
Time deviation value is obtained submodule: for multiplying each other and obtain the time deviation value in the lower unit interval of described temperature according to said frequencies deviation value and unit interval.
In device of the present invention, described present clock is obtained and regulon further comprises:
Current time obtains module: for obtaining the current time value of clock;
Current time adjustment module: directly increase by the first setting-up time value in current time value;
Current time is returned to module: for the time value after regulating, as current time value, return to clock and show.
Implement method and the device of the automobile mounted clock display of automatic calibration of the present invention, there is following beneficial effect: due to by the detection of environment temperature being obtained to the oscillation frequency error of crystal oscillator in the unit interval, then obtain the time deviation value of clock timing under this frequency, and directly the time value of clock display is regulated and return clock display when above-mentioned time deviation value is accumulated to the first setting-up time value.So it can regulate the time bringing due to temperature difference to depart from automatically, comparatively exactly, thereby uses no or little manual shift clock, use more for convenience.
Accompanying drawing explanation
Fig. 1 is that the oscillation frequency of crystal oscillator is with the schematic diagram of its variation of ambient temperature;
Fig. 2 is the method for the automobile mounted clock display of automatic calibration of the present invention and the automobile mounted clock display method flow diagram of automatic calibration in device embodiment;
Fig. 3 be in described embodiment time deviation value obtain process flow diagram;
Fig. 4 is the process flow diagram of obtaining current time in described embodiment and regulating;
Fig. 5 is the structural representation installing in described embodiment;
Fig. 6 is the hardware configuration schematic diagram in described embodiment.
Embodiment
Below in conjunction with accompanying drawing, embodiments of the present invention is further illustrated.
As shown in Figure 2, in the method and device embodiment of the automobile mounted clock display of automatic calibration of the present invention, its method that realizes the automobile mounted clock display of automatic calibration comprises the steps:
Step S11 obtains in the unit interval and changes because temperature variation causes crystal oscillator frequency the time deviation value of bringing: as previously mentioned, the variation of environment temperature can cause changing as the oscillation frequency of the crystal oscillator of timing signal of clock, and then causes the time of clock to occur deviation.In this step, take the unit interval as a time period, obtain the deviate occurring in this internal clock time time period under Current Temperatures.In the present embodiment, the above-mentioned unit interval is 60 seconds.
Step S12 is the above-mentioned time deviation value of accumulative total in specifying register: in this step, the time deviation value that above-mentioned steps is obtained is accumulative total in specifying register, that is to say, the deviate occurring is in a period of time added with the numeral originally existing in specifying register, and again stores in this appointment register.Certainly, when system brings into operation, this appointment register will carry out zero clearing in initialization procedure; In addition, the numerical value in this appointment register can not be cleared.
Does is the time deviation value of step S13 accumulative total greater than the first setting-up time value? carry out in this way next step, otherwise, step S11 returned to; In this step, if specify the time deviation of accumulative total in register to be greater than the first setting-up time value, perform step S14; Otherwise, be judged as and also do not need to regulate clock time, jump to step S11, continue to obtain time deviation and continue this deviation of accumulative total.In the present embodiment, above-mentioned the first setting-up time value is 1 second, and this is the adjustable unit of minimum of clock time, the adjusted accurate maintenance that is conducive to the time.
Step S14 obtains current time, and in current time, directly regulate and return to clock after the first setting-up time value as current time value: in this step, obtain the current time value of clock, and this current time value is regulated to the first setting-up time value, afterwards, time value after regulating is returned to clock as current time value, makes in the time value of clock after adjusting, to show and continue timing.It is worth mentioning that, in this step, be directly in the current time obtaining, to regulate, and namely directly current time added to one second.
Step S15 deducts the first setting-up time value and surplus value is returned to appointment register in above-mentioned appointment register: in this step, due to above-mentioned steps S14 to present clock Timing first setting-up time, that is to say, in the time deviation adding up in specifying register, there is first setting-up time to be conditioned, so, in this step, need to will specify the accumulated time deviation in register to deduct a first setting-up time value, and again deposit remaining time deviation in above-mentioned appointment register, add time deviation accumulative total next time.
As shown in Figure 3, in above-mentioned steps, step S11 has further comprised:
Step S21 obtains the magnitude of voltage of a plurality of expression current environmental temperature within the unit interval according to the frequency of setting, and obtain its mean value: in this step, microprocessor is sampled to the magnitude of voltage of its external temperature sensor output according to the sample frequency of setting within the unit interval, obtain a plurality of sampled values, after the above-mentioned unit interval reaches, above-mentioned a plurality of sampled values are averaged, obtain the temperature sensor output voltage values in the unit interval, this value representation the environment temperature in unit interval.In the present embodiment, the above-mentioned unit interval is 60 seconds, and in these 60 seconds, microprocessor may be obtained different magnitudes of voltage, is averaged and can reflect comparatively exactly the environment temperature in this unit interval.
Step S22 tables look-up and obtains the temperature value of its representative according to described mean value: in this step, according to above-mentioned magnitude of voltage, table look-up, obtain this and be worth corresponding ambient temperature value.
Step S13 tables look-up and obtains the deviation value of the oscillation frequency under oscillation frequency and standard temperature under said temperature value: in this step, owing to learning current environment temperature, thus can table look-up obtain at this temperature oscillator oscillation frequency with as standard value+deviate (referring to Fig. 1) of oscillation frequency under 25 degree.
Step S24 calculates the time deviation value in the unit interval according to the deviation value of above-mentioned oscillation frequency: in above-mentioned steps, obtained the exemplary frequency deviation values at this temperature, the inverse of this exemplary frequency deviation values and unit interval are multiplied each other, just obtain within the unit interval time deviation value of clock time.
In addition, as shown in Figure 4, in step S14, further comprised following steps:
Step S31 obtains its current time value by clock: in this step, by clock (clock circuit), obtain current clock time, this time is exactly the numerical value of clock display on display screen.
Step S32 increases by the first setting-up time value in above-mentioned current time value: in this step, the above-mentioned current time obtaining is directly regulated to first setting-up time, this first setting-up time is 1 second in the present embodiment, and this is also the adjustable unit of minimum of clock time.Typically, above-mentioned clock time is all that actual correct time is slow, therefore be generally to increase by the first setting-up time value in present clock time value;
Step S33 returns to amended time value to clock as current time value: in this step, the time value after above-mentioned adjusting is returned to clock as current time value, and show on clock.
In the present embodiment, also disclosed a kind of device of realizing said method, its structure as shown in Figure 5.This device has comprised that time deviation value is obtained unit 1, time deviation value accumulated unit 2, time deviation value judging unit 3, present clock is obtained and regulon 4 and time deviation value clearing cell 5; Wherein, time deviation value is obtained unit 1 for obtaining the ambient temperature value at current vehicle-mounted clock place in the unit interval and according to described ambient temperature value, searching and obtain the time deviation value that the crystal oscillation frequency variation in its corresponding unit interval brings; Time deviation value accumulated unit 2 is for adding up described time deviation value be stored in this register with specifying the value in register; Time deviation value judging unit 3 is for judging whether the numerical value of described appointment register-stored reaches the first setting-up time value; Present clock obtain and regulon 4 for obtaining the present clock time, and described in interpolation, after the first setting-up time value, this value is returned to clock on this time;
Time deviation value clearing cell 5 values for described appointment register deduct described the first setting-up time value, store in described appointment register.
In the present embodiment, time deviation value is obtained unit 1 and is further comprised: for the magnitude of voltage of obtaining according to the sample frequency of setting the magnitude of voltage that represents environment temperature within the unit interval, obtain module 11; For according to described in the table look-up ambient temperature value of the ambient temperature value that obtains its representative of the magnitude of voltage obtained obtain module 12; For according to described in the ambient temperature value that the obtains time deviation value that obtains the time deviation value in the unit interval at this temperature of tabling look-up obtain module 13.And time deviation value is obtained module 13 and is comprised: for the ambient temperature value obtaining described in foundation, table look-up and obtain at this temperature the time deviation value that the oscillation frequency deviation value of the deviation value of crystal oscillation frequency under crystal oscillation frequency and standard temperature obtains submodule 131 and obtain the time deviation value in the unit interval at described temperature for multiplying each other according to said frequencies deviation value and unit interval and obtain submodule 132.
In addition, in the present embodiment, above-mentioned present clock is obtained and regulon 4 further comprises: for obtaining the current time of the current time value of clock, obtain module 41; For directly increase the current time adjustment module 42 of the first setting-up time value in current time value; The current time of returning to clock demonstration as current time value for the time value after regulating is returned to module 43.
Above-mentioned each unit, module are the software function module of each corresponding steps in the method that realizes the vehicle-mounted clock display time of automatic calibration in the present embodiment; By hardware aspect, comprised MCU microprocessor, be used for the Low-Power CMOS band RTC real-time clock treatment circuit that clock process information is provided and is controlled by described MCU microprocessor, for real-time detection variation of ambient temperature, give the temperature sensing circuit of described MCU microprocessor input monitoring information, for showing the LCD LCDs circuit of described clock information.First microprocessor is provided on the sensor (adopting in the present embodiment thermistor RT1) that can real-time detect variation of ambient temperature and is obtained it with the magnitude of voltage of variation of ambient temperature by outside, when environment temperature (is divided into 23 grades from-30 ℃ to+80 ℃, 5 ℃ every grade warm rank variations) under different condition, thermistor RT1 under different temperatures environment, resistive impedance by 898.5K Ω to 5.5K Ω change (standard value be
+25 47K Ω while spending), when constant voltage (usining 3.3V voltage as standard) is by resistance and thermistor RT1 dividing potential drop, after capacitor filtering shaping, obtain the magnitude of voltage 3.22V to 0.66V changing, be input to the PIN97(I/O port of described MCU microprocessor, be set to input end), microprocessor is according to fixed sample period (with the magnitude of voltage of the thermistor around 60 seconds 1 periodic sampling RTC crystal oscillators), mean value calculation RTC crystal oscillator environment temperature by the magnitude of voltage obtaining in the sampling period, look into the temperature corresponding to temperature characteristics of crystal oscillator, according to the temperature characterisitic deviate of crystal oscillator (deviate of oscillation frequency when oscillation frequency and+25 is spent at this temperature), and calculate the time deviation value that in 60 seconds, this oscillation frequency is brought, continuous above-mentioned time deviation value.When its value reaches after 1S, described MCU microprocessor, to CMOS band RTC real-time clock treatment circuit, sends interpolation clock information (be equivalent to obtain present clock, regulate clock and return) by resistance; Meanwhile, microprocessor internal, deducts cumulative error amount after the 1S of interpolation, repeats again sampling, the accumulative total computing of next cycle, the work so going round and beginning again.RTC real-time clock treatment circuit, will be on original clock basis, the 1 second clock information being sent by microprocessor in interpolation, is connected with PIN22, the PIN23 of described microprocessor by resistance, clock information upgrading, is transferred to microprocessor and carries out clock data renewal; Microprocessor is the demonstration information of the clock data upgrading.The transmission of the communication data line of the PIN71~PIN81 by described MCU microprocessor, to the PIN18~PIN30 of LCD display circuit, controls the driving circuit of LCD display, upgrades accurately clock information and shows.Briefly, be by temperature sensor, real-time detection auto clock display screen system is current in which type of environment, by microprocessor, take 60 seconds as 1 sampling period again, detection, from the change in voltage of temperature sensing circuit, according to the temperature characterisitic PPM value of crystal oscillator, constantly adds up computing.When error amount reaches after 1S, send the interpolation clock information of 1 second to clock treatment circuit, adjust clock (being equivalent to manual calibration clock) accurately.Compensation, due to the slack-off amount of timing every day of ambient temperature effect clock crystal oscillator, is guaranteed the object that clock accuracy is less than 1 second/day.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.
Claims (8)
1. a method for the automobile mounted clock of automatic calibration, is characterized in that, comprises the steps:
A) obtain the ambient temperature value at current vehicle-mounted clock place in the unit interval and according to described ambient temperature value, search and obtain the time deviation value that the crystal oscillation frequency variation in its corresponding unit interval brings;
B) described time deviation value is added up and is stored in this register with specifying the value in register;
Whether the numerical value that C) judges described appointment register-stored reaches the first setting-up time value, in this way, carries out next step, otherwise returns to steps A);
D) obtain the current time value of clock, this current time value is regulated to described the first setting-up time value, the time value after regulating is returned to described clock as current time value;
E) value in described appointment register deducts described the first setting-up time value, stores in described appointment register; Return to steps A);
Described steps A) further comprise:
A1) within the unit interval, according to the sample frequency of setting, obtain the magnitude of voltage that represents environment temperature;
A2) magnitude of voltage of obtaining described in foundation is tabled look-up and is obtained the ambient temperature value of its representative;
A3) ambient temperature value obtaining described in foundation is tabled look-up and is obtained the time deviation value in the unit interval at this temperature;
Wherein, described ambient temperature value, by-30 ℃ to+80 ℃, is divided into 23 grades, and 5 ℃ every grade, every grade of corresponding magnitude of voltage is different.
2. the method for the automobile mounted clock of automatic calibration according to claim 1, is characterized in that, described steps A 3) further comprise:
A31) according to described in the ambient temperature value that obtains table look-up and obtain at this temperature the deviation value of crystal oscillation frequency under crystal oscillation frequency and standard temperature;
A32) said frequencies deviation value and unit interval multiply each other and obtain the time deviation value in the described lower unit interval of temperature.
3. the method for the automobile mounted clock of automatic calibration according to claim 2, is characterized in that, described the first setting-up time value is 1 second, described step C) in judge in described appointment register whether time value is totally greater than 1 second.
4. the method for the automobile mounted clock of automatic calibration according to claim 3, is characterized in that, described step D) in, further comprise the steps:
D1) obtain the current time value of clock;
D2) in current time value, directly increase by the first setting-up time value;
D3) time value after regulating is returned to clock and shows as current time value.
5. the method for the automobile mounted clock of automatic calibration according to claim 4, is characterized in that, described step e) in, further comprise the steps:
E1) obtain the absolute value of numerical value in described appointment register;
E2) in the described absolute value of obtaining, deduct the first setting-up time value and using the surplus value obtaining as absolute value, return to described appointment register.
6. realize a device for the automobile mounted clock method of automatic calibration as claimed in claim 1, it is characterized in that, comprising:
Time deviation value is obtained unit: for obtaining the ambient temperature value at current vehicle-mounted clock place in the unit interval and according to described ambient temperature value, searching and obtain the time deviation value that the crystal oscillation frequency variation in its corresponding unit interval brings;
Time deviation value accumulated unit: for described time deviation value is added up and is stored in this register with specifying the value in register;
Time deviation value judging unit: for judging whether the numerical value of described appointment register-stored reaches the first setting-up time value;
Present clock is obtained and regulon: for obtaining the current time value of clock, this current time value is regulated to described the first setting-up time value, the time value after regulating is returned to described clock as current time value;
Time deviation value clearing cell: the value for described appointment register deducts described the first setting-up time value, stores in described appointment register;
Described time deviation value is obtained unit and is further comprised:
Magnitude of voltage is obtained module: for obtain according to the sample frequency of setting the magnitude of voltage that represents environment temperature within the unit interval;
Ambient temperature value obtains module: for the magnitude of voltage of obtaining described in foundation, table look-up and obtain the ambient temperature value of its representative;
Time deviation value is obtained module: for the ambient temperature value obtaining described in foundation, table look-up and obtain the time deviation value in the unit interval at this temperature;
Wherein, described ambient temperature value, by-30 ℃ to+80 ℃, is divided into 23 grades, and 5 ℃ every grade, every grade of corresponding magnitude of voltage is different.
7. device according to claim 6, is characterized in that, described time deviation value is obtained module and further comprised:
Oscillation frequency deviation value is obtained submodule: for the ambient temperature value obtaining described in foundation, table look-up and obtain at this temperature the deviation value of crystal oscillation frequency under crystal oscillation frequency and standard temperature;
Time deviation value is obtained submodule: for multiplying each other and obtain the time deviation value in the lower unit interval of described temperature according to said frequencies deviation value and unit interval.
8. device according to claim 7, is characterized in that, described present clock is obtained and regulon further comprises:
Current time obtains module: for obtaining the current time value of clock;
Current time adjustment module: directly increase by the first setting-up time value in current time value;
Current time is returned to module: for the time value after regulating, as current time value, return to clock and show.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201110426958.3A CN102520608B (en) | 2011-12-19 | 2011-12-19 | Method and device for automatically correcting automobile vehicle-mounted clock |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201110426958.3A CN102520608B (en) | 2011-12-19 | 2011-12-19 | Method and device for automatically correcting automobile vehicle-mounted clock |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102520608A CN102520608A (en) | 2012-06-27 |
| CN102520608B true CN102520608B (en) | 2014-04-02 |
Family
ID=46291561
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201110426958.3A Active CN102520608B (en) | 2011-12-19 | 2011-12-19 | Method and device for automatically correcting automobile vehicle-mounted clock |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102520608B (en) |
Families Citing this family (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103034116A (en) * | 2012-11-14 | 2013-04-10 | 福建省计量科学研究院 | Method for improving accuracy of timing of quartz timer |
| CN103020464B (en) * | 2012-12-25 | 2015-10-28 | 天泽信息产业股份有限公司 | A kind of car machine cumulative operation time modification method |
| CN103092062B (en) * | 2013-01-28 | 2015-06-17 | 成都天奥电子股份有限公司 | Method and system used for real-time clock chip accuracy adjustment |
| CN104348482B (en) * | 2013-08-05 | 2017-10-13 | 博通集成电路(上海)有限公司 | Method in circuit, calibrating installation and the circuit |
| CN103454904B (en) * | 2013-09-04 | 2016-04-06 | 成都天奥电子股份有限公司 | Improve quartz watch to keep time the method for precision and quartz watch |
| CN104796209B (en) * | 2015-03-25 | 2018-09-21 | 深圳市航盛电子股份有限公司 | A kind of CT display bearing calibrations of RDS radios |
| CN108230660B (en) * | 2018-01-09 | 2020-08-25 | 广东美的制冷设备有限公司 | Control method and control device, storage medium and remote controller |
| TWI697877B (en) * | 2019-03-15 | 2020-07-01 | 瑞鼎科技股份有限公司 | Calibration method for display clock and apparatus thereof |
| CN110456628B (en) * | 2019-09-12 | 2020-12-08 | 珠海格力电器股份有限公司 | Method and device for automatically calibrating time of display screen, display screen and electric equipment |
| FR3103035B1 (en) * | 2019-11-12 | 2021-10-29 | Continental Automotive | Method for setting an on-board clock in a motor vehicle and associated setting device |
| TWI871593B (en) * | 2023-03-16 | 2025-02-01 | 光陽工業股份有限公司 | Device and method for automatically correcting vehicle instrument display time |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101276232A (en) * | 2007-03-27 | 2008-10-01 | 联发科技股份有限公司 | Real-time clock correction method and device |
| CN101303401A (en) * | 2008-07-01 | 2008-11-12 | 长沙威胜电子有限公司 | RTC regulating apparatus of electrical energy meter and RTC automatic compensation correcting method |
| CN102082548A (en) * | 2010-11-12 | 2011-06-01 | 成都天奥电子股份有限公司 | High-accuracy microcomputer-compensated surface-mounted temperature compensation crystal oscillator |
| CN102142810A (en) * | 2010-02-03 | 2011-08-03 | 无锡辐导微电子有限公司 | Temperature-compensated oscillator and temperature compensation method thereof |
| CN102163041A (en) * | 2011-01-27 | 2011-08-24 | 北京煜邦电力技术有限公司 | Wide range temperature error compensating method of real-time clock and system thereof |
| US8058941B2 (en) * | 2008-11-26 | 2011-11-15 | Seiko Epson Corporation | Voltage control type temperature compensation piezoelectric oscillator |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3330519B2 (en) * | 1997-08-11 | 2002-09-30 | 三菱電機株式会社 | Electronic watt-hour meter and its error adjustment method |
-
2011
- 2011-12-19 CN CN201110426958.3A patent/CN102520608B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101276232A (en) * | 2007-03-27 | 2008-10-01 | 联发科技股份有限公司 | Real-time clock correction method and device |
| CN101303401A (en) * | 2008-07-01 | 2008-11-12 | 长沙威胜电子有限公司 | RTC regulating apparatus of electrical energy meter and RTC automatic compensation correcting method |
| US8058941B2 (en) * | 2008-11-26 | 2011-11-15 | Seiko Epson Corporation | Voltage control type temperature compensation piezoelectric oscillator |
| CN102142810A (en) * | 2010-02-03 | 2011-08-03 | 无锡辐导微电子有限公司 | Temperature-compensated oscillator and temperature compensation method thereof |
| CN102082548A (en) * | 2010-11-12 | 2011-06-01 | 成都天奥电子股份有限公司 | High-accuracy microcomputer-compensated surface-mounted temperature compensation crystal oscillator |
| CN102163041A (en) * | 2011-01-27 | 2011-08-24 | 北京煜邦电力技术有限公司 | Wide range temperature error compensating method of real-time clock and system thereof |
Non-Patent Citations (3)
| Title |
|---|
| JP特开平11-64402A 1999.03.05 |
| 一种新型实时时钟芯片温度误差补偿方法;赵东世等;《华侨大学学报( 自然科学版)》;20110731;第32卷(第4期);478-480 * |
| 赵东世等.一种新型实时时钟芯片温度误差补偿方法.《华侨大学学报( 自然科学版)》.2011,第32卷(第4期),478-480. |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102520608A (en) | 2012-06-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102520608B (en) | Method and device for automatically correcting automobile vehicle-mounted clock | |
| CN103454904B (en) | Improve quartz watch to keep time the method for precision and quartz watch | |
| CN106505996B (en) | A high-precision frequency offset compensation method for RTC chips combined with variable capacitors | |
| CN101303401B (en) | RTC regulating apparatus of electrical energy meter and RTC automatic compensation correcting method | |
| CN100456858C (en) | Time error compensation device and method for terminal | |
| CN106292839B (en) | Real-time clock compensation circuit and calibration method, device | |
| CA2553495C (en) | Apparatus and method for compensating the drift of a local clock used as sampling frequency | |
| CN105573106B (en) | To the amendment circuit and its method of RTC accuracy of timekeeping in a kind of intelligent electric meter | |
| CN102082548A (en) | High-accuracy microcomputer-compensated surface-mounted temperature compensation crystal oscillator | |
| CN110262210B (en) | Crystal oscillator time keeping method based on counter | |
| US8749313B2 (en) | Correction of low accuracy clock | |
| CN202256438U (en) | Hardware real time clock (RTC) error compensation system of intelligent electric energy meter | |
| CN103684255A (en) | Judgment and control method for compensation and calibration of temperature-compensated crystal oscillator with built-in crystals | |
| CN106253893A (en) | A kind of High Accuracy Microcomputer compensated crystal oscillator | |
| CN105978555A (en) | Real-time clock timing precision correction circuit and method with temperature compensation function | |
| CN113848568A (en) | Time correction system and method | |
| CN102163040B (en) | Built-in hardware clock module with temperature compensation function | |
| CN114740260A (en) | Power-specific synchronous acquisition method for real-time detection and adjustment of crystal oscillator output frequency | |
| CN103699001A (en) | Method and system for realizing low-cost and high-precision timing through oven controlled crystal oscillator | |
| CN111010174B (en) | Method and circuit for improving time-keeping metering precision | |
| CN103472713A (en) | Time correction system of clock | |
| CN111897202B (en) | RTC calibration circuit and calibration method of smoke detector MCU | |
| CN111142604B (en) | C field circuit capable of automatically compensating temperature coefficient of rubidium clock | |
| CN118174718A (en) | A crystal oscillator taming system and method based on satellite timing | |
| CN106612104B (en) | Real-time clock error compensation device and method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |