WO2019012636A1 - 時刻補正装置及び時刻補正方法 - Google Patents

時刻補正装置及び時刻補正方法 Download PDF

Info

Publication number
WO2019012636A1
WO2019012636A1 PCT/JP2017/025451 JP2017025451W WO2019012636A1 WO 2019012636 A1 WO2019012636 A1 WO 2019012636A1 JP 2017025451 W JP2017025451 W JP 2017025451W WO 2019012636 A1 WO2019012636 A1 WO 2019012636A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
value
clock
accuracy
deviation
Prior art date
Application number
PCT/JP2017/025451
Other languages
English (en)
French (fr)
Inventor
毅泰 今枝
Original Assignee
三菱電機株式会社
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 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to PCT/JP2017/025451 priority Critical patent/WO2019012636A1/ja
Publication of WO2019012636A1 publication Critical patent/WO2019012636A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G3/00Producing timing pulses
    • G04G3/04Temperature-compensating arrangements
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G5/00Setting, i.e. correcting or changing, the time-indication

Definitions

  • the present invention relates to a time correction device and a time correction method for correcting the time indicated by a clock.
  • the time indicated by the clock may deviate from the reference time.
  • An example of the reference time is Japan Standard Time or Coordinated Universal Time.
  • the amount of deviation between the time indicated by the clock and the reference time depends on the temperature around the clock.
  • Conventionally, there has been proposed a technique for detecting the temperature around a watch using a temperature sensor and correcting the time indicated by the watch using information specifying a shift amount for each temperature see, for example, Patent Document 1).
  • the time shown by the clock is corrected in consideration of the temperature around the clock, the time is corrected regardless of the accuracy required by the user. Since the load of the process of correcting the time is not relatively small, if the time is corrected with an accuracy higher than the accuracy required by the user, it may be difficult for the device including the timepiece to perform an operation that should originally be performed. If the time is corrected with an accuracy lower than that required by the user, it may be difficult for the device operating based on the time to perform an operation synchronized with another device. It is required to provide a technique for correcting the time indicated by the clock with the accuracy required by the user.
  • the present invention has been made in view of the above, and it is an object of the present invention to obtain a time correction device that corrects the time indicated by a clock with the accuracy required by the user.
  • the present invention stores a shift information storage unit that stores shift information indicating shift amount per fixed time with respect to a reference time of a time indicated by a clock, and stores accuracy request values.
  • a calculation unit that adds the deviation information to calculate the accumulated deviation amount every fixed time, and the absolute value of the accumulated deviation amount The time indicated by the clock and the accuracy requirement when the determination unit that determines the magnitude relationship with the accuracy requirement value and the determination unit determine that the absolute value of the accumulated deviation amount is greater than the accuracy requirement value or greater than the accuracy requirement value
  • a correction unit that corrects the time indicated by the clock by calculating the absolute value of the value.
  • the time correction apparatus has the effect of being able to correct the time indicated by the clock with the accuracy required by the user.
  • FIG. 1 shows a specific example of the operation of the time correction device according to the embodiment.
  • FIG. 2 shows a specific example of the operation of the time correction device according to the embodiment.
  • FIG. 1 is a diagram showing a configuration of a time correction device 1 according to the embodiment.
  • the time correction device 1 is mounted on, for example, a programmable logic controller.
  • the time correction device 1 has a timepiece 2 and a temperature information receiving unit 3 that receives temperature information indicating the temperature around the timepiece 2.
  • a temperature sensor 4 is disposed outside the time correction device 1.
  • the temperature information receiving unit 3 receives temperature information from the temperature sensor 4.
  • the temperature sensor 4 may detect the temperature inside the programmable logic controller, and the temperature around the clock 2 may be the temperature inside the programmable logic controller.
  • the temperature sensor 4 detects a temperature within a predetermined distance from the programmable logic controller, and the temperature around the clock 2 is predetermined from the programmable logic controller. The temperature may be within the range of distance.
  • the time correction device 1 may have the temperature sensor 4 differently from the case of FIG. In that case, the temperature sensor 4 may detect the temperature inside the time correction device 1, and the temperature around the clock 2 may be the temperature inside the time correction device 1. In any case, the temperature around the watch 2 is the temperature of the space within a predetermined distance from the watch 2.
  • the time correction device 1 further includes a shift information storage unit 5 that stores shift information indicating a shift amount per fixed time with respect to a reference time indicated by the clock 2.
  • the shift information indicates the shift amount per fixed time for each temperature of the time indicated by the clock 2 with respect to the reference time.
  • One example of the misalignment information storage unit 5 is an EEPROM (registered trademark) (Electrically Erasable Programmable Read-Only Memory). That is, the deviation information storage unit 5 is a storage medium.
  • An example of the reference time is Japan Standard Time or Coordinated Universal Time.
  • the reference time is transmitted by the network time protocol.
  • FIG. 2 is a view schematically showing an example of shift information stored in the shift information storage unit 5 included in the time correction apparatus 1 according to the embodiment.
  • the shift amount per fixed time for each temperature of the time shown by the watch 2 with respect to the reference time is It shows that it is 0 second every hour.
  • the shift information indicates that the shift amount per fixed time for each temperature of the time indicated by the clock 2 with respect to the reference time is increased as the temperature increases when the temperature around the clock 2 is in the range from 40 ° C. to 60 ° C. It shows rising from 0 seconds to 4/3 seconds per hour.
  • the time correction device 1 further includes an accuracy request value receiving unit 6 that receives an accuracy request value which is a value of an allowable limit requested by the user for the difference between the reference time and the time indicated by the clock 2.
  • the accuracy requirement value is a positive value.
  • the required accuracy value is a value for correcting the time indicated by the clock 2 with the accuracy requested by the user. For example, when the user requires that the limit of the size of the time shift indicated by the clock 2 with respect to the reference time be 1 second, the required accuracy value is 1 second. For example, when the user requests that the limit of the size of the time shift indicated by the clock 2 with respect to the reference time be 5 seconds, the required accuracy value is 5 seconds.
  • an input unit 7 is disposed outside the time correction device 1.
  • the input unit 7 is connected to the accuracy request value receiving unit 6.
  • the input unit 7 is a keyboard and a mouse connected to a general-purpose personal computer.
  • the user uses the input unit 7 to input the required accuracy value, and the required accuracy value receiver 6 receives the input required accuracy value.
  • the time correction device 1 further includes an accuracy request value storage unit 8 that stores the accuracy request value received by the accuracy request value reception unit 6.
  • One example of the required accuracy value storage unit 8 is EEPROM (registered trademark). That is, the required accuracy value storage unit 8 is a storage medium.
  • the time correction device 1 further includes a calculation unit 9 that calculates the cumulative amount of deviation by adding the deviation information at regular time intervals after the start of the process of correcting the time indicated by the clock 2.
  • the calculation unit 9 specifies the amount of deviation per fixed time corresponding to the temperature indicated by the temperature information based on the deviation information stored in the deviation information storage unit 5, adds the specified deviation information, and adds the accumulated deviation amount Calculate Specifically, the calculation unit 9 stores the temperature information received by the temperature information receiving unit 3 and the deviation information storage for each of a plurality of times indicated by the clock 2 after the start of the process of correcting the time indicated by the clock 2 Based on the deviation information stored in the unit 5, the accumulated deviation amount with respect to the reference time of the time indicated by the clock 2 is calculated.
  • the calculation unit 9 sets the temperature indicated by the temperature information for each of the plurality of times from the start time to the time indicated by the clock 2 for each of the plurality of times indicated by the clock 2 after the start of the correction process.
  • the corresponding shift amount per fixed time is specified based on the shift information, and a plurality of specified shift amounts are added to calculate the cumulative shift amount.
  • the calculation unit 9 indicates temperature information for each of all the times from the start to the time indicated by the clock 2.
  • the amount of deviation per fixed time corresponding to the temperature is specified based on the deviation information, and all the amounts of deviation specified are added to calculate the accumulated amount of deviation.
  • the time correction device 1 further includes a determination unit 10 that determines the magnitude relationship between the absolute value of the accumulated deviation amount and the required accuracy value. Specifically, the determination unit 10 determines whether or not the absolute value of the accumulated shift amount calculated by the calculation unit 9 is equal to or more than the accuracy requirement value stored in the accuracy requirement value storage unit 8. When the determination unit 10 determines that the absolute value of the cumulative deviation amount is equal to or more than the accuracy requirement value, the time correction device 1 calculates the time indicated by the clock 2 and the absolute value of the accuracy requirement value to indicate the clock 2 It further includes a correction unit 11 that corrects the time. Specifically, the correction unit 11 corrects the time indicated by the clock 2 when the determination unit 10 determines that the absolute value of the cumulative deviation amount is equal to or more than the accuracy requirement value.
  • the correction unit 11 subtracts the required accuracy value from the time indicated by the clock 2 to correct the time indicated by the clock 2.
  • the correction unit 11 adds the required accuracy value to the time indicated by the clock 2 to correct the time indicated by the clock 2. Furthermore, the correction unit 11 corrects the time indicated by the clock 2 when it is determined that the absolute value of the cumulative deviation amount is equal to or more than the required accuracy value.
  • the correction unit 11 is connected to a network time protocol server 12 that transmits information on coordinated universal time, which is one of the reference times.
  • the network time protocol server 12 is shown as an NTP server 12.
  • the correction unit 11 receives information on the universal time zone from the network time protocol server 12 at a frequency of, for example, once a day, and corrects the time indicated by the clock 2 based on the received information.
  • the timepiece 2, the temperature information reception unit 3, the accuracy request value reception unit 6, the calculation unit 9, the determination unit 10, and at least some of the components of the correction unit 11 included in the time correction device 1 according to the embodiment are processed It may be realized by a circuit. That is, at least a part of the functions of the timepiece 2, the temperature information reception unit 3, the accuracy request value reception unit 6, the calculation unit 9, the determination unit 10, and the correction unit 11 may be realized by a processing circuit.
  • the processing circuit is dedicated hardware.
  • the processing circuit may be, for example, a single circuit, a complex circuit, a programmed processor, a parallel programmed processor, an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or a combination thereof. is there.
  • Part of the clock 2, the temperature information receiving unit 3, the required accuracy value receiving unit 6, the calculating unit 9, the determining unit 10, and the correcting unit 11 may be dedicated hardware that is separate from the remaining part.
  • FIG. 31 is a diagram showing a processor 31 in the case of being realized by 31. That is, at least a part of the functions of the clock 2, the temperature information reception unit 3, the accuracy request value reception unit 6, the calculation unit 9, the determination unit 10 and the correction unit 11 are performed by the processor 31 executing a program stored in the memory 32. It may be realized.
  • the processor 31 is a central processing unit (CPU), a processing device, an arithmetic device, a microprocessor, a microcomputer, or a digital signal processor (DSP).
  • a memory 32 is also shown in FIG.
  • the part of the functions is the processor 31 and software, firmware, or a combination of software and firmware.
  • the software or firmware is written as a program and stored in the memory 32.
  • the processor 31 reads out and executes the program stored in the memory 32 to obtain at least a part of the clock 2, the temperature information receiving unit 3, the accuracy request value receiving unit 6, the calculation unit 9, the determination unit 10 and the correction unit 11.
  • the time correction device 1 In order to store a program that results in the steps executed by the clock 2, the temperature information reception unit 3, the accuracy request value reception unit 6, the calculation unit 9, the determination unit 10 and a part of the correction unit 11.
  • Memory 32 of FIG. The program stored in the memory 32 causes the computer to execute the procedure or method executed by a part of the clock 2, the temperature information receiving unit 3, the accuracy request value receiving unit 6, the calculating unit 9, the determining unit 10 and the correcting unit 11. It can be said that it is a thing.
  • the memory 32 is, for example, a random access memory (RAM), a read only memory (ROM), a flash memory, a non-volatile or volatile semiconductor memory such as an EEPROM (registered trademark), an EPROM (erasable programmable read only memory), or an EEPROM (registered trademark).
  • RAM random access memory
  • ROM read only memory
  • flash memory a non-volatile or volatile semiconductor memory such as an EEPROM (registered trademark), an EPROM (erasable programmable read only memory), or an EEPROM (registered trademark).
  • EEPROM registered trademark
  • EPROM erasable programmable read only memory
  • EEPROM registered trademark
  • Flexible disks optical disks, compact disks, mini disks, DVDs (Digital Versatile Disks), and the like.
  • the temperature information receiving unit 3, the accuracy request value receiving unit 6, the calculation unit 9, the determination unit 10, and the correction unit 11 a part of the plurality of functions is realized by dedicated hardware
  • the remainder of the functions may be implemented in software or firmware.
  • the plurality of functions of the clock 2, the temperature information receiving unit 3, the accuracy request value receiving unit 6, the calculation unit 9, the determination unit 10, and the correction unit 11 are realized by hardware, software, firmware, or a combination thereof. can do.
  • FIG. 4 is a flowchart showing the procedure of the operation of the time correction device 1 according to the embodiment.
  • the user uses the input unit 7 to input the accuracy requirement value.
  • the accuracy request value receiving unit 6 receives the input accuracy request value (S1).
  • the temperature information receiving unit 3 receives temperature information indicating the temperature around the clock 2 from the temperature sensor 4 (S2).
  • the calculation unit 9 After the start of the process of correcting the time indicated by the clock 2, the calculation unit 9 adds the deviation information at regular intervals to calculate the accumulated deviation amount (S3). Specifically, the calculation unit 9 stores the temperature information received by the temperature information receiving unit 3 and the deviation information storage for each of a plurality of times indicated by the clock 2 after the start of the process of correcting the time indicated by the clock 2 Based on the deviation information stored in the unit 5, the accumulated deviation amount with respect to the reference time of the time indicated by the clock 2 is calculated (S3).
  • calculation unit 9 determines, based on deviation information, the amount of deviation per fixed time corresponding to the temperature indicated by temperature information at each of a plurality of times indicated by clock 2 after the start of the correction process. To identify. The calculating unit 9 adds up the plurality of specified deviations to calculate the accumulated deviation. Furthermore, in step S3, when the calculation unit 9 calculates the accumulated deviation amount in the past, the deviation per fixed time corresponding to the temperature indicated by the temperature information received this time is the accumulated deviation amount T calculated last time The amount ⁇ T is added to calculate the cumulative deviation amount T of this time.
  • the determination unit 10 determines whether the absolute value of the accumulated deviation amount calculated by the calculation unit 9 is equal to or more than the accuracy requirement value stored in the accuracy requirement value storage unit 8 (S4). When it is determined by the determination unit 10 that the absolute value of the cumulative deviation amount is less than the accuracy requirement value (No in S4), the operation of the time correction device 1 proceeds to step S2. If the determination unit 10 determines that the absolute value of the cumulative shift amount is equal to or more than the accuracy requirement value (Yes in S4), the correction unit 11 corrects the time indicated by the clock 2 (S5).
  • step S5 when the accumulated deviation amount is a positive value, the correction unit 11 subtracts the required accuracy value from the time indicated by the clock 2 to correct the time indicated by the clock 2.
  • the correction unit 11 adds the required accuracy value to the time indicated by the clock 2 to correct the time indicated by the clock 2. Furthermore, the correction unit 11 corrects the time indicated by the clock 2 when it is determined that the absolute value of the cumulative deviation amount is equal to or more than the required accuracy value.
  • FIG. 5 is a diagram showing a specific situation for specifically explaining the operation of the time correction device 1 according to the embodiment.
  • the time correction device 1 is disposed in a space of 25 ° C. at the time of “00:00”.
  • “0: 0: 0” is at the start of the correction process.
  • the time is a time indicated by the clock 2.
  • "0:00:00" is shown as "0:00:00”.
  • the time of "X: Y: Z” is described as "X: Y: Z”.
  • the time of “X hour Y minute Z second” is described as “X: 0 Y: 0 Z”.
  • the temperature of the space in which the time correction device 1 is arranged is 25 ° C. at “0: 00: 1 second”, and after “0: 0: 1 second”, “0: 0: 0 Assume that the temperature rises up to the second. Specifically, the temperature of the space in which the time correction device 1 is arranged is 26 ° C. at “0:01:00”, and is 40 ° C. at “0:10:00”, and “1: 0 In the case of "minutes 0 seconds”, assume a situation of 60 ° C. In addition, it is assumed that the temperature of the space in which the time correction device 1 is arranged is maintained at 60 ° C. between “1:00” and “4:00:00”.
  • the accumulated shift amount calculated by the calculation unit 9 based on the shift information described using FIG. 2 is “0: 0: 0” to “0: 10: 0” at each time from “0: 10: 0” It is assumed that the condition is “0 second” and “1 second” in “1:00:00” and “5 seconds” in “4:00:00”. In FIG. 5, the fact that the cumulative deviation amount is “0 seconds” is indicated as “0:00:00”, and the fact that the cumulative deviation amount is “1 second” is indicated as “0:00:01” The fact that the cumulative deviation amount is “5 seconds" is indicated as "0:00:05”.
  • the deviation information is stored in the deviation information storage unit 5.
  • FIG. 6 is a first diagram showing a specific example of the operation of the time correction device 1 according to the embodiment.
  • the cumulative deviation amount calculated by the calculation unit 9 is “0 second” at each time from “0: 0: 0 second” to “0: 10: 0 second”. That is, the absolute value of the accumulated deviation amount is less than the required accuracy value at each time from “0: 0: 0” to “0: 10: 0”. Therefore, the time indicated by time 2 is not corrected.
  • the accumulated deviation amount calculated by the calculation unit 9 is “1 second” at the time of “1:00.” That is, at the time of “1: 00: 0”, the absolute value of the accumulated deviation amount is equal to or more than the required accuracy value. Therefore, as shown in FIG. 6, the correction unit 11 detects the time indicated by the clock 2 at the time of 1:00:00 when it is determined that the absolute value of the cumulative deviation amount is equal to or greater than the accuracy requirement value. The time indicated by the clock 2 is corrected by subtracting 1 second which is the accuracy requirement value from. That is, the time indicated by the clock 2 is corrected to "0:59:59" as shown in FIG.
  • FIG. 7 is a second diagram showing a specific example of the operation of the time correction device 1 according to the embodiment.
  • the accumulated deviation amount calculated by the calculation unit 9 is “0 seconds” at each time from “0: 0: 0 seconds” to “0: 10: 0 seconds”, It is “1 second” at the time of “1:00:00”. That is, the absolute value of the accumulated deviation amount is less than the required accuracy value at each time from "0:00:00" to "1: 0: 00". Therefore, the time indicated by time 2 is not corrected.
  • the accumulated deviation amount calculated by the calculation unit 9 is “5 seconds” at the time of “4:00:00”. That is, at the time of “4: 0: 0”, the absolute value of the accumulated deviation amount is equal to or more than the required accuracy value. Therefore, as shown in FIG. 7, the correction unit 11 detects the time indicated by the clock 2 at the time of "4: 0. 0. 0" at which it is determined that the absolute value of the cumulative deviation amount is equal to or greater than the accuracy requirement value. The time indicated by the clock 2 is corrected by subtracting 5 seconds which is the accuracy requirement value from the above. That is, the time indicated by the clock 2 is corrected to "3:59:55" as shown in FIG.
  • the correction unit 11 calculates the absolute value of the accumulated deviation amount as the accuracy required value When it is determined that the above is true, the time indicated by the clock 2 is corrected. Specifically, when the cumulative deviation amount is a positive value, the correction unit 11 subtracts the required accuracy value from the time indicated by the clock 2 to correct the time indicated by the clock 2. When the accumulated deviation amount is a negative value, the correction unit 11 adds the required accuracy value to the time indicated by the clock 2 to correct the time indicated by the clock 2.
  • the accuracy requirement value is a user-requested tolerance value for the difference between the reference time and the time indicated by the clock 2.
  • the required accuracy value is a value for correcting the time indicated by the clock 2 with the accuracy requested by the user.
  • the correcting unit 11 determines that the accumulated deviation amount is a positive value. Correct the time indicated by the clock 2 by subtracting the required accuracy value from the time indicated by the clock 2 and correct the time indicated by the clock 2. Add the required accuracy value to the time indicated by the clock 2 when the accumulated deviation amount is a negative value. Correct the
  • the time indicated by the clock 2 is corrected with the accuracy required by the user. That is, the time correction device 1 can correct the time indicated by the clock 2 with the accuracy requested by the user. Furthermore, the time indicated by the clock 2 is corrected with the accuracy required by the user while taking into consideration the temperature around the clock 2. That is, the time correction device 1 can correct the time indicated by the clock 2 with the accuracy required by the user while considering the temperature around the clock 2.
  • the time correction device 1 has the timepiece 2, but the timepiece 2 may be disposed outside the time correction device 1.
  • the time correction device 1 may have the temperature sensor 4.
  • One or both of the deviation information storage unit 5 and the accuracy request value storage unit 8 may be disposed outside the time correction device 1.
  • the accuracy request value reception unit 6 may also be disposed outside the time correction device 1.
  • the correction unit 11 when the determination unit 10 determines that the absolute value of the accumulated deviation amount is equal to or more than the accuracy requirement value, the correction unit 11 indicates that the timepiece 2 indicates that the accumulated deviation amount is a positive value.
  • the accuracy request value is subtracted from the time to correct the time indicated by the clock 2.
  • the correction unit 11 adds the accuracy requirement value to the time indicated by the clock 2 when the determination unit 10 determines that the absolute value of the cumulative deviation amount is equal to or greater than the accuracy requirement value, and the cumulative deviation amount is a negative value.
  • the time indicated by the clock 2 is corrected.
  • the correction unit 11 subtracts the accumulated deviation amount from the time indicated by the timepiece 2 when the deviation amount is a positive value.
  • the time indicated by may be corrected.
  • the correction unit 11 adds the absolute value of the cumulative shift amount to the time indicated by the clock 2 when the shift amount is a negative value.
  • the time indicated by 2 may be corrected.
  • the time correction device 1 can correct the time indicated by the clock 2 with the accuracy requested by the user. Furthermore, the time correction device 1 can correct the time indicated by the clock 2 with the accuracy required by the user while considering the temperature around the clock 2.
  • the correction unit 11 corrects the time indicated by the clock 2 when it is determined that the absolute value of the cumulative deviation amount is equal to or more than the required accuracy value.
  • the correction unit 11 may correct the time indicated by the clock 2 after it is determined that the absolute value of the cumulative deviation amount is equal to or more than the accuracy requirement value.
  • the correction unit 11 may correct the time indicated by the clock 2 when a predetermined time period has elapsed from when it is determined that the absolute value of the cumulative deviation amount is equal to or more than the required accuracy value.
  • the predetermined time period is determined by the user, for example. In this case, the accuracy of the time indicated by the clock 2 is reduced in a predetermined period, but if the predetermined period is set relatively short in accordance with the accuracy required by the user, the time correction device 1 The time indicated by the clock 2 can be corrected substantially with the accuracy required by the user.
  • the predetermined period is 0.1 second.
  • the determination unit 10 determines whether or not the absolute value of the accumulated deviation amount calculated by the calculation unit 9 is equal to or more than the accuracy requirement value stored in the accuracy requirement value storage unit 8. However, the determination unit 10 may determine whether the absolute value of the cumulative deviation amount calculated by the calculation unit 9 is larger than the accuracy requirement value.
  • the correction unit 11 corrects the time indicated by the clock 2 when the determination unit 10 determines that the absolute value of the accumulated shift amount is equal to or more than the accuracy requirement value.
  • the correction unit 11 may correct the time indicated by the clock 2 when the determination unit 10 determines that the absolute value of the accumulated deviation amount is larger than the accuracy requirement value. More specifically, the correction unit 11 may correct the time indicated by the clock 2 when the determination unit 10 determines that the absolute value of the cumulative deviation amount is larger than the accuracy requirement value.
  • the correction unit 11 subtracts the accumulated deviation amount from the time indicated by the timepiece 2 to correct the time indicated by the timepiece 2.
  • the correction unit 11 adds the absolute value of the accumulated deviation amount to the time indicated by the clock 2 to correct the time indicated by the timepiece 2.
  • the time correction device is the same as the embodiment described above. 1 can correct the time indicated by the clock 2 with the accuracy required by the user. Furthermore, the time correction device 1 can correct the time indicated by the clock 2 with the accuracy required by the user while considering the temperature around the clock 2.
  • accuracy request value receiving unit 6 receives the accuracy request value input by the user using input unit 7, and accuracy request value storage unit 8 stores the accuracy request value received by accuracy request value receiving unit 6. Do. Therefore, the user can freely select the required accuracy value, and can store the selected required accuracy value in the required accuracy value storage unit 8. As a result, the time correction device 1 can correct the time indicated by the clock 2 with the accuracy selected by the user. Furthermore, the time correction device 1 can correct the time indicated by the clock 2 with the accuracy selected by the user while considering the temperature around the clock 2.
  • the time correction device 1 has the accuracy request value receiving unit 6, and the accuracy request value storage unit 8 stores the accuracy request value received by the accuracy request value receiving unit 6.
  • the time correction device 1 may not have the accuracy request value receiving unit 6, and the accuracy request value may be stored in the accuracy request value storage unit 8 in advance. Even in such a case, since the required accuracy value storage unit 8 stores the required accuracy value, the time correction device 1 can correct the time indicated by the clock 2 with the accuracy requested by the user. Furthermore, the time correction device 1 can correct the time indicated by the clock 2 with the accuracy required by the user while considering the temperature around the clock 2.
  • the configuration shown in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and one of the configurations is possible within the scope of the present invention. It is also possible to omit or change parts.
  • 1 time correction device 2 clocks, 3 temperature information reception units, 4 temperature sensors, 5 deviation information storage units, 6 accuracy request value reception units, 7 input units, 8 accuracy request value storage units, 9 calculation units, 10 judgment units, 11 correction unit, 12 network time protocol server, 31 processors, 32 memories.

Landscapes

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

Abstract

時刻補正装置(1)は、時計(2)が示す時刻の基準時刻に対する一定時間当たりのずれ量を示すずれ情報を記憶するずれ情報記憶部(5)と、精度要求値を記憶する精度要求値記憶部(8)と、時計(2)が示す時刻の補正の処理の開始時の後、一定時間毎に、ずれ情報を足し合わせて累積ずれ量を算出する算出部(9)と、累積ずれ量の絶対値と精度要求値との大小関係を判断する判断部(10)と、判断部(10)によって累積ずれ量の絶対値が精度要求値以上である、又は精度要求値より大きいと判断される場合、時計(2)が示す時刻と精度要求値の絶対値を演算することで時計(2)が示す時刻を補正する補正部(11)とを有する。

Description

時刻補正装置及び時刻補正方法
 本発明は、時計が示す時刻を補正する時刻補正装置及び時刻補正方法に関する。
 時計が示す時刻は、基準時刻からずれる場合がある。基準時刻の一例は、日本標準時又は協定世界時である。時計が示す時刻と基準時刻とのずれ量は、時計の周囲の温度に依存する。従来、温度センサを用いて時計の周囲の温度を検出し、温度別のずれ量を特定する情報を用いて時計が示す時刻を補正する技術が提案されている(例えば、特許文献1参照)。
特開2011-250364号公報
 しかしながら、上述の従来の技術では、時計が示す時刻は時計の周囲の温度が考慮されて補正されるものの、時刻はユーザが要求する精度と無関係に補正される。時刻を補正する処理の負荷は比較的小さくないので、ユーザが要求する精度より高い精度で時刻が補正されると、時計を含む装置は本来行うべき動作を行うことが困難になる場合がある。ユーザが要求する精度より低い精度で時刻が補正されると、時刻をもとに動作する装置は他の装置と同期した動作を行うことが困難になる場合がある。ユーザが要求する精度で時計が示す時刻を補正する技術が提供されることが要求されている。
 本発明は、上記に鑑みてなされたものであって、ユーザが要求する精度で時計が示す時刻を補正する時刻補正装置を得ることを目的とする。
 上述した課題を解決し、目的を達成するために、本発明は、時計が示す時刻の基準時刻に対する一定時間当たりのずれ量を示すずれ情報を記憶するずれ情報記憶部と、精度要求値を記憶する精度要求値記憶部と、時計が示す時刻の補正の処理の開始時の後、一定時間毎に、ずれ情報を足し合わせて累積ずれ量を算出する算出部と、累積ずれ量の絶対値と精度要求値との大小関係を判断する判断部と、判断部によって累積ずれ量の絶対値が精度要求値以上である、又は精度要求値より大きいと判断される場合、時計が示す時刻と精度要求値の絶対値を演算することで時計が示す時刻を補正する補正部とを有する。
 本発明にかかる時刻補正装置は、ユーザが要求する精度で時計が示す時刻を補正することができるという効果を奏する。
実施の形態にかかる時刻補正装置の構成を示す図 実施の形態にかかる時刻補正装置が有するずれ情報記憶部が記憶するずれ情報の一例を模式して示す図 実施の形態にかかる時刻補正装置が有する時計、温度情報受信部、精度要求値受付部、算出部、判断部及び補正部の少なくとも一部の機能がプロセッサによって実現される場合のプロセッサを示す図 実施の形態にかかる時刻補正装置の動作の手順を示すフローチャート 実施の形態にかかる時刻補正装置の動作を具体的に説明するための具体的な状況を示す図 実施の形態にかかる時刻補正装置の動作の具体例を示す第1図 実施の形態にかかる時刻補正装置の動作の具体例を示す第2図
 以下に、本発明の実施の形態にかかる時刻補正装置及び時刻補正方法を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。
実施の形態.
 まず、実施の形態にかかる時刻補正装置1の構成を説明する。図1は、実施の形態にかかる時刻補正装置1の構成を示す図である。時刻補正装置1は、例えばプログラマブルロジックコントローラに搭載される。時刻補正装置1は、時計2と、時計2の周囲の温度を示す温度情報を受信する温度情報受信部3とを有する。図1に示す通り、時刻補正装置1の外部には温度センサ4が配置されている。温度情報受信部3は、温度センサ4から温度情報を受信する。
 時刻補正装置1がプログラマブルロジックコントローラに搭載される場合、温度センサ4はプログラマブルロジックコントローラの内部の温度を検出し、時計2の周囲の温度はプログラマブルロジックコントローラの内部の温度であってもよい。時刻補正装置1がプログラマブルロジックコントローラに搭載される場合、温度センサ4はプログラマブルロジックコントローラからあらかじめ決められた距離の範囲内の温度を検出し、時計2の周囲の温度はプログラマブルロジックコントローラからあらかじめ決められた距離の範囲内の温度であってもよい。図1の場合と異なって時刻補正装置1が温度センサ4を有してもよい。その場合、温度センサ4は時刻補正装置1の内部の温度を検出し、時計2の周囲の温度は時刻補正装置1の内部の温度であってもよい。いずれにしても、時計2の周囲の温度は、時計2からあらかじめ決められた距離の範囲内の空間の温度である。
 時刻補正装置1は、時計2が示す時刻の基準時刻に対する一定時間当たりのずれ量を示すずれ情報を記憶するずれ情報記憶部5を更に有する。例えば、ずれ情報は、基準時刻に対しての時計2が示す時刻の温度毎の一定時間当たりのずれ量を示す。ずれ情報記憶部5の一例は、EEPROM(登録商標)(Electrically Erasable Programmable Read-Only Memory)である。つまり、ずれ情報記憶部5は記憶媒体である。基準時刻の一例は、日本標準時又は協定世界時である。例えば、基準時刻はネットワークタイムプロトコルによって伝送される。図2は、実施の形態にかかる時刻補正装置1が有するずれ情報記憶部5が記憶するずれ情報の一例を模式して示す図である。
 図2に示す例では、ずれ情報は、時計2の周囲の温度が25℃から40℃までの範囲では、基準時刻に対しての時計2が示す時刻の温度毎の一定時間当たりのずれ量が毎時0秒であることを示している。ずれ情報は、時計2の周囲の温度が40℃から60℃までの範囲では、基準時刻に対しての時計2が示す時刻の温度毎の一定時間当たりのずれ量が温度の上昇に伴って毎時0秒から毎時3分の4秒まで上昇することを示している。
 時刻補正装置1は、基準時刻と時計2が示す時刻との差についてのユーザが要求する許容限界の値である精度要求値を受け付ける精度要求値受付部6を更に有する。精度要求値は、正の値である。精度要求値は、ユーザが要求する精度で時計2が示す時刻を補正させるための値である。例えば、ユーザが基準時刻に対する時計2が示す時刻のずれの大きさの限界を1秒にすることを要求する場合、精度要求値は1秒である。例えば、ユーザが基準時刻に対する時計2が示す時刻のずれの大きさの限界を5秒にすることを要求する場合、精度要求値は5秒である。
 図1に示す通り、時刻補正装置1の外部には入力部7が配置されている。入力部7は、精度要求値受付部6に接続されている。例えば、入力部7は汎用のパーソナルコンピュータに接続されるキーボード及びマウスである。ユーザは、入力部7を用いて精度要求値を入力し、精度要求値受付部6は入力された精度要求値を受け付ける。時刻補正装置1は、精度要求値受付部6が受け付ける精度要求値を記憶する精度要求値記憶部8を更に有する。精度要求値記憶部8の一例は、EEPROM(登録商標)である。つまり、精度要求値記憶部8は記憶媒体である。
 時刻補正装置1は、時計2が示す時刻の補正の処理の開始時の後、一定時間毎に、ずれ情報を足し合わせて累積ずれ量を算出する算出部9を更に有する。例えば、算出部9は、温度情報が示す温度に対応する一定時間当たりのずれ量をずれ情報記憶部5が記憶するずれ情報をもとに特定し、特定したずれ情報を足し合わせて累積ずれ量を算出する。具体的には、算出部9は、時計2が示す時刻の補正の処理の開始時の後に時計2が示す複数の時刻の各々について、温度情報受信部3が受信する温度情報と、ずれ情報記憶部5が記憶するずれ情報とをもとに、時計2が示す時刻の基準時刻に対する累積ずれ量を算出する。更に言うと、算出部9は、補正の処理の開始時の後に時計2が示す複数の時刻の各々について、開始時から時計2が示す時刻までの複数の時刻の各々について温度情報が示す温度に対応する一定時間当たりのずれ量をずれ情報をもとに特定し、特定した複数のずれ量を足し合わせて累積ずれ量を算出する。
 更に具体的には、算出部9は、補正の処理の開始時の後に時計2が示す複数の時刻の各々について、開始時から時計2が示す時刻までのすべての時刻の各々について温度情報が示す温度に対応する一定時間当たりのずれ量をずれ情報をもとに特定し、特定したすべてのずれ量を足し合わせて累積ずれ量を算出する。
 時刻補正装置1は、累積ずれ量の絶対値と精度要求値との大小関係を判断する判断部10を更に有する。具体的には、判断部10は、算出部9によって算出される累積ずれ量の絶対値が精度要求値記憶部8に記憶される精度要求値以上であるか否かを判断する。時刻補正装置1は、判断部10によって累積ずれ量の絶対値が精度要求値以上であると判断される場合、時計2が示す時刻と精度要求値の絶対値を演算することで時計2が示す時刻を補正する補正部11を更に有する。具体的には、補正部11は、判断部10によって累積ずれ量の絶対値が精度要求値以上であると判断される場合、時計2が示す時刻を補正する。補正部11は、累積ずれ量が正の値である場合、時計2が示す時刻から精度要求値を差し引いて時計2が示す時刻を補正する。補正部11は、累積ずれ量が負の値である場合、時計2が示す時刻に精度要求値を加えて時計2が示す時刻を補正する。更に言うと、補正部11は、累積ずれ量の絶対値が精度要求値以上であると判断される時に時計2が示す時刻を補正する。
 図1に示す通り、補正部11は、基準時刻のひとつである協定世界時の情報を送信するネットワークタイムプロトコルサーバ12に接続されている。図1では、ネットワークタイムプロトコルサーバ12は、NTPサーバ12と示されている。補正部11は、ネットワークタイムプロトコルサーバ12から例えば1日に1回の頻度で協定世界時の情報を受信して受信した情報をもとに時計2が示す時刻を補正する。
 実施の形態にかかる時刻補正装置1が有する時計2、温度情報受信部3、精度要求値受付部6、算出部9、判断部10及び補正部11を構成する少なくとも一部の構成要素は、処理回路によって実現されてもよい。つまり、時計2、温度情報受信部3、精度要求値受付部6、算出部9、判断部10及び補正部11の機能の少なくとも一部は、処理回路によって実現されてもよい。
 処理回路は、専用のハードウェアである。処理回路は、例えば、単一回路、複合回路、プログラム化されたプロセッサ、並列プログラム化されたプロセッサ、ASIC(Application Specific Integrated Circuit)、FPGA(Field-Programmable Gate Array)、又はこれらを組み合わせたものである。時計2、温度情報受信部3、精度要求値受付部6、算出部9、判断部10及び補正部11の一部は、残部とは別個の専用のハードウェアであってもよい。
 図3は、実施の形態にかかる時刻補正装置1が有する時計2、温度情報受信部3、精度要求値受付部6、算出部9、判断部10及び補正部11の少なくとも一部の機能がプロセッサ31によって実現される場合のプロセッサ31を示す図である。つまり、時計2、温度情報受信部3、精度要求値受付部6、算出部9、判断部10及び補正部11の少なくとも一部の機能は、メモリ32に格納されるプログラムを実行するプロセッサ31によって実現されてもよい。プロセッサ31は、CPU(Central Processing Unit)、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、又はDSP(Digital Signal Processor)である。図3には、メモリ32も示されている。
 時計2、温度情報受信部3、精度要求値受付部6、算出部9、判断部10及び補正部11の少なくとも一部の機能がプロセッサ31によって実現される場合、当該一部の機能は、プロセッサ31と、ソフトウェア、ファームウェア、又はソフトウェアとファームウェアとの組み合わせにより実現される。ソフトウェア又はファームウェアはプログラムとして記述され、メモリ32に格納される。プロセッサ31は、メモリ32に記憶されたプログラムを読み出して実行することにより、時計2、温度情報受信部3、精度要求値受付部6、算出部9、判断部10及び補正部11の少なくとも一部の機能を実現する。
 すなわち、時計2、温度情報受信部3、精度要求値受付部6、算出部9、判断部10及び補正部11の少なくとも一部の機能がプロセッサ31によって実現される場合、時刻補正装置1は、時計2、温度情報受信部3、精度要求値受付部6、算出部9、判断部10及び補正部11の一部によって実行されるステップが結果的に実行されることになるプログラムを格納するためのメモリ32を有する。メモリ32に格納されるプログラムは、時計2、温度情報受信部3、精度要求値受付部6、算出部9、判断部10及び補正部11の一部が実行する手順又は方法をコンピュータに実行させるものであるともいえる。
 メモリ32は、例えば、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ、EPROM(Erasable Programmable Read Only Memory)、EEPROM(登録商標)等の不揮発性もしくは揮発性の半導体メモリ、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク又はDVD(Digital Versatile Disk)等である。
 時計2、温度情報受信部3、精度要求値受付部6、算出部9、判断部10及び補正部11の複数の機能について、当該複数の機能の一部を専用のハードウェアで実現し、当該複数の機能の残部をソフトウェア又はファームウェアで実現してもよい。このように、時計2、温度情報受信部3、精度要求値受付部6、算出部9、判断部10及び補正部11の複数の機能は、ハードウェア、ソフトウェア、ファームウェア、又はこれらの組み合わせによって実現することができる。
 次に、実施の形態にかかる時刻補正装置1の動作を説明すると共に、実施の形態にかかる時刻補正方法を説明する。図4は、実施の形態にかかる時刻補正装置1の動作の手順を示すフローチャートである。まず、ユーザが入力部7を用いて精度要求値を入力する。精度要求値受付部6は、入力された精度要求値を受け付ける(S1)。温度情報受信部3は、時計2の周囲の温度を示す温度情報を温度センサ4から受信する(S2)。
 算出部9は、時計2が示す時刻の補正の処理の開始時の後、一定時間毎に、ずれ情報を足し合わせて累積ずれ量を算出する(S3)。具体的には、算出部9は、時計2が示す時刻の補正の処理の開始時の後に時計2が示す複数の時刻の各々について、温度情報受信部3が受信する温度情報と、ずれ情報記憶部5が記憶するずれ情報とをもとに、時計2が示す時刻の基準時刻に対する累積ずれ量を算出する(S3)。
 更に具体的には、算出部9は、補正の処理の開始時の後に時計2が示す複数の時刻の各々について、温度情報が示す温度に対応する一定時間当たりのずれ量をずれ情報をもとに特定する。算出部9は、特定した複数のずれ量を足し合わせて累積ずれ量を算出する。更に言うと、ステップS3において、算出部9は、過去に累積ずれ量を算出していた場合、前回算出した累積ずれ量Tに、今回受信した温度情報が示す温度に対応する一定時間当たりのずれ量ΔTを足し合わせて、今回の累積ずれ量Tを算出する。
 判断部10は、算出部9によって算出される累積ずれ量の絶対値が精度要求値記憶部8に記憶される精度要求値以上であるか否かを判断する(S4)。累積ずれ量の絶対値が精度要求値未満であると判断部10によって判断された場合(S4でNo)、時刻補正装置1の動作はステップS2に移行する。累積ずれ量の絶対値が精度要求値以上であると判断部10によって判断された場合(S4でYes)、補正部11は時計2が示す時刻を補正する(S5)。
 具体的には、ステップS5において、補正部11は、累積ずれ量が正の値であるとき、時計2が示す時刻から精度要求値を差し引いて時計2が示す時刻を補正する。補正部11は、累積ずれ量が負の値であるとき、時計2が示す時刻に精度要求値を加えて時計2が示す時刻を補正する。更に言うと、補正部11は、累積ずれ量の絶対値が精度要求値以上であると判断される時に時計2が示す時刻を補正する。
 次に、時刻補正装置1の動作の具体例を具体的な状況を挙げて説明する。図5は、実施の形態にかかる時刻補正装置1の動作を具体的に説明するための具体的な状況を示す図である。図5に示す通り、時刻補正装置1が「0時0分0秒」の時刻において25℃の空間に配置されていることを想定する。図5が示す状況では、「0時0分0秒」は補正の処理の開始時である。時刻は、時計2が示す時刻である。図5では、「0時0分0秒」は「0:00:00」と示されている。このように、図5では、X、Y及びZの各々が数字である場合、「X時Y分Z秒」の時刻は「X:Y:Z」と記載される。ただし、Y及びZの各々が一桁である場合、「X時Y分Z秒」の時刻は「X:0Y:0Z」と記載される。
 図5に示す通り、時刻補正装置1が配置されている空間の温度が「0時0分1秒」では25℃であり、「0時0分1秒」の後、「1時0分0秒」まで温度が上昇する状況を想定する。具体的には、時刻補正装置1が配置されている空間の温度が「0時1分0秒」では26℃であり、「0時10分0秒」では40℃であり、「1時0分0秒」では60℃である状況を想定する。加えて、「1時0分0秒」から「4時0分0秒」までの間では、時刻補正装置1が配置されている空間の温度が60℃で維持されることを想定する。
 さらに、図2を用いて説明したずれ情報をもとに算出部9によって算出された累積ずれ量が、「0時0分0秒」から「0時10分0秒」までの各時刻では「0秒」であり、「1時0分0秒」では「1秒」であり、「4時0分0秒」では「5秒」である状況を想定する。図5では、累積ずれ量が「0秒」であることは「0:00:00」と示されており、累積ずれ量が「1秒」であることは「0:00:01」と示されており、累積ずれ量が「5秒」であることは「0:00:05」と示されている。ずれ情報は、ずれ情報記憶部5に記憶されている。
 図5に示される具体的な状況において、精度要求値が1秒である場合、時刻補正装置1は以下の通りに動作する。図6は、実施の形態にかかる時刻補正装置1の動作の具体例を示す第1図である。図5を用いて説明した通り、算出部9によって算出された累積ずれ量は、「0時0分0秒」から「0時10分0秒」までの各時刻において「0秒」である。つまり、「0時0分0秒」から「0時10分0秒」までの各時刻では、累積ずれ量の絶対値は精度要求値未満である。そのため、時刻2が示す時刻は補正されない。
 算出部9によって算出された累積ずれ量は、「1時0分0秒」の時刻において「1秒」である。つまり、「1時0分0秒」の時刻において、累積ずれ量の絶対値は精度要求値以上である。そのため、図6に示す通り、補正部11は、累積ずれ量の絶対値が精度要求値以上であると判断される時である「1時0分0秒」の時刻において、時計2が示す時刻から精度要求値である1秒を差し引いて時計2が示す時刻を補正する。つまり、時計2が示す時刻は、図6に示す通り、「0時59分59秒」に補正される。
 図5に示される具体的な状況において、精度要求値が5秒である場合、時刻補正装置1は以下の通りに動作する。図7は、実施の形態にかかる時刻補正装置1の動作の具体例を示す第2図である。図5を用いて説明した通り、算出部9によって算出された累積ずれ量は、「0時0分0秒」から「0時10分0秒」までの各時刻において「0秒」であり、「1時0分0秒」の時刻において「1秒」である。つまり、「0時0分0秒」から「1時0分0秒」までの各時刻では、累積ずれ量の絶対値は精度要求値未満である。そのため、時刻2が示す時刻は補正されない。
 算出部9によって算出された累積ずれ量は、「4時0分0秒」の時刻において「5秒」である。つまり、「4時0分0秒」の時刻において、累積ずれ量の絶対値は精度要求値以上である。そのため、図7に示す通り、補正部11は、累積ずれ量の絶対値が精度要求値以上であると判断される時である「4時0分0秒」の時刻において、時計2が示す時刻から精度要求値である5秒を差し引いて時計2が示す時刻を補正する。つまり、時計2が示す時刻は、図7に示す通り「3時59分55秒」に補正される。
 上述の通り、時刻補正装置1では、時計2の周囲の温度が考慮された累積ずれ量の絶対値が精度要求値以上である場合、補正部11は、累積ずれ量の絶対値が精度要求値以上であると判断される時に、時計2が示す時刻を補正する。具体的には、補正部11は、累積ずれ量が正の値であるとき、時計2が示す時刻から精度要求値を差し引いて時計2が示す時刻を補正する。補正部11は、累積ずれ量が負の値であるとき、時計2が示す時刻に精度要求値を加えて時計2が示す時刻を補正する。
 精度要求値は、基準時刻と時計2が示す時刻との差についてのユーザが要求する許容限界の値である。言い換えると、精度要求値は、ユーザが要求する精度で時計2が示す時刻を補正させるための値である。上述の通り、時刻補正装置1では、時計2の周囲の温度が考慮された累積ずれ量の絶対値が精度要求値以上である場合、補正部11は、累積ずれ量が正の値であるとき、時計2が示す時刻から精度要求値を差し引いて時計2が示す時刻を補正し、累積ずれ量が負の値であるとき、時計2が示す時刻に精度要求値を加えて時計2が示す時刻を補正する。
 つまり、時計2が示す時刻は、ユーザが要求する精度で補正される。すなわち、時刻補正装置1は、ユーザが要求する精度で時計2が示す時刻を補正することができる。更に言うと、時計2が示す時刻は、時計2の周囲の温度が考慮されると共に、ユーザが要求する精度で補正される。すなわち、時刻補正装置1は、時計2の周囲の温度を考慮すると共に、ユーザが要求する精度で時計2が示す時刻を補正することができる。
 なお、上述した実施の形態では、時刻補正装置1は時計2を有するが、時計2は時刻補正装置1の外部に配置されてもよい。上述の通り、時刻補正装置1は温度センサ4を有してもよい。ずれ情報記憶部5及び精度要求値記憶部8の一方又は双方は、時刻補正装置1の外部に配置されてもよい。精度要求値記憶部8が時刻補正装置1の外部に配置される場合、精度要求値受付部6も時刻補正装置1の外部に配置されてもよい。
 上述した実施の形態では、補正部11は、判断部10によって累積ずれ量の絶対値が精度要求値以上であると判断される場合、累積ずれ量が正の値であるとき、時計2が示す時刻から精度要求値を差し引いて時計2が示す時刻を補正する。補正部11は、判断部10によって累積ずれ量の絶対値が精度要求値以上であると判断される場合、累積ずれ量が負の値であるとき、時計2が示す時刻に精度要求値を加えて時計2が示す時刻を補正する。
 しかしながら、補正部11は、累積ずれ量の絶対値が精度要求値以上であると判断される場合、ずれ量が正の値であるとき、時計2が示す時刻から累積ずれ量を差し引いて時計2が示す時刻を補正してもよい。補正部11は、累積ずれ量の絶対値が精度要求値以上であると判断される場合、ずれ量が負の値であるとき、時計2が示す時刻に累積ずれ量の絶対値を加えて時計2が示す時刻を補正してもよい。この場合においても、補正を行う際の累積ずれ量の絶対値は精度要求値以上あるので、時刻補正装置1は、ユーザが要求する精度で時計2が示す時刻を補正することができる。更に言うと、時刻補正装置1は、時計2の周囲の温度を考慮すると共に、ユーザが要求する精度で時計2が示す時刻を補正することができる。
 上述した実施の形態では、補正部11は、累積ずれ量の絶対値が精度要求値以上であると判断される時に時計2が示す時刻を補正する。しかしながら、補正部11は、累積ずれ量の絶対値が精度要求値以上であると判断される時の後に時計2が示す時刻を補正してもよい。例えば、補正部11は、累積ずれ量の絶対値が精度要求値以上であると判断される時からあらかじめ決められた期間が経過した時に時計2が示す時刻を補正してもよい。
 あらかじめ決められた期間は、例えばユーザによって決定される。この場合、あらかじめ決められた期間では時計2が示す時刻の精度は低下するが、あらかじめ決められた期間が、ユーザが要求する精度に対応して比較的短く設定されれば、時刻補正装置1は実質的にユーザが要求する精度で時計2が示す時刻を補正することができる。例えば、あらかじめ決められた期間は0.1秒である。
 上述した実施の形態では、判断部10は、算出部9によって算出される累積ずれ量の絶対値が精度要求値記憶部8に記憶される精度要求値以上であるか否かを判断する。しかしながら、判断部10は、算出部9によって算出される累積ずれ量の絶対値が精度要求値より大きいか否かを判断してもよい。
 上述した実施の形態では、補正部11は、判断部10によって累積ずれ量の絶対値が精度要求値以上であると判断される場合、時計2が示す時刻を補正する。しかしながら、補正部11は、判断部10によって累積ずれ量の絶対値が精度要求値より大きいと判断される場合、時計2が示す時刻を補正してもよい。より具体的には、補正部11は、判断部10によって累積ずれ量の絶対値が精度要求値より大きいと判断される時に、時計2が示す時刻を補正してもよい。
 更に言うと、補正部11は、累積ずれ量が正の値である場合、時計2が示す時刻から累積ずれ量を差し引いて時計2が示す時刻を補正する。累積ずれ量が負の値である場合、補正部11は、時計2が示す時刻に累積ずれ量の絶対値を加えて時計2が示す時刻を補正する。
 補正部11が、判断部10によって累積ずれ量の絶対値が精度要求値より大きいと判断される場合に時計2が示す時刻を補正しても、上述した実施の形態と同様に、時刻補正装置1は、ユーザが要求する精度で時計2が示す時刻を補正することができる。更に言うと、時刻補正装置1は、時計2の周囲の温度を考慮すると共に、ユーザが要求する精度で時計2が示す時刻を補正することができる。
 上述した実施の形態では、精度要求値受付部6はユーザが入力部7を用いて入力する精度要求値を受け付け、精度要求値記憶部8は精度要求値受付部6が受け付ける精度要求値を記憶する。そのため、ユーザは、精度要求値を自由に選択し、選択した精度要求値を精度要求値記憶部8に記憶させることができる。その結果、時刻補正装置1は、ユーザが選択した精度で時計2が示す時刻を補正することができる。更に言うと、時刻補正装置1は、時計2の周囲の温度を考慮すると共に、ユーザが選択した精度で時計2が示す時刻を補正することができる。
 上述した実施の形態では、時刻補正装置1は精度要求値受付部6を有し、精度要求値記憶部8は精度要求値受付部6が受け付ける精度要求値を記憶する。しかしながら、時刻補正装置1は精度要求値受付部6を有さず、精度要求値が精度要求値記憶部8にあらかじめ格納されていてもよい。その場合であっても、精度要求値記憶部8が精度要求値を記憶するので、時刻補正装置1は、ユーザが要求する精度で時計2が示す時刻を補正することができる。更に言うと、時刻補正装置1は、時計2の周囲の温度を考慮すると共に、ユーザが要求する精度で時計2が示す時刻を補正することができる。
 以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略又は変更することも可能である。
 1 時刻補正装置、2 時計、3 温度情報受信部、4 温度センサ、5 ずれ情報記憶部、6 精度要求値受付部、7 入力部、8 精度要求値記憶部、9 算出部、10 判断部、11 補正部、12 ネットワークタイムプロトコルサーバ、31 プロセッサ、32 メモリ。

Claims (7)

  1.  時計が示す時刻の基準時刻に対する一定時間当たりのずれ量を示すずれ情報を記憶するずれ情報記憶部と、
     精度要求値を記憶する精度要求値記憶部と、
     前記時計が示す時刻の補正の処理の開始時の後、前記一定時間毎に、前記ずれ情報を足し合わせて累積ずれ量を算出する算出部と、
     前記累積ずれ量の絶対値と前記精度要求値との大小関係を判断する判断部と、
     前記判断部によって前記累積ずれ量の絶対値が前記精度要求値以上である、又は前記精度要求値より大きいと判断される場合、前記時計が示す時刻と前記精度要求値の絶対値を演算することで前記時計が示す時刻を補正する補正部と
     を備えることを特徴とする時刻補正装置。
  2.  前記時計の周囲の温度を示す温度情報を受信する温度情報受信部を更に備え、
     前記ずれ情報は、前記基準時刻に対しての前記時計が示す時刻の温度毎の一定時間当たりのずれ量を示し、
     前記算出部は、前記温度情報が示す温度に対応する一定時間当たりのずれ量を前記ずれ情報記憶部が記憶する前記ずれ情報をもとに特定し、特定した前記ずれ情報を足し合わせて前記累積ずれ量を算出する
     ことを特徴とする請求項1に記載の時刻補正装置。
  3.  前記補正部は、前記累積ずれ量が正の値である場合、前記時計が示す時刻から前記精度要求値を差し引いて前記時計が示す時刻を補正する
     ことを特徴とする請求項1又は2に記載の時刻補正装置。
  4.  前記補正部は、前記累積ずれ量が負の値である場合、前記時計が示す時刻に前記精度要求値を加えて前記時計が示す時刻を補正する
     ことを特徴とする請求項1から3のいずれか1項に記載の時刻補正装置。
  5.  前記補正部は、前記累積ずれ量の絶対値が前記精度要求値以上である、又は前記精度要求値より大きいと判断される時に前記時計が示す時刻を補正する
     ことを特徴とする請求項1から4のいずれか1項に記載の時刻補正装置。
  6.  前記精度要求値を受け付ける精度要求値受付部を更に備え、
     前記精度要求値記憶部は、前記精度要求値受付部が受け付ける前記精度要求値を記憶する
     ことを特徴とする請求項1から5のいずれか1項に記載の時刻補正装置。
  7.  時計が示す時刻の補正の処理の開始時の後、一定時間毎に、前記時計が示す時刻の基準時刻に対する一定時間当たりのずれ量を示すずれ情報を足し合わせて累積ずれ量を算出するステップと、
     前記累積ずれ量の絶対値と精度要求値との大小関係を判断するステップと、
     前記累積ずれ量の絶対値が前記精度要求値以上である、又は前記精度要求値より大きいと判断した場合、前記時計が示す時刻と前記精度要求値の絶対値を演算することで前記時計が示す時刻を補正するステップと
     を含むことを特徴とする時刻補正方法。
PCT/JP2017/025451 2017-07-12 2017-07-12 時刻補正装置及び時刻補正方法 WO2019012636A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2017/025451 WO2019012636A1 (ja) 2017-07-12 2017-07-12 時刻補正装置及び時刻補正方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2017/025451 WO2019012636A1 (ja) 2017-07-12 2017-07-12 時刻補正装置及び時刻補正方法

Publications (1)

Publication Number Publication Date
WO2019012636A1 true WO2019012636A1 (ja) 2019-01-17

Family

ID=65001210

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/025451 WO2019012636A1 (ja) 2017-07-12 2017-07-12 時刻補正装置及び時刻補正方法

Country Status (1)

Country Link
WO (1) WO2019012636A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116165868A (zh) * 2023-03-20 2023-05-26 苏州东剑智能科技有限公司 一种数据采集仪表的时间校准方法及装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04335185A (ja) * 1991-05-10 1992-11-24 Sanyo Electric Co Ltd 時計装置
JPH07311289A (ja) * 1994-05-20 1995-11-28 Nec Corp 電子時計及び時刻補正方法
JPH08240671A (ja) * 1994-12-20 1996-09-17 T Earl Poulson 電子時計の正確度を保全し及び調節する方法及び装置
JPH11149326A (ja) * 1997-11-17 1999-06-02 Mitsubishi Electric Corp データ処理装置
JP2002311173A (ja) * 2001-04-13 2002-10-23 Yazaki Corp 電子時計、電子時計の時刻誤差補正方法および時刻誤差補正プログラム
JP2012047705A (ja) * 2010-08-30 2012-03-08 Nec Computertechno Ltd 時刻補正装置、及び制御方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04335185A (ja) * 1991-05-10 1992-11-24 Sanyo Electric Co Ltd 時計装置
JPH07311289A (ja) * 1994-05-20 1995-11-28 Nec Corp 電子時計及び時刻補正方法
JPH08240671A (ja) * 1994-12-20 1996-09-17 T Earl Poulson 電子時計の正確度を保全し及び調節する方法及び装置
JPH11149326A (ja) * 1997-11-17 1999-06-02 Mitsubishi Electric Corp データ処理装置
JP2002311173A (ja) * 2001-04-13 2002-10-23 Yazaki Corp 電子時計、電子時計の時刻誤差補正方法および時刻誤差補正プログラム
JP2012047705A (ja) * 2010-08-30 2012-03-08 Nec Computertechno Ltd 時刻補正装置、及び制御方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116165868A (zh) * 2023-03-20 2023-05-26 苏州东剑智能科技有限公司 一种数据采集仪表的时间校准方法及装置
CN116165868B (zh) * 2023-03-20 2023-12-15 苏州东剑智能科技有限公司 一种数据采集仪表的时间校准方法及装置

Similar Documents

Publication Publication Date Title
US20200328718A1 (en) Systems and methods for frequency compensation of real-time-clock systems
JP2007078405A (ja) ソフトウェア時計の計時プログラム
JP2008072709A (ja) Gps機器用の非常に精密で温度に依存しない基準周波数を生成するためのシステム及び方法
JP2011253491A (ja) プラント異常検知装置,プラント異常検知装置方法,およびプログラム
JP5007964B2 (ja) 化学センサの校正装置
KR101942719B1 (ko) 리얼 타임 클럭 장치
WO2019012636A1 (ja) 時刻補正装置及び時刻補正方法
JP2009025176A (ja) 回転位置信号処理装置
JP5936716B2 (ja) 信号処理装置
JP2012047705A (ja) 時刻補正装置、及び制御方法
US9671759B2 (en) Time base including an oscillator, a frequency divider circuit and clocking pulse inhibition circuit
JP2016042060A (ja) 温度推定回路およびカウンタ回路
JP5088368B2 (ja) 情報処理装置、時間計測方法、および時間計測プログラム
CN114440866A (zh) 一种传感器数据校准方法及校准系统
CN109286461B (zh) 用于匹配在检测传感器数据时的时间戳的方法
US11378400B2 (en) Offset calculation device, offset correction device, and offset calculation method
CN115314142B (zh) 时间校准方法、装置、电子设备以及存储介质
JP5497610B2 (ja) 電子機器及び内部時計のクロック周波数補正方法
CN111207723B (zh) 一种差分式圆感应同步器的解调方法
JP2009216432A (ja) 電波修正時計
JP2006214748A (ja) 物理量センサの補正データ作成装置
JP6814660B2 (ja) システムタイマおよび同システムタイマを備えた測量機
JP5831853B2 (ja) 温度補償型発振回路、リアルタイムクロック装置および電子機器
JP3990331B2 (ja) 時刻補正制御回路と時刻補正制御方法および時刻補正制御用プログラム
JP6392105B2 (ja) 組合せ秤

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17917368

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17917368

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP