Next Article in Journal
Triangular Fuzzy QFD–MCDM Combination Approach for Green Building Design Scheme Evaluation
Previous Article in Journal
An Energy Self-Sufficient Alpine Hut: The Refurbishment of an Ex-Tobacco Farm Using Building Integrated Photovoltaics
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Enhancing the Accuracy of Low-Cost Inclinometers with Artificial Intelligence

by
Fidel Lozano
1,
Seyyedbehrad Emadi
1,
Seyedmilad Komarizadehasl
1,
Jesús González Arteaga
2 and
Ye Xia
3,*
1
Department of Civil and Environment Engineering, Universitat Politècnica de Catalunya (UPC), BarcelonaTech. C/Jordi Girona 1-3, 08034 Barcelona, Spain
2
Geoenvironmental Group, Universidad de Castilla-La Mancha (UCLM). Av. Camilo Jose Cela s/n, 13071 Ciudad Real, Spain
3
Department of Bridge Engineering, Tongji University, 1239 Siping Rd., Shanghai 200092, China
*
Author to whom correspondence should be addressed.
Buildings 2024, 14(2), 519; https://doi.org/10.3390/buildings14020519
Submission received: 6 December 2023 / Revised: 7 February 2024 / Accepted: 9 February 2024 / Published: 14 February 2024
(This article belongs to the Section Building Materials, and Repair & Renovation)

Abstract

:
The development of low-cost structural and environmental sensors has sparked a transformation across numerous fields, offering cost-effective solutions for monitoring infrastructures and buildings. However, the affordability of these solutions often comes at the expense of accuracy. To enhance precision, the LARA (Low-cost Adaptable Reliable Anglemeter) system averaged the measurements of a set of five different accelerometers working as inclinometers. However, it is worth noting that LARA’s sensitivity still falls considerably short of that achieved by other high-accuracy commercial solutions. There are no works presented in the literature to enhance the accuracy, precision, and resolution of low-cost inclinometers using artificial intelligence (AI) tools for measuring structural deformation. To fill these gaps, artificial intelligence (AI) techniques are used to elevate the precision of the LARA system working as an inclinometer. The proposed AI-driven tool uses Multilayer Perceptron (MLP) to glean insight from high-accuracy devices’ responses. The efficacy and practicality of the proposed tools are substantiated through the structural and environmental monitoring of a real steel frame located in Cuenca, Spain.

1. Introduction

Civil engineering and architecture are undergoing a significant transformation in the era of the fourth industrial revolution, also known as Industry 4.0 [1]. This digital revolution is fundamentally changing how professionals in these fields approach the planning, design, construction, and maintenance of both infrastructures and buildings. Cutting-edge methodologies and technologies, such as Building Information Modeling (BIM) [2], which allows for the digital and interdisciplinary representation of physical assets, and artificial intelligence (AI) tools capable of performing tasks traditionally requiring human intelligence, are at the forefront of this transformation [3].
AI tools encompass a wide range of applications and capabilities, including, but not limited to, machine learning [4,5], optimization algorithms [6], computer vision [7], and deep learning [8,9]. Thanks to their ability to improve decision-making processes offering innovative solutions even to complex problems, AI tools are reshaping both civil engineering and architecture [10]. In fact, the growing interest in the utilization of AI tools within these fields is well documented in the existing literature. For example, Huang et al. [11], Lagaros and Plevris [12], Manzoor et al. [13], Dede et al. [14], Pan and Zhang [15], and Lu et al. [16] reviewed the application of AI tools in civil engineering, while Momade et al. [17] and Bölek et al. [18] documented the recent applications of these tools in architecture.
One of the most promising research areas in the fields of civil engineering and architecture is structural health monitoring (SHM), as this technology aims to ensure both the safety and reliability of structures [19]. Historically, SHM relied on conventional sensors and manual inspection methods to assess the condition of infrastructure, such as bridges, buildings, and pipelines. However, with the integration of AI technologies, SHM is evolving into a highly efficient and proactive discipline. In fact, AI-based solutions are able to process vast amounts of sensor data in real-time, enabling the early detection of structural anomalies, defects, and potential failures. The applications of AI tools in structural and health monitoring were reviewed by Sun et al. [20] and Salehi and Burgueño [21]. These works also analyze the challenges and future trends associated with the application of AI tools in these fields.
Sensors play a key role in SHM applications by enabling the collection of real-time data on-site. Among the most common sensor types employed in SHM are structural sensors like accelerometers and inclinometers, as well as environmental sensors for measuring ambient temperature. A critical consideration when selecting a monitoring system is its costs. Historically, cutting-edge sensors often came with substantial price tags, limiting their deployment to well-funded research projects or industrial applications. However, over the past decade, there has been a remarkable surge of interest within the academic and research community in the adoption of low-cost sensors. The cost-effectiveness of these devices allows for the deployment of larger monitoring solutions, facilitating comprehensive monitoring across multiple locations within a reduced budget. This scalability proves especially advantageous in scenarios requiring dense sensor networks. Additionally, the versatility and adaptability of low-cost solutions make them suitable for customization and integration with existing systems. This fosters innovation and opens up endless possibilities for customized monitoring strategies.
Some of the fields benefiting from the application of low-cost sensors include environmental monitoring (for assessing air [22], water quality [23], and measuring noise levels [24]), healthcare (for monitoring vital signs [25]), agriculture (for soil monitoring [26]), building management (for monitoring indoor air quality [27], occupancy [28], and energy usage [29]), building monitoring (for ambient temperature and transmittance monitoring [30]), and structural monitoring (for measuring distances [31] and accelerations [32]). Comprehensive reviews of the application of low-cost solutions for building, mining, and corrosion monitoring are presented in [33,34], respectively. Among the wide array of monitoring devices, inclinometers, commonly referred to as tilt sensors, deserve special attention for their widespread application across SHM [35]. For instance, in the context of bridge health assessment, researchers such as Huseynov et al. [36] employed rotation measurements from inclinometers to detect structural damage, while in building structural analysis, Jun et al. [37] demonstrated the efficiency of inclinometer-derived rotation data to efficiently identify damage in building beams.

1.1. Low-Cost Inclinometers

When considering cost-effective approaches to measure inclinations, one efficient strategy in the literature involves the application of Micro-Electro-Mechanical System (MEMS) accelerometers [38,39]. Noteworthy examples of the successful development of this technology are found in the work of Hoang et al. [40], who designed an orientation system for industrial applications, Woong Ha et al. [41], who engineered an economical inclinometer for ground movement estimation, Ruzza et al. [42], who investigated the measurement of landslide inclinations, and Yu et al. [43], who monitored structural oscillations. It is important to clarify that, similar to any commercial solution, the instrumentation of a structure with sensors involves additional costs, such as labor, cabling, boxing, and so forth. LARA, like other solutions, requires these tools. Notably, a significant distinction between LARA and most commercial inclinometers lies in the fact that LARA does not need a separate data acquisition system. Therefore, from a logical standpoint, it is anticipated that the instrumentation of a structure using LARA would be faster and more cost-effective and efficient than other commercial alternatives.
Despite the advantages of low-cost MEMS accelerometers working as inclinometers, this monitoring solution also comes with certain inherent challenges. Firstly, these devices may require frequent calibration to maintain accuracy and can experience drift over time, making their readings less reliable if not regularly recalibrated. Secondly, these sensors can be sensitive to environmental conditions such as temperature and humidity, further impacting their accuracy. Lastly, low-cost sensors often have a shorter lifespan compared to higher-quality sensors, resulting in increased maintenance and replacement costs over time. In the current literature, there is a growing trend of employing various research approaches to enhance tilt measurement resolution using MEMS sensors [39]. Among these methods, two commonly utilized techniques include the complementary filter and the Kalman filter [44]. The complementary filter functions by averaging the computed angles from both the accelerometer and gyroscope, assigning distinct weights to each sensor. It should be noted that scholars frequently note that the Kalman filter requires substantial computational resources [45,46]. As a result, inclinometers implementing the Kalman filter typically exhibit a lower sampling frequency compared to those utilizing the complementary filter [47]. To further enhance measurement resolution, there are also AI applications discussed in the literature. For instance, Podder [48] provides a literature review of AI applications for MEMS accelerometers, primarily focusing on fault detection and sensor diagnosis. Other works, such as Gou et al. [49], Qi [50], Pan [51], and Wang [52], employed AI to mitigate temperature-related issues in low-cost MEMS accelerometers.
Another major concern of low-cost sensors is their potentially lower accuracy compared to more expensive commercial alternatives. This limitation may restrict their utility in those applications demanding high precision. For example, in the MEMS accelerometers, factors such as noise, non-linearity, and cross-axis sensitivity can introduce inaccuracies in the measured acceleration data. To address the accuracy issues associated with MEMS accelerometers working as inclinometers, Komarizadehasl et al. [44] developed the monitoring system LARA (Low-cost Adaptable Reliable Anglemeter). This device is capable of measuring either accelerations or inclinations, in addition to monitoring temperature and humidity. In contrast to other low-cost solutions in the literature, LARA employs a strategy to enhance its performance by averaging measurements from five distinct low-cost MEMS accelerometers, all operating together with a multiplexer. This approach effectively reduces the sensitivity of the reference low-cost sensor MPU9250 from 0.055° to 0.002°. However, it is worth noting that the advantages derived from averaging data from different accelerometers have certain limitations, and LARA’s sensitivity still falls considerably short of that achieved by other high-accuracy commercial solutions, such as EL Tiltmeter SC [53] or ACA 2200 [54], which reach resolutions of 30 × 10−5° and 10 × 10−5°, respectively. In the literature, AI tools have been used to increase the precision of low-cost sensors. This is exemplified by the work of Hoang et al. [55], who highlighted the advantages of these techniques in enhancing accuracy orientation tracking using MEMS inclinometers. No prior studies have explored the benefits of employing low-cost MEMS inclinometers with an AI tool in the literature for estimating structural deformations.

1.2. Low-Cost Inclinometers in Smart Homes

Smart homes refer to residences equipped with a range of connected devices and systems that leverage automation, communication, and intelligent control to enhance the overall living experience [56]. These structures are based on advanced technologies to manage and optimize various aspects of daily life, including security, energy efficiency, entertainment, and convenience. Sensors play a crucial role in the functionality of smart homes by providing the necessary input for intelligent decision-making and automation. In particular, inclinometers contribute significantly by identifying changes in the orientation or inclination and finding integration into various smart home devices, offering unique features and automation possibilities. Examples of the application of inclinometers in smart homes encompass smart window coverings capable of dynamic adjustments based on the sun’s position, door and window sensors monitoring opening inclinations, pet care devices facilitating the monitoring of food or water levels, and smart appliances ensuring optimal inclination levels.
Unlike more expensive alternatives, low-cost inclinometers offer a cost-effective solution for expanding the array of monitoring elements, thereby supplying valuable data for home automation [57]. Examples of low-cost inclinometers for smart homes include the work of Wang et al. [58], who developed a screen-printed flexible radio frequency identification (RFID) sensor for measuring inclinations in smart home objects.
The workflow for developing an inclinometer-based system for smart home applications comprises the following steps: (1) data collection: inclinometers measure tilt angles and microcontrollers process the data; (2) communication: microcontrollers transmit inclinometer data to the central processing unit through wireless communication; (3) data processing: central processing unit interprets inclinometer data, and algorithms are used to determine if any actions need to be taken based on the tilt information; (4) automation: automation scripts execute actions such as adjusting devices or triggering alerts; and (5) user interaction: users can monitor inclinometer data and configure automation settings through a user interface. A summary of the key hardware and software components for the design of a smart house system using low-cost inclinometers is presented in Table 1.

1.3. Aim of the Paper and Structure

This paper introduces the development of a novel AI tool to improve the accuracy of low-cost monitoring MEMS accelerometers when employed as inclinometers. The proposed methodology leverages an AI-driven tool equipped with artificial neural networks to derive incline estimations from the input data collected by LARA, including rotations, temperature, and humidity readings. To do so, this AI tool undergoes supervised training using data from a high-precision inclinometer as a reference. The effectiveness and practicality of the developed methodology is demonstrated through an analysis of a real-world case study involving a steel frame located in Cuenca, Spain.
The remainder of this paper is structured as follows: Section 2 presents the research methodology followed in this work. Section 3 presents a detailed analysis of the main characteristics of the low-cost monitoring system LARA, including both its software and hardware. In Section 4, the AI tool developed to enhance the accuracy of the rotations acquired by LARA is detailed. In Section 5, the practical application of these tools to the case study is summarized. Finally, the main conclusions are drawn in Section 6.

2. Research Methodology

The primary objective of this study is to develop an AI-based tool designed to enhance the precision of inclination measurements taken using low-cost sensors. The system developed is tailored to integrate with the LARA low-cost monitoring system and complementary low-cost environmental sensors. To achieve this main goal, the research also defines the secondary objective of conducting an experimental investigation into the impact of environmental variables, particularly temperature and humidity, on the rotational behavior of a steel frame. To accomplish these objectives, the Design Science Research Method (DSRM) proposed by March and Smith [59] was employed.
This methodology was structured on the stages, activities, and deliverables presented in Figure 1, and it is summarized as follows:
  • Stage (i)—State-of-the-art review: This stage aims to identify gaps in the existing literature. Initially, this involves a systematic literature review of low-cost MEMS inclinometers. This is followed by an examination of how artificial intelligence tools can address the technical limitations of these devices. The literature reviews for this stage were conducted on Scopus and Web of Science, following the systematic approach proposed by Navarro et al. [60] and followed by Komary et al. [34]. Finally, the research methodology to be employed is defined. The outcomes of this stage encompass a summary of findings, the research objectives, and the customization of the research methodology. The results derived from this stage are included in both the Introduction and Section 2: “Research Methodology”.
  • Stage (ii)—Solution design: After defining the hardware and software components of LARA, this phase articulates the characteristics and design of the AI tools that will be employed to improve LARA’s measurement precision. The deliverables of this phase comprise the principal functionalities of LARA and the AI tool. This information is incorporated into Section 3: “Low-cost Adaptable Reliable Anglemeter (LARA)”, and 4: “Artificial Intelligence Tool”.
  • Stage (iii)—Case study: This phase involves developing an AI tool to improve LARA’s measurement accuracy within a case study. Initially, a case study is selected for analysis. Long-term monitoring of the structure is then conducted using both commercial inclinometers and LARA. Following this, the AI tool, designated as Intelligent (I)-LARA, is tailored to the specific dataset of the case study. The deliverables of this stage include the AI tool to enhance the accuracy of the monitoring information. These results are summarized in Section 5: “Case Study”.
  • Stage (iv)—Evaluation: This stage is designed to evaluate the enhancement of the accuracy obtained by the AI tool in the case study. To achieve this, the outputs of LARA and I-LARA are statistically analyzed and compared with the readings from the commercial accelerometer. These results are incorporated into Section 5: “Case Study” and Section 6: “Conclusions”.

3. Low-Cost Adaptable Reliable Anglemeter (LARA)

LARA, the acronym for Low-cost Adaptable Reliable Anglemeter, refers to a monitoring device designed to measure structural parameters (accelerations or inclinations). Unlike most low-cost accelerometers in the literature, LARA possesses a distinctive feature: it can be remotely configured to operate as either a triaxial accelerometer or inclinometer [44]. When functioning as an inclinometer, LARA utilizes the accelerometers along the X, Y, and Z axes to determine the orientation with respect to the gravitational force. It is important to mention that LARA is a calibrated low-cost inclinometer equipped with a complementary filter integrated into its Arduino code. The decision to employ a complementary filter was driven by the limitations of the Arduino platform, which lacks the capacity to incorporate a Kalman filter while maintaining an adequate data read frequency. This choice eliminates the need for a high-powered computational system typically required for Kalman filter calculations. As a result, LARA achieves a higher sampling frequency compared to when a Kalman filter is utilized [44]. The technical specifications of LARA working as an inclinometer are detailed in Table 2. The analysis of this table shows that as an inclinometer, LARA can reach a precision of up to 0.002° working in the static mode for a measurement range between 0 and 4°.
The application of LARA has been validated for the dynamic monitoring of bridges [61]. Subsequent sections offer detailed descriptions of LARA’s hardware and software. It should be noted that, even though LARA exhibits comparable accuracy to certain widely used commercial inclinometers in infrastructure monitoring, such as the HI-INC sensor [61], it falls short in terms of accuracy when compared to some highly precise commercial inclinometers like EL Tiltmeter SC [53], which comes with a high price of EUR 15,000 and a resolution approximately seven times better than that of LARA. To enhance the resolution of LARA beyond the already implemented signal processing tools and filters, such as the low-pass filter, this paper explores the local calibration of a low-cost inclinometer with a high-resolution one. The primary objective is to locally calibrate a few instrumented low-cost sensors rather than solely relying on high-resolution expensive sensors. This approach aims to reduce monitoring budgets, unlock the potential for long-term monitoring applications using affordable systems, and efficiently utilize the available economic resources.

3.1. LARA Hardware

This subsection provides a comprehensive overview of LARA’s key hardware features. LARA is presented in Figure 2a, and it consists of five precisely aligned and synchronized MPU9250 chipsets, complemented by a multiplexer (TCA9548A). Each MPU9250 chipset is equipped with an accelerometer, gyroscope, and magnetometer, enabling comprehensive data collection and analysis. LARA relies on a well-established methodology in which the signal outputs from multiple aligned and synchronized sensors are utilized to enhance the system’s precision and resolution [61]. This approach is rooted in the Signal-to-Noise Ratio (SNR) principle. By adopting this strategy, the primary signal of interest remains unaffected by the process of averaging the outputs from various dynamic sensors. In contrast, the intrinsic dynamic noises, sometimes referred to as intrinsic noise [62], of the sensors are mitigated as they are averaged across the combined sensors. As a result, smaller dynamic fluctuations, such as changes in acceleration or angular speed, become more discernible as the magnitude of these dynamic disturbances diminishes. To facilitate the programming and control of LARA, a cost-effective data conditioner, Arduino Due (Figure 2b), is employed. This device establishes a connection with LARA through the Inter-Integrated Circuit (I2C) communication port, ensuring a consistent sampling frequency and functioning as a vital data conditioner.
In the data acquisition process, a Raspberry Pi is utilized as an additional data conditioner. Its primary role is to capture the streamed data from both LARA and the Arduino Due, effectively storing this valuable data for further analysis and processing. Also, it adds the capability of the remote programming, control, and monitoring of the system (Figure 2c). It is important to emphasize that, despite the presence of an (I2C) communication port on the Raspberry Pi, removing the Arduino Due from this system is not feasible. This necessity arises from the fact that, during the system’s development, the Raspberry Pi was found to be incapable of maintaining a consistent sampling frequency. In contrast, the Arduino Due consistently exhibits excellent long-term performance by ensuring a steady sampling frequency without any fluctuations.

3.2. LARA Software

This subsection outlines the automated software procedures of LARA. This monitoring solution is designed as a user-friendly IoT-based sensor, simplifying the setup process. Once the sensor is installed on a structure, it only requires connection to a 5 V, 2.5 A battery or a power source through the Raspberry Pi adapter. Upon powering up, LARA commences data acquisition and transmits the collected data to a designated Google Drive account.
The automatic steps that LARA performs immediately upon boot-up are presented in Figure 3 and summarized as follows:
  • Startup: Upon power-up, LARA is preconfigured to establish an internet connection via Wi-Fi, LAN, or SIM Card, provided that the Wi-Fi credentials align with LARA’s preprogrammed settings.
  • Google Drive access: Once internet connectivity is established, LARA gains access to a predefined Google Drive repository.
  • Instructions: To initiate data acquisition, LARA downloads an open-source Python code from the designated Google Drive. This code is adaptable, allowing users to specify settings such as scheduled vibration acquisition and data acquisition duration without the need for reprogramming the Raspberry Pi directly.
  • Data acquisition: Upon completion of data acquisition, the acquired files are transferred to a dedicated folder on the connected Google Drive. This design ensures that LARA’s hard drive remains unburdened as long as an internet connection, via Wi-Fi or LAN, is maintained. Notably, if there is a loss of internet connectivity, the collected data will be retained on LARA’s local hard drive until the connection is restored. Additionally, the option to utilize external hard drives for expanded storage capacity is available.
  • Data postprocessing: At this stage, the acquired data from LARA undergo postprocessing, primarily aimed at estimating inclination based on the collected data. Additionally, this phase allows for the implementation of other programs or processes to enhance estimation resolution or perform specific calculations. This segment is adaptable and can be customized to meet the specific requirements of the monitoring application.
  • Internet of Things, IoT, update: Following the postprocessing stage, Python code is employed to transmit the estimated inclination and other computed parameters to an online IoT platform hosted on the Thingspeak website. It is worth mentioning that the Thingspeak platform is affiliated with MathWorks, the creators of MATLAB. Consequently, users can employ this platform to write custom code for further online processing and analysis of the monitored data of the channel. Notably, the channel on this platform can be either private or public. A public channel offers access to anyone with its web address, enabling them to monitor the ongoing monitoring process.
It is important to remain vigilant regarding potential issues or malfunctions related to the Raspberry Pi and its programmed functions. In such cases, rebooting LARA can often resolve unforeseen software glitches, including accelerometer unresponsiveness, Arduino connectivity issues, or restricted access to Google Drive. While LARA is designed for autonomous operation, manual rebooting or reprogramming can be executed remotely in emergency situations using the Visual Network Computing, VNC, viewer program.
It is crucial to emphasize that the utilization of AI tools for locally calibrating LARA is not intended to replace traditional signal processing tools and filters; rather, it serves as an additional layer complementing them. LARA has already benefitted from the ongoing research in novel signal processing tools and filters [32]. Laboratory experiments have demonstrated that these methods significantly enhance the accuracy and resolution of LARA [44], surpassing many commercial alternatives. However, recognizing the constant potential for improvement, this study concentrates on integrating an AI tool as an extra layer of signal processing, aiming to further unlock the potential and capabilities of LARA.
It should be noted that LARA itself incorporates two different techniques of signal filtering to enhance its estimation. The first is a low-pass filter [63], which maintains the inclination estimation from steady acceleration measurements while filtering out noise. Additionally, LARA benefits from a novel idea, in line with the Signal-to-Noise Ratio (SNR) law [62], as demonstrated through laboratory experiments by Komarizadeshasl et al. [61]. According to this law, the noise density of the averaged value of aligned and synchronized sensors is reduced by the square root of the number of synchronized sensors. In the case of LARA, it utilizes five aligned and synchronized sensors, leveraging this principle to reduce noise. This paper focuses on further improving the noise density, reducing the standard deviation of LARA, and enhancing its accuracy by incorporating artificial intelligence on top of its existing features.

4. Artificial Intelligence Tool

In this section, an artificial intelligence (AI) tool is developed to enhance the accuracy of LARA working as an inclinometer. Initially, the foundational principles of the Multilayer Perceptron (MLP) neural network employed are described. Subsequently, the architecture of the proposed MLP is detailed.

4.1. Multilayer Perceptron

Multilayer Perceptron (MLP) is a type of artificial neural network characterized by multiple neuron layers arranged in a sequential manner. This tool is characterized by its robustness and adaptability to learn complex patterns from a supervised learning process. Recent implementations of the MLP are exemplified by the work of Wang et al. [64], who employed this tool to predict the compressive strength of geopolymer concrete. Similarly, Nejati et al. [65] utilized an MLP to predict building thermal loads, while Martinez-Comesaña et al. [66] applied it to estimate the indoor environmental conditions of existing buildings.
The scikit-learn package, a versatile and user-friendly Python library, was used to develop the MLP. This package offers several significant advantages [67]. Firstly, it provides a consistent interface for machine learning models, making it easy to switch between algorithms and processes. Secondly, its comprehensive documentation and abundant examples foster a smooth learning curve for beginners and a quick reference for advanced users. Thirdly, scikit-learn is highly efficient, as it is based on optimized libraries for numerical computations. Additionally, it supports a wide range of supervised and unsupervised learning algorithms. Lastly, it has a thriving community and commercial support, ensuring continual improvements and updates to the library. These benefits have motivated the application of the scikit-learn library in a number of building applications. For example, Yan et al. [68] used this library to improve the energy consumption prediction models on buildings, and Buddhahai et al. [69] applied scikit-learn to analyze home energy disaggregation. Similarly, Chen et al. [70] utilized it for forecasting building thermal loads, while Hareuhansapong et al. [71] employed it for fault detection and diagnosis heating, ventilation, and air conditioning (HVAC) systems.

4.2. AI Architecture

The MLP model is designed to derive accuracy-enhanced values for the X-axis rotations of LARA. The main features of the input layer, hidden layers, activation functions, output layer, and the solver employed in the proposed MLP model are summarized as follows:
  • Input layer: The input layer comprises four neurons that represent the normalized data from low-cost on-site sensors. Specifically, it processes X-axis and Y-axis rotations measured by LARA, as well as temperature and relative humidity data obtained from the DHT22 sensor. This latter sensor has been extensively used in the literature for ambient monitoring, see, e.g., [30].
  • Activation functions: The Rectified Linear Activation Function (ReLU), sourced from the scikit-learn library, was selected for the activation function due to its simplicity and proven empirical efficacy. Recent examples of the application of this activation function in the literature include Gong et al. [72].
  • Output layer: The output layer comprises a single neuron that yields accuracy-enhanced measurements of LARA’s inclinations along the X-axis, named Intelligent (I)-LARA. This neuron undergoes supervised training using data from precise commercial sensors.
  • Solver: The “adam” solver from the scikit-learn library was selected for its demonstrated efficiency in managing datasets of substantial sizes.
A typical architecture of the proposed MLP is summarized in Figure 4. This architecture includes three hidden layers, denoted as i, j, and k, with m, n, and l hidden neurons, respectively.

5. Case Study: Steel Gable Frame

In this section, the geometry and key features of the case study are first described. Then, the monitoring program of the structure, encompassing the utilization of both commercial inclinometers and LARA, is detailed. Next, the application of the proposed AI tool is presented together with its enhanced monitored results, referred to as I-LARA. In addition, the enhanced results are compared with those of the commercial inclinometer. Finally, the application of the proposed IoT methodology to introduce the monitoring results of LARA and I-LARA into the BIM model of the structure is detailed.

5.1. Description of the Structure

The monitored case study corresponds with a steel gable frame. This structural element is located at the building of the Institute of Technology of the University of Castilla-La Mancha (UCLM) in the city of Cuenca, Spain. It consists of HEB 300 for the columns (6 m high) and IPE 400 for the beams (11.5 m long). The cloud points of this structure are presented in Figure 5a. This dataset served as the basis for creating the Building Information Model (BIM) of the steel gable frame depicted in Figure 5b. The creation of this model was carried out within Revit, aided by Autodesk ReCap software (Autodesk ReCap Pro 2024), achieving a Level of Development (LOD) of 300. The roof’s live loads are limited to sporadic maintenance tasks. It is crucial to emphasize that no maintenance activities were undertaken during the monitoring period, and the structural response of this structure was primarily driven by environmental parameters, such as temperature and humidity changes.

5.2. Monitoring Program

In this section, the main details and results of the monitoring program are summarized. Since its construction in 2008, the structure has been under continuous surveillance, aimed at examining the influence of environmental factors and foundation settlements. This extensive, ongoing monitoring initiative encompasses a network of 27 measurement points dedicated to monitoring soil water content, along with 4 inclinometers, 4 thermometers, a weather station, and 22 topographical leveling points. For a comprehensive overview of the sensor specifications, please consult the work by González-Arteaga et al. [73].
Among the installed monitoring solutions in this structure, special attention is given to those incorporated into the gable frame under study. These monitoring solutions are based on the uniaxial electrolytic sensor EL Tiltmeter SC [53], which also includes temperature measurement capabilities. Table 3 presents a summary of the key technical specifications for this device. The resolution of this device (0.00027°) is 7.4 times better than that reported by LARA (0.002°). Nevertheless, it is important to emphasize that achieving this level of accuracy in the commercial inclinometer comes at a considerably higher cost, EUR 15,000, which is 37.5 times higher than the price of LARA, at EUR 400 [49].
The commercial inclinometer was located at the connection between the beam and the column on the East façade, and it has captured data since October 2016 with a 15 min interval. It is worth emphasizing that the readings of this sensor cannot be accessed wirelessly; instead, they require manual extraction through a USB connection. Additionally, it should be noted that the sensor was directly powered by the building’s electrical supply.
The alternative monitoring implemented within this structure included the following two low-cost sensors: (1) LARA, employed to measure rotations across three axes (X, Y, and Z), and (2) DHT22, used to record environmental temperature and humidity data. These sensors were positioned at the same location as the commercial inclinometer. Figure 6 provides a visual representation of the low-cost sensors’ installation on-site, highlighting LARA’s rotational axes. It is important to highlight that the LARA’s X-axis rotations corresponded with those measured by the commercial inclinometer. The monitoring system included one Arduino Uno Board and one 4GB Raspberry Pi. This device might be used to control up to four LARAs.
The low-cost monitoring system collected data with the same measuring interval as the commercial inclinometer, starting from its installation on 10 January to 17 May 2023, with an interval of 15 min. Over this period, a total of 5790 datasets, including temperature, humidity, and rotations in the X and Y axes, were recorded and analyzed. The resulting measurements are visually represented in Figure 7, where Figure 7a denotes temperature, Figure 7b shows humidity, Figure 7c represents LARA X-axis’s rotations, and Figure 7d outlines LARA Y-axis’s rotations. The correlation between temperature, humidity, and Y-axis inclinations in relation to X-axis inclinations was studied using Pearson’s Correlation Coefficient (PCC). The obtained coefficients indicated a strong linear correlation for temperature (PCC = 0.86), a negative linear correlation for humidity (PCC = −0.44), a strong negative linear correlation for Y-axis inclinations (PCC = 0.76), and a moderate linear relationship with X-axis inclinations (PCC = 0.42).
Figure 8 presents a comparison of the inclinations obtained by LARA and the commercial accelerometer from 12 to 22 February 2023. This figure also includes the temperatures measured by the DHT22 sensor. The analysis of Figure 8 illustrates the considerable impact of temperature fluctuations on the monitored rotations. For instance, the rotations of the EL-Tiltmeter SC on 22 February shifted from 0.019° to −0.002° as the ambient temperature decreased from 21.1 °C to 12.2 °C. Although both sensors demonstrate similar trends in capturing the influence of temperature over time, LARA’s results present higher variations.
The standard deviation (SD) and the Mean Square Error (MSE) resulting from the comparative analysis between LARA’s readings and those of the commercial sensor were 0.023495 and 0.000556, respectively.

5.3. Intelligent LARA (I-LARA)

The monitoring data were randomly divided into three distinct sets: the training set, comprising 60% of the data; the holdout cross-validation data set, which included 20% of the data; and the test set, representing the remaining 20% of the data. The I-LARA algorithm was implemented on LARA’s Raspberry Pi to enable the automated computation of the values from the data monitored by low-cost sensors. The hyperparameters were determined through an experimental analysis of the model performance using cross-validation datasets.
The selected architecture for the MLP model included four input neurons, which encompassed X-axis and Y-axis rotation, humidity, and temperature, three hidden layers, each containing five neurons, and one output neuron, representing the enhanced X-axis rotation measurements, referred to as “I-LARA”. The network underwent supervised training using the rotations obtained from the commercial inclinometer. The initial learning rate and the epoch during the training process were fixed to 0.00001 and 100, respectively. The model variables for the considered MLP are listed in Table 4.
The network performance for various architectures is presented in Figure 9, which includes the Mean Squared Error (MSE) values obtained from the cross-validation dataset for different numbers of hidden layers (ranging from 1 to 10) and neurons (ranging from 1 to 6).
Figure 10 depicts a comparison of the X-axis rotations measured by LARA, I-LARA, and the commercial inclinometer across a set of 700 records randomly selected from the monitoring period for the test set. This figure is segmented into three parts: Figure 10a illustrates the comparison between LARA and the commercial inclinometer; Figure 10b presents the comparison between I-LARA and the commercial inclinometer; and Figure 10c shows the comparison among LARA, I-LARA, and the commercial inclinometer. For ease of visualization, the latter figure is arranged in ascending order of the values recorded by the commercial inclinometer. The analysis of these figures indicates that the implementation of the AI tool significantly reduces the Mean Squared Error (MSE) for I-LARA when compared to the commercial inclinometer, with the MSE reducing from 0.000556 to 2.10812 × 10−5. This reduction represents a reduction of 96.21% in the MSE between LARA and the commercial inclinometer. Furthermore, the comparison between I-LARA and the commercial inclinometer yielded a Root Mean Squared Error (RMSE) of 0.00459 and a Pearson’s correlation coefficient of 0.89.
Figure 11a illustrates the probability density function of the errors between LARA and the commercial inclinometer, superimposed with a corresponding normal distribution curve. Conversely, Figure 11b exhibits analogous results derived from the comparison between I-LARA and the commercial inclinometer. A comparison of these figures underscores the advantageous effects of employing the AI tool, as evidenced by the reduction in the standard deviation from 0.023495 to 0.004258. These results represent a reduction of 81.88% with respect to the original standard deviation measured between LARA and the commercial inclinometer. The standard deviation is especially interesting for this study as it provides a summary statistic that describes the amount of variation or dispersion within a dataset, and it provides a comparison of the spread of data between different datasets. It helps in determining which dataset has more variability or dispersion. It shows how tightly or loosely the data points are clustered around the mean, and I-LARA shows exceptional performance in terms of standard deviation.

6. Conclusions

While Micro Electro-Mechanical System (MEMS) accelerometer-based inclinometers offer cost-effective solutions for civil engineering and architectural applications, their precision might not reach that of high-cost commercial alternatives, potentially restringing their scope of use. To address this limitation, this work proposes the use of an artificial intelligence (AI) tool for calibrating the low-cost inclinometer LARA (Low-cost Adaptable Reliable Anglemeter). In this approach, a Multilayer Perceptron was trained with long-term monitoring data to improve the precision of LARA, enabling it to function as a high-accuracy inclinometer. The calibrated device delivers precise inclinations based solely on the structural and environmental data, particularly humidity and temperature, acquired from low-cost sensors.
The application of the proposed AI tool was exemplified through a real case study involving the long-term monitoring of a steel gable frame. The results of the analysis of this structure highlighted the effectiveness of the proposed tool, demonstrating its capacity to improve the accuracy of the rotations estimated by LARA under real environmental conditions, matching the precision of the commercial inclinometer used during the training. To enhance its applicability in the digital maintenance and operation of buildings, the proposed methodology will be further developed in future works, with the objective of establishing a seamless connection with smart homes and digital twins.

Author Contributions

Conceptualization, S.E. and S.K.; methodology, F.L., S.E. and S.K.; software, S.E., S.K. and F.L.; validation, Y.X., J.G.A., S.E., S.K. and F.L.; formal analysis, F.L., S.E. and S.K.; resources, J.G.A. and F.L.; writing—original draft preparation, F.L.; writing—review and editing, Y.X., J.G.A., S.E. and S.K.; visualization, F.L., S.E. and S.K.; supervision, Y.X. and J.G.A.; funding acquisition, Y.X. and F.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by FEDER, grant number PID2021-126405OB-C31 and PID2021-126405OB-C32—A Way to Make Europe and Spanish Ministry of Economy and Competitiveness MICIN/AEI/10.13039/501100011033/, National Natural Science Foundation of China (52278313), and a grant provided by the Polytechnic University of Catalonia with a reference of ALECTORS-2023.

Data Availability Statement

The datasets presented in this article are not readily available because the data are part of an ongoing study. Requests to access the datasets should be directed to [email protected].

Acknowledgments

The authors also extend their appreciation to the University of Castilla-La Mancha for providing facilities for the installation of sensors at the Institute of Technology, Construction, and Telecommunications (ITcT) in Cuenca.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Alaloul, W.S.; Liew, M.S.; Zawawi, N.A.W.A.; Kennedy, I.B. Industrial Revolution 4.0 in the construction industry: Challenges and opportunities for stakeholders. Ain Shams Eng. J. 2020, 11, 225–230. [Google Scholar] [CrossRef]
  2. Lozano, F.; Jurado, J.C.; Lozano-Galant, J.A.; de la Fuente, A.; Turmo, J. Integration of BIM and Value Model for Sustainability Assessment for application in bridge projects. Autom. Constr. 2023, 152, 104935. [Google Scholar] [CrossRef]
  3. Abioye, S.O.; Oyedele, L.O.; Akanbi, L.; Ajayi, A.; Davila Delgado, J.M.; Bilal, M.; Akinade, O.O.; Ahmed, A. Artificial intelligence in the construction industry: A review of present status, opportunities and future challenges. J. Build. Eng. 2021, 44, 103299. [Google Scholar] [CrossRef]
  4. Mai, H.V.T.; Nguyen, M.H.; Trinh, S.H.; Ly, H.B. Optimization of machine learning models for predicting the compressive strength of fiber-reinforced self-compacting concrete. Front. Struct. Civ. Eng. 2023, 17, 284–305. [Google Scholar] [CrossRef]
  5. Vadyala, S.R.; Betgeri, S.N.; Matthews, J.C.; Matthews, E. A review of physics-based machine learning in civil engineering. Results Eng. 2022, 13, 100316. [Google Scholar] [CrossRef]
  6. Javanmardi, R.; Ahmadi-Nedushan, B. Optimal design of double-layer barrel vaults using genetic and pattern search algorithms and optimized neural network as surrogate model. Front. Struct. Civ. Eng. 2023, 17, 378–395. [Google Scholar] [CrossRef]
  7. Jian, X.; Xia, Y.; Sun, S.; Sun, L. Integrating bridge influence surface and computer vision for bridge weigh-in-motion in complicated traffic scenarios. Struct. Control Health Monit. 2022, 29, e3066. [Google Scholar] [CrossRef]
  8. Kang, D.; Benipal, S.S.; Gopal, D.L.; Cha, Y.J. Hybrid pixel-level concrete crack segmentation and quantification across complex backgrounds using deep learning. Autom. Constr. 2020, 118, 103291. [Google Scholar] [CrossRef]
  9. Ocak, A.; Nigdeli, S.M.; Bekdaş, G.; Işıkdağ, Ü. Artificial Intelligence and Deep Learning in Civil Engineering. Hybrid Metaheuristics Struct. Eng. Stud. Syst. Decis. Control 2023, 480, 265–288. [Google Scholar]
  10. Akinosho, T.D.; Oyedele, L.O.; Bilal, M.; Ajayi, A.O.; Delgado, M.D.; Akinade, O.O.; Ahmed, A.A. Deep learning in the construction industry: A review of present status and future innovations. J. Build. Eng. 2020, 32, 101827. [Google Scholar] [CrossRef]
  11. Huang, Y.; Li, J.; Fu, J. Review on Application of Artificial Intelligence in Civil Engineering. CMES-Comp. Model. Eng. Sci. CMES 2019, 121, 845–875. [Google Scholar] [CrossRef]
  12. Lagaros, N.D.; Plevris, V. Artificial Intelligence (AI) Applied in Civil Engineering. Appl. Sci. 2022, 12, 7595. [Google Scholar] [CrossRef]
  13. Manzoor, B.; Othman, I.; Durdyev, S.; Ismail, S.; Wahab, M.H. Influence of Artificial Intelligence in Civil Engineering toward Sustainable Development—A Systematic Literature Review. Appl. Syst. Innov. 2021, 4, 52. [Google Scholar] [CrossRef]
  14. Dede, T.; Kankal, M.; Vosoughi, A.R.; Grzywiński, M.; Kripka, M. Artificial Intelligence Applications in Civil Engineering. Adv. Civ. Eng. 2019, 2019, 8384523. [Google Scholar] [CrossRef]
  15. Pan, Y.; Zhang, L. Roles of artificial intelligence in construction engineering and management: A critical review and future trends. Autom. Constr. 2021, 122, 103517. [Google Scholar] [CrossRef]
  16. Lu, P.; Chen, S.; Zheng, Y. Artificial Intelligence in Civil and Hydraulic Engineering. Math. Probl. Eng. 2012, 2012, 109229. [Google Scholar] [CrossRef]
  17. Momade, M.H.; Durdyev, S.; Estrella, D.; Ismail, S. Systematic review of application of artificial intelligence tools in architectural, engineering and construction. Front. Eng. Built Environ. 2021, 1, 203–216. [Google Scholar] [CrossRef]
  18. Bölek, B.; Tutal, O.; Özbaşaran, H. A Systematic review on artificial intelligence applications in architecture. DRArch. 2023, 4, 91–104. [Google Scholar] [CrossRef]
  19. Mishra, M.; Lourenço, P.B.; Ramana, G.V. Structural health monitoring of civil engineering Structures by using the internet of things: A review. J. Build. Eng. 2022, 48, 103954. [Google Scholar] [CrossRef]
  20. Sun, L.; Shang, Z.; Xia, Y.; Bhowmick, S.; Nagarajaiah, S. Review of Bridge Structural Health Monitoring Aided by Big Data and Artificial Intelligence: From Condition Assessment to Damage Detection. J. Struct. Eng. 2020, 146, 04020073. [Google Scholar] [CrossRef]
  21. Salehi, H.; Burgueño, R. Emerging artificial intelligence methods in structural engineering. Eng. Struct. 2018, 171, 170–189. [Google Scholar] [CrossRef]
  22. Tryner, J.; Phillips, M.; Quinn, C.; Neymark, G.; Wilson, A.; Jathar, S.H.; Carter, E.; Volckens, J. Design and testing of a low-cost sensor and sampling platform for indoor air quality. Build. Environ. 2021, 206, 108398. [Google Scholar] [CrossRef]
  23. Murphy, K.; Heery, B.; Sullivan, T.; Zhang, D.; Paludetti, L.; Lau, K.T.; Diamond, D.; Costa, E.; O’Connor, N.; Regan, F. A low-cost autonomous optical sensor for water quality monitoring. Talanta 2015, 132, 520–527. [Google Scholar] [CrossRef]
  24. Picaut, J.; Can, A.; Fortin, N.; Ardouin, J.; Lagrange, M. Low-Cost Sensors for Urban Noise Monitoring Networks—A Literature Review. Sensors 2020, 20, 2256. [Google Scholar] [CrossRef]
  25. Sakphrom, S.; Limpiti, T.; Funsian, K.; Chandhaket, S.; Haiges, R.; Thinsurat, K. Intelligent Medical System with Low-Cost Wearable Monitoring Devices to Measure Basic Vital Signals of Admitted Patients. Micromachines 2021, 12, 918. [Google Scholar] [CrossRef] [PubMed]
  26. Mittelbach, H.; Casini, F.; Lehner, I.; Teuling, A.J.; Seneviratne, S.I. Soil moisture monitoring for climate re-search: Evaluation of a low-cost sensor in the framework of the Swiss Soil Moisture Experiment (SwissSMEX) campaign. J. Geophys. Res. Atmos. 2011, 116, D5. [Google Scholar] [CrossRef]
  27. Pereira, P.F.; Ramos, N.M.M. Low-Cost Arduino-based remperature, relative humidity and CO2 sensors—An assessment of their suitability for indoor built environments. J. Build. Eng. 2022, 60, 105151. [Google Scholar] [CrossRef]
  28. Vega-Barbas, M.; Álvarez-Campana, M.; Rivera, D.; Sanz, M.; Berrocal, J. AFOROS: A Low-Cost Wi-Fi-Based Monitoring System for Estimating Occupancy of Public Spaces. Sensors 2021, 21, 3863. [Google Scholar] [CrossRef] [PubMed]
  29. Riaz, A.; Sarker, M.R.; Saad, M.H.M.; Mohamed, R. Review on Comparison of Different Energy Storage Technologies Used in Micro-Energy Harvesting, WSNs, Low-Cost Microelectronic Devices: Challenges and Recommendations. Sensors 2021, 21, 5041. [Google Scholar] [CrossRef] [PubMed]
  30. Mobaraki, B.; Castilla Pascual, F.J.; Lozano-Galant, F.; Lozano-Galant, J.A.; Porras Soriano, R. In Situ U-value measurement of building envelopes through continuous low-cost monitoring. Case Stud. Therm. Eng. 2023, 43, 102778. [Google Scholar] [CrossRef]
  31. Komarizadehasl, S.; Mobaraki, B.; Ma, H.; Lozano-Galant, J.A.; Turmo, J. Low-Cost Sensors Accuracy Study and Enhancement Strategy. Appl. Sci. 2022, 12, 3186. [Google Scholar] [CrossRef]
  32. Komarizadehasl, S.; Mobaraki, B.; Ma, H.; Lozano-Galant, J.-A.; Turmo, J. Development of a Low-Cost System for the Accurate Measurement of Structural Vibrations. Sensors 2021, 21, 6191. [Google Scholar] [CrossRef]
  33. Mobaraki, B.; Lozano-Galant, F.; Soriano, R.P.; Pascual, F.J.C. Application of Low-Cost Sensors for Building Monitoring: A Systematic Literature Review. Buildings 2021, 11, 336. [Google Scholar] [CrossRef]
  34. Komary, M.; Komarizadehasl, S.; Tošić, N.; Segura, I.; Lozano-Galant, J.A.; Turmo, J. Low-Cost Technologies Used in Corrosion Monitoring. Sensors 2023, 23, 1309. [Google Scholar] [CrossRef]
  35. Zhang, J.; Liu, D.; Liu, Z.; Mo, L.; Xiang, X.; Wang, Y. Rotational behavior of bolted post-to-beam glulam connections with friction damped knee brace. J. Build. Eng. 2023, 76, 107215. [Google Scholar] [CrossRef]
  36. Huseynov, F.; Kim, C.; OBrien, E.J.; Brownjohn, J.M.W.; Hester, D.; Chang, K.C. Bridge damage detection using rotation measurements—Experimental validation. Mech. Syst. Signal Process. 2020, 135, 106380. [Google Scholar] [CrossRef]
  37. Lei, J.; Lozano-Galant, J.A.; Xu, D.; Zhang, F.L.; Turmo, J. Robust Static Structural System Identification Using Rotations. Appl. Sci. 2021, 11, 9695. [Google Scholar] [CrossRef]
  38. Łuczak, S.; Oleksiuk, W.; Bodnicki, M. Sensing Tilt with MEMS Accelerometers. IEEE Sens. J. 2006, 6, 1669–1675. [Google Scholar] [CrossRef]
  39. Ha, D.W.; Park, H.S.; Choi, S.W.; Kim, Y. A Wireless MEMS-Based Inclinometer Sensor Node for Structural Health Monitoring. Sensors 2013, 13, 16090–16104. [Google Scholar] [CrossRef]
  40. Hoang, M.L.; Pietrosanto, A. A Robust Orientation System for Inclinometer with Full-Redundancy in Heavy Industry. IEEE Sens. J. 2021, 21, 5853–5860. [Google Scholar] [CrossRef]
  41. Ha, D.W.; Kim, J.M.; Kim, Y.; Park, H.S. Development and application of a wireless MEMS-based borehole inclinometer for automated measurement of ground movement. Autom. Constr. 2018, 87, 49–59. [Google Scholar] [CrossRef]
  42. Ruzza, G.; Guerriero, L.; Revellino, P.; Guadagno, F.M. A Multi-Module Fixed Inclinometer for Continuous Monitoring of Landslides: Design, Development, and Laboratory Testing. Sensors 2020, 20, 3318. [Google Scholar] [CrossRef] [PubMed]
  43. Yu, Y.; Ou, J.; Zhang, J.; Zhang, C.; Li, L. Development of Wireless MEMS Inclination Sensor System for Swing Monitoring of Large-Scale Hook Structures. IEEE Trans. Ind. Electron. 2009, 56, 1072–1078. [Google Scholar]
  44. Komarizadehasl, S.; Komary, M.; Alahmad, A.; Lozano-Galant, J.A.; Ramos, G.; Turmo, J. A Novel Wireless Low-Cost Inclinometer Made from Combining the Measurements of Multiple MEMS Gyroscopes and Accelerometers. Sensors 2022, 22, 5605. [Google Scholar] [CrossRef] [PubMed]
  45. Mumuni, F.; Mumuni, A. Adaptive Kalman filter for MEMS IMU data fusion using enhanced covariance scaling. Control Theory Technol. 2021, 19, 365–374. [Google Scholar] [CrossRef]
  46. Alfian, R.I.; Ma’Arif, A.; Sunardi, S. Noise Reduction in the Accelerometer and Gyroscope Sensor with the Kalman Filter Algo-rithm. J. Robot. Control 2021, 2, 180–189. [Google Scholar]
  47. Ghasemi-Moghadam, S.; Homaeinezhad, M.R. Attitude determination by combining arrays of MEMS accelerometers, gy-ros, and magnetometers via quaternion-based complementary filter. Int. J. Numer. Model. Electron. Netw. Devices Fields 2018, 31, e2282. [Google Scholar] [CrossRef]
  48. Podder, I.; Fischl, T.; Bub, U. Artificial Intelligence Applications for MEMS-Based Sensors and Manufacturing Process Optimization. Telecom 2023, 4, 165–197. [Google Scholar] [CrossRef]
  49. Guo, G.; Chai, B.; Cheng, R.; Wang, Y. Temperature Drift Compensation of a MEMS Accelerometer Based on DLSTM and ISSA. Sensors 2023, 23, 1809. [Google Scholar] [CrossRef]
  50. Qi, B.; Shi, S.; Zhao, L.; Cheng, J. A Novel Temperature Drift Error Precise Estimation Model for MEMS Accelerometers Using Microstructure Thermal Analysis. Micromachines 2022, 13, 835. [Google Scholar] [CrossRef]
  51. Pan, Y.; Li, L.; Ren, C.; Luo, H. Study on the compensation for a quartz accelerometer based on a wavelet neural network. Meas. Sci. Technol. 2010, 21, 105202. [Google Scholar] [CrossRef]
  52. Wang, S.; Zhu, W.; Shen, Y.; Ren, J.; Gu, H.; Wei, X. Temperature compensation for MEMS resonant accelerometer based on genetic algorithm optimized backpropagation neural network. Sens. Actuators Phys. 2020, 316, 112393. [Google Scholar] [CrossRef]
  53. EL Tiltmeter–DGSI. Available online: https://durhamgeo.com/products/el-tiltmeter/ (accessed on 14 September 2023).
  54. ACA2200-High Accuracy Digital Type Dual-Axis Inclinometer with Full Temperature Compensation SPECIFICATIONS. Available online: http://www.jca.kr/img_up/shop_pds/jcaauto3/product/aca2200t-canopenspecificationdownload.pdf (accessed on 14 September 2023).
  55. Hoang, M.L.; Pietrosanto, A. New Artificial Intelligence Approach to Inclination Measurement Based on MEMS Accelerometer. IEEE Trans. Artif. Intell. 2022, 3, 67–77. [Google Scholar] [CrossRef]
  56. Lertlakkhanakul, J.; Won, J.C.; Yun, M.K. Building data model and simulation platform for spatial interaction management in smart home. Autom. Constr. 2008, 17, 948–957. [Google Scholar] [CrossRef]
  57. Gazis, A. Smart Home IoT Sensors: Principles and Applications—A Review of Low-Cost and Low-Power Solutions. Int. J. Eng. Technol. Inform. 2021, 2, 19–23. [Google Scholar] [CrossRef]
  58. Wang, W.; Asci, C.; Zeng, W.; Sonkusale, S. Zero-power screen printed flexible RFID sensors for Smart Home. J. Ambient Intell. Hum. Comput. 2022, 14, 3995–4004. [Google Scholar] [CrossRef]
  59. March, S.T.; Smith, G.F. Design and natural science research on information technology. Decis. Support Syst. 1995, 15, 251–266. [Google Scholar] [CrossRef]
  60. Navarro, I.J.; Penadés-Plà, V.; Martínez-Muñoz, D.; Rempling, R.; Yepes, V. Life cycle sustainability assessment for multi-criteria decision making in bridge design: A review. J. Civ. Eng. Manag. 2020, 26, 690–704. [Google Scholar] [CrossRef]
  61. Komarizadehasl, S.; Huguenet, P.; Lozano, F.; Lozano-Galant, J.A.; Turmo, J. Operational and Analytical Modal Analysis of a Bridge Using Low-Cost Wireless Arduino-Based Accelerometers. Sensors 2022, 22, 9808. [Google Scholar] [CrossRef]
  62. Gnanasambandam, A.; Chan, S.H. Exposure-Referred Signal-To-Noise Ratio for Digital Image Sensors. IEEE Trans. Comput. Imaging 2022, 8, 561–575. [Google Scholar] [CrossRef]
  63. Faulkner, K.; Brownjohn, J.M.W.; Wang, Y.; Huseynov, F. Tracking bridge tilt behavior using sensor fusion techniques. J. Civ. Struct. Health Monit. 2020, 10, 543–555. [Google Scholar] [CrossRef]
  64. Wang, Q.; Qi, J.; Hosseini, S.; Rasekh, H.; Huang, J. ICA-LightGBM Algorithm for Predicting Compressive Strength of Geo-Polymer Concrete. Buildings 2023, 13, 2278. [Google Scholar] [CrossRef]
  65. Nejati, F.; Tahoori, N.; Sharifian, M.A.; Ghafari, A.; Nehdi, M.L. Estimating Heating Load in Residential Buildings Using Multi-Verse Optimizer, Self-Organizing Self-Adaptive, and Vortex Search Neural-Evolutionary Techniques. Buildings 2022, 12, 1328. [Google Scholar] [CrossRef]
  66. Martínez-Comesaña, M.; Ogando-Martínez, A.; Troncoso-Pastoriza, F.; López-Gómez, J.; Febrero-Garrido, L.; Granada-Álvarez, E. Use of optimised MLP neural networks for spatiotemporal estimation of indoor environmental conditions of existing buildings. Build. Environ. 2021, 205, 108243. [Google Scholar] [CrossRef]
  67. Hackeling, G. Mastering Machine Learning with Scikit-Learn, 1st ed.; Packt Publishing: New York, NY, USA, 2014; p. 238. [Google Scholar]
  68. Yang, H.; Ran, M.; Feng, H. Improved Data-Driven Building Daily Energy Consumption Prediction Models Based on Balance Point Temperature. Buildings 2023, 13, 1423. [Google Scholar] [CrossRef]
  69. Buddhahai, B.; Korkua, S.K.; Rakkwamsuk, P.; Makonin, S. A Design and Comparative Analysis of a Home Energy Disaggregation System Based on a Multi-Target Learning Framework. Buildings 2023, 13, 911. [Google Scholar] [CrossRef]
  70. Chen, Y.; Ye, Y.; Liu, J.; Zhang, L.; Li, W.; Mohtaram, S. Machine Learning Approach to Predict Building Thermal Load Considering Feature Variable Dimensions: An Office Building Case Study. Buildings 2023, 13, 312. [Google Scholar] [CrossRef]
  71. Haruehansapong, K.; Roungprom, W.; Kliangkhlao, M.; Yeranee, K.; Sahoh, B. Deep Learning-Driven Auto-mated Fault Detection and Diagnostics Based on a Contextual Environment: A Case Study of HVAC System. Buildings 2023, 13, 27. [Google Scholar] [CrossRef]
  72. Gong, Q.; Kang, W.; Fahroo, F. Approximation of compositional functions with ReLU neural networks. Syst. Control Lett. 2023, 175, 105508. [Google Scholar] [CrossRef]
  73. González-Arteaga, J.; Alonso, J.; Moya, M.; Merlo, O.; Navarro, V.; Yustres, Á. Long-term monitoring of the distribution of a building’s settlements: Sectorization and study of the underlying factors. Eng. Struct. 2020, 205, 110111. [Google Scholar] [CrossRef]
Figure 1. Research methodology based on the DSRM.
Figure 1. Research methodology based on the DSRM.
Buildings 14 00519 g001
Figure 2. LARA sensor and data acquisition equipment: (a) LARA PCB; (b) Arduino Due; (c) Raspberry Pi.
Figure 2. LARA sensor and data acquisition equipment: (a) LARA PCB; (b) Arduino Due; (c) Raspberry Pi.
Buildings 14 00519 g002
Figure 3. Flow of information in LARA software.
Figure 3. Flow of information in LARA software.
Buildings 14 00519 g003
Figure 4. Typical architecture of the proposed MLP.
Figure 4. Typical architecture of the proposed MLP.
Buildings 14 00519 g004
Figure 5. Monitored gable frame: (a) cloud points model; (b) BIM model in Revit.
Figure 5. Monitored gable frame: (a) cloud points model; (b) BIM model in Revit.
Buildings 14 00519 g005
Figure 6. Location of LARA in the case study, including the direction of the rotational axes X, Y, and Z.
Figure 6. Location of LARA in the case study, including the direction of the rotational axes X, Y, and Z.
Buildings 14 00519 g006
Figure 7. Dataset obtained by low-cost monitoring system: (a) DHT22 temperature; (b) DHT22 humidity; (c) LARA X-axis’; (d) LARA Y-axis’ rotations.
Figure 7. Dataset obtained by low-cost monitoring system: (a) DHT22 temperature; (b) DHT22 humidity; (c) LARA X-axis’; (d) LARA Y-axis’ rotations.
Buildings 14 00519 g007aBuildings 14 00519 g007b
Figure 8. Comparison of the rotations of LARA and EL Tiltmeter SC from 12 to 22 February 2023.
Figure 8. Comparison of the rotations of LARA and EL Tiltmeter SC from 12 to 22 February 2023.
Buildings 14 00519 g008
Figure 9. Analysis of the optimal number of hidden layers and neurons (nodes) in the MLP.
Figure 9. Analysis of the optimal number of hidden layers and neurons (nodes) in the MLP.
Buildings 14 00519 g009
Figure 10. Comparison between: (a) LARA and the commercial inclinometer; (b) I-LARA and the commercial inclinometer; (c) LARA, I-LARA, and the commercial inclinometer.
Figure 10. Comparison between: (a) LARA and the commercial inclinometer; (b) I-LARA and the commercial inclinometer; (c) LARA, I-LARA, and the commercial inclinometer.
Buildings 14 00519 g010aBuildings 14 00519 g010b
Figure 11. Probability density error with fitted normal distribution between: (a) LARA and EL Tiltmeter SC; (b) I-LARA and EL Tiltmeter SC.
Figure 11. Probability density error with fitted normal distribution between: (a) LARA and EL Tiltmeter SC; (b) I-LARA and EL Tiltmeter SC.
Buildings 14 00519 g011
Table 1. Hardware and software components for the application of low-cost inclinometers into smart homes.
Table 1. Hardware and software components for the application of low-cost inclinometers into smart homes.
Hardware ComponentsSoftware Components
Inclinometers:
-
Low-cost inclinometers to measure the tilt or inclination of surfaces
Inclinometer Data Processing:
-
Software to real and process from inclinometers
-
Algorithms to convert tilt angles into usable information
Microcontrollers:
-
Microcontrollers to interface with inclinometers and process data
-
Collects and sends inclinometer data to the central processing unit
Communication Protocol:
-
Defines how data are transmitted between inclinometers and the central hub
-
Ensures reliable and secure communication
Wireless Communication Module:
-
Allows communication between inclinometers and the central hub
-
Examples include Wi-Fi, Bluetooth, and Zigbee
Centralized Control System:
-
Software on the central processing unit to coordinate and manage the system
-
Stores and processes inclinometer data
-
Implements control logic for automation
Central Processing Unit (CPU):
-
Manages and processes data from inclinometers
-
Coordinates communication between different components
-
Executes control algorithms and automation scripts
User Interface:
-
Mobile apps or web interfaces for users to monitor inclinometer data and control automation settings
-
Provides a user-friendly experience for managing the system
Power Supply:
-
Batteries or power supply for inclinometers and microcontrollers
Automation Scripts:
-
Custom scripts or programs to automate actions based on inclinometer data
Table 2. Technical specifications of LARA working as an inclinometer.
Table 2. Technical specifications of LARA working as an inclinometer.
LARA Inclinometer
Measurement range0–4°
Static precisionUp to 0.002°
Dynamic precisionUp to 0.02°
Sampling rate333 Hz
Sensor typeTriaxial
Table 3. Technical features of the commercial inclinometer.
Table 3. Technical features of the commercial inclinometer.
EL Tiltmeter SC
Resolution and range1 arc second ± 40 arc minutes
Resolution thermometer30 × 10−5°
Temperature range[−20°, 50°]
Dimensions124 × 80 × 59 mm
Table 4. MLP model characteristics.
Table 4. MLP model characteristics.
CharacteristicsVariables
Input layer 4
Output layer1
Hidden layer3
Hidden neurons per layer5
Learning rate1 × 10−5
Epochs100
Activation functionReLU
SolverAdams
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.

Share and Cite

MDPI and ACS Style

Lozano, F.; Emadi, S.; Komarizadehasl, S.; Arteaga, J.G.; Xia, Y. Enhancing the Accuracy of Low-Cost Inclinometers with Artificial Intelligence. Buildings 2024, 14, 519. https://doi.org/10.3390/buildings14020519

AMA Style

Lozano F, Emadi S, Komarizadehasl S, Arteaga JG, Xia Y. Enhancing the Accuracy of Low-Cost Inclinometers with Artificial Intelligence. Buildings. 2024; 14(2):519. https://doi.org/10.3390/buildings14020519

Chicago/Turabian Style

Lozano, Fidel, Seyyedbehrad Emadi, Seyedmilad Komarizadehasl, Jesús González Arteaga, and Ye Xia. 2024. "Enhancing the Accuracy of Low-Cost Inclinometers with Artificial Intelligence" Buildings 14, no. 2: 519. https://doi.org/10.3390/buildings14020519

APA Style

Lozano, F., Emadi, S., Komarizadehasl, S., Arteaga, J. G., & Xia, Y. (2024). Enhancing the Accuracy of Low-Cost Inclinometers with Artificial Intelligence. Buildings, 14(2), 519. https://doi.org/10.3390/buildings14020519

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop