Didactic training using a CNC lathe designed in a virtual environment



Similar documents
Creation of Computer Aided Manufacturing software from Computer Aided Design software in the milling process

INGENIERíA. Scada System for a Power Electronics Laboratory. Sistema SCADA para un laboratorio de electrónica de potencia Y D E S A R R O L L O

How To Write A Book On The Digital Age Of Science

TECHNOLOGY AND SEMIOTIC REPRESENTATIONS IN LEARNING MATHEMATICS. Jose Luis Lupiáñez Gómez University of Cantabria, Spain. Abstract

A comparative study of two models for the seismic analysis of buildings

Machining processes simulation with the use of design and visualization technologies in a virtual environment

A virtual sensor for monitoring excited thermal turbogenerator rotors

Práctica 1: PL 1a: Entorno de programación MathWorks: Simulink

Bachelor of Games and Virtual Worlds (Programming) Subject and Course Summaries

Implementation of kalman filter for the indoor location system of a lego nxt mobile robot. Abstract

Curriculum Reform in Computing in Spain

Guidelines for Designing Web Maps - An Academic Experience

CAD and Creativity. Contents

La educación virtual como herramienta en la orientación educativa

GRADES 7, 8, AND 9 BIG IDEAS

El Hombre y la Máquina ISSN: maquina@uao.edu.co Universidad Autónoma de Occidente Colombia

Manejo Basico del Servidor de Aplicaciones WebSphere Application Server 6.0

LONG BEACH CITY COLLEGE MEMORANDUM

Diploma course ICT and informational advanced competences for in-service primary and secondary teachers in Mexico

A self-directed Virtual Learning Environment: Mi propio jefe (My own boss)

CONCEPTS OF INDUSTRIAL AUTOMATION. By: Juan Carlos Mena Adolfo Ortiz Rosas Juan Camilo Acosta

Evaluation of an exercise for measuring impact in e-learning: Case study of learning a second language

Volumes of Revolution

Using user models in Matlab within the Aspen Plus interface with an Excel link

MATHEMATICS KNOWLEDGE FOR TEACHING WITHIN A FUNCTIONAL PERSPECTIVE OF PRESERVICE TEACHER TRAINING

Essential Mathematics for Computer Graphics fast

POSIBILIDAD DE REALIZACIÓN DE PFC EN DELPHI (Luxembourg)

An introduction to 3D draughting & solid modelling using AutoCAD

Level 2 Spanish, 2012

CONCEPTUAL DESIGN OF A HYBRID ROBOT

PROBLEM-BASED LEARNING IN MATERIALS AND MANUFACTURING ENGINEERING EDUCATION ACCORDING TO THE ITESM-2015

BDL4681XU BDL4675XU. Video Wall Installation Guide

In mathematics, there are four attainment targets: using and applying mathematics; number and algebra; shape, space and measures, and handling data.

Off-line Model Simplification for Interactive Rigid Body Dynamics Simulations Satyandra K. Gupta University of Maryland, College Park

NEW TOOLS FOR THE SELECTION OF TECHNOLOGIES; APPLICATION TO SHEET METAL FORMING

KEANSBURG SCHOOL DISTRICT KEANSBURG HIGH SCHOOL Mathematics Department. HSPA 10 Curriculum. September 2007

Implementation of Statistics in Business and Industry

A Short Introduction to Computer Graphics

LINIO COLOMBIA. Starting-Up & Leading E-Commerce. Luca Ranaldi, CEO. Pedro Freire, VP Marketing and Business Development

Algoritmo de PRIM para la implementación de laberintos aleatorios en videojuegos

NEW MEXICO Grade 6 MATHEMATICS STANDARDS

Sympa, un gestor de listas de distribución para las universidades

Computer Aided Systems

Alphacam Art combines Vectric s Aspire artistic design software with the market leading Alphacam manufacturing software.

ACMSM - Computer Applications in Solids Mechanics

Introduction to Computer Graphics

An Application of Analytic Geometry to Designing Machine Parts--and Dresses

Secure Architectures for a Three-Stage Polling Place Electronic Voting System

Adaptación de MoProSoft para la producción de software en instituciones académicas

Dyna ISSN: Universidad Nacional de Colombia Colombia

UNIVERSIDAD TÉCNICA DEL NORTE ARTÍCULO CIENTÍFICO (INGLÉS)

An Overview of the Finite Element Analysis

Common Core Unit Summary Grades 6 to 8

Modelling of Variable Message Signs for Driving Simulation

Computer Tool for Automatically Generated 3D Illustration in Real Time from Archaeological Scanned Pieces

Figure 1. Basic Petri net Elements

Learning processes in pre-service teacher training for secondary school mathematics teachers

Current Standard: Mathematical Concepts and Applications Shape, Space, and Measurement- Primary

Number Sense and Operations

EE 1130 Freshman Eng. Design for Electrical and Computer Eng.

PROCEDIMIENTOPARALAGENERACIÓNDEMODELOS3DPARAMÉTRICOSA PARTIRDEMALLASOBTENIDASPORRELEVAMIENTOCONLÁSERESCÁNER

Sales Management Main Features

Tema 7 GOING TO. Subject+ to be + ( going to ) + (verb) + (object )+ ( place ) + ( time ) Pronoun

Ministry of Education. The Ontario Curriculum. Mathematics. Mathematics Transfer Course, Grade 9, Applied to Academic

Red de Revistas Científicas de América Latina y el Caribe, España y Portugal. Universidad Autónoma del Estado de México

A simple application of the implicit function theorem

A New Extension of the Exponential Distribution

WORK SCHEDULE: MATHEMATICS 2007

ANIMA: Non-Conventional Interfaces in Robot Control Through Electroencephalography and Electrooculography: Motor Module

Glencoe. correlated to SOUTH CAROLINA MATH CURRICULUM STANDARDS GRADE 6 3-3, , , 4-9

Heuristic algorithm for a flexible flow shop problem minimizing total weighted completion time (w j. ) constrains with proportional machines (q m

Process Management and Control

Presentation on CNC MACHINES. By: Hafiz Muhammad Rizwan

High School Algebra Reasoning with Equations and Inequalities Solve systems of equations.

Finite Element Formulation for Plates - Handout 3 -

Optimizing the Cellular Network Planning Process for In-Building Coverage using Simulation

DIPLOMADO DE JAVA - OCA

How To Assess A Very Young Learner

BALANCE DUE 10/25/2007 $ STATEMENT DATE BALANCE DUE $ PLEASE DETACH AND RETURN TOP PORTION WITH YOUR PAYMENT

AC : MATHEMATICAL MODELING AND SIMULATION US- ING LABVIEW AND LABVIEW MATHSCRIPT

BtoB MKT Trends. El Escenario Online. Luciana Sario. Gerente de Marketing IDC Latin America 2009 IDC W W W. I D C. C O M / G M S 1

Física Computacional Conceptos de programación.

General Report SASE2014

Transcription:

Didactic training using a CNC lathe designed in a virtual environment Mi g u e l A. Hi d a l g o* Je s ú s D. Ca r d o n a** Fa b i o A. Ro j a s*** Resumen El presente artículo presenta una investigación dirigida a desarrollar un torno virtual con la ayuda de herramientas matemáticas que modelan y facilitan la simulación de la dinámica de las operaciones del torno. La aplicación incluye bases del Java Standard Edition versión 1.5.0, Java 3D versión 1.3.1, las librerías fueron elaboradas por Archila O, (Hidalgo et al., 2005), y algunas aplicaciones CAD fueron utilizadas. El desarrollo virtual del torno representa una interfaz que permite la visualización 3D y simulación de diferentes operaciones de corte en un torno CNC. La simulación se puede utilizar a través de In- Machining path that describe a change on the geometry * Manufacture Technologies Research Group, Energetic and Mechanical Department, Universidad Autónoma de Occidente, mahidalgo @uao.edu.co. ** Sofware Engineering Research Group, Information Science Department, Universidad Autónoma de Occidente, jdcardona@uao.edu.co. ***Laboratory of Modern Technologies in Manufacture, Mechanical Engineering Department, Universidad de los Andes, farojas@uniandes.edu.co. Fecha de recepción: julio 3 de 2008 Fecha de aceptación: agosto 28 de 2008 154 El Hombre y la Máquina No. 31 Julio-Diciembre de 2008

ternet para la capacitación como si se realizara en una máquina real. Además, está equipado con una ayuda en línea, por lo que el usuario puede aprender y entrenar con material didáctico de la mecánica del corte con el fin de desarrollar operaciones de mecanizado en un torno CNC. Palabras clave: Torno virtual, simulación digital, máquinas CNC, manufactura virtual. Abstrac This paper present a research addressed to develop a virtual lathe with the help of mathematical and programming tools applied to the area of manufacture. The software tolls include Standard Java Edition version 1.5.0, Java 3D version 1.3.1 the libraries were developed by Archila O, (Hidalgo et al., 2005), and some CAD application. The developed virtual lathe represents an interface that allows the visualization and 3D simulation of different cut operations in a CNC lathe. The simulation can be used through Internet for training as if it was made in a real machine environment. Additionally, it is equipped with an on line help, so the user can learn and train in material cut mechanics in order to develop products in a CNC lathe. Key words: Virtual turning, digital simulation, CNC machines, virtual manufacturing. Introduction Nowadays it is possible to manufacture in the computer. In addition, the use of virtual reality allows to perform it with several levels of complexity and different types of immersion. This paper shows the development of a virtual tool aimed to help the learn- El Hombre y la Máquina No. 31 Julio-Diciembre de 2008 ing of machining processes in a CNC lathe by means of Internet. The simulation of the machining processes is based on analytical, mathematical, physical and programming virtual reality models. Therefore, it is possible to work in the virtual machine as if it were done in the real one; for example, simulating the paths, tool changes, speed, collisions etc. In this first stage it was included the option that the simulator responds to orders for making machining paths of cylinders in a CNC lathe. Virtual reality and education The virtual reality provides an interesting way to experiment a great variety of situations; these can go from scientific simulation, passing by learning environments, up to the most unimaginable virtual worlds run to the entertainment. A specific application of this technology is orientated to design of products and manufacturing, where an interesting alternative is provided to assist the development process of a tangible product, through virtual environments that simulate multiple aspects of a product and where the advantage of the virtual reality like technology are operated. Although there are some differences between the definitions these are essentially equivalent. All of them mean that the virtual reality is an interactive and immersive experience (with the presence sensation) in a simulated world (Zeltzer, 1992). Usually there is a difference between virtual reality and virtual environments, this is because the virtual environments do not have to represent necessary the reality (Stuart,1996), (Singhal,1999), (Vince,1995). From these definitions, the key characteristics of virtual environments would include: three dimensional graphs and a model of an environment representing some type of real life or a place or an artificial structure. 155

The user, conceptually, lives in an environment having a current position within him; therefore he has a limited vision. The user has the capacity of moving through the environment and to interact with it. Nowadays there exists a motivation to develop new tools that manage the complete integration of the concept of manufacture on the computer as if it was in the real machine. Some authors succeeded integrating virtual reality on the education and providing notions and concepts to the students during the virtual experience. For instance, the machining of cylinders using a virtual CNC lathe. The objective is to create an isomorphism in the student s mind between the symbols represented in the virtual environment and its relation with the real machines. Due to such isomorphism, the operations applied to a mental model generate similar results to the produced ones by parallel operations applied to real objects. This allows that the students draw in their minds the concept in such a way that they can predict the real behavior of the real elements by transformations and anticipations mentally made in the virtual environment. (Antonietti et al., 2001). The virtual lathe and the machining Initially, a first module to assist the machining into work environments through Internet was performed. This consists in a Web site where the user chooses a material and some cut parameters and design a rolling process which can be simulated. The program returns variables calculated analytically such as: cutting temperature, cut force, machine power, expected geometry of the work piece, and some other important variables, that would appear in case of a real process. This tool allows the user to test some pre-established values until the student finds a satisfactory design solution, while the user becomes familiar with the influence of the in-cutting parameters on the obtained results (Ramírez et al., 2001). In a second stage the part of the simulator called virtual lathe operator was implemented where, like in the first part, an orthogonal turning process is simulated but this time according to the real machine parameters, providing a close approximation to the finished product. The simulator (virtual lathe operator) to assist the orthogonal turning is located in the laboratory of modern technologies in Manufacture LATEMM Web site, which is part of the Department of Mechanical Engineering of the University of Los Andes, Bogotá-Colombia. To access at the LATEMM, the following can be used: http://farojas.uniandes. edu.co/latemm. In Figure 1 it is possible to observe the working environment of the analytical simulation for orthogonal turning. (Acero et al., 2001). At this point the LATEMM agreed with the research group in Technologies for manufacture GITEM, of the University Autónoma de Occidente Cali-Colombia, the developed of the virtual machine in order to be connected with the LATEMM project. In order to develop this first prototype virtual manufacture and prototype techniques were used to build a training environment in which the users (students) become familiar with the main controls, so they are able to manufacture in the virtual machine. In this version of the virtual lathe CNC prototype it is possible to reproduce machining operations which respond to the logical dynamic models of the CNC real machine, (Hidalgo et al., 2005). 156 El Hombre y la Máquina No. 31 Julio-Diciembre de 2008

Figure 1: Working environment of the analytical simulator for orthogonal turning Virtual machining process Several authors of virtual manufacturing projects describe the virtual machining processes as an low level essential element that work into a high level system as the virtual manufacturing; because for a variety of manufacturing operations a great number of such low level manufacturing operations have to be constructed into a system of high level virtual manufacturing (Valery, 2000). A generic virtual model was developed as a methodology to work in the development of virtual environment for the CNC lathe, in which several of the low level operations can be based, making possible that later several of this operations be included. In Figure 2 can be observed a picture of the real lathe; this lathe was utilized as a reference for the project develops. Work piece construction to create the 3D scene The structure utilized for the construction of the objects can be observed in Figure 3. The geometry type of the Figure 3 was utilized to generate de polygons, this kind of geometry can be use to specify points, lines and El Hombre y la Máquina No. 31 Julio-Diciembre de 2008 Figure 2: Didactic lathe to develop the prototypic version, turn 55 model from EMCO, of the university Autónoma de Occidente, Cali, Colombia polygons (triangles, quadrilaterals), in the figure can be appreciated, the order in which is possible to specify, through coordinates, the points, lines, etc., this ones later will allow Figure 3: structure type Triangles Prit Array of 3D JAVA for the geometry 157

construct objects, in this case the cylinder, which within the program represents the work piece. The construction form of the TriangleSpritArray, is based on the triangulation using the last three points that contain the array, obtaining the optimization because points are not repeated. In Figure 4 the form as the work piece to machining is constructed can be observed, this can be interpreted as the circular plate succession that are united whit the geometry type of Figure 3. Figure 4: MESH construction model for the workpiece This geometry allows later to the user facilitate the control of the work piece form to make the intersection and interpolations with the cutting tool, finally this will be shown as it was in real time in the scenes. Tool path interpolations There are two objects within the Simulator that must be controlled for being able to obtain the scene and make simulations very similar to the real behavior of a CNC lathe, the first one is the cylinder that was explained previously and it simulates the piece that is required to mechanize, the second is the tool, in Figure 5 is shown how the tool path is made. The movement effect and speed change of the tool are calculated whit Q, according to Figure 5, this is calculated with the differentials of the absolutes or relatives positions of the tool coordinates (x,z), obtaining a lineal path or a path of a polygon. The representation of the equation 1 is equivalent to first order segmentary interpolations for an ordered group of coordinates that can be defined as a set of lineal functions: ( x) = f ( x ) m ( x x ).. x x x. f + ( x) = f ( x0 ) m0( x x0)... x0 x x1 f + ( x) = f ( x1 ) m1( x x1)... x1 x x2 f +... n 1 n 1 n 1 n 1 n (1) Where equation 2 (m i ) is the straight line slope that joints the points: m = i f ( x ) f ( x ) i+ 1 x i+ 1 x i i (2) Figure 5: Change position scheme of tool by lineal interpolation and with polynomials If is necessary utilize derives and that in nodes exists continuity, most degree functions can be utilized, however to obtain the effect of a Spline curve, in this case juts the first order was utilized (Hidalgo et al., 2005). On the simulator this routine is included, and is possible to obtain a simulation like in Figure 6 is observed, to this one the tool path effect was included as it was in real time. 158 El Hombre y la Máquina No. 31 Julio-Diciembre de 2008

Figure 6: Machining path that describe a change on the geometry In Figure 6 a machining path that describes a change on the work piece geometry is observed according to the tool path; the deformation and transformation respond only to the tool path, obtaining thus the machining effect, this is equally obtained in real time. CNC longitudinal machining cycle The type of interpolation previously mentioned, allows to generate any type of shape in plane (x,z), this can be observed in Figure 6, but is not what happens in fact in a real machine, that is why an additional routine was developed so that it is possible generate a machining routings equals to those from a CNC lathe. The routine that it was coordinates that describe the machining path and later are fixed to generate the G code; this can be appreciated within the simulation in real time. In Figure 7 can be observed which are the inputs and outputs according to the longitudinal machining path that the user selects; which correspond to the followings expressions: In Matrix..[A] 2X2 Out Matrix..[U] 2xn Where n is calculated according to the cutting depth that the user selects, the [A] matrix contains the values of the two vertices of the rectangle that is equivalent to the section that is wanted to remove, and the [U] matrix contain all tool path points to generate the longitudinal turning cycle, which is generated automatically. With the simulation, the user can verify the tool path of a CNC machine, in this case the process is operated graphically as Figure 7: Graphic description of longitudinal machining cycle El Hombre y la Máquina No. 31 Julio-Diciembre de 2008 159

it was in a real machine, this virtual CNC machine executes the standard CNC code and makes the complete machining operation as it was in real time, in addition the user at the same time can makes a tour within the space in which the CNC machine is placed, allowing the constant visualization the removed material. Composition of the user interface In Figure 8 is observed the work zones that the user has when accedes to the virtual lathe. Figure 8: Virtual lathe visualization and work zones Figure 9: Virtual tour images that are possible to make during the process There are 4 zones represented, in zone 1 is possible for the user type and visualize the coordinates of the tool path, in zone 2 is found the window to get in to the virtual environment being possible for the student to make a tour through the laboratory that is recreated inside the virtual environment and they also can interact with the CNC lathe, screen shop captured through the tour are observed in figure 10; in zone 3 is utilized as an space to visualize graphics of machining variables in real time, zone 4 is an interaction window with the work piece in 2D in which is possible define a size of the work piece for machining, select cutting tools, assign a position to a tool, and finally select the zone that is wanted to machining, which is equivalent to [A] matrix and is represented in Figure 7, this last operation makes possible to generate a file that contain the [U] matrix and that contain the tool path to make the machining, this allow to process the information and it convert in codes for CNC machines; also the machining piece by the computer can be kept in a file that can be interpreted by a CAD. Conclusions The routine to generate the longitudinal cutting cycle was developed with an interface that allows to the user to make an interaction tour with the scene during the execution of the cycle. From the LATEMM s Laboratory of the University of Los Andes is possible via Internet to make a connection to consult the data base with experimental data and to load information of machining parameters to be used in the generation of CNC programs that are susceptible to be executed directly in real machines. Design and construct simulators with virtual reality is an instrument to help the universities so that they can have the last technology and the students 160 El Hombre y la Máquina No. 31 Julio-Diciembre de 2008

can work in machines that at the moment are of real use. In general the advantages that research and develop of this technologies can offer are immediate and very useful for training, they are reliable, and is possible reproduce them whichever times is required, also is worked in the same kernel being able to develop or update the virtual machines that are developed. Bibliography Acero C., Martha R Manrique., Rojas F. A., 2001, Implementación de un Simulador de Procesos de Corte para Corte Ortogonal Thesis,Http:// biblioteca.uniandes.edu.co. Antonietti, A., Imperio E., Rasi C. and Sacco M.,2001, Virtual reality and hypermedia in learning to use a turning lathe 5- Journal of Computer Assisted Learning 17, pp. 142-155, 142. Hidalgo M. A., Rojas F. A., Archila O.E.. (2005). Simulador Virtual de un Torno CNC, 7º Congreso Iberoamericano de Ingenieria Mecanica, México D.F, pp. 119. Ramírez Carlos A., Fabio A Rojas M., 2001, Desarrollo de simulador de procesos de mecanizado en metales. Tesis, http://biblioteca.uniandes. edu.co. Singhal.S., Zyda, M.,1999,Networked Virtual Environments: design and implementation, ACM Press. Stuart, R.,1995,The Design of Virtual Environment, McGraw-Hill, New York, Chap. 3. Valery Marinov,. 2000, A Generic Virtual Machining processes Proceedings The Third World Congress on Intelligent Manufacturing Processes. Vince, J., 1995, Virtual Reality Systems, Addison-Wesley. Chap.2. Zeltzer,D.,1992,Autonomy, Interaction, Presence, Presence, Vol.1 Núm.1, pp. 127-32. El Hombre y la Máquina No. 31 Julio-Diciembre de 2008 161