Code covered by the BSD License  

Highlights from
PID Basics

5.0 | 2 ratings Rate this file 85 Downloads (last 30 days) File Size: 212 KB File ID: #37962
image thumbnail

PID Basics



04 Sep 2012 (Updated )

PID Basics is a nice way to obtain a quick intuition and understanding of PID control.

| Watch this File

File Information

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.

Required Products Control System Toolbox
MATLAB release MATLAB 8.0 (R2012b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
28 Sep 2012 Bora Eryilmaz  
05 Sep 2012 Philip

Philip (view profile)

@Slimfast: make sure you are using R2012a.

Comment only
05 Sep 2012 Philip

Philip (view profile)

It works great for me. I plan to use this in class.

04 Sep 2012 Slimfast

Does not work:
Attempted to access removePos(1); index out of bounds because numel(removePos)=0.

Error in PIDBasics>displayTfProcess (line 693)
tftext = tftext(removePos(1)+4:removePos(2)-4);

Error in PIDBasics>PIDBasics_OpeningFcn (line 69)
tfprocessText = displayTfProcess(G);

Comment only
12 Sep 2012

Updated to include an App file for R2012b.

Contact us