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

Tuning "Filter" coefficients for MAP and TPS based AE

Thread Tools
 
Search this Thread
 
Old 12-23-2006, 03:16 AM
  #1  
Supreme Member

Thread Starter
iTrader: (4)
 
Darkshot's Avatar
 
Join Date: Nov 2005
Location: Sacramento
Posts: 1,946
Likes: 0
Received 0 Likes on 0 Posts
Car: 91 RS
Engine: 350 TBI
Transmission: WC T5
Axle/Gears: 3.42 Posi
Tuning "Filter" coefficients for MAP and TPS based AE

I'm currently trying to teach myself how to tune AE. I understand the modifications to the AE-TPS PW and AE-MAP PW as simply modificitions to the base pulse width (in milliseconds) for any given delta MAP or delta TPS. However, I do not understand the TPS and MAP filter vs Coolant temp. What exactly does this modify and for what reason? I'm just trying to visualize the physical effect it has on the engine so I can dial it in. How can I accuratly tune these two tables?
Old 12-23-2006, 12:08 PM
  #2  
Moderator

iTrader: (1)
 
RBob's Avatar
 
Join Date: Mar 2002
Location: Chasing Electrons
Posts: 18,402
Likes: 0
Received 215 Likes on 201 Posts
Car: check
Engine: check
Transmission: check
The AE-TPS & AE-MAP PW tables are based on a delta value. The change in the TPS & MAP over time. This change, or delta value is used to define the row from the AE-TPS & AE-MAP table.

To get this delta TPS & MAP each is filtered with a 1st order lag filter. This 1st order lag filter uses a coefficient that defines the level or amount of filtering. A large coefficient provides for a fast filter. The output of the filter closely follows the input of the filter.

A small coefficient value has the opposite affect. The output of the filter lags the input value. With the smaller the coefficient, the greater the lag.

The TPS and MAP filter vs Coolant temp tables provide the filter coefficient.

A key part of the lag filter is that it takes place on a time based schedule. On regular intervals a new output value is calculated. So if the input value holds steady (the same value), the output value will eventually be the same as the input.

With the lagged output value, and the current value, subtraction provides the delta between them. This delta is then used for the AE PW lookup (it defines which row in the table to use).

For a TPS example, say we are sitting at a stop light, and the last yellow blinks, the throttle is mashed and the car starts moving. While sitting still the throttle was at 25% TPS, then quickly went to 100% TPS. At this point the output value of the lag filter, or old value, will be 25%. Because after a short period of time after the throttle was brought to 25%, the filter output will have caught up to the input value.

Once the throttle is mashed the immediate delta TPS value will be 75% (100 - 25). This value of 75% will be used to define the row in the AE-PW table. As most AE-PW tables don't go that high, the highest row in the table is used.

Also, and this is an important concept, the real delta that the ECM sees and uses will probably be lower. The reason is that the ECM is reading the TPS sensor and lag filtering it every 12.5 milli-seconds, or 80 times a second.

So as we are mashing the go-pedal the ECM is filtering the TPS. This has the input of the filter going up in value as the throttle moves from 25% to 100%. And the output of the filter doing the same.

Even as such, the initial delta TPS values will be high. Then as the throttle is held at 100%, the output of the lag filter is catching up to it. With that the delta TPS value (current - lagged) is getting smaller in value.

As the delta TPS reduces, the AE-PW is tapering off. And once it reaches 0 the AE stops. The action of AE is calculated within the ECM 80 times a second, or every 12.5 milli-seconds. Basically as such:

Read the TPS sensor (new or input to filter).
Lookup the Filter Coefficient from the table vs coolant temperature.
Filter the TPS using the current TPS % and the old value (from the last time it was filtered).
Lookup the AE-PW from the PW table.
Do the Coolant and RPM lookups and adjust AE PW
Program the AE PW into the ECM hardware

Then 12.5 milli-seconds later, do it all over again.

Changing the filter value affects the AE in 2 ways: duration and magnitude.

A smaller filter coefficient will have the output of the filter slower to catch up to the input of the filter. Hence increases the duration of the AE.

With the slower filter (smaller coefficient) the delta will also be greater. This provides for a larger volume of AE. Note: this really depends upon how the AE-PW tables are set up. Usually they are incrementing as the delta increases. But do not have to be.

I tend to use the filter table to control the duration of the AE. And the PW tables to control the volume of AE. However, it is important to understand that the filter values also affect the volume of AE.

Various stock GM ECMs have different AE logic. The '7747 has both a TPS & MAP filter table. Where the '8746 only has a MAP filter table.

The other variable in the filter tables is the engine coolant temperature. This defines which filter value to use. Simply put, a colder engine generally requires more AE for a longer duration. So typically smaller filter coefficient are found at the colder table entries.

I'll see if I can get some graphs of this in action.

RBob.

{edited for spelling and grammer}

Last edited by RBob; 05-18-2007 at 03:04 PM.
Old 12-23-2006, 12:57 PM
  #3  
Moderator

iTrader: (1)
 
RBob's Avatar
 
Join Date: Mar 2002
Location: Chasing Electrons
Posts: 18,402
Likes: 0
Received 215 Likes on 201 Posts
Car: check
Engine: check
Transmission: check
Attached picture is a graph of 2 starts. The bottom axis is hours:minutes:seconds.

The dTPS & dMAP are the delta values for each. Not the AE PW, but the delta used to lookup the AE PW.

In the first takeoff the throttle is just mashed from fully closed (nearly fully closed as setting my foot on the go-pedal opened it a hair).

In the second takeoff the engine is brought up against the convertor, a little. Then the throttle is quickly opened.

From the graphs the interaction between the TPS & MAP are to the delta TPS & MAP values can be seen. Even the duration of the MAP AE is higher then the TPS AE.

Please note that this is on a port injected vehicle. A TBI vehicle may be a little different in that the delta AE values will be greater.

RBob.
Attached Thumbnails Tuning "Filter" coefficients for MAP and TPS based AE-ae.jpg  
Old 12-27-2006, 08:38 AM
  #4  
Senior Member

 
devilfish's Avatar
 
Join Date: Dec 2002
Location: Sweden
Posts: 665
Likes: 0
Received 0 Likes on 0 Posts
Good info. Thanks
Old 12-31-2006, 11:05 AM
  #5  
Supreme Member
iTrader: (2)
 
vernw's Avatar
 
Join Date: Jul 2003
Location: Dallas, TX area
Posts: 3,205
Likes: 0
Received 0 Likes on 0 Posts
Car: 91 Formula WS6 (Black, T-Tops)
Engine: 383 MiniRam (529 HP, 519 TQ - DD2K)
Transmission: Built '97 T56, Pro 5.0, CF-DF
Axle/Gears: 4.11 posi Ford 9"
No, that's EXCELLENT info!!!
Old 05-23-2007, 12:08 AM
  #6  
Member
 
escort_ford84's Avatar
 
Join Date: Jun 2006
Posts: 148
Likes: 0
Received 0 Likes on 0 Posts
Re: Tuning "Filter" coefficients for MAP and TPS based AE

What are the addresses for the filter values? I dont see it in the anlu hac.
Old 05-23-2007, 07:59 AM
  #7  
Moderator

iTrader: (1)
 
RBob's Avatar
 
Join Date: Mar 2002
Location: Chasing Electrons
Posts: 18,402
Likes: 0
Received 215 Likes on 201 Posts
Car: check
Engine: check
Transmission: check
Re: Tuning "Filter" coefficients for MAP and TPS based AE

The '8746 (anlu) doesn't have tables of filter coefficients for AE. The delta TPS is based on the reading 12.5 msecs prior to the current TPS reading. For MAP, there are 2 set filter values. And a temperature threshold to choose between them:

Code:
LD225:  FCB      64     ; coolant threshold for following filt coef's
LD226:  FCB      20     ; filter coef for map term, AE & DE, CTS < LD225
LD227:  FCB      36     ; filter coef for map term, AE & DE, CTS > LD225
RBob.
Old 05-25-2007, 10:22 PM
  #8  
Member
 
escort_ford84's Avatar
 
Join Date: Jun 2006
Posts: 148
Likes: 0
Received 0 Likes on 0 Posts
Re: Tuning "Filter" coefficients for MAP and TPS based AE

So, would raising the value of the MAP AE filter delay or add some time to AE?
Old 05-25-2007, 11:15 PM
  #9  
Member
 
escort_ford84's Avatar
 
Join Date: Jun 2006
Posts: 148
Likes: 0
Received 0 Likes on 0 Posts
Re: Tuning "Filter" coefficients for MAP and TPS based AE

and i suppose the values are in non-inverted a/d counts
Old 06-26-2007, 05:58 PM
  #10  
Member
 
Colts45s's Avatar
 
Join Date: Sep 2006
Location: alabama
Posts: 237
Likes: 0
Received 0 Likes on 0 Posts
Car: 92 camaro rs
Engine: 350 tbi/416's/comp xe268
Transmission: 700r4
Axle/Gears: 3.42
Re: Tuning "Filter" coefficients for MAP and TPS based AE

so on an 8746, can the coefficient change in dmap adjust AE PW volume or is it mostly duration do to the lack of a dtps filter? And if it is limited to mostly duration caould you explain a little more into the effect of the PW table changes to volume? To my understanding changeing the PW tables would effect both duration and volume the same way you described the AE tables am I correct?
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
92firebirdguy
TBI
59
09-01-2016 07:53 AM
mrestrictrplate
Engine/Drivetrain/Suspension Wanted
3
09-21-2015 11:24 AM
eustodp
Electronics
8
09-20-2015 05:09 PM
pacoelrapido
TPI
3
09-11-2015 02:41 PM



Quick Reply: Tuning "Filter" coefficients for MAP and TPS based AE



All times are GMT -5. The time now is 08:30 AM.