View Single Post
  #13   Spotlight this post!  
Unread 04-08-2006, 09:02
X-Istence X-Istence is offline
Melt the RC controller!
AKA: Bert JW Regeer
no team
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Montville
Posts: 151
X-Istence will become famous soon enoughX-Istence will become famous soon enough
Send a message via AIM to X-Istence Send a message via MSN to X-Istence
Re: Sample PID code???

Quote:
Originally Posted by JBotAlan
I hate to sorta threadjack, but I'm also having problems with my PID code--I just can't get the thing to stop oscillating. I'll re-read over that whitepaper now that I have oodles of time, but I adjusted the terms according to the directions and got nowhere during the season. It works with minor disturbances, but seems to drift when it is sitting still, then detects the drift and reverses, into bigger and bigger oscillations.

I'll play with it probably next week, but right now I'm going to work on the camera code.

JBot
Mine does the same thing, I can't test anymore since the robot is out of my hands, but I definitely need to figure out why.

Quote:
Originally Posted by Qbranch
make sure you remove your deadband around neutral on the victors, don't just rely on your accumulator to do it since it will be accumulating error that doesn't exist.
Where would one stick this in a PID loop?
__________________
My Blog!