Toyota GR86, 86, FR-S and Subaru BRZ Forum & Owners Community - FT86CLUB

Toyota GR86, 86, FR-S and Subaru BRZ Forum & Owners Community - FT86CLUB (https://www.ft86club.com/forums/index.php)
-   Software Tuning (https://www.ft86club.com/forums/forumdisplay.php?f=88)
-   -   MAF Scaling - Open/Closed Loop Fueling info (https://www.ft86club.com/forums/showthread.php?t=64790)

steve99 05-01-2014 12:34 PM

MAF Scaling - Open/Closed Loop Fueling info
 
5 Attachment(s)
MAF Scaling - Open/Closed Loop Fueling info
MAF Scaling - Open/Closed Loop Fueling info
MAF (mass Air Flow) Sensor Scaling - Open/closed loop Fuelling

Disclaimer : I am not a tuner. I am simply trying to provide information and links to help you. Use this information at your own risk.


Hopefully this will be helpful to others who wish to have a go at scaling their MAF sensor.


If you find errors let me know and I will try and correct them.


MAF Sensor

The MAF sensor in mounted on the intake after the air filter. Its job is to measure the rate of flow into the engine.

If you change your intake ,you will need to rescale your MAF sensor or at least use the scaling provided by the Intake manufacturer. Changing just the filter will not require MAF rescale.

Indications you need to scale MAF are high Long Term Fuel Trims (LTFT) when running on Petrol (gasoline) say over 5%.

Large differences between Actual AFR and Commanded AFR in Open loop (Wide open throttle)

Warning: OFT tunes (and some other E85 tunes) on E85 do not use flex fuel sensor they use fuel trims to account for variations in E%. Do not try to scale your MAF while running an OFT E85 tune. If you want to scale MAF go back to Petrol (Gasoline) unless you have a very consistent mix of E85, most E85 varies in ethanol content from about 60-90%. If you do scale maf on an E85 tune be careful to check your fueling after the maf scale as it may require adjustment.

When your rescaling your MAF, keep in mind your trying to eliminate the LTFT compensations. If your LTFT is around -5% then your MAF will need adjusting by about the same amount. So if your calculations or the utilities want to make -20% change check your calculations or input data something is wrong.

Remember your changing the fuelling to your engine, make small changes and check the results.

Your probably aiming for LTFT around +/- 2% or so. Their will always be a bit of variance due fuel formulation (ethanol content E10) temperature , pressure ect.

Comments by Jamesm from HRI Tuning to contact HRI tuning contact @jamesm

Important if you have changed injectors or fueling components.
----------------------------------------------------------------------
Originally Posted by jamesm
Thanks for posting this. I'll just make two (very important) notes: first, what you're modifying here is an input to a load calculation, not a fueling calculation. Though it may not seem to matter for simple closed/open loop MAF scaling where the goal is mostly to minimize trims and get AFRs hitting targets, it's extremely important to understand conceptually. The MAF doesn't only dictate fueling, it is an input to a load calculation which dictates nearly everything the engine does in operation (like timing, port/di ratios etc). The results we see from this process with regard to fueling are only one side effect of this.

Secondly, the process as described here will work reasonably well for a vehicle with stock fueling components. To properly calibrate a vehicle with aftermarket fueling components requires process separation between port and direct injection modes. This is something that catches a lot of people off guard, particularly those who are used to tuning WRXs and think an 86 will accept the same process. There are a number of ways to accomplish proper calibration of a vehicle with aftermarket injectors, one of which is to calibrate the MAF against a fueling error log generated while running only direct injection (which in the common case has not changed), then calibrate the injectors against that known-good MAF (using the scaler and latency). Ultimately, the goal is to have extremely low fueling error on both sides of the coin. If not all sorts of awfulness ensues, like idle dipping, stalling when coming to a stop etc. I actually apply this process even when tuning cars with stock fuel systems, because I've found the stock calibration to be imbalanced by as much as 10-15%, and at that point there is a drivability win associated with correcting it.

--------------------------------------------------------------------------------------



Closed loop = When fuelling is calculated from inputs from MAF and O2 sensor (generally idle and cruise)
Open loop = Fuelling calculated from MAF sensor and OL Fuelling table targets (Generally Wide open throttle or quick throttle movements)


OFT or Tactrix logs – Fuel system status indications


1= Warmup not up to temp
2=Closed Loop,
4=Open Loop or de-celeration fuel cut
8=Open Loop due to system failure



Simplified explanation Open loop/Closed loop fueling

Usually open loop is used on initial start and during warmup, until the 02 sensor reaches its operating temperature and produces a reliable signal , at which point the ECU switches to closed loop for idle. Warmup mode is Fuel System status =1

Under heavy acceleration or abrupt throttle movement the system will generally go open loop. Fuel system status =4

During cruise and idle it will generally be in Closed Loop mode Status = 2

When the engine is running in closed loop, it is using the signal from the O2 sensor to regulate the AFR in conjunction with the MAF sensor. There is a feedback "loop" between the O2 sensor and ECU so the ECU continuously makes adjustments based on the O2 sensor data.

The correction applied by the ECU due to the O2 sensor input will be in the form of STFT, if the STFT stays negative or positive consistently for a period of time it will be written to LTFT. There are several bands of LTFT based on MAF sensor flow rates (roughly related to engine RPM) where the ECU stores the LTFT. This is a continuous learning process and other offsets and compensations are applied due to IAT, Pressure , coolant temp ect.

In open loop the O2 sensor isn't used and the ECU sets fueling based on stored maps(OL fueling AFR target maps) the MAF sensor input and LTFT trims learned when engine was running in Closed loop mode.

So if you MAF scaling is out of wack you will build up large LTFT when on Closed loop mode these will be stored and then applied as corrections when you go Wide open throttle.(Open loop mode).

This would be fine if the MAF is “off” by a consistent amount throughout the air flow range.

However if the MAF scaling is out by a considerable amount you will build up large say over 5% LTFT while your cruising around in Closed loop.

Then when you go Wide Open Throttle (or just more aggressive throttle movements) this stored LTFT is applied as a correction to the fuelling targets in Open loop mode and throws off your AFR.

Proceedure

Collect data logs logging required parameters required by utilities below generally includes

Collect logs at similar temperatures or it will throw off the calculations. A few degrees does not matter but if you collect one log at 10 C and another at 30C its going to cause problems with calculation. Best temperature is around 20-25C as but that's not always possible as this is whre no temp compensation is applied to MAF readings.

When MAF scaling, ensure you remove any data when the coolant temp is below 70C (160F) as fueling compensations are active and will skew data. If you don't log coolant temp, then don't log until at least 5 minutes of actual driving. Hint: Log coolant temp
(thanks @Kodename47)

Fuel system status ol/cl
AFR (actual measured by O2 sensor
Commanded AFR ( from OL Fueling table data)
LTFT
STFT
LOAD
MAF Volts
Throttle position
IAT
RPM

Once you have logs use @vgi utility and it does all the work for you, just remove and unneeded header lines from log.
http://www.romraider.com/forum/viewt...p?f=32&t=10481

Scale using CLOSED LOOP data first.

Once CLOSED LOOP portion of MAF scaled move onto collecting and scaling for OPEN LOOP

Pre-Scaled Intakes

Some intakes such as Perrin come with base MAF scales to suit
see attached files at end of post below for

Perrin 2.75 intake
Perrin 3" big maf intake

Other scaling supplied by forum members


AFE Takeda Intake (Gready)

Very Informative Post here from @Wayno showing graphical representation of different MAF scales and differences between MAF sensor in brz/86/frz likely due to change in sensors since original cars

http://www.ft86club.com/forums/showp...&postcount=353




Overcoming stock MAF limit with direct replacement Forrester MAF sensor

http://www.ft86club.com/forums/showthread.php?t=106496


base scaling for replacement forrester/wrx maf sensor
We can use impreza (forester ) stock maf sensor to our car
without any modification.

part number is 22680AA380

same dimension, same harness
but much higher maf reading limit ( about 130%)
can use more boost without Speed density tuning


base scaling for replacement forrester/wrx maf sensor in standard maf housing
http://www.ft86club.com/forums/showp...64&postcount=5






MAP Scalings for Alternative MAP sensors for Boosted cars (Manifold Pressure Sensors)


Omni 2.5 Bar MAP

The OFT300 (Vortex supercharger) map uses the 2.5 BAR Omni and has CEL-P0068 disabled in the map
ok for 2.5 Bar OMNI MAP sensor ECUTEK scaling in BAR

Manifold Pressure Sensor multiplier in bar per volt. = 0.500
Manifold pressure sensor offset. Value is measured in bar. = 0.100
MAP Sensor voltage max = 5.0v
MAP sensor Voltage min = 0.0v

Omni 3 Bar MAP Sensor (Metric in Bar)
0.617 - MULTIPLIER
0.03 - OFFSET
scaling limits 0 - 4.75v

Omni 4 Bar MAP Sensor
Manifold Pressure Sensor Scaling - (imperial PSI)
Multiplier - 12.087
Offset - 0.168
Metric/Bar

bar/volt .833
offset (bar) .012

Manifold Pressure Sensor Limits - (CEL still comes on )
High Input CEL Above - 5.00v
Low Input CEL Below - 0.00v
Disable CEL P0103 and P0068






Links to MAF scaling utilities and information


Link to vgi’s MAF scaling program (very good easy to use)

http://www.romraider.com/forum/viewt...p?f=32&t=10481

The above utility by VGI is probably the most comprehensive and easiest to use. It will also do Closed loop and Open loop scaling in one go.

-------------------------------------------------------------------------------------------------------------
Couple of tips from @Kodename47 when using VGI's utility

Can I point out that to ensure you add the max/min correction % into the OL section. You will always get a big error shortly after the throttle opens and you do not want this to be used for corrections. The tool is set to 200% by default, what I'd do is load in the log like that, look at the data at the top of the columns and have a quick check over what seems a good limit to set. Clear the run data and load in the same log with the limit set to a sensible value, I usually shoot for 7.5-10%. That should help with the lump you get around 3v.
I also set OL min and CL max to 3v.
----------------------------------------------------------------------------------------------------------------
@Kodename47 spreadsheet to smooth and compare MAF curves to OEM maf curve
https://dl.dropboxusercontent.com/u/...omparison.xlsx

Kodename47's Tuning Tool Thread
http://www.ft86club.com/forums/showthread.php?t=75710

Info Closed loop MAF scaling:
http://forums.nasioc.com/forums/show....php?t=1427448

Info Open Loop MAF Scaling:
http://www.ft86club.com/forums/showp...&postcount=995


Jamesm’s screencast on Injector and MAF scaling

[ame]http://www.youtube.com/watch?v=NkqY9JVRA4M&feature=youtube[/ame]




"http://www.youtube.com/watch?v=NkqY9JVRA4M&feature=youtube"


YIKES Spread sheet for maf scaling
http://www.romraider.com/forum/viewt...hp?f=32&t=6987
In the Yikes CL MAF scaling spreadsheet
A/F correction #1 = STFT
A/F Learn #1 = LTFT
Futher instruction in the spreadsheet.




Fuel system status in logs
1= Warmup/ O2 not up to temp
2= Closed loop
4= Open loop
8= Fuel system fail/error

MAF= Mass air flow sensor
LTFT= long term fuel trim
STFT = short term fuel trim
O2 = oxygen sensor
IAT= Intake Air temperature

Kodename47 05-01-2014 01:01 PM

Might I add that vgi's scaling tool is designed to be able to scale open loop even if LTFTs are being applied so if you collect enough data you can do a complete OL and CL scale in one. Meaning you should be able to get the car running on point in one go without having to go and re-flash/reset the ECU.

ML 05-01-2014 01:19 PM

what unit is LTFT measured in? %?

steve99 05-01-2014 01:54 PM

Quote:

Originally Posted by ML (Post 1709448)
what unit is LTFT measured in? %?

LTFT and STFT are in percent

R2 05-01-2014 02:34 PM

This is great - I've been wanting to scale my MAF and this will cut down on the reading time for me. Thanks!

wparsons 05-01-2014 04:57 PM

I've been thinking about writing a web app that would do what the spreadsheets do, just haven't had any time at all to do it.

One of the features would be the ability to load multiple logs and have it work with them all.

Kodename47 05-01-2014 05:38 PM

Quote:

Originally Posted by wparsons (Post 1709969)
I've been thinking about writing a web app that would do what the spreadsheets do, just haven't had any time at all to do it.

One of the features would be the ability to load multiple logs and have it work with them all.

Once youve adjusted the MAF, previous logs become irrelevant, I don't see much need for multiple logs. Have you tried vgi's one? Its java, so quick and simple and does all you need it to. Just a 20-30 min log for CL and 2/3 WOT pulls in 1 log and that's good enough for a full MAF curve. The technique to the tool is:
Set CL max V to 3
Set OL min V to 3
Do the CL with no smoothing and update the MAF scale, then upload the new scale to the OL portion. With that adjusted, apply smoothing as necessary.

wparsons 05-01-2014 07:13 PM

I meant multiple logs from before the scaling, and not needing just WOT or just part throttle. The app would look at throttle position and figure out what is WOT and what isn't and do all the work for you.

That way you could use a few logs that are fully mixed instead of needing one single non WOT log and multiple just WOT single pulls. I personally find it hard to get a good solid 30 minute log of mixed driving unless I go way out of my way to drive around just to get a log. Using multiple files I could grab 10 minutes here, 10 minutes there and have it all work out.

ML 05-02-2014 09:35 AM

Quote:

OPEN LOOP
There are times when we want our car to not run the stoich AFR. This would be when we are trying to
make a lot of power by compressing the air/fuel mixture as much as possible before the spark plug
ignites it. So what AFR should we run? A 12:1 AFR is good for power, but dangerous to the engine. It
would be good for an aggressive tune on a car that you won't mind if the engine goes. The more reliable
AFRs of 10.5:1 to 11:1 for a TMIC and 11:1 to 11.5:1 for an fmic are usually used on a daily driver.
12.1 dangerous? really?

Malt 05-02-2014 09:39 AM

Quote:

Originally Posted by ML (Post 1711178)
12.1 dangerous? really?

Read it in contex. That quote is referring to a FI vehicle (most likely a WRX or STi) with a top mount intercooler or front mount intercooler, not a BRZ with a NA motor.

s2d4 05-02-2014 10:04 AM

Quote:

Originally Posted by wparsons (Post 1710228)
I meant multiple logs from before the scaling, and not needing just WOT or just part throttle. The app would look at throttle position and figure out what is WOT and what isn't and do all the work for you.

That way you could use a few logs that are fully mixed instead of needing one single non WOT log and multiple just WOT single pulls. I personally find it hard to get a good solid 30 minute log of mixed driving unless I go way out of my way to drive around just to get a log. Using multiple files I could grab 10 minutes here, 10 minutes there and have it all work out.

You seem to be mistaken, fuel system status will let you know if you are in CL or OL.

jamesm 05-02-2014 10:13 AM

Thanks for posting this. I'll just make two (very important) notes: first, what you're modifying here is an input to a load calculation, not a fueling calculation. Though it may not seem to matter for simple closed/open loop MAF scaling where the goal is mostly to minimize trims and get AFRs hitting targets, it's extremely important to understand conceptually. The MAF doesn't only dictate fueling, it is an input to a load calculation which dictates nearly everything the engine does in operation (like timing, port/di ratios etc). The results we see from this process with regard to fueling are only one side effect of this.

Secondly, the process as described here will work reasonably well for a vehicle with stock fueling components. To properly calibrate a vehicle with aftermarket fueling components requires process separation between port and direct injection modes. This is something that catches a lot of people off guard, particularly those who are used to tuning WRXs and think an 86 will accept the same process. There are a number of ways to accomplish proper calibration of a vehicle with aftermarket injectors, one of which is to calibrate the MAF against a fueling error log generated while running only direct injection (which in the common case has not changed), then calibrate the injectors against that known-good MAF (using the scaler and latency). Ultimately, the goal is to have extremely low fueling error on both sides of the coin. If not all sorts of awfulness ensues, like idle dipping, stalling when coming to a stop etc. I actually apply this process even when tuning cars with stock fuel systems, because I've found the stock calibration to be imbalanced by as much as 10-15%, and at that point there is a drivability win associated with correcting it.

steve99 05-02-2014 10:25 AM

Quote:

Originally Posted by jamesm (Post 1711235)
Thanks for posting this. I'll just make two (very important) notes: first, what you're modifying here is an input to a load calculation, not a fueling calculation. Though it may not seem to matter for simple closed/open loop MAF scaling where the goal is mostly to minimize trims and get AFRs hitting targets, it's extremely important to understand conceptually. The MAF doesn't only dictate fueling, it is an input to a load calculation which dictates nearly everything the engine does in operation (like timing, port/di ratios etc). The results we see from this process with regard to fueling are only one side effect of this.

Secondly, the process as described here will work reasonably well for a vehicle with stock fueling components. To properly calibrate a vehicle with aftermarket fueling components requires process separation between port and direct injection modes. This is something that catches a lot of people off guard, particularly those who are used to tuning WRXs and think an 86 will accept the same process. There are a number of ways to accomplish proper calibration of a vehicle with aftermarket injectors, one of which is to calibrate the MAF against a fueling error log generated while running only direct injection (which in the common case has not changed), then calibrate the injectors against that known-good MAF (using the scaler and latency). Ultimately, the goal is to have extremely low fueling error on both sides of the coin. If not all sorts of awfulness ensues, like idle dipping, stalling when coming to a stop etc. I actually apply this process even when tuning cars with stock fuel systems, because I've found the stock calibration to be imbalanced by as much as 10-15%, and at that point there is a drivability win associated with correcting it.


Thanks James I will add your comments to original post.:thumbup:

steve99 05-02-2014 10:55 AM

I just used @vgi program for MAF scaling and it sure makes things easy after wrestling with "yikes" and doing manual calcs for OL scale. Would have saved me a ship load of time.

The good news was that my scale was almost identical to @vgi program.

But I learnt a lot in the process so its all good

Thanks @vgi and @jamesm :thumbup: :thanks:


All times are GMT -4. The time now is 05:12 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
User Alert System provided by Advanced User Tagging v3.3.0 (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.


Garage vBulletin Plugins by Drive Thru Online, Inc.