PID Basics

version (212 KB) by Lucas García
PID Basics is a nice way to obtain a quick intuition and understanding of PID control.


Updated 11 Sep 2012

View License

The aim of this interactive tool is to make you familiar with PID control basics. PID Basics shows the response of a closed-loop system consisting of a PID controller and a process model.

You can choose from different controllers in their standard form (P, I, PI, PD and PID). All controller parameters can be adjusted as desired and you can observe how the responses depend on these controller parameters.

The process model can also be written in some different ways:
• Laplace Transform
• Zero-Pole Gain-Model
• Transfer Function

Several parameters can be modified interactively in the process and controller output plots by dragging the highlighted points in the graphs, including:
• Setpoint Magnitude
• Load Disturbance Magnitude
• Load Disturbance Time
• Noise Variance
• Noise Time

Parameters that characterize robustness and performance are also presented. Unstable closed-loop systems are quickly identified by the tool.

This tool is based on the interactive learning modules project by Jose Luis Guzman, Karl Johan Åström, Sebastian Dormido, Tore Hägglund, Manuel Berenguel, and Yves Piguet.

Cite As

Lucas García (2022). PID Basics (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!