I want to be able to measure a pulse unipolar with a DC offset (programmable) from 10mV to 250mV; maximum amplitude of 500mv square wave Variable duty cycle 10 to 50%.The frquency of the pulse is seletable from 10kHz to 100kHz. The measurement is a square wave from a resistor current shunt.
The idea I have is use an rms to DC converter IC and feed the DC output to a PIC 10 bit ADC clocked at 20MHz and do the math on the pic to get the average current then calculate the average power. I was wondering is this the best way to go about this or is their a better way? Looking at rms to dc IC's with 100 kHz + BW aren't exactly cheap.