LibreVNA t-check experiment

py
equipment
Published

November 8, 2026

LibreVNA t-check experiment

Prelude

Looking around for a t-check adapter I found a seller, but unfortunately it was marked out of stock. Just the price made my day, I’m unable to spend some 3 to 4e3 Euros for a device like that. Nevertheless its specs were given for free download. Some 12 pages filled with a nice picture and a bunch of numbers about the specified frequencies. Instead I got a very cheap (15 Euro, delivery included) 3-leg N-Connector. A 50 Ohm load is included in the Eleshop N(m) Calkit. That should fit for my needs.

In the previous post I ended up with a calibrated LibreVNA and saved the calibration on disk. Now its time to use the VNA to measure our t-check 3-leg N(f)-Connector and a 50 Ohms load.

As the measurement itself is not a secret, I saved the data as a touchstone file, which I’m going to be read into this notebook. I saved it: t-check-100k-3G.s2p

s-parameter mixing and shaking

According to the Rohde & Schwarz paper T-Check-Accuracy-for-VNA-RS-1ez43_0e.pdf the s-parameters need to be mixed up in the following manner:

At first we have three terms to be used in the final formula, a, b, c_

\[ a = | S_{11} \cdot S^*_{21} + S_{12} \cdot S^*_{22} | \]

\[ b = | 1 - S_{11}^2 - S_{12}^2 | \]

\[ c = | 1 - S_{21}^2 - S_{22}^2 | \]

These are used in combination to calculate the T-Check value:

\[ t_{check} = \frac{a}{\sqrt{b\cdot c}} \]

Ideally it would result in a value of \(1\), lets do it …

Just a try: Python

import numpy as np
from matplotlib import pyplot as plt
from skrf import Network

file_to_read = 'files/t-check-100k-3G.s2p'
t_measure = Network(file=file_to_read)

f = t_measure.f
f_start = str(f[:1]/1e6).lstrip('[').rstrip(']')
f_stop = str(f[-1:]/1e6).lstrip('[').rstrip(']')
print("Frequencies in file" + ": " + f_start + " MHz <==> " + f_stop + "0 MHz")
Frequencies in file: 0.1 MHz <==> 3000.0 MHz
# split the s-parameters
s11 = t_measure.s11
s11.name = "s11"
s12 = t_measure.s12
s12.name = "s12"
s21 = t_measure.s21
s21.name = "s21"
s22 = t_measure.s22
s22.name = "s22"
print("s_11:", s11)
# extract the values into numpy arrays
# then look at the values and the conjugates, one single example should fit
sv11 = s11.s
svc11 = np.conj(sv11)
sv12 = s12.s
svc12 = np.conj(sv12)
sv21 = s21.s
svc21 = np.conj(sv21)
sv22 = s22.s
svc22 = np.conj(sv22)
print("sv11: ", sv11[:1])
print("sv11*:", svc11[:1])
s_11: 1-Port Network: 's11',  100.0-3000000.0 kHz, 4501 pts, z0=[50.+0.j]
sv11:  [[[-0.36579915-0.01067996j]]]
sv11*: [[[-0.36579915+0.01067996j]]]
# the squares are needed as well
s11v_sq = np.square(sv11)
s12v_sq = np.square(sv12)
s21v_sq = np.square(sv21)
s22v_sq = np.square(sv22)
# now we can build our three terms a, b, c
# first equation: a
# a = | S_{11} \cdot S^*_{21} + S_{12} \cdot S^*_{22} |
a_1 = sv11 * svc21
a_2 = sv12 * svc22
a = abs(1 - a_1 + a_2)
# second equation: b
# b = | 1 - S_{11}^2 - S_{12}^2 |
b = abs(1 - s11v_sq - s12v_sq)
# third equation: c
# c = | 1 - S_{21}^2 - S_{22}^2 |
c = abs(1 - s21v_sq - s22v_sq)
tc = a / np.sqrt(b * c)
plt.rcParams['figure.figsize'] = [8, 4]
plt.grid(True)
plt.minorticks_on()
plt.title("3-N(f) t-check - 50 Ohm load")
plt.plot(f[:],tc[:,0], color='black')
plt.hlines(1.0, 0, 3e9, colors='g')
plt.ylim(0,2.4)
plt.xlabel("Frequency (MHz) ", fontsize=12)
plt.ylabel("t_check", fontsize=12)
plt.show()

Thats not so very nice as the R&S example, but not totally unexpected ;-)

Have Fun!