Regen with lyen controller

Get all your technical information about electric bikes here.

Regen with lyen controller

Postby Raphael » Thu Jul 05, 2012 12:50 am

Hi

We have 2 lyen mark II 9 fet regen controllers, they work very smooth, way better than the crystalyte we had before.
Now I'd like to enable regen. We do not have e-brakes (yet).

1. possibility: enable throttle regen. However, I am not able to make that work. I configured it with Lyens software (slip mode = true) but it doesn't work at all. It only brakes when I short the brake-wires, I would have expected it regens when I zero the throttle?

2. possibility: install these: http://www.aliexpress.com/store/product ... 67226.html But I have only a 2-pole connector, not a 3-pole. But I think it would be possible to take 5V from throttle and power that sensor

3. possiblity: install e-brakes (which?)

What is your opinion on that? What would you do?

Thank you
Raphael
Raphael
100 W
100 W
 
Posts: 104
Joined: Tue Jan 08, 2008 12:50 pm

Re: Regen with lyen controller

Postby wesnewell » Thu Jul 05, 2012 1:21 am

I'd probably figure it out myself. But since you bought it from Lyen, you should probably contact him.
Mongoose 26" FS MTB bike $99, yescomusa.com 48V 1000W rear hub kit $276, Hua Tong 72V 40A controller $35, 10ah 24s lipo $275=40+mph, range=45 miles @20mph
User avatar
wesnewell
100 MW
100 MW
 
Posts: 2508
Joined: Mon Jan 31, 2011 6:25 pm
Location: Wylie, TX, USA

Re: Regen with lyen controller

Postby Raphael » Thu Jul 05, 2012 1:23 am

What do you mean by "I'd figure it out myself"? I thought a forum was there to ask questions???

I already contacted Edward Lyen, and while he was helpful, he can't / doesn't tell me why throttle regen doesn't work.
Raphael
100 W
100 W
 
Posts: 104
Joined: Tue Jan 08, 2008 12:50 pm

Re: Regen with lyen controller

Postby Sacman » Thu Jul 05, 2012 1:32 am

How many volts are you running? I thought I saw somewhere that the regen on Lyen controllers won't work if you're running above 80 volts. And I've verified it for myself. I have an 18-FET Lyen mark 2 controller and the regen works when I'm running 12s LiPo but doesn't work when I'm running 24s LiPo.

Raphael wrote:Hi

We have 2 lyen mark II 9 fet regen controllers, they work very smooth, way better than the crystalyte we had before.
Now I'd like to enable regen. We do not have e-brakes (yet).

1. possibility: enable throttle regen. However, I am not able to make that work. I configured it with Lyens software (slip mode = true) but it doesn't work at all. It only brakes when I short the brake-wires, I would have expected it regens when I zero the throttle?

2. possibility: install these: http://www.aliexpress.com/store/product ... 67226.html But I have only a 2-pole connector, not a 3-pole. But I think it would be possible to take 5V from throttle and power that sensor

3. possiblity: install e-brakes (which?)

What is your opinion on that? What would you do?

Thank you
Raphael
User avatar
Sacman
10 kW
10 kW
 
Posts: 856
Joined: Tue May 27, 2008 3:42 am
Location: Corona & Irvine, California, USA

Re: Regen with lyen controller

Postby Raphael » Thu Jul 05, 2012 1:36 am

I run 16s A123... as I said above, regen actually works if I connect the brake-wires, but zero-throttle regen doesn't work (I suppose it should do the same if "slip mode" is enabled)...
Raphael
100 W
100 W
 
Posts: 104
Joined: Tue Jan 08, 2008 12:50 pm

Re: Regen with lyen controller

Postby Sacman » Thu Jul 05, 2012 1:37 am

Wait... what... you get regen to work when you short the brake wires?
I thought shorting the brake wires only cuts the power to the throttle and that's it?

Raphael wrote:I am not able to make that work. I configured it with Lyens software (slip mode = true) but it doesn't work at all. It only brakes when I short the brake-wires, I would have expected it regens when I zero the throttle?
User avatar
Sacman
10 kW
10 kW
 
Posts: 856
Joined: Tue May 27, 2008 3:42 am
Location: Corona & Irvine, California, USA

Re: Regen with lyen controller

Postby Raphael » Thu Jul 05, 2012 1:46 am

it cuts the power and brakes with regen - if you connected the "regen jumper wire". That's how I'd expect it to work at least, if you attach some e-brakes...
But I'd like to try it out with full regen on zero-throttle!
Raphael
100 W
100 W
 
Posts: 104
Joined: Tue Jan 08, 2008 12:50 pm

Re: Regen with lyen controller

Postby Sacman » Thu Jul 05, 2012 2:04 am

I got my Lyen controller just last month. It's on my bike and I'm running it but not everything is hooked up (regen, cruise control, ebrake, etc.) But I did bench test it and got regen to work only with 12s Lipo and by momentarily shorting the 2 white regen wires. In fact I ordered (and am waiting for) a new throttle with integrated momentary regen button from ebikes.ca. I never got any zero-throttle regen to work nor did I get the regen to engage by shorting out the yellow and black ebrake wires. I haven't gotten to play around with the software settings yet so I didn't know about the slip mode settings until now.
User avatar
Sacman
10 kW
10 kW
 
Posts: 856
Joined: Tue May 27, 2008 3:42 am
Location: Corona & Irvine, California, USA

Re: Regen with lyen controller

Postby Raphael » Thu Jul 05, 2012 3:23 am

shorting those two wires activates regen - but I'd like to try it with zero throttle!
Raphael
100 W
100 W
 
Posts: 104
Joined: Tue Jan 08, 2008 12:50 pm

Re: Regen with lyen controller

Postby wesnewell » Thu Jul 05, 2012 3:31 am

Raphael wrote:What do you mean by "I'd figure it out myself"? I thought a forum was there to ask questions???

I already contacted Edward Lyen, and while he was helpful, he can't / doesn't tell me why throttle regen doesn't work.

Well, I said "probably", as I have with the controllers I have. I don't have a Lyen controller, but if it's supposed to work and it doesn't, and he can't tell you why, I'd ask for a refund.
Mongoose 26" FS MTB bike $99, yescomusa.com 48V 1000W rear hub kit $276, Hua Tong 72V 40A controller $35, 10ah 24s lipo $275=40+mph, range=45 miles @20mph
User avatar
wesnewell
100 MW
100 MW
 
Posts: 2508
Joined: Mon Jan 31, 2011 6:25 pm
Location: Wylie, TX, USA

Re: Regen with lyen controller

Postby wesnewell » Thu Jul 05, 2012 3:58 am

Sacman wrote:How many volts are you running? I thought I saw somewhere that the regen on Lyen controllers won't work if you're running above 80 volts. And I've verified it for myself. I have an 18-FET Lyen mark 2 controller and the regen works when I'm running 12s LiPo but doesn't work when I'm running 24s LiPo.

If you run higher voltage than the controller is configured for, then regen will stop working. To get it working at higher voltages requires lowering the resistance in the LVC circuit, thus raising the LVC voltage. As an example, regen on my 72V controller wouldn't work above 78V. Fine when I was running 18s, but nothing with 24s. Lowering the resistance of the LVC circuit by adding another resistor across it raised LVC and allowed a higher regen voltage. I used a var so I could adjust it. Got lvc set high enough so regen works all the way to 100V. The ABS system also follows the LVC voltage, but I don't have it hooked up although I'm thinking of switching to it since it will bring your bike to a quick complete stop where regen braking at 100V isn't near as strong and cuts out at about 10 mph.
Mongoose 26" FS MTB bike $99, yescomusa.com 48V 1000W rear hub kit $276, Hua Tong 72V 40A controller $35, 10ah 24s lipo $275=40+mph, range=45 miles @20mph
User avatar
wesnewell
100 MW
100 MW
 
Posts: 2508
Joined: Mon Jan 31, 2011 6:25 pm
Location: Wylie, TX, USA

Re: Regen with lyen controller

Postby itchynackers » Thu Jul 05, 2012 7:01 am

Is your "EBS Limit Voltage" set too low?
9c 9x7f w/ 12awg phases
9c 8x8r w/ 10awg phases, temp sensor, vented
9c 6x10r w/ 10awg phases, temp sensor, liquid cooled, 3rd Place Pikes Peak 2012!

"Don't argue with the galactically stupid...they drag you down to their level and beat you with experience"
itchynackers
100 kW
100 kW
 
Posts: 1136
Joined: Sun Dec 27, 2009 11:11 am
Location: Janesville, WI

Re: Regen with lyen controller

Postby Jeremy Harris » Thu Jul 05, 2012 7:41 am

There is a stack of info on here as to how regen works on the Xiechang/"Infineon"/Keywin etc controllers that Lyen sells. Will Newton did a pretty good write up of the way the settings work, with some comments on the need to do things like mod the LVC to get regen to work over 75 V. Although much of the stuff in this thread is old, it's still useful and still generally applies to the Xiechang controllers that Ed Lyen sells: viewtopic.php?f=2&t=14807
Please ask questions on the forum, rather than by PM, as it helps others and you'll get a better range of answers.
User avatar
Jeremy Harris
10 GW
10 GW
 
Posts: 4635
Joined: Tue Oct 23, 2007 4:15 pm
Location: Salisbury, UK

Re: Regen with lyen controller

Postby Raphael » Thu Jul 05, 2012 8:51 am

itchynackers wrote:Is your "EBS Limit Voltage" set too low?


no, because otherwise regen with the cables shortened wouldn't work either, right?
Raphael
100 W
100 W
 
Posts: 104
Joined: Tue Jan 08, 2008 12:50 pm

Re: Regen with lyen controller

Postby Raphael » Thu Jul 05, 2012 8:51 am

Jeremy Harris wrote:There is a stack of info on here as to how regen works on the Xiechang/"Infineon"/Keywin etc controllers that Lyen sells. Will Newton did a pretty good write up of the way the settings work, with some comments on the need to do things like mod the LVC to get regen to work over 75 V. Although much of the stuff in this thread is old, it's still useful and still generally applies to the Xiechang controllers that Ed Lyen sells: viewtopic.php?f=2&t=14807


thanks, I'll read through that...
Raphael
100 W
100 W
 
Posts: 104
Joined: Tue Jan 08, 2008 12:50 pm

Re: Regen with lyen controller

Postby Ypedal » Thu Jul 05, 2012 9:01 am

I need to go read that link above.. but just a quick bit of into from my personal KMX experience..

Regen only works for me by shorting the yellow/black ( ebrake ) wires.. as long as the white wire is hooked up.. if i disconnect the white wire, regen does not work.

I run 24S lipo. 100v, below 10kph i get no regen.
ES site status page, for when "things" happen...
http://www.ypedal.com/ES/ES.htm
----------------
Always Staying Busy !!
http://www.ypedal.com/Projects.htm
User avatar
Ypedal
100 GW
100 GW
 
Posts: 11916
Joined: Wed Dec 27, 2006 12:55 pm
Location: Moncton NB, Canada

Re: Regen with lyen controller

Postby Raphael » Thu Jul 05, 2012 9:35 am

I've read through the thread, nothing new in there to solve the problem
Yes Ypedal, that's what I experienced too, connect the white wire to enable regen generally and then make a switch somehow to on/off the regen on black/yellow. But Lyen told me it's possible to enable throttle-regen - and I can't get it to work so far...

Otherwise the controllers are great and Edward Lyen was always super-helpful...
Raphael
100 W
100 W
 
Posts: 104
Joined: Tue Jan 08, 2008 12:50 pm

Re: Regen with lyen controller

Postby Ypedal » Thu Jul 05, 2012 9:38 am

I would not want throttle regen enabled anyways.. i like to pulse and glide, letting off the throttle compeltely and coasting to stops when possible, and when i do let get of the throttle i dont want the regen to kick in un-expectedly..i want to pull the lever when i want it.

You can use a simple magnet with double sided tape on the brake lever, a bike wheel speed sensor as an on/off switch in proximity to the magnet and whamp.. ebrake on your own lever.. ( thanks Rick ! )
ES site status page, for when "things" happen...
http://www.ypedal.com/ES/ES.htm
----------------
Always Staying Busy !!
http://www.ypedal.com/Projects.htm
User avatar
Ypedal
100 GW
100 GW
 
Posts: 11916
Joined: Wed Dec 27, 2006 12:55 pm
Location: Moncton NB, Canada

Re: Regen with lyen controller

Postby Jeremy Harris » Thu Jul 05, 2012 11:17 am

Raphael wrote:I've read through the thread, nothing new in there to solve the problem
Yes Ypedal, that's what I experienced too, connect the white wire to enable regen generally and then make a switch somehow to on/off the regen on black/yellow. But Lyen told me it's possible to enable throttle-regen - and I can't get it to work so far...

Otherwise the controllers are great and Edward Lyen was always super-helpful...


I take it this is the problem you're referring too:

Raphael wrote:1. possibility: enable throttle regen. However, I am not able to make that work. I configured it with Lyens software (slip mode = true) but it doesn't work at all. It only brakes when I short the brake-wires, I would have expected it regens when I zero the throttle?


If so, then to make throttle regen work (which is really throttle off regen for these controllers) have you followed the instructions in Will Newton's paper in that thread? Specifically these instructions:

"16. EBSLimVoltage- This is the maximum regeneration voltage. !! Dependent on the R12 voltage divider !!The same rules apply for the REGEN voltages as LVC voltages shown above. 55V, 60V, 75V correspond to 66V, 72V, and 90V"

"26. SlipChargeMode- The Slip Current Charge Mode feature is either "ON or OFF" and allows regen from the throttle. Throttling back when cruising will regen the Direct Drive hub motor and slow it down to about 15% of full speed. The eBrake regen and the Throttle regen act independent of each other. I set the Throttle regen to "OFF" by default (I like to coast freely when throttled back). Values are 0: UP 15 Mark (throttle regen) and 1:Only Fake Indicate (no throttle regen)"

"27. EBS Level- This sets the strength of the regeneration. A higher number is stronger.When the eBrakes are applied the Direct Drive hub motor will slow down to a complete stop. values are 0: (low), 1: (med.), and 2: (high) Setting 2: has been recommended for 26" wheels if you are using regen and the other numbers for smaller wheels."


In addition, you have to follow this instruction to jumper the regen link:

"Jumping (or connecting a switch) from BK to GND activates the Regen braking feature."

The most common reason for regen not working is either the regen link not being there, the programming not being set or the battery pack voltage being over the limit.

FWIW I agree with Ypedal, throttle off regen feels wrong to me, it was like engine braking on a car and just felt a bit odd on a bike.
Please ask questions on the forum, rather than by PM, as it helps others and you'll get a better range of answers.
User avatar
Jeremy Harris
10 GW
10 GW
 
Posts: 4635
Joined: Tue Oct 23, 2007 4:15 pm
Location: Salisbury, UK

Re: Regen with lyen controller

Postby John in CR » Thu Jul 05, 2012 6:51 pm

I use Slip Charge = 0: Ture and regen comes on when I let off the throttle. It doesn't even have to be throttle 0. It works great as long as the regen force is fairly mild like it is with speed wind motors. Twist to go and let off to slow down can be liberating in its simplicity. I've gone entire rides never touching the brake.

Ask Lyen if that doesn't work for you.
John in CR
100 GW
100 GW
 
Posts: 10373
Joined: Tue May 20, 2008 12:58 am
Location: Paradise

Re: Regen with lyen controller

Postby wineboyrider » Thu Jul 05, 2012 6:55 pm

Ypedal wrote:I need to go read that link above.. but just a quick bit of into from my personal KMX experience..

Regen only works for me by shorting the yellow/black ( ebrake ) wires.. as long as the white wire is hooked up.. if i disconnect the white wire, regen does not work.

I run 24S lipo. 100v, below 10kph i get no regen.

24s with the stock lyen 9fetter? :lol: 8)
ES IS SAVED! THANK YOU JUSTIN.
User avatar
wineboyrider
1 MW
1 MW
 
Posts: 1816
Joined: Wed Sep 30, 2009 9:08 am
Location: Tularosa, New Mexico

Re: Regen with lyen controller

Postby zooz » Sun Jul 15, 2012 7:07 am

Recently I installed a new Lyen 12 FET Mark II enhanced controller. What I did to get regen to work on 18s2p RC Lipo running HS3540:

1. Make sure white wires on the controller are connected (this enabled Regen function)
2. Make sure Regen is enabled and set to 75V software wise
3. Install a push-to-make button near the left brake lever

Well, at least that's what I did and it works very well. That's the first braking regen experience to me, so I will tell you what I observed after a few rides. Few things to note, that when my battery pack is hot off charger at 75V, regen does not work as expected, because pack is full and secondly it's already at 75V.

Let's assume your battery pack is at 70V with some capacity already used and EBS Level is set to 2. If so, then regen should definitely work. The faster you're moving the more amps you're going to get out of braking. Usually I manage to get around 13-15 amps for a few seconds and then it drops down as I am stopping.

From my experience braking regen does not stop you to a dead stop, it kind of cuts off when you're moving at 5-10km/h, so then you have to use your normal brakes or even before, because at slow speeds there is not much braking happening out of regen.

Give me a shout if you want to see some pictures of my push-to-make button hack.
User avatar
zooz
1 W
1 W
 
Posts: 51
Joined: Sun May 20, 2012 4:57 pm
Location: London, United Kingdom


Return to E-Bike Technical

Who is online

Users browsing this forum: Bing [Bot], biohazardman, Hyena, novatin and 16 guests