|
Software Tuning Discuss all software tuning topics. |
|
Thread Tools | Search this Thread |
05-01-2014, 12:34 PM | #1 |
Banned
Join Date: Dec 2013
Drives: FT86
Location: Australia
Posts: 7,998
Thanks: 1,035
Thanked 4,988 Times in 2,982 Posts
Mentioned: 598 Post(s)
Tagged: 2 Thread(s)
|
MAF Scaling - Open/Closed Loop Fueling info
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 Last edited by steve99; 10-04-2016 at 11:55 AM. Reason: add AFE Takeda MAF Scaling |
The Following 38 Users Say Thank You to steve99 For This Useful Post: | 1quickchic (01-12-2019), 200hp/tonne (05-08-2015), acj47 (11-06-2014), Akya2120 (12-29-2015), akyp (09-05-2014), arghx7 (05-02-2014), Astroboy (11-18-2014), blackfireball5 (06-27-2017), Boofneenee (05-24-2014), chas3wba0 (07-21-2014), Cop (12-12-2014), Darkparadox911 (06-16-2015), Den650 (05-15-2017), DocWalt (09-26-2014), gabeg86 (05-12-2014), gonzo (05-30-2014), Hyperblue302 (04-16-2016), Kodename47 (05-01-2014), mid_life_crisis (07-28-2015), milhouse (05-02-2014), ML (05-01-2014), mrk1 (05-26-2014), NepeanFR-S (09-13-2017), olorin (06-25-2014), PA-86 (04-30-2015), phrosty (05-02-2014), Rescodna (01-17-2015), RustySocket (09-30-2015), ShadowSeraph (08-06-2014), silverbullet (06-11-2014), sluflyer06 (07-19-2014), Sportsguy83 (05-01-2014), Tatsu333 (02-21-2022), troek (06-25-2014), vgi (05-01-2014), vynervt (05-03-2014), wparsons (05-01-2014), Yobiwan (07-04-2014) |
05-01-2014, 01:01 PM | #2 |
Senior Member
Join Date: Oct 2012
Drives: UK GT86
Location: UK
Posts: 3,040
Thanks: 185
Thanked 1,631 Times in 1,112 Posts
Mentioned: 155 Post(s)
Tagged: 1 Thread(s)
|
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.
__________________
.: Stealth 86 :.
Abbey Motorsport/K47 Tuned Sprintex 210 Supercharger Kodename 47 DJ: Soundcloud / Instagram / Facebook |
The Following 2 Users Say Thank You to Kodename47 For This Useful Post: | Sportsguy83 (05-01-2014), steve99 (05-01-2014) |
05-01-2014, 01:19 PM | #3 |
Senior Member
Join Date: Sep 2012
Drives: 13 White MT FR-S
Location: Gastonia, NC
Posts: 1,843
Thanks: 977
Thanked 1,137 Times in 524 Posts
Mentioned: 41 Post(s)
Tagged: 0 Thread(s)
|
what unit is LTFT measured in? %?
__________________
|
05-01-2014, 02:34 PM | #5 |
Senior Member
Join Date: Nov 2012
Drives: FR-S
Location: Sask., Canada
Posts: 250
Thanks: 84
Thanked 89 Times in 55 Posts
Mentioned: 20 Post(s)
Tagged: 1 Thread(s)
|
This is great - I've been wanting to scale my MAF and this will cut down on the reading time for me. Thanks!
|
05-01-2014, 04:57 PM | #6 |
Senior Member
Join Date: Jul 2012
Drives: 2013 Asphalt FR-S Manual
Location: Whitby, ON, Canada
Posts: 6,716
Thanks: 7,875
Thanked 3,353 Times in 2,134 Posts
Mentioned: 99 Post(s)
Tagged: 1 Thread(s)
|
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.
__________________
Light travels faster than sound, so people may appear to be bright until you hear them speak... flickr |
05-01-2014, 05:38 PM | #7 | |
Senior Member
Join Date: Oct 2012
Drives: UK GT86
Location: UK
Posts: 3,040
Thanks: 185
Thanked 1,631 Times in 1,112 Posts
Mentioned: 155 Post(s)
Tagged: 1 Thread(s)
|
Quote:
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.
__________________
.: Stealth 86 :.
Abbey Motorsport/K47 Tuned Sprintex 210 Supercharger Kodename 47 DJ: Soundcloud / Instagram / Facebook |
|
The Following 2 Users Say Thank You to Kodename47 For This Useful Post: | Illuminaughty (03-19-2015), Wayno (02-17-2015) |
05-01-2014, 07:13 PM | #8 |
Senior Member
Join Date: Jul 2012
Drives: 2013 Asphalt FR-S Manual
Location: Whitby, ON, Canada
Posts: 6,716
Thanks: 7,875
Thanked 3,353 Times in 2,134 Posts
Mentioned: 99 Post(s)
Tagged: 1 Thread(s)
|
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.
__________________
Light travels faster than sound, so people may appear to be bright until you hear them speak... flickr |
05-02-2014, 09:35 AM | #9 | |
Senior Member
Join Date: Sep 2012
Drives: 13 White MT FR-S
Location: Gastonia, NC
Posts: 1,843
Thanks: 977
Thanked 1,137 Times in 524 Posts
Mentioned: 41 Post(s)
Tagged: 0 Thread(s)
|
Quote:
__________________
|
|
05-02-2014, 10:04 AM | #11 | |
Senior Member
Join Date: Mar 2013
Drives: R32 GTR, AW11 MR2 SC, GTS86 R
Location: OZ
Posts: 2,615
Thanks: 603
Thanked 1,224 Times in 708 Posts
Mentioned: 35 Post(s)
Tagged: 0 Thread(s)
|
Quote:
__________________
|
|
05-02-2014, 10:13 AM | #12 |
Banned
Join Date: Mar 2013
Drives: 2013 FR-S
Location: Orlando, FL
Posts: 2,929
Thanks: 1,166
Thanked 2,293 Times in 1,180 Posts
Mentioned: 313 Post(s)
Tagged: 4 Thread(s)
|
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. Last edited by jamesm; 05-02-2014 at 10:23 AM. |
The Following 5 Users Say Thank You to jamesm For This Useful Post: | FearBoy (07-21-2014), MFB (07-05-2014), Sportsguy83 (05-02-2014), Wayno (02-17-2015), wparsons (05-02-2014) |
05-02-2014, 10:25 AM | #13 | |
Banned
Join Date: Dec 2013
Drives: FT86
Location: Australia
Posts: 7,998
Thanks: 1,035
Thanked 4,988 Times in 2,982 Posts
Mentioned: 598 Post(s)
Tagged: 2 Thread(s)
|
Quote:
Thanks James I will add your comments to original post. |
|
The Following 2 Users Say Thank You to steve99 For This Useful Post: | jamesm (05-02-2014), Sportsguy83 (05-02-2014) |
05-02-2014, 10:55 AM | #14 |
Banned
Join Date: Dec 2013
Drives: FT86
Location: Australia
Posts: 7,998
Thanks: 1,035
Thanked 4,988 Times in 2,982 Posts
Mentioned: 598 Post(s)
Tagged: 2 Thread(s)
|
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 |
The Following User Says Thank You to steve99 For This Useful Post: | Wayno (02-17-2015) |
|
|
Thread Tools | Search this Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AFR in Closed Loop | Toyota John | Software Tuning | 39 | 07-07-2019 08:26 AM |
BRZedit Fuel Trims, Closed to Open loop transiton | mad_sb | Engine, Exhaust, Transmission | 32 | 08-06-2015 03:14 AM |
Notes on injector / maf scalining using full time open loop | mad_sb | Software Tuning | 40 | 03-03-2014 05:49 PM |
Screencast: closed loop boost control with RaceRom | jamesm | Software Tuning | 2 | 02-10-2014 02:23 PM |
Screencast: experimenting with full-time closed loop fueling | jamesm | Software Tuning | 2 | 12-27-2013 10:19 AM |