LabVIEW Electric Motor Simulation Toolkit API Reference

Content Type
Programming Language
Current manual

SRM Linear Model VI

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.

Examples

SRM linear model parameters specifies the parameters describing the linear model of an SRM.
unaligned inductance specifies the equivalent inductance, in henries, of the coil at the unaligned position.
saturated position current specifies the current, in amperes, of the coil at the saturated position.
aligned flux specifies the flux, in webers, of the saturated position current at the aligned position.
max current specifies the maximum current in amperes.
rotor position offset specifies the angle, in degrees, between the rotor salient pole and the stator salient pole when the rotor position is 0.
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.
number of poles specifies the number of poles in the electric motor. The number of poles must be an even number.
number of phases specifies the number of phases in an electric motor. The number of phases can only be 3, 4, or 5.
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
In This Section
Was this information helpful?