Hyper CLS-Data-Based Robotic Interface and Its Application to Intelligent Peg-in-Hole Task Robot Incorporating a CNN Model for Defect Detection
Abstract
:1. Introduction
- Implementing cooperative control for multiple robots performing large-scale workpiece handling tasks, expanding the application of the HCLS interface.
- Integration of a neural-network-based defect detection system (CNN) for peg-in-hole tasks, leveraging ONNX models converted from MATLAB and running on Python. This builds on recent developments in defect detection techniques, including singular spectrum analysis (SSA) and AI-driven defect recognition methods [9,10].
- Introducing an automatic teaching point generator resolved misalignment issues between robot and work coordinate systems, thus improving efficiency and accuracy in teaching tasks.
- Demonstrating these capabilities in an industrial setting highlights the proposed system’s scalability, cost-effectiveness, and real-world application.
2. Hyper CLS-Data-Based Robotic Interface
2.1. Robot Arm MG400
2.2. Proposal of Hyper CLS Data Interface
2.3. Handling of Multiple MG400s Using TCP/IP
- ⋮
- TCP1_29999_OPEN:192.168.2.7
- TCP1_30003_OPEN:192.168.2.7
- TCP2_29999_OPEN:192.168.2.8
- TCP2_30003_OPEN:192.168.2.8
- TCP3_29999_OPEN:192.168.2.9
- TCP3_30003_OPEN:192.168.2.9
- TCP1_SV_ON
- TCP2_SV_ON
- TCP3_SV_ON
- SNAPSHOT_DIFF 5000 2
- TCP1_GOTO/308.0,-20.47,-10.0,22.74,1,1
- TCP2_GOTO/308.0,-20.47,-10.0,22.74,1,1
- TCP3_GOTO/308.0,-20.47,-10.0,22.74,1,1
- ⋮
2.4. Automatic Generation of Teaching Points Considering Misalignment Between Robot and Work Coordinate Systems
3. Robotic Peg-in-Hole Task Cooperatively Using Two MG400s
- No. 1 chucks the article placed on work Table 1 and places it on the small jig called temporarily placed position.
- No. 2 chucks the article placed on the temporary position and puts it in the target hole on the work Table 2.
- Chucking and placing operations are synchronously and alternately conducted by No. 1 and No. 2 while considering the efficiency to reduce the task execution time and the safe timing to avoid a collision.
4. Advanced HCLS Data Statement for Calling a Defect Detection CNN Model
- ⋮
- SNAPSHOT
- R 120
- SNAPSHOT
- R -120
- SNAPSHOT
- CNN_DEFECT
- PLACE
- ⋮
- The use of the automatic teaching point generator approximately resulted in a 50% reduction in teaching time compared to manual programming.
- The CNN-based defect detection system demonstrated an accuracy of over 99% in detecting anomalies during the peg-in-hole task, as shown in the confusion matrix in Table 3.
- The system’s PLC-free cooperative control showed a significant reduction in coordination time compared to traditional PLC-based systems, improving the overall efficiency of multi-robot operations.
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
SCARA | Selective compliance assembly robot arm |
NC | Numerical control |
CAD | Computer-aided design |
CAM | Computer-aided manufacturing |
HCLS Data | Hyper cutter location source data |
CNN | Convolutional neural network |
PLC | Programmable logic controller |
OAIR | Open architecture types of industrial robot |
SDK | Software development kit |
DLL | Dynamic link library |
ONNX | Open neural network exchange |
References
- Wang, S.; Chen, G.; Xu, H.; Wang, Z. A robotic peg-in-hole assembly strategy based on variable compliance center. Int. J. IEEE Access 2019, 7, 167534–167546. [Google Scholar] [CrossRef]
- Jaskolski, P.; Nadolny, K. Characteristics of functional subsystems of modular didactic production system for gear trains. Int. J. Mech. Energy Eng. 2019, 3, 301–308. [Google Scholar] [CrossRef]
- Zeng, G.; Chen, C.Y.; Huang, D.; Zhu, Y. Robotic trajectory planning based on CL data. In Proceedings of the 2015 IEEE International Conference on Robotics and Biomimetics (ROBIO), Zhuhai, China, 6–9 December 2015; pp. 1723–1728. [Google Scholar] [CrossRef]
- Amersdorfer, M.; Meurer, T. Equidistant tool path and Cartesian trajectory planning for robotic machining of curved freeform surfaces. IEEE Trans. Autom. Sci. Eng. 2022, 19, 3311–3323. [Google Scholar] [CrossRef]
- Molotla, O.; Peña-Cabrera, J.M.; Lomas-Barrie, V. Configurable hybrid integral manufacturing platform: Subtractive-additive process with industrial robot arm, proof of concept results. IEEE Lat. Am. Trans. 2023, 21, 1227–1235. [Google Scholar] [CrossRef]
- Ma, Y.; Fan, J.; Zhao, S.; Jing, F.; Wang, S.; Tan, M. From model to reality: A robust framework for automatic generation of welding paths. IEEE Trans. Ind. Electron. 2024, 71, 16153–16164. [Google Scholar] [CrossRef]
- Su, J.; Wang, L.; Liu, C.; Qiao, H. Robotic inserting a moving object using visual-based control with time-delay compensator. IEEE Trans. Ind. Inform. 2024, 20, 1842–1852. [Google Scholar] [CrossRef]
- Park, J.; Jun, M.B.G.; Yun, H. Development of robotic bin picking platform with cluttered objects using human guidance and convolutional neural network (CNN). J. Manuf. Syst. 2022, 63, 539–549. [Google Scholar] [CrossRef]
- Algburi, R.N.A.; Gao, H.; Al-Huda, Z. Improvement of an industrial robotic flaw detection system. IEEE Trans. Autom. Sci. Eng. 2022, 19, 3953–3967. [Google Scholar] [CrossRef]
- Gao, P.; Wang, J.; Xia, M.; Qin, Z.; Zhang, J. Dual-metric neural network with attention guidance for surface defect few-shot detection in smart manufacturing. J. Manuf. Sci. Eng. 2023, 145, 121010. [Google Scholar] [CrossRef]
- Choi, J.G.; Kim, D.C.; Chung, M.; Lim, S.; Park, H.W. Multimodal 1D CNN for delamination prediction in CFRP drilling process with industrial robots. Comput. Ind. Eng. 2024, 190, 110074. [Google Scholar] [CrossRef]
- Wang, D.; Han, C.; Wang, L.; Li, X.; Cai, E.; Zhang, P. Surface roughness prediction of large shaft grinding via attentional CNN-LSTM fusing multiple process signals. Int. J. Adv. Manuf. Technol. 2023, 126, 4925–4936. [Google Scholar] [CrossRef]
- Mellado, J.; Nunez, F. Design of an IoT-PLC: A containerized programmable logical controller for the industry 4.0. Int. J. Ind. Inf. Integr. 2022, 25, 100250. [Google Scholar] [CrossRef]
- Rashad, O.; Attallah, O.; Morsi, I. A smart PLC-SCADA framework for monitoring petroleum products terminals in industry 4.0 via machine learning. Int. J. Meas. Control 2022, 55, 830–848. [Google Scholar] [CrossRef]
- Mühlbeier, E.; Bauer, V.; Schade, F.; Gönnheimer, P.; Becker, J.; Fleischer, J. Mechatronic coupling system for cooperative manufacturing with industrial robots. Procedia CIRP 2023, 120, 744–749. [Google Scholar] [CrossRef]
- Fathi, M.; Sepehri, A.; Ghobakhloo, M.; Iranmanesh, M.; Tseng, M.L. Balancing assembly lines with industrial and collaborative robots: Current trends and future research directions. Comput. Ind. Eng. 2024, 193, 110254. [Google Scholar] [CrossRef]
- Chen, L.; Wu, Y.; Du, Z.; Tao, T.; Zhao, F. Development of an industrial robot controller with open architecture. In Proceedings of the 2017 IEEE International Conference on Cybernetics and Intelligent Systems (CIS) and IEEE Conference on Robotics, Automation and Mechatronics (RAM), Ningbo, China, 19–21 November 2017; pp. 754–757. [Google Scholar] [CrossRef]
- Taesi, C.; Aggogeri, F.; Pellegrini, N. COBOT applications—Recent advances and challenges. Robotics 2023, 12, 79. [Google Scholar] [CrossRef]
- Tang, Y.; Sun, K.; Zhao, D.; Lu, Y.; Jiang, J.; Chen, H. Industrial defect detection through computer vision: A survey. In Proceedings of the IEEE International Conference on Data Science in Cyberspace, Guilin, China, 11–13 July 2022; pp. 605–610. [Google Scholar] [CrossRef]
- Abe, R.; Nagata, F.; Terasaki, D.; Kato, H.; Ikeda, T.; Watanabe, K. Proposal of hyper CLS data for industrial robots -HCLS statements for sequence control of multiple robots. Artif. Life Robot. 2023, 28, 750–756. [Google Scholar] [CrossRef]
- DOBOT MG400. Available online: https://www.dobot-robots.com/products/desktop-four-axis/mg400.html (accessed on 3 October 2023).
- DobotStudio Pro 2.8 User Guide (MG400&M1Pro). Available online: https://www.dobot-robots.com/service/download-center (accessed on 23 September 2024).
- Miki, K.; Nagata, F.; Furuta, K.; Arima, K.; Shimizu, T.; Ikeda, T.; Kato, H.; Watanabe, K.; Habib, M.K. Development of a hyper CLS-data based robotic interface for automation of production-line tasks using an articulated robot arm. Artif. Life Robot. 2022, 27, 547–553. [Google Scholar] [CrossRef]
- TCP. Available online: https://github.com/Dobot-Arm/TCP-IP-Protocol-4AXis/tree/master (accessed on 2 September 2024).
- ONNX. Available online: https://onnx.ai/ (accessed on 2 September 2024).
- Nagata, F.; Watanabe, K. Controller Design for Industrial Robots and Machine Tools: Applications to Manufacturing Processes, 1st ed.; eBook; Woodhead Publishing Limited: Sawston, UK, 2013; ISBN 9780857094636. [Google Scholar]
- Li, W.; Zhang, L.; Wu, C.; Cui, Z.; Niu, C. A new lightweight deep neural network for surface scratch detection. Int. J. Adv. Manuf. Technol. 2022, 123, 1999–2015. [Google Scholar] [CrossRef] [PubMed]
Absolute | Header of HCLS |
GOTO/x,y,z,r,0.0,0,1 | Go to a position |
SNAPSHOT | Take a photo using a camera |
ORIENTATION | Pose estimation by image processing |
CNN_ORIENTATION | Pose estimation using CNN |
VF_CONTROL | Visual feedback control |
CNN_DEFECT | Defect detection or feature extraction using CNN |
GRIPPER_DISABLE | Gripper power off |
GRIPPER_OPEN | Gripper open |
GRIPPER_CLOSE | Gripper close |
PAUSE | Wait a pause time as ‘PAUSE 2’ |
MOVZ | Z-directional motion as ‘MOVZ 10’ |
SET | Sent a number to a MG400 as ‘SET 10’ |
GET | Obtain a number from a MG400 as ‘GET 20’ |
SPEED | Set motion rate [%] as ‘SPEED 50’ |
OFFSET | Camera offset in x-direction |
GRIPPER_SUCK | Sucking using a suction cup |
GRIPPER_BLOW | Blowing using a suction cup |
R | Tool, e.g., gripper rotation angle [degree] as ‘R 45’ |
DO 12 1 | Set DO port No. 12 to 1 (ON) |
DO 5 0 | Set DO port No. 5 to 0 (OFF) |
GRIPPER_OPEN | Electromagnetic gripper open |
GRIPPER_CLOSE | Electromagnetic gripper close |
LOOP_START 3 | Repeating to LOOP_END for 3 times |
LOOP_END | End position of LOOP_START |
SNAPSHOT_DIFF 3000 2 | To next statement in 2 s after 3000 pixels area is changed |
WEIGHT_CHECK | Monitoring of current torques of 4 joints |
Item | Value or Setting |
---|---|
Model name | VGG19-based CNN |
Number of total layers | 47 |
Number of total weights | 139,578,434 |
Training images | 156 (OK), 196 (NG) |
Test images | 156 (OK), 196 (NG) |
Resolution of input images | 224 × 224 × 3 |
Epoch size | 50 |
Mini batch size | 32 |
Initial learning rate | 0.0001 |
Optimizer | SGDM |
Loss function | Cross entropy loss |
Convergence time [s] | 871 (average) |
Forward calculation time [s] | 0.07 (average) |
OK (Normal) | NG (Anomaly) | |
OK (Normal) | 153 | 0 |
NG (Anomaly) | 3 | 196 |
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. |
© 2024 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Nagata, F.; Abe, R.; Sakata, S.; Watanabe, K.; Habib, M.K. Hyper CLS-Data-Based Robotic Interface and Its Application to Intelligent Peg-in-Hole Task Robot Incorporating a CNN Model for Defect Detection. Machines 2024, 12, 757. https://doi.org/10.3390/machines12110757
Nagata F, Abe R, Sakata S, Watanabe K, Habib MK. Hyper CLS-Data-Based Robotic Interface and Its Application to Intelligent Peg-in-Hole Task Robot Incorporating a CNN Model for Defect Detection. Machines. 2024; 12(11):757. https://doi.org/10.3390/machines12110757
Chicago/Turabian StyleNagata, Fusaomi, Ryoma Abe, Shingo Sakata, Keigo Watanabe, and Maki K. Habib. 2024. "Hyper CLS-Data-Based Robotic Interface and Its Application to Intelligent Peg-in-Hole Task Robot Incorporating a CNN Model for Defect Detection" Machines 12, no. 11: 757. https://doi.org/10.3390/machines12110757
APA StyleNagata, F., Abe, R., Sakata, S., Watanabe, K., & Habib, M. K. (2024). Hyper CLS-Data-Based Robotic Interface and Its Application to Intelligent Peg-in-Hole Task Robot Incorporating a CNN Model for Defect Detection. Machines, 12(11), 757. https://doi.org/10.3390/machines12110757