2. State of the Art
The paper by [
1] demonstrates the effectiveness of heuristic algorithms in tuning Fractional Order LQI (FOLQI) controllers for a highly interacting Multiple Input Multiple Output (MIMO) quadruple tank system. The study highlights the superior performance and robustness of the FOLQI controllers over traditional Integer Order LQI (IOLQI) controllers. This paper introduces a novel DualMode Adaptive Fractional Order PI controller with an Adaptive Feedforward controller for the Quadruple Tank Process, showcasing enhanced performance in reference signal tracking across all output ranges through numerical simulation and experimentation. The paper [
2] presents a self-tuning Dual Mode Adaptive Fractional Order PI and Adaptive Feedforward controller for the Quadruple Tank Process, demonstrating superior performance.
The paper by [
3] proposes an optimum H-infinity norm-based controller for a Single Capacity (SC) tank system, demonstrating significant performance improvements over P, PI, and PID controllers, as well as a Grey Wolf Optimizer (GWO)-tuned PID controller, in terms of settling time, overshoot, and steady-state error. The paper by [
4] uses a simplified genetic algorithm to tune PID controllers for a multipurpose water tank plant in Peru, showing superior performance over traditional methods in optimizing control parameters for flow, pressure, level, and temperature loops.
Table 1 summarizes recent advancements in intelligent self-tuning PID controller methodologies applied to various nonlinear tank systems. The table highlights key research works, including self-tuning fuzzy PID controllers, meta-heuristic algorithms for PID tuning, and hybrid approaches for optimizing control performance. Each study demonstrates the application of different optimization techniques, such as genetic algorithms, particle swarm optimization, and cuckoo search optimization, to improve the efficiency and robustness of PID controllers. The table also indicates whether the studies involved a mathematical tank model and the PID methodology, showcasing a comprehensive overview of the latest trends in advanced control strategies for nonlinear systems.
Table 2 and
Figure 1 present a comprehensive overview of significant research advancements in intelligent self-tuning PID controllers applied to various nonlinear tank systems. The table highlights key studies emphasizing methodologies such as self-tuning fuzzy PID, meta-heuristic algorithms, and hybrid approaches, indicating whether they involve mathematical tank models and PID methodologies. For instance, Bhandare, D [
5] focuses on a self-tuning fuzzy PID for dynamic CTS, while Amuthambigaiyin Sundari K. [
6] explores meta-heuristic PID tuning for two-tank systems. The bar graph visualizes the citation counts of the top 10 cited articles, underscoring these pioneering research efforts’ significant impact and scholarly influence.
3. Methodology
The proposed system focuses on height control in a system of interconnected tanks. The modeling is grounded in Bernoulli’s equations for laminar flow, accounting for flow rate and balance associated with the energy conservation of mass flow at various points.
Figure 2 illustrates the plant model.The parameters used in the mathematical model of the interconnected tank system are summarized in
Table 3. This table lists the symbols and their corresponding descriptions, including flow rates (
,
,
), tank heights (
,
), cross-sectional area (
A), and coefficients (
,
). The redefined variables (
,
) simplify the system equations, while
and
represent the gain and valve opening for the inlet flow. These parameters are crucial for understanding the system dynamics and deriving the transfer functions for control purposes.
The percentage change in liquid volume in the tank is determined by the inlet flow rate from the pump minus the outlet flow rate through the orifice, as described by Equations (
1) and (
2). The velocity (
v) of liquid passing through an orifice is akin to that of an object falling freely from a height
h, represented by Torricelli’s formula (Equation (
3)). Redefining Torricelli’s formula and flow balance equations, the intermediate flow (
) and outflow (
) are given by Equations (
4) and (
5), respectively. The inlet flow (
) is modeled with gain
and valve opening
as shown in Equation (
6). Through variable changes,
is defined as
with a coefficient
, in Equation (
7), and
as
with
, in Equation (
8). These transformations simplify the complex dynamics of the tank system.
The derived system focuses on the dynamic behavior of
and
. The rate of change of
is determined by the differential Equations (
2), (
4), (
5) and (
7), leading to Equation (
9). For
, by subtracting Equation (
2) from Equation (
1) and substituting Equations (
4) through (
6), we derive Equation (
10). These nonlinear differential equations are subsequently linearized using Taylor Series expansion. The equilibrium positions of state variables
and
are determined by setting their derivatives to zero, resulting in Equation (
11). The first derivative of the Taylor Series is used for linearization, as shown in Equation (
12). Analyzing the differential equation for
, the linearized form is derived in Equation (
13). Applying the Laplace transform yields Equation (
14). Similarly, for
, the linearized form is given in Equation (
15), and its Laplace transform is shown in Equation (
16). These transformations enable a simplified analysis of the system dynamics.
Replacing Equation (
17) into Equation (
18) results in a transfer function that relates the height of the tank to the flow inlet. This transfer function is expressed as Equation (
19), where
represents the change in the height of tank 1, and
represents the change in inlet flow. Equation (
19) provides the resulting transfer function. The transfer function describing the plant for subsequent control design is obtained by utilizing the equilibrium positions derived in Equation (
20). This transfer function, incorporating system parameters and equilibrium variables, is shown in Equation (
21).
The fractional PID controller tuning values are optimized using heuristic algorithms. These algorithms have distinct parameters, and an objective function is assigned to each test. The heuristic optimization process ensures that the fractional PID controller attains optimal performance in regulating the height of the interconnected tank system. The PID controller is formulated as Equation (
22). The optimization process involves adjusting
,
, and
to minimize the control error and achieve the desired system performance. The optimization process consists of two stages: the first stage optimizes the proportional, integral, and derivative constants, while the second stage focuses on the integral and derivative orders. The algorithm continues to run until the specified number of iterations is completed. The results, including tuned values and performance indices for each test, are printed for further analysis and interpretation.
The objective function for optimizing the fractional PID controller tuning values is designed to minimize control errors in regulating the height of the interconnected tank system, in Equation (
23), and the explanation of the parameters on the
Table 4. This objective function, denoted as
J, is formulated based on the performance indices Integral Absolute Error (IAE), Integral Square Error (ISE), and Integral Time-weighted Absolute Error (ITAE). The controller’s performance is then evaluated using Overshoot, Establishment Time, and Rise Time. The results are compared, and the best method is selected visually based on these criteria.
where the objective function (OF) can be one of the following performance indices:
The heuristic optimization process ensures that the fractional PID controller attains optimal performance in regulating the height of the interconnected tank system. The objective functions, based on performance indices such as IAE, ISE, and ITAE, steer the optimization to minimize control errors. The results from the optimized controller parameters are then scrutinized to ascertain the robustness of the control strategy, thereby ensuring the reliable and efficient performance of the nonlinear tank system. By leveraging the transfer function derived from the linearized system equations and applying advanced heuristic optimization techniques, the proposed methodology provides a systematic approach to achieve precise height control in interconnected tank systems, enhancing overall system stability and performance.
3.1. Ant Colony Optimization
Ant Colony Optimization (ACO) algorithms are inspired by the foraging behavior of ants, particularly how they locate food and communicate this information to their colony through pheromone trails. This approach is suitable for combinatorial optimization problems, quadratic assignments, derivative methods, and stochastic problems. Initially, ants wander randomly; when one locates food, it returns to the colony while depositing pheromones, marking the path for others. Ants that follow this path reinforce the pheromone trail, making it more attractive. Over time, pheromone marks fade, giving shorter and more frequently traveled paths an advantage. In ACO algorithms, artificial ants traverse a search space to locate optimal solutions. These artificial ants track their locations and the candidate solutions they encounter, using this information to guide subsequent iterations. This method is often combined with local search techniques activated after identifying a promising area. ACO’s combined optimization ability and robustness make it highly effective. It was introduced ACO to the rough set theory, converting minimal-feature subset problems into optimal path combination problems, thus proposing a feature selection method based on ACO [
23,
24].
The ACO algorithm can be outlined through several key steps. Parameter Initialization involves setting the pheromone intensity
, and parameters
(pheromone intensity control),
(visibility control),
(pheromone evaporation rate), and
k (number of ants). The Transmission State Rule determines the probability that an ant at one point will move to another, defined by Equation (
28). Here,
is the set of objects to be scheduled,
is the pheromone amount between points
i and
j, and
represents the visibility of connection
. The parameters
and
control the relative weights of pheromone and visibility, respectively, both ranging from 0 to 1. Pheromone Update occurs after ants traverse a path, updating pheromones via Equation (
29). The variable
represents the pheromone intensity at time
t, with
as the evaporation rate (
).
is the probability that an ant at point
i will choose point
j, defined by Equation (
30). A Global Pheromone Update is performed after ants complete their paths, marking the best routes based on the highest pheromone concentration. This update uses Equation (
31), where
is defined in Equation (
32).
The suitability or quality of a path (solution) in ACO is linked to the pheromone concentration on that path. Higher pheromone concentrations indicate better paths, which are more likely to be chosen. The roulette-wheel selection technique selects candidates based on their probability , which is influenced by the heuristic value . This method balances probabilistic selection with the exploration of new paths, enhancing the robustness of the ACO algorithm in finding optimal solutions for discrete optimization problems.
The parameters used in the ACO algorithm are summarized in
Table 5. This table lists the symbols and their corresponding descriptions, including pheromone intensity (
), control parameters (
,
,
), and the number of ants (
k). Additionally, it includes the probability of ant movement (
), visibility value (
), change in pheromone intensity (
), and other related constants (
,
T). These parameters are crucial for understanding the behavior and optimization process of the ACO algorithm.
The proposed Algorithm 1, titled "FOPID Tuning Ant Colony Optimization” systematically tunes Fractional Order PID controllers using ACO. Initially, the search space and algorithm parameters are declared as outlined in
Table 5. Allowable discrete values are initialized with equal pheromone levels (
). The algorithm iterates through several steps: computing the selection probability of design variables (Equation (
28)), setting probability ranges, and generating random positions for each ant based on cumulative probability ranges (roulette-wheel design). The control signal values are assigned and the objective function is evaluated. The algorithm updates the best and worst objective functions, strengthens the pheromone of the best path, and evaporates pheromones from other paths. The tuning values are printed after completing the iterations, ensuring optimal controller parameters. This structured approach leverages the robustness and efficiency of ACO in optimizing FOPID controllers for complex systems.
Algorithm 1 FOPID tuning Ant Colony Optimization |
- 1:
Step 1: Declare search space and algorithm parameters ( Table 5) - 2:
Step 2: Initialize allowable discrete values m with equal pheromone - 3:
for i = 1:T do - 4:
for j = 1: do - 5:
Step 3: Compute selection probability of design variables (Equation ( 28)) - 6:
for j = 1: do - 7:
Set probability ranges with steps of - 8:
for k = 1:N do - 9:
Step 4: Compute cumulative probability ranges (roulette-wheel design) - 10:
Step 5: Generate random positions for each ant - 11:
for m = 1: do - 12:
if , assign - 13:
for k = 1:N do - 14:
Step 6: Assign to the control signal - 15:
Step 7: Evaluate the objective function - 16:
Step 8: Update best and worst objective functions - 17:
for j = 1: do - 18:
Step 9: Strengthen pheromone of the best path (Equations ( 29) and ( 30)) - 19:
Step 10: Evaporate pheromone from other paths () - 20:
Step 11: Print tuning values
|
3.2. Grey Wolf Optimizer
Grey Wolf Optimizer (GWO) emulates the social leadership hierarchy and hunting strategy of grey wolves in the wild. Wolves in a pack have a strict social hierarchy, and GWO leverages this to solve optimization problems. GWO does not require prior initialization of control parameters other than population size, dimension of control variables, and maximum iterations. This method offers advantages such as avoiding local optima, requiring fewer function evaluations, and being free from the need for extensive parameter tuning. In GWO, the population is divided into four categories (alpha (
), beta (
), delta (
), and omega (
)), reflecting the hierarchical structure of a wolf pack. Alpha wolves lead the pack, beta wolves assist in decision-making, delta wolves follow alpha, beta wolves lead omega wolves, and omega wolves follow the other wolves. The hunting strategy involves monitoring, pursuing, and attacking the prey, which in this context translates to selecting the best parameters for FOPID tuning [
25].
The circling behavior of wolves around prey is modeled using Equations (
33) and (
34). The vectors
and
are computed as
and
, where rand is a random vector between 0 and 1, and
decreases linearly from 2 to 0 over iterations. The position vector
is updated based on the prey’s position
and the computed distance
. During hunting, alpha, beta, and delta wolves guide the search. Their positions are updated using Equation (
35), where
,
, and
represent distances from alpha, beta, and delta wolves to the prey, respectively. The new positions
,
, and
are calculated using Equation (
36), and the average position
is obtained from Equation (
37). GWO’s exploration and exploitation balance is controlled by the values of
and
. When
, exploration is favored; when
, exploitation is emphasized. This mechanism ensures that the GWO can effectively search the space and avoid local optima, with
and
dynamically adjusting to maintain a balance between diversification and intensification of the search process.
The proposed "FOPID Tuning Grey Wolf Optimizer” Algorithm 2 systematically optimizes Fractional Order PID controllers by emulating the social hierarchy and hunting strategy of grey wolves. Initially, the search space and algorithm parameters are declared as shown in Table 8. The population is initialized, with each member’s position assigned to the control signal, and the objective function evaluated. The algorithm iterates through several steps: identifying the three best solutions (
,
,
), establishing coefficients
and
(Equation (
33)), and calculating distances
,
,
(Equation (
35)). Positions are updated (Equation (
36)), and the population position is adjusted (Equation (
37)). The best objective function value is continuously updated, ensuring optimal tuning of the FOPID controller parameters. This methodology leverages the efficient search capabilities of GWO to enhance control performance in complex systems.
Algorithm 2 FOPID Tuning Grey Wolf Optimizer |
- 1:
Step 1: Declare search space and algorithm parameters (Table 8) - 2:
for p = 1:N do - 3:
Step 2: Initialize population: - 4:
Step 3: Assign to control signal and evaluate objective function - 5:
Find among all solutions - 6:
for i = 1:T do - 7:
Step 4: Identify three best solutions: , , - 8:
Step 5: Establish coefficients and (Equation ( 33)) - 9:
for p = 1:N do - 10:
Step 6: Calculate , , (Equation ( 35)) - 11:
Step 7: Find , , (Equation ( 36)) - 12:
Step 8: Update population position (Equation ( 37)) - 13:
Step 9: Assign to control signal - 14:
Step 10: Evaluate objective function - 15:
Step 11: Update if - 16:
Step 12: Print the optimal solution
|
3.3. Flower Pollination Algorithm
The fundamental concept of the Flower Pollination Algorithm 3 is inspired by the natural pollination process of flowering plants, encompassing both biotic and abiotic pollination, as well as the floral constancy exhibited by certain flower species and their pollinators. In the FPA, the position of a pollen particle is represented as a solution vector. The algorithm involves two main equations representing different pollination strategies. The global pollination mechanism, which simulates long-distance pollination, is modeled by Equation (
38). Here,
denotes the new position of pollen particle
i at iteration
,
is the current position,
is the best solution found at iteration
t,
is a scaling parameter, and
is a step size drawn from a Lévy distribution characterized by the exponent
. Lévy pseudorandom numbers can be generated using Mantegna’s algorithm, providing a robust mechanism for global search [
26].
The local pollination mechanism, which emulates the local characteristics of pollination and floral constancy, is described by Equation (
39). In this equation,
represents the new position of pollen particle
i at iteration
,
is its current position,
U is a uniformly distributed random number, and
and
are the positions of two different pollen particles. The switching probability
p is employed to decide between global and local pollination mechanisms, reflecting the natural process of abiotic and biotic pollination, as well as cross-pollination and self-pollination. Lévy flights enhance the search capability in FPA by allowing for larger steps than those typically generated by Gaussian distribution, thus improving the algorithm’s ability to escape local optima. Equation (
40) shows the computation of Lévy steps, where
u and
v are normally distributed random numbers, and
is set to 0.7 based on an exponent
of 3/2. The parameters in FPA, such as the switching probability
p, population size
n, and scaling parameter
, are crucial for its performance. A typical value of
is effective for real-world pollination processes, while
generally ranges from 0.01 to 0.1. For implementation in simulation software, the parameters provided in Table 9 can be applied [
27].
The “FOPID Tuning Flower Pollination Algorithm” systematically optimizes Fractional Order PID controllers by mimicking the pollination process of flowering plants. Initially, the search space and algorithm parameters are declared as shown in Table 9. The flower population is initialized, with each member’s position assigned to the control signal and the objective function evaluated. The algorithm iterates by comparing random values to a switching probability
p, generating step sizes using either Lévy distribution (Equation (
40)) for global pollination or uniform distribution for local pollination. New solutions are generated (Equations (
38) and (
39)), and the best current solution is continuously updated. This approach enhances the exploration and exploitation capabilities, ensuring optimal tuning of the FOPID controller parameters [
28,
29].
Algorithm 3 FOPID Tuning Flower Pollination Algorithm |
- 1:
Step 1: Declare search space and algorithm parameters (Table 9) - 2:
for i = 1:N do - 3:
Step 2: Initialize flower population: - 4:
Step 3: Assign to control signal and evaluate objective function - 5:
Step 4: Identify and corresponding pollen value - 6:
for i = 1:T do - 7:
for p = 1:N do - 8:
if then - 9:
Step 5: Generate step size L by Lévy distribution (Equation ( 40)) - 10:
Step 6: New solution via global pollination (Equation ( 38)) - 11:
else - 12:
Step 5: Generate step size by uniform distribution - 13:
Step 6: New solution via local pollination (Equation ( 39)) - 14:
Step 7: Assign solution to control signal - 15:
Step 8: Evaluate objective function - 16:
Step 9: Update best current solution - 17:
Step 10: Print the optimal solution
|
4. Experimental Results
The experimental setup for the simulation of the interconnected tank system is detailed in
Table 6,
Table 7,
Table 8 and
Table 9.
Table 6 outlines the system parameters, including the tank area (A), interconnection cross-sectional area (
), drain pipe area (
), gravity (g), inflow rate (
), and valve gain/opening (a). These parameters are critical for establishing the equilibrium point of the interconnected tank system.
Table 7 specifies the values used in the Ant Colony Optimization (ACO) algorithm, such as the number of ants (N), vaporization factor (
), scaling parameter (
), number of iterations (T), step size (h), and the search space for the PID controller gains and fractional orders.
Table 8 presents the parameters for the Grey Wolf Optimizer (GWO), detailing the population size (N), number of iterations (T), and search space for the controller parameters. Finally,
Table 9 lists the parameters for the Flower Pollination Algorithm (FPA), including population size (N), number of iterations (T), coefficient (c), probability of change (p), scale parameter (
), and search space for the controller gains and fractional orders. These tables collectively provide a comprehensive overview of the experimental conditions and algorithm-specific settings used in the optimization of the FOPID controller.
The computational experiments conducted in Matlab assessed the performance of fractional PID controllers using three different meta-heuristic algorithms: ACO, GWO, and FPA. Each algorithm’s effectiveness was evaluated based on the performance indices used as cost functions. The system response characteristics for the ACO algorithm (
Table 10) reveal that the ITAE index exhibited the worst overall performance, with an overshoot of 48.5889, an establishment time of 4.0736, and a rise time of 0.29. In contrast, the ISE index produced the best overshoot performance at 9.077, although the establishment and rise times were superior using the ITSE index, with values of 0.8282 and 0.1232, respectively. The ISE and ITSE indices performed comparably, but due to the lower overshoot, ISE is preferred as the cost function.
Examining the GWO algorithm results (
Table 11), the ITAE index stood out with the best overall performance, achieving an overshoot of 10.0831, an establishment time of 1.2592, and a rise time of 0.1229. Although the ISE index showed a better overshoot of 8.6316, it resulted in the worst establishment time of 5.1937. The ITAE index provided a balanced performance with acceptable overshoot and superior establishment time, making it the optimal choice for the cost function.
For the FPA algorithm (
Table 12), the ISE index again demonstrated the best performance, with an overshoot of 9.7737, an establishment time of 1.0704, and a rise time of 0.1514. The ITAE and IAE indices showed higher overshoot values and longer establishment times, while the ITSE index had a lower establishment time but a higher overshoot. Thus, the ISE index emerged as the most effective cost function for the FPA algorithm, ensuring a lower overshoot and reasonable establishment time.
Overall, the results indicate that the ISE index generally performs better for both ACO and FPA algorithms, while the ITAE index is preferable for the GWO algorithm due to its balanced performance across different metrics. These findings highlight the importance of selecting appropriate performance indices as cost functions to optimize the tuning of fractional PID controllers using meta-heuristic algorithms.
Using the IAE performance index as a cost function proved to be the least effective across all tuning algorithms.
Figure 3 depicts the comparative results for the best-performing algorithms. The bar graph illustrates the overshoot, settling time, and rise time for the best results obtained by the ACO, GWO, and FPA algorithms. For the ACO algorithm, the overshoot was 10.6165%, the settling time was 9.07704 s, and the rise time was 1.27984 s. The GWO algorithm demonstrated an overshoot of 10.0831%, a significantly higher settling time of 12.5917 s, and a rise time of 1.22887 s. In comparison, the FPA algorithm achieved an overshoot of 10.7044%, a settling time of 9.77365 s, and a rise time of 1.51424 s. These results highlight the distinct performance characteristics of each algorithm, with the ACO algorithm showing a balance between overshoot and settling time, the GWO algorithm excelling in minimizing overshoot at the expense of a longer settling time, and the FPA algorithm providing a moderate performance across all metrics. This comparative analysis underscores the importance of selecting the appropriate algorithm based on the specific performance criteria required for optimal FOPID tuning.
The comparative results indicate that the tuning algorithm with the highest performance indices was the GWO algorithm with an ITAE cost function, achieving superior settling time and rise time metrics. In contrast, the ACO and FPA algorithms, which employed an ISE cost function, also delivered commendable results, particularly in overshoot and overall stability.
Figure 4 illustrates the step response curves for each algorithm with their respective best cost functions. The graph demonstrates that the GWO algorithm provides a smoother response with minimal overshoot and rapid settling time. The ACO algorithm shows a slightly higher overshoot but maintains a quick rise time, while the FPA algorithm balances overshoot and settling time. These step response curves highlight the effectiveness of each optimization algorithm in tuning the FOPID controller, with the GWO algorithm excelling in minimizing transient response characteristics.
The response curves indicate that the system exhibits characteristics of an underdamped response without multiple oscillations. Upon closer examination, it is evident that the GWO tuning results in a higher overshoot, whereas the establishment time remains relatively consistent across all algorithms.
Table 13 presents the tuning results, detailing the integral (
) and differential (
) orders along with the proportional (
), integral (
), and derivative (
) constants for each algorithm. The ACO and FPA algorithms utilized the ISE cost function, while the GWO algorithm employed the ITAE cost function. These results underscore the specific tuning parameters that yielded the optimal performance for each respective algorithm.
The bar graph in
Figure 5 demonstrates that the parameters of the system response using the Grey Wolf Optimizer (GWO) algorithm tend to have greater overshoot and a comparatively longer settling time than the ACO and FPA algorithms. Specifically, the GWO algorithm resulted in an overshoot of 33.2651%, a settling time of 10.7198 s, and a rise time of 1.79475 s. In contrast, the ACO algorithm achieved an overshoot of 19.3879%, a settling time of 20.6258 s, and a rise time of 1.79475 s. The FPA algorithm displayed similar performance to ACO, with an overshoot of 18.7534%, a settling time of 20.7844 s, and a rise time of 1.70798 s. These results indicate that while the GWO algorithm tends to produce higher overshoot, it achieves better settling times than ACO and FPA. The ACO and FPA algorithms show similar values for overshoot, rise time, and settling time, highlighting their comparable performance in tuning the system response.
Figure 6 presents the values of the ITAE and ISE indices, highlighting the best results achieved by each algorithm. It is evident that the indices for the GWO algorithm are significantly higher compared to those for the ACO and FPA algorithms. Specifically, the ITAE index value for the ACO algorithm is lower than that of the FPA algorithm, indicating a more efficient performance in terms of settling time and rise time. Conversely, the ISE value for the ACO algorithm is higher, reflecting a higher overshoot as shown in
Table 10, where the ACO algorithm using the ITAE cost function resulted in an overshoot of 48.5889%. In comparison, the FPA algorithm, as seen in
Table 12, achieved a lower overshoot of 36.2235% with the ITAE cost function.
Moreover, examining the ISE values, which are the indices with the best results for both the ACO and FPA algorithms, it can be observed in
Figure 6 that the ISE value for the FPA algorithm (297.83) is lower than that of the ACO algorithm (389.536), indicating better overall performance in minimizing the integral of the squared error. These results underscore the effectiveness of the FPA algorithm in achieving lower error indices, thereby enhancing the control system’s stability and performance.
Figure 7 illustrates the values of the respective cost functions for each algorithm as they iterate to find the optimal FOPID constants (
,
,
) of the control signal. The graph shows that the ACO algorithm’s cost function values are consistently higher than those of the GWO and FPA algorithms. The convergence behavior of the algorithms is also noteworthy. The ACO algorithm takes four iterations to converge to its optimal solution, while the FPA algorithm requires seven iterations, and the GWO algorithm converges the fastest at three iterations. This indicates that while the ACO algorithm has higher cost function values, it converges relatively quickly, similar to the GWO algorithm, which combines lower cost values with the fastest convergence. Though the FPA algorithm has lower cost values, it takes more iterations to reach its optimal solution. These observations highlight the trade-offs between convergence speed and cost function values among the different algorithms.
Figure 8 presents the values of the respective cost functions for each algorithm as they iterate to find the optimal fractional orders (
,
) of the FOPID control signal. The graph shows that the cost function values for the ACO algorithm are consistently higher compared to those for the GWO and FPA algorithms. The convergence behavior of the algorithms is also noteworthy. The ACO algorithm requires seven iterations to converge to its optimal solution, while both the FPA and GWO algorithms converge more quickly, each taking three iterations. This indicates that although the ACO algorithm has higher cost function values and requires more iterations to converge, the GWO and FPA algorithms achieve lower cost values and faster convergence. These observations highlight the efficiency of the GWO and FPA algorithms in optimizing the fractional orders of the FOPID controller.
5. Conclusions and Future Works
Nonlinear equations effectively represented the proposed nonlinear model of the interconnected tank system. To facilitate control using a fractional PID controller, it was necessary to linearize these equations around an equilibrium point. This was accomplished by developing the Taylor Series and applying the Laplace transform, resulting in a transfer function suitable for fractional PID control. The linearization process enabled the accurate modeling and subsequent control of the system’s dynamics, ensuring that the complex behavior of the nonlinear system could be managed effectively using advanced control techniques.
The implementation of fractional PID control for the system’s transfer function involved tuning the controller constants and fractional orders using meta-heuristic algorithms: Ant Colony Optimization (ACO), Gray Wolf Optimizer (GWO), and Flower Pollination Algorithm (FPA). Each algorithm was applied with different performance error criteria. The system’s responses to a step input were simulated on the Matlab platform, demonstrating the feasibility and robustness of these algorithms in tuning the FOPID controllers. This approach allowed for the precise adjustment of the controller parameters to achieve desired performance characteristics in a nonlinear environment.
The system’s transient response to step inputs was thoroughly analyzed for each tuning strategy and performance index. Key metrics such as overshoot, settling time, and rise time were extracted from the simulation results. For instance, the GWO algorithm resulted in an overshoot of 10.0831% and a settling time of 5.1937 s, while the ACO and FPA algorithms exhibited lower overshoots and shorter settling times. Additionally, the system’s ability to reject disturbances was evaluated, revealing that the ACO and FPA algorithms provided superior disturbance rejection capabilities, maintaining system stability and minimizing deviation from the setpoint more effectively than GWO. These response curves provided a comprehensive understanding of how each tuning method influenced the system’s dynamic behavior, highlighting the strengths and weaknesses of each algorithm in achieving optimal control performance and robust disturbance rejection.
A comparative validation using performance metrics and graphical analysis of the output responses established the efficiency of each tuning method. The GWO algorithm showed higher overshoot and settling times than ACO and FPA. Specifically, the FPA algorithm demonstrated superior performance with an ISE criterion value of 297.83, lower than the ACO’s 389.536. Furthermore, the FPA algorithm required fewer iterations to converge to the optimal proportional, integral, and derivative constants (three iterations for constants and four iterations for fractional orders) compared to the ACO algorithm (four iterations for constants and eight iterations for fractional orders). These findings underscore the FPA algorithm’s effectiveness in achieving faster convergence and better performance, making it a preferable choice for tuning fractional PID controllers in nonlinear systems.