XPD: open-source keywin e-bike lab replacement

Get all your technical information about electric bikes here.
User avatar
full-throttle   10 MW

10 MW
Posts: 2013
Joined: May 07 2009 8:21pm
Location: N-E Victoria, AUS

Re: XPD: open-source keywin e-bike lab replacement

Post by full-throttle » Aug 15 2011 7:36am

Floont wrote:Um, who is "Hal"?
Heuristically programmed ALgorithmic computer ;)
Don't you people read books anymore :roll:

Just kidding
couldn't resist

User avatar
NeilP   10 GW

10 GW
Posts: 4967
Joined: Nov 27 2010 3:18pm
Location: 49.17303, -2.05354 Jersey, Europe
Contact:

Re: XPD: open-source keywin e-bike lab replacement

Post by NeilP » Aug 15 2011 7:46am

gensem wrote: big frocks in his garage.
What?

That obviously has some other meaning in the USA? or does he really have a collection of old fashioned ladies dresses? Something we should know?
:) Only Irish coffee provides in a glass all four essential food groups: alcohol, caffeine, sugar, and fat :)

User avatar
gensem   100 kW

100 kW
Posts: 1461
Joined: Apr 01 2011 5:28pm
Location: Sao Paulo - Brazil

Re: XPD: open-source keywin e-bike lab replacement

Post by gensem » Aug 15 2011 8:07am

NeilP wrote:
gensem wrote: big frocks in his garage.
What?

That obviously has some other meaning in the USA? or does he really have a collection of old fashioned ladies dresses? Something we should know?
Haha
If im not mistaken its an aussie slang for hub motors.
Justin we really appreciate what you did!

User avatar
NeilP   10 GW

10 GW
Posts: 4967
Joined: Nov 27 2010 3:18pm
Location: 49.17303, -2.05354 Jersey, Europe
Contact:

Re: XPD: open-source keywin e-bike lab replacement

Post by NeilP » Aug 15 2011 11:17am

I do hope so..either that or we are in for a revelation some time soon... :P
:) Only Irish coffee provides in a glass all four essential food groups: alcohol, caffeine, sugar, and fat :)

User avatar
hillzofvalp   1 MW

1 MW
Posts: 1861
Joined: Dec 26 2010 2:09am
Location: Los Angeles, CA

Re: XPD: open-source keywin e-bike lab replacement

Post by hillzofvalp » Aug 15 2011 11:11pm

I wish the regen on my 12fet from lyen would be stronger... Cause after the conversion of my 29er I am finding it a huge hassle to create a mount for a caliper (it rubs on the 9c). Do you guys even use your rear brake that much? Any chance of making regen much stronger?

User avatar
NeilP   10 GW

10 GW
Posts: 4967
Joined: Nov 27 2010 3:18pm
Location: 49.17303, -2.05354 Jersey, Europe
Contact:

Re: XPD: open-source keywin e-bike lab replacement

Post by NeilP » Aug 16 2011 1:17am

As long as you stay within the voltage limits of your controller hou can always up the regen voltage
I asked about this a while back and as long as you are nog using massive amounts of regen braking immediately after starting with a fully charged battery, you wont have a problem with over volting the cells

I have a 20s LiPo pack, hot at about 83.2 volts
I have my regen volts at around 88 volts
:) Only Irish coffee provides in a glass all four essential food groups: alcohol, caffeine, sugar, and fat :)

User avatar
hillzofvalp   1 MW

1 MW
Posts: 1861
Joined: Dec 26 2010 2:09am
Location: Los Angeles, CA

Re: XPD: open-source keywin e-bike lab replacement

Post by hillzofvalp » Aug 16 2011 1:48am

my pack is 46.2V nominal... I've heard of A123 cells being charged to 3.65V anyways (I charge them to 3.6)... so it couldn't hurt. What do you think the max regen voltage is for my 12FET (extreme) lyen controller, considering my pack voltage as well?

Keep in mind that I'm talking about making the rear motor act as more of an actual brake that could slow me down sufficiently if my front brake failed..

User avatar
NeilP   10 GW

10 GW
Posts: 4967
Joined: Nov 27 2010 3:18pm
Location: 49.17303, -2.05354 Jersey, Europe
Contact:

Re: XPD: open-source keywin e-bike lab replacement

Post by NeilP » Aug 16 2011 2:06am

Now not sure, but expect if Lyen has modded it, it must have 4110 's at least and 100 v caps,so you should be good up to that. but I would probably check with Ed first. . but unless you have had the R12 regen mod done,then you wontget above 75v regen anyway

I would be tempted to up the regen voltage in xpd slowly till you get braking without too high voltages. Do you have a CA ? or maybe rig up a volt meter to the pack and cable tie it to the bars and do a few test runs to see what volts peak at
:) Only Irish coffee provides in a glass all four essential food groups: alcohol, caffeine, sugar, and fat :)

User avatar
hillzofvalp   1 MW

1 MW
Posts: 1861
Joined: Dec 26 2010 2:09am
Location: Los Angeles, CA

Re: XPD: open-source keywin e-bike lab replacement

Post by hillzofvalp » Aug 16 2011 10:37am

volts between phase and ground?

User avatar
NeilP   10 GW

10 GW
Posts: 4967
Joined: Nov 27 2010 3:18pm
Location: 49.17303, -2.05354 Jersey, Europe
Contact:

Re: XPD: open-source keywin e-bike lab replacement

Post by NeilP » Aug 16 2011 3:27pm

Sorry ? explain what you mean?
:) Only Irish coffee provides in a glass all four essential food groups: alcohol, caffeine, sugar, and fat :)

User avatar
hillzofvalp   1 MW

1 MW
Posts: 1861
Joined: Dec 26 2010 2:09am
Location: Los Angeles, CA

Re: XPD: open-source keywin e-bike lab replacement

Post by hillzofvalp » Aug 16 2011 7:05pm

I assume you meant attaching voltmeter to battery pack.. correct?

User avatar
thewmatusmoloki   10 kW

10 kW
Posts: 653
Joined: Sep 16 2008 9:07am
Location: Gold Coast Australia

Re: XPD: open-source keywin e-bike lab replacement

Post by thewmatusmoloki » Aug 16 2011 7:48pm

NeilP wrote:I do hope so..either that or we are in for a revelation some time soon... :P
Hey Neil, check this link out. In "related terms".
http://en.wikipedia.org/wiki/Frock

It's a revelation !

User avatar
Danny Mayes   1 kW

1 kW
Posts: 316
Joined: Feb 16 2011 10:17pm
Location: Perth, Australia

Re: XPD: open-source keywin e-bike lab replacement

Post by Danny Mayes » Aug 16 2011 8:48pm

LMAO!!!

Too funny that it is now on the wiki "Frock" page.

I wonder who is responsible for that??

Gold!!

User avatar
AussieJester   100 GW

100 GW
Posts: 8736
Joined: Mar 11 2008 3:33am
Location: Perth Western Australia

Re: XPD: open-source keywin e-bike lab replacement

Post by AussieJester » Aug 16 2011 9:31pm

Danny Mayes wrote:LMAO!!!

Too funny that it is now on the wiki "Frock" page.

I wonder who is responsible for that??

Gold!!
Hyena got in first with the wiki entry about frocks concerned if I got in first there would be.photochops of him in a dress riding a frock powered bicycle.

I only wish I hd thought of it first, hrmz....looking up how to submit to Urban Dictionary now :-p

KiM

User avatar
NeilP   10 GW

10 GW
Posts: 4967
Joined: Nov 27 2010 3:18pm
Location: 49.17303, -2.05354 Jersey, Europe
Contact:

Re: XPD: open-source keywin e-bike lab replacement

Post by NeilP » Aug 16 2011 10:21pm

AussieJester wrote:
in a dress riding a frock powered bicycle.
Don't you mean
'In a frock riding a frock powered bicycle' :)
:) Only Irish coffee provides in a glass all four essential food groups: alcohol, caffeine, sugar, and fat :)

User avatar
gensem   100 kW

100 kW
Posts: 1461
Joined: Apr 01 2011 5:28pm
Location: Sao Paulo - Brazil

Re: XPD: open-source keywin e-bike lab replacement

Post by gensem » Aug 17 2011 10:13am

NeilP wrote:
AussieJester wrote:
in a dress riding a frock powered bicycle.
Don't you mean
'In a frock riding a frock powered bicycle' :)
I wouldnt care about wearing a frock, but was speaking about the hub motor.

:)
Justin we really appreciate what you did!

User avatar
hillzofvalp   1 MW

1 MW
Posts: 1861
Joined: Dec 26 2010 2:09am
Location: Los Angeles, CA

Re: XPD: open-source keywin e-bike lab replacement

Post by hillzofvalp » Aug 18 2011 11:58am

so if my pack is 46.2V, it still won't hurt to have regen above 80V?

User avatar
NeilP   10 GW

10 GW
Posts: 4967
Joined: Nov 27 2010 3:18pm
Location: 49.17303, -2.05354 Jersey, Europe
Contact:

Re: XPD: open-source keywin e-bike lab replacement

Post by NeilP » Aug 18 2011 2:49pm

Not sure I would be looking at going that far above pack voltage ..I might puss 4 or 5 volts over..but nearly double...nah..think not...but maybe I am wrong
:) Only Irish coffee provides in a glass all four essential food groups: alcohol, caffeine, sugar, and fat :)

User avatar
mwkeefer   10 MW

10 MW
Posts: 2263
Joined: Jun 14 2009 8:47am
Location: Malvern, PA USA

Re: XPD: open-source keywin e-bike lab replacement

Post by mwkeefer » Aug 18 2011 2:54pm

Hello all,

So is XPD a currently implemented or working project to open source the serial programming of infineon type controllers and therefore allow more options than keywin's without resorting to Hex Editing an existing value with a replacement?

What language is planned for implement?

Regards,
Mike
Regards,
Mike

{My Rides]
2010 Dahon Jack - GNG v1 - LYEN 6FET - 20/40A - 18S2P10AH - Nom:66.6v,1332w
2004 Hard Rock Pro Disc - Recumpence ms eDrive v4 - Astro 3220 4T - 12S2P16AH - HV110 - Left Side Drive - Gearing: 38mph
Nominal Peak Power @ 60 seconds: 5328 watts - Maximum Power: 49.8v, 120A, 5872w
2010 Downtube 8FH - Stock GNG v1 Stock Controller - EB809XC - 12-16S
2012 Downtube Nova 7spd - Stock GNG v2 - 12S2P10AH - EB809 - 12S-16S - 20A/30A,Nom VCC: 44.4, 888w

User avatar
hillzofvalp   1 MW

1 MW
Posts: 1861
Joined: Dec 26 2010 2:09am
Location: Los Angeles, CA

Re: XPD: open-source keywin e-bike lab replacement

Post by hillzofvalp » Aug 18 2011 2:58pm

it currently works and is in english.. I suppose there is potential for more features to be adjusted, but there is no avilable source code for the chip in the controllers

User avatar
NeilP   10 GW

10 GW
Posts: 4967
Joined: Nov 27 2010 3:18pm
Location: 49.17303, -2.05354 Jersey, Europe
Contact:

Re: XPD: open-source keywin e-bike lab replacement

Post by NeilP » Aug 18 2011 3:05pm

Mike, did you get my message about the e-bikekit controllers? Justin tells me yo have had success programming them

Neil
:) Only Irish coffee provides in a glass all four essential food groups: alcohol, caffeine, sugar, and fat :)

User avatar
mwkeefer   10 MW

10 MW
Posts: 2263
Joined: Jun 14 2009 8:47am
Location: Malvern, PA USA

Re: XPD: open-source keywin e-bike lab replacement

Post by mwkeefer » Aug 18 2011 3:15pm

Neil,

Only on older ones, the newer 3XX series have the PCB template for the programming connector and I've traced them to the MCU and it seems to correspond with the 116 type controllers but... it will not accept programming (*correction - one of the newer 3XX series controllers from Justin was reprogrammable but it was an older one, it seems programming has been locked out of newer units)... I will test 2 or 3 random units from my stock later tonight / tommorow since they are of his newest shipment but don't count on it.

As of now the EB8XX and EB2XX series are programmable and available in various FET configurations from various places.

Regards,
Mike

PS: Sorry I missed your MSG
Regards,
Mike

{My Rides]
2010 Dahon Jack - GNG v1 - LYEN 6FET - 20/40A - 18S2P10AH - Nom:66.6v,1332w
2004 Hard Rock Pro Disc - Recumpence ms eDrive v4 - Astro 3220 4T - 12S2P16AH - HV110 - Left Side Drive - Gearing: 38mph
Nominal Peak Power @ 60 seconds: 5328 watts - Maximum Power: 49.8v, 120A, 5872w
2010 Downtube 8FH - Stock GNG v1 Stock Controller - EB809XC - 12-16S
2012 Downtube Nova 7spd - Stock GNG v2 - 12S2P10AH - EB809 - 12S-16S - 20A/30A,Nom VCC: 44.4, 888w

User avatar
NeilP   10 GW

10 GW
Posts: 4967
Joined: Nov 27 2010 3:18pm
Location: 49.17303, -2.05354 Jersey, Europe
Contact:

Re: XPD: open-source keywin e-bike lab replacement

Post by NeilP » Aug 18 2011 3:27pm

I received mine the other day, and just fitted it to a temporary bike to try it out.

I'll open it up ant some point to see what exactly is inside.

I am also trying to get programming into a EB218 A 2 board, but no luck so far

It is a Xlyte board but although is a EB2 series, does not seem to accept the flash

I double posted this question...I put up a thread in May...forgot about it and then reposted a similar thread in August

http://www.endless-sphere.com/forums/vi ... =2&t=28292
http://www.endless-sphere.com/forums/vi ... 11#p447711

Any help you can be with that would also be appreciated

Neil
:) Only Irish coffee provides in a glass all four essential food groups: alcohol, caffeine, sugar, and fat :)

aop   10 µW

10 µW
Posts: 5
Joined: Aug 18 2011 3:13pm
Location: Switzerland

Re: XPD: open-source keywin e-bike lab replacement

Post by aop » Aug 18 2011 3:33pm

Hello folk

It is my first post here: "So, Hello to all".

I just want to share my first experiences with xpd and an EB224 controller. Don't know the source, but it does not seem one from Lyen. It was build in my chinese electric scooter...

Anyway, I used the EB224/Lyen settings to programm it and it worked to sucessful download the parameters to the controller. There are just some funny effects I wonder about it:
- "Phase current" changes works --> Accelaration changes --> maximum current on turnigy (wattsup clone) change too
- "Rated current" changes has no influence --> I can not limit the maximum power, which from my understandings should be possible with this parameter
- "Block time" changements has no influence on dead stop - accelaration...

I wonder are there other (limited) firmwares known on the infineon chips? These controllers just measure the battery rated current, the phase current is calculated, right? The controller has build in 4 shunts in parallel. Does anyone experienced the same behaviour already?

Regards
aop

User avatar
parabellum   10 MW

10 MW
Posts: 2067
Joined: Nov 19 2010 9:55am
Location: Dominican Republic, north.

Re: XPD: open-source keywin e-bike lab replacement

Post by parabellum » Aug 19 2011 1:12am

aop wrote:Hello folk

It is my first post here: "So, Hello to all".

I just want to share my first experiences with xpd and an EB224 controller. Don't know the source, but it does not seem one from Lyen. It was build in my chinese electric scooter...

Anyway, I used the EB224/Lyen settings to programm it and it worked to sucessful download the parameters to the controller. There are just some funny effects I wonder about it:
- "Phase current" changes works --> Accelaration changes --> maximum current on turnigy (wattsup clone) change too
- "Rated current" changes has no influence --> I can not limit the maximum power, which from my understandings should be possible with this parameter
- "Block time" changements has no influence on dead stop - accelaration...

I wonder are there other (limited) firmwares known on the infineon chips? These controllers just measure the battery rated current, the phase current is calculated, right? The controller has build in 4 shunts in parallel. Does anyone experienced the same behaviour already?

Regards
aop
anpaza wrote:I would like to beg anybody who uses XPD for the first time to keep an eye on the real current (with Cycle Analyst, or with a wattmeter), after setting the desired current limits with XPD.
I did limited testing of settings only for EB212/Lyen and EB206/Lyen controllers, the rest are untested, thus the real curent limits may happen to be larger than set.
Read before posting please.

Post Reply