View Single Post
Old 07-23-2009, 10:09 PM   #2080 (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,202 Times in 765 Posts
Hey squiggles! That's a good question! I should try that.

Also, on the EVTech list, they suggested the following. I'm trying to understand it right now:

What if you lower the motor current limit as the PWM duty cycle
raises, but not in such an extreme fashion?

currentCommand = throttle*(constant - pwmDuty)

or

currentCommand = throttle / (pwmDuty + constant)

The second method is basically what you're currently doing, except
with a constant added to pwmDuty to make the low-rpm behavior act
reasonable.
__________________
kits and boards
  Reply With Quote