Paper 4_Sensorless Control of PMSM using FOC Strategy Based on Multiple Models
Paper 4_Sensorless Control of PMSM using FOC Strategy Based on Multiple Models
Abstract—This article presents the sensorless control system complexity relative to the stochastic ones, but they have lower
of a Permanent Magnet Synchronous Motor (PMSM), where the accuracy as compared to them.
speed controller consists of a Mutliple - Artificial Neural
Networks (M-ANN) and the rotor speed is provided by a Sliding A particular role in the modern control systems is given by
Mode Observer (SMO). The performance of the proposed control their implementation using the ANN [15-17]. Among the main
system is presented in comparison with the classic Field Oriented advantages of the ANN we can mention the robustness and the
Control (FOC) system. The implementation of a load torque implementation of very complex systems by simply knowing
observer allows the selection of a specially trained corresponding the evolution in time of their input and output. This article
ANN to obtain optimum performance over the load torque presents the sensorless control system of a PMSM using a M-
variation ranges. The PMSM equations, the speed and load ANN for the speed control, a load torque estimator and a SMO-
torque observers equations, the main blocks and control type rotor speed and position estimator. The load torque can be
structures, their parameterizations and the results of the considered from the point of view of the PMSM automatic
numerical simulations obtained are presented. The good results control system as disturbance parameter. Thus, a key element
obtained as a result of the numerical simulations involving the in the overall control structure proposed in this article is the
use of the usual Simulink and Stateflow blocks, which can be presence of a load torque estimator. By knowing the range of
implemented in embedded systems recommend the real-time the usual load torque variation, a number of ANNs will be
implementation of the proposed PMSM control system. trained on significant intervals, depending on the application,
to reproduce the control achieved with FOC-type structure with
Keywords—State observers; Artificial neural networks; Motor
drives; Permanenet magnet motors; Automatic control PI-type controllers tuned for each of these sub-intervals of the
load torque variation. By selecting the corresponding ANN,
according to the estimated value of the load torque, superior
I. INTRODUCTION performances will be achieved compared to the use of a FOC
It is undeniable that there has been a growing interest in the structure by tuning the control parameters for the entire range
PMSM lately. This is explained by the fact that the PMSM has of the load torque variation. The rest of the paper is organized
a number of advantages over other types of motors: low inertia, as follows: Section II describes the mathematical model of the
high load torque density, reduced dimensions, but also faster PMSM and the FOC-type control structure. The mathematical
cooling, considering that the losses are concentrated in the models and the structures of implementation of the speed and
stator and the harmonic content is lower [1-4]. load torque estimators in the Matlab/Simulink environment are
presented in Section III. Section IV presents the ANN
Naturally, a series of PMSM control systems have been structures which selectively perform the PMSM control, based
developed. Thus, we can mention the classic FOC and Direct on the estimated load torque, and the results of the numerical
Torque Control (DTC) control structures, but also modern simulations. The final section summarizes the conclusions and
adaptive, robust and predictive type control structures [5-8]. ideas for the continuation of the topics addressed in this article.
The intelligent PMSM control can be achieved by using fuzzy,
ANN, genetic or Particle Swarm Optimization (PSO) type
control algorithms [9, 10]. In order to eliminate the II. PMSM AND FOC STRATEGY - MATHEMATICAL MODEL
disadvantages of using position and speed transducers, a By using the usual notations in the rotor reference frame
number of estimators were achieved, among which we can and by following [3, 17], the mathematical model of the
mention: estimators based on the SMO method, Model PMSM in d-q frame can be written as follows:
Reference Adaptive System (MRAS) and Luenberger observer
for the deterministic approach and Kalman-type estimators for
a stochastic type approach [11-14]. It is obvious that the ª u q º ª R q + ρ Lq ω e L d º ª iq º ªω e λ 0 º
(1)
«u » = « − ω L +
deterministic estimators have the advantage of reduced
¬ d¼ ¬ e q R d + ρ L d »¼ «¬ i d »¼ «¬ ρλ 0 »¼
This paper was developed with funds from the Ministry of Research and
Innovation as part of the NUCLEU Program: PN 19 38 01 03.
§ cos θ e − sin θ e ·
λ q = Lq iq T = ¨¨ ¸ (5)
(2) © sin θ e cos θ e ¸¹
λ d = Ld id + λ 0
Based on these, the currents i, i and the back-EMF e and
By indicating the electromagnetic torque developed by the e are given by the relations (6) and (7) respectively:
PMSM as Te the following relations regarding the PMSM
dynamics can be expressed:
iα = id cos(θ e ) − iq sin(θ e )
(6)
iβ = id sin(θ e ) + iq cos(θ e )
Te = n p {λ d i q − λ q id }
3
2 (3)
dω
Te = T L + B ω + J
dt dλα
eα = = −λ0ωe sin (θ e )
where: np is the number of pole pairs, B is the viscous
dt (7)
dλ β
friction coefficient, J is the rotor inertia and TL is the load eβ = = −λ0ωe cos(θ e )
torque. dt
If we consider the simplifications Ld=Lq=L, Rd=Rq=Rs, and In the - frame, the PMSM equations can be synthetized
e=np· where is the angular velocity of the rotor, then the as in the following relation:
PMSM model becomes:
diα R 1 1
§ Rs · § ud · = − s iα − eα + uα
¨ − n pω 0 ¸ ¨ ¸ dt L L L
§ id · ¨ L ¸ § id · ¨ L ¸ (8)
¨ ¸ ¨ n λ ¨ ¸ u (4) diβ
− p 0 ¸ ¨ iq ¸ + ¨ q ¸
R R 1 1
¨ iq ¸ = ¨ − n p ω − s
¸ ¨ ¸ = − s i β − eβ + u β
¨ ω ¸ ¨ L L ¨ ¸ L dt L L L
© ¹ Kt B ¸© ω ¹ ¨ TL ¸
¨ 0 − ¸ ¨− ¸
© J J ¹ © J ¹ By estimating the back-EMF e and e, by using a SMO,
the position and the speed of the rotor can then be estimated.
where: Kt is the torque constant. The equations of the observer are given in the following
The classic FOC-type control structure of the PMSM is relation [17]:
shown in Fig. 1 [3]. The FOC-type control structure shown in
Fig. 1 contains a cascade control system where the outer loop is
diˆα R 1 1
intended for the control the rotor speed of the PMSM motor. = − s iˆα + uα − kH (iˆα − iα )
The current reference id is set to zero for torque maximization dt L L L (9)
reasons, and the reference iq for the inner current control loop diˆβ R 1 1
is prescribed by the PI-type speed controller. The SVPWM = − s iˆβ + u β − kH (iˆβ − iβ )
(Space Vector Pulse Width Modulation) block ensures the dt L L L
transition of the IGBTs (power transistors) according to the where: k is the observer gain, and function H is of the
control inputs u and u and a switching table [3]. sigmoid type:
2
H ( x − y) = −a ( x − y )
−1 (10)
1+ e
where: a is a positive constant, and the sigmoid function
defined by (10) will take values between -1 and 1 for a=4 and
will replace the sign function of the classic approach of the
SMO, resulting in the reduction of the chattering phenomenon.
Fig. 1. Block diagram of the FOC strategy for the PMSM The sliding vector is defined as:
33
Authorized licensed use limited to: Karunya Institute of Technology and Sciences. Downloaded on March 01,2025 at 07:46:51 UTC from IEEE Xplore. Restrictions apply.
S n = [ sα sβ ]T = [iˆα − iα iˆβ − iβ ]T = [iα iβ ]T (11) The implementation of the speed observer in
Matlab/Simulink is shown in Fig. 2. The equations (9)
describing the observer are implemented as the subsystem on
and Lyapunov function is chosen as follows [17]: the left side of the block diagram in Fig 2. The sigmoid
function is used, instead of the sign function, to smooth the
inherent oscillations in a SMO. In the final part of the SMO
1 1
V = S nT Sn = sα2 + sβ2
2 2
( ) (12) implementation, an intermediate filter block of the back-EMF
e and e is also added as low-pass filters with a cut-off
frequency of 500Hz.
Parameter k is chosen such that V < 0 , ensuring the SMO
stability when the system trajectory is on the sliding surface,
Sn=0. The system of equations of the errors of currents is
defined as follows:
iα = iˆα − iα = − s iα + eα − kH (iα )
R 1 1
L L L (13)
iβ = iˆβ − iβ = − s iβ + eβ − kH (iβ )
R 1 1
L L L
The relations (3) are used for the estimation of the load
eˆα2 + eˆβ2 torque, and the implementation in Matlab/Simulink is
ωˆ e = (18)
λ0 presented in the block diagram in Fig. 4. On the left side of the
block diagram there is a subsystem which implements the
relations (3), and on the right side there is a block of
adjustment of the output to get a good estimate of the load
t
torque. Fig. 5 shows the results of the numerical simulations of
θˆe (t ) = ³ ωˆ e (t )dt + θ 0 (19) the evolution in time of the load torque estimate for a
t0 prescribed sequence of the following form: [0.1 0.25 0.5 0.75 1
1.25]s [1 2 3 4 3 3 2]Nm (to which a uniformly distributed
where: 0 is the initial electrical position of the rotor. noise with an amplitude of 0.4Nm is added).
34
Authorized licensed use limited to: Karunya Institute of Technology and Sciences. Downloaded on March 01,2025 at 07:46:51 UTC from IEEE Xplore. Restrictions apply.
2 z −1 (21)
s=
Ts z + 1
1 (20)
H PI ( s) = K p + K i
s Fig. 8. Block diagram of the ANN structure
For discretization, the Tustin substitution of the following The performance of the training of an ANN corresponding
form is used: to a sub-interval of the load torque is presented in Fig. 9 and
35
Authorized licensed use limited to: Karunya Institute of Technology and Sciences. Downloaded on March 01,2025 at 07:46:51 UTC from IEEE Xplore. Restrictions apply.
10. The value close to 1 of the regression parameter R in Fig. 9 11. If the load torque has a dynamic given by the sequence: [0
(which represents a measure of the approximation between 0.05 0.1 0.25 0.5 0.75 1 1.25]s [1 3 5 4 4 2 2 3]Nm, to which
output and target) is a guarantee that the ANN has been a uniformly distributed noise of the type described above is
successfully trained. added, the best tuning of the PI controller provides the results
obtained in Fig. 12. It can be observed that the profile cannot
be tracked with good results in the 0-100ms range when the
load torque has a fast variation, but also shortly after the 750ms
time, when the load torque has a relatively high value at a
speed of 1200rpm. By selecting five equal sub-intervals of the
load torque variation, 5 ANNs were trained under the
conditions in which the optimal tunings of the PI-type speed
controller were achieved for each of these sub-intervals. In this
way, it can be seen in Fig. 13 that higher performance was
obtained compared to a PI controller tuned for the entire load
torque variation range. The value of the speed ripple is defined
as follows [5]:
N i =1
36
Authorized licensed use limited to: Karunya Institute of Technology and Sciences. Downloaded on March 01,2025 at 07:46:51 UTC from IEEE Xplore. Restrictions apply.
REFERENCES
37
Authorized licensed use limited to: Karunya Institute of Technology and Sciences. Downloaded on March 01,2025 at 07:46:51 UTC from IEEE Xplore. Restrictions apply.