Documentation Home Page Power Electronics Add-On for NI VeriStand Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

The PMSM VDQ machine model and its associated Hardware Configurations have been archived.  If starting a new project, consider using the Dual PMSM BLDC Machine Model instead.

The PMSM VDQ Machine model implements a three-phase permanent magnet synchronous machine with a resolver, encoder, and hall effect sensor.

PMSM VDQ Configuration Page

In the System Explorer window configuration tree, expand the Power Electronics Add-On custom device and select Circuit Model >> PMSM VDQ to display this page.  Use this page to configure the PMSM VDQ machine model. 

This page includes the following components:

PMSM Variable Parameter Model Settings
NameSpecifies the name of the machine model.
DescriptionSpecifies a description for the machine model.
Motor Configuration
Motor Type

Choose from one of the following types.  The motor configuration parameters automatically populate depending on the selected Motor Type.

Mechanical Model Parameters

SymbolUnitsDefaultDescription
Inertia
kgm21

Moment of inertia of the electric motor.  This value must be equal to or greater than 0.

Friction Coefficient

0Friction coefficient of the electric motor.  This value must be equal to or greater than 0.
Temperature Correction Parameters

SymbolUnitsDefaultDescription
Coil Base TemperatureTc-baseKelvin200

Base temperature of the motor coil. This value must be equal to or greater than 0.

Coil Temperature Coefficientkc1/Kelvin0Coefficient for temperature correction of the motor resistance. The material of the coil determines this value.
Magnet Base TemperatureTm-baseKelvin200Base temperature of the motor magnet. This value must be equal to or greater than 0.
Magnet Temperature Coefficientkm1/Kelvin0Coefficient for temperature correction of the magnet flux. The material of the magnet determines this value.
Input Mapping Configuration
Use the Input Mapping Configuration to route signals to the Voltage Phase A, Voltage Phase B, and Voltage Phase C inputs of the machine model.  Available routing options may vary depending on the selected Hardware Configuration.

Group

Specifies the group that will be routed to the input voltages of the machine. The available routing options are defined by the selected Hardware Configuration, however it is typical to see the following options by default:

  • Measurements - eHS circuit model measurements

Element

Specifies the index of the measurement in the group that has been selected as the input voltage of the machine.


PMSM VDQ Section Channels

This section includes the following custom device channels:

Channel Name

Type

Units

Default Value

Description

EnableInput
0

Set this channel to one of the following values:

  • 0 - Disables the machine model.
  • 1 - Enables the machine model.
Load TorqueInputNewton Meters0NmTorque externally applied to the shaft of the machine. This parameter is used only if Force Speed is disabled (0).
Force SpeedInput
0

Set this channel to one of the following values:

  • 0 - Disables Forced Speed mode. The Force Speed Setpoint parameter is ignored in this case.
  • 1 - Enables Forced Speed mode.  The Mechanical Model Parameters and Load Torque are ignored in this case.
Force Speed SetpointInputRadians per second0rad/sForces the speed of the machine to the defined value.  This parameter is used only if Force Speed is enabled (1).
Coil TemperatureInputKelvin0KTemperature of the motor coil. If this value is greater than 0, Temperature Correction is performed for the resistance and magnet flux.
Magnet TemperatureInputKelvin0KTemperature of the motor magnet. If this value is greater than 0, Temperature Correction is performed for the resistance and magnet flux.
BackEMF GainInput
0
Current Phase AOutputAmperes0APhase A current of the electric motor.
Current Phase BOutputAmperes0APhase B current of the electric motor.
Current Phase COutputAmperes0APhase C current of the electric motor.
Direct Stator CurrentOutputAmperes0ADirect current of the electric motor.  The value of dq current corresponds to the value of ABC current in the flux, torque (d, q) rotating reference frame.
Quadratic Stator CurrentOutputAmperes0AQuadratic current of the electric motor.  The value of dq current corresponds to the value of ABC current in the flux, torque (d, q) rotating reference frame.
Electromagnetic TorqueOutputNewton Meters0NmElectromagnetic torque that the electric motor generates while it is running.
SpeedOutputRadians per second0rad/sRotor speed of the electric motor.
PositionOutputRadians0radRotor position of the electric motor.
BackEMFaOutputVolts0V
BackEMFbOutputVolts0V
BackEMFcOutputVolts0V


Motor Type: Constant Parameter

For a full description of the PMSM Constant Parameter model and its parameters, please see the National Instruments Help pages at the links below:

Motor Configuration

SymbolUnitsDefaultDescription
Direct InductanceLdHenries0.024HInductance along the d or direct axis.
Quadrature InductanceLqHenries0.028HInductance along the q or quadrature axis.
Loop TimeTsSeconds1E-6s

Describes the timestep of the machine model.


Pole PairsPP
3

Number of machine pole pairs.

Flux LinkageλWebers0.1WbFlux linkage between the rotor and stator.  This value must be greater than 0.
ResistanceROhms1.2Resistance in the electric motor. This value must be greater than 0.

Motor Type: Variable Parameter

For a full description of the PMSM Variable Parameter model and its parameters, please see the National Instruments Help pages at the links below:

Motor Configuration

SymbolUnitsDefaultDescription
Model File


Path to the model file on disk. The model file contains tables describing the d inductance, q inductance, and flux as a function of Direct Current and Quadratic Current. Additional formatting information and templates can be found here:
Table Size

100Specifies the size of the Ld, Lq, and Flux tables in the Model File.
Loop TimeTsSeconds1E-6s

Timestep of the machine model.


Delimiter

,

Specifies the type of text delimiter in the Model File.

ResistanceROhms1.2Resistance in the electric motor. This value must be greater than 0.
  • No labels