- Ajuda Scilab
- CACSD
- Plot and display
- Format representations and conversions
- pol2des
- routh_t
- ssprint
- abinv
- arhnk
- arl2
- arma
- arma2p
- arma2ss
- armac
- armax
- armax1
- arsimul
- augment
- balreal
- bilin
- bstap
- cainv
- calfrq
- canon
- ccontrg
- cls2dls
- colinout
- colregul
- cont_mat
- contr
- contrss
- copfac
- csim
- ctr_gram
- damp
- dcf
- ddp
- dhinf
- dhnorm
- dscr
- dsimul
- dt_ility
- dtsi
- equil
- equil1
- feedback
- findABCD
- findAC
- findBD
- findBDK
- findR
- findx0BD
- flts
- fourplan
- freq
- freson
- fspecg
- fstabst
- g_margin
- gamitg
- gcare
- gfare
- gfrancis
- gtild
- h2norm
- h_cl
- h_inf
- h_inf_st
- h_norm
- hankelsv
- hinf
- imrep2ss
- inistate
- invsyslin
- kpure
- krac2
- lcf
- leqr
- lft
- lin
- linf
- linfn
- linmeq
- lqe
- lqg
- lqg2stan
- lqg_ltr
- lqr
- ltitr
- macglov
- minreal
- minss
- mucomp
- narsimul
- nehari
- noisegen
- nyquistfrequencybounds
- obs_gram
- obscont
- observer
- obsv_mat
- obsvss
- p_margin
- parrot
- pfss
- phasemag
- ppol
- prbs_a
- projsl
- reglin
- repfreq
- ric_desc
- ricc
- riccati
- rowinout
- rowregul
- rtitr
- sensi
- sident
- sorder
- specfact
- st_ility
- stabil
- sysfact
- syssize
- time_id
- trzeros
- ui_observer
- unobs
- zeropen
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
lqg
LQG compensator
Calling Sequence
[K]=lqg(P,r)
Arguments
- P
syslin
list (augmented plant) in state-space form- r
1x2 row vector = (number of measurements, number of inputs) (dimension of the 2,2 part of
P
)- K
syslin
list (controller)
Description
lqg
computes the linear optimal LQG (H2) controller for the
"augmented" plant P=syslin('c',A,B,C,D)
(continuous time) or
P=syslin('d',A,B,C,D)
(discrete time).
The function lqg2stan
returns P
and r
given the
nominal plant, weighting terms and variances of noises.
K
is given by the following ABCD matrices:
[A+B*Kc+Kf*C+Kf*D*Kc,-Kf,Kc,0]
where Kc=lqr(P12)
is the controller gain and Kf=lqe(P21)
is the filter gain.
See example in lqg2stan
.
See Also
Report an issue | ||
<< lqe | CACSD | lqg2stan >> |