This project describes an IoT based system for monitoring air pollution and provide decision support in an urban setting of Vantaa, Finland. The overall purpose of the system is to monitor air quality continually, generate decisions based on the continuous flow of ‘raw’ environmental data (like traffic, weather etc.) to improve public safety and intelligent management of public areas.
The CPS (cyber-physical system) concept allows users to connect the digital system with the physical environment through a network of connected devices (sensors), by using wireless communication networks (internet) to communicate with remote cloud service for processing.
Run to view results
System Architecture (Important for marks)
The system consists of multiple CPS layers:
1. Physical Layer Includes the real-world environment such as air pollutants (PM2.5, PM10, NO₂), traffic, and weather conditions.
2. Sensing Layer Sensors continuously measure pollutant concentrations and send data at regular intervals (every 5–10 minutes).
3. Communication Layer Data is transmitted using IoT technologies such as 4G or LoRa networks, enabling reliable and scalable connectivity.
4. Data Processing Layer Data is stored and processed using cloud or edge computing. In this project, processing is simulated using Python.
5. Decision Layer A threshold-based algorithm classifies air quality into:
Normal Warning Alert
6. Acting Layer The system generates alerts to notify users, such as citizens or city authorities.
Run to view results
Run to view results
Run to view results
The x-axis is Sample number. You have 144 samples, which represents 24 hours of monitoring with a 10-minute sampling interval.
The y-axis is pollutant concentration.
There are three lines:
Blue line = PM2.5 Fine particles. This is your main decision variable.
Orange line = PM10 Larger dust particles. It is usually higher than PM2.5.
Green line = NO2 Traffic-related gas. It follows a similar pattern to PM2.5 and PM10.
Main observation
The graph shows that pollution is not constant. Most of the time the values stay at a normal/moderate level, but there are clear peaks around:
sample 45–55 sample 72–78 sample 100–110
These peaks represent possible traffic pollution events, street dust, or temporary weather-related pollution buildup.