Introduction
This NI Labs package helps you simulate an AC Induction Motor (ACIM) with the constant parameter model by using the NI Electric Motor Simulation Toolkit.
This package provides examples to help you simulate an ACIM and integrate the ACIM into your own hardware-in-the-loop (HIL) solution. The ACIM is the most common motor in industrial motion control systems. Main advantages of the ACIM are simple and rugged design, low cost, and low maintenance. In the ACIM, the electromagnetic induction from the magnetic field of the stator winding generates electric current in the rotor to produce electromagnetic torque.
This package contains two examples of simulating an ACIM. You can test your control algorithms on a host computer and verify whether the algorithm can perform correctly with the HIL solution on a field-programmable gate array (FPGA) target.
ACIM Constant Parameter Model Simulation on Host Computers
In this example, the simulator and controller both run on a host computer. This example demonstrates how to control the speed of the ACIM with the field oriented control (FOC) or variable voltage variable frequency (VVVF) algorithms.
Required Software
Installation Instructions
Refer to the readme_ACIM_Constant_Parameter_Model.pdf for more information about how to run this example.
ACIM Constant Parameter Model Simulation on FPGA Targets
In this example, the simulator runs on an FPGA target and the controller runs on a Real-Time (RT) PXI target. The controller reads the ACIM state from the FPGA target, controls the motor speed with the FOC or VVVF algorithms, and feeds back the voltage and load torque to the simulator on the FPGA target.
Required Software
Required Hardware
Installation Instructions
Refer to the readme_ACIM_Constant_Parameter_Model.pdf for more information about how to run this example.
Using the ACIM Constant Parameter Model Simulation in Your Own Applications
Use the VIs in the _ACIM Constant Parameter FLP folder to simulate an ACIM on a host computer. Use the VIs in the _ACIM Constant Parameter SGL folder to simulate an ACIM on a FPGA target.
Use the ACIM Constant Parameter Model VI as the motor simulation VI of your application. For simulation on FPGA targets, use the Generate ACIM Constant Parameter Model FPGA Data VI to generate FPGA data which contains model parameters. You can write the FPGA data to your FPGA VI.
Refer to the readme_ACIM_Constant_Parameter_Model.pdf for more information about this package.