Computer Engineering is coming soon

We're still writing and reviewing the notes for every subject, and we'll open it when every subject is ready. Meanwhile you can practise aptitude, ask Aria about any subject, or see the branches that are ready.

Wearable computing: architecture and applications

Wearable computing: architecture and applications — core architecture layers, sensor and communication principles, power budgeting, example designs and exam-style problems.

Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.

Why it matters

Wearable computing devices are small computers worn on the body that sense, compute and communicate continuously. Engineers use these principles when designing low-power sensor devices, body-area networks, user interfaces and application stacks for health, fitness, safety and augmented-reality systems.

Key ideas

Start from clear definitions and then build the architecture and application ideas.

  • Wearable device — a small computing device designed to be worn on the human body so that sensors and interfaces can sense body state or context and provide services while moving.
  • Wireless Body Area Network (WBAN) — a network of sensors and actuators that are located on, in, or around the human body and communicate wirelessly; WBANs often use short-range, low-power radios.
  • Sensor node — the smallest active unit in a wearable: it contains one or more sensors (transducers converting physical quantities to electrical signals), an analog front end (amplifiers, filters, ADC if needed), a microcontroller for local processing, a radio for communication, and power management (battery, regulator).
  • Edge processing — doing computation on the device (or a nearby smartphone) to reduce the amount of data sent, saving energy and improving privacy.
  • Context-aware application — an application that uses sensed data (context) to adapt behaviour; context may be location, activity, physiological state, environmental data.

Architecture — canonical layered view (draw this diagram for exams):

  • Draw stacked boxes top-to-bottom labelled: "Cloud / Service" -> "Smartphone / Gateway" -> "Application Processor (Wearable)" -> "Network / Radio" -> "Sensor Nodes / Actuators" -> to the right of Sensor Nodes draw a small box "Power Management / Battery" and below Sensor Nodes draw "User interface (LED, haptics, touch)". Label arrows: Sensors -> ADC -> MCU -> Data reduction -> Radio -> Gateway -> Cloud. Annotate latency and power flow arrows.

Design assumptions commonly used in answers:

  • Short-range link (body proximity) implies path-loss models different from free-space; interference and body absorption matter.
  • Power is the dominant constraint: battery capacity and duty-cycling trade accuracy versus lifetime.
  • Privacy and security constraints: local processing and encryption add compute and power cost.

Important theorems/limits used in wearable design:

  • Nyquist–Shannon sampling theorem (exact statement): For a band-limited continuous-time signal x(t) whose highest frequency component is f_m (Hz), exact reconstruction from samples x[n] = x(n / f_s) is possible if and only if the sampling frequency f_s satisfies f_s > 2·f_m. Assumption: the signal is strictly band-limited to f_m and ideal anti-aliasing filtering is used before sampling.
  • Shannon channel capacity (useful for link planning): For a channel of bandwidth B (Hz) and signal-to-noise ratio S/N (linear), the maximum theoretical data rate C (bits/s) is C = B·log2(1 + S/N). Assumptions: additive white Gaussian noise channel, coding of arbitrarily long blocks.
  • Friis free-space transmission (for simple link estimates): In line-of-sight free space, received power Pr = Pt·Gt·Gr·(λ/(4·π·R))^2, where Pt is transmitted power, Gt and Gr are antenna gains, λ is wavelength and R is distance. Assumption: free-space, far-field, no obstructions — often not fully valid around the body but useful as a baseline.

Security and application notes:

  • Authentication and encryption must be designed for constrained CPUs. Lightweight cryptography and session-based key exchange are common.
  • Applications: health monitoring (ECG, SpO2), activity recognition (accelerometer + ML), AR displays (low-latency rendering), safety (fall detection). Each has different sampling, latency and privacy needs.

Formulas

P = V · I — P is electrical power (watts), V is voltage (volts), I is current (amperes). Instantaneous power p(t) = v(t) · i(t); for DC, P = V · I.

E = V · Q — E is energy (joules), V is voltage (volts), Q is charge (coulombs). Also E = V · I · t where t is time (seconds).

Capacity (Ah) to energy (J): E = V · Capacity(Ah) · 3600 — V in volts, Capacity in ampere-hours, result in joules. Use when converting battery rating to joules.

T_hours = Capacity_mAh / I_mA — battery life in hours assuming constant current and 100% usable capacity. Capacity_mAh is milliampere-hour, I_mA is milliampere draw. I_avg = sum(I_i · duty_i) and T_hours = Capacity_mAh / I_avg_mA — average-current battery-life with duty cycling; duty_i is the fraction of time in mode i.

f_s > 2 · f_m — Nyquist sampling condition (strict inequality in practice). f_s sampling frequency in Hz, f_m maximum signal frequency in Hz.

Pr = Pt · Gt · Gr · (λ / (4 · π · R))^2 — Friis free-space equation. Pr and Pt in watts, G gains (unitless), λ wavelength (metres), R distance (metres). Applies in free-space, line-of-sight.

C = B · log2(1 + S/N) — Shannon capacity in bits per second. B is bandwidth (Hz), S/N linear signal-to-noise ratio. Assumes AWGN channel. L_fs(dB) = 20 · log10(4 · π · R / λ) = 32.44 + 20 · log10(f_MHz) + 20 · log10(R_km) — free-space path loss in dB (R in km, f in MHz for the second form). Pr(dBm) = Pt(dBm) + Gt(dBi) + Gr(dBi) − L_fs(dB) − L_other(dB) — link budget in dB. P(dBm) = 10 · log10(P(mW)) and F = 10^(NF_dB/10) — power and noise factor conversions. N = k · T · B · F — noise power at receiver input; k = 1.380649e−23 J/K, T in kelvin, B in Hz, F linear noise factor.

Worked examples

  1. Battery-life calculation (standard exam style)
  • Problem: A wrist wearable has a 200 mAh Li-ion battery rated 3.7 V. The device draws on average 15 mA from the battery. Calculate device lifetime in hours and energy stored in the battery.
  • Formula: T_hours = Capacity_mAh / I_mA and E = V · Capacity(Ah) · 3600.
  • Convert capacity: 200 mAh = 0.200 Ah.
  • Time: T_hours = 200 / 15 = 13.333... hours.
  • Energy: E = 3.7 V · 0.200 Ah · 3600 s/h = 3.7 · 0.2 · 3600 = 2664 J.
  • Final answers: Battery life ≈ 13.33 hours; Energy stored ≈ 2664 J.

Note: if the wearable’s electronics run at 3.3 V through a regulator with 90% efficiency, compute power at load then divide by regulator efficiency to get battery draw — include regulator losses in practice.

  1. Sampling for activity recognition
  • Problem: An accelerometer captures human motion with significant content up to 25 Hz. What minimum sampling rate is required? If you choose 125 Hz, what is the sample period?
  • Nyquist: f_s ≥ 2 · f_m = 2 · 25 Hz = 50 Hz.
  • Practical choice: choose margin, e.g., 125 Hz. Sample period = 1 / 125 s = 0.008 s = 8 ms.
  • Final answers: Minimum theoretical f_s = 50 Hz; chosen f_s = 125 Hz with sample period 8 ms.
  1. Simple data-flow trace for fall-detection wearable (algorithmic exam answer)
  • System: accelerometer sampled at 100 Hz, local processing does a 1-second sliding-window RMS and a threshold test, then sends an alert via BLE.
  • Trace one event: samples at 100 Hz → every 10 ms new sample. After 1 s window (100 samples) compute RMS (assume processing takes 5 ms). If RMS exceeds threshold, an alert packet (20 bytes) is queued. BLE connection interval = 30 ms (assume). Worst-case wait until next connection event 30 ms, transmit (assume 1 ms air time for packet) and get ACK in next slot. Total worst-case latency = 1000 ms (window) + 5 ms (proc) + 30 ms (conn wait) + 1 ms (tx) = 1036 ms. If application needs sub-second response, reduce window size or do event-triggered shorter windows.
  • Final: show how window length dominates latency; design trade-off between detection accuracy and latency.

Common mistakes

  • Using the Friis free-space equation without noting body absorption and multipath; results will overestimate received power near the body.
  • Forgetting regulator and radio duty-cycle inefficiencies when calculating battery life.
  • Ignoring privacy/security costs: encryption and authentication increase CPU and energy use.

For your exam

Kinds of questions to expect:

  • Definitions and short notes: define wearable device, WBAN, edge processing, explain sampling theorem in context of sensors.
  • Architecture diagram: draw and label a multi-layer wearable architecture (sensors → MCU → radio → gateway → cloud), explain each block and power/latency trade-offs.
  • Derivations: show Nyquist theorem statement and apply to a sensor bandwidth; derive battery-life formulas from P = V·I and Capacity conversions.
  • Numericals: battery life and energy, sampling rate selection, simple link-budget using Friis for an idealized problem, Shannon capacity calculations for required SNR or bandwidth.
  • Design/long answer: given an application (ECG monitor, fall detector, AR headset), propose architecture, sampling rates, communication strategy, power budget and security measures; justify trade-offs.

What full-marks answers include:

  • Precise definitions (bold key terms), labelled diagram, clear assumptions, step-by-step derivations with units, and a final numeric answer with units. If approximations are used, state them.

Quick check

  1. What is the Nyquist sampling rate for a signal with highest frequency 120 Hz?
  2. Convert 500 mAh at 3.7 V to joules.
  3. State the Friis free-space equation and one assumption behind it.

Answers: 1) 240 Hz. 2) E = 3.7 V · 0.5 Ah · 3600 = 3.7 · 0.5 · 3600 = 6660 J. 3) Pr = Pt·Gt·Gr·(λ/(4·π·R))^2; assumes free-space line-of-sight (no obstructions, far-field conditions).

Finished this topic? Mark it so your progress, study plan and readiness keep up.

Stuck on something here?