FPGA-based LQG controller and hardware-in-the-loop simulator implementation for nanomechanical systems
Vojtěch Mlynář, Johannes Berndorfer, Andreas Kugi, Andreas Deutschmann-Olek
Abstract
We present an open-source framework for real-time Linear Quadratic Gaussian (LQG) control and hardware-in-the-loop (HIL) simulation on the affordable Red Pitaya STEMlab FPGA platform. The controller implements a discrete-time Kalman filter and Linear Quadratic Regulator (LQR) for systems with up to three coupled oscillatory degrees of freedom, targeting applications in levitated optomechanics, MEMS/NEMS, and related experimental platforms. Complementing the controller, the HIL simulator provides a~configurable second-order stochastic plant with nonlinear input and output mappings, enabling realistic closed-loop testing under real-time and fixed-point constraints. A MATLAB-based workflow automates model configuration, controller synthesis, numerical scaling, and FPGA deployment without requiring specialized hardware expertise. As an end-to-end demonstration, we present the stabilization of a levitated nanoparticle in a two-dimensional double-well potential, illustrating the complete workflow from model definition and simulation to real-time feedback control. The codebase: https://github.com/TU-Wien-ACIN-CDS/FPGA-based-LQG-and-HIL-simulator-for-nanomechanical-systems
Create a lesson
Metadata
- Categories
- eess.SY, cs.SY, physics.app-ph, physics.ins-det
- Comments
- Submission to SciPost
Related papers
Power Hardware-in-the-loop Interfacing via H_∞ Model Matching
Shared title terminologyeess.SYJonathan Eid, Ashley Meagher, Dmitry Rimorov et al.
Incentive-based Fleet Rebalancing in Vehicle-Sharing Systems via Equilibrium-Constrained Optimal Control
Shared title terminologyeess.SYDaniel Tihanyi, Giuseppe Belgioioso
Control of Complex Social Systems via Committed Minorities and Opinion Broadcast
Shared title terminologyeess.SYRoberta Raineri, Mengbin Ye, Lorenzo Zino
Koopman Lifting for Linear Encrypted Control of Nonlinear Systems: Applications to LQR and MPC
Shared title terminologyeess.SYUta Kawakami, Kenji Sawada
Data-driven control of polynomial systems using implicit methods
Shared title terminologyeess.SYAndrás Sasfi, Florian Dörfler, Ivan Markovsky et al.
Keeping Shielded Data-Driven Controllers Safe Under System Evolution via Model Consistency
Shared title terminologyeess.SYRoland Stolz, Vitus Lüntzel, Romain Pascual et al.