Best way to convert peak voltage to RMS?


Results 1 to 3 of 3

Threaded View

  1. #1
    Join Date
    Mar 2009
    Posts
    653

    Default Best way to convert peak voltage to RMS?

    At the moment, I have a PIC monitor peak voltage of an AC sine wave-esque signal which varies in frequency up to 1.5khz max (basicallly just sampling an AtoD pin very regularly...if it's greater than the last sample, store it, if it's not greater, then decrement the running stored total by one - kind of like a psuedo capacitor discharging).

    It works, but I'd really rather track RMS voltage ...which is just peak voltage multiplied by .707 .....now bearing in mind it'll have to do this calculation in between all AtoD samples, I'm wondering what the best approach would be .....I'd rather keep this is inside a PIC (vs using didoes, resistors & caps externally into an AtoD pin).

    top tips warmly received.
    Last edited by HankMcSpank; - 1st June 2012 at 16:09.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts