JP2002314556A - Vehicle control system - Google Patents

Vehicle control system

Info

Publication number
JP2002314556A
JP2002314556A JP2001109849A JP2001109849A JP2002314556A JP 2002314556 A JP2002314556 A JP 2002314556A JP 2001109849 A JP2001109849 A JP 2001109849A JP 2001109849 A JP2001109849 A JP 2001109849A JP 2002314556 A JP2002314556 A JP 2002314556A
Authority
JP
Japan
Prior art keywords
reception
interrupt processing
ecu
processing
reception interrupt
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
JP2001109849A
Other languages
Japanese (ja)
Inventor
Toshio Tsuji
敏夫 辻
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 JP2001109849A priority Critical patent/JP2002314556A/en
Publication of JP2002314556A publication Critical patent/JP2002314556A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve the problem that controllability is deteriorated because of an excessive increase in reception interruption processing. SOLUTION: An engine ECU(electronic control unit) 10, a transmission ECU 20, an ABS(antilock brake system)- ECU 30, a meter ECU 40 and a door ECU 50 are interconnected by a communication bus 60 is a communication enabled way with each other. An interruption request takes place in each of the ECUs 10-50 every time receiving data via the communication bus 60 and data reception processing is properly carried out by the reception interruption processing attended therewith. Furthermore, each of the ECUs 10-50 counts the number of reception interruption times within a prescribed period and when the number of the reception interruption times exceeds a prescribed threshold value, inhibits the reception interruption processing after that. Moreover, after the reception interruption processing is inhibited and after a lapse of a prescribed time, the reception interruption processing is again permitted.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、複数の制御装置
(ECU)間が通信バスを介して通信可能に接続された
車両制御システムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vehicle control system in which a plurality of control units (ECUs) are communicably connected via a communication bus.

【0002】[0002]

【従来の技術】従来より、この種の車両制御システムで
は、車両内LAN等により各種ECU間で相互に通信が
行われる。この場合、各ECU間での通信異常の有無が
監視され、その監視結果に基づき通信が許可又は禁止さ
れるようになっていた。異常検出手法として具体的に
は、 ・送信側ECUからの送信データに対して受信側ECU
がACK(Acknowledgment)を返信しない場合、すなわ
ち通信完了が確認できない場合に異常発生と判断するも
の、 ・予め規定された受信周期に対し、一定期間データ受信
できない場合に異常発生と判断するもの、 ・ソフトウエアによるパラメータチェック結果が正規の
値と異なる場合に異常発生と判断するもの、 ・通信バスのショート、断線を検出して異常発生を判断
するもの、 等々が従来より知られている。
2. Description of the Related Art Conventionally, in a vehicle control system of this type, various ECUs communicate with each other via a LAN in the vehicle. In this case, the presence or absence of a communication abnormality between the ECUs is monitored, and communication is permitted or prohibited based on the monitoring result. Specific examples of the abnormality detection method include: a receiving ECU for transmitting data from the transmitting ECU;
Does not return an ACK (Acknowledgment), that is, determines that an error has occurred if communication completion cannot be confirmed.-Determines that an error has occurred if data cannot be received for a predetermined period for a predetermined reception cycle. Conventionally, there have been known ones that determine that an abnormality has occurred when a result of a parameter check by software is different from a regular value, and that determine an occurrence of an abnormality by detecting a short-circuit or disconnection of a communication bus, and the like.

【0003】[0003]

【発明が解決しようとする課題】近年、車両内LANの
浸透/拡張により、車両内LANに接続されるECU及
び通信データ(種類)は増加の傾向にあり、受信データ
に対してはその都度受信割り込み処理が起動され、その
割り込み処理にて受信処理が行われるものがある。この
ため、送信側ECUに異常が発生し、それが原因で同じ
受信データが連続的に受信側ECUに送信されると、割
り込み処理が過剰に増え、それに伴う処理負荷増加によ
りECUの制御性が悪化するという問題が生ずる。因み
に、ECUは通常、割り込み処理が過剰に増えたことを
WDC信号等により監視し、異常発生時にはリセットが
かかる機能を持つが、このリセット時には車両にショッ
ク感が生じるため、できるだけリセットをかけたくない
という実状もある。
In recent years, the number of ECUs and communication data (types) connected to the in-vehicle LAN have been increasing due to the penetration / expansion of the in-vehicle LAN. In some cases, interrupt processing is activated and reception processing is performed in the interrupt processing. For this reason, if an abnormality occurs in the transmitting ECU and the same received data is continuously transmitted to the receiving ECU due to the abnormality, the interrupt processing is excessively increased, and the control load of the ECU is increased due to the increased processing load. The problem of worsening occurs. Incidentally, the ECU usually monitors by a WDC signal or the like that an excessive increase in interrupt processing is performed, and has a function of resetting in the event of an abnormality. There is also the fact that.

【0004】従来既存の技術では、送信側ECUの異常
発生時に同一の受信データが多発し、それに伴い受信割
り込み処理が過剰に増えるといった通信異常には対処で
きず、その問題を解消するための技術が要望される。
Conventionally, the existing technology cannot cope with a communication error such as the same reception data frequently occurring when an error occurs in the transmission side ECU and the reception interrupt processing is excessively increased. Is required.

【0005】本発明は、上記問題に着目してなされたも
のであって、その目的とするところは、受信割り込み処
理が過剰に増え、それが原因で制御性が悪化するという
問題を解消することができる車両制御システムを提供す
ることである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problem, and an object of the present invention is to solve a problem that the controllability deteriorates due to an excessive increase in reception interrupt processing. It is to provide a vehicle control system capable of performing the following.

【0006】[0006]

【課題を解決するための手段】請求項1に記載の発明で
は、所定期間内における受信割り込み回数がカウントさ
れ、該カウントされた受信割り込み回数が所定のしきい
値を超えたとき、それ以降の受信割り込み処理が禁止さ
れる。本発明によれば、例えば通信相手側の制御装置に
異常が発生し、同じ通信データが繰り返し受信されると
いった異常発生時にその異常が適正に検出できる。この
場合、異常発生時には受信割り込み処理が禁止されるた
め、当該割り込み処理が過剰に増え、それが原因で制御
性が悪化するという問題が解消できる。
According to the first aspect of the present invention, the number of reception interrupts within a predetermined period is counted, and when the counted number of reception interrupts exceeds a predetermined threshold value, Reception interrupt processing is prohibited. According to the present invention, for example, when an abnormality occurs in the control device on the communication partner side and the same communication data is repeatedly received, the abnormality can be properly detected. In this case, the reception interrupt processing is prohibited when an abnormality occurs, so that the problem that the interrupt processing excessively increases and the controllability deteriorates due to the increase can be solved.

【0007】また、請求項2に記載の発明では、割込禁
止手段により受信割り込み処理が禁止された後、所定時
間が経過した時点で受信割り込み処理を再び許可するよ
うにしている。これにより、通信異常が一時的なもので
あり、その通信異常の状態が解消された場合に、受信割
り込み処理によるデータ受信を再開させることができ
る。
According to the second aspect of the present invention, the reception interruption processing is prohibited by the interruption prohibition means, and the reception interruption processing is permitted again when a predetermined time has elapsed. Thus, when the communication abnormality is temporary and the state of the communication abnormality is resolved, data reception by the reception interruption process can be restarted.

【0008】上記請求項2の発明では、請求項3に記載
したように、受信割り込み処理の禁止及び再許可が繰り
返されると、それに伴い前記割込禁止手段のしきい値を
減少側に変更すると良い。或いは、請求項4に記載した
ように、受信割り込み処理の禁止及び再許可が繰り返さ
れると、所定時間が経過しても受信割り込み処理を許可
しないこととすると良い。通信異常が一度発生すると、
その後も同様の異常が繰り返し発生することが考えられ
る。そこで、上記請求項3,4の如く異常判定のレベル
を厳しくしたり、受信割り込み処理を再許可しないよう
にしたりすることで、通信異常が連続して発生する場合
にも適正に対処できるようになる。
According to the second aspect of the present invention, as described in the third aspect, when the prohibition and re-permission of the reception interrupt processing are repeated, the threshold value of the interrupt prohibiting means is changed to the decreasing side. good. Alternatively, as described in claim 4, when the prohibition and re-permission of the reception interrupt process are repeated, the reception interrupt process may not be permitted even after the predetermined time has elapsed. Once a communication error occurs,
Thereafter, it is conceivable that similar abnormalities repeatedly occur. Therefore, by strictly setting the level of abnormality determination as in the third and fourth aspects or by not permitting the reception interrupt processing again, it is possible to appropriately cope with a case where a communication error occurs continuously. Become.

【0009】また、請求項5に記載の発明では、前記カ
ウント手段は、通信相手側の制御装置毎に受信割り込み
回数をカウントし、該制御装置毎に受信割り込み処理の
許可又は禁止を判断する。この場合、異常発生した制御
装置以外については通常の受信割り込み処理が継続でき
る。また、異常発生の制御装置を特定することも可能と
なる。
In the invention according to claim 5, the counting means counts the number of reception interrupts for each control device on the communication partner side, and determines whether reception interrupt processing is permitted or prohibited for each control device. In this case, normal reception interrupt processing can be continued for the control device other than the control device in which the abnormality has occurred. In addition, it is possible to specify a control device in which an abnormality has occurred.

【0010】[0010]

【発明の実施の形態】以下、この発明を具体化した一実
施の形態を図面に従って説明する。図1は、本実施の形
態における車両制御システムの概要を示すブロック図で
ある。本車両制御システムでは一例として、点火や燃料
噴射等のエンジン制御を実施するためのエンジンECU
10、トランスミッションの変速制御を実施するための
トランスミッションECU20、アンチロックブレーキ
制御を実施するためのABS_ECU30、各種メータ
類の制御を実施するためのメータECU40、ドアの施
開錠等の制御を実施するためのドアECU50を備え、
これら各ECU10〜50は通信バス60により相互に
通信可能に接続されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram illustrating an outline of a vehicle control system according to the present embodiment. In the vehicle control system, for example, an engine ECU for performing engine control such as ignition and fuel injection is provided.
10, a transmission ECU 20 for performing transmission shift control, an ABS_ECU 30 for performing antilock brake control, a meter ECU 40 for performing control of various meters, and a control for opening and closing a door. Door ECU 50,
These ECUs 10 to 50 are communicably connected to each other by a communication bus 60.

【0011】上記の各ECU10〜50では、エンジン
及び車両の運転状態等のデータが互いに送受信されると
共に、それら運転状態に基づいて各々に割り当てられた
種々の制御が実施される。また、各ECU10〜50で
は、通信バス60を介してデータを受信する度に割り込
み要求が発生し、それに伴う受信割り込み処理にてデー
タ受信処理が適宜実施されるようになっている。但し、
各ECU10〜50でのデータ受信は全て受信割り込み
処理にて実施されるのではなく、例えばエンジン回転
数、エンジン負荷、車速等のデータに関しては定期的に
データ受信処理が実施される。
In each of the ECUs 10 to 50, data such as the operating state of the engine and the vehicle is transmitted and received, and various controls assigned to each of the ECUs are performed based on the operating state. Each of the ECUs 10 to 50 generates an interrupt request each time data is received via the communication bus 60, and the data reception process is appropriately performed in the reception interrupt process accompanying the interrupt request. However,
The data reception by each of the ECUs 10 to 50 is not performed entirely by the reception interrupt processing, but the data reception processing is periodically performed for data such as the engine speed, the engine load, and the vehicle speed.

【0012】次に、各ECU10〜50でのデータ受信
に関する処理内容を詳しく説明する。ここで、図2は受
信割り込み処理を示すフローチャートであり、この処理
は各ECU10〜50においてデータ受信の都度起動さ
れる。
Next, the details of processing relating to data reception in each of the ECUs 10 to 50 will be described in detail. Here, FIG. 2 is a flowchart showing the reception interruption process, which is started in each of the ECUs 10 to 50 each time data is received.

【0013】図2において、先ずステップ101では、
今回の受信データに関するデータ受信処理を実施する。
このとき、受信データのRAM転送やパラメータの誤り
検出など、周知の受信手続を実施する。
In FIG. 2, first, at step 101,
A data reception process for the current reception data is performed.
At this time, a well-known receiving procedure such as RAM transfer of received data and error detection of a parameter is performed.

【0014】その後、ステップ102では、受信割り込
み回数をカウントするための受信カウンタN1を1イン
クリメントする。なおこの場合、受信カウンタN1を送
信側ECU毎に設け、各ECU毎に受信割り込み回数を
カウントすると良い。続くステップ103では、N1値
が所定のしきい値KA以上であるか否かを判別する。こ
のとき、N1<KAであればデータ受信状態が正常であ
るとみなし、ステップ104に進んで受信異常フラグX
ERRに0をセットする。
Thereafter, at step 102, a reception counter N1 for counting the number of reception interrupts is incremented by one. In this case, the reception counter N1 may be provided for each transmission ECU, and the number of reception interruptions may be counted for each ECU. In the following step 103, it is determined whether or not the N1 value is equal to or greater than a predetermined threshold value KA. At this time, if N1 <KA, it is considered that the data reception state is normal, and the routine proceeds to step 104, where the reception abnormality flag X
Set ERR to 0.

【0015】また、N1≧KAであればデータ受信状態
が異常であるとみなし、ステップ105に進んで受信異
常フラグXERRに1をセットする。更に、ステップ1
06では、それ以降の受信割り込み処理を禁止し、続く
ステップ107では、受信データとしてデフォルト値を
セットするなどのフェイルセーフ処理を実施する。ステ
ップ105〜107の処理は送信側ECU毎に実施され
ると良い。なお本実施の形態では、ステップ102が特
許請求の範囲に記載の「カウント手段」に相当し、ステ
ップ106が「割込禁止手段」に相当する。
If N1.gtoreq.KA, it is determined that the data reception state is abnormal, and the routine proceeds to step 105, where 1 is set to the reception abnormality flag XERR. Step 1
In step 06, the subsequent reception interrupt processing is prohibited. In step 107, fail-safe processing such as setting a default value as reception data is performed. The processing of steps 105 to 107 may be performed for each transmission ECU. In the present embodiment, step 102 corresponds to “counting means” described in the claims, and step 106 corresponds to “interruption prohibiting means”.

【0016】一方、図3は受信復帰処理を示すフローチ
ャートであり、この処理は各ECU10〜50でのベー
ス処理において所定の時間周期(例えば2秒間隔)で起
動される。図3において、先ずステップ201では、受
信カウンタN1を0にクリアする。続くステップ202
では、その時の受信異常フラグXERRが1であるか否
かを判別し、XERR=0でありデータ受信状態が正常
であると認められると、そのまま本処理を終了する。
On the other hand, FIG. 3 is a flowchart showing the reception recovery process, which is started at a predetermined time period (for example, every two seconds) in the base process in each of the ECUs 10 to 50. In FIG. 3, first, at step 201, the reception counter N1 is cleared to zero. Subsequent step 202
Then, it is determined whether or not the reception abnormality flag XERR at that time is 1, and if it is recognized that XERR = 0 and the data reception state is normal, this processing is terminated as it is.

【0017】また、XERR=1でありデータ受信状態
が異常であると認められると、ステップ203に進む。
ステップ203では、受信異常が発生してからの経過時
間をカウントするための復帰カウンタN2を1インクリ
メントし、続くステップ204では、N2値が所定のし
きい値KB以上であるか否かを判別する。このとき、N
2<KBであればそのまま本処理を終了する。また、N
2≧KBであればステップ205に進み、受信異常フラ
グXERRを0にクリアする。また、ステップ206で
は、それ以降の受信割り込み処理を許可すると共に、続
くステップ207では、復帰カウンタN2を0にクリア
し、その後本処理を終了する。
If XERR = 1 and the data reception state is determined to be abnormal, the routine proceeds to step 203.
In step 203, the return counter N2 for counting the elapsed time from the occurrence of the reception error is incremented by one, and in the following step 204, it is determined whether or not the value of N2 is equal to or larger than a predetermined threshold KB. . At this time, N
If 2 <KB, the present process ends. Also, N
If 2 ≧ KB, the routine proceeds to step 205, where the reception abnormality flag XERR is cleared to 0. Further, in step 206, the subsequent reception interrupt processing is permitted, and in the following step 207, the return counter N2 is cleared to 0, and then this processing ends.

【0018】図4は、上記図2及び図3の処理内容をよ
り具体的に示すタイムチャートである。さて図4では、
例えばt1,t2のタイミングで送信側ECUより通信
データが受信され、それに伴い受信割り込み処理(図
2)にて受信カウンタN1が1インクリメントされる。
また、受信カウンタN1は、その後の受信復帰処理(図
3)にて0にクリアされる。この場合、受信復帰処理の
実施周期である所定期間内において受信カウンタN1の
値がしきい値KAに達しないので、受信異常フラグXE
RRが0のまま保持され、受信可能な状態が継続され
る。
FIG. 4 is a time chart showing the processing contents of FIGS. 2 and 3 more specifically. Now, in FIG.
For example, communication data is received from the transmission-side ECU at timings t1 and t2, and the reception counter N1 is incremented by one in a reception interruption process (FIG. 2).
Further, the reception counter N1 is cleared to 0 in the subsequent reception recovery processing (FIG. 3). In this case, the value of the reception counter N1 does not reach the threshold value KA within a predetermined period which is the execution cycle of the reception recovery process, and therefore, the reception abnormality flag XE
RR is kept at 0, and the receivable state is continued.

【0019】これに対して、t3のタイミングでは、送
信側ECUに異常が発生し、それが原因で同じ受信デー
タが連続的に受信側ECUに送信される(受信異常が発
生する)。この場合、t3以降、受信カウンタN1が増
加し、t4のタイミングではN1値がしきい値KAに達
する。従って、t4のタイミングでは、受信異常フラグ
XERRに1がセットされると共に、受信割り込み処理
が禁止される。
On the other hand, at the timing of t3, an abnormality occurs in the transmitting ECU, and as a result, the same received data is continuously transmitted to the receiving ECU (an abnormal reception occurs). In this case, after t3, the reception counter N1 increases, and at the timing of t4, the N1 value reaches the threshold value KA. Therefore, at the timing of t4, 1 is set to the reception abnormality flag XERR, and the reception interruption processing is prohibited.

【0020】受信異常フラグXERRのセット後には、
受信復帰処理(図3)にて復帰カウンタN2が1ずつイ
ンクリメントされる。そして、復帰カウンタN2の値が
しきい値KBに達するt5のタイミングでは、受信異常
フラグXERRが0にクリアされると共に、受信割り込
み処理が許可される。更に、復帰カウンタN2が0にク
リアされる。t5のタイミング以降、送信側ECUの異
常が一時的なものであり、該ECUが自己回復しており
受信異常の状態が解消されていれば、通常の受信割り込
み処理が再開される。
After setting the reception error flag XERR,
In the reception restoration process (FIG. 3), the restoration counter N2 is incremented by one. Then, at the timing of t5 when the value of the return counter N2 reaches the threshold KB, the reception abnormality flag XERR is cleared to 0 and the reception interrupt processing is permitted. Further, the return counter N2 is cleared to zero. After the timing of t5, if the abnormality of the transmission-side ECU is temporary, and the ECU is self-recovering and the state of the reception abnormality has been resolved, the normal reception interrupt processing is restarted.

【0021】以上詳述した本実施の形態によれば、以下
に示す効果が得られる。例えば送信側ECUに異常が発
生し、同じ通信データが繰り返し受信されるといった異
常発生時にその異常が適正に検出できる。この場合、異
常発生時には受信割り込み処理が禁止されるため、当該
割り込み処理が過剰に増え、それが原因で制御性が悪化
するという問題が解消できる。
According to the embodiment described above, the following effects can be obtained. For example, when an abnormality occurs in the transmission ECU and the same communication data is repeatedly received, the abnormality can be properly detected. In this case, the reception interrupt processing is prohibited when an abnormality occurs, so that the problem that the interrupt processing excessively increases and the controllability deteriorates due to the increase can be solved.

【0022】また、受信割り込み処理が禁止された後、
所定時間が経過した時点で受信割り込み処理を再び許可
するようにしたので、通信異常が一時的なものであり、
その通信異常の状態が解消された場合に、受信割り込み
処理によるデータ受信を再開させることができる。
After the reception interrupt processing is disabled,
Since the reception interrupt processing is enabled again when the predetermined time has elapsed, the communication abnormality is temporary,
When the state of the communication abnormality is eliminated, the data reception by the reception interruption processing can be restarted.

【0023】また、送信側ECU毎に受信割り込み回数
をカウントし、該ECU毎に受信割り込み処理の許可又
は禁止を判断するので、異常発生したECU以外につい
ては通常の受信割り込み処理が継続できる。またこの場
合、異常発生のECUを特定することも可能となる。
Further, the number of reception interruptions is counted for each transmission ECU, and the permission or prohibition of the reception interruption processing is determined for each ECU. Therefore, the normal reception interruption processing can be continued for the ECUs other than the ECU in which the abnormality has occurred. In this case, it is also possible to specify the ECU in which the abnormality has occurred.

【0024】なお本発明は、上記以外に次の形態にて具
体化できる。通信異常が一度発生すると、その後も同様
の異常が繰り返し発生することが考えられる。そこで、
受信割り込み処理の禁止及び再許可が繰り返される場
合、異常判定のレベルを厳しくしたり、受信割り込み処
理を再許可しないようにしたりする。例えば、 (1)受信割り込み処理の禁止及び再許可の履歴(異常
発生の履歴)を残し、受信割り込み処理の禁止及び再許
可の回数が多くなるほど、受信カウンタN1のしきい値
KA(前記図2のステップ103)を減少側に変更す
る。実際には、前記図2の受信割り込み処理において、
ステップ103の判別処理の前にしきい値KAの設定処
理を加え、同設定処理では異常発生の履歴に応じてしき
い値KAを可変に設定する。 (2)同様に受信割り込み処理の禁止及び再許可の履歴
(異常発生の履歴)を残し、受信割り込み処理の禁止及
び再許可の回数が規定回数を超えると、所定時間が経過
しても受信割り込み処理を許可しないこととする。実際
には、前記図3の受信復帰処理において、その開始直後
に異常発生の履歴を確認し、受信割り込み処理の禁止及
び再許可の回数が規定回数を超えていれば、後続のステ
ップ201〜207をバイパスし、そのまま処理を終了
する。 (3)上記(1),(2)を組み合せて実施する。実際
には、受信割り込み処理の禁止及び再許可の回数が多く
なるにつれ、受信カウンタN1のしきい値KAを減少側
に変更し、更にその回数がある限度まで達すると、それ
以降受信割り込み処理を許可しないこととする。
The present invention can be embodied in the following forms other than the above. Once a communication error has occurred, it is conceivable that a similar error will occur repeatedly thereafter. Therefore,
When prohibition and re-permission of reception interrupt processing are repeated, the level of abnormality determination is made stricter, and reception interrupt processing is not permitted again. For example, (1) the history of the inhibition and re-permission of reception interrupt processing (history of occurrence of abnormality) is left, and the more the number of times of prohibition and re-permission of reception interrupt processing is increased, the more the threshold value KA of the reception counter N1 (see FIG. Is changed to the decreasing side. Actually, in the reception interrupt processing of FIG.
A setting process of the threshold value KA is added before the determination process of step 103, and in the setting process, the threshold value KA is variably set according to the history of the occurrence of the abnormality. (2) Similarly, the history of reception interrupt processing prohibition and re-permission (history of abnormality occurrence) is left, and if the number of reception interrupt processing prohibitions and re-permissions exceeds the specified number, the reception interrupt is performed even after a predetermined time has elapsed. Processing shall not be permitted. Actually, in the reception return processing of FIG. 3, the history of occurrence of an abnormality is confirmed immediately after the start, and if the number of times of prohibition and re-permission of the reception interrupt processing exceeds the specified number, the subsequent steps 201 to 207 are executed. And the process ends. (3) A combination of the above (1) and (2) is performed. Actually, the threshold value KA of the reception counter N1 is changed to a decreasing side as the number of times of prohibition and re-permission of the reception interrupt processing is increased, and when the number reaches a certain limit, the reception interrupt processing is thereafter performed. Not allowed.

【0025】上記(1)〜(3)の構成によれば、通信
異常が連続して発生する場合にも適正に対処できるよう
になる。つまり、受信割り込み処理の復帰の要否が適切
に判断でき、異常発生時における処理負荷の削減が可能
となる。
According to the above configurations (1) to (3), it is possible to appropriately cope with a case where a communication error occurs continuously. That is, it is possible to appropriately determine whether or not the return of the reception interrupt processing is necessary, and it is possible to reduce the processing load when an abnormality occurs.

【0026】上記実施の形態では、通信異常の発生後に
必要に応じて受信割り込み処理を再許可したが、通信異
常が一度発生した後は、受信割り込み処理を再許可させ
ないようにしても良い。すなわち、前記図3の受信復帰
処理自体を実施しないよう構成する。
In the above-described embodiment, the reception interrupt processing is re-permitted as necessary after the occurrence of the communication abnormality. However, the reception interruption processing may not be re-permitted after the occurrence of the communication abnormality. That is, it is configured not to execute the reception return processing itself of FIG.

【図面の簡単な説明】[Brief description of the drawings]

【図1】発明の実施の形態における車両制御システムの
概要を示す構成図。
FIG. 1 is a configuration diagram showing an outline of a vehicle control system according to an embodiment of the invention.

【図2】受信割り込み処理を示すフローチャート。FIG. 2 is a flowchart showing a reception interruption process.

【図3】受信復帰処理を示すフローチャート。FIG. 3 is a flowchart illustrating reception return processing.

【図4】データ受信時の動作を説明するためのタイムチ
ャート。
FIG. 4 is a time chart for explaining an operation at the time of data reception.

【符号の説明】[Explanation of symbols]

10〜50…ECU、60…通信バス。 10 to 50: ECU, 60: Communication bus.

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5K032 AA05 AA06 BA06 CB06 CC01 CD05 DB23 EA07 5K033 AA05 AA06 BA06 CB01 CB19 DA13 DB15 DB20 EA07  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5K032 AA05 AA06 BA06 CB06 CC01 CD05 DB23 EA07 5K033 AA05 AA06 BA06 CB01 CB19 DA13 DB15 DB20 EA07

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】複数の制御装置間が通信バスを介して通信
可能に接続され、各制御装置では通信データの受信時に
受信割り込み処理を適宜実施する車両制御システムにお
いて、 所定期間内における受信割り込み回数をカウントするカ
ウント手段と、 該カウントした受信割り込み回数が所定のしきい値を超
えたとき、それ以降の受信割り込み処理を禁止する割込
禁止手段と、を備えることを特徴とする車両制御システ
ム。
1. A vehicle control system in which a plurality of control devices are communicably connected via a communication bus, and each control device appropriately executes a reception interrupt process when receiving communication data. A vehicle control system comprising: a counting unit that counts the number of received interrupts; and an interrupt prohibiting unit that prohibits subsequent reception interrupt processing when the counted number of reception interrupts exceeds a predetermined threshold value.
【請求項2】前記割込禁止手段により受信割り込み処理
が禁止された後、所定時間が経過した時点で受信割り込
み処理を再び許可する請求項1に記載の車両制御システ
ム。
2. The vehicle control system according to claim 1, wherein the reception interrupt processing is permitted again when a predetermined time elapses after the reception interrupt processing is prohibited by the interrupt prohibiting means.
【請求項3】請求項2に記載の車両制御システムにおい
て、受信割り込み処理の禁止及び再許可が繰り返される
と、それに伴い前記割込禁止手段のしきい値を減少側に
変更する車両制御システム。
3. The vehicle control system according to claim 2, wherein, when prohibition and re-permission of reception interrupt processing are repeated, the threshold value of said interrupt prohibiting means is changed to a decreasing side.
【請求項4】請求項2に記載の車両制御システムにおい
て、受信割り込み処理の禁止及び再許可が繰り返される
と、所定時間が経過しても受信割り込み処理を許可しな
いこととする車両制御システム。
4. A vehicle control system according to claim 2, wherein when the inhibition and re-permission of the reception interrupt processing are repeated, the reception interrupt processing is not permitted even after a predetermined time has elapsed.
【請求項5】前記カウント手段は、通信相手側の制御装
置毎に受信割り込み回数をカウントし、該制御装置毎に
受信割り込み処理の許可又は禁止を判断する請求項1〜
4の何れかに記載の車両制御システム。
5. The communication device according to claim 1, wherein said counting means counts the number of reception interrupts for each control device on the communication partner side and determines whether to enable or disable reception interrupt processing for each control device.
5. The vehicle control system according to any one of 4.
JP2001109849A 2001-04-09 2001-04-09 Vehicle control system Pending JP2002314556A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001109849A JP2002314556A (en) 2001-04-09 2001-04-09 Vehicle control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001109849A JP2002314556A (en) 2001-04-09 2001-04-09 Vehicle control system

Publications (1)

Publication Number Publication Date
JP2002314556A true JP2002314556A (en) 2002-10-25

Family

ID=18961732

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001109849A Pending JP2002314556A (en) 2001-04-09 2001-04-09 Vehicle control system

Country Status (1)

Country Link
JP (1) JP2002314556A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008003731A (en) * 2006-06-21 2008-01-10 Hitachi Ltd Information processing system
JP2011093465A (en) * 2009-10-30 2011-05-12 Denso Corp Periphery monitoring system for mobile body
CN105468497A (en) * 2015-12-15 2016-04-06 迈普通信技术股份有限公司 Interruption exception monitoring method and apparatus
JP2019111855A (en) * 2017-12-21 2019-07-11 トヨタ自動車株式会社 Hybrid automobile

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008003731A (en) * 2006-06-21 2008-01-10 Hitachi Ltd Information processing system
JP2011093465A (en) * 2009-10-30 2011-05-12 Denso Corp Periphery monitoring system for mobile body
US8461972B2 (en) 2009-10-30 2013-06-11 Denso Corporation Movable object periphery monitoring system and method for controlling data transmission in the same
CN105468497A (en) * 2015-12-15 2016-04-06 迈普通信技术股份有限公司 Interruption exception monitoring method and apparatus
JP2019111855A (en) * 2017-12-21 2019-07-11 トヨタ自動車株式会社 Hybrid automobile
JP7067053B2 (en) 2017-12-21 2022-05-16 トヨタ自動車株式会社 Hybrid car

Similar Documents

Publication Publication Date Title
US10902109B2 (en) Misuse detection method, misuse detection electronic control unit, and misuse detection system
US10404709B2 (en) Security gateway module for on-board diagnostics port of a vehicle
US6938190B2 (en) Failure detector for communication network in automobile
US11580223B2 (en) Vehicular control apparatus
CN111147437B (en) Attributing bus disconnect attacks based on erroneous frames
JP6369341B2 (en) In-vehicle communication system
JP2011040886A (en) Diagnostic device and diagnosis system
US8024625B2 (en) Network system for diagnosing operational abnormality of nodes
US8392815B2 (en) Method for the operation of a microcontroller and an execution unit and microcontroller and an execution unit
US11394726B2 (en) Method and apparatus for transmitting a message sequence over a data bus and method and apparatus for detecting an attack on a message sequence thus transmitted
CN110147090B (en) Method and system for processing controller local area network bus closing fault
EP1712424B1 (en) Vehicle control apparatus
CN113328983B (en) Illegal signal detection device
JP2004348274A (en) Diagnostic device for communication failure
CN110915170B (en) Ecu
JP2002314556A (en) Vehicle control system
JP3923810B2 (en) Electronic control device for vehicle
JP3883849B2 (en) Electronic control device for vehicle
JP6404848B2 (en) Monitoring device and communication system
JP6913869B2 (en) Surveillance equipment, surveillance systems and computer programs
JP3901987B2 (en) Electronic control device for vehicle
JP3351104B2 (en) Vehicle communication system
JP2006195739A (en) Electronic controller
CN112119392A (en) Abnormality detection device and abnormality detection method
Quigley et al. The Application of Low Cost CAN Bus Load Transducer Technology

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051018

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051025

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051226

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060328