March 17, 2010, 09:32:58 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: AEM SERIES 2 EMS PLUG-N-PLAY FOR MKIV SUPRAS!
 
Pages: [1] 2
Print
Author Topic: Changing Breakpoints without having to retune - App Inside  (Read 4389 times)
TheBoz2
Boost Comp = WIN
Global Moderator
100+ Post Club
*****
Posts: 170



« on: December 05, 2008, 05:56:58 PM »

*** JUST ADDED ALPHA RELEASE OF SOFTWARE IN ZIP FILE (12-6-08) ***
*** JUST ADDED ALPHA RELEASE OF SOFTWARE IN ZIP FILE (12-6-08) ***

You might need to have the Microsoft .NET 2.0 Framework installed.
http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en

Please report any bugs, errors, crashes here on the forums.


So during this week, I have been trying to figure out how to get more resolution out of my map.  So I decided to write a Console App that would rescale everything based on my Existing Map with new RPM and Load Breakpoints.

So before my map was an out of the box Load(-14.69 - 35.12psi) RPM(500 - 10500), I wanted to change it to Load(-14.69 - 30.04psi) and RPM(500 - 8600).  Now I already paid for a tune and the car is running good.  So I deiced to hit the forums and see what was there.  Well the only thing you can do is use the AEM Tuner which will scale things but does not do a very good job.  It removed a lot of data from my map, and I would have to retune a lot of it.  So that is where my program comes in.

I will try to get this up as a Web App so that you can modify your map with out loosing all your hard work.  I have also attached some images so that you can get an idea of what the results will be.

Here is how it works:
1. Load the Existing Map
2. Build a new Map that has Modified RPM Breakpoints
3. Build a new Map using the RPM Modified map to build the Modified Load Breakpoints.
4. As you are building the map, scale the points using Linear math.

So It is more or less a Percent of Change over a Distance.

Some of the math to calculate new points.
double dt = next.Load - previous.Load;
double dn = next.Load - current.Load;
double pc = (dn - dt) / dt;
double fdt = next.DutyCycle - previous.DutyCycle;
double tdt = next.Timing - previous.Timing;

current.DutyCycle = previous.DutyCycle - (fdt * pc);
current.Timing = previous.Timing - (tdt * pc);


* OldMap.jpg (98.89 KB, 637x809 - viewed 321 times.)

* NewMap.jpg (110.84 KB, 717x1007 - viewed 329 times.)
* MapScaler.zip (9.03 KB - downloaded 214 times.)
« Last Edit: December 10, 2008, 10:42:59 AM by GT » Logged

1991 Galant VR4 #129
2.0 4g63 FP DSM88HTA
http://user.streetfire.net/video/Galant-VR4-78997_380830.htm
shaundrake
300+ Post Club
***
Posts: 374



WWW
« Reply #1 on: December 05, 2008, 06:44:20 PM »

I spent a lot of time recently doing this by hand. Just trying to get it close to minimize the amount of time I spend retuning it again. Makes you pretty much want to pull your hair out. Your app would be a life saver.
Logged

Just another Civic.

"An Error Has Occurred!
Sorry, you can't read your personal messages."

PRIVATE MESSAGES DON'T WORK ON THIS FORUM SO STOP TRYING TO PM ME
TheBoz2
Boost Comp = WIN
Global Moderator
100+ Post Club
*****
Posts: 170



« Reply #2 on: December 05, 2008, 08:56:13 PM »

Yep, that is how I started, and then I was like there has to be a better way than doing this by hand.  There is nothing out there to do this, and it seems like something that would be pretty widely used.  So I have the Console App version of this, which I can email to people however it is an EXE so most people will not want to run that.  So I am working on a Web Version of this so that people can just put up the data onto a website and run it.

Currently the app just does the Fuel and Timing map, however I am going to expand it to the Secondary Fuel Injectors, Boost Control, and Nitrous Fuel and Timing.

Let me know if anyone is interested in testing out the app.  Also if you have Visual Studio I can send you the Solution file so that you can compile it yourslef.

Boz
Logged

1991 Galant VR4 #129
2.0 4g63 FP DSM88HTA
http://user.streetfire.net/video/Galant-VR4-78997_380830.htm
tseitz123
EMS Poster Child
*
Posts: 17


« Reply #3 on: December 06, 2008, 07:53:26 AM »

I am very interested in this sir! I suppose I can load VS, but i'd rather just test the finished app. LMK. Email me at tseitz2@gmail.com

Tom
Logged
TheBoz2
Boost Comp = WIN
Global Moderator
100+ Post Club
*****
Posts: 170



« Reply #4 on: December 06, 2008, 08:23:57 AM »

I am doing testing right now however i need som use cases.  if you guys can send me you existing load and rpm breakpoints and then you new ones i can test.  I do not need the grid data i will just use mine.

Here is how you can post it.

load orginal
-14.6949996948242   -11.5694751739502   -8.44395065307617   -5.31842613220215   -2.19290232658386   0.932622611522675   4.05814743041992   7.18367147445679   10.3091955184937   13.434720993042   16.560245513916   19.4904232025146   22.6159477233887   25.7414741516113   28.867000579834   31.9925212860107   35.1180458068848

load new
-14.6949996948242   -10.9834394454956   -7.27187919616699   -3.56031823158264   0.151241093873978   2.69073033332825   5.03487396240234   7.57436323165894   10.1138505935669   12.6533393859863   15.1928291320801   17.5369720458984   20.0764598846436   22.6159477233887   25.1554374694824   27.4995784759521   30.0390682220459

rpm orginal
500   1000   1500   2000   2500   3000   3500   4000   4500   5000   5500   6000   6500   7000   7500   8000   8500   9000   9500   10000   10500

rpm new
500   900   1300   1700   2100   2550   2950   3350   3750   4150   4550   4950   5350   5750   6150   6600   7000   7400   7800   8200   8600


Logged

1991 Galant VR4 #129
2.0 4g63 FP DSM88HTA
http://user.streetfire.net/video/Galant-VR4-78997_380830.htm
shaundrake
300+ Post Club
***
Posts: 374



WWW
« Reply #5 on: December 06, 2008, 02:55:52 PM »

I wouldn't worry too much about running an exe being that I can run a virus scanner on it first.

Don't forget the startup tables. I guess it's not as critical...
Logged

Just another Civic.

"An Error Has Occurred!
Sorry, you can't read your personal messages."

PRIVATE MESSAGES DON'T WORK ON THIS FORUM SO STOP TRYING TO PM ME
MKDSM
25+ Posts Club
*
Posts: 41


« Reply #6 on: December 06, 2008, 06:18:52 PM »

Interesting  afro ..
Logged
TheBoz2
Boost Comp = WIN
Global Moderator
100+ Post Club
*****
Posts: 170



« Reply #7 on: December 06, 2008, 07:19:51 PM »

Which startup tables are you talking about?
Logged

1991 Galant VR4 #129
2.0 4g63 FP DSM88HTA
http://user.streetfire.net/video/Galant-VR4-78997_380830.htm
TheBoz2
Boost Comp = WIN
Global Moderator
100+ Post Club
*****
Posts: 170



« Reply #8 on: December 06, 2008, 09:17:46 PM »

Software just added to this thread.

You must plug your data into the "ChangeFuelMapBreakPoints.exe.config".  I am expecting you to copy and paste your info from your maps and just paste it straight in.  This is how I did it.  Everything should be TAB delimited and Line Break Delimited.  If you have any problems please report them here.

Currently this only supports Fuel and Ignition maps however you could run it more than once and just swap the Fuel map for the Nitrous Fuel Map.

You might need to have the Microsoft .NET 2.0 Framework installed.
http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en

Boz
« Last Edit: December 06, 2008, 09:26:02 PM by TheBoz2 » Logged

1991 Galant VR4 #129
2.0 4g63 FP DSM88HTA
http://user.streetfire.net/video/Galant-VR4-78997_380830.htm
shaundrake
300+ Post Club
***
Posts: 374



WWW
« Reply #9 on: December 08, 2008, 02:21:26 PM »

Which startup tables are you talking about?

Pretty sure it's Crank Injector Time Raw. I've read it more than once in a sticky somewhere here on the forum.
Logged

Just another Civic.

"An Error Has Occurred!
Sorry, you can't read your personal messages."

PRIVATE MESSAGES DON'T WORK ON THIS FORUM SO STOP TRYING TO PM ME
TheBoz2
Boost Comp = WIN
Global Moderator
100+ Post Club
*****
Posts: 170



« Reply #10 on: December 10, 2008, 06:33:08 AM »

Any feed back on the App, it has been downloaded 8 times so far.  Let me know guys.  I am very interested in makeing this software more useful.
Logged

1991 Galant VR4 #129
2.0 4g63 FP DSM88HTA
http://user.streetfire.net/video/Galant-VR4-78997_380830.htm
PQatPIT
100+ Post Club
**
Posts: 163


« Reply #11 on: December 10, 2008, 10:39:44 AM »

How about when load is not MAP or MAF but TPS, ie. when using hot camshafts and ITB's?
Logged

PQ
TheBoz2
Boost Comp = WIN
Global Moderator
100+ Post Club
*****
Posts: 170



« Reply #12 on: December 13, 2008, 02:13:47 PM »

This is built more for MAP/MAF setups.  Since that is what I run, that is what I can calculate and test.  Unless you have some sample maps that I can look at there is no way for me to add anything to my application.  Next week I am going to put out a new version that will have some more params.

Unless people start posting up specifics, there is no way for me to know how to modify the program.  After the next revision I will not make anymore updates unless people start posting up test cases and more info on what they are looking for.

Boz
Logged

1991 Galant VR4 #129
2.0 4g63 FP DSM88HTA
http://user.streetfire.net/video/Galant-VR4-78997_380830.htm
PQatPIT
100+ Post Club
**
Posts: 163


« Reply #13 on: December 13, 2008, 03:37:58 PM »

Maybe this will get you started. A classic example of Honda VTEC engine where calibration has wrong rpm breakpoints near engagement point.

* B18_ITB.V1.19.cal (20.09 KB - downloaded 78 times.)
Logged

PQ
TheBoz2
Boost Comp = WIN
Global Moderator
100+ Post Club
*****
Posts: 170



« Reply #14 on: December 13, 2008, 11:39:49 PM »

So my Software does not care what the Load and RPM units are.  As long as they are a

64-bit floating-point values
double ±5.0 × 10−324 to ±1.7 × 10308 15-16 digits

Load Units can be in inHg, kPa, mmHg, Percent, or PSI.
RPM Units can be any Positive Number

I will run a few tests on that map, I will just pick new random RPM and LOAD points.

Boz
Logged

1991 Galant VR4 #129
2.0 4g63 FP DSM88HTA
http://user.streetfire.net/video/Galant-VR4-78997_380830.htm
AEM Performance Electronics Forum
   

 Logged
Pages: [1] 2
Print
Jump to: