Next Article in Journal
Oil Price Shocks, Monetary Policy Transmission, and Non-Oil Output Dynamics in Saudi Arabia: Evidence from a VAR Analysis
Previous Article in Journal
Industrial Park-Based Energy Transition Policies and Urban Carbon Intensity: Evidence Using China’s Low-Carbon Industrial Park Pilots
Previous Article in Special Issue
Model Predictive Control Strategy Based on Adaptive Adjustment of Virtual Resistance for ECL Drive System
 
 
Due to scheduled maintenance work on our servers, there may be short service disruptions on this website between 11:00 and 12:00 CEST on March 28th.
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

High-Performance Speed Control of BLDC Motor Drives Using a PI Sailfish Optimization Algorithm

by
Othman Abdalkader Othman
1,
Mohan Arun Noyal Doss
1,*,
Jamal Aldahmashi
2,
Moustafa Ahmed Ibrahim
3,* and
Narayanamoorthi Rajamanickam
1
1
Department of Electrical and Electronics Engineering, SRM Institute of Science and Technology, Kattankulathur 603203, India
2
Department of Electrical Engineering, College of Engineering, Northern Border University, Arar 91431, Saudi Arabia
3
Electrical Engineering Department, University of Business and Technology, Jeddah 23435, Saudi Arabia
*
Authors to whom correspondence should be addressed.
Energies 2026, 19(7), 1644; https://doi.org/10.3390/en19071644
Submission received: 3 January 2026 / Revised: 12 March 2026 / Accepted: 20 March 2026 / Published: 27 March 2026
(This article belongs to the Special Issue Advanced Control Strategies for Power Electronics and Motor Drives)

Abstract

BLDC motors are utilized in electric cars, robotics, drones, home appliances and medical equipment due to their effectiveness, dependability, and accurate control. PI controllers have been put forward to enhance the dynamic performance of brushless direct current (BLDC) motors, and they have been tested in many papers with various algorithms (such as PSO, GA, GWO, ACO and ABC) and strategies (such as PI/PID control, FOC, FLC, SMC and MPC). Meanwhile, in this research, and for the first time, the PI controller was tuned by the proposed Sailfish Optimization algorithm (SFO) with a direct torque control (DTC) strategy to enhance the dynamic performance of BLDC motors. Although DTC provides a very fast torque response, it still suffers from high torque ripple and noticeable instability at low speeds. These issues persist even when using conventional PI tuning or common optimization algorithms. Hence, in this research, we proposed an improved control strategy that combines DTC with PI tuning optimized by the Sailfish Optimization algorithm (SFO), which delivers smoother torque, more stable low-speed operation, and stronger robustness during sudden changes in load. In this regard, the PI controller was tested under different levels of torque and compared with the traditional Gray Wolf Optimization (GWO-PI) algorithm controller, as well as PI and PID controllers, and the performance of each of them was evaluated for different torque levels at speeds of 600 rpm and 2000 rpm during physical experiments. The simulation results showed that the Sailfish-PI controller, compared to the others, recorded the fastest response with a rise time of 2.1 ms and settling time of 2.9 ms under 2.39 Nm nominal torque at 2000 rpm speed; in addition, it continuously showed the lowest values of overshoot and undershoot as torque increased. It also maintained the most accurate and consistent performance, keeping the peak rpm almost flat and extremely near to the target of 2001 rpm. Therefore, in systems that require variable speed and torque while operating, such as electric automobiles, the proposed method is suitable for application.

1. Introduction

Brushless DC (BLDC) motors are popular in many modern applications because they offer high efficiency, quick response and compact design. Despite these advantages, maintaining smooth torque and stable performance at low speeds is still difficult, especially when using direct torque control (DTC), which is known to produce visible torque ripple and depends strongly on precise PI tuning. Many existing optimization strategies struggle to find reliable PI gains when the motor operates under changing loads or speeds. This problem highlights the need for a more effective tuning strategy, motivating the use of the Sailfish Optimization algorithm (SFO) to strengthen the PI–DTC performance. Since the initial DTC strategy proposals by Takahashi, Noguchi, and Depenbrock in the 1980s, DTC has grown in strength and acceptance. The list makes it clear that BLDC motors offer the benefits of both conventional DC motors and AC motors, because they lack brushes and collectors yet have the mechanical and electrical architecture of AC motors and DC motors, respectively [1]. By converting the motor’s three-phase parameters (voltage and currents in three phases) into separate vector components in two phases using Clarke transformation, the DTC technique suggests controlling each component independently, just like typical DC motors do. Despite being created for induction motors, DTC has been applied to many different kinds of motors, such as switching reluctance motors, permanent-magnet AC motors, linear motors, and BLDC motors [2].
Electric cars, servo systems, and CNC machines are just a few of the increasingly widespread, everyday commercial applications for BLDC motors. Strong beginning torque, broad speed ranges, linear torque and speed characteristics, high power densities, high efficiency, minimal maintenance requirements, and environmental compatibility are the main factors contributing to the increasing popularity of BLDC motors [3,4,5,6]. Even though permanent-magnet motors provide benefits such as longer working life, noiseless operation, high ratio of torque to volume, high speed, and enhanced efficiency, they are still available as BLAC and BLDC motors [7,8,9,10], making BLDC motors the ideal option for a variety of uses, such as servos and traction drives. Torque ripple is a major issue for high-performance applications of BLDC motors [11,12]. The decrease in torque ripple has been the subject of numerous investigations. Direct torque control is a helpful technique in high-performance applications for minimizing torque ripples. DTC was primarily designed to directly control electromagnetic torque and flux in induction motor drives. Direct torque control methods for BLDC motor speed management in high-performance applications are the main subject of this work. Unlike vector control with strong speed regulation, this approach offers a quick torque response. The torque and flux are controlled using hysteresis controllers. The application of PI control is examined using a speed control approach [13].
The literature contains several BLDC motor drive methods. The maximum power consumption through BLDC modeling was achieved using an artificial-neural-network-based method. An axial flux BLDC motor was driven by a very straightforward and efficient three-level neutral-point clamped inverter [14]. Digital pulse-width modulation (PWM) in field-programmable gate arrays (FPGAs) and BLDC motor drivers has also been described [15]. In addition, BLDC drivers were tested using a variety of DTC-based methodologies. Reference [16] suggests the DTC technique for BLDC motors fed by matrix converters. In [17], for the DTC of BLDC motors in the constant torque range, a four-switch inverter was suggested. This study proposes a revolutionary DTC method approach for small electric vehicles that operate at naturally variable torque and speed settings. Using the speed error, the PI controller in the technique was able to identify the best stator flux reference value. The results of the dynamic simulations confirmed the validity of the suggested technique.
The DTC approach depends on the torque-slip frequency connection to ascertain the torque and flux linkage’s ideal voltage vector control. Brushless DC (BLDC) motor drives have made use of DTC due to its straightforward design, quick dynamic response, and superior tolerance to rotor parameters [18,19]. Three components make up a typical traditional DTC: a switching table, hysteresis comparators, and torque and flux estimation. The outputs of the hysteresis comparators determine the inverter’s output voltage vectors. Large torque and flux ripples are conventional DTC’s main drawbacks [20,21], as well as fluctuating switching frequency [22]. Numerous techniques, such as adaptive control, fuzzy control and model-predictive control have been proposed in the literature to solve these issues. In recent years, researchers have made great progress in reducing torque ripple and achieving a stable DTC switching frequency [23,24]. There have been reports of some designs that have a constant switching frequency and less torque ripple. However, two regulators are required to regulate the torque and flux linkage, and they must cooperate to coordinate the control. Multilevel inverters can generate smoother torque because they have more voltage space vectors. Adding more switching devices raises hardware costs and complicates the system. Conventional DTC was the first to use duty ratio control in [25]. These techniques are very complicated and largely rely on the motor parameters, even though they produce a steady switching frequency and greatly lessen torque ripple.
A new DTC technique is put forth that keeps the switching frequency constant while lowering torque ripples. The duty ratio is calculated at each cycle to control the torque during a continuous switching cycle. The torque is determined by the torque errors required to calculate the active voltage vector. The symmetrical pulse-width modulation technique reduces torque ripple and current harmonics and is based on the enhanced DTC scheme for a permanent-magnet synchronous motor. Tests and simulations are used to compare the effectiveness of the suggested DTC and traditional DTC approaches [26]; because they are easy to use, PI controllers are typically utilized for BLDC motor control. However, their performance is unpredictable when the load and speed change. As control strategies to alter traditional PI, techniques utilizing neural networks (NNs) and fuzzy logic have been introduced. A conventional PI controller provides the required data for NN training offline, leading to an imprecise dynamic response [27].
Optimization techniques are used to modify the PI controller in order to achieve a quick reaction when the load and speed change. Making use of optimization techniques such as particle swarm optimization (PSO) [28], cuckoo search [29], a piecewise affine PI controller [30], and Ziegler–Nichols-influenced tuning, the controller was modified to control the BLDC drive’s torque and speed [31]. The velocity equation’s random variables yield to the ideal value in PSO. A revised controller with enhanced capability is required to address the ripple issue of the BLDC drive in order to overcome these obstacles. In this piece, the BLDC’s SVPWM-DTC is managed by a PI controller that has been modified using the Sailfish algorithm to improve torque and speed responsiveness. In this work, an enhanced direct torque control (DTC) strategy for brushless DC (BLDC) motor drives is developed with the objective of reducing torque ripples and improving speed regulation under both transient and steady-state operating conditions. The study integrates a Space Vector Pulse-Width Modulation (SVPWM)-based DTC framework with a proportional–integral (PI) controller whose gains are optimized using the constrained Sailfish Optimization (SFO) algorithm. Hence, to evaluate speed-tracking performance, a unified objective function is formulated by combining rise time, settling time and overshoot, enabling systematic optimization of the controller parameters. The proposed SFO-PI controller is tested across multiple operating modes representative of electric vehicle (EV) and industrial BLDC applications, including adaptive speed regulation, no-load stability, load disturbances, and steady-state torque conditions. The primary objectives of this research are summarized as follows:
  • To build an improved direct torque control (DTC) system for BLDC motor drives to boost the dynamic speed regulation and minimize the torque ripple.
  • To design a restricted PI controller based on Sailfish Optimization (SFO) that can automatically change the integral and proportional gains for better transient and steady-state speed performance.
  • To construct a single, multi-parameter objective function for systematic controller optimization that covers overshoot, rise time, and settling time.
  • To compare the performance of the suggested SFO-PI controller with traditional control methods, such as GWO-PI, PI and PID controllers.
  • To verify the suggested control strategy using comprehensive simulation studies within different levels of load and speed, typical of real-world BLDC motor applications.

2. Computational Strategy of the Sailfish Optimization Algorithm (SFO)

Collective hunting is a fascinating example of social behavior in fish, bird, mammal, and arthropod groups. When hunting in groups, predators do not have to exert as much effort in order to kill prey as they would if they were hunting alone. Predators use their specialized roles of chasing and catching the prey in the more intricate form of group hunting, whereas in the most basic form, they attempt to kill the prey with little to no assault coordination. Alternating attacks are one of the more intricate group hunting tactics. The hunter can conserve energy by using this tactic while the prey is being harmed by other predators. Sailfish (Istiophorus platypterus) hunting in groups that alternately target schooling sardine prey (Sardinella aurita) are prime examples of this type of tactic, as is visible in Figure 1 [32].
Figure 1 shows group hunting techniques of sailfish; sailfish are deemed to be the fastest beings in the water, moving at about 100 km/h. When smaller fish schools, such as sardines, Figure 1a, forage together, they are pushed toward the surface, as shown in Figure 1b. Sailfish find it extremely difficult to accelerate and control the sardines during attack, as seen in Figure 1c. The rostrum cutting motion of the sailfish either hits one sardine, weakening it, or injures multiple sardines—Figure 1d. Sardines are unable to react to this group hunting because they are unable to move quickly enough to avoid the sailfish’s rostrum, which has one of the fastest accelerations ever observed in an aquatic vertebrate. The sailfish can swiftly catch injured sardines because their behavior indicates that they will be detached from the school of prey and unable to follow—Figure 1e. Sardines are not killed in most sailfish attacks, and only a small percentage are captured directly. However, a growing number of sardines are being injured because of the frequent attacks by sailfish. Animals that hunt in packs, like wolves, are more likely to engage in this kind of hunting. Nevertheless, these sailfish societies frequently disband and reassemble fresh individuals [32]. During an attack, a sailfish’s enormous pelvic and dorsal fins stay upright, most likely to maintain body stability—Figure 1f. Additionally, right before an attack, their generally bluish-silver lateral sides turn nearly black, changing the hue of their body. Although the exact cause of color changes is unknown, sailfish are believed to be able to communicate with one another [33], as they use physical changes to determine who goes first to avoid harming another sailfish. The attack-alternation tactic used in sailfish group hunting serves as the main inspiration for the SFO algorithm. In the following subsection, an optimization technique is constructed using a mathematical description of the natural behaviors of sardines and sailfish.

2.1. Mathematical Modeling of the SFO

One type of population-based metaheuristic is the SFO algorithm. One of the variables in the problem is that it is assumed that the sailfish are possible solutions in this algorithm, as well as their position within the search space. Consequently, the population is produced at random over the solution space.

2.1.1. SFO Algorithm Initialization

The sailfish’s changing location vectors allow it to hunt in one-, two-, three-, or hyper-dimensional space. The i t h member at the kth searching bout in a d-dimensional search space has a current location S F i , j R ( i = 1 , 2 , , m ) . It has been suggested that matrix S F presented in Equation (1) [32] might preserve the location of every sailfish. Thus, during optimization, these places display the variables of every solution.
S F p o s i t i o n = S F 1,1 S F 1,2 S F 1 , d S F 2,1 S F 2,2 S F 2 , d S F m , 1 S F m , 2 S F m , d
where S F i , j presents the value of j t h dimension of i t h sailfish, and m and d stand for the number of sailfish and variables, respectively.
Additionally, the fitness function is calculated as follows in Equation (2) to determine each sailfish’s fitness:
F i t n e s s   v a l u e   o f   s a i l f i s h = ƒ   s a i l f i s h =   ƒ ( S F 1 ,   S F 2 , , S F m )
The fitness value for every solution is displayed in the following matrix in Equation (3) to assess each sailfish:
S F F i t n e s s = ƒ ( S F 1,1 S F 1,2 S F 1 , d ) ƒ ( S F 2,1 S F 2,2 S F 2 , d ) ƒ ( S F m , 1 S F m , 2 S F m , d ) = F S F 1 F S F 2 F S F m
where ƒ is the fitness function, the number of sailfish is m , while S F i , j presents the j t h dimension value for i t h sailfish, and S F F i t n e s s maintains the fitness value that gives each sailfish its fitness or objective function value. The corresponding sailfish’s fitness value in the S F F i t n e s s matrix is shown by the fitness function’s output, which gets the first row of the S F p o s i t i o n matrix.
The school of sardines is another crucial element of the SFO algorithm. The sardines are thought to be swimming in the search area as well. Thus, the following is how the sardines’ location and fitness values are used:
S F p o s i t i o n = S 1,1 S 1,2 S 1 , d ) S 2,1 S 2,2 S 2 , d ) S n , 1 S n , 2 S n , d )
where the number of sardines is n , and S i , j is the value of j t h dimension of i t h sardine. The position of every sardine is indicated of the S p o s i t i o n matrix in Equation (4).
S F F i t n e s s = ƒ ( S 1,1 S 1,2 S 1 , d ) ƒ ( S 2,1 S 2,2 S 2 , d ) ƒ ( S n , 1 S n , 2 S n , d ) = F S 1 F S 2 F S n
where n is the number of sardines in Equation (5), ƒ is the objective function, S F F i t n e s s records the fit value of each sardine, and S i , j shows the value of the i t h sardine with j t h dimension. It is noteworthy that the answers are correlated with sailfish and sardines. The primary element dispersed throughout the search space in this algorithm is the sailfish, and sardines can work together to identify the ideal position in this field. Sailfish can actually consume sardines while seeking the search space, and they will adjust their position if they find a better answer than the one that they already have [32].

2.1.2. Attack-Alternation Strategy

In actuality, sailfish typically target the school of prey while none of their fellows are attacking. Stated differently, sailfish can increase the likelihood of hunting success by initiating a coordinated attack in time [33]. Prey are pursued and herded by sailfish.
Without direct coordination, sailfish herd by shifting their positions based on where other hunters are located within the prey school. The attack-alternation method used by sailfish during group hunting is demonstrated by the SFO algorithm. Sailfish do not just attack from the right to the left or from the top to the bottom and vice versa. Rather, search agents provide the exploration phase, which comprises looking through a large area of the search space to find the interesting answers that have not yet been refined. Sailfish can launch attacks inside a constricting circle and in all directions, and adjust their location within a sphere centered on the optimal answer.
At the i t h iteration, the sailfish’s new position in the SFO algorithm X n e w _ S F i in Equation (6) [32] updates as follows:
X n e w _ S F i = X e l i t e _ S F i λ i r a n d 0,1 × X e l i t e S F i + X i n j u r e d S i 2 X o l d S F i
where X n e w _ S F i represents the current position of the sailfish, X i n j u r e d S i defines the best position of injured sardines formed thus far, X e l i t e _ S F i   represents the location of elite sailfish formed thus far, r a n d 0,1 is a random number between 0 and 1, and λ i is a coefficient at the i t h iteration that is generated as follows in Equation (7):
λ i = 2 × r a n d 0,1 × P D P D
Additionally, the number of the prey at each iteration is indicated by the prey density, P D . Since there will be fewer prey when sailfish hunt in groups, the P D parameter is crucial for keeping track of the sailfish’s location in relation to the prey school. The adaptive formula for this parameter is shown in Equation (8):
P D = 1 ( N S F N S F + N S )
where N S F and N S represent the number of sardines and sailfish, respectively, in each algorithm cycle. Furthermore, because the sardines are initially larger in number than the sailfish, N S F is equal to N S × P P , as P P represents the population proportion of sardines that was originally made up of sailfish.
The position of the sailfish can be adjusted based on the mean separation between the best sardine (injured sardine) and the best sailfish (elite sailfish) at any given time during the iteration. This tactic will preserve the promising portion of the search space. Additionally, by changing the value of λ , sailfish can reach various locations across the school. Equation (7) states that the range of λ fluctuation is between −1 and 1. However, it fluctuates based on the amount of prey. Put another way, the value of λ will approach −1 or 1 if P D increases in relation to r a n d 0,1 . When r a n d 0,1 > 0.5 , the tendency of the λ parameter is 1; when r a n d 0,1 < 0.5 , it tends to −1, while it tends to zero when rand (0, 1) = 0.5. Sailfish divergence and convergence near prey schools can be analytically modeled by varying their λ and updating their positions. This places a strong emphasis on global exploration and solution searching. In this way, any sailfish has two ways to update its position surrounding the school of prey with the SFO algorithm’s aid. First, elite sailfish and damaged sardines have a different attack strategy to hunt schools, as shown by sailfish in Figure 1b,c. The second technique uses sailfish mimicking to encircle the prey, similar to sailfish in Figure 1a, by occupying vacant space surrounding the prey school. In both cases, sailfish willhurt more sardines during the initial phases of hunting, which will increase the likelihood of a successful capture during subsequent phases of cooperative hunting [32].

2.1.3. Hunting and Catching Prey

To replicate this behavior, every sardine is required to adjust its position in relation to the sailfish’s current optimal location and its attack intensity during each iteration. In the Sailfish Optimization (SFO) algorithm, the updated position of a sardine at the i t h iteration, denoted as X new _ S i , can be expressed as follows in Equation (9):
X n e w _ S i = r × ( X e l i t e S F i X o l d S i + A P )
In this expression, X e l i t e S F i represents the best position identified by the elite sailfish up to that point, while X o l d S i denotes the sardine’s current location. The term r is a randomly generated value between 0 and 1, and A P corresponds to the sailfish’s attack power at each iteration, which is computed as follows in Equation (10):
A P = A × ( 1 ( 2 × I t r × ε ) )
In this model, the coefficients A and ε are applied to gradually reduce the attack power in a linear manner from its initial value A to zero. The effects of Equations (9) and (10) can be observed through the various possible sardine positions after a sailfish attack on the prey group. During an attack, sardines quickly scatter to different locations, adjusting their positions to confuse the predator and minimize the chance of being detected. These movements are influenced by the parameters r and A P , where the random value r determines the extent of sardine dispersion around the predator within the search space. Equation (9) is central to the algorithm because it specifies how sardines relocate themselves in response to each sailfish attack. This behavior allows a sardine to move away from the elite sailfish while simultaneously benefiting from information shared by nearby sardines. As a result, it functions as a strong local search mechanism, effectively balancing exploration and exploitation within the optimization process.
Furthermore, both the number of sardines that adjust their positions and the magnitude of their movement are influenced by the sailfish’s attack power A P . As previously explained, the sailfish’s attack power gradually decreases throughout the hunting process. This reduction in attack intensity helps guide the search agents toward convergence in an adaptive manner. Based on the value of A P , the proportion of sardines that update their positions α and the number of variables they modify β can be determined using the following expressions in Equations (11) and (12):
α = N S × A P
β = d i × A P
In this context, d i represents the number of variables at the i t h iteration, and N S denotes the total number of sardines in each algorithmic cycle. Based on the value of the attack power A P , the update behavior of the sardines is determined. When the sailfish’s attack intensity is low ( A P < 0.5 ), only α sardines update their positions, and each of these modifies β of their variables. In contrast, when the attack intensity is high ( A P 0.5 ), the positions of all sardines are updated.
Overall, the parameters A P and r enhance the stochastic nature of the SFO algorithm, helping it avoid premature convergence and reducing the likelihood of becoming trapped in local optima throughout the optimization process.
At the last stage of the hunting process, an injured sardine that becomes separated from the school is rapidly captured. In the proposed algorithm, this event is modeled by assuming that a prey is caught when a sardine attains a better fitness value than its associated sailfish. When this condition is met, the sailfish’s position is replaced with the most recent location of the captured sardine, thereby improving its ability to pursue new prey. The corresponding update relation is expressed as follows in Equation (13) [32]:
X S F i = X s i     if       f ( S i ) < f ( S F i )
In this expression, X s i represents the sardine’s position at the i t h iteration, while X S F i denotes the sailfish’s position at the same iteration.

3. Tuning of BLDC Speed Control with the PI Controller Tuned with SFO

This section discusses the Sailfish Optimization algorithm-based approach, which enhances the effectiveness and efficiency of BLDC motor speed control. The PI controller parameters are adjusted using SFO techniques. The motor speed error, which is determined by deducting the measured speed from the intended speed, is fed into the optimization module. The proportional and integral gain parameters of the PI controller are optimized by the optimization techniques. To get the best speed control performance, the PI controller then uses the optimized gains to create a control signal. The block diagram compares the reference speed to the measured speed and uses the difference to help the PI controller create a torque reference. This torque reference is then compared to the estimated torque, and the reference flux is compared to the estimated flux. Both of these errors go through their own hysteresis comparators, which create switching states that help choose the right voltage vector. The voltage vector selection block produces the signals needed to switch the inverter, which powers the BLDC motor. The measured phase voltages and currents of a b c are converted into the α β frame, and these values are used in the flux and torque estimation block to calculate the current stator flux and electromagnetic torque. These estimated values help complete the inner direct torque control (DTC) loop, while the speed feedback completes the outer loop, ensuring a quick torque response and stable speed control.
Figure 2 is the proposed direct torque control of the BLDC drive block diagram that can give BLDC motors the best possible speed control. The goal of using these optimization techniques in BLDC motor drive applications is to improve speed control accuracy and energy efficiency while overcoming the drawbacks of the non-optimized approach. Subsequent subsections concentrate on developing objective functions specifically designed for effective BLDC motor speed management. The main performance criteria that are necessary for BLDC motor speed control optimization are captured in a single objective function shown in Equation (14):
F = ( w 1 × O v e r s h o o t ) + ( w 2 × S e t t l i n g   t i m e ) + ( w 3 × R i s e   t i m e )
The relative significance of the speed signal parameters is determined by the weights ( w 1 , w 2 , w 3 ) [34]. In this instance, a one-third proportion has been selected, indicating that each parameter has an equal impact on the system response.
In the proposed procedure each sailfish represents a candidate solution vector defined as shown in Equation (15):
x = [ K p , K i ]
where K p   and K i are the proportional and integral gains of the speed controller, respectively. The search process is conducted within predefined parameter bounds K p m i n K p m a x and K i m i n K i m a x . For every candidate solution, the PMSM Simulink model is executed, and the dynamic performance index values are extracted from the Simulink scope output of the motor speed in the time-domain response. The objective function is formulated as a weighted sum of key transient performance metrics given by Equation (14). Also, equal weighting factors are used. The optimization objective is to minimize this function in order to enhance transient characteristics and reduce overshoot and settling time. The inputs to the SFO-based PI tuning procedure include the lower and upper bounds of K p and K i , the population size (number of sailfish), the maximum number of iterations, and the defined objective function based on the PMSM dynamic response. The outputs of the algorithm are the optimal PI gains and the corresponding minimum objective function value. Furthermore, the pseudocode is as follows:
Sailfish algorithm pseudocode
1.    Initialize sailfish population.
2.    Initialize sardine population randomly.
3.    Set algorithm parameters.
4.    Evaluate objective function of all sailfish and sardines.
5.    Find the best solution.
6.    While the solution not satisfied
               For each sailfish ( i t h   in Sf)
                      Calculate λ i using Equation (7)
                      Update sailfish position from Equation (6)
               End For
               Calculate A P the sailfish’s attack power from Equation (10)
  If (attack power < 0.5) then
Calculate α using Equation (11)
Calculate β using Equation (12)
Select subset of sardines based on α and β
Update selected sardine position using Equation (9)
                      Else
                              Update all sardine position using Equation (9)
                      End If
               Evaluate fitness of all sardines
               If (best sardine fitness better than a sailfish fitness) then
                      Replace corresponding sailfish using Equation (13)
                      Remove hunted sardine from population
                      Update elite sailfish
                      Update injured sardine
               End If
      End While
7.    Return elite sailfish as optimal solution.

4. Simulation Results of the Proposed System

The simulation was done on a BLDC motor controlled by DTC-PI and tuned with SFO; the simulation considered both steady-state and transient circumstances; the motor speed control system was compared with the traditional GWO-PI, PI and PID under speed and torque modes. A range of operating modes were used to assess and analyze the control system that was implemented using Simulink. The effects of several optimization algorithms, such as GWO-PI, PI, PID, and SFO-PI, were assessed. To guarantee methodological consistency, all optimization algorithms were implemented under the same configuration parameters: identical population size of 50, identical maximum number of iterations 100, and identical decision-variable bounds.
In contrast, the PI controller’s search space increases K p 1 and K i 1 to 0.1029 , 1.014 , respectively. Following a number of system tests, the population and number of iterations were selected for a more accurate comparison, and the upper and lower bounds of the gains were determined.
These key performance indicators (KPIs) were extracted from the motor speed response using the MATLAB 2014 stepinfo function to ensure standardized and reproducible evaluation across all controllers. The baseline for comparison was the conventionally tuned PI controller.
Both the SFO algorithm and GWO algorithm were tested under the same parameters for a fair comparison, shown in Table 1.
The model uses a 1   H P BLDC motor with a 48   V input voltage. The stator-phase resistance is 0.0095   Ω , the inertia is 0.19 × 10−4 kg·m2, and the stator-phase inductance is 0.0144 × 10−3 H. The viscous damping is 10−6 N·m·s, and the torque constant is 0.095   N · m / A p e a k .
The test protocol included five operating modes: no load, 25%, 50%, 75%, and 100% rated torque conditions, evaluated at reference speeds of 600 rpm and 2000 rpm. Load torque was applied as a step mechanical disturbance to the motor shaft to evaluate disturbance rejection capability, transient stability, and steady-state accuracy. All controllers were assessed under identical load profiles and reference speed commands.

4.1. Modes of Operations

The optimization algorithms’ efficacy was assessed using five modes that take into account the BLDC motor’s steady and transient responses.

4.1.1. Mode 1: No Torque Applied

Figure 3 and Figure 4: These are the figures of Mode 1: (a) motor speed at 600 rpm and 2000 rpm; (b) torque without load. At 600 rpm with no load torque, at low speed, Sailfish-PI again demonstrates the fastest rise time and near-perfect tracking, with a short and efficient torque burst. PID lags behind in speed response, and PI and GWO-PI overshoot more noticeably. The torque response of Sailfish-PI is smoother and better damped compared to the others.
At 2000 rpm with no load torque, the Sailfish-PI controller reaches the reference speed the fastest with minimal overshoot and smooth convergence. In contrast, PID and PI show larger overshoot and slower settling. The torque plot shows Sailfish-PI applying a strong but brief control effort and quickly stabilizing, while the others exhibit oscillations or prolonged settling.

4.1.2. Mode 2: 25% Torque Applied

Figure 5 and Figure 6: These are the figures of Mode 2: (a) motor speed at 600 rpm and 2000 rpm; (b) torque wit 25% torque applied. At 600 rpm under 25% torque, Sailfish-PI maintains superior performance, rapidly reaching the target with negligible deviation. PI shows visible oscillation and slower convergence. PID is again slower and less accurate. In torque plots, Sailfish-PI remains smooth and consistent, while the others experience transient instability and torque ripple.
At 2000 rpm under 25% torque, Sailfish-PI again achieves the fastest and most stable response, closely tracking the reference with minimal overshoot and steady-state error. PI and GWO-PI show moderate overshoot and slower settling, while PID lags behind with a noticeable overshoot and longer convergence. Torque response confirms that Sailfish-PI applies an initial burst and then stabilizes efficiently, whereas the other controllers show oscillations or prolonged settling efforts.

4.1.3. Mode 3: 50% Torque Applied

Figure 7 and Figure 8: These are the figures of the Mode 2: (a) motor speed at 600 rpm and 2000 rpm; (b) torque with 50% torque applied. At 600 rpm under 50% torque, the Sailfish controller maintains better tracking of the reference with minimal overshoot. PI has visible dips after load, while PID is slower to settle. Sailfish achieves smooth torque adjustment. PI and GWO show slight oscillations, while PID takes longer to stabilize.
At 2000 rpm under 50% torque, Sailfish closely follows the reference speed with minimal overshoot and fastest settling. PID and PI lag slightly and show more deviation. Torque Response: Sailfish provides the smoothest torque with rapid stabilization after load application. The other controllers exhibit more oscillation.

4.1.4. Mode 4: 75% Torque Applied

Figure 9 and Figure 10: These are the figures of Mode 2: (a) motor speed at 600 rpm and 2000 rpm; (b) torque with 75% torque applied. At a speed of 600 rpm under 75% torque, the Sailfish controller reaches the target speed quickly and accurately with minimal overshoot and torque ripple. GWO follows closely, although it responds slightly slower and shows mild torque ripples. The PID controller initially overshoots and then settles slightly below the reference speed. The PI controller performs the worst, with a slow response, noticeable oscillations, and steady-state error. For torque, again, the Sailfish controller demonstrates the fastest and most stable tracking with clean torque behavior even at 2000 rpm. The GWO controller shows decent performance but introduces some torque ripples. PID produces moderate overshoots and ripples. The PI controller underperforms, with a significant speed drop and slow recovery.

4.1.5. Mode 5: Full Torque Applied

Figure 11 and Figure 12: These are the figures for Mode 2: (a) motor speed at 600 rpm and 2000 rpm; (b) torque with full torque applied. At 600 rpm under 100% torque, the Sailfish controller reaches the target speed quickly and smoothly with almost no overshoot, while GWO performs well but with slight fluctuations. PID and PI are slower and less stable. In terms of torque, Sailfish stays steady and close to the reference, with GWO slightly less stable. PID and PI show more ripples and instability, especially at the start.
At 2000 rpm the trend is similar. Sailfish again gives the best speed and torque control. PI dips below the target before recovering, and PID lags. Torque control is smooth with Sailfish, decent with GWO, and more erratic with PID and PI. Overall, Sailfish stands out for its fast, stable, and accurate performance, followed by GWO. PID and PI struggle more, especially under full load.

4.2. Metric Analysis of the BLDC Motor

  • Rise time
Figure 13: This is the rise time at 600 rpm and 2000 rpm. Sailfish-PI once again had the fastest increase time (~0.0007 s) at 600 rpm and was torque-insensitive. While GWO-PI and PI had somewhat higher rising times (~0.0036 s), with minimal variations, PID was steady but slower (~0.001 s). Sailfish-PI’s better dynamic performance across a range of loads and speeds is highlighted by its overall most responsive and consistent behavior, as is detailed in Table 2.
All controllers’ rise time performance was assessed at 2000 rpm and 600 rpm for varying torque levels. Regardless of variations in load, all controllers maintained steady rise times at 2000 rpm. PID had the slowest response (~0.05 s), suggesting a more delayed reaction, while Sailfish-PI had the fastest increase time (~0.002 s), closely followed by PI and GWO-PI, as is detailed in Table 3.
b.
Settling time
Figure 14: This is the settling time at 600 rpm and 2000 rpm. Sailfish-PI and GWO-PI maintained low settling times at 600 rpm until 50% torque, but then increased, particularly when fully loaded. PI increased gradually at every torque level. PID exhibited erratic behavior, beginning moderately, decreasing at 25%, and then abruptly increasing to 0.79 s at 100% torque. While Sailfish-PI continued to be the most effective in dynamic settling, this suggests decreased stability for PID at slower speeds and higher loads, as is detailed in Table 4.
At 2000 rpm and 600 rpm, the settling time performance was investigated with different torque levels. Sailfish-PI and GWO-PI demonstrated exceptional stability at 2000 rpm by achieving extremely low and almost constant settling times. After 50%, PI showed a rapid rise in settling time, which increased steadily with torque. Although it dropped significantly with torque, PID had the longest settling time overall, as is detailed in Table 5.
c.
Overshoot
Figure 15: This is the overshoot at 600 rpm and 2000 rpm. The overshoot performance of the Sailfish-PI, GWO-PI, PI, and PID controllers was evaluated at 2000 rpm and 600 rpm across varying torque levels. At 600 rpm, Sailfish-PI again maintained minimal and stable overshoot. GWO-PI’s overshoot increased more noticeably with torque, and PI showed similar moderate behavior as at higher speed. PID performance was erratic, initially low but rising sharply with torque, highlighting its limitations at low speed and high load, as is detailed in Table 6. At 2000 rpm, Sailfish-PI showed consistently low and decreasing overshoot with increasing torque, indicating strong stability. GWO-PI exhibited a slight rise in overshoot, while PI remained moderately stable. PID started with high overshoot that decreased as torque increased, suggesting poor performance at low load, as is detailed in Table 7. Overall, Sailfish-PI demonstrated superior robustness and consistency under all conditions, while PID was the least reliable, particularly at lower speeds.
d.
Undershoot
Figure 16: This is the undershoot at 600 rpm and 2000 rpm. At 600 rpm, the time response values were slightly higher for all controllers. Sailfish-PI again stood out for its smooth and steady performance. GWO-PI and PID gradually increased with torque, hinting at a slight slowdown under heavier load. PI stayed relatively balanced, with only small fluctuations. Overall, Sailfish-PI continued to deliver the most stable and reliable response across different speeds and torque levels, as is detailed in Table 8.
At 2000 rpm, all controllers showed very steady time response values, with only tiny changes as torque increased. Sailfish-PI remained the most consistent, barely shifting at all. GWO-PI and PID had some small ups and downs, while PI showed a bit more variation, especially around mid-range torque. Still, the overall differences were minor, suggesting that all controllers handled timing well at high speed, as is detailed in Table 9.
e.
Peak
Figure 17: This is the peak at 600 rpm and 2000 rpm. These graphs show how different control strategies handle motor speed when torque changes. At both 600 rpm and 2000 rpm setpoints, the Sailfish-PI controller consistently delivers the most stable and accurate performance, keeping the peak rpm nearly flat and very close to the target. In contrast, the PID controller struggles with torque variations, especially at 2000 rpm, where its peak rpm drops noticeably as torque increases. The PI and GWO-PI controllers perform better than PID but are not as precise or steady as Sailfish-PI, as shown in Table 10 and Table 11.

5. Experimental Results

A real-time experimental setup was created to verify the behavior of the proposed Sailfish Optimization algorithm (SFO)-based PI controller for BLDC motor speed regulation. As the main actuator in the test system, a BLDC motor (TETRA-85) (Motor Power Company s.r.l., Reggio Emilia, Italy) with a 2.2 Nm nominal torque rating was used in the setup. A three-phase PEC16DSMO1 inverter (Vi Microsystems Pvt., Ltd., Tamil Nadu, India) with six IGBT power switches powers the motor, ensuring dependable and effective commutation. A FPGA Spartan-6 controller (Advanced Micro Devices, Inc., Sunnyvale, CA, USA) manages the inverter’s operation by executing the real-time control algorithm and producing the necessary gate pulses for the IGBTs. High-speed computation and accurate control signal generation are made possible by this FPGA-based design, which guarantees accurate PI controller performance under dynamic load situations. The motor’s speed waveforms are recorded using an Oscilloscope X3400 four-channel digital oscilloscope (Saelig Company, Inc., New York, NY, USA) for signal monitoring and data collection and the complete setup is shown in Figure 18. A belt-coupled system was used to apply the required torque.

5.1. Mode 1: No-Load Condition

Figure 19: This is Mode 1 with motor speed at (a) 600 rpm and (b) 2000 rpm and no load. The reference speed at 600 rpm and 2000 rpm could be tracked by all three control techniques with little steady-state error when there was no load. Nonetheless, significant variations were noted in the settling properties and rise time. Especially during the transient phase, the traditional PI controller showed a comparatively slower reaction and increased overshoot. In comparison with the traditional PI, the GWO-based PI controller achieved a faster rise time and less overshoot, improving the transient responsiveness. The highest dynamic performance was attained by the suggested Sailfish Optimization algorithm, which showed smooth steady-state behavior, a faster speed convergence, and little overshoot. This demonstrates the SFO’s exceptional capacity for parameter adjustment in order to get the best possible proportional and integral improvements.

5.2. Mode 2: 25%-Load Condition

Figure 20: This is Mode 2 with motor speed at (a) 600 rpm and (b) 2000 rpm and 25% load. Under dynamic torque settings, each controller’s efficacy was further examined. After the load disturbance, the traditional PI controller had a slight speed reduction and took longer to recover. Although it displayed slight oscillations when the load was applied, the GWO-based controller maintained superior speed regulation. However, the SFO-based controller quickly recovered to reference speed and demonstrated exceptional robustness against load variation during the 600 rpm speed deviation. At 2000 rpm, the controller continued to operate steadily even at higher speeds, demonstrating its capacity to effectively manage both low- and high-speed settings.

5.3. Mode 3: 50%-Load Condition

Figure 21: This is Mode 3 with motor speed at (a) 600 rpm and (b) 2000 rpm and 50% load. To evaluate mid-load performance and controller robustness, the motor was tested in this mode at 600 rpm and 2000 rpm with a 50% load torque applied. When the load was applied under these circumstances, the traditional PI controller saw a noticeable speed drop right away, followed by a gradual recovery to the reference speed. This shows a poorer ability to adjust to changing torque demands and a limited capacity to reject disturbances. By lowering the speed deviation’s magnitude and duration, the GWO-based PI controller outperformed the classical PI controller. At higher speeds, though, it continued to show slight oscillations around the steady-state value, suggesting some sensitivity to changes in the dynamic load. Once more, the most accurate and stable response was given by the PI controller adjusted by the Sailfish Optimization algorithm (SFO), which maintained the reference speed with very little steady-state error and very little transient deviation. The system’s rapid recovery from the load disturbance demonstrates the SFO approach’s optimal gain tuning and robustness. The algorithm’s successful balance between exploration and exploitation during parameter optimization is responsible for this better performance.

5.4. Mode 4: 75%-Load Condition

Figure 22: This is Mode 4 with motor speed at (a) 600 rpm and (b) 2000 rpm and 75% load. The test assesses the controller’s performance under near-rated loading conditions, where torque disturbances are more noticeable, at a 75% load torque. Reduced control effectiveness under high load was indicated by the PI controller’s significant speed dip and longer settling time. Faster speed restoration was a moderate improvement provided by the GWO-based PI controller; however, it still showed minor oscillations close to the steady-state region, particularly at 2000 rpm. On the other hand, the SFO-optimized PI controller demonstrated exceptional load-handling capabilities, preserving speed stability with a quick transient recovery and very little departure from the reference value. The SFO controller demonstrated its resilience to significant torque perturbations by maintaining high accuracy and smooth operation even at 75% load. These findings show that, at all load levels, the Sailfish Optimization algorithm continuously performs better than the traditional and GWO-based tuning techniques. The SFO’s effectiveness in adjusting PI controller parameters for BLDC motor drives is confirmed by the improvements, which include faster dynamic response, reduced overshoot, enhanced steady-state accuracy, and superior disturbance rejection capability.

5.5. Mode 5: Full-Load Condition

Figure 23: This is Mode 5 with motor speed at (a) 600 rpm and (b) 2000 rpm and full load. To assess the controllers’ performance at maximum torque demand, the TETRA 85 BLDC motor was run at 600 rpm and 2000 rpm under 100% rated load in this last test scenario. Since it puts the system’s steady-state stability and transient response to the test under extreme stress, this is the most difficult operating condition. Following the application of full load, the conventional PI controller showed a notable decrease in speed, which was followed by a gradual recovery toward the reference value. The significant deviation and prolonged settling time show that the traditional tuning method is not resilient or flexible at high torque levels. The dynamic response was enhanced by the GWO-tuned PI controller, which demonstrated less overshoot and quicker recovery than the traditional PI controller. It did, however, continue to exhibit oscillatory behavior around the steady-state speed, especially at 2000 rpm, indicating that its parameter optimization is less successful when operating at full load. On the other hand, the PI controller based on the Sailfish Optimization algorithm (SFO) demonstrated outstanding dynamic and steady-state performance. It maintained close tracking of reference speed with minimal speed deviation, fast recovery, and negligible oscillations, even at 100% load. Strong disturbance rejection and stability were demonstrated by the controller, underscoring the SFO’s ability to generate ideal proportional and integral gains that strike a balance between smooth control effort and speed accuracy. Overall, the findings demonstrate that, under all load conditions, from no load to full-load operation, the SFO-optimized PI controller continuously provides better robustness, quicker response, and increased stability when compared to both the conventional and GWO-based controllers as shown in Table 12.

6. Conclusions

This research has presented one of the best technologies to improve the brushless direct current (BLDC) motor drive performance by integrating the Sailfish Optimization algorithm (SFO) with a direct torque control (DTC) strategy. Unlike conventional DTC methods that require simultaneous reference control of both torque and flux, the proposed scheme simplifies the control structure by utilizing speed as the sole reference input while dynamically adapting the flux through the optimized Sailfish-tuned PI controller. Comprehensive simulations were conducted under a variety of operating conditions, including different speed and torque levels. Comparative analysis against traditional PI, PID, and Gray Wolf Optimization (GWO)-based controllers demonstrated that the proposed Sailfish-PI controller consistently achieved superior dynamic and steady-state performance. Specifically, it exhibited faster rise times with 2.1 ms, shorter settling times with 2.9 ms under 2.39 Nm nominal torque at 2000 rpm speed, minimal overshoot and undershoot, enhanced torque smoothness, and an almost flat peak extremely near to the target with 2001 rpm across all tested load variations. This robust response is attributed to the Sailfish algorithm’s balanced exploration and exploitation capabilities, inspired by the collaborative and adaptive hunting behavior of sailfish in nature. The study’s results confirm that the Sailfish-PI approach effectively mitigates key drawbacks associated with conventional PI controllers, such as sensitivity to load variations and insufficient adaptability to nonlinear motor dynamics. The improved dynamic speed tracking, reduced torque ripple, and constant switching frequency of the proposed system make it particularly suitable for applications with variable speed and torque demands, such as electric vehicles and industrial automation systems. These results indicate that, for the considered motor configuration and operating conditions, the SFO-based tuning enhances the dynamic response and robustness of the PI-controlled DTC drive compared to the selected benchmark controllers. However, since the evaluation was conducted on a single BLDC motor with specific parameter bounds and operating profiles, this limited the tested experimental setup. Broader generalization to other motor ratings and inverter topologies requires further validation. Additionally, extending the approach to multi-objective scenarios, incorporating sensorless control, or hybridizing with other soft computing techniques could further improve the adaptability of BLDC motor control through challenging and unpredictable situations.

7. Limitations and Future Work

Even though the suggested Sailfish Optimization algorithm (SFO)-based PI controller performed well in simulation and real-time tests, there are still certain issues that present room for improvement. The testing was carried out in a controlled laboratory setting with reasonably steady supply voltage, temperature, and motor aging effects. Adaptive tuning procedures are necessary in real-world applications due to variables including inverter nonlinearities, mechanical wear, and temperature fluctuations that might affect controller performance. Furthermore, even though the SFO algorithm produced robust control and fast convergence, its computational cost is comparatively expensive when compared to conventional techniques, making it difficult to apply on low-cost embedded devices with constrained processing power. The PI controller’s fixed-gain structure is another area that needs work. In dynamic or unexpected operating settings, the controller does not self-adjust, even though SFO efficiently optimizes the gains for the tested conditions. Future research might examine the incorporation of adaptive or hybrid optimization strategies, in which fuzzy adaptation or online learning are used to update the controller gains in real time. It should be noted that the algorithm was applied on a motor drive with low-power applications, and it should be tested on high-power applications. The algorithm is single and considers the speed value only; moving forward by considering the torque and efficiency as a multi-objective algorithm would be optimal. Broadly speaking, the research’s future goals include applying the suggested MATLAB-based methodology to multi-motor systems including microgrid converters, industrial automation networks, and electric car drives. The applicability could be further strengthened by incorporating fault-tolerant design, sensorless control approaches, and hardware-in-the-loop (HIL) testing. Furthermore, incorporating cutting-edge computational tools like AI-assisted optimization or dSPACE co-processing could greatly improve the speed, accuracy, and adaptability of next-generation BLDC motor control systems.

Author Contributions

O.A.O.: Conceptualization, Data curation, Methodology, Software, Writing—original draft; M.A.N.D.: Conceptualization, Data curation, Methodology, Software, Supervision, Writing—original draft; J.A.: Formal analysis, Writing—review and editing; M.A.I.: Validation, Writing—review and editing; N.R.: Visualization, Writing—review and editing. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The data used to support the findings of this paper are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

Abbreviations

The following abbreviations are used in this manuscript:
SFOSailfish Optimizer
BLDCBrushless Direct Current
DTCDirect Torque Control
GWOGray Wolf Optimizer
PIProportional–Integral Controller
PIDProportional–Integral–Derivative controller
DCDirect Current
PSOParticle Swarm Optimization
GAGenetic Algorithm
ACOAnt Colony Optimization algorithm
ABCArtificial Bee Colony
FOCField-Oriented Control
FLCFuzzy Logic Controller
SMCSequential Monte Carlo
MPCModel Predictive Control
SVPWMSpace Vector Pulse-Width Modulation
EVElectric Vehicle
RPMRevolutions Per Minute
IGBT Insulated Gate Bipolar Transistor
FPGAField-Programmable Gate Array

References

  1. Takahashi, I.; Noguchi, T. A New Quick-Response and High-Efficiency Control Strategy of an Induction Motor. IEEE Trans. Ind. Appl. 2008, 5, 820–827. [Google Scholar] [CrossRef]
  2. Korkmaz, F.; Topaloglu, I. Modified Direct Torque Control for BLDC Motor Drives. Int. J. Control. Theory Comput. Model. 2016, 6, 1–9. [Google Scholar] [CrossRef]
  3. Xia, C.; Li, Z.; Shi, T. A Control Strategy for Four-Switch Three-Phase Brushless DC Motor Using Single Current Sensor. IEEE Trans. Ind. Electron. 2016, 56, 2058–2066. [Google Scholar]
  4. Zhang, X.; Lu, Z. A New BLDC Motor Drives Method Based on BUCK Converter for Torque Ripple Reduction. In Proceedings of the 2006 CES/IEEE 5th International Power Electronics and Motion Control Conference, Shanghai, China, 14–16 August 2006; IEEE: New York, NY, USA, 2006; pp. 1–4. [Google Scholar]
  5. Topaloglu, I.; Korkmaz, F.; Mamur, H.; Gurbuz, R. Closed-Loop Speed Control of PM-BLDC Motor Fed by Six Step Inverter and Effects of Inertia Changes for Desktop CNC Machine. Elektron. IR Elektrotechnika 2013, 19, 7–10. [Google Scholar] [CrossRef][Green Version]
  6. Tarımer, İ.; Akpunar, A.; Gürbüz, R. Design of a direct sliding gearless electrical motor for an ergonomic electrical wheelchair. Elektron. IR Elektrotechnika 2008, 83, 75–80. [Google Scholar]
  7. Xia, C.-L. Permanent Magnet Brushless DC Motor Drives and Controls; John Wiley & Sons: Hoboken, NJ, USA, 2013. [Google Scholar]
  8. Moreno, J.; Ortúzar, M.E.; Dixon, J.W. An energy management system for hybrid electric vehicles that combines ultracapacitors and neural networks. IEEE Trans. Ind. Electron. 2006, 53, 614–623. [Google Scholar] [CrossRef]
  9. Chen, Y.T.; Chiu, C.L.; Jhang, Y.R.; Tang, Z.H.; Liang, R.H. A Driver for the Single-Phase Brushless DC Fan Motor with Hybrid Winding Structure. IEEE Trans. Ind. Electron. 2013, 60, 4369–4375. [Google Scholar] [CrossRef]
  10. Huang, X.; Goodman, A.; Gerada, C.; Fang, Y.; Lu, Q. A Single Sided Matrix Converter Drive for a Brushless DC Motor in Aerospace Applications. IEEE Trans. Ind. Electron. 2012, 59, 3542–3552. [Google Scholar] [CrossRef]
  11. Jahns, T.M.; Soong, W.L. Pulsating torque minimization techniques for permanent magnet AC motor drives—A review. IEEE Trans. Ind. Electron. 1996, 43, 321–330. [Google Scholar] [CrossRef]
  12. Murai, Y.; Kawase, Y.; Ohashi, K.; Nagatake, K.; Okuyama, K. Torque ripple improvement for brushless DC miniature motors. IEEE Trans. Ind. Appl. 1989, 25, 441–450. [Google Scholar] [CrossRef]
  13. Holtz, J.; Springob, L. Identification and compensation of torque ripple in high-precision permanent magnet motor drives. IEEE Trans. Ind. Electron. 1996, 43, 309–320. [Google Scholar] [CrossRef]
  14. De, S.; Rajne, M.; Poosapati, S.; Patel, C.; Gopakumar, K. Low-inductance axial flux BLDC motor drive for more electric aircraft. IET Power Electron. 2012, 5, 124–133. [Google Scholar] [CrossRef]
  15. Tashakori, A.; Hassanudeen, M.; Ektesabi, M. FPGA based controller drive of BLDC motor using digital PWM technique. In Proceedings of the 2015 IEEE 11th International Conference on Power Electronics and Drive Systems, Sydney, NSW, Australia, 9–12 June 2015; IEEE: New York, NY, USA, 2015; pp. 658–662. [Google Scholar]
  16. Muthu, R.; Kumaran, M.S.; Rajaraman, L.A.; Ganesh, P.; Reddy, P.G. Direct Torque Control of matrix converter fed BLDC motor. In Proceedings of the IEEE 6th India International Conference, Kurukshetra, India, 8–10 December 2014; pp. 1–6. [Google Scholar]
  17. Ozturk, S.B.; Alexander, W.C.; Toliyat, H.A. Direct Torque Control of Four-Switch Brushless DC Motor with Non-Sinusoidal Back EMF. IEEE Trans. Power Electron. 2010, 25, 263–271. [Google Scholar] [CrossRef]
  18. Kang, S.-J.; Sul, S.-K. Direct torque control of brushless DC motor with nonideal trapezoidal back EMF. IEEE Trans. Power Electron. 1995, 10, 796–802. [Google Scholar] [CrossRef]
  19. Liu, Y.; Zhu, Z.Q.; Howe, D. Direct Torque Control of Brushless DC Drives with Reduced Torque Ripple. IEEE Trans. Ind. Appl. 2005, 41, 599–608. [Google Scholar] [CrossRef]
  20. Shyu, K.K.; Lin, J.K.; Pham, V.T.; Yang, M.J.; Wang, T.W. Global Minimum Torque Ripple Design for Direct Torque Control of Induction Motor Drives. IEEE Trans. Ind. Electron. 2010, 57, 3148–3156. [Google Scholar] [CrossRef]
  21. Li, Z.; Zhang, S.; Zhou, S.; Ahn, J.W. Torque Ripple Minimization in Direct Torque Control of Brushless DC Motor. J. Electr. Eng. Technol. 2014, 9, 1569–1576. [Google Scholar] [CrossRef][Green Version]
  22. Wong, W.S.H.; Holliday, D. Constant inverter switching frequency direct torque control. In Proceedings of the International Conference on Power Electronics Machines and Drives, Bath, UK, 16–18 April 2002; IET: London, UK, 2002; pp. 104–109. [Google Scholar]
  23. Blanchini, F.; Casagrande, D.; Giordano, G.; Viaro, U. Robust constrained Model Predictive Control of fast electromechanical systems. J. Frankl. Inst. 2016, 353, 2087–2103. [Google Scholar] [CrossRef]
  24. Kang, J.K.; Sul, S.K. New direct torque control of induction motor for minimum torque ripple and constant switching frequency. IEEE Trans. Ind. Appl. 1999, 35, 1076–1082. [Google Scholar] [CrossRef]
  25. Xu, Y.; Zhong, Y. A novel direct torque control strategy of permanent magnet synchronous motors based on duty ratio control. Trans. China Electrotech. Soc. 2009, 24, 27–32. [Google Scholar]
  26. Zhang, Y.; Zhu, J. A Novel Duty Cycle Control Strategy to Reduce both Torque and Flux Ripples for DTC of Permanent Magnet Synchronous Motor Drives with Switching Frequency Reduction. IEEE Trans. Power Electron. 2011, 26, 3055–3067. [Google Scholar] [CrossRef]
  27. Joy, J.; Ushakumari, S. Performance Comparison of a Sensorless PMBLDC Motor Drive System with Conventional and Fuzzy Logic Controllers. Procedia Technol. 2016, 25, 643–651. [Google Scholar] [CrossRef][Green Version]
  28. Kiree, C.; Kumpanya, D.; Tunyasrirut, S.; Puangdownreong, D. PSO-Based Optimal PI(D) Controller Design for Brushless DC Motor Speed Control with Back EMF Detection. J. Electr. Eng. Technol. 2016, 11, 715–723. [Google Scholar] [CrossRef]
  29. Knypiński, Ł.; Kuroczycki, S.; Márquez, F.P.G. Minimization of Torque Ripple in the Brushless DC Motor Using Constrained Cuckoo Search Algorithm. Electronics 2021, 10, 2299. [Google Scholar] [CrossRef]
  30. Hanif, M.I.F.M.; Suid, M.H.; Ahmad, M.A. A piecewise affine PI controller for buck converter generated DC motor. Int. J. Power Electron. Drive Syst. (IJPEDS) 2019, 10, 1419. [Google Scholar] [CrossRef]
  31. Huba, M.; Chamraz, S.; Bistak, P.; Vrancic, D. Making the PI and PID Controller Tuning Inspired by Ziegler and Nichols Precise and Reliable. Sensors 2021, 21, 6157. [Google Scholar] [CrossRef] [PubMed]
  32. Shadravan, S.; Naji, H.R.; Bardsiri, V.K. The Sailfish Optimizer: A novel nature-inspired metaheuristic algorithm for solving constrained engineering optimization problems. Eng. Appl. Artif. Intell. 2019, 80, 20–34. [Google Scholar] [CrossRef]
  33. Herbert-Read, J.E. Understanding how animal groups achieve coordinated movement. J. Exp. Biol. 2016, 219, 2971–2983. [Google Scholar] [CrossRef] [PubMed]
  34. Jarkas, A.M.; Doss, M.A. Optimized PI controller tuning for improved performance in BLDC motor speed control using heuristic adaptive lyrebird optimization algorithm. Electr. Eng. 2025, 107, 9467–9487. [Google Scholar] [CrossRef]
Figure 1. Group hunting techniques of sailfish.
Figure 1. Group hunting techniques of sailfish.
Energies 19 01644 g001
Figure 2. Proposed direct torque control of BLDC drive.
Figure 2. Proposed direct torque control of BLDC drive.
Energies 19 01644 g002
Figure 3. Motor speed (a) and torque (b) at 600 rpm in Mode 1.
Figure 3. Motor speed (a) and torque (b) at 600 rpm in Mode 1.
Energies 19 01644 g003
Figure 4. Motor speed (a) and torque (b) at 2000 rpm in Mode 1.
Figure 4. Motor speed (a) and torque (b) at 2000 rpm in Mode 1.
Energies 19 01644 g004
Figure 5. Motor speed (a) and torque (b) at 600 rpm in Mode 2.
Figure 5. Motor speed (a) and torque (b) at 600 rpm in Mode 2.
Energies 19 01644 g005
Figure 6. Motor speed (a) and torque (b) at 2000 rpm in Mode 2.
Figure 6. Motor speed (a) and torque (b) at 2000 rpm in Mode 2.
Energies 19 01644 g006
Figure 7. Motor speed (a) and torque (b) at 600 rpm in Mode 2 with 50% torque applied.
Figure 7. Motor speed (a) and torque (b) at 600 rpm in Mode 2 with 50% torque applied.
Energies 19 01644 g007
Figure 8. Motor speed (a) and torque (b) at 2000 rpm in Mode 2 with 50% torque applied.
Figure 8. Motor speed (a) and torque (b) at 2000 rpm in Mode 2 with 50% torque applied.
Energies 19 01644 g008
Figure 9. Motor speed (a) and torque (b) at 600 rpm in Mode 2 with 75% torque applied.
Figure 9. Motor speed (a) and torque (b) at 600 rpm in Mode 2 with 75% torque applied.
Energies 19 01644 g009
Figure 10. Motor speed (a) and torque (b) at 2000 rpm in mode 2 with 75% torque applied.
Figure 10. Motor speed (a) and torque (b) at 2000 rpm in mode 2 with 75% torque applied.
Energies 19 01644 g010
Figure 11. Motor speed (a) and torque (b) at 600 rpm in Mode 2 with 100% torque applied.
Figure 11. Motor speed (a) and torque (b) at 600 rpm in Mode 2 with 100% torque applied.
Energies 19 01644 g011
Figure 12. Motor speed (a) and torque (b) at 2000 rpm in Mode 2 with 100% torque applied.
Figure 12. Motor speed (a) and torque (b) at 2000 rpm in Mode 2 with 100% torque applied.
Energies 19 01644 g012
Figure 13. Rise time at 600 rpm and 2000 rpm.
Figure 13. Rise time at 600 rpm and 2000 rpm.
Energies 19 01644 g013
Figure 14. Settling time at 600 rpm and 2000 rpm.
Figure 14. Settling time at 600 rpm and 2000 rpm.
Energies 19 01644 g014
Figure 15. Overshoot at 600 rpm and 2000 rpm.
Figure 15. Overshoot at 600 rpm and 2000 rpm.
Energies 19 01644 g015
Figure 16. Undershoot at 600 rpm and 2000 rpm.
Figure 16. Undershoot at 600 rpm and 2000 rpm.
Energies 19 01644 g016
Figure 17. Peak at 600 rpm and 2000 rpm.
Figure 17. Peak at 600 rpm and 2000 rpm.
Energies 19 01644 g017
Figure 18. Experimental test bench for BLDC motor drive system.
Figure 18. Experimental test bench for BLDC motor drive system.
Energies 19 01644 g018
Figure 19. Experimental results for Mode 1 with motor speed at (a) 600 rpm, (b) 2000 rpm.
Figure 19. Experimental results for Mode 1 with motor speed at (a) 600 rpm, (b) 2000 rpm.
Energies 19 01644 g019
Figure 20. Experimental results for Mode 2 with 25% load and motor speed at (a) 600 rpm, (b) 2000 rpm.
Figure 20. Experimental results for Mode 2 with 25% load and motor speed at (a) 600 rpm, (b) 2000 rpm.
Energies 19 01644 g020
Figure 21. Experimental results for Mode 3 with 50% load and motor speed at (a) 600 rpm, (b) 2000 rpm.
Figure 21. Experimental results for Mode 3 with 50% load and motor speed at (a) 600 rpm, (b) 2000 rpm.
Energies 19 01644 g021
Figure 22. Experimental results for Mode 4 with 75% load and motor speed at (a) 600 rpm, (b) 2000 rpm.
Figure 22. Experimental results for Mode 4 with 75% load and motor speed at (a) 600 rpm, (b) 2000 rpm.
Energies 19 01644 g022
Figure 23. Experimental results for Mode 5 with full load and motor speed at (a) 600 rpm, (b) 2000 rpm.
Figure 23. Experimental results for Mode 5 with full load and motor speed at (a) 600 rpm, (b) 2000 rpm.
Energies 19 01644 g023
Table 1. Parameters of the SFO and GWO algorithms.
Table 1. Parameters of the SFO and GWO algorithms.
ParameterRepresentationDescription
Optimization Type m i n   F ( K p , K i ) Single-objective minimization problem
Decision Variables x = [ K p , K i ] Proportional gain ( K p ) and integral gain ( K i ) of the PI controller
Objective Function F = w 1 × O v e r s h o o t + ( w 2 × S e t t l i n g   t i m e ) + ( w 3 × R i s e   t i m e ) Weighted sum of time-domain performance indices
Constraints 0 K p 0.14
0 K i 0.69
Bound constraints during optimization
Outputs K p * , K i * , F m i n Optimal PI gains and corresponding minimum objective value
Table 2. Rise time at 600 rpm with different torque levels.
Table 2. Rise time at 600 rpm with different torque levels.
Tr (Nref:600)0%25%50%75%100%
Sailfish-PI0.000690.000690.000690.000690.00069
GWO-PI0.00370.00370.00370.00370.0037
PI0.00350.00360.00350.00360.0036
PID0.000990.000980.000970.000970.00096
Table 3. Rise time at 2000 rpm with different torque levels.
Table 3. Rise time at 2000 rpm with different torque levels.
Tr (Nref:2000)0%25%50%75%100%
Sailfish-PI0.00210.00210.00210.00210.0021
GWO-PI0.01270.01270.01270.01270.0127
PI0.00410.00410.00410.00410.0041
PID0.05000.05020.05000.05010.0499
Table 4. Settling time at 600 rpm with different torque levels.
Table 4. Settling time at 600 rpm with different torque levels.
Tr (Nref:600)0%25%50%75%100%
Sailfish-PI0.00120.00120.00120.14020.1694
GWO-PI0.00480.00470.00470.09840.1769
PI0.04840.22030.26330.30780.3266
PID0.36130.08620.35290.74130.7971
Table 5. Settling time at 2000 rpm with different torque levels.
Table 5. Settling time at 2000 rpm with different torque levels.
Tr (Nref:2000)0%25%50%75%100%
Sailfish-PI0.00290.00290.00290.00290.0029
GWO-PI0.01580.01580.01580.01580.0158
PI0.04250.03480.16110.20160.2220
PID0.47070.46150.45570.44710.4388
Table 6. Overshoot at 600 rpm with different torque levels.
Table 6. Overshoot at 600 rpm with different torque levels.
Tr (Nref:600)0%25%50%75%100%
Sailfish-PI0.15780.07730.09020.04850.0536
GWO-PI0.78601.41941.65082.17102.5609
PI2.82652.40252.77472.42952.6055
PID2.55850.66971.83143.07574.4494
Table 7. Overshoot at 2000 rpm with different torque levels.
Table 7. Overshoot at 2000 rpm with different torque levels.
Tr (Nref:2000)0%25%50%75%100%
Sailfish-PI0.13090.07420.02520.02440.0122
GWO-PI0.97801.01551.16981.11941.2135
PI2.78642.54322.80362.58732.7070
PID5.80875.05164.28473.49712.7642
Table 8. Undershoot at 600 rpm with different torque levels.
Table 8. Undershoot at 600 rpm with different torque levels.
Tr (Nref:600)0%25%50%75%100%
Sailfish-PI1.47681.47561.47571.47521.4752
GWO-PI1.46941.47861.48201.48961.4953
PI1.47981.47371.47911.47411.4766
PID1.47301.47671.48131.48511.4902
Table 9. Undershoot at 2000 rpm with different torque levels.
Table 9. Undershoot at 2000 rpm with different torque levels.
Tr (Nref:2000)0%25%50%75%100%
Sailfish-PI0.44300.44270.44250.44250.4425
GWO-PI0.44190.44200.44270.44250.4429
PI0.44310.44200.44320.44220.4428
PID0.44260.44240.44250.44250.4427
Table 10. Peak at 600 rpm with different torque levels.
Table 10. Peak at 600 rpm with different torque levels.
Tr (Nref:600)0%25%50%75%100%
Sailfish-PI600.38600.39600.43600.41600.42
GWO-PI607.21607.21607.21607.21607.21
PI615.14615.14615.14615.14615.14
PID616.36603.53608.57614.45620.50
Table 11. Peak at 2000 rpm with different torque levels.
Table 11. Peak at 2000 rpm with different torque levels.
Tr (Nref:2000)0%25%50%75%100%
Sailfish-PI2001.02001.02001.02001.02001.0
GWO-PI2023.12023.12023.12023.12023.1
PI2053.62053.62053.62053.62053.6
PID2152.32127.52115.32102.42080.4
Table 12. Comparison between software and hardware results.
Table 12. Comparison between software and hardware results.
TorqueSystemRise TimeSettling TimeOvershootUndershootPeak
Mode 1Software0.00210.00290.13090.44302001.0
Hardware0.00190.00310.13120.44392001.7
Mode 2Software0.00210.00290.07420.44272001.0
Hardware0.00250.00270.07380.44182001.7
Mode 3Software0.00210.00290.02520.44252001.0
Hardware0.00220.00340.02610.44342001.7
Mode 4Software0.00210.00290.02440.44252001.0
Hardware0.00220.00350.02750.44272001.7
Mode 5Software0.00210.00290.01220.44252001.0
Hardware0.00240.00320.01270.44282001.7
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Othman, O.A.; Doss, M.A.N.; Aldahmashi, J.; Ibrahim, M.A.; Rajamanickam, N. High-Performance Speed Control of BLDC Motor Drives Using a PI Sailfish Optimization Algorithm. Energies 2026, 19, 1644. https://doi.org/10.3390/en19071644

AMA Style

Othman OA, Doss MAN, Aldahmashi J, Ibrahim MA, Rajamanickam N. High-Performance Speed Control of BLDC Motor Drives Using a PI Sailfish Optimization Algorithm. Energies. 2026; 19(7):1644. https://doi.org/10.3390/en19071644

Chicago/Turabian Style

Othman, Othman Abdalkader, Mohan Arun Noyal Doss, Jamal Aldahmashi, Moustafa Ahmed Ibrahim, and Narayanamoorthi Rajamanickam. 2026. "High-Performance Speed Control of BLDC Motor Drives Using a PI Sailfish Optimization Algorithm" Energies 19, no. 7: 1644. https://doi.org/10.3390/en19071644

APA Style

Othman, O. A., Doss, M. A. N., Aldahmashi, J., Ibrahim, M. A., & Rajamanickam, N. (2026). High-Performance Speed Control of BLDC Motor Drives Using a PI Sailfish Optimization Algorithm. Energies, 19(7), 1644. https://doi.org/10.3390/en19071644

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop