JP2018013889A - Simulation device and simulation system - Google Patents
Simulation device and simulation system Download PDFInfo
- Publication number
- JP2018013889A JP2018013889A JP2016141881A JP2016141881A JP2018013889A JP 2018013889 A JP2018013889 A JP 2018013889A JP 2016141881 A JP2016141881 A JP 2016141881A JP 2016141881 A JP2016141881 A JP 2016141881A JP 2018013889 A JP2018013889 A JP 2018013889A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- signal
- output
- target
- diagnosis
- 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.)
- Granted
Links
- 238000004088 simulation Methods 0.000 title claims abstract description 108
- 238000003745 diagnosis Methods 0.000 claims abstract description 151
- 238000004891 communication Methods 0.000 claims description 69
- 238000005259 measurement Methods 0.000 claims description 46
- 238000010586 diagram Methods 0.000 description 32
- 238000000034 method Methods 0.000 description 30
- 230000002159 abnormal effect Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 7
- 230000005856 abnormality Effects 0.000 description 4
- 239000000470 constituent Substances 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 238000012790 confirmation Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 238000002405 diagnostic procedure Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000007429 general method Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 230000004043 responsiveness Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Images
Landscapes
- Testing Electric Properties And Detecting Electric Faults (AREA)
- Testing And Monitoring For Control Systems (AREA)
Abstract
Description
本発明は、シミュレーション装置およびシミュレーションシステムに関する。 The present invention relates to a simulation apparatus and a simulation system.
車両や航空機などにおいては、エンジンやブレーキなどを電子制御する制御プログラムが組み込まれた制御装置が搭載されている。かかる制御プログラムを検証する際、制御対象であるエンジンやブレーキなどを模擬するシミュレーション装置が用いられている(例えば、特許文献1参照)。 Vehicles, aircraft, and the like are equipped with a control device in which a control program for electronically controlling an engine, a brake, and the like is incorporated. When verifying such a control program, a simulation device that simulates an engine, a brake, or the like to be controlled is used (see, for example, Patent Document 1).
上記したシミュレーション装置は、制御対象を模擬して制御対象の状態を示す電気信号を制御装置へ出力する出力動作や、制御装置から制御装置の状態を示す電気信号が入力される入力動作を行う回路を備える。また、回路は、端子を介して制御装置に接続される。 The simulation apparatus described above is a circuit that performs an output operation for simulating a control target and outputting an electrical signal indicating the state of the control target to the control apparatus, and an input operation for receiving an electrical signal indicating the state of the control apparatus from the control apparatus. Is provided. The circuit is connected to the control device via a terminal.
かかるシミュレーション装置は、回路の動作異常が疑われる場合、端子から制御装置が取り外されたあと、かかる端子にオシロスコープなどの診断装置が取り付けられて、診断装置により回路の動作診断を行っていた。 In such a simulation apparatus, when an abnormal operation of the circuit is suspected, a diagnostic device such as an oscilloscope is attached to the terminal after the control device is removed from the terminal, and the operation of the circuit is diagnosed by the diagnostic device.
しかしながら、診断の際の装置のつなぎ替え作業があるため、回路の動作診断を行うのに手間がかかり時間を要していた。 However, since there is an operation of changing the devices at the time of diagnosis, it takes time and effort to perform circuit operation diagnosis.
このように、上記した従来技術に係るシミュレーション装置には、回路の動作診断を短時間で行うという点で改善の余地があった。 As described above, the above-described simulation apparatus according to the related art has room for improvement in that the circuit operation diagnosis is performed in a short time.
本発明は、上記に鑑みてなされたものであって、回路の動作診断を短時間で行うことができるシミュレーション装置およびシミュレーションシステムを提供することを目的とする。 The present invention has been made in view of the above, and an object of the present invention is to provide a simulation apparatus and a simulation system capable of performing circuit operation diagnosis in a short time.
上記課題を解決し、目的を達成するために、本発明のシミュレーション装置は、対象回路と診断回路と制御部とを備える。対象回路は、電気信号の入出力動作を制御装置に対して行うとともに、動作診断の対象となる。診断回路は、対象回路と制御装置とを結ぶ電路に接続される。制御部は、対象回路から出力される出力信号および診断回路から出力される出力信号、もしくは対象回路に入力される入力信号および診断回路から出力される出力信号のいずれか一方に基づいて対象回路の動作診断を行う。 In order to solve the above problems and achieve the object, a simulation apparatus of the present invention includes a target circuit, a diagnostic circuit, and a control unit. The target circuit performs an input / output operation of the electric signal to the control device and is an operation diagnosis target. The diagnostic circuit is connected to an electric circuit connecting the target circuit and the control device. The control unit is configured to output the target circuit based on either the output signal output from the target circuit and the output signal output from the diagnostic circuit, or the input signal input to the target circuit and the output signal output from the diagnostic circuit. Perform operation diagnosis.
本発明によれば、回路の動作診断を短時間に行うことができるシミュレーション装置およびシミュレーションシステムを提供することができる。 ADVANTAGE OF THE INVENTION According to this invention, the simulation apparatus and simulation system which can perform the operation | movement diagnosis of a circuit for a short time can be provided.
以下、添付図面を参照して、本願の開示するシミュレーション装置およびシミュレーションシステムの実施形態を詳細に説明する。なお、以下に示す実施形態によりこの発明が限定されるものではない。 Hereinafter, embodiments of a simulation apparatus and a simulation system disclosed in the present application will be described in detail with reference to the accompanying drawings. In addition, this invention is not limited by embodiment shown below.
(第1の実施形態)
まず、第1の実施形態に係るシミュレーションシステムについて説明する。図1は、第1の実施形態に係るシミュレーションシステム2の全体構成図である。本実施形態に係るシミュレーションシステム2は、シミュレーション装置20と、操作装置31とを備える。
(First embodiment)
First, the simulation system according to the first embodiment will be described. FIG. 1 is an overall configuration diagram of a
かかるシミュレーションシステム2は、使用する場合には、シミュレーション装置20に設けられた端子21を介してワイヤーハーネス40によって車両や航空機などに搭載される制御装置4に接続される。そして、シミュレーションシステム2は、例えば、エンジンやブレーキなどの仮想環境を作り出し、制御装置4に組み込まれた制御プログラムの動作確認および性能評価を行う。
When the
シミュレーション装置20は、LANケーブル22によって操作装置31に接続される。操作装置31は、ユーザから各種操作を受け付ける入力デバイスであり、オペレーションシステムを備える。かかる操作装置31は、CPU(Central Processing unit)ボード上に備えた記憶部に、制御装置4によって制御される制御対象を模擬するシミュレーション用のアプリケーションソフトなどが格納される。
The
また、操作装置31は、液晶ディスプレイなどで構成された表示部30を備える。かかる表示部30は、GUI(Graphical User Interface)などの表示画面30a上にシミュレーション結果などを表示する。
The
また、シミュレーション装置20内には、端子21を介して制御装置4と電気信号の入出力動作を行う機能を有する回路が設けられる。かかる回路は、例えば、アナログ信号を処理する回路、デジタル信号を処理する回路、およびパルス信号を処理する回路などである。この例では、各回路に信号線を介して12個の端子21がそれぞれ接続される。
Further, in the
これら回路は、例えば、アナログ信号を処理する回路であればアナログ信号を処理するインターフェイスボード(以下、I/Fボードと記載する。)上に搭載される。かかるI/Fボードは、インターフェイスラック(以下、I/Fラックと記載する。)に収納される。 For example, these circuits are mounted on an interface board (hereinafter referred to as an I / F board) that processes an analog signal if the circuit processes an analog signal. Such an I / F board is accommodated in an interface rack (hereinafter referred to as an I / F rack).
ここで、図1に示すシミュレーションシステム2を用いて、シミュレーション装置20内の回路の動作異常が疑われる場合に行われる、回路の動作診断の一般的な手法について説明する。なお、以下の説明では、動作診断の対象となる回路を対象回路と称する。
Here, a general method of circuit operation diagnosis performed when an abnormal operation of the circuit in the
かかる手法は、まず、各端子21に接続されているワイヤーハーネス40を全て取り外す。そして、動作異常が疑われる対象回路に接続される12個の端子21のうち一つの端子21に図示しない診断装置につながるケーブルを取り付けて、かかる端子21を介して診断装置による対象回路の動作診断を行う。かかる端子21を介した対象回路の動作診断が終わると、端子21に接続されているケーブルを取り外して、その隣の端子21にケーブルを接続する。そして、同様にして端子21を介した診断装置による対象回路の動作診断を行う。
In this method, first, all the wire harnesses 40 connected to the
このように、端子21毎に診断装置による対象回路の動作診断を行い、対象回路に接続される12個の端子21のなかで対象回路の動作異常にかかわる端子21の特定を行っている。
In this way, the operation diagnosis of the target circuit is performed for each terminal 21 by the diagnostic device, and the terminal 21 related to the operation abnormality of the target circuit is identified among the 12
上記の手法では、端子21毎に診断装置につながるケーブルの取り付けおよび取り外しを手作業で行っているため、対象回路の動作診断を行うのに手間がかかる。 In the above method, since the connection and removal of the cable connected to the diagnostic device for each terminal 21 are performed manually, it takes time to perform the operation diagnosis of the target circuit.
そこで、本実施形態に係るシミュレーションシステム2は、シミュレーション装置20内に対象回路の動作診断を行う診断回路を備えることで、対象回路の動作診断の時間を短縮させた。次に、図2を用いて、本実施形態に係るシミュレーションシステム2について具体的に説明する。
Therefore, the
図2は、第1の実施形態に係るシミュレーションシステム2の構成の一例を示すブロック図である。なお、図2では、本実施形態の特徴を説明するために必要な構成要素のみを機能ブロックで表しており、一般的な構成要素についての記載を省略している。
FIG. 2 is a block diagram illustrating an example of the configuration of the
つまり、図2に図示される各構成要素は機能概念的なものであり、必ずしも物理的に図示のように構成されていることを要しない。たとえば、各機能ブロックの分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することが可能である。 That is, each component illustrated in FIG. 2 is functionally conceptual and does not necessarily need to be physically configured as illustrated. For example, the specific form of distribution / integration of each functional block is not limited to the one shown in the figure, and all or a part thereof is functionally or physically distributed in an arbitrary unit according to various loads or usage conditions.・ It can be integrated and configured.
図2に示すように、本実施形態に係るシミュレーションシステム2は、シミュレーション装置20と、操作装置31とを備える。シミュレーション装置20は、複数のI/Fボード50を格納するI/Fラック5と、CPUボード60を格納するCPUラック6とを備える。
As shown in FIG. 2, the
I/Fボード50は、対象回路56と、診断回路57と、切替回路58と、制御部51とを備える。CPUボード60は、全体制御部70を備える。
The I /
対象回路56は、複数の端子21、この例では12個の端子21を介して制御装置4と電気信号の入出力動作を行う機能を有する回路である。具体的には、対象回路56は、制御対象を模擬して制御対象の状態を示す電気信号を制御装置4へ出力する出力動作や、制御装置4から制御装置4の状態を示す電気信号が入力される入力動作を行う。
The
また、対象回路56は、端子21につながる信号線9が端子21毎にそれぞれ接続される。かかる対象回路56としては、具体的には、アナログ入力回路、アナログ出力回路、デジタル入力回路、デジタル出力回路、パルス入力回路、およびパルス出力回路などである。
In the
診断回路57は、対象回路56の動作診断を行う回路である。かかる診断回路57は、対象回路56の動作診断を行うために、対象回路56が有する機能とは反対の機能を有する。具体的には、例えば、対象回路56がアナログ入力回路である場合、診断回路57としてはアナログ出力回路が用いられる。
The
つまり、診断回路57は、対象回路56が制御装置4と電気信号の入出力動作を行う回路であるため、制御装置4に設けられる対象回路と電気信号の入出力動作を行う回路の疑似回路である。かかる診断回路57は、切替回路58と一つの端子Tで電気的に接続される。
That is, since the
切替回路58は、対象回路56に接続された複数の端子21、この例では12個の端子21と診断回路57の信号出力側に接続された一つの端子Tとの間の電気的な接続を端子21毎に切り替える回路である。具体的には、切替回路58は、対象回路56と12個の端子21との間をそれぞれ接続する12個の信号線9に、切替回路58の対象回路56側から延びる12個の信号線8がそれぞれ接続されており、信号線8を切り替えることによって端子21が切り替わる。
The switching
上記した対象回路56、診断回路57、および切替回路58は、一つのモジュール10として構成される。例えば、対象回路56がアナログ入力回路である場合には、アナログ入力回路モジュールとして構成される。
The
制御部51は、例えば、FPGA(Field Programmable Gate Array)、マイクロコントローラなどの演算装置で構成される。かかる制御部51は、対象回路56、診断回路57、および切替回路58などを制御する機能を備える。具体的には、制御部51は、指示部52と、計測部53と、診断部54とを備える。
The
指示部52は、対象回路56が入力回路である場合、診断回路57に対してあらかじめ定められた診断回路57の種類に応じた疑似的な指示信号を、信号線71を介して出力する。また、指示部52は、対象回路56が出力回路である場合、対象回路56に対してあらかじめ定められた対象回路56の種類に応じた疑似的な指示信号を、信号線7を介して出力する。また、指示部52は、切替回路58に対して、対象回路56に接続された複数の端子21、この例では12個の端子21と診断回路57に接続された一つの端子Tとの電気的な接続を端子21毎に切り替える切替信号を、信号線72を介して出力する。
When the
計測部53は、対象回路56が入力回路である場合、端子21毎に対象回路56から信号線7を介して出力される出力信号を計測する。また、計測部53は、対象回路56が出力回路である場合、端子毎21に診断回路57から信号線71を介して出力される出力信号を計測する。
When the
診断部54は、対象回路56が入力回路である場合、診断回路57の出力信号を対象回路56に入力するよう指示する指示信号と、対象回路56の出力信号を計測して得られた計測信号とを比較し、比較結果に基づいて対象回路56の動作診断を行う。また、診断部54は、対象回路56が出力回路である場合、対象回路56の出力信号を診断回路57に入力するよう指示する指示信号と、診断回路57の出力信号を計測して得られた計測信号とを比較し、比較結果に基づいて対象回路56の動作診断を行う。
When the
全体制御部70は、例えば、CPU、入出力ポートなどを有するマイクロコンピュータや各種の回路を含む。また、全体制御部70は、記憶部71を備える。記憶部71は、例えば、RAM(Random Access Memory)などからなり、対象回路56の動作診断に関する情報を記憶する。
The
また、全体制御部70は、記憶部71に記憶されている対象回路56の動作診断に関する情報に基づいて対象回路56の動作の診断結果をファイル形式で作成する。なお、ファイル形式としては、例えば、CSV形式などを用いることができる。
Further, the
操作装置31は、電圧設定部32と、モード切替部33と、表示制御部34とを備える。
The operating
電圧設定部32は、対象回路56の動作診断を行う際に、対象回路56あるいは診断回路57から出力信号が出力されるよう指示する指示信号を設定する。具体的には、電圧設定部32は、指示信号に対応した電圧値を対象回路56の種類に応じて所定の電圧値に設定する。
The
モード切替部33は、ユーザの入力操作に応じて、制御装置4の動作を模擬する模擬モードと対象回路56の動作を診断する診断モードとのうちいずれか一方のモードに切り替える。
The
表示制御部34は、対象回路56の診断結果を端子21毎に表示部30に表示させる。なお、この表示制御部34による表示部30の制御の詳細については、図10などを参照して後述する。
The
ここで、図3A〜図5Bを参照して、I/Fボード50に搭載されるモジュール10の種類について説明する。図3A〜図5Bは、第1の実施形態に係るI/Fボード50の構成の一例を示すブロック図である。なお、図3A〜図5Bに示す構成要素のうち、図2に示す構成要素と同様の機能を有する構成要素については、図2に示す符号と同一の符号を付すことにより、その説明を省略する。
Here, the types of
図3Aは、アナログ入力モジュール10aがI/Fボード50に搭載されている場合を示している。かかる場合、対象回路56はアナログ入力回路56aであり、診断回路57はアナログ出力回路57aである。また、アナログ入力回路56aに信号線9を介して接続される端子21は、アナログ入力端子21aである。
FIG. 3A shows a case where the
上記したI/Fボード50では、対象回路56であるアナログ入力回路56aの動作診断を行う場合、制御部51の指示部52は、診断回路57であるアナログ出力回路57aに対してあらかじめ定められた疑似的なアナログ信号である指示信号を、信号線71を介して出力する。
In the I /
アナログ出力回路57aは、指示信号に応じて指示信号と同じ電圧値である出力信号を出力する。かかる出力信号は、切替回路58、信号線8、および信号線9を介してアナログ入力回路56aに入力される。
The analog output circuit 57a outputs an output signal having the same voltage value as the instruction signal in response to the instruction signal. The output signal is input to the
また、制御部51の指示部52は、切替回路58に対して切替信号を、信号線72を介して出力することで、アナログ出力回路57aとアナログ入力回路56aとの電気的な接続をアナログ入力端子21a毎に切り替える。
In addition, the
また、制御部51の計測部53は、アナログ出力回路57aの出力信号が入力されたアナログ入力回路56aから信号線7を介して出力される出力信号をアナログ入力端子21a毎に測定する。
The
図3Bは、アナログ出力モジュール10bがI/Fボード50に搭載されている場合を示している。かかる場合、対象回路56はアナログ出力回路56bであり、診断回路57はアナログ入力回路57bである。また、アナログ出力回路56bに信号線9を介して接続される端子21は、アナログ出力端子21bである。
FIG. 3B shows a case where the
上記したI/Fボード50では、対象回路56であるアナログ出力回路56bの動作診断を行う場合、制御部51の指示部52は、アナログ出力回路56bに対してあらかじめ定められた疑似的なアナログ信号である指示信号を、信号線7を介して出力する。
In the I /
アナログ出力回路56bは、指示信号に応じて固有の電圧値である出力信号を出力する。かかる出力信号は、信号線9、信号線8、および切替回路58を介してアナログ入力回路57bに入力される。
The
また、制御部51の指示部52は、切替回路58に対して切替信号を、信号線72を介して出力することで、アナログ出力回路56bとアナログ入力回路57bとの電気的な接続をアナログ出力端子21b毎に切り替える。
In addition, the
また、制御部51の計測部53は、アナログ出力回路56bの出力信号が入力されたアナログ入力回路57bから信号線71を介して出力される出力信号をアナログ出力端子21b毎に測定する。
The measuring
図4Aは、デジタル入力モジュール10cがI/Fボード50に搭載されている場合を示している。かかる場合、対象回路56はデジタル入力回路56cであり、診断回路57はデジタル出力回路57cである。また、デジタル入力回路56cに信号線9を介して接続される端子21は、デジタル入力端子21cである。
FIG. 4A shows a case where the
上記したI/Fボード50では、対象回路56であるデジタル入力回路56cの動作診断を行う場合、制御部51の指示部52は、診断回路57であるデジタル出力回路57cに対してあらかじめ定められた疑似的なオン/オフのデジタル信号である指示信号を、信号線71を介して出力する。
In the I /
デジタル出力回路57cは、指示信号に応じて指示信号と同じ電圧値であるオン/オフの出力信号を出力する。かかる出力信号は、切替回路58、信号線8、および信号線9を介してデジタル入力回路56cに入力される。
The digital output circuit 57c outputs an on / off output signal having the same voltage value as the instruction signal in response to the instruction signal. Such an output signal is input to the
また、制御部51の指示部52は、切替回路58に対して切替信号を、信号線72を介して出力することで、デジタル出力回路57cとデジタル入力回路56cとの電気的な接続をデジタル入力端子21c毎に切り替える。
In addition, the
また、制御部51の計測部53は、デジタル出力回路57cの出力信号が入力されたデジタル入力回路56cから信号線7を介して出力される出力信号をデジタル入力端子21c毎に測定する。
In addition, the
図4Bは、デジタル出力モジュール10dがI/Fボード50に搭載されている場合を示している。かかる場合、対象回路56はデジタル出力回路56dであり、診断回路57はデジタル入力回路57dである。また、デジタル出力回路56dに信号線9を介して接続される端子21は、デジタル出力端子21dである。
FIG. 4B shows a case where the
上記したI/Fボード50では、対象回路56であるデジタル出力回路56dの動作診断を行う場合、制御部51の指示部52は、デジタル出力回路56dに対してあらかじめ定められた疑似的なオン/オフのデジタル信号である指示信号を、信号線7を介して出力する。
In the I /
デジタル出力回路56dは、指示信号に応じて固有の電圧値であるオン/オフの出力信号を出力する。かかる出力信号は、信号線9、信号線8、および切替回路58を介してデジタル入力回路57dに入力される。
The
また、制御部51の指示部52は、切替回路58に対して切替信号を、信号線72を介して出力することで、デジタル出力回路56dとデジタル入力回路57dとの電気的な接続をデジタル出力端子21d毎に切り替える。
Further, the
また、制御部51の計測部53は、デジタル出力回路56dの出力信号が入力されたデジタル入力回路57dから信号線71を介して出力される出力信号をデジタル出力端子21d毎に測定する。
In addition, the
図5Aは、パルス入力モジュール10eがI/Fボード50に搭載されている場合を示している。かかる場合、対象回路56はパルス入力回路56eであり、診断回路57はパルス出力回路57eである。また、パルス入力回路56eに信号線9を介して接続される端子21は、パルス入力端子21eである。
FIG. 5A shows a case where the
上記したI/Fボード50では、対象回路56であるパルス入力回路56eの動作診断を行う場合、制御部51の指示部52は、診断回路57であるパルス出力回路57eに対してあらかじめ定められた疑似的なパルス信号である指示信号を、信号線71を介して出力する。
In the I /
パルス出力回路57eは、指示信号に応じて指示信号と同じパルス幅である出力信号を出力する。かかる出力信号は、切替回路58、信号線8、および信号線9を介してパルス入力回路56eに入力される。
The
また、制御部51の指示部52は、切替回路58に対して切替信号を、信号線72を介して出力することで、パルス出力回路57eとパルス入力回路56eとの電気的な接続をパルス入力端子21e毎に切り替える。
In addition, the
また、制御部51の計測部53は、パルス出力回路57eの出力信号が入力されたパルス入力回路56eから信号線7を介して出力される出力信号をパルス入力端子21e毎に測定する。
The measuring
図5Bは、パルス出力モジュール10fがI/Fボード50に搭載されている場合を示している。かかる場合、対象回路56はパルス出力回路56fであり、診断回路57はパルス入力回路57fである。また、パルス出力回路56fに信号線9を介して接続される端子21は、パルス出力端子21fである。
FIG. 5B shows a case where the
上記したI/Fボード50では、対象回路56であるパルス出力回路56fの動作診断を行う場合、制御部51の指示部52は、パルス出力回路56fに対してあらかじめ定められた疑似的なパルス信号である指示信号を、信号線7を介して出力する。
In the above-described I /
パルス出力回路56fは、指示信号に応じて固有のパルス幅をもった出力信号を出力する。かかる出力信号は、信号線9、信号線8、および切替回路58を介してパルス入力回路57fに入力される。
The pulse output circuit 56f outputs an output signal having a unique pulse width according to the instruction signal. The output signal is input to the
また、制御部51の指示部52は、切替回路58に対して切替信号を、信号線72を介して出力することで、パルス出力回路56fとパルス入力回路57fとの電気的な接続をパルス出力端子21f毎に切り替える。
In addition, the
また、制御部51の計測部53は、パルス出力回路56fの出力信号が入力されたパルス入力回路57fから信号線71を介して出力される出力信号をパルス出力端子21f毎に測定する。
In addition, the
次に、図6を参照して、本実施形態に係るシミュレーションシステム2が対象回路56a〜56fの動作診断について実行する処理手順について説明する。図6は、第1の実施形態に係るシミュレーションシステム2が対象回路56a〜56fの動作診断について実行する処理手順の一例を示すフローチャートである。
Next, a processing procedure executed by the
図6に示すように、シミュレーションシステム2は、まず、ユーザの入力操作に応じて、制御装置4の動作を模擬する模擬モードから対象回路56の動作を診断する診断モードへ切り替えたあと、電圧設定部32が指示信号に対応した電圧値を対象回路56の種類に応じて所定の電圧値に設定する(ステップS101)。なお、対象回路56の種類の判定は、ユーザが種類を入力することで行うか、あるいは対象回路56に種類を示す情報をあらかじめ付与しておき、制御部51が対象回路56より種類を示す情報を入手することにより行えばよい。また、模擬モードから診断モードへ切り替える際は、あらかじめシミュレーションシステム2から制御装置4を取り外していることが望ましい。
As shown in FIG. 6, the
続いて、シミュレーションシステム2のシミュレーション装置20は、制御部51の指示部52が、対象回路56が入力回路である場合に診断回路57に対して設定した指示信号を出力し、対象回路56が出力回路である場合に対象回路56に対して設定した指示信号を出力する(ステップS102)。
Subsequently, in the
そして、シミュレーション装置20は、制御部51の計測部53が、対象回路56が入力回路である場合に診断回路57からの出力信号を計測し、対象回路56が出力回路である場合に対象回路56からの出力信号を計測する(ステップS103)。
In the
そのあと、シミュレーション装置20は、制御部51の診断部54が、設定した指示信号と、対象回路56あるいは診断回路57からの出力信号を計測して得られた計測信号とを比較し、比較結果に基づいて対象回路56の動作診断を行う(ステップS104)。
Thereafter, the
ここで、図7A〜図9を参照して、アナログ系、デジタル系、およびパルス系の対象回路56における具体的な動作診断の方法について説明する。なお、以下の説明では、対象回路56に接続される全12個の端子21を、第1端子21〜第12端子21と称する。
Here, with reference to FIG. 7A to FIG. 9, a specific operation diagnosis method in the analog system, digital system, and pulse
まず、図7A〜図7Cを参照して、アナログ系の対象回路56、つまり、アナログ入力回路56aおよびアナログ出力回路56bにおける具体的な動作診断の方法について説明する。図7A〜図7Cは、第1の実施形態に係るアナログ系の対象回路56の動作診断の方法を説明する説明図である。
First, with reference to FIGS. 7A to 7C, a specific operation diagnosis method in the
図7Aに示すように、設定した指示信号の電圧値が5.0Vで、第1端子21a,21bにおけるアナログ入力回路56a,57bからの出力信号を計測して得られた計測信号の計測値が5.0Vであるとする。
As shown in FIG. 7A, when the voltage value of the set instruction signal is 5.0V, the measurement value of the measurement signal obtained by measuring the output signals from the
かかる場合、制御部51の診断部54は、設定電圧値と計測値とが同じ値であることから、第1端子21a,21bにおけるアナログ入力回路56aおよびアナログ出力回路56bが正常な動作をしているとして、「OK」の診断結果を出す。
In such a case, the
一方、設定した指示信号の電圧値が5.0Vで、第1端子21a,21bにおけるアナログ入力回路56a,57bからの出力信号を計測して得られた計測信号の計測値が5.3Vであるとする。
On the other hand, the voltage value of the set instruction signal is 5.0V, and the measurement value of the measurement signal obtained by measuring the output signals from the
かかる場合、制御部51の診断部54は、設定電圧値と計測値とが同じ値でないことから、第1端子21a,21bにおけるアナログ入力回路56aおよびアナログ出力回路56bが異常な動作をしているとして、「NG」の診断結果を出す。
In such a case, the
上記の診断方法では、制御部51の指示部52が、アナログ出力回路57a,56bに対して指示信号を1回出力しているが、同じ指示信号を複数回出力してもよい。そして、制御部51の診断部54が、指示信号の出力毎に、設定した指示信号と、アナログ入力回路56a,57bからの出力信号を計測してもよい。
In the above diagnostic method, the
具体的には、図7Bに示すように、設定した指示信号の電圧値が5.0Vで、1回目の計測値が5.0Vで、2回目の計測値が4.9Vで、3回目の計測値が5.1Vで、4回目の計測値が5.0Vで、5回目の計測値が5.0Vとする。 Specifically, as shown in FIG. 7B, the voltage value of the set instruction signal is 5.0V, the first measurement value is 5.0V, the second measurement value is 4.9V, and the third time The measured value is 5.1V, the fourth measured value is 5.0V, and the fifth measured value is 5.0V.
かかる場合、制御部51の診断部54は、設定電圧値と5回行った計測の平均値とが同じ値であることから、第1端子21a,21bにおけるアナログ入力回路56aおよびアナログ出力回路56bが正常な動作をしているとして、「OK」の診断結果を出す。
In this case, the
一方、設定した指示信号の電圧値が5.0Vで、1回目の計測値が5.0Vで、2回目の計測値が5.1Vで、3回目の計測値が5.1Vで、4回目の計測値が5.1Vで、5回目の計測値が5.2Vとする。 On the other hand, the voltage value of the set instruction signal is 5.0V, the first measurement value is 5.0V, the second measurement value is 5.1V, the third measurement value is 5.1V, and the fourth time. The measured value of 5.1 is 5.1V, and the fifth measured value is 5.2V.
かかる場合、制御部51の診断部54は、設定電圧値と5回行った計測の平均値とが同じ値でないことから、第1端子21a,21bにおけるアナログ入力回路56aおよびアナログ出力回路56bが異常な動作をしているとして、「NG」の診断結果を出す。
In such a case, the
なお、上記の診断方法では、制御部51の診断部54が設定電圧値と平均値とが同じ値である場合に、「OK」の診断結果を出しているが、平均値が所定の範囲にある場合に、「OK」の診断結果を出してもよい。
In the above-described diagnosis method, the
また、上記の診断方法では、制御部51の診断部54が、一つの設定電圧値で診断を行っているが、電圧設定部32が指示信号の電圧値を変更することで、異なる電圧値の指示信号を複数設定し、各設定電圧値において診断を行ってもよい。
In the above diagnosis method, the
具体的には、図7Cに示すように、1回目の設定電圧値が5.0Vで、かかる設定電圧値に対するアナログ入力回路56a,57bからの出力信号を計測して得られた計測信号の計測値が5.0Vであるとする。また、2回目の設定電圧値が10.0Vで、かかる設定電圧値に対するアナログ入力回路56a,57bからの出力信号を計測して得られた計測信号の計測値が10.0Vであるとする。
Specifically, as shown in FIG. 7C, the first set voltage value is 5.0 V, and the measurement signal obtained by measuring the output signals from the
かかる場合、制御部51の診断部54は、1回目の設定電圧値とかかる設定電圧値に対する計測値とが同じ値であり、2回目の設定電圧値とかかる設定電圧値に対する計測値とが同じ値である。制御部51の診断部54は、1回目と2回目の診断結果が「OK」であることから、第1端子21a,21bにおけるアナログ入力回路56aおよびアナログ出力回路56bが正常な動作をしているとして、「OK」の診断結果を出す。
In this case, the
一方、1回目の設定電圧値が5.0Vで、かかる設定電圧値に対するアナログ入力回路56a,57bからの出力信号を計測して得られた計測信号の計測値が5.0Vであるとする。また、2回目の設定電圧値が10.0Vで、かかる設定電圧値に対するアナログ入力回路56a,57bからの出力信号を計測して得られた計測信号の計測値が5.0Vであるとする。
On the other hand, assume that the first set voltage value is 5.0V, and the measured value of the measurement signal obtained by measuring the output signals from the
かかる場合、制御部51の診断部54は、1回目の設定電圧値とかかる設定電圧値に対する測定値とが同じ値であり、2回目の設定電圧値とかかる設定電圧値に対する測定値とが異なる値である。制御部51の診断部54は、1回目の診断結果が「OK」であり、2回目の診断結果が「NG」であることから、第1端子21a,21bにおけるアナログ入力回路56aおよびアナログ出力回路56bが異常な動作をしているとして、「NG」の診断結果を出す。
In this case, the
次に、図8A〜図8Bを参照して、デジタル系の対象回路56、つまり、デジタル入力回路56cおよびデジタル出力回路56dにおける具体的な動作診断の方法について説明する。図8A〜図8Bは、第1の実施形態に係るデジタル系の対象回路56の動作診断の方法を説明する説明図である。
Next, with reference to FIGS. 8A to 8B, a specific operation diagnosis method in the
図8Aに示すように、L信号(オフ信号)における設定した指示信号の電圧値が0Vで、L信号の上限閾値が1.0Vで、H信号(オン信号)における設定した指示信号の電圧値が5.0Vで、H信号の下限閾値が4.0Vで、H信号の上限閾値が6.0Vであるとする。つまり、図8Bに示すように、L信号とH信号とが交互に切り替わっているデジタル波形Dにおいて、L信号の上限閾値R1=1.0V、H信号の下限閾値R2=4.0V、およびH信号の上限閾値R3=6.0Vを設定したとする。 As shown in FIG. 8A, the voltage value of the set instruction signal in the L signal (off signal) is 0 V, the upper threshold of the L signal is 1.0 V, and the voltage value of the set instruction signal in the H signal (on signal) Is 5.0V, the lower threshold of the H signal is 4.0V, and the upper threshold of the H signal is 6.0V. That is, as shown in FIG. 8B, in the digital waveform D in which the L signal and the H signal are alternately switched, the L signal upper limit threshold R1 = 1.0 V, the H signal lower limit threshold R2 = 4.0 V, and H It is assumed that the upper signal threshold R3 = 6.0V is set.
そして、デジタル入力回路56c,57dからの出力信号を計測して得られた計測信号の計測値において、設定電圧値が0VにおけるL信号の計測値が0.5Vで、設定電圧値が5.0VにおけるH信号の計測値が4.8Vであるとする。
In the measurement value of the measurement signal obtained by measuring the output signals from the
かかる場合、L信号の計測値が0V〜1.0V(上限閾値R1)の範囲内にあり、H信号の計測値が4.0V(下限閾値R2)〜6.0V(上限閾値R3)の範囲内にある。 In such a case, the measured value of the L signal is in the range of 0V to 1.0V (upper threshold R1), and the measured value of the H signal is in the range of 4.0V (lower threshold R2) to 6.0V (upper threshold R3). Is in.
したがって、制御部51の診断部54は、L信号の計測値およびH信号の計測値が所定の範囲内にそれぞれあることから、第1端子21c,21dにおけるデジタル入力回路56cおよびデジタル出力回路56dが正常な動作をしているとして、「OK」の診断結果を出す。
Therefore, the
一方、デジタル入力回路56c,57dからの出力信号を計測して得られた計測信号の計測値において、設定電圧値が0VにおけるL信号の計測値が3.0Vで、設定電圧値が5.0VにおけるH信号の計測値が5.0Vであるとする。
On the other hand, in the measurement value of the measurement signal obtained by measuring the output signals from the
かかる場合、L信号の計測値が0V〜1.0V(上限閾値R1)の範囲内になく、H信号の計測値が4.0V(下限閾値R2)〜6.0V(上限閾値R3)の範囲内にある。 In this case, the measured value of the L signal is not in the range of 0V to 1.0V (upper limit threshold R1), and the measured value of the H signal is in the range of 4.0V (lower limit threshold R2) to 6.0V (upper limit threshold R3). Is in.
したがって、制御部51の診断部54は、L信号の計測値が所定の範囲内にないことから、第1端子21c,21dにおけるデジタル入力回路56cおよびデジタル出力回路56dが異常な動作をしているとして、「NG」の診断結果を出す。
Therefore, in the
なお、制御部51の診断部54は、L信号の上限閾値R1、H信号の下限閾値R2、およびH信号の上限閾値R3を自由に設定可能である。これにより、制御部51の診断部54は、対象回路56であるデジタル入力回路56cおよびデジタル出力回路56dに対して、高い精度で動作診断を行うことができる。
The
また、デジタル系の対象回路56の動作診断においても、アナログ系の対象回路56の動作診断と同じように、電圧設定部32が指示信号の電圧値を変更することで、異なる電圧値の指示信号を複数設定し、各設定電圧値において診断を行ってもよい。
Also, in the operation diagnosis of the
かかる場合、制御部51の診断部54は、各設定電圧値に応じてL信号の上限閾値R1、H信号の下限閾値R2、およびH信号の上限閾値R3を設定する。
In this case, the
次に、図9を参照して、パルス系の対象回路56、つまり、パルス入力回路56eおよびパルス出力回路56fにおける具体的な動作診断の方法について説明する。図9は、第1の実施形態に係るパルス系の対象回路56の動作診断の方法を説明する説明図である。
Next, with reference to FIG. 9, a specific operation diagnosis method in the pulse-based
図9に示すように、設定した指示信号の電圧値が5.0Vで、かかる設定電圧値に対するパルス幅が100μsで、パルス入力回路56e,57fからの出力信号を計測して得られた計測信号の計測値に対するパルス幅が100μsであるとする。
As shown in FIG. 9, the measurement signal obtained by measuring the output signal from the
かかる場合、制御部51の診断部54は、設定電圧値のパルス幅と計測値のパルス幅とが同じ値であることから、第1端子21e,21fにおけるパルス入力回路56eおよびパルス出力回路56fが正常な動作をしているとして、「OK」の診断結果を出す。
In such a case, since the
一方、設定した指示信号の電圧値が5.0Vで、かかる設定電圧値に対するパルス幅が100μsで、パルス入力回路56e,57fからの出力信号を計測して得られた計測信号の計測値に対するパルス幅が120μsであるとする。
On the other hand, the voltage value of the set instruction signal is 5.0 V, the pulse width for the set voltage value is 100 μs, and the pulse for the measurement value of the measurement signal obtained by measuring the output signals from the
かかる場合、制御部51の診断部54は、設定電圧値のパルス幅と計測値のパルス幅とが同じ値でないことから、第1端子21e,21fにおけるパルス入力回路56eおよびパルス出力回路56fが異常な動作をしているとして、「NG」の診断結果を出す。
In such a case, the
また、パルス系の対象回路56の動作診断においても、アナログ系の対象回路56の動作診断と同じように、電圧設定部32が指示信号のパルス幅を変更することで、異なるパルス幅の指示信号を複数設定し、各パルス幅において診断を行ってもよい。
Also, in the operation diagnosis of the pulse-based
そして、シミュレーション装置20は、記憶部71が、上述した第1端子21におけるアナログ系、デジタル系、およびパルス系の対象回路56の診断結果を記憶する。
In the
図6の説明に戻り、シミュレーション装置20は、第1端子21における対象回路56の動作診断が終わったあと、かかる対象回路56に接続される12個全ての端子21に対して対象回路56の動作診断を行ったか否かを判定する(ステップS105)。
Returning to the description of FIG. 6, after the operation diagnosis of the
ここで、全ての端子21に対して対象回路56の動作診断を行っていない場合(ステップS105,No)、シミュレーション装置20は、制御部51の指示部52が、切替回路58に対して切替信号を出力して隣の第2端子21に切り替える(ステップS106)。そして、シミュレーション装置20は、ステップS102からの処理を繰り返す。
Here, when the operation diagnosis of the
また、全ての端子21に対して対象回路56の動作診断を行った場合(ステップS105,Yes)、シミュレーション装置20は、記憶部71に記憶されている情報に基づいて端子21毎の対象回路56の診断結果を作成する(ステップS107)。
Further, when the operation diagnosis of the
そして、シミュレーションシステム2は、操作装置31の表示制御部34が、対象回路56に接続される12個全ての端子21における診断結果(図10参照)をGUIなどの表示画面30a上に表示(ステップS108)させることで、処理を終了する。
Then, in the
なお、図10は、第1の実施形態に係る診断結果の表示例を示す図である。図10に示すように、この例では、対象回路56であるアナログ入力回路56aに接続される12個の端子21aのなかで第12端子21aが、アナログ入力回路56aの動作異常にかかわる端子21aであることが分かる。
FIG. 10 is a diagram illustrating a display example of the diagnosis result according to the first embodiment. As shown in FIG. 10, in this example, among the twelve
そのあと、シミュレーションシステム2は、ユーザの入力操作に応じて、診断モードから対象回路56の応答性を確認する確認モードに切り替える。シミュレーションシステム2は、確認モードを実行することにより、動作診断を行って一定時間経過後の対象回路56の状態を確認する。
Thereafter, the
上述した第1の実施形態に係るシミュレーション装置20は、対象回路56と、診断回路57と、制御部51とを備える。制御部51は、対象回路56が入力回路である場合、診断回路57の出力信号を対象回路56に入力するよう指示する指示信号と、対象回路56の出力信号を計測して得られた計測信号とを比較し、比較結果に基づいて対象回路56の動作診断を行う。
The
また、制御部51は、対象回路56が出力回路である場合、対象回路56の出力信号を診断回路57に入力するよう指示する指示信号と、診断回路57の出力信号を計測して得られた計測信号とを比較し、比較結果に基づいて対象回路56の動作診断を行う。
Further, when the
これにより、第1の実施形態に係るシミュレーション装置20は、対象回路56の動作診断を短時間で行うことができる。
Thereby, the
また、上述した第1の実施形態に係るシミュレーション装置20は、対象回路56と診断回路57との電気的な接続を端子21毎に切り替える切替回路58を備える。そして、制御部51は、切替回路58によって端子21毎に対象回路56と診断回路57との電気的な接続を切り替えることで、切り替えられた端子21に対応する対象回路56の動作診断を行う。
Moreover, the
これにより、第1の実施形態に係るシミュレーション装置20は、対象回路56の動作異常にかかわる端子21を短時間で特定することができる。
Thereby, the
また、上述した第1の実施形態に係るシミュレーション装置20は、診断回路57が、切替回路58と一つの端子Tで電気的に接続される。
In the
これにより、上述した第1の実施形態に係るシミュレーション装置20は、診断回路57に複数の端子を設けることなく、切替回路58に接続される専用の一つの端子Tで、対象回路56の動作診断を端子21毎に行うことができる。
Thereby, the
また、上述した第1の実施形態に係るシミュレーション装置20は、制御部51が、電圧設定部32によって複数設定された指示信号を、設定された指示信号毎に対象回路56あるいは診断回路57に出力する。
In the
これにより、上述した第1の実施形態に係るシミュレーション装置20は、対象回路56の動作診断の精度を高めることができる。
Thereby, the
また、上述した第1の実施形態に係るシミュレーション装置20は、対象回路56、診断回路57、切替回路58、および制御部51が同一のI/Fボード50上に設けられる。
In the
これにより、上述した第1の実施形態に係るシミュレーション装置20は、I/Fボード50上で、対象回路56の動作診断を行うことができる。
Thereby, the
また、上述した第1の実施形態に係るシミュレーションシステム2は、表示制御部34が、対象回路56の診断結果を端子21毎に表示部30に表示させる。
In the
これにより、上述した第1の実施形態に係るシミュレーションシステム2は、端子21毎の対象回路56の診断結果をユーザに提供することができる。ユーザは、かかる診断結果に基づいて、対象回路56の動作異常にかかわる端子21を確認することができる。
Thereby, the
(第2の実施形態)
次に、第2の実施形態に係るシミュレーション装置について説明する。かかるシミュレーション装置は、I/Fボード上における各モジュールの搭載位置、および搭載位置における対象回路の種類を特定する特定部を備える。
(Second Embodiment)
Next, a simulation apparatus according to the second embodiment will be described. The simulation apparatus includes a specifying unit that specifies the mounting position of each module on the I / F board and the type of the target circuit at the mounting position.
図11を参照して、第2の実施形態に係るシミュレーション装置について説明する。なお、第2の実施形態に係るシミュレーション装置は、I/Fボード上にアナログ系回路、デジタル系回路、およびパルス系回路のモジュールが複数搭載されている他は、第1の実施形態に係るシミュレーション装置20と同じ構成である。
A simulation apparatus according to the second embodiment will be described with reference to FIG. The simulation apparatus according to the second embodiment is the same as the simulation according to the first embodiment except that a plurality of modules of analog circuit, digital circuit, and pulse circuit are mounted on the I / F board. The configuration is the same as that of the
図11は、第2の実施形態に係るI/Fボード50の構成の一例を示すブロック図である。なお、図11に示す構成要素のうち、図3A〜図5Bに示す構成要素と同様の機能を有する構成要素については、図3A〜図5Bに示す符号と同一の符号を付すことにより、その説明を省略する。
FIG. 11 is a block diagram illustrating an example of the configuration of the I /
図11に示すように、第2の実施形態に係るシミュレーション装置20は、I/Fボード50上に、制御部51と、この例では6つのモジュール10a〜10fとを備える。
As illustrated in FIG. 11, the
制御部51は、I/Fボード50上における各モジュール10a〜10fの搭載位置、および搭載位置における対象回路56a〜56fの種類を特定する特定部80を備える。なお、指示部52、計測部53、および診断部54は図示を省略している。
The
具体的に説明すると、特定部80は、各モジュール10a〜10fに対して、特定信号を出力する。そして、各モジュール10a〜10fは、特定信号に応じて、各モジュール10a〜10f自身が保有する位置信号および対象回路56a〜56fの種別信号を特定部80に出力する。
If demonstrating it concretely, the specific |
つまり、特定部80は、各モジュール10a〜10fから出力される位置信号および種別信号に基づいて、I/Fボード50上における各モジュール10a〜10fの搭載位置A〜F、および搭載位置A〜Fにおける対象回路56a〜56fの種類を特定する。
That is, the specifying
第2の実施形態に係るシミュレーションシステム2は、操作装置31の表示制御部34が、各モジュール10a〜10fの搭載位置A〜F、搭載位置A〜Fにおける対象回路56a〜56fの種類、および各対象回路56a〜56fに接続される12個全ての端子21a〜21fにおける診断結果を表示画面30a上に表示させる(図12A参照)。
In the
なお、図12Aは、第2の実施形態に係る診断結果の表示例を示す図(その1)である。図12Aに示すように、例えば、搭載位置Aにあるアナログ入力回路56aにおいて、第2端子21aおよび第3端子21aが、アナログ入力回路56aの動作異常にかかわる端子21aであることが分かる。
FIG. 12A is a diagram (part 1) illustrating a display example of a diagnosis result according to the second embodiment. As shown in FIG. 12A, for example, in the
また、第2の実施形態に係るシミュレーションシステム2は、操作装置31の表示制御部34が、図12Aに示す診断結果に基づいて、対象回路の動作異常にかかわる端子および異常端子を有する対象回路の搭載位置を選択的に表示画面30a上に表示するようにしてもよい(図12B参照)。
Further, in the
なお、図12Bは、第2の実施形態に係る診断結果の表示例を示す図(その2)である。図12Bに示すように、例えば、搭載位置Fにあるパルス出力回路56fにおいて、第11端子21fおよび第12端子21fが、パルス出力回路56fの動作異常にかかわる端子21fであることが分かる。
FIG. 12B is a diagram (part 2) illustrating a display example of a diagnosis result according to the second embodiment. As shown in FIG. 12B, for example, in the pulse output circuit 56f at the mounting position F, it can be seen that the
上述した第2の実施形態に係るシミュレーション装置20は、モジュール10a〜10fから出力される電気信号に基づいて、I/Fボード50上における各モジュール10a〜10fの搭載位置A〜F、および搭載位置A〜Fにおける対象回路56a〜56fの種類を特定する特定部80を備える。
The
これにより、上述した第2の実施形態に係るシミュレーション装置20は、I/Fボード50上で、対象回路56a〜56fの搭載位置A〜Fおよび搭載位置A〜Fにおける対象回路56a〜56fの種類を特定することができる。
Thereby, the
(第3の実施形態)
次に、第3の実施形態に係るシミュレーション装置について説明する。かかるシミュレーション装置は、I/Fボード上に、制御部、複数のCAN通信回路、および開閉回路を備える。
(Third embodiment)
Next, a simulation apparatus according to the third embodiment will be described. Such a simulation apparatus includes a control unit, a plurality of CAN communication circuits, and a switching circuit on an I / F board.
図13を参照して、第3の実施形態に係るシミュレーション装置について説明する。なお、第3の実施形態に係るシミュレーション装置は、I/Fボード上に、複数のCAN通信回路、および開閉回路が搭載されている他は、第1の実施形態に係るシミュレーション装置20と同じ構成である。
A simulation apparatus according to the third embodiment will be described with reference to FIG. The simulation apparatus according to the third embodiment has the same configuration as the
図13は、第3の実施形態に係るI/Fボード50の構成の一例を示すブロック図である。なお、図13に示す構成要素のうち、図3A〜図5Bに示す構成要素と同様の機能を有する構成要素については、図3A〜図5Bに示す符号と同一の符号を付すことにより、その説明を省略する。
FIG. 13 is a block diagram illustrating an example of the configuration of the I /
図13に示すように、第3の実施形態に係るシミュレーション装置20は、I/Fボード50上に、第1CAN通信回路90aと、第2CAN通信回路90bと、開閉回路92と、制御部51とを備える。制御部51は、指示部52と、計測部53と、診断部54とを備える。
As illustrated in FIG. 13, the
第1CAN通信回路90aは、信号線91aを介して通信端子21gに接続される。第2CAN通信回路90bは、信号線91bを介して通信端子21gに接続される。
The first CAN communication circuit 90a is connected to the communication terminal 21g via the signal line 91a. The second CAN communication circuit 90b is connected to the communication terminal 21g via the
開閉回路92は信号線91aと信号線91bとの間に接続され、第1CAN通信回路90aと第2CAN通信回路90bとの間の電路を開閉する。
The open /
指示部52は、開閉回路92に対して、第1CAN通信回路90aと第2CAN通信回路90bとの間の電路を開閉する開閉信号を、信号線93を介して出力する。また、指示部52は、第1CAN通信回路90aおよび第2CAN通信回路90bのうちいずれか一方を診断回路として指定する指定信号を、信号線94a,94bを介して出力する。
The
上記したI/Fボード50では、第1CAN通信回路90aの動作診断を行う場合、指示部52は、第2CAN通信回路90bに対して指定信号を、信号線94bを介して出力するとともに、あらかじめ定められた擬似的な通信データである指示信号を、信号線94bを介して出力する。また、指示部52は、開閉回路92に対して電路を閉じる信号を、信号線93を介して出力する。
In the above-described I /
第2CAN通信回路90bは、指示信号に応じて固有の通信データである出力信号を出力する。かかる出力信号は、信号線91b、開閉回路92、および信号線91aを介して第1CAN通信回路90aに入力される。
The second CAN communication circuit 90b outputs an output signal that is unique communication data in response to the instruction signal. The output signal is input to the first CAN communication circuit 90a through the
計測部53は、第2CAN通信回路90bの出力信号が入力された第1CAN通信回路90aから信号線94aを介して出力される通信データである出力信号を測定する。
The measuring
また、上記したI/Fボード50では、第2CAN通信回路90bの動作診断を行う場合、指示部52は、第1CAN通信回路90aに対して指定信号を、信号線94aを介して出力するとともに、あらかじめ定められた疑似的な通信データである指示信号を、信号線94aを介して出力する。また、指示部52は、開閉回路92に対して電路を閉じる信号を、信号線93を介して出力する。
In the I /
第1CAN通信回路90aは、指示信号に応じて固有の通信データである出力信号を出力する。かかる出力信号は、信号線91a、開閉回路92、および信号線91bを介して第2CAN通信回路90bに入力される。
The first CAN communication circuit 90a outputs an output signal that is unique communication data in response to the instruction signal. The output signal is input to the second CAN communication circuit 90b via the signal line 91a, the open /
計測部53は、第1CAN通信回路90aの出力信号が入力された第2CAN通信回路90bから信号線94bを介して出力される通信データである出力信号を測定する。
The measuring
ここで、図14を参照して、CAN通信回路90a,90bにおける具体的な動作診断の方法について説明する。図14は、第3の実施形態に係るCAN通信回路90a,90bの動作診断の方法を説明する説明図である。 Here, a specific operation diagnosis method in the CAN communication circuits 90a and 90b will be described with reference to FIG. FIG. 14 is an explanatory diagram for explaining an operation diagnosis method for the CAN communication circuits 90a and 90b according to the third embodiment.
図14に示すように、設定した指示信号におけるデータ信号が「AAAA」で、診断回路として第2CAN通信回路90bを指定し、対象回路である第1CAN通信回路90aからの出力信号を計測して得られた計測信号におけるデータ信号が「AAAA」であるとする。また、第1CAN通信回路90aの動作診断が終わったあと、診断回路として第1CAN通信回路90aを指定し、対象回路である第2CAN通信回路90bからの出力信号を計測して得られた計測信号におけるデータ信号が「AAAA」であるとする。 As shown in FIG. 14, the data signal in the set instruction signal is “AAAA”, the second CAN communication circuit 90b is designated as the diagnostic circuit, and the output signal from the first CAN communication circuit 90a as the target circuit is measured. It is assumed that the data signal in the obtained measurement signal is “AAAA”. In addition, after the operation diagnosis of the first CAN communication circuit 90a is completed, the first CAN communication circuit 90a is designated as the diagnosis circuit, and the output signal from the second CAN communication circuit 90b that is the target circuit is measured. It is assumed that the data signal is “AAAA”.
かかる場合、第1CAN通信回路90aおよび第2CAN通信回路90bにおいて、設定データと計測データとが同じ値である。したがって、制御部51の診断部54は、通信端子21gにおける第1CAN通信回路90aおよび第2CAN通信回路90bは、正常な動作をしているとして、「OK」の診断結果を出す。
In such a case, setting data and measurement data have the same value in the first CAN communication circuit 90a and the second CAN communication circuit 90b. Accordingly, the
一方、設定した指示信号におけるデータ信号が「AAAA」で、診断回路として第2CAN通信回路90bを指定し、対象回路である第1CAN通信回路90aからの出力信号を計測して得られた計測信号におけるデータ信号が「AAAB」であるとする。また、第1CAN通信回路90aの動作診断が終わったあと、診断回路として第1CAN通信回路90aを指定し、対象回路である第2CAN通信回路90bからの出力信号を計測して得られた計測信号におけるデータ信号が「AAAB」であるとする。 On the other hand, the data signal in the set instruction signal is “AAAA”, the second CAN communication circuit 90b is designated as the diagnostic circuit, and the output signal from the first CAN communication circuit 90a that is the target circuit is measured. Assume that the data signal is “AAAB”. In addition, after the operation diagnosis of the first CAN communication circuit 90a is completed, the first CAN communication circuit 90a is designated as the diagnosis circuit, and the output signal from the second CAN communication circuit 90b that is the target circuit is measured. Assume that the data signal is “AAAB”.
かかる場合、第1CAN通信回路90aおよび第2CAN通信回路90bにおいて、設定データと計測データとが異なる値である。したがって、制御部51の診断部54は、通信端子21gにおける第1CAN通信回路90aおよび第2CAN通信回路90bは、異常な動作をしているとして、「NG」の診断結果を出す。
In such a case, the setting data and the measurement data are different values in the first CAN communication circuit 90a and the second CAN communication circuit 90b. Accordingly, the
上述した第3の実施形態に係るシミュレーション装置20は、制御部51が、第2CAN通信回路90bを診断回路として第1CAN通信回路90aの動作診断を行ったあと、第1CAN通信回路90aを診断回路として第2CAN通信回路90bの動作診断を行う。
In the
これにより、上述した第3の実施形態に係るシミュレーション装置20は、CAN通信回路90a,90bのように同じ通信機能を有する回路同士で各CAN通信回路90a,90bの動作診断を行うことができる。
Thereby, the
さらなる効果や変形例は、当業者によって容易に導き出すことができる。このため、本発明のより広範な態様は、以上のように表しかつ記述した特定の詳細および代表的な実施形態に限定されるものではない。したがって、添付の特許請求の範囲およびその均など物によって定義される総括的な発明の概念の精神または範囲から逸脱することなく、様々な変更が可能である。 Further effects and modifications can be easily derived by those skilled in the art. Thus, the broader aspects of the present invention are not limited to the specific details and representative embodiments shown and described above. Accordingly, various modifications can be made without departing from the spirit or scope of the general inventive concept as defined by the appended claims and their equivalents.
2 シミュレーションシステム
10 モジュール
20 シミュレーション装置
21 端子
22 LANケーブル
30 表示部
30a 表示画面
31 操作装置
32 電圧設定部
33 モード切替部
34 表示制御部
4 制御装置
40 ワイヤーハーネス
5 インターフェイスラック
50 インターフェイスボード
51 制御部
52 指示部
53 計測部
54 診断部
56 対象回路
57 診断回路
58 切替回路
80 特定部
8 信号線
9 信号線
90a 第1CAN通信回路
90b 第2CAN通信回路
91a 信号線
91b 信号線
92 開閉回路
2
Claims (12)
前記対象回路と前記制御装置とを結ぶ電路に接続される診断回路と、
前記対象回路から出力される出力信号および前記診断回路から出力される出力信号、もしくは前記対象回路に入力される入力信号および前記診断回路から出力される出力信号のいずれか一方に基づいて前記対象回路の動作診断を行う制御部と
を備えることを特徴とするシミュレーション装置。 Performs input / output operations of electrical signals to the control device, and a target circuit for operation diagnosis,
A diagnostic circuit connected to an electric circuit connecting the target circuit and the control device;
The target circuit based on one of an output signal output from the target circuit and an output signal output from the diagnostic circuit, or an input signal input to the target circuit and an output signal output from the diagnostic circuit And a control unit that performs an operation diagnosis of the simulation device.
前記対象回路が電気信号の入力および出力のいずれか一方の機能を有する場合、他方の機能を有すること
を特徴とする請求項1に記載のシミュレーション装置。 The diagnostic circuit includes:
The simulation apparatus according to claim 1, wherein when the target circuit has any one function of input and output of an electric signal, the target circuit has the other function.
前記対象回路が入力回路である場合、前記診断回路の出力信号を前記対象回路に入力するよう指示する指示信号と、前記対象回路の出力信号を計測して得られた計測信号とを比較し、比較結果に基づいて前記対象回路の動作診断を行うこと
を特徴とする請求項2に記載のシミュレーション装置。 The controller is
When the target circuit is an input circuit, the instruction signal instructing to input the output signal of the diagnostic circuit to the target circuit is compared with the measurement signal obtained by measuring the output signal of the target circuit, The simulation apparatus according to claim 2, wherein an operation diagnosis of the target circuit is performed based on a comparison result.
前記対象回路が出力回路である場合、前記対象回路の出力信号を前記診断回路に入力するよう指示する指示信号と、前記診断回路の出力信号を計測して得られた計測信号とを比較し、比較結果に基づいて前記対象回路の動作診断を行うこと
を特徴とする請求項2に記載のシミュレーション装置。 The controller is
When the target circuit is an output circuit, an instruction signal instructing to input the output signal of the target circuit to the diagnostic circuit is compared with a measurement signal obtained by measuring the output signal of the diagnostic circuit, The simulation apparatus according to claim 2, wherein an operation diagnosis of the target circuit is performed based on a comparison result.
前記対象回路と前記診断回路との間の電気的な接続を前記端子毎に切り替える切替回路
を備え、
前記制御部は、
前記切替回路によって前記端子毎に前記対象回路と前記診断回路との電気的な接続を切り替えることで、切り替えられた前記端子に対応する前記対象回路の動作診断を行うこと
を特徴とする請求項1〜4のいずれか一つに記載のシミュレーション装置。 The target circuit is configured to be connectable to the control device via a plurality of terminals,
A switching circuit that switches the electrical connection between the target circuit and the diagnostic circuit for each terminal;
The controller is
The operation diagnosis of the target circuit corresponding to the switched terminal is performed by switching the electrical connection between the target circuit and the diagnostic circuit for each of the terminals by the switching circuit. The simulation apparatus as described in any one of -4.
前記切替回路と一つの端子で電気的に接続されること
を特徴とする請求項5に記載のシミュレーション装置。 The diagnostic circuit includes:
The simulation apparatus according to claim 5, wherein the simulation apparatus is electrically connected to the switching circuit through a single terminal.
前記指示信号を複数設定すること
を特徴とする請求項3〜6のいずれか一つに記載のシミュレーション装置。 The controller is
The simulation apparatus according to claim 3, wherein a plurality of the instruction signals are set.
同一のボード上に設けられる
ことを特徴とする請求項1〜7のいずれか一つに記載のシミュレーション装置。 The target circuit, the diagnostic circuit, and the control unit are:
It is provided on the same board. The simulation apparatus as described in any one of Claims 1-7 characterized by the above-mentioned.
前記制御部は、
前記モジュールから出力される電気信号に基づいて、前記ボード上における前記各モジュールの搭載位置、および該搭載位置における前記対象回路の種類を特定すること
を特徴とする請求項8に記載のシミュレーション装置。 A plurality of modules including the target circuit and the diagnostic circuit are mounted on the board,
The controller is
The simulation apparatus according to claim 8, wherein the mounting position of each module on the board and the type of the target circuit at the mounting position are specified based on an electrical signal output from the module.
一方の前記CAN通信回路と他方の前記CAN通信回路との間の電路を開閉する開閉回路
を備え、
前記制御部は、
前記開閉回路によって電路を閉じ、一方の前記CAN通信回路を前記診断回路として他方の前記CAN通信回路の動作診断を行うこと
を特徴とする請求項1に記載のシミュレーション装置。 The target circuit and the diagnostic circuit are CAN communication circuits,
An open / close circuit that opens and closes an electric circuit between the one CAN communication circuit and the other CAN communication circuit;
The controller is
The simulation apparatus according to claim 1, wherein the electric circuit is closed by the switching circuit, and the operation diagnosis of the other CAN communication circuit is performed using the one CAN communication circuit as the diagnosis circuit.
ユーザからの操作を受け付ける操作装置と
を備えることを特徴とするシミュレーションシステム。 The simulation apparatus according to any one of claims 1 to 10,
A simulation system comprising: an operation device that receives an operation from a user.
前記表示部を制御する表示制御部と
を備え、
前記対象回路は、複数個の端子を介して前記制御装置に接続可能に構成され、
前記表示制御部は、
前記対象回路の診断結果を前記端子毎に前記表示部に表示させること
を特徴とする請求項11に記載のシミュレーションシステム。 A display unit;
A display control unit for controlling the display unit,
The target circuit is configured to be connectable to the control device via a plurality of terminals,
The display control unit
The simulation system according to claim 11, wherein a diagnosis result of the target circuit is displayed on the display unit for each terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016141881A JP6284587B2 (en) | 2016-07-19 | 2016-07-19 | Simulation apparatus and simulation system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016141881A JP6284587B2 (en) | 2016-07-19 | 2016-07-19 | Simulation apparatus and simulation system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018013889A true JP2018013889A (en) | 2018-01-25 |
JP6284587B2 JP6284587B2 (en) | 2018-02-28 |
Family
ID=61019532
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016141881A Active JP6284587B2 (en) | 2016-07-19 | 2016-07-19 | Simulation apparatus and simulation system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6284587B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019151122A1 (en) | 2018-01-30 | 2019-08-08 | 三菱マテリアル株式会社 | Metal base substrate |
JP7233616B1 (en) * | 2022-03-04 | 2023-03-06 | 三菱電機株式会社 | PULSE WIDTH DISPLAY SYSTEM AND PULSE WIDTH DISPLAY METHOD |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008165545A (en) * | 2006-12-28 | 2008-07-17 | Fujitsu Ten Ltd | Simulation device |
JP2010134864A (en) * | 2008-12-08 | 2010-06-17 | Toshiba Corp | Substrate simulation device, monitor device, and monitor system |
JP2012122766A (en) * | 2010-12-06 | 2012-06-28 | Denso Corp | Inspection system |
CN203405728U (en) * | 2013-07-16 | 2014-01-22 | 北京汽车股份有限公司 | Automatic test system of vehicle electronic control unit |
-
2016
- 2016-07-19 JP JP2016141881A patent/JP6284587B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008165545A (en) * | 2006-12-28 | 2008-07-17 | Fujitsu Ten Ltd | Simulation device |
JP2010134864A (en) * | 2008-12-08 | 2010-06-17 | Toshiba Corp | Substrate simulation device, monitor device, and monitor system |
JP2012122766A (en) * | 2010-12-06 | 2012-06-28 | Denso Corp | Inspection system |
CN203405728U (en) * | 2013-07-16 | 2014-01-22 | 北京汽车股份有限公司 | Automatic test system of vehicle electronic control unit |
Non-Patent Citations (1)
Title |
---|
深澤 健、山田典夫、安田武史、神山尚也: "「PC版HILシミュレータCRAMAS 2001の開発」", 富士通テン技報, vol. 19, no. 1, JPN4004004363, June 2001 (2001-06-01), pages 12 - 21, ISSN: 0003625266 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019151122A1 (en) | 2018-01-30 | 2019-08-08 | 三菱マテリアル株式会社 | Metal base substrate |
JP7233616B1 (en) * | 2022-03-04 | 2023-03-06 | 三菱電機株式会社 | PULSE WIDTH DISPLAY SYSTEM AND PULSE WIDTH DISPLAY METHOD |
Also Published As
Publication number | Publication date |
---|---|
JP6284587B2 (en) | 2018-02-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108205308B (en) | Automatic diagnosis test system based on automobile body domain controller | |
CN105388001B (en) | Apparatus and method for valve signature testing | |
US10025883B2 (en) | Method for generating a configuration for a control unit test system | |
US8838328B2 (en) | Automotive diagnostic system | |
KR102230405B1 (en) | Automatic data bus wire integrity verification device | |
US20130219219A1 (en) | Customizing Code Modules of Software and Programmable Hardware for a Test Instrument | |
EP2815318B1 (en) | Customizing operation of a test instrument based on information from a system under test | |
US9494651B2 (en) | Method for testing embedded systems | |
US20170146987A1 (en) | Electronic control module testing system | |
JP6284587B2 (en) | Simulation apparatus and simulation system | |
US10691088B2 (en) | Programmable actuator simulation card | |
KR101209069B1 (en) | Debuggging Apparatus For CAN Communication Diagnosis Device | |
Shruthi et al. | Using VT system for automated testing of ECU | |
US8751183B2 (en) | Tester having system maintenance compliance tool | |
JP2011247589A (en) | Testing device, control board, and method for configuring testing device | |
KR20200063552A (en) | Solar Array Simulator And Self-Validation Method Thereof | |
JP6280960B2 (en) | Simulation apparatus and simulation system | |
JP2000280999A (en) | Interface checker | |
KR100989640B1 (en) | Diagnostic device of input/output modules for triple modular redundancy | |
KR20150062744A (en) | Method and Apparatus for Testing Vehicle and Engine | |
US20170103007A1 (en) | Configurable Input/Output Sub-channels for Optimized Diagnostics | |
JP6798834B2 (en) | Inspection equipment, inspection system, inspection method, and inspection program | |
JP6143279B2 (en) | Inspection procedure data generation device and inspection procedure data generation program | |
JP2007333455A (en) | Semiconductor device | |
RU2700559C2 (en) | Computer network diagnostic system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171026 |
|
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: 20180109 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180130 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6284587 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |