4 Development of Computer Aided Process Planning (CAPP) For Rotational Parts
4 Development of Computer Aided Process Planning (CAPP) For Rotational Parts
Process planning translates design information into the process steps and instructions to efficiently and effectively manufacture products. As the design process is supported by many computer-aided tools, computer-aided process planning (CAPP) has evolved to simplify and improve process planning and achieve more effective use of manufacturing resources. Process planning encompasses the activities and functions to prepare a detailed set of plans and instructions to produce a part. The planning begins with engineering drawings, specifications, parts or material lists and a forecast of demand (Groover, 1987). CAPP systems ensure significant reduction of time needed for fabrication of manufacturing processes plan. Process planning approaches can be basically classified into two types such as traditional manual process planning and computer aided process planning (CAPP) ( ElMaraghy, 1993).
Process Planning
Manual (Classic)
Variant method
Hybrid Method
Generation Method
Figure 1: Process Planning Manual process planning is based on a manufacturing engineer's experience and knowledge of production facilities, equipment, their capabilities, processes, and tooling. In some companies, process plans are manually classified and stored in workbooks (Lee, 1999). The manual approach is also considered a poor use of engineering skills because of the high clerical content in most of its functions (Zeid, 2002). Alting and Zhang (1989) reported that the idea of using the speed and consistency of the computer to assist
_______________________________ About-1Department of Mechanical and Production Engineering, Ahsanullah University of Science and Technology, Bangladesh, (e-mail: [email protected]) About-2Department of Industrial and Production Engineering, Bangladesh University of Engineering and Technology (BUET), Bangladesh,
in the determination of process plans was first presented by Niebel (1965). Variant Approach: The variant approach, also known as the retrieval approach, can be regarded as an advanced manual approach in which the planners memory retrieval process is aided by the computer. In other words, the planners workbook is stored in the computer file (Lee, 1999). The first developed CAPP system, named CAPP (CAM-I Automated Process Planning), was a variant system (Link, 1976; Chang and Wysk, 1985). Houtzeel (1976) utilized the variant approach, where parts firstly are grouped into families considering their geometric or manufacturing similarities and a unique code is assigned for each family
P a g e | 17
which can identify 3D feature of a part from its 2D CAD views. Pande and Prabhu (1990) discussed an expert system for automatic extraction of machining features both the internal and external from 2D drawing. Here, the internal features are drawn using dashed line to separate them from external features. Aslan et al. (1999) described a feature extraction method from 2D drawing in which only external features can be recognized. Object-Oriented Approach to Process Planning: IICT (Pressman, 2001) mentioned that throughout the 1990s, object-oriented software engineering became the paradigm of choice for many software product builders and a growing number of information systems and engineering professionals. In addition, object-oriented systems are easier to adapt and easier to scale (i.e., large systems can be created by assembling reusable subsystems) (Pressman, 2001). The use of object-oriented approach is reported in the literature in different areas of application. Wong and Wong (1995) described the development of an object-oriented feature-based design system where the geometric information of a feature is stored in feature object while drawing the feature and this feature object can be used in assisting process planning. Naish (1996) developed a system module which models cutting process capabilities by using object-oriented technique and this module forms a part of a computer aided process planning system within an integrated concurrent engineering system. Marefat and Britanik (1996) focused on the development of a case-based process planner based on semi-generative process planning approach which used object to represent the knowledge of the system. Law, et al. (2001) proposed an object-oriented model of a CAPP system for the manufacturing of circuit boards which represents process constraints and planning knowledge as objects. II. FEATURE BASED CAM SYSTEM In spite of using advanced manufacturing and automation technology the link, between CAD and CAM systems, is still not as integrated as desired. The process planning stage, which consists of the explanation of design drawings, is seen as a hindrance in the flow of information between CAD and CAM. An intelligent interface between CAD and CAPP systems is imperative because the CAPP systems depend on correct data obtained from CAD systems to perform precise process planning (Zeid, 2002). Figure 2 shows flow diagram for automatic feature recognition. There have been many previous attempts to recognize form features for manufacturing purposes, which can be broadly categorized into three areas: Rule-based, Graph based and Neural Network-based systems.
P a g e | 18
Figure 2: Flow Diagram for Automatic Feature Recognition A. Developed System CNC part programs are derived automatically using automatic feature recognition from 2D drawings in this system. The CAD model of the component including half of the 2D upper profile to be turned has to be designed in any CAD environment and be converted to DXF data structure to accomplish the feature recognition process of the system. Part programs have been derived appropriate to the Fanuc O-T control system. This system was prepared using Delphi version 7. In addition, the system is supported with material and cutting tool database prepared according to the Sandvik Cormorant catalogue. The system is composed of three important modules, file reading, feature recognition and tool path planning. The General structure of the system is shown in Figure 3. DXF Date Structure File Reading System Feature Recognition System Tool Path Planning System CNC Part Program Figure 3: Structure of the System File Reading System: After data input into the system using DXF format a set of processes is done automatically according to a specific hierarchy. Firstly, the features in the drawing are found and defined to the system. After these processes, all coordinates of the features are sequenced according to their start points and transferred to the origin. Finally the shape of the work piece is drawn with the program with its sub symmetry. Feature Recognition System: Owing to the fact that the rotational parts are symmetrical along their axis, designing their processes can be done according to the symmetry axis so the feature recognition process is performed on the symmetry axis. Features including rotational parts could be classified as outside features and inside features according to machining attributes. Each feature in these figures could be used in recognition of turning operations such as long turning, grooving, drilling and boring. Tool Path Planning System: In this stage operations are executed as external and internal processes (such as grooving and boring) by the developed system according to feature characteristics after whole recognitions. General turning operations to be done from the length or outside diameter of the part are made depending on the raw material sizes or the operator according to minimum and maximum measures taken from DXF data. Face and long turning operations are made according to differences between these minimum maximum and raw material sizes. The method of profile recognition and necessary tool paths are shown in Figure 4. The figures under the geometry represent the number of feature sequence and the figures on top of the geometry represent the number of the feature.
P a g e | 19
comments which caused difficulty when they introduced mathematical calculations so they use square parentheses for macro calculations; they now have nano technology recently in 32-bit mode but in the Fanuc 15MB control they introduced HPCC (high-precision contour control) which uses a 64-bit RISC processor and this now has a 500 block buffer for look-ahead for correct shape contouring and surfacing of small block programs and 5-axis continuous machining. This is also used for NURBS to be able to work closely with industrial designers and the systems that are used to design flowing surfaces. The NURBS has its origins from the ship building industry and is described by using a knot and a weight as for bending steamed wooden planks and beams. G-codes are also called preparatory codes, and are any word in a CNC program that begins with the letter 'G'. Generally it is a code telling the machine tool what type of action to perform, such as: 1. Rapid move 2. Controlled feed move in a straight line or arc 3. Series of controlled feed moves that would result in a hole being bored, a workpiece cut (routed) to a specific dimension, or a decorative profile shape added to the edge of a workpiece. 4. Change a pallet 5. Set tool information such as offset. Some G words alter the state of the machine so that it changes from cutting straight lines to cutting arcs. Other G words cause the interpretation of numbers as millimeters rather than inches.
P a g e | 20
CASE STUDY
Figure: 6 Profile Without Fillet 9. As cutting is starting from some far from the For this profile first part zero is determined. Here part zero workpiece thus for rapid positioning cutting tool is is at point (4, 10). Then for absolute positioning other points positioned in the position at +2 in X axis and -2 in are determined from the vertex coordinate system. Points y axis from point(in this case (40, 15)). found from vertex coordinate system are (40, 10), (40, 15), 10. For this case starting point is (42, 13). (38, 17), (28, 17), (22, 21) and (4, 21). From those points least value of X coordinate and least value of Y coordinate is determined which is found to be (4, 10). So by subtracting the value of X and Y from all the coordinates conversion from global to local system is made. Steps to generate G-Code from DXF file format: 1. 2. 3. 4. 5. 6. 7. 8. Drawing is saved in DXF format. From large list of data ENTITIES is to be found From ENTITIES several features are identified Every line is start with AcDbLine and ends with a character 0 Xstart is shown by 10 and Ystart is by 20 Xend is shown by 11 and Yend is by 21 Lowest value of X and Y is determined and is set to origin of the coordinate by subtracting them from all the coordinates. Generation of G-Code is executed from the highest value of x at which the value of Y is no equal to the value of coordinate origin value of Y. there is such one point, in this case this value is (40, 15)
11. For G-Code representation X axis of the coordinate system is represented as Z and Y axis of coordinate system is as X. The Codes used is elaborated later in the chapter. So for initial rapid positioning Gcode is G00. The formulae used to define is as following (X-Xorigin) = Xstart Represented as Z. (Y-Yorigin) 2 = diameter Represented as X So after rapid positioning first line become G 00 Z 38 X 6 12. Then linear interpolation is made with respect to descending order of X axis coordinate in the DXF file 10, 11 commands. So next line in G-code become G 01 Z 34 X 14 Similarly next interpolation is made by the formulae.
P a g e | 21
Figure 7: DXF Format for Profile without Fillet B. Profile with Fillet
Figure 8: Profile with Fillet For this profile first part zero is determined. Here part zero is at point (10, 10). Then for absolute positioning other points are determined from the vertex coordinate system. Points found from vertex coordinate system are (40, 10), (40, 15), (38, 17), (31, 17), (28, 20), (28, 22), (26, 24) and (10, 24). From those points least value of X coordinate and least value of Y coordinate is determined which is found to be (10, 10). So by subtracting the value of X and Y from all the coordinates conversion from global to local system is made. Profile with fillet needs to consider extra features. For those features extra calculation and idea is generated. Steps to generate G-Code from DXF file format: 1. 2. 3. 4. 5. 6. Drawing is saved in DXF format. From large list of data ENTITIES is to be found From ENTITIES several features are identified Every line is start with AcDbLine and ends with a character 0 Xstart is shown by 10 and Ystart is by 20 Xend is shown by 11 and Yend is by 21 7. 8. Lowest value of X and Y is determined and is set to origin of the coordinate by subtracting them from all the coordinates. Generation of G-Code is executed from the highest value of x at which the value of Y is no equal to the value of coordinate origin value of Y. there is such one point, in this case this value is (40, 15)
9.
As cutting is starting from some far from the workpiece thus for rapid positioning cutting tool is
P a g e | 22
positioned in the position at +2 in X axis and -2 in y axis from the first point(in this case (40, 15)). 10. For this case starting point is (42, 13).
11. For G-Code representation X axis of the coordinate system is represented as Z and Y axis of coordinate system is as X. The Codes used is elaborated later in the chapter. So for initial rapid positioning Gcode is G00. The formulae used to define is as following (X-Xorigin) = Xstart Represented as Z. (Y-Yorigin) 2 = diameteRepresented as X So after rapid positioning first line become
So for corresponding G-code for clockwise circular interpolation is G02 and for counterclockwise circular interpolation is G03.
15. For this sample problem for first fillet which is clockwise and following G-code is obtained for the input of DXF file. G02 Z18 X20 R 3 16. For this sample problem for second fillet which is counterclockwise and following G-code is obtained for the input of DXF file. G03 Z16 X28 R 2 After linear interpolation when there is some gap program understand it as fillet and by the descending order of X coordinate it arrange the Gcode command. Similarly circular interpolation is done for all AcDb Circle command.
P a g e | 23
IV.
CONCLUSION research, Computers in Industry, vol. 34, pp. 307337. Chang, T. C. and Wysk, R. A, (1985), In troduction to Automated Process Planning System, Prentice-Hall International Inc., pp 165181. ElMaraghy, H. A., (1993), Ev olution and future perspectives of CAPP, Annals of CIRP, vol. 42(2), pp. 1-13. Groover, M. P., (1987), Automation, production systems and computer integrated manufacturing, Prentice-Hall International Inc., pp 721. Gindy, N. N. Z., (1989), A hierarchical structure for form features, International Journal of Production Research, vol. 27, no. 12, pp. 20892103. Han, J. H., Pratt, M. and Regli, W. C., (2000), M anufacturing feature recognition from solid models: a status report, IEEE Transactions on Robotics and Automation, vol. 16, no. 6, December. Houtzeel, A., (1976), T he MICLASS system, Proceedings of CAM-Is Executive Seminar Coding, Classification and Group Technology for Automated Planning, p-76-ppp01, CAM-I, Arlington, TX, USA. Kanai, S., Sugawara, M., Kishinami, T. and Saito, K., (1988), The flexible process planning by combining the advanced CAPP, CAM and measuring system, 16th North American Manufacturing Research Conference Proceedings, University of Illinois, Urbana, Illinois, May 24-27. Marefat, M. and Britanik, J, (1996), Automated reuse of solutions in manufacturing process planning through a case-based approach, Proceedings of the 1996 ASME Design Engineering Technical Conference and Computers
Computer-Integrated Manufacturing has gained recognition as a most effective tool in increasing manufacturing competitiveness. The paper provides a rigorous basis for the understanding of process planning of rotational parts and the development of effective and efficient Computer-Aided Process Planning systems. This paper defined CAPP module for data transmissions which is based on information received from the computer aided design of the products and on the technological database with information on technological equipment, devices and cutting tools. Realizing the CAPP module for data transmissions has led to an increase of the flexibility and correctness of the technological planning, having favorable influences on the manufacturing costs. IV. REFERENCES 1) Alting, L. and Zhang, H. C., (1989), Com puter aided process planning: the state-of-the-art survey, International Journal of Production Research, vol. 27(4), pp. 553 585. 2) Alam, M. R., Lee, K. S., Rahman, M. and Zhang, Y. F., (2000), Au tomated process planning for the manufacture of sliders, Computers in Industry, vol. 43, pp. 249-262. 3) Aslan, E., Seker, U and Alpdemir, N., (1999), Dataextraction from CAD model for rotational parts to be machined at turning centres, Journal of Engineering and Environmental Science, vol. 23, pp. 339-347. 4) Atkinson, A., (1991), Manufacturing parts features: CIMs technological common denominator, Integrated Production Systems Design, Planning, Control and Scheduling, fourth edition, Institute of Industrial Engineers, Norcross, Georgia. 5) Cay, F. and Chassapis, C., (1997), An IT view on perspectives of computer aided process planning
6)
7) 8) 9)
10)
11)
12)
13)
P a g e | 24
14)
15) 16)
17) 18)
19) 20)
in Engineering Conference, Irvine, California, August 18-22. Naish, J. C., (1996) P rocess capability modeling in an integrated concurrent engineering system the feature-oriented capability module, Journal of Materials Processing Technology, vol. 61, pp. 124 129. Niebel, B. W., (1965), M echanized process selection for planning new designs, ASME, paper no. 737 Pande, S. S. and Prabhu, B. S., (1990) A n expert system for automatic extraction of machining features and tooling selection for automats, Computer Aided Engineering Journal, pp. 99-103, August. Pressman, R. S., (2001) S oftware engineering a practitioners approach, McGraw Hill, 5th Edition. Law, H. W., Tam, H. Y., Chan, A. H. S. and Hui, I. K., (2001), Object -oriented knowledge-based computer-aided process planning system for bare circuit boards manufacturing, Computers in Industry, vol. 45, pp. 137 153. Lee, K., (1999), P rinciples of CAD/CAM/CAE Systems, Addison-Wesley, pp. 294-304. Lee, K. S., Alam, M. R., Rahman, M. and Zhang, Y. F., (2001), Au tomated process planning for the manufacture of lifters, The International Journal of Advanced Manufacturing Technology, vol. 17, pp. 727-734.