Additive Manufacturing Module 5 Notes
Additive Manufacturing Module 5 Notes
MODULE – 5
MANUFACTURING CONTROL AND AUTOMATION
CONTENTS
1. MODULE DETAILS
2. INTRODUCTION TO NC/CNC/DNC MACHINE
3. CNC PROGRAMMING
4. AUTOMATION IN PRODUCTION SYSTEM
5. SOLVED PROBLEMS - 4
6. IMPORTANT QUESTIONS - 7
7. TEXT & ADDITIONAL REFERENCE BOOKS - 4
8. WEB REFERENCE - 4
9. ASSIGNMENT QUESTIONS - 4
10. PREVIOUS VTU QUESTION PAPER - 1
MODULE DETAILS:
1
ADDITIVE MANUFACTURING (15ME82)
Historical Perspective
The word NC which stands for numerical control refer to control of a machine or a process using
symbolic codes consisting of characters and numerals. The word CNC came into existence in
seventies when microprocessors and microcomputers replaced integrated circuit IC based controls
used for NC machines. The development of numerical control owes much to the United States air
force. The concept of NC was proposed in the late 1940s by John Parsons who recommended a
method of automatic machine control that would guide a milling cutter to produce a curvilinear
motion in order to generate smooth profiles on the work-pieces. In 1949, the U.S Air Force
awarded Parsons a contract to develop new type of machine tool that would be able to speed up
production methods.
Parsons sub-contracted the Massachusetts Institute of Technology (MIT) to develop a practical
implementation of his concept. Scientists and engineers at M.I.T built a control system for a two
axis milling machine that used a perforated paper tape as the input media. This prototype was
produced by retrofitting a conventional tracer mill with numerical control servomechanisms for
the three axes of the machine. By 1955, these machines were available to industries with some
small modifications.
The machine tool builders gradually began developing their own projects to introduce commercial
NC units. Also, certain industry users, especially airframe builders, worked to devise numerical
control machines to satisfy their own particular production needs. The Air force continued its
encouragement of NC development by sponsoring additional research at MIT to design a part
programming language that could be used in controlling N.C. machines. In a short period of time,
all the major machine tool manufacturers were producing some machines with NC, but it was not
until late 1970s that computer-based NC became widely used. NC matured as an automation
technology when electronics industry developed new products. At first, miniature electronic tubes
were developed, but the controls were big, bulky, and not very reliable. Then solid-state circuitry
and eventually modular or integrated circuits were developed. The control unit became smaller,
more reliable, and less expensive.
Computer numerical control (CNC) is the numerical control system in which a dedicated computer
is built into the control to perform basic and advanced NC functions. CNC controls are also
referred to as soft-wired NC systems because most of their control functions are implemented by
the control software programs. CNC is a computer assisted process to control general purpose
machines from instructions generated by a processor and stored in a memory system. It is a
specific form of control system where position is the principal controlled variable. All numerical
2
ADDITIVE MANUFACTURING (15ME82)
control machines manufactured since the seventies are of CNC type. The computer allows for the
following: storage of additional programs, program editing, running of program from memory,
machine and control diagnostics, special routines, inch/metric, incremental/absolute switch
ability.
CNC machines can be used as standalone units or in a network of machines such as flexible
machine centers. The controller uses a permanent resident program called an executive program
to process the codes into the electrical pulses that control the machine. In any CNC machine,
executive program resides in ROM and all the NC codes in RAM. The information in ROM is
written into the electronic chips and cannot be erased and they become active the machine is on.
The contents in RAM are lost when the controller is turned off Some use special type of RAM
called CMOS memory, which retains its contents.
3
ADDITIVE MANUFACTURING (15ME82)
DNC system
4
ADDITIVE MANUFACTURING (15ME82)
Advantages & Disadvantages of CNC machine tools
Computer controlled machine milling machine Some of the dominant
advantages of the CNC machines are:
• CNC machines can be used continuously and only need to be switched off for occasional
maintenance.
• These machines require less skilled people to operate unlike manual lathes / milling
machines etc.
• CNC machines can be updated by improving the software used to drive the machines.
• Training for the use of CNC machines can be done through the use of 'virtual software'.
• The manufacturing process can be simulated virtually and no need to make a prototype or
a model. This saves time and money.
• Once programmed, these machines can be left and do not require any human intervention,
except for work loading and unloading.
• These machines can manufacture several components to the required accuracy without any
fatigue as in the case of manually operated machines.
• Savings in time that could be achieved with the CNC machines are quite significant.
CNC machines are generally more expensive than manually operated machines.
The CNC machine operator only needs basic training and skills, enough to supervise
several machines.
Increase in electrical maintenance, high initial investment and high per hour operating
costs than the traditional systems.
Fewer workers are required to operate CNC machines compared to manually operated
machines. Investment in CNC machines can lead to unemployment.
CNC was initially applied to metal working machinery: Mills, Drills, boring machines, punch
presses etc. and now expanded to robotics, grinders, welding machinery, EDM's, flame cutters and
also for inspection equipment etc. The machines controlled by CNC can be classified into the
following categories:
CNC mills and machining centers CNC lathes and turning centers.
CNC EDM
CNC grinding machines
CNC cutting machines (laser, plasma, electron, or flame)
CNC fabrication machines (sheet metal punch press, bending machine, or press brake)
CNC welding machines
CNC coordinate measuring machines
5
ADDITIVE MANUFACTURING (15ME82)
dimensional measurement, these machines are also used for profile measurement, angularity,
digitizing or imaging.
A CMM consists of four main components:
1. The machine, measuring probe, control system and
2. Motorized CMMs with automatic probing systems
3. Direct computer controlled (DCC) CMMs
4. CMMs linked with CAD, CAM and FMS etc.
6
ADDITIVE MANUFACTURING (15ME82)
• These machines are generally used in automobile workshops cost of these machines will
be twice than the conventional welding machines.
(1) Based on the motion type ' Point-to-point & Contouring systems
There are two main types of machine tools and the control systems required for use with them
differ because of the basic differences in the functions of the machines to be controlled. They are
known as point-to-point and contouring controls.
7
ADDITIVE MANUFACTURING (15ME82)
CNC systems require motor drives to control both the position and the velocity of the
machine axes. Each axis must be driven separately and follow the command signal generated by
the NC control. There are two ways to activate the servo drives: the open-loop system and the
closed-loop system
Open Loop - Programmed instructions are fed into the controller through an input device. These
instructions are then converted to electrical pulses (signals) by the controller and sent to the servo
amplifier to energize the servo motors. The cumulative number of electrical pulses determines the
distance each servo drive will move, and the pulse frequency determines the velocity.
The primary drawback of the open-loop system is that there is no feedback system to check
whether the program position and velocity has been achieved. If the system performance is affected
by load, temperature, humidity, or lubrication then the actual output could deviate from the desired
output.For these reasons, the open-loop system is generally used in point-to-point systems where
the accuracy requirements are not critical. Very few, if any, continuous-path systems utilize open-
loop control.
Closed Loop - The closed-loop system has a feedback subsystem to monitor the actual output and
correct any discrepancy from the programmed input. The feedback system could be either analog
or digital. The analog systems measure the variation of physical variables such as position and
velocity in terms of voltage levels. Digital systems monitor output variations by means of electrical
pulses Closed-loop systems are very powerful and accurate because they are capable of monitoring
operating conditions through feedback subsystems and automatically compensating for any
variations in real-time. Most modern closed-loop CNC systems are able to provide very close
resolution of 0.0001 of an inch. Closed-looped systems would, naturally, require more control
devices and circuitry in order for them to implement both position and velocity control. This,
obviously, makes them more complex and more expensive than the open-loop
system. A closed/open comparison is shown below in fig 22.2.
8
ADDITIVE MANUFACTURING (15ME82)
9
ADDITIVE MANUFACTURING (15ME82)
Based on the number of axes ' 2, 3, 4 & 5 axes CNC machines.
(3.1) 2& 3 axes CNC machines
CNC lathes will be coming under 2 axes machines. There will be two axes along which motion
takes place. The saddle will be moving longitudinally on the bed (Z-axis) and the cross slide moves
transversely on the saddle (along X axes machines, there will be one more axis, perpendicular to
the above two axes. By the simultaneous control of all the 3 axes, complex surfaces can be
machined.
(3.2) 4 & 5 axes CNC machines
4 and 5 axes CNC machines provide multi axis machining capabilities beyond the standard 3 axis
CNC tool path movements. A 5 axis milling Centre includes the three X, Y, Z axes, the A axis
which is rotary tilting of the spindle and the B axis, which can be a rotary index table.
Reduced cycle time by machining complex components using a single setup. In addition to time
savings, improved accuracy can also be achieved as positioning errors between setups are
eliminated.
• Improved surface finish and tool life by tilting the tool to maintain optimum tool to part
contact all the times.
• Improved access to under cuts and deep pockets. By tilting the tool, the tool can be made
normal to the work surface and the errors may be reduced as the major component of
cutting force will be along the tool axis.
Higher axes machining has been widely used for machining sculptures surfaces in aerospace and
automobile industry.
10
ADDITIVE MANUFACTURING (15ME82)
Turning centre:
Traditional centre lathes have horizontal beds. The saddle moves longitudinally and the cross slide
moves transversely. Although the tools can be clearly seen, the operator must lean over the tool
post to position them accurately. Concentration of chips may be creating a heat source and there
may be temperature gradients in the machine tool. Keeping the above points in view, developments
in the structure of the turning centers lead to the positioning the saddle and the cross slide behind
the spindle on a slant bed as shown in the figure. Chips fall freely because of slant bed
configuration which is more ergonomically acceptable from operator's point of view.
Based on the power supply ' Electric, Hydraulic & Pneumatic systems
Mechanical power unit refers to a device which transforms some form of energy to mechanical
power which may be used for driving slides, saddles or gantries forming a part of machine tool.
The input power may be of electrical, hydraulic or pneumatic.
Electric systems:
Electric motors may be used for controlling both positioning and contouring machines. They may
be either a.c. or d.c. motor and the torque and direction of rotation need to be controlled. The speed
of a d.c. motor can be controlled by varying either the field or the armature supply. The clutch-
controlled motor can either be an a.c. or d.c. motor. They are generally used for small machine
tools because of heat losses in the clutches. Split field motors are the simplest form of motors and
can be controlled in a manner according to the machine tool. These are small and generally run at
high maximum speeds and so require reduction gears of high ratio. Separately excited motors are
used with control systems for driving the slides of large machine tools.
Hydraulic systems:
These hydraulic systems may be used with positioning and contouring machine tools of all sizes.
These systems may be either in the form of rams or motors. Hydraulic motors are smaller than
electric motors of equivalent power. There are several types of hydraulic motors. The advantage
of using hydraulic motors is that they can be very small and have considerable torque. This means
that they may be incorporated in servo systems which require having a rapid response.
11
ADDITIVE MANUFACTURING (15ME82)
Different components related to CNC machine tools
Any CNC machine tool essentially consists of the following parts:
CNC controls are used to control various types of machine tools. Regardless of which type of
machine tool is controlled, it always has a slide table and a spindle to control of position and speed.
The machine table is controlled in the X and Y axes, while the spindle runs along the Z axis.
The feedback system is also referred to as the measuring system. It uses position and speed
transducers to continuously monitor the position at which the cutting tool is located at any
particular instant. The MCU uses the difference between reference signals and feedback signals
to generate the control signals for correcting position and speed errors.
12
ADDITIVE MANUFACTURING (15ME82)
ADVANTAGES
CNC machines can be used continuously 24 hours a day, 365 days a year and only need
to be switched off for occasional maintenance.
CNC machines are programmed with a design which can then be manufactured hundreds
or even thousands of times. Each manufactured product will be exactly the same.
Less skilled/trained people can operate CNCs unlike manual lathes / milling machines etc.
which need skilled engineers.
CNC machines can be updated by improving the software used to drive the machines
Training in the use of CNCs is available through the use of ‘virtual software’. This is
software that allows the operator to practice using the CNC machine on the screen of a
computer. The software is similar to a computer game.
CNC machines can be programmed by advanced design software such as Pro/DESKTOP,
enabling the manufacture of products that cannot be made by manual machines, even those
used by skilled designers / engineers.
Modern design software allows the designer to simulate the manufacture of his/her idea.
There is no need to make a prototype or a model. This saves time and money.
One person can supervise many CNC machines as once they are programmed they can
usually be left to work by themselves. Sometimes only the cutting tools need replacing
occasionally.
A skilled engineer can make the same component many times. However, if each
component is carefully studied, each one will vary slightly. A CNC machine will
manufacture each component as an exact match.
DISADVANTAGES
o CNC machines are more expensive than manually operated machines, although costs are
slowly coming down.
o The CNC machine operator only needs basic training and skills, enough to supervise
several machines. In years gone by, engineers needed years of training to operate centre
lathes, milling machines and other manually operated machines. This means many of the
old skills are been lost.
o Less workers are required to operate CNC machines compared to manually operated
machines. Investment in CNC machines can lead to unemployment.
o Many countries no longer teach pupils / students how to use manually operated lathes /
milling machines etc... Pupils / students no longer develop the detailed skills required by
engineers of the past. These include mathematical and engineering skills.
APPLICATION
CNC machine is used
In the metal removal industry
In the metal fabrication industry
In the electrical discharge machining industry
In the woodworking industry
Laser welding in automobile industry
13
ADDITIVE MANUFACTURING (15ME82)
CNC Programming and Introduction
The part program is a collection of all data required to produce the part. It is arranged in the form
of blocks of information. Each block contains the numerical data required for processing a
segment of the work piece.
Part program is of two type:
CNC Programming
Programming consists of a series of instructions in form of letter codes
14
ADDITIVE MANUFACTURING (15ME82)
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
15
ADDITIVE MANUFACTURING (15ME82)
CNC MILL
In CNC Mill we have 3 axes – X axis (along length), Y axis (along breadth) & Z axis (along
thickness). The position of the Z axis is along the spindle axis and it is +ve in a direction away
from the workpiece. The position of the X & Y axis is parallel to and on the worktable. X axis is
along the length and Y axis is along the breadth of the table. X and Y axes are +ve in directions
moving away from the workpiece.
Z
Spindle
Home Position
Y
Work
Table
Machine Zero X
Point
Max. Y
Max. X
2. Automatic Pallet Changer (APC): It is a time saving facility provided on the CNC
Mill/Machining Center for automatically loading and unloading the pallets. Pallets are
portable work holding devices. While a loaded pallet is being used, a machined-
component may be unloaded from the previous pallet and a to-be-machined workpiece
may be loaded on to the next pallet.
16
ADDITIVE MANUFACTURING (15ME82)
4. Dimensioning Method - Absolute & Incremental Dimensioning:
In absolute dimensioning, coordinate values are measured from the program zero point. In
incremental dimensioning, the coordinate values are measured from the previous programmed
point.
Note: Incremental program is easy to program but tedious to change values in between. Error
committed in any block is carried over to the consecutive blocks. Whereas, absolute programming
is a bit inconvenient as all coordinates are measured from a fixed point. Error committed in any
block will affect only that block. Consecutive blocks are not affected.
17
ADDITIVE MANUFACTURING (15ME82)
a. Commonly used G-codes on the Machining Center:
18
ADDITIVE MANUFACTURING (15ME82)
M06 Tool change M98 Sub program Call
M08 Coolant ON M99 Sub program End
Program stop &
M30
rewind
c. Structure of the program for CNC Mill (FANUC): The CNC program
can be divided into 3 parts - Start-Up, Body & End of the program
5. Start – Up: The commands in this portion of the program are used to initialize the
controller and the machine tool for further operation.
O1000
G21/G20 G94/G95
G91 G28 Z0
G28 X0 Y0
G90
G50 S3500
M06 T01
M03/M04 S1000
G00 X-10 Y-10 Z20
Commands Explanation
While writing a program on FANUC controller first line has to be
O1000 started with letter ‘O’ followed by a 4-digit number which specifies the
program name.
G21 specifies that programming must be done in metric units (mm) OR
G20 specifies that programming is done in imperial (inch) units.
G21/G20 G94/G95
G94 specifies that the feed is programmed in mm/min OR G95
specifies that the feed is programmed in mm/rev.
G28 specifies “Go to Home Position”. Homing operation is always
carried out in incremental mode (i.e., G91).
G91 G28 Z0
G28 Z0 sends the Z axis slide to home position.
G28 X0 Y0
G28 X0 Y0 sends the X & Y axis slides to home position.
G90
G90 cancels the incremental mode sets the default absolute
programming mode.
G50 S3500 This sets the maximum speed of the spindle at 3500 rpm.
M06 T01 Make tool change to T01.
19
ADDITIVE MANUFACTURING (15ME82)
M03 – makes the spindle to rotate in CW direction
M03/M04 S1000 M04 - makes the spindle to rotate in CCW
direction S1000 – Spindle rotates at 1000 rpm
G00 X-10 Y-10 Z20 G00 – rapidly moves the tool to the point X-10, Y-10, Z20
6. Body of the program: This portion of the program consists of the commands that
represent the actual machining part. It changes from job to job.
7. End of program:
G91 G28 Z0
G28 X0 Y0
M05
M30
EXPLANATION:
8. Slotting: This is an operation where the vertical milling cutter is used to produce a continuous
slot. The slot produced may be linear or a contour (curvi-linear).
20
ADDITIVE MANUFACTURING (15ME82)
G01 Z-1 F50
X10 Y90
X90 Y90
X90 Y10
X10 Y10
G00 Z5 Billet Size : 100 x
G91 G28 Z0 100 x 10 mm
G28 X0 Y0
M05 M30 Cutter Dia: 6 mm
21
ADDITIVE MANUFACTURING (15ME82)
Automated Manufacturing Systems
Automated manufacturing systems can be classified into three basic types.
1. Fixed automation
2. Programmable automation
3. Flexible automation
1. Fixed automation – In this type, the sequence of processing or assembly operations is
fixed by the equipment configuration. Here the movement is restricted to one or two types only.
Ex: Rotational feeding of bottles. This type is most suitable for custom made engineering
equipment when high level of production with less product variety is required.
The typical features of fixed automation are:
High initial investment for custom-engineered equipment
High production rates
Relatively inflexible in accommodating product changes
3. Flexible automation- It is an extension of the previous type. This can produce more
variety of products with virtually no change over time. This system is featured by high
investment, continuous production of variable product mix, medium production rates, flexible
to deal with variety. This can be achieved through flexible manufacturing system like a CNC
machine.
The features of flexible automation can be summarized as
follows:
High investment for a custom-engineered system
Continuous production of variable mixtures of products
Medium production rates
22
ADDITIVE MANUFACTURING (15ME82)
Levels of Automation
1. Device level. This is the lowest level in the automation hierarchy. It includes the actuators,
sensors, and other hardware components that comprise the machine level. The devices are
combined into the individual control loops of the machine, for example, the feedback
control loop for one axis of a CNC machine or one joint of an industrial robot.
2. Machine level. Hardware at the device level is assembled into individual machines.
Examples include CNC machine tools and similar production equipment, industrial robots,
powered conveyors, and automated guided vehicles. Control functions at this level include
performing the sequence of steps in the program of instructions in the correct order and
making sure that each step is properly executed.
3. Cell or system level. This is the manufacturing cell or system level, which operates under
instructions from the plant level. A manufacturing cell or system is a group of machines or
workstations connected and supported by a material handling system, computer, and other
equipment appropriate to the manufacturing process. Production lines are included in this
level. Functions include part dispatching and machine loading, coordination among
machines and material handling system, and collecting and evaluating inspection data.
4. Plant level. This is the factory or production systems level. It receives instructions from
the corporate information system and translates them into operational plans for production.
Likely functions include order processing, process planning, inventory control, purchasing,
material requirements planning, shop floor control, and quality control.
5. Enterprise level. This is the highest level, consisting of the corporate information system.
It is concerned with all of the functions necessary to manage the company: marketing and
sales, accounting, design, research, aggregate planning, and master production scheduling.
The corporate information system is usually managed using Enterprise Resource Planning.
23
ADDITIVE MANUFACTURING (15ME82)
PROBLEMS
Program 1:
Write a part program to perform the circle slotting operation on the component
as shown in the figure without making use of a subprogram. Maximum depth
of cut that can be given in a single pass is 1 mm. Take cutter dia = 8 mm.
O0004
G21 G94
R 30
G91 G28 Z0
G28 X0 Y0
G90
P1 P2
M06 T01 (8 mm end mill)
M03 S1000
G00 X-30 Y0 Z2
100
G01 Z-1 F50
X-30 Y0 R30
X-30 Y0 R30
Billet Size : 100 x 100 x 10 mm
G01 Z-3 F50 Cutter Dia: 8 mm
G02 X30 Y0 R30
X-30 Y0 R30
24
ADDITIVE MANUFACTURING (15ME82)
X-30 Y0 R30
X-30 Y0 R30
G01 Z5
G91 G28 Z0
G28 X0 Y0
M05
M30
Program 2:
Write a part program to perform the circle slotting operation on the
component as shown in the figure. Use a subprogram, taking a depth of
cut of 1 mm in each pass. Take cutter dia = 8 mm.
O0005
G21 G94
G91 G28 Z0
G28 X0 Y0 R 30
G90
M03 S1000 P1 P2
G00 X-30 Y0 Z5
G01 Z0 F30
M98 P0053937
100
G00 Z5
Billet Size : 100 x 100 x 10 mm
G91 G28 Z0 Cutter Dia: 8 mm
G28 X0 Y0
M05
25
ADDITIVE MANUFACTURING (15ME82)
M30
X-30 Y0 R30
M99
Program 3:
Write a part program to perform the contour slotting operation on the
component as shown in the figure.
O0003
G21 G94
G91 G28 Z0 10 60
R 10
G28 X0 Y0
G90 P4 P5 X Y
P6 P1 20 10
P3
M06 T01 (6 mm end mill)
P2 10 20
M03 S1000 P3 10 80
P4 20 90
G00 X20 Y10 Z2 R 10 P5 80 90
P2
P6 90 80
G01 Z-1 F50 P1 P7 P7 90 10
G03 X10 Y20 R10 P1 20 10
G00 Z5
G91 G28 Z0
G28 X0 Y0
M05
M30
26
ADDITIVE MANUFACTURING (15ME82)
IMPORTANT QUESTIONS:
References
1. Boucher, T. O., Computer Automation in Manufacturing, Chapman & Hall, London,
UK, 1996.
2. Groover, M. P., “Automation,” Encyclopaedia Britannica, Macropaedia, 15th ed.,
Chicago, IL, 1992. Vol. 14, pp. 548–557. [3] Groover, M. P., “Automation,” Handbook
of Design, Manufacturing, and Automation, R. C. Dorf and A. Kusiak (eds.), John Wiley
& Sons, Inc., New York, 1994, pp. 3–21.
3. Text Book on Automation, Production Systems, and Computer-Integrated
Manufacturing. by Mikell P. Groover.
4. Computer Aided Manufacturing - P.N. Rao, N.K. Tewari and T.K. Kundra Tata McGraw
Hill 1999
Web References
1. https://www.engr.uvic.ca/~mech410/CAM_references/CNC_Computer_Numerical_Co
ntrol_Programmig_Basics.pdf
2. https://www.brainkart.com/article/Process-Industries-Versus-Discrete-Manufacturing-
Industries_6387/
3. https://www.youtube.com/watch?v=9Xvkk_QtNSk
4. http://www.vtuboss.in/2018/07/vtu-mechanical-engineerng-8th-sem-cbcs.html
27
ADDITIVE MANUFACTURING (15ME82)
ASSIGNMENT QUESTIONS
1. Write a part program to perform the circle slotting operation on the component
as shown in the figure wit out making use of a subprogram. Maximum depth of
cut that can be given in a single pass is 1 mm. Take cutter Dia = 8 mm.
R 30
P1 P2
100
Billet Size : 100 x 100 x 10 mm
Cutter Dia: 8 mm
2. Write a part program to perform the square slab milling operation on a workpiece
of dimensions 100mm×100mm×10 mm. The slab’s dimension is 64mm×64mm×6mm
and is located at the centre of the workpiece. Use a cutter diameter of 10 mm.
Take program zero at the left bottom end of the workpiece.
28
ADDITIVE MANUFACTURING (15ME82)
29
ADDITIVE MANUFACTURING (15ME82)
30