Real-Time Motion Planning of a Hydraulic Excavator using Trajectory Optimization and Model Predictive Control

Dongjae Lee, Inkyu Jang, Jeonghyun Byun, Hoseong Seo, H. Jin Kim

TL;DR

This paper introduces an integrated motion planning framework for hydraulic excavators that combines a global trajectory optimizer with a real-time Model Predictive Control (MPC) local planner. By leveraging feedback linearization and disturbance estimation, the system achieves real-time performance (up to 46 Hz) while strictly adhering to complex physical constraints like actuator power limits and hydraulic flow rates.

What Problem Does This Paper Address?

Automating heavy machinery like hydraulic excavators is notoriously difficult due to three main factors:

  1. Complex Constraints: Planners must account for both operational limits (e.g., not hitting the ground) and physical limits (e.g., maximum pump flow and engine power).
  2. Unpredictable Environments: Soil-bucket interaction and internal hydraulic friction create significant, "unmodelable" disturbances that can lead to sub-optimal performance or safety violations.
  3. Real-Time Requirements: Most existing trajectory optimization methods are too computationally heavy to run online, making them "brittle" when faced with instantaneous disturbances during a dig.

The authors aim to bridge the gap between high-level strategic planning (how much soil to move) and low-level tactical execution (how to move the cylinders without blowing a fuse or stalling).

Methods

The authors propose a two-tier architecture:

  • Global Planner: This module plans the entire digging cycle (Approach, Dig, and Dump). To keep computation fast, it uses Bernstein polynomials to parameterize the trajectory. This mathematical trick allows the planner to enforce box constraints (like cylinder limits) much more easily than standard methods. For the digging phase, it optimizes for maximum excavation volume while minimizing energy.
  • Local Planner (MPC): This is the "real-time" heart of the system. It tracks the global plan while reacting to disturbances. To achieve the necessary speed, the authors use feedback linearization to transform the excavator's nonlinear dynamics into a linear system, allowing the MPC to solve a much simpler optimization problem.
  • Disturbance Estimator: A momentum-based observer estimates external forces (like soil resistance) in real-time. This estimate is fed back into the MPC, allowing the robot to "feel" the soil and adjust its force accordingly without needing a complex, pre-defined soil model.

Datasets

The study is conducted in a high-fidelity simulation environment. While no external datasets were used, the authors implemented:

  • Hyundai HX300L Model: A detailed kinematic and dynamic model of a real-world 30-ton excavator.
  • LuGre Friction Model: To simulate realistic hydraulic cylinder friction.
  • Fundamental Earthmoving Equation (FEE): To simulate the complex resistive forces of soil-bucket interaction.

Key Insights and Ideas

  • The Power of Feedback Linearization: By mathematically "canceling out" the nonlinearities of the excavator's heavy arms, the authors made it possible to run a sophisticated MPC at over 30 Hz on a standard desktop CPU.
  • Constraint-Awareness: Unlike many robotics papers that only look at joint limits, this framework explicitly considers the pump flow rate and total power limit. Since all cylinders share a single hydraulic source, the planner must intelligently "ration" power between the boom, arm, and bucket.
  • Bernstein Parameterization: Using Bernstein bases for global planning significantly reduces the number of decision variables, allowing a global trajectory to be generated in under 2 seconds.

Key Results

The framework was validated in two scenarios: shallow excavation (grading) and deep excavation.

  • Speed: The global planner generated trajectories in 1.6 to 2.1 seconds. The local planner operated at 33–46 Hz, well above the threshold required for smooth real-time control.
  • Robustness: Even when the global plan was intentionally "too aggressive" (exceeding physical limits), the local MPC successfully throttled the movement to stay within the machine's power and flow constraints.
  • Accuracy: The disturbance estimator successfully tracked modeled soil forces, allowing the local planner to maintain trajectory accuracy even under heavy loads.

Limitations and Future Work

  • Simulation Only: While the simulation used high-fidelity models, the system has yet to be tested on a physical excavator where sensor noise and communication latency might impact performance.
  • Environmental Perception: The current model assumes the ground shape is known beforehand (e.g., via Lidar). Future work would need to integrate real-time mapping to handle changing terrain.
  • Fixed Cabin: In the digging phase (Phase 2), the cabin rotation is currently constrained to zero. Real-world "trenching" often requires simultaneous swinging and digging, which adds another layer of complexity.

Summary updated

BibTeX
@inproceedings{lee2021real,
  author = {Dongjae Lee and Inkyu Jang and Jeonghyun Byun and Hoseong Seo and H. Jin Kim},
  title = {{Real-Time Motion Planning of a Hydraulic Excavator using Trajectory Optimization and Model Predictive Control}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=mx0fkEdkQU},
}

Loading related content...

Figure