PMSM Feed Forward Control

Decouple d-axis and q-axis current to eliminate disturbance

  • Library:
  • Motor Control Blockset / Controls / Control Reference

Description

The PMSM Feed Forward Control block decouples d-axis and q-axis current controls and generates the corresponding feed-forward voltage gains to enable field-oriented control of Permanent Magnet Synchronous Motor (PMSM).

The block accepts feedback values of d-axis and q-axis currents and the mechanical speed of the rotor.

Equations

If you select Per-Unit (PU) in the Input units parameter, the block converts the inputs to SI units before performing any computation. After calculating the output, the block converts the values back to per unit values.

These equations describe the computation of feed-forward gain by the block.

VdFF=ωeλd=ωeLdId+ωeλm

VqFF=ωeλq=ωeLqIq

where:

  • ωe is the electrical speed corresponding to frequency of stator voltages (Radians/ sec).

  • Ld and Lq are the d-axis and q-axis stator winding inductances (Henry).

  • Id and Iq are the d-axis and q-axis currents (Amperes).

  • λd and λq are the magnetic fluxes along the d- and q-axes (Weber).

  • λm is the permanent magnet flux linkage (Weber).

Ports

Input

expand all

Current along the d-axis of the rotating dq reference frame.

Data Types: single | double | fixed point

Current along the q-axis of the rotating dq reference frame.

Data Types: single | double | fixed point

Mechanical speed of the rotor.

Data Types: single | double | fixed point

Output

expand all

Feed-forward voltage gain along the d-axis of the rotating dq reference frame.

Data Types: single | double | fixed point

Feed-forward voltage gain along the q-axis of the rotating dq reference frame.

Data Types: single | double | fixed point

Parameters

expand all

Number of pole pairs available in the motor.

Stator winding inductance (in Henry) along the direct-axis of the rotating dq reference frame.

Stator winding inductance (in Henry) along the quadrature-axis of the rotating dq reference frame.

Peak permanent magnet flux linkage (in Weber).

Saturation limit (in Volts) for the output voltages VdFF and VqFF.

Unit of the input values.

Base voltage (in Volts) for per-unit system.

Dependencies

To enable this parameter, set Input units to Per-Unit (PU).

Base current (in Amperes) for per-unit system.

Dependencies

To enable this parameter, set Input units to Per-Unit (PU).

Base speed (in rpm) for per-unit system.

Dependencies

To enable this parameter, set Input units to Per-Unit (PU).

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Fixed-Point Conversion
Design and simulate fixed-point systems using Fixed-Point Designer™.

Introduced in R2020a