To know the total power my motors are using in my Dual 60 roboclaw, should I multiply three values:
Main Battery Voltage Level (interface data item #24)
x the Motor PWM values (#48)
x Motor Currents (#49),
or, just two:
Main Battery Voltage Level (#24)
x Motor Currents (#49)
In other words, are the Motor Currents already adjusted for the PWM duty cycle, or, do I need to adjust by multiplying by the duty cycle?
Thank you
Chris
Total Power = VxIxPWM or just VxI ?
 Basicmicro Support
 Posts: 1404
 Joined: Thu Feb 26, 2015 9:45 pm
Re: Total Power = VxIxPWM or just VxI ?
The current is always the current. PWM Duty has no effect on the current(on a pulse by pulse basis) because current doesnt like to change. Even when the PWM pulse is low(eg the high side mosfet is off) current is still flowing.
The voltage the motor sees is determined by the Duty(as a percent) * the Voltage. So 50% duty is equal to half the voltage. So your first assumption was correct.
The voltage the motor sees is determined by the Duty(as a percent) * the Voltage. So 50% duty is equal to half the voltage. So your first assumption was correct.

 Posts: 6
 Joined: Sat Mar 07, 2020 9:11 am