TS-ogn

Toyota Sportscar - Owners Group Norway 

  • 3SGTE: Facts regarding the stock ECU's "high" and "low" octa

  • Teknisk diskusjon / spørsmÃ¥l rundt alle andre Toyota modeller
Teknisk diskusjon / spørsmål rundt alle andre Toyota modeller
 #209335  av Morten
 
Nedenfor kommer en cut'n paste av noe RickyB på mr2oc kom opp med nylig. Regner med det kan være av interesse for flere her inne :wink:


Facts regarding the stock ECU's "high" and "low" octane modes

--------------------------------------------------------------------------------

I've been spending a good deal of time reverse engineering the firmware code in the stock ECU and discovered a few interesting facts about the mechanism used to switch between "high octane" and "low octane" mode. The octane mode determines how aggressive the timing and fuel maps used are and how the TVIS and TVSV outputs are handled.

The stock ECU breaks the RPM spectrum down into three knock detection ranges, these are 1200 through 2800, 2800 through 4800 and 4800 through 6400 with a 50 RPM band on either side of these to prevent the system from quickly jumping back and forth between these when the motor is held right at the boundary point. For example, you must rev above 2850 to get into the second range and let the RPMs fall below 2750 to go back into the first range.

For each of these three ranges, the stock ECU keeps track of how much knock sensor activity it detects when the amount of air flowing through the AFM is large enough for the motor to be near or above boost. Three persistant values (persistant meaning that the ECU does not forget these values until the battery is disconnected or the EFI fuse pulled) each keep track of the maximum amount of knock sensor activity detected for each of these ranges.

The ECU has a specific maximum and minimum threshold for each of these three RPM ranges. The minimum is used to allow the ECU to switch into "high octane" mode. When the ECU is reset by disconnecting the battery or pulling the EFI fuse, it is actually first put into "low octane" mode. It stays in this mode until near boost or boost flow is detected in at least two of the three RPM ranges. Once this condition has taken place, the ECU checks the knock activity values against its minimum thresholds and allows the ECU to enter "high octane" mode only if the knock sensor activity is below the minimum threshold values for all the RPM ranges sampled under boost. Once the ECU switches to "high octane" mode once, it can switch to "low octane" mode at any time, but never again switch back to "high octane" mode until ignition power is cycled.

When the ECU is in "high octane" mode, it constantly monitors the three RPM bands during near boost and boost and should the knock activity values exceed the maximum threshold values in any two RPM ranges, the ECU will switch back to "low octane" mode.

Slowly over time, if knock sensor activity is lower than the recorded persistant maximum value when a particular RPM range is near boost or above, the persistant maximum knock sensor activity value is decreased. If this behavior persists for some time, it may potentially decrease the persistant value under the minimum threshold to allow the ECU to switch back to "high octane" mode at some point in the future after the ignition power has cycled.

An interesting thing to note is the ECU is essentially "deaf" to knock above 6450 RPMs. This makes sense as detonation simply doesn't have enough time to happen at high RPMs.

Another interesting thing to note is that the three RPM bands with at least two having high or low activity required to switch the octane mode is most likely there to help tolerate an external source of false knock such as a loose heat shield or a clutch that resonates in the knock frequency at only a single RPM point.

The amount of code used to do all this is amazingly small and efficient for all that it does. It is interesting to realize that the Toyota MCU's main instruction clock is ticking away at only three megahertz and that the average instruction takes three to four clock cycles to execute. This means that the stock ECU must accomplish everything to keep the motor running with only a million instruction executions or so each second.

 #209343  av CelicaTurbo
 
Har fulgt med på den diskusjonen og det er også et par andre ting som har kommet opp etter at RickyB og en annen person har begynt å tolke romkoden til disse ECU'ene.. ganske interessant :)

 #209344  av kennethx
 
Tøfft, 3Mhz ja, høres gjerne veldig lite ut, men så har de ikke windows på ECU'en da. Thank god!

Men det var artig å se algoritmene som ligger bak :)

 #209347  av Master
 
Jepp leste denne da han posta den og har fulgt med siden. De gutta der VET hva de prater om, og det er betryggende å ha sånne folk ta avgjørelser for hva jeg skal gjøre med motoren min :)

forresten: har alle dere med 3s-gte kobla dere inn med LED-lys på t-vis samt t-vsv kretsen? slik som beskrevet her: http://www.mrtwo.net/mr2modproject/mod/ ... cators.htm

Tror jeg må gjøre dette for å se hvordan motoren min har det. Dette gir også en indikasjon på om en er i lav- eller høyoktan modus.

 #209493  av CelicaTurbo
 
Jeg gjorde ikke t-vsv/vis led modifikasjonen når jeg hadde turbo, men om du leser den diskusjonen der så vil du se at det er så mange variabler for operasjonen av t-vsv og t-vis at det kan være ganske vanskelig å tolke hva som er grunnen til at lysene oppfører seg som de gjør ;)

 #209532  av Master
 
Joda. innsugstemp, vanntemp, tenningsbank, etc etc. Det sier deg hvertfall litt om hvordan motoren har det når du gir på! F.eks aktiveres t-vis før 5000 (?) rpm er det jo noe feil. Og er du i "lav" modus med t-vsv så er du i lavmodus på bensinkurva enten du har kobla vekk t-vsv eller ikke, så da vet du jo når den skal yte optimalt eller når den er i safe-mode.

Skader jo ikke å ha hvertfall :D

 #209574  av CelicaTurbo
 
skader selvfølgelig ikke og kan gi noe informasjon, men det viktigste den kan fortelle er at "nå er noenting annerledes enn det normalt skal være under tilsvarende forhold".. T-VIS skal vel normalt aktiveres ved ca 4300 o/min eller ved positivt manifoldtrykk, hva som enn kommer først.. :) Er jo en ganske billig og grei modifikasjon de lysene :)

 #209591  av Larsen
 
Tenkte jeg skulle prøve ut dette så fort jeg klarer å gå (etter ulykken). Hadde jo vært en ide å bytte ut de ubrukelige economi lysene i dashbordet.