DIY PROM Do It Yourself PROM chip burning help. No PROM begging. No PROMs for sale. No commercial exchange. Not a referral service.

Commanded AFR in Open Loop

Thread Tools
 
Search this Thread
 
Old 08-24-2011, 11:22 AM
  #1  
Junior Member
Thread Starter
 
BB72Camaro's Avatar
 
Join Date: Aug 2011
Posts: 11
Likes: 0
Received 0 Likes on 0 Posts
Commanded AFR in Open Loop

I was wondering what controls commanded AFR in open loop other than the tables "Loop Open % Change AFR vs MAP" and "Loop Open % Change AFR vs Temp"

The target AFR that I am logging seems to be off from what I would expect the tables to command.

Example @ 50KPa and 92C and forced open loop.

14.7/(1+.0391+.0977)=12.93

Data logging shows it to be commanding close to 14.7.

Maybe I am not understanding the tables correctly.
Old 08-24-2011, 11:33 AM
  #2  
Moderator

iTrader: (1)
 
RBob's Avatar
 
Join Date: Mar 2002
Location: Chasing Electrons
Posts: 18,401
Likes: 0
Received 215 Likes on 201 Posts
Car: check
Engine: check
Transmission: check
Re: Commanded AFR in Open Loop

What mask ID are you referring to?

RBob.
Old 08-24-2011, 12:31 PM
  #3  
Junior Member
Thread Starter
 
BB72Camaro's Avatar
 
Join Date: Aug 2011
Posts: 11
Likes: 0
Received 0 Likes on 0 Posts
Re: Commanded AFR in Open Loop

It's a 7730 using 8D.
Old 08-25-2011, 07:57 AM
  #4  
Moderator

iTrader: (1)
 
RBob's Avatar
 
Join Date: Mar 2002
Location: Chasing Electrons
Posts: 18,401
Likes: 0
Received 215 Likes on 201 Posts
Car: check
Engine: check
Transmission: check
Re: Commanded AFR in Open Loop

Originally Posted by BB72Camaro
It's a 7730 using 8D.
In $8D the AFR is really FAR (fuel to air ratio). So the math is working on the FAR, which makes it turn out different. I thought there was a thread about this in the tuning guide book sticky, but I don't see it.

RBob.
Old 08-25-2011, 08:49 AM
  #5  
Junior Member
Thread Starter
 
BB72Camaro's Avatar
 
Join Date: Aug 2011
Posts: 11
Likes: 0
Received 0 Likes on 0 Posts
Re: Commanded AFR in Open Loop

The power enrich tables work the way I would expect.


Example @ 4000RPM and 80C.

14.7/(1+.2266-.0430)=12.42

The target AFR from the data log is right in line with this.

I don't quite understand what you mean by Fuel to Air Ratio.

Does the computer calculate the target AFR differently in open loop than it does in power enrich?
Old 08-25-2011, 10:35 AM
  #6  
Moderator

iTrader: (1)
 
RBob's Avatar
 
Join Date: Mar 2002
Location: Chasing Electrons
Posts: 18,401
Likes: 0
Received 215 Likes on 201 Posts
Car: check
Engine: check
Transmission: check
Re: Commanded AFR in Open Loop

Check this link:

https://www.thirdgen.org/techbb2/sho...hreadid=214156

This shows the math as the ECM does it for PE mode. Which is basically the same for open loop AFR.

The modifier tables are a percent change to the FAR value. For 14.7:1 the ECM uses 445. The conversion to AFR is: AFR = 6553.6 / FAR (445)

Note that the FAR isn't the true FAR, but one that has been scaled for use by the ECM.

RBob.
Old 08-25-2011, 03:08 PM
  #7  
Moderator

iTrader: (1)
 
RBob's Avatar
 
Join Date: Mar 2002
Location: Chasing Electrons
Posts: 18,401
Likes: 0
Received 215 Likes on 201 Posts
Car: check
Engine: check
Transmission: check
Re: Commanded AFR in Open Loop

Lately there has been a number of requests about how $8D calculates open loop AFR. So... put this together:

The code in the $8D mask works with a fuel to air ratio (FAR) value. This makes the math easier for the ECM to run. This FAR can be converted to AFR by dividing 6553.6 by the ECM's FAR value.

This why stoich is 445 in the ECM: 6553.6 / 445 = 14.7 AFR. Also note how the math is done using binary increments. Such as: 6553.6 * 10 = 65536 in decimal, which is $10000 (hex).

In open loop the ECM uses six parameters to create the FAR. Note that this is standard mode, not in PE mode.

There is:

Stoich FAR
% change versus in idle
% change versus MAP
% change versus CTS
% change versus after-start enrichment
scalar for % change versus CTS

The scaling of the % change values is: % of change = value / 2.56

With the value being the raw BIN value. So a value of 36 is a 14% change to the FAR. And an increase at that, as that is a lower (richer) AFR.

All of the % change values are added together (it is a 16-bit value). The stoich FAR is then multiplied by the total % change and then divided by 256. The result is the commanded FAR.

So:

FAR = (Stoich_FAR * (%_idle + %_MAP + %_CTS + %_AfterStart + CTS_Scalar) ) / 256

Using values from AXCN, at 56* C (25 for 9.8%) and 90 KPa (36 for 14%), afterstart already decayed out. Note that the % change for idle is 0 in this calibration.

FAR = (445 * (0 + 36 + 25 + 0 + 221) ) / 256
FAR = (445 * 282) / 256
FAR = (125490) / 256
FAR = 490

The value of 490 is used by the ECM in the injector PW calculation.

For the AFR:

AFR = 6553.6 / 490
AFR = 13.4

RBob.

Last edited by RBob; 08-25-2011 at 03:17 PM.
Old 08-25-2011, 04:24 PM
  #8  
Member

iTrader: (2)
 
Gary Anderson's Avatar
 
Join Date: Nov 2000
Location: Waukesha WI US
Posts: 168
Likes: 0
Received 1 Like on 1 Post
Re: Commanded AFR in Open Loop

Does this hold true for your P4 EBL also?
Old 08-25-2011, 04:55 PM
  #9  
Junior Member
Thread Starter
 
BB72Camaro's Avatar
 
Join Date: Aug 2011
Posts: 11
Likes: 0
Received 0 Likes on 0 Posts
Re: Commanded AFR in Open Loop

Thanks RBob.

This clears things up a lot.

The only thing I cant locate in the tuning software is "scalar for % change versus CTS".

Is this some sort of constant that cant be changed?

Thanks again.
Old 08-25-2011, 07:10 PM
  #10  
Moderator

iTrader: (1)
 
RBob's Avatar
 
Join Date: Mar 2002
Location: Chasing Electrons
Posts: 18,401
Likes: 0
Received 215 Likes on 201 Posts
Car: check
Engine: check
Transmission: check
Re: Commanded AFR in Open Loop

Originally Posted by BB72Camaro
Thanks RBob.

This clears things up a lot.

The only thing I cant locate in the tuning software is "scalar for % change versus CTS".

Is this some sort of constant that cant be changed?

Thanks again.
It is right before the table:

Code:
;=======================================
; OPEN LOOP AIR/FUEL PCT CHANGE vs COOLANT
;
;
; TBL = (PCT CHG * 2.56) * SCALAR
;=======================================

L845D:	FCB	221 	; SCALAR,
			; ARG = 256 - VALUE, (35d)

;--------------------------------------
; 		%CHG 	; Deg c
;--------------------------------------

L845E:	FCB	242 	; 94.5 -40
	FCB	153 	; 59.8 -28
.
.
.

RBob.
Old 08-25-2011, 07:12 PM
  #11  
Moderator

iTrader: (1)
 
RBob's Avatar
 
Join Date: Mar 2002
Location: Chasing Electrons
Posts: 18,401
Likes: 0
Received 215 Likes on 201 Posts
Car: check
Engine: check
Transmission: check
Re: Commanded AFR in Open Loop

Originally Posted by Gary Anderson
Does this hold true for your P4 EBL also?
The EBL P4 is done differently, in some areas similar.

RBob.
Old 08-26-2011, 09:28 AM
  #12  
Junior Member
Thread Starter
 
BB72Camaro's Avatar
 
Join Date: Aug 2011
Posts: 11
Likes: 0
Received 0 Likes on 0 Posts
Re: Commanded AFR in Open Loop

Originally Posted by RBob
It is right before the table:

Code:
;=======================================
; OPEN LOOP AIR/FUEL PCT CHANGE vs COOLANT
;
;
; TBL = (PCT CHG * 2.56) * SCALAR
;=======================================

L845D:    FCB    221     ; SCALAR,
            ; ARG = 256 - VALUE, (35d)

;--------------------------------------
;         %CHG     ; Deg c
;--------------------------------------

L845E:    FCB    242     ; 94.5 -40
    FCB    153     ; 59.8 -28
.
.
.
RBob.

How can I view the code? With Tunerpro, Excel?

Thanks
Old 08-26-2011, 10:32 AM
  #13  
Moderator

iTrader: (1)
 
RBob's Avatar
 
Join Date: Mar 2002
Location: Chasing Electrons
Posts: 18,401
Likes: 0
Received 215 Likes on 201 Posts
Car: check
Engine: check
Transmission: check
Re: Commanded AFR in Open Loop

Originally Posted by BB72Camaro
How can I view the code? With Tunerpro, Excel?

Thanks
IIRC, the original hac of this mask is a pdf file.

{edit: can see/modify the BIN file with the hex editor built into Tuner Pro}

RBob.

Last edited by RBob; 08-26-2011 at 10:36 AM.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
rubyred88
Tech / General Engine
4
09-17-2015 02:19 PM
ndndndnd
Carburetors
2
09-16-2015 04:13 PM
355tpipickup
Tech / General Engine
9
09-13-2015 11:35 PM
Nick McCardle
Firebirds for Sale
1
09-10-2015 08:36 PM



Quick Reply: Commanded AFR in Open Loop



All times are GMT -5. The time now is 04:26 AM.