Generate PMSM Variable Parameter Model FPGA Data VI
- Updated2023-02-21
- 3 minute(s) read
Generate PMSM Variable Parameter Model FPGA Data VI
Owning Palette: Permanent Magnet Synchronous Motor VIs
Requires: Electric Motor Simulation Toolkit
Generates data for simulating a permanent magnet synchronous (PMSM) on FPGA targets by using the variable parameter model function.
This VI prepares the FPGA data on the host computer, and thus reduces the workload of calculations on FPGA targets. You can transfer the FPGA data and motor parameters to an FPGA target where you simulate a motor. You can either use the direct memory access (DMA) or the front panel controls in an FPGA VI to transfer data and parameters from the host computer to an FPGA target.
![]() |
PMSM variable parameter model specifies a reference to the PMSM variable parameter model. Use the Create PMSM Variable Parameter Model VI to generate this reference. | ||||
![]() |
mechanical parameters specifies the mechanical parameters of the electric motor. The mechanical parameters impact the forces and movement of the motor.
| ||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||
![]() |
dt specifies the time interval, in seconds, at which LabVIEW simulates the electric motor. The value of dt must be greater than 0. | ||||
![]() |
resistance specifies resistance, in ohms, of the stator winding with a positive number. If the value of resistance is equal to or less than 0, this VI uses the resistance in the PMSM variable parameter model reference for calculation. The default value is -1. | ||||
![]() |
FPGA data returns the data of the PMSM variable parameter model as an array of integer numbers. The FPGA data contains results, such as the inductance and flux of the motor, as the current in the motor varies. Use the DMA to transfer the FPGA data from the host computer to an FPGA target. | ||||
![]() |
PMSM variable parameters on FPGA returns the motor parameters, such as number of poles and resistance, for use by the electric motor simulation on an FPGA target. Use the front panel controls in an FPGA VI to transfer the motor parameters from the host computer to an FPGA target. | ||||
![]() |
error out contains error information. This output provides standard error out functionality. |