kicad2ems.dfsynth.microstrip

Microstrip line models on one dielectric layer over a ground plane, and the
substrate presets.

Single line: Hammerstad & Jensen (1980), with strip-thickness correction;
dispersion of eeff after Kirschning & Jansen (1982). Coupled pair: Kirschning &
Jansen (1984), quasi-static even / odd modes, each mode given the single-line
dispersion law. Open end: Kirschning, Jansen & Koster (1981). Series gap:
Garg & Bahl (1978). Dimensions are in mm, frequencies in Hz. The line, the pair
and the ends are kicad2ems's own closed forms (kicad2ems.core.lines), so the
synthesis and the line model that checks it agree.

    sub = Substrate.preset('RO4003C-0.508')
    w50 = sub.width(50.0)
    z0, ee = sub.line(w50)
    ze, zo, eee, eeo = sub.coupled(w, s)
    w, s = sub.coupled_synth(ze, zo)
class kicad2ems.dfsynth.microstrip.Substrate(h: float, er: float, tand: float = 0.0, t: float = 0.035, sigma: float = 58000000.0, name: str = 'custom', material: str = 'custom', min_width: float = 0.1, min_gap: float = 0.1)[source]
alpha(w, z0, ee, f)[source]
Attenuation (Np/m, f scalar or array) of a mode of impedance z0, eeff
ee on a strip of width w: dielectric plus a simple conductor term (strip
resistance Rs / w, ground plane neglected, roughness ignored).
coupled(w, s)[source]
(Ze, Zo, eeff_even, eeff_odd) of a symmetric edge-coupled pair
(Kirschning-Jansen 1984).
coupled_synth(ze, zo)[source]
(w, s) of the pair with even / odd impedances ze > zo. Newton on (log
w, log s).
disperse(ee0, w, f)[source]
eeff at f (Hz, scalar or array) of a mode with quasi-static eeff ee0
on a strip of width w (Kirschning-Jansen).
gap(w, s)[source]
(Cp, Cg) in F of a series gap s in a strip of width w: shunt
capacitance at each side and the series capacitance across (Garg & Bahl;
fitted for 0.5 <= w/h <= 2, 0.1 <= s/w <= 1; their two even-mode fits
blended across s/w 0.3, GAP_BLEND).
gap_for(w, cg)[source]
Gap s (mm) giving series capacitance cg (F) in a strip of width w
(ValueError if even a gap of 0.02 w is too wide).
line(w)[source]
(Z0, eeff) quasi-static of a strip of width w (mm), thickness
self.t.
open_end(w)[source]
Open-end length extension (mm), Kirschning, Jansen & Koster
(1981).
step(w1, w2)[source]
Width step w1 -> w2: the wider strip's length extension (mm) at the
step (Edwards: the open end of the wider strip, scaled by the part of
its width not covered, 1 - wn / ww).
via_inductance(d)[source]
Inductance (H) of a via of drill d (mm) through the substrate.
width(z0)[source]
Strip width (mm) for impedance z0.