Go to Post Compact gearboxes are a wonderful thing. - Cothron Theiss [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 02-25-2013, 03:51 PM
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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:52 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi