Abstract

This paper deals with the design of an electronic device aimed at the detection and characterization of volatile chemical substances, that is, an electronic nose (e-nose). We pursue the development of a versatile, multipurpose e-nose that can be employed for a wide variety of applications, can integrate heterogeneous sensing technologies, and can offer a mechanism to be customized for different requirements. To that end, we contribute with a fully configurable and decentralized e-nose architecture based on self-contained and intelligent sensor boards (i.e., modules). This design allows for the integration not only of heterogeneous gas sensor technologies, like MOX and AEC sensors, but also of other components, such as GPS or Bluetooth, for a total of up to 127 individual modules. We describe an implementation of a fully operative prototype as an illustrative example of its potential for sensor networks, mobile robotics, and wearable technologies, each using different combinations of sensors.

1. Introduction

An electronic nose (e-nose) is a device aimed at the artificial perception of airborne chemical substances, a task which finds broad use in industrial applications such as environmental pollution monitoring [1, 2], gas source localization [3, 4], food quality control [5, 6], medical diagnosis [7, 8], or safety-related tasks [9, 10].

Typically, an e-nose detects volatile chemical substances by means of an array of nonselective gas sensors, that is, with sensors that react to a wide set of different gases, but provides no specific information about chemical identity. Therefore, the joint output of the sensor array is usually further processed by some sort of machine learning algorithm to correctly classify [11, 12] and/or quantify [13, 14] the samples. E-noses offer, as a result, a relatively cheap and fast tool to assess the presence of gases, but with a substantially greater error and uncertainty margin than precise analytic methods, like gas chromatography-mass spectrometry [1517].

Common gas sensor technologies employed to build e-noses include metal oxide (MOX), amperometric electrochemical (AEC), quartz crystal microbalance (QCM), conducting polymers (CP), and surface acoustic wave (SAW). Each of these exhibit advantages and disadvantages in terms of selectivity, sensitivity, response speed, influence by environmental conditions (e.g., humidity and temperature), and drift over time among others [1822]. But remarkably, no single technology excels in all categories.

Thus, limiting the design of an e-nose to a single sensor technology will restrict its performance and, quite often, prevent it from reaching the demanded specifications. This motivates the integration of different gas sensor technologies into a single e-nose, which would result in a sensor array with better dynamic capabilities and a more informative output [23] than any single sensor technology by its own. Since it is unfeasible to install all possible gas sensors and technologies simultaneously on a single device, it also becomes appealing to design an e-nose in such a way that its sensor array can be reconfigured depending on the applications, keeping it cost-efficient and compact.

Yet implementing these two features (heterogeneity and reconfigurability) is not simple from an electronic design perspective, as confirmed by the absence of commercial e-noses fulfilling them. The former demands that very diverse and sometimes incompatible electronic characteristics be reconciled, including power requirements, noise tolerance, and signal processing capabilities, while the later requires a versatile mechanism to connect and remove gas sensors in a completely modular method.

To this end, we propose a novel e-nose architecture that combines self-contained and intelligent sensor boards (i.e., modules) with a decentralized design—offering a viable solution to the problem of integrating heterogeneous gas sensors in a modular fashion. This allows creating different and specific gas-sensing devices from interconnectable building blocks, which not only brings versatility and reusability to the design of e-noses but also reduces development costs and ensures long-term serviceability, as new sensors can be added as needed.

Moreover, our architecture also enables the integration of other electronic components into an e-nose, like GPS for georeferenced measurements, or wireless communications for remote readings—a feature which, despite not being a technological contribution, provides an improvement over most commercial e-noses and facilitates applications of mobile olfaction (e.g., mobile robotics or urban gas monitoring). In this regard, we must also clarify that the proposed system acts as a typical sensor, running its own firmware to provide stable and reliable measurements, but not a machine learning algorithm that depends on the final application (e.g., gas classification/quantification and odor recognition).

Overall, we believe this work to be of interest to two types of readers: those in the electronic industry, who can replicate the whole or part of our architecture to achieve a practical solution for their own gas-sensing tasks, and those within the scientific research community, who may take some insight from this work to derive new solutions toward future e-nose improvements.

The remainder of this manuscript is organized as follows. Section 2 reviews the current state of the art of e-noses, both commercial models and those proposed by other works, focusing particularly on designs that deal with the aforementioned characteristics of heterogeneity and/or reconfigurability. Afterwards, Section 3 describes the proposed e-nose architecture followed by Section 4, which describes various example prototype modules. Finally, Section 5 presents three real-use cases corresponding to specific applications, and Section 6 offers some conclusions and suggests improvements for future work.

Due to the continuous advances in gas sensor technology, e-noses have become a viable alternative for the detection of volatile chemical substances. They not only do work in real time, allowing for fast and continuous measurements, but they are also compact enough to be carried by a person. Still, they are limited to a single gas sensor technology and lack a reconfigurable and versatile design. This section reviews some exceptions that address these limitations.

One of the first modular e-noses that hosts different chemical sensor technologies is the MOSES-II by GSG (http://www.gsg-analytical.com/english/moses2.htm). This e-nose is comprised of a base station with several MOX and QCM gas sensor modules, which can be extended with additional modules as required. However, it is conceived for precision rather than portability and is therefore too big and heavy for mobile applications.

E-noses that appeared later, like the X-am 7000 by Dräger (https://www.draeger.com/es_es/Applications/Products/Mobile-Gas-Detection/Multi-Gas-Detection-Devices/X-am-7000) or the MultiRAE by RAE Systems (http://www.raesystems.com/products/multirae), propose different solutions to combine heterogeneous gas sensors with a portable design. Concretely, these e-noses host up to 5 and 6 sensors, respectively, that can be selected from a list offered by the manufacturer. Nevertheless, they are devised and optimized for the detection of a very specific set of gases and concentration ranges (usually related to human safety at industrial plants) and have, consequently, a specific and limited number of available options.

Likewise, there are similar e-noses published in research. De Vito et al. [24] developed a prototype with ten gas sensors of different technologies, each handled by an individual electronic sublayer that accounts for specific electronic requirements. This offers a solution to the integration of heterogeneous gas sensors but does not address the problem of versatility, as the number of sensors is fixed.

In that line, we proposed in a previous work [25] a design that separates the electronics of the individual sensors and combines it with a modular approach. It comprises a main board that handles all shared resources and various smart modules that can be connected to it (following a master-slave topology), allowing to mix and replace the sensors as needed, and also to add auxiliary modules like a GPS or an SD card. However, this e-nose is still not very versatile because the specifications of the main board (e.g., I/O interfaces and power requirements) limit the scope of possible applications and because the number of sensors that this e-nose can carry is limited by the number of available slots (each module carries only one sensor). As a result, our present architecture builds on this idea of smart modules but replaces the main board with a decentralized architecture so that no module is mandatory, which means that it is possible either to assemble an e-nose with the absolute minimum required components in favour of size, weight, and cost or to upgrade it with additional sensors if needed.

In summary, this paper builds on previous research to increase the versatility of current e-noses and approaches the problem of combining multiple gas-sensing technologies within an architecture based on interconnectable modules that host the specific electronics of each sensor.

3. Description of the Architecture

The proposed architecture is based on the concept of modularity and comprises several freely interconnectable modules (function blocks) that host separate sensors and circuitry. Each module is designed to be self-contained and manages all its on-board resources, hiding the implementation details behind a common interface.

This interface makes it possible to handle all modules the same way regardless of their electrical characteristics, something fundamental when dealing with heterogeneous gas sensor technologies (having different electrical characteristics not only in the form of power requirements but also regarding the electrical properties associated to their transducer principles). Moreover, this versatility also enables the integration of modules with auxiliary functionalities, like data logging, wireless communications (e.g., Bluetooth, Wi-Fi, and Zigbee), or even non-gas-related sensors (e.g., GPS, humidity, and wind speed), provided that they all adhere to the same interface. Accordingly, it is also possible to design modules with several sensors in a way that is transparent to the rest of the e-nose, making it feasible to create modules with high sensor-count integrated chips [26], like those employed by Cyranose 320 (32 sensors) [27] or by Che Harun et al. (900 sensors) [28].

Modules can be connected or disconnected from the e-nose in a plug-and-play fashion, enabling an easy configuration based on the target application. Concretely, they are connected in a daisy chain topology that shares a single power and communications bus. Once a module is connected and powered, it works as an individual agent that handles its own resources and communicates with the others. Thus, neither a central main board is required nor is any module indispensable for the correct operation of the e-nose (power can be provided externally), allowing to assemble an e-nose with the required modules only.

Though a module is the basic element of the proposed architecture, within it, we can differentiate a series of components required for its operation (see Figure 1). These components are present in all modules, but their physical distribution and/or electronic design may vary depending on the specific implementation. In order to keep a clear and readable structure, we describe each of these components in the following subsections.

3.1. Central Processing Unit (CPU)

It is the core of any module, and it is implemented as a microcontroller. It is in charge of the following tasks: (i)Management of the particular electronics of the module: depending to the hosted circuit (sensor, communication chip, battery, etc.), the microcontroller handles polarization voltages, generation of control signals, and so forth.(ii)Data acquisition and preprocessing for sensor-hosting modules: this includes, depending on the particular characteristics of the sensor, controlling the sample rates or the execution of signal-conditioning operations such as noise filtering, baseline correction, or drift compensation (see [29, 30] for a detailed list of signal-conditioning operations).(iii)Communication with other modules: possibly the most important tasks of the CPU are hiding the implementation details of the hosted circuit and sharing data with other modules through a common interface. Concretely, a single physical communications bus (see Sections 3 and 3.2) is shared by all modules to communicate with each other using a broadcast service (removing the need for a central master or arbitrator and allowing each module to operate at its own sample rate).

We must stress that the microcontroller is not intended to run any sort of machine learning algorithm not only because of its limited computational resources but also because it will entail reprogramming the e-nose to adapt to the application requirements (something that contradicts the architectures’ goals). Instead, the e-nose sends all the collected data to an external device, such as a computer or smartphone for further processing.

3.2. Data Power Connector

In order to enable an easy reconfiguration of the modules comprising the e-nose without the need of additional interface circuits, all modules share a common connector for power and data. More precisely, we employ two symmetrical dual-line connectors on each module. Each connector consists of a 2 × 12 array of 2.54 mm-spaced pins as shown in Figure 2.

This symmetrical layout allows for lateral (Figure 3(a)), vertical (Figure 3(b)), and mixed connectivity (Figure 3(c)) of the modules in any orientation.

The pins in the connector correspond to the following: ground and 5 V for the power supply (see Sections 3 and 3.3) and clock and data channels for the communications bus. More specifically, we use the inter-integrated circuit (I2C) serial bus because of its practical advantages in terms of (i) availability on most microcontrollers (or the possibility to be software emulated on those which it is not), (ii) support for multimaster configuration with broadcasts, (iii) handling transparently communication collisions if two modules initiate a simultaneous transmission, and (iv) use of two bidirectional open-drain lines, which favour a small connector.

As for the communication protocol, we employ MAVLink [31], a data marshaling protocol originally intended for small unmanned air vehicles, which has proven to be reliable and fast. MAVLink can be configured for the transmission of different data structures and has a built-in mechanism to identify the sender and the payload of transmitted messages, which makes it suitable for broadcast communications.

3.3. Power Unit

Most sensors and components of the e-nose require either a 5 V power supply (e.g., MOX gas sensors, fans, and battery management) or a 3.3 V power supply (microcontroller, communications, and environmental sensors). Hence, all modules are powered at 5 V, and their power units locally reduce this voltage to 3.3 V. This approach has the advantage of reducing complexity (modules need only one external power source), allowing the e-nose to be conveniently powered from any USB compliant source, despite increasing the electronic component count per module.

The power unit is also in charge of filtering the incoming 5 V power supply to reduce cross-talk between adjacent modules, providing separate digital and analog supplies to minimize noise coupling measurements.

3.4. Hosted Device

Finally, the last component of any module is a dedicated sensor (e.g., chemical, environmental, or physical sensor), actuator (e.g., fan and pumps), or, in general, an electronic device which provides the main functionality of the module (e.g., USB or Bluetooth communication, battery management, or data logging, among others).

4. Prototype Modules

Due to the versatility of the proposed architecture, no such standard prototype has been built. Instead, we implement six heterogeneous modules that can be combined into e-noses with different characteristics. Concretely, we consider two gas-sensing modules (to host different sensor technologies) and four additional modules for the management of a battery, a GPS, a data logger, and Bluetooth communication. All modules have been manufactured on a 40 mm × 45 mm two-layer PCB, employing an MSP430F5309 16-bit microcontroller by Texas Instruments as the CPU.

Next, we describe these six modules, providing pictures of their implementation and detailing their electronic characteristics.

4.1. MOX Gas Sensor Module

Conductometric sensors based on metal oxide (MOX) composites are one of the most spread gas sensors, favoured due to their low price, reduced dimensions, and wide range of detectable gases [19]. And although they need to be heated to work, which incurs additional power consumption (see Table 1), controlling the temperature of MOX sensors can be used to modify their sensitivity and selectivity to certain gases [32].

Figure 4(a) shows our prototype MOX module, capable of hosting either four TO-5 Figaro sensors or two SMD MICS SGX (with two transducers each). It features hardware and software low-pass filters to remove noise from sensors and supports temperature regulation by powering the sensors with individual PWM signals.

4.2. AEC Gas Sensor Module

Amperometric electrochemical (AEC) gas sensors operate by oxidizing or reducing the target gas at their electrodes, which results in a measurable current [33]. The main advantage of this technology is that it can detect very-low gas concentrations, down to a few parts per billion (ppb) in clean air, making AEC sensors a natural complement to MOX sensors (which measure parts per million).

Our AEC prototype module can only host one sensor at a time, as they are significantly bigger than MOX sensors, but supports most encapsulation formats offered by Alphasense Ltd. For example, the module shown in Figure 4(b) hosts a size B4 AEC sensor, which consumes typically 20 mW for continuous operation, and as listed in Table 1, up to 50 mW during the first warm-up hours.

Related to the specific electronics of this module, we highlight two aspects. First, AEC sensors must be polarized with a very precise voltage that depends on its electrolytic medium. We achieve this with a software-controlled closed-loop PWM signal (3.3 V amplitude @ 2 MHz) and a second-order RC filter (cut frequency at 500 Hz) as shown in Figure 5, resulting in a programmable voltage with 1 mV resolution between −1.65 V and +1.65 V. Second, AEC sensors are characterized by an output signal that, ranging from a few nanoamperes to several microamperes, imposes conflicting requirements on the current voltage digitalization circuit—a high gain design can sense low gas concentrations but may saturate, while a low gain circuit suffers from reduced resolution but possesses a wider dynamic range. Instead of adhering to one option, we combine both advantages with the setup shown in Figure 5. It uses two analog amplification stages (selected by the CPU), together with a 16-bit ADS1115 ADC by Texas Instruments, so that the software can dynamically choose the best gain at any time. Concretely, the first analog stage converts the sensor’s current signal to voltage with a factor of 2000 V/A, the second stage amplifies it by 100, and the ADC by an optional factor of 10, for a total gain of either 2.000, 20.000, 200.000, or 2.000.000 V/A depending on the selection.

Note that noise is mitigated by powering the analog circuitry with a dedicated TLV700 low-noise and high-PSRR voltage regulator and by various low-pass filters at each amplification stage.

4.3. Power Module

The power module (depicted in Figure 4(c)) is intended to provide stable 5 V to all modules in the e-nose. It works either with an external power supply (3.9 V to 15 V), powered by USB, or with an optional one-cell Li-ion rechargeable battery, with a maximum output power rating of 20 W and a typical efficiency of 92%. Conveniently, it also serves as a USB communications module to simultaneously power and communicate with the e-nose.

The power module is built around the BQ24193 integrated battery management integrated circuit by Texas Instruments, which operates as an easy filter buck/boost switching regulator, and a FT232R USB-UART IC by FTDI Chip, which handles communications. Furthermore, it hosts passive filters to suppress noise from the 5 V and electronic protections against overvoltages, overcurrents, and accidental reverse-polarity connections of the external DC supply.

This module adds therefore ease-of-use, flexibility, and robustness to the e-nose, although it remains an optional module, meaning that the power module may be replaced by an external 5 V supply that connects directly to the common data power connector (Sections 3 and 3.2) if the application requires it.

4.4. GPS Module

One requirement of many e-nose-related applications is that the data must be georeferenced, that is, tagged with a location and time stamp. This is usually achieved with an external GPS device that accompanies the e-nose and logs its location, although it might be inconvenient in some situations. For example, it requires postprocessing to combine the e-nose and GPS data, and it is a hindrance for hand-held applications (two devices must be carried instead of one).

The proposed architecture overcomes this limitation by making it possible to add non-gas-related sensors directly to the e-nose, like in this case, a GPS. The module shown in Figure 4(d) hosts a GPS-622F board by RF Solutions Ltd. capable of obtaining the e-nose’s coordinates and adding this information to other sensors. As listed in Table 1, the power consumption is less than 150 mW, but it may reach up to 500 mW during initial satellite acquisition.

4.5. Memory Card Module

The memory card module (Figure 4(e)) is intended for applications that require data logging rather than live readouts over USB or Bluetooth, although it can be combined with them for more flexibility. It records the output of all sensor modules (included nongaseous sensors) on a nonvolatile secure digital (SD) card. Data is written to a binary file in the same marshaling protocol employed for the I2C bus (see Sections 3 and 3.2).

Our module features an SMD connector to hold the SD card in place, which is accessed over an SPI bus by the microcontroller. The exact power consumption depends on the write-rate and the specific SD card, but as shown in Table 1, it never exceeds 500 mW.

4.6. Bluetooth Module

The Bluetooth module (Figure 4(f)) transparently connects the e-nose’s internal I2C bus with any paired device, thus eliminating the need to connect to the e-nose over USB or simply adding a second channel to access the data. Anything written to the I2C bus is echoed over the Bluetooth link and vice versa. Because all messages are formatted following the MAVLink marshaling protocol, this communication link can be used to acquire data on a remote PC or smartphone, as well as to link two physically separated e-noses into a single device for distributed gas-sensing solutions.

The Bluetooth module is designed around the RN-42 class 2 Bluetooth board by Microchips, for which its maximum power consumption lies around 250 mW as shown in Table 1. This value is nevertheless much lower in practice (around 100 mW) and can be further decreased with a software buffer that packs various sensor readings into a single transmission.

5. Implementation of the Case Studies

This section illustrates how the heterogeneity and reconfigurability properties of the proposed architecture enable an easy and cost-efficient setup of different e-nose devices. Concretely, we present three real scenarios with different requirements, and, for each one, we propose a specific configuration of our e-nose. Each configuration is described by the set of interconnected modules (see Section 4), the overall electrical and physical characteristics, and by providing pictures of the resulting prototypes.

5.1. Configuration for a Monitoring Network

Applications such as air-quality monitoring, pollution control, or odor emission evaluation usually require networks of gas-sensing devices to extract the temporal and spatial information about the gases in the environment. On these networks, e-noses are installed at fixed locations; therefore, they have no special constrains regarding size and weight. The only requisites are to be sensitive to the target analytes and to be low in cost (to be installed in as many locations as possible).

For these types of applications, we propose a configuration of our e-nose based on multiple gas sensor modules (the number depends on the gases to be detected), a power module with an AC adapter that also serves for wired communications, and an enclosure equipped with a fan to accelerate the response speed of the gas sensors.

For illustrative purposes, Figure 6 shows a picture of a prototype built to be deployed in a network for the monitoring of odors released by a wastewater treatment plant [34]. For this specific application, since the only gas to monitor was sulfur hydrogen (H2S), we only employed one electrochemical module type installed at several locations on site.

To ensure proper lateral air flow [35], the e-nose is housed in a custom 3D-printed enclosure equipped with a fan (enclosed dimensions are 50 mm (W) × 50 mm (H) × 55 mm (D)). Power consumption for the node alone is around 40 mW at start-up and slowly decreases (over several hours) to around 15 mW as the sensor reaches its working point. The fan consumes 1 W, and the single-board computer consumes around 1.5 W.

5.2. Configuration for a Portable E-Nose

An alternative to the traditional sensor networks is to employ only one (or just a few) easy-to-transport e-nose. In this case, the mobile e-nose gathers the volatile chemical information while being transported by a robot [36, 37], a vehicle [2, 38], or a person [39], for example.

Due to the mobility constraint, the e-nose must accomplish the following specifications: (i) be sensitive to gases of interest, (ii) provide georeferenced measurements, (iii) be compact and lightweight, and (iv) either feature a data logging system or offer connectivity to an external device (e.g., computer and smartphone).

For this case scenario, we focus on an application intended to monitor the air quality in urban environments by employing portable e-noses carried by pedestrians and cyclists. The proposed prototype is shown in Figure 7, which is composed of a power module (along with a 2200 mAh lithium battery), an SD memory card module to log all measurements, a GPS module, and 4 gas-sensing modules (hosting 8 MOX sensors and 2 electrolytic sensors). The high number of gas sensors responds to the need to detect and classify multiple pollutants (classification is carried out offline in an external PC).

As in the case of the network node, the e-nose can be housed within a 3D-printed enclosure (which, following the proposed philosophy, is also modular) to allow for an easy transportation while ensuring a constant airflow through the sensors by means of a fan. We measured the power consumption to be around 2.7 W, plus 1 W for the fan (total: 3.7 W), yielding up to two hours of battery life. External dimensions are as follows: 50 mm (W) × 50 mm (H) × 155 mm (D).

Finally, we tested the system by gathering data at two different locations in Málaga (Spain), where we expected to find transport emissions and potentially unpleasant odors. The first was at a very concurred sea promenade in the city center (Muelle Uno), shown in Figure 8(a), and the second was at an open-air shopping center in the outskirts (Plaza Mayor), in Figure 8(b). As expected, both maps reflect that the air is more polluted in the city center than in the outskirts. As a matter of fact, the only places at Plaza Mayor were the gas readings were consistently high was at the outdoor parking lot and around the pedestrian access to the underground parking lot.

5.3. Configuration for a Wearable E-Nose

Wearable technology has become very popular in the last years, promoting easy-to-carry devices (either as an accessory or as part of the material used in clothing) with the ability to exchange data between the device and the network. In this line, we can set a minimal configuration of our e-nose to develop a personal air-monitoring e-nose.

The requirements of such a wearable e-nose are consequently concerned with its size, power consumption, and wireless connectivity. Here, we present a prototype consisting of only one gas sensor module (hosting a maximum of two SMD MOX sensors), a Bluetooth module (for connectivity), and a power module with a 1100 mAh battery as shown in Figure 9. With a low Bluetooth transmission rate, the autonomy is around 28 hours with 1 SMD MOX sensor and 18 hours with 2 MOX sensors.

6. Conclusions

In this work, we have revised the current state of electronic noses, focusing on their ability to adapt to different requirements (target gases, concentration ranges, georeferenced measurements, and others). We have found that most e-noses are conceived for very specific applications, involving the detection of a reduced set of gases, and that they lack versatility for general-purpose artificial olfaction.

To overcome these limitations, we have proposed a novel architecture that enhances the capabilities of e-noses. It combines heterogeneous gas sensor technologies and auxiliary devices (e.g., GPS and wireless communications) in a completely modular design of interconnectable smart modules, thus enabling an easy and cost-efficient reconfiguration of the e-nose and increasing its service lifecycle, as faulty modules can be replaced individually, and new functions added when needed.

In this line, we have implemented a prototype and tested it in three real applications. Each scenario had its own and different requirements in terms of sensing capabilities, autonomy, and mobility, which were successfully met by assembling our prototype into completely different e-noses.

Finally, our next steps will focus on the development of additional modules (e.g., QCM gas sensors, ambient sensors for drift correction, and GSM communications) and on the further improvement of the functionality of our design.

Conflicts of Interest

The authors declare that they have no conflicts of interest.