Frequently Asked Question

Video: 4.0.3. Analog Inputs
Last Updated a year 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:00

Hello and welcome back. In the previous lesson,  

00:00:03

we ve talked about Analog Output settings. In this lesson, we will talk about Analog  

00:00:09

Input settings and how they can be set up in Typhoon HIL Control Center. 

00:00:14

Some C-HIL applications require feeding analog signals from the controller to the plant emulated  

00:00:19

on the HIL device. Analog inputs in this case may also require scaling, where the voltage levels on  

00:00:25

the analog inputs of the HIL device are scaled to be appropriately represented in the simulation. 

00:00:31

There are different ways in which we can utilize analog inputs in our simulations. 

00:00:38

The first way to utilize analog inputs is by using the Analog Input component.  

00:00:43

The Analog Input component is a Signal Processing component which outputs the  

00:00:48

value that is collected from the HIL device analog inputs to the simulation. 

00:00:53

In its properties, you can set the analog input pin that will receive the signal,  

00:00:57

as well as its scaling and offset. Scaling is referred to as Gain in the component properties. 

00:01:05

The value output from this component in the simulation is given as a sum of the  

00:01:09

value received on the Analog Input pin and the assigned offset, multiplied by the assigned gain. 

00:01:17

The second way we can utilize these inputs is by using Externally controlled current  

00:01:21

and voltage sources. These sources allow for generating voltage or current waveforms in the  

00:01:27

simulation based on the output from a function generator connected to the HIL analog inputs. 

00:01:33

In the Externally Controlled Sources component properties, you can select the specific analog  

00:01:38

input port from which you want to source the signal, as well as its gain and offset. 

00:01:44

Externally Controlled Sources are essentially implemented the same as the Analog Input  

00:01:49

component, but with a few advantages. These components run at the simulation step of the  

00:01:54

circuit solver rather than at the slower rate of signal processing components. Therefore, they  

00:01:59

provide a higher fidelity analog signal. Also, gain and offset parameters can be tuned during  

00:02:05

simulation runtime. This can be done by checking the Model control for gain and offset checkbox,  

00:02:11

which will create an input port that lets you define these values through HIL SCADA inputs. 

00:02:17

In addition to the methods mentioned previously,  

00:02:19

Analog Inputs can also be used in most machine components in our library. 

00:02:26

Here can see an example where an analog input is used to define the load of an induction machine.  

00:02:31

By setting the Load source as SCADA/External, you can use an analog input signal from a HIL analog  

00:02:37

channel as an external torque or speed load. In the properties, you can assign the appropriate  

00:02:43

analog input, as well as define the offset and gain, following the same logic described before. 

00:02:51

Another way in which Analog Inputs can be used in electrical machines is as external resolver  

00:02:57

carrier sources. These settings can be changed in the Feedback tab of the machine properties,  

00:03:02

as shown in the right side.To have resolver signals with an  

00:03:07

amplitude of 1 when using an external carrier signal, you should choose the offset and the  

00:03:12

gain accordingly. As shown in the top example, a sinusoidal signal used to generate an external  

00:03:18

resolver carrier source is fed to the HIL's analog input 1. This analog input signal is  

00:03:24

then scaled to get the resolver signals with an amplitude of 1, as shown in the bottom figure. 

00:03:31

In this session, you learned how to you how you can utilize Analog Inputs and set them up in your  

00:03:36

C-HIL applications. Thank you for watching!Thank you for watching!

Please Wait!

Please wait... it will take a second!