The present application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2008-178751, filed Jul. 9, 2008, the entire contents of which are incorporated herein by reference.
1. Field of the Invention
The present invention relates to a time information obtaining apparatus, which receives a standard time radio wave to detect time information, and a radio timepiece provided with the time information obtaining apparatus.
2. Description of the Related Art
At the current time, the standard time radio waves are transmitted from radio stations in Japan, Germany, UK, Switzerland. In Japan, for example, amplitude modulated standard time radio waves are transmitted at 40 kHz and 60 kHz from radio stations in Fukushima and Saga Prefectures, respectively. The standard time radio wave that includes a time code bit string indicating date data (year, month, day, time) is transmitted every period of 60 seconds.
Timepieces (radio controlled timepieces) are in practical use, which receive the standard time radio wave including a time code bit string to detect the time code bit string, and correct a time counted within the timepiece based on the detected time code. The radio controlled timepiece is provided with a receiving circuit for receiving the standard time radio wave through an antenna, a band pass filter (BPF) for allowing only the standard time radio wave signal to pass through, a demodulating circuit for performing, for example, an envelope demodulating process to demodulate the standard time radio wave signal, and a processing circuit for detecting a time code included in the signal demodulated by the demodulating circuit.
The time code includes plural codes each appearing every unit time (1 second). The time code used in Japan includes a code “P”, code “0” and a code “1”, wherein the code “P” is a code of a duty 20%, which keeps a high level for first 0.2 seconds and then a low level for the remaining 0.8 seconds in the unit time, the code “0” is a code of a duty 50%, which keeps a high level for first 0.5 seconds and then a low level for the remaining 0.5 seconds in the unit time, and the code “1” is a code of a duty 80%, which keeps a high level for first 0.8 seconds and then a low level for the remaining 0.2 seconds in the unit time.
The code “P” is used as a marker indicating a beginning of one frame in frames of the time code and also used as a position marker indicating data sections including minute, hour, date, year data. The code “0” and code “1” indicate “0” and “1” in the binary system, respectively. The rising edge of each code corresponds to a “second” synchronizing point.
A conventional processing circuit synchronizes a demodulated signal at a rising edge, and binarizes the signal at a predetermined sampling period to obtain a binary bit string. The processing circuit measures a pulse width (a time length of a high level and a time length of a low level) of each code included in the obtained binary bit string, and determines depending on the measured pulse width, to which of the codes “P”, “0” and “1” such measured code corresponds, and obtains the time information from a string of the determined codes.
The time code is carried by an amplitude modulated radio wave of 40 kHz and/or 60 kHz frequency. The amplitude modulated radio wave is easy to reduce and/or come under the influence of external noises while traveling in a space among buildings, whereby the time code would be damaged.
In a technique disclosed in Japanese Patent 2005-249632 A, a demodulated signal is binarized at a predetermined sampling period (50 ms), whereby TCO data is obtained. A list of data groups is produced, each consisting of a binary bit string including 20 sampled bits each appearing everyone second. The data groups are added every sampling point to obtain a stepwise waveform data, from which a “second” synchronizing point is detected.
In the technique disclosed in Japanese Patent 2005-249532 A, even though some noises are included in the demodulated signal, it is possible to detect the “second” synchronizing point. But when so many noises are included that a waveform of an original data pulse cannot be reproduced, it is hard to detect the “second” synchronizing point from the produced waveform data.
The present invention has been made to overcome the technical disadvantages involved in the conventional techniques, and has an object to provide a time information obtaining apparatus, which can detect the “second” synchronizing point with a high accuracy independently of noise effects and signal intensity of a received radio wave, and a radio timepiece provided with the time information obtaining apparatus
According to one aspect of the invention, there is provided a time information obtaining apparatus, which comprises a receiving unit for receiving a standard time radio wave to output a standard time signal that includes a time code consisting of plural codes, an input waveform data obtaining unit for sampling the standard time signal output from the receiving unit at a predetermined sampling period to obtain input waveform data having a unit time length, wherein the input waveform data at each sampling point is given by a value expressed in plural hits and the unit time length corresponds to a time length of each code included in the time code, an accumulating unit for accumulating the input waveform data obtained by the input waveform data obtaining unit, a position calculating unit for calculating a reference position on a time axis where one of a minimum value and maximum value of the input waveform data accumulated by the accumulating unit is given and a maximum gradient position on the time axis where a difference between values of the accumulated input waveform data at adjacent sampling points is maximum, and a controlling unit for calculating based on the reference position and the maximum gradient position calculated by the position calculating unit, a position on the time axis between the reference position and the maximum gradient position, which position corresponds to a leading position of a unit time length of the standard time signal including the time code.
According to other aspect of the invention, there is provided a radio timepiece, comprises a time information obtaining apparatus, wherein the time information obtaining apparatus comprises a receiving unit for receiving a standard time radio wave to output a standard time signal that includes a time code consisting of plural codes, en input waveform data obtaining unit for sampling the standard time signal output from the receiving unit at a predetermined sampling period to obtain input waveform data having a unit time length, wherein the input waveform data at each sampling point is given by a value expressed in plural bits and the unit time length corresponds to a time length of each code included in the time code, an accumulating unit for accumulating the input waveform data obtained by the input waveform data obtaining unit, a position calculating unit for calculating a reference position on a time axis where one of the minimum value and maximum value of the input waveform data accumulated by the accumulating unit is given and a maximum gradient position on the time axis where a difference between values of the accumulated input waveform data at adjacent sampling points is maximum, and a controlling unit for calculating based on the reference position and the maximum gradient position calculated by the position calculating unit, a leading position on the time axis of the unit time length of the standard time signal including the time code, between the reference position and the maximum gradient position; wherein the radio timepiece further comprises a decoding unit for obtaining a value of a code including date, time, minute data composing the time code, based on the leading position on the time axis of the unit time length of the standard time signal including the time code, calculated by the controlling unit, a current time calculating unit for calculating a current time based on the value of a code obtained by the decoding unit, an internal time counting unit for calculating a current time based on an internal clock, a time correcting unit for correcting the current time counted by the internal time counting unit, based on the current time calculated by the current time calculating unit, and a time displaying unit for displaying one of the current time counted by the internal time counting unit and the current time corrected by the time correcting unit.
a is a view showing an example of a circuit configuration of a signal composing circuit in the radio timepiece.
b is a view showing another example of the circuit configuration of the signal composing circuit in the radio timepiece.
a and 8b are views for explaining calculation of the “second” synchronizing position in the present embodiment.
Now, embodiments of the present invention will be described with reference to the accompanying drawings In the embodiments of the present, a radio timepiece receives a standard time radio wave in a long-wave frequency band to detect a time code bit string indicating a time code, and adjusts the time based on the detected time code bit string.
At the current time, the standard time radio waves are transmitted from radio stations in Japan, Germany, UK, Switzerland. For example, in Japan, the amplitude modulated standard time radio waves are transmitted at 40 kHz and 60 kHz from radio stations in Fukushima and Saga Prefectures, respectively. The standard time radio wave includes a time code bit string indicating date data (year, month, date, hour and minute data) and is transmitted every period of 60 seconds.
The signal composing circuit 12 composes data having a unit time length to produce composed data for a purpose of a detecting a “second” synchronization timing. The signal composing circuit 12 may be made up of independent hardware from CPU 13 or may be set into CPU 13, which functions as the composing circuit.
CPU 13 reads a program from ROM 14 at a predetermined timing or in response to an operation signal input from the input unit 16 and expands the program on RAM 17. CPU 13 sends instructions and data to various parts in the radio timepiece based on the program expanded on RAM 17.
More specifically, for example, CPU 13 controls the receiving circuit 10 every certain period to receive the standard time radio wave and to obtain digital data from the received standard time radio wave. Then, CPU 13 performs a process for detecting a time code bit string included in the digital data to correct the current time counted by the time counting circuit 18 based on the detected time code bit string and a process for sending the corrected current time to display unit 17. The time counting circuit 18 calculates a clock signal generated by the oscillator circuit 19 to count the current time.
The input unit 16 comprises switches for performing various operations of the radio timepiece 1. The input unit 16 sends CPU 13 an appropriate operation signal, when a switch of the input unit 16 is operated. The display unit 17 comprises a dial plate, an analog indicating needle mechanism, and a liquid crystal display panel for displaying the current time counted by the time counting circuit 18. ROM 14 stores a system program for operating the radio timepiece 1 and realizing various functions and application programs. RAM 15 is used as a work area and temporarily stores the program and data read from ROM 14 and data processed by CPU 13.
a is a view showing an example of a circuit configuration of the signal composing circuit 12. The signal composing circuit 12 comprises “M” units of delay circuits 20-1 to 20-M and an adding circuit 21. The delay circuits 20-1 to 20-N successively receive from ADC 11 input waveform data having a unit time length, and delay the received data by a predetermined time. In the present embodiment, the input waveform data includes 10 pieces of data (sampled data) sampled at a sampling period of 100 ms, wherein the sampled data is expressed in plural bits at each sampling point. In the present embodiment, the sampling period is equivalent to 1 second, which means that the standard time radio wave signal employs a data format including 60 pieces of bits each having 1 second time length.
In the signal composing circuit 12 shown in
While the first to M-th input waveform data each having a unit time length are held in the first to M-th delay circuits 20-1 to 20-M, respectively, the adding circuit 21 adds bit values of the first to M-th input waveform data at the corresponding sampling points.
In practice, the signal composing circuit 12 may be set up without using the “M” units of delay circuits.
Then, CPU 13 refers to the accumulated waveform data stored in the data accumulating buffer 32 at step 504 to calculate a maximum gradient position where a difference between data values at adjacent sampling points is maximum. In
CPU 13 judges at step 505 whether or not the maximum gradient value ΔSmax falls within a predetermined range. As shown in
When it is determined at step 505 that the maximum gradient value ΔSmax falls within the predetermined range (YES at step 505), CPU 13 judges at step 506 whether or not the maximum gradient positions falling within the predetermined range appear “N” successive times (N<M). In
If a difference is less than a predetermined value, between the maximum gradient position calculated in the last process and the maximum gradient position calculated in the present process, then it is determined at step 506 that the maximum gradient positions fall within the predetermined range.
When it is determined at step 505 that the maximum gradient value does not fall within the predetermined range NO at step 505) or it is determined at step 506 that the maximum gradient positions falling within the predetermined range do not appear “N” successive times (NO at step 506), CPU 13 judges at step 507 whether or not the parameter “i” has reached “M”, in other words, whether or not the process has been performed “M” times. When it is determined at step 507 that the parameter “i” has not reached “M” (NO at step 507), CPU 13 increments the parameter “i” at step 508, and returns to step 502. When it is determined at step 507 that the parameter “i” has reached “M” (YES at step 507), CPU 13 finishes the “second” synchronizing process at step 510, or CPU 13 can returns to step 501 to resume the “second” synchronizing process.
When it is determined at step 506 that the maximum gradient positions falling within the predetermined range appear “N” successive times (YES at step 506), CPU 13 calculates a “second” synchronizing position based on the maximum gradient position and a minimum gradient position where the minimum value of the accumulated waveform data is given at step 509.
As shown in
Tsync=Tmin +C(C is a constant) (1)
Tsync=Tdmax−C(C is a constant) (2)
Tsync=(Tmin+Tdmax)/2 (3)
Tsync=(Tmin+3Tdmax)/4 (4)
CPU 13 selects one of the above four formulas (1) to (4), depending on signal intensity of the standard time radio wave received by the receiving circuit 10 or in response to an user's operation on the input unit 16.
The inventor of the present invention is aware that, as the signal intensity of the standard time radio wave decreases, the maximum gradient position Tdmax would be reached more late from the minimum gradient position Tmin in the waveform 710. As shown in
Ysync=nTmin+(1−n)Tdmax (5)
When the “second” synchronizing position is calculated, then other necessary process is performed, including a process for detecting a leading position of “minute”.
CPU 13 decodes various codes such as a code (M1) at ones place of “minute”, a code (M10) at tenths place of “minute”, and other code indicating hour, date and day of the week, included in the standard time radio wave signal. When the “minute” leading position is detected and fixed at step 902, positions of all the codes such as a code at ones place of “minute” (for instance, a position corresponding to 5-8 seconds from the leading position), and a code at tenths place of “minute” (a position corresponding to 1-3 seconds from the leading position) are fixed. Therefore, in processes at steps 903 to 905, CPU 13 obtains a predetermined number of data at positions of all the codes to be decoded as input waveform data and determines which code each piece of input waveform data expresses “0” or “1” to fix a code value of the code.
CPU 13 calculates the correct current time based on the fixed code values of the codes. CPU 13 corrects the current time internally calculated by the time counting circuit 18 based on the calculated correct current time. The corrected current time is displayed on the display unit 17.
In the present embodiment, a predetermined number of input waveform data having a unit time length are accumulated, whereby accumulated input waveform data is obtained. A minimum value position on the time axis is acquired, where the minimum value of the accumulated input waveform data is obtained. Meanwhile, a maximum gradient position on the time axis is calculated, where a maximum difference between values of the accumulated input waveform data at adjacent sampling points is obtained. Then, based on these calculated minimum value position and maximum gradient position, the leading position (“second” synchronizing position) is specified between the minimum value position and maximum gradient position, which leading position corresponds to the beginning point of the unit time of the signal including the time code. The leading position is specified between the minimum value position and maximum gradient position in the accumulated input waveform data, whereby more accurate leading position of “second” (“second” synchronizing position) can be acquired.
As described above, the time information obtaining apparatus and the radio timepiece using such time information obtaining apparatus are provided, which are able to detect the “second” synchronizing position with a high accuracy independently of signal intensity and noise effects.
In the embodiment, as the signal intensity of the standard time radio wave decreases lower, the leading position of “second” is specified at a position nearer the maximum gradient position on the time axis between the minimum value position and maximum gradient position in the accumulated input waveform data. Therefore, even though the input waveform alters due to alteration in signal intensity, a more proper leading position of “second” (“second” synchronizing position) can be acquired.
More specifically, using the parameter “n” (0<n<1), which increase as the signal intensity decreases, the leading position of “second” (“second” synchronizing position) Tsync can be aquired by operating the following mathematical formula:
Tsync=nTmin+(1−n)Tdmax
where Tmin denotes the minimum value position and Tdmax denotes the maximum gradient position. As described, a proper leading position of “second” (“second” synchronizing position) can be acquired by a simple mathematical operation.
In the present embodiment, the leading position of “second” Tsync can be acquired by operating one formula selected among the following mathematical formulas:
Tsync=Tmin+C(C is a constant)
Tsync=Tdmax−C(C is a constant)
Tsync=(Tmin+Tdmax)/2
Tsync=(Tmin+3Tdmax)/4
where Tmin denotes the minimum value position and Tdmax denotes the maximum gradient position.
As described above, a desired and proper leading position of “second” can be acquired by operating the mathematical formula that is selected depending on the signal intensity of the received standard time radio wave or the user's setting condition.
Further in the present embodiment, in the case plural pieces of input waveform data are successively accumulated and the successively calculated maximum gradient positions converge into a predetermined range, the leading position of “second” (“second” synchronizing position) is calculated based on the converged leading position of “second”. Using the maximum gradient position that is employed when the input waveform data is brought into a steady state, a more accurate leading position of “second” can be calculated.
In the present embodiment, in the case the maximum gradient value where a difference between values at adjacent sampling points is maximum falls within a predetermined range, it is determined that the maximum gradient position corresponding to the maximum gradient value is the leading position of “second”. An extremely low maximum gradient value and an extremely large maximum gradient value are excluded, whereby the leading position of “second” can be detected with a high accuracy.
The present invention is by no means restricted to the embodiments described above, and as a matter of course, various alterations and/or modifications may be made and fall within the scope of the invention defined in claims attached hereto.
In the present embodiment, the waveform rises from a low level to a high level at the leading position of “second” (“second” synchronizing position). Therefore, when a difference between values at adjacent sampling points is maximum in the “second” synchronizing process (
In the present embodiment, positions on the time axis where a difference between values of the accumulated waveform data at adjacent sampling points are maximum, whichever is larger on the time axis is employed as the maximum gradient position, but the above positions whichever is less on the time axis may be employed as the maximum gradient position. When a difference between values of the accumulated waveform data at adjacent sampling points are maximum, a middle position of the two adjacent sampling positions may be used in place of the maximum gradient position.
Number | Date | Country | Kind |
---|---|---|---|
2008-178751 | Jul 2008 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
20030117901 | Takada et al. | Jun 2003 | A1 |
20050094495 | Takada et al. | May 2005 | A1 |
20050195690 | Kondo | Sep 2005 | A1 |
20060067166 | Murata et al. | Mar 2006 | A1 |
20080239879 | Someya | Oct 2008 | A1 |
Number | Date | Country |
---|---|---|
2005-249632 | Sep 2005 | JP |
Number | Date | Country | |
---|---|---|---|
20100008192 A1 | Jan 2010 | US |