Simulation system, simulation method, and program

The simulation system addresses simulation errors in hardware-in-the-loop techniques by using a virtual interface circuit and phase compensation filters to improve accuracy and reliability in testing power conversion devices.

JP7537084B2Active Publication Date: 2024-08-21FUJI ELECTRIC CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2019224748
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2019-12-12
Publication Date
2024-08-21
Estimated Expiration
2039-12-12

AI Technical Summary

Technical Problem

Existing hardware-in-the-loop simulation techniques face challenges in achieving high accuracy and simplicity due to simulation errors caused by interface circuits, which affect the reliability of test devices like power conversion systems.

Method used

A simulation system that includes a virtual interface circuit to compensate for errors, adjusts impedance based on the device under test, and employs phase compensation filters to correct transmission delays, allowing for accurate simulation of test devices connected to a target circuit.

Benefits of technology

The system enhances simulation accuracy by compensating for interface errors and transmission delays, resulting in more reliable hardware-in-the-loop simulations of test devices, such as power conversion systems, by reproducing accurate operating waveforms and reducing test complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007537084000003
    Figure 0007537084000003
  • Figure 0007537084000009
    Figure 0007537084000009
  • Figure 0007537084000008
    Figure 0007537084000008
Patent Text Reader

Abstract

To solve a problem in which, in recent years, there has been an increasing demand for improving the accuracy of a simulation or simplifying the simulation.SOLUTION: A simulation system that performs hardware-in-the-loop simulation of a test machine to be connected to a circuit to be connected includes an interface circuit connected to the test machine, a simulation device that is connected to the test machine via an interface circuit, and simulates a connection target circuit including a connection target circuit and a virtual interface circuit that compensates for simulation errors due to connection via the interface circuit, and an adjustment device that adjusts the attenuation impedance of the virtual interface circuit on the basis of the impedance of the test machine.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a simulation system, a simulation method, and a program. [Background technology]

[0002] Conventionally, various techniques have been proposed for testing a test device such as a power conversion device by hardware-in-the-loop simulation (see, for example, Patent Documents 1 and 2). Patent Document 1: JP 2014-204503 A Patent Document 2: JP 2017-77077 A Summary of the Invention [Problem to be solved by the invention]

[0003] In recent years, there has been an increasing demand for improved accuracy of simulations or for simplification of simulations. [Means for solving the problem]

[0004] In order to solve the above problems, a first aspect of the present invention provides a simulation system for performing a hardware-in-the-loop simulation of a device under test to be connected to a circuit to be connected. The simulation system may include an interface circuit connected to the device under test. The simulation system may include a simulation device connected to the device under test via the interface circuit and configured to simulate a circuit to be simulated, the circuit to be connected and the virtual interface circuit that compensates for a simulation error due to the connection via the interface circuit. The simulation system may include an adjustment device that adjusts the impedance of the virtual interface circuit based on the impedance of the device under test.

[0005] The simulation system may further include a switching device for switching an operation mode of the simulation system between an identification mode for identifying the impedance of the EUT and a test mode for testing the EUT using the simulation device.

[0006] The simulation system may further include a calculation device that calculates an impedance of the EUT. The calculation device may have a supply unit that supplies a reference AC voltage to the EUT. The calculation device may have a measurement unit that measures a current flowing through the EUT and a voltage applied to the EUT. The calculation device may have an identification unit that identifies the impedance of the EUT from a measurement result by the measurement unit.

[0007] The identification unit may identify the impedance of the EUT when the EUT is simplified into a series circuit of a single resistor and a single coil or capacitor.

[0008] The simulation device may simulate a circuit to be simulated further including a phase compensation filter provided in the virtual interface circuit. The simulation system may further include a setting device that sets parameters of the phase compensation filter. The phase compensation filter may be provided in either a path of a first signal communicated from the device under test to the circuit to be connected or a path of a second signal communicated from the circuit to be connected to the device under test. The setting device may set parameters of the phase compensation filter such that a combined propagation delay of a first signal and a propagation delay of a second signal is compensated for by the phase compensation filter.

[0009] The simulation device may simulate a simulation target circuit further including a phase compensation filter provided in the virtual interface circuit. The simulation system may further include a setting device for setting parameters of the phase compensation filter. The setting device calculates a transfer function G org(s) (where s is a complex variable) and the transfer function G that represents the relationship between the signal generated in the connection target circuit when the simulated connection target circuit is connected to the EUT via the virtual interface circuit and the interface circuit, and the signal generated in the EUT. IF The parameters may be set so that (s, p) (where p is a parameter) is approximated.

[0010] In a second aspect of the present invention, there is provided a simulation method for performing a hardware-in-the-loop simulation of an EUT to be connected to a connection target circuit. The simulation method may include a simulation step of simulating a simulation target circuit including a virtual interface circuit connected to the EUT via an interface circuit and compensating for a simulation error due to the connection via the interface circuit, and the connection target circuit. The simulation method may include an adjustment step of adjusting an attenuation impedance of the virtual interface circuit based on an impedance of the EUT.

[0011] In a third aspect of the present invention, there is provided a program. The program may cause a computer to function as a simulation device that performs a hardware-in-the-loop simulation of an EUT to be connected to a connection target circuit, and that simulates a simulation target circuit including a virtual interface circuit that is connected to the EUT via an interface circuit and compensates for a simulation error due to the connection via the interface circuit, and a connection target circuit. The program may cause the computer to function as an adjustment device that adjusts the attenuation impedance of the virtual interface circuit based on the impedance of the EUT.

[0012] In a fourth aspect of the present invention, there is provided a simulation system for performing a hardware-in-the-loop simulation of a device under test to be connected to a circuit to be connected. The simulation system may include an interface circuit connected to the device under test. The simulation system may include a simulation device connected to the device under test via the interface circuit and simulating a circuit to be simulated, the circuit to be connected, a virtual interface circuit for compensating for a simulation error due to a connection via the interface circuit, and a phase compensation filter provided in the virtual interface circuit. The simulation system may include a setting device for setting parameters of the phase compensation filter. The phase compensation filter may be provided in either a path of a first signal communicated from the device under test to the circuit to be connected, or a path of a second signal communicated from the circuit to be connected to the device under test. The setting device may set parameters of the phase compensation filter so that a combined propagation delay of a first signal and a propagation delay of a second signal is compensated by the phase compensation filter.

[0013] The setting device may set parameters of the phase compensation filter so that the transmission delay is compensated in a simulation performed by connecting a device having known characteristics as a test device to the simulation device.

[0014] In a fifth aspect of the present invention, there is provided a simulation method for performing a hardware-in-the-loop simulation of an EUT to be connected to a circuit to be connected. The simulation method may include a simulation step of simulating a circuit to be simulated, the circuit to be connected to the EUT via an interface circuit, the circuit to be connected, a virtual interface circuit for compensating for a simulation error due to the connection via the interface circuit, and a phase compensation filter provided in the virtual interface circuit. The simulation method may include a setting step of setting parameters of the phase compensation filter. The phase compensation filter may be provided in either a path of a first signal communicated from the EUT to the circuit to be connected or a path of a second signal communicated from the circuit to be connected to the EUT. The setting step may set parameters of the phase compensation filter so that a combined propagation delay of a first signal and a propagation delay of a second signal is compensated by the phase compensation filter.

[0015] In a sixth aspect of the present invention, a program is provided. The program may cause a computer to function as a simulation device that performs a hardware-in-the-loop simulation of an EUT to be connected to a connection target circuit, the simulation device being connected to the EUT via an interface circuit and simulating a simulation target circuit including a connection target circuit, a virtual interface circuit that compensates for a simulation error due to a connection via the interface circuit, and a phase compensation filter provided in the virtual interface circuit. The program may cause a computer to function as a setting device that sets parameters of the phase compensation filter. The phase compensation filter may be provided in either a path of a first signal communicated from the EUT to the connection target circuit or a path of a second signal communicated from the connection target circuit to the EUT. The setting device may set parameters of the phase compensation filter so that a combined propagation delay of a first signal and a propagation delay of a second signal is compensated by the phase compensation filter.

[0016] In a seventh aspect of the present invention, there is provided a simulation system for performing a hardware-in-the-loop simulation of a device under test to be connected to a circuit to be connected. The simulation system may include an interface circuit connected to the device under test. The simulation system may include a simulation device connected to the device under test via the interface circuit, and simulating a circuit to be simulated including the circuit to be connected, a virtual interface circuit that compensates for a simulation error due to the connection via the interface circuit, and a phase compensation filter provided in the virtual interface circuit. The simulation system may include a setting device that sets parameters of the phase compensation filter. The setting device calculates a transfer function G representing the relationship between a signal generated in the circuit to be connected when the simulated circuit to be connected is directly connected to the device under test and a signal generated in the device under test. org (s) (where s is a complex variable) and the transfer function G that represents the relationship between the signal generated in the connection target circuit when the simulated connection target circuit is connected to the EUT via the virtual interface circuit and the interface circuit, and the signal generated in the EUT. IF The parameters may be set so that (s, p) (where p is a parameter) is approximated.

[0017] The simulation device may be capable of simulating a virtual circuit including at least a target circuit and a test device. The simulation system includes an online setting mode for setting parameters to compensate for a transfer delay of an interface circuit in a simulation performed with the simulation device connected to the test device, and a transfer function G org (s) and the transfer function G in the simulation of a hypothetical circuit including a phase compensation filter whose parameters are set as initial values ​​in the online setting mode. IFThe simulation system may further include a switching device for switching an operation mode between an offline setting mode in which parameters are set so that (s, p) approximates each other, and a test mode in which the simulation device is connected to the test equipment and a test circuit including a phase compensation filter whose parameters are set in the offline setting mode is used to test the test equipment during a simulation.

[0018] In the online configuration mode, a device with known characteristics may be connected to the simulation device as a test device.

[0019] The setting device is the transfer function G org (s) and the transfer function G IF The setting device may include a calculation unit that calculates the transfer function G IF (s,p) is the transfer function G org The setting device may include a calculation unit that calculates a value of a parameter p that approximates (s). The setting device may include a setting unit that sets the calculated value of the parameter p in the phase compensation filter.

[0020] The calculation section calculates the transfer function G IF (s,p) is the transfer function G org The value of the parameter p may be calculated such that the transfer function G(s,p) normalized by (s) approximates 1.

[0021] The calculation unit may calculate the maximum deviation value between the gain characteristic curve of the transfer function G(s,p) and zero (dB) for each value of the parameter p, and may calculate the value of the parameter p when the maximum deviation value is smallest as the value of the parameter p at which the transfer function G(s,p) approximates 1.

[0022] The calculation unit may calculate the value of parameter p that minimizes the integral result of the absolute value of the difference between the gain characteristic curve of the transfer function G(s,p) and zero (dB), or the integral result of the square of the difference, as the value of parameter p that approximates 1 for the transfer function G(s,p).

[0023] The calculation section calculates the transfer function G IF (s,p) is the transfer function G org A value of the parameter p may be calculated to approximate (s).

[0024] The phase compensation filter may be provided on either a path of a first signal communicated from the EUT to the target circuit or a path of a second signal communicated from the target circuit to the EUT. The setting device may set parameters of the phase compensation filter so that a combined propagation delay of the first signal and a propagation delay of the second signal are compensated for by the phase compensation filter.

[0025] The setting device calculates a combined transmission delay of the first signal and the second signal as a transmission delay of multiple orders, and calculates a transfer function G IF (s,p) is the transfer function G org You may set the parameters to approximate (s).

[0026] In an eighth aspect of the present invention, there is provided a simulation method for performing a hardware-in-the-loop simulation of a device under test to be connected to a target circuit. The simulation method may include a simulation step of simulating a simulation target circuit that is connected to the device under test via an interface circuit and includes the target circuit, a virtual interface circuit that compensates for a simulation error due to the connection via the interface circuit, and a phase compensation filter provided in the virtual interface circuit. The simulation method may include a setting step of setting parameters of the phase compensation filter. The setting step includes a step of calculating a transfer function G representing a relationship between a signal generated in the target circuit when the simulated target circuit is directly connected to the device under test and a signal generated in the device under test. org (s) (where s is a complex variable) and the transfer function G that represents the relationship between the signal generated in the connection target circuit when the simulated connection target circuit is connected to the EUT via the virtual interface circuit and the interface circuit, and the signal generated in the EUT. IFThe method may include a step of setting parameters so that (s, p) (where p is a parameter) is approximated.

[0027] In a ninth aspect of the present invention, a program is provided. The program may cause a computer to function as a simulation device that performs a hardware-in-the-loop simulation of a device under test to be connected to a connection target circuit, the simulation device being connected to the device under test via an interface circuit and simulating a simulation target circuit including the connection target circuit, a virtual interface circuit that compensates for a simulation error due to the connection via the interface circuit, and a phase compensation filter provided in the virtual interface circuit. The program may cause a computer to function as a setting device that sets parameters of the phase compensation filter. The setting device may calculate a transfer function G representing the relationship between a signal generated in the connection target circuit when the simulated connection target circuit is directly connected to the device under test and a signal generated in the device under test. org (s) (where s is a complex variable) and the transfer function G that represents the relationship between the signal generated in the connection target circuit when the simulated connection target circuit is connected to the EUT via the virtual interface circuit and the interface circuit, and the signal generated in the EUT. IF The parameters may be set so that (s, p) (where p is a parameter) is approximated.

[0028] The above summary of the invention does not list all of the necessary features of the present invention. Also, subcombinations of these features may also be inventions. [Brief description of the drawings]

[0029] [Figure 1] A simulation system 1 according to an embodiment is shown together with a test device 2. [Diagram 2] A calculation device 13 is shown. [Diagram 3] The setting device 17 is shown together with a phase compensation filter 1119 . [Figure 4] A hypothetical circuit 1002(1) is shown that includes a connecting circuit 115. [Diagram 5] A hypothetical circuit 1002(2) is shown that includes a connecting circuit 116. [Figure 6] The operation of the simulation system 1 is shown. [Figure 7] 4 shows an impedance adjustment process. [Figure 8] 11 shows a setting process for the phase compensation filter 1119. [Figure 9] 11 shows a setting process for the phase compensation filter 1119. [Figure 10] 4 shows an example of a gain characteristic curve of a transfer function. [Figure 11] 22 illustrates an example computer 2200 in which aspects of the present invention may be embodied, in whole or in part. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0030] The present invention will be described below through embodiments of the invention, but the following embodiments do not limit the scope of the invention according to the claims. Furthermore, not all of the combinations of features described in the embodiments are necessarily essential to the solution of the invention.

[0031] [1. Simulation system] 1 shows a simulation system 1 according to this embodiment together with a test device 2. The simulation system 1 performs a hardware-in-the-loop simulation of the test device 2 to be connected to a target circuit, and in this embodiment, as an example, the target circuit is simulated to test the operation of the test device 2 when it is connected to the target circuit. The simulation system 1 may include an interface circuit 10, a simulation device 11, a calculation device 13, an adjustment device 14, a setting device 17, and a switching device 18.

[0032] [1.1. Test machine] The test device 2 is a device to be tested by the simulation system 1. For example, the test device 2 may be a power conversion device, and in the present embodiment, as an example, the test device 2 may be a PCS (Power Conditioning System), a UPS (Uninterruptible Power Supply), or an inverter. The test device 2 may be an actual product, or a mini-model that has the same functions as the actual product but has a scaled-down capacity. The test device 2 has an internal impedance R L ,L L The EUT 2 may have analog inputs and outputs.

[0033] The connection target circuit to which the EUT 2 is to be connected may supply power to the EUT 2 or may receive power from the EUT 2. In the present embodiment, as an example, the connection target circuit may be a power system that supplies power to the EUT 2 as a power conversion device.

[0034] [1.2. Interface circuit] The interface circuit 10 is connected to the EUT 2. The interface circuit 10 may be a power amplifier that mediates the exchange of signals and power between the EUT 2 and the simulation device 11. The interface circuit 10 has a secondary impedance element Rab, a voltage source 101, a voltage measurement unit 102, a current measurement unit 103, AD converters 104 and 105, and a DA converter 106.

[0035] The secondary impedance element Rab is a so-called common impedance element, and is connected in series with the voltage source 101 between the power supply terminal of the DUT 2 and the ground. The secondary impedance element Rab is a primary impedance element Rab virtually realized by the simulation device 11. sThe voltage source 101 supplies an AC voltage to the device under test 2 based on a control signal from the simulation device 11. The DA converter 106 is provided between the voltage source 101 and the simulation device 11, and converts the digital signal of the control signal from the simulation device 11 into an analog signal and supplies the analog signal to the voltage source 101.

[0036] The voltage measurement unit 102 measures the voltage applied to the EUT 2 between the secondary-side impedance element Rab and the EUT 2, and supplies the measurement result to the AD converter 104. The AD converter 104 is provided between the voltage measurement unit 102 and the simulation device 11, and converts the analog signal of the measurement result by the voltage measurement unit 102 into a digital signal and supplies it to the simulation device 11.

[0037] Current measurement unit 103 measures the current flowing through voltage source 101 and device under test 2, and supplies the measurement result to AD converter 105. AD converter 105 is provided between current measurement unit 103 and simulation device 11, and converts the analog signal of the measurement result by current measurement unit 103 into a digital signal and supplies it to simulation device 11.

[0038] [1.3.Simulation device] The simulation device 11 is connected to the device under test 2 via the interface circuit 10. The simulation device 11 simulates a circuit under simulation 1000 including a circuit to be connected 110, a virtual interface circuit 111, and a phase compensation filter 1119 provided in the virtual interface circuit 111. The simulation device 11 may further simulate a hardware-in-the-loop circuit 1001 including at least the circuit to be connected 110 and the device under test 2 as a virtual circuit 1002 (see FIGS. 4 and 5). Digital input and output may be made to and from the simulation device 11.

[0039] [1.3.1. Circuit to be connected] The connection target circuit 110 is a simulation of the connection target circuit to which the EUT 2 should be connected. In order to test the reaction of the EUT 2, the connection target circuit 110 may cause various abnormal states, such as failures and accidents, which are difficult to realize in an actual connection target circuit. The connection target circuit 110 may have a voltage source 1101 that supplies an AC voltage to the EUT 2. Note that an internal impedance Rs(s) may exist between the voltage source 1101 and the output terminal of the AC power in the connection target circuit 110.

[0040] [1.3.2. Virtual Interface Circuit] The virtual interface circuit 111 is a circuit that connects the target circuit 110 and the interface circuit 10, and compensates for a simulation error caused by the connection via the interface circuit 10. The simulation error may be a simulation error that occurs due to the transfer characteristics of the interface circuit 10, and may be, for example, a simulation error with respect to the behavior of the test device 2 when it is actually connected to the target circuit. In this embodiment, the virtual interface circuit 111 is, as an example, a damped impedance type (DIM) interface circuit. In addition to a voltage source 1111, a current source 1112, and a voltage measurement unit 1113, the virtual interface circuit 111 includes a primary side impedance element Rab s and a damping impedance circuit 1115.

[0041] The voltage source 1111 generates a voltage corresponding to the digital signal supplied from the AD converter 104 of the interface circuit 10. The voltage source 1111 may be connected between the target circuit 110 and ground.

[0042] Primary impedance element Rab s may be a so-called common impedance and may have an impedance equal to that of the secondary impedance element Rab of the interface circuit 10. s may be provided between the target circuit 110 and the voltage source 1111.

[0043] The damping impedance circuit 1115 has a variable impedance and is adjusted based on the impedance of the EUT 2. The damping impedance circuit 1115 includes a single resistor R dmp and a single coil L dmp or a series circuit with a capacitor (not shown). The damping impedance circuit 1115 includes a primary impedance element Rab s and the voltage source 1111.

[0044] The current source 1112 generates a current according to the digital signal supplied from the AD converter 105 of the interface circuit 10. The current source 1112 is connected to the primary impedance element Rab s and the damping impedance circuit 1115, and may be provided between ground. The current source 1112 may be of a sink type and may sink current to ground.

[0045] The voltage measurement unit 1113 measures the voltage supplied from the target circuit 110 and supplies it to the DA converter 106 in the interface circuit 10 .

[0046] [1.3.3. Phase compensation filter] The phase compensation filter 1119 compensates for a transmission delay of a signal communicated between the connection target circuit 110 and the EUT 2. The transmission delay between the connection target circuit 110 and the EUT 2 includes a transmission delay of a signal (also referred to as a first signal) communicated from the EUT 2 to the connection target circuit 110 and a transmission delay of a signal (also referred to as a second signal) communicated from the connection target circuit 110 to the EUT 2. The phase compensation filter 1119 may be provided on either the path of the first signal or the path of the second signal, and in this embodiment, as an example, the phase compensation filter 1119 is provided on the path of the second signal. More specifically, the phase compensation filter 1119 may be provided on the communication path between the voltage measurement unit 1113 and the DA converter 106.

[0047] [1.4. Calculation device] The calculation device 13 calculates the impedance of the device under test 2. The calculation device 13 may calculate the impedance based on a signal from either one of the voltage measurement unit 102 and the AD converter 104 and a signal from either one of the current measurement unit 103 and the AD converter 105, and may supply the calculation result to the adjustment device 14. In the present embodiment, as an example, at least a part of the calculation device 13 is virtually realized in the virtual interface circuit 111 by the simulation device 11, and is illustrated in the virtual interface circuit 111. However, the calculation device 13 may be virtually realized in the connection target circuit 110, may be physically provided in the interface circuit 10, or may be provided as a device separate from the simulation device 11 and the interface circuit 10. The same applies to the adjustment device 14, the setting device 17, and the switching device 18 described later.

[0048] [1.5. Adjustment device] The adjustment device 14 adjusts the impedance of the virtual interface circuit 111 based on the calculated impedance of the EUT 2. In the present embodiment, as an example, the adjustment device 14 may adjust the impedance of the attenuating impedance circuit 1115.

[0049] [1.6. Setting device] The setting device 17 sets the parameters of the phase compensation filter 1119. The setting device 17 may set the parameters of the phase compensation filter 1119 so that an equivalent propagation delay obtained by adding up the propagation delay of the first signal from the EUT 2 to the connection target circuit 110 and the propagation delay of the second signal from the connection target circuit 110 to the EUT 2 is compensated for by the phase compensation filter 1119. Alternatively / in addition to this, the setting device 17 may set a transfer function G org (s) (see FIG. 4, where s is a complex variable) and a transfer function GIF (s, p) (see FIG. 5) and the parameters of the phase compensation filter 1119 may be set so that the two approximate each other.

[0050] Transfer function G org (s) is a graph in which the voltage Vs of the voltage source 1101 in the simulated connection target circuit 110 is taken as input u and the voltage VL applied to the device under test 2 is taken as output y org If the input is u and the output is y org A function that expresses the relationship between input u and output y org The transfer function G org Regarding (s), the EUT 2 may be a simulated one.

[0051] Also, the transfer function G IF (s, p) is the voltage Vs of the voltage source 1101 in the simulated connection target circuit 110 as input u, and the voltage V applied to the test device 2 Back Output y IF If the input is u and the output is y IF The transfer function G IF With respect to (s,p), the device under test 2 may be a simulated one.

[0052] [1.7. Switching device] The switching device 18 switches the operation mode of the simulation system 1 among an online setting mode, an offline setting mode, and a test mode. The switching device 18 may switch the operation mode by an operator's operation, and may supply an operation mode switching signal to the calculation device 13, the setting device 17, etc.

[0053] The online setting mode may be a mode in which at least one of impedance adjustment by the adjustment device 14 and parameter setting by the setting device 17 is performed by a simulation (also referred to as online simulation) executed while the simulation device 11 is connected to the device under test 2. For example, in the online setting mode, parameters may be set to compensate for the transmission delay of the interface circuit 10 in the online simulation.

[0054] In the online setting mode, an instrument having known characteristics (also referred to as a calibration DUT 2) may be connected to the simulation apparatus 11 as the DUT 2. In the online simulation, the simulation apparatus 11 may perform a simulation of the simulation target circuit 1000.

[0055] The offline setting mode may be a mode in which the setting device 17 sets parameters by simulating a virtual circuit 1002 including at least the connection target circuit 110 and the EUT 2. The virtual circuit 1002 may be a circuit realized on software by simulation. The simulation of the virtual circuit 1002 is also called offline simulation because the EUT 2 does not need to be connected to the simulation device 11.

[0056] In the offline setting mode, the transfer function G in the offline simulation of the virtual circuit 1002(1) (see FIG. 4) to which the target circuit 110 is directly connected to the simulated EUT 2 is org (s) and the transfer function G of a virtual circuit 1002(2) (see FIG. 5) including a phase compensation filter 1119 whose parameters are set as initial values ​​in the online setting mode. IF The parameters of the phase compensation filter 1119 may be set so that (s, p) is close to the phase of the input signal (s, p). The virtual circuit 1002(2) may further include a virtual interface circuit 111 and a simulated interface circuit 10.

[0057] The test mode may be a mode in which the simulation apparatus 11 is connected to the device under test 2 and a simulation is executed to test the device under test 2 using the circuit under simulation 1000. The circuit under simulation 1000 in the test mode may include a phase compensation filter 1119 whose parameters are set in the offline setting mode.

[0058] According to the above-described simulation system 1, the parameters of the phase compensation filter 1119 are set so that the equivalent transmission delay obtained by adding up the transmission delay of the first signal from the device under test 2 to the circuit to be connected 110 and the transmission delay of the second signal from the circuit to be connected 110 to the device under test 2 is compensated by the phase compensation filter 1119. This simplifies the simulation compared to the case where the transmission delay of the first signal and the transmission delay of the second signal are compensated separately.

[0059] In addition, a transfer function G that represents the relationship between a signal generated in the target circuit 110 when the target circuit 110 is directly connected to the EUT 2 and a signal generated in the EUT 2 is org (s), and a transfer function G representing the relationship between a signal generated in the connection target circuit 110 and a signal generated in the device under test 2 when the connection target circuit 110 is connected to the device under test 2 via the virtual interface circuit 111 and the interface circuit 10. IF Since the parameters of the phase compensation filter 1119 are set so that (s, p) approximates each other, it is possible to compensate for the transmission delay between the connection target circuit 110 and the EUT 2. Therefore, since the hardware-in-the-loop circuit 1001 can reproduce accurate operation waveforms when the EUT 2 and the actual connection target circuit are connected, it is possible to improve the accuracy of the simulation and thereby improve the accuracy of the test on the EUT 2.

[0060] Furthermore, since the impedance of the virtual interface circuit 111 (in this embodiment, the impedance of the attenuation impedance circuit 1115 is used as an example) is adjusted based on the impedance of the EUT 2, it is possible to eliminate the influence of the interface circuit 10 and the virtual interface circuit 111 in the communication between the simulated connection target circuit 110 and the EUT 2. Therefore, since the hardware-in-the-loop circuit 1001 can reproduce accurate operation waveforms when the EUT 2 and the actual connection target circuit are connected, it is possible to improve the accuracy of the simulation and thereby the accuracy of the test on the EUT 2.

[0061] In the online setting mode, the parameters of the phase compensation filter 1119 are set so as to compensate for the transmission delay of the interface circuit 10 in an online simulation executed with the simulation device 11 connected to the EUT 2. Therefore, the parameters of the phase compensation filter 1119 can be set in accordance with the transmission delay of the interface circuit 10 when the simulation device 11 and the EUT 2 are actually connected.

[0062] In the offline setting mode, the transfer function G IF (s,p) is the transfer function G org The parameters are set to approximate (s), thus reducing the time and cost required to calculate suitable parameters.

[0063] In addition, in the test mode, the test subject 2 is tested using the simulation target circuit 1000 including the phase compensation filter 1119 whose parameters have been set in the offline setting mode, thereby reducing the effect of transmission delay and improving the accuracy of the test on the test subject 2.

[0064] [2. Calculation device] Fig. 2 shows the calculation device 13. The calculation device 13 may include a supply unit 131, a measurement unit 132, and an identification unit 133. For the sake of simplicity, a phase compensation filter 1119, a setting device 17, a switching device 18, and the like are omitted in Fig. 2.

[0065] The supply unit 131 supplies a reference AC voltage to the EUT 2. For example, the supply unit 131 may supply a control signal to the DA converter 106 of the interface circuit 10, thereby supplying the reference AC voltage to the EUT 2 via the voltage source 101 of the interface circuit 10. The supply unit 131 supplies reference AC power to the EUT 2 in a steady state (a state in which power conversion is performed in the present embodiment, as an example), but may also supply reference AC power to the EUT 2 in a standby state (a state in which no power is output in the present embodiment, as an example). The supply unit 131 may be virtually realized in the virtual interface circuit 111 or the connection target circuit 110 by the simulation device 11.

[0066] The measuring unit 132 measures the voltage applied to and the current flowing through the EUT 2. The measuring unit 132 may measure the voltage and the current, respectively, on the side closer to the EUT 2 than the AD converters 104, 105 and the DA converter 106 of the interface circuit 10. As an example, the measuring unit 132 may be the voltage measuring unit 102 and the current measuring unit 103 of the interface circuit 10. This makes it possible to eliminate the influence of the transmission delay caused by the AD converters 104, 105 and the DA converter 106, unlike, for example, a case where the current and the voltage are measured on the simulation device 11 side than the AD converters 104, 105 and the DA converter 106 (for example, a case where a control signal from the supply unit 131 to the DA converter 106 is measured and converted into the voltage of the EUT 2). In addition, since the measuring unit 132 measures the voltage on the side closer to the EUT 2 than the secondary impedance element Rab, the voltage applied to the EUT 2 can be accurately measured, unlike a case where the voltage is measured on the side closer to the voltage source 101 than the secondary impedance element Rab. The measurement section 132 may supply the measurement result to the identification section 133 .

[0067] The identifying unit 133 identifies the impedance of the device under test 2 from the measurement result by the measuring unit 132. The identifying unit 133 may be virtually realized in the virtual interface circuit 111 by the simulation device 11. The identifying unit 133 may supply the identified impedance to the adjustment device 14.

[0068] According to the above-described calculation device 13, a reference AC voltage is supplied to the EUT 2, the voltage applied to the EUT 2 and the current flowing therethrough are measured, and the impedance is determined from the measurement results, so that the impedance of the EUT 2 can be determined without using any external configuration. Therefore, the impedance of the EUT 2 can be easily determined.

[0069] The calculation device 13 may specify the impedance in an online setting mode in which the simulation device 11 is connected to the EUT 2 to be tested.

[0070] [3. Setting device] 3 shows the setting device 17 together with the phase compensation filter 1119. The setting device 17 may include an acquisition section 171, a calculation section 172, and a setting section 173.

[0071] In the online setting mode, the acquiring unit 171 acquires the voltage applied to and current flowing through the DUT 2 (in the present embodiment, the DUT 2 for calibration is used as an example) when the simulated connection target circuit 110 is connected to the DUT 2 via the virtual interface circuit 111 and the interface circuit 10. The acquiring unit 171 may acquire the voltage and current from a signal from either the voltage measuring unit 102 or the AD converter 104, and a signal from either the current measuring unit 103 or the AD converter 105. The acquiring unit 171 may supply the acquired voltage value and current value to the calculating unit 172.

[0072] In the offline setting mode, the acquiring unit 171 acquires the voltage applied to and the current flowing through the test device 2 in the offline simulation of the virtual circuits 1002(1) and (2) connected to the test device 2 in which the connection target circuit 110 is simulated. The acquiring unit 171 may further acquire the impedance of the test device 2 (the test device 2 to be tested, as an example) identified by the calculating device 13 in the online setting mode. The acquiring unit 171 may supply the acquired voltage value, current value, and impedance to the calculating unit 172.

[0073] In the online setting mode, the calculation unit 172 calculates a propagation delay of a signal communicated between the connection target circuit 110 and the EUT 2 (the calibration EUT 2 in this embodiment) from the voltage value and current value acquired from the acquisition unit 171. The calculation unit 172 may calculate an equivalent propagation delay obtained by adding together a propagation delay of a first signal from the EUT 2 to the connection target circuit 110 and a propagation delay of a second signal from the connection target circuit 110 to the EUT 2 as a propagation delay of multiple orders (secondary propagation delay as an example), or may calculate the equivalent propagation delay by approximating it as a first-order delay. The calculation unit 172 may calculate a parameter value of the phase compensation filter 1119 that compensates for the calculated propagation delay. The calculation unit 172 may supply the calculated parameter value to the setting unit 173.

[0074] In the offline setting mode, the calculation unit 172 calculates the transfer function G org In addition, the calculation unit 172 may calculate the transfer function G IF (s, p). The calculation unit 172 calculates the transfer function G org (s), transfer function G IF(s, p) may be calculated. In the offline simulation, the impedance of the EUT 2 specified by the calculation device 13 in the online setting mode may be used as the impedance of the simulated EUT 2 in the virtual circuit 1002.

[0075] Furthermore, the calculation unit 172 calculates the transfer function G IF (s,p) is the transfer function G org The calculation unit 172 may calculate a value of the parameter p that approximates the transfer function G IF When calculating (s, p), the parameter set in the online setting mode may be used as the initial value of the parameter p of the phase compensation filter 1119. IF (s,p) is the transfer function G org The calculation section 172 may calculate the value of the parameter p such that the transfer function G(s,p) normalized by (s) approximates 1. The calculation section 172 may supply the calculated value of the parameter p to the setting section 173.

[0076] The setting unit 173 sets the value of the parameter p calculated by the calculation unit 172 in the phase compensation filter 1119 in each of the online setting mode and the offline setting mode.

[0077] According to the above setting device 17, in the online setting mode, the signal propagation delay is calculated using the calibration DUT 2 having known characteristics, and the parameters of the phase compensation filter 1119 are set so as to compensate for this propagation delay, so that the propagation delay of the interface circuit 10 in the online setting mode can be reliably compensated for. Therefore, even in the test mode in which the same interface circuit 10 as that in the online setting mode is used, the propagation delay of the interface circuit 10 can be reliably compensated for, so that the accuracy of the test on the DUT 2 can be improved.

[0078] In addition, in offline setting mode, the transfer function G IF (s,p) is the transfer function G orgThe value of the parameter p is calculated so that the transfer function G(s,p) normalized by (s) is close to 1 and is set in the phase compensation filter 1119. Therefore, the transfer function G IF (s,p) is the transfer function G org (s). Therefore, the phase compensation filter 1119 can be adjusted so that the transmission delay between the connection target circuit 110 and the EUT 2 is reliably compensated for. Furthermore, since the parameters set in the online setting mode are used as the initial values ​​of the parameters of the phase compensation filter 1119, the time and cost required to calculate suitable parameters can be reduced. Furthermore, since the impedance of the EUT 2 specified by the calculation device 13 in the online setting mode is used as the impedance of the simulated EUT 2 in the virtual circuit 1002, the accuracy of the offline simulation can be improved.

[0079] [3.1. Connection circuit 115] 4 shows a virtual circuit 1002(1) created by software in which a target circuit 110 is directly connected to a simulated device under test 2. The target circuit 110 in the offline simulation and the simulated device under test 2 are connected by a connection circuit 115. The connection circuit 115 may simulate a circuit in which a main terminal of the target circuit 110 and a main terminal of the device under test 2 are directly connected by wiring. The voltage Vs output from the target circuit 110 is used as an input u, and the voltage V applied between the main terminals of the device under test 2 is L Output y ORG If so, the output y ORG may follow the input u with a delay due to a delay in the simulation in the simulation device 11. In this case, the transfer function G org (s) is an input u to output y ORG It may be a function that transforms

[0080] [3.2. Connection circuit 116] 5 shows a virtual circuit 1002(2) in which a connection target circuit 110 is connected to a simulated device under test 2 via a virtual interface circuit 111 and an interface circuit 10. The connection target circuit 110 and the simulated device under test 2 in the offline simulation are connected by a connection circuit 116. The connection circuit 116 may simulate the virtual interface circuit 111 and the interface circuit 10 that mediate between the main terminals of the connection target circuit 110 and the main terminals of the simulated device under test 2. The voltage Vs output from the connection target circuit 110 is used as an input u, and the voltage V applied between the main terminals of the simulated device under test 2 is back Output y IF If so, the output y IF may follow the input u with a delay due to a delay in the simulation in the simulation device 11. In this case, the transfer function G IF (s) is an input u to output y IF The impedance of the simulated EUT 2 may be the impedance of the EUT 2 specified by the calculation device 13 in the online setting mode, and may be equal to the impedance of the damping impedance circuit 1115 adjusted by the adjustment device 14.

[0081] [4. Operation] 6 shows the operation of the simulation system 1. The simulation system 1 performs the processes of steps S1 to S11 to perform a hardware-in-the-loop simulation of the device under test 2. Note that, at the start of this operation, the operation mode of the simulation system may be set to the online setting mode by the switching device 18.

[0082] In step S1, the adjustment device 14 adjusts the impedance of the virtual interface circuit 111 (the impedance of the attenuation impedance circuit 1115 is used as an example in this embodiment) based on the impedance of the EUT 2. The adjustment device 14 may adjust the impedance of the virtual interface circuit 111 in cooperation with the calculation device 13, and the calculation device 13 may calculate the impedance of the EUT 2 to be tested from the voltage and current measured in an online simulation performed by connecting the simulation device 11 to the EUT 2 to be tested, and the adjustment device 14 may adjust the impedance of the virtual interface circuit 111 based on the calculation result. As an example, the adjustment device 14 may adjust the impedance of the virtual interface circuit 111 to the impedance calculated by the calculation device 13.

[0083] In step S3, the setting device 17 sets a parameter p of the phase compensation filter 1119. The setting device 17 may adjust the parameter p of the phase compensation filter so as to cancel the propagation delay of the interface circuit 10. The setting device 17 may set the parameter p of the phase compensation filter so as to compensate for the propagation delay of the interface circuit 10 in an online simulation using a calibration DUT 2 having known characteristics.

[0084] In step S5, the switching device 18 switches the operation mode of the simulation system 1 from the online setting mode to the offline setting mode.

[0085] In step S7, the setting device 17 sets a parameter p of the phase compensation filter 1119. The setting device 17 sets a transfer function G org (s) and the transfer function G IF The parameters may be set so that (s,p) is close to the transfer function G IF (s, p) may be calculated by an offline simulation of a virtual circuit 1002(2) including a phase compensation filter 1119 whose parameters have been set as initial values ​​by the process in step S3.

[0086] In step S9, the switching device 18 switches the operation mode of the simulation system 1 from the offline setting mode to the test mode.

[0087] In step S11, the simulation system 1 simulates the circuit under simulation 1000 including the connection target circuit 110, the virtual interface circuit 111, and the phase compensation filter 1119, and tests the device under test 2.

[0088] [4.1. Impedance adjustment processing] 7 shows the impedance adjustment process. The adjustment device 14 and the calculation device 13 adjust the attenuation impedance of the virtual interface circuit 111 (the impedance of the attenuation impedance circuit 1115 as an example in this embodiment) by performing the processes of steps S21 to S25.

[0089] In step S21, the supply unit 131 of the calculation device 13 supplies a command value of the voltage applied to the device under test 2 to the DA converter 106, and the measurement unit 132 measures the voltage applied to and current flowing through the device under test 2. For example, the supply unit 131 may supply a command value of a reference AC voltage V(t) of rated voltage and rated frequency expressed by the following formula (1) to the DA converter 106. As a result, the device under test 2 is driven by the reference AC voltage V(t).

[0090] V(t) = V 0· sin(ω0t) …(1) In the formula, V0 is the amplitude of the reference AC voltage, and ω0 is the angular frequency of the reference AC voltage.

[0091] Furthermore, the measurement section 132 may measure the voltage V(t) applied to the device under test 2 and the current I(t) flowing therethrough.

[0092] In step S23, the determination unit 133 of the calculation device 13 calculates the attenuation impedance of the device under test 2. The determination unit 133 may approximate the measurement result as a sine wave having the same frequency as the reference AC voltage V(t), as represented by the following equation (2).

[0093] I(t) ≒ I 0· sin(ω0t-θ) …(2) where I0 is the amplitude of the current and θ is the phase lag from the voltage waveform.

[0094] Furthermore, the identifying unit 133 may simplify the DUT 2 into a series circuit of a single resistor and a single coil or capacitor, and identify the impedance of the DUT 2. For example, the identifying unit 133 may identify the impedance Z0 of the DUT 2 by the following formula (3).

[0095] Z0 = R0 + jX0 … (3) In the formula, R0 is the resistance component of impedance Z0, and is calculated from R0 = V0 / I0 cosθ. X0 is the reactance component of impedance Z0, and is calculated from X0 = V0 / I0 sinθ.

[0096] The determination unit 133 may calculate the inductive reactance L0 from the equation X0=ω0L0 when the reactance component X0 is positive (0≦θ≦π / 2), and may calculate the capacitive reactance C0 from the equation X0=-1 / (ω0C0) when the reactance component X0 is negative (-π / 2≦θ<0). In this way, the attenuation impedance of the device under test 2 is calculated.

[0097] In step S25, the adjustment device 14 adjusts the attenuation impedance of the virtual interface circuit 111 (the impedance of the attenuation impedance circuit 1115 in the present embodiment as an example). dmp and coil L dmp Alternatively, the combined impedance with a capacitor (not shown) may be adjusted to the impedance calculated in step S21.

[0098] According to the impedance adjustment process described above, the impedance of the test device 2 when simplified into a series circuit of a single resistor and a single coil or capacitor is calculated, so that the impedance of the test device 2 can be easily calculated.

[0099] [4.2. Phase compensation filter setting process (1)] 8 shows the process of setting the phase compensation filter 1119 in step S3. The setting device 17 sets the parameters of the phase compensation filter 1119 by performing the processes of steps S31 to S35.

[0100] In step S31, the acquisition unit 171 acquires a signal from either the voltage measurement unit 102 or the AD converter 104, and a signal from either the current measurement unit 103 or the AD converter 105 in an online simulation in which the simulated connection target circuit 110 is connected to the calibration test equipment 2 via the virtual interface circuit 111 and the interface circuit 10.

[0101] In step S33, the calculation unit 172 calculates an equivalent propagation delay obtained by adding together the propagation delay of the first signal from the EUT 2 to the circuit 110 to be connected and the propagation delay of the second signal from the circuit 110 to be connected to the EUT 2, as a propagation delay of multiple orders. The calculation unit 172 may approximate the propagation delay of multiple orders to a simple first-order propagation delay. The calculation unit 172 may calculate a value of a parameter p of a phase adjustment filter that compensates for the obtained propagation delay.

[0102] In step S35, the setting unit 173 sets the calculated value of the parameter p in the phase compensation filter 1119. As a result, the phase compensation filter 1119 compensates for the transmission delay of the interface circuit 10 (the equivalent transmission delay combining the transmission delay of the first signal from the EUT 2 to the connection target circuit 110 and the transmission delay of the second signal from the connection target circuit 110 to the EUT 2).

[0103] [4.3. Phase compensation filter setting process (2)] 9 shows the setting process in step S7 for the phase compensation filter 1119. The setting device 17 sets the parameters for the phase compensation filter 1119 by performing the processes in steps S41 to S45.

[0104] In step S41, the acquiring unit 171 acquires a voltage applied to and a current flowing through the simulated EUT 2 in an offline simulation of the virtual circuits 1002(1) and (2) in which the connection target circuit 110 is connected to the simulated EUT 2. The acquiring unit 171 may further acquire an impedance of the EUT 2 (the EUT 2 to be tested, as an example) identified by the calculating device 13 in the process of step S23. The acquiring unit 171 may also acquire an equivalent transmission delay (multiple-order transmission delays, as an example in this embodiment) calculated in the process of step S33 as a transmission delay characteristic of the interface circuit 10.

[0105] In step S43, the calculation unit 172 calculates the transfer function G org (s) and the transfer function G IF (s,p) is calculated. The transfer function G IF In the calculation of (s, p), the equivalent transmission delay (multiple-order transmission delay, as an example, in this embodiment) calculated in the process of step S33 may be used as the transmission delay of the interface circuit 10. org (s) may not be calculated by the calculation unit 172, but may be acquired by the acquisition unit 171 from the operator.

[0106] The calculation unit 172 calculates the transfer function G IF (s,p) is the transfer function G org The calculation unit 172 calculates a value of a parameter p that approximates G(s, p)=G IF (s,p) / G org The calculation unit 172 may calculate the value of the parameter p such that (s) is close to 1. Every time the value of the parameter p is changed, the calculation unit 172 changes the transfer function G org (s) and calculate the transfer function G org (s) is the transfer function G orgThe value of the parameter p may be calculated so as to approximate (s). In this case, the parameters set in the phase compensation filter 1119 by the process in step S3 may be used as initial values.

[0107] The calculation unit 172 calculates the transfer function G IF (s,p) is the transfer function G org A value of the parameter p that approximates (s) may be calculated. The reference frequency band may include a frequency band of the phenomenon to be simulated. The phenomenon to be simulated may be, for example, a steady state. In this case, the frequency band may be 50 to 60 Hz. The phenomenon to be simulated may also be, for example, a transient state. In this case, the frequency band may be in the ultra-high frequency range. The reference frequency band may be arbitrarily set by an operator, and may be set so that, for example, a frequency fluctuation that may occur in the connection target circuit 110 is included in the band.

[0108] In step S45, the setting unit 173 sets the calculated value of the parameter p in the phase compensation filter 1119. As a result, the transfer function G IF (s,p) is the transfer function G org The value of the parameter p is set so as to approximate (s), and the propagation delay between the target circuit 110 and the DUT 2 is compensated for by the phase compensation filter 1119 .

[0109] According to the above-described phase compensation filter setting process, the transfer function G IF (s,p) is the transfer function G org Since an appropriate value of parameter p that approximates (s) is calculated, it is possible to prevent a parameter p that compensates for high frequency bands unnecessary for the evaluation of the EUT 2 and amplifies noise from being calculated and set in the phase compensation filter 1119.

[0110] In addition, the transfer delays of the multiple orders calculated in the process of step S33 in the online setting process are used as the transfer delays of the interface circuit 10 to obtain a transfer function G IFSince (s, p) is calculated, it is possible to incorporate high-order complicated propagation delays directly into the offline simulation to adjust the parameters of the phase compensation filter 1119. Therefore, it is possible to further improve the accuracy of the test for the EUT 2.

[0111] [4.4. Example of operation] FIG. 10 shows an example of a gain characteristic curve of a transfer function. In the figure, the graph on the left shows the transfer function G org (s),G IF The graph in the middle shows an example of the gain characteristic curve of the transfer function G(s,p) before changing the parameter p, and the graph on the right shows an example of the gain characteristic curve of the transfer function G(s,p) after changing the parameter p. The vertical axis of each graph indicates gain (dB), and the horizontal axis indicates frequency. Note that 0 dB on the vertical axis means that the magnification is 1.

[0112] The calculation unit 172 of the setting device 17 calculates a transfer function G org (s),G IF (s, p). The calculation unit 172 of the setting device 17 may calculate a value of the parameter p such that the transfer function G(s, p) shown in the graph at the center of the figure is approximated to 0 dB (1x) to become the transfer function G(s, p) shown in the graph at the right side of the figure. For example, the calculation unit 172 may calculate a value of the parameter p such that the integral result (shaded part in the figure) of the absolute value of the difference between the gain characteristic curve of the transfer function G(s, p) and zero (dB) is minimized as the value of the parameter p such that the transfer function G(s, p) is approximated to 1. Alternatively, the calculation unit 172 may calculate a value of the parameter p such that the integral result of the square of the difference between the gain characteristic curve of the transfer function G(s, p) and zero (dB) is minimized as the value of the parameter p such that the transfer function G(s, p) is approximated to 1. The calculation unit 172 also calculates the maximum deviation value between the gain characteristic curve of the transfer function G(s,p) and zero (dB) (indicated as “||G(s)|| ∞" ) and the value of the parameter p when the calculated maximum deviation value is smallest may be calculated as the value of the parameter p that makes the transfer function G(s,p) approximate to 1. By calculating the value of the parameter p in the above manner, the transfer function G IF (s,p) is the transfer function G org (s) can be reliably approximated.

[0113] [5. Modifications] In the above embodiment, the simulation system 1 has been described as including the calculation device 13 and the switching device 18, but any of them may be omitted. For example, when the simulation system 1 does not include the calculation device 13, the impedance of the DUT 2 may be supplied from the calculation device 13 outside the simulation system 1.

[0114] In addition, although the simulation system 1 has been described as including the adjustment device 14 and the setting device 17, it is possible to have either one of them not be included. Furthermore, if the simulation system 1 does not include the setting device 17, the switching device 18 does not need to switch the operation mode of the simulation system 1 to the offline setting mode.

[0115] Also, the transfer function G IF (s,p) is the transfer function G org The parameter p was set to be calculated so that the transfer function G(s,p) normalized by (s) is close to 1. IF (s,p) and the transfer function G org The value of the parameter p may be calculated so that the difference with (s) approaches zero.

[0116] Also, the transfer function G IFAlthough the test device 2 has been described as being simulated with respect to (s, p), it may be an actual device (e.g., a real device or a mini model) that is not simulated. In this case, in the process of steps S41 to S43, the transfer function G IF (s,p) may be calculated.

[0117] Although the above description assumes that input and output to and from the simulation device 11 is digital, analog input and output may be performed. In this case, the interface circuit 10 does not need to be provided with the AD converters 104 and 105 and the DA converter 106.

[0118] In addition, although the connection target circuit 110 has been described as a power system that supplies power to the DUT 2, it may also be a DC or AC power source, or one or more loads that consume the power supplied from the DUT 2.

[0119] Various embodiments of the present invention may also be described with reference to flow charts and block diagrams, where the blocks may represent (1) stages of a process in which operations are performed or (2) sections of an apparatus responsible for performing the operations. Particular stages and sections may be implemented by dedicated circuitry, programmable circuitry provided with computer readable instructions stored on a computer readable medium, and / or a processor provided with computer readable instructions stored on a computer readable medium. Dedicated circuitry may include digital and / or analog hardware circuitry and may include integrated circuits (ICs) and / or discrete circuits. Programmable circuitry may include reconfigurable hardware circuitry including logical AND, logical OR, logical XOR, logical NAND, logical NOR, and other logical operations, memory elements such as flip-flops, registers, field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), and the like.

[0120] A computer-readable medium may include any tangible device capable of storing instructions that are executed by a suitable device, such that the computer-readable medium having instructions stored thereon comprises an article of manufacture that includes instructions that can be executed to create means for performing the operations specified in the flowcharts or block diagrams. Examples of computer-readable media may include electronic storage media, magnetic storage media, optical storage media, electromagnetic storage media, semiconductor storage media, and the like. More specific examples of computer-readable media may include floppy disks, diskettes, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), electrically erasable programmable read-only memories (EEPROMs), static random access memories (SRAMs), compact disk read-only memories (CD-ROMs), digital versatile disks (DVDs), Blu-ray (RTM) disks, memory sticks, integrated circuit cards, and the like.

[0121] The computer readable instructions may include either assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or either source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, JAVA, C++, etc., and conventional procedural programming languages ​​such as the "C" programming language or similar programming languages.

[0122] Computer readable instructions may be provided to a processor or programmable circuitry of a general purpose computer, special purpose computer, or other programmable data processing apparatus, either locally or over a local area network (LAN), a wide area network (WAN), such as the Internet, etc., to execute the computer readable instructions to create means for performing the operations specified in the flowcharts or block diagrams. Examples of processors include computer processors, processing units, microprocessors, digital signal processors, controllers, microcontrollers, etc.

[0123] 11 illustrates an example of a computer 2200 in which aspects of the present invention may be embodied in whole or in part. Programs installed on the computer 2200 may cause the computer 2200 to function as or perform operations associated with an apparatus or one or more sections of the apparatus according to an embodiment of the present invention, and / or to perform a process or steps of a process according to an embodiment of the present invention. Such programs may be executed by the CPU 2212 to cause the computer 2200 to perform specific operations associated with some or all of the blocks of the flowcharts and block diagrams described herein.

[0124] The computer 2200 according to this embodiment includes a CPU 2212, a RAM 2214, a graphic controller 2216, and a display device 2218, which are connected to each other by a host controller 2210. The computer 2200 also includes input / output units such as a communication interface 2222, a hard disk drive 2224, a DVD-ROM drive 2226, and an IC card drive, which are connected to the host controller 2210 via an input / output controller 2220. The computer also includes legacy input / output units such as a ROM 2230 and a keyboard 2242, which are connected to the input / output controller 2220 via an input / output chip 2240.

[0125] The CPU 2212 operates according to a program stored in the ROM 2230 and the RAM 2214, thereby controlling each unit. The graphic controller 2216 retrieves image data generated by the CPU 2212 into a frame buffer or the like provided in the RAM 2214 or into the graphic controller 2216 itself, and causes the image data to be displayed on the display device 2218.

[0126] The communication interface 2222 communicates with other electronic devices via a network. The hard disk drive 2224 stores programs and data used by the CPU 2212 in the computer 2200. The DVD-ROM drive 2226 reads programs or data from the DVD-ROM 2201 and provides the programs or data to the hard disk drive 2224 via the RAM 2214. The IC card drive reads programs and data from an IC card and / or writes programs and data to an IC card.

[0127] The ROM 2230 stores therein a boot program or the like executed by the computer 2200 upon activation, and / or a program that depends on the hardware of the computer 2200. The input / output chip 2240 may also connect various input / output units to the input / output controller 2220 via a parallel port, a serial port, a keyboard port, a mouse port, and the like.

[0128] The programs are provided by a computer-readable medium such as a DVD-ROM 2201 or an IC card. The programs are read from the computer-readable medium, installed in the hard disk drive 2224, the RAM 2214, or the ROM 2230, which are also examples of computer-readable media, and executed by the CPU 2212. Information processing described in these programs is read by the computer 2200, and brings about cooperation between the programs and the various types of hardware resources described above. An apparatus or method may be constructed by realizing information manipulation or processing according to the use of the computer 2200.

[0129] For example, when communication is performed between the computer 2200 and an external device, the CPU 2212 may execute a communication program loaded in the RAM 2214 and instruct the communication interface 2222 to perform communication processing based on the processing described in the communication program. Under the control of the CPU 2212, the communication interface 2222 reads transmission data stored in a transmission buffer processing area provided in the RAM 2214, the hard disk drive 2224, the DVD-ROM 2201, or a recording medium such as an IC card, and transmits the read transmission data to the network, or writes reception data received from the network to a reception buffer processing area or the like provided on the recording medium.

[0130] Furthermore, the CPU 2212 may cause all or a necessary portion of a file or database stored in an external recording medium such as the hard disk drive 2224, the DVD-ROM drive 2226 (DVD-ROM 2201), an IC card, etc. to be read into the RAM 2214, and perform various types of processing on the data on the RAM 2214. The CPU 2212 then writes back the processed data to the external recording medium.

[0131] Various types of information, such as various types of programs, data, tables, and databases, may be stored in the recording medium and undergo information processing. The CPU 2212 may perform various types of processing on the data read from the RAM 2214, including various types of operations, information processing, conditional judgment, conditional branching, unconditional branching, information search / replacement, etc., as described throughout this disclosure and specified by the instruction sequence of the program, and write back the results to the RAM 2214. The CPU 2212 may also search for information in a file, database, etc. in the recording medium. For example, when a plurality of entries each having an attribute value of a first attribute associated with an attribute value of a second attribute are stored in the recording medium, the CPU 2212 may search for an entry that matches a condition, in which an attribute value of the first attribute is specified, from among the plurality of entries, read the attribute value of the second attribute stored in the entry, and thereby obtain the attribute value of the second attribute associated with the first attribute that satisfies a predetermined condition.

[0132] The above-described programs or software modules may be stored in a computer-readable medium on the computer 2200 or in the vicinity of the computer 2200. Also, a recording medium such as a hard disk or a RAM provided in a server system connected to a dedicated communication network or the Internet can be used as a computer-readable medium, thereby providing the programs to the computer 2200 via the network.

[0133] Although the present invention has been described above using the embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments. It is clear to those skilled in the art that various modifications and improvements can be made to the above embodiments. It is clear from the description of the claims that such modifications and improvements can also be included in the technical scope of the present invention.

[0134] It should be noted that the order of execution of each process, such as operations, procedures, steps, and stages, in the devices, systems, programs, and methods shown in the claims, specifications, and drawings is not specifically stated as "before," "prior to," etc., and may be realized in any order unless the output of a previous process is used in a later process. Even if the operational flow in the claims, specifications, and drawings is explained using "first," "next," etc. for convenience, it does not mean that it is essential to perform the process in this order. [Explanation of symbols]

[0135] 1 Simulation system 2 Test machine 10 Interface circuit 11 Simulation device 13 Calculation device 14 Adjustment device 17 Setting device 18 Switching Device 101 Voltage Source 102 Voltage measurement section 103 Current measurement section 104 A / D converter 105 A / D converter 106 DA Converter 110 Connection target circuit 111 Virtual Interface Circuit 115 Connection circuit 116 Connection circuit 131 Supply section 132 Measuring section 133 Specific part 171 Acquisition Department 172 Calculation section 173 Setting section 1000 Simulated circuits 1001 Hardware-in-the-loop circuit 1002 Virtual Circuit 1101 Voltage Source 1111 Voltage Source 1112 current source 1113 Voltage measurement unit 1115 Damping Impedance Circuit 1119 Phase compensation filter 2200 Computer 2201 DVD-ROM 2210 Host Controller 2212 CPU 2214 RAM 2216 Graphics Controller 2218 Display Device 2220 Input / Output Controller 2222 Communication Interface 2224 Hard Disk Drive 2226 DVD-ROM drive 2230 ROM 2240 Input / Output Chip 2242 Keyboard

Claims

1. A simulation system for performing a hardware-in-the-loop simulation of a device under test to be connected to a target circuit, an interface circuit connected to the EUT; a simulation device that is connected to the EUT via the interface circuit and that simulates a circuit to be simulated, the circuit to be connected, a virtual interface circuit that connects the circuit to be connected and the interface circuit, and a phase compensation filter provided in the virtual interface circuit; an adjustment device that adjusts the attenuation impedance of the virtual interface circuit based on the impedance of the EUT; a switching device for switching an operation mode of the simulation system between a specific mode for specifying an impedance of the EUT and a test mode for testing the EUT using the simulation device; A simulation system comprising:

2. A simulation system for performing a hardware-in-the-loop simulation of a device under test to be connected to a target circuit, an interface circuit connected to the EUT; a simulation device that is connected to the EUT via the interface circuit and that simulates a circuit to be simulated, the circuit to be connected, a virtual interface circuit that connects the circuit to be connected and the interface circuit, and a phase compensation filter provided in the virtual interface circuit; an adjustment device that adjusts the attenuation impedance of the virtual interface circuit based on the impedance of the EUT; A calculation device for calculating the impedance of the test specimen; Equipped with The calculation device is A supply unit that supplies a reference AC voltage to the EUT; A measurement unit that measures a current flowing through the device under test and a voltage applied to the device under test; an identification unit that identifies the impedance of the EUT from the measurement result by the measurement unit; A simulation system having the above configuration.

3. The simulation system according to claim 2 , wherein the specifying unit specifies an impedance of the device under test when the device under test is simplified into a series circuit of a single resistor and a single coil or capacitor.

4. A simulation system for performing a hardware-in-the-loop simulation of a device under test to be connected to a target circuit, an interface circuit connected to the EUT; a simulation device that is connected to the EUT via the interface circuit and that simulates a circuit to be simulated, the circuit to be connected, a virtual interface circuit that connects the circuit to be connected and the interface circuit, and a phase compensation filter provided in the virtual interface circuit; an adjustment device that adjusts the attenuation impedance of the virtual interface circuit based on the impedance of the EUT; a setting device for setting parameters of the phase compensation filter; Equipped with the phase compensation filter is provided on either a path of a first signal communicated from the EUT to the target circuit or a path of a second signal communicated from the target circuit to the EUT; the setting device sets parameters of the phase compensation filter so that a combined transmission delay of the first signal and the transmission delay of the second signal is compensated for by the phase compensation filter; The setting device is a simulation system that sets parameters of the phase compensation filter so that the transmission delay is compensated in a simulation performed by connecting an equipment having known characteristics to the simulation device as the test device.

5. A simulation system for performing a hardware-in-the-loop simulation of a device under test to be connected to a target circuit, an interface circuit connected to the EUT; a simulation device that is connected to the EUT via the interface circuit and that simulates a circuit to be simulated, the circuit to be connected, a virtual interface circuit that connects the circuit to be connected and the interface circuit, and a phase compensation filter provided in the virtual interface circuit; an adjustment device that adjusts the attenuation impedance of the virtual interface circuit based on the impedance of the EUT; a setting device for setting parameters of the phase compensation filter; Equipped with The setting device includes: setting the parameters so that a transfer function G org (s) (where s is a complex variable) expressing the relationship between a signal generated in the connection target circuit when the simulated connection target circuit is directly connected to the EUT and a signal generated in the EUT approximates a transfer function G IF (s, p) (where p is a parameter) expressing the relationship between a signal generated in the connection target circuit when the simulated connection target circuit is connected to the EUT via the virtual interface circuit and the interface circuit, the simulation device is capable of simulating a virtual circuit including at least the connection target circuit and the EUT; The simulation system includes: an online setting mode in which the simulation apparatus is connected to the EUT and the parameters are set to compensate for a transmission delay of the interface circuit in a simulation executed; an offline setting mode in which the parameters are set so that the transfer function G org (s) in a simulation of the virtual circuit in which the simulated connection target circuit is directly connected to the EUT and the transfer function G IF (s, p) in a simulation of the virtual circuit including the phase compensation filter in which the parameters are set as initial values ​​in the online setting mode are similar to each other; a test mode in which the simulation apparatus is connected to the EUT and a simulation is executed, the EUT is tested using the simulation target circuit including the phase compensation filter whose parameters have been set in the offline setting mode; The simulation system further comprises a switching device for switching the operation mode of the simulation system between the above and the above.

6. 6. The simulation system according to claim 5, wherein in the online setting mode, a device having known characteristics is connected to the simulation apparatus as the device under test.

7. The setting device includes: The transfer function G org (s) and the transfer function G IF A calculation unit for calculating (s, p); The transfer function G IF (s, p) is the transfer function G org A calculation unit for calculating a value of a parameter p that approximates (s); a setting unit that sets the calculated value of the parameter p in the phase compensation filter; 7. The simulation system according to claim 5, further comprising:

8. The calculation unit calculates the transfer function G IF (s, p) is the transfer function G org 8. The simulation system according to claim 7, wherein the value of the parameter p is calculated such that a transfer function G(s, p) normalized with respect to (s) approximates 1.

9. 9. The simulation system according to claim 8, wherein the calculation unit calculates a maximum deviation value between a gain characteristic curve of the transfer function G(s, p) and zero (dB) for each value of the parameter p, and calculates the value of the parameter p when the maximum deviation value is smallest as the value of the parameter p such that the transfer function G(s, p) approximates 1.

10. 9. The simulation system according to claim 8, wherein the calculation unit calculates the value of the parameter p such that an integration result of an absolute value of a difference between a gain characteristic curve of the transfer function G(s, p) and zero (dB) or an integration result of a square of the difference is minimized as the value of the parameter p such that the transfer function G(s, p) approximates 1.

11. The calculation unit calculates the transfer function G IF (s, p) is the transfer function G org The simulation system according to claim 7 , wherein the value of the parameter p is calculated so as to approximate (s).

12. the phase compensation filter is provided on either a path of a first signal communicated from the EUT to the target circuit or a path of a second signal communicated from the target circuit to the EUT; 12. The simulation system according to claim 5, wherein the setting device sets parameters of the phase compensation filter such that a combined transmission delay of the first signal and a transmission delay of the second signal are compensated for by the phase compensation filter.

13. The setting device calculates the transmission delay obtained by combining the transmission delay of the first signal and the transmission delay of the second signal as a transmission delay of multiple orders, and sets the transfer function G IF (s, p) is the transfer function G org The simulation system of claim 12 , wherein the parameters are set to approximate (s).

14. A simulation method executed in a simulation system that performs a hardware-in-the-loop simulation of a device under test to be connected to a target circuit, comprising: a simulation step of simulating a simulation target circuit including a virtual interface circuit connected to the EUT via an interface circuit and connecting the connection target circuit and the interface circuit, a phase compensation filter provided in the virtual interface circuit, and the connection target circuit; an adjustment step of adjusting an attenuation impedance of the virtual interface circuit based on the impedance of the EUT; determining an impedance of the device under test; a switching step of switching an operation mode of the simulation system between a specific mode in which the specific step is performed and a test mode in which the EUT is tested by the simulation step; A simulation method comprising:

15. A simulation method for performing a hardware-in-the-loop simulation of a device under test to be connected to a target circuit, comprising: a simulation step of simulating a simulation target circuit including a virtual interface circuit connected to the EUT via an interface circuit and connecting the connection target circuit and the interface circuit, a phase compensation filter provided in the virtual interface circuit, and the connection target circuit; an adjustment step of adjusting an attenuation impedance of the virtual interface circuit based on the impedance of the EUT; A calculation step of calculating the impedance of the test specimen; Equipped with The calculation step comprises: a supplying step of supplying a reference AC voltage to the EUT; a measurement step of measuring a current flowing through the device under test and a voltage applied to the device under test; a determination step of determining the impedance of the EUT from the measurement result obtained by the measurement step; The simulation method includes:

16. A simulation method for performing a hardware-in-the-loop simulation of a device under test to be connected to a target circuit, comprising: a simulation step of simulating a simulation target circuit including a virtual interface circuit connected to the EUT via an interface circuit and connecting the connection target circuit and the interface circuit, a phase compensation filter provided in the virtual interface circuit, and the connection target circuit; an adjustment step of adjusting an attenuation impedance of the virtual interface circuit based on the impedance of the EUT; A setting step of setting parameters of the phase compensation filter; Equipped with the phase compensation filter is provided on either a path of a first signal communicated from the EUT to the target circuit or a path of a second signal communicated from the target circuit to the EUT; In the setting step, a parameter of the phase compensation filter is set so that a combined transmission delay of the first signal and a transmission delay of the second signal is compensated for by the phase compensation filter; A simulation method in which, in the setting step, parameters of the phase compensation filter are set so that the transmission delay is compensated in a simulation performed by connecting a device having known characteristics as the test device to the interface circuit.

17. A simulation method executed in a simulation system that performs a hardware-in-the-loop simulation of a device under test to be connected to a target circuit, comprising: a simulation step of simulating a simulation target circuit including a virtual interface circuit connected to the EUT via an interface circuit and connecting the connection target circuit and the interface circuit, a phase compensation filter provided in the virtual interface circuit, and the connection target circuit; an adjustment step of adjusting an attenuation impedance of the virtual interface circuit based on the impedance of the EUT; A setting step of setting parameters of the phase compensation filter; Equipped with In the setting step, setting the parameters so that a transfer function G org (s) (where s is a complex variable) expressing the relationship between a signal generated in the connection target circuit when the simulated connection target circuit is directly connected to the EUT and a signal generated in the EUT approximates a transfer function G IF (s, p) (where p is a parameter) expressing the relationship between a signal generated in the connection target circuit when the simulated connection target circuit is connected to the EUT via the virtual interface circuit and the interface circuit, The simulation step can simulate a virtual circuit including at least the connection target circuit and the EUT; The simulation method includes: an online setting mode in which the parameters are set so as to compensate for a transmission delay of the interface circuit in a simulation performed with the interface circuit connected to the EUT; an offline setting mode in which the parameters are set so that the transfer function G org (s) in a simulation of the virtual circuit in which the simulated connection target circuit is directly connected to the EUT and the transfer function G IF (s, p) in a simulation of the virtual circuit including the phase compensation filter in which the parameters are set as initial values ​​in the online setting mode are similar to each other; a test mode in which, in a simulation performed by connecting the interface circuit to the EUT, the EUT is tested using the simulation target circuit including the phase compensation filter whose parameters have been set in the offline setting mode; The simulation method further comprises a switching step of switching the operation mode of the simulation system between.

18. On the computer, A simulation device for performing a hardware-in-the-loop simulation of a device under test to be connected to a circuit to be connected, the simulation device being connected to the device under test via an interface circuit, and simulating a circuit to be simulated including a virtual interface circuit connecting the circuit to be connected and the interface circuit, a phase compensation filter provided in the virtual interface circuit, and the circuit to be connected; an adjustment device that adjusts the attenuation impedance of the virtual interface circuit based on the impedance of the EUT; a switching device for switching an operation mode of the simulation device between a specific mode for specifying an impedance of the EUT and a test mode for testing the EUT by the simulation device; A program to achieve this.

19. On the computer, A simulation device for performing a hardware-in-the-loop simulation of a device under test to be connected to a circuit to be connected, the simulation device being connected to the device under test via an interface circuit, and simulating a circuit to be simulated including a virtual interface circuit connecting the circuit to be connected and the interface circuit, a phase compensation filter provided in the virtual interface circuit, and the circuit to be connected; an adjustment device that adjusts the attenuation impedance of the virtual interface circuit based on the impedance of the EUT; A calculation device for calculating the impedance of the test specimen; Realize this, The calculation device is A supply unit that supplies a reference AC voltage to the EUT; A measurement unit that measures a current flowing through the device under test and a voltage applied to the device under test; an identification unit that identifies the impedance of the EUT from the measurement result by the measurement unit; A program having:

20. On the computer, A simulation device for performing a hardware-in-the-loop simulation of a device under test to be connected to a circuit to be connected, the simulation device being connected to the device under test via an interface circuit, and simulating a circuit to be simulated including a virtual interface circuit connecting the circuit to be connected and the interface circuit, a phase compensation filter provided in the virtual interface circuit, and the circuit to be connected; an adjustment device that adjusts the attenuation impedance of the virtual interface circuit based on the impedance of the EUT; a setting device for setting parameters of the phase compensation filter; Realize this, the phase compensation filter is provided on either a path of a first signal communicated from the EUT to the target circuit or a path of a second signal communicated from the target circuit to the EUT; the setting device sets parameters of the phase compensation filter so that a combined transmission delay of the first signal and the transmission delay of the second signal is compensated for by the phase compensation filter; The setting device is a program that sets parameters of the phase compensation filter so that the transmission delay is compensated in a simulation performed by connecting an equipment having known characteristics to the simulation device as the test equipment.

21. On the computer, A simulation device for performing a hardware-in-the-loop simulation of a device under test to be connected to a circuit to be connected, the simulation device being connected to the device under test via an interface circuit, and simulating a circuit to be simulated including a virtual interface circuit connecting the circuit to be connected and the interface circuit, a phase compensation filter provided in the virtual interface circuit, and the circuit to be connected; an adjustment device that adjusts the attenuation impedance of the virtual interface circuit based on the impedance of the EUT; a setting device for setting parameters of the phase compensation filter; Realize this, The setting device includes: setting the parameters so that a transfer function G org (s) (where s is a complex variable) expressing the relationship between a signal generated in the connection target circuit when the simulated connection target circuit is directly connected to the EUT and a signal generated in the EUT approximates a transfer function G IF (s, p) (where p is a parameter) expressing the relationship between a signal generated in the connection target circuit when the simulated connection target circuit is connected to the EUT via the virtual interface circuit and the interface circuit, the simulation device is capable of simulating a virtual circuit including at least the connection target circuit and the EUT; The simulation device comprises: an online setting mode in which the simulation apparatus is connected to the EUT and the parameters are set to compensate for a transmission delay of the interface circuit in a simulation executed; an offline setting mode in which the parameters are set so that the transfer function G org (s) in a simulation of the virtual circuit in which the simulated connection target circuit is directly connected to the EUT and the transfer function G IF (s, p) in a simulation of the virtual circuit including the phase compensation filter in which the parameters are set as initial values ​​in the online setting mode are similar to each other; a test mode in which the simulation apparatus is connected to the EUT and a simulation is executed, the EUT is tested using the simulation target circuit including the phase compensation filter whose parameters have been set in the offline setting mode; The program further comprises a switching device for switching the operation mode of the simulation device between the above-mentioned modes.

Citation Information

Patent Citations

  • Excitation controller for generator

    JP1997098600A

  • Impedance matching circuit and display device provided with the circuit

    JP1998145640A

  • Variable gain circuit

    JP2008270891A

  • Simulator, simulation system, simulation method, and program

    JP2017077077A