View Single Post
Old 07-23-2009, 10:09 PM   #2080 (permalink)
MPaulHolmes
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Seattle, WA
Posts: 2,554

Michael's Electric Beetle - '71 Superbeetle 500000
Thanks: 372
Thanked 297 Times in 188 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.
__________________
When I die, I would like to go peacefully, in my sleep, like my grandfather did. Not screaming and yelling like the passenger in his car.
  Reply With Quote