Electronic – Precision Full-Wave Rectifier: Why is the signal’s biggest magnitude at DC

acfftfilterrectifier

I built a Precision Full Wave Rectifier Circuit, like in the following figure( with better amplifiers) to rectify a sine wave of 1kHz. As expected i got a rectified wave with 2kHz but doing its FFT analysis i noticed that the biggest frequency component is at DC(0) can anyone explain me why? Also, I'm sampling this signal with an ADC at much higher frequency around (40 kHz), it order to measure its RMS. Do you find appropriate to build an anti-aliasing filter to the rectified wave and which frequencies should i reject, everything above the 2kHz ?

Circuit Precision Rectifier

Best Answer

The Fourier series of the full wave rectified sine wave is (from here):

Fourier transform of rectified sine wave

The DC component has magnitude 2A/π, while the first AC component has magnitude 4A/3π. So that's why mathematically the DC component is largest. You'd expect a large DC component because rectification makes the whole signal positive.

You don't want to filter everything about 2 kHz because then you'll just end up with a sine wave again. All the frequency components are important to the shape of the curve, so you should keep as many as possible. Because of the Nyquist limit, you'll want an antialiasing filter to remove everything above half your sampling frequency (and a bit more for safety).