pid tunnig with non unity feedback

12 ビュー (過去 30 日間)
metchat aissa
metchat aissa 2020 年 4 月 1 日
コメント済み: metchat aissa 2020 年 4 月 2 日
Hello, I would like to know what the code would be to obtain the PID values for the sys below,
with G , H are two tranfers functions and C is the pid controller
i used the following code but it didn't work!!!
C=pidtune(feedback(G,H),'pid',1.0)
sys=feedback(C*G,H)
step(sys)
Thank you.
A greeting.

採用された回答

Birdman
Birdman 2020 年 4 月 1 日
Try the following approach:
s=tf('s'); %needed to define transfer function in s domain
G=1/3*s+4;H=1/(0.1*s+1); %if feedback is not unity, then it has to be considered in open loop, as G*H
C=pidtune(G*H,'PID',1)
sys=(C*G)/(1+C*G*H)
step(sys)
  1 件のコメント
metchat aissa
metchat aissa 2020 年 4 月 2 日
thank for your help :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePID Controller Tuning についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by