Flatness-based trajectory planning for 3D overhead cranes with friction compensation and collision avoidance

J. Vicente Martínez 1 É. Ramírez Laboreo 1
1. Departamento de Informática e Ingeniería de Sistemas (DIIS) e Instituto de Investigación en Ingeniería de Aragón (I3A), Universidad de Zaragoza

Vicente-Martinez, J. and Ramirez-Laboreo, E. (2025) Flatness-based trajectory planning for 3D overhead cranes with friction compensation and collision avoidance. Arxiv

How to cite

Conference icon

This work has been accepted for presentation at the 23rd IFAC World Congress 2026 in Busan, Korea.

Abstract

This paper presents an optimal trajectory generation method for 3D overhead cranes by leveraging differential flatness. This framework enables the direct inclusion of complex physical and dynamic constraints, such as nonlinear friction and collision avoidance for both payload and rope. Our approach allows for aggressive movements by constraining payload swing only at the final point. A comparative simulation study validates our approach, demonstrating that neglecting dry friction leads to actuator saturation and collisions. The results show that friction modeling is a fundamental requirement for fast and safe crane trajectories.

Trajectory optimization

By exploiting the differential flatness of the 3D overhead crane, we map the full system dynamics (including underactuated states) to a flat output space defined by the payload position. This mathematical transformation allows us to formulate trajectory planning as a constrained optimization problem where complex behaviors are easily integrated:

Unlike traditional approaches that strictly limit the payload swing angle to avoid instability, our method actively controls the oscillation to fully exploit the system's dynamics. By leveraging differential flatness, the optimizer can plan more aggressive and efficient movements. This strategy allows the crane to move at higher speeds while mathematically guaranteeing that the payload reaches its destination with zero residual oscillation, effectively "cancelling" the swing exactly at the target point.

Esquema RRT

Control diagram

Typically, in industrial environments, only the trolley’s position and the rope length are controlled. For that reason, the optimized flat output trajectories are mapped to generate the target paths for the actuated coordinates and the corresponding feedforward control action. We implement a control strategy that combines the optimized feedforward action with a standard feedback term with three independent PI controllers with anti-windup, one for each actuated axis, which track the specified target paths for the trolley and rope.

Esquema RRT

Simulation results

The influence of the planning model is evaluated based on three key performance indicators to ensure safe and efficient crane operation:

The primary operational goal is to achieve zero final swing without collisions. To demonstrate the necessity of accurate friction modeling, we compare trajectories generated using three dynamic models of varying complexity, all starting from the same calculated initial guess.

 

This work is part of the project NoRMMAS PID2024-159279OB-I00, funded by

Funding logo

It was founded also in part by the MICIU through the grant FPU24/01878, in part by the Government of Aragón - EU, via grant T45_23R.