File Exchange

image thumbnail

Automated Ziegler Nicholas PID Tuning

version 1.1.0.0 (19.8 KB) by Waleed El-Badry
GUI for easily finding P,PI and PID gains using Ziegler Nicholas

94 Downloads

Updated 15 Sep 2014

View License

The submitted code is aimed to provide an easy tool to find the gain parameters of P,PI and PID using Ziegler Nicholas by providing the numerator and denominator coefficients of the plant mathematical model in Laplace domain. It determines the Critical Gain Kc and Ultimate Period Pu from Nyquist plot and hence calculating gain values for P, PI and PID. Thereafter plotting the closed loop responses of P,PI and PID calculated values. The period of plotting is also adjustable.
This GUI is part of a course conducted at Mechatronics Dept., Misr University for Science and Technology.

Here is a video demonstrating the operation:
http://youtu.be/ei-sQ_ugB1s?list=UUyoWzcKHpRCNYID2-nhwJXw

Cite As

Waleed El-Badry (2020). Automated Ziegler Nicholas PID Tuning (https://www.mathworks.com/matlabcentral/fileexchange/47836-automated-ziegler-nicholas-pid-tuning), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (14)

error:
Dot indexing is not supported for variables of
this type.

Error in PIDExperiment>gettf_Callback (line
65)
Plant=CreatePlant(handles.tfdata.num,handles.tfdata.den);

Error in gui_mainfcn (line 95)
feval(varargin{:});

Error in PIDExperiment (line 16)
gui_mainfcn(gui_State, varargin{:});

Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)PIDExperiment('gettf_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.

Hasan Sener

good job

rue obeid

There's an error

i am getting an error in the code whenever i try to run it is it just me or anyone had it also

Prem Pun

Updates

1.1.0.0

- Added video demonstration link on Youtube

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux