Abstract

This paper aims to utilize the perceptron model in machine learning to achieve precise classification of the working status of welding machines by analyzing image data. We collected static images of welding and non-welding operations, extracted the R, G, B color values of the images, and labeled them accordingly (+1 for welding status, -1 for idle status). By employing the stochastic gradient descent method for training the perceptron model, we obtained the weights w and bias b of the model under the condition that all data points in the training set are correctly classified. The model's recognition accuracy was validated on the test set. Ultimately, we applied this model to the STM32f103zet6 microcontroller chip and successfully achieved real-time recognition of the welding machine's operational status during the welding process via a camera. Through testing, the classification accuracy reached 83.6%. Further optimization of classification criteria can be combined with relevant expert suggestions, providing a reference solution for monitoring and identifying the working status of welding machines in steel pipe production.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call