LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Analyze this waveform - Which filter to use?

I am trying to get the two sine wave from the waveform in the attached picture.

Is there some way that I can automate the analysis?

 

DOK

0 Kudos
Message 1 of 4
(2,256 Views)

A couple thoughts occur to me off the top of my head, but it's best to first understand why you have a dataset that looks like that.  That'll be important to make sure that the algorithm's assumptions will be warranted for future datasets.

 

You have what *looks like* a sum of a sine and a square wave of different frequencies.  I think I'd be inclined to characterize and subtract out the square wave contribution, leaving the sine.  

 

 

-Kevin P

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 2 of 4
(2,231 Views)

Kevin:

You are correct that is is a SUM of a Sine and Square wave. This is my attempt at creating an example of the actual waveform for analysis.

The task is to find the RMS of the "upper" and "lower" sine portion of this waveform.

So I expect to have 2 values at the end, one that is the RMS of the high side, and one for the low side

 

I hope this sorta answers your question

 

DOK

 

0 Kudos
Message 3 of 4
(2,216 Views)

The vi "Extract Single Tone Information" can do an excellent job on your idealized simulated data.   It may be helpful with your real world data too, but that'll depend on how the real data differs from your simulated set and I have no way of knowing that.

 

Below is a starting point to tinker with simulated data.

 

 

-Kevin P

 

sine plus square.pngsine plus square.vi Front Panel.png

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
Download All
0 Kudos
Message 4 of 4
(2,193 Views)