PMSM Constant Parameter Model VI
- Updated2023-02-21
- 4 minute(s) read
PMSM Constant Parameter Model VI
Owning Palette: Permanent Magnet Synchronous Motor VIs
Requires: Electric Motor Simulation Toolkit
Simulates the permanent magnet synchronous motor (PMSM) by using the constant parameter model function.
![]() |
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 constant parameters specifies the parameters describing the characteristics of a PMSM.
| ||||||||||
![]() |
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. | ||||||||||
![]() |
speed specifies the rotor speed, in revolutions per minute, 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. | ||||||||||
![]() |
abc current returns the three-phase current, in amperes, in the electric motor. This output is a three-element array, each element representing one phase of the three-phase current. | ||||||||||
![]() |
dq current returns the direct current and the quad current in amperes. The value of dq current corresponds to the value of abc current in the flux, torque (d, q) rotating reference frame. | ||||||||||
![]() |
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 Constant Parameter Model VI:
- PMSM Open Loop Simulation VI: labview\examples\Electric Motor Simulation\PMSM\PMSM Open Loop Simulation
- PMSM Constant Parameter Model Closed Loop VI: labview\examples\Electric Motor Simulation\PMSM\PMSM Constant Parameter Model Closed Loop