[go: up one dir, main page]

JP2020099141A - Control apparatus test device, control method thereof, and control apparatus test system - Google Patents

Control apparatus test device, control method thereof, and control apparatus test system Download PDF

Info

Publication number
JP2020099141A
JP2020099141A JP2018236582A JP2018236582A JP2020099141A JP 2020099141 A JP2020099141 A JP 2020099141A JP 2018236582 A JP2018236582 A JP 2018236582A JP 2018236582 A JP2018236582 A JP 2018236582A JP 2020099141 A JP2020099141 A JP 2020099141A
Authority
JP
Japan
Prior art keywords
unit
test
motor
simulation
inverter
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
JP2018236582A
Other languages
Japanese (ja)
Inventor
敏樹 北島
Toshiki Kitajima
敏樹 北島
覚 寺島
Satoru Terashima
覚 寺島
高橋 克英
Katsuhide Takahashi
克英 高橋
利大 小林
Toshihiro Kobayashi
利大 小林
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2018236582A priority Critical patent/JP2020099141A/en
Publication of JP2020099141A publication Critical patent/JP2020099141A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Inverter Devices (AREA)

Abstract

【課題】制御システムの試験環境において、臨機応変な試験を実行する。【解決手段】インバータ試験システム100はインバータ試験装置200とシミュレーション装置300とを備える。インバータ試験装置のシミュレータ設定部231はシミュレーション装置の主回路模擬部310、モータ模擬部320、負荷模擬部330の動作条件を設定する。シミュレータ情報収集部232は、シミュレーション装置のモータ模擬部320でインバータ装置110の出力周波数に応じて計算されるモータ回転数、トルク負荷を含む情報を収集する。フィードバック部253はシミュレータ情報収集部232が収集する情報に基づいて、シミュレータ設定部231の情報を更新する。フィードバックによりシミュレーション装置の状況に応じてシミュレーション装置300の動作を臨機応変に変更し、インバータ装置110に対する臨機応変な試験を実行する。【選択図】図1PROBLEM TO BE SOLVED: To execute a flexible test in a test environment of a control system. An inverter test system 100 includes an inverter test device 200 and a simulation device 300. The simulator setting unit 231 of the inverter test device sets the operating conditions of the main circuit simulation unit 310, the motor simulation unit 320, and the load simulation unit 330 of the simulation device. The simulator information collection unit 232 collects information including the motor rotation speed and the torque load calculated by the motor simulation unit 320 of the simulation device according to the output frequency of the inverter device 110. The feedback unit 253 updates the information of the simulator setting unit 231 based on the information collected by the simulator information collecting unit 232. By the feedback, the operation of the simulation device 300 is flexibly changed according to the situation of the simulation device, and the flexible test of the inverter device 110 is executed. [Selection diagram] Figure 1

Description

本発明は、例えばインバータ、サーボアンプである制御装置を試験する制御装置試験システムのための制御装置試験装置とその制御方法、及び前記制御装置試験装置を備えた制御装置試験システムに関する。 The present invention relates to a control device testing apparatus for a control device testing system that tests a control device such as an inverter or a servo amplifier, a control method therefor, and a control device testing system including the control device testing device.

組込みソフトウェア開発において、HILS(Hardware In the Loop Simulator)を用いた試験効率化の需要が高まっている。HILSは制御対象装置であるアクチュエータの動作を仮想的に再現する演算装置である。仮想化(コンピュータによって実装)された制御対象装置は「モデル」と呼ばれ、HILSは搭載されたモデルに定義された計算式を制御装置から受け取る情報に応じて演算することで、物理現象の結果を数値で表現する。 In embedded software development, there is an increasing demand for efficient testing using HILS (Hardware In the Loop Simulator). HILS is an arithmetic device that virtually reproduces the operation of an actuator that is a controlled device. The virtualized (implemented by computer) controlled device is called a “model”, and HILS calculates the formula defined in the installed model according to the information received from the control device, resulting in a physical phenomenon. Is expressed numerically.

組込み製品の多くは例えばマイクロコンピュータなどの制御装置と、制御対象装置で構成される。制御装置に搭載するソフトウェアを試験する際、従来は実機の制御対象装置を用いて動作を確認していたが、試験する制御対象装置が多い、或は大規模な制御対象装置を取り扱う製品の場合、実機を用意するために時間が増大する。そこで、HILSによる仮想検証環境を構築し、実機を制御対象装置モデルに置き換えることで、実機用意時間を削減し、試験の効率化を可能としている。 Most embedded products are composed of a control device such as a microcomputer and a control target device. Conventionally, when testing the software installed in the control device, the operation was confirmed by using the control target device of the actual machine, but there are many control target devices to be tested, or in the case of products handling large-scale control target devices. , Time is increased to prepare the actual machine. Therefore, by constructing a virtual verification environment by HILS and replacing the actual machine with the controlled device model, it is possible to reduce the preparation time of the actual machine and improve the efficiency of the test.

例えば、特許文献1はインバータ装置に対してHILSに相当する技術を適用し、効率的に試験できるシステムを提案している。 For example, Patent Literature 1 proposes a system in which a technique corresponding to HILS is applied to an inverter device and an efficient test can be performed.

特許文献1に開示されたインバータ装置はモータを制御するための装置であり、インバータ装置を試験する際は所定状況下にあるモータを適切に制御できるか、所定のモータ種類に応じて制御できるかを試験する。従来は複数のモータやモータに負荷をかける負荷装置、モータを誤作動させてしまった時の安全を確保するための安全器具等の試験環境を準備する必要があったが、特許文献1では、試験環境をコンピュータで仮想化することで準備時間を削減している。またインバータ装置の主回路基板も仮想化することでより試験の効率化を図っていることを特徴としている。 The inverter device disclosed in Patent Document 1 is a device for controlling a motor. When testing the inverter device, is it possible to appropriately control the motor under a predetermined condition or to control according to a predetermined motor type? To test. Conventionally, it has been necessary to prepare a test environment such as a plurality of motors, a load device that applies a load to the motors, and a safety device for ensuring safety when the motors are erroneously operated. The preparation time is reduced by virtualizing the test environment with a computer. Also, the main circuit board of the inverter device is virtualized to make the test more efficient.

主回路基板の仮想化による試験効率化の説明を補足する。インバータ装置は制御基板と主回路基板を備え、制御するモータの種類に応じて異なる主回路基板を搭載したインバータ装置での試験を要する一方で試験する制御基板は共通である。コンピュータによって主回路基板を切り替えられる構成にすることで、異なる主回路基板を搭載したインバータ装置の試験を効率化している。 Supplement the explanation of the test efficiency improvement by virtualizing the main circuit board. The inverter device includes a control board and a main circuit board, and a test is required on an inverter device equipped with a different main circuit board depending on the type of motor to be controlled, while the control board to be tested is common. The configuration in which the main circuit boards can be switched by the computer makes it possible to efficiently test the inverter device mounted with different main circuit boards.

特許文献1に係るシステムは上記構成を備えた上、インバータ装置の試験の一つである加減速試験を効率化している(負荷試験も効率化しているがここでは説明を省く)。加減速試験はインバータ装置が指定時間内にモータを指定の周波数(モータ回転数)まで制御できるかを確認する試験である。モータに負荷をかけながら加減速試験をするケースもあり、状況に応じて性能を満たせるかを確認する。 The system according to Patent Document 1 is provided with the above-described configuration, and the efficiency of the acceleration/deceleration test that is one of the tests of the inverter device is improved (the load test is also improved, but the description is omitted here). The acceleration/deceleration test is a test for confirming whether the inverter device can control the motor to a specified frequency (motor rotation speed) within a specified time. In some cases, an acceleration/deceleration test is performed while applying a load to the motor, and it is confirmed whether the performance can be satisfied depending on the situation.

特開2015−33284号公報JP, 2015-33284, A

しかし、モータに負荷をかける試験ケースにおいて特許文献1のシステムには仮想化したモータに一定の負荷をかけ続ける機構は存在するが、臨機応変に負荷を変動させる機構は存在しない。インバータ装置に接続するモータの動作を想定した際、モータの状況に応じて負荷が変動する場合やインバータ装置の操作によってモータを動作させる条件が変動する場合など、臨機応変に環境を変動させる装置が必要となる。 However, in the test case of applying a load to the motor, the system of Patent Document 1 has a mechanism for continuously applying a constant load to the virtualized motor, but does not have a mechanism for changing the load flexibly. When assuming the operation of the motor connected to the inverter device, there is a device that changes the environment flexibly, such as when the load changes according to the condition of the motor or when the conditions for operating the motor change due to the operation of the inverter device. Will be required.

本発明の目的は以上の問題点を解決し、例えばHILS技術を利用した制御装置試験環境において、制御装置に対して臨機応変な試験を行うことができる制御装置試験装置を提供することにある。 An object of the present invention is to solve the above problems and to provide a control device test apparatus that can flexibly test a control device in a control device test environment using the HILS technique, for example.

本発明の一態様に係る制御装置試験装置は、
制御装置試験装置と、
シミュレーション装置とを備えた制御装置試験システムのための制御装置試験装置であって、
前記シミュレーション装置は、
所定の主回路を模擬する主回路模擬部と、
所定のモータの動作を模擬するモータ模擬部と、
前記モータ模擬部によって模擬されるモータに負荷トルクを印加する負荷装置を模擬する負荷模擬部とを備え、
前記制御装置試験装置は、
前記主回路模擬部、モータ模擬部、及び負荷模擬部で動かすモデルを指定する動作条件データと、制御装置を試験するための制御装置の設定を含む試験データを記憶する試験記憶部と、
前記主回路模擬部、モータ模擬部、及び負荷模擬部の動作条件を含む設定内容を設定するシミュレータ設定部と、
前記モータ模擬部のシミュレータで用いられるモータの回転数及びトルク負荷を含む情報を収集するシミュレータ情報収集部と、
前記シミュレータ情報収集部が収集した情報に基づいて前記シミュレータ設定部の設定内容を変更するフィードバック部とを備えることを特徴とする。
A control device test apparatus according to an aspect of the present invention,
A control device testing device,
A controller testing device for a controller testing system including a simulation device,
The simulation device,
A main circuit simulation unit that simulates a predetermined main circuit,
A motor simulation unit that simulates the operation of a predetermined motor,
A load simulation unit that simulates a load device that applies a load torque to the motor simulated by the motor simulation unit;
The control device test device,
A test storage unit that stores operating condition data that specifies a model to be moved by the main circuit simulation unit, the motor simulation unit, and the load simulation unit, and test data that includes settings of the control device for testing the control device.
A simulator setting unit for setting setting contents including operating conditions of the main circuit simulating unit, the motor simulating unit, and the load simulating unit;
A simulator information collecting unit that collects information including the rotation speed and torque load of the motor used in the simulator of the motor simulation unit,
And a feedback unit for changing the setting contents of the simulator setting unit based on the information collected by the simulator information collecting unit.

従って、本発明によれば、例えばHILS技術を利用した制御装置試験環境において、制御装置に対して臨機応変な試験を行うことができる。 Therefore, according to the present invention, it is possible to flexibly test the control device in the control device test environment using the HILS technology, for example.

実施の形態1に係るインバータ試験システム100の構成例を示すブロック図である。3 is a block diagram showing a configuration example of an inverter test system 100 according to the first embodiment. FIG. 図1の判定条件データベース293の構成例を示す表である。3 is a table showing a configuration example of a determination condition database 293 in FIG. 図1のインバータ試験装置200により実行されるインバータ試験処理の第1の部分を示すフローチャートである。3 is a flowchart showing a first part of an inverter test process executed by the inverter test device 200 of FIG. 1. 図1のインバータ試験装置200により実行されるインバータ試験処理の第2の部分を示すフローチャートである。6 is a flowchart showing a second part of the inverter test processing executed by the inverter test device 200 of FIG. 1. 図1のフィードバックデータベース294の構成例を示す表である。3 is a table showing a configuration example of a feedback database 294 in FIG. 1. 図1の試験データベース291の構成例を示す表である。It is a table which shows the structural example of the test database 291 of FIG. 図1の主回路管理データ392の構成例を示す表である。3 is a table showing a configuration example of main circuit management data 392 in FIG. 1. 図1のモータ管理データ394の構成例を示す表である。3 is a table showing a configuration example of motor management data 394 in FIG. 1. 図1の試験結果データベース292の構成例を示す表である。3 is a table showing a configuration example of a test result database 292 in FIG. 1. 図1のインバータ試験装置200のハードウェア構成例を示すブロック図である。2 is a block diagram showing a hardware configuration example of an inverter test device 200 of FIG. 1. FIG. 実施の形態2に係るインバータ試験システム100Aの構成例を示すブロック図である。5 is a block diagram showing a configuration example of an inverter test system 100A according to a second embodiment. FIG. 図11のインバータ試験装置200Aにより実行される試験記録処理を示すフローチャートである。12 is a flowchart showing a test recording process executed by the inverter test apparatus 200A of FIG. 図11の変更情報データベース295を示す表である。12 is a table showing a change information database 295 of FIG. 11. 図11のインバータ操作情報データベース296を示す表である。12 is a table showing an inverter operation information database 296 of FIG. 11. 図11のインバータ試験装置200Aにより実行される試験再現処理を示すフローチャートである。12 is a flowchart showing a test reproduction process executed by the inverter test apparatus 200A of FIG.

以下、本発明にかかる実施形態について図面を参照して説明する。なお、同一又は同様の構成要素については同一の符号を付している。以下、制御装置試験システムをインバータ装置に適用した場合を例に説明する。ここで、制御装置は、インバータ装置に限定されず、その他の例えば、サーボアンプ又は電力変換装置といった制御内容を変更可能な装置類であってもよい。 Embodiments according to the present invention will be described below with reference to the drawings. Note that the same or similar components are assigned the same reference numerals. Hereinafter, a case where the control device test system is applied to the inverter device will be described as an example. Here, the control device is not limited to the inverter device, and may be another device such as a servo amplifier or a power conversion device capable of changing the control content.

実施の形態1.
図1は実施の形態1に係るインバータ試験システム100の構成例を示すブロック図である。図1において、本実施の形態に係るインバータ試験システム100は、インバータ装置110の制御基板(制御回路ともいう)111を試験するシステムである。例えば、インバータ試験システム100は、制御基板111に搭載される制御ソフトウェアを試験する。制御ソフトウェアは制御基板111を動作させるためのプログラムで構成される。
Embodiment 1.
FIG. 1 is a block diagram showing a configuration example of an inverter test system 100 according to the first embodiment. In FIG. 1, an inverter test system 100 according to the present embodiment is a system that tests a control board (also referred to as a control circuit) 111 of an inverter device 110. For example, the inverter test system 100 tests the control software installed on the control board 111. The control software is composed of a program for operating the control board 111.

図1において、インバータ試験システム100は、インバータ装置110と、インバータ試験装置200と、シミュレーション装置300とを備える。ここで、インバータ装置110、インバータ試験装置200及びシミュレーション装置300は、ケーブルなどを介して互いに接続される。 In FIG. 1, the inverter test system 100 includes an inverter device 110, an inverter test device 200, and a simulation device 300. Here, the inverter device 110, the inverter test device 200, and the simulation device 300 are connected to each other via a cable or the like.

インバータ装置110は、主回路基板(単に主回路ともいう)を制御する制御基板111を備え、例えばモータ(電動機ともいう。図示せず)を駆動する。インバータ装置110の主回路基板は、インバータ装置110に接続されるモータに電力(又は電流、電圧)を供給することによってモータを駆動する主回路を備える。制御基板111は、指令と呼ばれる電気信号を主回路基板に出力することによって、主回路基板を制御する。指令に含まれる所定値の指令データにより、インバータ装置110の出力周波数、つまり、主回路基板の出力周波数が所定値に設定制御される。ここで、インバータ装置110の出力周波数はモータの単位時間当たりの回転数(以下、回転周波数という)に相当する。また、主回路基板は、指令データに含まれる電流、電圧又は周波数などの特性に応じて動作することにより、モータに電力を供給する。 The inverter device 110 includes a control board 111 that controls a main circuit board (also simply referred to as a main circuit), and drives, for example, a motor (also referred to as an electric motor, not shown). The main circuit board of the inverter device 110 includes a main circuit that drives the motor by supplying electric power (or current or voltage) to the motor connected to the inverter device 110. The control board 111 controls the main circuit board by outputting an electric signal called a command to the main circuit board. The output frequency of the inverter device 110, that is, the output frequency of the main circuit board is set and controlled to a predetermined value by the command data having a predetermined value included in the command. Here, the output frequency of the inverter device 110 corresponds to the number of rotations of the motor per unit time (hereinafter referred to as the rotation frequency). In addition, the main circuit board supplies electric power to the motor by operating according to characteristics such as current, voltage or frequency included in the command data.

モータは、主回路基板から供給される電力によって、モータに係る負荷の大きさ(負荷トルクともいう)に応じた周波数で回転する。また、主回路基板はモータの現在の回転周波数に応じて電流を制御基板111にフィードバックし、制御基板111は主回路基板からフィードバックされる電流の特性に応じて指令を制御する。従来技術に係る一般的なのインバータ装置は制御基板111と共に主回路基板を備えるが、本実施の形態のインバータ装置110は主回路基板を備えず、主回路基板はシミュレーション装置300によって模擬されるものとする。 The motor rotates at a frequency according to the size of the load (also referred to as load torque) on the motor by the electric power supplied from the main circuit board. Further, the main circuit board feeds back a current to the control board 111 according to the current rotation frequency of the motor, and the control board 111 controls the command according to the characteristics of the current fed back from the main circuit board. Although a general inverter device according to the related art includes a main circuit board together with a control board 111, the inverter device 110 according to the present embodiment does not include the main circuit board, and the main circuit board is simulated by the simulation device 300. To do.

シミュレーション装置300は、主回路模擬部310と、モータ模擬部320と、負荷模擬部330と、シミュレーション記憶部390とを備え、インバータ装置110の主回路基板と、主回路基板によって駆動されるモータと、モータに負荷を印加する負荷装置とを模擬(シミュレーション)する。 The simulation device 300 includes a main circuit simulation unit 310, a motor simulation unit 320, a load simulation unit 330, and a simulation storage unit 390. The main circuit board of the inverter device 110 and a motor driven by the main circuit board. , Simulates a load device that applies a load to the motor.

主回路模擬部310は、複数の主回路モデル391の動作条件データを記憶し、主回路管理データ392に基づいて主回路モデル391を選択し、選択した主回路モデル391を実行することによって主回路基板を模擬する。主回路モデル391は、主回路基板を模擬するためのソフトウェア(プログラムともいう。以下同様)で構成される。主回路管理データ392は、主回路基板の種類毎に主回路基板の種類と主回路モデル391とを対応付けるデータである。例えば、主回路管理データ392は、主回路容量毎に主回路容量と主回路モデル391とを対応付ける。ここで、主回路容量(主回路基板の種類の一例)は、主回路基板が出力する出力電力の大きさ(電力値)である。 The main circuit simulation unit 310 stores operating condition data of a plurality of main circuit models 391, selects the main circuit model 391 based on the main circuit management data 392, and executes the selected main circuit model 391 to execute the main circuit model 391. Simulate the board. The main circuit model 391 is composed of software (also called a program; the same applies below) for simulating the main circuit board. The main circuit management data 392 is data that associates a main circuit board type with a main circuit model 391 for each main circuit board type. For example, the main circuit management data 392 associates the main circuit capacity with the main circuit model 391 for each main circuit capacity. Here, the main circuit capacity (an example of the type of the main circuit board) is the magnitude (power value) of the output power output by the main circuit board.

モータ模擬部320は、モータ管理データ394に基づいてモータモデル393を選択し、選択したモータモデル393を実行することによってモータを模擬する。モータモデル393は、モータを模擬するためのソフトウェアで構成される。モータ管理データ394は、モータの種類毎にモータの種類とモータモデル393とを対応付ける動作条件データであり、例えば、モータ容量毎にモータ容量とモータモデル393とを対応付ける。ここで、モータ容量(モータの種類の一例)は、モータが出力する出力電力の大きさ(電力値)である。 The motor simulation unit 320 selects the motor model 393 based on the motor management data 394 and executes the selected motor model 393 to simulate the motor. The motor model 393 is composed of software for simulating a motor. The motor management data 394 is operation condition data that associates a motor type with a motor model 393 for each motor type, and, for example, associates a motor capacity with a motor model 393 for each motor capacity. Here, the motor capacity (an example of the type of motor) is the magnitude (power value) of the output power output by the motor.

負荷模擬部330は、負荷モデル395を実行することによって負荷装置を模擬する。負荷モデル395は、負荷装置を模擬するためのソフトウェアで構成される。シミュレーション記憶部390は、シミュレーション装置300が使用、生成又は入出力するモデルの種々の動作条件データを記憶する。例えば、シミュレーション記憶部390は、主回路容量別に主回路モデル391の動作条件データを記憶し、モータ容量別にモータモデル393動作条件データを記憶する。また、シミュレーション記憶部390は、主回路管理データ392と、モータ管理データ394と、負荷モデル395とを記憶する。 The load simulation unit 330 simulates the load device by executing the load model 395. The load model 395 is composed of software for simulating a load device. The simulation storage unit 390 stores various operating condition data of models used, generated, or input/output by the simulation device 300. For example, the simulation storage unit 390 stores the operation condition data of the main circuit model 391 for each main circuit capacity and the motor model 393 operation condition data for each motor capacity. The simulation storage unit 390 also stores main circuit management data 392, motor management data 394, and a load model 395.

インバータ試験装置200は、インバータ装置110とシミュレーション装置300とを制御することによって、インバータ装置110の制御基板111を試験する。以下、インバータ装置110の制御基板111に関する試験を「インバータ試験」という。制御基板111の機能を評価する試験又は制御基板111の性能を評価する試験はインバータ試験の一例である。 The inverter testing device 200 tests the control board 111 of the inverter device 110 by controlling the inverter device 110 and the simulation device 300. Hereinafter, the test on the control board 111 of the inverter device 110 is referred to as an “inverter test”. The test for evaluating the function of the control board 111 or the test for evaluating the performance of the control board 111 is an example of the inverter test.

次いで、図1のインバータ試験装置200の機能構成について以下に説明する。 Next, the functional configuration of the inverter test apparatus 200 of FIG. 1 will be described below.

図1において、インバータ試験装置200は、試験制御部210と、試験記憶部290(試験データ記憶部、試験結果データ記憶部の一例)と、インバータ設定部221と、インバータ制御部222と、シミュレータ設定部231と、シミュレータ情報収集部232(試験情報取得部の一例)とを備える。インバータ試験装置200はさらに、時間測定部241と、試験結果判定部242と、判定部251と、判定条件設定部252と、フィードバック部253と、フィードバック条件設定部254を備える。 In FIG. 1, the inverter test apparatus 200 includes a test control unit 210, a test storage unit 290 (an example of a test data storage unit, a test result data storage unit), an inverter setting unit 221, an inverter control unit 222, and a simulator setting. A unit 231 and a simulator information collection unit 232 (an example of a test information acquisition unit) are provided. The inverter test apparatus 200 further includes a time measurement unit 241, a test result determination unit 242, a determination unit 251, a determination condition setting unit 252, a feedback unit 253, and a feedback condition setting unit 254.

試験記憶部290は、インバータ試験装置200が使用、生成又は入出力するデータを記憶する。試験記憶部290は、
(1)インバータ試験で使用する1つ以上の試験データを含む試験データベース291(図6参照)と、
(2)インバータ試験によって得られる1つ以上の試験結果データを含む試験結果データベース292と、
(3)判定部251により用いられる判定条件データを含む判定条件データベース293と、
(4)フィードバック部253がシミュレータ設定部231に設定するフィードバックデータを含むフィードバックデータベース294(図5参照)と
を記憶する。
The test storage unit 290 stores data used, generated, or input/output by the inverter test device 200. The test storage unit 290 is
(1) A test database 291 (see FIG. 6) including one or more test data used in the inverter test,
(2) A test result database 292 including one or more test result data obtained by the inverter test,
(3) Judgment condition database 293 including judgment condition data used by the judgment unit 251;
(4) The feedback unit 253 stores the feedback database 294 (see FIG. 5) including the feedback data set in the simulator setting unit 231.

試験制御部210は、インバータ試験装置200の各機能構成を制御する。インバータ設定部221は、試験データベース291に含まれる試験データに従って、インバータ装置110の設定項目に設定値を設定する。ここで、設定項目は動作条件を指定するための項目であり、パラメータともいう。設定値は動作条件を示す条件値であり、パラメータ値ともいう。 The test control unit 210 controls each functional configuration of the inverter test device 200. The inverter setting unit 221 sets the set value in the setting item of the inverter device 110 according to the test data included in the test database 291. Here, the setting item is an item for designating an operating condition and is also called a parameter. The set value is a condition value indicating an operating condition and is also called a parameter value.

インバータ装置110の設定項目の一例として、インバータ装置110の設定周波数及び加速時間が挙げられる。インバータ装置110の設定周波数は、インバータ装置110の出力周波数の目標値である。また、インバータ装置110の加速時間は、インバータ装置110の出力周波数が設定周波数に達するまでに要する時間の目標値である。なお、インバータ装置110の出力周波数は、制御基板111が主回路基板を制御することによって回転させるモータの回転周波数に相当する。 Examples of setting items of the inverter device 110 include a setting frequency and acceleration time of the inverter device 110. The set frequency of the inverter device 110 is a target value of the output frequency of the inverter device 110. The acceleration time of the inverter device 110 is a target value of the time required for the output frequency of the inverter device 110 to reach the set frequency. The output frequency of the inverter device 110 corresponds to the rotation frequency of the motor that is rotated by the control board 111 controlling the main circuit board.

インバータ制御部222は、試験の開始時にインバータ装置110を起動し、試験の終了時にインバータ装置110を停止する。インバータ制御部222は、例えば、設定周波数が設定された後にインバータ装置110を起動し、インバータ装置110の出力周波数が設定周波数に達したときにインバータ装置110を停止する。 The inverter control unit 222 activates the inverter device 110 at the start of the test and stops the inverter device 110 at the end of the test. The inverter control unit 222 starts the inverter device 110 after the set frequency is set, and stops the inverter device 110 when the output frequency of the inverter device 110 reaches the set frequency, for example.

シミュレータ設定部231は、試験データベース291に含まれる試験データに従って、主回路モデル391及びモータモデル393をシミュレーション装置300に指定する。また、シミュレータ設定部231は、シミュレーション装置300の負荷模擬部330を制御することによって、負荷模擬部330が模擬する負荷トルクの大きさを変更する。 The simulator setting unit 231 specifies the main circuit model 391 and the motor model 393 to the simulation device 300 according to the test data included in the test database 291. Further, the simulator setting unit 231 changes the magnitude of the load torque simulated by the load simulation unit 330 by controlling the load simulation unit 330 of the simulation device 300.

シミュレータ情報収集部232は、シミュレーション装置300から現在の状態を示す状態情報を収集する。収集する状態情報の一例として、モータの回転周波数又はモータを流れる電流の値など、モータ模擬部320が模擬するモータに関する値が挙げられる。また、負荷模擬部330が模擬する負荷装置に関する値(例えば、モータに掛かる負荷トルクの値)が挙げられる。なお、モータ模擬部320の情報の少なくとも一部を主回路模擬部310から取得するように構成してもよい。 The simulator information collection unit 232 collects state information indicating the current state from the simulation device 300. As an example of the state information to be collected, there is a value related to the motor simulated by the motor simulation unit 320, such as the rotation frequency of the motor or the value of the current flowing through the motor. Further, a value related to the load device simulated by the load simulating unit 330 (for example, a value of load torque applied to the motor) can be given. Note that at least a part of the information of the motor simulation unit 320 may be acquired from the main circuit simulation unit 310.

時間測定部241は試験に要した時間、つまり、試験の開始時から終了時までの試験時間を測定する。時間測定部241は、例えばインバータ装置110が起動してから、インバータ装置110の出力周波数が設定周波数に達するまでの時間を測定する。また、試験結果判定部242は、試験によって得られた情報(例えば、時間測定部241によって測定された試験時間)に基づいて制御基板111の試験の合否を判定する。 The time measuring unit 241 measures the time required for the test, that is, the test time from the start to the end of the test. The time measuring unit 241 measures, for example, the time from when the inverter device 110 is activated until the output frequency of the inverter device 110 reaches the set frequency. The test result determination unit 242 also determines whether the control board 111 has passed the test based on the information obtained by the test (for example, the test time measured by the time measurement unit 241).

判定部251は制御装置試験システムの一部であり、シミュレータ情報収集部232の収集情報を基準となる値と比較し、収集情報が所定のしきい値に達する或は所定の範囲に属した場合、フィードバック部253に情報を伝達する。判定部251が判定する情報は数値や文字列など形式を問わない。例えば、判定する情報が数字の場合、等価演算、関係演算などにより比較する。 The determination unit 251 is a part of the control device test system, compares the collected information of the simulator information collecting unit 232 with a reference value, and when the collected information reaches a predetermined threshold value or belongs to a predetermined range. The information is transmitted to the feedback unit 253. The information determined by the determination unit 251 may have any format such as a numerical value or a character string. For example, when the information to be judged is a numeral, the comparison is made by an equivalent operation, a relational operation, or the like.

判定条件設定部252は、判定部251で比較する収集情報、基準値、比較方法、フィードバック情報を設定する。ここで、各設定項目は図2の判定条件データベース293の判定条件データに基づく。図2の判定条件データベース293は「監視データ」「条件」「基準値」「フィードバック番号」を設定項目としてもつが、その構成は一例であり、設定項目の増減は問わない。 The determination condition setting unit 252 sets the collected information, the reference value, the comparison method, and the feedback information to be compared by the determination unit 251. Here, each setting item is based on the determination condition data of the determination condition database 293 of FIG. The determination condition database 293 in FIG. 2 has “monitoring data”, “conditions”, “reference values”, and “feedback numbers” as setting items, but the configuration is an example, and the setting items may be increased or decreased.

フィードバック部253は制御装置試験システムの一部であり、シミュレータ情報収集部232の収集情報に基づいてシミュレータ設定部231の情報を更新し、判定部251から送られてくる情報に応じて、シミュレータ設定部231の情報を更新する。 The feedback unit 253 is a part of the control device test system, updates the information of the simulator setting unit 231 based on the information collected by the simulator information collecting unit 232, and sets the simulator setting according to the information sent from the determining unit 251. The information in the section 231 is updated.

フィードバック条件設定部254は、フィードバック部253がシミュレータ設定部231に更新する情報をフィードバック部253に設定する。設定する情報はフィードバックデータベース294のフィードバックデータに基づく。フィードバックデータは例えば図5の構成を有する。ここで、フィードバックデータは「フィードバック番号」「更新情報」「式」の列を備えたデータマトリクスの形式を有する。また、判定部251を介してシミュレータ設定部231の情報を更新する場合は、フィードバック番号に相当する行の「式」を演算し、「更新情報」に記載された値に反映する。他方、判定部251を介さずに無条件でシミュレータ設定部231の情報を更新する場合は「式」の内容を演算し、「更新情報」に記載された値に反映する。 The feedback condition setting unit 254 sets, in the feedback unit 253, the information that the feedback unit 253 updates the simulator setting unit 231. The information to be set is based on the feedback data in the feedback database 294. The feedback data has the structure of FIG. 5, for example. Here, the feedback data has a data matrix format including columns of “feedback number”, “update information”, and “expression”. When updating the information of the simulator setting unit 231 via the determining unit 251, the “expression” of the line corresponding to the feedback number is calculated and reflected in the value described in the “update information”. On the other hand, when the information in the simulator setting unit 231 is unconditionally updated without going through the determination unit 251, the content of the “expression” is calculated and reflected in the value described in the “update information”.

図3及び図4は図1のインバータ試験装置200により実行されるインバータ試験処理を示すフローチャートである。 3 and 4 are flowcharts showing the inverter test process executed by the inverter test apparatus 200 of FIG.

図3のステップS101において、試験制御部210は、試験データベース291から、例えば新たに実施する必要があり、もしくは実施すべき未選択の試験データを一つ選択する。例えば、試験制御部210は、図6に示す試験データベース291から、最初の処理では先頭行、つまり、No.1の試験データを選択し、2回目以降の処理では順次次の行の試験データを選択する。処理フローはステップS101の後、ステップS105に進む。 In step S101 of FIG. 3, the test control unit 210 selects, from the test database 291, for example, one unselected test data that needs to be newly executed or should be executed. For example, the test control unit 210 determines from the test database 291 shown in FIG. The test data of 1 is selected, and the test data of the next row is sequentially selected in the second and subsequent processes. The process flow proceeds from step S101 to step S105.

図6は、実施の形態1における試験データベース291の一例を示す図である。図6において、試験データベース291は、インバータ試験で使用する1つ以上の試験データを含むファイルであり、複数の試験データを含み、各試験データは「試験種類」「主回路容量」「モータ容量」「インバータ設定項目」「負荷初期条件」「期待値」を含む。以下、これらについて詳細説明する。 FIG. 6 is a diagram showing an example of the test database 291 according to the first embodiment. In FIG. 6, the test database 291 is a file including one or more test data used in the inverter test, and includes a plurality of test data, and each test data is “test type” “main circuit capacity” “motor capacity”. Includes "inverter setting item" "load initial condition" "expected value". Hereinafter, these will be described in detail.

(1)「試験種類」は、インバータ試験の種類を示す。「加速試験」「減速試験」はインバータ試験の種類の一例である。
(2)「主回路容量」は、主回路基板が出力する電力の大きさ(出力電力の電力値)を示す。
(3)「モータ容量」は、モータが出力する電力の大きさ(出力電力の電力値)を示す。
(4)「インバータ設定項目」は、インバータ装置110の設定項目の項目名(動作条件の条件名)及び設定値(条件値)を示す。「設定周波数」「加速時間」は設定項目の項目名の一例である。
(5)「初期周波数」は、試験開始前のインバータ装置110の周波数値を示す。
(6)「負荷条件」は、試験開始時にモータに掛ける負荷トルク量を示す。
(7)「期待値」は、制御基板111に期待(要求)される性能値を示す。例えば、「期待値」は、インバータ装置110が起動してからインバータ装置110の出力周波数が設定周
波数に達するまでの時間の目標値(目標時間)を示す。
(1) "Test type" indicates the type of inverter test. The “acceleration test” and “deceleration test” are examples of types of inverter tests.
(2) "Main circuit capacity" indicates the magnitude of power output by the main circuit board (power value of output power).
(3) “Motor capacity” indicates the magnitude of electric power output by the motor (power value of output electric power).
(4) “Inverter setting item” indicates the item name (condition name of operating condition) and setting value (condition value) of the setting item of the inverter device 110. “Set frequency” and “acceleration time” are examples of item names of setting items.
(5) “Initial frequency” indicates the frequency value of the inverter device 110 before the start of the test.
(6) "Load condition" indicates the amount of load torque applied to the motor at the start of the test.
(7) “Expected value” indicates a performance value expected (requested) for the control board 111. For example, the “expected value” indicates a target value (target time) of the time from when the inverter device 110 is activated until the output frequency of the inverter device 110 reaches the set frequency.

次いで、図3に戻り、ステップS105の処理から説明を続ける。 Next, returning to FIG. 3, the description will be continued from the processing of step S105.

ステップS105において、判定条件設定部252は、判定条件データベース293から判定条件データを必要な分だけ判定部251に登録する。例えば、判定条件設定部252は、図2に示す判定条件データベース293から試験に必要な行を選択する。処理フローはステップS105の処理の後、ステップS106に進む。 In step S105, the determination condition setting unit 252 registers the determination condition data from the determination condition database 293 in the determination unit 251 as much as necessary. For example, the determination condition setting unit 252 selects a row required for the test from the determination condition database 293 shown in FIG. The processing flow proceeds to step S106 after the processing of step S105.

図2は図1の判定条件データベース293の構成例を示す表である。図2において、判定条件データベース293は複数の判定条件データを含み、各判定条件データは「番号(No)」「監視データ」「条件」「基準値」「フィードバック番号」を含む。以下、これらについて詳細説明する。 FIG. 2 is a table showing a configuration example of the judgment condition database 293 of FIG. In FIG. 2, the determination condition database 293 includes a plurality of determination condition data, and each determination condition data includes “number (No)”, “monitoring data”, “condition”, “reference value”, and “feedback number”. Hereinafter, these will be described in detail.

(1)「監視データ」は、シミュレータ情報収集部232が取得する情報の種類を示す。
(2)「条件」は「監視データ」で取得する値と比較する演算子を示す。
(3)「基準値」は「判定条件データ」と比較する値を示す。
(4)「フィードバック番号」は、フィードバック部に送信する情報を示す。
(1) “Monitoring data” indicates the type of information acquired by the simulator information collecting unit 232.
(2) "Condition" indicates an operator that is compared with the value acquired by "monitoring data".
(3) "Reference value" indicates a value to be compared with "judgment condition data".
(4) "Feedback number" indicates information to be transmitted to the feedback unit.

図2から明らかなように、例えば、「判定条件データ」が周波数、「条件」が“>”、「基準値」が0の場合、シミュレータ情報収集部232で収集された「周波数情報」が0より低い場合、フィードバック番号“1”をフィードバック部に送信する。 As is apparent from FIG. 2, for example, when the “judgment condition data” is frequency, the “condition” is “>”, and the “reference value” is 0, the “frequency information” collected by the simulator information collecting unit 232 is 0. If it is lower, the feedback number "1" is transmitted to the feedback unit.

次いで、図3に戻り、ステップS106の処理から説明を続ける。 Next, returning to FIG. 3, the description will be continued from the processing of step S106.

ステップS106において、フィードバック条件設定部254は、フィードバックデータベース294のフィードバックデータをフィードバック部253に設定する。処理フローはステップS106の後、ステップS102に進む。 In step S106, the feedback condition setting unit 254 sets the feedback data of the feedback database 294 in the feedback unit 253. The process flow proceeds from step S106 to step S102.

図5は図1のフィードバックデータベース294の構成例を示す表である。図5において、フィードバックデータベース294は複数のフィードバックデータを含み、各フィードバックデータは「フィードバック番号」「更新情報」「式」を含む。以下、これらについて詳細説明する。 FIG. 5 is a table showing a configuration example of the feedback database 294 of FIG. In FIG. 5, the feedback database 294 includes a plurality of feedback data, and each feedback data includes “feedback number”, “update information”, and “expression”. Hereinafter, these will be described in detail.

(1)「フィードバック番号」は、判定部から送られてきた番号に対応する番号である。一意ではなく、複数の番号を記載できるものとする。
(2)「更新情報」は、シミュレータ設定部231に設定する情報の種類を示す。
(3)「式」は、シミュレータ設定部231に設定する値の計算式を示す。例えば、「式」の値が「0」の場合、「更新情報」で指定された情報に対して、「0」を設定するという意味となる。
(1) "Feedback number" is a number corresponding to the number sent from the determination unit. It is not unique and multiple numbers can be entered.
(2) “Update information” indicates the type of information set in the simulator setting unit 231.
(3) "Formula" indicates a formula for calculating the value set in the simulator setting unit 231. For example, when the value of “expression” is “0”, it means that “0” is set for the information specified by “update information”.

次いで、図3に戻り、ステップS102の処理から説明を続ける。 Next, returning to FIG. 3, the description will be continued from the processing of step S102.

ステップS102において、インバータ設定部221は、S101で選択された試験データからインバータ装置110の設定項目に設定する設定値を取得し、取得した設定値をインバータ装置110の設定項目に設定する。例えば、ステップS101で選択された試験データが図6のNo.1の試験データである場合、インバータ設定部221は、このNo.1の試験データから「設定周波数」の設定値「60Hz(ヘルツ)」と「加速時間」の設定値「5.0秒」とを取得する。そして、インバータ設定部221は、インバータ装置110と通信を行い、インバータ装置110の設定項目「設定周波数」「加速時間」に設定値「60Hz」「5.0秒」を設定する。処理フローは、ステップS102の後、ステップS103に進む。 In step S102, the inverter setting unit 221 acquires the setting value to be set in the setting item of the inverter device 110 from the test data selected in S101, and sets the acquired setting value in the setting item of the inverter device 110. For example, the test data selected in step S101 is No. 1 in FIG. If the test data is No. 1, the inverter setting unit 221 determines that the No. The setting value “60 Hz (hertz)” of “setting frequency” and the setting value “5.0 seconds” of “acceleration time” are acquired from the test data of 1. Then, the inverter setting unit 221 communicates with the inverter device 110 and sets the setting values “60 Hz” and “5.0 seconds” in the setting items “setting frequency” and “acceleration time” of the inverter device 110. The process flow proceeds to step S103 after step S102.

ステップS103において、シミュレータ設定部231は、ステップS101で選択された試験データから主回路容量の値を取得し、取得した主回路容量の値をシミュレーション装置300に送信する。ここで、主回路容量の値は主回路モデル391を指定する情報の一例である。シミュレーション装置300の主回路模擬部310は主回路容量の値を受信し、受信した主回路容量の値に対応する主回路モデル391を選択する。例えば、ステップS101で選択された試験データが図6のNo.1の試験データである場合、シミュレータ設定部231は、このNo.1の試験データから主回路容量の値「11kW(キロワット)」を取得し、取得した主回路容量の値をシミュレーション装置300に送信する。シミュレーション装置300の主回路模擬部310は主回路容量の値「11kW」を受信し、受信した値と同じ値に対応付けられた主回路モデル391の識別名「主回路001」を主回路管理データ392(図7参照)から取得する。そして、シミュレーション装置300の主回路模擬部310は、複数の主回路モデル391のうち、識別名「主回路001」で識別される主回路モデル391を選択する。処理フローは、ステップS103の後、ステップS104に進む。 In step S103, the simulator setting unit 231 acquires the value of the main circuit capacity from the test data selected in step S101, and transmits the acquired value of the main circuit capacity to the simulation apparatus 300. Here, the value of the main circuit capacity is an example of information that specifies the main circuit model 391. The main circuit simulation unit 310 of the simulation apparatus 300 receives the value of the main circuit capacity and selects the main circuit model 391 corresponding to the received value of the main circuit capacity. For example, the test data selected in step S101 is No. 1 in FIG. If the test data is No. 1, the simulator setting unit 231 determines that the No. The main circuit capacity value “11 kW (kilowatt)” is acquired from the test data of No. 1 and the acquired main circuit capacity value is transmitted to the simulation apparatus 300. The main circuit simulation unit 310 of the simulation device 300 receives the main circuit capacity value “11 kW” and sets the main circuit model 391 identification name “main circuit 001” associated with the same value as the received value to the main circuit management data. 392 (see FIG. 7). Then, the main circuit simulation unit 310 of the simulation apparatus 300 selects the main circuit model 391 identified by the identification name “main circuit 001” from the plurality of main circuit models 391. The process flow proceeds to step S104 after step S103.

図7は図1の主回路管理データ392の構成例を示す表である。図7において、主回路管理データ392は、主回路基板の種類(例えば、主回路容量)毎に主回路基板の種類と主回路モデル391とを対応付けるデータを含む。主回路管理データ392は、「主回路容量」「コンデンサ容量」「主回路モデル」を対応付けている。以下、これらについて詳細説明する。
(1)「主回路容量」は、主回路基板の種類を所定するための項目の一例である主回路容量の値を示す。
(2)「コンデンサ容量」は、主回路基板の種類を所定するための項目の一例であるコンデンサ容量の値を示す。コンデンサ容量は、主回路基板が備えるコンデンサのうち所定のコンデンサの静電容量の大きさである。
(3)「主回路モデル」は、主回路モデル391を識別する識別名を示す。
FIG. 7 is a table showing a configuration example of the main circuit management data 392 of FIG. In FIG. 7, the main circuit management data 392 includes data that associates the main circuit board type with the main circuit model 391 for each main circuit board type (for example, main circuit capacity). The main circuit management data 392 associates “main circuit capacity”, “capacitor capacity”, and “main circuit model” with each other. Hereinafter, these will be described in detail.
(1) "Main circuit capacity" indicates the value of the main circuit capacity, which is an example of an item for determining the type of the main circuit board.
(2) "Capacitor capacity" indicates the value of the capacitor capacity, which is an example of an item for determining the type of the main circuit board. The capacitor capacity is the magnitude of the electrostatic capacity of a predetermined capacitor among the capacitors included in the main circuit board.
(3) “Main circuit model” indicates an identification name for identifying the main circuit model 391.

図3に戻り、ステップS104の処理から説明を続ける。 Returning to FIG. 3, the description will be continued from the processing of step S104.

ステップS104において、シミュレータ設定部231は、ステップS101で選択された試験データからモータ容量の値を取得し、取得したモータ容量の値をシミュレーション装置300に送信する。モータ容量の値はモータモデル393を指定する情報の一例である。シミュレーション装置300のモータ模擬部320はモータ容量の値を受信し、受信したモータ容量の値に対応するモータモデル393を選択する。例えば、ステップS101で選択された試験データが図6のNo.1の試験データである場合、シミュレータ設定部231は、このNo.1の試験データからモータ容量の値「11kW」を取得し、取得したモータ容量の値をシミュレーション装置300に送信する。シミュレーション装置300のモータ模擬部320はモータ容量の値「11kW」を受信し、受信した値と同じ値に対応付けられたモータモデル393の識別名「モータ001」をモータ管理データ394(図8参照)から取得する。そして、シミュレーション装置300のモータ模擬部320は、複数のモータモデル393のうち、識別名「モータ001」で識別されるモータモデル393を選択する。 In step S104, the simulator setting unit 231 acquires the motor capacity value from the test data selected in step S101, and transmits the acquired motor capacity value to the simulation apparatus 300. The value of the motor capacity is an example of information designating the motor model 393. The motor simulation unit 320 of the simulation apparatus 300 receives the motor capacity value and selects the motor model 393 corresponding to the received motor capacity value. For example, the test data selected in step S101 is No. 1 in FIG. If the test data is No. 1, the simulator setting unit 231 determines that the No. The motor capacity value “11 kW” is acquired from the test data of No. 1, and the acquired motor capacity value is transmitted to the simulation device 300. The motor simulation unit 320 of the simulation device 300 receives the motor capacity value “11 kW” and sets the motor management data 394 (see FIG. 8) as the identification name “motor 001” of the motor model 393 associated with the same value as the received value. ). Then, the motor simulation unit 320 of the simulation device 300 selects the motor model 393 identified by the identification name “motor 001” from the plurality of motor models 393.

処理フローは、ステップS104の後、図4のステップS111に進む。 The processing flow proceeds to step S111 in FIG. 4 after step S104.

図8は図1のモータ管理データ394の構成例を示す表である。図8において、モータ管理データ394は、モータの種類(例えば、モータ容量)毎にモータの種類とモータモデル393とを対応付けるデータを含み、「モータ容量」「一次抵抗」「モータモデル」を対応付けている。以下、これらについて詳細説明する。 FIG. 8 is a table showing a configuration example of the motor management data 394 of FIG. In FIG. 8, the motor management data 394 includes data that associates a motor type and a motor model 393 for each motor type (for example, motor capacity), and associates “motor capacity”, “primary resistance”, and “motor model” with each other. ing. Hereinafter, these will be described in detail.

(1)「モータ容量」は、モータの種類を所定するための項目の一例であるモータ容量の値を示す。
(2)「一次抵抗」は、モータの種類を所定するための項目の一例である一次抵抗の値を示す。一次抵抗は、モータが備える一次抵抗のうち所定の一次抵抗の大きさである。
(3)「モータモデル」は、モータモデル393を識別する識別名を示す。
(1) "Motor capacity" indicates the value of the motor capacity, which is an example of an item for determining the type of motor.
(2) “Primary resistance” indicates the value of the primary resistance, which is an example of an item for determining the type of motor. The primary resistance is a magnitude of a predetermined primary resistance among the primary resistances included in the motor.
(3) “Motor model” indicates an identification name for identifying the motor model 393.

図4は、インバータ試験処理のうち、加速試験及び減速試験の試験手順を含む。 FIG. 4 includes test procedures of an acceleration test and a deceleration test in the inverter test process.

図4のステップS111において、インバータ制御部222はインバータ装置110と通信を行い、インバータ装置110を起動する。インバータ装置110が起動すると、インバータ装置110の制御基板111は基板に搭載された制御ソフトウェアの実行を開始する。以後、インバータ装置110及びシミュレーション装置300は以下のように動作する。 In step S111 of FIG. 4, the inverter control unit 222 communicates with the inverter device 110 and activates the inverter device 110. When the inverter device 110 starts up, the control board 111 of the inverter device 110 starts executing the control software installed on the board. After that, the inverter device 110 and the simulation device 300 operate as follows.

インバータ装置110の制御基板111は、徐々に増加させる出力周波数が、加速時間(設定時間)が経過するときに設定周波数に達するように、シミュレーション装置300に指令信号を出力する。シミュレーション装置300は指令信号を入力し、シミュレーション装置300の主回路模擬部310は指令信号の特性に応じて主回路基板の出力周波数を模擬する。ここで、主回路基板の出力周波数はインバータ装置110の出力周波数に相当する。また、モータ模擬部320は、主回路模擬部310によって模擬された主回路基板の出力周波数及び負荷模擬部330によって模擬される負荷装置の負荷トルクに応じて、モータの回転周波数を模擬する。また、主回路模擬部310は、モータ模擬部320によって模擬されたモータの回転周波数に応じて、主回路基板から制御基板111へのフィードバック電流を模擬する。そして、インバータ装置110の制御基板111は、模擬されたフィードバック電流を入力し、フィードバック電流の特性(例えば、電流の大きさ)に応じて指令信号を制御する。処理フローは、ステップS111の後、ステップS114に進む。 The control board 111 of the inverter device 110 outputs a command signal to the simulation device 300 so that the gradually increasing output frequency reaches the set frequency when the acceleration time (set time) elapses. The simulation device 300 inputs a command signal, and the main circuit simulation unit 310 of the simulation device 300 simulates the output frequency of the main circuit board according to the characteristics of the command signal. Here, the output frequency of the main circuit board corresponds to the output frequency of the inverter device 110. Further, the motor simulation unit 320 simulates the rotation frequency of the motor according to the output frequency of the main circuit board simulated by the main circuit simulation unit 310 and the load torque of the load device simulated by the load simulation unit 330. Further, the main circuit simulation section 310 simulates a feedback current from the main circuit board to the control board 111 according to the rotation frequency of the motor simulated by the motor simulation section 320. Then, the control board 111 of the inverter device 110 inputs the simulated feedback current and controls the command signal according to the characteristics of the feedback current (for example, the magnitude of the current). The process flow proceeds to step S114 after step S111.

次いで、ステップS114において、シミュレータ情報収集部232はシミュレーション装置300と通信を行い、モータ模擬部320の出力周波数(モータ回転数)の現在値を取得した後、処理フローはステップS115に進む。ステップS115において、シミュレータ情報収集部232は、ステップS114で取得した出力周波数の現在値と、ステップS101で選択された試験データに含まれる初期周波数の設定値とを比較する。ここで、出力周波数の現在値が設定周波数の設定値である場合(YES)、処理フローはステップS112に進む一方、出力周波数の現在値が設定周波数の設定値でない場合(NO)、処理フローはステップS114に戻る。 Next, in step S114, the simulator information collection unit 232 communicates with the simulation device 300 to acquire the current value of the output frequency (motor rotation speed) of the motor simulation unit 320, and then the processing flow proceeds to step S115. In step S115, the simulator information collecting unit 232 compares the current value of the output frequency acquired in step S114 with the setting value of the initial frequency included in the test data selected in step S101. Here, if the current value of the output frequency is the set value of the set frequency (YES), the process flow proceeds to step S112, while if the current value of the output frequency is not the set value of the set frequency (NO), the process flow is It returns to step S114.

ステップS112において、時間測定部241は試験時間の測定を開始した後、ステップS121において、シミュレータ情報収集部232はシミュレーション装置300と通信を行い、モータ模擬部の出力周波数(モータ回転数)の現在値を取得する。次いで、ステップS124において、判定部251は、ステップS105で設定された判定条件データの判定条件データ、条件、基準値を比較し、一致する行がある場合(YES)、処理フローはステップS125に進む一方、一致する行がない場合(NO)、処理フローはステップS122に進む。 In step S112, the time measuring unit 241 starts measuring the test time, and then in step S121, the simulator information collecting unit 232 communicates with the simulation device 300, and outputs the current value of the output frequency (motor rotation speed) of the motor simulation unit. To get Next, in step S124, the determination unit 251 compares the determination condition data of the determination condition data set in step S105, the condition, and the reference value, and if there is a matching row (YES), the process flow proceeds to step S125. On the other hand, if there is no matching row (NO), the process flow proceeds to step S122.

ステップS125において、判定部251は、ステップS124で一致した行のフィードバック番号をフィードバック部253に送信し、ステップS126において、フィードバック部はステップS106で設定されたフィードバックデータのフィードバック番号と判定部から送信されたフィードバック番号を比較し、該当するフィードバックデータの行がある場合は、フィードバックデータの更新情報と式に基づきシミュレータ設定部を更新した後、処理フローはステップS331に進む。 In step S125, the determination unit 251 transmits the feedback number of the matched line in step S124 to the feedback unit 253, and in step S126, the feedback unit transmits the feedback data feedback number set in step S106 and the determination unit. The feedback numbers are compared, and if there is a row of the corresponding feedback data, the simulator setting unit is updated based on the update information of the feedback data and the formula, and then the processing flow proceeds to step S331.

ステップS122において、シミュレータ情報収集部232は、ステップS121で取得した出力周波数の現在値と、ステップS101で選択された試験データに含まれる設定周波数の設定値とを比較する。この際、加速試験の場合は「出力周波数≧設定周波数」、減速試験の場合は「出力周波数<設定周波数」となる。以下では、加速試験を例に説明する。 In step S122, the simulator information collecting unit 232 compares the current value of the output frequency acquired in step S121 with the setting value of the setting frequency included in the test data selected in step S101. At this time, “output frequency≧set frequency” in the case of the acceleration test, and “output frequency<set frequency” in the case of the deceleration test. Hereinafter, the acceleration test will be described as an example.

ステップS122において、出力周波数の現在値が設定周波数の設定値以上である場合(YES)、処理フローはステップS131に進む一方、出力周波数の現在値が設定周波数の設定値未満である場合(NO)、処理フローはステップS121に戻る。 In step S122, if the current value of the output frequency is greater than or equal to the set value of the set frequency (YES), the process flow proceeds to step S131, while if the current value of the output frequency is less than the set value of the set frequency (NO). The processing flow returns to step S121.

ステップS131において、時間測定部241は試験時間の測定を終了し、ステップS132において、インバータ制御部222はインバータ装置110と通信を行い、インバータ装置110を停止する。インバータ装置110が停止すると、インバータ装置110の制御基板111は制御ソフトウェアの実行を終了し、処理フローはステップS141に進む。なお、図4の処理において、ステップS131とステップS132とは順番を入れ替えても構わず、ステップS131とステップS132とが同時に実行されても構わない。 In step S131, the time measuring unit 241 finishes measuring the test time, and in step S132, the inverter control unit 222 communicates with the inverter device 110 and stops the inverter device 110. When the inverter device 110 stops, the control board 111 of the inverter device 110 ends the execution of the control software, and the process flow proceeds to step S141. In the process of FIG. 4, step S131 and step S132 may be interchanged in order, and step S131 and step S132 may be executed at the same time.

ステップS141において、試験結果判定部242は、時間測定部241によって測定された試験時間の長さと、ステップS101で選択された試験データに含まれる期待値が示す加速時間の長さとに基づいて、制御基板111の合否判定を行う。例えば、試験時間の長さと期待値との差が合格範囲内(例えば、0.1秒以下)である場合、試験結果判定部242は制御基板111が合格要件を満たしていると判定する(合格判定)。そうでない場合、試験結果判定部242は制御基板111が合格要件を満たしていないと判定する(不合格判定)。但し、試験結果判定部242は、試験データに含まれる期待値の代わりに試験データに含まれる加速時間の設定値を用いて、制御基板111の合否判定を行っても構わない。ステップS141の後、処理フローはS142に進む。 In step S141, the test result determination unit 242 performs control based on the length of the test time measured by the time measuring unit 241 and the length of the acceleration time indicated by the expected value included in the test data selected in step S101. The pass/fail judgment of the substrate 111 is performed. For example, when the difference between the length of the test time and the expected value is within the pass range (for example, 0.1 seconds or less), the test result determination unit 242 determines that the control board 111 satisfies the pass requirement (pass. Judgment). If not, the test result determination unit 242 determines that the control board 111 does not satisfy the pass requirement (failure determination). However, the test result determination unit 242 may use the set value of the acceleration time included in the test data instead of the expected value included in the test data to perform the pass/fail determination of the control board 111. After step S141, the processing flow proceeds to S142.

ステップS142において、試験制御部210は、S101で選択した試験データ、時間測定部241によって測定された試験時間及びS141で得られた合否判定の結果などを含む試験結果データを生成する。そして、試験制御部210は、生成した試験結果データを試験結果データベース292に追加で設定する。例えば、試験制御部210は、試験データの番号と試験時間と合否判定の結果とを含む試験データを生成し、生成した試験データを試験結果データベース292に追加することによって、図9の試験結果データベース292を生成する。図9は図1の試験結果データベース292の構成例を示す表である。ステップS142の後、処理フローはステップS191に進む。 In step S142, the test control unit 210 generates test result data including the test data selected in S101, the test time measured by the time measuring unit 241, and the result of the pass/fail judgment obtained in S141. Then, the test control unit 210 additionally sets the generated test result data in the test result database 292. For example, the test control unit 210 generates test data including the test data number, the test time, and the result of the pass/fail judgment, and adds the generated test data to the test result database 292. 292 is generated. FIG. 9 is a table showing a configuration example of the test result database 292 of FIG. After step S142, the process flow proceeds to step S191.

ステップS191において、試験制御部210は、図3のステップS101で選択していない試験データが試験データベース291に残っているか否かを判定する。未選択の試験データが残っている場合(YES)、処理フローは図3のステップS101に戻る一方、未選択の試験データが残っていない場合(NO)、インバータ試験処理は終了する。 In step S191, the test control unit 210 determines whether the test data not selected in step S101 of FIG. 3 remains in the test database 291. If the unselected test data remains (YES), the process flow returns to step S101 in FIG. 3, while if the unselected test data does not remain (NO), the inverter test process ends.

以上の加速試験により、目標の加速時間が経過するときにインバータ装置110の出力周波数を設定周波数に達するように主回路基板を制御できるか否かについて、インバータ装置110の制御基板111を試験することができる。 By the above acceleration test, the control board 111 of the inverter device 110 is tested as to whether or not the main circuit board can be controlled so that the output frequency of the inverter device 110 reaches the set frequency when the target acceleration time elapses. You can

以上のインバータ試験処理により、インバータ装置110の設定、インバータ試験の実行、制御基板111の合否判定及び試験結果データの保存を自動で実施することができる。但し、上記のインバータ装置110の設定項目、インバータ試験の種類、合否判定の方法及び試験結果データの内容は一例であり、上記の内容に限られない。 By the above inverter test processing, the setting of the inverter device 110, the execution of the inverter test, the pass/fail judgment of the control board 111, and the saving of the test result data can be automatically performed. However, the setting items of the inverter device 110, the type of the inverter test, the pass/fail judgment method, and the contents of the test result data are examples, and the present invention is not limited to the above contents.

なお、シミュレーション装置300は、以下のソフトウェアを用いて実装することができる。コンピュータを用いてシミュレーションを行うリアルタイムソフトウェアとしてNEAT社のRT−LAB(登録商標)というソフトウェアが実用化されている。このソフトウェアは、MathWorks社のMATLAB/simulinkで作成されたシミュレーションモデルをOPAL−RT Technologies Inc社のリアルタイムシミュレータによってシミュレーションする仕組みを提供する。 The simulation device 300 can be implemented using the following software. RT-LAB (registered trademark) software of NEAT Co. has been put into practical use as real-time software for performing simulation using a computer. This software provides a mechanism for simulating a simulation model created by MATLAB/simlink of MathWorks by a real-time simulator of OPAL-RT Technologies Inc.

図10は図1のインバータ試験装置200のハードウェア構成例を示すブロック図である。 FIG. 10 is a block diagram showing a hardware configuration example of the inverter test device 200 of FIG.

図10において、インバータ試験装置200は例えばコンピュータで構成され、演算装置901、補助記憶装置902、主記憶装置903、通信装置904及び入出力装置905を備える。ここで、演算装置901、補助記憶装置902、主記憶装置903、通信装置904及び入出力装置905はバス909を介して接続される。 In FIG. 10, the inverter test apparatus 200 is composed of, for example, a computer, and includes a computing device 901, an auxiliary storage device 902, a main storage device 903, a communication device 904, and an input/output device 905. Here, the arithmetic device 901, the auxiliary storage device 902, the main storage device 903, the communication device 904, and the input/output device 905 are connected via a bus 909.

演算装置901は、プログラムを実行するCPU(Central Processing Unit)を備えて構成される。補助記憶装置902は、例えば、ROM(Read Only Memory)、フラッシュメモリ又はハードディスク装置で構成される。主記憶装置903は、例えば、RAM(Random Access Memory)で構成される。通信装置904は、有線又は無線でインターネット、LAN(ローカルエリアネットワーク)、電話回線網又はその他のネットワークを介して通信を行う。入出力装置905は、例えば、マウス、キーボード、ディスプレイ装置を含み構成される。 The arithmetic unit 901 includes a CPU (Central Processing Unit) that executes a program. The auxiliary storage device 902 is composed of, for example, a ROM (Read Only Memory), a flash memory, or a hard disk device. The main storage device 903 is composed of, for example, a RAM (Random Access Memory). The communication device 904 performs wired or wireless communication via the Internet, a LAN (local area network), a telephone network, or another network. The input/output device 905 includes, for example, a mouse, a keyboard, and a display device.

プログラムは、通常は補助記憶装置902に記憶されており、主記憶装置903にロードされ、演算装置901に読み込まれ、演算装置901によって実行される。例えば、オペレーティングシステム(OS)が補助記憶装置902に記憶される。また、インバータ試験装置200において「〜部」として説明している機能を実現するプログラム(インバータ試験プログラムの一例)が補助記憶装置902に記憶される。そして、OS及び「〜部」として説明している機能を実現するプログラムは主記憶装置903にロードされ、演算装置901によって実行される。 The program is usually stored in the auxiliary storage device 902, loaded into the main storage device 903, read into the arithmetic device 901, and executed by the arithmetic device 901. For example, an operating system (OS) is stored in the auxiliary storage device 902. In addition, a program (an example of an inverter test program) that realizes the functions described as “-unit” in the inverter test device 200 is stored in the auxiliary storage device 902. Then, the OS and the program that realizes the functions described as “-unit” are loaded into the main storage device 903 and executed by the arithmetic device 901.

「〜の判断」、「〜の判定」、「〜の抽出」、「〜の検知」、「〜の設定」、「〜の登録」、「〜の選択」、「〜の生成」、「〜の入力」、「〜の出力」等の処理の結果を示す情報、データ、信号値又は変数値が主記憶装置903又は補助記憶装置902にファイルとして記憶される。また、インバータ試験装置200が使用するその他のデータが主記憶装置903又は補助記憶装置902に記憶される。 “Judgment of”, “Judgment of”, “Extraction of”, “Detection of”, “Setting of”, “Registration of”, “Selection of”, “Generation of”, “~ Information, data, signal value or variable value indicating the result of processing such as “input”, “output of”, etc. is stored as a file in the main storage device 903 or the auxiliary storage device 902. Further, other data used by the inverter test device 200 is stored in the main storage device 903 or the auxiliary storage device 902.

なお、図10は実施の形態1におけるインバータ試験装置200のハードウェア構成の一例を示すものであり、インバータ試験装置200のハードウェア構成は図10に示す構成と異なる構成であってもよい。なお、シミュレーション装置300のハードウェア構成もインバータ試験装置200と同様である。実施の形態1に係る処理の方法(インバータ試験方法の一例)は、フローチャート等を用いて説明している手順、又は、それとは一部異なる手順によって実現することができる。 10 shows an example of the hardware configuration of the inverter test apparatus 200 according to the first embodiment, and the hardware configuration of the inverter test apparatus 200 may be different from the configuration shown in FIG. The hardware configuration of the simulation device 300 is similar to that of the inverter test device 200. The processing method according to the first embodiment (an example of an inverter test method) can be implemented by the procedure described using a flowchart or the like, or a procedure partially different from the procedure described.

以上説明したように、本実施の形態によれば、例えばHILS技術を利用した制御装置試験環境において、主回路基板はモータの現在の回転周波数に応じて電流を制御基板111にフィードバックし、制御基板111は主回路基板からフィードバックされる電流の特性に応じて指令を制御することで、シミュレーションを実行した情報をインバータ試験装置にフィードバックすることが可能となり、制御装置に対して現在状況に応じて従来よりも臨機応変な試験を行うことができる。 As described above, according to the present embodiment, for example, in the control device test environment using the HILS technology, the main circuit board feeds back the current to the control board 111 according to the current rotation frequency of the motor, and the control board By controlling the command in accordance with the characteristics of the current fed back from the main circuit board, the 111 can feed back the simulation execution information to the inverter test apparatus, and the control apparatus can be controlled according to the current situation. More flexible test can be performed.

実施の形態2.
図11は実施の形態2に係るインバータ試験システム100Aの構成例を示すブロック図である。図11のインバータ試験システム100Aは、図1のインバータ試験システム100に比較して以下の点が異なる。
(1)インバータ試験装置200に代えてインバータ試験装置200Aを備える。
(2)インバータ試験装置200Aは、インバータ試験装置200に比較して、インバータ情報収集部223、シミュレータ設定記録部261、試験再現部263、変更情報データベース295、インバータ操作情報データベース296、シミュレータ設定データベース297を追加したこと。
以下の相違点について説明する。
Embodiment 2.
FIG. 11 is a block diagram showing a configuration example of an inverter test system 100A according to the second embodiment. The inverter test system 100A of FIG. 11 differs from the inverter test system 100 of FIG. 1 in the following points.
(1) An inverter test apparatus 200A is provided instead of the inverter test apparatus 200.
(2) Compared with the inverter test device 200, the inverter test device 200A has an inverter information collection unit 223, a simulator setting recording unit 261, a test reproduction unit 263, a change information database 295, an inverter operation information database 296, and a simulator setting database 297. Was added.
The following differences will be described.

図11のインバータ試験システム100は、例えばインバータ装置110を手動で操作し、試験された場合において、その試験を自動で再現できる。インバータ情報収集部223は、インバータ装置110から操作情報を収集し、インバータ操作情報データをインバータ操作情報データベース296に登録することを特徴とする。 The inverter test system 100 of FIG. 11 can automatically reproduce the test when the inverter device 110 is manually operated and tested. The inverter information collection unit 223 is characterized by collecting operation information from the inverter device 110 and registering the inverter operation information data in the inverter operation information database 296.

図14は図11のインバータ操作情報データベース296を示す表である。収集する操作情報の一例として、インバータ装置110の出力周波数及び加速時間などが挙げられる。インバータ操作情報データは例えば図14のようなマトリクス形式のデータ構造を有しており、「インバータ変更番号」、「更新情報」、「値」の列を有する。 FIG. 14 is a table showing the inverter operation information database 296 of FIG. Examples of the operation information to be collected include the output frequency and the acceleration time of the inverter device 110. The inverter operation information data has a matrix-type data structure as shown in FIG. 14, for example, and has columns of “inverter change number”, “update information”, and “value”.

図11において、シミュレータ設定記録部261は制御装置試験システムの一部であり、シミュレータ設定部231のシミュレータ設定データを記録し、シミュレータ設定データベース297に登録する。シミュレータ設定データを記録するタイミングは、シミュレータ設定部231の値が変更されたとき、もしくはシミュレータ設定部231の値が初期化されたときである。試験再現部263は制御装置試験システムの一部であり、前記シミュレータ設定記録部261が生成したシミュレータ設定データと、インバータ情報収集部223が生成したインバータ操作情報データと時間測定部が計測した時間情報を組み合わせることで、インバータ装置110に対する手動操作による試験を再現する。 In FIG. 11, a simulator setting recording unit 261 is a part of the control device test system, records simulator setting data of the simulator setting unit 231, and registers it in the simulator setting database 297. The timing of recording the simulator setting data is when the value of the simulator setting unit 231 is changed or when the value of the simulator setting unit 231 is initialized. The test reproducing unit 263 is a part of the control device test system, and includes simulator setting data generated by the simulator setting recording unit 261, inverter operation information data generated by the inverter information collecting unit 223, and time information measured by the time measuring unit. By combining the above, the test by the manual operation on the inverter device 110 is reproduced.

図12は図11のインバータ試験装置200Aにより実行される試験記録処理を示すフローチャートである。 FIG. 12 is a flowchart showing the test recording process executed by the inverter test apparatus 200A of FIG.

図12のステップS200において、時間測定部241は時間計測を開始する。時間計測の開始条件は問わず、インバータ装置110の電源を入れたときでも時間開始を指定できる装置があってもよい。ステップS200の後は、処理フローはステップS201に進む。 In step S200 of FIG. 12, the time measuring unit 241 starts time measurement. Regardless of the condition for starting the time measurement, there may be a device that can specify the time start even when the inverter device 110 is powered on. After step S200, the process flow proceeds to step S201.

ステップS201において、シミュレータ設定記録部261はステップS200が発生した時点のシミュレータ設定をフィードバックデータベース294に記録する。例えば、シミュレータ設定部231においてトルク負荷0が設定されていた場合は、図5のフィードバック番号1の行のように、データを記録する。図5の場合、設定値の例が負荷トルク、周波数であるが、主回路容量やモータ容量(図6参照)の設定があってもよい。ステップS201の後に、処理フローはステップS202に進む。 In step S201, the simulator setting recording unit 261 records the simulator setting at the time when step S200 occurs in the feedback database 294. For example, when the torque load 0 is set in the simulator setting unit 231, the data is recorded as in the row of feedback number 1 in FIG. In the case of FIG. 5, load torque and frequency are examples of set values, but main circuit capacity and motor capacity (see FIG. 6) may be set. After step S201, the process flow proceeds to step S202.

なお、フィードバックデータベース294において、フィードバック番号が同じ値の場合、同時期に起こるフィードバックと捉える。例えば、ステップS200が発生した時点で負荷トルクが0、主回路容量が11kW、モータ容量が11kwであった場合、全て同じフィードバック番号でフィードバックデータベース294に登録されるものとする。 If the feedback numbers in the feedback database 294 are the same, it is considered that the feedbacks occur at the same time. For example, if the load torque is 0, the main circuit capacity is 11 kW, and the motor capacity is 11 kW when step S200 occurs, it is assumed that all are registered in the feedback database 294 with the same feedback number.

ステップS202において、インバータ情報収集部223はインバータ操作情報データを記録し、図14のインバータ操作情報データベース296に記録し、処理フローはS203に進む。以下、図14のインバータ操作情報データベース296の項目について説明する。 In step S202, the inverter information collection unit 223 records the inverter operation information data and records it in the inverter operation information database 296 in FIG. 14, and the processing flow proceeds to S203. The items of the inverter operation information database 296 of FIG. 14 will be described below.

(1)「インバータ変更番号」はインバータ情報収集部が収集したインバータの操作の順番を示す。例えばインバータ装置に対して一番初めに複数の操作がされた場合は、図14のようにインバータ変更番号の値が1の行が複数記録される。
(2)「更新情報」はインバータ装置110のどの設定値が操作されたかを示す。例えば周波数が操作された場合、図14のインバータ変更番号1の行のように更新情報の値として「周波数」が登録される。
(3)「値」はインバータ情報収集部223が取得した時点での「更新情報」の設定値である。
(1) "Inverter change number" indicates the order of operation of the inverter collected by the inverter information collection unit. For example, when a plurality of operations are performed on the inverter device for the first time, a plurality of rows in which the value of the inverter change number is 1 are recorded as shown in FIG.
(2) “Update information” indicates which set value of the inverter device 110 has been operated. For example, when the frequency is operated, “frequency” is registered as the value of the update information as in the row of the inverter change number 1 in FIG.
(3) The “value” is the set value of the “update information” at the time when the inverter information collection unit 223 acquired it.

ステップS203において、時間測定部241は時間と変更番号を記録し、変更情報データベース295に変更データを記録し、処理フローはステップS210に進む。 In step S203, the time measuring unit 241 records the time and the change number, records the change data in the change information database 295, and the process flow proceeds to step S210.

図13は図11の変更情報データベース295を示す表である。図13において、変更情報データベース295の変更情報データは、インバータ情報収集部223やシミュレータ設定記録部261の動作を記録するために提供される。変更情報データの構造は、例えば図13のマトリクス形式を有し、「操作番号」、「時間」、「変更番号」に「試験データベース番号」、「フィードバック番号」の列を有する。以下、これらについて詳細説明する。 FIG. 13 is a table showing the change information database 295 of FIG. In FIG. 13, the change information data of the change information database 295 is provided to record the operation of the inverter information collecting unit 223 and the simulator setting recording unit 261. The structure of the change information data has, for example, the matrix format of FIG. 13, and has columns of “operation number”, “time”, “change number”, “test database number”, and “feedback number”. Hereinafter, these will be described in detail.

(1)「操作番号」は、インバータ情報収集部223やシミュレータ設定記録部261に対する変更順を示す値である。
(2)「時間」は、インバータ情報収集部223やシミュレータ設定記録部261に対して変更があった時間を示す値である。
(3)「試験データベース番号」は、インバータ操作情報データベース296内のインバータ操作情報データのインバータ変更番号に相当する。
(4)「フィードバック番号」は、フィードバックデータベース294のフィードバックデータにおけるフィードバック番号に相当する。
(1) The “operation number” is a value indicating the order of changes to the inverter information collection unit 223 and the simulator setting recording unit 261.
(2) “Time” is a value indicating the time when there is a change in the inverter information collection unit 223 or the simulator setting recording unit 261.
(3) “Test database number” corresponds to the inverter change number of the inverter operation information data in the inverter operation information database 296.
(4) “Feedback number” corresponds to the feedback number in the feedback data of the feedback database 294.

ステップS210において、インバータ情報収集部223はインバータ装置110に対する手動操作を監視し、シミュレータ設定記録部261はインバータ試験装置200のシミュレータ設定部231に対する変更を監視する。インバータ装置110が操作されてインバータ設定変更の場合(A)はステップS211に進む。また、シミュレータ設定部231が操作されてシミュレータ設定変更の場合(B)はステップS212に進む。さらに、インバータ装置110が停止された場合(C)はステップS220に進む。ステップS220に進む場合において、条件は必ずしもインバータ装置110の停止でなくとも良い。 In step S210, the inverter information collecting unit 223 monitors a manual operation on the inverter device 110, and the simulator setting recording unit 261 monitors a change on the simulator setting unit 231 of the inverter test device 200. When the inverter device 110 is operated and the inverter setting is changed (A), the process proceeds to step S211. If the simulator setting unit 231 is operated to change the simulator setting (B), the process proceeds to step S212. Furthermore, when the inverter device 110 is stopped (C), the process proceeds to step S220. In the case of proceeding to step S220, the condition does not necessarily have to be the stop of the inverter device 110.

ステップS211において、インバータ情報収集部223がインバータに対する操作を記録し、インバータ操作情報データベース296に登録し、処理フローはステップS213に進む。ステップS212において、シミュレータ設定記録部261はステップS200が発生した時点のシミュレータ設定をフィードバックデータベース294に記録し、処理フローはステップS213に進む。次いで、ステップS213において、時間測定部241は時間と変更番号を記録し、変更情報データベース295に変更データを記録し、処理フローはステップS210に戻る。 In step S211, the inverter information collecting unit 223 records the operation on the inverter and registers it in the inverter operation information database 296, and the processing flow proceeds to step S213. In step S212, the simulator setting recording unit 261 records the simulator setting at the time when step S200 occurs in the feedback database 294, and the processing flow proceeds to step S213. Next, in step S213, the time measuring unit 241 records the time and the change number, records the change data in the change information database 295, and the process flow returns to step S210.

ステップS220において、時間測定部241は時間と変更番号を記録し、変更情報データベース295に変更データを記録し、処理フローはステップS221に進む。この際、変更情報データベース(図13)のインバータ変更番号列の値とフィードック番号の値はいずれも「−」とする。次いで、ステップS221において、時間測定部241が時間計測を停止し、当該試験記録処理を終了する。これにより、手動による試験を再現するためのデータを作成することができる。 In step S220, the time measuring unit 241 records the time and the change number, records the change data in the change information database 295, and the process flow proceeds to step S221. At this time, the value of the inverter change number string and the value of the feed number in the change information database (FIG. 13) are both "-". Next, in step S221, the time measuring unit 241 stops the time measurement and ends the test recording process. This makes it possible to create data for reproducing a manual test.

次に手動による試験を再現する方法について説明する。 Next, a method of reproducing the manual test will be described.

試験の再現は試験再現部263で実施される。試験再現部263は変更情報データベース295(図13)に従って、インバータ設定部221、インバータ制御部222、シミュレータ設定部231を操作することで試験を再現する。 The test reproduction is performed by the test reproduction unit 263. The test reproduction unit 263 reproduces the test by operating the inverter setting unit 221, the inverter control unit 222, and the simulator setting unit 231 according to the change information database 295 (FIG. 13).

図15は図11のインバータ試験装置200Aにより実行される試験再現処理を示すフローチャートである。 FIG. 15 is a flowchart showing the test reproduction process executed by the inverter test apparatus 200A of FIG.

図15のステップS300において、試験再現部263はインバータ制御部222にインバータ装置110を起動するよう指令を出力する。次いで、ステップS301において、試験再現部263が所定の待ち時間だけ当該処理を待機した後、処理フローはステップS302に進む。当該待ち時間は変更情報データの時間列に基づいて計算され、(今回の時間−前回の時間)である。ただし、最初の処理であって、変更情報データの変更番号が1の場合は待ち時間は0である。例えば、図13の操作番号の値が2の場合、今回の時間は0:10(0時間10分を表し、以下同様である)、前回の時間(操作番号1の時間)は0:00なので、0:10−0:00で0:10時間待機する。 In step S300 of FIG. 15, the test reproduction unit 263 outputs a command to the inverter control unit 222 to activate the inverter device 110. Next, in step S301, the test reproduction unit 263 waits for the processing for a predetermined waiting time, and then the processing flow proceeds to step S302. The waiting time is calculated based on the time sequence of the change information data and is (current time-previous time). However, in the first process, when the change number of the change information data is 1, the waiting time is 0. For example, when the value of the operation number in FIG. 13 is 2, the current time is 0:10 (represents 0 hours and 10 minutes, and the same applies hereinafter), and the previous time (operation number 1 time) is 0:00. , 0:10-0:00 and wait 0:10 hours.

ステップS302において、試験再現部263が変更情報データのインバータ変更番号とフィードバックの値がいずれも「−」であるか否かを確認し、YESの場合、当該再現試験処理を終了する一方、NOの場合は、処理フローはステップS303に進む。 In step S302, the test reproduction unit 263 confirms whether the inverter change number and the feedback value of the change information data are both "-". If YES, the reproduction test process is ended, while NO is returned. If so, the process flow proceeds to step S303.

ステップS303において、試験再現部263が変更情報データのインバータ変更番号列の値を確認し、値に応じてインバータ設定部221に指令を出力し、処理フローはステップS304に進む。例えば変更情報データのインバータ変更番号列の値が1であった場合、インバータ操作情報データベース296(図14)の1に対応する処理をインバータ設定部に実行させる。 In step S303, the test reproduction unit 263 confirms the value of the inverter change number string of the change information data, outputs a command to the inverter setting unit 221 according to the value, and the process flow proceeds to step S304. For example, when the value of the inverter change number string of the change information data is 1, the inverter setting unit is caused to execute the process corresponding to 1 in the inverter operation information database 296 (FIG. 14).

次いで、ステップS304において、試験再現部263が変更情報データのフィードバック設定番号列の値を確認し、値に応じてフィードバック部253に指令を出力し、処理フローはステップS305に進む。例えば変更情報データのフィードバック設定変更番号列の値が1であった場合、フィードバックデータ(図5)の1に対応する処理をフィードバック部253に実行させる。フィードバック部253はシミュレータ設定部231に当該値を反映し、シミュレータ設定部231はシミュレーション装置300に当該値を反映する。 Next, in step S304, the test reproduction unit 263 confirms the value of the feedback setting number string of the change information data, outputs a command to the feedback unit 253 according to the value, and the process flow proceeds to step S305. For example, when the value of the feedback setting change number string of the change information data is 1, the feedback unit 253 is caused to execute the process corresponding to 1 of the feedback data (FIG. 5). The feedback unit 253 reflects the value in the simulator setting unit 231, and the simulator setting unit 231 reflects the value in the simulation device 300.

ステップS305において、試験再現部263は変更情報データで実行する行を次に進め、処理フローはステップS301に戻る。例えば、操作番号1の場合はNo2に行を進める。 In step S305, the test reproduction unit 263 advances the line to be executed by the change information data to the next line, and the process flow returns to step S301. For example, if the operation number is 1, the line advances to No2.

以上の試験再現処理において、ステップS302からステップS305を繰り返し実行することで、変更情報データに記載された手動操作を実行することができ、以上により、手動による試験を再現できる。 In the test reproduction process described above, the manual operation described in the change information data can be executed by repeatedly executing step S302 to step S305, and as a result, the manual test can be reproduced.

以上説明したように、本実施の形態によれば、例えばHILS技術を利用した制御装置試験環境において、主回路基板はモータの現在の回転周波数に応じて電流を制御基板111にフィードバックし、制御基板111は主回路基板からフィードバックされる電流の特性に応じて指令を制御することで、シミュレーションを実行した情報をインバータ試験装置にフィードバックすることが可能となり、制御装置に対して現在状況に応じて従来よりも臨機応変な試験を行うことができる。 As described above, according to the present embodiment, for example, in the control device test environment using the HILS technology, the main circuit board feeds back the current to the control board 111 according to the current rotation frequency of the motor, and the control board By controlling the command in accordance with the characteristics of the current fed back from the main circuit board, the 111 can feed back the simulation execution information to the inverter test apparatus, and the control apparatus can be controlled according to the current situation. More flexible test can be performed.

産業上の利用分野Industrial applications

以上詳述したように、本発明によれば、例えばHILS技術を利用した制御装置試験環境において、制御装置に対して臨機応変な試験を行うことができる。 As described above in detail, according to the present invention, it is possible to flexibly test the control device in the control device test environment using the HILS technique, for example.

100,100A インバータ試験システム、110 インバータ装置、111 制御基板、200,200A インバータ試験装置、210 試験制御部、221 インバータ設定部、222 インバータ制御部、223 インバータ情報収集部、231 シミュレータ設定部、232 シミュレータ情報収集部、241 時間測定部、242 試験結果判定部、251 判定部、252 判定条件設定部、253 フィードバック部、254 フィードバック条件設定部、261 シミュレータ設定記録部、263試験再現部、290 試験記憶部、291 試験データベース、292 試験結果データベース、293 判定条件データベース、294 フィードバックデータベース、295 変更情報データベース、296 インバータ操作情報データベース、297 シミュレータ設定データベース、300 シミュレーション装置、310 主回路模擬部、320 モータ模擬部、330 負荷模擬部、390 シミュレーション記憶部、391 主回路モデル、392 主回路管理データ、393 モータモデル、394 モータ管理データ、395 負荷モデル、901 演算装置、902 補助記憶装置、903 主記憶装置、904 通信装置、905 入出力装置、909 バス。 100,100A inverter test system, 110 inverter device, 111 control board, 200,200A inverter test device, 210 test control unit, 221 inverter setting unit, 222 inverter control unit, 223 inverter information collecting unit, 231 simulator setting unit, 232 simulator Information collection unit, 241 time measurement unit, 242 test result determination unit, 251 determination unit, 252 determination condition setting unit, 253 feedback unit, 254 feedback condition setting unit, 261 simulator setting recording unit, 263 test reproduction unit, 290 test storage unit , 291 test database, 292 test result database, 293 determination condition database, 294 feedback database, 295 change information database, 296 inverter operation information database, 297 simulator setting database, 300 simulation device, 310 main circuit simulation unit, 320 motor simulation unit, 330 load simulation unit, 390 simulation storage unit, 391 main circuit model, 392 main circuit management data, 393 motor model, 394 motor management data, 395 load model, 901 arithmetic unit, 902 auxiliary storage unit, 903 main storage unit, 904 communication Device, 905 Input/output device, 909 bus.

Claims (7)

制御装置試験装置と、
シミュレーション装置とを備えた制御装置試験システムのための制御装置試験装置であって、
前記シミュレーション装置は、
所定の主回路を模擬する主回路模擬部と、
所定のモータの動作を模擬するモータ模擬部と、
前記モータ模擬部によって模擬されるモータに負荷トルクを印加する負荷装置を模擬する負荷模擬部とを備え、
前記制御装置試験装置は、
前記主回路模擬部、モータ模擬部、及び負荷模擬部で動かすモデルを指定する動作条件データと、制御装置を試験するための制御装置の設定を含む試験データを記憶する試験記憶部と、
前記主回路模擬部、モータ模擬部、及び負荷模擬部の動作条件を含む設定内容を設定するシミュレータ設定部と、
前記モータ模擬部のシミュレータで用いられるモータの回転数及びトルク負荷を含む情報を収集するシミュレータ情報収集部と、
前記シミュレータ情報収集部が収集した情報に基づいて前記シミュレータ設定部の設定内容を変更するフィードバック部とを備えることを特徴とする制御装置試験装置。
A control device testing device,
A controller testing device for a controller testing system including a simulation device,
The simulation device,
A main circuit simulating section for simulating a predetermined main circuit,
A motor simulation unit that simulates the operation of a predetermined motor,
A load simulation unit that simulates a load device that applies a load torque to the motor that is simulated by the motor simulation unit;
The control device test device,
A test storage unit that stores operating condition data that specifies a model to be moved by the main circuit simulation unit, the motor simulation unit, and the load simulation unit, and test data that includes control device settings for testing the control device,
A simulator setting unit for setting setting contents including operating conditions of the main circuit simulating unit, the motor simulating unit, and the load simulating unit;
A simulator information collecting unit that collects information including the rotation speed and torque load of the motor used in the simulator of the motor simulation unit,
A control device testing apparatus, comprising: a feedback unit that changes the setting content of the simulator setting unit based on the information collected by the simulator information collecting unit.
前記シミュレータ情報収集部のデータを監視し、所定条件を満たした場合、前記フィードバック部に監視結果を伝達する判定部をさらに備え、
前記フィードバック部は、前記監視結果に応じて前記シミュレータ設定部の設定内容を変更することを特徴とする請求項1記載の制御装置試験装置。
The data of the simulator information collecting unit is monitored, and when a predetermined condition is satisfied, a determination unit for transmitting the monitoring result to the feedback unit is further provided,
The control device testing apparatus according to claim 1, wherein the feedback unit changes the setting content of the simulator setting unit according to the monitoring result.
前記判定部が監視する項目と、前記判定部が前記フィードバック部に監視結果を伝達する条件を記録したデータを判定条件データとし、前記判定条件データを前記判定部に設定する判定条件設定部と、
前記フィードバック部が前記シミュレータ設定部に設定する値を記録したデータをフィードバックデータとし、前記フィードバックデータを前記フィードバック部に設定するフィードバック条件設定部とをさらに備えることを特徴とする請求項2記載の制御装置試験装置。
Items to be monitored by the determination unit, the determination unit is a determination condition data data recording conditions for transmitting the monitoring result to the feedback unit, the determination condition setting unit to set the determination condition data in the determination unit,
The control according to claim 2, further comprising: a feedback condition setting unit configured to set, as feedback data, data in which a value set in the simulator setting unit by the feedback unit is set, and the feedback data is set in the feedback unit. Equipment test equipment.
前記制御装置に対する手動の操作を記録する制御装置情報収集部と、
前記シミュレータ設定部に対する設定内容の変更情報を記録するシミュレータ設定記録部と、
前記制御装置情報収集部が記録した手動操作と、前記シミュレータ設定記録部が記録した変更情報を時系列毎に記録することで手動操作による再現試験を実行する試験データを生成する時間測定部とをさらに備えることを特徴とする請求項3記載の制御装置試験装置。
A control device information collecting unit for recording a manual operation on the control device;
A simulator setting recording unit for recording change information of setting contents for the simulator setting unit;
A manual operation recorded by the control device information collecting unit and a time measuring unit that generates test data for executing a reproduction test by manual operation by recording the change information recorded by the simulator setting recording unit in time series. The control device testing apparatus according to claim 3, further comprising:
前記試験データを実行することで、前記制御装置に対する手動操作試験を自動的に再現する試験再現部をさらに備えることを特徴とする請求項4の制御装置試験装置。 The control device test apparatus according to claim 4, further comprising a test reproduction unit that automatically reproduces a manual operation test for the control device by executing the test data. 請求項1〜5のうちのいずれか1つに記載の制御装置試験装置と、
前記シミュレーション装置とを備えたことを特徴とする制御装置試験システム。
A controller testing device according to any one of claims 1 to 5,
A control device test system comprising the simulation device.
制御装置試験装置と、
シミュレーション装置とを備えた制御装置試験システムのための制御装置試験装置の制御方法であって、
前記シミュレーション装置は、
所定の主回路を模擬する主回路模擬部と、
所定のモータの動作を模擬するモータ模擬部と、
前記モータ模擬部によって模擬されるモータに負荷トルクを印加する負荷装置を模擬する負荷模擬部とを備え、
前記制御方法は、
前記主回路模擬部、モータ模擬部、及び負荷模擬部で動かすモデルを指定する動作条件データと、制御装置を試験するための制御装置の設定を含む試験データを記憶するステップと、
前記主回路模擬部、モータ模擬部、及び負荷模擬部の動作条件を設定するステップと、
前記モータ模擬部のシミュレータで用いられるモータの回転数及びトルク負荷を含む情報を収集するステップと、
前記収集した情報に基づいて前記設定された動作条件を変更するステップとを含むことを特徴とする制御装置試験装置の制御方法。
A control device testing device,
A control method of a control device test apparatus for a control device test system comprising a simulation device,
The simulation device,
A main circuit simulation unit that simulates a predetermined main circuit,
A motor simulation unit that simulates the operation of a predetermined motor,
A load simulation unit that simulates a load device that applies a load torque to the motor simulated by the motor simulation unit;
The control method is
Storing operation condition data that specifies a model to be moved by the main circuit simulation unit, the motor simulation unit, and the load simulation unit, and test data including settings of a control device for testing the control device,
Setting the operating conditions of the main circuit simulation unit, the motor simulation unit, and the load simulation unit;
Collecting information including the rotation speed and torque load of the motor used in the simulator of the motor simulation unit;
And a step of changing the set operating condition based on the collected information.
JP2018236582A 2018-12-18 2018-12-18 Control apparatus test device, control method thereof, and control apparatus test system Pending JP2020099141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018236582A JP2020099141A (en) 2018-12-18 2018-12-18 Control apparatus test device, control method thereof, and control apparatus test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018236582A JP2020099141A (en) 2018-12-18 2018-12-18 Control apparatus test device, control method thereof, and control apparatus test system

Publications (1)

Publication Number Publication Date
JP2020099141A true JP2020099141A (en) 2020-06-25

Family

ID=71106934

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018236582A Pending JP2020099141A (en) 2018-12-18 2018-12-18 Control apparatus test device, control method thereof, and control apparatus test system

Country Status (1)

Country Link
JP (1) JP2020099141A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102384107B1 (en) * 2021-12-30 2022-04-08 (주)보성테크 300kw load bank for electrical dummy
JP2022073112A (en) * 2020-10-30 2022-05-17 三菱電機株式会社 Simulation effect calculation device
WO2022244100A1 (en) * 2021-05-18 2022-11-24 株式会社日立産機システム Software updating system, machine system development support service method, and program
CN116169900A (en) * 2023-02-28 2023-05-26 湖南润伟智能机器有限公司 Load motor control system
JP2023083254A (en) * 2021-12-03 2023-06-15 ザ マスワークス, インク Systems and methods for scaling executable simulation models
US12056425B2 (en) 2017-06-02 2024-08-06 The Mathworks, Inc. Systems and methods for rescaling executable simulation models
CN118938871A (en) * 2024-08-20 2024-11-12 中国第一汽车股份有限公司 Vehicle motor controller test method, device, program product, storage medium

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12056425B2 (en) 2017-06-02 2024-08-06 The Mathworks, Inc. Systems and methods for rescaling executable simulation models
JP2022073112A (en) * 2020-10-30 2022-05-17 三菱電機株式会社 Simulation effect calculation device
JP7542403B2 (en) 2020-10-30 2024-08-30 三菱電機株式会社 Simulation effect calculation device
JP7475546B2 (en) 2021-05-18 2024-04-26 株式会社日立産機システム Software update system, mechanical system development support service method and program
WO2022244100A1 (en) * 2021-05-18 2022-11-24 株式会社日立産機システム Software updating system, machine system development support service method, and program
JP2023083254A (en) * 2021-12-03 2023-06-15 ザ マスワークス, インク Systems and methods for scaling executable simulation models
JP7485750B2 (en) 2021-12-03 2024-05-16 ザ マスワークス, インク System and method for scaling executable simulation models - Patents.com
JP2024102206A (en) * 2021-12-03 2024-07-30 ザ マスワークス, インク System and method for rescaling executable simulation model
JP7611446B2 (en) 2021-12-03 2025-01-09 ザ マスワークス, インク System and method for scaling executable simulation models - Patents.com
KR102384107B1 (en) * 2021-12-30 2022-04-08 (주)보성테크 300kw load bank for electrical dummy
CN116169900B (en) * 2023-02-28 2024-01-30 湖南润伟智能机器有限公司 Load motor control system
CN116169900A (en) * 2023-02-28 2023-05-26 湖南润伟智能机器有限公司 Load motor control system
CN118938871A (en) * 2024-08-20 2024-11-12 中国第一汽车股份有限公司 Vehicle motor controller test method, device, program product, storage medium

Similar Documents

Publication Publication Date Title
JP2020099141A (en) Control apparatus test device, control method thereof, and control apparatus test system
US10997344B2 (en) ECU simulation device
CN109813999B (en) An automatic test platform, method and application for fault diagnosis algorithm of distribution network
CN112817872A (en) Development test system and method
US20150205893A1 (en) Method and simulation arrangement for simulating an automated industrial plant
CN113632024B (en) Virtual sensors on the upper machine platform
CN115794519A (en) Test method, test system, electronic device and readable storage medium
EP2500791A1 (en) System and method of simulating input/output modules in a control system
WO2018201615A1 (en) Testing method and system for use with battery management unit
CN114647228A (en) A BMS testing method and system
JP6184235B2 (en) Inverter test system, inverter test method, inverter test apparatus, and inverter test program
EP3734379A1 (en) Method and system for generating control programs in a cloud computing environment
JP2019194818A (en) Software trouble prediction device
CN115903734A (en) Vehicle controller testing method, device, equipment and storage medium
CN114692383B (en) Modeling method and device for full-range analog machine simulation object and computer equipment
CN110851193A (en) Plug-in loading method for software platform of monitoring equipment, plug-in operation system and monitor
JP6541420B2 (en) Diagnostic device, diagnostic method, and program
CN114741321A (en) Model interactive operation method, model detection method and data transmission method
CN111258827B (en) Interface model determination method, device, electronic equipment and storage medium
JP7084505B2 (en) Verification device and verification method
JP2019179284A (en) Simulation system and simulation program
JP6249803B2 (en) Inverter test system
JPH1124545A (en) Plant simulator
US8626484B1 (en) Light-weight and flexible feature simulator
CN112395176A (en) Method, device, system, equipment, processor and storage medium for testing distributed cloud storage performance