Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Wtttttfffffffffff!!!!!!!!!!!!!!!!

  1. #1
    Junior Member
    Join Date
    Feb 2006
    Posts
    49

    Default Wtttttfffffffffff!!!!!!!!!!!!!!!!

    Alright, i'm SO extremely frustrated right now....

    I've got the latest version of EFILive, and I'm currently trying to make some changes to my small pulse adjust table for the injectors. These are the numbers I'm trying to put in.


    0
    0.334345
    0.3125
    0.27834
    0.242188
    0.206754
    0.15625
    0.113457
    0.070313
    0.034523
    0.015625
    0
    -0.007813
    -0.019832
    -0.046875
    -0.056273
    -0.060321
    -0.070313
    -0.07425
    -0.078125
    -0.078125
    -0.078125
    -0.068745
    -0.0625
    -0.0543
    -0.046875
    -0.043456
    -0.039063
    -0.02564
    -0.015625
    0
    0.015625
    0.02005
    0.023438
    0.027854
    0.03125
    0.03125
    0.03125
    0.025678
    0.023438
    0.023438
    0.023438
    0.023438
    0.023438
    0.023438
    0.023438
    0.023438
    0.023438
    0.023438
    0.023438
    0.023438
    0.023438
    0.023438
    0.023438
    0.023438
    0.023438
    0.023438
    0.023438
    0.023438
    0.023438
    0.023438
    0.023438
    0.023438
    0.015678
    0.007813
    0.003921
    0


    Once I put those number in, and then I save the tun file, it changes the numbers!!!!!!!!!!!!!!!!!!!!!!!!

    I've tried zero'ing it out, that works, reload tune, they're all zero. Then I put the numbers in, and IT WILL CHANGE THEM AGAIN. It changes them to these numbers...

    0.000000
    0.334345
    0.319148
    0.273555
    0.243160
    0.212765
    0.151975
    0.106383
    0.075988
    0.030395
    0.015198
    0.000000
    -0.015198
    -0.015198
    -0.045593
    -0.060790
    -0.060790
    -0.075988
    -0.075988
    -0.075988
    -0.075988
    -0.075988
    -0.075988
    -0.060790
    -0.060790
    -0.045593
    -0.045593
    -0.045593
    -0.030395
    -0.015198
    0.000000
    0.015198
    0.015198
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.030395
    0.015198
    0.015198
    0.000000
    0.000000

    But THESE ARE NOT THE NUMBERS I WANT. Can someone PLEASE shed some light for me.

    I've also tried renaming the tune file, and saving it in another location on the harddrive, but it always changes the numbers to the ones above when I save the file, I can't for the LIFE OF ME get it to save properly, and I'm about to lose my mind.

  2. #2
    Junior Member
    Join Date
    Feb 2006
    Posts
    49

    Default

    Oh yea, Also, when I change a number in the TPS vs RPM table (running COS v5 for a 2001 PCM Trans Am) it will change that number too. Like, I put in 32.09, save the file, reload it and then it changes to 32.087.

    Also, I try to add .006 to my minimum injector pulse width and default minimum injector pulse width table. So, my original table numbers were

    0.000000
    0.790270
    0.790270
    0.790270
    0.790270
    0.790270
    0.790270
    0.790270
    0.790270
    0.790270
    0.790270
    0.790270
    0.790270
    0.790270
    0.790270
    0.790270
    0.790270
    0.790270
    0.790270
    0.790270
    0.790270

    and I put in the following...

    0.000000
    0.796875
    0.796875
    0.796875
    0.796875
    0.796875
    0.796875
    0.796875
    0.796875
    0.796875
    0.796875
    0.796875
    0.796875
    0.796875
    0.796875
    0.796875
    0.796875
    0.796875
    0.796875
    0.796875
    0.796875

    Save the tune file, reload the tune file, and walla, same fucking numbers as were there before. I zero out the table, save the file, reload, still all zeroes, put back in the numbers I want, and save it, reload, and get the same fucking numbers i had before (the first set of numbers in this particular post).

    So please, what the hell is going on here?

  3. #3
    Lifetime Member
    Join Date
    Mar 2006
    Posts
    573

    Default

    Try this....


    Open up that table your messing with..

    Press (CTRL+ALT+I) to Increase Number of Decimal Places..

    Its just rounding off the numbers.. see if this shows you the right value..

  4. #4
    Lifetime Member
    Join Date
    Mar 2006
    Posts
    573

    Default

    Bottom Right of your Toolbar there is a button that looks like

    _+ _______________ -
    .00 ______________ .00


    The one on the left increases the Decimal places (CTRL+ALT+I)
    The one on the right Decreases the decimal places (CTRL+ATL+O)

  5. #5
    Junior Member
    Join Date
    Feb 2006
    Posts
    49

    Default

    Sorry man, its not that. Already have it maxed out, and it is not rounding the numbers, its reverting the numbers back.

    If it was rounding, then why when I put in 32.09, save the file, then the number is now 32.087?

  6. #6
    Lifetime Member
    Join Date
    Mar 2006
    Posts
    573

    Default

    Quote Originally Posted by Haans249 View Post
    Sorry man, its not that. Already have it maxed out, and it is not rounding the numbers, its reverting the numbers back.

    If it was rounding, then why when I put in 32.09, save the file, then the number is now 32.087?

    AH.. well thats over my head..

    i was thinkin it changed 32.087 to 32.09....

    TTT for ya i guess..

  7. #7
    Lifetime Member Aloicious's Avatar
    Join Date
    Nov 2007
    Posts
    453

    Default

    here ya go:
    Quote Originally Posted by Blacky
    There's a post about it here:
    http://forum.efilive.com/showthread.php?t=792

    Quote:
    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:


    Quote:
    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
    I've learned to just accept that the computer is not as anal retentive as me when it comes to rounding. after all the rounding occurs at extremely small fractions.
    1996 c1500 gen1e 5.7L - the "LS31", 24x CNP, LS2 coils, modified T56, 12200411PCM running COS3, zz4 cam, custom MPFI, etc. coming soon: Twin Turbos

  8. #8
    Junior Member
    Join Date
    Feb 2006
    Posts
    49

    Default

    So, what you're saying is that if I multiply any number in my table by 128 i'll get a positive whole integer (no decimal)?
    Attached Files Attached Files

  9. #9
    Junior Member
    Join Date
    Feb 2006
    Posts
    49

    Default

    NM, that was a stupid question, so I guess no matter what, I can't get exact numbers with this part. SOOOOOO frustrating.

  10. #10
    Lifetime Member Aloicious's Avatar
    Join Date
    Nov 2007
    Posts
    453

    Default

    Quote Originally Posted by Haans249 View Post
    So, what you're saying is that if I multiply any number in my table by 128 i'll get a positive whole integer (no decimal)?
    no, not necissarily a whole integer, but rather that the values go in steps, of 0.0078125. so if you put in a value of say .01011 it has to round it up to 0.015625 (i.e 0.0078125*2)

    its simply because the information you're entering in is more precise than the PCM can store and use, so efilive rounds to the nearest usable step so the PCM can process it.

    or at least thats how I understand it. and afterall, the rounding is only 7.81*10^-3. thats about 7/1000, and in the calculations, a pretty insignificant amount.
    1996 c1500 gen1e 5.7L - the "LS31", 24x CNP, LS2 coils, modified T56, 12200411PCM running COS3, zz4 cam, custom MPFI, etc. coming soon: Twin Turbos

Page 1 of 2 12 LastLast

Posting Permissions

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