Is there a simple automatic variable gain amplifier that I could use to keep the peak-to-peak output voltage constant at the output of a logarithmic amplifier? I'd imagine I could use the logarithmic amplifier output as a parameter in the error voltage signal. Note that the maximum frequency of the output signal is 50 MHz, so I don't need to use a microwave VGA.