frequency relay function for Zeigler nichols 2?

1 view (last 30 days)
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->
^- |
|__________________________________|

Answers (3)

Azzi Abdelmalek
Azzi Abdelmalek on 28 Apr 2013
Maybe you mean a delay block

Myumyun
Myumyun on 28 Apr 2013
Edited: Myumyun on 28 Apr 2013

Myumyun
Myumyun on 29 Apr 2013
If there isn't function/command for this,
Pls you give me some information on how I can write code.

Community Treasure Hunt

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

Start Hunting!