Analytical formulas (theory)
lineforge's Phase 1 solvers are closed-form approximations valid over published geometric ranges. They run in microseconds and serve two roles:
- Fast path for the 7 standard PCB geometries. Most users never need the bitmap kernel.
- Cross-validation reference for the Phase 2/3 numerical kernels. Every bitmap-rasterized standard geometry must agree with the closed-form answer to within 1%.
Microstrip: Hammerstad-Jensen (1980)
Effective permittivity:
where \(u = W/H\) and:
Characteristic impedance (zero-thickness strip):
Finite-thickness Wheeler correction replaces \(W\) with \(W_{\text{eff}} = W + \Delta W\) before substitution.
Validity: \(0.05 \le W/H \le 20\), \(\varepsilon_r \le 128\). Outside this
range, lineforge emits an out_of_range warning and the user should fall back to
the bitmap kernel (Phase 2).
Reference: E. Hammerstad and Ø. Jensen, Accurate Models for Microstrip Computer-Aided Design, IEEE MTT-S 1980; IPC-2141A Appendix A.
Symmetric stripline: Cohn (1954) / Wadell
Wide-strip closed form:
where the fringing capacitance term:
Validity: \(W/(B-T) > 0.35\), \(T < 0.25\,B\).
Reference: S. B. Cohn, Characteristic Impedance of the Shielded-Strip Transmission Line, IRE Trans. MTT, July 1954; Wadell §3.4.
CPWG: Wen (1969) / Wadell
Elliptic-integral formula:
where:
and \(K(\cdot)\) is the complete elliptic integral of the first kind, evaluated
in lineforge via scipy.special.ellipk.
Validity: \(W/H \ge 0.05\). Conductor thickness ignored when \(T \ll W,S\).
Reference: C. P. Wen, IEEE MTT-S 1969; Wadell §3.6.4; IPC-2141A.
Differential pairs: IPC-2141A coupling correction
For edge-coupled microstrip and stripline differential pairs, lineforge uses the empirical IPC-2141A coupling correction on the single-trace Z₀:
Microstrip: \(Z_{\text{odd/even}} = Z_0\,(1 \mp 0.48\,e^{-0.96\,S/H})\)
Stripline: \(Z_{\text{odd/even}} = Z_0\,(1 \mp 0.347\,e^{-2.9\,S/B})\)
Differential and common-mode impedances follow from:
For broadside-coupled stripline, lineforge uses the parallel-plate Wadell §6.5 formula with finite-thickness correction.
Caveat: The IPC-2141A coupling exponential is empirical and loses accuracy for tightly coupled pairs (\(S/H < 0.5\)). For exact differential analysis with arbitrary geometries, use the Phase 4 direct odd/even-mode bitmap solver.
References: Wadell §6; IPC-2141A.
Bibliography
- B. Wadell, Transmission Line Design Handbook, Artech House 1991.
- IPC-2141A, Design Guide for High-Speed Controlled Impedance Circuit Boards.
- E. Hammerstad and Ø. Jensen, IEEE MTT-S 1980.
- S. B. Cohn, IRE Trans. MTT, July 1954.
- C. P. Wen, IEEE MTT-S 1969.