Submitted:
30 November 2023
Posted:
30 November 2023
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Materials and Methods
2.1. Research station
2.2. Converting the CNN artificial intelligence model to the SMC card
- Python programming using the TensorFlow and Keras libraries to create and teach an artificial intelligence model,
- producing models according to research needs,
- conversion of artificial neural networks for use in the test bench.
3. Method – MobileNet, Efficient and Inception
- The first is in the form of coloured squares made in a graphics programme by the authors. The training images were simple and uniform. From these images, the relationship of the number of epochs to the effectiveness of the artificial intelligence models is investigated, as well as the rationale for selecting the correct number of epochs.
- The second relates to two-colour images of a cuboid called a container in the paper. These are labelled in red and blue.
- The third group of images is a collection of multiple elements, electronic parts, where the model is supposed to learn correct elements and incorrect elements in order to possibly select the correct element by further work of the object.
-
ReLU: Rectofied Linear Unit activation function in neural networks. Mathematical formula:f(x) = max (0, x)This means that if f(x) is positive (the function is a straight line with a 45-degree slope), the function returns x; whereas if it is negative or equal to 0, the function returns 0 (graphical function - horizontal line).
- Convolution2D refers to a two-dimensional convolution operation, which is a fundamental element in convolutional networks (CNNs) that process images. Convolution is the mathematical operation of combining two functions to produce a third function as a result. In the context of image processing, convolution involves moving a 'filter' or 'kernel' through an image and calculating the sum of the products of the filter elements and the corresponding image elements. For the formula:
- Maxpooling2D – technique allows the selection of the maximum value from a specific region in the input matrix otherwise a feature map. For example, the feature is of the form:
-
Dropout is a regularisation technique, which means that it helps to prevent overfitting (overfitting) of the model to the training data. During training for each iteration, Dropout selects a certain random percentage of neurons in the stratum, set to zero. The percentage of neurons is a parameter and has the name 'dropout rate'. Mathematical notation:where: xi is input neuron, yi is the output from the neuron after the application of Dropout, di is a random Bernoulli variable that takes the value 1 with probability p (the probability of the neuron's behaviour); p is the 'dropout rate', the probability of each neuron's behaviour.
-
BlobalAveragePooling2D is a layer often used as a layer before the last densely connected layer (Dense) in CNN models, it reduces dimensionality and prevents over-fitting. Mathematical notation:where: output (c) is the output value for the feature channel c; input (i,j,c) is the value under the heading (i,j) for feature channel c; it should be noted that the sums are calculated by all spatial positions (i,j).
![]() |
First traning date base – simple data base
Second training data base – data base with cuboid
Third training data base – data base with difeerent object
4. Results – verifications tree models CNN
4.1. CNN-based artificial intelligence model research, including MobileNet
First traning date base – simple data base
| Epoch | Accuracy of learned model 10 epochs | Accuracy of learned model 15 epochs | Accuracy of learned model 20 epochs |
| 1 | 0,20 | 0,35 | 0,19 |
| 2 | 0,49 | 0,40 | 0,31 |
| 3 | 0,64 | 0,63 | 0,55 |
| 4 | 0,74 | 0,71 | 0,65 |
| 5 | 0,78 | 0,74 | 0,66 |
| 6 | 0,78 | 0,84 | 0,78 |
| 7 | 0,78 | 0,84 | 0,81 |
| 8 | 0,76 | 0,90 | 0,88 |
| 9 | 0,78 | 0,94 | 0,84 |
| 10 | 0,80 | 0,95 | 0,93 |
| 11 | - | 0,95 | 0,94 |
| 12 | - | 0,99 | 0,98 |
| 13 | - | 1,00 | 0,96 |
| 14 | - | 0,95 | 0,93 |
| 15 | - | 0,96 | 0,91 |
| 16 | - | - | 0,94 |
| 17 | - | - | 0,96 |
| 18 | - | - | 0,97 |
| 19 | - | - | 0,97 |
| 20 | - | - | 0,99 |

Second training data base – data base with cuboid
|
Epoch |
Accuracy of the learning model 10 images | Accuracy of the learning model 50 images | Accuracy of the learning model 100 images | Accuracy of the learning model 1000 images |
| 1 | 0,50 | 0,49 | 0,43 | 0,80 |
| 2 | 0,75 | 0,63 | 0,64 | 0,98 |
| 3 | 0,75 | 0,71 | 0,70 | 0,98 |
| 4 | 0,50 | 0,71 | 0,84 | 0,99 |
| 5 | 0,50 | 0,88 | 0,89 | 1,00 |
| 6 | 0,75 | 0,93 | 0,93 | 1,00 |
| 7 | 0,75 | 0,88 | 0,88 | 1,00 |
| 8 | 0,75 | 0,98 | 0,96 | 1,00 |
| 9 | 0,63 | 0,88 | 0,96 | 1,00 |
| 10 | 0,75 | 0,85 | 0,98 | 1,00 |
| 11 | 0,75 | 0,93 | 0,94 | 0,99 |
| 12 | 0,75 | 0,95 | 0,98 | 1,00 |
| 13 | 0,88 | 0,93 | 0,98 | 1,00 |
| 14 | 1,00 | 0,93 | 0,93 | 0,99 |
| 15 | 0,63 | 0,93 | 0,96 | 1,00 |
| 16 | 0,88 | 0,95 | 0,96 | 1,00 |
| 17 | 0,88 | 0,95 | 0,96 | 1,00 |
| 18 | 0,88 | 0,93 | 0,99 | 1,00 |
| 19 | 0,75 | 0,98 | 0,98 | 1,00 |
| 20 | 0,88 | 0,93 | 0,96 | 1,00 |
3.2. Thries models: MobileNet, EfficientNetB0 and Inception
Third training data base – data base with difeerent object
- EfficieNetB0
- InceptionV3
- MobileNet
|
Epoch |
Accuracy of the MobileNet model | Accuracy of the EfficientNetB0 model | Accuracy of the InceptionV3 model |
| 1 | 0,491666667 | 0,51666667 | 0,47916667 |
| 2 | 0,50416667 | 0,50833333 | 0,58333333 |
| 3 | 0,50416667 | 0,47916667 | 0,51666667 |
| 4 | 0,50 | 0,45416667 | 0,5875 |
| 5 | 0,53333333 | 0,50833333 | 0,60833333 |
| 6 | 0,45 | 0,50833333 | 0,7 |
| 7 | 0,5125 | 0,51666667 | 0,725 |
| 8 | 0,59166667 | 0,55 | 0,6875 |
| 9 | 0,54583333 | 0,50416667 | 0,71666607 |
| 10 | 0,525 | 0,52083333 | 0,74583333 |
3.3. Verification model Inception on PLC



5. Discussion
6. Conclusions
Author Contributions
Funding
Acknowledgments
Conflicts of Interest
References
- https://typeset.io/ Available online:19.10.2023.
- Quan, Zhang. Convolutional Neural Networks. 2018. [CrossRef]
- Xujing, Yao., Xinyue, Wang., Shuihua, Wang., Shuihua, Wang., Shuihua, Wang., Yudong, Zhang., Yudong, Zhang. A comprehensive survey on convolutional neural network in medical image analysis. Multimedia Tools and Applications, 2020. [CrossRef]
- Junhai, Zhai., Liguang, Zang., Su-Fang, Zhang. Some Insights Into Convolutional Neural Networks. 2017. [CrossRef]
- Kai, Zhao., Sheng, Di., Sihuan, Li., Xin, Liang., Yujia, Zhai., Jieyang, Chen., Kaiming, Ouyang., Franck, Cappello., Zizhong, Chen. FT-CNN: Algorithm-Based Fault Tolerance for Convolutional Neural Networks. IEEE Transactions on Parallel and Distributed Systems, 2021. [CrossRef]
- Kai, Zhao., Sheng, Di., Sihuan, Li., Xin, Liang., Yujia, Zhai., Jieyang, Chen., Kaiming, Ouyang., Franck, Cappello., Zizhong, Chen. FT-CNN: Algorithm-Based Fault Tolerance for Convolutional Neural Networks. IEEE Transactions on Parallel and Distributed Systems, 2021. [CrossRef]
- Mandar, Kalbande., Punitkumar, Bhavsar. Performance Comparison of Deep Spiking CNN with Artificial Deep CNN for Image Classification Tasks. 2022. [CrossRef]
- M, Kavitha. Analysis of DenseNet -MobileNet-CNN Models on Image Classification using Bird Species Data. 2023.
- Kadir, Sabanci. Benchmarking of CNN Models and MobileNet-BiLSTM Approach to Classification of Tomato Seed Cultivars. Sustainability, 2023. [CrossRef]
- Fauzan, Masykur., Mohammad, Bhanu, Setyawan., Kuntang, Winangun. Epoch Optimization on Rice Leaf Image Classification Using Convolutional Neural Network (CNN) MobileNet. CESS (Journal of Computer Engineering, System and Science), 2022. [CrossRef]
- A, M, Rafay., Waqar, Hussain. EfficientSkinDis: An EfficientNet-based classification model for a large manually curated dataset of 31 skin diseases. Biomedical Signal Processing and Control 2023. [CrossRef]
- A. A, A. Amrutesh, G. B. C G, A. R. K P and G. S, "EfficientNet Models for Detection of Anemia Disorder using Palm Images," 2023 7th International Conference on Trends in Electronics and Informatics (ICOEI), Tirunelveli, India, 2023, pp. 1437-1443, 2023. [CrossRef]
- B., Srinivasa, Rao. (2023). EfficientNet - XGBoost: An Effective White-Blood-Cell Segmentation and Classification Framework. Nano Biomedicine and Engineering, 2023. [CrossRef]
- Hong, Zhang., Daniel, Wang., Fan, Fan., Lei, Shu. (2023). EfficientNet-based electromagnetic attack on AES cipher chips. [CrossRef]
- Steven, E., Lindow. (2023). Deep CNN-Based Facial Recognition for a Person Identification System Using the Inception Model. [CrossRef]
- Syed, Umar, Amin., Hamdi, Altaheri., Ghulam, Muhammad., Mansour, Alsulaiman., Wadood, Abdul. (2021). Attention based Inception model for robust EEG motor imagery classification. [CrossRef]
- Ivandi, Christiani, Pradana., Eko, Mulyanto., Reza, Fuad, Rachmadi. (2022). Deteksi Senjata Genggam Menggunakan Faster R-CNN Inception V2. Jurnal Teknik ITS. [CrossRef]
- Edge Intelligence with Light Weight CNN Model for Surface Defect Detection in Manufacturing Industry. Journal of Scientific and Industrial Research, 2023. [CrossRef]
- D., Venkatesan., Senthil, Kumar, Kannan., Muhammad, Arif., Muhammad, Atif., Arulkumaran, Ganeshan. (2022). Sentimental Analysis of Industry 4.0 Perspectives Using a Graph-Based Bi-LSTM CNN Model. Mobile Information Systems. [CrossRef]
- Toward Performing Image Classification and Object Detection With Convolutional Neural Networks in Autonomous Driving Systems: A Survey. IEEE Access, 2022. [CrossRef]
- Pratik, Yadav., Naveen, Madur., Vishwajeet, Rajopadhye., Mr., Shrikant, Salatogi. Review on Case Study of Image Classification using CNN. International Journal of Advanced Research in Science, Communication and Technology, (2022). [CrossRef]
- E. Solowjow et al., "Industrial Robot Grasping with Deep Learning using a Programmable Logic Controller (PLC)," 2020 IEEE 16th International Conference on Automation Science and Engineering (CASE), Hong Kong, China, 2020, pp. 97-103. [CrossRef]
- Monika, Rybczak., Natalia, Popowniak., Krystian, Kozakiewicz. Applied AI with PLC and IRB1200. Applied Sciences, 2022. [CrossRef]
- Parisi, L.; Ma, R.; RaviChandran, N.; Lanzillotta, M. hyper-sinh: An accurate and reliable function from shallow to deep learing in TensorFlow and Keras. Mach. Learn. Appl. 2021, 6, 100112. [Google Scholar] [CrossRef]
- Haghighat, E.; Juanes, R. SciANN: A Keras/TensorFlow wrapper for scientific computations and physics-informed deep learning using artificial neural networks. Comput. Methods Appl. Mech. Eng. 2021, 373, 113552. [Google Scholar] [CrossRef]
- PS Janardhanan. Project repositories for machine learning with TensorFlow. Procedia Comput. Sci. 2020, 171, 188–196. [Google Scholar] [CrossRef]
- https://keras.io/api/applications/ avaible 10.09.2023.
- Salman, Khan., Hossein, Rahmani., Syed, Afaq, Ali, Shah., Mohammed, Bennamoun. A Guide to Convolutional Neural Networks for Computer Vision. 2018. [CrossRef]
- Aghdam, H. H., & Heravi, E. J. Guide to convolutional neural networks. New York, NY: Springer, 10(978-973), 51., 2017. [CrossRef]
- https://docs.openvino.ai/2023.1/home.html avaible 02.04.2023.
- https://cache.industry.siemens.com/dl/files/877/109765877/att_979771/v2/S71500_tm_npu_manual_en-US_en-US.pdf avaible 10.01.2023.







Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
