state space model with constant term
조회 수: 24 (최근 30일)
이전 댓글 표시
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
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.
채택된 답변
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개)
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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!