[go: up one dir, main page]

JP2018158591A - Control device for vehicle - Google Patents

Control device for vehicle Download PDF

Info

Publication number
JP2018158591A
JP2018158591A JP2017055179A JP2017055179A JP2018158591A JP 2018158591 A JP2018158591 A JP 2018158591A JP 2017055179 A JP2017055179 A JP 2017055179A JP 2017055179 A JP2017055179 A JP 2017055179A JP 2018158591 A JP2018158591 A JP 2018158591A
Authority
JP
Japan
Prior art keywords
communication module
sub
data
main
control unit
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.)
Granted
Application number
JP2017055179A
Other languages
Japanese (ja)
Other versions
JP6789159B2 (en
Inventor
公義 山崎
Kimiyoshi Yamazaki
公義 山崎
洋斗 山岡
Hiroto Yamaoka
洋斗 山岡
睦 中塚
Mutsumi Nakatsuka
睦 中塚
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.)
Honda Motor Co Ltd
Hitachi Astemo Ltd
Original Assignee
Honda Motor Co Ltd
Keihin 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 Honda Motor Co Ltd, Keihin Corp filed Critical Honda Motor Co Ltd
Priority to JP2017055179A priority Critical patent/JP6789159B2/en
Publication of JP2018158591A publication Critical patent/JP2018158591A/en
Application granted granted Critical
Publication of JP6789159B2 publication Critical patent/JP6789159B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W50/02Ensuring safety in case of control system failures, e.g. by diagnosing, circumventing or fixing failures
    • B60W50/023Avoiding failures by using redundant parts
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W2050/0001Details of the control system
    • B60W2050/0043Signal treatments, identification of variables or parameters, parameter estimation or state estimation
    • B60W2050/0044In digital systems
    • B60W2050/0045In digital systems using databus protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Human Computer Interaction (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Control Of Driving Devices And Active Controlling Of Vehicle (AREA)
  • Small-Scale Networks (AREA)

Abstract

【課題】 サブ通信モジュールを確実に動作可能な車両用制御装置を提供する。【解決手段】 CAN等の車載ネットワークに接続されるメイン制御部12及びサブ制御部22を有する車両用制御装置において、サブ通信モジュール24は、所定のデータで構成される送信データをメイン通信モジュール14に送信し、メイン通信モジュール14は、送信データに基づき構成される返信データをサブ通信モジュール24に送信し、サブ通信モジュール24が返信データを受信する時に、サブ制御部22は、返信データに基づき、サブ通信モジュール24が正常であるか否かを確認する。サブ通信モジュール24が正常であることが確認された後に、SPI等の異なる経路を介してメイン通信モジュール14が故障していることが判定される時に、車載ネットワーク上の車載装置への制御データの送信は、サブ通信モジュール24によって実行される。【選択図】 図1PROBLEM TO BE SOLVED: To provide a control device for a vehicle capable of reliably operating a sub communication module. SOLUTION: In a vehicle control device having a main control unit 12 and a sub control unit 22 connected to an in-vehicle network such as a CAN, the sub communication module 24 transmits transmission data composed of predetermined data to the main communication module 14. The main communication module 14 transmits the reply data configured based on the transmission data to the sub communication module 24, and when the sub communication module 24 receives the reply data, the sub control unit 22 is based on the reply data. , Check whether the sub communication module 24 is normal or not. After confirming that the sub communication module 24 is normal, when it is determined that the main communication module 14 has failed via a different route such as SPI, the control data to the in-vehicle device on the in-vehicle network is transmitted. Transmission is performed by the sub-communication module 24. [Selection diagram] Fig. 1

Description

本発明は、例えば自動車等の車両に用いられる制御装置(車両用制御装置)であって、メイン制御部及びサブ制御部を備えて冗長化された制御装置等に関する。   The present invention relates to a control device (vehicle control device) used for a vehicle such as an automobile, for example, and relates to a redundant control device including a main control unit and a sub control unit.

例えば特許文献1は、駆動装置の制御装置を開示し、その制御装置は、メイン系マイコン及びサブ系マイコンを備え、AD(Analog-to-Digital)変換モジュール及びCAN(Controller Area Network)モジュールが冗長化されている。特許文献1の制御装置では、具体的には、入力データを演算する出力演算ソフトがメイン系マイコンのみに格納されている。メイン系CANモジュールが異常であり、且つサブ系CANモジュールが正常である時に、メイン系マイコンは、DPRAM(Dual Port RAM)に格納されるサブ系CAN入力データを使用し、サブ系CANモジュールでの通信を実行することができる。   For example, Patent Document 1 discloses a control device for a drive device, and the control device includes a main system microcomputer and a sub system microcomputer, and an AD (Analog-to-Digital) conversion module and a CAN (Controller Area Network) module are redundant. It has become. Specifically, in the control device of Patent Document 1, output calculation software for calculating input data is stored only in the main microcomputer. When the main system CAN module is abnormal and the sub system CAN module is normal, the main system microcomputer uses the sub system CAN input data stored in DPRAM (Dual Port RAM), and the sub system CAN module Communication can be performed.

なお、特許文献1のサブ系マイコン(サブ系駆動装置(ATCU)用制御装置のCPU)は、サブ系CANモジュールの状態(正常又は異常)及びサブ系CAN入力データ(入力値)をDPRAMに常に書き込むことができる。   The sub-system microcomputer (CPU of the sub-system drive unit (ATCU) control device) of Patent Document 1 always stores the status (normal or abnormal) of the sub-system CAN module and the sub-system CAN input data (input value) in the DPRAM. Can write.

特開2016−055832号公報JP 2006-055832 A

特許文献1では、メイン系CANモジュールが正常である時に、メイン系CANモジュールでの通信が実行される一方、サブ系CANモジュールでの通信は、実行されない。従って、メイン系CANモジュールの状態が正常から異常に変化し、且つサブ系CANモジュールが正常である時に、サブ系CANモジュールでの通信が実際に実行される。しかしながら、サブ系CANモジュールが起動する時に、サブ系CANモジュールでの通信が実際には実行されない可能性を本発明者らは認識した。言い換えれば、サブ系マイコンによってサブ系CANモジュールが正常であることが誤って判定される時に、サブ系CANモジュールに送信データの送信命令が伝わっていても、サブ系CANモジュールは、送信データを実際に送信することができない。   In Patent Document 1, when the main CAN module is normal, communication with the main CAN module is executed, while communication with the sub CAN module is not executed. Therefore, when the state of the main CAN module changes from normal to abnormal and the sub CAN module is normal, communication in the sub CAN module is actually executed. However, the present inventors have recognized that when the sub-system CAN module is activated, communication in the sub-system CAN module may not actually be executed. In other words, when the sub-system microcomputer erroneously determines that the sub-system CAN module is normal, the sub-system CAN module actually transmits the transmission data even if a transmission command for transmission data is transmitted to the sub-system CAN module. Can not be sent to.

また、特許文献1では、メイン系マイコンが異常である時に、サブ系CANモジュールでの通信は、実行されない。なぜならば、サブ系CANモジュールでの通信は、メイン系マイコンによって制御されるからである。   Further, in Patent Document 1, when the main microcomputer is abnormal, communication with the sub CAN module is not executed. This is because communication in the sub CAN module is controlled by the main microcomputer.

本発明の1つの目的は、サブ系CANモジュール等のサブ通信モジュールを確実に動作可能な車両用制御装置を提供することである。本発明のもう1つの目的は、メイン系マイコン等のメイン制御部が故障する状況であっても、サブ通信モジュールを動作可能な車両用制御装置を提供することである。本発明の他の目的は、以下に例示する態様及び最良の実施形態、並びに添付の図面を参照することによって、当業者に明らかになるであろう。   One object of the present invention is to provide a vehicle control device that can reliably operate a sub-communication module such as a sub-system CAN module. Another object of the present invention is to provide a vehicle control device capable of operating a sub-communication module even in a situation where a main control unit such as a main system microcomputer breaks down. Other objects of the present invention will become apparent to those skilled in the art by referring to the aspects and best embodiments exemplified below and the accompanying drawings.

以下に、本発明の概要を容易に理解するために、本発明に従う態様を例示する。   In the following, in order to easily understand the outline of the present invention, embodiments according to the present invention will be exemplified.

第1の態様において、車載ネットワークに接続されるメイン制御部及びサブ制御部を有する車両用制御装置は、
前記車載ネットワーク上の通信を実行可能な第1のメイン通信モジュールと、
前記車載ネットワーク上の通信を実行可能な第1のサブ通信モジュールと、
前記車載ネットワークとは異なる経路上の通信を実行可能な第2のメイン通信モジュールと、
前記異なる経路上の通信を実行可能な第2のサブ通信モジュールと、
を備え、
前記第1のサブ通信モジュールは、所定のデータで構成される送信データを前記第1のメイン通信モジュールに送信し、
前記第1のメイン通信モジュールは、前記送信データに基づき構成される返信データを前記第1のサブ通信モジュールに送信し、
前記第1のサブ通信モジュールが前記返信データを受信する時に、前記サブ制御部は、前記返信データに基づき、前記第1のサブ通信モジュールが正常であるか否かを確認し、
前記第1のメイン通信モジュールが故障していることが前記メイン制御部によって判定される時に、前記第2のメイン通信モジュールは、故障データを前記第2のサブ通信モジュールに送信し、
前記第2のサブ通信モジュールが前記故障データを受信する時に、前記サブ制御部は、前記第1のメイン通信モジュールが故障していることを判定し、
前記車載ネットワークを介して前記第1のサブ通信モジュールが正常であることが確認された後に、前記異なる経路を介して前記第1のメイン通信モジュールが故障していることが判定される時に、前記車載ネットワーク上の車載装置への制御データの送信は、前記第1のメイン通信モジュールの代わりに前記第1のサブ通信モジュールによって実行される。
In the first aspect, a vehicle control device having a main control unit and a sub-control unit connected to an in-vehicle network,
A first main communication module capable of executing communication on the in-vehicle network;
A first sub communication module capable of executing communication on the in-vehicle network;
A second main communication module capable of executing communication on a route different from the in-vehicle network;
A second sub-communication module capable of executing communication on the different path;
With
The first sub communication module transmits transmission data including predetermined data to the first main communication module,
The first main communication module transmits reply data configured based on the transmission data to the first sub communication module;
When the first sub-communication module receives the reply data, the sub-control unit confirms whether the first sub-communication module is normal based on the reply data,
When the main control unit determines that the first main communication module has failed, the second main communication module transmits failure data to the second sub communication module;
When the second sub-communication module receives the failure data, the sub-control unit determines that the first main communication module has failed,
When it is determined that the first main communication module is out of order via the different path after it is confirmed that the first sub communication module is normal through the in-vehicle network, Transmission of control data to the in-vehicle device on the in-vehicle network is executed by the first sub communication module instead of the first main communication module.

第1の態様では、車載ネットワーク(例えばCAN)上の車載装置への制御データの送信が第1のサブ通信モジュールによって実行される前に、第1のサブ通信モジュールは、車載ネットワークを介して送信データを第1のメイン通信モジュールに実際に送信し、その実行結果としての返信データを第1のメイン通信モジュールから実際に受信している。第1の態様では、第1のサブ通信モジュールが実際に送信データを送信できたことが確認されているので、第1のサブ通信モジュールは、車載ネットワーク上の車載装置に制御データを確実に送信することができる。このように、第1の態様では、サブ通信モジュールを確実に動作可能な車両用制御装置を提供することができる。   In the first aspect, before transmission of control data to the in-vehicle device on the in-vehicle network (for example, CAN) is executed by the first sub-communication module, the first sub-communication module transmits through the in-vehicle network. Data is actually transmitted to the first main communication module, and reply data as an execution result is actually received from the first main communication module. In the first aspect, since it is confirmed that the first sub communication module can actually transmit the transmission data, the first sub communication module reliably transmits the control data to the in-vehicle device on the in-vehicle network. can do. Thus, according to the first aspect, it is possible to provide a vehicle control device that can reliably operate the sub-communication module.

第1の態様に従属する第2の態様において、
前記第2のメイン通信モジュールからのデータが断絶する時に、前記サブ制御部は、前記第1のメイン通信モジュールからのデータが断絶しているか否かを判定してもよく、
前記第2のメイン通信モジュールからのデータが断絶し、且つ前記第1のメイン通信モジュールからのデータが断絶しない時に、前記車載ネットワーク上の前記車載装置への前記制御データの送信は、前記第1のメイン通信モジュールによって実行され続けてもよい。
In a second aspect dependent on the first aspect,
When the data from the second main communication module is disconnected, the sub-control unit may determine whether the data from the first main communication module is disconnected,
When the data from the second main communication module is disconnected and the data from the first main communication module is not disconnected, the transmission of the control data to the in-vehicle device on the in-vehicle network is the first May continue to be executed by the main communication module.

第2の態様では、第2のメイン通信モジュールからのデータが断絶する状況であっても、第1のメイン通信モジュールからのデータが断絶しない時に、サブ制御部は、車載ネットワークの異常(例えばメイン制御部の故障)ではなく、異なる経路の異常(例えばSPI通信線の断線)を推定することができる。第2の態様では、第1のメイン通信モジュールからのデータが断絶しない時に、言い換えれば、第1のメイン通信モジュールが実際に例えば返信データを送信できたことが確認されているので、第1のメイン通信モジュールは、車載ネットワーク上の車載装置に制御データを確実に送信することができる。このように、第1のメイン通信モジュールの動作は、継続可能である。   In the second aspect, even when the data from the second main communication module is disconnected, when the data from the first main communication module is not disconnected, the sub-control unit detects an abnormality in the in-vehicle network (for example, the main It is possible to estimate an abnormality in a different route (for example, disconnection of the SPI communication line) instead of a failure of the control unit. In the second aspect, when the data from the first main communication module is not interrupted, in other words, it is confirmed that the first main communication module can actually transmit, for example, reply data. The main communication module can reliably transmit control data to the in-vehicle device on the in-vehicle network. Thus, the operation of the first main communication module can be continued.

第2の態様に従属する第3の態様において、
前記第2のメイン通信モジュールからのデータが断絶し、且つ前記第1のメイン通信モジュールからのデータも断絶する時に、前記サブ制御部は、前記メイン制御部が故障していることを推定し、且つ前記車載ネットワーク上の前記車載装置への前記制御データの送信を前記第1のサブ通信モジュールによって実行してもよい。
In a third aspect subordinate to the second aspect,
When the data from the second main communication module is disconnected and the data from the first main communication module is also disconnected, the sub-control unit estimates that the main control unit has failed, The transmission of the control data to the in-vehicle device on the in-vehicle network may be executed by the first sub communication module.

第3の態様では、第2のメイン通信モジュールからのデータが断絶し、且つ第1のメイン通信モジュールからのデータも断絶する時に、サブ制御部は、異なる経路の異常(例えばSPI通信線の断線)ではなく、メイン制御部の故障を推定することができる。第3の態様では、言い換えれば、第1のメイン通信モジュールが実際に例えば返信データを送信できなかったことが確認されているので、第1のメイン通信モジュールは、もはや車載ネットワーク上の車載装置に制御データを確実に送信することができない。従って、第1のメイン通信モジュールの代わりに第1のサブ通信モジュールは、車載ネットワーク上の車載装置に制御データを確実に送信することができる。   In the third aspect, when the data from the second main communication module is disconnected and the data from the first main communication module is also disconnected, the sub-control unit detects an abnormality in a different path (for example, disconnection of the SPI communication line). ), The failure of the main control unit can be estimated. In the third aspect, in other words, since it has been confirmed that the first main communication module could not actually transmit, for example, reply data, the first main communication module is no longer connected to the in-vehicle device on the in-vehicle network. Control data cannot be transmitted reliably. Therefore, instead of the first main communication module, the first sub communication module can reliably transmit control data to the in-vehicle device on the in-vehicle network.

第1〜第3の態様の何れか1つの態様に従属する第4の態様において、
前記第1のサブ通信モジュールから前記第1のメイン通信モジュールに送信される前記送信データを構成する前記所定のデータは、所定の間隔で前記サブ制御部での所定の演算を実行することによって生成される可変データであってもよい。
In a fourth aspect subordinate to any one of the first to third aspects,
The predetermined data constituting the transmission data transmitted from the first sub-communication module to the first main communication module is generated by executing a predetermined calculation in the sub-control unit at predetermined intervals. It may be variable data.

第4の態様では、送信データを構成する所定のデータが可変データであるので、送信データは、所定の間隔で変更される。従って、送信データに基づき構成される返信データも所定の間隔で変更される。このような返信データを利用することによって、第4の態様では、第1のサブ通信モジュールが実際に送信データを送信できたことをより一層確実に確認することができる。言い換えれば、返信データが固定データであり、又は送信データ(可変データ)が返信データに反映されない時に、サブ制御部は、第1のサブ通信モジュールが正常であることを確認しない又は第1のサブ通信モジュールの異常を判定することができる。   In the fourth aspect, since the predetermined data constituting the transmission data is variable data, the transmission data is changed at a predetermined interval. Accordingly, the reply data configured based on the transmission data is also changed at a predetermined interval. By using such reply data, in the fourth aspect, it can be confirmed more reliably that the first sub-communication module can actually transmit the transmission data. In other words, when the return data is fixed data, or transmission data (variable data) is not reflected in the return data, the sub control unit does not confirm that the first sub communication module is normal or the first sub An abnormality of the communication module can be determined.

第4の態様に従属する第5の態様において、
前記返信データが前記可変データに基づく時に、前記サブ制御部は、前記第1のサブ通信モジュールが正常であることを確認してもよい。
In a fifth aspect subordinate to the fourth aspect,
When the reply data is based on the variable data, the sub control unit may confirm that the first sub communication module is normal.

第5の態様では、返信データが可変データ(所定の間隔で変更される送信データ)に基づく時に、第1のサブ通信モジュールが実際に送信データを送信できたことをより一層確実に確認することができる。   In the fifth aspect, when the return data is based on variable data (transmission data changed at a predetermined interval), it is more reliably confirmed that the first sub-communication module has actually transmitted the transmission data. Can do.

第5の態様に従属する第6の態様において、
前記返信データが前記可変データに基づかない時に、前記サブ制御部は、前記第1のサブ通信モジュールの異常を前記異なる経路を介して前記メイン制御部に送信してもよく、
前記異なる経路を介して前記第1のサブ通信モジュールの前記異常が前記メイン制御部によって受信され、且つ前記第1のメイン通信モジュールが故障していることが前記メイン制御部によって判定される時に、前記第2のメイン通信モジュールは、前記第1のメイン通信モジュールの前記故障データを前記第2のサブ通信モジュールに送信せず、且つ前記車載ネットワーク上の前記車載装置への前記制御データの送信は、前記第1のメイン通信モジュール及び前記第1のサブ通信モジュールによって実行されなくてもよい。
In a sixth aspect subordinate to the fifth aspect,
When the return data is not based on the variable data, the sub control unit may transmit an abnormality of the first sub communication module to the main control unit via the different path,
When the abnormality of the first sub-communication module is received by the main control unit via the different path, and the main control unit determines that the first main communication module has failed, The second main communication module does not transmit the failure data of the first main communication module to the second sub communication module, and transmission of the control data to the in-vehicle device on the in-vehicle network is , And may not be executed by the first main communication module and the first sub communication module.

第6の態様では、返信データが可変データ(所定の間隔で変更される送信データ)に基づかない時に、サブ制御部は、第1のサブ通信モジュールの異常を異なる経路を介してメイン制御部に送信する。第6の態様では、第1のメイン通信モジュールが故障する状況であっても、メイン制御部は、第1のメイン通信モジュールが故障していることをサブ制御部に伝えない。従って、第6の態様では、返信データが可変データに基づかない時に、サブ制御部は、第1のメイン通信モジュールが故障していることを判定できないので、第1のサブ通信モジュールは、車載ネットワーク上の車載装置に制御データを送信しない。   In the sixth aspect, when the return data is not based on variable data (transmission data that is changed at a predetermined interval), the sub-control unit sends an abnormality of the first sub-communication module to the main control unit via a different route. Send. In the sixth aspect, even if the first main communication module fails, the main control unit does not notify the sub-control unit that the first main communication module has failed. Therefore, in the sixth aspect, when the return data is not based on the variable data, the sub-control unit cannot determine that the first main communication module has failed. Do not send control data to the above in-vehicle device.

第1〜第6の態様の何れか1つの態様に従属する第7の態様において、
前記サブ制御部は、前記第1のサブ通信モジュールが故障しているか否かを判定してもよく、
前記第1のサブ通信モジュールが故障していないことが前記サブ制御部によって判定された後に、前記サブ制御部は、前記返信データに基づき、前記第1のサブ通信モジュールが正常であるか否かを確認してもよい。
In a seventh aspect subordinate to any one of the first to sixth aspects,
The sub-control unit may determine whether or not the first sub-communication module has failed,
After the sub control unit determines that the first sub communication module has not failed, the sub control unit determines whether the first sub communication module is normal based on the return data. May be confirmed.

第7の態様では、第1のサブ通信モジュールが故障していないことがサブ制御部によって判定される時に、第1のサブ通信モジュールが実際に送信データを送信できたか否かを返信データによって確かめることができる。言い換えれば、第1のサブ通信モジュールが故障していないことがサブ制御部によって判定される時に、第1のサブ通信モジュールでの送信が実際には実行されない可能性を本発明者らは認識した。   In the seventh aspect, when the sub-control unit determines that the first sub-communication module has not failed, the return data confirms whether or not the first sub-communication module has actually transmitted the transmission data. be able to. In other words, when the sub-control unit determines that the first sub-communication module has not failed, the present inventors have recognized that the transmission in the first sub-communication module may not actually be performed. .

第1〜第7の態様の何れか1つの態様に従属する第8の態様において、
前記第1のサブ通信モジュールは、前記返信データに基づく次の所定のデータで構成される次の送信データを前記第1のメイン通信モジュールに送信してもよく、
前記第1のメイン通信モジュールが前記送信データを受信する時に、前記メイン制御部は、前記送信データ及び前記返信データに基づき、前記第1のメイン通信モジュールが正常であるか否かを確認してもよく、
前記第1のメイン通信モジュールが正常であることが確認されない時に、前記第2のメイン通信モジュールは、前記第1のメイン通信モジュールの異常を前記第2のサブ通信モジュールに送信してもよい。
In an eighth aspect dependent on any one of the first to seventh aspects,
The first sub-communication module may transmit next transmission data composed of next predetermined data based on the reply data to the first main communication module,
When the first main communication module receives the transmission data, the main control unit confirms whether or not the first main communication module is normal based on the transmission data and the reply data. Well,
When it is not confirmed that the first main communication module is normal, the second main communication module may transmit an abnormality of the first main communication module to the second sub communication module.

第8の態様では、第1のメイン通信モジュールが故障していないことがメイン制御部によって判定される状況であっても、第1のメイン通信モジュールでの送信が実際には実行されない可能性を本発明者らは認識した。言い換えれば、第8の態様では、第1のメイン通信モジュールは、車載ネットワークを介して返信データを第1のサブ通信モジュールに実際に送信し、その実行結果としての返信データが送信データに反映されない時に、第1のメイン通信モジュールでの送信が実際には実行されていないことを推定し、又は第1のメイン通信モジュールが正常であることが確認されない。このような状況において、第8の態様では、メイン制御部は、第1のメイン通信モジュールの異常をサブ制御部に伝えることができる。   In the eighth aspect, there is a possibility that transmission by the first main communication module is not actually executed even if the main control unit determines that the first main communication module has not failed. The inventors have recognized. In other words, in the eighth aspect, the first main communication module actually transmits the reply data to the first sub-communication module via the in-vehicle network, and the reply data as the execution result is not reflected in the transmission data. Sometimes it is estimated that transmission in the first main communication module is not actually being performed, or it is not confirmed that the first main communication module is normal. In such a situation, in the eighth aspect, the main control unit can transmit an abnormality of the first main communication module to the sub-control unit.

第1〜第8の態様の何れか1つの態様に従属する第9の態様において、
前記車載ネットワーク上の前記車載装置への前記制御データの送信が、前記第1のメイン通信モジュールの代わりに前記第1のサブ通信モジュールによって実行される時に、前記制御データは、前記車載装置の動作を縮退させる縮退データであってもよい。
In a ninth aspect dependent on any one of the first to eighth aspects,
When transmission of the control data to the in-vehicle device on the in-vehicle network is executed by the first sub communication module instead of the first main communication module, the control data is an operation of the in-vehicle device. It may be degenerate data that degenerates.

第9の態様では、第1のメイン通信モジュールの故障がサブ制御部に伝えられる時に、サブ制御部は、車載装置に縮退データを送信することができる。言い換えれば、第9の態様では、第1のサブ通信モジュールが冗長化されない時に、車両用制御装置によって制御される車載装置の機能を縮小し又は車載装置の一部を停止することができる。   In the ninth aspect, when the failure of the first main communication module is transmitted to the sub control unit, the sub control unit can transmit the degenerate data to the in-vehicle device. In other words, in the ninth aspect, when the first sub communication module is not made redundant, the function of the in-vehicle device controlled by the vehicle control device can be reduced or a part of the in-vehicle device can be stopped.

当業者は、例示した本発明に従う態様が、本発明の精神を逸脱することなく、さらに変更され得ることを容易に理解できるであろう。   Those skilled in the art will readily understand that the illustrated embodiments according to the present invention can be further modified without departing from the spirit of the present invention.

本発明に従う車両用制御装置の構成例を示す。The structural example of the control apparatus for vehicles according to this invention is shown. 図2(A)は、第1のサブ通信モジュールが正常であるか否かを確認するためのCAN送信データ(所定のデータ)を生成するサブ制御装置の動作例を示すフローチャート図を示し、図2(B)は、CAN送信データ(所定のデータ)に基づくCAN返信データを生成するメイン制御装置の動作例を示すフローチャート図を示す。FIG. 2A is a flowchart showing an operation example of the sub control device that generates CAN transmission data (predetermined data) for confirming whether or not the first sub communication module is normal. 2 (B) is a flowchart showing an operation example of the main control device that generates CAN reply data based on CAN transmission data (predetermined data). 図3(A)は、サブ制御装置に縮退データを送信させるためのCAN故障データを生成するメイン制御装置の動作例を示すフローチャート図を示し、図3(B)は、縮退データを生成するサブ制御装置の動作例を示すフローチャート図を示す。FIG. 3A is a flowchart showing an example of the operation of the main control device that generates CAN failure data for causing the sub-control device to transmit degenerate data, and FIG. The flowchart figure which shows the operation example of a control apparatus is shown.

以下に説明する最良の実施形態は、本発明を容易に理解するために用いられている。従って、当業者は、本発明が、以下に説明される実施形態によって不当に限定されないことを留意すべきである。   The best mode described below is used to easily understand the present invention. Accordingly, those skilled in the art should note that the present invention is not unduly limited by the embodiments described below.

図1は、本発明に従う車両用制御装置の構成例を示す。図1には図示されていないが、自動車等の車両は、典型的には、多くのECU(Electronic Control Unit)を備え、それらのECUは、例えばCAN等の車載ネットワークに接続されている。また、それらのECUは、図示されない各種のアクチュエータを制御し、車両の走行を実現することができる。図1に示される車両用制御装置は、それらのECUの中の1つのECU、又はそれらのECUを統括する統括ECUであり、車両用制御装置は、例えば2線式差動電圧方式のCAN通信を実行可能なCAN(広義には、車載ネットワーク)に接続されるメイン制御部12及びサブ制御部22を有する。メイン制御部12及びサブ制御部22のそれぞれは、典型的には、例えばCPU等の演算部を備えている。   FIG. 1 shows a configuration example of a vehicle control device according to the present invention. Although not shown in FIG. 1, a vehicle such as an automobile typically includes many ECUs (Electronic Control Units), and these ECUs are connected to an in-vehicle network such as a CAN. Moreover, those ECUs can control various actuators (not shown) to realize vehicle travel. The vehicle control device shown in FIG. 1 is one of those ECUs or a general ECU that supervises these ECUs. The vehicle control device is, for example, a 2-wire differential voltage type CAN communication. The main control unit 12 and the sub-control unit 22 are connected to a CAN (in a broad sense, an in-vehicle network). Each of the main control unit 12 and the sub control unit 22 typically includes a calculation unit such as a CPU.

図1において、メイン制御部12は、例えばCAN通信モジュール等の第1のメイン通信モジュール14(車載ネットワークモジュール)でCAN上の通信を実行し、通常の動作として、車載ネットワーク上のECU(広義には、車載装置)に制御データを送信することができる。他方、サブ制御部22は、通常の動作として、車載ネットワーク上のECUに制御データを送信しない。メイン側のCAN通信モジュールが故障する場合に限って、サブ制御部22は、例外又は緊急の動作として、第1のサブ通信モジュール24(具体的には、サブ側のCAN通信モジュール)で車載ネットワーク上のECUに制御データを送信可能である。このように冗長化されたメイン側及びサブ側のCAN通信モジュールが車両用制御装置に設けられている。   In FIG. 1, a main control unit 12 executes communication on a CAN by a first main communication module 14 (vehicle network module) such as a CAN communication module, for example. As a normal operation, an ECU (broadly defined) Can transmit control data to a vehicle-mounted device. On the other hand, the sub-control unit 22 does not transmit control data to the ECU on the in-vehicle network as a normal operation. Only when the main-side CAN communication module fails, the sub-control unit 22 uses the first sub-communication module 24 (specifically, the sub-side CAN communication module) as an in-vehicle network as an exception or emergency operation. Control data can be transmitted to the above ECU. The main-side and sub-side CAN communication modules thus made redundant are provided in the vehicle control device.

図1の車両用制御装置は、具体的には、メイン制御装置10及びサブ制御装置20を備え、メイン制御装置10及びサブ制御装置20の各々は、例えばSPI(Serial Peripheral Interface)等のCANとは異なる経路上の通信(メイン・サブ間通信)を実行可能なSPI通信モジュールを有している。第2のメイン通信モジュール16(具体的には、メイン側のSPI通信モジュール)は、第1のメイン通信モジュール14(メイン側のCAN通信モジュール)の故障、異常等を第2のサブ通信モジュール26(具体的には、サブ側のSPI通信モジュール)に伝えることができる。同様に、第2のサブ通信モジュール26(具体的には、サブ側のSPI通信モジュール)は、第1のサブ通信モジュール24(サブ側のCAN通信モジュール)の故障、異常等を第1のメイン通信モジュール16(具体的には、メイン側のSPI通信モジュール)に伝えることができる。   Specifically, the vehicle control device of FIG. 1 includes a main control device 10 and a sub control device 20, and each of the main control device 10 and the sub control device 20 includes, for example, a CAN such as an SPI (Serial Peripheral Interface). Has an SPI communication module capable of executing communication (main-sub communication) on different paths. The second main communication module 16 (specifically, the main-side SPI communication module) detects a failure, abnormality, etc. of the first main communication module 14 (main-side CAN communication module). (Specifically, it can be transmitted to the sub-side SPI communication module). Similarly, the second sub-communication module 26 (specifically, the sub-side SPI communication module) detects failures, abnormalities, etc. of the first sub-communication module 24 (sub-side CAN communication module). This can be transmitted to the communication module 16 (specifically, the SPI communication module on the main side).

図2(A)は、第1のサブ通信モジュール24(サブ側のCAN通信モジュール)が正常であるか否かを確認するためのCAN送信データ(所定のデータ)を生成するサブ制御装置20の動作例を示すフローチャート図を示す。図2(B)は、CAN送信データ(所定のデータ)に基づくCAN返信データを生成するメイン制御装置10の動作例を示すフローチャート図を示す。   FIG. 2A illustrates the CAN control data (predetermined data) for generating whether or not the first sub communication module 24 (sub-side CAN communication module) is normal. The flowchart figure which shows an operation example is shown. FIG. 2B is a flowchart showing an operation example of the main controller 10 that generates CAN reply data based on CAN transmission data (predetermined data).

第1のサブ通信モジュール24(サブ側のCAN通信モジュール)は、通常の動作として、車載ネットワーク上のECU(広義には、車載装置)に制御データを送信せず、メイン制御装置10だけに対して、サブ側のCAN通信モジュールが正常であるか否かを確認するためのCAN送信データ(所定のデータ)を送信することができる(図2(A)のステップST04参照)。   As a normal operation, the first sub communication module 24 (sub-side CAN communication module) does not transmit control data to the ECU (in-vehicle device in a broad sense) on the in-vehicle network, but only to the main control device 10. Thus, CAN transmission data (predetermined data) for confirming whether or not the sub-side CAN communication module is normal can be transmitted (see step ST04 in FIG. 2A).

なお、サブ制御装置20が通常の動作を開始する時に、メイン側の返信データ(サブ側の受信データ)には初期値が設定されて、サブ制御装置20は、例えばステップST01及びステップST02を省略し、ステップST03を実行する。言い換えれば、サブ制御装置20が通常の動作を開始する時に、サブ制御装置20は、直ぐにステップST03でCAN送信データ(所定のデータ)を生成することができる。   Note that when the sub-control device 20 starts normal operation, initial values are set in the main-side reply data (sub-side received data), and the sub-control device 20 omits, for example, step ST01 and step ST02. Then, step ST03 is executed. In other words, when the sub control device 20 starts normal operation, the sub control device 20 can immediately generate CAN transmission data (predetermined data) in step ST03.

図2(A)のステップST03において、サブ制御装置20は、サブ側の所定の演算として、例えば受信データの数値と任意に設定されるサブ側の例えば固定の数値とを加算する。サブ側の演算値である加算値は、所定のデータ(所定の数値)に設定される。サブ制御装置20は、その所定のデータを含む送信データを生成し、サブ制御装置20は、サブ側のCAN通信モジュールを使用して、CAN上のメイン制御装置10に送信データ(所定のデータ)を送信する(ステップST04参照)。   In step ST03 of FIG. 2A, the sub-control device 20 adds, for example, a numerical value of received data and, for example, a fixed numerical value on the sub-side that is arbitrarily set as a predetermined calculation on the sub-side. The addition value that is the sub-side calculation value is set to predetermined data (predetermined numerical value). The sub control device 20 generates transmission data including the predetermined data, and the sub control device 20 transmits the transmission data (predetermined data) to the main control device 10 on the CAN by using the CAN communication module on the sub side. Is transmitted (see step ST04).

ところで、第1のメイン通信モジュール14(メイン側のCAN通信モジュール)は、通常の動作として、車載ネットワーク上のECUに制御データを送信するとともに、サブ制御装置20だけに対して、サブ側のCAN通信モジュールからの送信データ(所定のデータ)に基づくCAN返信データを生成することができる(図2(B)のステップST13参照)。   Incidentally, the first main communication module 14 (main-side CAN communication module) transmits control data to the ECU on the in-vehicle network as a normal operation, and only the sub-control device 20 has a sub-side CAN. CAN reply data based on transmission data (predetermined data) from the communication module can be generated (see step ST13 in FIG. 2B).

なお、メイン制御装置10が通常の動作を開始する時に、メイン制御装置10は、例えばステップST11及びステップST12を省略し、ステップST13を実行する。言い換えれば、メイン制御装置10がサブ制御装置20からの送信データ(所定のデータ)を受信する時に、メイン側の受信データにサブ側の送信データ(所定のデータ)が設定されて、メイン制御装置10は、ステップST13で受信データ(所定のデータ)に基づく返信データ(メイン側の送信データ)を生成することができる。   Note that when the main control device 10 starts a normal operation, the main control device 10 omits, for example, step ST11 and step ST12 and executes step ST13. In other words, when the main control device 10 receives transmission data (predetermined data) from the sub-control device 20, the sub-side transmission data (predetermined data) is set in the main-side reception data, and the main control device 10 can generate reply data (main-side transmission data) based on the received data (predetermined data) in step ST13.

図2(B)のステップST13において、メイン制御装置10は、メイン側の所定の演算として、例えば受信データの数値(所定のデータの所定の数値)と任意に設定されるメイン側の例えば固定の数値とを加算する。メイン側の演算値である加算値は、メイン側の送信データの数値に設定される。メイン制御装置10は、その送信データを含む返信データを生成し、メイン制御装置10は、メイン側のCAN通信モジュールを使用して、CAN上のサブ制御装置20に返信データを送信する(ステップST14参照)。   In step ST13 of FIG. 2B, the main control device 10 performs, for example, a numerical value of received data (a predetermined numerical value of predetermined data) as a predetermined calculation on the main side, and a fixed value on the main side, for example, fixed Add the numeric value. The addition value, which is the calculation value on the main side, is set to the numerical value of the transmission data on the main side. The main control device 10 generates reply data including the transmission data, and the main control device 10 transmits the reply data to the sub control device 20 on the CAN using the CAN communication module on the main side (step ST14). reference).

図2(A)のステップST01において、サブ制御装置20は、ステップST04で送信データ(所定のデータ)を送信した後に、一定時間が経過したか否かを判定することができる。ここで、一定時間は、サブ制御装置20での送信データ(所定のデータ)の送信からサブ制御装置20での受信データ(返信データ)の受信までに要する通常の時間に基づき、例えば、一定時間は、通常の時間に最大の許容時間を追加することによって設定される。   In step ST01 of FIG. 2A, the sub-control device 20 can determine whether or not a certain time has elapsed after transmitting the transmission data (predetermined data) in step ST04. Here, the fixed time is based on a normal time required from transmission of transmission data (predetermined data) at the sub-control device 20 to reception of reception data (reply data) at the sub-control device 20, for example, a fixed time. Is set by adding the maximum allowable time to the normal time.

一定時間が経過した後に、サブ制御装置20は、サブ側のCAN通信モジュール(具体的には受信バッファ)に受信されているサブ側の受信データを読み出することができる。なお、メイン制御装置10は、メイン側のCAN通信モジュールを使用して、CAN上のサブ制御装置20にメイン側の返信データを送信するので、サブ側の受信データは、通常、メイン側の返信データと一致する。図2(A)のステップST02において、サブ制御装置20は、サブ側の受信データが正当であるか否かが確認される。具体的には、サブ制御装置20は、サブ側の受信データ(=メイン側の返信データ)の数値が図2(B)のステップ13でのメイン側の演算値と一致しているか否かを確認するために、メイン側の所定の演算と同一の演算を実行する(図2(A)のステップST02参照)。   After a certain period of time has elapsed, the sub-control device 20 can read the sub-side received data received by the sub-side CAN communication module (specifically, the reception buffer). Since the main control device 10 uses the main-side CAN communication module to transmit the main-side reply data to the sub-control device 20 on the CAN, the sub-side received data is usually the main-side reply data. Match the data. In step ST02 of FIG. 2A, the sub-control device 20 confirms whether or not the sub-side received data is valid. Specifically, the sub-control device 20 determines whether or not the numerical value of the sub-side received data (= the main-side reply data) matches the calculated value on the main side in step 13 in FIG. In order to confirm, the same calculation as the predetermined calculation on the main side is executed (see step ST02 in FIG. 2A).

図2(A)のステップST02において、より具体的には、サブ制御装置20は、サブ制御部22(具体的にはRAM)に記憶されたサブ側の演算値(ステップST03の実行結果である所定のデータの所定の数値)を読み出し、その演算値(所定のデータの所定の数値)と任意に設定されるメイン側の例えば固定の数値とを加算する。或いは、サブ制御装置20は、サブ側のCAN通信モジュール(具体的には送信バッファ)に記憶されたサブ側の送信データの数値を読み出し、その数値(所定のデータの所定の数値)と任意に設定されるメイン側の例えば固定の数値とを加算する。   More specifically, in step ST02 of FIG. 2A, the sub-control device 20 is a sub-side calculated value (execution result of step ST03) stored in the sub-control unit 22 (specifically, RAM). (Predetermined numerical value of predetermined data) is read out, and the calculated value (predetermined numerical value of the predetermined data) is added to the arbitrarily set main numerical value, for example. Alternatively, the sub-control device 20 reads the numerical value of the sub-side transmission data stored in the sub-side CAN communication module (specifically, the transmission buffer), and arbitrarily specifies the numerical value (predetermined numerical value of the predetermined data). For example, a fixed numerical value on the main side to be set is added.

ステップST02では、サブ制御装置20は、サブ側の受信データ(=メイン側の返信データ)の数値が加算値と一致しているか否かを確認することができる。なお、メイン側の例えば固定の数値は、サブ制御装置20及びメイン制御装置10間で同一の数値が用いられ、その数値は、サブ制御装置20及びメイン制御装置10の各々に予め設定されている。ステップST04でサブ側のCAN通信モジュールが送信データ(所定のデータ)を実際に送信できた時には、サブ側の受信データ(=メイン側の返信データ)の数値が加算値と一致するので、サブ制御装置20は、サブ側のCAN通信モジュールが正常であることを確認する。   In step ST02, the sub-control device 20 can confirm whether or not the numerical value of the sub-side received data (= main-side reply data) matches the added value. For example, the same numerical value is used between the sub control device 20 and the main control device 10 as the fixed numerical value on the main side, and the numerical value is preset in each of the sub control device 20 and the main control device 10. . When the sub-CAN communication module can actually transmit the transmission data (predetermined data) in step ST04, the numerical value of the sub-side reception data (= main-side reply data) matches the added value. The apparatus 20 confirms that the sub-side CAN communication module is normal.

他方、ステップST04でサブ側のCAN通信モジュールが送信データ(所定のデータ)を実際に送信できなかった時には、サブ側の受信データ(=メイン側の返信データ)の数値が加算値と一致しないので、サブ制御装置20は、サブ側のCAN通信モジュールが正常であることを確認しない。言い換えれば、サブ側の受信データ(=メイン側の返信データ)の数値が加算値と一致しない時に、サブ制御装置20は、サブ側のCAN通信モジュールでの送信が実際には実行されていないことを推定し、サブ側のCAN通信モジュールの異常を判定することができる(図2(A)のステップST05参照)。   On the other hand, when the sub-CAN communication module cannot actually transmit the transmission data (predetermined data) in step ST04, the numerical value of the sub-side reception data (= main-side reply data) does not match the added value. The sub-control device 20 does not confirm that the sub-side CAN communication module is normal. In other words, when the numerical value of the reception data on the sub side (= the reply data on the main side) does not match the added value, the sub control device 20 does not actually execute transmission in the CAN communication module on the sub side. And the abnormality of the sub-CAN communication module can be determined (see step ST05 in FIG. 2A).

以下に、サブ側の送信データ(所定のデータ)とメイン側の返信データとの関係について、具体的に説明する。サブ側の受信データが例えば「0」(=初期値)を表し、サブ側の固定値が例えば「2」である時に、ステップST03で所定のデータは、例えば「2」(=「0」+「2」)を表す。従って、例えば「2」を表すサブ側の送信データが実際にサブ側のCAN通信モジュールからメイン側のCAN通信モジュールに伝わる時に、ステップST12でのメイン側の受信データは、例えば「2」を表す。メイン側の受信データが「2」を表し、メイン側の固定値が例えば「3」である時に、ステップST13でメイン側の返信データは、例えば「5」(=「2」+「3」)を表す。従って、例えば「3」を表すメイン側の返信データ(送信データ)が実際にメイン側のCAN通信モジュールからサブ側のCAN通信モジュールに伝わる時に、ステップST02でのサブ側の受信データ(メイン側の送信データ)は、例えば「5」を表す。同時に、ステップST02において、ステップST04で送信された送信データの数値(「2」)とメイン側の固定値(「3」)との加算値(「5」)が演算されて、この加算値とサブ側の受信データ(メイン側の送信データ)の数値とが比較される。ステップST04でサブ側のCAN通信モジュールが送信データを実際に送信できた時には、サブ側の受信データ(=メイン側の返信データ)の数値が加算値と一致するので、サブ制御装置20は、サブ側のCAN通信モジュールが正常であることを確認する。なお、次のステップST03で次の所定のデータは、例えば「7」(=「5」+「2」)を表す。このように、サブ側のCAN通信モジュールが正常である時に、送信データを構成する所定のデータは、可変データ(所定の間隔で変更される送信データ)である。   The relationship between the sub-side transmission data (predetermined data) and the main-side reply data will be specifically described below. When the received data on the sub side represents, for example, “0” (= initial value) and the fixed value on the sub side is, for example, “2”, the predetermined data in step ST03 is, for example, “2” (= “0” + “2”). Therefore, for example, when the sub-side transmission data representing “2” is actually transmitted from the sub-side CAN communication module to the main-side CAN communication module, the main-side reception data in step ST12 represents, for example, “2”. . When the reception data on the main side represents “2” and the fixed value on the main side is, for example, “3”, the return data on the main side is, for example, “5” (= “2” + “3”) in step ST13. Represents. Therefore, for example, when the reply data (transmission data) on the main side representing “3” is actually transmitted from the CAN communication module on the main side to the CAN communication module on the sub side, the reception data (main side data on the main side) in step ST02 is transmitted. For example, “transmission data” represents “5”. At the same time, in step ST02, an addition value ("5") between the numerical value ("2") of the transmission data transmitted in step ST04 and the fixed value ("3") on the main side is calculated, and this addition value and The sub-side received data (main-side transmission data) is compared with the numerical value. When the sub-side CAN communication module can actually transmit the transmission data in step ST04, the sub-control device 20 determines that the sub-side received data (= main-side reply data) matches the added value. Confirm that the CAN communication module on the side is normal. In the next step ST03, the next predetermined data represents, for example, “7” (= “5” + “2”). In this way, when the sub-side CAN communication module is normal, the predetermined data constituting the transmission data is variable data (transmission data changed at a predetermined interval).

ところで、例えば「7」を表すサブ側の次の送信データが実際にサブ側のCAN通信モジュールからメイン側のCAN通信モジュールに伝わない時に、次のステップST12でのメイン側の次の受信データは、前の受信データであり続け、例えば「2」を表す。従って、次のステップST13でメイン側の次の返信データは、例えば「5」(=「2」+「3」)を表し続ける。次のステップST02において、ステップST02でのサブ側の次の受信データ(メイン側の次の送信データ)は、例えば「5」を表し続ける。同時に、次のステップST02において、ステップST04で送信されなかった送信データの数値(「7」)とメイン側の固定値(「3」)との次の加算値(「10」)が演算されて、この次の加算値とサブ側の次の受信データ(メイン側の次の送信データ)の数値とが比較される。ステップST04でサブ側のCAN通信モジュールが送信データを実際に送信できなかった時には、サブ側の受信データ(=メイン側の返信データ)の数値が加算値と一致しないので、サブ制御装置20は、サブ側のCAN通信モジュールが正常であることを確認しない。即ち、サブ制御装置20は、サブ側のCAN通信モジュールでの送信が実際には実行されていないことを推定し、サブ側のCAN通信モジュールの異常を判定することができる(ステップST05参照)。   By the way, for example, when the next transmission data on the sub side representing “7” is not actually transmitted from the sub CAN communication module to the main CAN communication module, the next reception data on the main side in the next step ST12 is , Continues to be the previous received data and represents, for example, “2”. Accordingly, in the next step ST13, the next reply data on the main side continues to represent, for example, “5” (= “2” + “3”). In the next step ST02, the next reception data on the sub side in step ST02 (the next transmission data on the main side) continues to represent “5”, for example. At the same time, in the next step ST02, the next added value (“10”) of the numerical value (“7”) of the transmission data not transmitted in step ST04 and the fixed value on the main side (“3”) is calculated. The next addition value is compared with the numerical value of the next reception data on the sub side (next transmission data on the main side). When the sub CAN communication module cannot actually transmit the transmission data in step ST04, the numerical value of the reception data on the sub side (= the return data on the main side) does not match the added value. The sub-side CAN communication module is not confirmed to be normal. That is, the sub-control device 20 can estimate that transmission by the sub-CAN communication module is not actually executed, and can determine the abnormality of the sub-CAN communication module (see step ST05).

図2(B)のステップST11において、メイン制御装置10は、ステップST14で送信データ(返信データ)を送信した後に、一定時間が経過したか否かを判定することができる。ここで、一定時間は、メイン制御装置10での送信データ(返信データ)の送信からメイン制御装置10での受信データ(送信データ)の受信までに要する通常の時間に基づき、例えば、一定時間は、通常の時間に最大の許容時間を追加することによって設定される。   In step ST11 of FIG. 2B, the main control device 10 can determine whether or not a certain time has elapsed after transmitting the transmission data (reply data) in step ST14. Here, the fixed time is based on a normal time required from transmission of transmission data (reply data) at the main control device 10 to reception of reception data (transmission data) at the main control device 10, for example, the fixed time is Set by adding the maximum allowable time to the normal time.

一定時間が経過した後に、メイン制御装置10は、メイン側のCAN通信モジュール(具体的には受信バッファ)に受信されているメイン側の受信データを読み出することができる。なお、サブ制御装置20は、サブ側のCAN通信モジュールを使用して、CAN上のメイン制御装置10にサブ側の送信データを送信するので、メイン側の受信データは、通常、サブ側の送信データと一致する。図2(B)のステップST12において、メイン制御装置10は、メイン側の受信データが正当であるか否かが確認される。具体的には、メイン制御装置10は、メイン側の受信データ(=サブ側の送信データ)の数値が図2(A)のステップ03でのサブ側の演算値と一致しているか否かを確認するために、サブ側の所定の演算と同一の演算を実行する(図2(B)のステップST12参照)。   After a predetermined time has elapsed, the main control apparatus 10 can read the main-side received data received by the main-side CAN communication module (specifically, the reception buffer). The sub-control device 20 uses the sub-side CAN communication module to transmit the sub-side transmission data to the main control device 10 on the CAN. Therefore, the main-side reception data is normally transmitted from the sub-side transmission data. Match the data. In step ST12 of FIG. 2B, the main controller 10 confirms whether or not the main-side received data is valid. Specifically, the main control device 10 determines whether or not the numerical value of the main-side received data (= sub-side transmission data) matches the sub-side calculation value in step 03 of FIG. In order to confirm, the same calculation as the predetermined calculation on the sub side is executed (see step ST12 in FIG. 2B).

図2(B)のステップST12において、より具体的には、メイン制御装置10は、メイン制御部12(具体的にはRAM)に記憶されたメイン側の演算値(ステップST13の実行結果である返信データの数値)を読み出し、その演算値(返信データの数値)と任意に設定されるサブ側の例えば固定の数値とを加算する。或いは、メイン制御装置10は、メイン側のCAN通信モジュール(具体的には送信バッファ)に記憶されたメイン側の送信データの数値を読み出し、その数値(返信データの数値)と任意に設定されるサブ側の例えば固定の数値とを加算する。   More specifically, in step ST12 of FIG. 2B, the main control device 10 is the main-side calculated value (the execution result of step ST13) stored in the main control unit 12 (specifically, RAM). The numerical value of the reply data) is read out, and the calculated value (the numerical value of the reply data) is added to, for example, a fixed numerical value on the sub side that is arbitrarily set. Alternatively, the main control apparatus 10 reads the numerical value of the main-side transmission data stored in the main-side CAN communication module (specifically, the transmission buffer) and arbitrarily sets the numerical value (the numerical value of the reply data). For example, a fixed numerical value on the sub side is added.

ステップST12では、メイン制御装置10は、メイン側の受信データ(=サブ側の送信データ)の数値が加算値と一致しているか否かを確認することができる。なお、サブ側の例えば固定の数値は、メイン制御装置10及びサブ制御装置20間で同一の数値が用いられ、その数値は、メイン制御装置10及びサブ制御装置20の各々に予め設定されている。ステップST14でメイン側のCAN通信モジュールが送信データ(返信データ)を実際に送信できた時には、メイン側の受信データ(=サブ側の送信データ)の数値が加算値と一致するので、サブ制御装置20は、サブ側のCAN通信モジュールが正常であることを確認する。   In step ST12, the main controller 10 can confirm whether or not the numerical value of the main-side received data (= sub-side transmission data) matches the added value. For example, the same numerical value is used between the main control device 10 and the sub control device 20 as a fixed numerical value on the sub side, and the numerical value is preset in each of the main control device 10 and the sub control device 20. . When the main-side CAN communication module can actually transmit the transmission data (reply data) in step ST14, the value of the main-side reception data (= sub-side transmission data) matches the added value. 20 confirms that the CAN communication module on the sub-side is normal.

他方、ステップST14でメイン側のCAN通信モジュールが送信データ(返信データ)を実際に送信できなかった時には、メイン側の受信データ(=サブ側の送信データ)の数値が加算値と一致しないので、メイン制御装置10は、メイン側のCAN通信モジュールが正常であることを確認しない。言い換えれば、メイン側の受信データ(=サブ側の送信データ)の数値が加算値と一致しない時に、メイン制御装置10は、メイン側のCAN通信モジュールでの送信が実際には実行されていないことを推定し、メイン側のCAN通信モジュールの異常を判定することができる(図2(B)のステップST15参照)。   On the other hand, when the main-side CAN communication module cannot actually transmit the transmission data (reply data) in step ST14, the numerical value of the main-side reception data (= sub-side transmission data) does not match the added value. The main controller 10 does not confirm that the main CAN communication module is normal. In other words, when the numerical value of the reception data on the main side (= sub transmission data) does not match the added value, the main control device 10 does not actually execute transmission in the main CAN communication module. And the abnormality of the CAN communication module on the main side can be determined (see step ST15 in FIG. 2B).

以下に、メイン側の送信データ(返信データ)とサブ側の次の送信データとの関係について、具体的に説明する。例えば「5」を表すメイン側の送信データが実際にメイン側のCAN通信モジュールからサブ側のCAN通信モジュールに伝わる時に、ステップST02でのサブ側の受信データは、例えば「5」を表す。サブ側の受信データが「5」を表し、サブ側の固定値が例えば「2」である時に、ステップST03でサブ側の次の送信データは、例えば「7」(=「5」+「2」)を表す。従って、例えば「7」を表すサブ側の次の所定のデータ(次の送信データ)が実際にサブ側のCAN通信モジュールからメイン側のCAN通信モジュールに伝わる時に、ステップST12でのメイン側の受信データ(メイン側の受信データ)は、例えば「7」を表す。同時に、ステップST12において、ステップST14で送信された送信データの数値(「5」)とサブ側の固定値(「2」)との加算値(「7」)が演算されて、この加算値とメイン側の受信データ(サブ側の次の送信データ)の数値とが比較される。ステップST14でメイン側のCAN通信モジュールが送信データを実際に送信できた時には、メイン側の受信データ(=サブ側の次の送信データ)の数値が加算値と一致するので、メイン制御装置10は、メイン側のCAN通信モジュールが正常であることを確認する。なお、次のステップST13で次の返信のデータは、例えば「10」(=「7」+「3」)を表す。このように、メイン側のCAN通信モジュールが正常である時に、返信データは、可変データである。   The relationship between the transmission data (reply data) on the main side and the next transmission data on the sub side will be specifically described below. For example, when the transmission data on the main side representing “5” is actually transmitted from the CAN communication module on the main side to the CAN communication module on the sub side, the reception data on the sub side in step ST02 represents, for example, “5”. When the reception data on the sub side represents “5” and the fixed value on the sub side is “2”, for example, the next transmission data on the sub side is “7” (= “5” + “2” in step ST03). ]). Therefore, for example, when the next predetermined data (next transmission data) on the sub-side representing “7” is actually transmitted from the sub-CAN communication module to the main-side CAN communication module, reception on the main side in step ST12. The data (main-side received data) represents “7”, for example. At the same time, in step ST12, an addition value (“7”) between the numerical value (“5”) of the transmission data transmitted in step ST14 and the fixed value (“2”) on the sub side is calculated, The value of the reception data on the main side (next transmission data on the sub side) is compared. When the main-side CAN communication module can actually transmit the transmission data in step ST14, the value of the main-side reception data (= sub transmission-side next transmission data) matches the added value. Confirm that the CAN communication module on the main side is normal. In the next step ST13, the next reply data represents, for example, “10” (= “7” + “3”). Thus, when the main-side CAN communication module is normal, the return data is variable data.

ステップST14でメイン側のCAN通信モジュールが送信データを実際に送信できなかった時には、メイン側の受信データ(=サブ側の次の送信データ)の数値が加算値と一致しないので、メイン制御装置10は、メイン側のCAN通信モジュールが正常であることを確認しない。即ち、メイン制御装置10は、メイン側のCAN通信モジュールでの送信が実際には実行されていないことを推定し、メイン側のCAN通信モジュールの異常を判定することができる(ステップST15参照)。   When the main-side CAN communication module cannot actually transmit the transmission data in step ST14, the value of the main-side reception data (= sub transmission-side next transmission data) does not match the added value. Does not confirm that the CAN communication module on the main side is normal. That is, the main control device 10 can estimate that transmission by the main CAN communication module is not actually executed, and can determine an abnormality of the main CAN communication module (see step ST15).

なお、メイン制御装置10は、図2(B)のステップST12(及びステップST15)を常に省略してもよく、従って、例えば、サブ制御装置20だけがサブ側のCAN通信モジュールが正常であるか否かを確認してもよい。また、サブ制御装置20は、図2(A)のステップST05を常に省略してもよく、従って、例えば、サブ制御装置20はサブ側のCAN通信モジュールの異常をメイン制御装置10に伝えなくてもよい、言い換えれば、サブ制御装置20だけがサブ側のCAN通信モジュールの異常を認識してもよい。さらに、ステップST03及び/又はステップST13において所定の演算の実行は、省略されてもよく、従って、例えば、所定データ及び/返信データは、固定データであってもよく、この場合に、例えば、受信バッファが初期化されてステップST12及び/又はステップST02において受信データが正当(所定データ及び/返信データ)であるか否かが確認されてもよい。加えて、例えば、メイン制御装置10によってメイン側のCAN通信モジュールの故障が判定される時に、ステップST04及びステップST14は、1回だけ実行されてもよく、この場合に、サブ側のCANモジュールで車載ネットワーク上のECUに制御データを送信する前に、サブ制御装置20は、サブ側のCANモジュールの正常を確認し、且つメイン側のCAN通信モジュールの故障を判定してもよい。   Note that the main control device 10 may always omit step ST12 (and step ST15) in FIG. 2B. Therefore, for example, whether only the sub-control device 20 has a normal CAN communication module on the sub-side. You may confirm whether or not. Further, the sub-control device 20 may always omit step ST05 in FIG. 2A. Therefore, for example, the sub-control device 20 does not have to notify the main control device 10 of an abnormality in the sub-CAN communication module. In other words, only the sub control device 20 may recognize the abnormality of the CAN communication module on the sub side. Furthermore, the execution of the predetermined calculation in step ST03 and / or step ST13 may be omitted. Therefore, for example, the predetermined data and / or the reply data may be fixed data. The buffer may be initialized, and it may be confirmed in step ST12 and / or step ST02 whether the received data is valid (predetermined data and / or reply data). In addition, for example, when the main control device 10 determines that the failure of the main-side CAN communication module, step ST04 and step ST14 may be executed only once. In this case, the sub-side CAN module Before transmitting the control data to the ECU on the in-vehicle network, the sub-control device 20 may confirm the normality of the sub-side CAN module and determine the failure of the main-side CAN communication module.

図3(A)は、サブ制御装置20に縮退データを送信させるためのCAN故障データを生成するメイン制御装置10の動作例を示すフローチャート図を示し、図3(B)は、縮退データを生成するサブ制御装置20の動作例を示すフローチャート図を示す。図1のメイン制御装置10がCAN上のECUを制御又は統括する時に、メイン制御装置10の役割は、大きい。1例として、メイン制御装置10が例えば複数のECUを制御しながら車両の自動走行を実現する時に、メイン側のCAN通信モジュールの故障に応じて、サブ制御装置20は、通常の自動走行から、例えば待避自動走行(自動走行停止を含む)等の例外又は緊急の自動走行に移行することができる。言い換えれば、メイン側のCAN通信モジュールが故障している時に、サブ制御装置20は、例えば複数のECUにそれらの動作を縮退させる縮退データを送信することができる。   FIG. 3A is a flowchart showing an example of the operation of the main control apparatus 10 that generates CAN failure data for causing the sub-control apparatus 20 to transmit degenerate data, and FIG. 3B generates degenerate data. The flowchart figure which shows the operation example of the sub-control apparatus 20 to perform is shown. When the main controller 10 in FIG. 1 controls or supervises the ECU on the CAN, the role of the main controller 10 is large. As an example, when the main control device 10 realizes automatic traveling of the vehicle while controlling a plurality of ECUs, for example, the sub-control device 20 starts from normal automatic traveling according to the failure of the CAN communication module on the main side. For example, it is possible to shift to an exception such as a evacuation automatic traveling (including an automatic traveling stop) or an emergency automatic traveling. In other words, when the main CAN communication module is out of order, the sub-control device 20 can transmit, for example, degenerate data that degenerates the operations of a plurality of ECUs.

図3(A)のステップST21において、メイン制御装置10のメイン制御部12は、第1のメイン通信モジュール14に対応するメイン側の例えばCAN通信モジュールが故障しているか否かを判定する。メイン制御部12は、例えばCANコントローラを含み、CAN通信モジュールは、例えばCANトランシーバであり、CANコントローラは、CANトランシーバの故障を検出又は診断することができる。メイン側のCAN通信モジュールが故障していない時に、メイン制御部12は、例えば通常の自動走行に必要な制御出力値をリアルタイムに計算し、その制御出力値に基づき例えばアクチュエータを制御するECUに制御出力値を含む送信データをメイン側のCAN通信モジュールから送信する(ステップST22及びST23参照)。これにより、例えば車両の通常の自動走行が実現される。   In step ST21 in FIG. 3A, the main control unit 12 of the main control device 10 determines whether or not the main communication module corresponding to the first main communication module 14, for example, is out of order. The main control unit 12 includes, for example, a CAN controller, the CAN communication module is, for example, a CAN transceiver, and the CAN controller can detect or diagnose a failure of the CAN transceiver. When the main-side CAN communication module has not failed, the main control unit 12 calculates, for example, a control output value necessary for normal automatic traveling in real time, and controls, for example, an ECU that controls the actuator based on the control output value. Transmission data including the output value is transmitted from the CAN communication module on the main side (see steps ST22 and ST23). Thereby, for example, normal automatic traveling of the vehicle is realized.

メイン側のCAN通信モジュールが故障している時に、メイン制御部12は、サブ側のCAN通信モジュールが故障しているか否かを判定することができる(ステップST24参照)。図3(B)のステップST30において、サブ制御装置20のサブ制御部22は、第1のサブ通信モジュール24に対応するサブ側の例えばCAN通信モジュールが故障しているか否かを判定し、CAN通信モジュールの故障を例えばSPI通信でメイン制御部12に伝えることができる(ステップST36参照)。   When the main-side CAN communication module is out of order, the main control unit 12 can determine whether or not the sub-side CAN communication module is out of order (see step ST24). In step ST30 of FIG. 3B, the sub control unit 22 of the sub control device 20 determines whether, for example, the CAN communication module on the sub side corresponding to the first sub communication module 24 has failed, and CAN The failure of the communication module can be transmitted to the main control unit 12 by, for example, SPI communication (see step ST36).

メイン側のCAN通信モジュールが故障している時に、メイン制御部12は、サブ側のCAN通信モジュールが異常であるか否かを判定することができる(ステップST24参照)。図2(A)のステップST02及びST05において、サブ制御部22は、サブ側のCAN通信モジュールが正常であるか否かを確認することができ、CAN通信モジュールの異常を例えばSPI通信でメイン制御部12に伝えることができる。   When the main CAN communication module fails, the main control unit 12 can determine whether or not the sub CAN communication module is abnormal (see step ST24). In steps ST02 and ST05 in FIG. 2A, the sub-control unit 22 can confirm whether or not the sub-side CAN communication module is normal, and can control the abnormality of the CAN communication module by, for example, SPI communication. Can be communicated to part 12.

なお、図3(A)のステップST24において、メイン制御部12は、サブ側のCAN通信モジュールの故障又は異常の何れかを受信しているか否かを判定しているが、サブ側のCAN通信モジュールの異常だけを受信しているか否かを判定してもよい。或いは、メイン制御部12は、サブ側のCAN通信モジュールの故障だけを受信しているか否かを判定してもよい。   In step ST24 of FIG. 3A, the main control unit 12 determines whether a failure or abnormality of the sub-side CAN communication module has been received, but the sub-side CAN communication is not performed. It may be determined whether only the module abnormality is received. Alternatively, the main control unit 12 may determine whether only the failure of the sub-CAN communication module is received.

図3(A)のステップST24において、メイン側のCAN通信モジュールが故障し、サブ側のCAN通信モジュールも故障している時に、メイン制御部12は、ステップST25を実行しない。同様に、メイン側のCAN通信モジュールが故障し、サブ側のCAN通信モジュールが異常である時に、メイン制御部12は、ステップST25を実行しない。メイン側のCAN通信モジュールが故障しているが、サブ側のCAN通信モジュールが故障しないで、正常であることがメイン制御部12によって確認される時に、メイン制御部12は、ステップST25を実行する。   In step ST24 of FIG. 3A, when the main CAN communication module fails and the sub CAN communication module also fails, the main control unit 12 does not execute step ST25. Similarly, when the main-side CAN communication module fails and the sub-side CAN communication module is abnormal, the main control unit 12 does not execute step ST25. The main control unit 12 executes step ST25 when the main control unit 12 confirms that the main CAN communication module has failed but the sub CAN communication module has not failed and is normal. .

図3(A)のステップST25において、サブ制御装置20に縮退データを送信させるために、メイン制御部12は、メイン側のCAN通信モジュールの故障を表す故障データ(縮退動作指示)を例えばSPI通信でサブ制御部22に伝えることができる(図3(B)のステップST35、ST33及びST34参照)。   In step ST25 of FIG. 3A, in order to cause the sub-control device 20 to transmit the degeneration data, the main control unit 12 transmits failure data (degeneration operation instruction) indicating a failure of the CAN communication module on the main side, for example, by SPI communication. Can be transmitted to the sub-control unit 22 (see steps ST35, ST33, and ST34 in FIG. 3B).

サブ側のCAN通信モジュールが故障していない時に、サブ制御部22は、メイン制御装置10とサブ制御装置20との間のSPI通信が有効であるか否かを判定することができる(図3(B)のステップST30及びST31参照)。例えばメイン制御部12から出力されるクロック信号がサブ制御部22によって受信されない時に、サブ制御部22は、SPI通信が有効でないこと、即ちメイン側のSPI通信モジュールからのデータが断絶していることを判定することができる。   When the sub-side CAN communication module has not failed, the sub-control unit 22 can determine whether the SPI communication between the main control device 10 and the sub-control device 20 is valid (FIG. 3). (See steps ST30 and ST31 of (B)). For example, when the clock signal output from the main control unit 12 is not received by the sub control unit 22, the sub control unit 22 indicates that the SPI communication is not valid, that is, the data from the SPI communication module on the main side is disconnected. Can be determined.

なお、図3(A)のステップST21でメイン側のCAN通信モジュールが故障していない時に、メイン制御部12は、SPI通信でメイン側のCAN通信モジュールの非故障をサブ制御部22に伝えてもよく、言い換えれば、メイン制御部12は、常に、SPI通信でメイン側のCAN通信モジュールの非故障又は故障の何れか一方をサブ制御部22に伝えてもよい。従って、メイン制御部12から出力されるクロック信号がサブ制御部22によって受信される状況であっても、サブ制御部22(サブ側のSPI通信モジュール)によって受信されるデータ信号がメイン側のCAN通信モジュールの非故障又は故障の何れか一方を表さない時に、サブ制御部22は、ステップST31でSPI通信が有効でないこと、即ちメイン側のSPI通信モジュールからのデータが断絶していることを判定することができる。   When the main CAN communication module has not failed in step ST21 in FIG. 3A, the main control unit 12 informs the sub control unit 22 that the main CAN communication module has not failed through SPI communication. In other words, the main control unit 12 may always notify the sub-control unit 22 of either non-failure or failure of the main CAN communication module by SPI communication. Therefore, even when the clock signal output from the main control unit 12 is received by the sub-control unit 22, the data signal received by the sub-control unit 22 (sub-side SPI communication module) is the main-side CAN. When the communication module does not indicate any failure or failure, the sub-control unit 22 confirms that the SPI communication is not valid in step ST31, that is, the data from the main SPI communication module is disconnected. Can be determined.

メイン制御装置10とサブ制御装置20との間のSPI通信が有効でない時に、サブ制御部22は、メイン側のCAN通信モジュールが正常であるか否かを判定することができる(図3(B)のステップST32参照)。例えば図2(A)のステップST02において、サブ制御部22は、メイン側のCAN通信モジュールからの送信データ又は返信データを受信する時に、メイン側のCAN通信モジュールが正常であること、即ちメイン側のCAN通信モジュールからのデータが断絶していないことを判定することができる。   When the SPI communication between the main controller 10 and the sub controller 20 is not valid, the sub controller 22 can determine whether or not the main CAN communication module is normal (FIG. 3B (See step ST32). For example, in step ST02 of FIG. 2A, when the sub control unit 22 receives transmission data or reply data from the main CAN communication module, the main CAN communication module is normal. It can be determined that the data from the CAN communication module is not disconnected.

なお、図2(B)のステップST12でメイン側のCAN通信モジュールが正常であることが確認される時に、メイン制御部12は、SPI通信でメイン側のCAN通信モジュールの異常をサブ制御部22に伝えない。従って、サブ制御部22(サブ側のSPI通信モジュール)によって受信されるデータ信号がメイン側のCAN通信モジュールの異常を表さない時に、サブ制御部22は、メイン側のCAN通信モジュールが正常であること、即ちメイン側のCAN通信モジュールからのデータが断絶していないことを判定することができる。   When it is confirmed in step ST12 of FIG. 2B that the main-side CAN communication module is normal, the main control unit 12 detects an abnormality in the main-side CAN communication module through the SPI communication. Do not tell to. Therefore, when the data signal received by the sub-control unit 22 (sub-side SPI communication module) does not indicate an abnormality of the main-side CAN communication module, the sub-control unit 22 indicates that the main-side CAN communication module is normal. That is, it can be determined that data from the CAN communication module on the main side is not disconnected.

図3(B)のステップST32において、好ましくは、上述のように、メイン制御装置10とサブ制御装置20との間のCAN通信を用いて、サブ制御部22は、メイン側のCAN通信モジュールの正常を確認することができる。しかしながら、サブ制御部22は、メイン制御装置10とCAN上のECUとの間のCAN通信を用いて、言い換えれば、メイン側のCAN通信モジュールがECU宛の送信データを送信していることを確認して、メイン側のCAN通信モジュールが正常であること、即ちメイン側のCAN通信モジュールからのデータが断絶していないことを判定してもよい。   In step ST32 of FIG. 3B, preferably, as described above, the sub control unit 22 uses the CAN communication between the main control device 10 and the sub control device 20, and the sub control unit 22 Normality can be confirmed. However, the sub-control unit 22 uses CAN communication between the main control device 10 and the ECU on the CAN, in other words, confirms that the main CAN communication module is transmitting transmission data addressed to the ECU. Then, it may be determined that the main CAN communication module is normal, that is, data from the main CAN communication module is not disconnected.

メイン制御装置10とサブ制御装置20との間のSPI通信が有効でないが、メイン側のCAN通信モジュールが正常である時に、サブ制御部22は、SPI通信線の断線を推定することができる。従って、サブ制御部22は、図3(B)のステップST33及びST34を実行しない。   Although the SPI communication between the main control device 10 and the sub control device 20 is not valid, the sub control unit 22 can estimate the disconnection of the SPI communication line when the main CAN communication module is normal. Therefore, the sub-control unit 22 does not execute steps ST33 and ST34 of FIG.

他方、メイン制御装置10とサブ制御装置20との間のSPI通信が有効でなく、メイン側のCAN通信モジュールが正常でない時に、サブ制御部22は、メイン制御部12の故障を推定することができる。従って、サブ制御部22は、図3(B)のステップST33及びST34を実行する。特に、メイン制御部12又はメインCPUが故障している時に、言い換えれば、メイン制御装置10が完全に故障している時に、メイン制御部12は、縮退動作指示をサブ制御部22に与えることができない。このような状況において、メイン制御部12の故障がサブ制御部22によって推定され得る。   On the other hand, when the SPI communication between the main control device 10 and the sub control device 20 is not effective and the CAN communication module on the main side is not normal, the sub control unit 22 may estimate the failure of the main control unit 12. it can. Accordingly, the sub-control unit 22 executes steps ST33 and ST34 in FIG. In particular, when the main control unit 12 or the main CPU has failed, in other words, when the main control device 10 has completely failed, the main control unit 12 can give a degenerate operation instruction to the sub-control unit 22. Can not. In such a situation, a failure of the main control unit 12 can be estimated by the sub control unit 22.

メイン制御部12の故障を推定する時に、サブ制御部22は、例えば例外又は緊急の自動走行に必要な縮退動作用制御出力値をリアルタイムに計算し、その縮退動作用制御出力を含む送信データ(縮退データ)をサブ側のCAN通信モジュールから送信する(ステップST33及びST34参照)。これにより、例えば車両の例外又は緊急の自動走行が実現される。   When estimating a failure of the main control unit 12, the sub-control unit 22 calculates, in real time, a degeneration operation control output value necessary for, for example, exceptional or emergency automatic traveling, and includes transmission data ( (Degenerate data) is transmitted from the sub CAN communication module (see steps ST33 and ST34). Thereby, for example, an exception of the vehicle or an emergency automatic traveling is realized.

メイン制御装置10とサブ制御装置20との間のSPI通信が有効である時に、サブ制御部22は、メイン側のCAN通信モジュールが故障しているか否かを判定することができる(ステップST35参照)。また、メイン制御装置10とサブ制御装置20との間のSPI通信が有効である時に、サブ制御部22は、メイン側のCAN通信モジュールが異常である否かを判定することができる(ステップST35参照)。なお、ステップST35において、サブ制御部22は、メイン側のCAN通信モジュールの故障又は異常の何れかを受信しているか否かを判定しているが、メイン側のCAN通信モジュールの故障だけを受信しているか否かを判定してもよい。或いは、サブ制御部22は、メイン側のCAN通信モジュールの異常だけを受信しているか否かを判定してもよい。   When the SPI communication between the main control device 10 and the sub control device 20 is valid, the sub control unit 22 can determine whether or not the main CAN communication module has failed (see step ST35). ). In addition, when the SPI communication between the main control device 10 and the sub control device 20 is valid, the sub control unit 22 can determine whether or not the main CAN communication module is abnormal (step ST35). reference). In step ST35, the sub-control unit 22 determines whether a failure or abnormality has occurred in the main-side CAN communication module, but only a failure in the main-side CAN communication module has been received. It may be determined whether or not. Alternatively, the sub-control unit 22 may determine whether only the abnormality of the main-side CAN communication module is received.

図3(B)のステップST35において、サブ制御部22は、メイン側のCAN通信モジュールの故障又は異常を表す故障データ又は異常データ(縮退動作指示)を例えばSPI通信で受信可能である。縮退動作指示を受信する時に、サブ制御部22は、例えば例外又は緊急の自動走行に必要な縮退動作用制御出力値をリアルタイムに計算し、その縮退動作用制御出力を含む送信データ(縮退データ)をサブ側のCAN通信モジュールから送信する(ステップST33及びST34参照)。これにより、例えば車両の例外又は緊急の自動走行が実現される。   In step ST35 of FIG. 3B, the sub-control unit 22 can receive failure data or abnormality data (degenerate operation instruction) indicating a failure or abnormality of the CAN communication module on the main side by, for example, SPI communication. When receiving the degeneration operation instruction, the sub-control unit 22 calculates, in real time, a degeneration operation control output value necessary for, for example, an exceptional or emergency automatic traveling, and includes transmission data (degeneration data) including the degeneration operation control output. Is transmitted from the CAN communication module on the sub side (see steps ST33 and ST34). Thereby, for example, an exception of the vehicle or an emergency automatic traveling is realized.

なお、メイン制御装置10は、図3(A)のステップST24を常に省略してもよく、従って、例えば、サブ制御装置20は、図2(A)のステップST02の実行結果がサブ側のCAN通信モジュールの正常を表すことを所定の間隔で確認してもよい。言い換えれば、図3(A)のステップST24が省略される時に、図3(B)のステップST30でサブ側のCAN通信モジュールの非故障が判定される毎に、サブ制御装置20は、図2(A)のステップST02でサブ側のCAN通信モジュールの正常(非異常)を確認し、その後に、図3(B)の例えばST31を実行してもよい。   Note that the main control device 10 may always omit step ST24 in FIG. 3A. Therefore, for example, the sub control device 20 determines that the execution result of step ST02 in FIG. It may be confirmed at predetermined intervals that the communication module is normal. In other words, when step ST24 in FIG. 3A is omitted, every time it is determined in step ST30 in FIG. 3B that the sub-side CAN communication module has not failed, the sub control device 20 In step ST02 of (A), normal (non-abnormal) of the CAN communication module on the sub-side may be confirmed, and thereafter, for example, ST31 of FIG. 3B may be executed.

本発明は、上述の例示的な実施形態に限定されず、また、当業者は、上述の例示的な実施形態を特許請求の範囲に含まれる範囲まで、容易に変更することができるであろう。   The present invention is not limited to the above-described exemplary embodiments, and those skilled in the art will be able to easily modify the above-described exemplary embodiments to the extent included in the claims. .

10・・・メイン制御装置、12・・・メイン制御部、14・・・第1のメイン通信モジュール(例えばCAN通信モジュール)、16・・・第2のメイン通信モジュール(例えばSPI通信モジュール)、20・・・サブ制御装置、22・・・サブ制御部、24・・・第1のサブ通信モジュール(例えばCAN通信モジュール)、26・・・第2のサブ通信モジュール(例えばSPI通信モジュール)。   DESCRIPTION OF SYMBOLS 10 ... Main control apparatus, 12 ... Main control part, 14 ... 1st main communication module (for example, CAN communication module), 16 ... 2nd main communication module (for example, SPI communication module), 20 ... sub-control device, 22 ... sub-control unit, 24 ... first sub-communication module (for example, CAN communication module), 26 ... second sub-communication module (for example, SPI communication module).

Claims (9)

車載ネットワークに接続されるメイン制御部及びサブ制御部を有する車両用制御装置であって、
前記車載ネットワーク上の通信を実行可能な第1のメイン通信モジュールと、
前記車載ネットワーク上の通信を実行可能な第1のサブ通信モジュールと、
前記車載ネットワークとは異なる経路上の通信を実行可能な第2のメイン通信モジュールと、
前記異なる経路上の通信を実行可能な第2のサブ通信モジュールと、
を備え、
前記第1のサブ通信モジュールは、所定のデータで構成される送信データを前記第1のメイン通信モジュールに送信し、
前記第1のメイン通信モジュールは、前記送信データに基づき構成される返信データを前記第1のサブ通信モジュールに送信し、
前記第1のサブ通信モジュールが前記返信データを受信する時に、前記サブ制御部は、前記返信データに基づき、前記第1のサブ通信モジュールが正常であるか否かを確認し、
前記第1のメイン通信モジュールが故障していることが前記メイン制御部によって判定される時に、前記第2のメイン通信モジュールは、故障データを前記第2のサブ通信モジュールに送信し、
前記第2のサブ通信モジュールが前記故障データを受信する時に、前記サブ制御部は、前記第1のメイン通信モジュールが故障していることを判定し、
前記車載ネットワークを介して前記第1のサブ通信モジュールが正常であることが確認された後に、前記異なる経路を介して前記第1のメイン通信モジュールが故障していることが判定される時に、前記車載ネットワーク上の車載装置への制御データの送信は、前記第1のメイン通信モジュールの代わりに前記第1のサブ通信モジュールによって実行されることを特徴とする車両用制御装置。
A vehicle control device having a main control unit and a sub control unit connected to an in-vehicle network,
A first main communication module capable of executing communication on the in-vehicle network;
A first sub communication module capable of executing communication on the in-vehicle network;
A second main communication module capable of executing communication on a route different from the in-vehicle network;
A second sub-communication module capable of executing communication on the different path;
With
The first sub communication module transmits transmission data including predetermined data to the first main communication module,
The first main communication module transmits reply data configured based on the transmission data to the first sub communication module;
When the first sub-communication module receives the reply data, the sub-control unit confirms whether the first sub-communication module is normal based on the reply data,
When the main control unit determines that the first main communication module has failed, the second main communication module transmits failure data to the second sub communication module;
When the second sub-communication module receives the failure data, the sub-control unit determines that the first main communication module has failed,
When it is determined that the first main communication module is out of order via the different path after it is confirmed that the first sub communication module is normal through the in-vehicle network, Transmission of control data to a vehicle-mounted device on a vehicle-mounted network is executed by the first sub-communication module instead of the first main communication module.
前記第2のメイン通信モジュールからのデータが断絶する時に、前記サブ制御部は、前記第1のメイン通信モジュールからのデータが断絶しているか否かを判定し、
前記第2のメイン通信モジュールからのデータが断絶し、且つ前記第1のメイン通信モジュールからのデータが断絶しない時に、前記車載ネットワーク上の前記車載装置への前記制御データの送信は、前記第1のメイン通信モジュールによって実行され続けることを特徴とする請求項1に記載の車両用制御装置。
When the data from the second main communication module is disconnected, the sub-control unit determines whether the data from the first main communication module is disconnected,
When the data from the second main communication module is disconnected and the data from the first main communication module is not disconnected, the transmission of the control data to the in-vehicle device on the in-vehicle network is the first The vehicle control device according to claim 1, wherein the vehicle control device is continuously executed by the main communication module.
前記第2のメイン通信モジュールからのデータが断絶し、且つ前記第1のメイン通信モジュールからのデータも断絶する時に、前記サブ制御部は、前記メイン制御部が故障していることを推定し、且つ前記車載ネットワーク上の前記車載装置への前記制御データの送信を前記第1のサブ通信モジュールによって実行することを特徴とする請求項2に記載の車両用制御装置。   When the data from the second main communication module is disconnected and the data from the first main communication module is also disconnected, the sub-control unit estimates that the main control unit has failed, The vehicle control device according to claim 2, wherein transmission of the control data to the in-vehicle device on the in-vehicle network is executed by the first sub-communication module. 前記第1のサブ通信モジュールから前記第1のメイン通信モジュールに送信される前記送信データを構成する前記所定のデータは、所定の間隔で前記サブ制御部での所定の演算を実行することによって生成される可変データであることを特徴とする請求項1乃至3の何れか1項に記載の車両用制御装置。   The predetermined data constituting the transmission data transmitted from the first sub-communication module to the first main communication module is generated by executing a predetermined calculation in the sub-control unit at predetermined intervals. The vehicle control device according to claim 1, wherein the data is variable data. 前記返信データが前記可変データに基づく時に、前記サブ制御部は、前記第1のサブ通信モジュールが正常であることを確認することを特徴とする請求項4に記載の車両用制御装置。   5. The vehicle control device according to claim 4, wherein when the return data is based on the variable data, the sub control unit confirms that the first sub communication module is normal. 前記返信データが前記可変データに基づかない時に、前記サブ制御部は、前記第1のサブ通信モジュールの異常を前記異なる経路を介して前記メイン制御部に送信し、
前記異なる経路を介して前記第1のサブ通信モジュールの前記異常が前記メイン制御部によって受信され、且つ前記第1のメイン通信モジュールが故障していることが前記メイン制御部によって判定される時に、前記第2のメイン通信モジュールは、前記第1のメイン通信モジュールの前記故障データを前記第2のサブ通信モジュールに送信せず、且つ前記車載ネットワーク上の前記車載装置への前記制御データの送信は、前記第1のメイン通信モジュール及び前記第1のサブ通信モジュールによって実行されないことを特徴とする請求項5に記載の車両用制御装置。
When the reply data is not based on the variable data, the sub control unit transmits an abnormality of the first sub communication module to the main control unit via the different path,
When the abnormality of the first sub-communication module is received by the main control unit via the different path, and the main control unit determines that the first main communication module has failed, The second main communication module does not transmit the failure data of the first main communication module to the second sub communication module, and transmission of the control data to the in-vehicle device on the in-vehicle network is The vehicle control device according to claim 5, wherein the vehicle control device is not executed by the first main communication module and the first sub communication module.
前記サブ制御部は、前記第1のサブ通信モジュールが故障しているか否かを判定し、
前記第1のサブ通信モジュールが故障していないことが前記サブ制御部によって判定された後に、前記サブ制御部は、前記返信データに基づき、前記第1のサブ通信モジュールが正常であるか否かを確認することを特徴とする請求項1乃至6に記載の車両用制御装置。
The sub-control unit determines whether the first sub-communication module is faulty;
After the sub control unit determines that the first sub communication module has not failed, the sub control unit determines whether the first sub communication module is normal based on the return data. The vehicle control device according to claim 1, wherein the vehicle control device is confirmed.
前記第1のサブ通信モジュールは、前記返信データに基づく次の所定のデータで構成される次の送信データを前記第1のメイン通信モジュールに送信し、
前記第1のメイン通信モジュールが前記送信データを受信する時に、前記メイン制御部は、前記送信データ及び返信データに基づき、前記第1のメイン通信モジュールが正常であるか否かを確認し、
前記第1のメイン通信モジュールが正常であることが確認されない時に、前記第2のメイン通信モジュールは、前記第1のメイン通信モジュールの異常を前記第2のサブ通信モジュールに送信することを特徴とする請求項1乃至7に記載の車両用制御装置。
The first sub-communication module transmits next transmission data composed of next predetermined data based on the reply data to the first main communication module,
When the first main communication module receives the transmission data, the main control unit confirms whether or not the first main communication module is normal based on the transmission data and the reply data.
When it is not confirmed that the first main communication module is normal, the second main communication module transmits an abnormality of the first main communication module to the second sub communication module. The vehicle control device according to claim 1.
前記車載ネットワーク上の前記車載装置への前記制御データの送信が、前記第1のメイン通信モジュールの代わりに前記第1のサブ通信モジュールによって実行される時に、前記制御データは、前記車載装置の動作を縮退させる縮退データであることを特徴とする請求項1乃至8に記載の車両用制御装置。   When transmission of the control data to the in-vehicle device on the in-vehicle network is executed by the first sub communication module instead of the first main communication module, the control data is an operation of the in-vehicle device. The vehicular control apparatus according to claim 1, wherein the vehicular control apparatus is degenerate data that degenerates the data.
JP2017055179A 2017-03-21 2017-03-21 Vehicle control device Expired - Fee Related JP6789159B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017055179A JP6789159B2 (en) 2017-03-21 2017-03-21 Vehicle control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017055179A JP6789159B2 (en) 2017-03-21 2017-03-21 Vehicle control device

Publications (2)

Publication Number Publication Date
JP2018158591A true JP2018158591A (en) 2018-10-11
JP6789159B2 JP6789159B2 (en) 2020-11-25

Family

ID=63796074

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017055179A Expired - Fee Related JP6789159B2 (en) 2017-03-21 2017-03-21 Vehicle control device

Country Status (1)

Country Link
JP (1) JP6789159B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019041171A (en) * 2017-08-23 2019-03-14 日立オートモティブシステムズ株式会社 Vehicle control device
JP2020097352A (en) * 2018-12-19 2020-06-25 日立オートモティブシステムズ株式会社 Electronic control device and on-vehicle system
JP2020133520A (en) * 2019-02-20 2020-08-31 株式会社デンソー Monitoring device and drive force control system
CN113291317A (en) * 2020-02-05 2021-08-24 本田技研工业株式会社 Vehicle control device and vehicle control method
CN113467298A (en) * 2021-06-28 2021-10-01 通号城市轨道交通技术有限公司 Tramcar vehicle-mounted controller and tramcar
JP2025017049A (en) * 2023-07-24 2025-02-05 トヨタ自動車株式会社 Self-driving kit
JP7810156B2 (en) 2023-07-24 2026-02-03 トヨタ自動車株式会社 Autonomous Driving Kit

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11312014A (en) * 1998-04-28 1999-11-09 Nec Home Electron Ltd Method for judging failure of controller and device therefor
JP2011039702A (en) * 2009-08-07 2011-02-24 Autonetworks Technologies Ltd Control system
JP2012160033A (en) * 2011-02-01 2012-08-23 Keihin Corp Electronic controller for moving object
US20140108896A1 (en) * 2011-06-07 2014-04-17 Daesung Electric Co., Ltd. Error detecting device and method of a dual controller system
JP2016502954A (en) * 2012-12-20 2016-02-01 コンティネンタル・テーベス・アクチエンゲゼルシヤフト・ウント・コンパニー・オッフェネ・ハンデルスゲゼルシヤフト Device for outputting measurement signals that display physical measurement values
JP2016055832A (en) * 2014-09-12 2016-04-21 日立オートモティブシステムズ株式会社 Control device of driving device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11312014A (en) * 1998-04-28 1999-11-09 Nec Home Electron Ltd Method for judging failure of controller and device therefor
JP2011039702A (en) * 2009-08-07 2011-02-24 Autonetworks Technologies Ltd Control system
JP2012160033A (en) * 2011-02-01 2012-08-23 Keihin Corp Electronic controller for moving object
US20140108896A1 (en) * 2011-06-07 2014-04-17 Daesung Electric Co., Ltd. Error detecting device and method of a dual controller system
JP2016502954A (en) * 2012-12-20 2016-02-01 コンティネンタル・テーベス・アクチエンゲゼルシヤフト・ウント・コンパニー・オッフェネ・ハンデルスゲゼルシヤフト Device for outputting measurement signals that display physical measurement values
JP2016055832A (en) * 2014-09-12 2016-04-21 日立オートモティブシステムズ株式会社 Control device of driving device

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019041171A (en) * 2017-08-23 2019-03-14 日立オートモティブシステムズ株式会社 Vehicle control device
JP7111606B2 (en) 2018-12-19 2022-08-02 日立Astemo株式会社 Electronic control unit and in-vehicle system
JP2020097352A (en) * 2018-12-19 2020-06-25 日立オートモティブシステムズ株式会社 Electronic control device and on-vehicle system
WO2020129523A1 (en) * 2018-12-19 2020-06-25 日立オートモティブシステムズ株式会社 Electronic control device and in-vehicle device
CN113195330A (en) * 2018-12-19 2021-07-30 日立安斯泰莫株式会社 Electronic control device and in-vehicle system
CN113195330B (en) * 2018-12-19 2024-10-18 日立安斯泰莫株式会社 Electronic control devices and vehicle systems
US11787425B2 (en) 2018-12-19 2023-10-17 Hitachi Astemo, Ltd. Electronic control device and in-vehicle device
JP2020133520A (en) * 2019-02-20 2020-08-31 株式会社デンソー Monitoring device and drive force control system
JP7135928B2 (en) 2019-02-20 2022-09-13 株式会社デンソー Monitoring device and driving force control system
US11220273B2 (en) 2020-02-05 2022-01-11 Honda Motor Co., Ltd. Vehicle control apparatus and vehicle control method
JP2021123241A (en) * 2020-02-05 2021-08-30 本田技研工業株式会社 Vehicle control device and vehicle control method
CN113291317A (en) * 2020-02-05 2021-08-24 本田技研工业株式会社 Vehicle control device and vehicle control method
CN113467298A (en) * 2021-06-28 2021-10-01 通号城市轨道交通技术有限公司 Tramcar vehicle-mounted controller and tramcar
JP2025017049A (en) * 2023-07-24 2025-02-05 トヨタ自動車株式会社 Self-driving kit
JP7810156B2 (en) 2023-07-24 2026-02-03 トヨタ自動車株式会社 Autonomous Driving Kit

Also Published As

Publication number Publication date
JP6789159B2 (en) 2020-11-25

Similar Documents

Publication Publication Date Title
JP2018158591A (en) Control device for vehicle
JP3965410B2 (en) Redundant vehicle control device
JP6802374B2 (en) Vehicle control device and vehicle control system
KR102488152B1 (en) Control architecture for vehicles
JP3857678B2 (en) Vehicle transmission system
JP4966888B2 (en) Double series vehicle control system
JP6732143B1 (en) Vehicle control device
CN113994273A (en) Apparatus and method for providing redundant communication within a vehicle architecture and corresponding control architecture
JP2014075105A (en) Control system
JP2018067312A (en) Method for processing data for automated vehicle
JP2006222649A (en) Gateway device with network monitoring function
JP2011213210A (en) Electronic control unit and control system
JP6901881B2 (en) Vehicle control device
JP2024009100A (en) control system
CN107002868A (en) Vehicle-mounted derailleur control device
US9003067B2 (en) Network and method for operating the network
KR102906016B1 (en) Steering control apparatus and method
JP2004318498A (en) Fail safe device
JP4566531B2 (en) Serial communication dual system controller
JP5949538B2 (en) Relay device, communication system, and communication method
CN109154928A (en) Multiplexed network that manages the loss of status frames
CN121341137A (en) Control method and device for redundant braking system, vehicle and storage medium
JP2025176422A (en) Distributed Control System
JP4258460B2 (en) Network system and fault diagnosis method for network system
CN116954129A (en) Engineering vehicle modularized control system, fault detection method and engineering vehicle

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200827

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200908

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200908

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20201006

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201102

R150 Certificate of patent or registration of utility model

Ref document number: 6789159

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees