Power in = power out, So
BatteryVoltage*BatteryAmps = MotorVoltage*MotorAmps
Because MotorVoltage = BatteryVoltage*PWM_DUTY, where PWM_DUTY is in [0,1],
BatteryVoltage*BatteryAmps = BatteryVoltage*PWM_DUTY*MotorAmps
So,
BatteryAmps = PWM_DUTY*MotorAmps
I'm not sure if that answers any questions, since I never read any of the previous posts, since my son is yelling at me to go outside with him. haha.
|