View Single Post
  #10   Spotlight this post!  
Unread 18-02-2013, 09:26
ProgrammerMatt ProgrammerMatt is offline
Programmer-Electrical-Mechanical
FRC #0228 (Gus)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Southington
Posts: 138
ProgrammerMatt is just really niceProgrammerMatt is just really niceProgrammerMatt is just really niceProgrammerMatt is just really nice
Re: PIDController tuning

Hi, PID is a very nice tool when you get the hang of it, the first thing i would suggest is to not use I, I can cause oscillation over time because I adds power over time if the setpoint is not reached, P and D are what you want to use, I would suggest starting at about 0.01 for both P and D and work your way up. D will help you solve your overshooting problem because it will slow down the motor as you approach your setpoint.

Hope it helps,

-Matt
__________________
2015-2016 CSA
Software Engineering Student @ Johnson & Wales University
Team 228, Gus Robotics Inc.
Facebook
FLL Mentor for 1107, Edison Eagles!
2015- CT State Champions
2012- WPI Finalist(Thanks 1884 and 549), Spirt, Best Website
2011- WPI Chairman's award winners!
2010- WPI Champions! (thanks 230 & 20), WPI Engineering Inspiration, CT Best Website, CT VEX Champions (VRC228, VRC228b) (21-1-0)
2009- QCC VEX Champions (VRC228) (11-0-0), Innovate Award (VRC228)