skrf.media.cpw.CPW¶
 class skrf.media.cpw.CPW(frequency=None, z0=None, w=0.003, s=0.0003, h=1.55, ep_r=4.5, t=None, diel='djordjevicsvensson', rho=1.68e08, tand=0, f_low=1000.0, f_high=1000000000000.0, f_epr_tand=1000000000.0, has_metal_backside=False, compatibility_mode=None, *args, **kwargs)[source]¶
Coplanar waveguide.
A coplanar waveguide transmission line is defined in terms of width, spacing, and thickness on a given relative permittivity substrate of a certain height. The line has a conductor resistivity and a tangential loss factor. The backside of the strip can be made of air or metal (grounded coplanar waveguide).
This class is highly inspired by the technical documentation [QUCSa] and sources provided by the qucs project [QUCSb] .
In addition, Djordjevic [DBLS01] /Svensson [SvDe01] wideband debye dielectric model is considered to provide a more realistic modelling of broadband microstrip with causal time domain response.
A compatibility mode is provided to mimic the behaviour of QUCS or of Keysight ADS. There is known differences in the output of these simulators.
The quasistatic models of characteristic impedance and effective permittivity give the value at zero frequency. The dispersion models compute frequencydependant values of these variables.
Quasistatic characteristic impedance and effective permittivity model use [GhNa84] and [GhNa83]. The models are corrected to account for strip thickness using a firstorder approach described in [GGBB96]. A comparison shows that ADS simulator uses another thickness correction method that is according to ADS doc based on [Cohn60]. This second method is not implemented in skrf.
Frequency dispersion of impedance and effective permittivity model use [FGVM91] and [GMDK97].
Loss model is computed using Wheeler’s incremental inductance rule [Whee42] applied to coplanar waveguide by [OwWu58] and [Ghio93].
 Parameters
frequency (
Frequency
object, optional) – frequency band of the media. The default is None.z0 (number, arraylike, or None (default None)) – the port impedance for media. Only needed if different from the characteristic impedance Z0 of the transmission line. In ohm
w (number, or arraylike) – width of the center conductor, in m. Default is 3e3 m.
s (number, or arraylike) – spacing (width of the gap), in m. Default is 0.3e3 m.
h (number, or arraylike) – height of the substrate between backside and conductor, in m. Default is 1.55 m (equivalent to infinite height for default w and s).
t (number, or arraylike, optional) – conductor thickness, in m. Default is None (no width correction to account for strip thickness).
has_metal_backside (bool, default False) – If the backside is air (False) or metal (True)
ep_r (number, or arraylike, optional) – relative permittivity of the substrate at frequency f_epr_tand, no unit. Default is 4.5.
diel (str) –
dielectric frequency dispersion model in:
’djordjevicsvensson’ (default)
’frequencyinvariant’
rho (number, or arraylike, or None) – resistivity of conductor, ohm / m. Default is 1.68e8 ohm /m (copper).
tand (number, or arraylike) – dielectric loss factor at frequency f_epr_tand. Default is 0.
f_low (number, or arraylike) – lower frequency for wideband Debye Djordjevic/Svensson dielectric model, in Hz. Default is 1 kHz.
f_high (number, or arraylike) – higher frequency for wideband Debye Djordjevic/Svensson dielectric model, in Hz. Default is 1 THz.
f_epr_tand (number, or arraylike) – measurement frequency for ep_r and tand of dielectric, in Hz. Default is 1 GHz.
compatibility_mode (str or None (default)) –
If set to ‘qucs’, following behaviour happens :
Characteristic impedance will be real (no imaginary part due to tand)
*args (arguments, keyword arguments) – passed to
Media
’s constructor (__init__()
**kwargs (arguments, keyword arguments) – passed to
Media
’s constructor (__init__()
Note
When the thickness of the strip is smaller than 3 skin depth, the losses model gives overoptimistic results and the media will issue a warning. At DC, the losses of the line could be smaller than its conductor resistance, which is not physical.
References
 QUCSa
 QUCSb
 DBLS01
Djordjevic, R.M. Biljic, V.D. LikarSmiljanic, T.K. Sarkar, Wideband frequencydomain characterization of FR4 and timedomain causality, IEEE Trans. on EMC, vol. 43, N4, 2001, p. 662667.
 SvDe01
C. Svensson, G.E. Dermer, Time domain modeling of lossy interconnects, IEEE Trans. on Advanced Packaging, May 2001, N2, Vol. 24, pp.191196.
 GhNa84
G. Ghione and C. Naldi. “Analytical Formulas for Coplanar Lines in Hybrid and Monolithic MICs”, Electronics Letters, Vol. 20, No. 4, February 16, 1984, pp. 179181.
 GhNa83
G. Ghione and C. Naldi. “Parameters of Coplanar Waveguides with Lower Common Planes”, Electronics Letters, Vol. 19, No. 18, September 1, 1983, pp. 734735.
 Cohn60
S. B. Cohn, “Thickness Corrections for Capacitive obstacles and Strip Conductors”, IRE Trans. on Microwave Theory and Techniques, Vol. MTT8, November 1960, pp. 638644.
 GGBB96
K. C. Gupta, R. Garg, I. J. Bahl, and P. Bhartia, Microstrip Lines and Slotlines, 2nd ed.Artech House, Inc., 1996.
 FGVM91
M. Y. Frankel, S. Gupta, J. A. Valdmanis, and G. A. Mourou, “Terahertz Attenuation and Dispersion Characteristics of Coplanar Transmission Lines” IEEE Trans. on Microwave Theory and Techniques, vol. 39, no. 6, pp. 910916, June 1991.
 GMDK97
S. Gevorgian, T. Martinsson, A. Deleniv, E. Kollberg, and I. Vendik, “Simple and accurate dispersion expression for the effective dielectric constant of coplanar waveguides” in Proceedings of Microwaves, Antennas and Propagation, vol. 144, no. 2.IEE, Apr. 1997, pp. 145148.
 Whee42
H. A. Wheeler, “Formulas for the Skin Effect,” Proceedings of the IRE, vol. 30, no. 9, pp. 412424, Sept. 1942.
 OwWu58
G. H. Owyang and T. T. Wu, “The Approximate Parameters of Slot Lines and Their Complement” IRE Transactions on Antennas and Propagation, pp. 4955, Jan. 1958.
 Ghio93
G. Ghione, “A CADOriented Analytical Model for the Losses of General Asymmetric Coplanar Lines in Hybrid and Monolithic MICs” IEEE Trans. on Microwave Theory and Techniques, vol. 41, no. 9, pp. 14991510, Sept. 1993.
Attributes
Characteristic impedance 

Real (attenuation) component of gamma. 

Imaginary (propagating) component of gamma. 

Propagation constant. 

Number of points of the frequency axis. 

Complex group velocity (in m/s). 

Complex phase velocity (in m/s). 

Characteristic Impedance. 
Methods
This function calculate the frequencydependent relative permittivity of dielectric and tangential loss factor. 

This function computes the frequencydependent characteristic impedance and effective permittivity accounting for coplanar waveguide frequency dispersion. 

The function calculates the conductor and dielectric losses of a complanar waveguide line using wheeler's incremental inductance rule. 

This function calculates the quasistatic impedance of a coplanar waveguide line, the value of the effective permittivity as per filling factor, and the effective width due to the finite conductor thickness for the given coplanar waveguide line and substrate properties. 

Ideal matched attenuator of a given length. 

Capacitor. 

Copy of this Media object. 

Delayed load. 

Delayed open transmission line. 

Delayed Short. 

Calculate the complex electrical length for a given distance. 

Determines physical distance from a transmission or reflection Network. 

Twoport network for an impedance mismatch. 

Inductor. 

Twoport isolator. 

Transmission line of a given length and impedance. 

Load of given reflection coefficient. 

Lossless, symmetric mismatch defined by its return loss. 

Perfect matched load (\(\Gamma_0 = 0\)). 

Create another mode in this medium. 

Open (\(\Gamma_0 = 1\)). 

Complex random network. 

Resistor. 

Short (\(\Gamma_0 = 1\)) 

Shunts a 

Shunted capacitor. 

Shunted delayed load. 

Shunted delayed open. 

Shunted delayed short. 

Shunted inductor. 

Ideal, lossless nway splitter. 

Ideal, lossless tee. 

Convert electrical length to physical distance. 

Matched transmission line of length 0. 

Translate various units of distance into meters. 

Complex zeromean gaussian whitenoise network. 

write this media's frequency, gamma, Z0, and z0 to a csv file. 