Next Article in Journal
Human Activity Recognition with Noise-Injected Time-Distributed AlexNet
Previous Article in Journal
An Improved Greater Cane Rat Algorithm with Adaptive and Global-Guided Mechanisms for Solving Real-World Engineering Problems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Advanced Robust Heading Control for Unmanned Surface Vessels Using Hybrid Metaheuristic-Optimized Variable Universe Fuzzy PID with Enhanced Smith Predictor

by
Siyu Zhan
1,
Qiang Liu
2,
Zhao Zhao
3,*,
Shen’ao Zhang
4 and
Yaning Xu
4
1
Department of Electrical Engineering, Baltic State Technical University, 190000 St. Petersburg, Russia
2
School of Electronic Engineering, Jiangsu Ocean University, Lianyungang 222005, China
3
China Merchants Jinling Shipbuilding (Jiangsu) Co., Ltd., Yizheng 211400, China
4
School of Naval Architecture and Ocean Engineering, Jiangsu Ocean University, Lianyungang 222005, China
*
Author to whom correspondence should be addressed.
Biomimetics 2025, 10(9), 611; https://doi.org/10.3390/biomimetics10090611
Submission received: 6 August 2025 / Revised: 4 September 2025 / Accepted: 8 September 2025 / Published: 10 September 2025
(This article belongs to the Section Bioinspired Sensorics, Information Processing and Control)

Abstract

With the increasing deployment of unmanned surface vessels (USVs) in complex marine operations such as ocean monitoring, search and rescue, and military reconnaissance, precise heading control under environmental disturbances and system delays has become a critical challenge. This paper presents an advanced robust heading control strategy for USVs operating under these demanding conditions. The proposed approach integrates three key innovations: (1) an enhanced Smith predictor for accurate time-delay compensation, (2) a variable-universe fuzzy PID controller with self-adaptive scaling domains that dynamically adjust to error magnitude and rate of change, and (3) a hybrid metaheuristic optimization algorithm combining beetle antennae search, harmony search, and genetic algorithm (BAS-HSA-GA) for optimal parameter tuning. Through comprehensive simulations using a Nomoto first-order time-delay model under combined white noise and second-order wave disturbances, the system demonstrates superior performance with over 90% reduction in steady-state heading error and ≈30% faster settling time compared to conventional PID and single-optimization fuzzy PID methods. Field trials under sea-state 4 conditions confirm 15–25% lower tracking error in realistic operating scenarios. The controller’s stability is rigorously verified through Lyapunov analysis, while comparative studies show significant improvements in S-shaped path tracking performance, achieving better IAE/ITAE metrics than DRL, ANFC, and ACO approaches. This work provides a comprehensive solution for high-precision, delay-resilient USV heading control in dynamic marine environments.

1. Introduction

With the development of autonomous navigation technology, unmanned surface vehicles (USVs) are increasingly employed in ocean monitoring, military reconnaissance, search and rescue, etc. [1]. Typically operating in complex and dynamic marine environments, USVs require motion control systems with high robustness and adaptability to address challenges such as environmental disturbances, nonlinear hull dynamics, and inherent system delays. In response to the USV heading control problem, researchers have proposed a variety of control methods, including proportional-integral-derivative (PID) control, fuzzy control, sliding mode control (SMC), model predictive control (MPC) and intelligent control methods based on neural networks [2,3]. Among them, traditional PID control remains widely adopted in USV heading control due to its simple structure and easy implementation [4]. However, it exhibits limited performance in nonlinear, coupled, and time-delay systems, leading to reduced control precision and degraded stability.
Time-delay compensation plays a crucial role. The work in Reference 6 demonstrates that even enhanced SP variants introduce prediction mismatches and weakened robustness when faced with model-plant mismatches. Recent developments have attempted to enhance SP adaptability through adaptive or data-driven modifications and integration with intelligent controllers [5]. Nonetheless, these approaches often struggle to maintain a balance between compensation accuracy and real-time robustness in highly dynamic environments [6].
Fuzzy PID control has been used for nonlinear heading control of USV due to its strong adaptability. However, the domain of traditional fuzzy PID controllers is usually fixed, making it difficult to adapt to error changes under different working conditions. Variable universe fuzzy control (VUFC) can adaptively adjust the input and output universe according to the error size, thereby improving the flexibility and response speed of the control system [7]. Studies have shown that variable universe fuzzy PID control exhibits better dynamic performance in nonlinear and time-varying systems [8]. Despite these advantages, the selection of its control parameters still relies heavily on empirical adjustment and trial-and-error methods, making it difficult to achieve global optimization and often resulting in sub-optimal performance. Create a table summarizing the literature review as shown in Table 1, introducing the problems and solutions of the relevant literature research content.
Therefore, a significant research gap persists for a unified control strategy that can simultaneously overcome three intertwined challenges: (1) the robustness issue of time-delay compensators under modeling uncertainties and environmental disturbances; (2) the sub-optimal performance of adaptive controllers due to empirical parameter tuning methods; and (3) the lack of a global optimization framework capable of efficiently handling the complex parameter space of sophisticated controllers like VUFC under real-world marine conditions. To bridge this gap, this work develops a novel delay-tolerant control architecture that integrates three key innovations: First, an enhanced Smith predictor structure for accurate time-delay compensation under modeling uncertainties. Second, a variable-universe fuzzy PID controller with self-adaptive scaling domains that dynamically adjust to error magnitude and rate of change. Third, a hybrid metaheuristic optimization algorithm combining beetle antennae search, harmony search, and genetic algorithm (BAS-HSA-GA) for global optimal parameter tuning.
Following this introduction, the remainder of this paper is organized as follows: Section 2 establishes the theoretical background, detailing the principles of variable universe fuzzy control and the Smith predictor. Section 3 presents the design and optimization of our proposed heading control system, including the USV model, controller structure, stability analysis, and the hybrid BAS-HSA-GA optimization algorithm. Section 4 provides a comprehensive simulation analysis, comparing system performance under various conditions and against different algorithms. And describes field validation tests conducted under realistic marine conditions. Finally, Section 5 concludes the paper with a summary of key findings and suggestions for future research directions.

2. Theoretical Background

2.1. Basic Concepts of Variable Universe Fuzzy Control

Variable universe fuzzy control integrates the concept of variable universes into fuzzy control systems without altering the original fuzzy rule base [9,10]. Instead, it dynamically adjusts the input and output domain ranges according to input variations by applying specific scaling rules. Classical fuzzy control systems with fixed domains often struggle to maintain optimal control performance under external disturbances [11]. In contrast, variable universe fuzzy control adapts the domain size based on the magnitude of the input: the domain contracts when the input is small and expands when the input grows. This adaptive domain adjustment effectively mitigates system oscillations and enhances anti-disturbance capabilities, thereby improving overall control performance. Figure 1 illustrates the structural layout of a variable-universe fuzzy PID controller [12,13].
Suppose the system error falls within [ E 1 , E 1 ] , and the initial fuzzy rule set includes NS, ZO, and PS. After domain compression, the rule set expands to NM, NS, ZO, PS, and PM, resulting in finer fuzzy partitions and enhanced control precision. Although the domain is compressed, the number of fuzzy rules does not increase, so the impact on the system response speed is small [14]. This method ensures that while improving the control accuracy, it can still maintain a faster response speed.
U x t = k x t · U x 0 , U y t = k y ( t ) · U y 0
Let U x 0 and U y 0   denote the initial input and output domains, respectively. The dynamically adjusted scaling factors k x t   and k y ( t ) , which vary with the error, are given by Equations (2) and (3).
k x t = 1 + α x · e t E m a x β ,
k y t = 1 + α y · e t E m a x γ
Here, α x and α y are tuning coefficients, β and   γ are exponents for the nonlinear transformation, and E m a x represents the maximum error.

2.1.1. Contraction and Expansion of Basic Domain

Variable universe fuzzy control adjusts the control effect by contracting or expanding the basic domain, rather than directly scaling the fuzzy domain [1]. Figure 2 depicts the scaling transformation of the domain.
For contraction, if the original basic domain is [ e , e ] , after contraction, it becomes [ e 1 , e 1 ] , with the scaling factor a = e / e 1 lying in [0,1], The transformations are given by (4) and (5) [15]:
α E , α E = α e , α e · E e = e 1 , e 1 · E e
E , E = e , e · E e = e 1 α , e 1 α · E e
The actual input x 1 to the fuzzy controller, after domain contraction to [ e 1 , e 1 ] , falls within   [ α E , α E ] . The transformation for the input x is expressed as:
x = x α · E e
Here, x α converts the contracted domain [ e 1 , e 1 ] back to the original basic domain [ e , e ] , while E e scales the basic domain to the fuzzy domain [ E , E ] . This method maintains the fuzzy domain unchanged while effectively amplifying the input and output through basic domain adjustment [16].
For expansion, when [ e , e ] extends to e 2 , e 2 , the scaling factor a = e / e 2 again lies in [ 0,1 ] . The relationship between the expanded basic domain and the fuzzy domain is given by Formulas (7) and (8). This processing method allows for the expansion and contraction of the basic domain to adapt the input and output values while leaving the fuzzy domain unchanged [17].
E α , E α = e α , e α · E e = e 2 , e 2 · E e
E , E = e , e · E e = α e 2 , α e 2 · E e

2.1.2. Introduction of Scaling Factors

The introduction of the scaling factor α ( t ) forms the foundation of variable universe adjustment. It dynamically modifies the input and output domain sizes based on the real-time error value [18]. This approach enhances system adaptability and mitigates instability caused by abrupt error variations. Its computation is described by:
α ( t ) = 1 1 + γ · e ( t ) p
where γ is the adjustment factor and p is the power exponent. When the error e ( t ) is large, the scaling factor α ( t ) is close to zero, which expands the domain; when the error is small, the scaling factor is close to 1, which shrinks the domain. When addressing the time variation factor, the time constant τ can be introduced as illustrated in Formula (10):
α t = 1 1 + γ · e t p + t τ
This permits the domain adjustment to account for both the error and the time effect.

2.2. Principles of Smith Predictor

The Smith predictor is a classical control method designed for systems with time delay, a common challenge in unmanned surface vehicle (USV) heading control due to sensor transmission and actuator response lags [19].
As shown in Figure 3, the closed-loop control system includes a time delay term e τ s , indicating that the signal is delayed by τ seconds without altering its characteristics [20]. This delay hinders the controller’s ability to respond promptly to external disturbances, potentially leading to overshoot and oscillation, thereby affecting system stability. Unlike hysteresis, however, e τ s represents only a fixed delay and does not introduce additional dependencies on past input values beyond τ .
The core concept of the Smith predictor, shown in Figure 4, is to use a model-based prediction to compensate for the delay’s adverse effects. By utilizing a known delay model and current system state, the predictor forecasts future system outputs to enable real-time control despite the delay, substantially enhancing accuracy and response speed [21].
Where G c ( s ) is the transfer function of the controller, G p ( s ) is the transfer function of the controlled object after removing the time lag, τ is the time lag factor of the controlled object, G m ( s ) is the transfer function of the estimated model after removing the time lag [15], τ m is the time lag factor of the estimated model, r ( s ) is the system input, and y ( s ) is the system output [22]. When the controlled object and the estimated model are completely matched, that is, G p ( s ) = G m ( s ) and τ = τ m , the closed-loop transfer function composed of the controller and the Smith predictor is (11) [23,24]:
W ( s ) = G c ( s ) 1 + G c ( s ) G p ( s )
The closed-loop transfer function of the compensated system is (12):
ϕ s = G s 1 + W s G s + G c s G p s 1 + G c s G p s
After applying the Smith predictive control technique, the closed-loop transfer function φ ( s ) has the following characteristic Equation (13):
1 + G c s G p s = 0
This indicates that the time delay term e τ s has been compensated.
For the unmanned surface vehicle (USV), the heading dynamics are often simplified using a first-order time-delay system to capture the main dynamic characteristics of the vehicle’s response. This simplification is based on the assumption that the USV’s maneuvering dynamics can be accurately represented with a low-order model, where the influence of higher-order terms is relatively small. A first-order model with time delay is used to capture the sensor measurement delay and actuator response delay in the control loop. In this study, the heading transfer function of the USV is modeled as (14):
G ψ ( s ) = K ψ T ψ s + 1 e τ ψ s
where K ψ is the heading gain, T ψ is the time constant, and τ ψ is the time lag [12], which are determined through system identification methods or experimental data from the USV. This model effectively accounts for the time delays inherent in the system, allowing for accurate control performance with time delay compensation via the Smith predictor. Through the Smith predictor, the output of the system can be predicted as (15) [25]:
y ^ ψ t + τ ψ = G 0 ( s ) · u ( t )

3. Design and Optimization of Heading Control System

3.1. Basic Principles of the Control System

The proposed heading control system integrates three fundamental components to achieve robust performance in challenging marine environments. First, a variable universe fuzzy PID controller forms the core control logic, which dynamically adjusts its operational domains based on the magnitude of tracking error and its rate of change. This adaptive mechanism enables finer control precision when errors are small and broader authority when errors are large. Second, an enhanced Smith predictor compensates for inherent system time delays by forecasting future system states and providing advance compensation signals. This component effectively removes the destabilizing effects of time delays from the control loop. Third, a hybrid optimization algorithm combines the strengths of beetle antennae search, harmony search, and genetic algorithms to automatically determine the optimal parameters for both the fuzzy controller and Smith predictor. This triple-layered approach ensures precise heading control despite environmental disturbances, system nonlinearities, and sensor-actuator delays that characterize unmanned surface vehicle operations.

3.2. Unmanned Ship Model

To evaluate the performance of various heading control strategies, simulation experiments were conducted using Simulink on the MATLAB(R2022a) platform. The model parameters for the ‘Lanxin’ unmanned surface vehicle (USV) were adopted from the well-established benchmark model developed by Dalian Maritime University [26]. This platform was chosen for its strong capabilities in modeling complex nonlinear control systems, particularly its excellent support for high-fidelity modeling of hybrid continuous/discrete systems, inherent time delays, and external environmental disturbances (e.g., waves and wind). Its status as an industry standard also ensures the reproducibility and reliability of the simulation results. The heading dynamics are modeled using the first-order Nomoto model with a time delay, characterized by parameters K = 0.71 and T = 0.32 , and τ ψ = 0.8 , identified through empirical data. The key physical parameters of the USV are summarized in Table 2. These parameters are used in the time-delay system model for the USV’s heading dynamics, Equation (14).
The simulation spans 100 s with a sampling interval of 0.1 s. Considering the environmental disturbances typically encountered in real marine operations, such as wind, waves, and currents [27], the simulation incorporates interference modeled by white Gaussian noise and a second-order wave transfer function as given in Equation (16) [28]:
Y d s = h s ω ( s )
Here, ω s   represents zero-mean Gaussian white noise, and h ( s ) is defined as: (17) [29]:
h s = K ω s s 2 + 2 ζ ω 0 s + ω 0 2 K ω = 2 ζ ω 0 σ w ω 0 = 4.85 T w σ w = 0.0185 T w h 1 / 3
For a sea state corresponding to Beaufort scale level 4, the parameters are set as: T w is taken as 5 s, h 1 / 3 = 1.25   m , ζ = 0.2 , resulting in the specific wave model (18):
h s = 0.14744 s s 2 + 0.3776 s + 0.9409

3.3. Design of Fuzzy Control with Variable Universe

3.3.1. Fuzzy PID Controller Design

To enhance heading control performance, a fuzzy PID controller that integrates conventional PID control and fuzzy logic reasoning is developed. The design involves the definition of fuzzy subsets, their corresponding universes of discourse and membership functions, the establishment of fuzzy control rules, and the incorporation of online self-tuning strategies based on accumulated operational knowledge, as illustrated in Figure 5 [30].

3.3.2. Controller Structure

Building upon the classical fuzzy PID framework, the proposed controller introduces a domain adaptation mechanism that adjusts the universe of discourse in real-time based on input signals [31]. This adaptive scaling mechanism improves control performance by enabling fine-grained tuning of parameters without altering the basic domain structure.

3.3.3. Design and Implementation of Fuzzy Rules

A dual-input, single-output fuzzy controller with scalable coefficients is adopted [30,32]. The input variables of the controller are error and error change rate, and the output variables include error expansion factor α 1 , error change rate expansion factor α 2 , and expansion factor β 1 of proportional action adjustment K p and expansion factor β 2 of integral action adjustment K i .
Each output depends solely on its corresponding input, justifying the “dual-input, single-output” naming convention. The dual-input single-output structure shown in Figure 6 builds upon the conventional fuzzy PID controller architecture [2931] by introducing variable domain adaptation mechanisms.
Fuzzy variables are typically categorized as “NB, NM, NS, ZO, PS, PM, PB.” The output variables α 1 and α 2 of the controller have a domain range of [0,1] and are classified into “B, M, S, ZO” [14].
In the dual-input single-output fuzzy PID controller, the error scaling factor α 1 is proportional to the error, while the error change rate scaling factor α 2 corresponds to the error change rate [33].
The rules for α 1 and α 2 are simpler due to their direct correlation with error and error rate [30]. In contrast, β 1 and β 2 depend on the joint variation in both, making rule design more complex [34].

3.4. Improved Design of Smith Predictor

The improved Smith predictor proposed by C.C. Hang significantly enhances the adaptability of classical Smith structures in systems with time delay [35]. The Smith estimation model depicted in Figure 7 follows the structure proposed by Hang et al. [22] and implemented according to [23].
Among them, G c o ( S ) and G s ( S ) represent the transfer functions of the main regulator and the auxiliary regulator, respectively. The feedback loop gain of the traditional Smith predictor is 1 [23], while the improved feedback loop adopts the G f ( S ) algorithm structure, and the expression is shown in Formula (19):
G f ( s ) = G c ( s ) G m ( s ) 1 + G c ( s ) G m ( s )
When G s ( S ) is used as a PI regulator and G m ( s ) is a first-order inertia gain, according to the control principle, the integral time of the regulator is equivalent to the model time, so G f ( S ) is simplified to Formulas (20) and (21):
When G s ( S ) (s) functions as a PI controller and G m ( s ) represents a first-order inertial gain, the regulator’s integral time matches the model time, allowing G f ( S ) to be simplified as shown in Equations (20) and (21).
G f S = 1 t m k c k m s + 1 = 1 t f s + 1
t f s = t m k c k m
where t f represents the excitation time constant of the system, t m represents the time constant of the Smith predictor, k c is the gain of G s ( S ) , and k m is the gain of the Smith predictor. The simplified schematic in Figure 8 maintains the core compensation principle of the Smith predictor [22] while incorporating our enhancements for improved adaptability.
By applying modern control theory to derive the closed-loop function, the simplified model’s closed-loop transfer function is obtained as Equation (22) [23]:
Y s R s = G c s G p s e τ s 1 + G c s G m s + G c s ( G p s e τ s G m s e τ m s ) 1 t f s + 1
From the above formula, we can see that when the model is completely matched, that is (23) and (24);
G m s = G p ( s )
τ = τ m
At this time, the transfer function can be changed to (25):
Y ( s ) R ( s ) = G c ( s ) G p ( s ) e τ s 1 + G c s G p s
From the transfer function of Equation (25), it can be seen that the lag term e τ s in the closed-loop transfer function has been removed from the system, so the closed-loop system has better control performance. In addition, the first-order inertia link 1 t f s + 1 has no effect on the system. When the Smith predictor deviates from the controlled object, the following events may occur (26) and (27).
G m s G p s , τ τ m
G m s G p s & τ τ m

3.5. Lyapunov Stability Analysis

3.5.1. Overview of Stability Analysis

In this study, we use Lyapunov stability theory to perform stability analysis on the designed fuzzy PID controller [36]. This method can verify whether the designed controller can ensure the stability of the system when facing external disturbances and system dynamic changes.

3.5.2. Construction of Lyapunov Function

In order to perform Lyapunov stability analysis, we first define the state variables of the system. Considering the heading error e ψ ( t ) and the derivative of the heading error e ψ ˙ t , we construct the following Lyapunov function (28):
V e ψ , e ψ ˙ = 1 2 e ψ 2 + 1 2 e ψ ˙ 2
where e ψ represents the heading error and e ψ ˙ is the derivative of the heading error.

3.5.3. Derivation of Lyapunov Function

To ascertain the system’s stability, it is essential to examine the rate of change in the Lyapunov function over time. Based on the control system’s dynamic equations, we derive the temporal changes in both the heading error and its rate of change as follows (29) and (30):
e ψ ˙ t = ψ d e s i r e d t ψ t
e ψ ¨ t = ψ ˙ d e s i r e d t ψ ˙ t
Under the action of the fuzzy PID controller, the control input u(t) of the system can be expressed as (31) [37]:
u t = K p · e ψ t + K i e ψ t d t + K d · e ψ ˙ t
This control input is used to correct the heading error e ψ t so that the system can be stabilized.
The time derivative of the Lyapunov function V ˙ e ψ , e ψ ˙ can be obtained by differentiating V e ψ , e ψ ˙ .
We use the chain rule to differentiate V e ψ , e ψ ˙ and obtain (32):
V ˙ e ψ , e ψ ˙ = e ψ · e ψ ˙ + e ψ ˙ · e ψ ¨
Substituting into the controller dynamic Equation (33):
V ˙ e ψ , e ψ ˙ = e ψ · e ψ ˙ + e ψ ˙ · ( K p e ψ K i e ψ t d t K d e ψ ˙ )
After simplification, we receive (34):
V ˙ e ψ , e ψ ˙ = K p e ψ 2 K d e ψ ˙ 2 K i e ψ e ψ t d t

3.5.4. Stability Conditions

To ensure the stability of the system, we need to ensure that V ˙ e ψ , e ψ ˙ is always non-positive [22]. By analyzing the role of controller gains K p , K i , and K d , we can derive the following conditions:
When K p > 0 , K d > 0 , K i 0 , V ˙ e ψ , e ψ ˙ will always be negative or zero, thus ensuring the stability of the system [10].
If K i > 0 , the integral action helps to eliminate the steady-state error of the system, thereby improving the accuracy of the system.
Therefore, since the gain of the fuzzy PID controller design is selected as K p = 35 , K d = 1 , K i = 100 , it can ensure that the system remains stable in the face of disturbances [13,38].

3.6. Parameter Optimization Design Based on BAS-HSA-GA Hybrid Optimization Algorithm

To further improve controller performance, a hybrid optimization algorithm is developed by integrating the Beetle Antennae Search (BAS), Harmony Search Algorithm (HSA), and Genetic Algorithm (GA). This hybrid algorithm combines global exploration and local refinement, improving convergence speed and robustness.

3.6.1. The Main Steps of Algorithm Implementation

Step 1: Initialization phase.
Determine the optimization goal and problem dimension: Let the optimization problem be to minimize the function f ( x ) , where x = ( x 1 , x 2 , , x D ) is a D -dimensional vector representing the solution to the problem. f ( x ) is the objective function defined by the optimization problem. Set the parameter dimension D = 5 (corresponding to K P , K i , K d , K e , K e c ).
Population size and subpopulation division: Determine the size N of the entire population, BAS, HSA and GA subpopulations, N = N B A S + N H S A + N G A = 10 .
Algorithm parameter settings: beetle whisker length d 0 = 1 ; perception distance coefficient k = 0.5 ; parameter upper and lower bounds U b = [ 100,100,10,10,10 ] , L b = [ 0 , 0 , 0 , 0 , 0 ] ; harmony memory size HMS, determines the number of optimal solutions that can be stored in the harmony memory, H M S N H S A , set H M S = 10 ; harmony memory consideration rate H M C R = 0.9 ; pitch adjustment rate P A R = 0.3 .
Population initialization: Initialize the individual position x i j 0 ( i = 1,2 , , N ; j = 1,2 , , D ) , x i j 0 [ a j , b j ] , [ a j , b j ] is the j-th dimension of the search space; calculate the initial fitness value f ( x i 0 ) of each individual and convert it into a fitness value using Formula (35):
f ( x i 0 ) = 1 / ( 1 + f ( x i 0 ) )
Step 2: Algorithm iteration
  • Iteration process of BAS algorithm
Direction vector generation: For individuals x i t ( i =   1,2 , , n 1 ) in the BAS subpopulation, randomly generate a unit direction vector (36):
d = ( d 1 , d 2 , , d D )
Each element d j [ 1,1 ] satisfies j = 1 D d j 2 = 1 .
Calculation of the position of the beetle whiskers: Based on the current individual position x i t , the length of the beetle whiskers d 0 , and the direction vector d , calculate the left whisker position x i L t and the right whisker position x i R t , left and right whisker position (37):
x i L t = x i t d 0 2 d , x i R t = x i t + d 0 2 d
Fitness evaluation and update: Calculate the left and right whisker positions x i L t and x i R t , fitness values f ( x i L t ) and f ( x i R t ) , and use the predefined objective function f ( x ) for calculation. If f ( x i L t ) > f ( x i R t ) , then x i t + 1 = x i L t . Otherwise, update to x i t + 1 = x i R t .
Step size update: Update the length of the longhorn beetle whisker, Formula (38):
d 0 t + 1 = d 0 t × 0.95
where α is the contraction coefficient, usually α ( 0,1 ) to gradually reduce the step size.
2.
HAS algorithm operation process
Initialize the harmony memory bank, select HMS individuals to form the harmony memory bank HM, and record the fitness value corresponding to each individual (39) [39]:
{ f ( x h 0 ) } h = 1 H M S
Generate a new solution. For each iteration t , generate a new solution (40):
x n e w t = ( x n e w 1 t , x n e w 2 t , , x n e w D t )
The generation rule is as follows: For each dimension j =   1,2 , , D , with probability (41):
HMCR : x n e w j t = x h j t
where h is an index randomly selected from 1 to H M S . Randomly generated with probability 1 H M C R : x n e w j t [ a j , b j ] . Use the Levy flight mechanism to integrate pitch adjustment: Generate a Levy flight step vector L = ( L 1 , L 2 , , p ) , whose element L j follows the Levy distribution. Use the generated Levy flight step to adjust the new solution. The new solution adjustment Formula (42) is:
x n e w j t = x n e w j t + L j × b w j × r , ( j = 1,2 , , D )
where b w j is the bandwidth (adaptively adjusted according to factors such as the number of iterations), which is used to control the amplitude of Levy flight adjustment, and r [ 0,1 ] is a random number.
Fitness evaluation and update: Calculate the fitness of the new solution x n e w j t as f ( x n e w j t ) , and calculate it with the previous objective function f ( x ) to find the worst individual setting index h m i n in the harmony memory library.
If f ( x n e w j t ) > f ( x h m i n t ) , replace the worst solution with the new solution, that is (43):
x h m i n t = x n e w j t ,   f x n e w j t = f ( x h m i n t )
3.
GA subpopulation operation process
First, the selection operation: for ( i = 1,2 , , n 3 ) , calculate the selection probability (44):
p i t = f x i t k = 1 n 3 f x k t
Use the roulette method to select parent individuals. Individuals with higher fitness have a greater probability of being selected
The crossover operation creates new offspring by recombining the genes of two parent individuals. In this algorithm, it is performed by randomly selecting two parents, x p 1 and x p 2 , from the selected population, and generating two offspring through recombination.
Mutation operation: For each individual in the population, a mutation operation is performed with a probability of P m . For the selected individual, a dimension j is randomly selected and perturbed in a small range to ensure that the mutated individual is still within the upper and lower bounds of the parameter.
The individual x i j t ( i = 1,2 , . . , n 3 ; j = 1,2 , , D ) is mutated with probability P m , that is, Formula (45):
x i j t + 1 = x i j t + x i j
where x i j = σ × r ( σ is the variable step length, r [ 0,1 ] random number).
Step 3: Termination condition judgment
When t = T m a x or the fitness value is less than the threshold, the algorithm is terminated and the individual with the highest fitness in the entire population is selected as the final solution [40].
Use the collaborative mechanism to migrate the optimal solution between subgroups every 10 generations to avoid premature convergence. Update the global optimal solution (46):
x i j t + 1 = x i j t + x i j
Optimize the objective function and minimize the ITSE index (47):
I T S E = 0 T t · e 2 x d t
Step 4: Output the optimal parameters, g B e s t = [ K P , K i , K d , K e , K e c ] .

3.6.2. Dynamic Upper and Lower Bound Adjustment Mechanism

To improve search adaptability, a dynamic bound adjustment mechanism is introduced based on changes in the optimal solution. If no significant improvement occurs over a set number of iterations, the algorithm automatically modifies the upper and lower bounds to either expand or shrink the search space [41]. The corresponding adjustment expressions are given in Formulas (48) and (49).
U b t + 1 = z b e s t + U b t L b t α
L b t + 1 = z b e s t U b t L b t α
Here, α is the adjustment coefficient, and z b e s t represents the current global optimum, these enhancements significantly improve the global search capability and convergence speed of the proposed hybrid algorithm in optimizing fuzzy PID controller parameters [11]. Additionally, incorporating mechanisms such as dynamic step size, learning factors, and annealing temperature enhances the algorithm’s adaptability and robustness.

4. Simulation Analysis of Unmanned Ship Heading Control

4.1. System Response Under Different Time Delay Conditions

The initial heading angle is set at 0°. For simulation analysis, the unmanned ship’s goal headings are set to 30° and 60°. Wind, waves, currents, and other interferences will all have an impact on the unmanned ship during navigation. White noise and a second-order wave transfer function are employed to approximate these interferences, making the simulation procedure simpler.
To further validate the control system’s resistance to time delay, this article simulates the system response under various sensor delay situations. Figure 9 displays the heading control results under various delay situations. For a 1 s delay, the system can recover and track the target heading quickly; for a 2 s delay, the system response recovery is delayed, but due to the Smith controller’s compensation effect, the heading tray is effectively controlled, and the response time is increased by only about 10%.
Figure 9 displays the control system’s simulated responses under varying sensor delays, with the detailed results summarized in Table 3 and Table 4. While 1 s and 2 s delays degrade performance, the Smith predictor compensation ensures effective heading control. For these delays, the PID controller achieves shorter rise and settling times but suffers from increased overshoot. By contrast, the V-fuzzyPID and S-fuzzyPID controllers demonstrate enhanced stability and reduced overshoot. Notably, under a 2 s delay, the S-fuzzyPID controller not only exhibits the lowest overshoot but also achieves significantly smaller steady-state error than the other controllers, highlighting its superior delay robustness.

4.2. Optimization Effect of Controller

4.2.1. Unmanned Ship Simulation Analysis

To verify the effectiveness of the proposed hybrid optimization algorithm, a comparative study with standard algorithms such as genetic algorithm (GA) and particle swarm optimization (PSO) was conducted under different conditions. Key performance indicators such as response speed, stability, control accuracy, and anti-interference ability were evaluated. The results show that the BAS-HSA-GA method significantly improves the optimization efficiency, reduces overshoot and controller oscillation, shortens the convergence time, and reduces the number of iterations by nearly 30%.
Further simulations were performed to verify the robustness and stability of the controller, and its performance indicators such as settling time, response time, and steady-state error are listed in Table 4. The fuzzy PID controller always maintains low error and reliable system behavior.
Figure 10 and Figure 11 show the changes in the rudder angle and tracking error under the four optimization strategies, respectively. The data summarized in Table 4 and Table 5 correspond to two scenarios: Figure 10 shows the performance without disturbance when the target heading is 30°, while Figure 11 reflects the system behavior under external disturbance. The results confirm that the proposed hybrid algorithm has excellent adaptability and robustness in dynamic and uncertain environments.
The enhanced hybrid beetle antenna search (BAS) algorithm demonstrates superior performance compared to conventional PID, GRO-optimized fuzzy PID, Se-PSO-optimized fuzzy PID, and the Smith predictor-based variable universe fuzzy PID controller. As evidenced by the results in Table 5 and Table 6 and the plots in Figure 10 and Figure 11, the proposed approach yields lower overshoot, faster convergence, and smoother rudder actuation under both nominal and disturbed conditions. This improved stability minimizes rudder activity, thereby reducing mechanical wear and enabling more accurate and efficient course-keeping.
To further evaluate robustness, the desired heading was adjusted to 60°, and additional simulations were conducted under compound environmental disturbances, including wind, waves, and currents. Key performance indicators—heading accuracy, tracking error, and rudder angle variation—were closely analyzed. As shown in Figure 12 and Table 7, the hybrid BAS algorithm maintained excellent tracking precision and directional stability even in highly dynamic conditions, effectively mitigating external disturbances and ensuring reliable heading control performance.
Figure 12 illustrates the heading angle variation curve under interference from a 60° target heading. The results indicate that the hybrid beetle optimization algorithm outperforms other systems, maintaining the best control performance even with a shift in the target heading. This algorithm demonstrates superior anti-interference capabilities, as shown by its lowest overshoot, fastest response time, and most stable rudder angle change compared to alternative approaches.
Additionally, a Lyapunov stability analysis of the controller, supported by simulation results, confirms that the designed controller ensures the system operates stably. The simulations further validate that the controller effectively reduces error and maintains system stability under interference conditions. These findings suggest that the controller has strong potential for practical applications in unmanned surface vessel heading control, particularly in complex and dynamic environments.
According to the curves in Figure 13, the data in Table 8 show that the BAS-HAS-GA method achieves the best S-type path tracking performance with the lowest IEA (271.6276) and ITEA (3.1021), outperforming DRL, ANFC, ACO, and GA in both accuracy and error reduction. Future research can combine the advantages of BAS-HSA-GA and DRL to develop more efficient path tracking algorithms.

4.2.2. Field Test of Unmanned Surface Vehicle (USV)

To demonstrate the feasibility of the proposed control strategy, this section details a real test of the heading control of an unmanned surface vessel (USV). The USV is equipped with a series of sensors, a microcontroller, and a host computer to enable real-time data management and vehicle performance supervision. The experiment was conducted in the waters of Jingsi Lake in Lianyungang City. The USV is shown in Figure 14, and the setup is shown in Figure 14b, the red box indicates the navigation range.
The field test was conducted in moderate sea conditions, with sea state level 4 and wind force level 4, providing a challenging but realistic environment for evaluating the robustness and performance of the system. The field test results are shown in Figure 15, including the change in heading angle over time, and Table 9 shows the control performance indicators.
It can be seen from Figure 15 and Table 9 that the control method optimized by the BAS-HSA-GA is better than the deep learning and adaptive fuzzy neural network control methods. The values of the performance indicators IAE and ITAE of the hybrid algorithm are smaller than the values of the performance indicators IAE and ITAE of the other two control strategies.
To further verify the reliability and stability of the experiment, the unmanned boat was subjected to linear motion in unobstructed and undisturbed distant waters and linear obstacle avoidance heading control in disturbed near-view waters. By comparing with other mainstream control algorithms, the advantages of the BAS-HAS-GA in steady-state control and path tracking were evaluated.
Figure 16 and Table 10 show that the BAS-HAS-GA control method, after using the Smith prediction method, outperforms the other two methods in terms of total error, time-weighted error, and steady-state error, demonstrating its rapid convergence, strong stability, and enhanced disturbance rejection in track tracking.
To test the control capabilities of the unmanned vessel in complex, close-range operating waters, an obstacle environment was set up to test the obstacle avoidance path planning and control stability of the unmanned vessel. When the unmanned vessel’s distance from the obstacle center is less than the obstacle radius + the safety margin, it enters obstacle avoidance mode and adjusts the target heading to an angle offset from the current heading (default 45°). After leaving the obstacle avoidance area, it briefly enters recovery mode, slightly correcting the target heading to return to the original path.
The proposed control scheme with an improved Smith predictor demonstrates superior performance in obstacle avoidance tasks, as evidenced by Figure 17 and Table 11. It maintains minimal tracking error under system delays and external disturbances, highlighting its strong delay compensation and real-time adjustment capabilities.
Compared to DRL and ANFC methods, the Smith-based controller excels in heading maintenance, path tracking, and dynamic obstacle avoidance, particularly in suppressing steady-state deviation and enhancing disturbance rejection. Its adaptive time-delay compensation and feedforward–feedback structure effectively address time-varying delays and improve stability, enabling rapid convergence and stable navigation of unmanned vessels in complex waters. This offers an efficient solution for high-precision control of marine unmanned systems.

5. Conclusions

This study has successfully developed and validated an advanced, robust heading control system for unmanned surface vessels that effectively addresses the challenges of environmental disturbances and system delays through the integration of an enhanced Smith predictor, a variable-universe fuzzy PID controller with self-adaptive scaling domains, and a hybrid BAS-HSA-GA optimization algorithm. The experimental results demonstrate significant performance improvements, including a 90% reduction in steady-state error and a 30% faster settling time compared to conventional methods, along with 15–25% lower tracking errors in sea-state 4 conditions, while Lyapunov stability analysis confirms the system’s theoretical robustness. However, the current implementation has several limitations that need to be addressed in future research, including its reliance on a first-order Nomoto model that may not fully capture higher-order dynamics, the computational complexity of the hybrid optimization algorithm that could challenge real-time implementation on low-power systems, and the need for testing under more extreme sea conditions beyond sea-state 4. Future work should focus on integrating reinforcement learning techniques for online adaptive tuning, developing simplified optimization variants to reduce computational load, extending the framework to cooperative multi-USV scenarios with distributed control architecture, implementing the system on FPGA hardware platforms for enhanced real-time processing, conducting comprehensive testing under extreme sea conditions (sea-state 5-6), and incorporating model predictive control elements to further improve trajectory tracking performance, which would significantly advance autonomous marine vehicle control capabilities for high-precision navigation in challenging maritime environments.

Author Contributions

Conceptualization, S.Z. (Siyu Zhan), Q.L. and Z.Z.; Methodology, S.Z. (Siyu Zhan), Z.Z., S.Z. (Shen’ao Zhang) and Y.X.; Software Z.Z.; Validation, Q.L. and Z.Z.; Formal analysis, Q.L. and Z.Z.; Investigation, S.Z. (Shen’ao Zhang) and Y.X.; Resources, S.Z. (Siyu Zhan) and Q.L.; Data curation, S.Z. (Shen’ao Zhang) and Y.X.; Writing—draft preparation, S.Z. (Siyu Zhan); Writing—review and editing, S.Z. (Siyu Zhan) and Z.Z.; Visualization, Q.L.; Supervision, Q.L.; All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not appliable.

Data Availability Statement

The datasets generated and analyzed during the current study are available from the corresponding author on reasonable request.

Acknowledgments

We are grateful for the valuable comments provided by the anonymous reviewers. which have helped us to improve the content of this paper and make it even better. All co-authors have confirmed and agreed to publish.

Conflicts of Interest

Author Zhao Zhao was employed by the company China Merchants Jinling Shipbuilding (Jiangsu) Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential con-flict of interest.

Abbreviations

SymbolDescriptionUnit
e ( t ) System   error   at   time   t
e ( t ) ˙ Derivative of the error
U x 0 Initial input universe of discourse
U y 0 Initial output universe of discourse
k x ( t ) Dynamic scaling factor for input universe
k y ( t ) Dynamic scaling factor for output universe
α x , α y Tuning coefficients for scaling factors
β , γ Exponents for nonlinear transformation
E m a x Maximum error value
α ( t ) General time-varying scaling factor
p Power exponent for scaling factor
G c ( s ) Transfer function of the controller
G p ( s ) Transfer function of the plant (without delay)
G m ( s ) Transfer function of the estimation model
τ Actual time delay of the plants
τ m Time delay of the estimation models
r ( s ) System input (reference signal)
y ( s ) System output
y ˇ ψ Predicted system output
G ψ ( s ) Heading transfer function of the USV
K ψ Heading gains
τ ψ Heading time constants
K Nomoto model gain (identified)
T Nomoto model time constant (identified)s
Y d ( s ) Wave disturbance output
ω ( s ) Zero-mean Gaussian white noise
h ( s ) Second-order wave transfer function
K ω Wave model gain
ζ Damping ratio
ω 0 Dominant wave frequencyrad/s
σ ω Wave intensity coefficient
T ω Characteristic wave periods
h 1 / 3 Significant wave heightm

References

  1. Yu, H.; Liu, J.; Liu, L.; Ju, Z.; Liu, Y.; Zhou, D. Intelligent Robotics and Applications 12th International Conference, ICIRA 2019, Shenyang, China, August 8–11, 2019, Proceedings, Part III; Springer: Cham, Switzerland, 2019. [Google Scholar]
  2. Demir, E.; Gulbudak, O.; Gokdag, M. Performance Evaluation of Three-Phase Grid Connected Inverter with Various Control Methods. Balk. J. Electr. Comput. Eng. 2023, 1, 163–171. [Google Scholar]
  3. Phan, V.D.; Nguyen, X.H.; Dinh, V.N.; Dang, T.S.; Le, V.C.; Ho, S.P.; Ta, H.C.; Duong, D.T.; Mai, T.A. Development of an Adaptive Fuzzy-Neural Controller for Temperature Control in a Brick Tunnel Kiln. Electronics 2024, 13, 342. [Google Scholar] [CrossRef]
  4. Li, X.; Zeng, X.; Wang, J.; Li, Q.; Fan, B.; Zeng, Q. Analysis of Unmanned Surface Vehicles Heading KF-Based PI-(1+PI) Controller Using Improved Spider Wasp Optimizer. Drones 2025, 9, 326. [Google Scholar] [CrossRef]
  5. Guo, L.; Zhu, Y.; Yang, H.; Luo, Y.; Sun, L.; Zheng, X. A k-nearest neighbor query method based on trust and location privacy protection. Concurr. Comput. Pract. Exp. 2020, 34, e5766. [Google Scholar] [CrossRef]
  6. Sariyildiz, E. Analysis and Synthesis of Disturbance Observer-Based Digital Robust Motion Control Systems in State Space. IEEE Trans. Ind. Electron. 2025, 72, 8376–8385. [Google Scholar] [CrossRef]
  7. Cao, Z.; Zheng, S. MR-SAS variable universe fuzzy control in steering situation based on wheelbase preview. Optik 2016, 127, 9496–9503. [Google Scholar] [CrossRef]
  8. Lu, W.; Gao, Y. Variable Universe Fuzzy Adaptive PID Control in the Digital Servo System. In Proceedings of the 2016 8th International Conference on Intelligent Human-Machine Systems and Cybernetics (IHMSC), Hangzhou, China, 27–28 August 2016; pp. 204–207. [Google Scholar]
  9. Cheng, Y.; Li, P. Research on switched reluctance motor speed control system with variable universe fuzzy PID. In Proceedings of the 2020 IEEE 4th Information Technology, Networking, Electronic and Automation Control Conference (ITNEC), Chongqing, China, 12–14 June 2020; pp. 2285–2289. [Google Scholar]
  10. Zhao, G.; Wang, J.; Li, W.; Zhu, J. Master and Auxiliary Compound Control for Multi-Channel Confluent Water Supply Switching Control Based on Variable Universe Fuzzy PID. Appl. Sci. 2020, 10, 7983. [Google Scholar] [CrossRef]
  11. Zhang, H.; Zhao, Z.; Wei, Y.; Liu, Y.; Wu, W. A Self-Tuning Variable Universe Fuzzy PID Control Framework with Hybrid BAS-PSO-SA Optimization for Unmanned Surface Vehicles. J. Mar. Sci. Eng. 2025, 13, 558. [Google Scholar] [CrossRef]
  12. Wang, Y.; Wei, M.; Hu, X.; Jiang, M.; Zhang, L.; Gawin, D.J. Research on Variable Universe Fuzzy PID Control Strategy of Pipe Lining Induction Heating System. Model. Simul. Eng. 2020, 2020, 9. [Google Scholar] [CrossRef]
  13. Liu, B.; Li, M.; Yuan, Y.; Liu, J. Unified Paradigm of Start-Up Strategy for Pumped Storage Hydropower Stations: Variable Universe Fuzzy PID Controller and Integrated Operation Optimization. Energies 2024, 17, 3293. [Google Scholar] [CrossRef]
  14. Liang, H.; Dong, Y.; Cao, D. Research on VSC-HVDC double closed loop controller based on variable universe fuzzy PID control. In Proceedings of the 2017 China International Electrical and Energy Conference (CIEEC), Beijing, China, 25–27 October 2017; pp. 633–638. [Google Scholar]
  15. Cao, B.; Li, T.-F.; Zhang, C.-Y. Fuzzy Information and Engineering Volume 2; Springer: Berlin/Heidelberg, Germany, 2009. [Google Scholar] [CrossRef]
  16. Liem, D.T.; Truong, D.Q.; Ahn, K.K. A torque estimator using online tuning grey fuzzy PID for applications to torque-sensorless control of DC motors. Mechatronics 2015, 26, 45–63. [Google Scholar] [CrossRef]
  17. Zhang, P.; Chen, W.; Wang, H.; Wang, J.; Lu, H.; Cheng, Z. Fuzzy PID control method for damping of electronically controlled air suspension shock absorbers for vehicles. Eng. Res. Express 2022, 4, 045020. [Google Scholar] [CrossRef]
  18. Deng, Z. Proceedings of 2017 Chinese Intelligent Automation Conference; Springer: Singapore, 2018. [Google Scholar]
  19. Roy, N.; Sengupta, A.; Sutradhar, A. Evolutionary Smith Predictor for Control of Time-Delay Systems. In Modelling and Simulation in Science, Technology and Engineering Mathematics; Springer: Cham, Switzerland, 2019; pp. 339–349. [Google Scholar]
  20. Hu, S.; Wang, L.; Li, Y.; Zhang, L. Variable Universe Fuzzy Controller for an Independent Metering System of Construction Machinery. Processes 2023, 11, 901. [Google Scholar] [CrossRef]
  21. Abe, N.; Yamanaka, K. Smith predictor control and internal model control—A tutorial. In Proceedings of the SICE 2003 Annual Conference (IEEE Cat. No.03TH8734), Fukui, Japan, 4–6 August 2003; Volume 2, pp. 1383–1387. [Google Scholar]
  22. Jia, Y.; Du, J.; Zhang, W. Proceedings of 2017 Chinese Intelligent Systems Conference: Volume I; Springer Publishing Company, Incorporated: Singapore, 2017. [Google Scholar]
  23. Liu, J.; Huang, L.; Yu, D.; Xu, L.; He, Y. The control method for ship tracking when navigating through narrow and curved sections. Appl. Ocean Res. 2024, 145, 103943. [Google Scholar] [CrossRef]
  24. Vilanova, R.; Visioli, A. PID Control in the Third Millennium: Lessons Learned and New Approaches; Springer: London, UK, 2012. [Google Scholar]
  25. Zhang, Y.; Liu, L.; He, D. Application of Variable Universe Fuzzy PID Controller Based on ISSA in Bridge Crane Control. Electronics 2024, 13, 3534. [Google Scholar] [CrossRef]
  26. Wu, B. Research on Automatic Steering System of Unmanned Ship Based on Variable Universe Fuzzy PID. Master’s Thesis, Dalian University of Technology, Dalian, China, 2022. [Google Scholar]
  27. Jia, Y.; Zhang, R.; Lv, X.; Zhang, T.; Fan, Z. Research on Temperature Control of Fuel-Cell Cooling System Based on Variable Domain Fuzzy PID. Processes 2022, 10, 534. [Google Scholar] [CrossRef]
  28. Tan, Y. Navigation Control of USV Based on Trajectory Linearization Control. Master’s Thesis, Dalian Maritime University, Dalian, China, 2020. [Google Scholar]
  29. Liang, H.; Wang, H.; Li, Z. A New Adaptive Time Delay Estimation Method Based on Higher Order Cumulants. Syst. Eng. Electron. 2003, 7, 783–786. [Google Scholar]
  30. Li, C.; Sun, Y.; Li, G.; Jiang, D.; Zhao, H.; Jiang, G. Trajectory tracking of 4-DOF assembly robot based on quantification factor and proportionality factor self-tuning fuzzy PID control. Int. J. Wirel. Mob. Comput. 2020, 18, 361–370. [Google Scholar] [CrossRef]
  31. Liu, H.-C.; Sung, W.-P.; Yao, W. Information, Computer and Application Engineering: Proceedings of the International Conference on Information Technology and Computer Application Engineering (ITCAE 2014), Hong Kong, China, 10–11 December 2014; CRC Press, Inc.: London, UK, 2015. [Google Scholar]
  32. Qi, X.; Xu, D.; Wang, J. The Simulation and Design on Control System of Magneto-Rheological Damper Seat. Appl. Mech. Mater. 2013, 278–280, 1639–1643. [Google Scholar] [CrossRef]
  33. Ji, G.; Li, S.; Feng, G.; Wang, H. Enhanced Variable Universe Fuzzy Control of Vehicle Active Suspension Based on Adaptive Contracting–Expanding Factors. Int. J. Fuzzy Syst. 2023, 25, 2986–3000. [Google Scholar] [CrossRef]
  34. Lian, L. Main Steam Temperature Control Based on Variable Universe Fuzzy Dynamic Matrix Control. Therm. Eng. 2022, 69, 763–778. [Google Scholar] [CrossRef]
  35. Li, K.; Fei, M.; Jia, L.; Irwin, G. Life System Modeling and Intelligent Computing: International Conference on Life System Modeling and Simulation, LSMS 2010, and International Conference on Intelligent Computing for Sustainable Energy and Environment, ICSEE 2010, Wuxi, China, September 17–20, 2010, Proceedings, Part II; Springer: Berlin/Heidelberg, Germany, 2010; Volume 6329. [Google Scholar]
  36. Yeh, Z.-M. A cross-coupled bistage fuzzy controller for biaxis servomechanism control. Fuzzy Sets Syst. 1998, 97, 265–275. [Google Scholar] [CrossRef]
  37. Ambuj; Machavaram, R. Intelligent path planning for autonomous ground vehicles in dynamic environments utilizing adaptive Neuro-Fuzzy control. Eng. Appl. Artif. Intell. 2025, 144, 110119. [Google Scholar] [CrossRef]
  38. Roy, N.; Sengupta, A.; Sutradhar, A. An evolutionary optimization-based design of Smith delay compensator for cascade control of MIMO time-delay industrial process. Soft Comput. 2022, 26, 9339–9348. [Google Scholar] [CrossRef]
  39. Nasution, M.K.M.; Salim Sitompul, O.; Budhiarti Nababan, E. Data Science. J. Phys. Conf. Ser. 2020, 1566, 012034. [Google Scholar] [CrossRef]
  40. Zhu, D.; Shi, M.; Wang, Y.; Xue, K.; Liao, J.; Xiong, W.; Kuang, F.; Zhang, S. Path tracking control method for automatic navigation rice transplanters based on VUFC and improved BAS algorithm. Robotica 2023, 41, 3116–3136. [Google Scholar] [CrossRef]
  41. Guan, S.; Wang, Y.; Liu, L.; Gao, J.; Xu, Z.; Kan, S. Ultra-short-term wind power prediction method combining financial technology feature engineering and XGBoost algorithm. Heliyon 2023, 9, e16938. [Google Scholar] [CrossRef]
Figure 1. Structural Layout of a Variable-Domain Fuzzy PID Controller.
Figure 1. Structural Layout of a Variable-Domain Fuzzy PID Controller.
Biomimetics 10 00611 g001
Figure 2. The scaling transformation diagram of the domain.
Figure 2. The scaling transformation diagram of the domain.
Biomimetics 10 00611 g002
Figure 3. Control system with pure lag link.
Figure 3. Control system with pure lag link.
Biomimetics 10 00611 g003
Figure 4. Smith estimation principle diagram.
Figure 4. Smith estimation principle diagram.
Biomimetics 10 00611 g004
Figure 5. Architecture of the fuzzy PID control system.
Figure 5. Architecture of the fuzzy PID control system.
Biomimetics 10 00611 g005
Figure 6. Schematic diagram of dual-input single-output variable domain heading control structure.
Figure 6. Schematic diagram of dual-input single-output variable domain heading control structure.
Biomimetics 10 00611 g006
Figure 7. C.C.Hang Smith estimation model.
Figure 7. C.C.Hang Smith estimation model.
Biomimetics 10 00611 g007
Figure 8. Reduced schematic of the adaptive Smith predictor with improvements.
Figure 8. Reduced schematic of the adaptive Smith predictor with improvements.
Biomimetics 10 00611 g008
Figure 9. (a) Comparison of Smith’s estimated heading under one-second delay; (b) Comparison of Smith’s esti-mated heading under a two-second delay condition.
Figure 9. (a) Comparison of Smith’s estimated heading under one-second delay; (b) Comparison of Smith’s esti-mated heading under a two-second delay condition.
Biomimetics 10 00611 g009
Figure 10. (a) Response curve at 30° without interference; (b) Curve of heading angle change at 30° without interference.
Figure 10. (a) Response curve at 30° without interference; (b) Curve of heading angle change at 30° without interference.
Biomimetics 10 00611 g010
Figure 11. (a) Error curve with interference at 30°; (b) Heading angle change curve under 30° interference.
Figure 11. (a) Error curve with interference at 30°; (b) Heading angle change curve under 30° interference.
Biomimetics 10 00611 g011
Figure 12. (a) Response curve under 60° interference; (b) 60° rudder angle change curve under interference conditions.
Figure 12. (a) Response curve under 60° interference; (b) 60° rudder angle change curve under interference conditions.
Biomimetics 10 00611 g012
Figure 13. (a) S-type path tracking change curve, (b) S-type path tracking error curve.
Figure 13. (a) S-type path tracking change curve, (b) S-type path tracking error curve.
Biomimetics 10 00611 g013
Figure 14. (a) Experimental unmanned boat; (b) Experimental water environment.
Figure 14. (a) Experimental unmanned boat; (b) Experimental water environment.
Biomimetics 10 00611 g014
Figure 15. Course change curve of the experimental ship.
Figure 15. Course change curve of the experimental ship.
Biomimetics 10 00611 g015
Figure 16. (a) Unmanned ship track comparison, (b) Steady-state error comparison.
Figure 16. (a) Unmanned ship track comparison, (b) Steady-state error comparison.
Biomimetics 10 00611 g016
Figure 17. (a) Track curve. (b) Rudder angle change curve.
Figure 17. (a) Track curve. (b) Rudder angle change curve.
Biomimetics 10 00611 g017
Table 1. Literature Review on Key Control Strategies for USV Heading Control.
Table 1. Literature Review on Key Control Strategies for USV Heading Control.
Ref.Authors (Year)QuestionWorkaround
[4]Li et al., (2025)The performance is limited in nonlinear, coupled and time-delay systems, resulting in reduced control accuracy and stability.Propose a method that significantly improves PID (e.g., ITAE/output curve comparison) compared to the same optimizer
[5]Guo et al., (2020)Under uncertain ocean conditions and external disturbances, the performance of the classic Smith predictor degrades significantly.Attempts are made to enhance SP adaptability through adaptive or data-driven modifications and integration with intelligent controllers.
[6]Sariyildiz (2025)The above improved methods are difficult to balance compensation accuracy and real-time robustness in highly dynamic environments.Introducing a unified state space architecture, compatible with ZO/HO DOb, and supporting HP-DOb, and introducing a unified state space architecture, compatible with ZO/HO DOb, and supporting HP-DOb
[7]Cao et al., (2016)The domain of traditional fuzzy PID is usually fixed and difficult to adapt to error changes under different working conditions.Variable universe fuzzy control (VUFC) can adaptively adjust the input and output universe according to the error size.
[8]Lu et al., (2016)Although VUFC exhibits better dynamic performance in nonlinear and time-varying systems, its parameter adjustment still relies on experience and is difficult to achieve global optimization.The existing problems of the VUFC method are pointed out, which leads to the motivation of using optimization algorithm for parameter tuning in this paper.
Table 2. Unmanned ship model data.
Table 2. Unmanned ship model data.
Boat Length/mBoat Width/mBoat Speed/knFull Load Draft/mFull Load Displacement/m3Block Coefficient
7.022.06350.322.730.6976
Table 3. Comparison of different Smith controllers under one-second delay condition.
Table 3. Comparison of different Smith controllers under one-second delay condition.
Control MethodRise Time/sStabilization Time/sOvershootError/10−6
PID20.345.99.7%3.077
V-fuzzyPID22.843.32.6%24.94
S-fuzzyPID26.838.10.3%119.5
Table 4. Comparison of different Smith controllers under two-second delay conditions.
Table 4. Comparison of different Smith controllers under two-second delay conditions.
Control MethodRise Time/sStabilization Time/sOvershootError/10−6
PID22.487.916.7%1278
V-fuzzyPID23.657.18.5%2218
S-fuzzyPID28.537.80.3%83.13
Table 5. Comparison of heading control optimized by different algorithms.
Table 5. Comparison of heading control optimized by different algorithms.
Control MethodRise Time/sStabilization Time/sOvershootError/10−6
PID20.374.59.7%258.9
H-BAS-PID22.970.55.7%33.71
GRO-PID28.276.52.1%3.319
Se-PSO-PID42.277.7026.01
Table 6. Rudder performance indicators of BAS-HSA-GA and other control algorithms at a heading angle of 30°.
Table 6. Rudder performance indicators of BAS-HSA-GA and other control algorithms at a heading angle of 30°.
Control MethodRudder Turning Time/sStabilization Time/sStable Rudder Angle
PID15.6756.8660.1109
Se-PSO-PID6.86661.1370.03717
H-BAS-PID13.04242.5730.04619
GRO-PID10.41447.8130.05379
Table 7. Rudder performance indicators of BAS-HSA-GA and other control algorithms at a heading angle of 90°.
Table 7. Rudder performance indicators of BAS-HSA-GA and other control algorithms at a heading angle of 90°.
Control MethodRudder Turning Time/sStabilization Time/sStable Rudder Angle
PID42.21476.1830.1072
Se-PSO-PID34.13373.750.02175
H-BAS-PID38.53570.5980.01468
GRO-PID36.49873.2920.02872
Table 8. Curve path tracking indicators.
Table 8. Curve path tracking indicators.
Control MethodsIEAITEA
BAS-HAS-GA271.62763.1021
DRL336.77513.5838
ANFC304.35953.2522
ACO360.45393.2120
Table 9. Heading control performance indicators.
Table 9. Heading control performance indicators.
Control MethodsIEAITEA
BAS-HSA-GA305.912254.62
DRL359.873304.06
ANFC382.713564.76
Table 10. BAS-HAS-GA optimal straight line track performance indicators.
Table 10. BAS-HAS-GA optimal straight line track performance indicators.
Control MethodsIEAITEASteady-State Error
BAS-HAS-GA38.0956787.33980.0119
DRL100.84892915.84680.0343
ANFC96.03513134.45090.2207
Table 11. Performance indicators of BAS-HAS-GA optimal straight line obstacle avoidance trajectory.
Table 11. Performance indicators of BAS-HAS-GA optimal straight line obstacle avoidance trajectory.
Control MethodsIEAITEASteady-State Error
BAS-HAS-GA2045.94775,911.43 0.05
DRL2102.06811,113.60 0.33
ANFC2100.02818,123.40 0.46
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhan, S.; Liu, Q.; Zhao, Z.; Zhang, S.; Xu, Y. Advanced Robust Heading Control for Unmanned Surface Vessels Using Hybrid Metaheuristic-Optimized Variable Universe Fuzzy PID with Enhanced Smith Predictor. Biomimetics 2025, 10, 611. https://doi.org/10.3390/biomimetics10090611

AMA Style

Zhan S, Liu Q, Zhao Z, Zhang S, Xu Y. Advanced Robust Heading Control for Unmanned Surface Vessels Using Hybrid Metaheuristic-Optimized Variable Universe Fuzzy PID with Enhanced Smith Predictor. Biomimetics. 2025; 10(9):611. https://doi.org/10.3390/biomimetics10090611

Chicago/Turabian Style

Zhan, Siyu, Qiang Liu, Zhao Zhao, Shen’ao Zhang, and Yaning Xu. 2025. "Advanced Robust Heading Control for Unmanned Surface Vessels Using Hybrid Metaheuristic-Optimized Variable Universe Fuzzy PID with Enhanced Smith Predictor" Biomimetics 10, no. 9: 611. https://doi.org/10.3390/biomimetics10090611

APA Style

Zhan, S., Liu, Q., Zhao, Z., Zhang, S., & Xu, Y. (2025). Advanced Robust Heading Control for Unmanned Surface Vessels Using Hybrid Metaheuristic-Optimized Variable Universe Fuzzy PID with Enhanced Smith Predictor. Biomimetics, 10(9), 611. https://doi.org/10.3390/biomimetics10090611

Article Metrics

Back to TopTop