SlideShare a Scribd company logo
Computer Numerical Control
Sudip Phuyal
MS by Research
Dept. of Electrical and Electronics Engineering
Sunday, June 24, 2018
• Introduction to CNC
• Types of CNC machines
• Numerical Control Coordinate System
• CNC controller
• Part Programming for CNC
• Direct Numerical Control
• Applications of CNC
• Adaptive control machining and developments
Contents
Introduction
• CNC (Computer Numerical Control) is the
name received to machines that are able to
position a tool without human assistance
• To position the tool, CNC machines have an
interpreter that translate a series of
instructions (G-Code) to electronic orders
(for example, step and direction signals)
Introduction
Fig: Machine Control System
We can classify these machines by:
• Number of axis
• Tool used
• Control system
• Motion system
There are other variable elements in a CNC machine, but these
elements don’t change the way our machine works (for example the
materials used to build it).
Types of CNC machines
1. Two axis machines
They are two axis machines work like a plotter
Classification based on number of axis
2. Three axis CNC Machines
Classification based on number of axis
They are commonly used in
wood carving and 3D
modelling
3. Four or more axis
With four or more axis we can orientate the tool, adding more
possibilities of machining:
Classification based on number of axis
They are more popular
in CNC Lathes for
metalworks
Tools
Spindle Plasma CutterLaser Cutter
• We can use a open loop or closed loop control system
• Open loop uses stepper motors to reach a position. We’ll study them
later.
Control system
• When we use DC, AC or lineal motors we have to use a closed loop
control system
• To capture the position of the tool we need an encoder for each axis,
increasing total cost
• Most CNC machines use stepper motors due to their low cost and
high precision (0.9º per steep
Control system
• There are two type of motion elements:
• Active elements: They transmit movement from position motors to mobile
elements
• Passive elements: They act like a guide or rail for mobile elements
Motion system
Motion system
Leadscrews
Ballscrews
Rack and pinion
Belts
Linear and radial bearings
Stepper motor
Motion Actuators
• AC or DC motors are less used in CNC machines than stepper
motors due to requirement of encoders,
• Linear motors are not suitable for heavy loads and are expensive
AC or DC motor Linear motors
Numerical Control
• Programmable automation in which the mechanical actions of a
‘machine tool’ are controlled by a program containing coded
alphanumeric data that represents relative positions between a work
head (e.g., cutting tool) and a work part
Machine
Control Unit
Power
Program
Instructions
Transformation
Process
NC Co-ordinate System
Fig: NC Co-ordinate system [5]
For flat and prismatic (block-like) parts:
• Milling and drilling operations
• Conventional Cartesian coordinate system
• Rotational axes about each linear axis
For rotational parts:
• Turning operations
• Only x- and z-axes
Motion Control Systems
Point-to-Point systems
• Also called position systems
• System moves to a location and performs an
operation at that location (e.g., drilling)
• Also applicable in robotics
Continuous path systems
• Also called contouring systems in machining
• System performs an operation during movement
(e.g., milling and turning)
Fig: Motion Control systems [5]
• It has to receive a list of G-code instructions and translate it to
electronic signals
• These electronics signals are sent to motor controllers. These
controllers act like a power stage, amplifying and translating the
signals that motors will receive
CNC Motor controller
Programming a CNC
• The code used to program CNC machines is generically called Part
Programming
• G-code instructions are the major part of the programming language
• Specifically, G-codes give CNC machines the coordinates from which
to hold and engage the machining tool in order to cut and shape
metal to certain specifications.
• The entire series of codes used to operate CNC machines also include
M-codes and T-Codes, which manage the CNC machine and drill tool,
respectively. Tooling speed and feed controls are dictated by S-Codes
and F-Codes, while X, Y, and Z-codes determine absolute position.
G-code (Geometric code)
Part Programming Key Letters
O - Program number (Used for program identification)
N – Sequence / Line number (Used for line identification)
G - Motion
X,Y,Z - Axis designation
R - Radius designation
F – Feed rate designation
S - Spindle speed designation
T - Tool Designation
H - Tool length offset designation
D - Tool radius offset designation
M - Miscellaneous function
Motion instructions (G Codes)
G00 – Positioning at rapid
speed
G01 – Linear interpolation
(machining a straight line)
G02 – CW Circular
interpolation (machining arcs)
G03 – CCW Circular
interpolation
G09 – Exact stop
G12 – Circular pocket milling, CW
G13 – Circular pocket milling, CCW
G17 – X-Y plane for arc machining
G18 – Z-X plane for arc machining
G19 – Z-Y plane for arc machining
G20 – Imperial units (Inch)
G21 – Metric units (mm)
Miscellaneous functions (M Codes)
M00 – Program stop
M01 – Optional program stop
M02 – End of program
M03 – Spindle on clockwise
M04 – Spindle on CCW
M05 – Spindle stop
M06 – Tool change
M08 – Flood coolant on
M09 – Flood coolant off
M30 – End of program/return to
start
M41 – Spindle low gear range
M42 – Spindle high gear range
Sample Part Programming
O1284 (Program number)
N02 G21 (Metric programming)
N03 M03 S1000
(Spindle start clockwise with
1000rpm)
N04 G00 X0 Y0 (Rapid motion towards (0,0))
N05 G00 Z-10.0
(Rapid motion towards Z=-10
plane)
N06 G01 X50.0 (Linear interpolation)
N07 G01 Y20.0 (Linear interpolation)
N08 G02 X25.0 Y45.0 R25.0
(Circular interpolation
clockwise)
N09 G03 X-25.0 Y45.0 R25.0
(Circular interpolation
counter clockwise)
N10 G02 X-50.0 Y20.0 R25.0
(Circular interpolation
clockwise)
N11 G01 Y0.0 (Linear interpolation)
N12 G01 X0.0 (Linear interpolation)
N13 G00 Z10.0
(Rapid motion towards
Z=10 plane)
N14 M05 M09
(Spindle stop and
program end)
Direct Numerical Control (DNC)
• Direct Numerical Control or Distributed Numerical Control (DNC) is a
common manufacturing term for networking CNC machine tools
consisting of central computer connected to machine tool MCUs
• In some CNC machine controllers, the available memory is too small
to contain the machining program (for example machining complex
surfaces), in this case the program is stored in a separate computer
and sent directly to the machine, one block at a time
• DNC networking or DNC communication is always required
when CAM programs are to run on some CNC machine control
• Usually, the CNC manufacturer provides suitable DNC software
Direct Numerical Control (DNC)
Machine
Control Unit
Transformation
Process
Machine
Control Unit
Machine
Control Unit
Central
Computer NC Pgms
BTR BTR BTR
Computer Network
Fig: Distributed / Direct Numerical Control [6]
Applications of CNC
• Batch and High Volume production
• Repeat and/or Repetitive orders
• Complex part geometries
• Mundane operations
• Many separate operations on one part
Adaptive Control Machining
NC System
CNC Machine
Tool
Sensors
Adaptive
Controller
Part Program
Constraints, Strategy and
Performance Index
Drive
Command
Position
Command
Fig: Block diagram of adaptive control Machining
Adaptive Control Machining
• It is a logical extension of the CNC-mechanism
• In CNC mechanism the cutting speed and feed rates are prescribed by
the part programmer
• Adaptive control determines proper speeds and feeds during
machining as a function of variation in work piece hardness, width of
cut, air gaps in part geometry etc.
• there is improvement in the production rate and reduction in the
machining cost as a result of calculating and setting of optimal
parameters during machining
• Recent adaptive control uses microprocessor based controls and is
typically integrated with an existing CNC system [7]
Functions of adaptive Control
The three functions of adaptive control are:
1. Identification
Using the feedback data from the process performance quality of the system is
identified
2. Decision
Once the system performance is determined, the decision is carried out by
comparison with pre-programmed logic provided by the designer
3. Modification
Modification is concerned with a physical or mechanical change in the system
Developments in Computer Numerical Control
• Computer Aided Manufacturing (CAM) is widely implemented
• Adaptive control machining Increased production rates, Increased
tool life, Greater part protection and Less operator intervention
• Direct Numerical Control reduced the required memory size of CNC
machine controllers and distributed control of many CNCs in the same
network
• Laser cutting, Plasma Cutting and 3D printing technologies are the
latest developments of CNC technology
References
• http://nptel.ac.in/courses/112102103/Module%20F/Module%20F(1)/
p9.htm
• www.editcnc.com
• www.cnctrainingcentre.com
Thank You !

More Related Content

What's hot

Apt programming
Apt programmingApt programming
Apt programming
Vemulapalli Das
 
CNC part programming
CNC part programmingCNC part programming
CNC part programming
jntuhcej
 
3 numerical control
3 numerical control3 numerical control
3 numerical control
shaikusmanshag
 
CNC AND ITS COMPONENTS
CNC AND ITS COMPONENTSCNC AND ITS COMPONENTS
CNC AND ITS COMPONENTS
ananya0122
 
computer numerical control
computer numerical controlcomputer numerical control
computer numerical control
Lalrin Muani
 
COMPUTER NUMERICAL CONTROL MACHINE
COMPUTER NUMERICAL CONTROL MACHINECOMPUTER NUMERICAL CONTROL MACHINE
COMPUTER NUMERICAL CONTROL MACHINE
Gopal Bhargava
 
Cnc machine centre
Cnc machine centreCnc machine centre
Cnc machine centre
Shrikunj Patel
 
Nc part programming
Nc part programmingNc part programming
Nc part programming
Vemulapalli Das
 
FUNDAMENTALS OF CNC & PART PROGRAMMING - UNIT - 4 CAD&M
FUNDAMENTALS OF CNC & PART PROGRAMMING - UNIT - 4 CAD&MFUNDAMENTALS OF CNC & PART PROGRAMMING - UNIT - 4 CAD&M
FUNDAMENTALS OF CNC & PART PROGRAMMING - UNIT - 4 CAD&M
Balamurugan Subburaj
 
Cnc technology
Cnc technology Cnc technology
Cnc technology
ahirehemant
 
Cnc cutting tools
Cnc cutting toolsCnc cutting tools
Cnc cutting toolsRakesh Raki
 
Cnc lab manual
Cnc lab manualCnc lab manual
Cnc lab manual
SubhasgoudPatil
 
Mechanical CNC machine
Mechanical CNC machineMechanical CNC machine
Mechanical CNC machine
Digitech Rathod
 
CNC Turning and Milling centres
CNC Turning and Milling centresCNC Turning and Milling centres
CNC Turning and Milling centres
Achyuth Padmanabh
 
NC, CNC & DNC Machine
NC, CNC & DNC Machine NC, CNC & DNC Machine
NC, CNC & DNC Machine
Nilraj Vasandia
 
CNC Machines and its Components
CNC Machines and its ComponentsCNC Machines and its Components
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASHCNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
Ved Prakash
 
4 tooling in cnc
4 tooling in cnc4 tooling in cnc
4 tooling in cnc
shaikusmanshag
 
Cnc machine training
Cnc machine trainingCnc machine training
Cnc machine training
Working as a Lecturer
 
Chapter 3 CNC turning and machining centers
Chapter 3 CNC turning and machining centersChapter 3 CNC turning and machining centers
Chapter 3 CNC turning and machining centers
RAHUL THAKER
 

What's hot (20)

Apt programming
Apt programmingApt programming
Apt programming
 
CNC part programming
CNC part programmingCNC part programming
CNC part programming
 
3 numerical control
3 numerical control3 numerical control
3 numerical control
 
CNC AND ITS COMPONENTS
CNC AND ITS COMPONENTSCNC AND ITS COMPONENTS
CNC AND ITS COMPONENTS
 
computer numerical control
computer numerical controlcomputer numerical control
computer numerical control
 
COMPUTER NUMERICAL CONTROL MACHINE
COMPUTER NUMERICAL CONTROL MACHINECOMPUTER NUMERICAL CONTROL MACHINE
COMPUTER NUMERICAL CONTROL MACHINE
 
Cnc machine centre
Cnc machine centreCnc machine centre
Cnc machine centre
 
Nc part programming
Nc part programmingNc part programming
Nc part programming
 
FUNDAMENTALS OF CNC & PART PROGRAMMING - UNIT - 4 CAD&M
FUNDAMENTALS OF CNC & PART PROGRAMMING - UNIT - 4 CAD&MFUNDAMENTALS OF CNC & PART PROGRAMMING - UNIT - 4 CAD&M
FUNDAMENTALS OF CNC & PART PROGRAMMING - UNIT - 4 CAD&M
 
Cnc technology
Cnc technology Cnc technology
Cnc technology
 
Cnc cutting tools
Cnc cutting toolsCnc cutting tools
Cnc cutting tools
 
Cnc lab manual
Cnc lab manualCnc lab manual
Cnc lab manual
 
Mechanical CNC machine
Mechanical CNC machineMechanical CNC machine
Mechanical CNC machine
 
CNC Turning and Milling centres
CNC Turning and Milling centresCNC Turning and Milling centres
CNC Turning and Milling centres
 
NC, CNC & DNC Machine
NC, CNC & DNC Machine NC, CNC & DNC Machine
NC, CNC & DNC Machine
 
CNC Machines and its Components
CNC Machines and its ComponentsCNC Machines and its Components
CNC Machines and its Components
 
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASHCNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
CNC(COMPUTER NUMERICAL CONTROL MACHINE) By-Er. VED PRAKASH
 
4 tooling in cnc
4 tooling in cnc4 tooling in cnc
4 tooling in cnc
 
Cnc machine training
Cnc machine trainingCnc machine training
Cnc machine training
 
Chapter 3 CNC turning and machining centers
Chapter 3 CNC turning and machining centersChapter 3 CNC turning and machining centers
Chapter 3 CNC turning and machining centers
 

Similar to Computer numerical control (CNC)

CNC Programmingmodifies examination 1
CNC Programmingmodifies examination 1CNC Programmingmodifies examination 1
CNC Programmingmodifies examination 1Prof. S.Rajendiran
 
Cnc programming basics.doc
Cnc programming basics.docCnc programming basics.doc
Cnc programming basics.doc
Soekarno Revolusi
 
CNC.ppt
CNC.pptCNC.ppt
introduction to cnc machines
 introduction to cnc machines introduction to cnc machines
introduction to cnc machines
STAY CURIOUS
 
CNC Maching.pptx
CNC Maching.pptxCNC Maching.pptx
CNC Maching.pptx
studyall1
 
Introduction to CNC machines.pptx
Introduction to CNC machines.pptxIntroduction to CNC machines.pptx
Introduction to CNC machines.pptx
Dr.M BALA THEJA
 
CNC Training.ppt
CNC Training.pptCNC Training.ppt
CNC Training.ppt
Aniket Verma
 
CNC1 (1).ppt
CNC1 (1).pptCNC1 (1).ppt
CNC1 (1).ppt
WondererBack
 
CNC1.ppt
CNC1.pptCNC1.ppt
CNC1.ppt
WondererBack
 
Cnc pgrming seminar-
Cnc pgrming   seminar-Cnc pgrming   seminar-
Cnc pgrming seminar-
abhipawar123
 
CNC Milling
CNC MillingCNC Milling
CNC Milling
Manpreet Singh
 
CNCPRESENTATION.pdf
CNCPRESENTATION.pdfCNCPRESENTATION.pdf
CNCPRESENTATION.pdf
ZakariaMuhammad9
 
Cncpresentation CNC lathe machine
Cncpresentation CNC lathe machineCncpresentation CNC lathe machine
Cncpresentation CNC lathe machine
Haseeb Butt
 
cnc danish3.pptx
cnc danish3.pptxcnc danish3.pptx
cnc danish3.pptx
AMWANI2
 
Computer numerical control ( CNC )
Computer numerical control  ( CNC )Computer numerical control  ( CNC )
Computer numerical control ( CNC )
BhaveshChaudhari21
 

Similar to Computer numerical control (CNC) (20)

CNC Programmingmodifies examination 1
CNC Programmingmodifies examination 1CNC Programmingmodifies examination 1
CNC Programmingmodifies examination 1
 
Cnc programming basics.doc
Cnc programming basics.docCnc programming basics.doc
Cnc programming basics.doc
 
CNC Programmingmodifies1
CNC Programmingmodifies1CNC Programmingmodifies1
CNC Programmingmodifies1
 
CNC.ppt
CNC.pptCNC.ppt
CNC.ppt
 
introduction to cnc machines
 introduction to cnc machines introduction to cnc machines
introduction to cnc machines
 
CNC Maching.pptx
CNC Maching.pptxCNC Maching.pptx
CNC Maching.pptx
 
CNC1.ppt
CNC1.pptCNC1.ppt
CNC1.ppt
 
Introduction to CNC machines.pptx
Introduction to CNC machines.pptxIntroduction to CNC machines.pptx
Introduction to CNC machines.pptx
 
CNC1.ppt
CNC1.pptCNC1.ppt
CNC1.ppt
 
CNC Training.ppt
CNC Training.pptCNC Training.ppt
CNC Training.ppt
 
Cnc1
Cnc1Cnc1
Cnc1
 
CNC1 (1).ppt
CNC1 (1).pptCNC1 (1).ppt
CNC1 (1).ppt
 
9.pmat m 01
9.pmat m 019.pmat m 01
9.pmat m 01
 
CNC1.ppt
CNC1.pptCNC1.ppt
CNC1.ppt
 
Cnc pgrming seminar-
Cnc pgrming   seminar-Cnc pgrming   seminar-
Cnc pgrming seminar-
 
CNC Milling
CNC MillingCNC Milling
CNC Milling
 
CNCPRESENTATION.pdf
CNCPRESENTATION.pdfCNCPRESENTATION.pdf
CNCPRESENTATION.pdf
 
Cncpresentation CNC lathe machine
Cncpresentation CNC lathe machineCncpresentation CNC lathe machine
Cncpresentation CNC lathe machine
 
cnc danish3.pptx
cnc danish3.pptxcnc danish3.pptx
cnc danish3.pptx
 
Computer numerical control ( CNC )
Computer numerical control  ( CNC )Computer numerical control  ( CNC )
Computer numerical control ( CNC )
 

Recently uploaded

AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
Kamal Acharya
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
Kamal Acharya
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
abh.arya
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 

Recently uploaded (20)

AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 

Computer numerical control (CNC)

  • 1. Computer Numerical Control Sudip Phuyal MS by Research Dept. of Electrical and Electronics Engineering Sunday, June 24, 2018
  • 2. • Introduction to CNC • Types of CNC machines • Numerical Control Coordinate System • CNC controller • Part Programming for CNC • Direct Numerical Control • Applications of CNC • Adaptive control machining and developments Contents
  • 3. Introduction • CNC (Computer Numerical Control) is the name received to machines that are able to position a tool without human assistance • To position the tool, CNC machines have an interpreter that translate a series of instructions (G-Code) to electronic orders (for example, step and direction signals)
  • 5. We can classify these machines by: • Number of axis • Tool used • Control system • Motion system There are other variable elements in a CNC machine, but these elements don’t change the way our machine works (for example the materials used to build it). Types of CNC machines
  • 6. 1. Two axis machines They are two axis machines work like a plotter Classification based on number of axis
  • 7. 2. Three axis CNC Machines Classification based on number of axis They are commonly used in wood carving and 3D modelling
  • 8. 3. Four or more axis With four or more axis we can orientate the tool, adding more possibilities of machining: Classification based on number of axis They are more popular in CNC Lathes for metalworks
  • 10. • We can use a open loop or closed loop control system • Open loop uses stepper motors to reach a position. We’ll study them later. Control system
  • 11. • When we use DC, AC or lineal motors we have to use a closed loop control system • To capture the position of the tool we need an encoder for each axis, increasing total cost • Most CNC machines use stepper motors due to their low cost and high precision (0.9º per steep Control system
  • 12. • There are two type of motion elements: • Active elements: They transmit movement from position motors to mobile elements • Passive elements: They act like a guide or rail for mobile elements Motion system
  • 13. Motion system Leadscrews Ballscrews Rack and pinion Belts Linear and radial bearings
  • 14. Stepper motor Motion Actuators • AC or DC motors are less used in CNC machines than stepper motors due to requirement of encoders, • Linear motors are not suitable for heavy loads and are expensive AC or DC motor Linear motors
  • 15. Numerical Control • Programmable automation in which the mechanical actions of a ‘machine tool’ are controlled by a program containing coded alphanumeric data that represents relative positions between a work head (e.g., cutting tool) and a work part Machine Control Unit Power Program Instructions Transformation Process
  • 16. NC Co-ordinate System Fig: NC Co-ordinate system [5] For flat and prismatic (block-like) parts: • Milling and drilling operations • Conventional Cartesian coordinate system • Rotational axes about each linear axis For rotational parts: • Turning operations • Only x- and z-axes
  • 17. Motion Control Systems Point-to-Point systems • Also called position systems • System moves to a location and performs an operation at that location (e.g., drilling) • Also applicable in robotics Continuous path systems • Also called contouring systems in machining • System performs an operation during movement (e.g., milling and turning) Fig: Motion Control systems [5]
  • 18. • It has to receive a list of G-code instructions and translate it to electronic signals • These electronics signals are sent to motor controllers. These controllers act like a power stage, amplifying and translating the signals that motors will receive CNC Motor controller
  • 19. Programming a CNC • The code used to program CNC machines is generically called Part Programming • G-code instructions are the major part of the programming language
  • 20. • Specifically, G-codes give CNC machines the coordinates from which to hold and engage the machining tool in order to cut and shape metal to certain specifications. • The entire series of codes used to operate CNC machines also include M-codes and T-Codes, which manage the CNC machine and drill tool, respectively. Tooling speed and feed controls are dictated by S-Codes and F-Codes, while X, Y, and Z-codes determine absolute position. G-code (Geometric code)
  • 21. Part Programming Key Letters O - Program number (Used for program identification) N – Sequence / Line number (Used for line identification) G - Motion X,Y,Z - Axis designation R - Radius designation F – Feed rate designation S - Spindle speed designation T - Tool Designation H - Tool length offset designation D - Tool radius offset designation M - Miscellaneous function
  • 22. Motion instructions (G Codes) G00 – Positioning at rapid speed G01 – Linear interpolation (machining a straight line) G02 – CW Circular interpolation (machining arcs) G03 – CCW Circular interpolation G09 – Exact stop G12 – Circular pocket milling, CW G13 – Circular pocket milling, CCW G17 – X-Y plane for arc machining G18 – Z-X plane for arc machining G19 – Z-Y plane for arc machining G20 – Imperial units (Inch) G21 – Metric units (mm)
  • 23. Miscellaneous functions (M Codes) M00 – Program stop M01 – Optional program stop M02 – End of program M03 – Spindle on clockwise M04 – Spindle on CCW M05 – Spindle stop M06 – Tool change M08 – Flood coolant on M09 – Flood coolant off M30 – End of program/return to start M41 – Spindle low gear range M42 – Spindle high gear range
  • 24. Sample Part Programming O1284 (Program number) N02 G21 (Metric programming) N03 M03 S1000 (Spindle start clockwise with 1000rpm) N04 G00 X0 Y0 (Rapid motion towards (0,0)) N05 G00 Z-10.0 (Rapid motion towards Z=-10 plane) N06 G01 X50.0 (Linear interpolation) N07 G01 Y20.0 (Linear interpolation) N08 G02 X25.0 Y45.0 R25.0 (Circular interpolation clockwise) N09 G03 X-25.0 Y45.0 R25.0 (Circular interpolation counter clockwise) N10 G02 X-50.0 Y20.0 R25.0 (Circular interpolation clockwise) N11 G01 Y0.0 (Linear interpolation) N12 G01 X0.0 (Linear interpolation) N13 G00 Z10.0 (Rapid motion towards Z=10 plane) N14 M05 M09 (Spindle stop and program end)
  • 25. Direct Numerical Control (DNC) • Direct Numerical Control or Distributed Numerical Control (DNC) is a common manufacturing term for networking CNC machine tools consisting of central computer connected to machine tool MCUs • In some CNC machine controllers, the available memory is too small to contain the machining program (for example machining complex surfaces), in this case the program is stored in a separate computer and sent directly to the machine, one block at a time
  • 26. • DNC networking or DNC communication is always required when CAM programs are to run on some CNC machine control • Usually, the CNC manufacturer provides suitable DNC software Direct Numerical Control (DNC)
  • 27. Machine Control Unit Transformation Process Machine Control Unit Machine Control Unit Central Computer NC Pgms BTR BTR BTR Computer Network Fig: Distributed / Direct Numerical Control [6]
  • 28. Applications of CNC • Batch and High Volume production • Repeat and/or Repetitive orders • Complex part geometries • Mundane operations • Many separate operations on one part
  • 29. Adaptive Control Machining NC System CNC Machine Tool Sensors Adaptive Controller Part Program Constraints, Strategy and Performance Index Drive Command Position Command Fig: Block diagram of adaptive control Machining
  • 30. Adaptive Control Machining • It is a logical extension of the CNC-mechanism • In CNC mechanism the cutting speed and feed rates are prescribed by the part programmer • Adaptive control determines proper speeds and feeds during machining as a function of variation in work piece hardness, width of cut, air gaps in part geometry etc. • there is improvement in the production rate and reduction in the machining cost as a result of calculating and setting of optimal parameters during machining • Recent adaptive control uses microprocessor based controls and is typically integrated with an existing CNC system [7]
  • 31. Functions of adaptive Control The three functions of adaptive control are: 1. Identification Using the feedback data from the process performance quality of the system is identified 2. Decision Once the system performance is determined, the decision is carried out by comparison with pre-programmed logic provided by the designer 3. Modification Modification is concerned with a physical or mechanical change in the system
  • 32. Developments in Computer Numerical Control • Computer Aided Manufacturing (CAM) is widely implemented • Adaptive control machining Increased production rates, Increased tool life, Greater part protection and Less operator intervention • Direct Numerical Control reduced the required memory size of CNC machine controllers and distributed control of many CNCs in the same network • Laser cutting, Plasma Cutting and 3D printing technologies are the latest developments of CNC technology

Editor's Notes

  1. Tool means Milling tool used in CNC
  2. AC or DC motors requires encoders and special control mechanism
  3. In adaptive control, this measure is called the index of performance (IP).