Simulate Variable Speed Motor Control
Simulate Variable Speed Motor Control
Simulate Variable Speed Motor Control
Variable speed control of AC electrical machines makes use of forced-commutated electronic switches
such as IGBTs, MOSFETs, and GTOs. Asynchronous machines fed by pulse width modulation (PWM)
voltage sourced converters (VSC) are nowadays gradually replacing the DC motors and thyristor bridges.
With PWM, combined with modern control techniques such as field-oriented control or direct torque
control, you can obtain the same flexibility in speed and torque control as with DC machines. This tutorial
shows how to build a simple open loop AC drive controlling an asynchronous machine. Simscape™
Electrical™ Specialized Power Systems contains a library of prebuilt models that enable you to simulate
electric drives systems without the need to build those complex systems yourself. For more information
about this library, see Electric Drives Library.
The Machines library contains four of the most commonly used three-phase machines: simplified and
complete synchronous machines, asynchronous machine, and permanent magnet synchronous machine.
Each machine can be used either in generator or motor mode. Combined with linear and nonlinear
elements such as transformers, lines, loads, breakers, etc., they can be used to simulate
electromechanical transients in an electrical network. They can also be combined with power electronic
devices to simulate drives.
The Power Electronics library contains blocks allowing you to simulate diodes, thyristors, GTO thyristors,
MOSFETs, and IGBT devices. You could interconnect several blocks together to build a three-phase
bridge. For example, an IGBT inverter bridge would require six IGBTs and six antiparallel diodes.
To facilitate implementation of bridges, the Universal Bridge block automatically performs these
interconnections for you.
As expected, the currents in switches 1 and 2 are complementary. A positive current indicates a current
flowing in the IGBT, whereas a negative current indicates a current in the antiparallel diode.
Note
Multimeter block use is not limited to the Universal Bridge block. Many blocks of the Electrical Sources
and Elements libraries have a Measurement parameter where you can select voltages, currents, or
saturable transformer fluxes. A judicious use of the Multimeter block reduces the number of current and
voltage sensors in your circuit, making it easier to follow.
Name ScopeData
Input input 1
Signal number 1
Start time 0.7 s
Number of cycles 2
Display FFT window
Fundamental frequency 60 Hz
Max frequency 5000 Hz
Frequency axis Harmonic order
Display style Bar (relative to Fund or DC)
The analyzed signal is displayed in the upper window. Click Display. The frequency spectrum is
displayed in the bottom window, as shown in the next figure.
FFT Analysis of the Motor Line-to-Line Voltage
The fundamental component and total harmonic distortion (THD) of the Vab voltage are displayed above
the spectrum window. The magnitude of the fundamental of the inverter voltage (312 V) compares well
with the theoretical value (311 V for m=0.9).
Harmonics are displayed in percent of the fundamental component. As expected, harmonics occur around
multiples of carrier frequency (n*18 +- k). Highest harmonics (30%) appear at 16th harmonic (18 - 2) and
20th harmonic (18 + 2).