Next Article in Journal
Using Deep Learning with Thermal Imaging for Human Detection in Heavy Smoke Scenarios
Previous Article in Journal
Semantic Segmentation of the Malignant Breast Imaging Reporting and Data System Lexicon on Breast Ultrasound Images by Using DeepLab v3+
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Design of Gas Monitoring Terminal Based on Quadrotor UAV

Tianjin Key Laboratory of Electronic Materials Devices, School of Electronics and Information Engineering, Hebei University of Technology, Tianjin 300401, China
*
Author to whom correspondence should be addressed.
Submission received: 21 May 2022 / Revised: 7 July 2022 / Accepted: 15 July 2022 / Published: 18 July 2022
(This article belongs to the Section Vehicular Sensing)

Abstract

:
The problem of air pollution is an increasingly serious worldwide. Therefore, in order to better monitor the gas components in the atmosphere, the design of a gas monitoring terminal based on a quadrotor UAV, including software and hardware design, is hereby carried out. Besides, a pump-suction series cavity is designed to reduce the influence of airflow disturbance on the UAV, which is verified to possess a certain anti-interference ability through Computational Fluid Dynamics(CFD) simulation experiments. In addition, a linear regression algorithm is used for sensor calibration and a polynomial piecewise regression method is used for temperature compensation. The experimental results show that the R2 of the model reaches 0.9981, the fitting degree is rather high, and the output is closer to the real gas concentration value after calibration. At the same time, the temperature compensation parameters are determined, which considerably improves the accuracy of the entire hardware terminal. Finally, the vehicle exhaust monitoring experiment is conducted, and the experimental results show that this scheme can successfully detect the exhaust position of the vehicle exhaust under the interference of the downwash flow of the UAV, thereby proving the reliability and accuracy of the monitoring terminal.

1. Introduction

The atmospheric environment is one of the most important components of the natural environment, it is also the foundation for all living things in the world [1]. With the continuous development of modern urbanization, the problem of air pollution is increasingly worsened worldwide, and air quality directly affects the physical and mental health of contemporary people [2]. Long-term exposure to severely polluted air increases the incidence of cardiovascular and respiratory diseases, also lung cancer. According to statistics, a total of 4.9 million people died directly or indirectly from air pollution in 2017 [3]. In the case of comprehensive monitoring of air pollutants, air quality monitoring sites or portable air quality monitoring instruments are frequently adopted by many countries. However, the construction of the former requires a lot of supporting facilities and financial backup, which is also exposed to problems including a long construction period, low coverage density, and poor flexibility, while the latter can only monitor air quality in a small area. A large monitoring range requires a lot of labor costs. Besides, the effect is rather limited in some special scenarios, such as toxic and harmful gas leakage, where emergency personnel cannot intervene [4].
In recent years, the design of monitoring terminals for the atmospheric environment has attracted extensive attention. Atmospheric environment monitoring is the basis of atmospheric environment management and protection. Only by comprehensively, accurately and specifically understanding the atmospheric environment can effective prevention and control measures be implemented [5]. From the current domestic and foreign environment, the wired environment monitoring technology is relatively mature, but its application is still exposed to obvious limitations, including the application scope [6,7,8], making it necessary to design a system that can wirelessly transmit the collected ambient gas data to the host for processing [9,10]. Collecting data with a variety of sensors is a hot research topic at home and abroad, and related research has been carried out in many universities and research institutes [11]. Some scholars have proposed an atmospheric monitoring system composed of monitoring equipment and monitoring terminals, which sense ambient temperature, ambient relative humidity, ambient air pressure, carbon monoxide levels, carbon dioxide levels, and dust particle levels using sensors. This atmospheric monitoring system is wireless, in real-time, reliable, continuously recording, and portable [12]. Feng Zhenqiang proposed the design of a wireless sensor-based environmental monitoring system capable of the remote monitoring of temperature, humidity, air pressure, and PM2.5 data [13]; Philips has been working on the research and development of environmental monitoring and purification equipment [14], which can monitor and predict the atmospheric environment in real-time and is greatly convenient for managers; L. Capezuto put forward a monitoring method that allows people to obtain their own sensor nodes and participate in aerial environment monitoring through the mobile terminal [15]; Popoola constructed a sensor network platform composed of low-cost air quality sensors for quantifying air quality in urban environments [16]. However, in the future of rapid development, mobile terminals have been widely used in actual production and daily life [17], such as UAVs for intelligent agricultural irrigation [18] and real-time traffic monitoring [19] to strengthen the support of the environmental protection industry and accelerate the improvement of the technical equipment level of the environmental protection industry. In addition, Pretto et al. from the Swiss Federal Institute of Technology in Zurich carried out research on the use of UAV systems for fine planting and proposed a plant protection scheme for aerial monitoring of vegetation using rotary-wing UAVs, which greatly reduces labor costs [20]. Some scholars have created a learning-based UAV system for autonomous surveillance, in which UAVs can be used to autonomously detect and track target objects without human intervention [21]. The premise of preventing and controlling air pollution is to obtain information on the pollution degree. UAVs can be used as the carrier of atmospheric environment monitoring devices for the collection of pollution information in three-dimensional space for specific polluted areas, such as industrial parks and pollution treatment plants. This very research direction has become a new research hotspot [22,23].
Low-cost sensors (LCSs) have emerged in recent years as complementary tools that, combined with conventional equipment, allow air quality to be monitored more effectively, dramatically improving the spatial resolution of air-monitoring data and effectively engaging citizens in the experimental measurements [24]. In [25], a low-cost sensor (LCS) was used for monitoring the atmospheric environment with high spatial resolution, and an Atmospheric Exposure Low-Cost Monitoring (AELCM) system for several air species was proposed, including ozone, nitrogen dioxide, carbon monoxide and particulate matter, as well as meteorological variables developed by our research group, but only at local scales. Due to the low-cost advantage of commercial sensors, they are used as the key components of IoT devices in atmospheric state monitoring, and an integrated machine learning model is used to detect accurate concentrations [26]. In [27], a low-cost electrochemical and optical sensor-based device was proposed, attached to the handlebars of bicycles for monitoring air quality in urban environments. The system consists of three electrochemical sensors for measuring NO2 and O3 and an optical particulate matter (PM) sensor for PM2.5. This article mainly focuses on the development and calibration of the rotor-borne atmospheric gas monitoring terminal. Rotorcrafts are more flexible than fixed wing in maneuverability and are more suitable for air environment monitoring [28]. Firstly, the hardware scheme is hereby designed for the monitoring terminal and a variety of sensors are selected. Given that the downwash air flow generated by the UAV during the movement will interfere with the final reading of the monitoring terminal, a pump-suction series cavity is designed to solve this problem; it is proven to possess a certain anti-interference performance through computational fluid dynamics simulation(CFD) and experimental verification. The electrochemical gas sensor is calibrated using the linear regression algorithm, while polynomial regression is used for temperature compensation. Additionally, the software design is completed, and a vehicle exhaust gas detection experiment is carried out to verify the feasibility of the system.
The hardware scheme design in Section 2.1, includes sensor selection and hardware circuit design. In Section 2.2, an introduction to the design of the tandem cavity is carried out. The need for sensor calibration and temperature compensation methods is described in Section 2.3. Moreover, the design of the software scheme is carried out in Section 2.4. Next, the CFD simulation experiment is carried out in Section 3.1. The sensor calibration experiment is carried out in Section 3.2. Moreover, the segmented temperature compensation method experiment is carried out in Section 3.3. Finally, the vehicle exhaust gas detection experiment is carried out and the conclusion is drawn.

2. Materials and Methods

2.1. Hardware Solution Design

In this chapter, the software and hardware scheme is designed first, followed by the series cavity design and CFD simulation. Finally, the linear calibration method and the segmented temperature compensation method are proposed for the errors generated by the electrochemical sensor.
The hardware structure of the monitoring terminal consisting of a sampling unit and a detection unit is shown in Figure 1, the sampling unit, includes a micro brushless air pump, a gas sensing array, a particle sensor, and a temperature and humidity sensor. The process is that the air pump continuously pumps the outside air to the gas sensing array to generate a response signal, and meanwhile, the particle sensor detects PM10 concentration in the air, while the temperature and humidity sensor detects the temperature and humidity of the location of the UAV in real-time. Besides, the detection unit contains a power battery, a core processor, a data storage module, and a communication interface, among which, the power battery is used for driving the entire system; the communication interface is used for external communication, and data storage is used for data storage. Furthermore, the core processor is used for driving each sensor to work normally, collect sensor data, then preprocess and store the sensor data. Finally, it is transmitted through the communication interface.

2.1.1. Sensor Selection

The monitoring targets of the hereby designed monitoring terminal are various air pollution chemical components, inhalable particulate matter, and temperature and humidity. For this purpose, a sensor array composed of temperature and humidity sensors, electrochemical gas sensors, particulate matter sensors and CO2 sensors is selected.
(i).
Electrochemical gas sensors
Electrochemical gas sensors are provided with the advantages of high selectivity, strong linearity and low power consumption [29], and common electrochemical sensors include the two-electrode type, three-electrode type, and four-electrode type. The two-electrode type has a relatively simple structure and only connects to the working electrode and the counter electrode through a load resistance. In the case of a slightly higher measured gas concentration, the potential of the sensitive electrode will exceed its allowable range, so that the output is no longer linear. Besides, its upper limit of detection is low, so it is not selected. The three-electrode type introduces a reference electrode, which greatly improves the detection range, and its structure is shown in Figure 2. The four-electrode type adds an auxiliary electrode on the basis of the three-electrode type to improve the selectivity and eliminate the influence of temperature and humidity, but the cost is much higher and the basic driving circuit is more complicated, so it is not selected either.
There are many types of three-electrode electrochemical sensors produced by Honeywell in the United States of uniform size, which is convenient for replacement while monitoring the target gas changes in the future. However, Honeywell does not produce ozone sensors of the same size. In this case, the three-electrode ozone electrochemical sensor produced by Shengmi Technology Company is selected. Some parameters of each sensor are shown in Table 1.
(ii).
Particulate sensor
For the detection of inhalable particles, the laser sensor based on the principle of light scattering is currently the most widely used. The light scattering particle sensor is produced using the Mie scattering theory. Scattering occurs when light is irradiated on suspended particles, and the mass and concentration will be calculated according to the scattering characteristics to achieve the conversion of optical signals to electrical signals, which possess the characteristics of simple structure, fast response speed and high precision. The performance of various commercial particulate matter sensors is compared and analyzed, as shown in Table 2.
(iii).
CO2 sensor
At present, there are many kinds of CO2 sensing technologies, such as non-dispersed infrared (Non-Dispersed Infrared Red, NDIR) technology, gas chromatography, electrochemical method, etc., among which, gas chromatography detects carbon dioxide after being completely separated from other components of air in the chromatographic column. However, the chromatographic analysis conditions often vary under different experimental conditions. Besides, standard gas needs to be configured during the measurement process, and pure nitrogen is generally used for the standard gas, which not only undergoes a cumbersome process but also requires a long operation period; the electrochemical method has high sensitivity, good accuracy, simple instrument but poor selectivity; NDIR technology possesses good selectivity and a fast response speed for CO2 detection [30,31], and is mostly used in indoor environmental monitoring, industrial production emission monitoring and other scenarios [32,33]. Based on the above comparison, this article chooses NDIR technology and compares a variety of CO2 sensors using this technology as shown in Table 3.
S8-0053, SCD30 and DS-CO2-20 are all provided with high monitoring accuracy and fast response speed. However, given that the monitoring terminal needs to be mounted on the UAV to operate smoothly, the airflow interference generated by the UAV will lead to lower monitoring accuracy. T6615-5KF is an inhalation detection method, which is more capable of resisting the impact of air pressure changes, though with a relatively poor monitoring accuracy. In addition, it is also suitable for the airborne application of UAVs. In this case, T6615-5KF is finally selected.
(iv).
Temperature and humidity sensor
The hereby selected temperature and humidity sensor is SHT21 which uses the I2C communication mode, the temperature monitoring range is −40~125 °C; the temperature monitoring accuracy, 0.3 °C; the relative humidity monitoring range, 0~100%; the relative humidity monitoring accuracy, 2% and the response time, 2 s.

2.1.2. Hardware Circuit Design

The STM32F429VGT6 microprocessor launched by ST Company is hereby selected as the core processor of the main control unit. This processor is based on the ARM Cortex M4 core, with fast data processing speed and large storage space and is, therefore, widely used in embedded devices [34]. It has eight channels of serial ports, four channels of SPI and three channels of I2C, rich I/O resources, and peripheral circuits including a reset circuit, a crystal oscillator circuit, a status indicator, and an RTC power supply.
The output of the three-electrode electrochemical sensor is a weak current signal with a classic conditioning circuit, and its structure is shown in Figure 3. A potentiostat circuit is formed by operational amplifiers U1, U2, and external reference sources V c e and V m i d to meet the fixed bias voltage between the working electrode (WE) and the reference electrode (RE) of the three-electrode electrochemical sensor mentioned above, that is, the amplifier U2 and feedback resistor R f form an I/V conversion circuit. The formula for calculating the magnification can be expressed as:
V o u t = V m i d I i n R f
where I i n denotes the current output by the working electrode (WE) terminal, and V o u t represents the output of the operational amplifier U2.
The classic conditioning circuit is needed to modify the feedback resistance and the reference source voltage and can drive different sensors normally. However, its adaptability is poor, the structure is complex, and it is difficult to stably maintain the constant potential of the sensor with specific bias requirements. Therefore, the LMP91000 electrochemical sensing front-end chip is hereby adopted as the processing core of the output signal of the electrochemical sensor. The working principle of the LMP91000 is shown in Figure 4.
According to Figure 4, the Vref voltage divider controls the potential of the “+” terminal of the TIA amplifier and the “+” terminal of the A1 amplifier by programming. According to the virtual short principle of the operational amplifier, a fixed bias voltage can be realized between WE and RE. In addition, the resistance values of the load resistance and feedback resistance are also selected by programming. For the WE electrode current outflow type sensor of the electrochemical sensor, the weak output current signal can output an mV level voltage signal after passing through the TIA amplifier. The conversion relationship is shown in Formula (2):
V o u t = V T I A I i n R t i a
For the WE electrode current inflow type sensor of the electrochemical sensor, the conversion relationship is shown in Formula (3):
V o u t = V T I A + I i n R t i a
where V T I A is the potential of the “−” terminal of the transimpedance amplifier TIA; V o u t , the output voltage, and I i n , the current signal output by the working electrode.
The load resistance matters considerably in reducing the noise of the sensor output, but a high load will extend the response time and polarization time. Therefore, the selection of R l o a d needs to achieve a good balance between low noise and response speed, generally within the range of 15~50 Ω.
The circuit connection between the electrochemical sensor and the LMP91000 is shown in Figure 5, where UA1 is an electrochemical sensor, and UA2 is an LMP91000. The electrochemical sensor requires a long polarization time to maintain its stable working state after being powered on. In addition, in order to keep the electrochemical sensor in the “preparatory work” state when the circuit is disconnected, it is necessary to short-circuit the working electrode and the reference electrode pin during the disconnection. More importantly, it is of great significance to disconnect the short circuit between the two pins in time when powering on. For the above reasons, a P-channel JFET (Q1) is thus introduced between the two electrodes. During the power-off period, the D-poles are turned on to achieve the short-circuiting effect, and they are disconnected immediately after power-on.
The LMP91000 communicates with the STM32 microprocessor through the I2C protocol. Both SCL and SDA pins are connected to the same pair of I2C interfaces of the microprocessor. LMP91000 has a chip select pin MENB. By controlling the level of this pin to determine whether it is in the selected state, multiple LMP91000s are enabled to communicate with the microprocessor. The structure is shown in Figure 6. The LMP91000 electrochemical sensing front-end chip greatly reduces the complexity of circuit design. Furthermore, corresponding parameters can be configured according to the characteristics of different electrochemical sensors, which thereby improves adaptability.
The filtering and signal acquisition circuit consists of voltage follower UA3, RC filtering and 24−bit high-precision A/D acquisition module AD7793, as shown in Figure 7, among which, AD7793 is a 24−bit three−channel low−noise differential analog input ADC produced by ADI, with a sampling rate of 4.17 Hz~470 Hz. It also integrates an on-chip low−noise instrument op amp programmed and controlled by SPI. The microprocessor can communicate data with multiple AD7793 through a chip select pin, and the electrochemical sensor is input to the voltage follower after signal processing. The voltage follower has the characteristics of high input impedance, low output impedance, and a gain of 1, which hardly interferes with the signal itself, and can effectively suppress the influence of the electrical characteristics between the front and rear stages.
The ADR441 reference source chip is used to provide the Vref+ of 2.5 V for AD7793 and LMP91000, and has the characteristics of high precision, low noise and low drift, and an output error of only ±3 mV. In addition, given that the output signal of the electrochemical sensor is weak and susceptible to interference, the digital−analog isolation modules ADuM1401 and ADuM1400 are used for isolating the SPI signal and the chip−select signal, respectively.
The CO sensor is taken as an example for signal analysis according to the electrochemical sensors selected in Table 1, which has a measurement of 0–500 ppm, a sensitivity coefficient of 70 ± 15 nA/ppm, and a bias voltage of 0 mV. Assuming that the sensitivity is 70 nA/ppm, the maximum current output becomes 35 uA according to the range. At the same time, the Vref divider of LMP91000 is controlled to maintain the bias between the RE and WE at 0 mV. According to Formula (1), the larger the V T I A is, the better the amplification effect becomes. Select 67% of the maximum reference source, and the amplified signal is required to be lower than 1675 mV, so the value of the signal is within the range of A/D. Therefore, R t i a is configured accordingly to 35 kΩ. According to Formula (2), the value of the amplified A/D sampling signal is calculated as 450 mV.
As the core driver of the whole system, the power supply module supplies power to each module, and its stability and load capacity have a huge impact on the performance of the entire system. In order to ensure the power supply performance, the power supply module is designed as shown in Figure 8, which is powered by two 3.7 V lithium batteries in series. Since the working voltage of the dust sensor and other modules is 5 V, and the working voltage of the main control chip is 3.3 V, the SPX29300-3V3 and SPX29300-5V high-power linear voltage regulator chips are selected to provide stable voltages of 5 V and 3.3 V. The input pins of the two voltage regulator chips are connected to 330 uF electrolytic capacitors for energy storage and effectively reduce the power input ripple. Considering the poor characteristics of large capacitors in filtering high-frequency signals, a 0.1 uF filter is connected in parallel at the back end. The capacitor also constitutes a secondary filter, and the capacitor introduced at the output end of the voltage stabilizer can effectively suppress the ripple generated by the voltage conversion of the voltage stabilizer. The magnetic beads are connected to the circuit in series to isolate the 3.3 V digital signal power supply from the analog signal power supply. In order to protect the circuit safety, a one-time fuse F2, Schottky diode D7, and TVS tube D8 are added to the input end of the power supply to prevent circuit overcurrent, reverse connection and absorb surges. At the same time, a micro-USB power supply interface is designed to meet the requirements of electrochemical sensor laboratory testing and preheating before use. The power input is filtered by a capacitor to provide a stable voltage of 5 V and input to the LM1117S-3.3 linear voltage regulator module, so a stable voltage of 3.3 V is provided by the LM1117S-3.3, and the front and rear capacitors.
The rationality of the PCB layout, line width, component spacing, power supply and bottom line routing, are all the keys to the overall performance of the realization of the hardware circuit. The physical diagram of the PCB is shown in Figure 9.

2.2. Design and Simulation Analysis of Pump Suction Series Cavity

During the flight and hovering of the UAV, the air velocity and gas concentration distribution around the fuselage is affected by the downwash flow of the propeller, which leads to certain errors in the gas sensor [35]. In order to minimize the error and improve the data accuracy, the air pump is used to send the external gas into the cavity, and the gas response cavity is thereby designed.
According to the size of the electrochemical sensor mentioned above, two cavity structures are designed as shown in Figure 10. CFD is an emerging discipline that simulates and analyzes fluid mechanics using computer and numerical methods. The powerful computing power of CFD provides technical support for fluid mechanics. In this case, a CFD simulation is hereby used for simulating the distribution of the gas flow field and pressure field when the gas flows through the cavity, which can effectively evaluate the influence of different cavity structure designs on the response of the electrochemical sensors. Besides, it is also required to mesh the part of the cavity through which the gas flows after completing the 3D modeling of the cavity in CAD. In addition, after importing the divided model, it is rather essential to select the simulation material, fluid model, boundary conditions, air inlet and outlet and set the initial conditions of the airflow field. Finally, the numerical solution is completed by a discrete solver.
(i).
Fluid model selection
The calculation model of CFD depends on the properties and flow state of the fluid. The Reynolds Number (Re) defines the ratio between the inertia and the viscous force of the fluid, and the calculation formula is shown in Formula (4). The fluid model can be determined by calculating Re: it is laminar flow when Re < 2300; transitional flow when Re = 2300~4000, and turbulent flow when Re > 4000.
R e = ρ v d η ,
where ρ is the fluid density and viscosity coefficient; d, the diameter of the tubular micro-element; v , the fluid flow velocity, and η, the fluid viscosity. The Reynolds number is calculated as greater than 4000, so the k ε turbulence model is selected for airflow simulation.
(ii).
Cavity meshing
It is necessary to simulate the flow field in the cavity by meshing the gas flow field. A comparison between the cover cavity and the cap cavity is shown in Table 4. Different divisions are made according to the characteristics of the two types of cavities. The cover cavity is shown in Figure 11a, and the cap cavity is displayed in Figure 11b.
(iii).
Setting of boundary conditions
In the case of performing numerical simulation calculations in the cavity, it is necessary to set the boundary conditions, mainly including the environmental conditions, velocity inlet, and pressure outlet. For the environmental conditions, the type of airflow entering the flow field is air, and the temperature is set to 293.15 K. One side is selected as the inlet boundary. At the same time, the flow velocity is calculated according to the flow rate of the air pump and the size of the air inlet, and the normal inflow velocity of the velocity field of the inlet boundary is set to 2 m/s. Meanwhile, the other side serves as the outlet boundary, and the pressure is 1 atm.
(iv).
Solving method
For the solution method, the finite element method is used to complete the solution based on the three basic conservation equations of flow, including the mass conservation Equation (5), the momentum conservation Equation (6), and the energy conservation Equation (7), expressed as follows:
ρ t + ( ρ u ) + ( ρ v ) + ( ρ w ) = 0
ρ v t + φ ( v ) u = [ p I + τ ] + F
ρ C p ( T t + ( u ) ) = ( q ) + ( τ : u ) ( l n ρ l n T ) p d p d t
where ρ is the fluid density; x , y , z , three orthogonal vectors; u, v, w, the components of the velocity field in the x , y , z directions; p, the pressure; τ , the viscous stress; F , the volume force; C p , the specific heat capacity; T , the temperature, and q , the heat flux.
The solution results are shown in Figure 12, where (a) and (b) are the simulation results of the velocity field streamlines, and (c) and (d) are those of the pressure field. The following conclusions can be drawn from the simulation results: when the airflow flows into the two cavities, the airflow in the cavity will be seriously diffused and most of the airflow will flow straight to the outlet due to the large calculation area inside the cover cavity; there is very little flow at the top, which not only prolongs the response time of the sensor but also causes errors in the accuracy of the results. Therefore, the cover cavity will not achieve the expected results and the internal computing area of the cap cavity is small, and most of the airflow flows directly to the top of the sensor, which greatly shortens the response time of the sensor.
By comparing and analyzing the flow direction of the airflow inside the cover cavity and the cap cavity, and their influence on the results through the above simulation results, it can be concluded that the cap cavity structure is more suitable for the actual needs of rapid sampling. Therefore, a series cavity with a buffer cavity is hereby designed on the basis of the cap cavity structure as shown in Figure 13, which is also simulated, and the simulation results are shown in Figure 14.
It can be seen from the above simulation results that the airflow conditions in the response cavity of each small cavity are basically the same in the designed series cavity, and the designed buffer cavity can affect the airflow when the speed of the air pump fluctuates. The buffering function keeps the airflow in the response cavity relatively stable.

2.3. Sensor Calibration and Compensation Method

Considering the process error of electrochemical sensor fabrication, there are certain differences in the sensitivity and baseline drift of each sensor. In order to make the monitoring results more accurate, the sensor should be necessarily calibrated for a more accurate sensitivity and zero voltage [36]. The reaction basis of the electrochemical sensors is a chemical reaction, the response of which is easily affected by temperature changes, thereby resulting in output drift in the case of climate changes throughout the year. Therefore, temperature compensation for the electrochemical sensors is also required. To this end, a linear regression algorithm is adopted for sensor calibration and a polynomial piecewise regression method is chosen for temperature compensation.

2.4. Software Solution Design

In order to drive the electrochemical sensor to work properly and read the current value, the LMP91000 and AD7793 are configured as shown in Figure 15. The LMP91000 is initialized and its power-on status is read after power-on. A value of 1 means that it is ready to receive I2C commands, unlock the write function to the chip and configure the TIACN and REFCN registers for setting variables including the load impedance, transimpedance gain, internal zero point potential, bias voltage, reference source and working mode. Finally, it needs to be locked to prohibit writing to the register. Then the AD7793 is initialized, and at the same time, the microprocessor sends an instruction to read the correctness of the register ID. For a correct ID, the first step is to set the configuration register, i.e., to select the gain, reference source and differential mode input channel, while the second step is to set the mode register, i.e., to set the working mode, clock source and sampling frequency. Finally, the ADC conversion result can be read from the data register.
AD7793 selects the external reference source as the sampling reference, the sampling range of which is 0~2.5 V, and the gain is 1. Additionally, the differential input channel 2 and the internal clock source are selected, and the sampling frequency is set to 16.7 Hz. According to the range and sensitivity parameters of the four electrochemical sensors selected in Table 1, the LMP91000 sets the potential of the TIA “−” terminal to 67% of the reference source, that is, V T I A = 1.675 V and the bias voltage is 0 mV. In order to make the output range of the electrochemical sensor after the amplifier within the A/D sampling range as far as possible, the values of R t i a in the LMP91000 are selected as follows: CO sensor—350 kΩ; SO2 sensor—120 kΩ; NO2 sensor—120 kΩ, and O3 sensor—120 kΩ. Besides, the load resistance R l o a d is selected as 50 Ω.
The STM32F429VGT6 processor reads the readings of each electrochemical gas sensor using the SPI chip selection polling method, and these values are calibrated through a calibration model and a temperature compensation model. Then, readings of the CO2 sensor, particulate matter sensor, and temperature and humidity sensor are read in turn. All data are stored in an SD card for backup, and the data are sent in UART mode. At the same time, warning lights are set up to remind the programmer of errors.

3. Results

In this chapter, firstly, the CO electrochemical sensor is taken as an example to conduct a CFD experiment on the series cavity designed in the previous chapter. Then, the parameter calibration experiment based on the linear regression model and the piecewise temperature compensation method experiment are, respectively, carried out to reduce the errors caused by the sensor.

3.1. Experimental Verification and Analysis of CFD Simulation

In order to verify the consistency of the simulation results with the actual effect, the CO sensor is taken as an example to carry out the verification experiment. The 3D printing technology is used to realize the serial cavity, and nylon material is chosen for the printing. Firstly, the cavity is installed on the CO sensor. When the sensor polarization is completed and the output is stable after 2 min of power-on, clean air is introduced into the cavity for 2.5 min. At the same time, the gas mixture is controlled by a Mass Flow Controller (MFC). Then, the air is mixed with 1000 ppm CO according to the ratio of 98:2, and passes the cavity for 2.5 min. Finally, clean air passes through the cavity for 2.5 min. Since the electrochemical sensor will generate a weak current itself when not in contact with the target gas, the output is considered the baseline current. Therefore, the sensor baseline is corrected following Formula (8) in the data processing process, where I is the current of the sensor after baseline processing; I t , the original current value of the sensor at time t, and N, the sampling times, generally within the range of 60–120. Excluding the polarization process data, the experimental results after baseline processing are shown in Figure 16.
I = I t 1 N t = 1 N I t
The experimental results show that the response generated by the CO sensor is smooth and stable under the series cavity, and the time (t90) for reaching 90% of the stable response is about 30 s.
The monitoring terminal is mainly used for monitoring atmospheric environmental pollution. The concentration of various polluting gases is low in the atmospheric environment. Therefore, the measured gas is mixed to a low concentration in the follow-up experiment. In order to verify the series cavity’s capability of achieving the same effect, four CO electrochemical sensors of the same batch are installed on the series cavity for experiments, with the CO gas test as an example.
For a low measured gas concentration value, the sensor tends to exhibit relatively large noise, which requires the obtained data to be denoised. Exponentially Weighted Moving-Average (EWMA) is an algorithm that estimates the current value by combining it with historical observations, as shown in Equation (9) [37]. When the current value is predicted, the weight of the historical observation value decreases exponentially with time. The closer the data are to the current moment, the higher the correlation is and the greater the weight becomes, which can effectively reflect the recent change trend.
Y i = ( 1 k ) i ρ 0 + k ( 1 k ) i 1 X ¯ 1 + k ( 1 k ) i 2 X ¯ 2 + + k ( 1 k ) i ( i 1 ) X ¯ i 1 + k ( 1 k ) i i X ¯ i , i > 0 ,
where ρ 0 is the initial time value; ρ 0 =   Y 0 , X ¯ i , the observed value at the time; Yi, the predicted value at the time and k, the weighted descending speed. The larger the value is, the faster the weighting decreases.
The coefficient can be expressed as the half-life τ h a l f function [38]:
k = 1 exp ( log 0.5 τ h a l f f s )
where f s is the sampling frequency. The experimental results before and after EWMA filtering and the experimental results of four CO sensors at the same time are shown in Figure 17 and Figure 18, respectively.
In the figure, CO_1_EWMA, CO_2_EWMA, CO_3_EWMA, and CO_4_EWMA represent the response curves of the four CO sensors installed in the series cavity from left to right after EWMA filtering, respectively. The horizontal axis represents time, and the vertical axis is the output current value of the working electrode. The experimental results show that the response duration and response start time of the four CO sensors in the series cavity are basically the same, and there is almost no delay problem, which is consistent with the simulation results.

3.2. Sensor Calibration Experiment

The monitoring terminal and standard equipment are connected to the gas circuit in series. Similar to the above experimental process, clean air is introduced for 2.5 min when the polarization of each sensor is completed, and the MFC is controlled to introduce a certain concentration of a single type of target gas for 2.5 min. Then, the target gas concentration is increased through MFC and passed into the gas path. A gas concentration step is formed after several increases in the concentration. The current output value I of the monitoring terminal and the gas concentration value C are recorded during the whole process, and the experiment is repeated five times.
The response generated by the electrochemical sensor in its range has a linear relationship with the target gas concentration. Taking the CO sensor as an example, its sensitivity is 70 ± 15 nA/ppm according to Table 1. A linear model is built accordingly as shown in Formula (11), where C ^ is the gas concentration predicted by the model; I , the current value output by the sensor; w, the sensitivity correction factor and b, the offset.
C ^ = ( 70 + w ) I + b
The preprocessing and model training process is shown in Figure 19. The ratio of the training set to the test set is 7:3.
The data recorded by the monitoring terminal are processed by the baseline and filtered by EWMA. At the same time, the average values I0, I1, I2, …, In (n > 0, n∈R) of the 1 min data are taken after each step is stabilized, and these average values are input into the linear model for prediction. The loss function is L1Loss as shown In Equation (12), which takes the absolute value of the difference between the true value of gas concentration measured by standard equipment and the model predicted value. Adam optimizer is used for parameter optimization, and the learning rate is 0.5.
l o s s ( x , y ) = 1 n i = 1 n | y i y ^ i |
During backpropagation, the parameters θ (including the sensitivity factor w and bias b) are updated by minimizing the loss product of the gradient θ and the learning rate a as shown in Equation (13). Backpropagation is automatically handled by the Adam optimizer under the pytorch framework. The linear regression model can better fit the training set data after each iteration of feedforward and backpropagation.
θ = θ a l o s s θ
After 150 iterations, the loss tends to be stable, and the training results of parameters w and b are w = 2.754541, and b = 0.4882. The performance in the test set is shown in Figure 20a, where it can be observed that R2 = 0.998106, and the fitting degree is rather high. The comparison of the linear regression model before and after calibration is shown in Figure 20b. After calibration, the output is closer to the real gas concentration value.

3.3. Design of Segmented Temperature Compensation Method

The temperature compensation design is hereby carried out according to the factory test temperature compensation curve in the data sheet of each sensor. Considering the strong nonlinearity of the temperature compensation curve, the order of the model must be much higher to achieve a better fitting effect. Additionally, the adoption of the linear regression method results in a segmentation phenomenon in the results. Therefore, in order to reduce the complexity of the model, piecewise polynomial regression is used for designing the temperature compensation as shown in Equation (14), where C denotes the gas concentration value after calibration; CT, the concentration value detected by the electrochemical sensor at the temperature T; T, the temperature, and the unit is °C; a ,   b and c the weight of temperature at order 1, 2 and 3, respectively, and d , the bias. The training results of each parameter are shown in Table 5. Figure 21 depicts the temperature compensation curves of various sensors corresponding to the model.
C = { C T / ( a 1 T + b 1 T 2 + c 1 T 3 + d 1 ) % , 10   T 0   ; C T / ( a 2 T + b 2 T 2 + c 2 T 3 + d 2 ) % , 0   T 15   ; C T / ( a 3 T + b 3 T 2 + c 3 T 3 + d 3 ) % , 15   T 30   ; C T / ( a 4 T + b 4 T 2 + c 4 T 3 + d 4 ) % , 30   T 45   ;

4. Discussion

So far, the design of the entire gas monitoring terminal has been completed. An automobile exhaust pollution point detection experiment is hereby designed to verify the scheme feasibility, and the F330 rotorcraft is used and the airborne monitoring terminal is also installed directly below the UAV to ensure the safety of the experiment. A fuel vehicle is started and parked in the open parking lot on the west side of the Electronic Information Engineering College of the Hebei University of Technology. After waiting for about 20 min, the exhaust gas emitted by the vehicle reaches a relatively stable distribution around it. A remote control is used to control the F330 rotorcraft to take off about 5 m from the horizontal direction of the vehicle and 1.8 m from the ground. Then, the UAV flies to the vehicle and carries out hovering sampling around the vehicle. At the same time, the ground station system records the flight track and various gas concentration data of the UAV, as shown in Figure 22.
The whole process of the UAV taking off and returning to the starting point is intercepted, and the result of the rotorcraft flight trajectory is shown in Figure 23a. The blue line denotes the flight trajectory of the UAV; the green diamond, the rotorcraft take-off point of the UAV; the orange diamond, the landing point of the UAV, and the red triangle, the location of the vehicle. The gas monitoring data are preprocessed and the data during the warm-up period are removed and normalized. Changes in various gas concentrations during the entire flight are shown in Figure 23b.
The experimental results show that the concentrations of CO, SO2, NO2, and CO2 are significantly increased near the vehicle position, and the system can still carry out effective gas environment monitoring under the disturbance of UAV airflow.

5. Conclusions

The overall hardware design of the monitoring terminal is hereby expounded. In the first part, the selection of sensors is carried out, and the NIDR carbon dioxide sensor, particulate matter sensor and temperature and humidity sensor are finally selected after comparing and analyzing the performance of various sensors. At the same time, the design of each part of the hardware circuit is introduced in detail, and the signal analysis of the driving circuit of the electrochemical sensor is carried out to obtain the original signal output value of each sensor; Then, the cavity design and CFD simulation are conducted to reduce the influence of the airflow disturbance of the UAV and improve the response speed. The simulation results show that the airflow conditions in the response cavity of each small cavity are basically the same in the designed series cavity. The designed buffer cavity can buffer the airflow when the speed of the air pump fluctuates so that the airflow into the response cavity remains relatively stable; finally, the software design is performed. In the second part, taking the CO sensor as an example, the CFD simulation experiment is compared and analyzed. The experimental results show that the designed series type can effectively shorten the response time of the sensor by 7.6 s. Considering the sensitivity of the electrochemical sensor and the difference in baseline drift that leads to the problem of bias in the results, the sensor calibration and temperature compensation are carried out. Based on the linear regression algorithm, the calibration model experiment of the electrochemical sensor is designed and accomplished. The experimental results show that the R2 of the model reaches 0.9981, and the fitting effect is rather high. After calibration, the output is much closer to the real gas concentration value. Finally, the design experiment of the segmented temperature compensation method is carried out. The temperature compensation parameters are determined, thereby improving the accuracy of the entire hardware terminal. In the third part, a vehicle exhaust monitoring experiment is designed to verify the feasibility of the gas monitoring terminal, which is proven capable of detecting the emission position of the vehicle exhaust under the interference of the downwash flow of the rotorcraft.

Author Contributions

Conceptualization, Y.L. and L.C.; methodology, Y.L.; formal analysis, S.F.; writing—original draft preparation, Y.L.; writing—review and editing, S.F. and Y.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China under Grant 42075129, and the S&T Program of Hebei Province of China under Grant 20351802D, and the Key research project of science and technology for the higher education of Hebei Province of China under Grand ZD2019010.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors thank the reviewers for their thorough reading and helpful comments.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Laiou, A.; Malliou, C.M.; Lenas, S.-A.; Tsaoussidis, V. Autonomous fault detection and diagnosis in wireless sensor networks using decision trees. J. Commun. 2019, 14, 544–552. [Google Scholar] [CrossRef]
  2. Tanona, M.; Czarnota, P. Index of atmospheric purity reflects the ecological conditions better than the environmental pollution in the Carpathian forests. J. Mt. Sci. 2020, 17, 104–119. [Google Scholar] [CrossRef]
  3. Boogaard, H.; Walker, K.; Cohen, A.J. Air pollution: The emergence of a major global health risk factor. Int. Health 2019, 11, 417–421. [Google Scholar] [CrossRef] [PubMed]
  4. Fu, G.; Zhao, Z.; Hao, C.; Wu, Q. The Accident Path of Coal Mine Gas Explosion Based on 24Model: A Case Study of the Ruizhiyuan Gas Explosion Accident. Processes 2019, 7, 73. [Google Scholar] [CrossRef] [Green Version]
  5. Papapostolou, V.; Zhang, H.; Feenstra, B.J.; Polidori, A. Development of an environmental chamber for evaluating the performance of low-cost air quality sensors under controlled conditions. Atmos. Environ. 2017, 171, 82–90. [Google Scholar] [CrossRef]
  6. Zhang, Y.; Lv, X.J.; Li, Z.H.; Yang, Z.; Chen, K. Repetitive motion planning of PA10 robot arm subject to joint physical limits and using LVI-based primal-dual neural network. Mechatronics 2008, 18, 475–485. [Google Scholar] [CrossRef]
  7. Madhava, K.K.; Alami, R.; Simeon, T. Safe proactive plans and their execution. Robot. Auton. Syst. 2006, 54, 244–255. [Google Scholar] [CrossRef] [Green Version]
  8. Farzanehkaloorazi, M.H.; Masouleh, M.T.; Caro, S. Collision-free workspace of parallel mechanisms 478 based on an interval analysis approach. Robotica 2018, 38, 1747–1760. [Google Scholar]
  9. Domínguez, R.; Somonte, M.D. Design in robotics based in the voice of the customer of household robots. Robot. Auton. Syst. 2016, 79, 99–107. [Google Scholar]
  10. Singh, A.K.; Krishna, K.M. Feasible acceleration count: A novel dynamic stability metric and its use in incremental motion planning on uneven terrain. Robot. Auton. Syst. 2016, 79, 156–171. [Google Scholar] [CrossRef]
  11. Hieu, T.D.; Dung, L.T.; Kim, B.S. Stability-aware geographic routing in energy harvesting wireless sensor networks. Sensors 2016, 16, 696. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  12. Kuncoro, C.B.D.; Luo, W.J.; Selamet, M.R.; Mulyati, N.S.; Andi, S.K.; Kuan, Y.D. Automatic Wireless Ambient Air and Weather Condition Monitoring System for Outdoor Environment Monitoring Applications. Sens. Mater. 2020, 32, 337–356. [Google Scholar] [CrossRef]
  13. Feng, Z.Q. Optimization and Simulation of Atmospheric Environment Monitoring System Based on Wireless Sensor. J. Sens. 2021, 2021, 7714355. [Google Scholar] [CrossRef]
  14. Li, B. Optimization of multi-intelligent robot control systembased on wireless communication network. Wirel. Commun. Mob. Comput. 2021, 15, 10. [Google Scholar]
  15. Capezzuto, L.; Abbamonte, L.; De Vito, S.; Massera, E.; Formisano, F.; Fattoruso, G.; Di Francia, G.; Buonanno, A. A maker friendly mobile and social sensing approach to urban air quality monitoring. In Proceedings of the SENSORS, Valencia, Spain, 2–5 November 2014; Volume 2, pp. 12–16. [Google Scholar]
  16. Popoola, O.A.; Carruthers, D.; Lad, C.; Bright, V.B.; Mead, M.I.; Stettler, M.E.; Saffell, J.R.; Jones, R.L. Use of networks of low cost air quality sensors to quantify air quality in urban settings. Atmos. Environ. 2018, 194, 58–70. [Google Scholar] [CrossRef]
  17. Zhang, R.S.; Zhan, J.Y.; Yu, H.C. Review of modeling and control in UAV autonomous maneuvering flight. In Proceedings of the 2018 IEEE International Conference on Mechatronics and Automation (ICMA), Changchun, China, 4–7 August 2018. [Google Scholar]
  18. Marin, J.; Parra, L.; Rocher, J.; Sendra, S.; Lloret, J.; Mauri, P.V.; Masaguer, A. Urban Lawn Monitoring in Smart City Environments. J. Sens. 2018, 2018, 8743179. [Google Scholar] [CrossRef] [Green Version]
  19. Shakhatreh, H.; Sawalmeh, A.H.; Al-Fuqaha, A.; Dou, Z.; Almaita, E.; Khalil, I.; Guizani, M. Unmanned aerial vehicles (UAVs): Asurvey on civil applications and key research challenges. IEEE Access 2019, 7, 48572–48634. [Google Scholar] [CrossRef]
  20. Lo, L.-Y.; Yiu, C.H.; Tang, Y.; Yang, A.-S.; Li, B.; Wen, C.-Y. Dynamic Object Tracking on Autonomous UAV System for Surveillance Applications. Sensors 2021, 21, 7888. [Google Scholar] [CrossRef]
  21. Pretto, A.; Aravecchia, S.; Burgard, W.; Chebrolu, N.; Dornhege, C.; Falck, T.; Nieto, J. Building an aerial-ground robotics system for precision farming: An adaptable solution. IEEE Robot. Autom. Mag. 2021, 28, 29–49. [Google Scholar] [CrossRef]
  22. Hu, Z.; Bai, Z.; Yang, Y.; Zheng, Z.; Bian, K.; Song, L. UAV Aided Aerial-Ground IoT for Air Quality Sensing in Smart City: Architecture, Technologies, and Implementation. IEEE Netw. 2019, 33, 14–22. [Google Scholar] [CrossRef] [Green Version]
  23. Lambey, V.; Prasad, A.D. A Review on Air Quality Measurement Using an Unmanned Aerial Vehicle. Water Air Soil Pollut. 2021, 232, 109. [Google Scholar] [CrossRef]
  24. Robinson, J.A.; Kocman, D.; Horvat, M.; Bartonova, A. End-user feedback on a low-cost portable air quality sensor system—Are we there yet? Sensors 2018, 18, 3768. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  25. Gäbel, P.; Koller, C.; Hertig, E. Development of Air Quality Boxes Based on Low-Cost Sensor Technology for Ambient Air Quality Monitoring. Sensors 2022, 22, 3830. [Google Scholar] [CrossRef] [PubMed]
  26. Lai, W.-I.; Chen, Y.-Y.; Sun, J.-H. Ensemble Machine Learning Model for Accurate Air Pollution Detection Using Commercial Gas Sensors. Sensors 2022, 22, 4393. [Google Scholar] [CrossRef] [PubMed]
  27. Gómez-Suárez, J.; Arroyo, P.; Alfonso, R.; Suárez, J.I.; Pinilla-Gil, E.; Lozano, J. A Novel Bike-Mounted Sensing Device with Cloud Connectivity for Dynamic Air-Quality Monitoring by Urban Cyclists. Sensors 2022, 22, 1272. [Google Scholar] [CrossRef]
  28. Pang, X.; Chen, L.; Shi, K.; Wu, F.; Chen, J.; Fang, S.; Xu, M. A lightweight low-cost and multipollutant sensor package for aerial observations of air pollutants in atmospheric boundary layer. Sci. Total Environ. 2021, 764, 142828. [Google Scholar] [CrossRef]
  29. Ouyang, B. First-Principles Algorithm for Air Quality Electrochemical Gas Sensors. ACS Sens. 2020, 5, 2742–2746. [Google Scholar] [CrossRef]
  30. Chen, K.; Zhang, X.; Zhao, Z.; Wei, J.; Zhu, X.; Shi, Y. Big bore and extremely fexible mid-infrared hollow waveguide for gas absorption module. Sens. Actuators A Phys. 2019, 285, 45–49. [Google Scholar] [CrossRef]
  31. Chen, C.; Dang, J.M.; Huang, J.Q. DFB laser temperature control system with high stability and strong robustness. J. Jilin Univ. Eng. Technol. Ed. 2013, 43, 1004–1010. [Google Scholar]
  32. Dinh, T.V.; Lee, J.Y.; Ahn, J.W.; Kim, J.C. Development of a Wide-Range Non-Dispersive Infrared Analyzer for the Continuous Measurement of CO2 in Indoor Environments. Atmosphere 2020, 11, 1024. [Google Scholar] [CrossRef]
  33. Zhou, L.; He, Y.; Zhang, Q.; Zhang, L. Carbon Dioxide Sensor Module Based on NDIR Technology. Micromachines 2021, 12, 845. [Google Scholar] [CrossRef] [PubMed]
  34. Huang, Y.; Doh, I.J.; Bae, E. Design and Validation of a Portable Machine Learning-Based Electronic Nose. Sensors 2021, 21, 3923. [Google Scholar] [CrossRef] [PubMed]
  35. Yao, L.; Wang, Q.; Yang, J.; Zhang, Y.; Zhu, Y.; Cao, W.; Ni, J. UAV-Borne Dual-Band Sensor Method for Monitoring Physiological Crop Status. Sensors 2019, 19, 816. [Google Scholar] [CrossRef] [Green Version]
  36. Laref, R.; Losson, E.; Sava, A.; Siadat, M. Empiric Unsupervised Drifts Correction Method of Electrochemical Sensors for in Field Nitrogen Dioxide Monitoring. Sensors 2021, 21, 3581. [Google Scholar] [CrossRef] [PubMed]
  37. Shamsuzzaman, M.; Shamsuzzoha, A.; Maged, A.; Haridy, S.; Bashir, H.; Karim, A. Effective monitoring of carbon emissions from industrial sector using statistical process control. Appl. Energy 2021, 300, 117352. [Google Scholar] [CrossRef]
  38. Schmuker, M.; Bahr, V.; Huerta, R. Exploiting plume structure to decode gas source distance using metal-oxide gas sensors. Sens. Actuators B-Chem. 2016, 235, 636–646. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Hardware structure of monitoring terminal.
Figure 1. Hardware structure of monitoring terminal.
Sensors 22 05350 g001
Figure 2. Three electrode electrochemical sensor structure.
Figure 2. Three electrode electrochemical sensor structure.
Sensors 22 05350 g002
Figure 3. Classic conditioning circuit structure.
Figure 3. Classic conditioning circuit structure.
Sensors 22 05350 g003
Figure 4. Working principle diagram of LMP91000.
Figure 4. Working principle diagram of LMP91000.
Sensors 22 05350 g004
Figure 5. Electrochemical sensor circuit based on LM91000.
Figure 5. Electrochemical sensor circuit based on LM91000.
Sensors 22 05350 g005
Figure 6. I2C connection mode of multiple LMP91000.
Figure 6. I2C connection mode of multiple LMP91000.
Sensors 22 05350 g006
Figure 7. Signal acquisition circuit.
Figure 7. Signal acquisition circuit.
Sensors 22 05350 g007
Figure 8. Power supply circuit design.
Figure 8. Power supply circuit design.
Sensors 22 05350 g008
Figure 9. PCB physical picture of monitoring terminal.
Figure 9. PCB physical picture of monitoring terminal.
Sensors 22 05350 g009
Figure 10. (a) Cover cavity structure; (b) Cap cavity structure.
Figure 10. (a) Cover cavity structure; (b) Cap cavity structure.
Sensors 22 05350 g010
Figure 11. (a) Cover cavity airflow field gridding; (b) Cap cavity airflow field gridding.
Figure 11. (a) Cover cavity airflow field gridding; (b) Cap cavity airflow field gridding.
Sensors 22 05350 g011
Figure 12. (a) Simulation results of velocity field in a cover cavity; (b) Simulation results of velocity field in a cap cavity; (c) Simulation results of pressure field in a cover cavity; (d) Simulation results of pressure field in a cap cavity.
Figure 12. (a) Simulation results of velocity field in a cover cavity; (b) Simulation results of velocity field in a cap cavity; (c) Simulation results of pressure field in a cover cavity; (d) Simulation results of pressure field in a cap cavity.
Sensors 22 05350 g012
Figure 13. Series cavity structure.
Figure 13. Series cavity structure.
Sensors 22 05350 g013
Figure 14. Simulation results of the velocity field in series cavity.
Figure 14. Simulation results of the velocity field in series cavity.
Sensors 22 05350 g014
Figure 15. (a) LMP91000 program flow; (b) AD7793 program flow.
Figure 15. (a) LMP91000 program flow; (b) AD7793 program flow.
Sensors 22 05350 g015
Figure 16. Response results of CO sensors.
Figure 16. Response results of CO sensors.
Sensors 22 05350 g016
Figure 17. Comparison of before and after EWMA filtering.
Figure 17. Comparison of before and after EWMA filtering.
Sensors 22 05350 g017
Figure 18. Response results of 4 CO sensors in series cavity.
Figure 18. Response results of 4 CO sensors in series cavity.
Sensors 22 05350 g018
Figure 19. Preprocessing and model training process.
Figure 19. Preprocessing and model training process.
Sensors 22 05350 g019
Figure 20. (a) Result of linear regression; (b) Comparison of linear regression model before and after calibration.
Figure 20. (a) Result of linear regression; (b) Comparison of linear regression model before and after calibration.
Sensors 22 05350 g020
Figure 21. (a) CO gas temperature compensation curve; (b) SO2 gas temperature compensation curve; (c) NO2 gas temperature compensation curve; (d) O3 gas temperature compensation curve.
Figure 21. (a) CO gas temperature compensation curve; (b) SO2 gas temperature compensation curve; (c) NO2 gas temperature compensation curve; (d) O3 gas temperature compensation curve.
Sensors 22 05350 g021
Figure 22. UAV pollution point detection experiment.
Figure 22. UAV pollution point detection experiment.
Sensors 22 05350 g022
Figure 23. (a) Flight trajectory; (b) The changes in various gas concentrations.
Figure 23. (a) Flight trajectory; (b) The changes in various gas concentrations.
Sensors 22 05350 g023
Table 1. Characteristic parameters of 4 kinds of sensors.
Table 1. Characteristic parameters of 4 kinds of sensors.
Sensitive GasModelRangeResolutionSensitivityBiasResponse Time
CO4CO-5000–500 ppm1 ppm70 ± 15 nA/ppm0 mV≤30 s
SO24SO2-200–20 ppm0.1 ppm500 ± 100 nA/ppm0 mV≤45 s
NO24NO2-200–20 ppm0.1 ppm600 ± 150 nA/ppm0 mV≤30 s
O34O3-100–10 ppm0.05 ppm850 ± 250 nA/ppm0 mV≤45 s
Table 2. Comparison of particulate matter sensors.
Table 2. Comparison of particulate matter sensors.
Parameter DescriptionHPM 115S0-XXXHPM 115S0-XXX
manufacturersHoneywellENVIRONMENTAL MONITORING
supply voltage5VDC5VDC
PM2.5 effective range0~1000 µg/m3N/A
PM10 effective range0~1000 µg/m30~1000 µg/m3
response time6 s15 s
resolution15 µg/m315 µg/m3
Table 3. CO2 sensors performance comparison.
Table 3. CO2 sensors performance comparison.
Parameter DescriptionS8-0053T6615-5KFSCD30DS-CO2-20
manufacturersSense AirTelaireSensirionPanteng Technology
monitoring scope400~2000 ppm0~5000 ppm400~10,000 ppm400~3000 ppm
monitoring accuracy±40 ppm±75 ppm±30 ppm±50 ppm
response time2 s4 s2 s3 s
detection methoddiffusioninhalationdiffusiondiffusion
Table 4. Cavity type comparison.
Table 4. Cavity type comparison.
Cavity TypeCover CavityCap Cavity
boundary structuresimple, few detailsThe entrance and exit structure is complex
calculation arealargerless
meshingcoarse meshRefine the mesh
grid number20,14658,909
Table 5. Temperature compensation parameters.
Table 5. Temperature compensation parameters.
ParameterCOSO2NO2O3
a 1 0.8090470.1290480.4261900.119048
b 1 −0.015428−0.0045710.0342860.076571
c 1 −0.002133−0.0026670.0026670.004267
d 1 88.667142100.96714392.478571100.817143
a 2 1.2943120.5253440.082011−0.085079
b 2 −0.026984−0.0205080.0206350.004381
c 2 −0.000740−0.000830−0.000296−0.000178
d 2 88.166667100.46666793.166667100.9
a 3 −14.503306−4.650317−5.401587−0.4
b 3 0.6406340.1855240.2533330
c 3 −0.008740−0.002311−0.0035560
d 3 203.32412137.411905135.0238090
a 4 17.52248615.2976193.047884−5.246825
b 4 −0.448413−0.354286−0.0074600.116905
c 4 −0.0037040.0026670.000593−0.000089
d 4 114.186507−111.57142964.873016171.333
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Liu, Y.; Chen, L.; Fan, S.; Zhang, Y. Design of Gas Monitoring Terminal Based on Quadrotor UAV. Sensors 2022, 22, 5350. https://0-doi-org.brum.beds.ac.uk/10.3390/s22145350

AMA Style

Liu Y, Chen L, Fan S, Zhang Y. Design of Gas Monitoring Terminal Based on Quadrotor UAV. Sensors. 2022; 22(14):5350. https://0-doi-org.brum.beds.ac.uk/10.3390/s22145350

Chicago/Turabian Style

Liu, Yang, Lei Chen, Shurui Fan, and Yan Zhang. 2022. "Design of Gas Monitoring Terminal Based on Quadrotor UAV" Sensors 22, no. 14: 5350. https://0-doi-org.brum.beds.ac.uk/10.3390/s22145350

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop