Introduction

The control of nonlinear processes poses significant challenges due to their complex dynamics, inherent instabilities, and susceptibility to external disturbances1. Among such systems, the continuous stirred-tank heater (CSTH) serves as a classical benchmark for testing control strategies2, particularly in temperature regulation, where precise and robust control is crucial. This motivates the exploration of advanced control methods capable of addressing the unique nonlinearities and dynamic behaviors of CSTH processes while overcoming the limitations of conventional approaches.

Conventional control strategies, such as proportional-integral-derivative (PID) controllers and their variations, have been widely applied in industrial applications due to their simplicity and reliability3. These controllers, including two-degrees-of-freedom (2DOF) PID schemes4, have demonstrated considerable success in achieving satisfactory performance for linear or mildly nonlinear systems. However, as highlighted in the literature, traditional methods often fail to deliver optimal results in highly nonlinear environments like CSTH. This shortfall emphasizes the need for optimization techniques that can refine controller parameters and improve overall system performance5.

Recent advancements in metaheuristic algorithms have addressed the shortcomings of traditional tuning methods by offering robust solutions for highly nonlinear optimization problems6. Bio-inspired algorithms, such as the starfish optimization algorithm (SFOA)7, greater cane rat algorithm (GCRA)8, honey badger algorithm (HBA)9, and aquila optimizer (AO)10,11, have shown remarkable potential in achieving global optimal solutions. These techniques strike a fine balance between exploration and exploitation phases, making them suitable for complex control tasks. Among them, SFOA has demonstrated superior convergence rates and robustness, particularly in applications involving nonlinear constraints. Yet, the specific impact of these algorithms in CSTH temperature control systems remains underexplored.

Temperature regulation in CSTH systems has long been a critical challenge in process industries due to the highly nonlinear and multivariable nature of these systems. However, almost no significant studies has been performed over the years to improve performance and robustness in CSTH processes. In a study conducted by Gao, et al.12 data-driven predictive control strategy utilizing recursive modified partial least squares (RMPLS) and locally weighted projection regression (LWPR) was introduced. This method effectively regressed local linear models to adapt to dynamic process conditions, significantly outperforming traditional model-free adaptive control methods in predictive accuracy and robustness. Mahmood and Nawaf13 analyzed the PID-cascade control architecture for CSTH systems, highlighting its strengths in disturbance rejection and setpoint tracking. However, the study emphasized its limitations in handling strong nonlinearities, particularly under varying operational conditions, necessitating advanced controller designs​. Tao, et al.14 proposed a broad learning system (BLS)-aided predictive control strategy to address computational challenges associated with neural network-based controllers. The approach reduced computational complexity while maintaining high predictive accuracy and control precision, making it a viable choice for real-time CSTH applications​.

In a complementary direction, Wu and Yang15 developed a Nonlinear subspace predictive control (NSPC) framework incorporating locally weighted projection regression (LWPR). This method addressed nonlinear dynamics effectively by constructing localized models, yielding enhanced tracking and predictive performance in CSTH benchmarks​. Several studies have also focused on the role of metaheuristic optimization in enhancing CSTH control. For instance, Dhanasekar and Vijayachitra2 explored hybrid optimization techniques, combining genetic algorithms (GA), pattern search, and Fmin search to optimize PID controller parameters. Their approach improved system stability and reduced steady-state error in CSTH processes​. Similarly, Hashim, et al.9 introduced the HBA, demonstrating its efficiency in balancing exploration and exploitation to achieve optimal control in nonlinear systems​​.

Artificial neural network (ANN)-based control strategies have also gained traction. Ang, et al.16 implemented ANN controllers for CSTH systems, leveraging their adaptability to nonlinear dynamics and disturbance rejection. The study demonstrated the potential of ANN-based controllers to handle system complexities more effectively than traditional methods​. Further, Ahmed, et al.17 investigated advanced PID tuning methods, including Ziegler-Nichols and fuzzy logic approaches, highlighting their limitations under dynamic conditions and proposing enhancements to improve performance in CSTH applications​. Finally, Li and Jiang18 demonstrated the use of CSTH as an educational platform for process control. They showcased practical applications of PID and cascade controllers, emphasizing the importance of integrating theoretical knowledge with real-world system dynamics​. Table 1 presents a review of key contributions from the literature to establish the foundation and identify the gaps addressed in this study.

Table 1 Overview of the previous research.

Despite the significant advancements highlighted above, there remains a gap in the integration of novel metaheuristic algorithms, such as the SFOA, with advanced controllers like the 2DOF-PIDA. To address these gaps, this paper proposes a novel control strategy that combines the 2DOF-PIDA controller with SFOA. The 2DOF-PIDA controller introduces enhanced flexibility for decoupling setpoint tracking and disturbance rejection, while SFOA optimizes the controller parameters to ensure optimal performance. This seamless integration provides a promising framework for overcoming the challenges associated with temperature regulation in CSTH processes, setting the stage for its validation through simulation and comparative analysis.

The paper is organized as follows: section “Modeling of CSTH temperature control system” introduces the mathematical modeling of the CSTH system. Section “Mathematical model of starfish optimization algorithm (SFOA)” presents the optimization using the SFOA algorithm. Additionally, in this section, the SFOA optimization technique is discussed, emphasizing its effectiveness in parameter tuning. Section “Novel temperature control design approach for CSTH process” focuses on the implementation of the 2DOF-PIDA controller for the continuously stirred tank heater, optimized via SFOA to improve stability and system response. Section “Simulation results” provides simulation results and a detailed comparison with other widely used controllers and meta-heuristic optimization techniques. Lastly, section “Conclusion and future work” summarizes the key conclusions and suggests future research directions.

Modeling of CSTH temperature control system

The CSTH plays a vital role in industrial temperature control applications. It functions by maintaining a consistent heating process within a tank, utilizing a jacketed heating mechanism to precisely regulate temperature levels. The CSTH system integrates complex dynamic processes, such as fluid flow, heat transfer, and control strategies, which are represented through nonlinear mathematical models. Achieving accurate modeling and parameter optimization is crucial to ensuring the system’s efficiency and effective performance. Figure 1 illustrates the general schematic of the CSTH system19,20.

Fig. 1
Fig. 1The alternative text for this image may have been generated using AI.
Full size image

Schematic representation of CSTH control system.

The behavior of the CSTH system is governed by fundamental principles, including mass balance, energy balance, and heat transfer. The mass balance equation upholds the conservation of mass throughout the system21,22:

$$\frac{{dM}}{{dt}}={\rho _f}{Q_{in}} - {\rho _f}{Q_{out}}$$
(1)

In the mass balance equation, M denotes the mass of the fluid within the tank, while \({\rho _f}\) represents the fluid density. The terms \({Q_{in}}\) and \({Q_{out}}\) correspond to the inlet and outlet flow rates, respectively.

The energy balance equation characterizes the dynamic changes in the fluid temperature inside the tank, taking into account both heat transfer mechanisms and flow dynamics. This equation provides insights into how thermal energy is distributed and conserved within the system, ensuring efficient temperature regulation21:

$$\frac{{d\left( {{T_t}M} \right)}}{{dt}}={\rho _f}{C_p}{Q_{in}}\left( {{T_{in}} - {T_t}} \right)+UA\left( {{T_h} - {T_t}} \right)$$
(2)

In the energy balance equation, the parameters are defined as follows: \({T_t}\) represents the temperature of the fluid inside the tank while \({T_{in}}\) and \(~{T_h}\) denote the inlet fluid temperature and the heating jacket temperature, respectively. The specific heat capacity of the tank fluid is denoted by \({C_p}\), whereas U represents the overall heat transfer coefficient, and A is the heat transfer area.

The heat transfer equation quantitatively measures the thermal energy transferred from the heating jacket to the tank fluid, ensuring effective temperature regulation and process stability within the system. The heat transfer equation quantifies the amount of thermal energy transferred from the heating jacket to the fluid tank, ensuring efficient temperature regulation within the system. It is expressed as13:

$${Q_h}=UA\left( {{T_h} - {T_t}} \right)$$
(3)

This equation highlights the dependence of heat transfer on the temperature difference between the heating jacket and the tank fluid, as well as the efficiency of the heat exchange surface.

Transfer function model of CSTH

To develop the transfer function model of the CSTH system, we apply the Laplace transform to the energy balance equation:

$$\left( {M{C_P}s+{\rho _f}{C_P}{Q_{in}}} \right){T_t}\left( s \right)={\rho _f}{C_P}{Q_{in}}{T_t}\left( s \right)+UA{T_h}\left( s \right)$$
(4)

Rearranging for \({T_t}\left( s \right):\)

$${T_t}\left( s \right)=\frac{1}{{M{C_P}s+{\rho _f}{C_P}{Q_{in}}}} \times \left[ {{\rho _f}{C_P}{Q_{in}}{T_t}\left( s \right)+UA{T_h}\left( s \right)} \right]$$
(5)

Defining the time constant \(\tau =\frac{M}{{{\rho _f}{Q_{in}}}}\), the transfer function relating the heater power \({Q_h}\left( s \right)\) to the tank tempreture \({T_t}\left( s \right)\) is:

$$G\left( s \right)=\frac{{{T_t}\left( s \right)}}{{{Q_h}\left( s \right)}}=\frac{1}{{\tau s+1}}$$
(6)

Similarly, the transfer function from the inlet temperature \({T_{in}}\left( s \right)\) to the output temperature is:

$$G\left( s \right)=\frac{{{T_t}\left( s \right)}}{{{T_{in}}\left( s \right)~~}}=\frac{{{\rho _f}{C_P}{Q_{in}}}}{{\tau s+1}}$$
(7)

This transfer function model effectively represents the dynamic behavior of the CSTH system, capturing the heat transfer and flow characteristics.

Comprehensive parameters defining the CSTH control system

The parameters listed in Table 2 thoroughly describe the physical, thermal, and control characteristics of the CSTH process. These parameters are essential for accurately modeling, analyzing, and controlling system behavior, ensuring optimal performance and stability under varying operational conditions19,20.

Fluid properties

The tank fluid has a density \(\left( \rho \right)\) of 1200 kg/m3 and a specific heat capacity \(\left( {{C_p}} \right)~\)of 4190 J/(kg°C), both of which are crucial for energy and mass balance equations. Similarly, the heating fluid possesses a density \(\left( {{\rho _c}} \right)\) of 800 kg/m3 and a specific heat capacity \(\left( {{C_{pc}}} \right)\) of 2400 J/(kg°C), enabling precise modeling of heat transfer between the heating jacket and the tank fluid.

Geometric dimensions

The design dimensions of the tank and heating jacket significantly influence heat transfer efficiency and fluid dynamics. The tank features a diameter \(\left( D \right)\) of 0.3 m, an internal cross-sectional area \(\left( A \right)\) of 0.0225π m2, and a wall height \({H_t}\) of 0.9 m. The heating jacket is characterized by a heat transfer area \({A_c}\) of 0.2025π m2, a width \({W_c}\) of 0.02 m, a height \({H_c}\) of 0.6 m, and a volume \({V_c}\) of 0.0044π m3. These parameters are fundamental to evaluating heat exchange effectiveness and fluid behavior.

Thermal properties

The overall heat transfer coefficient \(\left( U \right)\) of 440 J/(°C s m2) defines the system’s capacity to transfer heat from the heating jacket to the tank fluid. The heating fluid inlet temperature \(\left( {{T_{ci}}} \right)\) of 320 °C and the process fluid inlet temperature \(({T_i})\) of 24 °C establishes the driving temperature gradient necessary for effective heat transfer.

Control system parameters

Key control parameters ensure accurate regulation of fluid level and temperature. The level transmitter has a gain \({K_L}\) of 125%/m with a time constant \(\left( {{T_L}} \right)\) of 2 s, while the temperature transmitter has a gain \(\left( {{K_T}} \right)\) of 2%/°C and a time constant \(\left( {{T_T}} \right)\) of 15 s. The level control valve features a constant \(\left( {{K_{vL}}} \right)\) of 0.000015 and a stem constant \(({K_{xL}})\) of 0.01%. Similarly, the temperature control valve has a constant \(\left( {{K_{vT}}} \right)\) of 0.000003 and a stem constant \({K_{xT}}\) of 0.01%. The valve time constants are \({T_{vL}}\) = 3 s and \({T_{vT}}\) ​ = 5 s, respectively.

Fluid dynamics parameters

The nominal tank inlet flow rate \(\left( {{Q_i}} \right)\) of 0.0007 m3/s, and the pipe flow resistance \(\left( {{R_c}} \right)\) of the heating fluid system is 55 × 106 kPa/(m3/s)2. The heating fluid pump discharge pressure \(\left( {{P_{cp}}} \right)\) is 414 kPa, while the return pressure \(\left( {{P_{cr}}} \right)\) is 138 kPa, ensuring appropriate pressure conditions for system operation.

Control set-points

The system operates with a temperature controller set-point \(\left( {{T_{sp}}} \right)\) of 38 °C and a level controller set-point \(\left( {{H_{sp}}} \right)\) of 0.7 m, defining the desired operational targets for the CSTH system.

Additional parameters

The gravity constant \(\left( g \right)\) of 9.8 m/s2 is critical for fluid behavior calculations within the tank. Moreover, the temperature control valve rangeability \(\left( {{R_{vT}}} \right)\) of 50 provides flexibility in adjusting flow rates to meet operational demands. Collectively, these parameters establish a robust foundation for the design, simulation, and optimization of the CSTH system, ensuring its efficiency and stability under diverse operational conditions.

Table 2 Definition of parameters in CSTH system19,20.

Murrill-tuned PID control method

The standard PID controller used in Murrill’s tuning method is represented as23:

$$~{G_c}\left( s \right)={K_p}\left( {1+\frac{1}{{{T_i}s}}+{T_d}s} \right)$$
(8)

where, \({K_p}\), \({T_i}\) and \({T_d}\) are proportional gain, integral time constant and derivative time constant respectivly.

Tuning formulas for PID controller

For moderate dead-time systems, where \(0.5 \leqslant \frac{\theta }{\tau } \leqslant 1.5\), the following empirical tuning rules apply:

$$~~{K_c}=\frac{{1.2}}{{{K_P}}}\left( {\frac{\tau }{\theta }} \right),~~~~{T_i}=2\theta ,~~~~~{T_d}=0.5\theta$$
(9)

These formulas ensure a well-balanced response with minimal oscillations while maintaining a trade-off between stability and performance.

Standard PID (SPID) controller and Murrill-tuned control method

The standard proportional-integral-derivative (SPID) controller is a widely utilized control strategy in industrial applications, providing effective regulation of system dynamics by combining proportional, integral, and derivative actions. The transfer function of the SPID controller serves as a mathematical representation of the system’s dynamic behavior in the frequency domain, allowing for the analysis of stability and performance characteristics. The general expression of the transfer function incorporates the proportional gain, which directly responds to the current error; the integral gain, which accumulates past errors to eliminate steady-state deviations; and the derivative gain, which anticipates future errors to improve stability. Transfer function of the SPID controller is expressed as follows24:

$${C_{SPID}}\left( s \right)=\frac{{U\left( s \right)}}{{E\left( s \right)}}={K_p}\left( {1+\frac{1}{{{T_i}s}}+\frac{{{T_d}s}}{{{\alpha _d}{T_d}s+1}}} \right)$$
(10)

In this study19, the Murrill-tuned SPID control method was applied to a CSTH system, demonstrating its effectiveness in temperature regulation. Figure 2 refers to the time response of the Murrill-tuned SPID-controlled CSTH temperature control system. The system’s setpoint (\({Y_{T,sp}}\left( t \right)\)) was increased from 76 to 81%, and the corresponding response was analyzed to evaluate the controller’s performance.

Fig. 2
Fig. 2The alternative text for this image may have been generated using AI.
Full size image

Time response of Murrill-tuned SPID controlled CSTH temperature control system.

The observed results illustrate the controller’s ability to accurately track setpoint changes while maintaining stability and minimizing overshoot. The Murrill tuning method is critical in refining the PID parameters to balance response speed and system stability, ensuring optimal performance under varying operating conditions. The time response characteristics obtained from the implementation highlight the practical benefits of using this tuning approach in industrial temperature control applications.

Mathematical model of starfish optimization algorithm (SFOA)

The starfish optimization algorithm (SFOA) is a bio-inspired metaheuristic approach designed to solve optimization problems by imitating the natural behaviors of starfish, including exploration, preying, and regeneration. The algorithm aims to balance exploration, which ensures a thorough search of the solution space, and exploitation, which refines the search towards the optimal solution. In the initialization phase, the positions of the starfish, representing candidate solutions, are randomly generated within the defined search space. This can be expressed mathematically as:

$${X_{ij}}={l_j}+\left( {{u_j} - {l_j}} \right),~~~~~~~r \in \left( {1,0} \right)$$
(11)

where \({X_{ij}}\) represents the position of the \({i_{th~}}\)starfish in the \({j_{th~}}\)dimension, and \({l_j},~{u_j}\)are the lower and upper bounds of the search space, respectively. The exploration phase of SFOA employs a hybrid search pattern that depends on the problem’s dimensionality. For high-dimensional problems where D > 5, the search strategy utilizes a five-dimensional approach inspired by the movement of the starfish’s arms. The position update formula in this case is:

$$\left\{ {\begin{array}{*{20}{c}} {Y_{{i,p}}^{{\left( t \right)}}=X_{{i,p}}^{{\left( t \right)}}+\alpha \left( {X_{{best,p}}^{{\left( t \right)}} - X_{{i,p}}^{{\left( t \right)}}} \right) \times \cos \left( \theta \right)~~~~~~~r \leqslant 0.5} \\ {Y_{{i,p}}^{{\left( t \right)}}=X_{{i,p}}^{{\left( t \right)}} - \alpha \left( {X_{{best,p}}^{{\left( t \right)}} - X_{{i,p}}^{{\left( t \right)}}} \right) \times \sin \left( \theta \right)~~~~~~r>0.5} \end{array}} \right.$$
(12)

where \(\alpha\) is defined as \(\left( {2r - 1} \right)\pi\) and \(\theta\) is calculated as \(\frac{\pi }{2}\left( {\frac{T}{{{T_{max}}}}} \right)\). In contrast, for problems with D ≤ 5, a unidimensional search pattern is applied, where the position update is given by:

$$Y_{{i,q}}^{{\left( t \right)}}={E^t}X_{{i,p}}^{{\left( t \right)}}+{A_1}\left( {X_{{{k_1},p}}^{{\left( t \right)}} - X_{{i,p}}^{{\left( t \right)}}} \right)+{A_2}\left( {X_{{{k_2},p}}^{{\left( t \right)}} - X_{{i,p}}^{{\left( t \right)}}} \right)$$
(13)
Fig. 3
Fig. 3The alternative text for this image may have been generated using AI.
Full size image

Flowchart of SFOA.

In this equation, \({E^t}\) represents the energy of the starfish, calculated as \(\left( {\frac{{{T_{max}} - T}}{{{T_{max}}}}} \right){\text{cos}}\left( \theta \right)\), ensuring a gradual reduction of exploration over time. In the exploitation phase, SFOA introduces mechanisms inspired by starfish preying and regeneration behaviors to refine the search process. The preying behavior employs a two-directional search strategy, which adjusts the starfish positions based on their proximity to the best-known solution. This is formulated as:

$$Y_{i}^{{\left( t \right)}}=X_{i}^{{\left( t \right)}}+{r_1}{d_{m1}}+{r_2}{d_{m2}}$$
(14)

where the distances \({d_m}~\)are calculated between the global best solution and the individual starfish. The regeneration phase further improves convergence by gradually adjusting the position of the last starfish in the population using the following formula:

$$Y_{i}^{{\left( t \right)}}=\exp \left( { - \frac{{T \times N}}{{{T_{max}}}}} \right) \times X_{i}^{{\left( t \right)}}$$
(15)

To ensure feasible solutions, any position that exceeds the search space boundaries is adjusted as follows:

$$X_{i}^{{\left( {t+1} \right)}}=\left\{ {\begin{array}{*{20}{c}} {Y_{i}^{{\left( t \right)}}~~~~~l \leqslant Y_{i}^{{\left( t \right)}} \leqslant u} \\ {l~~~~~Y_{i}^{{\left( t \right)}}<l} \\ {u~~~Y_{i}^{{\left( t \right)}}>u} \end{array}} \right.$$
(16)

The algorithm runs iteratively until a termination criterion, typically the maximum number of iterations \({T_{max}}\), is reached. Once the optimization process is complete, the best-found solution is returned. Figure 3 presents the flowchart of SFOA.

Novel temperature control design approach for CSTH process

2DOF-PIDA controller

The 2DOF-PIDA controller represents an advanced control technique that improves system dynamic performance through acceleration feedback integration with standard proportional integral derivative elements. The 2DOF-PIDA controller offers greater adaptability and stability than standard PID controllers, resulting in better performance in disturbance rejection and reference tracking. The transfer function of the proposed 2DOF-PIDA controller can be expressed as follows:

$$U\left( s \right)={K_p}\left( {\beta \times R\left( s \right) - Y\left( s \right)+\frac{1}{{{T_i}s}}\left[ {R\left( s \right) - Y\left( s \right)} \right]+\frac{{{T_d}s}}{{{\alpha _d}{T_d}s+1}}\left[ {\gamma \times R\left( s \right) - Y\left( s \right)} \right]+{{\left( {\frac{{{T_a}s}}{{{\alpha _a}{T_a}s+1}}} \right)}^2}\left[ {R\left( s \right) - Y\left( s \right)} \right]} \right)$$
(17)

The block diagram of the 2DOF-PIDA controller is illustrated in Fig. 4, consists of two distinct feedback loops. Two distinct feedback loops form the 2DOF-PIDA controller block diagram shown in Fig. 4, including a primary feedback loop that controls system output and an auxiliary loop that adds control action through acceleration feedback. The control system benefits from better handling of different system dynamics and external disturbances due to its dual-loop structure.

Fig. 4
Fig. 4The alternative text for this image may have been generated using AI.
Full size image

Block diagram of 2DOF-PIDA controller.

Definition of novel cost function

The new cost function presented in this investigation seeks to improve control performance by reducing the deviation between the setpoint signal and temperature transmitter output throughout a set simulation interval. This study analyzes the system response characteristics over a complete 1000s simulation time. The cost function combines mathematical formulations with key performance indices like overshoot and steady-state error to meet set control objectives. The cost function can be expressed as follows25:

$${F_{IAE}}=\mathop \smallint \limits_{0}^{{{t_{final}}}} \left| {e\left( t \right)} \right|dt$$
(18)

where, \(e\left( t \right)={Y_{T,sp}}\left( t \right) - {Y_T}\left( t \right)\) is an error between the setpoint signal and the temperature transmitter output, \({t_{final}}\) is simulation time. The proposed optimization approach aims to minimize the cost function (\(CF\)), which is designed to balance between tracking accuracy and normalized overshoot. The cost function is mathematically defined as:

$$CF=\varphi \times {F_{IAE}}+\left( {1 - \varphi } \right) \times {O_{s,norm}}$$
(19)

Scaling factor \(\varphi =0.05\), which prioritizes the contribution of \({F_{IAE}}\) in the cost function while assigning a smaller weight to \({O_{s,norm}}\). In addition, \({O_{s,norm}}\) is normalized percent overshoot, which measures how much the system output exceeds the desired setpoint. To ensure the practicality and feasibility of the optimization results, the control parameters are constrained within the bounds specified in Table 3, where\(~{K_p},{T_i},{T_d},{\alpha _d},\beta ,~\gamma ,~{T_a}\) and \({\alpha _a}\) represent proportional gain, integral time constant, derivative time constant, derivative filter coefficient, the weighting factor for proportional action, scaling parameter, acceleration time constant, and acceleration filter coefficient, respectively.

Table 3 Upper and lower parameter bounds.

Working mechanism of proposed SFOA-tuned 2DOF-PIDA control method for CSTH process

The control method presented combines the SFOA with a 2DOF-PIDA controller to maintain stable temperature regulation in CSTH operations. Figure 5 shows the detailed block diagram of the control strategy while the SFOA optimization algorithm adjusts the 2DOF-PIDA controller parameters in real-time to improve performance under various operational conditions and tackle non-linearities and uncertainties in the CSTH process.

The 2DOF-PIDA controller separates tuning settings to manage setpoint tracking while independently handling disturbance rejection. The division between functions reduces the trade-offs that exist in traditional single-degree-of-freedom controllers. SFOA achieves optimal parameter adjustment, which reduces overshooting and enhances system stability through effective exploration and exploitation of the parameter space using swarm intelligence.

Comparison with Murrill-tuned SPID control method

The SFOA-tuned 2DOF-PIDA controller demonstrates better performance compared to the conventional Murrill-tuned standard proportional-integral-derivative (SPID) controller according to a comparative analysis. The dynamic performance enhancement achieved by the SFOA-tuned 2DOF-PIDA control method is demonstrated through time response characteristics in Fig. 6. The performance of the proposed SFOA-tuned 2DOF-PIDA controller is evaluated using key normalized time response metrics, including the normalized rise time \(({t_{rise,norm}})\), normalized settling time \(({t_{set,norm}})\), normalized percent overshoot\(~({O_{s,norm}})\), and normalized percent steady-state error \(({E_{ss,norm}})\).These metrics provide a standardized framework for analyzing the controller’s dynamic and steady-state performance. \({t_{rise,norm}}\) represents the time required for the system response to increase from 10 to 90% of its final value. \({t_{set,norm}}\), is defined as the time it takes for the system to settle within a ± 2% tolerance band around the final steady-state value.\(~{O_{s,norm}}\), quantifies the percentage by which the response exceeds the final steady-state value during transient conditions. Finally, the \({E_{ss,norm}}\), measures the deviation of the system’s output from its final value at the final time.

Fig. 5
Fig. 5The alternative text for this image may have been generated using AI.
Full size image

Detailed block diagram of SFOA-tuned 2DOF-PIDA control method for CSTH temperature control system.

Fig. 6
Fig. 6The alternative text for this image may have been generated using AI.
Full size image

Comparison of time responses for proposed SFOA-tuned 2DOF-PIDA and Murrill-tuned SPID control methods.

Table 4 presents a comparative analysis of time response metrics, highlighting the performance differences among the evaluated methods. The rise time \(({t_{rise,norm}})\) of the SFOA-tuned 2DOF-PIDA controller is significantly reduced, achieving a value of 50.6027 s compared to the 54.7109 s recorded for the Murrill-tuned SPID controller. This reduction reflects the proposed controller’s ability to respond more quickly to input changes. Furthermore, the settling time \(({t_{set,norm}})\) shows a dramatic improvement, decreasing to 192.5837 s, which is markedly faster than the 492.3235 s required by the SPID controller. In terms of stability, the percent overshoot \(\left( {{O_{s,norm}}} \right)\) is minimized to an almost negligible value of 0.0183%, a stark contrast to the 27.1128% observed in the SPID controller. This reduction indicates that the proposed controller excels in mitigating transient responses and maintaining system stability. Additionally, the steady-state error \(\left( {{E_{ss,norm}}} \right)\) is reduced to 4.2105 × 10–5, showcasing an exceptional level of precision, far surpassing the SPID controller’s error of 0.0057%. The SFOA-tuned 2DOF-PIDA controller shows improved performance through faster response times along with enhanced stability and accuracy, as demonstrated by these results. The advanced control approach proves appropriate for CSTH system temperature regulation because significant performance metric enhancements validate its effectiveness.

Table 4 Comparison of time response metrics.

Simulation results

The statistical verification of the SFOA was conducted to validate its performance against several recent metaheuristic algorithms, including the greater cane rat algorithm (GCRA)8, the mantis search algorithm (MSA)26, the honey badger algorithm (HBA)9 and the Aquila optimizer AO10. All algorithms were evaluated under identical conditions with a population size of \({N_{ps}}=40\) and a maximum iteration limit of \({T_{max}}=50\). The comparison involved 30 independent runs, using default parameter settings for all algorithms to ensure consistency and fairness.

Statistical verification of SFOA

Figure 7 depicts the performance distribution of SFOA alongside other algorithms through boxplot analysis. SFOA proves to be more consistent and reliable than other algorithms in cost function minimization through its narrower interquartile range. Detailed comparisons of key performance indicators in Table 5 support the findings with precise statistical metrics.

Fig. 7
Fig. 7The alternative text for this image may have been generated using AI.
Full size image

Boxplot analysis of SFOA and other recent metaheuristic algorithms.

The minimum cost function value reached by SFOA was 13.4008, surpassing all other algorithms since GCRA had 15.1542, MSA recorded 14.1271, HBA achieved 14.8383, and AO reached 14.4750. SFOA produced the lowest maximum cost function value of 14.3734 among all algorithms, which shows its ability to consistently discover near-optimal solutions. SFOA reached a median cost function value of 13.7959, which shows its dependability and ability to deliver premium solutions in multiple executions. GCRA, MSA, HBA, and AO had median values of 15.6912, 14.4627, 15.2297, and 15.0704, respectively, which were all considerably greater. The superior performance of SFOA was confirmed by its average value of 13.8253 which surpassed the results of GCRA (15.7913), MSA (14.5567), HBA (15.3380), and AO (15.0851). The calculated standard deviation of SFOA reached 0.2765, which is the lowest value when compared to other algorithms. Analysis shows that SFOA maintained the most stable performance throughout all 30 experimental runs because it had the smallest variation in results. The algorithms GCRA, MSA, HBA, and AO had standard deviations measuring 0.3864, 0.2914, 0.3846, and 0.3253, respectively, which indicated these methods produced results with greater variability. The combined results show that SFOA stands out among metaheuristic algorithms because it delivers better solutions with more stability and precision in optimization problems. The findings show that SFOA functions as a robust and efficient optimization tool for complex systems.

Table 5 Comparison of statistical metrics for \(\:CF\) cost function

Convergence curve and optimal controller parameters

The SFOA was used to evaluate the convergence behavior and optimal parameter tuning for the 2DOF-PIDA controller while comparing it to results from different metaheuristic algorithms. During the optimization process, the development of the cost function is shown in Fig. 8, demonstrating the superior convergence abilities of the SFOA. The SFOA produces lower cost values with stable performance, demonstrating its superior ability to explore the solution space and avoid suboptimal solutions in comparison, demonstrating its superior ability to explore the solution space and avoid suboptimal solutions compared to other algorithms.

Fig. 8
Fig. 8The alternative text for this image may have been generated using AI.
Full size image

Change of \(\:CF\) cost function

In terms of computational cost, the results reveal that SFOA consistently achieves faster convergence, requiring fewer iterations to reach an optimal solution. This characteristic is particularly beneficial for real-time applications, where rapid optimization is essential. Furthermore, SFOA’s computational overhead remains manageable, making it a practical choice for embedded and industrial control applications, provided that the hardware meets the necessary processing requirements. The balance between exploration and exploitation ensures that SFOA avoids premature convergence, leading to efficient parameter tuning without excessive computational burden. This result underscores the feasibility of deploying SFOA in real-world industrial systems, where real-time optimization is a critical factor.

According to Table 6, the SFOA algorithm produces superior controller parameter tuning across all metrics when compared to other algorithms. The system achieves enhanced performance through these parameters, which successfully balance stability with responsiveness. Other methods demonstrate inconsistent tuning and suboptimal performance in some regions but the SFOA maintains uniform reliability which leads to enhanced control performance. These results, demonstrate that the SFOA achieves optimal solutions with better efficiency while delivering superior parameters for the 2DOF-PIDA controller compared to other algorithms. The SFOA demonstrates itself to be a powerful and efficient instrument for designing advanced control systems in industrial settings.

Table 6 Optimal 2DOF-PIDA controller parameters.

Time response analysis

A time response analysis was performed on the SFOA-tuned 2DOF-PIDA controller to measure its performance against other metaheuristic algorithms such as GCRA, MSA, HBA, and AO. Figure 9 shows the comparative time responses. Figure 10 provides a detailed view, which allows for better observation of transient behavior.

Fig. 9
Fig. 9The alternative text for this image may have been generated using AI.
Full size image

Comparison of time responses.

The data in Table 7 shows that the SFOA has superior performance in time response metrics when compared to other algorithms. The SFOA reacts to changes faster than most competitors because its rise time is less. Its performance features a substantially diminished settling time, which proves it stabilizes systems faster than alternative methods. The minimal overshoot of SFOA shows its capacity to keep control without significant oscillations which helps maintain system integrity and prevent damages. The steady-state error of SFOA remains remarkably low, which enables precise and accurate control to achieve the intended output. Comparisons of time response metrics demonstrate that SFOA provides superior performance in terms of speed and stability along with greater accuracy when contrasted with other modern metaheuristic algorithms. The algorithm demonstrates effective and reliable performance within dynamic control systems by reducing both rise time and settling time while minimizing overshoot and steady-state error. The research establishes SFOA as a reliable optimization tool due to its strong performance in controlling systems which makes it essential for sophisticated industrial tasks.

Fig. 10
Fig. 10The alternative text for this image may have been generated using AI.
Full size image

Zoomed view of Fig. 9.

Table 7 Comparison of time response metrics for SFOA, GCRA, MSA, HBA and AO.

Setpoint tracking performance

The performance of the SFOA-tuned 2DOF-PIDA controller in tracking setpoints under different conditions was evaluated to measure its precision and adaptability. The controlled system’s time response from Fig. 11 proves that the proposed controller successfully maintains accurate tracking despite dynamic setpoint variations. The SFOA-tuned controller adjusts to setpoint changes quickly with minimal response delay and negligible overshoot in its performance. The controller demonstrates robustness and dependability under dynamic conditions by successfully stabilizing system outputs to match shifting setpoints. The controller demonstrates efficient management of transient and steady-state conditions through smooth transitions and rapid adjustments, which maintain precise tracking performance throughout various operational ranges. This part shows that the SFOA-tuned 2DOF-PIDA controller achieves superior setpoint tracking results compared to traditional methods by offering faster response times and better stability and precision. Its performance establishes it as an optimal solution for applications that need both dynamic adaptability and consistent precision.

Disturbance rejection performance

The evaluation of the disturbance rejection capability of the SFOA-tuned 2DOF-PIDA controller focused on how well it maintained system stability and performance when faced with different external disturbances. The applied disturbance signals are illustrated in Fig. 12, which includes variations in key system parameters: Fig. 12 includes illustrations of the applied disturbance signals, which show variations in key system parameters: (a) input signal changes, (b) system load variations, and (c) environmental condition fluctuations.

Figure 13 demonstrates how the SFOA-tuned 2DOF-PIDA controller manages these disturbances with effective suppression of external perturbations. The controller quickly restores system operations to their intended specifications after disturbance events occur. The system’s transient response shows minimal overshoot and fast settling time, which demonstrates the controller’s strength in sustaining system stability during dynamic and difficult scenarios. Test results demonstrate that the SFOA-tuned 2DOF-PIDA controller performs best when rejecting disturbances. The system maintains dependable performance through efficient disruption compensation, making it the preferred choice for control applications that must remain robust against unexpected environmental and operational variations. The controller’s ability to reject disturbances makes it extremely suitable for industrial systems that depend on maintaining operational integrity and efficiency through disturbance management.

Fig. 11
Fig. 11The alternative text for this image may have been generated using AI.
Full size image

Time response of SFOA-tuned 2DOF-PIDA controlled system under varying setpoint conditions.

Fig. 12
Fig. 12The alternative text for this image may have been generated using AI.
Full size image

Disturbance signals (a) change of \(\:{Q}_{i}\), (b) change of \(\:{T}_{i}\), (c) change of \(\:{T}_{ci}\)

Fig. 13
Fig. 13The alternative text for this image may have been generated using AI.
Full size image

Disturbance rejection ability of SFOA-tuned 2DOF-PIDA controlled system.

Comparison with SPID, 2DOF-PID and PIDA controllers

Figure 14 illustrates the convergence characteristics of the cost function for different SFOA-tuned controllers, providing a comparative insight into their optimization efficiency. The figure clearly demonstrates that the SFOA-tuned 2DOF-PIDA controller exhibits a faster and more stable convergence trend compared to the SFOA-tuned SPID, SFOA-tuned 2DOF-PID, and SFOA-tuned PIDA controllers. This superior convergence behavior underscores the ability of the 2DOF-PIDA controller, when optimized using SFOA, to rapidly reach an optimal solution with minimal fluctuations. The steep initial descent in the cost function highlights the effective exploitation phase of SFOA, where the algorithm swiftly identifies promising solutions. As iterations progress, the cost function stabilizes, indicating that the controller parameters are effectively fine-tuned, resulting in robust and well-balanced control performance. Notably, the 2DOF-PIDA controller attains the lowest final cost value among the tested controllers, reinforcing its superior adaptability to the nonlinear dynamics of the CSTH system.

Fig. 14
Fig. 14The alternative text for this image may have been generated using AI.
Full size image

Change of \(\:CF\) cost function for SFOA-tuned controllers

Fig. 15
Fig. 15The alternative text for this image may have been generated using AI.
Full size image

Comparison of time responses for SFOA-tuned controllers.

Table 8 displays the optimal parameters of each controller, which were evaluated alongside their time response characteristics, as shown in Table 9; Fig. 15 visualizes. The tuning data shows the SFOA-tuned 2DOF-PIDA controller reaches an optimal balance between adaptability and stability. The alternative controllers do not have these advanced tuning features which restrict their performance capabilities in dynamic settings.

Table 8 Optimal parameters of 2DOF-PIDA, SPID, 2DOF-PID and PIDA controllers tuned by SFOA.

All controllers tested show slower response times compared to the 2DOF-PIDA controller which demonstrates the quickest rise time and settling time to stabilize the system. The overshoot produced by this controller is significantly lower than those produced by SPID, 2DOF-PID, and PIDA controllers, which results in a more stable output with minimal variations. The precision and accuracy of the 2DOF-PIDA controller in maintaining the desired system output are demonstrated by its nearly non-existent steady-state error.

The SFOA-tuned 2DOF-PIDA controller performs better than the SPID, 2DOF-PID, and PIDA controllers in every essential performance area, including speed, stability, and accuracy. The 2DOF-PIDA controller’s sophisticated structure, combined with its optimal tuning abilities, establish it as the best option for industrial applications needing precise and dependable control performance. The analysis proves that the 2DOF-PIDA controller stands as a strong and functional modern control solution.

Table 9 Comparison of time response metrics for SFOA-tuned controllers.

Conclusion and future work

This study proposed a novel metaheuristic-driven control strategy by integrating the 2DOF-PIDA controller with the SFOA for temperature regulation in CSTH systems. The results demonstrated the efficacy of this approach in achieving significant improvements in tracking accuracy, disturbance rejection, and robustness compared to recently reports conventional and metaheuristic-based methods. The seamless combination of SFOA’s robust optimization capabilities and the enhanced flexibility of 2DOF-PIDA offers a promising solution for controlling highly nonlinear systems. Despite these advancements, several limitations must be acknowledged. First, the proposed approach was validated using simulation environments, which, while highly informative, may not fully capture the complexities of real-world industrial systems. Experimental validation in real-world CSTH systems is crucial to confirm its practical applicability. Second, while SFOA has demonstrated excellent performance in tuning controller parameters, its computational efficiency for larger-scale industrial processes with real-time constraints needs further investigation. Moreover, the study primarily focused on CSTH systems; thus, generalizing the proposed approach to other types of nonlinear systems requires additional research. From a managerial perspective, the implications of this study are substantial. The integration of advanced control and optimization techniques can lead to significant energy savings, enhanced process efficiency, and reduced operational costs in industries utilizing CSTH systems. The robustness of the proposed strategy against disturbances ensures greater reliability in maintaining product quality, which is critical for meeting stringent industry standards and customer expectations. Furthermore, the study provides a foundation for adopting similar metaheuristic-driven control strategies in broader industrial contexts, encouraging innovation in process automation and optimization.

Future work should focus on real-world implementation and scalability of the proposed method, exploration of hybrid metaheuristic algorithms to further enhance optimization performance, and addressing computational challenges for real-time applications. Such advancements will pave the way for more sustainable and efficient industrial process control solutions.