10-03-2018 10:28 AM
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
10-03-2018 12:46 PM
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
10-03-2018 03:43 PM
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
10-04-2018 05:48 PM
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