Meander#

class pyedb.libraries.rf_libraries.base_functions.Meander(edb_cell: Edb, pitch: str | float = 0.001, trace_width: str | float = 0.0003, amplitude: str | float = 0.005, num_turns: int = 8, layer: str = 'TOP', net: str = 'SIG')#

Fully-parametric micro-strip meander line.

Parameters:
pitchfloat, default 1 mm

Vertical spacing between successive meander rows [m].

trace_widthfloat, default 0.3 mm

Width of the micro-strip [m].

amplitudefloat, default 5 mm

Horizontal excursion of each U-turn [m].

num_turnsint, default 8

Number of 180° bends.

layerstr, default “TOP”

EDB metal layer.

netstr, default “SIG”

Net name assigned to the trace.

Examples

>>> m = Meander(pitch=0.2e-3, trace_width=0.15e-3, amplitude=2e-3, num_turns=4)
>>> edb = Edb("meander.aedb")
>>> m._pedb = edb
>>> m.create()
>>> f"{m.analytical_z0:.1f} Ω"
'50.1 Ω'
>>> m.electrical_length_deg(1e9)
59.8

Methods

Meander.create()

Draw the meander in the attached EDB cell and calculate its physical length.

Meander.electrical_length_deg(freq)

Electrical length of the meander at the specified frequency.