Abstract
Automation of excavation tasks requires real-time trajectory planning satisfying various constraints. To guarantee both constraint feasibility and real-time trajectory re-plannability, we present an integrated framework for real-time optimization-based trajectory planning of a hydraulic excavator. The proposed framework is composed of two main modules: a global planner and a real-time local planner. The global planner computes the entire global trajectory considering excavation volume and energy minimization while the local counterpart tracks the global trajectory in a receding horizon manner, satisfying dynamic feasibility, physical constraints, and disturbance-awareness. We validate the proposed planning algorithm in a simulation environment where two types of operations are conducted in the presence of emulated disturbance from hydraulic friction and soil-bucket interaction: shallow and deep excavation. The optimized global trajectories are obtained in an order of a second, which is tracked by the local planner at faster than 30 Hz. To the best of our knowledge, this work presents the first real-time motion planning framework that satisfies constraints of a hydraulic excavator, such as force/torque, power, cylinder displacement, and flow rate limits.
Introduction
Automating heavy machinery like hydraulic excavators presents significant challenges due to complex physical constraints, unpredictable environmental interactions, and strict real-time requirements. Planners must account for operational limits, such as avoiding ground collisions, and physical limits, including maximum pump flow and engine power. Furthermore, soil-bucket interactions and internal hydraulic friction create significant disturbances that are difficult to model accurately. Most existing trajectory optimization methods are computationally intensive, making them unsuitable for online re-planning when faced with instantaneous disturbances. This paper proposes an integrated framework that bridges high-level strategic planning with low-level tactical execution, ensuring both efficiency and safety.
Proposed Framework Architecture
The core of the proposed system is a two-tier architecture designed to balance long-term optimality with short-term responsiveness.
Global Planning
The global planner is responsible for generating the entire digging cycle, which typically consists of three phases: Approach, Dig, and Dump. To maintain computational efficiency, the planner utilizes Bernstein polynomials to parameterize the trajectory. This approach reduces the number of decision variables and simplifies the enforcement of box constraints, such as cylinder displacement limits. During the digging phase, the global planner optimizes for maximum excavation volume while simultaneously minimizing energy consumption.
Local Planning and Control
The local planner serves as the real-time heart of the system, tracking the global plan while reacting to disturbances. It employs Model Predictive Control (MPC) operating in a receding horizon manner. To achieve the necessary computational speed for real-time operation, the authors apply feedback linearization to transform the excavator's nonlinear dynamics into a linear system. This allows the MPC to solve a convex optimization problem efficiently.
A momentum-based disturbance estimator is integrated into the local planner to observe external forces, such as soil resistance, in real-time. This feedback allows the system to adjust its force output dynamically without requiring a complex, pre-defined soil model.
Operational Cycle
The excavation process is divided into distinct phases to manage the varying requirements of each task.
- Phase 1 (Approach): The excavator moves the bucket from a starting position to the initial contact point with the soil.
- Phase 2 (Dig): The bucket penetrates and moves through the soil to collect material. This phase involves the highest resistive forces and requires careful power management.
- Phase 3 (Dump): The loaded bucket is lifted and swung to a designated dumping location.
Results and Validation
The framework was validated using a high-fidelity simulation of a Hyundai HX300L 30-ton excavator. The simulation included realistic hydraulic friction (LuGre model) and soil-bucket interaction forces (Fundamental Earthmoving Equation).
The global planner successfully generated trajectories in approximately 1.6 to 2.1 seconds. The local MPC planner demonstrated exceptional performance, operating at frequencies between 33 and 46 Hz, which is well above the threshold required for smooth real-time control. Notably, the framework proved robust; even when the global plan was intentionally aggressive, the local MPC successfully throttled actuator movements to remain within the machine's physical power and hydraulic flow limits. The disturbance estimator accurately tracked modeled soil forces, maintaining trajectory precision even under heavy loads.
Conclusion
This work introduces a real-time motion planning framework that effectively handles the complex constraints and disturbances inherent in hydraulic excavation. By combining a Bernstein-parameterized global planner with a feedback-linearized MPC local planner, the system achieves high-speed performance and robust constraint satisfaction. Future research will focus on validating the system on physical hardware, integrating real-time environmental perception for dynamic terrain mapping, and expanding the planner to handle simultaneous swinging and digging operations.
Summary updated