Thread: PID Help
View Single Post
  #4   Spotlight this post!  
Unread 25-12-2014, 14:53
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,113
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: PID Help

Take a look at this page specifically, it details the exact math behind each of the P, I, and D parts of the controller.
Integral:

Derivative:


So in the integral case, Ki = Kc/Ti. It's a similar thing for the derivative part.

Disclaimer: I have no idea if NI has changed their implementation since I last looked at it (a year or two ago), so verify exactly what constants are used with the 2015 docs when they come out.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote