Z-N PID Controller Tuning

Using this m-file, you can calculate the Z-N PID Controller in 2 - Methods
3.2K Downloads
Updated 9 Jan 2011

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.

S.R.Ahmadzadeh

Cite As

Reza Ahmadzadeh (2024). 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
1.0.0.0