JP2023106840A - On-vehicle device and program - Google Patents
On-vehicle device and program Download PDFInfo
- Publication number
- JP2023106840A JP2023106840A JP2022007810A JP2022007810A JP2023106840A JP 2023106840 A JP2023106840 A JP 2023106840A JP 2022007810 A JP2022007810 A JP 2022007810A JP 2022007810 A JP2022007810 A JP 2022007810A JP 2023106840 A JP2023106840 A JP 2023106840A
- Authority
- JP
- Japan
- Prior art keywords
- date
- conversion
- gps
- time
- cycle information
- 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.)
- Pending
Links
- 238000006243 chemical reaction Methods 0.000 claims abstract description 110
- 238000009825 accumulation Methods 0.000 claims abstract description 6
- 238000000034 method Methods 0.000 claims description 17
- 230000010354 integration Effects 0.000 claims 1
- 238000004891 communication Methods 0.000 abstract description 27
- 230000006870 function Effects 0.000 description 48
- 230000001186 cumulative effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
Images
Landscapes
- Electric Clocks (AREA)
Abstract
Description
本発明は、車載器、及びプログラムに関する。 The present invention relates to an onboard device and a program.
GPS(Global Positioning System)から取得するGPS時刻(GPS週数及びGPS週内秒)に基づいて、CPUの内蔵時計の時刻を補正するドライブレコーダが知られている(例えば、特許文献1参照)。 A drive recorder that corrects the time of the built-in clock of a CPU based on GPS time (GPS week number and GPS week second) obtained from a GPS (Global Positioning System) is known (see, for example, Patent Document 1).
車載器のGPS通信モジュールのメモリには、GPS週数及びGPS週内秒を日付及び時刻に変換するための変換情報が記憶されており、GPS通信モジュールは、この変換情報に基づいて日付及び時刻を算出している。ここで、GPS週数の積算は、1024週で1巡するところ、GPS週数の積算が何巡目であるかを示す巡目情報(2021年時点では3巡目)が、メモリに記憶された変換情報に含まれている。この巡目情報に狂いが生じた場合には、GPS通信モジュールは、1024週分、2048週分、又は3072週分ずれた日付を算出することになる。この場合、上記特許文献1に記載のドライブレコーダでは、内蔵時計の日付が誤って補正される。 The memory of the GPS communication module of the vehicle-mounted device stores conversion information for converting the GPS week number and GPS week seconds into date and time. is calculated. Here, since the accumulation of the GPS week number is performed once every 1024 weeks, the cycle information indicating the number of the accumulation of the GPS week number (3rd round as of 2021) is stored in the memory. included in the conversion information. If there is an error in this cycle information, the GPS communication module will calculate the date shifted by 1024 weeks, 2048 weeks, or 3072 weeks. In this case, the date of the built-in clock is erroneously corrected in the drive recorder described in Patent Document 1 above.
本発明は、上記事情に鑑み、GPS時刻を日付及び時刻に変換する際の日付の誤変換を防止して車載器の内蔵時計の日付を正確に設定することができる車載器、及びプログラムを提供することを目的とする。 In view of the above circumstances, the present invention provides an on-vehicle device and a program that prevent erroneous date conversion when converting GPS time into date and time and can set the date of the on-board device's built-in clock accurately. intended to
本発明の車載器は、GPSアンテナが受信したGPS週数及びGPS週内秒を含むGPS時刻を日付及び時刻に変換するための変換情報を記憶した変換情報記憶部と、前記GPSアンテナが受信した前記GPS時刻を、前記変換情報記憶部に記憶された前記変換情報に基づいて前記日付及び時刻に変換して出力する変換部と、前記GPS週数の積算が現在何巡目であるかを示す巡目情報を記憶した巡目情報記憶部と、前記変換部から出力された前記日付が、前記巡目情報記憶部に記憶された前記巡目情報に対応する日付の範囲に含まれるか否かを判定する判定部と、内蔵時計と、前記判定部により、前記変換部から出力された前記日付が前記巡目情報に対応する日付の範囲に含まれると判定された場合に、前記内蔵時計の日付及び時刻を、前記変換部から出力された前記日付及び時刻に補正する補正部と、前記判定部により、前記変換部から出力された前記日付が前記巡目情報に対応する日付の範囲に含まれないと判定された場合に、前記変換情報記憶部に記憶された前記変換情報を、前記巡目情報記憶部に記憶された前記巡目情報に基づいて再設定する変換情報設定部とを備える。 The vehicle-mounted device of the present invention includes a conversion information storage unit that stores conversion information for converting GPS time, including the GPS week number and GPS week seconds received by the GPS antenna, into date and time; A conversion unit that converts the GPS time into the date and time based on the conversion information stored in the conversion information storage unit and outputs the date and time, and indicates the current cycle of the accumulation of the GPS week number. whether or not the cycle information storage unit storing the cycle information and the date output from the conversion unit are included in the range of dates corresponding to the cycle information stored in the cycle information storage unit; a determination unit that determines the internal clock, and if the determination unit determines that the date output from the conversion unit is included in the range of dates corresponding to the cycle information, A correction unit that corrects the date and time to the date and time output from the conversion unit; a conversion information setting unit for resetting the conversion information stored in the conversion information storage unit based on the cycle information stored in the cycle information storage unit when it is determined that the conversion information is not available. .
本発明のプログラムは、GPSアンテナが受信したGPS週数及びGPS週内秒を含むGPS時刻を日付及び時刻に変換するための変換情報を記憶した変換情報記憶部と、前記GPSアンテナが受信した前記GPS時刻を、前記変換情報記憶部に記憶された前記変換情報に基づいて前記日付及び時刻に変換して出力する変換部と、内蔵時計と、前記GPS週数の積算が現在何巡目であるかを示す巡目情報を記憶した巡目情報記憶部とを備える車載器を制御するためのプログラムであって、前記変換部から出力された前記日付が、前記巡目情報記憶部に記憶された前記巡目情報に対応する日付の範囲に含まれるか否かを判定する判定処理と、前記判定処理により、前記変換部から出力された前記日付が前記巡目情報に対応する日付の範囲に含まれると判定された場合に、前記内蔵時計の日付及び時刻を、前記変換部から出力された前記日付及び時刻に補正する補正処理と、前記判定処理により、前記変換部から出力された前記日付が前記巡目情報に対応する日付の範囲に含まれないと判定された場合に、前記変換情報記憶部に記憶された前記変換情報を、前記巡目情報記憶部に記憶された前記巡目情報に基づいて再設定する変換情報設定処理とを前記車載器に実行させる。 The program of the present invention comprises a conversion information storage unit storing conversion information for converting GPS time, including the GPS week number and GPS week seconds received by the GPS antenna, into date and time; a conversion unit for converting GPS time into the date and time based on the conversion information stored in the conversion information storage unit and outputting the date and time; an internal clock; A program for controlling a vehicle-mounted device comprising a cycle information storage unit storing cycle information indicating whether the date output from the conversion unit is stored in the cycle information storage unit a determination process for determining whether or not the date output from the conversion unit is included in the date range corresponding to the cycle information by the determination process; correction processing for correcting the date and time of the built-in clock to the date and time output from the conversion unit when it is determined that the date output from the conversion unit is correct by the determination processing; when it is determined that the dates are not included in the range of dates corresponding to the cycle information, the conversion information stored in the conversion information storage unit is changed to the cycle information stored in the cycle information storage unit. The vehicle-mounted device is caused to execute a conversion information setting process for resetting based on the conversion information.
本発明によれば、GPS通信モジュール側でGPS時刻を日付及び時刻に変換するための変換情報に狂いが生じた場合でも、GPS時刻を日付及び時刻に変換する際の日付の誤変換を防止して車載器の内蔵時計の日付を正確に設定することができる。 According to the present invention, even if the conversion information for converting the GPS time into the date and time on the GPS communication module side is not correct, it is possible to prevent incorrect conversion of the date when converting the GPS time into the date and time. can be used to accurately set the date of the onboard device's built-in clock.
以下、本発明を好適な実施形態に沿って説明する。なお、本発明は以下に示す実施形態に限られるものではなく、本発明の趣旨を逸脱しない範囲において適宜変更可能である。また、以下に示す実施形態においては、一部構成の図示や説明を省略している箇所があるが、省略された技術の詳細については、以下に説明する内容と矛盾点が発生しない範囲内において、適宜公知又は周知の技術が適用される。 BEST MODE FOR CARRYING OUT THE INVENTION The present invention will be described below along with preferred embodiments. It should be noted that the present invention is not limited to the embodiments described below, and can be modified as appropriate without departing from the gist of the present invention. In addition, in the embodiments shown below, there are places where illustrations and explanations of some configurations are omitted, but the details of the omitted technologies are provided within the scope that does not cause contradiction with the contents explained below. , Appropriately known or well-known techniques are applied.
図1は、本発明の一実施形態に係る車載器1の機能を示すブロック図である。この図に示す車載器1は、ドライブレコーダであり、特に本実施形態ではフォークリフトに搭載されるドライブレコーダである。 FIG. 1 is a block diagram showing functions of a vehicle-mounted device 1 according to one embodiment of the present invention. The vehicle-mounted device 1 shown in this figure is a drive recorder, and particularly in this embodiment, it is a drive recorder mounted on a forklift.
車載器1は、GPSアンテナ2と、GPS通信モジュール3と、メインCPU(Central Processing Unit)10とを備える。GPSアンテナ2は、GPS衛星から発信されたGPS信号を受信する。このGPS信号は、GPS時刻を含む。このGPS時刻は、GPS週数(週番号)及びGPS週内秒を含む。GPS週内秒は、GPSの原子時計が刻む正確な時刻であり、各GPS週の始点の0から各GPS週の終点の67499まで1ずつ増え、GPS週が変わると再び0に戻る。
The vehicle-mounted device 1 includes a
GPS週数は、10ビットの情報である。GPS週数は、10ビットの情報であるが故に、210=1024週で一巡する。即ち、GPS週数は、0から1023まで1ずつ増え、次は再び0に戻る。GPS週数の1巡目は、1980年1月6日(日本時間)から1999年8月22日(日本時間)までである。また、GPS週数の2巡目は、1999年8月22日(日本時間)から2019年4月7日(日本時間)までである。さらに、GPS週数の3巡目は、2019年4月7日(日本時間)から2038年11月21日(日本時間)までである。 The GPS week number is 10-bit information. Since the GPS week number is 10-bit information, it takes 2 10 =1024 weeks. That is, the GPS week number increases by 1 from 0 to 1023, and then returns to 0 again. The first round of GPS weeks is from January 6, 1980 (Japan time) to August 22, 1999 (Japan time). The second round of GPS weeks is from August 22, 1999 (Japan time) to April 7, 2019 (Japan time). Furthermore, the third round of GPS weeks is from April 7, 2019 (Japan time) to November 21, 2038 (Japan time).
UTC(Coordinated Universal Time;協定世界時)に同期して開始された時からの積算週数は、GPS週数の1巡目で0~1023、GPS週数の2巡目で1024~2047、GPS週数の3巡目で2048~3071である。2021年時点は、GPS週数の3巡目に含まれる。 The number of accumulated weeks from the time when it started synchronizing with UTC (Coordinated Universal Time) is 0 to 1023 in the first round of GPS weeks, 1024 to 2047 in the second round of GPS weeks, and It is 2048-3071 in the third round of the number of weeks. 2021 is included in the third round of GPS weeks.
GPS通信モジュール3は、GPS時刻変換機能31と、メモリ32とを備える。メモリ32には、GPS時刻変換機能31を実行させるためのプログラムと、GPS週数及びGPS週内秒を日付及び時刻に変換するための第1及び第2変換情報321,322とが記憶されている。第1変換情報321は、GPS週数(0~1023)を、UTC開始日(1980年1月6日)から現在までの積算週数(2048~3071)に変換するための情報である。第2変換情報322は、当該積算週数及びGPS週内秒(0~67499)を、日付及び時刻に変換するための情報である。
The
GPS時刻変換機能31は、GPSアンテナ2が受信したGPS週数(0~1023)をメモリ32に記憶された第1変換情報321に基づいて、現在の積算週数(2048~3071)に変換する。また、GPS時刻変換機能31は、GPS週数から変換した現在の積算週数及びGPSアンテナ2が受信したGPS週内秒(0~67499)を、メモリ32に記憶された第2変換情報322に基づいて、現在の日付(2019年4月7日~2038年11月21日)及び時刻(0時0分0秒~23時59分59秒)に変換してメインCPU10に出力する。
The GPS
ここで、第1変換情報321は、現在の積算週数(2048~3071)が、GPS週数の積算が何巡目に該当するかを示す情報である。即ち、メモリ32には、第1変換情報321として「3巡目」という情報が記憶されている。
Here, the
第2変換情報322は、積算週数及びGPS週内秒と日付及び時間との関係を示す数式やテーブル等の情報である。GPS時刻変換機能31は、現在の積算週数及びGPS週内秒を、当該数式やテーブル等に基づいて、現在の日付及び時刻に変換する。
The
メインCPU10は、メモリ11と、時刻正誤判定機能12と、時刻補正機能13と、変換情報設定機能14と、通信機能15と、巡目情報設定機能16とを備える。メモリ11には、メインCPU10の各機能を実行させるためのプログラムと、内蔵時計111の時刻(RTC(Real Time Clock)時刻)と、巡目情報112とが記憶されている。巡目情報112は、第1変換情報321と同様、GPS週数の積算が何巡目に該当するかを示す情報である。2021年12月時点では、巡目情報112は、3巡目に該当する。即ち、メモリ11には、巡目情報112として「3巡目」という情報が記憶されている。
The
時刻正誤判定機能12は、メモリ11に記憶された巡目情報112に対応する日付の範囲(2019年4月7日~2038年11月21日)を算出する。そして、時刻正誤判定機能12は、GPS通信モジュール3のGPS時刻変換機能31から出力された現在の日付が、巡目情報112に対応する日付の範囲(2019年4月7日~2038年11月21日)に含まれるか否かを判定し、判定結果を時刻補正機能13及び変換情報設定機能14に出力する。
The time
時刻補正機能13は、GPS時刻変換機能31から出力された日付が巡目情報112に対応する日付の範囲に含まれるという判定結果(肯定判定)が入力された場合に、メモリ11に記憶されている内蔵時計111の日付及び時刻を、GPS時刻変換機能31から出力された日付及び時刻に補正する。
The
他方で、変換情報設定機能14は、GPS時刻変換機能31から出力された日付が巡目情報112に対応する日付の範囲に含まれないという判定結果(否定判定)が入力された場合に、GPS通信モジュール3のメモリ32に記憶された第1変換情報321を、メモリ11に記憶されている巡目情報112により再設定する。
On the other hand, the conversion
通信機能15は、Bluetooth(登録商標)等の無線通信技術により携帯端末やPC(Personal Computer)等の外部端末4と通信する。外部端末4は、通信機能41と、メモリ42とを備える。通信機能41は、Bluetooth等の無線通信技術により車載器1やその他の機器と通信する。
The
メモリ42は、巡目情報112を記憶している。外部端末4は、ユーザによる操作に従って、メモリ42に記憶された巡目情報112を車載器1に出力する。外部端末4から出力された巡目情報112は、通信機能15を介して巡目情報設定機能16に入力される。巡目情報設定機能16は、巡目情報112が入力された場合、入力された巡目情報112によりメモリ11に記憶されている巡目情報112を再設定する。
The
図2は、図1に示す車載器1における内蔵時計111の時刻の補正処理を示すフローチャートである。このフローチャートに示す補正処理は、車載器1が起動されると開始されてステップS1に移行する。車載器1は、フォークリフト等の車両のイグニッションがONになると自動的に起動される。
FIG. 2 is a flow chart showing a process of correcting the time of the built-in
ステップS1~S3において、車載器1のメインCPU10は、通常処理ループを実施する。この通常処理ループを抜ける条件は、車両のイグニッションのOFFであり、メインCPU10は、車両のイグニッションがOFFになるまでの間、GPSアンテナ2の受信処理を継続する(ステップS2)。
In steps S1 to S3, the
通常処理ループを抜けた後のステップS4において、メインCPU10の時刻正誤判定機能12は、メモリ11に記憶された巡目情報112に対応する日付の範囲(2019年4月7日~2038年11月21日)を算出する。次に、ステップS5において、時刻正誤判定機能12は、GPS通信モジュール3のGPS時刻変換機能31から出力された日付が、巡目情報112に対応する日付の範囲(2019年4月7日~2038年11月21日)に含まれるか否かを判定し、判定結果を時刻補正機能13及び変換情報設定機能14に出力する。ステップS5において肯定判定がされた場合にはステップS6に移行し、ステップS5において否定判定がされた場合にはステップS7に移行する。
In step S4 after exiting the normal processing loop, the time
ステップS6において、メインCPU10の時刻補正機能13は、メモリ11に記憶されている内蔵時計111の日付及び時刻を、GPS時刻変換機能31から出力された日付及び時刻に補正する。以上で内蔵時計111の時刻の補正処理を終了し、車載器1が停止する。
In step S<b>6 , the
他方で、ステップS7において、メインCPU10の変換情報設定機能14は、GPS通信モジュール3のメモリ32に記憶された第1変換情報321を、メモリ11に記憶されている巡目情報112により再設定する。以上で内蔵時計111の時刻の補正処理を終了し、車載器1が停止する。
On the other hand, in step S7, the conversion
即ち、本実施形態の車載器1では、車両のイグニッションがONになってからOFFになるまでの間に1回、内蔵時計111の時刻の補正処理が実行される。この内蔵時計111の時刻の補正処理において、GPS通信モジュール3側で実行されるGPS週数及びGPS週内秒から日付への変換の正誤が、メインCPU10側で判定される。具体的には、メインCPU10の時刻正誤判定機能12が、GPS通信モジュール3から出力された日付の正誤を、当該日付が正確な巡目(現在は3巡目)に対応する日付の範囲に含まれるか否かにより判定する。そして、メインCPU10の変換情報設定機能14が、変換が正しければ変換された日付に従って内蔵時計111の日付を補正する。他方で、変換情報設定機能14は、変換が誤っていればGPS通信モジュール3のメモリ32に記憶された巡目に関する第1変換情報321をメインCPU10側で記憶した巡目情報112により再設定する。これによって、GPS通信モジュール3側で第1変換情報321に狂いが生じた場合でも、GPSアンテナ2が受信したGPS週数及びGPS週内秒を正確な日付に変換して車載器1の内蔵時計111の日付を正確に設定することができる。
That is, in the vehicle-mounted device 1 of the present embodiment, the correction processing of the time of the built-in
また、本実施形態の車載器1では、巡目情報としての第1変換情報321に狂いが生じた場合に、当該第1変換情報321をメインCPU10側で記憶した巡目情報112により再設定する。これにより、GPS通信モジュール3のGPS時刻変換機能31が、1024週分、2048週分、又は3072週分ずれた積算週数を算出することを防止できる。従って、GPS時刻変換機能31による正確な積算週数に基づいた日付の算出が可能になり、車載器1の内蔵時計111の日付を正確に補正することができる。
Further, in the vehicle-mounted device 1 of the present embodiment, when the
また、本実施形態の車載器1では、外部端末4のメモリ42に記憶された巡目情報112をメインCPU10に入力し、入力された巡目情報112によりメモリ11に記憶された巡目情報112を再設定することができる。これにより、メインCPU10のメモリ11に記憶された巡目情報112に狂いや消失等が生じた場合でも、本実施形態の内蔵時計111の時刻の補正処理を継続することができる。
In addition, in the vehicle-mounted device 1 of the present embodiment, the
以上、実施形態に基づき本発明を説明したが、本発明は上述の実施形態に限られるものではなく、本発明の趣旨を逸脱しない範囲で、変更を加えてもよいし、適宜公知や周知の技術を組み合わせてもよい。例えば、上記実施形態では、車載器1をドライブレコーダとしたが、デジタルタコグラフやカーナビゲーションシステムや運転支援システム等の他の車載器にも本発明を適用できる。 Although the present invention has been described above based on the embodiments, the present invention is not limited to the above-described embodiments, and may be modified without departing from the scope of the present invention. You can combine techniques. For example, in the above embodiment, the vehicle-mounted device 1 is a drive recorder, but the present invention can also be applied to other vehicle-mounted devices such as a digital tachograph, a car navigation system, and a driving support system.
また、上記実施形態の車載器1は、GPSアンテナ2が内蔵されているが、GPSアンテナ2は、車載器1とは別体で設けられ、有線又は無線で接続されていてもよい。また、外部端末4との無線通信により巡目情報112をメインCPU10に入力するのに代えて、巡目情報112が記録された記録媒体をメインCPU10に接続して巡目情報112をメインCPU10に入力するようにしてもよい。
Moreover, although the vehicle-mounted device 1 of the above embodiment has the
さらに、上記実施形態の車載器1では、車両のイグニッションがOFFになってから内蔵時計111の時刻の補正処理を実行したが、車両のイグニッションがONになった直後に内蔵時計111の時刻の補正処理を実行してもよい。
Furthermore, in the vehicle-mounted device 1 of the above-described embodiment, the time correction process of the built-in
1 :車載器
2 :GPSアンテナ
11 :メモリ(巡目情報記憶部)
12 :時刻正誤判定機能(判定部)
13 :時刻補正機能(補正部)
14 :変換情報設定機能(変換情報設定部)
15 :通信機能(入力部)
16 :巡目情報設定機能(巡目情報設定部)
31 :GPS時刻変換機能(変換部)
32 :メモリ(変換情報記憶部)
42 :メモリ(外部記録媒体)
111 :内蔵時計
112 :巡目情報
321 :第1変換情報(変換情報、巡目情報)
322 :第2変換情報(変換情報、関係情報)
1: On-vehicle device 2: GPS antenna 11: Memory (cycle information storage unit)
12: Time correctness judgment function (judgment unit)
13: Time correction function (correction unit)
14: Conversion information setting function (conversion information setting part)
15: Communication function (input unit)
16: Cycle information setting function (cycle information setting unit)
31: GPS time conversion function (conversion unit)
32: memory (conversion information storage unit)
42: Memory (external recording medium)
111: built-in clock 112: cycle information 321: first conversion information (conversion information, cycle information)
322: Second conversion information (conversion information, relationship information)
Claims (4)
前記GPSアンテナが受信した前記GPS時刻を、前記変換情報記憶部に記憶された前記変換情報に基づいて前記日付及び時刻に変換して出力する変換部と、
前記GPS週数の積算が現在何巡目であるかを示す巡目情報を記憶した巡目情報記憶部と、
前記変換部から出力された前記日付が、前記巡目情報記憶部に記憶された前記巡目情報に対応する日付の範囲に含まれるか否かを判定する判定部と、
内蔵時計と、
前記判定部により、前記変換部から出力された前記日付が前記巡目情報に対応する日付の範囲に含まれると判定された場合に、前記内蔵時計の日付及び時刻を、前記変換部から出力された前記日付及び時刻に補正する補正部と、
前記判定部により、前記変換部から出力された前記日付が前記巡目情報に対応する日付の範囲に含まれないと判定された場合に、前記変換情報記憶部に記憶された前記変換情報を、前記巡目情報記憶部に記憶された前記巡目情報に基づいて再設定する変換情報設定部と
を備える車載器。 a conversion information storage unit storing conversion information for converting the GPS time received by the GPS antenna, including the GPS week number and the GPS time within the GPS week, into a date and time;
a conversion unit that converts the GPS time received by the GPS antenna into the date and time based on the conversion information stored in the conversion information storage unit and outputs the date and time;
a cycle information storage unit storing cycle information indicating the current cycle of the accumulation of the GPS week number;
a determination unit that determines whether the date output from the conversion unit is included in a range of dates corresponding to the cycle information stored in the cycle information storage unit;
built-in clock and
When the determination unit determines that the date output from the conversion unit is included in the date range corresponding to the cycle information, the date and time of the built-in clock are output from the conversion unit. a correction unit for correcting the date and time;
When the determination unit determines that the date output from the conversion unit is not included in the range of dates corresponding to the cycle information, the conversion information stored in the conversion information storage unit is and a conversion information setting unit configured to reset based on the cycle information stored in the cycle information storage unit.
前記変換部は、前記GPSアンテナが受信した前記GPS週数を前記変換情報記憶部に記憶された前記巡目情報に対応する前記積算週数に変換し、当該積算週数及び前記GPSアンテナが受信した前記GPS週内秒を、前記変換情報記憶部に記憶された前記関係情報に基づいて前記日付及び時刻に変換して出力し、
前記変換情報設定部は、前記判定部により、前記変換部から出力された前記日付が前記巡目情報に対応する日付の範囲に含まれないと判定された場合に、前記巡目情報記憶部に記憶された前記巡目情報により前記変換情報記憶部に記憶された前記巡目情報を再設定する請求項1に記載の車載器。 The conversion information includes the cycle information and relationship information indicating the relationship between the accumulated number of weeks and the GPS seconds in the week corresponding to the cycle information and the date and time,
The conversion unit converts the GPS week number received by the GPS antenna into the accumulated week number corresponding to the cycle information stored in the conversion information storage unit, and the accumulated week number and the GPS antenna receive converting the GPS second within a week to the date and time based on the relational information stored in the conversion information storage unit and outputting the date and time;
When the determination unit determines that the date output from the conversion unit is not included in the range of dates corresponding to the cycle information, the conversion information setting unit stores 2. The vehicle-mounted device according to claim 1, wherein the cycle information stored in the conversion information storage unit is reset based on the stored cycle information.
前記入力部により入力された前記巡目情報により前記巡目情報記憶部に記憶された前記巡目情報を再設定する巡目情報設定部と
を備える請求項1又は2に記載の車載器。 an input unit for inputting the cycle information stored in an external recording medium;
3. The vehicle-mounted device according to claim 1, further comprising a cycle information setting unit that resets the cycle information stored in the cycle information storage unit according to the cycle information input by the input unit.
前記GPSアンテナが受信した前記GPS時刻を、前記変換情報記憶部に記憶された前記変換情報に基づいて前記日付及び時刻に変換して出力する変換部と、
内蔵時計と、
前記GPS週数の積算が現在何巡目であるかを示す巡目情報を記憶した巡目情報記憶部と
を備える車載器を制御するためのプログラムであって、
前記変換部から出力された前記日付が、前記巡目情報記憶部に記憶された前記巡目情報に対応する日付の範囲に含まれるか否かを判定する判定処理と、
前記判定処理により、前記変換部から出力された前記日付が前記巡目情報に対応する日付の範囲に含まれると判定された場合に、前記内蔵時計の日付及び時刻を、前記変換部から出力された前記日付及び時刻に補正する補正処理と、
前記判定処理により、前記変換部から出力された前記日付が前記巡目情報に対応する日付の範囲に含まれないと判定された場合に、前記変換情報記憶部に記憶された前記変換情報を、前記巡目情報記憶部に記憶された前記巡目情報に基づいて再設定する変換情報設定処理と
を前記車載器に実行させるプログラム。 a conversion information storage unit storing conversion information for converting the GPS time received by the GPS antenna, including the GPS week number and the GPS time within the GPS week, into a date and time;
a conversion unit that converts the GPS time received by the GPS antenna into the date and time based on the conversion information stored in the conversion information storage unit and outputs the date and time;
built-in clock and
A program for controlling a vehicle-mounted device comprising a cycle information storage unit storing cycle information indicating the current cycle of the GPS week number integration,
a determination process for determining whether or not the date output from the conversion unit is included in a range of dates corresponding to the cycle information stored in the cycle information storage unit;
When it is determined by the determination process that the date output from the conversion unit is included in the range of dates corresponding to the cycle information, the date and time of the built-in clock are output from the conversion unit. a correction process for correcting the date and time;
When it is determined by the determination process that the date output from the conversion unit is not included in the range of dates corresponding to the cycle information, the conversion information stored in the conversion information storage unit is A program for causing the vehicle-mounted device to execute conversion information setting processing for resetting based on the cycle information stored in the cycle information storage unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022007810A JP2023106840A (en) | 2022-01-21 | 2022-01-21 | On-vehicle device and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022007810A JP2023106840A (en) | 2022-01-21 | 2022-01-21 | On-vehicle device and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2023106840A true JP2023106840A (en) | 2023-08-02 |
Family
ID=87473655
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2022007810A Pending JP2023106840A (en) | 2022-01-21 | 2022-01-21 | On-vehicle device and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2023106840A (en) |
-
2022
- 2022-01-21 JP JP2022007810A patent/JP2023106840A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7529157B2 (en) | Time correction control apparatus and method of time correction control | |
US7711481B2 (en) | Navigation system | |
US8103404B2 (en) | System and method for odometer calibration | |
CN105843034B (en) | Electronic timepiece, electronic device, update information transmission device, and update information transmission method | |
JP2011237314A (en) | Electronic apparatus | |
JP2009036748A (en) | Time correction device, clocking device with time correction device, and time correction method | |
US10727817B2 (en) | Real-time clock device, electronic device, and vehicle | |
US10317850B2 (en) | Positioning apparatus, electronic timepiece, positioning control method and recording medium | |
US7751796B2 (en) | In-vehicle emergency report device | |
JP2023106840A (en) | On-vehicle device and program | |
US10663598B2 (en) | Electronic device, date-and-time acquisition control method, and recording medium | |
JP2000199792A (en) | Time piece and time correction method | |
JP2011520110A (en) | Method and apparatus for obtaining GNSS time in GNSS receiver | |
JP2011257300A (en) | In-vehicle recording apparatus and time correction method for in-vehicle recording apparatus | |
JP2002090441A (en) | Gps receiving device | |
JP2000352583A (en) | Date-specifying method | |
JP2006145340A (en) | Personal digital assistant and altitude measuring system | |
JP2010032222A (en) | Gps clocking device and time detection method | |
JP2014215147A (en) | Electronic device | |
JP6350911B2 (en) | In-vehicle devices connected to the in-vehicle network | |
JP2012211840A (en) | Position information correction system | |
JP2008298548A (en) | Mobile electronic device | |
JP5308728B2 (en) | Mobile device | |
US20140097983A1 (en) | Execution method of position calculating circuit, position calculating circuit, operation control method of position calculating circuit, host device, and electronic apparatus | |
US20210274335A1 (en) | Communication device, communication system, and communication method |