how to get the control signal from the pid controller?

1 回表示 (過去 30 日間)
Mohamed Aburakhis
Mohamed Aburakhis 2016 年 4 月 26 日
コメント済み: Arkadiy Turevskiy 2016 年 4 月 27 日
suppose we have simple code like this
As=[matrix A]; Bs=[matrix B]'; Cs=[matrix A]; Ds = 0; Syss = ss(As,Bs,Cs,Ds); TF=tf(Syss); FE=1; C=pid(kp,ki,kd); T=feedback(C*TF,FE)
how can I get the control signal (output of the PID controller)?

採用された回答

Arkadiy Turevskiy
Arkadiy Turevskiy 2016 年 4 月 26 日
sys=C/(1+C*TF);
step(sys)
  2 件のコメント
Mohamed Aburakhis
Mohamed Aburakhis 2016 年 4 月 26 日
I need to get the control signal which is the output of the PID. If I have system described above and I give the system step as reference signal step(T), how can I get the control signal vector.
Arkadiy Turevskiy
Arkadiy Turevskiy 2016 年 4 月 27 日
That's exactly what I answered.

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

その他の回答 (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