1) Field of the Invention
The present invention relates to a radio-controlled timepiece that receives a radio signal and corrects the time based on the time information in the radio signal. This invention also relates to method of receiving the radio signal and an electronic device that includes the radio-controlled timepiece.
2) Description of the Related Art
Radio-controlled timepieces have become popular in, for example, Germany, England, America, and Japan. A wide-band carrier signal of tens of kHz is employed to transmit radio signal that contains time information to the radio-controlled timepieces. Although the carrier signal in all these countries is a wide-band signal, the pulse waveforms for 0, 1, and the like, differs in each country.
A conventional radio-controlled timepiece has been described in the Japanese Patent Laid Open Publication No. 8-201546. This radio-controlled timepiece has a radio-controlled time correction function in which it receives a wide-band standard frequency signal (i.e., a radio signal) and corrects the time based on the time code (i.e., time information) in the standard frequency signal. This time correction function is activated at a predetermined time or when instructed by the user of the timepiece. Precisely, the radio-controlled timepiece has a receiver and a time unit and, the receiver receives the standard frequency signal when it receives a reception approval signal from the time unit.
The format of the time code transmitted in the standard frequency signal in Japan (Japanese standard frequency signal) is shown in
Since the minute, hour etc. are determined based on the position of 0 second, it is necessary to decide the position of 0 second. A marker P code is also included, apart from 0 and 1. The waveform of 0, 1, and P are shown in
Conventionally, the waveform is determined as follows. That is, as shown in
The waveforms of 0, 1, and P in the American standard frequency signal are shown in
How the time code is extracted, after the determination of waveforms of 0, 1, and P, has been described in Japanese Patent Laid Open Publication No. 11-304973 filed by the applicant of this patent application.
In the conventional radio-controlled timepiece, the reception of the standard frequency signal is greatly affected by the electric field intensity and the signal-to-noise (S/N) ratio. The receiving unit in the radio-controlled timepiece can demodulate the radio signals and output waveforms that are substantially same as the waveforms shown in
Although the waveform is faulty, sometimes it is not possible to decide that the waveform is faulty. To be more specific, since both the values will be low when sampling is performed at two places in the waveform shown in
In case of the waveform shown in
It is an object of the present invention to speedily, effectively, and correctly detect the waveforms even if there is an error in the demodulated code.
A radio-controlled timepiece according to one aspect of the present invention comprises, a receiving unit that receives a standard frequency signal that contains a time code and, outputs a received signal based on the received standard frequency signal, the received signal having a plurality of bits; a sampling unit that samples each bit of the received signal at predetermined sampling periods and, outputs the result of the sampling; a smoothing unit that smoothens the received signal based on result of the sampling in the sampling unit; a waveform determining unit that determines a waveform of each bit of the received signal based on the smoothened received signal; and a time determining unit that determines the time code in the received signal based on the waveform determined by the waveform determining unit.
The standard frequency reception method according to another aspect of the present invention comprises receiving a standard frequency signal that contains a time code and, outputs a received signal based on the received standard frequency signal, the received signal having a plurality of bits; sampling each bit of the received signal at predetermined sampling periods and, outputting the result of the sampling; smoothing the received signal based on result of the sampling; determining a waveform of each bit of the received signal based on the smoothened received signal; and determining the time code in the received signal based on the determined waveform.
The electronic device according to still another aspect of the present invention comprises the radio-controlled timepiece according to the present invention.
These and other objects, features and advantages of the present invention are specifically set forth in or will become apparent from the following detailed descriptions of the invention when read in conjunction with the accompanying drawings.
An embodiment of the radio-controlled timepiece, the standard frequency reception method, and the electronic device according to the present invention are explained in detail with reference to the accompanying drawings.
Construction of the Radio-Controlled Timepiece
First, the construction of the radio-controlled timepiece according to the embodiment of the present invention is explained.
The reception start/stop unit 3 controls the receiver 2 to receive the standard frequency signal at the time is decided by a time unit 11 or when a reception starting command is issued by a switch 4. The reception start/stop unit 3 clears a counter of an error calculation unit 13 when it controls the receiver 2 to receive the standard frequency signal. The reception start/stop unit 3 also enables the receiver 2 to terminate the reception of the standard frequency signal when a reception termination command is output from the time unit 11 or a decoder 8. The switch 4 is clicked when the operator desires to correct the time. When the switch 4 is clicked, a reception starting command is issued from the switch 4 to the reception start/stop unit 3.
A reference numeral 5 indicates a sampling unit that consists of a sampler 5a and a sampling counter 5b. The sampler 5a samples the demodulated waveform output from the receiver 2 based on a timepiece signal output from a frequency divider 10. In addition, the sampling counter 5b clears the counter in one second and calculates the timepiece of the frequency divider 10. The sampling counter 5b starts counting of the timepiece signal on receiving a count start command from the sampling counter 5a and clears the count after every one second.
A reference numeral 6 denotes a smoothing unit that divides the output of the sampling counter 5a into fixed intervals and determines whether a value in each interval is high, low or there is an error. A reference numeral 7 denotes a waveform determining unit that determines whether the waveform of the signal is 0, 1, or P based on the determination made by the smoothing unit 6. If the smoothing unit 6 determines that there is an error in the signal, the waveform determining unit 7 determines that the waveform is faulty.
A reference numeral 8 denotes a decoder that decodes each bit of the determined data that is output from the waveform determining unit 7. The decoder 8 also clears the counter of the error calculating unit 13 when the header of a frame is detected or when the head position of the frame is reached and, when the decoding is finished and, outputs the termination signal to the reception start/stop unit 3. A reference numeral 9 indicates an oscillator, 10 indicates the frequency divider, and 11 indicates the time unit. The time unit 11 performs the function of measuring the time.
The smoothing circuit 6 and the waveform detecting circuit 7 have been shown as two separate units, however, the smoothing circuit 6 and the waveform detecting circuit 7 may also be configured as a single unit. A reference numeral 12 denotes a display unit that displays time and the condition (e.g., strong, week, etc.) of the standard frequency signal. The error calculating unit 13 consists of two counters namely, an error P calculating unit 13a and an error Q calculating unit 13b.
A reference numeral 12 indicates a standard frequency receiver that consists of the receiver 2, the reception start/stop unit 3, the sampling unit 5, the smoothing unit 6, the waveform detecting unit 7, the decoder 8, and the error calculating unit 13.
It is assumed here that a signal any one or more of high, medium, and low reception levels (see
Moreover, it is assumed here that there could be two types of errors in waveform detection: error P and error Q. The errors P are the errors such as those shown in
Time Correction Process
In step S303, the reception start/stop unit 3 prepares the receiver 2 to receive the standard frequency signal. At the same time, the reception start/stop unit 3 clears the counter 13a having the error P and clears the counter 13b having the error Q. During that time, as shown in
In step S304, it is determined whether the standard frequency signal reception process has properly terminated. Whether the standard frequency signal reception process has properly terminated is decided, for example, based on whether determination of the time code is done properly by the decoder 8. How the time code is determined is explained later. When the reception process properly terminates (Yes), the standard frequency signal reception process is terminated. In this case, the decoder 8 transmits the reception termination command to the reception start/stop unit 3.
After the reception of the standard frequency is terminated, the decoder 8 transmits the time code, which has been properly determined, to the time unit 11. The time unit 11 then performs the time correction based on the received time code, at step S309. The display unit 12 displays the corrected time, at step S310. At this point, before displaying the corrected time, in order to display the successful reception of the radio signals, the needle moves from the REC position of 00 second to the high position (see
If it is determined at step S304 that the standard frequency signal reception process has not terminated properly (No), in step S305 the time unit 11 determines whether a predetermined time, for example 10 minutes, has elapsed from the start of the reception of the standard frequency signal. If the predetermined time has not been elapsed (No), the process returns to step S303 and, the standard frequency signal reception process is performed again. If the predetermined time has elapsed (Yes), the standard frequency signal reception process is terminated. In this case, the time unit 11 transmits the reception termination command to the reception start/stop unit 3.
In step S306, the needle moves from the REC position to the medium or low position to indicate that an error has occurred. After the error is displayed, the process waits for a predetermined time, for example 10 seconds, at step S307. When the predetermined time has elapsed (Yes), the original time before the reception of the standard frequency signal starts is displayed at step S308. The entire process terminates after the display of the original time.
Standard Frequency Signal Reception Process
The standard frequency signal reception process is explained next.
When the sampling process is initiated, first, a rising edge of the waveform, which means a start of the waveform, is detected. If the waveform is a normal waveform, it shown a rising edge at every second. Brief explanation of how the rising edge is detected will not be provided here as detection of the rising edge is not directly linked with the present invention. When the detection of the rising edge is completed, the sampler 5a issues the command for initiating the count to the sampling counter 5b. The sampling counter 5b begins the count based on the 32 Hz timepiece. The sampling counter 5b can count up to the maximum 31 and, clears the counter when the count has reached 31. In other words, the counter is cleared after every one second.
At step S404, the smoothing unit 6 detects the output of the sampler 5a and, decides whether a specific interval as started. The output of the sampler 5a is the value of the sampling counter 5b that is divided into five intervals: A, B, C, and D (see
On the other hand, when the number of highs does not reach the predetermined number (No), at step S408 it is determined whether the specific interval has terminated. When it is determined that the specific interval has terminated (Yes), at step S409 it is determined whether the number of highs is less than a predetermined number, for example two. When the number of highs is lesser than the predetermined number (Yes), at step S410 it is decided that the entire specific interval has a low value. The process then proceeds to step S411. At step S411, the smoothing unit 6 transmits the determined signal to the waveform determining unit 7.
On the other hand, when the number of highs is not less than the predetermined number (No), for example when the number of high positions is three, at step S412 it is determined that an error has occurred. At step S413 the waveform determining unit 7 transmits an error signal to the error calculating unit 13. When such an error signal is received, the error calculating unit 13 increases the counter of the error Q calculating unit 13b by one.
It is explained above to detect the number of highs (see steps S406 and S409) in the specific interval, but the method is not limited to this. For example, number of lows may be detected instead of the number of highs. Further, it is explained above to detect the number of highs (see step S406) after each count (see step S405) but the method is not limited to this. For example, determination of the number of highs may be performed after the count of the specific interval is over.
In the 0, 1, and P waveforms, the values at sampling position of 24 and onwards will be generally low. Therefore, there is no need to detect the value at these sampling positions.
Nevertheless, the interval D is set at the sampling positions of 27 to 31. As explained above, the values at these positions should be low and there is no need to sample these positions. But, it is checked whether the values are really low at these positions to increase the precision in the detection. If a high is detected at any of these positions, it will mean that there is an error.
The determination of normal (or faulty) waveform can be performed with minimum two intervals, namely B and C. Nevertheless, a precise determination will be possible if there are three or more intervals.
Waveform Determination Process
The waveform determination process performed by the waveform determining unit 7 is explained next. The waveform determining unit 7 performs the waveform determination process based on the determination of high, low, and error positions that occur in the A, B, and C intervals. In case of the Japanese standard frequency signal, the waveform is detected as the 0 waveform when the values of the intervals A, B, and C are high, high, and high respectively, the waveform is detected as the 1 waveform when the values of the intervals A, B, and C are high, high, and low respectively, and the waveform is detected as the P waveform when the values of the intervals A, B, and C are high, low, and low respectively. When a combination of highs and lows that is different from these is detected, it means that the waveform is a faulty waveform. The waveform determining unit 7 outputs an error signal to the error P calculating unit 13a when a faulty waveform is detected. Moreover, the waveform determining unit 7 does not send the waveform to the decoder 8 when the faulty waveform is detected. As seen in
The value of the interval A is normally high, but if the value of the interval A is low (No at step S602), it is determined that an error has occurred (step S613). When the value of the interval A is high and the value of the interval B is low, the value of the interval C has to be high, but if the value of the interval C is low (Yes at step S606), it is determined that an error has occurred (step S613).
When the values of the intervals A, B, and C are high (Yes at step S602), high (Yes at step S604), and high (Yes at step S609) respectively, the waveform determining unit 7 determines that the waveform is the 0 waveform (step S611). When the values of the intervals A, B, and C are high (Yes at step S602), high (Yes at step S604), and low (No at step S609) respectively, the waveform determining unit 7 determines that the waveform is the 1 waveform (step S610). When the values of the intervals A, B, and C are high (Yes at step S602), low (No at step S604), and low (No at step S606) respectively, the waveform determining unit 7 determines that the waveform is the P waveform (step S607). At step S612, the waveform determining unit 7 transmits the determined waveform (0, 1, or P) to the decoder 8 and, terminates the waveform determining process. The waveform determining process is not limited to the one described in the flowchart in
The value of the interval A is normally low, but if the value of the interval A is high (No at step S802), it is determined that an error has occurred (step S813). When the value of the interval A is low (Yes at step S802) and the value of the interval B is high (No at step S804), the value of the interval C has to be high at all the times, but if the value of the interval C is low (Yes at step S806), it is determined that an error has occurred (step S813).
When the values of the intervals A, B, and C are low (Yes at step S802), low (Yes at step S804), and low (Yes at step S809) respectively, the waveform determining unit 7 determines that the waveform is the P waveform (step S811). When the values of the intervals A, B, and C are low (Yes at step S802), low (Yes at step S804), and high (No at step S809) respectively, the waveform determining unit 7 determines that the waveform is the 1 waveform (step S810). When the values of the intervals A, B, and C are low (Yes at step S802), high (No at step S804), and high (No at step S806) respectively, the waveform determining unit 7 determines that the waveform is the 0 waveform (step S807). At step S812, the waveform determining unit 7 transmits the determined waveform (0, 1, or P) to the decoder 8 and, terminates the waveform determining process. The waveform determining process is not limited to the one described in the flowchart in
Display Process of the Reception Condition
There are two major objectives for displaying the reception conditions (reception level) for the user. The first objective is to inform the user about the bad reception conditions as early as possible and, this is achieved by displaying the reception conditions at the initial stages, i.e., just after the reception begins. To achieve the first objective, precisely, the user is informed about the bad reception conditions if errors are detected during first 10 seconds after the first rising edge of the first waveform is detected. In other words, the user comes to know about the bad reception conditions in less than 10 seconds from the start of the reception.
The second objective is to inform the user whether reception was done correctly and, this is achieved by displaying the changes in the conditions while the reception was being performed. To achieve the second objective, precisely, detection of error is performed for a period of minute after the detection of two P waveforms continuously. The display process that fulfills the second most important objective is described next. The method of the first objective is similar to the method of the second objective, but differs only in the threshold value in the level recognized. Hence the method of the first objective will be explained only briefly.
As explained above, when error Q is detected in the smoothing unit 6 and error P is detected in the waveform determining unit 7, the number of errors P are counted in the error P calculating unit 13a and the number of errors are calculated in the error Q calculating unit 13b. When the head of the frame is detected, the counting of the errors is started and, the decoder 18 outputs the signal that clears the counter of the error-calculating unit 13. Table 1 shows a sample table of the count value and the reception level of error P and, Table 2 shows a sample table of the count value and the reception level of error Q. The reception condition is decided based on the error value of any one of the tables 1 and 2.
It is also possible to decide the reception condition based on both the errors P and Q. When both the errors P and Q are used for obtaining the reception condition, the low level is displayed with highest priority and high level is displayed with lowest priority. For example, when there are four errors P (i.e., low reception level) and three errors Q (i.e., medium reception level), the errors P are displayed with priority because of their low reception level. Further, as can be understood by the flowcharts in
When the reception condition is bad, as shown in
When the reception condition is bad, i.e., when the second needle is at low position, the decoder 8 clears the counter of the error-calculating unit 13 and, the detection of the reception level is performed after every one minute until the decoder 8 outputs the reception termination signal.
When the error P has occurred it means that the determination of the reception level is not properly carried out in the smoothing unit 6. Therefore, when it comes to deciding the reception level, the error P is more important than the error Q. Hence, even if one error P occurs, the reception level is determined to be medium level.
In this way, the number of bits of the received signal in which errors have occurred (i.e., error P) and number of sampling position at which errors have occurred (error Q) are counted and, the reception condition of the standard frequency is determined and displayed based on at least one of these two errors.
Time Determination Process
The time determination process by the decoder 8 is explained next. The decoder 8 determines the time based on the waveforms 0, 1, and P that are determined by the waveform determining unit 7.
The bit of 0 second is considered as the first bit, the bit of the first second is considered as the second bit, and likewise the bit of the fifty-ninth second is considered as the sixtieth bit. As shown in
For example, when 1 minute is to be indicated, out of the second to ninth bits, the fifth bit and the ninth bit will have a value of 1 (i.e., the waveform of these bits will be 1 waveform) and the remaining bits will have a value of 0 (i.e., the waveform of these bits will be 0 waveform). Similarly, when 57 minutes are to be indicated, out of the second to ninth bits, the second bit, the forth bit, the seventh bit, the eighth bit, and the ninth bit will have a value of 1 and the remaining bits will have a value of zero.
It can not happen, for example, that the values of the second bit (40 seconds) and the third bit (20 seconds) are 1 at the same time. This is because there are minutes from 0 to 59 only and there is no 60 or more minutes. If a combination of values that logically can not occur is detected, the decoder 8 detects an error signal.
After the time code has been extracted from the received signal, the decoder 8 outputs the extracted time code to the time unit 11 and, the time unit 11 updates the current time based on the received time code. Simultaneously, the counter of the frequency divider 10 is reset based on the seconds in the time code. Moreover, the hour, minute, and second needles are moved to appropriate positions rapidly to display the time based on the received time code.
On the other hand, when there is a failure in the extraction of time data, the needles are moved to appropriate positions based on time counted in the time unit 11. Moreover, the decoder 8 sends the reception terminating signal to the reception start/stop unit 3 and, the reception of the standard frequency signal is terminated. Simultaneously, the operation of the standard frequency reception unit 14 is terminated.
According to the radio-controlled timepiece of the embodiment, since the smoothing of the waveform is performed in the smoothing unit 6 based on the counts in the sampling unit 5, the correct waveforms can be detected reliably even if the waveform has minor errors. In this way, it is possible to improve the efficiency of the time correction process and, therefore, save energy consumption.
The radio-controlled timepiece according to embodiment may be used in the wrist watches, hanging timepieced, mantelpiece timepieces and the like. The radio-controlled timepiece may also be used in mobile devices such as the mobile phones, PDA's (Personal Digital Assistant), personal computers and the like. In addition, the radio-controlled timepiece may also be used in home appliances and electronic devices used in cars.
The present invention provides the radio-controlled timepiece that has following effects. That is, the radio-controlled timepiece can extract the time code from the standard frequency signal even if there are fluctuations in the standard frequency signal. Moreover, the radio-controlled timepiece can extract the time code from the standard frequency signal speedily, reliably, and effectively. Since the electronic device according to the present invention includes the radio-controlled timepiece according to the present invention, the electronic device also produces the same effects.
Although the invention has been described with respect to a specific embodiment for a complete and clear disclosure, the appended claims are not to be thus limited but are to be construed as embodying all modifications and alternative constructions that may occur to one skilled in the art which fairly fall within the basic teaching herein set forth.
Number | Date | Country | Kind |
---|---|---|---|
2001-354008 | Nov 2001 | JP | national |
2002-332646 | Nov 2002 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
4525685 | Hesselberth et al. | Jun 1985 | A |
5528560 | Ogiyama | Jun 1996 | A |
5668915 | Baik et al. | Sep 1997 | A |
5805647 | Schafer et al. | Sep 1998 | A |
6959198 | Mitsugi | Oct 2005 | B2 |
20050105399 | Strumpf et al. | May 2005 | A1 |
Number | Date | Country |
---|---|---|
8-201546 | Aug 1996 | JP |
11-304973 | Nov 1999 | JP |
Number | Date | Country | |
---|---|---|---|
20030117901 A1 | Jun 2003 | US |