Coolant and Inlet Air Temps Transfer Required Accuracy??
Posted: Sun Jun 15, 2008 5:36 pm
OK, I was thinking 8x2 table from ADC > multiplication factor using interpolation and curve fitting. I just looked at what Peter Siebold's aems555 has, and he has a 1:1 ADC > Temp value array 1024 elements long. Each ADC value has a particular temperature pre assigned to it. This seems like a horrendous waste of space, though I can see that it would be fast and simple as you can just use the raw ADC value to index the array and you have your value directly. On the other hand it uses 1024 x 16 bits of space = 2K of memory! I wonder will a transfer table and math code take up the same space or more space or less space? Will the math be too slow? Do we want to blow away 2K just like that? Are the errors that we will get from a mult factor transfer acceptable? What about if we use a direct ADC > Temp table with interpolation? How many cells do we need to use before we are "close enough to not care"? etc. Peter is a switched on guy though.
Please post your thoughts on this.
I might sit down and analyse the options at some point.
EDIT : MS2E does it the same way as Peter did.
Do we need to follow Peter's suit or can it be done more efficiently?
Fred.
Please post your thoughts on this.
I might sit down and analyse the options at some point.
EDIT : MS2E does it the same way as Peter did.
Do we need to follow Peter's suit or can it be done more efficiently?
Fred.