??? 05/29/05 07:05 Read: times |
#94079 - RMS for sinusoidal signals Responding to: ???'s previous message |
Hi neil!
I've done work on calculating the RMS value of a sinusoidal signal. Here is what I did: @ Interface ADC with 8051. @ Take lots of samples(not necessarily in one second or something) @ Find the maximum(say Vmax) and minimum(say Vmin) value out of the samples.(When you take lots of samples, one value has to be the peak maximum value and one will be the peak minimum value) @ Calculate the RMS using the formula: (Vmax-Vmin)/(2*1.414) I did this as a part of a programming competition and it works pretty fine. you can get a reasonably accurate value. The only thing i knew about the input signal was its frequency. I tried the taking square, summing them and taking the square root type methd, but this worked fine. |
Topic | Author | Date |
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 |