Megasquirt injector dead time guide, pic heavy
#1
Thread Starter
PassionFord Post Whore!!
iTrader: (4)
Joined: Aug 2009
Posts: 4,790
Likes: 43
From: London
Megasquirt injector dead time guide, pic heavy
Right why am i bothering to mess around with my megasquirt settings?
Answer: I have read lots of posts on this forum and others about megasquirt not being able to idle smoothly at AFR's much higher than about 13-13.5. It seems that some people have no problems at all whilst others (me included) have been. At first i thought this was due to people using EFI heads and others using spacer plates but actually i believe it is due to people using different injectors, some with dead times closer the MS default 1ms.
My car idled fairly well at 1000rpm and 12.8:1, i could get it to 13.5:1 but the idle would be very weak casing the car to stall easily, it also over fuelled on light lift off (im yet to see if this has been improved but this is another common symptom).
What is injector dead time?
Theres lots of blurb about this in the interweb. But heres and brief and i hope simple explanation:
Injector dead time is the time it takes for fuel to start squirting from the injector AFTER the injector has been energised. Like a tap, water doesn't squirt out the second you turn the knob, it can sometimes take 1-2 turns before water comes out, the time between you first turning the tap and water coming out could be called tap dead time.....
Injectors also don't stop injecting fuel instantly (although they stop much faster than they start).
Injector dead time is heavily effected by fuel pressure and voltage, fuel pressure should be taken care of by your pressure reg, but voltage (which changes a fair bit) needs to be taken care of by a look up table or a constant value.
Megasquirt uses 0.2ms per volt as its standard constant. So for each volt the opening time is reduced by 0.2ms...
(and seeing as we love examples!)
An injector dead time of 1.1ms @13.2V and a voltage correction value of 0.2ms/V would change to 1.3ms @12.2V and 0.9ms @ 14.2 volts....
Whys it important?
Well, your ecu needs to know an injector dead time because it needs to know how long to open the injector for. Its not overly important at higher pulse widths as and variation is easily sorted by your VE table, but at lower pulse widths where the injector isn't injecting very much fuel at all a small change in pulse width (0.1ms) can be the difference between a squirt and no squirt. The injector dead time is added to the PW.
This would explain why my idle had to be rich, as a leaner idle meant small pulse widths and not very much fuel, hard to control and difficult to achieve a lean smooth idle.
How do you find dead time?
The easiest way is to look for a manufacturers figure... however i really couldn't find mine (Bosch 360cc), Siemens Dekas are fairly well published. But it never hurts to double check.
Another method uses an Oscilloscope, and another mean playing with number of squirts and some other jargon... these methods are at best approximations.
I measured the actual dead time of mine using my MS ecu, and some jam jars.....
This was only a first attempt as i will be changing injectors soon and will do it all again properly.
How i did it...
I wanted to use my megasquirt in out put test mode to gradually increase the pulse width until fuel JUST started coming out this pulse width is my dead time.
I did this in the car, i would have been better doing it with a power supply so i could alter the voltage more and get a more accurate voltage correction value.
I removed my fuel wiring and injectors, stuck the injectors back into the fuel rail and then shoved the free ends into some jam jars. adjusting my fuel reg to 3bar (running pressure) as i was getting a value of nearly 4bar with no inlet vac attached.
Heres some pics
Wiring removed
Injectors in a jar using the heater box as a handy stand
and a pic of my Ohhhh so professional set up
And thats about it.
I ran the fuel pump and tested the injectors, starting at the standard setting of 1ms... no fuel, and slowley ramped up to 1.3... fuel JUST started coming out at 1.4ms, so thats my dead time.
Now the voltage correction.
In an ideal world this would be done using a power supply to give the base figure of 13.2V MS wants. However this was just a trial. So i turned every thing on, lights, fans etc. and got my voltage down to about 11.4v from 11.8 this was just enough to give a dead time variation of 0.05ms (1.45 instead of 1.4) and from that i now have a voltage correction value of 0.125ms/V.
From this i have a dead time of roughly 1.3 at 13.2V (this is still a rough figure, but its good enough to see if its improved anything).
Some pics
The result!..!
Fantastic, reducing my VE table around idle now gives a smooth idle at around 890-920rpm (need to turn this up!) and at an AFR of 14.5(ish) doesn't stall as easily and seems much smother
My injectors aren't amazing, they don't appear to atomise the fuel very well at small opening times and one injector seems to have a slightly lower dead time... but hey.
nearly back together
and a good figure at a steady idle
Some different injectors and some fine tuning should see the idle become even better.
Obviously my VE table now needs some adjusting
I've just upgraded to sequential 3.1.0 code so will be trying semi sequenial (and fully sequential when i have a cam sensor) as soon as my maps a bit more refined. This should help make for a smoother idle and better fuel consumption etcetc.
Cheers for reading and i hope it helps someone! if any ones got any suggestions/corrections please post them up as you'll be helping me for next time.
Answer: I have read lots of posts on this forum and others about megasquirt not being able to idle smoothly at AFR's much higher than about 13-13.5. It seems that some people have no problems at all whilst others (me included) have been. At first i thought this was due to people using EFI heads and others using spacer plates but actually i believe it is due to people using different injectors, some with dead times closer the MS default 1ms.
My car idled fairly well at 1000rpm and 12.8:1, i could get it to 13.5:1 but the idle would be very weak casing the car to stall easily, it also over fuelled on light lift off (im yet to see if this has been improved but this is another common symptom).
What is injector dead time?
Theres lots of blurb about this in the interweb. But heres and brief and i hope simple explanation:
Injector dead time is the time it takes for fuel to start squirting from the injector AFTER the injector has been energised. Like a tap, water doesn't squirt out the second you turn the knob, it can sometimes take 1-2 turns before water comes out, the time between you first turning the tap and water coming out could be called tap dead time.....
Injectors also don't stop injecting fuel instantly (although they stop much faster than they start).
Injector dead time is heavily effected by fuel pressure and voltage, fuel pressure should be taken care of by your pressure reg, but voltage (which changes a fair bit) needs to be taken care of by a look up table or a constant value.
Megasquirt uses 0.2ms per volt as its standard constant. So for each volt the opening time is reduced by 0.2ms...
(and seeing as we love examples!)
An injector dead time of 1.1ms @13.2V and a voltage correction value of 0.2ms/V would change to 1.3ms @12.2V and 0.9ms @ 14.2 volts....
Whys it important?
Well, your ecu needs to know an injector dead time because it needs to know how long to open the injector for. Its not overly important at higher pulse widths as and variation is easily sorted by your VE table, but at lower pulse widths where the injector isn't injecting very much fuel at all a small change in pulse width (0.1ms) can be the difference between a squirt and no squirt. The injector dead time is added to the PW.
This would explain why my idle had to be rich, as a leaner idle meant small pulse widths and not very much fuel, hard to control and difficult to achieve a lean smooth idle.
How do you find dead time?
The easiest way is to look for a manufacturers figure... however i really couldn't find mine (Bosch 360cc), Siemens Dekas are fairly well published. But it never hurts to double check.
Another method uses an Oscilloscope, and another mean playing with number of squirts and some other jargon... these methods are at best approximations.
I measured the actual dead time of mine using my MS ecu, and some jam jars.....
This was only a first attempt as i will be changing injectors soon and will do it all again properly.
How i did it...
I wanted to use my megasquirt in out put test mode to gradually increase the pulse width until fuel JUST started coming out this pulse width is my dead time.
I did this in the car, i would have been better doing it with a power supply so i could alter the voltage more and get a more accurate voltage correction value.
I removed my fuel wiring and injectors, stuck the injectors back into the fuel rail and then shoved the free ends into some jam jars. adjusting my fuel reg to 3bar (running pressure) as i was getting a value of nearly 4bar with no inlet vac attached.
Heres some pics
Wiring removed
Injectors in a jar using the heater box as a handy stand
and a pic of my Ohhhh so professional set up
And thats about it.
I ran the fuel pump and tested the injectors, starting at the standard setting of 1ms... no fuel, and slowley ramped up to 1.3... fuel JUST started coming out at 1.4ms, so thats my dead time.
Now the voltage correction.
In an ideal world this would be done using a power supply to give the base figure of 13.2V MS wants. However this was just a trial. So i turned every thing on, lights, fans etc. and got my voltage down to about 11.4v from 11.8 this was just enough to give a dead time variation of 0.05ms (1.45 instead of 1.4) and from that i now have a voltage correction value of 0.125ms/V.
From this i have a dead time of roughly 1.3 at 13.2V (this is still a rough figure, but its good enough to see if its improved anything).
Some pics
The result!..!
Fantastic, reducing my VE table around idle now gives a smooth idle at around 890-920rpm (need to turn this up!) and at an AFR of 14.5(ish) doesn't stall as easily and seems much smother
My injectors aren't amazing, they don't appear to atomise the fuel very well at small opening times and one injector seems to have a slightly lower dead time... but hey.
nearly back together
and a good figure at a steady idle
Some different injectors and some fine tuning should see the idle become even better.
Obviously my VE table now needs some adjusting
I've just upgraded to sequential 3.1.0 code so will be trying semi sequenial (and fully sequential when i have a cam sensor) as soon as my maps a bit more refined. This should help make for a smoother idle and better fuel consumption etcetc.
Cheers for reading and i hope it helps someone! if any ones got any suggestions/corrections please post them up as you'll be helping me for next time.
Last edited by Rob_DOHC; 03-09-2011 at 07:54 PM.
The following users liked this post:
new1ru (11-04-2017)
#6
i had a play with this recently, more to do with the voltage correction/injector setting than anything though.
the dead time did make a slight difference, but your ve tables can sort that out, just need a fraction more adding to the ve values really.
i will be going back to the dead times as i have figures for my injectors off someone else who had them flow tested etc.
good post though, may help some out.
the dead time did make a slight difference, but your ve tables can sort that out, just need a fraction more adding to the ve values really.
i will be going back to the dead times as i have figures for my injectors off someone else who had them flow tested etc.
good post though, may help some out.
#7
Try it on MS 3 where there is a non linear correction map for voltage for each injector!
The problem is a lot of injectors, and dekas are really bad for it, give inconsistent results at small pulse widths so no amount of tuning wll help. If you're in the Market for new injectors, get Bosch ev14's
Rick
The problem is a lot of injectors, and dekas are really bad for it, give inconsistent results at small pulse widths so no amount of tuning wll help. If you're in the Market for new injectors, get Bosch ev14's
Rick
Trending Topics
#8
good point there rick, deka's are crap at low pulsewidths, but if i raise my idle to 950rpm, it is as smooth as you like at 14.7-15.1.
it's ok at 850rpm on 14.3-14.5, but higher idle is just nicer IMO.
it's ok at 850rpm on 14.3-14.5, but higher idle is just nicer IMO.
#11
Thread Starter
PassionFord Post Whore!!
iTrader: (4)
Joined: Aug 2009
Posts: 4,790
Likes: 43
From: London
i had a play with this recently, more to do with the voltage correction/injector setting than anything though.
the dead time did make a slight difference, but your ve tables can sort that out, just need a fraction more adding to the ve values really.
i will be going back to the dead times as i have figures for my injectors off someone else who had them flow tested etc.
good post though, may help some out.
the dead time did make a slight difference, but your ve tables can sort that out, just need a fraction more adding to the ve values really.
i will be going back to the dead times as i have figures for my injectors off someone else who had them flow tested etc.
good post though, may help some out.
---
Cheers guys, hope it helps some one, or at least gives you somthing to fiddle with!
Rick i'll have a google on the ev14's
Rob,
#12
Thread Starter
PassionFord Post Whore!!
iTrader: (4)
Joined: Aug 2009
Posts: 4,790
Likes: 43
From: London
Also Rick, the MS3's independent dead time although slightly over kill does sound really handy, one of my four injectors had a different dead time by 0.1-0.15ms which ms3 would have taken care of.
The new 3.1.0 code seems to sort trigger wheels out slightly differently too as i don't have trigger wizard or trigger offset any more.
Rob,
EDIT*** are these the ones Rick? http://www.ebay.co.uk/itm/Authentic-...item4cf96ee587
The new 3.1.0 code seems to sort trigger wheels out slightly differently too as i don't have trigger wizard or trigger offset any more.
Rob,
EDIT*** are these the ones Rick? http://www.ebay.co.uk/itm/Authentic-...item4cf96ee587
Last edited by Rob_DOHC; 04-09-2011 at 01:48 PM.
#13
Hello Rob!
Great progress.
There are a few web places where injector lag or dead time data is available.
Mostly North American data, but some international injector types.
As you can see from the chart (go to site below) there are vast differences between injectors. Very useful information for getting good efi results.
http://injector-rehab.com/shop/lag.html
Great progress.
There are a few web places where injector lag or dead time data is available.
Mostly North American data, but some international injector types.
As you can see from the chart (go to site below) there are vast differences between injectors. Very useful information for getting good efi results.
http://injector-rehab.com/shop/lag.html
#14
Good point about the VE table, however i didn't find that worked for me, i just couldn't get a good idle. Now with the correct dead time (or near to the correct dead time) it idles a million times better,
---
Cheers guys, hope it helps some one, or at least gives you somthing to fiddle with!
Rick i'll have a google on the ev14's
Rob,
---
Cheers guys, hope it helps some one, or at least gives you somthing to fiddle with!
Rick i'll have a google on the ev14's
Rob,
ms3 however can sort this out as it has 0.1 resolution rather than the ms2 which can only use whole figures, one reason i'm planning a change before too long.
#16
Thread Starter
PassionFord Post Whore!!
iTrader: (4)
Joined: Aug 2009
Posts: 4,790
Likes: 43
From: London
Lovely thanks Rick
XR2wishy - yea MS3 does look very good, but MS2 does well enough the only place i would want such small step changes would be at very low PW values and frankly the dead time takes care of this very well.
Other than cam timing control, lots or inputs/outputs and a few other trixy bits the MS3 isn't a million miles better than an MS2. The new 3.1.0 code for MS2 takes care of full sequential for example.
Perry, cheers for the link
Rob,
XR2wishy - yea MS3 does look very good, but MS2 does well enough the only place i would want such small step changes would be at very low PW values and frankly the dead time takes care of this very well.
Other than cam timing control, lots or inputs/outputs and a few other trixy bits the MS3 isn't a million miles better than an MS2. The new 3.1.0 code for MS2 takes care of full sequential for example.
Perry, cheers for the link
Rob,
#19
Thread Starter
PassionFord Post Whore!!
iTrader: (4)
Joined: Aug 2009
Posts: 4,790
Likes: 43
From: London
Cheers Muz,
Roger, MS2 can run full sequential fuel and spark with the new code but you need a cam shaft position sensor too. I will be trying semi sequential as soon as my maps a little better.
Main advantages are (apparently!) better fuel consumption, better emissions and a better idle (its especially good at lower rpm's) with larger injectors.
BUT
Im doing because you can alter the injection time (when you inject fuel in the combustion cycle) and because you can set individual cylinder trim values. This means if one cylinder is slightly lean but the others are slightly rich (giving an average AFR from your single lambda) you can tune it out. Im going to do this with 4 EGT probes and a datalogger.
But generally batch injection is just fine.
Rob,
Roger, MS2 can run full sequential fuel and spark with the new code but you need a cam shaft position sensor too. I will be trying semi sequential as soon as my maps a little better.
Main advantages are (apparently!) better fuel consumption, better emissions and a better idle (its especially good at lower rpm's) with larger injectors.
BUT
Im doing because you can alter the injection time (when you inject fuel in the combustion cycle) and because you can set individual cylinder trim values. This means if one cylinder is slightly lean but the others are slightly rich (giving an average AFR from your single lambda) you can tune it out. Im going to do this with 4 EGT probes and a datalogger.
But generally batch injection is just fine.
Rob,
#25
#26
Thread Starter
PassionFord Post Whore!!
iTrader: (4)
Joined: Aug 2009
Posts: 4,790
Likes: 43
From: London
At a guess the leaner cylinders will be hotter?
fantastic thread!!
i thing stu has some competition with his technical guides lol
great stuff
i thing stu has some competition with his technical guides lol
great stuff
If people are interested i'll do the same when i sort the EGT/sequential?
Roger, yep semi sequential still uses 2 banks of injectors (on a 4cyl) but it injects half the fuel twice as often. So at the moment 1&2 get a full squirt, cylinder 1 can use it, but cylinder 2 is on its compression stroke so can't.... so it has to sit in the port until the valve opens, similar to wasted spark.
But with semi sequential half the fuel is injected into a port that can't use it, where it stays until the exhaust stroke (hopefully nicely atomised) when the other half is injected as a timed event. Some engines like fuel to be injected at a different time to others but generally we will inject on a closed inlet valve. TBH i may not see any improvement with semi or even full sequential, but im up for a good trial
Rob,
#28
All sounds good rob, some wicked plans there... Even without all that can the MS still be mapped to drive like an OEM ecu? IE smooth power delivery at part throttle and steady at cruise etc etc
#29
Thread Starter
PassionFord Post Whore!!
iTrader: (4)
Joined: Aug 2009
Posts: 4,790
Likes: 43
From: London
Definitely mate, it just takes time and some patience. IMO anyone can map for WOT but the refinement takes time. My car is cruising really well, smoothy no missfires no jurkey power delivery etc, could be a little leaner but its getting there. It idles well without an idle control valve now should be even better with one.
Once the maps sorted i'll probably change injectors (and steal Karlos's base map )and start all over again but then its time to sort out the starting. The car always starts but i haven't bothered to make it start well (this should be done last any how) as i don't have an idle valve yet which will help with cold starting with no throttle.
I found mapping the car to its current state really easy, a good base map really helps, the final tuning will however be done on a dyno.
But yes, as long as you spend the time the reward will be a car that drives really well, and really reliably.
Once the maps sorted i'll probably change injectors (and steal Karlos's base map )and start all over again but then its time to sort out the starting. The car always starts but i haven't bothered to make it start well (this should be done last any how) as i don't have an idle valve yet which will help with cold starting with no throttle.
I found mapping the car to its current state really easy, a good base map really helps, the final tuning will however be done on a dyno.
But yes, as long as you spend the time the reward will be a car that drives really well, and really reliably.
Last edited by Rob_DOHC; 06-09-2011 at 01:19 PM.
Thread
Thread Starter
Forum
Replies
Last Post