Chapter 9-CNC Machine Tools
Chapter 9-CNC Machine Tools
9.1. OVERVIEW
1
9.1. Overview
Cam-controlled Automatic
Machine Tools
2
9.1. Overview
It is known as the machine which is controlled It is known as the machine which is used to control
by the set of instructions in the form of the motions of the work piece and tool with the help
8
numbers, letters and symbols. The set of of prepared program in computer. The program is
instructions is called as program. written in alphanumeric data.
9 It is not possible to run it continuously. It can be run continuously for 24 hours of a day.
6
9.2. OPERATIONAL FEATURES of CNC MACHINES
Machining cost
CNC machine
tools
Automatic
machine tools
a A B
N Number of parts
a: Initial cost of Automatic
machine tools Machining cost in CNC and
automatic machine tools 7
9.2. OPERATIONAL FEATURES of CNC MACHINES
Conventional
a) Conventional Machine tools Machinist
Machine tools
b) NC Machine tools
Machinist
c) CNC Machine tools
Machinist
8
Advantages/Disadvantages
Advantages
• High Repeatability and Precision e.g. machining Aircraft parts
• Complex contours/surfaces need to be machined, etc
• Flexibility in job change, automatic tool settings
• More safe, higher productivity, better quality
• Less paper work, faster prototype production, reduction in lead time
Disadvantages
9
Elements of a CNC machine
1. Input device
2. Machine control unit
3. Machine tool
4. Driving system
5. Feedback device
6. Display unit
10
Application of CNC Machine Tools
Some common types of CNC machines and instruments used in
industry are as following:
CNC Drilling machines
CNC Lathe / turning centers
CNC Milling and machining centers
CNC electrical discharge machining (EDM)
CNC grinding machines
CNC cutting machines (laser, plasma, electron, or flame)
CNC welding machines
CNC fabrication machines (sheet metal punch press, bending
machine …)
CNC Coordinate measuring machines
…….. 11
Application of CNC Machine Tools
12
Application of CNC Machine Tools
14
Application of CNC Machine Tools
15
Application of CNC Machine Tools
Manufacturing Cell
Manufacturing cells are groups of machinery that are grouped in a way that
makes the manufacturing process more efficient. In other words, they are stations
where the layout of machinery is based on flow rather than machine type.
These cells are used in organizations who engage in cellular manufacturing in
an effort to reduce waste and be leaner 16
Application of CNC Machine Tools
DNC (Direct Numerical Control or Distibuted Numerical Control)
Machining
process
Adaptive Measure
variables Sensor
Constraints
Strategy Diagram of ANC (Adaptive Numerical Control)
Performance index
An adaptive control system is one in which the controller parameters are
adjusted automatically to compensate for changing process conditions 18
Application of CNC Machine Tools
ANC (Adaptive Numerical Control)
19
Application of CNC Machine Tools
FMS (Flexible Manufacturing System)
23
9.3. Basic principles in NC and CNC machine tools
The two most common axis types are linear (driven along a
straight path) and rotary (driven along a circular path).
Motion can be resolved into 6 axes, namely, 3 linear axes (X,
Y, and Z axis) and rotary axes (A, B and C axis).
Z+
X+
Y+
+A +Y +B
+X
+A
27
9.5. Basic principles in NC and CNC machine tools
29
5-axes CNC vertical milling machine
30
5-axes CNC horizontal milling machine
31
Reference points on a NC controlled machine
Machine zero point (M)
It is the point of the CNC machine tool fixed by the manufacturer. It
is always located the same position of the machine tool.
Work Piece Zero Point (W)
This point determines the work piece coordinate system in relation
to the CNC system when setting up the machine.
Program zero point (P)
It is the point which is selected for programming. In theory, the
program zero point may be selected literally anywhere.
32
Basic Length Unit (BLU)
Each BLU unit corresponds to the position resolution of the axis of motion.
For example, 1 BLU = 0,002mm means that the axis will move 0,002mm for
every one electrical pulse received by the motor. The BLU is also referred
to as Bit (binary digit).
Resolution = BLU = Bit
33
The architecture of NC machine tools and machining operation flow
The task flow that is needed for producing a part using an NC machine. The
tasks can be classified as the following three types:
1. Offline tasks
2. Online tasks
3. Post-line tasks
34
The architecture of NC machine tools and machining operation flow
1. Offline tasks: are needed to generate a part program for controlling an
NC machine.
In the online stage, the status of the machine and machining process may be
monitored during machining. Actually, tool-breakage detection, compensation of
thermal deformation, adaptive control, and compensation of tool deflection
based on monitoring of cutting force, heat, and electric current are applied
during machining. On-Machine Measurement is also used to calculate
machining error by inspecting the finished part on the machine, returning
machining errors to NC to carry out compensation.
36
The architecture of NC machine tools and machining operation flow
3. Postline task: is to carry out CAI (Computer Aided Inspection), inspecting
the finished part.
In this stage, inspection using a CMM (Coordinate Measurement Machine) is
used to make a comparison between the result and the geometry model in
order to perform compensation.
The compensation is executed by modifying tool or by doing post-operations
such as re-machining and grinding.
37
Some calculations about the working unit of a NC control system
The stepper motor is driven by a series of electrical pulses generated by the
MCU. Each pulse causes the motor to rotate a fraction of one revolution
Parameters of stepper motor
1. Number of steps S
3600
2. Step angle (degrees): =
S 1
3. Motor revolution per pulse nmp (revolution per pulse): nmp =
S 60.f
4. The revolution number nm of the motor per minute (rpm): nm =
S
In which f is the pulse frequency or pulse rate (Hz or pulses per second)
5. The total number of pulses N that motor receives for travelling the table
38
Parameters of working unit of a NC machine
1. Leadscrew pitch T (mm)
2. The table speed V (mm/m): V = nlead . T
In which nlead is revolution number of leadscrew (rpm)
3. Resolution or BLU (mm) of NC machine
a. Direct transmission
T
BLU =
S
The revolution number nsp of the spindle per minute (rpm): nsp = nm . i
in which i is belt (or gear) transmission ratio
40
Some calculations about the working unit of a NC control system
Each BLU unit corresponds to the position resolution of the axis of motion.
Vt 375
The revolution number nm of the motor: nm = = = 75 rpm
T 5
S x nm 400x75
2. The pulse frequency f : f = = = 500 Hz
60 60
42
Some calculations about the working unit of a NC control system
Example 3: A NC milling machine has to cut a slot located between the points
A(10,10) and B(40,50) on the XY-plane. Y B(XB,YB)
L 50
The cutting time t: t= = = 25 seconds
V 2
LX 30
The axial velocities V: X-direction VX = .V= . 2 = 1,2 mm/sec
L 50
LY 40
Y-direction VY = .V= . 2 = 1,6 mm/sec
L 50
43
Some calculations about the working unit of a NC control system
Example 3: A NC milling machine has to cut a slot located between the points
A(10,10) and B(40,50) on the XY-plane. Y B(40,50)
LX = T . VX = 25 x 1,08 = 27 mm
44
Example 4: Consider a CNC worktable driven by a closed-loop control system
consisting of a servomotor, leadscrew, and optical encoder. The leadscrew has
a pitch T = 5 mm and is coupled to the motor shaft with a screw to motor gear
ratio of 1:4. The encoder generates S = 200 pulses per revolution of the
leadscrew. If the total number of pulses and the pulse rate received by the
control system are N = 3000 and f = 200 Hz respectively, calculate:
1. Table speed V in mm/m
2. Motor speed in rpm
3. Distance traveled by the table L
Answer
60.f 200x60
The revolution number nlead of leadscrew: nlead = = = 60 rpm
S 200
1. The table speed V: V = nlead . T = 60 x 5 = 300 mm/m
2. The revolution number nm of the motor: nm = 60 x 4 = 240 rpm
The total number of leadscrew revolutions Nlead :
N 3000
Nlead = = = 15 revolutions
S 200
3. The table distance traveled: L = T . Nlead = 5 x 15 = 75 mm
45
Example 5: A DC servomotor is coupled to a leadscrew which drives the table
of a CNC machine tool. A digital encoder, mounted at the end of the screw,
emits S = 500 pulses per revolution. If the pitch is T = 5 mm per rev, and the
motor rotates 600 rpm (i = 1:1 gear ratio), calculate:
1. Table speed V (mm/m)
2. BLU
3. Frequency of pulses transmitted by the encorder
Answer
The revolution number nlead of leadscrew: nlead = nm = 600 rpm (i = 1:1)
Answer
48
Three critical measures of precision are:
1. Resolution
2. Accuracy
3. Repeatability
The difference between the accuracy and the repeatability.
The deviation from the control point (error) usually follows a normal
distribution in which case the repeatability may be given as 3 where is the
standard deviation. The repeatability is always better than the accuracy. The
mechanical inaccuracy can be considered as the repeatability.
51
Example 7: What is the control resolution of a NC system with a belt drive
(Driving pulley D1 = 300 mm, Driven pulley D2 = 80 mm), pitch of leadscrew T
= 6 mm/rev, and the DC step motor receives S = 800 pulses per revolution.
What would be the accuracy and repeatability if the machining inaccuracy is
about (1/2)BLU ?
Answer
D1 300
i : belt transmission ratio i = = = 3,75
D2 80
T 6
BLU = = = 0,002 mm
S . i 800 x 3,75