Professional Documents
Culture Documents
Towards The Testing and Validation of Autonomous Ships: Design of A Variable Stability Ship Control System
Towards The Testing and Validation of Autonomous Ships: Design of A Variable Stability Ship Control System
net/publication/371900388
CITATIONS READS
3 149
4 authors, including:
All content following this page was uploaded by Jialun Liu on 16 September 2023.
Article
Towards the Testing and Validation of Autonomous Ships:
Design of a Variable Stability Ship Control System
Shijie Li 1,2 , Ziqian Xu 2 , Jialun Liu 1,3,4,5, * and Xinjue Hu 1,3,4
1 State Key Laboratory of Maritime Technology and Safety, Wuhan University of Technology,
Wuhan 430063, China; lishijie@whut.edu.cn (S.L.); huxinjue@whut.edu.cn (X.H.)
2 School of Transportation and Logistics Engineering, Wuhan University of Technology, Wuhan 430063, China;
263751@whut.edu.cn
3 Intelligent Transportation Systems Research Center, Wuhan University of Technology, Wuhan 430063, China
4 National Engineering Research Center for Water Transport Safety, Wuhan 430063, China
5 Academician Workstation of China COSCO Shipping Co., Ltd., Shanghai 200135, China
* Correspondence: jialunliu@whut.edu.cn
Abstract: Maritime autonomous surface ships (MASSs) have received increased attention in both
academic research and industrial applications in the global shipping and shipbuilding industry
in recent years. According to its definition, a MASS can independently operate without human
interaction. This brings the problem of how to test and evaluate the capabilities of the autonomous
navigation control system developed for MASS. This paper proposes the novel concept of a variable
stability ship and the design of its control system. A variable stability ship consists of a model-scaled
ship, a model-following controller, and a hardware and software platform to implement its functions.
The variable stability ship can replicate the dynamic responses of different reference ships despite
their dissimilarities in physical parameters and hydrodynamic characteristics with the design of the
model-following controller. Therefore, it can be used to test the performance of different control
strategies on various ship types such that the R&D costs of physical model-based tests can be reduced,
as well as shortening the time spent in developing physical ship models. Preliminary simulations are
carried out to show its effectiveness and applicability.
Keywords: autonomous ships; variable stability ship; testing and validation; sliding mode control
ensure that the variable stability ship follows the states of different reference ships. In other
words, the sailing states and trajectories of the variable stability ship and the reference ship
need to be the same despite their dissimilarities in physical parameters and hydrodynamic
characteristics. This enables the variable stability ship to have the capability to simulate the
maneuverability and dynamic responses of reference ships. Therefore, the variable stability
ship can be used to verify and evaluate the accuracy of different virtual ship models on a
physical model-scaled ship, as well as evaluating the tested control strategies applied on
different virtual ships in an actual environment.
The core function of a variable stability ship is accomplished by the design of the
model-following controller, also referred to as the variable stability controller. The control
task that a variable stability ship needs to complete can be considered a special type of
formation control, whose purpose is to make its output follow the output of a reference
ship that exhibits the desired characteristics. Sliding mode control (SMC) is based on
variable structure systems composed of independent structures of different properties. It
can adapt to system disturbances and model uncertainties [12], and has been successfully
employed in the formation control of both autonomous surface and underwater vehicles
due to its strong robustness and simplicity [12,13]. To pursue faster convergence of tracking
error, SMC with finite-time reachability was investigated [14,15]. This paper combines
finite-time control (FTC) with SMC to construct the variable stability controller to guarantee
its fixed-time stability and adapt to parameter changes and disturbances.
This paper proposes the design of a variable stability ship control system for the testing
and validation of MASSs, which involves the functional design and implementation of its
hardware and software, and the construction of variable stability controller based on SMC
and FTC. It can be used to test the performance of different control strategies on various
ship types so as to reduce the R&D costs of physical model-based tests, as well as shorten
the time spent in developing different physical models. Simulations are carried out to
demonstrate the stability and quality of the variable stability controller, and to investigate
its model-following performance to different reference ships.
The main contribution of this paper is twofold:
• The novel concept of variable stability ship is proposed, which provides new solutions
to the testing and validation of navigational control system of MASSs, especially
in situations with limited experimental conditions. As far as the authors are aware, no
similar published work exists for supporting the functional test problem of MASSs.
• As the most important function of the variable stability ship control system, a variable
stability controller is designed combining FTC and SMC based on model-following
principles.
The rest of the paper is organized as follows. The principles of the variable stability
ship are described in Section 2. Section 3 introduces the design and implementation of the
variable stability ship control system. In Section 4, the steps for constructing a variable
stability controller based on sliding mode control are given. The simulation results are
presented in Section 5. Conclusions and future work are given in Section 6.
Definition 1 (variable stability). It means the ability of a system that can change its dynamic
response without changing its physical properties and allows for adjustments of its response charac-
teristics and maneuverability [10].
Definition 2 (variable stability ship). It refers to a ship that is capable of simulating the dynamic
responses of a range of reference ships via a model-following control strategy.
J. Mar. Sci. Eng. 2023, 11, 1274 4 of 17
Definition 3 (variable stability control). It refers to the control strategy which ensures that the
variable stability ship replicates the sailing states of a reference ship.
The principles of a variable stability ship (VSS) system are illustrated in Figure 1.
Firstly, according to the content of the test, a human operator gives input to the test settings
in the system to define the test scenario. Parameters of wind, current, waves, and system
uncertainties are set to calculate environmental forces based on empirical equations. Then,
the reference ship (RS) type is chosen, and its parameters and hydrodynamic coefficients
are determined. Different control functions, including heading control, path following,
and trajectory tracking, are included in the system. Depending on the control objective
of the test, the control strategy to be tested is applied to the reference ship to complete
its control task, and its output states of surge, sway, and yaw movements over time are
recorded in the system. The control objective of the VSS is to follow the RS output states.
Based on the models of RS and VSS, the error model for states tracking is built, upon which
the model-following controller calculates the control commands and sends them to the
model-scaled ship, which acts as the implemented VSS. In this way, the VSS simulates the
reference ship’s behavior under the tested control strategy in an actual environment so as
to evaluate its control performance.
• Control test. The variable stability ship can perform traditional heading control, path
following, and trajectory tracking control itself. The testing control strategy is also
implemented in its control test function.
• Variable stability control. As the main function, it includes the variable stability control
algorithm that calculates control forces and moments of the VSS, and a control alloca-
tion module to transform the control commands into the actual propeller revolution
speed and rudder angle.
• Virtual model simulation. The models of reference ship and variable stability ship are
implemented, which are maneuvering models that are constructed based on integrated
CFD and empirical methods [16]. They are used to carry out numerical simulations of
ship motions and predict the evolution of ship states.
• Information display and storage. The sensing information includes environmental
forces and ship states. The current status of the VSS propeller and rudder is given,
as well as the control commands generated by the variable stability control function.
The changes in the virtual reference ship are also shown. Moreover, the generated
data in experiments are recorded.
Figure 3 shows the workflow of the variable stability control system. Firstly, the human
tester selects the reference ship type, and inputs the scenario parameter. The RS and VSS states
are initialized. The tested control strategy is applied to the virtual RS, and the RS states are
updated in the VSS control system. Based on the current states of RS and VSS, the error model
is constructed. The variable stability control module calculates the control commands for VSS
to make it follow the RS states. The control commands are applied to the model-scaled ship so
that it simulates RS behavior. Then the RS, variable stability model-scaled ship, and the virtual
J. Mar. Sci. Eng. 2023, 11, 1274 6 of 17
VSS states are updated in the system. By checking whether the termination criteria are satisfied,
the human tester decides whether the procedure continues or finishes.
The hardware of VSS includes its sensing system, shore-based monitoring system,
model-scaled ship design, and VSS controller. A model-scaled ship is designed and built
as the VSS prototype in an actual environment. The sensing system is implemented
with a global navigation satellite system (GNSS) antenna, anemometer, camera, Lidar,
long-range radio (LoRa), ultra-wideband (UWB), and inertial measurement unit (IMU).
The shore-based monitoring system is designed to obtain a more accurate positioning of
the model-scaled ship from the shore-end real-time kinematics (RTK). The VSS controller
receives information regarding the RS and VSS from the sensing system and applies the
control commands output from the variable stability control system to the model-scaled
ship to simulate the behavior of RS.
words, the variable stability controller is implemented in a shore-end laptop and communi-
cates with the ship-end data acquisition board PLC. The PLC controls the motor, and the
driver compares the error between the feedback motor signal from the encoder with the
PLC command and performs closed-loop control of the motor. In this way, the motor drives
the propeller and rudder to execute control commands.
x0
x
O r
v y
φ δ
o 0
y0
Figure 7. Ship coordinate system.
As the multiple degrees of freedom (DOF) model need more control inputs, the surface
ship can be simplified to 3 DOFs. According to [17], it can be described as
(
η̇ = J (ψ)v
(1)
M v̇ = −C (v)v − D (v)v + τ,
where η = [ x, y, ψ]> indicates the position vector ( x, y) and heading angle ψ of the
ship in the earth-fixed coordinate, and v = [u, v, r ]> indicates the velocity vectors (u, v)
and yaw rate r in the body-fixed coordinate. τ = [τu , τv , τr ]> denotes the control in-
puts, which are the surge, sway forces and yaw moments. J (ψ) is a simplified rota-
tion matrix between earth-fixed and body-fixed coordinates, which can be expressed as
cos ψ − sin ψ 0
J (ψ) = sin ψ cos ψ 0 .
0 0 1
It has the property of J > (ψ) J (ψ) = I, J̇ (ψ) = J (ψ)Λ(r ), and that J > (ψ)Λ(r ) J (ψ) =
0 −r 0
Λ(r ), in which Λ(r ) = r 0 0 .
0 0 0
J. Mar. Sci. Eng. 2023, 11, 1274 10 of 17
Matrices M, C (v), and D (v) represent the ship inertia coefficients, the Coriolis and
centripetal matrix, and the damping matrix, separately. To simplify the dynamics of the
ship, these matrices can be determined according to the surge-decoupled system:
m11 0 0
M= 0 m22 m23 ,
0 m32 m33
0 0 c13 (v)
C (v) = 0 0 c23 (v) , (2)
c31 (v) c32 (v) 0
d11 (v) 0 0
D (v) = 0 d22 (v) d23 (v) ,
0 d32 (v) d33 (v)
in which m11 = m − Xu̇ , m22 = m − Yv̇ , m23 = m32 = m − Yṙ , m33 = Iz − Nṙ . It is noted
that m represents ship mass, and Iz represents the moment of inertia around the z-axis.
Parameters Xu̇ , Yṙ and Nṙ are the hydrodynamic coefficients.
Matrix C (v) can be simplified as
c13 (v) = −m22 v − m23 r
c (v) = m u
23 11
(3)
c31 (v) = −c13 (v)
c ( v ) = − c ( v ),
32 23
Consequently,
x = − J (ψ) M −1 (C ( J > (ψ) x)) + D ( J > (ψ) x) J > (ψ) x + Λ(r ) x. (6)
The variable stability control objective is to ensure that the position vectors of both RS
and VSS stay the same. The position error ηe between VSS and RS can be expressed as
ηe = ηV − ηR (7)
J. Mar. Sci. Eng. 2023, 11, 1274 11 of 17
in which ηV and ηR represent the position vectors of VSS and RS, respectively. The deriva-
tives of the error model are obtained as
η̇e = xe
x = J (ψ )v − J (ψ )v
e V V R R
−1
(8)
ẋ e = J ( ψV ) M V τ V + Γ(ηV , xV , ηR , x R )
Γ(η , x , η , x ) = h( x ) − Λ(r ) x − J (ψ ) M −1 (−C (v )v − D (v )v + τ ).
V V R R V R R R R R R R R R
This paper designs the VSS controller based on sliding mode control. Based on the
error model (8), the sliding surface is defined:
Z t
S0 ( t ) = x e + se (µ)dµ (9)
0
se (·) = k1 sigβ1 (ηe ) + k2 sigβ2 ( xe ) (10)
in which se (•) is a function of errors of position and motion vectors defined as integral slid-
ing mode term, 0 < β 1 < 1, β 2 = 2β 1 /(1 + β 1 ), and that sigβ j (•) = Sgn(•)| • | β j (j = 1, 2),
1, a > 0
k1 > 0, k2 > 0. It is noted that the sign function is represented as Sgn( a) = 0, a = 0
−1, a < 0.
The time derivative of (9) is obtained:
−1
Ṡ0 = J (ψV ) M V τ V + Γ(ηV , xV , ηR , x R ) + k1 sigβ1 (ηe ) + k2 sigβ2 ( xe ). (11)
in which λ0 > 0, λ1 > 0, λ2 > 0; p and q are odd integers that satisfy 0 < p < q.
in which y represents the system state, y0 represents the initial system state, α > 0, β > 0, and p
and q are two positive odd numbers. When p < q is satisfied, the system can converge to stability in
a finite time, and the upper bound on the convergence time T has the following properties:
qπ
T ≤ Tmax = p (14)
2 αβ(q − p)
The proof of finite-time convergence and the stability of the controller (12)) is given
as follows.
1 >
V1 = S S0 (15)
2 0
J. Mar. Sci. Eng. 2023, 11, 1274 12 of 17
According to Lemma 1, the system under (12) converges to stability with time:
nπ
T1 = √ (20)
2 a1 a2 ( n1 − m1 )
3q− p p−q
where a1 = λ1 2 2q , a2 = λ2 2 2q and m1 = p + q, n1 = 2q, and m1 < n1 is satisfied.
Moreover, when the control law (12) reaches the sliding surface with time T1 , condi-
0
tions S(t) ≡ 0 and Ṡ (t) ≡ 0 hold. According to Lemma 2, it can be proved that the system
has finite time stability.
5. Simulation Results
This section presents the simulation results of the proposed VSS control strategy,
and the implementation results on a model-scaled ship.
Author Contributions: Conceptualization, S.L. and J.L.; methodology, Z.X.; validation, J.L. and X.H.;
writing—original draft preparation, Z.X.; writing—review and editing, S.L.; visualization, X.H.;
supervision, S.L.; project administration, J.L.; funding acquisition, J.L. All authors have read and
agreed to the published version of the manuscript.
Funding: This research was supported by National Key R&D Program of China (2022YFB4301402),
National Natural Science Foundation of China (62003250, 52272425)
Institutional Review Board Statement: Not applicable.
Informed Consent Statement: Not applicable.
J. Mar. Sci. Eng. 2023, 11, 1274 16 of 17
Data Availability Statement: Data available on request due to restrictions eg privacy or ethical.
Conflicts of Interest: The authors declare no conflict of interest.
Appendix A
References
1. UNCTAD. Review of Maritime Transport; United Nations Conference on Trade and Development: Geneva, Switzerland, 2022.
2. Negenborn, R.R.; Goerlandt, F.; Johansen, T.A.; Slaets, P.; Banda, O.A.V.; Vanelslander, T.; Ventikos, N.P. Autonomous ships are
on the horizon: Here’s what we need to know. Nature 2023, 615, 30–33. [CrossRef] [PubMed]
3. Chua, K.H.; Coutinho, S.; Norahim, A.; Konovessis, D. Development of Recommendations for Digital Testing of MASS Navigation
Safety prior to Sea Trials. J. Phys. Conf. Ser. 2022, 2311, 012025.
4. Yang, F.; Liu, J.; Li, S.; Ma, F. Virtual-Real Interaction Tests for Functional Testing of Smart Ships. In Proceedings of the 30th (2020)
International Ocean and Polar Engineering Conference, ISOPE-I-20-4265, Shanghai, China, 11–16 October 2020
5. Pedersen, T.A.; Glomsrud, J.A.; Ruud, E.L.; Simonsen, A.; Sandrib, J.; Eriksen, B.O.H. Towards simulation-based verification of
autonomous navigation systems. Saf. Sci. 2020, 129, 104799.
6. Porres, I.; Azimi, S.; Lilius, J. Scenario-based Testing of a Ship Collision Avoidance System. In Proceedings of the 2020 46th Euromicro
Conference on Software Engineering and Advanced Applications (SEAA), Portorož, Slovenia, 26–28 August 2020; pp. 545–552.
7. Hwang, T.; Youn, I.H. Navigation Situation Clustering Model of Human-Operated Ships for Maritime Autonomous Surface Ship
Collision Avoidance Tests. J. Mar. Sci. Eng. 2021, 9, 1458. [CrossRef]
8. Lazarowska, A. Verification of a Deterministic Ship’s Safe Trajectory Planning Algorithm from Different Ships’ Perspectives and
with Changing Strategies of Target Ships. TransNav Int. J. Mar. Navig. Saf. Sea Transp. 2021, 15, 623–628.
9. Wang, L.; Li, S.; Liu, J.; Hu, Y.; Wu, Q. Design and implementation of a testing platform for ship control: A case study on the
optimal switching controller for ship motion. Adv. Eng. Softw. 2023, 178, 103427.
10. Park, S.; Ko, J.S. Design of a Variable Stability Flight Control System. Int. J. Aeronaut. Space Sci. 2008, 9, 162–168. [CrossRef]
11. Scholten, P.; Van Paassen, M.M.; Chu, Q.; Mulder, M. Variable Stability In-Flight Simulation System Based on Existing Autopilot
Hardware. J. Guid. Control. Dyn. 2020, 43, 1–14. [CrossRef]
12. Wang, J.; Wang, C.; Wei, Y.; Zhang, C. Sliding mode based neural adaptive formation control of underactuated AUVs with
leader-follower strategy. Appl. Ocean Res. 2020, 94, 101971.
13. You, X.; Yan, X.; Liu, J.; Li, S.; Negenborn, R.R. Adaptive neural sliding mode control for heterogeneous ship formation keeping
considering uncertain dynamics and disturbances. Ocean Eng. 2022, 263, 112268.
J. Mar. Sci. Eng. 2023, 11, 1274 17 of 17
14. Wang, N.; Deng, Z. Finite-Time Fault Estimator Based Fault-Tolerance Control for a Surface Vehicle With Input Saturations. IEEE
Trans. Ind. Inform. 2020, 16, 1172–1181. [CrossRef]
15. Wang, N.; Li, H. Leader–follower formation control of surface vehicles: A fixed-time control approach. ISA Trans. 2022, 124, 356–364.
[PubMed]
16. Lu, S.; Cheng, X.; Liu, J.; Li, S.; Yasukawa, H. Maneuvering modeling of a twin-propeller twin-rudder inland container vessel
based on integrated CFD and empirical methods. Appl. Ocean Res. 2022, 126, 103261.
17. Fossen, T.I. Handbook of Marine Craft Hydrodynamics and Motion Control; John Wiley & Sons: Hoboken, NJ, USA, 2011.
18. Abooee, A.; Mehrizi, M.H.; Arefi, M.M.; Yin, S. Finite-time sliding mode control for a 3-DOF fully actuated autonomous surface
vehicle. Trans. Inst. Meas. Control 2021, 43, 371–389.
19. Fossen, T.; Sagatun, S.; Sørensen, A. Identification of dynamically positioned ships. Control Eng. Pract. 1996, 4, 369–376. [CrossRef]
20. Pedersen, A.A. Optimization based System Identification for the milliAmpere Ferry. Ph.D. Thesis, Norwegian University of
Science and Technology, Trondheim, Norway, 2019.
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.