View Single Post
Old 05-07-2015, 11:01 PM   #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,368
Thanked 1,119 Times in 734 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-07-2015 at 11:35 PM..
  Reply With Quote