원시데이터 수집 시스템
선정목록으로

Enhancing direct torque control of doubly fed induction motor in electric vehicle using artificial neural networks

관련 필름·전자재료 · (18) VENT(방수통기 부품)

기본 정보

저자
  1. Ahmed Chantoufi — Industrial Technologies and Services Laboratory, Higher School of Technology, Sidi Mohamed Ben Abdellah University, Fez, Morocco
  2. Aziz Derouich — Industrial Technologies and Services Laboratory, Higher School of Technology, Sidi Mohamed Ben Abdellah University, Fez, Morocco
  3. Said Mahfoud — Industrial Technologies and Services Laboratory, Higher School of Technology, Sidi Mohamed Ben Abdellah University, Fez, Morocco. said.mahfoud@usmba.ac.ma|||Polydisciplinary Laboratory of Sciences, Technologies, and Societies, Higher School of Technology, Sultan Moulay Slimane University, Khenifra, 54000, Morocco. said.mahfoud@usmba.ac.ma|||Industrial Technologies and Services Laboratory, Higher School of Technology, Sidi Mohamed Ben Abdellah University, Fez, Morocco
  4. Najib El Ouanjli — Industrial Technologies and Services Laboratory, Higher School of Technology, Sidi Mohamed Ben Abdellah University, Fez, Morocco|||SEIMC Research Team, LASMAR Laboratory, Higher School of Technology, Moulay Ismail University, Meknes, Morocco
  5. Abderrahman El Idrissi — Industrial Technologies and Services Laboratory, Higher School of Technology, Sidi Mohamed Ben Abdellah University, Fez, Morocco
  6. Shimaa A. Hussien — Electrical Department, College of Engineering, Princess Nourah Bint Abdulrahman University, Riyadh, 11671, Saudi Arabia
  7. Mohamed I. Mosaad — Yanbu Industrial College (YIC), Yanbu Al Sinaiyah, Alnahdah, Yanbu, 46452, Saudi Arabia
DOI
10.1038/s41598-025-13362-z
저널
Scientific Reports
발행년도
2025
발행기관
Nature Portfolio
피인용수
0
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41598-025-13362-z
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W4413895127

평가 내용

관련도
관련
사업분야
필름·전자재료 · (18) VENT(방수통기 부품)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > VENT(방수통기 부품)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Electric vehicles (EVs) represent clean transportation solutions that play a pivotal role in the energy transition. By contributing to the reduction of greenhouse gas emissions, they pave the way for a more sustainable future. However, to ensure the full effectiveness of this transition, EV propulsion systems must meet modern demands for performance and efficiency. These systems must not only be robust but also capable of delivering high performance. In this context, Direct Torque Control (DTC), while widely used, has certain limitations. Specifically, it generates significant torque ripples and sometimes exhibits insufficient dynamic response to load variations. To address these issues, this work proposes an intelligent strategy referred to as ANN-DTC, which replaces hysteresis comparators and the switching table with regulators based on artificial neural networks. Simulations conducted in Matlab/Simulink demonstrate that ANN-DTC reduces torque ripples from 201.46 Nm to 87.31 Nm, an improvement of 56.66%, and eliminates the speed overshoots observed with conventional DTC. These results highlight the effectiveness of this approach in enhancing the dynamic response and adaptability of EV propulsion systems.

본문 58,311자

본문 펼치기
## OPEN # Enhancing direct torque control of doubly fed induction motor in electric vehicle using artificial neural networks Ahmed Chantoufi <sup>1</sup> , Aziz Derouich <sup>1</sup> , Said Mahfoud <sup>1,2</sup> <sup></sup> , Najib El Ouanjli <sup>1,3</sup> , Abderrahman El Idrissi <sup>1</sup> , Shimaa A. Hussien <sup>4</sup> & Mohamed I. Mosaad <sup>5</sup> Electric vehicles (EVs) represent clean transportation solutions that play a pivotal role in the energy transition. By contributing to the reduction of greenhouse gas emissions, they pave the way for a more sustainable future. However, to ensure the full effectiveness of this transition, EV propulsion systems must meet modern demands for performance and efficiency. These systems must not only be robust but also capable of delivering high performance. In this context, Direct Torque Control (DTC), while widely used, has certain limitations. Specifically, it generates significant torque ripples and sometimes exhibits insufficient dynamic response to load variations. To address these issues, this work proposes an intelligent strategy referred to as ANN-DTC, which replaces hysteresis comparators and the switching table with regulators based on artificial neural networks. Simulations conducted in Matlab/Simulink demonstrate that ANN-DTC reduces torque ripples from 201.46 Nm to 87.31 Nm, an improvement of 56.66%, and eliminates the speed overshoots observed with conventional DTC. These results highlight the effectiveness of this approach in enhancing the dynamic response and adaptability of EV propulsion systems. Keywords Electric vehicle, Artificial neural network, Direct torque control, Doubly fed induction motor Electric vehicles (EVs) are at the forefront of the transition towards more sustainable transportation systems, driving rapid global adoption <sup>1,2</sup> . This trend is fueled by environmental concerns and technological advancements, intensifying competition among major industrial powers to dominate this expanding market <sup>3–5</sup> . Mastery of key technologies, such as batteries, energy management systems, and charging infrastructures, has become essential for establishing a strong position in the EV industry <sup>4,6,7</sup> . In this context of technological innovation, the Doubly-Fed Induction Machine (DFIM) has emerged as a reliable and versatile solution, widely used across various industrial sectors <sup>8</sup> . Whether in wind power generation, industrial pumping systems, or maritime applications, the DFIM is recognized for its robustness and ability to provide precise control of power and torque <sup>8,9</sup> . These same qualities make the DFIM particularly suited for EV traction systems, where it can operate efficiently across a wide range of speeds while optimizing energy consumption, making it an ideal choice for enhancing the driving experience <sup>8,10,11</sup> . However, designing effective controllers for these motors remains a challenge due to the system’s nonlinear complexity and the disturbances encountered under real-world conditions, related to the variable and diverse driving conditions of EVs <sup>9</sup> . In response, several control strategies have been developed for managing these motors <sup>12</sup> . Field-Oriented Control (FOC) is one of the most used methods, offering precise control of torque and flux by decomposing current components in a synchronized reference frame <sup>8,9,13</sup> . This approach improves motor dynamics but is sensitive to parameter variations of the DFIM <sup>13,14</sup> . Another frequently used technique is Sliding Mode Control (SMC), which is known for its robustness against disturbances and system uncertainties <sup>15,16</sup> . SMC performs well under variable conditions but can lead to chattering phenomena, causing frequent oscillations 1Industrial Technologies and Services Laboratory, Higher School of Technology, Sidi Mohamed Ben Abdellah University, Fez, Morocco. <sup>2</sup> Polydisciplinary Laboratory of Sciences, Technologies, and Societies, Higher School of Technology, Sultan Moulay Slimane University, Khenifra 54000, Morocco. <sup>3</sup> SEIMC Research Team, LASMAR Laboratory, Higher School of Technology, Moulay Ismail University, Meknes, Morocco. <sup>4</sup> Electrical Department, College of Engineering, Princess Nourah Bint Abdulrahman University, Riyadh 11671, Saudi Arabia. <sup>5</sup> Yanbu Industrial College (YIC), Yanbu Al Sinaiyah, Alnahdah, Yanbu 46452, Saudi Arabia. <sup></sup> email: said.mahfoud@usmba.ac.ma that affect the system’s operation and performance <sup>12,17–19</sup> . On the other hand, direct Torque Control (DTC) is also widely employed, particularly for its fast response and simplicity of implementation. It is based on the instantaneous and independent control of a motor’s torque and flux by directly adjusting the switching states of the inverter <sup>19–21</sup> . However, DTC has limitations, such as torque and flux ripples at low speeds, which can reduce energy efficiency and lead to premature wear of traction system components <sup>22</sup> . Additionally, DTC can be sensitive to abrupt load variations, complicating torque management in certain situations <sup>23</sup> . To overcome these limitations, the integration of artificial neural networks (ANN) into DTC for controlling DFIM has demonstrated significant potential <sup>8,9,24</sup> . ANN can model complex nonlinear relationships between motor parameters, enabling control adaptation to load and speed variations in EVs. Through their learning capability, ANN optimizes control under varying operating conditions, providing significant improvements in precision, responsiveness, and energy efficiency <sup>24,25</sup> . According to <sup>26</sup>, integrating ANN into DTC control of DFIM improves precision and reduces ripples compared to traditional DTC methods. This improvement is critical for electric traction systems, where stability and reliability are paramount. Furthermore, the study in <sup>27</sup> shows that this approach significantly reduces torque ripples and eliminates overshoot while maintaining acceptable harmonic distortion. These advancements address some of the most critical challenges of classical DTC methods, thereby improving the overall control quality. The research presented in <sup>26</sup> goes further by exploring the effectiveness of ANN integration in the DTC control of doubly fed induction generators. It highlights a significant reduction in torque and flux ripples, even at low switching frequencies, while ensuring optimal stability under variable speed conditions. These results are not limited to stationary applications like power generation. In the case of EV, DFIM can also operate as a generator during energy recovery phases, such as deceleration or when descending a slope. Under these conditions, using ANN in DTC maximizes recovery efficiency while maintaining stable control quality despite speed variations dictated by the driver and load torque fluctuations. Finally, the application of ANN in DTC for specific vehicles has also been studied. According to <sup>28</sup>, applying this method to a three-wheeled electric scooter significantly reduces torque and flux ripples, while increasing autonomy and decreasing battery energy consumption. This study highlights the impact of ANN on improving performance and energy efficiency in lightweight EVs, a critical issue for sustainable development. Although works cited in this article have addressed the improvement of DTC through the integration of neural networks, these studies have often applied this control to the motor in isolation, without considering the specificities and dynamics inherent to EVs. Additionally, in these studies, the applied torque was primarily in the form of a step function, which simplifies the real torque variations observed in the driving conditions of EVs. In this study, This approach is extended by adapting DTC to respond to continuous and dynamic torque variations, particularly those caused by accelerations, decelerations, and other unpredictable fluctuations. The goal is to improve the stability, responsiveness, and performance of the system under real driving conditions. In this article, we propose an enhanced approach to DTC by integrating a neural network in the form of ANNDTC, offering an effective solution for electric traction systems. By replacing traditional DTC components such as hysteresis comparators and switching tables, ANN-DTC not only reduces torque ripples but also improves dynamic response and increases control flexibility. These characteristics make the system more suitable for the variable driving conditions encountered in traction applications for EVs. This study is structured around several sections: In Sect. 2, a detailed modeling of the propulsion system is carried out in order to establish a reference framework for performance analysis. DTC is discussed in Sect. 3 presenting its fundamental principles and its application in the context of electric vehicles. In Sect. 4, special attention will be paid to the integration of neural networks into DTC, with the aim of improving the accuracy of torque control. The results obtained from simulations is presented and interpreted in Sect. 5, the Sect. 6 is focused for a comparative study between some works recently published. Finally, a conclusion will summarize the main contributions of this study and suggest directions for future work is presented in Sect. 7. Modeling of the electric vehicle propulsion system EV drivetrain To design an effective control system for an EV motor, it is essential to understand the detailed operation of its drivetrain. The EV drivetrain is significantly simpler than that of an internal combustion engine vehicle <sup>22,29,30</sup> . Figure 1 shows the key elements of an EV drivetrain. This system comprises several crucial components: the batteries, the inverter, the DFIM, the gearbox, and the differential. Each of these components plays a specific role in converting and managing energy to propel the vehicle. The speed of the EV is directly proportional to the speed of its wheels. When the driver presses the accelerator pedal, a command is sent to the control system to reach a certain speed. This command is essentially a speed reference that the control system uses to adjust the inverter’s operation <sup>31</sup> . The inverter is responsible for converting the electrical energy stored in the batteries into a form that the DFIM can use. Specifically, the inverter adjusts the frequency and voltage of the electrical energy to meet the motor’s requirements <sup>22,31</sup> . The DFIM motor uses this energy to generate torque, which then turns the wheels. The gearbox and differential are responsible for managing the final speed of the wheels. The gearbox adapts the motor’s torque to deliver the desired speed, while the differential distributes power between the wheels to ensure stable driving <sup>22,32</sup> . Thus, through the precise adjustment of these elements, the vehicle is able to move at the desired speed set by the driver, ensuring optimal performance and efficient energy management <sup>9,22</sup> . Dynamic model of an EV When a vehicle climbs a road inclined at an angle α with respect to the horizontal and with a speed _v_, it is subjected to forces that influence its movement, as shown in Fig. 2. The first force is the aerodynamic drag <sup>_−→_</sup> _F_ _ad_, Fig. 1 . The essential components of an EV drivetrain. Fig. 2 . Forces acting on a moving vehicle. which opposes the motion and is proportional to both the vehicle’s speed _v_ and its frontal surface area. Then, there is the rolling resistance <sup>_−→_</sup> _F_ _r_ ​, generated by the contact between the tires and the road surface, creating a force opposing the movement. Additionally, due to the vehicle’s weight <sup>_−→_</sup> _P_, a component parallel to the slope emerges, resisting the ascent because of gravity. Finally, for the vehicle to continue climbing, the motor must supply a tractive force <sup>_−→_</sup> _F_ _T_ ​. Understanding these forces allows for the development of a dynamic model of the vehicle that closely represents reality <sup>9,22,33</sup> . The expression of the second law of Newton is formulated as follows: _M_ <sup>_<u>d−→v</u>_</sup> _dt_ <sup>=</sup> _F_ _ext_ (1) ∑ _−→_ Which gives: _M_ <sup>_<u>d−→v</u>_</sup> _P_ (2) _dt_ <sup>=</sup> <sup>_−→_</sup> _FT_ + <sup>_−→_</sup> _F_ _ad_ + <sup>_−→_</sup> _Fr_ + <sup>_−→_</sup> The projection of this law onto the axis of abscissas leads to: _M_ <sup>_<u>dv</u>_</sup> _dt_ <sup>=</sup> <sup>_FTx_</sup> <sup>_−_</sup> <sup>(</sup> <sup>_Fadx_</sup> <sup>+</sup> <sup>_Frx_</sup> <sup>+</sup> <sup>_Px_</sup> <sup>)</sup> (3) With: _Fadx_ = <sup><u>1</u></sup> (4) <u>2</u> <sup>_ρ SCx_</sup> <sup>(</sup> <sup>_v −_</sup> <sup>_v_</sup> <sup>0)2</sup> _Frx_ = _CrMgcos_ ( _α_ ) (5) _Px_ = _Mgsin_ ( _α_ ) (6) Formulation of the resistive torque acting on the DFIM When an EV is driving on a slope, the resistive torque applied to the EV’s wheels mainly depends on the forces acting on it, such as <sup>9,22,33</sup> : _T w_ = _r_ ( _Fadx_ + _Frx_ + _Px_ ) (7) Similarly, the gearbox reduces the motor’s rotational speed Ω, causing the wheels to rotate at a speed _Ω_ _w_ ​, such that: _Ω_ = _G Ω_ _w_ (8) Thus, the relationship between _Tlw_ and _T w_ is: _Tlw_ = <sup><u>1</u></sup> (9) _G_ <sup>_T w_</sup> This leads to the expression of the resistive torque applied to the DFIM: _Tlw_ = _G_ <sup>_<u>r</u>_</sup> <sup>(</sup> <sup>_Fadx_</sup> <sup>+</sup> <sup>_Frx_</sup> <sup>+</sup> <sup>_Px_</sup> <sup>)</sup> (10) Modeling the doubly fed induction machine By neglecting losses within the DFIM, such as saturation, iron losses, and slot effects, the equations describing the mathematical model of the machine can be simplified. These equations are expressed in the Concordia twophase (α, β) reference frame, which allows the conversion of three-phase quantities into two-phase equivalents. This simplification facilitates the analysis and control of the DFIM by focusing solely on the main aspects of its electromagnetic behavior, without accounting for minor losses <sup>34–36</sup> . - Electrical equations: _vsα_ = _Rs.isα_ + <sup>_<u>dψ</u>_</sup> _dt_ <sup>_<u>sα</u>_</sup> _dt_ _vsβ_ = _Rs.isβ_ + _dψdt_ _dψ_ _<u>sβ</u>_ _dt_ _vrα_ = _Rr.isα_ + <sup>_<u>dψ</u>_</sup> _dt_ <sup>_<u>rα</u>_</sup> + _ω_ _vrα_ = _Rr.isα_ + <sup>_<u>dψ</u>_</sup> _dt_ <sup>_<u>rα</u>_</sup> + _ω_ _m.ψ_ _rβ_ _vrβ_ = _Rr.irβ_ + _dψdtrβ_ _−_ _ω_ _m.ψ_ _rα_ (11) _dψ_ _<u>rβ</u>_ _<u>rβ</u>_ _dt_ _−_ _ω_ _m.ψ_ _rα_ - Magnetic equations: - Mechanical equation:    _ψ_ _rβ_ = _Lr.irβ_ + _Lm.isβ_ (12) { _ψ_ _rα_ = _Lr.irα_ + _Lm.isα_ The application of the fundamental principle of dynamics to the DFIM leads to the following Eqs. <sup>10,22</sup> : With: _J_ : Total moment of inertia, with: _J_ <sup>_<u>dΩ</u>_</sup> _dt_ <sup>+</sup> <sup>_fΩ_</sup> <sup>=</sup> <sup>_Tem −_</sup> <sup>_Tlw_</sup> (13) _Tem_ = _p._ ( _ψ_ _sα isβ_ _−_ _ψ_ _sβ isα_ ) (14) _J_ = _Jm_ + _Jv_ (15) With: _Jv_ _=_ _<u>r</u>_ <sup>2</sup> <u>2</u> _<u>rG</u>_ <sup>2</sup> <sup>~~2~~</sup> <sup>_Mv (1-λ)_</sup> <sup>(16).</sup> The parameter λ represents the slip rate. In most cases, its value is very small, allowing it to be ignored without significantly affecting the overall results. Direct torque control DTC is an effective method used to control the DFIM in an EV. The process begins with the estimation of the stator and rotor fluxes, as well as the electromagnetic torque, performed by estimators. These estimators use the measured currents and voltages to calculate the flux and torque values in real-time. Once the flux and torque estimates are obtained, the hysteresis controllers compare the errors of the measured quantities (flux and torque) to their reference values, generating torque and flux errors, which are then sent as inputs to the switching tables. The switching tables, based on the generated errors and the position of the flux vector in the (α,β) complex plane, select the optimal voltage vectors to apply to the machine via the inverters. The inverters use the energy stored in the EV’s power battery to supply the appropriate voltages to the DFIM windings <sup>37,38</sup> . In parallel, a speed controller adjusts the torque reference based on the difference between the actual motor speed and the desired speed set by the EV driver. This controller ensures that the motor maintains a stable speed, which is essential for smooth vehicle operation. Figure 3 presents the overall architecture of the DTC applied to the control of the DFIM, highlighting the operating principle and the interactions between the various components of the control system <sup>34,39,40</sup> . DTC is widely used in the industry, but it has several drawbacks, including variable switching frequency, issues at low speeds, and torque ripples. These ripples negatively affect the traction systems of EVs, causing mechanical vibrations and undesirable noise. These phenomena harm the driver’s comfort and the durability of the components. To mitigate these effects, the following section integrates ANN into the DTC system <sup>34,37,38,40</sup> . Neural Network-Based direct torque control for electric vehicles A neural network can be regarded as a complex mathematical structure designed to model information processing in a distributed manner, mimicking certain fundamental aspects of biological neural networks. This model consists of multiple nonlinear computational units, referred to as neurons, which interact in parallel, each performing specific processing tasks. These neurons are interconnected through weighted links, where the strength of these connections is represented by numerical values known as weights. The ANNs are characterized by a densely interconnected architecture of elementary processing elements operating simultaneously. One of the most critical aspects of ANNs lies in the use of training data, which is essential for the learning process and the optimization of the system’s performance <sup>24,26,27,34,40</sup> . Mathematical model of a neuron The neuron, which represents the basic unit of an ANN, combines input signals through a summation operation and then applies an activation function to produce its output. Figure 4 illustrates the ANN architecture used for DTC. The mathematical equations governing the behavior of a neuron are formulated as follows: } _yi_ = _F_ 1 ( _s_ ) _∗_ _Oi_ = _F_ 2 ( _s_ ) _∗_ {∑ {∑ _Ni_ =1 <sup>(</sup> <sup>_x_</sup> _i_ <sup>_∗w_</sup> _i_ <sup>+</sup> <sup>_b_</sup> <sup>)</sup> _Ni_ =1 <sup>(</sup> <sup>_y_</sup> _i_ <sup>_∗_</sup> <sup>_w_</sup> _i_ <sup>+</sup> <sup>_b_</sup> <sup>)</sup> <sup>)</sup> } (17) (18) Fig. 3 . the overall DTC scheme used to control the DFIM for propulsion in an EV. Fig. 4 . illustrates the ANN architecture used for DTC. The terms _xi_ ​, _wi_ ​, b and y respectively represent the input signals, the synaptic weight associated with each input signal, a bias parameter, and the output signals of the neuron. _F_ 1 ( _s_ ) denotes the nonlinear hyperbolic tangent activation function illustrated in Fig. 6 and is defined by the following Eq. _F_ 1 ( _s_ ) = <sup>_<u>eα s −</u>_</sup> <sup>_<u>e−α s</u>_</sup> (19) _e_ <sup>_α s_</sup> <u>+</u> _e_ <sup>_−α s_</sup> And _F_ 2 ( _s_ ) is a linear activation function which is given by the following equation: _F_ 2 ( _s_ ) = _β s_ (20) In this context, α and β represent the gains. This activation function is differentiable, bipolar, monotonic, and has a maximum gain at zero. The neural network presented in this paper is trained using the backpropagation method with forward propagation, until the Mean Squared Error (MSE) between the desired and obtained results is sufficiently low. Learning procedure based on MSE The EQM is calculated using the following equation: _MSE_ = <sup><u>1</u></sup> _N_ ∑ _Ni_ =1 <sup>(</sup> <sup>_d_</sup> _i_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_O_</sup> _i_ <sup>(</sup> <sup>_k_</sup> <sup>))2</sup> (21) Where: _Oi_ : is the actual response by a network. _di_ ( _k_ ) : is the desired response. _N_ : is the number of input-output training data. _k_ <sup>is the number of iterations.</sup> Weights update and backpropagation algorithm The update rule for the weights in a neural network using the backpropagation algorithm is given by Equation : (22) _wji_ ( _k_ + 1) = _wji_ ( _k_ ) _−_ _η_ <sup>_<u>∂MSE</u>_</sup> _∂wji_ <u>(</u> <sup><u>(</u></sup> _k_ <u>)</u> <sup>_<u>k</u>_</sup> <sup><u>)</u></sup> Where: _w_ _ji_ ( _k_ + 1) is the new weight between _i_ th and _j_ th neurons. _w_ _ji_ ( _k_ ) : is the old weight. _η_ : is the learning rate. ANN-Based controllers In this paper, controllers based on neural networks are proposed to regulate several quantities: the stator and rotor fluxes, as well as the torque, as illustrated in Figs. 5a and b and 6. The presented model uses ANNs that operate as hysteresis comparators. These comparators are employed to generate an on-off switching model. This model then feeds the switching tables based on neural networks, shown in Fig. 7a and b, enabling the creation of an on-off switching scheme to control the inverter switches. The input _xi_ of each ANN comparator corresponds to the error between the estimated setpoint and the reference setpoint. This relationship is expressed through the following equations: _ξ_ _ψ_ _s_ = _ψ_ _S_ _ _ref_ _−_ _ψ_ _S_ _ _est_ (23) Fig. 5 . ANN-Based Controllers for Stator Flux (a) and Rotor Flux (b). Fig. 6 . ANN-Based Torque Controllers. Fig. 7 . ANN-Based Switching Tables for Stator (a) and Rotor (b). _ξ_ _ψ_ _r_ = _ψ_ _r_ _ _ref_ _−_ _ψ_ _r_ _ _est_ (24) _ξ_ _T_ = _ψ_ _T_ _ _ref_ _−_ _ψ_ _T_ _ _est_ (25) Switching tables based on ANNs Each controller is designed with a neural network that includes a hidden layer, which plays a key role in the training process. This hidden layer consists of multiple neurons, each receiving an input data point denoted as _xi_ ​. For each input, a synaptic weight _wi_ is associated, determining the significance of the input in the overall computation. The output of each neuron in the hidden layer, denoted as _vi_, is calculated using the following formula: _vi_ = ∑ _Ni_ =1 <sup>_e_</sup> _a_ <sup>_w_</sup> _i_ <sup>+</sup> <sup>_b_</sup> (26) where _b_ represents a bias added to adjust the neuron’s behavior. The output function of each neural unit is a hyperbolic tangent-type nonlinear activation function, as well as a linear activation function used to apply the backpropagation algorithm. Since the output of the <u>ANN parameters</u> <u>Values / methods</u> _ANN_ _ _T_ _ANN_ _ _ψ_ _S_ _ANN_ _ _ψ_ _r_ _ANN_ <u>_</u> _ST S_ _ANN_ <u>_</u> _ST r_ <u>Neural network</u> <u>Two-layer-feed-forward network with sigmoid hidden neurons</u> <u>Number of hidden layer nodes</u> <u>10</u> <u>10</u> <u>10</u> <u>10</u> <u>10</u> Number of neurons in 1 1 1 3 3 <u>the input layer</u> Number of neurons in 1 1 1 1 1 <u>the second hidden layer</u> <u>Number of neurons in the output layer</u> <u>1</u> <u>1</u> <u>1</u> <u>3</u> <u>3</u> <u>Learning rate</u> <u>0.5</u> <u>0.5</u> <u>0.5</u> <u>0.5</u> <u>0.5</u> <u>Number of epochs</u> <u>35</u> <u>796</u> <u>796</u> <u>153</u> <u>153</u> <u>ANN training algorithm</u> <u>Backpropagation</u> <u>Adaption learning function</u> <u>Trainlm</u> <u>Trainlm</u> <u>Trainlm</u> <u>Trainlm</u> <u>Trainlm</u> <u>Activation function</u> <u>Tansig</u> <u>Tansig</u> <u>Tansig</u> <u>Tansig</u> <u>Tansig</u> Table 1 . Specifications of optimal configurations for ANN Models. Fig. 8 . Overall Structure of the ANN-DTC Adapted to the DFIM for EV. ANN _yi_ = _f_ <sup>(∑</sup> _i_ <sup>_N_</sup> _i_ <sup>_N_</sup> =1 <sup>_eaw_</sup> _i_ <sup>+</sup> <sup>_b_</sup> <sup>)</sup> is not always exactly equal to 0 or 1, a comparator, which does not include a hysteresis band, is introduced to force the ANN outputs to adopt a value of 0 or 1 until the desired output is achieved. The weights are continuously updated using the backpropagation algorithm described in Eq. 34, ANN _yi_ = _f_ <sup>(∑</sup> <sup>_N_</sup> with the error minimization defined in Eq. 33. The neural network parameters are presented in Table 1, and the overall structure of the ANN-DTC proposed in this study is illustrated in Fig. 8. Overall structure of the ANN-DTC As part of the ANN-DTC control strategy, the neural network design is based on an empirical approach combining architecture optimization and the selection of a suitable learning algorithm. A single hidden-layer structure was adopted, with an optimized number of neurons for each controller: 10 for speed, 16 for torque and fluxes, and 20 for the switching table. The activation functions include a sigmoid tangent for the hidden layer and a linear function for the output. Learning is based on error backpropagation, using Matlab’s traingd, traingdm, and trainlm algorithms, and performance is evaluated through the minimization of the MSE and the correlation coefficient (R). These choices ensure efficient learning while minimizing the risk of overfitting, thereby guaranteeing robust and high-performance control. Training performance evaluation After conducting multiple iterations of the learning algorithms and accounting for variations induced by the bias reinitialization in each trial, it became evident that the Levenberg-Marquardt algorithm outperforms other approaches in terms of efficiency. Specifically, it demonstrated an exceptional ability to converge rapidly to the minimum of the mean squared error while delivering outstanding performance during the validation phases. These results highlight its superiority for training neural networks in the context of ANN-DTC, where precision and reliability are top priorities. Based on this comparative analysis, the Levenberg-Marquardt algorithm was selected for all ANN controller blocks. The training performances achieved for each block using this method are detailed in Figs. 8, 9 and 10. This choice reflects an optimal balance between speed, accuracy, and generalization capability, effectively meeting the requirements of the ANN-DTC system and reinforcing the overall consistency of the control strategy. From Figs. 9a, 10a and 11a, the architectures used for the flux (stator and rotor) and switching tables are 1-10-1-1, 1-10-1-1, 1-10-1-1 and 3-10-3-3 successively. Figures 9 (b), 10 (b) and 11 (b), show the evolution of the root Mean Square Error as a function of the number of epochs for the speed, torque, flux (stator and rotor) and switching table controllers successively. As can be noted, the network training has resulted in a significant reduction in the error between the target and predicted output values. Initially, the error decreases rapidly up to 796 epochs for the fluxes controllers and 153, and 35 epochs for the torque controllers and switching tables, beyond which it eventually stabilizes where the final MSE has taken a rather small value of the order of 7.4268*10 <sup>− 6</sup>, 4.71654*10 <sup>− 3</sup> and 1.8002*10 <sup>− 4</sup> for each controller successively. Results and interpretation Figure 12 illustrates the route followed by the EV. A real-world scenario is considered in this study, starting from the Higher School of Technology in Fez. This route is based on actual travel data, covering a 12-minute period, and initially involves crossing part of the city, with segments showing speed variations typical of urban traffic, before reaching a highway section where speeds become higher. This trajectory provides a representative combination of urban and highway conditions, allowing the dynamic characteristics of the journey to be captured and offering insights into the profile to which the control system is subjected. The information extracted from this figure serves as a reference for defining the speed setpoint in the simulation, aiming to faithfully reproduce the variations and demands of the real route. In this simulation, the speed reference, represented in Fig. 13, was reduced to a duration of 60 s compared to the actual 12-minute duration observed on the route, and this choice is based on several reasons. First, this temporal adaptation is a common simplification in simulations aimed at reducing computation time while maintaining the essential characteristics of the speed profile. A shorter simulation minimizes resource usage without losing critical information on the dynamic variations in speed. Fig. 9 . ANN architecture of torque controller and its evolution training ( a ) Mean Square Error Performance (Training, Testing, Validation) ( b ). Fig. 10 . ANN architecture of stator and rotor fluxes controllers and its evolution training ( a ) Mean Square Error Performance (Training, Testing, Validation) ( b ). Fig. 11 . ANN architecture of stator and rotor switching tables controller and its evolution training ( a ) Mean Square Error Performance (Training, Testing, Validation) (b). The primary objective of this simulation is to validate the responsiveness and efficiency of the speed control; therefore, reproducing the entire real trajectory is unnecessary: 60 s provide a sufficient timeframe to evaluate the system’s performance in response to the typical dynamic changes observed in a real route. Furthermore, this temporal reduction is based on a proportionality assumption, where the 60-second simulated trajectory is an analogous, condensed version of the actual 12-minute trajectory. In other words, it preserves the general “shape” of the speed profile, including acceleration and deceleration variations, but on a reduced time scale. This proportional approach ensures that the system’s dynamic responses remain representative of real-world conditions while enabling quick and reliable validation of the control system. Finally, by selecting a 60-second duration, the simulation achieves an effective compromise that meets the analysis objectives while conserving computational resources. Simulations were conducted in the MATLAB/Simulink environment to evaluate the performance of the DFIM under the proposed ANN-DTC control strategy in the EV system. The ANN-DTC approach directly regulates both motor torque and speed. A DFIM with a nominal power of 75 kW is used to drive the system, with its parameters detailed in Tables A1, A2 and A3 of the Supplementary Information 1. Fig. 12 . Real-World Route of the EV Including Urban and Highway Conditions <sup>41</sup> . Fig. 13 . Speed reference Profile Condensed to 60 s for Dynamic Performance Evaluation. Starting from this simplified speed setpoint, the performance of the applied control strategy is assessed through the results depicted in Figs. 14, 15, 16 and 17. These figures provide a detailed comparison between the conventional DTC and its enhanced version employing an ANN. Figure 14 illustrates the speed responses of both approaches, highlighting their respective rapidity and precision. Subsequently, Fig. 15 presents the torque responses, While Fig. 16 presents the stator and rotor flux responses for each technique, enabling a deeper evaluation of their dynamic behavior. Finally, Fig. 17 focuses on the Total Harmonic Distortion (THD) of the stator and rotor currents, comparing the responses of ANN-DTC (17 (a, c)) and DTC (17 (b, d)) to analyze the impact of each strategy on the quality of the currents absorbed by the machine. Fig. 14 . Speed responses of the conventional DTC and ANN-DTC. Fig. 15 . Torque responses of the conventional DTC and ANN-DTC. The speed responses indicate that both control methods, conventional DTC and ANN-DTC, are generally able to track the speed setpoint imposed by the EV driver throughout the simulation, despite the variations in the EV system load torque. However, noticeable differences emerge during abrupt changes in the setpoint. The ANN-DTC control demonstrates faster and more precise responses compared to conventional DTC, particularly during acceleration and deceleration phases. During these periods of rapid variation, the ANN-DTC control more accurately achieves the target speed imposed by the EV driver, with smaller deviations from the setpoint. The zoomed sections of Fig. 14 provide a detailed observation of these differences. For instance, in the interval from 16.25 to 20 s, the ANN-DTC control reaches the target speed with superior speed and accuracy, whereas the conventional DTC exhibits a slight delay and an overshoot of 1.8 km/h. Similarly, in other intervals, the ANN-DTC control demonstrates better stability in reaching the setpoint, with fewer oscillations and fluctuations around the target speed. This results in reduced torque variations and potentially improved energy efficiency for the system. Fig. 16 . Flux responses of the conventional DTC and ANN-DTC. Fig. 17 . THD of stator currents for ANN-DTC ( a ) and DTC ( b ), and THD of rotor currents for ANN-DTC ( c ) and DTC ( d ). The results presented in Fig. 15 demonstrate that for both control strategies, the electromagnetic torque generally follows the reference torque and aligns precisely with it during constant speed phases. However, during acceleration phases, the torque temporarily exceeds the reference value to compensate for the EV’s inertia and overcome the resistive forces acting on it. Conversely, during deceleration, the motor generates a negative torque corresponding to a braking phase, operating in generator mode to convert mechanical energy into electrical energy, which is then stored in the battery. Additionally, the torque response remains accurate and stable across all three operating ranges low, medium, and high speeds. Furthermore, the ANN-DTC outperforms the conventional DTC in terms of precision and stability in tracking, significantly reducing ripple around the reference, even during abrupt variations. Specifically, the ANN-DTC considerably attenuates torque ripples compared to the conventional DTC. Measured ripple amplitudes reach 201.46 Nm with the conventional strategy, whereas they drop to only 87.31 Nm with ANNDTC, representing a 56.66% improvement. The zoom graphs confirm these performance gains, highlighting the ANN-DTC’s capability to effectively limit oscillations and achieve the reference torque more rapidly and with greater accuracy. In the context of EVs, this improvement in torque stability and response quality contributes to enhanced energy efficiency, optimized power management, and an improved driving experience characterized by seamless operation and superior comfort. Figure 16 illustrates the responses of the two control strategies in terms of the stator and rotor fluxes, showing that for both the conventional DTC and ANN-DTC, the flux trajectories in the two-phase plane are generally circular, indicating good maintenance of flux amplitude in both cases. However, the ripple around these circular trajectories differs significantly: numerical results show that stator flux ripples are reduced from 0.1 Wb with the conventional DTC to 0.028 Wb with ANN-DTC, representing an improvement of 72%. Similarly, rotor flux ripples decrease from 0.0218 Wb to 0.0057 Wb, corresponding to an improvement of 77.06%. This reduction in flux ripple is particularly advantageous for EV systems. While the fluxes remain circular in the two-phase plane for both control strategies, the reduced oscillations with ANN-DTC lead to lower magnetic and thermal losses, thereby enhancing energy efficiency. Furthermore, this improved stability minimizes vibrations and acoustic noise, increasing system comfort and reliability. Finally, the reduced ripple contributes to extending the lifespan of components in the traction chain, which is essential for ensuring the long-term performance of EV. Figure 17 illustrates the spectral analysis of the stator current and rotor current for both control strategies, highlighting the THD in each case. For the stator current, the THD is 10.4% with conventional DTC, compared to 4.05% with ANN-DTC, representing a significant harmonic reduction of 61.06%. Similarly, for the rotor current, the THD decreases from 11.24% with conventional DTC to 4.61% with ANN-DTC, achieving a reduction of 58.99%. These values underscore a notable decrease in harmonics when ANN-DTC is employed. Furthermore, the spectral analysis reveals that with conventional DTC, high-frequency harmonic components exhibit significantly higher amplitudes, contributing to increased energy losses and electromagnetic disturbances. Conversely, ANN-DTC effectively attenuates parasitic harmonics at higher frequencies, as confirmed by the zoomed-in sections of the graphs. The reduction in harmonics achieved by ANN-DTC offers several key benefits for EV traction systems. A lower THD reduces Joule losses and magnetic losses in the machine, thereby improving overall energy efficiency. Moreover, this harmonic reduction ensures smoother operation, a more stable motor torque, and reduced vibrations and acoustic noise, thereby enhancing driving comfort. By limiting parasitic harmonics, ANN-DTC also reduces electromagnetic interference and prolongs the lifespan of components, such as the inverter and the machine, thereby enhancing the reliability and durability of EVs. Table 2 further highlights the exceptional performance of ANN-DTC, which significantly outperforms conventional DTC across various key performance indicators, such as the elimination of speed overshoot, substantial reductions in torque and flux ripples, and effective attenuation of current total harmonic distortion. This comparative analysis confirms the superiority of ANN-DTC in terms of precision, efficiency, and control quality, making it an optimal solution for electric traction applications. Comparative analysis To compare the advantages and limitations of the ANN-DTC control method with other control approaches, a quantitative analysis is presented in Table 3. The table provides a comprehensive comparative study of the performance of various DTC applied to DFIM. Four methods are examined: conventional DTC, BacksteppingDTC, FL-DTC, and the ANN-DTC. These approaches are evaluated based on key criteria such as speed stability, torque and flux ripples, algorithmic complexity, robustness, and computational time. This comparison highlights the specific strengths of each method and particularly emphasizes the significant benefits of ANN-DTC in the context of traction systems for EVs. In terms of speed control, ANN-DTC completely eliminates speed overshoot and undershoot, achieving zero deviation, compared to 1.8 km/h and 1.07 km/h respectively for conventional DTC. Backstepping-DTC also reduces these deviations to 0.1 km/h, demonstrating notable improvement. The absence of speed overshoot with ANN-DTC corresponds to a 100% enhancement over conventional DTC and Backstepping-DTC methods, confirming superior stability and responsiveness. <u>Performances</u> <u>Characteristics</u> <u>DTC</u> <u>ANN-DTC</u> <u>Improvement (%)</u> Speed <u>Overshoot (Km/h)</u> _<u>1.8</u>_ _<u>0</u>_ _<u>100</u>_ <u>Undershoot (Km/h)</u> _<u>1.07</u>_ _<u>0</u>_ _<u>100</u>_ _<u>T</u>_ <u>Torque ripples (Nm)</u> _<u>201.46</u>_ _<u>87.31</u>_ _<u>56.66</u>_ _ψ_ _s_ Flux ripples (wb) _0.1_ _0.028_ _72_ _ψ_ _r_ Flux ripples (wb) _0.0218_ _0.0050_ _77.06_ _isa_ <u>THD (%)</u> _<u>10.4</u>_ _<u>4.05</u>_ _<u>61.06</u>_ _ira_ <u>THD (%)</u> _<u>11.24</u>_ _<u>4.61</u>_ _<u>58.99</u>_ Table 2 . Performance measures DTC classic and ANN-DTC. <u>Improvement (%)</u> ANNDTC / <u>FL-DTC</u> BacksteppingPerformances Characteristics DTC FL-DTC [22] DTC [9] ANN-DTC (Proposed <u>method)</u> ANN-DTC / DTC ANN-DTC / Backstepping<u>DTC</u> Speed <u>Overshoot (Km/h)</u> _<u>1.8</u>_ _<u>0.1</u>_ _<u>0</u>_ _<u>0</u>_ _<u>100</u>_ _<u>100</u>_ _<u>0</u>_ <u>Undershoot (Km/h)</u> _<u>1.07</u>_ _<u>0.1</u>_ _<u>0</u>_ _<u>0</u>_ _<u>100</u>_ _<u>100</u>_ _<u>0</u>_ _<u>T</u>_ <u>Torque ripples (Nm)</u> _<u>201.46</u>_ _<u>201.46</u>_ _<u>115.82</u>_ _<u>87.31</u>_ _<u>56.66</u>_ _<u>56.7</u>_ _<u>24.61</u>_ _ψ_ _s_ Flux ripples (wb) _0.1_ _0.1_ _0.030_ _0.028_ _72.00_ _72.00_ _6.7_ _ψ_ _r_ Flux ripples (wb) _0.0218_ _0.0218_ _0.0057_ _0.0050_ _77.06_ _77.06_ _12.28_ more Complexity Complexity Simple Complicated simple ----------- ----------- ----------<u>complicated</u> <u>Robustness</u> <u>Robustness</u> <u>Robust</u> <u>Robust</u> <u>Very robust</u> <u>Very robust</u> <u>-----------</u> <u>-----------</u> <u>-----------</u> <u>computational time</u> <u>computational time</u> <u>39 s</u> <u>43 s</u> <u>1 h 15 min</u> <u>1 min 16 s</u> <u>-----------</u> <u>-----------</u> <u>-----------</u> Table 3 . Comparative performance analysis of the proposed ANN-DTC method and other DTC techniques for DFIM. Regarding torque ripples, ANN-DTC achieves a significant reduction, with a value of 87.31 Nm, compared to 201.46 Nm for conventional DTC and Backstepping-DTC, and 115.82 Nm for FL-DTC. This reduction represents an improvement of more than 56% relative to traditional DTC methods and nearly 25% compared to FL-DTC, ensuring smoother torque transmission and minimizing mechanical losses. For stator flux ripples (ψs\psi_sψs​), the proposed ANN-DTC method stands out with a lower value than FL-DTC, specifically 0.028 Wb versus 0.030 Wb. These results are substantially better than those obtained with conventional DTC and Backstepping-DTC methods, which exhibit ripples of 0.1 Wb, reflecting an improvement of approximately 64% compared to these traditional approaches. Concerning rotor flux ripples (ψr\psi_rψr​ ), ANN-DTC delivers the best performance, with a minimal value of 0.0050 Wb, outperforming FL-DTC (0.0057 Wb) and all other considered methods. This reduction corresponds to an impressive improvement of about 59% relative to conventional DTC techniques. These findings clearly demonstrate the superiority of ANNDTC in minimizing flux fluctuations, which directly contributes to enhanced stability and control accuracy— critical factors for optimizing EV traction system performance. From the perspective of algorithmic complexity, ANN-DTC exhibits simplicity comparable to conventional DTC, whereas Backstepping-DTC and FL-DTC are progressively more complex. This simplicity is a considerable advantage for practical implementation. In terms of robustness, ANN-DTC is classified as “very robust,” similarly to FL-DTC, maintaining stable performance under significant load variations, whereas conventional DTC and Backstepping-DTC are rated simply as robust. The comparison of computational times was conducted under a fixed simulation duration of 60 s to ensure homogeneous evaluation conditions. On this basis, ANN-DTC requires 1 min and 16 s of computational time, exceeding the durations for conventional DTC (39 s) and Backstepping-DTC (43 s), but remaining substantially shorter than the extensive computational time required by FL-DTC (1 h and 15 min). This balance between control performance and computational effort positions ANN-DTC as a promising solution for real-time applications in EV traction chains. In summary, ANN-DTC offers more stable and responsive control, significantly reduces torque ripples, enhances robustness, and combines ease of implementation with optimized computational time, making it a particularly effective solution for controlling DFIM in EVs. Conclusion This article has demonstrated the significant advantages of ANN-DTC in the electric propulsion systems of EVs. Through simulations conducted in Matlab/Simulink, it was observed that this control strategy reduces torque and flux ripples, eliminates speed overshoots, and decreases the THD of currents, thereby outperforming conventional DTC. By optimizing dynamic performance and energy efficiency, ANN-DTC also enhances overall system stability and extends the lifespan of critical motor components. Future work will focus on implementing this strategy on a real-time hardware platform, such as the dSPACE DS1104 board, and integrating it into a real electric propulsion system. Thus, ANN-DTC establishes itself as an innovative and reliable solution to meet the needs of next-generation EVs, delivering improved performance, increased efficiency, and enhanced durability. Data availability The datasets used and/or analysed during the current study available from the corresponding author on reasonable request. Received: 28 February 2025; Accepted: 23 July 2025 References 1. Ahmad, A., Alam, M. S. & Chabaan, R. A comprehensive review of wireless charging technologies for electric vehicles. _IEEE Trans._ _Transp. Electrification_ . 4 (1), 38–63 (2017). 2. Hossain, M. S., Kumar, L., El Haj Assad, M. & Alayi, R. Advancements and future prospects of electric vehicle technologies: a comprehensive review. Complexity, 2022(1), 3304796. (2022). 3. Munsi, M. S. & Chaoui, H. _Energy Management Systems for Electric Vehicles: A Comprehensive Review of Technologies and Trends_ (IEEE Access, 2024). 4. Munsi, M. et al. A novel blended state estimated adaptive controller for voltage and current control of microgrid against unknown noise. _IEEE Access._ 7, 161975–161995 (2019). 5. Mhatre, A. S. & Shukla, P. A comprehensive review of energy harvesting technologies for sustainable electric vehicles. _Environmental_ _Sci. Pollution Research_ . 8 1–24. (2024). 6. Das, H. S., Rahman, M. M., Li, S. & Tan, C. W. Electric vehicles standards, charging infrastructure, and impact on grid integration: A technological review. _Renew. Sustain. Energy Rev._ 120, 109618 (2020). 7. Abro, G. E. M. et al. Comprehensive review of recent advancements in battery technology, propulsion, power interfaces, and vehicle network systems for intelligent autonomous and connected electric vehicles. _Energies_ 16 (6), 2925 (2023). 8. Babouri, R., Aouzellag, D. & Ghedamsi, K. Introduction of doubly fed induction machine in an electric vehicle. _Energy Procedia_ . 36, 1076–1084 (2013). 9. Chantoufi, A. et al. A. F., Direct Torque Control-Based Backstepping Speed Controller of Doubly Fed Induction Motors in Electric Vehicles; Experimental Validation. _IEEE Access_ . (2024). 10. Zerzeri, M., Jallali, F. & Khedher, A. Steady-state analysis of a variable speed traction system using DFI-motor. In 2017 18th International Conference on Sciences and Techniques of Automatic Control and Computer Engineering (STA) (pp. 198–204). IEEE. (2017), December. 11. Vidal, P. E. & Pietrzak-David, M. Flux sliding mode control of a doubly fed induction machine. In _2005 European Conference on_ _Power Electronics and Applications_ (p. 10-pp). IEEE. (2005), September. 12. El Ouanjli, N. et al. Improved twelve sectors DTC strategy of induction motor drive using backstepping speed controller and P-MRAS stator resistance identification-design and validation. _Alexandria Eng. J._ 80, 358–371 (2023). 13. Zerzeri, M., Jallali, F. & Khedher, A. Robust FOC Analysis of a DFIM using an SMFO: Application to Electric Vehicles. In _2019_ _International Conference on Signal, Control and Communication (SCC)_ (pp. 250–255). IEEE. (2019), December. 14. El Khil, S. K., Slama-Belkhodja, I., Pietrzak-David, M. & de Fornel, B. Sensorless field oriented control of doubly fed induction speed drive. In _EUROCON 2007-The International Conference on Computer as a Tool_ (pp. 1888–1895). IEEE. (2007), September. 15. Abderazak, S. & Farid, N. Comparative study between Sliding mode controller and Fuzzy Sliding mode controller in a speed control for doubly fed induction motor. In _2016 4th International Conference on Control Engineering & Information Technology_ _(CEIT)_ (pp. 1–6). IEEE. (2016), December. 16. Soltani, J. & Payam, A. F. A robust adaptive sliding-mode controller for slip power recovery induction machine drives. In _2006_ _CES/IEEE 5th International Power Electronics and Motion Control Conference_ (Vol. 3, pp. 1–6). IEEE. (2006), August. 17. Bekakra, Y. & Attous, D. B. Fuzzy sliding mode controller for doubly fed induction motor speed control. _J. Fundamental Appl. Sci._ 2 (2), 272–287 (2010). 18. Moumene, M. E. B. & Dendouga, A. Effectiveness of Sliding Mode Control for a variable Speed Wind System Using DFIM. In _2023_ _International Conference on Electrical Engineering and Advanced Technology (ICEEAT)_ (Vol. 1, pp. 1–6). IEEE. (2023), November. 19. Liu, Y., Wang, Z., Xiong, L., Wang, J., Jiang, X., Bai, G., … Liu, S. (2018). DFIG wind turbine sliding mode control with exponential reaching law under variable wind speed. International Journal of Electrical Power & Energy Systems, 96, 253–260. 20. Cheok, A. D. & Fukuda, Y. A new torque and flux control method for switched reluctance motor drives. _IEEE Trans. Power_ _Electron._ 17 (4), 543–557 (2002). 21. Abirami, M. & Balakrishnan, P. DTC-FOC Hybrid Controller to Control the Speed and Torque of BLDC Motor. In _2023 Innovations_ _in Power and Advanced Computing Technologies (i-PACT)_ (pp. 1–6). IEEE. (2023), December. 22. Chantoufi, A., Derouich, A., Ouanjli, N. E., Mahfoud, S. & Idrissi, E. A. Improved Direct Torque Control of Doubly Fed induction Motor in Electric Vehicles using Fuzzy Logic Controllers. _e-Prime-Advances in Electrical Engineering, Electronics and Energy_, 100882. (2024). 23. Bajjuri, N. K. & Jain, A. K. An improved dual DTC of double-inverter-fed WRIM drive with reduced torque ripple by emulating equivalent 3L NPC VSC. _IEEE Trans. Industr. Electron._ 69 (6), 5453–5464 (2021). 24. Mahfoud, S. et al. Higher performance enhancement of direct torque control by using artificial neural networks for doubly fed induction motor. _e-Prime-Advances Electr. Eng. Electron. Energy_ . 8, 100537 (2024). 25. Kalel, D., Mohan, H., Baranidharan, M. & Singh, R. R. ANN deployed DTC for Enhanced Torque Performance on IM based EV Drive. In _2021 XVIII International Scientific Technical Conference Alternating Current Electric Drives (ACED)_ (pp. 1–6). IEEE. (2021), May. 26. Djeriri, Y., Meroufel, A. & Massoum, A. Artificial neural network based direct torque control of doubly fed induction generator. _J._ _Electr. Eng._ 14 (2), 71–78 (2014). 27. Mahfoud, S., Derouich, A., El Ouanjli, N. & el Mahfoud, M. Enhancement of the direct torque control by using artificial neuron network for a doubly fed induction motor. _Intell. Syst. Appl._ 13, 200060 (2022). 28. Bachiri, H., Gasbaoui, B., Ghezouani, A. & Nair, N. Improved direct torque control strategy performances of electric vehicles induction motor. _Int. J. Power Electron. Drive Syst. (IJPEDS)_ . 13 (2), 716–723 (2022). 29. Lin, C. & Cheng, X. A traction control strategy with an efficiency model in a distributed driving electric vehicle. _Sci. World J._ 2014 (1), 261085 (2014). 30. Hadj, N. B., Tounsi, S., Neji, R. & Sellami, F. Optimization of the motor-converter cost dedicated to electric traction. In _Second_ _International Conference on Electrical Systems ICES’0_ (Vol. 6). 31. Chantoufi, A. et al. A., Direct Torque Control for Doubly Fed Induction Motor Driven Electric Vehicle. In _International Conference_ _on Digital Technologies and Applications_ (pp. 862–871). Cham: Springer Nature Switzerland. (2023), January. 32. Gillespie, T. (ed) _Fundamentals of Vehicle Dynamics_ (SAE international, 2021). 33. Zerzeri, M., Jallali, F. & Khedher, A. A robust nonlinear control based on SMC approach for doubly-fed induction motor drives used in electric vehicles. In _2019 International Conference on Signal, Control and Communication (SCC)_ (pp. 138–144). IEEE. (2019), December. 34. Taoussi, M. et al. Low-speed sensorless control for wind turbine system. _WSEAS Trans. Syst. Control_ . 12 (1), 405–417 (2017). 35. Mahfoud, S. et al. Comparative study between cost functions of genetic algorithm used in direct torque control of a doubly fed induction motor. _Appl. Sci._ 12 (17), 8717 (2022). 36. Bonnet Francois, F., Vidal, P. E. & Pietrzak-David, M. Dual direct torque control of doubly fed induction machine. _IEEE Trans._ _Industr. Electron._ 54 (5), 2482–2490 (2007). 37. Takahashi, I. & Ohmori, Y. High-performance direct torque control of an induction motor. _IEEE Trans. Ind. Appl._ 25 (2), 257–264 (1989). 38. El Mourabit, Y., Derouich, A., El Ghzizal, A., El Ouanjli, N. & Zamzoum, O. DTC-SVM control for permanent magnet synchronous generator based variable speed wind turbine. _Int. J. Power Electron. Drive Syst._ 8 (4), 1732 (2017). 39. Mesloub, H., Benchouia, M. T., Goléa, A., Goléa, N. & Benbouzid, M. E. H. A comparative experimental study of direct torque control based on adaptive fuzzy logic controller and particle swarm optimization algorithms of a permanent magnet synchronous motor. _Int. J. Adv. Manuf. Technol._ 90, 59–72 (2017). 40. Menghal, P. M. & Laxmi, A. J. Real time control of induction motor using neural network. In _2018 International Conference on_ _Communication information and Computing Technology (ICCICT)_ (pp. 1–6). IEEE. (2018), February. 41. ​h​t​t​p​s​: ​ / ​ /​w​w ​ w​.​g​o​o​g​l ​ e​.​c ​ o​m ​ /​m​a ​ p​s​/ ​ d​i​r​/​A ​ [2​0​1​/​E​c​o​l​e​+​S​u​p​%​C​3​%​A​9​r​i​e​u​r​e​+​d​e​+​T​e​c​h​n​o​l​o​g​i​e​%​D​8​%​8​C​+​B​P​+​2​4​2​7​+​R​o​u​t​e​+​d​%​E​2​%​8​0​%​9​9​](https://www.google.com/maps/dir/A201/Ecole+Sup%C3%A9rieure+de+Technologie%D8%8C+BP+2427+Route+d%E2%80%99Imouzzer%D8%8C+30000%E2%80%AD/@33.9702252,-5.0703812,13z/data=!3m1!4b1!4m13!4m12!1m5!1m1!1s0xd9f898c8ae95f2b:0x8fd6133def4ff468!2m2!1d-5.0615971!2d33.9496417!1m5!1m1!1s0xd9f8bbea38bd1cb:0x36c2d3aadd24868d!2m2!1d-5.0024372!2d33.9886619?entry=ttu&g_ep=EgoyMDI1MDMzMS4wIKXMDSoASAFQAw%3D%3D) [I​m​o​u​z​z​e​r​%​D​8​%​8​C​+​3​0​0​0​0​%​E​2​%​8​0​%​A​D​/​@​3​3​.​9​7​0​2​2​5​2​,​-​5​.​0​7​0​3​8​1​2​,​1​3​z​/​d​a​t​a​=​!​3​m​1​!​4​b​1​!​4​m​1​3​!​4​m​1​2​!​1​m​5​!​1​m​1​!​1​s​0​x​d​9​f​8​9​8​c​8​a​e​9​5​](https://www.google.com/maps/dir/A201/Ecole+Sup%C3%A9rieure+de+Technologie%D8%8C+BP+2427+Route+d%E2%80%99Imouzzer%D8%8C+30000%E2%80%AD/@33.9702252,-5.0703812,13z/data=!3m1!4b1!4m13!4m12!1m5!1m1!1s0xd9f898c8ae95f2b:0x8fd6133def4ff468!2m2!1d-5.0615971!2d33.9496417!1m5!1m1!1s0xd9f8bbea38bd1cb:0x36c2d3aadd24868d!2m2!1d-5.0024372!2d33.9886619?entry=ttu&g_ep=EgoyMDI1MDMzMS4wIKXMDSoASAFQAw%3D%3D) [f​2​b​:​0​x​8​f​d​6​1​3​3​d​e​f​4​ff4​6​8​!​2​m​2​!​1​d​-​5​.​0​6​1​5​9​7​1​!​2​d​3​3​.​9​4​9​6​4​1​7​!​1​m​5​!​1​m​1​!​1​s​0​x​d​9​f​8​b​b​e​a​3​8​b​d​1​c​b​:​0​x​3​6​c​2​d​3​a​a​d​d​2​4​8​6​8​d​!​2​m​2​!​1​d​-​5​.​0​0​2​](https://www.google.com/maps/dir/A201/Ecole+Sup%C3%A9rieure+de+Technologie%D8%8C+BP+2427+Route+d%E2%80%99Imouzzer%D8%8C+30000%E2%80%AD/@33.9702252,-5.0703812,13z/data=!3m1!4b1!4m13!4m12!1m5!1m1!1s0xd9f898c8ae95f2b:0x8fd6133def4ff468!2m2!1d-5.0615971!2d33.9496417!1m5!1m1!1s0xd9f8bbea38bd1cb:0x36c2d3aadd24868d!2m2!1d-5.0024372!2d33.9886619?entry=ttu&g_ep=EgoyMDI1MDMzMS4wIKXMDSoASAFQAw%3D%3D) ​ [4​3​7​2​!​2​d​3​3​.​9​8​8​6​6​1​9​?​e​n​t​r​y​=​t​t​u​&​g​_​e​p​=​E​g​o​y​M​D​I​1​M​D​M​z​M​S​4​w​I​K​X​M​D​S​o​A​S​A​F​Q​A​w​%​3​D​%​3​D.](https://www.google.com/maps/dir/A201/Ecole+Sup%C3%A9rieure+de+Technologie%D8%8C+BP+2427+Route+d%E2%80%99Imouzzer%D8%8C+30000%E2%80%AD/@33.9702252,-5.0703812,13z/data=!3m1!4b1!4m13!4m12!1m5!1m1!1s0xd9f898c8ae95f2b:0x8fd6133def4ff468!2m2!1d-5.0615971!2d33.9496417!1m5!1m1!1s0xd9f8bbea38bd1cb:0x36c2d3aadd24868d!2m2!1d-5.0024372!2d33.9886619?entry=ttu&g_ep=EgoyMDI1MDMzMS4wIKXMDSoASAFQAw%3D%3D) Acknowledgements All authors of this article would like to thank all the participants who have improved the quality of this work. Author contributions Ahmed chantoufi: Conceptualization, Methodology, Software, Data curation, Writing- Original draft preparation. Aziz Derouich: Supervision. Said MAHFOUD, Najib El Ouanjli, and Abderrahman El Idrissi: Visualization, Investigation Software, Validation, Writing. Shimaa A. Hussien and Mohamed I. Mosaad: Reviewing and Editing, Funding. All authors reviewed the manuscript. Funding This research was funded by Princess Nourah bint Abdulrahman University Researchers Supporting Project number (PNURSP2025R827), Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia. Declarations Competing interests The authors declare no competing interests. Additional information Supplementary Information [The online version contains supplementary material available at ​h​t​t​p​s​:​/​/​d​o​i​.​o​r​g​/​1​](https://doi.org/10.1038/s41598-025-13362-z) [0​.​1​0​3​8​/​s​4​1​5​9​8​-​0​2​5​-​1​3​3​6​2​-​z.](https://doi.org/10.1038/s41598-025-13362-z) ​​ Correspondence and requests for materials should be addressed to S.M. Reprints and permissions information is available at www.nature.com/reprints. Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to [obtain permission directly from the copyright holder. To view a copy of this licence, visit ​h​t​t​p​:​/​/​c​r​e​a​t​i​v​e​c​o​m​m​o​](http://creativecommons.org/licenses/by-nc-nd/4.0/) [n​s​.​o​r​g​/​l​i​c​e​n​s​e​s​/​b​y​-​n​c​-​n​d​/​4​.​0​/.](http://creativecommons.org/licenses/by-nc-nd/4.0/) ​​ © The Author(s) 2025

섹션 본문 98문단 · 36,408자

(제목 없음)

1Electric vehicles (EVs) represent clean transportation solutions that play a pivotal role in the energy transition.By contributing to the reduction of greenhouse gas emissions, they pave the way for a more sustainable future.However, to ensure the full effectiveness of this transition, EV propulsion systems must meet modern demands for performance and efficiency.These systems must not only be robust but also capable of delivering high performance.In this context, Direct Torque Control (DTC), while widely used, has certain limitations.Specifically, it generates significant torque ripples and sometimes exhibits insufficient dynamic response to load variations.To address these issues, this work proposes an intelligent strategy referred to as ANN-DTC, which replaces hysteresis comparators and the switching table with regulators based on artificial neural networks.Simulations conducted in Matlab/Simulink demonstrate that ANN-DTC reduces torque ripples from 201.46 Nm to 87.31 Nm, an improvement of 56.66%, and eliminates the speed overshoots observed with conventional DTC.These results highlight the effectiveness of this approach in enhancing the dynamic response and adaptability of EV propulsion systems.Keywords Electric vehicle, Artificial neural network, Direct torque control, Doubly fed induction motor Electric vehicles (EVs) are at the forefront of the transition towards more sustainable transportation systems, driving rapid global adoption 1,2 .This trend is fueled by environmental concerns and technological advancements, intensifying competition among major industrial powers to dominate this expanding market[3][4][5].Mastery of key technologies, such as batteries, energy management systems, and charging infrastructures, has become essential for establishing a strong position in the EV industry4,6,7.In this context of technological innovation, the Doubly-Fed Induction Machine (DFIM) has emerged as a reliable and versatile solution, widely used across various industrial sectors 8 .Whether in wind power generation, industrial pumping systems, or maritime applications, the DFIM is recognized for its robustness and ability to provide precise control of power and torque8,9.These same qualities make the DFIM particularly suited for EV traction systems, where it can operate efficiently across a wide range of speeds while optimizing energy consumption, making it an ideal choice for enhancing the driving experience8,10,11.However, designing effective controllers for these motors remains a challenge due to the system's nonlinear complexity and the disturbances encountered under real-world conditions, related to the variable and diverse driving conditions of EVs 9 .In response, several control strategies have been developed for managing these motors 12 .Field-Oriented Control (FOC) is one of the most used methods, offering precise control of torque and flux by decomposing current components in a synchronized reference frame8,9,13.This approach improves motor dynamics but is sensitive to parameter variations of the DFIM13,14.Another frequently used technique is Sliding Mode Control (SMC), which is known for its robustness against disturbances and system uncertainties15,16.SMC performs well under variable conditions but can lead to chattering phenomena, causing frequent oscillations

2that affect the system's operation and performance 12,[17][18][19] .On the other hand, direct Torque Control (DTC) is also widely employed, particularly for its fast response and simplicity of implementation.It is based on the instantaneous and independent control of a motor's torque and flux by directly adjusting the switching states of the inverter [19][20][21] .However, DTC has limitations, such as torque and flux ripples at low speeds, which can reduce energy efficiency and lead to premature wear of traction system components 22 .Additionally, DTC can be sensitive to abrupt load variations, complicating torque management in certain situations 23 .

3To overcome these limitations, the integration of artificial neural networks (ANN) into DTC for controlling DFIM has demonstrated significant potential 8,9,24 .ANN can model complex nonlinear relationships between motor parameters, enabling control adaptation to load and speed variations in EVs.Through their learning capability, ANN optimizes control under varying operating conditions, providing significant improvements in precision, responsiveness, and energy efficiency 24,25 .

4According to 26 , integrating ANN into DTC control of DFIM improves precision and reduces ripples compared to traditional DTC methods.This improvement is critical for electric traction systems, where stability and reliability are paramount.Furthermore, the study in 27 shows that this approach significantly reduces torque ripples and eliminates overshoot while maintaining acceptable harmonic distortion.These advancements address some of the most critical challenges of classical DTC methods, thereby improving the overall control quality.The research presented in 26 goes further by exploring the effectiveness of ANN integration in the DTC control of doubly fed induction generators.It highlights a significant reduction in torque and flux ripples, even at low switching frequencies, while ensuring optimal stability under variable speed conditions.These results are not limited to stationary applications like power generation.In the case of EV, DFIM can also operate as a generator during energy recovery phases, such as deceleration or when descending a slope.Under these conditions, using ANN in DTC maximizes recovery efficiency while maintaining stable control quality despite speed variations dictated by the driver and load torque fluctuations.Finally, the application of ANN in DTC for specific vehicles has also been studied.According to 28 , applying this method to a three-wheeled electric scooter significantly reduces torque and flux ripples, while increasing autonomy and decreasing battery energy consumption.This study highlights the impact of ANN on improving performance and energy efficiency in lightweight EVs, a critical issue for sustainable development.

5Although works cited in this article have addressed the improvement of DTC through the integration of neural networks, these studies have often applied this control to the motor in isolation, without considering the specificities and dynamics inherent to EVs.Additionally, in these studies, the applied torque was primarily in the form of a step function, which simplifies the real torque variations observed in the driving conditions of EVs.In this study, This approach is extended by adapting DTC to respond to continuous and dynamic torque variations, particularly those caused by accelerations, decelerations, and other unpredictable fluctuations.The goal is to improve the stability, responsiveness, and performance of the system under real driving conditions.In this article, we propose an enhanced approach to DTC by integrating a neural network in the form of ANN-DTC, offering an effective solution for electric traction systems.By replacing traditional DTC components such as hysteresis comparators and switching tables, ANN-DTC not only reduces torque ripples but also improves dynamic response and increases control flexibility.These characteristics make the system more suitable for the variable driving conditions encountered in traction applications for EVs.

6This study is structured around several sections: In Sect.2, a detailed modeling of the propulsion system is carried out in order to establish a reference framework for performance analysis.DTC is discussed in Sect. 3 presenting its fundamental principles and its application in the context of electric vehicles.In Sect.4, special attention will be paid to the integration of neural networks into DTC, with the aim of improving the accuracy of torque control.The results obtained from simulations is presented and interpreted in Sect.5, the Sect.6 is focused for a comparative study between some works recently published.Finally, a conclusion will summarize the main contributions of this study and suggest directions for future work is presented in Sect.7.

Modeling of the electric vehicle propulsion system EV drivetrain

7To design an effective control system for an EV motor, it is essential to understand the detailed operation of its drivetrain.The EV drivetrain is significantly simpler than that of an internal combustion engine vehicle 22,29,30 .Figure 1 shows the key elements of an EV drivetrain.This system comprises several crucial components: the batteries, the inverter, the DFIM, the gearbox, and the differential.Each of these components plays a specific role in converting and managing energy to propel the vehicle.

8The speed of the EV is directly proportional to the speed of its wheels.When the driver presses the accelerator pedal, a command is sent to the control system to reach a certain speed.This command is essentially a speed reference that the control system uses to adjust the inverter's operation 31 .

9The inverter is responsible for converting the electrical energy stored in the batteries into a form that the DFIM can use.Specifically, the inverter adjusts the frequency and voltage of the electrical energy to meet the motor's requirements 22,31 .The DFIM motor uses this energy to generate torque, which then turns the wheels.

10The gearbox and differential are responsible for managing the final speed of the wheels.The gearbox adapts the motor's torque to deliver the desired speed, while the differential distributes power between the wheels to ensure stable driving 22,32 .

11Thus, through the precise adjustment of these elements, the vehicle is able to move at the desired speed set by the driver, ensuring optimal performance and efficient energy management 9,22 .

Dynamic model of an EV

12When a vehicle climbs a road inclined at an angle α with respect to the horizontal and with a speed v, it is subjected to forces that influence its movement, as shown in Fig. 2. The first force is the aerodynamic drag − → F ad, which opposes the motion and is proportional to both the vehicle's speed v and its frontal surface area.Then, there is the rolling resistance − → F r , generated by the contact between the tires and the road surface, creating a force opposing the movement.Additionally, due to the vehicle's weight − → P , a component parallel to the slope emerges, resisting the ascent because of gravity.Finally, for the vehicle to continue climbing, the motor must supply a tractive force − → F T .Understanding these forces allows for the development of a dynamic model of the vehicle that closely represents reality 9,22,33 .

13The expression of the second law of Newton is formulated as follows:

14Which gives:

15The projection of this law onto the axis of abscissas leads to:

16With:

17)

Formulation of the resistive torque acting on the DFIM

18When an EV is driving on a slope, the resistive torque applied to the EV's wheels mainly depends on the forces acting on it, such as 9,22,33 :

19Similarly, the gearbox reduces the motor's rotational speed Ω, causing the wheels to rotate at a speed Ω w , such that:

20Thus, the relationship between T lw and T w is:

21This leads to the expression of the resistive torque applied to the DFIM:

Modeling the doubly fed induction machine

22By neglecting losses within the DFIM, such as saturation, iron losses, and slot effects, the equations describing the mathematical model of the machine can be simplified.These equations are expressed in the Concordia twophase (α, β) reference frame, which allows the conversion of three-phase quantities into two-phase equivalents.This simplification facilitates the analysis and control of the DFIM by focusing solely on the main aspects of its electromagnetic behavior, without accounting for minor losses [34][35][36] .

23• Electrical equations:

24• Magnetic equations:

25• Mechanical equation:

26The application of the fundamental principle of dynamics to the DFIM leads to the following Eqs. 10,22:

27With:

28J : Total moment of inertia, with:

29With: (16).The parameter λ represents the slip rate.In most cases, its value is very small, allowing it to be ignored without significantly affecting the overall results.

Direct torque control

30DTC is an effective method used to control the DFIM in an EV.The process begins with the estimation of the stator and rotor fluxes, as well as the electromagnetic torque, performed by estimators.These estimators use the measured currents and voltages to calculate the flux and torque values in real-time.Once the flux and torque estimates are obtained, the hysteresis controllers compare the errors of the measured quantities (flux and torque) to their reference values, generating torque and flux errors, which are then sent as inputs to the switching tables.

31The switching tables, based on the generated errors and the position of the flux vector in the (α,β) complex plane, select the optimal voltage vectors to apply to the machine via the inverters.The inverters use the energy stored in the EV's power battery to supply the appropriate voltages to the DFIM windings 37,38 .

32In parallel, a speed controller adjusts the torque reference based on the difference between the actual motor speed and the desired speed set by the EV driver.This controller ensures that the motor maintains a stable speed, which is essential for smooth vehicle operation.Figure 3 presents the overall architecture of the DTC applied to the control of the DFIM, highlighting the operating principle and the interactions between the various components of the control system 34,39,40 .

33DTC is widely used in the industry, but it has several drawbacks, including variable switching frequency, issues at low speeds, and torque ripples.These ripples negatively affect the traction systems of EVs, causing mechanical vibrations and undesirable noise.These phenomena harm the driver's comfort and the durability of the components.To mitigate these effects, the following section integrates ANN into the DTC system 34,37,38,40 .

Neural Network-Based direct torque control for electric vehicles

34A neural network can be regarded as a complex mathematical structure designed to model information processing in a distributed manner, mimicking certain fundamental aspects of biological neural networks.This model consists of multiple nonlinear computational units, referred to as neurons, which interact in parallel, each performing specific processing tasks.These neurons are interconnected through weighted links, where the strength of these connections is represented by numerical values known as weights.

35The ANNs are characterized by a densely interconnected architecture of elementary processing elements operating simultaneously.One of the most critical aspects of ANNs lies in the use of training data, which is essential for the learning process and the optimization of the system's performance 24,26,27,34,40 .

Mathematical model of a neuron

36The neuron, which represents the basic unit of an ANN, combines input signals through a summation operation and then applies an activation function to produce its output.Figure 4 illustrates the ANN architecture used for DTC.

37The mathematical equations governing the behavior of a neuron are formulated as follows:

38Fig. 3. the overall DTC scheme used to control the DFIM for propulsion in an EV.

39The terms xi , wi , b and y respectively represent the input signals, the synaptic weight associated with each input signal, a bias parameter, and the output signals of the neuron.F1 (s) denotes the nonlinear hyperbolic tangent activation function illustrated in Fig. 6 and is defined by the following Eq.

40And F2 (s) is a linear activation function which is given by the following equation:

41In this context, α and β represent the gains.This activation function is differentiable, bipolar, monotonic, and has a maximum gain at zero.The neural network presented in this paper is trained using the backpropagation method with forward propagation, until the Mean Squared Error (MSE) between the desired and obtained results is sufficiently low.

Learning procedure based on MSE

42The EQM is calculated using the following equation:

43Where:

44Oi : is the actual response by a network.di (k) : is the desired response.N : is the number of input-output training data.

45k is the number of iterations.

Weights update and backpropagation algorithm

46The update rule for the weights in a neural network using the backpropagation algorithm is given by Equation :

47Where:

48is the new weight between ith and jth neurons.w ji (k) : is the old weight.η : is the learning rate.

ANN-Based controllers

49In this paper, controllers based on neural networks are proposed to regulate several quantities: the stator and rotor fluxes, as well as the torque, as illustrated in Figs.5a and b and 6.The presented model uses ANNs that operate as hysteresis comparators.These comparators are employed to generate an on-off switching model.This model then feeds the switching tables based on neural networks, shown in Fig. 7a and b, enabling the creation of an on-off switching scheme to control the inverter switches.The input x i of each ANN comparator corresponds to the error between the estimated setpoint and the reference setpoint.This relationship is expressed through the following equations:

Switching tables based on ANNs

50Each controller is designed with a neural network that includes a hidden layer, which plays a key role in the training process.This hidden layer consists of multiple neurons, each receiving an input data point denoted as x i .For each input, a synaptic weight wi is associated, determining the significance of the input in the overall computation.

51The output of each neuron in the hidden layer, denoted as vi, is calculated using the following formula:

52where b represents a bias added to adjust the neuron's behavior.The output function of each neural unit is a hyperbolic tangent-type nonlinear activation function, as well as a linear activation function used to apply the backpropagation algorithm.Since the output of the

53is not always exactly equal to 0 or 1, a comparator, which does not include a hysteresis band, is introduced to force the ANN outputs to adopt a value of 0 or 1 until the desired output is achieved.The weights are continuously updated using the backpropagation algorithm described in Eq. 34, with the error minimization defined in Eq. 33.The neural network parameters are presented in Table 1, and the overall structure of the ANN-DTC proposed in this study is illustrated in Fig. 8. Table 1.Specifications of optimal configurations for ANN Models.

Overall structure of the ANN-DTC

54As part of the ANN-DTC control strategy, the neural network design is based on an empirical approach combining architecture optimization and the selection of a suitable learning algorithm.A single hidden-layer structure was adopted, with an optimized number of neurons for each controller: 10 for speed, 16 for torque and fluxes, and 20 for the switching table.The activation functions include a sigmoid tangent for the hidden layer and a linear function for the output.Learning is based on error backpropagation, using Matlab's traingd, traingdm, and trainlm algorithms, and performance is evaluated through the minimization of the MSE and the correlation coefficient (R).These choices ensure efficient learning while minimizing the risk of overfitting, thereby guaranteeing robust and high-performance control.

Training performance evaluation

55After conducting multiple iterations of the learning algorithms and accounting for variations induced by the bias reinitialization in each trial, it became evident that the Levenberg-Marquardt algorithm outperforms other approaches in terms of efficiency.Specifically, it demonstrated an exceptional ability to converge rapidly to the minimum of the mean squared error while delivering outstanding performance during the validation phases.These results highlight its superiority for training neural networks in the context of ANN-DTC, where precision and reliability are top priorities.

56Based on this comparative analysis, the Levenberg-Marquardt algorithm was selected for all ANN controller blocks.The training performances achieved for each block using this method are detailed in Figs. 8, 9 and 10.This choice reflects an optimal balance between speed, accuracy, and generalization capability, effectively meeting the requirements of the ANN-DTC system and reinforcing the overall consistency of the control strategy.

57From Figs. 9a, 10a and 11a, the architectures used for the flux (stator and rotor) and switching tables are 1-10-1-1, 1-10-1-1, 1-10-1-1 and 3-10-3-3 successively.Figures 9 (b), 10 (b) and 11 (b), show the evolution of the root Mean Square Error as a function of the number of epochs for the speed, torque, flux (stator and rotor) and switching table controllers successively.As can be noted, the network training has resulted in a significant reduction in the error between the target and predicted output values.Initially, the error decreases rapidly up to 796 epochs for the fluxes controllers and 153, and 35 epochs for the torque controllers and switching tables, beyond which it eventually stabilizes where the final MSE has taken a rather small value of the order of 7.4268*10 − 6 , 4.71654*10 − 3 and 1.8002*10 − 4 for each controller successively.

Results and interpretation

58Figure 12 illustrates the route followed by the EV.A real-world scenario is considered in this study, starting from the Higher School of Technology in Fez.This route is based on actual travel data, covering a 12-minute period, and initially involves crossing part of the city, with segments showing speed variations typical of urban traffic, before reaching a highway section where speeds become higher.This trajectory provides a representative combination of urban and highway conditions, allowing the dynamic characteristics of the journey to be captured and offering insights into the profile to which the control system is subjected.

59The information extracted from this figure serves as a reference for defining the speed setpoint in the simulation, aiming to faithfully reproduce the variations and demands of the real route.

60In this simulation, the speed reference, represented in Fig. 13, was reduced to a duration of 60 s compared to the actual 12-minute duration observed on the route, and this choice is based on several reasons.First, this temporal adaptation is a common simplification in simulations aimed at reducing computation time while maintaining the essential characteristics of the speed profile.A shorter simulation minimizes resource usage without losing critical information on the dynamic variations in speed.The primary objective of this simulation is to validate the responsiveness and efficiency of the speed control; therefore, reproducing the entire real trajectory is unnecessary: 60 s provide a sufficient timeframe to evaluate the system's performance in response to the typical dynamic changes observed in a real route.Furthermore, this temporal reduction is based on a proportionality assumption, where the 60-second simulated trajectory is an analogous, condensed version of the actual 12-minute trajectory.In other words, it preserves the general "shape" of the speed profile, including acceleration and deceleration variations, but on a reduced time scale.

61This proportional approach ensures that the system's dynamic responses remain representative of real-world conditions while enabling quick and reliable validation of the control system.Finally, by selecting a 60-second duration, the simulation achieves an effective compromise that meets the analysis objectives while conserving computational resources.

62Simulations were conducted in the MATLAB/Simulink environment to evaluate the performance of the DFIM under the proposed ANN-DTC control strategy in the EV system.The ANN-DTC approach directly regulates both motor torque and speed.A DFIM with a nominal power of 75 kW is used to drive the system, with its parameters detailed in Tables A1, A2 and A3 of the Supplementary Information 1. Starting from this simplified speed setpoint, the performance of the applied control strategy is assessed through the results depicted in Figs.14, 15, 16 and 17.These figures provide a detailed comparison between the conventional DTC and its enhanced version employing an ANN. Figure 14 illustrates the speed responses of both approaches, highlighting their respective rapidity and precision.Subsequently, Fig. 15 presents the torque responses, While Fig. 16 presents the stator and rotor flux responses for each technique, enabling a deeper evaluation of their dynamic behavior.Finally, Fig. 17 The speed responses indicate that both control methods, conventional DTC and ANN-DTC, are generally able to track the speed setpoint imposed by the EV driver throughout the simulation, despite the variations in the EV system load torque.However, noticeable differences emerge during abrupt changes in the setpoint.The ANN-DTC control demonstrates faster and more precise responses compared to conventional DTC, particularly during acceleration and deceleration phases.During these periods of rapid variation, the ANN-DTC control more accurately achieves the target speed imposed by the EV driver, with smaller deviations from the setpoint.

63The zoomed sections of Fig. 14 provide a detailed observation of these differences.For instance, in the interval from 16.25 to 20 s, the ANN-DTC control reaches the target speed with superior speed and accuracy, whereas the conventional DTC exhibits a slight delay and an overshoot of 1.8 km/h.Similarly, in other intervals, the ANN-DTC control demonstrates better stability in reaching the setpoint, with fewer oscillations and fluctuations around the target speed.This results in reduced torque variations and potentially improved energy efficiency for the system.The results presented in Fig. 15 demonstrate that for both control strategies, the electromagnetic torque generally follows the reference torque and aligns precisely with it during constant speed phases.However, during acceleration phases, the torque temporarily exceeds the reference value to compensate for the EV's inertia and overcome the resistive forces acting on it.Conversely, during deceleration, the motor generates a negative torque corresponding to a braking phase, operating in generator mode to convert mechanical energy into electrical energy, which is then stored in the battery.

64Additionally, the torque response remains accurate and stable across all three operating ranges low, medium, and high speeds.Furthermore, the ANN-DTC outperforms the conventional DTC in terms of precision and stability in tracking, significantly reducing ripple around the reference, even during abrupt variations.Specifically, the ANN-DTC considerably attenuates torque ripples compared to the conventional DTC.Measured ripple The zoom graphs confirm these performance gains, highlighting the ANN-DTC's capability to effectively limit oscillations and achieve the reference torque more rapidly and with greater accuracy.In the context of EVs, this improvement in torque stability and response quality contributes to enhanced energy efficiency, optimized power management, and an improved driving experience characterized by seamless operation and superior comfort.

65Figure 16 illustrates the responses of the two control strategies in terms of the stator and rotor fluxes, showing that for both the conventional DTC and ANN-DTC, the flux trajectories in the two-phase plane are generally circular, indicating good maintenance of flux amplitude in both cases.However, the ripple around these circular trajectories differs significantly: numerical results show that stator flux ripples are reduced from 0.1 Wb with the conventional DTC to 0.028 Wb with ANN-DTC, representing an improvement of 72%.Similarly, rotor flux ripples decrease from 0.0218 Wb to 0.0057 Wb, corresponding to an improvement of 77.06%.

66This reduction in flux ripple is particularly advantageous for EV systems.While the fluxes remain circular in the two-phase plane for both control strategies, the reduced oscillations with ANN-DTC lead to lower magnetic and thermal losses, thereby enhancing energy efficiency.Furthermore, this improved stability minimizes vibrations and acoustic noise, increasing system comfort and reliability.Finally, the reduced ripple contributes to extending the lifespan of components in the traction chain, which is essential for ensuring the long-term performance of EV.

67Figure 17 illustrates the spectral analysis of the stator current and rotor current for both control strategies, highlighting the THD in each case.For the stator current, the THD is 10.4% with conventional DTC, compared to 4.05% with ANN-DTC, representing a significant harmonic reduction of 61.06%.Similarly, for the rotor current, the THD decreases from 11.24% with conventional DTC to 4.61% with ANN-DTC, achieving a reduction of 58.99%.These values underscore a notable decrease in harmonics when ANN-DTC is employed.

68Furthermore, the spectral analysis reveals that with conventional DTC, high-frequency harmonic components exhibit significantly higher amplitudes, contributing to increased energy losses and electromagnetic disturbances.Conversely, ANN-DTC effectively attenuates parasitic harmonics at higher frequencies, as confirmed by the zoomed-in sections of the graphs.

69The reduction in harmonics achieved by ANN-DTC offers several key benefits for EV traction systems.A lower THD reduces Joule losses and magnetic losses in the machine, thereby improving overall energy efficiency.Moreover, this harmonic reduction ensures smoother operation, a more stable motor torque, and reduced vibrations and acoustic noise, thereby enhancing driving comfort.By limiting parasitic harmonics, ANN-DTC also reduces electromagnetic interference and prolongs the lifespan of components, such as the inverter and the machine, thereby enhancing the reliability and durability of EVs.

70Table 2 further highlights the exceptional performance of ANN-DTC, which significantly outperforms conventional DTC across various key performance indicators, such as the elimination of speed overshoot, substantial reductions in torque and flux ripples, and effective attenuation of current total harmonic distortion.

71This comparative analysis confirms the superiority of ANN-DTC in terms of precision, efficiency, and control quality, making it an optimal solution for electric traction applications.

Comparative analysis

72To compare the advantages and limitations of the ANN-DTC control method with other control approaches, a quantitative analysis is presented in Table 3.The table provides a comprehensive comparative study of the performance of various DTC applied to DFIM.Four methods are examined: conventional DTC, Backstepping-DTC, FL-DTC, and the ANN-DTC.These approaches are evaluated based on key criteria such as speed stability, torque and flux ripples, algorithmic complexity, robustness, and computational time.This comparison highlights the specific strengths of each method and particularly emphasizes the significant benefits of ANN-DTC in the context of traction systems for EVs.

73In terms of speed control, ANN-DTC completely eliminates speed overshoot and undershoot, achieving zero deviation, compared to 1.8 km/h and 1.07 km/h respectively for conventional DTC.Backstepping-DTC also reduces these deviations to 0.1 km/h, demonstrating notable improvement.The absence of speed overshoot with ANN-DTC corresponds to a 100% enhancement over conventional DTC and Backstepping-DTC methods, confirming superior stability and responsiveness.For stator flux ripples (ψs\psi_sψs ), the proposed ANN-DTC method stands out with a lower value than FL-DTC, specifically 0.028 Wb versus 0.030 Wb.These results are substantially better than those obtained with conventional DTC and Backstepping-DTC methods, which exhibit ripples of 0.1 Wb, reflecting an improvement of approximately 64% compared to these traditional approaches.Concerning rotor flux ripples (ψr\psi_rψr ), ANN-DTC delivers the best performance, with a minimal value of 0.0050 Wb, outperforming FL-DTC (0.0057 Wb) and all other considered methods.This reduction corresponds to an impressive improvement of about 59% relative to conventional DTC techniques.These findings clearly demonstrate the superiority of ANN-DTC in minimizing flux fluctuations, which directly contributes to enhanced stability and control accuracycritical factors for optimizing EV traction system performance.

74From the perspective of algorithmic complexity, ANN-DTC exhibits simplicity comparable to conventional DTC, whereas Backstepping-DTC and FL-DTC are progressively more complex.This simplicity is a considerable advantage for practical implementation.

75In terms of robustness, ANN-DTC is classified as "very robust, " similarly to FL-DTC, maintaining stable performance under significant load variations, whereas conventional DTC and Backstepping-DTC are rated simply as robust.

76The comparison of computational times was conducted under a fixed simulation duration of 60 s to ensure homogeneous evaluation conditions.On this basis, ANN-DTC requires 1 min and 16 s of computational time, exceeding the durations for conventional DTC (39 s) and Backstepping-DTC (43 s), but remaining substantially shorter than the extensive computational time required by FL-DTC (1 h and 15 min).This balance between control performance and computational effort positions ANN-DTC as a promising solution for real-time applications in EV traction chains.

77In summary, ANN-DTC offers more stable and responsive control, significantly reduces torque ripples, enhances robustness, and combines ease of implementation with optimized computational time, making it a particularly effective solution for controlling DFIM in EVs.

Conclusion

78This article has demonstrated the significant advantages of ANN-DTC in the electric propulsion systems of EVs.Through simulations conducted in Matlab/Simulink, it was observed that this control strategy reduces torque and flux ripples, eliminates speed overshoots, and decreases the THD of currents, thereby outperforming conventional DTC.By optimizing dynamic performance and energy efficiency, ANN-DTC also enhances overall system stability and extends the lifespan of critical motor components.Future work will focus on implementing this strategy on a real-time hardware platform, such as the dSPACE DS1104 board, and integrating it into a real electric propulsion system.Thus, ANN-DTC establishes itself as an innovative and reliable solution to meet the needs of next-generation EVs, delivering improved performance, increased efficiency, and enhanced durability.---------------------------------

Fig. 2 .

79Fig. 2. Forces acting on a moving vehicle.

Fig. 1 .

80Fig. 1.The essential components of an EV drivetrain.

Fig. 4 .

81Fig. 4. illustrates the ANN architecture used for DTC.

Fig. 7 .

82Fig. 7. ANN-Based Switching Tables for Stator (a) and Rotor (b).

Fig. 6 .

83Fig. 6.ANN-Based Torque Controllers.

Fig. 5 .

84Fig. 5. ANN-Based Controllers for Stator Flux (a) and Rotor Flux (b).

Fig. 8 .

85Fig. 8. Overall Structure of the ANN-DTC Adapted to the DFIM for EV.

Fig. 9 .

86Fig. 9. ANN architecture of torque controller and its evolution training (a) Mean Square Error Performance (Training, Testing, Validation) (b).

|

87https://doi.org/10.1038/s41598-025-13362-zwww.nature.com/scientificreports/

Fig. 11 .

88Fig. 11.ANN architecture of stator and rotor switching tables controller and its evolution training (a) Mean Square Error Performance (Training, Testing, Validation) (b).

Fig. 10 .

89Fig. 10.ANN architecture of stator and rotor fluxes controllers and its evolution training (a) Mean Square Error Performance (Training, Testing, Validation) (b).

90focuses on the Total Harmonic Distortion (THD) of the stator and rotor currents, comparing the responses of ANN-DTC (17 (a, c)) and DTC (17 (b, d)) to analyze the impact of each strategy on the quality of the currents absorbed by the machine.

Fig. 13 .

91Fig. 13.Speed reference Profile Condensed to 60 s for Dynamic Performance Evaluation.

Fig. 12 .

92Fig. 12. Real-World Route of the EV Including Urban and Highway Conditions 41 .

Fig. 15 .

93Fig. 15.Torque responses of the conventional DTC and ANN-DTC.

Fig. 14 .

94Fig. 14.Speed responses of the conventional DTC and ANN-DTC.

Fig. 17 .

95Fig. 17.THD of stator currents for ANN-DTC (a) and DTC (b), and THD of rotor currents for ANN-DTC (c) and DTC (d).

Fig. 16 .

96Fig. 16.Flux responses of the conventional DTC and ANN-DTC.

Table 2 .

97Performance measures DTC classic and ANN-DTC.Regarding torque ripples, ANN-DTC achieves a significant reduction, with a value of 87.31 Nm, compared to 201.46 Nm for conventional DTC and Backstepping-DTC, and 115.82Nm for FL-DTC.This reduction represents an improvement of more than 56% relative to traditional DTC methods and nearly 25% compared to FL-DTC, ensuring smoother torque transmission and minimizing mechanical losses.

Table 3 .

98Comparative performance analysis of the proposed ANN-DTC method and other DTC techniques for DFIM.

참고문헌 35건

  1. Fundamentals of Vehicle Dynamics SAE International eBooks · SAE International · 2021 10.4271/9781468601770
  2. Fuzzy sliding mode controller for doubly fed induction motor speed control Journal of Fundamental and Applied Sciences · University of El Oued · 2015 10.4314/jfas.v2i2.6
  3. A new torque and flux control method for switched reluctance motor drives IEEE Transactions on Power Electronics · Institute of Electrical and Electronics Engineers · 2002 10.1109/tpel.2002.800968
  4. Dual Direct Torque Control of Doubly Fed Induction Machine IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2007 10.1109/tie.2007.900330
  5. High-performance direct torque control of an induction motor IEEE Transactions on Industry Applications · Institute of Electrical and Electronics Engineers · 1989 10.1109/28.25540
  6. Introduction of Doubly Fed Induction Machine in an Electric Vehicle Energy Procedia · Elsevier BV · 2013 10.1016/j.egypro.2013.07.123
  7. A Robust Adaptive Sliding-Mode Controller for Slip Power Recovery Induction Machine Drives 2006 10.1109/ipemc.2006.4778333
  8. Sensorless Field Oriented Control of Doubly Fed Induction Speed Drive 2007 10.1109/eurcon.2007.4400558
  9. A comparative experimental study of direct torque control based on adaptive fuzzy logic controller and particle swarm optimization algorithms of a permanent magnet synchronous motor The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2016 10.1007/s00170-016-9092-4
  10. Flux sliding mode control of a doubly fed induction machine European Conference on Power Electronics and Applications · 2005 10.1109/epe.2005.219569
  11. Comparative study between Sliding mode controller and Fuzzy Sliding mode controller in a speed control for doubly fed induction motor 2016 10.1109/ceit.2016.7929044
  12. DFIG wind turbine sliding mode control with exponential reaching law under variable wind speed International Journal of Electrical Power & Energy Systems · Elsevier BV · 2017 10.1016/j.ijepes.2017.10.018
  13. A Comprehensive Review of Wireless Charging Technologies for Electric Vehicles IEEE Transactions on Transportation Electrification · Institute of Electrical and Electronics Engineers · 2017 10.1109/tte.2017.2771619
  14. DTC-SVM Control for Permanent Magnet Synchronous Generator based Variable Speed Wind Turbine International Journal of Power Electronics and Drive Systems/International Journal of Electrical and Computer Engineering · Institute of Advanced Engineering and Science (IAES) · 2017 10.11591/ijpeds.v8.i4.pp1732-1743
  15. Steady-state analysis of a variable speed traction system using DFI-motor 2017 10.1109/sta.2017.8314920
  16. Real time control of induction motor using neural network 2018 10.1109/iccict.2018.8325873
  17. A Novel Blended State Estimated Adaptive Controller for Voltage and Current Control of Microgrid Against Unknown Noise IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2951429
  18. Electric vehicles standards, charging infrastructure, and impact on grid integration: A technological review Renewable and Sustainable Energy Reviews · Elsevier BV · 2019 10.1016/j.rser.2019.109618
  19. Robust FOC Analysis of a DFIM using an SMFO: Application to Electric Vehicles 2019 10.1109/scc47175.2019.9116160
  20. A Robust Nonlinear Control Based on SMC Approach for Doubly-Fed Induction Motor Drives Used in Electric Vehicles 2019 10.1109/scc47175.2019.9116183
  21. An Improved Dual DTC of Double-Inverter-Fed WRIM Drive With Reduced Torque Ripple by Emulating Equivalent 3L NPC VSC IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2021 10.1109/tie.2021.3088379
  22. ANN deployed DTC for Enhanced Torque Performance on IM based EV Drive 2021 10.1109/aced50605.2021.9462263
  23. Improved direct torque control strategy performances of electric vehicles induction motor International Journal of Power Electronics and Drive Systems/International Journal of Electrical and Computer Engineering · Institute of Advanced Engineering and Science (IAES) · 2022 10.11591/ijpeds.v13.i2.pp716-723
  24. Advancements and Future Prospects of Electric Vehicle Technologies: A Comprehensive Review Complexity · Hindawi Publishing Corporation · 2022 10.1155/2022/3304796
  25. Comparative Study between Cost Functions of Genetic Algorithm Used in Direct Torque Control of a Doubly Fed Induction Motor Applied Sciences · Multidisciplinary Digital Publishing Institute · 2022 10.3390/app12178717
  26. Comprehensive Review of Recent Advancements in Battery Technology, Propulsion, Power Interfaces, and Vehicle Network Systems for Intelligent Autonomous and Connected Electric Vehicles Energies · Multidisciplinary Digital Publishing Institute · 2023 10.3390/en16062925
  27. Direct Torque Control for Doubly Fed Induction Motor Driven Electric Vehicle Lecture notes in networks and systems · Springer International Publishing · 2023 10.1007/978-3-031-29860-8_86
  28. Improved twelve sectors DTC strategy of induction motor drive using Backstepping speed controller and P-MRAS stator resistance identification-design and validation Alexandria Engineering Journal · Elsevier BV · 2023 10.1016/j.aej.2023.08.077
  29. Effectiveness of Sliding Mode Control for a variable Speed Wind System Using DFIM 2023 10.1109/iceeat60471.2023.10426238
  30. DTC-FOC Hybrid Controller to Control the Speed and Torque of BLDC Motor 2019 Innovations in Power and Advanced Computing Technologies (i-PACT) · 2023 10.1109/i-pact58649.2023.10434633
  31. Energy Management Systems for Electric Vehicles: A Comprehensive Review of Technologies and Trends IEEE Access · Institute of Electrical and Electronics Engineers · 2024 10.1109/access.2024.3371483
  32. Higher performance enhancement of direct torque control by using artificial neural networks for doubly fed induction motor e-Prime - Advances in Electrical Engineering Electronics and Energy · Elsevier BV · 2024 10.1016/j.prime.2024.100537
  33. A comprehensive review of energy harvesting technologies for sustainable electric vehicles Environmental Science and Pollution Research · Springer Science+Business Media · 2024 10.1007/s11356-024-34865-8
  34. Direct Torque Control-Based Backstepping Speed Controller of Doubly Fed Induction Motors in Electric Vehicles: Experimental Validation IEEE Access · Institute of Electrical and Electronics Engineers · 2024 10.1109/access.2024.3462821
  35. Improved direct torque control of doubly fed induction motor in electric vehicles using fuzzy logic controllers e-Prime - Advances in Electrical Engineering Electronics and Energy · Elsevier BV · 2024 10.1016/j.prime.2024.100882