Abstract
This paper develops an iterative learning control (ILC) scheme for gantry crane systems subject to external disturbances. The system dynamics are modeled by partial differential equations (PDEs) with boundary conditions. To suppress vibrations and to compensate for unknown boundary disturbances, an ILC law incorporating boundary feedback control is proposed. The operator semigroup theory is employed to establish the well-posedness of the closed-loop system. Exponential stability under the proposed controller is rigorously proven using Lyapunov’s direct method. Comparative simulation results demonstrate the effectiveness and superior performance of the presented ILC scheme, validating its practical applicability.
Keywords
Introduction
Gantry cranes are essential material handling systems widely employed in manufacturing, construction, and marine operations. A typical gantry crane system consists of a motorized trolley, a flexible cable, and a suspended payload. The inherent flexibility of the cable induces significant payload vibrations during transportation, posing challenges for precise and safe operation. Consequently, substantial research efforts have focused on developing effective control strategies for gantry crane systems (Nguyen et al., 2024; Wang et al., 2017; Goubej and Helma, 2019; Moradi et al., 2009; Burul et al., 2010; Tumari et al., 2012; Ramli et al., 2018; Frikha et al., 2018; Cuong et al., 2021; Albalta and Yalçın, 2023; Wen et al., 2021; Khudhaira et al., 2021; Otto et al., 2023; Rigatos et al., 2024; Yang et al., 2025b). Proposed methodologies encompass optimal control (Nguyen et al., 2024; Wang et al., 2017; Goubej and Helma, 2019), adaptive control (Frikha et al., 2018; Cuong et al., 2021; Albalta and Yalçın, 2023), H ∞ control (Moradi et al., 2009; Burul et al., 2010; Tumari et al., 2012), backstepping control (Wen et al., 2021; Khudhaira et al., 2021; Wen et al., 2022), and neural network control (Yang et al., 2025a; Tang et al., 2024). A prevalent limitation in the existing literature is the reliance on the models described by ordinary differential equations (ODEs), due to the consideration based on rigid cables. However, practical gantry cranes typically employ flexible cables, exhibiting distributed flexibility effects. ODE-based models fail to accurately capture these dynamics. Accurate representation of such systems necessitates modeling via partial differential equations (PDEs).
Beyond gantry cranes, PDE-based models provide essential modeling frameworks for diverse distributed-parameter systems in practical engineering, including flexible marine risers (Ge et al., 2009; He et al., 2011) and Euler-Bernoulli beams (Ge et al., 2011; Ma et al., 2023b). Boundary control offers a practical methodology for governing such PDE-based systems, as it requires actuation only at physical boundaries. Consequently, this approach has motivated considerable research attention toward diverse control strategies (He and Ge, 2016; Ma and Lou, 2021; Thull et al., 2005; Aguilar, 2021; Stürzer et al., 2018; d’Andréa Novel et al., 1994; d’Andréa Novel and Coron, 2000; Wijnand et al., 2021; Wen et al., 2021, 2022). In He and Ge (2016), a cooperative controller incorporating adaptation laws is developed to address the control challenges encountered in gantry crane systems with constrained tension. Leveraging the integral-barrier Lyapunov functions method, this approach establishes uniform boundedness for closed-loop system. The authors in Ma and Lou (2021) present an adaptive control method for gantry crane systems subject to parametric uncertainties and external disturbances, where two boundary adaptive laws are proposed to ensure the uniform ultimate boundedness of gantry crane systems. While the strategies in He and Ge (2016) and Ma and Lou (2021) effectively achieve control objectives and ensure stability, they require the application of control forces simultaneously to both the trolley and the suspended payload which limits practical implementation. The authors in Thull et al. (2005) develop a passivity-based control scheme with trajectory planning for gantry cranes to suppress vibrations and position cargo. The author Aguilar (2021) proposes a state-feedback H ∞ control strategy to resist the disturbances and suppress the vibration of the gantry crane. While effective for control objectives, above works omit rigorous well-posedness analysis, which is a critical requirement for PDE systems. In Stürzer et al. (2018), the authors establish well-posedness through operator semigroup and spectral theory, and further analyze both asymptotic and exponential stability. The authors in d’Andréa Novel et al. (1994) establish well-posedness of the closed-loop system while achieving exponential error convergence. Building on this foundation, d’Andréa Novel and Coron (2000) improve the controller through novel feedback terms for targeted vibration suppression. Concurrently, Wen et al. (2022) designs dual boundary feedback controllers using backstepping-derived kernel functions to simultaneously dampen oscillations and estimate inaccessible states. However, the backstepping method also has its weaknesses. It is highly dependent on the selection of the target system, and the kernel function of the backstepping transformation usually requires solving a PDE to obtain, which often brings significant difficulties.
Given the operational prevalence of gantry crane systems in industrial settings, persistent external disturbances necessitate robust control solutions to ensure stability. Various disturbance-rejection methods have been developed (Thull et al., 2005; Aguilar, 2021; Ramli et al., 2018; Huang et al., 2024; Guo and Jin, 2013; Zhao et al., 2023), including sliding-mode control (Zhang and Wu, 2025; Yang et al., 2025b; Huang et al., 2024; Zhang et al., 2024), disturbance observer approaches (Guo and Jin, 2013; Zhao et al., 2023), fuzzy control (Aguiar et al., 2021; Bounemeur and Chemachema, 2021; Boulkroune et al., 2025; Bounemeur et al., 2018; Boulkroune et al., 2017; Bounemeur and Chemachema, 2023; Abdelhamid and Mohamed, 2025), and neural network (Ma et al., 2022; Ramli et al., 2018; Ma et al., 2023a; Wang and Cui, 2025). While the sliding-mode control effectively rejects disturbance using its upper bound. However, the upper bound of the disturbance may be unknown in practice. Similarly, the disturbance observer techniques face limitations due to stringent disturbance characterization requirements. Although neural networks possess excellent nonlinear approximation capabilities, their poor interpretability and limited generalization to out-of-distribution scenarios can compromise closed-loop stability. This prevents the provision of stability guarantees typically required in safety-critical applications. In Yang et al. (2025b), the authors propose an adaptive proportional-integral-derivative sliding-mode control framework for ODE-based 4-degree of freedom tower crane systems, where system uncertainties and unknown time-varying external disturbance are addressed in their work. The authors in Wang et al. (2025) investigated a control method under the Iterative Learning Control (ILC) scheme for the ODE-based rotary cranes with input saturation and uncertainties. However, using the ODE equation to describe the flexible structure would reduce the modeling accuracy and might bring some problems such as control spillover, which could lead to some safety hazards in practical applications. The authors in Zhang and Wu (2025) and Huang et al. (2024) respectively proposed two different forms of sliding-mode controllers for the PDE-based gantry crane system, but both of their controllers require a priori knowledge of the disturbance bound. The above methods have certain limitations in terms of disturbance suppression.
ILC offers a promising alternative for rejecting boundary disturbances with minimal model dependency. Unlike conventional approaches, ILC compensates for unknown boundary disturbances through iterative refinement of control inputs using historical error data (Wang et al., 2025; Liu et al., 2019). This model-agnostic approach demonstrates particular efficacy in flexible structures, as validated in flexible structure applications (Meng and He, 2020).
Motivated by the aforementioned challenges, an ILC scheme is proposed to mitigate the effects of unknown time-varying disturbances. The contributions of this work can be outlined below. (1) A novel ILC framework incorporating boundary feedback control is developed to simultaneously achieve payload positioning and vibration suppression in the presence of unknown disturbances. (2) The controller eliminates the restrictive assumption of a known disturbance bound, thereby enhancing practical robustness and applicability. (3) Rigorous theoretical analysis via operator semigroup theory establishes the well-posedness of the closed-loop system. Exponential stability is rigorously proven using Lyapunov’s direct method. (4) The proposed approach is validated through comparative simulations and hardware experiments, demonstrating its effectiveness over conventional methods.
The remaining sections of this paper are outlined as follows: In Dynamic model and preliminaries Section, the model of the gantry crane is established. Main result Section describes the design of ILC. Besides, the well-posedness and stability of closed-loop system are analyzed. Numerical simulations and physical experiments Section validates the efficacy of the proposed controllers through numerical simulations and experimental analysis. Finally, Conclusion Section gives a conclusion of this paper.
Notations.
Dynamic model and preliminaries
Dynamics of gantry crane system
Figure 1 illustrates the gantry crane system structure. The cable displacement at position x and time t during the k-th iteration is denoted by w
k
(x, t), while u
k
(t) represents the boundary control force applied to the trolley, and d
k
(t) denotes the time-varying boundary disturbance acting on the trolley. Key system parameters include: trolley mass M, payload mass m, cable length L, cable linear density ρ, and gravitational acceleration g. The iteration index Structural representation of a gantry crane system.
Before presenting the model of gantry crane, the following assumption is given.
• The cable is completely flexible and non-stretchable. • Transversal and angular displacements are negligible. • Load mass acceleration is negligible compared to gravitational acceleration g.
Taking the impact of time-varying boundary disturbance d
k
(t) into consideration, and employing Hamilton’s principle along with Assumption 1, the following model is used to describe gantry crane system:
The terminal state at each iteration serves as the initial condition for the subsequent iteration, satisfying w
k
(⋅, t
T
) = wk+1(⋅, 0).
Preliminaries
This subsection introduces some lemmas and an assumption to the disturbance to help us make the analysis of the system.
Since the magnitude of disturbance energy is finite, the following assumption is made.
The unknown time-varying boundary disturbance satisfies
Zhang et al. (2024): For any
Zhang et al. (2024): For any
The same applies to
Main result
Controller design
To achieve precise payload positioning and effective vibration suppression in the gantry crane system governed by (1)–(3) while rejecting unknown time-varying disturbances d
k
(t), an ILC control scheme is designed. The block diagram of the control scheme is shown as Figure 2. The control scheme.
The controller is designed as follows:
The iterative term
The parameters ξ1, ξ2, ξ3, ξ4 are
k1, k2, k3, k4, and β satisfy the following inequalities
Well-posedness analysis
The Hilbert space
Applying controller (7) yields the closed-loop system. To formulate it as an abstract Cauchy problem in semilinear differential form, define the linear operator
The domain of operator A is
The closed-loop system then becomes an evolution equation in
The inner product on
The norm
The proof is deferred to Appendix A. □
Suppose that Assumptions 1-2 hold. The closed-loop system governed by equations (1)–(3) with controller (7) is well-posed for every iteration period. Specifically, for each
The well-posedness of the closed-loop system follows from the existence of a C0-semigroup on
(27) can be written as
Rearranging (28) yields
Then combining (30) and (31) yields
Since the left side of (32) is a bi-linear form, denoting
The continuity and coerciveness are demonstrated through equations (33) and (34) respectively. Since the right-hand side of (31) defines a bounded linear functional, the Lax-Milgram Theorem (Lax, 1954) guarantees the existence and uniqueness of a weak solution w ∈ H1 (0, L) to equations (29)-(30). Consequently, (27) admits a unique weak solution
Finally, by the definition of
Stability analysis
This subsection establishes exponential stability for the closed-loop system under the proposed iterative learning controller (7).
Suppose that Assumptions 1-2 hold. The closed-loop system (1)-(3) under the designed iterative learning controller (7) is exponentially stable if the following conditions are satisfied
Consider the following Lyapunov candidate function
It follows from
Applying Cauchy-Schwarz inequality yields
It implies that the closed-loop system is exponentially stable. Moreover, the auxiliary term φ
k
(t) satisfies
Furthermore,
Let k = m + n, where
Letting t ∈ [0, t
T
] and n → ∞, it can obtain that
Numerical simulations and physical experiments
Numerical simulations
In this subsection, numerical simulations are provided to validate the effectiveness of proposed boundary controller (7) and iterative term
Figure 3 illustrates the trends of the iterative term and auxiliary function. These results reveal that the iterative term rapidly converges to the disturbance upper bound and stabilizes the system state. (a) The iterative term (9); (b) the auxiliary function (8).
Next, we compare the controller (7) with several existing controllers.
Case 1 (PD control)
Control problem of gantry crane can be solved using a PD type controller (Wen et al., 2021; Aguilar, 2021):
The parameters a1 = 50 and a2 = 45 were deliberately selected based on extensive experimentation, yielding optimal results across multiple tests. Comparative responses are shown in Figure 4. While this control scheme is simple, requiring only position and velocity feedback, the simulation results demonstrate that the payload requires more time to reach the target position than under the proposed controller (7). (a) The boundary displacements comparison at point x = L under controller (53) and (7); (b) the cable slope w′(0, t) comparison.
Furthermore, external disturbances limit the effectiveness of vibration suppression. The initial phase exhibits a steep slope Figure 4(b), indicating significant transient vibrations. Notably, although these vibrations progressively attenuate over time, they fail to decay to zero.
Case 2 (boundary control strategy in Rahn and Christopher (2001))
The control strategy in Rahn and Christopher (2001) is as follows
Controller gains are set to b1 = 100, b2 = 60 and b3 = 800, determined through extensive parametric tuning to achieve satisfactory dynamic responses in the closed-loop system. The corresponding responses are shown in Figure 5. From Figure 5(a), it can be observed that the payload reaches the target position within 4 seconds. In comparison with controller 54, the proposed controller (7) achieves faster and smoother positioning. Furthermore, Figure 5(b) demonstrates effective vibration damping, evidencing superior vibration suppression relative to the controller 54. However, residual vibrations persist at the target position, and excessive transient vibrations remain during the initial phase. When subject to external disturbances, controller (7) outperforms this approach in both positioning accuracy and vibration suppression. (a) The boundary displacements comparison at point x = L under controller (54) and (7); (b) the cable slope w′(0, t) comparison.
Case 3 (boundary control strategy in Wen et al. (2021))
The boundary control strategy is
The parameters are set to d1 = 110, d2 = 90, d3 = 600, and d4 = 50, with system dynamics shown in Figure 6. In comparison with controller (55), controller (7) achieves comparable positioning speed while providing effective vibration suppression. It can be seen from Figure 6(b) that the initial vibration amplitude of the system under controller (55) is substantial, and persistent oscillations occur due to external disturbances. In contrast, the proposed iterative learning controller (7) exhibits smoother transient behavior than (55) and maintains the slope within ±5 × 10−3 rad, confirming superior vibration suppression. (a) The boundary displacements comparison at point x = L under controller (55) and (7); (b) The cable slope w′(0, t) comparison.
Case 4 (sliding-mode boundary control strategy in Huang et al. (2024))
The sliding surface is
The controller gains are set to g1 = 25, g2 = 30, g3 = 5 and (a) The boundary displacements comparison at point x = L under controller (57) and (7); (b) the cable slope w′(0, t) comparison.
Case 5 (sliding-mode boundary control strategy in Zhang and Wu (2025))
The sliding surface is
The controller gains are set to h1 = 1, h2 = 20, h3 = 12, h4 = 10, h5 = 3 and (a) The boundary displacements comparison at point x = L under controller (59) and (7); (b) the cable slope w′(0, t) comparison.
The average computational time for a single run of each controller during simulation is presented as follows: • Case 1 in Aguilar (2021): 1.6905 × 10−7 s • Case 2 in Rahn and Christopher (2001): 1.8488 × 10−7 s • Case 3 in Wen et al. (2021): 2.0268 × 10−7 s • Case 4 in Huang et al. (2024): 2.1455 × 10−7 s • Case 5 in Zhang and Wu (2025): 2.6501 × 10−7 s • Controller (7): 3.4081 × 10−7 s
The results indicate that the Case 1 in Aguilar (2021) controller exhibits the shortest execution time due to its simple structure. As the architectural complexity of the controllers increases, the corresponding computational cost also increases accordingly. The proposed ILC controller (7) requires the longest execution time among the controllers compared. However, even the longest execution time of 3.4081 × 10−7 s is negligible and does not compromise the feasibility of real-time implementation, which will be further validated through the subsequent experimental section.
Physical experiments
In this subsection, physical experiments are executed using a self-constructed experimental platform to demonstrate the practical viability of the proposed iterative learning controller (7) in practical applications. The experimental platform is depicted in Figure 9. The system parameters of experimental platform are as follows: M = 2.1 kg, m = 9.4 kg, L = 1 m and ρ = 0.2 kg/m. The experimental platform.
The control algorithm is implemented on an STM32F103 embedded platform, with a Panasonic MSMF012L1U2M servo motor driven by a MADLT05SF driver. The system operates at a 20 ms control period. Initial conditions are set to w
k
(x, 0) = 100 mm and • Case 1 (53): a1 = 625, a2 = 150. • Case 2 (54): b1 = 480, b2 = 170, b3 = 100. • Case 3 (55): d1 = 450, d2 = 200, d3 = 700, d4 = 20. • Case 4 (57): • Case 5 (59):
Figures 10a and 10(b) depict the position w
k
(0, t) of the trolley and the cable slope (a) The trolley position under proposed iterative learning controller with other controllers; (b) the slope w′(0, t) of cable under proposed iterative learning controller with other controllers. The iterative term 

Performance comparisons of different controllers.
Controller in Zhang and Wu (2025) exhibits strong similarity to the proposed controller (7) in the experimental results. This similarity arises because both controllers employ feedback of four boundary states and incorporate signum function terms, which confer robustness against disturbances, while sharing similar control architectures. However, the proposed controller (7) eliminates the requirement for prior knowledge of the disturbance bound, thereby outperforming the methods in Huang et al. (2024) and Zhang and Wu (2025).
The proposed iterative learning controller significantly enhances overall dynamic performance. Moreover, the maximum cable vibration magnitude settles to ±0.0035 rad within 5 s. Furthermore, Figure 11 demonstrates the convergence of
The execution time of the controller was measured on an STM32F103C8T6 microcontroller, with the CPU clock frequency set to 72 MHz: • Case 1 in Aguilar (2021): 8.4167 × 10−6 s • Case 2 in Rahn and Christopher (2001): 9.6528 × 10−6 s • Case 3 in Wen et al. (2021): 1.5444 × 10−5 s • Case 4 in Huang et al. (2024): 1.9375 × 10−5 s • Case 5 in Zhang and Wu (2025): 2.8542 × 10−5 s • Controller (7): 3.2208 × 10−5 s
The results are consistent with those obtained from the simulations. As the architectural complexity of the controller increases, the corresponding execution time increases proportionally. Controller (7), which exhibits the longest execution time, requires 3.2208 × 10−5 s for computation. This computational overhead is negligible relative to the 20 ms control period employed in the system and poses no practical impact on real-time implementation. Notably, if the computational implementation is migrated from floating-point to fixed-point arithmetic, the computational cost can be substantially reduced.
Different parameters have an impact on the performance of the system under controller (7). Through numerical simulation and physical experiment, we can summarize the effects of parameter selection as follows: • Parameter ξ1 is the position feedback gain of the controller. Larger ξ1 leads to the trolley reaching the desired position faster, but it brings larger payload swing. If ξ1 is too small, the payload needs more time to the specified position. • Parameter ξ2 is the velocity feedback gain of the controller. Larger ξ2 makes the trolley reach the desired position slower, while a smaller ξ2 leads to a larger payload swing. • Parameters ξ3 and ξ4 are the cable slope and cable swing velocity feedback gains of the controller. Larger ξ3 and ξ4 can achieve better vibration suppression and faster payload stabilization, but it takes more time to reach the target. Smaller ξ3 and ξ4 can cause larger payload swing. • Parameter η is the learning rate of the iterative term. Larger η can make the controller suppress disturbances more quickly. However, if it is set too large, it will cause greater chattering.
Under actual working conditions, there may be sensor noise, which may lead to a reduction in control effect and even cause divergence. The following are some suggestions for working conditions with sensor noise: • Sensor selection: The position and speed feedback of the trolley are usually provided by the servo motor and driver. Choosing an absolute multi-turn encoder can avoid drift and jitter problems caused by noise. It is recommended to choose an absolute single-turn encoder for the angle sensor of the cable. • The data read from the encoder needs to undergo some algorithmic filtering, such as using a Kalman filter or a median filter. • Appropriately reducing the parameter gain can lower the sensitivity to noise signals, but this will simultaneously reduce the control speed of positioning and vibration suppression.
The proposed ILC framework is potentially applicable to a broader class of distributed-parameter systems governed by PDEs, including but not limited to Euler-Bernoulli beam systems and reaction-diffusion systems. However, application to each specific system requires rigorous theoretical analysis employing similar techniques to those in this work: establishing well-posedness of the closed-loop system, and determining the feasible parameter ranges that ensure closed-loop stability. Different system dynamics and boundary conditions may necessitate problem-specific adaptations of the control design and corresponding theoretical verification.
Conclusion
An ILC strategy has been proposed to address vibration control of gantry crane systems subject to boundary time-varying disturbances. The existence of a closed-loop solution is formally established as an abstract Cauchy problem. Through the application of the operator semigroup theory, the closed-loop system has been demonstrated to be well-posed. Lyapunov’s direct method is employed to rigorously prove the exponential stability and convergence of the closed-loop system. Numerical simulations and physical experiments demonstrate the superior performance and practical effectiveness of the proposed ILC strategy in simultaneous payload positioning and vibration suppression.
Our future research will explore the following directions to enhance the practical applicability and robustness of the proposed control framework. (i) Sensor faults and measurement delays: The current design assumes perfect state measurements. Future work will address control design under sensor faults and communication delays by incorporating fault-tolerant mechanisms and developing predictive observers that can mitigate the effects of imperfect information. (ii) System parameter uncertainty: The proposed controller design relies on nominal system parameters. Extending the framework to account for parametric uncertainties in system dynamics, material properties, and boundary conditions is an important direction. Adaptive ILC control scheme that can online estimate and compensate for parameter variations will be developed. (iii) Actuator nonlinearities and saturation: Practical actuators exhibit nonlinear behavior and saturation constraints. Future studies will investigate ILC strategies that explicitly account for actuator saturation, hysteresis, and dead-zones. (iv) Data-driven and learning-based approaches: To further enhance adaptability in complex and uncertain environments, neural network-based control schemes combined with adaptive ILC will be one of our future works.
Footnotes
Funding
The authors disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by the Postgraduate Research & Practice Innovation Program of Jiangsu Province (No. KYCX22_2303) and the China Scholarship Council (No. 202306790049).
Declaration of conflicting interests
The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
