Next Article in Journal
A Novel Scouring Method to Monitor Nocturnal Mammals Using Uncrewed Aerial Vehicles and Thermal Cameras—A Comparison to Line Transect Spotlight Counts
Next Article in Special Issue
Smart Drone Surveillance System Based on AI and on IoT Communication in Case of Intrusion and Fire Accident
Previous Article in Journal
Harnessing the Power of Remote Sensing and Unmanned Aerial Vehicles: A Comparative Analysis for Soil Loss Estimation on the Loess Plateau
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Detection of Volatile Organic Compounds (VOCs) in Indoor Environments Using Nano Quadcopter

by
Aline Mara Oliveira
1,
Aniel Silva Morais
1,*,
Gabriela Vieira Lima
1,*,
Rafael Monteiro Jorge Alves Souza
1 and
Luis Cláudio Oliveira-Lopes
2
1
School of Electrical Engineering, Federal University of Uberlandia, Uberlandia 38408-100, Brazil
2
School of Chemical Engineering, Federal University of Uberlandia, Uberlandia 38408-100, Brazil
*
Authors to whom correspondence should be addressed.
Drones 2023, 7(11), 660; https://doi.org/10.3390/drones7110660
Submission received: 24 September 2023 / Revised: 24 October 2023 / Accepted: 4 November 2023 / Published: 6 November 2023
(This article belongs to the Special Issue Advances in Detection, Security, and Communication for UAV)

Abstract

:
The dispersion of chemical gases poses a threat to human health, animals, and the environment. Leaks or accidents during the handling of samples and laboratory materials can result in the uncontrolled release of hazardous or explosive substances. Therefore, it is crucial to monitor gas concentrations in environments where these substances are manipulated. Gas sensor technology has evolved rapidly in recent years, offering increasingly precise and reliable solutions. However, there are still challenges to be overcome, especially when sensors are deployed on unmanned aerial vehicles (UAVs). This article discusses the use of UAVs to locate gas sources and presents real test results using the SGP40 metal oxide semiconductor gas sensor onboard the Crazyflie 2.1 nano quadcopter. The solution proposed in this article uses an odor source identification strategy, employing a gas distribution mapping approach in a three-dimensional environment. The aim of the study was to investigate the feasibility and effectiveness of this approach for detecting gases in areas that are difficult to access or dangerous for humans. The results obtained show that the use of drones equipped with gas sensors is a promising alternative for the detection and monitoring of gas leaks in closed environments.

1. Introduction

In recent years, aerial vehicles have become increasingly popular for gas detection tasks, owing to their versatility and ability to cover larger areas than ground vehicles. The indoor air quality (IAQ) index and total volatile organic compounds (TVOCs) are two essential parameters for measuring air pollution. Both parameters are widely used in gas detection applications [1].
As per the definitions presented in [2], odor source localization entails the method of ascertaining the precise location of a chemical source of interest in the environment by monitoring a plume generated by the source and affected by wind dynamics. Since the early 1990s, many researchers have been dedicated to building a robot (or a group of robots) capable of locating a chemical release source.
The challenge of detecting odor sources can be addressed in two distinct ways: a fixed sensor network and mobile robotics. The first approach relates to techniques in which the sensory units remain stationary. Essentially, a fixed sensor network involves deploying multiple sensors in predetermined positions throughout the environment. These sensors are responsible for gathering data on gas concentration and, through reference nodes, estimating the location of the odor source. On the other hand, using a gas sensor mounted on a UAV offers several advantages over traditional systems that utilize fixed sensors distributed throughout the environment, depending on the context and specific objectives. Some notable benefits include:
(1) Mobility and Efficient Scanning: In expansive and intricate environments like warehouses, factories, or industrial facilities, a drone can swiftly traverse the entire space, collecting data from various areas in a single mission. This enables data collection in specific or challenging-to-access locations, a capability not feasible with fixed sensors, which are confined to their installation locations.
(2) Flexibility: The drone can be easily reconfigured with different sensors to detect a diverse range of gases, rendering it versatile for various applications.
(3) Resource Conservation: Gas sensors on drones contribute to energy and resource savings by precisely targeting relevant areas. This prevents continuous data collection in unnecessary locations, optimizing efficiency.
(4) Rapid Emergency Response: In emergency scenarios such as gas leaks, deploying a drone allows for swift assessment of the situation, identification of the leak’s source, and guidance for response teams.
(5) Deployment Flexibility: Drones offer the advantage of choosing the height and proximity of sensors to the gas source, a critical factor for achieving depth accuracy.
(6) Temporary Coverage: For events or locations requiring temporary monitoring, such as construction sites, drones provide a flexible and temporary solution without the need for the installation of fixed sensors.
Rotary-wing unmanned aerial vehicles (UAVs), equipped with gas detection sensors, offer a promising solution for air quality measurements. In comparison to fixed-wing aircraft, quadcopters have the ability to perform vertical take-offs and landings, hover, and fly in both outdoor and indoor spaces with obstacles [3].
Despite UAVs’ excellent maneuverability, the turbulence generated by the propellers, known as “wake”, can hinder gas detection as the vehicle’s movement interacts with gas dispersion in the environment. An interesting alternative to mitigate this problem is the nano quadcopter, also known as NAVs (nano aerial vehicles), which have sizes of up to 15 cm [4]. With smaller propellers, they cause less interference with the gas plume, have the ability for rapid movement, and can fly safely above pedestrians, making them suitable for indoor environments. However, NAVs have disadvantages, such as limited flight time and reduced payload capacity.
Applications of an odor source detection system using metal oxide sensors encompass various situations. In the study presented in [5], the authors used a swarm of quadcopters to monitor indoor air quality in industrial plants. Concerns about the workers’ health justify this approach due to potential risks associated with airborne products.
In the research outlined in [1], the authors investigated the performance of gas sensors in detecting 12 different compounds in two environments: the first within a chemical preparation hood and the second in an open automated laboratory. The presented experiments aim to provide essential parameters for implementing an autonomous gas detection and alarm system in chemical laboratories for future projects.
The authors in [6] conducted a comprehensive study on the use of Internet of Things (IoT) sensor nodes for early and continuous detection of hazardous gas situations, with a focus on TVOC. Through experimental tests, the authors concluded that metal oxide sensors are suitable for the early detection of solvent vapors in biological science laboratories, despite the challenges. Artificial intelligence solutions were incorporated to enhance the obtained results.
The study outlined in [7] presents innovative methods for mapping gas sources utilizing nano aerial vehicles. Two strategies were proposed, both based on signal feature extraction: instantaneous measurement and detection bout frequency. Although the initial strategy of plume tracking based on gas gradient and bout frequency showed inefficiency, the authors suggested a post-trial mapping algorithm constructed from information collected by the robot. This could lead to more accurate and refined gas source mapping. However, this approach might require initial adjustments and involve complex data processing, demanding computational resources and data analysis expertise to achieve meaningful outcomes.
The study conducted in [8] presents a biomimetic search strategy inspired by the behavior of adult male silkworm moths. They address the challenge of slow sensor response time by selecting the MiCS5524 model and applying output filtering using a developed ARX model. The sensors exhibited behavior when exposed to ethanol that enabled estimation of odor source position relative to flight direction, fueling the proposed search algorithm. The authors achieved success rates of up to 80% in a three-dimensional search, contingent upon the gas source’s height. While benefiting from biomimetic inspiration and compensating for response time, the method’s effectiveness is dependent on source height and still offers room for improvement in overall success rates.
In the study discussed in [9], the authors conducted a comprehensive comparative analysis of gas distribution mapping algorithms, assessing the performance of two infotaxis-based methods against a random walk algorithm. The study provides insights into the relative efficiency of these approaches. Notably, traditional infotaxis methods demonstrated a capacity to excel in areas with high gas variability, effectively targeting specific regions of interest. However, these methods were found to be less efficient in broader gas plume modeling and distribution mapping scenarios, potentially limiting their ability to provide a comprehensive overview. The influence of the vehicle’s propeller aerodynamics emerged as a factor affecting the performance of classical exploration methods, adding complexity to their practical application. Furthermore, the authors observed that segmenting the environment to favor infotaxis methods enhanced exploration by increasing the number of explored cells and maintaining mapping quality in proximity to the source. It is important to consider that while infotaxis approaches offer advantages in specific contexts, their limitations in broader and complex scenarios, along with sensitivity to external factors, underscore the need for careful adaptation and consideration of alternative strategies.
In the study presented in [10], a mini quadrotor equipped with a micro needle trap sampler (NTS) collected volatile organic compounds (VOCs) from industrial sites. The NTS used a 7 cm stainless steel needle filled with powdered divinylbenzene adsorbents. A telescoping shaft on the drone helped overcome air turbulence. The entire sampling device weighed less than 200 g. VOCs from steel and semiconductor plants were captured by the NTS on the drone and identified using gas chromatography–mass spectrometry. This method successfully identified stationary pollution sources.
Based on our literature review, we have identified several significant research gaps. Firstly, previous studies utilizing gas gradient-based plume tracking have not yielded effective results. Furthermore, the research found in the literature requires initial adjustments and complex data processing, demanding significant computational resources and a high level of expertise in data analysis to achieve practical relevance. Most of these works do not provide the ability to quickly and accurately assess the location of odor sources, which represents a considerable gap in the field. Additionally, studies offering real gas reading data from experiments with drones and commercially available sensors are scarce. Furthermore, a promising area for exploration lies in the in-depth investigation of the feasibility of using nano quadcopters in enclosed environments for gas leak detection, ensuring that the rotor’s motion does not interfere with data collection by the onboard gas sensor.
To address the mounting demands related to the subject, it becomes essential to investigate the conditions in which the combination of factors related to the odor source, gas sensor sensitivity, and propeller movements are conducive to generating useful information to be subsequently applied in gas distribution mapping (GDM) and gas source localization (GSL) algorithms.
The central objective of this article is to enhance the detection of volatile gas leaks in indoor environments using navigation autonomous vehicles (NAVs). In addition to the primary goal, we also have the following specific objectives:
(1) Analysis and evaluation of the hardware to be used in the project, including the model of the aerial vehicle, the local positioning system, and the chemical gas detection sensor.
(2) Integration of the sensor into the aircraft and the development of a communication interface between the two.
(3) Conducting tests to characterize the gas sensor’s response.
(4) Assessment of the data to be extracted from the gas sensor readings to improve odor source localization efficiency.
(5) Development of the computational algorithm that will guide the aircraft in mapping the environment and declaring the gas source’s location.
(6) Planning of experimental tests and the evaluation of the obtained results.
To achieve these objectives, a series of comprehensive experiments were conducted, encompassing real-time monitoring and addressing challenges related to path selection. This was achieved using microquadcopters and readily available gas sensors. The success of the study hinged on the specific configuration of the aircraft, the thoughtfully chosen sensors, and the strategy employed for gas dispersion in the environment. The integrated sensor within the unmanned aerial vehicle (UAV) collected environmental data, which was subsequently processed to generate reports. This approach facilitated both real-time and offline air quality analysis in the monitored environment. The technology presented in this research showcases its particular utility in challenging and difficult-to-access areas, such as tunnels or confined spaces housing gas pipelines or storage tanks.
The subsequent sections of this article are structured as follows: In Section 2, an elaboration of primary materials is provided, encompassing the aircraft type, details of the internal positioning system, characteristics of the onboard sensor, and specifications of the UAV-to-gas sensor communication interface. Additionally, this section covers the presentation of the experimental design, sensor response characterization, and the criteria employed for UAV trajectory definition. Moving forward, Section 3 showcases the experimental test results, while Section 4 engages in an analytical discourse of these results. Finally, Section 5 encapsulates the key conclusions drawn from the study, along with potential future work.

2. Materials and Methods

2.1. Crazyflie 2.1

Crazyflie 2.1 (CF2), shown in Figure 1, is a versatile open-source flying development platform that weighs only 27 g. Produced by Bitcraze AB (Malmö, Sweden), it was chosen for the proposed task in this study due to several unique advantages, continuous manufacturer support, compact dimensions, and low cost. Due to the affordable cost, it is feasible to use UAV swarms to streamline tasks. Additionally, the manufacturer provides a local positioning system that represents a remarkable solution for one of the main challenges faced in research in this area: the accurate estimation of the aircraft’s position in indoor space.
Crazyflie 2.1 is equipped with advanced technology and has two microcontrollers. The first one is the ARM Cortex-M4 model (STM32F405) with 192 kB of RAM, 1 Mb of flash memory, and a clock speed of 138 MHz. This microcontroller is responsible for interacting with the sensors, motors, and EEPROM memory, and executing the main application. The second microcontroller, an ARM Cortex-M0 (nRF51822) with 16 kB of RAM, 128 kB of flash memory, and a clock speed of 32 MHz, is responsible for power management and radio communication [11].
The quadcopter is equipped with four actuator sets, each consisting of a motor coupled with a propeller. In the case of the CF2, the motors are brushed coreless direct current (DC) motors that reach a maximum rotation speed of 25,000 rpm. The propellers, made of plastic, have a diameter of 45 mm. Since the vehicle’s motors rotate in opposite directions, the propellers come in two models and must be correctly positioned on motors that spin clockwise (CW) and counterclockwise (CCW). The vehicle is powered by a 3.7 V LiPo battery (250 mAh), providing approximately 7 min of continuous flight time [11].
Communication between the vehicles and the desktop computer is established through a radio interface. The CF2 is equipped with a 20 dBm radio amplifier, tested for distances up to 1 km with tolerable signal loss. To interact with the desktop computer, it connects via USB to a radio dongle provided by the manufacturer. This dongle is based on the nRF24LU1+ SoC semiconductor and operates at a frequency of 2.4 GHz. The data transmission rate between the devices can be selected between 250 Kbps, 1 Mbps, or 2 Mbps, providing flexibility for different needs. Furthermore, the range of this system has been tested and verified, reaching up to 80 m when operating at 250 Kbps [11].

2.2. Positioning System

For autonomous flights, precise positioning support is indispensable. However, mounting the sensing equipment on the top of the UAV creates limitations on the possibilities for position estimation. As a result, some practices, such as using onboard cameras proposed by [12] and infrared light plane-rotating base stations investigated by [13], become unfeasible. In this research, the local positioning system (LOCO), presented in Figure 2, was opted for. The system applies ultra-wideband (UWB) radio technology to determine the three-dimensional location of one or more CF2 in space.
In Figure 2, the numbers from 0 to 7 correspond to the specific anchor installation positions, directly correlated with the numerical markings located along the edges of Figure 3. The LOCO system is based on the Decawave DWM1000 chip and offers a positioning accuracy in the range of 10 cm, which can vary depending on the adopted configuration. It consists of a tag, directly connected to the CF2 through its expansion ports, and a set of eight nodes, or anchors, positioned in the test environment, as shown in Figure 3, using supports created with a 3D printer using designs provided by the manufacturer [11].
LOCO allows tracking a large volume of space without the need for a direct line of sight and is not affected by the presence of intense sunlight [11]. It is important to note that the performance of 3D positioning varies according to the system configuration and the operating environment. The positioning system implements three different positioning modes: two-way ranging (TWR), time difference of arrival 2 (TDoA 2), and time difference of arrival 3 (TDoA 3). In the TWR mode, the tag sequentially sends messages to the anchors. Based on the response time delay from each anchor, the distance to each one is calculated, enabling the estimation of the vehicle’s three-dimensional position. This mode allows operation with six anchors but can only estimate the position of a single tag in each trial, making it unsuitable for swarm operations [11]. The TDoA 2 and TDoA 3 modes operate similarly, where the anchors continuously send synchronization packets to the tags. The difference between the two modes lies in the fact that in TDoA 2, the packets are sent at fixed intervals, while in TDoA 3, the packet sending is randomized, making it slightly noisier than the other two modes [11]. For this project, the TDoA 2 mode was chosen due to its ability to support swarm flights and its better performance compared to TDoA 3. A distinctive aspect of LOCO is that all the necessary information to calculate the location is contained in the tag, allowing the position to be estimated onboard the CF2 itself.

2.3. Gas Sensor

Due to the physical limitations of payload capacity and autonomy of the CF2, the choice of the gas sensor used in the project was restricted to those that meet three criteria: low energy consumption, low weight, and short response and recovery time. For this project, the MultiPixel SGP40 gas sensor, manufactured by Sensirion, was selected. The SGP40 is a semiconductor metal oxide (MOX) gas sensor used for indoor air quality (IAQ) measurements. The SGP40 gas sensor can be hosted by any processor or microcontroller with an I2C communication bus. It is very small with package dimensions of (2.44 × 2.44 × 0.85 mm3) and consumes a low power rate of ≈8.58 mW [15]. Therefore, the choice of the SGP40 gas sensor is due to its ability to identify TVOC components present in the environment and meet all the necessary criteria to be embedded in the CF2, besides being the most updated version provided by the manufacturer.

2.4. CF2 Communication Interface with the Gas Sensor

To streamline the implementation and enhance communication with the CF2, a dedicated communication board was acquired. Equipped with pre-integrated circuits designed to facilitate interaction between the sensor component and the microprocessor of the CF2, the I2C communication board, as depicted in Figure 4, integrates with the SGP40 gas sensor and boasts dimensions of 27 × 20 mm.
Noteworthy are the additional advantages this board offers for harmonious CF2 integration. These encompass the availability of pins and connectors, the incorporation of a voltage regulator, and signal leveling mechanisms that accommodate both 3.3 V and 5 V systems. This design feature ensures compatibility with the power supply provided by the CF2. Communication with the sensor occurs through an I2C interface and operates in parallel with the tag of the local positioning system, eliminating the need for pull-up resistors. The gas sensor, integrated into the aircraft along with the positioning system tag, can be seen in Figure 5.
An essential consideration during the integration of the communication interface into CF2 revolves around its mounting position. For this study, the decision was made to affix the sensor to the upper section of the vehicle’s body, positioned directly above its center of gravity. This choice stems from the advantageous influence of the propeller-induced air currents, facilitating the optimal conveyance of VOC molecules present in the atmosphere to the sensor’s surface. Beyond this aspect, the selection of the upper placement provides benefits concerning assembly and disassembly, owing to the enhanced simplicity in establishing connections with the vehicle. It is noteworthy that within this same upper region of the vehicle, a local positioning system tag is also installed. Consequently, this strategic arrangement of both the sensor and the local positioning system tag significantly enhances VOC detection efficacy, while concurrently streamlining maintenance procedures and integration with the vehicle.
To establish communication between the sensor and the CF2, changes were made to the vehicle’s firmware. The manufacturer’s provided framework was used, and the script was designed following the communication instructions outlined in the sensor’s data sheet. The SGP40 chip provides a raw digital signal (SRAW_VOC) that is sensitive to most VOC gases commonly present in indoor environments and is proportional to the logarithm of the sensor material’s resistance. The code was developed to retrieve this measurement at a frequency of 1 Hz.
About integrate the gas sensor communication, a C program was developed and embedded into the Crazyflie 2.1 firmware microcontroller through the inclusion of a deck driver. This program is responsible for initializing the SGP40 sensor, periodically reading sensor data, verifying the integrity of these data using the CRC8 checksum, and recording the results. This integration is an integral part of the Crazyflie 2.1 firmware, which aims to monitor air quality and record data for future analysis.
Another application developed was the Flight Path Computer Application. To achieve autonomous flight and data collection, a Python script was meticulously crafted. This script communicates with a Crazyflie drone using the “cflib” library, allowing precise control of the drone along a flight path. The application encompasses several critical components. First, it defines the URI, a specific string indicating the Crazyflie with which the program establishes a connection. The script includes functions for comprehensive Crazyflie control, encompassing essential features such as the position estimator and a dedicated function for resetting the drone’s position estimator. Moreover, the program incorporates high-level Crazyflie commands, streamlining control through directives like takeoff, landing, and precise position adjustments. Central to its operation is the primary function responsible for executing the flight sequence. This function strategically sets destination points and orchestrates the drone’s movement between them, effectively utilizing the high-level commander interface. Crucially, the program’s main execution thread ensures seamless functionality as the primary application. It meticulously initializes Crazyflie drivers, establishes a Crazyflie instance, and executes essential functions for drone control. In essence, this designed program serves as an efficient supervisor for Crazyflie 2.1. It adeptly executes flight sequences, capturing valuable position and gas sensor data with precision and accuracy during each flight.

2.5. Experimental Design

The gas to be detected during the experiments originates from the evaporation of absolute ethanol stimulated by air bubbling. Ethanol was chosen due to its easy availability, relative safety, good evaporation properties under ambient conditions, and easy detectability by the SGP40 sensor. Liquid ethanol was stored in a glass container with a volume of approximately 200 mL. The bubbling system was designed to increase the evaporation of ethanol. The complete setup to generate the odor source consists of a fan, an external cell phone battery for powering the fan, a 3D-printed adapter to direct the fan’s airflow into the ethanol, and a transparent hose to direct the ethyl alcohol vapor flow. Figure 6 illustrates the fully assembled odor source system.
The concentration of ethyl alcohol in the air-alcohol mixture generated by the odor source is unknown. The localization system was installed within a limited test area of 2.7 m in X, 2.7 m in Y, and 2.5 m in height. Before starting the flight experiment, the fan of the odor source was activated for 3 min to allow the ethyl alcohol vapor to travel through the 3 m long hose, forming a plume of ethyl alcohol vapor around the air outlet, making it more easily detectable by the sensor. This mechanism is responsible for causing bubbling in the liquid ethyl alcohol and facilitating its evaporation. During the data collection process, windows and doors remained closed, and the room’s ventilation system was deactivated. Between each experiment, a minimum time of 15 min was considered for cleaning and ventilation. During this period, the door was opened, and the air conditioning was set to ventilation mode, releasing a significant portion of the contaminant gas from the environment in preparation for the next experiment. To ensure proper recovery of the gas sensors, before each experiment, it was tested whether the sensor signal returned to a level close to the baseline. The methodology described is delineated within the workflow diagram presented in Figure 7.
Control and trajectory planning were seamlessly managed via the cfclient interface. This Python-based interface, commonly referred to as the Python client, serves as the central hub for commanding the CF2 drone, facilitating tasks such as firmware updates, parameter configuration, and data logging.

2.6. Sensor Response Characterization

The use of metal oxide semiconductor (MOX) sensors has become popular in quadcopters due to their small size, high sensitivity, low cost, and capability to detect a wide variety of gases. However, these sensors face a critical challenge, as defined by [7]: the long recovery time (10 to 30 s) compared to the rapid temporal resolution of the chemical stimulus (in the order of milliseconds). Additionally, MOX sensors exhibit signal drift, which manifests as a permanent error, limiting their lifespan in long-duration applications. In other words, when the sensor operates continuously for more than 12 h, it experiences a gradual and unpredictable variation in signal response even under constant exposure to the same conditions [16].
Therefore, a preliminary analysis was conducted to observe how the sensor response is affected by exposure to ethyl alcohol vapor before conducting the drone and gas sensor experiments in flight. The sensor was brought close to the mouth of a glass container containing 50 mL of absolute ethanol for approximately 20 s. The data observed during this procedure can be seen in Figure 8.
During the initial sensor reading, a notable decrease from 32.892 to 17.748 (the lowest achieved in this experiment) is observed in response to exposure to ethyl alcohol vapor. This sharp decline in sensor output clearly indicates the sensor’s sensitivity to ethyl alcohol, demonstrating its ability to detect and respond to this specific substance. Furthermore, it is important to note that the signal read by the sensor decreases when exposed, meaning it is inversely proportional to the concentration of ethyl alcohol present in the environment. The SGP40’s digital output signal, presented as a 16-bit value, is denoted as “ticks”. This signal, proportional to the logarithm of the sensing layer’s resistance, reflects the sensor’s estimation of ambient VOC concentrations within a range of 0 to 65,535 units [15]. A quantitative correlation between ticks and actual VOC concentrations can be established through a calibration procedure using reference gases with known concentrations. About time response, the sensor demonstrates almost instant detection of the vapor’s presence, taking only 5 s to reach the minimum reading. After moving the sensor away from the proximity of ethyl alcohol vapor, there was a noticeable recovery in about 30 s, reaching a level slightly lower than the initial value before exposure to the gas. Subsequently, it was found that this recovery time can vary considerably depending on the TVOC concentration to which the sensor was exposed, requiring less time to recover from lower concentrations. This characterization test was essential to understand the values obtained by the signal read during exposure to the odor source.

2.7. Trajectory Planning

Mobile olfactory robotics involves two main tasks: locating the gas source and mapping its distribution. Algorithms for gas source localization are categorized into reactive plume tracking, plume modeling, or map-based approaches, typically considering a single source. On the other hand, gas distribution mapping strategies require complete exploration of the environment, and some studies consider multiple gas sources [17].
Based on the flight characteristics and limitations of the CF2, as well as the variations observed in the SGP40 sensor’s sensitivity during tests conducted with both in conjunction, the following premises were established for trajectory planning:
(1) Detecting sources of ethyl alcohol at altitudes very close to the ground becomes quite challenging due to the tendency of ethyl alcohol to accumulate at the bottom of the environment. This characteristic is attributed to the relative density of absolute ethyl alcohol vapor, which is 1.6. Relative vapor density is defined as the ratio of the weight of the vapor to the weight of an equal volume of dry air under the same temperature and pressure conditions, explaining its higher concentration in the lower layers of the atmosphere [18].
(2) The odor source generated by bubbling with air and directed with a hose helps to form a denser plume, concentrated near the gas exit point and less dispersed throughout the environment. This, in turn, facilitates the localization of this source.
(3) Under the conditions presented in this work, ethyl alcohol vapor is not released in sufficient quantity to disperse throughout the entire environment.
(4) The CF2 should preferably fly below the altitude of the odor source to take advantage of the downward airflow generated by the movement of the propellers and increase the likelihood of successful volatile compound detection.
(5) Being a nano quadcopter, it is important to be aware of the limitations of speed and the distance between programmed flight positions.
Based on these premises, the proposed trajectory consisted of following a sequence of pre-established points to cover the entire perimeter of the flight area smoothly, with gradual changes in elevation. This strategy aims to map gas concentration levels at different positions in the environment and then establish a relationship between sensor detection levels and the position of the odor source. The CF2 took 54 s to complete the trajectory under the mentioned conditions.

3. Results

Locating the odor source (OS) involves finding the position of a chemical source in an environment through a trail, also known as a plume, influenced by the wind. The challenge lies in the non-uniform dispersion of the odor, where the scent breaks into odor filaments, making it difficult to track it through the concentration gradient. The use of autonomous navigators (NAVs) for this task is complex due to these characteristics of dispersed odor [2].
The focus lies in investigating the connection between the data acquired by the gas sensor during the flight and the source of the gas leak. To achieve this goal, a series of tests were performed, which involved mapping the dispersion of absolute ethyl alcohol vapor in the environment, as detailed in the Materials and Methods section.
In theory, the ideal reconstruction of the gas distribution map (GDM) would be achieved through a UAV trajectory that covers the entire environment at low speed. However, the power constraints of nano quadcopters and practical considerations make flight time a limiting factor in selecting the optimal trajectory. Hence, in this experiment, a predefined route that covers all vertices of the test area was chosen. The planned route is depicted in Figure 9. The red circles mark the positions that were sent as commands to the CF2 drone, and the planned route is marked in blue.
The CF2 was programmed to follow the trajectory with an average speed of 0.25 m/s, taking approximately 4 s to complete each position change. Figure 10 displays the results of Test 1 with the odor source positioned at (2.90, 1.40, 2.50) [x, y, z], and Figure 11 exhibits the results of Test 1 with the odor source located at (1.35, 2.1, 2.50) [x, y, z]. The symbol “*”represents the location of the odor source in Figure 10 and Figure 11.
It is crucial to emphasize that the sensor’s performance exhibits an inverse relationship; hence, lower “ticks” values (16-bit value) are indicative of higher concentrations of ethanol.
After the completion of the experiments, the data acquired from the gas sensor and the location coordinates of CF2 were recorded in text files. For illustrative purposes, the results for each odor source location are presented in Figure 12 and Figure 13. It is important to note that five experiments were conducted for each position.
Figure 12 and Figure 13 illustrate that the drone equipped with the onboard gas sensor is highly capable of capturing the gas plume, even in the presence of non-uniform distribution and non-linearity of sensor readings concerning the distance to the odor source. Despite the turbulence generated by the rotors significantly impacting the sensor signal, indications of detection positions very near the odor source were successfully obtained in less than 1 min of flight, with measurements conducted during motion.

4. Discussion

Drawing from these results, the possibility of employing the collected information to deduce an estimated position for the odor source in the environment was explored, removing the need for map visualization. Most gas source localization (GSL) algorithms use a detection threshold to differentiate when a certain sensor reading is produced by the gas plume or background noise [19]. However, many studies do not detail the criteria used to classify what may be a gas detection, and relying solely on the threshold can be an inefficient parameter.
Following the approach proposed by [7], the minimum signal variation was employed as the detection parameter, referred to as “bouts”. This value was estimated as follows:
bthr = μ+ 3σ,
where μ and σ are the estimated mean and standard deviation of the distribution of amplitudes of the “bouts” detected in the sensor baseline (in the absence of gas). This methodology is effectively used to mitigate false alarms and improve overall reliability.

4.1. Analytical Insights from Experiment 1

During the analysis of the maps, it was noticeable that the sensor readings exhibited a consistent pattern in areas close to the odor source. Based on the chromatic representations shown in Figure 10 and Figure 11, it became discernible that the gas sensor showed a notable reading fluctuation when moving from an area devoid of gas to a region containing ethyl alcohol gas. Taking advantage of this insight, an algorithm was developed to determine the exact moment during flight when the maximum oscillation in the gas sensor reading occurred. Subsequently, the identified position was compared with the location of the route closest to the odor source (2.50, 1.40, 2.00) [x, y, z]. The results obtained are summarized in Table 1.
In the following sequence, the data was grouped for improved visualization using boxplots. Figure 14 illustrates the boxplot of the variations in detection position for all experiments, while Figure 15 displays the boxplot of the estimated position of the odor source.
The boxplot figures presented provide a visual representation of the statistical distributions of data related to variations in the detection position and the estimated position of the odor source in a series of experiments. The boxplot in Figure 14 allows us to understand the dispersion and central tendency of data concerning detection errors, highlighting possible outliers and variability in observations. On the other hand, Figure 15, which displays the boxplot of the estimated odor source position, offers insights into the accuracy of the estimates, indicating whether these estimates tend to cluster around a central value or are more dispersed. In both figures, the central box represents the interquartile range (IQR), i.e., the region where most of the data are concentrated, while the line inside the box represents the median, which is the central value of the distribution. Points outside the whiskers (lines extending beyond the box) indicate outliers.

4.2. Analytical Insights from Experiment 2

In Experiment 2, the same trajectory as in Experiment 1 was executed. Table 2 provides the positions and the error, which is defined as the difference between the position of the nearest route point to the actual source position (1.40, 2.50, 2.00) [x, y, z] and the position at the time of detection.
Consistent with the previous approach, the data have been organized in the following sequence, employing boxplots to improve visual clarity. Figure 16 effectively captures the boxplot representation, showing the spectrum of detection position variations across all experimental instances. In addition, Figure 17 offers a boxplot presentation that shows the estimated positions for the odor source.
Therefore, the obtained map is consistent with the true location of the source, allowing for the detection of the source with very small localization errors. The results indicate the potential use of a gas-sensitive NAV for locating and mapping gas sources in expansive indoor environments, even including the capability to detect multiple odor sources. However, it was observed that this possibility is limited to odor sources that are not too close together. This limitation is due to the long recovery time of the MOX sensors. If a MOX sensor is exposed to two consecutive gas plumes, the response to the second stimulus will occur when the sensor has not yet fully recovered from the first exposure, resulting in an overall larger response [7].

5. Conclusions

This article presented an enhanced odor source detection system that utilizes a nano quadcopter and a gas sensor based on semiconductor metal oxide (MOX). The proposed solution aims to employ a small-sized aircraft to explore indoor environments with the objective of detecting volatile gas leakage sources by analyzing the three-dimensional distribution of VOC compounds present in the air.
The selected approach for odor source localization in this study involved conditioning the vehicle to follow a predefined exploratory route. Ten experiments were conducted in a rectangular prism-shaped environment, with dimensions of 2.7 m × 2.7 m × 2.5 m and a volume of 18.22 m3.
Through the conducted experiments, it was observed that the selected sensor is capable of clearly identifying the presence of volatile substances in the region where the plume generated by ethyl alcohol vapor forms and exhibited an average error in estimating the source location of 9 cm in Experiment 1 and 5 cm in Experiment 2.
The developed strategy allows adaptation in environments with obstacles, requiring the addition of additional sensors to enable this adaptation. Highly ventilated environments and the use of sensors with very slow detection times can pose challenges in accurately identifying the odor source. The SGP-40 sensor showed satisfactory performance in detecting ethanol. For other substances, it may be necessary to replace the sensor for precise odor source identification.
For future work, the plan is to expand the flight area and add more gas emission points.

Author Contributions

Conceptualization, A.M.O., R.M.J.A.S. and G.V.L.; methodology, A.M.O., R.M.J.A.S. and G.V.L.; software, A.M.O., R.M.J.A.S. and G.V.L.; validation, A.M.O., R.M.J.A.S. and G.V.L.; formal analysis, A.M.O., R.M.J.A.S., A.S.M., G.V.L. and L.C.O.-L.; investigation, A.M.O., R.M.J.A.S. and G.V.L.; resources, A.M.O., R.M.J.A.S. and G.V.L.; data curation, A.M.O., R.M.J.A.S. and G.V.L.; writing—original draft preparation, A.M.O., R.M.J.A.S. and G.V.L.; writing—review and editing, A.S.M.; supervision, A.S.M. and L.C.O.-L.; project administration, A.S.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Coordenação de Aperfeiçoamento de Pessoal de Nível Superior (CAPES), Brazil (Finance Code 001), and the Conselho Nacional de Desenvolvimento Científico e Tecnológico (CNPq) (Process Code 403054/2021-4) titled “Controle Cooperativo de Enxame de Veículos Aéreos não Tripulados Especializados no Monitoramento e Detecção de Falhas na Indústria 4.0” (Period: 17 March 2022 to 31 March 2025). The authors also acknowledge FAPEMIG (Process Code APQ-00594-22) titled “Investigação do uso de VANTs para manutenção preditiva e atuação em emergências no contexto da Indústria 4.0”.

Data Availability Statement

The data presented in this study are available on request to the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Al-Okby, M.F.R.; Neubert, S.; Roddelkopf, T.; Fleischer, H.; Thurow, K. Evaluating of IAQ-Index and TVOC Parameter-Based Sensors for Hazardous Gases Detection and Alarming Systems. Sensors 2022, 22, 1473. [Google Scholar] [CrossRef] [PubMed]
  2. Chen, X.; Huang, J. Odor source localization algorithms on mobile robots: A review and future outlook. Robot. Auton. Syst. 2019, 112, 123–136. [Google Scholar] [CrossRef]
  3. Zhang, X.; Xian, B.; Zhao, B.; Zhang, Y. Autonomous Flight Control of a Nano Quadrotor Helicopter in a GPS-Denied Environment Using On-Board Vision. IEEE Trans. Ind. Electron. 2015, 62, 6392–6403. [Google Scholar] [CrossRef]
  4. Ercolani, C.; Tang, L.; Martinoli, A. GaSLAM: An Algorithm for Simultaneous Gas Source Localization and Gas Distribution Mapping in 3D. In Proceedings of the 2022 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Kyoto, Japan, 23–27 October 2022. [Google Scholar] [CrossRef]
  5. Neumann, P.P.; Hüllmann, D.; Bartholmai, M. Concept of a gas-sensitive nano aerial robot swarm for indoor air quality monitoring. Mater. Today Proc. 2019, 12, 470–473. [Google Scholar] [CrossRef]
  6. Neubert, S.; Roddelkopf, T.; Al-Okby, M.F.R.; Junginger, S.; Thurow, K. Flexible IoT gas sensor node for automated life science environments using stationary and mobile robots. Sensors 2021, 21, 7347. [Google Scholar] [CrossRef] [PubMed]
  7. Burgués, J.; Hernández, V.; Lilienthal, A.J.; Marco, S. Smelling nano aerial vehicle for gas source localization and mapping. Sensors 2019, 19, 478. [Google Scholar] [CrossRef] [PubMed]
  8. Shigaki, S.; Fikri, M.R. Design and experimental evaluation of an odor sensing method for a pocket-sized quadcopter. Sensors 2018, 18, 3720. [Google Scholar] [CrossRef] [PubMed]
  9. Ercolani, C.; Tang, L.; Humne, A.A.; Martinoli, A. Clustering and Informative Path Planning for 3D Gas Distribution Mapping: Algorithms and Performance Evaluation. IEEE Robot. Autom. Lett. 2022, 7, 5310–5317. [Google Scholar] [CrossRef]
  10. Cheng, W.-H.; Yuan, C.-S. Identification of Emission Source Using a Micro Sampler Carried by a Drone. Drones 2022, 6, 116. [Google Scholar] [CrossRef]
  11. Bitcrazy.io, Bitcrazy AB—Crazyflie: Start Here. Available online: https://www.bitcraze.io/start (accessed on 29 June 2023).
  12. Thomas, J.; Welde, J.; Loianno, G.; Daniilidis, K.; Kumar, V. Autonomous Flight for Detection, Localization, and Tracking of Moving Targets with a Small Quadrotor. IEEE Robot. Autom. Lett. 2017, 2, 1762–1769. [Google Scholar] [CrossRef]
  13. Taffanel, A.; Rousselot, B.; Danielsson, J.; Mcguire, K.; Richardsson, K.; Eliasson, M.; Antonsson, T.; Honig, W. Lighthouse Positioning System: Dataset, Accuracy, and Precision for UAV Research. arXiv 2014, arXiv:2104.11523. [Google Scholar] [CrossRef]
  14. Bitcrazy.io, Bitcrazy AB—Crazyflie: Gegetting Started with Loco Positioning System. Available online: https://www.bitcraze.io/documentation/tutorials/getting-started-with-loco-positioning-system/ (accessed on 30 August 2023).
  15. Sensirion.com, Sensirion—Products and Catalogs. Available online: https://sensirion.com/products/catalog/SGP40 (accessed on 7 August 2023).
  16. Dennler, N.; Rastogi, S.; Fonollosa, J.; van Schaik, A.; Schmuker, M. Drift in a popular metal oxide sensor dataset reveals limitations for gas classification benchmarks. Sens. Actuators B Chem. 2022, 361, 131668. [Google Scholar] [CrossRef]
  17. Palacín, J.; Martínez, D.; Clotet, E.; Pallejà, T.; Burgués, J.; Fonollosa, J.; Pardo, A.; Marco, S. Application of an array of metal-oxide semiconductor gas sensors in an assistant personal robot for early gas leak detection. Sensors 2019, 19, 1957. [Google Scholar] [CrossRef] [PubMed]
  18. International Labour Organization—Absolute Ethyl Alcohol. Available online: https://www.ilo.org/dyn/icsc/showcard.display?p_version=2&p_card_id=0044 (accessed on 10 September 2023).
  19. Burgués, J.; Esclapez, M.D.; Domate, S.; Pastor, L.; Marco, S. Aerial mapping of odorous gases in a wastewater treatment plant using a small drone. Remote Sens. 2021, 13, 1757. [Google Scholar] [CrossRef]
Figure 1. Crazyflie 2.1 Quadcopter [11].
Figure 1. Crazyflie 2.1 Quadcopter [11].
Drones 07 00660 g001
Figure 2. Local positioning system equipment.
Figure 2. Local positioning system equipment.
Drones 07 00660 g002
Figure 3. Local positioning system [14].
Figure 3. Local positioning system [14].
Drones 07 00660 g003
Figure 4. SGP40 sensor module.
Figure 4. SGP40 sensor module.
Drones 07 00660 g004
Figure 5. CF2 with the local positioning system tag and the gas sensor.
Figure 5. CF2 with the local positioning system tag and the gas sensor.
Drones 07 00660 g005
Figure 6. Odor Source.
Figure 6. Odor Source.
Drones 07 00660 g006
Figure 7. Workflow diagram.
Figure 7. Workflow diagram.
Drones 07 00660 g007
Figure 8. Analysis of response time and recovery of the SGP-40 gas sensor.
Figure 8. Analysis of response time and recovery of the SGP-40 gas sensor.
Drones 07 00660 g008
Figure 9. Projected trajectory for the CF2 drone. The positions sent as commands to the CF2 drone are indicated by the red circles, while the planned route is delineated in blue.
Figure 9. Projected trajectory for the CF2 drone. The positions sent as commands to the CF2 drone are indicated by the red circles, while the planned route is delineated in blue.
Drones 07 00660 g009
Figure 10. Position x sensor reading: Source Position 1, Test 1.
Figure 10. Position x sensor reading: Source Position 1, Test 1.
Drones 07 00660 g010
Figure 11. Position x sensor reading: Source Position 2, Test 1.
Figure 11. Position x sensor reading: Source Position 2, Test 1.
Drones 07 00660 g011
Figure 12. Sensor reading: Source Position 1.
Figure 12. Sensor reading: Source Position 1.
Drones 07 00660 g012
Figure 13. Sensor reading: Source Position 2.
Figure 13. Sensor reading: Source Position 2.
Drones 07 00660 g013
Figure 14. Boxplot position errors (m) × position [x, y, z] (Experiment 1).
Figure 14. Boxplot position errors (m) × position [x, y, z] (Experiment 1).
Drones 07 00660 g014
Figure 15. Boxplot estimated odor source position × position [x, y, z] (Experiment 1).
Figure 15. Boxplot estimated odor source position × position [x, y, z] (Experiment 1).
Drones 07 00660 g015
Figure 16. Boxplot position errors (m) × position [x, y, z] (Experiment 2).
Figure 16. Boxplot position errors (m) × position [x, y, z] (Experiment 2).
Drones 07 00660 g016
Figure 17. Boxplot estimated odor source position × position [x, y, z] (Experiment 2).
Figure 17. Boxplot estimated odor source position × position [x, y, z] (Experiment 2).
Drones 07 00660 g017
Table 1. Summary of Experiment 1.
Table 1. Summary of Experiment 1.
Error (m)
[x, y, z]
Estimated Position (m)
[x, y, z]
Test
[−0.08, −0.32, 0.05][2.42, 1.08, 2.05]1
[0.02, −0.10, 0.02][2.52, 1.39, 2.02]2
[−0.11, −0.25, 0.03][2.39, 1.15, 2.03]3
[0.00, 0.03, 0.02][2.50, 1.37, 2.02]4
[−0.01, −0.09, 0.04][2.49, 1.31, 2.04]5
[2.44, 1.15, 2.04][−0.01, −0.09, 0.03]Median
Table 2. Summary of Experiment 2.
Table 2. Summary of Experiment 2.
Error (m)
[x, y, z]
Estimated Position (m)
[x, y, z]
Experiment
[−0.01, 0.02, −0.03][1.39, 2.52, 1.97]1
[−0.04, 0.08, 0.00][1.36, 2.58, 2.00]2
[0.01, 0.20, −0.02][1.41, 2.52, 1.98]3
[0.00, 0.07, −0.03][1.40, 2.57, 1.97]4
[−0.03, 0.05, −0.01][1.37, 2.55, 1.99]5
[−0.01, 0.05, −0.02][1.39, 2.55, 1.98]Median
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Oliveira, A.M.; Morais, A.S.; Lima, G.V.; Souza, R.M.J.A.; Oliveira-Lopes, L.C. Detection of Volatile Organic Compounds (VOCs) in Indoor Environments Using Nano Quadcopter. Drones 2023, 7, 660. https://doi.org/10.3390/drones7110660

AMA Style

Oliveira AM, Morais AS, Lima GV, Souza RMJA, Oliveira-Lopes LC. Detection of Volatile Organic Compounds (VOCs) in Indoor Environments Using Nano Quadcopter. Drones. 2023; 7(11):660. https://doi.org/10.3390/drones7110660

Chicago/Turabian Style

Oliveira, Aline Mara, Aniel Silva Morais, Gabriela Vieira Lima, Rafael Monteiro Jorge Alves Souza, and Luis Cláudio Oliveira-Lopes. 2023. "Detection of Volatile Organic Compounds (VOCs) in Indoor Environments Using Nano Quadcopter" Drones 7, no. 11: 660. https://doi.org/10.3390/drones7110660

Article Metrics

Back to TopTop