JP5286659B2 - In-vehicle device relay system, in-vehicle device relay method, and relay device - Google Patents

In-vehicle device relay system, in-vehicle device relay method, and relay device Download PDF

Info

Publication number
JP5286659B2
JP5286659B2 JP2006301968A JP2006301968A JP5286659B2 JP 5286659 B2 JP5286659 B2 JP 5286659B2 JP 2006301968 A JP2006301968 A JP 2006301968A JP 2006301968 A JP2006301968 A JP 2006301968A JP 5286659 B2 JP5286659 B2 JP 5286659B2
Authority
JP
Japan
Prior art keywords
vehicle
numerical value
abnormal
data
relay
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.)
Expired - Fee Related
Application number
JP2006301968A
Other languages
Japanese (ja)
Other versions
JP2008114806A (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.)
Sumitomo Wiring Systems Ltd
AutoNetworks Technologies Ltd
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Wiring Systems Ltd
AutoNetworks Technologies Ltd
Sumitomo Electric Industries 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 Sumitomo Wiring Systems Ltd, AutoNetworks Technologies Ltd, Sumitomo Electric Industries Ltd filed Critical Sumitomo Wiring Systems Ltd
Priority to JP2006301968A priority Critical patent/JP5286659B2/en
Publication of JP2008114806A publication Critical patent/JP2008114806A/en
Application granted granted Critical
Publication of JP5286659B2 publication Critical patent/JP5286659B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

本発明は、車載装置と、車内通信回線間を接続する中継装置とを含む車載装置中継システムに関し、特に車載装置中継システム全体で制御を統制することができる車載装置中継システム、車載装置中継方法及び車載装置中継システムに含まれる中継装置に関する。   The present invention relates to an in-vehicle device relay system including an in-vehicle device and a relay device that connects between in-vehicle communication lines, and more particularly to an in-vehicle device relay system, an in-vehicle device relay method, and an in-vehicle device relay system capable of controlling control in the entire in-vehicle device relay system. The present invention relates to a relay device included in an in-vehicle device relay system.

近年、電子制御装置(ECU;Electronic Control Unit)を使用した車載装置の機能の増加に伴い、車両に配される車載装置の数及び種類も増加する傾向にある。   In recent years, with the increase in functions of in-vehicle devices using an electronic control unit (ECU), the number and types of in-vehicle devices arranged in the vehicle tend to increase.

車載装置の機能の増加又は複雑化に伴い、車載装置が検知した物理量の数値を含むデータを車載装置間で送受信して共有し、車載装置どうしで連携して動作することが必要な場合がある。したがって、複数の車載装置の内の一が異常な動作を行なっている場合は他の車載装置の動作に影響する虞がある。   As the functions of in-vehicle devices increase or become complex, it may be necessary to transmit and receive data including numerical values of physical quantities detected by the in-vehicle devices between the in-vehicle devices and to operate in cooperation between the in-vehicle devices. . Therefore, when one of the plurality of in-vehicle devices performs an abnormal operation, the operation of the other in-vehicle devices may be affected.

そこで、特許文献1に開示されている車載装置通信システムは、複数の車載装置の内の一を、他の車載装置の動作状態を検知するマスタ装置とし、マスタ車載装置は他の車載装置の異常な動作を検知した場合にその異常な動作をしている車載装置を再起動させる処理を行なって初期状態に戻すようにしてある。これにより、システム全体としての動作を正常に戻して処理を継続することができる。
特開2004−17676号公報
Therefore, in the in-vehicle device communication system disclosed in Patent Document 1, one of the plurality of in-vehicle devices is used as a master device that detects the operation state of the other in-vehicle devices, and the master in-vehicle device is an abnormality of the other in-vehicle devices. When an abnormal operation is detected, a process for restarting the in-vehicle device performing the abnormal operation is performed to return to the initial state. As a result, it is possible to return the operation of the entire system to normal and continue the processing.
JP 2004-17676 A

特許文献1に開示されている技術は、車載装置又は車載装置に接続されているセンサ等の動作自体に異常が発生している場合、他の車載装置へ影響を与えることなく再起動させて初期状態に戻し、システム全体としての誤った処理を防止することができる。   In the technology disclosed in Patent Document 1, when an abnormality has occurred in the operation of a vehicle-mounted device or a sensor connected to the vehicle-mounted device, it is restarted without affecting other vehicle-mounted devices. It is possible to return to the state and prevent erroneous processing as the entire system.

しかしながら、車載装置及び車載装置に接続されているセンサは正常に動作している場合でも、センサが現実に検知した物理量の数値が車両の制御に対して異常な数値であるときがある。この場合、一の車載装置がデータに含まれる物理量の数値を検査して異常な値であるか否かを判断する手段を備えているときは、一の車載装置は異常な値を含むデータに対する所定の異常時処理を行なう。   However, even when the in-vehicle device and the sensor connected to the in-vehicle device are operating normally, the numerical value of the physical quantity actually detected by the sensor may be an abnormal value for the control of the vehicle. In this case, when one in-vehicle device is provided with a means for examining whether or not the physical quantity contained in the data is an abnormal value, the one in-vehicle device corresponds to the data including the abnormal value. A predetermined abnormal process is performed.

車載装置通信システムは、異なる製造者によって製造された複数の車載装置によって構成されることが一般的である。車載装置が接続されているネットワークについてはネットワークの異常が検知された場合、その異常を知らせるエラーデータを車載装置通信システムに送信するように規定されているので、ネットワークに異常が発生していると全車載装置で同様に判断することができる。   The in-vehicle device communication system is generally composed of a plurality of in-vehicle devices manufactured by different manufacturers. If a network abnormality is detected for the network to which the in-vehicle device is connected, error data notifying the abnormality is sent to the in-vehicle device communication system, so there is an abnormality in the network. The same determination can be made for all in-vehicle devices.

ところが、車載装置及び車載装置に接続されているセンサの動作、ネットワークが正常である場合、データが含む数値情報が示す数値が異常であるかについては、数値が異常か否かを判断する手段を有する車載装置が夫々判断する。上述のように車載装置通信システムは一般的に異なる製造者によって製造された車載装置によって構成されるので、夫々の異常か否かの判断基準は異なる可能性が高い。   However, when the operation of the in-vehicle device and the sensor connected to the in-vehicle device and the network are normal, whether the numerical value indicated by the numerical information included in the data is abnormal is a means for determining whether the numerical value is abnormal. Each in-vehicle device has a judgment. As described above, since the in-vehicle device communication system is generally composed of in-vehicle devices manufactured by different manufacturers, there is a high possibility that the criteria for determining whether or not there is an abnormality are different.

したがって、車両のいずれかの箇所の故障を示している場合等の車載装置間で送受信されるデータが含む数値情報が示す数値が異常な場合に、異常な数値であると判断する車載装置と異常な数値ではないと判断する車載装置とが夫々動作することは、車載装置の制御に相互に影響を与え、車両の制御として統制がとれない虞があった。   Therefore, when the numerical value indicated by the numerical information included in the data transmitted / received between the in-vehicle devices, such as when indicating a failure in any part of the vehicle, is abnormal, the in-vehicle device and the abnormality determined to be abnormal The operation of the in-vehicle device that is determined to be not a numerical value affects the control of the in-vehicle device, and there is a possibility that control cannot be taken as control of the vehicle.

本発明は斯かる事情に鑑みてなされたものであり、車載装置間で送受信されるデータに含まれる数値の正常/異常の判断を各車載装置で統制することができる車載装置中継システム、車載装置中継方法及び中継装置を提供することを主たる目的とする。   The present invention has been made in view of such circumstances, and an in-vehicle device relay system and an in-vehicle device capable of controlling the determination of normality / abnormality of numerical values included in data transmitted / received between in-vehicle devices with each in-vehicle device. The main purpose is to provide a relay method and a relay device.

本発明の他の目的は、車載装置間で送受信されるデータに含まれる数値の異常が解消された場合は、元の動作に復旧することができる車載装置中継システム、車載装置中継方法及び中継装置を提供することにある。   Another object of the present invention is to provide an in-vehicle device relay system, an in-vehicle device relay method, and a relay device that can restore the original operation when an abnormality in numerical values included in data transmitted and received between the in-vehicle devices is resolved. Is to provide.

本発明の他の目的は、車載装置間で送受信されるデータに含まれる数値の時間経過に対する変化について異常を判断することができ、異常の発生に対する予測判断を統制することが可能な車載装置中継システム、車載装置中継方法及び中継装置を提供することにある。   Another object of the present invention is to determine whether there is an abnormality with respect to a change in a numerical value included in data transmitted / received between in-vehicle devices over time, and to control prediction prediction for occurrence of the abnormality. A system, an in-vehicle device relay method, and a relay device are provided.

また、本発明の他の目的は、車載装置間で送受信されるデータに含まれる数値が異常な数値と判断された後に正常な数値と判断された場合でも、異常な数値を検知したことを異常記録から把握することができる車載装置中継システム、車載装置中継方法及び中継装置を提供することにある。   Another object of the present invention is to detect that an abnormal numerical value is detected even when the numerical value included in the data transmitted / received between the in-vehicle devices is determined to be an abnormal numerical value. An object of the present invention is to provide an in-vehicle device relay system, an in-vehicle device relay method, and a relay device that can be grasped from a record.

第1発明に係る車載装置中継システムは、数値情報を含むデータを送信及び/又は受信する複数の車載装置と、該車載装置に車内通信回線を介して接続されており、一の車載装置からデータを受信し、受信したデータを他の車載装置へ送信する中継装置とを備える車載装置中継システムにおいて、前記中継装置は、受信したデータに含まれる数値情報が示す数値が、車両の制御に係る数値として正常であるか否かを当該システム全体の統一基準に基づき判断する判断手段を備え、数値が異常であると前記判断手段が判断した場合、所定の異常値を示す数値情報を含むデータを送信するようにしてあることを特徴とする。 The in-vehicle device relay system according to the first aspect of the present invention is connected to a plurality of in-vehicle devices that transmit and / or receive data including numerical information, and the in-vehicle device via an in-vehicle communication line. In a vehicle-mounted device relay system comprising a relay device that receives the received data and transmits the received data to another vehicle-mounted device, the relay device is configured such that the numerical value indicated by the numerical information included in the received data is a numerical value related to vehicle control. comprising a determining means for determining based on whether it is normal to uniform standards of the entire system as if the number is judged that the determination unit to be abnormal, the transmission data including numerical information indicating a predetermined abnormal value It is made to do so.

第2発明に係る車載装置中継システムは、数値情報を含むデータを送信及び/又は受信する複数の車載装置と、該車載装置に車内通信回線を介して接続されており、一の車載装置からデータを受信し、受信したデータを他の車載装置へ送信する中継装置とを備える車載装置中継システムにおいて、前記中継装置は、受信したデータに含まれる数値情報が示す数値が、車両の制御に係る数値として正常であるか否かを当該システム全体の統一基準に基づき判断する判断手段を備え、数値が異常であると前記判断手段が判断した場合、数値が異常であると判断されたデータの他の車載装置への送信を中止するようにしてあることを特徴とする。 The in-vehicle device relay system according to the second invention is connected to a plurality of in-vehicle devices that transmit and / or receive data including numerical information, and the in-vehicle device via an in-vehicle communication line. In a vehicle-mounted device relay system comprising a relay device that receives the received data and transmits the received data to another vehicle-mounted device, the relay device is configured such that the numerical value indicated by the numerical information included in the received data is a numerical value related to vehicle control. A determination means for determining whether the value is normal or not based on a unified standard for the entire system , and when the determination means determines that the numerical value is abnormal, the other data for which the numerical value is determined to be abnormal The transmission to the in-vehicle device is stopped.

第3発明に係る車載装置中継システムは、前記中継装置は、数値が異常であると前記判断手段が判断してデータの送信を中止した後、数値が正常であると前記判断手段が判断した場合、数値が異常であると判断されていたデータの送信を再開するようにしてあることを特徴とする。   In the in-vehicle device relay system according to a third aspect of the present invention, the determination device determines that the numerical value is normal after the determination device determines that the numerical value is abnormal and stops transmitting data. The transmission of the data whose numerical value has been determined to be abnormal is resumed.

第4発明に係る車載装置中継システムは、前記データは該データの種類を示す情報を含み、前記中継装置は、受信したデータに含まれる数値情報をデータの種類毎に時系列に記憶する手段を備え、前記判断手段は、前記種類の一について、記憶した数値情報が示す数値の時間経過に対する変化が所定の条件に一致するか否かを判断し、所定の条件に一致する場合に数値が異常であると判断するようにしてあることを特徴とする。   In the in-vehicle apparatus relay system according to a fourth aspect of the present invention, the data includes information indicating the type of the data, and the relay apparatus stores means for storing numerical information included in the received data in time series for each data type. The determination means determines whether the change of the numerical value indicated by the stored numerical information with respect to time for one of the types matches a predetermined condition, and the numerical value is abnormal when the predetermined condition is satisfied. It is characterized that it is judged that it is.

第5発明に係る車載装置中継システムは、前記中継装置は、数値が異常であると前記判断手段が判断した場合、異常と判断した数値を含む異常記録を記憶するようにしてあることを特徴とする。   The in-vehicle device relay system according to a fifth aspect of the invention is characterized in that when the determination unit determines that the numerical value is abnormal, the relay device stores an abnormality record including the numerical value determined to be abnormal. To do.

第6発明に係る車載装置中継方法は、数値情報を含むデータを送信及び/又は受信する複数の車載装置と、該車載装置に車内通信回線を介して接続されており、一の車載装置からデータを受信し、受信したデータを他の車載装置へ送信する中継装置とを用いる車載装置中継方法において、前記中継装置は、受信したデータに含まれる数値情報が示す数値が、車両の制御に係る数値として正常であるか否かを当該システム全体の統一基準に基づき判断し、数値が異常であると判断した場合、所定の異常値を示す数値情報を含むデータを送信することを特徴とする。 An in-vehicle device relay method according to a sixth aspect of the present invention includes a plurality of in-vehicle devices that transmit and / or receive data including numerical information, and the in-vehicle device connected to the in-vehicle device via an in-vehicle communication line. In a vehicle-mounted device relay method using a relay device that receives the received data and transmits the received data to another vehicle-mounted device, the relay device is configured such that a numerical value indicated by numerical information included in the received data is a numerical value related to vehicle control. Whether or not it is normal is determined based on the unified standard of the entire system , and when it is determined that the numerical value is abnormal, data including numerical information indicating a predetermined abnormal value is transmitted.

第7発明に係る車載装置中継方法は、数値情報を含むデータを送信及び/又は受信する複数の車載装置と、該車載装置に車内通信回線を介して接続されており、一の車載装置からデータを受信し、受信したデータを他の車載装置へ送信する中継装置とを用いる車載装置中継方法において、前記中継装置は、受信したデータに含まれる数値情報が示す数値が、車両の制御に係る数値として正常であるか否かを当該システム全体の統一基準に基づき判断し、数値が異常であると判断した場合、数値が異常であると判断されたデータの他の車載装置への送信を中止することを特徴とする。 A vehicle-mounted device relay method according to a seventh aspect of the invention is a plurality of vehicle-mounted devices that transmit and / or receive data including numerical information, and is connected to the vehicle-mounted device via an in-vehicle communication line. In a vehicle-mounted device relay method using a relay device that receives the received data and transmits the received data to another vehicle-mounted device, the relay device is configured such that a numerical value indicated by numerical information included in the received data is a numerical value related to vehicle control. determined based on uniform standards of the entire system whether it is normal as, if it is determined that the number is abnormal, numerical ceases transmission to another vehicle device data is determined to be abnormal It is characterized by that.

第8発明に係る車載装置中継方法は、前記中継装置は、数値が異常であると前記判断手段が判断してデータの送信を中止した後、数値が正常であると前記判断手段が判断した場合、数値が異常であると判断されていたデータの送信を再開することを特徴とする。   In the in-vehicle device relay method according to an eighth aspect of the present invention, the determination device determines that the numerical value is normal after the determination device determines that the numerical value is abnormal and stops the data transmission. The transmission of the data whose numerical value has been determined to be abnormal is restarted.

第9発明に係る車載装置中継方法は、前記データは該データの種類を示す情報を含み、前記中継装置は、受信したデータに含まれる数値情報をデータの種類毎に時系列に記憶し、前記種類の一について、記憶した数値情報が示す数値の時間経過に対する変化が所定の条件に一致するか否かを判断し、所定の条件に一致する場合に数値が異常であると判断することを特徴とする。   In the in-vehicle device relay method according to a ninth aspect of the invention, the data includes information indicating the type of the data, and the relay device stores numerical information included in the received data in time series for each data type, For one of the types, it is determined whether or not the change of the numerical value indicated by the stored numerical information matches a predetermined condition, and if the predetermined condition is satisfied, the numerical value is determined to be abnormal And

第10発明に係る車載装置中継方法は、前記中継装置は、数値が異常であると判断した場合、異常と判断した数値を含む異常記録を記憶することを特徴とする。   The in-vehicle device relay method according to a tenth aspect of the invention is characterized in that when the relay device determines that the numerical value is abnormal, it stores an abnormality record including the numerical value determined to be abnormal.

第11発明に係る中継装置は、複数の外部装置と車内通信回線を介して接続されており、一の外部装置から数値情報を含むデータを受信し、受信したデータを他の車載装置へ送信する中継装置において、受信したデータに含まれる数値情報が示す数値が、車両の制御に係る数値として正常であるか否かを当該システム全体の統一基準に基づき判断する判断手段を備え、数値が異常であると前記判断手段が判断した場合、所定の異常値を示す数値情報を含むデータを送信するようにしてあることを特徴とする。 A relay device according to an eleventh aspect of the present invention is connected to a plurality of external devices via an in-vehicle communication line, receives data including numerical information from one external device, and transmits the received data to another in-vehicle device. The relay device includes a determination unit that determines whether the numerical value indicated by the numerical information included in the received data is normal as a numerical value related to vehicle control based on a unified standard of the entire system , and the numerical value is abnormal. If the determination means determines that there is, data including numerical information indicating a predetermined abnormal value is transmitted.

第12発明に係る中継装置は、複数の外部装置と車内通信回線を介して接続されており、一の外部装置から数値情報を含むデータを受信し、受信したデータを他の車載装置へ送信する中継装置において、受信したデータに含まれる数値情報が示す数値が、車両の制御に係る数値として正常であるか否かを当該システム全体の統一基準に基づき判断する判断手段を備え、数値が異常であると前記判断手段が判断した場合、数値が異常であると判断されたデータの他の車載装置への送信を中止するようにしてあることを特徴とする。 A relay device according to a twelfth aspect of the present invention is connected to a plurality of external devices via an in-vehicle communication line, receives data including numerical information from one external device, and transmits the received data to another in-vehicle device. The relay device includes a determination unit that determines whether the numerical value indicated by the numerical information included in the received data is normal as a numerical value related to vehicle control based on a unified standard of the entire system , and the numerical value is abnormal. If the determination means determines that there is, the transmission of the data whose numerical value is determined to be abnormal to another in-vehicle device is stopped.

第13発明に係る中継装置は、数値が異常であると前記判断手段が判断してデータの送信を中止した後、数値が正常であると前記判断手段が判断した場合、数値が異常であると判断されていたデータの送信を再開することを特徴とする。   In the relay device according to the thirteenth aspect, if the determination means determines that the numerical value is normal after the determination means determines that the numerical value is abnormal and stops transmitting data, the numerical value is abnormal. The transmission of the determined data is resumed.

第14発明に係る中継装置は、前記データは該データの種類を示す情報を含み、受信したデータに含まれる数値情報をデータの種類毎に時系列に記憶する手段を備え、前記判断手段は、前記種類の一について、記憶した数値情報が示す数値の時間経過に対する変化が所定の条件に一致するか否かを判断し、所定の条件に一致する場合に数値が異常であると判断することを特徴とする。   In the relay device according to a fourteenth aspect, the data includes information indicating the type of the data, and includes means for storing numerical information included in the received data in time series for each data type, and the determination unit includes: For one of the types, it is determined whether or not the change of the numerical value indicated by the stored numerical information matches a predetermined condition, and when the predetermined condition is satisfied, the numerical value is determined to be abnormal Features.

第15発明に係る中継装置は、数値が異常であると判断した場合、異常と判断した数値を含む異常記録を記憶することを特徴とする。   The relay apparatus according to the fifteenth aspect of the present invention stores an abnormality record including a numerical value determined to be abnormal when it is determined that the numerical value is abnormal.

第1発明、第6発明及び第11発明では、車載装置中継システムを構成する車載装置は中継装置へ数値情報を含むデータを送信し、中継装置は各車載装置から受信したデータを他の車載装置へ送信する。中継装置は受信したデータに含まれる数値情報が示す数値が正常か否かを判断する。数値が異常であると判断した場合、所定の異常値を示す数値情報を含むデータを他の車載装置へ送信する。   In the first invention, the sixth invention, and the eleventh invention, the in-vehicle device constituting the in-vehicle device relay system transmits data including numerical information to the relay device, and the relay device receives the data received from each in-vehicle device as another in-vehicle device. Send to. The relay device determines whether or not the numerical value indicated by the numerical information included in the received data is normal. If it is determined that the numerical value is abnormal, data including numerical information indicating a predetermined abnormal value is transmitted to another in-vehicle device.

第2発明、第7発明及び第12発明では、車載装置中継システムを構成する車載装置は中継装置へ数値情報を含むデータを送信し、中継装置は各車載装置から受信したデータを他の車載装置へ送信する。中継装置は受信したデータに含まれる数値情報が示す数値が正常か否かを判断する。数値が異常であると判断した場合、中継装置は異常であると判断されたデータの他の車載装置への送信を中止する。   In the second invention, the seventh invention, and the twelfth invention, the in-vehicle device constituting the in-vehicle device relay system transmits data including numerical information to the relay device, and the relay device receives the data received from each in-vehicle device as another in-vehicle device. Send to. The relay device determines whether or not the numerical value indicated by the numerical information included in the received data is normal. When it is determined that the numerical value is abnormal, the relay device stops transmitting the data determined to be abnormal to the other in-vehicle device.

第3発明、第8発明及び第13発明では、車載装置中継システムを構成する中継装置は、受信したデータに含まれる数値情報が示す数値が異常であると判断して当該データの他の車載装置への送信を中止した後、受信したデータに含まれる数値情報の数値が正常であると判断した場合、当該データの送信を再開する。   In the third invention, the eighth invention, and the thirteenth invention, the relay device constituting the in-vehicle device relay system determines that the numerical value indicated by the numerical information included in the received data is abnormal, and the other in-vehicle device of the data After the transmission to is stopped, when it is determined that the numerical value information included in the received data is normal, the transmission of the data is resumed.

第4発明、第9発明及び第14発明では、車載装置中継システムを構成する中継装置は、受信したデータを該データの種類毎に時系列に記憶し、一の種類について数値情報が示す数値の時間経過に対する変化が所定の条件に一致する場合は、当該一の種類についての数値を異常であると判断する。   In the fourth invention, the ninth invention, and the fourteenth invention, the relay device constituting the in-vehicle device relay system stores the received data in time series for each type of the data, and the numerical value indicated by the numerical information for one type If the change over time matches a predetermined condition, it is determined that the numerical value for the one type is abnormal.

第5発明、第10発明及び第15発明では、車載装置中継システムを構成する中継装置は、受信したデータに含まれる数値情報が示す数値が異常であると判断した場合は、異常と判断した数値を含む異常記録を記憶する。   In the fifth invention, the tenth invention, and the fifteenth invention, when the relay device constituting the in-vehicle device relay system determines that the numerical value indicated by the numerical information included in the received data is abnormal, the numerical value determined to be abnormal The abnormal record including is memorized.

第1発明、第6発明及び第11発明による場合は、車載装置中継システムの各車載装置から数値情報を含むデータを受信する中継装置は、各車載装置の動作自体及び車内通信回線での伝送状態は異常でないにも拘わらず、受信したデータに含まれる数値情報が示す数値が異常な数値であるときは、各車載装置でも統一して異常であると判断させるために所定の異常値を示す数値情報を含むデータを各車載装置へ送信する。これにより、所定の異常値を示す数値情報を含むデータを受信した各車載装置は、統一して数値が異常であると判断するので、データに含まれる数値情報が示す数値に対する正常/異常の判断を各車載装置で統制することができる。   In the first invention, the sixth invention, and the eleventh invention, the relay device that receives data including numerical information from each in-vehicle device of the in-vehicle device relay system is the operation itself of each in-vehicle device and the transmission state in the in-vehicle communication line. When the numerical value indicated by the numerical information included in the received data is an abnormal numerical value, even though it is not abnormal, a numerical value indicating a predetermined abnormal value so that each vehicle-mounted device can uniformly determine that it is abnormal Data including information is transmitted to each in-vehicle device. Accordingly, each in-vehicle device that has received the data including the numerical information indicating the predetermined abnormal value integrally determines that the numerical value is abnormal. Therefore, the normal / abnormal determination with respect to the numerical value indicated by the numerical information included in the data is performed. Can be controlled by each in-vehicle device.

第2発明、第7発明及び第12発明による場合は、車載装置中継システムの各車載装置から数値情報を含むデータを受信する中継装置は、各車載装置の動作自体及び車内通信回線での伝送状態は異常でないにも拘わらず、数値情報が示す数値が異常な数値であるときは、各車載装置でも統一して異常であると判断させるために当該データの他の車載装置への送信を中止する。これにより、当該データを受信することができなくなった各車載装置は統一してデータの種類に対する数値が異常な数値であると判断するので、データに含まれる数値情報が示す数値に対する正常/異常の判断を各車載装置で統制することができる。   In the second invention, the seventh invention, and the twelfth invention, the relay device that receives data including numerical information from each in-vehicle device of the in-vehicle device relay system is the operation itself of each in-vehicle device and the transmission state in the in-vehicle communication line. When the numerical value indicated by the numerical information is an abnormal numerical value even though it is not abnormal, the transmission of the data to other in-vehicle devices is stopped in order to determine that the in-vehicle devices are unified and abnormal. . As a result, the in-vehicle devices that can no longer receive the data are unified to determine that the numerical value for the type of data is an abnormal numerical value, and therefore normal / abnormal with respect to the numerical value indicated by the numerical information included in the data. Judgment can be controlled by each in-vehicle device.

第3発明、第8発明及び第13発明による場合は、車載装置中継システムを構成する中継装置は、受信したデータに含まれる数値情報が示す数値が異常から正常へ戻ったときは異常であると判断されていたデータの送信を再開する。これにより、データに含まれる数値情報が示す数値が異常であると判断された後でも、データに含まれる数値情報が示す数値が正常に戻った場合は元の動作に復旧することができる。   According to the third invention, the eighth invention, and the thirteenth invention, the relay device constituting the in-vehicle device relay system is abnormal when the numerical value indicated by the numerical information included in the received data returns from normal to normal. Resume transmission of data that has been determined. Thereby, even after it is determined that the numerical value indicated by the numerical information included in the data is abnormal, the original operation can be restored if the numerical value indicated by the numerical information included in the data returns to normal.

第4発明、第9発明及び第14発明による場合は、車載装置中継システムを構成する中継装置は受信したデータを該データの種類毎に時系列に記憶する。これにより、データに含まれる数値情報が示す数値の時間経過に対する変化に対して異常を判断することができ、一回のデータの受信に対して数値情報が示す数値自体は異常でない場合でも、数値の時間経過に対する変化が異常を示すときは数値情報が示す数値の異常を予測し、各車載装置での数値情報の数値の異常の発生に対する予測判断を統制することができる。   In the case of the fourth, ninth and fourteenth inventions, the relay device constituting the in-vehicle device relay system stores the received data in time series for each type of the data. As a result, it is possible to determine abnormality with respect to the change of the numerical value indicated by the numerical information included in the data over time, and even if the numerical value itself indicated by the numerical information is not abnormal with respect to a single reception of the data, When the change with respect to the passage of time indicates an abnormality, an abnormality of the numerical value indicated by the numerical information can be predicted, and the prediction judgment for the occurrence of the numerical abnormality of the numerical information in each in-vehicle device can be controlled.

第5発明、第10発明及び第15発明による場合は、車載装置中継システムを構成する中継装置は、受信したデータに含まれる数値情報が示す数値が異常であると判断した場合に異常であると判断された数値を含む異常記録を記憶するので、車載装置中継システムが正常な動作中であっても、過去に異常な数値を検知したことを異常記録から把握することができる。   In the fifth invention, the tenth invention, and the fifteenth invention, the relay device constituting the in-vehicle device relay system is abnormal when it is determined that the numerical value indicated by the numerical information included in the received data is abnormal. Since the abnormal record including the determined numerical value is stored, it is possible to grasp from the abnormal record that the abnormal numerical value has been detected in the past even when the in-vehicle device relay system is operating normally.

以下、本発明をその実施の形態を示す図面に基づいて具体的に説明する。   Hereinafter, the present invention will be specifically described with reference to the drawings showing embodiments thereof.

(実施の形態1)
図1は、本発明の実施の形態1における車載装置通信システムの構成を示す模式図である。車載装置通信システムは、電子制御装置(ECU;Electronic Control Unit)を用いた車載装置1a,1b,1c,1d,1e,1fと、車載装置1a,1b,1c,1d,1e,1f間を接続する車内通信回線2a,2b,2cと、車内通信回線2a,2b,2c間を接続する中継装置3a,3b,3cと、中継装置3a,3b,3c間を接続する通信回線4と、車載装置1a,1eに接続しているセンサ5a,5eとを備える。
(Embodiment 1)
FIG. 1 is a schematic diagram showing the configuration of the in-vehicle device communication system according to Embodiment 1 of the present invention. The in-vehicle device communication system connects between the in-vehicle devices 1a, 1b, 1c, 1d, 1e, and 1f using an electronic control unit (ECU) and the in-vehicle devices 1a, 1b, 1c, 1d, 1e, and 1f. In-vehicle communication lines 2a, 2b, and 2c, in-vehicle communication lines 2a, 2b, and 2c, relay devices 3a, 3b, and 3c, communication lines 4 that connect between the relay devices 3a, 3b, and 3c, and in-vehicle devices Sensors 5a and 5e connected to 1a and 1e.

車載装置1a,1bは車内通信回線2aに、車載装置1c,1dは車内通信回線2bに、車載装置1e,1fは車内通信回線2cに夫々バス型で接続されている。車内通信回線2aには中継装置3aが更にバス型で接続されており、中継装置3aは車載装置1a,1bが送信するデータを受信することが可能である。同様に、車内通信回線2bには中継装置3bが更にバス型で接続されており、中継装置3bは車載装置1c,1dが送信するデータを受信することが可能である。車内通信回線2cには中継装置3cが更にバス型で接続されており、中継装置3cは車載装置1e,1fが送信するデータを受信することが可能である。   The in-vehicle devices 1a and 1b are connected to the in-vehicle communication line 2a, the in-vehicle devices 1c and 1d are connected to the in-vehicle communication line 2b, and the in-vehicle devices 1e and 1f are connected to the in-vehicle communication line 2c in a bus type. A relay device 3a is further connected in a bus form to the in-vehicle communication line 2a, and the relay device 3a can receive data transmitted by the in-vehicle devices 1a and 1b. Similarly, a relay device 3b is further connected to the in-vehicle communication line 2b in a bus shape, and the relay device 3b can receive data transmitted by the in-vehicle devices 1c and 1d. A relay device 3c is further connected to the in-vehicle communication line 2c in a bus type, and the relay device 3c can receive data transmitted by the in-vehicle devices 1e and 1f.

中継装置3a,3b,3cは通信回線4を介して接続されており、相互にデータを送受信することが可能である。車載装置1a,1bは、他の車内通信回線2b,2cに接続される車載装置1c,1d,1e,1fとは中継装置3a,3b,3c及び通信回線4を介してデータの送受信が可能である。通信回線4は、実施の形態1ではパケット交換網として説明するが、車内通信回線2a,2b,2c同様の車内通信回線で構成してもよい。   The relay devices 3a, 3b, and 3c are connected via the communication line 4 and can transmit and receive data to and from each other. The in-vehicle devices 1a and 1b can exchange data with the in-vehicle devices 1c, 1d, 1e, and 1f connected to the other in-vehicle communication lines 2b and 2c via the relay devices 3a, 3b, and 3c and the communication line 4. is there. Although the communication line 4 is described as a packet switching network in the first embodiment, it may be constituted by in-vehicle communication lines similar to the in-vehicle communication lines 2a, 2b, and 2c.

車載装置1a,1b,1c,1d,1e,1fは電子制御装置を用い、各種物理量の数値を含むデータの送信又はエンジン、ブレーキ等のマイクロコンピュータによる制御が可能な装置である。例えば一の車載装置1aはABS(Antilock Brake System)として機能し、車輪の回転速度を検知するセンサ5aと接続されている。車載装置1aは、車両の制動時にセンサ5aを介して検知した車輪速に基づいてブレーキを制御すると共に、車輪速の測定値を含むデータを他の車載装置1b及び中継装置3aへ送信して他の車載装置1b,1c,1d,1e,1fのいずれかが車輪速の測定値を動作に使用できるようにする。   The in-vehicle devices 1a, 1b, 1c, 1d, 1e, and 1f are devices that use an electronic control device and can transmit data including numerical values of various physical quantities or be controlled by a microcomputer such as an engine and a brake. For example, one in-vehicle device 1a functions as an ABS (Antilock Break System) and is connected to a sensor 5a that detects the rotational speed of the wheel. The in-vehicle device 1a controls the brake based on the wheel speed detected via the sensor 5a during braking of the vehicle, and transmits data including the measured value of the wheel speed to the other in-vehicle device 1b and the relay device 3a. Any of the vehicle-mounted devices 1b, 1c, 1d, 1e, and 1f enables the measured value of the wheel speed to be used for the operation.

車内通信回線2a,2b,2cは、CAN(Control Area Network)のプロトコルに基づく通信回線であり、車載装置1a,1b,1c,1d,1e,1fは車内通信回線2a,2b,2cを介してCANに基づく信号の発生/検出によりデータの送受信が可能である。実施の形態1では、車内通信回線2a,2b,2cとしてCANに基づく通信回線を例に説明する。しかし、本発明の車載装置通信システムで使用する車内通信回線2a,2b,2cはこれに限らず、LIN(Local Interconnect Network)、FlexRay等のプロトコルに基づくデータの送受信が可能であってもよい。さらに、送受信されるデータの種類に応じてデータの送受信のスピードが夫々異なる車内通信回線2a,2b,2cで構成してもよい。   The in-vehicle communication lines 2a, 2b, and 2c are communication lines based on a CAN (Control Area Network) protocol, and the in-vehicle devices 1a, 1b, 1c, 1d, 1e, and 1f are connected to the in-vehicle communication lines 2a, 2b, and 2c. Data can be transmitted and received by generating / detecting a signal based on CAN. In the first embodiment, a communication line based on CAN will be described as an example of the in-vehicle communication lines 2a, 2b, and 2c. However, the in-vehicle communication lines 2a, 2b, and 2c used in the in-vehicle device communication system of the present invention are not limited to this, and data transmission / reception based on a protocol such as LIN (Local Interconnect Network), FlexRay, or the like may be possible. Furthermore, you may comprise in-vehicle communication line 2a, 2b, 2c from which the speed of data transmission / reception differs according to the kind of data transmitted / received, respectively.

CANに基づく車内通信回線2a,2b,2cは2つの信号線からなり、信号線間に発生する差動電圧を検出して信号を検知し、データを受信する。2つの信号線の電位は夫々CAN_Hレベル、CAN_Lレベルの電位に設定されており、2つの信号線間の差動電圧がない状態がデジタル信号の「1」、差動電圧がある状態がデジタル信号の「0」に該当する。車内通信回線2a,2b,2cに接続されている車載装置1a,1b,1c,1d,1e,1fは、車内通信回線2a,2b,2cの信号線間に差動電圧を発生させることで「0」「1」で表される信号を発生し、データを送信することができる。   The in-vehicle communication lines 2a, 2b, and 2c based on CAN include two signal lines, detect a differential voltage generated between the signal lines, detect a signal, and receive data. The potentials of the two signal lines are set to CAN_H level and CAN_L level, respectively. The state where there is no differential voltage between the two signal lines is “1” of the digital signal, and the state where there is a differential voltage is the digital signal. Corresponds to “0”. The in-vehicle devices 1a, 1b, 1c, 1d, 1e, and 1f connected to the in-vehicle communication lines 2a, 2b, and 2c generate a differential voltage between the signal lines of the in-vehicle communication lines 2a, 2b, and 2c. A signal represented by “0” and “1” can be generated to transmit data.

中継装置3aは、接続している車内通信回線2bを介して車載装置1a,1bから送信された各種物理量の数値を含むデータを受信し、データを記憶する。中継装置3aは、データを各種物理量の種類毎に記憶しておき、必要に応じて車載装置1a,1b及び他の中継装置3b,3cへ送信する。CANでは、車載装置1a,1bは各種物理量の数値を含むデータを送信する場合はデータ信号(データフレーム)として規定される信号で表して送信し、各種物理量の数値の送信を要求する場合は送信要求信号(リモートフレーム)として規定される信号で表して送信する。中継装置3aは、車載装置1a,1bからの送信要求信号に応じて、データ信号によりデータを送信する。   The relay device 3a receives data including numerical values of various physical quantities transmitted from the in-vehicle devices 1a and 1b via the connected in-vehicle communication line 2b, and stores the data. The relay device 3a stores data for each type of physical quantity and transmits the data to the in-vehicle devices 1a and 1b and the other relay devices 3b and 3c as necessary. In the CAN, when the in-vehicle devices 1a and 1b transmit data including numerical values of various physical quantities, they are expressed by signals defined as data signals (data frames), and transmitted when requesting transmission of numerical values of various physical quantities. It is represented by a signal defined as a request signal (remote frame) and transmitted. The relay device 3a transmits data using a data signal in response to a transmission request signal from the in-vehicle devices 1a and 1b.

またCANでは、各種物理量の種類毎にID(Identifier)が割り振られている。車載装置1a,1b,1c,1d,1e,1f及び中継装置3a,3b,3c間で送受信される各種物理量の数値を含むデータには、種類毎に割り振られたID及びその測定値が含まれる。中継装置3aは、車載装置1a,1bから送信されたデータからIDを特定し、送信されたデータがいずれの物理量に対する数値を含むかを判断することができる。   In CAN, an ID (Identifier) is assigned for each type of physical quantity. The data including numerical values of various physical quantities transmitted and received between the in-vehicle devices 1a, 1b, 1c, 1d, 1e, and 1f and the relay devices 3a, 3b, and 3c include an ID assigned for each type and a measured value thereof. . The relay device 3a can identify an ID from the data transmitted from the in-vehicle devices 1a and 1b and determine which physical quantity the transmitted data includes.

図2は、本発明の実施の形態1における車載装置中継システムを構成する車載装置1a及び中継装置3aの内部構成を示すブロック図である。車載装置1aは、以下に示す各構成部の動作を制御する制御部10と、各構成部へ電力を供給する電源回路11と、制御に必要なデータを記憶する記憶部12と、車内通信回線2aとの通信を制御する通信制御部13と、センサ5aからの信号を入力する入力部14と、図示しない制御対象装置へ制御信号を出力する出力部15とを備える。他の車載装置1b,1c,1d,1e,1fは、車載装置1aと同様の構成であることから詳細な説明を省略する。なお、車載装置によっては入力部14及び出力部15はいずれか一方のみ備える構成でもよい。   FIG. 2 is a block diagram showing an internal configuration of the in-vehicle device 1a and the relay device 3a constituting the in-vehicle device relay system according to Embodiment 1 of the present invention. The in-vehicle device 1a includes a control unit 10 that controls the operation of each component shown below, a power supply circuit 11 that supplies power to each component, a storage unit 12 that stores data necessary for control, and an in-vehicle communication line The communication control part 13 which controls communication with 2a, the input part 14 which inputs the signal from the sensor 5a, and the output part 15 which outputs a control signal to the control object apparatus which is not shown in figure are provided. Since the other vehicle-mounted devices 1b, 1c, 1d, 1e, and 1f have the same configuration as the vehicle-mounted device 1a, detailed description thereof is omitted. Note that, depending on the in-vehicle device, the input unit 14 and the output unit 15 may include only one of them.

車載装置1aの制御部10は、電源回路11を介して図示しない車両のオルタネータから電力の供給を受け、入力部14を介して車載装置1aに接続されているセンサ5aからの測定値を表す信号を検知し、出力部15を介して車載装置1aに接続されている制御対象の装置へ制御信号を送信する。記憶部12は揮発性のメモリからなり、制御部10は処理の過程で発生する各種情報、又はセンサ5aから入力された信号が表す測定値を一時的に記憶する。   The control unit 10 of the in-vehicle device 1a is supplied with electric power from a vehicle alternator (not shown) via the power supply circuit 11, and represents a measurement value from the sensor 5a connected to the in-vehicle device 1a via the input unit 14. Is detected, and a control signal is transmitted to the control target device connected to the in-vehicle device 1a via the output unit 15. The storage unit 12 includes a volatile memory, and the control unit 10 temporarily stores various information generated in the course of processing or measurement values represented by a signal input from the sensor 5a.

通信制御部13は、ネットワークコントローラチップを有して車内通信回線2aとの通信を実現する。車載装置1aの制御部10は、通信制御部13を介して上述のように車内通信回線2aの信号線間に差動電圧を発生させてデータを送信し、信号線間の差動電圧を検出してデータを受信する。車載装置1aの制御部10は、例えばミリ秒の一定時間毎にセンサ5aからの信号を検知し、検知した信号が示す物理量の数値を含むデータを通信制御部13から送信する。   The communication control unit 13 has a network controller chip and realizes communication with the in-vehicle communication line 2a. The control unit 10 of the in-vehicle device 1a generates the differential voltage between the signal lines of the in-vehicle communication line 2a through the communication control unit 13 as described above, transmits data, and detects the differential voltage between the signal lines. And receive data. The control unit 10 of the in-vehicle device 1a detects a signal from the sensor 5a at regular time intervals of, for example, milliseconds, and transmits data including a numerical value of the physical quantity indicated by the detected signal from the communication control unit 13.

また、車載装置1aの制御部10は、通信制御部13を介して信号線間の差動電圧を検出してデータを受信し、受信したデータに含まれる各種物理量の数値が正常な数値であるか否かを判断する。なお、判断の基準は車載装置1aと他の車載装置1b,1c,1d,1e,1fとでは夫々異なる。例えば、車載装置1aは、受信したデータに含まれる物理量の種類がエンジン回転数である場合、数値が所定の正の範囲内にあるか否かによって正常か否かを判断する。一方、車載装置1bは、同様にしてエンジン回転数の値に対し、数値が正の値であるか否かのみによって正常か否かを判断する。CANの規定に基づく車内通信回線2a,2b,2c間で送受信される信号は「0」「1」のデジタルデータを表すが、「0」「1」で表されるデータに含まれる各種物理量の数値を正/負ありの整数値として読取るように規定しておくことで正の値であるか否かを判断することができる。   Moreover, the control part 10 of the vehicle-mounted apparatus 1a detects the differential voltage between signal lines via the communication control part 13, receives data, and the numerical value of various physical quantities contained in the received data is a normal numerical value. Determine whether or not. Note that the criteria for determination differ between the in-vehicle device 1a and the other in-vehicle devices 1b, 1c, 1d, 1e, and 1f. For example, when the type of the physical quantity included in the received data is the engine speed, the in-vehicle device 1a determines whether the numerical value is normal depending on whether the numerical value is within a predetermined positive range. On the other hand, the in-vehicle device 1b determines whether or not it is normal only by whether or not the numerical value is a positive value with respect to the value of the engine speed. The signals transmitted and received between the in-vehicle communication lines 2a, 2b, and 2c based on the CAN regulations represent digital data of “0” and “1”, but various physical quantities included in the data represented by “0” and “1”. It is possible to determine whether or not it is a positive value by defining that the numerical value is read as an integer value with a positive / negative value.

また、例えばエンジン回転数は5ビットで表されるように規定されており、エンジン回転数の値を示す信号として全ビットを「1」とすることは禁止されるように規定されている場合に全ビットが「1」であるときは、車載装置1a,1b,1c,1d,1e,1fの制御部10は同様に値が異常であると判断する。又は、車載装置1a,1b,1c,1d,1e,1fの制御部10は、動作に必要な種類の物理量を含むデータが受信できない場合は、物理量の数値が異常であると判断する。   Further, for example, when the engine speed is specified to be expressed by 5 bits and it is specified that setting all bits to “1” as a signal indicating the value of the engine speed is prohibited. When all the bits are “1”, the control unit 10 of the in-vehicle devices 1a, 1b, 1c, 1d, 1e, and 1f similarly determines that the value is abnormal. Or the control part 10 of vehicle equipment 1a, 1b, 1c, 1d, 1e, 1f judges that the numerical value of a physical quantity is abnormal, when the data containing the physical quantity of the kind required for operation | movement cannot be received.

中継装置3aは、以下に示す各構成部の動作を制御する制御部30と、各構成部に電力を供給する電源回路31と、揮発性のメモリからなる記憶部32と、車内通信回線2aに接続されている第1通信部33と、通信回線4に接続されている第2通信部34とを備える。他の中継装置3b,3cについては中継装置3aと同様の構成であることから詳細な説明を省略する。   The relay device 3a includes a control unit 30 that controls the operation of each component shown below, a power supply circuit 31 that supplies power to each component, a storage unit 32 that includes a volatile memory, and an in-vehicle communication line 2a. A first communication unit 33 connected and a second communication unit 34 connected to the communication line 4 are provided. Since the other relay apparatuses 3b and 3c have the same configuration as the relay apparatus 3a, detailed description thereof is omitted.

中継装置3aの制御部30は、図示しない車両のオルタネータから電源回路31を介して電力の供給を受け、図示しない内臓ROM(Read Only Memory)から制御プログラムを記憶部32に読み出すことにより中継装置3aとして動作する。   The control unit 30 of the relay device 3a is supplied with electric power from a vehicle alternator (not shown) via a power supply circuit 31, and reads a control program from a built-in ROM (Read Only Memory) (not shown) to the storage unit 32 to thereby repeat the relay device 3a. Works as.

また、中継装置3aの制御部30は、車載装置1a,1bから受信したデータから各種物理量の種類及び数値を読み出し、各物理量の種類毎に数値を記憶部32のDB(Data Base)321に記憶する。具体的には、中継装置3aの制御部30は、受信したデータに対して各種物理量のIDを特定し、IDに対応づけて数値を記憶する。車載装置1c,1dから送信されるデータに対しては、一度中継装置3bの記憶部32のDB321に記憶され、中継装置3bから中継装置3aへ中継される。車載装置1e,1fから送信されるデータに対しても同様に、一度中継装置3cの記憶部32のDB321に記憶され、中継装置3cから中継装置3aへ中継される。中継装置3aの制御部30は、中継装置3b,3cから中継されたデータについても、データに含まれる物理量の種類毎に数値を記憶部32のDB321に記憶する。   Further, the control unit 30 of the relay device 3a reads the types and numerical values of various physical quantities from the data received from the in-vehicle devices 1a and 1b, and stores the numerical values for each physical quantity type in a DB (Data Base) 321 of the storage unit 32. To do. Specifically, the control unit 30 of the relay device 3a specifies IDs of various physical quantities for the received data, and stores numerical values in association with the IDs. Data transmitted from the in-vehicle devices 1c and 1d is once stored in the DB 321 of the storage unit 32 of the relay device 3b and relayed from the relay device 3b to the relay device 3a. Similarly, data transmitted from the in-vehicle devices 1e and 1f are once stored in the DB 321 of the storage unit 32 of the relay device 3c and relayed from the relay device 3c to the relay device 3a. The control unit 30 of the relay device 3a also stores, for the data relayed from the relay devices 3b and 3c, a numerical value for each type of physical quantity included in the data in the DB 321 of the storage unit 32.

中継装置3aの制御部30は、所定の種類の物理量については、受信したデータに含まれる数値を時系列にDB321に記憶する。例えば排気酸素濃度については、排気酸素濃度を含むデータを受信した時刻と共に排気酸素濃度の数値を記憶する。なお、時刻は制御部30が内蔵する図示しない計時部から取得する。   The control unit 30 of the relay device 3a stores numerical values included in the received data in the DB 321 in time series for a predetermined type of physical quantity. For example, as for the exhaust oxygen concentration, a numerical value of the exhaust oxygen concentration is stored together with the time when data including the exhaust oxygen concentration is received. The time is acquired from a timer unit (not shown) built in the control unit 30.

なお、中継装置3aの制御部30は、記憶部32のDB321に記憶している各物理量に対し、各車載装置1a,1b,1c,1d,1e,1f,1gの内のいずれの車載装置へ送信すべきか、即ちいずれの車内通信回線2a又は通信回線4に送信するかが設定されていてもよい。また、記憶部32のDB321に記憶されている物理量毎に、送信タイミングを記憶部32に夫々記憶しておき、制御部30は各種物理量を含むデータを夫々の夫々の送信タイミングで送信する構成でもよい。   Note that the control unit 30 of the relay device 3a is directed to any of the in-vehicle devices 1a, 1b, 1c, 1d, 1e, 1f, and 1g for each physical quantity stored in the DB 321 of the storage unit 32. It may be set whether to transmit, that is, to which in-vehicle communication line 2a or communication line 4. Further, the transmission timing is stored in the storage unit 32 for each physical quantity stored in the DB 321 of the storage unit 32, and the control unit 30 transmits the data including various physical quantities at the respective transmission timings. Good.

第1通信部33はネットワークコントローラチップを有し、車内通信回線2aを介してCANに基づくデータの送受信を実現する。制御部30は、第1通信部33を介して車内通信回線2aの信号線間に差動電圧を発生させてデータを送信し、信号線間の差動電圧を検出してデータを受信する。中継装置3aの制御部30は、第2通信部34により通信回線4を介して他の中継装置3b,3cとデータの送受信をすることができる。   The first communication unit 33 includes a network controller chip, and realizes data transmission / reception based on CAN via the in-vehicle communication line 2a. The control unit 30 generates a differential voltage between the signal lines of the in-vehicle communication line 2a via the first communication unit 33, transmits data, detects the differential voltage between the signal lines, and receives the data. The control unit 30 of the relay device 3a can transmit and receive data with the other relay devices 3b and 3c via the communication line 4 by the second communication unit 34.

また、記憶部32には、DB321に記憶している物理量の種類毎に、記憶している数値が夫々の物理量の数値として正常であるか否かを判断するための判断基準322が記憶されている。例えば判断基準322には、DB321に記憶している車輪速に対し、車輪速が所定の速度以上である場合は異常であると判断するように規定されている。また、DB321に記憶している排気酸素濃度が5分経過に対して10%以上低下した場合は、異常であると判断するように規定されている。   In addition, the storage unit 32 stores, for each type of physical quantity stored in the DB 321, a determination criterion 322 for determining whether or not the stored numerical value is normal as the numerical value of each physical quantity. Yes. For example, the criterion 322 stipulates that the wheel speed stored in the DB 321 is determined to be abnormal when the wheel speed is equal to or higher than a predetermined speed. Further, it is defined that when the exhaust oxygen concentration stored in the DB 321 is decreased by 10% or more with respect to the lapse of 5 minutes, it is determined that the abnormality is present.

記憶部32には更に、DB321に記憶した物理量の数値に対し、判断基準322に基づいて異常であると判断した場合の記録が異常記録323として記憶されている。異常記録323は、異常であると判断された物理量及びその数値と、異常であると判断された時刻とを含む。   The storage unit 32 further stores, as an abnormality record 323, a record when it is determined that the physical quantity value stored in the DB 321 is abnormal based on the determination criterion 322. The abnormality record 323 includes the physical quantity determined to be abnormal and the numerical value thereof, and the time determined to be abnormal.

記憶部32には、制御部30の処理の過程で発生する各種情報が記憶される。なお、記憶部32は揮発性のメモリであるが図示しない電池を内蔵し、電源回路31を介して電力が供給されていない間もDB321、判断基準322の記憶を保持できるようにしてある。   The storage unit 32 stores various information generated in the process of the control unit 30. Although the storage unit 32 is a volatile memory, it has a built-in battery (not shown) so that the storage of the DB 321 and the determination reference 322 can be held even when power is not supplied through the power supply circuit 31.

上述のように構成される本発明の車載装置中継システムにおいて、中継装置3aの制御部30が車載装置1a,1b,1c,1d,1e,1f,1g,1hからデータを受信し、データに含まれる物理量の種類毎に数値を記憶部32のDB321に記憶する処理について説明する。図3は、本発明の実施の形態1における車載装置中継システムを構成する中継装置3aの制御部30が、車載装置1a,1b,1c,1d,1e,1f,1g、1hからデータを受信して記憶部32のDB321に記憶する処理手順を示すフローチャートである。   In the in-vehicle device relay system of the present invention configured as described above, the control unit 30 of the relay device 3a receives data from the in-vehicle devices 1a, 1b, 1c, 1d, 1e, 1f, 1g, and 1h and is included in the data. A process of storing a numerical value for each type of physical quantity to be stored in the DB 321 of the storage unit 32 is described. FIG. 3 shows that the control unit 30 of the relay device 3a constituting the in-vehicle device relay system according to Embodiment 1 of the present invention receives data from the in-vehicle devices 1a, 1b, 1c, 1d, 1e, 1f, 1g, 1h. 5 is a flowchart showing a processing procedure stored in a DB 321 of a storage unit 32.

中継装置3aの制御部30は、第1通信部33により車内通信回線2aに送信されたデータ及び中継装置3b,3cから通信回線4に送信されたデータを受信する(ステップS11)。中継装置3aの制御部30は、受信したデータから物理量の種類を示すID及び物理量の数値を読み出し(ステップS12)、読み出したIDに対応付けて数値を記憶部32のDB321に記憶し(ステップS13)、処理を終了する。なお、抽出したIDが、時刻と共に記憶するように設定されている場合は時刻と共にDB321に記憶する。   The control unit 30 of the relay device 3a receives the data transmitted to the in-vehicle communication line 2a by the first communication unit 33 and the data transmitted to the communication line 4 from the relay devices 3b and 3c (step S11). The control unit 30 of the relay device 3a reads the ID indicating the type of physical quantity and the numerical value of the physical quantity from the received data (step S12), and stores the numerical value in the DB 321 of the storage unit 32 in association with the read ID (step S13). ), The process is terminated. If the extracted ID is set to be stored together with the time, it is stored in the DB 321 together with the time.

中継装置3aの制御部30は、第1通信部33及び第2通信部34を介してデータを受信する都度、図3に示した処理を繰り返して各物理量の数値を記憶部32のDB321に記憶する。実施の形態1では、例えば車載装置1aが車輪速の数値を含むデータを10ミリ秒毎に送信する場合、中継装置3aの制御部30は10ミリ秒毎に記憶部32のDB321に記憶してある車輪速の値を更新する。   Each time the control unit 30 of the relay device 3a receives data via the first communication unit 33 and the second communication unit 34, the control unit 30 repeats the process shown in FIG. 3 and stores the numerical value of each physical quantity in the DB 321 of the storage unit 32. To do. In the first embodiment, for example, when the in-vehicle device 1a transmits data including a numerical value of the wheel speed every 10 milliseconds, the control unit 30 of the relay device 3a stores the data in the DB 321 of the storage unit 32 every 10 milliseconds. Update a wheel speed value.

図4は、本発明の実施の形態1における車載装置中継システムを構成する中継装置3aの記憶部32のDB321に記憶される各物理量の例を示す説明図である。図4に示す例では、図3に示した中継装置3aの制御部30による処理手順のステップS13で、車載装置1a,1b,1c,1d,1e,1fから受信したデータに含まれる物理量のID及び数値を記憶部32のDB321に記憶した例を示している。図4に示す例では、記憶部32のDB321に記憶した物理量の例として車輪速、操舵角、エンジン回転数、排気酸素濃度等のIDで示す各物理量が記憶されている。なお、CANでは各物理量のIDは種類毎に番号等により割り振られているが、図4に示す例では説明を簡易にするために具体的なIDではなく各物理量の内容を示している。例として車輪速、操舵角、エンジン回転数、及び排気酸素濃度の各物理量の数値が夫々60000(rpm)、20(deg)、3000(rpm)、16(%)であることを示している。   FIG. 4 is an explanatory diagram illustrating an example of each physical quantity stored in the DB 321 of the storage unit 32 of the relay device 3a configuring the in-vehicle device relay system according to Embodiment 1 of the present invention. In the example shown in FIG. 4, the ID of the physical quantity included in the data received from the in-vehicle devices 1a, 1b, 1c, 1d, 1e, and 1f in step S13 of the processing procedure by the control unit 30 of the relay device 3a shown in FIG. And the example which memorize | stored the numerical value in DB321 of the memory | storage part 32 is shown. In the example illustrated in FIG. 4, physical quantities indicated by IDs such as wheel speed, steering angle, engine speed, and exhaust oxygen concentration are stored as examples of physical quantities stored in the DB 321 of the storage unit 32. In CAN, the ID of each physical quantity is assigned by number or the like for each type, but the example shown in FIG. 4 shows the contents of each physical quantity instead of a specific ID for the sake of simplicity. As an example, the numerical values of the physical quantities of the wheel speed, steering angle, engine speed, and exhaust oxygen concentration are 60000 (rpm), 20 (deg), 3000 (rpm), and 16 (%), respectively.

図4に示したように記憶部32のDB321に記憶した各物理量の数値に対し、判断基準322には異常であるか否かの基準が設定されている。図5は、本発明の実施の形態1における車載装置中継システムを構成する中継装置3aの記憶部32に記憶されている判断基準322の内容例を示す説明図である。図5には、車輪速を示す数値が所定の値Vより大きい(車輪速>V)場合は異常であると判断すべき旨の基準が示されている。同様に、エンジン回転数を示す数値が所定の値Wより大きい(エンジン回転数>W)場合は異常であると判断し、操舵角を示す数値が所定の値マイナスXより小さい(操舵角<−X)又は所定の値Yより大きい(操舵角>Y)場合は異常であると判断すべき旨の基準が示されている。また、排気酸素濃度を数値が5分でZ℃以上低下した場合(排気酸素濃度>−Z(℃/5分))は、異常であると判断すべき旨の基準が示されている。   As shown in FIG. 4, a criterion for determining whether or not there is an abnormality is set in the determination criterion 322 with respect to the numerical value of each physical quantity stored in the DB 321 of the storage unit 32. FIG. 5 is an explanatory diagram showing an example of the contents of the determination criterion 322 stored in the storage unit 32 of the relay device 3a constituting the in-vehicle device relay system according to Embodiment 1 of the present invention. FIG. 5 shows a criterion that an abnormality should be determined when the numerical value indicating the wheel speed is greater than a predetermined value V (wheel speed> V). Similarly, when the numerical value indicating the engine speed is larger than the predetermined value W (engine speed> W), it is determined that the engine is abnormal, and the numerical value indicating the steering angle is smaller than the predetermined value minus X (steering angle <−−). X) or a reference value indicating that it is determined to be abnormal when it is larger than a predetermined value Y (steering angle> Y). Further, there is shown a criterion that when the exhaust oxygen concentration is decreased by more than Z ° C. in 5 minutes (exhaust oxygen concentration> −Z (° C./5 minutes)), it should be determined as abnormal.

次に、中継装置3aの制御部30が、記憶部32のDB321に記憶した各物理量の数値について判断基準323に基づいて異常であるか否かを判断し、異常である場合に行なう処理手順について説明する。   Next, the processing procedure performed when the control unit 30 of the relay device 3a determines whether or not the numerical value of each physical quantity stored in the DB 321 of the storage unit 32 is abnormal based on the determination criterion 323, and is abnormal. explain.

図6は、本発明の実施の形態1における車載装置中継システムを構成する中継装置3aの制御部30が、記憶した各物理量の数値について異常であるか否かを判断する処理手順及び数値が異常であると判断した場合の処理手順を示すフローチャートである。   FIG. 6 shows a processing procedure for determining whether or not the numerical value of each stored physical quantity is abnormal by the control unit 30 of the relay device 3a constituting the in-vehicle device relay system according to Embodiment 1 of the present invention. It is a flowchart which shows the process sequence when it is judged that it is.

なお、図6に示すフローチャートは、中継装置3aの制御部30が、一の物理量について、第1通信部33により車内通信回線2aに送信された数値の送信要求を受信した場合、又は設定された送信タイミングの条件が満たされた場合、又は他の中継装置3b,3cへデータを中継する場合を起因として物理量の数値を含むデータを送信するときの処理を示している。   The flowchart shown in FIG. 6 is set when the control unit 30 of the relay device 3a receives a numerical transmission request transmitted to the in-vehicle communication line 2a by the first communication unit 33 for one physical quantity, or is set. A process is shown when data including a physical quantity value is transmitted when the transmission timing condition is satisfied or when data is relayed to the other relay apparatuses 3b and 3c.

中継装置3aの制御部30は、一の物理量についてその数値を含むデータを送信する場合、記憶部32のDB321から当該物理量の数値を読み出す(ステップS21)。中継装置3aの制御部30は、読み出した物理量の数値が正常であるか否かを判断基準322に基づいて判断する(ステップS22)。   When transmitting the data including the numerical value for one physical quantity, the control unit 30 of the relay device 3a reads the numerical value of the physical quantity from the DB 321 of the storage unit 32 (step S21). The control unit 30 of the relay device 3a determines whether or not the read numerical value of the physical quantity is normal based on the determination criterion 322 (step S22).

中継装置3aの制御部30は、数値が正常であると判断した場合(S22:YES)、読み出した数値を物理量の数値として含むデータを送信し(ステップS23)、処理を終了する。   When it is determined that the numerical value is normal (S22: YES), the control unit 30 of the relay device 3a transmits data including the read numerical value as a physical quantity numerical value (step S23), and ends the process.

なお、ステップS23については、一の物理量の数値を含むデータを車載装置1a,1bからの送信要求に対して送信する場合、又は車載装置1a,1bへの送信タイミングの条件が満たされた場合に送信するときは第1通信部33により車内通信回線2aへ送信する。一の物理量の数値を含むデータを車載装置1a,1bのいずれかから受信し、他の中継装置3b,3cへ送信する場合は第2通信部34により通信回線4を介して中継装置3b,3cへ送信する。   In addition, about step S23, when the data containing the numerical value of one physical quantity are transmitted with respect to the transmission request from vehicle equipment 1a, 1b, or when the conditions of the transmission timing to vehicle equipment 1a, 1b are satisfy | filled. When transmitting, the first communication unit 33 transmits to the in-vehicle communication line 2a. When data including a numerical value of one physical quantity is received from one of the in-vehicle devices 1a and 1b and transmitted to the other relay devices 3b and 3c, the second communication unit 34 causes the relay devices 3b and 3c to pass through the communication line 4. Send to.

一方、中継装置3aの制御部30は、ステップS22において数値が異常であると判断した場合(S22:NO)、各車載装置1a,1b,1c,1d,1e,1fが同様に数値が異常であると判断するように、当該物理量の数値としてデータの物理量の数値を表す全ビットを「1」と設定した異常値を含むデータを送信する(ステップS24)。また中継装置3aの制御部30は、ステップS22において数値が異常であると判断した時刻を図示しない計時部から取得して異常であると判断された数値と共に記憶部32の異常記録323に記憶し(ステップS25)、処理を終了する。   On the other hand, when the control unit 30 of the relay device 3a determines that the numerical value is abnormal in step S22 (S22: NO), each of the in-vehicle devices 1a, 1b, 1c, 1d, 1e, and 1f has an abnormal numerical value as well. In order to determine that there is, data including an abnormal value in which all bits representing the physical quantity value of the data are set to “1” is transmitted as the physical quantity value (step S24). Further, the control unit 30 of the relay device 3a obtains the time at which the numerical value is determined to be abnormal in step S22 from a time measuring unit (not shown) and stores it in the abnormality record 323 of the storage unit 32 together with the numerical value determined to be abnormal. (Step S25), the process ends.

中継装置3aの制御部30は、図6に示した処理を一の物理量について、第1通信部33により車内通信回線2aに送信された送信要求を受信した場合、又は設定された送信タイミングの条件が満たされた場合、又は他の中継装置3b,3cへデータを中継する場合を起因として繰り返す。これにより、中継装置3aの制御部30が、判断基準322に設定された基準によって数値が異常であると判断した物理量については、車載装置1a,1b,1c,1d,1e,1fでも統一して数値が異常であると判断される。したがって、物理量の数値の正常/異常の判断を車載装置中継システム全体で統制することができる。   When the control unit 30 of the relay device 3a receives the transmission request transmitted to the in-vehicle communication line 2a by the first communication unit 33 for one physical quantity in the processing shown in FIG. 6, or the set transmission timing condition When the above is satisfied, or the case where data is relayed to the other relay devices 3b and 3c is repeated as a cause. As a result, for the physical quantity that the control unit 30 of the relay device 3a determines that the numerical value is abnormal according to the criterion set in the determination criterion 322, the in-vehicle devices 1a, 1b, 1c, 1d, 1e, and 1f are also unified. The numerical value is determined to be abnormal. Therefore, it is possible to control the normal / abnormal judgment of the numerical value of the physical quantity in the entire in-vehicle apparatus relay system.

(実施の形態2)
実施の形態1では、車載装置中継システムを構成する中継装置3aの制御部30は、記憶部32のDB321に記憶した各物理量の数値が異常であると判断した場合は、各車載装置1a,1b,1c,1d,1e,1fでも同様に数値が異常であると判断されるような異常値を当該物理量の数値として含むデータを生成して送信する構成とした。
(Embodiment 2)
In the first embodiment, when the control unit 30 of the relay device 3a configuring the in-vehicle device relay system determines that the numerical value of each physical quantity stored in the DB 321 of the storage unit 32 is abnormal, each of the in-vehicle devices 1a and 1b. , 1c, 1d, 1e, and 1f, data including an abnormal value that is determined to be abnormal in the same manner as the numerical value of the physical quantity is generated and transmitted.

実施の形態2では、中継装置3aの制御部30は、記憶部32のDB321に記憶した各物理量の数値が異常であると判断した場合は、当該物理量の数値を含むデータをいずれの車載装置1a,1b,1c,1d,1e,1fへも送信しない。   In the second embodiment, when the control unit 30 of the relay device 3a determines that the numerical value of each physical quantity stored in the DB 321 of the storage unit 32 is abnormal, the in-vehicle device 1a stores data including the physical quantity value. , 1b, 1c, 1d, 1e, and 1f.

実施の形態2における車載装置中継システムのハードウェア構成は実施の形態1と同様であるので詳細な説明を省略し、実施の形態1と同一の符号を用いて、中継装置3aの制御部30が物理量の数値を異常であると判断した場合の処理について以下に説明する。   Since the hardware configuration of the in-vehicle device relay system in the second embodiment is the same as that in the first embodiment, a detailed description thereof is omitted, and the control unit 30 of the relay device 3a uses the same reference numerals as those in the first embodiment. Processing when it is determined that the numerical value of the physical quantity is abnormal will be described below.

図7は、本発明の実施の形態2における車載装置中継システムを構成する中継装置3aの制御部30が、記憶した各物理量の数値について異常であるか否かを判断する処理手順及び数値が異常である場合の処理手順を示すフローチャートである。   FIG. 7 shows the processing procedure for determining whether or not the numerical value of each physical quantity stored is abnormal by the control unit 30 of the relay device 3a constituting the in-vehicle device relay system according to Embodiment 2 of the present invention. It is a flowchart which shows the process sequence in the case of being.

なお、図7に示すフローチャートは、ステップS31〜ステップS35のうちのステップS31〜ステップS33の処理については、実施の形態1で図6に示したステップS21〜ステップS23の処理と同様であるので詳細な説明を省略する。   In the flowchart shown in FIG. 7, the processes in steps S31 to S33 out of steps S31 to S35 are the same as the processes in steps S21 to S23 shown in FIG. 6 in the first embodiment. The detailed explanation is omitted.

中継装置3aの制御部30はステップS32の判断処理において、数値が異常であると判断した場合(S32:NO)、各車載装置1a,1b,1c,1d,1e,1fが同様に数値が異常であると判断するように当該物理量の数値を含むデータの送信を中止する(ステップS34)。次に中継装置3aの制御部30は、ステップS32において値が異常であると判断した時刻を図示しない計時部から取得し、異常であると判断された値と共に記憶部32の異常記録323に記憶し(ステップS35)、処理を終了する。   When the control unit 30 of the relay device 3a determines that the numerical value is abnormal in the determination process of step S32 (S32: NO), the numerical values of the vehicle-mounted devices 1a, 1b, 1c, 1d, 1e, and 1f are similarly abnormal. The transmission of the data including the numerical value of the physical quantity is stopped so as to determine that it is (step S34). Next, the control unit 30 of the relay device 3a acquires the time when the value is determined to be abnormal in step S32 from a time measuring unit (not shown), and stores it in the abnormality record 323 of the storage unit 32 together with the value determined to be abnormal. (Step S35), and the process ends.

実施の形態2においては、一の物理量について、中継装置3aの制御部30が車載装置1a,1bから送信要求を受信した場合であっても、設定された送信タイミングの条件が満たされた場合であっても、数値が異常であると判断されたときはデータを送信しない。これにより、当該物理量の種類及び数値を含むデータを受信することができなくなった各車載装置1a,1b,1c,1d,1e,1fは、統一して当該物理量の数値について異常があったと判断するので、車載装置中継システム全体で物理量の数値に対する正常/異常の判断を統制することができる。   In the second embodiment, for one physical quantity, even when the control unit 30 of the relay device 3a receives a transmission request from the in-vehicle devices 1a and 1b, the set transmission timing condition is satisfied. Even if there is, the data is not transmitted when it is determined that the numerical value is abnormal. As a result, each of the in-vehicle devices 1a, 1b, 1c, 1d, 1e, and 1f that cannot receive the data including the type and the numerical value of the physical quantity is determined to be unified with respect to the numerical value of the physical quantity. Therefore, it is possible to control the normality / abnormality judgment with respect to the numerical value of the physical quantity in the entire in-vehicle apparatus relay system.

なお、中継装置3aの制御部30は、一の物理量について、第1通信部33により車内通信回線2aに送信された送信要求を受信した場合、又は設定された送信タイミングの条件が満たされた場合、又は他の中継装置3b,3cへデータを中継する場合等の当該物理量の数値を含むデータを送信する必要が発生する都度、図7に示した処理を繰り返す。したがって、中継装置3aの制御部30が図7に示したステップS32において一度異常であると判断し、当該物理量の数値を含むデータの送信を中止した場合であっても、その後再度実行したステップS32の判断処理において数値が正常であると判断したときは、当該物理量の数値を含むデータの送信を再開することが可能となり、システム全体の動作を復旧することができる。   When the control unit 30 of the relay device 3a receives a transmission request transmitted to the in-vehicle communication line 2a by the first communication unit 33 for one physical quantity, or when a set transmission timing condition is satisfied. Alternatively, whenever it is necessary to transmit data including the numerical value of the physical quantity, such as when data is relayed to other relay devices 3b and 3c, the processing shown in FIG. 7 is repeated. Accordingly, even when the control unit 30 of the relay device 3a determines that the abnormality is once abnormal in step S32 shown in FIG. 7 and the transmission of the data including the numerical value of the physical quantity is stopped, the step S32 is executed again after that. When it is determined that the numerical value is normal in this determination process, it is possible to resume transmission of data including the numerical value of the physical quantity, and the operation of the entire system can be restored.

また、実施の形態1及び実施の形態2では、中継装置3aの制御部30は、物理量の数値が異常であると判断した場合に異常記録323にその物理量の種類及び数値を異常であると判断された時刻と共に記憶するので、後に記憶部32の異常記録323を参照することによって数値が異常であると判断された事実を把握することができる。これにより、本発明の車載装置中継システムを搭載した車両の故障箇所等を特定することが容易になる。   In the first embodiment and the second embodiment, when the control unit 30 of the relay device 3a determines that the physical quantity value is abnormal, the control unit 30 determines that the type and the numerical value of the physical quantity are abnormal in the abnormality record 323. Therefore, it is possible to grasp the fact that the numerical value is determined to be abnormal by referring to the abnormality record 323 in the storage unit 32 later. Thereby, it becomes easy to specify the failure location etc. of the vehicle carrying the in-vehicle device relay system of the present invention.

なお、実施の形態1及び実施の形態2において中継装置3aの制御部30が数値が異常であるか否かを判断する対象は、センサ5a,5e等から得られる物理量として説明した。しかし本発明は正常/異常の判断対象を物理量に限らず、一の車載装置の演算制御によって得られる演算量等の値が異常であるか否かを判断する構成でもよい。   In the first embodiment and the second embodiment, the target for the controller 30 of the relay device 3a to determine whether the numerical value is abnormal has been described as a physical quantity obtained from the sensors 5a, 5e and the like. However, the present invention is not limited to a physical quantity as a normal / abnormal judgment target, and may be configured to determine whether or not a value such as a computation amount obtained by computation control of one in-vehicle device is abnormal.

また、車載装置間で送受信されるデータに含まれる物理量は温度、速度、角度等の数値で表現される情報のみならず、前後左右上下の方向、オン/オフ、高/低、色等の情報についてもデータとして送信する場合は、夫々を識別するために数値を割り当てることが考えられる。したがって、数値が異常であるか否かの判断は、夫々を識別するために割り当てられた数値が異常であるか否かを判断する。例えば、一の車載装置から得られる情報が車両の状況として「低」であるべきところ、「高」と検出された場合は異常であると判断する場合もある。この場合、「高」「低」に夫々「1」「0」の数値が割り当てられているときは、数値「1」に対して異常であると判断する。このように、数値が正常であるか否かの判断は、数値自体が物理量を示す場合のみならず各状態に識別可能に割り当てられた数値に対する判断も含まれる。   In addition, physical quantities included in data transmitted and received between in-vehicle devices are not only information expressed by numerical values such as temperature, speed, angle, etc., but also information such as front / rear / left / right / up / down directions, on / off, high / low, and color. When data is transmitted as data, it is conceivable to assign a numerical value to identify each. Therefore, whether or not the numerical value is abnormal is determined by determining whether or not the numerical value assigned to identify each numerical value is abnormal. For example, where information obtained from one on-vehicle device should be “low” as the vehicle status, it may be determined to be abnormal when detected as “high”. In this case, when numerical values “1” and “0” are assigned to “high” and “low”, respectively, it is determined that the numerical value “1” is abnormal. As described above, the determination of whether or not the numerical value is normal includes not only the case where the numerical value itself indicates a physical quantity, but also the determination of the numerical value assigned to each state in an identifiable manner.

本発明の実施の形態1における車載装置通信システムの構成を示す模式図である。It is a schematic diagram which shows the structure of the vehicle-mounted apparatus communication system in Embodiment 1 of this invention. 本発明の実施の形態1における車載装置中継システムを構成する車載装置及び中継装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the vehicle equipment and relay device which comprise the vehicle equipment relay system in Embodiment 1 of this invention. 本発明の実施の形態1における車載装置中継システムを構成する中継装置の制御部が、車載装置からデータを受信して記憶部のDBに記憶する処理手順を示すフローチャートである。It is a flowchart which shows the process sequence in which the control part of the relay apparatus which comprises the vehicle-mounted apparatus relay system in Embodiment 1 of this invention receives data from a vehicle-mounted apparatus, and memorize | stores it in DB of a memory | storage part. 本発明の実施の形態1における車載装置中継システムを構成する中継装置の記憶部のDBに記憶される各物理量の例を示す説明図である。It is explanatory drawing which shows the example of each physical quantity memorize | stored in DB of the memory | storage part of the relay apparatus which comprises the vehicle-mounted apparatus relay system in Embodiment 1 of this invention. 本発明の実施の形態1における車載装置中継システムを構成する中継装置の記憶部に記憶されている判断基準の内容例を示す説明図である。It is explanatory drawing which shows the example of the content of the judgment standard memorize | stored in the memory | storage part of the relay apparatus which comprises the vehicle-mounted apparatus relay system in Embodiment 1 of this invention. 本発明の実施の形態1における車載装置中継システムを構成する中継装置の制御部が、記憶した各物理量の数値について異常であるか否かを判断する処理手順及び数値が異常であると判断した場合の処理手順を示すフローチャートである。When the control unit of the relay device that constitutes the in-vehicle device relay system according to Embodiment 1 of the present invention determines that the processing procedure for determining whether or not the stored numerical value of each physical quantity is abnormal and the numerical value is abnormal It is a flowchart which shows the process sequence of. 本発明の実施の形態2における車載装置中継システムを構成する中継装置の制御部が、記憶した各物理量の数値について異常であるか否かを判断する処理手順及び数値が異常である場合の処理手順を示すフローチャートである。Processing procedure for determining whether or not the stored numerical value of each physical quantity is abnormal by the control unit of the relay device that constitutes the in-vehicle device relay system according to Embodiment 2 of the present invention, and the processing procedure when the numerical value is abnormal It is a flowchart which shows.

符号の説明Explanation of symbols

1a,1b,1c,1d,1e,1f 車載装置
10 制御部
2a,2b,2c 車内通信回線
3a,3b、3c 中継装置
30 制御部
32 記憶部
321 DB
322 判断基準
323 異常記録
1a, 1b, 1c, 1d, 1e, 1f In-vehicle device 10 Control unit 2a, 2b, 2c In-vehicle communication line 3a, 3b, 3c Relay device 30 Control unit 32 Storage unit 321 DB
322 Criteria 323 Abnormal record

Claims (9)

数値情報を含むデータを送信及び/又は受信する複数の車載装置と、該車載装置に車内通信回線を介して接続されており、一の車載装置からデータを受信し、受信したデータを他の車載装置へ送信する中継装置とを備える車載装置中継システムにおいて、
前記中継装置は、
受信したデータに含まれる数値情報が示す数値が、車両の制御に係る数値として正常であるか否かを当該システム全体の統一基準に基づき判断する判断手段を備え、
数値が異常であると前記判断手段が判断した場合、所定の異常値を示す数値情報を含むデータを送信するようにしてあること
を特徴とする車載装置中継システム。
A plurality of in-vehicle devices that transmit and / or receive data including numerical information, and are connected to the in-vehicle device via an in-vehicle communication line, receive data from one in-vehicle device, and receive the received data from another in-vehicle device In a vehicle-mounted device relay system comprising a relay device that transmits to a device,
The relay device is
Comprising a judging means for judging whether or not the numerical value indicated by the numerical information included in the received data is normal as a numerical value related to the control of the vehicle based on a unified standard of the entire system ;
When the determination means determines that the numerical value is abnormal, data including numerical information indicating a predetermined abnormal value is transmitted.
前記データは該データの種類を示す情報を含み、
前記中継装置は、
受信したデータに含まれる数値情報をデータの種類毎に時系列に記憶する手段を備え、
前記判断手段は、
前記種類の一について、記憶した数値情報が示す数値の時間経過に対する変化が所定の条件に一致するか否かを判断し、所定の条件に一致する場合に数値が異常であると判断するようにしてあること
を特徴とする請求項1に記載の車載装置中継システム。
The data includes information indicating the type of the data,
The relay device is
Means for storing numerical information included in received data in time series for each type of data,
The determination means includes
For one of the types, it is determined whether or not the change in the numerical value indicated by the stored numerical information matches a predetermined condition, and if the predetermined condition is satisfied, the numerical value is determined to be abnormal. The in-vehicle device relay system according to claim 1, wherein
前記中継装置は、
数値が異常であると前記判断手段が判断した場合、異常と判断した数値を含む異常記録を記憶するようにしてあること
を特徴とする請求項1又は2に記載の車載装置中継システム。
The relay device is
The in-vehicle device relay system according to claim 1 or 2, wherein when the determination unit determines that the numerical value is abnormal, an abnormality record including the numerical value determined to be abnormal is stored.
数値情報を含むデータを送信及び/又は受信する複数の車載装置と、該車載装置に車内通信回線を介して接続されており、一の車載装置からデータを受信し、受信したデータを他の車載装置へ送信する中継装置とを用いる車載装置中継方法において、
前記中継装置は、
受信したデータに含まれる数値情報が示す数値が、車両の制御に係る数値として正常であるか否かを当該システム全体の統一基準に基づき判断し、
数値が異常であると判断した場合、所定の異常値を示す数値情報を含むデータを送信すること
を特徴とする車載装置中継方法。
A plurality of in-vehicle devices that transmit and / or receive data including numerical information, and are connected to the in-vehicle device via an in-vehicle communication line, receive data from one in-vehicle device, and receive the received data from another in-vehicle device In a vehicle-mounted device relay method using a relay device that transmits to a device,
The relay device is
Determine whether the numerical value indicated by the numerical information included in the received data is normal as the numerical value related to the control of the vehicle based on the unified standard of the entire system ,
When it is determined that the numerical value is abnormal, data including numerical information indicating a predetermined abnormal value is transmitted.
前記データは該データの種類を示す情報を含み、
前記中継装置は、
受信したデータに含まれる数値情報をデータの種類毎に時系列に記憶し、
前記種類の一について、記憶した数値情報が示す数値の時間経過に対する変化が所定の条件に一致するか否かを判断し、所定の条件に一致する場合に数値が異常であると判断すること
を特徴とする請求項4に記載の車載装置中継方法。
The data includes information indicating the type of the data,
The relay device is
Numeric information contained in the received data is stored in time series for each type of data,
For one of the types, it is determined whether or not a change in the numerical value indicated by the stored numerical information matches a predetermined condition, and if the predetermined condition is satisfied, the numerical value is determined to be abnormal. The in-vehicle device relay method according to claim 4, wherein
前記中継装置は、
数値が異常であると判断した場合、異常と判断した数値を含む異常記録を記憶すること
を特徴とする請求項4又は5に記載の車載装置中継方法。
The relay device is
The in-vehicle device relay method according to claim 4 or 5, wherein when the numerical value is determined to be abnormal, an abnormality record including the numerical value determined to be abnormal is stored.
複数の外部装置と車内通信回線を介して接続されており、一の外部装置から数値情報を含むデータを受信し、受信したデータを他の車載装置へ送信する中継装置において、
受信したデータに含まれる数値情報が示す数値が、車両の制御に係る数値として正常であるか否かを当該システム全体の統一基準に基づき判断する判断手段を備え、
数値が異常であると前記判断手段が判断した場合、所定の異常値を示す数値情報を含むデータを送信するようにしてあること
を特徴とする中継装置。
In a relay device that is connected to a plurality of external devices via an in-vehicle communication line, receives data including numerical information from one external device, and transmits the received data to another in-vehicle device.
Comprising a judging means for judging whether or not the numerical value indicated by the numerical information included in the received data is normal as a numerical value related to the control of the vehicle based on a unified standard of the entire system ;
The relay device, wherein when the determination unit determines that the numerical value is abnormal, data including numerical information indicating a predetermined abnormal value is transmitted.
前記データは該データの種類を示す情報を含み、
受信したデータに含まれる数値情報をデータの種類毎に時系列に記憶する手段を備え、
前記判断手段は、
前記種類の一について、記憶した数値情報が示す数値の時間経過に対する変化が所定の条件に一致するか否かを判断し、所定の条件に一致する場合に数値が異常であると判断すること
を特徴とする請求項7に記載の中継装置。
The data includes information indicating the type of the data,
Means for storing numerical information included in received data in time series for each type of data,
The determination means includes
For one of the types, it is determined whether or not a change in the numerical value indicated by the stored numerical information matches a predetermined condition, and if the predetermined condition is satisfied, the numerical value is determined to be abnormal. 8. The relay apparatus according to claim 7, wherein
数値が異常であると判断した場合、異常と判断した数値を含む異常記録を記憶すること
を特徴とする請求項7又は8に記載の中継装置。
The relay apparatus according to claim 7 or 8, wherein when the numerical value is determined to be abnormal, an abnormal record including the numerical value determined to be abnormal is stored.
JP2006301968A 2006-11-07 2006-11-07 In-vehicle device relay system, in-vehicle device relay method, and relay device Expired - Fee Related JP5286659B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006301968A JP5286659B2 (en) 2006-11-07 2006-11-07 In-vehicle device relay system, in-vehicle device relay method, and relay device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006301968A JP5286659B2 (en) 2006-11-07 2006-11-07 In-vehicle device relay system, in-vehicle device relay method, and relay device

Publications (2)

Publication Number Publication Date
JP2008114806A JP2008114806A (en) 2008-05-22
JP5286659B2 true JP5286659B2 (en) 2013-09-11

Family

ID=39501106

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006301968A Expired - Fee Related JP5286659B2 (en) 2006-11-07 2006-11-07 In-vehicle device relay system, in-vehicle device relay method, and relay device

Country Status (1)

Country Link
JP (1) JP5286659B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290039B (en) * 2014-09-12 2021-08-31 松下电器(美国)知识产权公司 Electronic control unit, in-vehicle network system, and communication method for vehicle
JP6558703B2 (en) 2016-12-14 2019-08-14 パナソニックIpマネジメント株式会社 Control device, control system, and program
JP2019008618A (en) * 2017-06-26 2019-01-17 パナソニックIpマネジメント株式会社 Information processing apparatus, information processing method, and program
CN109895713A (en) * 2017-12-11 2019-06-18 上汽通用汽车有限公司 Vehicle failure monitors terminal, method and computer storage medium
WO2019142476A1 (en) 2018-01-22 2019-07-25 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Data analysis device and program
JP7045288B2 (en) 2018-01-22 2022-03-31 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Data analysis device, data analysis method and program
JP7045286B2 (en) 2018-01-22 2022-03-31 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Data analysis device, data analysis method and program
CN110325410B (en) 2018-01-22 2022-04-26 松下电器(美国)知识产权公司 Data analysis device and storage medium
DE102019113818B4 (en) 2018-05-31 2023-03-30 Panasonic Intellectual Property Management Co., Ltd. ELECTRONIC CONTROL DEVICE, MONITORING METHOD, PROGRAM AND GATEWAY DEVICE
JP7415364B2 (en) * 2019-08-02 2024-01-17 株式会社オートネットワーク技術研究所 In-vehicle relay device, computer program and failure determination method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2589617B2 (en) * 1991-12-25 1997-03-12 本田技研工業株式会社 Vehicle failure diagnosis device
JP2002016614A (en) * 2000-06-30 2002-01-18 Sumitomo Electric Ind Ltd On-vehicle gateway
JP2002280970A (en) * 2001-03-15 2002-09-27 Kyushu Ando Denki Kk Two-way communication system via optical fiber transmission line
JP2003004515A (en) * 2001-06-19 2003-01-08 Yazaki Corp Sensor unit, sensor abnormality detector unit and deadweight measuring device

Also Published As

Publication number Publication date
JP2008114806A (en) 2008-05-22

Similar Documents

Publication Publication Date Title
JP5286659B2 (en) In-vehicle device relay system, in-vehicle device relay method, and relay device
JP5664799B2 (en) Communication system and communication method
JP4974706B2 (en) In-vehicle communication device and in-vehicle communication system
JPWO2013080387A1 (en) Transmission message generator and in-vehicle communication system
JP2014072673A (en) Relay device
JP7006335B2 (en) In-vehicle communication system, in-vehicle communication method, and program
JP4987760B2 (en) Relay device, communication system, and communication method
US20080306647A1 (en) In-vehicle network system and control method thereof
US20220385553A1 (en) Vehicle-mounted relay device and information processing method
JP5019983B2 (en) In-vehicle communication system, relay device, and communication method
JP5983298B2 (en) Vehicle battery status monitoring system
JP5900198B2 (en) COMMUNICATION SYSTEM, RELAY DEVICE, AND COMMUNICATION DEVICE
WO2020049871A1 (en) Vehicular communication device
JP2021083059A (en) In-vehicle relay device and relay method
WO2022092263A1 (en) Ground short failure detection device and node device
JP5892890B2 (en) Communication control device
JP7151930B2 (en) RELAY DEVICE, COMMUNICATION NETWORK SYSTEM AND COMMUNICATION CONTROL METHOD
JP5078003B2 (en) In-vehicle device communication system and distribution device
JP7463870B2 (en) On-board device, on-board communication system, and communication control method
JP2019186644A (en) On-vehicle communication system, on-vehicle communication device, communication program, and communication method
JP2009005160A (en) Error generation device
JP7192747B2 (en) In-vehicle relay device and information processing method
JP4225264B2 (en) Communication device
JP5892889B2 (en) Communication control device
JP2012126230A (en) Program rewriting system of electronic control unit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090317

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110930

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111004

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120403

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120601

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20121211

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130205

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20130214

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130507

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130520

LAPS Cancellation because of no payment of annual fees