Академический Документы
Профессиональный Документы
Культура Документы
(10,5) (10,5)
(3,2) (3,2)
X X
(10-3) 7
Vx =6 2 2
=6 = 5.5149
(10-3) + (5-2) 49+ 9
(5-2) 3
Vy =6 2 2
=6 = 2.3635
(10-3) + (5-2) 49+ 9
CNC INTERPOLATIONS
• Interpolations are done to execute contouring tool
paths. It produces a series of intermediate data
points between given coordinate positions and
computes the axial velocity of an individual axis
along the contour path.
• Now a day’s all CNC controls are equipped with
linear and circular interpolations, some provides
helical interpolation,
parabolic and
cubic interpolations.
1. Linear interpolation: This moves tool from start
point to the target point along a straight line. It can
be implemented in a 2-D plane or 3-D space. the
programming command should indicate X, Y, Z
coordinates of target point, and feed rate.
2. Circular interpolation: It is programmed to cut
circular arcs in three principal planes; namely XY, YZ,
ZX.
Direction, target position, arc radius, cutting plane,
and feed rate must be specified in the program.
3. Helical interpolation: Helical interpolation
combines the two-axis circular interpolation with a
linear interpolation in third axis.
4. Parabolic interpolation: It uses three non-collinear
points to approximate curves that are of free forms.
It reduces the number of programmed points by as
much as 50 times the number required by the linear
interpolation mode. It is mainly used in mold and
die making.
5. Cubic interpolation: Cubic interpolation
approximates the surfaces defined by third-order
geometry.
It involves the motion of three axes to machine
complex shapes such as automobile sheet metal
dies.
• In general main three Interpolations are:
•
• (a) linear, (b) continuous path approximated by
• incremental straight lines, and
(c) circular
Work Positioning
• The method of accurate work positioning in relation
to the cutting tool is called the “rectangular
coordinate system.” On the vertical mill, the
horizontal base line is designated the “X” axis, while
the vertical base line is designated the “Y” axis. The
“Z” axis is at a right angle, perpendicular to both the
“X” and “Y” axes.
The main axes of a vertical machining center
• Increments for all base lines are specified in linear
measurements, for most machines the smallest
increment is one ten-thousandth of an inch (.0001).
If the machine is graduated in metric the smallest
increment is usually one thousandth of a millimeter
(.001mm).
• The rectangular coordinate system allows the
mathematical plotting of points in space. These
points or locations are called “coordinates.” The
coordinates in turn relate to the tool center and
dictate the “tool path” through the work.
Chapter Two
2. Computer Numerical Control
CNC is refers to a computer that is joined to the NC
machine to make the machine versatile / flexible.
Information can be stored in a memory bank. The
programme is read from a storage medium such as
the punched tape /dongle/ and retrieved/recover to
the memory of the CNC computer. Some CNC
machines have a magnetic medium (tape or disk)
for storing programs. This gives more flexibility for
editing or saving CNC programs. Figure below
illustrates the general configuration of CNC.
Magnetic tape or Miscellaneous
disk or paper tape control -e.g. limit
reader switches, coolant,
spindle, etc.
CNC
controller
with keypad Machine tool
and display
5”
2.5”
p4
p2 p3 p5
1”
Tool size = 0.25 inch,
Feed rate = 6 inch per
5”
minute,
Cutting speed = 300 rpm,
Tool start position: 2.0, 2.0
Programming in inches
45°
(4, 4)
p1
Motion of tool:
p0 p1 p2 p3 p4 p5 p1 p0
p0 (2, 2)
• Step-1
1. Set up the programming parameters
5”
2.5”
p4
p2 p3 p5
1”
Programming in inches
5”
Use absolute coordinates
Feed in ipm
45°
N010 G70 G90 G94 G97 M04
(4, 4)
p1
Spindle speed in rpm
p0 (2, 2)
Spindle CCW
• Step-2
2. Set up the machining conditions
5”
2.5”
p4
p2 p3 p5
1”
Machine moves in XY-plane
Spindle speed
45°
N020 G17 G75 F6.0 S300 T1001 M08
(4, 4)
p1
Tool no.
p0 (2, 2)
Flood coolant ON
• Step-3
3. Move tool from p0 to p1 in straight line
5”
2.5”
p4
p2 p3 p5
Linear interpolation
1”
target coordinates
45°
(4, 4)
p1
p0 (2, 2)
• Step-4
4. Cut profile from p1 to p2
5”
2.5”
p4
p2 p3 p5
1”
Linear interpolation
5” target coordinates
p0 (2, 2)
target coordinates
1”
5”
y = 9 + 0.125 = 9.125
(6.5 - x)2 + 0.1252 = (1 - 0.125)2
x = 5.634
45° p3
(x, y)
(4, 4)
p1 (6.5, 9)
.125
p0 (2, 2)
1”
• Step-6
6. Cut along circle from p3 to p4
5”
2.5”
p4
p2 p3 p5
1”
5”
target coordinates
p0 (2, 2)
• Step-7
7. Cut from p4 to p5
5”
2.5”
p4
p2 p3 p5
1”
5”
Linear interpolation
p0 (2, 2)
• Step-8
8. Cut from p5 to p1
5”
2.5”
p4
p2 p3 p5
1”
5”
Linear interpolation
p0 (2, 2)
• Step-9
9. Return to home position, stop program
5”
2.5”
p4
p2 p3 p5
1”
Linear interpolation
45°
end of data
(4, 4)
N100 M00
p1
computers. This makes them more versatile in fed to the machine through magnetic tapes or
other such media.
the sense that, suppose a change in dimension
of a part is required.
In a CNC machine, you just change a variable in But In a NC machine, you would have had
the computer and your modification is done!! to change the program in the tape and
then feed it to the machine again.
Machine tool
Control unit
Program of
instruction
• The program of instruction is a numerical or
symbolic code that is detailed step-by-step to tell
the machine tool what to do.
• The controller unit is the unit that reads the
programme of instructions and converts it to real
movement of a machine tool.
• Two basic types of control unit are used with NC
machines: open-loop control and closed-loop
control.
• The machine tool performs the mechanical work
and deals directly with the part being machined.
1. Program of instruction/input medium
Part programming or instructions needed to drive
the machine tool components.
In which instructions are prepared manually or by
the use of computer.
Instructions include machining paramerters (feed
rate, cutting speed); sequence of the action (e.g
positioning and functions).
Instruction are stored in the form of tape( paper,
magnetic); floppy dikettes; DNC download to CNC
RAM.
2. Machine control unit(MCU)
- Electronics and control hardware
- Interpret instruction set
- Execute instructions
- Monitor results and correct where appropriate
3. Machine tool
Mechanical structure that performs the machining,
including the components that drive each axis of
motion( e.g., AC or DC motor; hydraulic actuator;
stepper motor- choice affects speed of response,
accuracy and power capacity).
Machine setup and machine operation are two
chief tasks performed by NC machine operation.
A. Machine setup involves/engage
1. Setting up of the work-hold devices
2. Loading the NC program
3. Loading necessary tools
4. Measuring and entering work coordinate offset and
compensation values
• Apart from these a trial run is made to ensure the
smooth operation of the machine.
B. Whereas, machine operation includes
1. Loading and unloading the work-pieces
2. Machine operation monitoring for broken and worn
tools
3. In-process inspection and measurement and SPC
charting .
• Applications of NC
• Machine tool applications:
1. Milling machines.
2. Drilling machines.
3. Boring machines.
4. Turning machines.
5. Grinding machines.
6. Sawing machines.
3.2 Characteristics of an NC machine tool
Characteristic
– Accuracy
– Repeatability
– spindle and axis-motor horsepower
– number of controlled axes
– dimension of workpiece
– features of the machine and the controller
Accuracy
It is a measure of control system’s capacity to position the tool or
workpiece to a specified set of coordinates.
– Control resolution: Basic length unit (BLU)
– Hardware inaccuracies
• inaccuracies in the machine elements
• machine-tool assembly errors
• spindle run-out
• Lead-screw backlash
• tool deflection
• thermal error
Repeatability
– It is a measure of how closely a machine repeats a given position
command
– Measure of agreement among repeated positioning movements
under the same operation conditions.
– It is measured as the diameter of the circle enclosing a target area
produced by many repeated experiments
Steps in CN/CNC programming procedure
1. Interpret part drawing
-define zero points( M/c zero, w/p zero and home zero)
-define x-, y-,z- axes
2. Determine machining requirements like;
- Determine required operation and sequence
- Determine tooling requirements
- Determine feed, seed, depth(s) of cut.
3. Complete part program
4. Complete post/job processor/mainframe or computer
5. Store part program(e.g. punch tape, disk file)
6. Verify completed program:”check it out,” is it accurate?
3.2 NC machine tool motors
Drive Motors
A. Electric motor
– widely used
– small size, ease of control, low cost
B. Hydraulic drive
– much larger power/size ratio
C. Pneumatic drive
– rarely used in NC positioning system
– can be used to drive the auxiliary devices
A. Electric motor
1. Stepping motor
2. Servo motor (DC or AC)
Most closed-loop systems control use servo motors (either DC or
AC), while, open- loop NC machines normally use stepping-motor
drives
1. Stepping motor
is an electromechanical actuator that translates digital
electrical signals into fixed mechanical rotation.
– When the pattern of the signals shifts, the motor
rotates one step angle.
– The direction of rotation depends on the pattern-
shifting direction.
– NC sends one stepping signal and a direction signal.
Stepping motor:is pulse control
– The number of steps (displacement) is determined by
the number of signals (pulses) received.
angle of rotor = number of pulses step angle
– The speed of a stepping motor is determined by the
rate at which the signals (pulse rate) are received.
angular speed of rotor = pulse rate step angle
A stepping motor provides open-loop, digital
control of the position of a workpiece in a
numerical control machine. The drive unit receives
a direction input (cw or ccw) and pulse inputs. For
each pulse it receives, the drive unit manipulates
the motor voltage and current, causing the motor
shaft to rotate by fixed angle (one step). The lead
screw converts the rotary motion of the motor shaft
into linear motion of the work-piece .
STEPPING MOTORS
A stepper motor is wound in such a way that the
rotation has a certain number of discrete "steps".
The number of steps per revolution is rather high,
around two hundred or so, and varies by model and
manufacturer. What this means is that the motor
has effectively a resolution (smallest controlled
movement) equal to the number of steps for that
motor.
• Stepper systems are often “open loop” which
means that the controller only tells the motors how
many steps to move and how fast to move, but
does not have any way of knowing where they
actually are. This can lead to errors, should a
situation arise where the motors are unable to
comply with the commanded move.
• This can be very obvious, where the motion stops
and it sounds like you stripped a gear, or subtle,
where the motor only misses a “few” steps. The
result is the same - the controller thinks you are at
X25.5, Y15.5 and in reality you might be at X25.3,
Y15.4 . This can lead to a cumulative error, which
may in turn lead to crashes, not to mention out of
spec parts.
2. Servo Motors
• A servo motor can be either DC or AC, and is usually
comprised of the drive section and the
resolver/encoder.
• Servo Motors are variable speed motors that
rotates in response to the applied voltage.
• DC Servo motors are controlled by varying the
voltage magnitude.
• AC Servo Motors are Controlled by varying the
Voltage frequency.
A servo motor is much smoother in motion than a
comparable stepper, and will have a much higher
resolution for position control. The servo family is
further divided into AC and DC types. An AC servo
had the advantage of being able to handle much
higher current surges than a DC, as the DC has
brushes, which are the limiting factor in this case.
AC Servo is Stronger than DC servo
The trend for manufacturers of “serious” CNC
machinery is to use AC servos. “Entry level”
machines may have DC servos, or even steppers.
B. Hydraulic Motor
Variable Speed Motors
Recırculatıng ball screws
Transform rotational motion of the motor into translational
motion of the nut attached to the machine table.
• Accuracy of NC/CNC machines depends on their rigid
construction, care in manufacturing, and the use of
ball screws to almost eliminate slop in the screws
used to move portions of the machine.