Lightweight convolutional neural network for real-time earthquake P-wave detection on edge devices in New Zealand

Earthquake P-wave detection is the first and most critical step in Earthquake Early Warning (EEW), as detection speed determines how much time is available before strong shaking arrives, while detection accuracy governs the reliability of the warning. Conventional P-Wave detection methods such as Short-Term Average over Long-Term Average (STA/LTA) often struggle in complex noise environments and exhibit higher detection latency. Deep learning offers a more robust alternative by learning complex waveform characteristics directly from data, enabling faster and more reliable detections. However, the high computational cost of deep models limits their use on low-cost, resource-constrained edge devices in decentralized EEW networks. Here we present a lightweight Convolutional Neural Network optimized for real-time P- and S-wave detection on edge hardware using only two seconds of seismic input waveforms. Trained on approximately 89 K waveform segments recorded by strong-motion sensors across New Zealand, the model achieves an overall accuracy of 97.12% and correctly identifies 98% of P-wave segments. With ~ 38 K trainable parameters and sub-7-millisecond inference time on Raspberry Pi 5 hardware, the model demonstrates efficient operation under edge-computing constraints. Its ability to generalize to high-magnitude events highlights its strong potential for integration into distributed EEW systems.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-03-02
DOI
https://doi.org/10.1038/s41598-026-42568-y
Primary Topic
Seismology and Earthquake Studies
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Lightweight convolutional neural network for real-time earthquake P-wave detection on edge devices in New Zealand

Danuka Ravishan, Pasan Herath, Raj Prasanna, Emma E. H. Doyle
Scientific Reports
Seismology and Earthquake Studies
article

Lightweight convolutional neural network for real-time earthquake P-wave detection on edge devices in New Zealand

Danuka Ravishan, Pasan Herath, Raj Prasanna, Emma E. H. Doyle
article en

Abstract

Earthquake P-wave detection is the first and most critical step in Earthquake Early Warning (EEW), as detection speed determines how much time is available before strong shaking arrives, while detection accuracy governs the reliability of the warning. Conventional P-Wave detection methods such as Short-Term Average over Long-Term Average (STA/LTA) often struggle in complex noise environments and exhibit higher detection latency. Deep learning offers a more robust alternative by learning complex waveform characteristics directly from data, enabling faster and more reliable detections. However, the high computational cost of deep models limits their use on low-cost, resource-constrained edge devices in decentralized EEW networks. Here we present a lightweight Convolutional Neural Network optimized for real-time P- and S-wave detection on edge hardware using only two seconds of seismic input waveforms. Trained on approximately 89 K waveform segments recorded by strong-motion sensors across New Zealand, the model achieves an overall accuracy of 97.12% and correctly identifies 98% of P-wave segments. With ~ 38 K trainable parameters and sub-7-millisecond inference time on Raspberry Pi 5 hardware, the model demonstrates efficient operation under edge-computing constraints. Its ability to generalize to high-magnitude events highlights its strong potential for integration into distributed EEW systems.

Scientific Reports
GNS Science (NZ), Hutt Hospital (NZ), Massey University (NZ)
Massey University
Openalex Percentile: Top 41%
Seismology and Earthquake Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Lightweight convolutional neural network for real-time earthquake P-wave detection on edge devices in New Zealand — Danuka Ravishan, Pasan Herath, et al. · Scientific Reports (2026) | TGRS Research Map | TGRS