View Single Post
Old 01-05-2017, 03:59 PM   #2963 (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
Oh you don't need to graph it. I wasn't thinking. Just notice that it REALLY SLOWLY approaches zero. Zero means Id and Iq have officially converged to their commanded values. Your PI values are too small. Would it be practical to do the testing with like 50 volts instead of 25v? Now that it's being a little better behaved it might be safe. Either way, I'd try maybe doubling both Kp and Ki and run
run-pi-test2 again. The goal is to get the numbers to race to zero in maybe 20 or 30 or whatever iterations. like this:

511, 490, 400, ..., 50, 0, -50, 0, 20, (hurray, it converged!)
__________________
kits and boards
  Reply With Quote
The Following User Says Thank You to MPaulHolmes For This Useful Post:
motorulf (01-05-2017)