thanks for the advice, i had compltely skipped your mention of that part in that vid when i watched it originally.
Very nice device, i ran a quick simulation and seems to work, now to try and get one of those(and they're dip as well, hooray!), i won't be needing the 20Mhz as the ripple will probably be below 1Mhz, but it can't hurt either.
What i do notice is that if i try to AC couple the input, it adds quite the offset to the input after the decoupling cap, does the AD8036 requires a low-impedance input to work?
For a fast (20MHz) full wave precision rectifier, try the AD8036:
http://www.analog.com/static/imported-files/data_sheets/AD8036_8037.pdf
See the app note.
Mentioned in blog #38
Dave.
scrat, actually it won't go down to 0Hz, i think the lowest freqs will be around 20 to 50Hz.
It isn't viable to build a reference value and a diference amplifier as the voltages are high and the values are nominal, thus there can be variations which would be problematic to differentiate.
Time response is not of the essence as long as it outputs the peak.
tecman, the large spikes(under/over) will better be handled by a dedicated window comparator, i rather not dwelve into logarithmic amps and dynamic range issues as i need the best of both world in as simple package as possible.
What's the best way to AC couple the input signal?, a simple CR highpass filter?, or a buffered highpass with an opamp(but that can distortion the original ripple if i'm not careful about the amp) to provide low impedance to the AD8036?