Implement space vector PWM VSI induction motor drive
Electric Drives/AC drives
The high-level schematic shown below is built from six main blocks. The induction motor, the three-phase inverter, and the three-phase diode rectifier models are provided with the SimPowerSystems™ library. More details are available in the reference pages for these blocks. The speed controller, the braking chopper, and the space vector modulator models are specific to the drive library. It is possible to use a simplified version of the drive containing an average-value model of the inverter for faster simulation.
In SimPowerSystems software, the Space Vector PWM VSI Induction
Motor Drive block is commonly called the
The speed controller is based on a PI regulator that controls the motor slip. As shown in the following figure, the slip value computed by the PI regulator is added to the motor speed in order to produce the demanded inverter frequency. The latter frequency is also used to generate the demanded inverter voltage in order to maintain the motor V/F ratio constant.
The space vector modulator (SVM) contains seven blocks, shown in the following figure. These blocks are described below.
The three-phase generator is used to produce three sine waves with variable frequency and amplitude. The three signals are out of phase with each other by 120 degrees. The inverter demanded frequency and voltage are two of the block inputs.
The low-pass bus filter is used to remove fast transients from the DC bus voltage measurement. This measure is used to compute the voltage vector applied to the motor.
The alpha beta transformation converts variables from the three-phase system to the two-phase αβ system.
The αβ vector sector is used to find the sector of the αβ plane in which the voltage vector lies. The αβ plane is divided into six different sectors spaced by 60 degrees.
The ramp generator is used to produce a unitary ramp at the PWM switching frequency. This ramp is used as a time base for the switching sequence.
The switching time calculator is used to calculate the timing of the voltage vector applied to the motor. The block input is the sector in which the voltage vector lies.
The gates logic receives the timing sequence from the switching time calculator and the ramp from the ramp generator. This block compares the ramp and the gate timing signals to activate the inverter switches at the proper time.
When using the average-value inverter, the gates logic block is disabled and the inverter leg PWM duty cycles are issued by the switching time calculator to control the average-value inverter.
The average-value inverter is shown in the following figure.
It is composed of one controlled current source on the DC side and three controlled voltage sources on the AC side. The DC current source allows the representation of the average DC bus current behavior, following the next equation:
Idc = αaIa + αbIb + αcIc
with αa, αb, αc being the PWM duty cycles of the inverter legs A, B, and C respectively, and Ia, Ib, Ic the corresponding three-phase currents. The three AC voltage sources represent the average voltage values of the three-phase inverter voltages Va, Vb, Vc, following the next equation:
Va = αaVin
Vb = αbVin
Vc = αcVin,
with Vin being the input DC bus voltage value.
The braking chopper block contains the DC bus capacitor and the dynamic braking chopper, which is used to absorb the energy produced by a motor deceleration.
The model is discrete. Good simulation results have been obtained with a 2 µs time step. In order to simulate a digital controller device, the control system has two different sampling times:
The speed controller sampling time
The SVM controller sampling time
The speed controller sampling time has to be a multiple of the SVM sampling time. The latter sampling time has to be a multiple of the simulation time step.
The simulation step size must be chosen in accordance with the inverter's switching frequency. A rule of thumb is to choose a simulation step size 100 times smaller than the switching period. If the simulation step size is set too high, the simulation results can be erroneous. The average-value inverter allows the use of bigger simulation time steps since it does not generate small time constants (due to the RC snubbers) inherent to the detailed converter. For a controller sampling time of 20 µs, good simulation results have been obtained for a simulation time step of 20 µs. This time step can, of course, not be higher than the controller time step.
In the AC2 motor drive, the motor speed is regulated by controlling the motor slip. The motor current or torque is not regulated, however, so the speed response tends to be sluggish at low speed because of torque ripple.
When reversing speed, a short delay is required at the zero speed crossing so that air gap flux decays to zero.
Select how the output variables are organized. If you select Multiple output buses, the block has three separate output buses for motor, converter, and controller variables. If you select Single output bus, all variables output on a single bus.
Select between the detailed and the average-value inverter.
Select between the load torque, the motor speed and the mechanical rotational port as mechanical input. If you select and apply a load torque, the output is the motor speed according to the following differential equation that describes the mechanical system dynamics:
This mechanical system is included in the motor model.
For the mechanical rotational port, the connection port S counts for the mechanical input and output. It allows a direct connection to the Simscape environment. The mechanical system of the motor is also included in the drive and is based on the same differential equation.
If you select the motor speed as mechanical input, then you get the electromagnetic torque as output, allowing you to represent externally the mechanical system dynamics. The internal mechanical system is not used with this mechanical input selection and the inertia and viscous friction parameters are not displayed.
For the mechanical rotational port, the connection port S counts for the mechanical input and output. It allows a direct connection to the Simscape™ environment. The mechanical system of the motor is also included in the drive and is based on the same differential equation.
The rectifier section of the Converters and DC bus tab displays the parameters of the Universal Bridge block of the Fundamental Blocks (powerlib) library. Refer to the Universal Bridge for more information on the universal bridge parameters.
The inverter section of the Converters and DC bus tab displays the parameters of the Universal Brige block of the Fundamental Blocks (powerlib) library. Refer to the Universal Bridge for more information on the universal bridge parameters. This parameter is not used when using the average-value inverter.
The DC bus capacitance (F).
The braking chopper resistance used to avoid bus over-voltage during motor deceleration or when the load torque tends to accelerate the motor (Ω).
The braking chopper frequency (Hz).
The dynamic braking is activated when the bus voltage reaches the upper limit of the hysteresis band. The dynamic braking is shut down when the bus voltage reaches the lower limit of the hysteresis band. The following figure illustrates the braking hysteresis logic.
When you press this button, a diagram illustrating the speed and current controllers schematics appears.
The maximum change of speed allowed during motor acceleration. An excessively large positive value can cause DC bus under-voltage (rpm/s).
The maximum change of speed allowed during motor deceleration. An excessively large negative value can cause DC bus over-voltage (rpm/s).
The speed controller proportional gain.
The speed controller integral gain.
The maximum negative slip compensation computed by the slip regulator (Hz).
The maximum positive slip compensation computed by the slip regulator (Hz).
The minimum demanded inverter frequency applied to the motor (Hz).
The maximum demanded inverter frequency applied to the motor (Hz).
The minimum demanded inverter output voltage (V). If this parameter is set to zero, the zero speed cannot be reached under several load conditions.
The maximum demanded inverter output voltage (V). This parameter must be set in accordance with the motor rating. If this parameter is set too high, you will observe over-modulation in the current and voltage waveforms.
The proportionality constant between the stator line-to-line RMS voltage and frequency (V / Hz).
The delay at zero speed to eliminate the motor air gap residual flux (s).
The speed measurement first-order low-pass filter cutoff frequency (Hz).
The speed controller sampling time(s). The sampling time must be a multiple of the simulation time step.
The inverter switching frequency (Hz).
The cutoff frequency of the first-order low-pass filter applied to the DC bus voltage measurement.(Hz).
The SVM generator sampling time (s). The sampling time must be a multiple of the simulation time step.
The speed or torque set point. The speed set point can be a step function, but the speed change rate will follow the acceleration / deceleration ramps. If the load torque and the speed have opposite signs, the accelerating torque will be the sum of the electromagnetic and load torques.
The mechanical input: load torque (Tm) or motor speed (Wm). For the mechanical rotational port (S), this input is deleted.
A, B, C
The three phase terminals of the motor drive.
The mechanical output: motor speed (Wm), electromagnetic torque (Te) or mechanical rotational port (S).
When the Output bus mode parameter is set to Multiple output buses, the block has the following three output buses:
The motor measurement vector. This vector allows you to observe the motor's variables using the Bus Selector block.
The three-phase converters measurement vector. This vector contains:
The DC bus voltage
The rectifier output current
The inverter input current
Note that all current and voltage values of the bridges can be visualized with the Multimeter block.
The controller measurement vector. This vector contains:
The slip compensation
The speed error (difference between the speed reference ramp and actual speed)
The speed reference ramp
When the Output bus mode parameter is set to Single output bus, the block groups the Motor, Conv, and Ctrl outputs into a single bus output.
3 HP and 200 HP Drive Specifications
3 HP Drive
200 HP Drive
Drive Input Voltage
Motor Nominal Values
As shown in the following figure, the speed precisely follows the acceleration ramp. At t = 0.5 s, the nominal load torque is applied to the motor. At t = 1 s, the speed set point is changed to 1500 rpm. The speed increases to 1500 rpm. At t = 1.5 s, the mechanical load passes from 11 N.m to −11 N.m. The figure illustrates the results obtained respectively with the detailed and the average-value inverter. Average voltage, current, torque, and speed values are identical for both models. The higher frequency signal components are not represented with the average-value converter.
AC2 Example Waveforms (Blue : Detailed Converter, Red : Average-Value Converter)
 Bose, B. K., Modern Power Electronics and AC Drives, Prentice-Hall, N.J., 2002.
 Grelet, G., and G. Clerc, Actionneurs électriques, Éditions, Eyrolles, Paris, 1997.
 Krause, P. C, Analysis of Electric Machinery, McGraw-Hill, 1986.