Simulink Constant Ramp Controller
古いコメントを表示
Hi all,
In order to explain my problem, I've attached a Simulink model to this post. It consists of a classic PID control loop which calculates the response of the system to a signal step at the input. What I am looking for is a controller to replace the PID, which guarantees a constant slope over the entire step response, ideally without any remaining controll error. I've already tried different approaches, none of them seem to work reliably. Any ideas?:)
Cheers
Alex
2 件のコメント
Nikhil
2023 年 7 月 6 日
Can you explain what you mean by ' a constant slope over the entire step response ' ?
Alexander Reiter
2023 年 7 月 6 日
採用された回答
その他の回答 (1 件)
Yes, It helps. You can derive the transfer function for the controller since you know the transfer function for the system and the desired output from the equation:

where Y(s) is the output, which would be
for a signal of constant slope m,
G(s) is C(s)*P(s), where P(s) is the system tranfer function, which in your case is
as your system is an integrator,
as your system is an integrator, H(s) is the feedback transfer function, which is 1,
U(s) is the input signal, which would be
for the case of a step input.
for the case of a step input.The controller transfer function would then turn out to be 

You can then use a Transfer Function block to implement the controller.
3 件のコメント
Alexander Reiter
2023 年 7 月 6 日
Alexander Reiter
2023 年 7 月 6 日
Nikhil
2023 年 7 月 6 日
You can limit the output of the integrator block by enabling Limit output option.
カテゴリ
ヘルプ センター および File Exchange で Simulink についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

