Page 1 of 1

Total Power = VxIxPWM or just VxI ?

Posted: Sat Mar 07, 2020 9:16 am
by cjmbasicmicro
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

Re: Total Power = VxIxPWM or just VxI ?

Posted: Mon Mar 09, 2020 10:43 am
by Basicmicro Support
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.

Re: Total Power = VxIxPWM or just VxI ?

Posted: Wed Mar 11, 2020 4:39 am
by cjmbasicmicro
Thanks!