CPW#

class pyedb.libraries.rf_libraries.base_functions.CPW(edb_cell: Edb | None = None, length: str | float = 0.001, width: str | float = 0.0003, gap: str | float = 0.0001, layer: str = 'TOP', ground_net: str = 'GND', ground_width: float = 0.0001, ground_layer: str = 'GND', net: str = 'SIG', substrate: Substrate = Substrate(h=0.0001, er=4.4, tan_d=0.02, name='SUB', size=(0.001, 0.001)))#

Coplanar waveguide with side ground planes.

Parameters:
lengthfloat, default 1 mm

Physical length of the line.

widthfloat, default 0.3 mm

Width of the centre conductor.

gapfloat, default 0.1 mm

Gap between centre conductor and ground planes.

layerstr, default “TOP”

Layer on which the CPW is drawn.

ground_netstr, default “GND”

Net name for the ground planes.

ground_widthfloat, default 0.1 mm

Width of the side ground strips.

ground_layerstr, default “GND”

Layer for the underlying ground plane.

netstr, default “SIG”

Net name for the centre conductor.

substrateSubstrate, default 100 µm FR4

Substrate definition.

Examples

>>> cpw = CPW(length=5e-3, width=0.4e-3, gap=0.2e-3)
>>> edb = Edb("cpw.aedb")
>>> cpw._pedb = edb
>>> cpw.create()
>>> f"{cpw.analytical_z0:.1f} Ω"
'46.5 Ω'

Methods

CPW.create()

Draw the centre strip, side grounds and bottom ground plane.