View Single Post
Old 05-25-2009, 10:37 AM   #1397 (permalink)
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 12 Times in 9 Posts
Wait wait... you misread... Keep sampling the current at every waveform and keep doing the rolling average thing. What i meant was, can you do the PI thing at 4 or 8kHz? Adjust your PWM duty every 2 or 4 pwm cycles. You are reacting on every single cycle to a value that is averaged out over the last X cycles.

If you find that the throttle is being read smoothly, then don't bother filtering it. I would assume that you already have a filter capacitor on the throttle, that should be fine.
  Reply With Quote