Low-Power Wrist Pulse Tracker: Sensing and Duty-Cycling Design
System DesignModel answerLast updated
Design a wrist-worn pulse-tracking subsystem that stays under a 5 mW budget, updates within 2 seconds, and stays accurate during arm motion and poor sensor contact.
Design a Wrist-Worn Pulse Tracking Subsystem
You are designing the pulse-tracking part of a compact fitness watch. It has to deliver trustworthy readings while running on a tiny battery and fitting into a very small enclosure.
Behavior required
- While the wearer is at rest, the watch tracks beats per minute (BPM) continuously.
- During intense workouts, it switches to a higher-effort mode that samples more aggressively.
Limits you must meet
- Power: the sensing subsystem draws under 5 mW on average.
- Responsiveness: a real change in pulse rate shows on the display within 2 seconds.
- Accuracy: at least 95% of readings are correct, even with motion artifacts such as arm swing while running.
What to cover in your answer
- Hardware: which sensors you would include (for example optical pulse sensing, an accelerometer, and anything else) and why.
- Processing pipeline: how raw samples are handled, and how the work is divided between low-level sensor firmware and the main application processor (AP).
- Power management: how you duty-cycle the system to save energy without losing important data.
- Failure handling: what happens when the signal drops out because of loose skin contact or stray ambient light.
Be explicit about assumptions, give rough power numbers, and discuss the trade-offs behind your choices.
Hints
Hint 1
Begin with the power budget: the main processor costs on the order of 100 mW when awake, so most of the design is about keeping it asleep and letting a tiny always-on microcontroller do the real-time work.
Hint 2
Treat the accelerometer as a noise reference as well as an activity detector. Think about how an adaptive filter and spectral peak tracking can remove motion components that sit in the same frequency band as the pulse.
Hint 3
Define operating states (off-wrist, rest, active, workout) with hysteresis, and attach a signal-quality score to every output so that bad data degrades gracefully instead of showing a wrong number.
Model answer
Hard Try it yourself first — then compare your approach, complexity and edge cases.
Overview
Treat this as a budget-driven design. Every choice follows from three facts: the average power ceiling is 5 mW, the AP is far too expensive to keep awake, and wrist motion lies in the same frequency band as the pulse itself.
1. Assumptions
- Pulse range 30-220 BPM, which is about 0.5-3.7 Hz.
- "95% accurate" means within roughly ±5% of a chest-strap reference, evaluated per epoch across rest, walking and running.
- The 2 s latency rules out long smoothing windows that advance in large steps.
- The AP draws 100+ mW awake, so it must be woken rarely and in batches.
2. Indicative power budget (3.3 V rail)
| Block | Rest | Workout |
|---|---|---|
| Green LED, short pulses | ~0.2 mW (25 Hz) | ~1.5 mW (100 Hz, two LEDs) |
| Analog front end and photodiodes | ~0.3 mW | ~0.6 mW |
| Accelerometer, low-power mode | ~0.05 mW | ~0.15 mW |
| Sensor-hub MCU, duty-cycled | ~0.5 mW | ~2 mW |
| Batched AP wakeups | <0.2 mW | ~0.5 mW |
| Total | ~1.3 mW | ~4.8 mW |
Rest has plenty of headroom. Workout mode is close to the limit, so it deserves the tightest control.
3. Hardware
- Optical (PPG) module: green LEDs (~530 nm) as the main source, since they give a strong pulsatile signal at the wrist and tolerate motion reasonably well. Add an IR or red LED for off-wrist detection, low-perfusion fallback and possible future SpO2. Use two or more photodiodes at different distances from the LED so the firmware can choose the best channel.
- Analog front end (AFE): programmable LED current, programmable-gain transimpedance amplifier, ADC with ambient-light subtraction, and a hardware FIFO so the MCU can sleep while samples accumulate.
- 3-axis accelerometer, sampled in sync with the PPG: motion reference, activity classifier and wake-on-motion source.
- Always-on sensor-hub MCU (a Cortex-M4F class part): does all per-sample work and wakes the AP only when needed.
- Optional: skin-contact or temperature sensing for wear detection.
4. Processing pipeline
In the AFE (hardware):
- Interleave LED-on and LED-off phases and subtract them to cancel ambient light.
- Run automatic gain control so the DC level sits near mid-scale of the ADC.
- Batch samples in the FIFO and interrupt the MCU on a watermark, for example once per second.
On the sensor-hub MCU (real time):
- Band-pass filter at 0.5-4 Hz (low-order IIR) to remove baseline drift and high-frequency noise.
- Adaptive motion cancellation (NLMS) using the accelerometer axes as the reference.
- Spectral confirmation: an ~8 s FFT window advancing every 1 s. Identify cadence peaks and their harmonics in the accelerometer spectrum and suppress them in the PPG spectrum. This stops the tracker from locking onto step rate.
- Estimation: time-domain peak detection at rest (cheap), spectral peak tracking in motion, and a Kalman filter on BPM whose process noise depends on activity state (fast response in exercise, stable at rest).
- Signal Quality Index (SQI) per epoch from perfusion index (AC/DC), spectral peak prominence, PPG-accelerometer coherence, and agreement between the time and frequency estimates.
- Emit
{bpm, confidence, timestamp, state}once per second.
On the AP (rare, batched):
- UI, unless an always-on display path lets the MCU push BPM directly.
- Workout sessions, history storage and sync.
- Heavier analytics such as irregular-rhythm screening on stored beat intervals.
- Delivering algorithm updates to the MCU as firmware.
Latency check: a 1 s hop plus Kalman tracking reflects a true change in about 1-1.5 s, and the display path adds under 200 ms, so the total stays below 2 s. The long FFT window gives accuracy while the short hop gives responsiveness; keeping them separate is the key trade-off.
5. Power management
An activity-driven state machine on the MCU:
| State | Trigger | Configuration |
|---|---|---|
| Off-wrist | No pulsatile signal, low proximity | PPG off, IR ping every 5-10 s |
| Rest | Low accelerometer variance | 25 Hz, one LED and photodiode, time-domain peaks |
| Active | Walking-level motion | 50 Hz, two photodiodes, adaptive filter on |
| Workout | User-started or sustained high motion | 100 Hz, multiple LEDs/photodiodes, full pipeline |
Key mechanisms:
- AGC minimizes LED current subject to a target SNR. LED drive is the largest variable cost, and skin tone, tattoos and perfusion can change the required current by up to 10x.
- Use hysteresis (for example 10 s) on downward transitions to prevent mode flapping, but step up immediately on a sharp accelerometer event or a large BPM jump so critical data is not missed.
- At low battery, relax background logging cadence and rest-mode quality thresholds, but keep workout mode fully specified because the user asked for it.
6. Edge cases
- Poor contact: the DC level falls, perfusion drops, or DC jumps correlate with motion. First raise LED current and gain, then switch photodiode channel, and finally mark the epoch low-confidence and hold or hide the value.
- Ambient light leakage: detect through a high ambient-phase reading or ADC saturation. Ambient subtraction covers slow changes; on saturation, reduce TIA gain and flag the epoch invalid.
- Off-wrist: low IR proximity plus no pulsatile component for ~3 s turns the LEDs off at once, saving power.
- Low perfusion (cold): lengthen integration, use the IR channel, and report a wider confidence interval instead of a falsely precise number.
- Cadence lock: if the BPM estimate matches step frequency or a harmonic while SQI is low, treat it as suspect and rely on the Kalman prediction.
7. Common mistakes
- Waking the AP for every sample or every second.
- Ignoring the accelerometer, or using it only for activity labels and not as an adaptive-filter reference.
- Using one long window and missing the 2 s latency target.
- Showing a number with no quality gating, so motion artifacts appear as real pulse readings.
- Fixed LED current regardless of skin and fit, which wastes power.
8. Validation
Compare against a chest-strap reference across skin tones, wrist sizes, rest, walking and running, and track error per epoch, dropout rate, time-to-recover after contact loss, and measured average power in each state.