Skip to content
Jae Hoon Kim
Projects

PillowGraph · drawing set · v1.0

Part I · Cover

U.S. Provisional Patent Application · Drawing set
Appl. No.
Sheets 5
Rev. B · v1.0
Title · Method for sleep-stage inference from a hand-held computing device positioned within a pillow envelope, using its inertial-measurement-unit and microphone with on-device event-token reduction
Inventor · J. H. Kim
Internal · PillowGraph
Filing target · pending overnight power-budget gate
Classification (proposed) · A61B 5/00 · A61B 5/4806
About this Personal project · v1.0 skeleton Gate-pending overnight test
Draft cover sheet and drawings for PillowGraph. The W1 gate for this card is a thermal / battery test of an iPhone wedged in a pillowcase over a single eight-hour night. If the phone survives the night without exceeding 40 °C surface temperature or 40 % battery drain, the gate clears and the card upgrades from v1.0 skeleton to a full provisional draft. v1.0 honest acknowledgment (2026-05-18): the headline mechanic — phone IMU + microphone → on-device sleep-stage classification — is squarely anticipated by SleepCycle US 8,493,220 B2 (Smart Valley Software / Northcube; phone microphone → sleep stages on-device, with light-sleep alarm) and by the Pillow app (iPhone IMU + microphone → REM / Light / Deep stages, commercial since 2014). Earlier revisions treated this as the contribution; v1.0 demotes it to acknowledged prior art and narrows the claim to the genuinely-surviving combination: phone inside the pillow envelope (mechanical coupling, not nightstand-acoustic), event-token reduction before any audio is persisted to non-volatile storage, and the specific snore / stir / wake / baseline discrete vocabulary.
Abstract of the disclosure Cover-sheet boilerplate v1.0
A system and method infer sleep stages from a commodity hand-held computing device wedged within a pillow envelope while a user sleeps thereon. The device's built-in inertial-measurement unit (IMU) captures sub-millimetre head and respiratory motion through the pillow material; its built-in microphone captures ambient acoustic events. Acoustic samples are classified locally into a small token vocabulary — snore, stir, wake, baseline — before persistence, such that no raw audio is retained on-device beyond the classification window. The IMU stream and event-token stream jointly drive a four-stage sleep-stage classifier (Wake / REM / Light / Deep) that produces a single morning summary visualisation. No raw sensor data or audio leaves the device.
Field
A61B 5/4806 · sleep-stage detection
Acknowledged prior art (headline mechanic)
  • SleepCycle US 8,493,220 B2 — phone mic → sleep stages on-device
  • Pillow app (iOS, 2014–) — iPhone IMU + mic → REM/Light/Deep
  • Apple Beddit (2017–) — under-mattress sensor strip
Distinguished from (surviving novelty)
  • SleepCycle places phone next to bed · this discloses phone IN pillow envelope
  • Pillow app retains audio · this performs event-token reduction before persistence
  • My Pillow Knows My Sleep — computational fabric, not commodity phone
  • Apple Watch / Oura / Withings — different sensor surface (wrist / finger / mat)
Index of sheets Tap a row to jump 5 sheets

Part II · Drawings

Sheet 1 / 5 Representative FIG. 1 · Pillow cross-section · phone + acoustic cone 100
148 · blanket x y z 132 · ≈ 12 cm headboard · wall floor 146 · wall outlet hip knee DETAIL A · phone @ 3× mic port IMU 68 % at wake USB-C ⟵ 124 scale: phone ≈ 16 mm · inset 3× 108 · head 116 · breath · 12–18 BPM 102 pillow · 114 sheet 104 · phone · mic ↑ 106 · IMU axes 118 · coupling 110 · mic acoustic cone · 8 kHz 122 · zipper 124 · charger 130 · pillowcase stitching 112 · mattress 120 · ≈ 50 cm · standard queen pillow (cross-section width)
FIG. 1
Sheet 2 / 5 FIG. 2 · 8-hour hypnogram + event tokens 200
Wake 202 REM 204 Light 206 Deep 208 216 · inferred stage EVENT TOKENS 23 00 01 02 03 04 05 06 07 wall-clock hour · local 218 · NIGHT SUMMARY · ⌐ EVENT LEGEND TST 6.8 h total sleep efficiency 87 % TST / TIB REM 22 % of TST deep 18 % of TST 210 snore (3) 212 stir (2) 214 wake (1) event tokens only · raw audio not persisted
FIG. 2
Sheet 3 / 5 FIG. 3 · Pipeline · IMU + mic → tokens → stage 300
322 · IMU LANE · 100 Hz · sub-mm head motion IMU stream 302 · hw motion features 306 · respiration · gross 100 Hz 324 · MIC LANE · 8 kHz · acoustic event tokens mic stream 304 · hw acoustic classifier 308 · snore/stir/wake/base 8 kHz fusion + HMM 310 · temporal classifier features tokens hypnogram 312 · 4-stage trace stage seq morning view 314 · ambient · user-facing render raw audio does not cross to fusion 326 · CLOCK DOMAINS · 328 · LEGEND IMU · 100 Hz sub-mm acceleration MIC · 8 kHz 16-bit PCM · windowed FUSION · 1 Hz stage emission rate BUDGET · ≤ 5 % battery / 8 h thermal-gated hardware software user surface
FIG. 3
Sheet 4 / 5 FIG. 4 · Event-token privacy boundary 400
402 · ON-DEVICE · pillow-resident phone 404 · OFF-DEVICE · cloud / 3rd-party BOUNDARY 406 · raw IMU stream 100 Hz × 3 axes · ≈ 8.6 MB / night 408 · raw audio 8 kHz · 16-bit · ≈ 460 MB / night 410 · motion features per-epoch · ≈ 5 KB / night 412 · event tokens snore · stir · wake · base · ≈ 29 KB 414 · hypnogram ≈ 1 KB · user-gated export user-initiated export · 1 KB 416 · POSSIBLE DESTINATIONS → cloud sync (Apple Health / GH) → family sharing → clinician export (PDF) → research opt-in (anonymous) all gated by explicit per-night consent opt-in path 418 · DATA BUDGET · per night · what stays vs what may cross stays on-device ≈ 460 MB raw audio + IMU + features + tokens may cross ≈ 1 KB hypnogram only · user-gated ratio ≈ 460 000 :1 retained-to-egress gated crossing does not cross
FIG. 4
Sheet 5 / 5 FIG. 5 · Overnight power + thermal budget · W1 gate 500
100 75 50 25 0 battery (%) 44 °C 39 34 29 24 surface temp (°C) 506 · battery floor · 60 % (drain ≤ 40 %) 508 · temp ceiling · 40 °C FAIL ZONE · above ceilings 502 · battery % 504 · surface temp 68 % 36 °C 23 00 01 02 03 04 05 06 07 514 · W1 GATE VERDICT · measured against patent gate criteria drain 27 % limit ≤ 40 % · PASS peak surface 36 °C limit ≤ 40 °C · PASS duration 8.0 h continuous capture · PASS verdict ✓ GATE OPEN promote v1.0 → provisional
FIG. 5

Part III · Specification

Background of invention Prior-art context

Existing consumer sleep-tracking products fall into three categories: (i) wrist-or-finger wearables (Apple Watch, Oura, Fitbit), (ii) under-mattress or under-pillow dedicated sensors (Withings Sleep, Beautyrest, Apple Beddit; computational-fabric pillowcases per UbiComp '25's My Pillow Knows My Sleep), and (iii) phone-based microphone-plus-IMU apps using the device's own sensors (SleepCycle, Pillow). The wearable category requires a worn device; the dedicated-sensor category requires specialised hardware purchase; the phone-app category is the closest art to this disclosure and is treated explicitly below.

The closest patent reference is SleepCycle's US 8,493,220 B2 (Virtanen, Salmi, Salmi; assigned to Smart Valley Software, later Northcube AB), which discloses a mobile-device microphone capturing sound signals from a sleeping subject's movements, classifying sleep stages on-device from those signals, and detecting arousal/awakening for light-sleep alarming. The closest commercial reference is the Pillow app (iOS, 2014 –), which fuses iPhone IMU (accelerometer + gyroscope) and microphone on-device to produce REM / Light / Deep sleep-stage estimates. Earlier revisions of this page treated the phone-mic + phone-IMU → on-device sleep-stage pipeline as the contribution; v1.0 demotes that to acknowledged prior art. Apple's Beddit family (acquired 2017; extended in patents to smart-mattress and slim-bed-sensor embodiments through 2024) covers under-mattress sensor strips and is distinct in deployment geometry from the phone-in-pillow form factor disclosed here.

The disclosed system survives the foregoing as a combination: (i) phone IS positioned inside the pillow envelope rather than on a nightstand — SleepCycle's reference embodiment places the phone "next to" the bed, with sensitivity to room reverberation that the in-pillow geometry materially avoids by direct mechanical coupling through the pillow material; (ii) audio is reduced to a finite event-token vocabulary of snore / stir / wake / baseline BEFORE any persistence — the Pillow app and SleepCycle retain audio (Pillow expressly offers "audio recording" as a user-toggleable feature) whereas this system commits to never writing raw audio to non-volatile storage; and (iii) the temporal classifier (FIG. 4) consumes the discrete token sequence rather than raw acoustic features, which makes the privacy guarantee structural rather than policy-based.

Summary of the invention per 37 CFR § 1.73

The disclosed system infers sleep stages from a commodity hand-held device positioned within the pillow envelope, with no auxiliary sensor (no wearable, no under-mattress sensor, no bedside microphone), and with the acoustic stream reduced to a discrete event-token vocabulary before any persistence — such that no raw audio sample of the night is ever written to non-volatile storage on the device.

A hand-held computing device 104 positioned within a pillow envelope 102 reads IMU stream 302 and microphone stream 304 across a sleep window. Motion-feature extractor 306 produces respiration and gross-motion features from the IMU; acoustic classifier 308 reduces the microphone stream to discrete event tokens (snore, stir, wake, baseline) on a windowed basis. Fusion stage 310 combines features and tokens into a four-stage hypnogram 312 via a hidden-Markov model or analogous temporal classifier. Raw audio samples are not retained beyond the per-window classification.

The output is a single morning visualisation (FIG. 2 style) intended for ambient consumption rather than dashboard interaction.

Brief description of drawings Sheets 1 – 4

Part IV · Claims

Claims 1 independent · 3 dependent · 1 apparatus Draft v1.0
What is claimed is:

1. A method for inferring sleep stages, the headline mechanic of on-device phone-microphone + phone-IMU sleep-stage classification being acknowledged in the prior art (SleepCycle US 8,493,220 B2; Pillow app, iOS 2014–), comprising:

  1. (a)positioning a hand-held computing device (104) within a pillow envelope (102) upon which a user sleeps;
  2. (b)capturing, at said hand-held computing device, an inertial-measurement-unit stream (302) and a microphone stream (304) across a sleep window;
  3. (c)reducing said microphone stream, on-device, to a sequence of event tokens drawn from a finite vocabulary including at least snore, stir, wake, and baseline (308);
  4. (d)discarding raw audio samples of said microphone stream beyond the per-window classification employed in step (c);
  5. (e)computing a four-stage hypnogram (312) from said inertial-measurement-unit stream and said event-token sequence by a temporal classifier;
  6. (f)presenting said hypnogram via an ambient visualisation at a user-configurable time of day; and
  7. (g)wherein no sensor external to said hand-held computing device is recruited for said inferring of sleep stages, the audio reduction of (c) is performed before persistence such that no raw audio sample of said microphone stream is ever written to non-volatile storage on said device, and no raw audio, no raw inertial-measurement-unit sample, and no per-user identifier is transmitted off-host.
Survives over: SleepCycle US 8,493,220 B2 (phone next to bed, not in pillow envelope; audio retained on device) and Pillow app (audio expressly recorded as user feature). Surviving novelty carried by the in-pillow positioning in (a), the discrete-vocabulary event-token reduction in (c), and the structural no-raw-audio-to-storage guarantee in (d) + (g).

2. The method of claim 1, wherein the inertial-measurement-unit stream is sampled at a rate of 50 to 200 Hz and the microphone stream at 8 to 16 kHz.

3. The method of claim 1, wherein the temporal classifier comprises a hidden-Markov model trained on a representative population sleep dataset prior to deployment.

4. The method of claim 1, wherein presentation of the hypnogram is implemented as a single non-interactive ambient graphic, not as a metric dashboard.

5. A hand-held computing device comprising an IMU, a microphone, one or more processors, and non-transitory memory storing instructions which, when executed, cause the device to perform the method of claims 1 – 4.

Claims · 5 total · 1 independent · 3 dependent · 1 apparatus

Part V · Appendices

Prior-art bibliography Selected; not exhaustive

Part VI · Execution

Version history Draft · not filed

Promotion to a full provisional draft is conditioned on a single overnight experiment confirming acceptable phone thermal and battery behavior with the device wedged in a pillowcase for an eight-hour window.

/pillowgraph · v1.0 · drawing-stage
Index