Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   PID Control (http://www.chiefdelphi.com/forums/showthread.php?t=79976)

Manoel 12-01-2010 20:45

Re: PID Control
 
Quote:

Originally Posted by virtuald (Post 897097)
I made a spreadsheet to model an ideal PID system. Its useful for understanding some of the basics, and how changing the parameters affects the output of the system.

http://www.virtualroadside.com/blog/...n-spreadsheet/

Dustin,

Your spreadsheet looks cool, but have you stopped to think what is this "position" you're calculating? Is the spreadsheet a) simply a way of showing how the P, I and D gains of the controller change the step response of the closed loop system with a particular plant (in your case, an integrator), or b) a simulator to predict how the PID controller will affect "a system" whatever it may be, from a steam locomotive speed or airplane roll to a FIRST robot's arm?

The answer it a), of course, and it is important to know the difference and clearly state it. If a student downloads your file and then uses it to tune his team's robot arm/speed/position control not understanding what exactly this spreadsheet does - obviously it is not magic as to work for every plant in the world -, he could come up with an unstable or severely oscillatory system, damaging equipment or worse, getting injured; at the very best, he'll be frustrated the robot doesn't behave the way it is expected to. With that disclaimer, I believe your spreadsheet can be useful in teaching students the basics of PID control.

ASTDan 12-01-2010 21:10

Re: PID Control
 
PID control takes some experience to tune.

Start with P, than I. Usually you don't need D. Sometimes you can get away with just P

Here are some good articles

http://www.controleng.com/article/26...ndamentals.php

http://zone.ni.com/devzone/cda/tut/p/id/6368

http://zone.ni.com/devzone/cda/tut/p/id/3782

Great book

http://www.amazon.com/Controller-Tun.../dp/0966970306


All times are GMT -5. The time now is 20:33.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi