User:Mtxu
From Wikimization
Line 18: | Line 18: | ||
<math>v(x)=x'*P*x=x'*W^(-1)*x</math>. | <math>v(x)=x'*P*x=x'*W^(-1)*x</math>. | ||
+ | |||
<math>x'*(A'*P+P*A)*x-2*x'P*B*K*x<0</math>. | <math>x'*(A'*P+P*A)*x-2*x'P*B*K*x<0</math>. | ||
+ | |||
<math>u(t)=-K*x(t)</math>. | <math>u(t)=-K*x(t)</math>. | ||
Line 29: | Line 31: | ||
The ecuation must: <math>min f(W,R)=min(p1)+min(p2)</math> | The ecuation must: <math>min f(W,R)=min(p1)+min(p2)</math> | ||
subject to: | subject to: | ||
- | <math> | + | <math>w_nn \leq{} p1</math> |
<math>-p2 \leq{} r_qn\leq{} p2</math> | <math>-p2 \leq{} r_qn\leq{} p2</math> | ||
Line 66: | Line 68: | ||
<math>min(p1+p2)</math> | <math>min(p1+p2)</math> | ||
under | under | ||
- | <math>\epsilon1\leq w_nn \leq p1</math> | + | <math>\epsilon1 \leq w_nn \leq p1</math> |
- | <math>-p2\leq r_qn\ | + | <math>-p2 \leq r_qn\leq p2</math> |
<math>C_k(W,R)</math> | <math>C_k(W,R)</math> | ||
<math>k=1,...z</math> | <math>k=1,...z</math> |
Revision as of 12:45, 2 February 2009
Hello,
I'm Maria Calle, I have an answer abot CVX and how to work with. I hope here is the place for answer about.
I'm one student from Spain. I'm studing engienering in automatic control. I'm in my last year and I'm making a proyect of investigacion. It's about LQR and how to sintonice it by pole assignment.
I have some problems with the initialitation of the gain matrix. I'm reading one article for know how to make it. In the article they said that it's necessary to solve by convex programm. Until last week I didn't knew anything about convex program.
So I'm begining whit CVX program and now I'm lost. Could you help me? I don't know how to continue.
I have a system, A, B and C. It have to move poles to one region, for it, I make a transform to the original system. (A_alfa, B_alfa, C_alfa).
I have to know the gain matrix, with is:
It's knew that:
.
.
.
and
.
The ecuation must: subject to:
with
and:
Now the article says that aplaing the convex programm, it posible to solve the ecuation.
They present the next algoritm: 1) Initialization 2)Calculate
3)if STOP
Else calculate eigenvalues(v_w y v_Hij). calculate the constraint linear: C1(W,R) if if
4)Solve under Now I have no idea of how to continue, or how to program the algoritm.
They said the method for solving it's mathematical convex program.
Thanks a lot for all, Greetings.