How to compute signal propagation delay in Python using UliEngineering

You can easily compute the signal propagation delay through a transmission line using the UliEngineering Python library:

propagation_delay.py
from UliEngineering.Electronics.PropagationSpeed import *
from UliEngineering.EngineerIO import *

# Compute propagation delay for 10cm FR4 PCB trace
delay = propagation_delay("10cm", 4.5)
print(f"Delay for 10cm FR4 trace: {format_value(delay, 's')}")

# Compute propagation delay for 1m cable (εr=1.0)
delay = propagation_delay("1m", 1.0)
print(f"Delay for 1m air: {format_value(delay, 's')}")

Example output

propagation_delay_output.txt
Delay for 10cm FR4 trace: 1.58 ns
Delay for 1m air: 3.33 ns

The propagation delay is computed using the formula: $t = \frac{l}{c \cdot VF}$, where $l$ is the length, $c$ is the speed of light, and $VF = \frac{1}{\sqrt{\varepsilon_r}}$ is the velocity factor.


Check out similar posts by category: Electronics, Python