1. Introduction
In the context of chemical water treatment processes in industrial factories, the controlled systems typically exhibit multi-input and multi-output characteristics. The dual-tank water level control system is a typical example of a multi-input and multi-output control system. When variables exhibit coupling among many pairs of variables, it is challenging to achieve satisfactory control results using multiple single-loop controllers for independent control. Therefore, it is necessary to consider the interrelationships among variables in multi-input and multi-output systems and achieve decoupled control.
In recent decades, multiple-input multiple-output (MIMO) systems have found widespread applications in industrial processes. Literature review [
1] comprehensively surveys various decoupling control algorithms and the most widely used methods for coupling interaction analysis and decoupler design in industrial processes. It introduces two categories of decoupling algorithms: general decoupling algorithms and specific decoupling algorithms, along with their properties, advantages, and application areas. General decoupling algorithms include static decoupling and dynamic decoupling, where static decouplers, such as ideal decoupling, simplified decoupling, and reverse decoupling, are generally preferable due to their requirement of less controlled system information, ability to reduce the impact risk of model uncertainties, and ease of implementation. Specific decoupling algorithms encompass a Smith predictor, dead-time compensator, adaptive decoupling, and intelligent decoupling, among others. Intelligent decoupling, involving optimization algorithms in system decoupling and control, stands out as a promising research direction. On the other hand, study [
2] provides a comprehensive analysis of optimization techniques widely used in engineering applications. It extensively elaborates on heuristic algorithms and swarm intelligence algorithms that emerge from phenomena and behaviors in nature, comparing their effectiveness for various optimization problems. These algorithms, utilizing natural evolutionary laws, deliver globally optimal results with significance and impartiality. The primary idea behind swarm intelligence algorithms is to simulate phenomena of biological populations in nature, quantify key indicators of various phenomena, and formulate mathematical models for optimization. With in-depth research in this field, more and more features of biological populations are being extracted for the application in swarm intelligence algorithms. For instance, the Crayfish Optimization Algorithm (COA) [
3] and American zebra optimization algorithm (AZOA) [
4] proposed in 2023, both mimic the unique behaviors of crayfish and American zebras, presenting new metaheuristic optimization algorithms. These algorithms have been tested on benchmark functions and several engineering problems like spring design, pressure vessel design, welding beam design, cantilever beam design, etc., showcasing excellent optimization results. Study [
5] introduced a novel bio-inspired metaheuristic algorithm called Artificial Rabbit Optimization (ARO), which simulates the survival strategies of rabbits. The algorithm was comprehensively tested on 31 functions and five semi-realistic engineering problems. A comparative analysis with various algorithms revealed that ARO is more effective in determining global optimal values for the majority of unimodal, multimodal, and composite functions. Furthermore, ARO demonstrated significant competitiveness in addressing engineering tasks involving unknown and constrained search spaces in semi-realistic engineering problems. Leveraging the hunting behavior of giant trevallies, study [
6] introduces a metaheuristic algorithm named Giant Trevally Optimizer (GTO). The performance of the proposed GTO is evaluated using 40 objective functions with distinct characteristics and five challenging engineering design optimization problems. Comparative experimental results against other well-known optimization algorithms demonstrate that GTO exhibits excellent exploration and exploitation capabilities, showcasing robust and powerful performance. Finally, several future research directions are proposed. Literature review [
7] revisits the research on the Sparrow Search Algorithm (SSA) proposed since 2020, comparing the algorithm with function test experiments. In terms of optimization ability and speed of finding the optimal solution, it evidently outperforms some classical intelligent algorithms. The Sparrow Search Algorithm is simple in principle, easy to implement, and holds promising applications in practical fields and engineering domains. Its current application areas include power load prediction, image processing, robot path tracking, fault diagnosis, and more. Scholars globally have improved the Sparrow Search Algorithm through various approaches, such as enhancing population diversity, implementing new search strategies, optimizing algorithm parameters, and studying algorithm convergence accuracy and speed. In summary, starting from the widespread existence of MIMO systems in industries, the utilization of optimization techniques in engineering applications, and the Sparrow Search Algorithm in optimization algorithms, these aspects provide insights for the research content of this paper.
Numerous scholars have conducted research on controllers and control strategies for multi-input multi-output liquid level control systems. In the context of a four-tank liquid level coupled control system with parameter uncertainties and centralized disturbances, Reference [
8] proposed an adaptive parameter and disturbance compensation control method, effectively reducing the impact caused by parameter uncertainties and centralized disturbances. The simulation results validated the effectiveness of this method. Study [
9] addressed a dual-input dual-output liquid level control system using a linear extended state observer to design a state estimation controller, achieving precise control of the dual-input dual-output liquid levels. Study [
10] proposed an improved multivariate generalized minimum variance decoupling control method to eliminate steady-state errors, and its effectiveness was verified on a semi-physical simulation platform of a two-tank water level control system. Ref. [
11] utilized fuzzy theory in the liquid level control system to reduce rise time, steady-state error, and overshoot, thereby endowing the system with excellent disturbance rejection capability. Refs. [
12,
13] incorporated adaptive control strategies in the design process of the two-tank water level control system, providing good trajectory tracking performance and robustness against disturbances and parameter variations. In [
14,
15], a disturbance observer was introduced into the liquid level control strategy for a four-tank storage tank system to estimate and compensate for disturbances, addressing a class of disturbance problems arising from uncertain parameter disturbances. Ref. [
16] proposed a localized dispersion control method suitable for a benchmark boiler, applicable to both stable and unstable systems, based on the generalized predictive control method. This simple-structured control method demonstrated favorable control performance. Ref. [
17] designed single PI controllers and adaptive PI controllers for a conical tank system. Experimental results showed that the PI controllers based on linear parameter varying models and adaptive PI controllers performed significantly better than other control strategies. Ref. [
18] designed a robust multivariable control technique based on a multiple-model (MM) linear parameter varying (LPV) method and H∞ synthesis for a three-cylinder nonlinear system, comparing the robust performance of the two controllers under nominal and disturbance modes. Ref. [
19] employed a series of classical control techniques such as fuzzy logic control (FLC), artificial neural networks (ANN), adaptive neuro-fuzzy inference systems (ANFIS), model predictive control (MPC), and nonlinear auto-regressive moving average (NARMA-L2) controllers to regulate the nonlinear spherical tank level control system. This analysis aimed to evaluate the performance of each control strategy.
In terms of system structure design, ref. [
20] proposed a decentralized model predictive control algorithm based on the extended state observer. They decomposed complex interconnected systems into multiple low-dimensional subsystems with fewer control variables. The extended state observer was utilized for feed-forward compensation in each subsystem to improve the system’s stability and disturbance rejection capability. For the multi-level and heating furnace composite system, ref. [
21] proposed a coordinated control method based on total capacity balance for variable-period liquid level control. This method achieved the separation of multi-level control and branch temperature balance control in the structure, enabling overall coordinated control of the composite system. To address the significant lag and strong coupling in the density and level regulation processes of the heavy-medium coal preparation control system, ref. [
22] proposed a density and level PFC-PID control algorithm for heavy-medium suspension. The inner loop adopted a PID control decoupled system, while the outer loop employed PFC predictive control technology to resolve the time-delay issue. Ref. [
23] utilized inverse decoupling technology to decouple the dual-input dual-output process into two independent single-input single-output processes. They designed controllers for each single-input single-output process and tuned the controller parameters using frequency domain methods. Ref. [
24] first decoupled the dual-input dual-output system into two single-input single-output systems. Then, they proposed a no-chattering discrete sliding mode controller (DSMC) with phase elimination capability for controlling the two decoupled single-input single-output systems, and the system’s stability was validated through the Lyapunov equation.
The main contributions of this paper are as follows:
Addressing the issues of coupling and disturbances in the dual-tank liquid level control system.
Firstly, addressing the problems of the Sparrow Search Algorithm, such as susceptibility to local optima and low precision, a Regional Dynamic Sparrow Search Algorithm (RDSSA) is proposed, utilizing a regionalized dynamic adjustment strategy for controller parameter tuning within the system.
Secondly, in terms of the system control structure, a Layered Composite Decoupling Control (LCDC) strategy is introduced. This involves constructing an inner-loop decoupling model with feed-forward in the forward channel, which can simultaneously intervene and correct the input and output signals of the controlled object, thus eliminating inter-branch coupling. In the feedback channel, an outer-loop model is constructed using an improved disturbance observer feedback module based on pseudoinversion compensation to observe and suppress system coupling. This combination of inner- and outer-loop models addresses issues related to system coupling and disturbances.
Finally, these two components are integrated into a strategy known as Layered Composite Decoupling Control Based on Regional Dynamic Sparrow Search Algorithm (RDSSA-LCDC). This strategy combines an improved intelligent optimization algorithm with a novel control structure, and its excellent control performance is validated through simulation models of the dual-tank liquid level control system.
The rest of this paper is organized as follows:
Section 2 presents the mathematical model of the dual-tank liquid level control system.
Section 3 introduces RDSSA.
Section 4 describes the LCDC strategy. Simulation experiments and the results’ analysis are presented in
Section 5, and
Section 6 provides a summary of the entire paper.
2. Mathematical Model
Figure 1 presents a schematic diagram of the dual-tank water level control system.
The dynamic equilibrium equation for the system is expressed as follows:
In the equation, A1 and A2 represent the bottom areas of the upper and lower tanks, respectively. h1 and h2 denote the liquid level heights in tank 1 and tank 2, respectively. Q1in represents the flow rate of the inlet valve 1, Q1out represents the flow rate of the outlet valve 1, Q2in represents the flow rate of the inlet valve 2, and Q2out represents the flow rate of the outlet valve 2.
If the cross-sectional area of the outlet orifice is represented as
ai, under ideal conditions, the flow rate through the outlet can be expressed as follows:
The inflow rate through the inlet is typically dependent on factors such as valve voltage
u, flow coefficient
k, and others, and can be expressed as follows:
By substituting Equations (3) and (4) into Equations (1) and (2), the dynamic equilibrium equations of the system are modified as follows:
The equation includes the following variables: a1 and a2 represent the cross-sectional areas of the outlet pipes of the upper and lower tanks, respectively; g denotes the acceleration due to gravity; k1 and k2 represent the flow ratio coefficients of inlet valves 1 and 2, respectively; u1 and u2 represent the valve voltages of inlet valves 1 and 2, respectively.
At a certain steady-state operating point
Q(
h30,
h50,
u30,
u50), Equations (5) and (6) are linearized to obtain the incremental linear equations:
The equations involve the following variables: represents the deviation of the liquid level from the steady-state operating point, and denotes the deviation of the valve voltage from the steady-state operating point, where i = 1, 2.
Let
, be defined as such. By performing Laplace transforms on Equations (7) and (8), the input–output transfer function matrix of the system can be obtained:
3. Improvement of Sparrow Search Algorithm
Intelligent optimization algorithms for tuning controller parameters are widely employed in the field of control. In this system, the Regional Dynamic Sparrow Search Algorithm (RDSSA) is utilized for adjusting the parameters of the PID controller, as depicted in
Figure 2.
3.1. Sparrow Search Algorithm
The Sparrow Search Algorithm (SSA) is a novel swarm intelligence optimization algorithm inspired by the foraging and anti-predatory behavior of sparrow populations. Sparrows exhibit three distinct behavioral strategies during their foraging process.
(1) Discoverer: Selected from the population based on higher fitness, discoverers among the sparrows are responsible for searching for the direction and location of food. The position updates of discoverers within the population are as follows:
In the equations provided, where t represents the current iteration count, represents the position of the jth dimension of the i-th individual during the current t-th iteration process. itermax stands for the maximum number of iterations, and α ∈ (0,1] represents a parameter. R2 ∈ (0,1] signifies the warning value. ST is the safety threshold, with ST ∈ (0.5,1], and Q is a random number following a normal distribution. L represents a 1 × d-dimensional matrix with all elements equal to 1. When R2 < ST, the current population is in a safe location. When R2 ≥ ST, it indicates that sparrows have detected danger, prompting the population to immediately fly elsewhere for foraging.
(2) Follower: These sparrows follow the discoverer sparrows during the foraging process. The update formula for follower individuals in this process is given in Equation (11):
In the equations provided, Xp represents the position of the sparrow occupying the optimal location, while Xworst denotes the position of the sparrow with the lowest current fitness. A is a 1 × d-dimensional matrix where each value is either 1 or −1, and A+ = AT(AAT)−1. When i > n/2, it indicates that the i-th follower sparrow has not obtained food and is in a hungry state, necessitating a flight to another location for foraging.
(3) Sentinel: In the event of danger within the sparrow population, sentinels emit alarms, prompting the population to swiftly relocate to secure areas. These sentinels constitute 10% to 20% of the population, with their mathematical expression defined as follows:
In the equation, Xbest represents the current global optimum position, and β is the adjusting step size factor following a standard normal distribution; K ∈ [−1,1] represents the direction of sparrow movement; ε is a constant used to prevent a zero denominator; fg and fw, respectively, denote the best and worst fitness values within the current population, while fi signifies the fitness value of the i-th sparrow.
3.2. Regional Dynamic Sparrow Search Algorithm
In the later iterations of the SSA, the population of sparrows exhibits a pronounced concentration among individuals due to constraints imposed by their search rules. This homogeneity leads to oscillations in the algorithm near local optimal solutions, making it susceptible to getting trapped in suboptimal conditions. Additionally, the SSA converges too rapidly in its early stages, potentially terminating the search without sufficiently exploring the search space, resulting in suboptimal accuracy. To address these issues, this paper introduces a novel approach termed the Regional Dynamic Sparrow Search Algorithm (RDSSA), incorporating the following improvements:
Firstly, the search space is partitioned into four equally sized subregions, and the population is evenly distributed among these subregions to ensure that individuals within each subregion do not exceed boundaries during their movements.
Secondly, after more than half of the iterations have been completed, an evaluation is performed based on the fitness values of individuals within each subregion. The average fitness value is calculated, and it serves as an assessment metric for each subregion. The best-performing subregion is identified (referred to as ZY), as well as the worst-performing subregion (referred to as ZC).
Subsequently, the number of individuals in the ZC region is halved, while the number of individuals in the ZY region is correspondingly increased, maintaining a constant total population size.
Finally, during the early iterations, the scale of the ZY region is enlarged for extensive exploration. As the remaining iterations exceed half, the scale of the ZY region is reduced to facilitate more precise searching.
The improved Sparrow Algorithm workflow is depicted in
Figure 3, as shown below:
3.2.1. Regional Division
Partitioning the search space of the sparrow population effectively mitigates the issue of population convergence near a specific optimal solution, thus alleviating the problem of population homogeneity and reducing the risk of getting trapped in local optima. Following partitioning, multiple sparrow subpopulations independently explore their designated regions, thereby enhancing the global search capability of the entire population.
The search space is partitioned into four segments, with the position of each individual represented as (
xi,
yi), where
xi and
yi denote the horizontal and vertical positions of the individual within the search space, respectively.
xmin and
xmax represent the minimum and maximum values of the horizontal range of the search space, while
ymin and
ymax denote the minimum and maximum values of the vertical range of the search space. The region in which an individual resides can be determined using Equation (13):
In the equation, both sets of parentheses take on values of 0 or 1. By combining these two parts, the range of values for “Region” is from 1 to 4, corresponding to four distinct regions. This regional identifier can be used to indicate in which area each individual is located, thus representing the partitioning of the entire search space.
Equation (14) can be employed to compute the position of each individual:
The formulas incorporate cosine and sine functions to ensure an even distribution of the population.
3.2.2. Regional Evaluation and Population Changes
The average fitness values for the four partitioned regions are denoted
Avg1,
Avg2,
Avg3, and
Avg4. The max and min functions are used to, respectively, identify the maximum and minimum average fitness values, referred to as the optimal region
ZY and the worst region
ZC:
Suppose the original population size is
N, and the population size within the
ZC region is
NZC, while within the
ZY region it is
NZY. Equations (16) and (17) are used to adjust the number of individuals within
ZC and
ZY:
In the equations, NZC’ represents the population size within ZC after the operation, which is reduced by half, while NZY’ represents the population size within ZY after the operation, which is increased by the same amount by which it was reduced within ZC, in order to keep the overall population size unchanged.
3.2.3. Regional Scale Changes
The scaling of individuals within the subregions is adjusted based on the iteration count t to enhance the global and local search capabilities of discoverer individuals within the
ZY region. The movement of discoverer individuals within the
ZY region is described by Equation (18):
where
In the equation, S(t) represents the scale parameter, δ ∈ (M/2, M), where M is the maximum number of iterations, and α ∈ (1,2) and β ∈ (0,1) are parameters of scale change. ZYs is the original scale in the ZY region, and its value is set to 1 in this context. The values of α and β determine the scale multiplier increase or decrease during the global and local search phases. For different problems, the optimal values of α and β vary. In the context of this study, after testing with multiple datasets, the combination of α = 1.5 and β = 0.5 performed exceptionally well. The choice of δ determines the trade-off between generality and precision during the execution of dynamic strategies, which is how much time is needed to increase the scale for a more extensive global search and decrease the scale for a more precise local search. When δ = ¾ M, RDSSA demonstrates excellent performance.
5. Experimental Design, Results, and Discussion
5.1. RDSSA Performance Analysis
This paper evaluates the performance of RDSSA using five test functions, and compares it with Particle Swarm Optimization (PSO), Whale Optimization Algorithm (WOA), Grey Wolf Optimization (GWO), Harris Hawks Optimization (HHO), Dung Beetle Optimization (DBO), Coati Optimization Algorithm (COA), and Yang’s Double-Slit Experiment Optimizer (YDSE).
The relevant information for the five test functions is shown in
Table 1. All functions aim to solve minimization problems, with F1 to F4 belonging to the CEC2019 test function set, and F5 being part of the latest CEC2022 test function set. Each algorithm is independently run 500 times to assess RDSSA’s solving capabilities across different dimensions. The evaluation of RDSSA’s performance is based on the Best (optimal value), Mean (average value), and Std (standard deviation) metrics. The Best and Mean values reflect the algorithm’s solution quality and precision, while the Std value reflects the algorithm’s stability.
For the F1 test function, the objective is to fit a Chebyshev polynomial to a set of data points, minimizing the error between the polynomial and the data points.
Table 2 shows that HHO, COA, and RDSSA all exhibit excellent performance.
The F2 test function involves the inversion of a Hilbert matrix, which raises issues of numerical stability. From
Table 3, it can be observed that RDSSA’s standard deviation is slightly higher than HHO and COA, but still better than other optimization algorithms.
Test function F3 is a multivariate function often used to assess the global search capabilities of optimization algorithms, with the goal of minimizing the function value. Based on the best, mean, and standard deviation values in
Table 4, RDSSA demonstrates superior convergence accuracy and numerical stability compared to other algorithms.
The Ackley function in F4 is also a multivariate function with numerous local extrema within its defined range. Analyzing the data in
Table 5 reveals that RDSSA excels in both global search capability and the ability to escape local optima.
F5 is a non-convex, multi-modal function designed to assess an algorithm’s capability to adapt to the structure of the search space, as well as its performance in balancing global and local search. Analyzing the data provided in
Table 6 reveals that RDSSA demonstrates outstanding performance, consistently iterating to the optimal value with the fastest speed, surpassing other algorithms.
The following
Figure 13,
Figure 14,
Figure 15,
Figure 16 and
Figure 17 illustrate the iteration curves of each algorithm on five test functions. The objective function values in the iteration curves have been normalized to reduce the numerical range, enhance numerical stability, decrease the scale of the search space, expedite algorithm convergence, and facilitate comparisons.
As depicted in
Figure 13, the iteration curves for various algorithms on the F1 test function show that HHO, COA, and RDSSA perform exceptionally well. They all exhibit rapid convergence towards the optimal value, consistent with the conclusions drawn from the data in
Table 2.
Figure 14 displays the iteration curves for the F2 test function. HHO, COA, and RDSSA demonstrate a clear advantage in terms of convergence speed, as they can rapidly converge to the optimal value.
Figure 15 depicts the iteration curves for test function F3. In conjunction with the data from
Table 4, it can be observed that although various algorithms converge to the vicinity of the optimal value, RDSSA approaches the optimum more closely and exhibits strong stability.
Figure 16 indicates that RDSSA has achieved a relatively good fitness value in the initial stages of iteration, and converges to the optimal value after approximately 160 iterations. In contrast, other algorithms become trapped in local optima during the iterative process, highlighting RDSSA’s superior ability to escape local optima.
Figure 17 displays the iteration curves for test function F5. RDSSA converges to the optimal value first and exhibits strong stability, consistent with the data in
Table 6.
It can be observed that among the eight algorithms, RDSSA tends to incur relatively higher time costs when dealing with the same problem under the same number of iterations. The reasons for this phenomenon are as follows:
(1) Region partition: Introducing the division of the search region into four uniform sub-regions adds extra computational costs. Managing the boundaries of sub-regions and ensuring the uniform distribution of the population require more computational resources.
(2) Sub-region evaluation: Calculating the average fitness value for each sub-region beyond half of the iterations increases computational costs.
(3) Individual quantity adjustment: Adjusting the number of individuals in the optimal and worst sub-regions involves population operations, adding computational costs.
(4) Scale adjustment: Adjusting the scale of sub-regions requires additional computational resources, contributing to increased computational costs.
The advantages of improving SSA through the implementation of the dynamic region adjustment strategy are as follows:
(1) The subdivision of sub-regions and the redistribution of the population avoid the concentration of sparrow populations due to the constraints of the search strategy, thereby improving search efficiency.
(2) The process of evaluating sub-regions is aimed at gaining a more precise understanding of the quality of each region, enabling different operations on regions with varying qualities.
(3) Adjusting the number of individuals in regions is designed to optimize the search process by increasing search intensity in regions wherein the optimal solution is most likely to be found.
(4) Scale adjustment is implemented to optimize the breadth and depth of the search at different stages.
Therefore, despite the relatively higher time cost incurred by implementing the dynamic adjustment strategy in RDSSA, it addresses the drawback of excessive population clustering during the iterative process of the original SSA. This adaptability enhances the algorithm’s probability of finding the optimal solution, and optimizes its global and precise search capabilities at different stages of the search process. From the data analysis in
Table 2,
Table 3,
Table 4,
Table 5 and
Table 6 and the iteration curves in
Figure 13,
Figure 14,
Figure 15,
Figure 16 and
Figure 17, it is evident that the increased time investment is reasonable and effective. This trade-off, sacrificing a certain range of time costs to obtain higher-quality solutions, is a common phenomenon in algorithm design. Moreover, due to the high search efficiency of RDSSA, it allows for shorter iteration times to achieve the desired goals when handling the same problem, resulting in a significantly shorter actual runtime.
In summary, the improved Sparrow Search Algorithm, RDSSA, proposed in this paper exhibits characteristics such as fast convergence, high precision, and strong ability to escape local optima. Therefore, RDSSA has advantages over other algorithms, demonstrating the feasibility of the proposed improvement strategy in this study.
5.2. Design of Experimental Content for Double-Tank Liquid Level Control System
To validate the effectiveness of the RDSSA-LCDC strategy, this paper uses a dual-tank liquid level control system as the experimental subject, as depicted in
Figure 4 in the previous sections. The mathematical model of the controlled object in this system has been provided by Equation (9). The experimental conditions include the following:
The bottom areas of the upper and lower tanks are A1 = A2 = 150 cm2, and the cross-sectional areas of the outlet pipes are a1 = a2 = 2 cm2. The flow rate ratio coefficients for the inlet valves are set to k1 = k2 = 1.2. The steady-state liquid level in the upper tank remains at h30 = 30 cm from 0 s to 4500 s and then rises to 90 cm after 4500 s. Similarly, the steady-state liquid level in the lower tank stays at h50 = 50 cm from 0 s to 8500 s, and then rises to 90 cm after 4500 s.
By substituting these parameters into Equation (9), the transfer function matrix of the system can be obtained:
The simulation experiments were conducted in the MATLAB environment on a Windows 10 system. Simulation data were obtained, and further analysis was performed using plots. The comparative schemes included PID control, diagonal decoupling, LCDC, and PSO-LCDC.
The experimental design is as follows: At 4500 s, there is a sudden change in the liquid level of the upper tank. Due to the existence of coupling relationships, the liquid level of the lower tank is also affected and undergoes a change. At 8500 s, the setpoint for the lower tank’s liquid level is raised to 90 cm. Additionally, at 12,000 s, a step signal is introduced as a disturbance.
5.3. Analysis of Simulation Results
The simulation waveforms of the lower tank’s liquid level for the five control schemes are illustrated in
Figure 23.
In the comparative schemes, both PSO-LCDC and RDSSA-LCDC involve optimizing PID parameters. As shown in
Figure 24, the iteration curves of the objective functions for both approaches indicate that PSO iterates to the optimal value only after approximately 30 iterations, while RDSSA reaches the optimal value as early as the fifth iteration.
The time costs for tuning PID parameters and finding the optimal parameter sets for both methods are presented in
Table 7. Due to the superior performance of RDSSA, its time cost for addressing this problem is significantly lower than that of PSO.
5.3.1. Decoupling Performance
The five curves displayed in region A of
Figure 23 reflect the decoupling performance of the five different control schemes, as shown in
Figure 25.
At 4500 s, due to the rise in the liquid level of the upper tank, there are corresponding fluctuations in the liquid level of the lower tank due to coupling relationships. Based on the extent of curve fluctuations:
(1) PID control exhibits weaker decoupling performance, with relatively high coupling between the upper and lower tank levels.
(2) Diagonal decoupling shows a noticeable improvement in decoupling effectiveness.
(3) LCDC, PSO-LCDC, and RDSSA-LCDC all demonstrate excellent decoupling performance, as the liquid level in the lower tank does not exhibit significant fluctuations in response to changes in the upper tank’s liquid level.
However, when examining the errors between the setpoint and actual liquid level values in the lower tank, as shown in
Table 8, LCDC has a maximum absolute error of 0.50 cm; PSO-LCDC has a maximum absolute error of 0.13 cm; and RDSSA-LCDC has the best decoupling performance, with a maximum absolute error of 0.07 cm.
5.3.2. Response Performance
At 8500 s, the liquid level in the lower tank is raised from 50 cm to 90 cm, and the response performance of the five control schemes is depicted in
Figure 26 (Region B in
Figure 23).
From the waveforms, it can be observed that
(1) PID control and PSO-LCDC exhibit the poorest response performance. While they respond quickly, they suffer from significant overshoot and continuous oscillations;
(2) LCDC and diagonal decoupling show improved response performance, with increased stability but slower response times;
(3) RDSSA-LCDC demonstrates the best response performance, featuring rapid liquid level response, stable waveforms, and no observable oscillations.
5.3.3. Disturbance Rejection Performance
At 12,000 s, the lower tank is subjected to a step disturbance with a value of −10, causing fluctuations in the liquid level. The disturbance rejection performance of the five different control schemes is illustrated in
Figure 27 (Region C in
Figure 23).
Table 9 presents the performance of each control scheme in terms of setpoint values, actual liquid levels, and the maximum absolute error between them when external disturbances occur.
Among them,
(1) PID control exhibits the weakest disturbance rejection performance, with a maximum absolute error of 11.32 cm. Its system dynamics are easily disturbed by external disturbances, and the recovery speed is relatively slow. During the recovery process, the waveform exhibits periodic oscillations.
(2) Diagonal decoupling and LCDC achieve maximum absolute error values of 9.12 cm and 5.59 cm, respectively, indicating improved disturbance resistance.
(3) PSO-LCDC and RDSSA-LCDC demonstrate excellent disturbance rejection capabilities. They exhibit minimal oscillation and rapid recovery when subjected to external disturbances, resulting in stable waveforms. However, in terms of the maximum absolute error, RDSSA-LCDC’s 1.10 cm outperforms PSO-LCDC’s 1.81 cm.
6. Conclusions
This paper addresses the issues of coupling and disturbance in the widely encountered dual-tank water level control system in industrial process control. The RDSSA-LCDC strategy is proposed, making the following contributions:
(1) An improvement to the Sparrow Search Algorithm (SSA) is proposed, introducing the Regionally Dynamic Sparrow Search Algorithm (RDSSA). The RDSSA algorithm addresses the limitations of the Sparrow Search Algorithm during the later stages of iteration, where the concentration of individuals due to search rule constraints may lead to susceptibility to local optima and rapid early convergence, resulting in reduced algorithm precision. The modified RDSSA algorithm exhibits characteristics such as fast convergence, high precision, and strong capability to escape local optima.
(2) For the multi-input, multi-output system represented by the dual-tank water level control system, the LCDC structure is proposed to reduce system coupling by employing a forward feedback decoupling controller. An improved disturbance observer is used in conjunction with the forward feedback decoupling controller to decouple the system and enhance disturbance rejection performance.
(3) Simulation experiments verify the advantages of RDSSA over several other algorithms. Subsequently, the RDSSA algorithm is integrated with the LCDC structure to form the RDSSA-LCDC strategy. Comparative analysis is conducted with other control schemes in a simulation experiment of the dual-tank water level control system, demonstrating the effectiveness of the proposed control approach.
However, there are limitations in this study. For instance, the RDSSA algorithm has a relatively high computational cost that needs further improvement. Additionally, real-world validation of the RDSSA-LCDC strategy is yet to be conducted due to experimental constraints. Future work will focus on refining the RDSSA algorithm to reduce computational costs and conducting real-world validation once experimental conditions are favorable, extending the strategy to industrial process control with similar issues.