how to add uncertainty in the plant ? and how to design controller for this ?

조회 수: 5 (최근 30일)
Aniket
Aniket 2013년 4월 29일
Hello I have done code and simulink model of LQG controller with internal model , now i want to simulate it with uncertainty ..how should i add uncertainty in the internal model or plant ?
my code is
**************% Plant *******
A = [0 1;-50 -10];
B = [0;1];
C = [20 0];
D = 0;
G = ss(A,B,C,D)
%******* Disturbance model or internal model ******
An = [0 8*pi; -8*pi 0];
Gn = [0;1];
Cn = [1000 0];
Dn = 0;
g1 = [0 1]';
z = ss(An,Gn,Cn,Dn)
%*********** Augmented system Plant + Disturbance model *********
Aaug = [A g1*Cn;zeros(2) An]
Baug = [B;zeros(2,1)];
Gaug = [zeros(2,1);Gn];
Caug = [C zeros(1,2)];
Daug = 0;
Saug = ss(Aaug,Baug,Caug,Daug)
% ****** controller gain********
QX = [1 0 0 0;0 0 0 0;0 0 0 0;0 0 0 0]
R = 10^-8
[Kc,S,E] = lqr(Aaug,Baug,QX,R)
%*****estimator gain *******
QW = 0.01;
QV = 0.01;
L= lqe(Aaug,Gaug,Caug,QW,QV)
*****************************
my simulink model
upper part is disturbance model
mid part is plant model
thank you
  댓글 수: 1
Aniket
Aniket 2013년 4월 30일
Hello , Any one knows about this ? it will help me a lot for my project.
Thank you

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by