Skip to main content

Real-Time Image Analysis with Neural Networks on Industrial Controllers for Individualized Production

  • Conference paper
  • First Online:
Service Oriented, Holonic and Multi-agent Manufacturing Systems for Industry of the Future (SOHOMA 2021)

Abstract

Manufacturing systems for individualized production require workflows depending on individual objects. Machine learning (ML) offers the possibility to classify different objects by training a neural network. Depending on the output values of the network, decisions for the following production step can then be controlled. The question arises whether it is possible to execute the neural network in real time in coordination with the machine and motion control tasks. In this paper, this question is investigated using a programmable logic controller (PLC) runtime environment on a standard industrial PC. The execution times of different neural network implementation methods are measured and compared. The fastest neural network requires an average execution time of only 54 µs. The characteristics of the different methods with respect to training and implementing the neural networks in the controller are also discussed.

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 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 249.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

Notes

  1. 1.

    It should be emphasized that results shown above apply to an industrial controller based on an Intel multicore processor. There are also possibilities to run the neural networks on separate controllers which adds additional interfaces and latencies. For example, Siemens offers the TM-NPU expansion module [16] for the S7-1500, on which neural networks can be executed.

References

  1. Koren, Y.: The local factory of the future for producing individualized products. In: The Bridge, National Academy of Engineering, vol. 51, no. 1, pp. 20–26, 1 April 2021

    Google Scholar 

  2. Hornberg, A.: Handbook of Machine and Computer Vision. Wiley-VHC (2017)

    Google Scholar 

  3. Wani, M.A., et al.: Advances in Deep Learning. Springer (2020). https://doi.org/10.1007/978-981-13-6794-6

  4. Beckhoff, TF7xxx | TwinCAT 3 Vision. Accessed on 24 Oct 2021. [Online]. Available: https://www.beckhoff.com/en-us/products/automation/twincat/tfxxxx-twincat-3-functions/tf7xxx-tc3-vision

  5. Keras, Accessed on 21 Oct 2021. [Online]. Available: https://keras.io/

  6. MathWorks, MATLAB. Accessed on 24 Oct 2021. [Online]. Available: https://de.mathworks.com/products/matlab.html

  7. ONNX Supported Tools. Accessed on 21 Oct 2021. [online]. Available: http://onnx.ai/supported-tools

  8. Li, M., et al.: The deep learning compiler: a comprehensive survey. In: IEEE Transactions on Parallel and Distributed Systems, vol. 32, no. 3, pp. 708–727, 1 Mar 2021. https://doi.org/10.1109/TPDS.2020.3030548

  9. University of Applied Sciences Kiel, et al.: Machine learning for image recognition in the real-time context of industrial control systems. Accessed on Oct 21 2021. [Online]. Available: https://www.youtube.com/watch?v=KmPGQ2w_Peg&t=3s

  10. University of Applied Sciences Kiel, et al.: Real-time object recognition with neural networks for industrial control systems. Accessed on 21 Oct 2021. [Online]. Available: https://www.youtube.com/watch?v=DXfj88JkX5YY

  11. Le Cun, Y., et al. The MNIST database of handwritten digits. Accessed on 21 Oct 2021. [Online]. Available: http://yann.lecun.com/exdb/mnist/

  12. Smeschke: Four shapes. Accessed on 21 Oct 2021. [Online]. Available: https://www.kaggle.com/smeschke/four-shapes

  13. Google Colaboratory. Accessed on 21 Oct 2021. [online]. Available: https://colab.research.google.com/

  14. Beckhoff, TwinCAT 3 Engineering. Accessed on 21 Oct 2021. [Online]. Available: https://www.beckhoff.com/en-us/products/automation/twincat/te1xxx-twincat-3-engineering/te1000.html

  15. Beckhoff, TF3810 | TwinCAT 3 Neural Network Inference Engine. Accessed on 21 Oct 2021. [Online]. Available: https://www.beckhoff.com/en-us/products/automation/twincat/tfxxxx-twincat-3-functions/tf3xxx-tc3-measurement/tf3810.html

  16. Siemens. SIMATIC S7-1500 TM NPU, Accessed on 21 Oct 2021. [Online]. Available: https://new.siemens.com/global/de/produkte/automatisierung/systeme/industrie/sps/simatic-s7-1500/simatic-s7-1500-tm-npu.html

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Christoph Wree .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Wree, C., Raßmann, R., Daâs, J., Bause, F., Schönfeld, T. (2022). Real-Time Image Analysis with Neural Networks on Industrial Controllers for Individualized Production. In: Borangiu, T., Trentesaux, D., Leitão, P., Cardin, O., Joblot, L. (eds) Service Oriented, Holonic and Multi-agent Manufacturing Systems for Industry of the Future. SOHOMA 2021. Studies in Computational Intelligence, vol 1034. Springer, Cham. https://doi.org/10.1007/978-3-030-99108-1_34

Download citation

Publish with us

Policies and ethics