Introduction
This NI Labs package helps you simulate a permanent magnet synchronous motor (PMSM) with the variable parameter model by using the NI Electric Motor Simulation Toolkit.
This package provides examples and projects to help you simulate a PMSM with the variable parameter model and to integrate the PMSM into your own hardware-in-the-loop (HIL) solution. A PMSM is a type of electric motor that utilizes permanent magnets rather than windings in the rotor. The 2013 release of Electric Motor Simulation Toolkit includes a constant parameter model and a finite element analysis (FEA) model for you to simulate a PMSM. This NI Labs Package provides a variable parameter model for you to simulate a PMSM. You can use the variable parameter model to implement medium-fidelity model simulation of a PMSM.
Required Software
Required Hardware
Examples and Sample Projects
This NI Labs package contains three examples and two sample projects. Download and unzip the attached zip file to find the examples and sample projects folders. Complete the following steps to integrate a PMSM into an HIL system.
Refer to the readme_PMSM_Variable_Parameter_Model.pdf for more information about how to run these examples and sample projects.
To Use the PMSM Variable Parameter Model in Your Own Applications
Use the VIs in the _PMSM Variable Parameter FLP folder to simulate a PMSM on a host computer. Use the VIs in the _PMSM Variable Parameter SGL folder to simulate a PMSM on an FPGA target.
Use the PMSM Variable Parameter Model VI as the motor simulation VI of your application. For simulation on host computers, use the Create PMSM Variable Parameter Model VI to create the variable parameter model before simulating a PMSM. For simulation on FPGA targets, use the Generate PMSM Variable 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_PMSM_Variable_Parameter_Model.pdf for more information about this package.