JP7045887B2 - Timekeeping device, timekeeping system, and timekeeping method - Google Patents
Timekeeping device, timekeeping system, and timekeeping method Download PDFInfo
- Publication number
- JP7045887B2 JP7045887B2 JP2018047975A JP2018047975A JP7045887B2 JP 7045887 B2 JP7045887 B2 JP 7045887B2 JP 2018047975 A JP2018047975 A JP 2018047975A JP 2018047975 A JP2018047975 A JP 2018047975A JP 7045887 B2 JP7045887 B2 JP 7045887B2
- Authority
- JP
- Japan
- Prior art keywords
- timekeeping
- signal
- transmission device
- unit
- reception
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 115
- 230000005540 biological transmission Effects 0.000 claims description 163
- 238000012937 correction Methods 0.000 claims description 24
- 230000006854 communication Effects 0.000 description 145
- 238000004891 communication Methods 0.000 description 142
- 238000012545 processing Methods 0.000 description 15
- 238000010586 diagram Methods 0.000 description 13
- 238000005259 measurement Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 239000013078 crystal Substances 0.000 description 6
- 230000010355 oscillation Effects 0.000 description 5
- 238000007781 pre-processing Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000005684 electric field Effects 0.000 description 2
- 230000000737 periodic effect Effects 0.000 description 2
- 230000035945 sensitivity Effects 0.000 description 2
- 230000007175 bidirectional communication Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G5/00—Setting, i.e. correcting or changing, the time-indication
-
- G—PHYSICS
- G04—HOROLOGY
- G04R—RADIO-CONTROLLED TIME-PIECES
- G04R20/00—Setting the time according to the time information carried or implied by the radio signal
- G04R20/26—Setting the time according to the time information carried or implied by the radio signal the radio signal being a near-field communication signal
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Electric Clocks (AREA)
Description
本発明は、計時装置、計時システム、及び計時方法に関する。 The present invention relates to a timekeeping device, a timekeeping system, and a timekeeping method.
複数の計時装置を階層化して、上位階層の計時装置から一段下位階層の計時装置へ順次リレー式に時刻情報を送信して、各階層の計時装置の時刻修正を行なうことが可能な計時システムが知られている。このような計時システムでは、一方向通信により、時刻情報を上位階層の計時装置から下位階層の計時装置に伝えるものである。この一方向通信には、例えば、近距離無線通信が用いられる。下位階層の計時装置は、送信データに時刻情報とともに含まれる送信タイミング情報を参照して、上位階層の計時装置から以降において送信データを受信するための自動受信タイミングを決定する。
このような計時システムでは、計時装置同士をペアリングする双方向通信に比べて容易にネットワークの構築が可能である。例えば、計時装置同士の間に適切なリンク関係を自動的に構築可能な計時装置が知られている(特許文献1)。
A timekeeping system that can adjust the time of the timekeeping device of each layer by layering multiple timekeeping devices and sequentially relaying time information from the timekeeping device of the upper layer to the timekeeping device of the lower layer. Are known. In such a timekeeping system, time information is transmitted from a higher-level timekeeping device to a lower-level timekeeping device by one-way communication. For this one-way communication, for example, short-range wireless communication is used. The timekeeping device in the lower layer refers to the transmission timing information included in the transmission data together with the time information, and determines the automatic reception timing for receiving the transmission data from the timekeeping device in the upper layer thereafter.
In such a timekeeping system, it is possible to easily construct a network as compared with bidirectional communication in which timekeeping devices are paired with each other. For example, a timekeeping device capable of automatically constructing an appropriate link relationship between timekeeping devices is known (Patent Document 1).
上述したような計時システムでは、計時装置同士の通信に電波が用いられる。しかしながら、一般に電波の電界強度は干渉や混信により変動する。そのため、上述したような計時システムでは、計時装置を設置する際に受信感度の下限において偶発的に、上位階層の計時装置からの時刻情報の受信に成功してしまう場合がある。受信感度の下限において偶発的に受信に成功してしまうと、以降の定期自動受信において、受信電波の電界強度の変動により時刻情報を安定して受信ができなくなるという課題があった。
特に、設置に手間のかかる計時装置では、一度設置すると移動が容易ではないため、上位階層の計時装置との通信距離を変更することが容易ではない。例えば、掛時計や置時計では、腕時計と異なり一度設置すると上位階層の時計との通信距離が決まってしまう。そのため掛時計や置時計では、自動受信ができなかった場合には、ユーザがより上位階層の計時装置に近い場所へ設置し直すなど手間が掛かっていた。
In the timekeeping system as described above, radio waves are used for communication between the timekeeping devices. However, in general, the electric field strength of radio waves fluctuates due to interference and interference. Therefore, in the timekeeping system as described above, when the timekeeping device is installed, the time information may be accidentally received from the upper layer timekeeping device at the lower limit of the reception sensitivity. If the reception is accidentally successful at the lower limit of the reception sensitivity, there is a problem that the time information cannot be stably received due to the fluctuation of the electric field strength of the received radio wave in the subsequent periodic automatic reception.
In particular, it is not easy to change the communication distance with the timekeeping device of the upper layer because it is not easy to move the timekeeping device which is troublesome to install once it is installed. For example, in a wall clock or table clock, unlike a wristwatch, once installed, the communication distance with the clock in the upper layer is determined. Therefore, if the wall clock or table clock cannot be automatically received, it takes time and effort for the user to re-install it in a place closer to the timekeeping device in the higher layer.
本発明は上記の点に鑑みてなされたものであり、時刻情報を安定して受信できる計時装置、計時システム、及び計時方法を提供する。 The present invention has been made in view of the above points, and provides a timekeeping device, a timekeeping system, and a timekeeping method capable of stably receiving time information.
本発明は上記の課題を解決するためになされたものであり、本発明の一態様は、ツリー型のネットワークを構成する複数の計時装置のうちの1つであって、計時データを修正するための基準時刻情報を含み送信装置が送信する基準時刻信号を受信信号として受信する受信部と、前記受信部が受信した前記受信信号の強度を判定する信号強度判定部と、前記受信信号の強度が所定の閾値以上であると前記信号強度判定部が判定した前記送信装置を基準送信装置であると決定する基準送信装置決定部と、前記基準送信装置決定部が前記基準送信装置を決定した後には、前記基準送信装置からの前記受信信号を前記計時データの修正に用いると判定するとともに前記基準送信装置以外の前記送信装置からの前記受信信号を前記計時データの修正に用いないと判定する信号判定部と、前記信号判定部の判定結果が示す前記受信信号に含まれる前記基準時刻情報に基づいて、前記計時データを修正する修正部と、前記修正部が修正した前記計時データに基づき計時を行う計時部と、を備え、前記送信装置は、前記ツリー型のネットワークにおいて自装置よりも上位の階層の計時装置であって、前記基準時刻信号は、前記複数の送信装置相互間において異なる時刻に前記送信装置によって送信され、前記受信部は、前記基準送信装置決定部が前記基準送信装置を決定した後には、前記基準送信装置が前記基準時刻信号を送信する所定の時刻に前記基準送信装置が送信する前記基準時刻信号を受信する計時装置である。 The present invention has been made to solve the above problems, and one aspect of the present invention is one of a plurality of time measuring devices constituting a tree-type network, in order to modify the time measuring data. The receiving unit that receives the reference time signal transmitted by the transmitting device as a receiving signal including the reference time information of the above, the signal strength determining unit that determines the strength of the received signal received by the receiving unit, and the strength of the received signal are After the reference transmission device determination unit determines that the transmission device determined by the signal strength determination unit to be equal to or higher than a predetermined threshold value as the reference transmission device, and the reference transmission device determination unit determines the reference transmission device. , A signal determination that determines that the received signal from the reference transmitting device is used for correcting the timed data and that the received signal from the transmitting device other than the reference transmitting device is not used for correcting the timed data. Based on the reference time information included in the received signal indicated by the determination result of the signal determination unit, the correction unit that corrects the time measurement data, and the correction unit that corrects the time measurement data. The transmitting device is a time measuring device having a level higher than the own device in the tree-type network, and the reference time signal is used at different times between the plurality of transmitting devices. It is transmitted by the transmitting device, and the receiving unit transmits the reference transmitting device at a predetermined time when the reference transmitting device transmits the reference time signal after the reference transmitting device determining unit determines the reference transmitting device. It is a time measuring device that receives the reference time signal .
また、本発明の一態様は、上記の計時装置において、前記信号強度判定部は、前記受信部が動作を開始後に前記受信信号を初めて受信した場合に、前記受信部が受信した前記受信信号の強度を判定する。 Further, in one aspect of the present invention, in the timekeeping device, the signal strength determination unit receives the received signal when the receiving unit receives the received signal for the first time after the receiving unit starts operation. Determine the strength.
また、本発明の一態様は、上記の計時装置において、前記基準送信装置決定部は、前記基準送信装置との接続が途絶えた場合、前記受信信号の強度が所定の閾値以上であると前記信号強度判定部が判定した前記送信装置を、基準送信装置であると新たに決定する。 Further, in one aspect of the present invention, in the timekeeping device, the reference transmission device determining unit determines that the strength of the received signal is equal to or higher than a predetermined threshold value when the connection with the reference transmission device is lost. The transmission device determined by the strength determination unit is newly determined to be a reference transmission device.
また、本発明の一態様は、上記の計時装置において、前記信号強度判定部は、前記受信部が前記受信信号を手動受信により受信した場合に、前記受信部が受信した前記受信信号の強度を判定する。 Further, in one aspect of the present invention, in the timekeeping device, the signal strength determination unit determines the strength of the received signal received by the receiving unit when the receiving unit receives the received signal by manual reception. judge.
また、本発明の一態様は、上記の計時装置において、前記信号強度判定部が前記強度が所定値未満であると判定する場合、前記強度が所定値未満であることを表示する表示部をさらに備える。 Further, in one aspect of the present invention, in the above-mentioned timekeeping device, when the signal strength determination unit determines that the intensity is less than a predetermined value, a display unit indicating that the intensity is less than the predetermined value is further added. Be prepared.
また、本発明の一態様は、上記の計時装置を複数備えることによって前記ツリー型のネットワークを構成する計時システムである。
また、本発明の一態様は、ツリー型のネットワークを構成する複数の計時装置のうちの1つにおける計時方法であって、計時データを修正するための基準時刻情報を含み送信装置が送信する基準時刻信号を受信信号として受信する受信手順と、前記受信手順において受信された前記受信信号の強度を判定する信号強度判定手順と、前記受信信号の強度が所定の閾値以上であると前記信号強度判定手順において判定された前記送信装置を基準送信装置であると決定する基準送信装置決定手順と、前記基準送信装置決定手順において前記基準送信装置が決定された後には、前記基準送信装置からの前記受信信号を前記計時データの修正に用いると判定するとともに前記基準送信装置以外の前記送信装置からの前記受信信号を前記計時データの修正に用いないと判定する信号判定手順と、前記信号判定手順の判定結果が示す前記受信信号に含まれる前記基準時刻情報に基づいて、前記計時データを修正する修正手順と、前記修正手順において修正された前記計時データに基づき計時を行う計時手順と、を有し、前記送信装置は、前記ツリー型のネットワークにおいて自装置よりも上位の階層の計時装置であって、前記基準時刻信号は、前記複数の送信装置相互間において異なる時刻に前記送信装置によって送信され、前記受信手順は、前記基準送信装置決定手順が前記基準送信装置を決定した後には、前記基準送信装置が前記基準時刻信号を送信する所定の時刻に前記基準送信装置が送信する前記基準時刻信号を受信する計時方法である。
Further, one aspect of the present invention is a timekeeping system that constitutes the tree-type network by providing a plurality of the above-mentioned timekeeping devices.
Further, one aspect of the present invention is a time measuring method in one of a plurality of time measuring devices constituting a tree-type network, which includes reference time information for correcting the time measuring data and is transmitted by the transmitting device. A reception procedure for receiving a time signal as a reception signal, a signal strength determination procedure for determining the strength of the received signal received in the reception procedure, and a signal strength determination when the strength of the received signal is equal to or higher than a predetermined threshold value. The reference transmission device determination procedure for determining the transmission device determined in the procedure as the reference transmission device, and the reception from the reference transmission device after the reference transmission device is determined in the reference transmission device determination procedure. A signal determination procedure for determining that the signal is used for correcting the timed data and determining that the received signal from the transmitting device other than the reference transmitting device is not used for correcting the timed data, and a determination of the signal determination procedure. It has a correction procedure for correcting the time measurement data based on the reference time information included in the received signal indicated by the result, and a time measurement procedure for performing time measurement based on the time measurement data corrected in the correction procedure . The transmitting device is a time measuring device at a higher level than the own device in the tree-type network, and the reference time signal is transmitted by the transmitting device at different times among the plurality of transmitting devices, and the above-mentioned The receiving procedure receives the reference time signal transmitted by the reference transmission device at a predetermined time when the reference transmission device transmits the reference time signal after the reference transmission device determination procedure determines the reference transmission device. It is a timing method to do.
本発明によれば、時刻情報を安定して受信できる。 According to the present invention, time information can be stably received.
(第1の実施形態)
以下、図面を参照しながら本発明の実施形態について詳しく説明する。図1は、本実施形態に係る計時システムSの構成の一例を示す図である。計時システムSでは、複数の計時装置C1~C6を備え、それら計時装置C1~C6がツリー型のネットワークを構成している。
以下では、計時装置C1~C6のうちの1つを計時装置Cと呼ぶことがある。
(First Embodiment)
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a diagram showing an example of the configuration of the timekeeping system S according to the present embodiment. The timekeeping system S includes a plurality of timekeeping devices C1 to C6, and the timekeeping devices C1 to C6 form a tree-type network.
Hereinafter, one of the timekeeping devices C1 to C6 may be referred to as a timekeeping device C.
このネットワークにはレイヤにより示される階層があり、最上位レイヤの計時装置Cが時刻情報を取得して、上位レイヤの計時装置Cから下位レイヤの計時装置Cへと時刻情報が順次送信される。ここで最上位レイヤの計時装置Cが取得する時刻情報とは、例えば、標準電波に含まれる基準となる時刻を示す情報である。各レイヤの計時装置Cは、上位レイヤの計時装置Cから時刻情報を受信すると、自装置の時刻を修正する。これにより、計時システムSを構成する計時装置C1~C6は正確な時刻を維持する。 This network has a hierarchy indicated by layers, and the timekeeping device C in the uppermost layer acquires time information, and the time information is sequentially transmitted from the timekeeping device C in the upper layer to the timekeeping device C in the lower layer. Here, the time information acquired by the time measuring device C in the uppermost layer is, for example, information indicating a reference time included in the standard radio wave. When the timekeeping device C of each layer receives the time information from the timekeeping device C of the upper layer, the timekeeping device C of each layer corrects the time of its own device. As a result, the timekeeping devices C1 to C6 constituting the timekeeping system S maintain an accurate time.
計時システムSに備えられる計時装置C1~C6とは、例えば、オフィスビルや工場などに設置される電波時計である。電波時計では、設置場所によっては、標準電波を受信できない場合がある。
そのため計時システムSでは、計時装置C1~C6は、標準電波を受信する親機と、親機から基準時刻信号を受信する子機とに分けられる。ここで基準時刻信号とは、時刻修正のための時刻情報である基準時刻情報Bを含む信号である。親機となる計時装置C1は、標準電波の受信しやすい窓際などに設置される。一方、子機となる計時装置C2及び計時装置C3は、建物の奥側に設定され、親機である計時装置C1から基準時刻信号を受信する。
The timekeeping devices C1 to C6 provided in the timekeeping system S are radio clocks installed in, for example, an office building or a factory. Depending on the installation location, the radio-controlled watch may not be able to receive standard radio waves.
Therefore, in the timekeeping system S, the timekeeping devices C1 to C6 are divided into a master unit that receives a standard radio wave and a slave unit that receives a reference time signal from the master unit. Here, the reference time signal is a signal including the reference time information B which is the time information for time adjustment. The timekeeping device C1 serving as a master unit is installed near a window where standard radio waves can be easily received. On the other hand, the timekeeping device C2 and the timekeeping device C3, which are slave units, are set on the back side of the building and receive the reference time signal from the timekeeping device C1 which is the master unit.
計時システムSでは、計時装置Cは、上位レイヤの計時装置Cから基準時刻信号を受信すると、以降も所定の受信タイミングにおいて、この上位レイヤの計時装置Cから基準時刻信号を受信する。計時装置Cに基準時刻信号を送信する上位レイヤの送信装置を、基準送信装置と呼ぶ。
計時システムSでは、計時装置Cは、受信した基準時刻信号の強度が所定の閾値以上である場合に、この基準時刻信号を送信した送信装置を基準送信装置とすることにより、時刻情報を安定して受信できる。
In the timekeeping system S, when the timekeeping device C receives the reference time signal from the timekeeping device C of the upper layer, the timekeeping device C subsequently receives the reference time signal from the timekeeping device C of the upper layer at a predetermined reception timing. A transmission device of an upper layer that transmits a reference time signal to the timekeeping device C is called a reference transmission device.
In the timekeeping system S, when the strength of the received reference time signal is equal to or higher than a predetermined threshold value, the timekeeping device C stabilizes the time information by using the transmitting device that transmits the reference time signal as the reference transmitting device. Can be received.
計時システムSでは、送信時は近距離無線通信における一方向通信を用いている。この近距離無線通信とは、一例としてビーエルイー(Bluetooth(登録商標) Low Energy:BLE)である。送信データにはネットワークの階層を示すレイヤ情報が含まれる。計時装置C2~C6は、初期受信時に受信したレイヤの値に1を加えて自装置のレイヤとする。計時装置C2~C6は、以降、自装置のレイヤの値より1小さいレイヤの値を有する送信データのみを取得し、ツリー型のネットワークが構築される。 In the timekeeping system S, one-way communication in short-range wireless communication is used at the time of transmission. This short-range wireless communication is, for example, Bluetooth (registered trademark) Low Energy: BLE. The transmitted data includes layer information indicating the hierarchy of the network. The timing devices C2 to C6 add 1 to the value of the layer received at the time of initial reception to make the layer of the own device. After that, the timekeeping devices C2 to C6 acquire only the transmission data having a layer value one smaller than the layer value of the own device, and a tree-type network is constructed.
計時システムSでは、一方向通信を用いることにより近距離通信におけるペアリングや、一般的なネットワークにおけるIPアドレス設定などの手間を省き、それらに比べて容易に親子時計システムを実現できる。 In the timekeeping system S, by using one-way communication, it is possible to save time and effort such as pairing in short-distance communication and IP address setting in a general network, and it is possible to realize a parent-child clock system more easily than those.
親機である計時装置C1は、長波受信によりJJY(登録商標)等の標準電波または衛星電波(UTC)を受信することにより、時刻情報を取得する。または、親機である計時装置C1は、近距離無線通信によりスマートフォンから時刻情報を取得する。計時装置C1がいずれの情報源から時刻情報を取得するかは、ユーザにより設定される。また、計時システムSにおいて計時装置Cが親機と子機とのいずれとして機能するかもユーザにより設定される。 The timekeeping device C1 which is a master unit acquires time information by receiving a standard radio wave such as JJY (registered trademark) or a satellite radio wave (UTC) by receiving a long wave. Alternatively, the timekeeping device C1 which is the master unit acquires time information from the smartphone by short-range wireless communication. The user sets from which information source the timekeeping device C1 acquires the time information. Further, the user also sets whether the timekeeping device C functions as a master unit or a slave unit in the timekeeping system S.
計時装置C1は、取得した時刻情報に基づいて、自装置の計時データを修正する。計時装置C1は、修正した計時データに基づき基準時刻情報Bを生成する。計時装置C1は、生成した基準時刻情報Bを含む基準時刻信号を、下位レイヤの計時装置C2及び計時装置C3に送信チャネル0により送信する。
The timekeeping device C1 corrects the timekeeping data of its own device based on the acquired time information. The timekeeping device C1 generates the reference time information B based on the corrected timekeeping data. The timekeeping device C1 transmits a reference time signal including the generated reference time information B to the timekeeping device C2 and the timekeeping device C3 in the lower layer by the
ここで図2を参照し、基準時刻情報B及び通信チャネルについて説明する。
図2は、本実施形態に係る基準時刻情報B及び通信チャネルの一例を示す図である。基準時刻情報Bは、レイヤ情報B1、送信チャネル情報B2、時刻情報B3、及び局情報B4を含む。
Here, with reference to FIG. 2, the reference time information B and the communication channel will be described.
FIG. 2 is a diagram showing an example of the reference time information B and the communication channel according to the present embodiment. The reference time information B includes layer information B1, transmission channel information B2, time information B3, and station information B4.
レイヤ情報B1は、基準時刻情報Bを送信した計時装置Cが位置するレイヤを特定するための情報である。レイヤ情報B1は、例えば、0~99の範囲をとる。 The layer information B1 is information for specifying the layer on which the time measuring device C that has transmitted the reference time information B is located. The layer information B1 takes, for example, a range of 0 to 99.
送信チャネル情報B2は、基準時刻情報Bが送信される通信チャネルを特定する情報である。通信チャネルが、例えば、60チャネル用意されている場合には、送信チャネル情報B2には、例えば、0~59の値のうち通信チャネルに対応するものが設定される。 The transmission channel information B2 is information for specifying the communication channel to which the reference time information B is transmitted. For example, when 60 communication channels are prepared, the transmission channel information B2 is set to, for example, a value from 0 to 59 corresponding to the communication channel.
時刻情報B3は、年・月・日・時・分・秒・曜日等の時刻を示す情報である。
局情報B4は、時刻情報B3がどの情報源に基づいて修正されたのかを示す情報である。局情報B4は、例えば、UTC、JJY(40kHz;東・福島送信所)、JJY(60kHz,西・九州送信所)、スマートフォン、及び手動調整時の別を示す情報である。
The time information B3 is information indicating the time such as year, month, day, hour, minute, second, and day of the week.
The station information B4 is information indicating which information source the time information B3 was modified based on. The station information B4 is, for example, UTC, JJY (40 kHz; East / Fukushima transmission station), JJY (60 kHz, West / Kyushu transmission station), a smartphone, and information indicating the distinction at the time of manual adjustment.
図1に戻り、計時システムSの説明を続ける。
計時システムSでは、混信を防ぐために10秒毎のタイムスロットTSを設けてレイヤ、及び送信CHから基準時刻情報Bの送信タイミングを決定し、複数の送信装置間において送信タイミングが重なることを防いでいる。ここで送信CHは、周波数ではなく時分割したタイムスロットを意味し、番号0~59からランダムに設定される。送信タイミングの一例は、式(1)により表される。
Returning to FIG. 1, the description of the timekeeping system S will be continued.
In the timekeeping system S, a time slot TS every 10 seconds is provided to prevent interference, and the transmission timing of the reference time information B is determined from the layer and the transmission CH to prevent the transmission timings from overlapping between a plurality of transmission devices. There is. Here, the transmission CH means a time-division time slot, not a frequency, and is randomly set from the
周波数ホッピングにより混信を防ぐBLEの双方向通信と異なり、BLEの一方向通信では、送信装置であるブロードキャスターが送信データであるアドバタイズメントパケットを送信する際は3つの周波数を順次切替えて送信するため、タイミングが重なると混信する可能性が高くなる。計時システムSでは、式(1)により送信タイミングが重なることを防いでいる。 Unlike BLE's two-way communication, which prevents interference by frequency hopping, in BLE's one-way communication, when the broadcaster, which is the transmitting device, transmits the advertisement packet, which is the transmission data, the three frequencies are sequentially switched and transmitted. , If the timings overlap, the possibility of interference increases. In the timekeeping system S, the transmission timings are prevented from overlapping by the equation (1).
レイヤの値が1の計時装置C2は、レイヤの値が0の計時装置C1から基準時刻情報Bを受信する。計時装置C2は、基準時刻情報Bに含まれる時刻情報B3に基づいて自装置の計時データを修正する。計時装置C2は、修正した計時データに基づき基準時刻情報Bを生成する。計時装置C2は、生成した基準時刻情報Bを、レイヤの値が2の計時装置C4に送信する。ここで計時装置C2は、上位レイヤの計時装置C1が用いている送信チャネル0とは異なる送信チャネル3を送信に用いる。
The time measuring device C2 having a layer value of 1 receives the reference time information B from the time measuring device C1 having a layer value of 0. The timekeeping device C2 corrects the timekeeping data of its own device based on the time information B3 included in the reference time information B. The timekeeping device C2 generates the reference time information B based on the corrected timekeeping data. The timekeeping device C2 transmits the generated reference time information B to the timekeeping device C4 having a layer value of 2. Here, the timekeeping device C2 uses a
以下、同様にして、各レイヤの計時装置Cは、レイヤの値が1だけ小さいレイヤの計時装置Cから基準時刻情報Bを受信し、受信した基準時刻情報Bに含まれる時刻情報B3に基づいて自装置の計時データを修正する。計時装置Cは、修正した計時データに基づき基準時刻情報Bを生成する。計時装置Cは、レイヤの値が1だけ小さい上位レイヤの計時装置Cが用いている送信チャネルとは異なる送信チャネルを用いて、生成した基準時刻情報Bを、レイヤの値が1だけ大きい下位レイヤの計時装置Cに送信する。 Hereinafter, similarly, the timekeeping device C of each layer receives the reference time information B from the timekeeping device C of the layer whose layer value is smaller by 1, and is based on the time information B3 included in the received reference time information B. Correct the timekeeping data of your device. The timekeeping device C generates the reference time information B based on the corrected timekeeping data. The timekeeping device C uses a transmission channel different from the transmission channel used by the timekeeping device C of the upper layer whose layer value is smaller by 1, and generates reference time information B in the lower layer whose layer value is larger by 1. It is transmitted to the timekeeping device C of.
なお、計時システムSには、計時装置C以外に、基準時刻情報Bを送信する機能を有しない計時装置も必要に応じて配置されてよい。 In the timekeeping system S, in addition to the timekeeping device C, a timekeeping device having no function of transmitting reference time information B may be arranged as needed.
次に、図3を参照し、計時装置Cの構成について説明する。
図3は、本実施形態に係る計時装置Cの構成の一例を示す図である。計時装置Cは、長波受信回路1と、電源回路2と、コネクタ3と、主装置4と、表示装置5とを備える。
Next, the configuration of the time measuring device C will be described with reference to FIG.
FIG. 3 is a diagram showing an example of the configuration of the timekeeping device C according to the present embodiment. The timekeeping device C includes a long
長波受信回路1は、時刻情報を含む標準電波JJYまたは衛星電波(UTC)を受信・復調し、ディジタル受信情報を、コネクタ3を介して主装置4に出力する。
電源回路2は、AC(交流)アダプタ接続プラグ21と、バッテリ22とを備え、ACアダプタまたはバッテリ22からの直流電力を、コネクタ3を介して主装置4に供給する。
The long
The
表示装置5は、セグメント構成の表示パネルP(例えば、液晶表示パネル)を備え、時刻情報、電波送受信状況、等の情報を表示する。
The
ここで図4を参照し、表示装置5の表示パネルPの表示について説明する。
図4は、本実施形態に係る表示装置5の表示パネルPの表示の一例を示す図である。表示パネルPは、午前表示セグメントP1、午後表示セグメントP2、TLマークセグメントP3、時間表示セグメントP4、区切りセグメントP5、分表示セグメントP6、秒表示セグメントP7、親機子機モードマークセグメントP8、情報源マークセグメントP9、BLEマークセグメントP10、アンテナマークセグメントP11、受信レベルセグメントP12、バッテリマークセグメントP13、月表示セグメントP14、日表示セグメントP15、曜日表示セグメントP16を備える。
Here, with reference to FIG. 4, the display of the display panel P of the
FIG. 4 is a diagram showing an example of the display of the display panel P of the
午前表示セグメントP1、及び午後表示セグメントP2は、時刻が12時間表示の場合に、午前と午後の別を表示する。
TLマークセグメントP3は、上位レイヤの計時装置Cから基準時刻信号を受信できていることなどを表示するための表示セグメントである。また、このTLマークセグメントP3の表示態様の切り替えにより、受信中であること、送信中であることなどを表示する。
時間表示セグメントP4と、区切りセグメントP5と、分表示セグメントP6と、秒表示セグメントP7とは、現在時刻を「時:分秒」の形式において表示する。
The morning display segment P1 and the afternoon display segment P2 display the distinction between morning and afternoon when the time is displayed for 12 hours.
The TL mark segment P3 is a display segment for displaying that a reference time signal can be received from the timekeeping device C in the upper layer. Further, by switching the display mode of the TL mark segment P3, it is displayed that reception is in progress, transmission is in progress, and the like.
The time display segment P4, the delimiter segment P5, the minute display segment P6, and the second display segment P7 display the current time in the format of "hour: minute second".
親機子機モードマークセグメントP8は、計時装置Cが親機モードに設定されているか子機モードに設定されているかを表示する。計時装置Cが親機モードに設定されている場合、親機子機モードマークセグメントP8の「P」の文字が点灯する。一方、計時装置Cが子機モードに設定されている場合、親機子機モードマークセグメントP8の「C」の文字が点灯する。 The master unit slave unit mode mark segment P8 displays whether the timekeeping device C is set to the master unit mode or the slave unit mode. When the timekeeping device C is set to the master unit mode, the letter "P" in the master unit slave unit mode mark segment P8 lights up. On the other hand, when the timekeeping device C is set to the slave unit mode, the letter "C" in the master unit slave unit mode mark segment P8 lights up.
情報源マークセグメントP9は、標準電波信号を所定時間以内に受信しているか否か、受信しているとすれば、情報源が西局、東局、及びUTCのいずれであるかを表示する。例えば、計時装置Cが24時間以内に、JJY60kHzを受信して時刻修正に使用している場合には、Wマークセグメントが点灯する。計時装置Cが24時間以内に、JJY40kHzを受信して時刻修正に使用している場合には、Eマークセグメントが点灯する。計時装置Cが24時間以内に、UTCを受信して時刻修正に使用している場合には、Uマークセグメントが点灯する。 The information source mark segment P9 indicates whether or not the standard radio wave signal is received within a predetermined time, and if so, whether the information source is the west station, the east station, or UTC. For example, when the timekeeping device C receives JJY 60 kHz and uses it for time adjustment within 24 hours, the W mark segment lights up. If the timekeeping device C receives JJY 40 kHz and uses it for time adjustment within 24 hours, the E mark segment lights up. If the timekeeping device C receives the UTC and uses it for time adjustment within 24 hours, the U mark segment lights up.
BLEマークセグメントP10は、スマートフォンからBLEなどの近距離無線通信により時刻情報を受信しているか否かを表示する。
アンテナマークセグメントP11と受信レベルセグメントP12とは、受信電波の強度
を表示するためのセグメントである。
バッテリマークセグメントP13は、バッテリ22の電圧状態を表示するためのセグメントである。
月表示セグメントP14と、日表示セグメントP15と、曜日表示セグメントP16と
は、月日と曜日とを表示するためのセグメントである。
The BLE mark segment P10 displays whether or not time information is received from the smartphone by short-range wireless communication such as BLE.
The antenna mark segment P11 and the reception level segment P12 are segments for displaying the strength of the received radio wave.
The battery mark segment P13 is a segment for displaying the voltage state of the
The month display segment P14, the day display segment P15, and the day of the week display segment P16 are segments for displaying the month, day, and day of the week.
図3に戻って、計時装置Cの構成の説明を続ける。
主装置4は、電圧デテクタ6と、レギュレータ7と、スイッチ群8と、RF(Radio Frequency;高周波)回路9と、水晶振動子10と、制御部11とを備える。
Returning to FIG. 3, the description of the configuration of the timekeeping device C will be continued.
The
電圧デテクタ6は、電源回路2の出力電圧を検出し、検出値を制御部11に供給する。
レギュレータ7は、電源回路2から供給される電圧を安定化して、主装置4内に供給する。
The
The regulator 7 stabilizes the voltage supplied from the
スイッチ群8は、RESETスイッチ、RECVスイッチ、及びMODEスイッチ、などの複数のスイッチを備える。スイッチ群8は、ユーザの操作によるスイッチのオン/オフ、オン時間の長さなどに応じて、様々な情報や指示を制御部11に供給する。
The
RESETスイッチが操作されると、制御部11は初期状態となる。
RECVスイッチが操作されると、所定時間、受信信号を受信する手動受信処理が実行される。
MODEスイッチが操作されると、長波を受信する長波受信親機モードと、スマートフォンからBLEによる受信により時刻情報を取得するBLE親機モードと、子機モードとの3つのモードが切り替わる。なお、親機モードと子機モードとの2つのモードを切り替えて、親機モードにおいて長波受信とBLE受信とのいずれを用いて時刻情報を取得するかは、自動で選択されてもよい。
When the RESET switch is operated, the
When the RECV switch is operated, a manual reception process for receiving a received signal is executed for a predetermined time.
When the MODE switch is operated, the mode is switched between a long wave receiving master unit mode for receiving a long wave, a BLE master unit mode for acquiring time information by receiving from a smartphone by BLE, and a slave unit mode. It should be noted that it may be automatically selected whether to acquire the time information by switching between the two modes of the master unit mode and the slave unit mode and using the long wave reception or the BLE reception in the master unit mode.
RF回路9は、制御部11の制御下に、上位レイヤの計時装置Cが送信する基準時刻信号を受信信号として受信する。RF回路9は、受信した基準時刻信号を復調して制御部11に出力する。また、RF回路9は、受信チャネルとは異なる送信チャネルを使用して基準時刻情報Bを下位レイヤの計時装置Cに送信する。
水晶振動子10は、所定の発振周波数で発振し、発振信号を制御部11に供給する。
The
The
制御部11は、計時装置Cの動作全体を制御する。制御部11は、水晶振動子10の発振信号に基づく計時動作、長波受信回路1またはRF回路9の基準受信信号(標準電波信号または基準時刻信号)の強度の判定、基準受信信号を受信する基準送信装置の決定、受信した基準受信信号を計時データの修正に用いるか否かの判定、基準送信装置から受信した基準受信信号に基づく時刻データの修正動作、修正した時刻データに基づく基準時刻情報のRF回路9を介した送信、表示装置5への種々の情報の表示制御、スイッチ群8の操作入力に応答する処理などを行う。
The
ここで図5を参照し、制御部11の構成について説明する。
図5は、本実施形態に係る制御部11の構成の一例を示す図である。制御部11は、プロセッサ20と、計時データ取得部30と、エンコーダ40と、デコーダ50と、信号強度取得部60と、キー入力部70と、電圧データ入力部80と、レジスタ群90とを備える。
Here, the configuration of the
FIG. 5 is a diagram showing an example of the configuration of the
プロセッサ20は、信号強度判定部201と、基準送信装置決定部202と、信号判定部203と、修正部204と、計時部205と、親機子機モード制御部206と、通信制御部207と、表示制御部208とを備える。プロセッサ20は、信号強度判定部201と、基準送信装置決定部202と、信号判定部203と、修正部204と、計時部205と、親機子機モード制御部206と、通信制御部207と、表示制御部208とにそれぞれ処理を行わせる。
プロセッサ20は、CPU、RAM、及びROMなどにより実現される。
The
The
信号強度判定部201は、RF回路9が受信した受信信号の強度を判定する。
基準送信装置決定部202は、RF回路9が受信した受信信号の強度が所定の閾値以上であると信号強度判定部201が判定した計時装置Cを基準送信装置であると決定する。
信号判定部203は、RF回路9が受信した受信信号を計時データの修正に用いるか否かを判定する。
The signal
The reference transmission
The
修正部204は、信号判定部203の判定結果が示す受信信号に含まれる基準時刻情報Bに基づいて、計時データを修正する。
計時部205は、修正部204が修正した計時データに基づき計時を行う。
The
The
通信制御部207は、RF回路9による受信信号の受信、及びRF回路9による基準時刻信号の送信を制御する。ここで通信制御部207は、RF回路9を介して、上位レイヤの計時装置Cが送信する基準時刻信号を受信信号として受信する。
表示制御部208は、表示装置5への種々の情報の表示制御を行う。
The
The
計時データ取得部30は、水晶振動子10からの発振信号をカウントして、一定時間毎に計時データを取得し、プロセッサ20に計時割込信号を出力する。ここで一定時間とは、例えば、100msである。
The timekeeping
エンコーダ40は、プロセッサ20から供給された送信対象のデータ、例えば、基準時刻情報Bをエンコードしてベースバンド信号を生成し、RF回路9に供給する。
デコーダ50は、長波受信回路1及びRF回路9が受信した受信信号をデコードして、例えば、標準時刻情報や基準時刻情報Bのベースバンド信号を復調し、プロセッサ20に供給する。
The
The
信号強度取得部60は、RF回路9が受信した受信信号の強度を取得する。ここで受信信号の強度とは、受信信号強度(Received Signal Strength Indicator:RSSI)である。
The signal
キー入力部70は、スイッチ群8の操作に従って入力されるオン・オフ信号をデコードして、プロセッサ20に供給する。
電圧データ入力部80は、電圧デテクタ6が検出した電圧値をプロセッサ20に出力する。
The
The voltage
レジスタ群90は、親機子機モードレジスタ901と、計時データレジスタ902と、受信チャネルレジスタ903と、送信チャネルレジスタ904と、レイヤレジスタ905と、連続受信失敗回数レジスタ906とを備える。
The register group 90 includes a master unit slave
親機子機モードレジスタ901は、親機子機モード設定情報を記憶する。親機子機モード設定情報は、計時装置Cが長波受信親機モードと、BLE親機モードと、子機モードとのいずれに設定されているかを示す。
計時データレジスタ902は、計時装置Cが計時している現在時刻を示す情報を計時データとして記憶する。ここで現在時刻を示す情報とは、月・日・時・分・秒・曜日を示す情報である。
The master unit slave
The timekeeping data register 902 stores information indicating the current time measured by the timekeeping device C as timekeeping data. Here, the information indicating the current time is information indicating the month, day, hour, minute, second, and day of the week.
受信チャネルレジスタ903は、上位レイヤの計時装置Cから基準時刻情報を受信する通信チャネルを指定する受信チャネル指定データ(例えば、前述の0~59のいずれかの値)及び受信したデータ等を記憶する。なお、上位レイヤの計時装置Cが存在しないレイヤの値が0の計時装置C1の場合には、標準時刻などの時刻の種類や、時刻情報を取得した、情報源を示す情報を記憶する。ここで時刻情報を取得した、情報源を示す情報とは、標準電波の種類(UTC、JJY東送信局、JJY西送信局等)やスマートフォンを示す情報である。
The
送信チャネルレジスタ904は、下位レイヤの計時装置Cに基準時刻情報Bを送信する送信チャネルを指定する送信チャネル指定データ(例えば、前述の0~59のいずれかの値)を記憶する。送信チャネルレジスタ904に記憶されているチャネル指定データは、基準時刻情報B内の送信チャネル情報B2として送信される。
The
レイヤレジスタ905は、計時装置Cが、複数のレイヤのどのレイヤに位置するかを示すレイヤデータ(例えば、前述の0~99のいずれかの値)を記憶する。 The layer register 905 stores layer data (for example, a value of 0 to 99 described above) indicating which layer of the plurality of layers the time measuring device C is located in.
連続受信失敗回数レジスタ906は、上位レイヤの計時装置Cからの基準時刻情報Bを連続して受信できなかった回数である連続受信失敗回数を記憶する。なお、上位レイヤの計時装置Cが存在しないレイヤの値が0の計時装置C1の場合には、標準電波信号を連続して受信できなかった回数を記憶する。
The continuous reception
(配置)
ユーザは、計時システムSを構成する複数の計時装置Cを、RF回路9による通信が可能な距離範囲において配置し、電源を投入する。
(Arrangement)
The user arranges a plurality of timekeeping devices C constituting the timekeeping system S within a distance range in which communication by the
(初期動作)
計時装置Cは、電源が投入されると他の初期化動作と共に時刻情報を受信するための前処理を開始する。この前処理は、スイッチ群8のRESETスイッチが操作され制御部11が初期状態となった場合にも開始される。
(Initial operation)
When the power is turned on, the timekeeping device C starts preprocessing for receiving time information together with other initialization operations. This preprocessing is also started when the RESET switch of the
図6は、本実施形態に係る時刻情報受信のための前処理の一例を示す図である。
ステップS100:親機子機モード制御部206は、計時装置Cが親機モードに設定されているか否かを判定する。ここで親機モードは、長波受信親機モードと、BLE親機モードとのいずれかである。
FIG. 6 is a diagram showing an example of preprocessing for receiving time information according to the present embodiment.
Step S100: The master unit slave unit
親機子機モード制御部206は、親機子機モードレジスタ901から、親機子機モード設定情報を取得する。親機子機モード制御部206が、取得した親機子機モード設定情報が、長波受信親機モードと、BLE親機モードとのいずれかを示すと判定する場合(ステップS100;YES)、プロセッサ20はステップS101の処理を実行する。
The master unit slave unit
一方、親機子機モード制御部206が、取得した親機子機モード設定情報が、長波受信親機モードと、BLE親機モードとのいずれも示さないと判定する場合(ステップS100;NO)、プロセッサ20はステップS104の子機モード近距離受信処理を実行する。子機モード近距離受信処理については、図9を参照し後述する。
On the other hand, when the master unit slave unit
ステップS100において、親機子機モード制御部206は、表示制御部208に親機子機モード設定情報を供給する。表示制御部208は、親機子機モード制御部206が供給する親機子機モード設定情報に応じて、表示装置5に親機子機モードマークセグメントP8を用いて、計時装置Cが親機モードに設定されているか、子機モードに設定されているかを表示させる。
In step S100, the master unit slave unit
ステップS101:親機子機モード制御部206は、計時装置Cが長波受信親機モードに設定されているか否かを判定する。親機子機モード制御部206が、親機子機モード設定情報が、長波受信親機モードを示すと判定する場合(ステップS101;YES)、プロセッサ20はステップS102の長波受信処理を実行する。長波受信処理については、図7を参照し後述する。
一方、親機子機モード制御部206が、親機子機モード設定情報が、長波受信親機モードを示さないと判定する場合(ステップS101;NO)、プロセッサ20はステップS103の親機モード近距離通信処理を実行する。親機モード近距離通信処理については、図7を参照し後述する。
Step S101: The master unit slave unit
On the other hand, when the master unit slave unit
図7は、本実施形態に係る親機モードにおける長波受信処理の一例を示す図である。図7に示す処理は、図6に示したステップS102の長波受信処理である。
ステップS200:通信制御部207は、長波受信回路1を制御して、JJYの九州送信所から60kHzにおいて放送されている標準電波を受信させる。ここで所定時間とは、例えば30秒間である。通信制御部207は、長波受信回路1が受信した受信信号を、デコーダ50にデコードさせ、標準時刻情報を取得する。
FIG. 7 is a diagram showing an example of long wave reception processing in the master unit mode according to the present embodiment. The process shown in FIG. 7 is the long wave reception process of step S102 shown in FIG.
Step S200: The
ステップS201:通信制御部207は、長波受信回路1を制御して、JJYの福島送信所から40kHzにおいて放送されている標準電波を受信させる。ここで所定時間とは、例えば30秒間である。通信制御部207は、長波受信回路1が受信した受信信号を、デコーダ50にデコードさせ、標準時刻情報を取得する。
Step S201: The
ステップS202:通信制御部207は、長波受信回路1が60kHzと40kHの両方の標準電波を受信でき、復号信号を得ることができたと判定する場合(ステップS202;YES)、ステップS208の処理を実行する。一方、通信制御部207は、長波受信回路1が60kHzと40kHの両方の標準電波を受信でなかったと判定する場合(ステップS202;NO)、ステップS203の処理を実行する。
Step S202: When the
ステップS203:通信制御部207は、長波受信回路1が60kHzの標準電波を受信できたと判定する場合には(ステップS203;YES)、ステップS209の処理を実行する。一方、通信制御部207は、長波受信回路1が60kHzの標準電波を受信できなかったと判定する場合には(ステップS203;NO)、ステップS204の処理を実行する。
Step S203: When the long
ステップS204:また、通信制御部207は、長波受信回路1が40kHzの標準電波を受信できたと判定する場合には(ステップS204;YES)、ステップS210の処理を実行する。一方、通信制御部207は、長波受信回路1が40kHzの標準電波を受信できなかったと判定する場合には(ステップS204;NO)、ステップS205の処理を実行する。
Step S204: Further, when the
ステップS205:通信制御部207は、長波受信回路1が標準電波を受信できなかった場合、長波受信回路1にGPS衛星等からのUTCを受信させる。
ステップS206:通信制御部207は、長波受信回路1がUTCを受信できたか否かを判定する。通信制御部207が、長波受信回路1がUTCを受信できたと判定する場合(ステップS206;YES)、プロセッサ20はステップS211の処理を実行する。
一方、通信制御部207が、長波受信回路1がUTCを受信できなかったと判定する場合(ステップS206;NO)、プロセッサ20はステップS207の処理を実行する。
Step S205: When the long
Step S206: The
On the other hand, when the
ステップS207:通信制御部207は、長波受信失敗処理を実行する。通信制御部207は、表示制御部208に長波受信に失敗したことを示す信号を供給する。
表示制御部208は、通信制御部207が供給する信号に基づいて、表示装置5にアンテナマークセグメントP11と受信レベルセグメントP12とを用いて、長波受信に失敗したことを表示させる。ここで表示装置5は、例えば、アンテナマークセグメントP11を点滅させ、受信レベルセグメントP12を消灯させる。
Step S207: The
The
ステップS208:通信制御部207は、より安定して受信が可能な一方の送信所を選択する。その後、通信制御部207は、ステップS211の処理を実行する。
Step S208: The
ステップS209:通信制御部207は、西送信所(九州)を選択する。その後、通信制御部207は、ステップS211の処理を実行する。
Step S209: The
ステップS210:通信制御部207は、東送信所(福島)を選択する。その後、通信制御部207は、ステップS211の処理を実行する。
Step S210: The
ステップS211:プロセッサ20は、長波受信初期設定処理を実行する。
計時部205は、計時データレジスタ902に受信した標準電波に基づく計時データをセットする。
通信制御部207は、受信チャネルレジスタ903に時刻種類に標準電波であることと東西送信所の別を示す情報を設定する。また、通信制御部207は、レイヤレジスタ905にレイヤの値として0を設定する。通信制御部207は、連続受信失敗回数レジスタ906に記憶される連続受信失敗回数をリセットする。
Step S211: The
The
The
また、表示制御部208は、表示装置5に、計時データレジスタ902に記憶されている計時データ、受信状態、バッテリ状態を示す情報を表示させる。ここ表示装置5の表示パネルPの表示内容には、例えば、午前表示セグメントP1、及び午後表示セグメントP2による午前・午後の表示、時間表示セグメントP4、区切りセグメントP5、分表示セグメントP6、秒表示セグメントP7、月表示セグメントP14、日表示セグメントP15、及び曜日表示セグメントP16による年月日時分秒曜日の表示、情報源マークセグメントP9による標準電波の情報源の表示、受信レベルセグメントP12による標準電波の受信状況の表示、及び電圧データ入力部80を介して取り込んだ電圧デテクタ6の検出値に基づいた電源状態の表示、などを含む。
Further, the
図8は、本実施形態に係る親機モードにおける近距離通信処理の一例を示す図である。図8に示す処理は、図6に示したステップS103の親機モード近距離通信処理である。 FIG. 8 is a diagram showing an example of short-range communication processing in the master unit mode according to the present embodiment. The process shown in FIG. 8 is the master unit mode short-range communication process of step S103 shown in FIG.
ステップS300:通信制御部207は、RF回路9を起動する。
ステップS301:通信制御部207は、RF回路9に、スマートフォンと接続するためのアドバタイズ信号を間欠的に所定時間送信させる。ここで所定時間とは、例えば、30秒間である。
Step S300: The
Step S301: The
ステップS302:通信制御部207は、RF回路9がスマートフォンと接続し近距離時刻信号を受信したか否かを判定する。通信制御部207が、RF回路9が近距離時刻信号を受信したと判定する場合(ステップS302;YES)、プロセッサ20はステップS304の処理を実行する。一方、通信制御部207が、RF回路9が近距離時刻信号を受信していないと判定する場合(ステップS302;NO)、プロセッサ20はステップS303の処理を実行する。
Step S302: The
ステップS303:通信制御部207は、近距離通信失敗処理を実行する。通信制御部207は、表示制御部208に近距離通信に失敗したことを示す信号を供給する。
表示制御部208は、通信制御部207が供給する信号に基づいて、表示装置5にBLEマークセグメントP10と、アンテナマークセグメントP11と受信レベルセグメントP12とを用いて、近距離通信に失敗したことを表示させる。ここで表示装置5は、例えば、BLEマークセグメントP10を点灯させ、アンテナマークセグメントP11を点滅させ、受信レベルセグメントP12を消灯させる。
Step S303: The
The
ステップS304:プロセッサ20は、近距離通信初期設定処理を実行する。
計時部205は、計時データレジスタ902に受信した近距離時刻信号に基づく計時データをセットする。
通信制御部207は、受信チャネルレジスタ903に時刻種類にスマートフォンなどから受信した時刻であることを示す情報を設定する。また、通信制御部207は、レイヤレジスタ905にレイヤの値として0を設定する。通信制御部207は、連続受信失敗回数レジスタ906に記憶される連続受信失敗回数をリセットする。
Step S304: The
The
The
また、表示制御部208は、表示装置5に、計時データレジスタ902に記憶されている計時データ、受信状態、バッテリ状態を示す情報を表示させる。ここ表示装置5の表示パネルPの表示内容には、例えば、午前表示セグメントP1、及び午後表示セグメントP2による午前・午後の表示、時間表示セグメントP4、区切りセグメントP5、分表示セグメントP6、秒表示セグメントP7、月表示セグメントP14、日表示セグメントP15、及び曜日表示セグメントP16による年月日時分秒曜日の表示、BLEマークセグメントP10によるスマートフォンから時刻情報を取得したことの表示、受信レベルセグメントP12による近距離通信電波の受信状況の表示、及び電圧データ入力部80を介して取り込んだ電圧デテクタ6の検出値に基づいた電源状態の表示、などを含む。
Further, the
なお、親機モードと子機モードとの2つのモードを切り替えて、親機モードにおいて長波受信とBLE受信とのいずれを用いて時刻情報を取得するかが自動で選択される場合、例えば、図6のステップS102の長波受信処理が失敗した場合に、ステップS103の親機モード近距離通信処理が実行されてよい。別の例では、図6のステップS103の親機モード近距離通信処理が失敗した場合に、ステップS102の長波受信処理が実行されてもよい。
When switching between the two modes of the master unit mode and the slave unit mode and automatically selecting whether to acquire the time information using the long wave reception or the BLE reception in the master unit mode, for example, the figure. When the long wave reception process of step S102 of
図9は、本実施形態に係る子機モードにおける近距離受信処理の一例を示す図である。図9に示す処理は、図6に示したステップS104の子機モード近距離受信処理である。 FIG. 9 is a diagram showing an example of short-distance reception processing in the slave unit mode according to the present embodiment. The process shown in FIG. 9 is the handset mode short-distance reception process of step S104 shown in FIG.
ステップS400:通信制御部207は、RF回路9を起動する。
ステップS401:通信制御部207は、RF回路9が近距離時刻信号を受信したか否かを判定する。通信制御部207が、RF回路9が近距離時刻信号を受信したと判定する場合(ステップS401;YES)、デコーダ50から基準時刻情報Bを取得する。その後、プロセッサ20はステップS402の処理を実行する。
一方、通信制御部207が、RF回路9が近距離時刻信号を受信していないと判定する場合(ステップS401;NO)、プロセッサ20はステップS405の処理を実行する。
Step S400: The
Step S401: The
On the other hand, when the
ステップS402:信号強度判定部201は、受信信号の強度が所定の閾値以上であるか否かを判定する。ここで信号強度判定部201は、RF回路9が動作を開始後に受信信号を初めて受信した場合に、RF回路9が受信した受信信号の強度を判定する。
Step S402: The signal
信号強度判定部201は、信号強度取得部60にRF回路9が受信した受信信号の強度を取得させる。信号強度判定部201は、信号強度取得部60が取得した受信信号の強度が所定の閾値以上であるか否かを判定する。ここで所定の閾値とは、例えば、-90dBmである。
受信信号の強度を判定するための所定の閾値は、例えば、基準送信装置と子機である計時装置Cとの距離と、基準時刻信号の受信成功率との関係を実験により調べ、予め決められる。
The signal
A predetermined threshold value for determining the strength of the received signal is determined in advance by, for example, investigating the relationship between the distance between the reference transmitting device and the time measuring device C which is a slave unit and the reception success rate of the reference time signal. ..
信号強度判定部201が、受信信号の強度が所定の閾値以上であると判定する場合(ステップS402;YES)、プロセッサ20は、ステップS403の処理を実行する。一方、信号強度判定部201が、受信信号の強度が所定の閾値以上でないと判定する場合(ステップS402;NO)、プロセッサ20は、ステップS407の処理を実行する。
When the signal
ステップS403:基準送信装置決定部202は、基準送信装置を決定する。ここで基準送信装置決定部202は、例えば、受信チャネルレジスタ903の受信チャネル指定データを設定することにより基準送信装置を決定する。
基準送信装置決定部202は、通信制御部207に基準時刻情報Bから送信チャネル情報を取得させる。基準送信装置決定部202は、通信制御部207に、取得した送信チャネル情報が示す送信チャネルを、受信チャネルレジスタ903の受信チャネル指定データに設定する。
Step S403: The reference transmission
The reference transmission
基準送信装置決定部202は、通信制御部207に基準時刻情報Bからレイヤ情報を取得させる。基準送信装置決定部202は、通信制御部207には、レイヤレジスタ905にレイヤの値として、取得したレイヤ情報が示すレイヤの値に1を加えた値を設定する。
通信制御部207は、連続受信失敗回数レジスタ906に記憶される連続受信失敗回数をリセットする。
The reference transmission
The
ステップS404:修正部204は、計時データを修正する。修正部204は、通信制御部207から基準時刻情報Bを取得する。修正部204は、取得した基準時刻情報Bに含まれる時刻情報に基づいて、計時データレジスタ902に記憶されている計時データを修正する。このように基準時刻情報Bは、計時データを修正するために用いられる。
Step S404: The
また、ステップS404において、表示制御部208は、表示装置5に、計時データレジスタ902に記憶されている修正された計時データ、受信状態、バッテリ状態を示す情報を表示させる。ここ表示装置5の表示パネルPの表示内容には、例えば、午前表示セグメントP1、及び午後表示セグメントP2による午前・午後の表示、時間表示セグメントP4、区切りセグメントP5、分表示セグメントP6、秒表示セグメントP7、月表示セグメントP14、日表示セグメントP15、及び曜日表示セグメントP16による年月日時分秒曜日の表示、受信レベルセグメントP12による近距離通信電波の受信状況の表示、及び電圧データ入力部80を介して取り込んだ電圧デテクタ6の検出値に基づいた電源状態の表示、などを含む。
Further, in step S404, the
ステップS405:通信制御部207は、RF回路9を起動させてから所定時間が経過したか否かを判定する。ここで所定時間とは、例えば、24時間である。ただし、所定時間は、計時システムSのレイヤの数により変更されてよい。
通信制御部207は、RF回路9を起動させてから所定時間が経過したと判定する場合(ステップS405;YES)、ステップS406の処理を実行する。一方、通信制御部207は、RF回路9を起動させてから所定時間が経過していないと判定する場合(ステップS405;NO)、ステップS401の処理を繰り返す。
Step S405: The
When it is determined that a predetermined time has elapsed since the
ステップS406:通信制御部207は、タイムアウト処理を実行する。通信制御部207は、表示制御部208に基準時刻信号の受信に失敗したことを示す信号を供給する。
表示制御部208は、通信制御部207が供給する信号に基づいて、アンテナマークセグメントP11と受信レベルセグメントP12とを用いて、基準時刻信号の受信に失敗したことを表示装置5に表示させる。ここで表示装置5は、例えば、アンテナマークセグメントP11を点滅させ、受信レベルセグメントP12を消灯させる。ユーザは、計時装置Cが基準時刻信号の受信に失敗したことに応じて、計時装置Cの位置を変えて設置し直してもよい。
Step S406: The
The
ステップS407:信号強度判定部201は、通信制御部207にデコーダ50から取得した基準時刻情報Bを破棄させる。
Step S407: The signal
ステップS408:通信制御部207は、表示制御部208に、受信信号の強度が所定の閾値未満であることを表示させる。通信制御部207は、表示制御部208に受信信号の強度が所定の閾値未満であることを示す信号を供給する。
Step S408: The
表示制御部208は、通信制御部207が供給する信号に基づいて、アンテナマークセグメントP11と受信レベルセグメントP12とを用いて、受信信号の強度が所定の閾値未満であることを表示装置5に表示させる。ここで表示装置5は、例えば、アンテナマークセグメントP11を点灯させ、受信レベルセグメントP12のアンテナマークを1本だけ点灯させる。ここで表示装置5は、受信レベルセグメントP12のアンテナマークを1本だけ点滅させてもよい。
このように、表示装置5は、信号強度判定部201が受信信号の強度が所定値未満であると判定する場合、受信信号の強度が所定値未満であることを表示する。
The
As described above, when the signal
(通常時の動作)
通常の動作時において、制御部11の計時データ取得部30は、水晶振動子10の発振信号を用いて一定時間(例えば、50ms)を計時する毎に、計時時刻を更新するための計時割込信号をプロセッサ20に供給する。この計時信号に応答して、プロセッサ20は、図10に示す処理を開始する。
図10は、本実施形態に係る通常時の計時処理の一例を示す図である。
(Normal operation)
During normal operation, the timekeeping
FIG. 10 is a diagram showing an example of a normal timekeeping process according to the present embodiment.
ステップS500:計時部205は、計時データレジスタ902に記憶されている計時データを更新する。
ステップS501:計時部205は、表示制御部208に表示装置5の表示情報の更新などの処理を実行させる。
Step S500: The
Step S5011: The
また、計時部205は、所定時間(例えば、500ms)の経過を計時する毎に、プロセッサ20に、基準時刻信号を受信するための計時割込信号を送る。
この計時割込信号に応答して、プロセッサ20は、図11に示す処理を開始する。
Further, the
In response to this timed interrupt signal, the
図11は、本実施形態に係る子機の通常時の時刻修正のための処理の一例を示す図である。
ステップS600:通信制御部207は、リルート条件が満たされたか否かを判定する。ここでリルート条件とは、例えば、基準時刻信号を基準送信装置から所定の時間以上受信できないことである。ここで所定の時間とは、例えば、24時間である。基準送信装置から所定の時間以上受信できない場合とは、例えば、基準送信装置に故障や電池切れなどの障害が発生した場合である。
なお、リルート条件は、基準時刻信号を基準送信装置から受信することを、所定の回数以上失敗することであってもよい。ここで所定の回数とは、例えば、8回である。
FIG. 11 is a diagram showing an example of a process for adjusting the time in a normal time of the slave unit according to the present embodiment.
Step S600: The
The reroute condition may be that the reception of the reference time signal from the reference transmission device fails a predetermined number of times or more. Here, the predetermined number of times is, for example, eight times.
ステップS601:通信制御部207は、現在時刻が基準時刻信号の受信タイミングであるか否かを判定する。
ここで、通信制御部207は、レイヤレジスタ905に記憶される自装置のレイヤの値と、受信チャネルレジスタ903に記憶される受信チャネルとに基づいて、上述した式(1)から受信タイミングを算出する。受信タイミングとは、基準送信装置の送信タイミングである。
Step S601: The
Here, the
通信制御部207は、計時データレジスタ902に記憶される計時データを取得する。通信制御部207は、算出した受信タイミングと、取得した計時データが示す現在時刻とを比較し、現在時刻が受信タイミングの所定の時間だけ前であるか否かを判定する。ここで所定の時間とは、例えば、2秒である。
The
通信制御部207は、現在時刻が基準時刻信号の受信タイミングであると判定する場合(ステップS601;YES)、ステップS602の処理を実行する。一方、通信制御部207は、現在時刻が基準時刻信号の受信タイミングでないと判定する場合(ステップS601;NO)、ステップS605の処理を実行する。
When the
ステップS602:通信制御部207は、RF回路9に基準時刻信号を受信させる。ここで通信制御部207は、例えば最大4秒間、RF回路9に基準時刻信号を受信させる。
通信制御部207は、デコーダ50から基準時刻情報Bを取得する。
Step S602: The
The
ステップS603:信号判定部203は、RF回路9が受信した基準時刻信号である受信信号を、計時データの修正に用いるか否か判定する。信号判定部203は、例えば、RF回路9が受信した基準時刻信号が、基準送信装置決定部202が決定した基準送信装置から受信した受信信号であるかに基づいて判定する。
Step S603: The
信号判定部203は、通信制御部207から基準時刻情報Bを取得する。信号判定部203は、取得した基準時刻情報Bに含まれる送信チャネル情報が示す送信チャネルと、受信チャネルレジスタ903に記憶される受信チャネル指定データが示す受信チャネルとを比較する。
The
信号判定部203は、基準時刻情報Bに含まれる送信チャネル情報が示す送信チャネルと、受信チャネル指定データが示す受信チャネルとが一致する場合、RF回路9が受信した基準時刻信号が、基準送信装置決定部202が決定した基準送信装置から受信した受信信号であると判定する。この場合、信号判定部203は、受信信号を、計時データの修正に用いると判定する。
When the transmission channel indicated by the transmission channel information included in the reference time information B and the reception channel indicated by the reception channel designation data match, the
一方、信号判定部203は、基準時刻情報Bに含まれる送信チャネル情報が示す送信チャネルと、受信チャネル指定データが示す受信チャネルとが一致しない場合、RF回路9が受信した基準時刻信号が、基準送信装置決定部202が決定した基準送信装置から受信した受信信号でないと判定する。この場合、信号判定部203は、受信信号を、計時データの修正に用いないと判定する。
On the other hand, when the transmission channel indicated by the transmission channel information included in the reference time information B and the reception channel indicated by the reception channel designation data do not match, the
信号判定部203は、RF回路9が受信した基準時刻信号である受信信号を、計時データの修正に用いると判定する場合(ステップS603;YES)、修正部204に基準時刻情報Bを供給する。その後、プロセッサ20はステップS604の処理を実行する。
一方、信号判定部203が、RF回路9が受信した基準時刻信号である受信信号を、計時データの修正に用いないと判定する場合(ステップS603;NO)、プロセッサ20はステップS609の処理を実行する。
When the
On the other hand, when the
このように、信号判定部203は、基準送信装置決定部202が基準送信装置を決定した後には、基準送信装置決定部202が決定した基準送信装置からの受信信号を計時データの修正に用いると判定する。一方、信号判定部203は、基準送信装置決定部202が基準送信装置を決定した後には、基準送信装置決定部202が決定した基準送信装置以外の送信装置である計時装置Cからの受信信号を計時データの修正に用いないと判定する。
In this way, after the reference transmission
ステップS604:修正部204は、信号判定部203が供給する基準時刻情報Bに基づいて、計時データレジスタ902に記憶される計時データを更新する。
Step S604: The
ステップS605:通信制御部207は、現在時刻が基準時刻信号の送信タイミングであるか否かを判定する。
ここで、通信制御部207は、レイヤレジスタ905に記憶される自装置のレイヤの値と、送信チャネルレジスタ904に記憶される送信チャネルとに基づいて、上述した式(1)から送信タイミングを算出する。通信制御部207は、計時データレジスタ902に記憶される計時データを取得する。通信制御部207は、算出した送信タイミングと、取得した計時データが示す現在時刻とを比較し、現在時刻が基準時刻信号の送信タイミングかである否かを判定する。
Step S605: The
Here, the
通信制御部207は、現在時刻が基準時刻信号の送信タイミングであると判定する場合(ステップS605;YES)、ステップS606の処理を実行する。一方、通信制御部207が、現在時刻が基準時刻信号の送信タイミングでないと判定する場合(ステップS605;NO)、プロセッサ20は処理を終了する。
When the
ステップS606:計時部205は、基準時刻情報Bを生成する。計時部205は、レイヤレジスタ905に記憶されるレイヤ情報が示すレイヤの値、送信チャネルレジスタ904に記憶される送信チャネル指定データが示す送信チャネル、計時データレジスタ902に記憶される計時データが示す時刻情報、及び受信チャネルレジスタ903に記憶される時刻情報の情報源を示す情報などに基づいて、基準時刻情報Bを生成する。
計時部205は、生成した基準時刻情報Bを通信制御部207に供給する。
Step S606: The
The
ステップS607:通信制御部207は、RF回路9に基準時刻信号を送信させる。ここで通信制御部207は、計時部205が供給する基準時刻情報Bを、エンコーダ40にエンコードさせて、RF回路9に供給する。
Step S607: The
ステップS608:プロセッサ20は、リルート処理を実行する。リルート処理とは、基準送信装置との接続が途絶えた場合に、新たに受信信号を受信し、この受信信号を送信した送信装置を基準送信装置であると新たに決定する処理である。リルート処理の具体例については、図12を参照し説明する。
プロセッサ20は、リルート処理を実行すると、ステップS601の処理を実行する。
Step S608: The
When the
ステップS609:信号判定部203は、通信制御部207に、デコーダ50から取得した基準時刻情報Bを破棄させる。
Step S609: The
図12は、本実施形態に係るリルート処理の一例を示す図である。図12に示すリルート処理は、図11のステップS600においてリルート条件が満たされたと判定される場合に実行される。
なお、ステップS701、ステップS702、ステップS703、ステップS704、ステップS705、ステップS706、ステップS707、及びステップS708の各処理は、図9におけるステップS401、ステップS402、ステップS403、ステップS404、ステップS405、ステップS406、ステップS407、及びステップS408の各処理と同様であるため、異なる部分を除き説明を省略する。
FIG. 12 is a diagram showing an example of the reroute process according to the present embodiment. The reroute process shown in FIG. 12 is executed when it is determined in step S600 of FIG. 11 that the reroute condition is satisfied.
The processes of step S701, step S702, step S703, step S704, step S705, step S706, step S707, and step S708 are the processes of step S401, step S402, step S403, step S404, step S405, and step in FIG. Since it is the same as each process of S406, step S407, and step S408, the description thereof will be omitted except for different parts.
ステップS700:通信制御部207は、リセット処理を実行する。ここでリセット処理とは、受信チャネルレジスタ903に記憶されている受信チャネル指定データと、レイヤレジスタ905に記憶されているレイヤデータとを削除することである。なお、通信制御部207は、計時データの分の値が、例えば10分である場合にリセット処理を実行する。
その後、プロセッサ20は、ステップS701~ステップS708の各処理により、他の基準送信装置から受信信号を受信し、計時データを修正する。
Step S700: The
After that, the
ただし、ステップS705において、ステップS706のタイムアウト処理が実行されるまでの所定の時間は、図9におけるステップS405における所定の時間とは異なる。ステップS705において、ステップS706のタイムアウト処理が実行されるまでの所定の時間とは、例えば、10分間である。つまり、図12のリルート処理は、計時データの分の値が10分であるときから、20分である間において実行される。 However, in step S705, the predetermined time until the time-out process of step S706 is executed is different from the predetermined time in step S405 in FIG. In step S705, the predetermined time until the time-out process of step S706 is executed is, for example, 10 minutes. That is, the reroute process of FIG. 12 is executed from the time when the value of the minute of the timekeeping data is 10 minutes to 20 minutes.
図12のリルート処理は、図11のステップS600においてリルート条件が満たされた場合に実行される。したがって、ステップS703によれば、基準送信装置決定部202は、基準送信装置との接続が途絶えた場合、受信信号の強度が所定の閾値以上であると信号強度判定部201が判定した送信装置を、基準送信装置であると新たに決定する。
The reroute process of FIG. 12 is executed when the reroute condition is satisfied in step S600 of FIG. Therefore, according to step S703, the reference transmission
なお、スイッチ群8に設けられたRECVスイッチが操作される場合、プロセッサ20は、手動受信処理を実行する。手動受信処理は、図12に示すリルート処理と同様である。したがって、手動受信処理においては、図12のステップS702と同様に、信号強度判定部201は、RF回路9が受信信号を手動受信により受信した場合に、RF回路9が受信した受信信号の強度を判定する。
When the RECV switch provided in the
(表示制御動作)
プロセッサ20は、例えば、500ms毎の周期的な割込処理により、図13に示す
表示制御処理を実行する。
図13は、本実施形態に係る表示制御処理の一例を示す図である。
(Display control operation)
The
FIG. 13 is a diagram showing an example of display control processing according to the present embodiment.
ステップS800:計時部205は、表示制御部208を介して表示装置5に現在時刻を表示させる。ここで計時部205は、計時データレジスタ902に記憶される計時データを表示制御部208に供給する。
Step S800: The
ステップS801:通信制御部207は、過去24時間以内に基準時刻情報を受信したか否かを判定する。ここで通信制御部207は、連続受信失敗回数レジスタ906に記憶される、上位レイヤの計時装置Cからの基準時刻情報Bを連続して受信できなかった回数に基づいて判定する。
通信制御部207は、過去24時間以内に基準時刻情報を受信したと判定する場合(ステップS801;YES)、ステップS802の処理を実行する。一方、通信制御部207が、過去24時間以内に基準時刻情報を受信していないと判定する場合(ステップS801;NO)、プロセッサ20は表示制御処理を終了する。
Step S8011: The
When it is determined that the reference time information has been received within the past 24 hours (step S801; YES), the
ステップS802:通信制御部207は、表示制御部208を介して表示装置5にTLマークセグメントP3を点灯させる。
Step S802: The
以上に説明したように、本実施形態に係る計時装置Cは、受信部(通信制御部207)と、信号強度判定部201と、基準送信装置決定部202と、信号判定部203と、修正部204と、計時部205とを備える。
受信部(通信制御部207)は、計時データを修正するための基準時刻情報Bを含み送信装置(上位レイヤの計時装置C)が送信する基準時刻信号を受信信号として受信する。
信号強度判定部201は、受信部(通信制御部207)が受信した受信信号の強度を判定する。
基準送信装置決定部202は、受信信号の強度が所定の閾値以上であると信号強度判定部201が判定した送信装置(上位レイヤの計時装置C)を基準送信装置であると決定する。
信号判定部203は、基準送信装置決定部202が基準送信装置を決定した後には、基準送信装置決定部202が決定した基準送信装置からの受信信号を計時データの修正に用いると判定するとともに、基準送信装置決定部202が決定した基準送信装置以外の送信装置(上位レイヤの計時装置C)からの受信信号を計時データの修正に用いないと判定する。
修正部204は、信号判定部203の判定結果が示す受信信号に含まれる基準時刻情報Bに基づいて、計時データを修正する。
計時部205は、修正部204が修正した計時データに基づき計時を行う。
As described above, the timekeeping device C according to the present embodiment includes a receiving unit (communication control unit 207), a signal
The reception unit (communication control unit 207) receives the reference time signal transmitted by the transmission device (timekeeping device C in the upper layer) including the reference time information B for correcting the timekeeping data as a reception signal.
The signal
The reference transmission
After the reference transmission
The
The
この構成により、本実施形態に係る計時装置Cでは、受信信号の強度が所定の閾値以上である基準送信装置を決定した後には、この基準送信装置から計時データの修正に用いる受信信号を受信することができるため、時刻情報を安定して受信できる。 With this configuration, in the time measuring device C according to the present embodiment, after determining the reference transmitting device whose strength of the received signal is equal to or higher than a predetermined threshold value, the time measuring device C receives the received signal used for correcting the timed data from the reference transmitting device. Therefore, time information can be stably received.
また、信号強度判定部201は、受信部(通信制御部207)が動作を開始後に受信信号を初めて受信した場合に、受信部(通信制御部207)が受信した受信信号の強度を判定する。
この構成により、本実施形態に係る計時装置Cでは、受信信号を初めて受信した場合に受信信号の強度を判定できるため、受信信号を受信する度に受信信号の強度を判定する場合に比べて処理の負荷を軽くすることができる。
Further, the signal
With this configuration, in the timekeeping device C according to the present embodiment, since the strength of the received signal can be determined when the received signal is received for the first time, processing is performed as compared with the case where the strength of the received signal is determined each time the received signal is received. The load can be lightened.
また、基準送信装置決定部202は、基準送信装置との接続が途絶えた場合、受信信号の強度が所定の閾値以上であると信号強度判定部201が判定した送信装置(上位レイヤの計時装置C)を、基準送信装置であると新たに決定する。
この構成により、本実施形態に係る計時装置Cでは、基準送信装置との接続が途絶えた場合であっても、受信信号の強度が所定の閾値以上である送信装置(上位レイヤの計時装置C)から計時データの修正に用いる受信信号を受信することができるため、基準送信装置との接続が途絶えた場合であっても、時刻情報を安定して受信できる。
Further, the reference transmission
With this configuration, in the timekeeping device C according to the present embodiment, even when the connection with the reference transmission device is interrupted, the transmission device (timekeeping device C in the upper layer) in which the strength of the received signal is equal to or higher than a predetermined threshold value. Since the received signal used for correcting the timekeeping data can be received from, the time information can be stably received even when the connection with the reference transmitting device is lost.
また、信号強度判定部201は、受信部(通信制御部207)が受信信号を手動受信により受信した場合に、受信部(通信制御部207)が受信した受信信号の強度を判定する。
この構成により、本実施形態に係る計時装置Cでは、手動受信により新たな送信装置(上位レイヤの計時装置C)から受信信号を受信する場合であっても、受信信号の強度が所定の閾値以上である送信装置(上位レイヤの計時装置C)から計時データの修正に用いる受信信号を受信することができるため、手動受信により新たな送信装置(上位レイヤの計時装置C)から受信信号を受信する場合であっても、時刻情報を安定して受信できる。
Further, the signal
With this configuration, in the timekeeping device C according to the present embodiment, even when a received signal is received from a new transmission device (timekeeping device C in the upper layer) by manual reception, the strength of the received signal is equal to or higher than a predetermined threshold value. Since the received signal used for correcting the timekeeping data can be received from the transmission device (timekeeping device C of the upper layer), the received signal is received from the new transmission device (timekeeping device C of the upper layer) by manual reception. Even in such a case, the time information can be stably received.
また、本実施形態に係る計時装置Cは、表示装置5をさらに備える。
表示装置5は、信号強度判定部201が受信信号の強度が所定値未満であると判定する場合、受信信号の強度が所定値未満であることを表示する。
この構成により、本実施形態に係る計時装置Cでは、受信信号の強度が所定値未満であることを表示できるため、ユーザが受信信号の強度が所定値未満であることを知ることができる。
Further, the timekeeping device C according to the present embodiment further includes a
When the signal
With this configuration, the timekeeping device C according to the present embodiment can display that the strength of the received signal is less than the predetermined value, so that the user can know that the strength of the received signal is less than the predetermined value.
また、本実施形態に係る計時システムSは、計時装置Cを複数備える。
この構成により、本実施形態に係る計時システムSでは、各計時装置Cが時刻情報を安定して受信できるため、正確な時刻を維持することができる。
Further, the timekeeping system S according to the present embodiment includes a plurality of timekeeping devices C.
With this configuration, in the timekeeping system S according to the present embodiment, since each timekeeping device C can stably receive the time information, it is possible to maintain an accurate time.
なお、上記の実施形態においては、近距離無線通信としてBLEを用いる場合について説明したが、近距離無線通信として、WiFi(Wireless Fidelity)、ZigBee(登録商標)、EnOcean(登録商標)、特定小電力無線など他の無線通信方式が用いられてもよい。 In the above embodiment, the case where BLE is used for short-range wireless communication has been described, but as short-range wireless communication, WiFi (Wireless Wireless), ZigBee (registered trademark), EnOcean (registered trademark), and specified low power are used. Other wireless communication methods such as wireless may be used.
また、上記の実施形態においては、計時システムSが「時計」システムについて説明したが、本発明は、時刻表示機能を備える所謂「時計」に限定されるものではなく、計時機能を備える装置・素子(IC(Integrated Circuit)やタグを含む)及びシステムに広く適用可能である。 Further, in the above embodiment, the timekeeping system S has described the "clock" system, but the present invention is not limited to the so-called "clock" having a time display function, and the device / element having the timekeeping function. It is widely applicable to ICs (including integrated circuits (ICs) and tags) and systems.
なお、上述した実施形態における計時装置Cの一部、例えば、制御部11をコンピュータで実現するようにしてもよい。その場合、この制御機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによって実現してもよい。なお、ここでいう「コンピュータシステム」とは、計時装置Cに内蔵されたコンピュータシステムであって、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD-ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含んでもよい。また上記プログラムは、前述した機能の一部を実現するためのものであってもよく、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよい。
また、上述した実施形態における計時装置Cの一部、または全部を、LSI(Large Scale Integration)等の集積回路として実現してもよい。計時装置Cの各機能ブロックは個別にプロセッサ化してもよいし、一部、または全部を集積してプロセッサ化してもよい。また、集積回路化の手法はLSIに限らず専用回路、または汎用プロセッサで実現してもよい。また、半導体技術の進歩によりLSIに代替する集積回路化の技術が出現した場合、当該技術による集積回路を用いてもよい。
A part of the timekeeping device C in the above-described embodiment, for example, the
Further, a part or all of the time measuring device C in the above-described embodiment may be realized as an integrated circuit such as an LSI (Large Scale Integration). Each functional block of the timekeeping device C may be individually made into a processor, or a part or all of them may be integrated into a processor. Further, the method of making an integrated circuit is not limited to the LSI, and may be realized by a dedicated circuit or a general-purpose processor. Further, when an integrated circuit technology that replaces an LSI appears due to advances in semiconductor technology, an integrated circuit based on this technology may be used.
以上、図面を参照してこの発明の一実施形態について詳しく説明してきたが、具体的な構成は上述のものに限られることはなく、この発明の要旨を逸脱しない範囲内において様々な設計変更等をすることが可能である。 Although one embodiment of the present invention has been described in detail with reference to the drawings, the specific configuration is not limited to the above, and various design changes and the like are made without departing from the gist of the present invention. It is possible to do.
S…計時システム、C、C1、C2、C3、C4、C5、C6…計時装置、1…長波受信回路、2…電源回路、21…AC(交流)アダプタ接続プラグ、22…バッテリ、3…コネクタ、4…主装置、5…表示装置、6…電圧デテクタ、7…レギュレータ、8…スイッチ群、9…RF回路、10…水晶振動子、11…制御部、20…プロセッサ、201…信号強度判定部、202…基準送信装置決定部、203…信号判定部、204…修正部、205…計時部、206…親機子機モード制御部、207…通信制御部、208…表示制御部、30…計時データ取得部、40…エンコーダ、50…デコーダ、60…信号強度取得部、70…キー入力部、80…電圧データ入力部、90…レジスタ群、901…親機子機モードレジスタ、902…計時データレジスタ、903…受信チャネルレジスタ、904…送信チャネルレジスタ、905…レイヤレジスタ、906…連続受信失敗回数レジスタ、P…表示パネル
S ... Time measuring system, C, C1, C2, C3, C4, C5, C6 ... Time measuring device, 1 ... Long wave receiving circuit, 2 ... Power supply circuit, 21 ... AC (AC) adapter connection plug, 22 ... Battery, 3 ...
Claims (7)
計時データを修正するための基準時刻情報を含み送信装置が送信する基準時刻信号を受信信号として受信する受信部と、
前記受信部が受信した前記受信信号の強度を判定する信号強度判定部と、
前記受信信号の強度が所定の閾値以上であると前記信号強度判定部が判定した前記送信装置を基準送信装置であると決定する基準送信装置決定部と、
前記基準送信装置決定部が前記基準送信装置を決定した後には、前記基準送信装置からの前記受信信号を前記計時データの修正に用いると判定するとともに前記基準送信装置以外の前記送信装置からの前記受信信号を前記計時データの修正に用いないと判定する信号判定部と、
前記信号判定部の判定結果が示す前記受信信号に含まれる前記基準時刻情報に基づいて、前記計時データを修正する修正部と、
前記修正部が修正した前記計時データに基づき計時を行う計時部と、
を備え、
前記送信装置は、前記ツリー型のネットワークにおいて自装置よりも上位の階層の計時装置であって、
前記基準時刻信号は、前記複数の送信装置相互間において異なる時刻に前記送信装置によって送信され、
前記受信部は、前記基準送信装置決定部が前記基準送信装置を決定した後には、前記基準送信装置が前記基準時刻信号を送信する所定の時刻に前記基準送信装置が送信する前記基準時刻信号を受信する
計時装置。 It is one of the multiple timekeeping devices that make up a tree-type network.
A receiver that includes reference time information for correcting timekeeping data and receives a reference time signal transmitted by a transmitter as a reception signal.
A signal strength determination unit that determines the strength of the received signal received by the reception unit, and a signal strength determination unit.
A reference transmission device determination unit that determines that the transmission device that the signal strength determination unit determines that the strength of the received signal is equal to or higher than a predetermined threshold value is a reference transmission device.
After the reference transmission device determination unit determines the reference transmission device, it is determined that the reception signal from the reference transmission device is used for correcting the timekeeping data, and the transmission device other than the reference transmission device is used. A signal determination unit that determines that the received signal is not used for correcting the timekeeping data,
A correction unit that corrects the timekeeping data based on the reference time information included in the received signal indicated by the determination result of the signal determination unit.
A timekeeping unit that performs timekeeping based on the timekeeping data corrected by the correction unit, and a timekeeping unit.
Equipped with
The transmitting device is a timekeeping device at a higher level than the own device in the tree-type network.
The reference time signal is transmitted by the transmitter at different times between the plurality of transmitters.
The receiving unit receives the reference time signal transmitted by the reference transmitting device at a predetermined time when the reference transmitting device transmits the reference time signal after the reference transmitting device determining unit determines the reference transmitting device. Receive
Timekeeping device.
請求項1に記載の計時装置。 The timekeeping device according to claim 1, wherein the signal strength determining unit determines the strength of the received signal received by the receiving unit when the received signal is received for the first time after the receiving unit starts operation.
請求項1または請求項2に記載の計時装置。 When the connection with the reference transmission device is lost, the reference transmission device determination unit uses the reference transmission device to determine that the strength of the received signal is equal to or higher than a predetermined threshold value. The timekeeping device according to claim 1 or 2, which is newly determined to exist.
請求項1から請求項3のいずれか一項に記載の計時装置。 The signal strength determining unit according to any one of claims 1 to 3 determines the strength of the received signal received by the receiving unit when the receiving unit receives the received signal by manual reception. The timekeeping device described.
請求項1から請求項4のいずれか一項に記載の計時装置。 6. Timekeeping device.
計時システム。 The tree-type network is configured by providing a plurality of timekeeping devices according to any one of claims 1 to 5.
Timekeeping system.
計時データを修正するための基準時刻情報を含み送信装置が送信する基準時刻信号を受信信号として受信する受信手順と、
前記受信手順において受信された前記受信信号の強度を判定する信号強度判定手順と、
前記受信信号の強度が所定の閾値以上であると前記信号強度判定手順において判定された前記送信装置を基準送信装置であると決定する基準送信装置決定手順と、
前記基準送信装置決定手順において前記基準送信装置が決定された後には、前記基準送信装置からの前記受信信号を前記計時データの修正に用いると判定するとともに前記基準送信装置以外の前記送信装置からの前記受信信号を前記計時データの修正に用いないと判定する信号判定手順と、
前記信号判定手順の判定結果が示す前記受信信号に含まれる前記基準時刻情報に基づいて、前記計時データを修正する修正手順と、
前記修正手順において修正された前記計時データに基づき計時を行う計時手順と、
を有し、
前記送信装置は、前記ツリー型のネットワークにおいて自装置よりも上位の階層の計時装置であって、
前記基準時刻信号は、前記複数の送信装置相互間において異なる時刻に前記送信装置によって送信され、
前記受信手順は、前記基準送信装置決定手順が前記基準送信装置を決定した後には、前記基準送信装置が前記基準時刻信号を送信する所定の時刻に前記基準送信装置が送信する前記基準時刻信号を受信する
計時方法。 It is a timekeeping method in one of a plurality of timekeeping devices constituting a tree-type network.
A reception procedure for receiving a reference time signal transmitted by a transmission device as a reception signal, including reference time information for correcting timekeeping data, and a reception procedure.
A signal strength determination procedure for determining the strength of the received signal received in the reception procedure, and a signal strength determination procedure.
A reference transmission device determination procedure for determining that the transmission device determined in the signal strength determination procedure that the strength of the received signal is equal to or higher than a predetermined threshold value is a reference transmission device, and a reference transmission device determination procedure.
After the reference transmission device is determined in the reference transmission device determination procedure, it is determined that the reception signal from the reference transmission device is used for correcting the timekeeping data, and the transmission device other than the reference transmission device is used. A signal determination procedure for determining that the received signal is not used for correcting the timekeeping data, and
A correction procedure for correcting the timekeeping data based on the reference time information included in the received signal indicated by the determination result of the signal determination procedure, and a correction procedure.
A timekeeping procedure for measuring time based on the timekeeping data corrected in the correction procedure, and a timekeeping procedure.
Have,
The transmitting device is a timekeeping device at a higher level than the own device in the tree-type network.
The reference time signal is transmitted by the transmitter at different times between the plurality of transmitters.
In the reception procedure, after the reference transmission device determination procedure determines the reference transmission device, the reference time signal transmitted by the reference transmission device at a predetermined time when the reference transmission device transmits the reference time signal is transmitted. Receive
Timekeeping method.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018047975A JP7045887B2 (en) | 2018-03-15 | 2018-03-15 | Timekeeping device, timekeeping system, and timekeeping method |
CN201910111283.XA CN110275431B (en) | 2018-03-15 | 2019-02-12 | Time counting device, time counting system and time counting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018047975A JP7045887B2 (en) | 2018-03-15 | 2018-03-15 | Timekeeping device, timekeeping system, and timekeeping method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019158733A JP2019158733A (en) | 2019-09-19 |
JP7045887B2 true JP7045887B2 (en) | 2022-04-01 |
Family
ID=67958818
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018047975A Active JP7045887B2 (en) | 2018-03-15 | 2018-03-15 | Timekeeping device, timekeeping system, and timekeeping method |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP7045887B2 (en) |
CN (1) | CN110275431B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005351769A (en) | 2004-06-10 | 2005-12-22 | Rhythm Watch Co Ltd | Time signal relay unit and time correcting system |
US10158443B1 (en) | 2016-09-02 | 2018-12-18 | Marvell International Ltd. | Methods and apparatus for fine timing measurement with frequency domain processing |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4214721B2 (en) * | 2002-06-12 | 2009-01-28 | セイコーエプソン株式会社 | Clock system and clock system control method |
JP4542801B2 (en) * | 2004-03-11 | 2010-09-15 | セイコークロック株式会社 | Timing device, timing system, and timing method |
JP4517162B2 (en) * | 2004-03-11 | 2010-08-04 | セイコークロック株式会社 | Timing device, timing system, and timing method |
JP2005337990A (en) * | 2004-05-28 | 2005-12-08 | Seiko Precision Inc | Wireless system, wireless device, and computer program |
CN100565387C (en) * | 2005-12-20 | 2009-12-02 | 精工爱普生株式会社 | The time adjustment method of electric wave correcting timepiece and electric wave correcting timepiece |
JP4650467B2 (en) * | 2007-09-26 | 2011-03-16 | セイコーエプソン株式会社 | Time correction device and timing device with time correction device |
JP5076866B2 (en) * | 2007-12-19 | 2012-11-21 | セイコーエプソン株式会社 | Time measuring device and satellite signal receiving method of time measuring device |
JP5272964B2 (en) * | 2009-08-18 | 2013-08-28 | セイコーエプソン株式会社 | Electronic clock |
CN102033486B (en) * | 2009-09-25 | 2012-05-30 | 卡西欧计算机株式会社 | Time information-acquiring apparatus and radio wave timepiece |
CN103582110A (en) * | 2012-07-23 | 2014-02-12 | 中国移动通信集团公司 | Method, terminal, base station, system and network device of uplink synchronization |
WO2014205663A1 (en) * | 2013-06-26 | 2014-12-31 | 华为技术有限公司 | Timing synchronization method and apparatus, user equipment, and communications system |
JP6350089B2 (en) * | 2013-09-06 | 2018-07-04 | セイコーエプソン株式会社 | Electronic clock and satellite signal receiving method of electronic clock |
CN105453667B (en) * | 2014-06-30 | 2019-05-28 | 华为技术有限公司 | A kind of clock synchronizing method, system and relevant apparatus |
-
2018
- 2018-03-15 JP JP2018047975A patent/JP7045887B2/en active Active
-
2019
- 2019-02-12 CN CN201910111283.XA patent/CN110275431B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005351769A (en) | 2004-06-10 | 2005-12-22 | Rhythm Watch Co Ltd | Time signal relay unit and time correcting system |
US10158443B1 (en) | 2016-09-02 | 2018-12-18 | Marvell International Ltd. | Methods and apparatus for fine timing measurement with frequency domain processing |
Also Published As
Publication number | Publication date |
---|---|
JP2019158733A (en) | 2019-09-19 |
CN110275431B (en) | 2021-11-09 |
CN110275431A (en) | 2019-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5274545A (en) | Device and method for providing accurate time and/or frequency | |
CN107817677B (en) | Electronic timepiece, time changing method for electronic timepiece, and recording medium | |
US20170038739A1 (en) | Time display device | |
US11307537B2 (en) | Communication device, communication method, communication system, electronic watch, and program | |
US10123291B2 (en) | Wireless communication device, electronic timepiece, wireless communication method, and recording medium | |
JP7045887B2 (en) | Timekeeping device, timekeeping system, and timekeeping method | |
JP2001356838A (en) | Local time computer, clock device, communication terminal equipment and local time calculating method | |
JP7089945B2 (en) | Timekeeping device, timekeeping system, and timekeeping method | |
JP2009152899A (en) | Radio terminal, radio base station, time distributing system and time distributing method | |
US9354612B1 (en) | Distributed time synchronization system and method | |
JP6582620B2 (en) | Electronic clock and local time position setting method | |
CN110557824B (en) | Timing device, timing system and timing method | |
JP4542801B2 (en) | Timing device, timing system, and timing method | |
JP2005257488A (en) | Timing device, timing system and timing method | |
JP6819091B2 (en) | Communication devices, electronic clocks, communication methods and programs | |
JP2019158734A (en) | Clocking device, clocking system, and clocking method | |
KR101037665B1 (en) | GPS time synchronization system and time synchronization method using same | |
JP2005257487A (en) | Timing device, timing system and timing method | |
JP4406345B2 (en) | Timing device and timing method | |
JP4517162B2 (en) | Timing device, timing system, and timing method | |
JP2005257486A (en) | Timing device, timing system and timing method | |
JP7238460B2 (en) | electronic clock | |
JP2009063338A (en) | Electronic timepiece, radio timepiece, electronic device having timepiece function, and control method | |
KR20220013038A (en) | Time receiver using long wave wireless | |
JP2007010621A (en) | Radio type information transmission system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210105 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20210510 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20211109 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20211116 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20211223 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20220308 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220322 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7045887 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |