Difference between revisions of "Output Feedback"
(3 intermediate revisions by the same user not shown)  
Line 5:  Line 5:  
{{chaptertable left}}  {{chaptertable left}}  
== Textbook Contents ==  == Textbook Contents ==  
−  {{am05pdfam08outputfbk  +  {{am05pdfam08outputfbk28Sep12Output Feedback}} 
* 1. Observability  * 1. Observability  
* 2. State Estimation  * 2. State Estimation  
Line 37:  Line 37:  
\end{aligned}  \end{aligned}  
</amsmath></center>  </amsmath></center>  
−  is said to be ''observable'' if we can determine the state of the system through measurements of the input <  +  is said to be ''observable'' if we can determine the state of the system through measurements of the input <amsmath>u(t)</amsmath> and the output <amsmath>y(t)</amsmath> over a time interval <amsmath>[0, T]</amsmath>. 
</p></li>  </p></li>  
Line 44:  Line 44:  
W_o = \begin{bmatrix} C \\ CA \\ \vdots \\ C A^{n1} \end{bmatrix}.  W_o = \begin{bmatrix} C \\ CA \\ \vdots \\ C A^{n1} \end{bmatrix}.  
</amsmath></center>  </amsmath></center>  
−  A linear system is observable if and only if the observability matrix <  +  A linear system is observable if and only if the observability matrix <amsmath>W_o</amsmath> is full rank. Systems that are not reachable have "hidden" states that cannot be determined by looking at the inputs and outputs. 
</p></li>  </p></li>  
Line 68:  Line 68:  
\det(sIA) = s^n+a_1 s^{n1} + \cdots + a_{n1}s + a_n,  \det(sIA) = s^n+a_1 s^{n1} + \cdots + a_{n1}s + a_n,  
</amsmath></center>  </amsmath></center>  
−  An observable linear system can be transformed into observable canonical form through the use of a coordinate transformation <  +  An observable linear system can be transformed into observable canonical form through the use of a coordinate transformation <amsmath>z = T x</amsmath>. 
</p></li>  </p></li>  
Line 75:  Line 75:  
\frac{d\hat x}{dt} = A \hat x + B u + L(y  C \hat x)  \frac{d\hat x}{dt} = A \hat x + B u + L(y  C \hat x)  
</amsmath></center>  </amsmath></center>  
−  generates an estimate of the state that converges to the actual state if <  +  generates an estimate of the state that converges to the actual state if <amsmath>A  LC</amsmath> is has eigenvalues with negative real part. 
−  If a system is observable, then there exists a an ''observer gain'' <  +  If a system is observable, then there exists a an ''observer gain'' <amsmath>L</amsmath> such that the observer error is governed by a linear differential equation with an arbitrary characteristic polynomial. Hence the eigenvalues of the error dynamics for an observable linear system can be placed arbitrarily through the use of an appropriate observer gain. 
</p></li>  </p></li>  
Line 95:  Line 95:  
\end{aligned}  \end{aligned}  
</amsmath></center>  </amsmath></center>  
−  where <  +  where <amsmath>v</amsmath> is a vector, white, Gaussian random process with mean 0, autocovariance <amsmath>R_w</amsmath>, <amsmath>w</amsmath> is a white, Guassian random process with mean 0, variance <amsmath>R_v</amsmath>. We take the initial condition to be random with mean 0 and covariance <amsmath>P_0</amsmath>. The optimal estimator is given by 
<center><amsmath>  <center><amsmath>  
\hat x(k+1) = A \hat x(k) + B u(k) + L(y(k)  C \hat x(k))  \hat x(k+1) = A \hat x(k) + B u(k) + L(y(k)  C \hat x(k))  
Line 111:  Line 111:  
</ol>  </ol>  
−  ==  +  {{chaptertable begin}} 
+  {{chaptertable left}}  
+  
+  <!  
+  == Additional Exercises ==  
+  The following exercises cover some of the topics introduced in this chapter. Exercises marked with a * appear in the printed text.  
<ncl>Output Feedback Exercises</ncl>  <ncl>Output Feedback Exercises</ncl>  
+  >  
== Frequently Asked Questions ==  == Frequently Asked Questions ==  
<ncl>Output Feedback FAQ</ncl>  <ncl>Output Feedback FAQ</ncl>  
Line 119:  Line 125:  
* [[:Category:Output Feedback errataFull list of errata starting from first printing]]  * [[:Category:Output Feedback errataFull list of errata starting from first printing]]  
* {{submitbug}}  * {{submitbug}}  
+  {{chaptertable right}}  
+  
+  == MATLAB code ==  
+  The following MATLAB scripts are available for producing figures that appear in this chapter.  
+  * Figure 7.4: {{matlabfileoutputfbkcompartment_sim.m}}  
+  * Figure 7.6: {{matlabfileoutputfbksteering_obs.m}}  
+  * Figure 7.8: {{matlabfileoutputfbksteering_outputfbk.m}}  
+  * Figure 7.9: {{matlabfileoutputfbkpvtol_est.m}}, {{matlabdirpvtol}}  
+  * Figure 7.11: {{matlabfileoutputfbksteering_twodof.m}}, {{matlabfileoutputfbksteering_twopoint.m}}, {{matlabfileoutputfbksteering_makepath.m}}, {{matlabfileoutputfbksteering_basis.m}}  
+  See the [[softwaresoftware page]] for more information on how to run these scripts.  
+  
== Additional Information ==  == Additional Information ==  
−  
−  
−  
Additional information about Kalman filtering, including an introduction to stochastic processes in continuous and discrete time, is also available in the {{obc}} supplement:  Additional information about Kalman filtering, including an introduction to stochastic processes in continuous and discrete time, is also available in the {{obc}} supplement:  
* {{obc chlinkStochastic Systems}}  * {{obc chlinkStochastic Systems}}  
* {{obc chlinkKalman Filtering}}  * {{obc chlinkKalman Filtering}}  
+  {{chaptertable end}} 
Latest revision as of 02:50, 29 October 2012
Prev: State Feedback  Chapter 7  Output Feedback  Next: Transfer Functions 
In the last chapter we considered the use of state feedback to modify the dynamics of a system through feedback. In many applications, it is not practical to measure all of the states directly and we can measure only a small number of outputs (corresponding to the sensors that are available). In this chapter we show how to use output feedback to modify the dynamics of the system, through the use of state estimators (also called "observers"). We introduce the concept of observability and show that if a system is observable, itis possible to recover the state from measurements of the inputs and outputs to the system.
Textbook ContentsOutput Feedback (pdf, 28Sep12)

Lecture MaterialsSupplemental Information

Chapter Summary
This chapter describes how to estimate the state of a system through measurements of its inputs and outputs:

A linear system with dynamics
is said to be observable if we can determine the state of the system through measurements of the input and the output over a time interval .
The observability matrix for a linear system is given by
A linear system is observable if and only if the observability matrix is full rank. Systems that are not reachable have "hidden" states that cannot be determined by looking at the inputs and outputs.
A linear system of the form
is said to be in observable canonical form. A system in this form is always observable and has a characteristic polynomial given by
An observable linear system can be transformed into observable canonical form through the use of a coordinate transformation .
An observer is a dynamical system that estimates the state of another system through measurement of inputs and outputs. For a linear system, the observer given by
generates an estimate of the state that converges to the actual state if is has eigenvalues with negative real part. If a system is observable, then there exists a an observer gain such that the observer error is governed by a linear differential equation with an arbitrary characteristic polynomial. Hence the eigenvalues of the error dynamics for an observable linear system can be placed arbitrarily through the use of an appropriate observer gain.
A state feedback controller and linear observer can be combined to form a stabilizing controller for a reachable and observable linear system by using the estimate of the state in the feedback control law. The resulting controller is given by
A discrete time, linear process with noise is given by
where is a vector, white, Gaussian random process with mean 0, autocovariance , is a white, Guassian random process with mean 0, variance . We take the initial condition to be random with mean 0 and covariance . The optimal estimator is given by
where the observer gain satisfies
This estimator is an example of a Kalman filter.
Frequently Asked Questions
Errata

MATLAB codeThe following MATLAB scripts are available for producing figures that appear in this chapter.
See the software page for more information on how to run these scripts. Additional InformationAdditional information about Kalman filtering, including an introduction to stochastic processes in continuous and discrete time, is also available in the OptimizationBased Control supplement: 