View Single Post
Old 08-28-2015, 03:49 PM   #1903 (permalink)
MPaulHolmes
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
Something funny is going on. I'm not sure about the code you have, but I've updated it on my end, so it will be good to know for sure what you have again.
P = 1, I = 0 should have resulted in ZERO current feedback the whole time. (it's just how the numbers work out on my end) The fact that your controller did what it did shows there was a problem in the software with something other than the PI loop.
__________________
kits and boards
  Reply With Quote