RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Sat Feb 21, 2026 10:30 pm

All times are UTC




Post new topic Reply to topic  [ 106 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Author Message
 Post subject: Re: Preemptive feedback knock correction
PostPosted: Sun Nov 04, 2012 3:46 am 
Offline
Experienced

Joined: Wed Aug 29, 2012 5:52 pm
Posts: 109
Location: MA
throttlehappy wrote:
I have narrowed it down to a few 'triggers'

* Engine g/rev or g/sec increasing rapidly in under 250ms(believe I found the timer value near the PEKC retard value)
* Total Ignition timing values changing by more than 3 degrees with some sort of g/rev and rpm reference(I suspect a 3D table controls this?)
* Boost AND vacuum error


Look for delta throttle position as well.

GM uses a knock scheme very close to what you guys are seeing and its during transients. The computer is predicting that knock is likely to happen in certain transient situations and automatically pulls timing even when there is no knock present. I believe they use delta tps, but I havent looked into it on the newer torque based ecus. I like how subaru adds in the timing changing rapidly element, since thats another thing that can cause knock, I dont like the maf engine load usage though, it seems like it would be too slow for this correction to work.


Top
 Profile  
 
 Post subject: Re: Preemptive feedback knock correction
PostPosted: Sun Nov 04, 2012 4:32 am 
Offline
RomRaider Donator

Joined: Sun Sep 20, 2009 4:39 am
Posts: 221
Location: Lost
Leafy wrote:
Look for delta throttle position as well.

I've seen timing pulled under sudden before WOT also, with no obvious explanation for it, not even overboost or heading toward overboost.


Top
 Profile  
 
 Post subject: Re: Preemptive feedback knock correction
PostPosted: Sun Nov 04, 2012 5:07 am 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
Easty wrote:
Quote:
Where (address) in your ROM are to looking now at the switch?


FFFF76CE Pre_Emptive_FBKC_Switch

Have a look in sub_33954 at the end.
0x00033CCA
0x00033CEA


Top
 Profile  
 
 Post subject: Re: Preemptive feedback knock correction
PostPosted: Sun Nov 04, 2012 5:18 am 
Offline
Experienced
User avatar

Joined: Thu Jul 22, 2010 10:22 am
Posts: 148
Location: Australia
Quote:
Have a look in sub_33954


Bingo! You found it!! thanks!!!!

how on earth did you find it?

_________________
09 ADM WRX/ 3" Exforce Turbo Back, Hyperflow TMIC, AEM CAI, Perrin Turbo Inlet, TGV Delete, Ported VF-52, Walbro Pump, Hybrid boost control (Grimmspeed EBCS/MBC), SI-Drive Mode Selector (3 pos Rocker Sw)/ Self tuned @ 17 Psi, Last dyno run 206Kw.


Top
 Profile  
 
 Post subject: Re: Preemptive feedback knock correction
PostPosted: Sun Nov 04, 2012 5:28 am 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
I searched on addresses near it and then looked for data move instructions with an offset of 1 or 2 or 3, etc.
So the search on FFFF76CC was the key.


Top
 Profile  
 
 Post subject: Re: Preemptive feedback knock correction
PostPosted: Sun Nov 04, 2012 5:40 am 
Offline
Experienced
User avatar

Joined: Thu Jul 22, 2010 10:22 am
Posts: 148
Location: Australia
Nice Find!

_________________
09 ADM WRX/ 3" Exforce Turbo Back, Hyperflow TMIC, AEM CAI, Perrin Turbo Inlet, TGV Delete, Ported VF-52, Walbro Pump, Hybrid boost control (Grimmspeed EBCS/MBC), SI-Drive Mode Selector (3 pos Rocker Sw)/ Self tuned @ 17 Psi, Last dyno run 206Kw.


Top
 Profile  
 
 Post subject: Re: Preemptive feedback knock correction
PostPosted: Sun Nov 04, 2012 6:48 am 
Offline
Experienced
User avatar

Joined: Thu Jul 22, 2010 10:22 am
Posts: 148
Location: Australia
After i quick peak at my rom i found some activation thresholds
Attachment:
Untitled2.png

My naming scheme may not be appropriate given the way they are used, for example;

If Unknown Value(Could be delta load or MAFV) Value is greater than 0.25
or
If RPM is greater than 1700
or
If RPM is less than 4400
or
if load is greater than 0.799
or
if load is less than 2.8
or
if primary ol enrichment is less than 1
or
if coolant temp is greater than 78 degrees c
then
PEKC is active

There is also a 2D table with an IAT axis at the beginning of the routine

Attachment:
Untitled21.png


its result is compared with an unknown value when i get a chance i'll do some logging to figure out what it is.


You do not have the required permissions to view the files attached to this post.

_________________
09 ADM WRX/ 3" Exforce Turbo Back, Hyperflow TMIC, AEM CAI, Perrin Turbo Inlet, TGV Delete, Ported VF-52, Walbro Pump, Hybrid boost control (Grimmspeed EBCS/MBC), SI-Drive Mode Selector (3 pos Rocker Sw)/ Self tuned @ 17 Psi, Last dyno run 206Kw.


Last edited by Easty on Mon Nov 05, 2012 5:42 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Preemptive feedback knock correction
PostPosted: Sun Nov 04, 2012 7:14 am 
Offline
Moderator

Joined: Thu Nov 23, 2006 2:23 am
Posts: 2565
EDIT: I thought I had something insightful to add here, but I was wrong. :)

_________________
2005 Legacy GT w/ ATP 3076, IWG, MBC, BCS, BC 272, LC, FFS, OMG
Please don't send questions via PM. Post a thread and send me a link to it instead. Thanks!


Top
 Profile  
 
 Post subject: Re: Preemptive feedback knock correction
PostPosted: Sun Nov 04, 2012 7:48 am 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
Nice work!

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: Preemptive feedback knock correction
PostPosted: Sun Nov 04, 2012 1:19 pm 
Offline
RomRaider Developer

Joined: Thu May 21, 2009 1:49 am
Posts: 7323
Location: Canada eh!
Easty wrote:
if primary ol enrichment is less than 1(7.35AFR)
Remember that AFR is specified in lambda in the ROM.


Top
 Profile  
 
 Post subject: Re: Preemptive feedback knock correction
PostPosted: Sun Nov 04, 2012 2:14 pm 
Offline
Senior Member

Joined: Sat Feb 12, 2011 11:27 pm
Posts: 2032
Location: Northern NSW
Leafy wrote:
throttlehappy wrote:
I have narrowed it down to a few 'triggers'

* Engine g/rev or g/sec increasing rapidly in under 250ms(believe I found the timer value near the PEKC retard value)
* Total Ignition timing values changing by more than 3 degrees with some sort of g/rev and rpm reference(I suspect a 3D table controls this?)
* Boost AND vacuum error


Look for delta throttle position as well.

GM uses a knock scheme very close to what you guys are seeing and its during transients. The computer is predicting that knock is likely to happen in certain transient situations and automatically pulls timing even when there is no knock present. I believe they use delta tps, but I havent looked into it on the newer torque based ecus. I like how subaru adds in the timing changing rapidly element, since thats another thing that can cause knock, I dont like the maf engine load usage though, it seems like it would be too slow for this correction to work.


Yeah, that was my initial find of PFKC. My DBW is not stock so it throttle tables showed it much more obviously to have -1.4 fbkc but my FBKC value was -2.00! lol

If you have ever seen a GR STi timing ntable, it explains why Subaru needed the timing change function... timing table looks like it belongs in Nepal with snow on it


Top
 Profile  
 
 Post subject: Re: Preemptive feedback knock correction
PostPosted: Sun Nov 04, 2012 3:33 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
I believe there's a throttle plate opening % delta threshold in there - would be interesting to log to note (it's checked against a 2d table)

0xFFFF6524

This is the 2D table - IAT is the x-axis:

Code:
ROM:00086CD8 word_86CD8:     .data.w h'10            ; DATA XREF: sub_33972:loc_339DEo
ROM:00086CD8                                         ; sub_33A92:off_33B94o
ROM:00086CDA                 .data.w h'800
ROM:00086CDC                 .data.l flt_C7EF4
ROM:00086CE0                 .data.l word_CA14A      ; = 1.0e1
ROM:00086CE4                 .float 0.0019073777
ROM:00086CE8                 .float 0.0

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: Preemptive feedback knock correction
PostPosted: Sun Nov 04, 2012 5:56 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
And whilst we're checking out FBKC:

Code:
FBKC_Fine_Rough_learning_mode_enable_load_delta_max   00000000000CE088
FBKC_Fine_Rough_learning_mode_enable_load_delta_min   00000000000CE084
FBKC_Fine_Rough_learning_mode_enable_min_coolant_temp 00000000000CE07C
FBKC_min_AC_start_delay_                 00000000000CDF84

RAM:FFFF7C68 Ram_filtered_load_delta
RAM:FFFF7CB0 Ram_AC_start_timer


Edit: renamed titles for clarity - these are part of the trigger points that allow the ecu to switch from FBKC to FLKC or rough correction mode.

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Last edited by td-d on Mon Nov 05, 2012 4:47 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Preemptive feedback knock correction
PostPosted: Sun Nov 04, 2012 7:53 pm 
Offline
Experienced
User avatar

Joined: Thu Jul 22, 2010 10:22 am
Posts: 148
Location: Australia
dschultz wrote:
Easty wrote:
if primary ol enrichment is less than 1(7.35AFR)
Remember that AFR is specified in lambda in the ROM.


So what does an OL enrichment of 1 equal?

_________________
09 ADM WRX/ 3" Exforce Turbo Back, Hyperflow TMIC, AEM CAI, Perrin Turbo Inlet, TGV Delete, Ported VF-52, Walbro Pump, Hybrid boost control (Grimmspeed EBCS/MBC), SI-Drive Mode Selector (3 pos Rocker Sw)/ Self tuned @ 17 Psi, Last dyno run 206Kw.


Top
 Profile  
 
 Post subject: Re: Preemptive feedback knock correction
PostPosted: Sun Nov 04, 2012 7:56 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
It means stoich - 14.7afr

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 106 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 26 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl