JPH05231233A - Communication device having fail safe function - Google Patents

Communication device having fail safe function

Info

Publication number
JPH05231233A
JPH05231233A JP3960892A JP3960892A JPH05231233A JP H05231233 A JPH05231233 A JP H05231233A JP 3960892 A JP3960892 A JP 3960892A JP 3960892 A JP3960892 A JP 3960892A JP H05231233 A JPH05231233 A JP H05231233A
Authority
JP
Japan
Prior art keywords
signal
knock
abnormality
communication
fail
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
JP3960892A
Other languages
Japanese (ja)
Inventor
Hidehiko Katano
秀彦 片野
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP3960892A priority Critical patent/JPH05231233A/en
Publication of JPH05231233A publication Critical patent/JPH05231233A/en
Pending legal-status Critical Current

Links

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

PURPOSE:To carry out fail safe treatment with high safety in a communication device in which fail safe treatment is done upon abnormality of a system by monitoring disconnection of each communication line in the case where data communication is performed by the use of a plurality of communication lines, and succeeding the controlling by the use of data sent from the other communication line which effectively functions when disconnection at a communication line is detected. CONSTITUTION:In the case where binarized data is parallelly transmitted between electronic control units 2 and 3, the data are invented and sent after normal sending is performed. When the data is not invented, communication lines 1a, 1b are judged to be disconnected. A fail safe treatment means 4 specifies the disconnected communication line, and selects fail safe treatment in correspondense with the condition of the disconnected line. High safety controlling is thus carried out even in abnormality of a system, based on data from a communication line which effectively functions.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はフェールセーフ機能を備
えた通信装置に係り、特にシステムの異常時にその異常
を検知して所定の異常処置を行うフェールセーフ機能を
備えた通信装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication device having a fail-safe function, and more particularly to a communication device having a fail-safe function for detecting an abnormality when a system abnormality occurs and performing a predetermined abnormality treatment.

【0002】[0002]

【従来の技術】従来より複数の通信線に送信される信号
に基づいて所定の処理を行い、システムの異常時には、
その信号の異常を検知して異常処置を行う装置が知られ
ている(特開昭63−295839号公報)。
2. Description of the Related Art Conventionally, predetermined processing is performed based on signals transmitted to a plurality of communication lines, and when a system malfunctions,
There is known a device for detecting an abnormality in the signal and performing an abnormality treatment (JP-A-63-295839).

【0003】上記装置は、内燃機関の各気筒に対応して
配設される点火コイルの一次側コイルと接続されるフェ
ール信号線に、各気筒に点火すべきタイミングと同期し
て一次側コイルの逆起電力信号が表れているか否かを監
視する事で、複数の一次側コイルの断線を検知し、それ
らの異常を検知した際には、どのタイミングの信号が抜
けているかにより、どの気筒の一次側コイルが断線して
いるかを特定して、その気筒に対する燃料の供給を停止
している。
In the above apparatus, the fail signal line connected to the primary coil of the ignition coil arranged corresponding to each cylinder of the internal combustion engine is connected to the primary coil of the primary coil in synchronization with the timing for igniting each cylinder. By monitoring whether the back electromotive force signal appears, disconnection of multiple primary coils is detected, and when abnormalities are detected, depending on which timing signal is missing, which cylinder The supply of fuel to the cylinder is stopped by identifying whether the primary coil is broken.

【0004】又、従来より上記装置ようにフェール信号
線に送信される正常信号又は異常信号に基づいて、異常
処置を行う方法は、より高度な制御をおこなうため複数
の電子制御装置間で、複数の信号線を用いてデータのパ
ラレル通信を行う装置にも用いられており、図7は内燃
機関の筒内圧力を2ビットのノック強度信号に変換する
ノックセンサの出力をノックセンサ信号処理CPUか
ら、エンジン制御CPUへ送信する場合のタイムチャー
トを示す。
Further, in the prior art, a method of performing an abnormality treatment based on a normal signal or an abnormal signal transmitted to a fail signal line as in the above-mentioned device is used by a plurality of electronic control devices in order to perform more advanced control. 7 is also used in a device that performs parallel data communication using the signal line of FIG. 7, in which the output of the knock sensor that converts the cylinder internal pressure of the internal combustion engine into a 2-bit knock intensity signal is output from the knock sensor signal processing CPU. , Shows a time chart when transmitting to the engine control CPU.

【0005】同図(A)はエンジン制御CPUから送信
されるTDC(上死点)信号を示し、上死点となる時刻
1 から上死点後30°(ATDC30CA)となる時
刻T 3 の間だけローレベルの信号を出力している。ノッ
クセンサ信号処理CPUはこの信号がハイからローに切
り替わるのをうけて、同図(E)(F)に示す如く、ノ
ック信号処理CPUに接続されるノックセンサが正常で
ある場合とそうでない場合とで出力の反転パターンを逆
にしてフェール信号を出力する。
FIG. 1A is transmitted from the engine control CPU.
Time at which the TDC (top dead center) signal is displayed and becomes the top dead center
T1When it becomes 30 ° (ATDC30CA) after top dead center
Tick T 3The low level signal is output only during the period. Knock
The sensor signal processing CPU switches this signal from high to low.
As shown in (E) and (F) of FIG.
The knock sensor connected to the CPU
Reverse output inversion pattern with and without
And output a fail signal.

【0006】次いでノックセンサ信号処理CPUは同図
(D)中、時刻T2 に始まるノック強度・フェール判定
区間を演算設定しその区間の終了する時刻T4 を設定
し、その区間中に2ビットのノック強度の演算(同図
(B)(C))と、ノックセンサの異常有無の判定を行
い、その区間の終了する時刻T4 と同時に確定したノッ
ク強度を出力し、ノックセンサが正常であればフェール
信号をハイ、異常であればローとして出力する。
Next, the knock sensor signal processing CPU calculates and sets a knock strength / failure judgment section starting at time T 2 and sets time T 4 at the end of the section in FIG. Of the knock intensity ((B) and (C) in the same figure) and whether or not there is an abnormality in the knock sensor is determined, and the knock intensity determined at the time T 4 when the section ends is output. If it is abnormal, the fail signal is output as high, and if abnormal, it is output as low.

【0007】このため、エンジン制御CPUはフェール
信号の反転パターンで、ノックセンサが正常であるか否
かを判別することができ、フェール信号が反転しない場
合にはフェール信号線が断線していると認識することが
できる。
Therefore, the engine control CPU can determine whether or not the knock sensor is normal by the inversion pattern of the fail signal. If the fail signal is not inverted, the fail signal line is broken. Can be recognized.

【0008】[0008]

【発明が解決しようとする課題】しかし、上記従来の複
数の電子制御装置間の通信におけるフェールセーフ機能
は、フェール信号線に送信される信号だけを監視してフ
ェール判定をおこなっているため、電子制御装置に入力
される複数の通信線の内一本の通信線だけが断線したよ
うな場合でも、フェール信号によりそのシステムが異常
であると判断されると、異常処置として複数の通信線か
ら入力される全ての情報を異常として取り扱うため、こ
のような状況下では、きめ細やかな制御をすることがで
きない。
However, the fail-safe function in the above-mentioned conventional communication between a plurality of electronic control units monitors only the signal transmitted to the fail signal line to make the fail judgment. Even if only one of the communication lines input to the control unit is broken, if the fail signal determines that the system is abnormal, input from multiple communication lines as an error measure Since all the information that is processed is treated as an abnormality, it is not possible to perform detailed control in such a situation.

【0009】又、複数の信号線をもちいて2値化データ
のパラレル通信を行う様な場合には、データ線の断線に
対するフェールセーフ機能が無いため、送信側電子制御
装置も受信側電子制御装置もその異常を検知できず、デ
ータ線が断線したまま誤ったデータを送信し続け、制御
上危険な場合がある。
Further, in the case of parallel communication of binary data using a plurality of signal lines, since there is no fail-safe function for disconnection of the data lines, the transmission side electronic control unit and the reception side electronic control unit are not provided. However, there is a case where the abnormality cannot be detected, and incorrect data is continuously transmitted while the data line is broken, which is dangerous for control.

【0010】本発明は、上述の点に鑑みてなされたもの
であり、複数の電子制御装置間で複数の通信線を用いて
データ通信を行う際、各通信線に送信される各々の信号
の異常を個別に検出し、その異常を検出した際には、そ
の信号により入力されるべきデータ値の中で、安全側の
値を入力し、他の有効に動作している通信線から送信さ
れる信号に基づいて制御を続行することにより、安全性
の高い異常処置を行うフェールセーフ機能を備えた通信
装置を提供することを目的とする。
The present invention has been made in view of the above points, and when data communication is performed between a plurality of electronic control units using a plurality of communication lines, each signal transmitted to each communication line is transmitted. When an abnormality is detected individually, and when that abnormality is detected, enter the value on the safe side in the data value that should be input by that signal, and it will be transmitted from other valid communication lines. It is an object of the present invention to provide a communication device having a fail-safe function that performs highly safe abnormality handling by continuing control based on a signal indicating that the signal is present.

【0011】[0011]

【課題を解決するための手段】上記の問題点を解決する
ために本発明装置は、図1の原理図に示す如く、複数の
電子制御装置2、3内に複数配設される送受信手段2
c,2d及び3c,3d間を接続する複数の通信線1
a,1bを用いてパラレルに信号を通信する通信手段1
と、前記複数の通信線1a,1bに送信される各々の信
号の異常を個別に検出する異常検出手段2a,2b,3
a,3bと、該異常検出手段2a,2b,3a,3bが
信号の異常を検出すると、その異常と検出された信号に
より入力されるべきデータ値に、安全側の値が入力され
たものとして処置するフェールセーフ処置手段4とを具
備する構成である。
In order to solve the above-mentioned problems, the device of the present invention, as shown in the principle diagram of FIG. 1, has a plurality of transmitting / receiving means 2 arranged in a plurality of electronic control devices 2, 3.
A plurality of communication lines 1 connecting between c, 2d and 3c, 3d
Communication means 1 for communicating signals in parallel using a and 1b
And abnormality detecting means 2a, 2b, 3 for individually detecting abnormality of each signal transmitted to the plurality of communication lines 1a, 1b.
When a, 3b and the abnormality detecting means 2a, 2b, 3a, 3b detect an abnormality in the signal, it is assumed that the value on the safe side is input to the data value to be input by the signal detected as the abnormality. It is the structure provided with the fail-safe treatment means 4 for treating.

【0012】[0012]

【作用】上記の構成によれば、複数の電子制御装置2、
3間でデータのパラレル通信を行う際、複数の通信線1
a,1bに送信される各々の信号の異常を個別に検出す
る異常検出手段2a,2b,3a,3bが存在し、各通
信線ごとに異常検出を行うためパラレルに送信される信
号の一部に異常が生じた場合、異常部位を特定すること
ができ、残りの通信線により送信される信号は制御上有
効であることが判別できる。又、フェールセーフ処置手
段4は上記異常部の信号により入力されるべきデータ値
に、安全側の値が入力されるため、システムの異常時に
おいて、正常な信号に近くかつ安全性の高い制御が続行
される。
According to the above construction, the plurality of electronic control units 2,
When performing parallel communication of data between three, a plurality of communication lines 1
There is an abnormality detecting means 2a, 2b, 3a, 3b for individually detecting the abnormality of each signal transmitted to a and 1b, and a part of the signals transmitted in parallel for detecting the abnormality for each communication line. If an abnormality occurs, it is possible to identify the abnormal portion and determine that the signals transmitted by the remaining communication lines are effective for control. In addition, since the safe-side value is input to the data value that should be input by the signal of the abnormal portion, the fail-safe measure means 4 can perform control close to a normal signal and highly safe when the system is abnormal. Continued.

【0013】[0013]

【実施例】図2は本発明装置の一実施例の回路構成図を
示す。同図中5、6は内燃機関の筒内燃焼圧を電気信号
に変換するノックセンサで、ノックセンサ信号処理回路
7、8を介して前記電子制御装置2に相当するノックセ
ンサ信号処理CPU9に接続されている。ノックセンサ
信号処理CPU9と前記電子制御装置3に相当するエン
ジン制御CPU16は、TDC信号線10、気筒判別信
号線11、前記複数の通信線1a,1bに相当するノッ
ク強度信号線12、13、フェール信号線14及びフェ
ールセンサ信号線15を介して互いに接続され、前記通
信手段1を構成して相互通信を行っている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 2 is a circuit diagram of an embodiment of the device of the present invention. In the figure, 5 and 6 are knock sensors for converting the in-cylinder combustion pressure of the internal combustion engine into electric signals, which are connected to a knock sensor signal processing CPU 9 corresponding to the electronic control unit 2 via knock sensor signal processing circuits 7 and 8. Has been done. The knock sensor signal processing CPU 9 and the engine control CPU 16 corresponding to the electronic control unit 3 include a TDC signal line 10, a cylinder discrimination signal line 11, knock intensity signal lines 12 and 13 corresponding to the plurality of communication lines 1a and 1b, and a fail. They are connected to each other via a signal line 14 and a fail sensor signal line 15, and constitute the communication means 1 to perform mutual communication.

【0014】以下にノックセンサ信号処理CPU9とエ
ンジン制御CPU16を接続する上記各通信線について
説明する。TDC信号線10及び気筒判別信号線11は
エンジン制御CPU16からノックセンサ信号処理CP
U9に向けた通信線で、それぞれ上死点信号と、上死点
にあるのはどの気筒であるかを表す気筒判別信号を送信
している。
The respective communication lines connecting the knock sensor signal processing CPU 9 and the engine control CPU 16 will be described below. The TDC signal line 10 and the cylinder discrimination signal line 11 are transmitted from the engine control CPU 16 to the knock sensor signal processing CP.
A communication line directed to U9 transmits a top dead center signal and a cylinder discrimination signal indicating which cylinder is at the top dead center.

【0015】ノックセンサ信号処理CPU9はこれらの
信号に基づいて、ノックセンサ5、6から上死点にある
気筒に配設されている方を選択してデータを取り込み、
そのノック強度を4段階にレベル分けし、ノック強度信
号線12、13を用いて2ビット信号でエンジン制御C
PU16に送信している。
On the basis of these signals, the knock sensor signal processing CPU 9 selects one of the knock sensors 5 and 6 arranged in the cylinder at the top dead center to take in data,
The knock intensity is divided into four levels and engine control C is performed with a 2-bit signal using knock intensity signal lines 12 and 13.
It is being sent to PU16.

【0016】フェール信号線14はノックセンサ信号処
理CPU9が、ノックセンサ信号処理回路7、8の出力
信号の異常を検出した場合又はTDC信号線10、気筒
判別信号線11から信号が入力されない場合に、センサ
系の異常、又は通信線の断線と判断してノックセンサ信
号処理CPU9が発する異常信号をエンジン制御CPU
16に送信する通信線で、フェールセンサ信号線15
は、ノックセンサ信号処理CPU9がノックセンサ信号
処理回路7、8の出力異常を検知して、フェール信号線
14に異常信号を送信する際、どちらの系統に異常が発
生しているかを表わす信号を送信するための通信線であ
る。
The fail signal line 14 is used when the knock sensor signal processing CPU 9 detects an abnormality in the output signals of the knock sensor signal processing circuits 7 and 8 or when no signal is input from the TDC signal line 10 and the cylinder discrimination signal line 11. , An abnormality signal issued by the knock sensor signal processing CPU 9 upon judging that the sensor system is abnormal or the communication line is broken.
The communication line to be transmitted to the fail sensor signal line 15
Is a signal indicating which system has an abnormality when the knock sensor signal processing CPU 9 detects an output abnormality of the knock sensor signal processing circuits 7 and 8 and transmits an abnormality signal to the fail signal line 14. It is a communication line for transmitting.

【0017】これらの異常信号は、TDC信号に呼応し
て反転する信号の反転パターンを、正常時と異常時で逆
転して出力することにより、その異常を表しているため
フェール信号線14、フェールセンサ信号線15が断線
した場合、エンジン制御CPU16は信号が反転しない
ことからそれらの信号線が断線していることを認識す
る。
Since these abnormal signals represent the abnormalities by outputting the inversion pattern of the signal which is inverted in response to the TDC signal by reversing the normal pattern and the abnormal pattern, the fail signal line 14 and the fail signal line fail. When the sensor signal lines 15 are broken, the engine control CPU 16 recognizes that those signal lines are broken because the signals are not inverted.

【0018】この様に本実施例に係る装置のエンジン制
御CPU16は、フェール信号線14及びフェールセン
サ信号線15の信号を監視する事により、センサ系統の
異常、TDC信号線10、気筒判別信号線11、フェー
ル信号線14及びフェールセンサ信号線15の各通信線
ごとの断線について認識することができる。
As described above, the engine control CPU 16 of the apparatus according to the present embodiment monitors the signals of the fail signal line 14 and the fail sensor signal line 15 to detect an abnormality in the sensor system, the TDC signal line 10, and the cylinder discrimination signal line. It is possible to recognize the disconnection of each of the communication lines 11, 11, the fail signal line 14, and the fail sensor signal line 15.

【0019】ノック強度信号線12、13には、ノック
センサ信号処理CPU9内に前記異常検出手段2a,2
bに相当する反転出力機構がそれぞれの通信線に対して
設けられており、又エンジン制御CPU16内には前記
異常検出手段3a,3bに相当する反転出力受信機構が
設けられ、エンジン制御CPU16はその送信されるデ
ータの反転を監視することで、これらの通信線の断線を
検出している。
The knock intensity signal lines 12 and 13 are provided in the knock sensor signal processing CPU 9 with the abnormality detecting means 2a and 2a.
An inversion output mechanism corresponding to b is provided for each communication line, and an inversion output receiving mechanism corresponding to the abnormality detecting means 3a and 3b is provided in the engine control CPU 16, and the engine control CPU 16 has the inversion output receiving mechanism. By monitoring the inversion of transmitted data, disconnection of these communication lines is detected.

【0020】以下にノックセンサ信号処理CPU9とエ
ンジン制御CPU16間で行われるフェール信号と上記
2ビットデータの送受信について、図3に示すノック強
度信号出力ルーチン、図4に示すノック強度信号取り込
みルーチン及び図5に示す送受信のタイムチャートに基
づいて説明する。
Regarding the transmission and reception of the fail signal and the above 2-bit data between the knock sensor signal processing CPU 9 and the engine control CPU 16, the knock intensity signal output routine shown in FIG. 3, the knock intensity signal fetching routine shown in FIG. This will be described based on the transmission / reception time chart shown in FIG.

【0021】図5(A)に示すように、時刻t1 でエン
ジン制御CPU16から送信されるTDC信号が、ハイ
からローに切り替わり上死点であることをノックセンサ
信号処理CPU9に知らせると、図3(a)に示すノッ
クセンサ信号処理CPU9のノック強度反転出力ルーチ
ンが起動し、ステップ101でフェール信号を反転出力
する。この出力は上記の理由により図5(E)(F)に
示す如く、正常時と異常時で出力パターンを逆にして出
力している。
As shown in FIG. 5 (A), when the knock sensor signal processing CPU 9 is notified that the TDC signal transmitted from the engine control CPU 16 changes from high to low at the time t 1 and is at the top dead center, The knock intensity inversion output routine of the knock sensor signal processing CPU 9 shown in 3 (a) is started, and the fail signal is inverted and output in step 101. Due to the above reason, this output is output with the output pattern reversed in the normal state and the abnormal state, as shown in FIGS.

【0022】次にステップ102で図5(B)(C)に
示す如く2ビットデータのノック強度信号を同様の目的
から反転出力し、同図中時刻t3 にTDC信号がローか
らハイに切り替わり上死点後30°であることを知らせ
てくるまでその出力を保持する(同図中期間)。その
後次回の上死点到達までに所定の処理を終了するため、
ステップ103でノック強度及びフェール判定を行う区
間(同図中期間及び)を演算し、その判定区間を設
定して(ステップ104)反転出力ルーチンを終了す
る。
Next, at step 102, as shown in FIGS. 5B and 5C, a knock intensity signal of 2-bit data is inverted and output for the same purpose, and the TDC signal is switched from low to high at time t 3 in FIG. The output is held until it is notified that it is 30 ° after the top dead center (period in the figure). After that, because the predetermined processing is completed by the time the next top dead center is reached,
In step 103, the knock intensity and the section in which the fail determination is performed (the period in the figure) are calculated, the determination section is set (step 104), and the inversion output routine ends.

【0023】同図中時刻t2 でタイマ割り込みにより同
図(D)に示す如くノック強度及・フェール判定区間が
開始し図3(b)に示す演算ルーチンが起動すると、ス
テップ105でノック強度演算処理を行い、ステップ1
06でTDC信号がハイと判別されるまで、ノック強度
の反転出力を保持する時間を稼ぐためその演算結果を出
力せずにその処理を継続する(同図中期間)。
At time t 2 in the figure, a timer interruption starts a knock intensity / failure determination section as shown in FIG. 3 (D), and the calculation routine shown in FIG. 3 (b) is started. Process, step 1
Until the TDC signal is determined to be high in 06, the processing is continued without outputting the calculation result in order to gain time to hold the inverted output of the knock intensity (period in the figure).

【0024】図5中時刻t3 で同図(H)に示す如く、
エンジン制御CPUがノック強度の取り込みを終え、T
DC信号をローからハイに切替えるのをうけて、ステッ
プ107へ進み演算したノック強度信号を出力し、ステ
ップ108で判定区間終了と判別されるまでステップ1
05へ戻り演算と出力を随時繰り返し(同図中期間
)、時刻t4 で設定されたノック強度・フェール判定
区間が終了すると、確定したノック強度を出力したまま
ステップ109へ進みノック信号が正常であるか否かを
判別する。
At time t 3 in FIG. 5, as shown in FIG.
When the engine control CPU finishes loading the knock intensity, T
In response to switching the DC signal from low to high, the routine proceeds to step 107, where the calculated knock intensity signal is output, and step 1 is performed until it is determined at step 108 that the determination section ends.
When the knock strength / failure judgment section set at time t 4 is completed by repeating the calculation and the output at any time (the period in the figure), the operation proceeds to step 109 while the confirmed knock strength is output and the knock signal is normal. It is determined whether or not there is.

【0025】ノック信号が正常であれば同図(E)に示
す如くステップ110でフェール信号にハイを出力し、
異常であれば同図(F)に示す如くステップ111でロ
ーを出力して、時刻t5 で再び上死点となり次回のサイ
クルが開始するまで、その出力を保持して処理を終了す
る。
If the knock signal is normal, a high level is output to the fail signal in step 110 as shown in FIG.
If it is abnormal, a low is output in step 111 as shown in FIG. 11F, and the output is held and the process ends until the time T 5 becomes top dead center again and the next cycle starts.

【0026】エンジン制御CPU16におけるノック強
度信号取り込みルーチンは、図4に示す如く、ステップ
121で上死点後30°であるか否かを判別し、上死点
後30°ではないと判別された場合、ステップ122へ
進み上死点であるか否かを判別する。
In the knock intensity signal fetching routine in the engine control CPU 16, as shown in FIG. 4, it is determined in step 121 whether it is 30 ° after top dead center, and it is determined that it is not 30 ° after top dead center. In this case, the process proceeds to step 122 and it is determined whether or not it is the top dead center.

【0027】図5(G)(H)に示す如くエンジン制御
CPUにおけるフェール信号及びノック強度信号取り込
みは上死点及び上死点後30°でのみ行うため、ステッ
プ122で上死点ではないと判別された場合そのまま処
理を終了する。
As shown in FIGS. 5G and 5H, since the fail signal and the knock intensity signal are taken in by the engine control CPU only at the top dead center and at 30 ° after the top dead center, the top dead center is not determined in step 122. When the determination is made, the processing is finished as it is.

【0028】同図中時刻t1 において上死点であると判
別された場合(ステップ122)、同図(E)〜(H)
に示す如く、TDC信号をハイからローに切り換える前
に、システムが正常である場合にハイ、異常である場合
にローとして出力されたフェール信号及び確定したノッ
ク強度信号を取り込み(ステップ123、ステップ12
4)、次いでノックセンサ信号処理CPU9に上死点で
あることを知らせるため、TDC信号をハイからローに
切り換えて出力し(ステップ125)、上死点における
取り込み処理を終了する。
When it is determined that it is the top dead center at time t 1 in the figure (step 122), (E) to (H) in the figure.
As shown in FIG. 6, before switching the TDC signal from high to low, the fail signal output as high when the system is normal and the low knock strength signal when the system is abnormal and the confirmed knock intensity signal are fetched (step 123, step 12).
4) Next, in order to notify the knock sensor signal processing CPU 9 that it is at top dead center, the TDC signal is switched from high to low and output (step 125), and the capture processing at top dead center is completed.

【0029】次に同図中時刻t3 において上死点後30
°であると判別されると(ステップ121)、ステップ
126へ進み反転後のフェール信号を取り込み、その後
ステップ127で同様に反転しているノック強度信号を
取り込んだ後、ステップ128へ進みノックセンサ信号
処理CPU9へ上死点後30°であることを知らせるた
め、TDC信号をローからハイに切り換えて出力する。
Next, at time t 3 in the figure, 30 after the top dead center.
If it is determined that the angle is 0 ° (step 121), the process proceeds to step 126, the fail signal after the inversion is taken in, and then the knock intensity signal similarly similarly inverted is taken in at step 127, then the process proceeds to step 128, and the knock sensor signal is obtained. In order to notify the processing CPU 9 that it is 30 ° after top dead center, the TDC signal is switched from low to high and output.

【0030】上記した如くエンジン制御CPU16が上
死点で取り込む信号は常に反転前のフェール信号及びノ
ック強度信号となり、上死点後30°で取り込む信号は
常に反転後のフェール信号及びノック強度信号となる。
このためこれらの信号を比較することによりフェール信
号により検知される異常はもとより、フェール信号線及
びノック強度信号線の断線又は通信異常をも検知するこ
とができる。
As described above, the signal taken in by the engine control CPU 16 at the top dead center is always the fail signal and knock intensity signal before inversion, and the signal taken in at 30 ° after the top dead center is always the fail signal and knock intensity signal after inversion. Become.
Therefore, by comparing these signals, not only the abnormality detected by the fail signal but also the disconnection or communication abnormality of the fail signal line and the knock intensity signal line can be detected.

【0031】上記したように本実施例に係る装置はノッ
ク強度信号線12、13が断線した場合に、その異常を
個別に検知する事ができるため、ステップ129でフェ
ール信号系の異常の有無を判別して、異常であればフェ
ール信号に沿ったフェール処置を行って(ステップ13
0)処理を終了するが、正常であればステップ131へ
進みノック強度信号が正常か否かについても判別する。
ノック強度信号が正常であればそのノック強度を制御に
用いるためにエンジン制御CPU16内演算部にセット
し(ステップ132)、異常と判別した場合には、前記
フェールセーフ処置手段4に相当するステップ133へ
進みノック強度信号の異常に応じた異常処理を行い処理
を終了する。
As described above, when the knock strength signal lines 12 and 13 are broken, the apparatus according to the present embodiment can individually detect the abnormality, and therefore, in step 129, it is determined whether or not there is an abnormality in the fail signal system. If it is determined that there is an abnormality, fail processing is performed according to the fail signal (step 13).
0) Although the processing is ended, if normal, the routine proceeds to step 131, where it is also judged whether or not the knock intensity signal is normal.
If the knock intensity signal is normal, the knock intensity is set in the arithmetic unit in the engine control CPU 16 for use in control (step 132), and if it is determined to be abnormal, the step 133 corresponding to the fail-safe measure means 4 is performed. Then, the process proceeds to step S21 and performs an abnormality process according to the abnormality of the knock intensity signal, and ends the process.

【0032】以下図6に基づいて、この異常処理につい
て説明する。図6(A)は本実施例に係るノックセンサ
信号処理CPU9が、ノックセンサ信号処理回路7、8
から入力される信号に基づいて内燃機関の筒内ノック強
度を4段階にレベル分けした際の、各ノック強度信号線
12、13の出力を示す。ここでノックレベルはノック
強度K0が最も小さく、ノック強度K3が最も大きいレ
ベルを表し、エンジン制御CPU16はこの出力に基づ
いて点火遅角量を演算している。
This abnormality processing will be described below with reference to FIG. In FIG. 6 (A), the knock sensor signal processing CPU 9 according to the present embodiment has knock sensor signal processing circuits 7 and 8.
The outputs of the knock intensity signal lines 12 and 13 when the in-cylinder knock intensity of the internal combustion engine is divided into four levels based on the signal input from Here, the knock level represents the lowest knock intensity K0 and the highest knock intensity K3, and the engine control CPU 16 calculates the ignition retard amount based on this output.

【0033】同図に示す如く、ノック強度信号線12は
通常出力時に、ノック強度K0,K1でデータ値”
1”、ノック強度K2,K3でデータ値”0”を出力
し、反転出力時はこれらを反転して出力する。このため
ノック強度信号線13が断線した場合、エンジン制御C
PU16は筒内ノック強度をK0,K1のグループとK
2,K3のグループにレベル分けすることができる。
As shown in the figure, the knock strength signal line 12 outputs the data value of the knock strengths K0 and K1 during normal output.
The data value "0" is output with 1 "and knock strength K2, K3, and these are inverted and output at the time of inverted output. Therefore, when the knock strength signal line 13 is disconnected, the engine control C
PU16 has in-cylinder knock strength of K0, K1 group and K
It can be divided into 2 and K3 groups.

【0034】又エンジン制御CPU16における遅角量
制御は、検出したノック強度レベルが所定レベルより低
いと内燃機関の出力をあげるため遅角量を小さくしてノ
ック強度を強め、検出したノック強度レベルが所定レベ
ルより高いとノッキング防止のため遅角量を大きくして
ノック強度を弱めて行うため、エンジン制御CPU16
が認識するノック強度が筒内に発生するノック強度より
弱いと、より遅角量を小さくするように制御するため、
ノッキングを誘発し、不完全燃焼ガスを排出して触媒に
ダメージを与える等の危険が生じる。
When the detected knock intensity level is lower than a predetermined level, the engine control CPU 16 increases the knock intensity by decreasing the retard amount in order to increase the output of the internal combustion engine. When the value is higher than a predetermined level, the retard amount is increased and the knock strength is weakened to prevent knocking.
When the knock intensity recognized by is weaker than the knock intensity generated in the cylinder, the retard amount is controlled to be smaller,
There is a risk of inducing knocking, discharging incomplete combustion gas, and damaging the catalyst.

【0035】このため本実施例に係る装置において、ノ
ック強度信号線13が断線した場合、エンジン制御CP
U16は、ノック強度信号線12の出力により筒内ノッ
ク強度がK0かK1であると認識した場合、ノック強度
レベルを高く表示するK1の信号を受けたと判断し、ノ
ック強度がK2かK3であると認識した場合にはK3で
あると判断する。同様の理由から、ノック強度信号線1
2が断線した場合には、ノック強度信号線13の出力に
基づいてノック強度をK2とK3の2段階に判断して制
御が行われる。この様に本実施例に係る装置は、2ビッ
ト信号を送信するノック強度信号線12、13の一本が
断線しても、残る一本のノック強度信号線から入力され
る1ビット信号に基づいて安全性の高い制御が続行でき
る。
Therefore, in the device according to the present embodiment, when the knock strength signal line 13 is broken, the engine control CP
When the in-cylinder knock intensity is K0 or K1 based on the output of the knock intensity signal line 12, U16 determines that it has received the K1 signal indicating the high knock intensity level, and the knock intensity is K2 or K3. If it is recognized, it is determined to be K3. For the same reason, knock strength signal line 1
When the wire No. 2 is disconnected, the knock strength is determined based on the output of the knock strength signal line 13 into two levels of K2 and K3, and the control is performed. As described above, the device according to the present embodiment is based on the 1-bit signal input from the remaining one knock intensity signal line even if one of the knock intensity signal lines 12 and 13 transmitting the 2-bit signal is disconnected. And highly safe control can be continued.

【0036】同図(B)は、上記ノック強度信号線異常
処置ルーチンを示す。ノック強度信号線の状態を確認す
るため、ステップ141でノック強度信号線12が正常
であるか否かを判別し、正常であればステップ142で
ノック強度信号線13について同様の判断を行う。ここ
で正常であると判別されると、ステップ143へ進み、
通常の処理を行うためにノック強度をエンジン制御CP
U16内演算部にセットして、処理を終了する。
FIG. 6B shows the knock intensity signal line abnormality treatment routine. In order to confirm the state of the knock intensity signal line, it is determined in step 141 whether or not the knock intensity signal line 12 is normal, and if normal, the same determination is made for the knock intensity signal line 13 in step 142. If it is determined to be normal, the process proceeds to step 143,
Knock strength engine control CP to perform normal processing
It is set in the operation unit in U16, and the process ends.

【0037】ステップ142でノック強度信号線13が
異常であると判別されると、ノック強度信号線12の出
力だけで制御を行うためステップ144へ進み、上記の
理由によりノック強度をK1とK3の2段階で判断し、
エンジン制御CPU16内演算部にセットして処理を終
了する。
When it is determined in step 142 that the knock intensity signal line 13 is abnormal, the control proceeds to step 144 because the control is performed only by the output of the knock intensity signal line 12, and the knock intensity is set to K1 and K3 for the above reason. Judge in two stages,
It is set in the arithmetic unit in the engine control CPU 16 and the process is terminated.

【0038】又ステップ141でノック強度信号線12
が異常であると判別されると、ステップ145で同様に
ノック強度信号線13について正常であるか否かを判別
し、正常であれば、このノック強度信号線13の1ビッ
ト信号で制御を続行するためステップ146へ進み、ノ
ック強度K2,K3の2段階で判断したノック強度をエ
ンジン制御CPU16内演算部にセットして、処理を終
了する。
In step 141, knock strength signal line 12
Is determined to be abnormal, it is similarly determined in step 145 whether or not the knock intensity signal line 13 is normal, and if normal, control is continued with the 1-bit signal of this knock intensity signal line 13. To do so, the routine proceeds to step 146, where the knock intensity determined in two steps of the knock intensity K2 and K3 is set in the arithmetic unit in the engine control CPU 16 and the process is terminated.

【0039】ステップ145でノック強度信号線13も
異常であると判別されると、ノック強度信号線12及び
13が共に異常であり、エンジン制御CPU16に入力
されるノック強度信号は全て異常信号であるから、ノッ
キング防止のためノック強度はK3であると判断して、
ノッキングの起こらないところまで遅角する制御を行い
処理を終了する。
If it is determined in step 145 that the knock intensity signal line 13 is also abnormal, both knock intensity signal lines 12 and 13 are abnormal, and all the knock intensity signals input to the engine control CPU 16 are abnormal signals. Therefore, it is determined that the knock strength is K3 to prevent knocking,
Control is performed to retard the position where knocking does not occur, and the processing ends.

【0040】このように本実施例に係る装置は、フェー
ル信号線14及びフェールセンサ信号線15により送信
される信号により認識する異常の他に、ノック強度信号
線12、13の異常を個別に検知して、その異常の態様
に応じてノッキングの起こらない領域で制御を行うた
め、システムの異常時にも安全性の高い制御をする事が
できる。
As described above, the apparatus according to the present embodiment individually detects the abnormality of the knock intensity signal lines 12 and 13 in addition to the abnormality recognized by the signals transmitted by the fail signal line 14 and the fail sensor signal line 15. Then, since the control is performed in the region where knocking does not occur depending on the mode of the abnormality, highly safe control can be performed even when the system is abnormal.

【0041】尚、本実施例においては、フェールセーフ
機能を有する装置としてノック強度信号の通信を行う装
置について記載してあるが、これに限るものでは無く、
複数の通信線を用いてパラレルにデータ通信を行い、そ
のデータに基づいて所定の制御を行う装置であればよ
い。
In the present embodiment, a device for performing knock intensity signal communication is described as a device having a fail-safe function, but the device is not limited to this.
Any device that performs data communication in parallel using a plurality of communication lines and performs predetermined control based on the data may be used.

【0042】[0042]

【発明の効果】上述の如く、本発明によれば、複数の電
子制御装置間で複数の通信線を用いてデータ通信を行う
際、送信される信号を各通信線ごとに監視することによ
り、その異常を個別に検出し、異常が検出された際には
その通信線により送信されるべきデータ値の中で安全な
制御が行われる値を代入して、他の有効に動作している
通信線から送信されるデータに基づいた制御を続行する
ため、システムの異常時にも安全性の高い、きめ細やか
な制御を行う異常処置を実行することができ、通信線の
断線等による影響を最小限にくい止めることができ
る。。
As described above, according to the present invention, when data communication is performed between a plurality of electronic control units by using a plurality of communication lines, a signal transmitted is monitored for each communication line. The anomaly is detected individually, and when an anomaly is detected, the value for safe control is substituted into the data value that should be transmitted by that communication line, and other valid communication is performed. Since the control based on the data transmitted from the line is continued, it is possible to execute the abnormal measures that perform highly precise and detailed control even when the system is abnormal, and minimize the influence of disconnection of the communication line. It can be stopped hard. .

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

【図1】本発明装置の原理図である。FIG. 1 is a principle view of the device of the present invention.

【図2】本発明装置の一実施例の回路構成図である。FIG. 2 is a circuit configuration diagram of an embodiment of the device of the present invention.

【図3】本発明装置の一実施例のノック強度信号出力ル
ーチンである。
FIG. 3 is a knock intensity signal output routine of one embodiment of the device of the present invention.

【図4】本発明装置の一実施例のノック強度信号取り込
みルーチンである。
FIG. 4 is a knock intensity signal fetching routine of one embodiment of the device of the present invention.

【図5】本発明装置の一実施例の電子制御装置間の送受
信タイムチャートである。
FIG. 5 is a transmission / reception time chart between electronic control devices of one embodiment of the device of the present invention.

【図6】本発明装置の一実施例のノック強度信号の出力
例及びノック強度信号線の異常処置ルーチンである。
FIG. 6 is an output example of a knock intensity signal and an abnormality treatment routine of a knock intensity signal line in one embodiment of the device of the present invention.

【図7】従来装置の電子制御装置間の送受信タイムチャ
ートである。
FIG. 7 is a transmission / reception time chart between electronic control devices of a conventional device.

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

1 通信手段 1a、1b 通信線 2、3 電子制御装置 2a、2b、3a、3b 異常検出手段 4 フェールセーフ実施手段 9 ノックセンサ信号処理CPU 12、13 ノック強度信号線 14 フェール信号線 16 エンジン制御CPU 1 Communication Means 1a, 1b Communication Lines 2, 3 Electronic Control Units 2a, 2b, 3a, 3b Abnormality Detection Means 4 Fail Safe Execution Means 9 Knock Sensor Signal Processing CPUs 12, 13 Knock Strength Signal Lines 14 Fail Signal Lines 16 Engine Control CPU

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数の電子制御装置内に複数配設される送
受信手段間を接続する複数の通信線を用いてパラレルに
信号を通信する通信手段と、 前記複数の通信線に送信される各々の信号の異常を個別
に検出する異常検出手段と、 該異常検出手段が信号の異常を検出すると、その異常と
検出された信号により入力されるべきデータ値に、安全
側の値が入力されたものとして処置するフェールセーフ
処置手段とを具備するフェールセーフ機能を備えた通信
装置。
1. A communication means for communicating signals in parallel using a plurality of communication lines connecting a plurality of transmission / reception means arranged in a plurality of electronic control devices, and each of the communication means being transmitted to the plurality of communication lines. Abnormality detecting means for individually detecting the abnormality of the signal of the signal, and when the abnormality detecting means detects the abnormality of the signal, the value on the safe side is input to the data value to be input by the signal detected as the abnormality. A communication device having a fail-safe function, comprising: a fail-safe treatment means for treating as a thing.
JP3960892A 1992-02-26 1992-02-26 Communication device having fail safe function Pending JPH05231233A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3960892A JPH05231233A (en) 1992-02-26 1992-02-26 Communication device having fail safe function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3960892A JPH05231233A (en) 1992-02-26 1992-02-26 Communication device having fail safe function

Publications (1)

Publication Number Publication Date
JPH05231233A true JPH05231233A (en) 1993-09-07

Family

ID=12557832

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3960892A Pending JPH05231233A (en) 1992-02-26 1992-02-26 Communication device having fail safe function

Country Status (1)

Country Link
JP (1) JPH05231233A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5987365A (en) * 1995-12-04 1999-11-16 Toyota Jidosha Kabushiki Kaisha Electronic control apparatus for vehicle
JP2010142014A (en) * 2008-12-11 2010-06-24 Toyota Motor Corp Rotary electric machine drive device
JP2014133017A (en) * 2013-01-11 2014-07-24 Sankyo Co Ltd System for game, device for game, and game control device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5987365A (en) * 1995-12-04 1999-11-16 Toyota Jidosha Kabushiki Kaisha Electronic control apparatus for vehicle
JP2010142014A (en) * 2008-12-11 2010-06-24 Toyota Motor Corp Rotary electric machine drive device
JP2014133017A (en) * 2013-01-11 2014-07-24 Sankyo Co Ltd System for game, device for game, and game control device

Similar Documents

Publication Publication Date Title
US5745048A (en) Communication system
EP2000655A9 (en) Operation method of engine during abnormal combustion and operation controller
JP2730692B2 (en) Engine control device
JPH0510201A (en) Car controlling method
KR100574187B1 (en) Method for monitoring and error recognition
JP2004027898A (en) Internal combustion engine controlling device
JPH05231233A (en) Communication device having fail safe function
US4711227A (en) Apparatus and method for electronic ignition control
JP3938858B2 (en) Electronic control device for vehicle
CN115098427A (en) Method for realizing link width self-adaption
JP2003137045A (en) Vehicle electronic control unit
JP4428927B2 (en) Electronic control unit
JP2526730B2 (en) Communication error detection method in communication system
JP2007218203A (en) Ignition failure diagnostic device, ignition failure diagnostic system and ignition failure diagnostic method
JP3954680B2 (en) Knocking judgment method
JPH03294644A (en) Ignition timing control device for internal combustion engine
WO1998031928A1 (en) Method of knocking control of internal combustion engine
JP2004270626A (en) Device and method of detecting abnormality of knock sensor
US9787532B2 (en) Module, system and method of switching modules
US6658501B1 (en) Printer device having a function of preventing malfunctions owing to an abnormal signal leaking out from an external recording device
JP3458509B2 (en) Knock control device
JP2009114932A (en) Communication abnormality detection device
JPH0385353A (en) Abnormality detector of internal combustion engine
JP2023074744A (en) Fuel injection control device
JPH07334433A (en) Bus controller