LiteVNA64 verstehen
Erscheinungsbild
Umrechnung von LiteVNA-Impedanzwerten im Smith-Diagramm
Hintergrund
LiteVNA und ähnliche VNA-Geräte zeigen im Smith-Diagramm Impedanzwerte in normierter Form an – also relativ zur Systemimpedanz (meist Z₀ = 50 Ω). Werte wie 155m sind dabei nicht „Milli“ im üblichen Sinn, sondern eine gerätespezifische Schreibweise:
- Beispiel
- 155m + j70.9 bedeutet:
- Realteil: 1.55 normiert → 1.55 × 50 Ω = 77.5 Ω
- Imaginärteil: bereits als Ohm-Wert dargestellt → j70.9 Ω
- Interpretation: 77.5 Ω + j70.9 Ω (induktiv)
Umrechnungstabelle
| Anzeige | Normierter Wert | Impedanz bei 50 Ω | Bemerkung |
|---|---|---|---|
| 1.00 | 1.00 | 50.0 Ω | Referenzimpedanz |
| 155m | 1.55 | 77.5 Ω | Achtung: kein milli! |
| 500m | 5.00 | 250.0 Ω | hohe Impedanz |
| 200u | 0.20 | 10.0 Ω | µ = micro (wie üblich) |
| 30n | 0.03 | 1.5 Ω | n = nano |
| 75.0 | 75.0 | 3750 Ω | sehr hohe Fehlanpassung |
| 5.0u | 0.005 | 0.25 Ω | fast Kurzschluss |
Python-Skript zur Umrechnung (mit SWR und Reaktanz)
Folgendes Python-Skript wertet VNA-Zeichenketten wie z. B. 155m + j70.9 aus und berechnet:
- Reelle Impedanz (Ohm)
- SWR (Stehwellenverhältnis)
- Reaktanztyp: kapazitiv oder induktiv
- Kapazität oder Induktivität bei gegebener Frequenz
import re
import cmath
def parse_vna_component(value: str) -> float:
value = value.strip().lower()
match = re.match(r'^([\d.]+)([num]?)$', value)
if not match:
raise ValueError(f"Ungültiges Format: {value}")
val, suffix = match.groups()
val = float(val)
if suffix == 'n':
return val * 1e-9
elif suffix == 'u':
return val * 1e-6
elif suffix == 'm':
return val * 1e-2 # LiteVNA-spezifisch!
else:
return val
def parse_complex_impedance(vna_str: str, z0=50.0) -> complex:
vna_str = vna_str.strip().lower().replace(' ', '')
match = re.match(r'^([-\d.mu]+)([+-]j[\d.mu]+)$', vna_str)
if not match:
raise ValueError(f"Ungültiges Format: {vna_str}")
real_str, imag_str = match.groups()
imag_sign = -1 if imag_str.startswith('-j') else 1
imag_val_str = imag_str[2:] if imag_sign == 1 else imag_str[3:]
r_norm = parse_vna_component(real_str)
x_norm = parse_vna_component(imag_val_str) * imag_sign
return complex(r_norm * z0, x_norm * z0)
def calculate_swr(z: complex, z0=50.0) -> float:
gamma = (z - z0) / (z + z0)
return (1 + abs(gamma)) / (1 - abs(gamma))
def calculate_reactance_component(x: float, freq_hz: float) -> str:
omega = 2 * 3.141592653589793 * freq_hz
if x > 0:
l = x / omega
return f"{l*1e6:.2f} µH (induktiv)"
elif x < 0:
c = -1 / (omega * x)
return f"{c*1e12:.2f} pF (kapazitiv)"
else:
return "0 (keine Reaktanz)"
def auswertung(vna_str: str, freq_mhz: float, z0=50.0):
freq_hz = freq_mhz * 1e6
z = parse_complex_impedance(vna_str, z0)
swr = calculate_swr(z, z0)
reactanz_typ = calculate_reactance_component(z.imag, freq_hz)
print(f"VNA-Eingabe: {vna_str}")
print(f"Frequenz: {freq_mhz} MHz")
print(f"Z = {z.real:.2f} + j{z.imag:.2f} Ω")
print(f"SWR: {swr:.2f}")
print(f"Reaktanz: {reactanz_typ}")
print("")
# Beispielwerte
messwerte = [
("155m + j70.9", 868),
("1.00 + j0", 1000),
("200u - j30", 144),
("30n + j100", 433)
]
for eintrag, freq in messwerte:
auswertung(eintrag, freq)Beispielausgabe
VNA-Eingabe: 155m + j70.9 Frequenz: 868 MHz Z = 77.50 + j70.90 Ω SWR: 2.84 Reaktanz: 13.01 µH (induktiv) VNA-Eingabe: 1.00 + j0 Frequenz: 1000 MHz Z = 50.00 + j0.00 Ω SWR: 1.00 Reaktanz: 0 (keine Reaktanz) VNA-Eingabe: 200u - j30 Frequenz: 144 MHz Z = 10.00 + j-1500.00 Ω SWR: 75.96 Reaktanz: 738.66 pF (kapazitiv) VNA-Eingabe: 30n + j100 Frequenz: 433 MHz Z = 1.50 + j5000.00 Ω SWR: 103.44 Reaktanz: 1.84 µH (induktiv)