To Brake or not to Brake?

TRS300

1 mW
Joined
May 31, 2025
Messages
16
Location
Los Angles
Hi all. I have a question regarding brake activation signal to the controller. Has anyone done anything that blocks the brake signal if the throttle is engaged. I ask this because I've been riding most of my life and I commonly apply brake pressure while giving throttle (mostly on low speed maneuvers). Having the motor cut out in a slow turn could result in dumping the bike.

I've considered using a microcontroller to determine when to apply the brake signal and when not to. But I wanted to ask if anyone has thoughts about this. I actually don't know how production EV motorcycles behave in this regard....
 
I ruthlessly delete switched brake levers on any e-bike I set up. Why in the world would I use something whose single function is to keep my bike from working?

Also, why does a sub-1hp bike need this "safety feature" when nobody's grossly overpowered motorcycle or pickup truck kills the engine when you touch the brake?

Same with "positive front wheel retention devices" that are designed to sorta-kinda hold onto the front wheel for folks who can't be bothered to tighten their axle nuts or quick release levers. Straight into the scrap metal bin.
 
Hi all. I have a question regarding brake activation signal to the controller. Has anyone done anything that blocks the brake signal if the throttle is engaged. I ask this because I've been riding most of my life and I commonly apply brake pressure while giving throttle (mostly on low speed maneuvers). Having the motor cut out in a slow turn could result in dumping the bike.

I've considered using a microcontroller to determine when to apply the brake signal and when not to. But I wanted to ask if anyone has thoughts about this. I actually don't know how production EV motorcycles behave in this regard....
I don't have a brake sensor on the front brake for that purpose. I have a sensor on the right lever, for possible throttle malfunction. If you lose the ground wire on the throttle for any reason (severed conductor, loose connector, etc.), it will send a full throttle signal to the controller. Something worth considering.
 
I don't have a brake sensor on the front brake for that purpose. I have a sensor on the right lever, for possible throttle malfunction. If you lose the ground wire on the throttle for any reason (severed conductor, loose connector, etc.), it will send a full throttle signal to the controller. Something worth considering.
I'm making a custom replacement for the ECM module. I could put parameters on the vehicle speed and throttle position. I other words, if the MC is going faster than X, or the throttle signal is above X, then allow the brake signal to the controller. This is where I'm leaning. My throttle also has a dual signals that are fully isolated and work opposite of one another. Both signals have a "roll-off" feature also. I was planning to activate regen by rolling the throttle forward. Sorry. Maybe TMI.
 
Hi all. I have a question regarding brake activation signal to the controller. Has anyone done anything that blocks the brake signal if the throttle is engaged. I ask this because I've been riding most of my life and I commonly apply brake pressure while giving throttle (mostly on low speed maneuvers). Having the motor cut out in a slow turn could result in dumping the bike.

I've considered using a microcontroller to determine when to apply the brake signal and when not to. But I wanted to ask if anyone has thoughts about this. I actually don't know how production EV motorcycles behave in this regard....

You don't specify details about your project, vehicle, electronics, battery, etc., so I can't give you any specific advice, so some general thoughts you'll have to look up details, variations, etc on how all these things work, and find out which variations fit your project and parts, and then figure out what the consequences are for your parts and usage cases are.


First...do you need, or want, the "ebrake" at all?


If you have adequate mechanical brakes, those are perfectly reliable in every situation that braking will be needed, and you won't need special considerations under all the various conditions where electric braking can't be done normally or at all, without risk of damage to various parts of the system, or causing a crash, etc.

If you're using a direct drive hubmotor in a wheel, then motor braking (regen) is fairly straightforward but there are many variations of it, depending on your specific controller design, and if it has any options, how those are setup.

If you're not using a dd hubmotor, you probably don't want to do any form of motor braking, because it will have to pass all that braking force *backwards* thru your chain, belt, or shaft that your motor uses to drive the wheel, and yank on it and on your suspension, etc. If you have a transmission of any kind between them, it also has to slam the braking forces thru that, too, backwards. If you have a clutch then braking wont' even work unless that remains engaged to transmit all the braking torque backwards thru it into the motor.

If your battery's BMS doesn't control charging thru the same port as discharging, then it has no way to prevent use of regen recharging it even when the battery is in some fault condition that it should not be charged, etc..

If it does control it thru the same port, then if it does prevent charging you could blow up the controller and anything else on the battery bus from the spike in voltage resulting from regen still occuring when the battery disconnects itself from the bus.

If regen current under whateer braking conditions you ahve at the time exceeds what the BMS or cells can handle, it can damage them.

Regen is going to get you back a minimal amount of energy, probalby a couple of percent in a typical use case. You might get 5% if you are in a lot of stop/start traffic.

Etc.



Next, how does your controller work?

Many of them use the brake signal to turn on the regen, then use the throttle to modulate it. Note that this is a dangerous way to do it because it isnt how riders are already trained to operate their bikes, and wouldn't be how they would react in an unthinking situation (until htey had practiced it for as many years or more that they'd already done to ingrain the normal braking reflexes).

If yours has an analog input for the brake, then you'd use a separate throttle type control for it--most commonly something attached to an existing brake control. On the SB Cruiser trike (bicycle class, not MC) I use a cable-operated-throttle COT pulled by a regular brake lever (left side) to operate the rear variable-regen braking on the twin DD hubmotor wheels. You can do the same thing on yours if you add a cable-puller to your existing brake control. If you want this kind of system to generate the maximum recovered energy, I'd recommend setting it up to pull the COT for maximum braking before your mechanical brakes engage at all; this will change the way the whole system feels for braking. If you just want the regen for additional or backup braking force, just parallel the COT pull to the mehcnaical pull to give proportional regen resonse to the mechanlcl repsonse.

If yours has *no* analog brkaing at all (fairly common) but just on/off, it's probably not really safe for motorcycle speed/conditins if it actually creates useful braking forces, becuause you ahve no control with it, it'd be like just slamming on your brakes every tiem you use it. If your controller has an adjustable regen current then you should adjust it to your liking but I'd set it below the point at which it could break traction even under worst-case traction loss conditions, whihc makes other braking condition forces probably too low to be useful. If it has no adjustment, you can experiemnt with it, but personaly I thnk they don't have a useful place in this use case. But in this type of brkaing, you can just use a separte button to engage it, mounted on your brake lever or foot control, that you press only when you want to use it. There are a number of ways to do this depending on your specific usage methods.

If yours has no actual braking function and it's just a motor disable, you can just connect it to the run/stop line on your handlebar controls instead, or some other easily-reached switch in case of throttle malfunction (broken ground, etc).


I had other thoughts but JellybeanThePerfectlyNormalSchmoo interrupted them for playtime and attentionals....
 
Hi all. I have a question regarding brake activation signal to the controller. Has anyone done anything that blocks the brake signal if the throttle is engaged. I ask this because I've been riding most of my life and I commonly apply brake pressure while giving throttle (mostly on low speed maneuvers). Having the motor cut out in a slow turn could result in dumping the bike.

I've considered using a microcontroller to determine when to apply the brake signal and when not to. But I wanted to ask if anyone has thoughts about this. I actually don't know how production EV motorcycles behave in this regard....
All of my motorcycles have the brake signal to the controller disconnected, for the very reason you plan on disconnecting yours which is that it can be annoying for manoeuvring at low speeds sometimes.

The only downside is that you lose a bit of safety in case of throttle malfunction, but as someone else said you can have this wired on the rear brake or on a separate switch. Also, you can just turn off the key or have a killswitch in case of problem (might not always be practical to reach it when driving though).
 
Thank you everyone. I think I got my question answered. In short, the thought to disable it is not radical or unheard of. Here's some information regarding my build just as FYI.

1.) The Harley is a 2015 model with robust brakes and functional ABS. It doesn't need help to stop.
2.) The drive train is robust designed to manage far more stress than this electric motor will produce. A 113CI V-TWIN produces alot of drag when downshifting. I'm not concerned about the stress of moderate regen (assuming I decide to configure that into the design)
3.) I can read my braking force from the CAN bus. That information is boracast from the ABS module. The custom EVCM I'm building could translate the braking force into a variable regen signal for the controller (assuming I build the system components to handle regeneration)
4. I could also activate a moderate regen with a forward roll of my throttle (the throttle produces a unique signal when rolled forward) . It would be intuitive and capture some energy while coasting down a long hill etc..
5. In a complete "runaway" scenero I can just pull in the clutch and stop the bike. I also have a kill switch right at my thumb. In short, I can stop the bike with mechanical means, then shut it down (or both simultaneously) . It's actually safer than a runaway engine because it cannot over-Rev the motor with the clutch disengaged.
6.) I've not yet decided on batteries so I'm still deciding on what features I'd want. And I'll be asking a lot of maybe stupid questions about batteries soon enough haha.

Thanks for the input everyone. I think I got what I need on this topic. :)
 
I bought a Ryvid Outset, and one of the things they have done well is regen implementation. Regen on the rear wheel when you turn back the throttle, and when you apply the front brake. The rear brake is, I'd say, totally redundant. You drive the bike with the throttle and the front brake lever.
 
I bought a Ryvid Outset, and one of the things they have done well is regen implementation. Regen on the rear wheel when you turn back the throttle, and when you apply the front brake. The rear brake is, I'd say, totally redundant. You drive the bike with the throttle and the front brake lever.
Just watched a video of the outset. Looks like a sweet ride!
 
You could disconnect the regen switches in the levers.

I needed my brake light to turn on anytime I used a brake. I have 2 mech and one variable regen, although this variable regen was way stronger than a disc. The nuc controls all the lights through its ulight module so having a brake light that works with my variable region brake actually was a possibility. I tried for years to figure out how to do this with an ASI controller asked everybody, never got an answer, got fed up. On the nuc I couldn’t get the brake switches to not cut the throttle when I was activating the mechanical brakes and I didn’t want regular regen on any lever. So I mapped the lever switches to the horn and horn to brake light. This way, I had my three brakes and a brake light that activated on all of them.
 
You could disconnect the regen switches in the levers.

I needed my brake light to turn on anytime I used a brake. I have 2 mech and one variable regen, although this variable regen was way stronger than a disc. The nuc controls all the lights through its ulight module so having a brake light that works with my variable region brake actually was a possibility. I tried for years to figure out how to do this with an ASI controller asked everybody, never got an answer, got fed up. On the nuc I couldn’t get the brake switches to not cut the throttle when I was activating the mechanical brakes and I didn’t want regular regen on any lever. So I mapped the lever switches to the horn and horn to brake light. This way, I had my three brakes and a brake light that activated on all of them.
Very clever solution you came up with! I'll not have the same issue you describe in my build however. I have nothing directly hooked up to the levers. And either brake always activates the brake light. I will have a microcontroller and custom hardware sitting between the motorcycle and the motor controller. So I can manipulate the signals to the motor controller any way I like. That way I'm not locked into the controller doing something when I don't want it to.
 
Back
Top