| Literature DB >> 35890854 |
Irene Niyonambaza Mihigo1, Marco Zennaro2, Alfred Uwitonze3, James Rwigema3, Marcelo Rovai4.
Abstract
A precise prediction of the health status of industrial equipment is of significant importance to determine its reliability and lifespan. This prediction provides users information that is useful in determining when to service, repair, or replace the unhealthy equipment's components. In the last decades, many works have been conducted on data-driven prognostic models to estimate the asset's remaining useful life. These models require updates on the novel happenings from regular diagnostics, otherwise, failure may happen before the estimated time due to different facts that may oblige rapid maintenance actions, including unexpected replacement. Adding to offline prognostic models, the continuous monitoring and prediction of remaining useful life can prevent failures, increase the useful lifespan through on-time maintenance actions, and reduce the unnecessary preventive maintenance and associated costs. This paper presents the ability of the two real-time tiny predictive analytics models: tiny long short-term memory (TinyLSTM) and sequential dense neural network (DNN). The model (TinyModel) from Edge Impulse is used to predict the remaining useful life of the equipment by considering the status of its different components. The equipment degradation insights were assessed through the real-time data gathered from operating equipment. To label our dataset, fuzzy logic based on the maintainer's expertise is used to generate maintenance priorities, which are later used to compute the actual remaining useful life. The predictive analytic models were developed and performed well, with an evaluation loss of 0.01 and 0.11, respectively, for the LSTM and model from Edge Impulse. Both models were converted into TinyModels for on-device deployment. Unseen data were used to simulate the deployment of both TinyModels. Conferring to the evaluation and deployment results, both TinyLSTM and TinyModel from Edge Impulse are powerful in real-time predictive maintenance, but the model from Edge Impulse is much easier in terms of development, conversion to Tiny version, and deployment.Entities:
Keywords: TinyModel; edge; equipment; maintenance actions; predictive maintenance; real-time data; remaining useful life
Mesh:
Year: 2022 PMID: 35890854 PMCID: PMC9317779 DOI: 10.3390/s22145174
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.847
Figure 1Strategic steps to build an Analytics TinyModel.
Figure 2Data acquisition process.
Dataset sample presentation.
| Temp. (°C ) | Vib. (mm/s) | Curr. A (mA) | Curr. B (mA) |
|---|---|---|---|
| 33.44 | 48 | 0.12 | 0.12 |
| 33.88 | 46 | 0.08 | 17.53 |
| 30.56 | 16 | 2.72 | 0.10 |
| 32.50 | 11 | 0.03 | 0.12 |
| 35.56 | 7 | 0.01 | 0.12 |
| 35.88 | 47 | 0.01 | 0.10 |
| 43.63 | 47 | 0.06 | 0.12 |
Figure 3Fuzzy inference system.
Figure 4Temperature variable.
Figure 5Vibration variable.
Figure 6Current (A) variable.
Figure 7Current (B) variable.
Figure 8Maintenance priority variables.
Labeled dataset.
| Temp. (°C ) | Vib. (mm/s) | Cur. A (mA) | Cur. B (mA) | M. Priority (0 to 1) | RUL (Days) |
|---|---|---|---|---|---|
| 89 | 12 | 2.53 | 17.65 | 0.90 | 1 |
| 47 | 6 | 6.07 | 0.01 | 0.86 | 2 |
| 34.81 | 12 | 4.89 | 0.12 | 0.86 | 3 |
| 44.88 | 6 | 2.79 | 0.03 | 0.86 | 4 |
| 31.44 | 9 | 5.21 | 0.15 | 0.86 | 5 |
| 33.75 | 0 | 3.56 | 0.11 | 0.86 | 6 |
| 26.87 | 0 | 0.1 | 15.45 | 0.89 | 7 |
| 28.25 | 50 | 0.13 | 0.05 | 0.86 | 8 |
| 38 | 7 | 0.13 | 0.12 | 0.38 | 9 |
| 34 | 6 | 0.11 | 0.11 | 0.31 | 10 |
| 37.88 | 8 | 0.1 | 0.12 | 0.38 | 11 |
| 30.31 | 0 | 0.1 | 0.12 | 0.15 | 12 |
| 30.31 | 10 | 0.1 | 0.12 | 0.15 | 13 |
| 29.25 | 0 | 0.08 | 0.12 | 0.13 | 14 |
| 29.25 | 0 | 0.08 | 0.11 | 0.13 | 15 |
| 29.25 | 0 | 0.13 | 0.1 | 0.13 | 16 |
| 28.44 | 0 | 0.1 | 0.11 | 0.13 | 17 |
| 25 | 0 | 0.13 | 0.33 | 0.12 | 18 |
| 28.5 | 0 | 0.03 | 0.32 | 0.13 | 19 |
| 28.5 | 0 | 0.13 | 0.11 | 0.13 | 20 |
| 30.19 | 10 | 0.1 | 0.11 | 0.15 | 21 |
| 30.18 | 9 | 0.11 | 18.2 | 0.89 | 22 |
Figure 9LSTM cell structure.
Figure 10LSTM model loss.
Model structure metrics and performance values.
| Parameters | Optimum Metrics’ Value |
|---|---|
| Model training dataset portion |
|
| Model evaluation dataset portion |
|
| Model Type | Sequential |
| LSTM layer | 32 neurons |
| Hidden Dense layer | 16 neurons |
| Dropout packaging | 0.2 |
| Output layer (Dense) | 1 neuron |
| Optimizer | Adam |
| Learning rate | 0.001 |
| Epoch | 5 |
| Performance metrics | MSE (Mean Square Error) and Coefficient of determination |
| Batch size | 16 |
| Time step window | 60 |
| Train MSE | 0.0295 |
| Test MSE | 0.01 |
|
| 0.77 |
Figure 11Actual versus predicted RUL.
Figure 12Data presentation in Edge Impulse.
Model parameter settings and neural network block architecture.
| Parameters | Specifications |
|---|---|
| Training Cycles | 10 Cycles |
| Training dataset | |
| Testing dataset | |
| Validation dataset (to be used during training) | |
| Learning rate | 0.005 |
| Activation | ReLu |
| Batch size | 32 |
| Epoch | 10 |
| Loss function | Mean Squared Error (MSE) |
| Model type | Sequential |
| Input layer | 4 features |
| Hidden Dense layer at first level | 20 neurons |
| Hidden Dense level at second level | 10 neurons |
| Output layer | 1 class (1 neuron—no Activation) |
Figure 13On Device Performance.
Figure 14Edge Impulse model testing results.
Figure 15Evaluation data presentation.
Figure 16TinyModel firmware for Arduino Nano BLE Sense.
Figure 17Deployment simulation results for TinyLSTM-Model.
Figure 18Deployment simulation results for TinyEI-Model.
Real-time data and predicted RUL.
| Temp. (°C ) | Vib. (mm/s) | Cur. A (mA) | Cur. B (mA) | Actual RUL (Days) |
|---|---|---|---|---|
| 50.56 | 45 | 0.14 | 17.97 | 1 |
| 54.31 | 25 | 2.63 | 0.01 | 1 |
| 54.31 | 55 | 2.65 | 0 | 1 |
| 55.13 | 127 | 2.71 | 18.07 | 1 |
| 47.69 | 50 | 0.14 | 18.09 | 1 |
| 41.44 | 42 | 0.14 | 18.23 | 1 |
| 37.88 | 48 | 0.14 | 18.12 | 1 |
| 36 | 70 | 0.14 | 18.06 | 1 |
Coding platform and data processing for LSTM and Model from EI.
| Element | For LSTM Model | For Model from Edge Impulse |
|---|---|---|
| Model building platform | TensorFlow | Edge Impulse |
| Free version of platform | No limitation on data size and training time but keep confirming the work in progress | Limited data size and training time |
| Library | Keras [ | Keras [ |
| Data preprocessing | In same platform | Out of Edge Impulse |
Model structure and performance metrics.
| Element | LSTM Model | Model from Edge Impulse |
|---|---|---|
| Model Type | Sequential | Sequential |
| Model structure | Based on Neural networks block | Based on Neural networks block. |
| Model build up | Customized by a developer | There is a proposal of standardized inbuilt model which could be customized. |
| Training time for same dataset | Long | Short |
| Regression performance metrics | To be defined by the developer | Defaulted as MSE and can be customized in Expert mode. |
| Outputs representation | Customized by the developer depending on the metrics to be presented | Defaulted and limited |
| Activation | To be defined and mostly ReLu for regression model (Keras standardized) | Defaulted as ReLu and can be customized in Expert mode |
| Ordinary model building simplicity | Depends on the experience of the developer | Standardized inbuilt model may perform well on the data and in case of improvement, it is easy even for less experienced developer |
| Regression output | Single Value | Class |
| Overfitting possibility | Much | Less |
| Model Train loss (MSE) | 0.0295 | 0.11 on validation dataset |
| Model Test loss (MSE) | 0.0092 | 0.11 |
| Model performance | Accuracy: |
TinyModel conversion and deployment.
| Element | LSTM Model | Model from Edge Impulse |
|---|---|---|
| Converting the ordinary model to TinyModel | Using TensorFlow Lite | Inbuilt conversion |
| TinyML device required memory | Not assumed | Both RAM and ROM (flash) memory are estimated for a given edge device. |
| Latency of the TinyModel on IoT device | Not assumed | Estimated by Edge Impulse platform. Latency equals to 1 ms in our case Cortex-M4F—64 MHz) |
| Microcontroller for edge deployment | On Choice: in this case Arduino Nano BLE Sense is chosen | On Choice: in this case Arduino Nano BLE Sense is chosen |