Grayson HayNotes from the gardenHome

How to Get Phase From a Signal (Using I-Q Sampling)

AI-generated

Source page

AI

AI-generated summary

Cat. no.

Grayson Hay Notes

This note

Written by Grayson Hay

Summarized by AI. Not written or verified by the author.

  • Seedling
  • Budding
  • Evergreen

Cites

Sources summarized by AI, not by the author

In maps

Backlinks 1 Links out

Tended

AI-generated summary of How to Get Phase From a Signal (Using I-Q Sampling), Marshall Bruner. Not written or verified by the author.

Takeaways: How to Get Phase From a Signal (Using I-Q Sampling)

2025-07-12 · 12:16 · Source: https://www.youtube.com/watch?v=Ev3lZClnLhQ · Marshall Bruner

Gist

A radar echo's phase carries the target's motion. Doppler shifts phase over time, so tracking it gives radial velocity, direction, and movements too small for magnitude to show. One sample of a cosine can't give the phase, because every output value matches two inputs. Sampling the cosine and sine together gives a pair with only one matching angle. That pair is IQ (in-phase and quadrature) sampling. To get it, mix the received signal with the known carrier, once as cosine and once as sine. Each product has a low-frequency term that depends only on phase and a term near twice the carrier. A low-pass filter keeps the first. The phase is then the arctangent of Q over I. In practice I and Q are stored as one complex number.

All claims are the narrator's. Summarized from YouTube auto-captions, which garble terms: "s" / "sign" for sine, "quadriure" for quadrature, "fee" for φ, p<unk> for π. Visuals, equations, and the linked Python notebook not seen, so formulas come from narration only. Notes marked (mine) are mine, not checked against a primary source.

Takeaways

Why phase matters

Why one sample isn't enough

Getting I and Q

  1. Mix. A mixer multiplies two signals; circuit diagrams draw it as ⊗. Multiply the echo by the carrier once as cosine and once as sine.
    • $\cos a \cos b = \tfrac{1}{2}[\cos(a-b) + \cos(a+b)]$
    • The narration gives the sine version as $\tfrac{1}{2}[\sin(a-b) + \sin(a+b)]$. (mine) That identity is $\sin a \cos b$. For $\cos a \sin b$ the $\sin(a-b)$ term flips sign, which only flips the sign convention of Q.
  2. Pick b to cancel. Let $a = 2\pi f_c t + \phi(t)$ and $b = 2\pi f_c t$. The radar set $f_c$, so b is known. Then $a - b = \phi(t)$, and $a + b = 4\pi f_c t + \phi(t)$.
  3. Low-pass filter. The terms differ hugely in frequency, so a low-pass filter keeps only the phase term.
    • Example: S-band radar at 3 GHz, cloud moving at 10 m/s. Doppler shift ≈ 200 Hz. The difference term oscillates at about 200 Hz, the sum term at about 2 × 3 GHz + 200 Hz.
    • (mine) The arithmetic checks: $f_d = 2 v f_c / c = 2 \times 10 \times 3{\times}10^9 / 3{\times}10^8 = 200$ Hz.
    • $\phi(t)$ has two parts: a constant initial phase (0 to 2π, ignored here) and a Doppler frequency term set by radial velocity over the speed of light.
  4. Result: $I = \cos\phi(t)$ and $Q = \sin\phi(t)$, up to scale. Quadrature means a quarter cycle (90°) out of phase with in-phase.

Phase from I and Q

Patterns