RLMPC: Real-Time Repetitive Learning Control for High-Speed Manufacturing

Overview

In mass manufacturing, machines perform the same task millions of times. Yet, traditional controllers suffer from “amnesia”—they treat every cycle as a new event, repeating the same errors over and over due to unmodeled dynamics.

We developed RLMPC (Repetitive Learning Model Predictive Control), a control strategy that gives machines “muscle memory.” By analyzing error patterns from previous cycles, the controller updates its internal model in real-time, progressively eliminating periodic disturbances that standard controllers cannot see.

RLMPC Algorithm Flow The controller uses a memory buffer of previous cycles to update the LTV model along the prediction horizon, effectively linearizing along the learned optimal trajectory.

Motivation

Traditional Model Predictive Control (MPC) approaches face a fundamental trade-off:

  • Linear MPC: Fast computation but cannot handle nonlinear dynamics accurately
  • Nonlinear MPC: Accurate but computationally expensive for real-time control

RLMPC bridges this gap by using a Linear Time-Varying (LTV) internal model whose sensitivities are updated online using real-time measurements—achieving nonlinear accuracy at linear computational cost.

The Algorithm: Learning via LTV Sensitivities

Instead of solving a non-convex optimization problem at every step, RLMPC uses an LTV internal model with online-updated Jacobians:

StepActionDescription
RecallRetrieve previous cycleAccess state/input trajectory from the previous cycle
UpdateCalculate new dynamicsCompute linearized A, B matrices based on actual system state
SolveSingle QP optimizationFind optimal correction via convex quadratic program
Execute & StoreApply and memorizeExecute trajectory and store for next cycle refinement

The key insight: linearize along the learned optimal trajectory rather than a static reference, bridging linear efficiency with nonlinear accuracy.

Results

Tested on a simulated R2R mechanical dry transfer process where adhesion forces create complex, periodic disturbances.

Tension Convergence Evolution of tension control over 32 cycles: oscillating error (Cycle 1) flattens out (Cycle 32) as the system learns the disturbance profile.

MetricLinear MPC (Baseline)RLMPC (Ours)Improvement
RMSE (Cycle 1)2.19 N2.19 N0%
RMSE (Cycle 32)2.19 N0.79 N64%
Computation Time~3 ms~3 msSame Cost

The “learning” effect is clearly visible: in Cycle 1, error is high (RMSE: 2.19 N). By Cycle 32, the controller has learned the disturbance profile, reducing RMSE to 0.79 N—a 64% improvement at no additional computational cost.

Technical Approach

At each timestep, RLMPC solves a Convex Quadratic Program (QP) where the system matrices A and B are updated every cycle using the full nonlinear process model. This approach:

  • Maintains real-time feasibility (~3ms per solve)
  • Achieves nonlinear accuracy through iterative linearization
  • Provides constraint satisfaction via QP formulation
  • Enables progressive learning of periodic disturbances

Application: Roll-to-Roll Dry Transfer

R2R Dry Transfer Schematic Schematic of the roll-to-roll mechanical dry transfer process: donor and receiver substrates are laminated, then separated to transfer material/devices.

The R2R mechanical dry transfer process involves precise tension control during material transfer between rollers. Adhesion forces create complex, periodic disturbances that standard MPC cannot anticipate. RLMPC learns these patterns cycle-by-cycle, effectively building a “muscle memory” of the process dynamics.

Tools & Implementation

  • Optimization: Convex QP solver for real-time control
  • Model: Linear Time-Varying (LTV) with online Jacobian updates
  • Application: Roll-to-roll dry transfer manufacturing
  • Performance: 3ms computation time, suitable for high-speed loops

Publication

Martin, C., Li, S., Li, J., Li, W., & Chen, D. (2026). A Repetitive Learning Model Predictive Control Method for Nonlinear Systems with Application to Roll-to-Roll Manufacturing. American Control Conference (ACC), Accepted.

@inproceedings{martin2026rlmpc,
  title={A Repetitive Learning Model Predictive Control Method for Nonlinear Systems with Application to Roll-to-Roll Manufacturing},
  author={Martin, Christopher and Li, Shihao and Li, Jiachen and Li, Wei and Chen, Dongmei},
  booktitle={American Control Conference (ACC)},
  year={2026}
}