JP3645653B2 - Data analysis device for vehicle electronic control unit - Google Patents

Data analysis device for vehicle electronic control unit Download PDF

Info

Publication number
JP3645653B2
JP3645653B2 JP11802196A JP11802196A JP3645653B2 JP 3645653 B2 JP3645653 B2 JP 3645653B2 JP 11802196 A JP11802196 A JP 11802196A JP 11802196 A JP11802196 A JP 11802196A JP 3645653 B2 JP3645653 B2 JP 3645653B2
Authority
JP
Japan
Prior art keywords
data
control
conversion
conversion formula
physical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP11802196A
Other languages
Japanese (ja)
Other versions
JPH09304238A (en
Inventor
久志 永井
英明 佐藤
正 梅田
孝俊 太田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honda Motor Co Ltd
Keihin Corp
Original Assignee
Honda Motor Co Ltd
Keihin Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honda Motor Co Ltd, Keihin Corp filed Critical Honda Motor Co Ltd
Priority to JP11802196A priority Critical patent/JP3645653B2/en
Publication of JPH09304238A publication Critical patent/JPH09304238A/en
Application granted granted Critical
Publication of JP3645653B2 publication Critical patent/JP3645653B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

【0001】
【産業上の利用分野】
本発明は、自動車に搭載された電子燃料噴射装置等の車両用電子制御装置の動作状態を示す実データを読み取ってそれを表示するデータ解析装置に関する。
【0002】
【従来の技術】
車両用電子制御装置は車載内燃エンジンの運転状態を最適な状態に制御するためのものであり、例えば、インジェクションを用いて燃料を供給する内燃エンジンにおいては、供給すべき燃料量を車両及びエンジンの運転状態をセンサによって検出してそのセンサ検出値に応じて計算して制御する電子燃料噴射装置がよく知られている。
【0003】
このような電子制御装置の制御動作状態、例えば、センサや制御装置本体が正常に動作しているか否かを判断するために電子制御装置を実際に車両に搭載してエンジンを稼働させたり、車両走行させたりして試験が行なわれている。その試験においては電子制御装置から各センサ出力値や計算値をデータとして取り出してメモリに蓄積して解析することが行なわれていた。
【0004】
【発明が解決しようとする課題】
しかしながら、それらセンサ出力値や計算値は制御上の実値であるので、何らかの変換式で変換しなければ試験者等が容易に分かる物理値として得られない値である。従って、試験者は蓄積されたデータを別に計算機等を用いて計算及び解析しなければ実際の物理値を知ることができず、不便であり、効率よいデータ解析は難しいという問題があった。
【0005】
そこで、本発明の目的は、車両用電子制御装置の制御動作中に得られる実データに対して効率良いデータ解析を可能にするデータ解析装置を提供することである。
【0006】
【課題を解決するための手段】
本発明の車両用電子制御装置のデータ解析装置は、車両に搭載された内燃エンジンを制御する電子制御装置において制御中に得られる検出又は制御パラメータの実データを解析するデータ解析装置であって、複数の検出又は制御パラメータ各々について実データを物理値に各々変換する変換式を識別する変換式用識別子と該実データを物理値に変換する際に用いる物理変換パラメータとを関連付けて予め記憶し、かつ変換式用識別子と該変換式用識別子によって識別される変換式とを関連付けて予め記憶した環境データ記憶手段と、電子制御装置から少なくとも1つの検出又は制御パラメータの実データを順次得て記憶する実データ記憶手段と、実データ記憶手段から得られる実データに適用する変換式の変換式用識別子を特定し、該特定した変換式用識別子と関連付けられている物理変換パラメータ及び変換式を環境データ記憶手段から読み出し、読み出した物理変換パラメータ及び変換式に応じて実データを物理値に変換する制御手段と、制御手段によって変換された物理値をパラメータ名に対応させて表示する手段と、を含むことを特徴としている。
【0007】
【発明の実施の形態】
以下、本発明の実施例を図面を参照しつつ詳細に説明する。
図1に示した車両用電子制御装置のデータ解析装置は、制御回路1及びインターフェース回路2からなる。インターフェース回路2に後述するように電子制御装置のECU(電子制御ユニット)3が接続される。制御回路1はマイクロコンピュータからなり、内蔵のディスプレイを備えている。この制御回路1としては例えば、ノート型のパーソナルコーピュータを用いることができる。しかしながら、説明を容易にするために制御回路1の概略的な構成を図2に示す。すなわち、制御回路1においてはCPU(中央処理ユニット)11、RAM(ランダムアクセスメモリ)12及びROM(リードオンリメモリ)13が内部バス14に接続されており、その内部バス14はタイミング制御用のチップセット15を介して外部バス16に接続されている。外部バス16にはハードディスクドライブ17及び表示制御回路18が接続され、表示制御回路18はCPU11からの命令に従ってディスプレイ19の表示制御を行なう。また、内部バス14にはキーボード20が操作制御回路20aを介して接続されている。キーボード20には後述するファンクションキー、エンターキー、矢印キー、ESC(エスケープ)キーの他、アルファベット文字キー及びテンキーが少なくとも設けられている。
【0008】
インターフェース回路2は基本的には制御回路1からの指令に基づいてECU3から供給される測定データ(実データ)を制御回路1に中継するためのものであり、モニタ回路4、アナログ回路5及びバス接続回路6を備えている。
モニタ回路4においては、図3に示すように、CPU21、ROM22、RAM23、入出力回路24及びDP(デュアルポート)−RAM25が共通のバスによって接続されている。入出力回路24はRS−232C等の規格に従ったシリアル通信用のポートを有し、そこにはECU3だけでなく温度測定ユニット7も接続される。CPU21はこのモニタ回路4内の動作を制御するものであり、ROM22に予め記憶されたプログラムに従って動作する。RAM23はこのCPU21の制御動作に必要なデータ、例えば、現在シリアル通信用のポートに接続状態等を記憶するものである。DP−RAM25は入出力用に2つのポートを備えており、ECU3から供給されたデータ又は制御回路1から供給された指令を一時的に記憶するためのものである。また、DP−RAM25はバス接続回路6に接続され、この接続ラインにはデータラインと共に割り込み要求ラインも含まれている。
【0009】
アナログ回路5においては、図3に示すように、モニタ回路4と同様に、CPU31、ROM32、RAM33、入出力回路34及びDP−RAM35が共通のバスによって接続されている。ただし、入出力回路34はA/D変換器、D/A変換器及びパルス測定器(共に図示せず)を備えている。それらがアナログ信号用のポートを介して外部の電圧出力型のセンサやペンレコーダ等の電圧駆動型の出力装置(共に図示せず)に接続される。
【0010】
バス接続回路6はモニタ回路4のDP−RAM25及びアナログ回路5のDP−RAM35の各入出力を制御回路1の外部バス16に機械的かつ電気的に接続するためのものである。
かかる構成のデータ解析装置に接続されるECU3は、図4に示すようにCPU51、ROM52、RAM53、シリアル通信入出力回路54、センサ入力インターフェース回路55及びアクチュエータ駆動回路56を少なくとも備えており、それらは共通バスで互いに接続されている。センサ入力インターフェース回路55には複数のセンサが接続され、駆動回路56にはインジェクタ等のアクチュエータが接続される。そのセンサとしては、内燃エンジン排気管内の排気ガス中の酸素濃度に応じた出力電圧を発生する酸素濃度センサ、内燃エンジンの吸気管内の絶対圧に応じした電圧を発生する吸気管内圧センサ、内燃エンジンのクランクシャフトの回転数に応じたパルス信号を発生するクランク角センサ、内燃エンジンの冷却水の温度を検出する冷却水温センサ等の様々なセンサがある。
【0011】
ECU3のCPU51はROM52に予め記憶されたプログラムに従って動作し、その複数のセンサの出力値をセンサ入力インターフェース回路55を介して読み取ってRAM53に記憶すると共にそれらセンサの出力値に応じてアクチュエータを駆動する信号を生成して駆動回路56に供給する。例えば、インジェクタを駆動する場合には、吸気管内圧センサの出力値による吸気管内絶対圧とクランク角センサの出力値から得られたエンジン回転数とから基本燃料噴射量を算出し、その基本燃料噴射量を酸素濃度センサの出力値から得られる空燃比情報、冷却水温センサから得られるエンジン温度情報等によって補正して燃料噴射量を算出し、その燃料噴射量に応じてインジェクタを駆動するのである。このように、ECU3においては、各種センサの読取値、基本燃料噴射量のような中間値、また燃料噴射量等の駆動値等の値が時間経過と共に順次得られており、それらの各種パラメータの値各々は実データとしてRAM53の予め定められたアドレスに書き込まれて更新される。本データ解析装置はこのRAM53の各データを読み取ってデータ解析するのである。よって、データ解析時にはECU3のシリアル通信入出力回路54のシリアル通信用ポートはモニタ回路4の入出力回路24が有するシリアル通信用ポートに接続される。
【0012】
このように本データ解析装置にECU3が接続された状態において、データ解析装置に電源が投入された場合の動作について説明する。当然、ECU3は自動車に搭載されて制御動作を行なっているとする。
制御回路1のCPU11は図5に示すように、先ず、モニタ映像の表示を表示制御回路18にさせる(ステップS1)。図6がモニタ映像を示しており、16個の枠で囲まれた各々がECU3で得られるパラメータ値を表示するチャンネル窓になっている。図7はそのチャンネル窓内の各表示域の内容について具体的に示している。図7において、「Ch No.」はチャンネル窓より若干左に表示されており、表示すべきパラメータ値をどこに割り当てるかユーザが設定するチャンネル番号である。チャンネル窓内のチャンネル番号は例えば、48チャンネルまであるが、画面に同時に表示されるチャンネル数は16種類のパラメータ、すなわち16チャンネル分である。「ラベル名」は値を表示するパラメータを示す名称である。例えば、ラベル名が「NE」ならばエンジン回転数、「TA」ならば、エンジン吸気温度、「PBA」ならば「吸気管内絶対圧」という具合である。「モニタ表示値」はラベル名で表示されたパラメータの16進数の実データ値表示であり、その隣の「hex」は16進数であることを表している。「物理値表示」はラベル名で表示されたパラメータ値を単位を用いて示す10進数表示であり、その隣の「物理値単位」がその単位である。例えば、エンジン回転数の物理値単位はrpmであり、吸気管内絶対圧の物理値単位はmmHgである。
【0013】
図6のモニタ画面において下部に断続的に並んだ表示は、制御回路1のキーボード20に設けられている10個のファンクションキーf・1〜f・10(図示せず)のガイド表示である。画面最左の「設定」がファンクションキーf・1に対応し、それから右に表示順にファンクションキー番号に対応している。
CPU11はモニタ映像の表示状態において、「環境」に対応するファンクションキーf・9が操作されたか否かを判別する(ステップS2)。ファンクションキーf・9が操作されたならば、環境設定モードとなり、表示制御回路18によってRAMアドレスファイルの選択映像をディスプレイ16のモニタ映像上に窓表示させる(ステップS3)。RAMアドレスファイルとはECU又はそれが搭載された車両毎に異なるファイルであり、図8に示すように各パラメータ毎のラベル名、ラベル名の説明、ECU3の内部RAM53のアドレス、データサイズW/B及びLSBコードを記録したファイルである。データ解析装置に接続されたECU3毎に対応するRAMアドレスファイルが存在する。ディスプレイ画面には予め登録された複数のRAMアドレスファイル名が連続して窓表示され、複数のRAMアドレスファイル名のうちの1のRAMアドレスファイル名が制御回路1のキーボード20に設けられている矢印キーによるカーソル操作により反転表示される。所望のRAMアドレスファイル名が選択された後、エンターキーの操作によってその選択が決定される。CPU11はステップS3の実行後、RAMアドレスファイル名が選択決定されたか否かを判別する(ステップS4)。1のRAMアドレスファイル名が決定されると、そのRAMアドレスファイル名を読み取り(ステップS5)、RAMアドレスファイルの選択映像の表示を終了させる(ステップS6)。
【0014】
なお、RAMアドレスファイルにおけるデータサイズW/Bはデータがワードデータ(2バイトデータ)及び1バイトデータのいずれであるかを示す。LSBコードはLSBファイル内のLSBデータを特定するためのコードである。LSBファイルは図9に示すようなファイル構造を有している。すなわち、LSBコードであるコード番号、ラベル名、物理量単位、式番号、データ長、物理変換パラメータf0,f1…からなる部分が1つの測定パラメータに対応するLSBデータであり、LSBファイルには複数のLSBデータがコード番号順に連続的に形成されている。なお、式番号は測定パラメータの実際値から物理値を計算するために別途ハードディスクドライブ17に記憶された変換式を特定するための番号であり、物理変換パラメータf0,f1…はその変換式で用いる係数等である。
【0015】
制御回路1のCPU11はステップS6の実行後、ステップS2に戻る。ステップS2においてファンクションキーf・9が操作されていなければ、「設定」に対応するファンクションキーf・1が操作されたか否かを判別する(ステップS7)。ファンクションキーf・1が操作されたならば、チャンネル設定動作を行なう(ステップS8)。すなわち、チャンネル設定においては、モニタ映像としてディスプレイ19の画面に示された複数のチャンネル表示枠の1つの枠が太線枠にされており、それが現在のカーソル位置となり矢印キーを操作することによりそのカーソル位置が移動可能にされている。矢印キーで所望のチャンネル表示枠にカーソル位置を合わせた後、エンターキーを操作すると、選択されたRAMアドレスファイルに含まれるラベル名が連続的に窓表示され、所望のラベル名を矢印キーによりカーソル位置を移動させた後、エンターキー操作により選択決定する。こうすることにより、チャンネル番号と測定すべきパラメータとの対応関係が定まり、RAM12にその対応関係を示す受信チャンネル記憶エリアが形成される。このチャンネル設定動作は任意のチャンネル数だけ繰り返し行なうことができる。このようにチャンネル設定動作を行なうことにより例えば、図10に示すような受信チャンネル記憶エリアが形成される。
【0016】
CPU11はチャンネル設定動作が行なわれる毎にESCキーが操作されたか否かを判別する(ステップS9)。ESCキーが操作されていないならば、更にチャンネル設定動作を行うためにステップS8を繰り返す。一方、ESCキーが操作されたならば、制御回路1はチャンネル記憶エリアに記憶された各チャンネル番号とECU3内のRAMのアドレスとの対応関係をDP−RAM25に書き込む(ステップS10)。DP−RAM25には例えば、図11に示すようにデータ記憶エリアを形成するのである。制御回路1はその対応関係をDP−RAM25に書き終えると、データ通信を開始させるための開始指令を示す割り込み信号を発する(ステップS11)。この割り込み信号はDP−RAM25内にデータとして書き込まれる。
【0017】
一方、モニタ回路4のCPU21は、図12に示すように、所定のタイミングでDP−RAM25内に開始指令の割り込み信号が書き込まれたか否かを判別する(ステップS51)。開始指令の割り込み信号が書き込まれたならば、CPU21はモニタ回路4とECU3とのシリアル通信を開始させる。すなわち、CPU21はチャンネル番号nを1として(ステップS52)、DP−RAM25のデータテーブルからから第nチャンネルn−chに対応するアドレスを読み出し(ステップS53)、その読み出しアドレスに対するデータ要求のシリアル信号を入出力回路24を介して送信させる(ステップS54)。
【0018】
ECU3のCPU51はモニタ回路4からシリアル信号がシリアル通信入出力回路54に供給された場合には、そのシリアル信号が示すアドレスを読み取り、RAM53のその読み取ったアドレスで指定される記憶位置に記憶されたデータ値を読み出してシリアル通信入出力回路54に供給する。上記したように、アドレスで指定される記憶位置に記憶された値はセンサによって検出された値、或いは燃料噴射量等の計算値である。シリアル通信入出力回路54はそのデータ値を示すシリアル信号として送信する。
【0019】
モニタ回路4のCPU21は、ステップS54の実行後、ECU3のシリアル通信入出力回路54からのシリアル信号が供給されたか否かを判別する(ステップS55)。そのシリアル信号が供給されたならば、そのシリアル信号が示す値を読み取ってDP−RAM25のチャンネル番号n−chに対応する記憶位置に書き込む(ステップS56)。CPU21は、更に、チャンネル番号nに1を加算し(ステップS57)、その新たなチャンネル番号nが最大チャンネル番号nmax(例えば、48)より大であるか否かを判別する(ステップS58)。n≦nmaxの場合にはステップS53に戻って次のチャンネル番号について上記の動作を繰り返す。n>nmaxの場合にはステップS52に戻って第1チャンネル1−chについて上記の動作を繰り返す。
【0020】
このようなシリアル通信動作を行なうことにより、DP−RAM25には各チャンネル毎にRAM53から読み取ったデータ値(16進データ)がその読取順に書き込まれることになる。なお、DP−RAM25の書込位置は、図示しないカウンタによりチャンネル毎に繰り上げされ、書込可能な最終の記憶位置に達するとそのカウンタがリセットされて次の書込位置が最初の記憶位置に戻るようになっている。
【0021】
モニタ回路4のCPU21は、このようなシリアル通信動作が開始されると、所定のタイミング(例えば、100msec毎)で割り込み信号を発生される。この割り込み信号はDP−RAM25の所定の記憶位置に書き込まれるので、制御回路1のCPU11に伝達されることになる。よって、CPU11は図13に示すように、「ログ」に対応するファンクションキーf・6が操作されたか否かを判別する(ステップS21)。ファンクションキーf・6が操作されたならば、データ記憶モードとなり、このファンクションキーf・6の操作を検出した時点の時刻データを制御回路1自体で保有している時刻カウンタ(図示せず)から読み取って受信データ記憶エリアのヘッダ部に書き込む(ステップS22)。この時刻データはデータ収録開始時間を示す。CPU11は所定のタイミングの割り込み信号に応答してDP−RAM25の各チャンネルの測定データを読み出し(ステップS23)、その読み出した測定データをチャンネルに対応させてRAM12の受信データ記憶エリアの記憶位置に書き込み(ステップS24)、書き込んだ受信データ記憶エリアの記憶位置先頭に設けられたデータカウンタを1だけ増加させる(ステップS25)。このデータ読取動作は外部バス16を介して行われるので、シリアル通信のデータ伝送速度に比べて極めて速いので、DP−RAM25に既に書き込まれている全チャンネルの1つデータが読み取られて受信データ記憶エリアに書き込まれる。データカウンタは全チャンネル共通の読み取ったデータ数を示す。DP−RAM25ではCPU11に読み取られたデータの記憶位置については新たなデータの書き込みが可能になるように図示しないカウンタによってチャンネル毎にマークされる。なお、受信データ記憶エリアは例えば、図14に示す通りである。
【0022】
CPU11は受信データ記憶エリアにデータ書き込み終わると、「停止」に対応するファンクションキーf・7が操作されたか否かを判別する(ステップS26)。このファンクションキーf・7が操作されていないらば、次のモニタ回路4のCPU21からの割り込み信号の発生を待つことになる。一方、ファンクションキーf・7が操作されたならば、データ通信を停止させるための停止指令を示す割り込み信号を発する(ステップS27)。なお、RAM12の受信データ記憶エリアの容量に制限があるので、その最終記憶位置に達した場合にも停止指令を示す割り込み信号は発生される。
【0023】
この停止指令を示す割り込み信号はDP−RAM25内にデータとして書き込まれる。よって、モニタ回路4のCPU21は、図15に示すように、所定のタイミングでDP−RAM25内に停止指令の割り込み信号が書き込まれたか否かを判別する(ステップS61)。停止指令の割り込みが書き込まれたならば、CPU21は入出力回路24を制御してモニタ回路4とECU3とのシリアル通信を停止させる(ステップS62)。
【0024】
制御回路1のCPU11はステップS27の実行後、「セーブ」に対応するファンクションキーf・8が操作されたか否かを判別する(ステップS28)。このファンクションキーf・8が操作されたならば、ハードディスクドライブ17にRAM12の受信データ記憶エリアの内容をデータファイルとして記憶させる(ステップS29)。この記憶の際、ファイル名がユーザにより与えられる。ファンクションキーf・8が操作されていないならば、RAM12の受信データ記憶エリアの内容はそのまま維持される。
【0025】
制御回路1のCPU11は上記したシリアル通信動作のバックグランド処理として画面表示動作を行なう。この画面表示動作においては、図16に示すようにDP−RAM25のデータテーブルから各チャンネルの最新測定データ(16進データ)を読み出してRAM12内の図17に示すような最新データ記憶エリアに各チャンネル毎に書き込み(ステップS31)、チャンネル番号mを1として(ステップS32)、第mチャンネルm−chに対応するLSBコードをRAM12のチャンネル記憶エリアから読み出し(ステップS33)、そのLSBコードによって指定されるLSBファイルの内容を読み出す(ステップS34)。LSBファイルからは物理量単位、式番号、データ長、物理変換パラメータ等のデータが得られるので、式番号で指定される変換式をROM13から読み出してその変換式に物理変換パラメータ及び読み出した第m−chの最新データを適用して物理値を計算する(ステップS35)。CPU11はこの計算結果の物理値を図18に示すようなRAM12内の結果データ記憶エリアに第mチャンネルm−chに対応させて書き込み(ステップS36)、チャンネル番号mに1を加算し(ステップS37)、その新たなチャンネル番号mが最大チャンネル番号nmaxより大であるか否かを判別する(ステップS38)。m≦nmaxの場合にはステップS32に戻って次のチャンネル番号について上記の動作を繰り返す。m>nmaxの場合には表示制御回路18に対して表示指令を発生する(ステップS39)。
【0026】
この表示指令は最新データ記憶エリア、結果データ記憶エリア、LSBファイルの物理量単位に応じて行なわれる。表示制御回路18はディスプレイ19に表示したモニタ映像画面において、最新データ記憶エリアから得られる各チャンネル毎の最新データを対応するチャンネルの表示窓内の図7に示したモニタ表示値域に表示し、結果データ記憶エリアから得られる各チャンネル毎の計算結果の物理値を対応するチャンネルの表示窓内の図7に示した物理値表示域に表示し、チャンネル毎のLSBファイルの物理量単位を対応するチャンネルの表示窓内の図7に示した物理値単位表示域に表示する。
【0027】
なお、物理値を数値表示するのではなく、モニタ映像画面において、「グラフ」に対応するファンクションキーf・3を操作することにより図19に示すようにグラフ表示することも可能である。
制御回路1のCPU11は「終了」に対応するファンクションキーf・10が操作されたか否かを判別する(ステップS30)。ファンクションキーf・10が操作された場合には本ルーチンを終了する。上記したように、複数のチャンネルのデータをECU3から獲得してRAM12の受信データ記憶エリア又はハードディスクドライブ17に保存しているので、これらデータを解析表示する動作に移行することになる。
【0028】
そこで、測定した実データをディスプレイ19に解析表示する動作について説明する。制御回路1のCPU11は解析表示動作において、図20に示すように、先ず、タイムチャート基本映像の表示を表示制御回路18に指令する(ステップS81)。タイムチャート基本映像は表示制御回路18においてデータとして予め定められており、このタイムチャート基本映像にはデータの解析表示はされず、上部にプルダウンメニューが表示されるだけである。次いで、表示すべき測定データを有するデータファイルを決定する(ステップS82)。これはユーザが画面上のプルダウンメニューからファイル名をキー操作により選択するので、その選択結果を読み取ることにより行なわれる。データファイルが決定されると、そのファイル名で指定されたデータファイルをハードディスクドライブ17から読み出す(ステップS83)。なお、指定されたデータファイルがRAM12の受信データ記憶エリアにハードディスクドライブ17にはまだ保存されていない状態にある場合にはそれをRAM12から読み出す。そして、読み出したデータファイルに含まれるラベル名のうちからデータ表示すべき測定データに関するラベル名を決定する(ステップS84)。これもユーザが画面上のプルダウンメニューからラベル名をキー操作により選択するので、その選択結果を読み取ることにより行なわれる。或いは読み出されたデータファイルのヘッダ部に含まれる各チャンネルに割り当てられた測定パラメータ、すなわちラベル名を読み出してそれを画面上に窓表示してその表示された複数のラベル名の中からキー操作により選択することもできる。CPU11はラベル名が指定されることによりそれに対応するチャンネル番号をデータファイルのヘッダ部から知ることができる。
【0029】
CPU11はステップS84の実行後、読み出したデータファイルのヘッダ部に含まれる収録開始時間、最終データカウンタ値及びサンプリング周期を読み出し(ステップS85)、最終データカウンタ値から表示データ周期を算出する(ステップS86)。すなわち、最終データカウンタ値は読み出したデータファイルの各チャンネルのデータ数を示しており、ディスプレイ19の横に表示できるドット数は予め分かっているので、最終データカウンタ値/ドット数の計算で得られる値以下の最も近い整数が表示データ周期である。例えば、最終データカウンタ値が10000であり、ドット数が512ならば、10000/512=19.53となるので、表示データ周期は19となる。この場合、19データ毎に1データを表示するのである。
【0030】
CPU11は次に、変数Cを1に設定し(ステップS87)、読み出したデータファイルのデータカウンタ値Cに対応する各チャンネルの測定データを読み取って(ステップS88)、そのデータカウンタ値Cにサンプリング周期を乗算してそれに収録開始時間を加算してその計算結果を時間データとする(ステップS89)。ステップS88で読み出されるデータは上記のステップS84で定められたラベル名に対応するチャンネルだけである。読み出した測定データ及び計算した時間データを表示制御回路18に供給する(ステップS90)。そして、変数CにステップS86で算出した表示データ周期を加算してそれを新たな変数Cとし(ステップS91)、その変数Cが最終データカウンタ値を越えたか否かを判別する(ステップS92)。変数Cが最終データカウンタ値を越えていないならば、ステップS88に戻って上記の動作を繰り返す。変数Cが最終データカウンタ値を越えたならば、表示すべき測定データをデータファイルから読み出したことなる。表示制御回路18は供給される測定データ及び時間データに基づいてディスプレイ19の画面上に例えば、図21に示すようにタイムチャート映像を表示する。すなわち、測定データ及び時間データが供給される毎にX軸方向に時間データ、Y軸方向に測定データとする座標点をとり、同一パラメータ毎にその座標点間を直線で結ぶようにすると共に、時間データを所定の等間隔で7点だけ目盛値としてX軸に沿って表示する。なお、Y軸方向の単位はいずれか1のパラメータの単位に対応し、それは任意に切り替えることができる。図21の場合、タイムチャート映像上部の「Ch」欄に枠で「NE」が囲まれたことから分かるようにエンジン回転数が選択されている。
【0031】
なお、上記した実施例においては、電子制御装置として電子燃料噴射装置を用いた例を示したが、本発明はこれに限定されることはない。本発明は点火時期制御装置、空燃比制御装置、スロットル開度制御装置等の電子制御装置に適用することができる。
また、上記した実施例においては、シリアル通信によりECUから測定データを取り出しているが、これに限定されることはなく、パラレル通信でも良いことは明らかである。
【0032】
【発明の効果】
本発明の車両用電子制御装置のデータ解析装置においては、変換式用識別子と実データを物理値に変換する際に用いる物理変換パラメータとを関連付けて予め記憶し、かつ変換式用識別子とその変換式用識別子によって識別される変換式とを関連付けて予め記憶し、電子制御装置から少なくとも1つの検出又は制御パラメータの実データを順次得て、その検出又は制御パラメータに対応した物理変換パラメータ及び変換式に応じてその実データを物理値に変換して検出又は制御パラメータ名に対応させて表示するので、電子制御装置の制御中に得られる各検出又は制御パラメータの変化状態が物理値として表示される。よって、試験者等の操作者にとって理解が容易な物理値が得られるので効率よいデータ解析が可能となる。
【図面の簡単な説明】
【図1】本発明の実施例を示すブロック図である。
【図2】制御回路の概略構成を示すブロック図である。
【図3】インターフェース回路の構成を示すブロック図である。
【図4】ECUの構成を示すブロック図である。
【図5】制御回路のCPUの動作を示すフロー図である。
【図6】モニタ映像表示例である。
【図7】図6のモニタ映像表示の詳細を部分的に示す図である。
【図8】RAMアドレスファイルの構造を示す図である。
【図9】LSBファイルの構造を示す図である。
【図10】受信チャンネル記憶エリアのデータテーブルを示す図である。
【図11】データ記憶エリアのデータテーブルを示す図である。
【図12】モニタ回路のCPUの動作を示すフロー図である。
【図13】制御回路のCPUの動作を示すフロー図である。
【図14】受信データ記録エリアのデータテーブルを示す図である。
【図15】モニタ回路のCPUの動作を示す示すフロー図である。
【図16】制御回路のCPUの動作を示す示すフロー図である。
【図17】最新データ記憶エリアのデータテーブルを示す図である。
【図18】結果データ記憶エリアのデータテーブルを示す図である。
【図19】グラフ表示例を示す図である。
【図20】制御回路のCPUのタイムチャート表示動作を示す示すフロー図である。
【図21】タイムチャート映像表示例を示す図である。
【主要部分の符号の説明】
1 制御回路
2 インターフェース回路
3 ECU
4 モニタ回路
5 アナログ回路
6 バス接続回路
[0001]
[Industrial application fields]
The present invention relates to a data analysis apparatus that reads actual data indicating an operating state of an electronic control device for a vehicle such as an electronic fuel injection device mounted on an automobile and displays it.
[0002]
[Prior art]
An electronic control device for a vehicle is for controlling the operating state of an on-vehicle internal combustion engine to an optimal state. For example, in an internal combustion engine that supplies fuel using injection, the amount of fuel to be supplied is determined by the vehicle and the engine. 2. Description of the Related Art An electronic fuel injection apparatus that detects an operating state with a sensor and calculates and controls the operating state according to the sensor detection value is well known.
[0003]
In order to determine the control operation state of such an electronic control device, for example, whether the sensor or the control device main body is operating normally, the electronic control device is actually mounted on the vehicle and the engine is operated, Tests are being carried out by running. In the test, each sensor output value or calculated value was taken out from the electronic control device as data, stored in a memory, and analyzed.
[0004]
[Problems to be solved by the invention]
However, since these sensor output values and calculated values are actual values in control, they are values that cannot be obtained as physical values that can be easily understood by a tester or the like unless converted by some conversion formula. Therefore, there is a problem that the tester cannot know the actual physical value unless the accumulated data is calculated and analyzed separately using a computer or the like, which is inconvenient and efficient data analysis is difficult.
[0005]
Accordingly, an object of the present invention is to provide a data analysis device that enables efficient data analysis on actual data obtained during the control operation of the vehicle electronic control device.
[0006]
[Means for Solving the Problems]
A data analysis device for a vehicle electronic control device according to the present invention is a data analysis device that analyzes actual data of detection or control parameters obtained during control in an electronic control device that controls an internal combustion engine mounted on a vehicle, For each of a plurality of detection or control parameters, a conversion formula identifier for identifying a conversion formula for converting actual data into a physical value and a physical conversion parameter used when converting the real data into a physical value are stored in association with each other, In addition, the conversion formula identifier and the conversion formula identified by the conversion formula identifier are stored in association with each other. At least one of environmental data storage means and an electronic control unit Detection or control Actual data storage means for sequentially obtaining and storing actual parameter data, and actual data obtained from the actual data storage means The conversion formula identifier of the conversion formula to be applied to is specified, the physical conversion parameter and the conversion formula associated with the specified conversion formula identifier are read out from the environment data storage means, and according to the read physical conversion parameter and the conversion formula Actual data Control means for converting into a physical value, and means for displaying the physical value converted by the control means in correspondence with the parameter name are characterized.
[0007]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
The data analysis device of the vehicle electronic control device shown in FIG. 1 includes a control circuit 1 and an interface circuit 2. An ECU (electronic control unit) 3 of an electronic control device is connected to the interface circuit 2 as will be described later. The control circuit 1 comprises a microcomputer and has a built-in display. As the control circuit 1, for example, a notebook personal computer can be used. However, for ease of explanation, a schematic configuration of the control circuit 1 is shown in FIG. That is, in the control circuit 1, a CPU (Central Processing Unit) 11, a RAM (Random Access Memory) 12, and a ROM (Read Only Memory) 13 are connected to an internal bus 14, and the internal bus 14 is a chip for timing control. It is connected to the external bus 16 via the set 15. A hard disk drive 17 and a display control circuit 18 are connected to the external bus 16, and the display control circuit 18 performs display control of the display 19 in accordance with a command from the CPU 11. A keyboard 20 is connected to the internal bus 14 via an operation control circuit 20a. The keyboard 20 is provided with at least alphabetic character keys and numeric keys in addition to function keys, enter keys, arrow keys, and ESC (escape) keys described later.
[0008]
The interface circuit 2 is basically for relaying measurement data (actual data) supplied from the ECU 3 to the control circuit 1 based on a command from the control circuit 1, and includes a monitor circuit 4, an analog circuit 5, and a bus. A connection circuit 6 is provided.
In the monitor circuit 4, as shown in FIG. 3, a CPU 21, a ROM 22, a RAM 23, an input / output circuit 24, and a DP (dual port) -RAM 25 are connected by a common bus. The input / output circuit 24 has a serial communication port in accordance with a standard such as RS-232C, to which not only the ECU 3 but also the temperature measurement unit 7 is connected. The CPU 21 controls the operation in the monitor circuit 4 and operates according to a program stored in the ROM 22 in advance. The RAM 23 stores data necessary for the control operation of the CPU 21, for example, a connection state or the like in a current serial communication port. The DP-RAM 25 has two ports for input / output, and is used for temporarily storing data supplied from the ECU 3 or commands supplied from the control circuit 1. The DP-RAM 25 is connected to the bus connection circuit 6, and this connection line includes an interrupt request line as well as a data line.
[0009]
In the analog circuit 5, as shown in FIG. 3, like the monitor circuit 4, the CPU 31, ROM 32, RAM 33, input / output circuit 34, and DP-RAM 35 are connected by a common bus. However, the input / output circuit 34 includes an A / D converter, a D / A converter, and a pulse measuring device (both not shown). They are connected to an external voltage output type sensor or a voltage driven output device such as a pen recorder (both not shown) via an analog signal port.
[0010]
The bus connection circuit 6 is for mechanically and electrically connecting the inputs and outputs of the DP-RAM 25 of the monitor circuit 4 and the DP-RAM 35 of the analog circuit 5 to the external bus 16 of the control circuit 1.
As shown in FIG. 4, the ECU 3 connected to the data analysis apparatus having such a configuration includes at least a CPU 51, a ROM 52, a RAM 53, a serial communication input / output circuit 54, a sensor input interface circuit 55, and an actuator drive circuit 56. They are connected to each other by a common bus. A plurality of sensors are connected to the sensor input interface circuit 55, and an actuator such as an injector is connected to the drive circuit 56. The sensor includes an oxygen concentration sensor that generates an output voltage corresponding to the oxygen concentration in the exhaust gas in the internal combustion engine exhaust pipe, an intake pipe internal pressure sensor that generates a voltage corresponding to the absolute pressure in the intake pipe of the internal combustion engine, and the internal combustion engine There are various sensors such as a crank angle sensor that generates a pulse signal corresponding to the number of rotations of the crankshaft, and a cooling water temperature sensor that detects the temperature of cooling water in the internal combustion engine.
[0011]
The CPU 51 of the ECU 3 operates in accordance with a program stored in advance in the ROM 52, reads the output values of the plurality of sensors through the sensor input interface circuit 55, stores them in the RAM 53, and drives the actuator according to the output values of these sensors. A signal is generated and supplied to the drive circuit 56. For example, when the injector is driven, the basic fuel injection amount is calculated from the absolute value in the intake pipe based on the output value of the intake pipe internal pressure sensor and the engine speed obtained from the output value of the crank angle sensor. The fuel injection amount is calculated by correcting the amount by the air-fuel ratio information obtained from the output value of the oxygen concentration sensor, the engine temperature information obtained from the cooling water temperature sensor, etc., and the injector is driven according to the fuel injection amount. As described above, the ECU 3 sequentially obtains values such as reading values of various sensors, intermediate values such as the basic fuel injection amount, and driving values such as the fuel injection amount as time passes. Each value is written and updated at a predetermined address in the RAM 53 as actual data. The data analysis apparatus reads each data in the RAM 53 and analyzes the data. Therefore, at the time of data analysis, the serial communication port of the serial communication input / output circuit 54 of the ECU 3 is connected to the serial communication port of the input / output circuit 24 of the monitor circuit 4.
[0012]
The operation when the power is supplied to the data analysis apparatus in a state where the ECU 3 is connected to the data analysis apparatus will be described. Naturally, it is assumed that the ECU 3 is mounted on a vehicle and performs a control operation.
As shown in FIG. 5, the CPU 11 of the control circuit 1 first causes the display control circuit 18 to display the monitor video (step S1). FIG. 6 shows a monitor image, each of which is surrounded by 16 frames is a channel window for displaying parameter values obtained by the ECU 3. FIG. 7 specifically shows the contents of each display area in the channel window. In FIG. 7, “Ch No.” is displayed slightly to the left of the channel window, and is a channel number set by the user as to where to assign the parameter value to be displayed. The channel number in the channel window is, for example, up to 48 channels, but the number of channels simultaneously displayed on the screen is 16 kinds of parameters, that is, 16 channels. “Label name” is a name indicating a parameter for displaying a value. For example, if the label name is “NE”, the engine speed, if “TA”, the engine intake temperature, if “PBA”, “intake pipe absolute pressure”. “Monitor display value” is a hexadecimal actual data value display of the parameter indicated by the label name, and “hex” next to it indicates that it is a hexadecimal number. The “physical value display” is a decimal number display using the unit to indicate the parameter value displayed by the label name, and the “physical value unit” next to it is the unit. For example, the physical value unit of the engine speed is rpm, and the physical value unit of the intake pipe absolute pressure is mmHg.
[0013]
6 is a guide display of ten function keys f · 1 to f · 10 (not shown) provided on the keyboard 20 of the control circuit 1. “Setting” on the left side of the screen corresponds to the function key f · 1, and then corresponds to the function key numbers in the display order on the right.
The CPU 11 determines whether or not the function key f · 9 corresponding to “environment” is operated in the display state of the monitor video (step S2). If the function key f.9 is operated, the environment setting mode is set, and the display control circuit 18 displays the selected video of the RAM address file on the monitor video on the display 16 (step S3). The RAM address file is a file that differs depending on the ECU or the vehicle on which it is mounted. As shown in FIG. 8, the label name for each parameter, the description of the label name, the address of the internal RAM 53 of the ECU 3, the data size W / B And a file in which the LSB code is recorded. There is a RAM address file corresponding to each ECU 3 connected to the data analysis device. A plurality of RAM address file names registered in advance are displayed in a window on the display screen, and one RAM address file name among the plurality of RAM address file names is provided on the keyboard 20 of the control circuit 1. It is highlighted when the cursor is operated with the key. After a desired RAM address file name is selected, the selection is determined by operating the enter key. After executing step S3, the CPU 11 determines whether or not the RAM address file name has been selected and determined (step S4). When the RAM address file name of 1 is determined, the RAM address file name is read (step S5), and the display of the selected video of the RAM address file is terminated (step S6).
[0014]
The data size W / B in the RAM address file indicates whether the data is word data (2-byte data) or 1-byte data. The LSB code is a code for specifying LSB data in the LSB file. The LSB file has a file structure as shown in FIG. That is, the LSB code includes a code number, a label name, a physical quantity unit, a formula number, a data length, physical conversion parameters f0, f1,... Are LSB data corresponding to one measurement parameter. LSB data is continuously formed in the order of code numbers. The formula number is a number for specifying a conversion formula separately stored in the hard disk drive 17 in order to calculate a physical value from the actual value of the measurement parameter, and the physical conversion parameters f0, f1,... Are used in the conversion formula. Coefficients.
[0015]
After executing step S6, the CPU 11 of the control circuit 1 returns to step S2. If the function key f · 9 is not operated in step S2, it is determined whether or not the function key f · 1 corresponding to “setting” is operated (step S7). If function key f.1 is operated, a channel setting operation is performed (step S8). That is, in the channel setting, one of the plurality of channel display frames shown on the screen of the display 19 as the monitor image is a thick line frame, which becomes the current cursor position, and is operated by operating the arrow keys. The cursor position can be moved. When the enter key is operated after using the arrow keys to move the cursor to the desired channel display frame, the label names contained in the selected RAM address file are displayed continuously in the window, and the desired label names are displayed using the arrow keys. After moving the position, the selection is made by operating the enter key. As a result, the correspondence between the channel number and the parameter to be measured is determined, and a reception channel storage area indicating the correspondence is formed in the RAM 12. This channel setting operation can be repeated for any number of channels. By performing the channel setting operation in this way, for example, a reception channel storage area as shown in FIG. 10 is formed.
[0016]
The CPU 11 determines whether or not the ESC key is operated every time the channel setting operation is performed (step S9). If the ESC key has not been operated, step S8 is repeated for further channel setting operation. On the other hand, if the ESC key is operated, the control circuit 1 writes the correspondence between each channel number stored in the channel storage area and the RAM address in the ECU 3 in the DP-RAM 25 (step S10). For example, a data storage area is formed in the DP-RAM 25 as shown in FIG. When the control circuit 1 finishes writing the correspondence relationship in the DP-RAM 25, it issues an interrupt signal indicating a start command for starting data communication (step S11). This interrupt signal is written as data in the DP-RAM 25.
[0017]
On the other hand, as shown in FIG. 12, the CPU 21 of the monitor circuit 4 determines whether or not a start command interrupt signal has been written in the DP-RAM 25 at a predetermined timing (step S51). When the interrupt signal for the start command is written, the CPU 21 starts serial communication between the monitor circuit 4 and the ECU 3. That is, the CPU 21 sets the channel number n to 1 (step S52), reads the address corresponding to the n-th channel n-ch from the data table of the DP-RAM 25 (step S53), and outputs a serial signal for data request for the read address. Transmission is performed via the input / output circuit 24 (step S54).
[0018]
When the serial signal is supplied from the monitor circuit 4 to the serial communication input / output circuit 54, the CPU 51 of the ECU 3 reads the address indicated by the serial signal and stores it in the storage location specified by the read address of the RAM 53. The data value is read and supplied to the serial communication input / output circuit 54. As described above, the value stored in the storage position designated by the address is a value detected by the sensor or a calculated value such as the fuel injection amount. The serial communication input / output circuit 54 transmits as a serial signal indicating the data value.
[0019]
After executing step S54, the CPU 21 of the monitor circuit 4 determines whether or not a serial signal is supplied from the serial communication input / output circuit 54 of the ECU 3 (step S55). If the serial signal is supplied, the value indicated by the serial signal is read and written in the storage location corresponding to the channel number n-ch in the DP-RAM 25 (step S56). The CPU 21 further adds 1 to the channel number n (step S57), and the new channel number n becomes the maximum channel number n. max It is determined whether or not (for example, 48) (step S58). n ≦ n max In this case, the process returns to step S53 and the above operation is repeated for the next channel number. n> n max In this case, the process returns to step S52 and the above operation is repeated for the first channel 1-ch.
[0020]
By performing such a serial communication operation, data values (hexadecimal data) read from the RAM 53 are written in the reading order in the DP-RAM 25 for each channel. The write position of the DP-RAM 25 is incremented for each channel by a counter (not shown), and when the last writable storage position is reached, the counter is reset and the next write position returns to the first storage position. It is like that.
[0021]
When such a serial communication operation is started, the CPU 21 of the monitor circuit 4 generates an interrupt signal at a predetermined timing (for example, every 100 msec). Since this interrupt signal is written in a predetermined storage location of the DP-RAM 25, it is transmitted to the CPU 11 of the control circuit 1. Therefore, as shown in FIG. 13, the CPU 11 determines whether or not the function key f · 6 corresponding to “log” has been operated (step S21). If the function key f.6 is operated, the data storage mode is set, and the time data at the time when the operation of the function key f.6 is detected is detected from a time counter (not shown) held in the control circuit 1 itself. Read and write to the header portion of the received data storage area (step S22). This time data indicates the data recording start time. The CPU 11 reads the measurement data of each channel of the DP-RAM 25 in response to the interrupt signal at a predetermined timing (step S23), and writes the read measurement data to the storage position of the reception data storage area of the RAM 12 in correspondence with the channel. (Step S24) The data counter provided at the beginning of the storage position of the written reception data storage area is incremented by 1 (Step S25). Since this data reading operation is performed via the external bus 16, it is extremely faster than the data transmission speed of serial communication. Therefore, one data of all channels already written in the DP-RAM 25 is read and the received data is stored. Written to the area. The data counter indicates the number of read data common to all channels. In the DP-RAM 25, the storage position of the data read by the CPU 11 is marked for each channel by a counter (not shown) so that new data can be written. The received data storage area is, for example, as shown in FIG.
[0022]
When the CPU 11 finishes writing data to the received data storage area, it determines whether or not the function key f · 7 corresponding to “stop” has been operated (step S26). If the function key f · 7 is not operated, the generation of an interrupt signal from the CPU 21 of the next monitor circuit 4 is awaited. On the other hand, if the function key f7 is operated, an interrupt signal indicating a stop command for stopping data communication is issued (step S27). Since the capacity of the received data storage area of the RAM 12 is limited, an interrupt signal indicating a stop command is generated even when the final storage position is reached.
[0023]
An interrupt signal indicating this stop command is written as data in the DP-RAM 25. Therefore, as shown in FIG. 15, the CPU 21 of the monitor circuit 4 determines whether or not a stop command interrupt signal is written in the DP-RAM 25 at a predetermined timing (step S61). If the stop command interrupt is written, the CPU 21 controls the input / output circuit 24 to stop the serial communication between the monitor circuit 4 and the ECU 3 (step S62).
[0024]
After executing step S27, the CPU 11 of the control circuit 1 determines whether or not the function key f · 8 corresponding to “save” has been operated (step S28). When the function key f · 8 is operated, the contents of the received data storage area of the RAM 12 are stored as a data file in the hard disk drive 17 (step S29). At the time of this storage, the file name is given by the user. If the function key f · 8 is not operated, the contents of the received data storage area of the RAM 12 are maintained as they are.
[0025]
The CPU 11 of the control circuit 1 performs a screen display operation as a background process of the serial communication operation described above. In this screen display operation, the latest measurement data (hexadecimal data) of each channel is read from the data table of the DP-RAM 25 as shown in FIG. 16, and each channel is stored in the latest data storage area as shown in FIG. Each time writing is performed (step S31), the channel number m is set to 1 (step S32), the LSB code corresponding to the m-th channel m-ch is read from the channel storage area of the RAM 12 (step S33), and designated by the LSB code. The contents of the LSB file are read (step S34). Since data such as a physical quantity unit, a formula number, a data length, a physical conversion parameter, and the like are obtained from the LSB file, the conversion formula specified by the formula number is read from the ROM 13 and the physical conversion parameter and the m- The physical value is calculated by applying the latest data of ch (step S35). The CPU 11 writes the physical value of the calculation result in the result data storage area in the RAM 12 as shown in FIG. 18 in correspondence with the m-th channel m-ch (step S36), and adds 1 to the channel number m (step S37). ), The new channel number m is the maximum channel number n max It is determined whether or not it is larger (step S38). m ≦ n max In this case, the process returns to step S32 and the above operation is repeated for the next channel number. m> n max In this case, a display command is issued to the display control circuit 18 (step S39).
[0026]
This display command is issued according to the physical quantity unit of the latest data storage area, result data storage area, and LSB file. The display control circuit 18 displays the latest data for each channel obtained from the latest data storage area on the monitor video screen displayed on the display 19 in the monitor display value range shown in FIG. 7 in the display window of the corresponding channel. The physical value of the calculation result for each channel obtained from the data storage area is displayed in the physical value display area shown in FIG. 7 in the corresponding channel display window, and the physical quantity unit of the LSB file for each channel is displayed for the corresponding channel. Displayed in the physical value unit display area shown in FIG. 7 in the display window.
[0027]
Instead of displaying the physical value numerically, it is also possible to display a graph as shown in FIG. 19 by operating the function key f · 3 corresponding to “graph” on the monitor video screen.
The CPU 11 of the control circuit 1 determines whether or not the function key f · 10 corresponding to “END” has been operated (step S30). When the function key f · 10 is operated, this routine is terminated. As described above, data of a plurality of channels is acquired from the ECU 3 and stored in the received data storage area of the RAM 12 or the hard disk drive 17, so that the operation shifts to an operation for analyzing and displaying these data.
[0028]
Therefore, an operation for analyzing and displaying the measured actual data on the display 19 will be described. In the analysis display operation, the CPU 11 of the control circuit 1 first instructs the display control circuit 18 to display the time chart basic video as shown in FIG. 20 (step S81). The time chart basic video is predetermined as data in the display control circuit 18, and the time chart basic video is not subjected to data analysis display, and only a pull-down menu is displayed at the top. Next, a data file having measurement data to be displayed is determined (step S82). This is done by reading the selection result because the user selects a file name from the pull-down menu on the screen by key operation. When the data file is determined, the data file designated by the file name is read from the hard disk drive 17 (step S83). If the designated data file is not yet stored in the received data storage area of the RAM 12 in the hard disk drive 17, it is read from the RAM 12. And the label name regarding the measurement data which should display data is determined from the label names contained in the read data file (step S84). This is also done by reading the selection result because the user selects a label name from the pull-down menu on the screen by key operation. Alternatively, the measurement parameter assigned to each channel included in the header of the read data file, that is, the label name is read out and displayed on the screen as a window, and key operations are performed from among the displayed label names. Can also be selected. The CPU 11 can know the channel number corresponding to the label name from the header portion of the data file.
[0029]
After executing step S84, the CPU 11 reads the recording start time, final data counter value, and sampling period included in the header of the read data file (step S85), and calculates the display data period from the final data counter value (step S86). ). That is, the final data counter value indicates the number of data of each channel of the read data file, and since the number of dots that can be displayed on the side of the display 19 is known in advance, it can be obtained by calculating the final data counter value / dot number. The nearest integer less than or equal to the value is the display data cycle. For example, if the final data counter value is 10,000 and the number of dots is 512, 10000/512 = 19.53, so the display data cycle is 19. In this case, 1 data is displayed for every 19 data.
[0030]
Next, the CPU 11 sets the variable C to 1 (step S87), reads the measurement data of each channel corresponding to the data counter value C of the read data file (step S88), and sets the data counter value C to the sampling period. Is added to the recording start time, and the calculation result is used as time data (step S89). The data read in step S88 is only the channel corresponding to the label name defined in step S84. The read measurement data and calculated time data are supplied to the display control circuit 18 (step S90). Then, the display data cycle calculated in step S86 is added to the variable C to obtain a new variable C (step S91), and it is determined whether or not the variable C has exceeded the final data counter value (step S92). If the variable C does not exceed the final data counter value, the process returns to step S88 and the above operation is repeated. If the variable C exceeds the final data counter value, the measurement data to be displayed is read from the data file. The display control circuit 18 displays a time chart video as shown in FIG. 21, for example, on the screen of the display 19 based on the supplied measurement data and time data. That is, every time measurement data and time data are supplied, coordinate points are taken as time data in the X-axis direction and measurement data in the Y-axis direction, and the coordinate points are connected by a straight line for each same parameter. The time data is displayed along the X axis as a scale value at only seven points at predetermined equal intervals. The unit in the Y-axis direction corresponds to any one parameter unit, and can be switched arbitrarily. In the case of FIG. 21, the engine speed is selected as can be understood from the fact that “NE” is surrounded by a frame in the “Ch” column at the top of the time chart video.
[0031]
In the above-described embodiment, an example in which an electronic fuel injection device is used as the electronic control device has been described. However, the present invention is not limited to this. The present invention can be applied to electronic control devices such as an ignition timing control device, an air-fuel ratio control device, and a throttle opening control device.
In the above-described embodiment, the measurement data is extracted from the ECU by serial communication. However, the present invention is not limited to this, and it is obvious that parallel communication may be used.
[0032]
【The invention's effect】
In the data analysis device of the vehicle electronic control device of the present invention, A conversion formula identifier and a physical conversion parameter used when converting actual data into a physical value are stored in association with each other, and a conversion formula identifier and a conversion formula identified by the conversion formula identifier are stored in association with each other. And At least one from the electronic control unit Detection or control Obtain actual parameter data sequentially , Physical conversion parameters and conversion formulas corresponding to the detection or control parameters In response to the The actual data Converted to physical values Detection or control Displayed in correspondence with the parameter name, so that each obtained during control of the electronic control unit Detection or control The change state of the parameter is displayed as a physical value. Therefore, since a physical value that is easy to understand for an operator such as a tester can be obtained, efficient data analysis is possible.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an embodiment of the present invention.
FIG. 2 is a block diagram showing a schematic configuration of a control circuit.
FIG. 3 is a block diagram illustrating a configuration of an interface circuit.
FIG. 4 is a block diagram showing a configuration of an ECU.
FIG. 5 is a flowchart showing the operation of the CPU of the control circuit.
FIG. 6 is a monitor image display example.
7 is a diagram partially showing details of the monitor video display of FIG. 6;
FIG. 8 is a diagram illustrating a structure of a RAM address file.
FIG. 9 is a diagram illustrating a structure of an LSB file.
FIG. 10 is a diagram showing a data table of a reception channel storage area.
FIG. 11 is a diagram showing a data table in a data storage area.
FIG. 12 is a flowchart showing the operation of the CPU of the monitor circuit.
FIG. 13 is a flowchart showing the operation of the CPU of the control circuit.
FIG. 14 is a diagram showing a data table of a received data recording area.
FIG. 15 is a flowchart showing the operation of the CPU of the monitor circuit.
FIG. 16 is a flowchart showing the operation of the CPU of the control circuit.
FIG. 17 is a diagram showing a data table in the latest data storage area.
FIG. 18 is a diagram showing a data table in a result data storage area.
FIG. 19 is a diagram illustrating a graph display example.
FIG. 20 is a flowchart showing a time chart display operation of the CPU of the control circuit.
FIG. 21 is a diagram showing a time chart video display example.
[Explanation of main part codes]
1 Control circuit
2 Interface circuit
3 ECU
4 Monitor circuit
5 Analog circuit
6 Bus connection circuit

Claims (5)

車両に搭載された内燃エンジンを制御する電子制御装置において制御中に得られる検出又は制御パラメータの実データを解析するデータ解析装置であって、
複数の検出又は制御パラメータ各々について実データを物理値に各々変換する変換式を識別する変換式用識別子と該実データを物理値に変換する際に用いる物理変換パラメータとを関連付けて予め記憶し、かつ前記変換式用識別子と該変換式用識別子によって識別される変換式とを関連付けて予め記憶した環境データ記憶手段と、
前記電子制御装置から少なくとも1つの検出又は制御パラメータの実データを順次得て記憶する実データ記憶手段と、
前記実データ記憶手段から得られる実データに適用する変換式の変換式用識別子を特定し、該特定した変換式用識別子と関連付けられている物理変換パラメータ及び変換式を前記環境データ記憶手段から読み出し、読み出した物理変換パラメータ及び変換式に応じて実データを物理値に変換する制御手段と、
前記制御手段によって変換された物理値をパラメータ名に対応させて表示する手段と、を含むことを特徴とする車両用電子制御装置のデータ解析装置。
A data analysis device for analyzing actual data of detection or control parameters obtained during control in an electronic control device for controlling an internal combustion engine mounted on a vehicle,
For each of a plurality of detection or control parameters, a conversion formula identifier for identifying a conversion formula for converting actual data into a physical value and a physical conversion parameter used when converting the real data into a physical value are stored in association with each other, And environmental data storage means for storing the conversion formula identifier and the conversion formula identified by the conversion formula identifier in association with each other ,
Real data storage means for sequentially obtaining and storing real data of at least one detection or control parameter from the electronic control unit;
A conversion formula identifier of a conversion formula to be applied to actual data obtained from the actual data storage means is specified, and physical conversion parameters and conversion formulas associated with the specified conversion formula identifier are read from the environmental data storage means. Control means for converting actual data into physical values in accordance with the read physical conversion parameters and conversion formula ;
And a means for displaying the physical value converted by the control means in correspondence with the parameter name.
前記電子制御装置には制御中に得られる前記複数の検出又は制御パラメータ各々について異なるアドレスにて実データを保持する内部メモリが設けられており、前記実データ記憶手段は前記複数の検出又は制御パラメータ各々について所定の順番で前記内部メモリの各アドレスから実データを読み出して前記検出又は制御パラメータ毎に記憶することを特徴とする請求項1記載の車両用電子制御装置のデータ解析装置。The electronic control device is provided with an internal memory that holds actual data at different addresses for each of the plurality of detection or control parameters obtained during control, and the actual data storage means includes the plurality of detection or control parameters. 2. The data analysis device for a vehicle electronic control device according to claim 1, wherein actual data is read from each address of the internal memory in a predetermined order and stored for each detection or control parameter. 前記電子制御装置と前記記憶手段との間においてはシリアル通信によって実データの読み出し動作が行なわれることを特徴とする請求項1記載の車両用電子制御装置のデータ解析装置。  2. The data analysis apparatus for an electronic control unit for a vehicle according to claim 1, wherein an operation for reading actual data is performed by serial communication between the electronic control unit and the storage unit. 前記環境データ記憶段は、前記内部メモリのアドレスと前記検出又は制御パラメータとの対応関係を示すアドレスデータを含み、前記制御手段は、前記アドレスデータに従って前記記憶手段に対して読み出すべきアドレスを指示することを特徴とする請求項2記載の車両用電子制御装置のデータ解析装置。The environmental data storage stage includes address data indicating a correspondence relationship between the address of the internal memory and the detection or control parameter, and the control means instructs the storage means to read an address according to the address data. The data analysis device for a vehicle electronic control device according to claim 2. 前記制御手段は、前記記憶手段に記憶された最新の実データを読み出してそれを前記検出又は制御パラメータ毎に順番に記憶する記憶エリアと、前記記憶エリアに記憶された最新の実データを前記検出又は制御パラメータ毎に読み出して前記環境データ記憶手段から得られる前記環境データ中の物理変換パラメータ及び変換式に応じて物理値に変換する変換手段とを含むことを特徴とする請求項1記載の車両用電子制御装置のデータ解析装置。The control means reads the latest actual data stored in the storage means and stores it in order for each of the detection or control parameters, and the latest actual data stored in the storage area is detected. The vehicle according to claim 1, further comprising: a conversion unit that reads out each control parameter and converts it into a physical value in accordance with a physical conversion parameter and a conversion formula in the environmental data obtained from the environmental data storage unit. Data analysis equipment for electronic control equipment.
JP11802196A 1996-05-13 1996-05-13 Data analysis device for vehicle electronic control unit Expired - Fee Related JP3645653B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11802196A JP3645653B2 (en) 1996-05-13 1996-05-13 Data analysis device for vehicle electronic control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11802196A JP3645653B2 (en) 1996-05-13 1996-05-13 Data analysis device for vehicle electronic control unit

Publications (2)

Publication Number Publication Date
JPH09304238A JPH09304238A (en) 1997-11-28
JP3645653B2 true JP3645653B2 (en) 2005-05-11

Family

ID=14726113

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11802196A Expired - Fee Related JP3645653B2 (en) 1996-05-13 1996-05-13 Data analysis device for vehicle electronic control unit

Country Status (1)

Country Link
JP (1) JP3645653B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008008667A (en) * 2006-06-27 2008-01-17 Ngk Spark Plug Co Ltd Gas sensor controller

Also Published As

Publication number Publication date
JPH09304238A (en) 1997-11-28

Similar Documents

Publication Publication Date Title
US7684908B1 (en) Vehicle identification key for use between multiple computer applications
JPH10281943A (en) Vehicle diagnosis device
JP4766926B2 (en) Electronic control device and data storage method for electronic control device
JP3645653B2 (en) Data analysis device for vehicle electronic control unit
US5711021A (en) Method for graphically displaying vehicle test data
JP3576699B2 (en) Data analysis device for electronic control unit
JP2000186611A (en) Combustion pressure data collector of and analyzer of diesel engine
JPH09304115A (en) Data analyzer for electronic control apparatus
JPH11141390A (en) Data analysis device for vehicle electronic controller
JP3631556B2 (en) Data update device for electronic control unit
JPH11247709A (en) Data analyzing device of electronic control device for vehicle
JPH11160202A (en) Data collecting device for vehicle
JP2877075B2 (en) Instrument control device and method
JP3436597B2 (en) Waveform display method of waveform observation device
JP2003302260A (en) Data display device
KR100800411B1 (en) Apparatus and method for controlling buffer memory in digital video recorder
JPH08159817A (en) Small type data collection device
JP4332054B2 (en) Data recorder
KR100391898B1 (en) Analysis system for analyzing signal of universal encoder
JPH0669854U (en) Digital oscilloscope
JPH10332434A (en) On-vehicle data recording device and on-vehicle data storage medium used for it
JPH11324780A (en) Data analyzing device of electronic control device for engine
JP2002350195A (en) Waveform-measuring instrument
JP3395448B2 (en) Material testing machine
JP2003186528A (en) Device for displaying operation status of electronic equipment

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050117

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050204

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080210

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090210

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100210

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100210

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110210

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120210

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120210

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130210

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20140210

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees