View Single Post
  #11   Spotlight this post!  
Unread 27-01-2010, 00:33
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: Position Control using potentiometer?

Quote:
Originally Posted by dyanoshak View Post
What do you have your PID constants set to now?

I would just start with P to begin with. With my setup, a pot on a window motor , my P is at about 500. This moves the shaft pretty quick to the setpoint. I would try stepping up from 50, until you get a good feeling for how much P causes the motor to turn.

The PID constants will be unique to the system.
My P was 158,
with an I of 0.001

I was unsure of how high the values could go, so I tried something pretty high in my opinion (So used to numbers from -1 to 1 ). When it wasn't quite working, the next thing i jumped to was I control.

What is the range for the PID constants? 10bits + sign (-1024 to 1023)?
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!
Reply With Quote