ElectricMotorcycleForum.com

Makes And Models => Zero Motorcycles Forum | 2013+ => Topic started by: evtricity on January 28, 2015, 05:42:20 PM

Title: Setting up brake light for regen
Post by: evtricity on January 28, 2015, 05:42:20 PM
Has anyone set up their Zero to utilise the Sevcon analog outputs to turn on their brake light when regen is engaged.

The Sevcon manual states:

"Brake Lights
A brake light output object is available (2404h) and can be mapped to an analogue output. The brake
lights will illuminate whenever the footbrake is pressed (providing either an analogue or digital
footbrake input is available) or the system is in direction change braking"

I've implemented an analog footbrake by using a left hand clutch master cylinder and pressure transducer which works very well, so well that it's probably a little dangerous on the road without triggering the brake light.

If anyone has set something up from the Sevcon analog outputs let me know as that may help in setting up the regen brake light.

Thanks.
Title: Re: Setting up brake light for regen
Post by: Burton on January 28, 2015, 08:17:55 PM
There is a setting under throttle which says something like brake light on with regen but I don't think it works like we would expect it to. Right now I use the left clutch for engin braking and just like with my ICE bike if I want the brake light to come on just pull my front brake lever in a little (since I modified it to turn the brake lit on before applying brakes)

Title: Re: Setting up brake light for regen
Post by: trikester on January 28, 2015, 11:03:50 PM
How about using a brake light pressure switch (like from VW, etc.) to activate the brake light?

Trikester
Title: Re: Setting up brake light for regen
Post by: Burton on January 29, 2015, 12:44:52 AM
How about using a brake light pressure switch (like from VW, etc.) to activate the brake light?

Trikester

The clutches we are using actually come with a switch installed on them :) the question is when does it come on but that could be adjusted by shaving down the switch rod.
Title: Re: Setting up brake light for regen
Post by: benswing on January 29, 2015, 02:50:15 AM
Check with ultrarnr.  He set up his brake light to flash while in regen mode, then solid when braking.  I rode with him on the Tail of the Dragon in NC & TN and it was pretty effective.
Title: Re: Setting up brake light for regen
Post by: ultrarnr on January 29, 2015, 03:35:51 AM
benswing,

I actually have a brake light modulator on my SR which goes through this funky flash pattern and then goes solid after a few seconds. But when you first touch the front brake lever the brake light comes on, then the regen kicks in, then the front brake kicks in. Pretty easy to have the brake lights on when the regen is going. Obviously this doesn't work with the regen from closing the throttle.
Title: Re: Setting up brake light for regen
Post by: RNM on January 29, 2015, 06:03:31 PM
How about a proper regen lever?
http://endless-sphere.com/forums/viewtopic.php?f=1&t=61397 (http://endless-sphere.com/forums/viewtopic.php?f=1&t=61397)

Title: Re: Setting up brake light for regen
Post by: Burton on January 29, 2015, 09:28:15 PM
RNM how is it not a proper regen lever?

http://www.diyelectriccar.com/forums/showthread.php?s=89663a2ab4ca7d525e46651c9a9ceed9&t=124073&page=4 (http://www.diyelectriccar.com/forums/showthread.php?s=89663a2ab4ca7d525e46651c9a9ceed9&t=124073&page=4)

Also note the built in switch not being used in the pictures included. It would take a couple minutes to run wires to it if you wanted a brake light.

Parts: Clutch, psi guage, brake fluid and wire ... and no need to convert from digital to analog.
Title: Re: Setting up brake light for regen
Post by: RNM on January 29, 2015, 09:52:39 PM
RNM how is it not a proper regen lever?

http://www.diyelectriccar.com/forums/showthread.php?s=89663a2ab4ca7d525e46651c9a9ceed9&t=124073&page=4 (http://www.diyelectriccar.com/forums/showthread.php?s=89663a2ab4ca7d525e46651c9a9ceed9&t=124073&page=4)

Also note the built in switch not being used in the pictures included. It would take a couple minutes to run wires to it if you wanted a brake light.

Parts: Clutch, psi guage, brake fluid and wire ... and no need to convert from digital to analog.

Haven't seen that before, it's nice!

But would it be heavier than the other link?
Title: Re: Setting up brake light for regen
Post by: Burton on January 30, 2015, 05:01:10 AM
If weight is an issue maybe ... but weight also saves parts when you drop the bike. If it is formerly a clutch it might survive more abuse than something from a bicycle.

Both dgh and I have this set up. I have not released any notes on how to set it up as I am still testing it. That said it works just like it does in the video of the one you posted only it took me about 10  minutes to cobble together.
Title: Re: Setting up brake light for regen
Post by: RNM on January 30, 2015, 04:42:57 PM
We can save weight by using an adjustable motorcycle cable clutch lever and a strain gauge. Cleaner looking, simple, robust (no leak, no oil), etc.
Your solution is also valid and a good one, ok? :)

Either way, the mechanical bit is the easiest, what I would like to see is sevcon programming mods or some kind external adjustable "knob",  vehicle speed readout to get constant torque regen (or phase current monitoring). ;)

Good luck to you guys! :)
Title: Re: Setting up brake light for regen
Post by: Burton on January 30, 2015, 09:52:10 PM
RNM is the strain gauge your design? Do you have any write-ups on how to make one outside the videos?

I have seen someone use a clutch with cable to a box where they assembled a lever / gears to turn a pot switch. I was going to go down that route myself till someone exposed me to the clutch pressure sensor solution.

I am not sure if I have seen someone using a strain gauge with a cable actuated clutch lever. Do you have details on how this might be done?

When you say constant torque regen are you talking about at every speed / SOC ? If I recall there is a 4000rpm limit built into the sevcon where it will not regen anything higher and the closer you get to 4000 the less you will feel the regen. This is in place to prevent the sevcon from throwing faults which might cause it to restart or shutdown. As for different torque based on SOC that is a more complex issue which would require real time monitoring and changing of values on the fly. I know of someone who has interest in this and who has indicated to me of ways it might be done but it would be a lot of work to develop and still would be slaved to the rpm limitations.
Title: Re: Setting up brake light for regen
Post by: RNM on January 30, 2015, 10:33:50 PM
RNM is the strain gauge your design? Do you have any write-ups on how to make one outside the videos?

It's not, but I really like the idea of a brake that "will not move at all, it will just sense how hard you are pushing or pulling on it..."

Quote
I have seen someone use a clutch with cable to a box where they assembled a lever / gears to turn a pot switch. I was going to go down that route myself till someone exposed me to the clutch pressure sensor solution.

I am not sure if I have seen someone using a strain gauge with a cable actuated clutch lever. Do you have details on how this might be done?

Right now, I have the same info as you, the topic in the other forum and the videos... I try to get more info out Arlo1, let's see if he can help us.

Quote
When you say constant torque regen are you talking about at every speed / SOC ? If I recall there is a 4000rpm limit built into the sevcon where it will not regen anything higher and the closer you get to 4000 the less you will feel the regen. This is in place to prevent the sevcon from throwing faults which might cause it to restart or shutdown. As for different torque based on SOC that is a more complex issue which would require real time monitoring and changing of values on the fly. I know of someone who has interest in this and who has indicated to me of ways it might be done but it would be a lot of work to develop and still would be slaved to the rpm limitations.

I meant constant mechanical torque to produce a constant braking force, just like a normal brake. To achieve this, one way is to measure phase currents (2 sensors in motor wires) and a micro controller.

After 4000rpm there's not regen in a standard bike?  :(
What speed is that on a Zero S?
Title: Re: Setting up brake light for regen
Post by: Burton on January 30, 2015, 11:15:52 PM
Ah ... the clutch setup moves slightly but it is tension based since the fluid doesn't have anywhere to go. So the harder you pull the higher the pressure and the higher the voltage goes to the sevcon.

I messaged Arlo1 on youtube and got nothing out of him :/ Which was part of the reason I didn't go with the strain gauge route.
Had I though I would have used a clutch lever and not a bicycle brake lever.

A microcontroller would be required but it would have to change the sevcon torque settings on the fly in order for that to happen :/

4000 on a standard bike with stock gearing ... I know with my high speed gearing 25/98 it is about 70mph, so I will presume 60mph. I am going to try 28/98 gearing which should bump up my 4k speed to around 80-90mph. But I have an equivalent of an SR so ...
Title: Re: Setting up brake light for regen
Post by: RNM on January 30, 2015, 11:38:04 PM
I know that hydraulic clutch doesn't move also, still I think the other solution is lighter, more robust, no leak possibility, etc.

With strain gauges and a load amplifier I think it's the same, higher pressure = higher voltage.

Like you said before, motorcycle levers are more robust, so a cable clutch lever would be perfect.

Microcontroller = "on the fly" changes (few micro seconds delay)

Do you have a build thread of your bike? Thanks
Title: Re: Setting up brake light for regen
Post by: Cortezdtv on January 31, 2015, 12:30:13 AM
Why not use the cable clutch to a box like the zero carts use, I'll get a pic when I get home
Title: Re: Setting up brake light for regen
Post by: evtricity on January 31, 2015, 04:00:56 AM
If I recall there is a 4000rpm limit built into the sevcon where it will not regen anything higher and the closer you get to 4000 the less you will feel the regen. This is in place to prevent the sevcon from throwing faults which might cause it to restart or shutdown.
On my 2014 Zero SR there is a 4500rpm limit set in the MBB for regen. This limit can be increased so that you can get full regen from whatever your maximum motor speed is (default max motor speed is 6,000rpm so you would set the regen max to the same 6,000 rpm). This does not generate any faults or cutouts on the Zero SR 2014 using regen up to 6,000rpm.
Title: Re: Setting up brake light for regen
Post by: oobflyer on June 24, 2015, 11:07:35 PM
From another thread (thanks nigezero):

Quote
Hey guys; FYI, I fitted a "GearBrake" to my 14 DS last week and it is so far working like a dream. It activates the brake lights with a triple flash AND more importantly for "regen-ers", also activates under rapid deceleration. I wrote a little review and added a video here http://motoelectro.com.au/very-cool-device-for-ebike-owners/ (http://motoelectro.com.au/very-cool-device-for-ebike-owners/)

I ordered one and installed it - works great!

When I removed the seat on my SR I didn't see any flat surface (vertical or horizontal) so I made a small bracket and used the screw that holds the insulation shroud down at the rear.

This seems like an elegant solution to the regen-braking/brake light problem. I hope Zero integrates this in the future.

Title: Re: Setting up brake light for regen
Post by: BrianTRice@gmail.com on December 10, 2015, 01:52:37 AM
From another thread (thanks nigezero):

Quote
Hey guys; FYI, I fitted a "GearBrake" to my 14 DS last week and it is so far working like a dream. It activates the brake lights with a triple flash AND more importantly for "regen-ers", also activates under rapid deceleration. I wrote a little review and added a video here http://motoelectro.com.au/very-cool-device-for-ebike-owners/ (http://motoelectro.com.au/very-cool-device-for-ebike-owners/)

I ordered one and installed it - works great!

When I removed the seat on my SR I didn't see any flat surface (vertical or horizontal) so I made a small bracket and used the screw that holds the insulation shroud down at the rear.

This seems like an elegant solution to the regen-braking/brake light problem. I hope Zero integrates this in the future.

Just to chime in, I got this and installed it using just judicious use of a zip-tie, and it works great.
Title: Re: Setting up brake light for regen
Post by: Burton on December 10, 2015, 01:58:51 AM
I will add simply shaving off < 1mm from my brake lever lets me activate my rear brake lights without applying my brakes ...

As for flashing I love my skene's design IQ160TS when applied to the 60 LED's on my top case ;)