DPLQR
The m-file "dplqr" which solves the discrete nonsteady-state optimal control problem by a backwards iteration. The problem is to find K[n] in the state-feedback u[n] = -K[n]x[n], and minimizes
J = 0.5*sum(x[n]'Qx[n] + u[n]'Ru[n]) + 0.5*x[N]'Fx[N]
subject to x[n+1] = Ax[n] + Bu[n] with n = 0...N-1.
The inclusion of the x[N]'Fx[N] implies the desire to reach the final state as close as possible. Compared to "normal"
LQR/LQG design where the weighing matrices Q and R needs to be given at the input, this function requires also that the final-state weighing matrix F is given at the input.
Zitieren als
Ivo Houtzager (2024). DPLQR (https://www.mathworks.com/matlabcentral/fileexchange/19120-dplqr), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Control Systems > Control System Toolbox > Control System Design and Tuning > State-Space Control Design and Estimation >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |