JP2018020678A - Electronic control device - Google Patents

Electronic control device Download PDF

Info

Publication number
JP2018020678A
JP2018020678A JP2016153475A JP2016153475A JP2018020678A JP 2018020678 A JP2018020678 A JP 2018020678A JP 2016153475 A JP2016153475 A JP 2016153475A JP 2016153475 A JP2016153475 A JP 2016153475A JP 2018020678 A JP2018020678 A JP 2018020678A
Authority
JP
Japan
Prior art keywords
microcomputer
reception
microcomputers
controller
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016153475A
Other languages
Japanese (ja)
Other versions
JP6717104B2 (en
Inventor
文貴 溝下
Fumitaka Mizoshita
文貴 溝下
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2016153475A priority Critical patent/JP6717104B2/en
Priority to DE102017213401.1A priority patent/DE102017213401A1/en
Publication of JP2018020678A publication Critical patent/JP2018020678A/en
Application granted granted Critical
Publication of JP6717104B2 publication Critical patent/JP6717104B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C25/00Arrangements for preventing or correcting errors; Monitoring arrangements
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24182Redundancy
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25032CAN, canbus, controller area network bus

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an electronic control device including a plurality of control microcomputers connected to a plurality of CAN communication buses communicated for the same data, the electronic control device being able to detect malfunction in the control microcomputer efficiently.SOLUTION: The microcomputers 11, 21 of an ECU 101 comprises: CPU 12, 22 connected to a plurality of CAN communication buses 61, 62 communicated for the same data and configured to perform control calculation using the same data; transmission and reception CAN controllers 13, 23; and reception-only CAN controllers 14, 24. An AND gate 15 calculates a logic product of an own transmission signal transmitted by the transmission terminal Tx of the reception-only CAN controller 14, and other reception signal transmitted to the transmission and reception CAN controller 23 from a CAN transceiver 26 corresponding to the other microcomputer 21, and outputs it to the reception terminal Rx of the reception-only CAN controller 14. Based on data input to the reception-only CAN controller 14, the microcomputer 11 detects a malfunction in the microcomputer 21.SELECTED DRAWING: Figure 1

Description

本発明は、CAN通信バスを介して制御データを送受信可能な電子制御装置に関する。   The present invention relates to an electronic control device capable of transmitting and receiving control data via a CAN communication bus.

従来、CAN通信を行う電子制御装置において、CPU及びCANコントローラを有するマイコンを複数備えるものが知られている。例えば、特許文献1に開示された電子制御装置は、送受信用CANコントローラにより通常制御を行う主制御マイコンと、受信専用CANコントローラにより監視処理を行う副制御マイコンとを備える。監視処理にて制御データを正常に受信できた場合に副制御マイコンが出力するACKスロットは、副制御マイコンのCANコントローラ自身に入力され、主制御マイコンに入力されることがない。これにより、マイコンがデータを正常に受信できたことの確認応答が複数のマイコン同士の間で通信されることを防止する。   2. Description of the Related Art Conventionally, an electronic control device that performs CAN communication is known which includes a plurality of microcomputers having a CPU and a CAN controller. For example, the electronic control device disclosed in Patent Document 1 includes a main control microcomputer that performs normal control using a transmission / reception CAN controller and a sub-control microcomputer that performs monitoring processing using a reception-only CAN controller. The ACK slot output by the sub control microcomputer when the control data can be normally received in the monitoring process is input to the CAN controller itself of the sub control microcomputer and is not input to the main control microcomputer. This prevents the confirmation response that the microcomputer has successfully received the data from being communicated between the plurality of microcomputers.

また、マイコンの制御によりモータ等の負荷を駆動するシステムにおいて、同等の制御機能を有する複数のマイコンを冗長的に設け、一部のマイコンが故障した場合に他の正常なマイコンにより駆動を継続する技術が知られている。特に車両に搭載されるモータ駆動システム等では、このような冗長構成により、マイコン故障に対する信頼性を向上させることが求められる。   Also, in a system that drives a load such as a motor under the control of a microcomputer, a plurality of microcomputers having equivalent control functions are redundantly provided, and when some microcomputers fail, the drive continues with another normal microcomputer Technology is known. In particular, in a motor drive system or the like mounted on a vehicle, it is required to improve reliability against a microcomputer failure by such a redundant configuration.

特開2011−131713号公報JP 2011-131713 A

特許文献1の技術は、機能が異なる複数のマイコンを1つの電子制御装置に組み込んだ構成を想定したものであって、同じ機能を有する複数のマイコンを冗長的に備える構成を想定していない。したがって、マイコンの故障を検出する構成や、一部のマイコンが故障したとき、他の正常なマイコンにより制御演算を継続する構成について、何ら言及されていない。
本発明は、このような点に鑑みて創作されたものであり、その目的は、同じデータが通信される複数のCAN通信バスに接続される複数の制御マイコンを備えた電子制御装置において、制御マイコンの故障を効率的に検出可能な電子制御装置を提供することにある。
The technique of Patent Document 1 assumes a configuration in which a plurality of microcomputers having different functions are incorporated in one electronic control device, and does not assume a configuration in which a plurality of microcomputers having the same function are redundantly provided. Therefore, there is no mention of a configuration for detecting a failure of a microcomputer or a configuration in which control computation is continued by another normal microcomputer when some of the microcomputers fail.
The present invention was created in view of the above points, and an object of the present invention is to provide control in an electronic control device including a plurality of control microcomputers connected to a plurality of CAN communication buses through which the same data is communicated. An object of the present invention is to provide an electronic control device capable of efficiently detecting a failure of a microcomputer.

本発明の電子制御装置は、同じデータが通信される複数のCAN通信バス(61、62)に接続される複数の制御マイコン(11、21)と、複数のCANトランシーバ(16、26)とを備える。
複数の制御マイコンは、複数のCAN通信バスから受信した同じデータを用いて制御演算を行うCPU(12、22)、送受信用CANコントローラ(13、23)、及び、1つ以上の受信専用CANコントローラ(14、145、24、245)を含む。
複数のCANトランシーバは、複数の制御マイコンの送受信用CANコントローラと複数のCAN通信バスとの間の通信を中継する。
The electronic control device of the present invention includes a plurality of control microcomputers (11, 21) connected to a plurality of CAN communication buses (61, 62) through which the same data is communicated, and a plurality of CAN transceivers (16, 26). Prepare.
The plurality of control microcomputers include a CPU (12, 22) that performs control calculation using the same data received from a plurality of CAN communication buses, a transmission / reception CAN controller (13, 23), and one or more reception-only CAN controllers. (14, 145, 24, 245).
The plurality of CAN transceivers relay communication between the transmission / reception CAN controllers of the plurality of control microcomputers and the plurality of CAN communication buses.

ここで、複数の制御マイコンのうち、注目する1つの制御マイコンを「自マイコン」とし、自マイコン以外の1つ以上の制御マイコンを「他マイコン」とする。
ANDゲート(15、25)は、自マイコンの受信専用CANコントローラの送信用端子(Tx)が送信する「自送信信号」と、他マイコンに対応するCANトランシーバから他マイコンの送受信用CANコントローラに通信される「他受信信号」との論理積を演算する。
Here, among the plurality of control microcomputers, one control microcomputer to be noted is referred to as “own microcomputer”, and one or more control microcomputers other than the own microcomputer are referred to as “other microcomputer”.
The AND gates (15, 25) communicate with the “own transmission signal” transmitted from the transmission terminal (Tx) of the reception dedicated CAN controller of the microcomputer and from the CAN transceiver corresponding to the other microcomputer to the transmission / reception CAN controller of the other microcomputer. The logical product with the “other received signal” is calculated.

ここで、自マイコンの受信専用CANコントローラ(14、24)の受信用端子(Rx)に演算値を出力するANDゲートが複数のマイコンの外部に設けられてもよい。又は、受信専用CANコントローラ(145、245)の内部にANDゲートの機能を有している。
そして、複数のマイコンは、受信専用CANコントローラに入力されたデータに基づいて、少なくとも他マイコンの故障を相互に検出可能である。詳しくは、自マイコンは、他マイコンが出力するはずのデータが正常に通信されているか否かを判定する。
Here, an AND gate that outputs a calculation value to the reception terminal (Rx) of the reception dedicated CAN controller (14, 24) of the microcomputer may be provided outside the plurality of microcomputers. Alternatively, the reception-only CAN controller (145, 245) has an AND gate function.
And a plurality of microcomputers can mutually detect a failure of at least another microcomputer based on the data inputted to the reception-only CAN controller. Specifically, the self microcomputer determines whether or not data that should be output from other microcomputers is normally communicated.

従来、複数の制御マイコンのうち一部の制御マイコンが故障したことを検出する構成として、マイコン間の通信により各制御マイコンが相互に他マイコンを監視する技術が知られている。この構成では、相互監視用の通信線や監視回路を設ける必要がある。
それに対し本発明では、複数の制御マイコンがそれぞれCAN通信バスから同じデータを受信することに注目し、他マイコンがCAN通信バスに出力する通信データが正常であるか否かを監視することで、他マイコンの故障を効率的に検出することができる。
2. Description of the Related Art Conventionally, as a configuration for detecting that a part of control microcomputers among a plurality of control microcomputers has failed, a technique is known in which each control microcomputer mutually monitors another microcomputer by communication between the microcomputers. In this configuration, it is necessary to provide a communication line and a monitoring circuit for mutual monitoring.
On the other hand, in the present invention, paying attention to the fact that each of the plurality of control microcomputers receives the same data from the CAN communication bus, by monitoring whether the communication data output from the other microcomputers to the CAN communication bus is normal, Faults in other microcomputers can be detected efficiently.

第1実施形態によるECU(電子制御装置)の構成図。The block diagram of ECU (electronic control apparatus) by 1st Embodiment. 各実施形態のECUが適用される電動パワーステアリング装置の構成図。The lineblock diagram of the electric power steering device to which ECU of each embodiment is applied. ANDゲートによる通信異常時の作用を示す表。The table | surface which shows the effect | action at the time of communication abnormality by an AND gate. 異常検出処理のメインフローチャート。The main flowchart of an abnormality detection process. 通信チェックのサブフローチャート。The sub-flowchart of a communication check. 第2実施形態によるECU(電子制御装置)の構成図。The block diagram of ECU (electronic control apparatus) by 2nd Embodiment. 第3実施形態によるECU(電子制御装置)の構成図。The block diagram of ECU (electronic control apparatus) by 3rd Embodiment. 第4実施形態によるECU(電子制御装置)の構成図。The block diagram of ECU (electronic control apparatus) by 4th Embodiment.

以下、電子制御装置の複数の実施形態を図面に基づいて説明する。各実施形態において「電子制御装置」としてのECUは、例えば車両の電動パワーステアリング装置に適用され、操舵アシストトルクを出力するモータの駆動を制御する。複数の実施形態で実質的に同一の構成には同一の符号を付して説明を省略する。また、以下の第1〜第4実施形態を包括して「本実施形態」という。   Hereinafter, a plurality of embodiments of an electronic control device will be described based on the drawings. In each embodiment, an ECU as an “electronic control device” is applied to an electric power steering device of a vehicle, for example, and controls driving of a motor that outputs a steering assist torque. In the plurality of embodiments, substantially the same components are denoted by the same reference numerals and description thereof is omitted. The following first to fourth embodiments are collectively referred to as “this embodiment”.

[電動パワーステアリング装置の構成]
図2に、電動パワーステアリング装置90を含むステアリングシステム100の全体構成を示す。なお、図2に示す電動パワーステアリング装置90はコラムアシスト式であるが、ラックアシスト式の電動パワーステアリング装置にも同様に適用可能である。
ステアリングシステム100は、ハンドル91、ステアリングシャフト92、ピニオンギア96、ラック軸97、車輪98、及び、電動パワーステアリング装置90等を含む。
[Configuration of electric power steering device]
FIG. 2 shows the overall configuration of the steering system 100 including the electric power steering device 90. The electric power steering apparatus 90 shown in FIG. 2 is a column assist type, but can be similarly applied to a rack assist type electric power steering apparatus.
The steering system 100 includes a handle 91, a steering shaft 92, a pinion gear 96, a rack shaft 97, wheels 98, an electric power steering device 90, and the like.

ハンドル91にはステアリングシャフト92が接続されている。ステアリングシャフト92の先端に設けられたピニオンギア96は、ラック軸97に噛み合っている。ラック軸97の両端には、タイロッド等を介して一対の車輪98が設けられる。運転者がハンドル91を回転させると、ハンドル91に接続されたステアリングシャフト92が回転する。ステアリングシャフト92の回転運動は、ピニオンギア96によりラック軸97の直線運動に変換され、ラック軸97の変位量に応じた角度に一対の車輪98が操舵される。   A steering shaft 92 is connected to the handle 91. A pinion gear 96 provided at the tip of the steering shaft 92 is engaged with the rack shaft 97. A pair of wheels 98 are provided at both ends of the rack shaft 97 via tie rods or the like. When the driver rotates the handle 91, the steering shaft 92 connected to the handle 91 rotates. The rotational motion of the steering shaft 92 is converted into a linear motion of the rack shaft 97 by the pinion gear 96, and the pair of wheels 98 are steered at an angle corresponding to the amount of displacement of the rack shaft 97.

電動パワーステアリング装置90は、操舵トルクを検出するトルクセンサ93、ECU101、モータ80、及び、モータ80が出力したアシストトルクをステアリングシャフト92に伝達する減速ギア94等を含む。各実施形態に共通するECUの説明では、代表として第1実施形態のECUの符号「101」を記す。
ECU101は、操舵トルク、及び、モータ80の回転角、フィードバック電流の他、車両に搭載された他のECU等からCAN通信バスを経由して車速やエンジン回転数等の情報を取得し、これらの情報に基づいてモータ80の駆動を制御する。
ここで、本実施形態のECUが適用される車両では、車速やエンジン回転数等のデータについて、同じデータが複数のCAN通信バスを介して冗長的に通信される。
The electric power steering device 90 includes a torque sensor 93 that detects steering torque, an ECU 101, a motor 80, a reduction gear 94 that transmits assist torque output from the motor 80 to a steering shaft 92, and the like. In description of ECU common to each embodiment, the code | symbol "101" of ECU of 1st Embodiment is described as a representative.
The ECU 101 acquires information such as the vehicle speed and the engine speed via the CAN communication bus from other ECUs mounted on the vehicle, in addition to the steering torque, the rotation angle of the motor 80, and the feedback current. Based on the information, the drive of the motor 80 is controlled.
Here, in a vehicle to which the ECU of the present embodiment is applied, the same data is redundantly communicated via a plurality of CAN communication buses for data such as vehicle speed and engine speed.

[ECUの構成]
以下、特に通信に関する構成及び作用効果について、ECUの実施形態毎に説明する。ECUの説明では、例えば電動パワーステアリング装置のモータ等の駆動対象について、一般的に「アクチュエータ」と記す。
各実施形態のECUは、CAN通信バスから受信したデータに基づき冗長的に制御演算を行い、対応する駆動回路に指令信号を出力する複数のマイコンを備える。例えば、直流電力を交流電力に変換するインバータ等が駆動回路に該当する。複数のマイコンから指令信号を受けた複数の駆動回路は、協働してアクチュエータを駆動する。また、一部のマイコンが故障した場合、正常なマイコンのみでアクチュエータを駆動可能である。
[Configuration of ECU]
In the following, the configuration and operational effects relating particularly to communication will be described for each embodiment of the ECU. In the description of the ECU, for example, a driving target such as a motor of an electric power steering apparatus is generally referred to as an “actuator”.
The ECU of each embodiment includes a plurality of microcomputers that perform control calculations redundantly based on data received from the CAN communication bus and output command signals to corresponding drive circuits. For example, an inverter that converts DC power into AC power corresponds to the drive circuit. The plurality of drive circuits that have received the command signals from the plurality of microcomputers cooperate to drive the actuator. In addition, when some microcomputers fail, the actuator can be driven only by normal microcomputers.

ところで、従来、複数のマイコンのうち一部のマイコンが故障したことを検出する構成として、マイコン間の通信により各マイコンが相互に他マイコンを監視する技術が知られている。この構成では、相互監視用の通信線や監視回路を設ける必要がある。
それに対し本実施形態では、複数のマイコンがそれぞれCAN通信バスから同じデータを受信することに注目し、相互監視のためのマイコン間通信を設けず、CAN通信バスからマイコンへの通信データを用いて効率的にマイコンの故障検出を図る。
なお、故障検出とは別の理由、例えば駆動指令信号の同期のため等のマイコン間通信に関しては本明細書では言及しない。
By the way, conventionally, as a configuration for detecting that a part of a plurality of microcomputers has failed, a technique is known in which each microcomputer monitors another microcomputer by communication between the microcomputers. In this configuration, it is necessary to provide a communication line and a monitoring circuit for mutual monitoring.
On the other hand, in this embodiment, attention is paid to the fact that each of the plurality of microcomputers receives the same data from the CAN communication bus, and communication between microcomputers for mutual monitoring is not provided, and communication data from the CAN communication bus to the microcomputer is used. Efficiently detect microcomputer failures.
It should be noted that, for reasons other than failure detection, for example, communication between microcomputers such as for synchronizing drive command signals is not mentioned in this specification.

(第1実施形態)
第1実施形態について、図1、及び、図3〜図5を参照して説明する。
図1に示すように、第1実施形態のECU101は、それぞれ対応する2つのマイコン11、21、ANDゲート15、25、CANトランシーバ16、26、及び、駆動回路18、28を備える。第1実施形態は、ANDゲート15、25がマイコン11、21の外部に独立して設けられる点で後述の第2実施形態と異なる。
(First embodiment)
A first embodiment will be described with reference to FIGS. 1 and 3 to 5.
As shown in FIG. 1, the ECU 101 according to the first embodiment includes two microcomputers 11 and 21, AND gates 15 and 25, CAN transceivers 16 and 26, and drive circuits 18 and 28, respectively. The first embodiment is different from the second embodiment described later in that AND gates 15 and 25 are provided outside the microcomputers 11 and 21 independently.

ここで、対応する一群の構成要素の単位を「系統」と表す。ECU101は、2系統の冗長構成である。第1系統の構成要素の符号は1桁目を「1」とし、第2系統の構成要素の符号は1桁目を「2」とする。
図1中、第1系統のマイコン11、CANトランシーバ16、駆動回路18には語頭に「第1」を付し、第2系統のマイコン21、CANトランシーバ26、駆動回路28には語頭に「第2」を付して示す。明細書中では、「第1、第2」を適宜省略する。
Here, the unit of the corresponding group of components is represented as “system”. The ECU 101 has a two-system redundant configuration. The sign of the first system component is “1” in the first digit, and the sign of the second system component is “2” in the first digit.
In FIG. 1, the first system microcomputer 11, the CAN transceiver 16, and the drive circuit 18 are prefixed with “first”, and the second system microcomputer 21, the CAN transceiver 26, and the drive circuit 28 are prefixed with “first”. 2 ”is attached. In the specification, “first and second” are omitted as appropriate.

ECU101に接続されるCAN通信用のバスとして、同じデータが通信される2つのCAN通信バス61、62が設けられている。ECU101は、CAN通信バス61、62を経由して他の車載ECU等とCANプロトコルによるデータ通信を行い、データを交換する。なお、CAN通信バス61、62は、CANプロトコルで使用されるCAN−Hライン及びCAN−Lラインからなる2線式通信ラインにて構成されている。   As CAN communication buses connected to the ECU 101, two CAN communication buses 61 and 62 through which the same data is communicated are provided. The ECU 101 exchanges data by performing data communication with other in-vehicle ECUs and the like via the CAN communication buses 61 and 62 using the CAN protocol. The CAN communication buses 61 and 62 are configured by a two-wire communication line including a CAN-H line and a CAN-L line used in the CAN protocol.

第1マイコン11は、第1CANトランシーバ16を介して第1CAN通信バス61に接続されており、第2マイコン21は、第2CANトランシーバ26を介して第2CAN通信バス62に接続されている。
第1マイコン11及び第2マイコン21は、CAN通信バス61、62から受信した同じデータを用いて同種の制御演算を行い、駆動回路18、28への指令信号を生成する。第1マイコン11から指令を受けた第1駆動回路18、及び、第2マイコン21から指令を受けた第2駆動回路28は、協働してアクチュエータ80を駆動する。
The first microcomputer 11 is connected to the first CAN communication bus 61 via the first CAN transceiver 16, and the second microcomputer 21 is connected to the second CAN communication bus 62 via the second CAN transceiver 26.
The first microcomputer 11 and the second microcomputer 21 perform the same kind of control calculation using the same data received from the CAN communication buses 61 and 62, and generate command signals to the drive circuits 18 and 28. The first drive circuit 18 that receives a command from the first microcomputer 11 and the second drive circuit 28 that receives a command from the second microcomputer 21 cooperate to drive the actuator 80.

第1マイコン11及び第2マイコン21は、いずれもアクチュエータ80の駆動制御を主な機能とするものであり、特許請求の範囲に記載の「制御マイコン」に相当する。
第1マイコン11は、CPU12、及び2つのCANコントローラ13、14を含む。第2マイコン21は、CPU22、及び2つのCANコントローラ23、24を含む。
ANDゲート15、25は、各マイコン11、21に対応して系統毎に設けられる。
Each of the first microcomputer 11 and the second microcomputer 21 has a drive control of the actuator 80 as a main function, and corresponds to a “control microcomputer” recited in the claims.
The first microcomputer 11 includes a CPU 12 and two CAN controllers 13 and 14. The second microcomputer 21 includes a CPU 22 and two CAN controllers 23 and 24.
AND gates 15 and 25 are provided for each system corresponding to the microcomputers 11 and 21.

2系統のマイコン11、21及びANDゲート15、25の構成は実質的に同一であるため、一方の系統についての説明を、適宜、他方の系統についての説明に援用する。以下の明細書中、注目する1つのマイコンを「自マイコン」とし、自マイコン以外の1つ以上のマイコンを「他マイコン」とする。2系統の構成では、1つの「他マイコン」を「相手マイコン」と言い換えてもよい。
第1マイコン11のCPU12は、2つのCANコントローラ13、14と相互に情報交換可能である。また、CPU12は、CAN通信バス61から受信したデータを用いて制御演算を行う。CANコントローラ13、14は、それぞれ送信用端子Tx及び受信用端子Rxを有している。第2マイコン21についても同様である。
Since the configurations of the two systems of the microcomputers 11 and 21 and the AND gates 15 and 25 are substantially the same, the description of one system is appropriately incorporated into the description of the other system. In the following description, one microcomputer of interest is referred to as “own microcomputer”, and one or more microcomputers other than the own microcomputer are referred to as “other microcomputer”. In the configuration of two systems, one “other microcomputer” may be rephrased as “the other microcomputer”.
The CPU 12 of the first microcomputer 11 can exchange information with the two CAN controllers 13 and 14. Further, the CPU 12 performs control calculation using data received from the CAN communication bus 61. The CAN controllers 13 and 14 each have a transmission terminal Tx and a reception terminal Rx. The same applies to the second microcomputer 21.

第1マイコン11のCANコントローラ13は、送信用端子Tx及び受信用端子Rxがそれぞれ主送信ライン136及び主受信ライン137を介してCANトランシーバ16に接続され、第1CANトランシーバ16を介して第1CAN通信バス61と送受信する。
第2マイコン21のCANコントローラ23は、送信用端子Tx及び受信用端子Rxがそれぞれ主送信ライン236及び主受信ライン237を介してCANトランシーバ26に接続され、第2CANトランシーバ26を介して第2CAN通信バス62と送受信する。
言い換えれば、CANトランシーバ16、26は、送受信用CANコントローラ13、23とCAN通信バス61、62との間の通信を中継する。
この構成により、CANコントローラ13、23は「送受信用CANコントローラ」として機能する。
In the CAN controller 13 of the first microcomputer 11, the transmission terminal Tx and the reception terminal Rx are connected to the CAN transceiver 16 via the main transmission line 136 and the main reception line 137, respectively, and the first CAN communication is performed via the first CAN transceiver 16. Sends and receives to / from the bus 61.
The CAN controller 23 of the second microcomputer 21 has a transmission terminal Tx and a reception terminal Rx connected to the CAN transceiver 26 via the main transmission line 236 and the main reception line 237, respectively, and the second CAN communication via the second CAN transceiver 26. It transmits and receives to / from the bus 62.
In other words, the CAN transceivers 16 and 26 relay communication between the transmission / reception CAN controllers 13 and 23 and the CAN communication buses 61 and 62.
With this configuration, the CAN controllers 13 and 23 function as “transmission / reception CAN controllers”.

第1マイコン11のCANコントローラ14は、送信用端子TxがANDゲート15の一方の入力端子に接続され、受信用端子RxがANDゲート15の出力端子に接続されている。ANDゲート15の他方の入力端子は、第2系統の主受信ライン237に接続されている。
第2マイコン21のCANコントローラ24は、送信用端子TxがANDゲート25の一方の入力端子に接続され、受信用端子RxがANDゲート25の出力端子に接続されている。ANDゲート25の他方の入力端子は、第1系統の主受信ライン137に接続されている。
この構成により、CANコントローラ14、24は、「受信専用CANコントローラ」として機能する。
In the CAN controller 14 of the first microcomputer 11, the transmission terminal Tx is connected to one input terminal of the AND gate 15, and the reception terminal Rx is connected to the output terminal of the AND gate 15. The other input terminal of the AND gate 15 is connected to the second main reception line 237.
In the CAN controller 24 of the second microcomputer 21, the transmission terminal Tx is connected to one input terminal of the AND gate 25, and the reception terminal Rx is connected to the output terminal of the AND gate 25. The other input terminal of the AND gate 25 is connected to the main reception line 137 of the first system.
With this configuration, the CAN controllers 14 and 24 function as “reception dedicated CAN controllers”.

第1マイコン11及び第2マイコン21は、ANDゲート15、25から自マイコンの受信専用CANコントローラ14、24への入力に基づき、他マイコンの通信途絶異常を判定し、故障を検出可能である。
説明の便宜上、他マイコンの故障を検出可能な正常なマイコンを「検出側マイコン」といい、検出側マイコンによる故障検出対象のマイコンを「被検出側マイコン」というように区別する。
実際には、第1マイコン11及び第2マイコン21は、いずれも「検出側マイコン」かつ「被検出側マイコン」として機能するが、以下、第1マイコン11を検出側マイコンとし、第2マイコン21を被検出側マイコンとして説明する。
The first microcomputer 11 and the second microcomputer 21 can determine a communication interruption abnormality of other microcomputers based on inputs from the AND gates 15 and 25 to the reception-only CAN controllers 14 and 24 of the own microcomputer, and can detect a failure.
For convenience of explanation, a normal microcomputer capable of detecting a failure of another microcomputer is referred to as a “detection-side microcomputer”, and a microcomputer whose failure is detected by the detection-side microcomputer is distinguished as a “detection-side microcomputer”.
Actually, both the first microcomputer 11 and the second microcomputer 21 function as a “detection-side microcomputer” and a “detection-side microcomputer”. However, hereinafter, the first microcomputer 11 will be referred to as a detection-side microcomputer, and the second microcomputer 21 will be described. Will be described as the detected microcomputer.

検出側の第1マイコン11では、ANDゲート15の一方の入力端子に受信専用CANコントローラ14の送信用端子Txからの信号が入力される。本明細書では、この信号を「自送信信号」という。また、ANDゲート15の他方の入力端子には、被検出側の第2CANトランシーバ26から第2マイコン21の送受信用CANコントローラ23への伝送信号が入力される。本明細書では、この信号を「他受信信号」という。
ANDゲート15は、自送信信号と他受信信号との論理積を演算し、演算結果を受信専用CANコントローラ14の受信用端子Rxに出力する。この演算結果に基づき、検出側第1マイコン11のCPU12は、被検出側第2マイコン21の通信異常を判定する。
In the first microcomputer 11 on the detection side, a signal from the transmission terminal Tx of the reception-only CAN controller 14 is input to one input terminal of the AND gate 15. In this specification, this signal is referred to as “self-transmitting signal”. A transmission signal from the second CAN transceiver 26 on the detected side to the transmission / reception CAN controller 23 of the second microcomputer 21 is input to the other input terminal of the AND gate 15. In this specification, this signal is referred to as “another received signal”.
The AND gate 15 calculates the logical product of the own transmission signal and the other reception signal, and outputs the calculation result to the reception terminal Rx of the reception-only CAN controller 14. Based on the calculation result, the CPU 12 of the detection-side first microcomputer 11 determines a communication abnormality of the detected-side second microcomputer 21.

特許文献1(特開2011−131713号公報)に開示されているように、CAN通信では、同じECU内部の1つのマイコンが送信したデータを他のマイコンが受信した場合、確認応答としてACKが返信される。
仮にCANコントローラ14にANDゲート15を設けない場合、他マイコンに対応するCANトランシーバ26やCAN通信バス62の断線等の故障時にも、送受信用CANコントローラ23の送信メッセージに対してCANコントローラ14がACKを返信してしまう。その結果、ECU101内の自己ループによって、CANトランシーバ26やCAN通信バス62の故障を検出することができなくなる。
As disclosed in Patent Document 1 (Japanese Patent Application Laid-Open No. 2011-131713), in CAN communication, when another microcomputer receives data transmitted from one microcomputer in the same ECU, an ACK is returned as a confirmation response. Is done.
If the AND gate 15 is not provided in the CAN controller 14, the CAN controller 14 ACKs the transmission message of the transmission / reception CAN controller 23 even when the CAN transceiver 26 corresponding to another microcomputer or the CAN communication bus 62 is broken. Will be replied. As a result, the failure of the CAN transceiver 26 and the CAN communication bus 62 cannot be detected by the self loop in the ECU 101.

CANコントローラ14をANDゲート15無しで接続した場合の作用について、図3の表を参照して詳しく説明する。図3の表において、ドミナント出力がL(すなわち論理値0)に相当し、レセッシブ出力がH(すなわち論理値1)に相当する。
第1マイコン11が検出側マイコンであり、第2マイコン21が被検出側マイコンである場合、第2マイコン21の送受信用CANコントローラ23がメッセージを送信し、第1マイコン11のCANコントローラ14は受信専用として機能する。
The operation when the CAN controller 14 is connected without the AND gate 15 will be described in detail with reference to the table of FIG. In the table of FIG. 3, the dominant output corresponds to L (that is, logical value 0), and the recessive output corresponds to H (that is, logical value 1).
When the first microcomputer 11 is a detection side microcomputer and the second microcomputer 21 is a detected side microcomputer, the transmission / reception CAN controller 23 of the second microcomputer 21 transmits a message, and the CAN controller 14 of the first microcomputer 11 receives the message. Serves as dedicated.

CANメッセージは、基本的には被検出側からドミナントとレセッシブとの組み合わせで送信される。また、ACKタイミングには、検出側の受信専用CANコントローラ14がドミナントを出力する。図3には、この3通りのパターンでの下記6項目を示す。
「被検出側送受信用CANコントローラ23の送信用端子Tx出力」
「検出側受信専用CANコントローラ14の送信用端子Tx出力」
「被検出側CANトランシーバ26の出力レベル」
「被検出側CAN通信バス62」
「被検出側送受信用CANコントローラ23の受信用端子Rx認識値」
「受信専用CANコントローラ14の受信用端子Rx認識値」
The CAN message is basically transmitted from the detected side in a combination of dominant and recessive. At the ACK timing, the reception-side CAN controller 14 on the detection side outputs a dominant. FIG. 3 shows the following six items in these three patterns.
“Transmission terminal Tx output of CAN controller 23 for transmission / reception of detected side”
“Transmission terminal Tx output of detection-side reception-only CAN controller 14”
“Output level of detected CAN transceiver 26”
“Detected CAN communication bus 62”
“Received terminal Rx recognition value of detected side transmission / reception CAN controller 23”
“Reception terminal Rx recognition value of reception-only CAN controller 14”

図3(a)に正常時の作用を示す。正常時には、ECU101がCAN通信バス61、62に接続し、且つ、CAN通信バス61、62に他のECUが接続している。ACKタイミングにおける被検出側CAN通信バス62の「ドミナント(※1)」は、CAN通信バス62に接続している他のECUがCANプロトコルに従ってドミナントレベルを出力することを示している。
通信正常時、送受信用CANコントローラ23は、ACKタイミングで「L」を認識する。また、受信専用CANコントローラ14は、ACKタイミングで「L」を認識する。
FIG. 3A shows the normal operation. During normal operation, the ECU 101 is connected to the CAN communication buses 61 and 62, and other ECUs are connected to the CAN communication buses 61 and 62. “Dominant (* 1)” of the detected CAN communication bus 62 at the ACK timing indicates that another ECU connected to the CAN communication bus 62 outputs a dominant level according to the CAN protocol.
When communication is normal, the transmission / reception CAN controller 23 recognizes “L” at the ACK timing. The reception-only CAN controller 14 recognizes “L” at the ACK timing.

図3(b)に、被検出側のCANトランシーバ26又はCAN通信バス62の断線を想定した異常時の作用を示す。被検出側CAN通信バス62の「レセッシブ(※2)」は、CAN通信バス62に接続している他のECUが送信をしていない状態を示している。
通信異常時、送受信用CANコントローラ23は、ACKタイミングで「H」を認識し、通信不成立を検出する。一方、受信専用CANコントローラ14は、ACKタイミングで、正常時と同じ「L」を認識するため、通信不成立を検出することができない。
FIG. 3B shows an operation at the time of abnormality assuming disconnection of the CAN transceiver 26 or the CAN communication bus 62 on the detected side. “Recessive (* 2)” of the detected-side CAN communication bus 62 indicates a state in which other ECUs connected to the CAN communication bus 62 are not transmitting.
When communication is abnormal, the transmission / reception CAN controller 23 recognizes “H” at the ACK timing, and detects communication failure. On the other hand, since the reception-only CAN controller 14 recognizes the same “L” as in the normal state at the ACK timing, it cannot detect communication failure.

このように、CANコントローラ14、24をANDゲート15、25無しで接続すると、ACKタイミングで故障検出ができないという問題がある。そこで本実施形態では、ANDゲート15、25を設けることにより、CANコントローラ14、24を受信専用とする。
つまり、本実施形態における「受信専用CANコントローラ」の「受信専用」の本質的な意味は、送信用端子Txからの送信をしないこと自体ではなく、同一ECU内での送信及び受信の自己ループに起因するACKの返信を防止することである。
Thus, if the CAN controllers 14 and 24 are connected without the AND gates 15 and 25, there is a problem that failure detection cannot be performed at the ACK timing. Therefore, in the present embodiment, by providing the AND gates 15 and 25, the CAN controllers 14 and 24 are dedicated to reception.
In other words, the essential meaning of “reception only” of the “reception-only CAN controller” in this embodiment is not the transmission itself from the transmission terminal Tx, but the self-loop of transmission and reception in the same ECU. This is to prevent the reply of the resulting ACK.

次に、検出側マイコンが実行する異常判定処理について、図4、図5のフローチャートを参照して説明する。図4は、異常判定処理全体のメインフローチャートであり、図5は、図4における通信チェックのS20を詳しく記述したサブフローチャートである。以下のフローチャートの説明で、記号Sは「ステップ」を示す。
この説明でも、第1マイコン11を検出側マイコン、第2マイコン21を被検出側マイコンとする場合を想定する。
Next, the abnormality determination process executed by the detection side microcomputer will be described with reference to the flowcharts of FIGS. 4 is a main flowchart of the entire abnormality determination process, and FIG. 5 is a sub-flowchart describing in detail S20 of the communication check in FIG. In the following description of the flowchart, the symbol S indicates “step”.
Also in this description, it is assumed that the first microcomputer 11 is a detection side microcomputer and the second microcomputer 21 is a detection side microcomputer.

図4に示すメインルーチンは、周期的に繰り返し実行される。
S1では、第1マイコン11の受信専用CANコントローラ14は、第2マイコン21への通信データを受信する。
S2では、第1マイコン11のCPU12は、受信専用CANコントローラ14の受信データに基づく通信チェックを行う。
The main routine shown in FIG. 4 is repeatedly executed periodically.
In S <b> 1, the reception-only CAN controller 14 of the first microcomputer 11 receives communication data to the second microcomputer 21.
In S <b> 2, the CPU 12 of the first microcomputer 11 performs a communication check based on the reception data of the reception-only CAN controller 14.

通信チェックのS21では、「第2マイコン21のメッセージがメールBOXに格納」されているか否か判断される。つまり、検出側マイコンは、被検出側マイコンが出力するはずのデータの有無を確認し、出力するはずのデータが正常に通信されているか否かを判定する。
S21でYESの場合、CPU12は、S22で、「通信OK」と判定する。
In S21 of the communication check, it is determined whether “the message of the second microcomputer 21 is stored in the mail BOX”. That is, the detection side microcomputer confirms the presence or absence of data that the detected side microcomputer should output, and determines whether or not the data that should be output is normally communicated.
In the case of YES in S21, the CPU 12 determines “communication OK” in S22.

S21でNOの場合、「別のメッセージがメールBOXに格納」されているか否か判断される。S23でYESの場合、CPU12は、S24で、「第2マイコン21の通信途絶」と判定する。
S23でNOの場合、CPU12は、S25で、「CANトランシーバ26又はCAN通信バス62の異常」と判定する。
In the case of NO in S21, it is determined whether or not “another message is stored in the mail BOX”. In the case of YES in S23, the CPU 12 determines in S24 that “the communication of the second microcomputer 21 has been interrupted”.
In the case of NO in S23, the CPU 12 determines in S25 that "CAN transceiver 26 or CAN communication bus 62 is abnormal".

メインフローチャートに戻り、S3では、通信チェックの結果、「第2マイコン21の通信途絶」と判定されたか否か判断される。S3でYES、すなわち、通信チェックでS24に該当した場合、S4に移行する。
S4では、異常カウンタのカウント値が規定値に達したか判断する。S4でYESの場合、CPU12は、S5で第2マイコン21の異常を確定する。
Returning to the main flowchart, in S3, it is determined whether or not it is determined that "communication interruption of the second microcomputer 21" as a result of the communication check. If YES in S3, that is, if the communication check corresponds to S24, the process proceeds to S4.
In S4, it is determined whether the count value of the abnormality counter has reached a specified value. If YES in S4, the CPU 12 determines an abnormality of the second microcomputer 21 in S5.

ECU101は、第2マイコン21の異常が確定すると、例えば出力停止要求により、第2駆動回路28の出力を停止し、第1駆動回路18のみでアクチュエータ80を駆動するように切り替える。このとき、正常な第1マイコン11で全てのCAN通信バス61、62のデータを用いた制御を継続することができる。
さらに、正常な第1マイコン11がマイコン故障情報をCAN通信バス61に送信することで、故障部位を外部に通知し、トラブルシューティングに活用することができる。
When the abnormality of the second microcomputer 21 is confirmed, the ECU 101 stops the output of the second drive circuit 28 by, for example, an output stop request, and switches the actuator 80 to be driven only by the first drive circuit 18. At this time, the normal first microcomputer 11 can continue the control using the data of all the CAN communication buses 61 and 62.
Furthermore, when the normal first microcomputer 11 transmits microcomputer failure information to the CAN communication bus 61, the failure part can be notified to the outside and used for troubleshooting.

S4でNOの場合、CPU12は、S6で異常カウンタのカウント値をインクリメントする。なお、図4中の「++」は、インクリメントを意味する。
一方、S3でNOの場合、S7に移行する。CPU12は、S7で異常カウンタのカウント値を0にリセットし、S8で第2マイコン21の正常を確定する。
If NO in S4, the CPU 12 increments the count value of the abnormality counter in S6. Note that “++” in FIG. 4 means increment.
On the other hand, if NO in S3, the process proceeds to S7. The CPU 12 resets the count value of the abnormality counter to 0 in S7, and determines the normality of the second microcomputer 21 in S8.

第1実施形態のECU101による効果について説明する。
(1)第1実施形態のECU101は、複数のマイコン11、21がそれぞれCAN通信バス61、62から同じデータを受信することに注目する。そして、他マイコンがCAN通信バスに出力する通信データが正常であるか否かを監視することで、他マイコンの故障を検出可能である。したがって、マイコン11、21間の通信により相互監視する構成に比べて、他マイコンの故障を効率的に検出することができる。
また、マイコン11、21は、他マイコンに対応するCANトランシーバ16、26又はCAN通信バス61、62の故障を検出可能である。
The effect by ECU101 of 1st Embodiment is demonstrated.
(1) The ECU 101 of the first embodiment pays attention to the plurality of microcomputers 11 and 21 receiving the same data from the CAN communication buses 61 and 62, respectively. A failure of the other microcomputer can be detected by monitoring whether the communication data output from the other microcomputer to the CAN communication bus is normal. Therefore, it is possible to efficiently detect a failure of another microcomputer as compared with a configuration in which mutual monitoring is performed by communication between the microcomputers 11 and 21.
Further, the microcomputers 11 and 21 can detect a failure in the CAN transceivers 16 and 26 or the CAN communication buses 61 and 62 corresponding to other microcomputers.

さらにECU101は、故障したマイコンを特定し、正常マイコンのみでの制御に切り替えることにより、正常に制御を継続することができる。アクチュエータ80の駆動制御装置の場合、アクチュエータ80の駆動を適切に継続することができる。また、正常なマイコンが故障情報を外部に通知することで、外部装置と協調した処置が可能となる。
例えば電動パワーステアリング装置90のように、操舵アシスト機能の維持に関する信頼性の要求の高い装置では、特に有効である。
Furthermore, the ECU 101 can continue normal control by specifying a malfunctioning microcomputer and switching to control with only a normal microcomputer. In the case of the drive control device of the actuator 80, the drive of the actuator 80 can be continued appropriately. In addition, when a normal microcomputer notifies the failure information to the outside, a treatment in cooperation with an external device is possible.
For example, this is particularly effective in an apparatus that requires high reliability for maintaining the steering assist function, such as the electric power steering apparatus 90.

(2)第1実施形態では、ANDゲート15、25がマイコン11、21の外部に設けられる。これにより、実用上、既存のECUにANDゲートを追加することで、マイコン自体を変更することなく第1実施形態の構成に改変することが可能である。   (2) In the first embodiment, AND gates 15 and 25 are provided outside the microcomputers 11 and 21. Thus, practically, by adding an AND gate to an existing ECU, it is possible to modify the configuration of the first embodiment without changing the microcomputer itself.

(第2実施形態)
第2実施形態について、図6を参照して説明する。
第2実施形態のECU102は、第1実施形態に対し、ANDゲート15、25の機能をマイコン11、21の内部に有する点が異なる。つまり、マイコン11、21は、ANDゲート機能を有する受信専用CANコントローラ145、245を含む。
なお、第1実施形態及び第2実施形態のマイコンは、厳密には構成が異なるものであるが、煩雑になることを避けるため、同一の符号「11、21」を付す。
(Second Embodiment)
A second embodiment will be described with reference to FIG.
The ECU 102 of the second embodiment is different from the first embodiment in that the functions of the AND gates 15 and 25 are included in the microcomputers 11 and 21. That is, the microcomputers 11 and 21 include reception-only CAN controllers 145 and 245 having an AND gate function.
Although the microcomputers of the first and second embodiments are strictly different in configuration, the same reference numerals “11, 21” are given to avoid complication.

各受信専用CANコントローラ145、245の送信用端子Txは、他マイコンの主送信ライン236、136に接続される。各受信専用CANコントローラ145、245の受信用端子Rxは、他マイコンの主受信ライン237、137に接続される。各マイコン11、21は、他マイコンがCANトランシーバ26、16からデータを正常に受信しているか否かを判定する。
なお、この段落以下の各文において2つ並べて記載される符号は、それぞれ1番目同士、2番目同士の符号が対応する。
The transmission terminals Tx of the reception-only CAN controllers 145 and 245 are connected to main transmission lines 236 and 136 of other microcomputers. The reception terminals Rx of the reception dedicated CAN controllers 145 and 245 are connected to main reception lines 237 and 137 of other microcomputers. Each of the microcomputers 11 and 21 determines whether or not the other microcomputers normally receive data from the CAN transceivers 26 and 16.
In addition, the code | symbol described side by side in each sentence below this paragraph respond | corresponds to the code | cord | chord of 1st and 2nd, respectively.

この構成では、CANコントローラ145、245内部のソフトウェアによってANDゲート機能が構築され、図示上にANDゲートの記号は現れない。そこで、図中のCANコントローラ145、245に「(受信専用)」と記載する。
なお、CANコントローラ145、245は、見かけ上、送信用端子Txから他系統の主送信ライン236、136への送信が可能である。ただし、第1実施形態において上述した通り、「受信専用」の本質的な意味はACK返信を防止することであって、送信可能な第2実施形態の構成を排除するものではない。
第2実施形態は、第1実施形態と同等の作用効果を奏する。
In this configuration, the AND gate function is constructed by software inside the CAN controllers 145 and 245, and the symbol of the AND gate does not appear on the drawing. Therefore, “(reception only)” is described in the CAN controllers 145 and 245 in the figure.
Note that the CAN controllers 145 and 245 are apparently capable of transmitting from the transmission terminal Tx to the main transmission lines 236 and 136 of other systems. However, as described above in the first embodiment, the essential meaning of “reception only” is to prevent an ACK reply, and does not exclude the configuration of the second embodiment in which transmission is possible.
The second embodiment has the same effects as the first embodiment.

(第3実施形態)
第3実施形態について、図7を参照して説明する。
第3実施形態のECU103は、同じデータが通信される3つのCAN通信バス61、62、63に接続され、同じデータを用いて冗長的に制御演算を行う3つの制御マイコン11、21、31を備える。つまり、ECU103は、第1実施形態のECU101に対し、第3CAN通信バス63に接続され、CPU32を含む第3マイコン31、及び、第3マイコン31から指令信号が出力される第3駆動回路38をさらに含む。
第3実施形態では、1つの自マイコンに対し、2つの他マイコンが存在する。
なお、第1実施形態及び第3実施形態の第1及び第2マイコンは、厳密には構成が異なるものであるが、煩雑になることを避けるため、同一の符号「11、21」を付す。
(Third embodiment)
A third embodiment will be described with reference to FIG.
The ECU 103 of the third embodiment is connected to three CAN communication buses 61, 62, and 63 through which the same data is communicated, and includes three control microcomputers 11, 21, and 31 that perform control calculations redundantly using the same data. Prepare. That is, the ECU 103 is connected to the third CAN communication bus 63 with respect to the ECU 101 of the first embodiment, and includes a third microcomputer 31 including the CPU 32 and a third drive circuit 38 to which a command signal is output from the third microcomputer 31. In addition.
In the third embodiment, there are two other microcomputers for one own microcomputer.
The first and second microcomputers of the first embodiment and the third embodiment are strictly different in configuration, but are given the same reference numerals “11, 21” in order to avoid complexity.

各マイコン11、21、31は、それぞれ、1つの送受信用CANコントローラ13、23、33、及び、2つの受信専用CANコントローラ141、142、241、242、341、342を有する。また、各マイコン11、21、31の外部には、各受信専用CANコントローラ141、142、241、242、341、342に対応する各2つのANDゲート151、152、251、252、351、352が設けられている。受信専用CANコントローラとANDゲートとの接続構成は、第1実施形態と同様である。   Each microcomputer 11, 21, 31 has one transmission / reception CAN controller 13, 23, 33, and two reception-only CAN controllers 141, 142, 241, 242, 341, 342. Further, outside each microcomputer 11, 21, 31 there are two AND gates 151, 152, 251, 252, 351, 352 corresponding to each reception dedicated CAN controller 141, 142, 241, 242, 341, 342, respectively. Is provided. The connection configuration between the reception-only CAN controller and the AND gate is the same as that in the first embodiment.

なお、図7では、各受信専用CANコントローラ141、142、241、242、341、342の受信用端子Rxに接続される通信線と、それ以外の通信線との交差箇所における跨ぎ線による図示を省略する。その代わり、第1CANトランシーバ16からの主受信ライン137、第2CANトランシーバ26からの主受信ライン237、及び、第3CANトランシーバ36からの主受信ライン337に接続される通信線を、それぞれ一点鎖線、二点鎖線及び細破線で示す。
また、特許請求の範囲における参照符号、及び、[符号の説明]の欄には、煩雑になることを避けるため、第3実施形態に特有の符号の記載を省略する。
In addition, in FIG. 7, illustration by the straddle line in the crossing point of the communication line connected to the receiving terminal Rx of each reception dedicated CAN controller 141, 142, 241, 242, 341, 342 and the other communication lines is shown. Omitted. Instead, communication lines connected to the main reception line 137 from the first CAN transceiver 16, the main reception line 237 from the second CAN transceiver 26, and the main reception line 337 from the third CAN transceiver 36 are respectively represented by one-dot chain line and two It is indicated by a dotted line and a thin broken line.
In addition, in the reference numerals in the claims and [Explanation of reference numerals], the description of reference numerals unique to the third embodiment is omitted to avoid complication.

例えば第1マイコン11の一方の受信専用CANコントローラ141に対応するANDゲート151の一方の端子には、第2CANトランシーバ26から主受信ライン237を経由して第2マイコン21へ出力される他受信信号が入力される。
また、第1マイコン11の他方の受信専用CANコントローラ142に対応するANDゲート152の一方の端子には、第3CANトランシーバ36から主受信ライン337を経由して第3マイコン31へ出力される他受信信号が入力される。
これにより、第1マイコン11は、2つの他マイコンである第2マイコン21及び第3マイコン31について、第1実施形態と同様の方式で故障を検出可能である。
For example, another reception signal output from the second CAN transceiver 26 to the second microcomputer 21 via the main reception line 237 is connected to one terminal of the AND gate 151 corresponding to one reception dedicated CAN controller 141 of the first microcomputer 11. Is entered.
The other reception signal output from the third CAN transceiver 36 to the third microcomputer 31 via the main reception line 337 is connected to one terminal of the AND gate 152 corresponding to the other reception-only CAN controller 142 of the first microcomputer 11. A signal is input.
Thereby, the 1st microcomputer 11 can detect a failure by the method similar to 1st Embodiment about the 2nd microcomputer 21 and the 3rd microcomputer 31 which are two other microcomputers.

同様に、第2マイコン21は、第1マイコン11及び第3マイコン31について故障を検出可能であり、第3マイコン31は、第2マイコン21及び第3マイコン31について故障を検出可能である。このように、3つの制御マイコン11、21、31は、それぞれ正常時に同じデータを用いて制御演算を行い、各駆動回路18、28、38に駆動信号を指令することでアクチュエータ80を駆動する。また、3つの制御マイコン11、21、31は、他マイコンの故障を互いに検出する。正常な制御マイコンは、故障したマイコンを特定し、対応するCAN通信バス61、62、63を経由して外部に通知する。   Similarly, the second microcomputer 21 can detect a failure in the first microcomputer 11 and the third microcomputer 31, and the third microcomputer 31 can detect a failure in the second microcomputer 21 and the third microcomputer 31. In this way, the three control microcomputers 11, 21, and 31 perform the control calculation using the same data at the normal time, and drive the actuator 80 by instructing the drive circuits 18, 28, and 38 to drive signals. Moreover, the three control microcomputers 11, 21, and 31 mutually detect the failure of the other microcomputers. The normal control microcomputer identifies the failed microcomputer and notifies the outside via the corresponding CAN communication bus 61, 62, 63.

このように第3実施形態は、第1実施形態での2系統冗長ECUにおける特徴的な技術的思想を、3系統冗長ECUに展開するものである。同様の技術的思想は、4系統以上の多系統冗長ECUに対しても同様に拡張可能である。また、第2実施形態によるマイコン内部にANDゲート機能を有する構成を、3系統以上のECUに同様に適用してもよい。   As described above, the third embodiment develops the characteristic technical idea of the two-system redundant ECU in the first embodiment to the three-system redundant ECU. The same technical idea can be similarly extended to four or more multi-system redundant ECUs. The configuration having an AND gate function in the microcomputer according to the second embodiment may be similarly applied to three or more ECUs.

(第4実施形態)
第4実施形態について、図8を参照して説明する。
第4実施形態のECU104は、同じデータが通信される2つのCAN通信バス61、62に接続され、同じデータを用いて冗長的に制御演算を行う2つの制御マイコン11、21に加え、さらに「監視マイコン」として第3マイコン41を備える。すなわち、ECU104は、第1実施形態のECU101の構成に加え、さらに第3マイコン41を備える。
破線で示すように、駆動回路18、28と協働してアクチュエータ80を駆動する駆動回路48は、設けられてもよいし、設けられなくてもよい。駆動回路48を設ける場合、第3マイコン41は、制御演算により生成した駆動信号を駆動回路48に指令する。
(Fourth embodiment)
A fourth embodiment will be described with reference to FIG.
The ECU 104 of the fourth embodiment is connected to two CAN communication buses 61 and 62 through which the same data is communicated, and in addition to the two control microcomputers 11 and 21 that perform control calculations redundantly using the same data, A third microcomputer 41 is provided as a “monitoring microcomputer”. That is, the ECU 104 further includes a third microcomputer 41 in addition to the configuration of the ECU 101 of the first embodiment.
As indicated by the broken line, the drive circuit 48 that drives the actuator 80 in cooperation with the drive circuits 18 and 28 may or may not be provided. When the drive circuit 48 is provided, the third microcomputer 41 instructs the drive circuit 48 with a drive signal generated by the control calculation.

第3マイコン41は、CPU42の他に、2つの受信専用CANコントローラ441、442を有しており、且つ、送受信用CANコントローラを備えていない。
第3マイコン41の外部には、各受信専用CANコントローラ441、442に対応するANDゲート451、452が設けられている。受信専用CANコントローラ441、442とANDゲート451、452との接続構成は、第1、第2マイコン11、21における受信専用CANコントローラ14、24とANDゲート15、25との接続構成と同様である。
The third microcomputer 41 includes, in addition to the CPU 42, two reception-only CAN controllers 441 and 442, and does not include a transmission / reception CAN controller.
Outside the third microcomputer 41, AND gates 451 and 452 corresponding to the reception-only CAN controllers 441 and 442 are provided. The connection configuration between the receive-only CAN controllers 441 and 442 and the AND gates 451 and 452 is the same as the connection configuration between the receive-only CAN controllers 14 and 24 and the AND gates 15 and 25 in the first and second microcomputers 11 and 21. .

受信専用CANコントローラ441に対応するANDゲート451の一方の端子には、第1CANトランシーバ16から第1マイコン11への出力が主受信ライン137を経由して入力される。したがって、第1マイコン11の故障は、第2マイコン21及び第3マイコン41により二重に検出可能である。
受信専用CANコントローラ442に対応するANDゲート452の一方の端子には、第2CANトランシーバ26から第2マイコン21への出力が主受信ライン237を経由して入力される。したがって、第2マイコン21の故障は、第1マイコン11及び第3マイコン41により二重に検出可能である。
An output from the first CAN transceiver 16 to the first microcomputer 11 is input to one terminal of the AND gate 451 corresponding to the reception-only CAN controller 441 via the main reception line 137. Therefore, the failure of the first microcomputer 11 can be detected twice by the second microcomputer 21 and the third microcomputer 41.
An output from the second CAN transceiver 26 to the second microcomputer 21 is input to one terminal of the AND gate 452 corresponding to the reception-only CAN controller 442 via the main reception line 237. Therefore, the failure of the second microcomputer 21 can be detected twice by the first microcomputer 11 and the third microcomputer 41.

したがって、第1マイコン11又は第2マイコン21による他マイコン故障検出機能が失われる異常が発生した場合でも、第3マイコン41により、第1マイコン11及び第2マイコン21の故障を検出することができる。ただし、第3マイコン41は、自身の演算結果をCAN通信バス61、62に出力しない。
このように、第4実施形態の第3マイコン41は、「制御マイコン」としての第1、第2マイコン11、21とは異なり、他の2つの制御マイコン11、21の故障を監視することを主目的とするものであり、「監視マイコン」という。監視マイコンである第3マイコン41は、駆動回路48へ駆動信号を指令する機能を有さず、他マイコンの監視のみを実行してもよい。
Therefore, even when an abnormality occurs in which the other microcomputer failure detection function of the first microcomputer 11 or the second microcomputer 21 is lost, the third microcomputer 41 can detect the failure of the first microcomputer 11 and the second microcomputer 21. . However, the third microcomputer 41 does not output its calculation result to the CAN communication buses 61 and 62.
Thus, unlike the first and second microcomputers 11 and 21 as the “control microcomputer”, the third microcomputer 41 of the fourth embodiment monitors the failure of the other two control microcomputers 11 and 21. This is the main purpose and is called “monitoring microcomputer”. The third microcomputer 41, which is a monitoring microcomputer, does not have a function of instructing a drive signal to the drive circuit 48, and may execute only monitoring of other microcomputers.

第4実施形態の例では、2つのCAN通信バス61、62に対し、ECU104が備える3つのマイコンのうち2つの制御マイコン11、21がCAN通信バス61、62と送受信し、それ以外の第3マイコン41が受信専用の「監視マイコン」として機能する。
第4実施形態に準ずる他の例では、ECUは、対応するCAN通信バスの数よりも多いマイコンを備える。例えば、2つのCAN通信バスに対し、ECUは、2つの制御マイコン及び2つの監視マイコンの計4つのマイコンを備えてもよい。或いは、3つのCAN通信バスに対し、ECUは、3つの制御マイコン及び1つの監視マイコンの計4つのマイコンを備えてもよい。
In the example of the fourth embodiment, for the two CAN communication buses 61 and 62, two control microcomputers 11 and 21 out of the three microcomputers included in the ECU 104 transmit and receive with the CAN communication buses 61 and 62, and the other third The microcomputer 41 functions as a “monitoring microcomputer” dedicated to reception.
In another example according to the fourth embodiment, the ECU includes more microcomputers than the corresponding number of CAN communication buses. For example, for two CAN communication buses, the ECU may include a total of four microcomputers including two control microcomputers and two monitoring microcomputers. Alternatively, for the three CAN communication buses, the ECU may include a total of four microcomputers including three control microcomputers and one monitoring microcomputer.

(その他の実施形態)
本発明は、電動パワーステアリング装置用のECUに限らず、同じデータが通信される複数のCAN通信バスに接続される複数の制御マイコンが冗長的に設けられた、いかなる電子制御装置に適用されてもよい。特に、高い信頼性が要求される車両搭載用の電子制御装置等に有効である。
以上、本発明はこのような実施形態に限定されるものではなく、発明の趣旨を逸脱しない範囲において、種々の形態で実施することができる。
(Other embodiments)
The present invention is not limited to an ECU for an electric power steering device, and is applied to any electronic control device provided with a plurality of control microcomputers redundantly connected to a plurality of CAN communication buses through which the same data is communicated. Also good. In particular, this is effective for a vehicle-mounted electronic control device that requires high reliability.
As mentioned above, this invention is not limited to such embodiment, In the range which does not deviate from the meaning of invention, it can implement with a various form.

101、102、103、104・・・ECU(電子制御装置)、
11、21・・・マイコン(制御マイコン)、
12、22・・・CPU、
13、23・・・(送受信用)CANコントローラ、
14、145、24、245・・・(受信専用)CANコントローラ、
15、25・・・ANDゲート
16、26・・・CANトランシーバ
41 ・・・マイコン(監視マイコン)、
61、62・・・CAN通信バス。
101, 102, 103, 104 ... ECU (electronic control unit),
11, 21 ... microcomputer (control microcomputer),
12, 22 ... CPU,
13, 23 ... (for transmission and reception) CAN controller,
14, 145, 24, 245 (reception only) CAN controller,
15, 25 ... AND gate 16, 26 ... CAN transceiver 41 ... microcomputer (monitoring microcomputer),
61, 62 ... CAN communication bus.

Claims (4)

同じデータが通信される複数のCAN通信バス(61、62)に接続され、前記複数のCAN通信バスから受信した同じデータを用いて制御演算を行うCPU(12、22)、送受信用CANコントローラ(13、23)、及び、1つ以上の受信専用CANコントローラ(14、145、24、245)を含む複数の制御マイコン(11、21)と、
前記複数の制御マイコンの前記送受信用CANコントローラと前記複数のCAN通信バスとの間の通信を中継する複数のCANトランシーバ(16、26)と、
を備え、
前記複数の制御マイコンのうち、注目する1つの制御マイコンを自マイコンとし、前記自マイコン以外の1つ以上の制御マイコンを他マイコンとすると、
前記自マイコンの前記受信専用CANコントローラの送信用端子(Tx)が送信する自送信信号と、前記他マイコンに対応する前記CANトランシーバから前記他マイコンの前記送受信用CANコントローラに通信される他受信信号との論理積を演算し、前記自マイコンの前記受信専用CANコントローラ(14、24)の受信用端子(Rx)に出力するANDゲート(15、25)が前記複数のマイコンの外部に設けられており、又は、前記受信専用CANコントローラ(145、245)の内部に前記ANDゲートの機能を有しており、
前記複数のマイコンは、前記受信専用CANコントローラに入力されたデータに基づいて、少なくとも他マイコンの故障を相互に検出可能である電子制御装置。
A CPU (12, 22) that is connected to a plurality of CAN communication buses (61, 62) to which the same data is communicated and performs a control operation using the same data received from the plurality of CAN communication buses, a transmission / reception CAN controller ( 13, 23) and a plurality of control microcomputers (11, 21) including one or more receive-only CAN controllers (14, 145, 24, 245),
A plurality of CAN transceivers (16, 26) for relaying communication between the transmission / reception CAN controllers of the plurality of control microcomputers and the plurality of CAN communication buses;
With
Of the plurality of control microcomputers, if one of the control microcomputers of interest is the own microcomputer, and one or more control microcomputers other than the own microcomputer are other microcomputers,
The own transmission signal transmitted from the transmission terminal (Tx) of the reception dedicated CAN controller of the own microcomputer and the other reception signal communicated from the CAN transceiver corresponding to the other microcomputer to the transmission / reception CAN controller of the other microcomputer. AND gates (15, 25) are provided outside the plurality of microcomputers to calculate the logical product of them and output them to the reception terminals (Rx) of the reception-only CAN controllers (14, 24) of the microcomputer. Or the reception-only CAN controller (145, 245) has the function of the AND gate,
The plurality of microcomputers are electronic control devices capable of mutually detecting at least a failure of another microcomputer based on data input to the reception-only CAN controller.
前記複数のマイコンは、前記受信専用CANコントローラに入力されたデータに基づいて、前記他マイコンに対応する前記CANトランシーバ又は前記CAN通信バスの故障をさらに検出可能である請求項1に記載の電子制御装置。   The electronic control according to claim 1, wherein the plurality of microcomputers can further detect a failure of the CAN transceiver or the CAN communication bus corresponding to the other microcomputer based on data input to the reception-only CAN controller. apparatus. 前記ANDゲートは、前記複数の制御マイコンの外部に設けられている請求項1または2に記載の電子制御装置。   The electronic control device according to claim 1, wherein the AND gate is provided outside the plurality of control microcomputers. 前記他マイコンの故障を相互に検出可能な前記複数の制御マイコンに加え、前記受信専用CANコントローラ(441、442)を含み前記他マイコンの故障を検出可能な1つ以上の監視マイコン(41)をさらに備える請求項1〜3のいずれか一項に記載の電子制御装置。   In addition to the plurality of control microcomputers capable of mutually detecting a failure of the other microcomputer, one or more monitoring microcomputers (41) including the reception-only CAN controller (441, 442) and capable of detecting a failure of the other microcomputer are provided. The electronic control device according to claim 1, further comprising:
JP2016153475A 2016-08-04 2016-08-04 Electronic control unit Active JP6717104B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2016153475A JP6717104B2 (en) 2016-08-04 2016-08-04 Electronic control unit
DE102017213401.1A DE102017213401A1 (en) 2016-08-04 2017-08-02 ELECTRONIC CONTROL UNIT

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016153475A JP6717104B2 (en) 2016-08-04 2016-08-04 Electronic control unit

Publications (2)

Publication Number Publication Date
JP2018020678A true JP2018020678A (en) 2018-02-08
JP6717104B2 JP6717104B2 (en) 2020-07-01

Family

ID=60996506

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016153475A Active JP6717104B2 (en) 2016-08-04 2016-08-04 Electronic control unit

Country Status (2)

Country Link
JP (1) JP6717104B2 (en)
DE (1) DE102017213401A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032110B (en) * 2018-06-21 2020-07-14 成都雅骏新能源汽车科技股份有限公司 Automatic test platform for electric automobile controller

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56145447A (en) * 1980-04-11 1981-11-12 Panafacom Ltd Interface control system of multisystem
EP1359057A2 (en) * 2002-04-24 2003-11-05 CNH Italia S.p.A. Vehicle data transmission system with link redundancy
JP2008505012A (en) * 2004-07-06 2008-02-21 ダイムラー・アクチェンゲゼルシャフト Redundant data bus system
JP2008271040A (en) * 2007-04-18 2008-11-06 Toyota Motor Corp Communication apparatus and communication system
JP2016126716A (en) * 2015-01-08 2016-07-11 株式会社デンソー Electronic control device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5299261B2 (en) 2009-12-24 2013-09-25 株式会社デンソー Electronic control unit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56145447A (en) * 1980-04-11 1981-11-12 Panafacom Ltd Interface control system of multisystem
EP1359057A2 (en) * 2002-04-24 2003-11-05 CNH Italia S.p.A. Vehicle data transmission system with link redundancy
JP2008505012A (en) * 2004-07-06 2008-02-21 ダイムラー・アクチェンゲゼルシャフト Redundant data bus system
JP2008271040A (en) * 2007-04-18 2008-11-06 Toyota Motor Corp Communication apparatus and communication system
JP2016126716A (en) * 2015-01-08 2016-07-11 株式会社デンソー Electronic control device

Also Published As

Publication number Publication date
JP6717104B2 (en) 2020-07-01
DE102017213401A1 (en) 2018-02-08

Similar Documents

Publication Publication Date Title
JP6747329B2 (en) Rotating electric machine control device
CN109478858B (en) Motor control device and electric power steering device
JP5257050B2 (en) Electric power steering device
JP7225689B2 (en) motor controller
JP2015081013A (en) Electric power steering controller
WO2021085228A1 (en) Motor drive system
US20220250675A1 (en) Steering control device and steering assist system including same
JP2005306124A (en) Vehicle control device
US11973453B2 (en) Motor drive system
WO2020149035A1 (en) Vehicle-mounted equipment control device
JP6717104B2 (en) Electronic control unit
JP4742688B2 (en) Vehicle control device
JP4969662B2 (en) Vehicle control device
US11691519B2 (en) Electrically driven vehicle
JP7172952B2 (en) motor drive system
CN107921994B (en) Device for operating a power steering system and power steering system
JP2020129851A (en) Motor control device
WO2021192936A1 (en) Device and method for controlling vehicle operating mechanism
US20230202553A1 (en) Rudder system
CN114174147B (en) Steering assist system and electronic control device
JP5811279B2 (en) Vehicle steering control device
JP4844813B2 (en) Redundant control system
JP2020147191A (en) Motor control device for electric power steering
JP2015115640A (en) Communication control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190617

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200330

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200525

R151 Written notification of patent or utility model registration

Ref document number: 6717104

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250