Power System Blockset
  Go to block:
    Search    Help Desk 
Permanent Magnet Synchronous Machine    Examples

Model the dynamics of a three-phase permanent magnet synchronous machine with sinusoidal flux distribution

Library

Machines Library

Description

The Permanent Magnet Synchronous Machine (PMSM) block operates in either motoring or generating mode. The mode of operation is dictated by the sign of the mechanical torque (positive for motoring, negative for generating). The electrical and mechanical parts of the machine are each represented by a second-order state-space model. The model assumes that the flux established by the permanent magnets in the stator is sinusoidal, which implies that the electromotive forces are sinusoidal.

The block implements the following equations expressed in the rotor reference frame (qd frame):

Electrical System

where (all quantities in the rotor reference frame):




where:

Dialog Box

Inputs and Outputs

The first three inputs are the electrical connections of the machine's stator. The fourth input is the mechanical torque at the machine's shaft (Simulink signal). This input should ordinarily be positive because the PMSM block is usually used in a motor mode. Nevertheless, you can apply a negative torque input if you choose to use the PMSM block in generating mode.

The block outputs a vector containing the following ten variables (all currents flowing into machine):

Assumption

The block assumes a linear magnetic circuit with no saturation of the stator and rotor iron. This assumption can be made because of the large air gap usually found in permanent magnet synchronous machines.

Example

This example illustrates the use of the PMSM block in the motoring mode with a closed-loop control system built entirely in Simulink. The interfacing is done using Controlled Voltage Source blocks from the powerlib/Electrical Sources library. The complete system consists of a PWM inverter built with ideal switches (Simulink Relay blocks). Two control loops are used; the inner loop is used to regulate the motor line currents and the outer loop regulates the motor's speed. The mechanical torque applied at the motor's shaft is originally 3 N.m (nominal) and steps to 1 N.m at t=0.025 sec. The parameters of the machine are those found in the Dialog Box section.

Open the Simulink diagram by typing psbpmmotor or by choosing Permanent Magnet Sync Mach (sim) from the demos group in the powerlib library. Set the simulation parameters as follows:

As for the torque, the currents are high when the machine starts, but stabilize quickly to their nominal value until the step is applied. Then they oscillate before stabilizing to a lower value, corresponding to the load torque decrease.



[ Previous | Help Desk | Next ]