View Single Post
Old 05-30-2013, 10:12 AM   #6141 (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
Power into the motor is approximately power out of the motor (except for losses), so...

1) BatteryCurrent * BatteryVoltage = MotorCurrent * MotorVoltage.

Now,
2) MotorVoltage = BatteryVoltage * PWM_DUTY

Let's substitute 2 into 1:

BatteryCurrent * BatteryVoltage = MotorCurrent * (BatteryVoltage * PWM_DUTY)

Now, cancel BatteryVoltage from both sides of the equation, to get....

BatteryCurrent = MotorCurrent * PWM_DUTY.

Or, said another way,
BatteryCurrent / MotorCurrent = PWM_DUTY

So, if you only know the PWM_DUTY, there are still 2 other variables. You can't know both the battery current and the motor current if you only know the pwm duty.

Hey! It has over 1 million views! I was hoping it would roll over to zero, and there'd be a y2k catastrophe. oh well.

__________________
kits and boards
  Reply With Quote
The Following 2 Users Say Thank You to MPaulHolmes For This Useful Post:
cyrusamory (05-30-2013), thingstodo (07-06-2013)