CN107450305A - Calibration method and correction device, the smart machine of clock chip - Google Patents

Calibration method and correction device, the smart machine of clock chip Download PDF

Info

Publication number
CN107450305A
CN107450305A CN201710693313.3A CN201710693313A CN107450305A CN 107450305 A CN107450305 A CN 107450305A CN 201710693313 A CN201710693313 A CN 201710693313A CN 107450305 A CN107450305 A CN 107450305A
Authority
CN
China
Prior art keywords
clock chip
walking
timer
counter
preset time
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.)
Granted
Application number
CN201710693313.3A
Other languages
Chinese (zh)
Other versions
CN107450305B (en
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Zhuhai Gree Energy Saving Environmental Protection Refrigeration Technology Research Center 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 Zhuhai Gree Energy Saving Environmental Protection Refrigeration Technology Research Center Co Ltd filed Critical Zhuhai Gree Energy Saving Environmental Protection Refrigeration Technology Research Center Co Ltd
Priority to CN201710693313.3A priority Critical patent/CN107450305B/en
Publication of CN107450305A publication Critical patent/CN107450305A/en
Application granted granted Critical
Publication of CN107450305B publication Critical patent/CN107450305B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G5/00Setting, i.e. correcting or changing, the time-indication
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G7/00Synchronisation

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Electric Clocks (AREA)

Abstract

The invention provides a kind of calibration method of clock chip and correction device, smart machine, the calibration method of the clock chip includes:S1:Obtain the temporal information determined using timer and/or counter, and whether there is error when walking according to what the temporal information determined using timer and/or counter judged clock chip;S2:If judge the clock chip has error when walking, timing being compensated when walking to the clock chip of timer and/or counter is utilized.The present invention can reduce the walking time error of clock chip.

Description

Calibration method and correction device, the smart machine of clock chip
Technical field
The present invention relates to technical field of electronic devices, and in particular to the calibration method and correction device of a kind of clock chip, Smart machine.
Background technology
With flourishing for the intelligent consumer electronics industry, increasing smart machine appears in the daily of people In life.
Current smart machine (such as intelligent desk lamp, intelligent curtain) generally all has real-time clock function, the function Main implementation includes two kinds:The first is to set up clock chip in device interior, and the second way is obtained using internet Current time is taken, compared to the second way, the first realizes that the mode of time clock feature does not have internet limitation, therefore application is more Extensively;
However, for it is above-mentioned the first by the way of clock chip realizes time clock feature, usual clock chip is by quartz Base when crystal oscillator provides accurate, but because the presence of the factors such as the parasitic capacitance on outside electromagnetic interference, circuit board can cause reality When clock chip it is inaccurate when walking, even the error of several seconds will also become can not ignore by accumulating over a long period daily, for The problem, the settling mode used at present be daily timing alignment once, i.e., by a collection of sample carry out factory testing, then (such as 0 divide to be timed calibration to the clock chip of this batch of product according to the error detected and carry out school at daily 0 It is accurate), integer (such as compensation 3 seconds daily) is generally selected to be calibrated to clock chip, but due to daily error not One is set to integer, still can there is accumulated error.
The content of the invention
Based on above-mentioned present situation, it is a primary object of the present invention to provide the calibration method and school fashionable dress of a kind of clock chip Put, smart machine, the walking time error of clock chip can be reduced.
To achieve the above object, technical scheme provides a kind of calibration method of clock chip, including:
S1:Obtain the temporal information determined using timer and/or counter, and according to it is described using timer and/or What the temporal information that counter determines judged clock chip whether there is error when walking;
S2:If judge the clock chip has error when walking, using the timing of timer and/or counter to institute State being compensated when walking for clock chip.
Preferably, using the timing of timer and/or counter to the method compensated when walking of the clock chip Including:If judge the clock chip has error when walking, timing is carried out using timer and/or counter, when described When the time of timing reaches the first preset time, the compensation that the second preset time is carried out when walking to the clock chip.
Preferably, step S1 includes:
S11:Read the value of default minute variable and the minute value when clock chip is walked, wherein, the minute The span of variable is the integer between 0~59, and the minute variable performs according to the timing of timer and/or counter Per minute plus 1 operation;
S12:If the minute value when value of the minute variable of the reading is walked from the clock chip is different, judge Error when walking be present in the clock chip.
Preferably, also include before step S1:
Calculate needed for the error for often producing second preset time when walking with respect to the standard time of the clock chip Time, so as to obtain first preset time.
Preferably, a step S1 is performed every the 3rd preset time.
Preferably, the 3rd preset time is less than or equal to first preset time.
Preferably, second preset time is 1 second.
Preferably, also include before step S1:
Judge whether the clock chip is in networking state, if it is not, step S1 is then performed, if so, then from default clothes Business end obtains temporal information, and the clock chip is calibrated according to the temporal information obtained from the service end.
To achieve the above object, technical scheme additionally provides a kind of correction device of clock chip, including:
Judge module, for obtaining the temporal information determined using timer and/or counter, and according to described using fixed When the temporal information that determines of device and/or counter judge clock chip whether there is error when walking;
Module during school, for utilizing timer when error be present when walking when what the judge module judged the clock chip And/or the timing of counter being compensated when walking to the clock chip.
Preferably, module is used for when the judge module judges when error be present when walking of the clock chip during school Timing is carried out using timer and/or counter, when the time of the timing reaching the first preset time, to the clock core The compensation that the second preset time is carried out when walking of piece.
Preferably, the judge module includes:
Reading unit, minute value when value and the clock chip for reading default minute variable are walked, wherein, The span of the minute variable is the integer between 0~59, and the minute variable is according to timer and/or counter Timing performs per minute plus 1 operation;
Judging unit, if the minute value when value for the minute variable of the reading is walked with the clock chip is not Together, then error when walking be present in judge the clock chip.
Preferably, the correction device also includes:
Computing module, relative standard time when walking for calculating the clock chip often produce second preset time Error needed for time, so as to obtain first preset time.
Preferably, every the 3rd preset time, the judge module obtain using timer and/or counter determine when Between information, and whether being deposited when walking for clock chip is judged according to the temporal information determined using timer and/or counter In error.
Preferably, the 3rd preset time is less than or equal to first preset time.
Preferably, second preset time is 1 second.
Preferably, the correction device also includes:
Control module, for judging whether the clock chip is in networking state, if it is not, then controlling the judge module Obtain the temporal information determined using timer and/or counter, and determined according to described using timer and/or counter What temporal information judged clock chip whether there is error when walking, if the clock chip is in networking state, from default Service end obtains temporal information, and the clock chip is calibrated according to the temporal information obtained from the service end.
To achieve the above object, technical scheme additionally provides a kind of smart machine, including:
Clock chip;
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
The temporal information determined using timer and/or counter is obtained, and timer and/or counting are utilized according to described What the temporal information that device determines judged the clock chip whether there is error when walking;
If judge the clock chip has error when walking, timing is carried out using timer and/or counter, works as institute When stating time of timing and reaching the first preset time, the compensation that the second preset time is carried out when walking to the clock chip.
Preferably, the processor includes the timer and/or counter.
The calibration method of clock chip provided by the invention, the time determined by using timer and/or counter believe What breath judged clock chip whether there is error when walking, when judging when error be present when walking of clock chip, recycling timer And/or the timing of counter being compensated when walking to clock chip, compared with prior art, the present invention can reduce clock chip Walking time error.
Brief description of the drawings
By the description to the embodiment of the present invention referring to the drawings, above-mentioned and other purpose of the invention, feature and Advantage will be apparent from, in the accompanying drawings:
Fig. 1 is a kind of flow chart of the calibration method for clock chip that embodiment of the present invention provides;
Fig. 2 is the flow chart of the calibration method for another clock chip that embodiment of the present invention provides;
Fig. 3 is a kind of schematic diagram of the correction device for clock chip that embodiment of the present invention provides.
Embodiment
With reference to the accompanying drawings and examples, the embodiment of the present invention is described in further detail.Implement below Example is used to illustrate the present invention, but is not limited to the scope of the present invention.
Referring to Fig. 1, Fig. 1 be embodiment of the present invention provide a kind of clock chip calibration method flow chart, the party Method includes:
S1:Obtain the temporal information determined using timer and/or counter, and according to it is described using timer and/or What the temporal information that counter determines judged clock chip whether there is error when walking;
S2:If error when walking be present in judge the clock chip, using timer and/or counter timing pair when Clock chip compensates when walking, and specifically, if judge clock chip has error when walking, utilizes timer and/or meter Number device carries out timing, and when the time of the timing reaching the first preset time, second is carried out when walking to the clock chip The compensation of preset time.
The calibration method for the clock chip that embodiment of the present invention provides, determined by using timer and/or counter Temporal information judge clock chip whether there is error when walking, when judging when error be present when walking of clock chip, then profit Timing is carried out with timer and/or counter, when the time of timing reaching the first preset time, to entering when walking for clock chip The compensation of the preset time of row second, compared with prior art, the present invention can reduce the walking time error of clock chip.
Wherein, in step sl, the temporal information determined using timer and/or counter can include hour information, Minute information and number of seconds information, because current smart machine generally only shows hour information and minute information, and clock The error of chip will not be excessive, therefore, can by judge minute information whether accurately judge clock chip when walking whether Error be present, it is preferable that above-mentioned steps S1 includes:
S11:Read the value of default minute variable and the minute value when clock chip is walked, wherein, the minute The span of variable is the integer between 0~59, and the minute variable performs according to the timing of timer and/or counter Per minute plus 1 operation;
S12:If the minute value when value of the minute variable of the reading is walked from the clock chip is different, judge Error when walking be present in the clock chip.
For example, can to clock chip write current time while, by the current time minute position value assignment To this minute variable (for example, the current time of write clock chip be 22 points 42 minutes, at this moment minute variable be also assigned 42), This minute afterwards variable performs per minute plus 1 operation according to the timing of timer and/or counter, in follow-up any instant, The minute value value and clock chip of the minute variable such as read are walked simultaneously when is identical, then judges that error is not present in clock chip, Being operated when not performing the school in step S2, the minute value value and clock chip of the minute variable such as read are walked simultaneously when is different, Then judge that clock chip has error, is operated when performing the school in step S2, i.e., is counted using timer and/or counter When, when the time of timing reaching the first preset time, the compensation that the second preset time is carried out when walking to clock chip;
Wherein, in the present invention, the value of the first preset time can be obtained by way of detecting in advance, i.e., when second is default When the value of time is fixed, can by being detected in advance to clock chip, calculate clock chip when walking with respect to the standard time The time needed for the error of second preset time is often produced, then using the required time as the first preset time, for example, Sample clock chip can be tested, test out often being produced when walking with respect to the standard time by 24 hours for the sample clock chip Raw error (can repeatedly test, then average), the sample clock chip is then obtained by the error calculation and often produced Time needed for the error of second preset time, that is, obtain the value of the first preset time, and using the value as with the sample clock First preset time of the chip with the clock chip of batch;
For example, second preset time is 1 second, measure the error of sample clock chip for+2.4 seconds/24 hours (i.e. every Slow 2.4 seconds of 24 hours comparison with standard time), therefore every 24*60/2.4=600 minutes, clock chip will produce about+1 second The error of (i.e. every slow 1 second of 600 minutes comparison with standard time), during the clock chip use of the batch, if judge There is error in clock chip, then carry out timing using timer and/or counter, reach 600 minutes when the time of timing when walking When, the compensation for carrying out adding 1 second when walking to clock chip;
For example, second preset time is 1 second, measure the error of sample clock chip for -2.4 seconds/24 hours (i.e. every Fast 2.4 seconds of 24 hours comparison with standard time), therefore every 24*60/2.4=600 minutes, clock chip will produce about -1 second The error of (i.e. every fast 1 second of 600 minutes comparison with standard time), during the clock chip use of the batch, if judge There is error in clock chip, then carry out timing using timer and/or counter, reach 600 minutes when the time of timing when walking When, the compensation for carrying out subtracting 1 second when walking to clock chip;
Preferably, to improve accuracy during school, each clock chip can by itself advance detection, so as to To the value of the first preset time, in embodiments of the present invention, also include before step S1:
Calculate needed for the error for often producing second preset time when walking with respect to the standard time of the clock chip Time, so as to obtain first preset time.No longer detected using sample, and by being detected to obtain to itself The value of first preset time, make the value of the first preset time of each clock chip more accurate, improve accuracy during school, Wherein, the mode of the detection with it is above-mentioned by the way of sample detection it is identical, here is omitted.
Wherein, in the present invention is implemented, a step S1 can be performed every the 3rd preset time, it is preferable that described the Three preset times are less than or equal to first preset time, and a step is at least performed every the first preset time so as to realize S1。
Referring to Fig. 2, Fig. 2 is the flow chart of the calibration method for another clock chip that embodiment of the present invention provides, should Method includes:
S101:To clock new chip write current time, while by current time minute position value be assigned to minute become Measure a;
S102:Timing is reset, and starts timing;
S103:Whether the timing in judgment step S102 reaches the 3rd preset time, if then performing step S104, simultaneously Timing is reset, restarts timing, if it is not, then continuing timing;
It can be realized by step S102~S103 and perform a step S104 every default 3rd preset time, wherein, Timing in step S102~S103 equally can use timer and/or counter to realize;
S104:Read minute variable a value simultaneously and minute value when clock chip is walked, wherein, minute variable a's takes It is the integer between 0~59 to be worth scope, and minute variable performs per minute plus 1 behaviour according to the timing of timer and/or counter Make, minute value when the new core of clock for judging to read is walked and minute variable a value whether there is error, if it is not, then this is not right Operation is calibrated in clock chip, if so, then performing step S105;
S105:Triggering variable b starts to perform per minute plus 1 operation according to the timing of timer and/or counter;
S106:Judge whether triggering variable b reaches setting value, if it is not, then triggering variable continues to add up, if (i.e. timing Time reach the first preset time), then perform step S107, and triggering variable b value is reset;
S107:The compensation that the second preset time is carried out when walking to clock chip.
Realized by step S105~S107 and carry out timing using timer and/or counter, when the time of the timing When reaching the first preset time, the compensation that the second preset time is carried out when walking to clock chip.
Preferably, can also be by the way of online and offline be combined pair in order to obtain more accurate real-time time Clock chip is calibrated, you can the time calibration clock chip obtained during with using equipment networking, in embodiment of the present invention In, also include before step S1:
Judge whether the clock chip is in networking state, if it is not, step S1 is then performed, if so, then from default clothes Business end obtains temporal information, and the clock chip is calibrated according to the temporal information obtained from the service end.
In addition, referring to Fig. 3, Fig. 3 is a kind of schematic diagram of the correction device for clock chip that embodiment of the present invention provides, The correction device includes:
Judge module 100, for obtaining the temporal information determined using timer and/or counter, and according to the profit What the temporal information determined with timer and/or counter judged clock chip whether there is error when walking;
Module 200 during school, for judging being utilized when error be present when walking for the clock chip when the judge module 100 The timing of timer and/or counter compensates to the clock chip when walking, and specifically, module 200 is used to work as during school What judge module judged the clock chip carries out timing when error when walking be present using timer and/or counter, when described When the time of timing reaches the first preset time, the compensation that the second preset time is carried out when walking to the clock chip.
Preferably, the judge module includes:
Reading unit, minute value when value and the clock chip for reading default minute variable are walked, wherein, The span of the minute variable is the integer between 0~59, and the minute variable is according to timer and/or counter Timing performs per minute plus 1 operation;
Judging unit, if the minute value when value for the minute variable of the reading is walked with the clock chip is not Together, then error when walking be present in judge the clock chip.
Preferably, the correction device also includes:
Computing module, relative standard time when walking for calculating the clock chip often produce second preset time Error needed for time, so as to obtain first preset time.
Preferably, every the 3rd preset time, the judge module obtain using timer and/or counter determine when Between information, and whether being deposited when walking for clock chip is judged according to the temporal information determined using timer and/or counter In error.
Preferably, in embodiments of the present invention, the 3rd preset time is less than or equal to first preset time.
For example, in embodiments of the present invention, second preset time is 1 second.
Preferably, in embodiments of the present invention, the correction device also includes:
Control module, for judging whether the clock chip is in networking state, if it is not, then controlling the judge module Obtain the temporal information determined using timer and/or counter, and determined according to described using timer and/or counter What temporal information judged clock chip whether there is error when walking, if the clock chip is in networking state, from default Service end obtains temporal information, and the clock chip is calibrated according to the temporal information obtained from the service end.
In addition, embodiment of the present invention additionally provides a kind of smart machine, including:
Clock chip, for example, the clock chip can be with DS1302;
Processor (CPU);
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
The temporal information determined using timer and/or counter is obtained, and timer and/or counting are utilized according to described What the temporal information that device determines judged the clock chip whether there is error when walking;
If judge the clock chip has error when walking, timing is carried out using timer and/or counter, works as institute When stating time of timing and reaching the first preset time, the compensation that the second preset time is carried out when walking to the clock chip.
Preferably, the processor includes the timer and/or counter, you can to utilize the processor of smart machine (CPU) timer and/or counter in realize the determination and timing of above-mentioned temporal information, without in smart machine Increase extra timer and/or counter.
For example, can test in advance the clock chip of smart machine, relative mark when walking of clock chip is tested out Often then obtained between punctual by 24 small caused errors (can repeatedly test, then average) by the error calculation Clock chip often produces the time needed for the error of 1 second, that is, obtains the value of the first preset time, for example, measuring clock chip DS1302 error is+2.4 seconds/24 hours (i.e. every slow 2.4 seconds of 24 hours comparison with standard time), therefore every 24*60/2.4 =600 minutes, clock chip will produce the error of about+1 second (i.e. every slow 1 second of 600 minutes comparison with standard time);
The instruction of automatic prover time is added to the CPU of smart machine in corresponding translation and compiling environment, preset in instruction Two variables, respectively minute variable a (minute variable a span is the integer in 0 to 59, and is circulated within the range) With triggering variable b, when CPU to clock chip DS1302 write current time when, while by current time minute position value assign Be worth to minute variable a (for example, when CPU write enter clock chip DS1302 current time for 22 points 42 minutes, at this moment minute variable a Also it is assigned 42), minute variable a starts to perform per minute plus 1 behaviour according to the timing of CPU timer and/or counter Make, and now, when the when base that clock chip is also provided by outside 32.768K quartz crystal oscillators independently walk;
During the use of smart machine, the CPU of smart machine reads a clock chip every the 3rd preset time Minute value when walking and compared with the value of the minute variable a in CPU, when two values are unequal, then judges clock chip Error be present with respect to the standard time when walking, triggering variable b just starts the timing of the timer and/or counter according to CPU Per minute plus 1 operation is performed, when triggering variable b value is equal to setting value (if for example, the first preset time being previously obtained is 600 minutes, then when 600) setting value is, CPU carries out the calibration of+1 second to clock chip.
Realize through the above way on the basis of the CPU of smart machine timer/counter, clock chip often produces When the error of 1 second just carries out error school, user is set to obtain more correct time information.
Wherein, above-mentioned smart machine can be intelligent home device, such as can be such as intelligent desk lamp, intelligent curtain Deng;
The smart machine that embodiment of the present invention provides, by the basis of CPU timer and/or counter, and In the case where taking less cpu resource, the walking time error of clock chip can be reduced, provide the user more correct time Information.
For those skilled in the art it is easily understood that on the premise of not conflicting, above-mentioned each preferred scheme can be free Ground combination, superposition.
It should be appreciated that above-mentioned embodiment is only illustrative, and not restrictive, without departing from the basic of the present invention In the case of principle, those skilled in the art can be directed to the various obvious or equivalent modification made of above-mentioned details or replace Change, be all included in scope of the presently claimed invention.

Claims (18)

  1. A kind of 1. calibration method of clock chip, it is characterised in that including:
    S1:The temporal information determined using timer and/or counter is obtained, and timer and/or counting are utilized according to described What the temporal information that device determines judged clock chip whether there is error when walking;
    S2:If error when walking be present in judge the clock chip, using timer and/or counter timing to it is described when Clock chip compensates when walking.
  2. 2. the calibration method of clock chip according to claim 1, it is characterised in that utilize timer and/or counter Timing the method compensated when walking of the clock chip is included:If judging, existing when walking for the clock chip is missed Difference, then timing is carried out using timer and/or counter, when the time of the timing reaching the first preset time, to described The compensation that the second preset time is carried out when walking of clock chip.
  3. 3. the calibration method of clock chip according to claim 1, it is characterised in that step S1 includes:
    S11:Read the value of default minute variable and the minute value when clock chip is walked, wherein, the minute variable Span be integer between 0~59, and the minute variable holds lines per minute according to the timing of timer and/or counter Clock adds 1 operation;
    S12:If the minute value when value of the minute variable of the reading is walked from the clock chip is different, described in judgement Error when walking be present in clock chip.
  4. 4. the calibration method of clock chip according to claim 2, it is characterised in that also include before step S1:
    The time needed for the error for often producing second preset time when walking with respect to the standard time of the clock chip is calculated, So as to obtain first preset time.
  5. 5. the calibration method of clock chip according to claim 4, it is characterised in that perform one every the 3rd preset time Secondary step S1.
  6. 6. the calibration method of clock chip according to claim 5, it is characterised in that the 3rd preset time be less than or Equal to first preset time.
  7. 7. the calibration method of clock chip according to claim 2, it is characterised in that second preset time is 1 second.
  8. 8. according to the calibration method of any described clock chips of claim 1-7, it is characterised in that also wrapped before step S1 Include:
    Judge whether the clock chip is in networking state, if it is not, step S1 is then performed, if so, then from default service end Temporal information is obtained, and the clock chip is calibrated according to the temporal information obtained from the service end.
  9. A kind of 9. correction device of clock chip, it is characterised in that including:
    Judge module, for obtaining the temporal information determined using timer and/or counter, and timer is utilized according to described And/or the temporal information that determines of counter judge clock chip whether there is error when walking;
    Module during school, for when the judge module judge the clock chip when error be present when walking using timer and/ Or the timing of counter being compensated when walking to the clock chip.
  10. 10. the correction device of clock chip according to claim 9, it is characterised in that module is used to work as institute during the school That states that judge module judges the clock chip carries out timing when error when walking be present using timer and/or counter, works as institute When stating time of timing and reaching the first preset time, the compensation that the second preset time is carried out when walking to the clock chip.
  11. 11. the correction device of clock chip according to claim 9, it is characterised in that the judge module includes:
    Reading unit, minute value when value and the clock chip for reading default minute variable are walked, wherein, it is described The span of minute variable is the integer between 0~59, and the minute variable is according to the timing of timer and/or counter Perform per minute plus 1 operation;
    Judging unit, if the minute value when value for the minute variable of the reading is walked from the clock chip is different, Error when walking be present in then judge the clock chip.
  12. 12. the correction device of clock chip according to claim 10, it is characterised in that the correction device also includes:
    Computing module, relative standard time when walking for calculating the clock chip often produce the mistake of second preset time The difference required time, so as to obtain first preset time.
  13. 13. the correction device of clock chip according to claim 12, it is characterised in that every the 3rd preset time, institute State judge module and obtain the temporal information determined using timer and/or counter, and timer and/or meter are utilized according to described What the temporal information that number devices determine judged clock chip whether there is error when walking.
  14. 14. the correction device of clock chip according to claim 13, it is characterised in that the 3rd preset time is less than Or equal to first preset time.
  15. 15. the correction device of clock chip according to claim 10, it is characterised in that second preset time is 1 Second.
  16. 16. according to the correction device of any described clock chips of claim 10-15, it is characterised in that the correction device Also include:
    Control module, for judging whether the clock chip is in networking state, if it is not, then controlling the judge module to obtain The temporal information determined using timer and/or counter, and according to the time determined using timer and/or counter What information judged clock chip whether there is error when walking, if the clock chip is in networking state, from default service End obtains temporal information, and the clock chip is calibrated according to the temporal information obtained from the service end.
  17. A kind of 17. smart machine, it is characterised in that including:
    Clock chip;
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:
    The temporal information determined using timer and/or counter is obtained, and according to described true using timer and/or counter What fixed temporal information judged the clock chip whether there is error when walking;
    If judge the clock chip has error when walking, timing is carried out using timer and/or counter, when the meter When time when reaching the first preset time, the compensation that the second preset time is carried out when walking to the clock chip.
  18. 18. smart machine according to claim 17, it is characterised in that the processor include the timer and/or Counter.
CN201710693313.3A 2017-08-14 2017-08-14 Time correction method and device for clock chip and intelligent equipment Active CN107450305B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710693313.3A CN107450305B (en) 2017-08-14 2017-08-14 Time correction method and device for clock chip and intelligent equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710693313.3A CN107450305B (en) 2017-08-14 2017-08-14 Time correction method and device for clock chip and intelligent equipment

Publications (2)

Publication Number Publication Date
CN107450305A true CN107450305A (en) 2017-12-08
CN107450305B CN107450305B (en) 2020-03-27

Family

ID=60491984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710693313.3A Active CN107450305B (en) 2017-08-14 2017-08-14 Time correction method and device for clock chip and intelligent equipment

Country Status (1)

Country Link
CN (1) CN107450305B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109283830A (en) * 2018-11-20 2019-01-29 深圳智芯科技有限公司 A kind of method, system and time set reducing walking time error
CN110609464A (en) * 2018-06-14 2019-12-24 株洲中车时代电气股份有限公司 Time service method and system of embedded communication system
CN112099562A (en) * 2020-08-27 2020-12-18 江苏美的清洁电器股份有限公司 Power compensation control method and device, electric appliance, electronic equipment and storage medium
CN113009899A (en) * 2019-12-20 2021-06-22 金卡智能集团股份有限公司 RTC (real time clock) calibration method for high-precision timing of metering instrument
CN113271171A (en) * 2021-05-14 2021-08-17 四川虹美智能科技有限公司 Time calibration method, device and computer readable medium
CN113805463A (en) * 2021-09-08 2021-12-17 珠海格力电器股份有限公司 Method for calibrating timing time of air conditioner
CN114428450A (en) * 2022-02-10 2022-05-03 福州三立电子有限公司 High-precision travel time error fine adjustment method for electronic clock
CN114553353A (en) * 2020-11-25 2022-05-27 成都鼎桥通信技术有限公司 Timing method and device and vehicle-mounted wireless communication box

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2261752B (en) * 1991-11-19 1995-02-01 Seikosha Kk Timepiece
CN1355455A (en) * 2000-12-01 2002-06-26 神基科技股份有限公司 Method for correcting time of computer system
CN102323742A (en) * 2011-04-19 2012-01-18 上海众人网络安全技术有限公司 Clock calibration system and method for dynamic password token
US20120300614A1 (en) * 2011-05-23 2012-11-29 Samsung Electronics Co., Ltd. Method and apparatus for error correction ciphering in mobile communication system
CN103472713A (en) * 2013-09-25 2013-12-25 湖州职业技术学院 Time correction system of clock
CN104090483A (en) * 2014-07-29 2014-10-08 苏州朗昇通信科技有限公司 Method and device for calibrating time display instrument

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2261752B (en) * 1991-11-19 1995-02-01 Seikosha Kk Timepiece
CN1355455A (en) * 2000-12-01 2002-06-26 神基科技股份有限公司 Method for correcting time of computer system
CN102323742A (en) * 2011-04-19 2012-01-18 上海众人网络安全技术有限公司 Clock calibration system and method for dynamic password token
US20120300614A1 (en) * 2011-05-23 2012-11-29 Samsung Electronics Co., Ltd. Method and apparatus for error correction ciphering in mobile communication system
CN103472713A (en) * 2013-09-25 2013-12-25 湖州职业技术学院 Time correction system of clock
CN104090483A (en) * 2014-07-29 2014-10-08 苏州朗昇通信科技有限公司 Method and device for calibrating time display instrument

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110609464A (en) * 2018-06-14 2019-12-24 株洲中车时代电气股份有限公司 Time service method and system of embedded communication system
CN110609464B (en) * 2018-06-14 2021-08-20 株洲中车时代电气股份有限公司 Time service method and system of embedded communication system
CN109283830A (en) * 2018-11-20 2019-01-29 深圳智芯科技有限公司 A kind of method, system and time set reducing walking time error
CN113009899A (en) * 2019-12-20 2021-06-22 金卡智能集团股份有限公司 RTC (real time clock) calibration method for high-precision timing of metering instrument
CN112099562A (en) * 2020-08-27 2020-12-18 江苏美的清洁电器股份有限公司 Power compensation control method and device, electric appliance, electronic equipment and storage medium
CN114553353A (en) * 2020-11-25 2022-05-27 成都鼎桥通信技术有限公司 Timing method and device and vehicle-mounted wireless communication box
CN114553353B (en) * 2020-11-25 2023-09-19 成都鼎桥通信技术有限公司 Timing method and device and vehicle-mounted wireless communication box
CN113271171A (en) * 2021-05-14 2021-08-17 四川虹美智能科技有限公司 Time calibration method, device and computer readable medium
CN113805463A (en) * 2021-09-08 2021-12-17 珠海格力电器股份有限公司 Method for calibrating timing time of air conditioner
CN113805463B (en) * 2021-09-08 2022-06-07 珠海格力电器股份有限公司 Method for calibrating timing time of air conditioner
CN114428450A (en) * 2022-02-10 2022-05-03 福州三立电子有限公司 High-precision travel time error fine adjustment method for electronic clock
CN114428450B (en) * 2022-02-10 2024-01-30 福州三立电子有限公司 Electronic clock high-precision travel time error fine adjustment method

Also Published As

Publication number Publication date
CN107450305B (en) 2020-03-27

Similar Documents

Publication Publication Date Title
CN107450305A (en) Calibration method and correction device, the smart machine of clock chip
CN103176400B (en) Intelligent ammeter clock calibration method
CN111443587B (en) External clock calibration method and system
CN105573106B (en) To the amendment circuit and its method of RTC accuracy of timekeeping in a kind of intelligent electric meter
CN108089141B (en) Error correction method and device of current measuring device based on current divider
TWI722645B (en) Blood glucose test strip and associated measuring method
CN106292839B (en) Real-time clock compensation circuit and calibration method, device
CN101303401A (en) RTC regulating apparatus of electrical energy meter and RTC automatic compensation correcting method
CN103823084A (en) Method for calibrating three-axis acceleration sensor
CN104702214B (en) A kind of method of crystal oscillator frequency compensation
CN109407043B (en) Electric energy meter calibration method, device and equipment
CN110262210A (en) Crystal oscillator based on counter is kept time method
CN102736967A (en) Test system and method of watchdog timer
CN107272821A (en) Calibration method of real-time clock and device, storage medium, electronic equipment
CN109407498A (en) A kind of clock of power meter test method and clock of power meter test device
CN103853081A (en) MCU internal clock calibration system and method and PCB
CN103884439A (en) Electronic device and method for detecting environment temperature by applying electronic device
US8224606B2 (en) Measuring clock jitter
JP5972450B2 (en) Signal processing device
CN108519521A (en) Capacitance measurement system, method and apparatus
CN110261792A (en) DC power supply detection method, device, test terminal and readable storage medium storing program for executing
CN112540290A (en) Test method and device for clock frequency calibration, storage medium and terminal
CN204731379U (en) A kind of SOC measuring equipment
CN104635193B (en) A kind of SOC real-time clock high-accuracy compensation method of ammeter
CN111026232A (en) Clock calibration method, chip and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20191104

Address after: 519000 Jinji Road, Qianshan, Zhuhai City, Guangdong Province

Applicant after: GREE ELECTRIC APPLIANCES Inc. OF ZHUHAI

Applicant after: Zhuhai Gree Energy Saving & Refrigerating Technology Resarch Center Co., Ltd.

Address before: 519070 Guangdong city of Zhuhai province Rooster Hill Road No. 789 building

Applicant before: Zhuhai Gree Energy Saving & Refrigerating Technology Resarch Center Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant