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:
- length
float,default1mm Physical length of the line.
- width
float,default0.3mm Width of the centre conductor.
- gap
float,default0.1mm Gap between centre conductor and ground planes.
- layer
str,default“TOP” Layer on which the CPW is drawn.
- ground_net
str,default“GND” Net name for the ground planes.
- ground_width
float,default0.1mm Width of the side ground strips.
- ground_layer
str,default“GND” Layer for the underlying ground plane.
- net
str,default“SIG” Net name for the centre conductor.
- substrate
Substrate,default100 µmFR4 Substrate definition.
- length
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
Draw the centre strip, side grounds and bottom ground plane.