Abstract
An optimization-based method for improving the productivity of precision machine tools is proposed, where the reference path is computed in local coordinates, and information about the machine tool performance is learned from experimental data. The optimization yields a modified reference that is tracked by the existing low-level controller. The method is tested in simulation for a biaxial positioning system. The positioning system is modelled as double integrator, and the controller characteristic is modelled from experimental data using a least-squares fit. Simulation results show that the method is effective in designing optimal references even for challenging geometries such as sharp corners. The application of this procedure allows the retrofit of the control of existing machines with minimal overhead, by providing a modified reference file to track.
Introduction
In high-precision manufacturing, machine tools are required to follow complex paths with micrometer-level accuracy at high speeds. Traditionally, this performance is managed by low-level PID controllers. However, these controllers are often proprietary "black boxes" provided by manufacturers, making them difficult to tune or optimize for specific high-performance tasks without deep access to internal logic.
While advanced techniques like Model Predictive Control (MPC) can optimize performance, they are often too computationally expensive for real-time implementation, which requires sub-millisecond updates. Similarly, Iterative Learning Control (ILC) typically requires internal controller access. This research addresses the "retrofit" challenge: enhancing the speed and accuracy of an existing, fixed-controller machine without modifying its hardware or internal software.
Methodology
The proposed strategy utilizes a two-step offline optimization process designed to pre-compensate for the machine's known behaviors.
Closed-Loop Identification
Rather than modeling the motor and controller as separate entities, the researchers treat the entire closed-loop system as a single block. By using experimental data and a least-squares fit, they identify how the machine responds to various commands. This data-driven approach captures non-linearities and suboptimal performance characteristics that a theoretical model might miss.
Local Coordinate Optimization and Reference Design
The target path is transformed into a local coordinate system, analogous to a "racing line" on a track. This allows the optimization algorithm to evaluate deviations perpendicular to the path (contouring error) independently of progress along the path.
A non-linear optimization problem is then formulated and solved using the IPOPT solver in Julia. The goal is to minimize traversal time while ensuring the machine stays within a predefined "tolerance band" (e.g., ±20 μm). The output is a modified reference file that the existing controller follows to achieve superior performance compared to nominal tracking.
Experimental Results and Discussion
The method was evaluated using a physical biaxial positioning system to identify parameters, followed by simulations on challenging geometries: an Archimedean spiral and a "sharp" spiral with 90-degree steps.
Precision and Speed Trade-offs
In simulations, the optimized reference successfully kept the machine within a tight ±20 μm tolerance band, even during high-speed maneuvers. A key insight from the results is the "smart corner cutting" behavior: the algorithm naturally learns to deviate from the mathematical path by the maximum allowed tolerance at sharp corners. This allows the system to maintain a higher velocity rather than slowing down significantly to hit the corner perfectly.
As the allowed tolerance increases, the traversal time decreases significantly. Because the final output is simply a modified reference file, this method can be applied to existing industrial machines with virtually zero downtime, making it a highly practical solution for repetitive manufacturing tasks.
Conclusion
This optimization-based reference design provides a robust way to boost productivity in precision machining. By learning machine behavior from data and optimizing paths offline, manufacturers can achieve higher speeds without sacrificing required tolerances.
Currently, the method relies on the machine being highly repeatable and operates offline, meaning it does not account for real-time disturbances like tool wear. Future work will explore extending this to a "receding horizon" implementation for online learning and correction, further increasing the system's resilience to unforeseen disturbances.
Summary updated