Abstract: A method for electronic compensation of erroneous readings is based on the observation that a sensor serving as a transducer is caused to resonate. The erroneous reading caused by the resonance is measured and a compensation signal is feedback into the measurement element, the signal being essentially unfiltered. An apparatus uses error detection and compensation circuits whose upper barrier frequency are above the resonance frequency of the transducer for detecting an error signal caused by resonance in the transducer and for generating a compensation signal for feeding into the detector sensor.