View Single Post
Old 05-08-2015, 12:01 AM   #7053 (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
I have much better code for the PI loop for Id and Iq for the AC controller. There's even a secret extra step that I made up myself that automatically takes care of field weakening. It's not very secrety though. You can find the PI loop code here, starting on line 501:
https://github.com/MPaulHolmes/ACInd...onController.c

EDIT: Oops, you said field control, not field oriented control.
__________________
kits and boards

Last edited by MPaulHolmes; 05-08-2015 at 12:35 AM..
  Reply With Quote