MINISTRY OF EDUCATION AND TRAINING HO CHI MINH CITY UNIVERSITY OF TECHNOLOGY AND EDUCATION FACULTY FOR HIGH QUALITY TRAINING GRADUATION PROJECT MACHINE MANUFACTURING TECHNOLOGY RESEARCH AND APPLICATION OF AUGMENTED REALITY TECHNOLOGY IN CNC MACHINE OPERATION TRAINING LECTURER: PhD. DANG TRI DUNG STUDENT: LUONG HOANG THANG NGUYEN CHI DUC PHAM CONG DUY SKL010426 Ho Chi Minh City, December 2022 HO CHI MINH CITY UNIVERSITY OF TECHNOLOGY AND EDUCATION FALCUTY OF HIGH QUALITY TRAINING GRADUATION PROJECT RESEARCH AND APPLICATION OF AUGMENTED REALITY TECHNOLOGY IN CNC MACHINE OPERATION TRAINING STUDENT’S NAME AND ID: LUONG HOANG THANG – 18146061 NGUYEN CHI DUC – 18146015 PHAM CONG DUY – 18146011 INSTRUCTOR: PhD. DANG TRI DUNG HO CHI MINH CITY, 12/2022 Acknowledge After years of study and obtaining valuable new knowledge at Ho Chi Minh City University of Technology and Education, the mission of the group has been fulfilled through the time spent to carry out the project up until this point. Although there are certain problems that still need to be fixed, overall, the group still achieves acceptable outcomes.
We would like to thank the teachers on behalf of the group members. This project benefited greatly from the knowledge that every teachers, who introduced us to new sources provided. Above all, Mr. Dang Tri Dung, the teacher in charge of overseeing our group, deserves the genuine gratitude of our entire group.
We appreciate your support of the group as it worked to complete the graduation project. The last word is a wish for a happy new year, good health from our group to the teachers. Table of Contents Abstract. 1 Object and scope of the study.
3 CHAPTER 2: THEORETICAL BASIS. Function of CNC machines in the project. Fundamentals of AR. Theory of AR.
Application of AR in the topic. Reasons to choose Doosan 5700 CNC milling machine for simulation. Reasons to use Unity software. Modeling facility in Unity Hub.
The process of building CNC AR machine. 7 CHAPTER 3: THE PROCESS OF BUILDING A CNC MILLING MACHINE MODEL. Doosan CNC milling machine modeling. Introduction to Blender.
Blender's application in the project. File formats that unity supports. Exclusive file formats. Unsupported file extension format.
Set colors material for CNC machine. Each button's function is specified. Software development process. Programing the animation for the CNC model.
47 CHAPTER 5: EXPERIMENT AND RESULT. Can be used on both phones and computers. Can move the X Y Z axis. Can operate a workpiece.
Can start the app for a long time. Can display the 3D CNC machine on the enviroment. 54 CHAPTER 6: CONCLUSION AND FUTURE DEVELOPMENT. Suggestion for future development.
57 Table of Figures Figure 1: AR example. 4 Figure 2: CNC Doosan DNM 5700 machine. 5 Figure 3: Procedure Diagram. 7 Figure 4: App Mixed Reality Toolkit.
8 Figure 5: After opening the App. 9 Figure 6: SolidWorks machine 3D model [5]. 10 Figure 7: Uploaded 3D files with Blender. 11 Figure 8: the machine's outer frame after being separated and concealed.
11 Figure 9: After separated. 12 Figure 10: Open Blender file with Unity. 13 Figure 11: Three main parts. 14 Figure 12: Colors’s setting table.
15 Figure 13: Color’s show table after finished setting. 15 Figure 14: After adding color. 25 Figure 16: Iterative and Incremental model. 26 Figure 17: Agile Methodologies.
27 Figure 18: Waterfall model. 27 Figure 19: Flowchart for programming X Y Z axis moving coordinates – Part A. 31 Figure 20: Flowchart for programming Spinning – Part B. 32 Figure 21: Flowchart for programming Spin percentage – Part C.
33 Figure 22: Flowchart for programming keyboard – Part D. 36 Figure 24: ViewManager – CreateView. 38 Figure 25: ViewManager - BackView. 39 Figure 26: Main screen.
40 Figure 27: Language setting in Vietnamese. 40 Figure 28: Language setting in English. 41 Figure 29: After finished choosing. 42 Figure 30: Manual and AR mode.
42 Figure 31: After choosing the manual mode. 42 Figure 32: After clicking the "action of the workpiece" button. 43 Figure 33: The tool moves to the set coordinates. 44 Figure 34: Axis table X Y Z.
44 Figure 35: Rotary control. 45 Figure 36: Tool rotation speed control. 45 Figure 37: Command keyboard. 46 Figure 38: Adjust the camera's angle.
46 Figure 39: Notifying errors once the tool makes contact with the workpiece. 47 Figure 40: The machine displays on the environment. 47 Figure 41: AR mode. 49 Figure 42: Manual mode.
50 Figure 43: Build Setting. 51 Figure 44: Display coordinates. 52 Figure 45: Workpiece after performing drilling. 52 Figure 46: Workpiece after performing cutting.
53 Figure 47: Scan the environment through the camera. 54 Figure 48: Not enough space. 54 Abstract Owing to the swift advancement of software technology in particular and information technology in general. Real-world software applications are becoming more and more common, usually in the form of virtual reality simulation technology.
Before, augmented reality simulation technology was only used for video games, but now it can be used to correctly model the operation of vehicles, electronics, and other machines. If students simply learn through theory and subsequently practice, accidents will be reduced. A high level of simulation programming knowledge and a thorough grasp of the electrical equipment to be replicated are required for the deployment of augmented reality simulation technology to model electronic devices. In order to enhance the training of future CNC workers, this project focuses on the use of virtual reality technology to imitate the operation of CNC machines in industry.
Vietnamese CNC companies are growing, however it is hard to find experienced CNC workers, and training CNC workers takes time and may be dangerous after training. The capacity to experiment with the CNC machine depicted in a virtual environment will expand, but without the risk of machine failure or user danger. 1 Object and scope of the study Learn how mechanical structure of the CNC machines such as: X Y and Z axis movement, control the blade spinning speed and make contact with the workpiece through a research project before using virtual reality simulation technology to create virtual models. Although there are many other kinds of CNC machines, the DOOSAN 5700 CNC milling machine is the subject of this project.
Greater types can be simulated with more time. Unity Hub is the program utilized in this project to facilitate virtual modeling. Research Techniques Overview of the DOOSAN 5700 CNC milling machine, including a look at the model (Blade movement, X Y and Z axis, machine frame) and how to use it (set tool, center, execute program) while learning about Unity. In order to achieve this, the following 6 chapters of the project's key research materials and findings are presented: Chapter 1: Overview Chapter 2: Theoretical Basis Chapter 3: The process of building a CNC milling machine model Chapter 4: Instructions Chapter 5: Experiments and results Chapter 6: Conclusion and feature development The conclusion section provides an evaluation of the outcomes obtained and the challenges faced during the project's study and execution.
Errors cannot be prevented during the project implementation process due to the time and qualification constraints. For further development for this project, we anticipate receiving the contributions of professors and students. Sincere appreciation goes out to PhD. Dang Tri Dung and the department of high quality English lecturers for their tireless assistance with both the project implementation and learning processes.
2 CHAPTER 1: OVERVIEW The most obvious thing, in the intern's opinion, is that you have to stand about and watch other people work the machine for up to two months before you can interact with it, and even then, only for straightforward tasks. as straightforward as cleaning the machine or putting the workpiece inside of it, but excluding real operation. The student will subsequently be able to use the machine to do basic tasks like installing the workpiece, configuring the tool, obtaining the coordinates, and finally running the available program created by an expert. From that, it can be observed that training CNC workers takes a lot of time and that even after the process of theoretical training and instructor observation, mistakes can still be made frequently.
Therefore, practicing first on a computer is the best course of action at this time. Numerous CNC training programs exist, including MasterCam, Cimco, Cimatron, etc. However, why are employees still having trouble using CNC machines. Because this software only directs CNC machine programming, practically all coordinate entry is to the correct position and the workpiece also has available coordinates, making it simple to accomplish on the software, but the workpiece is actually placed in the CNC machine.
To program and run the machine, you must locate the corner board to obtain the coordinates, and then compute the coordinates of the center of the workpiece surface. Thus, utilizing virtual reality simulation software, workers can experience operating a genuine CNC machine in a manner similar to that. Then students will interact with the machine model, watch it in action, and use it almost exactly like a real machine. This is what inspired the creation of this project.
3 CHAPTER 2: THEORETICAL BASIS 2. Function of CNC machines in the project The machine can simulate the following basic functions: Workpiece placement, blade mechanism, coordinate displacement mechanism in X Y Z axis and keyboard to input simple coordinate. Fundamentals of AR 2. Theory of AR A direct or indirect view of a real, physical environment in which elements are "augmented" by computer-generated cognitive data generated in a range of sensory modalities, including sight, hearing, touch, and smell, is known as augmented reality, or AR.
In other words, AR technology will add certain digitally created virtual objects on top of the actual scene, enhancing the overall scene. If VR is a virtual environment, then augmented reality is a world that blends the real and virtual (Fig. Figure 1: AR example 2. Application of AR in the topic Thanks to augmented reality technology, CNC AR is a software that simulates the design and operation of a CNC machine and gives users the ability to operate the machine using a laptop or mobile device.
Users can quickly understand the structural components of the CNC machine, how it works, how to use the control keys and parameters and even how to deal with common CNC machine errors thanks to the interface's close proximity and intuitive design. Simulate all actions and procedures, such as setting the workpiece, setting the tool, entering the code, and carrying out the machining process, just as they would be carried out on a real CNC machine. Extremely helpful for those of who want to learn how to program CNC 4 machines but are restricted by financial constraints from doing so. It also makes editing CNC programs very simple (Fig.
Figure 2: CNC Doosan DNM 5700 machine The group will provide a brief explanation of Git before providing a brief overview of the SourceTree software. [2] Git is a distributed version control system that is free and open source and is made to efficiently and quickly handle projects of all sizes. Git is simple to use, lightweight, and performs extremely quickly. With features like affordable local branching, handy staging areas, and multiple workflows, it goes beyond SCM tools like Subversion, CVS, Perforce, and ClearCase.
However, it is not always convenient to use Git from the command line. Because of this, the group decided to use SourceTree, a helpful program for developers who use Windows and Mac OS X. You can prevent code errors, redundant or missing code, and the accidental deletion of unnecessary components by using SourceTree to view the code prior to committing.