Does anyone know how to rectify an AC voltage with DC offset (2.5V)? I need to keep the DC offset voltage in order to do the comparison. My input is an AC signal with 2.5 VDC offset, I tried to set the reference voltage at 2.5 Vdc, but I don't know how. Thanks.