How to Calculate Phase Difference from a Lissajous Figure.
I'd long been curious how Lissajous figures can be used in practice. The other day, leafing through the documentation for Rigol DS series oscilloscopes, I found how to use Lissajous figures to measure the phase difference between two signals under test. The method described in the documentation is called the ellipse method, and it works like this: in X-Y mode, signals of equal frequency but shifted in phase form an ellipse. The geometric dimensions of the ellipse depend on the phase shift between the signals and the ratio of their amplitudes. By taking certain measurements, you can calculate the phase difference between the signals. If the major axis of the ellipse lies in the first and third quadrants, the phase shift between the signals is in the range from 0° to 90° or from 270° to 360°; if it lies in the second and fourth quadrants, the phase shift is in the range from 90° to 180° or from 180° to 270°. The figure below shows the distances to be measured and the calculation formula, taken from the documentation.


Modern digital oscilloscopes have a function for measuring the phase shift between signals. Let's measure distances A and B, calculate the phase shift and compare it with what the oscilloscope shows.

Distance A is 56.

Distance B is 68. Let's divide 56 by 68 and calculate the arcsine.

We got 55.44°; the result almost matches what the oscilloscope measured.

The thing is, because of jitter in the measured signals, the phase shift value fluctuated within a few degrees, so the result can be considered a success.
Let's see what other information can be obtained by analyzing Lissajous figures.
If the frequencies and phases of the signals are equal, the ellipse degenerates into a straight line; the same happens if the phase difference is 180°. If the phase difference is 90°, the ellipse turns into a circle.

The tilt angle of the ellipse or line depends on the amplitudes of the measured signals.
Rotating figures are an interesting case. They rotate because their frequencies differ by a small amount, which leads to a constantly changing phase shift. Moreover, the rotation period is the reciprocal of the frequency difference between the signals under test.
Now we know how to measure phase difference by analyzing Lissajous figures, and in the next article we'll find out how to determine the frequency of an unknown signal from a Lissajous figure.


Modern digital oscilloscopes have a function for measuring the phase shift between signals. Let's measure distances A and B, calculate the phase shift and compare it with what the oscilloscope shows.

Distance A is 56.

Distance B is 68. Let's divide 56 by 68 and calculate the arcsine.

We got 55.44°; the result almost matches what the oscilloscope measured.

The thing is, because of jitter in the measured signals, the phase shift value fluctuated within a few degrees, so the result can be considered a success.
Let's see what other information can be obtained by analyzing Lissajous figures.
If the frequencies and phases of the signals are equal, the ellipse degenerates into a straight line; the same happens if the phase difference is 180°. If the phase difference is 90°, the ellipse turns into a circle.

The tilt angle of the ellipse or line depends on the amplitudes of the measured signals.
Rotating figures are an interesting case. They rotate because their frequencies differ by a small amount, which leads to a constantly changing phase shift. Moreover, the rotation period is the reciprocal of the frequency difference between the signals under test.
Now we know how to measure phase difference by analyzing Lissajous figures, and in the next article we'll find out how to determine the frequency of an unknown signal from a Lissajous figure.