WOLFRAM SYSTEM MODELER

SMPM_FieldWeakening

Test example: Investigate field weakening of a PermanentMagnetSynchronousMachine

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This example demonstrates idealized field weakening of a quasistatic permanent magnet synchronous machine.

At standstill, the q-axis current is prescribed by a short ramp up to the nominal current. The d-axis current is controlled to keep voltage ≤ nominal voltage, while speed is varied up to four times nominal speed like in an automotive application. Total stator current is kept ≤ nominal total current. Simulate and plot versus smpm.wMechanical:

  • fieldWeakeningController.vs: stator voltage
  • fieldWeakeningController.is: stator current
  • fieldWeakeningController.id: d-axis current
  • fieldWeakeningController.iq: q-axis current

It can be seen that when field weakening begins negative d-axis current is increased from zero while the q-axis current current has to be reduced (current limit) to enable increase of the d-axis current (voltage limit).

Note
  • The resistors connected to the quasi-static source model are necessary to numerically stabilize the simulation.
  • Inertia of the machine is set to zero to enable a proper comparison of electrical and mechanical power.
  • INominal denotes total nominal current, which can be applied without exceeding maximum temperature.

Parameters (4)

VNominal

Value: 100

Type: Voltage (V)

Description: Nominal RMS voltage per phase

INominal

Value: 150

Type: Current (A)

Description: Nominal RMS current per phase

wNominal

Value: 2 * pi * smpmData.fsNominal / smpmData.p

Type: AngularVelocity (rad/s)

Description: Nominal speed

smpmData

Type: SM_PermanentMagnetData

Description: Synchronous machine data

Components (17)

smpmData

Type: SM_PermanentMagnetData

Description: Synchronous machine data

smpm

Type: SM_PermanentMagnet

Description: Permanent magnet synchronous machine with optional damper cage

groundM

Type: Ground

Description: Electrical ground

terminalBox

Type: TerminalBox

Description: Terminal box Y/D-connection

dqToThreePhase

Type: CurrentController

Description: Current controller

angleSensorQS

Type: AngleSensor

Description: Ideal sensor to measure the absolute angle of flange

referenceCurrentSource

Type: ReferenceCurrentSource

Description: Variable polyphase AC current with reference angle input

starS

Type: Star

Description: Star connection

groundeQS

Type: Ground

Description: Electrical ground

resistorS

Type: Resistor

Description: Polyphase linear resistor

voltageQuasiRMSSensorQS

Type: VoltageQuasiRMSSensor

Description: Continuous quasi voltage RMS sensor for polyphase system

speedSource

Type: Speed

Description: Forced movement of a flange according to a reference angular velocity signal

fieldWeakeningController

Type: FieldWeakeningController

Description: Filed weakening for a QS SMPM

gainCurrent

Type: Gain

Description: Output the product of a gain value with the input signal

gainSpeed

Type: Gain

Description: Output the product of a gain value with the input signal

iqRef

Type: Ramp

Description: Generate ramp signal

speed

Type: Ramp

Description: Generate ramp signal