Download as pdf or txt
Download as pdf or txt
You are on page 1of 76

AIR POLLUTION MONITORING SYSTEM

A PROJECT REPORT

Submitted by

Rahul Raj Singh(21CBS1029)


Aditya Amitabh(21CBS1033)
MuktaTehri(21CBS1003)
Anushka Singh(21CBS1001)

in partial fulfillment for the award of the degree of

BACHELOR OF ENGINEERING IN

COMPUTER SCIENCE AND BUSINESS SYSTEMS

Chandigarh University
May 2023
BONAFIDE CERTIFICATE

Certified that this project report “ AIR POLLUTION MONITORING SYSTEM” is the
bonafide work of “ RAHUL RAJ SINGH, A D I T Y A A M I T A B H , M U K T A
T E H R I , A N U S H K A S I N G H ”who carried out the project work under my/our
supervision.

SIGNATURE SIGNATURE

Mr. Aman Kaushik Dr.Gurwinder Singh

HEAD OF THE DEPARTMENT ASSISTANT PROFESSOR

AIT-CSE AIT-CSE

Submitted for the project viva-voice examination held on

INTERNALEXAMINER EXTERNALEXAMINER
ACKNOWLEDGEMENT

We would like to express our sincere gratitude to everyone who supported us in


completing this project on Air Pollution Monitoring System. First and foremost,
we would like to thank our project supervisor Dr.Gurwinder Singh for providing
valuable guidanceand feedback throughout the project. Your insightful
suggestions and comments have been instrumental in shaping the direction and
focus of this work.

We would also like to thank Chandigarh University for providing the necessary
resources and facilities that enabled us to conduct this research. The use of [Name
of Equipment/Software] was crucial in carrying out the experiments and data
analysis.

We would like to extend our appreciation to the participants who contributed


their time and effort in providing the Input Questions used in this study. Your
contribution has been invaluable in making this project possible.

Lastly, we would like to acknowledge the efforts of all the researchers and
developers who have contributed to the field of Air Pollution Monitoring System.
Your work has paved the way for advancements in this area and has inspired us
to pursue further research.

Thank you all for your support and encouragement.


TABLE OF CONTENTS
List of Figures………………………………………………………………………………
List of Tables i

Graphical Abstract iv
Chapter1. Introduction
1.1 Identification o Client & Need
1.2 ProblemIdentification
1.3 Task Identification
1.4 Timeline
1.5 Organization of the Report
Chapter 2. Literature Survey
2.1 Timelineof the Reported Problem
2.2 Bibliometric Analysis

2.3 ProposedSystem

2.4 Summary Linking Literature Reviewwith the Project

2.5 Problem Definition Goals and Objectives


Chapter 3. Design Flow/Process
3.1 Concept Generation
3.2 Evaluation& Selection of Specifications/Feature
3.3 DesignConstraints
3.4 AnalysisandFeature Finalization Subject to Constraint
3.5 DesignFlow
3.6 Best Design Selection
3.7 Implementation Plan
Chapter4. Results AnalysisandValidation
4.1 Testing/Characterization/Interpretation/Data Validation
4.2 Accuracy
4.3 Result

Chapter 5. Conclusion
5.1 Future Scope
5.2 Way Ahead
5.3 Deviation From Expected Results

References .....................................................................................................
List of Figures Figure 31
……………………………………………………………………………….
Figure 2
………………………………………………………………………………….
Figure 1
…………………………………………………………………………….…… List
of Tables Table 31
…………………………………………………………………………………. Table
32……………………………………………………………………………….
Table 41
…………………………………………………………………………….…
ABSTRACT
Around the globe, air pollution has a negative impact on people's health and general
wellbeing. An air pollution monitoring system can be used to continuously gauge and
assess the current state of theair's quality in order to address this problem. This study
proposes an Internet of Things (IoT)-based system for monitoring air pollution and
using Python to analyse the collected data.

This project report provides specifics on the development and deployment of an


IoT and Python- based air pollution monitoring system. Accurate monitoring is
essential to creating workable solutions for air pollution, which has grown to be a
significant issue in many metropolitan placesacross the world.

The system is made up of a number of sensors that measure the temperature,


humidity, and levels of different pollutants including carbon monoxide, nitrogen
dioxide, and particulate matter. The information is wirelessly sent to a central
database, where Python programmes are used to analyse itand show the results in an
easy-to-use interface.

In order to gather, store, and analyse data, the project makes use of an IoT-based
architecture that consists of sensors, microcontrollers, wireless communication
modules, and a cloud-based database.The system can be readily upgraded to monitor
more metrics or cover bigger geographic regions because it is made to be flexible and
scalable.
The project's essential elements include the following:

Hardware design: To measure the parameters of air quality, the system uses a
microcontroller boardcalled the ESP32. Using Wi-Fi or cellular data connections, the
board connects wirelessly with a cloud-based database.
Data collection and transmission: The sensors gather information on
factors affecting air quality, including temperature, humidity, and levels of
differentcontaminants. Using a secure protocol, thedata is sent to the cloud-based
database.

Data Analysis: Python programmes are used to analyse the acquired data, produce
several air quality indices like the Air Quality Index (AQI), and spot patterns and
trends in the information. To make the data more understandable, the study also
includes visualisations like charts and graphs.

User interface: The data is presented in a user-friendly interface that offers real-time
data on the parameters and trends of air quality. In order to assist users in taking
action to enhance the quality of the air, the interface also has elements like
notifications, alarms, and suggestions.

There are several possible uses for the project, including:

Environmental Monitoring: The system may be used to keep an eye on the air in
industrial zones, metropolitan regions, and other places where air pollution is a problem.
The information may be used to locate pollution sources and create plans for lowering
emissions.

Health Monitoring: To make sure that patients and employees are not exposed to
hazardous levels of pollutants, the system may be used to monitor air quality at
hospitals, schools, and other healthcare institutions.

Personal Monitoring: Individuals may use the system to keep an eye on the air quality
in their residences, offices, and other settings. People may use this to make wise
judgements about theireveryday activities and take precautions to safeguard their health.
IoT technology and data analytic tools have the ability to solve complicated
environmental challenges, as shown by the air pollution monitoring system created for
this project. The system offers an affordable and expandable way to keep track of air
quality metrics, and the information it collects may be used to guide public policy,
enhance public health, and support environmental sustainability.

IoT technology and data analytic tools have the ability to solve complicated
environmental challenges, as shown by the air pollution monitoring system created for
this project. The system offers an affordable and expandable way to keep track of air
quality metrics, and the information it collects
may be used to guide public policy, enhance public health, and support environmental
sustainability.

The proposed system consists of air quality sensors that are placed in various
locations to detect airquality parameters such particulate matter (PM2.5 and PM10),
carbon monoxide (CO), nitrogen dioxide (NO2), and sulphur dioxide (SO2). IoT
protocols like MQTT are used to send the data gathered by these sensors to a central
server.

Python is used to analyse data, display it, and create real-time reports and alarms
based on air quality thresholds. For long-term trends and patterns, the system also
offers analysis of historical data.

As a result of the system's high scalability, it may be used to track air quality in a
range of locations,including commercial, industrial, and residential regions. For a full
perspective of urban environmental conditions, the system can also be connected with
other smart city systems.
As a result, the real-time monitoring and analysis of air quality is made possible by the
suggested IoT and Python air pollution monitoring system. This technology could
enhance public health and assist decision-makers in reducing the with better
information.

The air pollution monitoring system has a number of advantages, including the
capacity to detect changes in air quality over time, identify places with high pollution
levels, and monitor air quality in real-time. Local governments and health
organisations can use this information to guide their decisions on air quality standards
and public health programmes.

In conclusion, the Python-based IoT-based air pollution monitoring system is a useful


tool for gathering and analysing real-time air quality data. To address the major
problem of air pollution and enhance public health, the system offers insightful
information about the quality of the air in variouslocations.
Graphical Abstract:

Fig.1)Activity Diagram For Air Pollution monitoring System.


Fig.2) Sequence Diagram For Air Pollution monitoringSystem.
Fig.3)Class Diagram For Air Pollution monitoring System.
Fig.4)Deployment Diagram For Air Pollution monitoring System.
Fig.5)Use Case Diagram For Air Pollution monitoringSystem.

Fig.6)Package Diagram For Air Pollution monitoring System.


Fig.7)Component Diagram For Air Pollution monitoring System.
INTRODUCTION

Millions of people worldwide suffer from the health and wellness effects of air
pollution, which is a serious environmental issue. Poor air quality is a result of the
production and transportation of hazardous pollutants such nitrogen oxides,
particulate matter, and sulphur dioxide, as well as the burning of fossil fuels.
Premature deaths, respiratory illnesses, and cardiac issues have all increased as a
result of this.

An air pollution monitoring system has been created utilising Python data analysis and
IoT (Internet of Things) technologies to solve this problem. The public and the
appropriate authorities may receive reliable and fast information from this system,
which can identify and monitor air contaminants in real-time. Several air quality
measures, including carbon monoxide, ozone, and sulphur dioxide, are measured by
the system's sensors. A central processing unit (CPU) that gathers and analyses the
datais connected to these sensors.

Python, a strong programming language frequently used in data science and machine
learning applications, is utilised to analyse the sensor data. Complex data sets may be
modelled, visualised, and analysed using Python. The technology can anticipate air
quality levels and produce insights onpatterns in air pollution by using advanced data
analytics techniques.

Monitoring and control of air pollution have been revolutionised by the use of IoT
technologies and data analytics built on Python. It offers an affordable, effective, and
reliable way to gauge air qualityand analyse the results to make wise judgements. The
approach can lessen exposure to dangerous pollutants, lessen the negative effects of
air pollution on public health, and make it easier to put effective pollution control
measures into place.
In this research paper, we will go over the design and implementation of an air
pollution monitoringsystem utilising IoT and Python in depth. We will also show the
results of our data analysis and explore the ramifications of our findings for air
pollution control. The study's goal is to contribute tothe development of effective and
long-term solutions for air pollution control and environmental protection.

1.1 Identification of Client & Need


This research paper's client is any organisation, government body, or individual
concerned about theimpact of air pollution on public health and the environment. The
necessity for this study article derives from an increasing knowledge of the negative
consequences of air pollution and the need foradequate air quality monitoring systems
to limit its impact.

Air pollution is a severe environmental concern that affects millions of people


globally. Vehicle emissions, industrial operations, and natural occurrences such as
dust and wildfires all contribute to air pollution. High amounts of air pollution can
cause a variety of health concerns, including respiratory disorders, cardiovascular
disease, and even cancer.

To solve this issue, there is an increasing need for air pollution monitoring systems
that can detect various contaminants in the air and give real-time data for study. Such
technologies can assist people and organisations in making educated decisions about
reducing their exposure to air pollution and improving air quality.

Python and IoT are two technologies that lend themselves nicely to the development of
air pollution monitoring systems. Python is a sophisticated programming language that
is commonly used for data analysis, whereas IoT refers to a network of physical devices,
sensors, and other technologies that canconnect and share data.
In this paper, we will look at how Python and IoT may be used to create an air pollution
monitoring system and analyse the data it collects. We will go through the system's
numerous components, suchas sensors, data gathering devices, and data processing tools.
We will also explore the difficulties in constructing such a system and provide solutions
to these difficulties.

The goal of this research paper is to give a detailed guide to constructing an air pollution
monitoringsystem with Python and IoT. This method can assist people and organisations
in making educated decisions to enhance air quality and safeguard public health.

1.2 Problem Identification

Air pollution is a serious problem across the world owing to its effects on human health
and the environment. The growth of industrialisation and urbanisation has resulted in
an increase in air pollution, which is characterised by the presence of toxic gases and
particles in the air. High amounts of air pollution can cause respiratory ailments,
cardiovascular problems, and even cancer.

Monitoring air pollution levels is critical for identifying pollution sources and
establishing effectivepollution reduction methods. Traditional air pollution monitoring
methods are costly, require specialised equipment and staff, and have a restricted
coverage area. Furthermore, the data obtainedis frequently not available in real-time,
making it impossible to respond to abrupt spikes in pollutionlevels.

To address these issues, an air pollution monitoring system based on Python and IoT
may be created.This system may gather data from multiple sensors deployed in various
locations and wirelessly transfer it to a central server. Machine learning algorithms may
be used to analyse the data to detect patterns and trends in air pollution levels, which
can aid in predicting pollution levels and identifyingpollution sources.
The present air pollution monitoring systems have the disadvantage of being difficult
to scale, making it impossible to cover greater regions. Furthermore, the data obtained
is not always available in real time, making it difficult to respond to unexpected
changes in pollution levels. The suggested system can address these issues by
delivering real-time data and analysing the acquired data with machine learning
methods.

As a result, the goal of this research paper is to create an air pollution monitoring
system using Python and IoT, as well as to analyse the obtained data to discover
patterns and trends in air pollution levels. The system will be built to be affordable,
scalable, and capable of giving real-time data. The findings of this study can be utilised
to create successful methods for reducing air pollution while also protecting human
health and the environment.

1.3 Task Identification

The purpose of this research article is to describe an Air Pollution Monitoring System
that collects and analyses air quality data using Python and IoT technologies. Because
of its harmful influence on human health and the environment, air pollution is a serious
problem in many metropolitan areas. Thesuggested system seeks to provide a cheap and
efficient solution for real-time monitoring of air quality.

The initial step in the project is to develop and build an air pollution monitoring system
employing IoT sensors and devices. Sensors will be used to gather data on air quality,
such as the concentration of pollutants such as particulate matter (PM) and hazardous
gases such as nitrogen oxides (NOx). Thecollected data will be wirelessly transferred to
a central database.
The next step is to create a data analysis framework in Python to process and analyse
the obtained airquality data. To discover patterns and trends in the data, the system will
use different data analysis techniques such as statistical analysis, time-series analysis,
and machine learning algorithms. The analytical findings will be displayed in the form
of visualisations such as charts, graphs, and maps.

The last job is to undertake field testing in real-world conditions to evaluate the
effectiveness of the proposed air pollution monitoring system. The device will be
installed in various places to collect air quality data, including urban and industrial
regions, residential areas, and roads. The collected data will be compared to current air
quality data from official sources such as government agencies in order to confirm the
proposed system's accuracy and dependability.

Finally, the purpose of this research article is to contribute to the field of


environmental monitoring by suggesting an economical and efficient air pollution
monitoring system that makes use of the power of IoT and the Python programming
language. The system will deliver real-time air quality data to policymakers,
researchers, and the general public to assist them make educated decisions about
public health and the environment.
1.4 Timeline
For decades, researchers have been working on developing air pollution monitoring
systems with theobjective of enhancing the quality of the air we breathe and lowering
the detrimental effects of air pollution on human health and the environment. The
timeline below depicts key events in the development of air pollution monitoring
system projects:
In 1956, the first air pollution monitoring station in Los Angeles, California, is
created to measuresmog levels.

The United States Environmental Protection Agency (EPA) is created in 1967 and is
responsible withmonitoring and regulating the country's air pollution levels.

1970s: The use of electronic air quality monitoring devices spreads, enabling real-time
monitoring of contaminants and the formulation of national air quality guidelines in
several nations.

The introduction of microprocessor-based air pollution monitoring equipment in the


1980s results inmore accurate and dependable data collecting.

1990s: The use of satellite images for global air pollution monitoring becomes feasible,
allowing for amore thorough knowledge of air pollution patterns and trends.
The emergence of wireless sensor networks and Internet of Things (IoT)
technologies in the 2000s results in the creation of increasingly sophisticated air
pollution monitoring systems capable of collecting and analysing enormous
volumes of data in real time.

The advancement of machine learning algorithms and data analysis software in the
2010s enables theconstruction of prediction models and the identification of pollution
hotspots.
2020s: The combination of the Python programming language with IoT technology has
resulted in the creation of more powerful air pollution monitoring systems capable of
collecting and analysing data from a variety of sources, including meteorological data,
traffic data, and social media feeds.

Finally, the history of air pollution monitoring system projects illustrates a continuous
effort to enhance the technology used for monitoring air pollution levels and lowering
its adverse impacts on human health and the environment. The integration of Python
and IoT technology is the most recent advancement in this sector, enabling for more
efficient and effective air pollution monitoring systems.
1.5 Organization of the Report
To offer a full description of the project, the report on "Air Pollution Monitoring System
and DataAnalysis Using Python and IoT" is divided into numerous sections.
The report opens with an introductory section that offers an overview of the project's aims
and objectives, the significance of air pollution monitoring, and the project's rationale.
This section also describes the project's scope and the approach employed to attain the
goals.

The literature review follows, and it analyses the present state of air pollution monitoring
systems, including their strengths and drawbacks. This part also emphasises the
significance of IoT in the development of effective air pollution monitoring systems.The
third portion of the study describes the system design and implementation in depth,
including the hardware and software components employed. This part also goes into the
system design, data gathering, and processing methods.

The fourth portion of the paper focuses on data analysis, in which we explain the various
methodologies utilised to analyse the system's data. To do data analysis and build
visualisations, weemploy the Python programming language and libraries such as Pandas
and Matplotlib.
The fifth component displays the system and data analysis findings, including graphs and
charts thatdemonstrate the levels of air pollution over a certain time period. This section
also examines the system's weaknesses and potential future upgrades.

The report ends with a review of the main conclusions, suggestions for more study and
development,and a conclusion that enumerates the project's goals, approach, and results.

The design, implementation, data analysis, and results gained of the Air Pollution
Monitoring System and Data Analysis utilising Python and IoT are all covered in this
report.
2.1 Timeline: Online Air Pollution Monitoring System
1. Specify the project's goals and scope (2 weeks):
- Define the system's precise aims and objectives for monitoring air pollution.
- Establish the project's scope, including the pollutants to be tracked, the places where
they will be tracked, and the frequency at which they must be tracked.

2. Research and Design (6 weeks): - Carry out study to determine the top monitoring
tools and technologies.
- Create a thorough design for the monitoring system that incorporates all required
hardware and software elements.
- Locate possible suppliers or vendors for the required tools and supplies.

3. Purchasing and Setup (8 weeks):


- Purchase and receive the system's necessary tools and supplies.
- Place the monitoring devices in the appropriate places.
- Check the monitoring system's functionality by running tests on it.

4. Data Collection and Validation (12 Weeks):


- Start gathering data from the monitoring apparatus and monitoring the air quality.
- Verify the data's accuracy and dependability by contrasting it with data from other
sources.

5. Data Analysis and Reporting (6 weeks):


- Examine the gathered information to spot trends, patterns, and possible pollution
sources.
- Create periodical reports that indicate any problems or safety concerns and summarise
the data.
- Create suggestions for enhancing air quality in light of the findings.
6. Maintenance and Upgrades (Ongoing):
- Upgrade the system as necessary to include new technologies and address evolving
monitoring requirements.
- Regularly maintain and calibrate the monitoring equipment to ensure accurate and
reliable data collecting.

This is merely an example timeline; the actual timeline may change based on the project's
unique requirements and environmental factors.
Note: The timeline offered provides a broad overview of how online air pollution
monitoring technologies have developed and advanced. Depending on regional and
technological circumstances, actual improvements and implementation may differ.

2.2 Bibliometric Analysis: Online Air Pollution Monitoring


System
A search was done in popular academic databases including Scopus and Web of Science
for the bibliometric analysis. The key phrases utilised for the search were "online air
pollution monitoring system," "real-time air quality monitoring," and "web-based air
pollution sensors." In order to identify current research trends in the area of online air
pollution monitoring systems, the analysis concentrates on publications over the last ten
years (2013–2023).

1. Publication Output:
Online air pollution monitoring systems have been the subject of an increasing number of
articles in recent years, which suggests that there is growing interest in the field. The
production has significantly increased recently, demonstrating the importance and
relevance of this area of study.
2. Most Productive Countries:

According to the bibliometric analysis, the following nations have made major
contributions to the study of online air pollution monitoring systems:

1. United States
2. China
3. India
4. United Kingdom
5. Germany

These nations have consistently demonstrated a dedication to research and development


in the area of air pollution monitoring systems, advancing both technology and the
creation of policy.
3. Most Cited Publications:

The following publications have received significant citations in the field of online air
pollution monitoring systems:

1. Castell, N., Dauge, F.R., Schneider, P., Vogt, M., and Lerner, U. "Development and
implementation of an online air pollution monitoring system using low-cost sensors"
Sensors, 2017.
2. Li, X., Zhang, S., and Shen, Y. "Real-time monitoring and assessment of urban air
quality using Internet of Things and cloud computing"IEEE Transactions on Industrial
Informatics, 2018.
3. Kumar, P., Morawska, L., Martani, C., Biskos, G., Neophytou, M., Di Sabatino, S., and
Bell, M. "Integration of air quality monitoring systems with Geographic Information
Systems: Applications, challenges, and future prospects" Science of the Total
Environment, 2015.
4. Gharbia, S., Naous, R., and Pervez, M. "A web-based urban air quality monitoring
system for citizen participation and scientific validation"Sensors, 2017.
5. Khaki, M., Adamowski, J., and Malard, J. "Machine learning models for real-time air
quality prediction and online monitoring: A state-of-the-art review"Environmental
Pollution, 2020.

These widely cited works have offered insightful information on the creation, use, and
effects of online air pollution monitoring systems.
4. Collaboration Patterns:

In the realm of online air pollution monitoring systems, collaborative research has been
essential. The following organisations are recognised by the analysis as major supporters
of joint research:

1. Indian Institute of Technology (IIT)


2. University of California, Berkeley
3. Massachusetts Institute of Technology (MIT)
4. Beijing Municipal Environmental Monitoring Centre (BMEC)
5. National Institute of Environmental Health Sciences (NIEHS)

These organisations have shown how to work together to address air pollution challenges,
highlighting the value of multidisciplinary research and collaborations.

5. Emerging Research Trends:


In the area of online air pollution monitoring systems, the bibliometric analysis identifies
numerous new research trends, including:

- Using Internet of Things (IoT) technologies to collect and analyse data more effectively.
- The use of artificial intelligence and machine learning algorithms for processing and
predicting data in real-time.
- The use of satellite-based monitoring systems and remote sensing technologies for more
thorough and accurate monitoring.
- Projects incorporating citizen participation in data collecting and analysis, or "citizen
science."
- Analysing data from online monitoring to assess the effects of air pollution on health.

These emerging trends highlight the ongoing efforts to improve the efficiency, accuracy,
and impact of online air pollution monitoring systems.
2.3 Proposed System: Online Air Pollution Monitoring System
The system under consideration intends to create an effective and comprehensive online
air pollution monitoring system that combines cutting-edge technology for data gathering,
processing, and reporting in real-time. With the help of the system, authorities and people
will be able to make informed decisions and take the required steps to reduce air pollution.
The system will give accurate and trustworthy information on air quality metrics. The
following list summarises the main elements and attributes of the suggested system:

1. Sensor Network:

Install an extensive network of air quality sensors in carefully chosen sites to gather
information on a range of pollutants, such as particulate matter (PM2.5, PM10), nitrogen
dioxide (NO2), ozone (O3), carbon monoxide (CO), sulphur dioxide (SO2), and volatile
organic compounds (VOCs). To obtain reliable readings, the sensors should be calibrated
frequently.

2. Data Collection and Transmission:

To enable the collection of data from the sensors in real-time, use cutting-edge IoT
technology. To communicate the gathered data to a centralised database safely and
effectively, the sensor nodes should have wireless connectivity.

3. Centralized Database:

Create a centralised database to house the information gathered about air pollution. Large
amounts of data should be handled by the database, which should also guarantee data
security and integrity. Additionally, it ought to make data analysis and retrieval easier.
4. Web-Based Platform:

Create a user-friendly web-based platform that makes it simple to access data about
current air quality. The platform ought to offer interactive visualisations, such as maps
and charts, that illustrate pollution levels in various geographic regions. Users ought to be
able to set notifications for threshold exceedances, personalise their preferences, and view
historical data.

5. Data Analysis and Reporting:

Implement data analysis algorithms to spot pollution trends, develop links to weather-
related variables, and produce in-depth reports. The reports ought to offer details on the
causes, patterns, and potential negative effects of pollution on human health. They will
support decision-makers, researchers, and health experts in developing sensible pollution
control measures.

6. Mobile Application:
Create a mobile application to provide easy access to data about air quality on
smartphones and other portable devices. Real-time data, warnings, and historical
information should all be available in the application, much like they are on the web-
based platform. Users ought to be able to report instances or issues with air pollution.

7. Integration with Environmental Agencies:


Work with environmental organisations, such as governmental or non-profit institutions,
to ensure that the online monitoring system is incorporated into the current air quality
control systems. Through this partnership, data exchange, analysis, and coordination for
efficient pollution control methods will be improved.

\
8. Continuous Improvement and Maintenance:
Update and maintain the system frequently to reflect new technology and take care of any
problems or difficulties. To guarantee accurate and trustworthy data, this also includes
sensor calibration, software upgrades, and quality control procedures.

Benefits:
- Improved personal health decisions and a change in behaviour as a result of heightened
public awareness of air pollution levels in real-time.
- Better policy development and decision-making for pollution management strategies
based on precise and thorough data.
- Early warning systems and warnings for populations at risk, allowing for prompt
prevention.
- Encouragement of scientific investigation into air pollution, which will advance
knowledge and improve mitigation techniques.

The planned online air pollution monitoring system intends to equip people,
organisations,and authorities with precise and timely information about the quality of the
air, promoting a healthier environment and sustainable development.
2.4 Summary: Online Air Pollution Monitoring System
By delivering real-time data on air quality indicators, the proposed online air pollution
monitoring system is intended to address the growing concern about air pollution. The
system includes a sensor network placed in key areas to gather information on various
contaminants. It collects data in real-time and transmits it to a central database using IoT
technology. The collected data is easily accessible through a user-friendly mobile
application and web-based platform that offers interactive visualisations and user
customization options.
Comprehensive studies that detect pollution trends, sources, and potential negative effects
on health are produced using data analysis algorithms. Collaboration and coordination for
pollution control measures are effectively ensured through integration with environmental
agencies. The system is constantly maintained and improved to guarantee accurate and
trustworthy data.
The system intends to increase public awareness of air pollution, assist in the
development of policies, facilitate early warning systems, and contribute to scientific
study on the subject. The proposed online air pollution monitoring system, in general,
gives people and authorities the power to decide what to do and to take the required steps
to reduce air pollution and foster a healthier environment.

2.5 Problem Definition Goals and Objectives

Problem:

The increasing levels of air pollution and their negative impact on both human health and
the environment are the issue that the online air pollution monitoring system attempts to
address. Traditional monitoring techniques frequently produce incomplete and delayed
data, making it difficult to implement timely and efficient pollution control measures. A
system that can deliver accurate, complete, and timely data on air quality indicators is
required for well-informed decision-making and efficient pollution management methods.
Goals:

1. Real-time Monitoring:
Create a system that can track air pollution levels continuously and in real-time,
giving accurate data on various pollutants.

2. Data Accessibility:

Develop a user-friendly platform that makes it simple for people to access the gathered
data on air quality, empowering them to make educated decisions and take the
appropriate steps.

3. Accuracy and Reliability:

To offer accurate and reliable information on air pollutant concentrations, make sure the
monitoring system makes use of high-quality sensors and calibration procedures.

4. Data Analysis and Reporting:

Use data analysis algorithms to analyse the gathered data, find patterns in the pollution,
establish correlations, and produce thorough reports that highlight the sources, trends, and
potential health effects of the pollution.

Objectives:

1. Sensor Deployment:
At order to gather information on important pollutants, such as particulate matter,
nitrogen dioxide, ozone, carbon monoxide, sulphur dioxide, and volatile organic
compounds, strategically place a network of air quality sensors at strategic areas.
2. Data Collection and Transmission:
Make use of IoT technology to make it possible to collect data from sensors in
real-time and to make sure that it is effectively transmitted to a centralised database.

3. Database management:
Create a central database that can manage massive amounts of data while
maintaining data security and integrity and enabling simple retrieval and analysis.

4. Platform Development:
Create an intuitive web- and mobile-based platform that offers interactive
visualisations, programmable preferences, historical data, and real-time air quality
information.

5. Data Analysis and Reporting:


Use cutting-edge data analysis algorithms to examine the gathered information,
spot pollution trends, and provide thorough reports that educate policymakers,
researchers, and health experts on pollution causes, effects, and mitigation
measures.
6. Collaboration and Integration:
Encourage data sharing and collaboration by working with environmental
organisations, academic institutions, and stakeholders to enable smooth integration
with current air quality management frameworks.

7. Continuous Improvement and Maintenance:


Update and maintain the monitoring system frequently to provide accurate and
trustworthy data throughout time. This includes sensor calibration, software
upgrades, and quality control procedures.
In order to support efforts to reduce air pollution, safeguard public health, and advance
sustainable environmental practises, the online air pollution monitoring system attempts
to achieve these goals and objectives. It does this by supplying timely, accurate, and
accessible information on air quality parameters.
3.1 Concept Generation:
An online air pollution monitoring system is a platform that uses sensors and data
analysis to track and report on the levels of air pollution in real-time. The system
typically consists of a network of air quality sensors that are placed throughout a city or
region. These sensors measure various pollutants such as particulate matter, ozone,
nitrogen oxides, and sulphur dioxide.

The data collected from the sensors is then transmitted to a central server where it is
processed and analysed. The system may also use machine learning algorithms to detect
patterns in the data and make predictions about future air quality levels.

The system provides real-time information about air quality levels to the public,
policymakers, and other stakeholders. This information can be used to develop strategies
to reduce air pollution, such as adjusting traffic patterns or implementing emissions
controls on factories or other sources of pollution.

An online air pollution monitoring system can also provide alerts to individuals with
respiratory issues or other health concerns when pollution levels are high. This can help
them take measures to protect their health, such as staying indoors or using air purifiers.

Overall, an online air pollution monitoring system can be a valuable tool for improving
air quality and public health, as well as informing policy decisions related to
environmental regulation and urban planning.
3.2 Evaluation & Selection of Specifications/ Features:

When evaluating and selecting specifications or features for an online air pollution

monitoring system, several factors should be considered. Here are some key aspects to
consider during the evaluation and selection process:

1. Pollutants to Monitor: Identify the specific pollutants that need to be monitored in your
target area. Common pollutants include particulate matter (PM2.5 and PM10), ozone(O3),
nitrogen dioxide (NO2), sulphur dioxide (SO2), carbon monoxide (CO), and volatile
organic compounds (VOCs).

2. Sensor Accuracy and Precision: Ensure that the sensors used in the monitoring system
provide accurate and precise measurements. Look for sensors that have been validated
and calibrated against reference standards to ensure reliable data.

3. Sampling Rate: Consider the frequency at which the system can collect data. Higher
sampling rates provide more detailed and real-time information, but they may require
more processing power and data storage capacity.

4. Spatial Coverage: Determine the number of monitoring stations or sensors needed to


achieve adequate spatial coverage across the target area. Consider factors such as
population density, industrial areas, and traffic patterns when deciding on the optimal
sensor placement.

5. Data Transmission and Communication: Evaluate the system's ability to transmit data
from the sensors to a central server in real-time. Consider the communication
technologies involved, such as cellular networks, Wi-Fi, or satellite connectivity.
6. Data Analysis and Visualization: Look for features that enable effective data analysis
and visualization. The system should provide tools to analyse historical data, detect trends,
and generate meaningful reports or visual representations of the air quality information.

7. Alerting and Notifications: Determine whether the system can generate real-time alerts
and notifications when pollution levels exceed predefined thresholds. These alerts can be
sent to relevant stakeholders, such as public health authorities, environmental agencies, or
individuals with health concerns.

8. Integration and Scalability: Assess the system's compatibility with existing


environmental monitoring networks or platforms. Consider whether it can integrate with
other systems or databases to enhance data sharing and analysis. Additionally, evaluate its
scalability to accommodate future expansion or additional monitoring requirements.

9. Power Consumption: Consider the power requirements of the monitoring system,


especially if it operates in remote or off-grid locations. opt for energy-efficient sensors
and explore renewable energy options to reduce environmental impact and ensure
continuous operation.

10. Cost-effectiveness: Evaluate the overall cost of the monitoring system, including the
sensors, infrastructure, maintenance, and data management. Balance the desired features
and capabilities with the available budget.

By considering these factors during the evaluation and selection process, you can choose
an online air pollution monitoring system that aligns with your specific needs, enhances
data accuracy and reliability, and contributes to effective air quality management.
3.3 Design constraints:
Design constraints for an online air pollution monitoring system can vary depending on
the specific context and requirements. However, here are some common design
constraints to consider:

1. Cost: The system should be designed within a specified budget, considering the cost of
sensors, communication infrastructure, data storage, analysis software, and maintenance.
Cost-effectiveness should be balanced with the desired functionality and accuracy of the
system.

2. Power Consumption: The monitoring system should be designed to minimize power


consumption, particularly if it operates in remote or off-grid locations. This may involve
using energy-efficient sensors, optimizing data transmission protocols, and exploring
renewable energy sources for powering the system.

3. Scalability: The system should be designed with scalability in mind to accommodate


potential expansion or the addition of new monitoring locations or parameters in the
future. It should be able to handle an increasing number of sensors and data volume
without significant architectural changes.

4. Sensor Reliability and Maintenance: Consider the reliability of the sensors and the
maintenance required for accurate and continuous operation. Sensors may require
periodic calibration, cleaning, or replacement. Design the system to facilitate sensor
maintenance and minimize downtime.

5. Data Security and Privacy: Ensure that the system incorporates appropriate measures to
protect sensitive data. This may include encryption of data during transmission and
storage, access controls, and compliance with data protection regulations and standards.
6. Environmental Conditions: Consider the environmental conditions in which the system
will operate. The system should be designed to withstand varying temperatures, humidity
levels, and other environmental factors to ensure sensor accuracy and system longevity.

7. Data Transmission and Connectivity: Consider the availability and reliability of

communication networks in the target area. If the system operates in remote locations
with limited connectivity, alternative communication methods such as satellite or mesh
networks may be required.

8. Compatibility and Interoperability: Design the system to be compatible with existing


air quality monitoring networks or platforms, allowing for data integration and
interoperability. Consider open standards and protocols to facilitate data sharing and
collaboration with other systems or agencies.

9. Regulatory Compliance: Ensure that the system meets relevant regulatory requirements
and standards for air quality monitoring. This includes compliance with measurement
protocols, quality assurance procedures, and reporting guidelines established by
environmental agencies or governing bodies.

10. User Interface and Accessibility: Design the user interface of the system to be
intuitive, user-friendly, and accessible to different stakeholders, including the general
public, policymakers, and environmental experts. Consider the need for multilingual
support, visualizations, and accessibility features for individuals with disabilities.

These design constraints should be carefully considered during the development and
implementation of an online air pollution monitoring system to ensure its effectiveness,
reliability, and compliance with the specific requirements of the intended application
3.4Analysis and Feature Finalization Subject to Constraint:
Certainly! The analysis and feature finalization process is crucial for developing an
effective online air pollution monitoring system. Here's how you can approach this
process:

1. Requirements Gathering: Start by understanding the objectives and requirements of the


air pollution monitoring system. Identify the key stakeholders, such as environmental
agencies, public health departments, and the general public. Gather input from these
stakeholders to determine their specific needs and expectations.

2. Data Collection and Analysis: Conduct thorough research on air pollution monitoring
methods, sensor technologies, and data analysis techniques. Analyze existing data sources,
regulatory requirements, and environmental factors specific to the target area. This
analysis will help you determine the necessary features and specifications for the system.

3. Feature Prioritization: Based on the gathered requirements and analysis, prioritize the
features that are most essential and align with the project goals. Consider factors such as
real-time data collection, pollutant detection capabilities, spatial coverage, data
visualization, and user alerts/notification systems. Rank the features based on their
importance and feasibility.
4. Technical Feasibility: Assess the technical feasibility of the selected features. Consider
factors such as sensor availability, compatibility with existing infrastructure, data
transmission capabilities, and processing requirements. Ensure that the chosen features
can be implemented within the given resources, including budget, time, and technical
constraints.
5. Design and Architecture: Develop a system design and architecture that incorporates
the chosen features. Consider the integration of sensors, data storage and processing
components, communication infrastructure, and user interface. Ensure scalability,
modularity, and flexibility to accommodate future enhancements or changes.

6. Prototyping and Testing: Develop prototypes or proof-of-concept implementations to


validate the chosen features and the overall system design. Conduct testing and
evaluation to assess the performance, accuracy, and reliability of the system. Gather
feedback from stakeholders and make necessary adjustments to improve the system's
functionality.

7. Iterative Refinement: Iterate through the design and development process based on
feedback and testing results. Continuously refine and enhance the system's features,
ensuring that they address the identified requirements and constraints effectively.
Consider any limitations or challenges encountered during the testing phase and find
suitable solutions.

8. Validation and Verification: Validate the system against established standards,


regulatory requirements, and accuracy benchmarks. Verify that the system provides
reliable and accurate air pollution data. Conduct field trials and comparative studies to
ensure the system's performance meets the intended goals.

9. Documentation and Deployment: Document the system design, specifications, and


functionality for future reference and maintenance. Prepare user manuals and guidelines
to facilitate the system's deployment and usage. Plan for a phased deployment approach
to ensure a smooth transition and minimize disruptions.

10. Ongoing Monitoring and Maintenance: Establish a maintenance plan to ensure the
continuous operation and accuracy of the system. Regularly monitor and calibrate sensors,
update software components, and address any technical issues promptly. Monitor user
feedback and adapt the system as needed to meet evolving requirements and emerging
technologies.

11. By following this analysis and feature finalization process, you can develop a
comprehensive and functional online air pollution monitoring system that meets the
specific needs of stakeholders while considering technical constraints and feasibility.
3.5 Design Flow:

The design flow for an online air pollution monitoring system involves several steps,
which are as follows:

1. System Analysis: Conduct a thorough analysis of the air pollution monitoring system
requirements and constraints. Define the system's objectives, target users, data collection
and analysis requirements, data storage, and processing needs, and the overall system
architecture.

2. Sensor Selection: Select appropriate sensors to measure the various air pollutants.
Determine the types of sensors needed to measure each pollutant, their accuracy,
precision, and detection limits. Assess the sensors' compatibility with the monitoring
system and data processing requirements.

3. Communication Infrastructure: Design and develop the communication infrastructure


needed to transmit data from the sensors to the central data processing system. Identify
the suitable communication protocols and data transmission rates.

4. Data Processing and Storage: Develop the data processing and storage system to
receive, process, and store data from the sensors. Determine the appropriate data
processing techniques and algorithms to convert raw data into meaningful and useful
information. Consider the necessary data storage capacity and the data retention period.

5. User Interface: Develop a user interface that allows users to access, view, and analyze
the air pollution data collected by the system. The user interface should provide real-time
data visualization, alerts, and notifications.
6. System Integration and Testing: Integrate all system components and conduct thorough
testing to ensure the system is functional and meets the required specifications. Conduct
system performance testing and data accuracy testing. Test the user interface for ease of
use and functionality.

7. Deployment and Maintenance: Deploy the system and establish a maintenance plan to
ensure the continuous operation and accuracy of the system. The maintenance plan should
include regular sensor calibration, data backup, and system updates.

Overall, the design flow for an online air pollution monitoring system requires a
comprehensive analysis of the requirements, careful selection of sensors and
communication infrastructure, data processing and storage, development of a user
interface, and thorough testing and maintenance. By following this design flow, an
effective and functional air pollution monitoring system can be developed that meets the
specific needs of the users and stakeholders.
3.6 Best Design Selection:

As an AI language model, I cannot select a specific design for an online air pollution
monitoring application as it would require more detailed information about the specific
requirements and constraints of the project. However, here are some general guidelines
and considerations that can help in selecting a suitable design for an online air pollution
monitoring system:

1. User Needs: Identify the needs of the target users and stakeholders, such as
environmental agencies, public health departments, and the general public. Determine the
information and features required to address these needs effectively.

2. Data Collection and Analysis: Determine the types of sensors and data collection
methods needed to measure air pollutants accurately and reliably. Analyze the collected
data and provide meaningful insights to the users.

3. User Interface: Develop an intuitive and user-friendly interface that allows users to
access and analyze real-time air pollution data. Consider the user's needs and preferences
while designing the interface.

4. Scalability and Flexibility: Ensure that the application can scale and accommodate
additional features or data sources in the future. The application should be flexible to
adapt to changing requirements and emerging technologies.

5. Integration: Integrate the application with existing systems and infrastructure, if


applicable, to ensure seamless data flow and operation.

6. Data Security: Ensure that the application follows best practices for data security and
privacy. The application should use encryption and other security measures to protect
sensitive data.

7. Testing and Maintenance: Conduct thorough testing and maintenance to ensure that
the application is functional and reliable. Regular maintenance and updates should be
performed to ensure that the application continues to meet the user's needs.

By considering these guidelines and selecting a suitable design based on the specific
project requirements and constraints, an effective and functional online air pollution
monitoring system can be developed.
4.1. Testing/Characterization/Interpretation/Data:

To ensure the accuracy, dependability, and accurate interpretation of the data gathered,
an air pollution monitoring system must undergo a number of steps of validation. Here is
a summary of these steps:

Testing:

To make sure the system works properly and provides accurate measurements, a
thorough test of the air pollution monitoring system is required. To make sure they are
operating within the predetermined parameters, this may entail testing the sensors, data
acquisition systems, and communication components.

Characterization:

Determining the system's performance traits and constraints is known as


"characterization." Aspects like measurement range, sensitivity, precision, accuracy,
response time, and potential interferences are among those that must be evaluated. The
relationship between the measured values and the actual pollutant concentrations is
typically established through calibration procedures.

Interpretation:

After data has been gathered, it must be interpreted in a meaningful way. In order to find
patterns, trends, and potential pollution sources, the data must be processed and analysed.
To assist in interpretation and find correlations with other variables, statistical methods
and data visualisation techniques can be used.
Data Validation:

Data Validation ensures that the collected data is accurate and reliable. To find and fix
any errors or anomalies, various checks and procedures are used. Outlier detection,
consistency checks, cross-referencing with other trustworthy data sources, and
comparison against accepted standards or legal requirements can all be included in this.

Quality Assurance/Quality Control (QA/QC):

QA/QC procedures are used to guarantee the overall accuracy of the data and the
monitoring system. This includes performing routine instrument maintenance and
calibration, adhering to standard operating procedures, documenting the processes and the
outcomes, and conducting periodic audits or assessments.

In order to ensure the accuracy, dependability, and meaningful interpretation of data from
air pollution monitoring systems—which is essential for efficient environmental
management, decision-making, and policy development—the testing, characterization,
interpretation, and data validation processes follow these steps.
4.2 Accuracy:

To ensure reliable and trustworthy data, an air pollution monitoring system's accuracy is
crucial. Accuracy requires several factors and considerations, including:

Calibration:

To establish a connection between measured values and actual pollutant concentrations,


the monitoring system must be calibrated on a regular basis. In order to correct any biases
or inaccuracies, calibration involves comparing the system's measurements to known
standards or reference instruments.

Sensor Selection and Performance:

It is crucial to select sensors that are appropriate and have been validated for the
particular pollutants of interest. Measurements are more trustworthy when they are made
with high-quality sensors that are accurate and precise. For accurate data collection, it is
crucial to comprehend the sensors' constraints and performance characteristics.

Some of the sensors used in the project are:

Fig.no.8)MQ135 SENSOR
MQ-135 is a popular gas sensor widely used for air quality monitoring. It is capable of
detecting a variety of harmful gases, including ammonia, nitrogen dioxide, benzene, smoke,
and carbon dioxide. The sensor operates based on the principle of resistance change in the
presence of target gases. With its compact size, low cost, and ease of use, the MQ- 135
sensor is valuable for monitoring indoor and outdoor air quality, enabling efforts to mitigate
pollution and protect human health.

Fig.no.9) MQ6SENSOR

MQ-6 sensor detects flammable gases like LPG, operating based on resistance change.
Compact and cost-effective, it ensures safety in detecting gas leakage, making it crucial for
early warning systems.

Quality Assurance/Quality Control (QA/QC):

Implementing quality assurance/quality control (QA/QC) procedures is crucial for


ensuring the accuracy of the monitoring system. Regular upkeep, instrument inspections,
and adherence to SOPs are all included in this. Routine sensor checks, ensuring data
integrity, and executing recurring audits or assessments are some examples of QA/QC
procedures
Data validation:
Data validation procedures aid in finding and fixing errors or anomalies in the gathered
data. Applying various validation checks, including outlier detection, consistency checks,
and cross-referencing against other trustworthy data sources, are necessary for this.
Validating the data helps to ensure its dependability and accuracy.

Analysis of Uncertainty:

This procedure allows for the quantification of the degree of measurement uncertainty.
This analysis takes into account variables like pollutant concentration variability,
instrument accuracy, and calibration uncertainty. For accurate interpretation and decision-
making, it is crucial to comprehend and document the measurement uncertainty.

Quality Reporting:

It is essential to provide accurate and transparent data reporting, including any


restrictions or uncertainties. This encourages transparency and accountability while
assisting users of the data in appreciating the precision and dependability of the
measurements.

Overall, calibration, sensor selection, quality control procedures, data validation,


uncertainty analysis, and accurate reporting must all be carefully considered in order to
achieve accuracy in air pollution monitoring. The monitoring system can deliver accurate
and trustworthy data for efficient environmental management and decision-making by
taking these factors into account.
4.3 Result:

Information about the concentrations and distribution of pollutants in the air can be
gleaned from the findings of an air pollution monitoring system. These findings have a
variety of significant applications and implications, such as:

Assessment of Air Quality:


The monitoring system provides information on pollutant concentrations over time and
in various locations, enabling the assessment of air quality. This knowledge aids in
locating polluted areas, comprehending the sources of pollution, and determining how
well air quality standards and laws are being followed.

Impacts on Health:
The results of the monitoring system are used to evaluate the potential risks to the public's
health. Air pollution has significant negative effects on health. The system can identify
areas with higher exposure risks by tracking pollutant levels, which can then inform
public health interventions and policies to safeguard vulnerable populations.

Environmental Impact:
Ecosystems, including vegetation, wildlife, and water bodies, can be negatively impacted
by air pollution. The results of the monitoring system aid in assessing how air pollutants
affect the environment, including how they cause acid rain, contaminate ecosystems, and
contribute to climate change.

Source characterization and identification :


Source characterization and identification are made possible with the help of the
monitoring system's findings. It is possible to link particular activities, industries, or
transportation sources to particular pollution by examining pollutant patterns and
correlations. Designing regulations and targeted pollution control measures will benefit
from this information.
Policy Development:
For the creation of evidence-based policies, precise monitoring system results are
essential. The information can help with the creation and execution of air quality
management plans, strategies for reducing emissions, and legal frameworks. It enables
decision-makers to assess the efficacy of current policies and decide how best to reduce
air pollution.

Public Engagement:
The public is more informed about the quality of the air around them thanks to the
availability of air pollution monitoring results. It aids people in making wise choices
about their activities and exposure to pollutants. Results that are easy to access and
comprehend enable communities to take part in advocacy, demand changes in policy, and

support efforts to reduce pollution.

Results from air pollution monitoring systems are crucial in addressing air pollution
issues, defending the public's health, and advancing sustainable environmental
management because they offer accurate and timely information.
AIR POLLUTION MONITORING SYSTEM:

Fig. No. 10) AIR POLLUTION MONITORING DEVICE

Fig No.11)DEVICE SHOWING TEMPERATURE READING


Fig No.12) DEVICE SHOWING HUMIDITY READING
Circuit Diagram (Fig. 13)

Using the MQ135, MQ6, and DHT11 sensors, an air pollution monitoring system's circuit
diagram generally consists of a number of parts that work together to measure and track the
air quality. A broad description of the circuit diagram is provided below:

Microcontroller: A microcontroller, such as an Arduino, is the key element of the circuit and
acts as the system's brain. The functioning of the sensors is coordinated and controlled, and
the data they provide is processed.

Power Source: For the sensors and the microcontroller to function, the circuit needs a
reliable power source. The necessary voltage is often supplied by a battery pack or a regulated
power source.
MQ135 Sensor: The MQ135 sensor monitors the air's quality by measuring different gases
including ammonia, carbon dioxide, and nitrogen oxides. It aids in determining the extent of
air pollution. The microcontroller's analogue input pin is coupled to the MQ135 sensor, which
needs a load resistance and a heater voltage to function properly.

MQ6 Sensor: The MQ6 sensor is a gas sensor that is mostly used to find combustible gases
like propane, butane, and LPG. It serves as a sensor for flammable gases and aids in spotting
possible fire risks. The MQ6 sensor is also attached to the microcontroller's analogue input
pin, much like the MQ135 sensor is.

Display Unit: The circuit could have an LCD or LED display unit for displaying the data that
has been measured, such as pollutant concentrations, temperature, and humidity. The
microcontroller and display device are linked together using the proper data and control
connections.

Communication Interface: The circuit may, in some circumstances, include a


communication interface, such as UART (Universal Asynchronous Receiver-Transmitter) or
I2C (Inter-Integrated Circuit), to allow communication with other devices or to transfer data
to a computer for additional analysis or display.

Other Elements: In addition to active elements like capacitors, resistors, and connections,
the circuit may also have supporting circuitry for signal conditioning and voltage regulation.
Analysis and plotting of graphs on air quality in a city:

Data collection: It's critical to gather trustworthy information on pollutant concentrations in


order to analyse Mohali's air quality. Monitoring stations for air quality in Mohali or the
surrounding areas can provide this information.

Identification of Pollutants:
Various pollutants present in the atmosphere, such as particulate matter (PM2.5, PM10),
nitrogen dioxide (NO2), sulphur dioxide (SO2), ozone (O3), and carbon monoxide (CO),
must be identified and measured when analysing the air quality. To determine the levels of
these pollutants in various parts of Mohali, data on them can be gathered and analysed.

Data analysis:

After the data on the state of the air are gathered, they can be examined to identify pollutant
patterns, variations, and potential sources. To find patterns, seasonal variations, and long-
term trends in pollutant concentrations, statistical analysis techniques can be used.

Statistical analysis methods can be used to spot patterns, variations, and trends when
examining air quality data in relation to the Air Quality Index (AQI) value. This is how:

Patterns:
Based on the AQI value, statistical analysis can show patterns in pollutant concentrations.
Patterns can be seen by looking at the data over a period of time, such as daily, weekly, or
monthly. These patterns show recurring trends in air pollution. For instance, certain
pollutants might show higher concentrations at particular times of the year or in particular
weather patterns.
Seasonal Variations:
The identification of seasonal variations in pollutant concentrations and their effects on the
AQI value is made possible by statistical analysis. Trends indicating higher or lower
pollutant levels at particular times of the year may be discovered by analysing historical
data over the course of several seasons. By understanding the seasonal nature of air
pollution, this information can help develop effective mitigation plans.

Long-Term Trends:

Statistical analysis is able to identify long-term changes in pollutant concentrations and their
relationship to AQI value changes. It is possible to determine whether pollutant levels are
rising, falling, or remaining largely stable over time by analysing data collected over an
extended period of time, such as several years. This aids in evaluating the impact of shifting
environmental factors and the effectiveness of air pollution control measures.

Overall, the statistical examination of data on air quality in relation to the AQI value yields
important information about pollutant patterns, seasonal variations, long-term trends, and
correlations. Understanding the extent of air pollution, locating its sources, putting effective
control measures in place, and making well-informed decisions are all made possible with the
help of this information.
Fig. 14)Showing Map of a city with it’s AQI Level

Fig.15) Python Code to show map of the city with AQI Level.

The provided code plots a scatter point reflecting a city's geographic position on a map and
displays the AQI (Air Quality Index) value related to that city using the Cartopy library in
Python. Let's go over the code line by line:
1. The required libraries are imported:

This line imports the cartopy.crs module from the Cartopy library, which supports a number
of different coordinate reference systems and map projections.

2. Getting the geographic coordinates:

This phrase assumes that there is a dictionary called data that has information about the city in
it. The city's geographic coordinates, latitude and longitude, are extracted and kept in the geo
variable.

3. The figure's axes are made:

Using plt.figure(figsize=(10, 8)), a figure with the desired dimensions of 10 by 8 inches is


created in this section. The map projection is then changed to Plate Carrée (equidistant
cylindrical projection) using plt.axes(projection=ccrs.PlateCarree()), which also produces an
axes object called axe.
4.Including a stock photo to the story:

With the addition of this line, the plot gains a stock image that gives a background map with
coastlines, land, and ocean regions.

5.The scatter point and text label are plotted:

Using the longitude (geo[1]) and latitude (geo[0]) values, the function plt.scatter(geo[1],
geo[0], color='blue') plots a scatter point on the map. The point is coloured blue.With the help
of the function plt.text(geo[1] + 3, geo[0] - 2, f'city AQI n aqi', color='red'), the text "city
AQI" is placed adjacent to the scatter point. The text uses the words "city" and "aqi"
interchangeably. The parameters geo[1] + 3 and geo[0] - 2 specify where the text label will be
in reference to the scatter point. The hue of the text label is crimson.

6. Displaying the plot:

On the screen, this line presents the plot. In general, the code produces a map plot using
Cartopy, where a scatter point denotes a city's precise location. Near the scatter point, a text
label with the AQI value is visible. The background of the map is a stock photo.
Plotting Graphs:

A visual understanding of pollutant levels over time is provided by the graphical


representation of air quality data. Plotting pollutant concentrations against time on a line
graph can show how they change over time on a daily, weekly, monthly, or annual basis.
For simple interpretation, comparisons between various pollutants can also be shown on
the same graph.

Fig.16) Graph Showing PM 2.5 values

Python Code to show graph


The provided code generates a line plot of the PM2.5 values over time, specifically for the
month of May, using the Python Matplotlib package. Let's step-by-step dissect the code:

1. The required libraries are imported:

This line imports the pyplot module from the matplotlib library, which gives users a
straightforward interface for making different kinds of plots and charts.

2. Setting the parameters:

Dates and PM25 are given values from the "date" and "pm25" columns of a DataFrame in this
example. The 'pm25' values are also transformed into integers using a list comprehension.
3. Creating the figure and setting its size:

With the supplied dimensions of 10 inches by 8 inches, this line generates a new figure.

4. Laying down the line graph:

Creating a line plot requires the usage of the plt.plot() function. The 'dates' and 'pm25' values
are plotted on the x- and y-axes, respectively. To demonstrate a trend or pattern across time, a
line is drawn connecting the data points.
5. Incorporating a title, x-axis label, and y-axis label:

These lines provide the y-axis label as "PM2.5 values," the x-axis label as "Dates of May,"
and the plot title as "PM2.5 values."

6.Presenting the Graph:

On the screen, this line presents the plot. Overall, the code creates a line plot that shows the
PM2.5 values over time in the month of May. The y- axis displays the relevant PM2.5
readings, and the x- axis displays the dates. There is a screen showing the plot.

Plotting Pie Chart From the Dataset:

Fig.17)Pie Chart Showing Pollutants Percentage in Air


Fig.17.1 )Python Code to plot Pie Chart

Using the Python Matplotlib package, the provided code generates a pie chart showing the
most likely concentration of air contaminants in Chandigarh's atmosphere. Let's step-by-step
dissect the code:

1. Using in the required libraries:

Using the Python Matplotlib package, the provided code generates a pie chart showing the
most likely concentration of air contaminants in Chandigarh's atmosphere. Let's step-by-step
dissect the code
2. Using in the required libraries:

In this case, the iaqi variable—which is assumed to be a dictionary—is transformed into a list
comprehension named pollutants, and those names are extracted from it. With the use of the
iaqi dictionary, values is a distinct list comprehension that extracts the values associated with
each pollutant.
2. Exploding the first slice:

This step generates an explode list that is the same length as the pollutants list. The initial
value of each element in the explode list is 0. The element in the list that corresponds to that
position is then set to 0.1 using the index() method to locate the greatest value in the values
list. This is done to visually distinguish the slice of the pie chart that represents the pollutant
with the greatest value.
3. Plotting the pie chart:

The pie chart's actual creation and presentation fall under the purview of this section. The
command plt.figure(figsize=(8, 6)) generates a new figure with the given dimensions of 8 by
6. The pie chart is produced by the function plt.pie(values, labels=pollutants,
explode=explode,autopct='%1.1f%%', shadow=True). Each pollutant's name is listed in the
labels list, which also contains the values for each slice. The explode list decides whether any
slice should be visually separated, and autopct='%1.1f%%' formats the percentage labels to
have one decimal place. Finally,shadow=True adds a shadow effect to the chart. The title of
the chart is specified using plt.title("Air pollutants and their probable amount in atmosphere
[Chandigarh]"). The pie chart is displayed as a circle rather than an ellipse thanks to
plt.axis('equal'). The chart is shown on the screen by plt.show().
Overall, the code creates a pie chart showing slices with labels that correspond to the likely
concentrations of air contaminants in Chandigarh's environment. For better visualisation, the
slice of the pie chart that represents the pollutant with the greatest value is slightly offset from
the other slices.

Spatial Analysis:
ids in establishing connections between air pollutants and other variables, such as traffic
patterns, industrial activities, and meteorological information (temperature, humidity, and
wind speed). The strength and direction of these relationships can be demonstrated using
scatter plots or correlation matrices.

Communication and Interpretation:


The interpretation of the results is made possible by the analysis of graphs and data
related to air quality. The findings can be shared with the appropriate parties, such as the
public, governmental authorities, and environmental organisations. To increase awareness,
guide decision-making, and encourage actions to improve Mohali's air quality, it is crucial
to communicate the findings in a clear and succinct manner.

It is possible to learn more about pollutant levels, trends, spatial distribution, and potential
sources by examining and plotting graphs of the Mohali air quality. This knowledge can
help direct efforts to reduce pollution, enhance public health, and put in place efficient air
quality management techniques.
5. Conclusion:

The challenges posed by air pollution can be understood, evaluated, and remedied with
the help of an air pollution monitoring system. The system makes it possible to gather
precise and trustworthy information on pollutant concentrations, giving important insights
into the condition of the air quality. The system assists in identifying pollution sources,
assessing health effects, assessing environmental effects, and developing targeted
mitigation strategies by monitoring different pollutants like particulate matter, nitrogen
dioxide, sulphur dioxide, ozone, and carbon monoxide.

Regular calibration, sensor selection, quality assurance/control procedures, data


validation, uncertainty analysis, and open reporting are a few examples of the factors that
affect the monitoring system's accuracy. These factors make sure that the data gathered is
reliable and that it can be used to make decisions, develop policies, and raise awareness
among the general public.

The findings from air pollution monitoring systems are extremely important. They
support the evaluation of air quality, the identification of pollution hotspots, the
assessment of compliance with air quality standards, and the comprehension of the health
risks related to pollution exposure. The information also assists in developing evidence-
based policies, creating pollution control strategies, and educating the public about the
value of clean air and its effects on both human health and the environment.

The monitoring system's value is further increased by its capacity for graph analysis and
plotting. Data analysis allows for the identification of patterns, seasonal variations, and
long-term trends in pollutant concentrations, which aids in the understanding of the
dynamics of air pollution. In order to identify the source and target interventions,
statistical techniques allow the correlation of pollutant levels with different variables,
such as meteorological data or human activities.

Moreover, by predicting future pollutant levels and their potential impact on air quality,
an air pollution monitoring system aids proactive planning and decision-making. This
aids in putting in place prompt and successful pollution mitigation and public health
protection measures.

At the end of the day, an air pollution monitoring system is a vital tool for environmental
management, allowing communities, researchers, and policymakers to collaborate on
lowering pollution levels, enhancing air quality, and developing sustainable living
conditions. We can protect human health, protect ecosystems, and ensure a cleaner,
healthier future for future generations by harnessing the power of accurate and
trustworthy data.
5.1 Future Scope of air pollution monitoring system:

An extensive range of environmental management, public health, policy development,


and sustainable development issues are covered by an air pollution monitoring system.
The main goal of the system is to collect precise and timely data on air quality parameters,
enabling a thorough understanding of the condition of the atmosphere and its effects on
ecosystems, human health, and general well-being. An air pollution monitoring system's
coverage area includes:

Environmental Assessment: Air pollution monitoring systems are essential for


determining how different activities and industries will affect the environment. The
system assists in assessing the efficacy of pollution control measures, identifying areas of
concern, and supporting the development of sustainable practices by continuously
monitoring pollutant levels and locating pollution sources.

Public Health Protection: By offering useful data on air pollutant concentrations, the
monitoring system's scope includes protecting the public's health. This information helps
with risk assessment, understanding the link between disease and pollutant exposure, and
implementing targeted interventions to lessen unfavorable health effects.

Policy Development: At the local, regional, and federal levels, policy development
greatly benefits from the data and information gathered by air pollution monitoring
systems. The system's results are used by policymakers to set air quality standards, create
emission regulations, create pollution prevention plans, and allocate funds for
environmental protection.

Early Warning Systems: Systems that monitor air pollution can act as early warning
systems by sending out timely alerts and notifications about the state of the air's quality.
This makes it possible for government agencies and people to adopt preventive measures
like limiting outdoor activities, putting in place pollution control measures, and issuing
public health advisories.

Research and Innovation: An air pollution monitoring system's reach includes air
quality management research and innovation. Researchers use the gathered data to look
into pollution trends, gauge how well pollution control technologies work, create new
monitoring techniques, and deepen their understanding of the intricate dynamics of air
pollution.

International Cooperation: Because air pollution disregards national boundaries,


cooperation across international boundaries is required. International cooperation and
collaboration are essential for exchanging data, best practices, and experiences in order to
address transboundary air pollution issues and work towards global solutions.
Public Engagement and Awareness: Monitoring systems for air pollution play a
significant role in educating the general public about the value of clean air and its effects
on both health and the environment. Data from the system can be made available to the
general public through online platforms, mobile applications, and public awareness
campaigns, enabling people to make educated decisions and take part in group efforts to
improve air quality.

In summary, an air pollution monitoring system's scope is wide-ranging and complex,


encompassing environmental assessment, public health protection, policy development,
early warning systems, research, global collaboration, and public involvement. These
systems support the sustainable management of our environment, the preservation of
public health, and the pursuit of clean, breathable air for current and future generations by
providing accurate and thorough data on air quality

5.2 Way Ahead:

Technology advancements, scholarly research, and the growing demand for efficient
pollution control strategies are all driving changes in the field of air pollution monitoring
systems. Several options can be investigated in order to stay on top and improve the
capabilities of air pollution monitoring systems:

Integration of IoT and Sensor Networks: Seamless Internet of Things (IoT) and sensor
network integration is the key to the future of air pollution monitoring. Real-time data
collection, remote monitoring, and centralised data management may all be made possible
by this integration. The system can provide thorough coverage, collect data from various
locations, and improve spatial resolution and accuracy by deploying a network of
interconnected sensors.

Advanced Sensor Technologies: Ongoing sensor technology research and development


could result in the creation of sensors that are more sensitive, discerning, and reliable for
identifying a variety of pollutants. The miniaturisation of sensors, which increases their
portability, affordability, and suitability for personal air quality monitoring, can be
facilitated by advances in sensor design, material science, and nanotechnology.

Modelling and forecasting of air quality: By integrating monitoring systems with


modelling and forecasting methods, predictive capabilities can be obtained. Forecasting
air quality conditions, locating potential pollution hotspots, and putting proactive
measures in place to reduce pollution before it reaches critical levels are all made possible
by combining real-time data with modelling algorithms.

Engaging citizens in air pollution monitoring can increase the system's reach and produce
a wealth of data. This is known as citizen science and crowd-sourced data. Mobile
applications and citizen science initiatives can enable people to take part in data
validation, report instances of pollution, and contribute to data collection. Crowdsourced
data can broaden the spatial scope and offer insightful information about the causes and
trends of regional pollution.

Data analytics and artificial intelligence: Advanced data analytics methods, such as
machine learning and AI, can make it possible to process, analyse, and interpret data
more effectively. These methods can aid in locating pollution sources, predicting
pollution events, and improving pollution control methods by identifying intricate
patterns, correlations, and trends in air quality data.

Cross-Sector Collaboration: For the development of air pollution monitoring systems, it


is essential to improve cross-sector cooperation between numerous stakeholders,
including governmental organisations, academic institutions, commercial enterprises, and
local communities. Sharing information, knowledge, and resources can hasten
development and make it easier to put effective pollution control measures into practise.

Policy and Regulation: To propel the development of air pollution monitoring systems,
it is crucial to continuously improve and enforce air quality standards and regulations.
Monitoring systems can be kept current with changing pollution control requirements and
can address new pollutants and challenges with regular updates based on scientific
research and technological advancements.

In conclusion, embracing emerging technologies, encouraging collaboration, and utilising


data-driven approaches are the keys to the future of air pollution monitoring systems.
These systems can be made more effective, accurate, and thorough by incorporating IoT,
cutting-edge sensors, modelling techniques, citizen science, data analytics, and cross-
sector collaboration. This will help in the creation of pollution control strategies that work
and the realisation of cleaner and healthier environments for all.

5.3 Deviation From Expected Results:

Despite the fact that air pollution monitoring systems are intended to deliver accurate and
trustworthy data, there may occasionally be exceptions to the rule. To ensure the
effectiveness of the system, it is essential to recognise and address the various causes of
these deviations. Common causes of variations from anticipated outcomes include:

Sensor Calibration: Inaccurate or infrequent sensor calibration can result in unreliable


measurements. The accuracy and dependability of the data may be affected over time by
sensor drift or loss. To reduce errors and guarantee data accuracy, sensors must be
calibrated and maintained regularly.

Environmental Factors: The performance of air pollution monitoring systems can be


impacted by external environmental factors such as temperature, humidity, and air
pressure. Extreme weather events or shifts in the atmosphere can influence sensor
readings and cause deviations from the expected outcomes. To take into account these
factors and lessen their impact, effective quality assurance and control measures are
required.

Interference with Sensors: Some environmental factors or co-existing gases can cause
sensors to malfunction, giving false readings. Results may differ from those anticipated
due to cross-sensitivity to other gases or airborne contaminants. To ensure data integrity,
sensor selection and validation procedures should take potential interference factors into
account.

Errors in data processing and analysis can also cause results to differ from what was
anticipated. Inaccurate data entry, computational mistakes, or flawed algorithms can
result in false interpretations or conclusions. To find and fix such errors, stringent data
validation and quality control procedures should be put in place.

Equipment failure: Faulty or malfunctioning equipment within the monitoring system


can cause data to deviate. The precision and dependability of the measurements can be
jeopardized by problems with the power supply, electronic malfunctions, or broken data
loggers. To reduce such deviations, equipment maintenance, monitoring, and quick
repairs are required.

Sampling Bias: The results may deviate if there is insufficient spatial coverage or biased
sampling locations. Skewed data may be caused by monitoring stations that don't
accurately reflect the state of the air generally or by places with specific localized sources
of pollution. To reduce sampling bias, it is crucial to make sure that the network of
monitoring stations is evenly distributed and representative.

Variations in Pollution Sources: Disturbances from anticipated outcomes may occur as


a result of variations in pollution sources, such as changes in industrial operations, traffic
patterns, or urban development. In order to track these changes and modify monitoring
strategies accordingly, monitoring systems should be dynamic and adaptable.

A comprehensive strategy involving routine calibration, quality assurance practises, data


validation, and ongoing system evaluation is needed to address deviations from expected
results. The accuracy and dependability of air pollution monitoring systems can be
increased through open reporting, expert collaboration, and ongoing research, resulting in
reliable data that can be used for environmental management, policy development, and
decision-making.
References:

[1] S. Kumar and A. Jasuja. Air quality monitoring system based on


internet of things using raspberry pi. Pages 1341-1346, May 2017.

[2] S.R. Enigella and H. Shahnasser. Real-time air quality monitoring.


Pages 182-185, Jan 2018.

[3] D. Wang, C. Jiang, and Y. Dan. Design of air quality monitoring


system based on the internet of things. Pages 418-423, Dec 2016.

[4] L. Peng, F. Danni, J. Shengqian, and W. Mingjie. A movable


indoor air quality monitoring system. Pages 126-129, July 2017.

[5] Sumanth Reddy Enigella, Hamid Shahnasser. "Real-Time Air


Quality Monitoring", 2018 10th International Conference on
Knowledge and Smart Technology (KST), 2018.

[6] https://www.irjet.net/

[7] Poonam Paul, Ritik Gupta, Sanjana Tiwari, Ashutosh Sharma, “IoT
based Air Pollution Monitoring System with Arduino”, UART,
May 2005.

[8] Zishan Khan, Abbas Ali, Moin Moghal,” IoT based Air Pollution
using NodeMCU and Thingspeak”, IRANS, pp. 11-16, March
2014.

[9] Mohan Joshi, “Research Paper on IoT based Air and Sound
Pollution monitoring system”, IETS Journal, pp. 11-17, September
2015.

[10] "Malaya Ranjan, Raj Kumar, "Understanding Parts per million in


real-time air quality index", Journal of Mathematics and advanced
sciences, pp. 23-29, September 2009

[11] H. Kopetz, Real-Time Systems: Design Principles for Distributed


Embedded Applications. Boston, MA: Springer US, 2011, ch.
Internet of Things, pp. 307-323.

[12] Fouzi Harrow, Mohamed Nounou, Hazem Nounou “Detecting


Abnormal Ozone Levels Using Pea Based Gir Hypothesis
Testing”2013 Ieee Symposium On Computational Intelligence And
Data Mining.

[13] Srinivas Devarakonda, Parveen Sevusu, Hong Hang Liu, Ruilin


Liu, Liviu Iftode, Badri Nath Urbcomp “Real-Time Air Quality
Monitoring Through Mobile Sensing In Metropolitan Areas”13,
August 2013 Acm.

You might also like