Heartbeat Detection Using WiFi CSI
Detecting heartbeats via WiFi — possible, hard, and fascinating.
Extracting a human heartbeat from WiFi signals is the ultimate frontier of passive RF sensing. While breathing creates chest displacements of up to 8mm, cardiac contractions only displace the chest wall by 0.2mm to 0.5mm. Isolating this microscopic, high-frequency signal requires advanced digital signal processing and deep wavelet transforms.
Isolating Sub-Millimeter Cardiac Rhythms
The breathing wave is 10 times larger than the heartbeat signal. To isolate cardiac activity, we must mathematically subtract the respiration wave, then apply a bandpass filter tuned specifically between 1.0 Hz and 1.66 Hz. This isolates the arterial pulse waves, letting us capture resting heart rates completely contact-free.
Figure 1: High-fidelity conceptual render analyzing Heartbeat Detection Using WiFi CSI.
Electromagnetic Wave Propagation & CSI Physics
To fully grasp how wireless sensing works, we must investigate the mathematical principles of modern radio frequency (RF) propagation. Traditional signals like RSSI only provide the average overall power of a received wireless packet. Conversely, Channel State Information (CSI) extracts complex vectors mapping individual Orthogonal Frequency-Division Multiplexing (OFDM) subcarrier channels. In a standard 20 MHz or 40 MHz WiFi spectrum, the signal is split into 56 to 114 separate subcarrier channels. For each subcarrier, the CSI packet header records the exact Amplitude (signal attenuation) and Phase (fractional cycle shift).
Human bodies are comprised of more than 60% water, making them highly conductive dielectric objects in the path of 2.4 GHz and 5.8 GHz frequencies. As waves travel between the transmitter and receiver, they bounce off walls, obstacles, and humans in a phenomenon known as Multipath Propagation. The physical displacement of a human body perturbs this multipath beam network, creating constructive and destructive interference waves. For a comprehensive overview of how these physical shifts are visualized in real-time, try our Interactive 3D WiFi Radar Demo.
Digital Signal Processing & CSI Denoising Pipelines
Raw CSI data streamed from low-cost IoT chips is inherently messy. Thermal drift, clock phase offsets, and ambient environmental interference introduce massive high-frequency noise. The first step in our digital signal processing (DSP) pipeline is running the Base64 stream through a Hampel outlier filter.
We then apply Principal Component Analysis (PCA). PCA analyzes the covariance matrix across all 56 subcarriers and extracts the top three dominant variance components, effectively discarding redundant channels. To monitor rhythmic body signals such as respiration, the clean PCA streams are passed through a Butterworth bandpass filter tuned between 0.15 Hz and 0.35 Hz. For a detailed guide on how we isolate chest-wall displacements using these filters, proceed to Breathing & Vital Signs Detection.
Figure 2: Technological block diagram demonstrating Digital Signal Processing & CSI Denoising Pipelines.
Deep Learning Architectures for Human Activity Recognition
Once raw radio signals are clean, they are formatted as a 2D spectrogram (time vs. subcarrier amplitude values). This allows us to apply advanced Computer Vision algorithms. A 2D Convolutional Neural Network (CNN), such as a modified ResNet, scans the spectrogram to detect distinct 'micro-Doppler' signatures.
To capture temporal actions (such as tracking if a person is sitting down slowly or falling down suddenly), we feed the spatial CNN features into a Long Short-Term Memory (LSTM) recurrent network. On localized edge servers (like a Raspberry Pi 4), this hybrid CNN-LSTM pipeline runs in under 25ms with 96% classification accuracy. You can read a complete architectural comparison of these AI models versus traditional security lenses in our guide WiFi Radar vs Surveillance Cameras.
FAQ
How is Heartbeat Detection Using WiFi CSI implemented practically?
Implementing this practically involves deploying inexpensive ESP32 microcontrollers, flashing standard CSI firmware, and routing the Base64 serial streams to a local edge processor running the RuView AI model array.
Does this setup interfere with my home WiFi?
No. The system uses standard IEEE 802.11 beacons and passive sniffing modes, operating seamlessly in the background without affecting your network speed or causing interference.