kicad2ems.core.lines.formulas

Closed-form quasi-static line impedances (Z0, effective permittivity):
microstrip (Hammerstad & Jensen, with their thickness correction), embedded
microstrip (Bahl / Wadell's cover correction), stripline (Wheeler) and offset
stripline, grounded CPW (Ghione & Naldi), coax and a via barrel's inductance.
Plain math, no board: the line model (tlines), coupled lines (coupled) and the
examples use them. Units: mm, Ohm.
kicad2ems.core.lines.formulas.bend_capacitance(w, h, er, angle=90.0)[source]
The excess capacitance (F) of an unmitred bend of a microstrip of width w
over h of er (mm): Gupta, Garg and Bahl's 90 deg corner, scaled for another
angle by its corner's area, tan(angle / 2) (0 for a straight line, the
corner's own at 90 deg; an estimate away from 90).
kicad2ems.core.lines.formulas.coax(d, D, er)[source]
Z0 of a coaxial line (inner diameter d, outer D).
kicad2ems.core.lines.formulas.cpwg(w, s, h, er)[source]
(Z0, eeff) of a grounded (conductor-backed) coplanar waveguide: strip w,
gaps s, substrate h.
kicad2ems.core.lines.formulas.ellipk(k, kp=None)[source]
Complete elliptic integral of the first kind K(k), modulus k in [0, 1)
(arithmetic-geometric mean); kp: the complementary modulus, sqrt(1 - k^2),
where it is known better than k is (k rounding to 1).
kicad2ems.core.lines.formulas.embedded_microstrip(w, h, er, t, cover, er_cover)[source]
Microstrip under a dielectric cover of thickness `cover` (mm): Bahl's
correction of eeff.
kicad2ems.core.lines.formulas.gap_capacitance(w, s, h, er)[source]
(Cp, Cg) in F of an end gap s (mm) in a microstrip of width w (mm) over h
(mm) of er: the shunt capacitance at each side and the series one across
(Garg and Bahl, fitted for 0.5 <= w/h <= 2 and 0.1 <= s/w <= 1; clamped to
that range outside it). As dfsynth's microstrip.gap.
kicad2ems.core.lines.formulas.microstrip(w, h, er, t=0.0)[source]
(Z0, eeff) of a microstrip line, Hammerstad & Jensen, quasi-static, strip
thickness t.
kicad2ems.core.lines.formulas.offset_stripline(w, h1, h2, er, t=0.0)[source]
Z0 of a stripline h1 above one plane and h2 below the other: 2 Z1 Z2 /
(Z1 + Z2) with Zi the centred stripline of spacing 2 hi + t.
kicad2ems.core.lines.formulas.open_end_extension(w, h, er, eeff)[source]
An open end's length extension (mm) of a microstrip of width w over h of
er, its eeff (Kirschning, Jansen and Koster 1981). As dfsynth's
microstrip.open_end.
kicad2ems.core.lines.formulas.step_extension(w1, w2, h, er, eeff_wide)[source]
A width step's length extension of its wider strip (mm): the wider
strip's open end scaled by the part of its width the narrower does not
cover, 1 - wn / ww (Edwards). As dfsynth's microstrip.step.
kicad2ems.core.lines.formulas.stripline(w, b, er, t=0.0)[source]
Z0 of a centred stripline (planes b apart, strip thickness t), Wheeler
(1978); eeff = er.
kicad2ems.core.lines.formulas.via_inductance(h, r)[source]
Partial self-inductance (H) of a via barrel of length h and radius r
(mm), Goldfarb & Pucel.