Professional Documents
Culture Documents
Library
Machines
Description
The Permanent Magnet Synchronous Machine block operates in either generator or motor
mode. The mode of operation is dictated by the sign of the mechanical torque (positive for
motor mode, negative for generator mode). The electrical and mechanical parts of the
machine are each represented by a second−order state−space model. The sinusoidal model
assumes that the flux established by the permanent magnets in the stator is sinusoidal,
which implies that the electromotive forces are sinusoidal. For the trapezoidal machine, the
model assumes that the winding distribution and flux established by the permanent magnets
produce three trapezoidal back EMF waveforms.
The block implements the following equations.
where (all quantities in the rotor reference frame are referred to the stator)
r
Angular velocity of the rotor
Amplitude of the flux induced by the permanent magnets of the rotor in
the stator phases
p Number of pole pairs
Te Electromagnetic torque
The Lq and Ld inductances represent the relation between the phase inductance and the
rotor position due to the saliency of the rotor. For example, the inductance measured
between phase a and b (phase c is left open) is given by:
where e
represents the electrical angle.
The next figure shows the variation of the line−line inductance in function of the electrical
angle of the rotor:
and
Trapezoidal Model Electrical System
These equations are expressed in the phase reference frame (abc frame). Note that the
phase inductance Ls is assumed constant and does not vary with the rotor position.
’
where the electromotive force is represented by
and
r
Angular velocity of the rotor
Amplitude of the flux induced by the permanent magnets of the rotor in
the stator phases
p Number of pole pairs
Te Electromagnetic torque
Mechanical System (for both models)
where
Preset Model
Provides a set of predetermined electrical and mechanical parameters for various
permanent magnet synchronous motor ratings of torque (N.m), DC bus voltage (V),
rated speed (rpm), and continuous stall torque (N.m) . This parameter is available
only for sinusoidal machine.
Select one of the preset models to load the corresponding electrical and mechanical
parameters in the entries of the dialog box. Select No if you do not want to use a
preset model, or if you want to modify some of the parameters of a preset model, as
described below.
When you select a preset model, the electrical and mechanical parameters in the
Parameters tab of the dialog box become unmodifiable (grayed out). To start from a
given preset model and then modify machine parameters, you have to do the
following:
1. Select the desired preset model to initialize the parameters.
2. Change the Preset model parameter value to No. This will not change the
machine parameters. By doing so, you just break the connection with the
particular preset model.
3. Modify the machine parameters as you wish, then click Apply.
Parameters Tab
Once you select a constant, you can enter its value in the appropriate parameter
field, while the other two parameters become inaccessible and are only shown for
information.
Flux linkage established by magnets
The constant flux (Wb) induced in the stator windings by the magnets.
Voltage Constant
The peak line to line voltage per 1000 rpm. This voltage represents the peak open
circuit voltage when the machine is driven as a generator at 1000 rpm.
Torque Constant
The torque per ampere constant. This constant assumes that the machine is driven
by an inverter which provides a perfect synchronization between the current and the
Back−EMF.
Sinusoidal model: A sine wave current is assumed (see
ac6_example_simplified.mdl for more detail).
Trapezoidal model: A square ware current is assumed (see
ac7_example_simplified.mdl for more detail).
Advanced Tab
Sample time ( 1 for inherited)
Specifies the sample time used by the block. To inherit the sample time specified in
the Powergui block, set this parameter to 1 .
Signal number
Definition Units Symbol
Sinusoidal Trapezoidal
model model
The Hall effect signal provides a logical indication of the back EMF positioning. This signal is
very useful to control directly the power switches. There is a change of state at each zero
crossing of the phase to phase voltage. These signals must be decoded before being
applied to the switches.
Assumption
The Permanent Magnet Synchronous Machine 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.
Limitations
When you use Permanent Magnet Synchronous Machine blocks in discrete systems, you
might have to use a small parasitic resistive load, connected at the machine terminals, in
order to avoid numerical oscillations. Large sample times require larger loads. The minimum
resistive load is proportional to the sample time. As a rule of thumb, remember that with a
25 s time step on a 60 Hz system, the minimum load is approximately 2.5% of the
machine nominal power. For example, a 200 MVA PM synchronous machine in a power
system discretized with a 50 s sample time requires approximately 5% of resistive load or
10 MW. If the sample time is reduced to 20 s, a resistive load of 4 MW should be sufficient.
Example
The power_brushlessDCmotor demo illustrates the use of the Permanent Magnet
Synchronous Machine block in motoring mode with a closed−loop control system built
entirely with Simulink blocks. The complete system includes a six step inverter block from
the SimPowerSystems library. Two control loops are used; the inner loop synchronizes the
pulses of the bridge with the electromotive forces, and the outer loop regulates the motor’s
speed, by varying the DC bus voltage. The mechanical torque applied at the motor’s shaft is
originally 0 N.m (no load) and steps to its nominal value (3 N.m) at t = 0.1 second. The
parameters of the machine are found in the dialog box section.
Set the simulation parameters as follows:
Type: Fixed−step
Integrator type: Runge-Kutta , ode4
Sample time: 5e−6 (set automatically by the Model properties )
Stop time: 0.2
Set the Flux distribution parameter to Trapezoidal and run the simulation to observe
the motor’s torque, speed, and currents. Change the Back EMF flat top area parameter of
the trapezoidal model from 120 to 0 and observe the waveform of the electromotive force e_a.
The torque climbs to nearly 28 N.m when the motor starts and stabilizes rapidly when the
motor reaches the reference value. The nominal torque is applied at t = 0.1 second and the
controller reacts rapidly and increases the DC bus voltage to produce the required electric
torque. Observe the saw tooth shape of the currents waveforms. This is caused by the six
step controller, which applies a constant voltage value during 120 electrical degrees to the
motor. The initial current is high and decreases during the acceleration to the nominal
speed. When the nominal torque is applied, the stator current increases to maintain the
nominal speed. The saw tooth waveform is also observed in the electromotive torque signal
Te. However, the motor’s inertia prevents this noise from appearing in the motor’s speed
waveform.
When the Back EMF flat top area parameter of the trapezoidal model is changed from 120
to 0, the model reacts exactly like the sinusoidal model. The electromotive force e_a is
purely sinusoidal and the torque ripple is less than the previous case. The sinusoidal model
requires a larger current to produce the same torque. That’s why the trapezoidal machine is
used in high torque applications, and the sinusoidal machine in precision applications.
References
[1] Grenier, D., L.−A. Dessaint, O. Akhrif, Y. Bonnassieux, and B. LePioufle, "Experimental
Nonlinear Torque Control of a Permanent Magnet Synchronous Motor Using Saliency,"
IEEE Transactions on Industrial Electronics , Vol. 44, No. 5, October 1997, pp.680−687.