Skip to main content

Anomaly Detection Using Edge Computing AI on Low Powered Devices

  • Conference paper
  • First Online:
Artificial Intelligence Applications and Innovations (AIAI 2022)

Abstract

In the industrial environment, maintaining a permanent good state of functioning for every piece of equipment has a substantial importance. This, however, is very difficult to attain, due to the mechanical wear, the environment of operation, or improper usage. Predictive maintenance is a practice that is performed to determine the condition of the machinery in service and estimate the time when the maintenance should occur. The challenge of detecting a possible fault in a piece of equipment before it occurs is one of the main tasks of the predictive maintenance process. Reading data from sensors and creating firmware that monitors the equipment can be time and resource-consuming, and not practical if the equipment is changed frequently. Nowadays, the computational power of Artificial Intelligence exceeds that of a computer. As the industrial equipment and the hardware components of a conventional computer are getting increasingly expensive and demanded, more and more entities are running Machine Learning algorithms, which make the data exchange with a server that runs this service a more feasible process. This approach poses several challenges due to latency, privacy, bandwidth, and network connectivity. To solve these limitations, computation should be moved as much as possible towards the Edge, directly on the devices that gather the data. In this article, we propose a compact and low-powered solution that is accurate and small enough to be fitted on a microcontroller or a device that runs on the Edge. This approach ensures that a minimum amount of resources are used. The solution consists of an Unsupervised learning algorithm that can detect anomalies in the vibration patterns of the bearings or the casing of industrial motors. It uses an Autoencoder that takes as input the median absolute deviation of each measurement set provided by an accelerometer, then with the help of a classifier compares the values provided by the output to values that are known to be normal vibration patterns and decides if it deals with an anomaly or not. The low-powered Edge device is an ESP32 board that consumes only 160 mAh on full load but also being powerful enough to maintain WiFi and Bluetooth capabilities when needed. On a more economical operating mode, without WiFi and Bluetooth capabilities it can consume as low as 3 mAh [1]. This feature and the fact that the board is connected directly to the data-gathering sensor makes it preferable to an algorithm hosted on a remote server or a local machine due to low resource consumption and easy maintainability. The Autoencoder is fitted on this board and runs continuously until it encounters an anomaly, which in turn provokes an alert to the user.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 119.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 159.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 159.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Cloud computing - statistics on the use by enterprises. https://ec.europa.eu/eurostat/statistics-explained/index.php?title=Cloud_computing_-_statistics_on_the_use_by_enterprises#Use_of_cloud_computing:_highlights

  2. Fahim, M., Sillitti, A.: Anomaly detection, analysis and prediction techniques in IoT environment: a systematic literature review. IEEE Access 7, 81664–81681 (2019). https://doi.org/10.1109/ACCESS.2019.2921912

    Article  Google Scholar 

  3. Huang, H., et al.: Digital twin-driven online anomaly detection for an automation system based on edge intelligence. J. Manuf. Syst. 59, 138–150 (2021)

    Article  Google Scholar 

  4. Finke, T., Krämer, M., Morandini, A., et al.: Autoencoders for unsupervised anomaly detection in high energy physics. J. High Energ. Phys. 2021, 161 (2021). https://doi.org/10.1007/JHEP06(2021)161

    Article  Google Scholar 

  5. Gohel, H.A., et al.: Predictive maintenance architecture development for nuclear infrastructure using machine learning. Nucl. Eng. Technol. 52(7), 1436–1442 (2020)

    Article  Google Scholar 

  6. Antonini, M., Vecchio, M., Antonelli, F., Ducange, P., Perera, C.: Smart audio sensors in the internet of things edge for anomaly detection. IEEE Access 6, 67594–67610 (2018). https://doi.org/10.1109/ACCESS.2018.2877523

    Article  Google Scholar 

  7. Fu, S., Zhong, S., Lin, L., Zhao, M.: A re-optimized deep auto-encoder for gas turbine unsupervised anomaly detection. Eng. Appl. Artif. Intell. 101, 104199 (2021). https://doi.org/10.1016/j.engappai.2021.104199. https://www.sciencedirect.com/science/article/pii/S0952197621000464. ISSN 0952-1976

  8. Lee, K., Kim, J.-K., Kim, J., Hur, K., Kim, H.: CNN and GRU combination scheme for bearing anomaly detection in rotating machinery health monitoring. In: 2018 1st IEEE International Conference on Knowledge Innovation and Invention (ICKII), pp. 102–105 (2018). https://doi.org/10.1109/ICKII.2018.8569155

  9. Mobley, R.K.: An Introduction to Predictive Maintenance (2002)

    Google Scholar 

  10. Mehmeti, Xh., Mehmeti, B., Sejdiu, Rr.: The equipment maintenance management in manufacturing enterprises. IFAC-PapersOnLine 51(30), 800–802 (2018). https://doi.org/10.1016/j.ifacol.2018.11.192. ISSN 2405-8963

  11. Burton, B., Harley, R.G.: Reducing the computational demands of continually online-trained artificial neural networks for system identification and control of fast processes. IEEE Trans. Ind. Appl. 34(3), 589–596 (1998). https://doi.org/10.1109/28.673730

    Article  Google Scholar 

  12. Saad, O.M., Chen, Y.: Deep denoising autoencoder for seismic random noise attenuation. Geophysics 85(4), V367–V376 (2020). https://doi.org/10.1190/geo2019-0468.1

    Article  Google Scholar 

  13. Leite, N.M.N., Pereira, E.T., Gurjão, E.C., Veloso, L.R.: Deep convolutional autoencoder for EEG noise filtering. In: IEEE International Conference on Bioinformatics and Biomedicine (BIBM) 2018, pp. 2605–2612 (2018). https://doi.org/10.1109/BIBM.2018.8621080

  14. Lee, J., Qiu, H., Yu, G., Lin, J.: Rexnord Technical Services: IMS, University of Cincinnati. “Bearing Data Set”, NASA Ames Prognostics Data Repository. NASA Ames Research Center, Moffett Field, CA (2007). http://ti.arc.nasa.gov/project/prognostic-data-repository

  15. Leys, C., Klein, O., Bernard, P., Licata, L.: Detecting outliers: do not use standard deviation around the mean, use absolute deviation around the median. J. Exp. Soc. Psychol. 49(4), 764–766 (2013). https://doi.org/10.1016/j.jesp.2013.03.013. https://www.sciencedirect.com/science/article/pii/S0022103113000668. ISSN 0022-1031

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Dragoș-Vasile Bratu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 IFIP International Federation for Information Processing

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Bratu, DV., Ilinoiu, R.Ş.T., Cristea, A., Zolya, MA., Moraru, SA. (2022). Anomaly Detection Using Edge Computing AI on Low Powered Devices. In: Maglogiannis, I., Iliadis, L., Macintyre, J., Cortez, P. (eds) Artificial Intelligence Applications and Innovations. AIAI 2022. IFIP Advances in Information and Communication Technology, vol 646. Springer, Cham. https://doi.org/10.1007/978-3-031-08333-4_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-08333-4_8

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-08332-7

  • Online ISBN: 978-3-031-08333-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics