- The paper introduces a hybrid approach that integrates feedback linearization with REINFORCE to adaptively compensate for unmodeled disturbances.
- It leverages Lyapunov methods to guarantee closed-loop stability while demonstrating superior convergence and tracking performance in simulations.
- The controller exhibits robust disturbance rejection and reduced tracking error, highlighting its practical potential in high-performance mechatronic applications.
Learning-Based Control of Nonlinear Mechatronic Systems via Feedback Linearization and REINFORCE
Introduction
This paper introduces a hybrid methodology for controlling nonlinear mechatronic systems, integrating model-based feedback linearization with reinforcement learning (RL)—specifically, the REINFORCE-with-baseline algorithm—for the adaptive compensation of unmodeled dynamics and external disturbances. The approach is evaluated on a single-degree-of-freedom (DoF) Quanser AERO rotor system, a relevant benchmark in mechatronic control. Emphasis is placed on ensuring formal closed-loop stability via Lyapunov analysis, while leveraging data-driven adaptation for robustness in uncertain and disturbed environments.
System Model and Control Law Derivation
The single-DoF Quanser AERO system is reduced to pitch dynamics governed by a nonlinear second-order ODE. The control synthesis rewrites system dynamics as
α¨=f+bVm​
where f and b exhibit parametric uncertainties and insufficiently modeled effects. Decomposition into estimated and uncertain components enables separating nominal dynamics (for which feedback linearization can guarantee stability) and aggregated disturbance d. The core sliding-mode inspired error signal η=α~˙+λα~ shapes the feedback linearization law, providing ultimate boundedness of the tracking error, contingent on disturbance compensation accuracy. Stability is formally treated using Lyapunov methods, showing that boundedness of the disturbance estimate implies uniformly ultimately bounded closed-loop error.
RL-Based Disturbance Compensation
A policy-gradient reinforcement learning agent is embedded to online estimate and compensate d. The disturbance compensator outputs are interpreted as RL actions, and the policy is parameterized as a Gaussian actor with learnable mean and log-standard deviation, both neural network outputs, with the critic baselining the value function. Generalized Advantage Estimation (GAE) with temporal-difference advantage normalization fosters variance reduction and stable policy updates.
The reward function adopts an exponentially-weighted, negative absolute error metric, time-scaled to accentuate steady-state performance and facilitate robust policy improvement even in nonstationary regimes. This formulation tightly couples the RL agent’s objective to disturbance rejection and output regulation.
Numerical Evaluation
Simulation studies systematically evaluate (i) learning progression and convergence characteristics and (ii) closed-loop performance under realistic uncertainties and external disturbances.
The REINFORCE-with-baseline algorithm exhibited marked improvements in both convergence speed and policy stability compared to vanilla REINFORCE, with the best trade-off achieved at a learning rate κ=1×10−4, where rapid and robust learning occurred in approximately 2,500 episodes. Vanilla REINFORCE was unable to converge reliably at lower learning rates and exhibited significant instability.
A comprehensive evaluation—100 simulation trials with randomized initialization—was conducted to compare the hybrid controller against pure feedback linearization. The learning-based strategy systematically achieved superior trajectory tracking while maintaining similar control effort profiles. Notably, the controller’s learned compensator d^ exhibited oscillatory adaptation in alignment with system demands, further supporting robust performance.

Figure 1: Averaged results over 100 simulations comparing conventional feedback linearization and the hybrid controller, revealing significantly reduced tracking error for the learning-based method.
Robustness assessment under randomized, nonstationary disturbance injections demonstrated that the trained policy maintains low and bounded tracking errors without additional adaptation, signaling strong generalization across variable environments and disturbance profiles.

Figure 2: Disturbance rejection and robustness analysis under random external perturbations, confirming resilience and adaptive compensation capabilities of the RL-enhanced controller.
Implications and Discussion
The integration of policy-gradient-based adaptation within the analytically-certified feedback linearization law is notable for maintaining closed-loop stability (by design) while adaptively suppressing unmodeled disturbances. The results confirm that model-free adaptation can be reliably layered atop classic model-based controllers with preserved safety guarantees in practice—an essential requirement for critical mechatronic applications.
The separation of stability guarantees (delegate to the model-based core) and adaptation (delegate to an RL agent) supports a structured safety architecture, allowing RL enhancements without compromising formal system properties. The use of baseline-augmented policy gradients enables rapid, stable learning even in the presence of model nonstationarity, as verified numerically.
Practically, such architectures may accelerate real-world deployment of adaptive control in robotics, aerospace, and related fields, where accurate modeling is often infeasible but safety cannot be compromised.
Future Directions
Future work may focus on expanding the theoretical framework to multi-DoF systems, exploration of more expressive RL policies (including recurrent or attention-based architectures for disturbance estimation), and formalization of input and state constraints. Experimental validation on physical hardware, closed-loop verification techniques, and integration with safe RL paradigms (Lyapunov-based constraints, model predictive RL) are promising extensions.
Conclusion
The paper rigorously demonstrates that embedding REINFORCE-with-baseline disturbance compensation within a Lyapunov-certified feedback linearization scheme substantially enhances tracking performance and robustness in nonlinear mechatronic systems subjected to uncertainties and disturbances. The hybrid approach achieves near-nominal regulation without destabilizing the system, validating the theoretical approach with strong simulation evidence in both nominal and disturbed environments. This paradigm exemplifies viable synthesis of formal and data-driven methods for adaptive control of high-performance cyber-physical systems.