1. Introduction
Implementing a monitoring system on full-scale structures is a complex and often expensive task, which requires both domain expertise and experience in the development of an end-to-end data pipeline, from sensor acquisition and communication to data analysis and inference [
1,
2,
3].
Wired sensing systems are difficult to install, particularly for an operational structure, have large power consumption, are susceptible to disturbances and damage and have a high cost of implementation and maintenance [
4]. In contrast, wireless systems are often quicker and easier to implement, are suitable for scaling across an infrastructure network and can be more than 10 times cheaper to deploy [
5]. Long-term monitoring of an infrastructure network requires low-cost, wireless, battery-powered sensing devices. There are several challenges involved in the deployment of wireless sensor networks (WSN) for SHM. These include data storage and transmission, the requirement for low power and the cost and complexity of implementation. The primary data source used for SHM is acceleration with a sampling rate in the range of ~100–500 Hz. This sampling rate creates large volumes of data, particularly for multiple sensors recording on a structure. The data can either be stored locally or communicated to an offsite or cloud database for analysis. Local storage requires the collection of significant amounts of data that can only be analysed after being regathered.
Communication protocols with high data throughput (e.g., 4G) have significant power demand and are not suitable for wireless monitoring applications. The lack of available long-term data monitoring data due to the difficulty in acquiring them from operational structures has led to researchers relying on numerical models and experimental structures. A small number of full-scale datasets, such as that from the controlled tests on the Z24 bridge [
6], are available for the development of damage detection techniques. Alternative Low-Power Wide-Area Networks (LPWAN) [
7] have been developed for wireless sensors applications for the Internet of Things (IoT). These include cellular-based technologies such as NarrowBand-IoT (NB-IoT) [
8] and technologies such as SigFox and LoRa [
9,
10], which operate in the unlicensed scientific bands.
An end-to-end, long-range, low-power monitoring system consists of an edge device, a gateway and a cloud platform. The edge device or wireless sensor node consists of sensors, a microcontroller, a wireless transmission board and a battery-power module. They require basic functionality including (i) data acquisition from multiple sensors, (ii) scheduling and execution of measurement tasks, (iii) storage of measured data, (iv) on-board data processing and analysis (e.g., signal processing, feature extraction) and (v) communication and networking with the base station/gateway via a low-power communication protocol involving reliable transmission routing of data packets to the base station and receiving commands from the base station for reconfiguration. The gateway can be in the form of a private LoRa gateway, a public LoRaWAN gateway, or an NB-IoT mast. Data are transmitted from each gateway to a cloud platform for storage, analysis and visualisation. Once the gateway has received data from the edge nodes, it can then be transmitted to a cloud or offsite platform via Wi-Fi or 4G using standard IP protocol for the LoRa/LoRaWAN gateways. Data from the NB-IoT gateways are in the form of a Constrained Application Protocol (CoAP), and an intermediary port needs to be configured for a custom cloud setup to receive packets. Despite these advantages, LPWANs are restricted in terms of the size and rate of data packets that can be transmitted. Feature extraction at the edge also presents challenges due to the computational constraints of a low-power device.
There is a disconnect between the complex feature extraction and damage detection algorithms developed by SHM researchers and the type of data that can be obtained using low-power wireless sensor nodes. Modal feature extraction methods such as stochastic subspace identification [
11] are often unsuitable for real-time wireless monitoring as they require multi-sensor datasets of raw acceleration from locations on the entire structure.
Continuous remote wireless monitoring of a structure requires data compression or univariate feature extraction at the edge. Therefore, features must be pre-coded onto the edge sensor before deployment. Univariate, single-channel features extracted from the recorded vibrations can be categorised in time, frequency and time–frequency domains, with the latter two being associated with significant computational complexity, which results in processing requirements at the edge and therefore leads to high power consumption [
12]. Frequency and time–frequency features also produce high-dimensional feature vectors, while time domain features are usually computationally efficient and suitable for edge feature extraction. Nine simple time domain parameters extracted at the edge have recently been investigated by [
13] for wireless machine fault diagnosis. However, for SHM applications, the time domain features are sometimes less sensitive or robust to environmental and operational effects as compared to their frequency and time–frequency counterparts. Obtaining features that are sensitive to damage and can be implemented at the edge brings a new dimension to research and analysis in SHM.
It is clear that directly implementable solutions at the edge with demonstrated benchmarks are needed for the SHM sector to make a paradigm shift to an IoT-based future, and to accommodate the lifetime monitoring demands, combined with new detection algorithms. To address this overarching need, this paper developed a low-cost, low-power SHM prototype using off-the-shelf components within an open-source IoT framework. The prototype is deployed on an experimental cantilever structure excited by an electromagnetic shaker with damage being introduced into the system through the loosening of bolts at the fixed end of the cantilever. A detailed analysis of the raw vibration data gathered during the experiment is provided as a baseline for the features on the edge sensor node. This work demonstrates how a continuous structural monitoring and damage detection strategy can be achieved in an LPWAN using edge-computed features.
2. Materials and Methods
This section describes the system design of the Low-Power SHM setup and the analytical model of the experimental cantilever structure.
2.1. System Design and a Prototype of Low Power SHM
The low-power wireless sensor system for SHM in this paper consists of an edge device and a gateway. The edge device consists of sensors, a microcontroller and a wireless LoRa transceiver. The gateway, situated within the range of the edge device, consists of a LoRa gateway receiver, a microprocessor and a Wi-Fi or cellular module to communicate data to a cloud platform.
2.1.1. Edge Device
The edge device continuously records data from three accelerometers. Due to the high sampling rate of the accelerometers and the transmission limits of low-power wireless communication protocols, the data are first locally stored and processed before features are extracted and wirelessly transmitted in a batch via LoRa. The data, following the acquisition, are stored, processed and subsequently transmitted as shown in
Figure 1.
For data acquisition, a data-ready interrupt is used to sample voltage from the accelerometer at a set interval corresponding to the desired sampling frequency. Using the inbuilt timer in the microcontroller, the Analog to Digital Converter (ADC) is triggered at the pre-set sampling interval and the ADC reads the reference voltage (Vref) value for the analog pin connected to the sensor. An accelerometer, as a slave device, only records the voltage on command from the master device. Depending on the number of ADCs in the microcontroller, for multiple analog inputs, such as multiple sensors or multiple axis, the ADC must switch over each analog pin during the sampling interval. For data storage, a double buffering technique is used to simultaneously sample incoming data and carry out signal processing and data transmission on already-recorded data. The Direct Memory Access (DMA) controller is used to read the datapoint and store it in a buffer. Once the buffer is full, the data array is transferred for processing while a second empty buffer is filled. For data processing, signal processing and feature extraction are carried out on the complete buffer and calculated features are sent to a First In First Out (FIFO) queue. Once sufficient values are stored in the queue, they are assembled into a data packet and encoded as ASCII data for the RF payload. Finally, for data transmission, the LoRa transceiver module is switched on from sleep mode and used to transmit the assembled data packet to the gateway, returning back to a sleep state once the transmission has been successful.
2.1.2. LoRa Data Transmission
LoRa is a noncellular radiofrequency carrier signal, which encodes information using a chirp spread spectrum (CSS) modulation scheme, enabling data communication over a long range (1–4 km in dense and up to 45 km in low density areas) with low power and minimum throughput. It is also the hardware that supports the modulation technology, including the LoRa chips and gateways, and is the physical layer in a Low-Power Wide-Area Network (LPWAN) system. A private LoRa network can be deployed for single applications leading to the advantage of larger message capacity compared to a public LoRaWAN gateway due to exclusive bandwidth, complete control over the end-to-end data transmission and the ability for bidirectional command and control functionality to the gateway and edge devices.
LoRaWAN is the media access control (MAC)-layer protocol communication, which is built on LoRa modulation technology and hardware. The LoRaWAN network architecture is laid out in a star-of-stars topology with a central gateway and multiple edge nodes in the network. It is best suited for public wide-area networks (WAN) as all the channels are tuned to the same frequencies, and its primary advantage is that only the edge sensor needs to be deployed in a monitoring application. However, they are limited by fair usage and access policies. The installation of a private gateway is necessary when a LoRaWAN network is not available in the region of deployment.
LoRa (
Figure 2) is linked to spread spectrum modulation where data can be spread in both frequency and time to increase the robustness and range of transmission by increasing the receiver’s sensitivity. The range and throughput of data transmission depend on the physical bandwidth for radiofrequency modulation (BW), coding rate (CR) and spreading factor (SF).
Larger bandwidths allow for a higher effective data rate, which reduces the transmission time but also reduces the sensitivity. The CR is for Forward Error Correction (FEC), which is combined with the spread spectrum technique to further increase the receiver sensitivity and correction. The SF affects the rate of data transmission, while the LoRa supports multiple spreading factors (between 7–12) to decide the tradeoff between the range and data rate. A lower SF results in a higher data transmission rate but also a lower range of transmission due to the reduced immunity to interference [
15]. The data rate ranges from 300 bps to 37.5 kbps depending on the spreading factor and channel bandwidth [
16] as
An uplink LoRa packet (
Figure 2) consists of a set of preamble symbols, an optional header, a variable-length payload field and an optional cyclic redundancy check (CRC) field. PL represents the number of payload bytes, and the header is composed of preloaded information. The LoRa frame format can be either implicit or explicit, where the explicit packet includes a short header containing information about the bytes, CRC and coding rate used in the frame.
The data rate (DR) is defined by SF and BW, so the maximum packet size roughly depends on the distance to the nearest gateway. As LoRa operates in the unlicensed scientific bands, the DR is also limited by the specification for each region. For the European 863–870 MHz band, the maximum application packet size varies from 51 bytes for slower DR to 222 bytes for faster rates. The Header is composed of preloaded information, and DE indicates the absence (0) or presence (1) of the header in the packet.
2.1.3. LoRa Gateway
The gateway or base station has a much higher communication capability, processing power and memory than the wireless senor node and is situated in a location within the range of the edge devices where power supply is not an issue. The gateway receives and parses the LoRa data packets and transmits them to a cloud data-management platform. For LoRa, the gateway can be private (user implemented) or public (LoRaWAN). In this paper, a private LoRa gateway setup is implemented, which consists of a microprocessor, a wireless LoRa receiver and an internet connection via a cellular or WiFi module. The LoRa gateway transceiver can receive data from multiple edge devices in a one-to-one star topology. The gateway is not a low-power setup and needs to be connected to a mains power source. It is in a constant listening state for incoming data packets from the edge nodes. These data blocks are parsed and transmitted via Wifi or 4G to a cloud IoT management dashboard. Data can then be stored, analysed and displayed on a dashboard on any IoT management platform.
2.2. Analytical Model of Experimental Setup
A replicable damage scenario is considered in this paper for the purpose of demonstrating SHM in an edge framework. Relaxation of the boundary condition of a cantilever structure, excited via an electrodynamic shaker, is considered as the damage scenario in this paper.
An analytical model is considered first to create the context and the relevance of the experiments. Relaxation of the boundary has seen several applications, including wind turbines [
17], bridge scour [
18] and damages related to other natural hazards [
19,
20]. The non-dimensionalisation and similitude relationships of such models are also established in the literature [
17,
21,
22,
23].
However, even within this idealised scenario, there are multiple analytical models to align with the variability that can exist within an experiment. The simplest reference case is a cantilever beam with a fixed end at the connection to the frame. This also helps with interpreting the data following the experiments. The second case is a two-span cantilever where the shaker probe acts as an internal connection. The third case is where the bolts are loosened, and the cantilever connection can be modelled using translational and rotational springs. The following sub-sections present these idealised models.
2.2.1. Cantilever Beam with Fixed End
The first natural frequency of a cantilever beam with fixed supports and an end mass is simply
where
and
is the equivalent mass equal to
, where
is the mass per unit length of the beam,
is the length of the beam,
is the flexural rigidity of the beam and
is the tip mass at the end of the beam.
2.2.2. Two Span Cantilever Beam with Fixed End and Internal Connection: Fixed–Fixed–Free Boundary
The electromagnetic shaker is connected to the cantilever via a stinger, which is clamped to the beam so that vibro-impact nonlinearities are not induced. However, this creates an additional internal boundary condition on the beam, which makes the system a two-span continuous Euler–Bernoulli beam (
Figure 3A), following the canonical equation
where
is the deformation of the beam with respect to its static deflected shape,
is the time-varying load on the beam,
is the spatial coordinate along the length of the beam measured from the fixed end,
is time measured from the initiation of excitation,
is the constant axial force applied to the beam (which is made as close to 0 as possible),
is the radius of gyration of the beam and an overdot represents the derivative with respect to time.
Appendix D provides details of the simplification of this equation considering boundary conditions.
2.2.3. Two-Span Cantilever Beam with Loose Bolts and an Internal Connection: Spring–Fixed–Free Boundary
When bolts are loosened at the secured end of the cantilever, the connection is no longer a fixed connection as some vertical and rotational movement is expected to occur at the support. The secured end of the cantilever beam can therefore be described as a combination of a rotational and lateral spring (
Figure 3B). This will affect the boundary conditions at the fixed end. Thus, at
, for loose-bolt spring connection
where
and
are the rotational and lateral stiffness of the springs representing the loosened bolted cantilever connection, respectively.
2.3. Experimental Setup
The experimental setup contains a cantilever beam secured by a bolted connection to a frame. The cantilever, a 650 mm × 50 mm × 5 mm aluminium beam secured to a frame by four bolts of 4 mm diameter, is excited by a sensor probe connected to an electrodynamic shaker at one-third distance along the beam. Three accelerometers of 8 g mass are connected to the cantilever on both sides of the probe and at the free end. Damage is introduced into the system through the loosening of bolts at the fixed end.
Figure 4 presents the experimental setup.
The natural frequency of the cantilever is analytically calculated as 11.06 Hz. With the attached stinger and the change in boundary conditions, the natural frequency is computed to be 20.398 Hz. These values correspond to numerical and experimental work on two-span beams in [
24,
25]. Increasing and decreasing swept sine, along with white noise excitation, are used to excite the beam for each bolt-loosening incident at the fixed end of the cantilever (
Figure 5), in a frequency range of 5–200 Hz and for 5 s.
Table A1 and
Table A2 in
Appendix A show the progression of bolt loosening for the two sets of damage experiments.
Subsequently, continuously recorded experiments were also carried out for 2 min as the bolts were progressively loosened. While the fundamental physics of bolt loosening can be particularly complex [
26], the gradual loosening and its relationship to SHM is well established, as we consider this deviation from the undamaged baseline as the feature of interest in this paper. Such experiments can also typically be created as rapid benchmarks [
27].
Data were collected in three different ways. First, an oscilloscope monitored each shaker input and recorded the raw acceleration data at 500 Hz. Secondly, each accelerometer was connected to the analog inputs of the Arduino Due used for the experiments, where the values are printed via the USB serial port to a local PC. This method uses the Arduino Due as an oscilloscope. Finally, the LoRa setup described was used to extract root mean square (RMS) features from the raw data and transmit them to a local PC via the LoRa gateway.
Figure 6 summarizes the data collection methods.
2.4. SHM Low-Power IoT Framework
Figure 7 shows the three sections in the IoT framework—the edge device, gateway and data management platform used in this paper. The LoRa transmission settings and gateway configuration in this application are based on the low-cost and low-power IoT framework developed in the H2020 EU WAZIUP project [
28,
29].
For the edge device setup, the Arduino Due microcontroller was used, which has a single built-in ADC and
Vref = 3.3 V. The Arduino samples the data from the accelerometers at 500 Hz. The Arduino Due is a 32-bit CortexM3 ARM microcontroller with an 84 MHz clock. A shield is attached to the microcontroller for LoRa communications. A 3-axis, ±3 g, ADXL335 micro-electromechanical systems analog accelerometer is used for data measurement. The evaluation board is used for the prototype to easily connect the accelerometer to the pins of the microcontroller (Raspberry PI 3). The accelerometer has a 350 µA power consumption and a 0.5–1600 Hz measurement range on the X and Y axes, and a 0.5–550 Hz range on the Z axis, respectively. The ADXL335 has a ratiometric output voltage,
Vs of −0.3–3.6 V and for a 10-bit ADC resolution (2
10), the acceleration value in g is:
However, the accelerometer has an offset bias of
. For the 3.3 V supply from the Arduino, the sensitivity of the sensor is 270–330 mV/g and the acceleration is
This value must be determined for each sensor before the measurement is carried out. For the three accelerometers used in this experiment, the sensitivity values were 305 mV/g, 302 mV/g and 299 mV/g for accelerometers 1, 2 and 3, respectively.
Feature extraction at the edge is required due to limits on data packet sizes, and this paper considers the RMS value and the peak natural frequency as extracted features.
For long-term continuous monitoring, features need to be either calculated or averaged over time windows that can be transmitted in small packets over intervals of several minutes. For the EU863–870 unlicensed bands, the maximum available payload size per LoRa message is 222 bytes for a data rate of 4–7 (BW 125, CR 5, SF 12). To obtain enough samples, features are calculated over 1 s of recording. Using the above configurations and a maximum payload of 222 bytes, a payload of 128 bytes for the data packet is used. An 8-bit ASCII encoding is considered, and each feature is stored to flash memory (512 kB). Data are queued to be sent out at 3 min intervals at a later time. In a full-scale scenario, the interval over which the features are calculated would be much longer.
The Arduino Due is a 3.3 V microcontroller and has an estimated power consumption of 100 mA. The 3 accelerometers are powered by the Arduino, and each has a current draw of 0.35 mA. The LoRa shield has a current draw of 20 to 120 mA while transmitting (depending on the boosting for the maximising range) and 0.2 micro amps while in sleep mode. That is an estimated range of 0.4 W to 0.7 W while the LoRa device is transmitting and 0.3 W while the accelerometers are recording and the LoRa device is in sleep mode.
Field implementation of this prototype would require the development of an Application-Specific Integrated Circuit (ASIC) with an application-specific code to replace the Arduino Due microcontroller, significantly reducing the power draw.
4. Discussion
Some of the core challenges for SHM, identified more than a decade ago, are still relevant [
33]. However, with a proliferation of sensors and the rise of IoT in most sectors [
34], there is a definitive need for demonstrative and repeatable benchmarks for SHM, especially around edge computing, which this paper addresses. It impacts the value of information of [
35,
36,
37] for existing and future sensors, as well as their ranges of demands. The potential use of IoT for SHM has been discussed previously [
38], and despite architecture being discussed [
39,
40,
41,
42], there are only a handful of small examples [
43] and no benchmark. To the best of the authors’ knowledge, this is the first demonstration with a clear architecture, design, repeatable benchmark and implementation of SHM in an edge-computing format, and this is expected to open up significant figure study in future. The presented method can accommodate most markers of features of interest and thus, there are significant future opportunities to adapt this approach to sector-specific requirements. The deviation of the quantile–quantile plots as a function of bolt loosening is indicative of this, especially in the context of output-only markers [
44], and especially in a statistical quality control context [
45].
The demonstrated edge SHM can be implemented in a low-cost, low-power format using off-the-shelf components and within an open-source IoT framework. The work demonstrates the constraints that a low-power remote-monitoring system places on data-driven SHM. Due to the low data-transmission rate available combined with the high sampling frequency of accelerometers, this work demonstrates the need for univariate features that can be extracted at the edge. The necessity for feature extraction at the edge is demonstrated due to the constraints of the low-power communication data rates. Open-source or commercial kits for remote SHM are not yet available, and one of the prohibitive challenges for researchers in gathering data and testing algorithms on a low-power system is the requirement of developing custom hardware solutions. An SHM prototype for this requires the design and development of a specialised hardware system. Some of the numerous parameters that need to be considered when implementing a low-power wireless monitoring system are identified through this work. These parameters include:
Maximum size of each payload in the data packet for an application.
Transmission interval for data packets.
Whether to implement a sleep interval between recordings.
Features to extract.
Interval over which each feature is extracted.
Averaging of features.
One of the limiting factors in this prototype on the number of acceleration channels that can be sampled in parallel using analog accelerometers is the number of analog-to-digital converters in the microcontroller. The Arduino Due used in this work has a single 12-bit resolution analog-to-digital converter. It is recommended for future developments that a digital mems accelerometer such as the ADXL345 with an inbuilt 16-bit resolution analog-to-digital converter be used instead. This digital accelerometer also has a lower power consumption.
A baseline is still required for the features on the edge sensor node, but in the future, it may be possible to carry out some detections with multiple sensors, especially for anomalies, in order to not require an undamaged baseline [
46]. The presence of double peaks is generally unavoidable in most experiments [
47] and thus it is better to identify them. Such peaks are typically a result of the presence of coupling between the fixed beam and the stinger, since it is often not possible to e establish perfect rigidity, despite avoiding vibro-impact [
48] conditions. Despite the simplicity and ease of repeatability of the experiments, there are possibly minor nonlinearities introduced into the system as the bolts are initially loosened and there can still be occasional and minor impacts between the beam and the frame and top of the bolts. As the bolts are further loosened, this would be reduced, as the bolts would be loose enough and the beam stiff enough to ensure no possibility of impact with the top of the bolt or the frame. There would still, however, be some noise effect due to the friction between the cantilever and the bolt. A set of additional results supporting the observations in this paper, and for the purpose of appreciating the consistency and repeatability of the study, is presented in
Appendix C in
Figure A3,
Figure A4,
Figure A5,
Figure A6,
Figure A7,
Figure A8,
Figure A9,
Figure A10,
Figure A11,
Figure A12,
Figure A13,
Figure A14,
Figure A15,
Figure A16 and
Figure A17.
The excitation profiles of swept sine and white noise are, on the other hand, typical of what is provided in industrial applications [
23,
49]. Consequently, experiments of a similar nature can be used at least phenomenologically to establish whether an edge SHM solution can be viable for the monitoring demands of a sector. The distance of certain renewable energy devices, like offshore wind [
50], can provide an opportunity in this regard.
While extensive control on such experiments will improve the calibration of the results, there will always remain some uncertainties of these implementations, and there is a requirement to carry out further comparative studies in the future for various deployments of edge SHM and establish the uncertainty bounds for detection and the demands for such detection for a range of application sectors or use cases. On the other hand, the clear trend of the markers with bolt loosening indicates that a continuous structural monitoring and damage detection strategy can be achieved in an LPWAN using edge-computed features.