Next Article in Journal
Unsupervised Classification of Global Temperature Profiles Based on Gaussian Mixture Models
Next Article in Special Issue
Networked Predictive Trajectory Tracking Control for Underactuated USV with Time-Varying Delays
Previous Article in Journal
Mechanisms of the Effect of Starvation Duration on the Regulation of Feeding Rhythm and Metabolic Physiology of Cultured Large Yellow Croaker (Larimichthys crocea)
Previous Article in Special Issue
Reliable, Energy-Optimized, and Void-Aware (REOVA), Routing Protocol with Strategic Deployment in Mobile Underwater Acoustic Communications
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Advanced Control for Shipboard Cranes with Asymmetric Output Constraints

by
Mingxuan Cao
1,
Meng Xu
1,
Yongqiao Gao
1,
Tianlei Wang
1,*,
Anan Deng
2,* and
Zhenyu Liu
3
1
School of Mechanical and Automation Engineering, Wuyi University, Jiangmen 529020, China
2
College of Electronics and Information Engineering, Beibu Gulf University, Qinzhou 535000, China
3
School of Information Engineering, Guangdong University of Technology, Guangzhou 510006, China
*
Authors to whom correspondence should be addressed.
J. Mar. Sci. Eng. 2025, 13(1), 91; https://doi.org/10.3390/jmse13010091
Submission received: 11 December 2024 / Revised: 31 December 2024 / Accepted: 3 January 2025 / Published: 6 January 2025
(This article belongs to the Special Issue Advanced Control Strategies for Autonomous Maritime Systems)

Abstract

:
Considering the anti-swing control and output constraint problems of shipboard cranes, a nonlinear anti-swing controller based on asymmetric barrier Lyapunov functions (BLFs) is designed. First, model transformation mitigates the explicit effects of ship roll on the desired position and payload fluctuations. Then, a newly constructed BLF is introduced into the energy-based Lyapunov candidate function to generate nonlinear displacement and angle constraint terms to control the rope length and boom luffing angle. Among these, constraints with positive bounds are effectively handled by the proposed BLF. For the swing constraints of the unactuated payload, a carefully designed relevant constraint term is embedded in the controller by constructing an auxiliary signal, and strict theoretical analysis is provided by using a reductio ad absurdum argument. Additionally, the auxiliary signal effectively couples the boom and payload motions, thereby improving swing suppression performance. Finally, the asymptotic stability is proven using LaSalle’s invariance principle. The simulation comparison results indicate that the proposed method exhibits satisfactory performance in swing suppression control and output constraints. In all simulation cases, the payload swing angle complies with the 3° constraint and converges to the desired range within 6 s. This study provides an effective solution to the control challenges of shipboard crane systems operating in confined spaces, offering significant practical value and applicability.

1. Introduction

Shipboard cranes are essential in marine engineering, with broad applications in the construction and maintenance of offshore facilities [1], offshore resupply operations [2], and the loading and unloading of cargo on ships [3]. However, due to the complex dynamic characteristics of the system and harsh working conditions at sea, manual operation suffers from low efficiency and poor control precision. This fact has led to an urgent demand for the automated control of shipboard cranes, driving significant advancements in the field. Crane systems represent a class of underactuated systems where the number of control inputs is less than the number of outputs. They exhibit highly nonlinear and strongly coupled characteristics, posing considerable challenges to the design of automatic control methods [4,5]. Although substantial progress has been made in controlling land-based cranes [6,7,8,9,10,11,12,13,14], these methods cannot be directly or effectively applied to shipboard cranes. The added complexity of ship motion significantly increases the system’s dynamic complexity and internal coupling. Furthermore, the persistent disturbances caused by ocean waves and currents adversely affect the precise transportation of payloads and the suppression of swing.
In recent years, shipboard cranes have garnered significant attention in the control field, leading to many notable achievements [15]. The control methods explored in these studies can be broadly categorized into sliding mode control (SMC) [16,17,18], energy-based control [19,20,21], fuzzy logic [22,23], neural network control [24,25], and optimization-based control [26,27], among others. For instance, Kim et al. [18] proposed an adaptive SMC using the dynamics of shipboard cranes, demonstrating satisfactory disturbance rejection performance. Lu et al. [19] designed a nonlinear energy-based control method for shipboard cranes, incorporating the effects of both ship roll and heave motions. Unfortunately, existing studies rarely consider or effectively address the issue of output constraints, leaving a critical gap in developing advanced control strategies for shipboard boom cranes.
In practice, the limited workspace or stringent operational requirements often impose constraints on both actuated and unactuated output variables of crane systems, ensuring they remain within appropriate ranges [28]. For instance, the rope length must always remain positive and constrained within a specific range to prevent collisions during transportation. Furthermore, given the instability of the ship’s base and the relatively narrow workspace, it is crucial to ensure precise payload positioning while limiting payload swings to avoid accidents. Limiting payload swings can also effectively enhance system efficiency and reduce energy consumption. To address output constraints in underactuated systems, Li et al. [29] and Lu et al. [30] investigated the constraints on actuated variables. However, their studies neglected the more complex issue of constraints on unactuated states. Although Qian et al. [31] considered constraints on unactuated states, the designed controller theoretically only limited the payload swing angle within a conservative bounded range of (−π/2,π/2). Furthermore, Wang et al. [32] successfully constrained both the actuated and underactuated states within their respective predefined ranges, thereby ensuring limited overshoot and effective swing suppression performance. However, this method can only impose symmetric constraints on output states. In practice, some constraints are asymmetric, and some even share the same sign, such as positive rope length. Given the harsh working environment of shipboard cranes, these issues require urgent attention and are expected to be effectively addressed to ensure the reliability, efficiency, and safety of maritime transportation operations.
Based on the above discussion, this paper proposes a nonlinear anti-swing control method based on barrier Lyapunov functions (BLFs). First, to ensure the asymptotic stability of the closed-loop system, a controller based on the energy method is constructed. Then, to meet more precise practical output constraint requirements, the paper modifies and extends the symmetric BLF [28] to propose an asymmetric BLF to handle output constraints. For the constraint of the unactuated states, an auxiliary signal is cleverly constructed to embed the relevant constraint terms into the controller. Additionally, to enhance the anti-swing performance, this auxiliary signal fully couples the movement of the boom and the payload. The main advantages of this method are as follows:
  • Due to unforeseen disturbances such as persistent waves, the ship’s motion can significantly amplify the crane’s cargo swing during operation. Therefore, this paper designs the controller and conducts theoretical analysis using the original complex nonlinear dynamic model to ensure more reliable performance.
  • This method achieves asymmetric motion constraints for the boom and rope by appropriately modifying conventional symmetric barrier functions, ensuring the validity of the rope length under the same sign constraints. For the swing constraints of the unactuated payload, unlike traditional approaches, the proposed method introduces an auxiliary signal to embed the relevant constraint terms into the controller, supported by rigorous theoretical analysis through proof using a reductio ad absurdum argument. Consequently, in contrast to most existing crane-related studies [14,15,16,17,18,19,20,21,22,23,24], which assume the swing angle is confined within a conservative range of (−π/2, π/2), the proposed method removes this assumption. Instead, it flexibly constrains the swing angle within a reasonable range according to practical requirements, making it more adaptable and effective for cargo loading, unloading, and transportation tasks.
  • Moreover, the proposed auxiliary signal ingeniously integrates information such as boom luffing velocity and payload swing angle-related information, demonstrating superior swing suppression capabilities compared to existing methods. Theoretical analysis and simulation results further verify that the proposed method can accurately position the payload and effectively limit its swing amplitude, which is of significant importance for the challenging operational environment of shipboard cranes.
The remainder of this paper is organized as follows: The “Section 2” explicitly presents the dynamic equations for the shipboard boom crane, its model transformation procedure, and the primary control objectives. Next, the “Section 3” explains the controller design approach and the asymptotic stability. Subsequently, the “Section 4” verifies the effectiveness of the suggested controller through numerical simulation and related analysis. Finally, the “Section 5” provides some concluding remarks.

2. Problem Statement

2.1. Dynamics for Shipboard Boom Cranes

Figure 1 shows a schematic illustration of the shipboard boom crane system, featuring two coordination systems: the ground-fixed coordination system y g - O - z g and the ship-fixed coordination system y s - O - z s . The system’s variables and parameters are listed in Table 1. The corresponding dynamic equation is given as follows [30]:
M ( q ) q ¨ + C ( q , q ˙ ) q ˙ + G ( q ) = u + τ d
where q = [ α l θ ] 3 is the state vector, M ( q ) 3 × 3 and V ( q , q ˙ ) 3 × 3 denote the inertia and centripetal-Coriolis matrices, respectively, G ( q ) 3 represents the gravity vector, and u = [ u b u l 0 ] 3 and τ d 3 represent the control input vector and perturbation vector, respectively. All elements contained in aforesaid matrices and vectors are given as
M = J + m c b 2 m c b C θ α m c b l S θ α m c b C θ α m c 0 m c b l S θ α 0 m c l 2 ,
C = 0 m c b S θ α θ ˙ c 13 m c b S θ α α ˙ 0 m c l θ ˙ m c b l C θ α α ˙ m c l θ ˙ m c l l ˙ ,
G = [ ( m c b + m d ) g C α φ , m c g C θ φ , m c g l S θ φ ] ,
τ = ( J + m c b 2 + m c b l S θ α ) φ ¨ + 2 m c b l ˙ S θ α φ ˙ m c b l C θ α ( φ ˙ 2 2 θ ˙ φ ˙ ) m c l ( φ ˙ 2 2 θ ˙ φ ˙ ) + m c b S θ α ( φ ˙ 2 2 α ˙ φ ˙ ) m c b C θ α φ ¨ m c l ( b S θ α + l ) φ ¨ + m c b l C θ α ( φ ˙ 2 2 α ˙ φ ˙ ) + 2 m c l l ˙ φ ˙ τ r ( θ ˙ φ ˙ ) ,
where c 13 = m b ( S θ φ l ˙ + l C θ φ θ ˙ ) , τ r + represents the damping coefficient. In addition, the symbols S x y and C x y ( x , y = α , β , φ ) represent functions sin ( x y ) and cos ( x y ) , respectively.
As illustrated in Figure 1, the desired position of the payload in the coordination system y g - O - z g can be calculated as follows:
y d = b cos ( α d φ ) + l d sin ( θ d φ ) , z d = b sin ( α d φ ) l d cos ( θ d φ ) ,
where α d , θ d , and l d represent the desired boom luffing angle, rope length, and payload swing angle, respectively. To eliminate the payload swing, we need θ d = φ ( t ) . Therefore, we can derive the following:
α d = φ + a r c cos ( y d b ) , l d = b 2 y d 2 z d , θ d = φ .
It can be observed that α d , θ d , and l d are time-varying, which poses significant challenges in controller design. In order to simplify the subsequent analysis and calculations, new output states are defined as follows:
η = [ η 1 η 2 η 3 ] = [ α φ l θ φ ] .
Together with Equations (7) and (8), the new states’ desired values can be expressed as follows:
η 1 d = arccos ( y d b ) , η 2 d = b 2 y d 2 z d , η 3 d = 0 .
As shown in (9), the newly defined states eliminate the ship’s roll angle from (6), simplifying the subsequent analysis and calculations. Correspondingly, Equations (1)–(5) can be transformed into the following:
M ( η ) η ¨ + C ( η , η ˙ ) η ˙ + G ( η ) = u + τ d n
M = J + m c b 2 m c b C 1 3 m c b η 2 S 1 3 m c b C 1 3 m c 0 m c b η 2 S 1 3 0 m c l 2 ,
C = 0 m c b S 1 3 η ˙ 3 c n 13 m c b S 1 3 η ˙ 1 0 m c η 2 η ˙ 3 m c b η 2 C 1 3 η ˙ 1 m c η 2 η ˙ 3 m c η 2 η ˙ 2 ,
G = [ ( m c b + m d ) g C 1 , m c g C 3 , m c g l S 3 ] ,
τ d n = 0 0 τ r η ˙ 3 ,
where c n 13 = m b ( S 1 3 η ˙ 2 + η 2 C 1 3 η ˙ 3 ) , and the symbols S i j , C i j , S i , and C i ( i , j = 1 , 2 , 3 ) represent functions sin ( η i η j ) , cos ( η i η j ) , sin ( η i ) , and cos ( η i ) , respectively.
It can be verified that M ( η ) in Equation (11) has the following property [27]:
x 1 2 M ˙ ( η ) C ( η , η ˙ ) x = 0 , x 3 .
In practice, the initial values of the new state variables are within the preset ranges, i.e.,
π 2 < m 1 < η 1 ( 0 ) < M 1 < π 2 ,   0 < m 2 < η 2 ( 0 ) < M 2 , π 2 < m 3 < η 3 ( 0 ) < M 3 < π 2 ,
where M i , m i , i = 1 , 2 , 3 represent the states’ allowable minimum and maximum values, respectively. For instance, m 2 and M 2 denote the permissible shortest and longest cable lengths greater than zero to comply with practical operational requirements.

2.2. Control Objective

For the shipboard crane system (10), we aim to design an appropriate controller u to achieve the following objectives:
In the fixed ground coordinate system, transport the payload from its initial position to its desired position while eliminating residual payload swing, that is, make the new output state vector η converge to its desired value η d , which is expressed as follows:
lim t η 1 = η 1 d ,   lim t η 2 = η 2 d ,   lim t η 3 = η 3 d .
Considering the operational safety, limited workspace, and other specific requirements, the system’s new output state vector η is constrained within the preset range throughout the operation, which can be described as follows:
π 2 < m 1 < η 1 ( t ) < M 1 < π 2 , 0 < m 2 < η 2 ( t ) < M 2 , π 2 < m 3 < η 3 ( t ) < M 3 < π 2 , t 0 .

3. Controller Design and Stability Analysis

In this section, we propose a novel and efficient controller to achieve the objectives above, and we rigorously validate its effectiveness through theoretical analysis.

3.1. Controller Design

First, using Equations (9) and (17), we introduce the following error signals:
e 1 = η 1 η 1 d ,   e 2 = η 2 η 2 d ,   e 3 = η 3 η 3 d = η 3 ,
and correspondingly,
e ˙ 1 = η ˙ 1 ,   e ˙ 2 = η ˙ 2 ,   e ˙ 3 = η ˙ 3 .
Second, we construct the storage energy of the shipboard crane system as
E = 1 2 q ˙ Μ ( η ) q ˙ + m c g l [ 1 cos ( θ ) ] ,
and based on this, we replace q , l , and θ in Equation (21) with η , η 2 , and η 3 , respectively, to obtain the following storage function:
E 0 = 1 2 η ˙ Μ ( η ) η ˙ + m c g η 2 [ 1 cos ( η 3 ) ] .
Then, differentiating E 0 in Equation (22) produces
E ˙ 0 = η ˙ [ Μ ( η ) η ¨ + C ( η , η ˙ ) η ˙ ] + η ˙ [ 1 2 Μ ˙ ( η ) C ( η , η ˙ ) ] η ˙ + m c g η ˙ 2 [ 1 cos ( η 3 ) ] + m c g η 2 sin ( η 3 ) η ˙ 3 ,
and based on the property (15) and the system model (10), we obtain
E ˙ 0 = η ˙ [ u + τ d n G ( η ) ] + m c g η ˙ 2 [ 1 cos ( η 3 ) ] + m c g η 2 sin ( η 3 ) η ˙ 3 .
Substituting (13) and (14) into (24) yields
E ˙ 0 = [ u b ( m c b + m d ) g C 1 ] η ˙ 1 + ( u l + m c g ) η ˙ 1 τ r η ˙ 3 2 .
To effectively constrain the output states, we establish the following auxiliary signals:
r b ( e 1 ) = e 1 log [ ( η 1 m 1 ) / ( M 1 η 1 ) ] { ( M 1 m 1 ) e 1 / [ ( η 1 m 1 ) ( M 1 η 1 ) ] + log [ ( η 1 m 1 ) / ( M 1 η 1 ) ] } ,
r l ( e 2 ) = e 2 log [ ( η 2 m 2 ) / ( M 2 η 2 ) ] { ( M 2 m 2 ) e 2 / [ ( η 2 m 2 ) ( M 2 η 2 ) ] + log [ ( η 2 m 2 ) / ( M 2 η 2 ) ] } ,
r u ( η 3 ) = log [ ( η 3 m 3 ) / ( M 3 η 3 ) ] ,
where r b , r l , and r u represent the constraint terms for the new states: the boom luffing angle η 1 , the rope length η 2 , and the underactuated payload swing angle η 3 , respectively. Here, log stands for natural logarithm function.
In general, appropriately enhancing the dynamic coupling between the boom and payload facilitates damping injection, and one potential method to achieve this is to combine them into a composite signal [9]. Therefore, based on (28), we construct the following new composite signal:
r ψ ( η ˙ 1 , η 3 , η ˙ 3 ) = k r 3 [ r u + sin ( η 3 ) + cos ( η 3 ) η ˙ 3 ] + k a η ˙ 1
where k r 3 and k a are positive constants.
Therefore, in order to effectively constrain the system motion and utilize the designed coupling characteristics (29) to improve the system transient performance, we designed the following controller, and the corresponding control scheme diagram is shown in Figure 2.
u b = k p 1 e 1 k d 1 η ˙ 1 + ( m c b + m d ) g C 1 k r 1 r b r ψ ϖ , u l = k p 2 e 2 k d 2 η ˙ 2 m c g k r 2 r l ,
with
  ϖ ˙ = ϖ + r ψ η ˙ 1 ,
where k p 1 , k d 1 , k p 2 , k d 2 , k r 1 , k r 2 + are positive control gains to be adjusted.
Note that the controller proposed in (30) does not exhibit any singularities, as will be demonstrated in the subsequent Stability Analysis.
Remark 1.
This paper proposes a novel barrier function to address the issue of asymmetric output constraints in nonlinear systems, such as the constraint on the boom luffing angle in (26), the constraint on cable length in (27), and the constraint on the underactuated payload’s swing angle in (29). Notably, unlike conventional approaches to handling underactuated state constraints [28,32], this study embeds the relevant constraint term (29) into the controller by constructing an auxiliary signal (31), which significantly simplifies the complexity of controller design and provides valuable insights for designing controllers and applying them in practice in future work. Moreover, the constructed auxiliary signal intentionally strengthens the dynamic coupling between the boom and payload, further enhancing the damping effect on the payload swing.
Remark 2.
Based on the tuning guidelines of PID controllers, the control gains kp1, kd1, kp2, and kd2 can be appropriately selected. Additionally, kr1, kr2, kr3, and ka, associated with the auxiliary constraint terms, can be selected as small positive values through a straightforward trial-and-error approach.

3.2. Stability Analysis

Theorem 1.
Under the continuous ship movement induced by ocean wave effects, the proposed controller (30) ensures that the system satisfies the constraints in (18) and achieves the control objective described in (17).
Proof of Theorem 1.
Based on (22), we choose
V = E 0 + 1 2 k p 1 e 1 2 + + 1 2 ϖ 2 + 1 2 k p 2 e 2 2 + 1 2 k r 1 { log [ ( η 1 m 1 ) / ( M 1 η 1 ) ] e 1 } 2 + 1 2 k r 2 { log [ ( η 2 m 2 ) / ( M 2 η 2 ) ] e 2 } 2 .
Then, take the time derivative of (32) and consider (25) to obtain
V ˙ = [ u b + k p 1 e 1 ( m c b + m d ) g C 1 + k r 1 r b ] η ˙ 1 + [ u l + m c g + k p 2 e 2 + k r 2 r l ] η ˙ 2 τ r η ˙ 3 2 + ϖ ϖ ˙ .
By substituting the results of (30) and (31) into (33), one can yield that
V ˙ = k d 1 η ˙ 1 2 ϖ 2 k d 2 η ˙ 2 2 τ r η ˙ 3 2 .
Obviously,
V ˙ 0 .
Hence, we can confirm
V ( t ) V ( 0 ) + .
Furthermore, we can prove the following two items through (36):
  • Assume that η 1 or η 2 reach its preset upper or lower limit at time T . In this case, the logarithmic terms corresponding to these states in V would approach infinity, leading to V ( T ) being infinite. This conclusion contradicts the result (36). Using a reductio ad absurdum argument, the states η 1 and η 2 are always able to comply with their constraints, that is,
    π 2 < m 1 < η 1 < M 1 < π 2 ,   0 < m 2 < η 2 < M 2
  • Assuming that η 3 violates any constraint within a very small adjacent time t [ T 1 , T 2 ] , referring to (28) and (29), r ψ will be infinite. And for t [ T 1 , T 2 ] , the solution of the differential Equation (31) is
ϖ ( T 2 ) = ϖ ( T 1 ) e ( T 2 T 1 ) + T 1 T 2 r ψ ( ρ ) η ˙ 1 ( ρ ) e ( T 2 ρ ) d ρ , a s   η 3 m 3   o r   M 3 ,
which contradicts the result (36). Once again, using a reductio ad absurdum argument, the state variable η 3 is always able to comply with its constraints, that is,
π 2 < m 3 < η 3 < M 3 < π 2
Considering the results of (37) and (39), the new state vector η always satisfies its preset constraints, i.e., the objective described in (18). These results also show that the proposed controller will not have singularities and
V 0
From (36) to (40), we can easily observe that
V ( t ) L η ˙ 1 , η ˙ 2 , η ˙ 3 , e 1 , e 2 , e 3 , log [ ( η 1 m 1 ) / ( M 1 η 1 ) , log [ ( η 2 m 2 ) / ( M 2 η 2 ) , ϖ L .
Then, according to the controller formulas expressed in (26)–(30), we can infer
u b , u l L
Substituting the results of (41) and (42) into formula (10), we obtain
η ¨ 1 , η ¨ 2 , η ¨ 3 L
Next, we discuss the stability of system (10) with the controller (30) by using the LaSalle invariance theorem [33]. Let Φ be the largest invariant set in Ξ , where
Ξ = { η , η ˙ | V ˙ = 0 } .
Then, from the results of (34) and (35), one can conclude that in Φ ,
η ˙ 1 , η ˙ 2 , η ˙ 3 , ϖ = 0 η ¨ 1 , η ¨ 2 , η ¨ 3 = 0 .
Substituting (45) into (10) and using the results of (13), (14), and (30), we obtain
k p 1 e 1 k r 1 r b ( e 1 ) = 0 e 1 = 0 , k p 2 e 2 k r 2 r l ( e 2 ) = m c g ( 1 C 3 ) , m c g l S 3 = 0 .
According to the result of (39) and the property of the sine function, we can infer that
S 3 = 0 η 3 = 0 , e 3 = 0 .
Hence,
k p 2 e 2 k r 2 r l ( e 2 ) = m c g ( 1 C 3 ) = 0 e 2 = 0 .
From Equations (45)–(48), it can be concluded that the largest invariant set Ξ consists solely of the equilibrium point. Hence, states η and η ˙ converge asymptotically to their desired values. Finally, by combining the results of (37) and (39), Theorem 1 is proved. □

4. Simulation Results

To verify the effectiveness and evaluate the performance of the proposed controller in (30), we set up three simulations based on the MATLAB/Simulink R2014b platform (MathWorks, Natick, MA, USA). The solver was set to ODE3 (Bogacki-Shampine) with a fixed step size of 5 ms. The simulations were run on a computer equipped with an Intel(R) Core(TM) i7-12700H CPU (Intel Corporation, Santa Clara, CA, USA) operating at 2.30 GHz, 16 GB of RAM, an NVIDIA GeForce RTX 3060 Laptop GPU (NVIDIA Corporation, Santa Clara, CA, USA) with 6 GB of VRAM, and the Microsoft Windows 11 operating system (Microsoft Corporation, One Microsoft Way, Redmond, WA, USA).
Figure 3 illustrates the control scheme implemented in the MATLAB/Simulink simulation platform. The detailed implementation of the theoretical model (10)–(14) is located in the lower-right corner of the figure. The entire control scheme utilizes built-in Simulink library blocks, including the “Integrator”, “Derivative”, “Constant”, “In1”, “Out1”, “Demux”, “MATLAB Function”, “Gain”, “Product”, and “Sum”.
In the simulations, to thoroughly verify the effectiveness and performance of the proposed controller, we selected the existing advanced nonlinear anti-swing controllers [30,32] for shipboard boom cranes as benchmarks. Among them, the energy-based controller [30] is similar to PD control and has typical control performance, so the comparison results can intuitively reflect the control effect of the proposed controller; the controller with output constraints [32] has the ability to process symmetrical constraints of output states, which is in sharp contrast to the asymmetric output constraints processing ability of the proposed controller, thereby further verifying the advantage of the proposed controller in constraints processing and the transient performance improvement effect brought by this advantage. For the convenience of description, we denote the energy-based controller [30] as EBC, the controller with output constraints [32] as OCC, and the proposed controller as PC.
To facilitate the analysis of the simulation results, we first define the following performance indicators:
  • t p : The time required for the positioning error of the rope length to converge within the range of ( 0.004   m , 0.004   m )
  • η 3 max : The payload swing amplitude’s peak value during the control process.
  • t c : The time required for the payload swing angle to converge within the range of ( 0.04 ° , 0.04 ° )
Group 1.
Performance Comparison. To intuitively reflect the performance of the proposed controller (28), we compare it with EBC and OCC without any disturbances. The simulation parameters are set as follows:
The main physical parameters of the shipboard crane system are as follows:
m c = 1.0   kg ,   b = 0 . 9   m ,   m d = 4 . 0   kg m , J = 2 . 7   kg m 2 , g = 9.8 ,   τ r = 0.05 .
The initial values and desired values of the new states are as follows:
η 1 ( 0 ) = 0   deg , η 2 ( 0 ) = 0.1   m ,   η 3 ( 0 ) = 0 , η 1 d = 55   deg ,   η 2 d = 0.7   m ,   η 3 d = 0   deg .
The state constraints are as follows:
η 1 ( 55   deg ,   60   deg ) ,   η 2 ( 0.1   m ,   0 . 9   m ) , η 3 ( 3   deg ,   3   deg ) .
To ensure the results are comparable when tuning the controller gains, we first ensure the convergence of all states; then, we adjust the convergence times of η 1 and η 2 in all three controllers to be similar without intentionally introducing overshoot; finally, we focus on comparing the convergence performance of η 3 and the controllers’ output constraint capabilities. After careful tuning, the nominal control parameters of PC, EBC, and OCC are selected, as shown in Table 2.
The simulation results for Group 1 are shown in Figure 4, with the corresponding quantified results provided in Table 3. It can be observed that all controllers drive the new states to converge asymptotically to their desired values without violating the preset constraints during the process, and neither the boom luffing angle nor the rope length experiences overshooting. Based on the performance indicators, the proposed controller demonstrates superior control performance compared to both the EBC and OCC. Specifically, when the boom luffing angle and rope length converge nearly simultaneously in all controllers, the proposed controller achieves the smallest maximum payload swing angle, which is 1 ° . Additionally, the payload swing angle is rapidly suppressed, converging to its desired range in the shortest time of 5.7   s , with no residual swing observed. In contrast, the maximum load swing angle under OCC control and EBC control is larger for both, and the time they take to converge the payload swing angle to its desired range is longer for both. Particularly, the time EBC takes is more than 16   s , mainly because it relies on natural damping to eliminate residual swing since the controller does not contain load swing angle information. This fact also reflects the advantages of the auxiliary signal constructed in this paper. It not only introduces the swing angle-related constraint term to ensure the asymmetric constraint and thus improve the transient performance but also cleverly couples the boom amplitude change speed and many swing angle-related information to further improve the coordinated control capability.
Group 2.
Robustness Comparison. To verify the proposed controller’s robustness, we conduct simulations under the following two transport cases.
Case 1: Changes in payload mass. Varying payload mass is a common challenge in shipboard crane operations. To verify the effectiveness and robustness of the proposed controller under this condition, we change the payload mass to M = 3 kg before simulation while keeping the nominal control parameters and other system parameters unchanged.
Case 2: Changes in initial and desired states. Shipboard cranes sometimes face continuous operational tasks, where the system’s initial state and desired values may change between different tasks. To verify the effectiveness and robustness of the proposed controller under this condition, we will change the initial and desired values of the states before simulation. Specifically, the nominal control parameters and system parameters remain consistent with those in Group 1, and the desired values of the states set in the previous simulation are taken as the initial values of the states in this simulation, i.e.,
η 1 ( 0 ) = 55   deg ,   η 2 ( 0 ) = 0.7   m ,   η 3 ( 3 ) = 0   deg ,
then set the desired values of the states to
η 1 d = 35   deg ,   η 2 d = 0.3   m ,   η 3 d = 0   deg
The robustness performance of the PC is shown in Figure 5 and Figure 6, with the quantitative data provided in Table 4 and Table 5. From the comparison between Figure 4 and Figure 5, it is evident that changes in the payload mass have almost no impact on the control performance of the PC, particularly in terms of swing suppression, where the relevant performance indicators in Table 3 and Table 4 are nearly identical. Additionally, compared to the EBC and OCC, the PC maintains a leading advantage in anti-swing performance. Figure 6 and Table 5 show that even when the initial and desired values of the states change, the PC still demonstrates satisfactory control performance. All state variables converge quickly, and in terms of suppressing the payload’s swing angle, PC significantly outperforms EBC and OCC. The payload swing angle converges to its desired range in the fastest time of 3.3   s , with no residual swing, and the maximum swing amplitude is limited to 2.7 ° . In contrast, the control performance of OCC and EBC declines progressively. Specifically, regarding the control of the payload swing angle, OCC adheres to the predetermined constraints, but the convergence time is slower than the proposed controller’s. EBC, on the other hand, not only severely violates the predetermined constraints, with the maximum swing amplitude reaching about twice the upper limit, but also takes the longest time for the payload swing angle to converge to its expected range.
Group 3.
Stricter Constraints. In practical applications, due to factors such as inertia and friction, the payload swing angle often has an initial non-zero value, which presents a challenge for improving control performance. In this scenario, the preset constraints must still be satisfied to ensure operational safety and enhance transport efficiency. Therefore, we further tightened all output constraints under non-zero initial conditions to verify the proposed controller’s strong performance in handling output constraints.
Therefore, we set the system’s initial conditions as
η 1 ( 0 ) = 35   deg ,   η 2 ( 0 ) = 0.3   m ,   η 3 ( 3 ) = 1   deg
and the states’ desired values as
η 1 d = 50   deg ,   η 2 d = 0.6   m ,   η 3 d = 0   deg .
The stricter constraints are
η 1 ( 30   deg ,   51   deg ) , η 2 ( 0.2   m ,   0 . 7   m ) , η 3 ( 2   deg ,   2   deg ) .
Apart from adjusting the parameters related to constraints, such as M i , m i , i = 1 , 2 , 3 in the PC controller and   δ η 1 ,   η 3 r in the OCC controller according to the constraints, other control parameters and system parameters remain unchanged.
Group 3′s simulation results and their quantified data are shown in Figure 7 and Table 6, respectively. In terms of cable length control, the performance of all three controllers is nearly identical. However, in the control of the other two states, the proposed controller demonstrates clear advantages. Specifically, both the boom luffing angle and payload swing angle converge to their desired values in the shortest time, and under non-zero initial conditions, the maximum payload swing angle not only satisfies the contracted constraints but also achieves the smallest swing( 1.8 ° ) among the three controllers. In contrast, both OCC and EBC have significant disadvantages: OCC shows sharp spikes in boom luffing angle control, which could impact the motor’s lifespan, and EBC fails to keep the payload swing angle within the preset constraints while also taking much longer to converge to the desired swing angle range compared to PC. Therefore, even with non-zero initial values and changes in desired values and constraints, the proposed controller still provides superior transient performance and robustness.

5. Conclusions

This paper develops a nonlinear anti-sway control method for underactuated ship-mounted cranes featuring excellent capability in handling asymmetric output constraints. Specifically, after model transformation, an energy-based controller ensuring asymptotic stability is first established using BLFs. Notably, the proposed BLF successfully addresses constraints with the same signs for the rope length by modifying the traditional symmetric BLF. To handle the constraints of underactuated states, an auxiliary signal is introduced, allowing the modified BLF to be cleverly embedded into the controller. To enhance the system’s anti-sway performance further, the auxiliary signal fully couples the boom luffing velocity and payload swing angle information, enabling more refined coordination control. Finally, based on the system’s energy function, the stability of the closed-loop system is theoretically proven using the Lyapunov method, and the effectiveness of the proposed controller is validated through numerical simulations. In the future, we will comprehensively consider system parameter uncertainties and output constraints to promote the practical application of the proposed method in ship-mounted cranes.
The control method proposed in this study not only demonstrates excellent performance in anti-swing control for 3D shipboard boom crane systems but also exhibits significant scalability, making it suitable for shipboard boom crane systems with more degrees of freedom. By further adjusting the control strategy, this method can be extended to other types of cranes, such as tower cranes and bridge cranes, while accounting for system parameter uncertainties and more complex dynamic scenarios. For different ship motion characteristics, future research can focus on optimizing the controller design to better adapt to various operational conditions, thus further enhancing control performance. Additionally, integrating other intelligent control methods (such as adaptive control and robust control) for optimization is expected to further improve the adaptability and efficiency of the control method in complex environments. In this way, the research outcomes will demonstrate their significant value in a broader range of application scenarios.
The main contributions of this paper, both theoretically and practically, are as follows: In terms of swing suppression, the proposed control method demonstrates satisfactory performance, with the auxiliary signal designed to couple the boom and payload motion, providing the controller with more swing feedback. Compared to existing control schemes for marine cranes, the anti-swing performance is significantly improved. Additionally, the asymmetric BLF proposed in this paper effectively addresses the output constraint problem, and the method exhibits strong scalability, making it applicable to a class of second-order nonlinear systems with broad potential for application.

Author Contributions

Conceptualization, M.X., Y.G. and M.C.; methodology, M.X.; software, M.X. and Y.G.; validation, M.X., Y.G. and T.W.; formal analysis, M.X.; investigation, M.X. and Y.G.; resources, T.W., A.D. and Z.L.; data curation, M.X. and Z.L.; writing—original draft preparation, M.X.; writing—review and editing, M.X.; visualization, M.X. and Y.G.; supervision, M.C., T.W. and A.D.; project administration, T.W., A.D. and M.C.; funding acquisition, T.W., A.D. and M.C. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Jiangmen City Science and Technology Special Commissioner Scientific Research Cooperation Project (grant number 2023760300180008278), the Key scientific research platforms and projects of Guangdong Province′s general colleges and universities (grant number 2024ZDZX1009), the Joint Special Project of the Guangxi Natural Science Foundation: Basic Research on the Application of Digital Twin Simulation Modeling and Reinforcement Learning Control Strategy for Shipboard Cranes, the Guangdong Province Key Field R&D Program Project (grant number 2020B090922004), and the Guangdong–Hong Kong–Macao Joint Research and Development Fund of Wuyi University (grant number 2019WGALH22).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Acknowledgments

The authors sincerely thank all the reviewers, the Associate Editor, and the Editor for their constructive suggestions and comments, which have greatly improved the quality of the paper.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Küchler, S.; Mahl, T.; Neupert, J.; Schneider, K.; Sawodny, O. Active control for an offshore crane using prediction of the vessel’s motion. IEEE/ASME Trans. Mechatron. 2010, 16, 297–309. [Google Scholar] [CrossRef]
  2. Rong, B.; Rui, X.; Lu, K.; Tao, L.; Wang, G.; Yang, F. Dynamics analysis and wave compensation control design of ship’s seaborne supply by discrete time transfer matrix method of multibody system. Mech. Syst. Signal Process. 2019, 128, 50–68. [Google Scholar] [CrossRef]
  3. Shi, J.; Hu, M.; Zhang, Y.; Chen, X.; Yang, S.; Hallak, T.S.; Chen, M. Dynamic Analysis of Crane Vessel and Floating Wind Turbine during Temporary Berthing for Offshore On-Site Maintenance Operations. J. Mar. Sci. Eng. 2024, 12, 1393. [Google Scholar] [CrossRef]
  4. Huang, J.; Wang, W.; Zhou, J. Adaptive control design for underactuated cranes with guaranteed transient performance: Theoretical design and experimental verification. IEEE Trans. Ind. Electron. 2021, 69, 2822–2832. [Google Scholar] [CrossRef]
  5. Liu, Z.; Fu, Y.; Sun, N.; Yang, T.; Fang, Y. Collaborative antiswing hoisting control for dual rotary cranes with motion constraints. IEEE Trans. Ind. Inform. 2021, 18, 6120–6130. [Google Scholar] [CrossRef]
  6. Ramli, L.; Mohamed, Z.; Abdullahi, A.M.; Jaafar, H.I.; Lazim, I.M. Control strategies for crane systems: A comprehensive review. Mech. Syst. Signal Process. 2017, 95, 1–23. [Google Scholar] [CrossRef]
  7. Wang, T.; Lin, C.; Li, R.; Qiu, J.; He, Y.; Zhou, Z.; Qiu, G. Nonlinear enhanced coupled feedback control for bridge crane with uncertain disturbances: Theoretical and experimental investigations. Nonlinear Dyn. 2023, 111, 19021–19032. [Google Scholar] [CrossRef]
  8. Sun, N.; Fang, Y. New energy analytical results for the regulation of underactuated overhead cranes: An end-effector motion-based approach. IEEE Trans. Ind. Electron. 2012, 59, 4723–4734. [Google Scholar] [CrossRef]
  9. Sun, N.; Fang, Y.; Wu, X. An enhanced coupling nonlinear control method for bridge cranes. IET Control Theory Appl. 2014, 8, 1215–1223. [Google Scholar] [CrossRef]
  10. Zhang, S.; He, X.; Zhu, H.; Li, X.; Liu, X. PID-like coupling control of underactuated overhead cranes with input constraints. Mech. Syst. Signal Process. 2022, 178, 109274. [Google Scholar] [CrossRef]
  11. Wang, T.; Tan, N.; Qiu, J.; Zheng, Z.; Lin, C.; Wang, H. A novel model-free adaptive terminal sliding mode controller for bridge cranes. Meas. Control 2023, 56, 1217–1230. [Google Scholar] [CrossRef]
  12. Maghsoudi, M.; Ramli, L.; Sudin, S.; Mohamed, Z.; Husain, A.; Wahid, H. Improved unity magnitude input shaping scheme for sway control of an underactuated 3D overhead crane with hoisting. Mech. Syst. Signal Process. 2019, 123, 466–482. [Google Scholar] [CrossRef]
  13. Chen, Q.; Cheng, W.; Liu, J.; Du, R. Partial state feedback sliding mode control for double-pendulum overhead cranes with unknown disturbances. Proc. Inst. Mech. Eng. Part C J. Mech. Eng. Sci. 2022, 236, 3902–3911. [Google Scholar] [CrossRef]
  14. Chen, H.; Fang, Y.; Sun, N. A swing constraint guaranteed MPC algorithm for underactuated overhead cranes. IEEE/ASME Trans. Mechatron. 2016, 21, 2543–2555. [Google Scholar] [CrossRef]
  15. Cao, Y.; Li, T. Review of antiswing control of shipboard cranes. IEEE/CAA J. Autom. Sin. 2020, 7, 346–354. [Google Scholar] [CrossRef]
  16. Ngo, Q.H.; Hong, K.-S. Sliding-mode antisway control of an offshore container crane. IEEE/ASME Trans. Mechatron. 2010, 17, 201–209. [Google Scholar] [CrossRef]
  17. Saghafi Zanjani, M.; Mobayen, S. Anti-sway control of offshore crane on surface vessel using global sliding mode control. Int. J. Control. 2022, 95, 2267–2278. [Google Scholar] [CrossRef]
  18. Kim, G.-H.; Hong, K.-S. Adaptive sliding-mode control of an offshore container crane with unknown disturbances. IEEE/ASME Trans. Mechatron. 2019, 24, 2850–2861. [Google Scholar] [CrossRef]
  19. Lu, B.; Fang, Y.; Lin, J.; Hao, Y.; Cao, H. Nonlinear antiswing control for offshore boom cranes subject to ship roll and heave disturbances. Autom. Constr. 2021, 131, 103843. [Google Scholar] [CrossRef]
  20. Sun, N.; Yang, T.; Chen, H.; Fang, Y. Dynamic feedback antiswing control of shipboard cranes without velocity measurement: Theory and hardware experiments. IEEE Trans. Ind. Inform. 2018, 15, 2879–2891. [Google Scholar] [CrossRef]
  21. Wu, Y.; Sun, N.; Chen, H.; Fang, Y. New adaptive dynamic output feedback control of double-pendulum ship-mounted cranes with accurate gravitational compensation and constrained inputs. IEEE Trans. Ind. Electron. 2021, 69, 9196–9205. [Google Scholar] [CrossRef]
  22. Guo, B.; Chen, Y. Fuzzy robust fault-tolerant control for offshore ship-mounted crane system. Inf. Sci. 2020, 526, 119–132. [Google Scholar] [CrossRef]
  23. Jang, J.H.; Kwon, S.-H.; Jeung, E.T. Pendulation reduction on ship-mounted container crane via TS fuzzy model. J. Cent. South Univ. 2012, 19, 163–167. [Google Scholar] [CrossRef]
  24. Yang, T.; Sun, N.; Chen, H.; Fang, Y. Neural network-based adaptive antiswing control of an underactuated ship-mounted crane with roll motions and input dead zones. IEEE Trans. Neural Netw. Learn. Syst. 2019, 31, 901–914. [Google Scholar] [CrossRef]
  25. Li, Z.; Hou, C.; Liu, C. Radical Basis Neural Network Based Anti-swing Control for 5-DOF Ship-Mounted Crane. In Proceedings of the International Conference on Neural Computing for Advanced Applications, Guilin, China, 5–7 July 2024; pp. 18–29. [Google Scholar]
  26. Cao, Y.; Li, T.; Hao, L.-Y. Lyapunov-based model predictive control for shipboard boom cranes under input saturation. IEEE Trans. Autom. Sci. Eng. 2022, 20, 2011–2021. [Google Scholar] [CrossRef]
  27. Sun, M.; Ji, C.; Luan, T.; Wang, N. LQR pendulation reduction control of ship-mounted crane based on improved grey wolf optimization algorithm. Int. J. Precis. Eng. Manuf. 2023, 24, 395–407. [Google Scholar] [CrossRef]
  28. Chen, H.; Sun, N. Nonlinear control of underactuated systems subject to both actuated and unactuated state constraints with experimental verification. IEEE Trans. Ind. Electron. 2019, 67, 7702–7714. [Google Scholar] [CrossRef]
  29. Li, E.; Liang, Z.-Z.; Hou, Z.-G.; Tan, M. Energy-based balance control approach to the ball and beam system. Int. J. Control 2009, 82, 981–992. [Google Scholar] [CrossRef]
  30. Lu, B.; Fang, Y.; Sun, N.; Wang, X. Antiswing control of offshore boom cranes with ship roll disturbances. IEEE Trans. Control Syst. Technol. 2017, 26, 740–747. [Google Scholar] [CrossRef]
  31. Qian, Y.; Hu, D.; Chen, Y.; Fang, Y.; Hu, Y. Adaptive neural network-based tracking control of underactuated offshore ship-to-ship crane systems subject to unknown wave motions disturbances. IEEE Trans. Syst. Man Cybern. Syst. 2021, 52, 3626–3637. [Google Scholar] [CrossRef]
  32. Wang, Y.; Yang, T.; Zhai, M.; Fang, Y.; Sun, N. Ship-Mounted Cranes Hoisting Underwater Payloads: Transportation Control With Guaranteed Constraints on Overshoots and Swing. IEEE Trans. Ind. Inform. 2023, 19, 9968–9978. [Google Scholar] [CrossRef]
  33. Khalil, H.K. Nonlinear Systems, 3rd ed.; Upper Saddle River Nj Prentice Hall Inc.: Saddle River, NJ, USA, 2002. [Google Scholar]
Figure 1. Schematic illustration of the shipboard boom crane.
Figure 1. Schematic illustration of the shipboard boom crane.
Jmse 13 00091 g001
Figure 2. Block diagram of the control strategy.
Figure 2. Block diagram of the control strategy.
Jmse 13 00091 g002
Figure 3. Control scheme in MATLAB/Simulink R2014b.
Figure 3. Control scheme in MATLAB/Simulink R2014b.
Jmse 13 00091 g003
Figure 4. Group 1 simulation results.
Figure 4. Group 1 simulation results.
Jmse 13 00091 g004
Figure 5. Group 2-Case 1 simulation results.
Figure 5. Group 2-Case 1 simulation results.
Jmse 13 00091 g005
Figure 6. Group 2-Case 2 simulation results.
Figure 6. Group 2-Case 2 simulation results.
Jmse 13 00091 g006
Figure 7. Group 3 simulation results.
Figure 7. Group 3 simulation results.
Jmse 13 00091 g007
Table 1. Parameters and variables.
Table 1. Parameters and variables.
Symbols Parameters/VariablesUnits
α Boom luffing angle rad
θ Payload swing angle rad
φ Ship rolling angle rad
l Time-varying rope length m
u b Control input acting on the boom N m
u l Control input acting on the rope N
m c Payload mass kg
m d The product of the boom mass and the distance between the boom barycenter and the point O kg m
b Boom length m
J Boom rotational inertia kg m 2
g Gravity constant m / s 2
Table 2. Control gains for PC, EBC, and OCC.
Table 2. Control gains for PC, EBC, and OCC.
ControllersControl Gains
PC k p 1 = 22 ,   k d 1 = 21 ,   k r 1 = 1 ,   k r 3 = 6 ,   k a = 16 ,   k p 2 = 15 , k d 2 = 11 ,   k r 2 = 1 ,   M 1 = 60   deg ,   m 1 = 55   deg ,   M 2 = 0.9   m ,   m 2 = 0.1   m ,   M 3 = 3 deg ,   m 3 = 3   deg ,
EBC k p 1 = 15 ,   k d 1 = 17 ,   k p 2 = 15 ,   k d 2 = 11 ,   λ = 0.05
OCC k p η 1 = 21 ,   k d η 1 = 25 ,   k δ = 0.005 ,   k 3 = 0.00001 ,   k p η 2 = 15 ,   k d η 2 = 11 ,   k l = 0.05 ,   δ η 1 = M 1 η 1 d ,   η 3 r = M 3
Table 3. Group 1 comparison results.
Table 3. Group 1 comparison results.
Controller t p [ s ] η 3 m a x [ d e g ] t c [ s ]
PC3.915.7
EBC3.82.716.6
OCC3.82.610
Table 4. Group 2-Case 1 comparison results.
Table 4. Group 2-Case 1 comparison results.
Controller t p [ s ] η 3 m a x [ d e g ] t c [ s ]
PC61.15.8
EBC4.42.47.2
OCC4.42.49.7
Table 5. Group 2-Case 2 comparison results.
Table 5. Group 2-Case 2 comparison results.
Controller t p [ s ] η 3 m a x [ d e g ] t c [ s ]
PC3.32.73.3
EBC3.35.612.2
OCC3.32.910.7
Table 6. Group 3 comparison results.
Table 6. Group 3 comparison results.
Controller t p [ s ] η 3 m a x [ d e g ] t c [ s ]
PC31.83.5
EBC32.414.7
OCC31.916
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

Cao, M.; Xu, M.; Gao, Y.; Wang, T.; Deng, A.; Liu, Z. Advanced Control for Shipboard Cranes with Asymmetric Output Constraints. J. Mar. Sci. Eng. 2025, 13, 91. https://doi.org/10.3390/jmse13010091

AMA Style

Cao M, Xu M, Gao Y, Wang T, Deng A, Liu Z. Advanced Control for Shipboard Cranes with Asymmetric Output Constraints. Journal of Marine Science and Engineering. 2025; 13(1):91. https://doi.org/10.3390/jmse13010091

Chicago/Turabian Style

Cao, Mingxuan, Meng Xu, Yongqiao Gao, Tianlei Wang, Anan Deng, and Zhenyu Liu. 2025. "Advanced Control for Shipboard Cranes with Asymmetric Output Constraints" Journal of Marine Science and Engineering 13, no. 1: 91. https://doi.org/10.3390/jmse13010091

APA Style

Cao, M., Xu, M., Gao, Y., Wang, T., Deng, A., & Liu, Z. (2025). Advanced Control for Shipboard Cranes with Asymmetric Output Constraints. Journal of Marine Science and Engineering, 13(1), 91. https://doi.org/10.3390/jmse13010091

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop