JPH0571410A - Electronic control unit for vehicle - Google Patents

Electronic control unit for vehicle

Info

Publication number
JPH0571410A
JPH0571410A JP25597891A JP25597891A JPH0571410A JP H0571410 A JPH0571410 A JP H0571410A JP 25597891 A JP25597891 A JP 25597891A JP 25597891 A JP25597891 A JP 25597891A JP H0571410 A JPH0571410 A JP H0571410A
Authority
JP
Japan
Prior art keywords
data
microcomputer
bit
transmission
general
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
JP25597891A
Other languages
Japanese (ja)
Inventor
Taku Kawauchi
卓 川内
Kenji Iwasaki
顕司 岩崎
Yuichi Fujita
裕一 藤田
Yukito Fujimoto
幸人 藤本
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.)
Honda Motor Co Ltd
Original Assignee
Honda Motor Co Ltd
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 Honda Motor Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP25597891A priority Critical patent/JPH0571410A/en
Publication of JPH0571410A publication Critical patent/JPH0571410A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To check a corresponding CPU for malfunction among several microcomputers to perform data communication by constructing an electronic control unit for a vehicle to perform data communication in synchronization with the rotation of an engine. CONSTITUTION:The second microcomputer 21T provided with a watch dog timer 88 has output signals sent to a general receiver port 12Q in the first microcomputer 11T via a general sender port 22p. In the case that a malfunction signaling means 63A on the first microcomputer 11T side detects the malfunction of the second microcomputer 21T using the output signal of the watch dog timer 88, an LED 12L and a lamp 12M are energized to display the malfunction of the second microcomputer 21T.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は車両用電子制御装置に関
するものであり、特に、複数のマイクロコンピュータを
有する車両用電子制御装置において、各マイクロコンピ
ュータ間で直接各種データ通信を行う車両用電子制御装
置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vehicle electronic control device, and more particularly to a vehicle electronic control device having a plurality of microcomputers, in which various data communication is performed directly between the microcomputers. It relates to the device.

【0002】[0002]

【従来の技術】自動車、自動二輪車等(以下、車両とい
う)におけるエンジンの点火時期制御、あるいはインジ
ェクタを用いた燃料噴射制御等は、マイクロコンピュー
タを備えた電子制御装置を用いて行われている。また、
近年、ノッキングコントロール(ノッキング防止のため
の車両制御)等が行われるようになり、このためのノッ
キング検出手法も各種提案されている。
2. Description of the Related Art An engine ignition timing control for an automobile, a motorcycle, etc. (hereinafter referred to as a vehicle), a fuel injection control using an injector, and the like are performed by using an electronic control unit equipped with a microcomputer. Also,
In recent years, knocking control (vehicle control for preventing knocking) has come to be performed, and various knocking detection methods therefor have been proposed.

【0003】ところで、このノッキング検出は、比較的
複雑な処理を必要とするために、前述したような点火時
期制御、燃料噴射制御等を行うためのマイクロコンピュ
ータとは別のマイクロコンピュータを用いる場合があ
る。そして、これらのマイクロコンピュータにおいて
は、それぞれ他方のマイクロコンピュータより出力、あ
るいは演算されたデータを用いて、各種データの演算を
行う必要があるので、各マイクロコンピュータ間ではデ
ータ通信が行われる。
By the way, since this knocking detection requires a relatively complicated process, a microcomputer other than the microcomputer for performing the ignition timing control, the fuel injection control and the like as described above may be used. is there. In each of these microcomputers, it is necessary to calculate various data using the data output or calculated by the other microcomputer. Therefore, data communication is performed between the microcomputers.

【0004】このため、従来においては、図19に示さ
れるように、複数のマイクロコンピュータ間(第1及び
第2マイクロコンピュータ1及び2間)に、1ビットの
データを送受信するための通信ライン3を、通信に必要
なビット数だけ設けてパラレル通信を行うか、あるいは
図20に示されるように、データ送信用及び受信用の通
信ライン4を2本設けると共に、それぞれのライン4の
送信端及び受信端にシリアルポート5を設けて、各マイ
クロコンピュータ内の基準クロックを用いたシリアル通
信を行うようになっている。
Therefore, conventionally, as shown in FIG. 19, a communication line 3 for transmitting / receiving 1-bit data between a plurality of microcomputers (between the first and second microcomputers 1 and 2). For parallel communication by providing the number of bits required for communication, or, as shown in FIG. 20, two communication lines 4 for data transmission and reception are provided, and the transmission end of each line 4 and The serial port 5 is provided at the receiving end to perform serial communication using the reference clock in each microcomputer.

【0005】ところで、図19に示されたようなパラレ
ル通信においては、次のような欠点がある。 (A) 通信すべきデータ数が増えると、その分だけ通信ラ
インが増えるので、当該車両用電子制御装置の構成が大
形、複雑化し、また製造コストが上昇する。 (B) 通信ラインが増えただけ当該車両用電子制御装置の
故障の確率が高くなり、信頼性が低下する懸念もある。
By the way, the parallel communication as shown in FIG. 19 has the following drawbacks. (A) As the number of data to be communicated increases, the number of communication lines increases accordingly, so that the configuration of the vehicle electronic control device becomes large and complicated, and the manufacturing cost increases. (B) As the number of communication lines increases, the probability of failure of the vehicle electronic control unit increases, which may reduce reliability.

【0006】また図20に示されたようなシリアル通信
においても、次のような欠点がある。 (C) データ送受信のためにシリアルポートが必要であ
り、当該車両用電子制御装置が大形化する。 (D) データの送受信先が複数にまたがる場合には、シリ
アルポートを増設したり、あるいは切替回路が必要とな
るので、当該車両用電子制御装置の構成がさらに複雑、
大形化する。 (E) データ通信がマイクロコンピュータのクロックに同
期して行われるので、エンジンの回転に同期したデータ
通信が行えない。すなわち、車両の制御においては、エ
ンジン回転数に応じて各種制御機器の制御(例えば点火
時期制御、燃料噴射制御、ノッキング制御等)を行う必
要があるが、エンジンの回転に同期したデータ通信が行
えないと、前記各種制御機器の制御を正確に行うことが
できない。
The serial communication as shown in FIG. 20 also has the following drawbacks. (C) A serial port is required for data transmission and reception, and the electronic control unit for the vehicle becomes large. (D) When the data transmission / reception destinations span multiple destinations, a serial port must be added or a switching circuit is required, so the configuration of the vehicle electronic control device is more complicated,
To become larger. (E) The data communication is performed in synchronization with the clock of the microcomputer, so the data communication in synchronization with the rotation of the engine cannot be performed. That is, in controlling the vehicle, it is necessary to control various control devices (for example, ignition timing control, fuel injection control, knocking control, etc.) according to the engine speed, but data communication in synchronization with the engine speed can be performed. Without it, the various control devices cannot be controlled accurately.

【0007】上記したような不具合を解決するために、
本出願人は、特願平1−287881号において、特別
なシリアルポートを必要とすることなく、かつエンジン
回転に同期して、複数のマイクロコンピュータ間でシリ
アルデータ通信を行うことができる車両用電子制御装置
をすでに提案している。この車両用電子制御装置は、具
体的には、当該車両用電子制御装置を構成する複数のマ
イクロコンピュータのそれぞれに汎用の送信ポート及び
受信ポートを設け、前記送信ポートからはクランク軸回
転角に応じて1ビットずつデータを送信すると共に、前
記受信ポートからはクランク軸回転角に応じて1ビット
ずつデータを受信するようにし、そして、データの送受
信を行う一方のマイクロコンピュータからのデータの送
信、及び該データを受信する他方のマイクロコンピュー
タによるデータの受信をタイミングをずらすようにし
て、すなわち位相差をもって行うようにしたものであ
る。
In order to solve the above problems,
The applicant of the present application, in Japanese Patent Application No. 1-287881, discloses a vehicle electronic device capable of performing serial data communication between a plurality of microcomputers without requiring a special serial port and in synchronization with engine rotation. The control device has already been proposed. Specifically, this vehicle electronic control unit is provided with a general-purpose transmission port and a general-purpose reception port in each of a plurality of microcomputers that configure the vehicle electronic control unit, and the transmission port and the reception port are provided from the transmission port according to the crankshaft rotation angle. Data is transmitted bit by bit according to the crankshaft rotation angle from the reception port, and data is transmitted and received from one microcomputer that transmits and receives data. The other microcomputer for receiving the data receives the data by shifting the timing, that is, with the phase difference.

【0008】[0008]

【発明が解決しようとする課題】上記出願に開示された
技術においては、当該車両用電子制御装置を構成する複
数のマイクロコンピュータ間では、それぞれのCPU、
若しくは送信若しくは受信ポート等の異常、又はデータ
のノイズ重畳等のチェックを行う技術が開示されていな
い。
In the technique disclosed in the above-mentioned application, each of the CPUs among the plurality of microcomputers constituting the vehicle electronic control device is
Alternatively, there is no disclosure of a technique for checking an abnormality in a transmission or reception port or the like, or noise superposition of data.

【0009】本発明は、前述の問題点を解決するために
なされたものであり、その目的は、エンジンの回転に同
期してデータ通信が行うように構成された車両用電子制
御装置において、データ通信を行う複数のマイクロコン
ピュータ間で、それぞれのCPU、若しくは送信若しく
は受信ポート等の異常、又はデータのノイズ重畳等のチ
ェックを行うことのできる車両用電子制御装置を提供す
ることにある。
The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a vehicle electronic control device configured to perform data communication in synchronization with rotation of an engine. An object of the present invention is to provide an electronic control unit for a vehicle that can check abnormality of each CPU, transmission or reception ports, or noise superposition of data among a plurality of microcomputers that perform communication.

【0010】[0010]

【課題を解決するための手段】前記の問題点を解決する
ために、本発明は、当該車両用電子制御装置を構成する
少なくとも一のマイクロコンピュータに、送信すべきデ
ータを用いて該データにパリティチェック用のパリティ
ビットを付加しフレームデータを作成するフレームデー
タ作成手段を設け、少なくとも他のマイクロコンピュー
タ側で、受信された前記フレームデータからパリティビ
ットを検出するようにした点に特徴がある。
In order to solve the above-mentioned problems, the present invention uses at least one microcomputer constituting the electronic control unit for a vehicle to use data to be transmitted and to parity the data. A feature is that a frame data creating means for adding a parity bit for checking to create frame data is provided, and the parity bit is detected from the received frame data on at least another microcomputer side.

【0011】また少なくとも一のマイクロコンピュータ
に、ウォッチドッグタイマと、該ウォッチドッグタイマ
の出力信号を送信するためのウォッチドッグ出力送信用
汎用送信ポートとを設け、少なくとも他のマイクロコン
ピュータに、前記ウォッチドッグ出力送信用汎用送信ポ
ートに接続されるウォッチドッグ出力受信用汎用受信ポ
ートを設けるようにした点にも特徴がある。
Further, at least one microcomputer is provided with a watchdog timer and a general-purpose transmission port for watchdog output transmission for transmitting an output signal of the watchdog timer, and at least another microcomputer is provided with the watchdog timer. Another feature is that a general purpose reception port for watchdog output reception connected to the general purpose transmission port for output transmission is provided.

【0012】さらに、前記データ送信手段より送信され
るべきフレームデータをバッファ内に一時記憶し、該バ
ッファ内データを、クランク軸回転角に応じて1ビット
ずつ出力するようにした点にも特徴がある。
Further, another feature is that the frame data to be transmitted from the data transmitting means is temporarily stored in a buffer, and the data in the buffer is output bit by bit according to the crankshaft rotation angle. is there.

【0013】さらにまた、前記のパリティビット又はウ
ォッチドッグ出力より異常が検出された場合には、その
旨を表示するようにした点にも特徴がある。
Furthermore, when an abnormality is detected from the parity bit or the watchdog output, the fact is displayed.

【0014】[0014]

【作用】送信側でパリティチェック用のパリティビット
を付加したフレームデータを送信し、受信側で前記パリ
ティビットを検出するので、送信側マイクロコンピュー
タやデータの送信ラインの異常、あるいはノイズの混入
等を、データ受信側マイクロコンピュータで検出するこ
とができる。
Since the transmitting side transmits the frame data to which the parity bit for the parity check is added and the receiving side detects the parity bit, the transmitting side microcomputer or the transmission line of the data is abnormal, or noise is mixed. , The data receiving side can be detected by the microcomputer.

【0015】同様に、データの送信側マイクロコンピュ
ータからデータ受信側マイクロコンピュータに対してウ
ォッチドッグタイマの出力信号が送信されるので、送信
側マイクロコンピュータの異常をデータ受信側マイクロ
コンピュータで検出することができる。
Similarly, since the output signal of the watchdog timer is transmitted from the data transmission side microcomputer to the data reception side microcomputer, the data reception side microcomputer can detect an abnormality in the transmission side microcomputer. it can.

【0016】さらに、送信されるべきフレームデータを
バッファ内に一時記憶するようにすれば、クランク軸回
転角に応じたデータの送信が、バッファ内からのデータ
の読出しだけで済むようになる。
Further, if the frame data to be transmitted is temporarily stored in the buffer, the data transmission according to the crankshaft rotation angle can be performed only by reading the data from the buffer.

【0017】さらにまた、前記異常等が検出された場合
にその旨を表示すれば、当該車両用電子制御装置の異常
の生じた箇所(すなわち異常の生じたマイクロコンピュ
ータ、あるいはポート、通信ライン等)を特定すること
ができる。
Furthermore, if the above-mentioned abnormality is detected and displayed, the location of the abnormality in the vehicle electronic control unit (that is, the microcomputer in which the abnormality has occurred, or the port, communication line, etc.) is displayed. Can be specified.

【0018】[0018]

【実施例】以下に、図面を参照して、本発明を詳細に説
明する。図3は本発明の第1の実施例のブロック図であ
る。同図において、当該車両のエンジン回転に応じて、
公知の手法により取り出されるシリンダパルス、TDC
パルス及びクランクパルスは、波形整形回路31を介し
て、第1マイクロコンピュータ11に入力される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to the drawings. FIG. 3 is a block diagram of the first embodiment of the present invention. In the figure, according to the engine rotation of the vehicle,
Cylinder pulse and TDC extracted by a known method
The pulse and the crank pulse are input to the first microcomputer 11 via the waveform shaping circuit 31.

【0019】当該エンジンが、4気筒4サイクルエンジ
ンであるものとすると、シリンダパルスはクランク軸が
2回転(720度)するたびに1パルス出力、TDCパ
ルスは各気筒のピストンが上死点に達するごとに1パル
ス出力、すなわちクランク軸が2回転するごとに4パル
ス出力、そしてクランクパルスは、この例においてはT
DCパルスが1パルス出力されるたびに6パルス出力さ
れる。このシリンダパルス及びクランクパルスは、後述
する第2マイクロコンピュータ21にも入力される。
Assuming that the engine is a 4-cylinder 4-cycle engine, the cylinder pulse outputs one pulse every time the crankshaft makes two revolutions (720 degrees), and the TDC pulse causes the piston of each cylinder to reach the top dead center. 1 pulse output for each, that is, 4 pulse output for every 2 revolutions of the crankshaft, and the crank pulse is T in this example.
Six pulses are output each time one DC pulse is output. The cylinder pulse and the crank pulse are also input to the second microcomputer 21 described later.

【0020】前記第1マイクロコンピュータ11は、当
該車両の主要制御、例えば点火時期制御、燃料噴射制御
等を行うものであり、CPU12(以下、メインCPU
12という)、並びにROM、RAM及び入出力インタ
ーフェース等(いずれも図示せず)を備えている。吸気
管内負圧(絶対圧)Pbaを検出するPbaセンサ32、エ
ンジン冷却水温度Tw を検出するTw センサ33、大気
圧Pa を検出するPaセンサ34、及びスロットル弁開
度を検出するTh センサ35等は、A/D変換器37を
介して前記第1マイクロコンピュータ11に接続されて
いる。また、この第1マイクロコンピュータ11は、イ
グナイタ41及びイグニションコイル42を介して点火
プラグ43に、またドライバ44を介してインジェクタ
45に、それぞれ接続されている。
The first microcomputer 11 performs main control of the vehicle, for example, ignition timing control, fuel injection control, etc., and includes a CPU 12 (hereinafter referred to as a main CPU).
12), a ROM, a RAM, an input / output interface, etc. (none of which are shown). A Pba sensor 32 that detects the negative pressure (absolute pressure) Pba in the intake pipe, a Tw sensor 33 that detects the engine cooling water temperature Tw, a Pa sensor 34 that detects the atmospheric pressure Pa, a Th sensor 35 that detects the throttle valve opening, etc. Is connected to the first microcomputer 11 via the A / D converter 37. The first microcomputer 11 is also connected to an ignition plug 43 via an igniter 41 and an ignition coil 42, and to an injector 45 via a driver 44.

【0021】前記第1マイクロコンピュータ11による
点火時期制御、燃料噴射制御は、公知の手法によるもの
である。燃料噴射制御は、例えば特公昭62−8625
号公報に記載されている。当該エンジンの吸排気弁駆動
用のカム(図示せず)は複数種有り、例えば当該エンジ
ンの回転数及び負荷に応じてそれらが選択される。この
カム選択のための信号(以下、バルブタイミングV/T
という)は、当該エンジンの回転数及びエンジンの負荷
状態信号を用いて、第1マイクロコンピュータ11で演
算される。このバルブタイミングV/Tはドライバ46
に出力され、そして、前記カムを選択するソレノイド4
7が駆動される。
The ignition timing control and fuel injection control by the first microcomputer 11 are based on known methods. The fuel injection control is performed, for example, in Japanese Patent Publication No.
It is described in Japanese Patent Publication No. There are a plurality of types of cams (not shown) for driving the intake and exhaust valves of the engine, and for example, they are selected according to the rotation speed and load of the engine. A signal for selecting the cam (hereinafter, valve timing V / T
Is calculated by the first microcomputer 11 using the engine speed and the load condition signal of the engine. This valve timing V / T is the driver 46
To the solenoid 4 for selecting the cam.
7 is driven.

【0022】前記第2マイクロコンピュータ21は、当
該エンジンのノッキングを検出するものであり、前記第
1マイクロコンピュータ11と同様にCPU22(以
下、ノックCPU22という)、並びにROM、RAM
及び入出力インターフェース等(いずれも図示せず)を
備えている。エンジンのシリンダヘッドに設けられるノ
ックセンサ(圧力センサ)38は、波形整形回路39を
介して、前記第2マイクロコンピュータ21に接続され
ている。
The second microcomputer 21 detects knocking of the engine, and like the first microcomputer 11, the CPU 22 (hereinafter referred to as knock CPU 22), ROM, RAM.
And an input / output interface and the like (both not shown). A knock sensor (pressure sensor) 38 provided in the cylinder head of the engine is connected to the second microcomputer 21 via a waveform shaping circuit 39.

【0023】さて、前述のように、第2マイクロコンピ
ュータ21は、ノッキングを検出するが、このノッキン
グ検出のためには、ノックセンサ38の出力信号のみな
らず、Pbaセンサ32及びTw センサ33の出力信号、
並びにバルブタイミングV/Tをも必要とする。前記P
baセンサ32及びTw センサ33の出力信号並びにバル
ブタイミングV/T、並びにパリティチェック用のビッ
ト(パリティビットP1)は、後述する手法により、メ
インCPU12の汎用送信ポート12AからノックCP
U22の汎用受信ポート22Bに、通信ライン10を介
して直接送信される。
As described above, the second microcomputer 21 detects knocking. For this knocking detection, not only the output signal of the knock sensor 38 but also the outputs of the Pba sensor 32 and the Tw sensor 33 are detected. signal,
Also, the valve timing V / T is required. The P
The output signals of the ba sensor 32 and the Tw sensor 33, the valve timing V / T, and the parity check bit (parity bit P1) are transmitted from the general-purpose transmission port 12A of the main CPU 12 to the knock CP.
It is directly transmitted to the general-purpose reception port 22B of U22 via the communication line 10.

【0024】また、前記第1マイクロコンピュータ11
は、第2マイクロコンピュータ21で判別された、ノッ
キングしているか否かを示す情報(以下、ノック(Kno
ck)フラグという)、及びノックセンサ38が正常に動
作しているか否かを示す信号(フェ―ルセ―フ信号、以
下、F/Sフラグという)を用いて、ノッキングを防止
するための点火時期制御(以下、ノックコントロールと
いう)を行う。このノックコントロールは、当該エンジ
ンがノッキングしている場合には点火時期を遅角し、ノ
ッキングがなくなった場合には、点火時期を元に戻す
(点火時期を進角する)ものである。このようなノック
コントロールの手法は、例えば特開昭63−29061
号公報に記載されている。
Further, the first microcomputer 11
Is information indicating whether or not knocking has occurred (hereinafter, knock (Kno
ck) flag) and a signal indicating whether or not the knock sensor 38 is operating normally (fail safe signal, hereinafter referred to as F / S flag), to prevent knocking. Control (hereinafter referred to as knock control) is performed. This knock control retards the ignition timing when the engine is knocking, and restores the ignition timing (advances the ignition timing) when the engine is no longer knocking. Such a knock control method is disclosed, for example, in Japanese Patent Laid-Open No. 63-29061.
It is described in Japanese Patent Publication No.

【0025】前記ノックフラグ及びF/Sフラグ、並び
にパリティチェック用のパリティビットP2は、後述す
る手法により、ノックCPU22の汎用送信ポート22
AからメインCPU12の汎用受信ポート12Bに通信
ライン10を介して直接送信される。また、前記第2マ
イクロコンピュータ21は、ウォッチドッグタイマを
(図示せず)備えていて、その出力信号はノックCPU
22の汎用送信ポート22PからメインCPU12の汎
用受信ポート12Qに通信ライン10を介して直接送信
される。
The knock flag and the F / S flag, and the parity bit P2 for parity check are used for the general-purpose transmission port 22 of the knock CPU 22 by a method described later.
It is directly transmitted from A to the general-purpose reception port 12B of the main CPU 12 via the communication line 10. The second microcomputer 21 has a watchdog timer (not shown), and its output signal is a knock CPU.
The data is directly transmitted from the general-purpose transmission port 22P of 22 to the general-purpose reception port 12Q of the main CPU 12 via the communication line 10.

【0026】前記メインCPU12及びノックCPU2
2には、それぞれ異常表示用のLED12L及びLED
22Lが接続されている。この第1マイクロコンピュー
タ11には、当該車両用電子制御装置が搭載された車両
の運転席に設けられた異常表示用のランプ12Mにも接
続されている。なお、図示されていないが、第2マイク
ロコンピュータ21も、前記ランプ12M、又は運転席
に設けられた他の異常表示用ランプ等に接続されても良
い。
The main CPU 12 and the knock CPU 2
2 is LED12L and LED for abnormality display
22L is connected. The first microcomputer 11 is also connected to an abnormality display lamp 12M provided in a driver's seat of a vehicle equipped with the vehicle electronic control device. Although not shown, the second microcomputer 21 may also be connected to the lamp 12M or another abnormality indicating lamp provided in the driver's seat.

【0027】なお、図3においては、同図に示された各
構成要素に電力を供給する電源(バッテリ)の図示は省
略されている。
In FIG. 3, a power source (battery) for supplying electric power to the respective constituent elements shown in FIG. 3 is omitted.

【0028】さて、このような構成を有する車両用電子
制御装置の動作のうち、メインCPU12及びノックC
PU22間のデータ通信の手法を、以下に詳細に説明す
る。
Now, in the operation of the electronic control unit for a vehicle having such a configuration, the main CPU 12 and the knock C
The method of data communication between the PUs 22 will be described in detail below.

【0029】メインCPU12の送信ポート12Aから
ノックCPU22の受信ポート22Bに対して送信され
るデータは、次の4種6ビットのデータである。 バルブタイミングV/T:“L”/“H”情報(1ビ
ット) 吸気管内負圧Pba:ゾーン情報 4段階(2ビット) 冷却水温度Tw :ゾーン情報 4段階(2ビット) パリティビットP1(パリティチェック用のビッ
ト):“0”/“1”情報(1ビット) また、ノックCPU22の送信ポート22Aからメイン
CPU12の受信ポート12Bに対して送信されるデー
タは、次の3種3ビットのデータである。 ノックフラグ:“L”/“H”情報(1ビット) F/Sフラグ:“L”/“H”情報(1ビット) パリティビットP2(パリティチェック用のビッ
ト):“0”/“1”情報(1ビット) まず、メインCPU12からノックCPU22にデータ
を送信する場合のデータ通信手法を説明する。
The data transmitted from the transmission port 12A of the main CPU 12 to the reception port 22B of the knock CPU 22 is the following four types of 6-bit data. Valve timing V / T: "L" / "H" information (1 bit) Negative pressure in intake pipe Pba: Zone information 4 steps (2 bits) Cooling water temperature Tw: Zone information 4 steps (2 bits) Parity bit P1 (parity (Check bit): "0" / "1" information (1 bit) Further, the data transmitted from the transmission port 22A of the knock CPU 22 to the reception port 12B of the main CPU 12 is the following 3 types of 3 bits data. Is. Knock flag: "L" / "H" information (1 bit) F / S flag: "L" / "H" information (1 bit) Parity bit P2 (bit for parity check): "0" / "1" Information (1 bit) First, a data communication method for transmitting data from the main CPU 12 to the knock CPU 22 will be described.

【0030】図4はメインCPU12からノックCPU
22へデータ送信を行う場合の主要動作を示すタイムチ
ャート、図5及び図6はこの場合にメインCPU12に
より行われる主要処理動作(クランク処理及び点火時期
/燃料量演算処理)を示すフローチャート、同様に図8
はこの場合にノックCPU22により行われる主要処理
動作(クランク処理)を示すフローチャートである。図
7及び図9はメインCPU12及びノックCPU22に
より実行されるバックグラウンド処理を示すフローチャ
ートである。
FIG. 4 shows the main CPU 12 to the knock CPU.
22 is a time chart showing the main operation when data is transmitted to the CPU 22, and FIGS. 5 and 6 are flowcharts showing the main processing operations (crank processing and ignition timing / fuel amount calculation processing) executed by the main CPU 12 in this case, as well. Figure 8
Is a flowchart showing a main processing operation (crank processing) performed by the knock CPU 22 in this case. 7 and 9 are flowcharts showing background processing executed by the main CPU 12 and the knock CPU 22.

【0031】なお、図4の下方に示されたRxbufは、図
8のステップS34に関して後述する、第2マイクロコ
ンピュータ21内の8ビットバッファ(レジスタ)を示
している。また、図4に示されるように、TDCパルス
の立ち上がりの直後に発生するクランクパルスの発生ス
テージを、第0ステージとし、以下、次のTDCパルス
が発生するまで、クランクパルスの発生毎にステージ番
号がインクリメントされる。すなわち、ステージ番号は
0から5までである。このステージは、当該エンジンの
クランク軸回転角を示すものである。
Note that Rxbuf shown at the bottom of FIG. 4 indicates an 8-bit buffer (register) in the second microcomputer 21, which will be described later with reference to step S34 of FIG. Further, as shown in FIG. 4, the crank pulse generation stage generated immediately after the rising of the TDC pulse is the 0th stage, and hereinafter, the stage number is generated for each crank pulse until the next TDC pulse is generated. Is incremented. That is, the stage numbers are 0 to 5. This stage indicates the crankshaft rotation angle of the engine.

【0032】メインCPU12により行われるクランク
処理(クランクパルスに同期した処理)は、各ステージ
の開始時に発生する割込み信号により行われる。図5に
は、このクランク処理のうち、メインCPU12からノ
ックCPU22へデータ送信を行う場合の主要処理のみ
が示されている。また、第0ステージにおいてクランク
処理が終了した直後に、図6に示される点火時期/燃料
量演算処理が行われる。この点火時期/燃料量演算処理
が終了する前に、第1ステージとなった場合には、図4
に示されるように、クランク処理が割り込みにより優先
的に行われ、該クランク処理が終了した後、再び点火時
期/燃料量演算処理の続きが実行される。
The crank processing (processing synchronized with the crank pulse) performed by the main CPU 12 is performed by an interrupt signal generated at the start of each stage. FIG. 5 shows only the main processing of the crank processing when data is transmitted from the main CPU 12 to the knock CPU 22. Immediately after the crank process is completed in the 0th stage, the ignition timing / fuel amount calculation process shown in FIG. 6 is performed. If the first stage is reached before the ignition timing / fuel amount calculation processing is completed,
As shown in, the crank processing is preferentially performed by interruption, and after the crank processing is completed, the continuation of the ignition timing / fuel amount calculation processing is executed again.

【0033】また、図6には、点火時期/燃料量演算処
理のうち、メインCPU12からノックCPU22へデ
ータ通信を行う場合の主要処理のみが示されている。ま
た、メインCPU12は、演算等の負荷が軽くなった場
合に、図7に示されるバックグラウンド処理を行う。
Further, FIG. 6 shows only the main processing of the ignition timing / fuel amount calculation processing when data communication is performed from the main CPU 12 to the knock CPU 22. Further, the main CPU 12 performs the background processing shown in FIG. 7 when the load of the calculation is lightened.

【0034】ノックCPU22により行われるクランク
処理も、各ステージの開始時に発生する割込み信号によ
り行われる。図8には、このクランク処理のうち、メイ
ンCPU12からノックCPU22へデータ送信を行う
場合の主要処理のみが示されている。また、ノックCP
U22は、演算等の負荷が軽くなった場合に、図9に示
されるバックグラウンド処理を行う。
The crank processing performed by the knock CPU 22 is also performed by an interrupt signal generated at the start of each stage. FIG. 8 shows only the main processing of the crank processing when data is transmitted from the main CPU 12 to the knock CPU 22. Also, knock CP
The U22 performs the background processing shown in FIG. 9 when the load of the calculation and the like becomes light.

【0035】まず、メインCPU12の動作から説明す
る。まず図6の点火時期/燃料量演算処理においては、
ステップS11で、Pbaセンサ32より出力される吸気
管内負圧Pba信号を読み込む。ステップS12において
は、読み込まれたPbaを、4段階に区分された領域(ゾ
ーン)のうちのいずれに入るかを決定する。すなわち、
この処理では、読み込まれたPbaを2ビットのデジタル
データに変換する。この変換された2ビットデータは、
第1マイクロコンピュータ11内の8ビットバッファ
(レジスタ)Txbuf(第0ビット〜第7ビット)のうち
の第1及び第2ビット目に記憶される(図10A参照、
同図において、Pbaデータは符号Xで示されている)。
First, the operation of the main CPU 12 will be described. First, in the ignition timing / fuel amount calculation process of FIG.
In step S11, the intake pipe negative pressure Pba signal output from the Pba sensor 32 is read. In step S12, it is determined which of the areas (zones) divided into four stages the read Pba belongs to. That is,
In this process, the read Pba is converted into 2-bit digital data. This converted 2-bit data is
It is stored in the first and second bits of the 8-bit buffer (register) Txbuf (0th bit to 7th bit) in the first microcomputer 11 (see FIG. 10A,
In the figure, the Pba data is indicated by the symbol X).

【0036】ステップS13においては、後述する図7
のステップS22において判別、記憶された冷却水温度
Tw の領域(ゾーン)を読み出す。この冷却水温度ゾー
ンは、前述のように4段階に区分されており、Tw デー
タは2ビットである。また、前記ステップS22におい
ては、Tw データは、第1マイクロコンピュータ11内
の8ビットレジスタの第3〜第4ビット目に記憶されて
いる(図10B参照、同図において、Tw データは符号
Yで示されている)。
In step S13, FIG.
In step S22, the area (zone) of the cooling water temperature Tw determined and stored is read. This cooling water temperature zone is divided into four stages as described above, and Tw data is 2 bits. Further, in the step S22, the Tw data is stored in the third to fourth bits of the 8-bit register in the first microcomputer 11 (see FIG. 10B, in which Tw data is represented by the symbol Y). It is shown).

【0037】ステップS14においては、ステップS1
3において読み出された8ビットレジスタの内容を、バ
ッファTxbuf内に合成する(図10C参照)。
In step S14, step S1
The contents of the 8-bit register read in 3 are combined in the buffer Txbuf (see FIG. 10C).

【0038】ステップS15においては、当該第1マイ
クロコンピュータ11で演算、設定されたバルブタイミ
ングV/T(1ビットデータ)が読み込まれ、そして、
ステップS16において、前記データがバッファTxbuf
の第5ビット目に記憶される(図10D参照、同図にお
いて、バルブタイミングV/Tデータは符号Zで示され
ている。)。
In step S15, the valve timing V / T (1 bit data) calculated and set by the first microcomputer 11 is read, and
In step S16, the data is stored in the buffer Txbuf.
Is stored in the fifth bit (see FIG. 10D, the valve timing V / T data is indicated by the symbol Z in the figure).

【0039】ステップS16Aにおいては、バッファT
xbufの第1〜第5ビットまでのデータを元にパリティビ
ットP1を設定する。このパリティビットP1は、ステ
ップS16Bにおいて、バッファTxbufの第0ビットに
記憶される(図10E参照)。
In step S16A, the buffer T
The parity bit P1 is set based on the data of the first to fifth bits of xbuf. This parity bit P1 is stored in the 0th bit of the buffer Txbuf in step S16B (see FIG. 10E).

【0040】以下の説明においては、このようにバッフ
ァTxbuf内に記憶が完了された6ビットのデータ(Pb
a、Tw 、V/T及びP1)を、フレームデータとい
う。
In the following description, the 6-bit data (Pb
a, Tw, V / T and P1) are called frame data.

【0041】ステップS18においては、点火時期(角
度)、燃料噴射量等の演算、エンジンの負荷判別、バル
ブタイミングV/Tの設定等が行われる。このステップ
S18での点火時期の演算においては、後述するステッ
プS17(図13及び図17参照)で取り込まれたノッ
クフラグ(ノッキングしているか否かの情報)を参照し
て、点火時期の遅角量を設定し、該遅角量に応じて点火
時期を修正する。その後、図示されない他の処理が行わ
れて、当該処理は終了する。
In step S18, the ignition timing (angle), the fuel injection amount, etc. are calculated, the engine load is determined, and the valve timing V / T is set. In the calculation of the ignition timing in step S18, the ignition timing is retarded by referring to a knock flag (information about whether or not the engine is knocking) fetched in step S17 (see FIGS. 13 and 17) described later. The amount is set and the ignition timing is corrected according to the retard amount. After that, other processing (not shown) is performed, and the processing ends.

【0042】つぎに、図5に示されたクランク処理にお
いて、まずステップS1では、当該ステ―ジが何番目の
ステ―ジであるか、すなわちステージ番号が判別され
る。そして、ステップS2においては、各ステージに応
じた各種処理(例えば、前記した図6で演算された点火
時期の、角度→時間変換、点火のためのタイマスタート
等)が実行される。
Next, in the crank processing shown in FIG. 5, first, in step S1, it is determined what stage the stage is, that is, the stage number. Then, in step S2, various processes corresponding to each stage (for example, angle-time conversion of the ignition timing calculated in FIG. 6 described above, timer start for ignition, etc.) are executed.

【0043】つぎに、ステップS5においては、判別さ
れたステージ番号がnに設定される。ステップS6にお
いては、前述した図6のステップS16においてバッフ
ァTxbufに構成されたフレームデータのうちの第nビッ
ト目のデータを、送信ポート12Aに出力する。すなわ
ち、図4に示された点火時期/燃料量演算処理の、符号
Aで示された時点で図6のステップS16Bで示された
処理が完了した場合(すなわちフレームデータが完成し
た場合)には、該ステップS16Bにおいて合成された
バッファTxbufの第1及び第2ビット目のデータ(Pb
a)が、それぞれ第1及び第2ステージで送信ポート1
2Aに出力され、同様にバッファTxbufの第3及び第4
ビット目のデータ(Tw )、並びに第5ビット目のデー
タ(バルブタイミングV/T)、並びに第0ビット目の
データ(パリティビットP1)が、それぞれ第3、第
4、第5及び第0ステージで出力される。その後、図示
されない他の処理が行われて、当該処理は終了する。
Next, in step S5, the discriminated stage number is set to n. In step S6, the nth bit data of the frame data configured in the buffer Txbuf in step S16 of FIG. 6 described above is output to the transmission port 12A. That is, when the process shown in step S16B of FIG. 6 of the ignition timing / fuel amount calculation process shown in FIG. 4 is completed (that is, when the frame data is completed), , The first and second bit data (Pb of the buffer Txbuf synthesized in step S16B).
a) has transmit port 1 in the first and second stages respectively
2A, and similarly the third and fourth buffer Txbuf
The data of the bit (Tw), the data of the fifth bit (valve timing V / T), and the data of the zeroth bit (parity bit P1) are the third, fourth, fifth and zeroth stages, respectively. Is output with. After that, other processing (not shown) is performed, and the processing ends.

【0044】図7のバックグラウンド処理においては、
ステップS21でTwセンサ33の出力信号を読み込
む。ステップS22においては、読み込まれたTw が4
段階に区分されたゾーンのうちのいずれに入るかを判別
する。すなわち、この処理では、Tw を2ビットのデジ
タルデータに変換する。この変換された2ビットデータ
は、図6のステップS13に関して前述したように、第
1マイクロコンピュータ11内の8ビットレジスタ(第
0〜第7ビット)のうちの第3及び第4ビット目に記憶
される(図10B参照)。
In the background processing of FIG. 7,
In step S21, the output signal of the Tw sensor 33 is read. In step S22, the read Tw is 4
It is determined which one of the zones divided into stages. That is, in this processing, Tw is converted into 2-bit digital data. The converted 2-bit data is stored in the third and fourth bits of the 8-bit register (0th to 7th bits) in the first microcomputer 11, as described above with reference to step S13 of FIG. (See FIG. 10B).

【0045】つぎに、ノックCPU22の動作を説明す
る。図8のクランク処理において、まずステップS31
においては、ステージ番号が判別される。そして、ステ
ップS32においては、各ステージに応じた各種処理
(例えば、ノッキング判別等)が実行される。
Next, the operation of the knock CPU 22 will be described. In the crank process of FIG. 8, first, step S31.
In, the stage number is determined. Then, in step S32, various types of processing (for example, knocking determination) according to each stage are executed.

【0046】ステップS33においては、判別されたス
テージ番号がnに設定される。このステップS33に引
き続いて、ステップS34の処理が行われるが、このス
テップS34の処理は、図5に示されたメインCPU1
2のステップS6の処理が開始されるまでに完了される
ようになっている。すなわち、図5に示された、メイン
CPU12により実行されるクランク処理、及び図8に
示された、ノックCPU22により実行されるクランク
処理は、各ステージの開始と同時に実行されるが、図8
のステップS34の処理は該クランク処理開始直後に行
われるのに対し、図5のステップS6の処理は、該クラ
ンク処理開始からしばらくたってから(すなわち、ステ
ップS2の処理、及び図12に関して後述するステップ
S3,S4等の処理が実行されてから)行われる。
In step S33, the discriminated stage number is set to n. After step S33, the process of step S34 is performed. The process of step S34 is performed by the main CPU 1 shown in FIG.
The process is completed by the time the process of step S6 of 2 is started. That is, the crank processing executed by the main CPU 12 shown in FIG. 5 and the crank processing executed by the knock CPU 22 shown in FIG. 8 are executed simultaneously with the start of each stage.
5 is performed immediately after the crank processing is started, whereas the processing of step S6 of FIG. 5 is performed after a while from the start of the crank processing (that is, the processing of step S2 and the step described later with reference to FIG. 12). This is performed after the processing of S3, S4, etc. has been executed.

【0047】後述するように、ステップS34の処理
は、送信ポート12Aに発生するデータをノックCPU
22に読み込む処理であるが、前記したステップS34
及びS6の処理タイミングのずれにより、換言すれば、
ステップS34及びS6の位相差により、図4に示され
たように、各ステージ開始直後に、送信ポート12Aに
発生するデータがノックCPU22に読み込まれ、その
後に、前記送信ポート12Aに発生するデータが更新さ
れる。
As will be described later, in the process of step S34, the data generated at the transmission port 12A is knocked by the CPU.
This is the process of reading in step 22, but the above-mentioned step S34
And the processing timings of S6 are different, in other words,
Due to the phase difference between steps S34 and S6, as shown in FIG. 4, immediately after the start of each stage, the data generated at the transmission port 12A is read into the knock CPU 22, and thereafter, the data generated at the transmission port 12A is read. Will be updated.

【0048】ステップS34においては、メインCPU
12の送信ポート12Aに発生されているデータを読み
込み、第2のマイクロコンピュータ21内の8ビットバ
ッファRxbuf(第0ビット〜第7ビット)のうちの第
(n−2)ビット目に記憶する。すなわち、上記読み込
みが各ステージで行われることにより、図4に示される
ように、バッファRxbufの第0〜第5ビット目に、メイ
ンCPU12の送信ポート12Aに発生されたPba、T
w 、V/T及びP1の各データが記憶される。その後、
図示されない他の処理が行われて、当該処理は終了す
る。
In step S34, the main CPU
The data generated in the 12 transmission ports 12A is read and stored in the (n-2) th bit of the 8-bit buffer Rxbuf (0th bit to 7th bit) in the second microcomputer 21. That is, as the above reading is performed at each stage, as shown in FIG. 4, at the 0th to 5th bits of the buffer Rxbuf, Pba, T generated at the transmission port 12A of the main CPU 12 are
Each data of w, V / T and P1 is stored. afterwards,
Other processing not shown is performed and the processing ends.

【0049】図9のバックグラウンド処理においては、
ステップS41で当該第2マイクロコンピュータ21に
より、ノックセンサ38が正常に機能しているか否かが
判別され、この判別結果に応じてF/Sフラグが発生さ
れる。
In the background processing of FIG.
In step S41, the second microcomputer 21 determines whether or not the knock sensor 38 is functioning normally, and the F / S flag is generated according to the determination result.

【0050】つぎに、ノックCPU22からメインCP
U12にデータを送信する場合のデータ通信手法を説明
する。図11はノックCPU22からメインCPU12
へデータ送信を行う場合の主要動作を示すタイムチャー
ト、図12及び図13はこの場合にメインCPU12に
より行われる主要処理動作(クランク処理及び点火時期
/燃料量演算処理)を示すフローチャート、同様に図1
4はこの場合にノックCPU22により行われる主要処
理動作(クランク処理)を示すフローチャートである。
Next, from the knock CPU 22 to the main CP
A data communication method for transmitting data to U12 will be described. FIG. 11 shows the knock CPU 22 to the main CPU 12
12 and 13 are flowcharts showing the main processing operations (crank processing and ignition timing / fuel amount calculation processing) executed by the main CPU 12 in this case. 1
4 is a flowchart showing the main processing operation (crank processing) performed by the knock CPU 22 in this case.

【0051】なお、図12及び図13には、メインCP
U12により行われるクランク処理及び点火時期/燃料
量演算処理のうち、ノックCPU22からメインCPU
12へデータ送信を行う場合の主要処理のみが示されて
いる。また図14には、ノックCPU22により行われ
るクランク処理のうち、ノックCPU22からメインC
PU12へデータ送信を行う場合の主要処理のみが示さ
れている。
The main CP is shown in FIG. 12 and FIG.
Of the crank processing and ignition timing / fuel amount calculation processing performed by U12, the knock CPU 22 to the main CPU
Only the main processing for sending data to 12 is shown. In addition, in FIG. 14, in the crank processing performed by the knock CPU 22, from the knock CPU 22 to the main C.
Only the main processing when transmitting data to the PU 12 is shown.

【0052】まず、ノックCPU22により実行される
図14のクランク処理では、ステージ判別等が行われた
後(図8のステップS31等の後)、ステップS35に
おいて当該ステージが第0ステージであるか否かが判別
される。第0ステージであれば、ステップS36におい
て、当該第2マイクロコンピュータ21で演算されたノ
ックフラグがノックCPU22の送信ポート22Aに出
力される。
First, in the crank processing of FIG. 14 executed by the knock CPU 22, after the stage determination or the like is performed (after step S31 of FIG. 8), it is determined in step S35 whether the stage is the 0th stage. Is determined. If it is the 0th stage, in step S36, the knock flag calculated by the second microcomputer 21 is output to the transmission port 22A of the knock CPU 22.

【0053】前記ステップS35において当該ステージ
が第0ステージでないことが判別されると、ステップS
37において、当該ステージが第2ステージであるか否
かが判別される。第2ステージであれば、ステップS3
8において、F/SフラグがノックCPU22の送信ポ
ート22Aに出力される。
If it is determined in step S35 that the stage is not the 0th stage, step S35
At 37, it is judged if the stage is the second stage. If it is the second stage, step S3
8, the F / S flag is output to the transmission port 22A of the knock CPU 22.

【0054】前記ステップS37において当該ステージ
が第2ステージでないことが判別されると、ステップS
39Aにおいて、当該ステージが第4ステージであるか
否かが判別される。第4ステージであれば、ステップS
39Bにおいて、その直前の第0及び第2ステージで送
信ポート22Aに出力されたノックフラグ及びF/Sフ
ラグを元にパリティビットP2を設定し、該パリティビ
ットP2が送信ポート22Aに出力される。
When it is determined in step S37 that the stage is not the second stage, step S37
At 39A, it is determined whether or not the stage is the fourth stage. If it is the fourth stage, step S
In 39B, the parity bit P2 is set based on the knock flag and the F / S flag output to the transmission port 22A in the immediately preceding 0th and second stages, and the parity bit P2 is output to the transmission port 22A.

【0055】ステップS36、S38若しくはS39B
を終了した後、又は当該ステージが第0、第2若しくは
第4ステージでない場合には、その後、図示されない他
の処理が行われて、当該処理は終了する。
Step S36, S38 or S39B
Or when the stage is not the 0th, 2nd, or 4th stage, another process not shown is performed thereafter, and the process ends.

【0056】つぎに、メインCPU12により実行され
る図12のクランク処理では、所定のステージ判別(図
5のステップS1)等が実行された後、ステップS3に
おいて当該ステージが第3ステージであるか否かが判別
される。第3ステージであれば、ステップS4において
メインCPU12の受信ポート12Bに生じたデータ
(すなわち、ノックCPU22の送信ポート22Aに発
生したデータ)を、F/Sフラグとして読み込む。
Next, in the crank processing of FIG. 12 executed by the main CPU 12, after a predetermined stage determination (step S1 of FIG. 5) and the like are executed, it is determined in step S3 whether the stage is the third stage. Is determined. If it is the third stage, the data generated in the reception port 12B of the main CPU 12 (that is, the data generated in the transmission port 22A of the knock CPU 22) in step S4 is read as the F / S flag.

【0057】ステップS3において第3ステージでない
ことが判定された場合には、ステップS4Aにおいて当
該ステージが第5ステージであるか否かが判別される。
第5ステージであれば、ステップS4Bにおいてノック
CPU22の送信ポート22Aに発生したデータを、パ
リティビットP2として読み込む。
When it is determined in step S3 that the stage is not the third stage, it is determined in step S4A whether or not the stage is the fifth stage.
If it is the fifth stage, the data generated at the transmission port 22A of the knock CPU 22 in step S4B is read as the parity bit P2.

【0058】ステップS4若しくはS4Bの処理が終了
した後、又は当該ステージが第3ステージでも第5ステ
ージでもない場合には、その後、図示されない他の処理
が行われて、当該処理は終了する。
After the processing of step S4 or S4B is completed, or when the stage is neither the third stage nor the fifth stage, other processing not shown is then performed and the processing ends.

【0059】メインCPU12により実行される図13
の点火時期/燃料量演算処理では、ステップS17にお
いて、メインCPU12の受信ポート12Bに生じたデ
ータ(すなわち、ノックCPU22の送信ポート22A
に発生したデータ)を、ノックフラグとして読み込む。
このステップS17の処理は、バッファTxbufの合成が
終了した後(図6のステップS16Bの処理が終了した
後)に行われる。
FIG. 13 executed by the main CPU 12.
In the ignition timing / fuel amount calculation process of step S17, the data generated in the reception port 12B of the main CPU 12 (that is, the transmission port 22A of the knock CPU 22 in step S17).
(Data generated at) is read as a knock flag.
The process of step S17 is performed after the synthesis of the buffer Txbuf is completed (after the process of step S16B of FIG. 6 is completed).

【0060】このように、第2マイクロコンピュータ2
1で演算されたノックフラグ及びF/Sフラグ、並びに
該ノックフラグ及びF/Sフラグを元に設定されたパリ
ティビットP2が、第1マイクロコンピュータ11に転
送される。
In this way, the second microcomputer 2
The knock flag and the F / S flag calculated in 1 and the parity bit P2 set based on the knock flag and the F / S flag are transferred to the first microcomputer 11.

【0061】さて、このように第1マイクロコンピュー
タ11から第2マイクロコンピュータ21に対してデー
タの送信が行われ、逆に、第2マイクロコンピュータ2
1から第1マイクロコンピュータ11に対してもデータ
の送信が行われる。そして、このデータ通信は、ステー
ジごとに、すなわちエンジンの回転(クランク軸回転
角)に応じて、行われる。
Data is transmitted from the first microcomputer 11 to the second microcomputer 21 in this way, and conversely, data is transmitted from the second microcomputer 2 to the second microcomputer 21.
Data is also transmitted from 1 to the first microcomputer 11. Then, this data communication is performed for each stage, that is, according to the rotation of the engine (crankshaft rotation angle).

【0062】ところで、第1マイクロコンピュータ11
から第2マイクロコンピュータ21に対して行われるデ
ータ送信、及び第2マイクロコンピュータ21から第1
マイクロコンピュータ11に対して行われるデータ送信
を、それぞれ異なるタイムチャート及びフローチャート
を用いて説明したが、これらの通信は、同時進行的に行
われる。すなわち、図5及び図12に示された、メイン
CPU12により実行されるクランク処理、図6及び図
13に示された、メインCPU12により実行される点
火時期/燃料量演算処理、図8及び図14に示された、
ノックCPU22により実行されるクランク処理は、そ
れぞれ同一のクランク処理プログラム、点火時期/燃料
量演算処理プログラムとして、各マイクロコンピュータ
11及び12に記憶されている。
By the way, the first microcomputer 11
From the second microcomputer 21 to the second microcomputer 21, and the second microcomputer 21 to the first
The data transmission performed to the microcomputer 11 has been described using different time charts and flowcharts, but these communications are simultaneously performed. That is, the crank processing executed by the main CPU 12 shown in FIGS. 5 and 12, the ignition timing / fuel amount calculation processing executed by the main CPU 12 shown in FIGS. 6 and 13, and FIG. Shown in,
The crank processing executed by the knock CPU 22 is stored in each of the microcomputers 11 and 12 as the same crank processing program and ignition timing / fuel amount calculation processing program.

【0063】図15は本発明の第1の実施例のタイムチ
ャートであり、前掲した図4及び図11に示されたタイ
ムチャートを合成したものである。図16はメインCP
U12により実行されるクランク処理を示すフローチャ
ートであり、前掲した図5及び図12に示されたフロー
チャートを合成したものである。同様に、図17はメイ
ンCPU12により実行される点火時期/燃料量演算処
理を示すフローチャート、図18はノックCPU22に
より実行されるクランク処理を示すフローチャートであ
り、それぞれ前掲した図6及び図13、並びに図8及び
図14に示されたフローチャートを合成したものであ
る。図15〜図18において、それぞれの図を作成(合
成)するために用いられた各図と同一の符号は、同一又
は同等部分をあらわしているので、その説明は省略す
る。
FIG. 15 is a time chart of the first embodiment of the present invention, which is a combination of the time charts shown in FIGS. 4 and 11 described above. Figure 16 shows the main CP
13 is a flowchart showing a crank process executed by U12, which is a combination of the flowcharts shown in FIGS. 5 and 12 described above. Similarly, FIG. 17 is a flow chart showing the ignition timing / fuel amount calculation processing executed by the main CPU 12, and FIG. 18 is a flow chart showing the crank processing executed by the knock CPU 22, which are shown in FIGS. It is a combination of the flowcharts shown in FIGS. 8 and 14. 15 to 18, the same reference numerals as those used for creating (combining) the respective drawings represent the same or equivalent portions, and thus the description thereof will be omitted.

【0064】なお、図17(図6)に示されたステップ
S16Bまでの処理は、高エンジン回転時も、第0ステ
ージの間に実行される必要があり、また図17(図1
3)のステップS17の処理は、高エンジン回転時も第
0ステージから第1ステージの間に実行される必要があ
る。このステップS17の処理は、第1ステージのクラ
ンク処理において実行されても良いし、また第0ステー
ジにおいてノックフラグが送信ポート22Aに出力され
た後であれば、該ステージのクランク処理で行われても
良い。
Note that the processing up to step S16B shown in FIG. 17 (FIG. 6) needs to be executed during the 0th stage even when the engine is running at a high speed.
The process of step S17 of 3) needs to be executed between the 0th stage and the 1st stage even at high engine speed. The process of step S17 may be executed in the crank process of the first stage, or may be executed in the crank process of the stage after the knock flag is output to the transmission port 22A in the 0th stage. Is also good.

【0065】さらに、図16(図12)のステップS3
及びS4、並びにS4A及びS4Bにおいて説明したよ
うに、メインCPU12によるF/Sフラグの読み込
み、及びパリティビットP2の読み込みは、第3ステー
ジ及び第5ステージで行われるものとしたが、送信ポー
ト22AにF/Sフラグ及びパリティビットP2が出力
された後であれば、第2ステージあるいは第4ステージ
であっても良い。
Further, step S3 of FIG. 16 (FIG. 12).
As described in S4 and S4, and S4A and S4B, the main CPU 12 reads the F / S flag and the parity bit P2 in the third and fifth stages. It may be the second stage or the fourth stage as long as it is after the F / S flag and the parity bit P2 are output.

【0066】さて、図6及び図17に示されたように、
メインCPU12により実行される点火時期/燃料量演
算処理においては、Pbaの読み込み及びゾーン判別(A
/D変換)、バックグラウンド処理で読み込み及びゾー
ン判別されたTw の読出し、並びにバルブタイミングV
/Tの読み込み、並びにそれら各データを用いたパリテ
ィビットP1の設定が行われ、そして、これらデータを
用いてバッファTxbuf内に6ビットのフレームデータが
構成されるので、各ステージにおいて実行されるメイン
CPU12のクランク処理(図5及び図16)において
は、単にバッファTxbufから1ビットずつデータを読み
出すだけで良い。
Now, as shown in FIGS. 6 and 17,
In the ignition timing / fuel amount calculation process executed by the main CPU 12, Pba is read and zone determination (A
/ D conversion), Tw read by background processing and zone discrimination, and valve timing V
/ T is read and the parity bit P1 is set by using each data, and 6-bit frame data is configured in the buffer Txbuf by using these data, so that it is executed in each stage. In the crank processing of the CPU 12 (FIGS. 5 and 16), it is sufficient to simply read the data bit by bit from the buffer Txbuf.

【0067】この結果、メインCPU12により実行さ
れるクランク処理の負荷が軽減され、その処理時間があ
まり長くならないので、エンジン回転数が高くなって
も、エンジンの制御を良好に行なうことができる。
As a result, the load of the crank processing executed by the main CPU 12 is reduced and the processing time is not so long, so that the engine can be controlled well even if the engine speed increases.

【0068】図1及び図2は本発明の第1の実施例の機
能ブロック図であり、それぞれを組み合せて全図が完成
する。図1及び図2において、図3と同一の符号は、同
一又は同等部分をあらわしている。また図1及び図2に
おいて、破線の左側は第1マイクロコンピュータ11の
構成を、そして破線の右側は第2マイクロコンピュータ
21の構成を示している。
FIG. 1 and FIG. 2 are functional block diagrams of the first embodiment of the present invention, and by combining them, the entire diagram is completed. 1 and 2, the same reference numerals as those in FIG. 3 represent the same or equivalent portions. 1 and 2, the left side of the broken line shows the configuration of the first microcomputer 11, and the right side of the broken line shows the configuration of the second microcomputer 21.

【0069】まず、第1マイクロコンピュータ11側に
おいて、シリンダパルス、TDCパルス及びクランクパ
ルスは、ステージ判別手段51及びエンジン回転数判別
手段52に入力される。前記ステージ判別手段51にお
いては、ステージ番号が判別され、エンジン回転数判別
手段52においては、エンジン回転数が判別される。
First, on the side of the first microcomputer 11, the cylinder pulse, the TDC pulse and the crank pulse are input to the stage discriminating means 51 and the engine speed discriminating means 52. The stage discriminating means 51 discriminates the stage number, and the engine speed discriminating means 52 discriminates the engine speed.

【0070】燃料噴射制御手段58は、エンジン回転数
信号、並びにPbaセンサ32、Twセンサ33、Pa セ
ンサ34及びTh センサ35の出力信号等を用いて、公
知の適宜の手法により、インジェクタ45より噴射され
る燃料の噴射量、燃料噴射タイミング等を演算する。こ
の燃料噴射制御手段58の出力信号は、ドライバ44に
入力され、これによりインジェクタ45が駆動される。
The fuel injection control means 58 uses the engine speed signal and the output signals of the Pba sensor 32, the Tw sensor 33, the Pa sensor 34 and the Th sensor 35 and the like to inject the fuel from the injector 45 by a known appropriate method. The amount of fuel to be injected, the fuel injection timing, etc. are calculated. The output signal of the fuel injection control means 58 is input to the driver 44, which drives the injector 45.

【0071】点火時期制御手段59は、エンジン回転数
信号及びTh センサ35の出力信号等を用いて、点火時
期を演算する。この点火時期制御手段59の出力信号
は、イグナイタ41に入力される。このイグナイタ41
は、イグニションコイル42を介して、点火プラグ43
に接続されている。
The ignition timing control means 59 calculates the ignition timing using the engine speed signal, the output signal of the Th sensor 35 and the like. The output signal of the ignition timing control means 59 is input to the igniter 41. This igniter 41
Through the ignition coil 42, the spark plug 43
It is connected to the.

【0072】負荷判別手段54は、Pbaセンサ32及び
/あるいはThセンサ35の出力信号、あるいはその他
の信号を用いて、公知の手法により、当該エンジンの負
荷を検出する。
The load discriminating means 54 detects the load of the engine by a known method using the output signals of the Pba sensor 32 and / or the Th sensor 35 or other signals.

【0073】V/T演算手段53は、エンジン回転数信
号及びエンジンの負荷信号(負荷判別手段54の出力信
号)を用いて、バルブタイミングV/Tを演算する。こ
の演算されたバルブタイミングV/Tは、ドライバ46
に入力され、これにより、複数設けられた吸排気弁駆動
用のカム選択用のソレノイド47が駆動される。
The V / T calculating means 53 calculates the valve timing V / T using the engine speed signal and the engine load signal (the output signal of the load discriminating means 54). The calculated valve timing V / T is calculated by the driver 46.
, Which drives a plurality of solenoids 47 for selecting cams for driving intake / exhaust valves.

【0074】ゾーン判別手段55及び56は、Pbaセン
サ32及びTwセンサ33の出力信号が、それぞれ4段
階に区分されたゾーンのいずれに属するかを判別し、そ
れぞれを2ビットのディジタル信号に変換する。そし
て、判別、変換されたゾーン情報は、第0ステージにお
いて、バッファTxbuf57に出力される。また、同様
に、V/T演算手段53の出力信号、すなわちバルブタ
イミングV/T(1ビットデータ)も、第0ステージに
おいて、前記バッファTxbuf57に出力される。そし
て、バッファTxbuf57の第1ビット〜第5ビットの領
域に図10Dで示されたような5ビットデータが完成す
ると、該データを用いてパリティビット設定手段におい
てパリティビットP1が設定され、該ビットP1が前記
バッファTxbuf57の第0ビット目に配置される。これ
により、第0ステージにおいて、バッファTxbuf57内
に図10Eで示されたような6ビットのフレームデータ
が完成する。
The zone discriminating means 55 and 56 discriminate which of the zones divided into four stages the output signals of the Pba sensor 32 and the Tw sensor 33 belong to, and convert each into a 2-bit digital signal. .. Then, the discriminated and converted zone information is output to the buffer Txbuf 57 in the 0th stage. Similarly, the output signal of the V / T calculation means 53, that is, the valve timing V / T (1 bit data) is also output to the buffer Txbuf 57 in the 0th stage. Then, when the 5-bit data as shown in FIG. 10D is completed in the area of the 1st bit to the 5th bit of the buffer Txbuf 57, the parity bit P1 is set by the parity bit setting means using the data, and the bit P1 is set. Is placed in the 0th bit of the buffer Txbuf57. As a result, in the 0th stage, 6-bit frame data as shown in FIG. 10E is completed in the buffer Txbuf 57.

【0075】バッファTxbuf57内のフレームデータ
は、各ステージごとに1ビットずつ送信ポート12Aに
出力される。詳しくは、図4(又は図15)に示される
ように、第1及び第2ステージにおいてはPbaの2ビッ
トデータが、第3及び第4ステージにおいてはTw の2
ビットデータが、第5ステージにおいてはバルブタイミ
ングV/Tの1ビットデータが、そして第0ステージに
おいてはパリティビットP1の1ビットデータが、それ
ぞれ送信ポ―ト12Aに出力される。
The frame data in the buffer Txbuf 57 is output to the transmission port 12A bit by bit for each stage. More specifically, as shown in FIG. 4 (or FIG. 15), 2-bit data of Pba is stored in the first and second stages and 2 of Tw is stored in the third and fourth stages.
Bit data, 1-bit data of valve timing V / T in the fifth stage, and 1-bit data of parity bit P1 in the 0th stage are output to the transmission port 12A, respectively.

【0076】一方、第2マイクロコンピュータ21側に
おいては、シリンダパルス及びクランクパルスがステー
ジ判別手段81に入力される。このステージ判別手段8
1は、前記ステージ判別手段51と同様に、ステージ番
号を判別する。
On the other hand, on the second microcomputer 21 side, the cylinder pulse and the crank pulse are input to the stage discriminating means 81. This stage discrimination means 8
1 discriminates the stage number similarly to the stage discriminating means 51.

【0077】バッファRxbuf82は、送信ポート12A
から受信ポート22Bに転送されたデータを、各ステー
ジごとに1ビットずつ取り込む。詳しくは、図4(図1
5)に示されるように、第2及び第3ステージにおいて
はPbaの2ビットデータが、第4及び第5ステージにお
いてはTw の2ビットデータが、第0ステージにおいて
はバルブタイミングV/Tの1ビットデータが、そして
第1ステージにおいてはパリティビットP1の1ビット
データが、それぞれバッファRxbuf82の第0〜第5ビ
ット目の領域に取り込まれる。
The buffer Rxbuf 82 is the transmission port 12A.
The data transferred from the receiving port 22B to the receiving port 22B is fetched one bit at each stage. For details, see FIG.
As shown in FIG. 5), 2-bit data of Pba in the second and third stages, 2-bit data of Tw in the fourth and fifth stages, and 1 of valve timing V / T in the 0th stage. The bit data, and the 1-bit data of the parity bit P1 in the first stage, are taken into the areas of the 0th to 5th bits of the buffer Rxbuf82, respectively.

【0078】バッファRxbuf82内にデータが取り込ま
れると、該データは、データ判別手段83に転送され、
そしてデータの内容が判別される。判別されたデータの
うち、Pba、Tw 及びバルブタイミングV/Tの各デー
タは、ノッキング判別手段84に入力される。また、前
記バッファRxbuf82内に取り込まれたデータは、異常
信号発生手段86に入力される。この異常信号発生手段
86は、Pba、Tw 及びバルブタイミングV/Tの5ビ
ットデータと、パリティビットP1とを比較し、該P1
が正しいか否かを判定する。パリティビットP1が誤っ
たデータであれば、第1マイクロコンピュータ11側の
異常表示のために、LED22Lを付勢する。
When the data is taken into the buffer Rxbuf 82, the data is transferred to the data discriminating means 83,
Then, the content of the data is determined. Of the discriminated data, each data of Pba, Tw and valve timing V / T is input to the knocking discrimination means 84. Further, the data taken into the buffer Rxbuf 82 is inputted to the abnormal signal generating means 86. The abnormal signal generating means 86 compares the 5-bit data of Pba, Tw and the valve timing V / T with the parity bit P1, and the P1
Is correct. If the parity bit P1 is erroneous data, the LED 22L is energized to display an abnormality on the first microcomputer 11 side.

【0079】前記ノッキング判別手段84は、判別され
たPba、Tw 及びバルブタイミングV/Tの各データ、
及びノックセンサ38より出力された信号を用いて、ノ
ッキングの有無を判別し、ノックフラグを出力する。こ
のノックフラグは、図11(図15)に示されるよう
に、第0ステージにおいて送信ポート22Aに出力され
る。
The knocking determination means 84 determines each data of the determined Pba, Tw and valve timing V / T,
Also, the presence / absence of knocking is determined using the signal output from the knock sensor 38, and a knock flag is output. This knock flag is output to the transmission port 22A in the 0th stage, as shown in FIG. 11 (FIG. 15).

【0080】F/S判別手段85は、ノックセンサ38
が正常であるか否かを判別し、F/Sフラグを発生す
る。このF/Sフラグは、図11(図15)に示される
ように、第2ステージにおいて送信ポート22Aに出力
される。
The F / S discriminating means 85 includes the knock sensor 38.
Is determined to be normal, and an F / S flag is generated. This F / S flag is output to the transmission port 22A in the second stage, as shown in FIG. 11 (FIG. 15).

【0081】パリティビット設定手段87は、前記のよ
うに送信ポート22Aに出力されたノックフラグ及びF
/Sフラグの2ビットデータを用いて、パリティビット
P2を設定する。このパリティビットP2は、図11
(図15)に示されるように、第4ステージにおいて送
信ポート22Aに出力される。
The parity bit setting means 87 outputs the knock flag and F output to the transmission port 22A as described above.
The parity bit P2 is set using the 2-bit data of the / S flag. This parity bit P2 is shown in FIG.
As shown in (FIG. 15), it is output to the transmission port 22A in the fourth stage.

【0082】再び第1マイクロコンピュータ11側に戻
り、第0ステージ、第3ステージ及び第5ステージにお
いては、送信ポート22Aより受信ポート12Bに転送
されたデータが、それぞれノックフラグ、F/Sフラ
グ、及びパリティビットP2として異常信号発生手段6
3に取り込まれる。この異常信号発生手段63は、ノッ
クフラグ及びF/Sフラグの2ビットデータと、パリテ
ィビットP2とを比較し、該P2が正しいか否かを判定
する。パリティビットP2が誤ったデータであれば、第
2マイクロコンピュータ21側の異常表示のためにLE
D12L及びランプ12Mを付勢する。
Returning to the first microcomputer 11 side again, in the 0th stage, the 3rd stage and the 5th stage, the data transferred from the transmission port 22A to the reception port 12B are the knock flag, the F / S flag, and And the abnormal signal generating means 6 as the parity bit P2.
Taken in 3. The abnormal signal generating means 63 compares the 2-bit data of the knock flag and the F / S flag with the parity bit P2, and determines whether or not the P2 is correct. If the parity bit P2 is erroneous data, LE is used to display an error on the second microcomputer 21 side.
Energize D12L and lamp 12M.

【0083】なお、LED12L及び/あるいはランプ
12Mが、他のマイクロコンピュータ等の異常をも表示
するように構成されている場合には、LED12L及び
ランプ12Mを単に付勢するだけでなく、それらを点滅
し、該点滅をその異常固有のパターンで行うようにして
も良い。LED22Lの付勢についても同様である。
When the LED 12L and / or the lamp 12M is configured to display an abnormality of another microcomputer or the like, not only the LED 12L and the lamp 12M are simply energized, but they are blinked. However, the blinking may be performed in a pattern unique to the abnormality. The same applies to the energization of the LED 22L.

【0084】受信ポート12Bで受信されたデータは、
データ判別手段62にも転送され、データ(ノックフラ
グ及びF/Sフラグ)の内容が判別される。そして、ノ
ッキング制御手段60は、ノックフラグに応じて、点火
時期制御手段59よりイグナイタ41へ出力される点火
時期データを修正する。
The data received at the receiving port 12B is
It is also transferred to the data discriminating means 62, and the contents of the data (knock flag and F / S flag) are discriminated. Then, the knocking control means 60 corrects the ignition timing data output from the ignition timing control means 59 to the igniter 41 according to the knock flag.

【0085】第2マイクロコンピュータ21は、ウォッ
チドッグタイマ88を備えていて、その出力(ウォッチ
ドッグ出力)は送信ポート22Pより第1マイクロコン
ピュータ11の受信ポート12Qに転送される。前記異
常信号発生手段63は、例えば所定の周期で前記受信ポ
ート12Qの状態を監視していて、ウォッチドッグ出力
より第2マイクロコンピュータ21の異常が検出された
場合には、その異常表示のために、前記LED12L及
びランプ12Lを付勢する。なお、ウォッチドッグタイ
マを第1マイクロコンピュータ11側にも設けて、その
異常を第2マイクロコンピュータ21側に通知しても良
い。
The second microcomputer 21 has a watchdog timer 88, and its output (watchdog output) is transferred from the transmission port 22P to the reception port 12Q of the first microcomputer 11. The abnormality signal generating means 63 monitors the state of the receiving port 12Q at a predetermined cycle, for example, and when an abnormality of the second microcomputer 21 is detected from the watchdog output, the abnormality signal generating means 63 displays the abnormality. , Energize the LED 12L and the lamp 12L. A watchdog timer may be provided on the first microcomputer 11 side to notify the second microcomputer 21 of its abnormality.

【0086】さて、前述の説明においては、当該車両の
主な制御を行う第1マイクロコンピュータ11は、ノッ
キングの判定を行う第2マイクロコンピュータ21と通
信を行うものとしたが、ブレーキ制御や、発進、加速時
の車両の空転を抑えるトラクション制御、あるいはその
他の制御を前記第1マイクロコンピュータ11と別のマ
イクロコンピュータで行う場合には、それらマイクロコ
ンピュータ間での通信にも、本願発明は適用可能である
ことは当然である。
In the above description, the first microcomputer 11 that mainly controls the vehicle communicates with the second microcomputer 21 that determines knocking. When the traction control for suppressing idling of the vehicle at the time of acceleration or other control is performed by the microcomputer different from the first microcomputer 11, the present invention is applicable to communication between the microcomputers. It is natural that there is.

【0087】また、データ通信を行うマイクロコンピュ
ータは、3つ以上であっても本発明の適用が可能であ
る。
The present invention can be applied even if the number of microcomputers for data communication is three or more.

【0088】さらに、第1マイクロコンピュータ11か
ら第2マイクロコンピュータ21にデータの送信を行う
場合においては、メインCPU12の点火時期/燃料量
演算処理で、所定の1フレ―ム(隣接するステ―ジ6個
分)で送信されるべき全データ、換言すれば、所定のタ
イミングごとに送信されるべき全デ―タを用いてバッフ
ァTxbuf内にフレームデータを作成し、該フレームデー
タを、各ステージ毎に行われるメインCPU12のクラ
ンク処理において1ビットずつ第2マイクロコンピュー
タ21に送信するものとして説明したが、該クランク処
理の処理時間遅延を許容するならば、バッファTxbuf内
でのフレームデータの作成を省略し、各データの送信ス
テージで行われる各クランク処理において、各データの
読出し及びA/D変換を行い、該データの送信を行うよ
うにしても良い。
Furthermore, when data is transmitted from the first microcomputer 11 to the second microcomputer 21, a predetermined one frame (adjacent stage) is set in the ignition timing / fuel amount calculation processing of the main CPU 12. Frame data is created in the buffer Txbuf by using all the data to be transmitted in 6 pieces), in other words, all the data to be transmitted at a predetermined timing, and the frame data is generated for each stage. In the crank processing of the main CPU 12, which has been described above, the bit is transmitted to the second microcomputer 21 bit by bit, but if the processing time delay of the crank processing is allowed, the creation of frame data in the buffer Txbuf is omitted. However, in each crank processing performed in each data transmission stage, each data read and A / D conversion are performed. Was carried out, it is also possible to carry out the transmission of the data.

【0089】すなわち、例えばPbaの送信に関しては、
図6(図17)のステップS11及びS12の処理を、
メインCPU12の、第1ステージのクランク処理で行
い、A/D変換された2ビットのPbaデータの送信を、
第1及び第2ステージのクランク処理において1ビット
ずつ行うようにしても良い。
That is, for example, regarding the transmission of Pba,
The processing of steps S11 and S12 of FIG.
Transmission of 2-bit Pba data that has been A / D converted by the first stage crank processing of the main CPU 12,
You may make it perform 1 bit at a time in the crank process of a 1st and 2nd stage.

【0090】また、逆に、第2マイクロコンピュータ2
1から第1マイクロコンピュータ11にデータの送信を
行う場合に、前述したフレームデータと同様のものを、
該第2マイクロコンピュータ21のバッファ内に一旦形
成し、その後、ノックCPU22により各ステージ毎に
実行されるクランク処理において、該バッファ内データ
を1ビットずつ第1マイクロコンピュータ11に対して
出力するようにしても良いことは当然である。
On the contrary, the second microcomputer 2
When transmitting data from 1 to the first microcomputer 11, the same frame data as described above is used.
It is formed in the buffer of the second microcomputer 21 once, and then, in the crank processing executed by the knock CPU 22 for each stage, the data in the buffer is output to the first microcomputer 11 bit by bit. Of course, it is okay.

【0091】さて、前記したように、少なくともメイン
CPU12からノックCPU22に対するデータ送信
は、各ステージごとに1ビットずつ行われるが、上記実
施例では、そのステージ数は6であり、またメインCP
U12からノックCPU22に送信されるデータは、パ
リティビットP1を含めて6ビットである。したがっ
て、例えばノックCPU22側で行われるデータの精度
を上げるべく、送信すべきデータのビット数を多くした
いような場合、すなわちメインCPU12からノックC
PU22に送信すべきデータを7ビット以上とするよう
な場合には、メインCPU12に設けられる送信ポート
12A、及びノックCPU22に設けられる受信ポート
22Bをそれぞれ複数とし、ステージごとのデータ送信
を複数ビットずつ行うようにする必要がある。
As described above, at least data transmission from the main CPU 12 to the knock CPU 22 is performed by one bit for each stage. In the above embodiment, the number of stages is 6, and the main CP
The data transmitted from the U12 to the knock CPU 22 is 6 bits including the parity bit P1. Therefore, for example, when it is desired to increase the number of bits of data to be transmitted in order to improve the accuracy of data performed on the side of the knock CPU 22, that is, from the main CPU 12 to the knock C
When the data to be transmitted to the PU 22 is set to 7 bits or more, the transmission port 12A provided in the main CPU 12 and the reception port 22B provided in the knock CPU 22 are each provided in plural, and data transmission for each stage is performed in plural bits. You need to do it.

【0092】また、前記実施例では、ノックCPU22
はノッキングの有無のみを検出し、ノッキングに応じた
点火時期の遅角量はメインCPU12側で演算されるも
のとしたが、ノックCPU側でノッキングの状態を判定
すると共に、該状態に応じて点火時期の遅角量をも演算
して、該遅角量をノックCPUからメインCPUに送信
するような場合にも、送信すべきデータは7ビットを超
える場合がある。
Further, in the above embodiment, the knock CPU 22
It is assumed that only the presence or absence of knocking is detected and the ignition timing retard amount corresponding to the knocking is calculated on the main CPU 12 side. However, the knocking CPU side determines the knocking state, and the ignition is performed according to the state. Even when the timing delay amount is also calculated and the delay amount is transmitted from the knock CPU to the main CPU, the data to be transmitted may exceed 7 bits.

【0093】以下に、メインCPU及びノックCPUに
データ送信用の汎用送信ポート及びデータ受信用の汎用
受信ポートをそれぞれ2つずつ設け、ステージごとのデ
ータ送受信を2ビットずつ行う本発明の第2の実施例を
説明する。
Below, the main CPU and the knock CPU are provided with two general-purpose transmission ports for data transmission and two general-purpose reception ports for data reception, respectively, and data transmission / reception for each stage is performed by 2 bits. An example will be described.

【0094】図21は本発明の第2の実施例の機能ブロ
ック図である。同図において、図1〜図3と同一の符号
は、同一又は同等部分をあらわしている。図21におい
て、シリンダパルス、TDCパルス及びクランクパルス
は、波形整形回路31を介して第1マイクロコンピュー
タ11Tのステージ判別手段51に入力される。そして
ステージ判定出力は、制御量等演算手段91に出力され
る。また吸気管内負圧Pba、冷却水温度Tw 、大気圧P
a 、スロットル弁開度Th 及び大気温度Ta 等を検出す
る各種センサも、前記制御量等演算手段91に接続され
ている。この制御量等演算手段91は、後述のようにス
テージごとに2ビットずつ(すなわち6ステージで12
ビットの)データを第2マイクロコンピュータ21Tに
送信する。このデータ送信用として、当該第1マイクロ
コンピュータ11Tには、2つの8ビットバッファTxb
uf1 及びTxbuf2 と、それらに接続された2つの汎用送
信ポート12Aとが設けられている。
FIG. 21 is a functional block diagram of the second embodiment of the present invention. In the figure, the same reference numerals as those in FIGS. 1 to 3 represent the same or equivalent portions. In FIG. 21, the cylinder pulse, the TDC pulse, and the crank pulse are input to the stage discrimination means 51 of the first microcomputer 11T via the waveform shaping circuit 31. Then, the stage determination output is output to the control amount computing means 91. In addition, the negative pressure Pba in the intake pipe, the cooling water temperature Tw, and the atmospheric pressure P
Various sensors for detecting a, throttle valve opening Th, atmospheric temperature Ta, etc. are also connected to the control amount computing means 91. As will be described later, the control amount computing means 91 is configured to output 2 bits for each stage (that is, 12 bits for 6 stages).
The data (in bits) is transmitted to the second microcomputer 21T. For transmitting the data, the first microcomputer 11T has two 8-bit buffers Txb.
uf1 and Txbuf2 and two general purpose transmission ports 12A connected to them are provided.

【0095】第2マイクロコンピュータ21Tには、前
記2つのポート12Aに接続された2つの汎用受信ポー
ト22Bと、該ポート22Bに接続された2つの8ビッ
トバッファRxbuf1 及びRxbuf2 とが設けられている。
前記制御量等演算手段91より送信される12ビットデ
ータは、このRxbuf1 及びRxbuf2 を介して制御量等演
算手段92に入力される。
The second microcomputer 21T is provided with two general-purpose reception ports 22B connected to the two ports 12A and two 8-bit buffers Rxbuf1 and Rxbuf2 connected to the ports 22B.
The 12-bit data transmitted from the control amount etc. calculating means 91 is inputted to the control amount etc. calculating means 92 via the Rxbuf1 and Rxbuf2.

【0096】ステージ判別手段81は、シリンダパルス
及びクランクパルスを用いてステージを判別する。前記
制御量等演算手段92は、ステージ情報、第1マイクロ
コンピュータ11Tより送信された各種データ、及びノ
ックセンサより入力される信号を用いて、当該車両のノ
ッキングの状態を検出すると共に、その状態に応じて点
火時期の遅角量を演算する。制御量等演算手段92は、
この遅角量、及び後述する各種データを、後述のように
ステージごとに2ビットずつ(すなわち6ステージで1
2ビット)第1マイクロコンピュータ11Tに送信す
る。このデータ送信用として、当該第2マイクロコンピ
ュータ21Tには、2つの8ビットバッファTxbuf3 及
びTxbuf4 と、それらに接続された2つの汎用送信ポー
ト22Aとが設けられている。
The stage discriminating means 81 discriminates the stage by using the cylinder pulse and the crank pulse. The control amount computing means 92 detects the knocking state of the vehicle using the stage information, various data transmitted from the first microcomputer 11T, and the signal input from the knock sensor, and at the same time, detects the state. Accordingly, the retard amount of the ignition timing is calculated. The control amount calculation means 92 is
This delay amount and various data to be described later are set to 2 bits for each stage (that is, 1 for 6 stages, as described later).
(2 bits) Transmitted to the first microcomputer 11T. For this data transmission, the second microcomputer 21T is provided with two 8-bit buffers Txbuf3 and Txbuf4 and two general-purpose transmission ports 22A connected to them.

【0097】前記第1マイクロコンピュータ11Tに
は、前記2つのポート22Aに接続された2つの汎用受
信ポート12Bと、該ポート12Bに接続された2つの
8ビットバッファRxbuf3 及びRxbuf4 とが設けられて
いる。前記制御量等演算手段92より送信される12ビ
ットデータは、このRxbuf3 及びRxbuf4 を介して制御
量等演算手段91に入力される。そして、前記制御量等
演算手段91は、前記のように入力されたデータ、及び
Pba、Tw 、Pa 、Th 及びTa 等を用いて、点火時
期、燃料噴射量、吸排気弁駆動用カムの駆動信号等を演
算する。
The first microcomputer 11T is provided with two general-purpose reception ports 12B connected to the two ports 22A and two 8-bit buffers Rxbuf3 and Rxbuf4 connected to the ports 12B. .. The 12-bit data transmitted from the control amount etc. calculating means 92 is inputted to the control amount etc. calculating means 91 via the Rxbuf3 and Rxbuf4. Then, the control amount computing means 91 uses the data input as described above, Pba, Tw, Pa, Th, Ta, etc. to drive the ignition timing, the fuel injection amount, and the intake / exhaust valve driving cam. Calculate signals etc.

【0098】前記制御量等演算手段91及び92は、互
いに相手方より送信されたパリティビットをチェック
し、異常を検出した場合には、異常信号発生手段63A
を介してLED12L及びランプ12Mを、あるいは直
接LED22Lを付勢する。
The control amount computing means 91 and 92 check the parity bits transmitted from each other, and when an abnormality is detected, the abnormality signal generating means 63A.
The LED 12L and the lamp 12M or the LED 22L is directly energized via.

【0099】この実施例においても、第2マイクロコン
ピュータ21Tにはウォッチドッグタイマ88が設けら
れていて、その出力であるウォッチドッグ出力は、汎用
送信ポート22Pを介して第1マイクロコンピュータ1
1Tの汎用受信ポート12Qに送信される。そして、こ
のウォッチドッグ信号より異常信号発生手段63Aが第
2マイクロコンピュータ21Tの異常を検出した場合に
は、LED12L及びランプ12Mが付勢される。
Also in this embodiment, the watchdog timer 88 is provided in the second microcomputer 21T, and its output, the watchdog output, is sent to the first microcomputer 1 via the general-purpose transmission port 22P.
It is transmitted to the 1T general-purpose reception port 12Q. Then, when the abnormality signal generating means 63A detects the abnormality of the second microcomputer 21T from this watchdog signal, the LED 12L and the lamp 12M are energized.

【0100】以上の説明より明らかなように、第1及び
第2マイクロコンピュータ11T及び21Tは、それぞ
れ5つのポートを備えていて、送信ポート12A及び受
信ポート22B、送信ポート22A及び受信ポート12
B、並びに送信ポート22P及び受信ポート12Qが、
それぞれ5本の通信ライン10で接続されている。
As is apparent from the above description, each of the first and second microcomputers 11T and 21T has five ports, and the transmission port 12A and the reception port 22B, the transmission port 22A and the reception port 12 are provided.
B, and the transmission port 22P and the reception port 12Q are
Each is connected by five communication lines 10.

【0101】さて、この第2の実施例において第1マイ
クロコンピュータ11TのメインCPU、及び第2マイ
クロコンピュータ21TのノックCPU間で送受信され
るデータ(ウォッチドッグ出力を除く)は、次の通りで
ある。
Data (excluding watchdog output) transmitted and received between the main CPU of the first microcomputer 11T and the knock CPU of the second microcomputer 21T in the second embodiment are as follows. ..

【0102】まず、メインCPUの2つの送信ポート1
2Aから、ノックCPUの2つの受信ポート22Bに対
して送信されるデータは、次の7種12ビットのデータ
である。 (1) 吸気管内負圧Pba:ゾーン情報 16段階(Pba0
〜Pba3 、4ビット) (2) 冷却水温度Tw :ゾーン情報 4段階(Tw0及びT
w1、2ビット) (3) 大気温度Ta :ゾーン情報 2段階(1ビット) (4) バルブタイミングV/T:“L”/“H”情報(1
ビット) (5) フュエルカット処理中情報F/C:“L”/“H”
情報(1ビット) (6) ノックコントロール以外での点火時期遅角制御中情
報R/C:“L”/“H”情報(1ビット) (7) パリティビット:“0”/“1”情報(P00及びP
01、2ビット) また、ノックCPUの2つの送信ポート22Aから、メ
インCPUの2つの受信ポート12Bに対して送信され
るデータは、次の4種12ビットのデータである。 (8) ノッキングによる点火時期遅角量Igkn :(Igkn0
〜Igkn6、7ビット) (9) F/Sフラグ:“L”/“H”情報(1ビット) (10)パリティビット:“0”/“1”情報(P02及びP
03、2ビット) (11)チェックビット:“H”固定(Cb0及びCb1、2ビ
ット) 図22は第1マイクロコンピュータ11Tに設けられる
2つの8ビットバッファTxbuf1 及びTxbuf2 を示す図
であり、それら内部の第0ビット目から第5ビット目ま
での領域に6ビットのフレームデータが完成した状態が
示されている。この各フレームデータを構成するPba0
〜Pba3 (Pbaゾーン情報)、Tw0及びTw1(Tw ゾー
ン情報)、Ta (Ta ゾーン情報)、V/T、F/C、
R/C、並びにP00及びP01は、共に第1マイクロコン
ピュータ11T側の演算で決定されるが、このうちTw0
及びTw1、並びにTa は例えばバックグラウンド処理の
演算で、また他のデータは例えば点火時期/燃料量演算
処理で決定される。もちろん、パリティビットP00及び
P01は、Txbuf1 及びTxbuf2 の第1ビット目〜第5ビ
ット目までのデータの配列が完成した時点で、これらの
5ビットデータに応じてそれぞれ決定される。
First, the two transmission ports 1 of the main CPU
The data transmitted from 2A to the two receiving ports 22B of the knock CPU are the following 7 types and 12 bits of data. (1) Negative pressure in intake pipe Pba: Zone information 16 levels (Pba0
~ Pba3, 4 bits) (2) Cooling water temperature Tw: Zone information 4 levels (Tw0 and Tw)
w1, 2 bits) (3) Atmospheric temperature Ta: Zone information 2 steps (1 bit) (4) Valve timing V / T: "L" / "H" information (1
Bit) (5) Information during fuel cut processing F / C: "L" / "H"
Information (1 bit) (6) Information during ignition timing retard control other than knock control R / C: "L" / "H" information (1 bit) (7) Parity bit: "0" / "1" information (P00 and P
01, 2 bits) Further, the data transmitted from the two transmission ports 22A of the knock CPU to the two reception ports 12B of the main CPU are the following four types of 12-bit data. (8) Ignition timing retard amount due to knocking Igkn: (Igkn0
~ Igkn6, 7 bits) (9) F / S flag: "L" / "H" information (1 bit) (10) Parity bit: "0" / "1" information (P02 and P)
03, 2 bits) (11) Check bit: fixed at "H" (Cb0 and Cb1, 2 bits) FIG. 22 is a diagram showing two 8-bit buffers Txbuf1 and Txbuf2 provided in the first microcomputer 11T, and the inside thereof. The 6-bit frame data is completed in the area from the 0th bit to the 5th bit. Pba0 constituting each frame data
~ Pba3 (Pba zone information), Tw0 and Tw1 (Tw zone information), Ta (Ta zone information), V / T, F / C,
R / C and P00 and P01 are both determined by calculation on the side of the first microcomputer 11T, of which Tw0
And Tw1 and Ta are determined by, for example, the calculation of the background processing, and other data are determined by, for example, the ignition timing / fuel amount calculation processing. Of course, the parity bits P00 and P01 are respectively determined according to these 5-bit data when the arrangement of the data of the first bit to the fifth bit of Txbuf1 and Txbuf2 is completed.

【0103】これらのフレームデータは、少なくとも第
0ステージまでに完成される。そして、次の第1ステー
ジから、ステージごとに実行される第1マイクロコンピ
ュータ11Tのクランク処理において、そのステージ番
号に応じたビット位置のデータ(すなわち第1ステージ
においては第1ビット目のデータ(Pba0 及びPba1)
が、次の第2ステージにおいては第2ビット目のデータ
(Pba2 及びPba3 ))が汎用送信ポート12Aを介し
て出力される。そして、フレームデータの送信は、第0
ステージにおいて終了する。
These frame data are completed by at least the 0th stage. Then, in the crank processing of the first microcomputer 11T that is executed for each stage from the next first stage, the data of the bit position corresponding to the stage number (that is, the first bit data (Pba0 And Pba1)
However, in the next second stage, the second bit data (Pba2 and Pba3) is output via the general-purpose transmission port 12A. Then, the frame data is transmitted at the 0th
Finish on stage.

【0104】このようにして、第1マイクロコンピュー
タ11Tから第2マイクロコンピュータ21Tに対し
て、各ステージごとに2ビットずつ(各Txbuf1 及びT
xbuf2より1ビットずつ)データが送信される。
In this way, two bits (each Txbuf1 and Tx) for each stage are transferred from the first microcomputer 11T to the second microcomputer 21T.
Data is transmitted from xbuf2 bit by bit.

【0105】図23は第2マイクロコンピュータ21T
に設けられる2つの8ビットバッファTxbuf3 及びTxb
uf4 を示す図である。この図23には、図22と同様
に、それら内部の第0ビット目から第5ビット目までの
領域に6ビットのフレームデータが完成した状態が示さ
れている。
FIG. 23 shows the second microcomputer 21T.
Two 8-bit buffers Txbuf3 and Txb
It is a figure which shows uf4. Similar to FIG. 22, FIG. 23 shows a state in which 6-bit frame data is completed in the area from the 0th bit to the 5th bit inside them.

【0106】この各フレームデータを構成するIgkn0〜
Igkn6、F/Sフラグ、パリティビットP02及びP03、
並びにチェックビットCb0及びCb1は、共に第2マイク
ロコンピュータ21T側のクランク処理で決定される。
パリティビットP02及びP03は、Txbuf3 及びTxbuf4
の第3ビット目〜第5ビット目及び第0ビット目までの
データの配列が完成した時点で、これら各4ビットデー
タに応じてそれぞれ決定され、それらの第2ビット目に
配置される。この後、各Txbuf3 及びTxbuf4の第1ビ
ット目にCb0及びCb1(“H”固定)が配置され、これ
によりフレームデータが完成する。
Igkn0 to construct each frame data
Igkn6, F / S flag, parity bits P02 and P03,
The check bits Cb0 and Cb1 are both determined by the crank processing on the second microcomputer 21T side.
The parity bits P02 and P03 are Txbuf3 and Txbuf4.
When the arrangement of the data from the 3rd bit to the 5th bit and the 0th bit of is completed, it is determined in accordance with each of these 4 bit data and arranged in the 2nd bit thereof. After that, Cb0 and Cb1 (fixed to "H") are arranged at the first bit of each Txbuf3 and Txbuf4, thereby completing the frame data.

【0107】これらのフレームデータは、少なくとも第
0ステージまでに完成される。そして、次の第1ステー
ジから、ステージごとに実行される第2マイクロコンピ
ュータ21Tのクランク処理において、そのステージ番
号に応じたビット位置のデータ(すなわち第1ステージ
においては第1ビット目のデータ(Cb0及びCb1)が、
次の第2ステージにおいては第2ビット目のデータ(P
02及びP03))が汎用送信ポート22Aを介して出力さ
れる。そして、フレームデータの送信は、第0ステージ
において終了する。
These frame data are completed by at least the 0th stage. Then, in the crank processing of the second microcomputer 21T which is executed for each stage from the next first stage, the data of the bit position corresponding to the stage number (that is, the data of the first bit (Cb0 in the first stage) And Cb1)
In the next second stage, the second bit data (P
02 and P03)) are output via the general-purpose transmission port 22A. Then, the transmission of the frame data ends in the 0th stage.

【0108】このようにして、第2マイクロコンピュー
タ21Tから第1マイクロコンピュータ11Tに対し
て、各ステージごとに2ビットずつ(各Txbuf3 及びT
xbuf4より1ビットずつ)データが送信される。
In this way, two bits (each Txbuf3 and Tx) for each stage are transferred from the second microcomputer 21T to the first microcomputer 11T.
Data is transmitted from xbuf4 (one bit at a time).

【0109】図24はメインCPU及びノックCPUに
よるデータ送受信の手順の一例を示すタイムチャートで
ある。同図において、メインCPU側及びノックCPU
側のクランク処理に示された符号R及びTは、それぞれ
のCPUから見た場合の受信データ及び送信データを示
している。
FIG. 24 is a time chart showing an example of the procedure of data transmission / reception by the main CPU and the knock CPU. In the figure, the main CPU side and the knock CPU
Reference signs R and T shown in the crank processing on the side indicate reception data and transmission data as viewed from the respective CPUs.

【0110】図24において、メインCPUでは、第1
の実施例と異なり、ステージ開始と共にまず点火時期/
燃料量演算処理が実行され、その後クランク処理が実行
される。そして、メインCPU側でのデータの受信及び
送信は、ノックCPU側でステージ開始と同時に実行さ
れるクランク処理で行なわれるデータの受信及び送信か
ら、ずれた(この例では遅れた)タイミングで行なわれ
る。すなわち、ノックCPUのデータ送信→メインCP
Uのデータ受信→メインCPUのデータ送信→ノックC
PUのデータ受信→ノックCPUのデータ送信→…とい
うように、メインCPU及びノックCPU間でのデータ
送受信は、それぞれ異なるタイミングで、すなわち位相
差をもって実行される。
In FIG. 24, in the main CPU, the first
Unlike the embodiment of the first example, the ignition timing /
The fuel amount calculation process is executed, and then the crank process is executed. Then, the data reception and transmission on the main CPU side is performed at a timing (delayed in this example) deviated from the data reception and transmission performed on the knock CPU side in the crank processing executed simultaneously with the start of the stage. .. In other words, knock CPU data transmission → main CP
U data reception → Main CPU data transmission → Knock C
Data reception / transmission between the main CPU and the knock CPU is executed at different timings, that is, with a phase difference, such as PU data reception → knock CPU data transmission →.

【0111】この実施例においては、前記のタイミング
確保のために、ノックCPU側では、そのクランク処理
の最初の方のデータ受信及びデータ送信を行ない、メイ
ンCPU側では、クランク処理を点火時期/燃料量演算
処理よりも後で行ない、かつ該クランク処理の最後の方
でデータ受信及びデータ送信を行なうようにしている
が、要はメインCPU及びノックCPU間で異なるタイ
ミングでデータの送受信を行ない、データの送受信を確
実に行なうことができれば良い。
In this embodiment, in order to secure the above timing, the knock CPU side receives and transmits data at the beginning of the crank processing, and the main CPU side performs crank processing at the ignition timing / fuel. Data reception and data transmission are performed after the amount calculation processing and at the end of the crank processing, but the point is that data is transmitted and received at different timings between the main CPU and the knock CPU. It suffices to be able to reliably send and receive.

【0112】さて、図22に関して前述したように、第
0ステージにおいて、第1マイクロコンピュータ11T
より第2マイクロコンピュータ21Tに対して、パリテ
ィビットP00及びP01が送信される。第2マイクロコン
ピュータ21Tは、P00及びP01と、それ以外のフレー
ムデータとを比較して、第1マイクロコンピュータ11
T、あるいは受信データに異常が生じているか否かを判
定し、異常判定の場合には、LED22L(図22)を
付勢する。また、第1マイクロコンピュータ11Tに送
信する点火時期遅角量を、例えば固定値とする。
Now, as described above with reference to FIG. 22, in the 0th stage, the first microcomputer 11T
Then, the parity bits P00 and P01 are transmitted to the second microcomputer 21T. The second microcomputer 21T compares P00 and P01 with the other frame data, and compares them with the first microcomputer 11
It is determined whether or not there is an abnormality in T or the received data. In the case of the abnormality determination, the LED 22L (FIG. 22) is energized. Further, the ignition timing retard amount transmitted to the first microcomputer 11T is set to a fixed value, for example.

【0113】同様に、第2マイクロコンピュータ21T
から第1マイクロコンピュータ11Tに対しては、第1
及び第2ステージにおいて、チェックビットCb0及びC
b1、並びにパリティビットP02及びP03が送信される。
第1マイクロコンピュータ11Tは、Cb0及びCb1が
“L”であると判定した場合には、第2マイクロコンピ
ュータ21T、あるいは受信データに異常が生じている
ものと判定し、LED12L及び/あるいはランプ12
Mを付勢する。またP02及びP03と、該P02及びP03並
びにCb0及びCb1以外のフレームデータとを比較して、
第2マイクロコンピュータ21Tあるいは受信データに
異常が生じているものと判定した場合にも、LED12
L及び/あるいはランプ12Mを付勢する。前記異常検
出時には、第2マイクロコンピュータ21Tより送信さ
れたデータは採用されない。
Similarly, the second microcomputer 21T
From the first microcomputer 11T to the first
And in the second stage, check bits Cb0 and Cb
b1 and parity bits P02 and P03 are transmitted.
When the first microcomputer 11T determines that Cb0 and Cb1 are “L”, it determines that the second microcomputer 21T or the received data has an abnormality, and the LED 12L and / or the lamp 12
Energize M. Further, P02 and P03 are compared with the frame data other than P02 and P03 and Cb0 and Cb1,
Even when it is determined that there is an abnormality in the second microcomputer 21T or the received data, the LED 12
Energize L and / or lamp 12M. When the abnormality is detected, the data transmitted from the second microcomputer 21T is not adopted.

【0114】なお、Cb0及びCb1は、そのフレームデー
タの最初の送出ステージである第1ステージで送信され
るので、該Cb0及びCb1による異常検出時には、残りの
データ(すなわちIgkn0〜Igkn6、F/Sフラグ並びに
P02及びP03)を受信する必要がない。したがって、当
該第1マイクロコンピュータ11Tの負荷が軽減され
る。
Since Cb0 and Cb1 are transmitted in the first stage which is the first transmission stage of the frame data, the remaining data (that is, Igkn0 to Igkn6, F / S) is detected when an abnormality is detected by Cb0 and Cb1. No need to receive flags and P02 and P03). Therefore, the load on the first microcomputer 11T is reduced.

【0115】また、この第2の実施例では、各ステージ
ごとに点火時期/燃料量を演算するものであり、例えば
6気筒エンジンにおいては各気筒の点火ごとにその点火
時期/燃料量を演算することができるが、第1の実施例
に示したように点火時期/燃料量演算処理を6ステージ
ごとに1回のみ行なうようにしても良い。
In the second embodiment, the ignition timing / fuel amount is calculated for each stage. For example, in a 6-cylinder engine, the ignition timing / fuel amount is calculated for each ignition of each cylinder. However, as shown in the first embodiment, the ignition timing / fuel amount calculation process may be performed only once every six stages.

【0116】さらに、図24においては、ノックCPU
によるデータ送信は50[μs]以内に完了され、メイ
ンCPUによるデータ受信は、100[μs]以上経過
した後に行なわれるものとして示されているが、これは
あくまでも一例である。
Further, in FIG. 24, a knock CPU
It is shown that the data transmission by (1) is completed within 50 [μs], and the data reception by the main CPU is performed after 100 [μs] or more has passed, but this is merely an example.

【0117】さらにまた、チェックビットCb0及びCb1
は、第2マイクロコンピュータ21Tのみより送信され
るものとしたが、第1マイクロコンピュータ11Tから
も送信するようにしても良いことは当然である。また、
ウォッチドッグタイマを第1マイクロコンピュータ側に
も設けて、その出力を第2マイクロコンピュータ側に送
るようにしても良い。
Furthermore, check bits Cb0 and Cb1
Is transmitted from only the second microcomputer 21T, but it goes without saying that it may be transmitted from the first microcomputer 11T. Also,
A watchdog timer may be provided on the first microcomputer side and the output thereof may be sent to the second microcomputer side.

【0118】さらに、異常検知時に付勢される異常表示
手段は、ランプやLEDのみに限定されず、LCD表示
装置や音声出力装置等を用いても良い。
Further, the abnormality display means that is activated when an abnormality is detected is not limited to the lamp and the LED, and an LCD display device, a voice output device, or the like may be used.

【0119】[0119]

【発明の効果】以上の説明から明らかなように、本発明
によれば、次のような効果が達成される。 (1) 請求項1ないし3記載の車両用電子制御装置によれ
ば、データの受信側マイクロコンピュータで、送信側マ
イクロコンピュータやデータの送信ラインの異常、ある
いはノイズの混入等を検出することができる。 (2) 請求項4記載の車両用電子制御装置によれば、クラ
ンク軸回転角に応じたデータの送信が、バッファ内から
のデータの読出しだけで済むようになるので、クランク
軸回転角に応じた、データ送信のためのデータ処理以外
のデータ処理(クランク処理)に要する時間が遅延され
ることがない。この結果、エンジン回転数が高くなって
も、車両制御のための各種制御も遅延されず、良好に行
われることができる。 (3) 請求項5記載の車両用電子制御装置によれば、相手
側マイクロコンピュータの異常が検出された場合にその
旨が表示されるので、当該車両用電子制御装置の異常の
生じた箇所(すなわち異常の生じたマイクロコンピュー
タ、あるいはポート、通信ライン等)を特定することが
できる。
As is clear from the above description, according to the present invention, the following effects can be achieved. (1) According to the electronic control unit for a vehicle according to any one of claims 1 to 3, the microcomputer on the data receiving side can detect abnormality in the microcomputer on the transmitting side or the transmission line of the data, mixing of noise, or the like. .. (2) According to the electronic control device for a vehicle of claim 4, the data transmission according to the crankshaft rotation angle can be performed only by reading the data from the buffer. Therefore, according to the crankshaft rotation angle. Moreover, the time required for data processing (crank processing) other than data processing for data transmission is not delayed. As a result, even if the engine speed becomes high, various controls for vehicle control can be performed satisfactorily without delay. (3) According to the electronic control device for a vehicle of claim 5, when the abnormality of the partner microcomputer is detected, the fact is displayed. Therefore, the location of the abnormality in the electronic control device for the vehicle ( That is, it is possible to identify the microcomputer in which an abnormality has occurred, or the port, communication line, etc.).

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

【図1】 本発明の第1の実施例の機能ブロック図の一
部を示すものであり、図2と組み合わせてその全体図を
示す。
FIG. 1 shows a part of a functional block diagram of a first embodiment of the present invention, and shows an overall view thereof in combination with FIG.

【図2】 本発明の第1の実施例の機能ブロック図の一
部を示すものであり、図1と組み合わせてその全体図を
示す。
FIG. 2 shows a part of a functional block diagram of a first embodiment of the present invention, and shows an overall view in combination with FIG.

【図3】 本発明の第1の実施例のブロック図である。FIG. 3 is a block diagram of a first embodiment of the present invention.

【図4】 メインCPU12からノックCPU22へデ
ータ送信を行う場合の主要動作を示すタイムチャートで
ある。
FIG. 4 is a time chart showing a main operation when data is transmitted from the main CPU 12 to the knock CPU 22.

【図5】 メインCPU12により行われる処理動作の
うちの、メインCPU12からノックCPU22へデー
タ送信を行う場合の主要処理動作(クランク処理)を示
すフローチャートである。
FIG. 5 is a flowchart showing a main processing operation (crank processing) when data is transmitted from the main CPU 12 to the knock CPU 22 among processing operations performed by the main CPU 12.

【図6】 メインCPU12により行われる処理動作の
うちの、メインCPU12からノックCPU22へデー
タ送信を行う場合の主要処理動作(点火時期/燃料量演
算処理)を示すフローチャートである。
FIG. 6 is a flowchart showing a main processing operation (ignition timing / fuel amount calculation processing) when data is transmitted from the main CPU 12 to the knock CPU 22 among processing operations performed by the main CPU 12.

【図7】 メインCPU12により行われるバックグラ
ウンド処理を示すフローチャートである。
FIG. 7 is a flowchart showing background processing performed by the main CPU 12.

【図8】 ノックCPU22により行われる処理動作の
うちの、メインCPU12からノックCPU22へデー
タ送信を行う場合の主要処理動作(クランク処理)を示
すフローチャートである。
FIG. 8 is a flowchart showing a main processing operation (crank processing) when data is transmitted from the main CPU 12 to the knock CPU 22 among processing operations performed by the knock CPU 22.

【図9】 ノックCPU22により行われるバックグラ
ウンド処理を示すフローチャートである。
FIG. 9 is a flowchart showing a background process performed by knock CPU 22.

【図10】 第1マイクロコンピュータ11に設けられ
る8ビットバッファTxbuf、及び該バッファ内にデータ
が構成される様子を説明するための図である。
FIG. 10 is a diagram for explaining an 8-bit buffer Txbuf provided in the first microcomputer 11 and how data is configured in the buffer.

【図11】 ノックCPU22からメインCPU12へ
データ送信を行う場合の主要動作を示すタイムチャート
である。
FIG. 11 is a time chart showing a main operation when data is transmitted from the knock CPU 22 to the main CPU 12.

【図12】 メインCPU12により行われる処理動作
のうちの、ノックCPU22からメインCPU12へデ
ータ送信を行う場合の主要処理動作(クランク処理)を
示すフローチャートである。
FIG. 12 is a flowchart showing a main processing operation (crank processing) when data is transmitted from the knock CPU 22 to the main CPU 12, among processing operations performed by the main CPU 12.

【図13】 メインCPU12により行われる処理動作
のうちの、ノックCPU22からメインCPU12へデ
ータ送信を行う場合の主要処理動作(点火時期/燃料量
演算処理)を示すフローチャートである。
FIG. 13 is a flowchart showing a main processing operation (ignition timing / fuel amount calculation processing) when data is transmitted from the knock CPU 22 to the main CPU 12, among processing operations performed by the main CPU 12.

【図14】 ノックCPU22により行われる処理動作
のうちの、ノックCPU22からメインCPU12へデ
ータ送信を行う場合の主要処理動作(クランク処理)を
示すフローチャートである。
FIG. 14 is a flowchart showing a main processing operation (crank processing) when data is transmitted from knock CPU 22 to main CPU 12, among processing operations performed by knock CPU 22.

【図15】 本発明の第1の実施例のタイムチャートで
ある。
FIG. 15 is a time chart of the first embodiment of the present invention.

【図16】 メインCPU12により実行されるクラン
ク処理を示すフローチャートである。
FIG. 16 is a flowchart showing crank processing executed by the main CPU 12.

【図17】 メインCPU12により実行される点火時
期/燃料量演算処理を示すフローチャートである。
FIG. 17 is a flowchart showing an ignition timing / fuel amount calculation process executed by the main CPU 12.

【図18】 ノックCPU22により実行されるクラン
ク処理を示すフローチャートである。
FIG. 18 is a flowchart showing a crank process executed by knock CPU 22.

【図19】 複数のマイクロコンピュータ間で行われる
従来のデータ通信手法の一例を示す図である。
FIG. 19 is a diagram showing an example of a conventional data communication method performed between a plurality of microcomputers.

【図20】 複数のマイクロコンピュータ間で行われる
従来のデータ通信手法の他の例を示す図である。
FIG. 20 is a diagram showing another example of a conventional data communication method performed between a plurality of microcomputers.

【図21】 本発明の第2の実施例の機能ブロック図で
ある。
FIG. 21 is a functional block diagram of a second embodiment of the present invention.

【図22】 第1マイクロコンピュータ11Tに設けら
れる2つの8ビットバッファTxbuf1 及びTxbuf2 を示
す図である。
FIG. 22 is a diagram showing two 8-bit buffers Txbuf1 and Txbuf2 provided in the first microcomputer 11T.

【図23】 第2マイクロコンピュータ21Tに設けら
れる2つの8ビットバッファTxbuf3 及びTxbuf4 を示
す図である。
FIG. 23 is a diagram showing two 8-bit buffers Txbuf3 and Txbuf4 provided in the second microcomputer 21T.

【図24】 本発明の第2の実施例のタイムチャートで
ある。
FIG. 24 is a time chart of the second embodiment of the present invention.

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

11,11T…第1マイクロコンピュータ、12…メイ
ンCPU、12A…汎用送信ポート、12B,12Q…
汎用受信ポート、12L,22L…LED、12M…ラ
ンプ、21,21T…第2マイクロコンピュータ、22
…ノックCPU、22A,22P…汎用送信ポート、2
2B…汎用受信ポート、38…ノックセンサ、43…点
火プラグ、45…インジェクタ、47…ソレノイド、5
1,81…ステージ判別手段、57…バッファTxbuf、
60…ノッキング制御手段、63,63A,86…異常
信号発生手段、82…バッファRxbuf、84…ノッキン
グ判別手段、87…パリティビット設定手段、88…ウ
ォッチドッグタイマ、91,92…制御量等演算手段
11, 11T ... First microcomputer, 12 ... Main CPU, 12A ... General-purpose transmission port, 12B, 12Q ...
General-purpose reception port, 12L, 22L ... LED, 12M ... Lamp, 21, 21T ... Second microcomputer, 22
... Knock CPU, 22A, 22P ... General-purpose transmission port, 2
2B ... General-purpose reception port, 38 ... Knock sensor, 43 ... Spark plug, 45 ... Injector, 47 ... Solenoid, 5
1, 81 ... Stage discrimination means, 57 ... Buffer Txbuf,
60 ... Knocking control means, 63, 63A, 86 ... Abnormal signal generation means, 82 ... Buffer Rxbuf, 84 ... Knocking determination means, 87 ... Parity bit setting means, 88 ... Watchdog timer, 91, 92 ... Control amount computing means

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成4年5月12日[Submission date] May 12, 1992

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0110[Correction target item name] 0110

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0110】 図24において、メインCPUでは、第
1の実施例と同様に、ステージ開始と共にまずクランク
処理が実行される。そして、メインCPU側でのデータ
の受信及び送信は、ノックCPU側でステージ開始と同
時に実行されるクランク処理で行なわれるデータの受信
及び送信から、ずれた(この例では遅れた)タイミング
で行なわれる。すなわち、ノックCPUのデータ送信→
メインCPUのデータ受信→メインCPUのデータ送信
→ノックCPUのデータ受信→ノックCPUのデータ送
信→…というように、メインCPU及びノックCPU間
でのデータ送受信は、それぞれ異なるタイミングで、す
なわち位相差をもって実行される。
In FIG. 24, in the main CPU, similarly to the first embodiment, the crank process is first executed when the stage starts. Then, the data reception and transmission on the main CPU side is performed at a timing (delayed in this example) deviated from the data reception and transmission performed on the knock CPU side in the crank processing executed simultaneously with the start of the stage. .. That is, the data transmission of the knock CPU →
Data reception / transmission between the main CPU and the knock CPU, such as data reception of the main CPU → data transmission of the main CPU → data reception of the knock CPU → data transmission of the knock CPU → ... Executed.

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0115[Correction target item name] 0115

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0115】 また、この第2の実施例でも、第1の実
施例と同様に点火時期/燃料量演算処理を6ステージご
とに1回のみ行なうようにしたが、各ステージごとに点
火時期/燃料量を毎回演算するようにしてもよい。例え
ば6気筒エンジンにおいては、各気筒の点火ごとにその
点火時期/燃料量を演算するように構成しても良い。
Also in the second embodiment, the ignition timing / fuel amount calculation process is performed only once every six stages as in the first embodiment. However, the ignition timing / fuel amount is calculated for each stage. The amount may be calculated every time. For example, in a 6-cylinder engine, the ignition timing / fuel amount may be calculated for each ignition of each cylinder.

【手続補正3】[Procedure 3]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図24[Name of item to be corrected] Fig. 24

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図24】 FIG. 24

───────────────────────────────────────────────────── フロントページの続き (72)発明者 藤本 幸人 埼玉県和光市中央一丁目4番1号 株式会 社本田技術研究所内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Yukito Fujimoto 1-4-1 Chuo, Wako-shi, Saitama Stock Research Institute Honda Technical Research Institute

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 クランク軸の回転角に応じて各種処理を
行う複数のマイクロコンピュータを備え、該回転角に応
じて、前記各マイクロコンピュータ間でシリアルデータ
通信を行う車両用電子制御装置において、 前記複数のマイクロコンピュータのうちの少なくとも一
のマイクロコンピュータは、送信すべきデータを用いて
該データにパリティチェック用のパリティビットを付加
しフレームデータを作成するフレームデータ作成手段
と、前記フレームデータを送信するためのフレームデー
タ送信用汎用送信ポートと、クランク軸回転角に応じ
て、前記フレームデータを、前記フレームデータ送信用
汎用送信ポートに所定の順番で1ビットずつデータを送
出するデータ送信手段とを具備し、 前記複数のマイクロコンピュータのうちの少なくとも他
のマイクロコンピュータは、前記フレームデータ送信用
汎用送信ポートに接続されるフレームデータ受信用汎用
受信ポートと、クランク軸回転角に応じて、前記フレー
ムデータ受信用汎用受信ポートから1ビットずつデータ
を受信するデータ受信手段と、受信データからパリティ
ビットを検出し、前記一のマイクロコンピュータ及び受
信データの少なくとも一方の異常を検出する異常検出手
段とを具備し、 前記データ送信手段及びデータ受信手段は、位相差をも
ってデータの送信及び受信を行うことを特徴とする車両
用電子制御装置。
1. An electronic control unit for a vehicle, comprising: a plurality of microcomputers that perform various processes according to a rotation angle of a crankshaft; and serial data communication between the microcomputers according to the rotation angles. At least one microcomputer of the plurality of microcomputers uses the data to be transmitted, adds a parity bit for parity check to the data and creates frame data, and transmits the frame data. General-purpose transmission port for frame data transmission, and data transmission means for transmitting the frame data to the general-purpose transmission port for frame data transmission in 1-bit units in a predetermined order according to the crankshaft rotation angle. And at least another of the plurality of microcomputers The microcomputer is a general-purpose reception port for frame data reception connected to the general-purpose transmission port for frame data transmission, and data for receiving data bit by bit from the general-purpose reception port for frame data reception according to a crankshaft rotation angle. The data transmitting means and the data receiving means include a receiving means and an abnormality detecting means for detecting a parity bit from the received data to detect an abnormality of at least one of the one microcomputer and the received data, and the data transmitting means and the data receiving means have a phase difference. An electronic control device for a vehicle, which transmits and receives data.
【請求項2】 クランク軸の回転角に応じて各種処理を
行う複数のマイクロコンピュータを備え、該回転角に応
じて、前記各マイクロコンピュータ間でシリアルデータ
通信を行う車両用電子制御装置において、 前記複数のマイクロコンピュータのうちの少なくとも一
のマイクロコンピュータは、ウォッチドッグタイマと、
該ウォッチドッグタイマの出力信号を送信するためのウ
ォッチドッグ出力送信用汎用送信ポートとを具備し、 前記複数のマイクロコンピュータのうちの少なくとも他
のマイクロコンピュータは、前記ウォッチドッグ出力送
信用汎用送信ポートに接続されるウォッチドッグ出力受
信用汎用受信ポートと、前記ウォッチドッグ出力受信用
汎用受信ポートから前記ウォッチドッグタイマの出力信
号を検出し、前記一のマイクロコンピュータ及び受信デ
ータの少なくとも一方の異常を検出する異常検出手段と
を具備したことを特徴とする車両用電子制御装置。
2. An electronic control device for a vehicle, comprising: a plurality of microcomputers that perform various processes according to a rotation angle of a crankshaft; and serial data communication between the microcomputers according to the rotation angles. At least one of the plurality of microcomputers has a watchdog timer,
A watchdog output transmission general-purpose transmission port for transmitting an output signal of the watchdog timer, wherein at least another microcomputer of the plurality of microcomputers is connected to the watchdog output transmission general-purpose transmission port. A watchdog output reception general-purpose reception port and a watchdog output reception general-purpose reception port that are connected detect an output signal of the watchdog timer, and detect an abnormality of at least one of the one microcomputer and reception data. An electronic control unit for a vehicle, comprising: an abnormality detecting means.
【請求項3】 クランク軸の回転角に応じて各種処理を
行う複数のマイクロコンピュータを備え、該回転角に応
じて、前記各マイクロコンピュータ間でシリアルデータ
通信を行う車両用電子制御装置において、 前記複数のマイクロコンピュータのうちの少なくとも一
のマイクロコンピュータは、送信すべきデータを用いて
該データにパリティチェック用のパリティビットを付加
しフレームデータを作成するフレームデータ作成手段
と、前記フレームデータを送信するためのフレームデー
タ送信用汎用送信ポートと、クランク軸回転角に応じ
て、前記フレームデータを、前記フレームデータ送信用
汎用送信ポートに所定の順番で1ビットずつデータを送
出するデータ送信手段と、ウォッチドッグタイマと、該
ウォッチドッグタイマの出力信号を送信するためのウォ
ッチドッグ出力送信用汎用送信ポートとを具備し、 前記複数のマイクロコンピュータのうちの少なくとも他
のマイクロコンピュータは、前記フレームデータ送信用
汎用送信ポートに接続されるフレームデータ受信用汎用
受信ポートと、クランク軸回転角に応じて、前記フレー
ムデータ受信用汎用受信ポートから1ビットずつデータ
を受信するデータ受信手段と、前記ウォッチドッグ出力
送信用汎用送信ポートに接続されるウォッチドッグ出力
受信用汎用受信ポートと、異常検出手段とを具備し、 前記データ送信手段及びデータ受信手段は、位相差をも
ってデータの送信及び受信を行い、 前記異常検出手段は、受信データからパリティビットを
検出すると共に、前記ウォッチドッグ出力受信用汎用受
信ポートから前記ウォッチドッグタイマの出力信号を検
出し、前記パリティビット及び前記ウォッチドッグタイ
マの出力の少なくとも一方に応じて、前記一のマイクロ
コンピュータ及び受信データの少なくとも一方の異常を
検出することを特徴とする車両用電子制御装置。
3. An electronic control device for a vehicle, comprising: a plurality of microcomputers that perform various processes according to a rotation angle of a crankshaft; and serial data communication between the microcomputers according to the rotation angles. At least one microcomputer of the plurality of microcomputers uses the data to be transmitted, adds a parity bit for parity check to the data and creates frame data, and transmits the frame data. A general-purpose transmission port for frame data transmission, a data transmission means for transmitting the frame data to the general-purpose transmission port for frame data transmission in 1-bit units in a predetermined order in accordance with a crankshaft rotation angle, and a watch. The output signal of the dog timer and the watchdog timer A general-purpose transmission port for transmitting watchdog output for transmission, wherein at least another microcomputer of the plurality of microcomputers is connected to the general-purpose transmission port for frame data transmission, and receives general-purpose reception for frame data reception. Port, data receiving means for receiving data bit by bit from the general-purpose reception port for frame data reception according to the crankshaft rotation angle, and for watchdog output reception connected to the general-purpose transmission port for watchdog output transmission A general-purpose reception port and an abnormality detection means are provided, the data transmission means and the data reception means perform transmission and reception of data with a phase difference, and the abnormality detection means detects a parity bit from the received data, From the general-purpose reception port for receiving the watchdog output, A vehicle electronic control characterized by detecting an output signal of a chidog timer and detecting an abnormality of at least one of the one microcomputer and received data according to at least one of the parity bit and the output of the watchdog timer. apparatus.
【請求項4】 前記一のマイクロコンピュータは、さら
に、前記データ送信手段より送信されるべきフレームデ
ータをバッファ内に一時記憶すると共に、前記データ送
出手段は、クランク軸回転角に応じて、前記バッファ内
データを1ビットずつ前記フレームデータ送信用汎用送
信ポートに送出することを特徴とする請求項1又は3記
載の車両用電子制御装置。
4. The one microcomputer further temporarily stores frame data to be transmitted from the data transmitting means in a buffer, and the data transmitting means further comprises the buffer according to a crankshaft rotation angle. 4. The vehicle electronic control device according to claim 1, wherein the internal data is transmitted bit by bit to the general-purpose transmission port for frame data transmission.
【請求項5】 前記異常検出手段に接続され、該手段の
出力に応じて異常を表示する異常表示手段をさらに備え
たことを特徴とする請求項1ないし4のいずれかに記載
の車両用電子制御装置。
5. The vehicle electronic device according to claim 1, further comprising an abnormality display unit connected to the abnormality detection unit and displaying an abnormality according to an output of the unit. Control device.
JP25597891A 1991-09-09 1991-09-09 Electronic control unit for vehicle Pending JPH0571410A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25597891A JPH0571410A (en) 1991-09-09 1991-09-09 Electronic control unit for vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25597891A JPH0571410A (en) 1991-09-09 1991-09-09 Electronic control unit for vehicle

Publications (1)

Publication Number Publication Date
JPH0571410A true JPH0571410A (en) 1993-03-23

Family

ID=17286210

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25597891A Pending JPH0571410A (en) 1991-09-09 1991-09-09 Electronic control unit for vehicle

Country Status (1)

Country Link
JP (1) JPH0571410A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5832395A (en) * 1995-07-26 1998-11-03 Nippondenso Co. Ltd. Electric automotive vehicle control apparatus
US5987365A (en) * 1995-12-04 1999-11-16 Toyota Jidosha Kabushiki Kaisha Electronic control apparatus for vehicle
JP2006223036A (en) * 2005-02-09 2006-08-24 Fuji Electric Systems Co Ltd Power conversion control system
KR100723579B1 (en) * 2004-05-04 2007-05-31 볼보 컨스트럭션 이키프먼트 홀딩 스웨덴 에이비 Cylinder protective apparatus for preventing strange noise
JP2014092047A (en) * 2012-11-01 2014-05-19 Denso Corp Counter device
JP5968501B1 (en) * 2015-06-01 2016-08-10 三菱電機株式会社 In-vehicle electronic control unit

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63183254A (en) * 1987-01-15 1988-07-28 ローベルト・ボッシュ・ゲゼルシャフト・ミット・ベシュレンクテル・ハフツング Monitor for computer system with two processor
JPH03149338A (en) * 1989-11-07 1991-06-25 Honda Motor Co Ltd Electronic controller for vehicle

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63183254A (en) * 1987-01-15 1988-07-28 ローベルト・ボッシュ・ゲゼルシャフト・ミット・ベシュレンクテル・ハフツング Monitor for computer system with two processor
JPH03149338A (en) * 1989-11-07 1991-06-25 Honda Motor Co Ltd Electronic controller for vehicle

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5832395A (en) * 1995-07-26 1998-11-03 Nippondenso Co. Ltd. Electric automotive vehicle control apparatus
US5987365A (en) * 1995-12-04 1999-11-16 Toyota Jidosha Kabushiki Kaisha Electronic control apparatus for vehicle
KR100723579B1 (en) * 2004-05-04 2007-05-31 볼보 컨스트럭션 이키프먼트 홀딩 스웨덴 에이비 Cylinder protective apparatus for preventing strange noise
JP2006223036A (en) * 2005-02-09 2006-08-24 Fuji Electric Systems Co Ltd Power conversion control system
JP4661251B2 (en) * 2005-02-09 2011-03-30 富士電機システムズ株式会社 Power conversion control system
JP2014092047A (en) * 2012-11-01 2014-05-19 Denso Corp Counter device
US9153081B2 (en) 2012-11-01 2015-10-06 Denso Corporation Counter apparatus
JP5968501B1 (en) * 2015-06-01 2016-08-10 三菱電機株式会社 In-vehicle electronic control unit

Similar Documents

Publication Publication Date Title
US5497751A (en) Safety control apparatus for reciprocating engine
EP0058561B1 (en) Fuel injection control method
US20080109151A1 (en) Method and Control Device for Triggering Solenoid Valves Assigned to Gas-Exchange Valves
JPH0571410A (en) Electronic control unit for vehicle
US4765306A (en) Combustion engine stroke identification system
US6796169B2 (en) Cylinder identifying system for internal combustion engine
JP3494740B2 (en) Engine fuel supply
US5465613A (en) Self-diagnosing apparatus for motor vehicles
JP2000503386A (en) Ignition control method for multi-cylinder internal combustion engine
JP2001265617A (en) Controller for vehicle provided with diagnosis function and recording medium
US11536215B2 (en) Straddled vehicle engine unit and straddled vehicle
US4996964A (en) Backup apparatus for ignition and fuel system
JPH03149338A (en) Electronic controller for vehicle
JPS6181549A (en) Fuel feed control method for multicylinder internal-combustion engine
EP0115827A2 (en) Method of controlling engine
JPH07310587A (en) Controller for internal combustion engine in vehicle
JPH1030489A (en) Cylinder judging method of internal combustion engine
JP3339763B2 (en) Analog / digital converter
JP2551121B2 (en) Control data communication method and device
JPS62258831A (en) Abnormality diagnosis device
JPH07279727A (en) Engine control device for vehicle
US20210189976A1 (en) Outboard motor
JPH09137743A (en) Failure detection device for internal combustion engine and control device for internal combustion engine furnished with device therefor
JP3358288B2 (en) Engine cylinder discriminator
JPH08102980A (en) Electronic controller