Filter löschen
Filter löschen

how to get the control signal from the pid controller?

10 Ansichten (letzte 30 Tage)
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)?

Akzeptierte Antwort

Arkadiy Turevskiy
Arkadiy Turevskiy am 26 Apr. 2016
sys=C/(1+C*TF);
step(sys)
  2 Kommentare
Mohamed Aburakhis
Mohamed Aburakhis am 26 Apr. 2016
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 am 27 Apr. 2016
That's exactly what I answered.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by