Phase Between Signals

The following article was written in response to a question from a visitor to the website. The gentleman in question had been reading some of the Prosig signal processing articles and had the following question.

Dear Sir,

It was interesting reading the articles in your mail.I would like
to know the options available in hardware and/or software for measurement/calculation
of phase angle of first harmonic of a vibration signal which is
sinosoidal. The phase angle is the relative phase angle difference
between the signal and the tacho - one into rpm signal.

Regards.
etc.


Dr Colin Mercer, Technical Director at Prosig, sent the following reply.

Dear Sir

Your enquiry has been passed on to me to answer. In short the answer
is a definite Yes.

I have attatched an example using a tacho and a phase modulated
sinewave in a word document. This shows the detail phase variation
as a function of time, which is like the phase lag in a motor but
is a bit more more complex! Because we use synchronous re sampling
techniques the method handles speed fluctuations as well.

The Prosig software you would need is the DATS package with the
rotating machinery option. We are very used to working with rotating
machinery and including power station turbines, electrical motors,
car engines, aircraft engines and so on. The simplest scheme is
if we can also acquire the data with our hardware – however
the software does have a lot of data import capabilities as well.

Colin Mercer
Ph D, BSc(Eng), FBCS, C Eng
Technical Director, Prosig

The remainder of this article contains the notes written by Dr. Mercer to accompany his reply.

Phase between signals

The objective is to demonstrate calculation of the time varying phase between a reference signal (tacho) and a sine wave. Two test signals were generated using standard DATS modules. The first signal was an eight second bandlimited tacho signal at 20Hz (1200 RPM). A section of this signal is shown below.

The other signal was a phase modulated sinewave, defined by

    \[ y(t) = A sin(2f_ct+m sin 2f_mt) \]

where the carrier frequency, f_c, was also 20Hz, the phase modulation amplitude, m, was was set to 20 and the modulation frequency, f_m, was set to 2Hz. That is the phase varies as (m sin2f_mt).

A section of this signal is also shown below.

Figure 1: 20Hz (1200RPM) tacho signal

Figure 2: Phase modulated sinewave

Figure 3: Both signals overlaid

Figure 4: “Twist” signal

Figure 5: original signals and “twist” signal

With only the sine wave to see, the phase variation is not clear. However, by overlaying the two curves the phase shift is apparent from where the sine wave crosses the tacho leading edge. The variation of the phase is quite evident.

The next step was to analyse the two signals to determine the phase angle variation with time. This used a standard DATS module available in the rotating machinery analysis section. This resulted in the “twist” signal shown above. As expected the angular phase variation is ±20° and cycles every half second.

The final graph is an overlay of all three signals, each to their own scaling.

The processing of the signals includes software resampling both signals synchronously using the tacho as the master reference.This allows for the situation when both signals are varying in speed, that is it is not necessary to have constant speed signals.

Print Friendly

About Dr Colin Mercer

Dr Colin Mercer is the Technical Director of Prosig and has prime responsibility for signal processing and its applications. He was formerly at the Institute of Sound and Vibration research (ISVR), Southampton University where he founded the Data Analysis Centre. He is a Chartered Engineer and a Fellow of the British Computer Society.