Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/28/05 17:56
Read: times


 
#94054 - RMS Calculation
Hi all,

RMS Calculation:

How to calculate RMS value of signal ?
Any language will do...
Controller used: 89c668, 8051 instruction set

1) I can collect all the samples and then apply mathematical formula and calculate RMS value.

2) For that I need to find

Square of each sample
Cumulative addition of squared samples
Divison/Mean
Square Root

Now I need help regarding square root calculation.
Is it advisable to use 'sqrt' function supported by Keil?
If not, which algorithm would be best for square root calc.?


*** And another issue is abt clock speed
How to select particular clock speed? I know abt baud rates conideration etc... But does it alwayz mean, higher the clock rate, better the performance ??? How CLK affects system performance?

Please guide me regarding both issues.
Thanking You.

Neil.




List of 20 messages in thread
TopicAuthorDate
RMS Calculation            01/01/70 00:00      
   Going back to basics...            01/01/70 00:00      
   How Many Samples Per Second?            01/01/70 00:00      
   Square Root Algorithm            01/01/70 00:00      
   RMS for sinusoidal signals            01/01/70 00:00      
      Clarification            01/01/70 00:00      
         I beg a question...            01/01/70 00:00      
            Full o' holes            01/01/70 00:00      
            Bang on target...            01/01/70 00:00      
         thats true...            01/01/70 00:00      
   RMS Value            01/01/70 00:00      
      Please elaborate more...            01/01/70 00:00      
         Elaboration            01/01/70 00:00      
            Correction            01/01/70 00:00      
               DC+AC RMS            01/01/70 00:00      
                  DC contribution to total rms value            01/01/70 00:00      
            Thanx Anywayz...            01/01/70 00:00      
               square root by Newton's Rule            01/01/70 00:00      
               Lookup table            01/01/70 00:00      
                  better option...as of now            01/01/70 00:00      

Back to Subject List