Data-driven reference trajectory optimization for precision motion systems

Samuel Balula, Dominic Liao‐McPherson, Alisa Rupenyan, John Lygeros

TL;DR

This paper introduces a two-stage, data-driven optimization framework to boost both the speed and accuracy of precision motion stages (PMS) without touching their "black-box" low-level controllers. By combining a fast linear model with a high-fidelity neural network, the researchers can "pre-compensate" reference trajectories, allowing machines to trace complex shapes up to 73% faster while maintaining tight tolerances.

What Problem Does This Paper Address?

In precision manufacturing (like laser cutting or micro-assembly), there is a fundamental tug-of-war between productivity (how fast you move) and accuracy (how closely you follow a path). Most industrial machines use proprietary, low-level PID controllers that users cannot modify.

Existing solutions often require complex physics-based models or multiple "practice runs" (Iterative Learning Control) for every new part. This is inefficient for modern "Manufacturing as a Service" environments where machines must handle diverse, one-off geometries. The authors sought a method that is entirely data-driven, generalizes to new shapes on the first try, and works with existing hardware.

Methods

The authors propose a two-stage optimization strategy that separates the "speed" problem from the "accuracy" problem:

  1. Stage 1 (Coarse/Linear): A linear state-space model (identified from experimental data) is used to find a time-optimal trajectory. Because linear models are computationally "cheap," the optimizer can vary the time steps to find the fastest possible velocity and acceleration profiles that respect the machine's limits.
  2. Stage 2 (Fine/Non-linear): A high-fidelity Artificial Neural Network (ANN) takes the result from Stage 1 and refines it. The ANN captures the complex, non-linear dynamics that the linear model misses. In this stage, the total traversal time is fixed, and the optimizer focuses solely on minimizing the "contour error" (the distance between the actual path and the target geometry).

The ANN uses a 500ms history of previous inputs to predict the next position, effectively learning how to "cancel out" the machine's inherent tracking errors before they happen.

Datasets

The models were trained and evaluated using data from an ETEL DXL-LM325 two-stage motion machine:

  • Training Data: A massive dataset of 6 million points generated from random trajectories (varying velocity, acceleration, and jerk) and regular shapes like circles and spirals.
  • Evaluation Benchmarks:
    • "Letters" Test Case: Tracing the ETH Zurich logo ("u", "r", "c", "h"), which features sharp corners and intricate curves.
  • "Airfoil" Test Case: Tracing an Eppler e344 high-lift airfoil, representing complex aerodynamic geometries used in aerospace.

Key Insights and Ideas

  • The "Cancel Out" Effect: The optimizer learns to move the input trajectory in the opposite direction of the expected error. For example, if the machine tends to "round off" a sharp corner, the optimized input will actually "overshoot" the corner slightly to pull the physical tool into the correct position.
  • Generalization is Key: Unlike Iterative Learning Control, which learns a specific part, this ANN-based approach learns the machine's behavior. Once trained, it can optimize a brand-new, unseen geometry on the first attempt.
  • Decoupling Time and Accuracy: By using the linear model to set the "tempo" and the ANN to fix the "notes," the researchers made a computationally daunting non-linear optimization problem tractable.

Key Results

The proposed method significantly shifted the precision/productivity trade-off curve:

  • Massive Time Savings: For the "Letters" test case, the optimized trajectory was 73% faster than the standard baseline for the same level of accuracy (26 µm deviation).
  • Improved Accuracy: For the "Airfoil" case, the method achieved a 57% reduction in time for a 47 µm tolerance.
  • Robustness: The optimized output effectively stayed within a 20 µm tolerance band in areas where the baseline (non-optimized) controller deviated by more than 100 µm.

Limitations and Future Work

  • Computational Overhead: While the first stage is fast (approx. 1 minute), the second-stage ANN optimization is computationally heavy, taking between 1 to 4 hours depending on the trajectory length. This makes it an "offline" pre-processing step rather than a real-time adjustment.
  • Training Time: Training the ANN model itself takes about 24 hours per axis.
  • Future Directions: The authors suggest exploring ways to reduce the computational load and potentially combining this "first-guess" optimization with Iterative Learning Control (ILC) to further refine accuracy over multiple repetitions.

Summary updated

BibTeX
@inproceedings{balula2024data,
  author = {Samuel Balula and Dominic Liao‐McPherson and Alisa Rupenyan and John Lygeros},
  title = {{Data-driven reference trajectory optimization for precision motion systems}},
  booktitle = {Control},
  year = {2024},
  doi = {10.1016/j.conengprac.2023.105834},
}
Figure