Perhaps if there was a simple micro-switch, reed-switch or optic sensor that activated each time the pedal arms completed a revolution?
The EN 15194 requires that the motor stops before the bike has rolled more than 2 m after pedaling stops, and not 2 seconds or alternatively one revolution of the krank. This requirement makes it a bit more complicated.
I forsee a simple microcontroller board with sensor inputs for the following:
Speed sensor (inductive with one pulse per spoke passing by),
pedal sensor (with 16 or more pulses per revolution that discriminate direction of rotation),
current sensor (to limit max current),
hand/thumb throttle
The output should be the speed input to the controller plus four LEDs (power, power reduction at over current, power reduction at near speed limit, power off due to maximum speed).
The board should have a single switch input used for activating startup-mode (up to 6 km/h without pedaling) in normal usage. If the switch is kept pressed during power-on, the board LEDs become diagnostic LEDs for the sensor inputs (one for speed sensor signal, one for pedal sensor, one for current sensor and one for throttle input - the last two has flashing speed dependent on input value)
The board should be easy to reprogram by user/owner to customize for various wheel sizes, battery current sensors and speed limits (when to start to reduce power, and when to cut power).
Throttle speed ramp-up should also be tunable by user to have the bike behave smooth in various circumstances; imagine when speed signal to controller has been turned off due to stop of pedaling, and the user start pedaling again - the motor must not be activated abruptly. Also for regenerative braking is smooth handling very important.
Does anyone feel the need to make such a microcontroller board?