JP2016091162A - Electronic control device - Google Patents

Electronic control device Download PDF

Info

Publication number
JP2016091162A
JP2016091162A JP2014222504A JP2014222504A JP2016091162A JP 2016091162 A JP2016091162 A JP 2016091162A JP 2014222504 A JP2014222504 A JP 2014222504A JP 2014222504 A JP2014222504 A JP 2014222504A JP 2016091162 A JP2016091162 A JP 2016091162A
Authority
JP
Japan
Prior art keywords
microcomputer
communication
wiring
signal
control device
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
JP2014222504A
Other languages
Japanese (ja)
Other versions
JP6536011B2 (en
Inventor
酒井 直人
Naoto Sakai
直人 酒井
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 JP2014222504A priority Critical patent/JP6536011B2/en
Priority to DE102015220964.4A priority patent/DE102015220964B4/en
Publication of JP2016091162A publication Critical patent/JP2016091162A/en
Application granted granted Critical
Publication of JP6536011B2 publication Critical patent/JP6536011B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning

Abstract

PROBLEM TO BE SOLVED: To provide an electronic control device capable of notifying an external device of abnormality in a microcomputer while stopping communication between the microcomputer and the external device.SOLUTION: An electronic control device includes a microcomputer 10, a monitoring unit 20 for monitoring the state of the microcomputer, and a communication unit 30 for performing communication between the microcomputer and an external device 200 via a bus wiring 300. If the monitoring unit detects abnormality in the microcomputer, it stops the microcomputer from communicating with the external device, and outputs an error signal including information indicating the abnormality in the microcomputer to the external device via the communication unit.SELECTED DRAWING: Figure 1

Description

本発明は、外部装置と通信を行う電子制御装置に関するものである。   The present invention relates to an electronic control device that communicates with an external device.

特許文献1に示されるように、自動車の内燃機関の駆動シーケンスを制御するための制御装置が知られている。制御装置は機能計算機を有しており、この機能計算機は接続ユニットを介してCANバスシステムと接続され、その機能が監視モジュールによって監視されている。機能計算機にエラーが生じると監視モジュールはエラー信号を生成し、接続ユニットのリセットへ出力する。これにより接続ユニットが非能動化され、故障した機能計算機による外部の制御装置への情報の送信が阻止される。   As shown in Patent Document 1, a control device for controlling a driving sequence of an internal combustion engine of an automobile is known. The control device has a function computer, which is connected to the CAN bus system via a connection unit, and its function is monitored by the monitoring module. When an error occurs in the functional computer, the monitoring module generates an error signal and outputs it to the reset of the connection unit. As a result, the connection unit is deactivated, and transmission of information to the external control device by the failed function computer is prevented.

特許第5021163号公報Japanese Patent No. 5021163

上記したように特許文献1に示される制御装置では、故障した機能計算機によるCANバスシステムを介した情報の送信を阻止するべく接続ユニットが非能動化されている。したがって機能計算機にエラーが生じたことを示すエラー信号を、CANバスシステムを介して外部の制御装置に送信することができなかった。   As described above, in the control device disclosed in Patent Document 1, the connection unit is deactivated in order to prevent transmission of information via the CAN bus system by the failed functional computer. Therefore, an error signal indicating that an error has occurred in the function computer cannot be transmitted to an external control device via the CAN bus system.

そこで本発明は上記問題点に鑑み、異常状態の機能計算機(マイクロコンピュータ)と外部の制御装置(外部装置)との通信を止めさせつつ、マイクロコンピュータの異常を外部装置に通知可能な電子制御装置を提供することを目的とする。   In view of the above problems, the present invention is an electronic control device capable of notifying an external device of an abnormality of a microcomputer while stopping communication between a function computer (microcomputer) in an abnormal state and an external control device (external device). The purpose is to provide.

上記した目的を達成するための第1発明は、マイクロコンピュータ(10)と、
マイクロコンピュータの状態を監視する監視部(20)と、
マイクロコンピュータと外部装置(200)との間でバス配線(300)を介して通信を行うための通信部(30)と、を有し、
監視部はマイクロコンピュータの異常を検知すると、マイクロコンピュータの外部装置との通信を止めさせるとともに、マイクロコンピュータに異常が生じたことを示すエラー信号を、通信部を介して外部装置に出力することを特徴とする。
A first invention for achieving the above-described object includes a microcomputer (10),
A monitoring unit (20) for monitoring the state of the microcomputer;
A communication unit (30) for performing communication between the microcomputer and the external device (200) via the bus wiring (300),
When the monitoring unit detects an abnormality in the microcomputer, the monitoring unit stops communication with the external device of the microcomputer and outputs an error signal indicating that the abnormality has occurred in the microcomputer to the external device through the communication unit. Features.

これによれば異常状態のマイクロコンピュータ(10)と外部装置との通信が止められ、マイクロコンピュータ(10)の異常がバス配線(300)へのエラー信号の送信によって外部装置(200)に通知される。したがって通信部を非駆動状態にしてマイクロコンピュータからの信号の途絶によって外部装置にマイクロコンピュータの異常を判定させる構成とは異なり、外部装置(200)にてマイクロコンピュータ(10)の異常を早く検出させることができる。さらに例示すれば、バス配線とは別にエラー信号を外部装置に出力するための信号線が電子制御装置と外部装置との間に設けられる構成とは異なり、このような信号線は不要なので、コストの増大が抑制される。   According to this, communication between the microcomputer (10) in an abnormal state and the external device is stopped, and the abnormality of the microcomputer (10) is notified to the external device (200) by transmitting an error signal to the bus wiring (300). The Therefore, unlike the configuration in which the communication unit is set to the non-driven state and the external device determines the abnormality of the microcomputer due to the interruption of the signal from the microcomputer, the external device (200) detects the abnormality of the microcomputer (10) early. be able to. Further, for example, unlike a configuration in which a signal line for outputting an error signal to an external device is provided between the electronic control device and the external device separately from the bus wiring, such a signal line is unnecessary, so that the cost is reduced. Increase is suppressed.

なお上記したようにマイクロコンピュータ(10)の外部装置(200)との通信を止めさせる具体的な構成としては、第2発明のように、マイクロコンピュータと通信部とを接続するための通信配線(11)に設けられたスイッチ(40)を有し、監視部はマイクロコンピュータの異常を検知すると、スイッチを非駆動状態にしてマイクロコンピュータと通信部との電気的な接続を遮断する構成を採用することができる。このように上記発明ではマイクロコンピュータ(10)の外部装置(200)との通信を止めさせる部材としてスイッチ(40)を採用している。したがってこの部材として上記の信号線を採用した構成とは異なり、外部装置(200)の数に応じて部材の数が増大しない。そのためにコストの増大が抑制される。   As described above, as a specific configuration for stopping communication with the external device (200) of the microcomputer (10), communication wiring for connecting the microcomputer and the communication unit (as in the second invention) ( 11) having a switch (40) provided in 11), and when the monitoring unit detects an abnormality of the microcomputer, the switch is brought into a non-driven state to cut off the electrical connection between the microcomputer and the communication unit. be able to. As described above, in the above invention, the switch (40) is employed as a member for stopping communication with the external device (200) of the microcomputer (10). Therefore, unlike the configuration in which the signal line is used as the member, the number of members does not increase according to the number of external devices (200). Therefore, an increase in cost is suppressed.

なお、特許請求の範囲に記載の請求項、および、課題を解決するための手段それぞれに記載の要素に括弧付きで符号をつけている。この括弧付きの符号は実施形態に記載の各構成要素との対応関係を簡易的に示すためのものであり、実施形態に記載の要素そのものを必ずしも示しているわけではない。括弧付きの符号の記載は、いたずらに特許請求の範囲を狭めるものではない。   In addition, the code | symbol with the parenthesis is attached | subjected to the element as described in the claim as described in a claim, and each means for solving a subject. The reference numerals in parentheses are for simply indicating the correspondence with each component described in the embodiment, and do not necessarily indicate the element itself described in the embodiment. The description of the reference numerals with parentheses does not unnecessarily narrow the scope of the claims.

第1実施形態に係る電子制御装置の概略構成を示すブロック図である。It is a block diagram showing a schematic structure of an electronic control unit concerning a 1st embodiment. 電子制御装置の信号を示すタイミングチャートである。It is a timing chart which shows the signal of an electronic controller. 比較構成を説明するための概念図である。It is a conceptual diagram for demonstrating a comparison structure. 電子制御装置の変形例を示すブロック図である。It is a block diagram which shows the modification of an electronic controller. 電子制御装置の変形例を示すブロック図である。It is a block diagram which shows the modification of an electronic controller. 電子制御装置の変形例を示すブロック図である。It is a block diagram which shows the modification of an electronic controller. 電子制御装置の変形例を示すブロック図である。It is a block diagram which shows the modification of an electronic controller.

以下、本発明をハイブリッド自動車の電子制御装置(ECU)に適用した場合の実施形態を図に基づいて説明する。
(第1実施形態)
図1〜図3に基づいて本実施形態に係る電子制御装置を説明する。なお図1では電子制御装置100の他に制御装置200とバス配線300を図示している。
DESCRIPTION OF EMBODIMENTS Hereinafter, an embodiment in which the present invention is applied to an electronic control unit (ECU) of a hybrid vehicle will be described with reference to the drawings.
(First embodiment)
The electronic control device according to this embodiment will be described with reference to FIGS. In addition to the electronic control device 100, the control device 200 and the bus wiring 300 are shown in FIG.

図1に示すように電子制御装置100はバス配線300を介して複数の制御装置200それぞれと信号を送受信可能となっている。電子制御装置100と複数の制御装置200それぞれはハイブリッド自動車の制御系統を成す構成要素であって、例えばエンジンECU、ブレーキECU、バッテリーECU、モータECU、および、ハイブリッドECUなどである。これらは上記したようにバス配線300を介して信号を送受信可能となっているが、通信プロトコルとしてはCAN通信を採用している。したがってバス配線300に複数の信号が存在する場合、その信号の内の最も優先度の高い信号を発した装置が送信側になり、他の装置が受信側となる。複数の制御装置200によって特許請求の範囲に記載の外部装置が構成されている。   As shown in FIG. 1, the electronic control device 100 can transmit / receive signals to / from each of the plurality of control devices 200 via the bus wiring 300. Each of the electronic control device 100 and the plurality of control devices 200 is a component constituting a control system of a hybrid vehicle, and is, for example, an engine ECU, a brake ECU, a battery ECU, a motor ECU, a hybrid ECU, or the like. These can transmit and receive signals via the bus wiring 300 as described above, but adopt CAN communication as a communication protocol. Therefore, when there are a plurality of signals on the bus wiring 300, the device that has issued the signal with the highest priority among the signals is the transmitting side, and the other device is the receiving side. The plurality of control devices 200 constitute the external device described in the claims.

電子制御装置100はマイクロコンピュータ10(以下、マイコン10と示す)、監視部20、通信部30、スイッチ40、および、逆流防止素子51,52を有する。図1に白抜き双方向矢印で示すようにマイコン10と監視部20とは内部通信によって互いに信号を送受信可能となっており、監視部20とマイコン10とはリセット配線22を介して電気的に接続されている。そしてマイコン10の出力端子には通信配線11が接続され、監視部20の出力端子にはエラー配線21が接続されている。そしてこれら2つの配線11,21それぞれの通信部30側の端部が互いに結線され、その結線された部位から通信部30の入力端子へと共通配線53が延びている。また上記した通信配線11にはスイッチ40と第1逆流防止素子51それぞれが設けられ、エラー配線21には第2逆流防止素子52が設けられている。そして通信部30の入出力端子が入出力配線31を介してバス配線300と電気的に接続され、その出力端子とマイコン10の入力端子とが受信配線32を介して電気的に接続されている。   The electronic control device 100 includes a microcomputer 10 (hereinafter, referred to as a microcomputer 10), a monitoring unit 20, a communication unit 30, a switch 40, and backflow prevention elements 51 and 52. 1, the microcomputer 10 and the monitoring unit 20 can transmit and receive signals to each other through internal communication. The monitoring unit 20 and the microcomputer 10 are electrically connected via a reset wiring 22. It is connected. The communication wiring 11 is connected to the output terminal of the microcomputer 10, and the error wiring 21 is connected to the output terminal of the monitoring unit 20. The ends of the two wirings 11 and 21 on the communication unit 30 side are connected to each other, and a common wiring 53 extends from the connected part to the input terminal of the communication unit 30. The communication wiring 11 is provided with the switch 40 and the first backflow prevention element 51, and the error wiring 21 is provided with the second backflow prevention element 52. The input / output terminal of the communication unit 30 is electrically connected to the bus line 300 via the input / output line 31, and the output terminal and the input terminal of the microcomputer 10 are electrically connected via the reception line 32. .

以上の電気的な接続構成により、マイコン10は通信配線11、スイッチ40、第1逆流防止素子51、および、共通配線53を介して通信部30へ信号を送信可能となっている。そしてマイコン10は受信配線32を介して通信部30から入力されるバス配線300の信号を受信可能となっている。また監視部20はエラー配線21、第2逆流防止素子52、および、共通配線53を介して通信部30へ信号を送信可能となっている。そして監視部20はリセット配線22を介してマイコン10へ信号を送信可能となっており、内部通信によってマイコン10と信号を送受信可能となっている。なお、内部通信はSPI(Serial Peripheral Interface)を介して行われる。   With the above electrical connection configuration, the microcomputer 10 can transmit a signal to the communication unit 30 via the communication wiring 11, the switch 40, the first backflow prevention element 51, and the common wiring 53. The microcomputer 10 can receive the signal of the bus wiring 300 input from the communication unit 30 via the reception wiring 32. The monitoring unit 20 can transmit a signal to the communication unit 30 via the error wiring 21, the second backflow prevention element 52, and the common wiring 53. The monitoring unit 20 can transmit signals to the microcomputer 10 via the reset wiring 22 and can transmit and receive signals to and from the microcomputer 10 by internal communication. The internal communication is performed via an SPI (Serial Peripheral Interface).

マイコン10は複数の制御装置200との通信に基づいて互いに協調しながらアクチュエータ(図示略)を制御するものである。マイコン10は動作モードとして、消費電力の抑えられた低消費モード、上記した通信や制御を行う通常動作モード、低消費モード若しくは停止状態から通常動作モードへと移行するための起動処理を行う初期化モードを有する。図2に示すように車両のイグニッションスイッチ(IGスイッチ)がオン状態になると電子制御装置100は初期化シーケンスを行うが、この際にマイコン10は停止状態から初期化モードに移行する。この初期化モードにおいてマイコン10は、監視部20、エラー配線21、共通配線53、通信部30、および、入出力配線31を介してバス配線300にチェック信号を出力する。このチェック信号は制御装置200と応答処理するための信号ではなく、マイコン10の監視状態および通信状態の信頼性が確保されているか否かをチェックするための信号である。したがってバス配線300に出力したチェック信号そのものが入出力配線31を介して通信部30に入力され、受信配線32を介して通信部30からマイコン10にチェック信号が送信される。マイコン10は受信したチェック信号が送信したチェック信号と同一か否かを判定する。同一の場合、上記したチェック信号の通った監視部20、エラー配線21、第2逆流防止素子52、共通配線53、通信部30、入出力配線31、および、受信配線32それぞれが正常であるとマイコン10は判定する。これとは異なり同一ではない場合、上記のいずれか1つに異常があるとマイコン10は判定する。この場合、マイコン10は監視状態および通信状態の信頼性が確保されていないと判定し、制御装置200との通信を止める。またマイコン10は初期化モードから通常動作モードに移行すると監視信号を生成し、この監視信号を監視部20へ出力する。本実施形態に係る監視信号は、監視部20から送られる種々の簡易的な質問信号に対する応答信号である。   The microcomputer 10 controls an actuator (not shown) in cooperation with each other based on communication with a plurality of control devices 200. As an operation mode, the microcomputer 10 performs initialization processing for shifting from a low power consumption mode with reduced power consumption, a normal operation mode for performing communication and control as described above, a low power consumption mode or a stopped state to a normal operation mode. Has a mode. As shown in FIG. 2, when the ignition switch (IG switch) of the vehicle is turned on, the electronic control unit 100 performs an initialization sequence. At this time, the microcomputer 10 shifts from the stopped state to the initialization mode. In this initialization mode, the microcomputer 10 outputs a check signal to the bus wiring 300 via the monitoring unit 20, error wiring 21, common wiring 53, communication unit 30, and input / output wiring 31. This check signal is not a signal for performing response processing with the control device 200 but a signal for checking whether or not the reliability of the monitoring state and the communication state of the microcomputer 10 is ensured. Therefore, the check signal itself output to the bus wiring 300 is input to the communication unit 30 via the input / output wiring 31, and the check signal is transmitted from the communication unit 30 to the microcomputer 10 via the reception wiring 32. The microcomputer 10 determines whether or not the received check signal is the same as the transmitted check signal. In the same case, the monitoring unit 20, the error wiring 21, the second backflow prevention element 52, the common wiring 53, the communication unit 30, the input / output wiring 31, and the reception wiring 32 through which the check signal has passed are normal. The microcomputer 10 determines. On the other hand, if they are not the same, the microcomputer 10 determines that any one of the above is abnormal. In this case, the microcomputer 10 determines that the reliability of the monitoring state and the communication state is not ensured, and stops communication with the control device 200. Further, the microcomputer 10 generates a monitoring signal when shifting from the initialization mode to the normal operation mode, and outputs the monitoring signal to the monitoring unit 20. The monitoring signal according to the present embodiment is a response signal to various simple question signals sent from the monitoring unit 20.

監視部20は上記した質問信号をマイコン10に出力し、マイコン10から返答される監視信号に基づいてマイコン10の状態を監視するものである。監視部20は上記した質問信号に対する正しい監視信号の返答がなされたか否かを判定する。監視部20は正しい監視信号の返答がなされた場合、マイコン10は正常であると判定して監視を継続する。これとは異なり誤った監視信号の返答がなされた場合、監視部20はマイコン10が異常であると判定する。マイコン10の異常を検知すると、監視部20はマイコン10の制御装置200との通信を止めさせるとともに、エラー信号を通信部30を介して制御装置200に出力する。また監視部20は上記のチェック信号を受信すると、そのチェック信号そのものを通信部30へと出力する。   The monitoring unit 20 outputs the above-described interrogation signal to the microcomputer 10 and monitors the state of the microcomputer 10 based on the monitoring signal returned from the microcomputer 10. The monitoring unit 20 determines whether or not a correct monitoring signal response to the above-described question signal has been made. If the monitoring unit 20 returns a correct monitoring signal, the microcomputer 10 determines that the microcomputer 10 is normal and continues monitoring. On the other hand, when an incorrect monitoring signal is returned, the monitoring unit 20 determines that the microcomputer 10 is abnormal. When the abnormality of the microcomputer 10 is detected, the monitoring unit 20 stops communication with the control device 200 of the microcomputer 10 and outputs an error signal to the control device 200 via the communication unit 30. When the monitoring unit 20 receives the check signal, the monitoring unit 20 outputs the check signal itself to the communication unit 30.

監視部20は制御装置200との通信を止めさせるため、図2に示すようにリセット信号をマイコン10に出力する。こうすることでマイコン10を異常状態から強制的に初期化モードに移行させて、起動処理を行わせる。また監視部20はスイッチ40を非駆動状態(オフ状態)にして、マイコン10と通信部30との電気的な接続を遮断する。こうすることでマイコン10の制御装置200との通信を止める。また監視部20は通信部30を介してエラー信号を制御装置200に出力する。後で詳説するが、複数の制御装置200それぞれはエラー信号を受信すると第2通信状態になり、電子制御装置100との通信を止めて、複数の制御装置200間のみで通信を行う。   The monitoring unit 20 outputs a reset signal to the microcomputer 10 as shown in FIG. 2 in order to stop communication with the control device 200. By doing so, the microcomputer 10 is forcibly shifted from the abnormal state to the initialization mode, and the startup process is performed. In addition, the monitoring unit 20 sets the switch 40 to a non-driven state (off state), and interrupts the electrical connection between the microcomputer 10 and the communication unit 30. By doing so, communication with the control device 200 of the microcomputer 10 is stopped. The monitoring unit 20 outputs an error signal to the control device 200 via the communication unit 30. As will be described in detail later, each of the plurality of control devices 200 enters the second communication state upon receiving an error signal, stops communication with the electronic control device 100, and performs communication only between the plurality of control devices 200.

通信部30はCANトランシーバであり、マイコン10とバス配線300との間で信号を送受信するものである。上記したように通信部30にはマイコン10の信号の他に、監視部20から出力されたエラー信号も入力される。通信部30はこのエラー信号をバス配線300に送信することで、上記のように複数の制御装置200それぞれを第2通信状態にする。   The communication unit 30 is a CAN transceiver that transmits and receives signals between the microcomputer 10 and the bus wiring 300. As described above, in addition to the signal from the microcomputer 10, the error signal output from the monitoring unit 20 is also input to the communication unit 30. The communication unit 30 transmits this error signal to the bus wiring 300, thereby bringing each of the plurality of control devices 200 into the second communication state as described above.

スイッチ40はマイコン10と通信部30との電気的な接続を制御するものである。このスイッチ40の駆動状態は監視部20によって制御されている。マイコン10が低消費モード、初期化モード、若しくは、異常状態の場合、スイッチ40は監視部20によって非駆動状態にされる。これによりマイコン10の信号がスイッチ40を介してバス配線300に送信されることが防止される。これとは異なりマイコン10が通常動作モードの場合、スイッチ40は監視部20によって駆動状態とされる。これによりマイコン10の信号がスイッチ40を介してバス配線300に送信されることが可能となる。   The switch 40 controls the electrical connection between the microcomputer 10 and the communication unit 30. The driving state of the switch 40 is controlled by the monitoring unit 20. When the microcomputer 10 is in the low consumption mode, the initialization mode, or the abnormal state, the switch 40 is brought into a non-driven state by the monitoring unit 20. This prevents the signal from the microcomputer 10 from being transmitted to the bus wiring 300 via the switch 40. In contrast, when the microcomputer 10 is in the normal operation mode, the switch 40 is driven by the monitoring unit 20. As a result, the signal of the microcomputer 10 can be transmitted to the bus wiring 300 via the switch 40.

第1逆流防止素子51はエラー配線21の信号(エラー信号)がマイコン10に入力することを防止するものであり、第2逆流防止素子52は通信配線11の信号(マイコン10から送信された信号)が監視部20に入力することを防止するものである。本実施形態において逆流防止素子51,52それぞれはダイオードであり、第1逆流防止素子51のアノード電極がスイッチ40を介してマイコン10に接続され、そのカソード電極が共通配線53を介して通信部30に接続されている。また第2逆流防止素子52のアノード電極が監視部20に接続され、そのカソード電極が共通配線53を介して通信部30に接続されている。   The first backflow prevention element 51 prevents a signal (error signal) from the error wiring 21 from being input to the microcomputer 10, and the second backflow prevention element 52 is a signal from the communication wiring 11 (a signal transmitted from the microcomputer 10). ) Is prevented from being input to the monitoring unit 20. In the present embodiment, each of the backflow prevention elements 51 and 52 is a diode, the anode electrode of the first backflow prevention element 51 is connected to the microcomputer 10 via the switch 40, and the cathode electrode thereof is connected to the communication unit 30 via the common wiring 53. It is connected to the. Further, the anode electrode of the second backflow prevention element 52 is connected to the monitoring unit 20, and the cathode electrode thereof is connected to the communication unit 30 via the common wiring 53.

次に、電子制御装置100と複数の制御装置200の通信状態について説明する。上記したように電子制御装置100と複数の制御装置200それぞれはハイブリッド自動車の制御系統を成す構成要素であって、同一の通信規則に従って信号を送受信する。電子制御装置100と複数の制御装置200とは上記のエラー信号を相互に出力し、そのエラー信号の受信時間(エラーカウント値)に応じて通信状態が変化する。   Next, a communication state between the electronic control device 100 and the plurality of control devices 200 will be described. As described above, each of the electronic control device 100 and the plurality of control devices 200 is a component constituting the control system of the hybrid vehicle, and transmits and receives signals according to the same communication rule. The electronic control device 100 and the plurality of control devices 200 mutually output the above error signal, and the communication state changes according to the reception time (error count value) of the error signal.

本実施形態ではバス配線300の通信速度が500kbpsとなっており、2μsecに1bitの信号を送信する。そして上記のエラー信号として本実施形態では12μsecのエラーフレームが12μsec間隔で16回出力される。したがってエラー信号の受信に係る時間は372μsecとなる。   In this embodiment, the communication speed of the bus wiring 300 is 500 kbps, and a 1-bit signal is transmitted every 2 μsec. In this embodiment, an error frame of 12 μsec is output 16 times at 12 μsec intervals as the above error signal. Therefore, the time for receiving the error signal is 372 μsec.

電子制御装置100と複数の制御装置200は上記のエラーフレームをカウントするエラーカウンタを有しており、1つのエラーフレームを検出する度にエラーカウント値を8だけインクリメントする。したがって上記のエラー信号に含まれる全てのエラーフレームを受信するとエラーカウント値が128となる。   The electronic control device 100 and the plurality of control devices 200 have an error counter that counts the above error frame, and increments the error count value by 8 each time one error frame is detected. Therefore, when all error frames included in the error signal are received, the error count value becomes 128.

電子制御装置100と複数の制御装置200はエラーカウント値が128よりも小さい場合、すなわち、エラー信号の受信時間が372μsecよりも短い場合、電子制御装置100と複数の制御装置200とは相互に通信を行う第1通信状態になる。しかしながら例えば電子制御装置100から上記のエラー信号が送信され、複数の制御装置200のエラーカウント値が128を越えた場合、複数の制御装置200の通信状態が変化する。すなわち、エラーカウント値が128を越えた場合(エラー時間の受信時間が372μsecを超えた場合)、複数の制御装置200それぞれは電子制御装置100との通信を止めて複数の制御装置200の間だけで通信を行う第2通信状態になる。上記の372μsecが特許請求の範囲に記載の第1所定時間に相当する。   When the electronic control device 100 and the plurality of control devices 200 have an error count value smaller than 128, that is, when the error signal reception time is shorter than 372 μsec, the electronic control device 100 and the plurality of control devices 200 communicate with each other. To enter the first communication state. However, for example, when the above error signal is transmitted from the electronic control device 100 and the error count value of the plurality of control devices 200 exceeds 128, the communication state of the plurality of control devices 200 changes. That is, when the error count value exceeds 128 (when the error time reception time exceeds 372 μsec), each of the plurality of control devices 200 stops communication with the electronic control device 100 and only between the plurality of control devices 200. The second communication state in which communication is performed becomes. Said 372 microseconds is equivalent to the 1st predetermined time as described in a claim.

また電子制御装置100と複数の制御装置200それぞれは、互いに信号の送信時間間隔を計測しており、この計測時間が50msecを上回った場合においても第2通信状態になる。したがって例えば電子制御装置100から何も信号が送信されなくなり、マイコン10からの信号の途絶が50msecを超えると、複数の制御装置200それぞれは第2通信状態になる。上記の50msecが特許請求の範囲に記載の第2所定時間に相当する。なお、エラーカウント値のインクリメントのみを説明したが、電子制御装置100と複数の制御装置200それぞれは正常に通信を行っている際に、所定間隔で通信が正常に行われていることを示す正常フレームを出力する。この正常フレームを受信すると、エラーカウント値が1だけディクリメントされる。   Each of the electronic control device 100 and the plurality of control devices 200 measures the signal transmission time interval, and the second communication state is entered even when the measurement time exceeds 50 msec. Therefore, for example, when no signal is transmitted from the electronic control device 100 and the interruption of the signal from the microcomputer 10 exceeds 50 msec, each of the plurality of control devices 200 enters the second communication state. The above 50 msec corresponds to the second predetermined time described in the claims. Although only the increment of the error count value has been described, when the electronic control device 100 and each of the plurality of control devices 200 are normally communicating, normal indicating that communication is normally performed at a predetermined interval. Output a frame. When this normal frame is received, the error count value is decremented by one.

次に、電子制御装置100と複数の制御装置200との通信を図2に基づいてまとめて説明する。車両のイグニッションスイッチがオフ状態からオン状態に移行すると、電子制御装置100と複数の制御装置200それぞれは初期化シーケンスを行う。そして電子制御装置100のマイコン10はチェック信号を監視部20に出力する。このチェック信号は監視部20からエラー配線21、第2逆流防止素子52、共通配線53、通信部30、および、入出力配線31を介してバス配線300に出力される。そしてチェック信号はバス配線300から入出力配線31、通信部30、および、受信配線32を介してマイコン10に入力される。図2に示すように受信配線32のチェック信号と送信配線11のチェック信号とが同一の場合、マイコン10は監視状態および通信状態の信頼性が確保されていると判定し、通常動作モードに移行する。   Next, communication between the electronic control device 100 and the plurality of control devices 200 will be described collectively with reference to FIG. When the ignition switch of the vehicle shifts from the off state to the on state, the electronic control device 100 and the plurality of control devices 200 each perform an initialization sequence. Then, the microcomputer 10 of the electronic control device 100 outputs a check signal to the monitoring unit 20. This check signal is output from the monitoring unit 20 to the bus wiring 300 via the error wiring 21, the second backflow prevention element 52, the common wiring 53, the communication unit 30, and the input / output wiring 31. The check signal is input from the bus wiring 300 to the microcomputer 10 via the input / output wiring 31, the communication unit 30, and the reception wiring 32. As shown in FIG. 2, when the check signal of the reception wiring 32 and the check signal of the transmission wiring 11 are the same, the microcomputer 10 determines that the reliability of the monitoring state and the communication state is secured, and shifts to the normal operation mode. To do.

マイコン10が通常動作モードに移行すると監視部20はマイコン10に質問信号を出力して監視信号を監視するとともに、スイッチ40をオン状態にする。こうすることで監視部20はマイコン10の状態を監視するとともに、送信配線11と共通配線53とを介してマイコン10の信号を通信部30に出力させる。バス配線300および受信配線32それぞれにはマイコン10の送信した信号と複数の制御装置200の送信した信号とが含まれている。これら複数の信号の内の最も優先度の高い信号を発した装置が送信側になり、他の装置が受信側となる。この時にマイコン10と複数の制御装置200とは相互に信号を送受信する第1通信状態となっている。   When the microcomputer 10 shifts to the normal operation mode, the monitoring unit 20 outputs a question signal to the microcomputer 10 to monitor the monitoring signal, and turns on the switch 40. By doing so, the monitoring unit 20 monitors the state of the microcomputer 10 and causes the communication unit 30 to output a signal of the microcomputer 10 via the transmission wiring 11 and the common wiring 53. Each of the bus wiring 300 and the reception wiring 32 includes a signal transmitted from the microcomputer 10 and a signal transmitted from the plurality of control devices 200. Of these plural signals, the device that has issued the signal with the highest priority is the transmitting side, and the other device is the receiving side. At this time, the microcomputer 10 and the plurality of control devices 200 are in a first communication state in which signals are transmitted / received to / from each other.

しかしながら図2に示すようにマイコン10の異常が監視部20によって検知されると、監視部20は以下の処理を行う。すなわち監視部20はスイッチ40を非駆動状態にしてマイコン10と通信部30との電気的な接続を遮断し、マイコン10にリセット信号を出力する。また監視部20はエラー信号を通信部30を介してバス配線300に出力する。これにより異常状態のマイコン10と複数の制御装置200との通信が行われることが防止され、複数の制御装置200が第1通信状態から第2通信状態に移行する。   However, as shown in FIG. 2, when an abnormality of the microcomputer 10 is detected by the monitoring unit 20, the monitoring unit 20 performs the following processing. That is, the monitoring unit 20 turns off the switch 40 to cut off the electrical connection between the microcomputer 10 and the communication unit 30 and outputs a reset signal to the microcomputer 10. The monitoring unit 20 also outputs an error signal to the bus wiring 300 via the communication unit 30. Accordingly, communication between the microcomputer 10 in the abnormal state and the plurality of control devices 200 is prevented, and the plurality of control devices 200 shift from the first communication state to the second communication state.

リセット信号の入力によって起動処理を行うとマイコン10は再び上記したチェック信号の送信を行う。そしてマイコン10は監視状態および通信状態の信頼性が確保されていると判定すると通常動作モードに移行する。通常動作モードに移行するとマイコン10は上記の正常フレームを複数の制御装置200に出力し始める。この正常フレームの入力によってエラーカウント値が128を下回ると複数の制御装置200は第2通信状態から第1通信状態に戻り、電子制御装置100と制御装置200との間で通信が再び行われる。なお、図2では第2通信状態から第1通信状態への変化を、マイコン10が通常動作モードに移行したタイミングにて行われるように図示している。   When the activation process is performed by inputting the reset signal, the microcomputer 10 transmits the above-described check signal again. If the microcomputer 10 determines that the reliability of the monitoring state and the communication state is ensured, the microcomputer 10 shifts to the normal operation mode. When shifting to the normal operation mode, the microcomputer 10 starts to output the normal frame to the plurality of control devices 200. When the error count value falls below 128 due to the input of the normal frame, the plurality of control devices 200 returns from the second communication state to the first communication state, and communication is performed again between the electronic control device 100 and the control device 200. In FIG. 2, the change from the second communication state to the first communication state is illustrated so as to be performed at the timing when the microcomputer 10 shifts to the normal operation mode.

次に、本実施形態に係る電子制御装置100の作用効果を説明する。上記したように監視部20によってマイコン10の制御装置200との通信が止めさせられ、エラー信号が通信部30を介して制御装置200に出力されている。したがって通信部を非駆動状態にしてマイコンからの信号の途絶によって制御装置にマイコンの異常を判定させる構成とは異なり、制御装置200にてマイコン10の異常を早く検出させることができる。さらに例示すれば、バス配線とは別にエラー信号を制御装置に出力するための信号線が電子制御装置と外部装置との間に設けられる構成とは異なり、このような信号線は不要なので、コストの増大が抑制される。   Next, functions and effects of the electronic control apparatus 100 according to the present embodiment will be described. As described above, the monitoring unit 20 stops communication with the control device 200 of the microcomputer 10, and an error signal is output to the control device 200 via the communication unit 30. Therefore, unlike the configuration in which the communication unit is set in a non-driven state and the control device determines the abnormality of the microcomputer by the interruption of the signal from the microcomputer, the control device 200 can detect the abnormality of the microcomputer 10 early. Further, for example, unlike a configuration in which a signal line for outputting an error signal to the control device is provided between the electronic control device and the external device separately from the bus wiring, such a signal line is unnecessary, so that the cost is reduced. Increase is suppressed.

上記したようにマイコン10の制御装置200との通信を止めさせる部材として本実施形態ではスイッチ40を採用している。したがってこの部材として、上記のように監視部と制御装置とを電気的に接続する信号線を採用した構成とは異なり、制御装置200の数に応じて部材の数が増大しない。そのためにコストの増大が抑制される。また、監視部20からマイコン10へとリセット信号を出力することでマイコン10の制御装置200との通信を止めさせてもいる。そのため上記した比較構成と比べてコストの増大が抑制される。   As described above, the switch 40 is employed in this embodiment as a member for stopping communication with the control device 200 of the microcomputer 10. Therefore, the number of members does not increase in accordance with the number of control devices 200, unlike the configuration in which the signal lines that electrically connect the monitoring unit and the control device are employed as the members. Therefore, an increase in cost is suppressed. In addition, communication with the control device 200 of the microcomputer 10 is stopped by outputting a reset signal from the monitoring unit 20 to the microcomputer 10. Therefore, an increase in cost is suppressed as compared with the above-described comparison configuration.

上記の信号線を用いる比較構成の場合、以下の点が特に問題となる。本実施形態の電子制御装置100と複数の制御装置200それぞれはハイブリッド自動車の制御系統を成す構成要素である。具体的に言えば、電子制御装置100と複数の制御装置200それぞれはエンジンECU、ブレーキECU、バッテリーECU、モータECU、および、ハイブリッドECUなどである。これに対して通常のガソリン自動車の場合、上記の構成要素の内ハイブリッドECUが不要になり、バス配線300を介して通信するのはエンジンECUとブレーキECUである。このようにバス配線300を介して接続されるECUの数がガソリン自動車と比べてハイブリッド自動車の方が多いのは、ハイブリッド自動車の場合、走行状態に応じてエンジン、モータ、および、バッテリーなどを協調制御しなくてはならないためである。このような協調制御するための構成要素は車両に局在していないため、上記の比較構成の場合、信号線を車両に張り巡らすことになる。例えば図3に示すように車両内部に隔壁400が設けられると、車両の内部空間が前方側と後方側とに分断される。この例では車両前方にエンジンECU、ブレーキECU、および、モータECUが位置し、車両後方にハイブリッドECUとバッテリーECUが位置する。この配置において信号線410を車両に張り巡らせるためには隔壁400に貫通穴420などを形成しなくてはならなくなる。したがって上記の比較構成の場合、車両全体の設計を変更しなくてはならなくなる。これに対して本発明に係る電子制御装置100では、その内部構造を工夫することで、マイコン10の制御装置200との通信を止めさせつつ、制御装置200にエラー信号を出力している。したがって上記の比較構成とは異なり、車両全体の設計を変更しなくともよくなる。以上により比較構成と比べてコストの増大が顕著に抑制される。   In the comparative configuration using the above signal lines, the following points are particularly problematic. Each of the electronic control device 100 and the plurality of control devices 200 according to the present embodiment is a component constituting a control system of a hybrid vehicle. Specifically, each of the electronic control device 100 and the plurality of control devices 200 is an engine ECU, a brake ECU, a battery ECU, a motor ECU, a hybrid ECU, or the like. On the other hand, in the case of a normal gasoline vehicle, the hybrid ECU among the above components is not necessary, and it is the engine ECU and the brake ECU that communicate via the bus wiring 300. In this way, the number of ECUs connected via the bus wiring 300 is larger in the hybrid vehicle than in the gasoline vehicle. In the case of the hybrid vehicle, the engine, the motor, the battery, and the like are coordinated according to the driving state. This is because it must be controlled. Since the components for such cooperative control are not localized in the vehicle, in the case of the above-described comparative configuration, the signal line is stretched around the vehicle. For example, as shown in FIG. 3, when the partition wall 400 is provided inside the vehicle, the internal space of the vehicle is divided into a front side and a rear side. In this example, an engine ECU, a brake ECU, and a motor ECU are located in front of the vehicle, and a hybrid ECU and a battery ECU are located behind the vehicle. In this arrangement, in order to stretch the signal line 410 around the vehicle, the through hole 420 and the like must be formed in the partition wall 400. Therefore, in the case of the above comparison configuration, the design of the entire vehicle must be changed. On the other hand, in the electronic control device 100 according to the present invention, by devising the internal structure, an error signal is output to the control device 200 while communication with the control device 200 of the microcomputer 10 is stopped. Therefore, unlike the above-described comparison configuration, it is not necessary to change the design of the entire vehicle. As described above, an increase in cost is remarkably suppressed as compared with the comparative configuration.

さらに言えば、上記したようにハイブリッド自動車の場合、走行状態に応じてエンジン、モータ、および、バッテリーなどを協調制御しなくてはならないため、ECUの異常を素早く判定する必要がある。例えばマイコン10からの信号の途絶だけに基づいて電子制御装置100の異常を検出する場合、その異常を検出するのに50msecも時間がかかることになる。特にモータを制御するためには、モータの電気角度や流す電流を100μsec単位でフィードバックして、モータの回転数の演算処理を数msecで行う。このモータの回転数の演算処理は、第1通信状態においてハイブリッドECUが行うが、このハイブリッドECUに異常が生じ、その異常を判定するのに50msecもの時間が必要になると、モータの回転数の演算処理が滞ることとなる。この結果、モータの回転数が速すぎたり遅すぎたりすることとなる。しかしながら本実施形態で示したようにエラー信号の受信時間は372μsecであり、このエラー信号を受信するとECUは第2通信状態になる。したがって上記構成とは異なり、素早くハイブリッドECUの異常を検出して他のECUが第2通信状態に移行することができる。この際に、上記のモータ回転数の演算処理をモータECUなどに代行させることで、モータの回転数の演算処理が滞り、モータの回転数が速すぎたり遅すぎたりすることが抑制される。   Furthermore, as described above, in the case of a hybrid vehicle, the engine, the motor, the battery, and the like must be cooperatively controlled in accordance with the traveling state, so it is necessary to quickly determine whether the ECU is abnormal. For example, when detecting an abnormality of the electronic control device 100 based only on the interruption of the signal from the microcomputer 10, it takes 50 msec to detect the abnormality. In particular, in order to control the motor, the electric angle of the motor and the current to be supplied are fed back in units of 100 μsec, and the calculation processing of the motor rotation speed is performed in several msec. The calculation processing of the motor rotation speed is performed by the hybrid ECU in the first communication state. If an abnormality occurs in the hybrid ECU and it takes 50 msec to determine the abnormality, the calculation of the motor rotation speed is performed. Processing will be delayed. As a result, the rotational speed of the motor is too fast or too slow. However, as shown in this embodiment, the reception time of the error signal is 372 μsec, and when this error signal is received, the ECU enters the second communication state. Therefore, unlike the above configuration, an abnormality of the hybrid ECU can be quickly detected and another ECU can shift to the second communication state. At this time, by substituting the motor rotational speed calculation process to the motor ECU or the like, the motor rotational speed calculation process is delayed and the motor rotational speed is suppressed from being too fast or too slow.

通信配線11とエラー配線21それぞれの通信部30側の端部が互いに結線され、その結線された部位から通信部30の入力端子へと共通配線53が延びている。また通信配線11に第1逆流防止素子51が設けられ、エラー配線21には第2逆流防止素子52が設けられている。これによれば通信配線とエラー配線それぞれが独立して通信部に接続される構成と比べて、通信部30の入力端子の増大が抑制される。またマイコン10から通信配線11に出力された信号が監視部20に入力されることが抑制され、監視部20からエラー配線21に出力された信号がマイコン10に入力されることが抑制される。   The ends of the communication wiring 11 and the error wiring 21 on the communication unit 30 side are connected to each other, and a common wiring 53 extends from the connected portion to the input terminal of the communication unit 30. The communication wiring 11 is provided with a first backflow prevention element 51, and the error wiring 21 is provided with a second backflow prevention element 52. According to this, increase of the input terminal of the communication part 30 is suppressed compared with the structure in which each of the communication wiring and the error wiring is independently connected to the communication part. Further, the signal output from the microcomputer 10 to the communication wiring 11 is suppressed from being input to the monitoring unit 20, and the signal output from the monitoring unit 20 to the error wiring 21 is suppressed from being input to the microcomputer 10.

マイコン10に異常がある場合、監視部20はエラー信号を372μsec出力することで、複数の制御装置200を第2通信状態にする。これによれば複数の制御装置200それぞれと異常状態のマイコン10との通信を止めさせつつ、複数の制御装置200間での通信を実現することができる。また複数の制御装置200それぞれは、電子制御装置100からの信号の途絶が50msecを上回った場合においても第2通信状態になる。これに対して上記したようにエラー信号に基づいて複数の制御装置200それぞれが第2通信状態に移行するので、電子制御装置100からの信号の途絶に基づいて第2通信状態に移行する場合と比べて、その移行時間が短くなる。   When there is an abnormality in the microcomputer 10, the monitoring unit 20 outputs the error signal for 372 μsec, thereby setting the plurality of control devices 200 in the second communication state. According to this, communication between the plurality of control devices 200 can be realized while stopping communication between each of the plurality of control devices 200 and the microcomputer 10 in the abnormal state. Each of the plurality of control devices 200 also enters the second communication state even when the signal interruption from the electronic control device 100 exceeds 50 msec. On the other hand, since each of the plurality of control devices 200 shifts to the second communication state based on the error signal as described above, the case of shifting to the second communication state based on the interruption of the signal from the electronic control device 100; In comparison, the transition time is shortened.

マイコン10は送信したチェック信号と受信したチェック信号とが異なる場合、制御装置200との通信を止める。これによればマイコン10の監視状態および通信状態の信頼性が確保されていない状態において、マイコン10と制御装置200とが通信することが抑制される。   If the transmitted check signal is different from the received check signal, the microcomputer 10 stops communication with the control device 200. According to this, communication between the microcomputer 10 and the control device 200 is suppressed in a state in which the reliability of the monitoring state and the communication state of the microcomputer 10 is not ensured.

以上、本発明の好ましい実施形態について説明したが、本発明は上記した実施形態になんら制限されることなく、本発明の主旨を逸脱しない範囲において、種々変形して実施することが可能である。   The preferred embodiments of the present invention have been described above. However, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the spirit of the present invention.

本実施形態の監視信号は、監視部20から送られる種々の簡易的な質問信号に対する応答信号である例を示した。しかしながら監視信号としては上記例に限定されず、例えばデューティ比とパルス周期それぞれが一定のパルス信号(ウォッチドッグ信号)を採用することもできる。この場合、監視部20は監視信号の入力の有無、若しくは、上記のデューティ比やパルス周期の乱れに基づいてマイコン10の状態を判定する。   The monitoring signal of this embodiment showed the example which is a response signal with respect to various simple question signals sent from the monitoring part 20. FIG. However, the monitoring signal is not limited to the above example, and for example, a pulse signal (watchdog signal) having a constant duty ratio and a pulse period may be employed. In this case, the monitoring unit 20 determines the state of the microcomputer 10 based on whether a monitoring signal is input, or based on the above-described duty ratio or pulse cycle disturbance.

本実施形態ではマイコン10と監視部20とが内部通信する例を示した。しかしながらマイコン10と監視部20とは内部通信できなくともよい。この場合、例えば図4に示すようにマイコン10と監視部20とはリセット配線22および監視配線23を介して電気的に接続される。そしてこの場合マイコン10から出力される監視信号は上記のウォッチドッグ信号が採用され、このウォッチドッグ信号が監視配線23を介してマイコン10から監視部20に出力される。なおもちろんではあるが、監視部20からマイコン10へのチェック信号の送信は行われない。   In this embodiment, the example which the microcomputer 10 and the monitoring part 20 communicate internally was shown. However, the microcomputer 10 and the monitoring unit 20 may not be able to communicate internally. In this case, for example, as shown in FIG. 4, the microcomputer 10 and the monitoring unit 20 are electrically connected via the reset wiring 22 and the monitoring wiring 23. In this case, the above-described watchdog signal is adopted as the monitoring signal output from the microcomputer 10, and this watchdog signal is output from the microcomputer 10 to the monitoring unit 20 via the monitoring wiring 23. Needless to say, the check signal is not transmitted from the monitoring unit 20 to the microcomputer 10.

本実施形態では監視部20、スイッチ40、および、逆流防止素子51,52それぞれの包含関係について述べていなかった。しかしながら例えば図5において破線で囲って示すように、スイッチ40と逆流防止素子51,52それぞれが監視部20に含まれる構成を採用することもできる。すなわち、スイッチ40と逆流防止素子51,52それぞれが監視部20の形成された1つのチップに集積された構成を採用することもできる。これによればスイッチと2つの逆流防止素子それぞれが監視部とは別に製造される構成と比べて、製造コストの増大が抑制される。さらに言えば、図6に示すように通信部30も監視部20に含まれる構成を採用することもできる。すなわち、通信部30も監視部20の形成された1つのチップに集積された構成を採用することもできる。これによれば通信部が監視部とは別に製造される構成と比べて、製造コストの増大が抑制される。   In the present embodiment, the inclusion relationship among the monitoring unit 20, the switch 40, and the backflow prevention elements 51 and 52 is not described. However, for example, as shown by being surrounded by a broken line in FIG. 5, a configuration in which the switch 40 and the backflow prevention elements 51 and 52 are included in the monitoring unit 20 may be employed. That is, it is possible to adopt a configuration in which the switch 40 and the backflow prevention elements 51 and 52 are integrated on one chip on which the monitoring unit 20 is formed. According to this, an increase in manufacturing cost is suppressed as compared with a configuration in which each of the switch and the two backflow prevention elements is manufactured separately from the monitoring unit. Furthermore, as shown in FIG. 6, the communication unit 30 can also employ a configuration included in the monitoring unit 20. That is, a configuration in which the communication unit 30 is also integrated on one chip on which the monitoring unit 20 is formed can be employed. According to this, an increase in manufacturing cost is suppressed compared to a configuration in which the communication unit is manufactured separately from the monitoring unit.

本実施形態では通信配線11とエラー配線21それぞれの端部が結線され、その結線された部位から通信部30へと共通配線53が延び、通信配線11に第1逆流防止素子51が設けられ、エラー配線21には第2逆流防止素子52が設けられた例を示した。しかしながら通信部30の入力端子の増大を抑制しつつ、マイコン10の信号と監視部20の信号(エラー信号)とを独立して通信部30に出力する構成としては上記例に限定されない。例えば図7に示すように、電子制御装置100が逆流防止素子51,52の代わりに選択部60を有する構成を採用することができる。この選択部60は複数の入力信号の内の1つを選択し、その選択した1つの入力信号を出力するものである。選択部60の入力端子に通信配線11とエラー配線21それぞれが独立して接続され、自身の出力端子が出力配線61を介して通信部30に接続されている。選択部60にはスイッチ40の駆動状態を決める信号が入力されており、選択部60はスイッチ40が駆動状態の場合に通信配線11の信号を出力し、スイッチ40が非駆動状態の場合にエラー配線21の信号を出力する。なおこの変形例の場合、スイッチ40および選択部60それぞれが監視部20に含まれた構成を採用することもできる。すなわち、スイッチ40および選択部60それぞれが監視部20の形成された1つのチップに集積された構成を採用することもできる。これによればスイッチと選択部それぞれが監視部とは別に製造される構成と比べて、製造コストの増大が抑制される。さらに言えば通信部30が監視部20に含まれた構成を採用することもできる。すなわち、通信部30も監視部20の形成された1つのチップに集積された構成を採用することもできる。これによれば通信部が監視部とは別に製造される構成と比べて、製造コストの増大が抑制される。   In this embodiment, the end portions of the communication wiring 11 and the error wiring 21 are connected, the common wiring 53 extends from the connected portion to the communication unit 30, and the first backflow prevention element 51 is provided in the communication wiring 11. In the example, the error wiring 21 is provided with the second backflow prevention element 52. However, the configuration in which the signal of the microcomputer 10 and the signal (error signal) of the monitoring unit 20 are independently output to the communication unit 30 while suppressing an increase in the input terminals of the communication unit 30 is not limited to the above example. For example, as shown in FIG. 7, a configuration in which the electronic control device 100 includes a selection unit 60 instead of the backflow prevention elements 51 and 52 can be employed. The selection unit 60 selects one of a plurality of input signals and outputs the selected one input signal. Each of the communication wiring 11 and the error wiring 21 is independently connected to the input terminal of the selection unit 60, and its own output terminal is connected to the communication unit 30 via the output wiring 61. A signal for determining the driving state of the switch 40 is input to the selection unit 60. The selection unit 60 outputs a signal of the communication wiring 11 when the switch 40 is in the driving state, and an error occurs when the switch 40 is in the non-driving state. The signal of the wiring 21 is output. In the case of this modification, a configuration in which each of the switch 40 and the selection unit 60 is included in the monitoring unit 20 may be employed. That is, it is possible to adopt a configuration in which the switch 40 and the selection unit 60 are each integrated on one chip on which the monitoring unit 20 is formed. According to this, an increase in manufacturing cost is suppressed as compared with a configuration in which each of the switch and the selection unit is manufactured separately from the monitoring unit. Furthermore, a configuration in which the communication unit 30 is included in the monitoring unit 20 may be employed. That is, a configuration in which the communication unit 30 is also integrated on one chip on which the monitoring unit 20 is formed can be employed. According to this, an increase in manufacturing cost is suppressed compared to a configuration in which the communication unit is manufactured separately from the monitoring unit.

本実施形態では本発明に係る電子制御装置100がハイブリッド自動車に適用された例を示した。しかしながら電子制御装置100の適用としては上記例に限定されず、例えばガソリン自動車に適用してもよい。   In the present embodiment, an example in which the electronic control device 100 according to the present invention is applied to a hybrid vehicle is shown. However, the application of the electronic control device 100 is not limited to the above example, and may be applied to, for example, a gasoline automobile.

本実施形態では通信プロトコルとしてCAN通信を採用した例を示した。しかしながら通信プロトコルとしてはこれに限定されず、例えばLIN通信を採用することもできる。   In this embodiment, the example which employ | adopted CAN communication as a communication protocol was shown. However, the communication protocol is not limited to this, and for example, LIN communication can be adopted.

本実施形態では通信速度が500kbpsの例を示した。しかしながら通信速度としてはこれに限定されず、例えば5Mbpsを採用することもできる。   In this embodiment, an example in which the communication speed is 500 kbps is shown. However, the communication speed is not limited to this, and for example, 5 Mbps can be adopted.

本実施形態ではエラー信号として12μsecのエラーフレームが12μsec間隔で16回出力される例を示した。しかしながらエラーフレームの時間とその間隔は上記例に限定されない。要は、エラー信号に6bitのエラーフレームが16個含まれていればよい。エラー信号の時間は上記の通信速度に応じて変化する。   In this embodiment, an example in which an error frame of 12 μsec is output 16 times at 12 μsec intervals as an error signal is shown. However, the time of the error frame and its interval are not limited to the above example. In short, it is sufficient that the error signal includes 16 6-bit error frames. The time of the error signal changes according to the communication speed.

本実施形態では電子制御装置100がスイッチ40を有する例を示した。しかしながら監視部20がマイコン10の異常検知時にリセット信号をマイコン10に出力する構成においては、リセット信号の入力によってマイコン10の制御装置200との通信が止まるので、スイッチ40を電子制御装置100が有していなくともよい。逆に、監視部20がマイコン10の異常検知時にスイッチ40を非駆動状態にする構成においては、スイッチ40の非駆動によってマイコン10の制御装置200との通信が止まるので、監視部20からマイコン10にリセット信号を出力しなくともよい。ただしマイコン10を復帰させるためのリセット信号の出力は監視部20とは異なる構成要素(例えば図示しない電源ICなど)から出力される。   In this embodiment, the example which the electronic control apparatus 100 has the switch 40 was shown. However, in the configuration in which the monitoring unit 20 outputs a reset signal to the microcomputer 10 when an abnormality is detected in the microcomputer 10, the communication with the control device 200 of the microcomputer 10 is stopped by the input of the reset signal, so that the electronic control device 100 has the switch 40. You don't have to. On the contrary, in the configuration in which the monitoring unit 20 sets the switch 40 to the non-driven state when the abnormality of the microcomputer 10 is detected, the communication with the control device 200 of the microcomputer 10 stops when the switch 40 is not driven. It is not necessary to output a reset signal. However, the output of the reset signal for returning the microcomputer 10 is output from a component (for example, a power supply IC not shown) different from the monitoring unit 20.

10…マイコン(マイクロコンピュータ)
20…監視部
30…通信部
100…電子制御装置
200…制御装置
10 ... Microcomputer
20 ... Monitoring unit 30 ... Communication unit 100 ... Electronic control device 200 ... Control device

Claims (12)

マイクロコンピュータ(10)と、
前記マイクロコンピュータの状態を監視する監視部(20)と、
前記マイクロコンピュータと外部装置(200)との間でバス配線(300)を介して通信を行うための通信部(30)と、を有し、
前記監視部は前記マイクロコンピュータの異常を検知すると、前記マイクロコンピュータの前記外部装置との通信を止めさせるとともに、前記マイクロコンピュータに異常が生じたことを示すエラー信号を、前記通信部を介して前記外部装置に出力することを特徴とする電子制御装置。
A microcomputer (10);
A monitoring unit (20) for monitoring the state of the microcomputer;
A communication unit (30) for communicating via the bus wiring (300) between the microcomputer and the external device (200),
When the monitoring unit detects an abnormality in the microcomputer, the monitoring unit stops communication with the external device of the microcomputer, and an error signal indicating that an abnormality has occurred in the microcomputer is transmitted through the communication unit. An electronic control device that outputs to an external device.
前記マイクロコンピュータと前記通信部とを接続するための通信配線(11)に設けられたスイッチ(40)を有し、
前記監視部は前記マイクロコンピュータの異常を検知すると、前記スイッチを非駆動状態にして前記マイクロコンピュータと前記通信部との電気的な接続を遮断することを特徴とする請求項1に記載の電子制御装置。
A switch (40) provided in a communication wiring (11) for connecting the microcomputer and the communication unit;
2. The electronic control according to claim 1, wherein when the monitoring unit detects an abnormality of the microcomputer, the switch is set in a non-driven state to cut off an electrical connection between the microcomputer and the communication unit. apparatus.
前記マイクロコンピュータと前記通信部とを接続する通信配線(11)、および、前記監視部と前記通信部とを接続するエラー配線(21)それぞれの前記通信部側の端部が互いに結線され、その結線された部位から延びた共通配線(53)が前記通信部に接続されており、
前記通信配線には前記エラー配線の信号が前記マイクロコンピュータに入力することを防止する第1逆流防止素子(51)が設けられ、
前記エラー配線には前記通信配線の信号が前記監視部に入力することを防止する第2逆流防止素子(52)が設けられていることを特徴とする請求項1または請求項2に記載の電子制御装置。
The communication wiring end (11) for connecting the microcomputer and the communication section and the error wiring (21) for connecting the monitoring section and the communication section are connected to each other at the end of the communication section. A common wire (53) extending from the connected part is connected to the communication unit,
The communication wiring is provided with a first backflow prevention element (51) for preventing the signal of the error wiring from being input to the microcomputer,
3. The electron according to claim 1, wherein the error wiring is provided with a second backflow prevention element (52) for preventing a signal of the communication wiring from being input to the monitoring unit. Control device.
複数の入力信号の内の1つを選択し、その選択した1つの前記入力信号を出力する選択部(60)を有し、
前記選択部の入力端子に、前記マイクロコンピュータに接続された前記通信配線、および、前記監視部に接続されたエラー配線(21)それぞれの端部が接続され、自身の出力端子が前記通信部に接続されており、
前記選択部は、前記スイッチが駆動状態の場合に前記通信配線の信号を出力し、前記スイッチが非駆動状態の場合に前記エラー配線の信号を出力することを特徴とする請求項2に記載の電子制御装置。
A selection unit (60) for selecting one of a plurality of input signals and outputting the selected one of the input signals;
The input terminal of the selection unit is connected to each end of the communication wiring connected to the microcomputer and the error wiring (21) connected to the monitoring unit, and its output terminal is connected to the communication unit. Connected,
The said selection part outputs the signal of the said communication wiring when the said switch is a drive state, and outputs the signal of the said error wiring when the said switch is a non-drive state. Electronic control device.
前記通信配線(11)に設けられたスイッチ(40)を有し、
前記スイッチ、前記第1逆流防止素子、および、前記第2逆流防止素子それぞれは前記監視部に含まれることを特徴とする請求項3に記載の電子制御装置。
A switch (40) provided in the communication wiring (11);
The electronic control device according to claim 3, wherein each of the switch, the first backflow prevention element, and the second backflow prevention element is included in the monitoring unit.
前記スイッチおよび前記選択部それぞれは前記監視部に含まれることを特徴とする請求項4に記載の電子制御装置。   The electronic control device according to claim 4, wherein each of the switch and the selection unit is included in the monitoring unit. 前記通信部は前記監視部に含まれることを特徴とする請求項5または請求項6に記載の電子制御装置。   The electronic control device according to claim 5, wherein the communication unit is included in the monitoring unit. 前記監視部は前記マイクロコンピュータの異常を検知すると、前記マイクロコンピュータにリセット信号を出力して前記マイクロコンピュータに起動処理を行わせることを特徴とする請求項1〜7いずれか1項に記載の電子制御装置。   The electronic device according to claim 1, wherein when the monitoring unit detects an abnormality of the microcomputer, the monitoring unit outputs a reset signal to the microcomputer to cause the microcomputer to perform a startup process. Control device. 前記外部装置は複数の制御装置(200)であって、前記エラー信号を受信すると前記マイクロコンピュータとの通信を止めることを特徴とする請求項1〜8いずれか1項に記載の電子制御装置。   The electronic control device according to any one of claims 1 to 8, wherein the external device is a plurality of control devices (200), and stops communication with the microcomputer when receiving the error signal. 複数の前記制御装置それぞれは、前記エラー信号の受信時間が第1所定時間を下回る場合に前記マイクロコンピュータとの通信を行う第1通信状態、前記エラー信号の受信時間が前記第1所定時間を上回った場合に前記マイクロコンピュータとの通信を止めて複数の前記制御装置の間だけで通信を行う第2通信状態となり、
前記監視部は前記マイクロコンピュータの異常を検知すると、前記エラー信号を前記第1所定時間、前記通信部を介して前記外部装置に出力することを特徴とする請求項9に記載の電子制御装置。
Each of the plurality of control devices includes a first communication state in which communication with the microcomputer is performed when the error signal reception time is less than a first predetermined time, and the error signal reception time exceeds the first predetermined time. The second communication state in which communication with the microcomputer is stopped and communication is performed only between the plurality of control devices.
10. The electronic control device according to claim 9, wherein when the monitoring unit detects an abnormality of the microcomputer, the error signal is output to the external device via the communication unit for the first predetermined time.
複数の前記制御装置それぞれは、前記マイクロコンピュータからの信号の途絶が前記第1所定時間よりも長い第2所定時間を上回った場合、前記第2通信状態になることを特徴とする請求項10に記載の電子制御装置。   11. The control device according to claim 10, wherein each of the plurality of control devices enters the second communication state when the interruption of a signal from the microcomputer exceeds a second predetermined time longer than the first predetermined time. The electronic control device described. 前記マイクロコンピュータと前記監視部とは双方向に信号を送受信可能となっており、
前記マイクロコンピュータは、前記監視部を介して前記通信部にチェック信号を出力し、前記バス配線から返ってきた前記チェック信号が送信した前記チェック信号と異なる場合、前記監視部、前記通信部、および、前記監視部と前記通信部とを電気的に接続するためのエラー配線(21)の少なくとも1つに異常が生じていると判定し、前記外部装置との通信を止めることを特徴とする請求項9〜11のいずれか1項に記載の電子制御装置。
The microcomputer and the monitoring unit can transmit and receive signals in both directions,
The microcomputer outputs a check signal to the communication unit via the monitoring unit, and when the check signal returned from the bus wiring is different from the transmitted check signal, the monitoring unit, the communication unit, and And determining that an abnormality has occurred in at least one of the error wirings (21) for electrically connecting the monitoring unit and the communication unit, and stopping communication with the external device. Item 12. The electronic control device according to any one of Items 9 to 11.
JP2014222504A 2014-10-31 2014-10-31 Electronic control unit Active JP6536011B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2014222504A JP6536011B2 (en) 2014-10-31 2014-10-31 Electronic control unit
DE102015220964.4A DE102015220964B4 (en) 2014-10-31 2015-10-27 Electronic control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014222504A JP6536011B2 (en) 2014-10-31 2014-10-31 Electronic control unit

Publications (2)

Publication Number Publication Date
JP2016091162A true JP2016091162A (en) 2016-05-23
JP6536011B2 JP6536011B2 (en) 2019-07-03

Family

ID=55753917

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014222504A Active JP6536011B2 (en) 2014-10-31 2014-10-31 Electronic control unit

Country Status (2)

Country Link
JP (1) JP6536011B2 (en)
DE (1) DE102015220964B4 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020093707A (en) * 2018-12-13 2020-06-18 株式会社デンソー Electronic control device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11242618A (en) * 1998-02-25 1999-09-07 Toto Ltd Safety circuit for combustion apparatus
JP2003333675A (en) * 2002-05-14 2003-11-21 Hitachi Ltd Communication system control apparatus and abnormality monitoring method therefor
JP2004265322A (en) * 2003-03-04 2004-09-24 Denso Corp Abnormality monitoring device for microcomputer
JP2013242811A (en) * 2012-05-22 2013-12-05 Ricoh Co Ltd Information processing apparatus, and abnormality processing method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60128303A (en) 1983-12-16 1985-07-09 Taisei Corp Elongation quantity measuring method of wire rod
DE10236080A1 (en) 2002-08-07 2004-02-19 Robert Bosch Gmbh Process flow control method, especially for use with a motor vehicle CAN bus automation system, wherein if a function unit is faulty it is prevented from communicating with the bus by disabling its bus driver
DE102009005266A1 (en) 2009-01-20 2010-07-22 Continental Teves Ag & Co. Ohg Method for operating communication node of flex ray communication system of e.g. car, involves determining whether reestablishment of communication between controller and process computer is allowed when error occurs in computer
DE102011087063A1 (en) 2011-03-09 2012-09-13 Continental Teves Ag & Co. Ohg Control computer system for controlling e.g. brake system of motor vehicle, has switching-off signal masking module arranged in path between emergency module and module to mask switching-of signal and integrated into circuit on substrate

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11242618A (en) * 1998-02-25 1999-09-07 Toto Ltd Safety circuit for combustion apparatus
JP2003333675A (en) * 2002-05-14 2003-11-21 Hitachi Ltd Communication system control apparatus and abnormality monitoring method therefor
JP2004265322A (en) * 2003-03-04 2004-09-24 Denso Corp Abnormality monitoring device for microcomputer
JP2013242811A (en) * 2012-05-22 2013-12-05 Ricoh Co Ltd Information processing apparatus, and abnormality processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020093707A (en) * 2018-12-13 2020-06-18 株式会社デンソー Electronic control device
JP7147532B2 (en) 2018-12-13 2022-10-05 株式会社デンソー electronic controller

Also Published As

Publication number Publication date
JP6536011B2 (en) 2019-07-03
DE102015220964A1 (en) 2016-05-04
DE102015220964B4 (en) 2023-08-10

Similar Documents

Publication Publication Date Title
US9031740B2 (en) Vehicle control device capable of controller area network communication and diagnostic method therefor
US10826423B2 (en) Motor driving apparatus and motor driving method
US20100131816A1 (en) Communication system adapting for car, communication apparatus adapting for car, and communication method adapting for car
US9367377B2 (en) Apparatus and method for monitoring multiple micro-cores
KR20080086884A (en) Method for the transmission of data using self-diagnostic pulse width modulation
US20170131698A1 (en) Motor control device
JP2016141160A (en) Electronic control unit and electronic control system
US11820444B2 (en) Control device for vehicle-mounted equipment
JP5071340B2 (en) Gateway device, vehicle network, one-side disconnection detection method
JP5867605B2 (en) Failure diagnosis system, failure diagnosis apparatus and failure diagnosis method
JP5582748B2 (en) Electronic control device for vehicle
US20130261928A1 (en) Operation Support Apparatus, Electronic Device, Electronic Control Unit and Control System
JP6536011B2 (en) Electronic control unit
JP2004066974A (en) Vehicle control device and its communication method
JP6344302B2 (en) Battery controller
CN111669299B (en) Communication failure detection device
CN111141966A (en) Method for detecting hardware fault through single communication line and hardware module
JP2015112962A (en) Information processing apparatus
JP5361873B2 (en) Method and system for feeding back the state of an electrical component to an engine controller of an internal combustion engine
US20230168637A1 (en) Electronic control apparatus
JP2013107602A (en) Vehicle control device
JP5434683B2 (en) CAN controller
JP5678843B2 (en) Integrated circuit device
JP2017126858A (en) Electronic controller
JP2011189767A (en) Seat belt retractor control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170330

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180306

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180420

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180911

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181108

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190520

R151 Written notification of patent or utility model registration

Ref document number: 6536011

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250