[go: up one dir, main page]

JP3576699B2 - Data analysis device for electronic control unit - Google Patents

Data analysis device for electronic control unit Download PDF

Info

Publication number
JP3576699B2
JP3576699B2 JP11802296A JP11802296A JP3576699B2 JP 3576699 B2 JP3576699 B2 JP 3576699B2 JP 11802296 A JP11802296 A JP 11802296A JP 11802296 A JP11802296 A JP 11802296A JP 3576699 B2 JP3576699 B2 JP 3576699B2
Authority
JP
Japan
Prior art keywords
data
display
conversion
ram
electronic control
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
JP11802296A
Other languages
Japanese (ja)
Other versions
JPH09304113A (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
Hitachi Astemo Ltd
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 JP11802296A priority Critical patent/JP3576699B2/en
Publication of JPH09304113A publication Critical patent/JPH09304113A/en
Application granted granted Critical
Publication of JP3576699B2 publication Critical patent/JP3576699B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Indicating Measured Values (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Description

【0001】
【産業上の利用分野】
本発明は、車載電子燃料噴射装置等の電子制御装置の動作状態を示す実データを読み取ってそれに基づいたデータ表示を行なうデータ解析装置に関する。
【0002】
【従来の技術】
電子制御装置として車載内燃エンジンの場合にはその運転状態を最適な状態に制御するためのものがあり、例えば、インジェクションを用いて燃料を供給する内燃エンジンにおいては、供給すべき燃料量を車両及びエンジンの運転状態をセンサによって検出してそのセンサ検出値に応じて計算して制御する電子燃料噴射装置がよく知られている。
【0003】
このような電子制御装置の制御動作状態、例えば、センサや制御装置本体が正常に動作しているか否かを判断するために電子制御装置を実際に車両に搭載してエンジンを稼働させたり、車両走行させたりして試験が行なわれている。その試験においては電子制御装置から各センサ出力値や計算値をデータとしてサンプリングしてメモリにデータ群として蓄積した後、その蓄積データについて解析することが行なわれていた。
【0004】
【発明が解決しようとする課題】
ところで、蓄積データの解析方法の1つとして、表示器にデータ群の各データのレベル変化をグラフ表示させる方法がある。しかしながら、メモリに蓄積されるデータ数はサンプリング周波数にもよるが、通常、僅かなデータ測定期間でも多くのデータが得られる。従って、データ数が多い場合には、表示器を用いてそのデータ測定期間における全体的なデータレベルの変化を示すことが困難であり、的確なデータ表示が望まれるのである。
【0005】
そこで、本発明の目的は、データ測定期間に多くのデータ数が得られた場合でもそのデータ測定期間における全体的なデータレベルの変化を的確に示すことができる電子制御装置のデータ解析装置を提供することである。
【0006】
【課題を解決するための手段】
本発明の電子制御装置のデータ解析装置は、電子制御装置において制御中に得られる検出又は制御パラメータの実データに基づいたデータ表示を表示器に行なうデータ解析装置であって、前記電子制御装置から少なくとも1つのパラメータの実データを順次得てデータ群として記憶する実データ記憶手段と、前記実データ記憶手段から得られる1つのデータ群のデータ数を、前記表示器の所定の一方向の画面表示可能ドット数で割る除算手段と、前記除算手段の除算結果に基づいて前記1つのデータ群のデータを間引く間引き手段と、複数のパラメータ毎に実データを物理値に各々変換する変換式を含む変換データを予め記憶した変換データ記憶手段と、前記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)。なお、指定されたデータファイルがハードディスクドライブ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】
なお、上記した実施例においては、電子制御装置として電子燃料噴射装置を用いた例を示したが、本発明はこれに限定されることはない。本発明は内燃エンジンに関しては点火時期制御装置、空燃比制御装置、スロットル開度制御装置等の電子制御装置に適用することができ、また、これら以外の電子制御装置にも適用できる。
【0032】
また、上記した実施例においては、シリアル通信によりECUから測定データを取り出しているが、これに限定されることはなく、パラレル通信でも良いことは明らかである。
【0033】
【発明の効果】
本発明の電子制御装置のデータ解析装置によれば、データ測定期間に多くのデータ数が得られた場合でもそのデータ測定期間における全体的なデータレベルの変化を的確に表示することができる。
【図面の簡単な説明】
【図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 applications]
The present invention relates to a data analysis device that reads actual data indicating an operation state of an electronic control device such as an on-vehicle electronic fuel injection device and performs data display based on the actual data.
[0002]
[Prior art]
In the case of an in-vehicle internal combustion engine as an electronic control device, there is one for controlling the operating state of the 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 set to the vehicle 2. Description of the Related Art An electronic fuel injection device that detects an operating state of an engine by a sensor and calculates and controls the operating state according to a sensor detection value is well known.
[0003]
The control operation state of such an electronic control device, for example, in order to determine whether a sensor or a control device main body is operating normally, an electronic control device is actually mounted on a vehicle to operate an engine, Tests are being carried out by running. In the test, the electronic control unit samples each sensor output value or calculated value as data, accumulates the data in a memory as a data group, and analyzes the accumulated data.
[0004]
[Problems to be solved by the invention]
By the way, as one of the methods of analyzing accumulated data, there is a method of displaying a level change of each data of a data group on a display device in a graph. However, although the number of data stored in the memory depends on the sampling frequency, usually, a large amount of data can be obtained even in a short data measurement period. Therefore, when the number of data is large, it is difficult to show the change in the overall data level during the data measurement period using a display, and accurate data display is desired.
[0005]
Therefore, an object of the present invention is to provide a data analysis device of an electronic control device capable of accurately indicating a change in the overall data level during the data measurement period even when a large number of data is obtained during the data measurement period. It is to be.
[0006]
[Means for Solving the Problems]
The data analysis device of the electronic control device of the present invention is a data analysis device that performs data display based on actual data of detection or control parameters obtained during control in the electronic control device on a display, Said Real data storage means for sequentially obtaining real data of at least one parameter from the electronic control device and storing the data as a data group; The actual data Number of data in one data group obtained from storage means And the Number of dots that can be displayed on the display in one direction Division by Means, Based on the division result of the division means, Thinning out data of one data group Ku thinning means When, A conversion data storage unit that stores conversion data including a conversion formula for converting actual data into a physical value for each of a plurality of parameters in advance; and a conversion data storage unit that stores each data after thinning out the data of the one data group. Conversion means for sequentially converting to physical values according to the conversion formula in the conversion data obtained from the conversion data, and level display of the physical values sequentially obtained from the conversion means on the display in order using the predetermined direction as a time axis. Display control means, It is characterized by including.
[0007]
BEST MODE FOR CARRYING OUT 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 described later. The control circuit 1 is composed of a microcomputer and has a built-in display. As the control circuit 1, for example, a notebook personal computer can be used. However, a schematic configuration of the control circuit 1 is shown in FIG. 2 for ease of explanation. 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 an external bus 16 via a 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 controls display of a display 19 according to an instruction 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 a function key, an enter key, an arrow key, an ESC (escape) key, which will be described later.
[0008]
The interface circuit 2 basically relays 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 port for serial communication conforming to 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 of 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 at a port for serial communication at present. The DP-RAM 25 has two ports for input and output, and is for temporarily storing data supplied from the ECU 3 or a command 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, similarly to the monitor circuit 4, the CPU 31, the ROM 32, the RAM 33, the input / output circuit 34, and the 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). These are connected via a port for analog signals to an external voltage output type sensor such as a voltage output type sensor or a pen recorder (both not shown).
[0010]
The bus connection circuit 6 is for mechanically and electrically connecting each input / output 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.
The ECU 3 connected to the data analyzer 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, as shown in FIG. 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 sensors include an oxygen concentration sensor that generates an output voltage corresponding to the oxygen concentration in the exhaust gas in the exhaust pipe of the internal combustion engine, 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 an internal combustion engine. There are various sensors such as a crank angle sensor that generates a pulse signal according to the number of revolutions of the crankshaft, a cooling water temperature sensor that detects the temperature of cooling water of the internal combustion engine, and the like.
[0011]
The CPU 51 of the ECU 3 operates in accordance with a program stored in the ROM 52 in advance, reads output values of the plurality of sensors via the sensor input interface circuit 55, stores the read values in the RAM 53, and drives an actuator according to the output values of the sensors. A signal is generated and supplied to the drive circuit 56. For example, when driving the injector, the basic fuel injection amount is calculated from the intake pipe absolute pressure 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 with air-fuel ratio information obtained from the output value of the oxygen concentration sensor, engine temperature information obtained from the cooling water temperature sensor, and the like, and the injector is driven according to the fuel injection amount. As described above, in the ECU 3, values such as read values of various sensors, intermediate values such as the basic fuel injection amount, and drive values such as the fuel injection amount are sequentially obtained with the lapse of time. Each value is written and updated as a real data at a predetermined address of the RAM 53. The data analyzer reads each data of the RAM 53 and analyzes the data. Therefore, during 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 turned on to the data analysis device in a state where the ECU 3 is connected to the data analysis device will be described. Naturally, it is assumed that the ECU 3 is mounted on an automobile 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 a monitor image (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 where to assign a 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 types 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 is "TA", the engine intake temperature is "TA", and if the label name is "PBA", it is "intake pipe absolute pressure". The “monitor display value” is a hexadecimal display of the parameter displayed by the label name, and “hex” next to it indicates that the parameter is a hexadecimal number. The “physical value display” is a decimal number display that uses a 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]
The display intermittently arranged at the bottom of the monitor screen of FIG. 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 leftmost side of the screen corresponds to the function key f · 1, and then to the right corresponds to the function key number in the display order.
The CPU 11 determines whether or not the function key f · 9 corresponding to “environment” has been operated in the display state of the monitor image (step S2). When the function key f · 9 is operated, the environment setting mode is set, and the display control circuit 18 causes the selected image of the RAM address file to be displayed on the monitor image of the display 16 as a window (step S3). The RAM address file is a file that is different for each ECU or vehicle in which the ECU is mounted, and as shown in FIG. 8, a label name for each parameter, a description of the label name, an address of the internal RAM 53 of the ECU 3, a data size W / B. And LSB codes. There is a corresponding RAM address file for each ECU 3 connected to the data analysis device. A plurality of pre-registered RAM address file names are continuously displayed on a window on the display screen, and one of the plurality of RAM address file names is indicated by an arrow provided on the keyboard 20 of the control circuit 1. It is highlighted by the cursor operation with the key. After the 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 (step S4). When the RAM address file name of the first RAM address file is determined, the RAM address file name is read (step S5), and the display of the selected image 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, a part consisting of a code number, which is an LSB code, a label name, a physical quantity unit, an equation number, a data length, and physical conversion parameters f0, f1,... Is 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 for calculating a physical value from an actual value of a measurement parameter, and the physical conversion parameters f0, f1,... Are used in the conversion formula. Coefficients.
[0015]
After executing the step S6, the CPU 11 of the control circuit 1 returns to the step S2. If the function key f.9 has not been operated in step S2, it is determined whether the function key f.1 corresponding to "SETTING" has been operated (step S7). When the function key f.1 is operated, a channel setting operation is performed (step S8). That is, in the channel setting, one of a plurality of channel display frames shown on the screen of the display 19 as a monitor image is a thick line frame, which becomes the current cursor position, and which is operated by operating the arrow keys. The cursor position is movable. After positioning the cursor on the desired channel display frame with the arrow keys and operating the enter key, the label names included in the selected RAM address file are continuously displayed in a window, and the desired label names are cursored with the arrow keys. After moving the position, the selection is determined by operating the enter key. By doing so, 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 repeatedly performed for an arbitrary number of channels. By performing the channel setting operation in this manner, 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 has been operated each time the channel setting operation is performed (step S9). If the ESC key has not been operated, step S8 is repeated to further perform a 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 address of the RAM in the ECU 3 into 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 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 an interrupt signal of a start command has been written into the DP-RAM 25 at a predetermined timing (step S51). When the interrupt signal of the start command is written, the CPU 21 starts the 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 an address corresponding to the n-th channel n-ch from the data table of the DP-RAM 25 (step S53), and outputs a data request serial signal to the read address. The data is transmitted 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 the read address in the RAM 53 at the storage position designated by the read address. The data value is read and supplied to the serial communication input / output circuit 54. As described above, the value stored in the storage location specified by the address is a value detected by a sensor or a calculated value such as a fuel injection amount. The serial communication input / output circuit 54 transmits the data value as a serial signal.
[0019]
After executing step S54, the CPU 21 of the monitor circuit 4 determines whether a serial signal has been supplied from the serial communication input / output circuit 54 of the ECU 3 (step S55). When the serial signal is supplied, the value indicated by the serial signal is read and written to the storage location of the DP-RAM 25 corresponding to the channel number n-ch (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 it is larger than (for example, 48) (step S58). n ≦ n max In this case, the flow returns to step S53 to repeat the above operation for the next channel number. n> n max In this case, the flow returns to step S52 to repeat the above operation for the first channel 1-ch.
[0020]
By performing such a serial communication operation, the data value (hexadecimal data) read from the RAM 53 for each channel is written in the DP-RAM 25 in the reading order. The writing position of the DP-RAM 25 is incremented for each channel by a counter (not shown), and when reaching the last writable storage position, the counter is reset and the next writing position returns to the first storage position. It has become.
[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). This interrupt signal is written to a predetermined storage location of the DP-RAM 25, so that it is transmitted to the CPU 11 of the control circuit 1. Therefore, as shown in FIG. 13, the CPU 11 determines whether the function key f · 6 corresponding to “log” has been operated (step S21). When the function key f · 6 is operated, the mode becomes the data storage mode, and the time data at the time when the operation of the function key f · 6 is detected is obtained from the time counter (not shown) held in the control circuit 1 itself. The data is read and written into the header of the received data storage area (step S22). This time data indicates the data recording start time, and includes the year, month, and date and 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 association with the channel. (Step S24), the data counter provided at the head 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 the serial communication. Therefore, one data of all the 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 reception data storage area is, for example, as shown in FIG.
[0022]
When the CPU 11 finishes writing data to the reception data storage area, the CPU 11 determines whether the function key f · 7 corresponding to “stop” has been operated (step S26). If the function key f.7 is not operated, the CPU waits for the next interrupt signal from the CPU 21 of the monitor circuit 4. On the other hand, when the function key f.7 is operated, an interrupt signal indicating a stop command for stopping data communication is issued (step S27). Since the capacity of the reception data storage area of the RAM 12 is limited, an interrupt signal indicating a stop command is also generated when the final storage position is reached.
[0023]
The 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 has been written into the DP-RAM 25 at a predetermined timing (step S61). When the interruption of the stop command 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 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 reception data storage area of the RAM 12 are stored in the hard disk drive 17 as a data file (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 reception 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. 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 in the RAM 12 as shown in FIG. For each channel (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 specified 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, and a physical conversion parameter can be 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 read m-th A physical value is calculated by applying the latest data of the channel (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 association 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 the value is larger (step S38). m ≦ n max In this case, the flow returns to step S32 to repeat the above operation 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 in accordance with the latest data storage area, the result data storage area, and the physical quantity unit of the LSB file. The display control circuit 18 displays the latest data for each channel obtained from the latest data storage area in the monitor display value area shown in FIG. 7 in the display window of the corresponding channel on the monitor video screen displayed on the display 19. 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 display window of the corresponding channel, and the physical quantity unit of the LSB file for each channel is displayed for the corresponding channel. It is displayed in the physical value unit display area shown in FIG. 7 in the display window.
[0027]
Instead of displaying the physical values 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 the function key f · 10 corresponding to “end” has been operated (step S30). When the function key f · 10 has been operated, this routine ends. As described above, since the data of a plurality of channels is obtained from the ECU 3 and stored in the reception data storage area of the RAM 12 or the hard disk drive 17, the operation shifts to the operation of analyzing and displaying these data.
[0028]
Therefore, an operation of 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 a time chart basic image as shown in FIG. 20 (step S81). The basic image of the time chart is predetermined as data in the display control circuit 18, and the data of the basic image of the time chart is not analyzed and displayed, but only a pull-down menu is displayed at the top. Next, a data file having the measurement data to be displayed is determined (step S82). This is performed by reading the selection result because the user selects a file name from a pull-down menu on the screen by key operation. When the data file is determined, the data file specified by the file name is read from the hard disk drive 17 (step S83). The specified data file But c If the data is not yet stored in the hard disk drive 17, it is read from the RAM 12. Then, a label name related to the measurement data to be displayed is determined from the label names included in the read data file (step S84). This is also performed by reading the selection result because the user selects a label name from a pull-down menu on the screen by key operation. Alternatively, the measurement parameters assigned to each channel included in the header portion of the read data file, ie, the label names, are read out, displayed on a window, and key operations are performed from among the displayed plurality of label names. Can also be selected. When the label name is specified, the CPU 11 can know the corresponding channel number from the header of the data file.
[0029]
After executing step S84, the CPU 11 reads the recording start time, the final data counter value, and the 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. Since the number of dots that can be displayed on the side of the display 19 is known in advance, the final data counter value / the number of dots can be obtained. The nearest integer less than or equal to the value is the display data period. For example, if the final data counter value is 10000 and the number of dots is 512, 10000/512 = 19.53, so the display data cycle is 19. In this case, one 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. , And the recording start time is added thereto, 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 determined 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 make it 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 has not exceeded the final data counter value, the flow returns to step S88 to repeat the above operation. If the variable C exceeds the final data counter value, the measured data to be displayed has been read from the data file. The display control circuit 18 displays a time chart image on the screen of the display 19 based on the supplied measurement data and time data, for example, as shown in FIG. That is, each time measurement data and time data are supplied, coordinate points are set 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 of the same parameters. The time data is displayed along the X-axis as scale values at seven points at predetermined regular intervals. The unit in the Y-axis direction corresponds to the unit of any one parameter, and can be arbitrarily switched. In the case of FIG. 21, the engine speed is selected as can be seen from the fact that "NE" is surrounded by a frame in the "Ch" column at the top of the time chart image.
[0031]
In the above-described embodiment, an example in which the electronic fuel injection device is used as the electronic control device has been described, but the present invention is not limited to this. The present invention can be applied to an electronic control device such as an ignition timing control device, an air-fuel ratio control device, and a throttle opening control device for an internal combustion engine, and can also be applied to other electronic control devices.
[0032]
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 clear that parallel communication may be used.
[0033]
【The invention's effect】
The data analysis device of the electronic control device of the present invention According to Even when a large number of data is obtained during the data measurement period, the change in the overall data level during the data measurement period can be accurately displayed.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an embodiment of the present invention.
FIG. 2 is a block diagram illustrating 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 illustrating a configuration of an ECU.
FIG. 5 is a flowchart showing the operation of the CPU of the control circuit.
FIG. 6 is an example of a monitor image display.
FIG. 7 is a diagram partially showing details of the monitor image display of FIG. 6;
FIG. 8 is a diagram showing a structure of a RAM address file.
FIG. 9 is a diagram showing 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 of 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 reception 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 of a latest data storage area.
FIG. 18 is a diagram showing a data table of a result data storage area.
FIG. 19 is a diagram showing 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 display example of a time chart image.
[Description of Signs of Main Parts]
1 control circuit
2 Interface circuit
3 ECU
4 Monitor circuit
5 Analog circuit
6 Bus connection circuit

Claims (4)

電子制御装置において制御中に得られる検出又は制御パラメータの実データに基づいたデータ表示を表示器に行なうデータ解析装置であって、
前記電子制御装置から少なくとも1つのパラメータの実データを順次得てデータ群として記憶する実データ記憶手段と、
前記実データ記憶手段から得られる1つのデータ群のデータ数を、前記表示器の所定の一方向の画面表示可能ドット数で割る除算手段と、
前記除算手段の除算結果に基づいて前記1つのデータ群のデータを間引く間引き手段と、
複数のパラメータ毎に実データを物理値に各々変換する変換式を含む変換データを予め記憶した変換データ記憶手段と、
前記1つのデータ群のデータからの間引き後の各データを前記変換データ記憶手段から得られる前記変換データ中の変換式に応じて物理値に順次変換する変換手段と、
前記変換手段から順次得られる物理値を前記表示器に前記所定の一方向を時間軸として順番にレベル表示する表示制御手段と、を含むことを特徴とする電子制御装置のデータ解析装置。
A data analyzer that performs data display on a display based on actual data of detection or control parameters obtained during control in an electronic control device,
Real data storage means for sequentially obtaining real data of at least one parameter from the electronic control device and storing the data as a data group;
And dividing means for the number of data of one data group obtained from the real data storage unit, dividing the screen displayable number of dots of a predetermined direction of said display,
And thinning rather thinning means the data of said one data group based on the division result of the division means,
Conversion data storage means which stores conversion data including a conversion formula for converting actual data into physical values for each of a plurality of parameters in advance,
Conversion means for sequentially converting each data after thinning out from the data of the one data group into physical values according to a conversion formula in the conversion data obtained from the conversion data storage means;
Display control means for sequentially displaying physical values sequentially obtained from the conversion means on the display with the predetermined one direction as a time axis, and a display control means .
前記間引き手段は、前記1つのデータ群のデータ数を前記画面表示可能ドット数で割って得られる値以下の整数値であるデータ数毎に1データの割合でデータを残し、それ以外のデータは間引くことを特徴とする請求項1記載の電子制御装置のデータ解析装置。The thinning-out means leaves data at a rate of one data for each data number that is an integer value equal to or less than a value obtained by dividing the number of data of the one data group by the number of dots that can be displayed on the screen. 2. The data analysis device for an electronic control device according to claim 1, wherein the data analysis device thins out the data. 前記間引き手段は、前記実データ検出を開始した収録開始時間と、最終データカウンタ値と、サンプリング周期に基づいて前記間引きを行うことを特徴とする請求項1または2記載の電子制御装置のデータ解析装置。 3. The data analysis of the electronic control device according to claim 1, wherein the thinning unit performs the thinning based on a recording start time at which the actual data detection is started, a final data counter value, and a sampling cycle. apparatus. 前記実データ記憶手段は、半導体メモリ又はハードディスクドライブであることを特徴とする請求項1、2または3記載の電子制御装置のデータ解析装置。4. The data analysis device according to claim 1 , wherein the actual data storage means is a semiconductor memory or a hard disk drive.
JP11802296A 1996-05-13 1996-05-13 Data analysis device for electronic control unit Expired - Fee Related JP3576699B2 (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
JPH09304113A JPH09304113A (en) 1997-11-28
JP3576699B2 true JP3576699B2 (en) 2004-10-13

Family

ID=14726138

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP3576699B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006349348A (en) * 2005-06-13 2006-12-28 Hioki Ee Corp Data recording device
JP6162534B2 (en) * 2012-10-30 2017-07-12 セイコーインスツル株式会社 Watch, data extraction method and program

Also Published As

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

Similar Documents

Publication Publication Date Title
US7684908B1 (en) Vehicle identification key for use between multiple computer applications
CN102013246A (en) Establishing method for gamma comparison table of display apparatus
US20230311653A1 (en) Method and system for indicating vehicle operating conditions on a graphical user interface with graph-axis control
JP3576699B2 (en) Data analysis device for electronic control unit
US6175786B1 (en) Vehicle diagnosing apparatus
JPH09304115A (en) Data analysis device for electronic control unit
JP3645653B2 (en) Data analysis device for vehicle electronic control unit
JPH05288115A (en) False signal generation apparatus
US20070083307A1 (en) Method and apparatus for monitoring an oxygen sensor
JP4766926B2 (en) Electronic control device and data storage method for electronic control device
JPH11141390A (en) Data analysis device for vehicle electronic control unit
JP3631556B2 (en) Data update device for electronic control unit
JPH1185446A (en) Method for displaying trend graph
JPH11247709A (en) Data analysis device for vehicle electronic control unit
JP2002041130A (en) Automatic inspecting device
JP4483285B2 (en) Waveform measuring device
JP3638255B2 (en) Communication simulation apparatus and method
JP2877075B2 (en) Instrument control device and method
KR100391898B1 (en) General purpose encoder signal analysis system
JPH1185258A (en) Process data gathering method
JP3436597B2 (en) Waveform display method of waveform observation device
JP3499518B2 (en) Material testing machine
JP2742490B2 (en) Data analysis plan creation device in part quality inspection plan creation system
JPH06111030A (en) Measured data recording device
JPH07127013A (en) Operating state control method for asphalt plant

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: 20040705

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040708

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: 20080716

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20080716

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090716

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090716

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100716

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110716

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110716

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120716

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120716

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130716

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees