Notices
928 Forum 1978-1995
Sponsored by:
Sponsored by: 928 Specialists

SharkTuner Mk 2

Thread Tools
 
Search this Thread
 
Old 07-26-2010, 08:14 PM
  #286  
ptuomov
Nordschleife Master
 
ptuomov's Avatar
 
Join Date: Jan 2009
Location: MA
Posts: 5,610
Received 81 Likes on 64 Posts
Default

Here's another question about LH, perhaps therefore appropriate for the ST2 thread.

What are the triggers that cause the LH to move from closed-loop state to open-loop state?

So far, in my ST2 data logs, I have only found one event that causes a transition from closed-loop to open-loop: The WOT switch. The WOT switch closing doesn't have an immediate effect, however. Instead, LH steps the O2 adjustment towards zero at rate of 3 adjustment units per second. A similar transition happens when the WOT switch opens again.

Is there a field in ST2 that controls the rate at which LH transitions from closed-loop to open loop? Two seconds to get down from 6 units of adjustment is a really long time when I floor it the on second gear.

Does anyone have any evidence of a transition from closed-loop to open-loop mode that is not triggered by the WOT switch closing?

[EDIT 1: I am seeing the some cases at startup where LH is open loop without WOT. That makes sense, since the O2 sensor needs to be heated.]

[EDIT 2: I am also seeing some reasonably high MAF voltage and reasonably high RPM cases but without WOT that are also in open loop. If select records with WOT switch open (part throttle) and regress my estimate of open loop condition on RPM and MAF signal, I get a statistically reliable positive coefficient on both. However, the R2 is low, about 1%.]

[EDIT 3: I defined open loop condition as a variable that takes value 1 if the O2 adjustment is exactly zero now and also was exactly zero in the previous data point from the same run. I then regressed this variable on some variables. High RPMs, high MAF signal values, and WOT predict open loop. The R2 is about 16%. The linear model doesn't fit very well, but this is some indication of what to look for.

Variable Coefficients t Stat
Intercept -0.1143 -13.94
RPM 0.0000 9.58
MAF signal 0.0012 17.17
MAF signal [%] -0.0059 -6.41
1 if WOT, else o 0.5597 49.94
]

Last edited by ptuomov; 07-26-2010 at 09:51 PM.
Old 07-27-2010, 07:57 PM
  #287  
ptuomov
Nordschleife Master
 
ptuomov's Avatar
 
Join Date: Jan 2009
Location: MA
Posts: 5,610
Received 81 Likes on 64 Posts
Default

Here are some more LH and EZ-K questions that I can't find answers to anywhere. I bought two books on Bosch fuel injection, and they were total vaporware.

(1) Is there a spec document to LH and EZ-K that describes how they work given the parameters?

(2) How do the ECUs come up with values that are between cell mid points? Do they just step discretely to the next cell? Or do they use a three-point linear interpolation? Or do they use four-point quadratic (aka bilinear) interpolation?

(3) ST2 logs show EZ-K column "Ign adv [°]". Does this value reflect any possible knock retard?

(4) With SuperMAF, what's the relation between LH "MAF signal" and EZ-K "Load [%]"? Why does it seem that the EZ-K map has half the range in the top 100% load cell compared to the LH map?

(5) Jim Morton sent me the Bosch spec documents for the stock 928 S4 MAF. (Thanks Jim!) Jim's spec document gives the mapping between MAF voltage and the mass air flow rate. Does a similar spec document or information exist for the super MAF?

(6) Does anyone sell a device for 928 that would have an adjustable Hobbs switch connected in parallel to the WOT switch, always tricking the ECU off the adaptation mode when boost exceeds some threshold?

(7) Here's a question to the supercharger crowd: Do you ever see knocks in the LH "adaptation mode"? One way to identify this is to look at your data logs and see if there are any records with the O2 adjustment not equal to zero and a knock event recorded.

More to come...

Last edited by ptuomov; 07-27-2010 at 11:54 PM.
Old 07-28-2010, 01:56 AM
  #288  
AO
Supercharged
Rennlist Member
 
AO's Avatar
 
Join Date: May 2002
Location: Back in Michigan - Full time!
Posts: 18,925
Likes: 0
Received 61 Likes on 35 Posts
Default

Originally Posted by ptuomov
Here's another question about LH, perhaps therefore appropriate for the ST2 thread.

What are the triggers that cause the LH to move from closed-loop state to open-loop state?
WOT switch, a disconnected O2 sensor or you disabling the O2 sensor in the LH parameters section. These are the three that come to mind.

Originally Posted by ptuomov
So far, in my ST2 data logs, I have only found one event that causes a transition from closed-loop to open-loop: The WOT switch. The WOT switch closing doesn't have an immediate effect, however. Instead, LH steps the O2 adjustment towards zero at rate of 3 adjustment units per second. A similar transition happens when the WOT switch opens again.

Is there a field in ST2 that controls the rate at which LH transitions from closed-loop to open loop? Two seconds to get down from 6 units of adjustment is a really long time when I floor it the on second gear.
I think you can play with "acceleration enrichment" a bit, but I don't think that will accomplish what you want.

Originally Posted by ptuomov
Does anyone have any evidence of a transition from closed-loop to open-loop mode that is not triggered by the WOT switch closing?
I think this question will best be answered by John Speake, but what you need is way to trigger the WOT before you actually get to WOT. Not an easy task... or is it?

Originally Posted by ptuomov
[EDIT 1: I am seeing the some cases at startup where LH is open loop without WOT. That makes sense, since the O2 sensor needs to be heated.]
Yes, the O2 sensor does not come into play for the 1st 30 seconds IIRC. This is a function of the LH. As I said earlier, you can disable the O2 sensro in the LH paramteres screen.

Originally Posted by ptuomov
[EDIT 2: I am also seeing some reasonably high MAF voltage and reasonably high RPM cases but without WOT that are also in open loop. If select records with WOT switch open (part throttle) and regress my estimate of open loop condition on RPM and MAF signal, I get a statistically reliable positive coefficient on both. However, the R2 is low, about 1%.]
I'm not sure, but it could be that above a certain RPM range it goes open loop regardless of WOT? ANother possibility is that you are looking at isolated instances. Are those instances when RPMs are increasing, steady, or decreasing? I can certainly imagine instances of this when you just come off WOT - kind of the opposite of it taking time to go open loop when mashing the throttle.

Originally Posted by ptuomov
[EDIT 3: I defined open loop condition as a variable that takes value 1 if the O2 adjustment is exactly zero now and also was exactly zero in the previous data point from the same run. I then regressed this variable on some variables. High RPMs, high MAF signal values, and WOT predict open loop. The R2 is about 16%. The linear model doesn't fit very well, but this is some indication of what to look for.

Variable Coefficients t Stat
Intercept -0.1143 -13.94
RPM 0.0000 9.58
MAF signal 0.0012 17.17
MAF signal [%] -0.0059 -6.41
1 if WOT, else o 0.5597 49.94
]
errr... ummmm.... Been a long time... what are you looking for? Are you looking fro some spectacular formula to predict open loop? Even if you find it, how are you going to tune for it? It sounds like you want to find a way to get the LH to jump to open loop sooner. Well, you can't... well not through the LH, that I can see.

Originally Posted by ptuomov
Here are some more LH and EZ-K questions that I can't find answers to anywhere. I bought two books on Bosch fuel injection, and they were total vaporware.

(1) Is there a spec document to LH and EZ-K that describes how they work given the parameters?
Not that I'm aware of.

Originally Posted by ptuomov
(2) How do the ECUs come up with values that are between cell mid points? Do they just step discretely to the next cell? Or do they use a three-point linear interpolation? Or do they use four-point quadratic (aka bilinear) interpolation?
There is definitely some interpolation, but don't know the actual method.

Originally Posted by ptuomov
(3) ST2 logs show EZ-K column "Ign adv [°]". Does this value reflect any possible knock retard?
Yes, I believe it is the actual adv with knock retard included. Speake can confirm.

Originally Posted by ptuomov
(4) With SuperMAF, what's the relation between LH "MAF signal" and EZ-K "Load [%]"? Why does it seem that the EZ-K map has half the range in the top 100% load cell compared to the LH map?
Dunno.

Originally Posted by ptuomov
(5) Jim Morton sent me the Bosch spec documents for the stock 928 S4 MAF. (Thanks Jim!) Jim's spec document gives the mapping between MAF voltage and the mass air flow rate. Does a similar spec document or information exist for the super MAF?
A question for Mr. Speake - I have the opposite issue... not enough airflow through my MAF.

Originally Posted by ptuomov
(6) Does anyone sell a device for 928 that would have an adjustable Hobbs switch connected in parallel to the WOT switch, always tricking the ECU off the adaptation mode when boost exceeds some threshold?
Yup.

Originally Posted by ptuomov
(7) Here's a question to the supercharger crowd: Do you ever see knocks in the LH "adaptation mode"? One way to identify this is to look at your data logs and see if there are any records with the O2 adjustment not equal to zero and a knock event recorded.
Not from casual driving. Actually, I was having issues with the adaptation mode, that I now run open loop all the time. Car runs great. I probably have a bad O2 sensor. Haven't taken time to investigate.

Originally Posted by ptuomov
More to come...
Oh joy!







j/k
Old 07-28-2010, 04:59 AM
  #289  
Hilton
Nordschleife Master
 
Hilton's Avatar
 
Join Date: Jun 2006
Location: ɹəpun uʍop 'ʎəupʎs
Posts: 6,285
Received 55 Likes on 45 Posts
Default

Originally Posted by ptuomov
Here's another question about LH, perhaps therefore appropriate for the ST2 thread.

What are the triggers that cause the LH to move from closed-loop state to open-loop state?

So far, in my ST2 data logs, I have only found one event that causes a transition from closed-loop to open-loop: The WOT switch. The WOT switch closing doesn't have an immediate effect, however. Instead, LH steps the O2 adjustment towards zero at rate of 3 adjustment units per second. A similar transition happens when the WOT switch opens again.
Its not an event.. but changing the coding plug forces the LH to run open-loop (it grounds one of the pins).

I'm not sure whether you can change the coding plug dynamically - but assuming its possible, you may be able to rig something to ground the relevant pin above certain boost levels, using your boost controller?

Of course, unless you're super worried about the emissions, it's easier to fit a non-cat coding plug, the O2 signal ground terminator and the calibration potentiometer, and run open-loop the whole time so you don't have to worry about the transition.
Old 07-28-2010, 06:27 AM
  #290  
John Speake
Rennlist Member
Thread Starter
 
John Speake's Avatar
 
Join Date: Feb 2002
Location: Cambridge England
Posts: 7,051
Received 37 Likes on 29 Posts
Default

See below...

Originally Posted by ptuomov
Here are some more LH and EZ-K questions that I can't find answers to anywhere. I bought two books on Bosch fuel injection, and they were total vaporware.

(1) Is there a spec document to LH and EZ-K that describes how they work given the parameters?

You must be joking ! Bosch never give away any information.

(2) How do the ECUs come up with values that are between cell mid points? Do they just step discretely to the next cell? Or do they use a three-point linear interpolation? Or do they use four-point quadratic (aka bilinear) interpolation?

3 point

(3) ST2 logs show EZ-K column "Ign adv [°]". Does this value reflect any possible knock retard?

Yes

(4) With SuperMAF, what's the relation between LH "MAF signal" and EZ-K "Load [%]"? Why does it seem that the EZ-K map has half the range in the top 100% load cell compared to the LH map?

Too complicated to explain here.

(5) Jim Morton sent me the Bosch spec documents for the stock 928 S4 MAF. (Thanks Jim!) Jim's spec document gives the mapping between MAF voltage and the mass air flow rate. Does a similar spec document or information exist for the super MAF?

Yes, we have constructed such a graph.

(6) Does anyone sell a device for 928 that would have an adjustable Hobbs switch connected in parallel to the WOT switch, always tricking the ECU off the adaptation mode when boost exceeds some threshold?

The LH switches to open loop every time you hit the throttle, otherwise the O2 loop would prevent the transient enrichment necessary to stop the engine hesitating. The LH also switches to open loop at quite moderate steady loads and rpm. The algorthm is complicated and changes the time the LH goes open loop depending on sequences of event.

(7) Here's a question to the supercharger crowd: Do you ever see knocks in the LH "adaptation mode"? One way to identify this is to look at your data logs and see if there are any records with the O2 adjustment not equal to zero and a knock event recorded.

???

More to come...
Old 07-28-2010, 09:12 AM
  #291  
ptuomov
Nordschleife Master
 
ptuomov's Avatar
 
Join Date: Jan 2009
Location: MA
Posts: 5,610
Received 81 Likes on 64 Posts
Default

Originally Posted by Andrew Olson
Oh joy!
I understand that I am trying many people's patience with these detail questions about LH and EZ-K. I just want to understand how LH and EZ-K work before attempting to recalibrate them. Perhaps that's foolish.

Originally Posted by Hilton
Of course, unless you're super worried about the emissions, it's easier to fit a non-cat coding plug, the O2 signal ground terminator and the calibration potentiometer, and run open-loop the whole time so you don't have to worry about the transition.
I'd like to keep as many of the modern features enabled as possible. i think the 02 adaptation for low load states is clever idea. I think it's one of the reasons why the mileage on my car is still over 20 mpg on highway.

What I want is a base map significantly rich in high load regions and slightly rich in medium and low load regions. Then, when the car is in closed-loop mode, I want the O2 adaptation to lean it to good fuel economy (and emissions). That should work, as long as I can be confident that the car doesn't go into 02 adaptation at high load regions and cause knock.

Originally Posted by ptuomov
(3) ST2 logs show EZ-K column "Ign adv [°]". Does this value reflect any possible knock retard?
Originally Posted by Andrew Olson
Yes, I believe it is the actual adv with knock retard included. Speake can confirm.
Originally Posted by John Speake
Yes
The knock retard is cylinder specific. If the logged field is the actual retard and cylinders are retarded by different amounts, which cylinder's actual ignition advance is it? Is the average advance, minimum advance, maximum advance, or some specified cylinder's advance?

Originally Posted by ptuomov
Here's a question to the supercharger crowd: Do you ever see knocks in the LH "adaptation mode"? One way to identify this is to look at your data logs and see if there are any records with the O2 adjustment not equal to zero and a knock event recorded.
Originally Posted by John Speake
???
The reason for me asking this question is that if I leave the O2 adaptation on, there's a risk that the adaptation is leaning the mixture even in high load regions and causing the engine to knock. I don't want the O2 adaptation and closed-loop operation any time when there's some significant chance of knock. I was wondering if this is a practical concern. If it's never happening with the twin screws or other positive displacement superchargers, it's probably never happening with turbos.
Old 07-28-2010, 10:00 AM
  #292  
John Speake
Rennlist Member
Thread Starter
 
John Speake's Avatar
 
Join Date: Feb 2002
Location: Cambridge England
Posts: 7,051
Received 37 Likes on 29 Posts
Default

Adaptation is a relatively slow correction process, working only in closed loop. It serves two purposes
1) To keep the O2 loop in the middle of its range by "Adapting" the injector pulse widths.
2) To keep the ISV loop with sufficient margin to be able to keep the loop in control under all circumstances. This is also done by altering the Tinj.

So if you are at WOT or just high loads, then adaptation isn't suddenly going to do anything to weaken the mixture and cause detonation.

When you're less that WOT and in cat mode you can't change the steady state A/F to anything but stoich. To be able to graduate the A/F with load as you want, you have to go to open loop, as Hilton has said.

As you have a ST2 you don't need adaptation as it is concerned with long term slow changes i.e. MAF ageing. You can tune out any such changes. So you might be better going to open loop operation.

I will check again on the displayed igntition advance, I clearly was incorrect in my answer.
Old 07-28-2010, 10:00 AM
  #293  
AO
Supercharged
Rennlist Member
 
AO's Avatar
 
Join Date: May 2002
Location: Back in Michigan - Full time!
Posts: 18,925
Likes: 0
Received 61 Likes on 35 Posts
Default

Originally Posted by ptuomov
I understand that I am trying many people's patience with these detail questions about LH and EZ-K. I just want to understand how LH and EZ-K work before attempting to recalibrate them. Perhaps that's foolish.
I think it is somewhat foolish. Think about your goal. How you get there is of little consequence. What you want can be accomplished in a much easier way than what you are trying to do.


I'd like to keep as many of the modern features enabled as possible. i think the 02 adaptation for low load states is clever idea. I think it's one of the reasons why the mileage on my car is still over 20 mpg on highway.

What I want is a base map significantly rich in high load regions and slightly rich in medium and low load regions. Then, when the car is in closed-loop mode, I want the O2 adaptation to lean it to good fuel economy (and emissions). That should work, as long as I can be confident that the car doesn't go into 02 adaptation at high load regions and cause knock.
This can be done. But I think it might be easier to switch to open loop all the time (like I now run and a few others). It's a reliable way to get the AFR you want without worrying if the adaptation is going to mess with your target AFR. The issue is that the LH doesn't know what your target AFR is - so running open loop will allow you to just go by the map.
Old 07-28-2010, 10:58 AM
  #294  
dprantl
Race Car
 
dprantl's Avatar
 
Join Date: Dec 2003
Location: Atlanta, GA
Posts: 4,477
Likes: 0
Received 4 Likes on 4 Posts
Default

Wait a minute... it seems the phrase "open loop" is being misused here. There are three modes of operation:

1) Closed-loop with adaptation
2) Closed-loop without adaptation - O2 sensor compensation still happens
3) Open-loop - no O2 sensor compensation at all

Lots of people using the ST/ST2 run on 2) because they find (including me) that adaptation gets in the way of tuning. But I am still running closed loop mode, just without adaptation.

Dan
'91 928GT S/C 475hp/460lb.ft
Old 07-28-2010, 11:03 AM
  #295  
AO
Supercharged
Rennlist Member
 
AO's Avatar
 
Join Date: May 2002
Location: Back in Michigan - Full time!
Posts: 18,925
Likes: 0
Received 61 Likes on 35 Posts
Default

I mean open loop. I turned off adaptation and selected "force non-cat mode" which is true open loop.
Old 07-28-2010, 12:17 PM
  #296  
dprantl
Race Car
 
dprantl's Avatar
 
Join Date: Dec 2003
Location: Atlanta, GA
Posts: 4,477
Likes: 0
Received 4 Likes on 4 Posts
Default

Originally Posted by Andrew Olson
I mean open loop. I turned off adaptation and selected "force non-cat mode" which is true open loop.
Bear in mind that running open-loop all the time will greatly shorten the life of the cats, if you still have some.

Dan
'91 928GT S/C 475hp/460lb.ft
Old 07-28-2010, 12:40 PM
  #297  
ptuomov
Nordschleife Master
 
ptuomov's Avatar
 
Join Date: Jan 2009
Location: MA
Posts: 5,610
Received 81 Likes on 64 Posts
Default

Originally Posted by dprantl
Wait a minute... it seems the phrase "open loop" is being misused here. There are three modes of operation:

1) Closed-loop with adaptation
2) Closed-loop without adaptation - O2 sensor compensation still happens
3) Open-loop - no O2 sensor compensation at all

Lots of people using the ST/ST2 run on 2) because they find (including me) that adaptation gets in the way of tuning. But I am still running closed loop mode, just without adaptation.
Very useful to get the terminology right. Is it correct to say that the pulse width is determined in the following way?

[EDITED: based Jim's below comment]

["Closed loop without adaptation" pulse width = tables + fast moving adjustment towards AFR 14.7
"Closed loop with adaptation" pulse width = tables + fast-moving adjustment towards AFR 14.7 + a slow moving average of past fast-moving adjustments in this cell
"Open loop without adaptation" pulse width = tables
"Open loop with adaptation" pulse width = tables + a slow moving average of past closed-loop fast-moving adjustments in this cell]

I understand that when tuning and altering cells, you probably want to run it in open loop. However, if you choose to run the car in closed loop mode after the tuning is done, wouldn't you always want to also allow adaptation? If I've understood correctly, adaptation just makes the fast-moving adjustments centered around the value that's worked in the past, thus making the closed loop operation less erratic. Or does enabling adaptation do something else as well? [EDIT: Jim says that adaptation stays even if the car is in open loop]

Last edited by ptuomov; 07-28-2010 at 02:10 PM.
Old 07-28-2010, 01:29 PM
  #298  
AO
Supercharged
Rennlist Member
 
AO's Avatar
 
Join Date: May 2002
Location: Back in Michigan - Full time!
Posts: 18,925
Likes: 0
Received 61 Likes on 35 Posts
Default

Originally Posted by dprantl
Bear in mind that running open-loop all the time will greatly shorten the life of the cats, if you still have some.

Dan
'91 928GT S/C 475hp/460lb.ft
#1 I don't have cats - only a dog!

#2. Your statement is only true if your run excessively rich all the time. Open-loop itself will not cause the cats to fail.
Old 07-28-2010, 01:40 PM
  #299  
AO
Supercharged
Rennlist Member
 
AO's Avatar
 
Join Date: May 2002
Location: Back in Michigan - Full time!
Posts: 18,925
Likes: 0
Received 61 Likes on 35 Posts
Default

Originally Posted by ptuomov
I understand that when tuning and altering cells, you probably want to run it in open loop. However, if you choose to run the car in closed loop mode after the tuning is done, wouldn't you always want to also allow adaptation?
Only if you want your AFR to be 14.7. My issue has been that the O2 Sensor adjust tries to drive it to -20% all the time. Hence my thought that my O2 sensor is not working. Again, don't know for sure as I haven't taken time to dig into it. Switching to open-loop (no O2 correction) solved it for me for now.

If I've understood correctly, adaptation just makes the fast-moving adjustments centered around the value that's worked in the past, thus making the closed loop operation less erratic. Or does enabling adaptation do something else as well?
I think we need to get the terminology right here.

O2 Adaptation - Slow moving agerage correction - not sure if this is cell based or otherwise - I don't believe the STer logs/displays this value, but you can reset it in the LH Paramters menu.
O2 Sensor Adjust - Fast moving correction - This is what you see on the STer. It's range is -20% correction to +20% correction.

Does this help?
Old 07-28-2010, 01:47 PM
  #300  
ptuomov
Nordschleife Master
 
ptuomov's Avatar
 
Join Date: Jan 2009
Location: MA
Posts: 5,610
Received 81 Likes on 64 Posts
Default

Originally Posted by Andrew Olson
I think we need to get the terminology right here.

O2 Adaptation - Slow moving agerage correction - not sure if this is cell based or otherwise - I don't believe the STer logs/displays this value, but you can reset it in the LH Paramters menu.
O2 Sensor Adjust - Fast moving correction - This is what you see on the STer. It's range is -20% correction to +20% correction.

Does this help?
It helps me come up with more questions!

Does the ST2 O2 sensor adjustment value (as displayed on the screen and the data logs) only include the fast-moving correction? You seem to indicate that it's just that. If adaptation is enabled, I would suspect that the value displayed is the sum of the slow-moving average correction and the fast-moving correction, but this seems to be inconsistent with what you wrote above.

Also, is it the sum of slow-moving and fast-moving corrections that is bounded by +/20% or is it just the fast-moving correction that is bounded by +/-20%? Above, you seem to indicate the latter. If this is correct, then how is the slow-moving correction bounded?


Quick Reply: SharkTuner Mk 2



All times are GMT -3. The time now is 06:02 AM.