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!