ECUs and Tuning Discuss Engine Management, Tuning, & Programming

How to test WBO2 response time / speed, and O2 feedback params

Thread Tools
 
Search this Thread
 
Old 07-11-2011, 01:36 PM
  #1  
Elite Member
Thread Starter
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default How to test WBO2 response time / speed, and O2 feedback params

I turned off O2 feedback then:

Start engine, and hold revs at 5000 RPM, started datalogging, and while datalogging:
- increase fuel injector PW by +10% (in my AEM I did this with the overall fuel multiplier)
- decreased fuel inejctor PW by 10%
- repeat every 2 seconds or so

Examining the logs:
- at 5500 RPM my LC1 starts reacting about 180 ms after the injector PW changes
- after the initial 180 ms it then takes about 220 ms to rise (or fall) to the new O2 value


At idle the LC1 takes 500 ms to react and 700 ms to rise/fall. The latency is due to the engine operating parameters, not the LC1. This is also why you can't have closed loop O2 react very quickly at idle, and why ideally you want the O2 feedback speed parameters to be a function of engine airflow (i.e. RPM x MAP).

I compared a new sensor vs. my old one which had seen thousands of miles of oil burning, and surprisingly the old one was only marginally slower at the 5500 RPm test like 30 ms slower. Obviously at idle the difference is negligible.

An interesting observation is that with the new sensor the response shows ringing (like an underdamped PID loop), while the old one doesn't.
JasonC SBB is offline  
Old 07-11-2011, 03:51 PM
  #2  
y8s
2 Props,3 Dildos,& 1 Cat
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

Here's my guesstimate lambda delay from datalogs based on the AFR's reaction to excessive throttle enrichments (PW goes way up..... then AFR goes way down).

Attached Thumbnails How to test WBO2 response time / speed, and O2 feedback params-lambda_delay.png  
y8s is offline  
Old 07-11-2011, 03:52 PM
  #3  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

is that table only used in VEAL?
Braineack is offline  
Old 07-11-2011, 04:10 PM
  #4  
Elite Member
iTrader: (4)
 
hornetball's Avatar
 
Join Date: Mar 2008
Location: Granbury, TX
Posts: 6,301
Total Cats: 696
Default

Thanks Jason. That's good information. Your test indicates that it is best to time O2 correction increments by ignition events rather than by msec. That's how I'm currently setup.

It would be nice if we could specify a table of delays while fuel tuning with VE Analyze. I think going forwards that I will run VE Analyze multiple times with varying delays and then populate a final VE map accordingly.
hornetball is offline  
Old 07-11-2011, 05:37 PM
  #5  
Elite Member
Thread Starter
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Originally Posted by hornetball
Thanks Jason. That's good information. Your test indicates that it is best to time O2 correction increments by ignition events rather than by msec. That's how I'm currently setup.
Good idea. Is that on MS3?

BTW MAP would also affects response time. More MAP = more airflow = faster flow = shorter delay
JasonC SBB is offline  
Old 07-11-2011, 05:41 PM
  #6  
Elite Member
Thread Starter
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

y8s, I think the delay should be 100 ms + factor / (MAP*RPM)

Factor is such that you get 1.2 sec at idle.
JasonC SBB is offline  
Old 07-11-2011, 05:52 PM
  #7  
Elite Member
iTrader: (4)
 
hornetball's Avatar
 
Join Date: Mar 2008
Location: Granbury, TX
Posts: 6,301
Total Cats: 696
Default

Originally Posted by JasonC SBB
Good idea. Is that on MS3?

BTW MAP would also affects response time. More MAP = more airflow = faster flow = shorter delay
It's on my MSPNP, so I would be shocked if it's not on MS3.

Understand about MAP. That's why I suggested a delay table. Would be a cool add to MegaLog and TS.
hornetball is offline  
Old 07-11-2011, 10:54 PM
  #8  
y8s
2 Props,3 Dildos,& 1 Cat
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

Originally Posted by JasonC SBB
y8s, I think the delay should be 100 ms + factor / (MAP*RPM)

Factor is such that you get 1.2 sec at idle.
so essentially the table is superfluous?

(1200ms - 100ms)*35kPa*950 = factor

factor = 36575000

so then my table becomes:


compared to:
Attached Thumbnails How to test WBO2 response time / speed, and O2 feedback params-injector_timing_factor.png  
y8s is offline  
Old 07-12-2011, 03:26 AM
  #9  
Elite Member
Thread Starter
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

I think the problem is that the delay is proportional to 1/MAP, but the MS does linear interpolation. You may want to figure out what to put in the 10 kPa row to minimize RMS interpolation error from 35-90 kPa. (<30 kPa isn't as important)
JasonC SBB is offline  
Old 07-12-2011, 09:11 AM
  #10  
y8s
2 Props,3 Dildos,& 1 Cat
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

I could change the 10 to a 30 and let it use off-table values for <30. breakpoints are totally flexible.

I suspect also that once you're down around 200-something ms it becomes much less critical--especially when you're squirtng a much larger duty cycle at higher boosts

If I bring the 10 up to a 30 and recalculate the value, the rest should be pretty reasonable you think?
y8s is offline  
Old 07-12-2011, 11:35 AM
  #11  
Elite Member
Thread Starter
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Ah, if you can change the breakpoints but are limited to 3x3, then you can mathematically choose said breakpoints to minimize the error the matters. i.e. maybe the RMS of the log of the error is what matters most.
JasonC SBB is offline  
Old 05-09-2012, 09:41 AM
  #12  
Moderator
iTrader: (12)
 
sixshooter's Avatar
 
Join Date: Nov 2008
Location: Tampa, Florida
Posts: 20,651
Total Cats: 3,011
Default

It has been some time since lambda delay was discussed anywhere in this forum. What have you determined since then? What values did Y8s or anyone else end up with and why?
sixshooter is online now  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
vehicular
General Miata Chat
12
09-14-2015 03:17 PM
MechE
Race Prep
70
09-12-2015 03:20 PM
Motorsport-Electronics
ECUs and Tuning
0
09-05-2015 08:02 AM
lo/rez
Engine Performance
4
08-29-2010 10:04 AM
Deatschwerks
Deatschwerks - Miata Accessories
0
05-04-2010 05:11 PM



Quick Reply: How to test WBO2 response time / speed, and O2 feedback params



All times are GMT -4. The time now is 09:11 PM.