Abstract: A logarithmic level detector (9) produces analog signals that represent logarithms of the voltage across, and current through, a target device (7). These signals are then passed to a processor (1) that performs a digital conversion. Because the digital conversion takes place after logarithmic conversion, it becomes possible to obtain an appropriate resolution for all signal levels, and a calculation of impedance of a target device, with reduced error, is enabled.