Results 1 to 2 of 2

Thread: Knock Counts and Knock Retard Degrees – AUJP $8d

  1. #1
    Fuel Injected! 84Elky's Avatar
    Join Date
    Jul 2012
    Location
    Montgomery, AL
    Posts
    204

    Post Knock Counts and Knock Retard Degrees – AUJP $8d

    150+ hours and done, hopefully! Would have been faster if better with Assembly language.

    The analysis of this subject was started due to a desire to understand why logs were periodically reporting Knock Retard Degrees when Knock Counts were not being reported. That analysis has been completed and resolved, and is posted here: http://www.thirdgen.org/techboard/di...-reported.html (Solved-Knock Retard Reported When No Knock Count).

    While reviewing that issue, it became obvious there was more than one area of the code that had to be analyzed to fully understand everything to do with Knock Counts and Knock Retard Degrees. Wow! There is a Power Enrich (Forced) Knock Test, Low Octane Spark Retard logic, different types of spark retardation, Knock Counts, minimum degrees of spark retard, decay of spark retard degrees, hundreds of bit-flags to control things, variables that are saved and never used, …. To say that the logic associated with this subject is convoluted and confusing is an understatement! I can’t imagine the difficulty in initially programming it. It causes a severe brain cramp just tracing through it.

    Everything documented from this review has been checked many times to ensure accuracy. However, due to the intertwining of so many things, errors are certainly possible! A critical review and comments as to accuracy are welcomed. Changes will be promptly made and posted.

    Without the comments in JP’s AUJP hack, it would have been impossible to accomplish this. Thanks JP for those comments, and to any others who may have contributed!!!

    Hopefully the attached will add to the AUJP work already done. It includes:
    • a summary of the Spark logic flow of the code
    • a detailed discussion of each involved code segment as to what it does, etc.
    • a time-line showing when each code segment is executed
    • flowcharts of the relevant code segments
    • results of simulating code segments

    EDIT 84Elky
    The files associated with this post are available in the Fuel Injection Writeups Articles and How to New and Old Forum found at the link below:
    http://www.gearhead-efi.com/Fuel-Inj...rees-–-AUJP-8d

    DOCUMENT VERSIONS:
    Posts will be made here anytime the document is updated:

    Version 3 - May 30, 2013
    • Code execution frequency changes and updated code segments with additional comments. See "Corrections" section of the document for details.


    Version 2 - Jan 27, 2013
    • Corrected execution time of code segments of Subroutine LSEG_A


    Version 1 - Jan 19, 2012
    • Corrected Spark Minor Loop Execution time.


    Initial Release - Jan 10, 2013
    Last edited by 84Elky; 05-31-2013 at 05:59 PM. Reason: Linked to files in Fuel Injection Writeup Articles

  2. #2
    RIP EagleMark's Avatar
    Join Date
    Feb 2011
    Location
    North Idaho
    Age
    63
    Posts
    10,477
    That is an amazing amount of work! Shows how complicated these systems are. Thanks for sharing you work and time so we all learn and get a better understanding!

    I put all the files together with direct download link to simplify it to one document!

    For more of 84 Elky work with $8D take a look at his analyzer!
    http://www.gearhead-efi.com/Fuel-Inj...6094#post16094

    1990 Chevy Suburban 5.7L Auto ECM 1227747 $42!
    1998 Chevy Silverado 5.7L Vortec 0411 Swap to RoadRunner!
    -= =-

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •