C4 Tech/Performance L98 Corvette and LT1 Corvette Technical Info, Internal Engine, External Engine

injector pulse width equation

Thread Tools
 
Search this Thread
 
Old Nov 11, 2003 | 11:31 AM
  #1  
Beth396's Avatar
Beth396
Thread Starter
Advanced
15 Year Member
 
Joined: Oct 2003
Posts: 77
Likes: 0
From: Cave Creek AZ
Default injector pulse width equation

This equation for injection pulse width was given to me by a tuner that frequents the Vettenet email list:

[VE*MAP*displacement]
PW= ----------------------------------------
[#cyl*(IAT*CLT/2)*AFR*flowrate]

He said that CLT was coolant temperture. At one time I looked over the source code for the 91 ECM and it looked like CLT was some other parameter. Does anyone know for sure?

Beth

[Modified by Beth396, 4:32 PM 11/11/2003]


[Modified by Beth396, 4:33 PM 11/11/2003]
Reply
Old Nov 11, 2003 | 11:34 AM
  #2  
Beth396's Avatar
Beth396
Thread Starter
Advanced
15 Year Member
 
Joined: Oct 2003
Posts: 77
Likes: 0
From: Cave Creek AZ
Default Re: injector pulse width equation (Beth396)

I've tried twice to fix the format of the above equation. Can someone fix it? It's about a clear as mud..
Reply
Old Nov 11, 2003 | 01:30 PM
  #3  
DOCTOR J's Avatar
DOCTOR J
Burning Brakes
15 Year Member
 
Joined: May 1999
Posts: 760
Likes: 1
From: Greenwich, CT
Default Re: injector pulse width equation (Beth396)


Um, I can't read your equation. Presuming you are looking at the $8D mask for a 727,
fuel flow (inj PW) is calculated using fixed inj size & two variables:
Calculated air flow & Commanded AFR.

Commanded AFR is the sum of stoich plus AE & PE,
plus any other fuel modifiers in the main program.

Calculated air flow is the ideal gas law (displacement X rpm) including compensation
for baro pressure, MAT, and EGR. It's expressed in grams/sec.

Baro compensation is taken from a MAP reading just before engine start.
EGR compensation is a subtraction from the partial pressure of air when EGR is active (look-up table).

Temperature compensation is sort of convoluted in the way GM handled the math.
The MAT term can come from 2 tables in the program:

Depending on the setting of a switch, the 'Inv. MAT Term Lookup Delta
Multiplier Vs. Airflow' table may or may not be used.

If this table is disabled then the MAT Compensation Counts Vs. MAT table is
indexed with the normal value of MAT. If this table is enabled, then the
table index for the MAT Compensation Counts table is a corrected value of
MAT. The corrected value is calculated as follows:

Corrected MAT = MAT + Table Value * (Coolant Temp - MAT)
where 'Table Value' is the value looked up from the Inv. MAT Term Lookup
Delta Multiplier table.

The Inverse MAT term is then calculated as:

Inverse MAT Term = Cylinder Volume / (((Table Value ** 0.5) + 233) * 128)
where 'Table Value' is the value looked up from the MAT Compensation
Counts table (indexed by either MAT or the corrected MAT depending on the option switch).

This value is then used in the calculation of the grams of air per cylinder
as follows:

grams air per cylinder = Volumetric Efficiency * (MAP - EGR Partial
Pressure) * Inv. MAT Term

This value and engine RPM are then used to calculate air flow which is then
used to calculate the base pulse width.


Not sure if that answers your Q, but generally that's what is going on
IIRC (it's been a while since I tried to read the hack).

The base fuel calc is updated ~80 times/sec in a 727.

During steady-state operation there is a further embellishment: the pw
is constantly being adjusted via the lambda feedback loop (the
so-called adaptive tuning loop) from the EGO.

Hope that helps.

edited for readability


[Modified by DOCTOR J, 1:42 PM 11/11/2003]
Reply
Old Nov 11, 2003 | 01:54 PM
  #4  
Skippy Stone's Avatar
Skippy Stone
Racer
 
Joined: Jul 2002
Posts: 401
Likes: 1
From: Aptos CA
Default Re: injector pulse width equation (DOCTOR J)

EGR compensation is a subtraction from the partial pressure of air when EGR is active (look-up table).

Temperature compensation is sort of convoluted in the way GM handled the math. The MAT term can come from 2 tables in the program:

Hope that helps.

[Modified by DOCTOR J, 1:38 PM 11/11/2003]
I hope Beth396 will chime in with more information on the equation. However, I want to thank you Doctor J (not THE 76er Doctor J, I presume), for some good information. You have confirmed a suspicion of mine about the EGR. Thus making certain running conditions unstable when the EGR is gone. And the explaination on the MAT and Mat/inv tables has also helped me.

Thank you
Reply
Old Nov 11, 2003 | 02:16 PM
  #5  
Beth396's Avatar
Beth396
Thread Starter
Advanced
15 Year Member
 
Joined: Oct 2003
Posts: 77
Likes: 0
From: Cave Creek AZ
Default Re: injector pulse width equation (DOCTOR J)

Doctor!

Yes this helps, my intenion was to get some discussion going in this tune section. I don't want to scare anyone with a bunch of technical stuff but some might be interested. Ideal gas law...PV=nRT...cool. I'm going to go over your post and comment, but right now I have to get ready for a meeting in a couple of hours.

Maybe you and Skip can derive the PW equation as a function of injector flow rate, calculated air flow and commanded AFR from the ideal gas law in the mean time..just kidding. Later, Beth
Reply
Old Nov 11, 2003 | 03:02 PM
  #6  
Skippy Stone's Avatar
Skippy Stone
Racer
 
Joined: Jul 2002
Posts: 401
Likes: 1
From: Aptos CA
Default Re: injector pulse width equation (Beth396)

If you could pass around that source code for that 91, Beth396, I'll hack anything you need!

Well, at least I'll find somebody who can. :blueangel:
Reply
Old Nov 11, 2003 | 03:45 PM
  #7  
DOCTOR J's Avatar
DOCTOR J
Burning Brakes
15 Year Member
 
Joined: May 1999
Posts: 760
Likes: 1
From: Greenwich, CT
Default Re: injector pulse width equation (Skippy Stone)


Commented hacks of the GM programs have been publicly available for several
years. One of the most vererable $8D copies is on the site of the late 'ECMGuy':
http://www.geocities.com/MotorCity/S...g/do_tune.html

GM only makes reading their programs complicated in order to limit those who
actually understand how the computer works to the technically literate :).


There is no need then to derive the pw equation - the calculation is there in
black-letter code. Rather than belabor it, the highlights are these:

Generally, GM treats a high-impedence injector as a fixed-weight device,
although in fact it's a fixed-volume flow controller. GM uses voltage & low-pw
compensation (offset) tables to correct injector opening-time latency, trying to
achieve linearity for their equation.

Based then on some nominal fuel density, the (compensated) pw for the injectors is
calculated to give a stoichiometric weight balance of air to fuel. Stoich is generally
taken as 14.7:1, though it is adjustable in the code (within small limits). It's also
worth noting GM allows for different stoich ratios at idle and under load, just to make
tuning the engines that much more elegant.

BTW, the GM code also contains the complete definition of the ALDL output stream.

Thus the tuning & scanner info needed to work with these ECMs is already de facto
public-domained - which is not surprising for a near-20 year old computer system.

Have fun.

edit for typo


[Modified by DOCTOR J, 3:53 PM 11/11/2003]
Reply
Old Nov 11, 2003 | 06:45 PM
  #8  
Beth396's Avatar
Beth396
Thread Starter
Advanced
15 Year Member
 
Joined: Oct 2003
Posts: 77
Likes: 0
From: Cave Creek AZ
Default Re: injector pulse width equation (Skippy Stone)

Skip, DoctorJ provided the link. Good thing because I couldn't remember where it was.
Reply
Corvette Stories

The Best of Corvette for Corvette Enthusiasts

story-0

10 Ugly Corvettes That We Still Kinda Love

 Joe Kucinski
story-1

Top 10 Most Expensive Corvettes Ever Sold on Bring A Trailer

 Brett Foote
story-2

10 Things Every Corvette Owner Needs (2026 Edition)

 Michael S. Palmer
story-3

8 Most "Only Corvette Owners Understand" Quirks and Problems

 Pouria Savadkouei
story-4

10 Reasons the C6 Z06 is Still A Performance Benchmark After 20 Years

 Joe Kucinski
story-5

How Much Horsepower Every Corvette Engine "LOST" in 1972

 Joe Kucinski
story-6

Top 10 DOs and DON'Ts for Protecting Your Convertible Top!

 Michael S. Palmer
story-7

Top 10 Most Explosive Corvettes Ever Made: Power-to-Weight Ratio Ranked!

 Joe Kucinski
story-8

150 hp to 1,250 hp: Every Corvette Generation Compared by the Specs That Matter

 Joe Kucinski
story-9

8 Coolest Corvette Pace Cars (and Replicas) of All Time

 Verdad Gallardo
Old Nov 12, 2003 | 10:09 AM
  #9  
Beth396's Avatar
Beth396
Thread Starter
Advanced
15 Year Member
 
Joined: Oct 2003
Posts: 77
Likes: 0
From: Cave Creek AZ
Default Re: injector pulse width equation (DOCTOR J)

[VE*MAP*displacement]

PW= ----------------------------------------

[#cyl*(IAT*CLT/2)*AFR*flowrate]

I can't figure out how to get the format of this equation correct so it looks right when I post it. Volumetric efficiency (VE), MAP and displacement are in the numerator and # of cylinders, intake air temperature (IAT), CLT (?), air/fuel ratio (AFR), and injector flowrate are in the denominator.

I don't really feel like getting into the level of detail of the algorithm that DrJ went into. If the equation is basically correct, I'm happy with that. The equation is nice because it shows mathmatically that the injector PW will increase if the IAT is decreased. Cooler air is more dense and the fuel will be increased. If you increase your injector flow rate (bigger injectors or more fuel pressure) the injector PW will decrease.

That's why you don't want to go too large on injectors...you might not be able to shut them down enough at low RPM and MAP. Also, if you increase your MAP (less vacuum) or increase the displacement you'll increase the PW.

Beth
Reply
Old Nov 12, 2003 | 10:00 PM
  #10  
HighHopes85's Avatar
HighHopes85
Drifting
10 Year Member
 
Joined: Mar 2001
Posts: 1,636
Likes: 3
From: Lafayette IN
Default Re: injector pulse width equation (Beth396)

Beth...use [cod e] equation here [/cod e] without the spaces in 'code'

<BLOCKQUOTE>code:<HR><PRE>
[VE*MAP*displacement]
PW= ---------------------------------
[#cyl*(IAT*CLT/2)*AFR*flowrate]
</PRE>[/QUOTE]


[Modified by HighHopes85, 9:00 PM 11/12/2003]
Reply
Old Nov 13, 2003 | 07:25 PM
  #11  
Skippy Stone's Avatar
Skippy Stone
Racer
 
Joined: Jul 2002
Posts: 401
Likes: 1
From: Aptos CA
Default Re: injector pulse width equation (DOCTOR J)


Thus the tuning & scanner info needed to work with these ECMs is already de facto
public-domained - which is not surprising for a near-20 year old computer system.

[Modified by DOCTOR J, 3:53 PM 11/11/2003]
A technology pup!

that's younger than the original Mac OS
which is a bunch younger than DOS (Microsoft still uses it)
which is a bunch younger than UNIX.

But then the auto technology is rather primative. You could get DOHCs on something like a 1908 or 1910 Alfa. I forget which year.

Thanks for the link. I forgot about that.
------------------------------------------------

Thanks HighHopes85 for the clear equation.
Reply

Get notified of new replies

To injector pulse width equation





All times are GMT -4. The time now is 11:07 PM.

story-0
10 Ugly Corvettes That We Still Kinda Love

Slideshow: 10 ugly Corvettes that we still kinda love.

By Joe Kucinski | 2026-06-03 10:34:17


VIEW MORE
story-1
Top 10 Most Expensive Corvettes Ever Sold on Bring A Trailer

A lot of money has changed hands at the online auction house over the years.

By Brett Foote | 2026-06-03 10:21:50


VIEW MORE
story-2
10 Things Every Corvette Owner Needs (2026 Edition)

Slideshow: 10 great gifts Corvette enthusiasts actually want for Father's Day!

By Michael S. Palmer | 2026-06-03 15:43:40


VIEW MORE
story-3
8 Most "Only Corvette Owners Understand" Quirks and Problems

Slideshow: These are the quirks, annoyances, and oddly lovable problems that every Corvette owner eventually learns to live with.

By Pouria Savadkouei | 2026-05-28 09:31:39


VIEW MORE
story-4
10 Reasons the C6 Z06 is Still A Performance Benchmark After 20 Years

Slideshow: 10 reasons why the C6 Z06 is still a performance benchmark after 20 years.

By Joe Kucinski | 2026-05-27 17:20:09


VIEW MORE
story-5
How Much Horsepower Every Corvette Engine "LOST" in 1972

Slideshow: How much horsepower every Corvette engine lost in 1972.

By Joe Kucinski | 2026-05-27 16:54:53


VIEW MORE
story-6
Top 10 DOs and DON'Ts for Protecting Your Convertible Top!

Slideshow: How to Protect A Convertible Top: 10 DOs & DON'Ts

By Michael S. Palmer | 2026-04-03 00:00:00


VIEW MORE
story-7
Top 10 Most Explosive Corvettes Ever Made: Power-to-Weight Ratio Ranked!

Slideshow: The 10 most explosive Corvettes ever built based on power-to-weight ratio.

By Joe Kucinski | 2026-05-20 07:23:03


VIEW MORE
story-8
150 hp to 1,250 hp: Every Corvette Generation Compared by the Specs That Matter

Slideshow: From C1 to C8 we compare every Corvette generation by the numbers.

By Joe Kucinski | 2026-05-12 16:54:12


VIEW MORE
story-9
8 Coolest Corvette Pace Cars (and Replicas) of All Time

Slideshow: Some Corvette pace cars became collectible legends, while others perfectly captured the look and attitude of their era.

By Verdad Gallardo | 2026-05-11 09:50:51


VIEW MORE