Closing loops in the timing graph¶
Where two independent routes reach the same clock, the offsets around the loop must sum to zero. Three measured loops close within their noise; the BIS loop closes up to a constant latency; the proposed EMR loop is not a loop at all. Adjusted as a network over the whole release, every loop type closes on average, including two that reach the SNUADC through the PC-stamped Solar8000 numerics instead of its own stamps.
| Date | 2026-11-11 |
| Status | current |
| Methods | One event, two clocks |
| Techniques | Null controls |
| Clocks | SNUADC sample clock, BIS clock, Primus clock, CardioQ clock, Recorder PC clock, Hospital records clock |
| Devices | SNUADC, BIS monitor, Primus anaesthesia machine, CardioQ, EV1000, Vital Recorder, Clinical records |
| Variables | Arterial pressure (SNUADC), CardioQ pressure and flow, EV1000 mean arterial pressure, BIS EEG, Airway pressure (Primus), Anaesthesia record events |
Background¶
The links outward from UTC form a tree. Any further link between two nodes closes a loop, and a loop that does not close means one of its links rests on a wrong assumption. Where two routes meet is where an assumption can be tested rather than defended. With several loops, all links can be fitted together as a network adjustment, as in survey levelling or clock ensembles.
Data¶
Four loops, each from data measured for another study:
- Arterial pressure three ways: the 15 cases with SNUADC, CardioQ and EV1000 arterial pressure; 14 had usable 30-minute EV1000 blocks (145 blocks).
- BIS EEG: the burst lags of 145 benchmark cases with BIS (Shared bursts between the ECG and the EEG) against both devices' stamps.
- Ventilation: 57 large changes in the breath-matched Primus lag from The Primus ventilator against SNUADC, by breaths.
- EMR clock and recorder clock: the EMR times and the recorder EVENT track in all 6,388 cases.
Method¶
For each loop, the offset measured directly between two devices was compared with the sum of the offsets along the other route:
- Arterial pressure three ways: EV1000 − SNUADC against (EV1000 − CardioQ) + (CardioQ − SNUADC), per 30-minute EV1000 block; EV1000 − CardioQ is measured without SNUADC.
- BIS EEG: the burst lag's ramps, steps and constant against both devices' own stamps.
- Ventilation: jumps in the breath-matched Primus lag against Primus stamp re-anchors; two physiological arms (CVP; systolic pressure) against each other.
- EMR clock and recorder clock: the proposed offset from where entries cluster on 5-minute marks.
Results¶
| Loop | Result | Verdict |
|---|---|---|
| Arterial pressure three ways | 14 cases, 145 blocks: residual median +0.13 s (p10–p90 −0.97 to +1.18 s); within 1 s in 75%, 2 s in 96% | Closes, within the CardioQ's re-anchoring spread |
| BIS EEG | Drift within 25 ppm in 252 of 335 recordings (r = 0.83); 74% of lag jumps on a stamp step (chance 9%); a constant −0.80 s (step mode) or −0.69 s (frequent mode; −0.67 s over the whole release) remains | Closes in drift and steps; the constant is a latency |
| Ventilation | 72% of 57 large lag changes fall on a Primus stamp jump; the physiological arms differ by 37–46 ppm | Partly closes; physiological arms too weak |
| EMR and recorder | Both arms are measured from the recorder's case start, so any offset cancels; the recorder EVENT track repeats the clinical table's times exactly | Degenerate: not a loop |
Network adjustment over the whole release (19 October; rerun 1 November with the remeasured SNUADC correction, 0.500 s; 6 November with the Solar8000 route, run r5; 11 November on the stage-3 inputs, the v4 SNUADC rates and the
current Solar8000 HR rule, run r6, $W/clock_network/r6, recorded runs). Every measured link of every recording is an edge
with a value and a standard error (2,109 recordings; tools/clock_edges.py --reset-loss
--drop-missed --solar-min-h 6), and each recording's clock network is adjusted by weighted least squares
(tools/clock_reconcile.py, on the dataset-independent physiosync/network.py).
The Solar8000 route (The SNUADC clock through the Solar8000 numerics, whole release) links the SNUADC's sample count to the PC through the heart rate
and mean arterial pressure the PC stamps on arrival, without the SNUADC's stamps or the BIS. It enters only in
recordings of 6 hours or more: shorter ones are biased toward zero, by +20 ppm against the resets at 4.5–6 h and
+4.7 ppm at 6–8 h (tools/solar_length_check.py, $W/clock_network/r6_inputs/
solar_length_check_v4.json; r5: +22 and −1.4 ppm). Its stated standard error, the slope's, misses the Solar8000's
occasional delay steps, so it is multiplied by 1.5 (r5: 1.7): the median |route − reset rate| over its standard
error in the 333 recordings of 6 hours or more with whole reset intervals, over the 0.674 a normal would give. In
r5, with the stated errors, its variance factor was 9.8, and the adjustment pushed its misfit onto the resets (5.1
to 17.2).
The fundamental loops give the misclosures:
| Loop | Loops | Misclosure, median (p25–p75) | Share with abs(z) > 3 |
|---|---|---|---|
| BIS–SNUADC–PC through the resets (BIS steps, ECG–EEG bursts, SNUADC resets) | 253 | +0.97 ppm (−4.0 to +7.7) | 17% |
| SNUADC–PC, resets against the Solar8000 route | 179 | +2.44 ppm (−14.5 to +23.9) | 5.0% |
| BIS–SNUADC–PC through the Solar8000 route (BIS steps, ECG–EEG bursts, Solar8000) | 245 | +10.35 ppm (−10.1 to +35.0) | 9.4% |
| Primus–PC, two routes (breath matching, PIP numerics) | 166 | −3.5 ppm (−51.9 to +38.2) | 5% |
Three close on average. The third, the test through a route that uses neither the SNUADC's stamps nor its resets,
closes at about +10 ppm, inside its spread but not at zero. In r5 it closed at +4.1 ppm, and that was an
artefact: the Solar8000 route then used the HR rule in use before 1 November (60 / median R–R over 6 s), whose
rates sat 9.9 ppm below the independent mean arterial pressure route; with the current rule
(How the Solar8000 computes its heart rate) the two agree (+2.3 ppm) and each alone closes this loop at about 10 ppm (pressure 11.0
ppm in both runs, HR 9.1), where the old-rule HR gave −5.8 ppm (examples/solar_route_check.py,
$W/clock_network/r6_inputs/solar_route_check; The SNUADC clock through the Solar8000 numerics, whole release). The first loop, through the resets in
other recordings, still closes at +1 ppm, so the 10 ppm sits in recordings without whole reset intervals (open
question below). Its z also tests the Solar8000's 1.5 factor, which was set on the resets and not on the BIS (the
second row's z cannot, for that reason); its bursts and the Solar8000 route both use the ECG, so the loop is not
wholly independent. The variance factors (2.0 to 7.8 by method, Variance factors of the clock network; 1 would mean the stated standard errors are right) show the standard errors are
still too small, so single-recording flags are not yet trusted.
| Parameter | Value | Status | From |
|---|---|---|---|
| Misclosure of the BIS-SNUADC-PC loops | 0.97 ppm (IQR −4.0 to 7.66; n = 253) | measured | Closing loops in the timing graph |
| BIS-SNUADC-PC loops beyond three standard errors | 17% (n = 253) | measured | Closing loops in the timing graph |
| Misclosure of the BIS-SNUADC-PC loops through the Solar8000 | 10.35 ppm (IQR −10.12 to 35.04; n = 245; median | z | 0.90, 9.4% beyond 3 standard errors; the bursts and the Solar8000 route share the ECG) |
| Misclosure of the SNUADC-PC loops through the Solar8000 | 2.44 ppm (IQR −14.46 to 23.89; n = 179; median | z | 0.59, 5.0% beyond 3 standard errors; the Solar8000 route's standard error is calibrated on the resets, so z here is not a test of it) |
| Variance factors of the clock network | 2 to 7.8 by method | measured | Closing loops in the timing graph |
Discussion¶
The relative uncertainty between two signals depends only on the links between them and their nearest common node; everything above that node is shared and cancels. The BIS constant belongs in the BIS link as a latency. The EMR clock's offset cannot be separated from documentation lag without a time from outside the release.
Observations it supports¶
| Observation | Status | Summary |
|---|---|---|
| The EEG–ECG offset is fixed by the SNUADC correction mode | established | After the stamp model, BIS EEG stamps still sit early against the SNUADC ECG by a constant (EEG minus ECG): −805 ms in step mode and −665 ms in frequent-correction mode over the whole release, tight within a port or unit. The mode, a property of the setup, sets the constant. |
| The EMR clock's offset cannot be separated from documentation lag | established | Both routes between the EMR clock and the recorder run through the case start, so any EMR clock offset cancels. Without a time from outside the release it is confounded with how late entries are made. |
| The EVENT track repeats the clinical table | established | In 411 random cases the recorder EVENT track's four entries equal the clinical table's case start, operation start, operation end and case end exactly: the release generated them from the table. |
Open questions¶
- Where the 10 ppm of the Solar8000 BIS loop sits (unexplained phenomenon). In the 245 recordings without whole reset intervals, BIS steps, ECG–EEG bursts and the Solar8000 route close at about +10 ppm, by either Solar8000 numeric alone (run r6); the same loop through the resets, in other recordings, closes at +1 ppm. One of the BIS steps, the bursts or the SNUADC count carries about 10 ppm in these recordings, or the selection (step-mode units without resets, which The SNUADC clock through the Solar8000 numerics, whole release finds about 20 ppm slower than the stamp model gives them) brings it. Splitting the loop by SNUADC mode and port would locate it. The mains hum gives a third route to the SNUADC count (hum line plus the setup's PC rate against the grid); in the 10 of these recordings where it can be formed it sides with the BIS route (hum minus BIS +1.9 ppm, minus Solar8000 −26.7), but it scatters by about 16 ppm per recording and the answer changes with the setup threshold, so it needs a hum-line quality filter and a port-level grid rate before it can test the loop (
examples/hum_loop_check.py,$W/clock_network/hum_loop_check). - The BIS constant as processing latency (weakly supported hypothesis). The loop closes in drift and steps but leaves −0.80 s (step mode) or −0.69 s (frequent mode; −0.67 s over the whole release). A processing latency in the BIS is the working explanation; it fits the sign and size but has no direct evidence, and it does not explain why the constant differs between modes.
- The ventilation loop only partly closes (unexplained phenomenon). The ventilation loop only partly closes: its two physiological arms differ by 37–46 ppm.