01-02-2009 03:30 PM
Phase angle values aren’t the same tia sal22
Greetings All
I created a test VI to see how to calculate and verify the phase difference between two generated signals. It seems to work but the phase angle values are different if I put in 180 for phase slider 1 and 0 for phase slider 2 I get 151.1 degrees. Am I doing something wrong (it should say 180)? Is this the right way to do this or is there a more efficient way to proceed. I’m going to acquiring an audio signal on the left and right channel of my audio input and would like to measure the difference in phase.
Tia sal22
Solved! Go to Solution.
01-02-2009 10:14 PM
01-03-2009 08:41 AM
hahahah I guess that fixed my problem but it really doesn't explain why the phase angle numbers don't match up.
07-30-2009 01:53 AM
07-30-2009 11:28 AM
Nope never got an answer the last guy basically said to minus the two inputs a-b it wasn't even comparing the two output phases of the signal. hahaahahaha but that doesn't do me any good if I'm comparing two audio signals with unknown frequencies and phases. see pics that just don't make any sense. Thought this would be simple....I guess not.....
07-30-2009 01:42 PM
I tried to re-create this issue. It seemed to be a rounding issue.
Instead of 180 degrees, it would give anywhere between 160-200 degrees for the phase difference.
I found if you use a data type with more precision eg DBL, it helps.
Also, you could try rounding the phase at the at of the calculation.
You could see the attached example to see what I did.
07-30-2009 04:06 PM - edited 07-30-2009 04:08 PM
07-30-2009 10:55 PM
Thanks for the update..
I am trying to draw frequency response (bode Plot) for my control valve. I am not getting the phase angle properly 😞 If u gusy have any idea please help me.
I am taking o/p from LVDT which is connected to control valve. I am using DAQ 6036E. Please see the attachments.