CNC and Motion Control in Industrial Automation-I (2014)
CNC and Motion Control in Industrial Automation-I (2014)
CI(D)M Class
2014
Numerical Control
• Numerical control is a method of
automatically operating a manufacturing
machine based on a code of letters, numbers,
and special characters.
• The numerical data required to produce a
part is provided to a machine in the form of a
program, called part program or CNC
program.
• The program is translated into the appropriate
electrical signals for input to motors that run
the machine.
2
Numerical Control - History
• The concept is credited to John Parson (1947). Using
punched cards he was able to control the position of
a machine in an attempt to machine helicopter blade.
• US Air Force teamed up with MIT to develop a
programmable milling machine (1949).
• In 1952, a three-axis Cincinnati Hydrotel milling
machine was demonstrated. The term Numerical
Control (NC) originated. The machine had an
electromechanical controller and used punched
cards.
• A new class of machines called machining centers
and turning centers that could perform multiple
machining processes was developed.
• Modern NC machine has a computer on board,
Computer Numerical Control (CNC). They can run
unattended at over 20,000 rpm (spindler speed) with
a feed rate of over 600 ipm and an accuracy of .0001
3
Computer Numerical Control (CNC)
A CNC machine is an NC machine with the added feature of an on-board
computer.
4
Hardware Configuration of NC Machine
Machine Control Unit (MCU)
the brain of the NC machine.
The Data Processing Unit (DPU)
reads the part program.
The Control Loop Unit (CLU)
controls the machine tool operation.
5
Loop Systems for Controlling Tool
Movement
Open Loop
System
Uses stepping motor to create movement. Motors rotate a fixed
amount for each pulse received from the MCU. The motor
sends a signal back indicating that the movement is
completed. No feedback to check how close the actual
machine movement comes to the exact movement
programmed.
6
Basic principles of CNC machines
NC/CNC machine consist of 3 basic elements.
List of instructions – NC code – a mix of alphabecial and
numerical information. Contaion information about
movements, feed, speed, tool change and other
machine functions (cooling, measuring)
Control unit - control system – converts the program into
signal for machine and send them to machine (PLC
controller)
Control Machine
NC
unit Drive
code
(system) motor
Sensing
device
Basic principles of CNC machines
NC/CNC machine consist of 3 basic elements.
Machine tool – fitted with drive motor to operate
slides, support and spindle. Also with switches to
start/stop specific functions
Sensing device – optional(closed circuit)- sensing
device control if a specific demand was fullfilled.
Support feed, Table position etc.
Control Machine
NC
unit Drive
code
(system) motor
Sensing
device
CNC machine tool
Motions
Three types of motion
1) point-to-point motion – tool is moved to
specific location, path or speed of move
between location is not controlled. (drilling)
2) Linear control – movement along one of the
axes of the machine.
3) Contouring control – movement can be
made in two or more axes simultaneously.
Motions
Point-to-point control Linear control Contouring control (continual)
Vertical
milling
machine
Horizonta
l milling
machine
14
CNC Machine Axes of Motion
More complex CNC machines have the capability of executing additional
rotary motions (4th and 5th axes).
15
CNC Machine Axes of Motion
Five-axis
machine
configurations
Mechanical Engineering 16
Department
Machining Centers
Machining Center
A computer-controlled machine tool
capable of many types of cutting
operations on multiple surfaces and
directions on a workpiece
Manufacturing Centers
Z
Y
3-Axis Operation
4-Axis Operation
φ
θ
5-Axis Operation
Components of a
Machining Center
Example of a
Machining Center
Example of a
Machining Center
Example of a Machining Center
3-Axis Operation
4-Axis Operation
φ
θ
5-Axis Operation
Components of a
Machining Center
Example of a
Machining Center
Example of a
Machining Center
Example of a Machining Center
14 October 2014 40
DC Motors
• This animation demonstrates the principle for a stepper motor using full
step commutation. The rotor of a permanent magnet stepper motor
consists of permanent magnets and the stator has two pairs of windings.
Just as the rotor aligns with one of the stator poles, the second phase is
energized. The two phases alternate on and off and also reverse polarity.
There are four steps. One phase lags the other phase by one step. This
is equivalent to one forth of an electrical cycle or 90°.
14 October 2014 42
Half Stepper Motor
• This animation shows the stepping pattern for a half-step stepper motor.
The commutation sequence for a half-step stepper motor has eight steps
instead of four. The main difference is that the second phase is turned on
before the first phase is turned off. Thus, sometimes both phases are
energized at the same time. During the half-steps the rotor is held in
between the two full-step positions. A half-step motor has twice the
resolution of a full step motor. It is very popular for this reason.
14 October 2014 43
Stepper Motors
• This stepper motor is very simplified. The rotor of a real stepper motor
usually has many poles. The animation has only ten poles, however a
real stepper motor might have a hundred. These are formed using a
single magnet mounted inline with the rotor axis and two pole pieces with
many teeth. The teeth are staggered to produce many poles. The stator
poles of a real stepper motor also has many teeth. The teeth are
arranged so that the two phases are still 90° out of phase. This stepper
motor uses permanent magnets. Some stepper motors do not have
magnets and instead use the basic principles of a switched reluctance
motor. The stator is similar but the rotor is composed of a iron laminates.
14 October 2014 44
More on Stepper Motors
14 October 2014 48
Brushless AC Motor
14 October 2014 49
AC Induction Motor
14 October 2014 50
AC Induction Motor
• The rotating magnetic field of the stator drags the rotor around. The
rotor does not quite keep up with the the rotating magnetic field of the
stator. It falls behind or slips as the field rotates. In this animation, for
every time the magnetic field rotates, the rotor only makes three fourths
of a turn. If you follow one of the bright green or red rotor teeth with the
mouse, you will notice it change color as it falls behind the rotating
field. The slip has been greatly exaggerated to enable visualization of
this concept. A real induction motor only slips a few percent.
14 October 2014 51
Brushless DC Motors
14 October 2014 52
Basic DC Motor Direction Control
H Bridge
Function