DEV Community

朱连兴
朱连兴

Posted on

Why Our Radar Reports Heart Rate About 18 BPM High, and Why We Publish It

AnBei is a 60 GHz mmWave breathing and heart-rate recorder for children's rooms. Its heart-beat number reads roughly 18 beats per minute high in absolute terms. We put that sentence in the product documentation instead of hiding it behind a calibration constant. This post explains where the bias comes from and why we chose trends over absolutes.

Two motions, one phase signal

The radar does not see a heart. It sees the chest wall moving. Breathing displaces the surface 4–12 mm; the cardiac component is 0.1–0.5 mm, roughly one to two orders of magnitude smaller. Both are encoded in the phase of the returned signal, and both arrive summed.

The standard approach is band separation:

  • breathing band: roughly 0.1–0.5 Hz (6–30 breaths/min)
  • cardiac band: roughly 0.8–2 Hz (48–120 beats/min)

Then you pick the dominant peak in each band and convert to a rate. On a cooperative adult lying still, this works well enough. On a child, with faster breathing and smaller chest excursions, it works less well.

Where the 18 BPM comes from

Three effects stack up:

1. Respiratory harmonics land in the cardiac band. Breathing is not a pure sinusoid. Its second and third harmonics can fall at 0.8–1.5 Hz — exactly where the heart-beat peak is supposed to be. When the cardiac peak is weak, the harmonic wins, and the reported rate is a multiple of the breathing rate rather than a heart rate.

2. Phase unwrapping errors. Large motion — rolling over, a parent leaning in — produces phase jumps. If the unwrap is imperfect, the residual shows up as a low-frequency artifact that biases the spectral estimate.

3. Distance and SNR. At 1.5 m the cardiac displacement is already near the noise floor. Averaging over a longer window improves the estimate but smears real variability, and it does not remove the harmonic contamination.

The result is not random noise around the true value. It is a systematic offset, mostly upward, because the harmonic and artifact contributions rarely pull the estimate lower than the true rate.

Why not just subtract 18?

Because the offset is not a constant. It varies with:

  • breathing rate (which moves the harmonics)
  • posture and chest geometry
  • body motion during the night
  • distance and angle

A single subtracted constant would make some nights look accurate and others worse. Worse, it would imply a precision the sensor does not have. A calibrated medical device earns the right to report absolute BPM; a consumer recorder does not.

So the product reports:

  • breathing rate with an accuracy of about ±2 breaths per minute under the stated conditions
  • heart-beat rate as a trend, with the absolute offset disclosed
  • night-to-night comparison for the same bed and the same child, which is what parents actually ask ("is this week steadier than last week?")

What "trend only" means in the data model

Practically, this changes the schema. We store the per-night series, not a single nightly number, and comparisons are made between nights rather than against a population norm. The UI shows a band, not a point estimate with implied precision.

It also means we mark windows as invalid instead of smoothing them:

  • child sitting up or moving
  • more than one person in the bed
  • out of slant range
  • occlusion in the RF path (net, canopy, rail)

Averaging an invalid window into the nightly curve is how you manufacture false confidence.

Boundaries

AnBei is a recording device, not a medical device. It does not diagnose, does not detect apnoea, does not measure blood oxygen, and is not a substitute for supervision. Children aged 0–3 must always have a caregiver in the same room. If a child shows any abnormality, seek medical attention.

The honest engineering position is that contact-free cardiac sensing at 1.5 m with a 60 GHz radar is a trend instrument. Publishing the 18 BPM offset costs us a marketing line and buys us something more useful: users who read the curve correctly.

Top comments (0)