MINISTRY OF EDUCATION AND TRAINING HO CHI MINH CITY UNIVERSITY OF TECHNOLOGY AND EDUCATION GRADUATION THESIS MAJOR: AUTOMATION AND CONTROL ENGINEERING TECHNOLOGY AUTOMATIC GLUE DISPENSER MACHINE INSTRUCTOR: PHAM HONG BAO THU STUDENT: PHAM THANH DONG Ho Chi Minh city, June 2024 MINISTRY OF EDUCATION AND TRAINING HO CHI MINH CITY UNIVERSITY OF TECHNOLOGY AND EDUCATION FACULTY OF INTERNATIONAL EDUCATION ----------------- ----------------- GRADUATION THESIS AUTOMATIC GLUE DISPENSER MACHINE Instructor : M.Eng Le Hoang Lam Student's : Pham Thanh Dong 20151270 Pham Hong Bao Thu 20151296 Ho Chi Minh City, June 2024 MINISTRY OF EDUCATION AND TRAINING HO CHI MINH CITY UNIVERSITY OF TECHNOLOGY AND EDUCATION FACULTY OF INTERNATIONAL EDUCATION ----------------- ----------------- GRADUATION THESIS AUTOMATIC GLUE DISPENSER MACHINE Instructor : M.Eng Le Hoang Lam Student's : Pham Thanh Dong 20151270 Pham Hong Bao Thu 20151296 MAJOR : AUTOMATION AND CONTROL ENGINEERING TECHNOLOGY Ho Chi Minh City, June 2024 HCMC University of Technology and Education SOCIALIST REPUBLIC OF VIETNAM Faculty of International Education INDEPENDENCE - FREEDOM – HAPPINESS Department of Automatic Control ----o0o---- Ho Chi Minh City, June 30th , 2024 MISSION OF GRADUATION THESIS Instructor : M.Eng Le Hoang Lam Student's full name 1: Pham Thanh Dong Student ID : 20151270 Student's full name 2 : Pham Hong Bao Thu Student ID : 20151296 Major : Automation and Control Engineering Technology Mode of study : Full-time Course : 2020 – 2024 I. THESIS TITLE : AUTOMATIC GLUE DISPENSER MACHINE II. TASKS AND CONTENT OF IMPLEMENTATION 1. Initial figures Learn about the principles and how to control Servo motors.
Learn about the MR-J3-B servo motor and driver set. Learn about PLC iQ. Implementation content Build logic control algorithms Develop control program on PLC. Calculate and design hardware and electrical parts (electrical control cabinets).
Connect system devices and control and monitor. Adjust the system to achieve the required results. Test run the model. Draw out the shortcomings and then proceed to correct and perfect the system.
Provide future development directions. PROJECT DELIVERY DATE : 02/2024. PROJECT COMPLETION DATE : 30/06/2024. PRESENTATION LANGUAGE : The report : English Vietnamese Thesis defense presentation : English Vietnamese INSTRUCTORS DEPARTMENT OF AUTOMATIC CONTROL ii HCMC University of Technology and Education SOCIALIST REPUBLIC OF VIETNAM Faculty of International Education INDEPENDENCE - FREEDOM – HAPPINESS Department of Automatic Control ----o0o---- Ho Chi Minh City, June 30th , 2024 GRADUATION THESIS IMPLEMENTATION SCHEDULE Student's full name 1: Pham Thanh Dong Student ID : 20151270 Student's full name 2 : Pham Hong Bao Thu Student ID : 20151296 Major : Automation and Control Engineering Technology THESIS TITLE : AUTOMATIC GLUE DISPENSER MACHINE Confirmation Week/day Content by instructor 26/2/2024 Approve the topic and outline.
Learn briefly about the system, select devices, 4/3/2024 sensors, motors, drivers. 11/3/2024 Mechanical part design. 18/3/2024 Complete construction of mechanical parts. 25/3/2024 Electrical part design.
Arrange equipment and wire electrical cabinets to 1/4/2024 complete the electrical part. 8/4/2024 Proceed to set engine driver parameters, run test jog. 15/4/2024 Installing cameras and researching image processing Design and construction of the glue injection 22/4/2024 mechanism for the model iii 29/4/2024 Write a control program. 20/5/2024 Check the algorithm, fix errors.
Test run the program and the entire system, check 27/5/2024 and correct errors during the control process. 3/6/2024 Complete the model, write reports. INSTRUCTORS (Sign and write full name) iv HCMC University of Technology and Education SOCIALIST REPUBLIC OF VIETNAM Faculty of International Education INDEPENDENCE - FREEDOM – HAPPINESS Department of Automatic Control ----o0o---- Ho Chi Minh City, June 30th ,2024 INSTRUCTOR’S EVALUATION FORM Student's full name 1: Pham Thanh Dong Student ID : 20151270 Student's full name 2 : Pham Hong Bao Thu Student ID : 20151296 Major : Automation and Control Engineering Technology Mode of study : Full-time Instructor : M.Eng Le Hoang Lam THESIS TITLE : AUTOMATIC GLUE DISPENSER MACHINE. Evaluation of students' spirit and working attitude :.
Evaluation of the results of the Graduation Thesis :. Advantages of Graduation Thesis :. Disadvantages of the Graduation Thesis (if any) : .) Conclude : □ Permitted to defend the thesis. □ Not permitted to defend the thesis.
Ho Chi Minh City, June , 2024 INSTRUCTORS (Sign and write full name) vi HCMC University of Technology and Education SOCIALIST REPUBLIC OF VIETNAM Faculty of International Education INDEPENDENCE - FREEDOM – HAPPINESS Department of Automatic Control ----o0o---- Ho Chi Minh City, June 30th ,2024 REVIEWER’S EVALUATION FORM Student's full name 1: Pham Thanh Dong Student ID : 20151270 Student's full name 2 : Pham Hong Bao Thu Student ID : 20151296 Major : Automation and Control Engineering Technology Mode of study : Full-time Course : 2020 – 2024 Name of the Evaluator : M.Eng Nguyen Tan Doi THESIS TITLE : AUTOMATIC GLUE DISPENSER MACHINE. General comments on the content of the thesis topic :. vii Suggestion: Permission to defend Revision for defense Not approved for defense Scores : ………………. Ho Chi Minh City, June , 2024 EVALUATORS (Sign and write full name) viii HCMC University of Technology and Education SOCIALIST REPUBLIC OF VIETNAM Faculty of International Education INDEPENDENCE - FREEDOM – HAPPINESS Department of Automatic Control ----o0o---- Ho Chi Minh City, June 30th ,2024 GUARANTEE We hereby declare that the research results presented in this graduation project are the results obtained during our own research process with the guidance of M.Eng Le Hoang Lam, do not copy any research results of other authors.
The research content references and uses some information and documents from sources listed in the list of references. If I am wrong, I will accept all disciplinary measures according to regulations. Ho Chi Minh City, June 30th , 2024 Group of students implementation Pham Thanh Dong Pham Hong Bao Thu ix THANK YOU To complete their graduation project, the student group first wanted to express their gratitude to the teachers of the Faculty of Electrical and Electronics Engineering, Ho Chi Minh City University of Technology and Education. Thanks to the dedicated teaching of our teachers, we have gained a solid foundation of professional knowledge to apply to our current projects as well as future work.
We would like to send our sincere thanks to our instructor, M.Eng Le Hoang Lam, who dedicatedly guided, imparted knowledge and experience, as well as supported the group throughout the process of completing their graduation thesis. Besides, we would also like to thank our families for always encouraging and supporting us, creating the best physical and mental conditions so that we can complete our studies at school. In addition, the group also wants to thank our brothers and friends who have been by our side, giving advice and help, so that we can complete this project. Due to limitations in time, knowledge and experience, our graduation thesis cannot avoid shortcomings.
We look forward to receiving feedback and direction from the teachers to make the project more complete. Once again, we would like to sincerely thank everyone around us, family, relatives, friends and teachers for always supporting us on our path of studying, working and finding new directions in the future. Ho Chi Minh City, June 30th, 2024 Group of students implementation Pham Thanh Dong Pham Hong Bao Thu x TABLE OF CONTENTS MISSION OF GRADUATION THESIS. i GRADUATION THESIS IMPLEMENTATION SCHEDULE.
iii INSTRUCTOR’S EVALUATION FORM. v REVIEWER’S EVALUATION FORM. ix THANK YOU. x LIST OF ACRONYMS.
xiv LIST OF FIGURES. xv LIST OF TABLES. xx CHAPTER 1 : INTRODUCTION. Objective of the project.
Scope of the Topic. 3 CHAPTER 2 : THEORICAL BASICS. Introduction to PLCs. Overview of PLCs.
Features of PLCs. Concept and operating principle of Encoder. Introducing SSCNET III network. Overview of Computer Vision and Image Processing.
Introduction to Computer Vision. Introduction to Image Processing. Image processing algorithms applied in the system. OpenCV Library in Python.
22 CHAPTER 3 : SYSTEM DESIGN AND CONSTRUCTION. Select devices for the project. Construction of the model. 54 CHAPTER 4 : OPERATING PRINCIPLES, CONTROL ALGORITHM AND CONTROL PROGRAM.
System model and operating principles. Design HMI interface. Image processing programming software. 79 CHAPTER 5 : EXPERIMENTAL RESULTS AND EVALUATION OF RESULTS.
84 CHAPTER 6 : CONCLUSION AND PROPOSED DEVELOPMENT DIRECTION. Direction for future development. 91 xiii LIST OF ACRONYMS PLC: Programmable Logic Controller HMI: Human – Machine Interface CPU: Central Processing Unit DC: Direct Current AC: Alternating Current NO: Normally Open NC: Normally Closed DO: Digital Output DI: Digital Input AI: Analog Input AO: Analog Output SCADA: Supervisory Control and Data Acquisition I/O: Input/Output CNC: Computer Numerical Control PID: Proportional-Integral-Derivative xiv LIST OF FIGURES Figure 2. 1 Structure of PLC programming controller.
4 Types of encoders used in industry. 5 Structure of Encoder. 6 Structure of Absolute Encoder (Left) and Incremental Encoder (Right). 7 Some Servo Motor Drivers from Mitsubishi.
8 How to transmit data of SSCNET III network. 9 Cable system of SSCNET III. 10 Distance between devices of SSCNET III network. 11 Object detection application of Computer Vision.
12 Examples of typical image processing operations. 13 Convert images from RGB to Grayscale. 14 Convert images from Grayscale to Binary. 15 Thresholding for object identification.
16 Example of contour algorithm. 17 OpenCV Library icon. 1 System block diagram. 2 Fuji Electric CP32FM/10, 10A 2P circuit protector.
3 Power supply module OMRON S82K-03024. 4 Azbil APM-D3A1 Proximity Sensor. 5 Proximity sensor FL2-4A6QS. 6 Servo motor HF-KP13 Mitsubishi.
7 Servo Motor HG-KR053. 8 Servo motor HF-KP053. 11 Mitsubishi Q03UDECPU PLC. 12 Positioning module QD75MH4 PLC Mitsubishi.
13 The way to connect Module QD75MH4. 14 Output module QY40P. 15 Servo Driver MR J3-10B. 16 CPU block drawing.
17 SP 982 glue pump .3M fiber optic cable. 20 Connection between Drivers and Module QD75MH4. 22 MR-J3ENCBL5M-A1-L cable. 23 Encoder cable design and 2 connector heads.
25 Power supply cable design with connector. 26 System communication connection diagram. 27 Structure of lead screw THK KR30H. 28 Mechanical drawing of lead screw THK KR30H.
29 Dimensions of lead screw THK KR30H used in the project. 30 Technical specifications of THK KR30H lead screw used in the project. 31 Lead screw THK KR20. 32 Mechanical drawing of lead screw THK KR20.
33 Dimensions of lead screw THK KR20 used in the project. 34 Technical specifications of THK KR20 lead screw used in the project. 35 Power circuit of the model. 36 Control circuit of the model.
37 The 3-axis X, Y, Z mechanical model taken from above. 38 The 3-axis mechanical model X, Y, Z is photographed from the front. 39 The model's electrical system. 40 Electrical system of the entire system.
41 Complete system model. 42 Complete system model. 1 Diagram describing the 3-axis linear interpolation algorithm. 2 Camera pixel coordinate system (Right) and Model mm coordinate system (Left).
3 System's main control flow diagram. 4 Flow chart for controlling 3 axes X, Y, Z to apply glue to an object. 5 Control flow diagram of Mode 1. 6 Control flow diagram of Mode 2.
7 Control flow diagram of Mode 3. 8 Create a new project using GX WORKS2. 9 Connection settings for PLC. 10 Connection type selection interface.
12 New module table. 13 Devices after being selected. 14 Set the Ethernet connection IP. 15 Built-in Ethernet Port Open Setting.
17 Interface for writing control programs in GX Works2. 18 Mitsubishi GT Designer3 HMI programming software. 19 Interface when creating a new file GT Designer3. 20 Screen type selection interface .