Abstract
Airflow is the key transport mechanism for airborne substances like gas or particulate matter. It is of great interest in many applications ranging from evacuation planning to analyzing indoor ventilation systems. However, accurately determining a spatial map of the airflow is difficult and time-consuming since environmental parameters and boundary conditions are often unknown. This work introduces a novel adaptive sampling strategy for mobile robots. The strategy allows multiple mobile robots with anemometers to autonomously collect airflow measurements and generate a two-dimensional spatial map of the airflow field. Using a Domain-knowledge Assisted Exploration approach, the robots respond in real-time to the measurements already taken and determine the most informative locations online for further measurements. We incorporate the Navier-Stokes Partial Differential Equations to fuse the collected data with model assumptions. By casting the airflow model into a probabilistic framework, we can quantify uncertainties in the airflow field and develop an intelligent, uncertainty-driven exploration strategy inspired by optimal experimental design principles. This strategy combines an estimated uncertainty map with a rapidly exploring random tree path planner. Additionally, using the Navier-Stokes equations allows us to interpolate spatially between measurements in a physics-informed way, enabling us to construct a more accurate airflow map. We implemented and evaluated the proposed concept in simulations and experiments in a laboratory environment, where five mobile robots explore artificially generated airflow fields. The results indicate that our approach can correctly estimate the airflow and show that the proposed adaptive exploration strategy gathers information more efficiently than a predefined sampling pattern.
Keywords
1. Introduction
In many practical problems in engineering that are concerned with analyzing the dispersion of airborne substances, an accurate representation of airflow is of key importance: airflow is often the dominant factor that is responsible for spatial material transport. For instance, in the case of Chemical, Biological, Radiological and Nuclear (CBRN) accidents, accurate airflow information is crucial for evacuations and response planning; during forest fires, real-time wind maps can support fire-fighting activities on the ground (Battiston et al., 2019). Airflow surveying techniques can also be employed to validate existing ventilation systems in industrial facilities, such as foundries or mines, where an inappropriate design may have an impact on the health and safety of the workers (Bennetts et al., 2019). Furthermore, during the COVID-19 pandemic, the interest in characterizing and improving indoor ventilation systems increased to prevent the spreading of contaminated aerosols (Jayaweera et al., 2020).
While nowadays, realistic airflow models allow for simulating indoor ventilation conditions quite accurately, they rely heavily on precise knowledge about environment parameters such as boundary conditions of the simulated area. For example, it is hard to know the precise inflow conditions through windows in a building. We propose to estimate the model parameters using actual measurements of the airflow conditions instead of relying solely on model assumptions. To efficiently collect spatially distributed airflow measurements, we will utilize a multi-robot system. The process of gathering these measurements using mobile robots will be referred to as exploration. While typically, robotic exploration focuses on the perception of the geometry of the environment (often in combination with localization, like Simultaneous Localization and Mapping (SLAM)), here we are interested in mapping the airflow field in the environment. For this task, the use of multiple robots shows distinct advantages: First, threats to human operators are avoided in hazardous or contaminated environments. Second, intelligent autonomous robots can explore the environment independently without human intervention; this makes the system more (cost-) efficient. Third, a multi-robot system can explore the environment faster than a single robot, and its natural redundancy can compensate for the failures of individual robots. However, the multi-robot approach also comes with some challenges. First and foremost, an exploration strategy is needed to enable the robots to autonomously collect informative airflow measurements while at the same time coordinating themselves to avoid collisions with each other or obstacles in the environment. Therefore, as a main contribution of this work, we propose an adaptive Domain knowledge Assisted Exploration (DARE) approach. This approach equips robots with domain knowledge about airflow captured in an airflow model, enabling them to identify informative measurement locations. Instead of following predetermined paths, robots can make real-time decisions based on previously taken measurements. This method draws inspiration from previous work on gas source localization (Wiedemann et al., 2019b). By fusing model assumptions with collected airflow data, we can create a spatial map of wind speed and direction for every point in the environment. As we will show in the paper, an intelligent, adaptive exploration strategy outperforms simple predefined sampling patterns that aim to cover the environment with a sufficiently large number of measurements.
To sum up: In this paper, we focus on collecting airflow measurements by multiple mobile robots to estimate an airflow map. Therefore, an intelligent sampling approach for the robots is proposed following methods of optimal experimental design (Atkinson and Donev, 1992). Specifically, we use Partial Differential Equations (PDEs) that model the spatiotemporal dynamics of the air movement to design an intelligent sampling strategy and reconstruct the airflow map from collated data.
1.1. State of the art
The use of robots for the spatial sampling of the airflow has been rarely addressed in the literature so far. Most of the related work can be found in the field of mobile robot olfaction since airflow or wind is the dominant mechanism for gas dispersion. So, a description or model of the airflow is an essential ingredient and input for modern gas dispersion models (Monroy et al., 2017). Further, it is a major concern for robotic gas source localization in general, like anemotaxis (Ishida et al., 1994). Kowadlo and Russell (2006b) use a robot equipped with a wind sensor and a gas sensor for indoor olfaction by relying on a naïve model of the airflow that mimics real airflow dynamics using a set of rules over a discretized environment (see also Kowadlo and Russell (2004; 2006a)). Li et al. (2015, 2016) propose a simple, grid-based statistical model that is estimated based on the history of past wind measurements. In Neumann et al. (2016), the wind information is used to guide robotic platforms based on a biologically inspired plume tracking scheme. Nevertheless, from an exploration or information-gathering perspective, in the approaches mentioned above, the airflow can be viewed as a byproduct measured alongside gas concentration. However, mapping the airflow or wind field is not the primary objective.
In contrast, in Reggente and Lilienthal (2010), a statistical 3D wind model for gas concentration mapping was investigated. To better capture complex effects such as turbulence, Bennetts et al. (2017) proposed a statistical model of wind flow that linearly combines turbulent and laminar components. Recently, Wetz and Wildmann (2022) and Wildmann et al. (2017) proposed the use of drones to characterize the micro-scale flow conditions within a wind farm. The drones themselves were used as wind sensors to sample the wind field, similar to Neumann et al. (2012). While the olfaction was not the focus of Wetz and Wildmann (2022), they provide an effective method for mapping relatively high wind speeds. Similarly, to these works, we here also target the goal of estimating a map of the airflow or wind field. However, we consider a different approach to acquire the data for reconstructing the airflow map. Instead of following predefined trajectories or measuring in fixed sampling patterns, we propose an adaptive exploration strategy where the robots react to already taken measurements and decide online on the next measurement location.
At this point, it must be mentioned that there are certain similarities between the mapping of airflow/wind and the mapping of underwater currents, for example, Leonard et al. (2010). In this article, we focus on airflow scenarios with higher Reynolds numbers than in water. Most airflow mapping approaches come to limits with respect to the spatio-temporal resolution of the resulting representations since they are mostly data-driven and often operate in a data-scarce regime with few spatial samples. In order to obtain more accurate airflow/wind models, it is advantageous to consider the physics of wind dynamics in more detail. Specifically, models based on PDEs can be used for that purpose in combination with numerical approximation techniques, like Finite Element Method (FEM). Such approaches were used for robotic olfaction by, for example, Wiedemann et al., (2019a), where the authors take a Bayesian approach toward modeling gas dynamics using a convection-diffusion PDE. On the one hand, the approach enables us to cope with a certain mismatch between our model assumptions and reality, and it allows us to design appropriate prior distributions to regularize our estimation problem. On the other hand, the Bayesian approach permits seamless integration of wind information into the gas exploration (Wiedemann et al., 2019a; Wiedemann et al., 2021). It has to be mentioned, however, that in the latter, the authors assume the wind information to be known. Since the concept of a model-based exploration strategy, has shown promising results in the field of gas source localization, we aim to apply these ideas to airflow exploration.
When formulating strategies for autonomous sampling or exploration by mobile robots, common approaches involve methods grounded in information theory, often called Infotaxis (Moraud and Martinez, 2010; Vergassola et al., 2007). Conceptually, these methods optimize aspects such as the formation of multiple robots or their paths to enhance specific information criteria (Hollinger and Sukhatme, 2014; Singh et al., 2009). The primary challenge lies in defining appropriate metrics for information or uncertainty relevant to the phenomenon under exploration or monitoring. For instance, in Singh et al. (2009), a mutual information criterion is derived from a Gaussian Process model to quantify uncertainties, serving as a basis for informative path planning for single and multi-robot systems. In the context of underwater gliders mapping ocean currents, as presented in Leonard et al. (2010), a feedback law was developed to induce desired collective motion patterns by reducing statistical uncertainties in estimates of the underwater current field. Various objectives can be considered for optimizing robot paths and configurations. In Elwin et al. (2020), the control of a multi-robot system’s formation is used to avoid an ill-conditioned FEM formulation for a PDE process model. The use of models, especially PDEs, can be beneficial for designing infotactic or adaptive exploration strategies for spatially distributed processes. As a new contribution, we aim to apply these concepts for the first time to airflow mapping using the Navier-Stokes PDEs in combination with an information-driven exploration strategy.
The problem of informative sampling strategies is also closely linked to the problem of optimal sensor placement and optimal experimental design, as discussed in Pukelsheim (1993) and Uciński (1999). Methods from the field of control theory, aiming to determine optimal sensor locations for observing distributed parameter systems governed by a PDE (Kubrusly and Malebranche, 1985), could also be considered for the design of exploration strategies. Inspired by these approaches, we also utilize properties of an information matrix (the inverse of the covariance matrix) in our probabilistic method to quantify uncertainties and design the exploration strategy, similar to optimal experimental design methods.
1.2. Contribution and outline
This article presents an adaptive exploration strategy for multiple mobile robots to map an unknown airflow field. We believe that our work can support mobile robot olfaction and general airflow modeling.
Our main contributions are: 1. We use multiple mobile, ground-based robots to generate a spatial map of the airflow field. 2. We develop an adaptive strategy that allows robots to autonomously collect samples from the most useful locations. To achieve this, we use a model based on the Navier-Stokes PDEs to describe airflow dynamics at a micro-scale level. This approach enables us to quantify uncertainties in the estimated airflow field and identify the most informative locations in real time for the robots to take the next measurements. 3. The PDEs airflow model also allows us to infer a spatial airflow map based on measurements. Essentially, the model can interpolate between spatial sampling points in a physics-informed manner. 4. We combine the uncertainties in the probabilistic airflow model with an RRT* path planner to coordinate the robots and generate collision-free paths for the robots to informative sampling locations.
Our exploration strategy, rooted in uncertainty quantification, resembles the approach used in Wiedemann et al. (2019b) and Wiedemann et al. (2021), but is applied to the problem of airflow mapping based on the Navier-Stokes PDEs. In general, nowadays, information-driven exploration with robots can be considered a state-of-the-art approach and has been applied to various tasks, as summarized in Section 1.1. However, conceptually, the challenge lies in defining and quantifying the right information criterion that can be optimized by the robotic path planner to bring the robot to the right measurement positions. This information criterion is highly contingent on the specific application. Here, the article makes its main contribution by developing the exploration objective for adaptive airflow exploration in combination with an RRT* path planner. In contrast to purely data-driven approaches (Singh et al., 2009), our methodology is based on the fusion of observations with a model-based approach. We consider the airflow field described by the Navier-Stokes PDEs as a model, which we refer to as domain knowledge. Based on this PDE model, we define our information or uncertainty criterion for guiding the robots through information-driven navigation. As far as the authors are aware, this approach presents, for the first time, a new method for adaptively exploring airflow fields with mobile robots. We translate our airflow model into a PDE-based Bayesian framework, thereby circumventing the limitations associated with classical statistical airflow models (Bennetts et al., 2017). Although this comes at a higher computational cost, as it requires solving an inverse problem, we show that this can be nonetheless done quite efficiently in real-time. When cast into a probabilistic framework, the PDEs build the basis for information-driven navigation, and we can formulate the airflow mapping task as a Maximum a Posteriori (MAP) estimation problem. Inspired by ideas from optimal experimental design, we use features of the information matrix of the posterior distribution to quantify a spatial distribution of uncertainty.
Let us summarize our contribution and contrast it with the current state-of-the-art: We are the first to propose an adaptive exploration strategy for mapping an airflow field by mobile robots. This means the robots do not follow predefined trajectories or waypoints. Instead, they react to previously taken measurements in real-time and autonomously decide where to take the next measurement that will provide the most informative data.
The rest of the paper is organized as follows. In Section 2, we describe the PDE-based model of airflow based on the Navier-Stokes equations. Section 3 is concerned with the probabilistic representation of the discretized model and with Bayesian inference. There, we explain how to infer the airflow map from the model given the measurements. Further, the resulting probability distribution of the airflow map is then used for constructing an uncertainty-driven exploration strategy in Section 4. In Section 5, we discuss the implementation of the proposed approach in more detail tailored to ground-based robotic platforms that we dispatch in an indoor environment. Finally, in Section 6, we evaluate the proposed approach in simulations and in experiments in a laboratory setting with several robots.
2. PDE airflow model
Our goal is to generate a map of the airflow field fast and accurately. Therefore, we apply a Domain knowledge Assisted Exploration (DARE) approach. In our case, we know the dynamic behavior of the airflow from fluid dynamics. It can be mathematically modeled by the Navier-Stokes PDEs. The role of this mathematical model in the considered context is mainly twofold. First, it can be used to interpolate (or even extrapolate) the airflow beyond measurement locations based on physical laws, thus giving a more detailed and accurate numerical representation of an airflow map. Second, the model permits quantifying the uncertainties in the model parameters and informativeness of collected measurements. Uncertainty quantification can then be exploited to design an intelligent exploration strategy for the robots (see Section 4). Besides the two main objectives, the model can be further used to build a simulator to simulate realistic airflow fields, as done for our simulation studies in Section 6.1.
In what follows, we will describe the model in more detail, show how to address nonlinearity in the PDE, and finally explain how to numerically approximate the resulting variational problem.
2.1. Navier-Stokes equations
The Navier-Stokes equations are PDEs that describe the behavior of fluids. Depending on a particular application, the considered environment and fluid, etc., different versions of the Navier-Stokes equations can be applied to exploit simplifications that are justified by physics. For the approach considered in this work, we make the following simplifications and assumptions: • We consider the Navier-Stokes equations in 2D because we are going to deploy ground-based robots and assume the vertical airflow component to be zero close to the ground. • We consider the air as incompressible, that is, having a constant density throughout the exploration area. This assumption is usually justified for small Mach numbers, as in our case, where we expect airflow velocities below 10 m/s (ca. Mach 0.03). • Finally, we consider a time-invariant (steady) airflow. Of course, turbulence causes an unsteady flow on a short time scale. However, in the long term, we assume the statistical properties of the flow (e.g., statistical distribution of the velocity and its mean) to be constant. Therefore, in the probabilistic inference approach discussed later, the flow will be modeled as stationary.
These assumptions naturally lead to the steady-state incompressible Navier-Stokes equations:
2.2. Boundary conditions
For a well-posed (unambiguous) description of the airflow field, the Navier-Stokes equations need to be extended by appropriate boundary conditions. In general, there are two different types of boundary conditions possible. On a Dirichlet bound, we define the actual value of a function (air velocity or pressure), whereas on a Neumann bound, the gradient of the function is specified. At this point, we would like to remark that throughout this article, we consider pressure as gauge pressure. So, zero pressure refers to ambient pressure. In our setup, three different boundaries of the domain Ω can be identified (see also Figure 1): 1. Obstacles (Dirichlet bound): In the exploration area, we consider O obstacles. The location of these obstacles is assumed to be known a priori. Furthermore, we assume that no air can flow across the boundaries of the obstacles. These are denoted by Γo,i (no-slip boundary condition); also we assume the pressure on the boundary to be zero. More formally, 2. Forced Inflow/Outflow (Dirichlet bound): We assume F regions of inflow on our boundary denoted by Γf,i, i = 1, …, F. In the experiments, we will implement this inflow by F fan-arrays on the outer bound of domain Ω. In these regions of the boundary, the air is blown into the domain in normal direction 3. Outer boundary (Neumann bound): The outer boundary Γb of Ω is assumed to be open so that the air can flow off the domain. Further, we assume that the conditions on the boundary regarding the airflow are constant with respect to the spatial location. This is modeled with a Neumann boundary condition for Different boundaries of the domain Ω used in experiments and simulations: Bounds Γo,i belong to obstacles, bounds Γf,i to inflow caused by fans, and Γb covers the remaining outer boundary.

In the second and third contexts, not all boundary conditions can be assumed as known; the airflow field, in this case, cannot be uniquely computed as the resulting problem is no longer well-posed. This leads to the problem of airflow exploration—an inverse problem of determining
Let us also note that even though the airflow model is inspired by physics, it is merely an approximation of reality. In fact, there are a few effects that do lead to model mismatches due to the assumptions made. First, airflow is a 3D phenomenon. For instance, close to wall heaters in the lab, we would expect a vertical airflow component, violating the assumed 2D model and divergence-free assumption, that is equation (5). Furthermore, the assumption about the time-invariance of the airflow is a simplification; it is natural to expect time variability due to a number of factors, such as people’s movement in the lab and opening/closing doors. Nonetheless, our empirical evidence shows that the resulting model captures the global structure of the airflow while still having a manageable real-time computational complexity.
2.3. Nonlinearity of the model
A closer inspection of equations (3)–(5) reveals that they are nonlinear: the convection term
Now, considering
2.4. Numerical approximation
In order to solve the system of linear PDEs consisting of equations (5), (9), and (10), numerical approximation techniques are used. In our work, we use the Finite Element Method (FEM) for this purpose. FEM is a general numerical method for solving partial differential equations. In what follows, we provide a short overview of the approach applied to our problem. However, it is out of the scope of this article to explain FEM in full detail. For more information and details on FEM an interested reader is referred to textbooks like Zienkiewicz et al. (2013), Rehman et al. (2008), or Song (2018). In this article, it is only important to understand that FEM converts a variational PDE problem into a system of linear algebraic equations. In the following, we summarize some of the FEM key steps applied to the considered PDEs.
The FEM-based solution is obtained by first representing the PDE in a so-called weak formulation, which leads to a solution with respect to certain test functions. The exploration domain Ω is then discretized with a mesh of finite elements spanned over nodes. Based on the mesh, a finite set of basis (shape) functions ϕ
i
, i = 1, …, N is defined to approximate continuous spatial functions. For example, the continuous airflow velocity component w1( The spatial airflow field can be described by its velocity components w1(
In our case, the wind field components w1(
By inserting the discretized representations of all functions into the weak formulation of the linearized PDEs (9), (10), and (5), we arrive at a system of algebraic linear equations
As the final step, we extend (11) with the discretized versions of the boundary conditions. For Dirichlet boundaries, we then obtain:
Obviously, when some of the boundary conditions are unknown, as it is in the case of airflow exploration, the corresponding structure of the matrices
Now, to simplify further notation, we define the parameter vector
3. Map reconstruction
The main objective of the exploration task is to obtain a map of the airflow field. In other words, for every point in the domain Ω we want to know the x1 and x2 components of the airflow velocity. Therefore, spatially distributed measurements of the airflow are needed. Based on our airflow model introduced in the previous sections, we are able to interpolate in a physics-informed way between rather sparse sampling points. Basically, the map reconstruction reduces to estimating the parameters of the airflow model, that is, the vectors
The robots are equipped with anemometers to measure the airflow components at their current position. The I measurements can be modeled mathematically as The plots depict histograms of measured data for the airflow velocity components u and v at a single representative location in our experimental area. The data set covers 20 minutes. In addition, a fitted Gaussian distribution is plotted.
Now, using (15) we can formulate the likelihood of the airflow parameters
The Bayesian approach allows us to encode a priori knowledge in the form of a prior PDF. Here, the airflow model is used for this purpose. In the first step, we cast the deterministic model given by (13) and (14) into a probabilistic framework. We do this by relaxing (13) and allowing the equality to deviate from
We note that such a modeling approach has been previously introduced by Wiedemann et al., (2019a), however, for a different type of PDE. Now, we can design a prior PDF for
Thus, the selected prior, on the one hand, favors parameter choices
Finally, from the Bayes theorem, we formulate the posterior PDF of the parameters
Let us make a few remarks about the choice of precision parameters τ m , τ s , τ b , and τ p . These parameters weight the corresponding contributions in the posterior (18) from the measurement likelihood, the model and boundary equations, and the regularization term, respectively. While τ m is related to the amount of measurement noise, the other parameters encode our “trust” in the other model assumptions. For example, increasing τ s puts more emphasis on the fulfillment of the Navier-Stokes equation. Decreasing τ b allows the solution to deviate from assumed boundary conditions. The parameter τ p regularizes the posterior and, in general, should be selected as low as possible while still ensuring the numerical stability of the problem. Later in Section 6, we will provide numerical values for the selected parameters used in the simulations and experiments.
Due to the nonlinearity of the Navier-Stokes equations and the Picard method, map estimation is an iterative approach. For every iteration k the matrix
4. Exploration strategy
The previous section deals with the reconstruction of the airflow given spatially distributed measurements
The proposed exploration approach is based on the uncertainty information contained in the posterior (18) (see also Wiedemann et al., 2019a). Precisely, we quantify the spatial uncertainty distribution based on (18). We consider a multi-robot system consisting of a fixed number of robots and send these robots to the locations in the exploration domain Ω where the uncertainty is high. When the robots have taken new measurements, we can update the uncertainty distribution and again send the robots to locations that have now become the most uncertain ones. These locations are good candidates for taking the next samples since a measurement at these locations would naturally reduce the uncertainty there, which in turn will bring down the overall uncertainty of the estimated airflow. Due to our used discretization, each parameter in
As a measure of uncertainty, we look at the covariance of the posterior distribution of u
i
and v
i
obtained by marginalizing the posterior over all other nodes
There are different possibilities to quantify the resulting uncertainty of the node i. Here, we use the trace tr(
5. Multi-robot system
In this section, we describe the proposed airflow exploration approach from a system-level perspective and discuss some implementation aspects of both software and hardware used in experiments.
5.1. Exploration procedure
To collect the measurements for airflow exploration, we use a swarm of robots. We assume that the robots have the following key capabilities:
The flow chart of the system making use of these capabilities is shown in Figure 4. Each robot has its own instance of the sensor unit (anemometer), motor controller, and path planner. In the first step, each robot measures the airflow vector with an onboard anemometer. The measurements are averaged over 10 s to smooth out short-term turbulence effects. During this period, the robot stands still. The average measurement, together with the robot’s current location, is sent to the model update block, where the reconstruction takes place. The model parameters are continuously updated, resulting in the computed airflow and uncertainty map as detailed in Section 3 and Section 4. The results of these computations are stored in a database which can then be accessed by the robots or system operators. The flow chart illustrates the system architecture of the implemented exploration strategy. Dashed lines indicate information flow and solid lines show the process flow. Blue boxes represent actions supported by software modules, as shown in green.
After taking one measurement, a robot then selects a new location for the subsequent measurement and plans a collision-free trajectory toward it. To this end, it requests the most recent estimate of the uncertainty map from the database shared by the swarm. Selection of a particular point and path planning toward it is secured by a token system to ensure the unique assignment of the measurement location to a robot (see also Section 5.3). To compute trajectories toward selected measurement locations that are safe and collision-free a modified version of an RRT* algorithm is used (LaValle, 1998). We will discuss the RRT* planner in Section 5.2 in more detail. The output of the algorithm is a set of possible collision-free trajectories from which the path leading to the highest uncertainty at the destination is chosen.
The selected trajectory is then handed over to the motor controller that drives the motors of the robot and ensures the robot follows the calculated path. When the robot reaches the endpoint of the path, the whole cycle repeats anew. In our approach, the robots only need to communicate concerning the token system and exchange information about the planned path with each other (see Figure 4).
Let us emphasize that the exploration cycles of individual robots run completely asynchronously. As a result, the time it takes robots to complete their exploration cycle will differ as each robot has different traveling times.
5.2. Path planner
A path planner is needed to compute a safe trajectory toward the new measurement position avoiding both static and dynamic obstacles. We implement the planner using a Rapidly-Exploring Random Tree (RRT)* algorithm (Karaman and Frazzoli, 2011; LaValle, 1998). The algorithm generates multiple possible paths in the allowed free space of the exploration area and takes into account robot dynamic constraints. For our experiments, we generate paths consisting of straight segments, which can be easily followed by our differential-drive, tracked robots.
To ensure the avoidance of other moving robots, the swarm exchanges the planned paths. To make sure that no collision can occur, a robot is not allowed to cross the already planned trajectories of other robots. Additionally, a safety margin around the trajectories is defined to compensate for the robot’s exterior dimension and inaccuracies in the localization system. Similarly, we define a safety margin around static obstacles, which we set to 0.5 m in our experiments. In Figure 5, we show an example of generated possible trajectories, marked in green, for a robot located at (−1, −4). These possible trajectories exemplify the generated RRT* tree used for navigation toward a new measurement position. The trajectories of three other robots are shown in red. The dotted lines mark the safety margin around these trajectories. The static obstacles are shown in blue. This plot shows an example situation with two obstacles and four robots. All possible paths planned by the RRT* Path Planner are shown in green for the robot located at (−1, −4). Dots indicate the locations where the robot changes its orientation. The obstacles and paths of other robots are extended by a safety margin. They are blocked areas for the path planner.
In real-world experiments, we observed that due to inaccuracy in the positioning system, a robot might stop closer to either an obstacle or another robot, slightly violating the safety margin. While this is not critical from a safety perspective, it might cause issues when the robot plans its next path since RRT* would return no possible trajectories due to the origin of the tree being inside the safety margin. As a workaround, we use the following fallback routine: if the RRT* root lies within the safety margin, it is “moved” into the free space by determining the distance and direction to the closest obstacle border. The RRT* starting point is then shifted accordingly into the free space with an additional tolerance (5 cm in our case). Then, the tree is generated as usual.
After the RRT* tree has been generated, the uncertainty map is taken into account to choose from all nodes of the tree (intermediate nodes and end nodes) the node with the highest uncertainty as the next measurement location. The path to this node from the robot’s current position is found by “backtracking” the tree nodes. To follow the created path, a list of nodes belonging to the path is sent to the motor controller, which translates the straight lines into commands for the motors.
5.3. Token system
Due to the asynchronous distributed functioning of the system, it is essential to ensure that two robots do not plan a path at the same time, as this might cause collisions of the trajectories or result in the selection of the same measurement location. As the system runs in a distributed fashion without a centralized controller, we need a token system that prevents such situations. It is important to emphasize that only the planning step is forbidden to be executed in parallel. However, as soon as the planning is completed, robots can execute the collision-free paths simultaneously and in parallel.
Initially, one of the robots holds the token for as long as no one else requests it. The token holder continuously broadcasts its own ID/name to all robots, indicating the current token holder. We also use this information to detect possible timeouts of the token holder and reinitialize the token system in case of a failure. Then, a robot that wants to plan a new trajectory requests the token and broadcasts its request. The role of the token holder is to collect requests in a FIFO list and, as soon as it is done with its own path planning (which typically took about 1 sec in our experiments), pass the list with a token to the robot on top of the list. The receiving robot then becomes the new token holder. The list of robots that currently request the token is also continuously sent out by the token holder. This is needed by other robots in case of a timeout due to failures of the current token holder to determine the next token holder.
5.4. Robotic platform
In the experiments, we use non-holonomic rovers (see Figure 6). Two tracks allow the robot to turn and move forward and backward. Each robot is equipped with a TriSonica Mini anemometer (Anemoment.com, nd). It is an ultrasonic anemometer that measures wind speeds in all three spatial directions in a range from 0–50 m/s with an accuracy of ±0.2 m/s and a resolution of 0.01 m/s. Note that for the experiments, we only consider the horizontal wind components for the u- and v-directions. The wind measurements are taken at a rate of 5 Hz. CAD design of the rover used in our experiments equipped with anemometer. Quiver plots of example airflow fields: Panel (a) shows a simulated airflow field obtained through simulation. In (b), the estimated airflow field is shown after 2 min of exploration, and in (c) after 10 min. The white stars indicate the locations where measurements were taken.

The robots carry a Raspberry Pi 4 onboard computer. This computer is responsible for receiving the measurements from the anemometer, communicating with the motor drivers, as well as, low-level path tracking.
All of the experiments are conducted in a laboratory equipped with a camera tracking system providing the position and orientation of all robots with centimeter accuracy in real-time. This information is used by the low-level path planner to follow the planned trajectories and to label measurements with a precise location. Further, during exploration, the orientation of the robots is used to transform the wind measurements into a common global coordinate system (i.e., u and v components).
The robots are also equipped with a commercial WiFi communication system. This allows the robots to (i) receive their current position and orientation from the tracking system, (ii) send measurements to the central model update software module, (iii) access the database, and (iv) safely plan paths secured by the token systems (as detailed in Figure 4). The whole software is implemented based on the Robot Operating System 2 (ROS2). This publisher-subscriber framework facilitates inter-process communication over the network.
6. Evaluation
In the following section, we evaluate the proposed approach in simulations as well as in lab experiments. Since we intend to accurately map the airflow field, a desirable performance criterion would be an error between an estimated and an actual ground truth airflow. Unfortunately, it is hard to quantify this error in real-world experiments—even in a controlled environment—since the ground truth airflow field is rarely known. Consequently, we evaluate our approach in two steps: First, we virtually simulate the airflow field and thus have full control over all environmental parameters, for example, boundary conditions. Further, the simulation provides us with ground truth information about the actual airflow that we can compare to the estimated airflow map and thus quantify the estimation error. Second, we use a swarm of robots in a controlled laboratory environment to experimentally validate the exploration approach. Here, we cannot precisely quantify the estimation error due to the lack of ground truth information. However, we can provide a proof-of-concept, investigate the convergence of the estimation, and compare the exploration strategy to other sampling approaches.
6.1. Simulation
6.1.1. First example
We consider an exploration domain of 4 m × 13 m to mimic the dimensions of the lab used in the experimental evaluation later on. We placed two inflow boundaries: Γf,1 at (x1 = 0, x2 = 3) and Γf,2 at (x1 = −2, x2 = −3) with w2(
To estimate the airflow from the measurements, we use five robots that collect airflow samples and move according to the proposed exploration strategy. For the robots, the placement of the fans is unknown, so measurements are necessary to solve the now ill-posed problem. Whenever a robot has reached its goal position and wants to take a measurement, the measurement value is taken from the simulated ground truth airflow field at the robot’s current position.
The reconstructed solution for a single simulation run after 2 and 10 min of exploration is shown in Figures 7(b) and (c), respectively. White stars indicate the locations of the taken measurements. As can be seen from Figure 7(b) after 2 min, the robots primarily measure at border areas of the domain since they are most uncertain due to the lack of boundary conditions in the model. In Figure 7(b), measurements close to the inflow Γf,2 were already carried out, and in general, the estimate is quite close to the ground truth airflow field except for the region around the inflow Γf,1. After 10 min, it can be seen in Figure 7(c) that the ground truth was reconstructed quite accurately everywhere since enough measurements have been collected to estimate the airflow field correctly. NRMSE between the estimated airflow field and the ground truth over time: In (a) in red, the example corresponding to Figure 7 is shown together with the averaged error over 10 simulation runs in dotted blue. The area in blue indicates the maximum and minimum observed error in 10 simulation runs. In (b), the error curves for different setups of obstacles and inflow conditions are depicted (each averaged over 10 runs). The average is shown in black, and the maximum and minimum observed errors are indicated by the gray area.
6.1.2. Performance evaluation
The model and the airflow map are updated iteratively as explained in Section 2 and Section 3. This update loop runs at a fixed rate. The simulation enables us to calculate for every update iteration k the NRMSE between the ground truth
Unfortunately, the NRMSE is not an intuitive measure and is hard to interpret. To address this limitation, we present the error in the estimated airflow speed, that is, the amplitude of the airflow, in Figure 9(a), and the error in the estimated airflow direction in Figure 9(b). Both estimates correspond to the example depicted in Figure 7(c) after 10 minutes of exploration. The error is calculated as the difference between the ground truth airflow field and the estimated one. As observed, the error in the airflow velocity mostly remains below 0.1 m/s. Only in regions with high airflow and where the airflow encounters obstacles does the error slightly increase. Similarly, the error in direction predominantly stays below ±15deg. According to Wiedemann et al. (2019a), these errors are deemed small enough for robotic gas source localization, which is the primary motivation behind our work. In this context, one might also consider the specification of the sensor used in experiments to better interpret the performance of our approach. The used ultrasonic anemometer can measure the three spatial directions with an accuracy of ±0.2 m/s (Anemoment.com, nd). So the estimation error is already below the sensor accuracy. The plots depict the error in the estimated airflow field with respect to the airflow velocity amplitude in (a) and airflow direction in (b). In (b), areas with velocities below 0.1 m/s are masked since the direction of a vector loses its meaning when the vector’s amplitude approaches zero.
Figure 10 shows the number of taken measurements over time and the number of distinct measurement locations for three different evaluated setups. The curves show no horizontal slopes, which implies that robots continuously take measurements. The plot also shows that there are more measurements than distinct measurement locations. This means some locations are measured twice, which might be inefficient for exploration. This situation can occur in cases where a robot is forced to measure at an already visited location when no other locations are reachable because of other robots and obstacles blocking the path. In the early phase of the exploration, this is not very likely. However, with an increasing number of visited locations, the effect gets more significant. Nonetheless, according to Figure 8 the estimate of the airflow after 10 min is already sufficiently accurate. For this time duration, approximately 15% of measurement locations have been revisited. Number of measurements and the number of distinct measurement locations over exploration time.
6.1.3. Advantage of model-based approach
At this point, we can conclude from the simulation that the proposed DARE approach generally works and provides an airflow field estimation that is accurate enough in the context of gas source localization. However, here we would also like to compare the approach to a data-driven approach with respect to accuracy to evaluate what we gain from our model assumptions. Therefore, we have chosen a Gaussian Process regression approach as a benchmark. We feed the measurements taken in the 30 simulations depicted in Figure 8(b) (10 for each setup) to a Gaussian Process regression algorithm. We have chosen an implementation based on Rasmussen and Williams (2006) with
4
a radial basis function kernel: The plot compares the regression performance of a Gaussian Process in red with our DARE approach shown in blue averaged over 30 runs. The colored areas indicate maximum and minimum performance for both approaches. In addition, the dotted and dashed lines show the Gaussian Process performance for other values of the hyper-parameter l.
6.1.4. Verification of uncertainty map
In the presented simulation, the robots move according to our uncertainty-driven exploration strategy based on the estimated uncertainty map. In the following, we would like to validate that the calculated uncertainty map actually corresponds to the variances of the marginal distributions of the posterior (see equation (20)). To this end, we consider equations (13)–(15) and the regularization disturbed by a random vector: The plots compare the uncertainty map acquired by calculating the variance of multiple Monte Carlo runs in (a) and by the calculation derived in Section 4 in (b). Both maps are normalized with respect to the highest value in (a). The plot in (c) shows the difference between the two maps.
6.1.5. Comparison to random sampling
We also ran 30 simulations (10 for each of the three setups) with a different exploration strategy. This time, the next waypoints are chosen randomly by the robots. However, still following the RRT* path planner to avoid collisions. The performance of this sampling approach is compared to the uncertainty-driven exploration strategy in Figure 13. From the curves in Figure 13(a), it can be seen that, on average, the performance is quite similar. The plot implies that for our setup, a uniform random sampling strategy seems to be a good approach in general. The violin plots in Figure 13(b) illustrate the statistics of the 30 simulations for time steps 2.5, 5.0, 7., and 10.0 min. Here, we can see again that the mean is quite similar. However, the spread of the performance is higher for the random sampling approach compared to the uncertainty-driven exploration. We can interpret these results in the following way: the random sampling approach, by chance, achieves better performance in some simulation runs, yet in other runs, worse performance is achieved. In this respect, the performance of the uncertainty-driven exploration strategy is more consistent and more deterministic throughout the simulations. The plots compare the performance of the uncertainty-driven exploration strategy and a random sampling approach. In (a), the NRMSE is plotted over time averaged over 30 simulation runs. The colored areas indicate maximum and minimum observed error in the simulation runs. The violin plots in (b) illustrate a more detailed statistic of the errors for time steps 2.5, 5.0, 7.5, 10.0 min.
6.2. Laboratory experiments
As proof of concept, we also conducted real-world experiments.
6.2.1. Reconstruction
The experiments were carried out in an area of 4 m times 13 m in an indoor laboratory. We placed two rectangular obstacles Γo,1 and Γo,2 in the area with sizes 0.5 m × 2.0 m and 1.0 m × 2.0 m at known locations. According to these, we include in our airflow model no-slip boundary condition (w1( Picture of the experimental setup in the laboratory: A video showing the experiment can be found here: https://youtu.be/otn5QMRsve4.
Figure 15 shows snapshots of an experiment. In Figure 15(a), the estimated airflow field is depicted after 2 min and in Figure 15(b) after 10 min, as well as the corresponding uncertainty maps in Figures 15(c) and (d). The obstacles and the fans indicated are at similar locations as in the simulation (see Figure 7). Again, we would like to note that it is impossible to quantify an estimation error here since no ground truth data is available. Nevertheless, the estimated airflow field after 10 min seems reasonable considering results from the simulation in a similar setup. However, the velocity field is more noisy and irregular compared to the simulation (see Figure 7). In (a), the estimated airflow field of an experiment after 2 min and in (b) after 10 min are shown. The white stars indicate the measurement locations. The black rectangles mark obstacles, and the red lines at the border are the fans’ locations. In (c) and (d), the uncertainty maps after 2 min and 10 min are depicted.
In this context, the parameter τ
m
can be used to specify how much impact the measurement noise will have on the solution. So, we had a closer look at the situation after 40 iterations of model updates in a different experiment in Figure 16. To show the influence of the parameter τ
m
, three different values were chosen, and the resulting airflow maps are displayed side-by-side. We would like to point out that it is not so much the actual value of τ
m
itself that plays a key role, but its ratio to τ
s
. In Figure 16(a) the parameter is set to τ
m
= 0.001. So, we assume a high measurement noise, that is, a low precision τ
m
. This means a low trust or weight of the likelihood compared to the model weighted by τ
s
= 1 (see equation (18)). In addition, the regularization term becomes more heavily weighted by τ
p
relative to the likelihood. As a consequence, the estimated airflow field appears smoother. In contrast, in Figure 16(c) on the right, the parameter τ
m
is set to 1000. This means we trust our measurements and presume a low noise level. In other words, our approach is mostly data-driven. Since real measurements are noisy, this leads to a more “chaotic” and disordered airflow field in Figure 16(c). Furthermore, the airflow field most likely will violate the Navier-Stokes equations, since the model assumptions are less weighted in the reconstruction than the noisy measurements. In Figure 16(b), we set τ
m
= 1, which leads to a somewhat averaged case and seems to be a good compromise. The plot is less ordered than in Figure 16(a), but especially in front of the fan clusters, the results fit the expected behavior of the airflow better. At the same time, it is smoother than in Figure 16(c). Quiver plots of the estimated airflow field for different values of τ
m
: The measurements are exactly the same in all three cases. The black rectangles mark obstacles, and the red lines at the border indicate the locations of the fans. In (a) τ
m
is set to 0.001, in (b) to 1 and in (c) to 1000.
6.2.2. Exploration
In the previous section, we compared the uncertainty-driven exploration strategy to a random sampling approach. Now, as an additional benchmark, we compare the uncertainty-driven exploration strategy with systematic sampling, where the robots follow some predefined paths that cover the whole area. For this, all the possible measurement locations (i.e., mesh nodes) are divided into five clusters, and each cluster is assigned to one robot. By solving the Travelling Salesperson Problem, the locations are ordered in a way so that all points are visited and the traveling time is minimized. The resulting paths for the robots can be seen in Figure 17. This approach has the advantage that measurements are taken at all possible measurement locations. However, the sampling strategy is not intelligent with respect to airflow measurements. So, it might take a long time for the robots to reach informative measurement locations. Consequently, it takes longer to accurately map the airflow. In Figure 18(a), the performance of the full coverage strategy is compared to the proposed uncertainty-driven exploration strategy. Due to the lack of ground truth data in the experiments, the error is calculated with respect to the estimated airflow field at the end of the experiments after 30 min. The plots show clearly that the proposed exploration strategy converges faster to its final results compared to the full coverage approach. The plot depicts the predefined trajectories of five robots of the full coverage benchmark strategy. In (a), the performance of the proposed uncertainty-driven exploration strategy is compared to a full coverage sampling approach. The error is calculated with respect to the estimated airflow field at the end of the experiment. In (b), the mutual difference between airflow fields estimated in different experiment setups is depicted. The difference is measured by the NRMSE, where one of the experiments is used as a reference for normalization. Three experiments for setup 2 were carried out with the uncertainty-driven exploration and three with the full coverage approach.

Finally, we would like to compare the results of different experimental runs to evaluate if the estimated airflow maps converge to similar results for the same setup. This comparison is shown in Figure 18(b) for two different setups. In the first setup, nine experiments were carried out with the proposed uncertainty-driven exploration strategy. In the second setup, three experiments were performed by robots following the uncertainty-driven exploration strategy and three experiments following the full coverage approach. For this benchmark, we measured the difference by means of the NRMSE as explained in equation (23), yet the role of the ground truth value is played by one of the experiment results. In Figure 18(b), the differences between the estimated airflow fields at the end of the two experiments are shown for all possible combinations.
Since the error is normalized with respect to one of the experiments, the table is not symmetric. As expected, the error between two experiments with the same setup is significantly lower compared to the difference between the estimated airflow field in different setups. Further, the differences between runs in the same setup are in the same range and independent of the sampling strategy. So, the mutual differences in setup 2 between the uncertainty-driven exploration strategy and the full coverage approach are also in a similar range. This supports the conclusion that the robots actually mapped the airflow field correctly and that the reconstruction works well independently of the exploration strategy.
At this point, we would like to briefly comment on how the proposed approach scales with the number of agents, even though a detailed analysis of this effect is outside the scope of this paper. In general, more agents could collect more measurements at the same time and speed up the exploration process. Computational-wise, the bottleneck is the model update (see Figure 4) and solving the linear equation system for updating the uncertainty map. Fortunately, this step is independent of the number of robots. However, with an increasing number of robots, path planning becomes an issue. Due to the token system and to avoid collisions, only one robot is allowed to plan a path at a time. So, other robots might have to wait. With an increasing number of robots, this waiting (idle) time would become more significant and make the exploration process less efficient.
7. Conclusion
Motivated by applications like gas source localization or gas mapping, where knowledge about airflow is a great advantage, we developed a holistic framework for mapping and exploring 2D airflow fields. Our proposed method enables a multi-robot system to adaptively explore an airflow field where the sampling strategy utilizes domain knowledge encoded by the incompressible Navier-Stokes equations. Due to the adaptive exploration strategy, robots react online to already taken measurements and decide autonomously where to measure next. Therefore, we designed a Bayesian inference framework that allows us to quantify spatial uncertainties of the estimated airflow field and to estimate the spatial airflow field itself by maximizing the corresponding posterior PDF of airflow field parameters. The spatial uncertainty map is then exploited in a robotic path planner for the multi-robot system based on RRT*. Specifically, robots take new measurements in regions with the highest uncertainty, which reduces the total uncertainty of the estimated airflow efficiently. The proposed approach presumes that a priori knowledge about the obstacles in the environment and the currently planned paths from all other robots are available. The swarm acts asynchronously. To this end, a token system was designed to secure the planning phase and ensure that only one robot plans a path at a time. Simulations have shown that the proposed approach can accurately map the airflow field and that the reconstruction works well independently of the exploration strategy. Also, experiments in a laboratory with a swarm of robots equipped with anemometers to sample the air velocity indicate that the airflow reconstruction and the exploration strategy work well. The proposed exploration is more efficient than a predefined full-coverage sampling strategy.
Nonetheless, the discussed approach has some limitations. First of all, especially in outdoor scenarios, the airflow map would not be steady and is generally time-dependent. Therefore, the approach would need to be extended to a time-variant case, which would also imply considering time-dependent Navier-Stokes equations. As a consequence, the complexity of the airflow map estimation problem would increase. Furthermore, the 2D treatment of the airflow field is an oversimplification of reality, especially in indoor scenarios where standard ventilation systems can result in vertical airflow components. Such environments would require a 3D model.
As our primary motivation was gas source localization and gas mapping, coupling airflow exploration with these applications would be a reasonable next step in further work. This opens new, interesting research directions in the context of robotic olfaction. In particular, infotaxis-based approaches similar to the one proposed here will be of interest for coupled models of airflow and gas dispersion to answer questions like: Is a measurement of the airflow at a certain point more informative than a gas concentration measurement at another location?
Supplemental Material
Footnotes
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
This work was supported by the EU Project TEMA. The TEMA project has received funding from the European Commission under HORIZON EUROPE (HORIZON Research and Innovation Actions) under Grant Agreement 101093003 (HORIZON-CL4-2022-DATA-01-01). Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or Commission. Neither the European Commission nor the European Union can be held responsible for them.
Supplemental Material
Supplemental material for this article is available online.
Notes
References
Supplementary Material
Please find the following supplemental material available below.
For Open Access articles published under a Creative Commons License, all supplemental material carries the same license as the article it is associated with.
For non-Open Access articles published, all supplemental material carries a non-exclusive license, and permission requests for re-use of supplemental material or any part of supplemental material shall be sent directly to the copyright owner as specified in the copyright notice associated with the article.
