Re: RMS current on AVR microcontroller





Jamie Morken wrote:

Hi,

I am using a AVR microcontroller at 4MHz and have a varying frequency
(50Hz max) sine wave from an allegro current sensor, is there a low
computational algorithm to calculate a close approximation to the RMS
current for a signal like this? The signal into the allegro current
sensor is a sine wave within about +-3amps.

Well ... you could sample it and do the RMS calculation mathematically.

Graham

.



Relevant Pages

  • RMS current on AVR microcontroller
    ... I am using a AVR microcontroller at 4MHz and have a varying frequency ... The signal into the allegro current ... sensor is a sine wave within about +-3amps. ...
    (sci.electronics.design)
  • Re: RMS current on AVR microcontroller
    ... The signal into the allegro current ... sensor is a sine wave within about +-3amps. ... The mean square of A must equal the mean square of 1/B ...
    (sci.electronics.design)
  • Re: RMS current on AVR microcontroller
    ... The signal into the allegro current ... sensor is a sine wave within about +-3amps. ... For signals 50Hz to DC how many points ...
    (sci.electronics.design)
  • Re: RMS current on AVR microcontroller
    ... The signal into the allegro current ... sensor is a sine wave within about +-3amps. ... If you're sampling the signal through the ADC anyway, you may be able to brute force it, by just summing the squares. ...
    (sci.electronics.design)
  • Re: RMS current on AVR microcontroller
    ... The signal into the allegro current ... sensor is a sine wave within about +-3amps. ... 3phase rectifier and would like to know the cycle ...
    (sci.electronics.design)