4.2.1. Using Raw Readings: Uncalibrated Measurements
Table 6 and
Table 7 show the daily mean values for each day from 12 to 20 March (the test period) for Node 1 and Node 2, respectively, with details of T and RH in °C and %, respectively; PM1, PM2.5 and PM10 in µg/m
3; TVOC in levels;
O in mg/m
3; and
, CO,
,
in ppm. The sensors and units within the ZPHS01B module are listed in
Table 3. In addition,
Table 8 show the minimum (min.), maximum (max.) and standard deviation (std.) of the readings from these nodes for each day, during this period.
From these tables, in particular
Table 6 and
Table 7, we see a similar behavior among the sensors from Node 1 and 2, with slight differences due to the small gap in the placement. We must stress that the RH sensor in Node 2 has an offset, with readings above 100%, in particular 113.326%. Notice that, checking
Table 8, this Node 2 has RH mean values on days 18th, 19th and 20th higher than 100%. With regard to PM, it can be observed that Node 2 is more affected by fireworks, firecrackers and fumes on the 18th and 19th since it is closer to them. However, when the monument is burned (late at night on the 19th), Node 1 detects higher PM levels due to its proximity to it. Also, we see that TVOCs are higher in Node 1 than in Node 2, in particular on the 15th and 16th, due to the materials used (paints, varnishes and glues) when setting up the monuments. On the other hand, we observe that the CO sensors do not seem to respond (remaining around 0.5 ppm), while the
sensors appear to be saturated, measuring close to the maximum of 10 ppm, particularly Node 2. Notice about the
sensor, as mentioned in
Section 3.1.2, this sensor is one of the most sensitive ones and suffers from high cross-sensitivity issues with other gases, this being one of the main reasons for this saturation behavior most of the time.
In
Figure 9,
Figure 10,
Figure 11 and
Figure 12 are shown the instantaneous readings from Node 1, Node 2 and the AQMS (as a reference) during the test period, for PM2.5,
,
and CO pollutants, respectively, since they are available both in the AQ IoT nodes and the AQMS. In order to keep the same units, we have translated, according to [
39], the readings from Node 1 and 2 into µg/m
3, except for CO in mg/m
3.
From these figures, we highlight, in
Figure 9, how PM increases from March 17th with the maximum on the night of the 19th (denoted as (8) in
Table 4). Also, we can see periodically peaks associated with the daily events held at 14:00 everyday, denoted as (1), as well as the events denoted as (2) and (7). Note that these peaks are less defined in the AQMS, as the station is not located in the exact same place and is in a clearer environment, as detailed in
Section 3.4. To maintain a better scale and more clearly observe this behavior in
Figure 9, we have trimmed the peaks detected in the nodes.
Regarding
in
Figure 10, we observe a similar pattern and the same tendencies as the AQMS, and both nodes detected a pattern associated with the
formation cycle. This gas is generated by complex photochemical reactions involving NO,
and
in the presence of sunlight [
40]. It is worth mentioning that the
sensor on the ZPHS01B has a minimum detection limit of 0.02 ppm, which corresponds to approximately 40 µg/m
3. However, the minimum value recorded by the regulated AQMS is 4 µg/m
3. Therefore, this low-cost
sensor does not have sufficient resolution to detect
concentrations below this threshold.
Regarding the
and CO sensors, we observe the same behavior of reduced activation as mentioned earlier. However, we must stress that the CO sensors in
Figure 12 show a peak at the end of the festival, that it is related to the main event
La Cremà (denoted as (8) in
Table 4), when all the monuments are burnt.
In addition, although not considered as AQ parameters, both T and RH indirectly impact on AQ measurements.
Figure 13 and
Figure 14 present the instantaneous readings from Node 1, Node 2 and the AQMS during the festival for T and RH, respectively, with virtually the same behavior although, in Node 2 for RH, an offset is clearly observed making readings higher than 100%. Also notice that the AQMS measures T in the station (inside), while the nodes are placed outdoors, showing a lower T.
Further analysis of all these measurements is shown in
Figure 15,
Figure 16,
Figure 17,
Figure 18,
Figure 19 and
Figure 20, which present the violin plots of the normalized measurement distributions during the test period for the T, RH, PM2.5,
,
and CO sensors, respectively, from Node 1 and Node 2 compared to the AQMS. We normalize their values in order to highlight better their distribution. The similarities between the two nodes are evident, as well as a different scale compared to the AQMS, or reference. However, we can identify a similar histogram shape and behavior, with the same tendencies as the reference. In the case of T and RH, it shows a similar pattern to the bimodal histogram for the day/night cycle. Similarly, PM2.5 and
follow a similar shape distribution but at a different scale. Regarding the
and CO sensors, based on the previous results, we cannot confirm clear details.
Finally,
Figure 21,
Figure 22 and
Figure 23 show instantaneous readings from pollutants available in the ZPHS01B module (Node 1 and 2), but not available in the AQMS, during the test period, such as TVOCs,
and
O. In particular, with regard to TVOCs, higher values are seen between the 15th and 17th due to the monument setup, using paints, varnishes and glues, denoting these events as (2) according to
Table 4. Since this sensor only provides four levels, the resolution is low as well as there is high variability between the nodes due to the sensor’s sensitivity, with specific conditions on each node influencing the measurements. The effect of the monument setup (denoted as (2)) can be seen too in the
O sensor,
Figure 23, that monitors formaldehyde found in the mentioned materials as well as in pyrotechnic products (denoted as (1)), fireworks (denoted as (6) and (8)), fumes and road traffic. Finally, in
Figure 22,
shows the human activity and road traffic every day. Notice that these sensors (TVOC,
and
O) from Node 1 and 2 behave similarly but with different offsets, in particular for
.
From these previous results, it is clear that this festival alters the AQ, especially in terms of PM. We observe that PM2.5 is the pollutant most directly impacted by fireworks and firecrackers due to the smoke and residual particles they produce.
Also notice that during the first days of the festival (at the beginning), the PM readings are lower as observed in
Table 6 and
Table 7. However, from March 14th onward, the levels increase until they reach the highest point on the final days. This increase is due to the growing number and intensity of pyrotechnic events, fireworks, fumes and road traffic in general.
Additionally, if we look at
Table 4, every day, there are pyrotechnic events scheduled at 14:00 h and 00:00 h. The level of the pollutant reaches the highest peak on 19 March, the day of burning all the monuments (named
La Cremà), from 20:00 h till 02:00 am (on the next day), specifically, when the
Falla Na Jordana is burnt, where the AQ IoT nodes are placed. Also, we can observe peaks that are associated to explosions of firecrackers launched next to Node 2 as well as more activity in the evenings. Node 1 is closer to the monument and, there, it is not permitted to light firecrackers since it is more crowded.
4.2.2. Calibrated Measurements
From these previous results, we observe that the most accurate sensors, compared to the regulated AQMS and included in the AQG (shown in
Table 1), are PM2.5 and
. Thus, now we perform a calibration analysis on these sensors. Note that PM1 and PM10 are derived from PM2.5,
is saturated and CO is not excited most of the time.
The calibration process is scheduled and performed automatically every 24 h, since the nodes download the ten-minute values from the regulated AQMS everyday. Based on this information, the AQ IoT monitoring nodes adjust the calibration for the next 24 h. For this purpose, each module adjusts the regression models for these calibrated sensors.
We analyze the regression models with different window sizes for the fit, both linear and quadratic. In particular, we compare different window sizes of 1, 4, 8, 12 and 24 h, and present the results of these fits analyzing Root Mean Square Error (RMSE), Mean Absolute Error (MAE) and as performance metrics.
Table 9 shows the performance metrics for the calibration with PM2.5 for each window size: 1, 4, 8, 12 and 24 h. In this case, we observe that, with a window size of 24 h and a linear regression (i.e., a quadratic regression performs worse), we obtain the best
results both in Node 1 and 2. Similarly, in
Table 10, we also show these metrics for the calibration of
, with the same optimal values in window size and regression type. Notice that these nodes (Node 1 and 2) obtain different calibration results and accuracy, due to their low-cost manufacturing process.
As mentioned before, the range of the sensor on the ZPHS01B is shorter than the regulated AQMS and unable to detect values lower than 40 µg/m3. Therefore, this sensor provides worse results compared to the PM2.5 sensor.
As examples of this calibration process,
Figure 24 shows the evolution in time for the calibration results during the experiment for Node 1 with PM2.5 and window size of 24 h, in µg/m
3, comparing to the raw and reference AQMS. For this node and sensor,
Figure 25 and
Figure 26 also show the regression scatter plot and error distribution before and after the calibration process, respectively.
In summary, we propose a low-cost AQ monitoring node that performs calibration automatically every 24 h, in particular for PM2.5 and
sensors achieving a coefficient of determination (
) higher than 0.8. If we compare the proposed node with the related work shown in
Section 2, in particular [
24,
25,
26,
27], we can observe that this proposal contributes to a more dynamic, efficient and reliable calibration system, easily adapted to LCS features (aging and degradation) and, in addition, it integrates up to nine different sensors, while the rest of the proposals focus on one or two sensors.