<?xml version="1.1" encoding="utf-8"?>
<article xsi:noNamespaceSchemaLocation="http://jats.nlm.nih.gov/publishing/1.1/xsd/JATS-journalpublishing1-mathml3.xsd" dtd-version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><front><journal-meta><journal-id journal-id-type="publisher-id">JERA</journal-id><journal-title-group><journal-title>Journal of Electronic Research and Application</journal-title></journal-title-group><issn>2208-3502</issn><eissn>2208-3510</eissn><publisher><publisher-name>Bio-Byword Scientific Publishing Pty. Ltd.</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.26689/jera.v9i6.13162</article-id><article-categories><subj-group subj-group-type="heading"><subject>Article</subject></subj-group></article-categories><title>System Design of Workpiece Automatic Cleaning Device based on YOLOv5</title><url>https://artdesignp.com/journal/JERA/9/6/10.26689/jera.v9i6.13162</url><author>WangRu-Tao,ZhaoYue-Ling,LiYi-Yang,GuoDong</author><pub-date pub-type="publication-year"><year>2025</year></pub-date><volume>9</volume><issue>6</issue><history><date date-type="pub"><published-time>2025-12-16</published-time></date></history><abstract>The recognition and positioning of material baskets are key links in the automatic workpiece cleaning device. Aiming at the problems of low recognition accuracy and poor precision of traditional visual methods for material basket recognition, a control system of automatic workpiece cleaning device based on YOLOv5 was designed. The YOLOv5 detection algorithm was improved by introducing the attention mechanism and optimizing the loss function, which enhanced the attention to the target area and improved the accuracy of feature extraction, thus realizing the position recognition and coordinate acquisition of workpiece material baskets. In addition, a cleaning system with Siemens S7-1200 PLC as the control core was designed. By controlling servo motors to drive the gantry and adjust the operation of the crane, the automatic grabbing and handling of material baskets were realized, and the automatic control of the cleaning process was achieved. Meanwhile, a human-computer interaction (HMI) and monitoring interface was designed, which could intuitively display the operating status of material baskets and improve the interaction capability of the automatic workpiece cleaning device.</abstract><keywords/></article-meta></front><body/><back><ref-list><ref id="B1" content-type="article"><label>1</label><element-citation publication-type="journal"><p>Yin H, 2024, Design of Full-Automatic Robotic Arm Pipetting System and Analysis of Visual Recognition and Positioning. Electronic Technology, 53(6): 228–229.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B2" content-type="article"><label>2</label><element-citation publication-type="journal"><p>Chen D, Liu Q, 2024, Design of Automatic Car Cleaning System Using PLC Technology. Industrial Control Computer, 37(8): 175–176.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B3" content-type="article"><label>3</label><element-citation publication-type="journal"><p>Xia X, 2024, Design of Manipulator Sorting Material Control System Based on S7-1200 PLC. Industrial Control Computer, 37(11): 138–140.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B4" content-type="article"><label>4</label><element-citation publication-type="journal"><p>Yin Z, Sun R, 2016, Design of Automatic Workpiece Cleaning Device Based on PLC. Automation &amp; Instrumentation, 2016(7): 235–237.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B5" content-type="article"><label>5</label><element-citation publication-type="journal"><p>Wang X, 2024, Control System Design of Single-Lane Stereo Garage Based on S7-1200 PLC and Machine Vision. Automation &amp; Instrumentation, 39(10): 18–23.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B6" content-type="article"><label>6</label><element-citation publication-type="journal"><p>Chen J, Diao G, Tang M, et al., 2025, Research and Design of Riding Helmet Wearing Monitoring Based on YOLOv5. Internet of Things Technology, 15(7): 32–35.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B7" content-type="article"><label>7</label><element-citation publication-type="journal"><p>Devi M, Rajkumar T, 2025, A Novel Attention Based Deep Learning Model for Software Defect Prediction with Bidirectional Word Embedding System. Soft Computing, 29(4): 1–18.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B8" content-type="article"><label>8</label><element-citation publication-type="journal"><p>Zhao X, Ma M, Wang L, et al., 2024, Lightweight Apple Leaf Disease Detection Based on YOLOv5. Automation Application, 65(18): 146–148.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B9" content-type="article"><label>9</label><element-citation publication-type="journal"><p>Zhang Y, Gao M, 2025, Floating Garbage Target Detection Algorithm Based on Improved YOLOv5s. Computer Engineering and Design, 46(3): 910–917.</p><pub-id pub-id-type="doi"/></element-citation></ref><ref id="B10" content-type="article"><label>10</label><element-citation publication-type="journal"><p>Lü D, Li J, 2025, Design of Stepper Motor Control System Based on PLC. Automation Application, 66(1): 6–8.</p><pub-id pub-id-type="doi"/></element-citation></ref></ref-list></back></article>
