Simulation e-bike hub / mid-drive motor efficiency vs speed
- Measuring DC motor parameters
- Formulas for power calculations on ebikes and hub motors
- Permanent magnet DC electric motor tuning
- Extracting motor parameters from the graph
Here we describe the simulation of a hub motor on a bicycle in different situations. These different situations are: riding on a flat street, hills and various motor assistance. We create a graph that shows the efficiency versus the speed.
Before we can do calculations, the parameters for both the hub motor and the bicycle must be known. Unfortunately the hub motor parameters are seldom known. The bicycle parameters have to estimated or calculated. These are the e-bike parameters, some values were estimated:
|Rolling resistance Cr||0.005|
|Air density ρ||1.23|
|Drag coefficient Cw||1|
|Transmission efficiency (hub motor)||100||[%]|
Commonly, instead of motor parameters, a graph like this is included with a hub motor:
This graph is of no help because the values are plotted in relationship with the torque whereby the voltage is constant. But on a bike, because of the air drag, the load is speed dependant. The motor voltage increases with the speed.
See here how we can extract motor parameters from the graph. These are the hub motor parameters extracted from the above graph:
- R* = 0.6Ω (includes the gearbox loss)
- k = 1.57
- Friction torque Tf = 0.82Nm
Now, when we know all the parameters, the motor-bicycle combination can be simulated in Excel.
Here is an Excel graph of an e-bike with a hub motor, riding on a flat street from 0 to 30 kmh and 100% motor assistance.
We see that the higher the power, the higher the efficiency. At low speeds the efficiency is low. But remember that this is not dramatically because the power here is low and the loss thus of minor importance.
Note that the motor parameters are acquired on a different way here, which delivers slightly different graphs.
In this Excel sheet on GitHub you can fill in your motor and bike parameters, the slope and the amount of motor assistance. Or, if you want, use EPACSim.
EPACSim is a free program to simulate a motor on a bicycle in different situations.
Here are some applications
- Simulation of different motors / controller / battery.
- Comparison of similar motors. Identification of damage / problems on the basis of comparative measurements.
- Deepening of practical knowledge relevant to the operation of BLDC motors.
Simulation at 5% slope
Here we see the simulation at 5% slope and a motor-assistance only above 100W. Know that the motor is limited to about 250W. Thus the maximum velocity is about 19 kmh although the x axis maximum is 30 kmh. The hub motor efficiency is above 75% at almost the complete range.