Next Article in Journal
The Effect of Augmented Reality on Students’ Learning Performance in Stem Education
Previous Article in Journal
Ensemble Deep Learning Models for Heart Disease Classification: A Case Study from Mexico
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Forecasting Appliances Failures: A Machine-Learning Approach to Predictive Maintenance

1
DETI, Universidade de Aveiro, 3810-193 Aveiro, Portugal
2
Instituto de Telecomunicações, Universidade de Aveiro, 3810-193 Aveiro, Portugal
*
Authors to whom correspondence should be addressed.
Submission received: 17 March 2020 / Revised: 1 April 2020 / Accepted: 8 April 2020 / Published: 14 April 2020
(This article belongs to the Special Issue Machine Learning for Big Data--Big Data Service 2019)

Abstract

:
Heating appliances consume approximately 48 % of the energy spent on household appliances every year. Furthermore, a malfunctioning device can increase the cost even further. Thus, there is a need to create methods that can identify the equipment’s malfunctions and eventual failures before they occur. This is only possible with a combination of data acquisition, analysis and prediction/forecast. This paper presents an infrastructure that supports the previously mentioned capabilities and was deployed for failure detection in boilers, making possible to forecast faults and errors. We also present our initial predictive maintenance models based on the collected data.

1. Introduction

The industrial world is being transformed into a technological and data-centric world, named Industry 4.0 [1]. Companies are investing in data analytics to improve efficiency, productivity, and reduce costs. One of the main advantages is failure prediction and root-cause analysis [2], making possible to reduce the resources (and time) dedicated to reactive repairs while reducing failure events on critical equipment. An equipment failure, and subsequent reparation, can occur into a high expense to the company. As such, there is a strong need for Predictive Maintenance (PdM) solutions [3], especially addressing the prevention of component failure, with impact in production quality and client satisfaction (among many other factors). Therefore, predictive maintenance refers to the ability to forecast failures, ensuring that important operations are not disrupted as actions can be taken to prevent them. This is common practice for critical scenarios (military, aviation, power plants), and has been introduced to a wider range of products.
Despite the existence of several approaches to deal and implement PdM systems, such solutions generally fail at combining the acquisition, processing and predictive parts as a single platform. Therefore, in this work, we propose an efficient Big Data Service that can be instantiated for several PdM scenarios and environments. In particular, the presented system emerges from the “Smart Green Homes” (http://www.ua.pt/smartgreenhomes/) project, whose main goal is to develop a platform capable of dealing with the massive amount of data produced by the Industry 4.0 and provide a unified framework to acquire, store and analyse the data and extract relevant knowledge.
Our final application target consists of identifying and predicting failures on a Heating, Ventilation, and Air-Conditioning (HVAC) system, specifically in boilers and heat pumps. For this purpose, we acquired and analysed real data from thousands of devices, operating at customer premises, over a wide range of product lines and scenarios. This work evolves from previous contributions [4], in which the identification of outliers through batch-processing and classification algorithms failed at providing enough information to tackle this problem. We note that since our main goal was to predict failures in real time, there was a need to develop a computational infrastructure allowing automatic data processing.
Based on this, the main contributions of this work are the following. First, we developed a framework capable of acquiring, storing and processing the necessary data from several heating appliances, which contains device operational data. Moreover, we developed methods to analyse and predict equipment failure based on the previously mentioned data. It is important to notice that we are considering real data and, consequently, it is more frequent to find normal operation than failure states. As such, we have to deal with an unbalanced dataset as the frequency of outliers is lower than the normal states (standard operation), creating a bias in the classification algorithms which have a preference on the most common classes. The collected dataset is also quite complex, we acquired several alphanumeric features from multiple devices running different firmware versions. Therefore, an important part of the presented work must deal with data normalisation and the development of techniques that can be applied to multivariate time-series data.
This paper is organised as follows. Section 2 presents the state of the art of current solutions relevant to this work. In Section 3 we describe our solution for data acquisition and storage. In Section 4 we study the application of machine learning models to predict failures on the HVAC data. The results of our models are described in Section 5. Finally, we conclude in Section 6.

2. Related Work

The implementation of PdM solutions needs to take into account key aspects, such as the underlying scenario, the performance key indicators, and the metrics that should be defined to measure them [5]. Besides those, some other aspects are important to build an efficient PdM system, such as forecasting the key indicators, enabling institutions to make decisions according to the upcoming problems [6].
The PdM system requires the identification of the input variables, a target application, and the model that creates a relationship between them. After the development of the model, it is possible to obtain results that will be analysed and validated to make decisions that can help with the evaluation and optimisation of the overall system. This evaluation is very important for the analysis of the system reliability since companies build PdM solutions to reduce costs, and thus, the system should be economical and low risk.
It is important to evaluate the amount and quality of the available data. The existence of large amounts of data may require the application of reducing and normalisation methods. Another common issue is the lack of information about the target application, which will affect the relationship between the application and the inputs.
To mitigate these common issues, it is necessary to build a practical and comprehensible system that offers technologies with large storage capacity and speed of interaction [7].
An effective PdM solution is composed of the following key blocks (as depicted in Figure 1). The Data Source (such as sensors, where data is created) is the input block. Data Acquisition is responsible for the connection between data sources and the remaining architecture. Moreover, it is useful to keep the acquired data, as such a Data Storage block is used to store all the data. To bridge the Data Storage block with upper blocks, a Data Processing block is used [8]. Furthermore, a Data Mining block is implemented (as one of the upper blocks) to ( i ) identify key features on data and ( i i ) learn the relation between those features (input variables) and the target application. Finally, the other upper block, which interacts with the application user, is the Data visualisation block that shows important information about the application and the obtained predictions [9].
After the validation of the PdM solution, it is possible to integrate it with Quality Control systems. The PdM results are then used to control the applications and provide an extra maintenance indicator to the Quality Control systems [10]. This interaction can be helpful for the construction of systems that require notifications for detected faults and interaction with the application users such as the one presented in this paper.

3. SCoT—Smart Cloud of Things

SCoT (Smart Cloud of Things) is an evolution from a previous solution, APOLLO [11], which aims to develop a generic platform for integration of Internet of Things (IoT) scenarios, with integration in Telecom networks. Therefore, it considers aspects related to network, device management, services, and applications.
The SCoT platform should enhance resource optimisation and provide a flexible platform for massive and dynamic IoT scenarios. One way to improve resource optimisation is through a careful division of the platform into micro-services that can be deployed into containers. The proposed solution has the following advantages:
  • Distributed architecture—Implementing a multi-node distributed platform which allows distributing workloads evenly among other available machines and making it fault-tolerant by keeping track of the cluster’s health.
  • Service replication with load balancing—The implementation allows creating copies of the same service and distributing traffic through these copies aiming to maximise the performance;
  • Easier to scale infrastructure and applications—This type of implementation facilitates the way scaling operations of either the cluster or the services of an application are handled, allowing a near-zero downtime when updating services or when scaling the actual cluster;
  • Automatic deployment of the platform infrastructure with the application—Create a mechanism that allows deploying the platform with the application facilitating future testing or developing scenarios.
The platform architecture is depicted in Figure 2, and it is based on 3 key services: Hono, Ditto and Kapua. Eclipse Hono (https://www.eclipse.org/hono/) is an Internet of Things (IoT) suite that enables connecting a large number of IoT devices using a major set of services capable of handling different protocols used in the IoT world such as MQTT, AMQP, HTTP or CoAP. Hono collects telemetry data from these devices and discloses it through an API, this suite is based on containers and provides support for a wide range of container orchestration environments.
Eclipse Ditto (https://www.eclipse.org/ditto/) implements a software pattern called “digital twins”. A digital twin is a virtual, cloud-based, representation of his real-world counterpart (real-world “Things”, e.g., sensors and actuators). The technology mirrors potentially millions and billions of digital twins residing in the digital world with physical “Things”. This simplifies developing IoT solutions for software developers as they do not need to know how or where exactly the physical “Things” are connected. With Ditto, a “thing” can just be used as any other web service via its digital twin. As with Hono, Ditto is based on containers and provides support for a wide range of container orchestration environments.
Eclipse Kapua (https://www.eclipse.org/kapua/) is a modular integration platform for IoT devices and smart sensors that aims at bridging Operation Technology with Information Technology. Eclipse Kapua focuses on providing comprehensive management of edge IoT nodes including their connectivity, configuration, and application life cycle. In short, this component is responsible for the device management, registration and authentication.
In addition to the previously detailed services, other services need to be included to enrich the platform. These include a Data Gateway that connects to several databases and a broker.
As stated in [12] due to the inherent complexity of IoT scenarios it is quite difficult to have a single database model to store all the information and still provide meaningful structure for Data Processing components. For that reason, instead of sticking with a single database model, we developed a Data gateway that transforms the data and stores it accordingly in the instantiated databases. In our implementation, we used 3 different databases: Apache Cassandra, PostgreSQL and InfluxDB. Each one of them is a mature representation of NoSQL, Relational and Time-Series databases, respectively. Depending on the specific scenarios, data can be consumed from any of the available databases. Furthermore, we also instantiated a RabbitMQ broker to provide real-time access to the data stream.
The Data Gateway is one of the most important services in the redesigned architecture. It bridges the Hono communication framework with the Data Storage and a real-time broker. We designed this service to be capable of scaling vertically and horizontally, as depicted in Figure 3. The Gateway has a queue for each database backend, where multiple workers consume messages and store them into the respective database (horizontal scaling). Furthermore, there can be more than one gateway instantiated, as well as more than one worker per database per gateway, achieving vertical scalability.
The schema of the Relational and NoSQL databases was based on previous work [13]. The InfluxDB has a unique internal structure, to develop a generic store method we had to develop a recursive flat parser. The parser can flatten any JSON document. The flattened JSON is then parsed into individual components and inserted into the InfluxDB as individual streams.

4. Predictive Maintenance Models

In the previous section we described the platform that we developed to acquire the data from heating appliances. Given the data collected by the proposed application, we are now interested in developing a predictive model using machine learning to apply to it. The details of our experiments are provided below.

4.1. Problem Setting

Formally, given the heating appliances logs obtained so far, our aim is to predict a boiler malfunction and possible failure, within up to 7 days before it occurs. This is a relevant problem as it allows the industrial companies to take preventive measures to ensure the correct function of the appliance. A corrective measure can be a remote configuration of the appliance to send an expert to repair the boiler before it enters a critical state and stops working.

4.2. Data

As previously exposed, our dataset contains boilers operation values. These boilers, whose main function is to supply hot water to the customers, are installed in their houses. The data was collected for 16 months including information from 1000 appliances of ten different models. Nonetheless, given that some of the appliances only had information about one-month minimum, we considered a subset of around three consecutive complete months of data in this study.
Each boiler has sensors collecting data such as temperature, number of boiler starts, number of heating requests and duration of each cycle. In particular, the boiler state at a given timestamp is characterized by 91 features, including the level of malfunction at the current timestamp (which may be either none, light or severe). Two consecutive timestamps are spaced by at least a millisecond. Moreover, the appliances are programmed to send the values of a given feature if it changes, which leads to the existence of gaps in the data logs, as illustrated in Table 1: at time 07:42:44.404 the values of PrimT and ChNoSart are updated but no value is registered for the variable BurnNoStart; in such case, for the latter feature, the value at time 07:42:44.404 is assumed to be the last value registered (1558.0). An example of the PrimT log with missing values is shown in Figure 4.
It is worth mentioning that among the data subset considered, around 90.8 % of the logs are associated with boilers working correctly (with no malfunction), while 8.8 % are associated with light faults and only 0.4 % are associated with severe faults, which are the most relevant type of faults as they require technical assistance to be solved.

Data Pre-processing

Before defining our model, we had to pre-process the data by taking into account that:
  • values were missing in the logs;
  • in most of the cases, there was a log for each boiler at each millisecond, leading to a huge amount of data, which does not necessarily provide meaningful information;
  • the data must be re-shaped into supervised problem data format, i.e., for each log, we should set a fault class according to our problem setting;
  • different features may assume a different scale of values;
  • the number of features in the data was extremely large, which may compromise the learning speed and quality of the model.
Based on this, we started by applying an imputation procedure to fill the missing values. In our scenario, a missing value was set to the last value registered in such feature.
Given the filled version of the dataset, we aggregated the logs of each boiler by consecutive and non-overlapping periods of 10 min. We chose this time granularity to reduce the amount of data to process without compromising the quality of the data. We note that by considering 10 min intervals, we expect not to lose too much variability in the data.
Since we are dealing with supervised learning, we had to re-organise the data into observations and corresponding target classes. In our case, the target of a given observation is the worst level of malfunction observed in the following 7 days. In particular, there are three possible levels of malfunction: ( i ) no fault (which means that the boiler is working correctly), ( i i ) light fault (which means that the boiler is not working correctly but the problem can be solved by resorting to the appliance documentation) and ( i i i ) severe fault (which means that the boiler stopped working and technical assistance is required). Thus, if a severe fault occurred between days t + 1 and t + 7 , then the target of such observation was set to the severe fault class. Otherwise, if a light fault occurred between days t + 1 and t + 7 , then the corresponding target was set to the light fault class. The target of the observation was only set to no fault class if no faults were observed in the following week. Moreover, the data was split in the conventional 70 % of samples for training, 10 % for validation and 20 % for testing, and each feature was scaled to have zero mean and unit variance.
Finally, given the large number of features in the data, it is expected that some of them are not useful/meaningful to our task and consequently should not be considered. Therefore, we applied feature selection strategies to find the most relevant features. In particular, we applied a random forest classifier to our data to find the set of features that are most influential on the malfunction/fault types [14]. According to this method, around 75 % of the features are not relevant to our classification problem and therefore we discarded them from our dataset.
This process is summarised in Figure 5.

4.3. Models

Since the logs of a boiler may be regarded as a multivariate time-series and the current state of a given boiler is expected to be related with the following states, then considering each 10 min states separately (that is, without accounting for their temporal sequential component) may lead to loss of information.
To tackle this issue, we considered a time-aware learning model for our problem. In particular, we considered a Long Short-term Memory (LSTM) [15], a recurrent neural network architecture, designed to deal with sequential data. In our setting, we feed a sequence of 1-day boiler logs to the LSTM to predict if the corresponding boiler will fail in the next 7 days.
In particular, for each boiler, first we aggregated (sequentially) the logs by day so that we obtained matrices whose row i is the log of the boiler at the i th 10 min interval of the given day (this process is illustrated in Figure 6 (left)). Such data was used as input for the L S T M 0 model. Additionally, to assess the impact of the temporal information in the model, we considered multiple distinct “augmented” training sets. In particular, for a given boiler, besides a training observation for day d and another for day d + 1 , we considered more training observations per pair of consecutive days in the dataset. These observations were generated by considering samples with information from two consecutive days. Thus, in L S T M 1 , for each boiler, we added a training sample containing the last 12 h of day d and the first 12 h of the following day, d + 1 (this process is illustrated in Figure 6 (right)). The training datasets generated for L S T M 2 , L S T M 3 , L S T M 4 models were generated similarly, with the difference that instead of considering only a training sample overlapping each pair of consecutive days, we considered 2,3 and 4 distinct samples, respectively. Based on this, we can think of L S T M 0 as a model operating in a sliding window with no overlap, while L S T M i (with i { 1 , 2 , 3 , 4 } ) operates in a sliding window with overlap. In both settings, a window length of 144 observations of 10 min (1 day) is considered.
As a term of comparison, we also considered less complex and time-agnostic classifiers, namely a random stratified classifier, a random tree classifier and neural networks. For these models, the input was set to a single 10 min observation. Moreover, since neural networks are strongly affected by the class imbalance [16], we considered two settings: the traditional neuronal network (NN) and a sample weighted neuronal network (weighted NN) in which the error of each sample is weighted according to the frequency of their class in the dataset—the least the frequency of the target class, the largest the weight assigned to the corresponding observation.
Regarding the architecture of the network-based models, we considered varying architectures of 1, 2 or 3 hidden layers and 15, 25, 50 neurons. We note that more complex models were studied but no gain was observed and consequently, for simplicity, we did not consider them in this work.

4.4. Evaluation Metrics

Since we are dealing with an imbalanced dataset, we analysed the predictions quality for each of the tree classes. In particular, we computed the precision and recall for each of the classes. The precision of the model in class i is computed as:
p r e c i s i o n i = T P i T P i + F P i ,
and the corresponding recall is computed as:
r e c a l l i = T P i T P i + F N i ,
where T P i is the number of test observations correctly classified as class i, F P i is the number of test observations incorrectly assigned to the class i and F N i is number of test observations of the class i, incorrectly assigned by the model to another class. In our scenario the classes are { n o f a u l t ,   l i g h t f a u l t ,   s e v e r e f a u l t } .
To have a unified perspective of the precision and recall values, we also considered the f1-score, which is computed for each class i { n o f a u l t ,   l i g h t f a u l t ,   s e v e r e f a u l t } as:
f 1 i = 2 p r e c i s i o n i × r e c a l l i p r e c i s i o n i + r e c a l l i
Finally, we also considered 3 global metrics: accuracy, macro f1-score and Mathews Correlation Coefficient (MCC) [17]. We computed the global accuracy as:
a c c u r a c y = T P n o f a u l t + T P l i g h t f a u l t + T P s e v e r e f a u l t N ,
where N is the total number of samples in the test set. The macro f1-score is given by:
m a c r o _ f 1 = f 1 n o f a u l t + f 1 l i g h t f a u l t + f 1 s e v e r e f a u l t 3 ,
MCC is computed by resorting to the confusion matrix (CM), in which C M ( i , j ) is the number of test samples of class i assigned to class j. In more detail, given a problem of K classes, MCC is computed as:
M C C = i , j , k = 1 K C M ( i , i ) C M ( k , j ) - C M ( j , i ) C M ( i , k ) i = 1 K ( j = 1 K C M ( j , i ) ) × k , l = 1 , k i K C M ( l , k ) × i = 1 K ( j = 1 K C M ( i , j ) ) × k , l = 1 , k i K C M ( k , l )
It should be noted that all but MCC metrics range from 0 to 1. In MCC the value can range from 1 to 1. In all the metrics considered, the higher the value, the better the predictor.

5. Results

A complete list of results is provided in Table A1. As it would be expected [18], there was no model or architecture outperforming the other in all the evaluation metrics considered. Nonetheless, we observed some patterns, which we describe as follows (see Table 2).
From a global perspective, the models exhibiting the best performance were the L S T M 2 with 3 hidden layers of 50 neurons and the L S T M 3 with 1 hidden layer of 25 neurons. In more detail, such L S T M 2 exhibited the best accuracy and macro f1-score while the L S T M 3 exhibited the best macro f1-score and MCC. By taking a closer look at the class-wise performance of these two predictors we observed that despite their similar performance in terms of macro f1-score, their predictions substantially differed. In L S T M 2 , we further analysed the confusion matrix and verified that the model mostly assigned the “no-fault” class to 95 % of the test samples, thus leading to a good accuracy resulting from correctly identifying the “no-fault” class. On the other hand, the L S T M 3 exhibited a more balanced class assignment, being able to precisely identify 5 % of the “severe fault” samples (the best precision obtained in these experiments).
Moreover, we observed that in terms of macro f1-score and MCC there were predictors exhibiting poorer performance than random (mostly the weighted NN models and some LSTMs).
In a micro level analysis, we observed that most of the models exhibited worse performance than random when predicting the severe fault class (these results enhance the difficulty of the problem addressed). Possibly because of its simplicity, the random tree was not sufficient to distinguish the classes, exhibiting worse performance than random also in the light fault class samples. With respect to the weighted NNs, when compared with the NN models, we still obtained poor precision in the light and severe classes. However, there was a substantial recall improvement in such classes.
Predicting severe faults
As previously exposed, from the manufacturer point of view, the severe faults are the most important to predict because only such faults require assistance. Therefore, it is not much relevant if the model is not able to distinguish a no-fault state from a light fault state. In this context, a model should minimise the number of false severe faults flagged (in which the company would send assistance without the need for it, leading to unnecessary costs) and maximise the number of true severe faults flagged (which would allow the intervention of a technician before the fault occurs, so that the boiler of the client is down the least time possible).
With these concerns in mind, we analysed the prediction quality indicators for such class in more detail and verified that most of the models exhibited near zero precision and recall. Nonetheless, there were some exceptions in the LTSM models, in which we were able to obtain higher precision (as it was the case of L S T M 3 and L S T M 4 with 1 hidden layer of 25 neurons) or higher recall (as it was the case of L S T M 0 with 2 layers of 25 neurons, which also exhibited the highest f1-score).
General Observations
In general, the predictions quality was only slightly better than random for the severe fault class, with some LTSMs outperforming the remaining models. Since the LSTMs were the only method exploiting the temporal component of the data, these results suggest that time-awareness may be a key aspect in order to the model succeed, and should be considered in the further improvements.
To be able to obtain a stronger predictor in the future, we should also focus on what may have compromised the predictors quality. In particular, we should take into account that:
  • The prediction in one week advance is a very hard problem, as it may occur that there might not be enough indicators that the boiler will fail in so much time in advance. This issue is worsened by the fact that we are considering that the fault may occur at any time during the next week.
  • The time granularity may also have compromised the model performance. A deeper analysis on the variability of the data so that we can maximise the time span of single time stamp (without losing too much variability) should be carried out.
  • A subset of 3 months may not be enough. It may be beneficial to consider a larger time period even if we must discard some boilers, which do not have logs for such a long period.

6. Conclusions

As previously mentioned, heating appliance optimisation is a critical scenario for several companies. In this work, we propose a predictive maintenance system devised for heating, ventilation, and air-conditioning monitoring and optimisation. In this context, our work has two main contributions.
First, the definition and development of an IoT platform devised for large-scale data acquisition, storing and processing. The platform is based on independent services that are deployed as containers in a private cloud. The introduced solution allows users to integrate several sources and obtain relevant information only by connecting their sensors.
Second, an initial analysis of predictive maintenance models over the data collected by the previously mentioned platform was carried out.We explored several machine learning models and data configurations with the objective of forecasting faults within up to 7 days before it occurs. Although the models require some tuning, the results point that the time relations between individual operational values are more relevant that the values itself. It is important to mention that the dataset is highly unbalanced, and that creates a natural bias.
Finally, as future research, we will continue to work on the acquired data and optimise our prediction models to achieve higher values of accuracy. These results will be presented in future publications.

Author Contributions

Conceptualization, S.F., A.R.S. and M.A; software, S.F. and A.R.S.; validation, S.F. and M.A.; data curation, S.F. and A.R.S.; writing–review and editing, S.F., M.A., J.P.B., D.G. and R.L.A. All authors have read and agree to the published version of the manuscript.

Funding

This work was funded by FCT/MEC through national funds under the grant PTDC/EEI-TEL/30685/2017.

Acknowledgments

The dataset was acquired from the Smart Green Homes project [POCI-01-0247-FEDER-007678], a co-promotion between Bosch Termotecnologia S.A. and the University of Aveiro.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

Throughout these manuscripts, we used the following abbreviations:
HVACHeating, Ventilation, and Air-Conditioning
IoTInternet of Things
LSTMLong Short-term Memory
MCCMatthews correlation coefficient
NNNeural Network
PdMPredictive Maintenance
SCoTSmart Cloud of Things

Appendix A. Dataset Prediction Results

Table A1. Complete results from the fault prediction model. The following abbreviations were used. Hlayer, p, r, f1 and Acc stand for hidden layers, precision, recall, f1-score and accuracy, respectively.
Table A1. Complete results from the fault prediction model. The following abbreviations were used. Hlayer, p, r, f1 and Acc stand for hidden layers, precision, recall, f1-score and accuracy, respectively.
ModelArchitectureNo FaultLight FaultSevere Fault
HlayersNeuronsPRF1PRF1PRF1AccMacro F1MCC
Dummy (stratified)//0.910.810.860.090.180.1200.010.010.750.330
Decision Tree//0.90.850.870.030.060.040000.770.3−0.08
NN1150.920.860.890.120.160.1400.0100.790.340.05
250.910.790.850.10.220.130.010.020.010.740.330.02
500.910.820.860.090.160.1200.0100.760.330.01
2150.910.850.880.10.160.130000.790.340.02
250.910.890.90.10.120.110.030.010.010.820.340.01
500.910.820.860.080.140.10000.760.32−0.02
3150.910.820.860.090.190.130000.760.330.01
250.910.80.850.10.210.1300.0100.740.330.01
500.910.80.850.090.190.120000.740.320
Weighted NN1150.890.260.40.080.560.1400.10.010.280.18−0.03
250.890.280.420.090.530.1500.120.010.30.19−0.02
500.90.390.550.090.490.1400.070.010.40.23−0.02
2150.890.360.510.080.50.1400.050.010.370.22−0.03
250.890.490.630.070.360.1200.0200.480.25−0.04
500.90.430.570.090.480.1500.050.010.430.25−0.02
3150.890.280.420.080.540.1400.10.010.30.19−0.03
250.890.460.610.080.40.1300.0200.460.25−0.05
500.90.530.670.080.350.1300.0100.510.27−0.03
L S T M 0 1150.920.830.870.130.250.170.010.010.010.770.350.06
250.920.850.890.160.280.210000.80.360.11
500.930.840.880.170.360.230000.790.370.14
2150.910.790.850.110.260.150000.740.330.04
250.930.690.790.120.420.180.020.070.030.660.340.09
500.930.840.880.190.390.250000.80.380.16
3150.920.850.890.150.280.20000.80.360.1
250.930.70.80.140.50.210000.680.340.12
500.930.810.860.160.390.230000.770.360.14
L S T M 1 1150.930.730.820.130.430.20000.70.340.1
250.930.830.880.180.380.240000.790.370.15
500.930.640.760.120.520.20.020.010.010.630.320.1
2150.920.660.770.120.470.190000.640.320.07
250.920.80.860.140.340.20000.760.350.1
500.920.770.840.120.340.180000.730.340.07
3150.920.860.890.130.220.160000.80.350.06
250.930.810.870.160.390.230000.770.370.14
500.930.760.840.150.430.220000.730.350.12
L S T M 2 1150.930.650.760.110.470.180000.630.320.07
250.940.730.820.150.510.240000.710.350.15
500.940.620.750.130.590.210000.620.320.12
2150.930.840.880.170.340.230.050.010.020.790.370.13
250.930.640.760.120.530.20000.630.320.1
500.930.760.840.150.450.230000.730.350.13
3150.920.750.830.130.390.190000.720.340.09
250.930.740.820.150.470.220000.710.350.13
500.920.970.940.350.190.250000.890.40.2
L S T M 3 1150.920.550.690.10.530.170000.550.280.04
250.930.890.910.240.350.280.050.010.020.840.40.21
500.930.810.860.150.340.210.020.010.010.760.360.11
2150.920.530.670.10.560.180000.530.280.05
250.910.370.530.090.630.150000.390.230
500.940.560.70.120.610.20000.560.30.1
3150.930.490.640.110.640.180000.50.270.07
250.930.840.880.190.40.260000.80.380.17
500.930.40.560.10.710.180000.420.250.06
L S T M 4 1150.920.470.620.090.560.160000.480.260.02
250.930.690.790.130.480.20.050.010.020.670.340.11
500.930.70.80.140.50.220.010.010.010.680.340.12
2150.930.50.640.10.60.180000.50.270.06
250.920.560.70.110.540.180000.560.280.06
500.940.50.650.120.710.210000.510.280.12
3150.930.490.640.110.630.180000.50.280.07
250.920.520.670.10.550.170000.520.280.04
500.940.550.690.120.640.20000.550.30.11

References

  1. Muhuri, P.K.; Shukla, A.K.; Abraham, A. Industry 4.0: A bibliometric analysis and detailed overview. Eng. Appl. Artif. Intell. 2019, 78, 218–235. [Google Scholar] [CrossRef]
  2. Reis, M.; Gins, G. Industrial Process Monitoring in the Big Data/Industry 4.0 Era: From Detection, to Diagnosis, to Prognosis. Processes 2017, 5, 35. [Google Scholar] [CrossRef] [Green Version]
  3. Carvalho, T.P.; Soares, F.A.A.M.N.; Vita, R.; Francisco, R.d.P.; Basto, J.P.; Alcalá, S.G.S. A systematic literature review of machine learning methods applied to predictive maintenance. Comput. Ind. Eng. 2019, 137, 106024. [Google Scholar] [CrossRef]
  4. Ribeiro, J.; Antunes, M.; Gomes, D.; Aguiar, R.L. Outlier Identification in Multivariate Time Series: Boilers Case Study. In Proceedings of the International Conference on Time Series and Forecasting (ITISE), Granada, Spain, 19–21 September 2018. [Google Scholar]
  5. Satta, R.; Cavallari, S.; Pomponi, E.; Grasselli, D.; Picheo, D.; Annis, C. A dissimilarity-based approach to predictive maintenance with application to HVAC systems. arXiv 2017, arXiv:1701.03633. [Google Scholar]
  6. Groba, C.; Cech, S.; Rosenthal, F.; Gossling, A. Architecture of a Predictive Maintenance Framework. In Proceedings of the 6th International Conference on Computer Information Systems and Industrial Management Applications (CISIM’07), Minneapolis, MN, USA, 28–30 June 2007. [Google Scholar] [CrossRef]
  7. Tan, C.M.; Raghavan, N. A framework to practical predictive maintenance modeling for multi-state systems. Reliab. Eng. Syst. Saf. 2008, 93, 1138–1150. [Google Scholar] [CrossRef]
  8. Dhall, R.; Solanki, V.K. An IoT Based Predictive Connected Car Maintenance Approach. Int. J. Interact. Multimed. Artif. Intell. 2017, 4, 16. [Google Scholar] [CrossRef] [Green Version]
  9. Canizo, M.; Onieva, E.; Conde, A.; Charramendieta, S.; Trujillo, S. Real-time predictive maintenance for wind turbines using Big Data frameworks. In Proceedings of the 2017 IEEE International Conference on Prognostics and Health Management (ICPHM), Dallas, TX, USA, 19–21 June 2017. [Google Scholar] [CrossRef] [Green Version]
  10. Lindström, J.; Larsson, H.; Jonsson, M.; Lejon, E. Towards Intelligent and Sustainable Production: Combining and Integrating Online Predictive Maintenance and Continuous Quality Control. Procedia CIRP 2017, 63, 443–448. [Google Scholar] [CrossRef]
  11. Antunes, M.; Barraca, J.P.; Gomes, D.; Oliveira, P.; Aguiar, R.L. Smart Cloud of Things: An Evolved IoT Platform for Telco Providers. J. Ambient. Wirel. Commun. Smart Environ. (AMBIENTCOM) 2016, 1, 1–24. [Google Scholar] [CrossRef] [Green Version]
  12. Cai, H.; Xu, B.; Jiang, L.; Vasilakos, A.V. IoT-Based Big Data Storage Systems in Cloud Computing: Perspectives and Challenges. IEEE Internet Things J. 2017, 4, 75–87. [Google Scholar] [CrossRef]
  13. Antunes, M.; Gomes, D.; Aguiar, R.L. Scalable semantic aware context storage. Future Gener. Comput. Syst. 2015, 56, 675–683. [Google Scholar] [CrossRef] [Green Version]
  14. Saeys, Y.; Abeel, T.; Van de Peer, Y. Robust feature selection using ensemble feature selection techniques. In Joint European Conference on Machine Learning and Knowledge Discovery in Databases; Springer: Berlin/Heidelberg, Geramny, 2008; pp. 313–325. [Google Scholar]
  15. Hochreiter, S.; Schmidhuber, J. Long short-term memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar] [CrossRef] [PubMed]
  16. Japkowicz, N.; Stephen, S. The class imbalance problem: A systematic study. Intell. Data Anal. 2002, 6, 429–449. [Google Scholar] [CrossRef]
  17. Gorodkin, J. Comparing two K-category assignments by a K-category correlation coefficient. Comput. Biol. Chem. 2004, 28, 367–374. [Google Scholar] [CrossRef] [PubMed]
  18. Wolpert, D.H.; Macready, W.G. No free lunch theorems for optimization. IEEE Trans. Evol. Comput. 1997, 1, 67–82. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Key blocks that compose a Predictive Maintenance solution.
Figure 1. Key blocks that compose a Predictive Maintenance solution.
Information 11 00208 g001
Figure 2. SCoT’s architecture, an IoT platform designed to support dynamic and large-scale IoT scenarios.
Figure 2. SCoT’s architecture, an IoT platform designed to support dynamic and large-scale IoT scenarios.
Information 11 00208 g002
Figure 3. High level architecture of the Data Gateway service.
Figure 3. High level architecture of the Data Gateway service.
Information 11 00208 g003
Figure 4. Example of an incomplete data log.
Figure 4. Example of an incomplete data log.
Information 11 00208 g004
Figure 5. Schematic illustration of the data flow.
Figure 5. Schematic illustration of the data flow.
Information 11 00208 g005
Figure 6. Illustration process for obtaining the training inputs for the L S T M 1 model: for a given boiler, the 10 minute feature logs of the same day are aggregated into a matrix which is used as input; additionally, for each pair of consecutive days, a sample containing information of both days is also included (this sample is highlighted in blue in the figure).
Figure 6. Illustration process for obtaining the training inputs for the L S T M 1 model: for a given boiler, the 10 minute feature logs of the same day are aggregated into a matrix which is used as input; additionally, for each pair of consecutive days, a sample containing information of both days is also included (this sample is highlighted in blue in the figure).
Information 11 00208 g006
Table 1. Illustration of a log with missing data.
Table 1. Illustration of a log with missing data.
TimePrimTChNoStartBurnNoStart
07:42:44.304 1558.0
07:42:44.40423.7155.0
07:42:44.504 156.0
07:42:44.60423.8 1559.0
07:42:44.704 155.01561.0
Table 2. Summary of the results from the fault prediction model. The following abbreviations were used: Hlayer, P, R, f1 and Acc stand for hidden layers, precision, recall, f1-score and accuracy, respectively.
Table 2. Summary of the results from the fault prediction model. The following abbreviations were used: Hlayer, P, R, f1 and Acc stand for hidden layers, precision, recall, f1-score and accuracy, respectively.
ModelArchitectureNo FaultLight FaultSevere Fault
HlayersNeuronsPRF1PRF1PRF1AccMacro F1MCC
Dummy (stratified)//0.910.810.860.090.180.1200.010.010.750.330
Decision Tree//0.90.850.870.030.060.040000.770.3−0.08
NN1150.920.860.890.120.160.1400.0100.790.340.05
Weighted NN2500.90.430.570.090.480.1500.050.010.430.25−0.02
L S T M 0 2250.930.690.790.120.420.180.020.070.030.660.340.09
L S T M 1 1250.930.830.880.180.380.240000.790.370.15
L S T M 2 3500.920.970.940.350.190.250000.890.40.2
L S T M 3 1250.930.890.910.240.350.280.050.010.020.840.40.21
L S T M 4 1250.930.690.790.130.480.20.050.010.020.670.340.11

Share and Cite

MDPI and ACS Style

Fernandes, S.; Antunes, M.; Santiago, A.R.; Barraca, J.P.; Gomes, D.; Aguiar, R.L. Forecasting Appliances Failures: A Machine-Learning Approach to Predictive Maintenance. Information 2020, 11, 208. https://0-doi-org.brum.beds.ac.uk/10.3390/info11040208

AMA Style

Fernandes S, Antunes M, Santiago AR, Barraca JP, Gomes D, Aguiar RL. Forecasting Appliances Failures: A Machine-Learning Approach to Predictive Maintenance. Information. 2020; 11(4):208. https://0-doi-org.brum.beds.ac.uk/10.3390/info11040208

Chicago/Turabian Style

Fernandes, Sofia, Mário Antunes, Ana Rita Santiago, João Paulo Barraca, Diogo Gomes, and Rui L. Aguiar. 2020. "Forecasting Appliances Failures: A Machine-Learning Approach to Predictive Maintenance" Information 11, no. 4: 208. https://0-doi-org.brum.beds.ac.uk/10.3390/info11040208

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