Compensate non linearity of transducer by lookup table