Abstract
Wildfires pose significant risks to human life, infrastructure, and ecosystems, while wildfire suppression is a dangerous endeavor. Robotic systems, particularly autonomous unmanned aerial vehicles, can provide a means to improve wildfire detection and monitoring, while reducing the need to expose personnel and manned aircraft to hazardous environments. Wildfire response benefits from sensing systems that can rapidly cover an area while acquiring localized thermal information near a detected region. Unmanned aerial vehicles and autonomous drones provide a viable alternative to manned aerial vehicles due to their lower cost and increased capability to navigate the destructive conditions of wildfires and the complex environments in which they occur. This paper presents a scaled indoor proof-of-concept framework on a 27 g micro quadrotor, costing about USD 470 per vehicle, that integrates dual-altitude trajectory planning, time-of-flight (ToF)-based obstacle sensing and avoidance, thermal heatmap construction, and two-drone task coordination. A higher flight level surveys predefined zones, following which a thermal response sends the drone to a lower flight level for a denser set of measurements. In indoor experiments, positional correction cut the mean cross-track deviation of the onboard position estimate from 0.17 m to 0.06 m, and the final positional error from 0.55 m to 0.04 m, at the cost of 41% more flight time. In mapping flights with heat sources 4–9 °C above ambient temperature, mapped hotspot centroids lay 0.06–0.27 m from source outlines reconstructed from images, where the 55° × 35° thermal sensor array mapped sources more completely than the 110° × 75° arrays. Obstacle avoidance completed its intended functional sequences in three tested configurations, each over five runs, and missed-zone reallocation in a scripted-fault trial. The indoor proof-of-concept experiments with the mild heat sources demonstrated the execution of the tested sensing and coordination sequences, but do not establish calibrated hotspot-boundary accuracy, detection probability, or performance in an active wildfire.
1. Introduction
Wildfires are natural disasters that consist of large fires that engulf woodland areas. These disasters have been afflicting many parts of the world for many years and have a destructive impact on the environment and on human society. The impacts of wildfires include damage to infrastructure, human fatalities, health concerns caused by smoke exposure, and destruction of ecosystems, which affects the health of the environment and the agricultural industry [1]. Managing wildfires also imposes substantial financial costs. In 2022 alone, an estimated 68,988 wildfires were reported across the United States, with total federal suppression costs of approximately $3.55 billion [2]. In 2023, the Maui wildfires proved to be one of the most fatal and destructive in the US, causing an estimated total of 115 deaths and damage to an estimated 2000 homes [3]. In many locations, wildfires have almost become an inevitability and cannot be ignored. Such events motivate sensing methods that can provide local information while limiting personnel exposure to hazardous areas.
Wildfire management techniques can be categorized into prediction, prevention, detection, monitoring, and suppression [4]. Common suppression techniques include using aircraft to disperse flame retardants, creating firebreaks to halt the spread, and using water from static bodies of water through pumps and hoses to put out flames [4]. While the need for fire suppression is seemingly inevitable in wildfire scenarios, other techniques can be employed to help ease the burden on firefighters. This can include predicting a potential wildfire through monitoring weather forecasts, using satellites as a form of early detection, and deploying unmanned vehicles to actively monitor a present wildfire [4]. All of these solutions and techniques serve important purposes in detecting and managing wildfires. Each of these techniques depends on timely, spatially specific information about where heat is present on the ground.
Unmanned Aerial Vehicles (UAVs) like autonomous drones can assist with wildfire monitoring and prevention. Typical use cases for drones have been for surveillance or monitoring of wildfires, where the focus is development of optimal coordination strategies and sensing types. Development of drone frameworks can be categorized by sensing modalities, types of tasks performed, coordination strategies (especially with swarms), and ways of experimenting with the devised methodology [5].
Common approaches for identifying wildfires include using vision-based cameras, optical cameras, and thermal infrared (IR) sensors to detect hotspots and smoke from the ground level or above the tree line [6]. Methods based on machine learning have also been developed using RGB and IR imagery to classify wildfire features [7,8]. There are also various developments in coordination strategies for drones that entail determining how the drones should maneuver for wildfire monitoring. Coordinated UAV strategies have also been investigated for wildfire monitoring, including leader-follower formations in which a leader coordinates other UAVs for coverage and observation [9]. Approaches utilizing multiple UAVs can also concentrate sensing resources around detected fire regions [10]. Decentralized swarm-control algorithms for large-scale wildfire detection in simulation showed that dynamic space partitioning could maintain coverage when agents failed [11]. Other studies, including a heterogeneous drone swarm for post-wildfire hotspot search, detection, and reporting [12] and an autonomous UAV wildfire-detection system combining a VTOL platform, computer-vision smoke detection, and automated reporting [13], indicated that the use of UAVs, thermal sensing, or multiple vehicles alone is not sufficient to establish novelty.
Table 1 compares representative studies by platform, sensing, coordination method, evaluation setting, and the evidence each reports. Three gaps stand out in the table. Most multi-UAV wildfire studies evaluate coordination in simulation, with sensing reduced to an assumed detection model [9,10,11]. Field systems that fly thermal payloads use outdoor-rated aircraft and report workflow demonstrations rather than detection statistics [12,13]. Work on Crazyflie-class micro-UAVs shows that optical flow and a few ToF rangers suffice for indoor exploration and environmental mapping [14,15], but these studies do not couple a thermal trigger to change the flight altitude. No study in Table 1 shares a benchmark with another, so the table positions the present work rather than ranking accuracy.
Table 1.
Systematic comparison of related UAV systems for fire detection, monitoring, and micro-UAV environmental sensing. The values are as reported in the cited studies; the studies use different environments and metrics and are not directly comparable.
Various designs adopted an approach where drones maneuver on a single two-dimensional plane, often located well above the ground and tree line. Such a method can produce false negatives in fire detection due to obstacles like trees blocking the view from the high-flying drones. The distinguishing feature in this work was the drone’s flight operation in two planes, adding a third dimension to the system. The additional plane of flight allowed the drone to operate at a lower altitude closer to the areas of interest detected from a higher elevation. In the current scaled tests, descending from 0.4 m to 0.3 m reduced each projected pixel dimension by 25% and the projected pixel area by about 44%. That is a geometric gain in spatial sampling. This study did not measure a corresponding gain in detection accuracy.
The sensing payload followed the same constraint. Instead of a scanning LiDAR, the vehicle carried five directional ToF rangers, a downward-facing ToF ranger, and an optical-flow sensor, which weighed a total of 3.9 g. Swarms of 33 g Crazyflie quadrotors have already used this sensor class for bug-algorithm exploration of unknown buildings [14]. Section 2.1 gives the cost of the suite, and Section 4.1 discusses its accuracy. Its weakness is sparse geometry: the drone senses range along five directions rather than building a dense point cloud, and its position estimate slightly drifts with distance flown.
The objective of this study was to develop and physically test a scaled framework that combines trajectory planning, obstacle avoidance, thermal sensing, hotspot mapping, and two-drone coordination. The research questions posed were:
- (1)
- Could drones execute a two-level sensing sequence while mitigating accumulated positional drift?
- (2)
- Could the integrated ToF support obstacle avoidance during a lower-altitude motion?
- (3)
- Could scaled-down/averaged thermal sensing data provide a spatial representation of simulated hotspots while distinguishing between heat sources with different temperatures?
- (4)
- Could two (or more) drones execute independent tasks on a map and recover missed areas?
The proof-of-concept experiments were conducted indoors using simulated heat sources rather than active wildfires. Accordingly, the results are used to establish the functional feasibility of the integrated framework rather than field-level wildfire detection performance.
Relative to the studies in Table 1, this work makes four contributions. First, it implements a trigger-and-refine sequence on a 27 g quadrotor: a thermal response during a coarse Level 1 sweep switches the vehicle to a lower, denser Level 2 sweep of the same zone, with forward-facing ToF avoidance active during the low pass. Second, it integrates the MLX90640 thermal sensor array at the firmware level through a modified I2C driver and a reduced-bandwidth logging scheme, and it quantifies how that reduction limits the detectable target size. Third, it reports quantitative indicators from the archived flights (setpoint deviation, flight time, and hotspot localization offset against layouts reconstructed from photographs) together with a two-drone missed-zone reallocation. Fourth, it states the operational requirements of a future field system and identifies which of them the present evidence addresses.
2. Materials and Methods
2.1. Hardware Platform
The Crazyflie 2.1 (Bitcraze AB, Malmö, Sweden) is an open-source quadcopter platform (Figure 1) [16] that can run custom algorithms and accepts a wide range of add-on sensors. The Crazyflie drone measures 92 mm × 92 mm × 29 mm in size, weighs 27 g, and can support up to 15 g of payload weight for additional sensors. The drone is equipped with two microcontrollers: the STM32F405 microcontroller (STMicroelectronics, Plan-les-Ouates, Switzerland) for flight control and sensor data, and the nRF51822 system-on-chip (SoC) (Nordic Semiconductor, Trondheim, Norway) for radio communication and power management. The drone has an onboard inertial measurement unit (IMU) consisting of a 3-axis accelerometer and a 3-axis gyroscope (BMI088, Bosch Sensortec, Reutlingen, Germany). Communication with the drone was achieved through the Crazyradio PA, the nRF24LU1+-based USB radio dongle that connects to a ground computer and communicates with the drone’s onboard nRF MCU.
Figure 1.
(a) Crazyflie 2.1 drone quadcopter with its components labeled (image courtesy: Bitcraze, AB, Sweden) and coordinate frame showing the axes of translational and rotational motion of the drone. (b–d) An assembled experimental platform with the sensing and expansion hardware used in the study (propellers not shown). (b) Profile view showing modular decks stacked on top of the drone, (c) top view, and (d) bottom view showing thermal sensor and flow deck.
The drone supported additional components like sensors on printed circuit boards (PCBs) as expansion decks. These decks allowed integration of additional sensors to the drone. The modular form factor allowed expansion decks to be stacked on top of each other using headers. The Flow expansion deck with a time-of-flight (ToF) sensor measured and maintained the altitude of the drone while an optical flow sensor contributed to horizontal motion estimation. The Multi-ranger deck had five ToF sensors for measuring along its ±X, ±Y, and +Z axes. This deck was used to implement an obstacle avoidance algorithm in conjunction with the drone’s pathing provided by a trajectory planning algorithm. Additional sensors can be configured on the drone using customized supplementary expansion decks, in this case, for the integration of the thermal IR sensors [16,17,18]. The Flow deck v2 and the Multi-ranger deck weighed 1.6 g and 2.3 g, respectively [17,18].
Thermal sensing using the MLX90640 infrared sensor (Melexis NV, Ieper, Belgium) was tested in two separate configurations, with the 55° × 35° and the wider 110° × 75° fields of view (FOV). Both configurations used a 32 × 24 array with 768 pixels, and the sensors can measure object temperatures from −40 °C to 300 °C [19]. The ground surface area represented by each pixel depended on the sensor height and the selected FOV. The array was read out in a chess pattern, delivering one of two interleaved subpages per refresh, so a complete frame took two refresh periods. The datasheet gives a typical accuracy of about ±1–2 °C, depending on variant and pixel zone, and that accuracy applies only when the object fills the pixel field of view [19]. In the experiments, the narrower FOV produced a more compact representation of the areas with heat sources.
The drone used a Linux-based virtual machine (VM) that included the fundamental frameworks required for programming the drone. The base application in the drone client could be used to fly the drone manually, modify and update the firmware, view logging parameters, and perform hardware tests. The VM stored the drone firmware, which was modified to integrate the thermal sensors. The Application Programming Interface (API) was accessed using the Visual Studio Code IDE (1.79.2) with the VM. Both the drone client and the API were run on a ground computer and interfaced with the drone via the Crazyradio. For this work, the Python API (Python 3.8.10) was the primary interface to program the algorithms developed for autonomous path planning, obstacle avoidance, and data aggregation [20,21].
The Motion Commander submodule consisted of functions that direct movement of the drone. This module was primarily used for trajectory planning by utilizing functions for movements along the ±X, ±Y, and ±Z axes. The drone’s ground velocity was also set through these movement functions, defined in meters per second (m/s). Rotation functions were utilized in trajectory planning. The Multi-Ranger submodule was used to directly interface with the multi-ranger expansion deck to acquire measured data from the ToF sensors and implement an obstacle avoidance algorithm. The callback module was used to gather positional and orientation data of the drone during flight as well as temperature data gathered from the thermal sensor. The Swarm module was used to simultaneously operate multiple drones under the same platform, with separate radio addresses and parallel functions used to issue commands to each drone simultaneously [21].
Table 2 summarizes the main hardware elements used in the drone prototype development.
Table 2.
Hardware elements and their functions in the prototype.
Table 3 lists the mass and hardware cost of one sensing vehicle. The Crazyflie 2.1 and the Crazyradio PA used in this study have since been superseded by the Crazyflie 2.1+ and the Crazyradio 2.0, so the table prices the successor products as the closest purchasable equivalents [22], and the thermal arrays as the corresponding breakout boards [23,24]. One vehicle with a single thermal array costs about USD 470. Adding the shared ground radio brings a one-drone setup to about USD 513 and the two-drone setup of Section 3.4 to about USD 984. The three sensing boards add 7.4 g, before the interface deck and wiring, against the 15 g payload allowance of the airframe.
Table 3.
Approximate mass and hardware cost of the sensing vehicle, with field-rated systems for comparison.
For comparison, a field-rated thermal inspection UAV such as the DJI Matrice 4T, with a 640 × 512 thermal camera and a laser rangefinder, is listed at about USD 7849 as a ready-to-fly kit, and the Matrice 30T at about USD 12,602 [25]. A LiDAR payload such as the Zenmuse L2 costs about USD 13,560 before the airframe that carries it [26]. The scaled micro-UAV configuration therefore costs about 6% of the least expensive of these thermal systems. The comparison is not like-for-like since the field-rated systems offer more than 400 times as many thermal pixels, outdoor-rated airframes, satellite positioning, and far longer endurance than the scaled Crazyflie micro-UAVs.
2.2. Operational Framework and Assumptions
Algorithm 1 defines the mission logic that the experiments in Section 3 exercise. A ground computer generated a map of square zones, assigned zones to drones, and held the state of each zone (Unmonitored, In Progress, or Monitored). Each drone executed the loop in Algorithm 1 against its assigned zones, and the heatmap was assembled after the flight from the stored thermal-pose pairs. Detection, mapping, and reallocation were therefore separate stages with separate inputs and outputs. Table 4 lists what each stage requires of a field system and the evidence this study provides for it.
| Algorithm 1. Trigger-and-refine mission logic executed for each drone d |
| Input: zones Zd assigned to d; altitudes h1, h2; partitions p1, p2; velocities; trigger rule; error threshold eth; ToF stand-off dobs; movement increment ∆s. |
| 1: take off to h1 at the start point of d (known offset in the shared map frame) |
| 2: for each zone z in Zd with state Unmonitored do |
| 3: state(z) ← In Progress; fly to the zone origin; correct position if |e| > eth |
| 4: execute the Level 1 sweep with partition p1; after each commanded segment, correct position if |e| > eth |
| 5: if the trigger rule is met during the sweep then |
| 6: return to the zone origin and descend to h2 |
| 7: execute the Level 2 sweep with partition p2 in increments ∆s: face the direction of travel; after each increment read the front, left, and right ToF rangers and run the avoidance routine (Section 2.5) if the front range <dobs; store the latest thermal frame with the latest pose estimate |
| 8: correct position before and after each rotation; climb to h1 |
| 9: state(z) ← Monitored |
| 10: end for |
| 11: query the shared zone table; claim any zone still Unmonitored and repeat steps 3–9 for it |
| 12: land |
| Output: pose log, thermal-pose pairs, zone states; heatmap built after the flight (Section 2.6) |
Table 4.
Operational requirements of a field system and the evidence provided by this study.
The framework rested on six assumptions: (A1) the ground under a zone is locally planar and the thermal array looks straight down, so that equations estimate map pixels to ground positions; (A2) obstacles are static and lie within the 4 m range and the horizontal beams of the ToF rangers; (A3) the start position and heading of each drone in the shared map frame are known; (A4) heat sources do not move or change during a sweep; (A5) each drone keeps a radio link to the ground computer, which holds the zone states; and (A6) the thermal contrast of a target exceeds the noise and non-uniformity of the array after data reduction. The indoor tests satisfied all six by construction. A field deployment could violate many of them.
2.3. Thermal Sensor Data Management
A comparative study and analysis were performed to characterize and gauge the effectiveness of both the MLX90640 thermal sensors with the 55° and the 110° FOV. Preliminary benchtop tests were performed using a person and a gas stovetop flame (at different levels) as thermal sources at multiple distances (up to 5 m) to compare the two sensor configurations. Arduino IDE was used to collect the temperature measurements, which were then converted to color-coded images. The 55° sensor produced a more detailed image, while the 110° sensor produced a less detailed image due to it covering a wider area at the same distance. The flame appeared as the warmest region of the frame with both arrays at several distances, and its apparent size shrank with distance. These checks were qualitative and were not used to calibrate the flame temperature for this work.
To make the MLX90640 thermal sensor compatible with the drone microcontroller, a hardware driver for the thermal sensor was installed based on a driver for the drone’s I2C interface. The MLX90640 API provided functions for gathering sensor parameters, setting sensor modes, and calculating temperatures from the measured data [19,27]. The functions used for the driver included pre-processing, data acquisition, calculation, and image processing operations. This data processing sequence was organized as follows:
- (1)
- Dump EEPROM;
- (2)
- Extract parameters;
- (3)
- Get frame data;
- (4)
- Calculate object temperature;
- (5)
- Apply bad-pixel correction.
In its base form, the I2C driver was incompatible with the MLX90640 API because the EEPROM and frame-data functions required reading multiple addresses consecutively while the function could only read and store 8-bit values, and the MLX90640 memory stored 16-bit values. To solve these incompatibilities, a function was implemented to read a 16-bit data message as two 8-bit values, shift the most significant byte by 8 bits, perform a bitwise OR operation with the other byte, append the calculated 16-bit value into the frame-data array, and repeat the process for the remaining memory addresses.
The MLX90640 sensors had a total of 768 individual pixels for temperature measurements in their FOV. However, restrictions in the data logging framework limited the amount of data that could be managed. Logging groups could hold a maximum of 6 data points designated as floats, so multiple groups were created. Due to these restrictions, the data was minimized into a selected FOV. First, the temperature measurements of four adjacent pixels were averaged together to combine four pixels into one. This process was repeated a second time with the generated pixels from the previous run. This meant each final pixel represented averaged data from sixteen original pixels. A subset of those averaged pixels was selected to be set as logging parameters (Figure 2). The two averaging stages reduce the 32 × 24 array to an 8 × 6 field. The firmware logged the six central columns (columns 2–7) of the eight averaged columns and all six rows, giving the 6 × 6 field in Figure 2. The first and last averaged columns, at the two ends of the 32-pixel axis, were discarded. The 32-pixel axis of the array was aligned with the forward axis of the drone, so the logged field spanned 75% of the array’s field of view along that axis and all of it across. Each logged column formed one log block of six floating-point values. A complete 6 × 6 frame therefore required six thermal log blocks, plus one block for the pose (X, Y, Z, and yaw).
Figure 2.
Thermal-data reduction used to satisfy the logging constraints of the prototype: (top) original 32 × 24 field, (middle) first averaged stage, and (bottom) twice-averaged 8 × 6 field, of which the six central columns (shaded) formed the 6 × 6 field used for data logging.
2.4. Dual-Altitude Trajectory Planning and Positional Correction
The desired flight path of the drones was set on a predetermined map using a series of setpoints arranged on an equally spaced grid. Each square, labeled as a zone, on the gridded space represented an area to be monitored by the drone. Each setpoint at the corner of a zone represented a starting point of that respective zone. This monitoring was performed by the drone flying through each of the partitioned zones or areas using a sweeping maneuver. The overall map was set to have a drone fly to a starting setpoint, perform the sweeping maneuver in the current zone, and then move to the next setpoint to monitor the next zone in the grid, thereby covering the entire area (Figure 3).
Figure 3.
Trajectory planning elements used in the framework: (a) Generated map with six zones and their respective starting points. A drone flight would start at Zone 1 and transition to the next zone in sequential order. (b) Flight path of a sweeping maneuver within a zone with a partition of four. (c) Positional error correction after a commanded motion. The drone corrects its X or Y position based on the discrepancy between the target setpoint and the current position.
Once the map and setpoints were generated, the drone entered the trajectory planning process. This process was separated into two levels of altitude, namely Level 1 pathing for monitoring from a higher altitude or height and Level 2 pathing for mapping at a lower altitude closer to ground level.
Level 1 pathing process handled the majority of the drone’s trajectory planning. This level maintained the drone flight at its highest set height and was responsible for monitoring a space for an initial detection of heat sources. The process used pre-generated setpoints for the overall map and the sweeping maneuver path, where all the setpoints were set in a given order. The process used an initial starting position as (X, Y, Z) = (0, 0, set height) and then continuously updated its location relative to the starting position. During the Level 1 sweep, the ground script evaluated each received thermal frame against the trigger rule. A hotspot was declared when a logged value exceeded Ttrig = 24 °C (temperature value used for the tests). A trigger interrupted the Level 1 sweep of that zone.
Level 2 pathing was used for mapping the temperature gradient of a zone occupied by the drone. This process was initiated upon detection of a hotspot by the drone. For the transition between Level 1 and Level 2 pathing, the drone moved to its initial setpoint and then descended by a set distance (0.1 m in the reported tests of this work, from 0.4 m to 0.3 m). The purpose of this descent was to allow the thermal sensors to collect data from a relatively closer distance with greater spatial detail for each pixel to cover a smaller area than before. Once the drone descended to the Level 2 plane, it followed a pathing process similar to the Level 1 pathing. Level 2 differed from Level 1 in two respects. It used a finer partition, giving a lane spacing of 0.25 m instead of 0.5 m in a 1 m zone, and it rotated the drone at each setpoint so that the front ToF ranger faced the direction of travel. Thermal frames were stored at each movement increment along the lanes.
The incremental movement was implemented because the movement commands used from the Motion Commander API module would block additional functions. This meant that once a movement command was called, the program could not continue to the next process, including obstacle avoidance, until the current movement was completed. By commanding the drone to move by smaller distances, the sensors responsible for obstacle detection were run between each command. This would allow an initial pathing to be interrupted if an obstacle was detected, resulting in the beginning of the obstacle avoidance process. The increment was 0.1 m in the reported tests, so a 1 m lane required ten blocking movement commands, and at Level 2 one thermal sample was stored after each of them.
With both levels of pathing, the drone could be directed to any point in space on the two different planes through given coordinate setpoints. However, these systems relied on the data provided by the Flow deck, which was a relative positioning system. This meant that the drone determined its position based on its initial position, unable to sense its exact location in space compared to an absolute positioning system. Consequently, positional errors may accumulate in the pathing process with deviations along the X and Y coordinate planes. Therefore, both levels of pathing were integrated with an error correction system. This system utilized positional data logged from the Flow deck and calculated the difference between the drone’s current position and its desired position, given by the setpoint. An error threshold was set to determine whether any correction was required. The threshold was eth = 0.075 m, and each correction step moved the drone by eth/4 after a 1 s settling pause. If the difference exceeded the error threshold, the drone’s position was corrected incrementally until the error dropped below the threshold (Figure 3).
This correction acted only on the estimated position. Both the reference and the measurement came from the Flow deck estimate, so the correction removed the difference between the commanded and the estimated position but could not remove drift of the estimate itself relative to the room. Level 2 also rotated the vehicle at each setpoint, and the correction step re-centered X and Y before and after each rotation.
2.5. ToF-Based Obstacle Avoidance
The obstacle avoidance algorithm was based on an adapted Bug 2 algorithm [28]. The Multi-ranger deck was used as the main operating source to configure a Bug 2-type algorithm for the drone. Upon detecting an object (obstacle) with the front ToF sensor, the process used a similar incremental movement scheme as in Level 2 pathing. However, the values provided by the front, left, and right ToF sensors were used to determine how to direct the drone. After each incremental movement, the drone was directed to move in a direction based on the ToF sensor values. In certain situations of the ToF sensors, multiple commands can be used. To determine which command to use, the position of the drone was tracked relative to the starting point of its path prior to obstacle avoidance.
A scenario-based path-selection step was implemented at the initial detection stage. The initial direction of avoidance was selected from the front, left, and right ToF sensor readings. Since the full geometry of an obstacle would not be known at initial detection, the selected direction was not necessarily the shortest or most optimal path around the obstacle. The algorithm was therefore designed to use the available sensor information to select a feasible initial direction and then adjust the motion as additional ToF readings were obtained.
Table 5 lists the movement commands issued for each combination of front, left, and right readings. A ranger was counted as triggered when its range fell below the stand-off distance dobs = 0.3 m. At first contact, the drone recorded its lateral offset from the original path. It then moved along the obstacle until the front and side readings cleared, and moved laterally back until the recorded offset returned to zero, which placed it on the original path line beyond the obstacle, the m-line of Bug 2 [28]. Avoidance used only the planar front, left, and right rangers. The rear and upward rangers were not read, and no downward check protected the descent from Level 1 to Level 2.
Table 5.
Movement commands of the avoidance routine for each combination of triggered ToF rangers (1 = range below dobs).
During a Level 2 sweep, thermal frames were stored only at the movement increments of the planned lanes and not while the avoidance routine controlled the drone, so ground beside an obstacle would remain unmapped. Although capable of detecting and avoiding obstacles, no obstacle was placed in a Level 2 zone during the thermal experiments.
2.6. Thermal Data Mapping and Visualization
The results of the autonomous systems process included the flight path of the drone(s) and the temperature mapping data aggregated from the Level 2 pathing. These results were then plotted and visualized with the Matplotlib (version 3.7.5) Python library.
To accurately map the temperature data gathered by the thermal sensor, the positions corresponding to the data points were estimated. To perform this action, the size of the pixels projected on the ground surface was calculated based on the height of the sensor from the ground surface. For a sensor height h above a locally planar surface, the projected width W and length L were estimated from the horizontal and vertical fields of view (HFOV and VFOV):
Each logged value averaged a 4 × 4 block of original pixels. With the 32-pixel axis spanning the HFOV and pointing forward, the projected dimensions of one logged cell along (xb) and across (yb) the body axis of the drone are:
The logged 6 × 6 field therefore covered 0.75 W along the body axis and L across it. Each logged value (row i, column j, with i, j = 1, …, 6) was assigned the ground position:
where pc is the estimated position of the drone when the frame was stored, ψ is its estimated yaw, and R(ψ) is the planar rotation matrix.
Equation (3) assigned each thermal value an offset from the estimated center of the field according to its row, column, and vehicle orientation. The resulting projected positions were approximations because the method assumed a locally flat target surface with minimal terrain. To better visualize the estimated positions, the data were grouped spatial binning on a square grid of cell size g = 0.05 m. Each projected sample fell into the cell k = (⌊x/g⌋,⌊y/g⌋), and each occupied cell was represented by a single point at its center. When several samples fell into one cell, the cell took the highest of their temperatures (peak priority):
This reduced clustering of nearby measurements and provided a more uniform distribution of plotted temperature readings.
The data were then categorized using a temperature threshold. Points within each spatial grid were color-coded according to the temperature readings, with the highest recorded temperature taking priority. The thresholds were used to distinguish relative temperature levels among the (simulated) heat sources. Cells from 25–30 °C were drawn in orange and cells at or above 30 °C in red; cells below 25 °C were not drawn.
The pose and thermal data arrived asynchronously. The pose was logged every 250 ms and each thermal log block every 1000 ms, while the array needed two refresh periods for a complete frame [19]. The ground script did not interpolate between the streams. At each Level 2 movement increment, it paired the most recent thermal frame with the most recent pose estimate, a zero-order hold. Each pairing therefore carried a latency of up to one complete thermal frame plus the logging period, during which the drone kept moving; Section 4.2 estimates the resulting displacement along track.
The binning step was kept deliberately simple. Peak priority preserved the highest reading in each cell, which mattered when a small hot target filled only part of a logged cell. Gaussian filtering and inverse distance weighting would smooth the map and fill the gaps between lanes, but both spread a peak over neighboring cells. With the 55° array at Level 2, they would also interpolate across 0.06 m strips of ground that the array never observed (Section 4.2). Temporal persistence filtering, which accepted a cell only when two or more frames agreed, would suppress isolated stray cells, but it needed overlapping observations. The 110° array provided them at Level 2, but the 55° array did not. None of these alternatives were applied to the reported maps.
2.7. Two-Drone Coordination and Missed-Zone Reallocation
Both drones ran from one Python process on the ground computer through the Crazyflie Swarm interface, each on its own radio address and thread [21]. The state estimator of each drone started at zero at its own take-off point. The script expressed every pose in the shared map frame by adding the known start offset of that drone, (0, 0) m for the first and (2, 0) m for the second, and both drones were placed with the same heading before take-off. No measurement linked the two estimates during flight. Any placement error or drift therefore appeared directly as a disagreement between the two drones in the shared map.
Coordination used the zone table held by the ground script. A drone marked a zone In Progress when it began the zone and Monitored when it finished. After completing its own zones, a drone queried the table, claimed any zone still Unmonitored, and the script flagged the original owner of that zone. The second drone therefore did not detect the failure of the first drone directly. It inferred a missed zone from the zone states. In the reported test, the fault was scripted: the first drone ended its mission after Zone 1 without starting its second zone.
Two cases of failure fall outside this rule and are currently being studied. A drone that loses its radio link in the middle of a zone leaves that zone In Progress, and the rule never reassigns it. A lost link also stops the stream of setpoints from the ground computer; the commander watchdog of the Crazyflie firmware then levels the vehicle and, after a further timeout, stops the motors [29]. No timeout on the zone states was implemented. Zone assignment and a 1 m gap between the zone columns of the two drones kept them apart.
2.8. Experimental Protocol, Parameters, and Evaluation Metrics
The experiments followed three phases: bench characterization of the sensors, integrated single-drone flights, and two-drone flights. Table 6 lists the parameters of the reported runs. The number of runs differed between tests. The Level 1 trajectory test was flown five times with and five times without positional correction, and each of the three obstacle configurations was flown five times. The Level 2 trajectory test, each hotspot-mapping flight (one per array for the two-zone layout and one for the two-temperature layout), one further flight used only to assess thermal signal quality, and the missed-zone reallocation were flown once. All flights took place indoors over a gray floor under constant room lighting, with zones marked in masking tape.
Table 6.
Parameters of the reported experiments.
From these records, three groups of metrics were computed. For trajectory tracking, we split each logged flight into straight legs, aligned them with the legs of the planned route, and computed the cross-track deviation of each leg, the along-track error at its end, the final position error, and the total flight time. For thermal mapping, we reconstructed the outline of each heat source in the zone frame by rectifying the layout photographs with a planar homography fitted to the tape corners. For the two-zone layout, the fit used the six corners of both zones and reproduced them within 0.01 m; for the heating-pad layout, only the four corners of Zone 1 were visible. For each mapped cluster we then computed the centroid offset from the source outline, the fraction of mapped cells within 0.05 m of the outline, and the fraction of the outline area covered by mapped cells, both as mapped and after removing a map-wide shift per flight. The last two quantities are spatial analogues of precision and recall. The map-wide shift was the mean of the two cluster offsets in a flight, subtracted from every cell of that map. It removes a displacement common to the whole map, such as an error in start placement, and leaves the relative positions of the cells unchanged. Because the shift potentially came from the same outlines against which it was scored, we also estimated it from one source alone and applied it to the other. The remaining offset of that second source was reported as a cross-check. These quantities used the 0.05 m grid cells of the original heatmaps and the tape-referenced outlines, so their uncertainty is about ±0.03 m. For obstacle avoidance and two-drone coordination, the metric was completion of the intended sequence.
3. Results
3.1. Autonomous Flight System
Testing of the trajectory planning algorithm was performed with an individual drone in a rectangular area, with and without the error correction method, under the same lighting conditions. These tests were performed to confirm proper operation of each trajectory level as well as to quantify the effect of the error correction.
The test parameters for Level 1 trajectory planning were an altitude of 0.4 m, a partition of 2, a map length of 2 m in X and 2 m in Y, a zone size of 1 m2, and a velocity of 0.2 m/s. The test was flown five times with and five times without correction. The tests demonstrated that the system executed the planned sequence of the setpoints. Under these parameters, the system generated a four-zone map, then partitioned each zone for the sweeping maneuver, and directed the drone through the various resulting setpoints (Figure 4).
Figure 4.
Representative recorded trajectories demonstrating functional behavior for the reported test runs: (a) Level 1 without positional error correction, (b) Level 1 with positional error correction, and (c) Level 2 trajectory. All axes in meters.
The tests showed less trajectory deviation when the positional error correction was enabled. Without error correction, the estimated position drifted progressively from the planned route. The drift was largest on the legs flown along X, where the Y offset reached 0.57 m by the fourth zone. On the lanes flown along Y, the X offset stayed below 0.19 m. Along all straight legs, the mean cross-track deviation was 0.17 m without correction and 0.055 m with correction, and the maximum fell from 0.57 m to 0.17 m. With correction, the drone still overshot leg ends by up to 0.22 m before each correction step. The error correction method reduced these deviations at the setpoints to prevent potential increased errors. The corrected flights required additional time, reflecting the extra movements due to the corrections. The final position error at the last setpoint fell from a mean value of 0.55 m to 0.04 m, and the four-zone flight lengthened from 175.5 s to 246.8 s on average, a 41% increase in time (Table 7).
Table 7.
Mean trajectory metrics of the Level 1 flights, computed from the logged position estimate (250 ms samples; five runs per condition).
Tests for Level 2 trajectory planning were performed in a single zone since Level 2 pathing only occurred when a hotspot would be detected in a particular zone. Test parameters used were an altitude of 0.3 m, a partition of 4, a map length of 1 m in X and 1 m in Y, a mapping path velocity of 0.15 m/s, and a non-mapping path velocity of 0.25 m/s. The Level 2 tests demonstrated that the drone could optimally execute the planned lower-altitude sweeps (Figure 4). More drift was visible than in Level 1, which was attributed in part to the drift in yaw motion of the drone. The error correction reduced the deviation of the drone’s trajectory from the targeted setpoints. The logged Level 2 flight held an altitude of 0.300 m (interquartile range 0.299–0.305 m), and its five lanes lay within about 0.06 m of their planned X positions. Along the straight lanes, the logged yaw stayed within 8° of the commanded direction, with a median bias of up to 5° on the return lanes. A 5° heading error over a 1 m lane displaced the vehicle sideways by about 0.09 m, consistent with the recorded deviation.
3.2. Obstacle-Avoidance Demonstration
The obstacle avoidance algorithm was tested through detection scenarios (Figure 5). These scenarios provided the overall basis on which obstacle avoidance was operated after initial detection, which would confirm the intended operation when using the necessary ToF sensors. Cardboard boxes were arranged on the drone’s path to replicate a selection of the initial detection scenarios.
Figure 5.
Obstacle detection and avoidance scenarios: Illustrations showing initial obstacle detection configurations with triggered ToF sensors on the (a) front, (b) front and left, (c) front and right, and (d) front, right, and left. (e) Representative experimental obstacle-avoidance flight trajectories for select ToF trigger conditions: (from left to right) front, front and left, and front and right. The black rectangles represent approximate obstacle layouts rather than surveyed obstacle boundaries. All axes in meters.
The obstacle avoidance tests showed that the algorithm could detect the tested obstacle configurations by selecting an initial avoidance direction based on the triggered ToF sensors (Figure 5). The drone followed the detected obstacle boundary, moved past the obstacle, and returned towards the original flight path. These tests established functional operation and demonstrated the intended behavior for the configurations tested, but they did not establish collision probability, minimum stopping distance, or performance for arbitrary obstacle geometries.
Three of the four configurations in Figure 5a–d were flown five times each. In the flown cases, the drone moved laterally by about 0.45–0.6 m to clear the obstacle and rejoined its original path line (X ≈ 0 m) to within about 0.05 m before continuing to its goal (Figure 5e). The obstacle outlines in Figure 5e were drawn from the planned layout; the boxes were not surveyed, so stand-off distances cannot be read from the plot.
3.3. Thermal Hotspot Detection and Spatial Mapping
This phase of testing included integrating temperature data gathered by the thermal sensors with the tested flight systems. The test protocol had drones monitor zones through Level 1 pathing, then transition to Level 2 pathing if a hotspot was detected or continue to the next zone if not. The effectiveness of the temperature mapping was tested through two planned experiments:
- (1)
- By testing whether the system could effectively estimate the hotspot positions;
- (2)
- By determining whether it could distinguish between hotspots of varying temperatures.
The first experiment was performed with both variants of the thermal sensors on a two-zone grid test map with an area of 1 m2 per zone. Hand warmers, with temperatures ranging from 25 °C to 27 °C, were grouped and placed as heat sources in varying combinations in one of the zones (Figure 6); the ambient room temperature was approximately 21 °C. The source temperatures were measured on the source surfaces with a type-K thermocouple probe (Fluke 80BK-A, Fluke Corporation, Everett, WA, USA) read by a digital multimeter. The probe is specified to ±2.2 °C or 2% of reading, whichever is greater, between 0 °C and 260 °C [30], before the uncertainty of the meter. The hand warmers were grouped and placed in two separate locations. The heatmaps were plotted according to the estimated positions of the heat sources (Figure 6). The resulting heatmaps showed that the designed temperature mapping method was able to identify both hotspots created by the hand warmers. In the flight with the 55° array, the trigger fired about halfway through the Level 1 sweep of Zone 1; the drone returned to the zone origin, descended to 0.3 m, mapped Zone 1, and then completed Zone 2 at Level 1 without a trigger (Figure 6b). The flight with the 110° array followed the same sequence. Across the two flights, the trigger fired in both zones that contained sources and in neither empty zone. An additional single-zone flight with the 55° array over hand warmers, logged only to assess signal quality, gave a logged-cell noise of 0.14 °C and a contrast-to-noise ratio of about 25–65; Section 4.2 used the same flight to estimate sensor lag.
Figure 6.
Representative simulated hotspot mapping experiment: (a) two-zone test layout with two groups of hand warmers (six packets in the center and five packets on the right) placed in Zone 1, (b) recorded three-dimensional trajectory of the flight with the 55° × 35° array, showing the Level 1 sweep at about 0.4 m (blue) and the Level 2 sweep of Zone 1 at about 0.3 m (red) after the thermal trigger, (c,d) heatmaps of Zone 1 obtained with the 55° × 35° and the 110° × 75° arrays with each 0.05 m grid cell drawn as one point. White circles show the cells as logged, and solid circles show the same cells after removal of one map-wide shift per flight. Dashed outlines show the heat sources reconstructed from the layout photograph (uncertainty ±0.03 m). All axes in meters.
Figure 6c,d overlays the source outlines reconstructed from the layout photograph on the cells as logged (white circles) and on the same cells after removal of one map-wide shift per flight (solid circles), and Table 8 summarizes the comparison. Both maps placed each source cluster in the correct part of the zone, but with offsets. Mapped centroids lay 0.15–0.27 m from the source centroids with the 55° array and 0.14–0.16 m with the 110° array, mostly toward −X; with the 55° array the offsets also had a +Y component of 0.12–0.24 m. The offsets of the two sources within one flight pointed in similar directions, so a large part of each appears to be a shift in the whole map, consistent with an error in the start placement or drift of the onboard estimate. The map-wide shift tested this reading. In the flight with the 110° array, the two offsets differed by 0.03 m, and one shift brought both centroids to within 0.02 m of their sources, inside the ±0.03 m uncertainty of the outlines. In the flight with the 55° array, the offsets differed by 0.13 m, and one shift left 0.06 m at each source, and a shift estimated from either source alone left 0.13 m at the other. After the shift, 72% and 83% of the cells of the 55° map lay within 0.05 m of an outline, against 74% and 75% for the 110° map, and the 55° map covered 40% and 52% of the two source outlines, against 40% and 12%. The two arrays reproduced source A to the same extent. The narrow array reproduced source B, whose arms were single packets, more completely.
Table 8.
Hotspot localization and shape metrics against source outlines (uncertainty about ±0.03 m).
Each heatmap contained a few points outside the approximate locations of the heat sources. These points were consistent with a mismatch between the refresh rate of the thermal sensors and the motion of the drone. If the drone moved past a hotspot before the next temperature update, a previous measurement could be associated with a later position. In Figure 7b, nine cells formed a streak along the X ≈ 0.75 m Level 2 lane, 0.1–0.4 m from the heating-pad outline, and four further cells formed a row at Y ≈ 0.08 m below the hand warmers. Both features lie along the lane direction (Y), the direction in which a stale frame would be displaced. Cross-track drift or yaw error could produce a similar pattern, and the logged data cannot separate these causes. Higher-rate thermal measurements and greater processing capability could reduce this effect by allowing the system to update the temperature measurements more frequently while maintaining the desired speed of the drone.
Figure 7.
Representative relative temperature mapping experiment with the 55° × 35° array: (a) test layout with a group of six hand warmers and an electric heating pad and (b) resulting color-coded heatmap obtained with orange and red marking the lower and higher temperature ranges (ranges and thresholds in Table 6). Dashed outlines show the heat sources reconstructed from the layout photograph. All axes in meters.
In the tests performed, the 55° sensor produced a more compact placement of mapped points than the 110° sensor. Although both sensors used the same 32 × 24 array, the wider 110° FOV resulted in a larger projected area on the ground per pixel at the same altitude. Each logged value averaged 16 original pixels, so a logged cell of the 110° array at 0.3 m covered about 0.11 m × 0.08 m, comparable to a single hand-warmer packet. The single-packet arms of source B therefore raised few cells above the color threshold: 8 cells with the 110° array against 24 with the 55° array.
The second experiment tested whether the designed system was able to distinguish between heat sources with varying temperatures: a group of hand warmers with temperatures ranging from 25 °C to 27 °C and an electric heating pad with a higher temperature range of 28 °C to 30 °C (Figure 7). The 55° thermal sensor was used because it produced the more compact map in the first experiment.
The results showed that the system could distinguish between the two tested temperature ranges and represent them on a color-coded heatmap (Figure 7). The cells corresponding to the heating pad fell into the higher class and those of the hand warmers into the lower class. The pad cluster lay closest to its source of any mapped cluster in this study, with a centroid offset of 0.06 m and all 18 cells within 0.05 m of the pad outline. The hand-warmer cluster was offset by 0.24 m (Table 8).
No single map-wide shift fitted tests with heat sources of varying temperatures. The two offsets differed by 0.22 m, and the mean shift left 0.11 m at each source. One cell inside the hand-warmer cluster fell into the higher class, and two cells beside the pad fell into the lower class.
3.4. Two-Drone Operation and Missed-Zone Reallocation
Two drones were used simultaneously to test the ability of the framework to operate with more than one drone. These experiments tested simultaneous drone operation within the same map, asynchronous drone operation to perform different assigned tasks at the same time, and finally, missed-zone reallocation after a scripted fault. The parameters of these tests consisted of starting points (X, Y) = (0, 0) for one drone and (X, Y) = (2, 0) for the other, with each drone responsible for two zones in the overall map (Figure 8).
Figure 8.
Representative two-drone experiments (first drone, blue and red; second drone, green and orange; all axes in meters): (a) drones executing operations in Level 1 pathing level within the same shared map, (b) drones executing operations in different pathing levels within the same shared map, and (c) missed-zone reallocation, where the first drone intentionally simulated a fault before completing all assigned zones and the second drone completed monitoring the missed zone after monitoring its own zones. All axes in meters.
The system maintained separate position estimates for the two drones relative to their respective starting points. This allowed both drones to operate within the same shared map while executing different assigned processes in separate zones (Figure 8a). In the shared map, each drone stayed within its assigned zone column, and the sweep of the reassigned zone by the second drone met the Zone 1 boundary of the first drone at Y ≈ 1 m to within about 0.1 m (Figure 8c).
Finally, the missed-zone reallocation operated as designed. The second drone found, on querying the zone table, that the second zone of the first drone (path in blue in Figure 8c) remained Unmonitored, indicating a potential fault with the first drone. Consequently, the second drone monitored the missed zone (path in green in Figure 8c) assigned to the first drone. It showed that the zone-state rule reallocated an unstarted zone. It did not show detection of a failed vehicle.
4. Discussion
4.1. Integrated Operation, Sensor Choice, and Cost
The experiments demonstrated the feasibility of integrating the major sensing and control elements for hotspot detection into a small UAV framework. The Level 1 and Level 2 pathing and trajectory systems were able to execute the intended sequences, while the positional correction reduced the mean cross-track deviation of the position estimate from 0.17 m to 0.06 m and its final position error from 0.55 m to 0.04 m. The Level 2 or lower-level pathing also demonstrated why a second sensing plane is useful in the proposed framework. The thermal measurements were collected closer to the test surface, where the projected pixel area was smaller. This is a sampling argument, not a measured accuracy gain. The descent from 0.4 m to 0.3 m shrank the logged cell of the 55° array from 52 mm × 42 mm to 39 mm × 32 mm (Table 9).
Table 9.
Projected logged field, cell size, and minimum detectable target side from Equation (5) for an illustrative detection margin δ = 2 °C.
The Crazyflie platform was a suitable choice for the indoor scaled experiments. The sensor suite was the main reason the vehicle stayed under 35 g. The ToF and optical-flow decks weigh 3.9 g together and cost USD 150 at list price (Table 3), whereas a scanning field-ready LiDAR payload for an inspection UAV costs about USD 13,560 before the airframe that carries it [26]. The price of this choice was sparse sensing. The drone detects an obstacle only when it crosses one of five beams, so thin branches, overhangs, and obstacles below the beam plane can go unseen, and the 4 m range [18] leaves little margin at higher speeds. Optical flow needs a textured, lit surface. The swarm studies that used the same decks flew indoors [14], and smoke or low light would degrade the estimate. Bug algorithms are also sensitive to odometry drift, which McGuire et al. identified as the most damaging noise source in comparison of bug algorithms [31]. Within these limits, the accuracy obtained here, a mean cross-track deviation of 0.06 m for the corrected estimate and 0.06–0.27 m for mapped hotspot centroids, suffices to assign a hotspot to the correct 1 m zone. It does not suffice for georeferenced fire perimeters.
Low unit cost changes how such vehicles can be used. At about USD 470, a sensing vehicle can be treated as an expendable scout, sent into a zone that would be too risky for a field-rated aircraft costing USD 7800–12,600 (Table 3). Losing one scout would cost about 6% of the least expensive field-rated thermal kit, and the reallocation rule of Section 2.7 already lets a second vehicle take over unstarted zones. The present airframe cannot fly outdoors in windy conditions or carry a radiometric camera, so this argument applies to the architecture rather than to the scaled vehicle or framework.
4.2. Thermal Resolution, Data Reduction, and Detectability
The thermal results provided a useful comparison between the two MLX90640 configurations. The 55° × 35° configuration produced a more compact representation of the simulated heat sources, whereas the wider configuration covered more area but provided a less detailed representation. For the tested framework, this was consistent with the basic geometric trade-off between field of view and spatial coverage at a fixed altitude. Table 9 quantifies that trade-off for the logged 6 × 6 field.
At the Level 2 altitude of 0.3 m, a logged cell of the 55° × 35° array covered 39 mm × 32 mm and the logged field covered 0.23 m × 0.19 m; the corresponding values for the 110° × 75° array were 107 mm × 77 mm and 0.64 m × 0.46 m. Across the direction of travel, the 55° × 35° field (0.19 m) was narrower than the 0.25 m Level 2 lane spacing and left gaps of about 0.06 m between lanes, while the 110° × 75° field overlapped adjacent lanes. At Level 1, the gap was larger. The 0.25 m footprint width of the 55° × 35° array covered only half of each 0.5 m lane interval, so a hotspot smaller than about 0.25 m lying between lanes could pass unseen. The two arrays therefore suited different levels: the wide array gave gap-free screening at Level 1, and the narrow array gave finer cells at Level 2.
Averaging 16 pixels into one logged value raised the minimum detectable target size. Consider a target of area At and temperature contrast ∆Tt above a uniform background, inside a logged cell of area Ac. If the logged value is approximately the area-weighted mean of the pixel temperatures, the target raises it by ∆TtAt/Ac, and a detection margin δ above background is crossed only when
The same expression holds for a single original pixel, whose area is 16 times smaller. The 4 × 4 averaging therefore raised the minimum detectable area 16-fold and the minimum detectable side length 4-fold. For the hand warmers (∆Tt≈ 4–6 °C), an illustrative margin δ = 2 °C required a target to fill one-third to one-half of a logged cell. At 0.3 m, a single packet about 0.1 m across, filled several cells of the 55° array but only about one cell of the 110° array, consistent with the sparse mapping of source B by the wide array. Extrapolated to an altitude of 30 m with the 55° array, the same model would give a minimum detectable side of about 0.31 m for a 250 °C contrast with the 16-pixel mean, against about 0.08 m with native pixels (Table 9). Small, intense embers are the targets that averaging would dilute most.
Equation (5) is a first-order model. The array responds to radiance in its spectral band, which rises faster than linearly with temperature, so a small, very hot target would raise a native pixel more than the area-weighted temperature suggests. For hot sub-pixel targets, the model is conservative at the native-pixel level. Two effects work the other way. The MLX90640 reports object temperatures only up to 300 °C and is specified for accuracy only when the object fills the pixel field of view [19], so flames and embers well above that limit would saturate or read low. The averaging step was applied after the temperature conversion, and this diluted a hot pixel linearly. The indoor contrasts of 4–9 °C were only a few times larger than the ±1–2 °C accuracy of the array [19]. Because the trigger threshold sat between the ambient and source temperatures, a sensor offset of 1–2 °C could have shifted the detection boundary appreciably. This sensitivity was not characterized. No target hotter than 30 °C was tested in flight. The benchtop checks with a stovetop flame (Section 2.3) showed that both arrays appropriately registered the flame at 1–5 m, without calibration.
The data path also limits timing. The firmware left the array at its factory-default re-fresh rate of 2 Hz in chess-pattern mode and recomputed temperatures once per second from the most recent subpage, so a complete update of all 768 pixels took up to about 2 s, and each 2 × 2 averaging block could mix pixels read about 1 s apart [19]. The thermal log confirmed one logged frame per second. At Level 2 lane speeds of 0.12–0.15 m/s, the drone moved 0.25–0.3 m in 2 s, more than six logged cells of the 55° array along track. In flight tests, the hand-warmer cluster mapped about 0.10 m further along the lane on passes in +Y than on passes in −Y, which corresponds to an effective latency of about 0.4 s at the measured lane speed of 0.12 m/s. Lag of this size matches the order of the stray cells in Figure 7b and of the along-track part of the offsets in Table 8, although cross-track drift and yaw error may contribute as well.
4.3. Navigation, Avoidance, and Coordination Limits
The obstacle-avoidance experiments demonstrated that the selected ToF logic can execute discrete avoidance behaviors for the tested configurations. However, the experiments did not establish performance for arbitrary obstacles with vegetation, moving objects, or conditions in which the drone(s) have limited time or distance to stop. Similarly, the two-drone experiments demonstrated coordinated task assignment/reassignment, but did not constitute a fully decentralized swarm architecture. The coordination remained dependent on the predefined zone states within the shared application, and it did not handle a lost radio link (Section 2.7).
One caveat applies to every position in this paper: all positions are Flow deck estimates. The positional correction drove the estimate back to the setpoint, so the corrected plateaus in Figure 4 show that the controller followed its own estimate, not that the drone reached the true setpoint. The tape-referenced heatmap offsets of 0.06–0.27 m were the only external check in the archived data, and they bound the combined effect of start placement, estimator drift, yaw error, and sensor lag rather than any single term. Holding yaw against the gyro-integrated heading at each setpoint, or an external heading reference, would address any yaw drift of Level 2, which appears as bowed lanes in Figure 4c and was not corrected in these flights.
An external reference would separate these terms. Motion capture, or the Lighthouse or Loco positioning systems available for the same airframe, would also give the two drones a common frame instead of two independently drifting estimates joined by a fixed offset; the Loco system achieved about 10 cm accuracy indoors in an earlier Crazyflie mapping study [15]. Two Lighthouse base stations list at USD 240 each, and the receiving deck at USD 95 per vehicle [22].
4.4. From Proof-of-Concept Toward Operation
The current study is a scaled proof-of-concept for a sensor-integrated wildfire-monitoring framework. The emphasis of the framework is on small, resource-constrained vehicles and a trigger-and-refine workflow in which a higher-altitude scan initiates a lower-altitude mapping process.
Table 4 shows how far the evidence goes. The experiments measured the navigation of the position estimate, hotspot localization against a reconstructed layout, trigger behavior in four zones, three avoidance configurations, and one reallocation, across multiple runs. Detection probability, false-alarm rate over many zones, latency under field conditions, and tolerance to wind, smoke, sunlight, and terrain remain unmeasured. A field system would need, at a minimum, an absolute position reference; a thermal data path that keeps native resolution or at least preserves the peak of each pixel block, for example by logging the maximum of each 4 × 4 block instead of its mean at the same bandwidth; a reallocation rule with a timeout that also covers zones left In Progress; and repeated trials against calibrated hot targets.
5. Conclusions
This work presented a small-UAV framework with autonomous drones for scaled thermal hotspot screening and mapping relevant to wildfire monitoring. The developed framework integrated trajectory planning, positional correction, ToF-based obstacle avoidance, thermal sensing, hotspot mapping, and two-drone task coordination. The framework was physically tested in indoor settings using simulated hotspots rather than active wildfire conditions. The results were evaluated based on the intended operation and functionality of each subsystem.
The system was able to generate a map based on specified parameters and follow the planned sequence of operations. The trajectory tests showed that the drone could execute the planned Level 1 and Level 2 sequences, while positional correction reduced the mean cross-track deviation of the onboard position estimate from 0.17 m to 0.06 m and the final position error from 0.55 m to 0.04 m, at the cost of 41% more flight time (mean of five runs per condition). The obstacle avoidance tests showed the intended behavior in the three configurations flown, each five times. The drone was able to detect an obstacle, select an initial avoidance path, circumvent the obstacle, and return toward its original path. In single flights per layout and sensor configuration, the thermal sensing experiments produced spatial representations of the simulated heat sources, with mapped centroids 0.06–0.27 m from the reconstructed source outlines. The 55° × 35° configuration mapped the source made of single packets more completely than the 110° × 75° configuration. The mapping experiment also separated the heating pad from the hand warmers into different temperature classes, with a few misclassified cells at the source edges.
The integrated single-drone tests executed the planned flight paths, avoided the tested obstacle configurations, identified the simulated hotspots, located them within 0.06–0.27 m, and separated two temperature ranges. The two-drone tests showed that the framework could run independent tasks on a shared map and, in a single trial, reassign an unstarted or missed zone after a fault. These indoor results with mild heat sources support the framework as a scaled proof-of-concept. The outputs can provide a basis for developing a larger framework for real-world deployment. Drones with larger frames, higher computational capability, larger battery power, and upgraded sensors and actuators would be required. Future improvements to both the hardware and software would be made towards this intended larger framework. While the Crazyflie API was sufficient to support this work, software environments such as the Robot Operating System (ROS) would provide increased capability for subsystem modularity, communication between multiple drones for swarm interaction, and higher-level processes for more complex tasks. Additionally, the next stage of work would include outdoor tests with calibrated thermal ground truth, improved thermal data throughput, absolute or externally referenced localization, obstacle sensing beyond the five planar beams, peak-preserving thermal data reduction, and repeated quantitative trials. These trials would report detection probability and false-alarm rate over multiple zones, with targets hot enough to approach the upper limit of the array.
Author Contributions
Conceptualization, B.R.M. and T.L.; methodology, B.R.M. and T.L.; software, B.R.M.; validation, B.R.M.; formal analysis, B.R.M.; investigation, B.R.M. and T.L.; resources, B.R.M. and T.L.; data curation, B.R.M.; writing—original draft preparation, B.R.M. and T.L.; writing—review and editing, T.L.; visualization, B.R.M.; supervision, T.L.; project administration, T.L.; funding acquisition, T.L. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding. The research was funded internally by the Wentworth Launch Grant and the Douglas D. Schumann School of Engineering at Wentworth Institute of Technology.
Institutional Review Board Statement
Not applicable. No human participants or animals were used in the experiments.
Informed Consent Statement
Not applicable.
Data Availability Statement
The data presented in this study, including the logged flight data, the modified firmware, and the flight and analysis scripts, are available from the corresponding author on reasonable request.
Acknowledgments
The authors thank Douglas Dow and James McCusker for their knowledge and insight during the completion of this work, and the Douglas D. Schumann School of Engineering at Wentworth Institute of Technology for logistical support. During the preparation of this manuscript, the authors used a generative AI-assisted tool (ChatGPT-5.6 by OpenAI) for language editing, proofreading, and citation checking. The authors have reviewed and edited the output and take full responsibility for the content of this publication.
Conflicts of Interest
Author Brandon R. Merluzzo was employed by the company Balyo, Inc. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| API | Application Programming Interface |
| FOV | field of view |
| HFOV | horizontal field of view |
| IMU | inertial measurement unit |
| IR | infrared |
| MCU | microcontroller unit |
| PCB | printed circuit board |
| ToF | time of flight |
| UAV | unmanned aerial vehicle |
| VFOV | vertical field of view |
References
- Thomas, D.; Butry, D.; Gilbert, S.; Webb, D.; Fung, J. The Costs and Losses of Wildfires; NIST Special Publication 1215; National Institute of Standards and Technology: Gaithersburg, MD, USA, 2017. [Google Scholar]
- National Interagency Fire Center. Statistics. Available online: https://www.nifc.gov/fire-information/statistics (accessed on 15 August 2026).
- Hawaii Department of Business, Economic Development & Tourism. Maui Wildfire Impacts Economic Recovery. Available online: https://governor.hawaii.gov/wp-content/uploads/2023/09/NEWS-RELEASE_MAUI-WILDFIRE-IMPACTS-ECONOMIC-RECOVERY.pdf (accessed on 6 November 2026).
- Jazebi, S.; De Leon, F.; Nelson, A. Review of wildfire management techniques—Part I: Causes, prevention, detection, suppression, and data analytics. IEEE Trans. Power Deliv. 2019, 35, 430–439. [Google Scholar] [CrossRef] [Scilit]
- Roldán-Gómez, J.J.; González-Gironda, E.; Barrientos, A. A survey on robotic technologies for forest firefighting: Applying drone swarms to improve firefighters’ efficiency and safety. Appl. Sci. 2021, 11, 363. [Google Scholar] [CrossRef] [Scilit]
- Akhloufi, M.A.; Couturier, A.; Castro, N.A. Unmanned aerial vehicles for wildland fires: Sensing, perception, cooperation and assistance. Drones 2021, 5, 15. [Google Scholar] [CrossRef] [Scilit]
- Bouguettaya, A.; Zarzour, H.; Taberkit, A.M.; Kechida, A. A review on early wildfire detection from unmanned aerial vehicles using deep learning-based computer vision algorithms. Signal Process. 2022, 190, 108309. [Google Scholar] [CrossRef] [Scilit]
- Chen, X.; Hopkins, B.; Wang, H.; O’Neill, L.; Afghah, F.; Razi, A.; Fulé, P.Z.; Coen, J.L.; Rowell, E.; Watts, A.C. Wildland fire detection and monitoring using a drone-collected RGB/IR image dataset. IEEE Access 2022, 10, 121301–121317. [Google Scholar] [CrossRef] [Scilit]
- Afghah, F.; Razi, A.; Chakareski, J.; Ashdown, J. Wildfire monitoring in remote areas using autonomous unmanned aerial vehicles. In Proceedings of the IEEE INFOCOM Workshops, Paris, France, 29 April–2 May 2019; pp. 835–840. [Google Scholar] [CrossRef] [Scilit]
- Saffre, F.; Hildmann, H.; Karvonen, H.; Lind, T. Monitoring and cordoning wildfires with an autonomous swarm of unmanned aerial vehicles. Drones 2022, 6, 301. [Google Scholar] [CrossRef] [Scilit]
- Tzoumas, G.; Pitonakova, L.; Salinas, L.; Scales, C.; Richardson, T.; Hauert, S. Wildfire detection in large-scale environments using force-based control for swarms of UAVs. Swarm Intell. 2023, 17, 89–115. [Google Scholar] [CrossRef] [Scilit]
- Sende, M.; Raffelsberger, C.; Hayat, S.; Köfler, A.; Almer, A. Drone swarm for post-wildfire hot spot detection: Technology assessment and PoC demonstrator. In Proceedings of the International ISCRAM Conference, Münster, Germany, 25–29 May 2024; Volume 21. [Google Scholar] [CrossRef] [Scilit]
- Raczok, T.; Ivens, S.-N.; Seidel, L.; Gehringer, S. Wildfire detection and monitoring: A drone-based approach and comparative analysis. In Proceedings of the 22nd International Conference on Information Systems for Crisis Response and Management (ISCRAM), Halifax, NS, Canada, 18–21 May 2025. [Google Scholar] [CrossRef] [Scilit]
- McGuire, K.N.; De Wagter, C.; Tuyls, K.; Kappen, H.J.; de Croon, G.C.H.E. Minimal navigation solution for a swarm of tiny flying robots to explore an unknown environment. Sci. Robot. 2019, 4, eaaw9710. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Burgués, J.; Hernández, V.; Lilienthal, A.J.; Marco, S. Smelling nano aerial vehicle for gas source localization and mapping. Sensors 2019, 19, 478. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Bitcraze. Crazyflie 2.1. Available online: https://www.bitcraze.io/products/crazyflie-2-1/ (accessed on 15 August 2026).
- Bitcraze. Flow Deck v2. Available online: https://www.bitcraze.io/products/flow-deck-v2/ (accessed on 15 August 2026).
- Bitcraze. Multi-Ranger Deck. Available online: https://www.bitcraze.io/products/multi-ranger-deck/ (accessed on 15 August 2026).
- Melexis. MLX90640 Far Infrared Thermal Sensor Array (32 × 24 RES). Available online: https://www.melexis.com/en/product/mlx90640/far-infrared-thermal-sensor-array (accessed on 15 August 2026).
- Bitcraze. State Estimation. Available online: https://www.bitcraze.io/documentation/repository/crazyflie-firmware/master/functional-areas/sensor-to-control/state_estimators/ (accessed on 15 August 2026).
- Bitcraze. API Reference for cflib. Available online: https://www.bitcraze.io/documentation/repository/crazyflie-lib-python/master/api/cflib/ (accessed on 15 August 2026).
- Bitcraze. Bitcraze Store: Crazyflie 2.1+, Flow Deck v2, Multi-Ranger Deck, Prototyping Deck, Crazyradio 2.0, and Lighthouse Positioning Products. Available online: https://store.bitcraze.io/ (accessed on 22 October 2026).
- Adafruit Industries. Adafruit MLX90640 IR Thermal Camera Breakout—55 Degree (Product ID 4407). Available online: https://www.adafruit.com/product/4407 (accessed on 22 October 2026).
- Adafruit Industries. Adafruit MLX90640 24x32 IR Thermal Camera Breakout—110 Degree FoV (Product ID 4469). Available online: https://www.adafruit.com/product/4469 (accessed on 22 October 2026).
- Global Drone HQ. DJI Matrice 4 Price Guide 2026. Available online: https://globaldronehq.com/blogs/guides/dji-matrice-4-price-guide-2026 (accessed on 22 October 2026).
- DroneDJ. DJI Zenmuse L2 LiDAR Price. Available online: https://dronedj.com/2023/10/10/dji-zenmuse-l2-lidar-price/ (accessed on 22 October 2026).
- Melexis. mlx90640-Library. [GitHub Repository]. Available online: https://github.com/melexis/mlx90640-library (accessed on 15 August 2026).
- Lumelsky, V.J.; Stepanov, A.A. Path-planning strategies for a point mobile automaton moving amidst unknown obstacles of arbitrary shape. Algorithmica 1987, 2, 403–430. [Google Scholar] [CrossRef] [Scilit]
- Bitcraze. The Commander Framework. Crazyflie Firmware Documentation. Available online: https://www.bitcraze.io/documentation/repository/crazyflie-firmware/master/functional-areas/sensor-to-control/commanders_setpoints/ (accessed on 22 October 2026).
- Fluke Corporation. Fluke 80BK-A Integrated DMM Temperature Probe. Available online: https://www.fluke.com/en-us/product/accessories/probes/fluke-80bk-a (accessed on 22 October 2026).
- McGuire, K.N.; de Croon, G.C.H.E.; Tuyls, K. A comparative study of bug algorithms for robot navigation. Robot. Auton. Syst. 2019, 121, 103261. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.







