|
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.
|