Self-Contained Earthquake Early Warning System Based on Characteristic Period Computed in the Frequency Domain
Abstract
1. Introduction
- stopping elevators at the nearest floor and opening their doors to avoid entrapment;
- slowing or stopping high-speed trains to reduce derailment risk;
- shutting down gas pipelines to prevent fires and explosions;
- halting vehicular access to bridges, tunnels, or hazardous zones;
- activating emergency broadcasting systems or mobile alerts [6].
- Regional EEWSs operate based on a dense network of seismometers deployed over wide geographic areas with known seismic activity. Data from multiple sensors are collected in real time and processed in centralized facilities, where algorithms rapidly compute the epicenter, depth, and magnitude of the earthquake and disseminate alerts to target regions [7]. These systems are highly effective for providing warnings to locations at significant distances from the epicenter but are often costly, infrastructure-dependent, and subject to communication delays.
- On-site EEWSs, in contrast, rely on local sensors placed near the point of interest (e.g., a building, industrial facility, or bridge). These systems detect incoming P-waves and estimate local shaking intensity in real time, without the need for centralized processing or external communication infrastructure [8]. While on-site systems may not provide warnings as early as regional ones (especially for distant events), they offer extremely fast local response—typically within milliseconds—making them ideal for autonomous safety triggers [9].
- real-time performance, using threshold-based signal analysis;
- portability, allowing deployment in isolated or mobile environments;
- autonomous operation, independent of cloud or internet connectivity;
- energy efficiency, enabling battery or solar-powered operation.
2. Methods and Materials
- Extract the first 3 s of the vertical displacement signal after P-wave arrival;
- Zero pad the signal to increase the FFT resolution and compute the FFT to obtain the frequency-domain representation;
- Identify the local maxima in the amplitude spectrum;
- Calculate the weighted average of squared frequencies over the identified peaks.
- Compute the characteristic period.
- 512 KB Flash memory and 128 KB SRAM, enabling storage of real-time data buffers, firmware logic, and logging structures;
- A rich peripheral set, including a Serial Peripheral Interface (SPI), Inter-Integrated Circuit (I2C), Universal Synchronous/Asynchronous Receiver/Transmitter (USART), Universal Serial Bus On-The-Go Full Speed (USB OTG FS), and Controller Area Network (CAN), facilitating flexible integration with both sensors and communication modules;
- Multiple low-power modes, supporting energy-efficient operation for deployments in resource-constrained or solar-powered environments.
- SPI1, the first Serial Peripheral Interface module of the STM32 microcontroller is utilized, with the following pin assignments: NSS: PA4 (Negative Select Slave, a chip-select signal, assigned to pin PA4, which enables communication with ADXL355), SCK: PA5 (Serial Clock—clock signal for synchronizing data transfer, assigned to pin PA5), MISO: PA6 (Master In Slave Out—data line for communication from the sensor (slave) to the microcontroller (master), assigned to pin PA6), MOSI: PA7 (Master Out Slave In—data line for communication from the microcontroller (master) to the sensor (slave), assigned to pin PA7).
- The INT1 (Interrupt 1) output of the ADXL355 accelerometer is connected to PA0 (Port A, Pin 0) on the STM32 microcontroller, which corresponds to the EXTI0 (External Interrupt Line 0). This setup enables an interrupt-driven data acquisition routine, triggered directly by the sensor’s hardware signal, thereby minimizing latency and maximizing system responsiveness.
- LED1 (PA8): Illuminates during valid seismic event detection or data logging;
- LED2 (PA1): Signals error conditions, including sensor faults, communication errors, or memory overflows.
3. Experimental Setup and Results
- Actuator: Brushed DC motor (4160 rpm, 7.67 mNm/A torque constant);
- Gearbox: Single-stage planetary gear with 3.71:1 reduction ratio;
- Encoder: 4096 counts/rev optical encoder mounted on a 56-tooth pinion; resolution ≈ 0.0235 mm;
- Power amplifier: Linear type, delivering ±10 V analog control with a 24 V DC output.
- Event Detection: Based on the short-term average/long-term average (STA/LTA) algorithm: STA window: 2 s; LTA window: 20 s; trigger threshold: 4.0; detrigger threshold: 1.5. The STA/LTA trigger and detrigger thresholds were selected based on prior EEWS studies [15,16] and empirical calibration specific to the ADXL355 MEMS accelerometer’s noise characteristics (noise density ~22.5 µg/√Hz), optimizing the balance between sensitivity to weak P-wave arrivals and suppression of false triggers caused by ambient microvibrations and sensor drift.
- Characteristic Period Estimation:
- The first 3 s of the vertical acceleration signal were recorded following event onset. This FFT input is sampled at 200 Hz (fully compatible with the hardware configuration), yielding 600 samples. The sampling rate provides a Nyquist frequency of 100 Hz, far above the 0.1–10 Hz band relevant for P-wave analysis, allowing oversampling that improves signal-to-noise ratio before numerical integration.
- The signal was zero-padded (to extend the sequence to 2048 points, resulting in a frequency resolution of approximately 0.098 Hz (i.e., 200 Hz/2048)) and converted to the frequency domain using FFT.
- Local spectral maxima were extracted.
- A weighted average of squared frequencies was computed using peak amplitudes as weights.
- The characteristic period was derived as
4. Discussions
- The estimated characteristic period τc must exceed a predefined threshold (e.g., 0.8 s), indicating a potentially damaging event.
- Simultaneously, the P-wave amplitude must exceed 0.5 cm to ensure that weak or distant earthquakes do not cause false positives.
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- He, X.; Chen, Z.; Yang, Q.; Xu, C. Advances in Earthquake and Cascading Disasters. Nat. Hazards Res. 2025, 5, 421–431. [Google Scholar] [CrossRef]
- Böse, M.; Heaton, T.; Hauksson, E.; Solanki, K.; Kanamori, H.; Clayton, R.W.; Bunn, J. A New Paradigm for Earthquake Early Warning Systems. Earthq. Spectra 2020, 36, 61–72. [Google Scholar]
- Allen, R.M.; Melgar, D. Earthquake Early Warning: Advances, Scientific Challenges, and Societal Needs. Annu. Rev. Earth Planet. Sci. 2019, 47, 361–388. [Google Scholar] [CrossRef]
- Goltz, J.D.; Roeloffs, E. Imminent Warning Communication: Earthquake Early Warning and Short-Term Forecasting in Japan and the US. In Disaster Risk Communication: A Challenge from a Social Psychological Perspective; Springer: Singapore, 2020; pp. 121–153. [Google Scholar]
- Suárez, G. The Seismic Early Warning System of Mexico (SASMEX): A Retrospective View and Future Challenges. Front. Earth Sci. 2022, 10, 827236. [Google Scholar] [CrossRef]
- Tan, M.L.; Becker, J.S.; Stock, K.; Prasanna, R.; Brown, A.; Kenney, C.; Lambie, E. Understanding the Social Aspects of Earthquake Early Warning: A Literature Review. Front. Commun. 2022, 7, 939242. [Google Scholar] [CrossRef]
- Chandrakumar, C.; Prasanna, R.; Stephens, M.; Tan, M.L. Earthquake Early Warning Systems Based on Low-Cost Ground Motion Sensors: A Systematic Literature Review. Front. Sens. 2022, 3, 1020202. [Google Scholar] [CrossRef]
- Velazquez, O.; Pescaroli, G.; Cremen, G.; Galasso, C. A Review of the Technical and Socio-Organizational Components of Earthquake Early Warning Systems. Front. Earth Sci. 2020, 8, 533498. [Google Scholar] [CrossRef]
- Abdalzaher, M.S.; Krichen, M.; Yiltas-Kaplan, D.; Ben Dhaou, I.; Adoni, W.Y.H. Early Detection of Earthquakes Using IoT and Cloud Infrastructure: A Survey. Sustainability 2023, 15, 11713. [Google Scholar] [CrossRef]
- Kumar, P.; Kamal; Sharma, M.L.; Jakka, R.S.; Pratibha. Uttarakhand State Earthquake Early Warning System: A Case Study of the Himalayan Environment. Sensors 2024, 24, 3272. [Google Scholar] [CrossRef] [PubMed]
- Mittal, H.; Pal, S.; Kumar, R.; Saini, A.; Wu, Y.M.; Ammani, A.; Mishra, O.P. India’s Earthquake Early Warning Systems: A Review of Developments and Challenges. Surv. Geophys. 2025, 46, 529–553. [Google Scholar] [CrossRef]
- Owusu Duah, J.; Osei, O.; Osafo-Gyamfi, S. Predicting Peak Ground Acceleration of Strong-Motion Earthquakes Using Variable Snapshots of P-Wave Data with Long Short-Term Memory Neural Network. Seismol. Res. Lett. 2024, 95, 2886–2893. [Google Scholar] [CrossRef]
- STM32F4 Series of High-Performance MCUs with DSP and FPU Instructions. Available online: https://www.st.com/en/microcontrollers-microprocessors/stm32f4-series.html (accessed on 9 August 2025).
- MEMs Accelerometer Boasts Ultra-Low Power Consumption. Available online: https://www.electronicspecifier.com/products/sensors/mems-accelerometer-boasts-ultra-low-power-consumption/ (accessed on 9 August 2025).
- Wu, C.; Kanamori, H. Rapid Assessment of Earthquake Hazard Using On-Site Instruments. Bull. Seismol. Soc. Am. 2005, 95, 1181–1193. [Google Scholar] [CrossRef]
- Çelebi, S.; Nakamura, Y.; Soyoz, S.; Bruneau, M. A Low-Cost Standalone On-Site Earthquake Early Warning System Using MEMS Accelerometers. Soil Dyn. Earthq. Eng. 2018, 113, 248–256. [Google Scholar]
- Heaton, T.H.; Kohler, M.D.; Chin, W.H.; Bunn, J.J.; Solanki, K.; Hauksson, E. Generalized Seismic Risk Reduction Using Earthquake Early Warning: An Application Using a Raspberry Pi. Seismol. Res. Lett. 2018, 89, 512–518. [Google Scholar]
- Goltz, J.D.; Wald, D.J.; McBride, S.K.; Reddy, E.; Quitoriano, V.; Saunders, J.K. The Ojai California Earthquake of 20 August 2023: Earthquake Early Warning Performance and Alert Recipient Response in the Mw 5.1 Event. Seismol. Res. Lett. 2024, 95, 2745–2760. [Google Scholar] [CrossRef]
- Finazzi, F.; Bossu, R.; Cotton, F. Smartphones Enabled up to 58 s Strong-Shaking Warning in the M7.8 Türkiye Earthquake. Sci. Rep. 2024, 14, 4878. [Google Scholar] [CrossRef]
- Finazzi, F.; Aiello, L.; Paci, L. A Bayesian Cure Model for Earthquake Parameter Estimation Using Crowdsourced Smartphone Data. In Scientific Meeting of the Italian Statistical Society; Springer: Cham, Switzerland, 2024; pp. 665–670. [Google Scholar]
- Binali, R.; Demirpolat, H.; Kuntoğlu, M.; Makhesana, M.; Yaghoubi, S.; Sayın Kul, B. A Comprehensive Review on Low-Cost MEMS Accelerometers for Vibration Measurement: Types, Novel Designs, Performance Evaluation, and Applications. J. Mol. Eng. Mater. 2024, 12, 2430002. [Google Scholar] [CrossRef]
- Rosca, C.M.; Stancu, A. Earthquake Prediction and Alert System Using IoT Infrastructure and Cloud-Based Environmental Data Analysis. Appl. Sci. 2024, 14, 10169. [Google Scholar] [CrossRef]
- Donciu, C.; Serea, E.; Temneanu, M.C. Frequency Domain Estimation Method of the Characteristic Period of the P Wave of Earthquakes. Front. Phys. 2025, 13, 1496451. [Google Scholar] [CrossRef]
- Kanamori, H. Real-Time Seismology and Earthquake Damage Mitigation. Annu. Rev. Earth Planet. Sci. 2005, 33, 195–214. [Google Scholar] [CrossRef]
- Allen, R.M.; Kanamori, H. The Potential for Earthquake Early Warning in Southern California. Science 2003, 300, 786–789. [Google Scholar] [CrossRef] [PubMed]
- High-Performance Foundation Line, Arm Cortex-M4 core with DSP and FPU, 512 Kbytes of Flash Memory, 180 MHz CPU, ART Accelerator, Dual QSPI. Available online: https://www.st.com/en/microcontrollers-microprocessors/stm32f446re.html (accessed on 7 August 2025).
- Disastra, M.R.A.; Abdurrafi, A. A Literature Review of Low-Cost Accelerometer Sensors for Earthquake Detection: Performance Analysis and Accuracy Assessment. J. Comput. Phys. Earth Sci. 2024, 4. [Google Scholar] [CrossRef]
- Jatakar, K.H.; Mulgund, G.; Patange, A.D.; Deshmukh, B.B.; Rambhad, K.S.; Saxena, A.; Kalbande, V. Vibration Monitoring System Based on ADXL335 Accelerometer and Arduino Mega2560 Interface. J. Algebra. Stat. 2022, 13, 2291–2301. [Google Scholar]
- Fuławka, K.; Mertuszka, P.; Szumny, M.; Stolecki, L.; Szczerbiński, K. Application of MEMS-Based Accelerometers for Near-Field Monitoring of Blasting-Induced Seismicity. Minerals 2022, 12, 533. [Google Scholar] [CrossRef]
Date_Event | Magnitude [Mw] | Epicentral Distance [km] | Station | Mean [s] | Standard Deviation [s] |
---|---|---|---|---|---|
2023.06.21_0000149 | 4.1 | 39 | LSN | 0.29 | ±0.03 |
2023.06.06_0000145 | 4.8 | 48 | TIM | 0.54 | ±0.6 |
2023.02.14_0000139 | 5.5 | 72 | LOT | 1.09 | ±0.11 |
2021.08.01_0000049 | 5.7 | 90 | KARP | 1.18 | ±0.13 |
2022.11.23_0000008 | 6.1 | 139 | IZI | 1.23 | ±0.17 |
2023.02.20_0000197 | 6.3 | 205 | 2713 | 1.31 | ±0.20 |
2023.02.06_0000011 | 6.7 | 255 | ARPRA | 1.55 | ±0.21 |
2020.10.30_0000082 | 7.0 | 249 | DST | 2.15 | ±0.23 |
2023.02.06_0000222 | 7.5 | 239 | KOZK | 3.46 | ±0.34 |
2023.02.06_0000008 | 7.7 | 264 | 6203 | 4.25 | ±0.38 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Temneanu, M.C.; Donciu, C.; Serea, E. Self-Contained Earthquake Early Warning System Based on Characteristic Period Computed in the Frequency Domain. Appl. Sci. 2025, 15, 9026. https://doi.org/10.3390/app15169026
Temneanu MC, Donciu C, Serea E. Self-Contained Earthquake Early Warning System Based on Characteristic Period Computed in the Frequency Domain. Applied Sciences. 2025; 15(16):9026. https://doi.org/10.3390/app15169026
Chicago/Turabian StyleTemneanu, Marinel Costel, Codrin Donciu, and Elena Serea. 2025. "Self-Contained Earthquake Early Warning System Based on Characteristic Period Computed in the Frequency Domain" Applied Sciences 15, no. 16: 9026. https://doi.org/10.3390/app15169026
APA StyleTemneanu, M. C., Donciu, C., & Serea, E. (2025). Self-Contained Earthquake Early Warning System Based on Characteristic Period Computed in the Frequency Domain. Applied Sciences, 15(16), 9026. https://doi.org/10.3390/app15169026