EB3XX paramater designer edited for more range in here

Get all your technical information about electric bikes here.
Post Reply
zombiess   100 MW

100 MW
Posts: 2889
Joined: Feb 01 2011 2:16am
Location: Ventura

EB3XX paramater designer edited for more range in here

Post by zombiess » Jun 09 2013 10:04pm

Here is quick and dirty hex edit I've done of the the EB3xx software to allow for higher battery currents. This is not a pretty edit, but it does work. I did this for my own testing and because Steveo has been asking me to do it for him for a few days so I figured I might as well help everyone out. I included some of my working sample files I have been testing with as well.

This allows you to turn block time down to 0.0, do this first, no more than 0.1S block time on a high power controller if you want it to stand a chance at living.

Changes:
battery current all the way up to 250A
Block time as low as 0.0s
Regen voltage of 55,63,75V. I changed this for my own needs as I use this on my IRFB4115 18 FET controllers at 125V to get regen with the proper R12 mod to change LVC/HVC. 1200 ohm R12 = displayed voltage, 900 ohm R12 = 1.33x displayed voltage, 600 ohm R12 = 2.00x displayed voltage. For reference most of Lyen's IRFB4110 controllers use a 900 ohm R12, IRFB4115 controllers usually have a 600 ohm R12.

Disclaimer, if you blow up your controller... you probably pushed it to hard :P I sell 18FET and 24 FET replacements :D
For an even better selection of options use XPD. I need to spend some time hacking the source code on that to make sure the shunt values are what I think they are... just need more time. XPD kicks serious butt!

Enjoy.
EB3xx V2.zip
(696.38 KiB) Downloaded 626 times

User avatar
steveo   1 MW

1 MW
Posts: 1774
Joined: Oct 06 2007 3:07pm
Location: Woodbridge, Ontario

Re: EB3XX paramater designer edited for more range in here

Post by steveo » Jun 11 2013 6:26pm

Thanks zombiess!!

your Awsome :mrgreen:
Repair Thread
http://endless-sphere.com/forums/viewto ... =3&t=27170
Hub Monster bike ~ 24s7p A123 15.4ah/18kv Six Phase Motor/Dual Max-E Adapttos/32kw~42.91Hp/Est 140LBS
X6 Kmx Trike ~ 24s4p 20ah/X6 MHM 602/Infinion EB324 IRFB 4110/20Kw~26.82Hp/Est 120LBS ~SOLD~
Lightening rods bike ~ 18s2p 10ah/1500w Inrunner/Infinion EB312 IRFB4110/2KW~2.68hp/Est 60LBS
EV Outboard ~ 12s8p 40ah/5KW GM Inrunner/Infinion EB324 IRFB 4110/18Hp Evinrude Drive/Est 100lbs
http://www.youtube.com/user/trdfreak03

User avatar
madin88   100 MW

100 MW
Posts: 2967
Joined: May 27 2013 2:02am
Location: Austria

Re: EB3XX paramater designer edited for more range in here

Post by madin88 » Jul 28 2013 6:15am

zombiess wrote: For an even better selection of options use XPD.
In XPD i can set the Phase Amps and Battery Amps as well all the way up as in your modified Software.
Further more i can set the Regen Voltage (HVC) in one volt steps up and down, and not only in three steps (55,63,75V for example).

=> buuut: do the changes which i set in XPD really take effect on my controller, or does it only work with your modified Software?
If XPD apply all settings to the controller, why not everyone uses XPD instead of this "standard" Lyen etc. Software?

sorry i cannot try it on my own. My Cromotor isn't installed yet in my bike...
- 10kW belt drive with Neumotor 8057: [url]viewtopic.php?
- KTM Hardtail Pedelec / eZee V2 6T / 27,5" / Kelly KBSX @ 1,5kW / Torque PAS / CA-V3 / 13s4p Sanyo GA in Shark case

zombiess   100 MW

100 MW
Posts: 2889
Joined: Feb 01 2011 2:16am
Location: Ventura

Re: EB3XX paramater designer edited for more range in here

Post by zombiess » Jul 28 2013 1:27pm

The reason more people don't use it is because the install is too complicated for many... at least that is what I've gathered from reading on here.

User avatar
steveo   1 MW

1 MW
Posts: 1774
Joined: Oct 06 2007 3:07pm
Location: Woodbridge, Ontario

Re: EB3XX paramater designer edited for more range in here

Post by steveo » Jul 29 2013 12:03pm

zombiess wrote:The reason more people don't use it is because the install is too complicated for many... at least that is what I've gathered from reading on here.
I agree.. i tried installing... was totally lost on how to use it....

-steveo
Repair Thread
http://endless-sphere.com/forums/viewto ... =3&t=27170
Hub Monster bike ~ 24s7p A123 15.4ah/18kv Six Phase Motor/Dual Max-E Adapttos/32kw~42.91Hp/Est 140LBS
X6 Kmx Trike ~ 24s4p 20ah/X6 MHM 602/Infinion EB324 IRFB 4110/20Kw~26.82Hp/Est 120LBS ~SOLD~
Lightening rods bike ~ 18s2p 10ah/1500w Inrunner/Infinion EB312 IRFB4110/2KW~2.68hp/Est 60LBS
EV Outboard ~ 12s8p 40ah/5KW GM Inrunner/Infinion EB324 IRFB 4110/18Hp Evinrude Drive/Est 100lbs
http://www.youtube.com/user/trdfreak03

User avatar
steveo   1 MW

1 MW
Posts: 1774
Joined: Oct 06 2007 3:07pm
Location: Woodbridge, Ontario

Re: EB3XX paramater designer edited for more range in here

Post by steveo » Sep 23 2013 10:38pm

Hey Jeremy

By any chance do you have a updated version of the software that supports the eb324 and 3b336 boards

This software is only good up to 18mosfet infinion

I have a 18fet pcb that is built with 4 shunt wires.. Id like to try programming as a 24 fet

Same idea for the 24pcbs ill build for my hubmonster motor

Thanks
-Steveo
Repair Thread
http://endless-sphere.com/forums/viewto ... =3&t=27170
Hub Monster bike ~ 24s7p A123 15.4ah/18kv Six Phase Motor/Dual Max-E Adapttos/32kw~42.91Hp/Est 140LBS
X6 Kmx Trike ~ 24s4p 20ah/X6 MHM 602/Infinion EB324 IRFB 4110/20Kw~26.82Hp/Est 120LBS ~SOLD~
Lightening rods bike ~ 18s2p 10ah/1500w Inrunner/Infinion EB312 IRFB4110/2KW~2.68hp/Est 60LBS
EV Outboard ~ 12s8p 40ah/5KW GM Inrunner/Infinion EB324 IRFB 4110/18Hp Evinrude Drive/Est 100lbs
http://www.youtube.com/user/trdfreak03

zombiess   100 MW

100 MW
Posts: 2889
Joined: Feb 01 2011 2:16am
Location: Ventura

Re: EB3XX paramater designer edited for more range in here

Post by zombiess » Sep 23 2013 10:51pm

18 FET is as high as eb3xx software goes. Time to do some math. Its China and cheap :)

User avatar
Drunkskunk   100 GW

100 GW
Posts: 7167
Joined: Apr 14 2007 11:37am
Location: Dallas, Texas. U.S.A.

Re: EB3XX paramater designer edited for more range in here

Post by Drunkskunk » Sep 23 2013 10:59pm

Any chance this thing will work with windows Vista? My old XP machine is dead
Buy the ticket, take the ride.
Monster Bike:http://endless-sphere.com/forums/viewto ... =6&t=38667

zombiess   100 MW

100 MW
Posts: 2889
Joined: Feb 01 2011 2:16am
Location: Ventura

Re: EB3XX paramater designer edited for more range in here

Post by zombiess » Sep 23 2013 11:05pm

Drunkskunk wrote:Any chance this thing will work with windows Vista? My old XP machine is dead
Probably. I only use windows 7 x64

User avatar
steveo   1 MW

1 MW
Posts: 1774
Joined: Oct 06 2007 3:07pm
Location: Woodbridge, Ontario

Re: EB3XX paramater designer edited for more range in here

Post by steveo » Sep 24 2013 2:25pm

zombiess wrote:18 FET is as high as eb3xx software goes. Time to do some math. Its China and cheap :)
i'll ask Keywin if he has a newer software version avaliable.


I will post it if i get it here..


thanks
Steveo
Repair Thread
http://endless-sphere.com/forums/viewto ... =3&t=27170
Hub Monster bike ~ 24s7p A123 15.4ah/18kv Six Phase Motor/Dual Max-E Adapttos/32kw~42.91Hp/Est 140LBS
X6 Kmx Trike ~ 24s4p 20ah/X6 MHM 602/Infinion EB324 IRFB 4110/20Kw~26.82Hp/Est 120LBS ~SOLD~
Lightening rods bike ~ 18s2p 10ah/1500w Inrunner/Infinion EB312 IRFB4110/2KW~2.68hp/Est 60LBS
EV Outboard ~ 12s8p 40ah/5KW GM Inrunner/Infinion EB324 IRFB 4110/18Hp Evinrude Drive/Est 100lbs
http://www.youtube.com/user/trdfreak03

zombiess   100 MW

100 MW
Posts: 2889
Joined: Feb 01 2011 2:16am
Location: Ventura

Re: EB3XX paramater designer edited for more range in here

Post by zombiess » Sep 24 2013 2:30pm

steveo wrote:
zombiess wrote:18 FET is as high as eb3xx software goes. Time to do some math. Its China and cheap :)
i'll ask Keywin if he has a newer software version avaliable.


I will post it if i get it here..


thanks
Steveo
I already asked about a month ago and he did not know of any new version. Xie Changs website didn't have anything either.

User avatar
steveo   1 MW

1 MW
Posts: 1774
Joined: Oct 06 2007 3:07pm
Location: Woodbridge, Ontario

Re: EB3XX paramater designer edited for more range in here

Post by steveo » Sep 24 2013 5:06pm

zombiess wrote:
steveo wrote:
zombiess wrote:18 FET is as high as eb3xx software goes. Time to do some math. Its China and cheap :)
i'll ask Keywin if he has a newer software version avaliable.


I will post it if i get it here..


thanks
Steveo
I already asked about a month ago and he did not know of any new version. Xie Changs website didn't have anything either.
how have you been programing the 24 fets? I remember some software you referred me to a while back.. but i was totally lost on how to use it..

could i program my 24 fets as 18fets till the software for the 24's 7 36's are avaliable?

thanks
-steveo
Repair Thread
http://endless-sphere.com/forums/viewto ... =3&t=27170
Hub Monster bike ~ 24s7p A123 15.4ah/18kv Six Phase Motor/Dual Max-E Adapttos/32kw~42.91Hp/Est 140LBS
X6 Kmx Trike ~ 24s4p 20ah/X6 MHM 602/Infinion EB324 IRFB 4110/20Kw~26.82Hp/Est 120LBS ~SOLD~
Lightening rods bike ~ 18s2p 10ah/1500w Inrunner/Infinion EB312 IRFB4110/2KW~2.68hp/Est 60LBS
EV Outboard ~ 12s8p 40ah/5KW GM Inrunner/Infinion EB324 IRFB 4110/18Hp Evinrude Drive/Est 100lbs
http://www.youtube.com/user/trdfreak03

zombiess   100 MW

100 MW
Posts: 2889
Joined: Feb 01 2011 2:16am
Location: Ventura

Re: EB3XX paramater designer edited for more range in here

Post by zombiess » Sep 24 2013 5:33pm

I program them as 18 FET, adjust the battery current to account for the extra shunt and set the phase current low since have no clue if it goes higher than programmed when it's done as an 18 FET. The shunt value does not appear to have any effect on EB3 controller phase amp settings.

User avatar
alsmith   100 kW

100 kW
Posts: 1182
Joined: Dec 03 2010 7:25pm
Location: Northumberland, UK

Re: EB3XX paramater designer edited for more range in here

Post by alsmith » Sep 28 2013 12:02pm

I've looked at these bits of software a few times but keep putting off using it- it doesn't give the impression of being user friendly (recalculating some figures, can't read or save existing settings just in case....)- but I'm going to have to bite the bullet soon. I've got two Lyen 18FET controllers (Mk I and Mk II), and the Mk II is set 10A lower than the Mk I and struggles a bit up some of the hills and can't manage a couple very well at all whereas the Mk I manages better. My current solution works- changing the route- but in't really the correct solution. I'm only running 36V, partly because I had a problem where the controllers needed to 'warm up' for a mile or two before giving full power- I didn't want to risk 72V because sometimes it kicked it with full power although it was usually a slow build up. Sometimes it would crawl away at only 5 or 6 mph. I think the problem is that Crystalyte used crap wires for the halls- I recently had to resolder them and one phase was corroded no matter how far I stripped the wire back. I'll replace them at the next wheel stripdown (if it snows this winter?).

Anyhow, I'll print your stuff off, work out what the new settings should be, check the maths again, create the file and try programming the Mk II contoller.

btw for those that asked about compatibility there is an option in Windows where the program can be made to think your version of Windows is an earlier version than it actually is. I recently updated to Windows 8 (made usable with the Classic Shell utility) and had to do this for 1 old program I use.

kifukarider   10 W

10 W
Posts: 71
Joined: May 06 2013 3:05am

Re: EB3XX paramater designer edited for more range in here

Post by kifukarider » Sep 28 2013 5:58pm

alsmith wrote:Anyhow, I'll print your stuff off, work out what the new settings should be, check the maths again, create the file and try programming the Mk II contoller.
You really should use XPD. Even Zombiess admits it's a better solution.
zombiess wrote:For an even better selection of options use XPD. I need to spend some time hacking the source code on that to make sure the shunt values are what I think they are... just need more time. XPD kicks serious butt!
I actually have taken the time to verify the inputs and outputs of XPD against Zombiess' and Lyen's versions of the Keywin E-bike Lab so I can confirm they are correct.

http://xpd.berlios.de/

If you need support, the ES thread is at http://endless-sphere.com/forums/viewto ... =2&t=27927

User avatar
alsmith   100 kW

100 kW
Posts: 1182
Joined: Dec 03 2010 7:25pm
Location: Northumberland, UK

Re: EB3XX paramater designer edited for more range in here

Post by alsmith » Sep 28 2013 7:38pm

kifukarider wrote:
alsmith wrote:Anyhow, I'll print your stuff off, work out what the new settings should be, check the maths again, create the file and try programming the Mk II controller.
You really should use XPD. Even Zombiess admits it's a better solution.
zombiess wrote:For an even better selection of options use XPD. I need to spend some time hacking the source code on that to make sure the shunt values are what I think they are... just need more time. XPD kicks serious butt!
I actually have taken the time to verify the inputs and outputs of XPD against Zombiess' and Lyen's versions of the Keywin E-bike Lab so I can confirm they are correct.

http://xpd.berlios.de/

If you need support, the ES thread is at http://endless-sphere.com/forums/viewto ... =2&t=27927
Yep, I've downloaded the software, and all of that thread for a bit of light offline reading.

User avatar
mwkeefer   10 MW

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

Re: EB3XX paramater designer edited for more range in here

Post by mwkeefer » Feb 14 2015 3:56am

I can't believe I didn't see this sooner... I started hex editing the Parameter Designer software long ago but what I've never tried (not even sure why not) is removing the MCU (Infineon, Xie Chang, Etc) and dumping the hex and eep data. I'm sure there is a simple way to dump the EEP which would back up the settings or allow reading them (even the cheapest ASIC MCU supports this usually through ISP (inline serial programming)).

Truth is with a HEX dump of the code, and a fair bit of experience with Assembler Code (experience I have) I believe we could alter many, many of what are perceived as imperfections in the design.

I'm also fairly sure the open source XPD programming software for settings would be a better choice since, well it's open source so these contributions for extended settings can be incorporated easily enough into the base code.

On a seperate but simliar topic, I have used the same HEX editing to change available values for Bafang BBS02 units too and have logged and anlyzed the entire programming protocol so I can eventually add the code to XPD so it will support Bafang BBS01/Bafang BBS02 controllers... not a high priority since I've begun using 6 FET external controllers for all these Bafangs of my own... more efficient.

Thanks for your work and contribution (and hopefully inspiration for everyone).

-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
neptronix   100 GW

100 GW
Posts: 14107
Joined: Jun 15 2010 5:56pm
Location: California refugee living in Utah, USA
Contact:

Re: EB3XX paramater designer edited for more range in here

Post by neptronix » Feb 14 2015 3:24pm

Guys, this original program was written in visual basic 6.0.. google search for 'visual basic 6 decompiler'. There are a bunch of VB decompilers out there, and you can use this to figure out the communication protocol etc if you want to make a new version ala XPD

BTW, this will run in windows 7 / vista just fine.. the trick is to right click on the executable and select 'run as administrator'.

You also need these files in the same folder:
comdlg32.ocx
richtx32.ocx
mscomctl.ocx
mscomm32.ocx
"Love and compassion are necessities, not luxuries. Without them, humanity cannot survive." - Dalai Lama

My first major build: 1.6kW 8T MAC motor on a Trek 4500.
The new all-arounder: Leafmotor 1500w @ 4kW on a Turner O2 full suspension.
The monster scooter: 20" eZee on a Cannondale Semi Recumbent.
Whipper-snapper: ? on a lightweight BikeE Semi Recumbent

User avatar
mwkeefer   10 MW

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

Re: EB3XX paramater designer edited for more range in here

Post by mwkeefer » Feb 14 2015 3:52pm

Neo, too late I've disassembked the Parameter Designer vb6 app... This was just before XPD became available so other than giving useable names to variables and one or two other changes it was abandoned. Your welcome to the code and my serial io library which is to replace mscomm32.ocx.

-Mike

Actually I could do a cb.net port using framework 3.0 and make it compatible with windows, Linux and OS X (mono) if there was an Interest?

PM me if you would've interested in a open source port of Parameter Desigber?
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: 4983
Joined: Nov 27 2010 3:18pm
Location: 49.17303, -2.05354 Jersey, Europe
Contact:

Re: EB3XX paramater designer edited for more range in here

Post by NeilP » Feb 15 2015 1:36am

Just for info
I recently received a little 12 FET 4110 from Keywin
The R12 mod he does now is
Original 1200 Ohm
Parallel 1200 Ohm
Overall therefore 600 ohm
So need to enter half the required value

Also many controllers now ship with a shunt mod which is just an extra 4 milliohm SMD shunt on the traces on the back of the board. So for a 12 FET, need to use 18 FET profile as effectively same shunt value as an 18.

Rather than use profiles for shunt differences, shame we cant have a box where we enter a figure for shunt value direct. Then other shunt mods / resistance innaccuracies could be taken in to account to

My latest 12 FET I have had to enter 38 amps and use 18 FET profile to get a 45 amp battery current.
That 45 amp is measured on a CA DP with shunt value calculated using the iCharger 'reverse current ' ..... so possible innaccuracies there too. Also the boards are now different again, so who really kniws for sure.
The latest generation are KH3xx
:) Only Irish coffee provides in a glass all four essential food groups: alcohol, caffeine, sugar, and fat :)

User avatar
Htfan   100 W

100 W
Posts: 132
Joined: Oct 24 2014 12:10am
Location: So Cal

Re: EB3XX paramater designer edited for more range in here

Post by Htfan » May 14 2018 8:23pm

Just wanted to say thank you very much to zombiess for this thread! I know this is a very old conversation, but it resolved my issue with limited regen voltage options for my 12fet Lyen controller. XPD was not working for me.

I'm running a 16s battery and the default options in the software were not appropriate. I downloaded a basic Hex editor and made the changes. Regen works perfectly now!
"Try not to become a man of success, but rather try to become a man of value."

- Albert Einstein

Post Reply