InterdigitalCapacitor#

class pyedb.libraries.rf_libraries.base_functions.InterdigitalCapacitor(edb_cell: Edb | None = None, fingers: int = 8, finger_length: float | str = '0.9mm', finger_width: float | str = '0.08mm', gap: float | str = '0.04mm', comb_gap: float | str = '0.06mm', bus_width: float | str = '0.25mm', layer: str = 'TOP', net_a: str = 'PORT1', net_b: str = 'PORT2')#

Inter-digitated comb capacitor with fully parametric fingers.

All dimensions are stored as native EDB variables so they remain editable inside AEDT after the library cell is imported.

Parameters:
fingersint, default 8

Number of finger pairs.

finger_lengthstr, default “0.9 mm”

Length of each finger (string with units).

finger_widthstr, default “0.08 mm”

Width of each finger.

gapstr, default “0.04 mm”

Gap between adjacent fingers.

comb_gapstr, default “0.06 mm”

Gap between the two combs at the open end.

bus_widthstr, default “0.25 mm”

Width of the top/bottom bus bars.

layerstr, default “TOP”

Layer on which the capacitor is drawn.

net_astr, default “PORT1”

Net for the bottom comb.

net_bstr, default “PORT2”

Net for the top comb.

Examples

>>> idc = InterdigitalCapacitor(fingers=10, finger_length="0.5mm", gap="0.03mm")
>>> edb = Edb("idc.aedb")
>>> idc._pedb = edb
>>> idc.create()
>>> f"{idc.capacitance_pf:.2f} pF"
'0.74 pF'

Methods

InterdigitalCapacitor.create()

Draw the two bus bars and interleaved fingers.

Attributes