NODBOT · ALGORITHM NOTES

Evidence, not guesswork.

Two algorithms run the day. A spatial-sensing layer reads the room and decides what is happening in it. A sleep-monitoring layer reads the body through a blanket. Together they turn a stream of weak reflections into one confident action — a light that rises, a screen that changes, a morning that begins gently.

NO CAMERA MULTI-ZONE DEPTH 24 / 60 GHz FMCW 30-SECOND EPOCHS ON-DEVICE FUSION

01 · SYSTEM

Four layers, one closed loop.

The product is built as four stacked layers. Each layer answers a narrower question than the one below it, so a decision at the top can always be traced back to evidence at the bottom.

L0 · DEVICE Sensor foundation ToF depth array, radar, microphones, temperature, humidity and ambient light.
L1 · PERCEPTION Spatial sensing Zones, presence, occupancy, posture and vital micro-motion, with an empty-room baseline.
L2 · MODEL Spatial world model State ladder: who is here, where, in what state, and how confident the evidence is.
L3 · AGENT Spatial intelligence Chooses the cheapest channel that fits the state: light, screen, sound, voice, device link.

02 · PART ONE

The spatial interaction algorithm.

Interaction starts long before you touch anything. The question is not “was a pixel crossed?” but “is there a person, is that person in bed, and is that person asleep?” The system answers it by accumulating independent evidence instead of trusting one sensor.

SENSEMulti-zone ToF65° diagonal field of view, 200 cm coverage
SENSERadar tierPresence and activity, plus vital signals on higher tiers
SENSEMicrophonesRelative change in ambient sound
SENSEEnvironmentTemperature, humidity, ambient light
FRAMESHigh-frequency streamKeeps micro-motion and breathing displacement
FRAMESLow-frequency stable streamMedian and high quantile suppress transient noise
MEMORYZero-copy single slotNo queue growth, no allocation spikes
BASELINEEmpty-room snapshotPer-zone median, then frozen as the reference
FIELDMulti-zone depth fieldDepth and motion per zone; centre of mass, variance, rate of change
VOTEMajority over secondsMotion, sound and radar vote independently
LATCHOccupancy + vital proofGeometry alone is not enough — micro-motion proves a living body
STATEState ladderEach level needs its own evidence before it is announced
ACTLightLowest-cost channel, always first
ACTScreenE-ink updates only when the state changes
ACTTone or soundscapeAdded only when light and screen are not enough
ACTVoice or linkReserved for the moments that truly need them
01 · SENSE

Space is divided into ranging zones.

Rather than a single distance reading, the depth array reports a multi-zone depth field. Each zone carries its own depth and motion, so a bed, a chair and a doorway do not collapse into one number. The ToF module covers a 65° diagonal field of view up to 200 cm.

02 · FILTER

Two speeds of truth.

A high-frequency stream preserves the small chest displacement that breathing produces. A low-frequency stable stream is built from a per-zone median and a high quantile, which removes transient spikes without erasing real change. A zero-copy single-slot queue keeps memory flat over a whole night.

03 · BASELINE

The empty room becomes the reference.

When the room is empty, several snapshots per zone are taken and reduced to a per-zone median, then frozen. From that moment, a person is not “something detected” — a person is a deviation from a known-empty reference. This is what separates a sleeper from bedding, a chair or a bag.

04 · VOTE

Presence needs agreement, not a spike.

Presence is the union of three independent paths: motion energy, relative ambient-sound change, and radar presence when fitted. A majority vote over a second-scale window confirms it. Leaving requires tens of seconds without a valid trigger, so a blanket falling off the bed cannot end the night.

05 · LATCH

Occupancy and life are checked separately.

In-bed detection is an AND, not an OR. Depth geometry, radar in-position and zone reinforcement establish occupancy; a vital-sign layer above the empty baseline must then prove that the object is alive. A latch, renewed by real movement, holds the state while a brief stillness would otherwise look like departure.

06 · ABSTAIN

A sensor is allowed to say nothing.

When “acoustic active” and “motion active” coincide persistently, the system recognises a television, an air conditioner or a fan and stops the acoustic dimension from voting. The design principle is blunt: better to abstain than to vote wrongly.

07 · ESCALATE

States climb only with evidence.

“Present” never silently becomes “in bed”, and “in position” never silently becomes “focused”. Each rung of the state ladder requires its own independent evidence. The baseline also switches between a cold-start mode and a high-precision mode as valid zones settle.

08 · ACT

The cheapest channel wins.

Behaviour follows a fixed escalation order: light, then screen, then tone or soundscape, then voice, then device linkage. If a soft light can answer the moment, the speaker stays silent. At night the device records; on a toilet trip it lights only the floor and dims again on return.

L0
Room empty
No valid motion, no sustained sound change, no radar presence.
VOICE OFF · LOW POWER
L1
Person present
Two of three evidence paths agree over a second-scale window.
SCREEN AWAKE
L2
Occupied
Geometry, radar in-position and zone reinforcement align.
LIGHT FOLLOWS
L3
In bed, alive
Vital micro-motion above the empty baseline renews the latch.
RECORD ONLY
TIER · BASIC

Depth + sound + environment.

The minimum viable evidence set. Enough to know a room is occupied and to drive light and screen behaviour without a radar module.

TIER · STANDARD / ADVANCED

Adding a sensor does not rewrite the algorithm.

Each hardware tier plugs into the same state ladder. Fusion is a change of evidence weights, not a separate code path: basic adds standard radar, advanced adds high-precision radar for heart and breathing signals.

03 · PART TWO

The sleep-monitoring algorithm.

A radar does not see a body. It sees a phase that moves. The monitoring pipeline turns that phase into breathing, heartbeat, posture and movement, then fuses them into a five-stage night — thirty seconds at a time, the same epoch the clinical standard uses.

SIGNAL24 / 60 GHz FMCW radarCore vital-sign channel
SIGNALToF depth arrayPosture, position, multi-target presence
SIGNALDual microphonesBreath and snore sounds; raw audio is not stored
SIGNALTemperature / humidityOne sample per minute
STEP 1Range FFTLocate the range bin that contains the sleeper
STEP 2Phase extractionUnwrap φ(t) and convert it to chest displacement
STEP 3Modal separationEWT-VMD splits breathing from heartbeat
STEP 4Template matchingOne-second heart-rate estimates from the cardiac band
FEATURESRespirationRate, variability, amplitude, waveform shape
FEATURESCardiacRate, variability, signal quality
FEATURESMovement + postureShort-time energy, zone jumps, body orientation
FEATURESEnvironment + soundThermal comfort, snore / breath / noise class
FUSEMulti-scale networkCNN → BiLSTM → multi-head attention
FUSEContext weightingMotion favours ToF and audio; quiet sleep favours radar
SMOOTHHMM + ViterbiFive hidden states decoded across the whole night
OUTPUTStages · events · wake windowWake, N1, N2, N3, REM; breathing-event estimate
CHEST DISPLACEMENT Δx(t) ≈ 5 mm @ 60 GHz BREATHING 0.1–0.8 Hz HEART 0.8–3.0 Hz
The phase of the radar return is unwrapped into a displacement signal. EWT-VMD separates the slow breathing component from the small cardiac component that sits inside it; a template-matching estimator then produces a one-second heart-rate output.
DISPLACEMENT Δx = λ / (4π) · Δφ Phase change converted to chest movement; at 60 GHz the wavelength is about 5 mm.
BREATHING BAND 0.1 – 0.8 Hz Roughly 6–48 breaths per minute, slow enough to survive a blanket.
CARDIAC BAND 0.8 – 3.0 Hz Roughly 48–180 beats per minute, a millimetre-scale motion inside the breathing wave.
01 · SIGNAL

Four modalities, one view of the bed.

Radar supplies vital signs, ToF supplies posture and position, microphones supply breath and snore evidence, and the environment sensor supplies thermal context. No single one is trusted alone.

02 · EXTRACT

From phase to physiology.

A range FFT finds the sleeper's range bin. The phase is unwrapped and converted to displacement. EWT-VMD separates the breathing and cardiac components far more cleanly than a single bandpass filter, which is what makes a one-second heart-rate estimate possible.

03 · DESCRIBE

Thirty-second epochs, the clinical unit.

Features are computed on 30-second epochs — the same window used in sleep scoring — giving a vector of roughly 47 dimensions across respiration, cardiac, movement, posture, environment and acoustic groups.

04 · CLASSIFY

Posture and staging are separate questions.

ToF zones and their centres of mass classify supine, prone, left lateral, right lateral and absent. A multi-scale CNN, BiLSTM and multi-head attention stack turns the epoch vector into five-stage probabilities.

05 · FUSE

Weights change with the situation.

During movement, when radar signal-to-noise falls, ToF and audio gain weight. During quiet sleep, radar dominates. During snoring, an acoustic–radar consistency check is switched on. Feature-level, context-level and decision-level fusion all operate at once.

06 · SMOOTH

A night is decoded as a whole.

An HMM with five hidden states — Wake, N1, N2, N3, REM — is decoded by Viterbi across the entire night, so a single noisy epoch cannot break the sequence. Volatility modelling (GARCH) further stabilises abrupt transitions.

07 · EVENTS

Breathing events need two witnesses.

A breathing event is flagged when radar respiration amplitude stays below baseline for more than ten seconds and the microphone agrees with silence or a gasp. Two-path agreement raises confidence; an estimated AHI is derived, never presented as a diagnosis.

08 · WAKE

The algorithm decides when, not just whether.

The wake window is taken from the current stage sequence plus elapsed time and ambient light. The sunrise begins inside a light-sleep window and climbs gradually; sound is layered on only if the light alone does not bring you out.

What these numbers are — and are not.

The staging targets for the product are at least 80% accuracy across five stages, at least 88% across three stages, a Cohen's kappa of at least 0.75, and an AHI Bland–Altman 95% limit of agreement within ±10 events per hour. Validation is designed around polysomnography: 20–30 participants over one to two nights, epochs scored by sleep technicians under the AASM standard, with ablation runs for radar-only, radar plus audio, radar plus audio plus ToF, and all sensors. Published research figures cited in the design — 72% three-class staging, kappa 0.67, above 90% after fusion, 93.6% for one radar model — are literature values, not measurements of this product. NODBOT is not a medical device, and its sleep data is descriptive rather than diagnostic.

PRIVACY

No image is ever produced.

There is no camera in the product. Raw depth frames and radar waveforms are processed on the device; the cloud does not receive them. What may leave the device is limited to what a language or content task requires.

CONTROL

Sensing can be switched off.

Sleep monitoring, spatial sensing and proactive service are separately disableable. Sleep records, conversations and long-term preferences are stored locally and encrypted.

04 · CLOSING THE LOOP

Perception becomes a decision.

The two algorithms share one vocabulary. The interaction layer knows whether the room is empty or occupied; the sleep layer knows whether the occupant is awake or in REM. The agent layer reads both, then chooses one channel and one intensity.

PERCEIVE Zone, depth, motion Weak evidence arrives from every sensor, continuously.
UNDERSTAND State + confidence Evidence is voted, latched and climbed into a state.
DECIDE One action The cheapest channel that fits the state is selected.
EXPRESS Light, screen, sound The room is answered in the quietest possible way.

The claims have a paper trail.

Every behaviour elsewhere on this site is produced by the pipeline above — no camera, no wearable, no guesswork.