Open Access Open Access  Restricted Access Subscription or Fee Access

DSP in the Loop Implementation of an Enhanced Sliding Mode Control for Permanent Magnet Synchronous Motor

(*) Corresponding author

Authors' affiliations



This paper deals with the design and Processor In the Loop implementation of an enhanced sliding mode control of three-phase permanent magnet synchronous motor. Studied control strategy is based on a state model expressed in the rotor reference. This work proposes new smooth functions replacing sign functions to reduce chattering phenomenon and integrates a simplified references calculation to reduce current module. It focuses on the study of these proposed techniques and their effect on motor waveforms. For code generation of the control algorithm, implementation, and validation by Processor In the Loop technique, a co-simulation platform based on Matlab/Simulink integrating Code Composer Studio and the development board LAUNCHXL-F28069M from Texas instruments have been created. The obtained results show that the proposed strategy reduces chattering by using a simple algorithm.
Copyright © 2023 Praise Worthy Prize - All rights reserved.


Sliding Mode Control; Smooth Functions; Permanent Magnet Synchronous Motor; Processor in the Loop; Space Vector Modulation

Full Text:



E. Lotfi, B. Rached, M. Elhaissouf, M. Elharoussi, and E. Abdelmounim, DSP implementation in the loop of the vector control drive of a permanent magnet synchronous machine, in ACM International Conference Proceeding Series, 2017, pp. 1-7.

T. Liu, G. Chen, and S. Li, Application of Vector Control Technology for PMSM Used in Electric Vehicles, Open Autom. Control Syst. J., pp. 1334-1341, 2014.

D. Karboua, B. Toual, A. Kouzou, B. O. Douara, T. Mebkhouta, and A. N. Bendenidina, High-order Supper-twisting Based Terminal Sliding Mode Control Applied on Three Phases Permanent Synchronous Machine, Period. Polytech. Electr. Eng. Comput. Sci., vol. 67, no. 1, pp. 40-50, 2023.

X. Liu et al., Active Disturbance Rejection Sensorless Control of Permanent Magnet Synchronous Motor Based on the Fuzzy Neural Network Left Inverse System, Prog. Electromagn. Res., vol. 130, no. February, pp. 57-67, 2023.

Y. Shtessel, C. Edwards, L. Fridman, and A. Levant, Sliding Mode Control and Observation. Editions Birkhauser, 2014.

A. Choi, H. Kim, M. Hu, Y. Kim, H. Ahn, and K. You, Super-Twisting Sliding Mode Control with SVR Disturbance Observer for PMSM Speed Regulation, Appl. Sci., 2022.

M. S. Wang and T. M. Tsai, Sliding mode and neural network control of sensorless PMSM controlled system for power consumption and performance improvement, Energies, vol. 10, no. 11, 2017.

X. Xing and H. Sheng, PMSM Sliding Mode Control Based on A New Exponential Reaching Law, in 2021 3rd International Academic Exchange Conference on Science and Technology Innovation, IAECST 2021, 2021, no. Acta, pp. 199-203.

Taib, M., Benaissa, B., Djerdir, A., Economic and Performance Evaluation of Direct Coupled Motors for Electric Vehicles, (2023) International Review of Electrical Engineering (IREE), 18 (1), pp. 50-58.

Traoré, B., Doumiati, M., Olivier, J., Morel, C., Adaptive Power Sharing Algorithm Combined with Robust Control for a Multi-Source Electric Vehicle: Experimental Validation, (2022) International Review of Electrical Engineering (IREE), 17 (1), pp. 39-53.

Dbaghi, Y., Farhat, S., Mediouni, M., Essakhi, H., Comparative Study Between Back-Stepping Control and ANN-Sliding Mode Control of DFIG-Based Wind Turbine System, (2021) International Review on Modelling and Simulations (IREMOS), 14 (4), pp. 261-271.

Kanchanaharuthai, A., Konkhum, P., Wongsurith, K., A Backstepping Sliding Mode Dual-Excitation and Steam-Valving Control of Synchronous Generators, (2017) International Review of Automatic Control (IREACO), 10 (2), pp. 159-167.

Krichen, L., Ouali, A., Sensorless Optimal Control Strategy of PMSG in Wind Energy Conversion System, (2022) International Journal on Energy Conversion (IRECON), 10 (5), pp. 181-187.

Golshani, A., Bidgoli, M., Bathaee, S., Design of Optimized Sliding Mode Control to Improve the Dynamic Behavior of PMSG Wind Turbine with NPC Back-to-Back Converter, (2013) International Review of Electrical Engineering (IREE), 8 (4), pp. 1170-1180.

Mazari, M., Boudinar, A., Mazari, B., Effect of Open Circuit Fault on PMSM Drive Controlled by Sliding Mode Control and Feedback Linearization Using Time and Frequency Analysis, (2018) International Review on Modelling and Simulations (IREMOS), 11 (4), pp. 235-244.

Jebri, S., Nouri, K., Control of a Permanent Magnet Synchronous Motors Based on the Nonlinear Dynamic Inversion Approach, (2018) International Review of Automatic Control (IREACO), 11 (3), pp. 124-132.

Hidouri, N., An Advanced Direct Torque Control Applied to a Fuzzy Controlled Hybrid Photovoltaic-Diesel Pumping System based on PMS Machines, (2015) International Review of Electrical Engineering (IREE), 10 (3), pp. 352-361.

Moujahed, M., Ben Azza, H., Jemli, M., Boussak, M., Speed Estimation by Using EKF Techniques for Sensor-Less DTC of PMSM with Load Torque Observer, (2014) International Review of Electrical Engineering (IREE), 9 (2), pp. 270-279.

Sun, K., Shi, Y., Huang, L., Li, Y., An Improved Sensorless Control Method for IPMSM-Compressor Drives Based on the MRAS with Motor Parameter Variations, (2014) International Review of Electrical Engineering (IREE), 9 (1), pp. 73-82.

Morawiec, M., The Adaptive Backstepping Control of PMSM Supplied by Current Source Inverter for the Field Weakening Region, (2013) International Review of Electrical Engineering (IREE), 8 (4), pp. 1189-1198.

Ananthamoorthy, N., Baskaran, K., Modelling, Simulation and Analysis of Fuzzy Logic Controllers for Permanent Magnet Synchronous Motor Drive, (2013) International Review on Modelling and Simulations (IREMOS), 6 (1), pp. 75-82.

Shishehgar, J., Soltani, J., Abjadi, N., Speed Sensorless Direct Torque and Flux Control Five-Phase Interior Permanent Magnet Motor Based on Adaptive Sliding Mode Control, (2014) International Review of Electrical Engineering (IREE), 9 (5), pp. 958-965.

Lotfi, E., Elharoussi, M., Abdelmounim, E., VHDL Design and FPGA Implementation of the SVPWM of a Three-phase Asynchronous Machine Powered by a Voltage Inverter, (2017) International Review on Modelling and Simulations (IREMOS), 10 (4), pp. 232-238.

Chaiyot, R., Kinnares, V., Sensorless Speed Vector Control Based on MRAS of Asymmetrical Two-Phase Induction Motor, (2020) International Review of Electrical Engineering (IREE), 15 (2), pp. 134-146.

Sulaiman, M., Patakor, F., Ibrahim, Z., Sliding Mode Speed Control for Induction Motor Drives with State-Dependent Gain Method, (2013) International Review of Electrical Engineering (IREE), 8 (5), pp. 1446-1453.

Rouabhi, R., Abdessemed, R., Chouder, A., Djerioui, A., Power Quality Enhancement of Grid Connected Doubly-Fed Induction Generator Using Sliding Mode Control, (2015) International Review of Electrical Engineering (IREE), 10 (2), pp. 266-276.

El Haissouf, M., El Haroussi, M., Ba-Razzouk, A., Processor in the Loop Experimentation of an Integral Backstepping Control Strategy Based Torque Observer for Induction Motor Drive, (2023) International Review of Automatic Control (IREACO), 16 (2), pp. 92-103.

V. I. Utkin, Sliding Modes in Control and Optimization. Editions Springer, 1992.

W. Perruquetti and J. P. Barbot, Sliding Mode Control in engineering. Editions Marcel Dekker, 2002.

B. K. Bose, Modern Power Electronics and AC Drives. Editions Prentice Hall, 2002.

M. Horvatic, Z. Ban, and T. Bjazic, Modeling and Control of PMSM Drive Using MRAC with Signal Adaptation Algorithm, MIPRO 30ht Jubil. Int., no. 1, pp. 3-8, 2007.

W. Lin, D. Liu, Q. Wu, and X. Zhao, On sliding mode control of permanent magnet synchronous motor, in 26th Chinese Control and Decision Conference, CCDC 2014, 2014, no. February, pp. 4555-4559.

K. V. Kishore and B. Sampara, Speed Control of PMSM by Sliding Mode Control and PI Control, Int. J. Mod. Trends Sci. Technol., no. March, pp. 1-6, 2016.

N. Bounasla, Synergetic and Sliding Mode Controls of a PMSM: A Comparative Study, J. Electr. Electron. Eng., vol. 3, no. 1, p. 22, 2015.

G. Q. Bao, W. Qi, and T. He, Direct torque control of PMSM with modified finite set model predictive control, Energies, vol. 13, no. 1, 2020.

Gatto, G., Marongiu, I., Meo, S., Perfetto, A., Serpi, A., Predictive control of brushless DC motor drive providing minimum joule losses and torque ripple free commutation, (2011) International Review on Modelling and Simulations (IREMOS), 4 (4), pp. 1500-1505.


  • There are currently no refbacks.

Please send any question about this web site to
Copyright © 2005-2024 Praise Worthy Prize