基于FPGA的LQG控制器与硬件在环仿真器实现,面向纳米机械系统
FPGA-based LQG controller and hardware-in-the-loop simulator implementation for nanomechanical systems
开源框架在低成本Red Pitaya STEMlab FPGA平台上实现实时LQG控制与硬件在环仿真,控制器包含离散时间卡尔曼滤波与LQR,可处理最多三个耦合振荡自由度。配套HIL仿真器提供可配置的二阶随机被控对象及非线性输入输出映射,MATLAB工作流自动完成模型配置、控制器综合、数值缩放与FPGA部署。端到端演示了二维双势阱中悬浮纳米颗粒的稳定化。
arXiv:2606.31228v2 Announce Type: replace-cross 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
来源:arXiv (Optics + Display + Materials) · arxiv.org