File Exchange

image thumbnail

PID Controller Matlab Code

version 1.0 (1.29 KB) by

This folder contains the files to simulate a PID controller for a first order time delay system

4.71429
7 Ratings

105 Downloads

Updated

View License

Most of the time we use Simulink to simulate a PID controller. But this files run it as a Matlab code.
Extract the files to the working directory and just run the file PID_ctrl_call.m.
You can vary the PID tuning parameters in the file pid_ctrl.m and see what will happen.

Comments and Ratings (10)

Thien Tran

thanks

Van

Van (view profile)

i want a pid controller

i need reference for velocity algorithm m file

Tong

Tong (view profile)

Aidan

Aidan (view profile)

i want pid programming for reactive distillation column

Arkadiy Turevskiy

For people looking for a comprehensive collection of resources on PID tuning, design, and implementation, take a look at this page:
http://www.mathworks.com/discovery/pid-control.html

Arkadiy Turevskiy

Thanks for an interesting submission. If you are interested in designing and tuning PID controllers in MATLAB and Simulink, please take a look at new PID tuning capabilities shipped in Simulink Control Design in R2009b:
http://www.mathworks.com/products/simcontrol/description2.html

There is also a webinar on the subject:
http://www.mathworks.com/company/events/webinars/wbnr38619.html?id=38619&p1=636028070&p2=636028082

and MATLAB Digest article:
http://www.mathworks.com/matlabcentral/fileexchange/22150-pid-controller-matlab-code

Updates

1.0

Updated

MATLAB Release
MATLAB 7.0.1 (R14SP1)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

PID Controller Matlab Code/