JP3302739B2 - Control unit diagnostic device - Google Patents

Control unit diagnostic device

Info

Publication number
JP3302739B2
JP3302739B2 JP28671092A JP28671092A JP3302739B2 JP 3302739 B2 JP3302739 B2 JP 3302739B2 JP 28671092 A JP28671092 A JP 28671092A JP 28671092 A JP28671092 A JP 28671092A JP 3302739 B2 JP3302739 B2 JP 3302739B2
Authority
JP
Japan
Prior art keywords
engine
memory
control
control unit
output
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.)
Expired - Fee Related
Application number
JP28671092A
Other languages
Japanese (ja)
Other versions
JPH06109793A (en
Inventor
隆博 京塚
覚 河添
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.)
Mazda Motor Corp
Original Assignee
Mazda Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mazda Motor Corp filed Critical Mazda Motor Corp
Priority to JP28671092A priority Critical patent/JP3302739B2/en
Publication of JPH06109793A publication Critical patent/JPH06109793A/en
Application granted granted Critical
Publication of JP3302739B2 publication Critical patent/JP3302739B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】この発明はコントロールユニット
の診断装置、具体的には各種の制御プログラムや制御用
データなどが数値化されて格納された読出専用メモリの
異常を診断するための装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for diagnosing a control unit, and more particularly to an apparatus for diagnosing an abnormality in a read-only memory in which various control programs and control data are digitized and stored.

【0002】[0002]

【従来の技術】近年におけるエレクトロニクスの進歩に
伴い、例えば自動車用のエンジンにおいても、燃費性能
や排気性能の向上などを目的として、所謂マイクロコン
ピュータなどを用いたコントロールユニットにより、運
転状態に応じてエンジンを緻密に制御するようにしたも
のがある。つまり、コントロールユニットには、製作段
階において最適状態に設定された各種の制御プログラム
や制御用データが「0」,「1」の二値化データとして
書き込まれた読出専用メモリ(以下、ROMという)
や、ROMに格納された制御プログラムに従って各種の
演算処理や制御処理を実行する中央処理装置(以下、C
PUという)などが設けられていると共に、各種センサ
から取り込まれたエンジンの運転状態を示す信号と上記
ROMに格納された制御用データとに従って燃料供給量
や点火時期などを調整することにより、エンジンを最適
状態で運転するようになっている。
2. Description of the Related Art With the recent progress in electronics, for example, in the case of automobile engines, a control unit using a so-called microcomputer or the like is used in accordance with an operating state for the purpose of improving fuel efficiency and exhaust performance. Is precisely controlled. That is, in the control unit, a read-only memory (hereinafter, referred to as ROM) in which various control programs and control data set in an optimum state at a manufacturing stage are written as binary data of “0” and “1”.
And a central processing unit (hereinafter referred to as C) that executes various arithmetic processing and control processing according to a control program stored in a ROM.
PU), and adjusts a fuel supply amount, an ignition timing, and the like according to a signal indicating an operating state of the engine taken from various sensors and control data stored in the ROM. Is operated in an optimal state.

【0003】ところで、この種のコントロールユニット
においては、放射線の影響や改造などによってROMの
記憶内容が当初の記憶内容から異なる場合があり、その
ような異常なROMを放置しておくと適正な制御が行わ
れないおそれがある
In this type of control unit, the storage contents of the ROM may be different from the initial storage contents due to the influence of radiation, modification, and the like. May not be performed .

【0004】このような問題に対しては、例えば特開昭
57−171046号公報には、エンジンの自己診断警
報表示装置におけるディスプレイに診断結果を表示させ
るディスプレイスイッチのON操作時に、ROMのチェ
ック処理を行わせることが考えられている
To solve such a problem, for example, Japanese Unexamined Patent Publication No. 57-171046 discloses a ROM check processing for turning on a display switch for displaying a diagnosis result on a display of an engine self-diagnosis alarm display device. Is thought to be performed .

【0005】[0005]

【発明が解決しようとする課題】しかしながら、システ
ムの安全性から考えるとROMのチェックを運転者の意
思に依存することは好ましいことではない。つまり、運
転者が例えばディスプレイスイッチをON操作するまで
はROMのチェックが全く行われないことになり、RO
Mの異常状態が長期間にわたって放置される可能性があ
るばかりでなく、不正規にROMが改造されていたとし
ても適切に対処し得ないことになる。
However, considering the safety of the system, it is not preferable to rely on the driver's intention to check the ROM. That is, the ROM is not checked at all until the driver turns on the display switch, for example.
In addition to the possibility that the abnormal state of M may be left for a long period of time, even if the ROM has been irregularly remodeled, it will not be possible to properly cope with it.

【0006】[0006]

【0007】この発明は各種の制御プログラムや制御用
データなどが数値化されて格納されたROMと、ROM
に格納された制御用データを用いて制御を行う制御手段
とを有するコントロールユニットにおける上記の問題に
対処するもので、上記ROMの異常を自動的に判定し
て、車両の安全性を良好に維持し得るようにすることを
主たる目的とする。
According to the present invention, there is provided a ROM in which various control programs and control data are digitized and stored;
Those using the control data stored to address the above problems in the control unit and a control unit for controlling the automatically determined the abnormality of the upper Symbol ROM
The main object of the present invention is to ensure that the safety of the vehicle can be maintained well .

【0008】[0008]

【課題を解決するための手段】すなわち、本願の請求項
1の発明に係るコントロールユニットの診断装置は、各
種の制御プログラムや制御用データなどが数値化されて
格納された読出専用メモリと、該メモリに格納された制
御用データを用いて運転状態に応じたエンジン制御を行
う制御手段とを有するコントロールユニットにおいて、
上記読出専用メモリに格納されたデータを用いて、始動
時及び非始動時の通常運転時に上記メモリ異常判定
する異常判定手段と、アイドル運転状態を判定するアイ
ドル運転状態判定手段とを設けると共に、通常運転時に
上記異常判定手段でメモリの異常が判定された場合にお
いて、上記アイドル運転状態判定手段でアイドル運転状
態であることが判定されたときに、エンジン出力を低下
させる一方、メモリの異常が判定されてもアイドル運転
状態であることが判定されていないときは、メモリ異常
に基づくエンジン出力の低下をおこなわないよう構成さ
れたエンジン出力低下手段を設けたことを特徴とする。
Means for Solving the Problems That is, the diagnostic device of the control unit according to the inventions of claim 1 of the present application, a read only memory in which various control programs and control data are stored are quantified, A control unit for performing engine control according to the operating state using the control data stored in the memory,
Using data stored in the read only memory, starting
And during the abnormality determination means for determining an abnormality of the memory during normal operation when unactuated, eye determines idling
In addition to providing dollar operating state determination means , during normal operation
When a memory abnormality is determined by the abnormality determination means,
The idle operation state is determined by the idle operation state determination means.
Engine power is reduced when it is determined that
On the other hand, even if a memory abnormality is determined,
If the status is not determined, a memory error
Not to reduce the engine output based on
Characterized in that it is provided with a reduced engine output means .

【0009】[0009]

【0010】[0010]

【0011】[0011]

【0012】[0012]

【作用】上記の構成によれば次のような作用が得られ
る。
According to the above arrangement, the following operation can be obtained.

【0013】[0013]

【0014】この発明によれば上記読出専用メモリの異
常が検出されたときには、エンジン出力が低減されるこ
とになるので、上記メモリがエンジン出力を増大させる
ように改造を施されていても当該車両の安全性が良好に
維持されることになる。
According to the present invention, when the abnormality of the read-only memory is detected, the engine output is reduced. Therefore, even if the memory is modified so as to increase the engine output, the vehicle is not modified. Will be maintained in good condition.

【0015】[0015]

【0016】特に、この発明によれば、エンジン出力の
低下がエンジンのアイドル運転時に行われるので、エン
ジン出力がエンジンストールを発生することなく安定し
て低下されることになる。
In particular, according to the present invention, the engine output
Since the reduction is performed during the idle operation of the engine, the engine output is stably reduced without causing engine stall.

【0017】[0017]

【実施例】以下、本発明の実施例について説明する。Embodiments of the present invention will be described below.

【0018】図1に示すように、エンジン1の燃焼室2
には吸、排気弁3,4を介して吸気通路5及び排気通路
6がそれぞれ連通されている。吸気通路5には、上流側
から燃焼室2に吸入される吸入空気量を検出するエアフ
ローセンサ7と、該空気量ないしエンジン出力を調節す
るスロットルバルブ8と、燃焼室2に燃料を供給するイ
ンジェクタ9とが備えられていると共に、上記燃焼室2
に臨んで設置された点火プラグ10には、点火モジュー
ル11に入力される通電制御信号に同期して高圧電圧が
印加されるようになっている。
As shown in FIG. 1, a combustion chamber 2 of an engine 1
Are connected to an intake passage 5 and an exhaust passage 6 via intake and exhaust valves 3 and 4, respectively. In the intake passage 5, an air flow sensor 7 for detecting the amount of intake air taken into the combustion chamber 2 from the upstream side, a throttle valve 8 for adjusting the amount of air or the engine output, and an injector for supplying fuel to the combustion chamber 2 9 and the combustion chamber 2
A high voltage is applied to the ignition plug 10 installed in front of the ignition module 10 in synchronization with an energization control signal input to the ignition module 11.

【0019】一方、上記排気通路6には排気ガス浄化用
の触媒コンバータ12が設置されていると共に、該コン
バータ12の上流側に排気ガスの残存酸素濃度を検出す
るO2センサ13が配置されている。
On the other hand, a catalytic converter 12 for purifying exhaust gas is provided in the exhaust passage 6, and an O 2 sensor 13 for detecting the residual oxygen concentration of the exhaust gas is arranged upstream of the converter 12. I have.

【0020】さらに、このエンジン1にはコントロール
ユニット20が備えられている。このコントロールユニ
ット20は、スタートスイッチ31からのスタート信号
と、エンジン回転数を検出する回転センサ32からのエ
ンジン回転数信号と、エンジン1のクランク軸の回転角
を検出するクランク角センサ33からのクランク角信号
と、上記エアフローセンサ7からの吸入空気量信号と、
スロットルバルブ8の開度を検出するスロットルセンサ
34からのスロットル開度信号と、同じくスロットルバ
ルブ8の全閉状態を検出するアイドルスイッチ35から
のアイドル信号と、エンジン水温を検出する水温センサ
36からの水温信号と、O2センサ13からの空燃比信
号と、当該車両の車速を検出する車速センサ37からの
車速信号とを入力して、これらの信号に基づいてインジ
ェクタ9からの燃料噴射量と、点火プラグ10に対する
対する点火時期とを制御することにより、エンジン1を
制御するようになっている。
Further, the engine 1 is provided with a control unit 20. The control unit 20 includes a start signal from a start switch 31, an engine speed signal from a rotation sensor 32 for detecting the engine speed, and a crank signal from a crank angle sensor 33 for detecting the rotation angle of the crankshaft of the engine 1. An angle signal, an intake air amount signal from the air flow sensor 7,
A throttle opening signal from a throttle sensor 34 for detecting the opening of the throttle valve 8, an idle signal from an idle switch 35 for detecting the fully closed state of the throttle valve 8, and a water temperature sensor 36 for detecting the engine water temperature. A water temperature signal, an air-fuel ratio signal from the O 2 sensor 13, and a vehicle speed signal from a vehicle speed sensor 37 that detects the vehicle speed of the vehicle are input, and a fuel injection amount from the injector 9 is determined based on these signals. The engine 1 is controlled by controlling the ignition timing for the spark plug 10.

【0021】このコントロールユニット20は、図2に
示すように、各種の制御プログラムや制御用データが格
納されたROM21と、各種の演算や制御を実行するC
PU22と、演算結果などを一時的に記憶するRAM2
3とを有する。そして、CPU22は入力処理回路24
に入力される各種信号を上記ROM21に格納された各
種プログラムに従ってバスライン41を介して選択的に
取り込むと共に、出力ポートP1に接続された出力ライ
ン42を介してインジェクタ駆動回路25の入力ポート
P2に燃料噴射信号を出力し、また出力ポートP3に接
続された出力ライン43を介して点火出力処理回路26
の入力ポートP4に点火信号を出力するようになってい
る。
As shown in FIG. 2, the control unit 20 includes a ROM 21 in which various control programs and control data are stored, and a C / C for executing various calculations and controls.
PU22 and RAM2 for temporarily storing calculation results and the like
And 3. Then, the CPU 22 executes the input processing circuit 24
Are selectively fetched via a bus line 41 according to various programs stored in the ROM 21 and input to an input port P2 of the injector drive circuit 25 via an output line 42 connected to the output port P1. A fuel injection signal is output, and an ignition output processing circuit 26 is output via an output line 43 connected to the output port P3.
Output an ignition signal to the input port P4.

【0022】ここで、上記CPU22が行う燃料噴射制
御及び点火時期制御の概略を説明すると、先ず燃料噴射
制御については次のように行われる。
Here, the outline of the fuel injection control and the ignition timing control performed by the CPU 22 will be described. First, the fuel injection control is performed as follows.

【0023】すなわち、CPU22はスタートスイッチ
31からのスタート信号と回転センサ32からのエンジ
ン回転数信号とに基づいてエンジン1が始動時か否かを
判定して、始動時と判定したときにはROM21に記憶
されている所定の始動時噴射パルス幅を読み出した上
で、無効噴射時間を考慮して最終始動時噴射パルス幅を
決定する。そして、その最終始動時噴射パルス幅をイン
ジェクタ駆動回路25で増幅した後、制御ライン44を
介してインジェクタ9に駆動信号を出力する。
That is, the CPU 22 determines whether or not the engine 1 is started based on the start signal from the start switch 31 and the engine speed signal from the rotation sensor 32. After reading out the predetermined start-up injection pulse width, the final start-up injection pulse width is determined in consideration of the invalid injection time. Then, after the final start-up injection pulse width is amplified by the injector drive circuit 25, a drive signal is output to the injector 9 via the control line 44.

【0024】また、CPU22は始動時ではないと判定
したときには運転状態に応じた燃料噴射制御を行う。つ
まり、CPU22はエアフローセンサ7からの信号が示
す吸入空気量と回転センサ32からの信号が示すエンジ
ン回転数とに基づいて1サイクルあたりに燃焼室2に吸
入される吸入空気量を演算して、その値に対応する基本
噴射パルス幅をROM21から呼び出す。そして、O2
センサ13からの空燃比信号や水温センサ36からの水
温信号などに応じて上記基本噴射パルス幅を補正すると
共に、この場合においても無効噴射時間を考慮して最終
噴射パルス幅を決定して、その最終噴射パルス幅に応じ
た駆動信号をインジェクタ9に出力する。
When the CPU 22 determines that it is not at the time of starting, it performs fuel injection control according to the operating state. That is, the CPU 22 calculates the amount of intake air drawn into the combustion chamber 2 per cycle based on the amount of intake air indicated by the signal from the air flow sensor 7 and the engine speed indicated by the signal from the rotation sensor 32. The basic injection pulse width corresponding to the value is called from the ROM 21. And O 2
The basic injection pulse width is corrected according to the air-fuel ratio signal from the sensor 13, the water temperature signal from the water temperature sensor 36, and the like. In this case, the final injection pulse width is determined in consideration of the invalid injection time. A drive signal corresponding to the final injection pulse width is output to the injector 9.

【0025】一方、点火時期制御は概略次のように行わ
れる。
On the other hand, ignition timing control is generally performed as follows.

【0026】つまり、CPU22は例えば吸入空気量と
エンジン回転数とが示す運転状態に対応する基本点火進
角量をROM21から呼び出すと共に、エンジン水温に
応じた補正点火進角量を上記基本点火進角量に加算して
最終点火時期を決定する。そして、その最終点火時期に
応じた点火信号を点火出力処理回路26で通電制御信号
に変換した後、制御ライン45を介して点火モジュール
11に出力する。
That is, the CPU 22 retrieves, from the ROM 21, a basic ignition advance amount corresponding to the operating state indicated by, for example, the intake air amount and the engine speed, and reads the corrected ignition advance amount corresponding to the engine coolant temperature from the basic ignition advance amount. Add to the quantity to determine the final ignition timing. Then, the ignition signal corresponding to the final ignition timing is converted into an energization control signal by the ignition output processing circuit 26, and then output to the ignition module 11 via the control line 45.

【0027】また、このコントロールユニット20には
上記CPU22の異常時にエンジン1をバックアップ制
御するバックアップモジュール27と、該バックアップ
モジュール27とCPU22との制御を切り換えるため
の切換回路28とが設けられている。
The control unit 20 is provided with a backup module 27 for performing backup control of the engine 1 when the CPU 22 is abnormal, and a switching circuit 28 for switching control between the backup module 27 and the CPU 22.

【0028】この切換回路28にはCPU22の出力ポ
ートP5に信号ライン46を介して通じる入力ポートP
6と、上記バックアップモジュール27の入力ポートP
7に信号ライン47を介して通じる出力ポートP8が設
けられている。
The switching circuit 28 has an input port P connected to an output port P5 of the CPU 22 through a signal line 46.
6 and the input port P of the backup module 27
7 is provided with an output port P8 which communicates via a signal line 47.

【0029】一方、上記バックアップモジュール27は
入力ライン48,49を介してクランク角信号とアイド
ル信号とが入力されるように構成されていると共に、一
方の出力ポートP9が出力ライン50を介してインジェ
クタ駆動回路25の入力ポートP10に、また他方の出
力ポートP11が出力ライン51を介して点火出力処理
回路26の入力ポートP12にそれぞれ接続されてい
る。この場合において、CPU22の正常時には例えば
上記出力ポートP5が「H」の状態となり、それに伴っ
て切換回路28の出力ポートP8が「L」の状態となる
ことにより、バックアップモジュール27の入力ポート
P7が「L」となって、CPU22による制御が行われ
ることになる。一方、CPU22に異常が発生して出力
ポートP5が「L」となると、切換回路28の入力ポー
トP6も「H」から「L」に切り換わり、それに伴って
出力ポートP8が「L」から「H」に切り換わってバッ
クアップモジュール27の入力ポートP7が「H」とな
って、CPU22からバックアップモジュール27に制
御が引き渡される。つまり、例えばバックアップモジュ
ール27から出力される制御信号によって、インジェク
タ駆動回路25における入力ポートP2及び点火出力処
理回路26における入力ポートP4がそれぞれグランド
に落とされ、CPU22からの信号が受信不能状態とさ
れる。したがって、インジェクタ9からの燃料噴射量及
び点火プラグ10に対する点火時期は、バックアップモ
ジュール27にそれぞれ設定された固定値に制御される
ことになる。
On the other hand, the backup module 27 is configured to receive a crank angle signal and an idle signal via input lines 48 and 49, and one output port P9 is connected via an output line 50 to an injector. The input port P10 of the drive circuit 25 and the other output port P11 are connected to the input port P12 of the ignition output processing circuit 26 via the output line 51, respectively. In this case, when the CPU 22 is normal, for example, the output port P5 is in the “H” state, and accordingly the output port P8 of the switching circuit 28 is in the “L” state, so that the input port P7 of the backup module 27 is It becomes "L", and the control by the CPU 22 is performed. On the other hand, when an abnormality occurs in the CPU 22 and the output port P5 becomes “L”, the input port P6 of the switching circuit 28 also switches from “H” to “L”, and accordingly, the output port P8 changes from “L” to “L”. "H", the input port P7 of the backup module 27 becomes "H", and control is transferred from the CPU 22 to the backup module 27. That is, for example, the input port P2 of the injector drive circuit 25 and the input port P4 of the ignition output processing circuit 26 are grounded by the control signal output from the backup module 27, and the signal from the CPU 22 is disabled. . Therefore, the fuel injection amount from the injector 9 and the ignition timing for the ignition plug 10 are controlled to the fixed values set in the backup module 27, respectively.

【0030】そして、この実施例においては、上記CP
U22にはROM21の異常時に「L」にセットされる
出力ポートP13が設けられていると共に、該ポートP
13に接続された信号ライン52が切換回路28に設け
た入力ポートP14に接続されている。
In this embodiment, the above CP
U22 is provided with an output port P13 which is set to "L" when the ROM 21 is abnormal.
The signal line 52 connected to the switching circuit 13 is connected to an input port P14 provided in the switching circuit 28.

【0031】次に、この実施例におけるエンジン制御を
図3のフローチャートに従って説明する。
Next, the engine control in this embodiment will be described with reference to the flowchart of FIG.

【0032】すなわち、CPU22はステップS1でシ
ステム初期化を行ってRAM23などをクリヤした上
で、ステップS2で始動時か否かを判定し、始動時と判
定したときにはステップS3で所定の始動制御を行うと
共に、始動時でなければステップS3をスキップしてス
テップS4に移りエンジン1の運転状態に応じた通常制
御を行う。
That is, the CPU 22 initializes the system in step S1 and clears the RAM 23 and the like, and determines in step S2 whether or not the engine is starting. When it is determined that the engine is in starting, the CPU 22 performs predetermined starting control in step S3. At the same time, if it is not at the time of starting, step S3 is skipped and the routine proceeds to step S4, where normal control according to the operating state of the engine 1 is performed.

【0033】次いで、CPU22はステップS5で自己
診断フラグF1が正常状態を示す1にセットされている
か否かを判定して、YESでなければステップS6でR
OM21のアドレス順に1Kバイトごとの和を中間値A
として、ステップS7でその中間値Aを積算値Sに加算
した値を新たな積算値Sとした上で、ステップS8でR
OM21の最終アドレスまで加算が終了したか否かを判
定し、YESと判定するまでステップS4〜S8のルー
プ処理を実行すると共に、YESと判定したときに上記
ループ処理から抜け出してステップS9に進み上記積算
値Sが基準値Soと一致しているか否かを判定する。
Next, in step S5, the CPU 22 determines whether or not the self-diagnosis flag F1 is set to 1 indicating a normal state.
The sum of every 1 Kbyte in the order of the address of OM21 is the intermediate value A
In step S7, a value obtained by adding the intermediate value A to the integrated value S is set as a new integrated value S, and R is set in step S8.
It is determined whether or not the addition has been completed up to the final address of the OM 21. The loop processing of steps S4 to S8 is executed until the determination is YES, and when the determination is YES, the process exits the loop processing and proceeds to step S9 to proceed to step S9. It is determined whether or not the integrated value S matches the reference value So.

【0034】つまり、図4に示すように、ROM21の
記憶領域が8ビットを1バイトとして1Mバイト分ある
場合に、最初の加算処理で1Kバイトまでの1ブロック
における各ビットの値が加算され、次の加算処理で2K
バイトまでの1ブロックにおける各ビットの値が加算さ
れることになる。したがって、1Mバイト分のROMデ
ータを一挙に加算する場合に比べて1回あたりの加算時
間が大幅に短縮されることになる。これにより、エンジ
ン1が最新の運転状態を反映して制御されることになっ
て制御性の悪化が回避されることになる。
That is, as shown in FIG. 4, when the storage area of the ROM 21 is 1 Mbyte with 8 bits as 1 byte, the value of each bit in 1 block up to 1 Kbyte is added in the first addition processing. 2K in the next addition process
The value of each bit in one block up to the byte is added. Therefore, the addition time per operation is greatly reduced as compared with the case where 1M bytes of ROM data are added all at once. As a result, the engine 1 is controlled to reflect the latest operating state, so that deterioration in controllability is avoided.

【0035】CPU22は上記ステップS9において積
算値Sが基準値Soと一致していると判定したときに
は、ステップS10を実行して自己診断フラグF1を1
にセットした後、ステップS4に戻ってエンジン1の通
常制御を実行する。
When the CPU 22 determines in step S9 that the integrated value S matches the reference value So, it executes step S10 and sets the self-diagnosis flag F1 to 1
After returning to step S4, the routine returns to step S4 to execute the normal control of the engine 1.

【0036】一方、CPU22は上記積算値Sが基準値
Soと異なると判定したときには、ステップS11で先
ず車速センサ37からの信号が示す当該車両の車速Vが
0か否かを判定し、YESと判定したときには次にステ
ップS12でアイドルスイッチ35からのアイドル信号
がスロットルバルブ8の全閉状態を示すか否かを判定し
て、全閉状態と判定したときにステップS13に進んで
異常フラグF2の値にROM21の異常状態を示す1に
セットした上で、ステップS14でバックアップモード
へ移行してバックアップモジュール27に制御を引き渡
す。
On the other hand, when the CPU 22 determines that the integrated value S is different from the reference value So, it first determines in step S11 whether or not the vehicle speed V of the vehicle indicated by the signal from the vehicle speed sensor 37 is zero. If it is determined, then in step S12, it is determined whether or not the idle signal from the idle switch 35 indicates the fully closed state of the throttle valve 8, and if it is determined that the throttle valve 8 is fully closed, the process proceeds to step S13 to determine whether the abnormality flag F2 After setting the value to 1 indicating an abnormal state of the ROM 21, the mode is shifted to the backup mode in step S 14, and the control is passed to the backup module 27.

【0037】つまり、図5に示すように、異常フラグF
2が1にセットされると、CPU22における出力ポー
トP13及び切換回路28の入力ポートP14がそれぞ
れ「H」から「L」に切り換わり、それに伴って切換回
路28の上記出力ポートP8が「L」から「H」に切り
換わってインジェクタ駆動回路25の入力ポートP2及
び点火出力処理回路26の入力ポートP4がそれぞれグ
ランドに落とされてCPU22からの信号が受信不能状
態となる。これにより、インジェクタ9からの燃料噴射
量及び点火プラグ10に対する点火時期が、バックアッ
プモジュール27にそれぞれ設定された固定値に制御さ
れることになってエンジン出力が低下する。
That is, as shown in FIG.
When 2 is set to 1, the output port P13 of the CPU 22 and the input port P14 of the switching circuit 28 are respectively switched from "H" to "L", and the output port P8 of the switching circuit 28 is accordingly switched to "L". To "H", the input port P2 of the injector drive circuit 25 and the input port P4 of the ignition output processing circuit 26 are respectively grounded, and the signal from the CPU 22 cannot be received. As a result, the fuel injection amount from the injector 9 and the ignition timing for the spark plug 10 are controlled to the fixed values set in the backup module 27, and the engine output decreases.

【0038】この場合において、上記バックアップモジ
ュール27はCPU22の異常時にエンジン1をバック
アップ制御するためにコントロールユニット20に一般
的に備えられるものであるから、エンジン出力を低下さ
せるための特別なプログラムや制御用データを必要とせ
ず、メモリ使用量の増大が回避されてコントロールユニ
ット20のコストアップが抑制されることになる。
In this case, since the backup module 27 is generally provided in the control unit 20 to perform backup control of the engine 1 when the CPU 22 is abnormal, a special program or control for lowering the engine output is used. No data is required, and an increase in the amount of memory used is avoided, so that an increase in the cost of the control unit 20 is suppressed.

【0039】また、ROM21のチェックが自動的に行
われるので、不正規な改造に対しても適切に対処しえる
と共に、異常判定時にはエンジン出力が低下されること
になるので、当該車両の安全性がより向上することにな
る。
Further, since the ROM 21 is automatically checked, irregular modifications can be appropriately dealt with, and the engine output is reduced at the time of abnormality determination. Will be further improved.

【0040】そして、実施例のように、ROM21の異
常を判定した場合に、エンジン1がアイドル運転のとき
にバックアップモジュール27へ制御を引き渡すように
したことにより、エンジン出力がエンジンストールを発
生することなく安定して低下されることになる。
Then, as in the embodiment, when the abnormality of the ROM 21 is determined, the control is transferred to the backup module 27 when the engine 1 is idling, so that the engine output causes engine stall. And will be reduced stably.

【0041】[0041]

【0042】[0042]

【発明の効果】 以上のように、本 発明によれば上記読出
専用メモリの異常が検出されたときには、エンジン出力
が低減されることになるので、上記メモリがエンジン出
力を増大させるように改造を施されていても当該車両の
安全性が良好に維持されることになる。
As described above, according to the present invention, when an abnormality in the read-only memory is detected, the engine output is reduced, so that the memory is modified so as to increase the engine output. Even if it is applied, the safety of the vehicle will be favorably maintained.

【0043】[0043]

【0044】特に、発明によれば、エンジン出力の低
下がエンジンのアイドル運転時に行われるので、エンジ
ン出力がエンジンストールを発生することなく安定して
低下されることになる。
In particular, according to the present invention, the engine output is low.
Since the lower is carried out during idling of the engine, so that the engine output is reduced stably without generating engine stall.

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

【図1】 エンジンの制御システム図である。FIG. 1 is a control system diagram of an engine.

【図2】 コントロールユニットのシステム構成図であ
る。
FIG. 2 is a system configuration diagram of a control unit.

【図3】 実施例におけるエンジン制御を示すフローチ
ャート図である。
FIG. 3 is a flowchart illustrating engine control in the embodiment.

【図4】 ROMのメモリ構成図である。FIG. 4 is a memory configuration diagram of a ROM.

【図5】 実施例の作用を示すタイムチャート図であ
る。
FIG. 5 is a time chart illustrating the operation of the embodiment.

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

20 コントロールユニット 21 ROM 22 CPU 27 バックアップモジュール 28 切換回路 35 アイドルスイッチ 37 車速センサ Reference Signs List 20 control unit 21 ROM 22 CPU 27 backup module 28 switching circuit 35 idle switch 37 vehicle speed sensor

フロントページの続き (56)参考文献 特開 平3−238541(JP,A) 特開 平4−1450(JP,A) 特開 昭55−128641(JP,A) 特開 昭58−46411(JP,A) 特開 昭59−28030(JP,A) 特開 昭59−128948(JP,A) 特開 昭60−212655(JP,A) 特開 平1−87850(JP,A) 特開 平1−294935(JP,A) (58)調査した分野(Int.Cl.7,DB名) G01R 31/00 F02D 45/00 376 G01M 15/00 Continuation of the front page (56) References JP-A-3-238541 (JP, A) JP-A-4-1450 (JP, A) JP-A-55-128641 (JP, A) JP-A-58-46411 (JP) JP-A-59-28030 (JP, A) JP-A-59-128948 (JP, A) JP-A-60-212655 (JP, A) JP-A-1-87850 (JP, A) 1-294935 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G01R 31/00 F02D 45/00 376 G01M 15/00

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 各種の制御プログラムや制御用データな
どが数値化されて格納された読出専用メモリと、該メモ
リに格納された制御用データを用いて運転状態に応じた
エンジン制御を行う制御手段とを有するコントロールユ
ニットの診断装置であって、上記読出専用メモリに格納
されたデータを用いて、始動時及び非始動時の通常運転
時に上記メモリ異常判定する異常判定手段と、アイ
ドル運転状態を判定するアイドル運転状態判定手段とが
設けられていると共に、通常運転時に上記異常判定手段
でメモリの異常が判定された場合において、上記アイド
ル運転状態判定手段でアイドル運転状態であることが判
定されたときに、エンジン出力を低下させる一方、メモ
リの異常が判定されてもアイドル運転状態であることが
判定されていないときは、メモリ異常に基づくエンジン
出力の低下をおこなわないよう構成されたエンジン出力
低下手段が設けられていることを特徴とするコントロー
ルユニットの診断装置。
1. A read-only memory in which various control programs, control data, and the like are digitized and stored, and the control data stored in the memory correspond to an operation state.
A diagnostic device of the control unit and a control unit for controlling the engine, by using the data stored in the read only memory, the normal operation during starting and unactuated
Sometimes the abnormality determination means for determining an abnormality of the memory, I
Idle operating state determining means for determining a dollar operating state, and the abnormality determining means during normal operation.
If the memory abnormality is determined in
The operating state determination means determines that the vehicle is in the idle operating state.
When the engine output is reduced,
Even if it is determined that the
If not, the engine based on the memory error
Engine power configured to not reduce power
A diagnostic device for a control unit, comprising a lowering means .
JP28671092A 1992-09-30 1992-09-30 Control unit diagnostic device Expired - Fee Related JP3302739B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28671092A JP3302739B2 (en) 1992-09-30 1992-09-30 Control unit diagnostic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28671092A JP3302739B2 (en) 1992-09-30 1992-09-30 Control unit diagnostic device

Publications (2)

Publication Number Publication Date
JPH06109793A JPH06109793A (en) 1994-04-22
JP3302739B2 true JP3302739B2 (en) 2002-07-15

Family

ID=17707999

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28671092A Expired - Fee Related JP3302739B2 (en) 1992-09-30 1992-09-30 Control unit diagnostic device

Country Status (1)

Country Link
JP (1) JP3302739B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9194765B2 (en) * 2010-12-15 2015-11-24 Volvo Lastvagnar Ab Torque calibration method

Also Published As

Publication number Publication date
JPH06109793A (en) 1994-04-22

Similar Documents

Publication Publication Date Title
JP2570443B2 (en) Oxygen sensor heater control device
JP3376651B2 (en) Exhaust gas purification device for internal combustion engine
JP3302739B2 (en) Control unit diagnostic device
WO2006008975A1 (en) Method and device for controlling fuel injection of engine
JP4423824B2 (en) Control device for internal combustion engine
JPH06200833A (en) Abnormality deciding device of exhaust gas recirculating device
JP2002039007A (en) Misfire control system of internal combustion engine
JP4395890B2 (en) Abnormality diagnosis device for secondary air supply system of internal combustion engine
JP4023327B2 (en) Abnormality diagnosis device for intake system sensor
JPH07127499A (en) Fuel control device for internal combustion engine
JPS6022034A (en) Engine-speed controlling method for internal-combustion engine
JP4061676B2 (en) Self-diagnosis device for secondary air supply device of internal combustion engine
JPS59119044A (en) Electronic control method for engine
JP4345853B2 (en) Abnormality diagnosis device for intake system sensor
JP2581033B2 (en) Fuel injection amount control method for internal combustion engine
JPH0658087B2 (en) Fuel supply control device for internal combustion engine
JPS6134327A (en) Fuel supply controller of internal-combustion engine
JPH0893543A (en) Self-diagnostic device of cylinder pressure sensor and control fail-safe device on the basis of cylinder pressure in internal combustion engine
JP2685176B2 (en) Engine air-fuel ratio control device
JPH0783104A (en) Ignition timing control method
JPH08326590A (en) Fail safe system at failure of coolant temperature sensor in internal combustion engine
JP2882182B2 (en) Diagnosis method of secondary air supply device
JPS6172845A (en) Control device of engine
JPH0783867A (en) Failure detection device for air-fuel ratio sensor temperature adjusting circuit
JPH07139395A (en) Fuel injection control method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080426

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090426

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090426

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100426

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees