JP2010251948A - Signal converter, signal converting method, and signal converting program - Google Patents
Signal converter, signal converting method, and signal converting program Download PDFInfo
- Publication number
- JP2010251948A JP2010251948A JP2009097800A JP2009097800A JP2010251948A JP 2010251948 A JP2010251948 A JP 2010251948A JP 2009097800 A JP2009097800 A JP 2009097800A JP 2009097800 A JP2009097800 A JP 2009097800A JP 2010251948 A JP2010251948 A JP 2010251948A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- data
- digital
- analog
- analog signal
- 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
Links
Images
Abstract
Description
本発明は、電子制御装置に入出力される信号を変換する技術に関する。 The present invention relates to a technique for converting a signal input to and output from an electronic control device.
近年、自動車分野においては、机上で制御系の開発及び設計を可能とすべく、特開2004−361292号公報(特許文献1)に記載されるようなHILS(Hardware In the Loop Simulator)システムが利用されている。HILSシステムは、電子制御装置に対してセンサ信号及びスイッチ信号などの擬似信号を出力する一方、電子制御装置から出力されたアクチュエータなどの制御信号を検査することで、電子制御装置の評価を行う。 2. Description of the Related Art In recent years, in the automobile field, a HILS (Hardware In the Loop Simulator) system as described in Japanese Patent Application Laid-Open No. 2004-361292 (Patent Document 1) is used to enable the development and design of a control system on a desk. Has been. The HILS system evaluates the electronic control device by outputting a pseudo signal such as a sensor signal and a switch signal to the electronic control device, and inspecting a control signal such as an actuator output from the electronic control device.
ところで、HILSシステムでは、電子制御装置に対して入出力される信号として、過給圧や温度などのアナログ信号と各種スイッチの作動状態を示すデジタル信号とを混在させなければならない。このため、従来提案技術では、HILSシステムに電子制御装置の入出力信号に適合した専用インターフェースを備えることで、アナログ信号及びデジタル信号を混在できるようにしていた。 By the way, in the HILS system, analog signals such as supercharging pressure and temperature and digital signals indicating the operating states of various switches must be mixed as signals input to and output from the electronic control unit. For this reason, in the conventionally proposed technique, an analog signal and a digital signal can be mixed by providing the HILS system with a dedicated interface adapted to the input / output signal of the electronic control device.
しかしながら、車両に搭載される電子制御装置は複数あり、その入出力信号が必ずしも同一でないため、電子制御装置の入出力信号に適合させた専用インターフェースを備えたHILSシステムでは、異なる電子制御装置の評価を行うことは困難であった。 However, since there are a plurality of electronic control devices mounted on a vehicle and their input / output signals are not necessarily the same, the HILS system having a dedicated interface adapted to the input / output signals of the electronic control device evaluates different electronic control devices. It was difficult to do.
そこで、本発明は以上のような従来の問題点に鑑み、評価対象たる電子制御装置の入出力信号に適合するように信号を変換することで、異なる電子制御装置の評価を行えるようにした信号変換技術を提供することを目的とする。 Therefore, in view of the conventional problems as described above, the present invention converts a signal so as to match an input / output signal of an electronic control device to be evaluated, thereby enabling evaluation of different electronic control devices. The purpose is to provide conversion technology.
このため、本発明に係る信号変換技術では、電子制御装置又はその評価を行う評価装置からデジタル信号値を含むデータを受信したときに、2進表記のデジタルデータにおけるデジタル信号の設定位置が設定されたデジタル信号割当テーブルを参照し、受信データのデジタル信号に対応したデジタルデータの設定位置にデジタル信号値を設定する。また、評価装置からアナログ信号を含むデータを受信したときに、アナログ信号に対してその分解能が関連付けられたアナログ信号割当テーブルを参照し、受信データのアナログ信号に対応した分解能を考慮してアナログ信号を2進表記のデジタルデータに変換した後、これをアナログデータにさらに変換する。一方、電子制御装置からアナログ信号値を含むアナログデータを受信したときに、これをデジタルデータに変換した後、アナログ信号割当テーブルを参照し、受信データのアナログ信号に対応した分解能を考慮してアナログ信号値を2進表記のデジタルデータに変換する。 Therefore, in the signal conversion technique according to the present invention, when data including a digital signal value is received from the electronic control device or the evaluation device that performs the evaluation, the setting position of the digital signal in the digital data in binary notation is set. The digital signal value is set at the digital data setting position corresponding to the digital signal of the received data with reference to the digital signal allocation table. Also, when data including an analog signal is received from the evaluation device, the analog signal is referred to the analog signal allocation table in which the resolution is associated with the analog signal, and the analog signal is considered in consideration of the resolution corresponding to the analog signal of the received data. Is converted into digital data in binary notation, and then converted into analog data. On the other hand, when analog data including an analog signal value is received from the electronic control unit, the analog data is converted into digital data, and then the analog signal allocation table is referenced, and the analog data is considered in consideration of the resolution corresponding to the analog signal of the received data. The signal value is converted into digital data in binary notation.
本発明に係る信号変換技術によれば、デジタル信号割当テーブル及びアナログ信号割当テーブルを参照し、電子制御装置から評価装置又は評価装置から電子制御装置へと出力される信号が適宜変換される。このため、電子制御装置及び評価装置の入出力信号に適合するように、デジタル信号割当テーブル及びアナログ信号割当テーブルを作成しておけば、異なる電子制御装置の評価を行うことができる。 According to the signal conversion technique of the present invention, a signal output from the electronic control device to the evaluation device or from the evaluation device to the electronic control device is appropriately converted with reference to the digital signal assignment table and the analog signal assignment table. For this reason, if a digital signal allocation table and an analog signal allocation table are prepared so as to match the input / output signals of the electronic control device and the evaluation device, different electronic control devices can be evaluated.
以下、添付された図面を参照して本発明を詳述する。
図1は、本発明を適用したHILSシステムの一実施形態を示す。
HILSシステムは、評価対象たる電子制御装置20とその評価を行う評価装置40との間に介装される信号変換装置60と、これとLAN(Local Area Network)などを介して接続される割当ルール設定装置80(テーブル設定手段)と、を含んで構成される。ここで、電子制御装置20としては、例えば、エンジン制御装置及び変速制御装置などが適用され得る。
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
FIG. 1 shows an embodiment of a HILS system to which the present invention is applied.
The HILS system includes a
評価装置40は、マウス及びキーボードなどの入力装置、並びに、液晶モニタなどの表示装置を備えたパーソナルコンピュータからなり、評価用プログラムを実行することで、電子制御装置20を評価するための各種センサ及び各種スイッチなどの擬似信号を出力する一方、電子制御装置20から出力された各種制御信号を受信する。なお、評価装置40は、信号変換装置60とは別体ではなく、これに組み込まれて一体化されてもよい。
The
信号変換装置60は、CAN(Controller Area Network)回線を介して評価装置40と接続するためのデジタル信号I/F(インターフェース)62と、信号割当部64と、デジタルデータをアナログデータに変換するD/A変換回路66と、アナログデータをデジタルデータに変換するA/D変換回路68と、アナログ回線及びデジタル回線を介して電子制御装置20と接続するための外部信号I/F70と、を含んで構成される。
The
デジタル信号I/F62は、公知のハードウエア回路からなり、評価装置40からCANデータ(擬似信号)を受信したときに、これを信号割当部64へと送信する一方、信号割当部64からCANデータ(制御信号)を受信したときに、これを評価装置40へと送信する。
The digital signal I /
信号割当部64は、信号変換プログラムを実行するコンピュータにより実現され、デジタル信号I/F62からアナログ信号値を含むCANデータを受信したときに、後述する信号割当ルールに従って、D/A変換回路66でアナログデータに変換するためのD/A変換用のデジタルデータを作成し、これをD/A変換回路66へと送信する。また、信号割当部64は、デジタル信号I/F62からデジタル信号値を含むCANデータを受信したときに、信号割当ルールに従って、CANデータからデジタルデータを作成し、これを外部信号I/F70へと送信する。さらに、信号割当部64は、A/D変換回路68又は外部信号I/F70からアナログ制御信号値又はデジタル制御信号値を含むデジタルデータを受信したときに、信号割当ルールに従って、デジタルデータからCANデータを作成し、これをデジタル信号I/F62へと送信する。
The
D/A変換回路66は、公知のハードウエア回路からなり、信号割当部64からデジタルデータを受信したときに、これをアナログデータに変換して外部信号I/F70へと送信する。
The D /
A/D変換回路68は、公知のハードウエア回路からなり、外部信号I/F70からアナログデータを受信したときに、これをデジタルデータに変換して信号割当部64へと送信する。このとき、A/D変換回路68は、電子制御装置20から外部信号I/F70のどのアナログ信号ポートにアナログデータが出力されたかに基づいて、そのアナログデータを区別するための識別子(ID)をデジタルデータに付加する。なお、アナログデータを区別するための識別子は、後述する信号割当ルールのものと同一とする。また、D/A変換回路66及びA/D変換回路68をハードウエア回路から構成することで、信号割当部64の負荷を軽減することができる。
The A /
ここで、デジタル信号I/F62,信号割当部64及び外部信号I/F70が協働することにより、第1の信号変換手段及びデジタル信号値を含むデータを受信したときに実行するステップが実現される。また、デジタル信号I/F62,信号割当部64,D/A変換回路66及び外部信号I/F70が協働することにより、第2の信号変換手段及びアナログ信号値を含むデータを受信したときに実行するステップが実現される。さらに、デジタル信号I/F62,信号割当部64,A/D変換回路68及び外部信号I/F70が協働することにより、第3の信号変換手段及びアナログ信号値を含むアナログデータを受信したときに実行するステップが実現される。
Here, the step executed when the digital signal I /
外部信号I/F70は、公知のハードウエア回路からなり、D/A変換回路66からアナログデータ、又は、信号割当部64からデジタルデータを受信したときに、これを電子制御装置20へと送信する。また、外部信号I/F70は、電子制御装置20からアナログデータ又はデジタルデータを受信したときに、アナログデータをA/D変換回路68へと送信する一方、デジタルデータを信号割当部64へと送信する。
The external signal I /
割当ルール設定装置80は、マウス及びキーボードなどの入力装置、並びに、液晶モニタなどの表示装置を備えたパーソナルコンピュータからなり、ハードディスクなどのストレージに構築されたデータベース82(DB)と、割当ルール設定部84と、割当ルール送信部86と、を含んで構成される。なお、割当ルール設定装置80は、信号割当ルールの設定を容易ならしめることを目的として設けられる。
The allocation
データベース82には、信号割当ルールを規定すべく、デジタル信号割当テーブル82A及びアナログ信号割当テーブル82Bが夫々保持される。デジタル信号割当テーブル82Aには、図2に示すように、評価対象たる電子制御装置を特定する名称及びその記号、並びに、擬似信号たるデジタルデータの送信周期に加え、そのデジタルデータの割当ルールが記録される。デジタルデータの割当ルールには、各バイトごとに、その各ビットに対応付けて入出力信号名,識別子(ID),分解能,データレンジ(データが採り得る値の範囲)及び送受信データ内容(データが示す意味)が記録される。一方、アナログ信号割当テーブル82Bには、図3に示すように、評価対象たる電子制御装置を特定する名称及びその記号、並びに、擬似信号たるアナログデータの送信周期に加え、そのアナログデータの割当ルールが記録される。アナログデータの割当ルールには、アナログデータが使用するバイトの組ごとに、入出力信号名,識別子(ID),分解能,データレンジ,IO,送受信データ内容及びデータレンジを16進数で表した値が記録される。また、デジタル信号割当テーブル82A及びアナログ信号割当テーブル82Bには、電子制御装置20から出力されるデジタル制御信号及びアナログ制御信号の割当ルールも設定される。
The
割当ルール設定部84は、利用者に対して、入力装置及び表示装置と協働したインタラクティブ環境において、デジタル信号割当テーブル82A及びアナログ信号割当テーブル82Bを作成・編集する機能を提供する。また、割当ルール設定部84は、利用者によりデジタル信号割当テーブル82A又はアナログ信号割当テーブル82Bが作成・編集されたときに、これをデータベース82に登録する。
The assignment
割当ルール送信部86は、利用者による評価開始指示に応答して、信号変換装置60を起動させると共に、データベース82に保持されたデジタル信号割当テーブル82A及びアナログ信号割当テーブル82Bを読み込み、これを複製したデジタル信号割当テーブルA及びアナログ信号割当テーブルBを信号変換装置60の信号割当部64へと送信する。ここで、データベース82に、デジタル信号割当テーブル82A及びアナログ信号割当テーブル82Bを保持させておき、その複製を信号割当部64へと送信する構成を採用することで、デジタル信号割当テーブル82A及びアナログ信号割当テーブル82Bの管理を容易にすることができる。
The allocation
なお、データベース82から読み込むデジタル信号割当テーブル82A及びアナログ信号割当テーブル82Bは、利用者により指定された電子制御装置の名称又は記号に該当するものを選択するようにすればよい。このようにすれば、データベース82に複数のデジタル信号割当テーブル82A及びアナログ信号割当テーブル82Bが保持されていても、実際に評価を行おうとする電子制御装置20に適合したものを自動的に選定・送信することができる。ここで、データベース82からデジタル信号割当テーブル82A及びアナログ信号割当テーブル82Bを選択する処理が、テーブル選択手段に該当する。
The digital signal allocation table 82A and the analog signal allocation table 82B read from the
図4及び図5は、信号割当部64が、CANデータ又はデジタルデータを受信したことを契機として実行する信号変換処理を示す。なお、コンピュータが信号変換処理を実行することで、第1の信号変換手段,第2の信号変換手段及び第3の信号変換手段が具現化される。
4 and 5 show signal conversion processing that is executed when the
ステップ1(図では「S1」と略記する。以下同様)では、受信データがCANデータであるか否かを判定する。ここで、受信データがCANデータであるか否かは、例えば、受信データがCANフォーマットに従って構成されているかか否かを介して判定することができる。そして、受信データがCANデータであればステップ2へと進む一方(Yes)、受信データがCANデータでない(即ち、デジタルデータ)であればステップ8へと進む(No)。 In step 1 (abbreviated as “S1” in the figure, the same applies hereinafter), it is determined whether the received data is CAN data. Here, whether or not the received data is CAN data can be determined through, for example, whether or not the received data is configured according to the CAN format. If the received data is CAN data, the process proceeds to step 2 (Yes), while if the received data is not CAN data (that is, digital data), the process proceeds to step 8 (No).
ステップ2では、CANデータにスイッチ信号値(デジタル信号値)が含まれているか否かを判定する。ここで、CANデータにスイッチ信号値が含まれているか否かは、例えば、デジタル信号割当テーブルAを参照し、CANデータにおけるデータフレームのIDに相当する入出力信号があるか否かを介して判定することができる。そして、CANデータにスイッチ信号値が含まれていればステップ3へと進む一方(Yes)、CANデータにスイッチ信号値が含まれていなければ(即ち、センサ信号値が含まれていれば)ステップ6へと進む(No)。
In
ステップ3では、デジタル信号割当テーブルAを参照して、デジタルデータにスイッチ信号値を割り当てる。即ち、スイッチ信号値の割り当てを始めて開始するときには、デジタル信号割当テーブルAの割当ルールに従って、図6に示すように、各種スイッチ信号値を割り当てるための空のデジタルデータを作成する。また、CANデータのデータフレームから、データ内容を区別するためのID及びスイッチ信号値を表すデータを夫々抽出する。そして、デジタル信号割当テーブルAを再度参照し、CANデータのIDに対応した入出力信号が設定されるデジタルデータのバイト及びビット(設定位置)を特定し、ここに抽出したデータを設定する。
In
ステップ4では、例えば、デジタルデータのすべてのビットにデータが設定されたか否かを介して、図7に示すように、スイッチ信号値の割り当てが完了したか否かを判定する。そして、スイッチ信号値の割り当てが完了したならばステップ5へと進み(Yes)、スイッチ信号値が設定されたデジタルデータを外部信号I/F70へと送信する。ここで、デジタルデータを外部信号I/F70へと送信したときには、次の割り当てに備えて、そのデジタルデータを空にする。一方、スイッチ信号値の割り当てが完了していなければ処理を終了する(No)。
In
ステップ6では、アナログ信号割当テーブルBを参照して、D/A変換用のデジタルデータを作成する。即ち、CANデータのデータフレームから、データ内容を区別するためのID及びセンサ信号値を表すデータを夫々抽出する。また、アナログ信号割当テーブルBを参照し、CANデータのIDに対応する入出力信号の分解能を読み出す。そして、分解能を考慮しつつセンサ信号値を2進表記に変換することで、D/A変換用のデジタルデータを作成する。なお、デジタルデータを構成するバイトの上位ビットへの割り当てがなされないときには、そのビットに0を設定するようにすればよい。
In
ここで、D/A変換用のデジタルデータ作成方法の理解を容易ならしめることを目的として、過給圧センサ(ID=100)のセンサ信号値3000mmHgが含まれているCANデータを用いて、その作成方法を説明する。アナログ信号割当テーブルBでは、ID=100に対応する過給圧センサの分解能は1mmHg/bitである。分解能1mmHg/bit(1bit/mmHg)を用いて、センサ信号値3000mmHgをビットで表現すると、3000bitとなる。これを2進表記へ変換すると、101110111000となる。この値をデジタルデータに割り付けると、図8に示すように、0000101110111000となる。 Here, for the purpose of facilitating understanding of the digital data creation method for D / A conversion, the CAN data including the sensor signal value 3000 mmHg of the supercharging pressure sensor (ID = 100) is used. A creation method will be described. In the analog signal allocation table B, the resolution of the supercharging pressure sensor corresponding to ID = 100 is 1 mmHg / bit. If the sensor signal value of 3000 mmHg is expressed in bits using a resolution of 1 mmHg / bit (1 bit / mmHg), it is 3000 bits. When this is converted to binary notation, it becomes 101110111000. When this value is assigned to the digital data, it becomes 0000101110111000 as shown in FIG.
ステップ7では、ステップ6で作成されたデジタルデータをD/A変換回路66へと送信する。
ステップ8では、ステップ2と同様な方法で、デジタルデータにデジタル制御信号値(デジタル信号値)が含まれているか否かを判定する。そして、デジタルデータにデジタル制御信号値が含まれていればステップ9へと進む一方(Yes)、デジタルデータにデジタル制御信号値が含まれていなければ(即ち、アナログ制御信号値が含まれていれば)ステップ12へと進む(No)。
In
In
ステップ9では、デジタル信号割当テーブルAを参照して、CANデータにデジタル制御信号値を割り当てる。即ち、デジタルデータから、データ内容を区別するためのID及びデジタル制御信号値を表すデータを夫々抽出する。そして、デジタル信号割当テーブルAを参照して、デジタルデータのIDに対応した入出力信号が設定されるCANデータのデータフィールドにおけるバイト及びビット(設定位置)を特定し、ここに抽出したデータを設定する。
In
ステップ10では、例えば、CANデータにおけるデータフィールドのすべてのビットにデータが設定されたか否かを介して、デジタル制御信号値の割り当てが完了したか否かを判定する。そして、デジタル制御信号値の割り当てが完了したならばステップ11へと進み(Yes)、デジタル制御信号値が設定されたCANデータをデジタル信号I/F62へと送信する。一方、デジタル制御信号値の割り当てが完了していなければ処理を終了する(No)。
In
ステップ12では、アナログ信号割当テーブルBを参照して、CANデータを作成する。即ち、デジタルデータからデータ内容を区別するためのID及びアナログ制御信号値(アナログ信号値)を夫々抽出すると共に、アナログ信号割当テーブルBを参照し、デジタルデータのIDに対応する入出力信号の分解能を読み出す。そして、分解能を考慮しつつアナログ制御信号値を2進表記に変換したデータを作成し、CANデータのデータフレームにID及びデータを設定する。
In
ステップ13では、ステップ12で作成したCANデータをデジタル信号I/F62へと送信する。
このような信号変換処理によれば、受信データがCANデータであるか否かを介して、評価装置40から出力された擬似信号であるか、又は、電子制御装置20から出力された制御信号であるかを区別することができる。受信データが擬似信号であり、かつ、その擬似信号がスイッチ信号であれば、デジタル信号割当テーブルAの割当ルールに従って、デジタルデータにスイッチ信号値が適宜設定される。そして、デジタルデータのすべてのビットにスイッチ信号値が設定されたら、これが外部信号I/F70を経由して電子制御装置20へと送信される。このとき、スイッチ信号が順不同で到着しても、これが割当ルールに従ってデジタルデータに適宜設定されるため、電子制御装置20へと出力するデジタルデータに影響がない。
In
According to such signal conversion processing, whether the received data is CAN data or not is a pseudo signal output from the
また、受信データが擬似信号であり、かつ、その擬似信号がセンサ信号であれば、アナログ信号割当テーブルBの割当ルールに従って、センサ信号値を2進表記したD/A変換用のデジタルデータが作成される。そして、D/A変換用のデジタルデータは、D/A変換回路66でアナログデータに変換された後、外部信号I/F70を経由して電子制御装置20へと送信される。このとき、センサ信号値を2進表記に変換する際、その信号に応じた分解能を考慮した変換が行われるため、電子制御装置20に出力されるアナログデータの精度を保証することができる。
Also, if the received data is a pseudo signal and the pseudo signal is a sensor signal, digital data for D / A conversion in which the sensor signal value is expressed in binary according to the allocation rule of the analog signal allocation table B is created. Is done. The digital data for D / A conversion is converted into analog data by the D /
一方、受信データが制御信号であり、かつ、その制御信号がデジタル制御信号値であれば、デジタル信号割当テーブルAの割当ルールに従って、CANデータのデータフィールドにデジタル制御信号値が適宜設定される。そして、CANデータにおけるデータフィールドのすべてのビットにデジタル制御信号値が設定されたら、これがデジタル信号I/F62を経由して評価装置40へと送信される。このとき、デジタル制御信号が順不同で到着しても、これが割当ルールに従ってCANデータに適宜設定されるため、評価装置40へと出力するデジタルデータに影響がない。
On the other hand, if the received data is a control signal and the control signal is a digital control signal value, the digital control signal value is appropriately set in the data field of the CAN data according to the allocation rule of the digital signal allocation table A. When digital control signal values are set for all bits of the data field in the CAN data, these values are transmitted to the
また、受信データが制御信号であり、かつ、その制御信号がアナログ制御信号値であれば、アナログ信号割当テーブルBの割当ルールに従って、アナログ制御信号値を2進表記したCANデータが作成される。そして、CANデータは、デジタル信号I/F62を経由して評価装置40へと送信される。このとき、アナログ制御信号値を2進表記に変換する際、その信号に応じた分解能を考慮した変換が行われるため、評価装置40に出力されるアナログデータの精度を保証することができる。
If the received data is a control signal and the control signal is an analog control signal value, CAN data in which the analog control signal value is expressed in binary is generated according to the allocation rule of the analog signal allocation table B. Then, the CAN data is transmitted to the
従って、電子制御装置20及び評価装置40の入出力信号に適合するように、デジタル信号割当テーブルA及びアナログ信号割当テーブルBに設定された割当ルールに従って、CAN信号,デジタル信号及びアナログ信号が相互に変換される。このため、電子制御装置20及び評価装置40の入出力信号に適合するように、デジタル信号割当テーブルA及びアナログ信号割当テーブルBを作成しておけば、異なる電子制御装置20の評価を行うことができる。
Accordingly, the CAN signal, the digital signal, and the analog signal are mutually exchanged in accordance with the assignment rules set in the digital signal assignment table A and the analog signal assignment table B so as to match the input / output signals of the
なお、デジタル信号割当テーブルA及びアナログ信号割当テーブルBは、割当ルール設定装置80から送信される構成に限らず、信号変換装置60において、例えば、表計算ソフトウエアなどを用いて人手により設定されるようにしてもよい。また、D/A変換回路66及びA/D変換回路68は、プログラムを実行するコンピュータにより、ソフトウエア的に実現するようにしてもよい。さらに、デジタル信号割当テーブルAには、バイトの各ビットに対応付けて入出力信号を区別するためのID及び送受信データ内容が記録されていれば足り、また、アナログ信号割当テーブルBには、入出力信号を区別するIDに対応付けて分解能が記録されていれば足りる。
The digital signal allocation table A and the analog signal allocation table B are not limited to the configuration transmitted from the allocation
また、割当ルール設定装置80は、独立して存在する構成に限らず、信号変換装置60に組み込まれていてもよい。さらに、評価装置40と信号変換装置60とは、CAN回線でなく、公知のネットワークで接続されていてもよい。
Moreover, the allocation
20 電子制御装置
40 評価装置
60 信号変換装置
62 デジタル信号I/F
64 信号割当部
66 D/A変換回路
68 A/D変換回路
70 外部信号I/F
80 割当ルール設定装置
82 データベース
82A デジタル信号割当テーブル
82B アナログ信号割当テーブル
84 割当ルール設定部
86 割当ルール送信部
A デジタル信号割当テーブル
B アナログ信号割当テーブル
20
64 Signal allocation unit 66 D / A conversion circuit 68 A /
80 Allocation
Claims (7)
前記電子制御装置又は評価装置からデジタル信号値を含むデータを受信したときに、2進表記のデジタルデータにおけるデジタル信号の設定位置が設定されたデジタル信号割当テーブルを参照し、受信データのデジタル信号に対応したデジタルデータの設定位置にデジタル信号値を設定する第1の信号変換手段と、
前記評価装置からアナログ信号値を含むデータを受信したときに、アナログ信号に対してその分解能が関連付けられたアナログ信号割当テーブルを参照し、受信データのアナログ信号に対応した分解能を考慮してアナログ信号値を2進表記のデジタルデータに変換した後、これをアナログデータにさらに変換する第2の信号変換手段と、
前記電子制御装置からアナログ信号値を含むアナログデータを受信したときに、これをデジタルデータに変換した後、前記アナログ信号割当テーブルを参照し、前記受信データのアナログ信号に対応した分解能を考慮してアナログ信号値を2進表記のデジタルデータに変換する第3の信号変換手段と、
を含んで構成されたことを特徴とする信号変換装置。 A signal conversion device that is interposed between an electronic control device and an evaluation device that performs the evaluation, and converts a signal transmitted from the electronic control device to the evaluation device or from the evaluation device to the electronic control device,
When data including a digital signal value is received from the electronic control device or the evaluation device, the digital signal assignment table in which the setting position of the digital signal in the digital data in binary notation is set is referred to First signal conversion means for setting a digital signal value at a corresponding digital data setting position;
When data including an analog signal value is received from the evaluation device, the analog signal is referred to the analog signal allocation table in which the resolution is associated with the analog signal, and the analog signal is considered in consideration of the resolution corresponding to the analog signal of the received data. A second signal converting means for converting the value into digital data in binary notation, and further converting the digital data into analog data;
When analog data including an analog signal value is received from the electronic control unit, after converting this into digital data, the analog signal allocation table is referred to and the resolution corresponding to the analog signal of the received data is considered. Third signal converting means for converting an analog signal value into digital data in binary notation;
A signal converter characterized by comprising the above.
前記電子制御装置又は評価装置からデジタル信号値を含むデータを受信したときに、2進表記のデジタルデータにおけるデジタル信号の設定位置が設定されたデジタル信号割当テーブルを参照し、受信データのデジタル信号に対応したデジタルデータの設定位置にデジタル信号値を設定するステップと、
前記評価装置からアナログ信号値を含むデータを受信したときに、アナログ信号に対してその分解能が関連付けられたアナログ信号割当テーブルを参照し、受信データのアナログ信号に対応した分解能を考慮してアナログ信号値を2進表記のデジタルデータに変換した後、これをアナログデータにさらに変換するステップと、
前記電子制御装置からアナログ信号値を含むアナログデータを受信したときに、これをデジタルデータに変換した後、前記アナログ信号割当テーブルを参照し、前記受信データのアナログ信号に対応した分解能を考慮してアナログ信号値を2進表記のデジタルデータに変換するステップと、
を実行することを特徴とする信号変換方法。 A computer that is interposed between the electronic control device and the evaluation device that performs the evaluation, and that converts a signal transmitted from the electronic control device to the evaluation device or from the evaluation device to the electronic control device,
When data including a digital signal value is received from the electronic control device or the evaluation device, the digital signal assignment table in which the setting position of the digital signal in the digital data in binary notation is set is referred to Setting a digital signal value at a corresponding digital data setting position;
When data including an analog signal value is received from the evaluation device, the analog signal is referred to the analog signal allocation table in which the resolution is associated with the analog signal, and the analog signal is considered in consideration of the resolution corresponding to the analog signal of the received data. After converting the value into digital data in binary notation, further converting it into analog data;
When analog data including an analog signal value is received from the electronic control unit, after converting this into digital data, the analog signal allocation table is referred to and the resolution corresponding to the analog signal of the received data is considered. Converting the analog signal value into binary digital data;
The signal conversion method characterized by performing.
前記電子制御装置又は評価装置からデジタル信号値を含むデータを受信したときに、2進表記のデジタルデータにおけるデジタル信号の設定位置が設定されたデジタル信号割当テーブルを参照し、受信データのデジタル信号に対応したデジタルデータの設定位置にデジタル信号値を設定する第1の信号変換手段、
前記評価装置からアナログ信号値を含むデータを受信したときに、アナログ信号に対してその分解能が関連付けられたアナログ信号割当テーブルを参照し、受信データのアナログ信号に対応した分解能を考慮してアナログ信号値を2進表記のデジタルデータに変換した後、これをアナログデータにさらに変換する第2の信号変換手段、並びに、
前記電子制御装置からアナログ信号値を含むアナログデータを受信したときに、これをデジタルデータに変換した後、前記アナログ信号割当テーブルを参照し、前記受信データのアナログ信号に対応した分解能を考慮してアナログ信号値を2進表記のデジタルデータに変換する第3の信号変換手段、
として機能させるための信号変換プログラム。 A computer that is interposed between the electronic control device and the evaluation device that performs the evaluation and converts a signal transmitted from the electronic control device to the evaluation device or from the evaluation device to the electronic control device,
When data including a digital signal value is received from the electronic control device or the evaluation device, the digital signal assignment table in which the setting position of the digital signal in the digital data in binary notation is set is referred to First signal conversion means for setting a digital signal value at a corresponding digital data setting position;
When data including an analog signal value is received from the evaluation device, the analog signal is referred to the analog signal allocation table in which the resolution is associated with the analog signal, and the analog signal is considered in consideration of the resolution corresponding to the analog signal of the received data. A second signal converting means for converting a value into digital data in binary notation and further converting it into analog data; and
When analog data including an analog signal value is received from the electronic control unit, after converting this into digital data, the analog signal allocation table is referred to and the resolution corresponding to the analog signal of the received data is considered. A third signal converting means for converting an analog signal value into digital data in binary notation;
Signal conversion program to function as
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009097800A JP2010251948A (en) | 2009-04-14 | 2009-04-14 | Signal converter, signal converting method, and signal converting program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009097800A JP2010251948A (en) | 2009-04-14 | 2009-04-14 | Signal converter, signal converting method, and signal converting program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010251948A true JP2010251948A (en) | 2010-11-04 |
Family
ID=43313810
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009097800A Pending JP2010251948A (en) | 2009-04-14 | 2009-04-14 | Signal converter, signal converting method, and signal converting program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010251948A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017106911A (en) * | 2015-12-09 | 2017-06-15 | 株式会社日立製作所 | Device for supplying data to hardware-in-the-loop simulator |
-
2009
- 2009-04-14 JP JP2009097800A patent/JP2010251948A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017106911A (en) * | 2015-12-09 | 2017-06-15 | 株式会社日立製作所 | Device for supplying data to hardware-in-the-loop simulator |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9547041B2 (en) | Testbench builder, system, device and method with phase synchronization | |
CN109460223B (en) | API gateway management system and method thereof | |
CN106030546B (en) | The method of computer program | |
US9628206B2 (en) | Endpoint parameter management architecture for audio mixers | |
CN104483959A (en) | Fault simulation and test system | |
JP6421249B2 (en) | Method and computer system for supporting debugging | |
US8117042B2 (en) | Communication and interface support system | |
US20070283260A1 (en) | Human-machine Interface System with Device Bridge and Method for Designing and Operating the Same | |
JP2017207809A (en) | Voice recording device, information communication system, voice recording control method, and program | |
JP2010251948A (en) | Signal converter, signal converting method, and signal converting program | |
JP2004070810A (en) | Visual programming system, visual programming method, program for visual programming, and storage medium containing the program | |
TW402710B (en) | Method and system for packet control list format for controlling a DMA machine in a packetized data communications system | |
CN104572441A (en) | Environment setup method, device, server and system for function test of mobile application | |
JP2005234801A (en) | Program and acoustic signal processor | |
JP2005327192A (en) | Hardware design system and method thereof | |
JP2022112559A (en) | Programmable device, system, verification support method, and program | |
JP2007172128A (en) | I/o simulator device | |
JP2003316845A (en) | Function model generating device and function model generating method | |
CN112800124A (en) | Computer aided design model integration system and method based on interface control file | |
CN2692929Y (en) | System and apparatus for providing multi-functional remote-controller working by network | |
JP3486607B2 (en) | System development method and apparatus, and recording medium | |
JP2009037399A (en) | Configuration code generation device and program for the same device | |
CN116185952A (en) | Data processing method, device, equipment and storage medium | |
TW201101254A (en) | CNC simulating system and signal transform circuit board thereof | |
JP2005275972A (en) | Integrated product design support system |