EOI builder

Questions and answers related to map factors, units, offsets. How to...

EOI builder

Postby Alex.T » Tue Feb 12, 2013 3:42 pm

I've created this program to calculate End Of Injection in order to better remap :D
Feedbacks are we welcome :thumbup:
Instructions inside
You do not have permissions to view the files yet. You have to be registered and you have to make at least 3 quality / unique posts.

User avatar
Alex.T
Gold
 
Posts: 173
Joined: Sat May 26, 2012 3:26 pm
Location: Milan, Italy

Re: EOI builder

Postby ecuedit » Tue Feb 12, 2013 9:26 pm

This is very, very, very good. I am going to take a look.
in the mean time i have question about your alghoritm :)

1. do you take care that ID map has different axis than Rail pressure map
2. do you take care that if you take for example column iq50 and row 1200bar in injection duration, that in rail pressure map is not exactly 1200bar value but for example 1230bar - do you interpolate rail pressure map as well to preserver precision to get exactly correct rpm?

but, i will take a try to see if it fits nice.
You deserve platinum badge for this one. 8-)

User avatar
ecuedit
CARPRO
 
Posts: 2221
Joined: Fri Feb 24, 2012 10:10 pm
Location: European Union

Re: EOI builder

Postby ecuedit » Tue Feb 12, 2013 9:29 pm

hm...
You do not have permissions to view the files yet. You have to be registered and you have to make at least 3 quality / unique posts.

User avatar
ecuedit
CARPRO
 
Posts: 2221
Joined: Fri Feb 24, 2012 10:10 pm
Location: European Union

Re: EOI builder

Postby Alex.T » Tue Feb 12, 2013 9:30 pm

run the program and you'll see it says when it founds an exact value and when it needs to interpolate ;)

User avatar
Alex.T
Gold
 
Posts: 173
Joined: Sat May 26, 2012 3:26 pm
Location: Milan, Italy

Re: EOI builder

Postby Alex.T » Tue Feb 12, 2013 9:31 pm

ecuedit wrote:hm...

that's odd..
i've built it under windows 8 x64..
don't know about xp..

User avatar
Alex.T
Gold
 
Posts: 173
Joined: Sat May 26, 2012 3:26 pm
Location: Milan, Italy

Re: EOI builder

Postby Alex.T » Tue Feb 12, 2013 9:37 pm

I think it doesn't work because my compiler is 64bit..
I'll try to recompile it

User avatar
Alex.T
Gold
 
Posts: 173
Joined: Sat May 26, 2012 3:26 pm
Location: Milan, Italy

Re: EOI builder

Postby ecuedit » Tue Feb 12, 2013 9:40 pm

Yep that's the problem. I have run it on windows server 2008 now and it works, let me see...

User avatar
ecuedit
CARPRO
 
Posts: 2221
Joined: Fri Feb 24, 2012 10:10 pm
Location: European Union

Re: EOI builder

Postby ecuedit » Tue Feb 12, 2013 9:54 pm

OK, something wont fit here...

How do you calculate it, if i give a sample:

1. Injection duration: iq70, rail pressure 800bar, time: 1668usec
2. from the rail pressure you can get RPM: iq70, 800bar at 1250rpm
3. SOI: iq70, 3,6 degrees BTDC

User avatar
ecuedit
CARPRO
 
Posts: 2221
Joined: Fri Feb 24, 2012 10:10 pm
Location: European Union

Re: EOI builder

Postby Alex.T » Tue Feb 12, 2013 11:30 pm

What I do is convert Injection Duration from microseconds to degrees, then add that to SOI.
Resulting EOI map will have degrees ATDC.

I start from SOI and i suppose I'm at 1250rpm and I want to inject 70mm3.
SOI map will tell me I have to start injecting at 3,6° BTDC.
Now I need to know injection duration, but in order to get that, I first have to know rail pressure.
So I open Rail Pressure map and look for IQ=70mm3 and RPM=1250. This will give me 700bar.
Now I can open Injection Duration and look for IQ=70mm3 and Pressure=700bar.
Duration for that will be 1668 µs.

All I have to do now is to convert that to crankshaft degrees.
But to go from time to angles, we need to know how much time a revolution will take at given rpm.
In this case we have 1250rpm. That means every 60 seconds 1250 revolutions.
Calculate (60/1250)=0,048
That means a revolution will take 0,048 seconds.
In microseconds will be 48000.

Now, if 48000µs is the time equivalent of 360° of rotation
1168µs would be 8,76°

Add this to SOI and you'll find EOI is 5,16° ATDC.

I prefer to use BTDC for SOI and ATDC for EOI...

User avatar
Alex.T
Gold
 
Posts: 173
Joined: Sat May 26, 2012 3:26 pm
Location: Milan, Italy

Re: EOI builder

Postby ecuedit » Wed Feb 13, 2013 12:17 am

HI,
I have checked your program, it is quite nice i must say.

I have few little suggestions:

Use 3 decimal places for SOI and EOI

You could let more room for axis: maybe +3 more rows and +3 more columns in each map,
so the program could be usable for larger maps...you can use less but if you want more than you are stucked,
so better more room than not enough.

Also XP support :)

Once again, great work. :thumbup:

User avatar
ecuedit
CARPRO
 
Posts: 2221
Joined: Fri Feb 24, 2012 10:10 pm
Location: European Union

Next

Return to Map Factors, Offsets, Units and Calculations

Who is online

Users browsing this forum: No registered users and 0 guests