Thread: What is P.I.D.?
View Single Post
  #7   Spotlight this post!  
Unread 14-02-2015, 01:33
Oblarg Oblarg is offline
Registered User
AKA: Eli Barnett
FRC #0449 (The Blair Robot Project)
Team Role: Mentor
 
Join Date: Mar 2009
Rookie Year: 2008
Location: Philadelphia, PA
Posts: 1,087
Oblarg has a reputation beyond reputeOblarg has a reputation beyond reputeOblarg has a reputation beyond reputeOblarg has a reputation beyond reputeOblarg has a reputation beyond reputeOblarg has a reputation beyond reputeOblarg has a reputation beyond reputeOblarg has a reputation beyond reputeOblarg has a reputation beyond reputeOblarg has a reputation beyond reputeOblarg has a reputation beyond repute
Re: What is P.I.D.?

Previous posts have already linked to in-depth explanations, so instead I'll just give a crude summary.

At any given moment, the "error" of your system is the difference between your set point and your current location.

The 'P' term contributes to output in a manner proportional to the current error. That is, if you are below the set point, the 'P' term will be positive.

The 'I' term contributes to output in a manner proportional to the sum of all past error. That is, if the sum of the error values at every previous iteration of your control loop is negative, then the 'I' term will be positive.

the 'D' term contributes to output in a manner inversely proportional to the rate of change of the mechanism's position. That is, if the mechanism is moving in the negative direction, then the 'D' term will be positive.

An easy way to think of this is that the 'P' term responds to where you are, the 'I' term responds to where you have been, and the 'D' term responds to where you're going.
__________________
"Mmmmm, chain grease and aluminum shavings..."
"The breakfast of champions!"

Member, FRC Team 449: 2007-2010
Drive Mechanics Lead, FRC Team 449: 2009-2010
Alumnus/Technical Mentor, FRC Team 449: 2010-Present
Lead Technical Mentor, FRC Team 4464: 2012-2015
Technical Mentor, FRC Team 5830: 2015-2016

Last edited by Oblarg : 14-02-2015 at 01:40.