SpiralInductor#

class pyedb.libraries.rf_libraries.base_functions.SpiralInductor(edb_cell: Edb | None = None, turns: int | float = 4.5, trace_width: str | float = 2e-05, spacing: str | float = 1.2e-05, inner_diameter: str | float = 6e-05, layer: str = 'M1', bridge_layer: str = 'M2', via_layer: str = 'M3', net: str = 'IN', inductor_center: Tuple[str | float, str | float] = (0, 0), via_size: str | float = 2.5e-05, bridge_width: str | float = 1.2e-05, bridge_clearance: str | float = 6e-06, bridge_length: str | float = 0.0002, ground_layer: str = 'GND')#

Square spiral inductor with an optional under-pass bridge.

Parameters:
turnsfloat, default 4.5

Number of half-turns (4.5 = 4 full turns + 1 half turn).

trace_widthfloat, default 20 µm

Width of the spiral trace.

spacingfloat, default 12 µm

Gap between successive turns.

inner_diameterfloat, default 60 µm

Side length of the innermost square.

layerstr, default “M1”

Layer on which the spiral is drawn.

bridge_layerstr, default “M2”

Layer used for the under-pass.

via_layerstr, default “M3”

Via layer connecting spiral end to the under-pass.

netstr, default “IN”

Net name.

inductor_centertuple[float, float], default (0, 0)

Absolute centre coordinates of the structure.

via_sizefloat, default 25 µm

Side length of the square via pad.

bridge_widthfloat, default 12 µm

Width of the under-pass trace.

bridge_clearancefloat, default 6 µm

Dielectric clearance under the bridge.

bridge_lengthfloat, default 200 µm

Length of the under-pass beyond the via.

ground_layerstr, default “GND”

Layer on which the ground plane is drawn.

Examples

>>> sp = SpiralInductor(turns=3.5, trace_width=25e-6, inner_diameter=80e-6)
>>> edb = Edb("spiral.aedb")
>>> sp._pedb = edb
>>> sp.create()
>>> f"{sp.inductance_nh:.1f} nH"
'3.4 nH'

Methods