state space model with constant term

조회 수: 24 (최근 30일)
Nikolaj Goodger
Nikolaj Goodger 2013년 1월 30일
댓글: Asser Mohamed 2020년 4월 8일
If i linearize a nonlinear system model of the form
dx/dt=f(x,u) so that it can be written in the form
dx/dt=Ax+Bu+constant
What is the best way to handle the constant if I want to create an lqr regulator or an observer? For example the system below?
A=[0 1 0;0 0 1;0 0 0] B=[0;0;1] Constant=[0;1;0]
  댓글 수: 2
Shashank Prasanna
Shashank Prasanna 2013년 1월 30일
This is not technically a state space representation. Could you give some information on what the constant is? is it an initial condition? Or atleast share what the f(x,u) looks like.
Nikolaj Goodger
Nikolaj Goodger 2013년 1월 30일
f(x,u) could be a nonlinear model of the form dx1/dt=x2 dx2/dt=x3^2 dx3/dt=u
If I then want to linearize the system at the point t0_x1,t0_x2,t0_x3 I end up with
dx1/dt=x2
dx2/dt=(x3-t0_x3)*2*t0_x3+t0_x3^2
dx3/dt=u
So then I could write in the form
dx/dt=Ax+Bu+constant where
A=[0 1 0;0 0 2*t0_x3;0 0 0] B=[0;0;1] constant=[0 t0_x3^2-t0_x3 0]
but as Azzi said i can consider the constant as a disturbance.

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

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 1월 30일
You can consider a constant as a disturbance signal. You can calculate your lqr regulator without this constant, but you should add to your system an integrator which will eliminate the effect of any disturbance signal. (m integrators for m outputs)
  댓글 수: 1
Nikolaj Goodger
Nikolaj Goodger 2013년 1월 30일
Thankyou. This put me on the right track and I was able to get a solution :-)

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

추가 답변 (1개)

Hesam Mazaheri
Hesam Mazaheri 2018년 5월 28일
편집: Hesam Mazaheri 2018년 5월 28일
hello, regarding your answer, how can i model this disturbance as an constant to the system in m-file by defining matrices A,B,C,D as ss, how can I add this constant term. after linearing a nonlinear system, my state space is like this: Xdot=Ax+Bu+G1(Constant term) y=Cx+Du+G2(another constant term)
  댓글 수: 1
Asser Mohamed
Asser Mohamed 2020년 4월 8일
I have the same question. hope you can give us an answer

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

카테고리

Help CenterFile Exchange에서 State-Space Control Design and Estimation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by