JP3645653B2 - Data analysis device for vehicle electronic control unit - Google Patents
Data analysis device for vehicle electronic control unit Download PDFInfo
- 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
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
[0008]
The
In the
[0009]
In the
[0010]
The
As shown in FIG. 4, the
[0011]
The
[0012]
The operation when the power is supplied to the data analysis apparatus in a state where the
As shown in FIG. 5, the CPU 11 of the
[0013]
6 is a guide display of ten function keys f · 1 to f · 10 (not shown) provided on the
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
[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
[0015]
After executing step S6, the CPU 11 of the
[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
[0017]
On the other hand, as shown in FIG. 12, the
[0018]
When the serial signal is supplied from the
[0019]
After executing step S54, the
[0020]
By performing such a serial communication operation, data values (hexadecimal data) read from the
[0021]
When such a serial communication operation is started, the
[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
[0023]
An interrupt signal indicating this stop command is written as data in the DP-
[0024]
After executing step S27, the CPU 11 of the
[0025]
The CPU 11 of the
[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
[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
[0028]
Therefore, an operation for analyzing and displaying the measured actual data on the
[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
[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
[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.
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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008008667A (en) * | 2006-06-27 | 2008-01-17 | Ngk Spark Plug Co Ltd | Gas sensor controller |
-
1996
- 1996-05-13 JP JP11802196A patent/JP3645653B2/en not_active Expired - Fee Related
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 |