March 14, 2010, 10:10:21 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: AEM ECU Jumper/Extension Harnesses! Available NOW!!
 
Pages: [1] 2 3 4
Print
Author Topic: Set up Closed Loop O2 Feedback  (Read 32731 times)
JP
2,000+ Posts, Phew!
******
Posts: 2423



« on: January 06, 2003, 04:14:48 PM »

O2 Feedback

To control the engine’s fuel delivery system, the EMS can be programmed to run open loop and/or closed loop O2 feedback. Closed loop uses feedback from the oxygen sensor to make temporary but immediate corrections to the injection to maintain a target AFR. The type of an O2 sensor will determine how O2 feedback can be controlled. Due to the nature of standard narrow band O2 sensors, 14.7:1 is the only air fuel ratio that can be accurately maintained in closed loop. However, wideband O2 sensors can be used in almost every feedback condition.

When the fuel system is open loop, the O2 sensor is ignored and the injector pulse width relies on the fuel map and fuel compensators to adjust injection duration. Open loop is necessary during engine starts when the O2 sensor has cooled below its operating temperature. It may also be necessary when coolant temperatures are low. In this state, the fuel vaporization is poor and the engine will require a richer mixture to properly operate. When under heavy load, the engine typically requires an air fuel ratio that is out of a narrow band O2 sensor’s standard range and open loop will be necessary. When the accel fuel function is triggered during hard accelerations, open loop may be necessary to help stabilize the O2 feedback. When the decel function cuts fuel completely, O2 feedback will not be necessary.


Tuning O2 Feedback

The tuning procedure for O2 feedback can be quite tedious. One approach is to use a technique known as the Ziegler Nichols Tuning Method. The Ziegler Nichols closed loop method uses Proportional or P + I control and should produce tuning parameters which will obtain a quarter wave decay. The O2 feedback functions are located in the Fuel pull down menu in the AEMPro software.

1) Use the proportional control (O2 FB proportional table) by itself and set the integral time constant (O2 FB integral table) to zero.
2) Log the parameters AFR#1(or #2) and O2 F.B.#1 (or #2).
3) Increase the value of the proportional gain until the point of instability or a sustained oscillation is reached.
4) From here, the ultimate proportional gain (Gu) is found.
5) From the log, measure the period of oscillation from peak to peak, in seconds, to obtain the critical time constant or ultimate period (Pu).
6) Once the values for Gu and Pu are obtained, the P + I parameters can be calculated from the following equations.

Proportional feedback only (O2 FB integral table = 0)
O2 FB proportional table = 0.5 (Gu)

Proportional and Integral feedback
O2 FB proportional table = 0.45 (Gu)
O2 FB integral table = (Pu)/1.2


Note that these values are not optimal values and additional fine tuning may be required to obtain the best O2 feedback performance.


User Definable Options for O2 Feedback



O2 FB +Limit
Units: Fuel %
Description: The maximum amount of fuel to add when O2 feedback is enabled.
Typical Use: If the proportional and integral controls have not been setup correctly, this value may need to be small to trim the fuel map.

O2 FB Coolant OK
Units: Coolant Temperature
Description: O2 feedback will operate when the coolant temperature has exceeded this value.
Typical Use: This value is typically set near operating temperature.

O2 FB Gain
Units: Gain Multiplier
Description: Overall O2 feedback gain
Typical Use: This value will always be one unless the proportional and integral gains are not sufficient in controlling the air fuel ratio.

O2 FB -Limit
Units: Fuel %
Description: The maximum amount of fuel to subtract when O2 feedback is enabled.
Typical Use: If the proportional and integral controls have not been setup correctly, this value may need to be small to trim the fuel map.

O2 FB Load
Units: Engine Load
Description: O2 feedback will operate when the engine load is below this value.
Typical Use: When using a narrow band O2 sensor, O2 feedback is typically not used at high engine loads because of the sensor’s inaccuracy outside the stoichiometric range. However, O2 feedback can be used at high engine loads with a quality wideband O2 sensor.

O2 FB Rate
Units: mS
Description: O2 feedback base timer for both proportional and integral terms. This is how often the air fuel ratio is looked at to determine the correction.
Typical Use: A smaller number gives a faster response by effectively increasing the gain. This should be the same as the sampling rate of the O2 sensor being used. A typical value is 65.59 mS.

O2 FB Speed
Units: RPM
Description: O2 feedback will operate when the RPM is below this value but is not in cranking mode.
Typical Use: Limits O2 feedback control above the user-defined rpm.

O2 FB Control
Units: On/Off
Description: Enables closed loop O2 feedback and the AFR Target parameter.
Typical Use: After the fuel map has been tuned, O2 feedback can be enabled for automatic tuning adjustments.

Accel Fuel Min
Units: microseconds
Description: O2 feedback threshold for accel fuel. O2 feedback will operate when the current accel fuel amount is below this value.
Typical Use: Because accel fuel delivers an abundance of fuel in a very short amount of time, O2 feedback can ignore it to avoid possible air fuel ratio overshooting. However, using this function can still allow O2 feedback when there is a very small amount of acceleration fuel employed.

Accel O2FB inhibit
Units: mS
Description: O2 feedback delay after the accel fuel function has been disabled.
Typical Use: This function allows the mixture to be restored without using O2 feedback in order to prevent air fuel ratio overshooting. A typical value is 196 mS.

Decel O2FB inhibit
Units: mS
Description: O2 feedback delay after the decel fuel function has been disabled.
Typical Use: This function allows the mixture to be restored without using O2 feedback in order to prevent air fuel ratio overshooting. A typical value is 196 mS.

O2 FB Clear
Units: On/Off
Description: Sets O2 feedback to zero after both accel and decel fuel have been implemented.
Typical Use: After utilizing accel or decel fuel, the next condition will typically be different from before. This function is used to allow the O2 feedback to clear its memory and start from zero again.


2-D Tables for O2 Feedback

O2 FB Delay Table
Units: After Start Time vs. Coolant Temperature
Description: Coolant dependant table for O2 feedback after start delay.
Typical Use: This table disables the O2 feedback for a set amount of time to allow a rich engine start and allow time for the O2 heater to warm up. This should never be faster than the time response of the O2 sensor’s heater.



O2 FB proportional table
Units: Proportional Gain vs. RPM
Description: Proportional control is a pure gain adjustment acting on the error signal to provide the driving input. The advantage of a proportional-only control is its simplicity. If AFR offsets can be tolerated, the use of a proportional controller may be optimal. However, it will not eliminate the steady-state error that occurs after a set-point change or a sustained AFR disturbance. Note: When tuning the O2 feedback and overshoot occurs, lower this number. If undershooting the AFR target, raise this number.
Typical Use: Used to adjust the speed of the system and reach the AFR target quickly.



O2 FB integral table
Units: Integral Gain vs. RPM
Description: Integral control is implemented through the introduction of an integrator. This is used to fine tune the O2 feedback at the AFR target once the proportional has acted in getting close to the target. Note: start tuning the O2 feedback with this option at zero, until the proportional has the feedback close to the target, then step this in slowly until the feedback holds the AFR target.
Typical Use: Integral control is used to provide the required accuracy for the control system.




3-D Tables for O2 Feedback

AFR Map
Units: Engine Load vs. RPM vs. AFR
Description: O2 feedback target for specific engine loads and RPM.
Typical Use: The AFR map is used strictly for closed loop O2 feedback.




Parameters (can be viewed or logged)

O2 FB Delay
Units: Seconds
Description: Time delay for O2 feedback operation after engine start.

AFR Target
Units: AFR
Description: Air fuel ratio that directly corresponds with the AFR Map.

AFR #1
Units: AFR
Description: Scaled air fuel ratio from Lambda #1.

AFR Error#1
Units: AFR
Description: Difference between the actual air fuel ratio and the targeted air fuel ratio from Lambda #1.

O2 F.B.#1
Units: Fuel %
Description: The current amount of fuel implemented in order to reach the air fuel ratio target.

AFR #2
Units: AFR
Description: Scaled air fuel ratio from Lambda #2.

AFR Error#2
Units: AFR
Description: Difference between the actual air fuel ratio and the targeted air fuel ratio from Lambda #2.

O2 F.B.#2
Units: Fuel %
Description: The current amount of fuel implemented in order to reach the air fuel ratio target.
Logged
BLKMGK
2,000+ Posts, Phew!
******
Posts: 9439


WWW
« Reply #1 on: January 06, 2003, 04:41:53 PM »

Okay, someone make a PDF Wink

Much more to this than I realized - good stuff guys!
Logged

http://Http://www.blkmgk.com
morejunk4me@hotmail.com
USB adapters suck, use them at your peril!
BoostComp -> http://forum.aempower.com/bbs/viewtopic.php?t=11494&highlight=
Supra crunched due to stupid driver Sad
Philly Single
25+ Posts Club
*
Posts: 74


« Reply #2 on: January 06, 2003, 06:27:17 PM »

WooHOO....this sounds exciting...thanks AEM...i'm with blkmgk...

.pdf please! Smiley
Logged

1994 ITS72 / 272 cams / v.94 AEM powered
564rwhp @ 18psi
694rwhp @ 27psi
mehlosTT
100+ Post Club
**
Posts: 180


WWW
« Reply #3 on: January 06, 2003, 09:23:21 PM »

Just absolutely excellent!
Clears up a few questions I have postponed till trying automapping again.
Thank you.

Kim
Logged

Unit 1311-0042 AEM EMS .
 GM 3 Bar MAP/AIT . TDO5 14B's, MKIV Fuel pump, PTE 680 cc, etc. Security by Mad Dog Bounty Hunters Smiley
DanM_94_VR4
100+ Post Club
**
Posts: 110


« Reply #4 on: January 07, 2003, 04:23:49 PM »

Ask and ye shall receive.

Courtesy of the pdf man.

Dan
Logged

Dan Mecier

3.1L, TD-05 Big 16G Turbos, 1000cc PTE Injectors, Ported and Polished Heads, etc.
bmm89
100+ Post Club
**
Posts: 127


« Reply #5 on: January 09, 2003, 11:38:45 AM »

Dan,

AEM should pay you for your work Wink
Logged
supra87t3/t4
300+ Post Club
***
Posts: 384


« Reply #6 on: January 09, 2003, 04:02:01 PM »

Very nice JP
Logged

Glen K
Aabnormal Power
BLKMGK
2,000+ Posts, Phew!
******
Posts: 9439


WWW
« Reply #7 on: January 09, 2003, 06:43:33 PM »

Quote from: bmm89
Dan,

AEM should pay you for your work Wink


<snicker>

Thanks for the PDF as usual. Great to have it all on the computer when I hit the road and have questions.
Logged

http://Http://www.blkmgk.com
morejunk4me@hotmail.com
USB adapters suck, use them at your peril!
BoostComp -> http://forum.aempower.com/bbs/viewtopic.php?t=11494&highlight=
Supra crunched due to stupid driver Sad
gphilip
25+ Posts Club
*
Posts: 77


WWW
« Reply #8 on: March 12, 2003, 10:58:50 PM »

I cannot save the Decel O2FB inhibit. If I re-open the file it is still at zero. It this parameter functional?
Logged

Philip
'95 Red R/T TT
AEM EMS, 550 cc injectors, 15G turbos, MAF, DIY-WB-O2, Supra MkIV pump, Stillen DP modified to accept a cat, twin Bomz Evolution-R Spec tunable mufflers, Westach Dual EGT gauge, A/F gauges, etc.
Kenneth Steinbach
500+ Post Club
****
Posts: 672


« Reply #9 on: March 13, 2003, 08:17:42 PM »

Not functional.
Logged
Boca Juniors
100+ Post Club
**
Posts: 253


WWW
« Reply #10 on: April 08, 2003, 10:24:21 PM »

is this option only possible with a WB O2 sensor or can this be implemented into a regular O2 Sensor??
Logged

Corr Performance Tuning
EFI-101 Graduate 7-16-05
AEM EMS Factory Trained
9krpm
100+ Post Club
**
Posts: 176



« Reply #11 on: August 30, 2004, 03:48:37 AM »

Quote from: JP
O2 Feedback
Closed loop uses feedback from the oxygen sensor to make temporary but immediate corrections to the injection to maintain a target AFR.



Does this means that the primary fuel map is unaltered with this function? Does the O2 feedback only temporarily correct the injectors to achieve the programmed AF ratio when the parameters of closed loops are met?


sorry for the obvious question but could someone confirm this?
Logged
Hau
300+ Post Club
***
Posts: 443


« Reply #12 on: August 30, 2004, 09:45:09 AM »

Yes.
Logged

94 T78 6spd, 850cc, AEM equipped
BLKMGK
2,000+ Posts, Phew!
******
Posts: 9439


WWW
« Reply #13 on: August 30, 2004, 05:33:20 PM »

Curious - how many have used these tuning guidlines to clam down a spastic O2 F/B? Has anyone attempted to perhaps simplify this with a spreadsheet or anything? I need to do this on a car I'm working on once I get the damned W/B synched up  angry
Logged

http://Http://www.blkmgk.com
morejunk4me@hotmail.com
USB adapters suck, use them at your peril!
BoostComp -> http://forum.aempower.com/bbs/viewtopic.php?t=11494&highlight=
Supra crunched due to stupid driver Sad
FWombat
300+ Post Club
***
Posts: 438


« Reply #14 on: January 07, 2005, 11:30:56 AM »

In the more recent software, the "O2 FB Clear" option appears to have been broken into three different options:

O2 FB Accel Clear
O2 FB DFCO Clear
O2 FB Over Clear

Unfortunately, there is no doc update that covers these new options.  Sad  I assume Accel Clear and DFCO Clear set the O2 FB value to 0 after Accel Fuel or DFCO is triggered.  

What about O2 FB Over Clear?  Does this set the O2 FB Value to 0 when the Maximum Load or Maximum RPM values are exceeded?  

And, a related question if the above is true:  If I have O2 FB Maximum Load set to 0 PSI, and O2 FB Over Clear is off, I know the O2 FB value will not be updated while I'm boosting.  But will the O2 FB value still be applied to the fueling under boost, even though it's not being updated?  I'm seeing some behavior on my car in boost that leads me to believe this is the case.  

Some engineer feedback on this would be much appreciated...

Thanks,
- Brian
Logged

Brian Geddes
1994 Mitsubishi 3000GT VR-4
TD05 14B turbos, custom headers/exhaust.
Currently under the knife...
AEM Performance Electronics Forum
   

 Logged
Pages: [1] 2 3 4
Print
Jump to: