In development. It changes without notice.
2026-11-20 — the Relay 2 Click commissioned, the relay null validated, and the first two-point shunt calibration
One bench session, from about 02:00 to 03:55 (CET), on firmware 0.3.0, image meter_relay2. The raw SCPI exchange is 2026-11-20.log: the host's log of every message and its response, with the 2,738 NUL bytes that padded its four *IDN? answers removed and nothing else changed. The registry files this session as events 2026-11-20-00 to 2026-11-20-02 of instrument KM-0000000000 (../
Result: R = 100.116 mΩ ± 0.085 mΩ (k = 2), one value for both ADC ranges. The instrument holds it as its working copy: SENSe:CURRent:SHUNt 0.100116, CALibration:TAG "R100_
1. The Relay 2 Click as the shunt bypass
The bypass moved from the HW-316's K3 to the MikroE Relay 2 Click (../../
The firmware did what it must: it refused, released to path=shunt, and the DUT stayed fed. With both wires fixed:
- ROUTe:BYPass ON refuses a measurement while the bypass is closed across a closed lead (101,"Shunt bypassed"), and OFF gives it back.
- The three readings of the check, with the T-Deck drawing about 88 mA: 9.014 mV across the shunt alone, 2.295 mV with the bypass closed beside it, 4.06 µV with K1 open. The second reading puts the bypass branch (the LCA717, its wires and their screws) at 0.100 Ω × 2.295 / (9.014 − 2.295) ≈ 34 mΩ.
- The switching times of the Click (operate and release, docs/
rig-wiring.md §8.6) were not measured in this session; the firmware still waits its 10 ms SSR settle.
2. The relay null against the hand null
docs/
| # | Method | offset_pv | µV | die_mc |
|---|---|---|---|---|
| 1 | relay | 1858853 | 1.859 | 25460 |
| 2 | hand | 1978194 | 1.978 | 26617 |
| 3 | relay | 2055547 | 2.056 | 25539 |
| 4 | hand | 2320868 | 2.321 | 25539 |
The four rise monotonically, about 0.13 µV per step: drift, not method. A least-squares fit of a constant, a linear drift and a method offset gives hand − relay = +0.057 µV (drift 0.135 µV per step, residuals ±0.036 µV), inside the 0.1 µV criterion. The relay null is validated: QA may null through the relays again.
3. The offset null drifts within a session
The range-0 null went from 1.86 µV (the first relay null, early in the session) to 2.22 (the STATE null taken before the line dropped at about 02:30), 2.94 (SLEEP, about 03:00), 4.38 (SLEEP, 03:45) and 4.61 µV (about 03:55): about 2.7 µV in two hours, most likely thermal EMF in the sense loop, warmed by the 0.16 W the reference dissipates. A null therefore belongs to its session and is never part of the calibration: the guided calibration takes its own before and after, QA brackets every capture with its own, and the registry stores the nulls of a calibration only as evidence.
4. The shunt, two points against the 100 Ω reference
Method: ../README.md, "The shunt, two points". Reference: VPG Y0785100R000T9L, 100 Ω ±0.01 % (S102C foil: TCR ±2 ppm/°C, load life ±0.005 %), no certificate. One bench fact differs from the guide's step 4: on this rig the cell's + feeds the VBUS screw and a VBUS–VIN+ jumper carries it to VIN+. For the calibration the cell's + was moved to VIN+ and the VBUS wire went to the reference's top lead, so VBUS sensed the reference and nothing else.
Run 1 (02:49–03:30): drifting joints — superseded
The reference's leads were twisted and clipped to the pigtails. STATE, 2000 samples a point, the 10 s STATE nulls taken before the line dropped at about 02:30 (range 0 2.217 µV, range 1 2.193 µV):
| Range | r_nohm | die_mc |
|---|---|---|
| 0 | 100035634 | 26953 |
| 0 | 100046072 | 27710 |
| 1 | 100046169 | 27039 |
| 1 | 100043185 | 27867 |
Every limit of the tool held (repeats of 104 and 30 ppm against 200, ranges 38 ppm apart against 1000), and 100.043 mΩ was stored (R100_20261120). Ten minutes later, on fresh SLEEP nulls, the same wiring read 100.153 to 100.163 mΩ on range 0 and 100.169 to 100.177 on range 1 (300 samples a point), and by 03:30 range 0 read 100.209 to 100.212 mΩ on both profiles: 100.04 → 100.21 mΩ over about 40 minutes. A shift of 0.17 % is a contact of about 0.17 Ω in series with the reference's VBUS path, about 7 mV on the 4 V it senses: the twisted joints, not the shunt. The run is filed as superseded, and the lesson is in the guided calibration: the joints are screwed, and a closure gate compares the first and the last block of each range.
Run 2 (03:34–03:39): stability after screwing the joints
The reference's joints were screwed into terminal blocks. Then 20 points on range 0, STATE, 1000 samples each, in about five minutes:
Mean 100.160 mΩ, sample standard deviation 87 ppm, no trend (slope −65 ± 348 nΩ per point, −12 ppm over the run). The bench was still; these points ran on the STATE nulls of 03:00, 1.44 µV older than the ones of run 3 (section 5).
Run 3 (03:45–03:55): the calibration — accepted
SLEEP profile (4120 µs conversions, 16 averages), nulls of 60 s with K1 open (ROUTe:LEAD OPEN,FORCe, path=none, the T-Deck on USB), then four points of 600 samples on each range, then a closing null on range 0:
| Null | offset_pv | die_mc |
|---|---|---|
| range 0, before | 4382038 | 26195 |
| range 1, before | 3941001 | 26093 |
| range 0, after | 4609023 | 26062 |
| Range | Points (r_nohm) | Mean | sd |
|---|---|---|---|
| 0 | 100104667, 100077748, 100078437, 100091723 | 100.0881 mΩ | 127 ppm |
| 1 | 100132213, 100147473, 100151308, 100146675 | 100.1444 mΩ | 84 ppm |
The ranges are 562 ppm apart, inside the 1000 ppm limit; the die stayed between 26.09 and 26.48 °C. The value applied to both ranges is their mean, 100.116 mΩ, and the split enters the budget as a term of its own.
5. What the three runs say about the range split
The split was 38 ppm in run 1, 153 ppm in the SLEEP points at 03:00, and 562 ppm in run 3, each time with range 0 measured before range 1. Drift is confounded with range, so the split is not yet a property of the instrument: applying one value to both ranges, with half the split as a budget term, is the honest result today. The guided calibration measures the ranges in the order 0, 1, 1, 0, which takes a linear drift out of the split; a later calibration that shows a stable split may apply each range's own mean.
Between runs, range 0 read 100.160 mΩ (run 2) and 100.088 mΩ (run 3), 720 ppm apart, more than the budget's 112 ppm repeatability: run 2's null was 1.44 µV older, which on a 4.06 mV signal explains up to 355 ppm. Both sit inside 100.116 ± 0.085 mΩ, so the filed interval holds; the guided calibration takes its repeatability from the scatter between blocks with fresh nulls around them, not from within one block.
6. Uncertainty budget
| Term | Limit | Distribution | u (ppm, k = 1) | Source |
|---|---|---|---|---|
| reference tolerance | ±100 ppm | rectangular | 58 | VPG Y0785100R000T9L, ±0.01 % |
| reference TCR | ±40 ppm | rectangular | 23 | ±2 ppm/°C over a ±20 °C bound on the reference's temperature (0.16 W of self-heating) |
| INA228 bus gain | ±500 ppm | rectangular | 289 | TI SBOSA20 §6.5, ±0.05 % |
| range gain spread | 281 ppm | normal | 281 | half the 562 ppm split of run 3 |
| null drift | 57 ppm | rectangular | 33 | range 0's null moved 0.227 µV across the run, on a 4.06 mV signal |
| repeatability | 112 ppm | measured | 112 | the points' scatter |
u_c = √(58² + 23² + 289² + 281² + 33² + 112²) = 424 ppm; U (k = 2) = 848 ppm, ±85 µΩ.
R = 100.116 mΩ ± 0.085 mΩ (k = 2), against the 1 % every figure carried while the part was unmeasured.
7. As stored
This NVS blob is the working copy; the registry entry 2026-11-20-02 is the calibration. Firmware 0.4.0 reads the same blob after an app flash and adds cal_date, which kleidos-meter calibration restore writes from the registry.