Modeling and Simulation of Sensorless Control of PMSM With Luenberger Rotor Position Observer and Sui Pid Controller
Modeling and Simulation of Sensorless Control of PMSM With Luenberger Rotor Position Observer and Sui Pid Controller
www.jee.ro
1
Journal of Electrical Engineering
www.jee.ro
speed error is processed in the SUI PID controller to The electro-magnetic torque:-
regulate the rotor speed. The output of this controller
is iq ref .The state frame transformations of Clark, Park,
Te =
3
2
[
P λ I q + ( Ld − Lq ) I q I d ] (3)
and inverse-Park are used to transform the currents and
voltages.
For constant flux operation I d maintained at zero,
2 PMSM model which produce electric torque
The stators of the PMSM and wound rotor synchronous
[ ]
motor are similar. In addition, there is no difference
3
between the back EMF produced by a permanent Te = P λI q = KT I q (4)
magnet and that produced by an excited coil. Hence, 2
the mathematical model of a PMSM is similar to that of
the wound rotor SM [5]. The electrical dynamic This torque equation of the PMSM similar to the
equation of the motor in the dq rotor reference frame regular dc machine and hence provides ease of control
can be written as:- where, the torque depends only on the quadrature
di d Vd R L component of the stator current.
= − id + q P ω r iq (1) The torque balanced equation is:-
dt Ld Ld Ld
di q Vq R L λPω r dωr
= − iq − d P ω r id − (2) Te = J + Fωr +TL (5)
dt Lq Lq Lq Lq dt
2
Journal of Electrical Engineering
www.jee.ro
0
ia 1
i = − 1 3 iα
×
b 2 2 iβ (9)
ic − 1 − 3
2 2
Fig. 2. Analytical model of PMSM 3.2. Park transformation
Park-transformation produces the system model; the
current and voltage vectors onto a rotating coordinate
3. Coordinate transformations time invariant system as shown on Fig.4.
In order to study the performance of PMSM model
under sensorless control, two different transformations
were made: The first one is Clarke-transformation
while the second is Park transformation.
β sinθr cosθ r q
(11)
−1 −1 i 4. Current controller
iα 21 2 a
2 ×i The current controller block used to regulate the stator
i = b ∧
current and it has five inputs: id ref , iq ref , ∆id , ∆iq & ω r
0
β 3 3 − 3 i (8)
2 2 c
and two outputs; Vd & Vq . The current controller has
been implemented according to the current controller
equations;
3
Journal of Electrical Engineering
www.jee.ro
V = × i + ∆t × 0 L
universal PID constant, so no specific design is needed
q Pω r R qref q
and therefore no need for a system model. The SUI
PID controller constants K P and K I are the absolute
∆id 0 values of errors and integration of errors as shown in
× +
Fig.5.
∆iq Pωr λ
(12)
∆i d = id ref − I d (13)
∆i q = iq ref − I q (14)
(
K I = ABS ∫ error.dt ) (19)
derror Where;
K d = ABS
dt
(20)
[
X = id iq] ; U = [V
T
d Vq λ ]T ;
Y = [i i ] ;
Selecting the controller constants from the above T
explanation leads to a simple design algorithm and d q
simplified adaptive weighting for the three terms.
−R 1
Pω r
The proposed intelligent PID controller is constructed
by using the multi degree of freedom controller L 0 0
(MDOF) concept [7], [8]. Applying the intelligent PID A= d B = L
controller eliminates the need to know the system
− Pω r − R; 1 − Pωr ;
steady state gain. 0
1 Ld L L
C m = C * M * error + C * (1 − error ) (21)
M
1 0
1 C C=
Cm = C * error * ( M − ) +
M M
(22)
0 1
4
Journal of Electrical Engineering
www.jee.ro
q directions ( id & i q ) in the rotating frame are used as adjustable one. The rotor angular speed is built around
the following adaptive
daptive mechanism
mechanism:
the estimated variables and the rotor speed ωr as the
regulated variable. ∧ ∧ ∧ λ t ∧ λ ∧
The second order Luenberger observer is given by
by: ωr = Kp (id iq −iq id − eq ) + Ki ∫(id iq −iq id − eq )dt
∧ ∧ ∧ ∧
L 0
L
d X = A1 ( ω r ) X + B o U + K ( Y − Y ) (26)
dt Where;
∧ ∧
Y = C X ∧ ∧
ed = id − id & eq = i q − i q .
5
Journal of Electrical Engineering
www.jee.ro
rotor angular speed ω r in a very short time nearly 150 Actual speed
0.003 sec by the virtue of the SUI PI controller. 100
After loading, both the estimated and actual rotor
angular speeds dropped but in a very short time and by 50
the virtue of the SUI PI controller they returned back 0 Estimated speed
again to the reference value (target) in less than 0.002
sec. -50
0 0.5 1 1.5 2
Time(sec)
At t=0.04 sec an error occurs with angular speed
error=65 rad/sec and at t=0.04 sec the error converges Fig. 7. The actual, target and estimated angular
to zero in 0.0572 sec thanks to the adaptive control speeds at starting and then a sudden loading
algorithm as shown on Fig. 8. 70
At t=1 sec, with a sudden loading, the speed error
60
decreases and then return back again to zero as both
Speederror(rad/sec)
6
Journal of Electrical Engineering
www.jee.ro
10 1.5
Cos(theta estimated)
Sin (theta estimated)
0 0
-0.5
-5
-1
-10 -1.5
0 0.5 1 1.5 2 0 0.1 0.2 0.3 0.4 0.5
Time(sec) Time(sec)
Fig. 9. The Electromagnetic torque Te Fig. 12. The Sin & Cos (estimated theta)
50
Conclusions
This paper presents a sensorless control of PMSM
using the SUI PID controller and Luenberger adaptive
observer to estimate both rotor angular speed and the
Estimated Id rotor position. The efficiency of using luenberger
adaptive observer has been studied and indicated on the
Id(A)
50
APPENDIX
7
Journal of Electrical Engineering
www.jee.ro
Friction Coefficient 0
Moment of inertia 0.00037 Kg.m 2
coefficient
Load Torque 1.5 N.m
REFERENCES:
[1] Wang Song, Shi Shuang - Shuang, Chen Chao, Yang
Gang and QuZhi-jian, ”Identification of PMSM based on
EKF and Elman Neural network”, Proceedings of the IEEE
International conference on Automation and Logistics
Shenyang, China August 2009.
[2] S. Nakashima, Y. Inagaki, I. Miki, "Sensorless Initial
Rotor Position Estimation of Surface Permanent Magnet
Synchronous Motor ", IEEE Trans. Ind. Appl. ,Vol. 36, No.
6, November 2000, pp 1598-1603.
[3] J. Jang, J. Ha, M. Ohto, K. Ide, S. Sul, "Analysis of
Permanent-Magnet Machine for Sensorless Control Based on
High-Frequency Signal Injection", IEEE Trans. Ind. Appl.,
vol.40, N°.6, November/December 2004, pp 1554-1604.
[4] K. Nabti, K. Abed, and H. Benalla, “Sensorless direct
torque control of Brushless AC machine using luenberger
observer”, Journal of Theoretical and Applied Information
Technology, 2005 - 2008 JATIT.
[5] P. PILLAY and A. KRISHNAN, “Modeling of
Permanent Magnet Motor Drives” , IEEE Transactions On
Industrial Electronics, VOL. 35, NO.4, November 1988 pp:
537 – 541.
[6] Khater , F.M.H., Ahmed , F.I., and Abu-Elsebah , M.I.,
"Sensorless PM Motor with Multi Degree of Freedom Fuzzy
Control”, World Academy of Science Engineering and
Technology 6, 2005.
[7] Dhaouadi , R., Mohan , N., and Norum , I., “Design and
implementation of an extended Kalman filter for state
estimation of a Permanent Magnet Synchronous Motor”,
IEEE Trans. Power Elect., July 1991, pp. 491- 497.
[8] Schroedl , M., “Sensorless Control of Permanent Magnet
Synchronous Motors”, Electric Machines and Power
Systems, Vol. 22, 1994, pp. 173-185.
[9] www.st.com
[10] Grouz Faten, Sbita Lassaâd, "Speed Sensorless IFOC of
PMSM Based On Adaptive Luenberger Observer", World
Academy of Science, Engineering and Technology 44, 2010.
[11] S. Suwankawin, and S. Sangwongwanich., “Design
strategy of an adaptive full-order observer for speed
sensorless induction motor drives- tracking performance and
stabilization”, IEEE trans. on power electron. 53 (1), pp: 96
-119, 2006.
[12] H. Kraiem, M. Ben Hamed, L. Sbita, and M. N.
Abdelkrim, “DTC Sensorless Induction Motor Drives based
on MRAS Simultaneous of Rotor Speed and Stator
Resistance,” International Journal of Electrical
Power Engineering: IJEPE, 2 (5): 306-313, 2008.