PMSM FEA Model VI
- Updated2023-02-21
- 6 minute(s) read
PMSM FEA Model VI
Owning Palette: Permanent Magnet Synchronous Motor VIs
Requires: Electric Motor Simulation Toolkit
Simulates the permanent magnet synchronous motor (PMSM) by using the JMAG finite element analysis (FEA) model function. Wire data to the resistance input to determine the polymorphic instance to use or manually select the instance.
PMSM FEA Model (Uniform Resistance)
![]() |
temperature specifies the coil temperature and the magnet temperature of the electric motor. If the value of coil temperature or magnet temperature is greater than 0, this VI performs the temperature correction functionality for the resistance and the magnet flux.
| ||||
![]() |
initialize? specifies whether to initialize the internal state of the electric motor. This VI performs calculations that are dependent on all previous data since the VI last ran or since you set initialize? to TRUE. If you set initialize? to TRUE, this VI resets the internal state of the motor to 0 and restarts the electric motor simulation. The default value is FALSE. | ||||
![]() |
PMSM FEA model specifies a reference to the PMSM FEA model. Use the Create PMSM FEA Model VI to generate this reference. | ||||
![]() |
voltage specifies the three-phase voltage, in volts, of the electric motor. The voltage represents the three-phase voltage in a three-phase electric power system. Therefore, this array must have three elements, and each array element must specify one phase of the voltage. | ||||
![]() |
rotor position specifies the mechanical rotor position, in degrees, of the electric 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 FEA model reference for calculation. The default value is -1. | ||||
![]() |
current returns the three-phase current in the electric motor, in amperes. | ||||
![]() |
torque returns the electromagnetic torque, in newton meters, of the electric motor. | ||||
![]() |
error out contains error information. This output provides standard error out functionality. |
PMSM FEA Model (Phase Resistance)
![]() |
temperature specifies the coil temperature and the magnet temperature of the electric motor. If the value of coil temperature or magnet temperature is greater than 0, this VI performs the temperature correction functionality for the resistance and the magnet flux.
| ||||
![]() |
initialize? specifies whether to initialize the internal state of the electric motor. This VI performs calculations that are dependent on all previous data since the VI last ran or since you set initialize? to TRUE. If you set initialize? to TRUE, this VI resets the internal state of the motor to 0 and restarts the electric motor simulation. The default value is FALSE. | ||||
![]() |
PMSM FEA model specifies a reference to the PMSM FEA model. Use the Create PMSM FEA Model VI to generate this reference. | ||||
![]() |
voltage specifies the three-phase voltage, in volts, of the electric motor. The voltage represents the three-phase voltage in a three-phase electric power system. Therefore, this array must have three elements, and each array element must specify one phase of the voltage. | ||||
![]() |
rotor position specifies the mechanical rotor position, in degrees, of the electric 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 under each phase of the three phases. Therefore, this array must have three elements, and each array element must specify the resistance under one phase. If this array is empty, this VI uses the resistance in the PMSM FEA model reference for calculation. | ||||
![]() |
current returns the three-phase current in the electric motor, in amperes. | ||||
![]() |
torque returns the electromagnetic torque, in newton meters, of the electric motor. | ||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Examples
Refer to the following VIs for examples of using the PMSM FEA Model VI:
- PMSM Open Loop Simulation VI: labview\examples\Electric Motor Simulation\PMSM\PMSM Open Loop Simulation
- PMSM FEA Model Closed Loop VI: labview\examples\Electric Motor Simulation\PMSM\PMSM FEA Model Closed Loop