Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
It's a irregular waveform.Numerical Integration is necessary but it's pretty difficult to implement in uC .
Another solution is to use external RMS-DC Converter.It will be very practical and the DC value is proportional to RMS value of the waveform.
There is no precise answer to this question; in the end it will depend on the amount of samples per complete cycle of the waveform. Note that signals like the above one, having segments with high skew rate require a higher sampling rate.
Calculate FFT of this signal whatever method (on oscilloscope or on PC) and get fmax of this signal.
Your ADC must samples faster then 2*fmax.
Calculate squares of the samples then calculate mean value and at the end calculate root (LUT as possible implementation of the root function of desired resolution).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.