SlideShare a Scribd company logo
Dr. J. Ramkumar
Professor, Department of Mechanical Engineering
Micro machining Lab, I.I.T. Kanpur
Micro machining Lab, I.I.T.
Basic NC and CNC
Outline
1. Introduction to CNC machine
2. Component and Function of CNC
3. Coordinate System
1.Introduction to CNC machine
CNC = Computerized Numerical Control
History and Development of Technology
Conventional M/C
NC M/C
(1948 US Air force, MIT 21 months )
1997  1stcommercial NC m/c
“CINCINNATIC HYDROTEL VERTICAL-SPINDLE MACHINE “
CNC M/C
History and Development of Technology
Conventional vs. CNC machine
Machine Structure
The CNC machine tools are basically built in the same
way as conventional machine tools. The difference lies
in the fact that the machine components relevant for
turning and milling processes are controlled by
computers.
Conventional vs. CNC machine
Function
Conventional vs. CNC machine
Conventional vs. CNC machine
Conventional machine
 eyes, hands, brain, skill
CNC machine
ProgramControl u n i t M o t o r 
M
o
t
i
o
n
Measuring & Reflection Unit
No skill is required for operating CNC m/c .
Conventional machine
CNC machine
Difference between Conventional M/C & CNC M/C
Item Conventional
machine
CNC
machine
1. Movement Acme screw Ball screw
2. Feed Manual Motor
3. Measurement Manual Linear scale
Advantages of CNC
• Flexible, high accuracy
• Short production time
• Complex shapes
• Short setting time
• No skill requirement
• Short inspection time/ high quality product
• Low cost
Disadvantages of CNC
• High machine cost
• Complicated maintenance
• Skill & training are required for programming and
maintenance.
• Parts are imported from aboard.
• High tooling cost
• Temperature, humidity & dust must be controlled.
Why CNC?
HUMAN   LIMITATION
Components of Traditional NC Systems
Direct Numerical Control (DNC)
Direct Numerical Control (DNC)
 Feed drive
 Measuring system  Direct / Indirect
 Work spindle  hydraulic
 Cooling system  reduce heat
 Tool turret
Component and Function of CNC
Feed drive
Measuring System
Tool change facilities
Coordinate System
Axes on a CNC lathe
Axes on a CNC milling machine
Zero and reference points on CNC
Zero Point of machine on a CNC lathe
Machine Zero Point and Work part zero point
on CNC milling machine
Classification based on the motion type
Classification based on the motion type
Classification based on the motion type
Classification based on the control loops
Classification based on the control loops
Classification based on the control loops
Classification based on the control loops
Classification based on the number of axes
Classification based on the number of axes
Classification based on the number of axes
Classification based on the number of axes
Classification based on the power supply
Driving System
The requirement is that the driving system has to response accurately according to the programmed
instructions.
The motor is coupled either directly or through a gear box to the machine lead screw to moves the
machine slide or the spindle.
Three types of electrical motors are commonly used:
1. Stepping motor
2. DC Servo motor
3. AC Servo moto
1. Stepping Motor
The stepper motor is known by its property to convert a train of input pulses (typically square wave pulses)
into a precisely defined increment in the shaft position.
Each pulse moves the shaft through a fixed angle.
Multiple "toothed" electromagnets arranged around a central gear-shaped piece ofiron.
The electromagnets are energized by an external driver circuit or a micro controller. In that way, the motor can
be turned by a precise angle.
To make the motor shaft turn, first, one electromagnet is given power, which magnetically attracts the
gear's teeth.
When the gear's teeth are aligned to the first electromagnet, they are slightly offset from the next
electromagnet.
This means that when the next electromagnet is turned on and the first is turned off, the gear rotates
slightly to align with the next one.
From there the process is repeated. Each of those rotations is called a "step", with an integer number of
steps making a full rotation.
What does Stepper means?
Stepper Motor / Electro magnet
Rotor
Coils
Stator
Outside Casing
Stator
Rotor
Internal components of a Stepper Motor
Stators
Rotor
Cross Section of a Stepper Motor
Four Steps per revolution i.e. 90 deg. steps.
Full Step Operation
Eight steps per. revolution i.e. 45 deg. steps.
Half Step Operation
Winding number 1
Winding number 2
One
step
6 pole rotor
How many steps are required for one complete revolution?
Six pole rotor, two electro magnets
The top electromagnet (1) is turned
on, attracting the nearest teeth of a
gear-shaped iron rotor. With the
teeth aligned to electromagnet 1,
they will be slightly offset from
electromagnet 2
electromagnet (1) is
The top
turned off, right
electromagnet
and the
(2) is energized,
pulling the nearest teeth slightly
to the right. This results in a
rotation of 3.6° in this example.
Practical Stepper motor operation
The bottom electromagnet (3)
is energized; another 3.6°
rotation occurs.
The left electromagnet (4) is enabled,
rotating again by 3.6°. When the top
electromagnet (1) is again enabled,
the teeth in the sprocket will have
rotated by one tooth position; since
there are 25 teeth, it will take 100
steps to make a full rotation in this
example.
Stepping Motor to move read-write head
Stepper motor applications
Paper feeder on printers
CNC lathes
Stepper motors
Stepper motor applications
Stator coils
Rotor
CNC Stepping Motor
Step 1 0 0 1 1
Step 2 1 0 1 0
Step 3 1 1 0 0
Step 4 0 1 0 1
+
CW CCW
Control sequence to turn a stepper motor
Advantages:-
Low cost for control achieved
Ruggedness
Simplicity of construction
Can operate in an open loop control system
Low maintenance
Less likely to stall or slip
Will work in any environment
Disadvantages:-
Require a dedicated control circuit
Use more current than D.C. motors
High torque output achieved at low speeds
Advantages / Disadvantages
Open Loop Positioning Systems
Stepper Motor calculations
It uses a stepper motor to rotate the lead screw. A stepper motor is driven by series of
electrical pulses generated by MCU.
For each pulse the motor rotates a fraction of revolution called Step Angle, it is givenby
Where, ns = Number of step angles for the motor (aninteger).
If np is the pulses received by the motor then angle through which motor rotates is
Stepper Motor calculations
Lead Screw is connected to the motor shaft through a gear box.
Angle of the lead screw rotation taking the gear ratio into account is givenby
rg = Gear ratio
= Am/A= Nm/ N
Nm= RPM of motor, N= RPM of lead Screw
The linear movement of worktable is given by
p = pitch of lead screw
Stepper Motor calculations
Total number of pulses required to achieve a specified x-position increment is calculated by:
Where ,ns = 360/α
Control pulses are transmitted from pulse generator at a certain frequency which drives the work table at
the corresponding velocity.
The rotational speed of lead screw depends on the frequencyof
the pulse train
Equation (1)
N = RPM of lead screw, fp = frequency of pulse train (Hz, Pulses/sec)
Stepper Motor calculations
The table travel speed in the direction of lead screw axis is determinedby:
Equation (2)
Where, Vt = Table travel speed (mm/min)
fr = Table feed rate(mm/min)
p= Lead screw pitch (mm/rev)
The required pulse train frequency to drive the table at aspecified
linear travel rate by combining equations (1) and (2):
2. DC Servo Motor
 The principle of operation is based on the rotation of an armature winding in a permanently energized
magnetic field.
 The armature winding is connected to a commutator, which is a cylinder of insulated copper segments
mounted on the shaft.
 DC current is passed to the commutator through carbon brushes, which are connected to the machine
terminals.
Servo Motor Detail
+ 5V
Actuator
Reduction gear
Position feedback
Potentiometer
(closed loop system)
Small electric DC motor
3. AC Servo Motor
 In an AC servomotor, the rotor is a permanent magnet while the stator is
windings.
equipped with 3-phase
 The speed of the rotor is equal to the rotational frequency of the magnetic field of the stator, which
is regulated by the frequency converter.
CNC Programming
Programming consists of a series of instructions in form of letter codes
Preparatory Codes:
G codes- Initial machining setup and establishing operating conditions
N codes- specify program line number to executed by the MCU
 Axis Codes: X,Y,Z - Used to specify motion of the slide along X, Y,Z direction
 Feed and Speed Codes: F and S- Specify feed and spindle speed
 Tool codes: T – specify tool number
Miscellaneous codes – M codes For coolant control and otheractivities
Programming Key Letters
O - Program number (Used for programidentification)
N - Sequence number (Used for line identification)
G - Preparatory function
X - X axis designation
Y - Y axisdesignation
Z - Z axis designation
R - Radius designation
F – Feed rate designation
S - Spindle speed designation
H - Tool length offset designation
D - Tool radius offset designation
T - Tool Designation
M - Miscellaneous function
Table of Important G Codes
G codes are instructions describing machine tool movement
G00: Rapid Transverse
G01: Linear Interpolation
G02: Circular Interpolation, CW
G03: Circular Interpolation, CCW
G17: XY Plane, G18: XZ Plane,G19:YZ Plane
G20/G70: Inch units
G21/G71: Metric Units
G40: Cutter compensation cancel
G41: Cutter compensation left
G42: Cutter compensationright
G43: Tool length compensation (plus)
G44: Tool length compensation (minus)
G49: Tool length compensation cancel
G80: Cancel canned cycles
G81: Drilling cycle
G82: Counter boring cycle
G83: Deep hole drilling cycle
G90: Absolute positioning
G91: Incremental positioning
Table of Important M codes
M Codes are instructions
miscellaneous
describing
functions like calling
rotation, coolant
the tool,
on/off
spindle
etc.,
Basic CNC program for turning operation
%
N10 T104 M06
N20 G97 S2000 G95 F0.1M03
N30 G00 X18 Z2 M08
N40 G01 Z-22N50 G01 X26
N60 G00 X200 Z200 M09
N70 M30
Basic CNC program for turning operation
O0001
N5 M12
N10 T0101
N15 G90
N20 G0 X50 Z50
N25 M3 S600
N30 M8
N35 G1 X50 Z0 F600
N40 Z-30 F200
N45 X100 Z-50 F150
N50 G0 X50 Z50
N55 T0100
N60 M5
N65 M9
N70 M13
N75 M30
N80 %
Basic CNC program for milling operation
N5 G90 G71
N10 T1 M6
N15 X-100 Y86 Z95
N20 G00 X0 Y0 S2500M3
N25 Z12.5
N30 G01 Z-12.5 F150
N35 X-20Y30
N40 G02 X10 Y100R80
N45 G01 X140 Y60
N50 G02 X150 Y0 R50
N55 G01 X0Y0
N60 G00 Z12.5
N65 G91 G28 Z0 M5
N70 G91 G28 X0 Y0
N75 M30
Basic CNC program for milling operation: Circular interpolation
N2 G17 G71 G90 G94 G54
N4 T1 L90
N6 G00 Z5 D5 M3 S500 X20Y90
N8 G01 Z-2 F50
N10 G02 X60 Y50 I0J-40
or, N10 G02 X60 Y50 R40
N12 G03 X100 Y50 I20J0
or, N12 G03 X100 Y50 R20
N14 G00 Z100
N16 M02
Basic CNC program for drilling operation
N1 T16 M06
N2 G90 G54 G00 X0.5Y-0.5
N3 S1450 M03
N4 G01 Z-0.375 F9
N5 G00Z 5
N6G00 X 1.5Y-0.5
N7G01Z-0.375 F9
N8 G00Z 5
N9 G00 X1.5Y-1.5
N10Z-0.375F9
N11 G00Z 5
N12 G00X0.5Y-1.5
N13 Z-0.375F9
N14 G00 Z5 X0Y0
N15 M30
Sample problem: Milling
G90
Absolute
X Y G91
Increment
X Y
P0 X0 Y0 P0 X0 Y0
P0-P1 X-20 Y-20 P0-P1 X-20 Y-20
P0-P2 X12 Y-20 P1-P2 X32 Y0
P0-P3 X20 Y-12 P2-P3 X8 Y8
P0-P4 X20 Y14 P3-P4 X0 Y26
P0-P5 X12 Y20 P4-P5 X-8 Y6
P0-P6 X-20 Y20 P5-P6 X-32 Y0
Exercise: Write CNC program for the following sequence of millingoperation
Thank You

More Related Content

What's hot

CNC machining centers
CNC machining centersCNC machining centers
CNC machining centers
Salman Jailani
 
DNC SYSTEMS
DNC SYSTEMSDNC SYSTEMS
DNC SYSTEMS
Elson Paul
 
Numeric control
Numeric controlNumeric control
Numeric control
KANA RAM MEENA
 
involute vs cyclodial gear
involute vs cyclodial gearinvolute vs cyclodial gear
involute vs cyclodial gear
Iftikharch
 
12 cnc & part programming
12 cnc & part programming12 cnc & part programming
12 cnc & part programming
M Siva Kumar
 
CNC PART PROGRAMMING.pptx
CNC PART PROGRAMMING.pptxCNC PART PROGRAMMING.pptx
CNC PART PROGRAMMING.pptx
AtharvaJagtap15
 
MT-II UNIT I THEORY OF METAL CUTTING
MT-II UNIT I THEORY OF METAL CUTTINGMT-II UNIT I THEORY OF METAL CUTTING
MT-II UNIT I THEORY OF METAL CUTTING
Karthik R
 
Tool changing mechanism in cnc machine
Tool changing mechanism in cnc machineTool changing mechanism in cnc machine
Tool changing mechanism in cnc machine
BhaveshChaudhari21
 
CNC Turning and Milling centres
CNC Turning and Milling centresCNC Turning and Milling centres
CNC Turning and Milling centres
Achyuth Padmanabh
 
MILLING MACHINE PPT 2: PARTS AND CLASSIFICATION OF MILLING MACHINES
MILLING MACHINE PPT 2: PARTS AND CLASSIFICATION OF MILLING MACHINESMILLING MACHINE PPT 2: PARTS AND CLASSIFICATION OF MILLING MACHINES
MILLING MACHINE PPT 2: PARTS AND CLASSIFICATION OF MILLING MACHINES
POLAYYA CHINTADA
 
Chapter 2 constructional feature of cnc machine
Chapter 2 constructional feature of cnc machineChapter 2 constructional feature of cnc machine
Chapter 2 constructional feature of cnc machine
RAHUL THAKER
 
Tool presetting
Tool presettingTool presetting
Tool presetting
nilesh vishwani
 
Indexing or dividing_head
Indexing or dividing_headIndexing or dividing_head
Indexing or dividing_headJavaria Chiragh
 
Introduction to CNC machine and Hardware.
Introduction to CNC machine and Hardware. Introduction to CNC machine and Hardware.
Introduction to CNC machine and Hardware.
aman1312
 
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
 
Economics of metal cutting operations
Economics of metal cutting operationsEconomics of metal cutting operations
Economics of metal cutting operations
Darshan Panchal
 
Numerical control machines tool
Numerical control machines toolNumerical control machines tool
Numerical control machines tool
jntuhcej
 
Cnc axis and motion nomenclature
Cnc axis and motion nomenclatureCnc axis and motion nomenclature
Cnc axis and motion nomenclature
meet shah
 
DNC machines tools
DNC machines toolsDNC machines tools
DNC machines tools
jntuhcej
 
Canned cycle
Canned cycleCanned cycle
Canned cycle
aman1312
 

What's hot (20)

CNC machining centers
CNC machining centersCNC machining centers
CNC machining centers
 
DNC SYSTEMS
DNC SYSTEMSDNC SYSTEMS
DNC SYSTEMS
 
Numeric control
Numeric controlNumeric control
Numeric control
 
involute vs cyclodial gear
involute vs cyclodial gearinvolute vs cyclodial gear
involute vs cyclodial gear
 
12 cnc & part programming
12 cnc & part programming12 cnc & part programming
12 cnc & part programming
 
CNC PART PROGRAMMING.pptx
CNC PART PROGRAMMING.pptxCNC PART PROGRAMMING.pptx
CNC PART PROGRAMMING.pptx
 
MT-II UNIT I THEORY OF METAL CUTTING
MT-II UNIT I THEORY OF METAL CUTTINGMT-II UNIT I THEORY OF METAL CUTTING
MT-II UNIT I THEORY OF METAL CUTTING
 
Tool changing mechanism in cnc machine
Tool changing mechanism in cnc machineTool changing mechanism in cnc machine
Tool changing mechanism in cnc machine
 
CNC Turning and Milling centres
CNC Turning and Milling centresCNC Turning and Milling centres
CNC Turning and Milling centres
 
MILLING MACHINE PPT 2: PARTS AND CLASSIFICATION OF MILLING MACHINES
MILLING MACHINE PPT 2: PARTS AND CLASSIFICATION OF MILLING MACHINESMILLING MACHINE PPT 2: PARTS AND CLASSIFICATION OF MILLING MACHINES
MILLING MACHINE PPT 2: PARTS AND CLASSIFICATION OF MILLING MACHINES
 
Chapter 2 constructional feature of cnc machine
Chapter 2 constructional feature of cnc machineChapter 2 constructional feature of cnc machine
Chapter 2 constructional feature of cnc machine
 
Tool presetting
Tool presettingTool presetting
Tool presetting
 
Indexing or dividing_head
Indexing or dividing_headIndexing or dividing_head
Indexing or dividing_head
 
Introduction to CNC machine and Hardware.
Introduction to CNC machine and Hardware. Introduction to CNC machine and Hardware.
Introduction to CNC machine and Hardware.
 
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
 
Economics of metal cutting operations
Economics of metal cutting operationsEconomics of metal cutting operations
Economics of metal cutting operations
 
Numerical control machines tool
Numerical control machines toolNumerical control machines tool
Numerical control machines tool
 
Cnc axis and motion nomenclature
Cnc axis and motion nomenclatureCnc axis and motion nomenclature
Cnc axis and motion nomenclature
 
DNC machines tools
DNC machines toolsDNC machines tools
DNC machines tools
 
Canned cycle
Canned cycleCanned cycle
Canned cycle
 

Similar to Me761 a lecture-4 cnc

Computer Numerical Control_2018.pdf
Computer Numerical Control_2018.pdfComputer Numerical Control_2018.pdf
Computer Numerical Control_2018.pdf
adminpeo
 
PPT ON BHEL HARIDWAR
PPT ON BHEL HARIDWARPPT ON BHEL HARIDWAR
PPT ON BHEL HARIDWAR
Siddharth Sahai
 
Stepper motors
Stepper motorsStepper motors
Stepper motors
Mihret Berhe
 
Cnc feed drives
Cnc feed drivesCnc feed drives
Cnc feed drives
Akhil Krishnan G
 
CNC principle & machining centre
CNC principle & machining centreCNC principle & machining centre
CNC principle & machining centre
NirmalRaja3
 
nc and cnc dp
nc and cnc dpnc and cnc dp
nc and cnc dp
Dpulast
 
MT-II UNIT V CNC MACHINING
MT-II UNIT V CNC MACHININGMT-II UNIT V CNC MACHINING
MT-II UNIT V CNC MACHINING
Karthik R
 
9_CNC (1).ppt
9_CNC (1).ppt9_CNC (1).ppt
9_CNC (1).ppt
NikhilKumarSingh86
 
24 cnc machine feedback devices
24 cnc machine feedback devices24 cnc machine feedback devices
24 cnc machine feedback devicesJupira Silva
 
9_CNC.ppt
9_CNC.ppt9_CNC.ppt
9_CNC.ppt
9_CNC.ppt9_CNC.ppt
9_CNC.ppt
pyurzgg
 
Cnc programming
Cnc programmingCnc programming
Cnc programming
Daniel raj
 
9 cnc (1)
9 cnc (1)9 cnc (1)
Part Programming Examples.pdf
Part Programming Examples.pdfPart Programming Examples.pdf
Part Programming Examples.pdf
SanDeepSharma926061
 
Computer numerical control (CNC)
Computer numerical control (CNC)Computer numerical control (CNC)
Computer numerical control (CNC)
Sudip Phuyal
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
IJERD Editor
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
dineshucer
 

Similar to Me761 a lecture-4 cnc (20)

Computer Numerical Control_2018.pdf
Computer Numerical Control_2018.pdfComputer Numerical Control_2018.pdf
Computer Numerical Control_2018.pdf
 
PPT ON BHEL HARIDWAR
PPT ON BHEL HARIDWARPPT ON BHEL HARIDWAR
PPT ON BHEL HARIDWAR
 
Stepper motors
Stepper motorsStepper motors
Stepper motors
 
Cnc feed drives
Cnc feed drivesCnc feed drives
Cnc feed drives
 
REPORT
REPORTREPORT
REPORT
 
CNC principle & machining centre
CNC principle & machining centreCNC principle & machining centre
CNC principle & machining centre
 
nc and cnc dp
nc and cnc dpnc and cnc dp
nc and cnc dp
 
MT-II UNIT V CNC MACHINING
MT-II UNIT V CNC MACHININGMT-II UNIT V CNC MACHINING
MT-II UNIT V CNC MACHINING
 
9_CNC (1).ppt
9_CNC (1).ppt9_CNC (1).ppt
9_CNC (1).ppt
 
Ncmachine (1)
Ncmachine (1)Ncmachine (1)
Ncmachine (1)
 
24 cnc machine feedback devices
24 cnc machine feedback devices24 cnc machine feedback devices
24 cnc machine feedback devices
 
9_CNC.ppt
9_CNC.ppt9_CNC.ppt
9_CNC.ppt
 
9_CNC.ppt
9_CNC.ppt9_CNC.ppt
9_CNC.ppt
 
Cnc programming
Cnc programmingCnc programming
Cnc programming
 
9 cnc (1)
9 cnc (1)9 cnc (1)
9 cnc (1)
 
9 cnc
9 cnc9 cnc
9 cnc
 
Part Programming Examples.pdf
Part Programming Examples.pdfPart Programming Examples.pdf
Part Programming Examples.pdf
 
Computer numerical control (CNC)
Computer numerical control (CNC)Computer numerical control (CNC)
Computer numerical control (CNC)
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 

More from Ashok Mannava

Sole_Proprietorship_Presentation.pptx
Sole_Proprietorship_Presentation.pptxSole_Proprietorship_Presentation.pptx
Sole_Proprietorship_Presentation.pptx
Ashok Mannava
 
Model QP (1).docx
Model QP (1).docxModel QP (1).docx
Model QP (1).docx
Ashok Mannava
 
notes_9 Lec PP and CAPP.pptx
notes_9 Lec PP and CAPP.pptxnotes_9 Lec PP and CAPP.pptx
notes_9 Lec PP and CAPP.pptx
Ashok Mannava
 
Cell_Manufacturing.ppt
Cell_Manufacturing.pptCell_Manufacturing.ppt
Cell_Manufacturing.ppt
Ashok Mannava
 
Computer assisted part programming.pdf
Computer assisted part programming.pdfComputer assisted part programming.pdf
Computer assisted part programming.pdf
Ashok Mannava
 
Group Technology Basics.ppt
Group Technology Basics.pptGroup Technology Basics.ppt
Group Technology Basics.ppt
Ashok Mannava
 
443439858 the-mesopotamian-civiliation-ppt
443439858 the-mesopotamian-civiliation-ppt443439858 the-mesopotamian-civiliation-ppt
443439858 the-mesopotamian-civiliation-ppt
Ashok Mannava
 
Uvl simplysupported beam
Uvl simplysupported beamUvl simplysupported beam
Uvl simplysupported beam
Ashok Mannava
 
What is technology
What is technologyWhat is technology
What is technology
Ashok Mannava
 
Auto cad material
Auto cad materialAuto cad material
Auto cad material
Ashok Mannava
 
Agriculture chapter 10
Agriculture chapter 10Agriculture chapter 10
Agriculture chapter 10
Ashok Mannava
 
Agricultural revolution
Agricultural revolutionAgricultural revolution
Agricultural revolution
Ashok Mannava
 
77102350 7-8-cutting-tool-materials-complete-ppt
77102350 7-8-cutting-tool-materials-complete-ppt77102350 7-8-cutting-tool-materials-complete-ppt
77102350 7-8-cutting-tool-materials-complete-ppt
Ashok Mannava
 

More from Ashok Mannava (20)

Sole_Proprietorship_Presentation.pptx
Sole_Proprietorship_Presentation.pptxSole_Proprietorship_Presentation.pptx
Sole_Proprietorship_Presentation.pptx
 
Model QP (1).docx
Model QP (1).docxModel QP (1).docx
Model QP (1).docx
 
notes_9 Lec PP and CAPP.pptx
notes_9 Lec PP and CAPP.pptxnotes_9 Lec PP and CAPP.pptx
notes_9 Lec PP and CAPP.pptx
 
Cell_Manufacturing.ppt
Cell_Manufacturing.pptCell_Manufacturing.ppt
Cell_Manufacturing.ppt
 
Computer assisted part programming.pdf
Computer assisted part programming.pdfComputer assisted part programming.pdf
Computer assisted part programming.pdf
 
Group Technology Basics.ppt
Group Technology Basics.pptGroup Technology Basics.ppt
Group Technology Basics.ppt
 
Ie550nc
Ie550ncIe550nc
Ie550nc
 
443439858 the-mesopotamian-civiliation-ppt
443439858 the-mesopotamian-civiliation-ppt443439858 the-mesopotamian-civiliation-ppt
443439858 the-mesopotamian-civiliation-ppt
 
Uvl simplysupported beam
Uvl simplysupported beamUvl simplysupported beam
Uvl simplysupported beam
 
What is technology
What is technologyWhat is technology
What is technology
 
Transducer
TransducerTransducer
Transducer
 
Cmm
CmmCmm
Cmm
 
Capacitance
CapacitanceCapacitance
Capacitance
 
Auto cad material
Auto cad materialAuto cad material
Auto cad material
 
L5 2018 09_17
L5 2018 09_17L5 2018 09_17
L5 2018 09_17
 
Agriculture chapter 10
Agriculture chapter 10Agriculture chapter 10
Agriculture chapter 10
 
Agricultural revolution
Agricultural revolutionAgricultural revolution
Agricultural revolution
 
77102350 7-8-cutting-tool-materials-complete-ppt
77102350 7-8-cutting-tool-materials-complete-ppt77102350 7-8-cutting-tool-materials-complete-ppt
77102350 7-8-cutting-tool-materials-complete-ppt
 
Compressor final
Compressor finalCompressor final
Compressor final
 
Dht
DhtDht
Dht
 

Recently uploaded

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
 
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
 
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
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
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
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
Kamal Acharya
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
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
 
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
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
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
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 

Recently uploaded (20)

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
 
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
 
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
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .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
 
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
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
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
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 

Me761 a lecture-4 cnc

  • 1. Dr. J. Ramkumar Professor, Department of Mechanical Engineering Micro machining Lab, I.I.T. Kanpur Micro machining Lab, I.I.T. Basic NC and CNC
  • 2. Outline 1. Introduction to CNC machine 2. Component and Function of CNC 3. Coordinate System
  • 3. 1.Introduction to CNC machine CNC = Computerized Numerical Control
  • 4. History and Development of Technology Conventional M/C NC M/C (1948 US Air force, MIT 21 months ) 1997  1stcommercial NC m/c “CINCINNATIC HYDROTEL VERTICAL-SPINDLE MACHINE “ CNC M/C
  • 5. History and Development of Technology
  • 6. Conventional vs. CNC machine Machine Structure The CNC machine tools are basically built in the same way as conventional machine tools. The difference lies in the fact that the machine components relevant for turning and milling processes are controlled by computers.
  • 7. Conventional vs. CNC machine Function
  • 9. Conventional vs. CNC machine Conventional machine  eyes, hands, brain, skill CNC machine ProgramControl u n i t M o t o r  M o t i o n Measuring & Reflection Unit No skill is required for operating CNC m/c .
  • 11. Difference between Conventional M/C & CNC M/C Item Conventional machine CNC machine 1. Movement Acme screw Ball screw 2. Feed Manual Motor 3. Measurement Manual Linear scale
  • 12. Advantages of CNC • Flexible, high accuracy • Short production time • Complex shapes • Short setting time • No skill requirement • Short inspection time/ high quality product • Low cost
  • 13. Disadvantages of CNC • High machine cost • Complicated maintenance • Skill & training are required for programming and maintenance. • Parts are imported from aboard. • High tooling cost • Temperature, humidity & dust must be controlled.
  • 14. Why CNC? HUMAN   LIMITATION
  • 18.  Feed drive  Measuring system  Direct / Indirect  Work spindle  hydraulic  Cooling system  reduce heat  Tool turret Component and Function of CNC
  • 23. Axes on a CNC lathe
  • 24. Axes on a CNC milling machine
  • 25. Zero and reference points on CNC
  • 26. Zero Point of machine on a CNC lathe
  • 27. Machine Zero Point and Work part zero point on CNC milling machine
  • 28. Classification based on the motion type
  • 29. Classification based on the motion type
  • 30. Classification based on the motion type
  • 31. Classification based on the control loops
  • 32. Classification based on the control loops
  • 33. Classification based on the control loops
  • 34. Classification based on the control loops
  • 35. Classification based on the number of axes
  • 36. Classification based on the number of axes
  • 37. Classification based on the number of axes
  • 38. Classification based on the number of axes
  • 39. Classification based on the power supply
  • 40. Driving System The requirement is that the driving system has to response accurately according to the programmed instructions. The motor is coupled either directly or through a gear box to the machine lead screw to moves the machine slide or the spindle. Three types of electrical motors are commonly used: 1. Stepping motor 2. DC Servo motor 3. AC Servo moto
  • 41. 1. Stepping Motor The stepper motor is known by its property to convert a train of input pulses (typically square wave pulses) into a precisely defined increment in the shaft position. Each pulse moves the shaft through a fixed angle. Multiple "toothed" electromagnets arranged around a central gear-shaped piece ofiron. The electromagnets are energized by an external driver circuit or a micro controller. In that way, the motor can be turned by a precise angle.
  • 42. To make the motor shaft turn, first, one electromagnet is given power, which magnetically attracts the gear's teeth. When the gear's teeth are aligned to the first electromagnet, they are slightly offset from the next electromagnet. This means that when the next electromagnet is turned on and the first is turned off, the gear rotates slightly to align with the next one. From there the process is repeated. Each of those rotations is called a "step", with an integer number of steps making a full rotation. What does Stepper means?
  • 43. Stepper Motor / Electro magnet
  • 46. Four Steps per revolution i.e. 90 deg. steps. Full Step Operation
  • 47. Eight steps per. revolution i.e. 45 deg. steps. Half Step Operation
  • 48. Winding number 1 Winding number 2 One step 6 pole rotor
  • 49. How many steps are required for one complete revolution? Six pole rotor, two electro magnets
  • 50. The top electromagnet (1) is turned on, attracting the nearest teeth of a gear-shaped iron rotor. With the teeth aligned to electromagnet 1, they will be slightly offset from electromagnet 2 electromagnet (1) is The top turned off, right electromagnet and the (2) is energized, pulling the nearest teeth slightly to the right. This results in a rotation of 3.6° in this example. Practical Stepper motor operation
  • 51. The bottom electromagnet (3) is energized; another 3.6° rotation occurs. The left electromagnet (4) is enabled, rotating again by 3.6°. When the top electromagnet (1) is again enabled, the teeth in the sprocket will have rotated by one tooth position; since there are 25 teeth, it will take 100 steps to make a full rotation in this example.
  • 52. Stepping Motor to move read-write head Stepper motor applications
  • 53. Paper feeder on printers CNC lathes Stepper motors Stepper motor applications
  • 55. Step 1 0 0 1 1 Step 2 1 0 1 0 Step 3 1 1 0 0 Step 4 0 1 0 1 + CW CCW Control sequence to turn a stepper motor
  • 56. Advantages:- Low cost for control achieved Ruggedness Simplicity of construction Can operate in an open loop control system Low maintenance Less likely to stall or slip Will work in any environment Disadvantages:- Require a dedicated control circuit Use more current than D.C. motors High torque output achieved at low speeds Advantages / Disadvantages
  • 57. Open Loop Positioning Systems Stepper Motor calculations It uses a stepper motor to rotate the lead screw. A stepper motor is driven by series of electrical pulses generated by MCU. For each pulse the motor rotates a fraction of revolution called Step Angle, it is givenby Where, ns = Number of step angles for the motor (aninteger). If np is the pulses received by the motor then angle through which motor rotates is
  • 58. Stepper Motor calculations Lead Screw is connected to the motor shaft through a gear box. Angle of the lead screw rotation taking the gear ratio into account is givenby rg = Gear ratio = Am/A= Nm/ N Nm= RPM of motor, N= RPM of lead Screw The linear movement of worktable is given by p = pitch of lead screw
  • 59. Stepper Motor calculations Total number of pulses required to achieve a specified x-position increment is calculated by: Where ,ns = 360/α Control pulses are transmitted from pulse generator at a certain frequency which drives the work table at the corresponding velocity. The rotational speed of lead screw depends on the frequencyof the pulse train Equation (1) N = RPM of lead screw, fp = frequency of pulse train (Hz, Pulses/sec)
  • 60. Stepper Motor calculations The table travel speed in the direction of lead screw axis is determinedby: Equation (2) Where, Vt = Table travel speed (mm/min) fr = Table feed rate(mm/min) p= Lead screw pitch (mm/rev) The required pulse train frequency to drive the table at aspecified linear travel rate by combining equations (1) and (2):
  • 61. 2. DC Servo Motor  The principle of operation is based on the rotation of an armature winding in a permanently energized magnetic field.  The armature winding is connected to a commutator, which is a cylinder of insulated copper segments mounted on the shaft.  DC current is passed to the commutator through carbon brushes, which are connected to the machine terminals.
  • 62. Servo Motor Detail + 5V Actuator Reduction gear Position feedback Potentiometer (closed loop system) Small electric DC motor
  • 63. 3. AC Servo Motor  In an AC servomotor, the rotor is a permanent magnet while the stator is windings. equipped with 3-phase  The speed of the rotor is equal to the rotational frequency of the magnetic field of the stator, which is regulated by the frequency converter.
  • 64. CNC Programming Programming consists of a series of instructions in form of letter codes Preparatory Codes: G codes- Initial machining setup and establishing operating conditions N codes- specify program line number to executed by the MCU  Axis Codes: X,Y,Z - Used to specify motion of the slide along X, Y,Z direction  Feed and Speed Codes: F and S- Specify feed and spindle speed  Tool codes: T – specify tool number Miscellaneous codes – M codes For coolant control and otheractivities
  • 65. Programming Key Letters O - Program number (Used for programidentification) N - Sequence number (Used for line identification) G - Preparatory function X - X axis designation Y - Y axisdesignation Z - Z axis designation R - Radius designation F – Feed rate designation S - Spindle speed designation H - Tool length offset designation D - Tool radius offset designation T - Tool Designation M - Miscellaneous function
  • 66. Table of Important G Codes G codes are instructions describing machine tool movement G00: Rapid Transverse G01: Linear Interpolation G02: Circular Interpolation, CW G03: Circular Interpolation, CCW G17: XY Plane, G18: XZ Plane,G19:YZ Plane G20/G70: Inch units G21/G71: Metric Units G40: Cutter compensation cancel G41: Cutter compensation left G42: Cutter compensationright
  • 67. G43: Tool length compensation (plus) G44: Tool length compensation (minus) G49: Tool length compensation cancel G80: Cancel canned cycles G81: Drilling cycle G82: Counter boring cycle G83: Deep hole drilling cycle G90: Absolute positioning G91: Incremental positioning
  • 68. Table of Important M codes M Codes are instructions miscellaneous describing functions like calling rotation, coolant the tool, on/off spindle etc.,
  • 69. Basic CNC program for turning operation % N10 T104 M06 N20 G97 S2000 G95 F0.1M03 N30 G00 X18 Z2 M08 N40 G01 Z-22N50 G01 X26 N60 G00 X200 Z200 M09 N70 M30
  • 70. Basic CNC program for turning operation O0001 N5 M12 N10 T0101 N15 G90 N20 G0 X50 Z50 N25 M3 S600 N30 M8 N35 G1 X50 Z0 F600 N40 Z-30 F200 N45 X100 Z-50 F150 N50 G0 X50 Z50 N55 T0100 N60 M5 N65 M9 N70 M13 N75 M30 N80 %
  • 71. Basic CNC program for milling operation N5 G90 G71 N10 T1 M6 N15 X-100 Y86 Z95 N20 G00 X0 Y0 S2500M3 N25 Z12.5 N30 G01 Z-12.5 F150 N35 X-20Y30 N40 G02 X10 Y100R80 N45 G01 X140 Y60 N50 G02 X150 Y0 R50 N55 G01 X0Y0 N60 G00 Z12.5 N65 G91 G28 Z0 M5 N70 G91 G28 X0 Y0 N75 M30
  • 72. Basic CNC program for milling operation: Circular interpolation N2 G17 G71 G90 G94 G54 N4 T1 L90 N6 G00 Z5 D5 M3 S500 X20Y90 N8 G01 Z-2 F50 N10 G02 X60 Y50 I0J-40 or, N10 G02 X60 Y50 R40 N12 G03 X100 Y50 I20J0 or, N12 G03 X100 Y50 R20 N14 G00 Z100 N16 M02
  • 73. Basic CNC program for drilling operation N1 T16 M06 N2 G90 G54 G00 X0.5Y-0.5 N3 S1450 M03 N4 G01 Z-0.375 F9 N5 G00Z 5 N6G00 X 1.5Y-0.5 N7G01Z-0.375 F9 N8 G00Z 5 N9 G00 X1.5Y-1.5 N10Z-0.375F9 N11 G00Z 5 N12 G00X0.5Y-1.5 N13 Z-0.375F9 N14 G00 Z5 X0Y0 N15 M30
  • 74. Sample problem: Milling G90 Absolute X Y G91 Increment X Y P0 X0 Y0 P0 X0 Y0 P0-P1 X-20 Y-20 P0-P1 X-20 Y-20 P0-P2 X12 Y-20 P1-P2 X32 Y0 P0-P3 X20 Y-12 P2-P3 X8 Y8 P0-P4 X20 Y14 P3-P4 X0 Y26 P0-P5 X12 Y20 P4-P5 X-8 Y6 P0-P6 X-20 Y20 P5-P6 X-32 Y0
  • 75. Exercise: Write CNC program for the following sequence of millingoperation