é Vladimir Ya. Frolov, Rustan i. Zhiligotov
Development ofSensorless Vector Control System..
UDC 621.314.04
DEVELOPMENT OF SENSORLESS VECTOR CONTROL SYSTEM FOR PERMANENT MAGNET SYNCHRONOUS MOTOR IN MATLAB SIMULINK
Vladimir Ya. FROLOV, Ruslan I. ZHILIGOTOV
Peter the Great St. Petersburg Polytechnic University, Saint-Petersburg, Russia
In last 20 years segment of electric drives with permanent magnet synchronous motors has increased. This type of motors has better technical characteristics compared to induction motors, but has problems in actual implementation, one of which is the requirement of rotor position data. It is possible to implement with use of sensors or without them by means of motor state observer.
The paper describes problems of sensorless vector control system for permanent magnet synchronous motors. The vector control system with state observer for permanent magnet synchronous motors is described. Synthesis of sliding mode observer for rotor speed and position is presented. The algorithm is implemented by development of model in Matlab Simulink environment with support by Texas Instruments processors support blocks. Experimental comparison of results of rotor angle state calculation and the data obtained by rotor position sensors was conducted. Research objective is a development of control algorithm, which has required precision for calculation of rotor start angle, high range of speed regulation and resistance to drift of motor parameters.
Key words: vector control, motor state observer, permanent magnet synchronous motor, sensorless control, frequency controlled electric drive
How to cite this article: Frolov V.Ya., Zhiligotov R.I. Development of Sensorless Vector Control System for Permanent Magnet Synchronous Motor in Matlab Simulink. Journal of Mining institute. 2018. Vol. 229, p. 92-97. DOI: 10.25515/PMI.2018.1.92
Introduction. In last 20 years electric drive systems based on permanent magnet synchronous motors (PMSM) become widespread. In such systems presence of converter and control systems is required [1, 3, 15]. The control system governs the switching sequence of inverter switches in accordance with control law. In case of vector control it is required to obtain defined flux and electromagnetic torque. The vector control systems for PMSM require determination of rotor position. It is possible to implement by means of position sensors or by incorporation of motor state observer into control loop. The sensorless control assumes lack of position and speed sensors on the machine shaft. The use of sensorless control requires the presence of observer, which calculates rotor position and speed [5, 14, 16].
In the paper, the structure of electric drive, maintaining the preset rotation frequency, is actualized. The observer is represented by mathematical model of motor for which the input data is currents in motor power supply lines. The observer is demanded to be up to requirements, which are robustness to noses in measurement channels, provision of wide speed control range and low response to motor parameters drift [6, 11, 12].
Vector control system for PMSM. Structural diagram of model is represented in Fig. 1. The speed setting block consists of rate setting device, output setting of which changes gradually, ensuring required engine acceleration rate. The speed regulation block consists of PID controller, which output variable is a torque setting. Vector control block includes observer, which calculates motor speed and transmits this signal to input of PID controller [2, 4], accordingly closing the feedback loop. Speed control loop operates with sampling rate of 100 Hz.
Torque setting signal, signals from motor phase A and B current sensors are transmitted to inputs of vector control block. Current sensors are implemented by means of current shunts. Current of phase C is calculated as inverted sum of two measured currents:
K = "(ia + h).
Speed Speed Speed Torque Vector control
setting block setting regulator setting block
Calculated speed
Fig. 1. Diagram of algorithm general structure
(1)
The vector control system for permanent magnet synchronous motor assumes following transforms: Clarke transform - conversion from three-phase coordinate system to fixed axis a and P:
92 -
Journal of Mining Institute. 2018. Vol. 229. P. 92-97 • Electromechanics and Mechanical Engineering
é Vladimir Ya. Frolov, Rustan i. Zhiligotov
Development ofSensorless Vector Control System..
Clarke transform
o—
Iq setting
Park transform
Current controller
Vd
Vq
Inverse Park transform
V„
Vector PWM block
V„
Vp "TO"
State observer
hO
Speed
I
I
d
a
I
I
p
q
9
9
I
p
Fig.2. PMSM vector control structure
I .= I a;
J hzL (2)
Jp = V3 •
Then Park transform is used - vectors are turned to determinate angle, as we switch to rotating coordinate system, connected with rotor in axes d and q:
Jd = J. sm(wt) - Jp c°s(w/);
Jq = J. cos(Wt) + JP sin(Wt)•
The vector control block is represented by control loop for motor currents in axes d and q. Control of currents is achieved by means of PI controllers, which have setting signals on the input. The current Id must be equal to zero, as the flux of machine is created by permanent magnets. Different from zero setting values could be used in order to accelerate motor to speed, which higher then possible for respective supply voltage, by means of reducing back-EMF by field reduction [9]. Current Iq is proportional to preset tongue. Signals from current PI controllers' outputs are transmitted to input of Inverse Park transform block (Fig.2), there transition to fixed coordinate system is performed:
J.= Jd sin(wt) + Jq c°s(wt);
(4)
Ip = -Id cos(wt) + Iq sin(wt).
Voltage setting signals in axes . and p proceed to vector pulse-width modulation (PWM) block, where duration and order of inverter switches are determined [17]. The current control loop operates on PWM frequency. The measurement of currents in motor power supply lines is conducted with the same speed.
Motor state observer. It is possible to form stator current equations neglecting the inequality of rotor field:
= Ais + B(vs - es). (5)
at
Matrixes A and B are determined by equations:
A = -RI ; B = -1 ; L = 3 L.
m '
L L 2
where J - unity matrix with dimensions 2 x 2; R and Lm - active resistance and inductance of stator phase winding.
Structure of state observer (Fig.3) consists of mathematical model of motor, relay control, filter, rotor flux angle calculator, rotor flux angle corrector [10, 13, 19-21]. At first stage the observer
Vladimir Ya. Frolov, Ruslan I. Zhiligotov
Development of Sensorless Vector Control System...
determines error between calculated and measured stator current. Calculations are proceeding in accordance with expressions:
d ~ = Ais + b(v* - + *)
z = k sgn(i~ - is )
(6) (7)
where is - calculated current; v* - stator voltage setting; is - measured current.
Controller operation purpose is to reduce error between measured and calculated currents to zero [7-9, 12]. It could be obtained by expressions written in discrete form:
~ (n +1) = F~ (n) + G (v>) - ~ (n) + z(n)); (8)
Z(n) = k sgn(~ (n) - is (n )),
where F = exp
R,
(
--Ts I ; G = -
L s J R
1 - exp| - Rts
; Ts - period of carrier frequency.
Filtration of feed-back EMF [18, 22] is carried out in accordance with
d
-je* =-®oes +®o Z: dt
where ®0 = 2f>; f0 - filter boundary frequency.
Mathematical model of motor
■Ml)
Relay control
Low pass filter
Flux angle calculation
Fig.3. Structure of state observer operating in sliding mode
(9)
(10)
Flux angle correction
Fig.4. Structure of state observer complied in accordance with equations (8)-(13)
«
v
s
z
A*
w
Vladimir Ya. Frolov, Ruslan I. Zhiligotov
Development of Sensorless Vector Control System...
add
add unit delay
lalpha -M
Ibeta Q)""!
-K
G
F
-C-
add
smopos
1/z
unit delay
add
-C-
switch
|U|
-K-
^ >E
switch
arctg1
arctg2
Raw theta
2
speed
H-0
switch
1
theta
Fig.5. Model of state observer in Matlab Simulink
0
350° 300
250 200 150 100 50
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 t, c
0
3° 2 1 0 -1 -2 -3
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 t, c
Fig.6. Results of experiments with introduced observer: а - measured (red line) and calculated (blue line) angles; b - angle calculation error
+
b
é Vladimir Ya. Frolov, Rustan I. Zhiligotov
Development ofSensorless Vector Control System..
From expression (6) derives
~ (n +1) = ~ (n) + 2f (z(n) - ~ (n)), (11)
rotor flux angle value is determined from equation
= 2 ke ®
3 T- sin e^
v cose j
(12)
Thus, rotor flux angle value is determined as angle between vectors of calculated back-EMF in axes a and P:
0CT = arctg (- , ~sp). (13)
The sliding observer system for permanent magnet synchronous motor state, represented in Fig.4, was implemented in Matlab Simulink environment (Fig.5).
Results. The model was tuned using nameplate data of motor, calculation step of rotor position angle corresponds with PWM carrier frequency of 20 kHz. In the course of research comparison of rotor position angle calculated by the observer and obtained with use of Hall sensors was conducted. The results of comparison are presented in Fig.6. Shown regime corresponds with rotation frequency 1000 rpm.
Conclusion. The implementation of sensorless control system for permanent magnet synchronous motors, including the observer operating in sliding mode, is presented in the paper. Two current sensors, placed in motor power supply lines, and setting voltage knowledge were required in order to use the observer. Also, motor stator parameters, inductance and active resistance, must be known. Presented observer shows good results in calculation of rotor flux angle and rotation frequency in wide range of speed and could be implemented in control scheme with function of demagnetization for operation at high velocity. The structure of observer allows avoiding calculation error increase in case then motor parameters drift (for example, as a result of heating). Obtained control system can be implemented as a replacement to rotor position determination methods, such as measurement of back-EMF in free phase [16], and, also, with the use of test signals.
REFERENCES
1. Burov V.N., Frolov V.Ya. Power electronics: semiconductor converters for induction motor control and their energy data. St. Petersburg: Izd-vo Politekhnicheskogo universiteta, 2014, p. 106 (in Russian).
2. Zhiligotov R.I., Frolov V.Ya. Vector control for brushless direct current motor. Nedelya nauki SPbPU: Materialy nauchnoi konferentsii s mezhdunarodnym uchastiem. Institut energetiki i transportnykh sistem. Part 2. St. Petersburg: Izd-vo Politekhnicheskogo universiteta, 2016, p. 160-162 (in Russian).
3. Frolov V.Ya., Smorodinov V.V., Zverev S.G. Power electronics. St. Petersburg: Izd-vo Politekhnicheskogo universiteta, 2011, p. 280 (in Russian).
4. Chen Z., Tomita M., Doki S., Okuma S. An extended electromotive force model for sensorless control of interior permanent magnet synchronous motors. IEEE Transactions on Industrial Electronics. 2003. Vol. 50. N 20, p. 288-295.
5. Drakunov S.V. Sliding-Mode Observers Based on Equivalent Control Method. Proceedings of the 31st Conference on Decision and Control. Tucson, Arizona. 1992, p. 2368-2369.
6. Edwards C., Spurgeon S.K. A sliding-mode control observer based FDI scheme for the ship benchmark. European Journal of Control. 2000. Vol. 6, p. 341-356.
7. Edwards C., Spurgeon S.K. On the development of discontinuous observers. International Journal of Control. 1994. Vol. 59, p. 1211-1229.
8. Edwards C., Spurgeon S.K. Robust output tracking using a sliding-mode controller/observer scheme. International Journal of Control. 1996. Vol. 64, p. 967-983.
9. Edwards C., Spurgeon S.K. Sliding Mode Control: Theory and Applications. Taylor & Francis, 1998, p. 237.
10. Edwards C., Spurgeon S.K., Patton R.J. Sliding-mode observers for fault detection. Automatica. 2000. Vol. 36, p. 541-553.
11. Edwards C., Spurgeon S.K. Sliding-mode output tracking with application to a multivariable high temperature furnace problem International Journal of Robust and Nonlinear Control. 1997. Vol. 7, p. 337-351.
12. Ortega R., Praly L., Astolfi A., Lee T., Nam K. Estimation of rotor position and speed of permanent magnet synchronous motors with guaranteed stability. IEEE Transactions on Control Systems Technology. 2010. N 99, p. 1-13.
96 -
Journal of Mining Institute. 2018. Vol. 229. P. 92-97 • Electromechanics and Mechanical Engineering
é Vladimir Ya. Frolov, Rustan I. Zhiligotov
Development ofSensorless Vector Control System..
13. Janiszewski D. Extended Kalman Filter Estimation of Mechanical State Variables of a Drive with Permanent Magnet Synchronous Motor. Studies in Automation and Information Technology. 2004. Vol. 28/29, p. 79-90.
14. Pacas M. Sensorless drives in industrial applications. IEEE Industrial Electronics Magazine. 2011. Vol. 5. N 2, p. 16-23.
15. Pillay P., Krishnan R. Modeling of permanent magnet motor drives. IEEE Transactions on Industrial Electronics. 1988. Vol. 35, p. 537-541.
16. Morimoto S, Kawamoto K., Sanada M., Takeda Y. Sensorless control strategy for salient-pole PMSM based on extended EMF in rotating reference frame. Proc. 2001 IEEE IAS Annual Meeting. 2011. Vol. 4, p. 2637-2644.
17. Trzynadlowski A.M., Kirlin R.L., Legowski S.F. Space vector PWM technique with minimum switching losses and a variable pulse rate. IEEE Transactions on Industrial Electronics. 1997. Vol. 44. N 2, p. 173-181.
18. Utkin V.I. Sliding Mode Control Design Principles and Applications to Electric Drives. IEEE Transactions on Industrial Electronics. 1993. Vol. 40, p. 23-36.
19. Utkin V.I., Guldner J., Shi J. Sliding Mode Control in Electromechanical Systems. Taylor & Francis. 1999, p. 325.
20. Utkin V.I. Sliding Modes in Control Optimization. Berlin: Springer-Verlag, 1992, p. 286. DOI: 10.1007/978-3-642-84379-2
21. Utkin V.I. Variable structure systems with sliding-modes. IEEE Transactions on Automatic Control. 1977. Vol. 2, p. 212-222.
22. Yan Z., Utkin V. Sliding mode observers for electric machines-an overview. Conf. Rec. IEEE-IES 28th Annual Meeting IECON 2002. Vol. 3 (2002), p. 1842-1847.
Authors: Vladimir Ya. Frolov, Doctor of Engineering Sciences, Professor, [email protected] (Peter the Great Saint-Petersburg Polytechnic University, Saint-Petersburg, Russia), Ruslan I. Zhiligotov, Assistant Lecturer, [email protected] (Peter the Great Saint-Petersburg Polytechnic University, Saint-Petersburg, Russia).
The paper was accepted for publication on 31 March, 2017.