follow ft86club on our blog, twitter or facebook.
FT86CLUB
Ft86Club
Speed By Design
Register Garage Community Calendar Today's Posts Search

Go Back   Toyota GR86, 86, FR-S and Subaru BRZ Forum & Owners Community - FT86CLUB > Technical Topics > Software Tuning

Software Tuning Discuss all software tuning topics.


User Tag List

Reply
 
Thread Tools Search this Thread
Old 11-07-2015, 07:01 AM   #1
ztan
Senior Member
 
Join Date: Jul 2013
Drives: Toyota 86
Location: Gold Coast, Australia
Posts: 311
Thanks: 44
Thanked 358 Times in 142 Posts
Mentioned: 60 Post(s)
Tagged: 0 Thread(s)
Knock Sensor Control Logic

Following @Td-d's work on the ROMraider forums here:
http://www.romraider.com/forum/viewt...hp?f=40&t=8615

I had a look at the A01G ROM with ScoobyROM.

Knock sensor calibration table was easy to find using Td-d's ScoobyROM method, unpicking the knock control logic is quite difficult. There is also a table that looks like it uses FLKC table offset as an input - possibly a threshold. All highly experimental.

Welcome any input into deciphering the knock logic.

Code:
    <table name="Knock Sensor Calibration" storageaddress="11DF48">
      <table type="Y Axis" storageaddress="11DDEC" />
    </table>
    <table name="Knock Threshold" storageaddress="11612C">
      <table type="Y Axis" storageaddress="1160A0" />
    </table>


    <table type="2D" name="Knock Sensor Calibration" category="Ignition Timing - Knock Control" storagetype="uint16" endian="big" sizey="87" userlevel="4">
      <scaling units="ECU value" expression="x-32" to_byte="x+32" format="0" fineincrement=".5" coarseincrement="10" />
      <table type="Y Axis" name="Knock Sensor" storagetype="float" endian="little">
        <scaling units="volts" expression="x" to_byte="x" format="0.0000" fineincrement=".01" coarseincrement=".1" />
      </table>
      <description>Knock sensor calibration</description>
    </table>
    
    <table type="2D" name="Knock Threshold" category="Ignition Timing - Knock Control" storagetype="float" endian="little" sizey="35" userlevel="5">
      <scaling units="ECU value" expression="x" to_byte="x" format="0.0000" fineincrement=".5" coarseincrement="10" />
      <table type="Y Axis" name="FLKC Offset" storagetype="float" endian="little">
        <scaling units="Offset" expression="x" to_byte="x" format="0" fineincrement="1" coarseincrement="1" />
      </table>
      <description>?? Knock threshold by FLKC offset </description>
    </table>
Attached Images
  
ztan is offline   Reply With Quote
The Following 3 Users Say Thank You to ztan For This Useful Post:
elBarto (11-07-2015), Kodename47 (11-07-2015), solidONE (11-07-2015)
Old 11-07-2015, 11:43 AM   #2
Kodename47
Senior Member
 
Kodename47's Avatar
 
Join Date: Oct 2012
Drives: UK GT86
Location: UK
Posts: 3,040
Thanks: 185
Thanked 1,629 Times in 1,112 Posts
Mentioned: 155 Post(s)
Tagged: 1 Thread(s)
The stuff that would be really handy to have are the per cylinder thredholds with the appropriate logging parameters.

I doubt that anyone will change the sensor cal.

How does the lower one work?
__________________
.: Stealth 86 :.
Abbey Motorsport/K47 Tuned Sprintex 210 Supercharger

Kodename 47 DJ:
Soundcloud / Instagram / Facebook
Kodename47 is offline   Reply With Quote
Old 11-07-2015, 12:19 PM   #3
stugray
Banned
 
Join Date: Sep 2013
Drives: 2013 GBS BRZ Limited
Location: Colorado
Posts: 1,925
Thanks: 627
Thanked 1,445 Times in 711 Posts
Mentioned: 41 Post(s)
Tagged: 0 Thread(s)
Just FYI (stumbled across this while learning romraider):

http://www.romraider.com/forum/topic1840.html

http://www.romraider.com/RomRaider/H...ndKnockControl

http://forums.nasioc.com/forums/show....php?t=1433675

I apologize if you have already found this.
stugray is offline   Reply With Quote
Old 11-07-2015, 03:54 PM   #4
solidONE
Senior Member
 
solidONE's Avatar
 
Join Date: Dec 2012
Drives: FR-S Whiteout
Location: California
Posts: 2,863
Thanks: 1,808
Thanked 790 Times in 611 Posts
Mentioned: 42 Post(s)
Tagged: 0 Thread(s)
Nice! (subbed)
__________________
Intent > Content

cowardice is the mother of cruelty.
solidONE is offline   Reply With Quote
Old 11-07-2015, 05:38 PM   #5
ztan
Senior Member
 
Join Date: Jul 2013
Drives: Toyota 86
Location: Gold Coast, Australia
Posts: 311
Thanks: 44
Thanked 358 Times in 142 Posts
Mentioned: 60 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by Kodename47 View Post
How does the lower one work?
No real idea, but the value that gets passed to the 2D table is the FLKC cell offset - this reads 0-4 in the first RPM range as load increases, then 5-9 in the next RPM range... 35 values in all for 5 load ranges and 7 RPM ranges.

I played around with reformatting the table to the following, which makes me suspect that this is a table defining knock threshold or sensitivity per FLKC cell. The logic is very complex and I am nowhere close to unravelling it:

Code:
    <table type="3D" name="Knock Threshold" category="Ignition Timing - Knock Control" storagetype="float" endian="little" sizex="5" sizey="7" userlevel="4">
      <scaling units="ECU value" expression="x" to_byte="x" format="0.000" fineincrement=".2" coarseincrement="1" />
      <table type="Static X Axis" name="" sizex="5">
        <data>FLKC Load Range 1</data>
        <data>FLKC Load Range 2</data>
        <data>FLKC Load Range 3</data>
        <data>FLKC Load Range 4</data>
        <data>FLKC Load Range 5</data>
      </table>
      <table type="Static Y Axis" name="" sizey="7">
        <data>FLKC RPM Range 1</data>
        <data>FLKC RPM Range 2</data>
        <data>FLKC RPM Range 3</data>
        <data>FLKC RPM Range 4</data>
        <data>FLKC RPM Range 5</data>
        <data>FLKC RPM Range 6</data>
        <data>FLKC RPM Range 7</data>
      </table>
    </table>
Attached Images
 
ztan is offline   Reply With Quote
Old 11-07-2015, 11:39 PM   #6
steve99
Banned
 
Join Date: Dec 2013
Drives: FT86
Location: Australia
Posts: 7,998
Thanks: 1,035
Thanked 4,987 Times in 2,981 Posts
Mentioned: 598 Post(s)
Tagged: 2 Thread(s)
could it be something like this table in romraider learning view, buy i suppose it would be in ram as its learned values ?

steve99 is offline   Reply With Quote
Old 04-14-2024, 11:14 PM   #7
Compelica
Senior Member
 
Compelica's Avatar
 
Join Date: Apr 2019
Drives: 86 GT
Location: Malaysia
Posts: 358
Thanks: 219
Thanked 205 Times in 105 Posts
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Hi @callisto - any idea if these FLKC values are stored anywhere in RAM?
__________________
DIY stuff at Compelica Works
Compelica is offline   Reply With Quote
Old 04-14-2024, 11:18 PM   #8
callisto
Member
 
Join Date: Nov 2021
Drives: 2019 Subaru BRZ
Location: NA
Posts: 45
Thanks: 24
Thanked 32 Times in 17 Posts
Mentioned: 4 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by Compelica View Post
Hi @callisto - any idea if these FLKC values are stored anywhere in RAM?

That’s an excellent question, it’ll take a bit to find out but I’m certain they’re in there, that tool is reading them. (Note to self, read every ztan post.)
callisto is offline   Reply With Quote
Old 04-15-2024, 02:21 AM   #9
Compelica
Senior Member
 
Compelica's Avatar
 
Join Date: Apr 2019
Drives: 86 GT
Location: Malaysia
Posts: 358
Thanks: 219
Thanked 205 Times in 105 Posts
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by callisto View Post
That’s an excellent question, it’ll take a bit to find out but I’m certain they’re in there, that tool is reading them. (Note to self, read every ztan post.)
Thanks. Have not used the Learning View before, it could possibly just be logging values across different load / RPM ranges as the car is driven.

Never thought of this, but not sure how IAM/FLKC persists when the car is turned off... does that mean the ECU and the RAM is kept in a low power state? @AussieBRZ ?

@ztan has a lot at his disposal as well, it was him who worked on the pre-facelift flex-fuel tunes I believe.
__________________
DIY stuff at Compelica Works

Last edited by Compelica; 04-15-2024 at 02:43 AM.
Compelica is offline   Reply With Quote
 
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Secondary O2 sensor needed for Cruise control? DJCarbine Engine, Exhaust, Transmission 31 04-10-2015 08:49 PM
install cruise control coz for me roll connector / steering sensor fail aagun Issues | Warranty | Recalls / TSB 15 11-14-2013 09:29 AM
Active Knock sensor Fat Spider Engine, Exhaust, Transmission 13 07-14-2013 08:37 PM


All times are GMT -4. The time now is 01:25 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
User Alert System provided by Advanced User Tagging v3.3.0 (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.

Garage vBulletin Plugins by Drive Thru Online, Inc.