My Blog

I/Q samples and the length of a complex vector

Sampling and digital radio · RF Engineering Basics 46/50

A quadrature receiver reports two signed numbers at each instant. Plot them as coordinates and a point rotating around the origin becomes easy to recognize. The vector magnitude follows from both coordinates; neither component alone measures envelope amplitude.

Wireless access point
Wireless access point · Pjpearce · CC 0 1.0

A point in the lower half-plane

For I = 0.6 and Q = −0.8 the vector length is one, just as it is for Q = +0.8. The two samples differ in phase. Computing envelope magnitude discards quadrant information and cannot reconstruct the original complex stream. Retain both signed components for demodulation, image discrimination and phase tracking. A simple scatter plot can reveal DC offsets that a magnitude histogram obscures.

Vector magnitude with in-phase component fixed at 0.6

Represent a complex sample as I + jQ. Its squared magnitude is the sample times its complex conjugate; the imaginary cross terms cancel. Taking the square root gives the geometric distance from the origin, in the same normalized amplitude units as each coordinate.

A = √(I² + Q²)
Vector magnitude with in-phase component fixed at 0.6.

Use quadrature component (normalized) = 0 as the reference case. Substitution in the displayed model gives magnitude (normalized) = 0.6. The neighbouring marks on the graph provide two independent checks: an input of -0.4 gives 0.72111, and 0.4 gives 0.72111. These are model predictions under the same assumptions, so a comparison among them changes only one quantity.

Vector magnitude with in-phase component fixed at 0.6. Magnitude (normalized) versus Quadrature component (normalized).
Vector magnitude with in-phase component fixed at 0.6. Calculated values.

Where the model can mislead

The axes must share the same scale and be truly orthogonal. Offset, quadrature phase error and I/Q gain imbalance distort the circle. Relating normalized amplitude to watts requires calibration.

Make an I/Q scatter plot by hand

Take four coordinate pairs representing a quarter-turn sequence on a circle. Compute magnitude, then add the same DC offset to every I value. Plot the shifted points and recompute magnitudes. A pure offset can masquerade as envelope variation if the origin of measurement is wrong.

XTRX SDRT PCB
XTRX SDRT PCB · Turbospok · CC BY-SA 4.0

Explore the numbers

Magnitude (normalized) 0.6

Model range -1 to 1. The reference table also works on paper.
Open the numerical reference table
Quadrature component (normalized)Magnitude (normalized)
-11.16619
-0.81
-0.40.72111
00.6
0.40.72111
0.81
11.16619
Why use atan2 for phase?

The signs of both components determine the quadrant. An ordinary inverse tangent of Q/I loses that distinction and fails when I is zero. Use an explicit phase convention for which way positive rotation proceeds.

Continue the experiment. EVM as the distance between two constellations develops a related quantity. In its reference example, rms evm (%) = 3 gives equivalent snr (db) = 30.4576. Read the companion lesson.

Further reading · Michael Steer · Fundamentals of Microwave and RF Design

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top