follow ft86club on our blog, twitter or facebook.
FT86CLUB
Ft86Club
Delicious Tuning
Register Garage Members List Calendar Search Today's Posts Mark Forums Read

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, 08: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, 12:43 PM   #2
Kodename47
Senior Member
 
Kodename47's Avatar
 
Join Date: Oct 2012
Drives: UK GT86
Location: UK
Posts: 3,040
Thanks: 185
Thanked 1,631 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, 01: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, 04: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, 06: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-08-2015, 12:39 AM   #6
steve99
Banned
 
Join Date: Dec 2013
Drives: FT86
Location: Australia
Posts: 7,998
Thanks: 1,035
Thanked 4,988 Times in 2,982 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-15-2024, 12:14 AM   #7
Compelica
Senior Member
 
Compelica's Avatar
 
Join Date: Apr 2019
Drives: 86 GT
Location: Malaysia
Posts: 366
Thanks: 236
Thanked 211 Times in 108 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-15-2024, 12:18 AM   #8
callisto
Member
 
Join Date: Nov 2021
Drives: 2019 Subaru BRZ
Location: NA
Posts: 54
Thanks: 31
Thanked 36 Times in 21 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, 03:21 AM   #9
Compelica
Senior Member
 
Compelica's Avatar
 
Join Date: Apr 2019
Drives: 86 GT
Location: Malaysia
Posts: 366
Thanks: 236
Thanked 211 Times in 108 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 03:43 AM.
Compelica is offline   Reply With Quote
Old 07-04-2024, 04:29 PM   #10
callisto
Member
 
Join Date: Nov 2021
Drives: 2019 Subaru BRZ
Location: NA
Posts: 54
Thanks: 31
Thanked 36 Times in 21 Posts
Mentioned: 4 Post(s)
Tagged: 0 Thread(s)
Aha, I recognize that memory address, I've been looking into this previously.

S10C/FFF815E0, K00G/FFF810B4 - there are 35 pairs of (A, B) floats, stored in the order A1 B1 A2 B2 A3 B3 etc. The FLKC values you see in datalogs derive from the A-side.

Yes, the ECU RAM is kept alive by the battery, which is why pulling the battery or fuse resets the ECU. There's an EEPROM storing VVT learned values, which I want to look into more someday.

(Also: S10C/FFF816F8 is the start of a series of unsigned shorts that is storing what is likely FLKC counters of some sort. That's where my research left off, so I don't have any details for this yet.)
callisto is offline   Reply With Quote
The Following User Says Thank You to callisto For This Useful Post:
Compelica (07-05-2024)
 
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:49 PM
install cruise control coz for me roll connector / steering sensor fail aagun Issues | Warranty | Recalls / TSB 15 11-14-2013 10:29 AM
Active Knock sensor Fat Spider Engine, Exhaust, Transmission 13 07-14-2013 09:37 PM


All times are GMT -4. The time now is 09:49 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.