JP7451062B2 - In-vehicle device - Google Patents

In-vehicle device Download PDF

Info

Publication number
JP7451062B2
JP7451062B2 JP2021164640A JP2021164640A JP7451062B2 JP 7451062 B2 JP7451062 B2 JP 7451062B2 JP 2021164640 A JP2021164640 A JP 2021164640A JP 2021164640 A JP2021164640 A JP 2021164640A JP 7451062 B2 JP7451062 B2 JP 7451062B2
Authority
JP
Japan
Prior art keywords
data
vehicle
ecu
communication terminal
mobile communication
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
JP2021164640A
Other languages
Japanese (ja)
Other versions
JP2023055347A (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.)
Daihatsu Motor Co Ltd
Original Assignee
Daihatsu Motor Co Ltd
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 Daihatsu Motor Co Ltd filed Critical Daihatsu Motor Co Ltd
Priority to JP2021164640A priority Critical patent/JP7451062B2/en
Publication of JP2023055347A publication Critical patent/JP2023055347A/en
Application granted granted Critical
Publication of JP7451062B2 publication Critical patent/JP7451062B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Description

本発明は、車両のデータを携帯通信端末を介して無線通信で外部に送信する車載装置に関する。 The present invention relates to an in-vehicle device that transmits vehicle data to the outside via wireless communication via a mobile communication terminal.

従来、車両の走行データを車載装置から外部のサーバに送信することで、当該車両の走行データを収集するシステムがある。例えば、特許文献1に記載のシステムは、車載装置がアクセルペダルの操作状態、ブレーキペダルの操作状態、車両の進行方向、イグニッションスイッチの状態、GPS(Global Positioning System)衛星が送信したGPS信号に基づいた車両の現在位置などの走行データを蓄積するとともに、該走行データを外部のサーバに送信する。また、車載装置は、走行データから生成されたデータを外部のサーバから受信し、当該生成データに基づいて、車両が走行している道路が常用道であるか否かを判定する。 BACKGROUND ART Conventionally, there is a system that collects driving data of a vehicle by transmitting the driving data of the vehicle from an in-vehicle device to an external server. For example, in the system described in Patent Document 1, an in-vehicle device uses the operating state of the accelerator pedal, the operating state of the brake pedal, the traveling direction of the vehicle, the state of the ignition switch, and the GPS signal transmitted by a GPS (Global Positioning System) satellite. The system accumulates travel data such as the current location of the vehicle and transmits the travel data to an external server. The in-vehicle device also receives data generated from the travel data from an external server, and determines whether the road on which the vehicle is traveling is a regular road based on the generated data.

特開2014-191802号公報Japanese Patent Application Publication No. 2014-191802

ところで、特許文献1のように、外部に車両に関するデータを送信する通信システムにおいて、車載装置に接続された携帯通信端末を介して外部のサーバに送信する構成も考えられる。しかしながらこの構成によると、車両の電源がオンになってから携帯通信端末と通信可能になるまでの間は、車両に関するデータを外部のサーバに送信できないおそれがある。 By the way, as in Patent Document 1, in a communication system that transmits vehicle-related data to the outside, a configuration in which the data is transmitted to an external server via a mobile communication terminal connected to an in-vehicle device is also conceivable. However, with this configuration, data regarding the vehicle may not be transmitted to the external server from the time the vehicle is powered on until the vehicle becomes capable of communicating with the mobile communication terminal.

本発明は、上記した課題を鑑みてなされたものであり、車両に関するデータを携帯通信端末を介して外部に送信可能な車載装置において、車両の電源がオンになった直後のデータを外部に送信できるようにすることを目的とする。 The present invention has been made in view of the above problems, and is an in-vehicle device capable of transmitting vehicle-related data to the outside via a mobile communication terminal, which transmits data to the outside immediately after the vehicle is powered on. The purpose is to make it possible.

前記の目的を達成するため、本発明にかかる車載装置は、電子制御装置から送信されるデータを受信し、通信可能に接続された携帯通信端末を介して、受信した前記データを無線通信により外部に送信する車載装置において、前記車載装置は、前記電子制御装置から受信した受信データを記憶するメモリを有し、車両の電源がオンになってから前記携帯通信端末と通信可能な状態になるまでの間の前記受信データを蓄積して前記メモリに記憶させ、前記携帯通信端末と通信可能になったときに当該蓄積した前記受信データを前記携帯通信端末を介して外部に送信し、前記車両の電源がオンになってから、前記携帯通信端末が前記車載装置と通信可能な状態になるまでに前記受信データの記憶量が前記メモリの容量の上限に達した場合は、前記車両の電源がオンになってから所定時間経過するまでの間の前記受信データは残しつつ、前記所定時間経過後の前記受信データは、前記メモリに記憶されている古い前記受信データを、新しい前記受信データに上書きして記憶させることを特徴としている(請求項1)。 In order to achieve the above object, an in-vehicle device according to the present invention receives data transmitted from an electronic control device, and transmits the received data to an external device by wireless communication via a communicably connected mobile communication terminal. In the in-vehicle device, the in-vehicle device has a memory that stores the received data received from the electronic control device, and the in-vehicle device has a memory that stores the received data received from the electronic control device, and the in-vehicle device transmits data from the time when the power of the vehicle is turned on until the time when it becomes possible to communicate with the mobile communication terminal. The received data during the period is accumulated and stored in the memory, and when communication with the mobile communication terminal becomes possible, the accumulated received data is transmitted to the outside via the mobile communication terminal , and the data is stored in the memory. If the storage amount of the received data reaches the upper limit of the memory capacity after the power is turned on and before the mobile communication terminal becomes able to communicate with the in-vehicle device, the power of the vehicle is turned on. The received data from the time when the predetermined time has elapsed is retained, but the received data after the predetermined time overwrites the old received data stored in the memory with the new received data. ( Claim 1)

また、前記車載装置は、前記受信データに時刻情報を併せて記憶させるようにしてもよい(請求項)。 Further, the in-vehicle device may store time information together with the received data (Claim 2 ).

請求項1に係る発明によれば、車両の電源がオンになってから携帯通信端末と通信可能な状態になるまでという車両の挙動変動が激しい期間のデータ(電子制御装置からの送信データ)を携帯通信端末を介して外部に送信できる。これにより、外部では当該期間のデータを分析などに活用することができる。また、車載装置に外部との通信機能を持たせる必要がないため、車載装置のコストの削減を図ることができる。また、高価な大容量メモリを用いることなく、車載装置のメモリの容量が限られた中で、車両の挙動変動が激しい期間のデータと、最新の受信データとを残すことができる。 According to the invention according to claim 1, data (transmitted data from the electronic control unit) during a period when the behavior of the vehicle fluctuates rapidly, from when the vehicle is powered on until the vehicle becomes capable of communicating with a mobile communication terminal, is transmitted. It can be sent externally via a mobile communication terminal. This allows external parties to utilize the data for that period for analysis, etc. Furthermore, since it is not necessary to provide the in-vehicle device with a communication function with the outside, it is possible to reduce the cost of the in-vehicle device. Moreover, without using an expensive large-capacity memory, it is possible to preserve data from a period when the vehicle's behavior fluctuates sharply and the latest received data, even though the memory capacity of the on-vehicle device is limited.

請求項2に係る発明によれば、受信データに時刻情報を付与することができ、当該受信データが車両の挙動変動が激しい期間のデータなのか、最新のデータなのか等のデータの属性を判別することができる。 According to the invention according to claim 2 , time information can be added to the received data, and the attributes of the data can be determined, such as whether the received data is data from a period when the behavior of the vehicle is drastically fluctuating, or whether it is the latest data. can do.

本発明の一実施形態に係る車両用通信システムの概略構成図である。1 is a schematic configuration diagram of a vehicle communication system according to an embodiment of the present invention. 車載機のデータ通信の流れを説明するための図である。FIG. 3 is a diagram for explaining the flow of data communication of the on-vehicle device. 車載機のメモリへのデータの記憶態様の一例を示す図である。FIG. 3 is a diagram illustrating an example of how data is stored in a memory of an on-vehicle device.

本発明の一実施形態にかかる車両用通信システムについて、図1~図2を参照して説明する。なお、図1は本発明の一実施形態の車両用通信システムの構成図、図2は車載機のデータ通信の流れを説明するための図、図3は車載機のメモリへのデータの記憶態様の一例を示す図である。 A vehicle communication system according to an embodiment of the present invention will be described with reference to FIGS. 1 and 2. Note that FIG. 1 is a configuration diagram of a vehicle communication system according to an embodiment of the present invention, FIG. 2 is a diagram for explaining the flow of data communication in the vehicle-mounted device, and FIG. 3 is a diagram showing how data is stored in the memory of the vehicle-mounted device. It is a figure showing an example.

(車両の電気的構成)
本発明の一実施形態にかかる車両用通信システムは、車両1から取得した各種データを携帯通信端末装置7を介して外部サーバ8に送信する無線通信システムであり、車両1に搭載された車載機2と、車両1の各種制御を行う複数のECU(ECU_A3,ECU_B4,ECU_C5)と、携帯通信端末装置7と、外部サーバ8とを備える。
(Electrical configuration of vehicle)
A vehicle communication system according to an embodiment of the present invention is a wireless communication system that transmits various data acquired from a vehicle 1 to an external server 8 via a mobile communication terminal device 7. 2, a plurality of ECUs (ECU_A3, ECU_B4, ECU_C5) that perform various controls of the vehicle 1, a mobile communication terminal device 7, and an external server 8.

車両1は、エンジンを駆動源とする自動車である。エンジンの動力は、変速機を介して、左右の駆動輪に伝達される。変速機は、無段変速機であってもよいし、有段式の自動変速機であってもよいし、手動変速機であってもよい。また、電気モータを駆動源とする電気自動車やハイブリッド車であってもよい。 Vehicle 1 is an automobile that uses an engine as a driving source. The power from the engine is transmitted to the left and right drive wheels via the transmission. The transmission may be a continuously variable transmission, a stepped automatic transmission, or a manual transmission. Further, it may be an electric vehicle or a hybrid vehicle that uses an electric motor as a driving source.

各ECU(ECU_A3,ECU_B4,ECU_C5:本発明の「電子制御装置」に相当)は、いずれもマイコンを含む構成であり、各種制御プログラムを実行するCPUと、制御プログラムや必要なデータを記憶するメモリなどが内蔵されている。また、各ECU(ECU_A3,ECU_B4,ECU_C5)および車載機2は、バス6に接続されて互いにCAN(Controller Area Network)通信プロトコルによる双方向通信が可能に接続されている。 Each ECU (ECU_A3, ECU_B4, ECU_C5: equivalent to the "electronic control unit" of the present invention) is configured to include a microcomputer, and includes a CPU that executes various control programs and a memory that stores control programs and necessary data. etc. are built-in. Further, each ECU (ECU_A3, ECU_B4, ECU_C5) and the on-vehicle device 2 are connected to a bus 6 so as to be able to perform two-way communication with each other using a CAN (Controller Area Network) communication protocol.

各ECU(ECU_A3,ECU_B4,ECU_C5)の例としては、例えば、車両1のドアやウィンカー等の車載電装品の動作の制御を行うボディECU、ステレオカメラなどの前方認識手段(車両周囲の物標を認識する外界認識手段)からの映像に基づいて、障害物(物標)との距離や相対速度の算出や、当該障害物との衝突可能性を判断するカメラECU、エンジンの出力制御を行うエンジンECU、ブレーキ制御を行うVSC-ECU、エンジンのスロットル開閉度や燃料インジェクタによる燃料の噴射量の制御を行うEFI-ECUなどが挙げられる。 Examples of each ECU (ECU_A3, ECU_B4, ECU_C5) include a body ECU that controls the operation of in-vehicle electrical components such as the doors and turn signals of the vehicle 1, and a forward recognition means such as a stereo camera (which detects targets around the vehicle). A camera ECU that calculates the distance and relative speed to obstacles (targets) and determines the possibility of collision with the obstacles based on images from external world recognition means), and an engine that controls engine output. Examples include an ECU, a VSC-ECU that performs brake control, and an EFI-ECU that controls the throttle opening/closing degree of the engine and the amount of fuel injected by a fuel injector.

なお、各種ECU(ECU_A3,ECU_B4,ECU_C5)は、その制御に用いる車速センサ、アクセル開度センサ、操舵角センサからの情報や、イグニッションスイッチがONになった時刻に関する情報、エンジン水温を特定可能な情報などの各種情報をCAN通信を介して取得可能に構成されている。 The various ECUs (ECU_A3, ECU_B4, ECU_C5) can specify information from the vehicle speed sensor, accelerator opening sensor, and steering angle sensor used for control, information regarding the time when the ignition switch was turned on, and engine water temperature. It is configured to be able to acquire various information such as information via CAN communication.

車載機2(本発明の「車載装置」に相当)は、各種ECU(ECU_A3,ECU_B4,ECU_C5)から種々のデータ(本発明の「受信データ」に相当)を取得して、これらのデータの中から特定のデータ(複数のデータ)携帯通信端末装置7を介して外部サーバ8に送信するとともに、外部サーバ8から送信された情報を携帯通信端末装置7を介して受信可能に構成されており、CPU2aと、メモリ2bと、送受信回路2cとを備える。 The on-vehicle device 2 (equivalent to the "on-vehicle device" of the present invention) acquires various data (equivalent to "received data" of the present invention) from various ECUs (ECU_A3, ECU_B4, ECU_C5), and reads the data in these data. It is configured to be able to transmit specific data (a plurality of data) from the mobile communication terminal device 7 to the external server 8 and to receive information transmitted from the external server 8 via the mobile communication terminal device 7. It includes a CPU 2a, a memory 2b, and a transmitting/receiving circuit 2c.

CPU2aは、各種制御プログラムを実行するとともに、各種ECU(ECU_A3,ECU_B4,ECU_C5)から取得した各種データを送受信回路2cから携帯通信端末装置7を介して外部サーバ8に送信する際の送信制御などを行う。また、メモリ2bは、CPU2aが実行する制御プログラムを記憶するROM部と、各ECU(ECU_A3,ECU_B4,ECU_C5)から取得したデータを一時的に記憶するRAM部とを備える。 The CPU 2a executes various control programs and also performs transmission control when transmitting various data acquired from various ECUs (ECU_A3, ECU_B4, ECU_C5) from the transmitting/receiving circuit 2c to the external server 8 via the mobile communication terminal device 7. conduct. The memory 2b also includes a ROM section that stores a control program executed by the CPU 2a, and a RAM section that temporarily stores data acquired from each ECU (ECU_A3, ECU_B4, ECU_C5).

車載機2から携帯通信端末装置7を介して外部サーバ8に送信するデータ(アップロードデータ)としては、例えば、イグニッションスイッチがOFFに切り替えられたときの車両1の位置を示すデータ、ガソリン残量データ、エンジン水温データ、バッテリ残量データ、バッテリ残量がアイドリングストップの許可条件を満たすのに要した時間、外気温データ、車両1のドアのロック状態を示すデータ、ワイパーの状態(ハイスピードまたはロースピードなど)、車速データ、故障データ、アクセルペダルの操作状態、ブレーキペダルの操作状態、各種スイッチのON/OFF状態、解析用データ、ABSの作動状態、車両1の各種制御状態、シートベルト着用の有無などがある。なお、車載機2は、バッテリ残量データを、例えば、各ECU(ECU_A3,ECU_B4,ECU_C5)のいずれかが検出したバッテリ電流値に基づいて算出することができる。 The data (upload data) transmitted from the on-vehicle device 2 to the external server 8 via the mobile communication terminal device 7 includes, for example, data indicating the position of the vehicle 1 when the ignition switch is turned OFF, and remaining gasoline data. , engine water temperature data, remaining battery power data, time required for the remaining battery power to satisfy the idling stop permission conditions, outside temperature data, data indicating the locked state of vehicle 1's doors, wiper state (high speed or low speed), speed, etc.), vehicle speed data, failure data, accelerator pedal operation status, brake pedal operation status, ON/OFF status of various switches, analysis data, ABS operation status, various control status of vehicle 1, seat belt wearing status. There is presence or absence. Note that the on-vehicle device 2 can calculate the battery remaining amount data based on, for example, the battery current value detected by any of the ECUs (ECU_A3, ECU_B4, ECU_C5).

また、この実施形態では、車載機2にはGPS(Global Positioning System)アンテナが搭載されており、当該アンテナから時刻情報を取得可能になっている。なお、これらのデータは一例であり、各ECU(ECU_A3,ECU_B4,ECU_C5)から取得したその他のデータも送信されるようにしてもよい。 Further, in this embodiment, the vehicle-mounted device 2 is equipped with a GPS (Global Positioning System) antenna, and time information can be acquired from the antenna. Note that these data are just examples, and other data acquired from each ECU (ECU_A3, ECU_B4, ECU_C5) may also be transmitted.

また、車載機2から携帯通信端末装置7を介して外部サーバ8に送信するデータは、その種類に応じて一定周期(例えば90秒周期)で送信されるものと、所定の条件が成立したときにその都度送信されるものとがある。 Furthermore, the data sent from the on-vehicle device 2 to the external server 8 via the mobile communication terminal device 7 may be sent at fixed intervals (for example, 90 second intervals) depending on the type, or when a predetermined condition is met. There are some that are sent each time.

なお、車載機2が各ECU(ECU_A3,ECU_B4,ECU_C5)から取得したデータは、例えば、送受信回路2cの送信バッファで記憶され、外部サーバ8(携帯通信端末装置7)に送信される。 Note that the data acquired by the in-vehicle device 2 from each ECU (ECU_A3, ECU_B4, ECU_C5) is stored, for example, in a transmission buffer of the transmission/reception circuit 2c, and transmitted to the external server 8 (mobile communication terminal device 7).

車載機2は、例えば、車両1に搭載される、いわゆるディスプレイオーディオやナビゲーション装置などを用いることができる。 The vehicle-mounted device 2 can be, for example, a so-called display audio device, a navigation device, or the like mounted on the vehicle 1.

携帯通信端末装置7(本発明の「携帯通信端末」に相当)は、例えば、スマートフォンなどの通信機能有する携帯通信端末であり、例えば、外部サーバ8とはモバイルデータ通信(携帯電話網)またはWiFi通信などで接続する。また、車載機2とは、例えば、Bluetooth(登録商標)などの短距離無線通信により通信を行う。なお、携帯通信端末装置7と車載機2とをUSBなどによる有線接続により通信を行うようにしてもよい。 The mobile communication terminal device 7 (corresponding to the "mobile communication terminal" of the present invention) is, for example, a mobile communication terminal having a communication function such as a smartphone. Connect via communication, etc. Further, the vehicle-mounted device 2 communicates with the vehicle-mounted device 2 by, for example, short-range wireless communication such as Bluetooth (registered trademark). Note that the mobile communication terminal device 7 and the vehicle-mounted device 2 may communicate with each other through a wired connection using a USB or the like.

携帯通信端末装置7と車載機2とは、一度ペアリング設定を行うと、その後は両者の電源がともにONであり、両者の距離が一定の通信範囲内にあれば自動接続される。したがって、車両1の電源がOFFの状態では、車載機2にも電源が供給されておらず、携帯通信端末装置7との通信ができない。また、車載機2に電源が供給開始されても、車載機2にインストールされた各アプリケーションの立ち上がりが完了し、後述の自動接続処理が完了するまで携帯通信端末装置7との通信ができないこともある。 Once the pairing setting is performed between the mobile communication terminal device 7 and the vehicle-mounted device 2, if both are powered on and the distance between the two is within a certain communication range, they will be automatically connected. Therefore, when the power of the vehicle 1 is OFF, power is not supplied to the on-vehicle device 2, and communication with the mobile communication terminal device 7 is not possible. Furthermore, even if power is started to be supplied to the on-vehicle device 2, communication with the mobile communication terminal device 7 may not be possible until the startup of each application installed on the on-vehicle device 2 is completed and the automatic connection process described below is completed. be.

イグニッションスイッチがOFFからONに切り換えられると車両1に電源が供給され、これに伴って車載機2も電源が供給される。車載機2に電源が供給されると、車載機2と携帯通信端末装置7との間で自動接続処理が行われ、当該処理が終了すると車載機2と携帯通信端末装置7との間で通信が可能な状態になる。すなわち、車両1に電源が供給されても直ちに車載機2と携帯通信端末装置7との間で通信が可能になるわけではなく、自動接続処理の完了により両者の通信が可能になる。 When the ignition switch is switched from OFF to ON, power is supplied to the vehicle 1, and accordingly, power is also supplied to the on-vehicle device 2. When power is supplied to the on-vehicle device 2, automatic connection processing is performed between the on-vehicle device 2 and the mobile communication terminal device 7, and when the process is completed, communication between the on-vehicle device 2 and the mobile communication terminal device 7 is performed. becomes possible. That is, even if power is supplied to the vehicle 1, communication between the on-vehicle device 2 and the mobile communication terminal device 7 is not immediately enabled, but communication between the two becomes possible after the automatic connection process is completed.

車載機2は、イグニッションスイッチのONに伴って電源が供給されると、起動処理が開始され、当該処理が完了すると、各ECU(ECU_A3,ECU_B4,ECU_C5)から各種データの取得を開始する。CPU2aは、車載機2の電源がオンになって起動開始してから携帯通信端末装置7との自動接続処理が完了するまでに取得したデータは、メモリ2bに設けられたデータ蓄積領域に記憶させる。すなわち、各ECUの起動完了は、車載機2が起動完了して上記自動接続処理が完了するまでよりも早い。 When the in-vehicle device 2 is supplied with power as the ignition switch is turned on, a startup process is started, and when the process is completed, it starts acquiring various data from each ECU (ECU_A3, ECU_B4, ECU_C5). The CPU 2a stores data acquired from the time when the in-vehicle device 2 is powered on and starts booting until the automatic connection process with the mobile communication terminal device 7 is completed in a data storage area provided in the memory 2b. . That is, the completion of starting of each ECU is earlier than the time until the completion of starting of the on-vehicle device 2 and the completion of the automatic connection process.

データ蓄積領域には、所定の容量が設定されている。そのため、車載機2の電源がオンになってから携帯通信端末装置7との自動接続処理が完了するまでに長時間を要すると、各ECU(ECU_A3,ECU_B4,ECU_C5)から取得したデータのデータ量が所定の容量を超えることが想定される。そこで、CPU2aは、前記所定の容量を超えるデータについては、古いデータを新しいデータに書き換える。ただし、車載機2が起動してから規定時間(例えば、10秒)のデータは全てメモリ2bのデータ蓄積領域に記憶保持させつつ、規定時間を経過した後のデータは、データ蓄積領域の残りの領域に記憶させる、残りの領域内で古いデータを新しいデータに上書きを行う。 A predetermined capacity is set for the data storage area. Therefore, if it takes a long time to complete the automatic connection process with the mobile communication terminal device 7 after the in-vehicle device 2 is powered on, the amount of data acquired from each ECU (ECU_A3, ECU_B4, ECU_C5) will be reduced. is assumed to exceed a predetermined capacity. Therefore, the CPU 2a rewrites old data with new data for data exceeding the predetermined capacity. However, while all data for a specified period of time (for example, 10 seconds) after the on-vehicle device 2 is started is stored and retained in the data storage area of the memory 2b, data after the specified period of time is stored in the remaining data storage area. Overwrite old data with new data in the remaining area.

具体的には、CPU2aは、図3に示すように、電源供給により起動開始してから規定時間(例えば予め実験的に求めた上記自動接続処理が完了するまでの時間など)を経過するまでの間、各ECU(ECU_A3,ECU_B4,ECU_C5)から取得したデータの全てをデータ蓄積領域に記憶させる(図3(a))。なお、データ蓄積領域の容量は、当該規定時間に取得するデータのデータ量の総計よりも十分に大きな値で設定されている。 Specifically, as shown in FIG. 3, the CPU 2a operates from the time when it starts booting due to power supply until a specified time (for example, the time until the automatic connection process is completed, which has been determined experimentally in advance). During this time, all data acquired from each ECU (ECU_A3, ECU_B4, ECU_C5) is stored in the data storage area (FIG. 3(a)). Note that the capacity of the data storage area is set to a value that is sufficiently larger than the total amount of data acquired during the specified time.

CPU2aは、電源供給により起動開始してから規定時間を経過してからも、データ蓄積領域の上限に到達するまでは各ECU(ECU_A3,ECU_B4,ECU_C5)から取得したデータを記憶させ続ける(図3(b))。 The CPU 2a continues to store the data acquired from each ECU (ECU_A3, ECU_B4, ECU_C5) even after a specified time has elapsed since the start of startup by power supply until the upper limit of the data storage area is reached (Fig. 3 (b)).

データ蓄積領域の上限に達した後は、電源供給により起動開始してから規定時間を経過するまでの間に記憶させたデータは残しつつ、残りの容量を用いて最新のデータに上書きする。例えば、CPU2aは、X+100番目のデータでデータ蓄積領域の上限に達した場合、その次に取得したX+101番目のデータは、X+1番目のデータを記憶している部分に上書きする(図3(c))。また、X+102番目のデータについては、X+2番目のデータを記憶している部分に上書きする。CPU2aは、それ以降も車載機2が携帯通信端末装置7と自動接続処理が終了するまで、同様にして古いデータを新しいデータに上書きする。 After reaching the upper limit of the data storage area, the remaining capacity is used to overwrite the data with the latest data, while leaving the data stored during the period from the start of startup by power supply until a specified time elapses. For example, if the CPU 2a reaches the upper limit of the data storage area with the X+100th data, the next acquired X+101st data overwrites the part where the X+1st data is stored (Figure 3(c)) ). Furthermore, regarding the X+102nd data, the portion where the X+2nd data is stored is overwritten. After that, the CPU 2a similarly overwrites the old data with new data until the process of automatically connecting the in-vehicle device 2 to the mobile communication terminal device 7 is completed.

ここで、CPU2aは、データ蓄積領域に記憶させる各データにそれぞれに対して、当該データを取得した時刻を特定可能な時刻情報とともに紐づけて記憶させる。これにより、データ蓄積領域に記憶されデータが、車載機2が電源供給により起動開始してから規定時間を経過するまでの間に記憶されたものなのか、それ以降の最新のデータなのかの判別が可能になっている。 Here, the CPU 2a causes each piece of data to be stored in the data storage area to be stored in association with the time at which the data was acquired together with specifiable time information. This allows you to determine whether the data stored in the data storage area was stored during the period from when the in-vehicle unit 2 started booting up due to power supply until a specified time elapsed, or whether it is the latest data after that. It is possible to distinguish.

なお、この場合、CPU2aは、例えば、電源供給により起動開始してから規定時間までに記憶させたデータのアドレスの範囲を記憶しておき、それ以降のデータを残りのアドレスの範囲内で記憶および上書きを行うようにすればよい。 In this case, the CPU 2a, for example, stores the address range of data stored up to a specified time after power supply starts, and stores and stores subsequent data within the remaining address range. All you have to do is overwrite it.

車載機2に電源が供給され、車載機2と携帯通信端末装置7との間で自動接続処理が完了すると、CPU2aは、車載機2から携帯通信端末装置7へメモリ2bのデータ蓄積領域に記憶しているデータの送信制御を行う。このとき、データ蓄積領域に記憶しているデータのデータ量が、1回で送信可能なデータ量を超えていた場合は、分割して送信する。 When power is supplied to the on-vehicle device 2 and the automatic connection process between the on-vehicle device 2 and the mobile communication terminal device 7 is completed, the CPU 2a stores data from the on-vehicle device 2 to the mobile communication terminal device 7 in the data storage area of the memory 2b. Controls the transmission of the data being sent. At this time, if the amount of data stored in the data storage area exceeds the amount of data that can be transmitted at one time, the data is divided and transmitted.

外部サーバ8は、車載機2からのデータを蓄積して記憶するものであり、CPU8aとメモリ8bと送受信回路8cとを備える。CPU8aは、蓄積したデータの外部サーバ8の外部への送信制御を行う。また、車載機2からのデータに基づいて各種サービス情報を生成し、生成した各種サービス情報のユーザへの送信制御も行う。なお、CPU8aは、携帯通信端末装置7の要求信号を契機として、蓄積したデータ(または、サービス情報)を携帯通信端末装置7に送信するようにしてもよい。 The external server 8 accumulates and stores data from the on-vehicle device 2, and includes a CPU 8a, a memory 8b, and a transmitting/receiving circuit 8c. The CPU 8a controls the transmission of accumulated data to the outside of the external server 8. It also generates various service information based on data from the on-vehicle device 2, and controls transmission of the generated various service information to users. Note that the CPU 8a may transmit the accumulated data (or service information) to the mobile communication terminal device 7 in response to a request signal from the mobile communication terminal device 7.

メモリ8bは、CPU8aの制御プログラムなどを記憶するROM部と、車載機2からのデータを記憶したり、生成したサービス情報を一時的に記憶するRAM部とを有する。 The memory 8b includes a ROM section that stores a control program for the CPU 8a, and a RAM section that stores data from the on-vehicle device 2 and temporarily stores generated service information.

CPU8aは、車載機2(携帯通信端末装置7)から送信された各種データのうち、必要なデータを加工して、サービス情報を生成する。例えば、サービス情報としては、車両1の駐車位置情報や、燃費情報、車両故障に関する情報、エンジンオイル交換時期の到来情報、メーカが利用する車両1の各種センサの検知状態などのビッグデータなど、種々のサービス情報がある。なお、これらの情報は一例であり、ユーザが所望する種々のサービス情報を生成するようにしてもよい。 The CPU 8a processes necessary data among various data transmitted from the on-vehicle device 2 (mobile communication terminal device 7) to generate service information. For example, the service information includes a variety of big data such as parking position information of the vehicle 1, fuel efficiency information, information on vehicle failures, information on when it is time to change the engine oil, and detection status of various sensors of the vehicle 1 used by the manufacturer. There is service information. Note that these pieces of information are just examples, and various service information desired by the user may be generated.

メモリ8bは、車載機2(携帯通信端末装置7)からアップロードされた各種データを記憶する。これにより、メモリ8bには、車載機2(携帯通信端末装置7)からアップロードされた各種データが蓄積して記憶される。 The memory 8b stores various data uploaded from the on-vehicle device 2 (mobile communication terminal device 7). Thereby, various data uploaded from the on-vehicle device 2 (mobile communication terminal device 7) are accumulated and stored in the memory 8b.

(車載機の起動からデータアップロードまでの流れ)
次に、車載機2が起動してから各ECU(ECU_A3,ECU_B4,ECU_C5)から取得したデータが外部サーバ8にアップロードされるまでの流れについて、図2を参照して説明する。
(Flow from starting the onboard device to uploading data)
Next, the flow from when the in-vehicle device 2 is activated until the data acquired from each ECU (ECU_A3, ECU_B4, ECU_C5) is uploaded to the external server 8 will be described with reference to FIG. 2.

車両1のイグニッションスイッチがオン状態になると、車載機2への電源供給が開始され、CPU2aによる起動処理が開始される。起動処理が完了すると、車載機2(CPU2a)では、各ECU(ECU_A3,ECU_B4,ECU_C5)から各種データの取得が可能な状態になる。 When the ignition switch of the vehicle 1 is turned on, power supply to the on-vehicle device 2 is started, and a startup process by the CPU 2a is started. When the startup process is completed, the in-vehicle device 2 (CPU 2a) is in a state where it can acquire various data from each ECU (ECU_A3, ECU_B4, ECU_C5).

車載機2(CPU2a)は、CAN通信を介して各ECU(ECU_A3,ECU_B4,ECU_C5)から各種データを取得した場合は、携帯通信端末装置7との間で自動接続処理が完了したか否かを判定する。 When the in-vehicle device 2 (CPU 2a) acquires various data from each ECU (ECU_A3, ECU_B4, ECU_C5) via CAN communication, it checks whether the automatic connection process with the mobile communication terminal device 7 has been completed. judge.

ここで、CPU2aは、携帯通信端末装置7との間で自動接続処理が完了していないと判定した場合は、各ECU(ECU_A3,ECU_B4,ECU_C5)から取得した各種データを、送受信回路2cの送信バッファに送らずにメモリ2bのデータ蓄積領域に記憶させる。つまり、CPU2aは、起動処理が完了して各ECU(ECU_A3,ECU_B4,ECU_C5)から各種データを取得しても、携帯通信端末装置7との自動接続処理が完了するまでは、外部サーバ8(携帯通信端末装置7)に送信することなく、メモリ2bのデータ蓄積領域に蓄積して記憶させる。 Here, if the CPU 2a determines that the automatic connection process with the mobile communication terminal device 7 has not been completed, the CPU 2a transmits various data acquired from each ECU (ECU_A3, ECU_B4, ECU_C5) to the transmitter/receiver circuit 2c. The data is stored in the data storage area of the memory 2b without being sent to the buffer. In other words, even if the CPU 2a completes the startup process and acquires various data from each ECU (ECU_A3, ECU_B4, ECU_C5), the CPU 2a does not operate the external server 8 (mobile The data is accumulated and stored in the data storage area of the memory 2b without being transmitted to the communication terminal device 7).

CPU2aは、携帯通信端末装置7との間で自動接続処理が完了したと判定した場合は、メモリ2bのデータ蓄積領域に記憶している各種データを送受信回路2cの送信バッファに送り、外部サーバ8に送信(アップロード)する。なお、CPU2aは、データ蓄積領域に記憶されたデータのデータ量が1回で送信可能なデータ容量を超えていた場合は、分割して外部サーバ8に送信(アップロード)する。また、CPU2aは、データ蓄積領域に記憶されたデータの送信が完了したあとに各ECU(ECU_A3,ECU_B4,ECU_C5)からデータを取得した場合は、当該データをメモリ2bのデータ蓄積領域に記憶させずに、送受信回路2cの送信バッファに送り、外部サーバ8に送信(アップロード)する。 If the CPU 2a determines that the automatic connection process with the mobile communication terminal device 7 has been completed, the CPU 2a sends various data stored in the data storage area of the memory 2b to the transmission buffer of the transmission/reception circuit 2c, and transmits the data to the external server 8. Send (upload) to. Note that if the amount of data stored in the data storage area exceeds the data capacity that can be transmitted at one time, the CPU 2a divides the data and transmits (uploads) the data to the external server 8. Furthermore, when the CPU 2a acquires data from each ECU (ECU_A3, ECU_B4, ECU_C5) after the transmission of the data stored in the data storage area is completed, the CPU 2a does not store the data in the data storage area of the memory 2b. Then, the data is sent to the transmission buffer of the transmission/reception circuit 2c, and transmitted (uploaded) to the external server 8.

イグニッションスイッチがオフ状態になると、車両1および車載機2の電源供給が途絶え、車載機2の機能が停止する。このとき、携帯通信端末装置7との接続も解除されるため、再度イグニッションスイッチがオン状態になったときは、CPU2aが起動してから携帯通信端末装置7との通信が可能になるまで、各ECU(ECU_A3,ECU_B4,ECU_C5)から取得した各種データがメモリ2bのデータ蓄積領域に蓄積して記憶されることになる。 When the ignition switch is turned off, the power supply to the vehicle 1 and the on-vehicle device 2 is interrupted, and the functions of the on-vehicle device 2 are stopped. At this time, the connection with the mobile communication terminal device 7 is also canceled, so when the ignition switch is turned on again, each Various data acquired from the ECUs (ECU_A3, ECU_B4, ECU_C5) are accumulated and stored in the data storage area of the memory 2b.

したがって、上記した実施形態によれば、車両1の電源がオンになってから携帯通信端末装置7と車載機2との間で通信が可能になるまでの間のデータ(各ECU(ECU_A3,ECU_B4,ECU_C5)からデータ)を、通信が可能になった後に外部サーバ8に送信できる。車両1の電源がオンになった直後は車両1の挙動変動が激しい期間であるため、この期間に蓄積した制御データを、エンジンがかかりにくいときの原因解析などの車両1の不具合原因解析や、故障解析などの種々の解析に活用することができる。 Therefore, according to the embodiment described above, data (each ECU (ECU_A3, ECU_B4 , ECU_C5) to the external server 8 after communication becomes possible. Immediately after the power of the vehicle 1 is turned on, there is a period when the behavior of the vehicle 1 fluctuates rapidly, so the control data accumulated during this period can be used to analyze the cause of problems with the vehicle 1, such as analyzing the cause of when the engine is difficult to start. It can be used for various analyzes such as failure analysis.

また、外部サーバ8へのアップロードを、スマートフォンなどのもともと通信機能を備えた携帯通信端末装置7を介して行うことで、車載機2側に通信機能を持たせる必要がなく、車載機2のコストの削減を図ることができる。 In addition, by uploading to the external server 8 via the mobile communication terminal device 7, such as a smartphone, which is originally equipped with a communication function, there is no need to provide a communication function on the in-vehicle device 2 side, and the cost of the in-vehicle device 2 is reduced. It is possible to reduce the amount of

また、車載機2の起動が完了したあと、携帯通信端末装置7との間で通信可能になるまでの間に蓄積した各ECU(ECU_A3,ECU_B4,ECU_C5)からデータが、メモリ2bのデータ蓄積領域の容量を超えた場合は、電源供給により起動開始してから規定時間を経過するまでの間に記憶させたデータは残しつつ、残りの容量を用いて最新のデータに上書きする。これにより、高価な大容量メモリを用いずに、車両1の挙動変化が激しい電源の供給直後のデータを残しつつ、最新のデータも残すことができる。 In addition, data from each ECU (ECU_A3, ECU_B4, ECU_C5) accumulated between the time when the in-vehicle device 2 is started up and the time when it becomes possible to communicate with the mobile communication terminal device 7 is stored in the data storage area of the memory 2b. If the capacity is exceeded, the remaining capacity is used to overwrite the latest data, while leaving the data stored between the start of power supply and the specified time elapsed. Thereby, without using an expensive large-capacity memory, it is possible to preserve data immediately after power supply, where the behavior of the vehicle 1 changes drastically, as well as the latest data.

また、各ECU(ECU_A3,ECU_B4,ECU_C5)から取得した各種データは、時刻情報に紐づけてメモリ2bのデータ蓄積領域に記憶されるため、例えば、記憶したデータが電源供給により起動開始してから規定時間を経過するまでの間に記憶されたものなのか、あるいは、最新のデータなのか等のデータの属性を判別することができる。 In addition, various data acquired from each ECU (ECU_A3, ECU_B4, ECU_C5) are linked to time information and stored in the data storage area of the memory 2b. It is possible to determine the attributes of the data, such as whether the data was stored before a specified time elapsed or whether it is the latest data.

なお、本発明は上記した実施形態に限定されるものではなく、本発明の趣旨を逸脱しない限りにおいて種々の変更が可能である。 Note that the present invention is not limited to the above-described embodiments, and various changes can be made without departing from the spirit of the present invention.

例えば、上記した実施形態では、車載機2が備えるGPSアンテナから時刻情報を取得するようにしたが、例えば、いずれかのECU(ECU_A3,ECU_B4,ECU_C5)から取得するなど、別のところから取得するようにしてもよい。また、車両1のユーザが設定した時刻を時刻情報として採用してもよい。 For example, in the embodiment described above, the time information is acquired from the GPS antenna provided in the on-vehicle device 2, but it may also be acquired from another source, such as from one of the ECUs (ECU_A3, ECU_B4, ECU_C5). You can do it like this. Alternatively, the time set by the user of the vehicle 1 may be employed as the time information.

また、上記した実施形態では、外部サーバ8に送信するデータを各ECU(ECU_A3、ECU_B4、ECU_C5)から取得するようにしたが、各ECU(ECU_A3、ECU_B4、ECU_C5)を介さずに車載機2が直接取得するデータがあってもよい。 Furthermore, in the embodiment described above, the data to be sent to the external server 8 is acquired from each ECU (ECU_A3, ECU_B4, ECU_C5), but the in-vehicle device 2 is There may also be data to be obtained directly.

また、上記した実施形態は、ガソリン車に限らず、電気自動車、ハイブリッド車、自動運転車にも適用することができる。 Further, the above-described embodiments can be applied not only to gasoline cars but also to electric cars, hybrid cars, and self-driving cars.

2:車載機(車載装置)
2b:メモリ
3~5:ECU_A,ECU_B,ECU_C(電子制御装置)
7:携帯通信端末装置(携帯通信端末)
2: In-vehicle device (in-vehicle device)
2b: Memory 3-5: ECU_A, ECU_B, ECU_C (electronic control unit)
7: Mobile communication terminal device (mobile communication terminal)

Claims (2)

電子制御装置から送信されるデータを受信し、通信可能に接続された携帯通信端末を介して、受信した前記データを無線通信により外部に送信する車載装置において、
前記車載装置は、
前記電子制御装置から受信した受信データを記憶するメモリを有し、
車両の電源がオンになってから前記携帯通信端末と通信可能な状態になるまでの間の前記受信データを蓄積して前記メモリに記憶させ、前記携帯通信端末と通信可能になったときに当該蓄積した前記受信データを前記携帯通信端末を介して外部に送信し、
前記車両の電源がオンになってから、前記携帯通信端末が前記車載装置と通信可能な状態になるまでに前記受信データの記憶量が前記メモリの容量の上限に達した場合は、前記車両の電源がオンになってから所定時間経過するまでの間の前記受信データは残しつつ、前記所定時間経過後の前記受信データは、前記メモリに記憶されている古い前記受信データを、新しい前記受信データに上書きして記憶させる
ことを特徴とする車載装置。
An in-vehicle device that receives data transmitted from an electronic control device and transmits the received data to the outside via wireless communication via a communicably connected mobile communication terminal,
The in-vehicle device includes:
comprising a memory for storing received data received from the electronic control device;
The received data from when the vehicle is powered on until the vehicle becomes capable of communicating with the mobile communication terminal is accumulated and stored in the memory, and when the vehicle becomes capable of communicating with the mobile communication terminal, the received data is stored in the memory. transmitting the accumulated received data to the outside via the mobile communication terminal ;
If the storage amount of the received data reaches the upper limit of the memory capacity after the vehicle is powered on and before the mobile communication terminal becomes able to communicate with the in-vehicle device, the vehicle The received data from when the power is turned on until a predetermined time elapses is left, and the received data after the predetermined time replaces the old received data stored in the memory with the new received data. overwrite and memorize
An in-vehicle device characterized by:
前記車載装置は、前記受信データに時刻情報を併せて記憶させることを特徴とする請求項1に記載の車載装置。
The vehicle-mounted device according to claim 1, wherein the vehicle-mounted device stores time information together with the received data.
JP2021164640A 2021-10-06 2021-10-06 In-vehicle device Active JP7451062B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021164640A JP7451062B2 (en) 2021-10-06 2021-10-06 In-vehicle device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021164640A JP7451062B2 (en) 2021-10-06 2021-10-06 In-vehicle device

Publications (2)

Publication Number Publication Date
JP2023055347A JP2023055347A (en) 2023-04-18
JP7451062B2 true JP7451062B2 (en) 2024-03-18

Family

ID=86004406

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021164640A Active JP7451062B2 (en) 2021-10-06 2021-10-06 In-vehicle device

Country Status (1)

Country Link
JP (1) JP7451062B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012160668A1 (en) 2011-05-25 2012-11-29 トヨタ自動車株式会社 Vehicle communication apparatus

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012160668A1 (en) 2011-05-25 2012-11-29 トヨタ自動車株式会社 Vehicle communication apparatus

Also Published As

Publication number Publication date
JP2023055347A (en) 2023-04-18

Similar Documents

Publication Publication Date Title
US20230234549A1 (en) Vehicle device
US10908890B2 (en) Vehicle device
JP6432490B2 (en) In-vehicle control device and in-vehicle recording system
JP2009205368A (en) Accident notification system and onboard device
US9963011B2 (en) Parked vehicle interior lifeform recognition
KR20190047779A (en) Cloud server, vehicle and method for controlling thereof
US11740889B2 (en) Software update apparatus, software update method, non-transitory storage medium storing program, vehicle, and OTA master
US11001247B2 (en) Method for suggesting activation of an exhaust brake
US9162684B2 (en) Electronic control unit for vehicle
US20120330480A1 (en) Vehicular electronic control device, related information acquisition device, and method for controlling the same
JP2012160115A (en) Travel information recording apparatus
US10428782B2 (en) Starting a motor vehicle drive unit
JP7451062B2 (en) In-vehicle device
US20110218705A1 (en) Trouble notification apparatus and in-vehicle apparatus
JP7099269B2 (en) Autonomous driving system
CN111885492A (en) Automatic vehicle positioning method and electronic equipment
CN114241622B (en) Information management system, and portable terminal and image management server used in the information management system
JP7471758B2 (en) Vehicle communication system
JP2020173636A (en) On-vehicle recording device
JP2023055346A (en) Vehicle communication system
JP2003040054A (en) Vehicle specification identifying device
CA2921332C (en) Multi-controller data bus adaptor operable based upon data bus adaptor communication determined adaptor codes and related methods
CN116215372B (en) Vehicle early warning domain controller, vehicle early warning information sending method and vehicle
US20220078378A1 (en) Information management system, and in-vehicle device and image management server used therein
US20200265657A1 (en) Acquisition terminal, vehicle travel reproduction system and acquisition method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230209

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20231019

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231030

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231129

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: 20240305

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240305

R150 Certificate of patent or registration of utility model

Ref document number: 7451062

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150