LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RMS measuring implementation in LabVIEW. Cycle RMS measuring methods research.

I'm carrying out a little educational research on estimating and comparing cycle RMS measuring methods accuracy.

The methods under this scope are: direct calculation method and filtering method.

 

Direct calculation is perfomed according to well-known trivial formula:

RMS = sqrt( sum(x[k])^2 )

 

 

Filtering method is perfomed by extracting waveform subset with duration equal to waveform period

and perfoming the following operations on it:

 

1. calculating square of the waveform elements

2. perfoming lowpass filtering of the waveform

3. taking square root of the waveform elements

4. calculating mean of resulting sequence. This mean would be cycle RMS

 

 

That's why I need to know how these VIs are implemented:

 

Basic Averaged DC-RMS

Averaged DC-RMS

Cycle Average and RMS

 

Built-in help is not sufficient to suit my needs.

 

Block diagrams of these VIs are too complicated for me to undestand.

And, however, the most important implementation details might be encapsulated in DLLs.

 

0 Kudos
Message 1 of 6
(3,318 Views)

You can dig into the subVI of these functions and find the help for the "primive" function.  Here's an example of the help for the primitive "RMS.vi".

 

Message 2 of 6
(3,298 Views)

Michel_Gauvin, but if we have a look at the Cycle Average and RMS VI hierarchy, we'll see that

there is no primitive RMS VI there, but a CycleRMSAverage function call from a corresponding DLL.

Thus, this VI works somehow different. In particular, I've experimentally found out, that it can calculare RMS of periodic waveform with better accuracy. Although, it was expected to do so according to its' name "Cycle <...> RMS".

 

0 Kudos
Message 4 of 6
(3,267 Views)

Can you provide your experiment code that provides better accuracy compared to what? so I can run it? I'd like to see the parameters that you input to this function.

 

 Also, here's the help for "Cycle Average and RMS.vi":

 

help.png

Message 5 of 6
(3,254 Views)

The Cycle RMS first does some calculations to actually find a cycle start and cycle end and then do the RMS caluclation on that cycle.  Yes, this will be more accuract than the standard RMS unless you have exactly and whole number of cycles (no extra points outside of a complete cycle).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 6 of 6
(3,227 Views)