I've decided to build, for personal use, a waveform generator based on the AD5930. I'll be able to adjust the output over a 50mv to 20 VPP range - my question is how do I measure the amplitude of the output with any precision? I can either measure (peak detector) the output or control it. For the second option, I'm thinking about using a TI VCA810, driven by an DAC, which has a gain adjust range of +- 40dB. The first option is easy to implement, however it suffers from a lack of accuracy - especially over the frequency and amplitude range I want to cover. The second option looks the most attractive; however it also has it's drawbacks (gain is linear with dB - NOT v/v - so I'll have to try to do Logs in ASM on a micro ) - my primary goal is the accuracy of the measurement. So, any suggestions? Is there an option that I'm overlooking? Thanks for the help...
Hal