Distributed AI Fire Detection System A Spatial-Temporal Edge Computing Approach
Distributed AI Fire Detection System A Spatial-Temporal Edge Computing Approach
This paper presents the design, implementation, and mathematical foundations of a distributed artificial intelligence system for real-time fire detection and propagation prediction. The system deploys five Raspberry Pi three B plus nodes as edge computing units, each equipped with a BME six eighty multi-parameter environmental sensor. Sensor data streams are windowed, preprocessed, and fed into a two-stage AI ensemble: a Long Short-Term Memory network for fire phase classification, and a Multi-Layer Perceptron for spatial fire propagation detection. Inference is executed in a synchronized manner: all five nodes are processed at the same temporal index T, enabling spatially aware fire spread detection that would be impossible with independent per-node inference. The controller orchestrates distributed Long Short-Term Memory execution via SSH and SFTP, achieving end-to-end latency of seven to ten seconds per node per sequence, well within the sixty-second window production rate.
One Introduction
One Introduction
Early fire detection is critical for minimizing structural damage and protecting lives. Traditional smoke detectors provide binary alerts with no spatial context. Modern IoT deployments can do far better: a network of environmental sensors distributed across a physical space can detect fire phases before visible flame appears and, critically, predict whether fire is likely to spread from one zone to another.
The key research contribution of this system is joint spatial-temporal inference: rather than processing each sensor node independently, the controller waits until all N equals five nodes have completed preprocessing for time index T, then triggers inference simultaneously. This allows Model B (the propagation detector) to receive the full spatial state vector of the environment, enabling cross-node fire spread prediction.
The remainder of the paper is organized as follows. Section Two describes the hardware and software architecture. Section Three formalizes the data acquisition and windowing procedure. Section Five details the preprocessing pipeline. Sections Six and Seven present the Long Short-Term Memory and Multi-Layer Perceptron models, respectively. Section Eight formalizes the joint inference mechanism. Section Nine describes the distributed orchestration protocol. Section Ten covers output structure and logging, and Section Twelve analyzes system performance.