I think I have to clarify this pedelec mode the ULA replacement module offers.
This is going to be a long story but
please read this if you want a replacement module for your C5!
A Pedelec bike is a bicycle with electric motor support and follows three rules:
- motor power max 250W
- motor support only available while pedaling
- motor switches off when driving faster than 25 km/h
On the other hand, the compensation for these constraints is, that you can drive the vehicle within the entire EU totally street legal and without further insurance, accreditation or the like.
The ULA replacement modules offers two modes
- pedelec mode active
and
- pedelec mode inactive
If set to "inactive" everything is in the same manner as hithero: push the button and just go. Nothing more to tell about that.
But when the pedelec mode is active, this is how it's going:
Here is our C5. It is standing stopped on the road, in this example on a uphill street.
Let's also assume the configuration settings are as following:
In this situation the motor isn't available.
Why? 1. The driver isn't pedaling.
2. We configured a minimum speed of 6.0 km/h to enable the motor. This prevents to accelerate with motor power only since this would cause an extreme motor current and discharge the battery very fast.
But of course, you are free to set the minimum required speed to 0 km/h. The only thing to start the motor would then be to pedal.
However, let's proceed. Let's turn around the vehicle and start to roll downhill:
In this example, you soon gain a speed of 16 km/h just by rolling downhill.
But the motor is still not available.
Why? Because you are not pedaling.
So it's time for some sport activities. Start pedaling:
Moderate pedaling increases the speed to 18 km/h and now the
motor is available!
Turn on the motor!
Yeah! Together with the motor you gain an incredible speed of 22 km/h and you feel like a jet pilot on a low-level flight!
This makes you so crazy - you're going totally mad and give everything you have, accelerating up to insane 30 km/h!!
You're so mad you even don't notice that the motor went off because you exceeded the configured maximum speed of 25.0 km/h.
So much about that.
Now, how does the replacement module know how fast you are driving or pedaling?You need to add
reed-switches to connect with the replacement module and magnets to trigger these switches.
Here is an example for the speed sensor:
If you are driving, this will happen:
What the replacement module notices is:
Oh! The switch was pressed! AGAIN!
Let's see: it's been 500ms since this happend the last time. I know from the configuration settings that the wheel circumference is 1.28m. So you could say the current speed is 1.28m/0.5ms = 2.56 m/s. One hour has 3600 seconds. So the speed is 2.56 m/s * 3600 = 9216 m/h. Now I divide by 1000 to get 9.216 km/h TA-DA!Also add a reed switch to get the pedal revolutions to enable the replacement module to see if you are pedaling or not. It doesn't matter how fast you are pedaling. You can do this completely whishy-washy as long you are pedaling anyway.
Now, what would happen, if you lose the magnet on the image above or the pedal switch magnet?You wouldn't be able to activate the motor because the replacement module either thinks the C5 is stopped or you are not pedaling.
Solution: add more magnets! (and enter the number of magnets in the configuration settings)
Scenario #1:
There are 4 magnets for the speed sensor. The replacement module calculates the speed as described above and then divides the value by 4.
Now you lose one magnet. Constant actual speed given, less switch pulses are generated as before but the calculated speed value is still divided by 4 causing a false speed value lower than the actual speed. But as a matter of principle the motor is still available.
Scenario #2:
There are 2 magnets for the pedal sensor and you lose one of them. The replacement module then calculates a wrong pedal rpm value. But since this value doesn't matter anyway (because it's only relevant whether you are pedaling or not) this has not further impact.
I hope this answered some questions and that it wasn't too long/complex/boring/whatever.
Best regards
-Phil