Next Article in Journal
Cloud-Based AI Framework for EV Charging Forecasting and Infrastructure Optimization
Next Article in Special Issue
Design of a Robust Controller for Speed Sensorless Brushless DC Motor Drive
Previous Article in Journal
CSAM Desistance via AI, Chatbots and Automated Warnings
Previous Article in Special Issue
Data-Driven Sensorless Rotor Position Estimation for Switched Reluctance Motors Using a Deep LSTM Network
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Speed Control of Induction Motor Drives Based on Combining Slime Mold Optimization Algorithm and Sliding Mode Theory

Department of Electrical Engineering, National Chin-Yi University of Technology, Taichung 41170, China
*
Author to whom correspondence should be addressed.
Electronics 2026, 15(11), 2282; https://doi.org/10.3390/electronics15112282
Submission received: 9 April 2026 / Revised: 8 May 2026 / Accepted: 20 May 2026 / Published: 25 May 2026

Abstract

A robust speed controller integrating the slime mold algorithm (SMA) with sliding mode theory (SMT) is proposed for induction motor (IM) drives operating under field-oriented control (FOC). Unlike conventional controllers with fixed gain parameters, the proposed exponential reaching law sliding mode controller (ERLSMC) defines the sliding mode dynamic trajectory control gain, exponential reaching gain, and constant-speed reaching gain as the search space for the SMA. An adaptive fitness function based on the speed error and its rate of change is constructed to continuously evaluate and update these gain parameters, thereby determining the optimal controller gains according to the current operating state. Consequently, larger gain values are assigned when the system state is far from the sliding mode dynamic trajectory to accelerate the reaching process, whereas smaller gain values are adopted near the sliding mode dynamic trajectory to suppress chattering and reduce overshoot. Matlab/Simulink (2024b version) simulations are conducted to evaluate the proposed controller in an IM drive system and compare its performance with constant-speed reaching law sliding mode control, exponential reaching law sliding mode control, and zebra optimization algorithm (ZOA)-based ERLSMC methods. The simulation results demonstrate that the proposed controller achieves superior performance in both speed command tracking and load regulation response.

1. Introduction

Induction motors (IMs) have become indispensable in modern industrial automation owing to their robust mechanical construction, low maintenance overhead, and dependable operational characteristics [1]. However, conventional scalar control schemes are inadequate for the increasingly stringent speed regulation and dynamic precision demands of contemporary manufacturing, which necessitates more sophisticated control approaches. Consequently, the industry has widely adopted field-oriented control (FOC) [2] technology to achieve decoupled control of torque and flux. Traditional FOC typically uses proportional–integral (P-I) controllers. While P-I controllers are relatively easy to design, they struggle to balance speed command tracking and load regulation response simultaneously. Thus, when the system faces parameter inaccuracies or external disturbances, control performance is often insufficient.
Researchers have responded to these shortcomings with a variety of advanced strategies, each with its own trade-offs. Sliding mode control (SMC) [3], for example, delivers strong disturbance rejection, yet the high-frequency switching action inherent to the method introduces torque ripple through chattering near the sliding surface. Furthermore, the commonly used constant-speed reaching law lacks integral action, leading to steady-state errors, while the exponential reaching law can accelerate response but often causes significant overshoot. To enhance performance, research has attempted to combine different algorithms. For example, extension theory combined with the sliding mode controller (ETERLSMC) [3] can effectively suppress overshoot and improve tracking stability, but its performance relies heavily on the completeness of characteristic data; a lack of sufficient data samples leads to imprecise control. The neural network sliding mode controller (NNSMC) [4] can approximate nonlinear dynamics to reduce chattering, but its complex structure creates a massive computational burden, and performance depends on training convergence, making hardware implementation challenging. Extendable fuzzy theory combined with a two-degrees-of-freedom controller (2DOFC) [5] improves system flexibility, but rule switching during load recovery often causes transient oscillations, resulting in insufficient convergence smoothness.
To solve the optimization problem of sliding mode parameters, swarm intelligence algorithms have been introduced. However, particle swarm optimization (PSO) [6], while fast to converge, lacks a mutation mechanism and easily falls into local optima. Although the zebra optimization algorithm (ZOA) [7] employs a group defense mechanism to avoid local optima, it primarily relies on fixed-weight or linearly decreasing search strategies during the optimization process. Consequently, maintaining a proper balance between global exploration and local exploitation becomes difficult when dealing with high-dimensional coupled control parameters.
To calculate the current fitness, the proposed control strategy utilizes the speed difference between the induction motor’s speed command and actual speed, along with its rate of change, as features. Furthermore, the slime mold algorithm (SMA) [8] is employed to construct a three-dimensional search space, which defines the parameter ranges for the constant-speed reaching gain, exponential reaching gain, and sliding mode dynamic trajectory control gain in the ERLMC. Unlike traditional optimization algorithms that rely on fixed or linear weights, this study simulates the adaptive weight adjustment of slime mold under different food concentrations and its unique oscillation mechanism. This allows the algorithm to dynamically change step size based on environmental feedback, precisely finding the optimal position coordinates to assign to the three gain parameters of the exponential reaching law sliding mode velocity controller. Consequently, during IM operation, the most suitable gain combination is output in real time by comparing fitness values, improving speed command tracking response and overshoot caused by the exponential reaching law under different working conditions, and significantly enhancing system robustness under load variations.

2. Field-Oriented Control Architecture of IM System

FOC [9] achieves independent regulation of torque and flux by mapping the three-phase stator quantities onto a d , q rotating reference frame that is synchronously aligned with the rotor flux, substantially reducing the complexity associated with IM controller design [10,11]. In this architecture, the speed controller compensates based on the error between the speed command and the feedback speed, while current controllers regulate the d- and q-axis currents respectively, achieving independent control of flux and torque. Finally, the voltage commands generated by the controllers control the duty cycle of the power semiconductor switches in the inverter [12] via space vector pulse width modulation (SVPWM) [13] to realize speed control of the IM drive.

2.1. Dynamic Equations of FOC

The fundamental objective of FOC is to provide the IM with control characteristics similar to those of a separately excited DC motor [14], thereby enabling independent regulation of flux and torque. Based on this principle, the dynamic equations of the squirrel-cage IM are formulated in the d-q rotating reference frame through the voltage and flux linkage relationships of the stator and rotor circuits. The stator and rotor voltage equations can be expressed as Equations (1)–(4) [10,11].
v d s = R s i d s + L σ d i d s d t ω e L σ i q s + L m L r d ϕ d r d t ω e L m L r ϕ q r
v q s = ω e L σ i d s + R s i q s + L σ d i q s d t + ω e L m L r ϕ d r + L m L r d ϕ q r d t
0 = R r L m i d s + R r ϕ d r + L r d ϕ d r d t ( ω e ω r ) L r ϕ q r
0 = R r L m i q s + ( ω e ω r ) L r ϕ d r + R r ϕ q r + L r d ϕ q r d t
where R s is the stator resistance, R r is the rotor resistance, L s is the stator inductance, L r is the rotor inductance, L m is the mutual inductance, ω e is the synchronous angular velocity, ω r is the rotor electrical angular velocity, i d s and i q s are the d - and q -axis stator currents, ϕ d r and ϕ q r are the rotor d- and q-axis fluxes, and L σ L s L m 2 / L r is the leakage inductance coefficient.
The electromagnetic torque and mechanical equations of the motor are expressed as in Equation (5).
T e = 3 P 4 L m L r ( i q s ϕ d r i d s ϕ q r ) = T L + J d ω r m d t + B ω r m
where T L is the load torque; J is the moment of inertia; B is the viscous friction coefficient; and the relationship between rotor electrical angular velocity, ω r , and mechanical angular velocity, ω r m , is ω r m = ( 2 / P ) ω r , where P is the number of poles.
When the d-axis of the synchronous reference frame is continuously aligned with the rotor flux vector, the flux component along the q-axis vanishes identically such that ϕ q r = 0 , concentrating the entire rotor flux magnitude on the d-axis alone as ϕ d r = ϕ r . Consequently, Equations (1)–(4) can be rewritten as Equations (6)–(9) [11].
d i d s d t = ( R s L σ 1 σ σ τ r ) i d s + ω e i q s + 1 σ σ τ r L m ϕ r + v d s L σ
d i q s d t = R s L σ i q s ω e i d s 1 σ σ L m ω e ϕ r + v q s L σ
d ϕ r d t = R r L r ϕ r + R r L m L r i d s
R r L m L r i q s + ω s l ϕ r = 0
where τ r = L r / L m and L σ = σ L s is the stator leakage inductance, σ = 1 L m 2 / L s L r is the leakage coefficient, and ω s l = ω e ω r is the slip speed. Since ϕ d r = ϕ r and ϕ q r = 0 , by substituting this condition into the electromagnetic torque Equation of (5), it can be rewritten as Equation (10). Furthermore, to describe the dynamic relationship between torque and speed, the mechanical equation of the motor can be further expressed as Equation (11).
T e = 3 P 4 L m L r i q s ϕ r
d ω r m d t = 1 J ( T e T L B ω r m )
Since the rotor flux cannot be measured directly, its value must be estimated through an appropriate flux estimation model. Therefore, by applying the Laplace transform to the rotor flux dynamic equation in Equation (8), the estimated rotor flux, ϕ ^ r , can be derived as expressed in Equation (12).
ϕ ^ r = L m i d s L r R r s + 1
where ϕ ^ r is the estimated flux and s is the Laplace operator.
From Equations (6) and (7), it can be seen that both the d- and q-axis current equations contain ordinary differential equation terms and nonlinear coupling terms. To eliminate the coupling effect and achieve system linearization, a control technique using feedforward compensation [15] is adopted. Using the feedback principle, the d-axis current error is passed through a P-I controller, and the resulting signal is Equation (13).
v d s = K P d + K I d s i d s * i d s
This signal is then combined with the output signal of the d-axis current. After coordinate transformation from two axes to three phases, it forms the three-phase voltage command input to the inverter. To ensure that the current loop possesses linear control characteristics, appropriate compensation must be added to v d s before coordinate transformation. Therefore, the d-axis voltage command is expressed as Equation (14).
v d s * = L σ v d s ω e i q s 1 σ σ τ r L m ϕ ^ r
By substituting Equation (14) into v d s in Equation (6), it can be expressed as Equation (15).
d i d s d t = ( R s L σ + 1 σ σ τ r ) i d s + v d s
Similarly, the q-axis current signal and voltage are given by Equation (16) and Equation (17), respectively.
v q s = K P q + K I q s i q s * i q s
v q s * = L σ v q s + ω e i d s + 1 σ σ L m ω e ϕ ^ r
By substituting Equation (17) into v q s in Equation (7), it can be expressed as Equation (18).
d i q s d t = R s L σ i q s + v q s
Within the speed control loop, the error between the reference speed and the actual motor speed obtained from the feedback signal is fed into a P-I controller to generate a torque command. This torque command is subsequently converted into a q-axis current command through the current control loop, thereby driving the motor to achieve speed regulation. The mechanical dynamics of the motor are determined by the moment of inertia and the viscous friction coefficient. Therefore, the Laplace transform [16] is applied to Equation (5) to establish the mathematical model of the speed loop. Based on this model, a controller is designed to provide good dynamic response and eliminate steady-state errors.

2.2. Sensorless FOC System Architecture of IM

The actual system still requires coordinate transformation and pulse width modulation (PWM) of the inverter to generate the corresponding three-phase voltage signals. In addition, this paper adopts a sensorless direct FOC strategy, so it is necessary to obtain the current flux and speed via a flux estimator [17] and a speed estimator [18]. In view of this, the complete architecture of the traditional sensorless FOC IM drive system is shown in Figure 1 [10].

3. The Proposed Novel Controller Algorithm

In traditional FOC of induction motors, the speed loop uses only a P-I controller, which often struggles to simultaneously balance the fast tracking of speed commands and regulation capability under load disturbances. Therefore, this paper proposes an exponential reaching law sliding mode controller combined with the SMA for dynamic gain parameter adjustment to replace the P-I controller in the speed loop. Specifically, taking the real-time speed error and the rate of change of the speed error as inputs, the SMA performs an optimization search to automatically correct the gains of the SMC. This equips the controller with self-adjustment capabilities and robustness, thereby effectively enhancing the overall performance of the IM speed control.

3.1. Slime Mold Algorithm

Introduced by Li et al. in 2020 [8], the slime mold algorithm (SMA) is a bio-inspired swarm intelligence optimization method inspired by the foraging behavior of Physarum polycephalum. Its search mechanism emulates several characteristic behaviors observed during the food acquisition process, including movement toward food sources guided by odor concentration gradients, adaptive vein contraction and expansion for resource allocation, and oscillatory behaviors generated by periodic vein contraction. Through these mechanisms, the SMA effectively balances exploration and exploitation during the optimization process, thereby enabling the algorithm to gradually converge toward the global optimum.

3.1.1. Approach Behavior

During the initial foraging phase, the slime mold extends an exploratory network radially in multiple directions to detect and approach potential food sources. If a higher concentration of a chemical odor is detected in a particular direction, the slime mold gradually concentrates energy to extend toward that direction, forming a temporary pathway. If the odor is insufficient or the direction is unclear, the slime mold changes direction and performs random drifting to avoid missing potential resources. This process, from rapid perception to approaching and then correcting direction, allows the slime mold to continuously update its movement path. Subsequently, in the iteration process, the movement of each slime mold depends on the fitness value corresponding to the food odor intensity and the best slime mold in the population. The mathematical expression for this approach behavior is represented by Equation (19).
X ( t + 1 ) = X b ( t ) + v b ( W X A ( t ) X B ( t ) ) ,   r < p v c + X ( t ) ,   r p
where X ( t + 1 ) represents the new position for the approach food behavior, X b ( t ) represents the optimal position of the slime mold individual at the t-th iteration, v c is a control vector that linearly decreases from one to zero, X A ( t ) and X B ( t ) represent the positions of two individuals randomly selected from the slime mold, X ( t ) is the current position, t is the current iteration count, and r is a random number in the range 0 , 1 .
In this process, in order to simulate the reaction of the slime mold to the strength of the odor, the SMA introduces a switching probability, p. When the fitness value of a certain individual is better than the average value, p will tend toward the positive direction, causing it to move and approach the best individual; conversely, it will bias toward the negative direction, causing it to stay or move away, thereby maintaining population diversity. The mathematical expression for p is shown in Equation (20).
p = tanh S ( i ) D F
where p is the switching probability, S ( i ) is the fitness value of the i-th slime mold, and DF is the best fitness value found in all iterations.
Furthermore, to reflect the periodic contraction to expansion of the slime mold veins, the SMA designs an oscillation amplitude parameter, v b . This vector has a larger range of values ( a , a ) in the initial stage, enabling the slime mold to explore with large steps; as the iteration progresses, a gradually approaches zero and the amplitude of v b converges synchronously, making the movement in the later stages more fine-grained. The mathematical expression for v b is represented by Equations (21) and (22).
v b = [ a , a ]
a = arctan h t T + 1
where v b is the oscillation amplitude parameter and T is the maximum number of iterations.
In the mathematical modeling of the SMA, whether an individual is closer to the optimal solution depends not only on the position of the current best individual but is also influenced by its “relative fitness”. To reflect this difference, the algorithm introduces a weight, W , the value of which is dynamically adjusted based on the individual’s ranking in the population (SmellIndex) and the difference between the best and worst fitness. When an individual’s performance is close to the optimal solution, W takes a larger positive value, making it converge more actively toward the optimal solution; conversely, individuals with poorer performance receive smaller or even lower weights, corresponding to a “weakening of the approach behavior”, to avoid the entire population concentrating too quickly. This design compresses the value range through a log function to ensure that W varies within a reasonable interval. The mathematical expression for W is represented by Equations (23) and (24).
W ( S m e l l I n d e x ( i ) ) = 1 + r log b F S ( i ) b F w F + 1 , c o n d i t i o n 1 r log b F S ( i ) b F w F + 1 , o t h e r
S m e l l I n d e x = s o r t ( S )
where bF is the best fitness value in the current iteration, wF is the worst fitness value in the current iteration, SmellIndex is the sequence of fitness values of the slime molds, and condition refers to the slime mold individuals ranked in the first half of fitness.

3.1.2. Wrap Behavior

When the slime mold finds food, it does not approach from a single direction alone; instead, it gradually contracts and strengthens the surrounding veins, ultimately wrapping around the food to become a center for cytoplasm energy transport. During this process, high-nutrient paths leading to the food gradually thicken, allowing a greater influx of material, whereas ineffective or nutrient-poor paths gradually contract until they vanish to conserve energy. Furthermore, a portion of the slime mold continues to diffuse outward, maintaining population diversity to ensure that other potential resources can be located should the current food source become insufficient. This mechanism of “concurrent concentration and contraction” enables the slime mold to pinpoint the food location while avoiding excessive convergence. The mathematical expression for this wrap food behavior is represented by Equation (25).
X * = r a n d U B - L B + L B ,   r a n d   <   z X b ( t ) + v b ( W X A ( t ) X B ( t ) ) ,   r   <   p v c + X ( t ) ,   r p
where UB is the upper bound of the search space, LB is the lower bound of the search space, rand is a random number in 0 , 1 , and z is the probability threshold.

3.1.3. Oscillation Behavior

In nature, even after the slime mold has found food, its veins still maintain periodic contraction and dilation. This “oscillation” behavior avoids local stagnation, ensures the continuous flow of cytoplasm, and allows for direction adjustment at any time. The random changes brought about by oscillation enable partial pathways to temporarily reverse or weaken, maintaining the population’s exploration capability. On the other hand, as time progresses, the oscillation amplitude gradually diminishes, allowing energy to ultimately concentrate on the best food source, completing the transition from “global” to “local”. In the mathematical modeling of the SMA, this oscillation behavior is not determined by a single factor but is realized through the combined action of three elements: the weight, W , mentioned earlier that strengthens or weakens the contribution of individuals with high or low fitness; the stochastic vector, v b , which simulates the randomness of vein flow direction switching; and the random control vector, v c , whose range linearly decreases to zero with the total number of iterations. In other words, oscillation is the core mechanism for maintaining the balance between exploration and convergence during the evolutionary process of the SMA, enabling the algorithm to both escape local optima and gradually converge to the global optimum.

3.2. Sliding Mode Controller

Although P-I controllers deliver adequate performance under well-defined operating conditions, the strong nonlinearity and multivariable coupling inherent to IM dynamics fundamentally limit their effectiveness. Therefore, sliding mode control (SMC), as a form of variable structure control (VSC) [19], is adopted because it exhibits reduced dependence on accurate system models, providing strong anti-interference capability and robustness.
In speed tracking control, the objective is to make the error value between the speed command, ω r m * , and the actual feedback speed, ω r m , zero. Therefore, the state variables of the IM system can be expressed as in Equation (26).
x 1 = ω r m * ω r m x 2 = x ˙ 1 = ω ˙ r m
where x 1 and x 2 are the state variable functions, representing the speed tracking error and the variation rate of the speed error, respectively.
The underlying principle of SMC is to steer the system state to move along a predefined sliding mode dynamic trajectory. This trajectory is formulated as a function composed of selected state variables and their corresponding control gains, as shown in Equation (27).
s 1 = c x 1 + x 2
where s 1 is the sliding mode dynamic trajectory function and c is the sliding mode dynamic trajectory control gain.
To guarantee that the sliding mode dynamic trajectory function, s 1 , converges to 0 at a certain time and to satisfy the stability requirements based on the Lyapunov second stability method [20], a suitable reaching law function [21] must be formulated. To adaptively adjust the convergence rate and suppress chattering, the exponential reaching law is adopted in this study, which is presented in Equation (28).
s ˙ 1 = ε sgn ( s 1 ) q s 1 ,   ε > 0 ,   q > 0
where ε is the constant-speed reaching gain, q is the exponential reaching gain, and sgn ( s 1 ) is a function symbol.
By differentiating the sliding mode dynamic trajectory function, substituting the IM mechanical dynamics, and applying the exponential reaching law, the final controller output can be derived. Based on the fact that the controller output is the q-axis reference current, Equation (29) represents the q-axis reference current, i q s , derived from the aforementioned control action.
i q s = 1 D c B J x 2 + ε sgn ( s 1 ) + q s 1 d t
where D = 1 J 3 P 4 L m L r ϕ r . Through the aforementioned design process, the speed-loop controller is completely formulated. This generated q-axis current command, i q s , is subsequently fed into the inner current loop to achieve speed regulation of the IM system.

3.3. Speed Control of SMA Combined with SMC

In light of the preceding analysis, the exponential reaching law sliding mode controller (ERLSMC) is employed as the primary speed controller for the IM drive system. To further suppress speed overshoot and improve the tracking speed and stability, the SMA is incorporated to dynamically adjust the three gain parameters of the controller. Specifically, the parameter search domain is determined by the predefined upper and lower limits of the three controller gains. The initial fitness evaluation is established according to the speed tracking error between the reference command and the actual motor speed together with its rate of change. Thereafter, the population fitness condition is assessed to obtain the current optimal fitness and solution position. By means of the second term in Equation (25), the wrap mechanism is performed to direct the population toward the identified best solution while enhancing local exploitation capability. In addition, the third term of Equation (25) introduces an oscillatory search behavior that prevents the optimization process from converging prematurely to local optima. As a result, the algorithm progressively approaches the global optimum and determines the appropriate gain parameters for the exponential reaching law sliding mode controller. The adaptive adjustment procedure of the SMA is described in the following section, while the corresponding control flowchart is presented in Figure 2.
Step 1:
Set relevant parameters, such as slime mold population size, N; dimension, dim; maximum number of iterations, T; the search space range [ l b j , u b j ]; random numbers r and rand; the probability threshold, z; and weights α ( W 1 ) and β ( W 2 ) .
Step 2:
Initialize the position, X, and fitness value, F, of each slime mold.
Step 3:
First, a slime mold individual is randomly selected as the initial search slime mold, S M j , and its position coordinate values are directly input into the exponential reaching law sliding mode controller. Subsequently, the integral of absolute error (IAE) is adopted to calculate the system feedback speed error, e, and the rate of change of the speed error, e ˙ , and the initial fitness value is calculated based on the set weight values, α ( W 1 ) and β ( W 2 ) . The weight values represent the relative importance of each feature quantity. According to the analysis of the sliding mode dynamic trajectory function in Equation (23), it is known that this controller possesses compensation and correction effects regarding the rate of change of the speed error; therefore, in the initial stage, α ( W 1 ) = 0 . 7 and β ( W 2 ) = 0 . 3 are set, with α ( W 1 ) + β ( W 2 ) = 1 . In subsequent iterations, the weight update mechanism of the SMA in Equation (23) of Step 5 is used to dynamically adjust the aforementioned weights and, based on this, the IAE is utilized to calculate the fitness value, F i , of the search slime mold, as shown in Equation (30).
F i = α ( W 1 ) t = 1 T e i , t + β ( W 2 ) t = 1 T e ˙ i , t
where e i , t and e ˙ i , t are the error and the rate of change of the error of the i-th slime mold in the t-th iteration, respectively.
Step 4:
Based on the fitness values calculated in Step 3, all slime molds are sorted. The best fitness, bF; the worst fitness, wF; and the global best position, X b e s t , in the current population are recorded. This sorting result will serve as the basis for the subsequent calculation of weights.
Figure 2. Control flowchart of the proposed novel SMA.
Figure 2. Control flowchart of the proposed novel SMA.
Electronics 15 02282 g002
Step 5:
At the current iteration number, t; for each slime mold individual, X i , first calculate the approach food probability, p, using Equation (20) based on its current fitness value, S ( i ) , and the best fitness, bF, in the population so far. Then, update the range, a, of the oscillation control parameter according to Equation (22) to determine the oscillation vector, v b , and simultaneously update the linearly decreasing control vector, v c . Finally, calculate the corresponding adaptive weight, W , via Equation (23) to provide the proportion for regulating exploration and exploitation behaviors during the subsequent position update. Furthermore, feed this weight back into the fitness function to serve as the basis for dynamically adjusting the weight coefficients, α ( W 1 ) and β ( W 2 ) , within the integral of absolute error (IAE) formula.
Step 6:
For each dimension, j, of each slime mold individual, X i , calculate its candidate position, X i n e w , according to the single integrated position update Equation (25) of the SMA. This mechanism first determines whether to execute the first term of Equation (25) by judging if rand > z; if the random distribution is not triggered, it decides whether to execute the second term of Equation (25) based on r < p; otherwise, it executes the third term of Equation (25). After completing the position update, use it as the basis for the subsequent fitness evaluation and population sorting.
Step 7:
After all slime mold individuals have completed their position updates, sort the population fitness, and update the worst fitness, wF, and the best fitness, bF, to the global best record values achieved so far.
Step 8:
Update and record the best fitness value and best position obtained so far. If the iteration count has reached the preset maximum number of iterations, stop the iteration and output the coordinate values of the best position to adjust the three gain parameters of the exponential reaching law sliding mode controller and determine the final output, i q s * , of the controller via Equation (29).
To illustrate the configuration of the overall control architecture, the proposed slime mold algorithm combined with the exponential reaching law sliding mode controller (SMAERLSMC) is integrated into a traditional sensorless FOC IM drive system. The parameters adopted by the SMA within the proposed control scheme are listed in Table 1. The overall block diagram is shown in Figure 3.

3.4. Computational Complexity Analysis

To justify the feasibility of true online adaptation, the computational burden of the proposed SMAERLSMC is evaluated. Based on the configuration in Table 1, the SMA utilizes a small population size of N = 10 and a low iteration count of T = 30, resulting in a maximum of 300 fitness evaluations per control cycle. Because the algorithm relies exclusively on basic floating-point arithmetic rather than massive matrix computations, its overall computational complexity is strictly bounded by N*dim*T. For a standard industrial digital signal processor (e.g., the 150 MHz TMS320F28335 with a hardware floating-point unit), these basic operations consume a negligible fraction of the processing capacity. Consequently, the entire optimization process can be seamlessly completed within a single speed-loop interrupt cycle, guaranteeing immediate gain updates without causing any control delay.

4. Simulation Results

To evaluate the speed regulation capability of the proposed robust controller in the IM drive system, simulation analysis is carried out in the Matlab/Simulink environment. The corresponding motor specifications are provided in Table 2. Under the same testing conditions, the IM drive performance is examined using four different control strategies: the slime mold algorithm combined with the exponential reaching law sliding mode controller (SMAERLSMC), the constant-speed reaching law sliding mode controller (CSRLSMC), the exponential reaching law sliding mode controller (ERLSMC), and the zebra optimization algorithm combined with the exponential reaching law sliding mode controller (ZOAERLSMC). Figure 4a–d and Figure 5a–d present the simulation results of the speed command tracking response for the IM under loads of 1 N-m and 2 N-m, respectively, with the speed command rising from 0 to different speed commands (1000 rpm, 2000 rpm, 3000 rpm, and 4000 rpm). Figure 6a–d show the simulation results of the load regulation response for the IM under different speed commands (1100 rpm, 2100 rpm, 3100 rpm, and 4100 rpm), where the load torque variation is T L : 0 1 0 2 0 N-m. The simulation results indicate that without an integral term in its design, the CSRLSMC struggles to maintain stable convergence toward the reference speed during operation, thereby prolonging the overall tracking duration; furthermore, in terms of load regulation response, its speed recovery time is longer, and it exhibits a larger speed drop. While the ERLSMC presents a faster response in speed command tracking, it easily produces overshoot during the dynamic tracking process, leading to concerns regarding system stability. From Figure 4 and Figure 5, it can be observed that although the ZOAERLSMC can effectively suppress overshoot during the dynamic response process compared to the pure ERLSMC, this controller can still be further optimized in the balance between speed tracking and load regulation. Specifically, under load variations, its transient response and speed recovery capability remain insufficient. When the SMA is employed to dynamically adjust the three gain parameters of the ERLSMC, the overshoot produced by the conventional ERLSMC can be effectively reduced. In addition, the proposed controller exhibits superior load regulation response compared with the other three control methods. Compared to other control strategies, the SMAERLSMC proposed in this paper can simultaneously balance the capabilities of command tracking speed and overshoot suppression, and regarding load regulation response, its overall control performance is superior to the other three types of controllers.
Table 3 and Table 4 present the speed tracking performance of the four controllers under loads of 1 N-m and 2 N-m, respectively, where the speed command rises from 0 rpm to 1000, 2000, 3000, and 4000 rpm. The key metrics compared are overshoot and settling time. Table 5 and Table 6 demonstrate the load regulation performance under speed commands of 1100, 2100, 3100, and 4100 rpm for 1 N-m and 2 N-m load steps, respectively, where each load is applied at 2 s and 3 s and unloaded at 2.5 s and 3.5 s; the metrics compared are speed drop and recovery time. Simulation results confirm that the proposed SMAERLSMC outperforms the other three controllers in both speed tracking and load regulation, achieving zero overshoot and the fastest settling and recovery times across all test conditions.

5. Conclusions

This paper presents a SMAERLSMC to replace the conventional P-I controller used in traditional FOC for IM speed control. Different from conventional fixed-weight or linear decreasing strategies, the proposed method incorporates the dynamic weighting mechanism of the slime mold algorithm. This mechanism requires very low additional computational cost to utilize feedback on individual quality, realizing adaptive adjustment of the fitness function, thereby altering the search convergence path to precisely optimize the gains of the sliding mode controller. This control strategy not only effectively suppresses the speed overshoot caused by the ERLSMC but also overcomes the issue of poor load regulation response performance found in the CSRLSMC. Simultaneously, simulation results demonstrate that the robust controller proposed in this paper is superior to the ZOAERLSMC and two common reaching law sliding mode controllers in terms of speed tracking and load regulation performance. In particular, through adaptive weight calculation, it exhibits better robustness under load variations. Additionally, the proposed controller possesses a compact structure and low computational complexity and does not depend on extensive training data, thereby facilitating practical implementation. To broaden the application context beyond simulation studies, future research will prioritize the practical implementation and experimental validation of the proposed methodology. Specifically, the control strategy will be deployed on a real hardware system featuring a physical induction motor drive and a digital signal processor (DSP). This hardware-based investigation will be crucial to further assess the controller’s real-time execution performance and its overall robustness under actual industrial operating conditions.

Author Contributions

Conceptualization, K.-H.C.; Methodology, K.-C.C.; Formal Analysis, K.-H.C.; Writing—Original Draft Preparation, K.-H.C.; Writing—Review and Editing, K.-H.C.; Project Administration, K.-H.C. All authors have read and agreed to the published version of the manuscript.

Funding

The authors gratefully acknowledge the support and funding of this project by the National Science and Technology Council, Taiwan, under Grant Number NSTC 114-2221-E167-003-MY2.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in the study are included in the article; further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

Nomenclature

Abbreviations
IMInduction motor
FOCField-oriented control
SMASlime mold algorithm
SMT Sliding mode theory
ZOA Zebra optimization algorithm
P-IProportional–integral
SMCSliding mode controller
ETERLSMCExtension theory combined with sliding mode controller
NNSMCNeural network sliding mode controller
2DOFCTwo-degrees-of-freedom controller
PSOParticle swarm optimization
SVPWMSpace vector pulse width modulation
VSCVariable structure control
SMAERLSMCSlime mold algorithm combined with exponential reaching law sliding mode controller
CSRLSMCConstant-speed reaching law sliding mode controller
ERLSMCExponential reaching law sliding mode controller
ZOAERLSMCZebra optimization algorithm combined with exponential reaching law sliding mode controller
Symbols
R s Stator resistance
R r Rotor resistance
L s Stator inductance
L r Rotor inductance
L m Mutual inductance
ω e Synchronous angular velocity
ω r Rotor electrical angular velocity
i d s , i q s d- and q-axis stator currents
ϕ d r , ϕ q r Rotor d- and q-axis fluxes
L σ Leakage inductance coefficient
T L Load torque
J Moment of inertia
B Viscous friction coefficient
ω r m Mechanical angular velocity
P Number of poles
σ Leakage coefficient
ω s l Slip speed
ϕ ^ r Estimated flux
s Laplace operator
X ( t + 1 ) New position for the approach food behavior
X b ( t ) Optimal position of the slime mold individual at the t-th iteration
v c Control vector that linearly decreases from one to zero
X A ( t ) , X B ( t ) Positions of two individuals randomly selected from the slime mold
X ( t ) Current position
t Current iteration count
p Switching probability
r Random number in the range 0 , 1
S ( i ) Fitness value of the i-th slime mold
D F Best fitness value found in all iterations
v b Oscillation amplitude parameter
T Maximum number of iterations
W Weight
b F Best fitness value in the current iteration
w F Worst fitness value in the current iteration
S m e l l I n d e x Sequence of fitness values of the slime molds
c o n d i t i o n Slime mold individuals ranked in the first half of fitness
U B Upper bound of the search space
L B Lower bound of the search space
r a n d Random number in 0 , 1
z Probability threshold
ω r m * Commanded rotor speed
s 1 Sliding mode dynamic trajectory function
c Sliding mode dynamic trajectory control gain
x 1 State variable of speed difference
x 2 State variable of rate change of the speed difference
i q s Stator reference current of the q-axis
s ˙ 1 Reaching law functions
ε Constant-speed reaching gain
q Exponential reaching gain
sgn ( s ) Function symbol of sign
e Speed difference
e ˙ Rate change of the speed difference
α ( W 1 ) , β ( W 2 ) Weight values

References

  1. Simões, M.G. A Concise History of Induction Motor Drives—Part 1 [History]. IEEE Electrif. Mag. 2023, 11, 5–11. [Google Scholar] [CrossRef] [Scilit]
  2. Paul, O.E.; Kucher, E.S. Synthesis of Induction Motor Adaptive Field-oriented Control System with the Method of Signal-adaptive Inverse Model. In Proceedings of the 21st International Conference of Young Specialists on Micro/Nanotechnologies and Electron Devices (EDM), Chemal, Russia, 29 June–3 July 2020; pp. 470–474. [Google Scholar]
  3. Chao, K.H.; Hsieh, C.T.; Chen, X.J. A Robust Controller Based on Extension Sliding Mode Theory for Brushless DC Motor Drives. Electronics 2024, 13, 4028. [Google Scholar] [CrossRef] [Scilit]
  4. Gudey, S.K.; Malla, M.; Jasthi, K.; Gampa, S.R. Direct Torque Control of an Induction Motor Using Fractional-order Sliding Mode Control Technique for Quick Response and Reduced Torque Ripple. World Electr. Veh. J. 2023, 14, 137. [Google Scholar] [CrossRef] [Scilit]
  5. Chao, K.H.; Chang, C.L. Design of a Robust Controller for Induction Motor Drive Systems Based on Extendable Fuzzy Theory. Mathematics 2024, 12, 3235. [Google Scholar] [CrossRef] [Scilit]
  6. Song, J.; Zheng, W.X.; Niu, Y. Self-Triggered Sliding Mode Control for Networked PMSM Speed Regulation System: A PSO-Optimized Super-Twisting Algorithm. IEEE Trans. Ind. Electron. 2022, 69, 763–773. [Google Scholar] [CrossRef] [Scilit]
  7. Chao, K.-H.; Huang, K.-H.; Guo, Y.-H. Design of a Brushless DC Motor Drive System Controller Integrating the Zebra Optimization Algorithm and Sliding Mode Theory. Electronics 2024, 13, 3353. [Google Scholar] [CrossRef] [Scilit]
  8. Li, S.; Chen, H.; Wang, M.; Heidari, A.A.; Mirjalili, S. Slime Mould Algorithm: A New Method for Stochastic Optimization. Future Gener. Comput. Syst. 2020, 111, 300–323. [Google Scholar] [CrossRef] [Scilit]
  9. O’Rourke, C.J.; Qasim, M.M.; Overlin, M.R.; Kirtley, J.L. A Geometric Interpretation of Reference Frames and Transformations: dq0, Clarke, and Park. IEEE Trans. Energy Convers. 2019, 34, 2070–2083. [Google Scholar] [CrossRef] [Scilit]
  10. Liu, C.H. AC Motor Control: The Principles of Vector Control and Direct Torque Control, 4th ed.; Tonghua Books Co., Ltd.: Taipei, Taiwan, 2007; pp. 33–217. [Google Scholar]
  11. Ye, C.C. AC Motor Control and Simulation Technology: A Guidance on Mastering the Core Algorithms of Electric Vehicles and Variable Frequency Technology, 1st ed.; Wunan Books: Taipei, Taiwan, 2023; pp. 11–151. [Google Scholar]
  12. Gupta, S.; George, S.; Awate, V. PI Controller Design and Application for SVPWM Switching Technique Based FOC of PMSM. In Proceedings of the 2nd International Conference on Trends in Electrical, Electronics, and Computer Engineering (TEECCON), Bangalore, India, 23–24 August 2023; pp. 172–177. [Google Scholar]
  13. Vemparala, R.R.B.; Titus, J. Performance Evaluation of an Si + SiC Based Hybrid VSI Using a Modified Space Vector Switching Pattern in a Grid Connected Inverter Application. In Proceedings of the IECON–48th Annual Conference of the IEEE Industrial Electronics Society, Brussels, Belgium, 17–20 October 2022; pp. 1–6. [Google Scholar]
  14. Tapia-Olvera, R.; Beltran-Carbajal, F.; Aguilar-Mejia, O.; Valderrabano-Gonzalez, A. An Adaptive Speed Control Approach for DC Shunt Motors. Energies 2016, 9, 961. [Google Scholar] [CrossRef] [Scilit]
  15. Lin, S.; Cao, Y.; Wang, Z.; Yan, Y.; Shi, T.; Xia, C. Speed Controller Design for Electric Drives Based on Decoupling Two-degree-of-freedom Control Structure. IEEE Trans. Power Electron. 2023, 38, 15996–16009. [Google Scholar] [CrossRef] [Scilit]
  16. Georgiev, Z.; Trushev, I.; Chervenkov, A. Laplace Transform Method to Transient Analysis in Magnetically Coupled Electrical Circuits. In Proceedings of the International Scientific Conference on Computer Science (COMSCI), Sozopol, Bulgaria, 18–20 September 2023; pp. 1–4. [Google Scholar]
  17. Jo, G.J.; Choi, J.W. Rotor Flux Estimator Design with Offset Extractor for Sensorless-driven Induction Motors. IEEE Trans. Power Electron. 2022, 37, 4497–4510. [Google Scholar] [CrossRef] [Scilit]
  18. Indriawati, K.; Widjiantoro, B.L.; Rachman, N.R. Disturbance Observer-based Speed Estimator for Controlling Speed Sensorless Induction Motor. In Proceedings of the 3rd International Seminar on Research of Information Technology and Intelligent Systems (ISRITI), Yogyakarta, Indonesia, 10–11 December 2020; pp. 301–305. [Google Scholar]
  19. Li, K.; Ding, J.; Sun, X.; Tian, X. Overview of Sliding Mode Control Technology for Permanent Magnet Synchronous Motor System. IEEE Access 2024, 12, 71685–71704. [Google Scholar] [CrossRef] [Scilit]
  20. Bodur, F.; Kaplan, O. A Novel Sliding Mode Control Based on Super Twisting Reaching Law for PMSM Speed Controller with Fixed-time Disturbance Observer. In Proceedings of the 12th International Conference on Renewable Energy Research and Applications (ICRERA), Oshawa, ON, Canada, 29 August–1 September 2023; pp. 563–568. [Google Scholar]
  21. Qin, G.; Wang, M.; Cao, G.; Wang, Q.; Liao, Y. PID Sliding Mode Control of PMSM Based on Improved Terminal Sliding Mode Reaching Law. Energies 2025, 18, 2661. [Google Scholar] [CrossRef] [Scilit]
Figure 1. Block diagram of the traditional sensorless FOC IM drive system.
Figure 1. Block diagram of the traditional sensorless FOC IM drive system.
Electronics 15 02282 g001
Figure 3. Block diagram of the sensorless FOC IM drive system utilizing the novel sliding mode speed controller combined with SMA.
Figure 3. Block diagram of the sensorless FOC IM drive system utilizing the novel sliding mode speed controller combined with SMA.
Electronics 15 02282 g003
Figure 4. Comparison of tracking responses between the proposed SMAERLSMC, the CSRLSMC, the ERLSMC, and the ZOAERLSMC under a load of 1 N-m, where the speed command rises from 0 rpm to different speed commands: (a) ω r m : 0 1000 rpm; (b) ω r m : 0 2000 rpm; (c) ω r m : 0 3000 rpm; (d) ω r m : 0 4000 rpm.
Figure 4. Comparison of tracking responses between the proposed SMAERLSMC, the CSRLSMC, the ERLSMC, and the ZOAERLSMC under a load of 1 N-m, where the speed command rises from 0 rpm to different speed commands: (a) ω r m : 0 1000 rpm; (b) ω r m : 0 2000 rpm; (c) ω r m : 0 3000 rpm; (d) ω r m : 0 4000 rpm.
Electronics 15 02282 g004
Figure 5. Comparison of tracking responses between the proposed SMAERLSMC, the CSRLSMC, the ERLSMC, and the ZOAERLSMC under a load of 2 N-m, where the speed command rises from 0 rpm to different speed commands: (a) ω r m : 0 1000 rpm; (b) ω r m : 0 2000 rpm; (c) ω r m : 0 3000 rpm; (d) ω r m : 0 4000 rpm.
Figure 5. Comparison of tracking responses between the proposed SMAERLSMC, the CSRLSMC, the ERLSMC, and the ZOAERLSMC under a load of 2 N-m, where the speed command rises from 0 rpm to different speed commands: (a) ω r m : 0 1000 rpm; (b) ω r m : 0 2000 rpm; (c) ω r m : 0 3000 rpm; (d) ω r m : 0 4000 rpm.
Electronics 15 02282 g005aElectronics 15 02282 g005b
Figure 6. Comparison of load regulation responses between the proposed SMAERLSMC, the CSRLSMC, the ERLSMC, and the ZOAERLSMC, where a load of 1 N-m is applied at 2 s and unloaded at 2.5 s; then a load of 2 N-m is applied at 3 s and unloaded at 3.5 s: (a) ω r m = 1100 rpm, T L : 0 1 0 2 0 N-m; (b) ω r m = 2100 rpm, T L : 0 1 0 2 0 N-m; (c) ω r m = 3100 rpm, T L : 0 1 0 2 0 N-m; (d) ω r m = 4100 rpm, T L : 0 1 0 2 0 N-m.
Figure 6. Comparison of load regulation responses between the proposed SMAERLSMC, the CSRLSMC, the ERLSMC, and the ZOAERLSMC, where a load of 1 N-m is applied at 2 s and unloaded at 2.5 s; then a load of 2 N-m is applied at 3 s and unloaded at 3.5 s: (a) ω r m = 1100 rpm, T L : 0 1 0 2 0 N-m; (b) ω r m = 2100 rpm, T L : 0 1 0 2 0 N-m; (c) ω r m = 3100 rpm, T L : 0 1 0 2 0 N-m; (d) ω r m = 4100 rpm, T L : 0 1 0 2 0 N-m.
Electronics 15 02282 g006
Table 1. Parameter values adopted for the SMA of the proposed control scheme.
Table 1. Parameter values adopted for the SMA of the proposed control scheme.
ParametersValue
Number of slime molds (N)10
Maximum number of iterations (T)30
Search space dimension (dim)3
Range of sliding mode dynamic trajectory control gain [ c m i n , c max ][350, 2000]
Range of exponential reaching gain [ q m i n , q m a x ][0.1, 5]
Range of constant-speed reaching gain [ ε m i n , ε m a x ][0.1, 1]
Range of random number ( r , r a n d )[0, 1]
Random reset probability (z)0.03
Initial weight coefficient of speed error ( α ( W 1 ) )0.7
Initial weight coefficient of rate of change in speed error ( β ( W 2 ) )0.3
Table 2. Specifications of the adopted IM.
Table 2. Specifications of the adopted IM.
Electrical SpecificationsValues
Three-phase rated voltageAC 180 V
Three-phase rated currentAC 7.65 A
Rated power1.9 kW
Rated speed4750 rpm
Operating frequency80 Hz
Number of poles2
Stator resistance0.6797 Ω
Rotor resistance0.6327 Ω
Armature inductance53.423 mH
Mutual inductance51.75 mH
Moment of inertia0.003 kg m 2
Viscous friction coefficient0.0001 N m s
Table 3. Speed tracking comparison for load = 1 N-m.
Table 3. Speed tracking comparison for load = 1 N-m.
Speed Command ChangeSMAERLSMC CSRLSMCERLSMCZOAERLSMC
OvershootSettling TimeOvershootSettling TIMEOvershootSettling TIMEOvershootSettling TIME
0→1000 rpm0 rpm0.09 s0 rpm0.34 s342 rpm0.32 s0 rpm0.12 s
0→2000 rpm0 rpm0.10 s0 rpm0.35 s1020 rpm0.40 s0 rpm0.14 s
0→3000 rpm0 rpm0.12 s0 rpm0.37 s1684 rpm0.49 s0 rpm0.17 s
0→4000 rpm0 rpm0.14 s0 rpm0.39 s2150 rpm0.56 s0 rpm0.19 s
Table 4. Speed tracking comparison for load = 2 N-m.
Table 4. Speed tracking comparison for load = 2 N-m.
Speed Command ChangeSMAERLSMC CSRLSMCERLSMCZOAERLSMC
OvershootSettling TimeOvershootSettling TimeOvershootSettling TimeOvershootSettling Time
0→1000 rpm0 rpm0.11 s0 rpm0.36 s366 rpm0.34 s0 rpm0.13 s
0→2000 rpm0 rpm0.13 s0 rpm0.38 s1060 rpm0.42 s0 rpm0.15 s
0→3000 rpm0 rpm0.15 s0 rpm0.42 s1720 rpm0.52 s0 rpm0.18 s
0→4000 rpm0 rpm0.18 s0 rpm0.44 s2262 rpm0.64 s0 rpm0.21 s
Table 5. Load regulation comparison for load = 0→1→0 N-m.
Table 5. Load regulation comparison for load = 0→1→0 N-m.
Speed
Command
SMAERLSMC CSRLSMCERLSMCZOAERLSMC
Speed DropRecovery
Time
Speed DropRecovery
Time
Speed DropRecovery
Time
Speed DropRecovery
Time
1100 rpm2.64 rpm0.053 s25.86 rpm0.28 s15 rpm0.23 s4.1 rpm0.07 s
2100 rpm2.76 rpm0.058 s26.92 rpm0.32 s16.7 rpm0.27s5.2 rpm0.11 s
3100 rpm2.82 rpm0.062 s27.98 rpm0.36 s18.5 rpm0.31 s6.4 rpm0.16 s
4100 rpm2.94 rpm0.068 s29.04 rpm0.41 s20.1 rpm0.36 s7.5 rpm0.19 s
Table 6. Load regulation comparison for load = 0→2→0 N-m.
Table 6. Load regulation comparison for load = 0→2→0 N-m.
Speed
Command
SMAERLSMC CSRLSMCERLSMCZOAERLSMC
Speed DropRecovery
Time
Speed DropRecovery
Time
Speed DropRecovery
Time
Speed DropRecovery
Time
1100 rpm2.86 rpm0.063 s28.02 rpm0.38 s19.08 rpm0.33 s6.5 rpm0.17 s
2100 rpm3.01 rpm0.069 s29.52 rpm0.43 s21.09rpm0.38 s6.9 rpm0.21 s
3100 rpm3.16 rpm0.072 s30.02 rpm0.48 s22.82 rpm0.42 s7.3 rpm0.27 s
4100 rpm3.28 rpm0.081 s31.52 rpm0.52 s23.94 rpm0.48 s7.9 rpm0.31 s
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

Chao, K.-H.; Chang, K.-C. Speed Control of Induction Motor Drives Based on Combining Slime Mold Optimization Algorithm and Sliding Mode Theory. Electronics 2026, 15, 2282. https://doi.org/10.3390/electronics15112282

AMA Style

Chao K-H, Chang K-C. Speed Control of Induction Motor Drives Based on Combining Slime Mold Optimization Algorithm and Sliding Mode Theory. Electronics. 2026; 15(11):2282. https://doi.org/10.3390/electronics15112282

Chicago/Turabian Style

Chao, Kuei-Hsiang, and Kuan-Chih Chang. 2026. "Speed Control of Induction Motor Drives Based on Combining Slime Mold Optimization Algorithm and Sliding Mode Theory" Electronics 15, no. 11: 2282. https://doi.org/10.3390/electronics15112282

APA Style

Chao, K.-H., & Chang, K.-C. (2026). Speed Control of Induction Motor Drives Based on Combining Slime Mold Optimization Algorithm and Sliding Mode Theory. Electronics, 15(11), 2282. https://doi.org/10.3390/electronics15112282

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