Abstract
Gas detection can become a critical task in dangerous environments that involve hazardous or contaminant gases, and the use of imaging sensors provides an important tool for leakage location. This paper presents a new design for remote sensing of gas leaks based on infrared (IR) imaging techniques. The inspection system uses an uncooled microbolometer detector, operating over a wide spectral bandwidth, that features both low size and low power consumption. This equipment is boarded on a robotic platform, so that wide objects or areas can be scanned.
The detection principle is based on the use of active imaging techniques, where the use of external IR illumination enhances the detection limit and allows the proposed system to operate in most cases independently from environmental conditions, unlike passive commercial approaches. To illustrate this concept, a fully radiometric description of the detection problem has been developed;
The mobile platform where the gas sensing system is going to be implemented is a robot called TurtleBot. The control of the mobile base and of the inspection device is integrated in ROS architecture. The exploration system is based on the technique of Simultaneous Localization and Mapping (SLAM) that makes it possible to locate the gas leak in the map.
1. Introduction
The research carried out in this paper has been mainly inspired by the project Robauco [1]. This project's main objective is the development of technologies to obtain mobile robots capable of complex tasks that demand a high degree of autonomy and capacity of collaboration in the presence of human beings. One of the main applications of this line of work is the use of mobile robots in dangerous missions [2] where the environment can be risky for humans (e.g., rescue missions, etc.). In this case, an unmanned autonomous vehicle (UAV) is sent in advance to explore and obtain images of the area. A very desirable feature for these robots is a sensor capable of detecting dangerous gases in the environment.
The same requisite appears within the context of gas leak detection, in a large number of applications in sectors such as the energy and chemical industries [3]. Since inspection tasks are often routine and may appear in dangerous or difficult-to-access places, the use of robotic systems has received considerable attention. Some typical gas detection problems are:
The main goal of this work is the design of an imaging system for the remote sensing of toxic or dangerous gases from a mobile robot, to be used in industrial environments. An imaging sensor has the obvious advantage of providing spatial resolution, making it possible to precizely locate the source of the gas. The challenge here is to develop a sensor that is able to provide a ‘gas image’ in real time, at least with semi-quantitative concentration information, being small enough both in size and in power consumption to be placed on a mobile robot.
This paper is organized as follows. Section 2 summarizes the state of the art in gas sensing from robotic platforms; section 3 reviews the principles of infrared remote sensing of gases; section 4 explains the measurement strategies proposed in this work and estimates the minimum detectable concentrations for
2. Gas sensing in robotic platforms: State of the art
Gas sensing devices that may be found in a robotic system can be classified into
2.1 In-situ systems
To inspect an area, in-situ systems require the robot explore the whole region. Despite this limitation, these sensors are mostly used in experimental robotic systems, primarily due to their low cost and ease of integration with microcontrollers. They are typically encapsulated devices that transduce the variations in the concentration of a given gas into variations of electronic magnitudes (resistance, voltage, etc.), and can be based on a variety of technologies and operating principles [4].
The technology most commonly used for in-situ gas sensors is known as MOX (metal oxide) [5], since it provides high sensitivity for the gases of greater interest, short response time and good stability as compared to other alternatives. MOX sensors are also easily available and very inexpensive devices (although they often require a not-inexpensive prior calibration). On the other hand, one of their major limitations is low selectivity. Although their sensitivity to a specific gas can be increased, they do not respond to a single compound but are sensitive to many gases. To try to overcome this drawback, arrays of MOX sensors are often constructed so that each element has a different sensitivity, although overlapped to some extent with others. The response is then analysed by array-based pattern recognition algorithms to identify and quantify the gas present. This concept was introduced in the 1980s and is known as
Since the in-situ sensors themselves do not provide information about the position in which the measurement takes place, this information must be obtained by other means. Therefore, despite its widespread use, this type of sensor is not well fitted to the task of locating a leak of a particular gas with enough accuracy for most applications. However, algorithms have been developed to produce maps of concentrations using on-board sensors on mobile robots [7].
2.2 Remote sensing systems
Regarding remote sensing gas sensors for robotic systems, several devices have been used that are based on TDLAS technology (Tunable Diode Laser Absorption Spectroscopy). The measurement principle is infrared (IR) absorption. A single absorption line of the target gas is selected, together with a reference band in which the gas has no absorption. The decrease of intensity at the absorption wavelength is directly related to the product
A specific development for remote measurement based on TDLAS technology is the device known as a Remote Methane Leak Detector [9]. It incorporates lighting from a laser in the near infrared (NIR) next to the detector element; this radiation is reflected by the background, crosses the cloud of gas and is subsequently detected by the detector element. Although these are intrinsically non-imaging devices, when placed on robotic platforms they can be provided with a scanning system that allows the visualization of the distribution of the product
2.3 Imaging systems
Although it is possible to find different imaging systems for remote sensing of gases (e.g., the GasFindIR system manufactured by FLIR, operating in the absorption band of hydrocarbons [10]), they are still very uncommon in the field of robotics. Currently there are a number of proposals for the development of mobile robots and even unmanned aerial vehicles (UAVs) that incorporate this technology to be employed in inspection tasks. But in spite of this, today is not possible to find a device of this nature that is commercially available [11].
One of the most ambitious projects, developed by the University of Kassel (Germany), is called
Although this system marks the current state of the art in the field of robotic systems for remote sensing of gases, no data are presented on the imaging of leaks, and improvement of algorithms both for remote sensing and for leak location are mentioned as future works.
3. Principles of infrared remote sensing of gases
A photon, in order to be absorbed by a material medium, must have an energy that corresponds to the difference between two quantum levels. Transitions between vibration and rotation levels of gas molecules have energies in the IR range and, since these levels are highly specific for each molecule, the IR absorption spectrum of a gas is a ‘spectral signature’ that uniquely identifies each chemical species. Homonuclear molecules, however, such as
Infrared absorption makes possible not only the identification, but also the quantification, of gases. When an electromagnetic wave strikes an object it can be, to a greater or lesser extent, absorbed, transmitted and reflected. If we represent by α, τ, and ρ the respective energy fractions (called absorptance, transmittance and reflectance), the following relation is fulfilled according to the principle of conservation of energy:
If, instead of a solid or liquid object, we consider a region inside a gas (like, for instance, a pollutant leak), reflectance is zero (ρ =0), leading to:
Transmittance at a particular wavelength depends on the concentration of the gas and the optical path travelled, as given by the
where :
Values of absorptivity are well known for the main gases, and can be found tabulated in databases like HITRAN [15]. Figure 1 shows a typical transmittance spectrum obtained with

Transmittance spectrum for a path of 1 m, 0.1%
Infrared gas detection need not be based on radiation absorption, since gases also emit radiation at the same wavelengths where they absorb. As in any other substance, the emitted radiance (
where
4. Measurement strategy
Any gas with an absorption band at an atmospheric window can be, in principle, detected with an IR camera. The simplest approach is to provide the camera with a band-pass spectral filter centred at the band. Due to absorption, the leaking gas will be seen as a dark region against the background. This one-band, passive approach is used in commercial systems as the well-known FLIR GasFind IR.
4.1 Radiometric model
This simple idea must be precize, however, since it focuses only on the IR absorption of the leak, but ignores its emission. A simple radiometric model is necessary in order to understand the problem.
Suppose the background is a blackbody and, at wavelength λ0, the gas leak has a transmittance τ and the clean atmosphere is transparent. The radiance

A scheme of the measurement configuration, assuming blackbody background and no external illumination
where
And thus the contrast between the no-leak and leak regions is:
Clearly, if
This is very often the case, since gases from conduction at ambient temperature are cooled considerably by adiabatic expansion as they leak (whereas cooling of very hot leaks is usually not complete near the leak point). However, thermal contrast is not guaranteed in all cases, and since it is weighted by a 1 − τ factor, it may be very small for small leaks (τ near 1), that can be very difficult to detect if their temperature is not very different from the background. In addition, this method is prone to false alarms, since any variation in background temperature can be mistaken for the presence of a leak. In fact, with a complex, non-uniform background, as is usual in an industrial environment, there is no way based only on the radiance values to tell a leak from a background feature. Commercial systems use processing in the temporal domain, taking advantage of non-stationarity in the gas flow of leaks, to discriminate them from other variations in apparent temperature. However, although time processing is a possibility that is always open, it seems advisable not to rely on time variation as the main criterion for gas leak identification, since otherwise a gas leak with laminar stationary flow will be undetectable.
As a first step to a more in-depth study, let us relax the assumption of a blackbody background and suppose, more realistically, a nonzero reflectance ρ
If a non-blackbody background is assumed, a strategy to improve gas detection becomes possible: to use an external source to illuminate the scene, thereby changing the background radiation. This means using an active scheme, instead of the passive approach described so far. If the radiance of the source is

A scheme of the measurement configuration, for a non-blackbody background with external illumination
Thus, according to the use or lack of use of external illumination, we have the following cases:
The contrast between the no-leak and leak regions calculated previously (eq. 2) corresponds to the difference between values of eq. 3 for the cases τ ≠ 1 (no leak) and τ = 1 (leak), when
4.2 Minimum Detectable Concentrations
In order to compare the passive and active approaches, values of
Planck's spectral blackbody equation has been used to obtain
The transmittance spectrum has been calculated using eq. 1, with the absorptivity provided by the HITRAN database. An interference filter was assumed, with a bandpass 375
In this measurement approach, the signal is defined as the variation in
The measurement noise can be estimated from the IR camera data. The key parameter is NETD (noise equivalent temperature difference). A typical value for a modern MIR camera operating in the 3 to 5
Figure 4 shows (at the top) the graph of signal vs.

Signal (defined as
Results can be neatly summarized if the minimum detectable concentration (MDC) is defined as the gas leak concentration that gives a SNR = 1 value. Values of MDC in active and passive modes for different background temperatures, obtained from Figure 4, are compared in table 1 (always for the 10
Minimum Detectable Concentrations (MDC) using passive and active methods for
It must be pointed out that MDC values have been calculated assuming a normal incidence for the background illumination. For a tilted background, a cosine factor appears in the

Minimum detectable concentration for a 10 cm path of
4.3 Scene simulation
In order to get a more graphical feeling of the IR scene, a simple simulation has been performed using the data of the previous section, as follows. We assume the background is divided into horizontal regions of temperatures
With these data, synthetic images have been constructed for

(Top) Synthetic image of the radiance

(Top) Synthetic image of the radiance
5. System implementation
In the previous section an approach to design an imaging sensor able to detect pollutant gases remotely with a good SNR ratio, even when the gas has no thermal contrast with the background, has been proposed. The approach is based on the use of an IR camera equipped with an interference filter and an IR source to illuminate the scene (i.e., operating in active mode). In this section, a specific implementation of this design is worked out, in order to demonstrate its viability as a robotic sensor system. We will describe it in two parts: first, the inspection system (i.e., all the required elements to perform the remote sensing tasks) and then the robotic platform (including the mobile platform, the robot software and the robot exploration system).
5.1 Inspection system
The components of the inspection system are summarized as follows:
Although quantum detectors have the best NETD figures, they are relatively expensive and need cryogenic cooling.
On the other hand, due to recent developments in microbolometer sensing technology, now there are uncooled detectors with good enough performance for gas detection. Microbolometer technology represents an improvement in terms of cost, weight and power consumption, which are critical parameters for a robotic system implementation. They have also the advantage of covering a wide spectral range, including both medium and thermal infrared regions. This feature provides high versatility to the proposed design, since several compounds can be detected simply by selecting interference filters matched to the gas spectral signature. For these reasons, a Vanadium Oxide (VOx) microbolometer core from SCD (Semiconductor Devices) manufacturer has been chosen. Specifications of this detector are shown in the following table 1.
Summary of the main parameters for the selected SCD core. NETD value corresponds to optics with an f-number F=1
Depending on both the working distances and the size of the gas leakages to be detected, the focal length of the system will be established. Radiometric constraints such as detection limit, false alarm probability, and so on might be taken into account to define other key parameters as F number, spectral transmittance or coatings. In this initial prototyping stage, a simple optical system based on a 35
As has been previously mentioned, an active infrared source will be required to enhance the detection limit. Once this parameter is fixed, radiometric specifications will be mainly determined by the working distance and the area covered by the optical field of view. Since power consumption is an important constraint at this application, radiative efficiency must be properly managed through the use of reflectors. The IR-18 infrared source from HawkEye Technologies has been chosen, whose main parameters are described in table 1. In the present prototype the source is fixed, pointing forward horizontally. Taking into account the angle dependence of the measurements, the addition of a pan/tilt system will be considered.
Summary of the more relevant parameters for IR-18 source
It is important to previously define which application will host the processing of the acquired data. For tasks that involve only detection, this can be carried out on board, from an embedded system, but to implement the proposed quantization algorithms in an operative robot it might be more reasonable to transmit data to another point with higher processing capability. In the present prototype version, however, the simplest solution (i.e., an onboard laptop computer) has been used.
Components described are shown in Figure 8.

Two views of the embedded inspection system
5.2 Mobile platform
The mobile platform involves the hardware design and the software that controls it. Both items are described in the following subsections.
5.2.1 Robot description
The mobile platform, where the gas sensing system is going to be implemented, is a robot called TurtleBot [18] (Figure 9). It is a round shape robot of 36cm of diameter and 10 cm height, which is made up of a Roomba base, a Kinect motion sensor attached to it and a laptop that takes care of all the communications among the devices and where the navigation software and the gas analysis algorithms are installed.

Turtlebot robot used as mobile platform for the inspection system
TurtleBot is a low-cost, personal robot kit with open-source software for indoor navigation and is used as a robotic experimental platform to test robotics prototypes in our labs. Its weight is about 5 kg and it allows a load capacity over 5 kg, enough to carry the inspection devices. The robot can move around and detect the environment while it is moving using a Kinect [19] used as a range finder telemeter for the navigation system of the robot. It can create a map of the area to be inspected and can locate the detected leaks over the map. Its maximum speed is 0.65 m/s, but it can be reduced according to the inspection algorithms.
The batteries of this autonomous robot are located inside the base, featuring an autonomy up to two hours of continuous work. Finally, the hardware of the robot is completed with a modular structure to locate the inspection devices and the ultraportable, high-performance laptop in which the mobile platform and the inspection device are connected for its control. The laptop works under the Linux operative system using ROS (Robotic Operative System [20]) as a framework.
5.2.2 Robot software architecture
The control of the mobile base and of the inspection device is integrated in ROS architecture [20]. ROS is an open-source software widespread use which allows the development robotic applications and their integration in a single framework. It includes a collection of tools, libraries and conventions that seek to simplify the tasks of creating software for Advanced Robotics in a robust way. ROS, rather than a framework, has the functionality of an operating system on a heterogeneous cluster. ROS provides the standard services of an operating system such as hardware abstraction, low level device control, implementing functionality of common use, messages exchange between processes and package maintenance. ROS is based on graph architecture, where the processing takes place in the nodes that can receive, send and multiplex messages from the sensors, control, states and planners, among others.
ROS has two basic components:
The part of the OS, ROS, as has been described above, and ROS-pkg, a suite of packages provided by the contribution of the users (settled in groups called stacks) that implement functionalities such as simultaneous mapping and localization, planning, perception, simulation, etc.
The low-level tasks components for sensor access, diagnosis reporting, power management, etc., that are transparently handled by ROS. This allows the development of controllers and higher-level tasks for a variety of platforms.
TurtleBot can be managed by ROS through its robotic software development environment. It includes an SDK for the TurtleBot, a development environment for the desktop and libraries for visualization, planning, perception, control and error handling. The software tools are completed by some other developments using C++, OpenCV as the available image processing library and software implementation to control the inspection devices and for the inspection algorithms.
Figure 10 shows the software components involved in the robotic control system under the ROS operating system.

Software architecture of the robotic system
Main components of the software architecture are:
ROS as operating system and as manager of high level task and of the control of the robot.
A robot task module, which coordinates the path planner, the SLAM navigation tasks and completes the map information with the location of the leaks.
Robot control module, which manages sensorial information for navigation, actuators, and the I/O communication with the inspection device.
All components are encapsulated in ROS nodes and use ROS topics as a means of information exchange.
For the development of this work, ROS Groovy under Ubuntu 12.04 LTS was used. C++ language was used as the programming language.
5.3 Robot exploration system
The exploration system is based on a technique called SLAM (Simultaneous Localization And Mapping) [21]. SLAM enables the location and building of the map of environment simultaneously when the robot is moving.
ROS has several packages to carry out the SLAM technique using vision. For the development of this work the
The implementation of
In order to sense the environment, a long-range laser scanner is needed. In this work the kinect is used as a long-range laser sensor, providing an inexpensive alternative to traditional laser scanners, by cutting a horizontal slice out of the Kinect image and using the nearest distance (closest depth) in each column.
Using this technique, the robot can locate itself in an unknown environment. The robot starts its exploration task, navigating, building the environment map and placing itself in it simultaneously. The algorithm has been completed so that, once the leak is detected, the information about its position and parameters is added to the map.
The developed algorithm is shown in Figure 11. All software modules involved in the robotic systems are implemented as ROS nodes. The navigation task starts with an inspection order as an ROS topic, which starts the Planner and Navigation modules. Sensorial systems such as Kinect or gas detector modules are launched by the system thought a

Implemented Inspection algorithm based on the SLAM technique
The navigation module starts to move the robot following a path using the Fast Marching Square technique [22] if it is given previously. If not, a contour following policy has been defined as the default movement. The robot starts to build a map of the environment with the Kinect sensor and the odometry, using the information of the stored map to locate its position on it. Sensorial information from the kinect and from the odometry are also shared among modules through ROS topics.
Once the map is generated detected leaks are added to the map, taking into account the position of the robot obtained in the SLAM process and the estimated position of the leak to the robot.
The proposed exploration system contemplates two operation modes:
Inspection task: If the map is a priori known, as is the case for most of the industrial plants, the possibility of establishing the previous inspection routes, limited to locate the robot and the leak within the map, is considered. In this case the navigation system of the robot follows the path, avoiding obstacles, relocating the robot on the map and adding the leak position and information to the map.
Exploration task: If the map is not known, as is the case where the robot works in an emergency situation or in an unknown scenario, without previous information, the robot is able to start to navigate using predefined skills such as contour following in order to build the map, locate on it and add the leak position and the information in the map in a simultaneous way.
6. Overall platform test
The test environment for the full prototype consists of a room in which several gas pipes run parallel to the walls. Due to the extreme flammability of
In the scenario, the robot has a previous map of the room. The robot moves its location on the map following the wall in which the pipes are placed. When a leak is detected, the robot places itself in front of the leak and takes the measurement of the gas concentration. Figure 12 shows the robot in the operating environment using the slam module to locate the robot and the gas leak in the map.

Robot moving in the environment for detecting a gas leak
Figure 13 shows a gas duct where two small leaks have been found: one at the faucet's nut and another at a pinhole at the bottom. The image is the result of subtracting a background image (

Two small leaks detected at a
The IR camera, with a focal distance of 50 mm, was placed at 2 m from the duct; an interference filter centred at 4300 nm with a 200 nm full width at half maximum was used. Gas pressure in the duct was only slightly above atmospheric, so that no adiabatic cooling occurs at the leaks and no thermal contrast is present. In this conditions, leaks were undetectable in passive mode, but, as shown in the figure, provided a very strong contrast in active mode.
7. Conclusions
In this work a design for a gas detection mobile robot has been proposed, including an infrared imaging sensor, implementing active detection techniques and a robotic platform, provided with control and navigation features for its use in inspection tasks in industrial environments.
The main advantage of the proposed system is the use of an inexpensive robotic platform that makes possible the remote sensing imaging of gas leaks.
Regarding the gas sensing strategy, the described design is mainly based on a spectrally tuned microbolometer array, which supposes an improvement in terms of cost, size, weight and power consumption in comparison with standard IR cameras. The full detection system, including both external IR source and imaging sensor, has been properly characterized and its performances have been evaluated through radiometric modelling. A set of leakage simulations based on methane (
Experimental results obtained for
Finally, an inspection algorithm for the mobile platform has been proposed, based on mapping and localization, that includes several possibilities for path planning and mapping the detected gas leaks.
As future work, the system will be provided for a pan/tilt platform in order to enlarge the range of inspection. This requires the recalculation of detection parameters, taking into account the inspection angle.
Footnotes
8. Acknowledgements
The authors would like to thank the RoboCity2030-II project (S2009/DPI-1559), funded by Programas de Actividades I+D en la Comunidad de Madrid and co-funded by Structural Funds of the EU.
