Abstract
Delivery drones have become increasingly important in recent years. It is advantageous for commercialization that suppliers are able to deliver orders autonomously and directly to their customers via air transport. However, the safety aspect must be considered. Real-time inspection of delivery drones during operation helps preventing accidents and a threat to civilians. For continuous monitoring, the sensors must be installed on the drone throughout the flight. A promising approach uses the inherent excitation of the servomotors for vibration-based Structural Health Monitoring (SHM). Vibrations can be recorded using triaxial acceleration sensors and analyzed using suitable methods such as stochastic subspace-based fault detection or histogram difference. In comparison to nondestructive testing, reference measurements of the intact structure are necessary in SHM. As soon as laboratory conditions no longer exist and environmental parameters, for example, wind, influence the vibration spectrum, classification methods are necessary for compensation. The recording of comprehensive reference datasets with different environmental conditions is limited by the battery life. This work focuses on diagnosing irreversible rotor blade damages of an 8.5 kg delivery drone. A parametric analysis taking into account systematic fusion of damage indicators and a specific number of considered references were determined for this purpose in order to assess the severity of the existing damage. Onboard SHM to evaluate the airworthiness in real time for linear and hovering flights was achieved.
Keywords
Introduction
The importance of drones for private and industrial purposes has grown rapidly in recent years. In Europe alone, it is estimated that a total of 400,000 commercial drones and around 7 million drones for hobby purposes will be authorized in the next 30 years. Commercial use in particular focuses on the autonomous operation of drones without pilots, as this is economically favorable. EU Implementing Regulation 2019/947 of May 24, 2019 makes it clear that the operation of unmanned aircraft should be just as safe as manned aviation. However, drones (both airplane and multi-rotor types) that have been flying for some time are already showing mechanical reliability problems and related failures.
1
An estimated 9.2% of all commercial drone failures are due to a malfunction of the mainframe.
2
The causes are mainly due to material fatigue in aluminum, collision damage in composite material, or cracks in 3D-printed plastic parts. Sixty-four percent
Vibration-based methods are often used in the literature for global damage identification in complex material systems and structures. 6 Related works dealt with the vibration-based monitoring of the railway bridge KW51 between Leuven and Brussels (Belgium), 7 the prototype of a 5 MW wind turbine on the North Sea (Germany), 8 the Warren-truss bridge in Japan, 9 a bridge on the SS114 in Silicy (Italy), 10 the Z24 bridge between Zurich and Bern (Switzerland), 11 the Tianjin-Yonghe bridge in China, 12 and the ARTEMIS satellite antenna. 13 Output-only methods are particularly relevant here, as usually only the measured output signals are available for SHM. 14 Damage indicators (DIs) are proposed as dimensionless scalars that are calculated to assess the severity of the existing structural condition. 9
In recent years, algorithms based on modal parameters have become increasingly influential for vibration-based SHM. Modal parameters generally include natural frequencies, damping ratios and mode shapes. 9 The automatic, data-based calculation of modal parameters in the operating state of a material system is referred as operational modal analysis. 8
The challenge is to discriminate structural changes, that is, damage, from changing environmental and operational influences such as temperature variations.
15
For special applications, these parameters may also be unknown. In order to be able to observe and analyze various weather-related influences outside of a laboratory in all seasons, a measurement period of at least 1 year is worthwhile. The use of machine learning could be helpful here to train a neural network without application-specific physical models. However, it should be noted that especially microcontroller units (MCU) do not have a large working memory and therefore the complexity must be kept to a minimum, although this leads to a loss of accuracy. Nevertheless, Zonzini et al. were able to prove that a one class classifier neural network on a MCU reach an accuracy of
One part of current research is to design vibration-based SHM systems on drones for their damage identification during operation. Most current publications report on offline SHM of drones. 16 This means that the evaluation of the raw data is only carried out on an external computer after the measurement procedure. Ghazali and Rahiman developed an initial approach to an online monitoring system of drones to assess the sensitivity of various vibration-based sensors with respect to different rotor blade damage on a Storm Drone 8. Experimental studies were carried out under laboratory conditions in the “warm-up stage” (propellers rotated with the drone on ground). Propeller damage was detected in real-time when a threshold of the vibration-based time signals was exceeded. The data were transmitted to a smartphone via Bluetooth for further processing. 17 Ghalamchi et al. used a Kalman filter to take into account the nonuniform distribution of forces in real time that occur from the servomotors due to rotor blade damage. Two quadrocopters and one hexacopter of different masses with the same flight distances were tested. 18 The analysis of the vibration behavior due to mass increases was performed on a T50 helicopter by Bektash and la Cour-Harbo 19 and on a Q8000 delivery drone by Ibrahim et al. 20 An experiment that followed the complete delivery process of a package via a ferromagnetic unloading station with a DJI F550 hexacopter was set up and carried out by Carroll et al. 21
Damage sizes in the range of centimeters on propellers are reported in the literature. Liu et al.
22
shortened up to
The novelty in this article is to operate and demonstrate the entire onboard SHM system for autonomous delivery drones in real-time during linear and hovering flights on the airfield outside. In this work, we considered a shortening of the propeller to demonstrate the overall damage detection performance of the proposed SHM system. It should be noted that this type of propeller damage is a simplification compared, for example, to fatigue damage. In addition to the onboard sensors, the results are transmitted and displayed through a wireless communication link to a Rasperry Pi and an Android smartphone. The algorithms for calculating DI have been extended by a classification method to extract information on wind conditions and compensation maneuvers of the control technology via the motor control signals. Another new feature is the combination of DI, calculated by the stochastic subspace-based fault detection (SSFD) and histogram difference (HD) method to improve damage detection performance. Two case studies have been performed and the results compared, that is, linear and hovering flights. Linear flights are characterized by a straight-line movement at a constant speed, so that the resulting acceleration of the drone system is zero due to the principle of inertia. In hovering flights, the drone maintains its position above the ground.
The remainder of the article is organized in the following way: “Experimental setup” section describes the experimental setup, which is divided into the sensors on the drone and the ground station. “Damage identification techniques” section gives an overview of implemented algorithms for damage detection: The SSFD and HD method, their combination and the classification method. “Experimental results: onboard propeller fault diagnosis during flight in real-time” section presents the experimental results for the linear and hovering flights separately. Finally, a short summary and an outlook for further research is given in “Conclusions” section.
Experimental setup
The delivery drone to be monitored for structural changes in the present work is a Q8000 octocopter manufactured by Emqopter GmbH in Würzburg (Germany). The battery for the power supply is a 6S LiPo battery that provides a voltage of
An STM32 NUCLEO-F767ZI MCU from STMicroelectronics is attached above the Emqopter circuit boards, to which the sensors are connected. The MCU itself is based on a

Photo of the drone showing the microcontroller board under the dome and the position of the accelerometer.

System concept for real-time onboard SHM of autonomous drones through vibration analysis.
The used triaxial ADXL357 accelerometer from ANALOG DEVICES measures accelerations along three axes with a sampling rate of
The bytes of the FIFO are stored in two buffers implemented on the MCU. A buffer is a memory unit for storing acceleration data of a complete measurement interval. If the storage capacity of buffer A is exhausted, the other buffer B is used for storage. If the storage capacity of buffer B is also exhausted, buffer A is overwritten with current data to avoid overloading the working memory with further buffers. After reading, the FIFO can be overwritten with further data. The baud rate specifies here how many characters per second are transferred from the FIFO to the MCU via jumper cables. It must be well adjusted to the cable length so that the bits are not detected with the next clock signal.
A DS3231 real-time clock (RTC) from AZ-Delivery is connected to an I2C bus. It must be set correctly during initialization and remains in operation after the MCU is switched off due to the
The micro SD card reader from pzsmocn is used to write data to the inserted 32 GB Samsung Evo+ micro SD card by a maximum of four channels. Supported interfaces are SPI or SDIO interfaces (for this MCU, the interface is called SDMMC). The file system module is FatFs with extensive functions that can be activated in the IDE.
UART interfaces are used to transmit and receive data packages. They are required for the WiFi board module ESP8266-01S from AZ-Delivery and for retrieving the flight parameters with a sampling rate of
To display the monitoring results, data are sent to a Raspberry Pi 4 model B by the Wi-Fi module from the MCU and forwarded to an evaluation app on an Android smartphone via the transmission control protocol in small data packages. Both devices form the main part of the ground station. Furthermore, a remote control and a notebook are used to fly the drone manually and automatically by an autopilot in the MissionPlanner software. In this approach, the Raspberry Pi acts as a server and uses a listen call to the socket interface to check whether the MCU or the smartphone would like to connect as separate clients via a connect call. Before the data exchange between two instances can begin, the server must accept the connection request. The connection can theoretically exists for any length of time or be terminated by the server via a close call.
For the structural analysis, two series of measurements were recorded on two different days under different environmental conditions and aircraft movements. In order to simulate damage, a part of a rotor blade was clipped off with pliers in each series of measurements so that a total of three structural states could be compared with each other (see Figure 3). The measurement plan can be found in Table 1.

Documentation of propeller damage during (a) hovering and (b) linear flight.
Measurement plan, divided into two series of measurement.
Damage identification techniques
This section gives an overview about the procedure of real-time damage identification in three phases, as shown in Figure 4. In the first phase, the vibrations of the drone are measured using an acceleration sensor with a sampling rate of f

Workflow of the SHM system including data acquisition, training, and monitoring phase.
A measurement interval of
In the second phase, the SHM system is trained on references in order to monitor the drone for structural integrity in the third phase. References are datasets which are recorded under healthy rotor blade conditions and collected during the training phase. SSFD and HD were chosen as SHM algorithms, in which the acceleration signals of the reference structure and the damaged structure are linked by mathematical operations to calculate DI. While the SSFD is based on the cross-correlations of the acceleration signals in time domain, the HD subtracts the frequency distributions of two structural states for each bin.
The choice of algorithms was related to real-time capability and flexible parameter setting. Modal methods were unstable relating to the short measurement duration of
For both algorithms, a different number of reference datasets
In order to select a number of suitable references, the system must be trained for many different environmental and operational conditions in the baseline state of the structure. 24 For this reason, reference datasets are analyzed with the SHM algorithms in the training phase and calculated matrixes are saved for subsequent use in the monitoring phase. The decision whether a structure is intact or damaged is made by comparing the DI from the training and monitoring phase. In the case of a damaged structure, the DI would increase.
The algorithms are explained mathematically in the following subsections. Acceleration signals
Stochastic subspace-based fault detection
This subsection is based on work from Ibrahim et al.,
20
Strumpen et al.,
26
Basseville et al.,
27
and Balmes et al.
28
In order to normalize the acceleration data
where
In the second step, the Hankel matrix has to be calculated. Generally, it has the form
where
are the cross-correlations in time domain for
with
In the third step, the zero matrix has to be computed that is the kernel of the reference Hankel matrix
For NR references, the elements of the same row
Numerically,
where
one can derive the following eigenvalue problems:
From this, it can be concluded that the singular values are the square roots of the eigenvalues
The zero matrix
The rank of
Numerically, the SVD algorithm is implemented on the MCU computing Jacobian rotations
It was found that the calculation of
In the fourth step, the residuals are calculated, which are the column vectors of the matrix multiplication of
In the last step, the root mean square of
Histogram difference
For the HD, the frequency distributions of the reference
The first step is to find the global maximum and minimum from the acceleration data. In the second step, the bin width can be calculated after
where NB is the specified number of bins. In the third step, the NB + 1 limits of the bins can be calculated:
Here, NB has been set to
If several references are considered, their frequency distributions are averaged bin-by-bin. The factor
Combination of damage indicators
DIs are calculated using two algorithms based on the recorded acceleration data along three spatial directions. All three axes were considered to avoid any assumption related to the impact of a damage for a specific axis. In total, six DIs have been calculated. Combining them into one DI helps to detect changes better in the signal and thus to improve the robustness of the SHM system. First of all, the DIs have to be normalized to 1 for each spatial component and algorithm. After that, the spatial components are combined to a norm as follows:
After another normalization to 1, the algorithms are combined to a norm as well:
Normalization is necessary as long as the scaling and ranges of the individual DIs differ from each other due to different calculation operations.
Classification method
Classification methods are essential to clearly identify the presence of damage and to compensate environmental parameters that influence the vibration behavior. The focus is on the motor control signals, which can change spontaneously due to wind and balancing maneuvers of the drone. Experience has shown that the outdoor temperature change by ±3°C within a few hours, so they were not included in the evaluation.
Since the control technology of the drone automatically ensures that the planned flight movement is maintained, it is quite possible that the servomotors may rotate at different speeds. This behavior is described by the displacement of an introduced centroid from its original position in the two-dimensional plane of the eight servomotors. This is illustrated in the schematic diagram in Figure 5. By definition, the centroids should point from the origin in the direction which has to be balanced. The adjacent servomotors always rotate in the opposite direction to ensure symmetry and to enable rotation around the vertical axis.

Schematic representation of the drone in two dimensions. The coordinate system was selected so that the y-axis points to the forward movement of the drone. The blue arrows indicate the direction of rotation of the servomotors.
To determine the centroids of a measurement from
The theorem of Pythagoras is used to project the diagonal components along the axial components:
In the second step, centroids can be calculated taking into account all components:
with the norm
In the final step, for optimal reference selection, the minimal Euclidean distance from the centroid of the damaged structure to the centroid of NR considered references is calculated by
The smaller the distances, the more similar the environmental and operational conditions are between the reference and a damaged state.
These three steps are performed at the beginning of the monitoring phase (see Figure 4) to select the optimal reference(s) with minimal distances of centroids.
Experimental results: onboard propeller fault diagnosis during flight in real time
This section is divided into the experimental results of the measurements during linear flights in summer and during hovering flights in winter. The results of the linear flight are discussed more in detail, as this case is practically more relevant for delivery drones. All linear flights were carried out in a straight line at a constant speed of 4 ms−1 in the forward direction of the delivery drone.
In addition to the DI, raw data and centroids are also plotted. If DIs of a reference are calculated with themselves, a DI of
Linear flight
First, an exemplary measurement dataset of a linear flight is shown, for which the plotted raw data are discussed on plausibility. Figure 6 demonstrates the acceleration data of the x-axis, the corresponding histogram and the motor control signals of servomotor 4 for three different structural states. It can be seen that a rotor blade with

(a) Measured raw acceleration data along x-axis, (b) corresponding histogram and (c) retrieved motor control signals of servomotor 4 for three structural states.
The centroids for all linear flights are plotted in Figure 7. The white arrow in the y-direction marks the forward movement of the delivery drone. As the rear servomotors have to rotate faster for this, the centroids can be found at negative values of

Centroids for the linear flights, calculated from the appropriate motor control signals.
To display the normalized DI separately for each spatial component and each algorithm, three-dimensional plots were created separately for the SSFD and HD in Figure 8. Only the optimal reference was considered for this purpose. The HD enables a more precise separation of clusters of different structural states.

Representation of normalized DI in three-dimensional space, calculated by the (a) SSFD and (b) HD method for the linear flights.
The number of the most suitable references was varied for the combined DI. Figure 9 demonstrates the normalized DI with 1, 10 and all (

Trend of combined, normalized DI and mean of minimal distances to (a) 1, (b) 10, and (c) 48 reference centroids during the linear flights.
Hovering flight
The centroids for the hovering flights are shown in Figure 10. Once again, the centroids of the structural state with the highest severity are particularly remarkable. This makes it significantly more difficult to find optimal references. Another aspect that can be observed during the comparison is the narrower range of the axes, although the wind was more present during the measurements in hovering flight. This shows that the control of the servomotors for a linear flight requires significantly larger rotation speeds than the wind to the thrust of the delivery drone.

Centroids for the hovering flights, calculated from the appropriate motor control signals.
The combined, normalized DI were calculated with 1, 10, and all (

Trend of combined, normalized DI and mean of minimal distances to (a) 1, (b) 10, and (c) 60 reference centroids during the hovering flights.
Conclusions
In this article, it was shown that an onboard evaluation of the airworthiness of the Q8000 delivery drone can be carried out on an MCU in real-time. The benchmark is a DI combined from the SSFD and HD to classify the severity of the cut rotor blade up to
The developed SHM system can be used for any unmanned aerial vehicle (UAV) as long as up-to-date and suitable reference datasets have been recorded beforehand. For drone development, it can be embedded to initiate an automatic emergency landing in the event of damage. Extending the SHM system with machine learning, local methods and more acceleration sensors can increase detection accuracy, although it is important to ensure that the firmware does not become too complex on a MCU given by the limited computational ressources. An interesting approach for further research could also be the reuse of reference datasets. This would allow the SHM system to be better trained for different environmental parameters and the short battery life would no longer be a limiting factor.
Footnotes
Acknowledgements
The authors acknowledge the technical support of Martin Baußenwein (SWIFT) during software optimization.
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
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: The authors gratefully acknowledge the financial support of this research by the Federal Ministry for Economic Affairs and Energy (Grant Number: ZF4339702JR9).
