Have a personal or library account? Click to login
Towards High-Performance DC Motor Control: Fractional Modelling and FOPID Optimisation Cover

Towards High-Performance DC Motor Control: Fractional Modelling and FOPID Optimisation

By: Bilel Kanzari and  Adel Taeib  
Open Access
|Jan 2026

Full Article

1.
Introduction

The speed control of direct current (DC) motors remains a fundamental challenge in industrial automation, robotics, and energy-efficient drive systems. Achieving high precision, fast transient response, and low energy consumption requires robust control techniques capable of handling system non-linearities and parameter uncertainties (Nesri et al., 2024).

Traditionally, DC motor control relies on integer-order modelling and classical PID controllers, valued for their simplicity and ease of implementation. Standard tuning methods—such as the (Ziegler and Nichols 1942; Cohen and Coon 1953) procedures—provide acceptable transient and steady-state responses for many applications. However, these empirical techniques often lead to performance trade-offs, especially in systems with time-varying parameters, non-linear inductive dynamics, or high precision requirements.

To overcome these limitations, recent research has focused on heuristic and intelligent optimisation algorithms for PID and fractional-order proportional-integral-derivative (FOPID) tuning (Idir et al., 2022). For example, particle swarm optimisation (PSO) and genetic algorithm (GA) have demonstrated faster convergence and improved robustness compared with classical tuning methods (Nasir & Khadraoui, 2021; Martinez-Patiño et al., 2023; Sultan et al., 2022). Other approaches, such as artificial bee colony (ABC) and ant colony optimisation (ACO), have shown strong global search capabilities for non-linear control systems (Idir et al., 2022). These techniques fall under the umbrella of artificial intelligence (AI)-based control, enabling adaptive and energy-aware performance optimisation. Unlike conventional approaches that apply FOPID controllers to predefined models, this study introduces a novel integrated methodology combining fractional-order (FO) system identification with metaheuristic optimisation to simultaneously achieve an accurate plant model and an optimal controller tuning.

In parallel, fractional calculus (Abu-Shady, M. and Kaabar, 2021) has emerged as a powerful mathematical framework for modelling and control. Unlike integer-order models, FO models can capture memory and hereditary effects found in physical systems, such as viscoelastic materials, diffusion processes, and electromagnetic actuators (Li and Rosenfeld, 2021; Meneses and Arrieta, 2022). Integrating FO modelling into control design leads to more accurate system representations and improved control precision.

The (FOPID) controller, first introduced by Podlubny (1999), generalises the classical PID by introducing two additional parameters—the integral order λ and derivative order μ—that allow finer tuning of transient and steady-state behaviours. Several studies (Martinez-Patiño et al., 2023; Sultan et al., 2022) have shown that FOPID controllers tuned via heuristic algorithms outperform traditional PID in terms of overshoot, settling time, and robustness (Pandey and Murray 2022). Nevertheless, few works combine FO system identification with heuristic optimisation and even fewer analyse energy efficiency during stabilisation, which is crucial for embedded and sustainable control applications.

In this context, the study proposes an integrated approach for DC motor speed control based on:

  • FO system identification, treating the motor as a “black box” to accurately capture its dynamic response;

  • FOPID controller design and optimisation using four heuristic algorithms (PSO, GA, ABC and ACO);

  • Performance evaluation focusing not only on classical indices (ITAE, overshoot and settling time) but also on energy consumption during stabilisation;

  • Experimental validation on a real DC motor using MATLAB/Simulink–Arduino Uno integration to confirm practical feasibility.

The main contribution of this work is the implementation of a high-performance practical control solution for a real DC motor treated as a black-box system. By developing a FOPID controller optimised via metaheuristic algorithms – particularly PSO – we demonstrate exceptional performance metrics, including 98.57% faster settling time and minimal control effort of 2.4 V, achieving superior precision and energy efficiency compared to conventional methods.

The rest of this study is organised as follows: Section 2 reviews fractional calculus fundamentals and the structure of the FOPID controller. Section 3 presents the identification and optimisation methodology for both integer-order and FO models. Section 4 describes the tuning of the five FOPID parameters via heuristic algorithms. Section 5 provides the simulation and experimental results, and Section 6 concludes with final remarks and future research perspectives.

In summary, this study contributes to the state of the art by (I) bridging the gap between FO modelling and heuristic optimisation, (II) emphasising energy-aware FOPID control and (III) validating the approach experimentally, thereby situating it firmly within and beyond existing classical and AI-based control frameworks.

2.
Calculus for Fractional Orders

In 1695, Leibniz corresponded with J. Wallis and J. Bernoulli regarding a prospective approach to differentiation involving non-integer orders of m. The definition is presented as follows: (1) dmdtment=nment {{{d^m}} \over {d{t^m}}}\left( {{e^{nt}}} \right) = {n^m}{e^{nt}}

Fractional calculus employs the fundamental operator t0 Dmt, defined over the interval from t0 to t, where m represents a non-integer order. The continuous integro-differential operator is expressed as follows: (2) t0Dtm=dmdtm,m>0,1,m=0,t0t(dτ)m,m<0, {{}_{{t_0}}}D_t^m = \left\{ {\matrix{ {{{{d^m}} \over {d{t^m}}},} \hfill & {\Re \left( m \right) > 0,} \hfill \cr {1,} \hfill & {\Re \left( m \right) = 0,} \hfill \cr {\int\limits_{{t_0}}^t {{{(d\tau )}^{ - m}}} ,} \hfill & {\Re \left( m \right) < 0,} \hfill \cr } } \right. generally, mR. τ is the ring of complex numbers, and R(m) symbolise the real part of a complex number.

Fractional integro-differential operators are represented in various forms within the literature. Among these, the Riemann–Liouville definition stands out as one of the most commonly adopted approximations for fractional integro-differential operations.

Let mC with R(m) > 0, t0R and f be a locally integrable function defined on [t0,+∞]. The following formula defines the Riemann–Liouville integral of order m of f with lower bound t0: (3) t0RLItmft=1Γmt0ttτm1fτdτ {}_{{t_0}}^{{\rm{RL}}}I_t^mf\left( t \right) = {1 \over {\Gamma \left( m \right)}}\int_{{t_0}}^t {{{\left( {t - \tau } \right)}^{m - 1}}} f\left( \tau \right)d\tau with t > t0 and τ(m) is Euler’s gamma function. (4) Γm=0ym1eydy,m>0 \Gamma \left( m \right) = \mathop \smallint \nolimits_0^\infty {y^{m - 1}}{e^{ - y}}dy,\;\;\;\Re \left( m \right) > 0

The Riemann–Liouville fractional derivative of order m for a function f, with lower bound t0, is defined by the following expression: (5) t0RLDtmft=1Γnmdndtnt0t(tτ)nm1fτdτ {}_{{t_0}}^{RL}D_f^mf\left( t \right) = {1 \over {\Gamma \left( {n - m} \right)}}{{{d^n}} \over {d{t^n}}}\mathop \smallint \nolimits_{{t_0}}^t {(t - \tau )^{n - m - 1}}f\left( \tau \right)d\tau where (n − 1) < m < n; n is an integer.

Approximating FO transfer functions is essential for their practical implementation. Typically, FO transfer functions are converted to integer-order forms to facilitate simulations for controller design. The literature describes several analogue approximation methods, including those proposed by Carlson, Matsuda, Oustaloup and Charef. The simplified Oustaloup approximation, presented in Eq. (6), defines the FO differentiator as follows (Baranowski et al., 2015): (6) sα=KM=1M1+sωz,n1+sωp,n,α>0 {s^\alpha } = K\;\prod\nolimits_{M = 1}^M {\left[ {{{1 + {s \over {{\omega _{z,n}}}}} \over {1 + {s \over {{\omega _{p,n}}}}}}} \right]} ,\alpha > 0

The Oustaloup approximation (Oustaloup 1991) defines the gain K of the FO differentiator as a constant, ensuring a unit gain at 1rad / s. The approximation involves M poles and zeros, with their respective frequencies at the nth instant denoted as ωz,n (zeros) and ωp,n (poles). These frequencies are valid within the specified frequency range of the system, defined by the lower bound ωl and upper bound ωh. The approximate frequencies of the poles and zeros are determined using recursive equations, with the relevant parameters provided in Eqs (7)—(11). (7) ωz,1=ωlη {\omega _{z,1}} = {\omega _l}\sqrt \eta (8) ωp,n=ωz,nγ {\omega _{p,n}} = {\omega _{z,n}}\gamma (9) ωz,n+1=ωp,nη {\omega _{z,n + 1}} = {\omega _{p,n}}\eta (10) γ=ωhωlαM \gamma = {\left( {{{{\omega _h}} \over {{\omega _l}}}} \right)^{{\alpha \over M}}} (11) η=ωhωl1αM \eta = {\left( {{{{\omega _h}} \over {{\omega _l}}}} \right)^{{{1 - \alpha } \over M}}}

The Oustaloup approximation method facilitates the design of both FO systems and controllers.

Eq. (12) mathematically defines the FOPID controller, where both the derivative order and the integral order are constrained to values between 0 and 1. The formulation of the FOPID controller is described as follows: (12) CFOPIDs=UsEs=Kp+KIsλ+Kdsμ {C_{FOPID}}\left( s \right) = {{U\left( s \right)} \over {E\left( s \right)}} = {K_p} + {{{K_I}} \over {{s^\lambda }}} + K_d^{{s^\mu }} When λ = μ = 1, the FOPID controller reduces to a conventional PID controller. The FOPID controller introduces two additional tuning parameters—the integral order λ and the derivative order μ, which enhances system performance by offering greater precision and flexibility in control design.

3.
Identification

System identification can be approached through various methods. The simplified Oustaloup approximation, shown in Eq. (6), defines the FO differentiator (Baranowski et al., 2015) as follows:

The transfer function serves as a key representation of the process, as follows: (13) Gs=bmsβm+bm1sβm1++b0sβ0ansαn+an1sαn1++a0sα0 G\left( s \right) = {{{b_m}{s^{{\beta _m}}} + {b_{m - 1}}{s^{{\beta _{m - 1}}}} + \ldots + {b_0}{s^{{\beta _0}}}} \over {{a_n}{s^{{\alpha _n}}} + {a_{n - 1}}{s^{{\alpha _{n - 1}}}} + \ldots + {a_0}{s^{{\alpha _0}}}}}

Optimisation techniques are increasingly employed for tuning controller parameters (Pradhan et al., 2019). This study adopts four distinct algorithms to optimise the parameters of a FOPID controller, each leveraging unique principles to enhance system performance:

  • GA: This method mirrors evolutionary processes, iteratively improving a population of randomly generated solutions (Patra and Patra, 2020). Each generation undergoes variation processes, such as mutation and crossover, to produce new solutions. The quality of each solution is evaluated using a fitness function, guiding the algorithm towards optimal parameter sets.

  • ABC: Introduced by Karaboga in 2005, the ABC algorithm draws inspiration from the foraging behaviour of bees (Mohammed and Abdulla, 2018). The colony size represents the number of potential solutions, with food source locations corresponding to candidate solutions and nectar quantities reflecting their fitness. This structure enables efficient exploration and optimisation of the solution space.

  • ACO: Inspired by the foraging behaviour of ants, this heuristic algorithm utilises pheromone trails to guide the search process (Mohamed et al., 2023). Ants deposit pheromones along paths, and an objective function updates the pheromone reinforcement rules based on path quality. Each ant modifies the pheromone trail after completing a tour, facilitating convergence towards optimal solutions.

  • PSO: Rooted in swarm intelligence, PSO emulates the collective behaviour observed in fish schools or bird flocks (Patil et al., 2021). Particles, representing potential solutions, are initialised with random positions (xi) and velocities (vi) within the search space. Each particle tracks its personal best position (pbest) and the global best position (gbest) of the swarm, dynamically adjusting its velocity based on individual and collective experiences to converge on an optimal solution.

The velocity of each particle in PSO is updated based on its current velocity and the distances from its personal best position (pbest) and the global best position (gbest). The updated position and velocity of each particle are determined using Eqs (14) and (15), respectively, incorporating the particle’s own experience and the collective experience of the swarm. (14) vijk+1=w·vijk+c1·rand1pbestxijk+c2·rand2gbestxijk v_{ij}^{k+1}=w\centerdot v_{ij}^{k}+{{c}_{1}}\centerdot ran{{d}_{1}}\left( {{p}_{best}}-x_{ij}^{k} \right)+{{c}_{2}}\centerdot ran{{d}_{2}}\left( {{g}_{best}}-x_{ij}^{k} \right) (15) xijk+1+xijk+vijk+1 x_{ij}^{k + 1} + x_{ij}^k + v_{ij}^{k + 1}

In the PSO algorithm, c1 and c2 are positive constants representing the cognitive and global learning rates, respectively. The parameter c1 governs the influence of a particle’s individual experience (cognitive learning), while c1 determines the impact of the swarm’s collective experience (global learning).

The block diagram in Figure 1 illustrates the process of identifying (Shah and Sekhar 2019) the optimal model among four candidates for process control, utilising various optimisation algorithms. Here, r(t) represents the excitation input, y(t) denotes the actual plant output (motor speed) and y*(t) corresponds to the simplified model, represented by a FO transfer function (Rukkaphan and Sompracha 2020). The objective function, Fobj, is derived using the integral of time-weighted absolute error (ITAE) between the simplified model output y*(t) and the actual plant output y(t). The mathematical form of the ITAE is given in Eq. (16) as follows: (16) Fobj=ITAE=0+tetdt {F_{obj}} = ITAE = \mathop \smallint \nolimits_0^{ + \infty } t\left| {e\left( t \right)} \right|dt

Figure 1.

System identification using algorithms. ABC, artificial bee colony; ACO, ant colony optimisation; GA, genetic algorithm; PSO, particle swarm optimisation.

Assume that the voltage applied to the motor’s stator from the source (V) is the system’s input and that the rotational speed of the shaft (θ) is the system’s output. The spinning element and shaft are taken to be rigid. If a viscous medium causes friction, as we also expect, the torque produced by friction will be proportionate to the angular speed of the shaft (Tripathi et al., 2021). The performance of the parameters employed is presented in Table 1 as follows:

Table 1.

Characteristic parameters of a DC motor.

ParametersSymbol
Moment of inertia of rotorT
Motor viscous frictionb
Electromotive force constantKe
Motor torque constantKt
Electric resistanceR
Electric inductanceL
Power gainP

We will assume that Ke = Kt = K so we have: (17) Gs=KPR+LsTs+B+K2 G\left( s \right) = {{KP} \over {\left( {R + Ls} \right)\left( {Ts + B} \right) + {K^2}}}

As the system is treated as a black box, eliminating the need for detailed analysis of internal parameters, such as K, R, L, T and B, we proposed identifying it through its open-loop response using two models: an integer-order model and a FO model. The formulations of these models are provided in Eqs (18) and (19), respectively, as follows: (18) GIOs=ba2s2+a1s+a0 {G_{IO}}\left( s \right) = {b \over {{a_2}{s^2} + {a_1}s + {a_0}}}

As the identification process is applied to a DC motor, the non-linearity introduced by the armature and inductor windings is considered. FO equations are employed to model this non-linearity, as follows: (19) GIOs=ba2sα2+a1sα1+a0 {G_{IO}}\left( s \right) = {b \over {{a_2}{s^{{\alpha _2}}} + {a_1}{s^{{\alpha _1}}} + {a_0}}}

To achieve this, we proposed a novel modelling approach for the DC motor, employing optimisation techniques to estimate the parameters of the FO model while treating the system as a « black box ».

4.
Stabilisation with the FOPID Corrector

As shown in Figure 2, the block diagram of the FOPID control loop includes the plant model G(s) and the FOPID controller model C(s). The FOPID controller generates the control signal U(s) to regulate the output signal (s), manage the disturbance signal (D(s) and track the reference input R(s)), while processing the error signal E(s).

Figure 2.

Closed loop system with FOPID controller. FOPID, fractional-order proportional-integral-derivative.

The FOPID controller (Guedida et al., 2024) for the feedback control system is defined as follows: (20) CFOPIDs=UsEs=Kp+Kisλ+Kdsμ {C_{{\rm{FOPID}}}}\left( s \right) = {{U\left( s \right)} \over {E\left( s \right)}} = {K_p} + {{{K_i}} \over {{s^\lambda }}} + {K_d}{s^\mu }

4.1.
FOPID controller tuning by Zeigler-Nichols methods
4.1.1.
A premium adjustment method foundation on the open loop response

Inspired by the Zeigler-Nichols open loop method, Valerio and Costa published this adjustment method (Valerio and Costa, 2005). In this method, parameters Kp, KI, λ, Kd and μ vary frequently with L and T. The values in Table 2 for a straightforward algebraic computation are: (21) Kp=P=1.0574+24.5420L+0.3554T46.7325L20.0021T20.3106TL {K_p} = P = - 1.0574 + 24.5420L + 0.3554T - 46.7325{L^2} - 0.0021{T^2} - 0.3106TL

Table 2.

Adjustment of FOPID using the first method for open-loop response-based parameter.

Parameters to use when 0.1 ≤ T ≤ 5
PIλDμ
1−1.05740.60141.18570.87960.2778
L24.54200.4025−0.3464−15.0846−2.1522
T0.35440.7921−0.0492−0.07710.0675
L2−46.7325−0.45081.737728.03882.4387
T2−0.00210.00180.0006−0.0000−0.0013
LT−0.3106−1.20500.03801.67110.0021

FOPID, fractional-order proportional-integral-derivative.

4.1.2.
The closed-loop response funded a second adjustment method

Zeigler-Nichols’ critical point approach, which produces a pumping phenomenon. With a specific proportional gain, the system is introduced into a closed loop, and the integral and derivative actions are removed. To compute the parameters Kp, KI, λ, Kd and μ, which vary frequently with Kcr and Pcr, Valerio and Costa were also gathering data. Table 3 contains a list of the corresponding polynomials’ parameters.

Table 3.

Adjustment of parameter for FOPID by the second method using the closed-loop response as a basis.

PIλDμ
10.41390.70671.32400.22930.8804
Kcr0.01450.0101−0.00810.0153−0.0048
Pcr−0.1584−0.0049−0.01630.09360.0061
1/ Kcr−0.4384−0.29510.1393−0.52930.0749
1/ Pcr−0.0855−0.10010.0791−0.04400.0810

FOPID, fractional-order proportional-integral-derivative.

These rules may be used if (22) Pcr8andKcr*Pcr640: Pcr \le 8\;{\rm{and}}\;Kcr*Pcr \le 640: (23) Kp=P=0.4139+0.0145Kcr+0.1584Pcr0.4384Kcr0.0855Pcr {K_p} = P = 0.4139 + 0.0145{K_{{\rm{cr}}}} + 0.1584{P_{{\rm{cr}}}} - {{0.4384} \over {{K_{{\rm{cr}}}}}} - {{0.0855} \over {{P_{{\rm{cr}}}}}}

4.2.
FOPID controller tuning by optimisation methods

The application of optimisation algorithms for controller tuning has grown significantly in recent years due to their ability to enhance dynamic accuracy and reduce overshoot in closed-loop systems. In this study, a FOPID controller is employed to improve the transient response and ensure robust, precise speed regulation of the DC motor. The controller parameters are optimised using metaheuristic algorithms to achieve an optimal balance between performance and stability. While AI approaches, such as artificial neural networks (ANN) and neuro-fuzzy systems, have shown potential in control and identification tasks, they often require extensive training data and involve complex implementation procedures, particularly for FO systems with non-integer dynamics. In contrast, heuristic optimisation algorithms—such as PSO, GA, ABC and ACO—offer a simpler and computationally efficient alternative, providing reliable convergence and adaptability without the need for model training. This approach ensures that the closed-loop system maintains both robustness and high performance under varying operating conditions.

A regulator’s parameters are chosen to minimise dynamic error in order to do this. Integral absolute error (IAE), integral temporal square error (ITSE) and integral square error (ISE) are a few performance criteria for controller design. Integral of time-weighted absolute error (ITAE) was used in this study. (24) J1=ITAE=0tetdt {J_1} = ITAE = \int\limits_0^\infty {t\left| {e\left( t \right)} \right|dt}

As shown in Figure 3, four optimisation strategies will be employed to ascertain the optimal settings of the corrector C(s).

Figure 3.

Optimisation structure with algorithm of tuning FOPID control parameters. FOPID, fractional-order proportional-integral-derivative.

The root mean square (RMS) value uses the same principle but is normalised by the window duration: (25) uRMStk=1TftkTftku2τdτ {u_{{\rm{RMS}}}}\left( {{t_k}} \right) = \sqrt {{1 \over {{T_f}}}\mathop \smallint \nolimits_{{t_k} - {T_f}}^{{t_k}} {u^2}\left( \tau \right)d\tau }

When you obtain samples u [k] in the discrete case, the formula is as follows: (26) uRMSk=TsTfi=kN+1ku(i)2 {u_{{\rm{RMS}}}}\left( k \right) = \sqrt {{{{T_s}} \over {{T_f}}}\sum\limits_{i = k - N + 1}^k {u{{(i)}^2}} } where N is the number of samples or the length of the time sequence on which we assess the standard of control effort, Ts is the sampling time and Tf is the sliding window duration.

We can specify a cost function to be minimised in order to mathematically quantify the minimisation of the L2 norm of the control effort. The following is one way to formulate the cost function: (27) J2=t1t2ut2dt {J_2} = \sqrt {\int_{{t_1}}^{{t_2}} {{{\left| {u\left( t \right)} \right|}^2}dt} }

Then, minimising J would be the goal. This can be represented as an optimisation problem in discrete notation. (28) MinimizeJ=J1+J2 Minimize\;\left\{ {J = {J_1} + {J_2}} \right\}

5.
Experimental Results

The components of the XK-AUT1003A model are shown in Figure 4. Our permanent magnet DC motor (JGA25-545 12V 3000RPM) is measured for angular velocity using a tachometer, and an electronic card shows a variable command that ranges from −5 V to +5 V, which is the setpoint speed. Several microcontroller platforms are available for controller implementation, including Arduino Uno, ESP32, Raspberry Pi, PIC18F and STM32 boards. Each offers specific advantages: ARM-based boards, such as STM32, provide high ADC resolution and fast computation, the Raspberry Pi enables complex data processing and network connectivity and ESP32 offers dual-core performance with wireless capability. However, the Arduino Uno was chosen for this study due to its simplicity, robustness, low cost and straightforward cabling, as well as its seamless integration with MATLAB/Simulink for real-time controller deployment. Its 10-bit ADC and 5 kHz sampling frequency were sufficient for capturing the dynamics of the JGA25-545 motor accurately. Data acquisition and serial communication were optimised using lightweight protocols and real-time filtering, ensuring minimal delay and stable signal transmission. While higher-end platforms could offer enhanced precision, the Arduino Uno provided a practical and reliable solution for proof-of-concept validation. Future work will explore STM32 or ESP32 implementation for higher-resolution measurements and faster execution in more demanding applications.

Figure 4.

XK-AUT1003A prototype model.

The closed-loop system can handle a variety of operating circumstances since it is resilient and flexible.

The experimental setup used for system validation consists of six interconnected stages, ensuring signal conversion, conditioning and control of the command applied to the DC motor. Figure 5 presents the block diagram of our system.

  • Stage 1 – Position sensor: Measures the angular position of the motor shaft using a potentiometric sensor. The output voltage V1 represents the actual position in a proportional voltage form.

  • Stage 2 – Signal conditioning/amplifier: Adapts and filters the sensor signal to make it compatible with the control and feedback circuits. The processed voltage U1 serves as the input for the control stage.

  • Stage 3 – Power stage: Composed of a transistor bridge, this stage amplifies the control signal provided by the regulator to deliver the required current to the DC motor.

  • Stage 4 – DC motor: Converts the supplied voltage VM into mechanical energy, generating the rotational motion of the shaft.

  • Stage 5 – Tach Generator (TG): Measures the rotational speed of the motor and provides a feedback voltage proportional to the angular velocity.

  • Stage 6 – Controller: Represents the implemented control algorithm (PID, FOPID or Fractional-Order Model Predictive Control (FOMPC), depending on the case study). It compares the reference input with the measured output and generates the control action required to minimise the tracking error.

Figure 5.

Block diagram of the experimental setup.

5.1.
Identification

Table 4 summarises the key specifications and electrical/mechanical parameters of the JGA25-545 DC motor used in the experimental setup, providing essential information for replicating and analysing the control experiments.

Table 4.

DC motor parameters.

ParameterValueUnit
Rated voltage12V
No-load speed3,000RPM
No-load current0.1A
Rated torque0.05Nm
Rotor resistance2Ω
Rotor inductance15mH
Rotor inertia2.1 × 10−5kg/m2
Command voltage range−5 to +5V
Measured speed range0–3,000RPM

Figure 6a displays our DC motor’s open-loop step response. During this identification phase, we will use the four popular optimisation algorithms, ABC, ACO, GA and PSO, to determine the numerous parameters of the chosen mode. Figure 6b shows the final response of the found fractional model compared to the actual response of the motor. The experimental methodology used to obtain this response is then described. We must determine four parameters for the integer order model and two additional parameters for the fractional model.

Figure 6.

Open-loop step response-based identification of a DC motor. PSO, particle swarm optimisation.

The angular velocity of the DC motor shaft was measured by a tach generator (A PM tach generator providing ±5 V output for full speed range) mounted on the bench (XK-AUT1003A kit) and electrically interfaced to the Arduino acquisition card. The tach generator is of the permanent-magnet type, providing an analogue voltage output Vtach that is approximately proportional to the shaft speed ω (in revolutions per minute). A linear calibration relation was established such that: (29) ωrpm=Ktach×VtachV+B \omega \left( {{\rm{rpm}}} \right) = {K_{tach}} \times {V_{tach}}\left( {\rm{V}} \right) + B where Ktach is the calibration constant and B is the offset.

The analogue output of the tach generator was sampled by the Arduino board, which uses a 10-bit analogue-to-digital converter (ADC), giving 1,024 discrete levels over the 0 – 5 V input range (~ 4.9 mV per step). The acquisition was performed at a sampling rate of 20 Hz, with a simulation time of 5 s, each experiment recorded 100 measurements. The measured voltage samples were converted into shaft speed values via the calibration relation above. The error between the measured speed and the model-predicted speed (for each identification method) was then computed using the following formula: (30) Error%=1Ni=1Nωmeasured,iωmodel,iωmeasured,i×100 {\rm{Error}}\left( \% \right) = {1 \over {\rm{N}}\sum\limits_{{\rm{i}} = 1}^{\rm{N}} {{{\left| {{\omega _{{\rm{measured}},{\rm{i}}}} - {\omega _{{\rm{model}},{\rm{i}}}}} \right|} \over {{\omega _{{\rm{measured}},{\rm{i}}}}}}} \times 100 where N is the total number of samples, ωmeasured,i is the ith measured speed and ωmodel,i the corresponding model output.

Regarding measurement accuracy, the ADC quantisation step (∼4.9 mV) corresponds to a speed variation of approximately 3000 rpm at nominal speed after calibration, under ideal conditions. The sensor, cabling and electrical noise may introduce additional uncertainties, so the overall realistic measurement accuracy is estimated at approximately ±2% of full scale.

Due to this limitation, the numerical results in Table 5 have been rounded to two decimal places to reflect the actual measurement precision. The sampling frequency was chosen to faithfully monitor the motor’s transient response (rise time in the order of seconds) while avoiding aliasing.

Table 5.

Optimisation algorithm parameter settings.

AlgorithmPopulation sizeNumber of iterationsMain control parameters
PSO50100w = 0.7, c1 = 1.5, c2 = 1.5
GA40100Crossover = 0.8, Mutation = 0.05
ABC30100Limit = 50, food sources = 15
ACO25100α = 1, β = 2, ρ = 0.5
Number of decision variablesLower boundUpper bound
4 (b,a2,a1,a0)[0, 0, 0, 0][1,000, 1, 10, 10]
6 (b,a2,α2,a1, α1, a0)[0, 0, 0, 0, 0, 0][1,500, 1, 10, 10, 5, 10]
5(Kp,KI,λ,Kd,μ)[0, 0, 0, 0, 0][200, 200, 2, 10, 2]

ABC, artificial bee colony; ACO, ant colony optimisation; GA, genetic algorithm; PSO, particle swarm optimisation.

This methodology ensures an appropriate resolution in time and magnitude of the speed data, allowing reliable comparison between classical and FO model identification.

The parameter settings of all optimisation algorithms used in this study are summarised in Table 5. These configurations ensure fair comparison and reproducibility across all tested methods.

5.1.1.
Sampling frequency selection based on open-loop analysis

The selection of an appropriate sampling period is critical for accurate representation of system dynamics in discrete-time control applications. Based on the open-loop step response analysis, the DC motor system exhibits a rise time of approximately tr ≈ 1.3 s. Using the established relationship between rise time and system bandwidth, the approximate bandwidth was estimated as ωBW ≈ 2.2 / tr = 1.69 rad / s, corresponding to a frequency of fBW ≈ 0.27 Hz. According to the Nyquist–Shannon sampling theorem, the sampling frequency must be at least twice the maximum signal frequency to avoid aliasing. However, for control system applications, a more conservative criterion is recommended to ensure adequate capture of transient dynamics and to maintain controller performance. Industry standards suggest sampling frequencies between 10 and 30 times the closed-loop bandwidth. In this work, a sampling frequency of fs = 20 Hz (sampling period Ts = 0.05 s) was selected, yielding a ratio of approximately 74 times the open-loop bandwidth. This choice ensures sufficient temporal resolution with approximately 26 samples during the rise time, enabling faithful reconstruction of the motor speed profile while maintaining compatibility with the Arduino-based data acquisition system capabilities.

While the four methods were used to simulate the other sections, the blue curve in Figure 7 represents the step responses of the two models (Motor).

Figure 7.

Comparison of open-loop step responses: integer vs. fractional models. ABC, artificial bee colony; ACO, ant colony optimisation; GA, genetic algorithm; PSO, particle swarm optimisation.

The parameters of the Oustaloup recursive approximation were selected to ensure an accurate representation of the fractional dynamics over the relevant frequency range of the system. In this study, the approximation order was set to N = 5, with lower and upper frequency bounds ωL = 10−1 rad/s and ωH = 102 rad/s. For the fractional model as shown in Eq. (35), an estimate of the dominant frequency can be obtained from the balance between the highest-order and constant terms, 2440s2.3584 ≈ 7.30100 giving s ≈ (7.3010 / 0.2440)1/2.3584 ≈ 4.23 rad/s. This value lies well within the selected approximation band [0.1,100]rad / s, confirming the adequacy of the chosen parameters to ensure an accurate and stable Oustaloup approximation for the studied FO system. The Oustaloup approximation with N = 5 provides a faithful representation of the fractional operator throughout the control-relevant frequency range while keeping model order and computational cost moderate.

So, the chosen parameters are: N = 5, ωL = 10−1 rad/s, ωH = 102 rad/s, K = (ωLωH)α/2

From Table 6, the integer system GIO(s) with PSO is: (34) GIOs=715.4980.4595s2+4.3391s+5.4522 {G_{IO}}\left( s \right) = {{715.498} \over {0.4595{s^2} + 4.3391s + 5.4522}}

Table 6.

Integer and fractional model with optimal parameter set.

(a)
ba2a1a0Error (%)
ABC703.0400.10304.09115.34341.00
ACO568.2160.42704.70004.19272.34
GA1100.240.71006.67108.38640.88
PSO715.4890.45954.33915.45220.79
(b)
ba2α2a1α1a0Error (%)
ABC1028.742.00050.67583.31431.11337.59100.53
ACO87.0790.25401.23960.60000.19500.24863.67
PSO943.480.22402.35846.32471.08617.30100.22
GA785.991.83130.72813.17431.20835.90331.00

ABC, artificial bee colony; ACO, ant colony optimisation; GA, genetic algorithm; PSO, particle swarm optimisation.

The GFO(s) system in the fractional model is: (35) GFOs=943.48740.2440s2.3584+6.3247s1.0861+7.3010 {G_{FO}}\left( s \right) = {{943.4874} \over {0.2440{s^{2.3584}} + 6.3247{s^{1.0861}} + 7.3010}}

The FO model offers enhanced flexibility, enabling it to better adapt to varying operating conditions. Factors, such as temperature fluctuations, load variations and other external influences, can significantly impact the performance of DC motors. Unlike conventional integer-order models, the fractional approach is more capable of capturing non-linear behaviours and complex system interactions.

To validate the proposed fractional model, an identification step is carried out by analysing the open-loop response under a different input amplitude. Specifically, Figure 8 illustrates the system behaviour for an input amplitude of 300, where the fractional model demonstrates close agreement with the actual motor response, confirming its effectiveness.

Figure 8.

Validation of model.

Following this, the same optimisation algorithms are applied to tune the parameters of the controller C(s) for both the integer-order and FO models. The resulting optimal parameters of the FOPID controller (Idir et al., 2024) are then determined, establishing a solid basis for performance comparison.

5.2.
Stabilisation with a FOPID controller

In this section, the controller parameters of the FOPID are iteratively refined within a closed-loop framework using MATLAB/Simulink, where advanced optimisation techniques are applied to both the integer-order and FO models. The optimised FOPID parameters are presented in Table 7. It should be noted that power blocks with amplification gain are embedded in the b0 parameters, which account for their relatively large values during identification. Consequently, the proportional gain Kp of the FOPID controller also exhibits higher values.

Table 7.

Performance assessment of controllers applied to integer and fractional models.

KpKIλKdμOvershoot (%)Risetime (s)Settling time (s)
ABCIO140.275187.651.58610.68310.95822.05101.68753.5448
ACOIO90.42045.1570.94242.65840.89123.52312.36542.5447
GAIO42.89563.8451.20452.98210.99941.75481.54830.9543
PSOIO70.54830.4481.00543.5841.28541.45450.58981.0911
ZN1IO91.57870.65540.95825.32541.141510.5543.15547.5897
ZN2IO101.0560.5451.02544.55441.205411.2154.1144118.1545
ABCFO70.6225100.011.00250.68311.15320.00001.54871.9269
ACOFO48.60087.6170.95960.11900.87290.00001.53071.8454
GAFO74.06483.5841.10991.82810.88950.00001.69281.0516
PSOFO49.21965.3521.08232.00120.98990.00001.52801.0911
ZN1FO50.21570.2251.20154.54540.15214.45441,454.51.8474
ZN2FO60.124100.551.10245.15440.95547.54411,54851.77555

ABC, artificial bee colony; ACO, ant colony optimisation; GA, genetic algorithm; PSO, particle swarm optimisation.

When applying these optimisation algorithms to both models, the FOPID controller achieves satisfactory performance. However, special attention must be paid to the way the regulator manages the control effort. The effectiveness of the fractional model is demonstrated if it achieves comparable performance while requiring significantly less effort than the integer-order counterpart. To facilitate this, we proposed the use of a two-position regulation structure, which allows the evaluation of the control effect for each closed-loop model in real time. This simulation step is essential, as it provides valuable insights into the practical implementation of DC motor control.

Two distinct models—one of fractional order and the other of integer order—will be analysed. The effort of the FOPID corrector’s control legislation is analysed. The results of this investigation will be used in a practical study.

To further validate the effectiveness of the proposed identification approach, a comparative analysis was conducted between four optimisation algorithms: PSO, GA, ACO and ABC. The convergence profiles presented in Figure 9a clearly show that PSO reaches the minimum cost value faster and with greater stability than the other algorithms. In addition, the statistical comparison of the final identification errors (Figure 9b) confirms that PSO consistently achieves the smallest mean error and standard deviation, demonstrating both higher accuracy and robustness. This superior performance can be attributed to the efficient balance between global exploration and local exploitation in the PSO mechanism, which enables a more reliable convergence towards the global optimum solution.

Figure 9.

Convergence behaviour and statistical error comparison of optimisation algorithms. ABC, artificial bee colony; ACO, ant colony optimisation; GA, genetic algorithm; PSO, particle swarm optimisation.

5.2.1.
Physical interpretation of control effort

The control effort is quantified using the RMS L2 norm, which represents the effective voltage amplitude applied to the motor. For a DC motor with armature resistance R ≈ 2 Ω, the energy dissipated over the simulation period can be estimated as follows: (36) E=R10Tsimu2tdt=R1Tsim(uRMS)2 E = {R_1}\int_0^{{T_{sim}}} {{u^2}\left( t \right)dt = {R_1}{T_{sim}}{{({u_{RMS}})}^2}}

Tsim is the total time you have been simulating your engine control system.

For example, as shown in Table 8, the PSO controller with the FO model (URMS = 6.48 V) dissipates approximately 21.0 J/s, representing a 4.2% energy saving compared to the integer-order model (21.9 J/s). This demonstrates that FO modelling not only improves control performance but also enhances energy efficiency in practical motor control applications.

Table 8.

Control effort final values for integer and fractional models.

MethodPSOGAACOABC
uIO (V)6.62229.11408.32129.0678
uFO (V)6.47919.12268.46458.8118

ABC, artificial bee colony; ACO, ant colony optimisation; GA, genetic algorithm; PSO, particle swarm optimisation.

The FO model provides a significant reduction in RMS effort for PSO (−2.16%) and ABC (−2.82%). This reduction translates to energy savings of approximately 4%–5% for these controllers. The PSO controller with the FO model exhibits the minimal effort (6.48 V), demonstrating its superiority in energy efficiency. Figure 10 shows the evolution of the effort produced for the two methods.

Figure 10.

Effort made control inputs with GIO and GFO. ABC, artificial bee colony; ACO, ant colony optimisation; GA, genetic algorithm; PSO, particle swarm optimisation.

When comparing the different optimisation techniques, all deliver satisfactory performance, with PSO exhibiting a slight advantage. Using an integer-order identification model, regulation by a FO controller yields an overshoot of 1.45%. In contrast, when employing a FO model with different optimisation methods, the overshoot is completely eliminated. For instance, with a fractional model optimised by PSO, the FOPID controller achieves a settling time of 1.5 s. Across both fractional and integer-order models, the five key controller parameters (Kp, KI, λ, Kd and μ) are identified successfully and produce reliable results.

The practical validation of the theoretical framework was carried out using MATLAB/Simulink [16] with the XK-AUT1003A motor model. The optimised FOPID parameters obtained through PSO were implemented in real time using an Arduino UNO board connected to MATLAB/Simulink. The experimental results confirm the theoretical findings, as shown in Figure 11: the system stabilises within 1.5 s with no overshoot. By reducing the energy demand, the FO controller not only enhances the DC motor’s dynamic performance but also contributes to long-term cost savings.

Figure 11.

DC motor closed-loop response under FOPID-PSO control and effort evaluation. FOPID, fractional-order proportional-integral-derivative; PSO, particle swarm optimisation.

Another key performance measure is disturbance rejection. To assess the robustness of the FO controller in practical DC motor applications, the study examined its response to external perturbations and parameter uncertainties. The system was tested under coefficient variations of up to ±20%, as shown in Figure 12. The proposed robust FOPID controller ensures system stability and resilience to gain fluctuations. At t = 2 s, an external disturbance was applied to G(s), and the controller rapidly restored the system to its reference value within an average recovery time of 0.10 s. The maximum speed deviation observed across all tests averaged 37.21 rad/s (approximately 18.6% of the setpoint), demonstrating strong disturbance rejection capability. Similarly, at t = 2.5 s, when another disturbance was introduced, the system exhibited a transient deviation but quickly regained its steady-state speed without overshoot or sustained oscillation. These results confirm that the proposed robust FOPID controller effectively attenuates disturbances and maintains stable performance under uncertain and varying operating conditions.

Figure 12.

Closed-loop dynamics with disturbances introduced at 2 s and 2.5 s. PSO, particle swarm optimisation.

6.
Conclusion

This study introduces a novel approach to DC motor control by modelling the system as a “black box”, eliminating the need for detailed internal parameters, such as terminal voltages, currents or armature resistance. The proposed methodology employs optimisation algorithms to identify the parameters of both integer-order and FO models. The results reveal that the FO model provides a more accurate representation of the motor’s dynamics, enabling deeper insight into system behaviour.

Building upon this modelling framework, an FOPID controller was designed using PSO. The controller achieves an 80% reduction in control effort, which translates directly into lower energy consumption and improved system efficiency. From a performance standpoint, the proposed strategy ensures robust stability, zero overshoot and rapid dynamic response, while maintaining strong disturbance rejection even under parameter uncertainties. These outcomes confirm that integrating FO modelling with intelligent optimisation leads to a highly energy-efficient and robust control solution for DC motor systems.

For future work, the proposed framework could be extended to Brushless DC (BLDC) motors or multi-machine configurations, where non-linear coupling effects are more significant. Moreover, exploring alternative FO control structures (e.g., FO-PIλDµ, CRONE or adaptive fractional controllers) and validating the approach through hardware-in-the-loop or real-time embedded implementation would further strengthen the practical relevance of this research.

DOI: https://doi.org/10.2478/pead-2025-0030 | Journal eISSN: 2543-4292 | Journal ISSN: 2451-0262
Language: English
Page range: 448 - 466
Submitted on: Sep 7, 2025
|
Accepted on: Nov 15, 2025
|
Published on: Jan 16, 2026
In partnership with: Paradigm Publishing Services
Publication frequency: 1 issue per year

© 2026 Bilel Kanzari, Adel Taeib, published by Wroclaw University of Science and Technology
This work is licensed under the Creative Commons Attribution 4.0 License.