I am very slowly getting my head around alot of the knowledge required to successfully plan and execute a build… but this is one thing I don’t really understand.
How do motor amps work in relation to battery amps?
I am very slowly getting my head around alot of the knowledge required to successfully plan and execute a build… but this is one thing I don’t really understand.
How do motor amps work in relation to battery amps?
^here’s the math behind it from a different thread
Haha i think a healthy discussion in layman’s terms may lead to a better understanding of that post
the controller works by reducing your battery voltage that the motor sees via duty cycle and pulse width modulation.
the motor produces back emf voltage, which opposes the battery voltage, and which increases as the motor turns faster.
in order to maintain constant motor current, the controller has to increase the effective voltage the motor sees (and duty cycle) as the motor turns faster.
the electrical wattage is the effective voltage times the motor current, and it is also the battery voltage times the battery current.
The esc uses PWM modulation to adjust the motor current, this means that the transistors is on for a portion of time and off for the next, this happens really fast. The motors has inductance, so it smooths out the waveform
What the PWM does is adjust the voltage that is applied to the motor
So when you have 50% duty cycle, your battery voltage is 10V and the motor current is 10 A, the voltage applied to the motor is actually 5 V
If you calculate the power using P = U*I, you will see that for the power to be equal at the battery and the motor, the battery current should be 5 A
So battery current = motor current * duty cycle, and duty cycle is roughly proportional to motor speed
Excellent information. How is the duty cycle calculated?
My understanding is the controller observes the motor current and quickly adjusts the duty cycle until the commanded motor current is achieved… no calculations involved.
…but you can still calculate it precisely if you use algebra to combine and rearrange those equations I shared.
So at full speed, is duty cycle 100%? So battery amps and motor amps are equal? Eg. 2 motors running at 50a are pulling 100a from battery?
they would be but vesc maxes at 95%
with no load and 100% duty, the motor turns full speed but you can hardly draw any amps because the bemf voltage produced by the motor nearly matches your battery voltage.
It confuses me because it seems a lot of people run their motor amps higher than what the battery can put out…
when the motor current is say 50a and the battery current is 25a (50% duty cycle or 50% on time)…
the battery is putting out 50a half the time, at an on-off frequency around 20-40 thousand cycles per second, which averages to 25a.
the motor is shorted to itself during the off times, so the 50a motor current keeps flowing the whole time from the motor’s inductance.
So having the motor amps higher than the battery amps isnt risking too much draw?
close to 0rpm you can get 120a motor amps with likely less than 20a battery amps, for example.
at constant motor current the battery current increases with increasing rpm.
at constant battery current the motor current decreases with increasing rpm.
only one limit applies at any given time.
So say my battery can only put out 100a… and i have 2 motors set at 60a each, and vesc is limited to 100 battery amps. Does this mean i wont reach the top speed of my motors?
that depends on the load, terrain, gearing, kv and tire size.
if your battery can do 100a and you have 2 motors, you want the battery current limit on each vesc to be 50a, but you can safely set the motor current limit higher.
Lets assume perfect conditions. The motors want to reach 120a to acheive 100% duty cycle but vesc is limiting to 100a, surely i wont reach full speed right?
with no load the motor will reach full speed with likely less than an amp, so it depends on the load and gearing.
Cheers dudes, very helpful. I’m gonna have to go back over this a few times with less beer in me for it to sink in. But it is making more sense to me now.