Code covered by the BSD License  

Highlights from
DPLQR

Be the first to rate this file! 4 Downloads (last 30 days) File Size: 2.18 KB File ID: #19120

DPLQR

by Ivo Houtzager

 

09 Mar 2008 (Updated 09 Mar 2008)

Nonsteady LQ state-feedback gain design with final state penalty

| Watch this File

File Information
Description

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.

Required Products Control System Toolbox
MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
lqr lqg final state dplqr Ivo Houtzager 22 Oct 2008 09:52:32

Contact us at files@mathworks.com