A non linear ADC for sensor linearization