You are on page 1of 7

INTERNATIONAL JOURNAL

OF PROFESSIONAL ENGINEERING STUDIES Volume VI /Issue 3 / APR 2016

A MATLAB/SIMULINK MODEL OF PMSM DRIVE USING


DIRECT TORQUE CONTROL WITH SPACE VECTOR
MODULATION
SINDHUJA KALIDASU D.KIRAN KUMAR
M.Tech (Power Electronics) Assistant Professor
JNTU College of Engineering, Hyderabad JNTU College of Engineering, Hyderabad

Abstract-Permanent Magnet Synchronous Motors powerswitches are needed to achieve a lowerripple and
(PMSM) are attracting growing attention for a wide variety almost fixed switching frequency, which increases the
of industrial applications, from simple applications like system cost and complexity. The two structures of
pumps or fans to high performance drives like machine-tool modified DTC have been proposed to improve
servos. This is due to their main characteristics are high classical DTC performances by replacing the
power density, high torque to inertia ratio and high
hysteresis controllers and the commutation table by
efficiency. In the conventional synchronous machines,
where the rotor field is also produced by an electric a PI regulator, predictive controller and Space
winding, the PMSM has no wires in the rotor, which Vector Modulation (SVM). Permanent magnet (PM)
reduces the copper losses of the machine. Also due to the synchronous motors are widely used in high-
lack of rotor windings there is no need for brushes and slip- performance drives such as industrial robots and
rings. Taking all this into account, a PMSM machine has a machine tools to their advantages as: high efficiency,
smaller size and a higher efficiency, for a given power, high power density, high torque/inertia ratio, and
compared to a conventional synchronous machine. The free maintenance. In recent years, the magnetic and
DTC controller receives a reference torque and flux signals, thermal capabilities of the PM have been considerably
the torque controller output determines the position of the
increased by employing the high coercive PM
desired flux vector .The amplitude of this vector is
calculated as a continuous value using a technique material. For some applications, the DTC becomes
developed originally for the SVM. The aim of the drive unusable, despite it significantly improves the dynamic
system is to have speed control over wide speed range and to performance of the drive compared to the vector
obtain a good dynamic response. control due to torque and flux ripples.

Key words: PMSM, DTC, DTC-SVM, Torque In this paper, a modified DTC algorithm
ripple, Flux ripple, Fixedswitching frequency. with fixed switching frequency for PMSM is
proposed to reduce the flux and torque ripples. It is
I.INTRODUCTION an extension of the modified DTC scheme for the
PMSM proposed.The performance of the basic DTC
Indeed, hysteresis controllers used in the and the proposed DTC scheme is analyzed by
conventional structure of the DTC generates a
modeling and simulation using MATLAB.
variable switching frequency, causing electromagnetic
torque oscillations, this frequency is also varying II. DTC AND DTC-SVM STRUCTURES
with speed, load torque and hysteresis bands
selected. In addition, a high sampling frequency Figures 1 and 2 represents two system
needed for digital implementation of hysteresis configuration of DTC controlled PMSM drive
comparators and a current and torque distortion respectively; both of them use the same flux vector
caused by sectors changes. Direct Torque Control and torque estimators.
(DTC) method has been first proposed and applied
for induction machines in the mid- 1980’s as However, torque and fluxhysteresis
reported. This concept can also be applied to controllers and the switching table are replaced by a PI
synchronous drives. Indeed, in the late 1990s, DTC torque controller and a predictive calculator of vector
techniques for the interior permanent magnet voltage reference to be applied to stator coils of the
synchronous machine appeared,asreported. PMSM.In the proposed scheme of DTC-SVM with
speed loop control, shown in Figure.2, after
Several contributions have been proposed to correction of the mechanical speed through a PI
overcome these problems, by using a multilevel controller, the torque PI controller delivers
inverter: more voltage space vectors available to Vsqvoltage to the predictive controller and also
control the flux and torque. However, more receives, more the reference amplitude of stator flux

IJPRES
1
INTERNATIONAL JOURNAL
OF PROFESSIONAL ENGINEERING STUDIES Volume VI /Issue 3 / APR 2016

Өsr, information from the torque and flux estimator


namely, the amplitude and position ϴs of the actual
stator flux and measured current vector.

Fig.3. (a) Different coordinate of PMSM, (b) Flux,


current and voltage vectors. (A-B-C) 3-phase
coordinates. (α, β) stator oriented and (d, q) rotor
oriented coordinates.

Ψ = . + (3)

Fig.1. Basic DTC scheme for PMSM drive with speed Ψ = . (4)
loop
Where Isd and Isq are the d - q axis stator currents, Rsis
the stator resistance, ΨPM is the flux linkage of the
rotor magnets linking the stator, Ldand Lqare the d - q
axis stator inductances, p is thenumber of pole pairs
and ωmis the mechanical speed, Ψsdand Ψsqare d-q
components of the stator flux linkage. And the
electromagnetic torque equation in the rotor
oriented coordinates d-q can be expressed as:

3 3
Γ = Ψ −Ψ Ψ
2 2
− − (5)
Fig.2. DTC-SVM for PMSM drive
Finally, the motion equation is expressed as:
After calculation, the predictive controller
determinates the polar coordinates of stator voltage
command vector for space vector modulator, which =Γ −Γ − (6)
finally generates the pulses S1, S3and S5to control the
inverter. Where J moment of inertia, Гrmotor load and
frdamping constant. From the vector diagram of
MODEL OF PMSM ANALYSIS figure.3b, equations (3)and (4) we demonstrate that
expression of electromagnetic torque is given by:
The vector diagram of PMSM is shownin
fig:3. The voltage and flux equations for a PMSM 3 Ψ
in the rotor oriented coordinates d-q can be expressed Γ = [Ψ sin
as: 2
1
+ Ψ − sin ] (7)
= . + − . . (1) 2
Above equation consist of two terms, the first is the
excitation torque, which is produced by permanent
= . + − . . (2) magnet flux and the second term is the reluctance
torque. In the case where Ld= Lq, the expression of
electromagnetic torque becomes:

IJPRES 2
INTERNATIONAL JOURNAL
OF PROFESSIONAL ENGINEERING STUDIES Volume VI /Issue 3 / APR 2016

3 Ψ V0 as well as their sequence that depends on the


Γ = [Ψ sin sin ](8) symmetry of the modulation vector.
2
From equation (8) we can see that for III. COMPARISON BETWEEN THE
constant stator flux amplitude and flux produced by CNVENTIONAL DTC AND DTC-SVM
PM, the electromagnetic torque can be changed by The objective of the DTC is to maintain
control of the torque angle. This is the angle between the stator flux and torque within the hysteresis
the stator and rotor flux linkage, when the stator bands of Regulators close to their reference values
resistance is neglected. The torque angle δ, in by selecting the output voltage of the inverter. And
turn, can be changed by changing position of stator when the couple or the modulus of stator flux reaches
flux vector in respect to PM vector using the actual the upper or lower limit of the hysteresis comparator, a
voltage vector supplied by PWM inverter.In the single vector suitable voltage is applied during each
PMSM drive, we distinguish between two cases: sampling step to bring the quantity involved within its
hysteresis band.
- Steady state: the angle δ is constant and its value is
the load torque of the machine, while the stator flux
and rotor rotate at the same speed is the synchronous
speed.

- The transient state:the angle Өsis variable then the


stator and rotor flux rotates at different speeds
(Figure.4).

Fig.4. Vector diagram of illustrating torque and flux


control conditions

The change of the angle Өsis done by varying


Fig.5. Stator flux vector evolution in the first sector
the position of the stator flux vector relative to the rotor
flux vector with the vector Vs-réf provided by the The stator voltage equation of PMSM is given by the
predictive controller to the power of the SVM. The vector relation:
figure.4 above shows the evolution of the stator flux
vector at the beginning and the end of a period vector Ψ
modulation. At the beginning, stator flux vector is = . + (9)
at the position Өs with an amplitude Ψs , it’s at this
moment that the predictive controller calculated the The equation (9) can be represented as discrete as
variation ∆δ of the stator flux angle, it’s also at follows:
this same moment that the space vector modulator
receives the new position and amplitude of the If the voltage drop across the stator
voltage vector that must be achieved at the end of resistance is negligible compared with the stator
the modulation period, and of course it this vector voltage, while there is an interval [t, t+ Ts], the end
will allow the stator flux to transit to the location as of the vector ѱsmoves on a straight line whose
defined by the predictive controller to adjust the direction is given by the vector VS selected during TS.
torque fluctuations, and this by calculating the time
of application of the adjacent vectors V1, V2 and

IJPRES
3
INTERNATIONAL JOURNAL
OF PROFESSIONAL ENGINEERING STUDIES Volume VI /Issue 3 / APR 2016

Indeed, this vector with two components, one for


controlling the flow and the other to control the torque. = ( _
) +( ) ,

FLUX ESTIMATOR _
= (12)
_

From equation (11), the relation between error of


torque and increment of load angle ∆δ is non linear.
Therefore PI controller, which generates the load angel
increment required to minimizethe instantaneous error
between reference and actual estimated torque, has
been applied. The step change ∆δ that corresponds to
the torque error is added to the current position ϴs of
the stator flux vector to determine the new position of
this vector. The module and argument of the reference
Fig.6. Current model for flux vector estimator vector of the stator voltage is calculated by the
The block diagram of flux estimator based on the following equations, based on stator resistance Rs, ∆δ
equations (3)and (4) is shown in figure 6.The signal, and actual flux angle:
estimation of flow requires the measurement of
stator currents and rotor position. cos ( +Δ )−
_
_ =
IV. DIRECT TORQUE CONTROL WITH SVM:
DTC-SVM + . (13)
The block scheme of the investigated direct sin( + Δ ) −
_
torque control with space vector modulation (DTC- _ =
SVM) for voltage source inverter (VSI) fed PMSM is
presented in Figure.2. The internal structure of the + . (14)
predictive torque and flux controller is shown in The Figure.8 below shows the sequence of
Figure.7. application of the two adjacent vectors and zero
vector in the first sector of vector Vs_réf. Indeed,
after the vector modulation algorithm computation
times T1, T2and T0successively apply the voltage
vectors V1, V2 and V0, we choose the symmetry in the
schematic figure.8 of dividing each modulation
period Tp into two sequences and transistor control
of the upper arms of the VSI, in the second half of
the period are an image of themselves in relation to
the vertical axis passing through the point Ts / 2.
Fig.7. Internal structure of predictive controller used in
DTC-SVM
From equation we can write:

1
= − − . . (10)
So the average change ∆δ of the angle δ is calculated
from equation (10) and figure.3.b, which gives:
Δ
_
= (11)

Te is the sampling time.


Fig.8. Time sequences and applications of adjacent
vectors in the first sector

IJPRES
4
INTERNATIONAL JOURNAL
OF PROFESSIONAL ENGINEERING STUDIES Volume VI /Issue 3 / APR 2016

So to have a fast transit of stator flux vector, very low


flux ripple and fast torque response, the space vector
modulator generates a voltage vector Vs_ref governed
by the following law:

1
_ = + +
2 2 2
+ +
2 2
+ (15)
2
So at each modulation period and in this case, the
sequence of adjacent vectors in the first sector is
applied (V1-V2-V7-V7-V2-V1) respectively during
the time to rebuild the better the rotating vector.

V. MATLAB/SIMULINK MODEL Fig10. Matlab-Simulink model of PMSM for DTC-


SVM method.
The MATLAB Simulink model of Park’s
transformation which is used for 3-phase to two
axis conversion is shown in Figure 9.By using this
we can analyze the PMSM in D.C. analysis. VI. SIMULATION RESULTS

Fig. 9 Simulink model of Park’s transformation. Fig13. Electromagnetic torque (Te)


Table 1: PMSM model Parameters:

Fig14. Rotor Speed (ωm)

IJPRES
5
INTERNATIONAL JOURNAL
OF PROFESSIONAL ENGINEERING STUDIES Volume VI /Issue 3 / APR 2016

and steady state response, be simple as possible to


make its software implementation easy, and to save
memory usage. The MATLAB-SIMULINK models
established here proved to be reliable for a better
understanding of the fast dynamic performance of the
DTC for PMSM drive systems. The simulation results
confirms that a fast and good response of the drive
system. A fast and good dynamic response of speed or
torque tracking can be achieved by controlling the
switching frequency of the SVM.
The results show that a smooth steady
state operation was obtained when using the
Fig15. Stator Current (Ia) proposed method. Moreover, a constant inverter
switching frequency is ensured by using SVM
topology. A modified direct torque control (DTC-
SVM) with speed loop has been proposed and
validated inMatlab/Simulink. The torque and flux
ripples are agree with the simulation results,
additionally the implementation shows that the speed
and torque dynamic state is the same as the
simulation results. Basic and modified DTC assure
very good decoupling in torque and stator flux control.

REFERENCES
[1] M. R. Zolghadri and D. Roye “ A fully digital
sensorless direct torque control system for synchronous
Fig16. Voltage (Vab) machine,’’ Electric Power Components and
Systems, 1532-5016, vol 26, Issue 7, Pages 709 – 721,
1998.
[2] D. Swierczynski, M.Kazmierkowski, and F.
Blaabjerg, “DSP based Direct Torque Control of
permanent magnet synchronous motor (PMSM)
using space vector modulation (DTC-SVM),”
International Symposium on Industrial Electronics
(ISIE) vol.3, pp, 723 – 727, Nov 2002.
[3] L. Tang, L. Zhong, M. F. Rahman, and Y. Hu “A
novel direct torque control for interior permanent-
magnet synchronous machine drive with low ripple in
torque and flux a speed-sensorless approach”, IEEE
Transactions on industry applications, vol. 39, No. 6,
Nov. 2003.
Fig17. Stator flux in (α, β) axis [4] T. J. Fu and W. F. Xie “A novel sliding-mode
control of induction motor using space vector
VII. CONCLUSION modulation technique,”, ISA Transaction vol 44, pp
481-490, 2005.
In this paper it was presented a method of [5] K. B. Lee, and F. Blaabjerg “ A modified DTC-
utilization of Space Vector Modulation for the Direct SVM for sensorless matrix converter drives using a
Torque control of a PMSM. To determine the reference simple deadbeat scheme,’’ HAIT Journal of Science
voltage, a simple algorithm was proposed, based on the and Engineering, vol 2, Issues 5-6, pp. 715-735,
torque error and the flux phase angle. This paper published June 2005.
introduced a developed algorithm based on DTC that [6] T. J. Vyncke, R. K. Boel and J .A .A. Melkebeek,
successfully operates even in cases of rapidly changing “Direct torque control of permanent magnet
conditions. The complete dynamic model of the DTC synchronous motors – an overview,’’ 3rd IEEE
system, with hysteresis controller, has been developed Benelux young researchers symposium in electrical
and simulated by using MATLAB-SIMULINK. The power engineering, Apr 2006.
DTC is designed and selected to give the best transient

IJPRES
6
INTERNATIONAL JOURNAL
OF PROFESSIONAL ENGINEERING STUDIES Volume VI /Issue 3 / APR 2016

[7] S. V. Zadeh and E.Jalali “Combined vector was appointed as Assistant Professor in The Department
control and direct torque control method for high of Electrical and Electronics Engineering, JNTUH
performance induction motor drives,”, Science College of Engineering in 2010.He was specialized in
Direct, Energy Conversion and Management, vol
VLSI Design having 6 years 5 months teaching
48, pp 3095-3101, 2007.
[8] H. Ziane, J.M. Retif and T. Rekioua “Fixed- experience. Research arrears are Electric Drives, VLSI
switchingfrequency DTC control for PM Design.
synchronous machine with minimum torque
ripples,’’ Can. J. Elect. Comput. Eng., vol. 33, No. Co-coordinator for National level students symposium
3/4, Summer/Fall 2008. (Pragnya’14), Dy.Warden of Hostel from 2010 to till date
[9] Y. Kumsuwan, S. Premrudeepreechacharn, H. A. and Officer-In charge,Examinations from 2013 to till
Toliyat “ Modified direct torque control method for date, JNTUH CEH.
induction motor drives based on amplitude and
angle control of stator flux,’’ Elsevier, Electr. Power Published papers:
syst. Res, 2008. 1. A novel model of Ripple free voltage multiplier
[10] L. Ningzhou, W. Xiaojuan and F. Xiaoyun ‘‘an for High Voltage (3200V) DC"" June 25, 2015.
improved DTC algorithm for reducing torque 2. International Electrical Engineering Journal
ripples of PMSM based on cloud model and (IEEJ) Vol. 5 (2014) No. 1, pp. 1229-1236 ISSN
SVM,’’ International Conference on Multimedia 2078-2365
Information Networking and Security, 2010. E-mail ID:kirannkumar9@jntuh.ac.in
[11] S. Belkacem, B. Zegueb and F. Naceri
‘‘Robust nonlinear direct torque and flux control of
adjustable speed sensorless PMSM drive based on
SVM using a PI predictive controller’’, Journal of
Engineering Science and Technology Review 3 (1)
(2010) 168-175, Accepted 20thJuly 2010.
[12] K. Chikh, A. Saad, M. Khafallah and D. Yousfi
‘‘PMSMVector control performance improvement by
using pulse width modulation and ant windup PI
controller”, the second international conference on
multimedia computing and systems 2011.

SINDHUJA
KALIDASUCompleted B.Tech in Electrical &
Electronics Engineering in 2013 from CVR College of
Engineering, Hyderabad Affiliated to JNTUH,
Hyderabad and M.Tech in Power Electronics in 2015
from JNTU College of Engineering, Hyderabad. Area
of interest includes Power Electronics.
E-mail ID:sindhuja.kalidasu@gmail.com

D.KIRAN KUMARpresently working as Associate


Professor in JNTU College of Engineering, Hyderabad,
Telangana, India. His area of interests are Power
Electronic Drives and controls, VLSI.

Sri.D.Kiran Kumar received B.Tech (EEE) in2003 and


M.Tech in 2009 from Bharath University, Chennai.He

IJPRES
7

You might also like