JP2016057888A - Electronic control device and communication system - Google Patents

Electronic control device and communication system Download PDF

Info

Publication number
JP2016057888A
JP2016057888A JP2014184216A JP2014184216A JP2016057888A JP 2016057888 A JP2016057888 A JP 2016057888A JP 2014184216 A JP2014184216 A JP 2014184216A JP 2014184216 A JP2014184216 A JP 2014184216A JP 2016057888 A JP2016057888 A JP 2016057888A
Authority
JP
Japan
Prior art keywords
communication
microcomputer
control device
abnormality
electronic control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2014184216A
Other languages
Japanese (ja)
Inventor
茂男 東條
Shigeo Tojo
茂男 東條
拓也 野口
Takuya Noguchi
拓也 野口
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 JP2014184216A priority Critical patent/JP2016057888A/en
Publication of JP2016057888A publication Critical patent/JP2016057888A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To distinctly detect irregularity of a microcomputer in a control device of a communicating opponent and irregularity of a communication line in an electronic control device regularly communicating with other control device via a communication line.SOLUTION: An ECU1 regularly communicating with an ECU2 via a communication line 3 comprises: a microcomputer 11 that performs processing for communicating with the ECU2; and a monitor circuit 15 that monitors an action of the microcomputer 11, and, when determining that the microcomputer 11 is irregular, resets the microcomputer 11 to cause the reset microcomputer to be rebooted. Then, the ECU2 comprises: interruption determination means that determines whether communication is in a communication interrupted state where a communication signal is not normally transmitted from the ECU1; measurement means that measures a time until it is determined by the interruption determination means that the communication is not in the communication interrupted state since it is determined thereby that the communication is in the communication interrupted state; and irregularity discrimination means that distinctly detects irregularity of the microcomputer 11 in the ECU1 and irregularity of the communication line 3 on the basis of the time measured by the measurement means.SELECTED DRAWING: Figure 1

Description

本発明は、電子制御装置及び通信システムに関する。   The present invention relates to an electronic control device and a communication system.

2つの制御装置が定期的に通信を行うシステムにおいて、一方の制御装置が他方の制御装置からの送信信号を所定時間以上に亘って受信しないことにより、通信異常であると判定する技術がある(例えば、特許文献1参照)。   In a system in which two control devices communicate regularly, there is a technique for determining that there is a communication abnormality when one control device does not receive a transmission signal from the other control device for a predetermined time or longer ( For example, see Patent Document 1).

特開平9−282002号公報Japanese Patent Laid-Open No. 9-282002

上記特許文献1の技術では、通信異常の原因が、通信相手の制御装置におけるマイコン(マイクロコンピュータ)が正常に動作しなかったことによるものか、通信線の異常(例えば断線や所定電圧への短絡)によるものかを、区別することができない。   In the technique of the above-mentioned Patent Document 1, the cause of the communication abnormality is due to the fact that the microcomputer (microcomputer) in the control device of the communication partner does not operate normally, or the communication line is abnormal (for example, disconnection or short circuit to a predetermined voltage). ) Cannot be distinguished.

そこで、本発明は、他の制御装置と通信線を介して定期的に通信する電子制御装置において、通信相手の制御装置におけるマイコンの異常と、通信線の異常とを、区別して検出できるようにすることを目的としている。   Therefore, the present invention enables an electronic control device that periodically communicates with another control device via a communication line so that a microcomputer abnormality and a communication line abnormality in a communication partner control device can be distinguished and detected. The purpose is to do.

第1発明の電子制御装置は、他の制御装置と通信線を介して定期的に通信する電子制御装置である。通信相手である他の制御装置(以下、通信相手装置ともいう)は、この通信相手装置が当該電子制御装置と通信するための処理を行うマイコンと、そのマイコンの動作を監視して、マイコンが異常であると判断するとマイコンをリセットして再起動させる監視手段と、を備えている。   The electronic control device according to the first aspect of the present invention is an electronic control device that periodically communicates with another control device via a communication line. Another control device that is the communication partner (hereinafter also referred to as a communication partner device) includes a microcomputer that performs processing for the communication partner device to communicate with the electronic control device, and monitors the operation of the microcomputer. Monitoring means for resetting and restarting the microcomputer when it is determined to be abnormal.

そして、第1発明の電子制御装置は、途絶判定手段と、計測手段と、異常判別手段と、を備える。
途絶判定手段は、通信相手装置から通信信号が正常に送られて来ない通信途絶状態であるか否かを判定する。計測手段は、途絶判定手段により通信途絶状態であると判定されてから通信途絶状態ではないと判定されるまでの時間を計測する。そして、異常判別手段は、計測手段により計測された時間に基づいて、通信相手装置におけるマイコンの異常と、通信線の異常とを、区別して検出する。
The electronic control device according to the first aspect of the present invention includes a disruption determination unit, a measurement unit, and an abnormality determination unit.
The interruption determination unit determines whether or not the communication partner apparatus is in a communication interruption state where a communication signal is not normally transmitted. The measuring means measures the time from when it is determined that the communication is interrupted by the interruption determining means until it is determined that the communication is not interrupted. Then, the abnormality determination unit distinguishes and detects the abnormality of the microcomputer and the abnormality of the communication line in the communication partner apparatus based on the time measured by the measurement unit.

通信相手装置のマイコンが正常に動作しなくなって(つまり、異常になって)通信途絶状態が生じた場合には、通信相手装置において、マイコンは監視手段により異常と判断されてリセットされる。そして、マイコンがリセットにより正常復帰することで、通信途絶状態が解消される。その場合、当該電子制御装置において、計測手段により計測される時間は所定値未満になる。一方、通信線の異常によって通信途絶状態が生じた場合、その通信途絶状態は解消されないため、計測手段により計測される時間は所定値を超えていく。このため、異常判別手段は、計測手段により計測された時間に基づいて、通信相手装置におけるマイコンの異常と、通信線の異常とを、区別して検出する。   If the microcomputer of the communication counterpart device does not operate normally (that is, becomes abnormal) and a communication interruption occurs, the microcomputer is determined to be abnormal by the monitoring means in the communication counterpart device and is reset. And a communication interruption state is canceled because a microcomputer returns to normal by reset. In that case, in the electronic control device, the time measured by the measuring means is less than a predetermined value. On the other hand, when a communication interruption state occurs due to an abnormality in the communication line, the communication interruption state is not resolved, so the time measured by the measuring means exceeds a predetermined value. For this reason, the abnormality determination unit distinguishes and detects the abnormality of the microcomputer and the abnormality of the communication line in the communication counterpart device based on the time measured by the measurement unit.

よって、第1発明の電子制御装置によれば、通信相手装置におけるマイコンの異常と、通信線の異常とを、区別して検出できるようになる。
例えば、異常判別手段は、途絶判定手段により通信途絶状態であると判定されてから通信途絶状態ではないと判定された場合に、計測手段により計測された時間が所定の判定値未満であれば、マイコンの異常と判定することができる。また例えば、異常判別手段は、計測手段により計測された時間が、前記判定値以上の値に設定された通信線異常判定値以上になった場合には、通信線の異常と判定することができる。尚、前記判定値と通信線異常判定値は、異なる値でも同じ値でも良い。
Therefore, according to the electronic control device of the first invention, it is possible to distinguish and detect a microcomputer abnormality and a communication line abnormality in the communication partner apparatus.
For example, the abnormality determining means, if it is determined that the communication is interrupted after the interruption determining means determines that the communication is interrupted, and if the time measured by the measuring means is less than a predetermined determination value, It can be determined that the microcomputer is abnormal. Further, for example, the abnormality determination unit can determine that the communication line is abnormal when the time measured by the measurement unit is equal to or greater than the communication line abnormality determination value set to a value equal to or greater than the determination value. . The determination value and the communication line abnormality determination value may be different values or the same value.

また、第1発明の電子制御装置によれば、通信相手装置のマイコンが正常に動作しているか否かを表す信号を、当該電子制御装置へ通信線とは別の信号線を介して入力させなくても、通信相手装置におけるマイコンの異常と、通信線の異常とを、区別して検出することができる。   According to the electronic control device of the first invention, a signal indicating whether or not the microcomputer of the communication counterpart device is operating normally is input to the electronic control device via a signal line different from the communication line. Even if it is not, it is possible to distinguish and detect a microcomputer abnormality and a communication line abnormality in the communication partner apparatus.

第2発明の電子制御装置は、他の制御装置と通信線を介して定期的に通信する電子制御装置である。通信相手装置(通信相手である他の制御装置)は、この通信相手装置が当該電子制御装置と通信するための処理を行うマイコンを備えており、そのマイコンは、当該電子制御装置から通信相手装置に出力されるリセット信号によってリセットとリセットの解除とが可能になっている。   The electronic control device of the second invention is an electronic control device that periodically communicates with other control devices via a communication line. The communication counterpart device (another control device that is the communication counterpart) includes a microcomputer that performs processing for the communication counterpart device to communicate with the electronic control device, and the microcomputer communicates with the communication counterpart device from the electronic control device. It is possible to reset and cancel the reset by the reset signal output to the.

そして、第2発明の電子制御装置は、計時手段と、判定手段と、リスタート制御手段と、計数手段と、異常判別手段と、を備える。
計時手段は、通信相手装置から通信信号が送られて来ない継続時間を計測する。判定手段は、計時手段による計測時間が通信異常判定用の閾値に達したか否かを判定する。
The electronic control device according to the second aspect of the present invention comprises a timing means, a determination means, a restart control means, a counting means, and an abnormality determination means.
The time measuring means measures a continuation time during which no communication signal is sent from the communication partner apparatus. The determining means determines whether or not the time measured by the time measuring means has reached a threshold for communication abnormality determination.

リスタート制御手段は、判定手段により前記計測時間が前記閾値に達したと肯定判定されると、通信相手装置へのリセット信号を、マイコンをリセットする方のアクティブレベルにし、その後、リセット信号をアクティブレベルとは反対の非アクティブレベルに戻してマイコンのリセットを解除すると共に、前記計測時間を0にクリアする。   When the determination unit determines that the measurement time has reached the threshold, the restart control unit sets the reset signal to the communication partner device to an active level for resetting the microcomputer, and then activates the reset signal. The microcomputer is reset by returning to an inactive level opposite to the level, and the measurement time is cleared to zero.

計数手段は、リスタート制御手段がリセット信号をアクティブレベルにした回数を計数する。そして、異常判別手段は、計数手段により計数された前記回数(以下、計数回数ともいう)に基づいて、通信相手装置におけるマイコンの異常と、通信線の異常とを、区別して検出する。   The counting means counts the number of times that the restart control means sets the reset signal to the active level. Then, the abnormality determination unit distinguishes and detects a microcomputer abnormality and a communication line abnormality in the communication partner device based on the number of times counted by the counting means (hereinafter also referred to as the number of times of counting).

通信相手装置のマイコンが正常に動作しなくなるか、通信線が異常になって、通信相手装置から通信信号が正常に送られて来なくなると(つまり通信途絶状態になると)、計時手段による計測時間が通信異常判定用の閾値に達して、判定手段が肯定判定する。すると、リスタート制御手段が、通信相手装置のマイコンに対するリセット信号をアクティブレベルにし、その後、リセット信号を非アクティブレベルに戻してマイコンのリセットを解除すると共に、計時手段による計測時間を0にクリアする。   When the communication partner device's microcomputer does not operate normally or the communication line becomes abnormal and the communication partner device does not send a communication signal normally (that is, when communication is interrupted), the time measured by the time measuring means Has reached the threshold for communication abnormality determination, and the determination means makes an affirmative determination. Then, the restart control means sets the reset signal for the microcomputer of the communication partner device to the active level, then returns the reset signal to the inactive level to cancel the reset of the microcomputer, and clears the time measured by the time measuring means to zero. .

ここで、通信線の異常によって通信途絶状態になった場合には、リスタート制御手段が通信相手装置へのリセット信号をアクティブレベルにして、その後、リセット信号を非アクティブレベルに戻しても、通信途絶状態は解消されない。このため、当該電子制御装置では、「計時手段による計測時間が前記閾値に達して、リスタート制御手段が、通信相手装置へのリセット信号をアクティブレベルにし、その後、リセット信号を非アクティブレベルに戻すと共に、計時手段による計測時間を0にクリアする」という動作が繰り返される。そして、リスタート制御手段がリセット信号をアクティブレベルにする毎に、計数手段による計数回数が増加する。   Here, when communication is interrupted due to an abnormality in the communication line, the restart control means sets the reset signal to the communication partner device to the active level, and then returns to the inactive level. The disruption is not resolved. For this reason, in the electronic control device, “the time measured by the time measuring means reaches the threshold value, the restart control means sets the reset signal to the communication counterpart device to the active level, and then returns the reset signal to the inactive level. At the same time, the operation of “clearing the measurement time by the time measuring means to 0” is repeated. Each time the restart control means sets the reset signal to the active level, the number of counts by the counting means increases.

一方、通信相手装置のマイコンが正常に動作しなくなって通信途絶状態になった場合には、リスタート制御手段がリセット信号をアクティブレベルから非アクティブレベルに戻すことにより、通信相手装置のマイコンが正常復帰して、通信途絶状態が解消される。よって、計数手段による計数回数は、例えばマイコンが1回のリセットで正常復帰したとすると、1回分増加するだけであり、通信線の異常が生じた場合よりも小さい値で留まることとなる。このため、異常判別手段は、計数手段による計数回数に基づいて、通信相手装置におけるマイコンの異常と、通信線の異常とを、区別して検出する。   On the other hand, if the microcomputer of the communication partner device does not operate normally and communication is interrupted, the restart control means returns the reset signal from the active level to the inactive level, so that the microcomputer of the communication partner device is normal. It returns and the communication interruption is resolved. Therefore, for example, if the microcomputer returns to normal with a single reset, the number of counts by the counting means only increases by one, and remains smaller than when a communication line abnormality occurs. For this reason, the abnormality determination means distinguishes and detects the abnormality of the microcomputer and the abnormality of the communication line based on the number of times counted by the counting means.

よって、第2発明の電子制御装置によれば、通信相手装置におけるマイコンの異常と、通信線の異常とを、区別して検出できるようになる。
例えば、異常判別手段は、計数手段による計数回数が、1以上で且つ1より大きい第1判定値未満である場合には、マイコンの異常と判定し、計数回数が第1判定値以上の値に設定された第2判定値以上になった場合には、通信線の異常と判定することができる。尚、第1判定値と第2判定値は、異なる値でも同じ値でも良い。
Therefore, according to the electronic control device of the second invention, it is possible to distinguish and detect a microcomputer abnormality and a communication line abnormality in the communication partner apparatus.
For example, when the number of counts by the counting unit is 1 or more and less than a first determination value greater than 1, the abnormality determination unit determines that the microcomputer is abnormal, and the number of counts becomes a value greater than or equal to the first determination value. When the set second determination value is exceeded, it can be determined that the communication line is abnormal. The first determination value and the second determination value may be different values or the same value.

また、第2発明の電子制御装置によれば、通信相手装置のマイコンが正常に動作しているか否かを表す信号を、当該電子制御装置へ通信線とは別の信号線を介して入力させなくても、通信相手装置におけるマイコンの異常と、通信線の異常とを、区別して検出することができる。   According to the electronic control device of the second invention, a signal indicating whether or not the microcomputer of the communication counterpart device is operating normally is input to the electronic control device via a signal line different from the communication line. Even if it is not, it is possible to distinguish and detect a microcomputer abnormality and a communication line abnormality in the communication partner apparatus.

また、第2発明の電子制御装置によれば、通信相手装置のマイコンのリセット解除(即ち、通信相手装置へのリセット信号をアクティブレベルから非アクティブレベルにすること)を、任意のタイミングで実施することができる。このため、通信相手装置との通信を再開する準備が完了してから、上記マイコンのリセットを解除することができる。例えば、通信相手装置から受信する予定の1つあるいは複数のデータの一部を受信した段階で、通信相手装置のマイコンの異常により通信途絶状態が生じた場合に、既に受信した一部のデータを破棄する処理を完了してから、上記マイコンのリセットを解除して通信を再開させることができる。   Further, according to the electronic control device of the second invention, reset release of the microcomputer of the communication counterpart device (that is, changing the reset signal to the communication counterpart device from the active level to the inactive level) is performed at an arbitrary timing. be able to. For this reason, the reset of the microcomputer can be canceled after preparation for resuming communication with the communication partner apparatus is completed. For example, if a communication interruption occurs due to an abnormality in the microcomputer of the communication partner device at the stage of receiving a part of one or more data scheduled to be received from the communication partner device, a part of the already received data is After completing the discarding process, the reset of the microcomputer can be canceled and communication can be resumed.

なお、特許請求の範囲に記載した括弧内の符号は、一つの態様として後述する実施形態に記載の具体的手段との対応関係を示すものであって、本発明の技術的範囲を限定するものではない。   In addition, the code | symbol in the parenthesis described in the claim shows the correspondence with the specific means as described in embodiment mentioned later as one aspect, Comprising: The technical scope of this invention is limited is not.

第1実施形態の通信システムを表す構成図である。It is a block diagram showing the communication system of 1st Embodiment. 第1実施形態の異常検出処理を表すフローチャートである。It is a flowchart showing the abnormality detection process of 1st Embodiment. 第1実施形態において、通信相手のECUにおけるマイコンの異常により通信途絶状態が生じた場合の作用を説明する説明図である。In 1st Embodiment, it is explanatory drawing explaining the effect | action when a communication interruption state arises by abnormality of the microcomputer in ECU of a communicating party. 第1実施形態において、通信線の異常により通信途絶状態が生じた場合の作用を説明する説明図である。In 1st Embodiment, it is explanatory drawing explaining an effect | action when a communication interruption state arises by abnormality of a communication line. 第2実施形態の通信システムを表す構成図である。It is a block diagram showing the communication system of 2nd Embodiment. 第2実施形態の第1処理を表すフローチャートである。It is a flowchart showing the 1st process of 2nd Embodiment. 第2実施形態の第2処理を表すフローチャートである。It is a flowchart showing the 2nd process of 2nd Embodiment. 第2実施形態の第3処理を表すフローチャートである。It is a flowchart showing the 3rd processing of 2nd Embodiment. 第2実施形態において、通信相手のECUにおけるマイコンの異常により通信途絶状態が生じた場合の作用を説明する説明図である。In 2nd Embodiment, it is explanatory drawing explaining the effect | action when a communication interruption state arises by abnormality of the microcomputer in ECU of a communicating party. 第2実施形態において、通信線の異常により通信途絶状態が生じた場合の作用を説明する説明図である。In 2nd Embodiment, it is explanatory drawing explaining an effect | action when a communication interruption state arises by abnormality of a communication line. 第2実施形態における論理積回路の作用を表す真理値表である。It is a truth table showing the operation of the logical product circuit in the second embodiment. 第3実施形態のリセット機能診断処理を表すフローチャートである。It is a flowchart showing the reset function diagnostic process of 3rd Embodiment.

以下に、本発明が適用された実施形態の通信システムについて説明する。本実施形態の通信システムは、例えば車両に搭載された複数の電子制御装置(以下、ECUという)からなる通信システムである。   A communication system according to an embodiment to which the present invention is applied will be described below. The communication system according to the present embodiment is a communication system including, for example, a plurality of electronic control devices (hereinafter referred to as ECUs) mounted on a vehicle.

[第1実施形態]
図1に示すように、第1実施形態の通信システム10は、少なくとも2つのECU1,2を備える。ECU1,2は、通信線3を介して通信可能に接続されている。
[First Embodiment]
As shown in FIG. 1, the communication system 10 according to the first embodiment includes at least two ECUs 1 and 2. The ECUs 1 and 2 are communicably connected via the communication line 3.

ECU1は、当該ECU1の動作を司るマイコン11と、通信回路13と、マイコン11の動作を監視する監視回路15と、を備える。
通信回路13は、マイコン11から与えられる送信データを通信線3へ通信信号として出力する送信動作と、ECU2から通信線3を介して送られて来た通信信号を受信データに変換してマイコン11に出力する受信動作とを、少なくとも行う。
The ECU 1 includes a microcomputer 11 that controls the operation of the ECU 1, a communication circuit 13, and a monitoring circuit 15 that monitors the operation of the microcomputer 11.
The communication circuit 13 outputs transmission data given from the microcomputer 11 to the communication line 3 as a communication signal, and converts the communication signal sent from the ECU 2 via the communication line 3 into reception data to convert the microcomputer 11 And at least the reception operation to be output to.

マイコン11は、監視回路15へ、自身が正常に動作していることを表す信号として、ウォッチドッグパルスWDPを出力する。ウォッチドッグパルスWDPは、予め定められた一定の時間以内毎に有効エッジが生じるパルス信号である。有効エッジとしては、ローからハイへの立ち上がりエッジと、ハイからローへの立ち下がりエッジとの、両方であっても良いし、一方であっても良い。   The microcomputer 11 outputs a watchdog pulse WDP to the monitoring circuit 15 as a signal indicating that it is operating normally. The watch dog pulse WDP is a pulse signal in which a valid edge is generated every predetermined time. The valid edge may be both a rising edge from low to high and a falling edge from high to low, or one of them.

監視回路15は、いわゆるウォッチドッグタイマであり、マイコン11からウォッチドッグパルスWDPが出力されない(詳しくは、ウォッチドッグパルスWDPに有効エッジが生じない)継続時間を計測する。そして、監視回路15は、ウォッチドッグパルスWDPが出力されない継続時間が、上記一定の時間よりも長く設定されたマイコン異常判定時間Tm以上になると、マイコン11が異常であると判断して、マイコン11にリセット信号を出力することにより、マイコン11をリセットして再起動させる。尚、「リセット信号を出力する」とは、「リセット信号を、リセットに関して有効な方のアクティブレベル(この例では例えばロー)にする」ということである。   The monitoring circuit 15 is a so-called watchdog timer, and measures a duration time during which the watchdog pulse WDP is not output from the microcomputer 11 (specifically, a valid edge does not occur in the watchdog pulse WDP). The monitoring circuit 15 determines that the microcomputer 11 is abnormal when the continuation time during which the watchdog pulse WDP is not output becomes equal to or longer than the microcomputer abnormality determination time Tm set longer than the predetermined time. The microcomputer 11 is reset and restarted by outputting a reset signal. Note that “outputting a reset signal” means “making the reset signal an active level that is effective for resetting (eg, low in this example)”.

ECU2も、ECU1と同様に、マイコン21、通信回路23及び監視回路25を備えている。それらの役割は、ECU1におけるマイコン11、通信回路13及び監視回路15と同様である。   The ECU 2 also includes a microcomputer 21, a communication circuit 23, and a monitoring circuit 25, similar to the ECU 1. Their roles are the same as those of the microcomputer 11, the communication circuit 13, and the monitoring circuit 15 in the ECU 1.

ECU1とECU2は、一定の通信間隔Tintで定期的に通信するようになっている。
ECU1のマイコン11は、ECU2と通信間隔Tint毎に通信するための処理を行うと共に、ECU2から通信で取得したデータを用いて、当該ECU1の制御対象を制御するための処理を行う。同様に、ECU2のマイコン21は、ECU1と通信間隔Tint毎に通信するための処理を行うと共に、ECU1から通信で取得したデータを用いて、当該ECU2の制御対象を制御するための処理を行う。例えば、ECU1の制御対象は、エアコンやメータなどであり、ECU2の制御対象は、エンジンやトランスミッションなどである。
ECU1 and ECU2 communicate regularly with a fixed communication interval Tint.
The microcomputer 11 of the ECU 1 performs processing for communicating with the ECU 2 at every communication interval Tint, and performs processing for controlling a control target of the ECU 1 using data acquired from the ECU 2 through communication. Similarly, the microcomputer 21 of the ECU 2 performs processing for communicating with the ECU 1 at every communication interval Tint, and performs processing for controlling the control target of the ECU 2 using data acquired from the ECU 1 through communication. For example, the control target of the ECU 1 is an air conditioner or a meter, and the control target of the ECU 2 is an engine or a transmission.

次に、各ECU1,2のマイコン11,21が、通信相手のECUにおけるマイコンの異常と、通信線3の異常とを、区別して検出するために行う異常検出処理について、図2を用い説明する。尚、各ECU1,2のマイコン11,21が行う異常検出処理の内容は互いに同じであるため、以下では、ECU2の方を主として説明する。つまり、ECU2のマイコン21が、通信相手である他のECU1におけるマイコン11の異常と、通信線3の異常とを、区別して検出する、という観点で説明する。   Next, an abnormality detection process performed by the microcomputers 11 and 21 of the ECUs 1 and 2 to distinguish and detect the abnormality of the microcomputer in the ECU of the communication partner and the abnormality of the communication line 3 will be described with reference to FIG. . Since the contents of the abnormality detection process performed by the microcomputers 11 and 21 of the ECUs 1 and 2 are the same, the ECU 2 will be mainly described below. That is, it demonstrates from a viewpoint that the microcomputer 21 of ECU2 distinguishes and detects the abnormality of the microcomputer 11 in other ECU1 which is a communicating party, and the abnormality of the communication line 3. FIG.

ECU2のマイコン21は、図2の異常検出処理を、通信間隔Tintよりも短い一定時間毎に実行する。
図2に示すように、マイコン21は、異常検出処理を開始すると、S110にて、通信相手のECU1から通信信号が正常に送られて来ない通信途絶状態であるか否かを判定する。例えば、S110では、前回の通信信号が来たときから、通信間隔Tintの最大値よりも少し長く設定された通信途絶判定時間Tjが経過しても、次の通信信号が来ない場合に、通信途絶状態であると判定する。また、S110では、ECU1から通信信号が来るか、あるいは、前回の通信信号が来たときから通信途絶判定時間Tjが経過していなければ、通信途絶状態ではないと判定する。尚、最大値とは、設計上の最大値(つまり、正常範囲の最大値)である。また、ECU2において、「ECU1から通信信号が来る」とは、「ECU1からの通信信号を受信する」ということである。
The microcomputer 21 of the ECU 2 executes the abnormality detection process of FIG. 2 at regular intervals shorter than the communication interval Tint.
As shown in FIG. 2, when the microcomputer 21 starts the abnormality detection process, in S110, the microcomputer 21 determines whether or not the communication signal is not normally sent from the communication partner ECU 1 or not. For example, in S110, if the next communication signal does not come even after the communication interruption determination time Tj set slightly longer than the maximum value of the communication interval Tint has elapsed since the previous communication signal has been received, It is determined that the state is disrupted. In S110, if the communication signal is received from the ECU 1 or if the communication interruption determination time Tj has not elapsed since the previous communication signal has been received, it is determined that the communication is not interrupted. The maximum value is a design maximum value (that is, the maximum value in the normal range). In the ECU 2, “a communication signal comes from the ECU 1” means “receives a communication signal from the ECU 1”.

マイコン21は、S110にて、通信途絶状態であると判定した場合には、S120にて、通信途絶タイマをインクリメントする。通信途絶タイマは、S110で通信途絶状態であると判定されてから、S110で通信途絶状態ではないと判定されるまでの時間を計測するためのタイマである。この通信途絶タイマの値(以下、通信途絶タイマ値という)が、計測された時間に相当する。   If the microcomputer 21 determines in S110 that the communication is interrupted, the microcomputer 21 increments the communication interruption timer in S120. The communication interruption timer is a timer for measuring a time from when it is determined that the communication is interrupted in S110 until it is determined that the communication is not interrupted in S110. The value of the communication interruption timer (hereinafter referred to as communication interruption timer value) corresponds to the measured time.

そして、マイコン21は、次のS130にて、通信途絶タイマ値が、後述する第1判定値以上の値に設定された第2判定値以上であるか否かを判定し、通信途絶タイマ値が第2判定値以上でなければ、そのまま当該異常検出処理を終了する。   In step S130, the microcomputer 21 determines whether or not the communication interruption timer value is equal to or greater than a second determination value set to a value equal to or greater than a first determination value described later. If it is not greater than or equal to the second determination value, the abnormality detection process is terminated as it is.

第1判定値は、以下の復帰最長時間に相当する値(即ち、復帰最長時間を当該異常検出処理の実行周期で割った値)よりも大きい値に設定されている。その復帰最長時間とは、ECU1のマイコン11が、異常になってから、監視回路15によりリセットされて正常復帰し、ECU1からECU2への通信信号の送信が再開されるまでの時間の最大値である。そして、第2判定値は、その第1判定値と同じ値か、あるいは、第1判定値よりも大きい値に設定されている。   The first determination value is set to a value larger than a value corresponding to the following return longest time (that is, a value obtained by dividing the longest return time by the execution period of the abnormality detection process). The maximum recovery time is the maximum value of the time from when the microcomputer 11 of the ECU 1 becomes abnormal to when it is reset by the monitoring circuit 15 to return to normal and transmission of the communication signal from the ECU 1 to the ECU 2 is resumed. is there. The second determination value is set to the same value as the first determination value or a value larger than the first determination value.

また、マイコン21は、上記S130にて、通信途絶タイマ値が第2判定値以上であると判定した場合には、S140にて、通信線3の異常が発生したと判定し(換言すれば、通信途絶状態の原因は通信線3の異常であると判定し)、その後、当該異常検出処理を終了する。   If the microcomputer 21 determines in S130 that the communication interruption timer value is greater than or equal to the second determination value, the microcomputer 21 determines in S140 that an abnormality has occurred in the communication line 3 (in other words, It is determined that the cause of the communication interruption state is an abnormality in the communication line 3), and then the abnormality detection process is terminated.

一方、マイコン21は、上記S110にて、通信途絶状態ではないと判定した場合には、S150にて、今回が通信復帰時であるか否かを判定する。具体的には、S150では、前回のS110で通信途絶状態であると判定していて、今回のS110で通信途絶状態ではない(つまり、ECU1からの通信信号が来た)と判定した場合には、通信復帰時であると判定する。逆に、S150では、前回のS110でも通信途絶状態ではないと判定していた場合には、通信復帰時ではないと判定する。   On the other hand, if it is determined in S110 that the communication is not interrupted, the microcomputer 21 determines in S150 whether or not this time is a communication return time. Specifically, in S150, when it is determined in the previous S110 that the communication has been interrupted, and in this S110, it is determined that the communication has not been interrupted (that is, a communication signal from the ECU 1 has been received). Then, it is determined that the communication is returning. On the contrary, in S150, when it is determined that the communication is not interrupted in the previous S110, it is determined that the communication is not restored.

マイコン21は、S150にて、通信復帰時であると判定した場合には、S160にて、通信途絶タイマ値が前述の第1判定値未満であるか否かを判定する。この場合の通信途絶タイマ値は、S110で通信途絶状態であると判定してから、S110で通信途絶状態ではないと判定するまで(通信が復帰するまで)の時間を計測した値に相当する。   If the microcomputer 21 determines in S150 that the communication is being restored, it determines in S160 whether the communication interruption timer value is less than the first determination value. The communication interruption timer value in this case corresponds to a value obtained by measuring the time from determining that the communication is interrupted in S110 to determining that the communication is not interrupted in S110 (until communication is restored).

そして、マイコン21は、S160にて、通信途絶タイマ値が第1判定値未満であると判定した場合には、S170にて、通信相手であるECU1内のマイコン11の異常が発生したと判定する(換言すれば、通信途絶状態の原因はマイコン11の異常であると判定する)。その後、マイコン21は、S180にて、通信途絶タイマをクリアし(具体的には、通信途絶タイマ値を0にし)、当該異常検出処理を終了する。   If it is determined in S160 that the communication interruption timer value is less than the first determination value, the microcomputer 21 determines in S170 that an abnormality has occurred in the microcomputer 11 in the ECU 1 that is the communication partner. (In other words, it is determined that the cause of the communication interruption state is an abnormality of the microcomputer 11). Thereafter, in S180, the microcomputer 21 clears the communication interruption timer (specifically, sets the communication interruption timer value to 0), and ends the abnormality detection process.

また、マイコン21は、上記S150にて通信復帰時ではないと判定した場合、あるいは、上記S160にて通信途絶タイマ値が第1判定値未満ではないと判定した場合には、そのままS180に移行して、通信途絶タイマをクリアし、その後、当該異常検出処理を終了する。   If the microcomputer 21 determines in S150 that the communication is not restored, or if it determines in S160 that the communication interruption timer value is not less than the first determination value, the microcomputer 21 proceeds to S180 as it is. Then, the communication interruption timer is cleared, and then the abnormality detection process is terminated.

次に、ECU2のマイコン21が異常検出処理を行うことによる作用を、図3及び図4を用い説明する。尚、図3及び図4において、1段目(「通信信号」と記載した段)は、ECU1からECU2への通信信号を表しており、その1段目においては、「データ」と記載している期間が、ECU1からの通信信号がECU2に伝達された期間である。   Next, the effect | action by the microcomputer 21 of ECU2 performing an abnormality detection process is demonstrated using FIG.3 and FIG.4. In FIG. 3 and FIG. 4, the first stage (stage described as “communication signal”) represents a communication signal from the ECU 1 to the ECU 2. In the first stage, “data” is described. The period during which the communication signal from the ECU 1 is transmitted to the ECU 2 is the period during which the ECU 1 is transmitted.

図3は、ECU1のマイコン11の異常によって通信途絶状態が生じた場合を表している。
図3において、時刻t0よりも前では、ECU1からECU2へ一定の通信間隔Tintで通信信号(データ)が届いている。
FIG. 3 shows a case where a communication interruption state occurs due to an abnormality in the microcomputer 11 of the ECU 1.
In FIG. 3, before the time t0, a communication signal (data) arrives from the ECU 1 to the ECU 2 at a constant communication interval Tint.

ECU2のマイコン21は、時刻t1に示すように、前回の通信信号が来たときから前述の通信途絶判定時間Tj(>Tint)が経過しても次の通信信号が来ないと、通信途絶状態であると判定する(S110:YES)。そして、マイコン21は、その後、ECU1から通信信号が送られて来るまで(つまり、ECU1からの通信信号を受信するまで)、通信途絶状態であると判定し続けて、通信途絶タイマを、異常検出処理(図2)の実行周期である一定時間毎にインクリメントする(S120)。   As shown at time t1, the microcomputer 21 of the ECU 2 is in a communication interruption state if the next communication signal does not come even after the communication interruption determination time Tj (> Tint) has passed since the previous communication signal has come. (S110: YES). Then, the microcomputer 21 continues to determine that the communication is interrupted until a communication signal is sent from the ECU 1 (that is, until a communication signal is received from the ECU 1), and the communication interruption timer is detected as an abnormality. It is incremented at regular intervals that are the execution cycle of the process (FIG. 2) (S120).

ここで、ECU1のマイコン11が正常に動作しなくなって、通信途絶状態が生じた場合には、ECU1において、マイコン11は監視回路15により異常と判断されてリセットされる。そして、マイコン11がリセットにより正常復帰することで、図3における時刻t2に示すように、ECU1からECU2に通信信号が送られて来る(つまり、通信途絶状態が解消される)。すると、ECU2のマイコン21は、図2の異常検出処理において、S110で「NO」と判定し、S150で「YES」と判定する。そして、そのときの通信途絶タイマ値は、第1判定値未満になる。第1判定値は、前述の復帰最長時間に相当する値よりも大きい値に設定されているからである。   Here, when the microcomputer 11 of the ECU 1 does not operate normally and a communication interruption occurs, the microcomputer 11 is determined to be abnormal by the monitoring circuit 15 in the ECU 1 and is reset. Then, when the microcomputer 11 returns to normal by reset, a communication signal is sent from the ECU 1 to the ECU 2 as shown at time t2 in FIG. 3 (that is, the communication interruption state is eliminated). Then, the microcomputer 21 of the ECU 2 determines “NO” in S110 and “YES” in S150 in the abnormality detection process of FIG. Then, the communication interruption timer value at that time is less than the first determination value. This is because the first determination value is set to a value larger than the value corresponding to the aforementioned longest return time.

このため、マイコン21は、図2のS160で「YES」と判定して、通信途絶状態の原因はECU1におけるマイコン11の異常であると判定することとなる(S170)。
一方、図4は、通信線3の異常(例えば断線や所定電圧への短絡)によって通信途絶状態が生じた場合を表している。
For this reason, the microcomputer 21 determines “YES” in S160 of FIG. 2, and determines that the cause of the communication interruption state is an abnormality of the microcomputer 11 in the ECU 1 (S170).
On the other hand, FIG. 4 shows a case where a communication interruption state occurs due to an abnormality in the communication line 3 (for example, disconnection or short circuit to a predetermined voltage).

通信線3に異常が生じた場合にも、ECU2のマイコン21は、図4の時刻t3に示すように、前回の通信信号が来たときから通信途絶判定時間Tjが経過しても次の通信信号が来なくなることで、通信途絶状態であると判定する(S110:YES)。そして、マイコン21は、ECU1から通信信号が送られて来るまで、通信途絶タイマを、一定時間毎にインクリメントする(S120)。   Even when an abnormality occurs in the communication line 3, the microcomputer 21 of the ECU 2 continues the next communication even if the communication interruption determination time Tj elapses from when the previous communication signal comes, as shown at time t <b> 3 in FIG. 4. When no signal is received, it is determined that the communication is interrupted (S110: YES). Then, the microcomputer 21 increments the communication interruption timer at regular intervals until a communication signal is sent from the ECU 1 (S120).

通信線3が異常の場合、実際には通信途絶状態が解消されないため、マイコン21は、図2の異常検出処理において、S110で「YES」と判定し続け、延いては、S120で通信途絶タイマをインクリメントし続けることとなる。そして、通信途絶タイマ値は、図4の時刻t4に示すように、第2判定値に達する。   When the communication line 3 is abnormal, since the communication interruption state is not actually resolved, the microcomputer 21 continues to determine “YES” in S110 in the abnormality detection processing of FIG. 2, and further, the communication interruption timer in S120. Will continue to be incremented. Then, the communication interruption timer value reaches the second determination value as shown at time t4 in FIG.

このため、マイコン21は、S110で「NO」と判定することなく、S130で「YES」と判定(即ち、通信途絶タイマ値が第2判定値以上になったと判定)して、通信途絶状態の原因は通信線3の異常であると判定することとなる(S140)。   For this reason, the microcomputer 21 does not determine “NO” in S110, but determines “YES” in S130 (that is, determines that the communication interruption timer value is equal to or greater than the second determination value), and is in a communication interruption state. It is determined that the cause is an abnormality in the communication line 3 (S140).

以上のようなECU2によれば、通信相手のECU1におけるマイコン11の異常と、通信線3の異常とを、区別して検出することができる。
また、ECU1のマイコン11が正常に動作しているか否かを表す特定の信号(例えば、マイコン11からのウォッチドッグパルスWDP)を、ECU1からECU2へ通信線3とは別の信号線を介して入力させなくても、マイコン11の異常と通信線3の異常とを、区別して検出することができる。つまり、ECU1からECU2へ上記特定の信号を入力させれば、ECU2のマイコン21は、ECU1のマイコン11が正常か否かを判断できるため、通信途絶状態になった場合に、その原因が、マイコン11の異常か通信線3の異常かを判別することができる。しかし、上記特定の信号をECU2に入力させるための信号線を追加する必要がある。これに対して、本実施形態では、そのような信号線を追加する必要がない。
According to the ECU 2 as described above, the abnormality of the microcomputer 11 in the communication partner ECU 1 and the abnormality of the communication line 3 can be distinguished and detected.
Further, a specific signal indicating whether the microcomputer 11 of the ECU 1 is operating normally (for example, a watch dog pulse WDP from the microcomputer 11) is transmitted from the ECU 1 to the ECU 2 via a signal line different from the communication line 3. Even without inputting, it is possible to detect the abnormality of the microcomputer 11 and the abnormality of the communication line 3 separately. That is, if the specific signal is input from the ECU 1 to the ECU 2, the microcomputer 21 of the ECU 2 can determine whether or not the microcomputer 11 of the ECU 1 is normal. 11 or the communication line 3 can be discriminated. However, it is necessary to add a signal line for inputting the specific signal to the ECU 2. On the other hand, in this embodiment, it is not necessary to add such a signal line.

尚、上記実施形態では、第1判定値が、通信相手装置におけるマイコンの異常を判定するための所定の判定値に相当し、第2判定値が、通信線異常判定値に相当している。また、第2判定値を、第1判定値よりも大きい値に設定すれば、通信線3の異常について、判定精度を向上させることができるという面で有利である。また、第1判定値と第2判定値を同じ値に設定すれば、判定がシンプルという面で有利である。   In the above embodiment, the first determination value corresponds to a predetermined determination value for determining an abnormality of the microcomputer in the communication partner device, and the second determination value corresponds to a communication line abnormality determination value. Moreover, if the second determination value is set to a value larger than the first determination value, it is advantageous in that the determination accuracy can be improved with respect to the abnormality of the communication line 3. Further, if the first determination value and the second determination value are set to the same value, it is advantageous in terms of simple determination.

また、変形例として、通信途絶状態の判定については、前回の通信信号の受信が完了したときから(つまり、通信信号が来なくなってから)の経過時間が、所定の通信異常判定時間Tj’以上になると、通信途絶状態であると判定するように構成しても良い。その通信異常判定時間Tj’は、例えば、前述の通信途絶判定時間Tjと同じか、その通信途絶判定時間Tjよりも通信信号の伝送時間(図3,図4の1段目において「データ」と記載した期間の時間)の分だけ短い時間に設定することができる。   Further, as a modification, regarding the determination of the communication interruption state, the elapsed time from when the reception of the previous communication signal is completed (that is, after the communication signal stops coming) is equal to or longer than a predetermined communication abnormality determination time Tj ′. Then, it may be configured to determine that the communication is interrupted. The communication abnormality determination time Tj ′ is, for example, the same as the communication interruption determination time Tj described above, or the communication signal transmission time (“data” in the first stage of FIGS. 3 and 4) than the communication interruption determination time Tj. It can be set to a time shorter by the time of the described period).

また、他の変形例として、ECU1,2のうちの一方のマイコン(例えばECU2のマイコン21)だけが、図2の異常検出処理を行うようになっていても良い。
また、通信線3に接続されるECUの数は3つ以上でも良い。その場合、通信線3に接続されたECUのうち、少なくとも2つのECUが、前述したECU1とECU2との関係にあれば良い。
As another modification, only one of the ECUs 1 and 2 (for example, the microcomputer 21 of the ECU 2) may perform the abnormality detection process of FIG.
Further, the number of ECUs connected to the communication line 3 may be three or more. In that case, at least two ECUs among the ECUs connected to the communication line 3 may be in the relationship between the ECU 1 and the ECU 2 described above.

[第2実施形態]
次に、第2実施形態の通信システムについて説明する。尚、第1実施形態と同様の構成要素については、第1実施形態と同じ符号を用いるため、詳細な説明を省略する。
[Second Embodiment]
Next, a communication system according to the second embodiment will be described. In addition, about the component similar to 1st Embodiment, since the same code | symbol as 1st Embodiment is used, detailed description is abbreviate | omitted.

図5に示すように、第2実施形態の通信システム30は、第1実施形態の通信システム10と比較すると、下記〈1〉〜〈4〉の点が異なっている。
〈1〉通信線3には、ECU1に代えて、ECU31が接続されており、ECU2に代えて、ECU32が接続されている。
As illustrated in FIG. 5, the communication system 30 according to the second embodiment differs from the communication system 10 according to the first embodiment in the following points <1> to <4>.
<1> An ECU 31 is connected to the communication line 3 instead of the ECU 1, and an ECU 32 is connected instead of the ECU 2.

〈2〉ECU31とECU32との間に、信号線33が設けられている。信号線33は、ECU32からECU31へ、ECU31のマイコン11をリセットするためのリセット信号を出力するための信号線である。そして、ECU32のマイコン21は、信号線33を介してECU31に出力するリセット信号のレベルを、マイコン11をリセットする方のアクティブレベル(この例ではロー)と、それとは反対の(即ち、マイコン11をリセットしない方の)非アクティブレベル(この例ではハイ)とに切り換える。   <2> A signal line 33 is provided between the ECU 31 and the ECU 32. The signal line 33 is a signal line for outputting a reset signal for resetting the microcomputer 11 of the ECU 31 from the ECU 32 to the ECU 31. Then, the microcomputer 21 of the ECU 32 sets the level of the reset signal output to the ECU 31 via the signal line 33 opposite to the active level (low in this example) that resets the microcomputer 11 (that is, the microcomputer 11). Is switched to the inactive level (high in this example).

〈3〉ECU31は、ECU1と比較すると、論理積回路(アンド回路)17を備えている。論理積回路17には、ECU31内の監視回路15から出力されるリセット信号と、ECU32のマイコン21から信号線33を介してECU31に入力されるリセット信号とが、2つの入力信号として入力される。そして、論理積回路17は、2つの入力信号の論理積信号を、マイコン11のリセット端子にリセット信号として出力する。このため、図11に示すように、マイコン11のリセット端子への入力信号(即ち、マイコン11へのリセット信号)は、監視回路15からのリセット信号と、ECU32のマイコン21からのリセット信号との、少なくとも一方(即ち、両方又は一方)がロー(0)になると、ローになる。また、マイコン11のリセット端子への入力信号は、監視回路15からのリセット信号と、ECU32のマイコン21からのリセット信号との、両方がハイ(1)になると、ハイになる。よって、ECU31においては、監視回路15からのリセット信号と、ECU32のマイコン21からのリセット信号との、少なくとも一方がローになれば、マイコン11がリセットされる。そして、監視回路15からのリセット信号と、ECU32のマイコン21からのリセット信号との、両方がハイになれば、マイコン11のリセットが解除される。   <3> The ECU 31 includes a logical product circuit (AND circuit) 17 as compared with the ECU 1. The AND circuit 17 receives a reset signal output from the monitoring circuit 15 in the ECU 31 and a reset signal input to the ECU 31 from the microcomputer 21 of the ECU 32 via the signal line 33 as two input signals. . The AND circuit 17 outputs a logical product signal of the two input signals to the reset terminal of the microcomputer 11 as a reset signal. For this reason, as shown in FIG. 11, the input signal to the reset terminal of the microcomputer 11 (that is, the reset signal to the microcomputer 11) is the reset signal from the monitoring circuit 15 and the reset signal from the microcomputer 21 of the ECU 32. , When at least one (ie both or one) goes low (0). Further, the input signal to the reset terminal of the microcomputer 11 becomes high when both the reset signal from the monitoring circuit 15 and the reset signal from the microcomputer 21 of the ECU 32 become high (1). Therefore, in the ECU 31, the microcomputer 11 is reset when at least one of the reset signal from the monitoring circuit 15 and the reset signal from the microcomputer 21 of the ECU 32 becomes low. If both the reset signal from the monitoring circuit 15 and the reset signal from the microcomputer 21 of the ECU 32 become high, the reset of the microcomputer 11 is released.

〈4〉ECU32のマイコン21は、図2の異常検出処理に代えて、図6の第1処理を実行する。更に、ECU32のマイコン21は、図7の第2処理と、図8の第3処理も実行する。   <4> The microcomputer 21 of the ECU 32 executes the first process of FIG. 6 instead of the abnormality detection process of FIG. Further, the microcomputer 21 of the ECU 32 also executes the second process of FIG. 7 and the third process of FIG.

次に、ECU32のマイコン21が、通信相手である他のECU31におけるマイコン11の異常と、通信線3の異常とを、区別して検出するために実行する処理について、図6〜図8を用い説明する。   Next, the processing executed by the microcomputer 21 of the ECU 32 to distinguish and detect the abnormality of the microcomputer 11 and the abnormality of the communication line 3 in the other ECU 31 that is the communication partner will be described with reference to FIGS. To do.

ECU32のマイコン21は、図6の第1処理を、通信間隔Tintよりも短い一定時間毎に実行する。
図6に示すように、マイコン21は、第1処理を開始すると、S210にて、ECU31からの通信信号の有無を判定する。S210では、ECU31からの通信信号を受信中であれば、「通信信号あり」と判定(YESと判定)し、通信信号の受信中でなければ、「通信信号なし」と判定(NOと判定)する。
The microcomputer 21 of the ECU 32 executes the first process of FIG. 6 at regular intervals shorter than the communication interval Tint.
As shown in FIG. 6, when starting the first process, the microcomputer 21 determines the presence or absence of a communication signal from the ECU 31 in S210. In S210, if a communication signal from the ECU 31 is being received, it is determined that there is a communication signal (determined as YES), and if no communication signal is being received, it is determined that there is no communication signal (determined as NO). To do.

マイコン21は、S210にて「通信信号あり」と判定した場合には、S215にて、タイマをクリアする。具体的には、タイマの値を0にする。タイマは、ECU31から通信信号が送られて来ない継続時間を計測するためのタイマである。このタイマの値(以下、タイマ値という)が、計測された時間(計測時間)に相当する。   If the microcomputer 21 determines that “there is a communication signal” in S210, the microcomputer 21 clears the timer in S215. Specifically, the timer value is set to zero. The timer is a timer for measuring a duration time during which no communication signal is sent from the ECU 31. The value of this timer (hereinafter referred to as timer value) corresponds to the measured time (measurement time).

そして、マイコン21は、次のS217にて、リセット解除後フラグを“0”にクリアし、その後、当該第1処理を終了する。リセット解除後フラグは、後述する異常判定用閾値を切り換えるためのフラグであり、後述する図7のS340で“1”にセットされる。   In step S217, the microcomputer 21 clears the post-reset release flag to “0”, and then ends the first process. The post-reset release flag is a flag for switching a threshold for abnormality determination described later, and is set to “1” in S340 of FIG. 7 described later.

一方、マイコン21は、S210にて「通信信号なし」と判定した場合には、S220にて、タイマをインクリメントする。
そして、マイコン21は、次のS230にて、リセット解除後フラグが“1”であるか否かを判定し、リセット解除後フラグが“1”でなければ(つまり“0”であれば)、S240に進む。マイコン21は、S240では、第1閾値N[Ta]と第2閾値N[Tb]とのうち、第1閾値N[Ta]を異常判定用閾値(通信異常判定用の閾値に相当)として設定し、その後、S260に進む。また、マイコン21は、S230にて、リセット解除後フラグが“1”であると判定した場合には、S250にて、第2閾値「N[Tb]」を異常判定用閾値として設定し、その後、S260に進む。
On the other hand, if the microcomputer 21 determines in S210 that “no communication signal”, the microcomputer 21 increments the timer in S220.
In step S230, the microcomputer 21 determines whether or not the post-reset release flag is “1”. If the post-reset release flag is not “1” (that is, “0”), Proceed to S240. In S240, the microcomputer 21 sets the first threshold value N [Ta] as the abnormality determination threshold value (corresponding to the communication abnormality determination threshold value) out of the first threshold value N [Ta] and the second threshold value N [Tb]. Then, the process proceeds to S260. If the microcomputer 21 determines in S230 that the post-reset release flag is “1”, the microcomputer 21 sets the second threshold “N [Tb]” as the abnormality determination threshold in S250, and then , Go to S260.

第1閾値N[Ta]と第2閾値N[Tb]は、ECU31との通信異常を判定するための閾値である。
第1閾値N[Ta]は、以下の第1時間Taに相当する値(即ち、第1時間Taを当該第1処理の実行周期で割った値)であり、第2閾値N[Tb]は、以下の第2時間Tbに相当する値(即ち、第2時間Tbを当該第1処理の実行周期で割った値)である。
The first threshold value N [Ta] and the second threshold value N [Tb] are threshold values for determining an abnormality in communication with the ECU 31.
The first threshold N [Ta] is a value corresponding to the following first time Ta (that is, a value obtained by dividing the first time Ta by the execution cycle of the first process), and the second threshold N [Tb] is , A value corresponding to the following second time Tb (that is, a value obtained by dividing the second time Tb by the execution period of the first process).

第1時間Taは、ECU31との通信異常を判定するための閾値としての時間であるが、詳しい役割としては、第1実施形態と同様の通信途絶状態を判定するための判定時間である。   The first time Ta is a time as a threshold for determining an abnormality in communication with the ECU 31, but as a detailed role, it is a determination time for determining a communication interruption state similar to the first embodiment.

第1時間Taについて、図9を用い説明する。尚、図9において、1段目(「通信信号」と記載した段)は、ECU31からECU32への通信信号を表しており、その1段目においては、「データ」と記載している期間が、ECU31からの通信信号がECU32に伝達された期間である。そして、このことは、後述する図10についても同様である。   The first time Ta will be described with reference to FIG. In FIG. 9, the first stage (stage described as “communication signal”) represents a communication signal from the ECU 31 to the ECU 32. In the first stage, the period described as “data” is shown. This is a period during which a communication signal from the ECU 31 is transmitted to the ECU 32. This also applies to FIG. 10 described later.

図9に示すように、第1時間Taは、通信間隔Tintの最大値から、通信信号の伝送時間(図9の1段目において「データ」と記載した期間の時間)の最小値を引いた時間Tcよりも長い時間に設定されており、本実施形態では、その時間Tcに所定時間Tsを加えた時間である。尚、前述したように、最大値とは、設計上の最大値(つまり、正常範囲の最大値)である。同様に、最小値とは、設計上の最小値(つまり、正常範囲の最小値)である。   As shown in FIG. 9, the first time Ta is obtained by subtracting the minimum value of the transmission time of the communication signal (the time of the period described as “data” in the first stage of FIG. 9) from the maximum value of the communication interval Tint. It is set to a time longer than the time Tc, and in this embodiment, is a time obtained by adding a predetermined time Ts to the time Tc. As described above, the maximum value is the design maximum value (that is, the maximum value in the normal range). Similarly, the minimum value is a design minimum value (that is, the minimum value in the normal range).

上記時間Tcは、換言すれば、前回の通信信号の終了時から次の通信信号が来るまでの時間の最大値である。また、所定時間Tsは、前述した監視回路15におけるマイコン異常判定時間Tm以上の時間である。そして、第1時間Taは、第1実施形態の変形例として説明した通信異常判定時間Tj’に相当する。   In other words, the time Tc is the maximum value of the time from the end of the previous communication signal to the arrival of the next communication signal. The predetermined time Ts is a time equal to or longer than the microcomputer abnormality determination time Tm in the monitoring circuit 15 described above. The first time Ta corresponds to the communication abnormality determination time Tj ′ described as a modification of the first embodiment.

このため、通信信号の受信を終了してから次の通信信号が送信されて来ない継続時間(以下、無通信時間ともいう)が、第1時間Ta以上になった場合には、ECU31から通信信号が正常に送られて来ない通信途絶状態であると判定することができる。   For this reason, when the continuation time during which the next communication signal is not transmitted after the completion of reception of the communication signal (hereinafter also referred to as “no communication time”) is equal to or longer than the first time Ta, communication is performed from the ECU 31. It can be determined that the communication is interrupted when the signal is not normally transmitted.

また、第1時間Taは、上記時間Tcよりも上記所定時間Tsだけ長い時間である。このため、ECU31におけるマイコン11の異常によって通信途絶状態となり、無通信時間が第1時間Ta以上になった場合には、ECU31において、マイコン11は監視回路15によってリセットされたと考えられる。本実施形態では、その場合に、後述するS280にて、ECU32からECU31へのリセット信号をローにして、マイコン11をECU32側からもリセットし、その後、リセットの解除をECU32側から行うようになっている。   The first time Ta is a time longer than the time Tc by the predetermined time Ts. For this reason, it is considered that the microcomputer 11 has been reset by the monitoring circuit 15 in the ECU 31 when the communication is interrupted due to the abnormality of the microcomputer 11 in the ECU 31 and the no-communication time becomes equal to or longer than the first time Ta. In this embodiment, in this case, in S280 described later, a reset signal from the ECU 32 to the ECU 31 is set to low to reset the microcomputer 11 from the ECU 32 side, and thereafter the reset is released from the ECU 32 side. ing.

また、第2時間Tbも、ECU31との通信異常を判定するための閾値としての時間であるが、詳しい役割としては、ECU31のマイコン11をリセットしても、ECU31からの通信信号の送信が再開されないことを判定するための判定時間である。このため、第2時間Tbは、ECU31のマイコン11のリセットが解除されてから(換言すれば、マイコン11が起動してから)、ECU31からECU32への通信信号の送信が開始されるまでの時間の、最大値よりも大きい値に設定されている。   Further, the second time Tb is also a time as a threshold for determining a communication abnormality with the ECU 31, but as a detailed role, even if the microcomputer 11 of the ECU 31 is reset, transmission of the communication signal from the ECU 31 is resumed. It is a determination time for determining that the operation is not performed. Therefore, the second time Tb is the time from when the reset of the microcomputer 11 of the ECU 31 is released (in other words, after the microcomputer 11 is activated) until the transmission of the communication signal from the ECU 31 to the ECU 32 is started. Is set to a value larger than the maximum value.

図6の説明に戻る。マイコン21は、S260では、タイマ値が異常判定用閾値未満であるか否かを判定し、タイマ値が異常判定用閾値未満でなければ、S270にて、タイマ値が異常判定用閾値と同じになったか否か(つまり、タイマ値が異常判定用閾値に達したか否か)を判定する。マイコン21は、そのS270で、タイマ値が異常判定用閾値と同じになったと判定した場合には、S280に進み、ECU31へのリセット信号をハイからローにして、マイコン11のリセットを実施する。そして、マイコン21は、次のS290にて、リセットカウンタをインクリメントした後、当該第1処理を終了する。リセットカウンタは、ECU31へのリセット信号をローにした回数を計数するためのカウンタである。このリセットカウンタの初期値は0である。   Returning to the description of FIG. In S260, the microcomputer 21 determines whether or not the timer value is less than the abnormality determination threshold. If the timer value is not less than the abnormality determination threshold, the timer value is the same as the abnormality determination threshold in S270. Whether the timer value has reached the abnormality determination threshold value or not is determined. If the microcomputer 21 determines in S270 that the timer value is the same as the abnormality determination threshold value, the microcomputer 21 proceeds to S280 and changes the reset signal to the ECU 31 from high to low to reset the microcomputer 11. In step S290, the microcomputer 21 increments the reset counter, and then ends the first process. The reset counter is a counter for counting the number of times that the reset signal to the ECU 31 is low. The initial value of this reset counter is zero.

マイコン21は、リセット解除後フラグが“0”になっていて、異常判定用閾値が第1閾値N[Ta]である場合に、S270で「YES」と判定した場合には、通信途絶状態になったと判断して、S280の処理により、ECU31へのリセット信号をローにすることとなる。   If the flag after reset release is “0” and the abnormality determination threshold value is the first threshold value N [Ta], and the microcomputer 21 determines “YES” in S <b> 270, the microcomputer 21 enters a communication interruption state. In step S280, the reset signal to the ECU 31 is set to low.

また、マイコン21は、上記S260にて、タイマ値が異常判定用閾値未満であると判定した場合、あるいは、上記S270にて、タイマ値が異常判定用閾値と同じではないと判定した場合には、そのまま当該第1処理を終了する。   If the microcomputer 21 determines in S260 that the timer value is less than the abnormality determination threshold, or if it determines in S270 that the timer value is not the same as the abnormality determination threshold. Then, the first process is finished as it is.

マイコン21は、第1処理(図6)のS280でECU31へのリセット信号をローにすると、図7の第2処理を例えば一定時間毎に実行する。
図7に示すように、マイコン21は、第2処理を開始すると、S310にて、通信再開の準備(詳しくは、ECU31との通信を再開する準備)が完了したか否かを判定する。例えば、ECU31から受信する予定の1つあるいは複数のデータの一部を受信した段階で、図6のS280により、ECU31へのリセット信号をローにした場合には、既に受信した一部のデータを破棄する処理が完了した場合に、通信再開の準備が完了したと判定する。また例えば、受信したデータを破棄する必要がない場合には、ECU31へのリセット信号をローにしてから一定の時間が経過すると、通信再開の準備が完了したと判定する。
When the microcomputer 21 sets the reset signal to the ECU 31 to low in S280 of the first process (FIG. 6), the microcomputer 21 executes the second process of FIG. 7 at regular intervals, for example.
As shown in FIG. 7, when the second process is started, the microcomputer 21 determines in S310 whether or not preparation for resuming communication (specifically, preparation for resuming communication with the ECU 31) has been completed. For example, when a part of one or a plurality of data scheduled to be received from the ECU 31 is received and the reset signal to the ECU 31 is made low at S280 in FIG. When the process of discarding is completed, it is determined that preparation for resuming communication is completed. Further, for example, when it is not necessary to discard the received data, it is determined that preparation for resuming communication is completed when a certain time has elapsed after the reset signal to the ECU 31 is set to low.

そして、マイコン21は、S310にて、通信再開の準備が完了していないと判定した場合には、そのまま当該第2処理を終了するが、通信再開の準備が完了したと判定した場合には、S320に進む。   If the microcomputer 21 determines in S310 that preparation for resuming communication has not been completed, the microcomputer 21 ends the second process as it is, but if it determines that preparation for resuming communication has been completed, Proceed to S320.

マイコン21は、S320では、タイマをクリアする(タイマ値を0にする)。そして、マイコン21は、次のS330にて、ECU31へのリセット信号をローからハイに戻して、マイコン11のリセットを解除する。更に、マイコン21は、次のS340にて、リセット解除フラグを“1”にセットし、その後、当該第2処理を終了する。   In S320, the microcomputer 21 clears the timer (sets the timer value to 0). In step S330, the microcomputer 21 returns the reset signal to the ECU 31 from low to high to cancel the reset of the microcomputer 11. Further, the microcomputer 21 sets a reset release flag to “1” in the next S340, and then ends the second process.

マイコン21は、S320〜S340の処理を行った後は、第1処理(図6)のS280で再びECU31へのリセット信号をローにするまで、第2処理を実行しない。尚、S320〜S340の実行順は変更しても良い。   After performing the processes of S320 to S340, the microcomputer 21 does not execute the second process until the reset signal to the ECU 31 is set to low again in S280 of the first process (FIG. 6). Note that the execution order of S320 to S340 may be changed.

また、マイコン21は、図8の第3処理を例えば一定時間毎に実行する。
図8に示すように、マイコン21は、第3処理を開始すると、S350にて、第1処理(図6)のS290でインクリメントされるリセットカウンタの値(以下、リセットカウンタ値という)が、1以上であるか否かを判定する。そして、マイコン21は、リセットカウンタ値が1以上であると判定した場合には、S360に進む。
Moreover, the microcomputer 21 performs the 3rd process of FIG. 8 for every fixed time, for example.
As shown in FIG. 8, when the microcomputer 21 starts the third process, the reset counter value incremented in S290 of the first process (FIG. 6) (hereinafter referred to as a reset counter value) is 1 in S350. It is determined whether it is above. If the microcomputer 21 determines that the reset counter value is 1 or more, the microcomputer 21 proceeds to S360.

マイコン21は、S360では、リセットカウンタ値が、1より大きい第1判定値未満であるか否かを判定し、リセットカウンタ値が第1判定値未満であれば、S370にて、ECU31内のマイコン11の異常が発生したと判定する(換言すれば、通信途絶状態の原因はマイコン11の異常であると判定する)。そして、その後、当該第3処理を終了する。   In S360, the microcomputer 21 determines whether or not the reset counter value is less than a first determination value greater than 1, and if the reset counter value is less than the first determination value, the microcomputer in the ECU 31 in S370. 11 is determined to have occurred (in other words, the cause of the communication interruption state is determined to be an abnormality of the microcomputer 11). Then, the third process is finished.

また、マイコン21は、S360にて、リセットカウンタ値が第1判定値未満ではないと判定した場合には、S380にて、リセットカウンタ値が、第1判定値以上の値に設定された第2判定値以上であるか否かを判定する。そして、リセットカウンタ値が第2判定値以上であれば、S390にて、通信線3の異常が発生したと判定し(換言すれば、通信途絶状態の原因は通信線3の異常であると判定し)、その後、当該第3処理を終了する。   If the microcomputer 21 determines that the reset counter value is not less than the first determination value in S360, the microcomputer 21 determines that the reset counter value is set to a value equal to or greater than the first determination value in S380. It is determined whether or not it is equal to or greater than a determination value. If the reset counter value is equal to or greater than the second determination value, it is determined in S390 that an abnormality in the communication line 3 has occurred (in other words, the cause of the communication interruption state is determined to be an abnormality in the communication line 3). Thereafter, the third process is terminated.

また、マイコン21は、上記S350にて、リセットカウンタ値が1以上ではない(つまり0である)と判定した場合、あるいは、上記S380にて、リセットカウンタ値が第2判定値以上ではないと判定した場合には、そのまま当該第3処理を終了する。   If the microcomputer 21 determines in S350 that the reset counter value is not 1 or more (that is, 0), or determines in S380 that the reset counter value is not greater than or equal to the second determination value. If so, the third process is terminated as it is.

尚、本実施形態において、第1判定値は、例えば1に設定されており、第2判定値は、例えば2に設定されているが、それら以外の値であっても良い。また、第1判定値と第2判定値は、異なる値であっても良いし、同じ値であっても良い。第1判定値と第2判定値とを同じ値に設定したならば、図8のS360で「NO」と判定された場合に、S380では必ず「YES」と判定されるため、S380を削除して、S360で「NO」と判定した場合にS390へ進むように構成することができる。   In the present embodiment, the first determination value is set to 1, for example, and the second determination value is set to 2, for example, but other values may be used. Further, the first determination value and the second determination value may be different values or the same value. If the first determination value and the second determination value are set to the same value, if “NO” is determined in S360 of FIG. 8, it is always determined “YES” in S380, so S380 is deleted. Thus, it can be configured to proceed to S390 when it is determined “NO” in S360.

次に、ECU32のマイコン21が第1処理〜第3処理を行うことによる作用を、図9及び図10を用い説明する。
図9は、ECU31のマイコン11の異常によって通信途絶状態が生じた場合を表している。
Next, the effect | action by the microcomputer 21 of ECU32 performing a 1st process-a 3rd process is demonstrated using FIG.9 and FIG.10.
FIG. 9 shows a case where a communication interruption state occurs due to an abnormality in the microcomputer 11 of the ECU 31.

図9において、時刻t13よりも前は、ECU31からECU32へ一定の通信間隔Tintで通信信号(データ)が届いている正常状態である。
ECU32のマイコン21は、ECU31からの通信信号を受信する毎に、タイマをクリアすると共に、リセット解除フラグを“0”にする(図6のS215,S217)。
In FIG. 9, before the time t13, the communication signal (data) reaches the ECU 32 from the ECU 31 to the ECU 32 at a constant communication interval Tint.
Every time the microcomputer 21 of the ECU 32 receives a communication signal from the ECU 31, it clears the timer and sets the reset release flag to “0” (S215, S217 in FIG. 6).

そして、ECU32のマイコン21は、時刻t11〜時刻t12に示すように、通信信号の受信を終了してから次の通信信号が送信されて来るまでの無受信期間(通信信号の受信中でない期間)において、タイマを、一定時間毎にインクリメントする(図6のS220)。その一定時間は、第1処理(図6)の実行周期である。   Then, as shown at time t11 to time t12, the microcomputer 21 of the ECU 32 has a non-reception period (period during which the communication signal is not being received) from the end of reception of the communication signal until the next communication signal is transmitted. The timer is incremented at regular intervals (S220 in FIG. 6). The fixed time is the execution cycle of the first process (FIG. 6).

時刻t13よりも前の正常状態において、タイマ値は、異常判定用閾値に達する前に、図6のS215でクリアされることとなる。この場合の異常判定用閾値は、リセット解除フラグが“0”になっているため、第1閾値N[Ta]である。   In the normal state before time t13, the timer value is cleared in S215 of FIG. 6 before reaching the abnormality determination threshold value. The abnormality determination threshold value in this case is the first threshold value N [Ta] because the reset release flag is “0”.

ここで、図9において、時刻t13の後で、ECU31のマイコン11が正常に動作しなくなり、通信途絶状態になったとする。
その場合、ECU32のマイコン21は、時刻t13で通信信号の受信を終了してから、前述の第1時間Taが経過すると、図6のS270にて、タイマ値が異常判定用閾値(=第1閾値N[Ta])に達したと肯定判定することとなる。そして、マイコン21は、時刻t14に示すように、ECU31へのリセット信号をローにすると共に、リセットカウンタをインクリメントする(図6のS280,S290)。
Here, in FIG. 9, it is assumed that the microcomputer 11 of the ECU 31 does not operate normally after the time t13 and the communication is interrupted.
In that case, the microcomputer 21 of the ECU 32 ends the reception of the communication signal at time t13, and when the first time Ta described above elapses, in S270 of FIG. 6, the timer value becomes the abnormality determination threshold (= first threshold value). Affirmative determination is made that the threshold value N [Ta]) has been reached. Then, as shown at time t14, the microcomputer 21 sets the reset signal to the ECU 31 to low and increments the reset counter (S280 and S290 in FIG. 6).

その後、マイコン21は、通信再開の準備が完了すると(図7のS310:YES)、時刻t15に示すように、ECU31へのリセット信号をハイに戻して、マイコン11のリセットを解除すると共に、タイマをクリアする(図7のS320,S330)。更に、マイコン21は、リセット解除フラグを“1”にする(図7のS340)。   Thereafter, when the preparation for resuming communication is completed (S310: YES in FIG. 7), the microcomputer 21 returns the reset signal to the ECU 31 to high to release the reset of the microcomputer 11 and the timer as shown at time t15. Is cleared (S320, S330 in FIG. 7). Further, the microcomputer 21 sets the reset release flag to “1” (S340 in FIG. 7).

そして、マイコン21は、時刻t15でECU31へのリセット信号をハイに戻した後も、ECU31からの通信信号を受信しないため、時刻t15〜時刻t16に示すように、タイマを、一定時間毎にインクリメントする(図6のS220)。また、ECU31へのリセット信号をハイに戻した後は、リセット解除フラグが“1”になっているため、第1処理(図6)において、S260,S270で用いられる異常判定用閾値は、第2閾値N[Tb]になる。   Since the microcomputer 21 does not receive a communication signal from the ECU 31 even after returning the reset signal to the ECU 31 to high at time t15, the timer is incremented at regular intervals as shown from time t15 to time t16. (S220 in FIG. 6). In addition, since the reset release flag is “1” after the reset signal to the ECU 31 is returned to high, the abnormality determination threshold used in S260 and S270 in the first process (FIG. 6) is It becomes 2 threshold value N [Tb].

ここで、ECU31のマイコン11が正常に動作しなくなって通信途絶状態になった場合には、ECU32からECU31へのリセット信号が時刻t15でローからハイに戻されると、ECU31のマイコン11が正常復帰して、通信途絶状態が解消される。このため、時刻t16に示すように、ECU31のマイコン11は、時刻t15から前述の第2時間Tbが経過するよりも前に、通信信号の送信を開始する。   Here, when the microcomputer 11 of the ECU 31 does not operate normally and communication is interrupted, when the reset signal from the ECU 32 to the ECU 31 is returned from low to high at time t15, the microcomputer 11 of the ECU 31 returns to normal. Thus, the communication interruption state is resolved. For this reason, as shown at time t16, the microcomputer 11 of the ECU 31 starts transmission of the communication signal before the above-described second time Tb elapses from time t15.

この場合、ECU32のマイコン21は、時刻t16に示すように、タイマ値が異常判定用閾値(=第2閾値N[Tb])に達する前に、図6のS210にて「通信信号あり」と判定して、タイマをクリアすると共に、リセット解除フラグを“0”にする(図6のS215,S217)。その後は、時刻t13よりも前の正常状態と同じ動作となる。   In this case, as shown at time t16, the microcomputer 21 of the ECU 32 determines that “there is a communication signal” in S210 of FIG. 6 before the timer value reaches the abnormality determination threshold (= second threshold N [Tb]). The timer is cleared and the reset release flag is set to “0” (S215, S217 in FIG. 6). Thereafter, the operation is the same as in the normal state before time t13.

そして、この場合、ECU31のマイコン21は、第3処理(図8)においては、S350とS360との両方で「YES」と判定して、通信途絶状態の原因はECU31におけるマイコン11の異常であると判定することとなる(S370)。   In this case, the microcomputer 21 of the ECU 31 determines “YES” in both S350 and S360 in the third process (FIG. 8), and the cause of the communication interruption state is an abnormality of the microcomputer 11 in the ECU 31. (S370).

一方、図10は、通信線3の異常(例えば断線や所定電圧への短絡)によって通信途絶状態が生じた場合を表している。
図10においても、図9と同様に、時刻t13よりも前は、ECU31からECU32へ一定の通信間隔Tintで通信信号(データ)が届いている正常状態である。図10は、時刻t13の後に、通信線3に異常が生じた場合を表している。
On the other hand, FIG. 10 shows a case where a communication interruption state occurs due to an abnormality in the communication line 3 (for example, disconnection or short circuit to a predetermined voltage).
Also in FIG. 10, as in FIG. 9, before time t <b> 13, a normal state in which a communication signal (data) reaches the ECU 32 from the ECU 31 to the ECU 32 at a constant communication interval Tint. FIG. 10 shows a case where an abnormality has occurred in the communication line 3 after time t13.

図10において、時刻t15までの動作は、図9を用いて説明した動作と同じである。
通信線3の異常によって通信途絶状態になった場合には、ECU32からECU31へのリセット信号が時刻t15でローからハイに戻されても、通信途絶状態は解消されない。
In FIG. 10, the operation up to time t15 is the same as the operation described with reference to FIG.
When communication is interrupted due to an abnormality in the communication line 3, even if a reset signal from the ECU 32 to the ECU 31 is returned from low to high at time t15, the communication interruption is not resolved.

このため、ECU32のマイコン21は、時刻t15でECU31へのリセット信号をハイに戻すと共に、タイマをクリアした後、タイマを一定時間毎にインクリメントするが、時刻t15から第2時間Tbが経過しても、ECU31からの通信信号を受信しない。   For this reason, the microcomputer 21 of the ECU 32 returns the reset signal to the ECU 31 to high at time t15 and clears the timer, and then increments the timer every predetermined time. However, the second time Tb has elapsed from time t15. However, the communication signal from the ECU 31 is not received.

よって、時刻t15から第2時間Tbが経過した時刻t17に示すように、タイマ値は、異常判定用閾値(=第2閾値N[Tb])に達することとなる。
すると、マイコン21は、図6のS270にて、タイマ値が異常判定用閾値(=第2閾値N[Tb])に達したと肯定判定して、再び、ECU31へのリセット信号をローにすると共に、リセットカウンタをインクリメントする(図6のS280,S290)。
Therefore, as shown at time t17 when the second time Tb has elapsed from time t15, the timer value reaches the abnormality determination threshold value (= second threshold value N [Tb]).
Then, the microcomputer 21 makes an affirmative determination in S270 of FIG. 6 that the timer value has reached the abnormality determination threshold value (= second threshold value N [Tb]), and again sets the reset signal to the ECU 31 to low. At the same time, the reset counter is incremented (S280 and S290 in FIG. 6).

その後、マイコン21は、通信再開の準備が完了すると(図7のS310:YES)、時刻t18に示すように、ECU31へのリセット信号をハイに戻すと共に、タイマをクリアする(図7のS320,S330)。また、この場合、図7の340により、リセット解除フラグは“1”のままとなり、延いては、異常判定用閾値が第2閾値N[Tb]のままとなる。   Thereafter, when preparation for resuming communication is completed (S310: YES in FIG. 7), the microcomputer 21 returns the reset signal to the ECU 31 to high and clears the timer (S320, FIG. 7). S330). In this case, the reset release flag remains “1” due to 340 in FIG. 7, and thus the abnormality determination threshold value remains the second threshold value N [Tb].

その後は、時刻t15〜時刻t18の動作と同じ動作が繰り返されて、リセットカウンタ値が増加していくこととなる(時刻t18〜時刻t20参照)。
よって、ECU31のマイコン21は、第3処理(図8)においては、S380で「YES」と判定して、通信途絶状態の原因は通信線3の異常であると判定することとなる(S390)。
Thereafter, the same operation as that from time t15 to time t18 is repeated, and the reset counter value increases (see time t18 to time t20).
Therefore, in the third process (FIG. 8), the microcomputer 21 of the ECU 31 determines “YES” in S380, and determines that the cause of the communication interruption state is an abnormality in the communication line 3 (S390). .

以上のようなECU32によっても、通信相手のECU31におけるマイコン11の異常と、通信線3の異常とを、区別して検出することができる。また、第1実施形態と同様に、ECU31のマイコン11が正常に動作しているか否かを表す特定の信号を、ECU31からECU32へ通信線3とは別の信号線を介して入力させなくても、マイコン11の異常と通信線3の異常とを、区別して検出することができる。更に、ECU32によれば、ECU31のマイコン11のリセット解除を、任意のタイミングで実施することができる。このため、ECU31との通信を再開する準備が完了してから、マイコン11のリセットを解除することができ有利である。   Even with the ECU 32 as described above, the abnormality of the microcomputer 11 in the ECU 31 of the communication partner and the abnormality of the communication line 3 can be distinguished and detected. Similarly to the first embodiment, a specific signal indicating whether or not the microcomputer 11 of the ECU 31 is operating normally must be input from the ECU 31 to the ECU 32 via a signal line different from the communication line 3. Also, the abnormality of the microcomputer 11 and the abnormality of the communication line 3 can be distinguished and detected. Furthermore, according to the ECU 32, the reset release of the microcomputer 11 of the ECU 31 can be performed at an arbitrary timing. For this reason, it is possible to cancel the reset of the microcomputer 11 after the preparation for resuming communication with the ECU 31 is completed.

また、ECU32では、ECU31から通信信号が送られて来てから図6のS270で最初に「YES」と判定(肯定判定)するまでの異常判定用閾値(=第1閾値N[Ta])と、ECU31へのリセット信号をローからハイに戻した後での異常判定用閾値(=第2閾値N[Tb])とを、異なる値にしている。このため、異常判定用閾値として最適な値を用いることができる。   Further, the ECU 32 determines the abnormality determination threshold value (= first threshold value N [Ta]) from when a communication signal is sent from the ECU 31 until first determining “YES” in S270 of FIG. 6 (positive determination). The abnormality determination threshold (= second threshold N [Tb]) after the reset signal to the ECU 31 is returned from low to high is set to a different value. Therefore, an optimum value can be used as the abnormality determination threshold value.

尚、異常判定用閾値は、切り換えずに、1つの値にしても良い。その場合には、例えば、第1閾値N[Ta]と第2閾値N[Tb]とのうち、大きい方を1つの異常判定用閾値として用いれば良い。   The abnormality determination threshold value may be a single value without switching. In that case, for example, the larger one of the first threshold value N [Ta] and the second threshold value N [Tb] may be used as one abnormality determination threshold value.

また、ECU32にも、ECU31の論理積回路17と同様の役割を果たす回路を設けて、ECU31のマイコン11も、前述した第1処理〜第3処理を行うように構成しても良い。   Further, the ECU 32 may be provided with a circuit that plays the same role as the AND circuit 17 of the ECU 31, and the microcomputer 11 of the ECU 31 may be configured to perform the above-described first to third processes.

[第3実施形態]
次に、第3実施形態の通信システムについて説明するが、通信システムの符号としては、第2実施形態と同じ“30”を用いる。また、第2実施形態と同様の構成要素や処理についても、第2実施形態と同じ符号を用いる。
[Third Embodiment]
Next, a communication system according to the third embodiment will be described. As a reference numeral of the communication system, “30” which is the same as that of the second embodiment is used. The same reference numerals as those in the second embodiment are used for the same components and processes as those in the second embodiment.

第3実施形態の通信システム30は、第2実施形態の通信システム30と比較すると、ECU32のマイコン21が、図12のリセット機能診断処理を更に実行する点が異なる。   The communication system 30 of the third embodiment is different from the communication system 30 of the second embodiment in that the microcomputer 21 of the ECU 32 further executes the reset function diagnosis process of FIG.

マイコン21は、ECU32への電源投入に伴って起動すると、その起動直後に図12のリセット機能診断処理を実行する。尚、通信システム30においては、ECU32に電源が投入されると、ECU31にも電源が投入されて、ECU31のマイコン11も起動する。また、後述する所定時間T1と所定時間T2は、前述した第2時間Tbと同様に、ECU31のマイコン11が起動してから、ECU31からECU32への通信信号の送信が開始されるまでの時間の、最大値よりも大きい値に設定されている。   When the microcomputer 21 is activated as the ECU 32 is turned on, the microcomputer 21 executes the reset function diagnosis process shown in FIG. 12 immediately after the activation. In the communication system 30, when the ECU 32 is turned on, the ECU 31 is also turned on, and the microcomputer 11 of the ECU 31 is also activated. In addition, the predetermined time T1 and the predetermined time T2, which will be described later, are the time from the start of the microcomputer 11 of the ECU 31 to the start of transmission of the communication signal from the ECU 31 to the ECU 32, similarly to the second time Tb described above. The value is set larger than the maximum value.

図12に示すように、ECU32のマイコン21は、リセット機能診断処理を開始すると、S410にて、ECU31へのリセット信号をローにする。そのリセット信号のローの出力は、所定時間T1(所定の診断時間に相当)の間、継続される。   As shown in FIG. 12, when starting the reset function diagnosis process, the microcomputer 21 of the ECU 32 sets the reset signal to the ECU 31 to low in S410. The low output of the reset signal is continued for a predetermined time T1 (corresponding to a predetermined diagnosis time).

マイコン21は、次のS420にて、所定時間T1だけ待ち、その所定時間T1の間(つまり、ECU31へのリセット信号をローにしている間)に、ECU31から通信信号が送られて来たか否かを判定する。   In step S420, the microcomputer 21 waits for a predetermined time T1, and whether or not a communication signal is sent from the ECU 31 during the predetermined time T1 (that is, while the reset signal to the ECU 31 is low). Determine whether.

マイコン21は、S420にて、所定時間T1の間に通信信号が送られて来たと判定した場合には、S430に進み、当該ECU32によってECU31のマイコン11をリセットすることができないリセット不能異常が生じていると判定する。そして、その後、S450に進む。尚、リセット不能異常としては、例えば、信号線33の断線や、信号線33のハイ相当電位へのショートや、リセット信号をローにするための信号出力回路の故障などが考えられる。   If the microcomputer 21 determines in S420 that a communication signal has been sent during the predetermined time T1, the microcomputer 21 proceeds to S430, and the ECU 32 cannot reset the microcomputer 11 of the ECU 31 by the ECU 32. It is determined that Then, the process proceeds to S450. Examples of the reset impossible abnormality include a disconnection of the signal line 33, a short circuit of the signal line 33 to a high equivalent potential, a failure of a signal output circuit for setting the reset signal to low, and the like.

また、マイコン21は、S420にて、通信信号が送られて来なかったと判定した場合には、S440に進み、当該ECU32によってマイコン11をリセットする機能は正常であると判定し、その後、S450に進む。   If the microcomputer 21 determines in S420 that a communication signal has not been sent, the microcomputer 21 determines that the function of resetting the microcomputer 11 by the ECU 32 is normal, and then proceeds to S450. move on.

マイコン21は、S450では、ECU31へのリセット信号をローからハイに戻す処理を行う。
マイコン21は、次のS460にて、所定時間T2(所定の待ち時間に相当)だけ待ち、その所定時間T2の間に、ECU31から通信信号が送られて来たか否かを判定する。
In S450, the microcomputer 21 performs processing for returning the reset signal to the ECU 31 from low to high.
In step S460, the microcomputer 21 waits for a predetermined time T2 (corresponding to a predetermined waiting time), and determines whether a communication signal is sent from the ECU 31 during the predetermined time T2.

そして、マイコン21は、S460にて、所定時間T2の間に通信信号が送られて来なかったと判定した場合には、S470に進み、当該ECU32によってECU31のマイコン11のリセットを解除することができないリセット解除不能異常が生じていると判定する。そして、その後、当該リセット機能診断処理を終了する。尚、リセット解除不能異常としては、例えば、信号線33のロー相当電位へのショートや、リセット信号をハイにするための信号出力回路の故障などが考えられる。   If the microcomputer 21 determines in S460 that no communication signal has been sent during the predetermined time T2, the microcomputer 21 proceeds to S470, and the ECU 32 cannot cancel the reset of the microcomputer 11 of the ECU 31. It is determined that an abnormality that cannot be reset is occurring. Thereafter, the reset function diagnosis process is terminated. Note that, as a reset impossible abnormality, for example, a short circuit of the signal line 33 to a low equivalent potential or a failure of a signal output circuit for setting the reset signal to high can be considered.

また、マイコン21は、S460にて、通信信号が送られて来たと判定した場合には、S480に進み、当該ECU32によってマイコン11のリセットを解除する機能は正常であると判定する。そして、その後、当該リセット機能診断処理を終了する。   If the microcomputer 21 determines in S460 that a communication signal has been sent, the microcomputer 21 proceeds to S480 and determines that the function of releasing the reset of the microcomputer 11 by the ECU 32 is normal. Thereafter, the reset function diagnosis process is terminated.

上記S410〜S430,S450の処理により、リセット不能異常を検出することができる。また、上記S460,S470の処理により、リセット解除不能異常を検出することができる。そして、それらの異常を検出した場合には、何らかの適切なフェイルセーフ処理を行うことができるため、通信システム30の信頼性を向上させることができる。   By the processes in S410 to S430 and S450, it is possible to detect an abnormality that cannot be reset. Further, it is possible to detect an abnormality that cannot be reset by the processes of S460 and S470. And when those abnormalities are detected, since some suitable fail safe process can be performed, the reliability of the communication system 30 can be improved.

尚、ECU31のマイコン11も前述した第1処理〜第3処理を行うように構成した場合には、そのマイコン11も、図12のリセット機能診断処理を行うように構成することができる。   When the microcomputer 11 of the ECU 31 is also configured to perform the above-described first to third processes, the microcomputer 11 can also be configured to perform the reset function diagnosis process of FIG.

以上、本発明の実施形態について説明したが、本発明は上記実施形態に限定されることなく、種々の形態を採り得る。また、前述の数値も一例であり他の値でも良い。
例えば、本発明は、車載ECUからなる通信システムに限らず、他の用途の通信システムについても同様に適用することができる。また、リセット信号のアクティブレベルはハイであっても良い。その場合、第2,第3実施形態では、論理積回路17に代えて、論理和回路(オア回路)を用いれば良い。また、第2,第3実施形態の手法は、例えば通信相手のECU31に監視回路15が無くても適用することができる。その場合、ECU32からECU31へのリセット信号が、論理積回路17を介さずに、マイコン11のリセット端子に入力されるように構成すれば良い。
As mentioned above, although embodiment of this invention was described, this invention can take a various form, without being limited to the said embodiment. The above-mentioned numerical values are also examples, and other values may be used.
For example, the present invention is not limited to a communication system including an in-vehicle ECU, and can be similarly applied to a communication system for other purposes. Further, the active level of the reset signal may be high. In that case, in the second and third embodiments, an OR circuit (OR circuit) may be used instead of the AND circuit 17. Further, the methods of the second and third embodiments can be applied without the monitoring circuit 15 in the ECU 31 of the communication partner, for example. In that case, the reset signal from the ECU 32 to the ECU 31 may be configured to be input to the reset terminal of the microcomputer 11 without going through the AND circuit 17.

また、上記実施形態における1つの構成要素が有する機能を複数の構成要素として分散させたり、複数の構成要素が有する機能を1つの構成要素に統合させたりしてもよい。また、上記実施形態の構成の少なくとも一部を、同様の機能を有する公知の構成に置き換えてもよい。また、上記実施形態の構成の一部を省略してもよい。また、上記実施形態の構成の少なくとも一部を、他の上記実施形態の構成に対して付加又は置換してもよい。なお、特許請求の範囲に記載した文言によって特定される技術思想に含まれるあらゆる態様が本発明の実施形態である。また、上述したECU2,32としてコンピュータを機能させるためのプログラム、このプログラムを記録した媒体、異常判別方法など、種々の形態で本発明を実現することもできる。   In addition, the functions of one component in the above embodiment may be distributed as a plurality of components, or the functions of a plurality of components may be integrated into one component. Further, at least a part of the configuration of the above embodiment may be replaced with a known configuration having the same function. Moreover, you may abbreviate | omit a part of structure of the said embodiment. In addition, at least a part of the configuration of the above embodiment may be added to or replaced with the configuration of the other embodiment. In addition, all the aspects included in the technical idea specified by the wording described in the claims are embodiments of the present invention. Further, the present invention can be realized in various forms such as a program for causing a computer to function as the ECUs 2 and 32 described above, a medium on which the program is recorded, an abnormality determination method, and the like.

1,2,31,32…ECU(電子制御装置)、3…通信線、11,21…マイコン、15,25…監視回路   1, 2, 31, 32 ... ECU (electronic control unit), 3 ... communication line, 11, 21 ... microcomputer, 15, 25 ... monitoring circuit

Claims (9)

他の制御装置(1)と通信線(3)を介して定期的に通信する電子制御装置(2)であって、
前記他の制御装置は、この制御装置が当該電子制御装置と通信するための処理を行うマイコン(11)と、前記マイコンの動作を監視して、前記マイコンが異常であると判断すると前記マイコンをリセットして再起動させる監視手段(15)と、を備えており、
当該電子制御装置は、
前記他の制御装置から通信信号が正常に送られて来ない通信途絶状態であるか否かを判定する途絶判定手段(21,S110)と、
前記途絶判定手段により前記通信途絶状態であると判定されてから前記通信途絶状態ではないと判定されるまでの時間を計測する計測手段(21,S120,S180)と、
前記計測手段により計測された前記時間に基づいて、前記他の制御装置における前記マイコンの異常と、前記通信線の異常とを、区別して検出する異常判別手段(21,S130,S140,S160,S170)と、
を備えること、を特徴とする電子制御装置。
An electronic control device (2) that periodically communicates with another control device (1) via a communication line (3),
The other control device monitors the operation of the microcomputer (11) that performs processing for the control device to communicate with the electronic control device, and determines that the microcomputer is abnormal. Monitoring means (15) for resetting and restarting,
The electronic control device
Interruption determination means (21, S110) for determining whether or not a communication interruption state where a communication signal is not normally transmitted from the other control device;
Measuring means (21, S120, S180) for measuring a time from when it is determined that the communication is interrupted by the interruption determining means until it is determined that the communication is not interrupted;
Based on the time measured by the measuring means, an abnormality determining means (21, S130, S140, S160, S170) that distinguishes and detects an abnormality of the microcomputer and an abnormality of the communication line in the other control device. )When,
An electronic control device comprising:
請求項1に記載の電子制御装置において、
前記異常判別手段は、
前記途絶判定手段により前記通信途絶状態であると判定されてから前記通信途絶状態ではないと判定された場合に、前記計測手段により計測された前記時間が所定の判定値未満であれば、前記マイコンの異常と判定すること(S160,S170)、
を特徴とする電子制御装置。
The electronic control device according to claim 1.
The abnormality determination means includes
If the time measured by the measuring unit is less than a predetermined determination value when it is determined by the interruption determining unit that the communication is interrupted and then determined that the communication is not interrupted, the microcomputer Determining that there is an abnormality (S160, S170),
An electronic control device.
請求項2に記載の電子制御装置において、
前記異常判別手段は、
前記計測手段により計測された前記時間が、前記判定値以上の値に設定された通信線異常判定値以上になった場合には、前記通信線の異常と判定すること(S130,S140)、
を特徴とする電子制御装置。
The electronic control device according to claim 2,
The abnormality determination means includes
When the time measured by the measuring unit is equal to or greater than the communication line abnormality determination value set to a value equal to or greater than the determination value, it is determined that the communication line is abnormal (S130, S140);
An electronic control device.
他の制御装置(31)と通信線(3)を介して定期的に通信する電子制御装置(32)であって、
前記他の制御装置は、この制御装置が当該電子制御装置と通信するための処理を行うマイコン(11)を備えており、
前記マイコンは、当該電子制御装置から前記他の制御装置に出力されるリセット信号によってリセットとリセットの解除とが可能になっており、
当該電子制御装置は、
前記他の制御装置から通信信号が送られて来ない継続時間を計測する計時手段(21,S210,S215,S220)と、
前記計時手段による計測時間が通信異常判定用の閾値に達したか否かを判定する判定手段(21,S270)と、
前記判定手段により前記計測時間が前記閾値に達したと肯定判定されると、前記他の制御装置への前記リセット信号を、前記マイコンをリセットする方のアクティブレベルにし、その後、前記リセット信号を前記アクティブレベルとは反対の非アクティブレベルに戻して前記マイコンのリセットを解除すると共に、前記計測時間を0にクリアするリスタート制御手段(21,S280,S310〜S330)と、
前記リスタート制御手段が前記リセット信号を前記アクティブレベルにした回数を計数する計数手段(21,S290)と、
前記計数手段により計数された前記回数に基づいて、前記他の制御装置における前記マイコンの異常と、前記通信線の異常とを、区別して検出する異常判別手段(21,S350〜S390)と、
を備えること、を特徴とする電子制御装置。
An electronic control device (32) that periodically communicates with another control device (31) via a communication line (3),
The other control device includes a microcomputer (11) that performs processing for the control device to communicate with the electronic control device,
The microcomputer is capable of resetting and releasing the reset by a reset signal output from the electronic control unit to the other control unit,
The electronic control device
Time measuring means (21, S210, S215, S220) for measuring a duration time during which no communication signal is sent from the other control device;
Determining means (21, S270) for determining whether or not the time measured by the time measuring means has reached a threshold for determining communication abnormality;
If the determination means affirmatively determines that the measurement time has reached the threshold, the reset signal to the other control device is set to an active level for resetting the microcomputer, and then the reset signal is A restart control means (21, S280, S310 to S330) for returning the inactive level opposite to the active level to cancel the reset of the microcomputer and clearing the measurement time to 0;
Counting means (21, S290) for counting the number of times that the restart control means sets the reset signal to the active level;
An abnormality determination means (21, S350 to S390) for distinguishing and detecting an abnormality of the microcomputer and an abnormality of the communication line based on the number of times counted by the counting means;
An electronic control device comprising:
請求項4に記載の電子制御装置において、
前記異常判別手段は、
前記計数手段により計数された前記回数が1以上で且つ1より大きい第1判定値未満である場合には、前記マイコンの異常と判定し、前記回数が前記第1判定値以上の値に設定された第2判定値以上になった場合には、前記通信線の異常と判定すること、
を特徴とする電子制御装置。
The electronic control device according to claim 4.
The abnormality determination means includes
When the number of times counted by the counting means is 1 or more and less than a first determination value greater than 1, it is determined that the microcomputer is abnormal, and the number of times is set to a value greater than or equal to the first determination value. Determining that the communication line is abnormal when the second determination value is exceeded.
An electronic control device.
請求項4又は請求項5に記載の電子制御装置において、
前記他の制御装置から通信信号が送られて来てから前記判定手段が最初に肯定判定するまでの前記閾値と、前記リスタート制御手段が前記リセット信号を前記アクティブレベルから前記非アクティブレベルに戻した後での前記閾値とは、異なる値であること、
を特徴とする電子制御装置。
The electronic control device according to claim 4 or 5,
The threshold value from when the communication signal is sent from the other control device to when the determination unit makes an affirmative determination first, and the restart control unit returns the reset signal from the active level to the inactive level. The threshold value after
An electronic control device.
請求項4ないし請求項6の何れか1項に記載の電子制御装置において、
前記リセット信号を、所定の診断時間の間、前記アクティブレベルにすると共に、前記リセット信号を前記アクティブレベルにしている前記診断時間の間に、前記他の制御装置から通信信号が送られて来たか否かを判定して、前記診断時間の間に前記通信信号が送られて来た場合には、当該電子制御装置によって前記マイコンをリセットすることができないリセット不能異常が生じていると判定するリセット不能異常検出手段(21,S410〜S430,S450)、を備えること、
を特徴とする電子制御装置。
The electronic control device according to any one of claims 4 to 6,
Whether the reset signal is set to the active level for a predetermined diagnosis time, and a communication signal is sent from the other control device during the diagnosis time when the reset signal is set to the active level. If the communication signal is sent during the diagnosis time, a reset that determines that an unresetable abnormality that prevents the microcomputer from being reset by the electronic control device has occurred Disability abnormality detection means (21, S410 to S430, S450),
An electronic control device.
請求項7に記載の電子制御装置において、
前記リセット不能異常検出手段が前記リセット信号を前記非アクティブレベルにしてから、所定の待ち時間の間に、前記他の制御装置から通信信号が送られて来たか否かを判定し、前記待ち時間の間に前記通信信号が送られて来ない場合には、当該電子制御装置によって前記マイコンのリセットを解除することができないリセット解除不能異常が生じていると判定するリセット解除不能異常検出手段(21,S460,S470)、を備えること、
を特徴とする電子制御装置。
The electronic control device according to claim 7.
It is determined whether or not a communication signal is sent from the other control device during a predetermined waiting time after the reset impossible abnormality detecting means sets the reset signal to the inactive level, and the waiting time If the communication signal is not sent during this period, it is determined that there is an unrepairable abnormality that cannot be reset by the electronic control unit. , S460, S470),
An electronic control device.
複数の電子制御装置が通信線(3)を介して接続された通信システムにおいて、
前記複数の電子制御装置のうちの少なくとも1つが、請求項1ないし請求項8の何れか1項に記載の電子制御装置であること、
を特徴とする通信システム。
In a communication system in which a plurality of electronic control devices are connected via a communication line (3),
At least one of the plurality of electronic control devices is the electronic control device according to any one of claims 1 to 8.
A communication system characterized by the above.
JP2014184216A 2014-09-10 2014-09-10 Electronic control device and communication system Pending JP2016057888A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014184216A JP2016057888A (en) 2014-09-10 2014-09-10 Electronic control device and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014184216A JP2016057888A (en) 2014-09-10 2014-09-10 Electronic control device and communication system

Publications (1)

Publication Number Publication Date
JP2016057888A true JP2016057888A (en) 2016-04-21

Family

ID=55758464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014184216A Pending JP2016057888A (en) 2014-09-10 2014-09-10 Electronic control device and communication system

Country Status (1)

Country Link
JP (1) JP2016057888A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106597927A (en) * 2016-11-30 2017-04-26 广东美的制冷设备有限公司 Inter-board communication test device, household electric appliances and inter-board communication test method
WO2018116801A1 (en) * 2016-12-21 2018-06-28 日立オートモティブシステムズ株式会社 Electronic control device, control system, reset determination method
KR20190029995A (en) * 2017-09-13 2019-03-21 현대자동차주식회사 Apparatus and method for enhancing reliability of watchdog timer controlling central processing unit for use in vehicle
WO2020246518A1 (en) * 2019-06-03 2020-12-10 株式会社Kmc Production monitoring device, production monitoring system, production monitoring method, and program

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1051515A (en) * 1996-07-31 1998-02-20 Matsushita Electric Works Ltd Communication abnormality detector
JP2002091802A (en) * 2000-09-14 2002-03-29 Denso Corp Runaway monitoring device for electronic control system
JP2003137045A (en) * 2001-10-31 2003-05-14 Denso Corp Vehicle electronic control unit
JP2003222053A (en) * 2002-01-30 2003-08-08 Denso Corp Electronic control unit for vehicle
JP2004137055A (en) * 2002-10-18 2004-05-13 Toshiba Elevator Co Ltd Control system for elevator
JP2006157387A (en) * 2004-11-29 2006-06-15 Toshiba Elevator Co Ltd Distributed type microcomputer controller using serial communication and elevator controller
JP2009166549A (en) * 2008-01-11 2009-07-30 Denso Corp Electronic control device for vehicle
JP2011040886A (en) * 2009-08-07 2011-02-24 Denso Corp Diagnostic device and diagnosis system
JP2011123569A (en) * 2009-12-08 2011-06-23 Autonetworks Technologies Ltd Processor

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1051515A (en) * 1996-07-31 1998-02-20 Matsushita Electric Works Ltd Communication abnormality detector
JP2002091802A (en) * 2000-09-14 2002-03-29 Denso Corp Runaway monitoring device for electronic control system
JP2003137045A (en) * 2001-10-31 2003-05-14 Denso Corp Vehicle electronic control unit
JP2003222053A (en) * 2002-01-30 2003-08-08 Denso Corp Electronic control unit for vehicle
JP2004137055A (en) * 2002-10-18 2004-05-13 Toshiba Elevator Co Ltd Control system for elevator
JP2006157387A (en) * 2004-11-29 2006-06-15 Toshiba Elevator Co Ltd Distributed type microcomputer controller using serial communication and elevator controller
JP2009166549A (en) * 2008-01-11 2009-07-30 Denso Corp Electronic control device for vehicle
JP2011040886A (en) * 2009-08-07 2011-02-24 Denso Corp Diagnostic device and diagnosis system
JP2011123569A (en) * 2009-12-08 2011-06-23 Autonetworks Technologies Ltd Processor

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106597927A (en) * 2016-11-30 2017-04-26 广东美的制冷设备有限公司 Inter-board communication test device, household electric appliances and inter-board communication test method
WO2018116801A1 (en) * 2016-12-21 2018-06-28 日立オートモティブシステムズ株式会社 Electronic control device, control system, reset determination method
US11643095B2 (en) 2016-12-21 2023-05-09 Hitachi Astemo, Ltd. Electronic control device, control system, and reset determination method
KR20190029995A (en) * 2017-09-13 2019-03-21 현대자동차주식회사 Apparatus and method for enhancing reliability of watchdog timer controlling central processing unit for use in vehicle
KR102355424B1 (en) 2017-09-13 2022-01-26 현대자동차주식회사 Apparatus and method for enhancing reliability of watchdog timer controlling central processing unit for use in vehicle
WO2020246518A1 (en) * 2019-06-03 2020-12-10 株式会社Kmc Production monitoring device, production monitoring system, production monitoring method, and program

Similar Documents

Publication Publication Date Title
US10902109B2 (en) Misuse detection method, misuse detection electronic control unit, and misuse detection system
JP4844658B2 (en) Diagnostic device and diagnostic system
JP2016057888A (en) Electronic control device and communication system
JP6369341B2 (en) In-vehicle communication system
US9641383B2 (en) Method for error diagnosis of can communication
EP3460701A1 (en) Intrusion detection device and intrusion detection program
JP6696511B2 (en) Communication device, communication method, program, and communication system
US9499174B2 (en) Method and apparatus for isolating a fault-active controller in a controller area network
US20090177890A1 (en) Method and Device for Forming a Signature
US7869172B2 (en) Digital controller
JP6913869B2 (en) Surveillance equipment, surveillance systems and computer programs
JP4692514B2 (en) Electronic control unit
JP2011123569A (en) Processor
JP2024005967A (en) Fraudulent signal detection device, vehicle, and fraudulent signal detection method
JP7011983B2 (en) Arithmetic system, arithmetic unit
CN114896110A (en) Link detection method, device, equipment and storage medium
US20190332506A1 (en) Controller and function testing method
WO2014203501A1 (en) Electronic control device
JP2015072568A (en) Electronic control device
KR102019378B1 (en) Appartus for monitoring microcontroller unit, system having the same and operating method thereof
WO2023223940A1 (en) In-vehicle device, program, and information processing method
CN111443683B (en) Electronic control unit testing method and device based on vehicle CAN bus structure
JP4932193B2 (en) Pulse signal measuring apparatus and method
CN115794513A (en) Embedded debugging method and system for integrated circuit chip
JP2007226527A (en) Controller and watchdog timer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170320

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180109

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180424

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180611

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20180821