frequency relay function for Zeigler nichols 2?

Hi,
I have to write matlab code/function for Zeigler Nichols 2(Closed Loop).
I wrote the code for solve of pid parameters, but I have problems in simulation of Closed Loop.
I understand that I need of relay, but as function or command I could not found.
----r-->+---e-|relay|--|PID|--u-|PLANT|-----------y->
^- |
|__________________________________|

Risposte (3)

Richiesto:

il 28 Apr 2013

Community Treasure Hunt

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

Start Hunting!

Translated by