You are on page 1of 6

Development of a Multirotor-Based System for Air

Quality Monitoring

Hussein Mazeh Majd Saied Clovis Francis


Lebanese University, Faculty of Lebanese University, Faculty of Lebanese University, Faculty of
Engineering, Research Center in Engineering, Research Center in Engineering, Research Center in
Engineering, Lebanon. Engineering, Lebanon. Engineering, Lebanon.
Email: engineer.hmam@hotmail.com Email: majd.elsaied@hotmail.com Email: cfrancis@ul.edu.lb

Abstract— Air quality monitoring has been traditionally UAVs have been used by researchers and commercial
conducted using ground-based systems that present multiple organizations to detect atmospheric gases and aerosols, where
disadvantages in terms of support infrastructures, maintenance they were able to reach remote areas and explore large regions.
and power consumption. Recently, researchers have proposed the The application of UAVs in air data collection includes wind
use of unmanned aerial vehicles (UAV) equipped with sensors for vector measurements, atmospheric aerosols data collection,
air data monitoring. However, UAV operation lacks of reliability greenhouse gases and other gaseous pollutants measurements. It
to be used in populated area. In this paper, we propose to use an includes also volcano emission, typhoons and arctic
hexarotor UAV armed with Fault Tolerant Control (FTC) environment data collection [2]. UAVs can also be used for
strategies to measure and detect air quality for air data collection
regular patrols around industrial areas and metal ore sites. In
in urban environments.
2005, Watai et al. [3] proposed an infrared sensing system to
Keywords—Unmanned Aerial Vehicles, Air pollution, Hexarotor monitor the concentrations of atmospheric CO2 on a small UAV
UAV, Fault Tolerant Control. and designed a precise gas sensor system (accuracy of ± 0.26
ppm). The system performed several flight tests with one hour
flight autonomy and a payload of 3.5 kg. The authors in [4] and
I. INTRODUCTION [5] described an integrated solar powered remote fixed wing
Air pollution is considered one of the most serious UAV and wireless sensor network (WSN) gas sensing system.
environmental problems facing our civilization today. It has a The system includes a gaz sensing system for concentrations of
long evolutionary history with interesting transitions in line with CH4 and CO2 using metal oxide (MOX) and infrared sensors,
economic, technological and political changes and and a new method of encapsulating solar cells to power the
developments. It can be defined as the emission of harmful UAVs as well as a data management platform for storage,
substances into the atmosphere. This broad definition therefore analysis and information sharing with operators and external
covers a number of pollutants, including: Carbon monoxide users. Chwaleba et al. [6] reviewed optical sensors that can be
(CO), Carbon dioxide (CO2), Methane (CH4), … mounted on a UAV for air pollution monitoring, classifying
Light Detecting and Ranging (LIDAR) sensors as the best
Environmental data collection is probably one of the most optical devices to be used as a payload for air quality
difficult tasks associated with environmental field studies. The
monitoring. An extensive literature review on the use of small
majority of methods used to monitor air pollution in large cities
UAVs for air quality measurements was presented in [2] with
rely on fixed monitoring stations. However, technical and present applications and future prospectives. Different types of
procedural limitations associated with those traditional fixed-site
UAVs were used: fixed-wing UAVs and rotary-wing UAVs.
stations are well-known [1]. First, they can provide accurate data
Rotary-wing UAVs, such as helicopters and multirotors
only for only a limited area. Other disadvantages are related to (quadrotors, hexarotors or octorotors), generally have a lower
the need for other support infrastructures such as secure operating speed, but allow discontinuous paths, such as
enclosures and power supplies, and the need for maintenance
hovering, for close proximity inspection. In this paper, we
and continuous power consumption. Taking the aforementioned propose to mount air quality sensors (CO, CO2, CH4) with a
issues into consideration, researchers have proposed the use of camera and an Arduino for data processing and a LCD for
unmanned aerial vehicles UAVs equipped with sensors to
monitoring and results displaying on a hexarotor UAV. The
provide the service of air pollution monitoring. In fact, the
hexarotor is equipped with fault tolerance algorithms to be able
reduced size, weight and power needs of these flying robots, as
to fly over populated areas to collect air data.
well as the reduced cost of the platforms and instrumentation,
make them particularly suitable for this operation. The remainder of the paper is organized as follows. In section
II, a general overview about the gas sensors and their principle

ISBN: 978-1-5386-2742-6/18/$31.00 ©2018 IEEE 23


of operation is presented. Section III presents the overall system
structure including the hexarotor and the used sensors. Section
IV presents the Fault Tolerant Control Strategy adopted.
Experimental results are presented in section V. The paper ends
with conclusions and perspectives in section VI.

II. GAS SENSORS


A gas sensor is an equipment that detects the presence of gases
in an area and measures their concentration. Due to their ability
to detect the leakage of gases and some emissions, gas sensors
have been considered as an important element of the safety
systems, control systems, environment saving systems, and
biomedical systems.
Various kinds of gas sensors exist. They are classified Fig. 1. NatSave system mouted to multirotor UAV.
according to their operation mechanism such as:
semiconductors, oxidation, catalytic, photoionization, infrared,
etc. They are also packaged into two main forms, either portable The system is equipped with four semiconductor gas sensors:
devices or fixed gas sensors. Portable sensors are normally used  Methane gas sensor CH4 (MQ-4).
to monitor the surrounding atmosphere and the breathing zone  Carbon Monoxide gas sensor CO (MQ-7).
of the user. They are often hand-held or attached to a belt. Fixed
 Carbon Dioxide gas sensor CO2 (MG811).
type gas sensors, used for detection of one or more gas types, are
generally mounted in large facilities and installed near the  Air Quality Control sensor (MQ135).
process area of a plant or control room, or an area to be protected. Also it is equipped with a temperature sensor for measuring
Metal oxide semiconductor gas sensors are used in a wide the ambient temperature for monitoring and system
variety of industries. They present several advantages when compensation.
compared to other sensing technologies: they are relatively These sensors are characterized by analog voltage output
inexpensive, robust, lightweight, durable and have a high connected to the ADC of an Arduino processor. Arduino
material sensitivity and a quick response time [7]. processor communicates with the brain of the UAV via a serial
The principle of operation of semiconductor gas sensors is as communication link using MAVLink protocol. MAVLink is a
follows: a gas comes into contact with a metal oxide surface and very lightweight, header-only message marshalling library for
subsequently undergoes oxidation or reduction [8]. The micro air vehicles / drones, more information concerning this
absorption or desorption of the gas on the metal oxide results in protocol can be found in [10] Position and altitude are extracted
the shifting of either the conductivity or resistivity from a from these data, also atmospheric pressure is extracted. Once the
baseline value. This change, measured with electronic circuitry, data of the sensors are digitized, they are bounded with the
has usually a linear and proportional relationship with gas position and altitude to form a sample stamp of the gases in
concentration. This leads to the establishment of a simple function of position and altitude. This sample is saved to an SD
calibration equation between resistivity/conductivity change and card storage device.
gas concentration. Adding surveillance system formed from camera and On Screen
An example of a calibration equation for a change in Display (OSD), permits binding position and gases samples
resistivity is given by [7] and [9] for carbon monoxide: with pictures and videos while scanning polluted areas and
nature. In addition, live video stream is transmitted to ground
𝑅/𝑅𝑜 = 1 + 𝐴[𝐶𝑂] (1) station using 5.8 Ghz 600 mW video transmitter in order to
where R is the resistance following contact with a gas, Ro is visualize the upper vision with the needed data in order to detect
the baseline resistance, A is a constant, and CO is carbon any abnormality like fire, smoke, fuel leakage, etc. The used
monoxide. parts and devices were chosen carefully taking into
consideration minimizing power consumption for saving more
III. SYSTEM STRUCTURE OVERVIEW operation time, minimizing the overall mass for less energy
consumption, and applying the appropriate positioning of
In this paper we aim to develop a UAV-based system for air sensors and other devices such as the needed filters for better
pollution and fire detection. This system is called NatSave measurement and performance. Block diagram of NatSave
which stands for Nature Save and shown in Fig. 1. NatSave is system is shown in Fig. 2, in addition Fig. 3 shows an overall
equipped with the adequate sensors for air quality data demonstration of the system.
collection and analysis: concentrations of air pollutants, air
temperature, atmospheric pressure and wind directions and This system adds the opportunity to scientists for reaching
speeds. This will allow scientists to better understand the any area and taking samples from air without any contact with
pollution diffusion not only near ground, but also near pollution risk, also it permits braking the constraint being attached to on
sources at medium altitude.

ISBN: 978-1-5386-2742-6/18/$31.00 ©2018 IEEE 24


ground studies and researches by flying in different modes and transportation system. However, their employment is subject to
altitudes. various operational and technical limitation. UAVs must
necessarily meet flight terms and obey with air traffic rules like
Low- FPV Camera
manned aircrafts. This requires them to warranty a certain level
ADC of technical reliability and crash resistance to assure security on
CO2 Pass
sensor Filter the ground, and a satisfying reliability from an attitude point of
view to ensure the safety of other aircrafts in flight. Thus, UAVs
CO Serial 1 5.8 Ghz video should be armed with fault-tolerant control algorithms eligible
sensor OSD
transmitter of monitoring the vehicle health and dealing with several
CH4
actions when needed. Taking into consideration all possible
SPI faults that may take place during the flight with the capability
sensor SD Card
of their detection and diagnosis is the main motivation for fault-
A.Q. tolerant flight control systems [11], [12].
sensor Serial 2 UAV
Autopilot & In the event of a motor failure in the hexarotor, the purpose of
GPS
Temperature Arduino a reconfigurable control system is to redistribute the control
sensor Processor effort among the remaining healthy motors such that satisfactory
Fig. 2. Block diagram of NatSave system.
performances are retained. An offline nonlinear constrained
optimization approach is used [12], where the solutions to a
NatSave system has the following technical characteristics: predefined set of failures are calculated offline to drive the
motors depending on the fault situation. With prior knowledge
 Dimension: 20x15x6 cm. of the failure assumed, a look-up table that determines the mixer
 Total weight: 700 gr. gains is pre-calculated in such a way to meet the requirements of
 Supply voltage: 8 ~ 18 VDc. reconfiguration and be easily implemented and tested in the
 Consumed current: 300 mA. validation and verification process required before the flight.
 Continuous operation time: 1 hr. The hexarotor is equipped with six actuators
 Maximum covered distance: 2 km away from ground (motors/propellers). The controller generates a virtual control
station. t
command v  u f       , that should be
distributed among the healthy actuators.
The problem is stated as:
Bu (t )  v (t )
(2)
umin  u  umax
u  12 22 32 42 52 62  and B is the control
matrix. For realizing stability while hovering, it necessary to
guarantee zero moments around the three axes:
u f  mg ,    0,    0,   0.
Thus, the formulation of the problem becomes as follows: The
control allocation aims to detect the input u that corresponds to
the motors inputs given that 𝑣 is the vector given above. The
constrained optimization problem is solved as follows:
1
min u T u
u 2
(3)
u  u  umax
such that :{ min
Bu  v
The vector umax is determined according to each fault.
Fig. 3. Over all system demonstration.
V. EXPERIMENTS
This section makes a close vision on the hardware used in the
experiments. It also shows the results of outdoor experiments
IV. FAULT TOLERANT STRATEGY concerning the performance of NatSave system combined with
To facilitate the operations of UAVs in air quality monitoring UAV.
applications, they should be integrated into the air

ISBN: 978-1-5386-2742-6/18/$31.00 ©2018 IEEE 25


A. Experimental platform monitoring the position and the characteristics of the hexarotor
An outdoor test environment has been created to test the during its mission. These data are logged and projected on the
behavior and performance of mobile gas sensors mounted to a map of the driving PC. The driving PC is connected to a
real hexarotor UAV (Fig. 4). transceiver for receiving telemetry data from the hexarotor and
sending commands for it.
B. Results
The experiments have been performed in to test and
demonstrate the following:
 Performance of mounted gas sensors in a mobile
system multirotor UAV during real flight.
 Performance of mounted gas sensors integrated
with other mounted devices (Fig. 5).
 Ability of a hexarotor UAV to handle the system
without affecting its maneuverability.

Two main experiments were performed. The first one is an


Fig. 4. Overview of the test environment. indoor laboratory experiment that aimed to test each branch of
the system alone. After that the system was tested after
integrating all parts together. In these tests our main focus was
The setup consists of the following components which will be oriented towards sensor performance and power consumption.
described in detail in the following sections:
 Hexarotor platform.
 Flight controller.
 GPS.
 RC Transmitter/Receiver.
 Ground station application.

The used multirotor platform is a Tarot hexacopter. The


rotors are distributed on a circle around the center of gravity to
form a PPNNPN rotor arrangement. The motors are phantom2
Dji 960kv controlled using Dji 40 Amp ESC. To insure the
connection with ground station a 433 MHz transceiver is also
mounted.
The hexarotor frame is mounted with Pixhawk flight
controller. This modem is an open source robust autopilot
controller based on a 32 bit ARM CPU connected to an Inertial Fig. 5. NatSave system including gas sensors
Measurement Unit (IMU) and Barometric Altimeter, and integrated with other devices.
equipped with needed digital communication peripherals. The
property of open source permits the developer to modify the The second test is an outdoor real experiment at an altitude
C++ code in order to add the algorithms needed depending on of 3 meters above ground after mounting NatSave system to the
the ArduPilot professional producer of the compatible codes hexarotor tightly. The scanned area where the test was
and firmware [13]. In order to safely fly this UAV over urban performed is the football playground of Lebanese University
aeras for air data collection, the PPNNPN configuration was Campus, Rafik AlHariri. Ground and aboard videos can be
adopted and the hexarotor was equipped with fault tolerant found at: https://youtu.be/kEYvYyUQRPY.
control architectures to recover the UAV after the occurrence of After tuning the hexarotor UAV, the appropriate
configurations were chosen and fixed to its autopilot also RF
one or multiple actuators failures.
and video connection between the vehicle and ground station
In order to determine the position of the hexarotor, a GPS is
were tested.
connected with the Pixhawk through serial port and managed A trajectory mission for the desired scanned area is uploaded
by the mounted CPU. The data sent from the GPS cooperates to the vehicle using ground station application depending on
with the IMU raw data and the Barometer using an Extended some way points and coordinates. During the mission samples
Kalman Filter (EKF) to form a high rate positioning system and of measured gases were logged and saved for future analysis.
an Attitude Heading Reference System (AHRS). The GPS used These results are shown in Fig. 6 for CO2 gas, Fig. 7 CO gas,
is a low cost Ublox M8N. Fig. 8 CH4 gas, and Fig 9 air quality. In these figures the two-
In addition to that, a ground station application permits horizontal axis represent Lat and Lon coordinates for scanned

ISBN: 978-1-5386-2742-6/18/$31.00 ©2018 IEEE 26


area during mission, vertical axis represents concentration ratio
of measured gases with respect to position. This ratio is multiple
of 1000, which is the maximum concentration ratio. After
suitable gain calculations acceptable threshold ratios for
different gas sensors was addressed; for CO2 gas 550, and for
other gases between 75 and 150. Any measurement below this
threshold shows a healthy scanned area with respect to the
measured gas sample.
In addition, temperature samples for scanned area were
logged and shown in Fig. 10. Notice that during mission, the
hexarotor was stable and performed its mission successfully. Fig. 8. Concentration of CH4 gas with respect to scanned position.
To test the performance of the fault tolerant controller, two
motors failures were injected when the hexarotor was following
a trajectory to simulate a mission where the hexarotor is asked
to collect air data in a certain area. Figure 11 shows how the
hexarotor is capable of maintaining acceptable altitude and
trajectory after two motors failures. Videos on fault tolerance
can be found at:
https://www.youtube.com/watch?v=Jr6h6Sr6CJk.

Fig. 9. Air Quality ratio with respect to scanned position.

Fig. 6. Concentration of CO2 gas with respect to scanned position.

Fig. 10 Temperature with respect to scanned position.

Fig. 7. Concentration of CO gas with respect to scanned position.

ISBN: 978-1-5386-2742-6/18/$31.00 ©2018 IEEE 27


Carbon Dioxide Concentration using a Small Unmanned
Aerial Vehicle," Journal of Atmospheric and Oceanic
Technology, vol. 23, no. 5, pp. 700-710, 2005.
[4] A. J. Rojas, L. F. Gonzalez, N. Motta and T. F. Villa,
"Design and Flight Testing of an Integrated Solar
Powered UAV and WSN for Remote Gas Sensing,"
Aerospace, 2015.
[5] A. J. Rojas, N. Motta, P. Corke and L. F. Gonzalez,
"Development and Integration of a Solar Powered
Figure 11: Altitude and Position of the hexarotor after two motors failures
unmanned aerial vehicle and wireless sensor network to
monitor greenhouse gases," Sensors, vol. 15, pp. 4702-
VI. CONCLUSIONS 4096, 2015.
This paper presents a UAV-fault tolerant based system for air [6] A. Chwaleba, A. Olejnik, T. Rapacki and N. Tusnio,
pollution monitoring and fire detection. It is equipped with the "Analysis of Capability of air pollution monitoring from
adequate sensors for air quality data collection and analysis: an unmanned aircraft," Aviation, vol. 18, no. 1, pp. 13-19,
concentrations of air pollutants, air temperature, atmospheric 2014.
pressure and wind directions and speeds. The hexarotor UAV, [7] G. F. Fine, L. M. Cavanagh, A. Afonja and R. Binions,
with redundant actuators, demonstrates high payload and fault "Metal Oxide Semi-Conductor Gas sensors in
tolerance capabilities. However, this system presents good and Environmental Monitoring," Sensors, vol. 10, pp. 5469-
accurate results, some challenges need to be taken into 5502, 2010.
consideration in future works such as flight time and power [8] "http://www.edaphic.com.au/gas-detection-," [Online].
consumption optimization.
[9] A. Adeyemo, "Interaction of Metal Oxides with Carbon
VII. ACKNOWLEDGEMENTS Monoxide and Nitric Oxide for Gas Sensing
Applications," PhD Thesis, Graduate School of the Ohio
This work has been partially funded with support from the
National Council for Scientific Research in Lebanon (CNRSL) State University, 2012.
and the Lebanese University Research support program. [10] "https://mavlink.io/en/," [Online].
[11] M. Saied, B. Lussier, I. Fantoni, C. Francis, H. Shraim
and G. Sanahuja, "Fault diagnosis and fault tolerant
REFERENCES control strategy for rotor failure in an octorotor," in IEEE
[1] F. Borghi, A. Spinazzè, S. Rovelli, D. Campagnolo, L. International Conference on Robotics and A utomation
Del Buono, A. Cattaneo and D. Cavallo, "Miniaturized (ICRA), Washington, DC, 2015.
Monitors for Assessment of Exposure to Air Pollutants: [12] M. Saied, B. Lussier, I. Fantoni, C. Francis and H.
A Review," Int J Environ Res Public Health, vol. 14, no. Shraim, "Fault Tolerant Control for Multiple Successive
8, 2017. Failures in an octorotor," in IEEE/RSJ International
[2] T. F. Villa, F. Gonzalez, B. Miljievic, Z. Ristovski and L. Conference on Intelligent Robots and Systems (IROS),
Morawska, "An Overview of Small Unmanned Aerial Hamburg, 2015.
Vehicles for Air Quality Measurements: Present [13] "http://ardupilot.org/copter/docs/introduction.html,"
Applications and Future Prospectives," Sensors, vol. 16, [Online].
no. 17, 2016.
[3] T. Watai, T. Machida, N. Ishizaki and G. Inoue, "A
Lightweight Observation System for Atmospheric

ISBN: 978-1-5386-2742-6/18/$31.00 ©2018 IEEE 28

You might also like