Implementation of Reduced Induction Machine Fuzzy Logic Control Based On dSPACE-1104 R&D Controller Board
Implementation of Reduced Induction Machine Fuzzy Logic Control Based On dSPACE-1104 R&D Controller Board
1 2 3
Mohamed Moutchou , Atman Jbari , Younes Abouelmahjoub
1Department
of Electrical Engineering, National Higher School of Arts and Crafts, Hassan II University, Casablanca,
Morocco
2Electronic Systems, Sensors and NanoBiotechnology Research Group, Higher school of Technical Education,
EL Jadida, Morocco
Corresponding Author:
Mohamed Moutchou
Departement of Electrical Engineering
Hassan II University, National Higher School of Arts and Crafts (ENSAM)
150 Nil Boulevard, ENSAM, Casablanca, Morroco
Email: [email protected]
NOTATION
𝛷𝑟 , (𝛷𝑟𝑑 , 𝛷𝑟𝑞 ) Are respectively rotor flux, and flux components in the coordinate (d, q)
(𝑖𝑠𝑑 , 𝑖𝑠𝑞 ), (𝑣𝑠𝑑 , 𝑣𝑠𝑞 ) Are respectively stator currents and Stator voltages in the coordinate (d, q)
(𝑅𝑟 , 𝑅𝑠 ), (𝐿𝑟 , 𝐿𝑠 ) Are respectively rotor and stator resistances and rotor and stator cyclic inductances
𝐿𝑚 Mutual cyclic inductance (H)
Ω, 𝑃, 𝑇𝐿 Are respectively rotor speed (rpm) and number of pole pairs, load torque (Nm)
𝐽, 𝑓 Rotor inertia moment (kg.m²) and viscous friction coefficient (N.s/rad)
1. INTRODUCTION
When faced with complex control problems, as data uncertainties, unknown perturbations and
parameter variations that may taint controlled system, it becomes difficult to design resolution algorithms
using classical logical reasoning, an alternative and adapted technique ensuring control robusteness, should
be used. Among the techniques advocated in this type of case are techniques based on fuzzy logic, which is
capable of providing an acceptable precision solution in appropriate time with reasonable means. Conversely
to conventional logic reasoning that requires precise knowledge of the data and provides accurate responses,
fuzzy logic imitates human reasoning, that is usually based on incomplete and imprecise data, to take
approximative decisions.
Fuzzy logic was first proposed by L.A. Zadeh of the University of California, Berkeley, 1965 [1].
Several investigations have been made for the fuzzy logic resolution of various categories of problems
deemed difficult. In 1975 Professor Mamdani designed a fuzzy controller for a steam engine [2]. Since then,
fuzzy logic has applications in various fields, such as [3]-[13], i) in the automobile: automatic transmissions,
injection and antiluetics controls, air conditioning [14], [15], ii) automation of manufacturing processes, iii)
instrumentation, recognition of voices, characters and shapes, iv) judgment and consultation, v) Information
processing (database, search for information, ...), vi) Systems modeling and control [16]-[17], and vii) motors
control [18]-[20].
In this paper we use the advantages of fuzzy logic concept and technique to perform a robust control
of the induction machine. The experimental results of the elaborated reduced structure of IM fuzzy control
will show the effectiveness of this control. The paper is organized as follow: in first, in Section 2, we present
an IM fuzzy-vector control, that need to have a perfect knowledge of the IM in order to be able to perform
the (d, q) axis decoupling. Next, in Section 3, we present the reduced IM fuzzy logic control structure, who’s
improved in term of real time implementation, and finally we give conclusion in Section 4.
L2
m 𝐿𝑚 𝐿𝑟 1 𝑅𝑟 .𝐿2𝑚
σ=1− ;𝑘= ; 𝑇𝑟 = ;𝛾= . (𝑅𝑠 + ).
𝐿𝑟 .𝐿𝑠 𝜎.𝐿𝑠 .𝐿𝑟 𝑅𝑟 𝜎.𝐿𝑠 𝐿2𝑟
∗ (𝑠)
𝑉𝑠𝑞 1
𝐼𝑠𝑞 (𝑠) = . (3)
𝛾+𝑠 𝜎.𝐿𝑠
In this section we will present and compare three fuzzy controllers, used in the IM control structure
as shown in Figure 1 and whose structure is given in Figure 2. We used triangular-shaped membership
functions, as shown in Sub-section 2.3, because of the simplicity of their processing and implementation. In
this study we used an approximate calculating method named the gravity center (5( ignoring intersections of
Int J Pow Elec & Dri Syst, Vol. 12, No. 2, June 2021 : 1015 – 1023
Int J Pow Elec & Dri Syst ISSN: 2088-8694 1017
subsets, in order to reduce computational complexity and ease the implementation, which gave satisfactory
and comparable results to those using exact computation gravity center.
∫ 𝑥.𝜇(𝑥).𝑑𝑥
𝑔= (4)
∫ 𝜇(𝑥).𝑑𝑥
Figure 3. Membership functions of inputs (e, Δe) and output variation (Δu)
Error dynamic
NM NL NL NL NM NS Z PS
NS NL NL NM NS Z PS PM
(∆e)
Z NL NM NS Z PS PM PL
PS NM NS Z PS PM PL PL
PM NS Z PS PM PL PL PL
PL Z PS PM PL PL PL PL
Figure 5 shows the simulation results of the three induction machines fuzzy controls using the same
control structure as in Figure 1 and different fuzzy controllers, the first uses the fuzzy 3-subassembly
controller (Figure 5 (a)), the second one uses the 5 subsets (Figure 5 (b)) and the third uses the 7 subsets
(Figure 5 (c)), we find that their behavior is very close, showing good performance. In fact, we can see, in
case of 7 subsets FLC (Figure 5 (c)), that the speed response is perfect in term of precision and dynamic
tracking, and the 3 subsets FLC (Figure 5 (a)) presents same precision performance and acceptable and very
small overshoots at 0.05s and 1s time. The figure 6, also shows that the three FLC types give the same good
flux response. Also, in case of torque response, we can see that the 3 subsets FLC offers good response,
except short and small oscillations at 1s time, where the load torque changes from 0 to 10Nm (10Nm
represents 100% of rated torque).
Using the same induction machine model for the simulation of the three commands we have noted
the following execution times, a) 7.4s in case of using the FLC with 3 subassemblies, b) 14.56s in case of
using a FLC with 5 subassemblies, and c) 27.7s in case of using a FLC with 7 subassemblies.
Int J Pow Elec & Dri Syst, Vol. 12, No. 2, June 2021 : 1015 – 1023
Int J Pow Elec & Dri Syst ISSN: 2088-8694 1019
Figure 5. Study of the IM control responses in case of three FLC versions, (a) responses of the IM control in
case of 3 sets FLC, (b) responses of the IM control in case of 5 sets FLC, (c) responses of the IM control in
case of 7 sets FLC
Incremental
encoder
I.M DC
Machine
Figure 7. Structure of the test bench used for the control experimental validation
Figure 8. Test bench picture Figure 9. The induction machine and DC Machine
Int J Pow Elec & Dri Syst, Vol. 12, No. 2, June 2021 : 1015 – 1023
Int J Pow Elec & Dri Syst ISSN: 2088-8694 1021
The implementation of the command in the DS1104 card is made directly from the MATLAB
environment. We chose to use a sampling frequency of 10khz and the ode1 solver corresponding to the Euler
method of discretization, these choices are appropriate and adapted to the calculation power limit of the
DS1104 card. And to ensure in same time a good PWM control of the inverter and good measurement of the
stator currents, we used a carrier frequency of the PWM, equal to 5khz. To reduce disturbances and the peaks
that affect the measurement of stator currents, we have chosen to synchronize the currents measurement with
the PWM control signals. The execution, shutdown and supervision of the I.M fuzzy control algorithm is
carried out by using the graphical interface realized and executed by using the ControlDesk software, which
allows us to parameterize the tests we want to perform in real time, and also to record the results of these
experimental tests.
(a) (b)
Figure 11 shows the responses of rotor flux, stator currents, speed and torque when applying a speed
step of 1000 rpm under load torque, we can see that this has a small effect on the flux and that the speed
reaches its reference with a response time < 0.2s. We also see that the stator currents and torque remain
below the limits of IM. In Figure 12, we can see that the IM presents a good dynamic behavior when
applying a square-shaped speed reference of 500rpm, and we notice also that the flux is weakly influenced
by the changes of the IM rotation direction.
(a) (b)
(d)
(c)
Figure 11. Responses for step reference speed (Ωref = 1000 rpm)
(a) (b)
(c) (d)
Figure 12. Responses in case of a square form of speed reference form Ωref = ±500 rpm
4. CONCLUSION
In this work, we have proposed, in first, a fuzzy-vector control of the induction machine, the
simulation was made in order to evaluate the control performances and to test three degrees (3, 5 and 7) of
fuzzy logic controllers. This control gives acceptable performance for three degree’s FLC, and very good
response in case of FLC of seven degree. The real-time implementation of this control, on dSPACE-1104
board was impossible, due to overrun problems. In order to resolve this problem, we have proposed a reduced
fuzzy control structure based on simplified and optimized fuzzy controllers that give a good control
characteristics and faster calculation, established after a study that showed through simulation that this
structure reduction of FLC does not significantly affect the results obtained. The control structure reduction
and optimization has made the implementation possible on our dSPACE-1104 board and realizable in real
time, whose experimental results of several and various test, have proved its effectiveness in terms of time
response, precision, stability and respect of physical limits of the IM.
REFERENCES
[1] L.A. Zadeh, “Fuzzy sets,” Inf Control, vol. 8, no. 3, June 1965, pp. 338-353, DOI: 10.1016/S0019-9958(65)90241-
X.
[2] E. Mamdani, “Application of fuzzy algorithms for control of simple dynamic plant,” Proc. Inst. Electr. Eng., UK,
vol. 121, no. 12, pp. 1585-1588, 1974, DOI: 10.1049/piee.1974.0328.
[3] P. King and E. Mamdani, “The application of fuzzy control systems to industrial processes,” Automatica, vol. 13,
no. 3, pp. 235-242, 1977, DOI: 10.1016/0005-1098(77)90050-4.
[4] R. Babuska and E. Mamdani, “Fuzzy control,” Scholarpedia, vol. 3, no. 2, p. 2103, 2008.
[5] A. Ibrahim, “Fuzzy logic for embedded systems applications,” Amsterdam: Newnes, 2004.
[6] G. Klir and B. Yuan, “Fuzzy sets and fuzzy logic,” Upper Saddle River, N.J.: Prentice Hall PTR, 1995.
[7] L. Zadeh, G. Klir and B. Yuan, “Fuzzy sets, fuzzy logic, and fuzzy systems,” Singapore: World Scientific, 1996.
[8] C. Alavala, “Fuzzy logic and neural networks,” New Delhi: New Age International (P) Ltd., Publishers.
[9] F. Chevrie and F. Guély, “Cahier Technique Nº191: La logique floue,” 1st ed. Groupe Schneider., 1998, pp. 1-30.
[10] Ali M. Eltamaly, A. I. Alolah, and Basem M. Badr, “Fuzzy controller for three phases induction motor drives”,
Autonomous and Intelligent Systems (AIS) 2010 International Conference on, 2010, pp. 1-6, DOI:
10.1109/AIS.2010.5547020.
[11] Tewari, A. Tripathi, and S.P. Das, “A fuzzy logic controller based indirect field-oriented induction motor drive
system,” Industrial Technology 2000. Proceedings of IEEE International Conference on, vol. 2, nol. 1, pp. 359-364
2000, DOI: 10.1109/ICIT.2000.854182.
Int J Pow Elec & Dri Syst, Vol. 12, No. 2, June 2021 : 1015 – 1023
Int J Pow Elec & Dri Syst ISSN: 2088-8694 1023
[12] Jianli Jing, Yanchun Wang, and Yinghui Huang, “The fuzzy-PID control of brushless DC motor,” 2016 IEEE
International Conference on Mechatronics and Automation, 2016, pp. 1440-1444, DOI:
10.1109/ICMA.2016.7558775.
[13] S.S.M. Verma, S.P. Verma, “Implementation of a fuzzy logic speed controller for electric vehicles on a 32-bit
microcontroller”, Power Electronics and Drive Systems 2003. PEDS 2003. The Fifth International Conference on,
vol. 2, pp. 1004-1009, DOI: 10.1109/PEDS.2003.1283107.
[14] C. von Altrock, B. Krause, and H.-J. Zimmerman, “Advanced fuzzy logic control of a model car in extreme
situations,” Fuzzy Sets and Systems, vol. 48, no. 1, pp 41-52, 1992, DOI: 10.1016/0165-0114(92)90250-8.
[15] T. Yoshimura, K. Nakaminami, M. Kurimoto, and J. Hino, “Active suspension of passenger cars using linear and
fuzzy-logic controls,” Control Engineering Practice, vol. 7, no. 1, pp. 41-47, 1999, DOI: 10.1016/S0967-
0661(98)00145-2.
[16] M. Reza Emami, Andrew A. Goldenberg, and I. Burhan Türksen, “Fuzzy-logic control of dynamic systems: from
modeling to design,” Engineering Applications of Artificial Intelligence, vol. 13, no. 1, pp 47-69, 2000, DOI:
10.1016/S0952-1976(99)00031-7.
[17] Tamer Abdelazim, and O. P. Malik, “Identification of nonlinear systems by Takagi–Sugeno fuzzy logic grey box
modeling for real-time control,” Control Engineering Practice, vol. 13, no. 12, pp 1489-1498, 2005, DOI:
10.1016/j.conengprac.2005.03.009.
[18] Salima Lekhchine, Tahar Bahi, and Youcef Soufi, “Indirect rotor field oriented control based on fuzzy logic
controlled double star induction machine,” International Journal of Electrical Power & Energy Systems, vol. 57,
pp. 206-211, 2014, DOI: 10.1016/j.ijepes.2013.11.053.
[19] A. Rajendran, and B. Karthik, “Design and analysis of fuzzy and PI controllers for switched reluctance motor
drive,” Materials Today: Proceedings, vol. 37, Part 2, pp. 1608-1612, 2021, DOI: 10.1016/j.matpr.2020.07.166.
[20] Rakesh Goswami, and Dheeraj Joshi, “Performance review of fuzzy logic based controllers employed in brushless
DC motor,” Procedia Computer Science, vol. 132, pp. 623-631, 2018, DOI: 10.1016/j.procs.2018.05.061.
[21] M. Moutchou, M. Hamlich and A. Bakouri, “Robust adaptive backstepping control of the induction machine, using
parallel rotor resistance and stator resistance observer,” Smart Application and Data Analysis for Smart Cities
(SADASC'18), May 28, 2018, DOI: 10.1016/j.procs.2018.05.061.
[22] M. Moutchou, A. Abbou, and H. Mahmoudi, “Induction machine speed and flux control, using vector-sliding mode
control, with rotor resistance adaptation,” International Review of Automatic Control (Theory and Applications),
vol. 5, no. 6, pp. 804-814, November 2012.
[23] J. Lesenne, F. Notelet, and G. Seguier, “Introduction à l'électrotechnique approfondie,” Technique et
Documentation, 1981, 247p.
[24] G. Séguier and F. Notelet, “Electrotechnique industrielle,” Paris: Tec et doc, 1994.
[25] G. Sturtzer and E. Smigiel, “Modélisation et commande des moteurs triphasés,” Paris: Ellipses-Marketing, 2000.
[26] M. Moutchou, H. Mahmoudi, and A. Abbou, “A new technique of backstepping control parameters determination
using genetic algorithm,” Proceedings of International Renewable and Sustainable Energy Conference, IRSEC,
2014, DOI: 10.1109/IRSEC.2014.7059744.