FJELIA

Technical note · Fjelia · December 2026 · Models offline-bp-1 and offline-bp-2

Blood-pressure estimation from the wrist pulse wave

Alexander Ebeling-Hoppe

Abstract

We describe the method Fjelia uses to estimate systolic and diastolic blood pressure from 30 s photoplethysmography (PPG) recordings of a wrist-worn optical sensor. Each recording is reduced to a median beat template on which five waveform features are measured. A per-person ridge regression model learns the feature weights from the wearable’s own blood-pressure readings of the same recordings, while the absolute level is set by upper-arm cuff readings taken simultaneously. Version 1 adds a night indicator; version 2 adds the time of day as a daily curve. All computation runs on the user’s phone. In a first single-subject evaluation over three days with 28 cuff readings, version 2 agreed with the cuff with a mean absolute error (MAE) of 3.8/3.6 mmHg (systolic/diastolic), below a constant cuff-mean predictor (4.6/4.3 mmHg); version 1 did not improve on it (5.3/4.7 mmHg).

Research feature. The estimate is not a medical measurement and must not be used for diagnosis or treatment. Fjelia is not a medical device.

1. Introduction

Cuffless blood-pressure monitoring relies on the observation that the shape and timing of the arterial pulse wave change with arterial pressure and stiffness [1, 2]. Because this relation differs between individuals, practical systems combine a waveform model with periodic cuff calibration. The method presented here follows that structure with two separate sources of supervision: the wearable’s own blood-pressure readings, available for many recordings, determine how the waveform features relate to pressure; cuff readings, available only occasionally, determine the absolute level.

Figure 1 summarises the processing chain. Sections 2 to 4 specify each step; Section 5 reports a first evaluation.

1. Recording30 s · 100 Hz 2. Onsetsdetrending, period 3. Templatemedian clean beat 4. Featuresfive descriptors Reference readingssame recordings 5. Weightsridge regression 6. Anchorlevel a Cuff readingssame moment Estimate BP = a + g(x)
Figure 1. Processing chain. Steps 1–4 are applied to every recording; the weights (step 5) and the anchor (step 6) are refitted whenever new readings become available.

2. Data

Recordings. The sensor stores optical recordings of N=3000 samples at fs=100 Hz (30 s) as signed 24-bit values of reflected light intensity. One header byte distinguishes calibration, day and night recordings; the encoding is not documented and was inferred from the data. The night value follows the sensor’s own sleep detection, which it also reports in 10-minute activity records: over 15 nights its total sleep differed from a sports watch’s by 19 minutes on average, and only 2 of 179 recordings had a mode that disagreed with it. The binary night indicator ν is derived from this byte.

Reference readings. The wearable reports its own blood-pressure value for many recordings. A reading is paired with the recording whose midpoint (15 s after its start) is closest, provided the distance is at most 60 s. Readings within 60 s of a calibration recording are excluded, because during calibration the wearable reproduces the cuff value instead of providing an independent estimate.

Cuff readings. An oscillometric upper-arm cuff is inflated by the app while the wrist sensor records. Each cuff reading is assigned to all recordings of its acquisition session; a calibration round contains two consecutive recordings. Cuff readings are taken during waking hours only.

3. Signal processing

3.1. Orientation and detrending

Absorption by arterial blood lowers the detected light, so the raw signal x is inverted, y=−x. A centred moving average Mw of width w, with the edge values repeated at both ends, removes baseline drift over 1.5 s and smooths the remainder over five samples:

Mw(y)[n]=1w∑j=0w−1y[min⁡(N−1, max⁡(0, n−⌊w/2⌋+j))],z=M5(y−M150(y))

3.2. Beat segmentation

The beat period L (in samples) is the lag of maximum normalised autocorrelation ρ of z between 35 and 180 beats per minute. Beat onsets are minima of z: the first within the first period, each subsequent one between 0.7 and 1.3 periods after its predecessor. Segmentation stops when this search window is shorter than five samples.

ρ(k)=∑n(zn−z‾)(zn+k−z‾)∑n(zn−z‾)2,L=arg max⌊60fs/180⌋≤k<⌊60fs/35⌋⁡ρ(k)
f0=arg min0≤n<L⁡zn,fj+1=arg minfj+⌊0.7L⌋≤n<min⁡(N, fj+⌊1.3L⌋)⁡zn
0 s2 s4 s6 s8 s10 sy = −xM₁₅₀(y)f₀, f₁, …L = 94 (64 min⁻¹)
Figure 2. Ten seconds of a synthetic recording after inversion (solid line), its 1.5 s moving average (dashed) and the detected beat onsets (dots).

3.3. Beat template

Each beat is taken from the lightly smoothed signal s=M3(y) between consecutive onsets, and the straight line joining its onsets is subtracted. Beats are resampled by linear interpolation to P=100 points and scaled to unit maximum. A beat whose maximum does not exceed its baseline indicates misplaced onsets, and the recording is rejected. Beats that correlate with the pointwise median beat at Pearson r>0.95 form the clean set 𝒞; at least six are required. The template τ is the pointwise median of the clean beats, and the period T (in seconds) is their median length.

bj[m]=s[fj+m]−(s[fj]+(s[fj+1]−s[fj])mℓj),ℓj=fj+1−fj
b^j[p]=bj(pℓj/(P−1))maxq⁡bj(qℓj/(P−1)),τ[p]=medianj∈𝒞⁡b^j[p],T=1fsmedianj∈𝒞⁡ℓj

3.4. Waveform features

Five features are measured on the template (Table 1, Figure 3). The derivative uses central differences, τ′[p]=12(τ[p+1]−τ[p−1]), with one-sided differences at both ends.

FeatureSymbolDefinition
Heart ratehr60/T min⁻¹
Maximum upstroke slopeup_slopemaxp⁡τ′[p]P/T s⁻¹
Time to first peakp1_tp1T/P s; p1 is the first local maximum above 0.6, otherwise the global maximum
Pulse width at 50 %w50_stime between the first and last point with τ≥0.5
Pulse width at 75 %w75_stime between the first and last point with τ≥0.75

Table 1. Waveform features measured on the template.

00.50.7510.0 s0.2 s0.4 s0.6 s0.8 sonsetnext onsetup_slope = 14.3 s⁻¹p1_t = 0.15 sw75_s = 0.10 sw50_s = 0.23 s
Figure 3. Synthetic template beat with the time to first peak, the pulse widths at 50 % and 75 % of the amplitude, and the tangent of maximum upstroke slope.

4. Model

4.1. Feature weights

Features are standardised with the mean μk and the population standard deviation σk over the reference pairs. Systolic and diastolic pressure are modelled separately as linear functions of the night indicator and a pressure-specific feature set:

zk=xk−μkσk,BP^=β0+βνν+∑k∈Kβkzk
Ksys={up_slope, p1_t, w50_s, hr},Kdia={w75_s, up_slope, hr}

The coefficients are estimated by ridge regression [3] with penalty λ=2; the intercept is not penalised. With the design matrix A (columns: ones, ν, zk) and D=diag⁡(0,1,…,1), the estimate has the closed form below and is computed by Gaussian elimination with partial pivoting. A model is fitted only when at least eight reference pairs are available. Because the features are standardised, each coefficient is expressed in mmHg per standard deviation.

β^=arg minβ⁡∑i(yi−β0−βννi−∑kβkzik)2+λ(βν2+∑kβk2)=(A⊤A+λD)−1A⊤y

4.2. Cuff calibration

The fitted intercept is discarded. The remaining shape term g(x) describes how a recording deviates from the person’s typical state. The anchor a is the mean residual of the C cuff readings cj with respect to the shape term, and the estimate is the sum of both:

g(x)=β^νν+∑kβ^kzk,a=1C∑j=1C(cj−g(xj)),BP^(x)=a+g(x)

The calibration thus shifts the regression surface to the cuff level without altering its slopes (Figure 4). As no cuff readings are available during sleep, the night coefficient βν is determined by the reference readings alone.

110120130140150-10-50+5+10shape term g(x), mmHgSBP, mmHga + g(x)β₀ + g(x)a − β₀ = 6.9
Figure 4. Calibration, illustrated with synthetic values. Ridge regression on the reference pairs (grey) determines the slope; the anchor shifts the line to the cuff readings (squares) without changing the slope (violet).

4.3. Version 2: time of day

Blood pressure follows a daily rhythm beyond sleep. Version 2 therefore adds two context terms to the night indicator: the sine and cosine of the local time of day h in hours. Together they describe a daily curve with a freely fitted amplitude and phase. Everything else, including the penalty and the calibration, is unchanged, and both versions are fitted and shown side by side:

cv1=(ν),cv2=(ν, sin⁡2πh24, cos⁡2πh24),BP^=β0+∑jβcjcj+∑kβkzk

5. Evaluation

5.1. Protocol

Agreement with the reference readings was assessed by leave-one-out cross-validation: each reference pair was predicted by a model refitted without it, including a new anchor. Agreement with the cuff was assessed by leaving out one 30-minute time bin at a time: the readings of each bin were predicted with an anchor computed from the other bins, using the coefficients fitted on all reference pairs. The baseline predicts every cuff reading by the mean of the cuff readings in the other bins. For the errors ei=BP^i−BPi we report bias, standard deviation (SD) and mean absolute error:

bias=1n∑iei,SD=1n∑i(ei−bias)2,MAE=1n∑i|ei|

5.2. Results

The data comprised one adult subject over three days in December 2026: 158 recordings with a valid template and 60 reference pairs. The 28 cuff readings were taken between 07:00 and 22:20 in 14 time bins; paired with the recordings of their round, they give 53 cuff-paired recordings. Table 2 summarises the agreement; Table 3 lists the fitted coefficients.

ComparisonnSystolicDiastolic
Bias ± SDMAEBias ± SDMAE
Version 1 vs. reference readings (leave-one-out)60−5.5 ± 5.26.2−1.9 ± 4.54.0
Version 2 vs. reference readings (leave-one-out)60−5.4 ± 5.16.1−2.1 ± 4.33.9
Version 1 vs. cuff (30-min bins left out)53 (28)+0.1 ± 6.45.30.0 ± 5.64.7
Version 2 vs. cuff (30-min bins left out)53 (28)+0.1 ± 4.53.80.0 ± 4.73.6
Cuff mean of the other bins (baseline)53 (28)+0.1 ± 5.34.60.0 ± 5.54.3

Table 2. Agreement in mmHg. n: recordings; for the cuff rows, the number of cuff readings in parentheses.

TermVersion 1Version 2
SystolicDiastolicSystolicDiastolic
Night−10.7−10.6−8.5−7.6
day_sin——−1.1−1.8
day_cos——−3.5−3.6
up_slope−1.0−2.6−0.6−1.7
p1_t+2.9—+2.1—
w50_s−3.4—−3.0—
w75_s—−2.3—−1.8
hr−1.1+0.3−0.5+0.8

Table 3. Fitted coefficients in mmHg per standard deviation of the feature; for the night term in mmHg, for the daily curve in mmHg per unit of sine or cosine.

Both versions reproduce the reference readings about equally well; most of the explained variance is carried by the night term and, in version 2, by the daily curve. This agreement is partly circular: the reference readings come from the same device and the same recordings, and the device presumably uses the same mode information. The systematic offset of about −5.5 mmHg systolic against the reference readings means that, at the cuff’s level, the reference readings lie about 5 mmHg higher than the cuff. Against the cuff, version 2 is the only one to improve on the constant baseline, by about 0.8 mmHg systolic and 0.7 mmHg diastolic; version 1 does not.

6. Discussion and limitations

Further work requires cuff readings over a wider pressure range on separate days, evaluation on held-out days and a comparison with richer waveform descriptors such as the timing of the second derivative.

7. Implementation

Signal processing (Section 3) and both model versions (Section 4) are implemented in Dart without external dependencies in the open-source package fjelia_core (pulse_shape.dart, offline_bp.dart, version 0.22.18). The app reads recordings and readings from its local research archive, computes the estimates of both versions in the background, separately from the user interface, and shows them as two series in the blood-pressure chart, beside the cuff readings. No data leaves the device for this purpose. The Dart implementation reproduces the reference analysis for both versions to within numerical rounding.

References

  1. [1] Elgendi M. On the analysis of fingertip photoplethysmogram signals. Curr Cardiol Rev. 2012;8(1):14–25. PMC3394104 · doi:10.2174/157340312801215782
  2. [2] Mukkamala R, Hahn JO, Inan OT, Mestha LK, Kim CS, Töreyin H, Kyal S. Toward ubiquitous blood pressure monitoring via pulse transit time: theory and practice. IEEE Trans Biomed Eng. 2015;62(8):1879–1901. PMID 26057530
  3. [3] Hoerl AE, Kennard RW. Ridge regression: biased estimation for nonorthogonal problems. Technometrics. 1970;12(1):55–67. doi:10.2307/1271436

← Back to Fjelia