Thread: PID: P+D or P-D
View Single Post
  #2   Spotlight this post!  
Unread 27-01-2008, 23:52
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,186
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: PID: P+D or P-D

Quote:
Originally Posted by billbo911 View Post
I have a light grasp on the PID control concept. There is one portion of it that I have seen presented with contradictory information. Currently, I understand the purpose and function for all three parameters: P, I & D. In the control system we will be using, we plan on just using a PD loop.

Here is the question: I have seen the equation represented as (Perror*KP)+(Derror*KD), I also have seen it as (Perror*KP)-(Derror*KD). So which is it, and when would I use one or the other?
D should take off your attack, so it should be P - D. If Kd is negative, P+D works too.