JPS6336415B2 - - Google Patents
Info
- Publication number
- JPS6336415B2 JPS6336415B2 JP56062610A JP6261081A JPS6336415B2 JP S6336415 B2 JPS6336415 B2 JP S6336415B2 JP 56062610 A JP56062610 A JP 56062610A JP 6261081 A JP6261081 A JP 6261081A JP S6336415 B2 JPS6336415 B2 JP S6336415B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- register
- output
- input
- stage
- 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
Links
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02D—CONTROLLING COMBUSTION ENGINES
- F02D41/00—Electrical control of supply of combustible mixture or its constituents
- F02D41/24—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
- F02D41/26—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using computer, e.g. microprocessor
- F02D41/28—Interface circuits
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Combined Controls Of Internal Combustion Engines (AREA)
- Control By Computers (AREA)
Description
本発明は内燃機関の電子制御装置に係り、特
に、電子的かつ総合的に内燃機関(以下エンジン
という)を制御する制御装置において、測定検出
信号の入力間隔が非常に広いときでも正確に測定
するためのクロツク信号供給手段に関するもので
ある。
大衆交通機関として自動車の需要が増大するに
ともない社会的問題も色々起きている。その主な
ものは大気汚染および石油エネルギの消費であ
る。
近年排気ガス対策に力が入れられてきた。しか
しこの対策のためにエンジンの総合効率は低下し
ている。エンジンの運転効率の低下を押え、さら
に排気ガス対策を向上させるとの観点から電子制
御を取り入れ、制御精度を向上させる試みがなさ
れている。例えば電子制御式燃料噴射装置や点火
時期制御装置が発表され、さらに最近マイクロコ
ンピユータによる点火時期制御装置が発表されて
いる。
従来制御装置の傾向は機械的制御をそれぞれ電
気制御に置き替えるものであつた。従つて個々の
制御対象ごとの電子制御装置が作られていた。
排気ガス対策やエンジンの効率的運転を行なう
ためには、エンジンを総合的に制御することが必
要である。上で述べた如く、エンジン制御をそれ
ぞれ独立させ、その独立した制御対象のために作
られた各制御回路を寄せ集めたものは各制御対象
間に有機的な相互作用が乏しく、きめ細かい制御
が困難であつた。また回路も必要以上に複雑とな
る欠点があつた。また角度センサ等、不規則に入
力されるセンサ出力を検出する回路が複雑となつ
た。さらに、このような複雑化したエンジンの制
御をデイジタル演算処理に基づき電子的かつ総合
的に行う場合において、エンジン負荷状態をエン
ジンの回転に同期してモニタすることが制御精度
を向上させるために望ましく、その方法が提案さ
れている。
従来は、例えば車速を測定する場合、測定ステ
ージ信号をカウントすることにより一定の測定時
間を得て、その間に車速と比例して入力されるパ
ルス数をカウントしていた。しかし、この方式で
は、特に車速が非常に遅いときには入力パルス数
が少なくなるので、測定誤差が大きくなる問題が
あつた。
この問題を解決するために、特開昭55−472号
等が提案されたが、カウンタの回路構成が複雑と
なり、回路規模の増大を招き、コストアツプや信
頼性低下の原因となる。
本発明の目的は、単純な回路構成で、入力間隔
が広い測定検出信号でも高精度に測定できる内燃
機関の電子制御装置を提供することである。
本発明は、上記目的を達成するために、演算処
理を行う演算処理ユニツトと、制御プログラム及
び固定データを格納する記憶素子と、前記演算処
理に伴うデータを格納する読出し書き込み可能な
記憶素子と、測定検出信号に基づく入力データ及
び前記演算処理により得られた出力データを保持
する一方で測定ステージ信号をカウントし測定時
間を決めるレジスタ群を有する入出力回路とを含
む内燃機関の制御装置において、前記入出力回路
が、前記測定検出信号を計数するための一定時間
を決める前記測定ステージ信号と前記演算処理ユ
ニツトへのインタバル割込信号との論理積を求め
入力間隔が広い測定検出信号を計数するために前
記測定ステージ信号のパルス間隔を広げるAND
回路を前記測定ステージ信号をカウントする回路
部分の前に備えたことを特徴とする内燃機関の電
子制御装置を提案するものである。
本発明においては、測定ステージ信号よりはパ
ルス間隔が広いインダバル割込信号に着目し、こ
の信号と測定ステージ信号との論理積を求めるこ
とにより測定ステージ信号のパルス間隔を広げ、
測定ステージ信号を一定数カウントして測定時間
を定めているカウンタのカウントアツプのペース
を遅くできるので、入力間隔が広い測定検出信号
でも、相対的にたくさんのパルスが取込まれ、測
定精度が上がることになる。
以下、本発明を図面に示した実施例に基づき詳
細に説明する。
第1図にはエンジン系統全体の制御装置が示さ
れている。図において、吸入空気はエアクリーナ
2、スロツトルチヤンバ4、吸気管6を通り、シ
リンダ8へ供給される。シリンダ8で燃焼したガ
スは、シリンダ8から排気管10を通り、大気中
へ排出される。
スロツトルチヤンバ4には、燃料を噴射するた
めのインジエクタ12が設けられており、このイ
ンジエクタ12から噴出した燃料はスロツトルチ
ヤンバ4の空気通路内で霧化され、吸入空気と混
合して混合気を形成し、この混合気は吸気管6を
通つて、吸気弁20の開弁により、シリンダ8の
燃焼室へ供給される。
インジエクタ12の出口近傍には絞り弁14,
16が設けられている。絞り弁14は、アクセル
ペタルと機械的に連動するように構成され、運転
者により駆動される。一方、絞り弁16はダイヤ
フラム18により駆動されるように配置され、空
気流量が小の領域で全閉状態となり、空気流量が
増大するにつれてダイヤフラム18への負圧が増
大することにより絞り弁16は開き始め、吸入抵
抗の増大を抑止する。
スロツトルチヤンバ4の絞り弁14,16の上
流には空気通路22が設けられ、この空気通路2
2には空気流量検出器を構成する電気的発熱体2
4が配設され、空気流量と発熱体24の伝熱量と
の関係から定まる空気流量に応じて変化する周期
電気信号が取り出される。発熱体24は空気通路
22内に設けられているので、シリンダ8のバツ
クフアイア時に生じる高温ガスから保護されると
共に、吸入空気中のごみなどによつて汚染される
ことからも保護される。この空気通路22の出口
はベンチユリの最狭部近傍に開口され、その入口
はベンチユリの上流側に開口されている。
インジエクタ12に供給される燃料は、燃料タ
ンタ30から、フユーエルポンプ32、フユーエ
ルダンパ34及びフイルタ36を介して燃圧レギ
ユレータ38へ供給される。一方、燃圧レギユレ
ータ38からはインジエクタ12へパイプ40を
介して加圧燃料が供給され、そのインジエクタ1
2から燃料が噴射される吸気管6の圧力と上記イ
ンジエクタ12への燃量圧の差が常に一定になる
ように、燃圧レギユレータ38から燃料タンク3
0へリターンパイプ42を介して燃料が戻される
ようになつている。
吸気弁20から吸入された混合気はピストン5
0により圧縮され点火プラグ52からのスパーク
により燃焼する。この燃焼は運動エネルギに変換
される。シリンダ8は冷却水54により冷却さ
れ、この冷却水の温度は水温センサ56により計
測され、この計測値はエンジン温度として利用さ
れる。点火プラグ52には点火コイル58から点
火タイミングに合わせて高電圧が供給される。
また、図示しないクランク軸にはエンジンの回
転に応じて基準クランク角毎におよび一定角度
(例えば0.5度)毎にリフアレンス角度信号および
角度信号を出すクランク角センサが設けられてい
る。
このクランク角センサの出力60、水温センサ
56の出力56A及び発熱体24からの電気信号
24Aはマイクロコンピユータなどからなる制御
回路70に入力され、制御回路70で演算処理さ
れ、この制御回路70の出力によつてインジエク
タ12及び点火コイル58が駆動される。
以上説明したエンジンの作動を第2図について
説明すると、第2図のAは4気筒エンジンにおけ
るインジエクタからの燃料の噴射タイミングを示
したものである。横軸はエンジンのクランク軸の
回転角度であり、各気筒の吸入行程をハツチング
で示している。図から明らかなようにクランク角
の180度毎に吸入行程が存在し、0度〜180度の間
は第1気筒、180度〜360度の間は第3気筒、360
度〜540度の間は第4気筒、540度〜720度の間は
第2気筒である。
第2図のBに示す如く、クランク角の180度毎
にリフアレンス角度信号を発生させ、この信号に
基づいてインジエクタ12を開弁させ、既に計測
されたデータに基づき制御回路70で処理された
演算結果に基づきインジエクタ12の開弁時間が
決定される。このインジエクタ12の開弁時間で
ある燃料噴射時間を第2図のCに示す。
つぎに、制御回路70を第3図に基づき説明す
る。制御回路70の入力信号は、大別すると、3
種類に分類できる。即ち、第1に吸入空気量を検
出する前記発熱体24の出力24A、エンジン冷
却水を検出するセンサ56の出力56Aなどから
送られてくるアナログ入力がある。これらアナロ
グ入力はマルチプレクサ(以下MPXと記す)1
00に入力され、時分割的に各センサの出力がセ
レクトされ、アナログデイジタル変換器(ADC
と記す)102に送られ、このADC102でデ
イジタル値に変換される。第2にオン、オフ信号
として入力される情報であつて、これは例えば絞
り弁の全閉状態等を表わす信号θTHで、絞り弁
と連動して動作するスイツチ104から送られて
くる信号104Aがある。この信号は1ビツトの
デイジタル信号として取り扱うことができる。
さらに第3に考えられる入力信号はパルス例と
して入力される信号で、例えばリフアレンス角度
信号(以下PRと記す。)や角度信号(以下PCと
記す)があり、クランク角センサ106よりこれ
らの信号が送られてくる。PRは4気筒の場合、
クランク角180度毎に出力され、6気筒の場合120
度毎、8気筒の場合90度毎に出力される。PCは
例えばクランク角の0.5度毎に出力される。
CPU108はデイジタル演算処理を行うセン
トラルプロセツシングユニツトであり、ROM1
10は制御プログラムおよび固定データを格納す
るための記憶素子であり、RAM112は読み出
しおよび書込み可能な記憶素子である。入出力イ
ンターフエイス回路114(以下入出力回路11
4という)は入力信号をADC102およびセン
サ104,106から信号を受け、CPU108
へ信号を送る。また、CPU108からの信号を
信号INJやIGNとしてインジエクタ12や点火コ
イル58へ送る。なお、上記制御回路70を構成
する各回路および素子へ電源端子116より電圧
が印加されているが、図面上その記載は省略す
る。さらに、インジエクタ12および点火コイル
58にはそれぞれに弁を駆動するための電磁コイ
ルおよび電磁エネルギを蓄積するための1次コイ
ルが設けられ、これらコイルの一端は電源端子1
16に接続され、他端は入出力回路114に接続
され、インジエクタ12や点火コイル58へ流れ
込む電流が制御される。なお、第3図において、
162はデータバス、164はアドレスバス、1
66はコントロールバスである。
第4図は第3図中の入出力回路114の具体的
回路を示すものである。図において、レジスタ群
470は基準レジスタ群であり、CPU108で
処理されたデータを保持したりあるいは予じめ定
められた一定値を示すデータを保持する。このデ
ータはCPU108よりデータバス162を介し
て送られる。保持するレジスタの指定はアドレス
バス164を介して行なわれ、指定されたレジス
タに上記データが入力され保持される。このレジ
スタ群470はレジスタ402〜428で構成さ
れている。
レジスタ群472は瞬時レジスタ群であり、エ
ンジン等の瞬時の状態を保持する。瞬時レジスタ
群472とラツチ回路476とインクリメンタ4
78とでいわゆるカウンタ機能を果す。
出力レジスタ群474は例えばエンジンの回転
速度を保持するレジスタ430と車速を保持する
レジスタ432を有している。これらの値は、あ
る条件が満されたとき瞬時レジスタの値が読み込
まれることにより得られる。出力レジスタ群47
4に保持されているデータは、CPU108から
アドレスバスを介して送られてくる信号により関
係するレジスタが選ばれ、このレジスタからデー
タバス162を介してCPU108に送られる。
コンパレータ480は基準レジスタ群の内の選
ばれたレジスタからの基準データと瞬時レジスタ
群の内の選ばれたレジスタからの瞬時データをそ
れぞれ入力端482と484から受け、比較動作
を行う。その比較結果は出力軸486より出力さ
れる。出力端は比較結果保持回路として作用する
第1比較出力レジスタ群502の内の所定のレジ
スタにセツトされる。さらにその後第2比較出力
レジスタ群504の所定のレジスタにセツトされ
る。
基準レジスタ群470、瞬時レジスタ群47
2、出力レジスタ群474の読出しや書込み動
作、インクリメンタ478やコンパレータ480
の動作、第1比較出力レジスタ502、第2比較
出力レジスタ504への出力セツト動作は、ある
定められた時間内に処理される。また種々の処理
はステージカウンタ572によつて指令されるス
テージ順序に従い、時分割で行なわれる。各ステ
ージ毎に基準レジスタ群470、瞬時レジスタ群
472、第1および第2比較結果レジスタ群のそ
れぞれのレジスタ群の所定のレジスタおよび必要
に応じて出力レジスタ群474の内の所定のレジ
スタが選ばれる。またインクリメンタ478とコ
ンパレータ480は共通に使用される。
第5図は第4図のタイミングを説明するための
図である。CPU108よりクロツク信号Eが入
出力回路114に供給される。この信号をAに示
す。このクロツク信号Eからパルスジエネレータ
回路574により重なりのない2つのクロツク信
号φ1とφ2を作る。この信号をBとCに示す。
このクロツク信号φ1とφ2により第4図に示す
回路は動作する。
第5図Dはステージ信号であり、クロツク信号
φ2の立上がりで切換えられ、各ステージの処理
はφ2に同期して行なわれる。第5図中で
THROUGHとはラツチ回路やレジスタ回路がイ
ネーブルの状態にあることを示し、これらの回路
の出力が入力に依存することを示す。また
LATCHとはこれらの回路であるデータを保持
し、この回路の出力が入力に依存しないことを示
す。
Dに示すステージ信号は基準レジスタ470や
瞬時レジスタ472の読み出し信号となり、ある
選ばれた所定のレジスタからその内容を読み出
す。EとFはそれぞれ基準レジスタ470と瞬時
レジスタ472の動作を示す。この動作はクロツ
クφに同期してなされる。
ラツチ回路476の動作をGに示す。この回路
はφ2がハイレベルのときTHROUGH状態とな
り、瞬時レジスタ群472より読み出されたある
特定のレジスタのデータを書き込み、クロツクφ
2がローレベルになつたときLATCH状態とな
る。このようにしてそのステージに対応した瞬時
レジスタ群の内の所定のレジスタのデータを保持
する。ラツチ回路476に保持されたデータは、
クロツク信号に同期しないインクリメンタ478
により、外部の条件に基づいて修正される。
ここでインクリメンタ478はインクリメンタ
コントローラ490からの信号に基づき次のよう
な機能を有する。第1の機能はインクリメント機
能で入力データの示す値を1つ増加させる。第2
の機能はノンインクリメント機能で、入力を増加
させないでそのまま通過させる。第3の機能はリ
セツト機能で入力を全て0の値を示すデータに変
えてしまう。
瞬時レジスタのデータの流れを見ると、瞬時レ
ジスタ群472の内の1つのレジスタがステージ
カウンタ572により選ばれ、その保持データが
ラツチ回路476とインクリメンタ478を介し
てコンパレータ480に入力される。さらにイン
クリメンタ478の出力から元の選ばれたレジス
タへ戻る閉ループができる。従つてインクリメン
タがデータに対し1つ増加させる機能を呈すると
この閉ループはカウンタとしての機能を示す。し
かしこの閉ループで瞬時レジスタ群のデータが特
定の選ばれたレジスタから出力されながら、しか
もデータが回り込んできて入力されるような状態
が生じると誤動作を示す。従つてデータを切るた
めにラツチ回路476を設けている。ラツチ回路
476はクロツクφ2に同期してTHROUGH状
態になり、一方瞬時レジスタに入力が書き込まれ
るTHROUGH状態はクロツクφ1に同期してい
る。従つてクロツクφ2とφ1との間でデータカ
ツトが行なわれる。つまりレジスタ472の特定
のレジスタの値が変更になつてもラツチ回路47
6の出力は変化しない。
コンパレータ480もインクリメンタ478と
同様クロツク信号と同期せずに動作する。コンパ
レータ480の入力は基準レジスタ群470の内
より選ばれた1つの基準レジスタの保持データ
と、瞬時レジスタ群の内の選ばれた1つのレジス
タの保持データのラツチ回路のインクリメンタを
介して伝えられたデータとを受ける。このデータ
の比較結果は、クロツク信号φ1に同期して
THROUGH状態になる第1の比較結果レジスタ
群502へセツトされる。さらにこのデータはク
ロツクφ2でTHROUGH状態になる第2の比較
結果レジスタ群504へセツトされる。このレジ
スタ504の出力は、上記インクリメンタの各機
能を制御するための信号や、フユーエル・インジ
エクタ、点火コイル、排気ガス還流装置などのド
ライブ信号となる。
またこの信号に基づきそれぞれのステージでエ
ンジンの回転速度や車速の測定結果が瞬時レジス
タ群から出力レジスタ群474に書き込まれる。
いま、例えばエンジン回転速度を書き込む場合
は、一定時間が経過したことを表わす信号が第2
比較結果レジスタRPMWBF552に保持され、
後述する第1表のRPMステージで、このレジス
タ552の出力に基づき瞬時レジスタ462の保
持データが出力レジスタ群のレジスタ430へ入
力される。このとき第2比較結果レジスタ
RPMWBF552に一定時間経過したことを表わ
す信号が保持されていない場合はRPMステージ
になつてもレジスタ462の保持データをレジス
タ430へ入力する動作は行なわれない。
一方第2比較結果レジスタVSPWBF556に
保持される信号に基づいてステージVSPのタイ
ミングで瞬時レジスタ468のデータが車速を表
わすデータとして出力レジスタ432へ入力され
る。
エンジンの回転速度RPMおよび車速VSPを表
わすデータの出力レジスタ群474への書き込み
は次のようにして行なわれる。第5図に於いて、
ステージ信号STGがRPMまたはVSPになつてお
り、瞬時レジスタ462または468のデータが
クロツクφ2のハイレベルでラツチ回路476が
THROUGH状態となり書き込まれ、クロツクφ
2がローレベルになることにより上記データが
LATCHされる。このようにして保持されたデー
タは上記レジスタRPMWBF552または
VSPWBF556からの信号に基づいてクロツク
φ1のハイレベル同期で出力レジスタ群474は
第5図Kに示す如くTHROUGH状態となるの
で、そこに書き込まれ、クロツクφ1のローレベ
ルでLATCHされる。
出力レジスタ群474に保持されているデータ
をCPU114が読む場合は、CPU114よりア
ドレスバス164を介してレジスタを指定し、第
5図Aに示すクロツク信号Eに同期してデータの
取り込みが行なわれる。
次にステージ信号STGの発生回路を第6図に
示す。パルスジエネレータ回路574からの信号
φ1でステージカウンタSC570がカウントア
ツプされ、そのステージカウンタSC570の出
力C0〜C6と第4図のTレジスタの出力を入力
としてステージデコーダSDCに加えられる。ス
テージデコーダSDCは出力として01〜017の信号
をステージラツチ回路STGLへクロツクφ2同期
で書き込む。
ステージラツチSTGLのリセツト入力には第4
図のMODEレジスタの20ビツトの信号GOが入力
され、MODEレジスタの20ビツトのGO信号がロ
ーレベルとなるとSTGLの総ての出力がローレベ
ルとなり、どの処理動作も総て停止する。一方上
記GO信号がハイレベルになると再びステージ信
号STGが一定の順序で出力され、それに基づい
て処理が行なわれる。
上記ステージデコーダSDCはREAD.ONLY.
MEMORYなどを使用することにより容易に実
現できる。尚ステージラツチSTGLの出力である
ステージ信号STGの00〜7Fまでの詳細な内容を
第1表に示す。
The present invention relates to an electronic control device for an internal combustion engine, and in particular, to a control device that electronically and comprehensively controls an internal combustion engine (hereinafter referred to as the engine), it is possible to accurately measure even when the input interval of measurement detection signals is very wide. This invention relates to a clock signal supply means for the clock signal. As the demand for automobiles as a means of mass transportation increases, various social problems are occurring. The main ones are air pollution and petroleum energy consumption. In recent years, efforts have been focused on measures against exhaust gas. However, this measure reduces the overall efficiency of the engine. Efforts have been made to incorporate electronic control and improve control accuracy in order to suppress the decline in engine operating efficiency and further improve exhaust gas countermeasures. For example, electronically controlled fuel injection devices and ignition timing control devices have been announced, and more recently, ignition timing control devices using microcomputers have been announced. The trend in conventional control systems has been to replace each mechanical control with an electrical control. Therefore, electronic control devices were created for each individual controlled object. In order to take measures against exhaust gas and operate the engine efficiently, it is necessary to comprehensively control the engine. As mentioned above, if each engine control is made independent and each control circuit created for each independent control object is brought together, there is little organic interaction between each control object, making fine-grained control difficult. It was hot. Another drawback was that the circuit was unnecessarily complicated. In addition, the circuit for detecting the irregularly input sensor output, such as an angle sensor, has become complicated. Furthermore, when controlling such a complicated engine electronically and comprehensively based on digital calculation processing, it is desirable to monitor the engine load condition in synchronization with engine rotation in order to improve control accuracy. , a method has been proposed. Conventionally, when measuring vehicle speed, for example, a certain measurement time was obtained by counting measurement stage signals, and the number of pulses inputted in proportion to the vehicle speed was counted during that time. However, with this method, the number of input pulses is small, especially when the vehicle speed is very slow, so there is a problem that the measurement error becomes large. In order to solve this problem, Japanese Patent Laid-Open No. 55-472 and others have been proposed, but the circuit configuration of the counter becomes complicated, leading to an increase in circuit scale, which causes an increase in cost and a decrease in reliability. SUMMARY OF THE INVENTION An object of the present invention is to provide an electronic control device for an internal combustion engine that has a simple circuit configuration and is capable of measuring measurement detection signals with wide input intervals with high precision. In order to achieve the above object, the present invention includes: an arithmetic processing unit that performs arithmetic processing; a storage element that stores a control program and fixed data; a readable and writable storage element that stores data associated with the arithmetic processing; An internal combustion engine control device comprising an input/output circuit that holds input data based on a measurement detection signal and output data obtained by the arithmetic processing, and has a register group that counts measurement stage signals and determines a measurement time. The input/output circuit calculates the logical product of the measurement stage signal, which determines a certain period of time for counting the measurement detection signals, and the interval interrupt signal to the arithmetic processing unit, and counts measurement detection signals with wide input intervals. AND increase the pulse interval of the measurement stage signal to
The present invention proposes an electronic control device for an internal combustion engine, characterized in that a circuit is provided in front of a circuit portion that counts the measurement stage signal. In the present invention, we focus on the induval interrupt signal, which has a wider pulse interval than the measurement stage signal, and increase the pulse interval of the measurement stage signal by calculating the AND of this signal and the measurement stage signal.
The count-up pace of the counter, which determines the measurement time by counting a fixed number of measurement stage signals, can be slowed down, so even if the measurement detection signal has a wide input interval, a relatively large number of pulses can be captured, increasing measurement accuracy. It turns out. Hereinafter, the present invention will be explained in detail based on embodiments shown in the drawings. FIG. 1 shows a control device for the entire engine system. In the figure, intake air passes through an air cleaner 2, a throttle chamber 4, an intake pipe 6, and is supplied to a cylinder 8. The gas burned in the cylinder 8 passes through the exhaust pipe 10 from the cylinder 8 and is discharged into the atmosphere. The throttle chamber 4 is provided with an injector 12 for injecting fuel, and the fuel injected from the injector 12 is atomized within the air passage of the throttle chamber 4 and mixed with intake air. A mixture is formed, and this mixture is supplied to the combustion chamber of the cylinder 8 through the intake pipe 6 when the intake valve 20 is opened. A throttle valve 14 is located near the outlet of the injector 12.
16 are provided. The throttle valve 14 is configured to mechanically interlock with the accelerator pedal and is driven by the driver. On the other hand, the throttle valve 16 is arranged so as to be driven by the diaphragm 18, and is fully closed when the air flow rate is small.As the air flow rate increases, the negative pressure on the diaphragm 18 increases, so that the throttle valve 16 It begins to open and suppresses the increase in inhalation resistance. An air passage 22 is provided upstream of the throttle valves 14 and 16 of the throttle chamber 4.
2 is an electric heating element 2 that constitutes an air flow rate detector.
4 is arranged, and a periodic electric signal that changes according to the air flow rate determined from the relationship between the air flow rate and the amount of heat transfer of the heating element 24 is extracted. Since the heating element 24 is provided within the air passage 22, it is protected from high-temperature gas generated when the cylinder 8 backfires, and is also protected from being contaminated by dust in the intake air. The outlet of the air passage 22 is opened near the narrowest part of the bench lily, and the inlet thereof is opened on the upstream side of the bench lily. The fuel supplied to the injector 12 is supplied from a fuel tanker 30 to a fuel pressure regulator 38 via a fuel pump 32, a fuel damper 34, and a filter 36. On the other hand, pressurized fuel is supplied from the fuel pressure regulator 38 to the injector 12 via a pipe 40.
From the fuel pressure regulator 38 to the fuel tank 3 so that the difference between the pressure in the intake pipe 6 where fuel is injected from the fuel tank 3 and the fuel pressure to the injector 12 is always constant.
Fuel is returned to zero via a return pipe 42. The air-fuel mixture taken in from the intake valve 20 is transferred to the piston 5.
0 and is combusted by the spark from the spark plug 52. This combustion is converted into kinetic energy. The cylinder 8 is cooled by cooling water 54, and the temperature of this cooling water is measured by a water temperature sensor 56, and this measured value is used as the engine temperature. A high voltage is supplied to the spark plug 52 from an ignition coil 58 in accordance with the ignition timing. Furthermore, a crank angle sensor (not shown) is provided on the crankshaft, which outputs a reference angle signal and an angle signal at every reference crank angle and every fixed angle (for example, 0.5 degrees) according to the rotation of the engine. The output 60 of the crank angle sensor, the output 56A of the water temperature sensor 56, and the electrical signal 24A from the heating element 24 are input to a control circuit 70 consisting of a microcomputer, etc., and are processed by the control circuit 70, and the output of this control circuit 70 is The injector 12 and the ignition coil 58 are driven by the injector 12 and the ignition coil 58. The operation of the engine described above will be explained with reference to FIG. 2. A in FIG. 2 shows the injection timing of fuel from an injector in a four-cylinder engine. The horizontal axis is the rotation angle of the engine crankshaft, and hatching indicates the intake stroke of each cylinder. As is clear from the figure, there is an intake stroke for every 180 degrees of the crank angle, with cylinder 1 between 0 degrees and 180 degrees, cylinder 3 between 180 degrees and 360 degrees, and cylinder 3 between 180 degrees and 360 degrees.
The range between 540 degrees and 540 degrees is the fourth cylinder, and the range between 540 degrees and 720 degrees is the second cylinder. As shown in FIG. 2B, a reference angle signal is generated every 180 degrees of the crank angle, the injector 12 is opened based on this signal, and the calculation is processed by the control circuit 70 based on the already measured data. Based on the result, the opening time of the injector 12 is determined. The fuel injection time, which is the valve opening time of the injector 12, is shown in C in FIG. Next, the control circuit 70 will be explained based on FIG. The input signals of the control circuit 70 can be roughly divided into three types.
Can be classified into types. That is, first, there are analog inputs sent from the output 24A of the heating element 24 that detects the amount of intake air, the output 56A of the sensor 56 that detects engine cooling water, and the like. These analog inputs are multiplexer (hereinafter referred to as MPX) 1
00, the output of each sensor is selected in a time-sharing manner, and the output is input to an analog-digital converter (ADC).
) 102, and is converted into a digital value by this ADC 102. The second information is input as an on/off signal, and this is, for example, a signal θTH indicating the fully closed state of the throttle valve.The signal 104A sent from the switch 104 that operates in conjunction with the throttle valve be. This signal can be handled as a 1-bit digital signal. Furthermore, the third possible input signal is a signal that is input as a pulse example, such as a reference angle signal (hereinafter referred to as PR) or an angle signal (hereinafter referred to as PC), and these signals are input by the crank angle sensor 106. It will be sent to you. PR is for 4 cylinders,
Output for every 180 degrees of crank angle, 120 for 6 cylinders
It is output every 90 degrees in the case of 8 cylinders. For example, the PC is output every 0.5 degrees of the crank angle. The CPU 108 is a central processing unit that performs digital arithmetic processing, and the ROM1
10 is a storage element for storing control programs and fixed data, and RAM 112 is a readable and writable storage element. Input/output interface circuit 114 (hereinafter referred to as input/output circuit 11)
4) receives input signals from the ADC 102 and sensors 104, 106, and sends the input signals to the CPU 108.
send a signal to Further, the signal from the CPU 108 is sent to the injector 12 and the ignition coil 58 as signals INJ and IGN. Note that voltage is applied from the power supply terminal 116 to each circuit and element constituting the control circuit 70, but their description is omitted in the drawing. Furthermore, the injector 12 and the ignition coil 58 are each provided with an electromagnetic coil for driving the valve and a primary coil for accumulating electromagnetic energy, and one end of these coils is connected to the power supply terminal 1.
16, and the other end is connected to the input/output circuit 114, so that the current flowing into the injector 12 and the ignition coil 58 is controlled. In addition, in Figure 3,
162 is a data bus, 164 is an address bus, 1
66 is a control bus. FIG. 4 shows a specific circuit of the input/output circuit 114 in FIG. 3. In the figure, a register group 470 is a reference register group and holds data processed by the CPU 108 or data indicating a predetermined constant value. This data is sent from CPU 108 via data bus 162. The register to be held is specified via the address bus 164, and the above data is input to the specified register and held. This register group 470 is made up of registers 402-428. The register group 472 is a momentary register group and holds the instantaneous state of the engine and the like. Instantaneous register group 472, latch circuit 476, and incrementer 4
78 performs a so-called counter function. The output register group 474 includes, for example, a register 430 that holds the rotational speed of the engine and a register 432 that holds the vehicle speed. These values are obtained by reading the values of instantaneous registers when certain conditions are met. Output register group 47
The data held in CPU 162 is sent to a related register by a signal sent from the CPU 108 via the address bus, and sent from this register to the CPU 108 via the data bus 162. Comparator 480 receives reference data from a selected register of the group of reference registers and instantaneous data from a selected register of the group of instantaneous registers at inputs 482 and 484, respectively, and performs a comparison operation. The comparison result is output from the output shaft 486. The output terminal is set in a predetermined register in the first comparison output register group 502 which functions as a comparison result holding circuit. Furthermore, it is then set in a predetermined register of the second comparison output register group 504. Reference register group 470, instantaneous register group 47
2. Read and write operations of the output register group 474, incrementer 478 and comparator 480
The operations of setting the output to the first comparison output register 502 and the second comparison output register 504 are processed within a certain predetermined time. Further, various processes are performed in a time-sharing manner according to the stage order instructed by the stage counter 572. For each stage, a predetermined register in each of the reference register group 470, instantaneous register group 472, first and second comparison result register groups, and, if necessary, a predetermined register in the output register group 474 is selected. . Also, incrementer 478 and comparator 480 are used in common. FIG. 5 is a diagram for explaining the timing of FIG. 4. A clock signal E is supplied from the CPU 108 to the input/output circuit 114. This signal is shown in A. From this clock signal E, a pulse generator circuit 574 generates two non-overlapping clock signals φ1 and φ2. This signal is shown in B and C.
The circuit shown in FIG. 4 operates according to these clock signals φ1 and φ2. FIG. 5D shows a stage signal, which is switched at the rise of the clock signal φ2, and the processing of each stage is performed in synchronization with φ2. In Figure 5
THROUGH indicates that the latch circuit or register circuit is enabled, and indicates that the output of these circuits depends on the input. Also
LATCH indicates that these circuits hold certain data and the output of this circuit does not depend on the input. The stage signal shown in D serves as a readout signal for the reference register 470 and instantaneous register 472, and reads out the contents from a selected predetermined register. E and F indicate the operation of reference register 470 and instantaneous register 472, respectively. This operation is performed in synchronization with the clock φ. The operation of latch circuit 476 is shown in FIG. This circuit enters the THROUGH state when φ2 is at a high level, writes data in a specific register read from the instantaneous register group 472, and clocks φ2.
When 2 becomes low level, it becomes LATCH state. In this way, the data of a predetermined register in the instantaneous register group corresponding to that stage is held. The data held in the latch circuit 476 is
Incrementer 478 not synchronized to clock signal
modified based on external conditions. Here, the incrementer 478 has the following functions based on the signal from the incrementer controller 490. The first function is an increment function that increases the value indicated by the input data by one. Second
The function is a non-increment function, which allows the input to pass through without increasing it. The third function is a reset function, which changes all inputs to data indicating a value of 0. Looking at the data flow of the instantaneous registers, one register in the instantaneous register group 472 is selected by the stage counter 572, and its held data is input to the comparator 480 via the latch circuit 476 and the incrementer 478. Additionally, a closed loop is created from the output of incrementer 478 back to the originally selected register. Therefore, when the incrementer functions to increase data by one, this closed loop functions as a counter. However, in this closed loop, if a situation occurs in which the data of the instantaneous register group is output from a specific selected register while the data is looped around and input, malfunction occurs. Therefore, a latch circuit 476 is provided to cut off the data. The latch circuit 476 enters the THROUGH state in synchronization with clock φ2, while the THROUGH state in which the input is written to the instantaneous register is synchronized with clock φ1. Therefore, data is cut between clocks φ2 and φ1. In other words, even if the value of a specific register in the register 472 is changed, the latch circuit 47
The output of 6 remains unchanged. Comparator 480, like incrementer 478, also operates out of synchronization with the clock signal. The input of the comparator 480 is transmitted through the incrementer of the latch circuit for the data held in one reference register selected from the reference register group 470 and the data held in one register selected from the instantaneous register group. received data. The result of this data comparison is synchronized with clock signal φ1.
It is set to the first comparison result register group 502 which enters the THROUGH state. Furthermore, this data is set in the second comparison result register group 504 which enters the THROUGH state at clock φ2. The output of this register 504 becomes a signal for controlling each function of the incrementer, and a drive signal for the fuel injector, ignition coil, exhaust gas recirculation device, etc. Also, based on this signal, the measurement results of the engine rotational speed and vehicle speed at each stage are written from the instantaneous register group to the output register group 474.
Now, for example, when writing the engine rotation speed, the second signal indicating that a certain period of time has elapsed is
It is held in the comparison result register RPMWBF552,
At the RPM stage in Table 1, which will be described later, data held in the instantaneous register 462 is input to the register 430 of the output register group based on the output of this register 552. At this time, the second comparison result register
If the signal indicating that a certain period of time has elapsed is not held in the RPMWBF 552, the operation of inputting the data held in the register 462 to the register 430 is not performed even in the RPM stage. On the other hand, based on the signal held in the second comparison result register VSPWBF 556, data in the instantaneous register 468 is inputted to the output register 432 as data representing the vehicle speed at the timing of the stage VSP. Writing of data representing the engine rotational speed RPM and vehicle speed VSP to the output register group 474 is performed as follows. In Figure 5,
The stage signal STG is RPM or VSP, and the data in the instantaneous register 462 or 468 is at the high level of the clock φ2, and the latch circuit 476 is activated.
It becomes THROUGH state and is written, and the clock φ
2 becomes low level, the above data becomes
LATCHed. The data held in this way is stored in the register RPMWBF552 or
Based on the signal from the VSPWBF 556, the output register group 474 enters the THROUGH state as shown in FIG. 5K in synchronization with the high level of the clock φ1, so that data is written there and LATCHed at the low level of the clock φ1. When the CPU 114 reads data held in the output register group 474, the CPU 114 specifies the register via the address bus 164, and the data is fetched in synchronization with the clock signal E shown in FIG. 5A. Next, FIG. 6 shows a generation circuit for the stage signal STG. A stage counter SC570 is counted up by the signal φ1 from the pulse generator circuit 574, and the outputs C0 to C6 of the stage counter SC570 and the output of the T register in FIG. 4 are input to the stage decoder SDC. The stage decoder SDC writes signals 01 to 017 as outputs to the stage latch circuit STGL in synchronization with the clock φ2. The stage latch STGL reset input has a fourth
When the 20- bit signal GO of the MODE register shown in the figure is input and the 20- bit GO signal of the MODE register becomes low level, all outputs of STGL become low level and all processing operations are stopped. On the other hand, when the GO signal becomes high level, the stage signal STG is outputted again in a fixed order, and processing is performed based on it. The above stage decoder SDC is READ.ONLY.
This can be easily achieved by using MEMORY etc. Table 1 shows the detailed contents of stages 00 to 7F of the stage signal STG, which is the output of the stage latch STGL.
【表】【table】
【表】
先ず第6図のステージカウンタSC570のリ
セツト端子Rにゼネラルリセツト信号GRが入力
され、これによつてカウンタ出力C0〜C6は総
て0となる。このゼネラルリセツト信号はこの制
御回路の起動時CPUより送られる。この状態で
クロツク信号φ2が入力されるとφ2の立ち上り
でEGRPのステージ信号STGが出る。このステ
ージ信号に基づいてEGRPの処理を行う。次にク
ロツクφ1でステージカウンタSC570が1つ
カウントアツプし、さらにクロツクφ2で次のス
テージ信号STGのANGLが出力される。このス
テージ信号ANGLSTGに基づいて、ANGLの処
理が行なわれる。さらに次はステージ信号
CYLSTGが出力されCYLの処理がなされ、その
次はステージ信号ADVが出力されADVの処理が
行なわれる。このようにしてステージカウンタ
SC570がφ1に同期してカウントアツプを続
けると、φ2に同期してステージ信号STGが出
力され、この信号に応じて処理が行なわれる。
ステージカウンタSC570のC0〜C6が総
て1となるとステージ信号INJSTGが出力され、
INJの処理が行なわれ、第1表の総ての処理が終
了する。次のクロツク信号φ1でステージカウン
タSC570のC0〜C6は総て0となり、クロ
ツク信号φ2でステージ信号EGRPSTGが出力
され、STGの処理が行なわれる。このように第
1表の処理を繰り返す。
第1表に示す各ステージの処理内容を第2表に
示す。[Table] First, the general reset signal GR is input to the reset terminal R of the stage counter SC570 shown in FIG. 6, and thereby the counter outputs C0 to C6 all become 0. This general reset signal is sent from the CPU when this control circuit is activated. When the clock signal φ2 is input in this state, the EGRP stage signal STG is output at the rising edge of φ2. EGRP processing is performed based on this stage signal. Next, the stage counter SC570 counts up by one at clock φ1, and ANGL of the next stage signal STG is output at clock φ2. ANGL processing is performed based on this stage signal ANGLSTG. Next is the stage signal
CYLSTG is output and CYL is processed, and then stage signal ADV is output and ADV is processed. In this way the stage counter
When the SC 570 continues counting up in synchronization with φ1, a stage signal STG is output in synchronization with φ2, and processing is performed in accordance with this signal. When C0 to C6 of stage counter SC570 all become 1, stage signal INJSTG is output.
The INJ process is performed and all the processes in Table 1 are completed. With the next clock signal φ1, all C0 to C6 of the stage counter SC570 become 0, and with the clock signal φ2, the stage signal EGRPSTG is output, and STG processing is performed. In this way, the processing in Table 1 is repeated. Table 2 shows the processing contents of each stage shown in Table 1.
【表】【table】
【表】
第6図のステージラツチ回路STGLからの出力
STG0とSTG7信号は外部から入つてくる入力
と入出力回路114の内部のクロツク信号との同
期を取るための回路であり、出力STG0はステ
ージカウンタSC570のC0〜C2の総てが0
の時出力され、出力STG7のステージカウンタ
SC570のC0〜C2が総て1のとき出力され
る。
第7図には第4図に示すレジスタ群470及び
472の詳細が示されている。
レジスタ群470へのデータの入力について説
明すると、CPU108からのデータはデータバ
ス162を介してラツチ回路802へ入力され
る。この入力と同時にCPU108よりコントロ
ールバス166を介してリードライト信号R/
W、信号VMAがアンドゲート806,808に
入力される。また、アドレスバス164から送ら
れるアドレス信号で入出力回路114内のレジス
タがセレクトされる。この方法は既に知られてい
るようにアドレスバス164のデータをデコーダ
によつて各レジスタに対応した信号に変更するも
のであり、第4図中のアドレスデコーダ804に
よつて行なう。このデコーダ804の出力は各レ
ジスタ402ないし428に入力されるが、その
入力信号配線は図中省略されている。そして、リ
ードライト信号R/Wと、信号VMA及び入出力
回路114であることを示すアドレスビツトA1
5とによつて、ゲート806からセレクトチツプ
ライト信号CCW、ゲート808からセレクトチ
ツプリード信号CCRを出力する。
CPU108からデータを所定レジスタに書込
む場合、セレクトチツプライト信号CCWが出力
され、該信号CCWは各レジスタ402ないし4
28の入力端に入力される。この場合、セレクト
チツプリード信号CCRは出力されないので、ゲ
ート810は条件が不成立となり、スリーステー
トバツフア812は閉じる。
この状態において、データバス162を介して
送られて来るデータはラツチ回路WDL802に
タイミンダφ2で保持される。ラツチ回路802
に保持されたデータはライトバスドライバー
WBDを介して基準レジスタ群470の各レジス
タへ送られ、アドレスデコーダでセレクトされた
レジスタにタイミングφ1で入力されて格納され
る。この基準レジスタ群470の内レジスタ40
8,410,412,414,416,426,
428は10ビツトのレジスタであり、一方CPU
108およびデータバス162は8ビツトである
ので、下位8ビツトと上位2ビツトにそれぞれ異
なるアドレスが割付けられている。従つて、これ
らの10ビツトレジスタには2回に分けてデータが
送られる。
一方、基準レジスタ群470の各レジスタから
のデータの読出し(リード)は前記のライトと全
く逆の操作である。即ち、コントロールバス16
6のコントロール信号でチツプセレクトゲート
CSR808が開かれ、この結果ゲート810を
介してタイミング信号Eでバツフア812が開か
れ、この状態においてリード操作が実行される。
即ち、アドレスバス164のアドレス信号によつ
て所定のレジスタがセレクトされているので、所
定のレジスタに格納されているデータはスリース
テートバツフア812を介してデータバス162
に乗せられ、CPU108に伝送される。
次にステージ信号により基準レジスタと瞬時レ
ジスタがセレクトされる動作を説明する。レジス
タ群470と472の各レジスタにはステージ信
号がそれぞれ入力される。このステージ信号によ
り各ステージ毎にそのステージに対応するレジス
タがセレクトされる。基準レジスタ群470のレ
ジスタの内レジスタ412,414,416はそ
れぞれに関係した比較結果保持レジスタ群504
の出力INJBF、ADVBF、DWLBFが出力される
とステージ信号が上記レジスタ412,414,
416に入力されずこれらのレジスタはセレクト
されない。この代りにINJBF、ADVBF、
DWLBFの信号が出力されるとステージINJ、
ADV、DWLでそれぞれゼロレジスタ402がセ
レクトされる。また一方瞬時レジスタ群472の
レジスタ456,458にはそれぞれ2つのステ
ージ信号EGRPとEGRD、NIDLPとNIDLDが入
力されている。これはこれら2つのステージでセ
レクトされることにより基準レジスタ群の2つの
レジスタ418と420および422と424に
それぞれ対応してセレクトされるようにしている
ためである。
第8図には第4図中の第1比較出力レジスタ5
02、第2比較出力レジスタ504の詳細回路が
示されている。図において、比較器480の出力
は「等しい」条件を示す信号と「大である」を示
す信号とに分けられ、NANDゲート830、
NORゲート832に入力される。NORゲート8
32の出力は「以上」の条件を示すことになる。
但し、NANDゲート830へ第7図に示すゼロ
レジスタ402のセレクト条件と、前記比較器4
80の「等しい」の条件とが入力されているの
で、ゼロレジスタ402がセレクトされるとき、
「等しい」の条件の信号がNANDゲートでカツト
される。この結果、NORゲート830の出力は
「大である」のみの条件となる。
第1比較出力レジスタ群の各レジスタは基準レ
ジスタ群の各レジスタおよび瞬時レジスタ群の各
レジスタと同期してセレクトされることが必要で
あり、同期を取るために第1比較出力レジスタ群
のセツトタイミングとしてクロツクφ2とそれぞ
れに対応したステージ信号が入力される。従つ
て、各ステージでそのステージの比較結果が第1
比較出力レジスタ群の対応するレジスタにタイミ
ングφ1でラツチされる。尚第2比較出力レジス
タのセツトタイミングとしてφ2が入力されてお
り、上記φ1に続く次のタイミングφ2で第2の
比較出力レジスタへ比較結果がセツトされる。こ
のことにより第2の比較出力レジスタ群504か
らそれぞれBF出力が出る。
なおレジスタ512,528,552,55
6,516,520にはそれぞれその出力に波形
整形回路840,842,844,846,84
8,850が接続され、第2の比較出力レジスタ
がセツトされた後次のステージゼロの信号がくる
間のみのデユーテイを有するパルスANGLD、
ADVD、RPMWD、VSPWD、INTVD、
ENSTDをそれぞれ発生する。
入出力回路114にセンサから入力されるパル
ス列信号を検出するためには、これらのパルス列
信号と入出力回路の動作との同期を取らせること
が必要である。その理由はこれらのパルス列信号
の周期およびパルス幅が例えばエンジン回転速度
や車速などの変化に供なつて変化し、しかもその
変化幅が大きく、そのままではそのパルスを検出
するステージの複数回の周期に対応したり、また
はそれを検出するステージ周期よりはるかに短か
く、ステージ信号が出ないうちに消えてしまつた
りするため正確にパルス列をカウントすることが
困難だからである。この外部からのパルス列信号
と入出力回路内のステージ信号との同期をとる同
期化回路を第9図に示し、その動作を説明するた
めのタイミングチヤートを第10図に示す。
センサ出力等の外部入力パルスとして例えばリ
フアレンス角度信号PR、角度信号PC、車輪の回
転に同期して生ずる車速信号PSは第6図に示す
STG0出力により第9図のラツチ回路600,
602,604にそれぞれラツチされる。
第10図でAはクロツク信号φ2、Bはクロツ
ク信号φ1、CとDはステージ信号STG7と
STG0である。このステージ信号は第6図で説
明した如く、φ2に同期して発生する。Eに示す
信号はクランク角センサあるいは車速センサから
の出力パルスでリフアレンス角度信号PRあるい
は角度信号PCあるいは車速信号PSを示し、この
信号の発生タイミングとパルスのデユーテイ、周
期は不規則であり、ステージ信号に対し無関係に
入力される。
いま第10図Eに示すような信号がラツチ回路
600,602,604に入力されたと仮定する
と、ステージ信号STG0(図のパルスS1)で
それぞれラツチされる。従つて第10図Fで示す
如く時点S2でハイレベルとなる。さらにS3で
示すステージ信号STG0でも入力信号PR,PC,
PSがハイレベルなのでラツチ回路600,60
2,604にそれぞれハイレベルがラツチされ
る。しかしS4で示すステージ信号STG0では
入力信号PR,PC,PSがローレベルになつてい
るのでローレベルがラツチされる。従つてラツチ
回路600,602,604の出力A1,A2,
A3はFに示すようになる。ラツチ回路606,
608,610は出力A1,A2,A3をそれぞ
れステージ信号STG7のS5でラツチするので
S6で示す時点から立ち上がる。またステージ信
号STG7のS7でもハイレベルをラツチするの
で、ハイレベルを続ける。従つてラツチ回路60
6,608,610の出力信号B1,B2,B3
はそれぞれGに示すようになる。
NOR回路612にはインバータ605を介し
て送られる信号A1と信号B1が入力され、同期
化されたリフアレンス信号PRSがHに示すよう
に発生する。この同期化リフアレンス信号PRS
はリフアレンス角度信号PRの立ち上がりを捕え、
ステージ信号STG0の立上りからSTG7の立上
りまでのパルス幅になる。
EXCLUSIVELYOR回路614と616はそ
れぞれ信号A2とB2、信号A3とB3が入力さ
れ、信号PC又はPSがLレベルからHレベルへ変
化したことを条件とし、さらにSTG0のタイミ
ングでIに示す信号のS8が発生し、信号PC又
はPSがHからLに変化したことを条件として、
さらにSTG0の立上りのタイミングでS9の信
号が発生する。信号S8とS9のデユーテイはH
に示すデユーテイと同じであり、ステージ信号
STG0とSTG7で決まる。
尚上記説明では信号PR,PC,PSが同時に同
じデユーテイで入力されたと仮定したが実際はこ
れらの信号は同時には入力されずそのデユーテイ
も異なる。さらに同じ信号それ自身について見て
もその周期とデユーテイはそのつど異なる。
しかし第9図と同期化回路により一定の幅のパ
ルスとなる。このパルス幅はステージ信号STG
0とSTG7の時間差で定まる。従つてラツチ回
路600,602,604と606,608,6
10へ印加するステージ信号を変更することによ
りパルス幅を調整し変更することができる。
このパルス幅は第1表のステージのタイミング
に関係して定められる。すなわち第1表に示す如
く、ANGLステージはステージカウンタC0〜
C2,C3〜C6が(1、0)の状態で割り当て
られ、さらに(1、1)、(1、2)、(1、3)…
……と8回目のステージ毎に割り当てられてい
る。
各ステージが1マイクロ秒に設定されているの
で8マイクロ秒毎に一巡してANGLステージが
割り当てられている。ANGLステージでは角度
信号PCを検出してインクリメンタを制御する必
要があるので、角度センサの出力PCが第9図に
示す同期化回路に印加されると、同期化回路はか
ならずANGLステージにひつかかるような同期
化パルスを作り、この同期化パルスPCSに基づき
ANGLステージでインクリメンタコントローラ
を制御する。
この同期化角度信号PCSはステージADVおよ
びRPMでも検出される。このステージADVと
RPMはそれぞれステージカウンタC0〜C2が
3と6の状態でC3〜C6の値が1つカウントア
ツプすることに割り当てられている。そしてその
割り当てられたステージは8マイクロ秒のサイク
ルで回つている。
第9図のSTG0信号はステージカウンタのC
0〜C2の値が0のとき出力され、一方STG7
はC0〜C2が7の値のとき出力される。この出
力はC3〜C6に無関係に作られる。従つて第1
0図からわかるように同期化角度信号PCSはステ
ージカウンタ出力C0〜C2が0の値から6の値
まで必ずそのパルス幅が存在し、このパルスをス
テージANGL,ADV,RPMで検出し、インクリ
メンタコントローラを制御する。
上と同様に同期化リフアレンス信号PRSを検
出するCYLステージはステージカウンタ出力C
0〜C2の値が2のときに必ず割り当てられてい
るので角度センサ98よりリフアレンス角度信号
PRが入力されたとき、ステージカウンタC0〜
C2が2のとき同期化リフアレンス信号PRSが
出ることが必要である。第9図の回路はSTG0
とSTG7の間のパルス幅がでるのでこの情報を
十分満足する。
次に車輪速度を検出するVSPステージはステ
ージカウンタ出力C0〜C2の値が常に5の値の
ときに割り当てられている。従つてC0〜C2の
値が5の値のときに同期化PSS信号が出力されれ
ばよい。第9図の回路ではC0〜C2の値が0値
から6値まで出るのでこの条件を満足する。第9
図でSTG0信号の代りにC0〜C2の値が4の
値のときに常にでる信号STG4を作りこの信号
を用い、さらにSTG7の信号の代りにC0〜C
2の値が6の値のときに常にでる信号STG6を
用いてもよい。この場合は信号PSが入力された
場合同期化信号PSSはステージカウンタの出力C
0〜C2の値が4と5のときに常に出力されるこ
とになる。
ここでステージのサイクルについて説明する。
第1表においてステージカウンタ出力C0〜C6
の値が0から127までの128種類のステージ信号が
作られ、この信号が総て発生し終ると大サイクル
が完了し再び新しい大サイクルが始まる。この大
サイクルはさらに16個の小サイクルから構成さ
れ、この小サイクルは8種類のステージ信号から
構成されている。この小サイクルはステージカウ
ンタ出力C0〜C2の値が0から7のにそれぞれ
対応し、8マイクロ秒でこの小サイクルが完了す
る。
センサからのパルス出力PR,PC,PSに対し
同期を確実にかけ、同期化パルスPRS,PCS,
PSSを確実に発生させるためには上記センサから
の出力がこの小サイクル以上のパルス幅を持つこ
とが必要である。例えば角度センサはPCはエン
ジンの回転が早くなればなるほどそのデユーテイ
が狭くなる。例えば9000回転/分では約9マイク
ロ秒くらいになる。従つて9000回転/分に対し十
分に同期化できるようにするにはこの小サイクル
をこれより短かくすることが必要であり、本実施
例では8マイクロ秒にしている。
第11図にはインクリメンタ478の詳細回路
が示されている。入力端A0〜A9には各ステー
ジ信号に応じてセレクトされた瞬時レジスタ群の
レジスタからの10ビツトデータがそれぞれ入力さ
れる。先ずA0ビツトにつき説明する。A0ビツト
とカウント信号がイツクスクルーシブOR850
へ入力される。ここでA0ビツトが0(ゼロ)のと
きカウント信号が0(L)であればそのまま0(ゼロ)
が出力される。逆にA0ビツトが1であればその
まま1が出力される。つまり、カウント信号が0
(L)であればA0ビツトの信号がそのまま出力され
る。
一方カウント信号が1(H)であるとA0ビツト信
号を反転させ、A0が1であれば0(ゼロ)がまた
A0が0(ゼロ)であれば1が出力される。このこ
とによりA0ビツトについて見るとカウント信号
により1だけカウントする。但し、A0ビツトが
1でしかもカウント信号が1であれば、上位ビツ
トA1の処理ゲート854へキヤリア信号が送ら
れる。
NORゲート852はキヤリア信号が検出する
回路であり、キヤリア信号があるときのみA1ビ
ツトが反転して出力されB1となる。キヤリア信
号がなければA1の信号がそのままB1出力とな
る。以下同様にゲート856,860,864,
868,872,876,886,884でそれ
ぞれのキヤリア信号があるかどうかが検出され、
各入力ビツトA2〜A9の各イツクスクルージブ
OR、858,862,866,870,87
4,878,882,886に入力される。キヤ
リア信号があればこれらの信号は反転してB0〜
B9の出力となる。このようにしてカウント信号
が存在すると入力A0〜A9ビツトは1だけカウン
トupして出力信号B0〜B9となる。
ANDゲート890〜908はリセツト機能を
果す回路であり、RESET信号が入力されるとイ
ツクスクルーシブOR回路850〜886の出力
のいかんにかかわらず出力B0〜B9は総て零と
なる。第11図のインクリメンタを制御するカウ
ント信号およびRESET信号はインクリメンタコ
ントローラ第12図によつて作られる。
第12A図と第12B図は第4図のインクリメ
ンタコントローラ490の詳細図である。第12
A図はインクリメンタ478を制御するためのカ
ウント信号(Count)とリセツト(Reset)を出
力する回路であり、第12B図は出力レジスタ群
430と432へのデータの転送を行うMove信
号出力回路である。このインクリメンタ478の
機能は上で述べた如く三つあり、第1の機能は入
力データを1の値だけ増加させる機能であり、第
2の機能は入力データをリセツトする機能であ
り、第3の機能は入力データをそのまま出力する
機能である。インクリメント機能はカウント信号
で、リセツト機能はRESET信号で行なわれる。
カウント信号がハイレベルの時、インクリメント
機能、ローレベルのときノンインクリメント機
能、RESET信号がハイレベルのとき、リセツト
機能となり、RESET信号はカウント信号より優
先する。
各処理の指令するステージ信号により、条件を
セレクトすればよい。その条件とは、同期化され
た外部入力や、第2比較結果のレジスタ群504
の出力である。また、出力レジスタ474にデー
タを転送し書き込む条件も、インクリメンタの条
件と同様である。
次に車輪速の測定について説明する。まず、ウ
インド時間という一定時間を計算機の方できめて
おく。この一定時間内に車輪が回転する毎に入力
されるパルス数をカウントすることによつて測定
する。このため、車輪速に当つては、車輪のとこ
ろについているセンサからのパルスを計数する機
能と、一定時間経過したか否かを判断する機能と
を必要とする。この2つの機能は、1個のステー
ジ信号によつてはできないため、ステージ信号を
分けてある。すなわち、一定時間経過したか否か
を調べるステージが第1表「0B」のVSPWのス
テージである。このVSPWというのは非常に時
間幅が長いので、たまにしかVSPWのステージ
パルスが入つてこない。この一定時間経過したか
否かを判断する動作は次の如くである。すなわ
ち、VSPWステージのときは、第4図に示され
るVSPWのレジスタに関係するレジスタ428,
464,554,556が接続される。すると、
レジスタ428にはウインド時間(これは計算機
によつてセツトされる測定したい時間であり、い
ろいろ変えることができる)がセツトされ、比較
回路480に入力される。また、レジスタ464
の値がラツチ回路476を介して前述の如く「+
1」されて比較回路480に入力され、比較され
る。この比較回路480は、計算機からのセツト
値と、等しくなるかどうかを常に見ていて、もし
あるVSPWで等しくなると、レジスタ554の
ところに「1」をセツトしてレジスタ556に
「1」をセツトする。この場合、次のステージ信
号のときに第12A図のところのリセツトの方の
ANDゲートの条件がとれる。
今の場合、VSPWステージのときに一致する
と、インクリメンタ478において「0」が出力
され、カウンタがリセツトされる。このVSPW
の値というのは、そのプログラマーがセツトした
時間間隔で決まり、そのパルスは長くない。その
長さは、第1表の「0B」から「0C」までの間で
ある。この間における車輪速測定は、車輪速のと
ころからパルスがあつたか否か、すなわち、セン
サから第9図に示される回路で処理されたPSSと
いうパルスがあつたか否かで、測定される。この
PSSパルスは、内部同期されたクランク角センサ
のパルスである。このセンサパルスは、第1表の
「0〜7」の間の1回出るパルスであり、この第
1表「0〜7」の間以上の長さを有しない。そし
て、これより短いパルスでもこの間引きのばされ
る。これは、VSPステージ信号が「0〜7」の
間に必ず1回くるものであり、この間だけ長くひ
きのばしておけば、これで1回だけカウントされ
るからである。VSPステージになると、カウン
トアツプだけしかせず、レジスタ468の方は、
ラツチ回路476からインクリメンタ478の
「+1」する回路を通つていく訳であるが、この
「+1」するか「+0」するかは、第12A図に
おけるPSSが来ているか否か(車輪がとまつてい
ると永久に「+0」の方が、また、車輪がゆつく
り動いているときは、時たま「+1」の方が選ば
れる)によつて決定される。そして、車速の測る
最後の時間になると、ウインドのVSPWDのパル
スが出力され、リセツトがかかり、「0」に戻る。
このリセツトが働く前にラツチされて、レジスタ
432には、一定時間毎に新しいデータが書き込
まれる。
この車輪速が非常に遅いときでも、正確に測定
するため、測定時間を長くする必要があり、計算
機の割込信号であるインタバル割込信号のタイミ
ングをウインドを決定するクロツクとしている。
すなわち、第8図において、VSPWSTG信号と
レジスタ516からのINTVBF信号とをAND回
路で受けて、両信号の論理積を求めることによ
り、クロツク周期を実質的に下げることができ
る。
第18図と第19図とを比較しながら、その作
用を説明する。AND回路がない場合は、第18
図のように、VSPWSTG信号がVSPWD信号と
なるから、測定時間を規定するためのVSPWカ
ウンタは、VSPWSTG信号と同周期のVSPWD
信号をカウントしていく。これに対して、AND
回路を設けた場合は、第19図のように、
VSPWSTG信号とINTVD信号とが一致したとき
だけVSPWD信号が出され、VSPWカウンタはパ
ルス間隔がVSPWSTG信号よりもかなり広い
VSPWD信号をゆつくりカウントしていくことに
なる。したがつて、VSPWカウンタが所定値ま
でカウントアツプする時間が長くかかり、車速信
号のようにパルス間隔が広い信号でもその長くな
つた時間の間にはたくさん取込まれるから精度が
上がる。
一般に、計測精度は、計測時間に比例する。一
定時間幅に入力されるパルス数を計測すれば、そ
のパルスの周波数がわかる。計測時間T(sec)の
間に周波数がf(Hz)のパルスが入力されれば、
計数値はf×Tとなる。この時パルス計測は量子
化誤差が±1カウント含まれるため誤差1/fT
を持つ。1/fTはTが小さいほど大きな値とな
り、制御上悪影響をもたらす。また、測定分解能
は計数値に比例するため、やはりTが大きい方が
分解能を大きくとれる。例えば、約5Hzの信号を
1sec計数すれば、5カウントが得られるが、量子
化誤差1カウントは±20%に相当する。分解能も
同様である。Tを2倍の2secにすると、計数値は
2倍の10カウントになり、精度は±10%となる。
ここで、車速信号は非常に遅く、fが低いこと
を考慮すれば、計測時間を長くとることが重要な
意味を持つ。
なお、本実施例においては、VSPWによつて
説明したが、EGRのパルス周期をきめるパルス
のデユーテイをきめる際、EGRPとINTVBFと
をANDゲートによつて論理積することにより同
様の効果を得ることができる。
第13図は定角度信号ANGLD発生の処理を説
明した図である。同期化リフアレンス信号PRS
によつてANGLCOUNTERとして作用するレジ
スタ444をリセツトし、同期化角度信号PCSが
ハイレベルであることによりインクリメントされ
る。そしてリフアレンス角度信号PRから
ANGLD発生までの角度を保持しているANGL
レジスタ406と比較し大なりもしくは等しいと
き第1のレジスタ502のANGL FF510に1
をセツトし、また、第2のレジスタ504の
ANGL BF512に1がセツトされる。この
ANGL BFの立ち上りを波形整形回路840で
整形し、信号ANGLDを作る。この信号ANGLD
は第4図に示すSTATUS REGISTERの中の1
ビツトに1をセツトし割込信号を発生する。この
ようにANGLレジスタ406にセツトする値を
変えるとリフアレンス角度信号PRから割込信号
が発生するまでの時間を変えることができる。
第14図は、燃料噴射信号INJの処理を説明し
た図である。気筒数の違いにより噴射の開始が異
なるため、CYL COUNTERとして作用するレ
ジスタ442により、同期化リフアレンス信号
PRSをカウントし、その結果を、気筒数に関連
した値を保持しているCYLレジスタ404と比
較し、大なりもしくは等しくなつたとき、第1の
レジスタの群502のCYL FF506に1をセ
ツトし、さらに第2のレジスタ群504の
CYLBF508に1をセツトする。このCYLBF
=1でCYL COUNTER442はリセツトされ
る。またこのCYL BF=1のとき、噴射時間を
測定するINJ TIMER450がリセツトされる。
いつも、無条件で時間によりインクリメントされ
てゆき、噴射時間が設定されたINJDレジスタ4
12と比較し、大なりもしくは等しいとき、第1
のレジスタ群のINJ FF522に1がセツトされ
る。また、第2のレジスタ群のINJ BF524に
1がセツトされる。このINJ BF=1のときは、
時間によるインクリメントは禁止する。このINJ
BFの反転出力が燃料の噴射時間幅となり、ニユ
ーエル・インジエクタの開弁時間となる。
第15図は、点火を制御する信号の処理を説明
した図である。同期化リフアレンス信号PRSに
よつて、ADV COUNTERとして作用するレジ
スタ452をリセツトし、同期化角度信号PCSが
ハイレベルであることによりインクリメントされ
る。そして、リフアレンス角度信号PRからの点
火角度を保持しているADVレジスタ414と比
較し、大なりもしくは等しいとき、第1のレジス
タ502のADV FF526に1をセツトし、ま
た、第2のレジスタ504のADV BF528に
1がセツトされる。このADV BFの立上りを示
すADVDにより、通電開始のDWL COUNTER
454をリセツトし、同期化角度信号PC8がハ
イレベルであることによりインクリメントされ
る。そして、前回の点火位置から通電開始するま
での角度を保持しているDWLレジスタ416と
比較し、大なりもしくは等しいとき、第1のレジ
スタ502のDWL FF530に1をセツトし、
また、第2のレジスタ504のDWL BF532
に1がセツトされる。このDWL BF532の出
力が点火制御信号ING1となる。
第16図はEGR(NIDL)の処理を説明した図
である。これらEGRの制御にはすべて比例ソレ
ノイドが使用されるので、デユーテイ制御が行わ
れる。周期を保持するEGRPレジスタ418とオ
ン時間を保持するEGRDレジスタ420の2つが
あり、また、TIMERとしては、EGR TIMER4
56により測定される。処理上では、EGRP
STGの処理のときは、無条件のインクリメント、
またEGRPレジスタ418とEGR TIMER45
6との保持データを比較し、大なりもしくは等し
いとき、第1のレジスタ群502のEGRP FF5
34に1をセツトする。さらに、第2のレジスタ
群504のEGRP BF536は1にセツトされ
る。
EGRD STGの処理のときは、無条件のノンイ
ンクリメント、また、EGRP BF=1でEGR
TIMER456はリセツトされる。EGRD FF5
38は、EGRDレジスタ420とEGR TIMER
456を比較し、その結果が大なりもしくは等し
いとき、1にセツトされ、EGRD BF540は1
にセツトされる。このEGRD BF540の反転出
力がEGRの制御信号である。NIDL同様の動作で
ある。
第17図は、エンジン回転数RPM(や車速
VSP)の測定方法や処理を説明した図である。
測定方法は、ある測定時間幅をRPMW
TIMER460で決定し、その時間幅にある同期
化された角度パルスPCを計数することにより得
るものである。
時間幅を測定するRPMW TIMER460は、
無条件にインクリメントされ、また、RPMW
BF552=1のとき、リセツトされる。RPMW
FF550に1がセツトされるのは、時間幅を保
持しているRPMWレジスタ425とRPMW
TIMER460を比較し、その結果が、大なりも
しくは等しいときである。
RPMW BF552の立上りを示すRPMWDに
より、該PCを計数したRPM COUNTER462
の内容を、出力レジスタ474のRPMレジスタ
430に転送し、書き込む。また、RPMW BF
552=1のときは、RPM COUNTER462
はリセツトされる。
VSP STGの処理についても、RPMと同様で
ある。
各レジスタの機能を第3表に示す。[Table] Output from the stage latch circuit STGL in Figure 6
The STG0 and STG7 signals are circuits for synchronizing the input input from the outside with the internal clock signal of the input/output circuit 114.
Output when , stage counter of output STG7
It is output when C0 to C2 of SC570 are all 1. FIG. 7 shows details of register groups 470 and 472 shown in FIG. 4. To explain the input of data to register group 470, data from CPU 108 is input to latch circuit 802 via data bus 162. At the same time as this input, the CPU 108 sends a read/write signal R/
W, signal VMA is input to AND gates 806 and 808. Furthermore, a register within the input/output circuit 114 is selected by an address signal sent from the address bus 164. In this method, as is already known, the data on the address bus 164 is changed by a decoder into a signal corresponding to each register, and this is carried out by the address decoder 804 in FIG. 4. The output of this decoder 804 is input to each register 402 to 428, but the input signal wiring is omitted in the figure. Then, the read/write signal R/W, the signal VMA, and the address bit A1 indicating that it is the input/output circuit 114.
5, the gate 806 outputs the select chip write signal CCW, and the gate 808 outputs the select chip read signal CCR. When writing data from the CPU 108 to a predetermined register, a select chip write signal CCW is output, and the signal CCW is applied to each register 402 to 4.
It is input to the input terminal of 28. In this case, since the select chip read signal CCR is not output, the condition of the gate 810 is not satisfied, and the three-state buffer 812 is closed. In this state, data sent via the data bus 162 is held in the latch circuit WDL802 by the timer φ2. Latch circuit 802
The data held in the write bus driver
The signal is sent to each register of the reference register group 470 via the WBD, and is input to and stored in the register selected by the address decoder at timing φ1. Register 40 of this reference register group 470
8,410,412,414,416,426,
428 is a 10-bit register, while CPU
Since the data bus 108 and the data bus 162 are 8 bits, different addresses are assigned to the lower 8 bits and the upper 2 bits. Therefore, data is sent to these 10-bit registers twice. On the other hand, reading data from each register of the reference register group 470 is an operation completely opposite to the above-mentioned write operation. That is, the control bus 16
Chip select gate with control signal 6
CSR 808 is opened, and as a result, buffer 812 is opened with timing signal E via gate 810, and in this state, a read operation is performed.
That is, since a predetermined register is selected by the address signal on the address bus 164, the data stored in the predetermined register is transferred to the data bus 162 via the three-state buffer 812.
and transmitted to the CPU 108. Next, the operation in which the reference register and instantaneous register are selected by the stage signal will be explained. A stage signal is input to each register of register groups 470 and 472, respectively. This stage signal selects the register corresponding to each stage. Among the registers of the reference register group 470, registers 412, 414, and 416 are associated with the comparison result holding register group 504.
When the outputs INJBF, ADVBF, and DWLBF are output, the stage signals are sent to the registers 412, 414,
416 and these registers are not selected. Instead of this, INJBF, ADVBF,
When the DWLBF signal is output, stage INJ
A zero register 402 is selected in each of ADV and DWL. On the other hand, two stage signals EGRP and EGRD, NIDLP and NIDLD are input to registers 456 and 458 of instantaneous register group 472, respectively. This is because by selecting in these two stages, the registers are selected corresponding to the two registers 418 and 420 and 422 and 424 of the reference register group, respectively. FIG. 8 shows the first comparison output register 5 in FIG.
02, a detailed circuit of the second comparison output register 504 is shown. In the figure, the output of comparator 480 is divided into a signal indicating an "equal" condition and a signal indicating "greater than", and NAND gate 830,
It is input to NOR gate 832. NOR gate 8
The output of 32 indicates the "greater than or equal" condition.
However, the selection condition of the zero register 402 shown in FIG. 7 and the comparator 4 shown in FIG.
Since the "equal" condition of 80 is input, when the zero register 402 is selected,
The signal with the "equal" condition is cut off by the NAND gate. As a result, the only condition for the output of NOR gate 830 is "large". Each register of the first comparison output register group needs to be selected in synchronization with each register of the reference register group and each register of the instantaneous register group, and in order to achieve synchronization, the set timing of the first comparison output register group is selected. The clock φ2 and the corresponding stage signals are input as input signals. Therefore, at each stage, the comparison result of that stage is the first
It is latched into the corresponding register of the comparison output register group at timing φ1. Note that φ2 is inputted as the set timing for the second comparison output register, and the comparison result is set in the second comparison output register at the next timing φ2 following the above-mentioned φ1. As a result, BF outputs are output from the second comparison output register group 504, respectively. Note that registers 512, 528, 552, 55
6, 516, 520 have waveform shaping circuits 840, 842, 844, 846, 84 at their outputs, respectively.
8,850 is connected, and the pulse ANGLD has a duty only while the next stage zero signal comes after the second comparison output register is set.
ADVD, RPMWD, VSPWD, INTVD,
ENSTD occurs respectively. In order to detect the pulse train signals input from the sensor to the input/output circuit 114, it is necessary to synchronize these pulse train signals with the operation of the input/output circuit. The reason for this is that the period and pulse width of these pulse train signals change with changes in engine rotational speed, vehicle speed, etc., and the width of the change is large. This is because the pulse train is much shorter than the stage period for corresponding or detecting it, and disappears before the stage signal is generated, making it difficult to accurately count the pulse train. FIG. 9 shows a synchronization circuit that synchronizes the external pulse train signal with the stage signal in the input/output circuit, and FIG. 10 shows a timing chart for explaining its operation. As external input pulses such as sensor output, for example, reference angle signal PR, angle signal PC, and vehicle speed signal PS generated in synchronization with wheel rotation are shown in Figure 6.
The latch circuit 600 in FIG. 9,
They are latched at 602 and 604, respectively. In Fig. 10, A is the clock signal φ2, B is the clock signal φ1, and C and D are the stage signal STG7.
STG0. This stage signal is generated in synchronization with φ2, as explained in FIG. The signal shown at E is an output pulse from the crank angle sensor or vehicle speed sensor and indicates the reference angle signal PR, angle signal PC, or vehicle speed signal PS.The generation timing, pulse duty, and period of this signal are irregular, and the stage signal It is input unrelated to. Assuming that signals as shown in FIG. 10E are input to latch circuits 600, 602, and 604, they are each latched by stage signal STG0 (pulse S1 in the figure). Therefore, as shown in FIG. 10F, it becomes high level at time S2. Furthermore, for the stage signal STG0 indicated by S3, the input signals PR, PC,
PS is high level so latch circuit 600,60
The high level is latched at 2 and 604, respectively. However, in the stage signal STG0 shown in S4, the input signals PR, PC, and PS are at low level, so the low level is latched. Therefore, the outputs A1, A2, of the latch circuits 600, 602, 604,
A3 becomes as shown in F. latch circuit 606,
Since the outputs A1, A2, and A3 are latched at S5 of the stage signal STG7, the outputs 608 and 610 rise from the time indicated by S6. Also, since the high level is latched at S7 of the stage signal STG7, the high level continues. Therefore, the latch circuit 60
6,608,610 output signals B1, B2, B3
are as shown in G. The signal A1 and signal B1 sent via the inverter 605 are input to the NOR circuit 612, and a synchronized reference signal PRS is generated as shown at H. This synchronized reference signal PRS
captures the rising edge of the reference angle signal PR,
This is the pulse width from the rise of stage signal STG0 to the rise of STG7. The EXCLUSIVELYOR circuits 614 and 616 receive signals A2 and B2 and signals A3 and B3, respectively, and the condition is that the signal PC or PS changes from L level to H level, and furthermore, at the timing of STG0, signal S8 shown in I is input. condition occurs and the signal PC or PS changes from H to L.
Furthermore, a signal S9 is generated at the timing of the rise of STG0. The duty of signals S8 and S9 is H
is the same as the duty shown in , and the stage signal
Determined by STG0 and STG7. In the above explanation, it is assumed that the signals PR, PC, and PS are input at the same time with the same duty, but in reality, these signals are not input at the same time and their duties are also different. Furthermore, even when looking at the same signal itself, its period and duty differ each time. However, due to FIG. 9 and the synchronization circuit, the pulse has a constant width. This pulse width is the stage signal STG
It is determined by the time difference between STG 0 and STG7. Therefore, latch circuits 600, 602, 604 and 606, 608, 6
By changing the stage signal applied to 10, the pulse width can be adjusted and changed. This pulse width is determined in relation to the timing of the stages in Table 1. In other words, as shown in Table 1, the ANGL stage is stage counter C0~
C2, C3 to C6 are allocated in the state of (1, 0), and further (1, 1), (1, 2), (1, 3)...
...and are assigned to each 8th stage. Since each stage is set to 1 microsecond, an ANGL stage is assigned once every 8 microseconds. Since the ANGL stage needs to detect the angle signal PC and control the incrementer, when the output PC of the angle sensor is applied to the synchronization circuit shown in Figure 9, the synchronization circuit will always hit the ANGL stage. Create a synchronization pulse like this and based on this synchronization pulse PCS
Control the incrementer controller in the ANGL stage. This synchronized angle signal PCS is also detected in stages ADV and RPM. This stage ADV
The RPM is assigned to the stage counters C0 to C2 being in the state of 3 and 6, respectively, and the values of C3 to C6 counting up by one. The assigned stage rotates in a cycle of 8 microseconds. The STG0 signal in Figure 9 is the C of the stage counter.
Output when the value of 0 to C2 is 0, while STG7
is output when C0 to C2 have a value of 7. This output is produced independently of C3-C6. Therefore, the first
As can be seen from Figure 0, the synchronized angle signal PCS always has a pulse width from the value of 0 to the value of 6 for the stage counter outputs C0 to C2, and this pulse is detected by the stages ANGL, ADV, and RPM, and the incrementer Control the controller. As above, the CYL stage that detects the synchronized reference signal PRS outputs the stage counter output C.
Since it is always assigned when the value of 0 to C2 is 2, the reference angle signal is sent from the angle sensor 98.
When PR is input, stage counter C0~
It is necessary that the synchronization reference signal PRS be output when C2 is 2. The circuit in Figure 9 is STG0
Since the pulse width between STG and STG7 is obtained, this information is fully satisfied. Next, the VSP stage for detecting the wheel speed is assigned when the stage counter outputs C0 to C2 always have a value of 5. Therefore, it is sufficient that the synchronized PSS signal is output when the value of C0 to C2 is 5. The circuit shown in FIG. 9 satisfies this condition because the values of C0 to C2 range from 0 to 6. 9th
In the figure, instead of the STG0 signal, create a signal STG4 that always appears when the value of C0 to C2 is 4, use this signal, and use this signal instead of the STG7 signal.
A signal STG6 that is always output when the value of 2 is the value of 6 may be used. In this case, when the signal PS is input, the synchronization signal PSS is the output C of the stage counter.
It will always be output when the values of 0 to C2 are 4 and 5. The stage cycle will now be explained.
In Table 1, stage counter outputs C0 to C6
128 types of stage signals with values from 0 to 127 are created, and when all of these signals have been generated, the large cycle is completed and a new large cycle begins again. This large cycle is further composed of 16 small cycles, and this small cycle is composed of 8 types of stage signals. This small cycle corresponds to the values of stage counter outputs C0 to C2 of 0 to 7, respectively, and is completed in 8 microseconds. The pulse outputs PR, PC, and PS from the sensor are reliably synchronized, and the synchronized pulses PRS, PCS,
In order to reliably generate PSS, it is necessary that the output from the sensor has a pulse width longer than this short cycle. For example, the duty of an angle sensor for a PC becomes narrower as the engine rotates faster. For example, at 9000 revolutions per minute, the time is approximately 9 microseconds. Therefore, in order to achieve sufficient synchronization with respect to 9000 revolutions per minute, it is necessary to make this small cycle shorter than this, and in this embodiment it is 8 microseconds. FIG. 11 shows a detailed circuit of incrementer 478. Input terminals A0 to A9 each receive 10-bit data from a register of the instantaneous register group selected in accordance with each stage signal. First, the A0 bit will be explained. A0 bit and count signal are exclusive OR850
is input to. Here, if the A0 bit is 0 (zero) and the count signal is 0 (L), it remains 0 (zero).
is output. Conversely, if the A0 bit is 1, 1 is output as is. In other words, the count signal is 0
If it is (L), the A0 bit signal is output as is. On the other hand, if the count signal is 1 (H), the A0 bit signal is inverted, and if A0 is 1, 0 (zero) is also inverted.
If A0 is 0 (zero), 1 is output. As a result, when looking at the A0 bit, it is counted by 1 according to the count signal. However, if the A0 bit is 1 and the count signal is 1, a carrier signal is sent to the processing gate 854 of the upper bit A1. The NOR gate 852 is a circuit that detects a carrier signal, and only when there is a carrier signal, the A1 bit is inverted and outputted as B1. If there is no carrier signal, the A1 signal becomes the B1 output. Gates 856, 860, 864,
The presence or absence of each carrier signal is detected at 868, 872, 876, 886, and 884,
Each input bit A2 to A9
OR, 858, 862, 866, 870, 87
4,878,882,886. If there is a carrier signal, these signals are inverted and output from B0 to
This becomes the output of B9. In this way, when the count signal is present, the input bits A0 to A9 count up by 1 and become output signals B0 to B9. AND gates 890-908 are circuits that perform a reset function, and when a RESET signal is input, outputs B0-B9 become zero regardless of the outputs of exclusive OR circuits 850-886. The count signal and RESET signal controlling the incrementer of FIG. 11 are produced by the incrementer controller FIG. 12. 12A and 12B are detailed views of the incrementer controller 490 of FIG. 4. 12th
Figure A shows a circuit that outputs a count signal (Count) and reset (Reset) to control the incrementer 478, and Figure 12B shows a move signal output circuit that transfers data to output register groups 430 and 432. be. As mentioned above, this incrementer 478 has three functions; the first function is to increase the input data by a value of 1, the second function is to reset the input data, and the third function is to increase the input data by a value of 1. The function is to output input data as is. The increment function is performed by the count signal, and the reset function is performed by the RESET signal.
When the count signal is high level, it is an increment function, when it is low level, it is a non-increment function, and when the RESET signal is high level, it is a reset function, and the RESET signal has priority over the count signal. The conditions may be selected based on the stage signals commanded by each process. The conditions include synchronized external input and the register group 504 of the second comparison result.
This is the output of Further, the conditions for transferring and writing data to the output register 474 are also similar to the conditions for the incrementer. Next, measurement of wheel speed will be explained. First, use your calculator to determine a certain amount of time called the window time. Measurement is performed by counting the number of pulses input each time the wheel rotates within this fixed period of time. For this reason, wheel speed requires a function to count pulses from sensors attached to the wheels and a function to determine whether a certain period of time has elapsed. These two functions cannot be performed by a single stage signal, so the stage signals are separated. That is, the stage for checking whether a certain period of time has elapsed is the VSPW stage "0B" in Table 1. This VSPW has a very long time width, so the VSPW stage pulse only comes in occasionally. The operation for determining whether or not this certain period of time has elapsed is as follows. That is, at the VSPW stage, the registers 428, 428 related to the VSPW registers shown in FIG.
464, 554, and 556 are connected. Then,
A window time (this is the time to be measured that is set by the computer and can be changed in various ways) is set in the register 428 and input to the comparator circuit 480. Also, register 464
The value of + is passed through the latch circuit 476 to
1'' and input to the comparison circuit 480 for comparison. This comparison circuit 480 constantly checks to see if they are equal to the set value from the computer, and if they are equal at a certain VSPW, it sets "1" in register 554 and "1" in register 556. do. In this case, when the next stage signal
The AND gate condition can be taken. In this case, if a match occurs during the VSPW stage, "0" is output in the incrementer 478 and the counter is reset. This VSPW
The value of is determined by the time interval set by the programmer, and the pulse is not long. Its length is between "0B" and "0C" in Table 1. The wheel speed during this period is measured by determining whether a pulse is received from the wheel speed, that is, whether a pulse called PSS is received from the sensor and processed by the circuit shown in FIG. 9. this
The PSS pulse is an internally synchronized crank angle sensor pulse. This sensor pulse is a pulse that is output once between "0-7" in Table 1, and does not have a length longer than "0-7" in Table 1. Even if the pulse is shorter than this, this thinning is extended. This is because the VSP stage signal always comes once between "0 to 7", and if it is delayed for a long time, it will be counted only once. At the VSP stage, only the count up is done, and register 468 is
The circuit passes from the latch circuit 476 to the incrementer 478 which adds "+1", but whether the "+1" or "+0" is determined depends on whether or not the PSS in FIG. If the wheel is running slowly, ``+0'' will be selected forever, and if the wheel is moving slowly, ``+1'' will be selected from time to time). Then, at the final time when the vehicle speed is measured, the window VSPWD pulse is output, a reset is applied, and the value returns to "0".
It is latched before this reset is activated, and new data is written into the register 432 at regular intervals. In order to accurately measure even when the wheel speed is very slow, it is necessary to increase the measurement time, so the timing of an interval interrupt signal, which is a computer interrupt signal, is used as the clock that determines the window.
That is, in FIG. 8, the clock period can be substantially reduced by receiving the VSPWSTG signal and the INTVBF signal from register 516 in an AND circuit and calculating the logical product of both signals. The effect will be explained while comparing FIG. 18 and FIG. 19. If there is no AND circuit, the 18th
As shown in the figure, the VSPWSTG signal becomes the VSPWD signal, so the VSPW counter for specifying the measurement time is the VSPWD signal with the same period as the VSPWSTG signal.
Count the signals. In contrast, AND
If a circuit is provided, as shown in Figure 19,
The VSPWD signal is output only when the VSPWSTG signal and the INTVD signal match, and the VSPW counter has a pulse interval that is much wider than the VSPWSTG signal.
The VSPWD signal will be counted slowly. Therefore, it takes a long time for the VSPW counter to count up to a predetermined value, and even a signal with a wide pulse interval, such as a vehicle speed signal, can be taken in a large amount during that long time, improving accuracy. Generally, measurement accuracy is proportional to measurement time. By measuring the number of pulses input over a certain period of time, the frequency of that pulse can be determined. If a pulse with a frequency of f (Hz) is input during the measurement time T (sec),
The count value is f×T. At this time, the pulse measurement includes a quantization error of ±1 count, so the error is 1/fT.
have. The smaller T is, the larger 1/fT becomes, which has an adverse effect on control. Furthermore, since the measurement resolution is proportional to the count value, the larger T is, the greater the resolution can be obtained. For example, a signal of about 5Hz
If you count for 1 second, you will get 5 counts, but the quantization error of 1 count corresponds to ±20%. The resolution is also similar. If T is doubled to 2 seconds, the count value will be doubled to 10 counts, and the accuracy will be ±10%. Here, considering that the vehicle speed signal is very slow and f is low, it is important to take a long measurement time. Although this embodiment has been explained using VSPW, the same effect can be obtained by ANDing EGRP and INTVBF using an AND gate when determining the duty of the pulse that determines the EGR pulse period. Can be done. FIG. 13 is a diagram illustrating the process of generating the constant angle signal ANGLD. Synchronized reference signal PRS
register 444, which acts as ANGLCOUNTER, is incremented by the high level of the synchronized angle signal PCS. And from the reference angle signal PR
ANGL that maintains the angle until ANGLD occurs
If it is greater than or equal to the register 406, the ANGL FF 510 of the first register 502 is set to 1.
and also sets the second register 504.
ANGL BF512 is set to 1. this
The rising edge of ANGL BF is shaped by a waveform shaping circuit 840 to generate a signal ANGLD. This signal ANGLD
is one of the STATUS REGISTERs shown in Figure 4.
Sets the bit to 1 and generates an interrupt signal. By changing the value set in the ANGL register 406 in this way, it is possible to change the time from the reference angle signal PR to generation of the interrupt signal. FIG. 14 is a diagram explaining the processing of the fuel injection signal INJ. Since the start of injection is different depending on the number of cylinders, the synchronization reference signal is
PRS is counted and the result is compared with the CYL register 404 which holds a value related to the number of cylinders, and when the result is greater or equal, CYL FF 506 in the first register group 502 is set to 1. , and further the second register group 504.
Set CYLBF508 to 1. This CYLBF
= 1, CYL COUNTER 442 is reset. Also, when CYL BF=1, the INJ TIMER 450 that measures the injection time is reset.
INJD register 4, which is always unconditionally incremented by the time and has the injection time set.
12 and when greater or equal, the first
1 is set in the INJ FF522 of the register group. Also, 1 is set in INJ BF524 of the second register group. When this INJ BF=1,
Incrementing by time is prohibited. This INJ
The reverse output of BF becomes the fuel injection time width, which becomes the valve opening time of the fuel injector. FIG. 15 is a diagram illustrating processing of signals that control ignition. The synchronization reference signal PRS resets the register 452, which acts as an ADV COUNTER, and is incremented by the high level of the synchronization angle signal PCS. Then, the ignition angle from the reference angle signal PR is compared with the ADV register 414 holding the ignition angle, and if the ignition angle is greater than or equal, the ADV FF 526 of the first register 502 is set to 1, and the ignition angle of the second register 504 is set to 1. ADV BF528 is set to 1. ADVD indicating the rising edge of ADV BF causes the DWL COUNTER to start energizing.
454 and is incremented by the synchronization angle signal PC8 being at a high level. Then, it is compared with the DWL register 416 that holds the angle from the previous ignition position to the start of energization, and if it is greater or equal, the DWL FF 530 of the first register 502 is set to 1,
Also, the DWL BF532 of the second register 504
is set to 1. The output of this DWL BF532 becomes the ignition control signal ING1. FIG. 16 is a diagram explaining EGR (NIDL) processing. All of these EGR controls use proportional solenoids, so duty control is performed. There are two registers: an EGRP register 418 that holds the cycle and an EGRD register 420 that holds the on-time.
56. In processing, EGRP
When processing STG, unconditional increment,
Also, EGRP register 418 and EGR TIMER 45
6, and if the data is greater than or equal to EGRP FF5 of the first register group 502.
Set 1 to 34. Additionally, EGRP BF 536 in second register group 504 is set to 1. When processing EGRD STG, unconditional non-increment, or EGR with EGRP BF=1.
TIMER 456 is reset. EGRDFF5
38 is the EGRD register 420 and EGR TIMER
456 and the results are greater than or equal, EGRD BF540 is set to 1.
is set to The inverted output of this EGRD BF540 is the EGR control signal. The operation is similar to NIDL. Figure 17 shows the engine speed RPM (and vehicle speed).
FIG. The measurement method uses a certain measurement time width as RPMW.
It is determined by the TIMER 460 and obtained by counting the synchronized angle pulses PC within that time width. RPMW TIMER460, which measures time width,
is unconditionally incremented and also RPMW
It is reset when BF552=1. RPMW
FF550 is set to 1 because the RPMW register 425 holding the time width and RPMW
This is when the TIMER 460 is compared and the result is greater than or equal. RPM COUNTER462 that counted the PC by RPMWD indicating the rise of RPMW BF552
The contents of are transferred to the RPM register 430 of the output register 474 and written. Also, RPMW BF
When 552=1, RPM COUNTER462
will be reset. VSP STG processing is also similar to RPM. Table 3 shows the functions of each register.
【表】【table】
【表】【table】
【表】【table】
【表】【table】
【表】
次に基準レジスタ470に基準データをセツト
する方法について説明する。レジスタ402,4
04,410はこの実施例の装置の起動時にセツ
トされる。これらの値は一度セツトされると変更
されない。次にレジスタ406,408のデータ
セツトはプログラム処理により行なわれる。
レジスタ412にはフユーエル・インジエクタ
66の開弁時間を表わすデータINJDが入力され
る。このデータINJDは例えば次のようにして定
められる。エア・フロー・メータ14の出力信号
QAをマルチプレクサ122を介してアナログデ
イジタル変換器124へ取込む。ここでデイジタ
ルデータに変換されレジスタ(図示せず)に保持
される。この吸入空気量を表わすデータと第4図
のレジスタ430に保持されているデータから計
算処理あるいはマツプ状に記憶された情報により
負荷データTPを求める。さらに吸気温センサ1
6、水温センサ、大気圧センサの出力をデイジタ
ル変換し、このデータとエンジンの運転状態によ
り補正を行う。この補正係数をK1とする。さら
にバツテリ電圧もデイジタル化され、このデータ
に応じて補正が行なわれる。この補正係数をTS
とする。次にλセンサ80によつて補正が行なわ
れる。この補正係数をαとする。すなわち、デー
タINJDは次の式となる。
INJD=α(KI・TP+TS)
このようにしてフユーエル・インジエクタの開
弁時間が定められる。しかしここで示した方法は
1例であり、他の方法で定めることはもちろん可
能である。
レジスタ414には点火時期を表わすデータ
ADVがセツトされる。このデータADVは例えば
次のようにして作られる。上記負荷データTPと
回転数をフアクタとするマツプ状の点火データ
θIGをROM118内に保持し、このマツプより
求める。さらにこのθIGに始動補正、水温補正、
加速補正などを加える。このようにしてデータ
ADVが作られる。
レジスタ416には点火コイルの1次電流充電
時間を制御するためのデータとしてデータDWL
がセツトされる。このデータDWLは上記データ
ADVの値とバツテリ電圧のデイジタル値より計
算されて求められる。
レジスタ418と422には信号EGRの周期
を表わすデータEGRPと信号NIDLの周期を表わ
すデータNIDLPがそれぞれセツトされる。これ
らのデータは予め定められているものである。
レジスタ420にはEGR弁(排気ガス還流装
置の通電幅を表わすデータEGRDがセツトされ
る。この通電幅が大きくなると排気ガス還流装置
の開弁割合が増大し、排気ガスの還流率が増大す
る。データEGRDは例えば上記負荷データTPと
回転速度をフアクタとするマツプ状態でROM1
18内に保持される。さらにこのデータは水温な
どにより補正される。
レジスタ424にはエア・レギユレータ48の
通電幅を表わすデータNIDLDがセツトされる。
このデータは、例えば無負荷状態におけるエンジ
ンの回転速度が所定の回転速度になるようにフイ
ードバツク制御され、そのフイードバツク置とし
て定められる。
レジスタ426と428には一定時間を表わす
データRPMWとVSPWが、この実施例の回路が
起動されるときにそれぞれセツトされる。
以上の説明では燃料噴射量、点火進角、排気ガ
ス還流量などの制御にエア・フロー・センサの出
力をその入力フアクタとして使用した。しかし吸
入空気の状態を表わすセンサとしてこのエア・フ
ロー・センサ以外のセンサを使用することが可能
である。
例えばインテーク・マニホールド圧を検出する
圧力センサを用いても良い。
以上説明してきたように定角度信号ANGLD
は、燃料噴射信号INJ、点火制御信号IGN1など
には影響を及ぼさずに発生させることができる。
したがつて、本実施例によれば、車輪速が遅い
場合でも精度よく車速を測定することができる。
以上説明したように、本発明によれば、測定検
出信号の入力間隔が広いものであつても精度よく
測定することができる。[Table] Next, a method for setting reference data in the reference register 470 will be explained. Register 402,4
04,410 are set when the device of this embodiment is started up. Once set, these values do not change. Data setting in registers 406 and 408 is then performed by program processing. Data INJD representing the opening time of the fuel injector 66 is input to the register 412. This data INJD is determined, for example, as follows. Air flow meter 14 output signal
QA is taken through multiplexer 122 to analog-to-digital converter 124 . Here, it is converted into digital data and held in a register (not shown). The load data TP is obtained from the data representing the intake air amount and the data held in the register 430 in FIG. 4 through calculation processing or information stored in a map form. In addition, intake temperature sensor 1
6. Digitally convert the outputs of the water temperature sensor and atmospheric pressure sensor, and make corrections based on this data and the engine operating status. Let this correction coefficient be K1. Furthermore, the battery voltage is also digitized, and correction is performed according to this data. This correction factor is TS
shall be. Correction is then performed by the λ sensor 80. Let this correction coefficient be α. In other words, data INJD is expressed as follows. INJD=α(KI・TP+TS) In this way, the valve opening time of the fuel injector is determined. However, the method shown here is just one example, and it is of course possible to define it using other methods. The register 414 contains data representing the ignition timing.
ADV is set. This data ADV is created, for example, as follows. Map-shaped ignition data θIG with the load data TP and rotational speed as factors is held in the ROM 118, and is determined from this map. Furthermore, starting correction, water temperature correction,
Add acceleration correction etc. In this way the data
ADV is created. The register 416 contains data DWL as data for controlling the primary current charging time of the ignition coil.
is set. This data DWL is the above data
It is calculated from the ADV value and the digital value of battery voltage. Data EGRP representing the period of signal EGR and data NIDLP representing the period of signal NIDL are set in registers 418 and 422, respectively. These data are predetermined. Data EGRD representing the energization width of the EGR valve (exhaust gas recirculation device) is set in the register 420. As the energization width increases, the valve opening ratio of the exhaust gas recirculation device increases, and the exhaust gas recirculation rate increases. The data EGRD is, for example, a map state in which the factors are the load data TP and the rotation speed.
18. Furthermore, this data is corrected based on water temperature, etc. Data NIDLD representing the energization width of the air regulator 48 is set in the register 424.
This data is subjected to feedback control such that the rotational speed of the engine in a no-load state becomes a predetermined rotational speed, and is determined as the feedback position. Data RPMW and VSPW representing fixed time periods are set in registers 426 and 428, respectively, when the circuit of this embodiment is activated. In the above explanation, the output of the air flow sensor is used as an input factor to control the fuel injection amount, ignition advance angle, exhaust gas recirculation amount, etc. However, it is possible to use a sensor other than this air flow sensor as a sensor that indicates the state of the intake air. For example, a pressure sensor that detects intake manifold pressure may be used. As explained above, the constant angle signal ANGLD
can be generated without affecting the fuel injection signal INJ, the ignition control signal IGN1, etc. Therefore, according to this embodiment, the vehicle speed can be measured with high accuracy even when the wheel speed is slow. As described above, according to the present invention, even if the input interval of measurement detection signals is wide, it is possible to measure with high accuracy.
第1図はエンジン系統全体の制御装置の説明
図、第2図はエンジンの作動を示すタイムチヤー
ト、第3図はエンジンの制御回路の具体的構成を
示すブロツク図、第4図は第3図に示す入出力イ
ンタフエイス回路の詳細を示すブロツク図、第5
図は第4図に示す回路の作動を示す説明図、第6
図は第4図における回路中のステージカウンタの
詳細を示すブロツク図、第7図は第4図に示す基
準レジスタ群及び瞬時レジスタ群の具体的実施例
を示すブロツク図、第8図は第1及び第2比較出
力レジスタ群502,504の具体例を示す説明
図、第9図は同期化回路の詳細を示す回路図、第
10図は第9図に示す同期化回路の動作を示す説
明図、第11図は第4図に示すインクリメンタ4
78の具体的実施例を示す回路図、第12A図及
び第12B図はインクリメンタコントローラの詳
細を示す回路図、第13図は定角度信号発生処理
の動作を示す図、第14図は燃料噴射信号処理の
動作を示す説明図、第15図は点火時期制御の動
作を示す説明図、第16図はEGR或いはNIDL制
御の動作を示す説明図、第17図はエンジン回転
速度RPM或いは車速VSPの検出動作を示す説明
図、第18図は本発明のAND回路がない場合の
VSPWSTG信号とVSPWカウントとの関係を示
す図、第19図は本発明のAND回路がある場合
のVSPWSTG信号とVSPWカウンタのカウント
との関係を示す図である。
70……制御回路、108……CPU、110
……ROM、112……RAM、114……入出
力回路、470……基準レジスタ群、402〜4
28……レジスタ。
Fig. 1 is an explanatory diagram of the control device for the entire engine system, Fig. 2 is a time chart showing the operation of the engine, Fig. 3 is a block diagram showing the specific configuration of the engine control circuit, and Fig. 4 is Fig. 3. 5 is a block diagram showing details of the input/output interface circuit shown in FIG.
The figure is an explanatory diagram showing the operation of the circuit shown in Figure 4, and Figure 6 shows the operation of the circuit shown in Figure 4.
The figure is a block diagram showing details of the stage counter in the circuit in FIG. 4, FIG. 7 is a block diagram showing a concrete example of the reference register group and instantaneous register group shown in FIG. 4, and FIG. 9 is a circuit diagram showing details of the synchronization circuit, and FIG. 10 is an explanatory diagram showing the operation of the synchronization circuit shown in FIG. 9. , FIG. 11 shows the incrementer 4 shown in FIG.
78, FIG. 12A and 12B are circuit diagrams showing details of the incrementer controller, FIG. 13 is a diagram showing the operation of constant angle signal generation processing, and FIG. 14 is a fuel injection An explanatory diagram showing the operation of signal processing, Fig. 15 is an explanatory diagram showing the operation of ignition timing control, Fig. 16 is an explanatory diagram showing the operation of EGR or NIDL control, and Fig. 17 is an explanatory diagram showing the operation of engine rotation speed RPM or vehicle speed VSP. An explanatory diagram showing the detection operation, Fig. 18, shows the case without the AND circuit of the present invention.
FIG. 19 is a diagram showing the relationship between the VSPWSTG signal and the VSPW count when there is an AND circuit of the present invention. 70...Control circuit, 108...CPU, 110
...ROM, 112...RAM, 114...I/O circuit, 470...Reference register group, 402-4
28...Register.
Claims (1)
ログラム及び固定データを格納する記憶素子と、
前記演算処理に伴うデータを格納する読出し書き
込み可能な記憶素子と、測定検出信号に基づく入
力データ及び前記演算処理により得られた出力デ
ータを保持する一方で測定ステージ信号をカウン
トし測定時間を決めるレジスタ群を有する入出力
回路とを含む内燃機関の制御装置において、 前記入出力回路が、前記測定検出信号を計数す
るための一定時間を決める前記測定ステージ信号
と前記演算処理ユニツトへのインタバル割込信号
との論理積を求め入力間隔が広い測定検出信号を
計数するために前記測定ステージ信号のパルス間
隔を広げるAND回路を前記測定ステージ信号を
カウントする回路部分の前に備えたことを特徴と
する内燃機関の電子制御装置。[Claims] 1. An arithmetic processing unit that performs arithmetic processing, a storage element that stores a control program and fixed data,
a readable and writable memory element for storing data associated with the arithmetic processing; and a register that counts measurement stage signals and determines measurement time while holding input data based on the measurement detection signal and output data obtained by the arithmetic processing. A control device for an internal combustion engine including an input/output circuit having a group of input/output circuits, wherein the input/output circuit receives the measurement stage signal and an interval interrupt signal to the arithmetic processing unit, which determines a predetermined time for counting the measurement detection signals. The internal combustion engine is characterized in that an AND circuit is provided in front of a circuit section for counting the measurement stage signals, and an AND circuit that widens the pulse interval of the measurement stage signal in order to calculate the logical product of the measurement detection signals with a wide input interval and count the measurement detection signals having a wide input interval. Engine electronic control unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6261081A JPS57179351A (en) | 1981-04-27 | 1981-04-27 | Electronic control apparatus for internal combustion engine |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6261081A JPS57179351A (en) | 1981-04-27 | 1981-04-27 | Electronic control apparatus for internal combustion engine |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS57179351A JPS57179351A (en) | 1982-11-04 |
| JPS6336415B2 true JPS6336415B2 (en) | 1988-07-20 |
Family
ID=13205249
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6261081A Granted JPS57179351A (en) | 1981-04-27 | 1981-04-27 | Electronic control apparatus for internal combustion engine |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS57179351A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0456412U (en) * | 1990-09-25 | 1992-05-14 |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US3969614A (en) * | 1973-12-12 | 1976-07-13 | Ford Motor Company | Method and apparatus for engine control |
-
1981
- 1981-04-27 JP JP6261081A patent/JPS57179351A/en active Granted
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0456412U (en) * | 1990-09-25 | 1992-05-14 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS57179351A (en) | 1982-11-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| USRE32286E (en) | Apparatus for electronically controlling internal combustion engine | |
| US4282573A (en) | Processor interrupt device for an electronic engine control apparatus | |
| US4309759A (en) | Electronic engine control apparatus | |
| USRE32140E (en) | Electronic engine control apparatus | |
| US4274141A (en) | Method and apparatus for controlling an internal combustion engine, particularly the starting up of the engine | |
| US4280189A (en) | Input signal processor used in electronic engine control apparatus | |
| US4310888A (en) | Technique for controlling the starting operation of an electronic engine control apparatus | |
| USRE32163E (en) | Error preventing device for an electronic engine control apparatus | |
| GB2172715A (en) | Electronic control system for internal combustion engines | |
| US4312038A (en) | Electronic engine control apparatus having arrangement for detecting stopping of the engine | |
| EP0050364B1 (en) | Method for controlling an internal combustion engine | |
| JPS6225860B2 (en) | ||
| JPH0112931B2 (en) | ||
| JPH0120301B2 (en) | ||
| JPS6224616B2 (en) | ||
| JPH0375740B2 (en) | ||
| JPS6343579B2 (en) | ||
| JPS627373B2 (en) | ||
| JPS6336415B2 (en) | ||
| EP0077533B1 (en) | Electronic control method and apparatus for internal combustion engines | |
| JPS627381B2 (en) | ||
| JPS5895214A (en) | Signal processing method for hot-wire flow rate sensor | |
| JPS6319698B2 (en) | ||
| JPH0118443B2 (en) | ||
| JPS6224617B2 (en) |