User`s guide

Table Of Contents
reg
11-176
11reg
Purpose Form regulator given state-feedback and estimator gains
Syntax rsys = reg(sys,K,L)
rsys = reg(sys,K,L,sensors,known,controls)
Description rsys = reg(sys,K,L) formsa dynamic regulator or compensator rsys given a
state-space model
sys of the plant, a state-feedback gain matrix K,andan
estimator gain matrix
L.ThegainsKand L are typically designed using pole
placement or LQG techniques. T he function
reg handles both continuous- and
discrete-time cases.
This syntax assumes that all inputs of
sys are controls, and all outputs are
measured.The regulator
rsys isobtained byconnecting thes tate-feedback law
and the state estimator with gain matrix
L (see estim). For a plant
with equations
this yields the regulator
uK
x
=
x
·
Ax Bu+=
yCxDu+=
x
ˆ
·
ALC BLD()K
x
ˆ
Ly+=
uKx
ˆ
=