Beruflich Dokumente
Kultur Dokumente
Dr. J. Ramkumar
Professor, Department of Mechanical Engineering
Micro machining Lab, I.I.T. Kanpur
NC M/C
(1948 US Air force, MIT 21 months )
1997 → 1st commercial NC m/c
“CINCINNATIC HYDROTEL VERTICAL-SPINDLE MACHINE “
CNC M/C
History and Development of Technology
Conventional vs. CNC machine
Machine Structure
CNC machine
Program→ Control unit→ Motor→ Motion
CNC machine
Difference between Conventional M/C & CNC M/C
HUMAN ➔ LIMITATION
Components of Traditional NC Systems
Direct Numerical Control (DNC)
Direct Numerical Control (DNC)
Component and Function of CNC
▪ Feed drive
▪ Tool turret
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 of iron.
➢ 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.
What does Stepper means?
➢ 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.
Stepper Motor / Electro magnet
Rotor
Stator
Outside Casing
Coils Stator
Rotor
1
N
2 2
S
Internal components of a Stepper Motor
1
Cross Section of a Stepper Motor
1 Stators
S
N
2 2
S
N
1
Rotor
Full Step Operation
a b
1
N
One
6 pole rotor S step
N N
2 2
S S
N
Winding number 2 S
1
a b
2
Six pole rotor, two electro magnets
Stepper motors
CNC lathes
Stator coils
Rotor
CNC Stepping Motor
Control sequence to turn a stepper motor
+
Step 1 0 0 1 1
CW CCW
Step 2 1 0 1 0
Step 3 1 1 0 0
Step 4 0 1 0 1
Advantages / Disadvantages
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
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 given by
rg = Gear ratio
= Am/A= Nm/ N
Nm= RPM of motor, N= RPM of lead Screw
The linear movement of worktable is given by
❖Total number of pulses required to achieve a specified x-position increment is calculated by:
Equation (1)
➢ The table travel speed in the direction of lead screw axis is determined by:
Equation (2)
Actuator
Reduction gear
Position feedback
Potentiometer
+ 5V
(closed loop system)
➢ 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
Preparatory Codes:
➢ 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
%
N10 T104 M06
N20 G97 S2000 G95 F0.1 M03
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 S2500 M3
N25 Z12.5
N30 G01 Z-12.5 F150
N35 X-20 Y30
N40 G02 X10 Y100 R80
N45 G01 X140 Y60
N50 G02 X150 Y0 R50
N55 G01 X0 Y0
N60 G00 Z12.5
N65 G91 G28 Z0 M5
N70 G91 G28 X0 Y0
N75 M30
Basic CNC program for milling operation: Circular interpolation
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 milling operation
Thank You