JP2576141B2 - Status output device of control system - Google Patents
Status output device of control systemInfo
- Publication number
- JP2576141B2 JP2576141B2 JP62212326A JP21232687A JP2576141B2 JP 2576141 B2 JP2576141 B2 JP 2576141B2 JP 62212326 A JP62212326 A JP 62212326A JP 21232687 A JP21232687 A JP 21232687A JP 2576141 B2 JP2576141 B2 JP 2576141B2
- Authority
- JP
- Japan
- Prior art keywords
- output
- signal
- data
- state
- control system
- 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
Links
- 238000012545 processing Methods 0.000 claims description 27
- 238000001514 detection method Methods 0.000 claims description 12
- 238000002485 combustion reaction Methods 0.000 description 21
- 238000005259 measurement Methods 0.000 description 18
- 238000000034 method Methods 0.000 description 15
- 239000000446 fuel Substances 0.000 description 14
- 230000005856 abnormality Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 10
- 238000012937 correction Methods 0.000 description 8
- 238000003745 diagnosis Methods 0.000 description 8
- 238000002347 injection Methods 0.000 description 8
- 239000007924 injection Substances 0.000 description 8
- 230000002159 abnormal effect Effects 0.000 description 5
- 239000003990 capacitor Substances 0.000 description 4
- 239000004973 liquid crystal related substance Substances 0.000 description 4
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 239000000498 cooling water Substances 0.000 description 3
- 239000007789 gas Substances 0.000 description 3
- 101100281682 Danio rerio fsta gene Proteins 0.000 description 2
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 description 2
- 239000001301 oxygen Substances 0.000 description 2
- 229910052760 oxygen Inorganic materials 0.000 description 2
- 238000007493 shaping process Methods 0.000 description 2
- 238000011144 upstream manufacturing Methods 0.000 description 2
- 101100328887 Caenorhabditis elegans col-34 gene Proteins 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000003197 catalytic effect Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000001816 cooling Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000002828 fuel tank Substances 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000010349 pulsation Effects 0.000 description 1
- 230000009291 secondary effect Effects 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
Landscapes
- Testing Of Engines (AREA)
- Testing And Monitoring For Control Systems (AREA)
- Combined Controls Of Internal Combustion Engines (AREA)
Description
【発明の詳細な説明】 発明の目的 [産業上の利用分野] 本発明は各種制御システムの状態を検出する装置に関
し、例えば、内燃機関等の被制御装置あるいは酸素セン
サ等の状態検出手段の異常の診断結果や、その制御回路
の制御パラメータを外部測定装置に出力する制御システ
ムの状態出力装置に関する。DETAILED DESCRIPTION OF THE INVENTION Object of the Invention [Industrial Application Field] The present invention relates to a device for detecting a state of various control systems, for example, a malfunction of a controlled device such as an internal combustion engine or a state detecting means such as an oxygen sensor. The present invention relates to a state output device of a control system that outputs a diagnosis result of the above and a control parameter of the control circuit to an external measuring device.
[従来の技術] マイクロコンピュータ等の電子制御装置によって内燃
機関の動作制御を行う制御システムにおいては、そのシ
ステムを構成する各要素、例えば各種のセンサ、アクチ
ュエータ等の異常を検出し、検査者にその旨を知らせる
ための故障診断処理が行われている。この故障診断処理
において、電子制御装置内の予め定められた故障診断ル
ーチンによって得られた各要素毎の故障診断結果は、従
来は各要素毎に対応して設けられた専用の出力端子に出
力され、検査者はどの出力端子にその旨の信号が現れた
かによって故障箇所を認識し対策を講じていた。また、
この他に詳細な制御システムの状態を検出するために、
例えば空燃比補正量に応じた空燃比調整信号や固定進角
の点火時期測定用の専用出力端子を各々設ける場合もあ
った。2. Description of the Related Art In a control system that controls the operation of an internal combustion engine by an electronic control device such as a microcomputer, an abnormality of each element constituting the system, for example, various sensors and actuators, is detected, and an inspector is notified of the abnormality. A failure diagnosis process for notifying the user is performed. In this failure diagnosis processing, the failure diagnosis result for each element obtained by a predetermined failure diagnosis routine in the electronic control unit is output to a dedicated output terminal conventionally provided corresponding to each element. The inspector recognizes the failure point based on which output terminal the signal to that effect appears, and takes measures. Also,
In order to detect other detailed control system status,
For example, an air-fuel ratio adjustment signal corresponding to the air-fuel ratio correction amount or a dedicated output terminal for measuring the ignition timing of a fixed advance angle may be provided.
このため、各信号に応じて出力端子を多数設けなくて
はならず、出力端子に付属する各種装置構成と合わせ
て、システムが複雑かつ大型化しシステム製造工程が複
雑になるとともに、コスト的にも不利となっていた。For this reason, a large number of output terminals must be provided in accordance with each signal. In addition to various device configurations attached to the output terminals, the system becomes complicated and large, the system manufacturing process becomes complicated, and the cost is reduced. Had a disadvantage.
この問題を解決するものとして、一出力端子から、所
定の入力信号に応じて異なるデータを出力することによ
り、上記問題を解決する制御装置が提案されている(特
開昭57−31005,特開昭57−59039)。In order to solve this problem, a control device has been proposed which solves the above problem by outputting different data from one output terminal according to a predetermined input signal (Japanese Patent Application Laid-Open Nos. 57-31005 and 57-31005). 57-59039).
[発明が解決しようとする問題点] しかし、上記装置は次なる問題点を有し、未だ十分な
ものではなかった。[Problems to be Solved by the Invention] However, the above-described device has the following problems and has not been sufficient.
即ち、端子から出力される信号が各信号とも単一な形
態であるため外部の測定装置が単一なものとなり、結果
として適用範囲が狭いものとなっていた。即ち、前者
(特開昭57−31005)は、各センサの異常を知らせる診
断信号を電圧値で出力しているのみなので、所定の電圧
計で測定しなくてはならない。更に、精密なデータを出
力できる信号形態ではないので制御パラメータ等の測定
検出は不可能であった。That is, since each signal output from the terminal has a single form, a single external measuring device is used, and as a result, the applicable range is narrow. That is, the former (Japanese Patent Application Laid-Open No. 57-31005) only outputs a diagnostic signal indicating the abnormality of each sensor in the form of a voltage value, so that it must be measured with a predetermined voltmeter. Furthermore, since it is not a signal form capable of outputting precise data, measurement and detection of control parameters and the like were impossible.
また、後者(特開昭57−59039)は、ランプの点灯状
態のみで、状態信号、診断信号及びセンサの実信号を出
力している。そのため前者同様精密なデータ出力ができ
ず、正確な解析のできる制御パラメータ等の検出は不可
能であるとともに、ランプでは視覚による定性的な判断
しかできなかった。The latter (Japanese Patent Application Laid-Open No. 57-59039) outputs a state signal, a diagnostic signal and a real signal of a sensor only by the lighting state of the lamp. As a result, precise data cannot be output as in the former case, and it is impossible to detect control parameters and the like that can be analyzed accurately, and a lamp can only make a qualitative judgment visually.
この様に従来技術は一つの信号形態しか出力していな
いために、測定装置の自由度が低く、常に十分に異常が
検出できるとは限らなかった。例えば、車両用内燃機関
の制御装置における、原因が比較的明快な異常は、まず
各修理工場や代理店等で簡易なアナログ式やデジタル式
の外部測定装置にて十分な解析ができる。しかし、不具
合について原因が複雑に絡み合っていて、安価な外部測
定装置では解析できない異常については、サービスセン
タ等の特定の拠点の精密な外部測定装置で解析を行うこ
とが必要となる。しかし、制御装置自体、その様な精密
な信号は出力できない様な出力構成であるので、現状の
端子に精密な外部測定装置を接続して即時に解析すると
いうわけには行かなかった。そのため、原因解析が不十
分なまま、不必要に部品を交換する可能性があった。As described above, since the conventional technique outputs only one signal form, the degree of freedom of the measuring device is low, and it is not always possible to always sufficiently detect an abnormality. For example, an abnormality having a relatively clear cause in a control device of a vehicle internal combustion engine can be sufficiently analyzed by a simple analog or digital external measuring device at each repair shop or agency. However, for abnormalities that cannot be analyzed with an inexpensive external measurement device because the causes are complicatedly intertwined with each other, it is necessary to analyze with a precise external measurement device at a specific base such as a service center. However, since the control device itself has such an output configuration that it cannot output such a precise signal, it has not been possible to connect a current external terminal to a precise external measurement device and immediately analyze the signal. For this reason, there is a possibility that parts are unnecessarily replaced while the cause analysis is insufficient.
逆に、制御装置が制御パラメータ等の精密な出力のみ
を行っている場合には、通常の修理工場や代理店レベル
では精密な外部測定装置がなく、精密な測定データが検
出できないので原因究明なできず、やはり不必要に部品
を交換する可能性があった。Conversely, if the control device outputs only the precise output of control parameters, etc., there is no precise external measurement device at the level of a normal repair shop or agency, and precise measurement data cannot be detected. There was a possibility that parts could be replaced unnecessarily.
発明の構成 そこで、本発明は、上記問題点を解決することを目的
とし、次のような構成を採用した。Configuration of the Invention Accordingly, the present invention has the object of solving the above problems, and has adopted the following configuration.
[問題点を解決するための手段] 即ち、本発明の要旨とするところは、第1図に例示す
るごとく、 状態検出手段M1により被制御装置M2から所定の状態デ
ータを検出し、演算装置M3により少なくともその状態デ
ータに所定の処理を行って求めたパラメータに基づき被
制御装置M2を制御する制御システムに適用されるととも
に、 複数の外部装置M4が選択的に接続される共通の入出力
端子M7を備え、 前記入出力端子M7に接続された外部装置M4に、前記状
態検出手段M1により検出された状態データ、前記状態検
出手段M1の状態診断データ、前記被制御装置M2の状態診
断データ及び前記パラメータのうち少なくとも1つを出
力データとして出力する制御システムの状態出力装置で
あって、 前記外部装置M4から前記入出力端子M7に入力される外
部装置の処理能力に対応する指令信号に基づき、前記出
力データの出力形態を選択する出力形態選択手段M5と、 前記出力形態選択手段M5により選択された出力形態
で、前記外部装置M4に前記出力データを出力する出力手
段M6と、 を備えたことを特徴とする制御システムの状態出力装置
にある。[Means for Solving the Problems] That is, as the gist of the present invention, as shown in FIG. 1, the state detecting means M1 detects predetermined state data from the controlled device M2, and the arithmetic unit M3 Is applied to a control system that controls the controlled device M2 based on at least parameters obtained by performing predetermined processing on the state data, and a common input / output terminal M7 to which a plurality of external devices M4 are selectively connected. The external device M4 connected to the input / output terminal M7, the state data detected by the state detecting means M1, the state diagnostic data of the state detecting means M1, the state diagnostic data of the controlled device M2 and the A state output device of a control system that outputs at least one of parameters as output data, wherein a processing capability of an external device input to the input / output terminal M7 from the external device M4 An output mode selecting unit M5 for selecting an output mode of the output data based on a command signal corresponding to the output signal, and an output for outputting the output data to the external device M4 in the output mode selected by the output mode selecting unit M5. And M6. A state output device for a control system, comprising:
[作用] 演算装置M3は、状態検出手段M1にて検出された被制御
装置M2の所定の状態データに基づき、所定の処理を行
い、制御用のパラメータを求める。更に演算装置M3はこ
のパラメータによって被制御装置M2を制御している。こ
の様な制御システムの状態を診断させるために、本発明
の状態出力装置は、状態検出手段M1による状態データ、
状態検出手段M1の状態診断データ、被制御装置M2の状態
診断データ及びパラメータのうち少なくとも1つを出力
データとして外部装置M4に出力している。外部装置M4は
このデータを受けて所定の表示をしたり、所定の判断処
理をしたりすることにより制御システムの状態を検出し
ている。[Operation] The arithmetic unit M3 performs a predetermined process based on predetermined state data of the controlled device M2 detected by the state detection means M1, and obtains a control parameter. Further, the arithmetic unit M3 controls the controlled device M2 with this parameter. In order to diagnose the state of such a control system, the state output device of the present invention uses state data by state detection means M1,
At least one of the status diagnosis data of the status detection means M1, the status diagnosis data of the controlled device M2, and the parameters is output to the external device M4 as output data. The external device M4 receives the data and performs a predetermined display or performs a predetermined determination process to detect the state of the control system.
ここで、前記出力データは単にそのまま出力されると
は限らず、外部装置M4から入出力端子M7を介して入力さ
れた、外部装置M4の処理能力に対応する指令信号に応じ
て、出力形態選択手段M5が、外部装置M4にて処理できる
データの出力形態、例えば、ディジタルかアナログか、
アナログでもステップ的な信号か原信号に相似の信号
か、ディジタルの場合シリアルかパラレルか、またはそ
のデータをビットで表すか16進法のコードで表すか、を
選択する。あるいは、外部装置が処理できる精度の程度
に応じた出力形態、例えば、デジタル信号をシリアル出
力する場合のボーレートを選択する。Here, the output data is not always output as it is, and an output mode selection is performed according to a command signal input from the external device M4 via the input / output terminal M7 and corresponding to the processing capability of the external device M4. Means M5, the output form of data that can be processed by the external device M4, for example, digital or analog,
Select whether the signal is analogous to a step signal or similar to the original signal, serial or parallel in the case of digital, or whether the data is represented by bits or hexadecimal codes. Alternatively, an output mode according to the degree of accuracy that can be processed by the external device, for example, a baud rate when serially outputting a digital signal is selected.
この選択結果にしたがって、出力手段M6が、上記外部
装置M4に該当データを選択された出力形態で出力する。
こうして外部装置M4の処理能力に適合させたデータ信号
を出力できる。According to the selection result, the output means M6 outputs the corresponding data to the external device M4 in the selected output form.
Thus, a data signal adapted to the processing capacity of the external device M4 can be output.
[実施例] 次に、本発明の状態出力装置の一実施例を説明する。
本発明はこれらに限られるものではなく、その要旨を逸
脱しない範囲の種々の態様のものが含まれる。Example Next, an example of the state output device of the present invention will be described.
The present invention is not limited to these, and includes various embodiments in a range not departing from the gist thereof.
第2図は、本発明の状態出力装置を備えたガソリン式
内燃機関の制御システム構成図である。FIG. 2 is a control system configuration diagram of a gasoline-type internal combustion engine provided with the state output device of the present invention.
同図において、内燃機関1は、シリンダ2、ピストン
3、シリンダブロック4、シリンダヘッド5により形成
される燃焼室6を有している。上記燃焼室6には、点火
プラグ7が配設されている。ピストン3からの押圧力
は、図示しない変速機等各種装置を介入して、図示しな
い駆動輪に伝達される。In the figure, an internal combustion engine 1 has a combustion chamber 6 formed by a cylinder 2, a piston 3, a cylinder block 4, and a cylinder head 5. An ignition plug 7 is provided in the combustion chamber 6. The pressing force from the piston 3 is transmitted to driving wheels (not shown) via various devices such as a transmission (not shown).
内燃機関1の燃焼室6の吸気側は、吸気バルブ8を介
して吸気管9に連通する。該吸気管9の上流には吸入空
気の脈動を吸収するサージタンク10が設けられており、
該サージタンク10上流にはスロットルバルブ11が配設さ
れている。該スロットルバルブ11は運転者によるアクセ
ルペダル12の操作により開度が調整されている。The intake side of the combustion chamber 6 of the internal combustion engine 1 communicates with an intake pipe 9 via an intake valve 8. A surge tank 10 for absorbing the pulsation of the intake air is provided upstream of the intake pipe 9.
A throttle valve 11 is provided upstream of the surge tank 10. The opening of the throttle valve 11 is adjusted by an operation of an accelerator pedal 12 by a driver.
一方、燃焼室6の排気側は、排気バルブ16を介して、
排気管17及び排気浄化用の触媒コンバータ17aに連通し
ている。On the other hand, the exhaust side of the combustion chamber 6 is
It communicates with the exhaust pipe 17 and a catalytic converter 17a for purifying exhaust gas.
燃料系統は、図示しない燃料タンク及び燃料ポンプよ
りなる燃料供給源と燃料供給管及び吸気管9に配設され
た燃料噴射弁18により構成されている。The fuel system includes a fuel supply source including a fuel tank and a fuel pump (not shown), and a fuel injection valve 18 disposed in a fuel supply pipe and an intake pipe 9.
又、点火系統は、点火に必要な高電圧を出力するイグ
ナイタ19、及び図示していないクランク軸に連動して上
記イグナイタ19で発生した高電圧を上記点火プラグ7に
分配供給するディストリビュータ20より構成されてい
る。The ignition system includes an igniter 19 for outputting a high voltage necessary for ignition and a distributor 20 for distributing and supplying the high voltage generated by the igniter 19 to the ignition plug 7 in conjunction with a crankshaft (not shown). Have been.
更に、内燃機関1は検出器として、上記吸気管9前方
に設けられて吸入空気流量を計測するエアフロメータ3
1、上記吸気管9内に設けられて吸入空気温度を測定す
る吸気温センサ32、スロットルバルブ11に連動して該ス
ロツトルバルブ11の開度を検出するスロットルポジショ
ンセンサ33、シリンダブロック4の冷却系統に設けられ
て冷却水温度を検出する水温センサ34、排気管17内に設
けられて排気中の残存酸素濃度をアナログ信号として検
出するO2センサ35、上記スロットルポジションセンサ33
に一体に設けられスロットルバルブ11の全閉状態でオン
信号を出力するアイドルスイッチ36を備える。Further, the internal combustion engine 1 serves as a detector, which is provided in front of the intake pipe 9 to measure an intake air flow rate.
1. An intake air temperature sensor 32 provided in the intake pipe 9 for measuring the intake air temperature, a throttle position sensor 33 for detecting the opening of the throttle valve 11 in conjunction with the throttle valve 11, and cooling the cylinder block 4. A water temperature sensor 34 provided in the system to detect a cooling water temperature; an O 2 sensor 35 provided in the exhaust pipe 17 to detect the residual oxygen concentration in the exhaust gas as an analog signal; and the throttle position sensor 33
And an idle switch 36 which is provided integrally with and outputs an ON signal when the throttle valve 11 is fully closed.
上記ディストリビュータ20内部には、該ディストリビ
ュータ20のカムシャフトの1/24回転毎に、即ちクランク
角0℃から30℃の整数倍毎に回転角信号、及び上記ディ
ストリビュータ20のカムシャフトの1回転毎に、即ち図
示しないクランク軸の2回転毎に2つのクランク角位置
信号G1,G2を各1回出力する回転センサ38が設けられて
いる。Inside the distributor 20, a rotation angle signal is output every 1/24 rotation of the camshaft of the distributor 20, that is, at every integral multiple of the crank angle of 0 ° C. to 30 ° C., and at every rotation of the camshaft of the distributor 20. That is, a rotation sensor 38 for outputting two crank angle position signals G1 and G2 once for each two rotations of a crankshaft (not shown) is provided.
尚、上記各センサからの信号は、電子制御装置(以下
単にECUとよぶ。)40に入力されるとともに、該ECU40は
上記内燃機関1の燃料噴射弁18及びイグナイタ19への制
御信号を出力することにより内燃機関1を制御する。The signals from the sensors are input to an electronic control unit (hereinafter simply referred to as an ECU) 40, and the ECU 40 outputs control signals to the fuel injection valve 18 and the igniter 19 of the internal combustion engine 1. Thus, the internal combustion engine 1 is controlled.
次に、上記ECU40の構成を第3図に基づいて説明す
る。Next, the configuration of the ECU 40 will be described with reference to FIG.
ECU40は、CPU40a、ROM40b、RAM40c、バックアップRAM40
d及びクロック40z等を中心に構成されている。CPU40a
は、コモンバス40e、入出力ポート40f、入力ポート40
g、出力ポート40hを介して外部との入出力を行う。電源
回路41は通電ライン42と接続されており、通電ライン42
はキースイッチ43を介してバッテリ44に接続されてい
る。The ECU 40 has a CPU 40a, a ROM 40b, a RAM 40c, a backup RAM 40
It is composed mainly of d and the clock 40z. CPU40a
Are common bus 40e, input / output port 40f, input port 40
g, input / output with the outside via output port 40h. The power supply circuit 41 is connected to the energizing line 42,
Is connected to the battery 44 via the key switch 43.
また上記バックアップRAM40dは、キースイッチ43が切
られ、ECU40に電力供給がなくなった状態でも別の電源
回路46から電力を供給されて記憶内容を保持するように
構成されている。The backup RAM 40d is configured to be supplied with power from another power supply circuit 46 and retain the stored contents even when the key switch 43 is turned off and the power supply to the ECU 40 is stopped.
ECU40は、上述した各センサの検出信号のバッファ40
i,40j,40k,40w,40q、マルチプレクサ40n、A/D変換器40p
を有し、これらの検出信号は入出力ポート40fを介してC
PU40aに入力される。The ECU 40 includes a buffer 40 for the detection signal of each sensor described above.
i, 40j, 40k, 40w, 40q, multiplexer 40n, A / D converter 40p
And these detection signals are input to the C
Input to PU40a.
又、ECU40は、回転信号等の波形整形回路40sを備え、
これらの信号は入力ポート40gを介してCPU40aに入力す
る。Also, the ECU 40 includes a waveform shaping circuit 40s for a rotation signal or the like,
These signals are input to the CPU 40a via the input port 40g.
更に、ECU40は、出力ポート40hを介して、駆動回路40
tに各センサの検出結果から演算算出した燃料噴射弁18
の開弁時間を表す演算燃料噴射信号を出力し、駆動回路
40sに各センサの検出結果から演算算出したイグナイタ1
9のオフ時間を表す演算点火時期信号を出力している。Further, the ECU 40 is connected to the drive circuit 40 via the output port 40h.
The fuel injection valve 18 calculated from the detection results of each sensor at t
Output a calculated fuel injection signal indicating the valve opening time of the
Igniter 1 calculated and calculated from the detection results of each sensor in 40s
A calculated ignition timing signal indicating the off time of 9 is output.
また必要に応じて取り付けられる外部測定装置50から
の指令信号T1,T2が上記入力ポート40gに入力される。更
に、この外部測定装置50に対しては、出力形態切換回路
40uからの信号が出力されている。この出力形態切換回
路40uは上記出力ポート40hを介してCPU40aからの制御信
号D1とデータ信号D2とを受け取るとともに、その内の制
御信号D1に基づいてディジタルかアナログかを選択し、
CPU40aからのデータ信号D2を選択された出力形態で、外
部測定装置50に出力する。In addition, command signals T1 and T2 from an external measuring device 50 attached as needed are input to the input port 40g. Further, an output mode switching circuit is provided for the external measuring device 50.
The signal from 40u is output. The output mode switching circuit 40u receives the control signal D1 and the data signal D2 from the CPU 40a via the output port 40h, and selects digital or analog based on the control signal D1 among them,
The data signal D2 from the CPU 40a is output to the external measuring device 50 in the selected output form.
次に、上記出力形態切換回路40uの構成を第4図に示
す。即ち、CPU40aから信号の内、一方の制御信号D1の入
力側はエミッタ接地されたNPN型トランジスタTrのベー
ス側に接続され、そのコレクタ側はダイオードDiを介し
てエミッタ側へ接続される。CPU40aからの信号の内、も
う一方の制御信号D2の入力側は汎用のインバータInと抵
抗R1を介して、出力端子VFに接続されている。またこの
抵抗R1の出力端子VF側は上記トランジスタTrのコレクタ
側とコンデンサCを介して接続されている。またその抵
抗R1のインバータIn側は抵抗R2を介して電源側にも接続
されている。Next, the configuration of the output mode switching circuit 40u is shown in FIG. That is, of the signals from the CPU 40a, the input side of one control signal D1 is connected to the base side of the NPN transistor Tr whose emitter is grounded, and the collector side is connected to the emitter side via the diode Di. The input side of the other control signal D2 among the signals from the CPU 40a is connected to an output terminal VF via a general-purpose inverter In and a resistor R1. The output terminal VF of the resistor R1 is connected to the collector of the transistor Tr via a capacitor C. The inverter In side of the resistor R1 is also connected to the power supply side via the resistor R2.
次に上記ECU40により実行される制御例及び関連装置
の作用を第5乃至第13図に基づいて説明する。Next, control examples executed by the ECU 40 and the operation of the related devices will be described with reference to FIGS.
第5図はCPU40aにて実施される処理のゼネラルフロー
チャートを表す。まず処理が開始されると、ステップ10
0にて初期化が行われる。即ち、RAM40c、バックアップR
AM40d、入出力ポート40f、入力ポート40g及び出力ポー
ト40h等の所定の初期設定が行われる。FIG. 5 shows a general flowchart of the processing executed by the CPU 40a. First, when the process is started, step 10
Initialization is performed at 0. That is, RAM40c, backup R
Predetermined initial settings of the AM 40d, the input / output port 40f, the input port 40g, the output port 40h, and the like are performed.
次にステップ110にて内燃機関の回転速度NE及び吸入
空気量Qから基本燃料噴射量Tpを算出する。次にステッ
プ120にて基本噴射量Tpに対する各種の補正係数を算出
する。即ち、内燃機関冷却水温度THWによる補正量FTH
W、スロットル開度θTHによる加速増量FVTA、内燃機関
始動直後の一定時間だけ実行される増量FSTA、O2センサ
出力電圧Oxの状態により排ガスが論理空燃比の近傍にな
るようにフィードバック制御する補正係数FAF等を算出
する。Next, at step 110, the basic fuel injection amount Tp is calculated from the rotational speed NE of the internal combustion engine and the intake air amount Q. Next, in step 120, various correction coefficients for the basic injection amount Tp are calculated. That is, the correction amount FTH based on the internal combustion engine cooling water temperature THW
W, the correction coefficient for feedback control so acceleration increase FVTA by the throttle opening .theta.TH, bulking FSTA executed predetermined time immediately after starting the internal combustion engine, the exhaust gas is the state of the O 2 sensor output voltage Ox be close logical air-fuel ratio Calculate FAF etc.
ステップ130では、下式に従って最終的な燃料噴射量T
AUを算出し、RAM40cに格納する。In step 130, the final fuel injection amount T is calculated according to the following equation.
AU is calculated and stored in the RAM 40c.
TAU=Tp×FAF×FTHW×(FVTA+FSTA) ステップ140では、内燃機関回転速度NE、吸入空気量
Q及びスロットル全閉信号IDLのオン・オフ状態から基
本点火時期SBASEを算出する。ステップ150では内燃機関
冷却水温度THWによる補正係数STHWを求める。ステップ1
60では下式に従って最終的な点火時期SADVを算出し、RA
M40cに格納する。TAU = Tp × FAF × FTHW × (FVTA + FSTA) In step 140, the basic ignition timing SBASE is calculated from the on / off state of the internal combustion engine rotational speed NE, the intake air amount Q, and the throttle fully closed signal IDL. In step 150, a correction coefficient STHW based on the internal combustion engine cooling water temperature THW is obtained. step 1
At 60, the final ignition timing SADV is calculated according to the following formula, and RA
Store in M40c.
SADV=SBASE+STHW 算出された噴射量TAU及び点火時期SADVに従って駆動
回路40t,40sに出力信号を送る。SADV = SBASE + STHW Output signals are sent to the drive circuits 40t and 40s according to the calculated injection amount TAU and ignition timing SADV.
次にステップ170はダイアグノーシス用外部出力端子V
Fに出力するデータの処理ルーチンを表す。その詳細を
第6図及び第7図に示す。Next, in step 170, the external output terminal V for diagnosis is used.
Represents a processing routine for data output to F. The details are shown in FIG. 6 and FIG.
まず、ステップ171にて外部測定装置50からの信号T1
がオンであるか否かが判定される。オンであれば、ステ
ップ172にてアイドルスイッチ36がオンか否かが判定さ
れる。オンであれば、ステップ173にてO2センサ出力電
圧Oxの状態をRAM40cの所定番地VF1に格納する。オフで
あれば、ステップ174にて前記補正係数FAFの状態をRAM4
0cの所定番地VF1に格納する。First, in step 171, the signal T1 from the external measuring device 50
Is turned on. If it is on, it is determined in step 172 whether or not the idle switch 36 is on. If ON, stores the state of the O 2 sensor output voltage Ox at step 173 to a predetermined address VF1 of RAM40c. If it is off, the state of the correction coefficient FAF is stored in RAM4 in step 174.
It is stored at a predetermined address VF1 of 0c.
上記ステップ171にて信号T1がオフであり、否定判定
されると、ステップ175にて外部測定装置50からの信号T
2がオンか否かが判定されて、オフならば前記ステップ1
72の処理に移り、オンならばステップ176の処理が実行
される。ステップ176ではRAM40c内の後述するRAM値出力
用データ(ディジタル出力用データ)をRAM40cの所定番
地VF2に格納する。こうして所定のデータがRAM40cに格
納されると、一旦処理を終了する。以後同一の処理が繰
り返され、絶えずRAM40cの所定番地VF1またはVF2の内容
が更新される。If the signal T1 is off in step 171 and a negative determination is made, in step 175 the signal T1 from the external measuring device 50 is
It is determined whether 2 is on or not.
The process proceeds to 72, and if it is on, the process of step 176 is executed. In step 176, RAM value output data (digital output data) in the RAM 40c described later is stored in a predetermined address VF2 of the RAM 40c. When the predetermined data is stored in the RAM 40c in this way, the process is temporarily terminated. Thereafter, the same processing is repeated, and the content of the predetermined address VF1 or VF2 of the RAM 40c is constantly updated.
次に上記RAM40cの所定番地VF1またはVF2に格納された
データの出力処理を第7図のフローチャートに基づいて
説明する。本処理は4ms毎の割り込み処理である。Next, the output processing of the data stored in the predetermined address VF1 or VF2 of the RAM 40c will be described with reference to the flowchart of FIG. This process is an interrupt process every 4 ms.
まず、ステップ180にて現在RAM値出力モードか否かが
判定される。即ち、信号T1がオフで、かつ信号T2がオン
であれば、RAM値出力モードであるとして、肯定判定さ
れる。肯定判定されると、次にステップ182にて出力形
態切換回路40uへ入力される信号D1が低レベルLとされ
る。First, in step 180, it is determined whether the current mode is the RAM value output mode. That is, if the signal T1 is off and the signal T2 is on, the RAM value output mode is determined to be affirmative. If an affirmative determination is made, the signal D1 input to the output mode switching circuit 40u is set to a low level L in step 182 next.
信号D1が低レベルLとなると、第4図に示した出力形
態切換回路40uのトランジスタTrがオフとなり、コンデ
ンサCの一端はオープン状態となる。従って、CPU40aか
らの、もう一方の制御信号D2はインバータInで反転され
ると、そのままの形態で端子VFに出力されることにな
る。即ち、ディジタル信号が出力可能となる。When the signal D1 becomes low level L, the transistor Tr of the output form switching circuit 40u shown in FIG. 4 is turned off, and one end of the capacitor C is opened. Therefore, when the other control signal D2 from the CPU 40a is inverted by the inverter In, it is output to the terminal VF in the same form. That is, a digital signal can be output.
こうして次にステップ184にてRAM40c内の所定番地VF2
に格納された値がシリアルなディジタル信号として1ビ
ットずつ出力される。即ち、第8図のごとく内容で格納
されたデータが第9図のタイミングチャートに示す順序
で、信号D1がLとなった直後に出力されることになる。Thus, in step 184, the predetermined address VF2 in the RAM 40c is
Is output one bit at a time as a serial digital signal. That is, the data stored with the contents as shown in FIG. 8 is output immediately after the signal D1 becomes L in the order shown in the timing chart of FIG.
まず、信号D1がHからLになると、16ビット分連続し
て高レベルが続くヘッダを出力する。次に1ビット分、
低レベルのスタートビットを出力し、次にECU40の識別
のコードを出力する。このECU40の識別コードとは、ROM
40bに記憶されたECU40の種別を示すものであり、例え
ば、内燃機関の形式を示すものやECU40の品番を示すも
の等である。このECU40の識別コードは次は第8図のRAM
値が順番に出力される。その詳細なデータ構成は第10図
に示すごとく、スタートビット1ビット、データ8ビッ
ト、識別ビット1ビット及びストップビット1ビットか
らなる。First, when the signal D1 changes from H to L, a header having a high level continuously for 16 bits is output. Then one bit,
A low-level start bit is output, and then an ECU 40 identification code is output. The ECU40 identification code is the ROM
This indicates the type of the ECU 40 stored in the storage 40b, such as the type of the internal combustion engine, the part number of the ECU 40, or the like. The identification code of this ECU 40 is the RAM shown in Fig. 8.
The values are output in order. The detailed data structure is, as shown in FIG. 10, composed of one start bit, eight data bits, one identification bit and one stop bit.
各データのLSB情報やオフセット値の情報はECUコード
に含まれ、外部測定装置50で容易に判断できる。またダ
イアグコード(ダイアグノーシスによる診断結果を表す
コード)は各センサの異常診断結果をRAM値のビット情
報で出力している。例えば、水温センサ34が異常である
場合は、ビット0が「1」となり、スロットルポジショ
ンセンサ33が異常な場合には、ビット1が「1」とな
る。この方法は複数の異常検出があっても一度に出力で
きるという利点がある。しかし、ECUによってはビット
位置が変更されている可能性があるので、8ビット長の
16進数でコード化して出力してもよい。例えば、水温セ
ンサ34が異常である場合は、「11」となり、スロットル
ポジションセンサ33が異常な場合には、「12」となる。
全ての検出結果が正常であれば「00」とする。The LSB information and offset value information of each data are included in the ECU code, and can be easily determined by the external measurement device 50. The diagnostic code (a code representing a diagnostic result by diagnostics) outputs an abnormality diagnostic result of each sensor as bit information of a RAM value. For example, when the water temperature sensor 34 is abnormal, the bit 0 becomes “1”, and when the throttle position sensor 33 is abnormal, the bit 1 becomes “1”. This method has the advantage that even if a plurality of abnormalities are detected, they can be output at once. However, since the bit position may have been changed in some ECUs, an 8-bit long
It may be coded in hexadecimal and output. For example, when the water temperature sensor 34 is abnormal, the value is "11", and when the throttle position sensor 33 is abnormal, the value is "12".
If all the detection results are normal, “00” is set.
また、全てのダイアグコードの識別ビットを低レベル
にしておけば他のRAM値との区別ができる。このほか、E
CUコードに続いて出力される最初のRAM値の識別ビット
のみを低レベルとし、他のRAM値の識別ビットを高レベ
ルとしておけば、RAM値を順次サイクリックに繰り返し
出力し続けても、特定のRAM値の識別ビットのみが低レ
ベルであることから、通信エラーが発生しても修正可能
となる。If the identification bits of all the diagnostic codes are set to low level, it can be distinguished from other RAM values. In addition, E
If only the identification bit of the first RAM value output after the CU code is set to low level and the identification bits of the other RAM values are set to high level, even if the RAM value is output cyclically and repeatedly, it can be specified. Since only the identification bit of the RAM value is low, it can be corrected even if a communication error occurs.
第7図の説明に戻り、ステップ180にて否定判定され
た場合、ステップ186にてRAM値出力の途中か否かが判定
される。即ち、サイクリックに出力されているRAM値群
の最後のデータが出力完了するまで、肯定判定され、上
記ステップ182,184が実行される。出力が完了すれば、
ステップ186では否定判定されて、初めてステップ188に
て出力形態切換回路40uへ入力される信号D1が高レベル
Hとされる。このように出力データの切換においてRAM
値出力から他の出力形態(ここではアナログ出力)に切
り換える場合、完全にRAM値の出力の1サイクルが終了
してから、切り換えているので、通信エラーが生じな
い。Returning to the description of FIG. 7, if a negative determination is made in step 180, it is determined in step 186 whether the RAM value is being output. That is, an affirmative decision is made until the last data of the cyclically output RAM value group is completely output, and the above steps 182 and 184 are executed. When output is complete,
In step 186, a negative determination is made, and the signal D1 input to the output mode switching circuit 40u is first set to the high level H in step 188. In this way, when switching output data, RAM
When switching from the value output to another output mode (analog output in this case), since the switching is performed after one cycle of the output of the RAM value is completely completed, no communication error occurs.
ステップ188にて信号D1が高レベルHにされると、第
4図に示した出力形態回路40uのトランジスタTrがオン
となり、コンデンサCの一端はほぼグランドレベルに固
定される。従って、CPU40aからの、もう一方の制御信号
D2はインバータInで反転された後、そのオン・オフ信号
に基づき、抵抗R1,R2を介してコンデンサ46に充電・放
電をさせることになる。従って、出力電圧は平均化され
CPU40aからの制御信号D2のデューティに応じたアナログ
電圧値が端子VFに出力される。When the signal D1 is set to the high level H in step 188, the transistor Tr of the output configuration circuit 40u shown in FIG. 4 is turned on, and one end of the capacitor C is fixed at substantially the ground level. Therefore, the other control signal from CPU 40a
D2 is inverted by the inverter In, and then charges and discharges the capacitor 46 via the resistors R1 and R2 based on the ON / OFF signal. Therefore, the output voltage is averaged
An analog voltage value corresponding to the duty of control signal D2 from CPU 40a is output to terminal VF.
こうして次にステップ190にてRAM40c内の所定番地VF1
に格納された値がアナログ信号として対応する電圧で出
力される。即ち、補正係数FAFの出力の場合は第1表に
示すごとくFAFの値により5段階に分けた信号D2のデュ
ーティに対応した5段階の電圧値で出力される。Thus, next at step 190, the predetermined address VF1 in the RAM 40c
Is output as a corresponding voltage as an analog signal. That is, in the case of the output of the correction coefficient FAF, as shown in Table 1, the signal is output in five steps corresponding to the duty of the signal D2 divided into five steps according to the value of the FAF.
補正係数O2センサの出力の場合は第2表に示すごとく
Oxの値により2段階に分けた信号D2のデューティに対応
した2段階の電圧値で出力される。 In the case of the output of the correction coefficient O 2 sensor, as shown in Table 2,
The signal is output as a two-step voltage value corresponding to the duty of the signal D2 divided into two steps according to the value of Ox.
信号D2のデューティと端子VFの出力電圧との関係は、
例えば信号D2が4ms低レベル(0V)、12ms高レベル(5
V)のデューティであれば、端子VFは1.25Vの出力電圧と
なる。 The relationship between the duty of signal D2 and the output voltage of terminal VF is
For example, if the signal D2 is low for 4 ms (0 V) and high for 12 ms (5
If the duty is V), the terminal VF has an output voltage of 1.25V.
こうして一旦処理が終了し、その後同様の処理を繰り
返す。Thus, the process is once completed, and then the same process is repeated.
これらの出力を受けて外付の外部測定装置50がポテン
ショメータあるいはディジタル表示装置にてその出力内
容を表示する。第11図はFAFまたはOx測定用の外部測定
装置50の一構成例51を示し、その回転スイッチ51aの選
択により、ECU40の信号T1,T2入力端子とのコネクタ51b
に信号T1のみオンを出力するように構成されている。こ
のコネクタ51bがECU40の端子に接続されることにより、
信号T1を受けたECU40は、前述第6図のフローチャート
に従って、アイドルオン・オフに応じてFAFまたはOx信
号内容を選択してRAM40cに格納し(ステップ173,17
4)、第7図のフローチャートに従ってFAFまたはOx信号
に対応する値の電圧を出力する(ステップ190)。本例
の外部測定装置51は上記コネクタ51bからその出力電圧
を受け、電圧メータ51cに表示する。上記信号T1は、回
転スイッチ51aにより出力していたが、単にECU40側の端
子をコネクタ51bの接続によってショートさせることに
よりECU40側に信号T1を与えてもよい。また、アイドル
スイッチ36のオン・オフにより、FAFかOxかの出力を選
択していたが、外部測定装置51の回転スイッチ51aの指
示により、ECU40が選択してもよい。In response to these outputs, an external external measuring device 50 displays the output contents on a potentiometer or a digital display device. FIG. 11 shows a configuration example 51 of an external measuring device 50 for FAF or Ox measurement, and a connector 51b for connecting the signal T1 and T2 input terminals of the ECU 40 by selecting the rotation switch 51a.
Is configured to output ON only for the signal T1. When this connector 51b is connected to the terminal of the ECU 40,
The ECU 40 that has received the signal T1 selects the FAF or Ox signal content according to the idle on / off and stores it in the RAM 40c according to the flowchart of FIG. 6 (steps 173 and 17).
4) According to the flowchart of FIG. 7, a voltage having a value corresponding to the FAF or Ox signal is output (step 190). The external measuring device 51 of this example receives the output voltage from the connector 51b and displays the output voltage on the voltage meter 51c. Although the signal T1 is output by the rotary switch 51a, the signal T1 may be given to the ECU 40 simply by short-circuiting the terminal on the ECU 40 side by connecting the connector 51b. Although the output of FAF or Ox is selected by turning on / off the idle switch 36, the ECU 40 may select the output by the instruction of the rotation switch 51a of the external measuring device 51.
次に第12図にRAM値測定用の外部測定装置50の一構成
例53を示す。本例の外部測定装置53は、そのキースイッ
チ53aの選択により、ECU40の信号T1,T2入力端子とのコ
ネクタ53bに信号T2のみオンを出力するように構成され
ており、前述第6図のフローチャートに従って、ECU40
の各種パラメータをRAM40cに格納させ(ステップ17
6)、第7図のフローチャートに従って、シリアルなデ
ィジタル信号を出力させる(ステップ184)。本例の外
部測定装置53はそのディジタル信号を受け、その液晶デ
ィジタル表示部53cに各パラメータの数値を表示する。
上記信号T2は、単にECU40側の端子をコネクタ53bの接続
によってショートさせることによりECU40側に与えても
よい。Next, FIG. 12 shows a configuration example 53 of an external measuring device 50 for measuring a RAM value. The external measuring device 53 of this example is configured to output ON only the signal T2 to the connector 53b with the signal T1 and T2 input terminals of the ECU 40 by selecting the key switch 53a. According to ECU40
Are stored in the RAM 40c (step 17).
6) In accordance with the flowchart of FIG. 7, a serial digital signal is output (step 184). The external measuring device 53 of this example receives the digital signal and displays the numerical value of each parameter on the liquid crystal digital display unit 53c.
The signal T2 may be given to the ECU 40 simply by short-circuiting the terminal on the ECU 40 side by connecting the connector 53b.
上記RAM値測定用外部測定装置53の制御回路55は第13
図に示すような構成とすることができる。即ち、制御回
路55は、CPU55a、ROM55b、RAM55c、及びクロック55d等
を中心に構成されている。CPU55aは、コモンバス55e、
入力ポート55g、出力ポート55hを介して外部との入出力
を行う。電源回路55iはスイッチ55jを介して電源電池55
kに接続されている。The control circuit 55 of the external measuring device 53 for measuring the RAM value
The configuration shown in the figure can be adopted. That is, the control circuit 55 mainly includes the CPU 55a, the ROM 55b, the RAM 55c, the clock 55d, and the like. The CPU 55a has a common bus 55e,
Input and output with the outside via input port 55g and output port 55h. The power supply circuit 55i is connected to a power supply battery 55 through a switch 55j.
Connected to k.
CPU55aは、バッファ55mを介してシリアルのRAM値ディ
ジタル信号を入力している。またキースイッチ53aから
の信号は波形整形回路55nを介して入力している。The CPU 55a inputs a serial RAM value digital signal via the buffer 55m. The signal from the key switch 53a is input via a waveform shaping circuit 55n.
更に、CPU55aは、出力ポート55hを介して、信号T2をE
CU40へ出力し、駆動回路55tに制御信号を出力すること
により、液晶ディジタル表示装置53cに必要な注意書、
またはRAM値をリアルタイムで表示している。Further, the CPU 55a outputs the signal T2 to the E through the output port 55h.
By outputting the control signal to the drive circuit 55t by outputting to the CU 40, the necessary precautions for the liquid crystal digital display device 53c,
Or the RAM value is displayed in real time.
その測定表示処理は第14図のごとくに実施されてい
る。本処理は所定時間毎に繰り返し実行される。即ち、
ステップ200にてキースイッチ53aの指示内容から測定モ
ードか否かを判定する。測定モードでなければ、そのま
ま一旦終了する。測定モードであれば、ステップ210に
て、信号T2を出力する。このことにより、ECU40側で
は、前述した第6図のVF処理にてステップ176が実行さ
れ、RAM値がRAM40cの所定番地VF2に格納され、第7図の
出力処理にてステップ184で所定番地VF2の値がシリアル
データとして1ビットずつ外部測定装置53側へ出力され
る。The measurement display processing is performed as shown in FIG. This processing is repeatedly executed at predetermined time intervals. That is,
In step 200, it is determined whether or not the mode is the measurement mode based on the instruction content of the key switch 53a. If the mode is not the measurement mode, the process temporarily ends. If in the measurement mode, a signal T2 is output in step 210. As a result, on the ECU 40 side, step 176 is executed in the above-described VF processing of FIG. 6, the RAM value is stored in the predetermined address VF2 of the RAM 40c, and in the output processing of FIG. Is output to the external measuring device 53 side by bit as serial data.
そこで、ステップ220でそのシリアルデータ信号を読
み込む。次にステップ230にてそのデータの内、最初の
ダイアグコード部分を取り出し、そのビット情報から、
異常なセンサを判別し、液晶表示装置53cの所定部分に
表示する。次にステップ240にて、各RAM値を10進数に変
換して各パラメータに対応した位置に表示する。こうし
て処理が一旦終了し、以後同様な処理を繰り返し、ECU4
0の各制御パラメータをリアルタイムで表示する。Therefore, in step 220, the serial data signal is read. Next, in step 230, the first diagnostic code portion is extracted from the data, and from the bit information,
An abnormal sensor is determined and displayed on a predetermined portion of the liquid crystal display device 53c. Next, in step 240, each RAM value is converted to a decimal number and displayed at a position corresponding to each parameter. In this way, the processing is once completed, and thereafter, the same processing is repeated, and the ECU 4
Each control parameter of 0 is displayed in real time.
上記実施例のRAM値出力処理では、いきなりヘッダが
外部出力回路53に出力されたが、ECU40に用いられるク
ロックのずれや、ECU40の種別毎に異なるタイマ割り込
みの周期の差を外部のディジタル計測器にて自動的に判
別、補正できるように、第15図に示すように、信号T2入
力がオンとなってからヘッダを出力する前に、クロック
情報、例えば、4ms毎のタイマ割り込みを使用している
場合、4ms毎に反転する信号を出力してもよい。このク
ロック情報を外部測定装置53にて取り込み、通信速度を
決定する。こうすることにより、クロックのずれ等を自
動的に補正でき、安価でより正確な車載用状態出力装置
を提供することができる。In the RAM value output process of the above embodiment, the header was immediately output to the external output circuit 53.However, the difference in the clock used for the ECU 40 and the difference in the cycle of the timer interrupt that differs for each type of the ECU 40 are determined by an external digital As shown in FIG. 15, before the header is output after the signal T2 input is turned on and before the header is output, clock information, for example, using a timer interrupt every 4 ms, can be automatically determined and corrected at In this case, a signal that is inverted every 4 ms may be output. This clock information is taken in by the external measuring device 53, and the communication speed is determined. This makes it possible to automatically correct a clock shift or the like, and to provide an inexpensive and more accurate in-vehicle state output device.
また、上記実施例では、内部パラメータをシリアル出
力する基本クロック(ボーレート)は1種類しか有して
いなかったが、複数のボーレートを備えておき、すなわ
ち、出力データの精度として複数種類備えておき、外部
測定装置53の能力に応じて切り換えて出力してもよい。Further, in the above-described embodiment, the basic clock (baud rate) for serially outputting the internal parameter has only one kind. However, a plurality of baud rates are provided, that is, a plurality of kinds are provided as the accuracy of the output data. The output may be switched according to the capability of the external measuring device 53.
即ち、高速で精度の高い大量のデータをリアルタイム
で計測可能な外部測定装置53を接続したときにはボーレ
ートを上げて処理能力を高める。一方、安価な外部測定
装置53を用いる場合は、データの処理量が少なくなり、
精度の低いデータでないと処理できないので低いボーレ
ートで十分対応できる。こうすることにより、各修理工
場やディーラ等は安価な外部測定装置53を持っているだ
けで、十分な解析ができる。不都合原因が複雑に絡み合
い、安価な外部測定装置53では原因の特定ができないも
のについては、サービスセンタ等の特定の拠点に高価な
外部測定装置53を準備しておき、集中して精度の高い大
量のデータの解析を行い、より詳細な解析を行うことが
できる。That is, when an external measuring device 53 capable of measuring a large amount of high-speed, high-precision data in real time is connected, the baud rate is increased to increase the processing capacity. On the other hand, when an inexpensive external measuring device 53 is used, the amount of data processing is reduced,
Since the data cannot be processed unless the data has low accuracy, a low baud rate can be sufficiently used. By doing so, each repair shop, dealer, or the like can perform sufficient analysis only by having the inexpensive external measuring device 53. If the cause of the inconvenience is intricately entangled and the inexpensive external measuring device 53 cannot identify the cause, prepare an expensive external measuring device 53 at a specific base such as a service center, and concentrate By analyzing the data, a more detailed analysis can be performed.
この様にボーレートを切り換えて、内部パラメータを
出力することにより、市場サービス体制のコストアップ
を低減するといった副次的な効果がある。By switching the baud rate and outputting the internal parameters in this way, there is a secondary effect of reducing the cost increase of the market service system.
また、上記実施例で、外部測定装置51,53は、アナロ
グまたはディジタル専用であったが、アナログ・ディジ
タルの両者の測定が可能なものとして上記両外部測定装
置51,53を一体化し、信号T1及び信号T2を選択して出力
するとともに、その要求に応じてアナログ測定部とディ
ジタル測定部とを切り換えて測定できる装置としてもよ
い。In the above embodiment, the external measuring devices 51 and 53 are dedicated to analog or digital. However, the external measuring devices 51 and 53 are integrated as a device capable of measuring both analog and digital, and the signal T1 And the signal T2 may be selected and output, and the measurement may be performed by switching between an analog measurement unit and a digital measurement unit according to the request.
更に、ディジタル式の外部測定装置53の測定データの
表示は、液晶ディジタル表示部53cにてなされていた
が、更に異常を表示用としてセンサに対応したLHDを設
け、その点灯で異常を警告するようにしてもよい。Further, the display of the measurement data of the digital external measuring device 53 has been performed on the liquid crystal digital display unit 53c, but an LHD corresponding to the sensor is further provided for displaying an abnormality, and the abnormality is warned by lighting the LHD. It may be.
本実施例は上述のごとく構成されているため、信号T
1,T2の切換により、アナログデータとディジタルデータ
とを切り換えて出力できる。従って、一つの端子VFで複
数のタイプの外部測定装置51,53が要求する異なる形態
のデータを出力することができ、端子やワイヤーハーネ
ス等の節約と共に、適用される外部測定装置50も自由度
の高いものとなる。Since the present embodiment is configured as described above, the signal T
By switching between 1 and T2, analog data and digital data can be switched and output. Therefore, different types of data required by the multiple types of external measuring devices 51 and 53 can be output from one terminal VF, and the external measuring device 50 to be applied is also flexible with the saving of terminals and wire harnesses. Will be high.
このため、故障解析が修理の段階に応じた精度レベル
で好適になされる。また制御システムの各構成の調整、
例えば、自動車の工場出荷時の内燃機関の空燃比の調整
が容易となる。Therefore, the failure analysis is suitably performed at an accuracy level corresponding to the repair stage. Adjustment of each component of the control system,
For example, it becomes easy to adjust the air-fuel ratio of the internal combustion engine at the time of factory shipment of an automobile.
上記実施例においては、各センサ31,32,33,34,35,36,
38が状態検出手段M1に該当し、内燃機関1が被制御装置
M2に該当し、ECU40が演算装置M3、出力形態選択手段M5
及び出力手段M6に該当し、この内、ステップ100〜160の
処理が演算装置M3としての処理に該当し、ステップ180
〜190の処理が出力形態選択手段M5としての処理に該当
し、出力形態切換回路40uが出力手段M6に該当し、ECU40
信号T1,T2入力端子と出力端子VFとの組合せが複数の外
部装置M4が選択的に接続される共通の入出力端子M7に該
当し、外部測定装置50,51,53が外部装置M4に該当する。In the above embodiment, each sensor 31, 32, 33, 34, 35, 36,
38 corresponds to the state detecting means M1, and the internal combustion engine 1 is a controlled device.
Corresponds to M2, ECU 40 is arithmetic unit M3, output form selection means M5
And the output means M6, of which the processing of steps 100 to 160 corresponds to the processing as the arithmetic device M3,
To 190 correspond to the processing as the output form selection means M5, the output form switching circuit 40u corresponds to the output means M6, and the ECU 40
The combination of the signal T1 and T2 input terminals and the output terminal VF corresponds to the common input / output terminal M7 to which a plurality of external devices M4 are selectively connected, and the external measuring devices 50, 51, and 53 correspond to the external device M4. I do.
発明の効果 本発明の制御システムの状態出力装置は、出力形態選
択手段M5が入出力端子M7を介して入力した外部装置M4の
処理能力に対応する外部装置M4からの指令信号に応じ
て、上記外部装置M4に出力するデータの出力形態を選択
し、その選択された出力形態で出力手段M6が入出力端子
M7を介して上記外部装置M4に該当データを出力してい
る。According to the present invention, the state output device of the control system according to the present invention is configured such that the output form selecting means M5 receives a command signal from the external device M4 corresponding to the processing capability of the external device M4 input via the input / output terminal M7. The output mode of the data to be output to the external device M4 is selected, and the output unit M6 outputs the input / output terminal in the selected output mode.
The corresponding data is output to the external device M4 via M7.
従って、端子やワイヤハーネス等を増設しなくとも、
外部装置M4の処理能力に応じて、その外部装置M4にて処
理可能な出力形態でデータ出力を行うことができるの
で、出荷時の制御システムの調整やその後の検査・修理
段階に対応した精度で好適な測定データが得られる。こ
のため不必要に部品を交換することがなくなる。更に、
データの出力形態が外部装置M4からの処理能力に対応す
る指令信号により自動的に選択されるので、オペレータ
に、繁雑な出力形態を設定させるという操作を強制する
ことが無く、作業が効果的となる。Therefore, without adding terminals and wire harnesses,
Depending on the processing capacity of the external device M4, data can be output in an output form that can be processed by the external device M4, so that it can be adjusted with the accuracy of the adjustment of the control system at the time of shipment and the subsequent inspection and repair stage. Suitable measurement data can be obtained. Therefore, it is unnecessary to replace parts unnecessarily. Furthermore,
Since the output form of the data is automatically selected by the command signal corresponding to the processing capacity from the external device M4, it is not necessary to force the operator to set a complicated output form, so that the operation is effective. Become.
第1図は本発明の基本的構成例示図、第2図は実施例の
制御システム構成図、第3図はECUのブロック図、第4
図は出力形態切換回路の回路図、第5図はCPUにて実施
される処理のゼネラルフローチャート、第6図はそのVF
処理のフローチャート、第7図はその出力処理のフロー
チャート、第8図はRAM内の所定番地に格納されたデー
タ説明図、第9図はRAM値出力のタイミングチャート、
第10図はその各信号の詳細説明図、第11図はFAFまたはO
x測定用の外部測定装置の概略説明図、第12図はRAM値測
定用の外部測定装置の概略説明図、第13図はRAM値測定
用の外部測定装置に用いられている制御回路のブロック
図、第14図はそこで実施される処理のフローチャート、
第15図はRAM値出力の他例のタイミングチャートを示
す。 1……内燃機関、32……吸気温センサ 33……スロットルポジションセンサ 34……水温センサ、35……O2センサ 36……アイドルスイッチ、38……回転センサ 40……電子制御装置(ECU) 40u……出力形態切換回路 50,51,53……外部測定装置FIG. 1 is a diagram illustrating a basic configuration of the present invention, FIG. 2 is a configuration diagram of a control system of an embodiment, FIG. 3 is a block diagram of an ECU, FIG.
FIG. 5 is a circuit diagram of an output mode switching circuit, FIG. 5 is a general flowchart of processing executed by a CPU, and FIG.
FIG. 7 is a flowchart of the output process, FIG. 8 is an explanatory diagram of data stored at a predetermined address in the RAM, FIG. 9 is a timing chart of RAM value output,
Fig. 10 is a detailed explanatory diagram of each signal, and Fig. 11 is FAF or O.
Schematic explanatory diagram of an external measuring device for x measurement, FIG. 12 is a schematic explanatory diagram of an external measuring device for measuring a RAM value, and FIG. 13 is a block diagram of a control circuit used in the external measuring device for measuring a RAM value. FIG. 14, FIG. 14 is a flowchart of the processing performed there,
FIG. 15 shows a timing chart of another example of RAM value output. 1 ...... engine, 32 ...... intake air temperature sensor 33 ...... throttle position sensor 34 ...... water temperature sensor, 35 ...... O 2 sensor 36 ...... idle switch, 38 ...... rotation sensor 40 ...... electronic control unit (ECU) 40u …… Output type switching circuit 50,51,53 …… External measuring device
───────────────────────────────────────────────────── フロントページの続き (72)発明者 真田 一也 愛知県刈谷市昭和町1丁目1番地 日本 電装株式会社内 (56)参考文献 特開 昭61−118802(JP,A) 特開 昭58−144912(JP,A) 特開 昭59−230403(JP,A) 特開 昭55−39951(JP,A) 実開 昭62−81103(JP,U) ──────────────────────────────────────────────────続 き Continuation of front page (72) Inventor Kazuya Sanada 1-1-1, Showa-cho, Kariya-shi, Aichi Japan Inside Denso Co., Ltd. (56) References JP-A-61-118802 (JP, A) JP-A-58 JP-A-144912 (JP, A) JP-A-59-230403 (JP, A) JP-A-55-39951 (JP, A) JP-A-62-81103 (JP, U)
Claims (7)
状態データを検出し、演算装置により少なくともその状
態データに所定の処理を行って求めたパラメータに基づ
き被制御装置を制御する制御システムに適用されるとと
もに、 複数の外部装置が選択的に接続される共通の入出力端子
を備え、 前記入出力端子に接続された外部装置に、前記状態検出
手段により検出された状態データ、前記状態検出手段の
状態診断データ、前記被制御装置の状態診断データ及び
前記パラメータのうち少なくとも1つを出力データとし
て出力する制御システムの状態出力装置であって、 前記外部装置から前記入出力端子に入力される外部装置
の処理能力に対応する指令信号に基づき、前記出力デー
タの出力形態を選択する出力形態選択手段と、 前記出力形態選択手段により選択された出力形態で、前
記外部装置に前記出力データを出力する出力手段と、 を備えたことを特徴とする制御システムの状態出力装
置。The present invention is applied to a control system in which predetermined state data is detected from a controlled device by state detection means, and a controlled device is controlled based on parameters obtained by performing at least predetermined processing on the state data by an arithmetic unit. And a common input / output terminal to which a plurality of external devices are selectively connected, and to the external device connected to the input / output terminal, status data detected by the status detection unit, the status detection unit A state output device of a control system that outputs at least one of state diagnostic data of the controlled device, state diagnostic data of the controlled device, and the parameter as output data, wherein an external device is input to the input / output terminal from the external device. Output form selecting means for selecting an output form of the output data based on a command signal corresponding to the processing capability of the apparatus; and the output form Output means for outputting the output data to the external device in an output form selected by the selection means.
デジタル出力とから出力形態を選択することを特徴とす
る請求項1記載の制御システムの状態出力装置。2. The state output device of the control system according to claim 1, wherein said output mode selection means selects an output mode from an analog output and a digital output.
は原信号の相似信による出力であることを特徴とする請
求項2記載の制御システムの状態出力装置。3. The state output device of a control system according to claim 2, wherein said analog output is an output based on a step signal or a similar signal of an original signal.
パラレル信号による出力であることを特徴とする請求項
2記載の制御システムの状態出力装置。4. The state output device of a control system according to claim 2, wherein said digital output is an output based on a serial signal or a parallel signal.
にて表示することを特徴とする請求項4記載の制御シス
テムの状態出力装置。5. The status output device of a control system according to claim 4, wherein said digital output is displayed in bits or hexadecimal numbers.
できる精度の程度に応じた出力形態を選択することを特
徴とする請求項1記載の制御システムの状態出力装置。6. The state output device of the control system according to claim 1, wherein said output mode selection means selects an output mode in accordance with a degree of accuracy that can be processed by an external device.
する場合のボーレートであることを特徴とする請求項6
記載の制御システムの状態出力装置。7. The output form is a baud rate when a digital signal is serially output.
The status output device of the control system according to the above.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62212326A JP2576141B2 (en) | 1987-08-26 | 1987-08-26 | Status output device of control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62212326A JP2576141B2 (en) | 1987-08-26 | 1987-08-26 | Status output device of control system |
Related Child Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6198521A Division JPH07166953A (en) | 1994-08-23 | 1994-08-23 | State output device of control system |
| JP6198520A Division JP2629609B2 (en) | 1994-08-23 | 1994-08-23 | Control system data output method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6455605A JPS6455605A (en) | 1989-03-02 |
| JP2576141B2 true JP2576141B2 (en) | 1997-01-29 |
Family
ID=16620685
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62212326A Expired - Fee Related JP2576141B2 (en) | 1987-08-26 | 1987-08-26 | Status output device of control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2576141B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2603836B2 (en) * | 1987-11-09 | 1997-04-23 | 富士重工業株式会社 | Vehicle failure diagnosis device |
| JPH06236352A (en) * | 1993-02-09 | 1994-08-23 | Nippondenso Co Ltd | Data communication device |
| JP7189853B2 (en) * | 2019-09-13 | 2022-12-14 | 日立Astemo株式会社 | vehicle control system |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58144912A (en) * | 1982-02-24 | 1983-08-29 | Hitachi Ltd | Operation recorder |
| JPS59230403A (en) * | 1983-06-13 | 1984-12-25 | Mitsubishi Electric Corp | Atc signal discriminator |
| JPS61118802A (en) * | 1984-11-15 | 1986-06-06 | Fuji Electric Co Ltd | Process input and output device of sequence controller |
| JPS6281103A (en) * | 1985-10-03 | 1987-04-14 | Mitsubishi Electric Corp | Microstrip antenna |
-
1987
- 1987-08-26 JP JP62212326A patent/JP2576141B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6455605A (en) | 1989-03-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5003477A (en) | Diagnosis system for a motor vehicle | |
| US4996643A (en) | Diagnosis system for a motor vehicle | |
| US5034894A (en) | Self-diagnosis system for a motor vehicle | |
| US4926330A (en) | Diagnosis system for a motor vehicle | |
| US4975848A (en) | Diagnosis system for a motor vehicle | |
| JPH0776725B2 (en) | Vehicle diagnostic device | |
| JPH0830672B2 (en) | Vehicle diagnostic device | |
| GB2224373A (en) | Diagnostic system for a motor vehicle | |
| JPH079388B2 (en) | Vehicle diagnostic system | |
| CN101476510A (en) | Temperature sensor diagnostics | |
| JP2576141B2 (en) | Status output device of control system | |
| JPH0752141B2 (en) | Vehicle diagnostic system | |
| JP2629609B2 (en) | Control system data output method | |
| JPH07166953A (en) | State output device of control system | |
| US5035216A (en) | Idling speed adjusting system for an automotive engine | |
| JPH079389B2 (en) | Vehicle self-diagnosis device | |
| JPH07116984B2 (en) | In-vehicle control device self-diagnosis device | |
| JPS61255411A (en) | Self-diagnosing device for on vehicle controller | |
| JPH01136045A (en) | Diagnosing apparatus for vehicle | |
| JPH0717802Y2 (en) | In-vehicle torque and output measuring device for internal combustion engine for automobile | |
| KR0180396B1 (en) | Error code generating method | |
| JPH0667709B2 (en) | In-vehicle control device | |
| JPH0776720B2 (en) | Vehicle diagnostic device | |
| JPH0715429B2 (en) | Vehicle diagnostic device | |
| JPH028135B2 (en) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |