The basic relationship
Phase shift compares how far one signal leads or lags another of the same frequency. Since one complete period is equivalent to three hundred sixty degrees, if the delay between two equivalent crossings is Δt and the period is T, the phase shift is 360 × Δt / T. With a two-channel oscilloscope, this comes down to measuring two times.
Step-by-step method
- Connect each signal to a channel with probes of the same type and the same cable length.
- Trigger on one of the signals and take it as the phase reference.
- Measure the period T with cursors between two like edges of the reference.
- Measure Δt between a point on the reference and the equivalent point on the other signal: same edge, same direction and same level, preferably the zero crossing or the mid-level crossing.
- Calculate the phase shift and assign the sign according to which signal arrives first.
Many instruments offer an automatic phase measurement that makes this calculation; it is advisable to verify it with cursors the first time.
The XY figure as an alternative
With one signal on each axis, two sine waves of the same frequency draw an ellipse. A slanted line indicates signals in phase or in opposition, and a circle, with equal amplitudes, a difference of a quarter of a period. It is quick for seeing the order of magnitude, but less accurate than the time measurement, and it does not directly distinguish whether a signal leads or lags.
What can falsify the measurement
- Different delay between probes or channels: the cable, the probe type and the electronics of each channel introduce a delay of their own. On fast signals that error adds to the real phase shift. It is corrected with the deskew function or by measuring the same signal on both channels.
- Distortion: if the waveforms are not sinusoidal, the zero crossing does not represent the phase shift of the fundamental.
- Noise at the crossing point: use averaging or measure on edges with a steeper slope.
How to interpret the result
A stable phase shift indicates a fixed relationship between the signals, such as that of an RC circuit or of voltage and current in a reactive load. A phase shift that changes over time indicates a frequency difference, jitter, or synchronization that is not real.