crea2k said:
This is what it says on the UK government website :
https://www.gov.uk/electric-bike-rules
Good link! Thanks. I've looked at the EU regs in detail, but this link is a good pragmatic summary of the UK statutory interpretation.
In the US there are no Federal regs regarding use of bikes - instead we have a potpourri of individual state laws - all different. This business of hidden switches and on/off road modes, etc has been discussed and argued to death. Staying under the radar with good behavior is IMHO always good advice, but beyond that it's a personal decision on how to best address the illegality of your bike... lots of ideas and choices.
Good idea or bad, from a technical perspective it's possible to limit the battery current and indirectly the approximate motor power as the OP queried. The basic idea is to provide at least two different control voltages to the CA that scale the configured
MaxAmps to 100% or some lower value. This can be accomplished different ways - here's an example using a V2.3 although the same circuit can be used with earlier models and the
Vi input:

With
AuxVoltage set to 'Current', this circuit can be arranged to select either 100% or (0-66%) of the configured
MaxAmps using
AuxThreshold as an adjustment parameter. Here the V2 allows 100% with the switch open and the configured lower percentage when it's closed. We want to pick resistors so that the
POT input is a bit less than 2V with the switch closed, so we might use R1=6.8K and R2=3.9K to get a voltage around 1.8V.
The
POT input has a 0-3v working range with the base voltage set by
AuxThreshold and the relative
POT input voltage in that range scales
MaxAmps 0-100%. In this approach we slide the
POT 3V working range so that the fixed 1.8V point set by the resistors appears to move up and down relative to the lowest voltage of the range defined by
AuxThreshold. This makes 1.8V effectively take on different percentage values in the 0-100% range. For example:
- If we set AuxThreshold to 1.8V, then the POT working range is 1.8v-4.8V and the switch will chose between 100% and 0% (lower limit).
- If we set AuxThreshold to 1.5V, the range is 1.5V-4.5V and the switch will chose between 100% and (1.8V-1.5V)/3.0V = 10%.
- If we set AuxThreshold to 0.0V, the range is 0.0V-3.0V and the switch will chose between 100% and (1.8V-0.0V)/3.0V = 60% (upper limit).
Rated motor power is power output not battery power input. Using a working efficiency of 80%, the allowable battery power for a 200W rated motor is about 200W/0.80 = 250W. Figure in the nominal battery voltage and you get the Amp limit for a 200W rated motor (more or less). It's a bit of trial and error, but AuxThreshold can be tweaked in to get pretty close although there may be an adjustment granularity issue if
MaxAmps is very very large.
So - that's perhaps the simplest means to accomplish this with the V2 - other approaches might use a 3-position switch and trimpots.
Whether using a limiting switch is legal or even a Good Idea for this purpose is another matter...
Enjoy!