ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Phase difference analysis question

I know there are a lot of signal processing experts on this board and wish I could get some nice suggestions.
I have a two channel data: one is the load signal like sine wave; the other is the response signal with a pulse in each load cycle. I am going to analyze whether there is phase shift for the pulse to the load signal. Visually it is very straightforward to "measure" the phase between load peak and pulse peak. But it's hard to code it. I believe there are a bunch of better ways for coding easily (I am considering cross-correlation). Since these are high frequency signals, the size of the data set is huge, which makes such processing time-consumming.
Any suggestions? Thanks!!!
 
0 Kudos
Message 1 of 4
(3,070 Views)
 

Hi JayZ,

Please take a look at this KnowledgeBase.  It describes how to determine phase mismatch between two different signals.

If this does not answer your question, please do not hesitate to let me know and perhaps restate the questions.

Best of luck on your application, and have a wonderful day!!

 
Regards,
Ching P.
DAQ and Academic Hardware R&D
National Instruments
Message 2 of 4
(3,057 Views)

Thanks a lot! Could you give any detail about the algorithm inside this Single Tone Information.vi? For a real-world signal, does it pick the strongest peak or first peak, ... Just want to know more before I could use it.

Thanks.

Jay

0 Kudos
Message 3 of 4
(3,047 Views)
I find the answer in the help. Thank you very much! Jay
 
Extract Single Tone Information 1 Chan.vi
 
"Takes a signal in, finds the single tone with the highest amplitude or searches a specified frequency range, and returns the single tone frequency, amplitude, and phase. You can use this polymorphic VI to analyze a waveform or an array of waveforms."
0 Kudos
Message 4 of 4
(3,043 Views)