SRM Linear Model VI
- Updated2023-02-21
- 4 minute(s) read
SRM Linear Model VI
Owning Palette: Switched Reluctance Motor VIs
Requires: Electric Motor Simulation Toolkit
Simulates a switched reluctance motor (SRM) using the linear model function.
![]() |
SRM linear model parameters specifies the parameters describing the linear model of an SRM.
| ||||||||||
![]() |
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. | ||||||||||
![]() |
SRM type specifies the number of poles and phases in the electric motor.
| ||||||||||
![]() |
voltage specifies the voltage of each phase of the electric motor in an array. The size of the voltage array must be the same as the number of phase. | ||||||||||
![]() |
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. | ||||||||||
![]() |
resistance specifies the resistance, in ohms, of the electric motor. The value of resistance must be greater than 0. | ||||||||||
![]() |
current returns the phase current of the electric motor in an array. The size of the current array must match the number of phases. | ||||||||||
![]() |
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 SRM Linear Model VI:
- SRM Open Loop Simulation VI: labview\examples\Electric Motor Simulation\SRM\SRM Open Loop Simulation
- SRM Linear Model Closed Loop Control VI: labview\examples\Electric Motor Simulation\SRM\SRM Linear Model Closed Loop Control
- SRM Linear Model Configuration VI: labview\examples\Electric Motor Simulation\SRM\SRM Linear Model Configuration