Main Content

PMSM Field-Weakening Controller

Permanent magnet synchronous machine field-weakening controller

  • Library:
  • Simscape / Electrical / Control / PMSM Control

  • PMSM Field-Weakening Controller block

Description

ThePMSM Field-Weakening Controllerblock implements a field-weakening controller for a permanent magnet synchronous machine (PMSM).

Use this block to enforce phase voltage constraints on a current-controlled PMSM. The block decreases the PMSM phase voltage by adjusting the angle of the reference current vector when the voltage vector magnitude exceeds its limit. The block does not adjust the amplitude of the current vector.

You can use this block as part of a PMSM control system:

  • Use the zerod-axis control technique to generate an unconstrained current reference vector to drive the PMSM. You can implement this strategy with thePMSM Current Reference Generatorblock.

  • Use this block to adjust the angle of the current reference vector in order to satisfy voltage phase constraints.

  • Use aPMSM Current Controllerto generate a voltage reference vector to drive the PMSM.

Equations

An internal integral controller outputs a factorβ∈[0,1],这是德termined by how closely the required stator voltage approaches the saturated voltage value at any instant in time:

  • When the required stator voltage exceeds the limit,βtends to 0, decreasing theq-axis current.

  • When the required stator voltage is within its limit,βtends to 1 and the angle remains unchanged.

这个图表显示了年代tructure of the field-weakening controller.

In the diagram, you provide the modulation index thresholdMthas an input parameter to the block, and the block computes the modulation indexMas the ratio between the actual phase voltage and the maximum available phase voltageVph_max:

M = v d 2 + v q 2 V p h _ m a x ,

wherevdandvqare thed-axis andq-axis components of the voltage vector.

Ports

Input

expand all

Desiredd- andq-axis currents for control of permanent magnet synchronous motor, in A.

Data Types:single|double

Direct and quadrature axis voltages of permanent magnet synchronous motor, in V.

Data Types:single|double

Maximum allowable voltage in each phase, in V.

Data Types:single|double

Output

expand all

Field-weakening reference direct and quadrature axis currents, in A.

Data Types:single|double

Parameters

expand all

Reference modulation index.

Integrator gain of the field-weakening controller.

Anti-windup gain of the field-weakening controller.

Sample time for the block (-1 for inherited). If you use this block inside a triggered subsystem, set the sample time to-1. If you use this block in a continuous variable-step model, set the sample time explicitly.

References

[1] Wai, J., and T. M. Jahns. "A new control technique for achieving wide constant power speed operation with an interior PM alternator machine."In Industry Applications Conference.Vol. 2, 2001, pp. 807-814.

Extended Capabilities

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

Version History

Introduced in R2017b