Results 1 to 8 of 8

Thread: Tuning Tool ?

  1. #1
    Lifetime Member
    Join Date
    Oct 2005
    Posts
    551

    Default Tuning Tool ?

    Why do the values in the tables change on their own when I re-open the tuning tool? For example, in the table below 11.0 has become 10.999 and 11.8 has changed to 11.796. I've had the same thing happen with the B3647 table. I can increase the number of decimal points to remove all of the unwanted digits and re-save, but next time I open the tuning tool I have different numbers again.

    Will the semi-closed loop feature of the custom OS work if my AFR values are not exactly 14.63?

    2017 Camaro SS, 2014 Ram 2500 4x4 Cummins 6.7L, 2004 Chevy Avalanche Z71 4̶X̶4̶(now 2WD), 5870lb race weight, 10.93@ 124, Twin TVS1900s, Twin Throttle, 429 LSX, 4L80E, custom 14 bolt rear, V2, R̶o̶a̶d̶R̶u̶n̶n̶e̶r̶(dead), COS3......
    Gettin' the Groceries

  2. #2
    EFILive Crew Site Admin Tordne's Avatar
    Join Date
    Oct 2004
    Posts
    3,870

    Default

    It is apparently the way that the PCM records values.

    If you want Semi-Open Loop the best thing to do is change the display units for AFR's to EQ Ratio, then set the cells in the B3647 table to a value of 1.00. Or copy the value from the B3601 if you are displaying units as AFR. The B3601 value is not in all tunes and if it is not present your OS has this value hard coded as 14.628573 (which is the default anyway).
    Andrew
    EFILive Crew


  3. #3
    Lifetime Member
    Join Date
    Oct 2005
    Posts
    551

    Default

    Thanks. No B3601 in my OS.

    So EFILive converts the numbers to something that the PCM will like better?
    2017 Camaro SS, 2014 Ram 2500 4x4 Cummins 6.7L, 2004 Chevy Avalanche Z71 4̶X̶4̶(now 2WD), 5870lb race weight, 10.93@ 124, Twin TVS1900s, Twin Throttle, 429 LSX, 4L80E, custom 14 bolt rear, V2, R̶o̶a̶d̶R̶u̶n̶n̶e̶r̶(dead), COS3......
    Gettin' the Groceries

  4. #4
    EFILive Crew Site Admin Tordne's Avatar
    Join Date
    Oct 2004
    Posts
    3,870

    Default

    Thats what I understand. I've seen some posts on here but can't find them.
    Andrew
    EFILive Crew


  5. #5
    Lifetime Member TAQuickness's Avatar
    Join Date
    Jan 2005
    Posts
    2,940

    Default

    Has to do with the number of bit's alotted for for each value.


  6. #6
    EFILive Developer Site Admin Blacky's Avatar
    Join Date
    Mar 2003
    Posts
    9,501

    Default

    There's a post about it here:
    http://forum.efilive.com/showthread.php?t=792
    It is due to the precision of the data stored in the PCM.
    The PCM stores each single cell's value as a 16 bit number.
    That means each value can only have 1 of 65536 distinct integer values.

    For example (assuming the precision is 1/64 per bit - it's probably different to that, I can't remember of the top of my head) the value 10.1234 grams/second would be converted to 10.1234*64 = 647.8976. Since the value MUST be stored into a 16 bit integer value (with no decimal places) the value 648 would be stored in the PCM (or *.tun file). When that is read back again it would be converted back to grams/second like this: 648/64 = 10.125

    The same rounding occurs with ALL calibrations, it is just more noticable in the injector flow rate calibration because it uses 4 decimal places of precision.
    Plus another description here:

    It is something that we have no control over. It is not a PC or windows thing it is a GM PCM thing. It is not even really a "problem" it is just the way the PCM works.

    The PCM uses a 16-bit Motorola CPU which is optimized to perform integer arithmetic on 16-bit values. The PCM stores 90% of all calibration values as 16 bit integers, not true floating point values. The other 10% are 8-bit integers.

    For example:
    With 16 bits you can store only 65,536 unique values. When representing a value, say Grams/Second in the range 0 to 512 (which is what the B4001 table does), then the precision is 65536/512 = 128. Each unique value of the 65536 values that can be stored is 1/128th of 512, which means that each value is quantized in steps of 0.0078125.

    Precision greater than that is not possible. EFILive "rounds" all values to the nearest quantized step value.

    Of interest: you can see the maximum value for grams/second is 511.992 (not 512) because 65535/128=511.992. You'll also notice that if you multiply the values displayed in the MAF table by 128, you should end up with a whole number in the range 0..65535 or very close to a whole number. Because we only use 6 decimal places, some rounding at the 5th or 6th decimal place may occur. But 0.0001 grams per second is not significant when tuning a car
    Before asking for help, please read this.

  7. #7
    Lifetime Member
    Join Date
    Oct 2005
    Posts
    551

    Default

    Interesting.
    2017 Camaro SS, 2014 Ram 2500 4x4 Cummins 6.7L, 2004 Chevy Avalanche Z71 4̶X̶4̶(now 2WD), 5870lb race weight, 10.93@ 124, Twin TVS1900s, Twin Throttle, 429 LSX, 4L80E, custom 14 bolt rear, V2, R̶o̶a̶d̶R̶u̶n̶n̶e̶r̶(dead), COS3......
    Gettin' the Groceries

  8. #8
    Joe (Moderator) joecar's Avatar
    Join Date
    Apr 2003
    Posts
    28,403

    Default

    Fixed point values stored as integers.

Similar Threads

  1. Tuning tool not following scan tool (VE table)
    By dvx in forum General (Petrol, Gas, Ethanol)
    Replies: 3
    Last Post: October 19th, 2008, 09:43 AM
  2. Tuning Tool not tracking MAP properly?
    By gto_in_nc in forum General (Petrol, Gas, Ethanol)
    Replies: 2
    Last Post: October 13th, 2007, 01:32 PM
  3. Missing parameters in tuning tool?
    By QUICKSILVER2002 in forum General (Petrol, Gas, Ethanol)
    Replies: 6
    Last Post: April 17th, 2006, 03:03 PM
  4. When I get the tuning tool
    By DebianDog in forum General (Petrol, Gas, Ethanol)
    Replies: 3
    Last Post: March 30th, 2004, 02:25 AM

Posting Permissions

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