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 Aug 24, 2011 | 11:22 AM
  #1  
BB72Camaro's Avatar
Thread Starter
Junior Member
 
Joined: Aug 2011
Posts: 11
Likes: 0
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.
Reply
Old Aug 24, 2011 | 11:33 AM
  #2  
RBob's Avatar
Moderator
iTrader: (1)
 
Joined: Mar 2002
Posts: 18,432
Likes: 234
From: Chasing Electrons
Car: check
Engine: check
Transmission: check
Re: Commanded AFR in Open Loop

What mask ID are you referring to?

RBob.
Reply
Old Aug 24, 2011 | 12:31 PM
  #3  
BB72Camaro's Avatar
Thread Starter
Junior Member
 
Joined: Aug 2011
Posts: 11
Likes: 0
Re: Commanded AFR in Open Loop

It's a 7730 using 8D.
Reply
Old Aug 25, 2011 | 07:57 AM
  #4  
RBob's Avatar
Moderator
iTrader: (1)
 
Joined: Mar 2002
Posts: 18,432
Likes: 234
From: Chasing Electrons
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.
Reply
Old Aug 25, 2011 | 08:49 AM
  #5  
BB72Camaro's Avatar
Thread Starter
Junior Member
 
Joined: Aug 2011
Posts: 11
Likes: 0
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?
Reply
Old Aug 25, 2011 | 10:35 AM
  #6  
RBob's Avatar
Moderator
iTrader: (1)
 
Joined: Mar 2002
Posts: 18,432
Likes: 234
From: Chasing Electrons
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.
Reply
Old Aug 25, 2011 | 03:08 PM
  #7  
RBob's Avatar
Moderator
iTrader: (1)
 
Joined: Mar 2002
Posts: 18,432
Likes: 234
From: Chasing Electrons
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; Aug 25, 2011 at 03:17 PM.
Reply
Old Aug 25, 2011 | 04:24 PM
  #8  
Gary Anderson's Avatar
Member
25 Year Member
iTrader: (2)
 
Joined: Nov 2000
Posts: 169
Likes: 1
From: Waukesha WI US
Re: Commanded AFR in Open Loop

Does this hold true for your P4 EBL also?
Reply
Old Aug 25, 2011 | 04:55 PM
  #9  
BB72Camaro's Avatar
Thread Starter
Junior Member
 
Joined: Aug 2011
Posts: 11
Likes: 0
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.
Reply
Old Aug 25, 2011 | 07:10 PM
  #10  
RBob's Avatar
Moderator
iTrader: (1)
 
Joined: Mar 2002
Posts: 18,432
Likes: 234
From: Chasing Electrons
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.
Reply
Old Aug 25, 2011 | 07:12 PM
  #11  
RBob's Avatar
Moderator
iTrader: (1)
 
Joined: Mar 2002
Posts: 18,432
Likes: 234
From: Chasing Electrons
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.
Reply
Old Aug 26, 2011 | 09:28 AM
  #12  
BB72Camaro's Avatar
Thread Starter
Junior Member
 
Joined: Aug 2011
Posts: 11
Likes: 0
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
Reply
Old Aug 26, 2011 | 10:32 AM
  #13  
RBob's Avatar
Moderator
iTrader: (1)
 
Joined: Mar 2002
Posts: 18,432
Likes: 234
From: Chasing Electrons
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; Aug 26, 2011 at 10:36 AM.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
rubyred88
Tech / General Engine
4
Sep 17, 2015 02:19 PM
ndndndnd
Carburetors
2
Sep 16, 2015 04:13 PM
355tpipickup
Tech / General Engine
9
Sep 13, 2015 11:35 PM
Nick McCardle
Firebirds for Sale
1
Sep 10, 2015 08:36 PM




All times are GMT -5. The time now is 03:37 PM.