RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Sat Feb 21, 2026 12:44 pm

All times are UTC




Post new topic Reply to topic  [ 77 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: Knock Sensor Calibration, thresholds and noise filter
PostPosted: Wed Jul 18, 2012 6:26 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
As referenced in another thread, I've been meaning to put this up for a while - it's all the various tables and parameters related to the knock sensor calibration, noise filtering, and thresholds, for AZ1G101N - although it's fairly straighforward to find all of these in most of the 32 bit roms, as many of the parameters are identical.

Firstly an acknowledgement, and then a warning - this is due to being able to reference the amazing work done by COBB on this, I'm assuming Bill (but yes, I had to dig around to find these, so nothing untoward). As a warning - this is about as experimental as it gets (and is also labeled as experimental by COBB) - I have worked through some of the logic behind these, but nowhere near the full set of subroutines.

I am going to post up the definitions first, and slowly try and put up the meaning of the various parameters (which may not be self evident) - it will take some time, as there are 27 in total.

Here goes:

Code:
   <scaling name="Knock" units="units" toexpr="x" frexpr="x" format="%.2f" min="0" max="255" inc="1" storagetype="float" endian="big"/>
   <scaling name="Knock2" units="units" toexpr="x" frexpr="x" format="%.0f" min="0" max="255" inc="1" storagetype="uint16" endian="big"/>
   <scaling name="Knock3" units="units" toexpr="x" frexpr="x" format="%.0f" min="0" max="255" inc="1" storagetype="uint8" endian="big"/>
   <scaling name="Knock4" units="units" toexpr="x*0.000015258789" frexpr="x/0.000015258789" format="%.4f" min="0" max="255" inc="1" storagetype="uint16" endian="big"/>

   <table name="Knock_Sensor_Calibration" category="Knock Sensor" address="cef18" type="2D" level="1" scaling="rawecuvalue">
      <table name="Volts" address="cee14" type="X Axis" elements="65" scaling="rawecuvalue"/>
   </table>

   <table name="Knock_threshold_filter_Final_Limit_Min" category="Knock Sensor" address="cf044" type="2D" level="1" scaling="Knock">
      <table name="Volts" address="cf01c" type="X Axis" elements="10" scaling="RPM"/>
   </table>

   <table name="Knock_threshold_filter_Final_Limit_Max_Cyl_1" category="Knock Sensor" address="cf094" type="2D" level="1" scaling="Knock">
      <table name="Volts" address="cf06c" type="X Axis" elements="10" scaling="RPM"/>
   </table>

   <table name="Knock_threshold_filter_Final_Limit_Max_Cyl_2" category="Knock Sensor" address="cf0e4" type="2D" level="1" scaling="Knock">
      <table name="Volts" address="cf0bc" type="X Axis" elements="10" scaling="RPM"/>
   </table>

   <table name="Knock_threshold_filter_Final_Limit_Max_Cyl_3" category="Knock Sensor" address="cf134" type="2D" level="1" scaling="Knock">
      <table name="Volts" address="cf10c" type="X Axis" elements="10" scaling="RPM"/>
   </table>

   <table name="Knock_threshold_filter_Final_Limit_Max_Cyl_4" category="Knock Sensor" address="cf184" type="2D" level="1" scaling="Knock">
      <table name="Volts" address="cf15c" type="X Axis" elements="10" scaling="RPM"/>
   </table>

   <table name="Knock_threshold_filter_Final_Limit_Min" category="Knock Sensor" address="cf044" type="2D" level="1" scaling="Knock">
      <table name="Volts" address="cf01c" type="X Axis" elements="10" scaling="RPM"/>
   </table>

   <table name="Knock_threshold_weight_factor_RPM_Load_Cyl_1" category="Knock Sensor" address="d0a60" type="3D" level="1" scaling="Knock">
      <table name="X" address="d0a10" type="X Axis" elements="18" scaling="RPM"/>
      <table name="Y" address="d0a58" type="Y Axis" elements="2" scaling="Knock"/>
   </table>

   <table name="Knock_threshold_weight_factor_RPM_Load_Cyl_2" category="Knock Sensor" address="d0b40" type="3D" level="1" scaling="Knock">
      <table name="X" address="d0af0" type="X Axis" elements="18" scaling="RPM"/>
      <table name="Y" address="d0b38" type="Y Axis" elements="2" scaling="Knock"/>
   </table>

   <table name="Knock_threshold_weight_factor_RPM_Load_Cyl_3" category="Knock Sensor" address="d0c20" type="3D" level="1" scaling="Knock">
      <table name="X" address="d0bd0" type="X Axis" elements="18" scaling="RPM"/>
      <table name="Y" address="d0c18" type="Y Axis" elements="2" scaling="Knock"/>
   </table>

   <table name="Knock_threshold_weight_factor_RPM_Load_Cyl_4" category="Knock Sensor" address="d0d00" type="3D" level="1" scaling="Knock">
      <table name="X" address="d0cb0" type="X Axis" elements="18" scaling="RPM"/>
      <table name="Y" address="d0cf8" type="Y Axis" elements="2" scaling="Knock"/>
   </table>

   <table name="Knock_threshold_filter_Background_Noise_interval_Weighting_Factor_Low_RPM_Delta" category="Knock Sensor" address="ceb7c" type="2D" level="1" scaling="Knock4">
      <table name="Volts" address="ceb60" type="X Axis" elements="7" scaling="RPM"/>
   </table>

   <table name="Background_Noise_Delta_Smoothing_Weighting_Factor_RPM_Delta_Threshold_Imm" category="Knock Sensor" address="cdbc8" type="1D" level="1" scaling="Knock"/>

   <table name="Background_Noise_Delta_Smoothing_Weighting_Factor_RPM_Delta_Threshold_Short" category="Knock Sensor" address="cdbcc" type="1D" level="1" scaling="Knock"/>

   <table name="Background_Noise_Delta_Weighting_Factor_Low_RPM_Delta" category="Knock Sensor" address="cdbd0" type="1D" level="1" scaling="Knock"/>

   <table name="Background_Noise_Base_Smoothing_Factor_High_Rpm_Delta" category="Knock Sensor" address="cdbd4" type="1D" level="1" scaling="Knock"/>

   <table name="Background_Noise_Delta_Weighting_Factor_High_RPM_Delta" category="Knock Sensor" address="cdbd8" type="1D" level="1" scaling="Knock"/>

   <table name="Background_Noise_Base_Smoothing_Factor_Low_Rpm_Delta" category="Knock Sensor" address="cdbdc" type="1D" level="1" scaling="Knock"/>

   <table name="Knock_threshhold_Filter_background_noise_interv_weight_factor_RPM_Delta_Short" category="Knock Sensor" address="cdbe0" type="1D" level="1" scaling="Knock"/>

   <table name="Knock_threshhold_Filter_background_noise_interv_weight_factor_High_RPM_Delta_Limit_max" category="Knock Sensor" address="cdbe4" type="1D" level="1" scaling="Knock"/>

   <table name="Knock_threshhold_Filter_background_noise_interv_weight_factor_High_RPM_Delta_Rpm_delta_ratio" category="Knock Sensor" address="cdbe8" type="1D" level="1" scaling="Knock"/>

   <table name="Knock_threshhold_Filter_Final_Limit_max_modify_pre_final_limit" category="Knock Sensor" address="cdbec" type="1D" level="1" scaling="Knock"/>

   <table name="Knock_Threshhold_Level_Final_Limit_Min" category="Knock Sensor" address="cdbf0" type="1D" level="1" scaling="Knock"/>

   <table name="Knock_Threshhold_Level_Final_Limit_Max" category="Knock Sensor" address="cdbf4" type="1D" level="1" scaling="Knock"/>

   <table name="Filter_Noise_Level_Weighting_Factor" category="Knock Sensor" address="cdbfc" type="1D" level="1" scaling="Knock"/>

   <table name="Filter_Ref_Max_Range_Hysteresis_Corr_Knock_Sen_output_modify" category="Knock Sensor" address="cdb3d" type="1D" level="1" scaling="Knock3"/>

   <table name="Knock_Detection_Minimum_Engine_Run_Time" category="Knock Sensor" address="cdb74" type="1D" level="1" scaling="Knock2"/>

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: Knock Sensor Calibration, thresholds and noise filter
PostPosted: Wed Jul 18, 2012 6:26 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
To find these in the rom:

The first, and easiest quick and dirty to find the actual knock sensor calibration table itself is to use Scoobyrom (once again, what an amazingly useful tool). The knock sensor calibration itself is easy to find - it is (by far) the largest 2d table in the rom (and all the roms I've looked at thus far confirm this) - 65 cells.

Image

If you follow the references back to the data location for the sensor calibration, the offsets for the following are contained in this location:

Knock_threshold_filter_Final_Limit_Min
Knock_threshold_filter_Final_Limit_Max_Cyl_ 1 to 4 (an offset that references all 4 cylinders)
Knock_threshold_weight_factor_RPM_Load_Offset
Knock_threshhold_Filter_Final_Limit_max_modify_pre_final_limit
Knock_threshold_filter_Final_Limit_Min

Most of the other parameters sit directly above the feedback correction range location, e.g. :

Code:
ROM:000CDBD8 Background_Noise_Delta_Weighting_Factor_High_RPM_Delta:.float 0.0625
ROM:000CDBD8                                         ; DATA XREF: sub_3C7F4+56o
ROM:000CDBD8                                         ; ROM:off_3C9B4o
ROM:000CDBDC Background_Noise_Base_Smoothing_Factor_Low_Rpm_Delta:.float 0.02
ROM:000CDBDC                                         ; DATA XREF: sub_3C7F4+4Ao
ROM:000CDBDC                                         ; ROM:off_3C9ACo
ROM:000CDBE0 Knock_threshhold_Filter_background_noise_interv_weight_factor_RPM_Delta_Short:.float 100.0
ROM:000CDBE0                                         ; DATA XREF: sub_3C7F4+80o
ROM:000CDBE0                                         ; ROM:off_3C9CCo
ROM:000CDBE4 Knock_threshhold_Filter_background_noise_interv_weight_factor_High_RPM_Delta_Limit_max:.float 0.125
ROM:000CDBE4                                         ; DATA XREF: sub_3C7F4+BAo
ROM:000CDBE4                                         ; ROM:off_3C9E4o
ROM:000CDBE8 Knock_threshhold_Filter_background_noise_interv_weight_factor_High_RPM_Delta_Rpm_delta_ratio:.float 150.0
ROM:000CDBE8                                         ; DATA XREF: sub_3C7F4+98o
ROM:000CDBE8                                         ; ROM:off_3C9D8o
ROM:000CDBEC Knock_threshhold_Filter_Final_Limit_max_modify_pre_final_limit:.float 8.0
ROM:000CDBEC                                         ; DATA XREF: sub_3C20E+1BAo
ROM:000CDBEC                                         ; sub_3C20E:off_3C46Co
ROM:000CDBF0 Knock_Threshhold_Level_Final_Limit_Min:.float 50.0 ; DATA XREF: sub_3C20E+344o
ROM:000CDBF0                                         ; ROM:off_3C708o ...
ROM:000CDBF4 Knock_Threshhold_Level_Final_Limit_Max:.float 359.0
ROM:000CDBF4                                         ; DATA XREF: sub_3C20E:loc_3C55Eo
ROM:000CDBF4                                         ; ROM:off_3C70Co
ROM:000CDBF8 flt_CDBF8:      .float 1000.0           ; DATA XREF: sub_3C20E:loc_3C58Ao
ROM:000CDBF8                                         ; ROM:off_3C710o
ROM:000CDBFC Filter_Noise_Level_Weighting_Factor:.float 2.0 ; DATA XREF: sub_3C20E+390o
ROM:000CDBFC                                         ; ROM:off_3C714o
ROM:000CDC00 Timing_Comp_Maximum_RPM_Per_Cylinder:.float 7000.0 ; DATA XREF: sub_3CC14+1Ao
ROM:000CDC00                                         ; ROM:off_3CCE0o
ROM:000CDC04 Timing_Comp_Minimum_Load_Per_Cylinder:.float 0.0 ; DATA XREF: sub_3CC14+24o
ROM:000CDC04                                         ; ROM:off_3CCE4o
ROM:000CDC08 Timing_Comp_Minimum_Coolant_Temp_Per_Cylinder:.float 60.0
ROM:000CDC08                                         ; DATA XREF: sub_3CC14+2Co
ROM:000CDC08                                         ; ROM:off_3CCE8o
ROM:000CDC0C Feedback_Correction_Minimum_Load:.float 0.75 ; DATA XREF: sub_3E16Co
ROM:000CDC0C                                         ; ROM:off_3E20Co
ROM:000CDC10 flt_CDC10:      .float 0.79999995       ; DATA XREF: sub_3E16C:loc_3E17Co
ROM:000CDC10                                         ; ROM:off_3E214o
ROM:000CDC14 Feedback_Correction_Range_RPM:.float 1200.0


Following one of the Background_Noise_Delta_Weighting reference back to the data location will also lead you to the Knock_threshold_filter_Background_Noise_interval_Weighting_Factor_Low_RPM_Delta table.

Following the Background_Noise_Delta_Weighting reference back to the data location will also lead you to the Filter_Ref_Max_Range_Hysteresis_Corr_Knock_Sen_output_modify and Knock_Detection_Minimum_Engine_Run_Time parameters.

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Last edited by td-d on Wed Jul 18, 2012 7:02 pm, edited 3 times in total.

Top
 Profile  
 
 Post subject: Re: Knock Sensor Calibration, thresholds and noise filter
PostPosted: Wed Jul 18, 2012 6:26 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
Reserved 2

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: Knock Sensor Calibration, thresholds and noise filter
PostPosted: Wed Jul 18, 2012 7:17 pm 
Offline
Experienced
User avatar

Joined: Thu Jul 23, 2009 5:46 pm
Posts: 863
Great work!!!

_________________
Please do not send me support questions via PM, use the forum instead!


Top
 Profile  
 
 Post subject: Re: Knock Sensor Calibration, thresholds and noise filter
PostPosted: Wed Jul 18, 2012 8:02 pm 
Offline
Senior Member

Joined: Mon Jan 19, 2009 6:31 pm
Posts: 1615
Location: Moscow, Russia
My 2 cents:

ecu_ID:4242584106
Cal_ID:A8DH100F

58 cells sensor calibration:

ROM:00086DB0 flt_86DB0: .data.b 0, h'3A, 0, 0 ; DATA XREF: sub_AC34:off_B03Co
ROM:00086DB4 .data.l voltage_flt_CDF54
ROM:00086DB8 .data.l knock_level_flt_CE03C

RPM related:

ROM:00086DBC flt_86DBC: .data.b 0, h'A, 0, 0 ; DATA XREF: sub_AC34:off_B090o
ROM:00086DC0 .data.l RPM_flt_CE124
ROM:00086DC4 .data.l _8_10_flt_CE14C
ROM:00086DC8 _16_flt_86DC8: .data.b 0, h'A, 0, 0 ; DATA XREF: ROM:off_12178o
ROM:00086DCC .data.l rpm_flt_CE174
ROM:00086DD0 .data.l _16_flt_CE19C
ROM:00086DD4 flt_86DD4: .data.b 0, h'A, 0, 0 ; DATA XREF: ROM:0001217Co
ROM:00086DD8 .data.l rpm_flt_CE1C4
ROM:00086DDC .data.l _16_flt_CE1EC
ROM:00086DE0 flt_86DE0: .data.b 0, h'A, 0, 0 ; DATA XREF: ROM:00012180o
ROM:00086DE4 .data.l RPM_flt_CE214
ROM:00086DE8 .data.l _16_flt_CE23C
ROM:00086DEC flt_86DEC: .data.b 0, h'A, 0, 0 ; DATA XREF: ROM:00012184o
ROM:00086DF0 .data.l RPM_flt_CE264
ROM:00086DF4 .data.l _16_flt_CE28C
ROM:00086DF8 flt_86DF8: .data.b 0, h'F, 0, 0 ; DATA XREF: ROM:off_1232Co
ROM:00086DFC .data.l RPM_flt_CE2B4
ROM:00086E00 .data.l flt_CE2F0
ROM:00086E04 flt_86E04: .data.b 0, h'F, 0, 0 ; DATA XREF: ROM:00012330o
ROM:00086E08 .data.l RPM_flt_CE32C
ROM:00086E0C .data.l flt_CE368
ROM:00086E10 .data.b 0, h'F, 0, 0
ROM:00086E14 .data.l RPM_flt_CE3A4
ROM:00086E18 .data.l flt_CE3E0
ROM:00086E1C .data.b 0, h'F, 0, 0
ROM:00086E20 .data.l RPM_flt_CE41C
ROM:00086E24 .data.l flt_CE458


Top
 Profile  
 
 Post subject: Re: Knock Sensor Calibration, thresholds and noise filter
PostPosted: Thu Jul 19, 2012 11:14 am 
Offline
Moderator

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


Thanks Merp, though I can't take credit for discovering this - but as they say, imitation is the best form of flattery!

I'm sure this will be quite useful in dealing with noisy built blocks that have had issues with false knock. I need to post up the descriptions of the various tables and parameters when I find some time...

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: Knock Sensor Calibration, thresholds and noise filter
PostPosted: Mon Jul 15, 2013 6:56 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
Requested for AZ1G701V (2010 WRX):
Code:
Background_Noise_Base_Smoothing_Factor_High_Rpm_Delta                       CFBF4
Background_Noise_Base_Smoothing_Factor_Low_Rpm_Delta                        CFBFC
Background_Noise_Delta_Smoothing_Weighting_Factor_RPM_Delta_Threshold_Imm   CFBE8
Background_Noise_Delta_Smoothing_Weighting_Factor_RPM_Delta_Threshold_Short CFBEC
Background_Noise_Delta_Weighting_Factor_High_RPM_Delta                      CFBF8
Background_Noise_Delta_Weighting_Factor_Low_RPM_Delta                       CFBF0

Knock_Detection_Minimum_Engine_Run_Time                                                      CF8D2
Knock_Sensor_Calibration                                                                     D0F4C
Knock_Sensor_Calibration_Y_Axis                                                              D0E48
Knock_Threshhold_Level_Final_Limit_Max                                                       CFC14
Knock_Threshhold_Level_Final_Limit_Min                                                       CFC10
Knock_threshhold_Filter_Final_Limit_max_modify_pre_final_limit                               CFC0C
Knock_threshhold_Filter_background_noise_interv_weight_factor_High_RPM_Delta_Limit_max       CFC04
Knock_threshhold_Filter_background_noise_interv_weight_factor_High_RPM_Delta_Rpm_delta_ratio CFC08
Knock_threshhold_Filter_background_noise_interv_weight_factor_RPM_Delta_Short                CFC00
Knock_threshold_filter_Background_Noise_interval_Weighting_Factor_Low_RPM_Delta              D0910
Knock_threshold_filter_Background_Noise_interval_Weighting_Factor_Low_RPM_Delta_Y_Axis       D08F4
Knock_threshold_filter_Final_Limit_Max_Cyl_1                                                 D10C8
Knock_threshold_filter_Final_Limit_Max_Cyl_1_Y_Axis                                          D10A0
Knock_threshold_filter_Final_Limit_Max_Cyl_2                                                 D1118
Knock_threshold_filter_Final_Limit_Max_Cyl_2_Y_Axis                                          D10F0
Knock_threshold_filter_Final_Limit_Max_Cyl_3                                                 D1168
Knock_threshold_filter_Final_Limit_Max_Cyl_3_Y_Axis                                          D1140
Knock_threshold_filter_Final_Limit_Max_Cyl_4                                                 D11B8
Knock_threshold_filter_Final_Limit_Max_Cyl_4_Y_Axis                                          D1190
Knock_threshold_filter_Final_Limit_Min                                                       D1078
Knock_threshold_filter_Final_Limit_Min_Y_Axis                                                D1050
Knock_threshold_weight_factor_RPM_Load_Cyl_1                                                 D2874
Knock_threshold_weight_factor_RPM_Load_Cyl_1_X_Axis                                          D2824
Knock_threshold_weight_factor_RPM_Load_Cyl_1_Y_Axis                                          D286C
Knock_threshold_weight_factor_RPM_Load_Cyl_2                                                 D2954
Knock_threshold_weight_factor_RPM_Load_Cyl_2_X_Axis                                          D2904
Knock_threshold_weight_factor_RPM_Load_Cyl_2_Y_Axis                                          D294C
Knock_threshold_weight_factor_RPM_Load_Cyl_3                                                 D2A34
Knock_threshold_weight_factor_RPM_Load_Cyl_3_X_Axis                                          D29E4
Knock_threshold_weight_factor_RPM_Load_Cyl_3_Y_Axis                                          D2A2C
Knock_threshold_weight_factor_RPM_Load_Cyl_4                                                 D2B14
Knock_threshold_weight_factor_RPM_Load_Cyl_4_X_Axis                                          D2AC4
Knock_threshold_weight_factor_RPM_Load_Cyl_4_Y_Axis                                          D2B0C

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: Knock Sensor Calibration, thresholds and noise filter
PostPosted: Thu Oct 10, 2013 10:46 am 
Offline
Newbie

Joined: Fri Nov 14, 2008 10:08 am
Posts: 23
I have tried to find tables and parameters on knock sensor calibration (AZ1G300F, JDM2008STI). I found a portion of them as below, but can not find others.
Could you please help to find other parameters and sanity check.

Thanks in advance.

Code:
00083EF0 Table_Knock_Sensor_Calibration:.data.w h'41 ; DATA XREF: sub_3657A+38o
00083EF0                                         ; sub_3657A:off_367B8o
00083EF2                 .data.w 0
00083EF4                 .data.l Knock_Sensor_Calibration_X_Axis
00083EF8                 .data.l Knock_Sensor_Calibration

00083EFC Table_Knock_Threshold_Filter_Final_Limit_Min:.data.w h'A
00083EFC                                         ; DATA XREF: sub_3657A+1C0o
00083EFC                                         ; sub_3657A:off_367DCo
00083EFE                 .data.w 0
00083F00                 .data.l dword_CFDA8
00083F04                 .data.l dword_CFDD0

00083F08 Table_Knock_Threshold_Filter_Final_Limit_Max_Cyl1:.data.w h'A
00083F08                                         ; DATA XREF: ROM:Knock_Threshold_Filter_Final_Limit_Maxo
00083F0A                 .data.w 0
00083F0C                 .data.l flt_CFDF8
00083F10                 .data.l flt_CFE20
00083F14 Table_Knock_Threshold_Filter_Final_Limit_Max_Cyl2:.data.w h'A
00083F14                                         ; DATA XREF: ROM:00054E54o
00083F16                 .data.w 0
00083F18                 .data.l dword_CFE48
00083F1C                 .data.l dword_CFE70
00083F20 Table_Knock_Threshold_Filter_Final_Limit_Max_Cyl3:.data.w h'A
00083F20                                         ; DATA XREF: ROM:00054E58o
00083F22                 .data.w 0
00083F24                 .data.l dword_CFE98
00083F28                 .data.l dword_CFEC0
00083F2C Table_Knock_Threshold_Filter_Final_Limit_Max_Cyl4:.data.w h'A
00083F2C                                         ; DATA XREF: ROM:00054E5Co
00083F2E                 .data.w 0
00083F30                 .data.l dword_CFEE8
00083F34                 .data.l flt_CFF10

000842EC Table_Knock_Threshold_Weight_Factor_RPM_Load_Cyl1:.data.w h'12
000842EC                                         ; DATA XREF: ROM:Knock_Threshold_Weight_Factor_RPM_Loado
000842EE                 .data.w 4
000842F0                 .data.l flt_D194C
000842F4                 .data.l flt_D1994
000842F8                 .data.l flt_D19A4
000842FC                 .data.l 0
00084300 Table_Knock_Threshold_Weight_Factor_RPM_Load_Cyl3:.data.w h'12
00084300                                         ; DATA XREF: ROM:00054E68o
00084302                 .data.w 4
00084304                 .data.l flt_D1AC4
00084308                 .data.l flt_D1B0C
0008430C                 .data.l flt_D1B1C
00084310                 .data.l 0
00084314 Table_Knock_Threshold_Weight_Factor_RPM_Load_Cyl2:.data.w h'12
00084314                                         ; DATA XREF: ROM:00054E64o
00084316                 .data.w 4
00084318                 .data.l flt_D1C3C
0008431C                 .data.l flt_D1C84
00084320                 .data.l flt_D1C94
00084324                 .data.l 0
00084328 Table_Knock_Threshold_Weight_Factor_RPM_Load_Cyl4:.data.w h'12
00084328                                         ; DATA XREF: ROM:00054E6Co
0008432A                 .data.w 4
0008432C                 .data.l flt_D1DB4
00084330                 .data.l flt_D1DFC
00084334                 .data.l flt_D1E0C
00084338                 .data.l 0

00083D70 Table_Knock_Threshold_Filter_Background_Niose_Interval_Weighting_Factor_Low_RPM_Delta:.data.w 7
00083D70                                         ; DATA XREF: sub_36B60+5Eo
00083D70                                         ; ROM:off_36D24o
00083D72                 .data.w h'800
00083D74                 .data.l flt_CF5F4
00083D78                 .data.l dword_CF610
00083D7C                 .data.l h'37800000, 0

000CE798 Background_Noise_Delta_Smoothing_Weighting_Factor_RPM_Delta_Threshold_Imm:.float 80.0
000CE798                                         ; DATA XREF: sub_36B60+32o
000CE798                                         ; ROM:off_36D0Co
000CE79C Background_Noise_Delta_Smoothing_Weighting_Factor_RPM_Delta_Threshold_Short:.float 100.0
000CE79C                                         ; DATA XREF: sub_36B60+3Co
000CE79C                                         ; ROM:off_36D10o

000CE7A0 Background_Noise_Delta_Weighting_Factor_Low_RPM_Delta:.float 0.25
000CE7A0                                         ; DATA XREF: sub_36B60:loc_36BB0o
000CE7A0                                         ; ROM:off_36D1Co
000CE7A4 Background_Noise_Base_Smoothing_Factor_High_Rpm_Delta:.float 0.0625
000CE7A4                                         ; DATA XREF: sub_36B60+44o
000CE7A4                                         ; ROM:off_36D14o
000CE7A8 Background_Noise_Delta_Weighting_Factor_High_RPM_Delta:.float 0.19999999
000CE7A8                                         ; DATA XREF: sub_36B60+56o
000CE7A8                                         ; ROM:off_36D20o
000CE7AC Background_Noise_Base_Smoothing_Factor_Low_RPM_Delta:.float 0.02
000CE7AC                                         ; DATA XREF: sub_36B60+4Ao
000CE7AC                                         ; ROM:off_36D18o


Top
 Profile  
 
 Post subject: Re: Knock Sensor Calibration, thresholds and noise filter
PostPosted: Thu Oct 10, 2013 11:02 am 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
marten wrote:
I have tried to find tables and parameters on knock sensor calibration (AZ1G300F, JDM2008STI). I found a portion of them as below, but can not find others.
Could you please help to find other parameters and sanity check.

Code:
Filter_Noise_Level_Weighting_Factor  CE7CC

Knock_Threshhold_Level_Final_Limit_Max                                                        CE7C4
Knock_Threshhold_Level_Final_Limit_Min                                                        CE7C0
Knock_threshhold_Filter_Final_Limit_max_modify_pre_final_limit                                CE7BC
Knock_threshhold_Filter_background_noise_interv_weight_factor_High_RPM_Delta_Limit_max        CE7B4
Knock_threshhold_Filter_background_noise_interv_weight_factor_High_RPM_Delta_Rpm_delta_ratio  CE7B8
Knock_threshhold_Filter_background_noise_interv_weight_factor_RPM_Delta_Short                 CE7B0

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: Knock Sensor Calibration, thresholds and noise filter
PostPosted: Fri Oct 11, 2013 10:47 am 
Offline
Newbie

Joined: Fri Nov 14, 2008 10:08 am
Posts: 23
td-d wrote:
marten wrote:
I have tried to find tables and parameters on knock sensor calibration (AZ1G300F, JDM2008STI). I found a portion of them as below, but can not find others.
Could you please help to find other parameters and sanity check.

Code:
Filter_Noise_Level_Weighting_Factor  CE7CC

Knock_Threshhold_Level_Final_Limit_Max                                                        CE7C4
Knock_Threshhold_Level_Final_Limit_Min                                                        CE7C0
Knock_threshhold_Filter_Final_Limit_max_modify_pre_final_limit                                CE7BC
Knock_threshhold_Filter_background_noise_interv_weight_factor_High_RPM_Delta_Limit_max        CE7B4
Knock_threshhold_Filter_background_noise_interv_weight_factor_High_RPM_Delta_Rpm_delta_ratio  CE7B8
Knock_threshhold_Filter_background_noise_interv_weight_factor_RPM_Delta_Short                 CE7B0


Thanks td-d.
You always do great job!!


Top
 Profile  
 
 Post subject: Re: Knock Sensor Calibration, thresholds and noise filter
PostPosted: Fri Oct 11, 2013 12:10 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
No problem.

Forgot to paste this one as well

ROM:000CE4A6 Knock_Detection_Minimum_Engine_Run_Time:.data.w h'FA

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: Knock Sensor Calibration, thresholds and noise filter
PostPosted: Tue Oct 15, 2013 3:49 am 
Offline
Newbie

Joined: Fri Nov 14, 2008 10:08 am
Posts: 23
Hi, td-d.

I am suffering from odd knocking behavior at 6800-7200 rpm since I installed a stroker kit.

Car: JDM2008STI (EJ207 with dual AVCS)
Mods: HKS 2.12L stroker kit, HKS single-scroll header, HKS GT-2 turbine, HKS catted down pipe, TGV delete, ID 715cc Injector
Fuel: Japanese Premium (98RON?)

I got the FLKC or FBKC of -8~11 degrees at the range of 6800-7200 rpm (log #1). So, I pulled much timing of -3~6 degrees at that range, but I still get the FLKC or FBKC (log #2, #3). I doubt they are false knock because they are detected in spite of lowering timing and boost (log #4). Sometimes, I don't have the FBKC or FLKC under high timing and boost (#5). How do you think about them? If you think that they are false knock, Could you please help me to tune tables and parameters on the Knock sensor calibration ?

Thanks in advance.


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


Top
 Profile  
 
 Post subject: Re: Knock Sensor Calibration, thresholds and noise filter
PostPosted: Tue Oct 15, 2013 5:18 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
Unfortunately, these are very new and untested - and I'm no tuner. I'll let some of the more experience tuners and mechanics on here take this one up.

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: Knock Sensor Calibration, thresholds and noise filter
PostPosted: Tue Oct 15, 2013 5:25 pm 
Offline
Newbie

Joined: Tue Jun 05, 2012 7:37 pm
Posts: 81
td-d, I'm having some issues with finding this on ROM A2WC510C : I have all values except for:


Code:
  <table name="Background_Noise_Base_Smoothing_Factor_Low_Rpm_Delta" category="Knock Sensor" address="CCD40" type="1D" level="1" scaling="Knock"/>

   <table name="Knock_threshhold_Filter_background_noise_interv_weight_factor_RPM_Delta_Short" category="Knock Sensor" address="CCD44" type="1D" level="1" scaling="Knock"/>

   <table name="Knock_threshhold_Filter_background_noise_interv_weight_factor_High_RPM_Delta_Limit_max" category="Knock Sensor" address="CCD48" type="1D" level="1" scaling="Knock"/>CCD4C

   <table name="Knock_threshhold_Filter_background_noise_interv_weight_factor_High_RPM_Delta_Rpm_delta_ratio" category="Knock Sensor" address="CCD4C" type="1D" level="1" scaling="Knock"/>CCD48

   <table name="Knock_threshhold_Filter_Final_Limit_max_modify_pre_final_limit" category="Knock Sensor" address="CCD50" type="1D" level="1" scaling="Knock"/>

   <table name="Knock_Threshhold_Level_Final_Limit_Min" category="Knock Sensor" address="CCD54" type="1D" level="1" scaling="Knock"/>

   <table name="Knock_Threshhold_Level_Final_Limit_Max" category="Knock Sensor" address="CCD58" type="1D" level="1" scaling="Knock"/>

   <table name="Filter_Noise_Level_Weighting_Factor" category="Knock Sensor" address="CCD60" type="1D" level="1" scaling="Knock"/>

AND

Knock_Detection_Minimum_Engine_Run_Time


These do not seem to be correct. :( Thank you in advance!


Top
 Profile  
 
 Post subject: Re: Knock Sensor Calibration, thresholds and noise filter
PostPosted: Tue Oct 15, 2013 6:28 pm 
Offline
Moderator

Joined: Thu May 20, 2010 8:01 am
Posts: 3117
Location: Johannesburg, South Africa
The older roms may not have all of the parameters.
Code:
ROM:000CCD1C Knock_threshhold_Filter_Final_Limit_max_modify_pre_final_limit:.float 8.0
ROM:000CCD1C                                         ; DATA XREF: sub_AEC0+2B8o
ROM:000CCD1C                                         ; sub_AEC0:off_B270o
ROM:000CCD20 Knock_Threshhold_Level_Final_Limit_Min:.float 84.0 ; DATA XREF: sub_AD58+2Co
ROM:000CCD20                                         ; ROM:off_AE48o ...
ROM:000CCD24 Knock_Threshhold_Level_Final_Limit_Max:.float 332.0
ROM:000CCD24                                         ; DATA XREF: sub_AEC0:loc_B328o
ROM:000CCD24                                         ; ROM:off_B3B4o
ROM:000CCD28 Background_Noise_Delta_Smoothing_Weighting_Factor_RPM_Delta_Threshold_Imm:.float 80.0
ROM:000CCD28                                         ; DATA XREF: sub_375A8+2Eo
ROM:000CCD28                                         ; ROM:off_377C0o
ROM:000CCD2C Background_Noise_Delta_Smoothing_Weighting_Factor_RPM_Delta_Threshold_Short:.float 100.0
ROM:000CCD2C                                         ; DATA XREF: sub_375A8+38o
ROM:000CCD2C                                         ; ROM:off_377C4o
ROM:000CCD30 Knock_threshhold_Filter_background_noise_interv_weight_factor_RPM_Delta_Short:.float 100.0
ROM:000CCD30                                         ; DATA XREF: sub_375A8+70o
ROM:000CCD30                                         ; ROM:off_377F0o
ROM:000CCD34 Background_Noise_Base_Smoothing_Factor_High_Rpm_Delta:.float 0.25
ROM:000CCD34                                         ; DATA XREF: sub_375A8:loc_375EAo
ROM:000CCD34                                         ; ROM:off_377C8o
ROM:000CCD38 Background_Noise_Delta_Weighting_Factor_Low_RPM_Delta:.float 0.0625
ROM:000CCD38                                         ; DATA XREF: sub_375A8:loc_375F4o
ROM:000CCD38                                         ; ROM:off_377D0o
ROM:000CCD3C Background_Noise_Base_Smoothing_Factor_Low_Rpm_Delta:.float 0.0625
ROM:000CCD3C                                         ; DATA XREF: sub_375A8+44o
ROM:000CCD3C                                         ; ROM:off_377CCo
ROM:000CCD40 Background_Noise_Delta_Weighting_Factor_High_RPM_Delta:.float 0.030999999
ROM:000CCD40                                         ; DATA XREF: sub_375A8+52o
ROM:000CCD40                                         ; ROM:off_377D4o
ROM:000CCD44 Filter_Noise_Level_Weighting_Factor:.float 2.0 ; DATA XREF: sub_AEC0+480o
ROM:000CCD44                                         ; ROM:off_B3C0o
ROM:000CCD48 Knock_threshhold_Filter_background_noise_interv_weight_factor_High_RPM_Delta_Rpm_delta_ratio:.float 150.0
ROM:000CCD48                                         ; DATA XREF: sub_375A8+84o
ROM:000CCD48                                         ; ROM:off_377FCo
ROM:000CCD4C Knock_threshhold_Filter_background_noise_interv_weight_factor_High_RPM_Delta_Limit_max:.float 0.125
ROM:000CCD4C 

Knock_Sensor_Calibration                                                                     CD52C
Knock_Sensor_Calibration_Y_Axis                                                              CD444
Knock_Threshhold_Level_Final_Limit_Max                                                       CCD24
Knock_Threshhold_Level_Final_Limit_Min                                                       CCD20
Knock_threshhold_Filter_Final_Limit_max_modify_pre_final_limit                               CCD1C
Knock_threshhold_Filter_background_noise_interv_weight_factor_High_RPM_Delta_Limit_max       CCD4C
Knock_threshhold_Filter_background_noise_interv_weight_factor_High_RPM_Delta_Rpm_delta_ratio CCD48
Knock_threshhold_Filter_background_noise_interv_weight_factor_RPM_Delta_Short                CCD30
Knock_threshold_filter_Background_Noise_interval_Weighting_Factor_Low_RPM_Delta              CCDD8
Knock_threshold_filter_Background_Noise_interval_Weighting_Factor_Low_RPM_Delta_Y_Axis       CCDBC
Knock_threshold_filter_Final_Limit_Max_Cyl_1                                                 CD638
Knock_threshold_filter_Final_Limit_Max_Cyl_1_Y_Axis                                          CD614
Knock_threshold_filter_Final_Limit_Max_Cyl_2                                                 CD680
Knock_threshold_filter_Final_Limit_Max_Cyl_2_Y_Axis                                          CD65C
Knock_threshold_filter_Final_Limit_Max_Cyl_3                                                 CD6C8
Knock_threshold_filter_Final_Limit_Max_Cyl_3_Y_Axis                                          CD6A4
Knock_threshold_filter_Final_Limit_Max_Cyl_4                                                 CD710
Knock_threshold_filter_Final_Limit_Max_Cyl_4_Y_Axis                                          CD6EC
Knock_threshold_filter_Final_Limit_Min                                                       CD38C
Knock_threshold_filter_Final_Limit_Min_Y_Axis                                                CD364

_________________
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  [ 77 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 8 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