Hank,

1. why don't you make a full rectifier of your analog signal?

2. is the signal always of the same amplitude?

3. are you after a peak detector or an rms calculator? I am little confused by this thread...

Ioannis