understanding controller wiring

wojtek

100 kW
Joined
Nov 29, 2009
Messages
1,021
Location
Luxembourg
recently i have been trying to resolve issue with the controller and now having some questions im looking for answer..
SP signal in the controller, what is it connected to?

1. Throttle (3 or 4 PIN [for battery level] )
2. Cruise control (4 PIN - i understand the cruise control is just keeping the same V between +5 and SP]
3. E-brake? it cuts V between signal and SP?
4. anything else?

Also about regen , i have a white connector on lyens controller, when plugged in , the regen is on. Does it mean that each time i release throttle the regen will switch on automatically? in this case i would install a temporary switch that i can just press and release if i want to brake with regen [this way i can have option of either freewheel or regen brake]

thanks!
Wojtek
 
1 and 2 are correct. However, 3 - ebrakes, do not involve the SP signal. At least not directly. The ebrakes connect EBS- to GND and cuts the throttle signal, somehow, but I don't believe it would affect the SP signal.

There are two types of regen: throttle regen and fake indicate (ebrake). Throttle regen does not allow freewheel, because as you release the throttle, the regen drags on the wheel to slow you down. Fake indicate only engages when you press a switch(ebrake lever) to connect EBS- to GND.

Have you tested the voltage of the 5V supply? Such as on the hall sensor's red and black wires? The fact you only have about 4.2V on the red to black on the throttle seems suspicious to me.

wojtek said:
recently i have been trying to resolve issue with the controller and now having some questions im looking for answer..
SP signal in the controller, what is it connected to?

1. Throttle (3 or 4 PIN [for battery level] )
2. Cruise control (4 PIN - i understand the cruise control is just keeping the same V between +5 and SP]
3. E-brake? it cuts V between signal and SP?
4. anything else?

Also about regen , i have a white connector on lyens controller, when plugged in , the regen is on. Does it mean that each time i release throttle the regen will switch on automatically? in this case i would install a temporary switch that i can just press and release if i want to brake with regen [this way i can have option of either freewheel or regen brake]

thanks!
Wojtek
 
excellent thanks for your help!

ebrake fake regen: switch between EBS- and GND.

there is another connection between GDN and BK [white wire] that would trigger regen each time i release the throttle? is it throttle regen?

there is an option in the programme: "slip charge mode" to enable / disable throttle regen.

so if i take 3PIN ebrake and connect EBS- and GND via switch and leave +5v not connected to anything , should i also care about throttle regen? should it be disconnected?

the controller might be in test mode hence low W when tested. Lyen sent me a USB cable so i will be able to check once i receive it.


number1cruncher said:
1 and 2 are correct. However, 3 - ebrakes, do not involve the SP signal. At least not directly. The ebrakes connect EBS- to GND and cuts the throttle signal, somehow, but I don't believe it would affect the SP signal.

There are two types of regen: throttle regen and fake indicate (ebrake). Throttle regen does not allow freewheel, because as you release the throttle, the regen drags on the wheel to slow you down. Fake indicate only engages when you press a switch(ebrake lever) to connect EBS- to GND.

Have you tested the voltage of the 5V supply? Such as on the hall sensor's red and black wires? The fact you only have about 4.2V on the red to black on the throttle seems suspicious to me.

wojtek said:
recently i have been trying to resolve issue with the controller and now having some questions im looking for answer..
SP signal in the controller, what is it connected to?

1. Throttle (3 or 4 PIN [for battery level] )
2. Cruise control (4 PIN - i understand the cruise control is just keeping the same V between +5 and SP]
3. E-brake? it cuts V between signal and SP?
4. anything else?

Also about regen , i have a white connector on lyens controller, when plugged in , the regen is on. Does it mean that each time i release throttle the regen will switch on automatically? in this case i would install a temporary switch that i can just press and release if i want to brake with regen [this way i can have option of either freewheel or regen brake]

thanks!
Wojtek
 
wojtek said:
there is another connection between GDN and BK [white wire] that would trigger regen each time i release the throttle? is it throttle regen?

This is the hardware side of regen. This connection needs to be made to have either Throttle Regen or Ebrake Regen.

wojtek said:
there is an option in the programme: "slip charge mode" to enable / disable throttle regen.

This is where you choose Throttle Regen (0: Up 15 Mark) -OR- Ebrake Regen (1: Only Fake Indicate). The next setting below this, EBS Level, determines how strong the braking force is: 0,1,2. 2 being the most braking force.

wojtek said:
so if i take 3PIN ebrake and connect EBS- and GND via switch and leave +5v not connected to anything , should i also care about throttle regen? should it be disconnected?

Not exactly sure what you mean here. But as I stated first, the black and white wires are needed to have any type of regen available. The software is where you chose Throttle or Ebrake regen. The 5V+ is not part of the regen circuit AFAIK.

wojtek said:
the controller might be in test mode hence low W when tested. Lyen sent me a USB cable so i will be able to check once i receive it.

I have never heard of test mode. How does it get into and out of this mode? I'm curious...
 
I have skyped with Edward Lyen and he told me that test mode might be the reason for me getting only 120W ...
But what i realized is that i connected throttle into cruise control connector [not sure this is the reason?] so i connected gnd, +5v, signal, EBS- to my 4 PIN crystalyte throttle..

i will ask him how he got it. He is a great guy really, i know everyone is saying this, but he spent couple of hours chatting with me to resolve some problems and i learned a lot.

Also you guys are great sharing your knowledge!!!

re ebrake 3 PIN - sorry my bad. There is a 3 PIN connector for ebrake [EBS-, +5V and Gnd] What i meant is, im not going to use ebrake level [hardware], so i will just cut off the connector, connect EBS- with GND and leave the +5 wire unused..

once i have the controller open, i think last time i checked resistors for continuity, and the multimeter beeped. This time it doesn't. not sure if i should be worried... [pic attached]
 

Attachments

  • IMG_0259.JPG
    IMG_0259.JPG
    63.5 KB · Views: 1,773
I can't help with your question, but what is the SP signal? that is something new to me
 
NeilP said:
I can't help with your question, but what is the SP signal? that is something new to me

it is just signal code on Lyen's controller board... where the signal wires are soldered to.. [throttle and cruise control]
 
NeilP said:
I can't help with your question, but what is the SP signal? that is something new to me

SP is the green (or white) wire in your throttle connector.
 
wrong pic earlier ..
 

Attachments

  • IMG_0260.JPG
    IMG_0260.JPG
    60.6 KB · Views: 1,761
wojtek said:
re ebrake 3 PIN - sorry my bad. There is a 3 PIN connector for ebrake [EBS-, +5V and Gnd] What i meant is, im not going to use ebrake level [hardware], so i will just cut off the connector, connect EBS- with GND and leave the +5 wire unused..

I may be misunderstanding you here, but if you connect EBS- to GND, your bike will not operate. That connection tells the controller to stop.

I'm sure Edward knows why those resistors are there, but I have not a clue...
 
number1cruncher said:
There are two types of regen: throttle regen and fake indicate (ebrake). Throttle regen does not allow freewheel, because as you release the throttle, the regen drags on the wheel to slow you down. Fake indicate only engages when you press a switch(ebrake lever) to connect EBS- to GND.

to engage fake indicate [ebrake], i will have to press a switch to connect EMS- to GND. As i will have hydraulic disc brakes i will not use ebrake lever. So i will just connect EBS- with GND via switch. When i want to engage regen [braking or going downhill] i will just turn on a switch.

actually it may be better to have throttle regen on and when i want to freewheel, then i would press the button..

Lyen said there is an option in the program that allows you to enable the regen with only the ebrake and/or both the ebrake and/or the throttle
 
wojtek said:
number1cruncher said:
There are two types of regen: throttle regen and fake indicate (ebrake). Throttle regen does not allow freewheel, because as you release the throttle, the regen drags on the wheel to slow you down. Fake indicate only engages when you press a switch(ebrake lever) to connect EBS- to GND.

to engage fake indicate [ebrake], i will have to press a switch to connect EMS- to GND. As i will have hydraulic disc brakes i will not use ebrake lever. So i will just connect EBS- with GND via switch. When i want to engage regen [braking or going downhill] i will just turn on a switch.

actually it may be better to have throttle regen on and when i want to freewheel, then i would press the button..

Lyen said there is an option in the program that allows you to enable the regen with only the ebrake and/or both the ebrake and/or the throttle

I understand now. You don't want to use the crappy ebrake levers.

I do not think you can have freewheel with Throttle Regen unless you put the black to white wires on a switch, so you can turn off regen completely through the hardware. Maybe this is what you mean by, "press the button"?

Yes, I think when you have Throttle Regen enabled, it also works on the brakes/switch.
 
OK so throttle regen is software setting right? it is either on or off and it can only be changed by programming.
and with "ebrake regen" I can CHOOSE WHILE RIDING whether i can freewheel or not...
[can be activated by connecting EBS- to GND [doesnt matter whether it is done by a button switch or ebrake lever] ]

your hardware switch is great idea! i could just set up throttle regen and have a switch for hardware to freewheel! but actually in the end of the day it is all the same

choose Throttle Regen (0: Up 15 Mark) with hardware switch

-OR-

Ebrake Regen (1: Only Fake Indicate) with a ebrake switch
 
Throttle regen is great if you have low regen force and don't spend time at constant low throttle speed where you can get oscillation on and off. I may even do like you're talking about with the momentary switch to cut regen for the rare occasion, typically down a moderate incline, that I would want to just coast. I love the throttle regen on my cargo bike, but it does require becoming accustomed to the ideal distance for letting off the throttle at different speeds. Twist the throttle to go and let off to slow down is so simple that it's liberating. :mrgreen:

Regarding your controller problem. What is the voltage to the throttle, red to black? If it's 4.2V as someone mentioned earlier, then you have a problem. Do you use a precharge resistor when connecting, or suffer the spark? There's been some speculation that causes a rare problem with a symptom of lower voltage on the 5V rail causing a controller not to work. Doc has a post here in technical over a year ago about this unusual problem and the fix.

John
 
Back
Top