Frequently Asked Question

Video: 1.1. HIL Device
Last Updated 3 years ago


Press "Ctrl + F" to find the keyword of your interest.

If you wish to have a direct link access to the video timestamps, please follow these instructions.

Found this video helpful? Why not take the whole HIL Specialist course? A Certificate is waiting for you for free at HIL Academy.

Would you or your organization benefit from having these videos narrated in your native language? Contact us and let us know if you wish to contribute.

TRANSCRIPT

00:00:02

Hello and welcome to our short introduction to Typhoon HIL real time simulation platform.  

00:00:09

This simulation platform includes a software and hardware component.  

00:00:14

Throughout the course we will refer to the hardware part as a HIL device. 

00:00:18

In this module we will start with some basic information about the processor architecture,  

00:00:23

followed by some connectivity options. Lastly, you will be able to see some of the interfaces  

00:00:29

available for you to test your control algorithms. Let's start with the HIL device architecture. 

00:00:36

Typhoon HIL device models vary in processing power, but share a common multi-processor  

00:00:41

architecture which contains a Typhoon FPGA solver, System CPUs, and User CPUs. 

00:00:50

The multi-core FPGA solver is optimized for time-exact simulation of electrical domain models.  

00:00:56

Its main HIL application is to simulate the electrical part of the plant. 

00:01:01

User CPUs represent one or more general purpose processors that are under direct user control.  

00:01:08

It is used for simulating non-electrical domain parts of the plant model (mechanical, thermal,  

00:01:14

signal processing, among others). It can also be used for developing plant controller algorithms.  

00:01:22

This means that in addition to assisting the FPGA solver in simulating the full plant,  

00:01:26

the User CPU can be used for rapid control prototyping. 

00:01:31

System CPUs represent one or more processors that are indirectly controlled by the user.  

00:01:37

They are typically used to simulate low dynamics phenomena of certain electrical  

00:01:41

domain components or to handle communication protocol stacks. 

00:01:47

This was just a brief introduction into the processor architecture.  

00:01:52

We will revisit it in more detail throughout the course after we get a better understanding  

00:01:56

of the challenges of model-based design for real-time simulation. Right now, let’s have  

00:02:02

a look at HIL device from the outside and learn about its connectivity options. The front side  

00:02:08

of the device contains an IO pinout for analog and digital signals as well as an on/off button. 

00:02:14

The number of IOs available depends on the device that you are using. The device that  

00:02:20

we are demonstrating today is from the HIL6 series - HIL 604. This device contains 64 analog  

00:02:28

outputs and 32 analog inputs. It also has 64 digital inputs and 64 digital outputs available.  

00:02:38

Analog inputs and outputs have a resolution of 16 bits with a voltage range of ±10 volts.  

00:02:45

Digital inputs and outputs are standard 5volt CMOS logic IO, fully protected up to 24 volts.  

00:02:52

For more information on hardware connections, check out the link to the HIL 4/6 Series  

00:02:57

Hardware User Guide in the description.Now that we’ve finished with the front side of the  

00:03:01

HIL device, let’s move to the back side. The ports contained here can reorganize in three groups:  

00:03:09

Communication ports, High-speed serial link, and an AC Power Supply. 

00:03:16

The Communication ports group contains a RS232 port which is intended to be used for  

00:03:22

serial communication. Additionally, there are two CAN ports for CAN communication, a  

00:03:29

PPS and IRIG-B port for time synchronization,  

00:03:33

with GPS and other telemetry devices, two Ethernet ports for different communication protocols,  

00:03:40

and one USB port for connecting the HIL device to a PC the Typhoon HIL Control  

00:03:44

Center software. The bottom Ethernet port can also be used for connecting with the software. 

00:03:46

Most of our HIL devices can be paralleled and, in that case, they must have a fast  

00:03:47

communication interface. That communication is enabled via a high-speed PCIe 5Ghz serial link.  

00:03:54

It is important that you set the device ID to be different for each device when  

00:03:57

using paralleled devices. The HIL ID should also be set with a rotary switch,  

00:04:03

which can be found next to the high-speed serial link connectors. 

00:04:08

Now that we’ve covered the connectivity options, let’s look into the interfaces. 

00:04:13

Typhoon offers a growing catalog of interface solutions that you can use to connect your  

00:04:18

controller’s I/O stage and close the control loops with the simulated plant.  

00:04:24

Some of the more popular interfaces include the DSP 180 interface, Launchpad interfaces,  

00:04:30

the HIL Breakout board, HIL dS interfaces, and HIL Connect. 

00:04:35

The DSP 180 Interface for TI cards is the way to go for those who want to accelerate  

00:04:41

development of Power Electronics applications for Texas Instrument C2000 family of DSPs.  

00:04:47

Digital and analog connectors on the DSP Interface are standard 96 pin DIN 41612 connectors that are  

00:04:55

directly pluggable into the analog and digital IO connectors of the HIL device. When you use this  

00:05:01

interface, you can use 24 analog outputs from the HIL device to connect to the DSP controller. HIL  

00:05:07

Analog Outputs are scaled onboard from ±10V to In addition, there are 40 digital signals (24 inputs  

00:05:19

and 16 outputs) available between the HIL device and the DSP. Texas Instruments DSP cards can be  

00:05:27

connected to the DSP interface by plugging them in directly to the DIMM connector. The DSP interface  

00:05:33

card has the built-in circuitry required for the USB communication and power supply for the DSP. 

00:05:40

The next interface is the TI Launchpad, which contains the DSP card and all other supporting  

00:05:45

circuitry for communications and power supply, including DSP IOs available on the standard  

00:05:50

100mil headers. This means that the Typhoon Launchpad interface enables easy plug and play  

00:05:56

connection of the Launchpad board to Typhoon real time simulators. The LaunchPad interface  

00:06:02

supports 20 analog signals, 16 analog outputs and 4 analog inputs. Some of the TI LaunchPad  

00:06:09

boards from C2000 and Hercules series supported by the LaunchPad Interface are shown here,  

00:06:14

including the F28379D controller, which is one of the most popular among TI users. 

00:06:22

The HIL Breakout board is a passive interface. It consists of spring cage terminal blocks with  

00:06:27

HIL IO lines routed for easy and quick wire connection. It gives you full interfacing  

00:06:32

flexibility if you have a custom controlle r board and require additional IO connections. 

00:06:39

The HIL dS interface allows you to easy connect dSPACE hardware RCP devices to Typhoon HIL  

00:06:44

simulator. There are two types of interfaces:HIL dS Interface Type-A and 

00:06:51

HIL dS Interface Type-BThe HIL dS Interface type- A provides  

00:06:55

a pin-to-pin compatible interface between all Typhoon HIL emulators (4-Series and 6-Series) and  

00:07:01

dSPACE’s MicroLabBox, front panel variant.The HIL dS Interface Type- B is a top panel  

00:07:07

variant interface which works with both dSPACE's MicroLabBox and DS1103 controllers as well. 

00:07:16

Last but certainly not least is the HIL Connect interface. HIL Connects enable realistic emulation  

00:07:22

of current/voltage transducers and conditions controller IO signals that are outside of  

00:07:27

HIL device range. It can emulate LEM sensors, current transformers, voltage sensors, relays,  

00:07:34

temperature sensors, and other low-power sensors. Also, it does input/output impedance matching.

00:07:47

Now that we’ve explained the different interfaces,  

00:07:49

what might a simple C-HIL setup look like? Let’s look at one now. As you can see,  

00:07:55

we have a Launchpad interface and one LAUNCHXL-F28379 D controller.  

00:08:01

The USB cable you see is intended to be used for communication between the controller and your PC.

00:08:11

So now you have an idea of what a simple HIL hardware setup looks like.  

00:08:16

In the next videos, you will get to know the Typhoon HIL software and learn to  

00:08:20

build models and get them running so see you in the next video. Thank you for watching!

Please Wait!

Please wait... it will take a second!