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

Adaptive speed control of BLDC motors for enhanced electric vehicle performance using fuzzy logic

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. R. Shenbagalakshmi — Department of Electrical & Electronics Engineering, Vel Tech Multi Tech Dr.Rangarajan Dr.Sakunthala Engineering College, Avadi, Chennai, India
  2. Shailendra K. Mittal — Department of Electrical Engineering, G H Raisoni College of Engineering and Management, Pune, India
  3. J. Subramaniyan — Department of Electrical & Electronics Engineering, SRM TRP Engineering College, Tiruchirappalli, India
  4. Veerappan Vengatesan — Department of Electrical & Electronics Engineering, SRM TRP Engineering College, Tiruchirappalli, India
  5. D. Manikandan — Department of Mechanical Engineering, SRM TRP Engineering College, Tiruchirappalli, India
  6. Krishnaraj Ramaswamy — Center for global health research, Saveetha institute of medical and technical sciences, Saveetha University, Chennai, India. r.krishnarajmech@dadu.edu.et|||Department of Mechanical Engineering, College of Engineering and Technology, Dambi Dollo University, Dambi Dollo, Ethiopia. r.krishnarajmech@dadu.edu.et
DOI
10.1038/s41598-025-90957-6
저널
Scientific Reports
발행년도
2025
발행기관
Nature Portfolio
피인용수
18
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41598-025-90957-6
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W4409392533

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Abstract This study investigates the use of a closed-loop speed control approach based on fuzzy logic for brushless DC (BLDC) motors in Electric Vehicle (EV) applications. The primary objective is to overcome the drawbacks of traditional control techniques by improving dynamic performance, response time, and stability under changing load conditions and parameter uncertainty. Nonlinearities, load fluctuations, and transient overshoots are common problems for traditional PID controllers, which results in suboptimal performance of EV propulsion systems. A state-space modelling technique for the BLDC motor is used in this study to address these issues, incorporating a Fuzzy Logic Controller (FLC) for accurate speed control. The superiority of FLC over PID controllers is demonstrated by a comparison study that was verified by simulation and hardware implementation. The results show that FLC produces smooth speed transitions, no overshoot, and zero steady-state error with a settling time of only 0.05s, as in contrast to 0.1s for the PID controller. Under load fluctuations, the FLC’s torque response stays constant at about 1.05 Nm, however the PID controller shows noticeable oscillations and a larger torque ripple. Additionally, FLC guarantees smooth speed regulation throughout a broad range (1500–3000 rpm), greatly increasing motor lifespan and energy efficiency. When compared to the PID controller, the experimental validation shows that FLC performs robustly in real-time EV settings, exhibiting smoother speed transitions, faster disturbance rejection, and improved adaptability. According to these results, FLC is a better option for BLDC motor speed control in EV applications, guaranteeing effective propulsion, less mechanical stress, and more driving stability. As a potential control strategy for upcoming EV technologies, the proposed strategy not only improves energy utilisation but also strengthens system reliability.

본문 73,710자

본문 펼치기
## OPEN # Adaptive speed control of BLDC motors for enhanced electric vehicle performance using fuzzy logic R. Shenbagalakshmi <sup>1</sup> , Shailendra Kumar Mittal <sup>2</sup> , J. Subramaniyan <sup>3</sup> , V. Vengatesan <sup>3</sup> , D. Manikandan <sup>4</sup> & Krishnaraj Ramaswamy <sup>5,6</sup> <sup></sup> This study investigates the use of a closed-loop speed control approach based on fuzzy logic for brushless DC (BLDC) motors in Electric Vehicle (EV) applications. The primary objective is to overcome the drawbacks of traditional control techniques by improving dynamic performance, response time, and stability under changing load conditions and parameter uncertainty. Nonlinearities, load fluctuations, and transient overshoots are common problems for traditional PID controllers, which results in suboptimal performance of EV propulsion systems. A state-space modelling technique for the BLDC motor is used in this study to address these issues, incorporating a Fuzzy Logic Controller (FLC) for accurate speed control. The superiority of FLC over PID controllers is demonstrated by a comparison study that was verified by simulation and hardware implementation. The results show that FLC produces smooth speed transitions, no overshoot, and zero steady-state error with a settling time of only 0.05s, as in contrast to 0.1s for the PID controller. Under load fluctuations, the FLC’s torque response stays constant at about 1.05 Nm, however the PID controller shows noticeable oscillations and a larger torque ripple. Additionally, FLC guarantees smooth speed regulation throughout a broad range (1500–3000 rpm), greatly increasing motor lifespan and energy efficiency. When compared to the PID controller, the experimental validation shows that FLC performs robustly in real-time EV settings, exhibiting smoother speed transitions, faster disturbance rejection, and improved adaptability. According to these results, FLC is a better option for BLDC motor speed control in EV applications, guaranteeing effective propulsion, less mechanical stress, and more driving stability. As a potential control strategy for upcoming EV technologies, the proposed strategy not only improves energy utilisation but also strengthens system reliability. Keywords BLDC motor, Electric vehicles, Fuzzy logic controller, Membership functions, PID controller, Propulsion system, Speed control The growing popularity of electric vehicles (EVs) has created a dramatic change in the global energy landscape. In 2023, over 14 million electric vehicles were sold globally, and this year, sales are predicted to increase by another 35% <sup>1</sup> . It is forecasted that the share of the overall auto market accounted for by electric vehicles will increase from approximately 4% in 2020 to 14% in 2022, 18% in 2023 and is expected to reach 23.5% in 2025, then 45.3% in 2030, and 68.4% in 2035, due to their fast development <sup>2</sup> . Electric motor technologies, especially brushless DC (BLDC) motors, which are essential to EV propulsion systems, are advancing as a result of this change, which is also changing the automotive sector. Because of their exceptional efficiency, small size, and regenerative braking characteristics, BLDC motors have become the preferred choice for EV applications. BLDC motors provide lower mechanical complexity, greater energy efficiency, and zero tailpipe emissions in contrast to internal combustion engines <sup>3</sup> . 1Department of Electrical & Electronics Engineering, Vel Tech Multi Tech Dr.Rangarajan Dr.Sakunthala Engineering College, Avadi, Chennai, India. <sup>2</sup> Department of Electrical Engineering, G H Raisoni College of Engineering and Management, Pune, India. <sup>3</sup> Department of Electrical & Electronics Engineering, SRM TRP Engineering College, Tiruchirappalli, India. <sup>4</sup> Department of Mechanical Engineering, SRM TRP Engineering College, Tiruchirappalli, India. 5Department of Mechanical Engineering, College of Engineering and Technology, Dambi Dollo University, Dambi Dollo, Ethiopia. <sup>6</sup> Center for global health research, Saveetha institute of medical and technical sciences, Saveetha University, Chennai, India. <sup></sup> email: r.krishnarajmech@dadu.edu.et Because of their high power density, reliability, and accurate control, Permanent Magnet Brushless DC (PMBLDC) motors stand out among BLDC motors and are perfect for the dynamic needs of electric vehicles <sup>4</sup> . However, the BLDC motors lack mechanical commutators, they require complex electronic control systems, which come with drawbacks such as sensor dependence, electromagnetic interference (EMI), and expensive startup expenses <sup>5</sup> . Recent advancements in research focus on innovative BLDC motor speed control techniques that can address the above challenges. Despite their widespread use, traditional techniques such as proportional-integral-derivative (PID) control can suffer from non-linearities and dynamic load situations <sup>6</sup> . On the other hand, sophisticated methods like Fuzzy Logic Control (FLC), Sliding Mode Control (SMC), and Model Predictive Control (MPC) have demonstrated promise in improving motor performance under various operating conditions <sup>7–13</sup> . In particular FLC has gained interest because of its resilience to non-linearities and uncertainties, which makes it a strong option for EV applications <sup>14</sup> . There are still a number of gaps in the literature despite these developments. For example, sensor-based control techniques are more expensive and complex, but they provide great precision <sup>15</sup> . On the other hand, sensorless control methods reduce the dependency on hardware, but they are vulnerable to changes in parameters and external disruptions <sup>16</sup> . Furthermore, there is also ongoing research into integrating regenerative braking systems with sophisticated control algorithms, especially in order to maximise energy recovery and improve overall system efficiency <sup>17</sup> . Advanced control techniques including Model Predictive Control (MPC), Sliding Mode Control (SMC), and Direct Torque Control (DTC) pose a number of difficulties for EV applications despite their greater performance. For example, MPC necessitates the real-time resolution of intricate optimisation issues, which is computationally demanding and challenging to execute in systems with limited resources <sup>18</sup> . Similar to this, SMC is less appropriate for extremely dynamic situations since it requires accurate system modelling and may have chattering effects, despite its robustness <sup>19</sup> . Despite its ability to respond quickly to torque, DTC is sensitive to changes in parameters and frequently produces large torque ripple <sup>13</sup> . In contrast, fuzzy logic control eliminates the need for intricate mathematical models and offers a reliable and computationally economical solution for nonlinear systems <sup>20</sup> . In EV applications, where load and environmental conditions can change quickly, its capacity to manage uncertainty and adjust to changing operating circumstances makes it especially appropriate <sup>21</sup> . Fuzzy logic control was chosen for this study because of these benefits as well as its simplicity and convenience of use. Key performance parameters for various motor types, such as induction motors, brushed DC motors, permanent magnet synchronous motors (PMSM), and BLDC motors, are compared in Table 1 to further emphasise the benefits of BLDC motors in EV applications. The comparison demonstrates how BLDC motors are a better option for contemporary electric vehicles due to their higher efficiency, torque density, and control flexibility <sup>3,4,7</sup> . For instance, BLDC motors provide improved torque density, which is essential for EV propulsion systems, and have higher efficiency (90–95%) than brushed DC motors (75–85%). Their applicability for dynamic EV applications is boosted by their compatibility with sophisticated control schemes including fieldoriented control and sliding mode control <sup>5,22</sup> . The following are some of the key contributions of our research: <u>Sl.No</u> <u>Measure of Performance</u> <u>Induction motor</u> <u>Brushed DC motor</u> Permanent Magnet Synchronous <u>motor</u> <u>BLDC motor</u> <u>Ref</u> <u>1</u> <u>Power Capacity(kW)</u> <u>From Moderate to High</u> <u>Moderate</u> <u>From Moderate to High</u> <u>From Moderate to High</u> 3,4 2 Convergence with Electric Adequate Adequate Amplified Amplified 1,3 <u>Vehicle Systems</u> <u>3</u> <u>Efficiency in percentage</u> <u>85–92%</u> <u>75–85%</u> <u>92–98%</u> <u>90–95%</u> 4,7 Voltage Control for Direct Field Oriented Control or Slide Mode 4 Control Approach Voltage Regulation Field Oriented Control <u>Torque Control (DTC)</u> <u>Control</u> 5,22 <u>5</u> <u>Density of Torque (Nm/kg)</u> <u>Modest</u> <u>Modest</u> <u>extremely high</u> <u>Enhanced</u> 3,7 <u>6</u> <u>Loudness Index</u> <u>Moderate</u> <u>Moderate</u> <u>Low</u> <u>Low</u> 4,14 <u>7</u> <u>Range of Speed (RPM)</u> <u>From Moderate to High</u> <u>Modest</u> <u>High</u> <u>High</u> 4,6 <u>8</u> <u>Functional Sturdiness</u> <u>Modest</u> <u>Modest</u> <u>Higher</u> <u>Higher</u> 7,15 Comparatively larger 9 Dimensions and weight <u>in size</u> Comparatively larger Light weighted and compact in size Light weighted and compact in size 4,19 <u>in size</u> 10 Flexibility in Changing Good Good Excellent Excellent 7,18 <u>Demands</u> <u>11</u> <u>Heat Transferrence</u> <u>Sufficient</u> <u>Modest</u> <u>Highly efficient</u> <u>Highly efficient</u> 4,19 <u>12</u> <u>Pricing</u> <u>A reasonable</u> <u>Low to Moderate</u> <u>Between Moderate and High</u> <u>High</u> 3,4 <u>13</u> <u>Complexity of Controller</u> <u>Simpler</u> <u>Simpler</u> <u>Complicated</u> <u>Complicated</u> 7,19 <u>14</u> <u>Regenerative Braking</u> <u>Limited</u> <u>Limited</u> <u>Increased capacity</u> <u>Increased capacity</u> 16,20 15 Sensor Type Sensorless Brush and Encoders or Resolver sensors with a Hall effect or encoders 6,15 <u>commutator</u> Table 1 . Comparison of different characteristics required for electric vehicles for BLDC motor with different motors. - To address limitations of traditional PID controllers, such as performance degradation under dynamic loads, a fuzzy logic controller (FLC) was developed for robust closed-loop speed regulation of BLDC motors in electric vehicles. - BLDC motor dynamics are thoroughly modelled using state-space approaches, offering a solid basis for FLC implementation. - Comparison of the proposed FLC with conventional PID controllers, emphasising enhancements in speed control, energy economy, and load-variability adaptability . - The effectiveness of the FLC in practical EV applications has been validated by hardware experiments and simulations . - insights on how to combine fuzzy logic control with regenerative braking systems, providing a technique to improve overall system efficiency and energy recovery. This paper is organized as follows: Sect. 2 presents the literature review, Section 3discusses the State space model of BLDC motor, Sect. 4 describes the closed loop operation of BLDC motor for EV applications, Sect. 5 illustrates the simulation results and discussion, Sect. 6 demonstrates the Experimental results and discussion, Sect. 7 demonstrates the handling Real-Time Computational Constraints in FLC for Embedded EV Motor Controllers, followed by the conclusion and references. Literature review According to recent studies, electric vehicles (EVs) are crucial for sustainable transportation, and their performance can only be improved with efficient motor control techniques. The International Energy Agency’s Global EV Outlook 2023 highlights the need for enhanced control approaches to maximize energy efficiency and integration with renewable sources, while also outlining the EVs’ explosive expansion. Additionally, Richardson (2013) examines how EVs and the electric grid interact, emphasizing the need for advanced modeling techniques to make this integration easier. Studies by Husain et al. (2021) and Mohammad & Jaber (2022) compare and examine several electric drive systems, with a concentration on brushless DC (BLDC) motors because of their controllability and efficiency benefits. These studies emphasize how crucial effective control techniques are to optimizing electric motor performance in automotive applications. Furthermore, Mounica & Obulesu (2022) investigate hybrid power management techniques, demonstrating how various energy sources can be integrated and how intelligent control techniques can maximize fuel efficiency. Advanced electric machines and EV control systems are examined critically by Liu et al. (2021), who uncover robustness and efficiency flaws in existing approaches. Sensorless control methods for BLDC motors are discussed by Gupta & Pandey (2012), whose work stress the necessity of reliable and effective control algorithms. All of the studies show that even though control strategies have been better understood and improved, there is still a great need for new methods, especially those that use fuzzy logic, which has shown to be more flexible and effective under a variety of circumstances (Ahmed et al., 2018; Anget et al., 2019). In general, there is agreement in the literature regarding the significance of developing control techniques for BLDC motors in EV applications. Even though a lot of research has compared conventional and modern control techniques, further empirical verification and investigation of fuzzy logic control’s practicality are required to close current gaps and improve the performance of electric vehicles. The research highlights how significant the brushless DC (BLDC) motors are to improving the efficiency and performance of electric vehicles (EVs). The exceptional efficiency, reliability, and compact size of BLDC motors make them popular and add to the overall efficacy of EV propulsion systems. Sensitivity to changes in load, performance nonlinearity, and the requirement for exact speed control, however, continue to be significant challenges. According to several researchers, conventional control techniques, such as proportional-integral-derivative (PID) controllers, frequently fail to sustain optimal performance in dynamic situations, resulting in problems like overshoot and instability. To overcome these limitations, Fuzzy Logic Control (FLC) is emerging as a favorable option and is increasingly gaining popularity. The flexibility and uncertainty-management capabilities of FLC make it an appealing substitute that enhances control accuracy and responsiveness in real-time applications. The operational efficiency and dependability of BLDC motors in electric vehicles might be greatly improved by FLC by successfully filling the gaps in current control approaches. This would open the door for more sophisticated and effective EV technologies. The outcomes from a number of research demonstrate that FLC is more versatile than typical PID control when it comes to managing nonlinear circumstances. These studies demonstrate smoother speed transitions and less torque ripple. By offering a comparative performance study and confirming conclusions using simulation and experimental data, this work expands on these findings. Table 2 provides an extensive summary of current approaches and highlights the latest advancements in this area of study. Different electric motors, each with unique benefits and drawbacks, have been investigated for EV applications. A comparison of various motor types according to significant performance metrics, as covered in earlier research, is given in Table 3. From the Table 3 it is understood that for Electric Vehicle propulsion, BLDC motors are the best choice due to their attractive balance between efficiency, density of power, and control flexibility among the other motor types investigated. Even though PMSMs are slightly more efficient (92–98%), BLDC motors are still very efficient (90– 95%) and have a number of benefits, such as a higher torque-to-weight ratio, less maintenance because they don’t require brushes, and accurate speed control through sophisticated control methods like Field-Oriented Control (FOC). Furthermore, BLDC motors provide regenerative braking, which enhances energy efficiency. They are a desirable choice for contemporary EV applications due to their small size, lightweight design, and affordability. <u>References</u> <u>Control Method</u> <u>Key Findings and challenges</u> <u>Gap identified</u> examines the effects of EVs on the grid and the Richardson (2013) <sup>2</sup> Methods of Modeling <u>incorporation of renewable energy</u> Advanced control techniques are required to address integration <u>issues.</u> Technologies for Electric Disparities in control robustness and efficiency among different Husain et al. (2021) <sup>3</sup> Challenges and trends in electric drives <u>Drives</u> <u>drive types.</u> Intelligent control methods are required to be addressed to to Techniques for combining several energy sources maximize energy use examines the challenges associated with sensorless Improved sensorless control techniques are required. <u>control methods.</u> evaluates sophisticated machinery and control Specific case studies lacking <u>schemes</u> Mohammad & Jaber (2022) <sup>4</sup> Mounica & Obulesu (2022) <sup>5</sup> Comparative Evaluation of various electric motors <u>for EVs</u> Power Management in Hybrid Energy systems <u>for EVs</u> explains several EV electric motors and highlights the benefits of BLDC. Comprehensive control strategies specifically designed for BLDC motors are required. Sensorless BLDC motor Gupta & Pandey (2012) <sup>6</sup> <u>control</u> Evaluation of cutting-edge Liu et al. (2021) <sup>7</sup> <u>electrical machines for Evs</u> Baranowski et al. development of reliable control schemes appropriate for practical The evaluation of EMI EMI mitigation for BLDC drives <u>(2021)</u> <sup>14</sup> <u>situations.</u> Shokri & Naderi Effective control algorithms that improve performance are Affordable Drives investigates basic BLDC motor drives. <u>(2017)</u> <sup>15</sup> <u>required.</u> <u>Nian et al. (2014)</u> <sup>16</sup> <u>Regenerative Braking</u> <u>explains EV regeneration systems.</u> <u>Control challenges in implementing efective regenerative braking.f</u> Evaluation of the efficacy of control methods in practical Neethu & Jisha (2012) <sup>17</sup> Comparative Analysis assesses different BLDC speed control techniques. <u>applications is required.</u> Comparing PI Control and It is necessary to compare with a broader range of control Ahmed et al. (2018) <sup>23</sup> Fuzzy logic improves speed control flexibility. <u>Fuzzy Logic</u> <u>strategies.</u> The efficiency of fuzzy tuning for speed stability is Anget et al. (2019) <sup>24</sup> Fuzzy-Tuned PID <u>demonstrated.</u> requirement for fuzzy-tuned control systems to be tested in real<u>world scenarios.</u> explains how to tune PID control using the ZieglerPatel (2020) <sup>25</sup> PID Tuning demand for sophisticated tuning methods tailored to various uses. <u>Nichols approach.</u> offers innovative fuzzy control techniques for BLDC Wang et al. (2022) <sup>8</sup> Dual Fuzzy Logic Systems <u>motors.</u> investigation of resilience and flexibility under various operational <u>circumstances.</u> Control strategies must be empirically validated in a variety of Pamuji et al. (2021) <sup>9</sup> Fuzzy Logic vs. ANN compares BLDC motor control designs. <u>settings.</u> Multi-objective PI Naqvi et al. (2024) <sup>10</sup> <u>Optimization</u> emphasizes energy-saving techniques for BLDC <u>control.</u> A better understanding of multi-objective optimization techniques <u>is needed.</u> It is necessary to thoroughly assess the effectiveness of hybrid <u>control techniques.</u> A comparison of performance that suggests the Mopidevi et al. (2024) <sup>11</sup> PI and ANFIS Comparison <u>possibility of hybrid approaches</u> evaluates fuzzy logic’s performance in BLDC motor Apribowo et al. (2021) <sup>12</sup> Applications of Fuzzy Logic Fuzzy logic must be applied thoroughly in a variety of EV settings. <u>control.</u> Tilt Integral Derivative Sayed et al. (2024) <sup>13</sup> <u>Control</u> presents novel control techniques to increase the New tactics must be validated and tested in real-world settings. <u>BLDC motor’s efficiency.</u> Advanced optimization approaches for optimal Potnuru et al. (2022) <sup>20</sup> Salp Swarm Algorithm <u>speed control</u> Extensive research on algorithm performance under various <u>circumstances is required.</u> Additional tactics are required for efficient control in applications Valle et al. (2020) <sup>21</sup> Digital Control Techniques explains methods for low inductance motor control. <u>with changing speed.</u> Table 2 . Summary of related researches for BLDC motor in EVs. <u>Sl.No</u> <u>Motor Type</u> <u>Advantages</u> <u>Limitations</u> <u>References</u> Less efficient (85–92%) than PM motors. Complex control systems, such as Vector Control and DTC, are necessary. <u>Increased generation of heat and energy losses.</u> Reduced efficiency (75–85%). Brush wear and upkeep are high. <u>A shorter lifespan and a reduced range of speeds.</u> High cost due to rare-earth magnets. Risk of demagnetization at high temperatures. Requires complex control strategies (FOC, SMC). Expensive compared to brushed DC and induction motors. It needs precise electronic control. <u>Sensor-based functionality (encoders, hall sensors).</u> Induction Motor 1 (IM) Brushed DC Motor 2 (BDC) Permanent Magnet 3 Synchronous Motor (PMSM) Brushless DC Motor 4 (BLDC) Sturdy design and excellent dependability. The power capacity ranges from moderate to high. It is less expensive than PM motors. <u>Appropriate for EV applications requiring high power.</u> Easy to operate and control. High torque at startup. <u>Easy to maintain and reasonably priced.</u> The highest efficiency, ranging from 92–98%. Compact design and high torque density. It runs smoothly and is precisely controlled. <u>Ideal for EVs with strong performance.</u> High efficiency (90–95%). Reduced maintenance (no brushes). Better heat dissipation due to its compact size. <u>Enhanced torque-speed characteristics.</u> 3,4,7 4,6,7 3,7,19 4,7,15 Table 3 . Comparison of electric motors for EV applications. Mathematical modelling of BLDC motor State-space modeling provides a mathematical representation of the dynamic behavior of a Brushless DC (BLDC) motor, which is essential for improving control strategies in electric vehicle applications. The statespace model is crucial for creating efficient control schemes since it offers a comprehensive explanation of the motor’s behavior. In order to express the BLDC motor’s governing equations in phase variables, the following equation is obtained: [ ] [ _VRS_ _VY S_ _VBS_ ] ] ] [ _irs_ _iys_ _ibs_ ] ] [ _Lrr_ _Lry_ _Lrb_ _Lyb_ _Lyy_ _Lyb_ _Lbr_ _Lby_ _Lbb_ + = [ _Rst_ 0 0 0 _Rst_ 0 0 0 _Rst_ _irs_ _iys_ _ibs_ + <sup>_<u>d</u>_</sup> _dt_ + <sup>_<u>d</u>_</sup> [ _er_ _ey_ _eb_ (1) Where _VRS, VY S, VBS_ are the phase voltages of the stator windings, _Rst_ is the resistance of the stator, _irs, iys, ibs_ are the phase currents of the stator windings, _Lrr, Lyy, Lbb_ are the self-mutual inductances of the phases R, Y and B respectively. _Lry, Lyband Lbr_ are the mutual inductances among the phases R, Y and B respectively. Similarly, _er, ey_ _and eb_ are the phase values of the back EMFs. It has been presumed that each and every winding has the similar resistance. Furthermore, it has been presumed that the rotor reluctance is expressed as follows if there isn’t an apparent rotor and it stays constant along an angle, _Lrr_ = _Lyy_ = _Lbb_ = _Lst_ (2) and similarly, _Lry_ = _Lyb_ = _Lbr_ = _Lyr_ = _Lby_ = _Lrb_ = _Mst_ (3) Substituting Eqs. (2) and (3) in Eq. (1), we get, [ ] [ _VRS_ _VY S_ _VBS_ ] ] ] [ _irs_ _iys_ _ibs_ ] ] [ _Lst_ _Mst_ _Mst_ _Mst_ _Lst_ _Mst_ _Mst_ _Mst_ _Lst_ + = [ _Rst_ 0 0 0 _Rst_ 0 0 0 _Rst_ _irs_ _iys_ _ibs_ + <sup>_<u>d</u>_</sup> _dt_ + <sup>_<u>d</u>_</sup> [ _er_ _ey_ _eb_ (4) Since the phase currents of the stator windings are balanced, i.e. _irs_ + _iys_ + _ibs_ = 0, then we can simplify the inductances as follows, _Mstiys_ + _Mstibs_ = _−Mstirs_ (5) The electromagnetic torque that is developed is given by, _Tem_ = <sup><u>(</u></sup> <sup>_<u>erirs</u>_</sup> <sup><u>+</u></sup> <sup>_<u>eyiys</u>_</sup> <sup><u>+</u></sup> <sup>_<u>ebibs</u>_</sup> <sup><u>)</u></sup> _ω_ _me_ The back ems are trapezoidal in nature and are described by the following equation, (6) (7) [ ] _er_ _ey_ _eb_ ] = _ω_ _meλ_ _me_ _fys_ ( _θ_ _ro_ ) [ _ffrsbs_ ( ( _θθ_ _roro_ )) Where _ω_ _me is_ the angular speed in radians per seconds is, _λ_ _me_ is the flux linkages, _θ_ _ro_ is the rotor position in radians. The functions _frs, fys,_ _fbs_ have the same shapes as that of the back ems. The dynamic equation of the motor-load system with intertia _Jb_, friction coefficient, _Bb_ and the load torque, _TL_ is given by, _Jb_ <sup>_<u>dω</u>_</sup> <sup>_<u>me</u>_</sup> (8) _dt_ + _Bbω_ _me_ = _Tem −_ _TL_ Position and speed of the electrical rotor are inter related by, _<u>dθ</u>_ _<u>ro</u>_ _<u>ro</u>_ = <sup>_<u>P</u>_</sup> _dt_ <u>2</u> <sup>_<u>P</u>_</sup> <u>2</u> <sup>_ω_</sup> <sup>_me_</sup> (9) where P is the motor pole number. When all pertinent equations are combined, the system’s state-space model is given by, _x_ ˙ ( _t_ ) = _Ax_ ( _t_ ) + _Bu_ ( _t_ ) + _Ce_ ( _t_ ) (10) Where the state variables are given by, _x_ ( _t_ ) = [ _irs_ _iys_ _ibs_ _ω_ _me_ _θ_ _ro_ ] (11) Consequently, the system matrices shown below, _Lst−−RMstst_ 0 0 _−_ <sup>_<u>λ</u>_</sup> _J_ <sup>_<u>me</u>_</sup> _b_ (12) _A_ =   _Lst−Mst_ _<u>λ</u>_ _<u>me</u>_ 0 _<u>λ</u>_ _<u>me</u>_ 0 _<u>λ</u>_ _<u>meLst−−RMstst</u>_ _−_ <sup>_<u>λ</u>_</sup> _J_ <sup>_<u>me</u>_</sup> _b_ _<u>−</u>_ <sup>_f_</sup> _<u>B</u>_ <sup>_bs_</sup> _<u>b</u>_ <sup>(</sup> <sup>_θ_</sup> <sup>_ro_</sup> <sup>)</sup> 00 _−RMstst_ 0 0 _−_ <sup>_<u>λ</u>_</sup> _J_ <sup>_<u>me</u>_</sup> _b_ <sup>_frs_</sup> <sup>(</sup> <sup>_θ_</sup> <sup>_ro_</sup> <sup>)</sup> 0 0 _Lst−−RMstst_ 0 _−_ <sup>_<u>λ</u>_</sup> _J_ <sup>_<u>me</u>_</sup> _b_ <sup>_fys_</sup> <sup>(</sup> <sup>_θ_</sup> <sup>_ro_</sup> <sup>)</sup> 0 _−Mst_ 0 _Lst−−RMstst_ 0 _−_ <sup>_<u>λ</u>_</sup> _J_ <sup>_<u>me</u>_</sup> _b_ <sup>_fys_</sup> <sup>(</sup> <sup>_θ_</sup> <sup>_ro_</sup> <sup>)</sup> 0 0 _<u>λ</u>_ _<u>me</u>_ 0 _<u>λ</u>_ _<u>meLst−−RMstst</u>_ _−_ <sup>_<u>λ</u>_</sup> _J_ <sup>_<u>me</u>_</sup> _b_ _<u>−</u>_ <sup>_f_</sup> _<u>B</u>_ <sup>_bs_</sup> _<u>b</u>_ <sup>(</sup> <sup>_θ_</sup> <sup>_ro_</sup> <sup>)</sup> 00 <sup>_rs_</sup> <sup>(</sup> <sup>_θ_</sup> <sup>_ro_</sup> <sup>)</sup> _Jb_ <sup>_fys_</sup> <sup>(</sup> <sup>_θ_</sup> <sup>_ro_</sup> <sup>)</sup> _Jb_ <sup>_fbs_</sup> <sup>(</sup> <sup>_θ_</sup> <sup>_ro_</sup> <sup>)</sup> _Jb_ 0 0 0 _<u>P</u>_ ~~2~~ 0 _Jmeb_ <sup>_frs_</sup> <sup>(</sup> <sup>_θ_</sup> <sup>_ro_</sup> <sup>)</sup> _<u>λJmeb</u>_ _Jmeb_ <sup>_fys_</sup> <sup>(</sup> <sup>_θ_</sup> <sup>_ro_</sup> <sup>)</sup> _<u>λJmebL</u>_ _<u>meLst−Mst</u>_ _<u>−Bb</u>_ _Jb_ <sup>_fbs_</sup> <sup>(</sup> <sup>_θ_</sup> <sup>_ro_</sup> <sup>)</sup> _Jb_ _<u>P</u>_ ~~2~~ 0    (13)   _B_ =   <u>1</u> 0 0 0 _Lst−_ 0 _Mst_ <u>1</u> 0 0 0 _Lst−_ 0 _Mst_ <u>1</u> 0 0 0 _Lst−_ 0 _Mst_ <u>1</u> _Lst−Mst_   (14)   _C_ =     <u>1</u> 0 0 _Lst−_ 0 _Mst_ <u>1</u> 0 0 _Lst−_ 0 _Mst_ <u>1</u> _Lst−Mst_   (15)   _u_ =     _VRS_ _VY S_ _VBS_ _TL_ _er_ _ey_ _eb_ ] _e_ = [ (16) Thus the above equations describe the state modeling of a BLDC motor <sup>26</sup> . The Fuzzy Logic Controller’s (FLC) performance is largely dependent on the accuracy of the state-space model. Its impact is demonstrated by the following reasons: - The FLC can make better control decisions based on real system behaviour when the state-space model is more accurate because it gives a clear mathematical picture of the system dynamics. - FLC makes control decisions based on fuzzy rules. Suboptimal control actions may result from input variables (error and its derivative) that do not adequately reflect actual system conditions if the model is not representative of the system states. - A precise model guarantees that the FLC parameters are adjusted efficiently, improving stability and resilience. Inaccurate control actions brought on by an inadequate model could lead to oscillations or decreased performance. - The FLC can react to fluctuations and changes in system parameters more effectively and precisely when it has a well-defined state-space model. - The simulated performance of the FLC will be more in line with experimental findings if the state-space model closely resembles the behaviour of real-world systems. This will lessen the need for intensive real-world testing and fine-tuning. Closed loop operation of BLDC motor for EV applications In order to develop efficient closed-loop control systems in electric vehicles (EVs), it is essential to understand the dynamic behavior of BLDC motors as determined by mathematical modeling. Optimizing control techniques and guaranteeing accurate torque, position, and speed management are made possible by having a solid understanding of the state-space representation and equations regulating the motor’s operation. The closed-loop control system block diagram for a BLDC motor in an electric vehicle is shown in Fig. 3. In an electric vehicle (EV), a closed-loop control system for a Brushless DC (BLDC) motor uses feedback techniques to optimize and manage the motor’s performance. The objective is to maintain exact control over the motor’s torque, position, and speed to ensure the electric vehicle runs smoothly and effectively. The following is an explanation of the closed-loop operation: Different kinds of sensors are used to collect vital data regarding the functioning of the motor. Typical sensors include a position sensor (such as a Hall effect sensor) to ascertain the rotor position, a speed sensor to measure the motor’s speed, and occasionally a temperature sensor to track the motor’s temperature. The data from the sensors is processed by a digital signal processor (DSP) or microcontroller in the control system. This controller functions as the brain of the system, making decisions depending on input. The system requires a reference input, which is frequently set by the driver or the control system of a vehicle. This could be the required speed, position, or torque. The controller compares the actual motor state as determined by the sensors with the intended reference input. This information is used to calculate the signal of error, which shows the discrepancy between the desired and actual conditions. The controller processes the error signal and decides how to modify the motor action to minimise the error using a control method, generally known as a proportional-integral-derivative, or PID, controller. The power electronics of the motor receive control signals from the controller, which modify the electrical current passing through the motor windings. Consequently, the motor’s speed, position, or torque are adjusted to align it with the desired reference input. The sensors are always giving the controller feedback, hence the process is continuous. The controller makes adjustments in real time to maintain the motor’s intended level of operation. By making sure the BLDC motor operates efficiently and dynamically adjusts to variations in load or operating conditions, this closed-loop control system contributes to assuring the overall performance and stability of the electric vehicle. The operational workflow and complete control interface of the suggested speed control system for the Brushless DC (BLDC) motor in electric vehicle applications are shown in Fig. 1. The components, their interconnections, and pertinent mathematical models are covered in detail in the sections that follow. Information flow and component interaction _Inverter stage_ To power the BLDC motor, the inverter transforms the DC supply into the three-phase AC output that is needed. Pulse Width Modulation (PWM) signals produced by the control algorithm control this stage. To create the necessary phase currents, the inverter alternates the current flowing across the motor windings using semiconductor switches, usually IGBTs or MOSFETs. The inverter’s switching function can be represented mathematically as follows: _Vrn_ = _SrVdc,_ _Vyn_ = _SyVdc,_ _Vbn_ = _SbVdc_ (17) Where _Sr_ _,_ _Sy_ _,_ _Sb_ indicate the DC link voltage and the switching states (0 or 1) for each phase. _BLDC motor dynamics_ The inverter generates phase currents that power the BLDC motor. The phase-specific dynamic voltage equation is as follows: _Va_ = _RaIa_ + _La_ <sup>_<u>dI</u>_</sup> _dt_ <sup>_<u>a</u>_</sup> <sup>+</sup> <sup>_Ea_</sup> (18) where Va is the applied phase voltage, Ra is the resistance per phase, La is the inductance per phase, Ia is the phase current and Ea is the back emf. The back emf is given by, _Ea_ = _Keω_ _m_ (19) where Ke is the back emf constant and _ω_ _m_ is the angular velocity of the rotor.Hall and Speed Sensors. Fig. 1 . Closed-Loop control of Electric vehicle drive system with BLDC motor. _Hall and speed sensors_ For commutation, the rotor position feedback provided by the Hall sensors is crucial. By measuring the time between successive Hall sensor signals, the speed sensor determines the motor speed. The speed control block receives the feedback signals, which are continuously monitored, and makes dynamic modifications. Control algorithm interface _Speed controller_ The speed error signal, which is calculated as the difference between the reference speed and the observed speed, is sent to the speed controller: _e_ ( _t_ ) = _ω_ _ref_ _−_ _ω_ _m_ (20) The following control law is used by a proportional-integral-derivative (PID) controller to generate the control input: _u_ ( _t_ ) = _Kpe_ ( _t_ ) + _Ki_ ∫0 _t_ _e_ ( _τ_ ) _dτ_ + _Kd_ <sup>_<u>de</u>_</sup> <sup><u>(</u></sup> <sup>_<u>t</u>_</sup> <sup><u>)</u></sup> (21) _dt_ Where Kp is the proportional gain, Ki is the integral gain and Kd is the derivative gain. u(t) is the control input that establishes the PWM signals’ duty cycle that power the inverter. _PWM control unit_ The PWM control unit converts the inverter switches’ duty cycles from the control input. This procedure creates the necessary PWM signals by comparing the control signal with a high-frequency carrier waveform. Mathematical model for the BLDC motor The motor’s electromagnetic torque is proportional to the phase current and is given by, _Te_ = _KT Ia_ (22) and the governing equations of the motor load dynamics is given by, + _Bω_ _m_ (23) _Te −_ _TL_ = _J_ <sup>_<u>dω</u>_</sup> _dt_ <sup>_<u>m</u>_</sup> Where KT is the torque constant, TL is the load torque, J is the moment of inertia and B is the damping ratio. Feedback loop The control system maintains the desired motor speed by operating in a closed-loop arrangement. The following are the feedback loop’s main phases: a. Speed Error Calculation: To calculate the speed error, the measured speed and the reference speed are com pared. b. Control Action: To provide the control input, the PID controller analyses the speed error. c. PWM Generation: To power the inverter, the control input is transformed into PWM signals. d. Motor Response: To run the motor at the required speed, the inverter output regulates the phase currents. e. Monitoring: To provide precise and dynamic speed management, the rotor position and speed are continu ously monitored. By constantly adapting to changes in load, supply voltage, and other disturbances, this closed-loop technology guarantees reliable speed control. Let’s discuss PID controller and Fuzzy logic controller based speed control operation in detail <sup>22</sup> . _PID controller_ PID controllers efficiently regulate motor speed by using proportional, integral, and derivative components in feedback loops. PID controllers have been shown to be capable of managing dynamic fluctuations, which guarantees BLDC motors have reliable and responsive speed control. Their flexibility to adjust to various operating circumstances makes them a preferred choice in many industrial applications.Optimization of PID parameters are crucial which enhances system responsiveness and performance, making them critical in electric vehicles. These parameters in turn maintains consistent speed control. Additionally, external factors like temperature and load variations might impact performance, necessitating regular modifications and fine-tuning. The output of a PID controller can be mathematically expressed as, _u_ ( _t_ ) = _kpe_ ( _t_ ) + _ki_ _t_ 0 ∫ _t_ _e_ ( _τ_ ) _dτ_ + _kd_ <sup>_<u>de</u>_</sup> <sup><u>(</u></sup> <sup>_<u>t</u>_</sup> <sup><u>)</u></sup> 0 _dt_ <sup><u>(</u></sup> <sup>_<u>t</u>_</sup> <sup><u>)</u></sup> (24) _dt_ where _kp_ is the proportional gain, _ki_ is the integral gain, and _kd_ is the derivative gain. To achieve the desired system performance, these parameters must be properly tuned <sup>25</sup> . There are several ways to get the ideal values for <u>Controllers</u> <u>Kp</u> <u>Ti</u> <u>Td</u> P-type _LTzz_ _<u>∞</u>_ 0 PI-type 0 _._ 9 _L_ <sup>_<u>Tz</u>_</sup> _<u>z</u>_ ~~<u>0</u>~~ _<u>Lz.</u>_ ~~<u>3</u>~~ 0 PID-type 1 _._ 2 _L_ <sup>_<u>Tz</u>_</sup> _<u>z</u>_ 2 _Lz_ 0 _._ 5 _Lz_ Table 4 . ZN tuning rules. Fig. 2 . Fuzzy Logic Controller. _kp_, _ki_ and _kd_, including model-based techniques and trial-and-error. Table 4 summarizes the Ziegler-Nichols method’s tuning parameters based on the plant’s transient response characteristics. _Fuzzy logic controller_ Performance can be improved when BLDC motors are integrated with a fuzzy logic controller (FLC), particularly in non-linear and unexpected systems. FLCs use a rule-based methodology that converts input variables into control signals by utilizing expert knowledge to efficiently handle variations in load and voltage. This technique minimizes sudden changes in motor operation, which is essential for applications requiring high precision, and enables FLCs to deliver smooth and accurate control. Because of their adaptability, they can be adjusted to maximize motor performance under varying operating circumstances. Furthermore, FLCs can be integrated with other control techniques to produce hybrid systems that enhance stability and response times substantially. Figure 2 depicts the fuzzy logic controller’s schematic diagram. The FLC functions in three main stages: 1. Fuzzification: Transforms clear input data into fuzzy sets, expressing the imprecision and ambiguity of the real world. The FLC is more adaptable than conventional controllers since it can represent a greater range of input situations by giving membership degrees to input variables. 2. Fuzzy Inference: interprets fuzzy input using pre-established rules, allowing for context-aware decision-mak ing. This procedure improves overall performance by enabling the controller to make informed decisions based on past data and present conditions. 3. Defuzzification: Converts fuzzy output into accurate control signals by applying weighted average or cen troid methods. This stage guarantees that the output is both comprehensible and actionable, allowing the FLC to successfully use control strategies in practical situations. <u>e</u> _/∆_ <u>e</u> <u>NB</u> <u>NM</u> <u>NS</u> <u>ZO</u> <u>PS</u> <u>PM</u> <u>PB</u> <u>NB</u> <u>PB</u> <u>PB</u> <u>PM</u> <u>PM</u> <u>PM</u> <u>ZO</u> <u>ZO</u> <u>NM</u> <u>PB</u> <u>PM</u> <u>PM</u> <u>PM</u> <u>ZO</u> <u>ZO</u> <u>ZO</u> <u>NS</u> <u>PM</u> <u>PM</u> <u>PM</u> <u>ZO</u> <u>ZO</u> <u>ZO</u> <u>NM</u> <u>ZO</u> <u>PM</u> <u>PM</u> <u>ZO</u> <u>ZO</u> <u>ZO</u> <u>NM</u> <u>NM</u> <u>PS</u> <u>PM</u> <u>ZO</u> <u>ZO</u> <u>ZO</u> <u>NM</u> <u>NM</u> <u>NM</u> <u>PM</u> <u>ZO</u> <u>ZO</u> <u>ZO</u> <u>NM</u> <u>NM</u> <u>NM</u> <u>NB</u> <u>PB</u> <u>ZO</u> <u>ZO</u> <u>NM</u> <u>NM</u> <u>NM</u> <u>NB</u> <u>NB</u> Table 5 . Fuzzy logic control rule base. Fig. 3 . Block diagram of Fuzzy Logic Controller. In applications where precise mathematical modeling is difficult, FLCs are extremely beneficial in improving the stability and effectiveness of BLDC motor control systems. They are an essential technology in contemporary motor control applications because of their capacity to effectively control under a variety of circumstances and handle uncertainty. Simulation results and discussion MATLAB/Simulink is used to simulate BLDC motor speed control utilising both fuzzy logic controller and traditional PID controller The BLDC motor used for analysis is of 2 kW capacity with voltage rating of 48 V and the rated speed of 1500 rpm which is considered for the EV application. The following presumptions guide the design of the fuzzy logic controller scheme: The error (e) and change in error (∆e) are the input variables taken into consideration. The difference between the BLDC motor’s actual speed and the intended (reference) speed is known as the error, and the error signal’s rate of change is known as the error signal change. Similarly the output variables are considered as the change in duty cycle ( _∆Duty_ ) and it is defined as the rate of variation in the Pulse Width Modulation (PWM) signal’s duty cycle that is sent to the motor controller. The membership function and the rule base for the BLDC motor speed control using FLC is given in Table 5. Where NB is Negative Big, NM is Negative Medium, NS is Negative Small, ZO is Zero, PS is Positive Small, PM is Positive Medium, and PB is Positive Big. From Table 4 it is understood that the each input and output variable is given a linguistic name (e.g., NB, NM, NS, ZO, PS, PM, PB) to represent a particular state or situation. Fuzzifying the inputs and outputs for fuzzy logic processing is aided by membership functions, which specify the extent to which a value belongs to each linguistic word. The rule base establishes the mapping between linguistic terms for the input variables and their combinations for the output variable. The linguistic term for the output variable is contained in each cell of the rule base table, and it is determined by combining the linguistic terms for the input variables. A common algorithm that specifies the optimal crisp value based on a fuzzy set is the centre of area or centroid approach, which is used to find the area of fuzzy sets in order to achieve the crisp output. The block diagram of the fuzyy logic controller for BLDC speed control implemented using MATLAB/Simulink is shown in Fig. 3. From Fig. 3 it is understood that the error and change in error are considered as input variables and the duty cycle is considered as the output variable. Based on the membership function as illustrated in Table 4, the rules are defined and are executed. The membership functions for the input, error input and the control output are as illustrated in Fig. 4 (a),4(b) and 4(c) respectively. To ascertain the motor’s true speed at any given moment, real-time feedback on the rotor position and speed is provided by the Hall sensor data. Following a comparison of this speed data with the reference or intended speed, the Fuzzy Logic Controller (FLC) receives two crucial inputs: (i) Error (): The discrepancy between the actual speed determined by the Hall sensors and the reference (in tended) speed. (ii) Error Change (Δ): The rate at which the error is changing in relation to the target speed, indicating whether the motor is speeding up or slowing down. Fig. 4 . ( a ). Membership functions for the Input Variable “Error”. ( b ) Membership functions for the Input Variable “DeltaError”. ( c ) Membership functions for the Output Variable “ControlSignal”. Then, using the predefined membership functions displayed in Fig. 7(a) and 7(b), these inputs, and Δe, are fuzzified (transformed into fuzzy linguistic variables). Linguistic phrases that characterize the system’s state, such as Positive Small (PS), Zero (ZO), or Negative Big (NB), are linked to each input. Utilizing the fuzzy rule foundation Following fuzzification, the inputs are compared to the rule base (Table 4), where each rule associates a particular combination of e and Δe with an output, in this case the duty cycle change (ΔDuty). In essence, this set of rules specifies how the controller should react to every possible combination of speed error and error change rate in order to get the motor speed closer to the target value. For instance, the rule base may produce a Positive Big (PB) for ΔDuty, suggesting a big increase in the PWM duty cycle to swiftly boost motor speed, if the speed is much below the reference speed (huge negative error) and the error is increasing (positive Δe). PWM control signal generation The fuzzy output is then transformed into a clear, actionable value by defuzzifying the output variable, ΔDuty. The PWM duty cycle, which regulates the average voltage and power delivered to the motor, can be precisely adjusted by the defuzzified output. The PWM signal that powers the motor is directly derived from this value, which was obtained from the rule base and improved through defuzzification. The output membership functions specify how much change can be made to the PWM duty cycle, as seen in Fig. 7(c). The PWM signal then applies this modification to the motor driver circuit, which determines the motor’s power level and speed. Periodic feedback loop By continuously receiving position and speed data from the Hall sensors, the FLC modifies the duty cycle in response to current conditions, and the motor reacts to these modifications, creating a continuous feedback loop. The technology provides dynamic and responsive control by repeating this procedure if the motor speed deviates once more. In conclusion, the measurement of actual speed and the creation of error signals depend on the data from Hall sensors. In order to maintain exact speed control, the FLC rule base uses these signals to calculate the ideal duty cycle adjustment, which is then translated to the PWM output that powers the motor. The results thus obtained for the above defined rules such as speed, torque, stator current and stator back emf are shown in the Fig. 5 (a), 5(b), 5(c) & 5(d) respectively. The speed of the motor is varied for two different values such as 0 rpm and 1500 rpm and also from 1500 rpm to 0 rpm as shown in Fig. 5 (a1) and Fig. 5(a2) respectively. The BLDC motor along with Fuzzy logic controller is able to achieve the desired speed at a very lesser time interval with a settling time of 0.05 s with very less or nearly zero steady state error. The speed waveform shows no overshoot or undershoots and the speed control thus obtained is dynamic and smooth, which is more desirable for the EV applications. The transition from one range of speed to other i.e. from 1500 rpm to 0 rpm and vice versa is taking place instantaneously and in a smoother fashion which is an added benefit for the EVs. Figure 5(b) shows the Electromagnetic torque waveform which shows a stable and steady variation without any fluctuations. The stator currents and the back emf are illustrated in the Fig. 5(c) and Fig. 5 (d) respectively. The corresponding speed, torque, stator currents and back emf waveforms for the BLDC motor with conventional PID controller is shown in Fig. 6(a),6(b),6(c) & 6(d) respectively. Figure 6a1 illustrates the speed response during start up of the BLDC motor obtained using conventional PID controller, When compared against that obtained using FLC (shown in Fig. 5a1), it is found that, FLC enables the motor to reach 1500 rpm with a faster rise time and minimal overshoot. FLC achieves the steady-state speed in about 0.28 s, which is faster than that achieved usibg PID control. On ther other hand by investigating the speed reversal response shown in Fig. 6a2 obtained using PID control demonstrates that the the FLC-controlled motor decelerates faster, reaching zero speed in 0.32 s. Furthermore, FLC exhibits reduced undershoot during the transition and smoother dynamic performance. The PID controller values thus designed are _kp_ = 0 _._ 02 _,_ _ki_ = 10 _and kd_ = 2 _._ 22 _×_ 10 <sup>_−_</sup> <sup>6</sup> and the corresponding values of Zero Time constant ( _Tz_ ) and the Lead Time constant ( _Lz_ ) are 0.000111 and 0.002 respectively. As is typical in complex or nonlinear systems like electric vehicles, the constants Tz and Lz derived from these gains are fixed for all operating situations, which could lead to less-than-ideal performance when the system dynamics change. When compared with the conventional PID controller the fuzzy logic controller performs well. From Fig. 9, though performance of PID controller is quite appreciable in terms of tracking the desired speeds, it shows some evidences of overshoots and undershoots. The torque and current waveforms shows some fluctuations also. The time domain specifications of both the controllers are illustrated in Table 5. From Table 6, it is understood that the settling time of the speed response for the motor with FLC is very less of the order of 0.05s as against the PID controller, whose settling time is 0.1s. Further it is observed that there are no overshoots or undershoots and the steady state error is also nil. On the other hand if we observe the speed response of the PID controller, there occurs the steady state error of the order of 0.6 rpm to 1 rpm. Both the FLC and PID controller are capable of tracking the references appropriately and additionally there is a smooth transition between the speed changes were observed with FLC which is much desirable for Electric vehicle operation. In addition to the aforementioned, a thorough analysis of the fuzzy logic controller (FLC) has been carried out by comparing it with other control systems such as sliding mode control (SMC), and model predictive control (MPC). In terms of faster rise and settling durations, zero overshoot, and no steady-state error, FLC performs better while retaining a moderate level of computing complexity, as shown in Table 7. On the other hand, MPC and SMC demonstrate competitive dynamic responses despite having larger computing demands. These comparisons highlight FLC’s efficacy and efficiency in enhancing system control dynamics. Table 7 lists Fig. 5 . ( a1, a2, b, c ) Rotor speed, Electromagnetic torque and Stator current of BLDC motor with Fuzzy Logic controller. ( d ) Back EMF (FLC). the main performance metrics and computational effectiveness for every control strategy along with pertinent research references. Experimental results and discussion The performance of a BLDC motor is evaluated based on its smooth starting under load conditions and its consistent input current. Figures 7 and 8 illustrate the stator current waveforms of the three phases and the Fig. 6 . ( a, b, c ) Rotor speed, Electromagnetic torque and Stator current of BLDC motor with PID controller. ( d ) Back EMF (PID Controller). controlled switching pulse generated by the conjunction of three Hall effect signals, respectively. These signals, generated by an integrated encoder based on the rotor’s position, are crucial for motor control. The current waveforms shown in Fig. 7 (a), 7(b) and 7(c) go in concurrence with the simulation results. The current waveforms thus measured are within the limits and it ensures that the BLDC motor is very much capable of managing the temperature thereby providing much better reliability and longevity. It also signifies that the electromagnetic noise and mechanical vibrations are under control. From the hall sensor signal shown in Fig. 8, Figure 6. (continued) <u>PID Controller</u> <u>Fuzzy Logic Controller</u> Ref. <u>Speed</u> <u>Actual Speed</u> Rise Actual <u>Time</u> <u>Settling Time</u> <u>Peak Over shoot</u> <u>Steady State Error</u> <u>Speed</u> <u>Rise Time</u> <u>Settling Time</u> <u>Peak Over shoot</u> <u>Steady State Error</u> <u>1000</u> <u>999.4</u> <u>0.5</u> <u>0.1</u> <u>0</u> <u>0.6</u> <u>1000</u> <u>0.01</u> <u>0.05</u> <u>0</u> <u>0</u> <u>1200</u> <u>1199</u> <u>0.55</u> <u>0.15</u> <u>0</u> <u>1</u> <u>1200</u> <u>0.015</u> <u>0.055</u> <u>0</u> <u>0</u> <u>1500</u> <u>1499</u> <u>0.56</u> <u>0.16</u> <u>0</u> <u>1</u> <u>1500</u> <u>0.015</u> <u>0.06</u> <u>0</u> <u>0</u> <u>2000</u> <u>2000</u> <u>0.7</u> <u>0.16</u> <u>0</u> <u>0</u> <u>2000</u> <u>0.016</u> <u>0.05</u> <u>0</u> <u>0</u> <u>2500</u> <u>2500</u> <u>0.9</u> <u>0.2</u> <u>0</u> <u>0</u> <u>2500</u> <u>0.02</u> <u>0.05</u> <u>0</u> <u>0</u> Table 6 . Comparison of time domain specifications of BLDC motor with FLC and PID controller. <u>Control Strategy</u> <u>Rise Time (s)</u> <u>Settling Time (s)</u> <u>Overshoot (%)</u> <u>Steady-State Error</u> <u>Computational Complexity</u> <u>Key References</u> <u>PID</u> <u>0.5</u> <u>0.1</u> <u>5%</u> <u>0.6 RPM</u> <u>Low</u> <u>[16], [22]</u> <u>Fuzzy Logic (FLC)</u> <u>0.01</u> <u>0.05</u> <u>0%</u> <u>0 RPM</u> <u>Moderate (Optimized)</u> <u>This Study, [12]</u> <u>Model Predictive Control (MPC)</u> <u>0.02</u> <u>0.06</u> <u>2%</u> <u>0.2 RPM</u> <u>High</u> <u>[18]</u> <u>Sliding Mode Control (SMC)</u> <u>0.03</u> <u>0.07</u> <u>1%</u> <u>0.1 RPM</u> <u>Moderate</u> <u>[20]</u> Table 7 . Comparative analysis of control strategies for system performance. it is observed that each phase is clearly displaced by an angle of 120◦.It is observed that it provides a more precise rotor position control for appropriate commutation. Therefore it enhances the efficiency and performance of the entire system. Figure 9 (a) and 9(b) shows the speed waveforms of the BLDC moto under no load and loaded conditions respectively. It is observed that the speed in Fig. 9(a) for unloaded condition increases more gradually and settles down faster at 0.4 s and similarly for the curve shown in Fig. 9(b) under loaded condition the speed Fig. 7 . ( a ) Stator Current for phase R, ( b ) Stator Current for phase Y, ( c ) Stator Current for phase B. control is smooth and desirable. Moreover it settles at 0.8 s without any distortion, thereby proving that fuzzy logic controller is one of the best choice for the closed loop speed control operation of the BLDC motor. It is found that the speed control thus obtained by using fuzzy logic controller is smooth, precise, ripple free, quick response time and stable. Additionally wide range of control ranging from 1500 rpm to 3000 rpm can be achieved, which makes the BLDC motor as one of the significant choices for Electric Vehicle applications. Figure 10 shows the gate pulses given using pulse width modulation. It ensures that the pulses are appropriate in such a way that the motor is capable of tracking the desired reference speed. The torque waveform for the BLDC motor under loaded conditions is shown in Fig. 11(a) & 11(b) respectively, emphasizing how torque pulsations are affected by both PID and fuzzy logic controllers. The Fuzzy Logic controller maintains a smooth and linear torque response with little noise or oscillations when a load is added at t = 0, increasing the initial torque to about 1.05 Nm. This suggests that the motor can manage abrupt load fluctuations with a faster recovery and stable performance thanks to the fuzzy logic controller’s ability to minimize torque ripple. On the other hand, there are noticeable oscillations in the torque waveform with the PID controller, which indicates greater torque pulsations. For electric vehicle applications that require steady and smooth torque production, these variations can lower operational smoothness, raise mechanical stress, and affect motor efficiency. The comparison demonstrates that the fuzzy logic controller considerably lowers torque pulsations in contrast to the PID controller, resulting in a motor operation that is more reliable and efficient. This feature enhances overall smoothness and control, reduces vibration, and makes driving an electric vehicle simpler and more enjoyable. The ability of the fuzzy logic controller to sustain constant torque under a range of loads emphasizes further how well-suited it is for EV applications that demand high precision and little ripple. Figure 12 shows the hardware set of BLDC motor speed control using fuzzy logic controller. The specifications of the BLDC motor used is as follows: BLDC Motor data (Experimental): stator phase resistance = 3.07 Ω stator phase inductance = 6.5 mH, Torque constant = 0.22 Nm/A, Po = 746 W; Io = 2.5, V = 310 V, _N_ = 3000 rpm, _P_ = 2. In this setup, a DC generator is connected to the shaft of the BLDC motor to produce load variation. The BLDC motor powers the DC generator, which transforms the motor’s mechanical energy into electrical energy. A resistive load bank is subsequently connected to the generator’s electrical output. The resistance in the load bank can be changed to accurately manage the load on the DC generator and, in turn, the BLDC motor. When Fig. 8 . Hall sensor signals (x-axis 5 s/div, y-axis 5 V/div). For Fig. 7(a), (b) &(c)- (x-axis 1 s/div, y-axis 5 A/ div). the resistance of the load bank is increased, the load on the generator increases thereby generating a higher torque demand on the BLDC motor and vice versa. With this technique, we can replicate actual operating circumstances in which the motor encounters abrupt or gradual variations in load. A digital storage oscilloscope (DSO) and a power analyser were among the measurement tools used to record voltage, current, and speed waveforms in order to record and examine the motor’s response to these circumstances. To track real-time torque variations, a torque sensor was also used.Thus, the configuration makes it possible to thoroughly assess how the PID and fuzzy logic controllers handle torque pulsations, especially when there are dynamic load variations. Because a DSP-based system was used to create the controllers, realtime control and a rapid reaction to load variations were guaranteed. The Fuzzy Logic controller’s ability to reduce torque ripple and ensure quick recovery from disturbances is demonstrated by the smooth and stable torque waveform seen in Fig. 12, which offers a more dependable and smoother performance for electric vehicle applications. The BLDC motor was operated under various load situations (no-load, moderate-load, and fullload) during the testing process, and the effectiveness of both controllers was assessed during several test cycles. Ten seconds were allotted to each test, during which time data was recorded and examined. In a nutshell this method of connecting a DC generator to a resistive load bank enables a realistic, regulated load variation, proving that the fuzzy logic controller is better at handling torque fluctuations than the PID controller. Handling real-time computational constraints in FLC for embedded EV motor controllers This section discusses the real-time computational difficulties involved in integrating the Fuzzy Logic Controller (FLC) in embedded EV motor controllers in order to supplement the experimental results. Since the Embedded systems usually have limited resources, FLC’s computational efficiency must be maximised in order to achieve precise and timely motor control. Fuzzy rule base and membership functions optimisation The number of fuzzy rules and membership functions are the crucial factors that affect the computational complexity of the FLC. The optimization of the FLC was implemented as follows: (i) Simple Rule Base: To capture the key control dynamics and also to minimise the computational load the essential rules were carefully derived from the rule set. (ii) Effective Membership Functions: Since the Gaussian and trapezoidal membership functions are more com plex, Triangular membership functions were used to make the computations more simpler and easier. Fig. 9 . ( a ) Rated speed waveform at 2500 rpm (x-axis 1 s/div, y-axis 500 rpm/div). ( b ) Speed waveform at 1500 rpm (x-axis 0.02 s/div, y-axis 750 rpm/div). By drastically lowering the amount of actions needed for each control cycle, these optimisations preserve control performance. Implementation of look-up table (LUT) The precomputed fuzzy rules the response obtained were stored in the Look up table to improve the performance significantly. The above technique eliminated the the requirement of real-time rule evaluation and defuzzification Fig. 10 . PWM gate pulses to VSI (x-axis 2.5 msec/div, y-axis 2 V/div). Fig. 11 . ( a ) Torque waveform of BLDC motor with PID controller and ( b ) Torque waveform of BLDC motor with FLC (x-axis 0.02 s/div, y-axis 1.01 Nm/div)). thereby allowing quicker control response. The LUT offers several advantages including, (i) instantaneous rule evaluation which in turn reduces the delay in computation by retrieving the control outputs fast, (ii)lesser usage of memory while maintaining control responses in higher resolution. Optimization of the hardware The TMS320C6713 DSP processor, which has a clock speed of 225 MHz and special resources for real-time motor control, was used to implement the FLC on a TMDSDSK6713 DSP Starter Kit.The significant optimization includes: (i) Utilisation of the DSP’s parallel processing capabilities, fuzzification, rule evaluation and defuzzification are done simultaneously. Fig. 12 . Experimental set up for speed control of BLDC motor. (ii) To ensure the minimal latency, the real time interrupts were given priority to complete the control tasks. (iii) Fixed-point arithmetic was used in place of floating-point operations to save processing time and memory use. Simplified techniques for defuzzification The weighted average method is used for the optimization of the defuzzification process.When compared with conventional centroid based methods, the weighted average method is computationally less intensive. This simplification guarantees the generation of control signals without sacrificing precision. Benchmarks and performance evaluation The TMDSDSK6713 DSP Starter Kit was used to assess the proposed FLC’s real-time computational efficiency. The following constitute crucial performance indices: (i) Computational time per control cycle: It is of the order of 0.02ms which is well within the acceptable time limit for the real time motor control. (ii) Control Response Time: It is of the order of 0.05s which proves its capability in handling the dynamically varying load more efficiently. (iii) Utilization of the Resources: Compared to a conventional FLC implementation without LUT optimisation, memory utilisation was lowered by 30%. Evaluation in comparison with PID controller A comparative analysis of the computational performance of the FLC and a traditional PID controller was conducted. Despite using less computing power, the PID controller performed worse in terms of control in dynamic operating environments. The optimised FLC is a better option for EV motor control since it was able to strike a compromise between control accuracy and computational economy. Through hardware-specific optimisations, rule-based optimisation, LUT implementation, and streamlined defuzzification approaches, the suggested FLC implementation successfully handles real-time computational limitations in embedded EV motor controllers. The results of the experiments performed on the TMDSDSK6713 DSP Starter Kit confirm that the optimised FLC provides greater control performance while satisfying the demanding real-time demands of EV applications. These results highlight FLC’s potential as a reliable and computationally effective solution for contemporary EV motor control systems. Limitation and future scope Limitation It should be noted that parameter variations brought on by elements like temperature changes and motor ageing are not taken into consideration by the state-space model developed in this work. Over time, these impacts may affect the accuracy of the control system and cause variations in motor performance. Consequently, even while the model offers a strong foundation for comprehending the dynamics of the motor in optimal circumstances, more research into the addition of these variable components may improve the model’s applicability in the real world. Future scope Hybrid control techniques may be investigated in the future to improve the accuracy and versatility of BLDC motor speed control. Fuzzy logic can be used in conjunction with more sophisticated methods such as model predictive control (MPC) or fractional-order PID (FOPID) to enhance dynamic responsiveness and disturbance rejection under various load scenarios. This hybrid technique is ideal for real-time EV applications because it guarantees more accurate speed regulation and robustness. Conclusion This study investigates the closed-loop control of BLDC motor speed control using a fuzzy logic controller to improve the dynamic performance of the motor for EV applications. The BLDC motor is modelled using the state space technique. The results thus obtained using a fuzzy logic controller are compared against the conventional PID controller. It is observed that the motor performance with the fuzzy logic controller outperforms that of the PID controller regarding smooth and continuous speed control, energy efficiency, dynamic, reliability, and adaptability to load disturbances. The output thus obtained using a fuzzy logic controller demonstrated superior performance parameters such as lesser settling time, no overshoots or undershoots, and almost zero steady-state error. In contrast, the motor with PID controller shows fluctuations as well as overshoots with longer settling time and shows some steady-state error. Above all the BLDC motor with fuzzy logic controller exhibits a smooth transition of speed for various load conditions thereby making the fuzzy logic controller the best choice for electric vehicle applications. The simulation results and hardware results are in concurrence with each other. Thus it is concluded that fuzzy logic-based speed control for BLDC motors is highly reliable, efficient with smooth speed control operation and stable irrespective of the load variations proving them the best choice for electric vehicles. Data availability The data used to support the findings of this study are included within the article. Received: 12 January 2025; Accepted: 17 February 2025 References 1. Global, I. E. A. EV Outlook : Executive Summary. ​h​t​t​p​s​: ​ / ​ /​w​w ​ w​.​i​e ​ a​.​or​g​/​r​e ​ ​ p​o​r ​ t​s ​ /​g​l​o ​ b​a ​ [l-​e​v​-](https://www.iea.org/reports/global-ev-outlook-2023/executive-summary) ​ ​ o​u​t ​ l​o ​ o​k​- ​ 2​0​2​3​/​e​x​e​c ​ u​t​i​v​e​-​s​u​m​m​a​r​y (2023). 2. Richardson, D. B. Electric vehicles and the electric grid: A review of modeling approaches, impacts, and renewable energy integration. _Renew. Sustain. Energy Rev._ 19, 247–254 (2013). 3. Husain, I. et al. Electric Drive Technology Trends, Challenges, and Opportunities for Future Electric Vehicles. Proc. IEEE 109(6): 1039–1059. (2021). 4. Mohammad, K. S. & Jaber, A. S. Comparison of electric motors used in electric vehicle propulsion system. _Indones J. Electr. Eng._ _Comput. Sci._ 27 (1), 11 (2022). 5. Mounica, V. & Obulesu, Y. P. Hybrid power management strategy with fuel cell, battery, and supercapacitor for fuel economy in hybrid electric vehicle application. _Energies_ 15 (12), 4185, 1–25 (2022). 6. Gupta, N. & Pandey, D. A. K. A review: sensorless control of brushless DC motor. _Int. J. Eng. Res. Technol._ 1, 1–6 (2012). 7. Liu, C., Chau, K. T., Lee, C. H. T. & Song, Z. A Critical Review of Advanced Electric Machines and Control Strategies for Electric Vehicles. Proc. IEEE 109(6): 1004–1028. (2021). 8. Wang, T. et al. A novel PID controller for BLDCM speed control using dual fuzzy logic systems with HSA optimization. _Sci. Rep._ 12, 11316 (2022). 9. Pamuji, F. A. et al. Comparison of BLDC motor controller design for electric vehicles using fuzzy logic controller and artificial neural network. _Przegląd Elektrotech_ 97, 1–9 (2021). 10. Naqvi, S. S. A. et al. Multi-objective optimization of PI controller for BLDC motor speed control and energy saving in electric vehicles: A constrained swarm-based approach. _Energy Rep._ 12, 402–417 (2024). 11. Mopidevi, S. et al. Design, control and performance comparison of PI and ANFIS controllers for BLDC motor driven electric vehicles. _Meas. : Sens._ 31, 101001 (2024). 12. Apribowo, C. H., B, Ahmad, M. & Maghfiroh, H. Fuzzy logic controller and its application in brushless DC motor (BLDC) in electric Vehicle - A review. _J. Electr. Electron. Inf. Commun. Technol. (JEEICT)_ 3 (1), 35–43 (2021). 13. Sayed, K., El-Zohri, H. H., Ahmed, A. & Khamies, M. Application of Tilt integral derivative for efficient speed control and operation of BLDC motor drive for electric vehicles. _Fract. Fract._ 8, 61 (2024). 14. Baranowski, J., Drabek, T., Piątek, P. & Tutaj, A. Diagnosis and mitigation of electromagnetic interference generated by a brushless Dc motor drive of an electric torque tool. _Energies_ 14 (8), 2149 (2021). 15. Shokri, G. & Naderi, E. Research on simulation and modeling of simple and cost-effective BLDC motor drives. _Int. J. Model. Simul._ 37 (1), 15–24 (2017). 16. Nian, X., Peng, F. & Zhang, H. Regenerative braking system of electric vehicle driven by brushless DC motor. _IEEE Trans. Ind._ _Electron._ 61 (10), 5798–5808 (2014). 17. Neethu, U. & Jisha, V. R. Speed control of Brushless DC Motor: A comparative study. 2012 IEEE Int. Conf. Power Electron. Drives Energy Syst (PEDES). Bengaluru, India, pp. 1–5. (2012). 18. Abd Aziz, M. A. et al. A review on BLDC motor application in electric vehicle (EV) using battery, supercapacitor and hybrid energy storage system: efficiency and future prospects. _J. Adv. Res. Appl. Sci. Eng. Technol._ 30 (2), 41–59 (2023). 19. Kerem, A. Design, implementation and speed Estimation of three-phase 2 kw out runner permanent magnet BLDC motor for ultralight electric vehicles. _Electr. Eng._ 103, 2547–2559 (2021). 20. Potnuru, D., Ayyarao, T. S. L., V, Kumar, L. V. S., Kumar, Y. V. & P, Pradeep, D. J. Salp swarm algorithm based optimal speed control for electric vehicles. _Int. J. Power Electron. Drive Syst. (IJPEDS)_ 13 (2), 755–763 (2022). 21. Valle, R. L., de Almeida, P. M., Fogli, G. A., Ferreira, A. A. & Barbosa, P. G. Simple and effective digital control of a Variable-Speed low inductance BLDC motor drive. _IEEE Access._ 8, 13240–13250 (2020). 22. Mahanty, R., Rout, S. S. & Panda, R. K. Proportional-Integral-Derivative control of brushless DC motor by using classical and modern heuristic optimization algorithms. _IET Electr. Power Appl._ 10 (4), 325–335 (2016). 23. Ahmed, A. H., Kotb, A. E. & S, Ali, A. M. Comparison between fuzzy logic and PI control for the speed of BLDC motor. _Int. J._ _Power Electron. Drive Syst. (IJPEDS)_ 9 (3), 1116–1123 (2018). 24. Anget, J., Kadalla, A. S., Dubukumah, G. & Zirata, B. K. Speed control of BLDC motor using fuzzy: tuned PID controller. _Commun._ _Appl. Electron._ 7 (29), 1–6 (2019). 25. Patel, V. V. Ziegler–Nichols tuning method Understanding the PID controller. _Resonance_ 1, 1385–1397 (2020). 26. Muruganantham, N. & Palani, S. State space modeling and simulation of sensorless permanent magnet BLDC motor. _Int. J. Eng._ _Sci. Technol._ 2 (10), 5099–5106 (2010). 27. Nikhitha, D., Chandra Sekhar, J. N. & Proc Modeling and simulation of induction motor drive performance using PI, ANN, and FLC. IEEE: 978-1-4799-2845-3. (2013). Author contributions “R.S, S.K.M, J.S, V.V, D.M., and R.K. All the authors contributed equally, and all authors reviewed the manuscript. Declarations Competing interests The authors declare no competing interests. Additional information Correspondence and requests for materials should be addressed to K.R. 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 4.0 International License, which permits use, sharing, adaptation, 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 changes were made. 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 http://creativecommons.org/licenses/by/4.0/.](http://creativecommons.org/licenses/by/4.0/) © The Author(s) 2025

섹션 본문 107문단 · 44,583자

(제목 없음)

1This study investigates the use of a closed-loop speed control approach based on fuzzy logic for brushless DC (BLDC) motors in Electric Vehicle (EV) applications.The primary objective is to overcome the drawbacks of traditional control techniques by improving dynamic performance, response time, and stability under changing load conditions and parameter uncertainty.Nonlinearities, load fluctuations, and transient overshoots are common problems for traditional PID controllers, which results in suboptimal performance of EV propulsion systems.A state-space modelling technique for the BLDC motor is used in this study to address these issues, incorporating a Fuzzy Logic Controller (FLC) for accurate speed control.The superiority of FLC over PID controllers is demonstrated by a comparison study that was verified by simulation and hardware implementation.The results show that FLC produces smooth speed transitions, no overshoot, and zero steady-state error with a settling time of only 0.05s, as in contrast to 0.1s for the PID controller.Under load fluctuations, the FLC's torque response stays constant at about 1.05 Nm, however the PID controller shows noticeable oscillations and a larger torque ripple.Additionally, FLC guarantees smooth speed regulation throughout a broad range (1500-3000 rpm), greatly increasing motor lifespan and energy efficiency.When compared to the PID controller, the experimental validation shows that FLC performs robustly in real-time EV settings, exhibiting smoother speed transitions, faster disturbance rejection, and improved adaptability.According to these results, FLC is a better option for BLDC motor speed control in EV applications, guaranteeing effective propulsion, less mechanical stress, and more driving stability.As a potential control strategy for upcoming EV technologies, the proposed strategy not only improves energy utilisation but also strengthens system reliability.

2• To address limitations of traditional PID controllers, such as performance degradation under dynamic loads, a fuzzy logic controller (FLC) was developed for robust closed-loop speed regulation of BLDC motors in electric vehicles.• BLDC motor dynamics are thoroughly modelled using state-space approaches, offering a solid basis for FLC implementation.• Comparison of the proposed FLC with conventional PID controllers, emphasising enhancements in speed control, energy economy, and load-variability adaptability .• The effectiveness of the FLC in practical EV applications has been validated by hardware experiments and simulations .• insights on how to combine fuzzy logic control with regenerative braking systems, providing a technique to improve overall system efficiency and energy recovery.

3This paper is organized as follows: Sect. 2 presents the literature review, Section 3discusses the State space model of BLDC motor, Sect. 4 describes the closed loop operation of BLDC motor for EV applications, Sect. 5 illustrates the simulation results and discussion, Sect.6 demonstrates the Experimental results and discussion, Sect.7 demonstrates the handling Real-Time Computational Constraints in FLC for Embedded EV Motor Controllers, followed by the conclusion and references.

Literature review

4According to recent studies, electric vehicles (EVs) are crucial for sustainable transportation, and their performance can only be improved with efficient motor control techniques.The International Energy Agency's Global EV Outlook 2023 highlights the need for enhanced control approaches to maximize energy efficiency and integration with renewable sources, while also outlining the EVs' explosive expansion.Additionally, Richardson (2013) examines how EVs and the electric grid interact, emphasizing the need for advanced modeling techniques to make this integration easier.

5Studies by Husain et al. (2021) and Mohammad & Jaber (2022) compare and examine several electric drive systems, with a concentration on brushless DC (BLDC) motors because of their controllability and efficiency benefits.These studies emphasize how crucial effective control techniques are to optimizing electric motor performance in automotive applications.Furthermore, Mounica & Obulesu (2022) investigate hybrid power management techniques, demonstrating how various energy sources can be integrated and how intelligent control techniques can maximize fuel efficiency.Advanced electric machines and EV control systems are examined critically by Liu et al. (2021), who uncover robustness and efficiency flaws in existing approaches.Sensorless control methods for BLDC motors are discussed by Gupta & Pandey (2012), whose work stress the necessity of reliable and effective control algorithms.All of the studies show that even though control strategies have been better understood and improved, there is still a great need for new methods, especially those that use fuzzy logic, which has shown to be more flexible and effective under a variety of circumstances (Ahmed et al., 2018;Anget et al., 2019).

6In general, there is agreement in the literature regarding the significance of developing control techniques for BLDC motors in EV applications.Even though a lot of research has compared conventional and modern control techniques, further empirical verification and investigation of fuzzy logic control's practicality are required to close current gaps and improve the performance of electric vehicles.The research highlights how significant the brushless DC (BLDC) motors are to improving the efficiency and performance of electric vehicles (EVs).The exceptional efficiency, reliability, and compact size of BLDC motors make them popular and add to the overall efficacy of EV propulsion systems.

7Sensitivity to changes in load, performance nonlinearity, and the requirement for exact speed control, however, continue to be significant challenges.According to several researchers, conventional control techniques, such as proportional-integral-derivative (PID) controllers, frequently fail to sustain optimal performance in dynamic situations, resulting in problems like overshoot and instability.To overcome these limitations, Fuzzy Logic Control (FLC) is emerging as a favorable option and is increasingly gaining popularity.The flexibility and uncertainty-management capabilities of FLC make it an appealing substitute that enhances control accuracy and responsiveness in real-time applications.The operational efficiency and dependability of BLDC motors in electric vehicles might be greatly improved by FLC by successfully filling the gaps in current control approaches.This would open the door for more sophisticated and effective EV technologies.The outcomes from a number of research demonstrate that FLC is more versatile than typical PID control when it comes to managing nonlinear circumstances.These studies demonstrate smoother speed transitions and less torque ripple.By offering a comparative performance study and confirming conclusions using simulation and experimental data, this work expands on these findings.

8Table 2 provides an extensive summary of current approaches and highlights the latest advancements in this area of study.

9Different electric motors, each with unique benefits and drawbacks, have been investigated for EV applications.A comparison of various motor types according to significant performance metrics, as covered in earlier research, is given in Table 3.

10From the Table 3 it is understood that for Electric Vehicle propulsion, BLDC motors are the best choice due to their attractive balance between efficiency, density of power, and control flexibility among the other motor types investigated.Even though PMSMs are slightly more efficient (92-98%), BLDC motors are still very efficient (90-95%) and have a number of benefits, such as a higher torque-to-weight ratio, less maintenance because they don't require brushes, and accurate speed control through sophisticated control methods like Field-Oriented Control (FOC).Furthermore, BLDC motors provide regenerative braking, which enhances energy efficiency.They are a desirable choice for contemporary EV applications due to their small size, lightweight design, and affordability. 2 Fuzzy-Tuned PID The efficiency of fuzzy tuning for speed stability is demonstrated.

11requirement for fuzzy-tuned control systems to be tested in realworld scenarios.

12Patel (2020) 25 PID Tuning explains how to tune PID control using the Ziegler-Nichols approach.demand for sophisticated tuning methods tailored to various uses.

Mathematical modelling of BLDC motor

13State-space modeling provides a mathematical representation of the dynamic behavior of a Brushless DC (BLDC) motor, which is essential for improving control strategies in electric vehicle applications.The statespace model is crucial for creating efficient control schemes since it offers a comprehensive explanation of the motor's behavior.In order to express the BLDC motor's governing equations in phase variables, the following equation is obtained:

14Where VRS, VY S, VBS are the phase voltages of the stator windings, Rst is the resistance of the stator, irs, iys, i bs are the phase currents of the stator windings, Lrr, Lyy, L bb are the self-mutual inductances of the phases R, Y and B respectively.Lry, L yb and L br are the mutual inductances among the phases R, Y and B respectively.Similarly, er, ey and e b are the phase values of the back EMFs.It has been presumed that each and every winding has the similar resistance.Furthermore, it has been presumed that the rotor reluctance is expressed as follows if there isn't an apparent rotor and it stays constant along an angle,

15and similarly,

16Substituting Eqs. ( 2) and (3) in Eq. ( 1), we get,

17Since the phase currents of the stator windings are balanced, i.e. irs + iys + i bs = 0, then we can simplify the inductances as follows,

18The electromagnetic torque that is developed is given by,

19The back ems are trapezoidal in nature and are described by the following equation,

20Where ω me is the angular speed in radians per seconds is, λ me is the flux linkages, θ ro is the rotor position in radians.The functions frs, fys, f bs have the same shapes as that of the back ems.

21The dynamic equation of the motor-load system with intertia J b, friction coefficient, B b and the load torque, TL is given by,

22Position and speed of the electrical rotor are inter related by,

23where P is the motor pole number.When all pertinent equations are combined, the system's state-space model is given by,

24Where the state variables are given by,

25Consequently, the system matrices shown below,

26| https://doi.org/10.1038/s41598-025-90957-6

27www.nature.com/scientificreports/

28Thus the above equations describe the state modeling of a BLDC motor 26 .

29The Fuzzy Logic Controller's (FLC) performance is largely dependent on the accuracy of the state-space model.Its impact is demonstrated by the following reasons:

30• The FLC can make better control decisions based on real system behaviour when the state-space model is more accurate because it gives a clear mathematical picture of the system dynamics.• FLC makes control decisions based on fuzzy rules.Suboptimal control actions may result from input variables (error and its derivative) that do not adequately reflect actual system conditions if the model is not representative of the system states.• A precise model guarantees that the FLC parameters are adjusted efficiently, improving stability and resilience.Inaccurate control actions brought on by an inadequate model could lead to oscillations or decreased performance.• The FLC can react to fluctuations and changes in system parameters more effectively and precisely when it has a well-defined state-space model.• The simulated performance of the FLC will be more in line with experimental findings if the state-space model closely resembles the behaviour of real-world systems.This will lessen the need for intensive real-world testing and fine-tuning.

Closed loop operation of BLDC motor for EV applications

31In order to develop efficient closed-loop control systems in electric vehicles (EVs), it is essential to understand the dynamic behavior of BLDC motors as determined by mathematical modeling.Optimizing control techniques and guaranteeing accurate torque, position, and speed management are made possible by having a solid understanding of the state-space representation and equations regulating the motor's operation.The closed-loop control system block diagram for a BLDC motor in an electric vehicle is shown in Fig. 3.In an electric vehicle (EV), a closed-loop control system for a Brushless DC (BLDC) motor uses feedback techniques to optimize and manage the motor's performance.The objective is to maintain exact control over the motor's torque, position, and speed to ensure the electric vehicle runs smoothly and effectively.The following is an explanation of the closed-loop operation:

32Different kinds of sensors are used to collect vital data regarding the functioning of the motor.Typical sensors include a position sensor (such as a Hall effect sensor) to ascertain the rotor position, a speed sensor to measure the motor's speed, and occasionally a temperature sensor to track the motor's temperature.The data from the sensors is processed by a digital signal processor (DSP) or microcontroller in the control system.This controller functions as the brain of the system, making decisions depending on input.The system requires a reference input, which is frequently set by the driver or the control system of a vehicle.This could be the required speed, position, or torque.The controller compares the actual motor state as determined by the sensors with the intended reference input.This information is used to calculate the signal of error, which shows the discrepancy between the desired and actual conditions.

33The controller processes the error signal and decides how to modify the motor action to minimise the error using a control method, generally known as a proportional-integral-derivative, or PID, controller.The power electronics of the motor receive control signals from the controller, which modify the electrical current passing through the motor windings.Consequently, the motor's speed, position, or torque are adjusted to align it with the desired reference input.The sensors are always giving the controller feedback, hence the process is continuous.

34The controller makes adjustments in real time to maintain the motor's intended level of operation.By making sure the BLDC motor operates efficiently and dynamically adjusts to variations in load or operating conditions, this closed-loop control system contributes to assuring the overall performance and stability of the electric vehicle.

35The operational workflow and complete control interface of the suggested speed control system for the Brushless DC (BLDC) motor in electric vehicle applications are shown in Fig. 1.The components, their interconnections, and pertinent mathematical models are covered in detail in the sections that follow.

Inverter stage

36To power the BLDC motor, the inverter transforms the DC supply into the three-phase AC output that is needed.Pulse Width Modulation (PWM) signals produced by the control algorithm control this stage.To create the necessary phase currents, the inverter alternates the current flowing across the motor windings using semiconductor switches, usually IGBTs or MOSFETs.The inverter's switching function can be represented mathematically as follows:

37Where Sr , Sy , S b indicate the DC link voltage and the switching states (0 or 1) for each phase.

BLDC motor dynamics

38The inverter generates phase currents that power the BLDC motor.The phase-specific dynamic voltage equation is as follows:

39where Va is the applied phase voltage, Ra is the resistance per phase, La is the inductance per phase, Ia is the phase current and Ea is the back emf.The back emf is given by,

40where Ke is the back emf constant and ω m is the angular velocity of the rotor.Hall and Speed Sensors.Hall and speed sensors For commutation, the rotor position feedback provided by the Hall sensors is crucial.By measuring the time between successive Hall sensor signals, the speed sensor determines the motor speed.The speed control block receives the feedback signals, which are continuously monitored, and makes dynamic modifications.

Speed controller

41The speed error signal, which is calculated as the difference between the reference speed and the observed speed, is sent to the speed controller:

42The following control law is used by a proportional-integral-derivative (PID) controller to generate the control input:

43Where Kp is the proportional gain, Ki is the integral gain and Kd is the derivative gain.u(t) is the control input that establishes the PWM signals' duty cycle that power the inverter.

PWM control unit

44The PWM control unit converts the inverter switches' duty cycles from the control input.This procedure creates the necessary PWM signals by comparing the control signal with a high-frequency carrier waveform.

Mathematical model for the BLDC motor

45The motor's electromagnetic torque is proportional to the phase current and is given by, Te = KT Ia (22) and the governing equations of the motor load dynamics is given by,

46Where K T is the torque constant, T L is the load torque, J is the moment of inertia and B is the damping ratio.

Feedback loop

47The control system maintains the desired motor speed by operating in a closed-loop arrangement.The following are the feedback loop's main phases:

48a. Speed Error Calculation: To calculate the speed error, the measured speed and the reference speed are compared.b.Control Action: To provide the control input, the PID controller analyses the speed error.c.PWM Generation: To power the inverter, the control input is transformed into PWM signals.d.Motor Response: To run the motor at the required speed, the inverter output regulates the phase currents.e. Monitoring: To provide precise and dynamic speed management, the rotor position and speed are continuously monitored.

49By constantly adapting to changes in load, supply voltage, and other disturbances, this closed-loop technology guarantees reliable speed control.Let's discuss PID controller and Fuzzy logic controller based speed control operation in detail 22 .

PID controller

50PID controllers efficiently regulate motor speed by using proportional, integral, and derivative components in feedback loops.PID controllers have been shown to be capable of managing dynamic fluctuations, which guarantees BLDC motors have reliable and responsive speed control.Their flexibility to adjust to various operating circumstances makes them a preferred choice in many industrial applications.Optimization of PID parameters are crucial which enhances system responsiveness and performance, making them critical in electric vehicles.These parameters in turn maintains consistent speed control.Additionally, external factors like temperature and load variations might impact performance, necessitating regular modifications and fine-tuning.The output of a PID controller can be mathematically expressed as,

51where kp is the proportional gain, ki is the integral gain, and k d is the derivative gain.To achieve the desired system performance, these parameters must be properly tuned 25 .There are several ways to get the ideal values for kp, ki and k d, including model-based techniques and trial-and-error.Table 4 summarizes the Ziegler-Nichols method's tuning parameters based on the plant's transient response characteristics.

Fuzzy logic controller

52Performance can be improved when BLDC motors are integrated with a fuzzy logic controller (FLC), particularly in non-linear and unexpected systems.FLCs use a rule-based methodology that converts input variables into control signals by utilizing expert knowledge to efficiently handle variations in load and voltage.This technique minimizes sudden changes in motor operation, which is essential for applications requiring high precision, and enables FLCs to deliver smooth and accurate control.Because of their adaptability, they can be adjusted to maximize motor performance under varying operating circumstances.Furthermore, FLCs can be integrated with other control techniques to produce hybrid systems that enhance stability and response times substantially.Figure 2 depicts the fuzzy logic controller's schematic diagram.The FLC functions in three main stages:

531. Fuzzification: Transforms clear input data into fuzzy sets, expressing the imprecision and ambiguity of the real world.The FLC is more adaptable than conventional controllers since it can represent a greater range of input situations by giving membership degrees to input variables.2. Fuzzy Inference: interprets fuzzy input using pre-established rules, allowing for context-aware decision-making.This procedure improves overall performance by enabling the controller to make informed decisions based on past data and present conditions.3. Defuzzification: Converts fuzzy output into accurate control signals by applying weighted average or centroid methods.This stage guarantees that the output is both comprehensible and actionable, allowing the FLC to successfully use control strategies in practical situations.In applications where precise mathematical modeling is difficult, FLCs are extremely beneficial in improving the stability and effectiveness of BLDC motor control systems.They are an essential technology in contemporary motor control applications because of their capacity to effectively control under a variety of circumstances and handle uncertainty.

Simulation results and discussion

54MATLAB/Simulink is used to simulate BLDC motor speed control utilising both fuzzy logic controller and traditional PID controller The BLDC motor used for analysis is of 2 kW capacity with voltage rating of 48 V and the rated speed of 1500 rpm which is considered for the EV application.The following presumptions guide the design of the fuzzy logic controller scheme:

55The error (e) and change in error (∆e) are the input variables taken into consideration.The difference between the BLDC motor's actual speed and the intended (reference) speed is known as the error, and the error signal's rate of change is known as the error signal change.Similarly the output variables are considered as the change in duty cycle (∆ Duty) and it is defined as the rate of variation in the Pulse Width Modulation (PWM) signal's duty cycle that is sent to the motor controller.The membership function and the rule base for the BLDC motor speed control using FLC is given in Table 5.

56Where NB is Negative Big, NM is Negative Medium, NS is Negative Small, ZO is Zero, PS is Positive Small, PM is Positive Medium, and PB is Positive Big.

57From Table 4 it is understood that the each input and output variable is given a linguistic name (e.g., NB, NM, NS, ZO, PS, PM, PB) to represent a particular state or situation.Fuzzifying the inputs and outputs for fuzzy logic processing is aided by membership functions, which specify the extent to which a value belongs to each linguistic word.The rule base establishes the mapping between linguistic terms for the input variables and their combinations for the output variable.The linguistic term for the output variable is contained in each cell of the rule base table, and it is determined by combining the linguistic terms for the input variables.A common algorithm that specifies the optimal crisp value based on a fuzzy set is the centre of area or centroid approach, which is used to find the area of fuzzy sets in order to achieve the crisp output.The block diagram of the fuzyy logic controller for BLDC speed control implemented using MATLAB/Simulink is shown in Fig. 3. From Fig. 3 it is understood that the error and change in error are considered as input variables and the duty cycle is considered as the output variable.Based on the membership function as illustrated in Table 4, the rules are defined and are executed.The membership functions for the input, error input and the control output are as illustrated in Fig. 4 (a),4(b) and 4(c) respectively.

58To ascertain the motor's true speed at any given moment, real-time feedback on the rotor position and speed is provided by the Hall sensor data.Following a comparison of this speed data with the reference or intended speed, the Fuzzy Logic Controller (FLC) receives two crucial inputs: (i) Error (): The discrepancy between the actual speed determined by the Hall sensors and the reference (intended) speed.(ii) Error Change (Δ): The rate at which the error is changing in relation to the target speed, indicating whether the motor is speeding up or slowing down.Then, using the predefined membership functions displayed in Fig. 7(a) and 7(b), these inputs, and Δe, are fuzzified (transformed into fuzzy linguistic variables).Linguistic phrases that characterize the system's state, such as Positive Small (PS), Zero (ZO), or Negative Big (NB), are linked to each input.

Utilizing the fuzzy rule foundation

59Following fuzzification, the inputs are compared to the rule base (Table 4), where each rule associates a particular combination of e and Δe with an output, in this case the duty cycle change (ΔDuty).In essence, this set of rules specifies how the controller should react to every possible combination of speed error and error change rate in order to get the motor speed closer to the target value.For instance, the rule base may produce a Positive Big (PB) for ΔDuty, suggesting a big increase in the PWM duty cycle to swiftly boost motor speed, if the speed is much below the reference speed (huge negative error) and the error is increasing (positive Δe).

PWM control signal generation

60The fuzzy output is then transformed into a clear, actionable value by defuzzifying the output variable, ΔDuty.The PWM duty cycle, which regulates the average voltage and power delivered to the motor, can be precisely adjusted by the defuzzified output.The PWM signal that powers the motor is directly derived from this value, which was obtained from the rule base and improved through defuzzification.The output membership functions specify how much change can be made to the PWM duty cycle, as seen in Fig. 7(c).The PWM signal then applies this modification to the motor driver circuit, which determines the motor's power level and speed.

Periodic feedback loop

61By continuously receiving position and speed data from the Hall sensors, the FLC modifies the duty cycle in response to current conditions, and the motor reacts to these modifications, creating a continuous feedback loop.The technology provides dynamic and responsive control by repeating this procedure if the motor speed deviates once more.In conclusion, the measurement of actual speed and the creation of error signals depend on the data from Hall sensors.In order to maintain exact speed control, the FLC rule base uses these signals to calculate the ideal duty cycle adjustment, which is then translated to the PWM output that powers the motor.

62The results thus obtained for the above defined rules such as speed, torque, stator current and stator back emf are shown in the Fig. 5 (a), 5(b), 5(c) & 5(d) respectively.The speed of the motor is varied for two different values such as 0 rpm and 1500 rpm and also from 1500 rpm to 0 rpm as shown in Fig. 5 (a 1 ) and Fig. 5(a 2 ) respectively.The BLDC motor along with Fuzzy logic controller is able to achieve the desired speed at a very lesser time interval with a settling time of 0.05 s with very less or nearly zero steady state error.The speed waveform shows no overshoot or undershoots and the speed control thus obtained is dynamic and smooth, which is more desirable for the EV applications.The transition from one range of speed to other i.e. from 1500 rpm to 0 rpm and vice versa is taking place instantaneously and in a smoother fashion which is an added benefit for the EVs. Figure 6a1 illustrates the speed response during start up of the BLDC motor obtained using conventional PID controller, When compared against that obtained using FLC (shown in Fig. 5a1), it is found that, FLC enables the motor to reach 1500 rpm with a faster rise time and minimal overshoot.FLC achieves the steady-state speed in about 0.28 s, which is faster than that achieved usibg PID control.On ther other hand by investigating the speed reversal response shown in Fig. 6a2 obtained using PID control demonstrates that the the FLC-controlled motor decelerates faster, reaching zero speed in 0.32 s.Furthermore, FLC exhibits reduced undershoot during the transition and smoother dynamic performance.

63The PID controller values thus designed are kp = 0.02, ki = 10 and k d = 2.22 × 10 −6 and the corresponding values of Zero Time constant ( Tz) and the Lead Time constant ( Lz) are 0.000111 and 0.002 respectively.As is typical in complex or nonlinear systems like electric vehicles, the constants Tz and Lz derived from these gains are fixed for all operating situations, which could lead to less-than-ideal performance when the system dynamics change.

64When compared with the conventional PID controller the fuzzy logic controller performs well.From Fig. 9, though performance of PID controller is quite appreciable in terms of tracking the desired speeds, it shows some evidences of overshoots and undershoots.The torque and current waveforms shows some fluctuations also.The time domain specifications of both the controllers are illustrated in Table 5.From Table 6, it is understood that the settling time of the speed response for the motor with FLC is very less of the order of 0.05s as against the PID controller, whose settling time is 0.1s.Further it is observed that there are no overshoots or undershoots and the steady state error is also nil.On the other hand if we observe the speed response of the PID controller, there occurs the steady state error of the order of 0.6 rpm to 1 rpm.Both the FLC and PID controller are capable of tracking the references appropriately and additionally there is a smooth transition between the speed changes were observed with FLC which is much desirable for Electric vehicle operation.

65In addition to the aforementioned, a thorough analysis of the fuzzy logic controller (FLC) has been carried out by comparing it with other control systems such as sliding mode control (SMC), and model predictive control (MPC).In terms of faster rise and settling durations, zero overshoot, and no steady-state error, FLC performs better while retaining a moderate level of computing complexity, as shown in Table 7.On the other hand, MPC and SMC demonstrate competitive dynamic responses despite having larger computing demands.These comparisons highlight FLC's efficacy and efficiency in enhancing system control dynamics.Table 7 lists controlled switching pulse generated by the conjunction of three Hall effect signals, respectively.These signals, generated by an integrated encoder based on the rotor's position, are crucial for motor control.

66The current waveforms shown in Fig. 7 (a), 7(b) and 7(c) go in concurrence with the simulation results.The current waveforms thus measured are within the limits and it ensures that the BLDC motor is very much capable of managing the temperature thereby providing much better reliability and longevity.It also signifies that the electromagnetic noise and mechanical vibrations are under control.From the hall sensor signal shown in Fig. 8, it is observed that each phase is clearly displaced by an angle of 120•.It is observed that it provides a more precise rotor position control for appropriate commutation.Therefore it enhances the efficiency and performance of the entire system.Figure 9 (a) and 9(b) shows the speed waveforms of the BLDC moto under no load and loaded conditions respectively.It is observed that the speed in Fig. 9(a) for unloaded condition increases more gradually and settles down faster at 0.4 s and similarly for the curve shown in Fig. 9(b) under loaded condition the speed control is smooth and desirable.Moreover it settles at 0.8 s without any distortion, thereby proving that fuzzy logic controller is one of the best choice for the closed loop speed control operation of the BLDC motor.It is found that the speed control thus obtained by using fuzzy logic controller is smooth, precise, ripple free, quick response time and stable.Additionally wide range of control ranging from 1500 rpm to 3000 rpm can be achieved, which makes the BLDC motor as one of the significant choices for Electric Vehicle applications.Figure 10 shows the gate pulses given using pulse width modulation.It ensures that the pulses are appropriate in such a way that the motor is capable of tracking the desired reference speed.

67The torque waveform for the BLDC motor under loaded conditions is shown in Fig. 11(a) & 11(b) respectively, emphasizing how torque pulsations are affected by both PID and fuzzy logic controllers.The Fuzzy Logic controller maintains a smooth and linear torque response with little noise or oscillations when a load is added at t = 0, increasing the initial torque to about 1.05 Nm.This suggests that the motor can manage abrupt load fluctuations with a faster recovery and stable performance thanks to the fuzzy logic controller's ability to minimize torque ripple.On the other hand, there are noticeable oscillations in the torque waveform with the PID controller, which indicates greater torque pulsations.For electric vehicle applications that require steady and smooth torque production, these variations can lower operational smoothness, raise mechanical stress, and affect motor efficiency.

68The comparison demonstrates that the fuzzy logic controller considerably lowers torque pulsations in contrast to the PID controller, resulting in a motor operation that is more reliable and efficient.This feature enhances overall smoothness and control, reduces vibration, and makes driving an electric vehicle simpler and more enjoyable.The ability of the fuzzy logic controller to sustain constant torque under a range of loads emphasizes further how well-suited it is for EV applications that demand high precision and little ripple.

69Figure 12 shows the hardware set of BLDC motor speed control using fuzzy logic controller.The specifications of the BLDC motor used is as follows: BLDC Motor data (Experimental): stator phase resistance = 3.07 Ω stator phase inductance = 6.5 mH, Torque constant = 0.22 Nm/A, Po = 746 W; Io = 2.5, V = 310 V, N = 3000 rpm, P = 2.

70In this setup, a DC generator is connected to the shaft of the BLDC motor to produce load variation.The BLDC motor powers the DC generator, which transforms the motor's mechanical energy into electrical energy.A resistive load bank is subsequently connected to the generator's electrical output.The resistance in the load bank can be changed to accurately manage the load on the DC generator and, in turn, the BLDC motor.When the resistance of the load bank is increased, the load on the generator increases thereby generating a higher torque demand on the BLDC motor and vice versa.With this technique, we can replicate actual operating circumstances in which the motor encounters abrupt or gradual variations in load.

71A digital storage oscilloscope (DSO) and a power analyser were among the measurement tools used to record voltage, current, and speed waveforms in order to record and examine the motor's response to these circumstances.To track real-time torque variations, a torque sensor was also used.Thus, the configuration makes it possible to thoroughly assess how the PID and fuzzy logic controllers handle torque pulsations, especially when there are dynamic load variations.Because a DSP-based system was used to create the controllers, realtime control and a rapid reaction to load variations were guaranteed.The Fuzzy Logic controller's ability to reduce torque ripple and ensure quick recovery from disturbances is demonstrated by the smooth and stable torque waveform seen in Fig. 12, which offers a more dependable and smoother performance for electric vehicle applications.The BLDC motor was operated under various load situations (no-load, moderate-load, and fullload) during the testing process, and the effectiveness of both controllers was assessed during several test cycles.Ten seconds were allotted to each test, during which time data was recorded and examined.

72In a nutshell this method of connecting a DC generator to a resistive load bank enables a realistic, regulated load variation, proving that the fuzzy logic controller is better at handling torque fluctuations than the PID controller.

Handling real-time computational constraints in FLC for embedded EV motor controllers

73This section discusses the real-time computational difficulties involved in integrating the Fuzzy Logic Controller (FLC) in embedded EV motor controllers in order to supplement the experimental results.Since the Embedded systems usually have limited resources, FLC's computational efficiency must be maximised in order to achieve precise and timely motor control.

Fuzzy rule base and membership functions optimisation

74The number of fuzzy rules and membership functions are the crucial factors that affect the computational complexity of the FLC.The optimization of the FLC was implemented as follows:

75(i) Simple Rule Base: To capture the key control dynamics and also to minimise the computational load the essential rules were carefully derived from the rule set.(ii) Effective Membership Functions: Since the Gaussian and trapezoidal membership functions are more complex, Triangular membership functions were used to make the computations more simpler and easier.By drastically lowering the amount of actions needed for each control cycle, these optimisations preserve control performance.

Implementation of look-up table (LUT)

76The precomputed fuzzy rules the response obtained were stored in the Look up table to improve the performance significantly.The above technique eliminated the the requirement of real-time rule evaluation and defuzzification thereby allowing quicker control response.The LUT offers several advantages including, (i) instantaneous rule evaluation which in turn reduces the delay in computation by retrieving the control outputs fast, (ii)lesser usage of memory while maintaining control responses in higher resolution.

Optimization of the hardware

77The TMS320C6713 DSP processor, which has a clock speed of 225 MHz and special resources for real-time motor control, was used to implement the FLC on a TMDSDSK6713 DSP Starter Kit.The significant optimization includes:

78(i) Utilisation of the DSP's parallel processing capabilities, fuzzification, rule evaluation and defuzzification are done simultaneously.(ii) To ensure the minimal latency, the real time interrupts were given priority to complete the control tasks.

79(iii) Fixed-point arithmetic was used in place of floating-point operations to save processing time and memory use.

Simplified techniques for defuzzification

80The weighted average method is used for the optimization of the defuzzification process.When compared with conventional centroid based methods, the weighted average method is computationally less intensive.This simplification guarantees the generation of control signals without sacrificing precision.

Benchmarks and performance evaluation

81The TMDSDSK6713 DSP Starter Kit was used to assess the proposed FLC's real-time computational efficiency.

82The following constitute crucial performance indices:

83(i) Computational time per control cycle: It is of the order of 0.02ms which is well within the acceptable time limit for the real time motor control.(ii) Control Response Time: It is of the order of 0.05s which proves its capability in handling the dynamically varying load more efficiently.(iii) Utilization of the Resources: Compared to a conventional FLC implementation without LUT optimisation, memory utilisation was lowered by 30%.

Evaluation in comparison with PID controller

84A comparative analysis of the computational performance of the FLC and a traditional PID controller was conducted.Despite using less computing power, the PID controller performed worse in terms of control in dynamic operating environments.The optimised FLC is a better option for EV motor control since it was able to strike a compromise between control accuracy and computational economy.Through hardware-specific optimisations, rule-based optimisation, LUT implementation, and streamlined defuzzification approaches, the suggested FLC implementation successfully handles real-time computational limitations in embedded EV motor controllers.The results of the experiments performed on the TMDSDSK6713 DSP Starter Kit confirm that the optimised FLC provides greater control performance while satisfying the demanding real-time demands of EV applications.These results highlight FLC's potential as a reliable and computationally effective solution for contemporary EV motor control systems.

Limitation and future scope Limitation

85It should be noted that parameter variations brought on by elements like temperature changes and motor ageing are not taken into consideration by the state-space model developed in this work.Over time, these impacts may affect the accuracy of the control system and cause variations in motor performance.Consequently, even while the model offers a strong foundation for comprehending the dynamics of the motor in optimal circumstances, more research into the addition of these variable components may improve the model's applicability in the real world.

Future scope

86Hybrid control techniques may be investigated in the future to improve the accuracy and versatility of BLDC motor speed control.Fuzzy logic can be used in conjunction with more sophisticated methods such as model predictive control (MPC) or fractional-order PID (FOPID) to enhance dynamic responsiveness and disturbance rejection under various load scenarios.This hybrid technique is ideal for real-time EV applications because it guarantees more accurate speed regulation and robustness.

Conclusion

87This study investigates the closed-loop control of BLDC motor speed control using a fuzzy logic controller to improve the dynamic performance of the motor for EV applications.The BLDC motor is modelled using the state space technique.The results thus obtained using a fuzzy logic controller are compared against the conventional PID controller.It is observed that the motor performance with the fuzzy logic controller outperforms that of the PID controller regarding smooth and continuous speed control, energy efficiency, dynamic, reliability, and adaptability to load disturbances.The output thus obtained using a fuzzy logic controller demonstrated superior performance parameters such as lesser settling time, no overshoots or undershoots, and almost zero steady-state error.

88In contrast, the motor with PID controller shows fluctuations as well as overshoots with longer settling time and shows some steady-state error.Above all the BLDC motor with fuzzy logic controller exhibits a smooth transition of speed for various load conditions thereby making the fuzzy logic controller the best choice for electric vehicle applications.The simulation results and hardware results are in concurrence with each other.Thus it is concluded that fuzzy logic-based speed control for BLDC motors is highly reliable, efficient with smooth speed control operation and stable irrespective of the load variations proving them the best choice for electric vehicles.

Fig. 1 .

89Fig. 1.Closed-Loop control of Electric vehicle drive system with BLDC motor.

Fig. 2 .

90Fig. 2. Fuzzy Logic Controller.

Fig. 3 .

91Fig. 3. Block diagram of Fuzzy Logic Controller.

Fig. 4 .

92Fig. 4. (a).Membership functions for the Input Variable "Error".(b) Membership functions for the Input Variable "DeltaError".(c) Membership functions for the Output Variable "ControlSignal".

Figure 5 (

93b) shows the Electromagnetic torque waveform which shows a stable and steady variation without any fluctuations.The stator currents and the back emf are illustrated in the Fig. 5(c) and Fig. 5 (d) respectively.The corresponding speed, torque, stator currents and back emf waveforms for the BLDC motor with conventional PID controller is shown in Fig. 6(a),6(b),6(c) & 6(d) respectively.

Fig. 6 .

94Fig. 6. (a,b,c) Rotor speed, Electromagnetic torque and Stator current of BLDC motor with PID controller.(d) Back EMF (PID Controller).

Figure 6 .

95Figure 6.(continued)

Fig. 7 .

96Fig. 7. (a) Stator Current for phase R, (b) Stator Current for phase Y, (c) Stator Current for phase B.

Fig. 8 .

97Fig. 8. Hall sensor signals (x-axis 5 s/div, y-axis 5 V/div).For Fig. 7(a), (b) &(c)-(x-axis 1 s/div, y-axis 5 A/ div).

Fig. 9 .

98Fig. 9. (a) Rated speed waveform at 2500 rpm (x-axis 1 s/div, y-axis 500 rpm/div).(b) Speed waveform at 1500 rpm (x-axis 0.02 s/div, y-axis 750 rpm/div).

Fig. 11 .

99Fig. 11.(a) Torque waveform of BLDC motor with PID controller and (b) Torque waveform of BLDC motor with FLC (x-axis 0.02 s/div, y-axis 1.01 Nm/div)).

Fig. 10 .

100Fig. 10.PWM gate pulses to VSI (x-axis 2.5 msec/div, y-axis 2 V/div).

Fig. 12 .

101Fig. 12. Experimental set up for speed control of BLDC motor.

Table 1 .

102Comparison of different characteristics required for electric vehicles for BLDC motor with different motors.

Table 2 .

103Summary of related researches for BLDC motor in EVs.

Table 4 .

104ZN tuning rules.

Table 5 .

105Fuzzy logic control rule base.

Table 7 .

106Comparative analysis of control strategies for system performance.

Table 6 .

107Comparison of time domain specifications of BLDC motor with FLC and PID controller.

참고문헌 24건

  1. Modeling and Simulation of IM Drive Performance Using PI, ANN and FLC International Conference on IT Convergence and Security, ICITCS · 2013 10.1109/icitcs.2013.6717858
  2. Regenerative Braking System of Electric Vehicle Driven by Brushless DC Motor IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2014 10.1109/tie.2014.2300059
  3. Electric vehicles and the electric grid: A review of modeling approaches, Impacts, and renewable energy integration Renewable and Sustainable Energy Reviews · Elsevier BV · 2012 10.1016/j.rser.2012.11.042
  4. UNCERTAINTY MODELLING AND LIMIT STATE RELIABILITY OF TUNNEL SUPPORTS UNDER SEISMIC EFFECTS International Journal of Research in Engineering and Technology · eSAT Publishing House · 2012 10.15623/ijret.2012.0101001
  5. Speed control of Brushless DC Motor: A comparative study 2012 10.1109/pedes.2012.6484349
  6. Research on simulation and modeling of simple and cost-effective BLDC motor drives International Journal of Modelling and Simulation · Taylor & Francis · 2016 10.1080/02286203.2016.1195665
  7. Comparison between Fuzzy Logic and PI Control for The Speed Of BLDC Motor International Journal of Power Electronics and Drive Systems (IJPEDS) · Institute of Advanced Engineering and Science (IAES) · 2018 10.11591/ijpeds.v9.i3.pp1116-1123
  8. Simple and Effective Digital Control of a Variable-Speed Low Inductance BLDC Motor Drive IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.2966437
  9. Ziegler-Nichols Tuning Method Resonance · Springer Science+Business Media · 2020 10.1007/s12045-020-1058-z
  10. A Critical Review of Advanced Electric Machines and Control Strategies for Electric Vehicles Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 2020 10.1109/jproc.2020.3041417
  11. Electric Drive Technology Trends, Challenges, and Opportunities for Future Electric Vehicles Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 2021 10.1109/jproc.2020.3046112
  12. Diagnosis and Mitigation of Electromagnetic Interference Generated by a Brushless DC Motor Drive of an Electric Torque Tool Energies · Multidisciplinary Digital Publishing Institute · 2021 10.3390/en14082149
  13. Design, implementation and speed estimation of three-phase 2 kW out-runner permanent magnet BLDC motor for ultralight electric vehicles Electrical Engineering · Springer Science+Business Media · 2021 10.1007/s00202-021-01279-5
  14. Comparison of BLDC Motor Controller Design for Electric Vehicles Using Fuzzy Logic Controller and Artificial Neural Network PRZEGLĄD ELEKTROTECHNICZNY · Stowarzyszenie Elektryków Polskich · 2021 10.15199/48.2021.06.01
  15. Aortic Valve Segmentation using Convolutional Neural Network with Skip Mechanism Communications on Applied Electronics · 2019 10.5120/cae2019652819
  16. Hybrid Power Management Strategy with Fuel Cell, Battery, and Supercapacitor for Fuel Economy in Hybrid Electric Vehicle Application Energies · Multidisciplinary Digital Publishing Institute · 2022 10.3390/en15124185
  17. Salp swarm algorithm based optimal speed control for electric vehicles 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.pp755-763
  18. A novel PID controller for BLDCM speed control using dual fuzzy logic systems with HSA optimization Scientific Reports · Nature Portfolio · 2022 10.1038/s41598-022-15487-x
  19. A Review on BLDC Motor Application in Electric Vehicle (EV) using Battery, Supercapacitor and Hybrid Energy Storage System: Efficiency and Future Prospects Journal of Advanced Research in Applied Sciences and Engineering Technology · Akademia Baru Publishing · 2023 10.37934/araset.30.2.4159
  20. Executive Summary World Employment and Social Outlook · Wiley · 2023 10.1002/wow3.192
  21. Multi-Objective Optimization of Pi Controller for Bldc Motor Speed Control and Energy Saving in Electric Vehicles: A Constrained Swarm-Based Approach SSRN Electronic Journal · 2023 10.2139/ssrn.4667790
  22. Design, control and performance comparison of PI and ANFIS controllers for BLDC motor driven electric vehicles Measurement Sensors · Elsevier BV · 2023 10.1016/j.measen.2023.101001
  23. Application of Tilt Integral Derivative for Efficient Speed Control and Operation of BLDC Motor Drive for Electric Vehicles Fractal and Fractional · Multidisciplinary Digital Publishing Institute · 2024 10.3390/fractalfract8010061
  24. Multi-objective optimization of PI controller for BLDC motor speed control and energy saving in Electric Vehicles: A constrained swarm-based approach Energy Reports · Elsevier BV · 2024 10.1016/j.egyr.2024.06.019