JP6421728B2 - OBE and GPS reception date / time generation program - Google Patents

OBE and GPS reception date / time generation program Download PDF

Info

Publication number
JP6421728B2
JP6421728B2 JP2015171941A JP2015171941A JP6421728B2 JP 6421728 B2 JP6421728 B2 JP 6421728B2 JP 2015171941 A JP2015171941 A JP 2015171941A JP 2015171941 A JP2015171941 A JP 2015171941A JP 6421728 B2 JP6421728 B2 JP 6421728B2
Authority
JP
Japan
Prior art keywords
time
date
gps reception
setup
week number
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
Application number
JP2015171941A
Other languages
Japanese (ja)
Other versions
JP2017049088A (en
Inventor
慶人 有馬
慶人 有馬
酒井 浩志
浩志 酒井
山田 晃也
晃也 山田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2015171941A priority Critical patent/JP6421728B2/en
Publication of JP2017049088A publication Critical patent/JP2017049088A/en
Application granted granted Critical
Publication of JP6421728B2 publication Critical patent/JP6421728B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electric Clocks (AREA)

Description

本発明は、GPS衛星からの航法メッセージを元にGPS受信日時を生成する車載器及びGPS受信日時生成プログラムに関する。   The present invention relates to a vehicle-mounted device that generates a GPS reception date and time and a GPS reception date and time generation program based on a navigation message from a GPS satellite.

現在、ETC2.0と称される通信機能を利用して、各種サービス(ETC2.0サービス)を提供することが計画されている。ETC2.0サービスの1つとして、車両が収集したプローブ情報をETC2.0対応車載器から路上に設置された路側装置にアップリンクし、サーバにて全国から収集したプローブ情報をビッグデータとして活用するサービスがある。   Currently, it is planned to provide various services (ETC2.0 service) using a communication function called ETC2.0. As one of the ETC 2.0 services, the probe information collected by the vehicle is uplinked from the ETC 2.0 compatible vehicle-mounted device to the roadside device installed on the road, and the probe information collected from the whole country by the server is used as big data There is service.

特許第4760532号公報Japanese Patent No. 4760532

ところで、アップリンクされるプローブ情報の中には、車載器が搭載された車両の走行履歴とその時の日時情報が含まれている。
日時情報については、GPS(Global Positioning System)機能付きETC2.0対応車載器では、GPS衛星から受信した航法メッセージを元に作成しているが、GPSシステムを利用した日時情報にはロールオーバーが発生するという問題がある。
By the way, the uplink probe information includes a travel history of the vehicle on which the vehicle-mounted device is mounted and date / time information at that time.
The date / time information is created based on navigation messages received from GPS satellites in ETC 2.0-equipped in-vehicle devices with GPS (Global Positioning System) function, but rollover occurs in date / time information using the GPS system. There is a problem of doing.

ロールオーバーが発生した場合、車載器内部の日時情報が誤動作してしまい、誤ったプローブ情報をアップリンクしてしまうという問題がある。
このような問題に対して、特許文献1では、地図データベース(地図情報)の日時情報を使用することを提案している。
When rollover occurs, there is a problem that date information in the vehicle-mounted device malfunctions and uplinks incorrect probe information.
For such a problem, Patent Document 1 proposes to use date and time information of a map database (map information).

しかしながら、特許文献1の技術では、地図情報の日時情報を使用する技術であることから、地図情報(ナビゲーション機能)を持たないETC2.0対応車載器では実施することができない。   However, since the technique of Patent Document 1 is a technique that uses date and time information of map information, it cannot be implemented with an on-board device that is compatible with ETC 2.0 and does not have map information (navigation function).

本発明は上記事情に鑑みてなされたもので、その目的は、GPS衛星からの航法メッセージを元に日時情報を生成する場合に、ロールオーバーに対処して正しい日時情報を生成することができる車載器及びGPS受信日時生成プログラムを提供することにある。   The present invention has been made in view of the above circumstances, and an object of the present invention is to mount correct date / time information in response to rollover when generating date / time information based on a navigation message from a GPS satellite. And providing a GPS reception date and time generation program.

請求項1の発明によれば、初期日時設定手段は、バックアップ手段が前回動作時にバックアップした前回GPS受信日時とセットアップ日時との内、最新の日時の方を初期日時に設定し、ロールオーバー判定手段は、初期日時とGPS航法メッセージにてロールオーバー判定を実施し、GPS受信日時生成手段は、ロールオーバーが発生していた場合は、ロールオーバー分に相当する期間を見込んで航法メッセージを元にGPS受信日時を生成するので、現在のGPS受信日時を正しく生成することができる。   According to the invention of claim 1, the initial date / time setting means sets the latest date / time among the previous GPS reception date / time and the setup date / time backed up by the backup means during the previous operation as the initial date / time. Performs rollover determination with the initial date and time and the GPS navigation message, and if the rollover has occurred, the GPS reception date and time generation means expects a period corresponding to the rollover and calculates the GPS based on the navigation message. Since the reception date / time is generated, the current GPS reception date / time can be correctly generated.

一実施形態における全体構成を示すブロック図The block diagram which shows the whole structure in one Embodiment ロールオーバーと週数との関係を示す図Diagram showing the relationship between rollover and weeks 制御部の動作を示すフローチャートFlow chart showing operation of control unit

以下、本発明の一実施形態について図面を参照して説明する。尚、本実施形態において記述する日時はグリニッジ標準時とする。
図1に示すETC車載器1は、図示しない車両に搭載されると共に、天空を航行するGPS衛星から送信されるGPS信号を受信し、そのGPS信号に基づき現在の日時を示すGPS受信日時を生成して所定のETCサービスを提供するものである。ETC車載器1は、GPS衛星から送信されるGPS信号を受信するGPS受信部2、ETC車載器1の各部を制御する制御部3(セットアップ日時特定手段、初期日時設定手段、変換手段、ロールオーバー判定手段、GPS受信日時生成手段、バックアップ手段、変更手段に相当)、不揮発性メモリ4、セットアップ情報DB5(記憶手段に相当)とを備えて構成されている。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. The date and time described in this embodiment is Greenwich Mean Time.
The ETC vehicle-mounted device 1 shown in FIG. 1 is mounted on a vehicle (not shown), receives a GPS signal transmitted from a GPS satellite that travels in the sky, and generates a GPS reception date and time indicating the current date and time based on the GPS signal. Thus, a predetermined ETC service is provided. The ETC vehicle-mounted device 1 includes a GPS receiving unit 2 that receives GPS signals transmitted from GPS satellites, and a control unit 3 that controls each unit of the ETC vehicle-mounted device 1 (setup date and time specifying means, initial date and time setting means, conversion means, rollover Determination means, GPS reception date and time generation means, backup means, and change means), a non-volatile memory 4, and setup information DB 5 (corresponding to storage means).

制御部3は、CPU3a、ROM3b、RAM3cからなる周知のマイクロコンピュータを備えて構成されている。
セットアップ情報DB5には、ETC車載器1を車両にセットアップするのに必要なセットアップ情報が記憶される。セットアップ情報としては、セットアップ日時、ナンバープレート情報(自動車検査証に記載されている自動車登録番号及び車両番号)、車検証(自動車検査証)情報(車両のサイズ、重量等)等である。
The control unit 3 includes a known microcomputer including a CPU 3a, a ROM 3b, and a RAM 3c.
The setup information DB 5 stores setup information necessary for setting up the ETC on-vehicle device 1 in the vehicle. The setup information includes setup date and time, license plate information (vehicle registration number and vehicle number described on the vehicle inspection certificate), vehicle verification (vehicle inspection certificate) information (vehicle size, weight, etc.), and the like.

セットアップ情報DB5には、セットアップ日時の有効範囲も記憶されている。このセットアップ日時の有効範囲とは、セットアップ日時が誤って設定されていた場合に対処するためのもので、例えば2015年1月4日(日)の午前0時から2035年3月17日(土)の23時59分59秒までに設定されている。つまり、2035年3月17日(土)の23時59分59秒までは、後述するようにロールオーバーが発生することなくGPS衛星からの航法メッセージを元にGPS受信日時を正しく生成することができるが、2035年3月18日(日)の午前0時以降においては、2035年3月18日(日)の午前0時に発生するロールオーバーの影響を受けてしまうからである。   The setup information DB 5 also stores an effective range of setup date and time. The effective range of the setup date / time is for dealing with the case where the setup date / time is set by mistake. For example, from midnight on January 4, 2015 (Sunday) to March 17, 2035 (Saturday) ) 23:59:59. In other words, until 23:59:59 on Saturday, March 17, 2035, the GPS reception date and time can be correctly generated based on the navigation message from the GPS satellite without rollover as described later. However, after midnight on March 18, 2035 (Sunday), it is affected by a rollover that occurs at midnight on March 18, 2035 (Sunday).

尚、セットアップ日時の有効範囲は図示しない外部装置から任意に設定可能となっており、2035年3月18日(日)の午前0時以降にETC車載器1を製造する場合、或いは現時点で製造したETC車載器1が2035年3月18日(日)の午前0時以降となった場合は、次のロールオーバーの発生日時までを有効範囲として記憶することで汎用性の高い構成となっている。   The effective range of the setup date and time can be arbitrarily set from an external device (not shown). When the ETC on-board device 1 is manufactured after midnight on March 18, 2035 (Sunday), or manufactured at the present time. If the ETC on-board device 1 is after midnight on March 18, 2035 (Sunday), it is a highly versatile configuration by storing the effective date and time until the next rollover occurrence date and time. Yes.

不揮発性メモリ4には前回動作時にバックアップしたGPS受信日時(以下、前回GPS受信日時)が記憶される。尚、不揮発性メモリ4の製造時には前回GPS受信日時の初期値として所定の固定日時が記憶される。この固定日時としては、製造年月日ではなく全ての製品に統一した代表日時であり、例えば2015年1月1日のように単純な日時を設定することにより、書込み時のエラーリスク低減と、書込み値の確認検査の精度向上を図るようにしている。   The nonvolatile memory 4 stores the GPS reception date and time (hereinafter, the previous GPS reception date and time) backed up during the previous operation. When the nonvolatile memory 4 is manufactured, a predetermined fixed date is stored as an initial value of the previous GPS reception date. As this fixed date and time, it is a representative date and time that is unified for all products, not the date of manufacture. For example, by setting a simple date and time such as January 1, 2015, the error risk at the time of writing is reduced. The accuracy of the written value confirmation inspection is improved.

さて、GPSシステムは、グリニッジ標準時における1980年1月6日の午前0時を計時の開始点(基準日時)とする時系で稼動しており、協定世界時(UTC:Coordinated Universal Time)と同じ長さの1秒を刻んでいる。つまり、同一タイミングから計時したGPSシステムでの経過秒数とUTCでの経過秒数とは完全に同一である。   Now, the GPS system is operating in a time system where the starting time (standard date and time) is midnight on January 6, 1980 in Greenwich Mean Time, and is the same as Coordinated Universal Time (UTC) The length of 1 second is inscribed. In other words, the elapsed seconds in the GPS system measured from the same timing and the elapsed seconds in UTC are completely the same.

GPS衛星が送信する航法メッセージには、GPSシステム上の基準日時からの経過時間を表すGPS航法メッセージが含まれる。GPS航法メッセージは、基準日時から計時して何週目であるかの週数を表す週番号と、その週番号が表す週の日曜日の午前0時から土曜日の23時59分59秒までの経過秒数を表す週内番号とから構成されている。このうち、週番号は10ビットデータで表現されており、第0週から第1023週まで(1024週(≒19.6年))を表現可能である。   The navigation message transmitted by the GPS satellite includes a GPS navigation message indicating the elapsed time from the reference date and time on the GPS system. The GPS navigation message is a week number indicating the week number of the week measured from the standard date and time, and the lapse from Sunday 00:00 to Saturday 23:59:59 on the week indicated by the week number It consists of a week number that represents the number of seconds. Among these, the week number is expressed by 10-bit data, and can express from the 0th week to the 1023rd week (1024 weeks (≈19.6 years)).

従って、GPS航法メッセージによれば、第0週目の始端日時である1980年1月6日(日)の午前0時から、第1023週目の終端日時である1999年8月21日(土)の午後11時59分59秒までは表現できるが、1999年8月22日(日)の午前0時以降の日時を表現することはできない。   Therefore, according to the GPS navigation message, from midnight on Sunday, January 6, 1980, which is the start date and time of the 0th week, to August 21, 1999 (Saturday), which is the end date and time of the 1023 week. ) Until 11:59:59 p.m., but cannot represent the date after midnight on August 22, 1999 (Sunday).

そして、1999年8月22日(日)の午前0時となると週番号はリセットされ、再び第0週目からカウントされることとなる。これがGPSシステムのロールオーバーであり、ロールオーバーが発生すると、GPS受信日時が実際の週数よりも1024週遡ぼるため、対策が必要となる。つまり、GPS航法メッセージを元に生成したGPS受信日時の上限日時は基準日時から約19.6年間であり、それ以降はロールオーバーに対する対策が必要となる。   Then, at midnight on August 22, 1999 (Sunday), the week number is reset and counted again from the 0th week. This is a rollover of the GPS system. When a rollover occurs, the GPS reception date and time goes back 1024 weeks from the actual number of weeks, so a countermeasure is required. That is, the upper limit date and time of the GPS reception date and time generated based on the GPS navigation message is about 19.6 years from the reference date and time, and after that, measures against rollover are required.

現時点(2015年)では、1回目のロールオーバーが発生していることから、GPS航法メッセージによる週数は実際の週数よりも1024週遡った週数となっている。
一方、GPSシステムの時系は、上述したようにUTCの時系と同じ高精度な時系であり、GPS航法メッセージは、西暦部分を除けば、正確な日時を表すデータである。
At the present time (2015), since the first rollover has occurred, the number of weeks by the GPS navigation message is 1024 weeks back from the actual number of weeks.
On the other hand, the time system of the GPS system is the same highly accurate time system as the time system of UTC as described above, and the GPS navigation message is data representing an accurate date and time except for the Western calendar part.

このような事情から、GPS受信日時を利用して各種サービスを提供する機器を製造する会社では、GPSシステム上の基準日時からオフセットして新たな基準日時(以下、新基準日時)を設定し、新基準日時からの経過時間を求めることでロールオーバーの発生を遅らせるようにしている。   For this reason, a company that manufactures equipment that provides various services using the GPS reception date and time sets a new reference date and time (hereinafter referred to as a new reference date and time) offset from the reference date and time on the GPS system, By finding the elapsed time from the new reference date and time, the occurrence of rollover is delayed.

即ち、新基準日時として例えば2015年8月2日(日)の午前0時を設定すると、GPS航法メッセージの週番号が示す週数は832となる。従って、GPS航法メッセージによる週数=832と、新基準日時に対応して変換した週数(以下、変換週数)=0とを対応付ける。同様にして、GPS航法メッセージによる週数=833〜1023、0〜831と、変換週数=1〜1023とを対応付けることで、GPS航法メッセージによる週数にロールオーバーが発生したかを考慮することなく現在の日時を特定することができる。つまり、現時点ではGPS航法メッセージによる週数と変換週数とは1対1との関係にあることから、GPS航法メッセージによる週数に基づいて、新基準日時からの週数を特定することが可能となるのである。   That is, if, for example, midnight on August 2, 2015 (Sunday) is set as the new reference date and time, the week number indicated by the week number of the GPS navigation message is 832. Therefore, the number of weeks by the GPS navigation message = 832 is associated with the number of weeks converted to the new reference date and time (hereinafter referred to as converted week number) = 0. Similarly, considering whether or not a rollover has occurred in the number of weeks due to the GPS navigation message by associating the number of weeks according to the GPS navigation message = 833 to 1023, 0 to 831 with the converted number of weeks = 1 to 1023 Current date and time can be specified. In other words, at the present time, there is a one-to-one relationship between the number of weeks in the GPS navigation message and the number of conversion weeks, so it is possible to specify the number of weeks from the new reference date based on the number of weeks in the GPS navigation message. It becomes.

具体的には、図2に示すように、現時点は、GPSシステム上の1回目のロールオーバー(1999年8月2日午前0時)と2回目のロールオーバー(2019年4月7日午前0時)との間であることから、週番号が表す週数Wは、真の週数W1から1024週遡った値W2となり、当該W2に対応する週数が変換週数となる。   Specifically, as shown in FIG. 2, at present, the current rollover on the GPS system (August 2, 1999 at midnight) and the second rollover (April 7, 2019 at midnight) Therefore, the week number W represented by the week number is a value W2 that goes back 1024 weeks from the true week number W1, and the week number corresponding to the W2 is the converted week number.

しかしながら、2015年8月2日(日)の午前0時から1024週経過して2035年3月18日(日)の午前0時となると、GPS航法メッセージによる週数が832に戻ることから、変換週数が0にリセットされてしまう。このため、変換週数上でロールオーバーが発生することになるので、GPS上の週数と変換週数とを対応付けることができなくなる。つまり、新基準日時を採用することにより変換週数上でロールオーバーが発生することを遅らせることができるものの、変換週数上でロールオーバーが発生した場合には、GPS上の週数に対して変換週数が一義的に対応しなくなってしまうのである。   However, when 1024 weeks have passed since midnight on Sunday, August 2, 2015 and midnight on Sunday, March 18, 2035, the number of weeks by the GPS navigation message returns to 832. The conversion week number is reset to zero. For this reason, rollover occurs on the conversion week number, and it becomes impossible to associate the week number on the GPS with the conversion week number. In other words, by adopting the new standard date and time, it is possible to delay the occurrence of rollover on the conversion week number, but when rollover occurs on the conversion week number, The number of conversion weeks will not be uniquely supported.

そこで、本実施形態では、次のようにして新基準日時を基準とする変換週報がロールオーバーの発生による影響を防止するようにした。
作業者は、ETC車載器1を車両にセットする際は、まず、ETC車載器1にセットアップ日時を含むセットアップ情報をセットアップ情報DB5に記憶する。
Therefore, in this embodiment, the conversion weekly report based on the new reference date and time is prevented from being affected by the occurrence of rollover as follows.
When the operator sets the ETC on-vehicle device 1 in the vehicle, first, the setup information including the setup date and time is stored in the setup information DB 5 in the ETC on-vehicle device 1.

作業者がETC車載器1を車両のセットアップした後に動作を確認するために車両のACCスイッチをオンすると、車両のバッテリからETC車載器1に給電されるので、制御部3が動作開始する。   When the operator turns on the ACC switch of the vehicle in order to confirm the operation after setting up the ETC on-vehicle device 1 in the vehicle, power is supplied from the vehicle battery to the ETC on-vehicle device 1, so that the control unit 3 starts to operate.

制御部3は、動作開始すると、図3に示すフローチャートを実行する。このフローチャートは、ETC車載器1の動作の内、GPS受信日時を生成する動作を示している。
制御部3は、セットアップ情報DB5から前回GPS受信日時の初期値(本実施形態では2015年1月1日)を読出すと共に(S1)、セットアップ日時を読出す(S2)。
When the operation starts, the control unit 3 executes the flowchart shown in FIG. This flowchart shows the operation of generating the GPS reception date / time among the operations of the ETC on-vehicle device 1.
The control unit 3 reads the initial value of the previous GPS reception date and time (in this embodiment, January 1, 2015) from the setup information DB 5 (S1) and reads the setup date and time (S2).

次に、セットアップ情報DB5から有効範囲(本実施形態では2015年1月4日(日)の午前0時から2035年3月17日(土)の23時59分59秒)を読出して確認する(S3)。作業者がセットアップ日時を有効範内で正しく設定した場合はセットアップ日時は有効であることから(S3:有効)、前回GPS受信日時とセットアップ日時とを比較する(S4)。ETC車載器1のセットアップ時は、前回GPS受信日時として2015年1月1日(日)の午前0時が記憶されており、セットアップ日時の方が最新であることから(前回GPS受信日時<セットアップ日時)、セットアップ日時を初期日時に設定する(S5)。   Next, the effective range (in this embodiment, from midnight on January 4, 2015 (Sunday) to 23:59:59 on Saturday, March 17, 2035) is read from the setup information DB 5 and confirmed. (S3). If the operator correctly sets the setup date and time within the valid range, the setup date and time is valid (S3: Valid), so the previous GPS reception date and time are compared with the setup date and time (S4). At the time of setup of the ETC OBE 1, since 1:00 am of Sunday, January 1, 2015 is stored as the previous GPS reception date and time, the setup date and time is the latest (previous GPS reception date and time <setup Date) and setup date and time are set to the initial date and time (S5).

次に、GPS航法メッセージの受信を開始し(S7)、GPS航法メッセージを受信すると(S8:YES)、初期日時とGPS航法メッセージにてロールオーバー判定を実施する(S9)。つまり、ロールオーバーが発生して変換週数がリセットすると、変換週数が前回GPS受信日時よりも過去の日時となることから、変換週数上でロールオーバーが発生したことを特定できるのである。   Next, reception of the GPS navigation message is started (S7). When the GPS navigation message is received (S8: YES), rollover determination is performed based on the initial date and time and the GPS navigation message (S9). That is, when the conversion week number is reset when a rollover occurs, the conversion week number becomes a date and time earlier than the previous GPS reception date and time, so that it is possible to specify that the rollover has occurred on the conversion week number.

次に、GPS受信日時を生成する(S10)。つまり、変換週数上でロールオーバーが発生していない場合は、上述したようにしてGPS航法メッセージを元にGPS受信日時を生成する。一方、2035年3月18日(日)の午前0時となり、変換週数上でロールオーバーが発生したことを特定した場合は、変換週数に1024週を加算することにより現在の週数を特定する。また、GPS航法メッセージのうち、週内番号から経過秒数を取得することにより、変換週数における日曜日の午前0時からの経過秒数を特定する。そして、新基準日時からの変換週数にGPS上の経過秒数を加算することで、正しいGPS受信日時を生成できる。   Next, a GPS reception date is generated (S10). That is, when rollover does not occur in the conversion week number, the GPS reception date and time is generated based on the GPS navigation message as described above. On the other hand, when it is midnight on March 18, 2035 (Sunday) and it is specified that a rollover has occurred on the conversion week number, the current week number is calculated by adding 1024 weeks to the conversion week number. Identify. Further, by acquiring the elapsed seconds from the week number in the GPS navigation message, the elapsed seconds from midnight on Sunday in the conversion week number are specified. And the correct GPS reception date and time can be generated by adding the elapsed number of seconds on the GPS to the conversion week number from the new reference date and time.

次に、上述したようにして生成したGPS受信日時を不揮発性メモリ4に記憶する(S11)。
制御部3は、2回目のACCスイッチのONにより給電されて動作すると、前回GPS受信日時とセットアップ日時とを比較した際に(S4)、前回GPS受信日時の方が最新であることから(前回GPS受信日時≧セットアップ日時)、前回GPS受信日時を初期日時に設定する(S6)。この場合、前回GPS受信日時は前回GPS受信日時の初期値よりも現在の日時に近くなることから、ロールオーバーの判定精度を高めることができる。
Next, the GPS reception date and time generated as described above is stored in the nonvolatile memory 4 (S11).
When the controller 3 is powered and operated by turning on the ACC switch for the second time, when the previous GPS reception date and time are compared with the setup date and time (S4), the previous GPS reception date and time is the latest (previous time). GPS reception date / time ≧ setup date / time), the previous GPS reception date / time is set as the initial date / time (S6). In this case, since the previous GPS reception date and time is closer to the current date and time than the initial value of the previous GPS reception date and time, the rollover determination accuracy can be improved.

そして、上述のようにしてロールオーバーが発生したかを判定し、変換週数と経過秒数に基づいてGPS受信日時を生成することで、GPS受信日時生成処理を実行することができる。
以後、ACCスイッチがONする毎に、上述した動作を繰返す。
Then, it is determined whether or not a rollover has occurred as described above, and the GPS reception date and time generation processing can be executed by generating the GPS reception date and time based on the conversion week number and the elapsed second number.
Thereafter, the above-described operation is repeated every time the ACC switch is turned on.

ところで、セットアップ情報は作業者の入力操作により設定されるものであるから、設定したセットアップ日時が誤っている場合がある。例えば、変換週数における次のロールオーバー発生日時(2035年3月18日(日)の午前0時)以降の日時を誤って設定してしまった場合、変換週数上ではロールオーバーが発生していないにも拘らずロールオーバーが発生したと判断してしまう。このような場合、変換週数に1024週を誤って加算してしまうので、誤ったGPS受信日時を生成してしまう。   By the way, since the setup information is set by the operator's input operation, the set setup date and time may be incorrect. For example, if the date and time after the next rollover occurrence date / time in conversion week number (Sunday, March 18, 2035 midnight) is set incorrectly, rollover will occur in conversion week number. Although it is not, it is determined that a rollover has occurred. In such a case, since 1024 weeks are mistakenly added to the conversion week number, an incorrect GPS reception date and time is generated.

そこで、本実施形態ではセットアップ日時として有効範囲を設定するようにした。この有効範囲としては、上述したように変換週数上でロールオーバーが発生するまでの日時が設定されている。つまり、セットアップ日時が有効範囲である限りロールオーバーが発生することはないので、GPS航法メッセージによる週数に基づいて正しい変換週数を特定してGPS受信日時を生成することができる。   Therefore, in this embodiment, the effective range is set as the setup date and time. As this effective range, the date and time until the rollover occurs on the conversion week number is set as described above. That is, as long as the setup date and time is within the valid range, rollover does not occur, and therefore, the GPS conversion date and time can be generated by specifying the correct conversion week number based on the week number by the GPS navigation message.

尚、変換週数上で2回目以降のロールオーバーが発生した場合は、本実施形態の構成では正確なGPS受信日時を生成することはできないが、変換週数上で2回目のロールオーバーが発生するのは現時点からがほぼ40年後であり、製品寿命を考慮すると製品としての信頼性を十分に保証することができる。   If the second or later rollover occurs in the conversion week number, the configuration of this embodiment cannot generate an accurate GPS reception date and time, but the second rollover occurs in the conversion week number. This is after about 40 years from the present time, and the reliability of the product can be sufficiently ensured considering the product life.

このような実施形態によれば、次のような効果を奏することができる。
ETC車載器1は、前回動作時にバックアップした前回GPS受信日時とセットアップ日時との内、最新の日時の方を初期日時に設定してから、初期日時とGPS航法メッセージにてロールオーバー判定を実施し、ロールオーバーが発生していた場合は、ロールオーバー分に相当する期間を見込んで航法メッセージを元にGPS受信日時を生成するので、現在のGPS受信日時を正しく生成することができる。
According to such an embodiment, the following effects can be produced.
The ETC OBE 1 sets the latest date / time among the previous GPS reception date / time and the setup date / time backed up during the previous operation as the initial date / time, and then performs rollover determination using the initial date / time and GPS navigation message. When rollover has occurred, the GPS reception date and time is generated based on the navigation message in anticipation of the period corresponding to the rollover, so that the current GPS reception date and time can be correctly generated.

前回GPS受信日時の初期値として変換週数上のロールオーバーまでの間の所定の固定値を設定したので、セットアップ後の最初の動作時のために前回GPS受信日時が記憶されていない場合であっても、現在のGPS受信日時を正しく生成することができる。   This is a case where the previous GPS reception date / time is not stored for the first operation after setup because a predetermined fixed value until the rollover on the conversion week number is set as the initial value of the previous GPS reception date / time. However, the current GPS reception date and time can be correctly generated.

セットアップ日時に有効範囲を設定し、セットアップ日時が有効範囲から外れている場合はセットアップ日時が誤っていると判断し、セットアップ日時に代えて前回GPS受信日時の初期値を初期日時に設定するようにしたので、作業者がセットアップ日時を誤って設定した場合であっても、ロールオーバーの判定を正確に行うことができる。
セットアップ日時の有効範囲を外部から設定可能としたので、ETC車載器1の汎用性を高めることができる。
Set a valid range for the setup date and time, and if the setup date and time is outside the valid range, determine that the setup date and time is incorrect, and set the initial value of the previous GPS reception date and time as the initial date and time instead of the setup date and time. Therefore, even if the operator sets the setup date and time incorrectly, the rollover can be determined accurately.
Since the effective range of the setup date and time can be set from the outside, the versatility of the ETC on-vehicle device 1 can be improved.

(その他の実施形態)
本発明は、上記実施形態に限定されることなく、次のように変形または拡張できる。
セットアップ日時の有効範囲は変換週数上のロールオーバーの発生日時の直前に限定されることはなく、ロールオーバーの発生日時までであれば任意の日時を設定することができる。
(Other embodiments)
The present invention is not limited to the above embodiment, and can be modified or expanded as follows.
The valid range of the setup date / time is not limited to immediately before the rollover occurrence date / time on the conversion week number, and any date / time can be set up to the rollover occurrence date / time.

GPS受信日時の初期値としては、製品に統一した固定値に限定されることなく、変換週数上のロールオーバーまでの日時であれば、製品毎或いはロット毎に設定しても良いし、製造日時としても良い。
本発明をナビゲーション装置に適用しても良い。この場合、地図データの日時情報を参照するようにしても良い。
The initial value of the GPS reception date / time is not limited to a fixed value unified to the product, and may be set for each product or lot as long as it is the date / time until the rollover on the conversion week number. It is good as date and time.
The present invention may be applied to a navigation device. In this case, the date / time information of the map data may be referred to.

図面中、1はETC車載器(車載器)、3は制御部(セットアップ日時特定手段、初期日時設定手段、変換手段、ロールオーバー判定手段、GPS受信日時生成手段、バックアップ手段、変更手段)、5はセットアップ情報DB(記憶手段)である。   In the drawings, 1 is an ETC vehicle-mounted device (vehicle-mounted device), 3 is a control unit (setup date / time specifying means, initial date / time setting means, conversion means, rollover determination means, GPS reception date / time generation means, backup means, change means), 5 Is a setup information DB (storage means).

Claims (5)

セットアップ情報を記憶する記憶手段(5)と、
前記セットアップ情報に含まれるセットアップ日時を特定するセットアップ日時特定手段(3)と、
前回動作時にバックアップした前回GPS受信日時と前記セットアップ日時との内、最新の日時の方を初期日時に設定する初期日時設定手段(3)と、
GPS衛星から受信した航法メッセージの週番号が示す週数を新たに設定した基準日時に対応した週数(以下、変換週数)に変換する変換手段(3)と、
前記初期日時と前記変換週数とを比較することによりロールオーバーを判定するロールオーバー判定手段(3)と、
前記ロールオーバーの判定結果と前記変換週数とを元にGPS受信日時を生成するGPS受信日時生成手段(3)と、
前記GPS受信日時を前記前回GPS受信日時としてバックアップするバックアップ手段(3)と、
を備える車載器。
Storage means (5) for storing setup information;
A setup date and time specifying means (3) for specifying a setup date and time included in the setup information;
An initial date and time setting means (3) for setting the latest date and time as the initial date and time among the previous GPS reception date and time set up during the previous operation and the setup date and time;
Conversion means (3) for converting the week number indicated by the week number of the navigation message received from the GPS satellite into a week number corresponding to the newly set reference date and time (hereinafter referred to as conversion week number);
Rollover determination means (3) for determining rollover by comparing the initial date and time and the conversion week number;
GPS reception date and time generation means (3) for generating a GPS reception date and time based on the rollover determination result and the conversion week number;
Backup means (3) for backing up the GPS reception date and time as the previous GPS reception date and time,
On-vehicle device equipped with.
前記前回GPS受信日時は、初期値として変換週数上のロールオーバーまでの間の所定の固定値が設定されている請求項1に記載の車載器。   The on-vehicle device according to claim 1, wherein the previous GPS reception date and time is set to a predetermined fixed value until a rollover on the conversion week number as an initial value. 前記GPS受信日時生成手段は、前記セットアップ日時が次のロールオーバーが発生しない所定の有効範囲かを確認し、有効範囲でない場合はセットアップ日時に代えて前記GPS受信日時を初期日時に設定する請求項1または2に記載の車載器。   The GPS reception date and time generating means confirms whether the setup date and time is within a predetermined effective range where the next rollover does not occur, and sets the GPS reception date and time as an initial date and time instead of the setup date and time if not within the effective range. The vehicle-mounted device according to 1 or 2. さらに、外部からの指令に応じて前記有効範囲を変更する変更手段を備える請求項3に記載の車載器。   Furthermore, the onboard equipment of Claim 3 provided with the change means which changes the said effective range according to the command from the outside. セットアップ情報を記憶する手順と、
前記セットアップ情報に含まれるセットアップ日時を特定する手順と、
前回動作時にバックアップした前回GPS受信日時と前記セットアップ日時との内、最新の日時の方を初期日時に設定する手順と、
GPS衛星から受信した航法メッセージの週番号が示す週数を新たに設定した基準日時に対応した週数(以下、変換週数)に変換する手順と、
前記初期日時と前記変換週数とを比較することによりロールオーバーを判定する手順と、
前記ロールオーバーの判定結果と前記変換週数とを元にGPS受信日時を生成する手順と、
前記GPS受信日時を前記前回GPS受信日時としてバックアップする手順と、
を実行するGPS受信日時生成プログラム。
A procedure for storing setup information;
A procedure for specifying a setup date and time included in the setup information;
Among the previous GPS reception date and time and the setup date and time backed up during the previous operation, the latest date and time is set as the initial date and time,
A procedure for converting the number of weeks indicated by the week number of the navigation message received from the GPS satellite into the number of weeks corresponding to the newly set reference date (hereinafter referred to as conversion week number);
A procedure for determining a rollover by comparing the initial date and time and the conversion week number;
A procedure for generating a GPS reception date and time based on the rollover determination result and the conversion week number,
Backing up the GPS reception date and time as the previous GPS reception date and time,
GPS reception date and time generation program for executing
JP2015171941A 2015-09-01 2015-09-01 OBE and GPS reception date / time generation program Active JP6421728B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015171941A JP6421728B2 (en) 2015-09-01 2015-09-01 OBE and GPS reception date / time generation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015171941A JP6421728B2 (en) 2015-09-01 2015-09-01 OBE and GPS reception date / time generation program

Publications (2)

Publication Number Publication Date
JP2017049088A JP2017049088A (en) 2017-03-09
JP6421728B2 true JP6421728B2 (en) 2018-11-14

Family

ID=58278756

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015171941A Active JP6421728B2 (en) 2015-09-01 2015-09-01 OBE and GPS reception date / time generation program

Country Status (1)

Country Link
JP (1) JP6421728B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11709277B2 (en) 2020-03-23 2023-07-25 Caterpillar Inc. Software-based time rollover detection

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3614713B2 (en) * 1999-06-09 2005-01-26 日本無線株式会社 Date and time identification method and GPS receiver
JP2002090441A (en) * 2000-09-20 2002-03-27 Clarion Co Ltd Gps receiving device
JP5310426B2 (en) * 2009-09-15 2013-10-09 セイコーエプソン株式会社 Electronic clock and time correction method of electronic clock
JP6015694B2 (en) * 2014-03-13 2016-10-26 カシオ計算機株式会社 Radio clock

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11709277B2 (en) 2020-03-23 2023-07-25 Caterpillar Inc. Software-based time rollover detection

Also Published As

Publication number Publication date
JP2017049088A (en) 2017-03-09

Similar Documents

Publication Publication Date Title
WO2016116991A1 (en) In-vehicle unit and in-vehicle unit diagnosis system
US10928205B2 (en) In-vehicle device and vehicle
US20200183674A1 (en) On-board update device, on-board update system, and communication device update method
US7711481B2 (en) Navigation system
JP2009152922A (en) Data communication device for remote diagnostic system for vehicle
US8103404B2 (en) System and method for odometer calibration
JP7172411B2 (en) Real-time clock devices, electronic devices and moving bodies
CN110488330B (en) Vehicle positioning method and device, vehicle and computer readable storage medium
JP6878982B2 (en) In-vehicle device
JP6421728B2 (en) OBE and GPS reception date / time generation program
CN105959409B (en) Vehicle mileage capturing and transmitting device and method
JP2019159600A (en) Master electronic control device for vehicle, slave electronic control device for vehicle, log collection system for vehicle and log collection program for vehicle
JP6350911B2 (en) In-vehicle devices connected to the in-vehicle network
JP4915546B2 (en) Synchronization signal generator and synchronization signal generation method
JP6988691B2 (en) Driving support device, driving support method and computer program
KR101758675B1 (en) Testing Apparatus and Method For Map Matching Feedback Function of Global Navigation Satellite System module
JP2007114120A (en) Device and method for generating synchronization signal
US20140316689A1 (en) Electronic device and anticollision alarming method
RU2567700C1 (en) Electronic digital tachograph
JP2010230309A (en) Navigation system
WO2023074242A1 (en) Onboard device and onboard device autognosis method
JP2017228103A (en) Control device, program distribution method, and computer program
WO2023074244A1 (en) On-board device and method for positioning on-board device
CN114667241A (en) In-vehicle information processing device, program execution restriction method, and computer program
US20210056785A1 (en) Method for Operating a Motor Vehicle Accident Data Memory and Accident Data Memory System

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171109

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180912

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180918

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181001

R151 Written notification of patent or utility model registration

Ref document number: 6421728

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250