autoQR: Automatic Selection of Q and R in LQR controller

The script in this upload automate the Q and R weighting matrices selection in LQR controller design.
128.0 次下载
更新时间 2024/1/23

查看许可证

The Linear Quadratic Regulator (LQR) controllers are powerful tools for controlling linear time-invariant systems. However, the choice of the weighting matrices (Q and R) in the cost function has a significant impact on the controller's behavior. For intance, the Q matrix penalizes the errors in each state variable, while the R matrix determines the importance of minimizing the control effort. A higher value in Q for a particular state indicates that minimizing the deviation of that state from the reference is more critical. Conversely, a smaller value implies that deviations in that state are less significant. Likewise, A higher value in R for a particular control input implies a higher penalty for using that input. This encourages the controller to use control inputs efficiently and avoid unnecessary or excessive control effort.
Thus we try to automated the selection of this Matrices in the uploaded script. The script requires the state space matrices; A, B and C as input and compute the values of Q and R suitable for your LQR controller design.
you can read more about this in the following conference paper: https://ieeexplore.ieee.org/document/10380869

引用格式

Salawudeen Ahmed Tijani (2025). autoQR: Automatic Selection of Q and R in LQR controller (https://ww2.mathworks.cn/matlabcentral/fileexchange/158181-autoqr-automatic-selection-of-q-and-r-in-lqr-controller), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2023b
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0