High frequency measuring

Then just measuring the DC level from a low pass filter.