Preprint
Article

This version is not peer-reviewed.

Nonlinear Anti-Swing Control for Shipboard Cranes with Asymmetric Output Constraints

A peer-reviewed article of this preprint also exists.

Submitted:

12 December 2024

Posted:

13 December 2024

You are already at the latest version

Abstract

Aiming at the anti-swing control problem of shipboard cranes with limited movement space in actual work, a nonlinear anti-swing controller based on asymmetric Barrier Lyapunov Functions (BLF) 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 con-straint terms to control the rope length and boom luffing angle. Among them, 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 utilizing reduc-tion to absurdity. In addition, this auxiliary signal fully considers the boom luffing velocity and payload swing angle-related information to enhance swing suppression performance. Finally, the asymptotic convergence of the system is proved through rigorous stability analysis, and simula-tion comparison results verify the effectiveness and salient features of the proposed controller.

Keywords: 
;  ;  ;  

1. Introduction

Shipboard cranes play a critical role in marine engineering and are widely used for 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 are typical underactuated multi-input and multi-output systems with fewer control inputs 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 decades, shipboard cranes have become a research hotspot in the control field and have yielded many significant 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 and Hong [18] proposed a novel adaptive sliding mode control algorithm based on the system model, demonstrating satisfactory disturbance rejection performance. Similarly, Lu et al. [19] developed a nonlinear energy-based controller for shipboard boom cranes, which accounted for 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 restricting payload swings within a safe range to avoid accidents. On the other hand, limiting payload swings can 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). Subsequently, Wang et al. [32] achieved constraints on both actuated and unactuated states within symmetric preset ranges. In order to meet the higher practical requirements of shipboard cranes for transporting payloads, it is necessary to propose a suitable control method to ensure that the output states comply with reasonable preset constraints under harsh environments.
Based on the above discussion, in this paper, considering the actual restricted motion scenario of shipboard cranes, we propose a nonlinear anti-swing control method based on BLFs. The main merits are summarized as follows:
  • Stabilizing the ship and the payload is difficult due to unexpected disturbances such as continuous waves. To this end, this paper conducts controller design and theoretical analysis based on the original complex nonlinear dynamics to ensure more reliable performance.
  • This method achieves asymmetric motion constraints for the boom luffing angle and rope length 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 by using reduction to absurdity. 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 validate its effectiveness in accurate positioning and limited swing amplitudes of the payload, which is of significant importance for the challenging operational environments of shipboard cranes.
The remainder of this paper is organized as follows: The "Problem Statement" section explicitly presents the dynamic equations for the shipboard boom crane, its model transformation procedure, and the primary control objectives. Next, the "Controller Design and Stability Analysis" section introduces the main results, including the development of the controller and the closed-loop stability analysis. Subsequently, the "Simulation Results" section includes numerical simulation results and some corresponding analysis to validate the practical performance of the proposed control scheme. Finally, the "Conclusion" section provides some concluding remarks.

2. Problem Statement

2.1. Dynamics for Shipboard Boom Cranes

The physical model of the shipboard boom crane system is shown in Figure 1, which introduces 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 variables and parameters of the system are shown in Table 1. The corresponding dynamic equation can be expressed in the following Lagrange’s form [30]:
M ( q ) q ¨ + C ( q , q ˙ ) q ˙ + G ( q ) = u + τ d
where q = [ α l θ ] 3 × 1 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 × 1 represents the gravity vector, u = [ u b u l 0 ] 3 × 1 and τ d 3 × 1 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 a b and C a b ( a , b = α , β , φ ) represent functions sin ( a b ) and cos ( a b ) , respectively.
As shown in Figure 1, the desired position of the payload in the ground-fixed coordination system is:
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 fully accomplish the task of suppressing payload swing, it is straightforward to deduce that θ d = φ ( t ) . Therefore, we can derive the following:
a 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. To facilitate subsequent analysis and simplify calculations, we construct the following new state variables:
η = [ η 1 η 2 η 3 ] = [ α φ l θ φ ] .
Together with equations (7) and (8), the desired values of the new state variables η 1 , η 2 , and η 3 can be expressed as:
η 1 d = arccos ( y d b ) , η 2 d = b 2 y d 2 z d , η 3 d = 0.
As shown in (9), the newly constructed state variables eliminate the ship's roll angle from (6), making the subsequent controller design more convenient and straightforward. Correspondingly, equations (1)-(5) can be transformed into:
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 and C i j ( i , j = 1 , 2 , 3 ) represent the abbreviations of sin ( η i η j ) and cos ( η i η j ) , respectively.
It can be verified that M ( η ) in (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 , i = 1 , 2 , 3 and M i , i = 1 , 2 , 3 represent the state variables' 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 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:
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:
π 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, a novel and effective controller is designed to achieve the objective above, and its effectiveness is rigorously demonstrated through theoretical analysis.

3.1. Controller Design

First, based on (9) and (17), the following error signals are defined:
e 1 = η 1 η 1 d ,   e 2 = η 2 η 2 d ,   e 3 = η 3 η 3 d = η 3 ,
correspondingly
e ˙ 1 = η ˙ 1 ,   e ˙ 2 = η ˙ 2 ,   e ˙ 3 = η ˙ 3 .
Second, the storage energy of the shipboard crane system reads as
E 0 = 1 2 η ˙ Μ ( η ) η ˙ + m c g η 2 [ 1 cos ( η 3 ) ]
Based on this, we replace q , l , and θ in (20) 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 and substituting Error! Reference source not found. into the result produces
E ˙ 0 = [ u b ( m c b + m d ) g C 1 ] η ˙ 1 + ( u l + m c g ) η ˙ 1 τ r η ˙ 3 2
where property (15) has been used.
To fulfill the output state constraints, following auxiliary variables are constructed:
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 log stands for natural logarithm function.
In general, appropriately enhancing the dynamic coupling between the boom and the payload facilitates damping injection, and one possible approach is to combine them into a composite signal [9]. To achieve this, based on (26), a new composite signal is constructed as follows:
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 (27) to improve the system transient performance, we design the following controller:
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 (28) does not exhibit singularity, which will be proven in the subsequent stability analysis section.
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 (24), the constraint on cable length in (25), and the constraint on the swing angle of the underactuated payload in (27). Notably, unlike conventional approaches to handling underactuated state constraints [28,32], this study embeds the relevant constraint term (27) into the controller by constructing an auxiliary signal (29), 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 the payload, further enhancing the damping effect on the payload swing.
Remark 2.
Inspired by the tuning rules of PID controllers, the control gains kp1, kd1, kp2, and kd2 in the proposed controller can be appropriately selected. Additionally, kr1, kr2, kr3, and ka associated with the auxiliary constraint terms, can be set as small positive values through a straightforward trial-and-error approach.

3.2. Stability Analysis

Theorem 1.
Under the continuous ship motion caused by sea wave effects, the proposed controller (28) 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, by taking the time derivative of (30) and considering (23), we 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 (28) and (29) into (31), one can yield that
V ˙ = k d 1 η ˙ 1 2 ϖ 2 k d 2 η ˙ 2 2 τ r η ˙ 3 2 .
Obviously
V ˙ 0 ,
which indicates that
V ( t ) V ( 0 ) + .
Furthermore, we can prove the following two items through (34):
4.
Assume that η 1 and η 2 reach their preset upper or lower limits at time T . In this case, the logarithmic terms corresponding to these variables in V would tend to infinity, leading to V ( T ) being infinite. This conclusion contradicts the fact stated in (34). By reduction to absurdity, the state variables η 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
5.
Assuming that η 3 violates any constraint within a very small adjacent time t [ T 1 , T 2 ] , referring to (26) and (27), r ψ will be infinite. And for t [ T 1 , T 2 ] , the solution of the differential equation (29) 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 ,
this result contradicts the fact stated in (34). Once again, by reduction to absurdity, 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 (35) and (37), 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 (34) to (38), it is not difficult to see 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 (24)-(28), we can infer
u b , u l L
Substituting the results of (39) and (40) into formula (10), we obtain
η ¨ 1 , η ¨ 2 , η ¨ 3 L
Next, we discuss the stability of system (10) with the controller (28) by using LaSalle invariance theorem [33]. let Φ be the largest invariant set in Ξ , where
Ξ = { η , η ˙ | V ˙ = 0 } .
Then, from the results of (32) and (33), one can conclude that in Φ
η ˙ 1 , η ˙ 2 , η ˙ 3 , ϖ = 0 η ¨ 1 , η ¨ 2 , η ¨ 3 = 0.
Substituting (43) into (10) and using the results of (13), (14), and (28), 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 (37) 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 (43)-(46), we know that the largest invariant set Ξ includes only the equilibrium point. Hence, states η and η ˙ converge asymptotically to their desired values. Finally, by combining the results of (35) and (37), Theorem 1 is proved.□

4. Simulation Results

To verify the effectiveness and evaluate the performance of the proposed controller in (28), we set up three simulations based on the MATLAB/SIMULINK platform, with a simulation sampling time 5   ms .
In simulations, to thoroughly verify the effectiveness and performance of the proposed controller, we selected the existing advanced nonlinear anti-swing control methods [30,32] for shipboard boom cranes as comparison objects. 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 method, 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 will mark the energy-based controller [30] as EBC, the controller with output constraints [32] as OCC, and the proposed controller as PC.
Then, relying on the MATLAB/SIMULINK platform, three groups of simulations are designed to verify the effectiveness of the proposed control method. The corresponding simulation results are shown in Figure 2, Figure 3 and Figure 4 and some specific quantified results are listed in Table 2, Table 3 and Table 4 where the performance indices are defined as follows:
6.
t p : The time taken for the rope length’s positioning error converging to the range of ( 0.004   m , 0.004   m ) .
7.
η 3 max : The maximum amplitude of payload swing during control.
8.
t c : The time taken for the payload swing angle converging to 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:
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 system states are selected as:
η 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 defined as:
η 1 ( 55   deg ,   60 deg ) ,   η 2 ( 0.1   m ,   0 . 9   m ) , η 3 ( 3   deg ,   3 deg ) .
To achieve better control performance, after careful tuning, the control parameters for EBC are selected as:
k p 1 = 22 ,   k d 1 = 25 ,   k p 2 = 15 ,   k d 2 = 11 ,   λ = 0.05.
The control parameters of OCC are:
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 = 5 ,   η 3 r = 3.
The control parameters of PC are:
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 ,
The simulation results for Group 1 are shown in Figure 2, with the corresponding quantified results provided in Table 2. It can be seen that all controllers make the new states converge to their desired values asymptotically without violating the preset constraints in the process, and the boom luffing angle and rope length do not overshoot. Based on the performance indicators, the proposed controller has better control performance than EBC and OCC. Specifically, when the boom luffing angle and rope length converge at almost the same time in all controllers, the maximum payload swing angle under the proposed controller is the smallest, which is 1 ° ; in addition, the payload swing angle is also quickly suppressed, converging to its expected range in the shortest time of 5.7   s , and there is no residual swing. 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 20   s , mainly because it relies on natural damping to eliminate residual swing because the controller does not contain load swing angle information. This fact also reflects the advantages of the auxiliary signal constructed in this paper. 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. In order to verify the robustness of the proposed controller under different transportation conditions, this simulation will change the states' initial and expected values. Specifically, we use the expected values of the states set in the last simulation as the initial values of the states in this simulation, that is,  η 1 ( 0 ) = 55 deg ,   η 2 ( 0 ) = 0.7   m ,   η 3 ( 3 ) = 0   deg , and then set the expected values of the states to η 1 d = 35 deg ,   η 2 d = 0.3   m ,   η 3 d = 0   deg , and other control parameters and system parameters remain unchanged.
The simulation results of Group 2 are shown in Figure 3, with the quantized data provided in Table 3. Similarly, all the new states quickly and asymptotically converge to their desired values. For controlling the boom luffing angle and rope length, the three controllers exhibit similar control performance, with no overshoot and roughly equivalent convergence times. In terms of other performance indicators, the proposed controller shows satisfactory positioning and anti-swing performance. The payload swing angle converges to its desired range in the fastest time of 3.2   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 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 , with the states' desired values as η 1 d = 50 deg ,   η 2 d = 0.6   m ,   η 3 d = 0   deg . The stricter constraint settings 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 4 and Table 4, 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 the proposed controller. 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 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.

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., A.D., and Z.W.; project administration, T.W. and A.D.; funding acquisition, T.W. and A.D. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Jiangmen Science and Technology Planning Project, grant number 2022JC01021; Jiangmen City Science and Technology Special Commissioner Scientific Research Cooperation Project, grant number 2023760300180008278; Jiangmen City Provincial Science and Technology Innovation Strategic Project (Announcement and Appointment), grant number 20220166003240).

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 the constructive suggestions/comments, which have greatly improved the paper quality.

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 transactions on mechatronics 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. Mechanical Systems and Signal Processing 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. Journal of Marine Science and Engineering 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 Transactions on Industrial Electronics 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 Transactions on Industrial Informatics 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. Mechanical Systems and Signal Processing 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 Dynamics 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 Transactions on Industrial Electronics 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 & Applications 2014, 8, 1215–1223. [Google Scholar]
  10. Zhang, S.; He, X.; Zhu, H.; Li, X.; Liu, X. PID-like coupling control of underactuated overhead cranes with input constraints. Mechanical Systems and Signal Processing 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. Measurement and 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. Mechanical systems and signal processing 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. Proceedings of the Institution of Mechanical Engineers, Part C: Journal of Mechanical Engineering Science 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 Transactions on Mechatronics 2016, 21, 2543–2555. [Google Scholar] [CrossRef]
  15. Cao, Y.; Li, T. Review of antiswing control of shipboard cranes. IEEE/CAA Journal of automatica Sinica 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 transactions on mechatronics 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. International Journal of 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 Transactions On Mechatronics 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. Automation in Construction 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 Transactions on Industrial Informatics 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 Transactions on Industrial Electronics 2021, 69, 9196–9205. [Google Scholar] [CrossRef]
  22. Guo, B.; Chen, Y. Fuzzy robust fault-tolerant control for offshore ship-mounted crane system. Information Sciences 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. Journal of Central South University 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 Transactions on Neural Networks and Learning Systems 2019, 31, 901–914. [Google Scholar] [CrossRef] [PubMed]
  25. Li, Z.; Chuanjing, H.; 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; 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 Transactions on Automation Science and Engineering 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. International Journal of Precision Engineering and Manufacturing 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 Transactions on Industrial Electronics 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. International Journal of 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 Transactions on Control Systems Technology 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 Transactions on systems, man, and cybernetics: systems 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 Transactions on Industrial Informatics 2023, 19, 9968–9978. [Google Scholar] [CrossRef]
  33. Khalil, H.K. Nonlinear Systems Third Edition. Upper Saddle River Nj Prentice Hall Inc 2002. [Google Scholar]
Figure 1. Schematic model of the shipboard boom crane.
Figure 1. Schematic model of the shipboard boom crane.
Preprints 142726 g001
Figure 2. Group 1 simulation results.
Figure 2. Group 1 simulation results.
Preprints 142726 g002
Figure 3. Group 2 simulation results.
Figure 3. Group 2 simulation results.
Preprints 142726 g003
Figure 4. Group 3 simulation results.
Figure 4. Group 3 simulation results.
Preprints 142726 g004
Table 1. Parameters and variables.
Table 1. Parameters and variables.
Symbols Parameters/Variables Units
α Boom luffing angle rad
θ Payload swing angle rad
φ Ship rolling angle rad
l Time-varying rope length m
u b Actuating torque controlling boom luffing angle N m
u l Actuating force controlling rope length 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. Group 1 comparison results.
Table 2. Group 1 comparison results.
Controller t p [ s ] η 3 max [ deg ] t c [ s ]
PC 3.9 1 5.7
EBC 3.8 2.8 >20
OCC 3.8 2.6 10
Table 3. Group 2 comparison results.
Table 3. Group 2 comparison results.
Controller t p [ s ] η 3 max [ deg ] t c [ s ]
PC 3.3 2.7 3.3
EBC 3.3 6 13.2
OCC 3.3 2.9 10.7
Table 4. Group 3 comparison results.
Table 4. Group 3 comparison results.
Controller t p [ s ] η 3 max [ deg ] t c [ s ]
PC 3 1.8 3.6
EBC 3 2.6 18
OCC 3 1.9 16
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.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2025 MDPI (Basel, Switzerland) unless otherwise stated