National Instruments 370757C-01 User Manual

Page of 71
Chapter 4
Controller Synthesis
© National Instruments Corporation
4-21
9.
Design the LQG compensator.
[Sysfs_sc,fs_evc]=fslqgcomp(Sysfs_se,Sysfs_sr)
Sysfs_sc (a state space system) =
  A
   0            1            0           0      
  -1           -1.00005      1           0      
   0            0            0           1      
   0.951712    -0.228069    -1.95171    -1.97571
  B
  5.52357e-17
  0.99005    
  0          
  0          
  C
  0    0    1    0
  D
  0
  X0
  0
  0
  0
  0
  System is continuous
fs_evc (a column vector) =
  -0.373302            
  -1.17564             
  -0.713411 + 1.33028 j
  -0.713411 - 1.33028 j
Enforce negative feedback:
Sysfs_sc = -Sysfs_sc;