USE CASE

INDUSTRIAL MACHINERY

ANOMALY DETECTION

CATEGORY

Shapelets

CATEGORY

Shapelets

CATEGORY

Shapelets

 CATEGORY

  Use Case

 DATE

  22 June

 TIME

   05 Minutes

Anomalies detection for predictive maintenance in industrial equipment 

 

The sensitization of mechanical and industrial proceses is gradually increasing. This is mainly due to the availability and cost reduction of sensors, and widespread use of networks.  

This provides plant managers with more frequent and more detailed information about the current state of the equipment and the process itself. Hence, it allows a greater degree of control over the quality of an industrial process, its resulting products as well as the health of the machine used.  

 

USE CASE

By Adrián Carrio (Lead Data Scientist at Shapelets)

In this use case, we explore how Shapelets accelerated platform can be used to create a benchmark of anomaly detection algorithms, in order to find a powerful anomaly detection solution. We will use historical data collected from a temperature sensor from an internal component of a large industrial machine.  

This use case serves as a true example for predictive maintenance in industrial equipment and it applies to any industrial machinery.  

 

The Challenge

The main challenge solved with this Data App is the construction of a benchmark of anomaly detection algorithms, implemented in different python libraries, in order to find a powerful anomaly detection solution for one of the annotated time series in the Numenta Anomaly Benchmark (NAB).  

Methodology

We cover the following steps to build the solution data app. 

Step 1: An exploratory data analysis (EDA)  

Step 2: Comparing seven anomaly detection algorithms.

Step 3: Modelapplication, visualization and comparisonofresults and anomalies

This initial analysis found that the original data had duplicate data points, which had to be removed from the analysis.  

Additionally, the case itself comes with some other complex issues, such as anomalies and duplicated data points that do not seem to follow predictable patterns, and evaluate algorithms implemented in different libraries. 

Finally, we need to build visualizations that easily help understand the performance of anomaly detection. 

Metrics

For this project, we chose to use simpler metrics in order to allow for a broader range of algorithms to be effectively compared: missed alarm rate, false alarm rate, recall, and execution time. 

Algorithms 

We have compared seven anomaly detection algorithms in the benchmark 

Hotelling’s T2  

One-class SV  

iForest algorithm  

Local outlier factor    

Changefinder algorithm  

Matrix profile   

Standard deviation filter  

These algorithms have been compared using the aforementioned metrics. The results obtained using the available data with each of the models provides us with all the informaiton needed to choose the best model.

Synthesized Resolution  

The starting point is a dataset that covers the past three months of temperature readings from an internal component of a large, expensive industrial machine. Our objective is to be able to predict the four abnormal periods indicated in blue below. By identifying these anomalies, we can take appropriate action before any damage or negative impact occurs on the industrial process. 

The seven different methods, along with the metrics, are evaluated for their ability to detect anomalies and their speed. 
The study found that the best and simplest method is ”sigma”, a standard deviation filter. The results obtained by this detector are described in the below figure, where detected anomalies are shown in green, false negatives in red, and false alarms in yellow.  

With a sufficient large number of false positives (an alarm is triggered every time the temperature drops below 65 or above 100 degrees Celsius), three of the four anomalies are preempted by the algorithm, and in only one of them it takes 4% of the duration of an anomaly perior (2 days) to trigger the alarm, indicating that the system could be safely used for predictive maintenance. 

Results

The following key results have been derived from the development of this use case:  

Detection of an error and duplicated data points.  

It takes 1 second to extract all the anomalies from more than 22k data points in the dataset 

The “Sigma” method providedmissed alarm rate of 39% and a false alarm rate of 6%. 

How does Shapelets help solve this challenge? 

A) Shapelets provides an improved visualization, processing and storing data streamed at near real-time rates from sensors 

B) An integrated benchmark that feeds from different libraries and frameworks.  

C) Enhanced development and customization within one platform. 

In this use case specifically, Shapelets helps in executing a comparison of anomaly detectionmodels from different libraries or frameworks and producing and integrated benchmark with the purpose of selecting the best solution.  

As a result, this data app allows us to present an accurate predictive maintenance plan to detect anomalies in the sensor data to prevent machinery failures.  

Consequently, this use case serves as a starting point to develop a solution that can be used to detect anomalies in an online setup. It presents a suitable anomaly detection method to obtain reasonable performance, given the little and uncontextualized data available, which are simply temperature values. 

 

 

Now it’s your turn to use this study to develop you own solution. What are you waiting for? 

If you have any questions or would like some business guidance, you may contact us here. 

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners. View more
Cookies settings
Accept
Privacy & Cookie policy
Privacy & Cookies policy
Cookie name Active
We use cookies on our website. These are small files that your browser will create automatically and that are stored on your end device (laptop, tablet, Smartphone or similar) when you visit our website. Cookies do not cause any damage to your end device, contain no viruses, Trojans or other harmful software. The cookie is used to store information that results from the respective context of the specifically used end device. However, this shall not mean that we directly gain knowledge of your identity this way. Use of cookies serves to make use of our offer more pleasant for you. We use session cookies in order to recognise that you have visited individual pages of our website before. They will be deleted automatically after you leave our website. Furthermore, we also use temporary cookies to optimise user friendliness, which are stored on your end device for a certain specified period. When you visit our website again in order to use our services, it will be automatically recognised that you have visited us before and which input and settings you have made so that you will not have to enter them again. On the other hand, we use cookies in order to statistically record use of our website and to evaluate it for the purpose of optimising our offer to you (see section 5). These cookies enable us to recognise that you have visited us before if you visit our website again. These cookies are deleted automatically after two years in each case. The data processed by cookies are required for the purpose of maintaining our legitimate interests and those of third parties according to Article 6(1)(1)(f) GDPR. Most browsers accept cookies automatically. You may, however, configure your browser so that no cookies will be stored on your computer or that you will always be informed before a new cookie is set up. Complete deactivation of cookies may, however, render you unable to use all functions of our website.
Save settings
Cookies settings