07-30-2015 01:53 AM - edited 07-30-2015 02:04 AM
Hi! I'm having trouble finding accurate phase difference between two signals.. one signal is from the input serial communication arduino and the second signal is a simulated signal. I want to find the phase difference between these two. I've googled a lot and found many similar threads of phase difference measurements, but it won't work.
The phase angle from the simulated signal is correct but the reading of the phase angle from the input signal keeps changing and I could not find an exact phase angle or phase difference.
What do you think I should do?
07-30-2015 02:46 AM
Hi lamela,
cleaning up your BD still isn't on your priority list, isn't it? 😄
the reading of the phase angle from the input signal keeps changing
I guess the input signal also keeps changing?
What do you expect? What does the signal look like?
On your VI image:
Why do you need ExpressVIs to index a waveform from an waveform array? Why not use IndexArray? (Apart from other questionable items…)
08-02-2015 11:02 PM - edited 08-02-2015 11:29 PM
The signal and reading are stable and it is a continous sine wave. All the VI I've found won't work, the phase for the input signal will keep changing, this makes the phase difference ever changing so there is no definite value..
08-02-2015 11:32 PM
08-03-2015 12:22 AM
Do both signals have the same frequency?
08-03-2015 01:02 AM - edited 08-03-2015 01:05 AM
Yes, both have the same frequency! The multiple points from the signal are correct too.
08-03-2015 01:13 AM
@lamela wrote:
The multiple points from the signal are correct too.
Sorry, I have no idea what that means.
08-03-2015 01:17 AM
I mean the multiple readings from the 1D array I plot from the signal. The signal and reading are stable but the phase keeps changing?
08-03-2015 01:59 AM - edited 08-03-2015 02:00 AM
08-03-2015 02:03 AM
GerdW wrote:yes, the phase keeps changing when you read just parts of your sine wave (aka no full periods of the sine wave).
He's looking at the phase difference between two signals, though.