1. Scope, events and intended use
1.1 Define the movement before detecting it
This entry belongs to WSIC 4.4.1, sleep signal-processing algorithms. A movement-detection algorithm marks events in acceleration, angular-velocity or related time series from the wrist or another body site. Its direct outputs can include event onset and offset, duration, magnitude, sensor location and signal-quality status. The direct question is which movement was observable at the instrumented site. Summarizing events as activity counts or inferring sleep and wake from activity is a separate task requiring its own labels and validation. Movement, awakening, sleep stage and periodic limb movement are different constructs.[1][2]
Specify the target event before development: minimum observable movement and duration, the gap used to merge peaks, and whether turns, scratching, walking and device adjustment count. Record how pauses split events. A single wrist device can support a wrist-movement label or a proxy for broader activity; it cannot establish complete leg and trunk coverage. A study with accelerometers at several body sites shows why location and event type matter. Its manual annotation of accelerometer traces is also different from an independent polysomnography (PSG) sleep-stage reference.[2]
1.2 Product forms and deliverable outputs
| Form | Defensible output | Boundary to disclose |
|---|---|---|
| Wrist accelerometer | Wrist events, activity and valid wear time | Quiet leg and trunk movements may be missed |
| Multiple inertial sensors | Site-specific and combined movement events | Clocks, attachment and site labels must be aligned |
| Bedside or mattress sensor | Bed-motion or vibration proxy | Bed partners, pets and environmental vibration may contribute |
| Downstream sleep/wake model | Sleep/wake label or probability per defined epoch | Requires a separate sleep reference and evaluation |
Actigraphy can support selected sleep evaluations, but the AASM clinical guideline has specific device and intended-use limits; it is not a clinical authorization for an arbitrary consumer wearable. It strongly recommends against substituting actigraphy for electromyography to diagnose periodic limb movement disorder. A product validated only for movement detection should report movement accordingly.[1]
2. Acquisition, counts and quality
2.1 From raw samples to an event
An acquisition record should identify sensor type, three-axis orientation, sample rate, range and unit, wear site and fit, firmware, timestamps and clock drift. The processing specification should include resampling, filtering, gravity and posture handling, axis combination, sliding windows, candidate threshold, peak or energy features, and event-merging rules. Validate thresholds and epochs for the stated device and event definition; there is no universal sample rate or motion threshold in this guide. Retain a trace and algorithm version so an event can be replayed and audited.[2][3]
Activity counts are processed quantities, not naturally interchangeable physical units. Different filters, windows and count algorithms can turn the same raw acceleration into different values. A counts/minute or per-epoch output must name its construction, epoch length and device version. Do not transplant one brand's threshold to another brand without validation. If a proprietary count is the only exposed measure, retain raw input or enough transformation detail to make the output reviewable.[3]
2.2 Wear, immobility and interference
| Stage | Record or inspect | Action when invalid |
|---|---|---|
| Time alignment | Timestamps, missing packets, device and reference clock offset | Flag unpairable segments; do not optimize alignment after seeing results |
| Wear state | Removal, charging, relocation, strap fit and available contact cues | Mark nonwear separately; zero activity is not proof of sleep |
| Signal quality | Saturation, impacts, range clipping, long gaps and abrupt axis change | Preserve artifact flags or withhold the estimate |
| Event segmentation | Onset, offset, merge gap, minimum duration and repeated peaks | Version the rule and report uncertain boundaries |
| Sleep opportunity | Bedtime, rising, quiet wake and criteria for a valid night | Do not equate a clock interval or low movement with sleep |
Quiet wake, device removal and little movement during sleep can all yield low activity. Therefore, absence of motion proves neither sleep nor nonwear. A wrist pinned under a pillow, a loose strap, a bed partner or bed vibration can alter the event stream. Validate nonwear classification with the available site, contact, temperature or device-state cues and an independent label. Permit an uncertain output when these cues are insufficient.[5][6]
3. Failure modes and interpretation
3.1 How detection errors affect sleep summaries
False events inflate activity; missed events make a night appear unusually still. Bad segmentation changes event count and duration even if gross activity remains similar. In a downstream sleep/wake model, quiet wake can be called sleep and a brief turn can be called wake. A comparison of accelerometer brands against PSG found that some sleep-period measures were more tractable than wake during the sleep period and wake after sleep onset (WASO). Those results do not transfer automatically to another population or product.[5]
| Failure | Apparent result | Evidence to inspect |
|---|---|---|
| Quiet wake called sleep | Long sleep duration and low WASO | Wake epochs in PSG or another independent sleep reference |
| One wrist misses leg movement | Very few events across the night | Synchronized leg sensor or video/manual event labels |
| Nonwear called quiet sleep | Long, regular near-zero activity | Wear log, contact cue and device-state records |
| Bed vibration called personal motion | Event clusters during environmental disturbance | Bed partner and environment record plus raw-trace review |
Movement events alone cannot establish apnea, sleep stage or periodic limb movement disorder. If a user interface displays sleep efficiency or nocturnal awakenings, disclose the downstream model, independent reference and valid coverage. A user-edited bedtime must not silently become an algorithm-validation label.[1][4]
4. Independent validation and acceptance
4.1 Test events and sleep/wake separately
For event detection, define manual video or raw-acceleration annotations in advance. Report annotator agreement, event-matching tolerance, precision, recall and F1 using onset/offset matching, plus false and missed events per hour. Compare duration and magnitude with the reference. A single accuracy percentage can be dominated by long periods without an event and is inadequate for event detection. The site-specific event F1 values in a multi-sensor study are results under that study's devices, labels and small sample, not performance guarantees.[2]
If the intended use includes sleep/wake, evaluate held-out people and nights against PSG or another appropriate independent reference. Report sleep sensitivity, wake specificity, WASO and errors in sleep onset and final awakening. Algorithms compared on a common PSG-labeled dataset perform differently; complex models should be compared with simple rules or regression baselines and tested beyond their own training data.[4][5]
4.2 Acceptance evidence and stratification
| Validation layer | Required report | Unsupported inference |
|---|---|---|
| Data availability | Planned and actual wear, packet loss, nonwear and valid nights | Successful fragments represent the whole night |
| Movement events | Event definition, match tolerance, precision, recall and F1 | High accuracy from many still samples proves detection |
| Timing | Onset/offset error, merge/split failures and false events per hour | Similar event totals prove correct boundaries |
| Site and device | Results by wrist, waist or leg, model and firmware | One wrist result represents all body sites |
| Sleep/wake | Wake specificity and WASO against independent PSG labels | Good event labels establish good sleep estimates |
| Generalization | Held-out people, nights, devices and version changes | Healthy adults represent children or patients |
The test set should cover the intended age range, activity patterns, posture, sleep problems, quiet wake, short sleep and home conditions. Predefine exclusions and report results by device, site and population. A pediatric comparison shows that wear site and algorithm affect sleep measures, so an adult wrist threshold does not automatically apply to a child's waist or leg. Claims of device independence require held-out-device tests and reassessment after firmware changes.[3][7]
5. Deployment and personal data
In operation, retain raw data or a traceable summary, model version, sensor model, wear site, time zone, quality flags and user edits. Monitor nonwear, missing segments, false events, nighttime coverage and subgroup performance. Revalidate after a device, filter or threshold change. Return an indeterminate state when quality is inadequate or conditions lie outside the validated range instead of drawing an apparently complete sleep timeline.[3][6]
A movement timeline can reveal daily routine, time in bed and nighttime behavior. Limit collection and sharing to the declared purpose, and document retention, access, deletion and research reuse. Diagnostic or treatment uses require their own clinical validation and regulatory basis. This guide does not provide an individual diagnosis.[1]
6. Sources and limits
6.1 Source-by-source scope
[1] AASM, Use of Actigraphy for the Evaluation of Sleep Disorders and Circadian Rhythm Sleep-Wake Disorders, 2018: selected auxiliary sleep-evaluation uses and the periodic limb movement diagnostic boundary; not approval of this algorithm.
[2] Sicbaldi et al., Mapping the physiological landscape of body movements during nocturnal sleep and wakefulness and their cardiovascular correlates with a wearable multi-sensor array, published online 2025: multi-site events and manual accelerometer annotations; reported F1 is not universal performance.
[3] Neishabouri et al., Quantification of acceleration as activity counts in ActiGraph wearable, 2022: dependence of activity counts on processing; no claim of a universal industry count formula.
[4] Patterson et al., 40 years of actigraphy in sleep medicine and current state of the art algorithms, 2023: algorithm comparison on a shared PSG dataset; rankings do not generalize automatically.
[5] Plekhanova et al., Validation of an automated sleep detection algorithm using data from multiple accelerometer brands, 2023: sleep measures and wake limitations; one night in healthy adults limits transfer.
[6] Schneider et al., Ambulatory sleep scoring using accelerometers—distinguishing between nonwear and sleep/wake states, 2020: distinguishing nonwear, stillness and sleep; rules require device-specific testing.
[7] Meredith-Jones et al., Validation of actigraphy sleep metrics in children aged 8 to 16 years: considerations for device type, placement and algorithms, 2024: limits of transferring algorithms across children and wear sites; not a substitute for product validation.