map repo

FreeEMS topics that aren't specific to hardware development or firmware development.
User avatar
EssEss
LQFP112 - Up with the play
Posts: 244
Joined: Thu Sep 10, 2009 9:23 am
Location: Dayton, OH

map repo

Post by EssEss »

now that the volvo is tuned, do we need a map repo/exchange here ? :lol2:
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: map repo

Post by Fred »

Wouldn't we need to be able to save a map without a firmware dump or screen shot to have one of these? :-)
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: map repo

Post by Fred »

Today's tune :

Image

192cc/min injectors

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
EssEss
LQFP112 - Up with the play
Posts: 244
Joined: Thu Sep 10, 2009 9:23 am
Location: Dayton, OH

Re: map repo

Post by EssEss »

Fred wrote:Wouldn't we need to be able to save a map without a firmware dump or screen shot to have one of these? :-)
sounds like a future feature of tuner :)

I'm a fan of anything but xml and somewhat human readable/editable but a step above .ini's - sometimes I like to browse a tune w/o having to use an app other than notepad ;)
User avatar
sry_not4sale
LQFP144 - On Top Of The Game
Posts: 568
Joined: Mon Mar 31, 2008 12:47 am
Location: New Zealand, land of the long white burnout
Contact:

Re: map repo

Post by sry_not4sale »

EssEss, we decided early on in the piece to use JSON as an alternative to XML for storing data. It's is a LOT nicer to read, and is also common enough for most languages to have a decent parsing library.

The tuner already uses it for some firmware version specific stuff :)
Owner / Builder: 1983 Mazda Cosmo 12at (1200cc 2-rotor turbo) coupe [SPASTK]
165hp @ 6psi standard - fastest production car in japan Oct 82
User avatar
sry_not4sale
LQFP144 - On Top Of The Game
Posts: 568
Joined: Mon Mar 31, 2008 12:47 am
Location: New Zealand, land of the long white burnout
Contact:

Re: map repo

Post by sry_not4sale »

If we get the newlines right in the JSON map storage format, we could have a git-based map repo that can show diffs between versions of the same map :D :D
Owner / Builder: 1983 Mazda Cosmo 12at (1200cc 2-rotor turbo) coupe [SPASTK]
165hp @ 6psi standard - fastest production car in japan Oct 82
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: map repo

Post by Fred »

Well, Rob and I went out this evening and Rob tuned the car while I drove it at break neck speeds along the freeways of Tampa, Florida. As of tonight :
  • It idles better than stock.
  • It has more midrange torque than stock
  • It has 10mph greater top speed on the flat than stock!!
Here is the map :

Image

Pretty awesome :-)

We got some cold start issues this morning at mid throttles until it warmed up a bit. Not unexpected with no algorithm for that... something to work on :-)

Thank you Rob! Thank you Aaron!

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
tpsretard
QFP80 - Contributor
Posts: 99
Joined: Thu Mar 19, 2009 3:05 am

Re: map repo

Post by tpsretard »

that is actually a really nice looking map, very smooth.
It looks a lot like other ems's i tune, manly motec.

May i ask how you are calculating the pw's

man i am not a coder, but i think i need to look at the code...

i have not been this exited since the beging of megasquirt
just to be let down by it in the end..

So far this one seems right..

i am not sure. i think part of the problem with the ms, (apart from the noise) is they have tryed to get way to fancy with everything.
i actually have the way gems works out there pw's and it s stupidly simple, and that euc is used in a lot of the world rally teams..

i have another question, when u save the table or any other settings, do you get that horrible burn stumble.
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: map repo

Post by Fred »

tpsretard wrote:that is actually a really nice looking map, very smooth.
It looks a lot like other ems's i tune, manly motec.
Thank Rob/m2cupcar for that :-)
May i ask how you are calculating the pw's
Yes, with pure physics and all parameters accounted for :-) Three phase, constants merged by hand before compile and well commented, at init time with untunable things such as cylinder volume, injector size etc, and real time with current input parameters for a final base value, then corrections are added, in this case, just a fixed 1200tick/1ms opening time guess. This may be too high and responsible for the higher than real efficiency in the top end.
man i am not a coder, but i think i need to look at the code...
It's well commented and viewable online, give it a whirl :-)
i have not been this exited since the beging of megasquirt
just to be let down by it in the end..

LOL, you and me both! I'll try not to let you down!
i am not sure. i think part of the problem with the ms, (apart from the noise) is they have tryed to get way to fancy with everything.
Not just too fancy, but also just plain wrong in many ways. The are fixing stuff though, gradually, following my lead LOL.
i actually have the way gems works out there pw's and it s stupidly simple, and that euc is used in a lot of the world rally teams..
Mine isn't simple, but it is correct. It's not fancy either though, the base calcs should be exactly this, nothing more, nothing less. The corrections on the other hand, they can get fancy, and all corrections should be optional, and un-intrusive. This is the mistake ms makes, corrections you CAN'T tune out and turn off... wtf... none of that for us :-)
i have another question, when u save the table or any other settings, do you get that horrible burn stumble.
Yes, this is unavoidable and a good thing to let you know that it happened :-)

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
jbelanger
LQFP144 - On Top Of The Game
Posts: 387
Joined: Sat Feb 23, 2008 8:58 pm
Contact:

Re: map repo

Post by jbelanger »

Fred wrote:
i have another question, when u save the table or any other settings, do you get that horrible burn stumble.
Yes, this is unavoidable and a good thing to let you know that it happened :-)

Fred.
Are you sure this is true? I know you can't use a flash block being erased/programmed but there are 4 blocks in the XDP512. I don't know if you can run from one flash block while erasing/programming in another one or not and I didn't see an answer to that in my quick glance at the specs but that definitely needs investigating. And if you can then you need to use the memory such that you can take advantage of it.

Jean
Post Reply