View Single Post
Old 04-17-2009, 11:07 AM   #958 (permalink)
MazdaMatt
Master EcoModder
 
Join Date: Jun 2008
Location: London, Ontario
Posts: 1,096

2k2Prot5 - '02 Mazda Protege5
90 day: 33.82 mpg (US)
Thanks: 0
Thanked 17 Times in 14 Posts
I really stand by the suggestion to use a PI rather than fuzzy control algo. Considering the system, my greatest suggestion would be state-space, but we'll get into that later. It will do the same thing as the PI but with less varied response over the speed range.

If we added a speed sensor, we could have the controller automatically calculate the motors characteristics (V = I*R + x*rpm) and work the pwm output accordingly.

Current feedback pwm control using PI is really not that hard to implement or processor intensive... we're just using a really bottom-of-the-barrel processor. It also makes hardware limited completely moot except in disaster fail cases.
  Reply With Quote