State space model with disturbance
조회 수: 20 (최근 30일)
이전 댓글 표시
@Paul If I have a system x_dot= [500 0;0 0.1]x+[50;0]u+[0 0.001]d and y= [0 1]x. So I want to make an LQR controller but my problem with the disturbance term and how can I deal with it?
댓글 수: 2
Sam Chak
2022년 4월 4일
Do you have the knowledge about the disturbance d?
Is the disturbance d bounded?
Try providing these info before @Paul comes.
답변 (2개)
Sam Chak
2022년 4월 5일
I refer to the state-space system from another post that you opened in the link:
where u is the controller, and w is the unmatched bounded disturbance that you mentioned above.
If the unmatched disturbance w is measuarable, then the proposed controller u is given by
where ζ and Ω are the two control parameters to be determined. Note that ζ is damping ratio and Ω is the undamped natural frequency of the control system.
If you let the autotuner to design the Linear Quadratic Regulator (LQR) for you and obtain the gains , then you can apply
.
Try it and show the result to see if it works or not.
댓글 수: 4
Sam Chak
2022년 4월 6일
Can you confirm if the following LQR u?
Can you confirm which of the following disturbance is true?
... as displayed in your code
... according to Ohm's Law
where .
The lsim() function can take multiple inputs, but the first input and the second input are fed into different "systems". You can find the desired output using the superposition principle if it holds.
Else, can you consider using the more direct approach with the ode45() method to feed in the LQR u and the disturbance w?
with initial condition , and .
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!