PDA

View Full Version : Values in tune being changed after saving and reopening tune



GMCtrk
June 17th, 2014, 04:51 AM
Just wondering if anyone else has seen this issue. It's a COS3 tune on 2002 OS. I'm inputting the new injector values, save the tune, reopen and the values have been automatically changed. I.e., minimum injector pulse width set to 0.125 ms and is changed to 0.121580 on its own. I've seen this issue when setting the stoich value, but since i run E85 (stoich AFR 9.76) that had to do with going below the hard limit of the PCM I believe. Any input?

joecar
June 17th, 2014, 07:25 AM
Due to binary quantization (i.e. can only represent discrete values in binary, can't represent real values), the tunetool is saving the closest representation to what you entered.

as a crude example, let's say:
0.5 is represented as 0.100,
0.25 is represented as 0.010,
0.125 is represented by 0.001,
then 0.625 is 0.101 and 0.75 is 0.110... but there is no exact representation for any values in between... e.g. the closest to 0.65 is 0.625 (0.101).

5.7ute
June 17th, 2014, 01:03 PM
Exactly as Joe said.
In your example, the pcm is using a value of 0.015198 as the scaler.
When you enter 0.125 as the parameter value (which would be 8.2 from the scaler), the pcm will round this to the nearest value (8 at the parameters address.) So when you next open the file the value of the parameter will be shown as 0.12158.

GMCtrk
June 19th, 2014, 07:23 AM
Thank you the responses. Makes good sense.