RF library

Concepts, tutorials and component guides, written from handset RF experience.

Concepts 49

What the numbers mean: short, exact explanations with the formulas.

  • Power Waves a and b: The Definition Behind S-Parameters2026-11-08Power waves are a = (V + Z0·I)/(2√Z0) and b = (V − Z0·I)/(2√Z0). With peak phasors, net power into a port is ½(|a|² − |b|²), so 10 mW incident at |Γ| = 0.5 leaves 7.5 mW delivered.
  • Why S-Parameters Instead of Z or Y at Microwave Frequencies2026-11-08A 0.1 pF fringing capacitance turns a 10 GHz open into about 159 Ω, so the ideal opens and shorts behind Z and Y parameters cannot be built. S-parameters use matched Z0 loads, keep transistors stable, and stay bounded at |Sii| ≤ 1 for passive networks.
  • 10 log vs 20 log: Which Decibel Formula to Use When2026-11-05Use 10 log10 for power and power spectral density, and 20 log10 for voltage, current, field and |S21|. A 20 log voltage ratio equals the power ratio only when R1 = R2. Otherwise add 10 log10(R1/R2), which is −1.76 dB for 1 V on 75 Ω vs 50 Ω.
  • dBm, dBW and dBmV: Picking the Right Reference Level2026-11-05dBW is dBm minus 30, so 1 W is 30 dBm and 0 dBW. dBmV is a voltage level: in 50 ohm dBmV = dBm + 46.99, and in 75 ohm dBmV = dBm + 48.75.
  • Thermal Noise Floor: Where -174 dBm/Hz Comes From2026-11-05At 290 K, kT = 4.004e-21 W/Hz, which is -173.98 dBm/Hz and is usually rounded to -174 dBm/Hz. A receiver's input-referred floor is -174 dBm/Hz + 10 log10(B) + NF, so a 1 MHz bandwidth and a 3 dB NF give -111 dBm.
  • Why You Cannot Add dBm Values Directly2026-11-05A gain in dB adds to a level in dBm because it multiplies one power by a ratio. Two signal powers must be added in milliwatts: two uncorrelated +20 dBm signals give 200 mW, which is 23.01 dBm, not 40 dBm.
  • Characteristic Impedance Derived From L and C Per Unit Length2026-11-04Z0 is set by inductance and capacitance per metre, not by length: Z0 = sqrt((R + jωL)/(G + jωC)), which reduces to sqrt(L/C) for a lossless line. With L = 250 nH/m and C = 100 pF/m, L/C = 2500 Ω² and Z0 = 50 Ω.
  • Friis Noise Formula: Why the First Stage Dominates2026-11-04Each stage after the first adds its excess noise (F − 1) divided by the total gain ahead of it. A 2 dB NF LNA with 20 dB gain ahead of a 10 dB NF stage gives 2.24 dB overall; reverse the order and the chain rises to about 10.03 dB.
  • Phase Velocity vs Group Velocity on a Transmission Line2026-11-04On a lossless TEM line in a uniform dielectric, vp = vg = c/sqrt(εr), which is 0.690c for PTFE. In a hollow waveguide β is not proportional to ω, so vp > c, vg < c and vp·vg = c².
  • Quarter-Wave and Half-Wave Lines: Inverter and Repeater2026-11-04A lossless λ/4 line gives Zin = Z0²/ZL, so a 100 Ω load on a 50 Ω line looks like 25 Ω, while a λ/2 line gives Zin = ZL. Both rules hold only near the design frequency: at 2f0 a quarter-wave line is a half-wave line and repeats the load.
  • Shorted and Open Line Stubs as Inductors and Capacitors2026-11-04A lossless shorted stub gives Zin = jZ0·tan βl and an open stub gives −jZ0·cot βl, so a 50 Ω λ/8 stub at 1 GHz acts as 7.96 nH when shorted or 3.18 pF when open. Below 90° the shorted stub is inductive and the open stub is capacitive. Between 90° and 180° the signs swap.
  • The Telegrapher Equations in Plain Terms2026-11-04The telegrapher equations link voltage and current along a line through R, L, G and C per unit length. Their solution is one forward and one backward wave. On a lossless line with vp = 2.0e8 m/s, a pulse crosses 1 m in 5 ns.
  • Why 3 dB Doubles Power but 6 dB Doubles Voltage2026-11-04Power ratios use 10 log10 and voltage ratios across the same resistance use 20 log10, because P = V²/R. Doubling power is +3.01 dB; doubling voltage is +6.02 dB, which is a fourfold increase in power.
  • Why You Cannot Measure Z0 With an Ohmmeter2026-11-04At DC a coax line is just two wires, so an ohmmeter reads the load plus the conductor resistance and never Z0. Z0 shows up for only one round trip, 2l/vp. That is 10 ns for 1 m at vp = 2.0e8 m/s, when a 1 V step from 50 Ω launches 0.5 V.
  • Bessel Filter Response and Why It Keeps Pulse Shape2026-11-08Group delay is τg = −dφ/dω, and a pulse keeps its shape only when that delay is constant across its spectrum. A Bessel low-pass keeps the delay maximally flat, so its step response barely overshoots, but its magnitude roll-off is weaker than a Butterworth of the same order.
  • Chebyshev Ripple and Passband Return Loss Relationship2026-11-08A lossless equal-ripple filter has a minimum passband return loss of RL = 10·log10(1 + 1/k²), where k² = 10^(LAr/10) − 1. A 0.1 dB ripple gives 16.4 dB return loss and a VSWR of about 1.36. A 0.5 dB ripple drops the return loss to 9.6 dB.
  • Input and Output Stability Circles: Reading the Regions2026-11-08Each stability circle marks the terminations where |Γ_in| = 1 or |Γ_out| = 1. With |S11| < 1 and |S22| < 1 the origin is stable, so the side of the circle that holds Γ = 0 is the safe side.
  • The Mu Stability Factor: A Single-Number Stability Test2026-11-03A two-port is unconditionally stable if and only if μ > 1, so one number replaces the K > 1 and |Δ| < 1 pair. Because μ is the distance from the Smith chart center to the nearest unstable load, a larger μ means more stability margin.
  • Transducer, Available and Operating Power Gain Compared2026-11-08G_T = P_L/P_avs, G_P = P_L/P_in and G_A = P_avn/P_avs. With passive terminations on a stable two-port, G_T never exceeds G_P or G_A, and all three become equal under simultaneous conjugate match.
  • Butterworth vs Chebyshev: Flat Passband or Steeper Skirts2026-11-08At N = 3 and twice the cutoff, a Butterworth low-pass gives 18.1 dB of attenuation and a 0.5 dB Chebyshev gives 19.2 dB, about 1.1 dB more. The price is equal ripple in the passband and a cutoff defined at the ripple edge, not the 3 dB point.
  • DC Offset and LO Leakage in Zero-IF Receivers2026-11-08Leaked LO that returns to the mixer RF port self-mixes into a DC term equal to (αA²/2)·cos φ. Because α and φ move with the antenna environment, fixed calibration fails and receivers rely on high-pass filtering or offset cancellation.
  • IQ Imbalance: Gain and Phase Errors vs Image Rejection2026-11-08For small gain error ε and phase error θ in radians, image rejection is approximately 4/(ε²+θ²). A 1% gain error with 1 degree of phase error limits image rejection to about 40 dB.
  • Low-Pass Prototype Element Values: What g1 to gN Mean2026-11-08Low-pass prototype g-values are element values normalized to a 1 Ω source and ωc = 1 rad/s, with g0 and g(N+1) as the source and load terms. For Butterworth, g_k = 2·sin((2k − 1)π/(2N)), so N = 3 gives 1, 2, 1.
  • Why IIP2 Matters in a Zero-IF Phone Receiver2026-11-08The second-order product rises 2 dB per dB of input, so P_IM2 = 2 P_in − IIP2. Two −30 dBm tones into an IIP2 of +40 dBm give a −100 dBm product at f2 − f1, right where a zero-IF receiver's wanted signal sits.
  • Handset PA Output Match: Reading Load-Pull Contours2026-11-08Maximum output power and maximum efficiency occur at different load impedances, so the contours on a Smith chart have two peaks. The designer picks a load in the overlap region and accepts a small loss in each.
  • The Image Frequency Problem in Heterodyne Receivers2026-11-08The image sits 2 f_IF away from the wanted channel, on the far side of the LO, and folds onto the same IF. It must be removed before the mixer, so a higher IF eases the pre-mixer filter.
  • Diplexer vs Duplexer vs Multiplexer: Telling the Three Apart2026-11-08A diplexer splits two well-separated bands, a duplexer splits the TX and RX bands of one FDD system, and a multiplexer handles three or more bands. Count the bands on the common port, then ask whether they are the TX and RX of one system.
  • Phone Antenna S11: What Return Loss Means for Radiated Power2026-11-08A 10 dB return loss means |Γ| = 0.316, VSWR 1.92, with 10% of the power reflected and 90% accepted. S11 only shows what the port accepts, so heat loss in the antenna, hand or case can still waste much of that 90%.
  • Stopband Rejection in a Front-End Filter: How Much Is Enough?2026-11-08A +23 dBm transmit signal falls to −27 dBm after 50 dB of isolation, and 40 dB of filter rejection takes it to −67 dBm. Required rejection is the leakage level minus the level the receiver can tolerate.
  • Carrier Aggregation: Why Extra Bands Mean Extra Filters2026-11-08Aggregated bandwidth is the sum of the component carriers, so two 20 MHz carriers give 40 MHz. When the carriers sit in two bands on one antenna, both band filters must be connected to that antenna at the same time.

Tutorials 23

Step-by-step guides for S-parameters, Smith charts, matching and measurement.

  • How to Add Two Signal Powers Given in dBm2026-11-05Convert each dBm level to milliwatts, add them and convert back, so 0 dBm plus -10 dBm is 1.1 mW, or 0.41 dBm. Two equal uncorrelated powers sum to 3.01 dB above either one, and a 20 dB gap adds only 0.04 dB.
  • Mental dB Math: Link Budgets Without a Calculator2026-11-05Learn 1 dB ≈ 1.26, 3 dB ≈ 2, 6 dB ≈ 4, 7 dB ≈ 5 and 10 dB = 10, and you can get any other power ratio by adding dB values. A link budget is then one sum: transmit power plus antenna gains, minus path loss and other losses.
  • Conductor Loss vs Dielectric Loss: Computing Line Attenuation2026-11-04Total attenuation is α = αc + αd, converted from Np/m to dB/m by multiplying by 8.686. Conductor loss rises as √f and dielectric loss as f. A line filled with εr = 4.4 and tanδ = 0.02 already loses 3.82 dB/m in the dielectric at 1 GHz.
  • Input Impedance of a Terminated Transmission Line2026-11-04On a lossless line, Zin = Z0·(ZL + jZ0·tan βl)/(Z0 + jZL·tan βl), so the input impedance repeats every half wavelength while |Γ| and VSWR stay fixed. A 100 Ω load seen through λ/8 of 50 Ω line becomes 40 − j30 Ω, still at VSWR 2.
  • Low-Pass to High-Pass Transformation: Swapping L and C2026-11-08The mapping ω → −ωc/ω turns a series-inductor element g into a series capacitor C' = 1/(Z0·ωc·g) and a shunt-capacitor element g into a shunt inductor L' = Z0/(ωc·g). For g = 1, 50 Ω and 1 GHz that gives 3.18 pF and 7.96 nH.
  • Plotting Constant Noise Figure Circles for an LNA2026-11-08Each noise circle has center Γ_opt/(1+N) and radius sqrt(N² + N(1−|Γ_opt|²))/(1+N), where N sets how far F rises above Fmin. With |Γ_opt| = 0.5 and N = 0.5, the circle is centered at 0.333 along Γ_opt and has radius 0.527.
  • Simultaneous Conjugate Match for Maximum Amplifier Gain2026-11-08When S12 is not zero, the input and output of an amplifier must be matched together, not one at a time. For an unconditionally stable device, Gmax = |S21|/|S12| · (K − sqrt(K² − 1)), which rises to the MSG at K = 1.
  • Stabilizing a Transistor with Series or Shunt Resistance2026-11-03A 10 Ω series resistor in 50 Ω limits every load the transistor sees to the r = 0.2 circle (center 0.167, radius 0.833). If that circle clears the unstable region, any passive load is safe. The cost is gain and, at the input, noise figure about equal to the added loss.
  • Unilateral Figure of Merit: When Can You Ignore S12?2026-11-08The true gain lies between 1/(1+U)² and 1/(1−U)² times the unilateral gain G_TU. For U = 0.1 that is −0.83 dB to +0.92 dB, and for U = 0.05 it is about −0.42 dB to +0.45 dB.
  • Hartley vs Weaver Image-Reject Receivers Compared2026-11-08Both receivers cancel the image by combining quadrature I and Q paths, but the rejection is always finite. For small errors IRR ≈ 4/(ε² + θ²), so a 1% gain error with a 0.01 rad phase error gives about 43 dB.
  • How Much Duplexer Isolation? TX Noise in the RX Band2026-11-08Required isolation equals the TX noise in the RX band minus the receiver noise floor, plus a margin. With -60 dBm of TX noise in 10 MHz, a -99 dBm floor and a 10 dB margin, the duplexer needs 49 dB of TX-to-RX isolation.
  • How to Pick Filter Order From a Rejection Requirement2026-11-08A Butterworth needs N ≥ log10(10^(LAs/10) − 1) / (2·log10(ωs/ωc)), so 40 dB at twice the cut-off needs N = 7. A Chebyshev with 0.5 dB ripple meets the same 40 dB at ratio 2 with N = 5.
  • Scaling a Low-Pass Prototype to 50 Ohm and Real Frequency2026-11-08Scale each prototype element with L = R0·g/ωc and C = g/(R0·ωc). At 1 GHz and 50 Ω, a g = 1, 2, 1 Butterworth becomes a 3.18 pF shunt C, a 15.9 nH series L and a 3.18 pF shunt C.
  • Turning a Low-Pass Prototype Into a Band-Pass Filter2026-11-08The band-pass mapping replaces each series inductor with a series LC and each shunt capacitor with a parallel LC, all resonant at ω0 = sqrt(ω1·ω2). For g = 1, 50 Ω, 1 GHz and Δ = 0.1, the series branch is 79.6 nH with 0.318 pF.
  • Reading a Front-End Module Data Sheet: Key Numbers First2026-11-08Read the band and test conditions first, then insertion loss, isolation and return loss. A 1 dB insertion loss means |S21| ≈ 0.891, so about 79% of the power gets through, and the number only counts under the stated conditions.
  • Test Cable Flexure and Phase Stability After Calibration2026-11-08A 1 cm change of electrical length in a cable with a 0.21 m wavelength shifts phase by about 17 degrees at 1 GHz, and the error grows in proportion to frequency. Keep the cable still after calibration and use phase to estimate how far it moved.
  • VNA IF Bandwidth and Averaging: Noise vs Sweep Time2026-11-08Each 10 dB of noise reduction costs about 10 times the sweep time, whether you cut the IF bandwidth by 10 or average 10 sweeps. Averaging cannot remove drift, systematic errors or crosstalk, so check those first.
  • SOLT Calibration Step by Step: Short, Open, Load and Thru2026-11-08A SOLT calibration measures an ideal short (reflection coefficient -1), an open (+1) and a load (0), then a thru between the ports. The result holds only for the frequency range, IF bandwidth, power level and cable setup used.
  • L-Network Matching: Low-Pass or High-Pass Version?2026-11-08Matching 50 ohm to 200 ohm needs Q = sqrt(3) = 1.732. The low-pass version uses 13.78 nH and 1.378 pF, the high-pass version 1.838 pF and 18.38 nH, and the choice depends on the DC path and the filtering you want.
  • Microstrip Width for 50 Ohm on a 1.6 mm FR-4 Board2026-11-08On FR-4 (er 4.4) a microstrip line reaches 50 ohm at a width-to-height ratio of about 1.9, which is about 3 mm on a 1.6 mm board. Wider strips lower the impedance and narrower strips raise it.
  • When to Put an Attenuator Pad in an RF Chain2026-11-08A fixed pad of A dB passes 10^(A/10) of the power, so a 10 dB pad passes 0.1 and turns the other 0.9 into heat. It can improve return loss by up to twice its attenuation, but it costs signal level and, in front of a receiver, noise figure.
  • How to Read One Line of an S2P File (MA, DB and RI Formats)2026-11-08A two-port S2P data line holds nine numbers: the frequency, then the pairs for S11, S21, S12 and S22 in that order. The option line tells you whether each pair is MA, DB or RI, and a magnitude of 0.99 is about -0.087 dB.
  • How to Open an S2P (Touchstone) File: 6 Ways and a Free Viewer2026-11-08An S2P file is a plain-text Touchstone file holding the two-port S-parameters of a device at many frequencies. You can plot it right here in your browser (the file never leaves your computer), read it in a text editor, or open it in RF View, Python, MATLAB or a spreadsheet.

Components 2

How real parts behave: inductors, capacitors, filters and cables.

Measured examples 1

Real S-parameter files read step by step: duplexers, filters, an antenna, fixture traces and capacitors.

  • Band 71 Duplexer, Measured: Loss and Isolation2026-11-08This Band 71 duplexer, measured as a raw part, loses 1.0 to 2.8 dB in the TX band and 1.3 to 2.3 dB in the RX band, with at least 57.7 dB of TX-to-RX isolation. The worst loss sits on the band edges, not in the middle.