Main Content

PMSM Configuration

Configure PMSM system parameters

Since R2022b

Libraries:
Motor Control Blockset HDL Support / Electrical Systems / Motors

Description

The PMSM Configuration block generates the configuration signal for a permanent magnet synchronous machine/motor (PMSM). You can use this signal to update parameters of a PMSM block that support FPGA deployment, such as the PMSM HDL block.

Ports

Output

expand all

Configuration signal for a PMSM, which includes the following parameters that you configure using this block.

Configuration elementUnits

Number of pole pairs

-

Stator phase resistance per phase

ohm

Stator d-axis inductance

Henries

Stator q-axis inductance

Henries

Permanent magnet flux linkage constant

Weber

Inertia

kgm^2

Back electromotive force, EMF

Vpk_LL/krpm

Vpk_LL is the peak voltage line-to-line measurement

Viscous damping

N·m/(rad/s)

Mechanical input configuration (Torque or Speed)

-

Data Types: single

Parameters

expand all

Block Options

This table summarizes the input and output ports in each configuration.

Mechanical input configuration parameter valueLdTrq/Spd port configuration

Torque

LdTrq

Speed

Spd

The fixed time interval (in seconds) between every two consecutive instances of block execution.

Parameters

Number of pole pairs, P, in the motor.

Stator phase resistance per phase, Rs, in ohm.

Stator inductance, Ld, in H.

Stator inductance, Lq, in H.

Permanent flux linkage constant, λpm, in Wb.

Physical inertia of the motor, J, in kg.m^2.

Viscous damping of the motor, F, in N·m/(rad/s).

Static friction in the motor, Tf, in N·m.

Version History

Introduced in R2022b