Thread: Current Control
View Single Post
  #8   Spotlight this post!  
Unread 18-06-2010, 19:30
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Current Control

Marshall -

Please make sure you have the latest firmware loaded. There was a small error in the calculations that was patched. I don't think it would create your issue, but you might as well check.

I'm unsure of what the units in the PID are. I tuned it as I tune any other PID loop: blindly.
1) Crank P until it oscillates, cut it in half (or more).
2) Crank I until it hits the set point "quick enough".
3) Mess with D and I until either
a) It looks good, or
b) I find something better to do.

It isn't a great method, but it has worked for me in the past. I'd suggest trying to remove the science from it and go at it from a "fiddle with the knobs" perspective.

Hopefully someone with more science will delete this post and put the real method up.
Reply With Quote