File Exchange

image thumbnail

Z-N PID Controller Tuning

version (1.82 KB) by Reza Ahmadzadeh
Using this m-file, you can calculate the Z-N PID Controller in 2 - Methods


Updated 09 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.


Cite As

Reza Ahmadzadeh (2021). 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!