Ttelmah
Joined: 11 Mar 2010 Posts: 19504
|
|
Posted: Tue Jul 20, 2010 8:00 am |
|
|
A forum search would find a lot of stuff....
You are not going to find a 'off the shelf' system, since every system of this sort is different, with different coefficients needed, and usually custom connections. A long time ago, I posted the core 'maths' for a PID servo system, using integer arithmetic, in the thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=19703
I have also posted the code for handling a quadrature decoder quickly (assuming this is a motion PID, not something like a heating system....).
Best Wishes |
|