|
Re: PID Troubleshooting
Well? What is your definition of a spike? Maybe something you had declared overflowed? I have had a spike issue before when I did not do my math in a long integer and when I had the controller do the calculation all on one line, rather than breaking the operations into different pieces.
Could you post how you're approaching the pid?
Thanks!
Kiet
__________________
-Kiet Chau
2004-2008 - Software Developer/Driver on Team #968
2008-2011 - Software Developer/Coach/Mentor/"Engineer" on Team #968
2011-Present - Mentor & Engineer on Team #1538
www.team1538.com
|