CAM Lecture
CAM Lecture
CAM
MANUFACTURING ENGINEERING
Dr. Maqsood Ahmed Khan
Associate Professor & Co Chairman, IMD
COURSE PLAN
Topic Conventional Numerical Control NC Part Programming Computer Numerical Control Midterm Exam Group Technology and FMS Process Planning CAD/CAM Software Lectures 02 03 02 01 03 02 03
Software: CATIA V5 (R18) ; Matlab R2008a Marks Distribution: 1. Final theory paper = 60 Marks 2. Sessional Marks i. Attendance = 10 ii. Midterm Exam = 15 iii. Project = 15 40 Marks
7/6/2012
BOOKS
CAD/CAM
1.
CAD/CAM is a term which means computer-aided design and computer-aided manufacturing. It is the technology concerned with the use of digital computers to perform certain functions in design and production. It is a bridge between design and manufacturing.
2.
3.
Definition-CAM Computer-aided manufacturing (CAM) can be defined as the use of computer systems to plan, manage, and control the operations of a manufacturing plant through either direct or indirect computer interface with the plants production resources.
7/6/2012
7/6/2012
Numerical control part programming by computers Computer-automated process planning Computer-generated work standard Production scheduling Material requirement planning Shop floor control (detailed management of activities and the flow of materials inside the plant - including the workers, materials, machines and time)
7/6/2012
7/6/2012
7/6/2012
7/6/2012
Program of instruction Machine control unit (MCU) Machine tool or other controlled process
7/6/2012
7/6/2012
Manual data input (MDI) Direct link with the computer (DNC)
Controller Unit
The second basic component of the NC system is the controller unit. This consists of the electronics and hardware that read and interpret the program of instructions and convert it into mechanical actions of the machine.
Machine tool
The third basic component of an NC system is the machine tool.
10
7/6/2012
THE NC PROCEDURE
Process Planning Part Programming
1. 2.
NC COORDINATE SYSTEM
In order for the part programmer to plan the sequence of positions and movements of the cutting tool relative to the work-piece, it is necessary to establish a standard axis system. All the machine tools make use of Cartesian coordinate system for the sake of simplicity. The familiar right hand coordinate system is used for designating the axes In addition to the three linear axes, milling machine may have the capacity to control one or more rotational axes.
11
7/6/2012
Fixed zero
The origin is always located at the same position on the machine table. Usually, the position is the lower left-hand corner of the table and all tool locations are defined by positive x & y coordinates.
12
7/6/2012
Target point
13
7/6/2012
Point-to-point NC
Sometimes it is also called a positioning system. The objective of machine tool control system is to move the cutting tool to a predefined location.
Straight-cut NC
Straight cut control systems are capable of moving the cutting tool parallel to one of the major axis at a controlled rate suitable for machining.
3-Axis Contouring NC
It can control three axis simultaneously. Suitable for machining 3D complex profiles encountered in industrial practice such as aerospace components, mould and dies etc.
14
7/6/2012
INTERPOLATION METHODS
The selection of appropriate interpolation method is important for 2 and 3 axis contouring jobs. The paths that a contouring-type NC system is required to machine often consist of circular arcs and other smooth nonlinear shapes. Some of these shapes can be defined mathematically by relatively simple geometric formulas. Whereas others cannot be mathematically defined except by approximation. In any case, a fundamental problem in generating these shapes using NC equipment is that these shapes are continuous, whereas NC is digital. To solve this problem the path (circle or any other free form curve) must be divided into a series of straight line segments that approximate the path.
15
7/6/2012
INTERPOLATION METHODS
The tool is commanded to machine each line segment in succession so that the machined path closely matches the desired path. The maximum error between the nominal (desired) surface and the actual (machined) surface can be controlled by the lengths of the individual line segments,
INTERPOLATION METHODS
If the programmer were required to specify the endpoints for each of the line segments (to machine along a curve), the programming task would be extremely laborious and likely to errors. Also, the part program would be extremely long because of the large number of points. To ease the burden, interpolation routines have been developed that calculate the intermediate points to be followed by the cutter to generate a particular mathematically defined or approximated path. A number of interpolation methods are available to deal with smooth continuous path in contouring. 1. Linear interpolation 2. Circular interpolation 3. Helical interpolation 4. Parabolic interpolation 5. Cubic interpolation
16
7/6/2012
INTERPOLATION METHODS
Linear interpolation: This is the most basic and used method when a straight line path is to be generated in continuous path NC. The programmer specifies the beginning point and end point of the straight line and the feed rate to be used along the straight line. The interpolator computes the feed rates for each of the two (or three) axes to achieve the specified feed rate. Circular interpolation: This method permits programming of a circular arc by specifying the following parameters: (1) the coordinates of the starting point, (2) the coordinates of the endpoint, (3) either the center or radius of the arc. The generated tool path consists of a series of small straight line segments calculated by the interpolation module.
INTERPOLATION METHODS
Helical interpolation: This method combines the circular interpolation scheme for two axes described above with linear movement of a third axis. This permits the definition of a helical path in three-dimensional space. Applications Include the machining of large Internal threads. Parabolic and cubic interpolation: These routines provide approximations of free form curves using higher order equations. Most applications are in the aerospace and automotive Industries for free form designs that cannot accurately and conveniently be approximated by combining linear and circular interpolations
17
7/6/2012
Absolute system
It is always defined with respect to the zero point.
Incremental system
It is defined with reference to the previous tool location.
18
7/6/2012
19
7/6/2012
20
7/6/2012
EXAMPLE
Suppose that the part to be programmed is a drilling job. The engineering drawings for the part is presented in the figure. Three holes are to be drilled at a diameter of 0.484-in. The close hole size tolerance requires reaming to 0.5-in dia. Recommended parameters are as follows: Speed (rpm) 0.484-in dia. drill 0.5-in dia. reamer 592 382 Feed (in/min) 3.55 3.82
Drill bits are manually changed by the machine operator. The machine has the floating-zero feature and absolute positioning.
21
7/6/2012
22
7/6/2012
23
7/6/2012
24
7/6/2012
Syntax check of the input code to identify errors in format, punctuation, spelling etc. Assigning sequence number to each APT statement. Converting geometry elements into suitable form for computer processing Generating intermediate file called PROFIL that is utilized in subsequent arithmetic calculations
25
7/6/2012
26
7/6/2012
27
7/6/2012
APT LANGUAGES
APT is a three dimensional system that can be used to control up to 5-axes. Our discussion is limited to the more familiar axes, x, y, and z, and excluding the rotational coordinates. APT can be used to control a variety of different machining operations, but we will cover only drilling and milling applications. There are four types of statements in APT language:
1. 2. 3. 4.
GEOMETRIC STATEMENTS
These define the geometric elements that comprise the work-part. The general form of an APT geometry statement is Symbol = geometry type / descriptive data Symbol: To identify the geometric element Geometry type: To identify the type of geometric element (should be APT vocabulary word) Descriptive data: To define the geometric element precisely Example: P1 = POINT / 5.0, 4.0, 0.0
28
7/6/2012
L3 = LINE / P3, P4 L4 = LINE / P5, PARLEL, L3 PL1 = PLANE / P1, P4, P5 PL2 = PLANE / P2, PARLEL, PL1 C1 = CIRCLE / CENTER, P1, RADIUS, 5.0
EXAMPLE
29
7/6/2012
P0 = POINT / 0, -1.0, 0 P1 = POINT / 6.0, 1.125, 0 P2 = POINT / 0, 0, 0 P3 = POINT / 6.0, 0, 0 P4 = POINT / 1.75, 4.5, 0 L1 = LINE / P2, P3 C1 = CIRCLE / CENTER, P1, RADIUS, 1.125 L2 = LINE / P4, LEFT, TANTO, C1 L3 = LINE / P2, P4 PL1 = PLANE / P2, P3, P4
MOTION STATEMENTS
The general form of motion statement is motion command/ descriptive data Example: GOTO/P1 At the beginning of the motion statements, the tool must be given a starting point. The part programmer keys into this starting position with the following statement FROM/TARG
30
7/6/2012
POINT-TO-POINT MOTIONS
There are only two basic PTP motion commands:
1. 2.
GOTO GODLTA
The GOTO statement instructs the tool to go to a particular point location. GOTO/2.0, 7.0, 0.0 The GODLTA command specifies an incremental move for the tool. Example: GODLTA/ 2.0, 7.0, 0.0
EXAMPLE
P1=POINT/1.0, 2.0, 0 P2 = POINT/1.0, 1.0, 0 P3 = POINT/3.5, 1.5, 0 P0 = POINT/-1.0, 3.0, 2.0 FROM/P0 GOTO/P1 GODLTA/0, 0, -1.0 GODLTA/0, 0, +1.0 GOTO/P2 GODLTA/0, 0, -1.0 GODLTA/0, 0, +1.0 GOTO/P3 GODLTA/0, 0, -1.0 GODLTA/0, 0, +1.0 GOTO/P0
31