Frequently Asked Question
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
Hello and welcome back. In the previous lesson,
we ve talked about Analog Output settings. In this lesson, we will talk about Analog
Input settings and how they can be set up in Typhoon HIL Control Center.
Some C-HIL applications require feeding analog signals from the controller to the plant emulated
on the HIL device. Analog inputs in this case may also require scaling, where the voltage levels on
the analog inputs of the HIL device are scaled to be appropriately represented in the simulation.
There are different ways in which we can utilize analog inputs in our simulations.
The first way to utilize analog inputs is by using the Analog Input component.
The Analog Input component is a Signal Processing component which outputs the
value that is collected from the HIL device analog inputs to the simulation.
In its properties, you can set the analog input pin that will receive the signal,
as well as its scaling and offset. Scaling is referred to as Gain in the component properties.
The value output from this component in the simulation is given as a sum of the
value received on the Analog Input pin and the assigned offset, multiplied by the assigned gain.
The second way we can utilize these inputs is by using Externally controlled current
and voltage sources. These sources allow for generating voltage or current waveforms in the
simulation based on the output from a function generator connected to the HIL analog inputs.
In the Externally Controlled Sources component properties, you can select the specific analog
input port from which you want to source the signal, as well as its gain and offset.
Externally Controlled Sources are essentially implemented the same as the Analog Input
component, but with a few advantages. These components run at the simulation step of the
circuit solver rather than at the slower rate of signal processing components. Therefore, they
provide a higher fidelity analog signal. Also, gain and offset parameters can be tuned during
simulation runtime. This can be done by checking the Model control for gain and offset checkbox,
which will create an input port that lets you define these values through HIL SCADA inputs.
In addition to the methods mentioned previously,
Analog Inputs can also be used in most machine components in our library.
Here can see an example where an analog input is used to define the load of an induction machine.
By setting the Load source as SCADA/External, you can use an analog input signal from a HIL analog
channel as an external torque or speed load. In the properties, you can assign the appropriate
analog input, as well as define the offset and gain, following the same logic described before.
Another way in which Analog Inputs can be used in electrical machines is as external resolver
carrier sources. These settings can be changed in the Feedback tab of the machine properties,
as shown in the right side.To have resolver signals with an
amplitude of 1 when using an external carrier signal, you should choose the offset and the
gain accordingly. As shown in the top example, a sinusoidal signal used to generate an external
resolver carrier source is fed to the HIL's analog input 1. This analog input signal is
then scaled to get the resolver signals with an amplitude of 1, as shown in the bottom figure.
In this session, you learned how to you how you can utilize Analog Inputs and set them up in your
C-HIL applications. Thank you for watching!Thank you for watching!