JP2002250250A - Internal combustion engine control device - Google Patents

Internal combustion engine control device

Info

Publication number
JP2002250250A
JP2002250250A JP2001047123A JP2001047123A JP2002250250A JP 2002250250 A JP2002250250 A JP 2002250250A JP 2001047123 A JP2001047123 A JP 2001047123A JP 2001047123 A JP2001047123 A JP 2001047123A JP 2002250250 A JP2002250250 A JP 2002250250A
Authority
JP
Japan
Prior art keywords
cpu
internal combustion
combustion engine
ignition
port
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.)
Withdrawn
Application number
JP2001047123A
Other languages
Japanese (ja)
Inventor
Kazuo Matsuda
和男 松田
Yasukazu Hatano
靖一 波多野
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.)
Mahle Electric Drive Systems Co Ltd
Original Assignee
Kokusan Denki 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 Kokusan Denki Co Ltd filed Critical Kokusan Denki Co Ltd
Priority to JP2001047123A priority Critical patent/JP2002250250A/en
Publication of JP2002250250A publication Critical patent/JP2002250250A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Ignition Installations For Internal Combustion Engines (AREA)
  • Output Control And Ontrol Of Special Type Engine (AREA)
  • Electrical Control Of Air Or Fuel Supplied To Internal-Combustion Engine (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

PROBLEM TO BE SOLVED: To securely stop an internal combustion engine when a part of CPUs operates wrongly in an internal combustion engine control device with plural CPUs for controlling the internal combustion engine together with other objects to be controlled. SOLUTION: Plural CPUs 702 and 703 are connected to each other via a communication line 707, and a CPU abnormal operation detecting means for detecting abnormality of the operation of the other CPU is mounted in each CPU. Further, an engine stopping means is mounted in each CPU for stopping the internal combustion engine 4 when each CPU detects abnormality in the operation of the other CPU by the CPU abnormal operation detecting means.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数のCPUを備
えて、内燃機関を他の制御対象とともに制御する内燃機
関用制御装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device for an internal combustion engine having a plurality of CPUs for controlling the internal combustion engine together with other control objects.

【0002】[0002]

【従来の技術】内燃機関の点火時期を制御する制御装置
として、各種の制御条件に対してCPUにより点火時期
を演算して、演算した点火時期が検出された時に点火動
作を行わせるようにしたものが用いられている。また内
燃機関に燃料を供給する燃料供給経路の途中に燃料弁を
設けて、該燃料弁の開閉をCPUにより制御することが
行われている。
2. Description of the Related Art As a control device for controlling the ignition timing of an internal combustion engine, an ignition timing is calculated by a CPU for various control conditions, and an ignition operation is performed when the calculated ignition timing is detected. Things are used. Further, a fuel valve is provided in a fuel supply path for supplying fuel to the internal combustion engine, and the opening and closing of the fuel valve is controlled by a CPU.

【0003】更に内燃機関と他の制御対象とを備えたシ
ステムにおいては、内燃機関と他の制御対象とを同じ制
御装置により制御することが行われている。
Further, in a system having an internal combustion engine and another control target, the same control device controls the internal combustion engine and another control target.

【0004】上記のように、複数の制御対象を制御する
場合であっても、システムの規模が比較的小さい場合に
は、単一のCPUにより制御を行うことが可能である
が、ガスを燃料とする内燃機関によりヒートポンプを駆
動して空調を図るガス・ヒートポンプ(GHP)のよう
に、システムの規模が大きく、内燃機関用点火装置の他
に多くの制御対象を制御する必要がある場合には、CP
Uのポート数や、処理能力上の理由から、複数のCPU
を用いて、各CPUに制御を分担させることが多い。
As described above, even when a plurality of control objects are controlled, if the system scale is relatively small, control can be performed by a single CPU. When a heat pump is driven by an internal combustion engine to perform air conditioning, such as a gas heat pump (GHP), the size of the system is large, and it is necessary to control many control targets in addition to the ignition device for the internal combustion engine. , CP
Due to the number of ports of U and processing capacity, multiple CPUs
Is often used to control each CPU.

【0005】[0005]

【発明が解決しようとする課題】上記のように、複数の
CPUを備えた制御装置により内燃機関を他の制御対象
とともに制御する場合、一部のCPUの動作がノイズ等
により異常になったときには、システム全体としての制
御動作が適確に行われなくなるため、内燃機関を含むシ
ステム全体の動作を一旦停止させて、正常状態に復帰さ
せるための措置を講じる必要がある。
As described above, when the internal combustion engine is controlled together with other control objects by the control device having a plurality of CPUs, when the operation of some CPUs becomes abnormal due to noise or the like. Since the control operation of the entire system is not properly performed, it is necessary to temporarily stop the operation of the entire system including the internal combustion engine and take measures for returning to a normal state.

【0006】ところが、複数のCPUを備えた制御装置
により内燃機関を他の制御対象とともに制御する従来の
制御装置においては、一部のCPUの動作が異常になっ
ても、他のCPUによる制御動作はそのまま継続される
ようになっていたため、内燃機関以外の制御対象を制御
するCPUの動作が異常になったときに、内燃機関の制
御動作がそのまま継続されることがあり、機関の動作を
停止させることができないという問題があった。
However, in a conventional control device that controls an internal combustion engine together with other control objects by a control device having a plurality of CPUs, even if the operation of some CPUs becomes abnormal, the control operation by the other CPUs is performed. The control operation of the internal combustion engine may be continued as it is when the operation of the CPU that controls a control target other than the internal combustion engine becomes abnormal, and the operation of the engine is stopped. There was a problem that it could not be done.

【0007】本発明の目的は、複数のCPUを備えて内
燃機関を他の制御対象とともに制御する内燃機関制御装
置において、一部のCPUが誤動作をしたときに内燃機
関を確実に停止させることができるようにすることにあ
る。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an internal combustion engine control apparatus that includes a plurality of CPUs and controls the internal combustion engine together with other control objects. To be able to do it.

【0008】[0008]

【課題を解決するための手段】本発明は、複数のCPU
を用いて、内燃機関を他の制御対象とともに制御する内
燃機関制御装置に係わるものである。
According to the present invention, a plurality of CPUs are provided.
The present invention relates to an internal combustion engine control device that controls an internal combustion engine together with other control objects using the same.

【0009】本発明においては、複数のCPUを通信線
を介して相互に接続し、他のCPUの動作の異常を検出
するCPU動作異常検出手段を各CPUに設けておく。
In the present invention, a plurality of CPUs are interconnected via a communication line, and each CPU is provided with CPU operation abnormality detecting means for detecting an abnormality in the operation of another CPU.

【0010】また上記CPU動作異常検出手段により他
のCPUの動作の異常が検出されたときに内燃機関を停
止させる機関停止手段をすべてのCPUに設けておく。
Further, all the CPUs are provided with engine stop means for stopping the internal combustion engine when the CPU operation abnormality detection means detects an abnormality in the operation of another CPU.

【0011】上記のように構成すると、いずれのCPU
が誤動作をした場合でも、内燃機関を停止させることが
できるため、一部のCPUの動作が異常になったときに
内燃機関の運転が継続されるのを防ぐことができる。
With the above configuration, any CPU
Even if the CPU malfunctions, the internal combustion engine can be stopped, so that the operation of the internal combustion engine can be prevented from being continued when the operation of some CPUs becomes abnormal.

【0012】各CPUに設ける機関停止手段は、CPU
動作異常検出手段により他のCPUの動作の異常が検出
されたときに内燃機関を点火する点火装置の動作の停止
と内燃機関への燃料の供給の停止との少なくとも一方を
行わせて内燃機関を停止させるように構成することがで
きる。
The engine stop means provided for each CPU is a CPU
When the operation abnormality detecting means detects an abnormality in the operation of the other CPU, the internal combustion engine is caused to stop at least one of the operation of the ignition device that ignites the internal combustion engine and the supply of fuel to the internal combustion engine to stop the operation. It can be configured to stop.

【0013】本明細書では、「CPU」なる語を、マイ
クロプロセッサだけでなく、メモリ、タイマ、入出力装
置等の周辺機器をも含む広義の意味で用いている。
In this specification, the term "CPU" is used in a broad sense including not only a microprocessor but also peripheral devices such as a memory, a timer, and an input / output device.

【0014】上記CPU動作異常検出手段や、機関停止
手段等の機能実現手段は、CPUに所定のアルゴリズム
を有するプログラムを実行させることにより実現され
る。即ち、CPUに所定の機能実現手段を設けるという
ことは、CPUに実行させるためにROMに記憶させて
おくプログラムに所定の機能を実現するために必要な構
成を持たせておくことを意味する。
The function realizing means such as the CPU operation abnormality detecting means and the engine stopping means are realized by causing the CPU to execute a program having a predetermined algorithm. That is, providing the CPU with the predetermined function realizing means means that a program stored in the ROM for the CPU to execute has a configuration necessary for realizing the predetermined function.

【0015】[0015]

【発明の実施の形態】以下、ガス・ヒートポンプシステ
ムに設けられる内燃機関制御装置に本発明を適用する場
合を例にとって、本発明の実施形態を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below, taking as an example a case where the present invention is applied to an internal combustion engine control device provided in a gas heat pump system.

【0016】(1)第1の実施形態 図1は本発明の第1の実施形態の構成を示したもので、
同図において、1は商用交流電源、2及び3はそれぞれ
交流電源1の出力電圧を降圧する第1及び第2のトラン
ス、4はガスを燃料として駆動される内燃機関、5は燃
料供給源、6は燃料供給源5から内燃機関4に燃料を供
給する燃料供給経路の途中に挿入された燃料弁である。
図示の燃料弁6は交流電源1の電圧が印加されたときに
動作するソレノイドを駆動源として開閉操作される電磁
バルブであり、電源電圧が与えられたときに開動作を行
い、電源電圧が除去されたときに閉動作を行うように構
成されている。7は内燃機関制御装置で、この制御装置
7は、内燃機関4を他の制御対象8とともに制御する。
ここで他の制御対象8とは、例えば内燃機関4により駆
動されるヒートポンプである。また9は、内燃機関4の
回転軸(クランク軸やカム軸)に取り付けられたロータ
9Aと、ステータ9Bとからなるパルサ(パルス信号発
生器)で、このパルサのステータ9Bは、内燃機関の回
転軸の回転角度位置が所定の位置に一致したときにパル
ス信号を発生する。図示の例では、ロータ9Aが強磁性
材料からなっていて、その外周面の一部にリラクタ9A1
が形成されている。またステータ9Bは、例えば、ロー
タ9Aの外周に対向する磁極部を先端に有する鉄心と、
該鉄心に巻回されたパルサコイルと該鉄心に磁気結合さ
れた永久磁石とからなっていて、ロータ9Aの外周のリ
ラクタ9A1の回転方向の前端縁及び後端縁を検出したと
きにそれぞれ極性が異なるパルス信号を発生する。これ
らのパルス信号は、図示しない波形整形回路によりCP
Uが認識し得る波形の信号に変換されて制御装置7内の
CPUに入力される。
(1) First Embodiment FIG. 1 shows a configuration of a first embodiment of the present invention.
In the figure, 1 is a commercial AC power supply, 2 and 3 are first and second transformers respectively for decreasing the output voltage of the AC power supply 1, 4 is an internal combustion engine driven by using gas as fuel, 5 is a fuel supply source, Reference numeral 6 denotes a fuel valve inserted in the middle of a fuel supply path for supplying fuel from the fuel supply source 5 to the internal combustion engine 4.
The illustrated fuel valve 6 is an electromagnetic valve that is opened and closed using a solenoid that operates when a voltage of the AC power supply 1 is applied as a drive source, performs an opening operation when a power supply voltage is applied, and removes the power supply voltage. It is configured to perform a closing operation when it is performed. Reference numeral 7 denotes an internal combustion engine control device, which controls the internal combustion engine 4 together with other control targets 8.
Here, the other control target 8 is, for example, a heat pump driven by the internal combustion engine 4. Reference numeral 9 denotes a pulser (pulse signal generator) including a rotor 9A attached to a rotating shaft (crankshaft or camshaft) of the internal combustion engine 4 and a stator 9B. The stator 9B of the pulser controls the rotation of the internal combustion engine. A pulse signal is generated when the rotation angle position of the shaft matches a predetermined position. In the illustrated example, the rotor 9A is made of a ferromagnetic material, and a
Are formed. Further, the stator 9B includes, for example, an iron core having a magnetic pole portion facing the outer periphery of the rotor 9A at its tip,
It consists of a pulsar coil wound around the iron core and a permanent magnet magnetically coupled to the iron core, and has different polarities when detecting the front edge and the rear edge in the rotational direction of the reluctor 9A1 on the outer periphery of the rotor 9A. Generate a pulse signal. These pulse signals are converted into CP signals by a waveform shaping circuit (not shown).
The signal is converted into a signal having a waveform recognizable by U and input to the CPU in the control device 7.

【0017】10は後記する点火回路とともに内燃機関
用点火装置を構成する点火コイルで、図示の例では、一
次コイル10aと二次コイル10bとを有し、一次コイ
ル10aの一端と二次コイル10bの一端とがカソード
を一次コイル側に向けたダイオード11を通して接続さ
れている。点火コイルの二次コイル10bの他端は、内
燃機関の気筒に取り付けられた点火プラグ12の非接地
側の端子に高圧コードを通して接続されている。
Reference numeral 10 denotes an ignition coil which constitutes an ignition device for an internal combustion engine together with an ignition circuit described later. In the illustrated example, the ignition coil 10 has a primary coil 10a and a secondary coil 10b, and one end of the primary coil 10a and a secondary coil 10b. Is connected through a diode 11 with the cathode facing the primary coil. The other end of the secondary coil 10b of the ignition coil is connected to a non-ground side terminal of a spark plug 12 attached to a cylinder of the internal combustion engine through a high-voltage cord.

【0018】制御装置7は、直流電源部701と、第1
のCPU702(CPU1)及び第2のCPU703
(CPU2)の2つのCPUと、燃料弁6への通電をオ
ンオフするリレーRY1と、リレーRY1の駆動回路7
04と、点火コイル10とともに内燃機関用点火装置を
構成する点火回路705と、点火装置への点火電源電圧
の供給を制御するリレーRY2と、このリレーを駆動す
る駆動回路706とを備えている。
The control device 7 includes a DC power supply 701 and a first
CPU 702 (CPU 1) and second CPU 703
(CPU2), a relay RY1 for turning on / off the energization of the fuel valve 6, and a drive circuit 7 for the relay RY1.
The ignition circuit 10 includes an ignition circuit 705 that forms an ignition device for an internal combustion engine together with the ignition coil 10, a relay RY2 that controls supply of an ignition power supply voltage to the ignition device, and a drive circuit 706 that drives the relay.

【0019】直流電源部701は、交流電源1の出力電
圧をトランス2により降圧して得た電圧を整流するダイ
オードブリッジ全波整流器Rec1 と、この整流器の出
力で充電される平滑用コンデンサC1 と、整流器Rec
1 の出力電圧を入力として一定の直流電圧を出力する3
端子レギュレータRegとからなっていて、レギュレー
タRegの出力端子間に、CPU等を駆動するための電
圧E1 を発生させ、コンデンサC1 の両端にリレーを駆
動するための電圧E2 を発生させる。
The DC power supply 701 includes a diode bridge full-wave rectifier Rec1 for rectifying a voltage obtained by stepping down the output voltage of the AC power supply 1 by the transformer 2, a smoothing capacitor C1 charged by the output of the rectifier, Rectifier Rec
Outputs a constant DC voltage with the output voltage of 1 as input 3
A voltage regulator Reg is provided between the output terminals of the regulator Reg to generate a voltage E1 for driving a CPU or the like, and a voltage E2 for driving a relay across the capacitor C1.

【0020】リレーRY1は、交流電源1の一方の出力
端子と燃料弁6の一方の入力端子との間に挿入された常
開接点a1 と、励磁コイルL1 とを有し、励磁コイルL
1 の両端にはフライホイールダイオードD1 が接続され
ている。
The relay RY1 has a normally open contact a1 inserted between one output terminal of the AC power supply 1 and one input terminal of the fuel valve 6, and an exciting coil L1.
A flywheel diode D1 is connected to both ends of 1.

【0021】励磁コイルL1 の一端はエミッタが接地さ
れたNPNトランジスタTR1 のコレクタに接続され、
励磁コイルL1 の他端は直流電源部701のコンデンサ
C1の非接地側の端子に接続されている。トランジスタ
TR1 のベースは、第2のCPU703のポートP1 に
抵抗R1 を通して接続され、CPU703のポートP1
は抵抗R2 を通してレギュレータRegの非接地側出力
端子に接続されている。またトランジスタTR1 のベー
スエミッタ間には抵抗R3 が接続され、トランジスタT
R1 と抵抗R1 ないしR3 とによりリレーRY1 の駆動
回路703が構成されている。
One end of the exciting coil L1 is connected to the collector of an NPN transistor TR1 whose emitter is grounded.
The other end of the exciting coil L1 is connected to the non-ground terminal of the capacitor C1 of the DC power supply 701. The base of the transistor TR1 is connected to the port P1 of the second CPU 703 through the resistor R1.
Is connected to the non-ground side output terminal of the regulator Reg through the resistor R2. A resistor R3 is connected between the base and the emitter of the transistor TR1.
A drive circuit 703 for the relay RY1 is constituted by R1 and the resistors R1 to R3.

【0022】リレーRY2は交流電源1の一方の出力端
子とトランス3の一次コイル3aの一端との間に挿入さ
れた常開接点a2 と、励磁コイルL2 とを備えていて、
励磁コイルL2 の両端にはフライホイールダイオードD
2 が接続されている。
The relay RY2 has a normally open contact a2 inserted between one output terminal of the AC power supply 1 and one end of the primary coil 3a of the transformer 3, and an exciting coil L2.
A flywheel diode D is provided at both ends of the exciting coil L2.
2 is connected.

【0023】励磁コイルL2 の一端はエミッタが接地さ
れたNPNトランジスタTR2 のコレクタに接続され、
励磁コイルL2 の他端は直流電源部701のコンデンサ
C1の非接地側の端子に接続されている。トランジスタ
TR2 のベースは、第1のCPU702のポートP2 に
抵抗R4 を通して接続され、CPU702のポートP2
は、抵抗R5 を通してレギュレータRegの非接地側出
力端子に接続されている。またトランジスタTR2 のベ
ースエミッタ間に抵抗R6 が接続され、トランジスタT
R2 と抵抗R4 ないしR6 とによりリレーRY2 の駆動
回路706が構成されている。
One end of the exciting coil L2 is connected to the collector of an NPN transistor TR2 whose emitter is grounded.
The other end of the exciting coil L2 is connected to the non-ground terminal of the capacitor C1 of the DC power supply 701. The base of the transistor TR2 is connected to the port P2 of the first CPU 702 through a resistor R4.
Is connected to the non-ground side output terminal of the regulator Reg through the resistor R5. A resistor R6 is connected between the base and the emitter of the transistor TR2.
A drive circuit 706 for the relay RY2 is constituted by R2 and the resistors R4 to R6.

【0024】点火回路705は、トランス3の二次コイ
ル3bの出力を整流する整流器Rec2 と、整流器Re
c2 の出力端子間に接続された平滑用コンデンサC2
と、点火コイルの一次コイルの一端にコレクタが接続さ
れ、エミッタが接地されたNPNトランジスタTR3 と
を備えていて、コンデンサC2 の両端に得られる電圧が
点火コイルの一次コイル10aの一端と接地間に印加さ
れている。
The ignition circuit 705 includes a rectifier Rec2 for rectifying the output of the secondary coil 3b of the transformer 3, and a rectifier Re.
A smoothing capacitor C2 connected between the output terminals of c2
And an NPN transistor TR3 having a collector connected to one end of the primary coil of the ignition coil and an emitter grounded, and a voltage obtained across the capacitor C2 is applied between one end of the primary coil 10a of the ignition coil and the ground. Has been applied.

【0025】トランジスタTR3 のベースは抵抗R7 を
通してCPU702のポートP3 に接続され、CPU7
02のポートP3 は、抵抗R8 を通してレギュレータR
egの非接地側出力端子に接続されている。トランジス
タTR3 のベースエミッタ間には抵抗R9 が接続され、
トランジスタTR3 のベースコレクタ間及びコレクタエ
ミッタ間にはそれぞれツェナーダイオードZD1 及びダ
イオードD3 がそれぞれのカソードをトランジスタTR
3 のコレクタ側に向けて接続されている。トランジスタ
TR3 と、抵抗R9 と、ツェナーダイオードZD1 と、
ダイオードD3とにより点火コイル11の一次電流を制
御する一次電流制御用スイッチ704aが構成されてい
る。また整流器Rec2 とコンデンサC2 とにより点火
用電源回路が構成されている。
The base of the transistor TR3 is connected to the port P3 of the CPU 702 through the resistor R7.
02 port P3 is connected to a regulator R through a resistor R8.
EG is connected to the non-ground side output terminal. A resistor R9 is connected between the base and the emitter of the transistor TR3.
A Zener diode ZD1 and a diode D3 have their respective cathodes between the base and collector and between the collector and emitter of the transistor TR3.
3 is connected to the collector side. A transistor TR3, a resistor R9, a Zener diode ZD1,
A primary current control switch 704a that controls the primary current of the ignition coil 11 is constituted by the diode D3. The rectifier Rec2 and the capacitor C2 constitute an ignition power supply circuit.

【0026】CPU702及び703は、通信ポートc
omを有し、両CPUの通信ポートは、通信線707を
通して相互に接続されている。各CPU702,703
は、通信線707を通して他のCPUと通信を行うこと
により、他のCPUの動作が正常であるか否かを随時検
出している。各CPUに他のCPUの動作の異常を検出
させるため、各CPUに実行させるプログラムに、他の
CPUの動作の異常を検出する動作異常検出手段を実現
するための過程が設けられている。
The CPUs 702 and 703 have a communication port c
om, and the communication ports of both CPUs are connected to each other through a communication line 707. Each CPU 702, 703
Communicates with another CPU through the communication line 707 to detect at any time whether or not the operation of the other CPU is normal. In order for each CPU to detect an abnormality in the operation of the other CPU, a program executed by each CPU is provided with a process for realizing an operation abnormality detecting means for detecting an abnormality in the operation of the other CPU.

【0027】CPU702の入力ポートA1 及びA2
に、パルサ9が発生するパルス信号が入力されている。
CPU702は、パルサ9から与えられるパルス信号の
発生間隔から内燃機関4の回転速度を演算し、演算した
回転速度に対して、点火コイル10への一次電流の通電
を開始するタイミングである通電開始時期と、内燃機関
の点火時期とを演算する。通電開始時期及び点火時期
は、予め定めた内燃機関の特定の回転角度位置(基準位
置)からそれぞれの時期に相当する回転角度位置まで機
関が回転するのに要する時間の形で演算される。CPU
702は、パルサ9が発生するパルスから上記基準位置
を検出して、該基準位置が検出されたときに、演算した
通電開始時期及び点火時期の計測を開始する。そして、
通電開始時期が検出されたときにポートP3 の電位をL
レベル(低レベル)からHレベル(高レベル)に変化さ
せ、点火時期が検出されたときにポートP3 の電位をH
レベルからLレベルに変化させる。
The input ports A1 and A2 of the CPU 702
, A pulse signal generated by the pulser 9 is input.
The CPU 702 calculates the rotation speed of the internal combustion engine 4 from the generation interval of the pulse signal given from the pulser 9, and determines the power supply start timing, which is the timing at which the primary current is supplied to the ignition coil 10 with respect to the calculated rotation speed. And the ignition timing of the internal combustion engine. The energization start timing and the ignition timing are calculated in the form of the time required for the engine to rotate from a predetermined specific rotation angle position (reference position) of the internal combustion engine to a rotation angle position corresponding to each timing. CPU
A reference numeral 702 detects the reference position from the pulse generated by the pulser 9, and starts measuring the calculated energization start timing and ignition timing when the reference position is detected. And
When the energization start timing is detected, the potential of the port P3 is set to L.
Level (low level) to H level (high level), and when the ignition timing is detected, the potential of the port P3 is changed to H level.
Change from level to L level.

【0028】またCPU703は、ポートP3 から他の
制御対象8に信号を与えて、該他の制御対象を所定の制
御条件に対して制御する。
The CPU 703 sends a signal from the port P3 to another control target 8 to control the other control target under a predetermined control condition.

【0029】図示の制御装置においては、各CPUが正
常に動作していて、内燃機関の運転が許容される状態に
あるときに、CPU702のポートP2 の電位がHレベ
ルにされ、CPU703のポートP1 の電位がHレベル
にされる。
In the illustrated control device, when each CPU is operating normally and the operation of the internal combustion engine is permitted, the potential of the port P2 of the CPU 702 is set to the H level, and the potential of the port P1 of the CPU 703 is changed to the H level. Is set to the H level.

【0030】CPU703のポートP1 の電位がHレベ
ルになっているときには、トランジスタTR1 がオン状
態になってリレーRY1 が励磁され、その接点a1 が閉
じる。これにより燃料弁6に電圧が印加されるため、該
燃料弁6が開かれて燃料供給源5から内燃機関4に燃料
が供給され、機関の運転が可能な状態になる。
When the potential of the port P1 of the CPU 703 is at the H level, the transistor TR1 is turned on, the relay RY1 is excited, and the contact a1 is closed. As a result, a voltage is applied to the fuel valve 6, so that the fuel valve 6 is opened, fuel is supplied from the fuel supply source 5 to the internal combustion engine 4, and the engine can be operated.

【0031】またCPU702のポートP2 の電位がH
レベルになるとトランジスタTR2がオン状態になって
リレーRY2 が励磁され、その接点a2 がオン状態にな
る。これにより交流電源1からトランス3と整流器Re
c2 とを通して点火回路705に点火電源電圧(直流電
圧)が印加され、点火動作が可能な状態になる。
When the potential of the port P2 of the CPU 702 is H
When the level reaches the level, the transistor TR2 is turned on, the relay RY2 is excited, and the contact a2 is turned on. As a result, the transformer 3 and the rectifier Re
The ignition power supply voltage (DC voltage) is applied to the ignition circuit 705 through c2, and the ignition operation is enabled.

【0032】このように点火回路に点火電源電圧が印加
されている状態で、CPU702のポートP3 の電位が
Hレベルになると、トランジスタTR3 がオン状態にな
り、点火コイル10の一次コイル10aとトランジスタ
TR3 のコレクタエミッタ間とを通して一次電流が流れ
る。内燃機関の点火時期にCPU702のポートP3の
電位がLレベル(低レベル)になると、トランジスタT
R3 がオフ状態になるため、それまで流れていた点火コ
イル10の一次電流が遮断され、点火コイル10の二次
コイル10bに点火用の高電圧が誘起する。この高電圧
は点火プラグ12に印加されるため、該点火プラグで火
花が生じ、機関が点火される。
When the potential of the port P3 of the CPU 702 goes high while the ignition power supply voltage is being applied to the ignition circuit, the transistor TR3 is turned on, and the primary coil 10a and the transistor TR3 of the ignition coil 10 are turned on. A primary current flows between the collector and the emitter of the transistor. When the potential of the port P3 of the CPU 702 becomes L level (low level) at the ignition timing of the internal combustion engine, the transistor T
Since R3 is turned off, the primary current of the ignition coil 10 which has been flowing until then is cut off, and a high voltage for ignition is induced in the secondary coil 10b of the ignition coil 10. Since this high voltage is applied to the spark plug 12, a spark is generated at the spark plug and the engine is ignited.

【0033】即ち、図示の点火装置では、CPU702
のポートP3 がHレベルになったときに点火コイル10
に一次電流が流れ、該ポートP3 がLレベルになったと
きに一次電流が遮断されて点火動作が行われる。
That is, in the illustrated ignition device, the CPU 702
When the port P3 of the ignition coil goes high, the ignition coil 10
When the port P3 goes low, the primary current is interrupted and the ignition operation is performed.

【0034】また第1のCPU702は、第2のCPU
703の動作の異常を検出したときにポートP2 の電位
をLレベルとしてトランジスタTR2 をオフ状態にし、
リレーRY2 を非励磁とする。これにより接点a2 を開
き、点火回路705を点火電源から切り離して点火動作
を停止させることにより機関の運転を停止させる。
The first CPU 702 has a second CPU
When the abnormality of the operation of 703 is detected, the potential of the port P2 is set to L level to turn off the transistor TR2,
The relay RY2 is de-energized. Thus, the contact a2 is opened, the ignition circuit 705 is disconnected from the ignition power source, and the ignition operation is stopped to stop the operation of the engine.

【0035】また第2のCPU703は、第1のCPU
702の動作の異常を検出したときにそのポートP1 の
電位をLレベルとしてトランジスタTR1 をオフ状態に
し、リレーRY1 を非励磁とする。これにより接点a1
を開き、燃料弁6を閉じて機関の運転を停止させる。
The second CPU 703 is a first CPU
When an abnormality in the operation of the port 702 is detected, the potential of the port P1 is set to L level to turn off the transistor TR1 and de-energize the relay RY1. As a result, the contact a1
Is opened, and the fuel valve 6 is closed to stop the operation of the engine.

【0036】このように、CPU702及び703はい
ずれも、他のCPUの動作の異常が検出されたときに内
燃機関を停止させる機関停止手段を持っている。
As described above, each of the CPUs 702 and 703 has the engine stop means for stopping the internal combustion engine when the abnormality of the operation of the other CPU is detected.

【0037】図1に示した制御装置において、CPU7
02(CPU1)及び703(CPU2)がそれぞれ実
行するプログラムのうち、CPU動作異常検出手段及び
機関停止手段を実現する部分を含む要部のアルゴリズム
の一例を図2及び図3に示した。図2は、CPU1が実
行するプログラムの要部のアルゴリズムを示すフローチ
ャートで、このアルゴリズムに従う場合には、先ずステ
ップ1においてCPU2にチェック用コマンドを送信
し、CPU2に対して所定の応答信号を返信することを
要求する。次いでステップ2においてCPU2から所定
の応答信号の返信があったか否かを判定し、正しい返信
があったとき(CPU2の動作が正常なとき)にステッ
プ3に進んでポートP2 の電位をHレベルにする。これ
によりトランジスタTR2 をオン状態にしてリレーRY
2の接点a2 をオン状態にし、点火装置に点火電源電圧
を印加する。次いでステップ4に進んで別のルーチンで
演算された通電開始時期が検出されたときにポートP3
の電位をHレベルにし、点火コイル10の一次コイルに
一次電流を流す。その後ステップ5に示すように、点火
時期が検出されたときにポートP3 の電位をLレベルに
して点火コイルの一次電流を遮断し、点火動作を行わせ
る。
In the control device shown in FIG.
FIGS. 2 and 3 show an example of an algorithm of a main part of a program executed by each of the CPUs 02 (CPU1) and 703 (CPU2), including a part for realizing a CPU operation abnormality detection unit and an engine stop unit. FIG. 2 is a flowchart showing an algorithm of a main part of a program executed by the CPU 1. When this algorithm is followed, first, in step 1, a check command is transmitted to the CPU 2 and a predetermined response signal is returned to the CPU 2. Request that Next, in step 2, it is determined whether or not a predetermined response signal has been returned from the CPU 2, and when a correct response has been received (when the operation of the CPU 2 is normal), the flow advances to step 3 to set the potential of the port P2 to the H level. . This turns on the transistor TR2 and turns on the relay RY.
The second contact a2 is turned on, and an ignition power supply voltage is applied to the ignition device. Next, proceeding to step 4, when the energization start time calculated by another routine is detected, the port P3
Is set to the H level, and a primary current flows through the primary coil of the ignition coil 10. Thereafter, as shown in step 5, when the ignition timing is detected, the potential of the port P3 is set to the L level to cut off the primary current of the ignition coil, thereby performing the ignition operation.

【0038】またステップ2においてCPU2からの正
しい返信がないと判定されたとき(CPU2の動作が異
常なとき)には、ステップ6に進んでポートP2 の電位
をLレベルとし、これによりリレーRY2を非励磁とし
て、点火装置から点火電源を切り離す。またステップ7
においてポートP3 の電位をLレベルのままとしてトラ
ンジスタTR3 の導通を禁止する。
When it is determined in step 2 that there is no correct reply from the CPU 2 (when the operation of the CPU 2 is abnormal), the process proceeds to step 6, where the potential of the port P2 is set to the L level, thereby setting the relay RY2. As non-excitation, the ignition power is disconnected from the ignition device. Step 7
At this time, the conduction of the transistor TR3 is inhibited while keeping the potential of the port P3 at the L level.

【0039】図3は、CPU2が実行するプログラムの
要部(本発明に係わる部分)のアルゴリズムを示したも
ので、このアルゴリズムによる場合には、ステップ1に
おいてCPU1にチェック用コマンドを送信し、CPU
1に対して所定の応答信号を返信することを要求する。
次いでステップ2においてCPU1から所定の応答信号
の返信があったか否かを判定し、正しい返信があったと
き(CPU1の動作が正常なとき)にステップ3に進ん
でポートP1 の電位をHレベルにする。これによりトラ
ンジスタTR1 をオン状態にしてリレーRY1 を励磁
し、その接点a1をオン状態にして燃料弁6を開状態に
する。次いでステップ4においてCPU1が正常な時に
行う他の制御処理を行う。
FIG. 3 shows an algorithm of a main part (part relating to the present invention) of a program executed by the CPU 2. In the case of this algorithm, a check command is transmitted to the CPU 1 in step 1 and
1 is required to return a predetermined response signal.
Next, in step 2, it is determined whether or not a predetermined response signal has been returned from the CPU 1, and when a correct response has been received (when the operation of the CPU 1 is normal), the process proceeds to step 3, where the potential of the port P1 is set to the H level. . As a result, the transistor TR1 is turned on to excite the relay RY1, and the contact a1 is turned on to open the fuel valve 6. Next, in step 4, another control process performed when the CPU 1 is normal is performed.

【0040】ステップ2において、CPU1からの正し
い返信がないと判定されたとき(CPU1の動作が異常
なとき)には、ステップ5においてポートP1 の電位を
Lレベルとし、リレーRY1を非励磁として、その接点
a1 をオフ状態にする。これにより燃料弁6を閉状態に
し、内燃機関への燃料の供給を停止させる。またステッ
プ6に示すように、CPU1が異常なときに行う他の制
御処理を行う。
When it is determined in step 2 that there is no correct reply from the CPU 1 (when the operation of the CPU 1 is abnormal), in step 5, the potential of the port P1 is set to the L level, and the relay RY1 is de-energized. The contact a1 is turned off. Thereby, the fuel valve 6 is closed, and the supply of fuel to the internal combustion engine is stopped. Further, as shown in step 6, other control processing performed when the CPU 1 is abnormal is performed.

【0041】図2に示した例では、ステップ1及び2に
より、CPU2の動作の異常を検出するCPU動作異常
検出手段が構成され、ステップ6及び7により、CPU
2の動作が異常であることが検出されたときに点火装置
の動作を停止させて内燃機関4を停止させる機関停止手
段が構成される。
In the example shown in FIG. 2, steps 1 and 2 constitute a CPU operation abnormality detecting means for detecting an abnormality in the operation of the CPU 2.
Engine stop means for stopping the operation of the ignition device and stopping the internal combustion engine 4 when it is detected that the operation of the engine 2 is abnormal.

【0042】また図3のステップ1及び2により、CP
U1の動作の異常を検出するCPU動作異常検出手段が
構成され、図3のステップ5及び6により、CPU1の
動作が異常であることが検出されたときに点火装置の動
作を停止させて内燃機関4を停止させる機関停止手段が
構成される。
Also, according to steps 1 and 2 in FIG.
CPU operation abnormality detection means for detecting an abnormality in the operation of U1 is constituted, and when the operation of CPU1 is detected to be abnormal in steps 5 and 6 in FIG. Engine stop means for stopping the engine 4 is configured.

【0043】(2)第2の実施形態 図4は、本発明の第2の実施形態の構成を示したもの
で、この例では、第1のCPU702のポートP1 が抵
抗R1 を通してトランジスタTR1 のベースに接続さ
れ、第2のCPU703のポートP2 が抵抗R4 を通し
てトランジスタTR2 のベースに接続されている。第1
のCPU702及び第2のCPU703の通信ポートc
omが通信線707により相互に接続されている点、及
び第1のCPU702のポートP3 が点火回路の一次電
流制御用スイッチ705aを構成するトランジスタTR
3 のベースに接続されている点は、図1に示した例と同
様である。
(2) Second Embodiment FIG. 4 shows a configuration of a second embodiment of the present invention. In this example, the port P1 of the first CPU 702 is connected to the base of the transistor TR1 through the resistor R1. And the port P2 of the second CPU 703 is connected to the base of the transistor TR2 through the resistor R4. First
Communication port c of the CPU 702 and the second CPU 703
om are connected to each other by a communication line 707, and the port P3 of the first CPU 702 is connected to a transistor TR constituting a primary current control switch 705a of an ignition circuit.
3 is similar to the example shown in FIG.

【0044】図4に示した制御装置において、第1のC
PU702は、CPU703が正常に動作していて、機
関の運転が許容される状態にあるときにポートP1 の電
位をHレベルとしてリレーRY1 を励磁し、これにより
燃料弁6を開状態にして機関の運転を可能にする。
In the control device shown in FIG.
When the CPU 703 is operating normally and the operation of the engine is permitted, the PU 702 sets the potential of the port P1 to the H level to excite the relay RY1, thereby opening the fuel valve 6 to open the fuel valve 6. Enable driving.

【0045】また第2のCPU703は、内燃機関の運
転が許容されているときにポートP2 の電位をHレベル
にしてリレーRY2 を励磁する。これにより点火装置に
点火電源電圧を印加して点火装置の動作を可能にする。
When the operation of the internal combustion engine is permitted, the second CPU 703 sets the potential of the port P2 to the H level to excite the relay RY2. As a result, the ignition power supply voltage is applied to the ignition device to enable the operation of the ignition device.

【0046】即ちこの例では、一つのCPU702によ
り内燃機関を点火する点火装置と内燃機関への燃料供給
経路の途中に挿入された燃料弁6とが制御され、他の一
つのCPU703により、他の制御対象8の制御と、点
火装置への点火電源電圧の供給の制御とが行われるよう
に構成されている。
That is, in this example, the ignition device for igniting the internal combustion engine and the fuel valve 6 inserted in the middle of the fuel supply path to the internal combustion engine are controlled by one CPU 702, and the other CPU 703 controls the other The control of the control target 8 and the control of the supply of the ignition power supply voltage to the ignition device are performed.

【0047】また第1のCPU702は、第2のCPU
703の動作の異常を検出したときにポートP1 の電位
をLレベルとしてトランジスタTR1 をオフ状態にし、
リレーRY1 を非励磁としてその接点a1 を開く。これ
により燃料弁6を閉じ、機関の運転を停止させる。第2
のCPU703は、第1のCPU702の動作の異常を
検出したときにそのポートP2 の電位をLレベルとして
トランジスタTR2 をオフ状態にし、リレーRY2 を非
励磁とする。これにより接点a2 を開き、点火装置への
点火電源電圧の印加を停止させて、機関の運転を停止さ
せる。
The first CPU 702 is provided with a second CPU
When the abnormality of the operation of 703 is detected, the potential of the port P1 is set to L level to turn off the transistor TR1,
The relay RY1 is de-energized and its contact a1 is opened. Thus, the fuel valve 6 is closed, and the operation of the engine is stopped. Second
When detecting an abnormality in the operation of the first CPU 702, the CPU 703 sets the potential of the port P2 to the L level to turn off the transistor TR2 and de-energize the relay RY2. As a result, the contact a2 is opened, the application of the ignition power supply voltage to the ignition device is stopped, and the operation of the engine is stopped.

【0048】このように、CPU702及び703はい
ずれも、他のCPUの動作の異常が検出されたときに内
燃機関を停止させる機関停止手段を持っている。
As described above, each of the CPUs 702 and 703 has the engine stopping means for stopping the internal combustion engine when the abnormality of the operation of the other CPU is detected.

【0049】図4に示した制御装置のCPU702(C
PU1)及びCPU703(CPU2)がそれぞれ実行
するプログラムの要部のアルゴリズムを示すフローチャ
ートを図5及び図6に示した。
The CPU 702 (C) of the control device shown in FIG.
FIGS. 5 and 6 are flowcharts showing the algorithm of the main part of the program executed by the PU1) and the CPU 703 (CPU2), respectively.

【0050】図5は、図4に示した制御装置において、
CPU1が実行するプログラムの要部のアルゴリズムを
示すフローチャートで、このアルゴリズムに従う場合に
は、先ずステップ1においてCPU2にチェック用コマ
ンドを送信し、CPU2に対して所定の応答信号を返信
することを要求する。次いでステップ2においてCPU
2から所定の応答信号の返信があったか否かを判定し、
正しい返信があったとき(CPU2の動作が正常なと
き)にステップ3に進んでポートP1 の電位をHレベル
にする。これによりトランジスタTR1 をオン状態にし
てリレーRY1の接点a1 をオン状態にし、燃料弁を開
状態にして機関の運転を可能にする。
FIG. 5 shows the control device shown in FIG.
FIG. 5 is a flowchart showing an algorithm of a main part of a program executed by the CPU 1. When this algorithm is followed, first, in step 1, a check command is transmitted to the CPU 2 to request the CPU 2 to return a predetermined response signal. . Next, in step 2, the CPU
2 to determine whether a predetermined response signal has been returned,
When a correct reply is received (when the operation of the CPU 2 is normal), the routine proceeds to step 3, where the potential of the port P1 is set to the H level. As a result, the transistor TR1 is turned on, the contact a1 of the relay RY1 is turned on, and the fuel valve is opened to enable operation of the engine.

【0051】次いでステップ4に進んで別のルーチンで
演算された通電開始時期が検出されたときにポートP3
の電位をHレベルにし、点火コイル10の一次コイルに
一次電流を流す。その後ステップ5に示すように、点火
時期が検出されたときにポートP3 の電位をLレベルに
して点火コイルの一次電流を遮断し、点火動作を行わせ
る。
Next, proceeding to step 4, when the energization start time calculated by another routine is detected, the port P3
Is set to the H level, and a primary current flows through the primary coil of the ignition coil 10. Thereafter, as shown in step 5, when the ignition timing is detected, the potential of the port P3 is set to the L level to cut off the primary current of the ignition coil, thereby performing the ignition operation.

【0052】またステップ2においてCPU2からの正
しい返信がないと判定されたとき(CPU2の動作が異
常なとき)には、ステップ6に進んでポートP1 の電位
をLレベルとし、リレーRY1を非励磁とする。これに
より燃料弁6を閉じて機関の運転を停止させる。またポ
ートP3 の電位をLレベルに保持して点火動作を禁止す
る。
When it is determined in step 2 that there is no correct reply from the CPU 2 (when the operation of the CPU 2 is abnormal), the process proceeds to step 6 where the potential of the port P1 is set to the L level and the relay RY1 is de-energized. And Thus, the fuel valve 6 is closed to stop the operation of the engine. Further, the potential of the port P3 is held at the L level to inhibit the ignition operation.

【0053】図6は、図4の制御装置において第2のC
PU703(CPU2)が実行するプログラムの要部の
アルゴリズムを示したもので、このアルゴリズムによる
場合には、ステップ1においてCPU1にチェック用コ
マンドを送信し、CPU1に対して所定の応答信号を返
信することを要求する。次いでステップ2においてCP
U1から所定の応答信号の返信があったか否かを判定
し、正しい返信があったとき(CPU1の動作が正常な
とき)にステップ3に進んでポートP2 の電位をHレベ
ルにする。これによりトランジスタTR2 をオン状態に
してリレーRY2を励磁し、その接点a2 をオン状態に
して点火装置に点火電源電圧を印加する。またステップ
4においてCPU1が正常な時に行う他の制御処理を行
う。
FIG. 6 shows a second C control in the control device of FIG.
This shows the algorithm of the main part of the program executed by the PU 703 (CPU 2). In the case of this algorithm, a check command is transmitted to the CPU 1 in step 1 and a predetermined response signal is returned to the CPU 1. Request. Next, in step 2, the CP
It is determined whether or not a predetermined response signal has been returned from U1. When a correct response has been received (when the operation of the CPU 1 is normal), the routine proceeds to step 3, where the potential of the port P2 is set to the H level. As a result, the transistor TR2 is turned on to excite the relay RY2, and the contact a2 is turned on to apply the ignition power supply voltage to the ignition device. In step 4, another control process performed when the CPU 1 is normal is performed.

【0054】ステップ2において、CPU1からの正し
い返信がないと判定されたとき(CPU1の動作が異常
なとき)には、ステップ5においてポートP2 の電位を
Lレベルとし、リレーRY2を非励磁として、その接点
a2 をオフ状態にする。これにより点火装置を点火電源
から切り離して点火動作を停止させ、機関を停止させ
る。またステップ6に示すように、CPU1が異常なと
きに行う他の制御処理を行う。
When it is determined in step 2 that there is no correct reply from the CPU 1 (when the operation of the CPU 1 is abnormal), the potential of the port P2 is set to the L level in step 5, and the relay RY2 is de-energized. The contact a2 is turned off. As a result, the ignition device is disconnected from the ignition power source, the ignition operation is stopped, and the engine is stopped. Further, as shown in step 6, other control processing performed when the CPU 1 is abnormal is performed.

【0055】図5に示した例では、ステップ1及び2に
より、CPU2の動作の異常を検出するCPU動作異常
検出手段が構成され、ステップ6及び7により、CPU
2の動作が異常であることが検出されたときに内燃機関
への燃料の供給を停止させて内燃機関4を停止させる機
関停止手段が構成される。
In the example shown in FIG. 5, steps 1 and 2 constitute a CPU operation abnormality detecting means for detecting an abnormality in the operation of the CPU 2, and steps 6 and 7 form the CPU operation abnormality detecting means.
Engine stop means for stopping the supply of fuel to the internal combustion engine and stopping the internal combustion engine 4 when it is detected that the operation 2 is abnormal.

【0056】また図6に示した例では、ステップ1及び
2により、CPU1の動作の異常を検出するCPU動作
異常検出手段が構成され、図6のステップ5により、C
PU1の動作が異常であることが検出されたときに点火
装置の動作を停止させて内燃機関4を停止させる機関停
止手段が構成される。
In the example shown in FIG. 6, the steps 1 and 2 constitute a CPU operation abnormality detecting means for detecting an abnormality in the operation of the CPU 1, and the step 5 in FIG.
Engine stop means for stopping the operation of the ignition device and stopping the internal combustion engine 4 when it is detected that the operation of the PU 1 is abnormal is configured.

【0057】(3)第3の実施形態 図7は本発明の第3の実施形態の構成を示したもので、
この例では、第2のCPU703のポートP1 がトラン
ジスタTR1 のベースに接続され、ポートP2がトラン
ジスタTR2 のベースに接続されている。即ちこの例で
は、一つのCPU702により内燃機関を点火する点火
装置が制御され、他の一つのCPU703により内燃機
関への燃料供給経路の途中に挿入された燃料弁6の開閉
と、点火回路への電源電圧の供給とが制御されるように
なっている。
(3) Third Embodiment FIG. 7 shows a configuration of a third embodiment of the present invention.
In this example, the port P1 of the second CPU 703 is connected to the base of the transistor TR1, and the port P2 is connected to the base of the transistor TR2. That is, in this example, the ignition device for igniting the internal combustion engine is controlled by one CPU 702, and the opening and closing of the fuel valve 6 inserted in the middle of the fuel supply path to the internal combustion engine is controlled by the other CPU 703. The supply of the power supply voltage is controlled.

【0058】図7の制御装置において、CPU702
は、CPU703の動作が正常なときに通電開始時期に
ポートP3 の電位をHレベルとし、点火時期にポートP
3 の電位をLレベルとして点火動作を行わせる。またC
PU702は、CPU703の動作が異常なときにポー
トP3 の電位をLレベルに保持して、点火動作を停止さ
せ、機関の運転を停止させる。
In the control device shown in FIG.
When the operation of the CPU 703 is normal, the potential of the port P3 is set to the H level at the start of energization, and the port P3 is set at the ignition timing.
The ignition operation is performed by setting the potential of 3 to the L level. Also C
When the operation of the CPU 703 is abnormal, the PU 702 holds the potential of the port P3 at the L level, stops the ignition operation, and stops the operation of the engine.

【0059】またCPU703は、CPU702の動作
が正常なときにポートP1 の電位及びP2 の電位をとも
にHレベルとしてリレーRY1 及びRY2 を励磁する。
これにより、燃料弁6を開き、点火回路705に点火電
源電圧を印加して、機関の運転を可能にする。CPU7
03はまた、CPU702の動作が異常なことを検出し
たときに、ポートP1 の電位及びポートP2 の電位を共
にLレベルとして、リレーRY1 及びRY2 を非励磁と
する。これにより、燃料弁6を閉じて燃料を遮断すると
ともに、点火回路705を点火電源から切り離して、点
火動作を停止させ、機関を停止させる。
When the operation of the CPU 702 is normal, the CPU 703 sets both the potential of the port P1 and the potential of the port P2 to the H level to excite the relays RY1 and RY2.
As a result, the fuel valve 6 is opened, the ignition power supply voltage is applied to the ignition circuit 705, and the engine can be operated. CPU7
03, when detecting that the operation of the CPU 702 is abnormal, both the potential of the port P1 and the potential of the port P2 are set to L level, and the relays RY1 and RY2 are de-energized. Thus, the fuel valve 6 is closed to shut off the fuel, the ignition circuit 705 is disconnected from the ignition power source, the ignition operation is stopped, and the engine is stopped.

【0060】上記のように、図7に示した制御装置にお
いても、CPU702及び703の双方が、他のCPU
の動作の異常を検出したときに内燃機関を停止させる機
関停止手段を持っている。
As described above, in the control device shown in FIG. 7, both CPUs 702 and 703
Has an engine stopping means for stopping the internal combustion engine when an abnormality in the operation of the engine is detected.

【0061】図7の制御装置のCPU702及び703
がそれぞれ実行するプログラムの要部のアルゴリズムを
図8及び図9に示した。
CPUs 702 and 703 of the control device shown in FIG.
8 and 9 show the algorithm of the main part of the program executed by each of them.

【0062】図8は、図7に示した制御装置において、
CPU1が実行するプログラムの要部のアルゴリズムを
示すフローチャートで、このアルゴリズムに従う場合に
は、先ずステップ1においてCPU2にチェック用コマ
ンドを送信し、CPU2に対して所定の応答信号を返信
することを要求する。次いでステップ2においてCPU
2から所定の応答信号の返信があったか否かを判定し、
正しい返信があったとき(CPU2の動作が正常なと
き)にステップ3に進んで、通電開始時期にポートP3
の電位をHレベルとし、点火コイルの一次電流の通電を
開始する。その後、ステップ4において点火時期が検出
されたときにポートP3 の電位をLレベルにして点火コ
イルの一次電流を遮断し、点火動作を行わせる。
FIG. 8 shows the control device shown in FIG.
FIG. 5 is a flowchart showing an algorithm of a main part of a program executed by the CPU 1. When this algorithm is followed, first, in step 1, a check command is transmitted to the CPU 2 to request the CPU 2 to return a predetermined response signal. . Next, in step 2, the CPU
2 to determine whether a predetermined response signal has been returned,
When a correct reply is received (when the operation of the CPU 2 is normal), the process proceeds to step 3, and the port P3
Is set to the H level to start energizing the primary current of the ignition coil. Thereafter, when the ignition timing is detected in step 4, the potential of the port P3 is set to the L level to cut off the primary current of the ignition coil and perform the ignition operation.

【0063】またステップ2においてCPU2からの正
しい返信がないと判定されたとき(CPU2の動作が異
常なとき)には、ステップ5に進んでポートP3 の電位
をLレベルに保持して、点火動作を停止させる。
When it is determined in step 2 that there is no correct reply from the CPU 2 (when the operation of the CPU 2 is abnormal), the process proceeds to step 5 where the potential of the port P3 is held at the L level and the ignition operation is performed. To stop.

【0064】図9は、図7の制御装置において第2のC
PU703(CPU2)が実行するプログラムの要部の
アルゴリズムを示したもので、このアルゴリズムによる
場合には、ステップ1においてCPU1にチェック用コ
マンドを送信し、CPU1に対して所定の応答信号を返
信することを要求する。次いでステップ2においてCP
U1から所定の応答信号の返信があったか否かを判定
し、正しい返信があったとき(CPU1の動作が正常な
とき)にステップ3に進んでポートP1 の電位をHレベ
ルにする。これにリレーRY1 を励磁し、燃料弁6を開
く。またステップ4においてポートP2 の電位をHレベ
ルとしてリレーRY2 を励磁し、点火回路に点火電源電
圧を印加する。次いでステップ5においてCPU1が正
常な時に行う他の制御処理を行う。
FIG. 9 shows the second C in the control device of FIG.
This shows the algorithm of the main part of the program executed by the PU 703 (CPU 2). In the case of this algorithm, a check command is transmitted to the CPU 1 in step 1 and a predetermined response signal is returned to the CPU 1. Request. Next, in step 2, the CP
It is determined whether or not a predetermined response signal has been returned from U1. When a correct response has been received (when the operation of the CPU 1 is normal), the routine proceeds to step 3, where the potential of the port P1 is set to the H level. This energizes the relay RY1 and opens the fuel valve 6. In step 4, the potential of the port P2 is set to the H level to excite the relay RY2 and apply the ignition power supply voltage to the ignition circuit. Next, in step 5, another control process performed when the CPU 1 is normal is performed.

【0065】ステップ2において、CPU1からの正し
い返信がないと判定されたとき(CPU1の動作が異常
なとき)には、ステップ6においてポートP1 の電位を
Lレベルとして燃料弁6を閉じ、次いでステップ7にお
いてポートP2 の電位をLレベルとして点火装置を点火
電源から切り離し、点火動作を停止させる。その後、ス
テップ8に進んでCPU1が異常なときに行う他の制御
処理を行う。
When it is determined in step 2 that there is no correct reply from the CPU 1 (when the operation of the CPU 1 is abnormal), the potential of the port P1 is set to the L level in step 6, and the fuel valve 6 is closed. At 7, the potential of the port P2 is set to L level to disconnect the ignition device from the ignition power source, and the ignition operation is stopped. Thereafter, the process proceeds to step 8 to perform another control process performed when the CPU 1 is abnormal.

【0066】図8に示した例では、ステップ1及び2に
より、CPU2の動作の異常を検出するCPU動作異常
検出手段が構成され、ステップ5により、CPU2の動
作が異常であることが検出されたときに点火装置の動作
を停止させて内燃機関4を停止させる機関停止手段が構
成される。
In the example shown in FIG. 8, the steps 1 and 2 constitute a CPU operation abnormality detecting means for detecting an abnormality of the operation of the CPU 2, and the step 5 detects that the operation of the CPU 2 is abnormal. Engine stop means for stopping the operation of the ignition device and stopping the internal combustion engine 4 at times is configured.

【0067】また図9に示した例では、ステップ1及び
2により、CPU1の動作の異常を検出するCPU動作
異常検出手段が構成され、図9のステップ6及び7によ
り、CPU1の動作が異常であることが検出されたとき
に、機関への燃料の供給を停止させるとともに、点火装
置の動作を停止させて内燃機関4を停止させる機関停止
手段が構成されている。
In the example shown in FIG. 9, steps 1 and 2 constitute a CPU operation abnormality detecting means for detecting an abnormality in the operation of the CPU 1, and steps 6 and 7 in FIG. Engine stop means for stopping the supply of fuel to the engine and stopping the operation of the ignition device to stop the internal combustion engine 4 when it is detected.

【0068】上記の各例ではCPUが2つ設けられてい
るが、制御装置に3以上のCPUが設けられて、その内
の少なくとも一つのCPUにより内燃機関が制御される
場合にも本発明を適用することができる。
In each of the above examples, two CPUs are provided. However, the present invention is also applicable to a case where three or more CPUs are provided in the control device and at least one of them controls the internal combustion engine. Can be applied.

【0069】[0069]

【発明の効果】以上のように、本発明によれば、複数の
CPUを通信線を介して相互に接続して、他のCPUの
動作の異常を検出するCPU動作異常検出手段を各CP
Uに設けるとともに、上記CPU動作異常検出手段によ
り他のCPUの動作の異常が検出されたときに内燃機関
を停止させる機関停止手段をすべてのCPUに設けたの
で、いずれのCPUが誤動作をした場合でも、内燃機関
を停止させることができ、一部のCPUの動作が異常に
なったときに内燃機関の運転が継続されるのを防ぐこと
ができる。
As described above, according to the present invention, a plurality of CPUs are connected to each other via a communication line, and each of the CPU operation abnormality detecting means for detecting an abnormality in the operation of another CPU is provided.
U, and all the CPUs are provided with engine stop means for stopping the internal combustion engine when the operation abnormality of the other CPU is detected by the CPU operation abnormality detection means. However, the internal combustion engine can be stopped, and the operation of the internal combustion engine can be prevented from continuing when the operation of some CPUs becomes abnormal.

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

【図1】本発明の第1の実施形態の構成を示した構成図
である。
FIG. 1 is a configuration diagram showing a configuration of a first exemplary embodiment of the present invention.

【図2】図1の制御装置において第1のCPUが実行す
るプログラムの要部のアルゴリズムを示したフローチャ
ートである。
FIG. 2 is a flowchart showing an algorithm of a main part of a program executed by a first CPU in the control device of FIG. 1;

【図3】図1の制御装置において第2のCPUが実行す
るプログラムの要部のアルゴリズムを示したフローチャ
ートである。
FIG. 3 is a flowchart illustrating an algorithm of a main part of a program executed by a second CPU in the control device of FIG. 1;

【図4】本発明の第2の実施形態の構成を示した構成図
である。
FIG. 4 is a configuration diagram showing a configuration of a second exemplary embodiment of the present invention.

【図5】図4の制御装置において第1のCPUが実行す
るプログラムの要部のアルゴリズムを示したフローチャ
ートである。
FIG. 5 is a flowchart illustrating an algorithm of a main part of a program executed by a first CPU in the control device of FIG. 4;

【図6】図4の制御装置において第2のCPUが実行す
るプログラムの要部のアルゴリズムを示したフローチャ
ートである。
6 is a flowchart illustrating an algorithm of a main part of a program executed by a second CPU in the control device of FIG. 4;

【図7】本発明の第3の実施形態の構成を示した構成図
である。
FIG. 7 is a configuration diagram showing a configuration of a third exemplary embodiment of the present invention.

【図8】図7の制御装置において第1のCPUが実行す
るプログラムの要部のアルゴリズムを示したフローチャ
ートである。
8 is a flowchart illustrating an algorithm of a main part of a program executed by a first CPU in the control device of FIG. 7;

【図9】図7の制御装置において第2のCPUが実行す
るプログラムの要部のアルゴリズムを示したフローチャ
ートである。
9 is a flowchart illustrating an algorithm of a main part of a program executed by a second CPU in the control device of FIG. 7;

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

1…交流電源、2,3…トランス、4…内燃機関、6…
燃料弁、7…制御装置、701…直流電源部、702…
第1のCPU,703…第2のCPU、704,706
…リレー駆動回路、705…点火回路、707…通信
線、8…他の制御対象、9…パルサ、10…点火コイ
ル。
1: AC power supply, 2, 3: Transformer, 4: Internal combustion engine, 6:
Fuel valve 7, 7 control device, 701 DC power supply unit, 702
First CPU, 703... Second CPU, 704, 706
... Relay drive circuit, 705 ... Ignition circuit, 707 ... Communication line, 8 ... Other controlled object, 9 ... Pulsar, 10 ... Ignition coil.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) F02D 43/00 301 F02D 43/00 301H F02P 11/00 F02P 11/00 B 11/04 302 11/04 302Z Fターム(参考) 3G019 AB01 CA11 CB02 CB04 DC06 EA15 GA01 GA02 GA05 3G084 AA05 BA11 BA16 CA05 DA31 EA07 EB22 FA38 3G092 AA00 AB06 AC07 BA10 BB10 CB04 CB05 DE04S DG09 EA21 EA28 EB05 FB04 FB07 GA08 HB01X HC08X HE04Z 3G301 HA22 HA26 JB04 LB01 LC01 MA24 NA07 NE07 PB03A PE04Z ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) F02D 43/00 301 F02D 43/00 301H F02P 11/00 F02P 11/00 B 11/04 302 11/04 302Z F-term (reference) 3G019 AB01 CA11 CB02 CB04 DC06 EA15 GA01 GA02 GA05 3G084 AA05 BA11 BA16 CA05 DA31 EA07 EB22 FA38 3G092 AA00 AB06 AC07 BA10 BB10 CB04 CB05 DE04S DG09 EA21 EA28 EB05 HA04B04 EB05 HC04 HAB NA07 NE07 PB03A PE04Z

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数のCPUを用いて、内燃機関を他の
制御対象とともに制御する内燃機関制御装置において、 前記複数のCPUが通信線を介して相互に接続されて、
他のCPUの動作の異常を検出するCPU動作異常検出
手段が各CPUに設けられ、 前記CPU動作異常検出手段により他のCPUの動作の
異常が検出されたときに前記内燃機関を停止させる機関
停止手段がすべてのCPUに設けられていることを特徴
とする内燃機関制御装置。
1. An internal combustion engine control device that controls an internal combustion engine together with another control object using a plurality of CPUs, wherein the plurality of CPUs are interconnected via a communication line,
CPU operation abnormality detection means for detecting an abnormality in the operation of another CPU is provided in each CPU, and engine stop for stopping the internal combustion engine when the abnormality in the operation of the other CPU is detected by the CPU operation abnormality detection means An internal combustion engine control device, wherein the means is provided in all CPUs.
【請求項2】 複数のCPUを用いて、内燃機関を他の
制御対象とともに制御する内燃機関制御装置において、 前記複数のCPUが通信線を介して相互に接続されて、
他のCPUの動作の異常を検出するCPU動作異常検出
手段が各CPUに設けられ、 各CPUは、前記CPU動作異常検出手段により他のC
PUの動作の異常が検出されたときに前記内燃機関を点
火する点火装置の動作の停止と前記内燃機関への燃料の
供給の停止との少なくとも一方を行わせて前記内燃機関
を停止する機関停止手段を備えていることを特徴とする
内燃機関制御装置。
2. An internal combustion engine control device that controls an internal combustion engine together with another control object by using a plurality of CPUs, wherein the plurality of CPUs are interconnected via a communication line,
Each CPU is provided with CPU operation abnormality detection means for detecting an abnormality in the operation of another CPU.
Stopping the internal combustion engine by stopping at least one of the operation of an ignition device that ignites the internal combustion engine and the supply of fuel to the internal combustion engine when an abnormality in the operation of the PU is detected An internal combustion engine control device characterized by comprising means.
JP2001047123A 2001-02-22 2001-02-22 Internal combustion engine control device Withdrawn JP2002250250A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001047123A JP2002250250A (en) 2001-02-22 2001-02-22 Internal combustion engine control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001047123A JP2002250250A (en) 2001-02-22 2001-02-22 Internal combustion engine control device

Publications (1)

Publication Number Publication Date
JP2002250250A true JP2002250250A (en) 2002-09-06

Family

ID=18908621

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001047123A Withdrawn JP2002250250A (en) 2001-02-22 2001-02-22 Internal combustion engine control device

Country Status (1)

Country Link
JP (1) JP2002250250A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7421302B2 (en) 2004-03-12 2008-09-02 Denso Corporation Automotive electronic control system including communicably connected commanding unit and driving unit
JP2018066379A (en) * 2018-01-17 2018-04-26 株式会社デンソー Ignition device for internal combustion engine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7421302B2 (en) 2004-03-12 2008-09-02 Denso Corporation Automotive electronic control system including communicably connected commanding unit and driving unit
JP2018066379A (en) * 2018-01-17 2018-04-26 株式会社デンソー Ignition device for internal combustion engine

Similar Documents

Publication Publication Date Title
US4785771A (en) Fuel injection control apparatus with forced fuel injection during engine startup period
JP3596382B2 (en) Fuel injection device for in-cylinder direct injection two-cycle internal combustion engine and control method thereof
CA2139491A1 (en) Ignition timing control
US6575143B2 (en) Batteryless fuel injection apparatus for multi-cylinder internal combustion engine
JPS61500034A (en) Control device for fuel burner
JP2002250250A (en) Internal combustion engine control device
JPH01224470A (en) Method and device for control of internal combustion engine
JPH0610746A (en) Electronically controlled fuel injection device for engine
JPH10220330A (en) Ignition controller for internal combustion engine
US4732120A (en) Control apparatus for internal combustion engine provided with permanent magnet type starting motor
EP3533995B1 (en) Method for controlling an engine unit for a straddled vehicle, engine unit and straddled vehicle
JP6913158B2 (en) 4-stroke engine stroke discriminator
CN207420770U (en) Engine and its ignition system
JPH01155077A (en) Ignition starter for internal combustion engine
JP2002061558A (en) Ignition device for internal combustion engine
JP3838058B2 (en) Ignition system for capacitor discharge internal combustion engine
JP2003049757A (en) Capacitor discharge type ignition device for internal combustion engine
US6357418B1 (en) Internal combustion engine control system and apparatus therefor
JP3726553B2 (en) Internal combustion engine control method and apparatus
US6116212A (en) Engine speed limiter
JP3237618B2 (en) Fuel injection device
JP3838054B2 (en) Ignition device for internal combustion engine
JP2007146703A (en) Self-ignition prevention device for two-cycle engine
JPS59128975A (en) Ignition energy control unit for internal-combustion engine
EP1811169A2 (en) A system for the start-up of a low-power internal combustion engine

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060228

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20060420