??? 10/23/07 14:13 Read: times |
#146076 - Calibration? Responding to: ???'s previous message |
Steve M. Taylor said:
Don't feel you have to use floating point maths either, it can be done fixed point. Yes, I'm well aware that fixed data types will do the job but the thing is, in my application there are no calibration pots to twiddle. The calibration is done in software, the MCU requests the end user to input 1.70000V, then the MCU requests -1.70000V, both these figures can be adjusted by the end user to match the inputs. The MCU then calculates a maths transfer function, once achieved the ADC value after the CR low pass filter is passed to the latter transfer function and then to the display. Due to accuracy considerations, I'm using floating point in my application, but I am only using about 5 or so floating point data types or variables, the rest are fixed point. Cheers Jason |