JP2015149564A - On-vehicle communication system - Google Patents

On-vehicle communication system Download PDF

Info

Publication number
JP2015149564A
JP2015149564A JP2014020671A JP2014020671A JP2015149564A JP 2015149564 A JP2015149564 A JP 2015149564A JP 2014020671 A JP2014020671 A JP 2014020671A JP 2014020671 A JP2014020671 A JP 2014020671A JP 2015149564 A JP2015149564 A JP 2015149564A
Authority
JP
Japan
Prior art keywords
data
application
communication system
divided
vehicle
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
Application number
JP2014020671A
Other languages
Japanese (ja)
Inventor
真一 飯山
Shinichi Iiyama
真一 飯山
井原 隆
Takashi Ihara
隆 井原
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2014020671A priority Critical patent/JP2015149564A/en
Publication of JP2015149564A publication Critical patent/JP2015149564A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an on-vehicle communication system that can prevent breakage of data while keeping the minimum data reliability even when transmission data are partially broken.SOLUTION: At a transmission side, a first application divides transmission data to be transmitted to a second application into plural parts at a transmission side, applies a checksum to each of the plural divided data and transmits the data to a reception side. At the reception side, the thus-transmitted plural divided data are received, and each of the checksums is checked to detect the breakage of each of the plural divided data. When breakage of any divided data is detected, past received divided data held at the reception side or divided data whose breakage is detected by using blank data are complemented, and then coupled to one another, and the coupled data are transmitted to the second application. When the data are complemented, the complemented data are transmitted together with data representing the complement to the second application.

Description

本発明は、リアルタイムにデータの送受信を行う車載通信システムに関する。   The present invention relates to an in-vehicle communication system that transmits and receives data in real time.

従来から、送信側にて伝送するデータを伝送単位に分割し、分割された伝送単位データに番号を付して伝送し、受信側にて分割された伝送単位データごとに誤りチェックを行い、誤りがある場合は送信側に再送を要求する通信システムが知られている(例えば、特許文献1)。これにより、伝送データの信頼性を確保することができる。   Conventionally, data to be transmitted on the transmission side is divided into transmission units, the divided transmission unit data is numbered and transmitted, and error checking is performed for each transmission unit data divided on the reception side. There is a known communication system that requests retransmission on the transmission side (for example, Patent Document 1). Thereby, the reliability of transmission data is securable.

特開昭58−56200号公報JP 58-56200 A

ところで、車載装置上の制御系アプリケーション(例えば、障害物との衝突回避のために、自動制動制御を行うECU上のアプリケーション)は、車載されたセンサ等からの情報を車載ネットワークを介して受信し、当該情報に基づき制御を実行する。   By the way, a control system application on an in-vehicle device (for example, an application on an ECU that performs automatic braking control for avoiding a collision with an obstacle) receives information from an in-vehicle sensor or the like via an in-vehicle network. Then, control is executed based on the information.

しかしながら、車載ネットワークとして、上述した特許文献1に記載の通信システムを適用した場合、受信したデータのうち、一部にでも破損等があると再送要求をするため、リアルタイムでの情報取得ができず、適切な制御が実行されないおそれがある。例えば、ステレオカメラからの画像データに基づき車両前方の障害物を検出し、衝突回避制動制御を行う場合、ステレオカメラから受信した画像データの一部欠損に基づいて再送要求がなされると、次回の画像データの受信までに車両がさらに障害物に接近し、適切に衝突回避を行うことができない場合がある。   However, when the communication system described in Patent Document 1 described above is applied as an in-vehicle network, a retransmission request is made if even a part of the received data is damaged, so information cannot be acquired in real time. There is a risk that appropriate control may not be executed. For example, when an obstacle ahead of a vehicle is detected based on image data from a stereo camera and collision avoidance braking control is performed, if a retransmission request is made based on a partial loss of image data received from the stereo camera, the next time There are cases where the vehicle further approaches an obstacle by the time the image data is received, and collision avoidance cannot be performed appropriately.

そこで、上記課題に鑑み、送信データに部分的な破損が生じた場合であっても、最低限のデータ信頼性を保持しつつ、データの断絶を防止することが可能な車載通信システムを提供することを目的とする。   In view of the above problems, an in-vehicle communication system capable of preventing data disconnection while maintaining a minimum data reliability even when transmission data is partially damaged is provided. For the purpose.

上記目的を達成するため、一実施形態において、車載通信システムは、
送信側の第1のアプリケーションから受信側の第2のアプリケーションにデータを送信する車載通信システムであって、
前記送信側に設けられ、前記第1のアプリケーションから取得した前記データを複数に分割するデータ分割手段と、
前記送信側に設けられ、前記データ分割手段により分割された複数の分割データそれぞれに対してチェックサムを付与するチェックサム付与手段と、
前記送信側に設けられ、前記チェックサム付与手段によりチェックサムが付与された複数の分割データを前記受信側に送信する第1の送信手段と、
前記受信側に設けられ、前記第1の送信手段により送信された複数の分割データを受信する受信手段と、
前記受信側に設けられ、前記受信手段により受信された複数の分割データそれぞれのチェックサムを確認することにより、該複数の分割データそれぞれの破損を検出するデータ破損検出手段と、
前記受信側に設けられ、前記受信手段により受信された複数の分割データを結合するデータ結合手段であって、前記データ破損検出手段によりいずれかの分割データに破損が検出された場合、前記受信側に保持された過去に受信した分割データ、又は、空白データを用いて破損が検出された分割データそれぞれを補完するデータ結合手段と、
前記受信側に設けられ、前記データ結合手段により結合されたデータを前記第2のアプリケーションに送信する共に、前記データ結合手段により前記補完が行われた場合、補完が行われたことを示すデータを併せて前記第2のアプリケーションに送信する第2の送信手段を備えることを特徴とする。
In order to achieve the above object, in one embodiment, an in-vehicle communication system includes:
An in-vehicle communication system for transmitting data from a first application on the transmission side to a second application on the reception side,
A data dividing unit that is provided on the transmission side and divides the data acquired from the first application into a plurality of pieces;
A checksum providing unit that is provided on the transmission side and adds a checksum to each of a plurality of divided data divided by the data dividing unit;
A first transmission unit that is provided on the transmission side and transmits a plurality of divided data to which the checksum is added by the checksum addition unit to the reception side;
A receiving means provided on the receiving side for receiving a plurality of divided data transmitted by the first transmitting means;
A data corruption detection unit that is provided on the receiving side and detects a corruption of each of the plurality of divided data by confirming a checksum of each of the plurality of divided data received by the reception unit;
A data combining unit that is provided on the receiving side and combines a plurality of pieces of divided data received by the receiving unit, and when the data corruption detecting unit detects any broken data, the receiving side Data combining means for complementing each of the divided data received in the past held in the above, or the divided data detected to be damaged by using blank data;
Provided on the receiving side, the data combined by the data combining means is transmitted to the second application, and when the complement is performed by the data combining means, data indicating that the complement has been performed. In addition, a second transmission means for transmitting to the second application is provided.

本実施の形態によれば、最低限のデータ信頼性を保持しつつ、データの断絶を防止することが可能な車載通信システムを提供することができる。   According to the present embodiment, it is possible to provide an in-vehicle communication system capable of preventing data disconnection while maintaining minimum data reliability.

車載通信システムの構成の一例を示す概念図である。It is a conceptual diagram which shows an example of a structure of a vehicle-mounted communication system. 本実施形態に係る車載通信システムの具体的な適用例であるカメラ−ECU間の通信システムを含む車両前方監視装置の構成を示す構成図である。It is a block diagram which shows the structure of the vehicle front monitoring apparatus containing the communication system between camera-ECU which is a specific application example of the vehicle-mounted communication system which concerns on this embodiment. 図2に示す車両前方監視装置のカメラにより撮像された画像をカメラアプリケーションからECUアプリケーションに逐次送信する場合において、ECUアプリケーションにより受信されたデータにエラーが生じた場合の本実施形態に係る車載通信システムの作用を説明する図である。The vehicle-mounted communication system according to the present embodiment when an error occurs in data received by the ECU application when images captured by the camera of the vehicle forward monitoring apparatus shown in FIG. 2 are sequentially transmitted from the camera application to the ECU application. It is a figure explaining the effect | action of.

以下、図面を参照して発明を実施するための形態について説明する。   Hereinafter, embodiments for carrying out the invention will be described with reference to the drawings.

図1(a)は、車載通信システム1の構成の一例を示す概念図である。車載通信システム1は、車載ネットワーク10、第1のアプリケーション20、第2のアプリケーション30を含み、任意の車載装置上の第1のアプリケーション20(送信側)から第2のアプリケーション30(受信側)へデータの送信を行う。なお、第1のアプリケーション20、第2のアプリケーション30は、同じ車載装置上のアプリケーションであってもよいし、異なる車載装置上のアプリケーションであってもよい。   FIG. 1A is a conceptual diagram showing an example of the configuration of the in-vehicle communication system 1. The in-vehicle communication system 1 includes an in-vehicle network 10, a first application 20, and a second application 30, and the first application 20 (transmission side) on an arbitrary in-vehicle device to the second application 30 (reception side). Send data. The first application 20 and the second application 30 may be applications on the same in-vehicle device or may be applications on different in-vehicle devices.

車載ネットワーク10は、通信ミドルレイヤ11A(送信側)、通信ミドルレイヤ11B(受信側)、MAC/PHYレイヤ12A(送信側)、MAC/PHYレイヤ12B(受信側)を含む。   The in-vehicle network 10 includes a communication middle layer 11A (transmission side), a communication middle layer 11B (reception side), a MAC / PHY layer 12A (transmission side), and a MAC / PHY layer 12B (reception side).

通信ミドルレイヤ11Aは、第1のアプリケーション20からの要求に応じて、第1のアプリケーション20から第2のアプリケーション30へ送信するデータへの処理を実行する。   In response to a request from the first application 20, the communication middle layer 11 </ b> A executes processing on data to be transmitted from the first application 20 to the second application 30.

MAC/PHYレイヤ12Aは、通信ミドルレイヤ11Aからの要求に応じて、通信ミドルレイヤ11Aによる処理がなされたデータを受信側に転送する。   The MAC / PHY layer 12A transfers data processed by the communication middle layer 11A to the receiving side in response to a request from the communication middle layer 11A.

MAC/PHYレイヤ12Bは、通信ミドルレイヤ11Bからの要求に応じて、MAC/PHYレイヤ12Aから転送されたデータを受信する。   The MAC / PHY layer 12B receives the data transferred from the MAC / PHY layer 12A in response to a request from the communication middle layer 11B.

通信ミドルレイヤ11Bは、第2のアプリケーション30からの要求に応じて、MAC/PHYレイヤ12Bにより受信されたデータへの処理を実行し、処理がなされたデータを第2のアプリケーション30に送信する。   In response to a request from the second application 30, the communication middle layer 11 </ b> B performs processing on the data received by the MAC / PHY layer 12 </ b> B and transmits the processed data to the second application 30.

次に、本実施形態に係る車載通信システム1の具体的なデータフローについて、引き続き、図1(a)を用いて説明する。   Next, a specific data flow of the in-vehicle communication system 1 according to the present embodiment will be described with reference to FIG.

図1(a)を参照するに、通信ミドルレイヤ11Aは、第1のアプリケーション20から送信されたデータDを複数に分割する。本例において、通信ミドルレイヤ11Aは、データDを3つのセグメント(分割データ)Dd1、Dd2、Dd3に分割する。   Referring to FIG. 1A, the communication middle layer 11A divides the data D transmitted from the first application 20 into a plurality of pieces. In this example, the communication middle layer 11A divides the data D into three segments (divided data) Dd1, Dd2, and Dd3.

続いて、通信ミドルレイヤ11Aは、セグメントDd1、Dd2、Dd3のそれぞれにデータ破損検出用のチェックサムCS1、CS2、CS3を付与する。   Subsequently, the communication middle layer 11A provides checksums CS1, CS2, and CS3 for detecting data corruption to the segments Dd1, Dd2, and Dd3.

続いて、MAC/PHYレイヤ12Aは、チェックサムCS1〜CS3が付与された、セグメントDd1〜Dd3を送信側へ転送する。   Subsequently, the MAC / PHY layer 12A transfers the segments Dd1 to Dd3 to which the checksums CS1 to CS3 are assigned to the transmission side.

続いて、MAC/PHYレイヤ12Bは、MAC/PHYレイヤ12Aから転送されたセグメントDd1〜Dd3を受信する。   Subsequently, the MAC / PHY layer 12B receives the segments Dd1 to Dd3 transferred from the MAC / PHY layer 12A.

なお、MAC/PHYレイヤ12AからMAC/PHYレイヤ12Bへの転送は、イーサネット(登録商標)等を通じて行われる。   The transfer from the MAC / PHY layer 12A to the MAC / PHY layer 12B is performed through Ethernet (registered trademark) or the like.

続いて、通信ミドルレイヤ11Bは、MAC/PHYレイヤ12Bにより受信されたセグメントDd1〜Dd3に付与されたチェックサムCS1〜CS3の確認を行う。本例では、3つのセグメントDd1〜Dd3のうち、セグメントDd3に転送の際の破損が生じている。そのため、通信ミドルレイヤ11Bは、チェックサムCS3を確認することによりセグメントDd3の破損を検出することができる。この破損したセグメントDd3は、破棄される。   Subsequently, the communication middle layer 11B confirms the checksums CS1 to CS3 given to the segments Dd1 to Dd3 received by the MAC / PHY layer 12B. In this example, of the three segments Dd1 to Dd3, the segment Dd3 is damaged during transfer. Therefore, the communication middle layer 11B can detect the breakage of the segment Dd3 by confirming the checksum CS3. This damaged segment Dd3 is discarded.

続いて、通信ミドルレイヤ11Bは、受信したセグメントDd1〜Dd3を結合してデータの再構築を行う。本例では、セグメントDd3に破損が生じているため、セグメントDd3の代わりに、置換セグメントDrepを用いてデータの再構築を行う。即ち、セグメントDd1、Dd2と置換セグメントDrepを結合して結合データDcombを再構築する。置換セグメントDrepとしては、直前にMAC/PHYレイヤ12Bが受信したセグメントDd3に相当するセグメント(分割データ)を用いてよいし、場合によっては、空白セグメント(空白データ)を用いてもよい。なお、セグメントDd1〜Dd3のいずれにも破損がない場合は、セグメントDd1〜Dd3を結合してデータの再構築(結合データDcombの生成)を行う。   Subsequently, the communication middle layer 11B combines the received segments Dd1 to Dd3 to reconstruct data. In this example, since the segment Dd3 is damaged, data is reconstructed using the replacement segment Drep instead of the segment Dd3. That is, the segments Dd1 and Dd2 and the replacement segment Drep are combined to reconstruct the combined data Dcomb. As the replacement segment Drep, a segment (divided data) corresponding to the segment Dd3 received by the MAC / PHY layer 12B immediately before may be used, and in some cases, a blank segment (blank data) may be used. If none of the segments Dd1 to Dd3 is damaged, the segments Dd1 to Dd3 are combined to reconstruct data (generation of combined data Dcomb).

通信ミドルレイヤ11Bは、置換セグメントDrepにより一部が補完された結合データDcombを第2のアプリケーション30に送信する。即ち、第2のアプリケーション30は、第1のアプリケーション20から送信されたデータとして、第1のアプリケーションから送信されたデータDに対して、一部補完された結合データDcombを受信する。また、併せて、結合データDcombは、一部補完が行われたデータであることを示す情報を第2のアプリケーションに送信(通知)する。例えば、一部補完が行われたことを示す情報には、補完された領域に関する情報が含まれてよい。なお、セグメントDd1〜Dd3のいずれにも破損がない場合は、第1のアプリケーション20から送信されたデータDと第2のアプリケーション30により受信された結合データDcombは同等である。また、この場合、通信ミドルレイヤ11Bは、一部補完が行われなかったことを示す情報を第2のアプリケーションに送信してもよいし、送信しなくてもよい。   The communication middle layer 11B transmits the combined data Dcomb partially supplemented by the replacement segment Drep to the second application 30. That is, the second application 30 receives the combined data Dcomb that is partially complemented with respect to the data D transmitted from the first application as the data transmitted from the first application 20. In addition, the combined data Dcomb transmits (notifies) information indicating that the data is partially complemented to the second application. For example, the information indicating that the partial complement has been performed may include information regarding the complemented area. When none of the segments Dd1 to Dd3 is damaged, the data D transmitted from the first application 20 and the combined data Dcomb received by the second application 30 are equivalent. In this case, the communication middle layer 11 </ b> B may or may not transmit information indicating that partial complement has not been performed to the second application.

ここで、本実施形態に係る車載通信システム1の作用について、図1(b)に示す比較例に係る車載通信システム1cを用いて説明をする。   Here, the effect | action of the vehicle-mounted communication system 1 which concerns on this embodiment is demonstrated using the vehicle-mounted communication system 1c which concerns on the comparative example shown in FIG.1 (b).

図1(b)に示す比較例に係る車載通信システム1cは、本実施形態に係る車載通信システム1と同様、第1のアプリケーション20から第2のアプリケーション30へのデータの通信を行うものである。本実施形態と異なる部分は、データの通信を行う車載ネットワーク10cの動作、特に、通信ミドルレイヤ11Ac(送信側)、11Bc(受信側)の動作である。   The in-vehicle communication system 1c according to the comparative example illustrated in FIG. 1B performs data communication from the first application 20 to the second application 30, as in the in-vehicle communication system 1 according to the present embodiment. . The difference from the present embodiment is the operation of the in-vehicle network 10c that performs data communication, particularly the operation of the communication middle layer 11Ac (transmission side) and 11Bc (reception side).

具体的には、通信ミドルレイヤ11Acが第1のアプリケーション20から送信されたデータDを複数に分割する前に、チェックサムCSを付与し、チェックサムCSを付与したデータDをセグメントDd1〜Dd3に分割する。また、通信ミドルレイヤ11Bcは、MAC/PHYレイヤ12Bが受信したセグメントDd1〜Dd3を結合してチェックサムCSの確認を行う。そのため、図1(b)に示すようにセグメントDd3に破損が生じていた場合、結合データDcombの一部データが欠落しており、チェックサムCSの確認により結合データDcomb全体の破損が検出され、破損している結合データDcombは全体として破棄されてしまう。破損している結合データが全体として破棄されると第2のアプリケーション30は、データを受信することができず、例えば、周期的に第1のアプリケーション20から第2のアプリケーション30にデータが送信される場合には、1周期分のデータが欠落することになる。特に、車両の制御系アプリケーションのように、リアルタイムに車載されたセンサ等の情報を取得して制御を実行する場合には、リアルタイムに情報が取得できず適切な制御が実行できないおそれがある。   Specifically, before the communication middle layer 11Ac divides the data D transmitted from the first application 20 into a plurality of pieces, the checksum CS is given, and the data D with the checksum CS is assigned to the segments Dd1 to Dd3. To divide. Further, the communication middle layer 11Bc combines the segments Dd1 to Dd3 received by the MAC / PHY layer 12B and confirms the checksum CS. Therefore, when the segment Dd3 is damaged as shown in FIG. 1B, a part of the combined data Dcomb is missing, and the checksum CS is confirmed to detect the entire combined data Dcomb. The combined data Dcomb that is damaged is discarded as a whole. When the combined data that has been damaged is discarded as a whole, the second application 30 cannot receive the data. For example, data is periodically transmitted from the first application 20 to the second application 30. In this case, one period of data is lost. In particular, when acquiring information such as sensors mounted on the vehicle in real time as in a vehicle control system application and executing control, there is a possibility that information cannot be acquired in real time and appropriate control cannot be performed.

これに対して、本実施形態に係る車載通信システム1は、上述したとおり、分割データ毎にチェックサムが付与されるため、分割データ毎の破損チェックが可能である。そのため、一部の分割データ(セグメントDd3)に破損が生じた場合であっても、破損したセグメント(分割データ)を、受信して保持してある過去の分割データ(例えば、直前に取得した分割データ)又は空白データを用いて補完することができる。そして、一部補完を行って結合したデータを第2のアプリケーション30に送信することにより、第2のアプリケーション30は、第1のアプリケーション20から送信されるデータを一部補完された部分はあるものの途切れることなく、リアルタイムに取得することができる。また、一部補完されて結合されたデータは、補完された部分以外は、第1のアプリケーション20から送信されたデータの情報を含んでいるため、第2のアプリケーション30は、その情報に基づいた制御を継続することができる。   On the other hand, as described above, the in-vehicle communication system 1 according to the present embodiment is provided with a checksum for each divided data, and thus can perform a damage check for each divided data. Therefore, even if a part of the divided data (segment Dd3) is damaged, the past divided data (for example, the previously acquired divided data) is received by the damaged segment (divided data). Data) or blank data. Then, by performing partial complementation and transmitting the combined data to the second application 30, the second application 30 has a part in which the data transmitted from the first application 20 is partially supplemented. It can be obtained in real time without interruption. In addition, since the data partially supplemented and combined includes information of data transmitted from the first application 20 except for the supplemented part, the second application 30 is based on the information. Control can be continued.

また、本実施形態に係る車載通信システム1は、補完が行われたことを第2のアプリケーション30に通知するため、第2のアプリケーション30は受信したデータが補完されたデータであることを考慮して制御を行うことで、最低限のデータ信頼性を確保できる。即ち、送信データに部分的な破損が生じた場合であっても、最低限のデータ信頼性を保持しつつ、データの断絶を防止することができる。例えば、データのうち、補完された領域の情報を車載通信システム1(通信ミドルレイヤ11B)が第2のアプリケーション30に通知することで、第2のアプリケーション30は、補完された領域以外の情報による制御を実行することができる。   In addition, since the in-vehicle communication system 1 according to the present embodiment notifies the second application 30 that the supplement has been performed, the second application 30 considers that the received data is the supplemented data. The minimum data reliability can be secured by performing control. That is, even when transmission data is partially damaged, data disconnection can be prevented while maintaining minimum data reliability. For example, in the data, the in-vehicle communication system 1 (communication middle layer 11B) notifies the second application 30 of information on the supplemented area, so that the second application 30 is based on information other than the supplemented area. Control can be performed.

次に、本実施形態に係る車載通信システム1の具体的な適用例について説明をする。   Next, a specific application example of the in-vehicle communication system 1 according to the present embodiment will be described.

図2は、本実施形態に係る車載通信システム1の具体的な適用例であるカメラ−ECU間通信システム(以下、単に通信システムと呼ぶ)101を含む車両前方監視装置100の構成を示す構成図である。   FIG. 2 is a configuration diagram showing a configuration of a vehicle front monitoring apparatus 100 including a camera-ECU communication system (hereinafter simply referred to as a communication system) 101 which is a specific application example of the in-vehicle communication system 1 according to the present embodiment. It is.

車両前方監視装置100は、通信システム101、カメラ110、ECU120、CAN(Controller Area Network)130等を含み、カメラ110により撮像された画像に基づき、車両前方の障害物を監視する。例えば、ECU120は、カメラ110により撮像された画像に基づき、車両前方の障害物を検出し、算出した自車両と障害物との距離に基づき、自車両と障害物との衝突判定を行う。そして、衝突する可能性が高いと判定した場合、衝突回避のための介入による制動力を発生させるため、自車両のブレーキアクチュエータに対して制御命令を出力する。   The vehicle front monitoring apparatus 100 includes a communication system 101, a camera 110, an ECU 120, a CAN (Controller Area Network) 130, and the like, and monitors obstacles ahead of the vehicle based on images captured by the camera 110. For example, the ECU 120 detects an obstacle ahead of the vehicle based on an image captured by the camera 110, and performs a collision determination between the own vehicle and the obstacle based on the calculated distance between the own vehicle and the obstacle. When it is determined that the possibility of a collision is high, a control command is output to the brake actuator of the host vehicle in order to generate a braking force due to intervention for avoiding the collision.

カメラ110は、車両前端部に搭載され、当該車両前方を撮像する撮像手段である。カメラ110は、ECU120と通信可能に接続され、カメラ110(内の制御部)上の制御アプリケーション(以下、カメラアプリケーションと呼ぶ)は、撮像された画像に対応する画像信号を生成し、ECU120上の制御アプリケーション(以下、ECUアプリケーションと呼ぶ)に送信する。   The camera 110 is an imaging unit that is mounted at the front end of the vehicle and images the front of the vehicle. The camera 110 is communicably connected to the ECU 120, and a control application (hereinafter referred to as a camera application) on the camera 110 (internal control unit) generates an image signal corresponding to the captured image. It is transmitted to the control application (hereinafter referred to as ECU application).

ECU120は、車両前方監視制御を行う電子制御ユニットであり、具体的には、上述したとおり、カメラ110(カメラアプリケーション)から受信した画像に基づいて、車両前方の障害物を検出し、該障害物に関する衝突回避制御を実行してよい。ECU120(ECUアプリケーション)は、通信システム101を介してカメラ110(カメラアプリケーション)から画像信号(画像データ)を受信する。   The ECU 120 is an electronic control unit that performs vehicle forward monitoring control. Specifically, as described above, the ECU 120 detects an obstacle ahead of the vehicle based on an image received from the camera 110 (camera application), and the obstacle is detected. Collision avoidance control may be performed. The ECU 120 (ECU application) receives an image signal (image data) from the camera 110 (camera application) via the communication system 101.

CAN130は、各種ECUやアクチュエータの相互通信を行うための車載ネットワーク(LAN)である。本例において、ECU120は、CAN130に接続され、CAN130を介して、ブレーキアクチュエータ(不図示)等に制御命令を出力してよい。なお、ECU120は、ブレーキアクチュエータを直接制御する他のECU(ブレーキECU)に制御命令を出力して、衝突回避のための制動制御を実行してもよいし、直接、ブレーキアクチュエータに制御命令を出力して、衝突回避のための制動制御を実行してもよい。   The CAN 130 is an in-vehicle network (LAN) for performing mutual communication between various ECUs and actuators. In this example, the ECU 120 may be connected to the CAN 130 and output a control command to a brake actuator (not shown) or the like via the CAN 130. The ECU 120 may output a control command to another ECU (brake ECU) that directly controls the brake actuator to execute a braking control for avoiding a collision, or directly output a control command to the brake actuator. Thus, the braking control for avoiding the collision may be executed.

続いて、本実施形態に係る車載通信システム1の適用例であるカメラ−ECU間通信システム101の作用、特に、通信システム101上で転送中にエラーが発生した場合の作用について、図3を用いて説明する。   Next, FIG. 3 is used for the operation of the camera-ECU communication system 101 that is an application example of the in-vehicle communication system 1 according to the present embodiment, particularly, the operation when an error occurs during transfer on the communication system 101. I will explain.

図3は、カメラ110(カメラプリケーション)からECU120(ECUアプリケーション)に画像(画像データ)が逐次送信される場合における通信システム101の動作を説明する図である。図3(a)は、本実施形態に係る車載通信システム1を適用した通信システム101による動作を説明する図であり、図3(b)は、上述した比較例に係る車載通信システム1cを適用した通信システムによる動作を説明する図である。図3(a)、(b)共に、50msec間隔でカメラアプリケーションから送信された画像データ(画像F1〜F5)がECUアプリケーションにより順次受信される様子を示している。また、カメラアプリケーションから送信された画像F4について、通信システム101における転送中にエラー(破損)が発生している。   FIG. 3 is a diagram illustrating the operation of the communication system 101 when images (image data) are sequentially transmitted from the camera 110 (camera application) to the ECU 120 (ECU application). FIG. 3A is a diagram for explaining the operation of the communication system 101 to which the in-vehicle communication system 1 according to the present embodiment is applied, and FIG. 3B is an application of the in-vehicle communication system 1c according to the comparative example described above. It is a figure explaining operation | movement by the communication system which performed. FIGS. 3A and 3B show a state in which image data (images F1 to F5) transmitted from the camera application at intervals of 50 msec are sequentially received by the ECU application. In addition, an error (damage) occurs during transfer in the communication system 101 for the image F4 transmitted from the camera application.

図3(a)を参照するに、本実施形態に係る車載通信システム1を適用した通信システム101は、分割して送信された画像F4のうち、破損部分を含む画像F4xに対して、直前の画像F3の対応する部位(セグメント)のデータによる置換(補完)を行う。即ち、過去の画像データ(直前に受信した画像F3)により補完された画像として画像F4を生成する。そのため、データが途絶せず、50msec間隔で遅延することなく、リアルタイムに制御を継続することが可能である。また、上述したとおり、通信システム101は、ECUアプリケーションに画像F4が補完された画像(画像データ)であることを示す情報を通知するため、ECUアプリケーションは、補完された部位を除いた画像による制御を行うことが可能であり、データの信頼性を確保することができる。特に、図3(a)の下図に示す補完された画像F4においては、破損した部分を直前の画像F3の対応する部位で置換しても車両前方を走行する障害物(前方車両)の認識には影響がないため、ECU120による制御の信頼性にも問題が発生しない。即ち、分割したデータの一部が破損した場合に、破損した分割データを、例えば、直前の対応する分割データに置換しても制御処理を適切に継続することができる。なお、受信された画像はECU120内のRAM等に記憶(保持)され、RAM等に記憶された過去の画像(直前に受信した画像)を用いることにより上記補完が行われてよい。   Referring to FIG. 3A, the communication system 101 to which the in-vehicle communication system 1 according to the present embodiment is applied, the image F4x that is divided and transmitted, and the image F4x including the damaged portion is immediately before the image F4x. Replacement (complementation) by data of a corresponding part (segment) of the image F3 is performed. That is, the image F4 is generated as an image complemented by past image data (the image F3 received immediately before). Therefore, it is possible to continue the control in real time without the data being interrupted and without being delayed at intervals of 50 msec. Further, as described above, since the communication system 101 notifies the ECU application of information indicating that the image F4 is complemented (image data), the ECU application performs control based on the image excluding the complemented portion. And the reliability of data can be ensured. In particular, in the complemented image F4 shown in the lower diagram of FIG. 3A, even if the damaged portion is replaced with a corresponding portion of the immediately preceding image F3, it is possible to recognize an obstacle (front vehicle) traveling ahead of the vehicle. Does not affect the reliability of the control by the ECU 120. That is, when a part of the divided data is damaged, the control process can be appropriately continued even if the damaged divided data is replaced with, for example, the immediately preceding corresponding divided data. The received image may be stored (held) in a RAM or the like in the ECU 120, and the above complement may be performed by using a past image (an image received immediately before) stored in the RAM or the like.

一方、図3(b)を参照するに、比較例に係る車載通信システム1cを適用した通信システムは、転送中にエラーが発生した場合、エラーが発生した画像F4を破棄する。そのため、ECUプリケーションは、1周期分の画像データを取得できないため、100msecの間、適切に車両前方監視制御を実行できないおそれがある。例えば、自車両が40km/hで走行中に車両前方5mの障害物を検出し、該障害物との衝突を回避するには、障害物の検出から制御命令(制動命令)まで数百msecレベルでの処理が必要となる。そのため、障害物を検出するための画像データの取得に100msecの遅延が生じると適切な制動制御処理に支障が生じてしまう。   On the other hand, referring to FIG. 3B, in the communication system to which the in-vehicle communication system 1c according to the comparative example is applied, when an error occurs during transfer, the image F4 in which the error has occurred is discarded. Therefore, since the ECU application cannot acquire image data for one cycle, there is a possibility that the vehicle front monitoring control cannot be appropriately executed for 100 msec. For example, to detect an obstacle 5 m ahead of the vehicle while the host vehicle is traveling at 40 km / h and avoid a collision with the obstacle, the level is several hundred msec from the detection of the obstacle to the control command (braking command). Processing with is required. Therefore, if a delay of 100 msec occurs in acquiring image data for detecting an obstacle, an appropriate braking control process is hindered.

このように、比較例に係る車載通信システム1cを適用した通信システムが画像データの取得に遅延を生じ、制御処理に支障を来すのに対して、通信システム101では、破損した部分のみ直前の画像で補完を行うため、データ取得に遅延を生じない。そのため、リアルタイムに車両前方の障害物を検出することが可能となり、適切な衝突回避のための制御処理を継続することができる。   As described above, the communication system to which the in-vehicle communication system 1c according to the comparative example is applied causes a delay in the acquisition of the image data and hinders the control processing. Since data is complemented, there is no delay in data acquisition. Therefore, an obstacle ahead of the vehicle can be detected in real time, and control processing for avoiding appropriate collision can be continued.

以上、本発明を実施するための形態について詳述したが、本発明はかかる特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。   As mentioned above, although the form for implementing this invention was explained in full detail, this invention is not limited to this specific embodiment, In the range of the summary of this invention described in the claim, various Can be modified or changed.

1 車載通信システム
10 車載ネットワーク
11A 通信ミドルレイヤ(データ分割手段、チェックサム付与手段)
11B 通信ミドルレイヤ(データ破損検出手段、データ結合手段、第2の送信手段)
12A MAC/PHYレイヤ(第1の送信手段)
12B MAC/PHYレイヤ(受信手段)
20 第1のアプリケーション
30 第2のアプリケーション
100 車両前方監視装置
101 カメラ−ECU間通信システム
110 カメラ
120 ECU
130 CAN
DESCRIPTION OF SYMBOLS 1 In-vehicle communication system 10 In-vehicle network 11A Communication middle layer (data division means, checksum provision means)
11B Communication middle layer (data corruption detection means, data combination means, second transmission means)
12A MAC / PHY layer (first transmission means)
12B MAC / PHY layer (reception means)
20 First Application 30 Second Application 100 Vehicle Forward Monitoring Device 101 Camera-ECU Communication System 110 Camera 120 ECU
130 CAN

Claims (1)

送信側の第1のアプリケーションから受信側の第2のアプリケーションにデータを送信する車載通信システムであって、
前記送信側に設けられ、前記第1のアプリケーションから取得した前記データを複数に分割するデータ分割手段と、
前記送信側に設けられ、前記データ分割手段により分割された複数の分割データそれぞれに対してチェックサムを付与するチェックサム付与手段と、
前記送信側に設けられ、前記チェックサム付与手段によりチェックサムが付与された複数の分割データを前記受信側に送信する第1の送信手段と、
前記受信側に設けられ、前記第1の送信手段により送信された複数の分割データを受信する受信手段と、
前記受信側に設けられ、前記受信手段により受信された複数の分割データそれぞれのチェックサムを確認することにより、該複数の分割データそれぞれの破損を検出するデータ破損検出手段と、
前記受信側に設けられ、前記受信手段により受信された複数の分割データを結合するデータ結合手段であって、前記データ破損検出手段によりいずれかの分割データに破損が検出された場合、前記受信側に保持された過去に受信した分割データ、又は、空白データを用いて破損が検出された分割データそれぞれを補完するデータ結合手段と、
前記受信側に設けられ、前記データ結合手段により結合されたデータを前記第2のアプリケーションに送信する共に、前記データ結合手段により前記補完が行われた場合、補完が行われたことを示すデータを併せて前記第2のアプリケーションに送信する第2の送信手段を備えることを特徴とする、
車載通信システム。
An in-vehicle communication system for transmitting data from a first application on the transmission side to a second application on the reception side,
A data dividing unit that is provided on the transmission side and divides the data acquired from the first application into a plurality of pieces;
A checksum providing unit that is provided on the transmission side and adds a checksum to each of a plurality of divided data divided by the data dividing unit;
A first transmission unit that is provided on the transmission side and transmits a plurality of divided data to which the checksum is added by the checksum addition unit to the reception side;
A receiving means provided on the receiving side for receiving a plurality of divided data transmitted by the first transmitting means;
A data corruption detection unit that is provided on the receiving side and detects a corruption of each of the plurality of divided data by confirming a checksum of each of the plurality of divided data received by the reception unit;
A data combining unit that is provided on the receiving side and combines a plurality of pieces of divided data received by the receiving unit, and when the data corruption detecting unit detects any broken data, the receiving side Data combining means for complementing each of the divided data received in the past held in the above, or the divided data detected to be damaged by using blank data;
Provided on the receiving side, the data combined by the data combining means is transmitted to the second application, and when the complement is performed by the data combining means, data indicating that the complement has been performed. In addition, it comprises a second transmission means for transmitting to the second application.
In-vehicle communication system.
JP2014020671A 2014-02-05 2014-02-05 On-vehicle communication system Pending JP2015149564A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014020671A JP2015149564A (en) 2014-02-05 2014-02-05 On-vehicle communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014020671A JP2015149564A (en) 2014-02-05 2014-02-05 On-vehicle communication system

Publications (1)

Publication Number Publication Date
JP2015149564A true JP2015149564A (en) 2015-08-20

Family

ID=53892632

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014020671A Pending JP2015149564A (en) 2014-02-05 2014-02-05 On-vehicle communication system

Country Status (1)

Country Link
JP (1) JP2015149564A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05167616A (en) * 1991-12-12 1993-07-02 Matsushita Electric Ind Co Ltd Communication processor
JP2002281507A (en) * 2001-03-19 2002-09-27 Fujitsu Ltd Encoder and decoder for moving image
JP2003224546A (en) * 2002-01-29 2003-08-08 Sony Corp Communication system, data receiving method and data communication terminal
JP2010068350A (en) * 2008-09-11 2010-03-25 Sanyo Electric Co Ltd Communication method, and radio device utilizing the same
JP2013243699A (en) * 2005-03-10 2013-12-05 Qualcomm Inc Decoder architecture for optimized error management in streaming multimedia

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05167616A (en) * 1991-12-12 1993-07-02 Matsushita Electric Ind Co Ltd Communication processor
JP2002281507A (en) * 2001-03-19 2002-09-27 Fujitsu Ltd Encoder and decoder for moving image
JP2003224546A (en) * 2002-01-29 2003-08-08 Sony Corp Communication system, data receiving method and data communication terminal
JP2013243699A (en) * 2005-03-10 2013-12-05 Qualcomm Inc Decoder architecture for optimized error management in streaming multimedia
JP2010068350A (en) * 2008-09-11 2010-03-25 Sanyo Electric Co Ltd Communication method, and radio device utilizing the same

Similar Documents

Publication Publication Date Title
EP3223195B1 (en) Device and method for detecting object
US9947144B2 (en) Error variance detection method of CAN communication system and the CAN communication system
EP2917073B1 (en) Fault tolerant display
JP6394561B2 (en) In-vehicle recording system and in-vehicle controller
US20200334926A1 (en) Anomaly detection electronic control unit, in-vehicle network system, and anomaly detection method
US20160311419A1 (en) Failure tolerant vehicle speed
JP6259132B2 (en) In-vehicle camera device
JP2007226680A (en) Object detection system
US20210258187A1 (en) Electronic control device, electronic control method, and recording medium
US20180375881A1 (en) Information processing device, information processing method, and non-transitory computer readable recording medium
US11582112B2 (en) Electronic control unit and electronic control system
US11394726B2 (en) Method and apparatus for transmitting a message sequence over a data bus and method and apparatus for detecting an attack on a message sequence thus transmitted
KR101896890B1 (en) Camera of vehicle Image Synchronization Method and Apparatus
JP2014071632A (en) Vehicle information collection device
US10120715B2 (en) Distributed network management system and method for a vehicle
CN105637811A (en) Semantic deduplication
JP2015065546A (en) Vehicle control unit
JP2016141269A (en) On-vehicle communication system
JP2015149564A (en) On-vehicle communication system
JP6252462B2 (en) Image recording device
KR20200087307A (en) Vehicle and control method of the same
JP6555086B2 (en) In-vehicle network system
JP6245160B2 (en) Image recording device
WO2021049354A1 (en) Communication device, communication method, and program
JP2022096920A (en) Electronic control device mounted on vehicle

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160318

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170221

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20170905