Electronic – Measuring the amplitude of a sine wave

current measurementvoltage measurement

I want to measure the amplitude of a sine current signal (about 1kHz). The signal is of small amplitude, i.e. smaller than 50 mA. I suppose a simple rectifier is not accurate enough or even doesn't. There are RMS-ICs, however, I think it is "oversized" for this problem.

Have someone an idea or knows a simple and cheap way to obtain the accurate peak value of a sine wave with small amplitude?

Best Answer

What you want is a precision rectifier or peak detector. Here's an example schematic, courtesy Wikipedia:

enter image description here

Effectively, this acts like a diode would, but uses the opamp's feedback in order to eliminate the diode drop. The diode D2 in this circuit is necessary to prevent the opamp from going into saturation when the signal is negative; allowing it to go into saturation causes poor behaviour when the signal crosses back over to positive, as it has to slew across half its range very rapidly.

If you're concerned only about peak measurement, you can easily convert this to a peak detector by adding a capacitor on the output.

Finally, for peak detection, you can simplify this further by using a comparator in place of the opamp, charging the capacitor via a resistor, which allows you to remove one resistor and one diode:

schematic

simulate this circuit – Schematic created using CircuitLab

Comparators do not have the slew rate issues of opamps - removing the need for D2. R1 is necessary to prevent the output overshooting the desired setpoint before the comparator can respond and turn off.