JP2009192505A - Inspection apparatus of electronic control unit - Google Patents

Inspection apparatus of electronic control unit Download PDF

Info

Publication number
JP2009192505A
JP2009192505A JP2008036425A JP2008036425A JP2009192505A JP 2009192505 A JP2009192505 A JP 2009192505A JP 2008036425 A JP2008036425 A JP 2008036425A JP 2008036425 A JP2008036425 A JP 2008036425A JP 2009192505 A JP2009192505 A JP 2009192505A
Authority
JP
Japan
Prior art keywords
pseudo
data acquisition
hils
ecu
program
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.)
Pending
Application number
JP2008036425A
Other languages
Japanese (ja)
Inventor
Naoyuki Mori
直之 森
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2008036425A priority Critical patent/JP2009192505A/en
Publication of JP2009192505A publication Critical patent/JP2009192505A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To sufficiently shorten the sampling interval of control data regardless of the arithmetic time of a program for performing simulation. <P>SOLUTION: A simulation system comprises a false operation HILS (Hardware In the Loop Simulation) 16 for falsely achieving the operation of an internal combustion engine for an ECU (Electronic Control Unit) 10, and a data acquisition HILS 22 for acquiring control data from the ECU 10 under operation. The false operation HILS 16 executes a predetermined false operation program for the ECU 10 at a period A. The data acquisition HILS 22 executes data acquisition program at a period B shorter than the period A of the false operation program. Thus, the data acquisition HILS 22 can execute the data acquisition program at the short period B without being affected by the arithmetic amount and arithmetic time of the false operation program, and can acquire precise data by increasing the sampling period of the control data. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、電子制御ユニット(ECU)の検査、開発等を行うのに好適に用いられる電子制御ユニットの検査装置に関する。   The present invention relates to an electronic control unit inspection apparatus that is preferably used for performing inspection, development, and the like of an electronic control unit (ECU).

従来、例えば特許文献1(特開2004−361292号公報)に開示されているように、内燃機関等を制御するECU(Electronic Control Unit)の検査、開発等を行うときに用いられる検査装置が知られている。この種の従来技術による検査装置は、HILS(Hardware In the Loop Simulation)と呼ばれるシミュレータを用いて構成され、ECUと接続した状態で使用される。   2. Description of the Related Art Conventionally, as disclosed in, for example, Patent Document 1 (Japanese Patent Application Laid-Open No. 2004-361292), an inspection apparatus used when performing inspection, development, etc. of an ECU (Electronic Control Unit) that controls an internal combustion engine or the like is known. It has been. This type of conventional inspection apparatus is configured using a simulator called HILS (Hardware In the Loop Simulation) and used in a state of being connected to an ECU.

このシミュレータには、内燃機関の動作を擬似的に実現するための擬似動作プログラムと、ECUから制御データを取得するためのデータ取得プログラムとが予め記憶されている。擬似動作プログラムは、ECUから入力されるアクチュエータ駆動信号に応じて所定の演算処理を行うことにより、実際の内燃機関(実機)のセンサ系統から出力される信号と同等の擬似センサ信号をECUに出力する。これにより、ECUは、シミュレータに対して実機を制御する場合と同様の制御を行う。   In this simulator, a pseudo operation program for realizing the operation of the internal combustion engine in a pseudo manner and a data acquisition program for acquiring control data from the ECU are stored in advance. The pseudo operation program outputs a pseudo sensor signal equivalent to the signal output from the sensor system of the actual internal combustion engine (actual machine) to the ECU by performing predetermined arithmetic processing according to the actuator drive signal input from the ECU. To do. Thereby, ECU performs the same control as the case where an actual machine is controlled with respect to a simulator.

また、シミュレータに記憶されたデータ取得プログラムは、ECUにより内燃機関の制御が行われているときに、指定された制御データ(各種制御パラメータの値など)を所望のタイミングでECUから取得し、これを記憶媒体に記憶する。従って、ECUの検査、開発時には、記憶媒体に記憶された制御データを解析することにより、ECUの挙動や制御内容を確認することができる。   The data acquisition program stored in the simulator acquires specified control data (such as various control parameter values) from the ECU at a desired timing when the internal combustion engine is being controlled by the ECU. Is stored in a storage medium. Therefore, at the time of inspection and development of the ECU, it is possible to confirm the behavior and control contents of the ECU by analyzing the control data stored in the storage medium.

また、シミュレータの作動時には、上記の擬似動作プログラムとデータ取得プログラムとを含むプログラム全体が一連の演算処理により逐次的に実行される。この演算処理は、ループ処理等によりシミュレータが停止するまで周期的に繰返される。この場合、プログラム全体の実行周期は、シミュレータに内蔵されたCPUの演算速度や、個々のプログラムにおける演算時間等が反映されたものとなる。   Further, when the simulator is operated, the entire program including the pseudo operation program and the data acquisition program is sequentially executed by a series of arithmetic processing. This arithmetic processing is repeated periodically until the simulator is stopped by loop processing or the like. In this case, the execution cycle of the entire program reflects the calculation speed of the CPU built in the simulator, the calculation time in each program, and the like.

特開2004−361292号公報JP 2004-361292 A

ところで、上述した従来技術のシミュレータにおいて、擬似動作プログラムは、ECUに対して内燃機関の挙動を出来るだけ正確に実現するのが好ましい。このため、擬似動作プログラムの内容は、内燃機関の制御に対応して複雑化する傾向があり、これに伴って擬似動作プログラムの演算時間も長くなることが多い。   By the way, in the above-described conventional simulator, it is preferable that the pseudo operation program realizes the behavior of the internal combustion engine as accurately as possible to the ECU. For this reason, the content of the pseudo operation program tends to be complicated in accordance with the control of the internal combustion engine, and accordingly, the operation time of the pseudo operation program often becomes long.

一方、シミュレータの使用時には、データ取得プログラムによる制御データのサンプリング間隔を出来るだけ短くすることにより、精密なデータを取得したいという要求がある。しかしながら、擬似動作プログラムの演算時間が長くなると、プログラム全体の実行周期も延びることになり、データ取得プログラムの実行周期を短くするのが難しくなる。   On the other hand, when using the simulator, there is a demand for acquiring precise data by shortening the sampling interval of control data by the data acquisition program as much as possible. However, if the operation time of the pseudo operation program becomes long, the execution cycle of the entire program also extends, and it becomes difficult to shorten the execution cycle of the data acquisition program.

このため、従来技術では、擬似動作プログラムの演算処理が負荷となることにより、制御データのサンプリング間隔を十分に短くすることができず、例えばECUの高速な制御動作を確認する場合などに、精密なデータを取得するのが難しいという問題がある。   For this reason, in the prior art, the calculation processing of the pseudo operation program becomes a load, so that the sampling interval of the control data cannot be shortened sufficiently. For example, when checking the high-speed control operation of the ECU, There is a problem that it is difficult to acquire correct data.

本発明は、上述のような課題を解決するためになされたもので、シミュレーションを行うプログラムの演算時間に関係なく、制御データのサンプリング間隔を十分に短くすることができ、高速な制御等であっても、精密なデータを取得することが可能な電子制御ユニットの検査装置を提供することを目的としている。   The present invention has been made in order to solve the above-described problems. The control data sampling interval can be sufficiently shortened regardless of the calculation time of a program for performing simulation, and high-speed control or the like can be achieved. However, an object of the present invention is to provide an inspection device for an electronic control unit capable of acquiring precise data.

第1の発明は、制御対象機器の動作を擬似的に実現する擬似動作プログラムを有し、前記制御対象機器を制御するための電子制御ユニットと接続されたときに、当該電子制御ユニットに対して前記擬似動作プログラムを第1の周期で実行する擬似動作回路と、
前記擬似動作回路に対して制御を実行中の前記電子制御ユニットから制御データを取得するデータ取得プログラムを有し、前記第1の周期よりも短い第2の周期で前記データ取得プログラムを実行するデータ取得回路と、
を備えることを特徴とする。
The first invention has a pseudo operation program for simulating the operation of the control target device, and when connected to the electronic control unit for controlling the control target device, the electronic control unit A pseudo-operation circuit for executing the pseudo-operation program in a first cycle;
Data having a data acquisition program for acquiring control data from the electronic control unit that is executing control on the pseudo operation circuit, and executing the data acquisition program in a second cycle shorter than the first cycle An acquisition circuit;
It is characterized by providing.

第2の発明によると、前記擬似動作回路と前記データ取得回路とは、単体で擬似動作とデータ取得とを行うことが可能な2台のシミュレータであり、前記2台のシミュレータのうち一方のシミュレータは前記擬似動作回路として使用し、他方のシミュレータは前記データ取得回路として使用する構成としている。   According to the second invention, the pseudo operation circuit and the data acquisition circuit are two simulators capable of performing a pseudo operation and data acquisition by itself, and one of the two simulators Is used as the pseudo-operation circuit, and the other simulator is used as the data acquisition circuit.

第3の発明は、前記擬似動作回路と前記データ取得回路とを同期させるための同期信号を、当該2つの回路間で通信させる同期信号通信手段を備える構成としている。   According to a third aspect of the invention, there is provided a synchronization signal communication means for causing a synchronization signal for synchronizing the pseudo operation circuit and the data acquisition circuit to communicate between the two circuits.

第4の発明によると、前記同期信号は、内燃機関のセンサ系統から出力されるセンサ信号に対応して前記擬似動作回路により生成される擬似センサ信号である構成としている。   According to a fourth aspect of the invention, the synchronization signal is a pseudo sensor signal generated by the pseudo operation circuit in response to a sensor signal output from a sensor system of an internal combustion engine.

第5の発明によると、前記制御対象機器は内燃機関であり、前記同期信号は、内燃機関のクランク軸またはカム軸の回転角に対応する信号として前記擬似動作回路により生成される擬似角度信号である構成としている。   According to a fifth aspect, the device to be controlled is an internal combustion engine, and the synchronization signal is a pseudo angle signal generated by the pseudo operation circuit as a signal corresponding to a rotation angle of a crankshaft or a camshaft of the internal combustion engine. It has a certain configuration.

第1の発明によれば、擬似動作回路とデータ取得回路とを別個の回路として構成することができ、擬似動作回路は、擬似動作回路よりも短い周期でデータ取得プログラムを実行することができる。これにより、例えば擬似動作プログラムの演算量が多い場合でも、その演算量や演算時間に影響されることなく、データ取得プログラムの実行周期を十分に短くすることができる。   According to the first aspect, the pseudo operation circuit and the data acquisition circuit can be configured as separate circuits, and the pseudo operation circuit can execute the data acquisition program at a cycle shorter than that of the pseudo operation circuit. Thereby, for example, even when the calculation amount of the pseudo operation program is large, the execution period of the data acquisition program can be sufficiently shortened without being affected by the calculation amount and calculation time.

従って、データ取得回路においては、擬似動作プログラムの影響で制御データのサンプリング周期が制約されるのを回避することができ、このサンプリング周期を必要に応じて高くすることができる。これにより、例えば電子制御ユニットにより高速な制御が行われる場合でも、データ解析が容易となる精密なデータを取得することができる。   Therefore, in the data acquisition circuit, it is possible to avoid the control data sampling period being restricted by the influence of the pseudo operation program, and this sampling period can be increased as necessary. Thereby, for example, even when high-speed control is performed by the electronic control unit, it is possible to acquire precise data that facilitates data analysis.

第2の発明によれば、ほぼ同様の機能もつ2台のシミュレータを用意することにより、このうち一方のシミュレータの擬似動作機能を用いて擬似動作回路を構成することができる。また、他方のシミュレータのデータ取得機能を用いてデータ取得回路を構成することができる。これにより、例えば専用の擬似動作回路、データ取得回路等を用意しなくても、既存のシミュレータを利用してシミュレーション・システムを容易に実現することができる。   According to the second invention, by preparing two simulators having substantially the same function, a pseudo operation circuit can be configured by using the pseudo operation function of one of these simulators. In addition, the data acquisition circuit can be configured using the data acquisition function of the other simulator. Thereby, for example, a simulation system can be easily realized using an existing simulator without preparing a dedicated pseudo operation circuit, a data acquisition circuit, and the like.

第3の発明によれば、擬似動作回路とデータ取得回路との間には、同期信号通信手段を設けることができる。これにより、擬似動作回路とデータ取得回路とを別個の回路として構成した状態でも、これらの回路間で同期信号の通信を行うことができる。この同期信号によれば、データ取得回路は、擬似動作回路により特定の動作が実行されたり、特定の信号が出力されるタイミングで制御データを取得することができる。従って、擬似動作回路とデータ取得回路の動作を正確に同期させることができる。   According to the third invention, the synchronization signal communication means can be provided between the pseudo operation circuit and the data acquisition circuit. As a result, even when the pseudo operation circuit and the data acquisition circuit are configured as separate circuits, the synchronization signal can be communicated between these circuits. According to this synchronization signal, the data acquisition circuit can acquire control data at a timing when a specific operation is executed by the pseudo operation circuit or a specific signal is output. Therefore, the operations of the pseudo operation circuit and the data acquisition circuit can be accurately synchronized.

第4の発明によれば、同期信号としては、擬似動作回路により生成されて電子制御ユニットに出力される擬似センサ信号を使用することができる。これにより、専用の同期信号をわざわざ生成する必要がないので、同期信号の生成処理等を簡略化することができ、プログラムの負荷を軽減することができる。   According to the fourth invention, as the synchronization signal, a pseudo sensor signal generated by the pseudo operation circuit and output to the electronic control unit can be used. Thereby, since it is not necessary to generate a dedicated synchronization signal, the synchronization signal generation processing and the like can be simplified, and the load on the program can be reduced.

第5の発明によれば、同期信号としては、内燃機関のクランク軸またはカム軸の回転角に対応する信号として擬似動作回路により生成される擬似角度信号を使用することができる。これにより、例えば一定のクランク角毎に制御データを取得する場合や、特定のクランク角を起点として制御データの取得を開始する場合等において、クランク角の挙動と制御データの取得タイミングとを正確かつ容易に同期させることができる。また、同期信号として、カム角についても、これと同様の作用効果を得ることができる。   According to the fifth aspect, as the synchronization signal, a pseudo angle signal generated by the pseudo operation circuit as a signal corresponding to the rotation angle of the crankshaft or the camshaft of the internal combustion engine can be used. Thus, for example, when acquiring control data for every fixed crank angle, or when starting acquisition of control data starting from a specific crank angle, the behavior of the crank angle and the acquisition timing of the control data are accurately determined. Can be easily synchronized. Further, the same effect can be obtained for the cam angle as the synchronization signal.

実施の形態1.
[実施の形態1の構成]
以下、図1乃至図3を参照して、本発明の実施の形態1について説明する。まず、図1は、実施の形態1のシステム構成を説明するための構成図を示している。本実施の形態のシステムは、電子制御ユニット(ECU)10の検査、開発等に用いられるシミュレーション・システムである。
Embodiment 1 FIG.
[Configuration of Embodiment 1]
The first embodiment of the present invention will be described below with reference to FIGS. First, FIG. 1 shows a configuration diagram for explaining a system configuration of the first embodiment. The system of the present embodiment is a simulation system used for inspection, development, etc. of an electronic control unit (ECU) 10.

ECU10は、マイクロコンピュータ等により構成され、制御対象機器である内燃機関(図示せず)の作動状態を制御するものである。このため、ECU10は、内燃機関側に設けられた各種のセンサやアクチュエータに対して信号の入出力を行うためのコネクタ12を備えている。また、ECU10は、後述するデータ取得HILS22との間でデータ通信を行うための通信インターフェイス(通信I/F)14を備えている。   The ECU 10 is constituted by a microcomputer or the like, and controls an operating state of an internal combustion engine (not shown) that is a device to be controlled. For this reason, the ECU 10 includes a connector 12 for inputting and outputting signals to and from various sensors and actuators provided on the internal combustion engine side. The ECU 10 also includes a communication interface (communication I / F) 14 for performing data communication with a data acquisition HILS 22 described later.

次に、ECU10により実機に対して行われる制御の一部を説明する。まず、ECU10は、内燃機関側のエアフロメータから入力されるセンサ信号を用いて吸入空気量を検出する。また、クランク角センサから入力されるセンサ信号(角度信号)を用いて機関回転数を検出し、前記吸入空気量と機関回転数等に応じて燃料の噴射量を算出する。   Next, part of the control performed on the actual machine by the ECU 10 will be described. First, the ECU 10 detects the intake air amount using a sensor signal input from an air flow meter on the internal combustion engine side. Further, the engine speed is detected using a sensor signal (angle signal) input from the crank angle sensor, and the fuel injection amount is calculated according to the intake air amount, the engine speed, and the like.

また、ECU10は、前記角度信号により求めたクランク軸の回転角が目標角度となったときに、燃料噴射弁や点火プラグに対して駆動信号を出力し、燃料噴射を実行したり、点火制御を実行する。さらに、ECU10は、内燃機関側の可変バルブタイミング機構に対して、運転状態に応じた駆動信号を出力することにより、吸気弁や排気弁のバルブタイミングを適切に変化させる。このとき、ECU10は、カム角センサから入力されるセンサ信号(角度信号)を用いてカム軸の回転角を検出し、その検出結果に応じて可変バルブタイミング機構の作動状態をフィードバック制御する。   Further, the ECU 10 outputs a drive signal to the fuel injection valve and the spark plug when the crankshaft rotation angle obtained from the angle signal reaches the target angle, and executes fuel injection or performs ignition control. Execute. Further, the ECU 10 appropriately changes the valve timing of the intake valve and the exhaust valve by outputting a drive signal corresponding to the operating state to the variable valve timing mechanism on the internal combustion engine side. At this time, the ECU 10 detects the rotation angle of the camshaft using a sensor signal (angle signal) input from the cam angle sensor, and feedback-controls the operating state of the variable valve timing mechanism according to the detection result.

次に、本実施の形態のシミュレーション・システムについて説明する。本実施の形態のシステムは、擬似動作回路としての擬似動作HILS16と、データ取得回路としてのデータ取得HILS22とを備えており、これら2つのHILS16,22は別個の回路として構成されている。   Next, the simulation system of this embodiment will be described. The system according to the present embodiment includes a pseudo operation HILS 16 as a pseudo operation circuit and a data acquisition HILS 22 as a data acquisition circuit, and these two HILS 16 and 22 are configured as separate circuits.

擬似動作HILS16は、ECU10との間で閉ループ制御を実施することにより、ECU10に対して内燃機関の動作を擬似的に実現するものである。ここで、擬似動作HILS16は、マイクロコンピュータ等からなり、演算処理を行うCPUと、ROM、RAM等からなる記憶回路と、信号の入出力を行う通信インターフェイス(以下、通信I/Fと称す)とを備えている。   The pseudo operation HILS 16 realizes pseudo operation of the internal combustion engine with respect to the ECU 10 by performing closed loop control with the ECU 10. Here, the pseudo operation HILS 16 includes a microcomputer and the like, a CPU that performs arithmetic processing, a storage circuit that includes a ROM, a RAM, and the like, and a communication interface that inputs and outputs signals (hereinafter referred to as a communication I / F). It has.

擬似動作HILS16の通信I/Fは、制御通信ケーブル18によってECU10のコネクタ12に接続されている。制御通信ケーブル18は、擬似動作HILS16からECU10に向けて各種の擬似センサ信号を出力したり、ECU10から擬似動作HILS16に向けて各種のアクチュエータ駆動信号を出力することができる。   The communication I / F of the pseudo operation HILS 16 is connected to the connector 12 of the ECU 10 by the control communication cable 18. The control communication cable 18 can output various pseudo sensor signals from the pseudo operation HILS 16 to the ECU 10 and can output various actuator drive signals from the ECU 10 to the pseudo operation HILS 16.

また、擬似動作HILS16には、実際の内燃機関(実機)の動作や、実機が搭載された車両の動作を擬似的に実現するための擬似動作プログラムが予め記憶されている。この擬似動作プログラムは、ECU10から各種の駆動信号が入力されたときに、これらの駆動信号に応じて所定の演算処理を実行し、この演算処理により擬似的に生成した各種の擬似センサ信号をECU10に出力する。   Further, the pseudo operation HILS 16 stores in advance a pseudo operation program for realizing the operation of the actual internal combustion engine (actual machine) and the operation of the vehicle equipped with the actual machine in a pseudo manner. When various driving signals are input from the ECU 10, the pseudo operation program executes predetermined arithmetic processing in accordance with these driving signals, and generates various pseudo sensor signals pseudo-generated by the arithmetic processing by the ECU 10. Output to.

ここで、擬似センサ信号とは、例えば実機においてエアフロメータ、冷却水温度センサ、排気ガスセンサ、アクセル開度センサ、車速センサ等を含めたセンサ系統から出力されるセンサ信号に相当するものである。これらの擬似センサ信号は、ECU10に対して実機のセンサ信号と同様の挙動を示すように生成される。   Here, the pseudo sensor signal corresponds to a sensor signal output from a sensor system including an air flow meter, a cooling water temperature sensor, an exhaust gas sensor, an accelerator opening sensor, a vehicle speed sensor, and the like in an actual machine. These pseudo sensor signals are generated so that the ECU 10 exhibits the same behavior as that of the actual sensor signals.

また、上述したセンサ系統には、一定のクランク角(クランク軸の回転角)毎にセンサ信号を出力するクランク角センサと、一定のカム角(カム軸の回転角)毎にセンサ信号を出力するカム角センサも含まれている。擬似動作HILS16は、これら2つのセンサ信号と同様の挙動を示す擬似角度信号(擬似センサ信号)をそれぞれ生成する。   The sensor system described above outputs a sensor signal for each constant crank angle (crankshaft rotation angle) and a sensor signal for each constant cam angle (camshaft rotation angle). A cam angle sensor is also included. The pseudo operation HILS 16 generates pseudo angle signals (pseudo sensor signals) that exhibit the same behavior as these two sensor signals.

これにより、ECU10は、擬似動作HILS16に対して、実機を制御する場合と同様の制御を行うことができる。また、擬似動作HILS16には、パーソナル・コンピュータ(PC)等の制御機器が接続されている。この制御機器により、例えば運転者によるアクセル操作のパターンや、温度等の運転環境を可変に設定することができ、その設定内容に応じて擬似動作HILS16の動作パターンを変更することができる。   Thereby, ECU10 can perform control similar to the case where a real machine is controlled with respect to pseudo operation HILS16. The pseudo operation HILS 16 is connected to a control device such as a personal computer (PC). With this control device, for example, a driver's accelerator operation pattern and a driving environment such as temperature can be variably set, and the operation pattern of the pseudo operation HILS 16 can be changed according to the setting contents.

さらに、本実施の形態では、例えば特開2004−361292号公報にHILSシステムとして開示されているようなシミュレータを用いて、擬似動作HILS16を構成している。このシミュレータは、単体で擬似動作とデータ取得とを行うことが可能なものである。即ち、このシミュレータのハードウェア構成は、内燃機関と同様の擬似動作を実現しつつ、ECU10の制御データを取得することが可能となっている。   Further, in the present embodiment, the pseudo operation HILS 16 is configured by using a simulator as disclosed in, for example, Japanese Patent Application Laid-Open No. 2004-361292 as a HILS system. This simulator is capable of performing simulated operations and data acquisition by itself. That is, the hardware configuration of the simulator can acquire control data of the ECU 10 while realizing a pseudo operation similar to that of the internal combustion engine.

そして、擬似動作HILS16は、前記シミュレータの擬似動作機能を利用することで実現されている。この擬似動作機能により、HILS16は、ECU10からみて実機と同様に信号の入出力が行われるように、前述の擬似動作プログラムを予め設定された周期A(ms)で繰返し実行する。ここで、周期Aは、擬似動作プログラムを実行するのに必要な演算時間等に応じて定められるものである。   The simulated operation HILS 16 is realized by using the simulated operation function of the simulator. With this pseudo operation function, the HILS 16 repeatedly executes the above-described pseudo operation program at a preset period A (ms) so that signals are input and output in the same manner as the actual machine as seen from the ECU 10. Here, the period A is determined according to the calculation time required for executing the pseudo operation program.

一方、擬似動作HILS16とデータ取得HILS22との間には、同期信号通信手段としての同期通信ケーブル20が接続されている。この同期通信ケーブル20は、擬似動作HILS16からデータ取得HILS22に向けて、両者の動作タイミングを同期させるための同期信号を出力する。   On the other hand, a synchronous communication cable 20 as a synchronous signal communication means is connected between the pseudo operation HILS 16 and the data acquisition HILS 22. The synchronous communication cable 20 outputs a synchronization signal for synchronizing the operation timings from the pseudo operation HILS 16 to the data acquisition HILS 22.

ここで、同期信号としては、任意の信号を用いることが可能であるが、擬似動作HILS16により生成される擬似センサ信号を用いるのが好ましい。本実施の形態では、擬似センサ信号の一つである擬似クランク角信号(擬似角度信号)を、同期信号として用いる構成としている。この擬似クランク角信号は、前述したように、内燃機関のクランク角に対応する信号として、擬似動作HILS16からECU10に一定のクランク角毎に出力される。   Here, any signal can be used as the synchronization signal, but a pseudo sensor signal generated by the pseudo operation HILS 16 is preferably used. In the present embodiment, a pseudo crank angle signal (pseudo angle signal) which is one of the pseudo sensor signals is used as a synchronization signal. As described above, the pseudo crank angle signal is output as a signal corresponding to the crank angle of the internal combustion engine from the pseudo operation HILS 16 to the ECU 10 at every fixed crank angle.

つまり、擬似クランク角信号は、ECU10に擬似センサ信号として出力され、データ取得HILS22には同期信号として出力される。これにより、データ取得HILS22は、以下に述べるように、擬似動作HILS16と同期した状態でECU10の制御データを取得することができる。なお、本実施の形態では、擬似クランク信号を同期信号としたが、本発明はこれに限らず、例えばカム角センサのセンサ信号に対応する擬似角度信号(カム角信号)を同期信号としてもよい。   That is, the pseudo crank angle signal is output to the ECU 10 as a pseudo sensor signal, and is output to the data acquisition HILS 22 as a synchronization signal. Thereby, the data acquisition HILS 22 can acquire the control data of the ECU 10 in a state synchronized with the pseudo operation HILS 16, as described below. In the present embodiment, the pseudo crank signal is used as the synchronization signal. However, the present invention is not limited to this. For example, a pseudo angle signal (cam angle signal) corresponding to the sensor signal of the cam angle sensor may be used as the synchronization signal. .

次に、データ取得HILS22について説明する。データ取得HILS22は、制御の実行中にあるECU10のメモリから、指令された制御データを所望のタイミングで取得するものである。このため、データ取得HILS22は、ECU10の通信I/F14とデータ通信を行うための通信I/F24を備えている。また、データ取得HILS22には、取得すべき制御データの種類等を指令するためにPC等の制御機器(図示せず)が接続されている。   Next, the data acquisition HILS 22 will be described. The data acquisition HILS 22 acquires commanded control data at a desired timing from the memory of the ECU 10 during execution of control. For this reason, the data acquisition HILS 22 includes a communication I / F 24 for performing data communication with the communication I / F 14 of the ECU 10. The data acquisition HILS 22 is connected to a control device (not shown) such as a PC in order to instruct the type of control data to be acquired.

データ取得HILS22により取得されたECU10の制御データは、例えばメモリやディスク等からなる記憶媒体26に記憶される。従って、ECU10の検査、開発時には、記憶媒体26に記憶された制御データを解析することにより、ECU10の挙動や制御内容を確認することができる。   The control data of the ECU 10 acquired by the data acquisition HILS 22 is stored in a storage medium 26 including, for example, a memory or a disk. Therefore, when the ECU 10 is inspected and developed, the behavior and control contents of the ECU 10 can be confirmed by analyzing the control data stored in the storage medium 26.

また、データ取得HILS22は、擬似動作HILS16とほぼ同様のシミュレータを用いて構成されている。即ち、データ取得HILS22は、前述したシミュレータのデータ取得機能を利用することで実現され、予め記憶されたデータ取得プログラムを所定の周期B(ms)で繰返し実行するように構成されている。   The data acquisition HILS 22 is configured using a simulator that is substantially the same as the pseudo operation HILS 16. That is, the data acquisition HILS 22 is realized by using the data acquisition function of the simulator described above, and is configured to repeatedly execute a data acquisition program stored in advance at a predetermined cycle B (ms).

ここで、データ取得プログラムが実行される第2の周期Bは、擬似動作プログラムが実行される第1の周期Aよりも短く設定されている(A>B)。さらに言えば、周期Bは、例えば周期Aの数分の1、あるいはそれ以下の短い周期に設定するのが好ましい。これにより、データ取得HILS22の作動時には、擬似動作プログラムの実行に必要な演算時間に関係なく、データ取得プログラムを高速で反復させることが可能となる。従って、制御データのサンプリング間隔を短くすることができる。   Here, the second cycle B in which the data acquisition program is executed is set shorter than the first cycle A in which the pseudo operation program is executed (A> B). Furthermore, the period B is preferably set to a short period of, for example, a fraction of the period A or less. As a result, when the data acquisition HILS 22 is in operation, the data acquisition program can be repeated at a high speed regardless of the calculation time required to execute the pseudo operation program. Therefore, the sampling interval of control data can be shortened.

また、データ取得プログラムの一例を説明すると、まず、データ取得HILS22は、通信I/F14,24を介してECU10にデータ書出し用の指令信号を出力する。この指令信号が出力されると、ECU10に設けられた通信用メモリには、指令信号により指定された制御データが常に最新値に更新された状態で書出されるようになる。   An example of the data acquisition program will be described. First, the data acquisition HILS 22 outputs a command signal for data writing to the ECU 10 via the communication I / Fs 14 and 24. When this command signal is output, the control data designated by the command signal is always written to the communication memory provided in the ECU 10 in a state updated to the latest value.

この場合、制御データとは、内燃機関の制御に用いられる制御パラメータなどである。制御データの具体例としては、ECU10により入出力されるセンサ信号や駆動信号の信号値、または吸入空気量、機関回転数、燃料の噴射量や噴射時期、点火時期の演算値などが挙げられる。   In this case, the control data is a control parameter used for controlling the internal combustion engine. Specific examples of the control data include signal values of sensor signals and drive signals input / output by the ECU 10, or intake air amount, engine speed, fuel injection amount and injection timing, and calculated values of ignition timing.

そして、データ取得HILS22は、これらの制御データを、ECU10の通信用メモリから通信I/F14,24を通じて取得する。このデータ取得動作は、擬似動作HILS16から入力される同期信号を基準として、擬似動作HILS16と同期したタイミングで実行される。   The data acquisition HILS 22 acquires these control data from the communication memory of the ECU 10 through the communication I / Fs 14 and 24. This data acquisition operation is executed at a timing synchronized with the pseudo operation HILS 16 on the basis of the synchronization signal input from the pseudo operation HILS 16.

データ取得動作の具体例を挙げれば、同期信号に基づいて一定のクランク角毎に制御データを取得したり、特定のクランク角における制御データを取得する。あるいは、同期信号が入力された時点を起点として、この時点から一定の時間毎に制御データを取得する、などである。そして、取得された制御データは、個々のデータを取得したときのクランク角、時間等に関する情報と共に、記憶媒体26に記憶される。   As a specific example of the data acquisition operation, control data is acquired for each fixed crank angle based on the synchronization signal, or control data at a specific crank angle is acquired. Alternatively, starting from the time when the synchronization signal is input, the control data is acquired at regular intervals from this time. The acquired control data is stored in the storage medium 26 together with information on the crank angle, time, etc. when each data is acquired.

ここで、擬似動作HILS16とデータ取得HILS22との間の通信手段としては、例えばRS232C、CAN、LIN、FlexRay、I2C等の規格化された通信手段が用いられる。そして、例えばFlexRayにより通信を行う場合には、FlexRayの時間分割による通信割り当て時間と、同期信号とを用いて、各HILS16,22間で実時間の同期をとる。また、CANにより通信を行う場合には、CANによる通信データの到着周期の平均時間と、同期信号とを用いて実時間の同期をとる。さらに、RS232CやLINにより通信を行う場合には、これらの通信手段による送信データと、同期信号との間の電圧値の一致により、実時間の同期をとることができる。   Here, as communication means between the pseudo operation HILS 16 and the data acquisition HILS 22, standardized communication means such as RS232C, CAN, LIN, FlexRay, and I2C are used. For example, when communication is performed using FlexRay, real-time synchronization is established between the HILS 16 and 22 by using a communication allocation time by FlexRay time division and a synchronization signal. When communication is performed by CAN, real time synchronization is achieved using the average time of the arrival period of communication data by CAN and a synchronization signal. Further, when communication is performed by RS232C or LIN, real-time synchronization can be achieved by matching the voltage values between the transmission data by these communication means and the synchronization signal.

[実施の形態1を実現するための具体的な処理]
図2及び図3は、本実施の形態のシステム動作を実現するために、各HILS16,22により実行されるルーチンのフローチャートである。これらの図に示すルーチンは、個々のHILSにより互いに並列に実行されるものである。
[Specific Processing for Realizing Embodiment 1]
2 and 3 are flowcharts of routines executed by the HILS 16 and 22 in order to realize the system operation of the present embodiment. The routines shown in these figures are executed in parallel with each other by individual HILS.

まず最初に、図2を参照しつつ、擬似動作HILS16により実行される擬似動作ルーチンの一例について説明する。   First, an example of a pseudo operation routine executed by the pseudo operation HILS 16 will be described with reference to FIG.

擬似動作ルーチンでは、まず、PC等の制御機器により設定された運転パターンを読込む。擬似動作HILS16は、この運転パターンに応じて擬似動作を行う(ステップ100)。次に、擬似動作HILS16は、ECU10から入力される各種の駆動信号を読込む(ステップ102)。   In the simulated operation routine, first, an operation pattern set by a control device such as a PC is read. The pseudo operation HILS 16 performs a pseudo operation according to the operation pattern (step 100). Next, the pseudo operation HILS 16 reads various drive signals input from the ECU 10 (step 102).

そして、擬似動作HILS16に予め記憶されたエンジンモデル及び車両モデルと、ECU10から読込んだ駆動信号とに基づいて、所定の演算処理を行うことにより、内燃機関の作動状態をシミュレーションする(ステップ104)。また、ステップ104の演算結果に応じて、内燃機関のセンサ系統から出力される各種のセンサ信号を、擬似センサ信号として生成する(ステップ106)。   Then, the operating state of the internal combustion engine is simulated by performing predetermined arithmetic processing based on the engine model and the vehicle model stored in advance in the pseudo operation HILS 16 and the drive signal read from the ECU 10 (step 104). . Further, various sensor signals output from the sensor system of the internal combustion engine are generated as pseudo sensor signals according to the calculation result of step 104 (step 106).

次に、擬似動作HILS16は、これらの擬似センサ信号をECU10に出力する(ステップ108)。これにより、ECU10と擬似動作HILS16との間では、擬似センサ信号と駆動信号とをやり取りする閉ループ制御が実施される。また、擬似動作HILS16は、擬似センサ信号のうち、例えば擬似クランク角信号を同期信号としてデータ取得HILS22に出力する(ステップ110)。   Next, the pseudo operation HILS 16 outputs these pseudo sensor signals to the ECU 10 (step 108). Thus, closed loop control is performed between the ECU 10 and the pseudo operation HILS 16 to exchange the pseudo sensor signal and the drive signal. Further, the pseudo operation HILS 16 outputs, for example, a pseudo crank angle signal among the pseudo sensor signals to the data acquisition HILS 22 as a synchronization signal (step 110).

次に、ステップ102〜110の処理を今回開始してからの経過時間が、周期Aとして設定された時間に達したか否かを判定する(ステップ112)。ここで、「YES」と判定したときには、次回の処理を行うためにステップ102に戻る。また、ステップ112で「NO」と判定したときには、周期Aが経過するまで待機する。このように、擬似動作ルーチンでは、ステップ102〜110の処理が周期A毎に繰返し実行される。   Next, it is determined whether or not the elapsed time from the start of the processing of steps 102 to 110 has reached the time set as the period A (step 112). Here, when it determines with "YES", it returns to step 102 in order to perform the next process. If “NO” is determined in the step 112, the process waits until the period A elapses. As described above, in the pseudo operation routine, the processes of steps 102 to 110 are repeatedly executed every period A.

なお、上述の図2では、擬似動作ルーチンを周期A毎に実行するために、ステップ112の判定処理を行うものとした。しかし、本発明において、ステップ112の判定処理は必ずしも必要なものではない。即ち、本発明は、ステップ112を省略し、ステップ110の実行後に無条件でステップ102に戻すようにしたルーチンにおいて、ステップ102〜110の実行時間が周期Aとなる場合も含むものである。   In FIG. 2 described above, the determination process of step 112 is performed in order to execute the pseudo operation routine every period A. However, in the present invention, the determination process in step 112 is not necessarily required. That is, the present invention includes a case where the execution time of steps 102 to 110 is the period A in a routine in which step 112 is omitted and step 110 is unconditionally returned to step 102 after execution of step 110.

次に、図3を参照しつつ、データ取得HILS22により実行されるデータ取得ルーチンの一例について説明する。   Next, an example of a data acquisition routine executed by the data acquisition HILS 22 will be described with reference to FIG.

データ取得ルーチンでは、まず、PC等の制御機器により設定されたデータに基づいて、データ取得HILS22からECU10に指令信号を出力し、取得すべき制御データの種類等を指令する(ステップ200)。   In the data acquisition routine, first, based on data set by a control device such as a PC, a command signal is output from the data acquisition HILS 22 to the ECU 10, and the type of control data to be acquired is instructed (step 200).

次に、データ取得HILS22は、擬似動作HILS16から同期信号が入力されたか否かを判定する(ステップ202)。ここで、「YES」と判定したときには、ECU10から制御データを読込む(ステップ204)。そして、読込んだ制御データを、データ取得時のクランク角、時間等に関する情報と共に、記憶媒体26に記憶させる(ステップ206)。また、ステップ202で「NO」と判定したときには、同期信号が入力されるまで待機する。   Next, the data acquisition HILS 22 determines whether or not a synchronization signal is input from the pseudo operation HILS 16 (step 202). If "YES" is determined here, control data is read from the ECU 10 (step 204). The read control data is stored in the storage medium 26 together with information on the crank angle, time, etc. at the time of data acquisition (step 206). If “NO” is determined in the step 202, the process waits until a synchronization signal is input.

次に、ステップ202〜206の処理を今回開始してからの経過時間が、周期Bとして設定された時間に達したか否かを判定する(ステップ208)。ここで、「YES」と判定したときには、次回の処理を行うためにステップ202に戻る。また、ステップ208で「NO」と判定したときには、周期Bが経過するまで待機する。このように、擬似動作ルーチンでは、ステップ202〜206の処理が周期B毎に繰返し実行される。   Next, it is determined whether or not the elapsed time from the start of the processing of steps 202 to 206 has reached the time set as the cycle B (step 208). If "YES" is determined here, the process returns to the step 202 to perform the next process. If “NO” is determined in the step 208, the process waits until the period B elapses. As described above, in the pseudo operation routine, the processes of steps 202 to 206 are repeatedly executed every period B.

なお、上述の図3では、データ取得ルーチンを周期B毎に実行するために、ステップ208の判定処理を行うものとした。しかし、ステップ208の判定処理は、前述したステップ112の場合と同様に、必ずしも必要なものではない。即ち、本発明は、ステップ208を省略したルーチンにおいて、ステップ202〜206の実行時間が周期Bとなる場合も含むものである。   In FIG. 3 described above, the determination process of step 208 is performed in order to execute the data acquisition routine every period B. However, the determination process in step 208 is not necessarily required as in the case of step 112 described above. That is, the present invention includes a case where the execution time of steps 202 to 206 is the period B in the routine in which step 208 is omitted.

以上、詳述したように、本実施の形態によれば、擬似動作HILS16とデータ取得HILS22とを別個の回路により構成したので、データ取得HILS22は、擬似動作HILS16よりも短い周期Bでデータ取得プログラムを実行することができる。これにより、例えば擬似動作プログラムの演算量が多い場合でも、その演算量や演算時間に影響されることなく、データ取得プログラムの実行周期Bを十分に短くすることができる。   As described above in detail, according to the present embodiment, the pseudo operation HILS 16 and the data acquisition HILS 22 are configured by separate circuits. Can be executed. As a result, for example, even when the calculation amount of the pseudo operation program is large, the execution period B of the data acquisition program can be sufficiently shortened without being affected by the calculation amount or calculation time.

従って、データ取得HILS22においては、擬似動作プログラムの影響で制御データのサンプリング周期が制約されるのを回避することができ、このサンプリング周期を必要に応じて高くすることができる。これにより、例えばECU10により高速な制御が行われる場合でも、データ解析が容易となる精密なデータを取得することができる。   Therefore, in the data acquisition HILS 22, it is possible to avoid the control data sampling period being restricted by the influence of the pseudo operation program, and this sampling period can be increased as necessary. Thereby, for example, even when the ECU 10 performs high-speed control, it is possible to acquire precise data that facilitates data analysis.

また、本実施の形態では、ほぼ同様の機能もつ2台のシミュレータを用意し、このうち一方のシミュレータの擬似動作機能を用いて擬似動作HILS16を構成し、他方のシミュレータのデータ取得機能を用いてデータ取得HILS22を構成している。これにより、例えば専用の擬似動作回路、データ取得回路等を用意しなくても、既存のシミュレータを利用して本実施の形態のシミュレーション・システムを容易に実現することができる。   In the present embodiment, two simulators having substantially the same function are prepared, and the pseudo operation HILS 16 is configured using the pseudo operation function of one of the simulators, and the data acquisition function of the other simulator is used. The data acquisition HILS 22 is configured. As a result, for example, the simulation system of the present embodiment can be easily realized using an existing simulator without preparing a dedicated pseudo operation circuit, a data acquisition circuit, or the like.

また、擬似動作HILS16とデータ取得HILS22との間には、同期通信ケーブル20を設ける構成としている。これにより、2つのHILS16,22を別個の回路として構成した状態でも、これらのHILS間で同期信号の通信を行うことができる。この同期信号によれば、データ取得HILS22は、擬似動作HILS16により特定の動作が実行されたり、特定の信号が出力されるタイミングで制御データを取得することができる。従って、各HILS16,22の動作を正確に同期させることができる。   In addition, a synchronous communication cable 20 is provided between the pseudo operation HILS 16 and the data acquisition HILS 22. Thereby, even in a state where the two HILS 16 and 22 are configured as separate circuits, communication of synchronization signals can be performed between these HILS. According to this synchronization signal, the data acquisition HILS 22 can acquire control data at a timing when a specific operation is executed by the pseudo operation HILS 16 or a specific signal is output. Therefore, the operations of the HILS 16 and 22 can be accurately synchronized.

しかも、本実施の形態では、擬似動作HILS16により生成される擬似センサ信号を同期信号として使用している。これにより、専用の同期信号をわざわざ生成する必要がないので、同期信号の生成処理等を簡略化することができ、プログラムの負荷を軽減することができる。   In addition, in this embodiment, the pseudo sensor signal generated by the pseudo operation HILS 16 is used as the synchronization signal. Thereby, since it is not necessary to generate a dedicated synchronization signal, the synchronization signal generation processing and the like can be simplified, and the load on the program can be reduced.

特に、同期信号として、擬似クランク角信号を用いることにより、例えば一定のクランク角毎に制御データを取得する場合や、特定のクランク角を起点として制御データの取得を開始する場合等において、クランク角の挙動と制御データの取得タイミングとを正確かつ容易に同期させることができる。また、同期信号として、擬似カム角信号を用いた場合にも、これと同様の作用効果を得ることができる。   In particular, by using a pseudo crank angle signal as a synchronization signal, for example, when acquiring control data at every fixed crank angle, or when starting acquisition of control data starting from a specific crank angle, the crank angle Can be accurately and easily synchronized with the acquisition timing of the control data. In addition, when a pseudo cam angle signal is used as the synchronization signal, the same effect can be obtained.

なお、前記実施の形態では、同期信号として、擬似クランク角信号を用いる場合を例に挙げて説明した。しかし、本発明はこれに限らず、同期信号としては、前述のカム角信号を含めて他の擬似センサ信号を用いてもよい。さらには、擬似センサ信号以外の信号を用いることもできる。   In the above embodiment, the case where the pseudo crank angle signal is used as the synchronization signal has been described as an example. However, the present invention is not limited to this, and other pseudo sensor signals including the aforementioned cam angle signal may be used as the synchronization signal. Further, signals other than the pseudo sensor signal can be used.

また、実施の形態では、擬似動作HILS16からデータ取得HILS22に同期信号を出力する構成とした。しかし、本発明はこれに限らず、例えば擬似センサ信号以外の信号を同期信号として用いる場合には、データ取得HILS22から擬似動作HILS16に同期信号を出力する構成としてもよい。   In the embodiment, the synchronization signal is output from the pseudo operation HILS 16 to the data acquisition HILS 22. However, the present invention is not limited to this. For example, when a signal other than the pseudo sensor signal is used as the synchronization signal, the data acquisition HILS 22 may output the synchronization signal to the pseudo operation HILS 16.

また、実施の形態では、データ取得HILS22と記憶媒体26とを別個に配置する構成とした。しかし、本発明はこれに限らず、データ取得HILS22と記憶媒体26とを同一基板上に実装したり、同一のパッケージ内に組込む構成としてもよい。   In the embodiment, the data acquisition HILS 22 and the storage medium 26 are separately arranged. However, the present invention is not limited to this, and the data acquisition HILS 22 and the storage medium 26 may be mounted on the same substrate or may be incorporated in the same package.

また、実施の形態では、2台のシミュレータを用いることにより、擬似動作HILS16とデータ取得HILS22とを別個の装置とする場合を例に挙げて述べた。しかし、本発明はこれに限らず、これらのHILS16,22を同一基板上に実装したり、同一のパッケージ内に組込んだ上で、両者を異なる周期A,Bで作動させる構成としてもよい。   In the embodiment, the case where the pseudo operation HILS 16 and the data acquisition HILS 22 are separated from each other by using two simulators has been described as an example. However, the present invention is not limited to this, and the HILS 16 and 22 may be mounted on the same substrate or incorporated in the same package, and the two may be operated at different periods A and B.

また、実施の形態では、同期信号通信手段として、同期通信ケーブル20を用いる場合を例に挙げて説明した。しかし、本発明の同期信号通信手段は有線通信に限るものではなく、例えば電波、光等を用いて同期信号の通信を行う無線式の同期信号通信手段を用いる構成としてもよい。   In the embodiment, the case where the synchronous communication cable 20 is used as the synchronous signal communication unit has been described as an example. However, the synchronization signal communication means of the present invention is not limited to wired communication, and for example, a wireless synchronization signal communication means for communicating synchronization signals using radio waves, light, or the like may be used.

さらに、実施の形態では、電子制御ユニット(ECU10)により制御される制御対象機器として、車両に搭載される内燃機関を例に挙げて説明した。しかし、本発明はこれに限らず、電子制御ユニットにより制御される各種の装置、機器、車両等に対して広く適用することができる。   Furthermore, in the embodiment, the internal combustion engine mounted on the vehicle has been described as an example of the control target device controlled by the electronic control unit (ECU 10). However, the present invention is not limited to this, and can be widely applied to various devices, devices, vehicles, and the like controlled by the electronic control unit.

本発明の実施の形態1による電子制御ユニットの検査装置を示す全体構成図である。It is a whole block diagram which shows the inspection apparatus of the electronic control unit by Embodiment 1 of this invention. 図1中の擬似動作HILSにより実行される擬似動作ルーチンの一例を示すフローチャートである。It is a flowchart which shows an example of the pseudo | simulation operation routine performed by pseudo operation | movement HILS in FIG. 図1中のデータ取得HILSにより実行されるデータ取得ルーチンの一例を示すフローチャートである。It is a flowchart which shows an example of the data acquisition routine performed by the data acquisition HILS in FIG.

符号の説明Explanation of symbols

10 ECU(電子制御ユニット)
12 コネクタ
14,24 通信I/F
16 擬似動作HILS(擬似動作回路)
18 制御通信ケーブル
20 同期通信ケーブル(同期信号通信手段)
22 データ取得HILS(データ取得回路)
26 記憶媒体
10 ECU (Electronic Control Unit)
12 Connector 14, 24 Communication I / F
16 Pseudo operation HILS (Pseudo operation circuit)
18 control communication cable 20 synchronous communication cable (synchronous signal communication means)
22 Data acquisition HILS (Data acquisition circuit)
26 Storage media

Claims (5)

制御対象機器の動作を擬似的に実現する擬似動作プログラムを有し、前記制御対象機器を制御するための電子制御ユニットと接続されたときに、当該電子制御ユニットに対して前記擬似動作プログラムを第1の周期で実行する擬似動作回路と、
前記擬似動作回路に対して制御を実行中の前記電子制御ユニットから制御データを取得するデータ取得プログラムを有し、前記第1の周期よりも短い第2の周期で前記データ取得プログラムを実行するデータ取得回路と、
を備えることを特徴とする電子制御ユニットの検査装置。
A pseudo-operation program for simulating the operation of the control target device, and when the electronic control unit is connected to the electronic control unit for controlling the control target device, A pseudo-operation circuit that executes in one cycle;
Data having a data acquisition program for acquiring control data from the electronic control unit that is executing control on the pseudo operation circuit, and executing the data acquisition program in a second cycle shorter than the first cycle An acquisition circuit;
An inspection device for an electronic control unit comprising:
前記擬似動作回路と前記データ取得回路とは、単体で擬似動作とデータ取得とを行うことが可能な2台のシミュレータであり、前記2台のシミュレータのうち一方のシミュレータは前記擬似動作回路として使用し、他方のシミュレータは前記データ取得回路として使用する構成としてなる請求項1に記載の電子制御ユニットの検査装置。   The pseudo operation circuit and the data acquisition circuit are two simulators capable of performing a pseudo operation and data acquisition independently, and one of the two simulators is used as the pseudo operation circuit. 2. The electronic control unit inspection apparatus according to claim 1, wherein the other simulator is configured to be used as the data acquisition circuit. 前記擬似動作回路と前記データ取得回路とを同期させるための同期信号を、当該2つの回路間で通信させる同期信号通信手段を備えてなる請求項1または2に記載の電子制御ユニットの検査装置。   3. The electronic control unit inspection apparatus according to claim 1, further comprising synchronization signal communication means for communicating a synchronization signal for synchronizing the pseudo operation circuit and the data acquisition circuit between the two circuits. 前記同期信号は、内燃機関のセンサ系統から出力されるセンサ信号に対応して前記擬似動作回路により生成される擬似センサ信号である請求項3に記載の電子制御ユニットの検査装置。   4. The electronic control unit inspection apparatus according to claim 3, wherein the synchronization signal is a pseudo sensor signal generated by the pseudo operation circuit in response to a sensor signal output from a sensor system of an internal combustion engine. 前記制御対象機器は内燃機関であり、前記同期信号は、内燃機関のクランク軸またはカム軸の回転角に対応する信号として前記擬似動作回路により生成される擬似角度信号である請求項3に記載の電子制御ユニットの検査装置。   The control target device is an internal combustion engine, and the synchronization signal is a pseudo angle signal generated by the pseudo operation circuit as a signal corresponding to a rotation angle of a crankshaft or a camshaft of the internal combustion engine. Inspection device for electronic control unit.
JP2008036425A 2008-02-18 2008-02-18 Inspection apparatus of electronic control unit Pending JP2009192505A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008036425A JP2009192505A (en) 2008-02-18 2008-02-18 Inspection apparatus of electronic control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008036425A JP2009192505A (en) 2008-02-18 2008-02-18 Inspection apparatus of electronic control unit

Publications (1)

Publication Number Publication Date
JP2009192505A true JP2009192505A (en) 2009-08-27

Family

ID=41074637

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008036425A Pending JP2009192505A (en) 2008-02-18 2008-02-18 Inspection apparatus of electronic control unit

Country Status (1)

Country Link
JP (1) JP2009192505A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011054129A (en) * 2009-09-04 2011-03-17 Internatl Business Mach Corp <Ibm> Computer system and data transfer method in the same
JP2013083646A (en) * 2011-10-06 2013-05-09 Dspace Digital Signal Processing & Control Engineering Gmbh Real time test method of control apparatus for internal combustion engine by simulator
JP2018188054A (en) * 2017-05-10 2018-11-29 日立オートモティブシステムズ株式会社 Verification system for vehicular control device
JP2019021068A (en) * 2017-07-18 2019-02-07 株式会社デンソーテン Simulation device, simulation system, and measurement method for simulation device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011054129A (en) * 2009-09-04 2011-03-17 Internatl Business Mach Corp <Ibm> Computer system and data transfer method in the same
JP2013083646A (en) * 2011-10-06 2013-05-09 Dspace Digital Signal Processing & Control Engineering Gmbh Real time test method of control apparatus for internal combustion engine by simulator
JP2018188054A (en) * 2017-05-10 2018-11-29 日立オートモティブシステムズ株式会社 Verification system for vehicular control device
JP2019021068A (en) * 2017-07-18 2019-02-07 株式会社デンソーテン Simulation device, simulation system, and measurement method for simulation device

Similar Documents

Publication Publication Date Title
US7941260B2 (en) Rapid engine mapping and modeling
JP2009014406A (en) Automatic inspection apparatus for electronic control unit
JP4978285B2 (en) Automatic inspection apparatus for electronic control unit and automatic inspection method for electronic control unit
JP5065344B2 (en) Simulation method, system and program
JP2011164104A (en) Device for testing vehicle or partial system thereof
JP2004361292A (en) Automatic inspection equipment of electronic control unit
KR20070090202A (en) Transient engine performance adaptation method and system
Jiang et al. Implementation of model-based calibration for a gasoline engine
JP2009192505A (en) Inspection apparatus of electronic control unit
JP2005090353A (en) Transient engine performance adapting method and system
Mentink et al. Development and application of a virtual NOx sensor for robust heavy duty diesel engine emission control
JP4235116B2 (en) Apparatus and method for testing transient characteristics of internal combustion engine
Nanjundaswamy et al. Development and calibration of on-board-diagnostic strategies using a micro-HiL approach
Damji et al. Automated Model-Based Calibration for Drivability Using a Virtual Engine Test Cell
US20090192774A1 (en) Engine transition test instrument and method
JP2011161947A (en) Automatic inspection system of electronic controller
Jung et al. Engine-in-the-Loop: A Method for Efficient Calibration and Virtual Testing of Advanced Diesel Powertrains
Drenth et al. Consistent simulation environment with FMI based tool chain
EP4036780A1 (en) Electronic control unit timing emulation
JP2015123748A (en) Inspection system
JP5233660B2 (en) Method for adapting control parameters of an internal combustion engine
JP2008031916A (en) Device for predicting self-ignition in internal combustion engine
KR20160065641A (en) Apparatus and method for verification of virtual engine based on hsil
Kouba et al. Engine Control using a Real-Time 1D Engine Model
Morton et al. Model-based optimal calibration of a dual independent variable valve-timing engine