Thread: PID problems
View Single Post
  #1   Spotlight this post!  
Unread 25-02-2013, 15:51
Pulverator's Avatar
Pulverator Pulverator is offline
Registered User
FRC #1551 (The Grapes of Wrath)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Naples
Posts: 8
Pulverator is an unknown quantity at this point
PID problems

We are using PID to control the speed on our shooter wheels. We need to set the back wheel to 1900 RPM, and the front wheel to 2700 RPM. On Monday night, we got it to speed up to the correct speed in under 1 second, and stay there with almost no error. Later that night, with the same code, it refused to work correctly. Both of the motors would speed up to around 200 RPM higher than their target, and stay there. The Victor lights showed that the only speeds being sent were full forward and full reverse. We swapped the victors and the motors, and the problem persisted. I have also re-imaged the cRIO, and used different laptops. The setpoint, output range, and PID values are all exactly the same as when it was working, and no changes have been made to the code. I have no idea what is going on.
Reply With Quote