Z-N PID Controller Tuning

Using this m-file, you can calculate the Z-N PID Controller in 2 - Methods


Updated Sun, 09 Jan 2011 17:17:45 +0000

View License

Method 1 . Using Step Response and Delay Time and Time Constant Parameters.

Method 2 . Using proportional controller action only. you should find critical gain and corresponding critical period.

all results come in 2 different output shape.
1- Controller with (Kp - Ti - Td)
2- Controller with (Kp - Ki - Kd)

These methods aimed at obtaining 25% maximum overshoot in step response.

>>> So the Z-N method just makes an initial PID Controller coefficients.
for a better controller you have to optimize the coefficient using many existing methods.


Cite As

Reza Ahmadzadeh (2023). Z-N PID Controller Tuning (https://www.mathworks.com/matlabcentral/fileexchange/29983-z-n-pid-controller-tuning), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes