Hardware in the Loop HIL

The COMPISO HIL Unit is an integrated part of the COMPISO System Unit. The HIL Real Time Simulator and cabling is built into the cabinet. For example OP4510 is used as HIL Real Time Simulator.

HIL Hardware Architecture


Connection HIL to COMPISO Digital Amplifier

The HIL is connected to the COMPISO Digital Amplifier via the RT-Link which is compatible with the OPAL-RT Orion Link. Over RT-Link, set points are transferred in real-time form the HIL to the COMPISO Digital Amplifier. Internal measurement values out of the COMPISO Digital Amplifier are sent to the HIL in real-time.

HIL connection to cabinet measurements

At every COMPISO Digital Amplifier Output, the voltage and the current is measured within the COMPISO Digital Amplifier Rack (CDAR). The analogue input board (ADC) of the HIL is connected to the CDAR voltage and current measurements.

SFP-Link: HIL to HIL connection

In bigger systems, the COMPISO System Units are operated in parallel. In this configuration, every COMPISO System Unit has its own HIL Unit. To operate this parallel configuration, one HIL acts as Master-HIL. To keep the Slave-HILs of the other COMPISO System Units under control, the master needs to be connected to the slaves. This Master-HIL to Slave-HIL connection is realised by SFP-Links.

HIL Real-Time Simulator to HIL PC

The HIL Real-Time Simulator communicates with the HIL PC via an Ethernet Network. The HIL PC is required to load different applications into the HIL and to control and parameterize the HIL Real-Time Simulator during operation. This network contains two IT-Switches. The first switch (CSU Switch) is integrated into the COMPISO System Unit. Configurations with parallel operation of several COMPISO System Units have a second IT-Switch (Main Switch) to distribute the data packages between the COMPISO System Units.

HIL Software Architecture


COMPISO Orion Link Driver

This functional block handles the real-time communication between the Digital Amplifier and the HIL. It drives the RT-Link and sends the Real-Time Set Points to the Digital Amplifier and receives Real-Time data out of the Digital Amplifier.

CDA Parallel Driver

This driver contains the control algorithms to drive 2 or more Digital Amplifiers in parallel. The HIL-Application, that uses this driver, addresses the block of parallel Digital Amplifier as it would be just one single amplifier. This block uses the measurement information generated by the CDA Analogue Measurement Driver to balance the Digital Amplifiers.

CSU Analogue Measurement Driver

On the output rail of a CSU, voltage and current are measured. The measurement probes are connected to the ADC input of the HIL. The CSU Analogue Measurement Driver reads the RAW-Measurement values sampled in the ADC Block within the HIL. It processes those RAW values into a format that other drivers or a HIL application can process the measured voltages and currents without adaption or further processing.

HIL Application

The P-HIL applications implemented in this system will use the EGSTON drivers to run the P-HIL system. Standard applications are available from EGSTON. EGSTON usually makes the MATLAB models of the application available to the customer. Based on those basic applications, the customers are able to develop their individual applications.

For further information see: TechnicalData_HIL