Lecture 37

IIT Kanpur July 201
20 followers
Oct 23, 2023
Coming to the week 9 of the course, we have discussed various aspects of the computer
aided decision support systems and some case studies on big data analytics, how is it supporting
the computer aided decision support systems in a way. Professor Deepu Philip has covered
a few basic languages and also he will try to cover html in the coming weeks, that is
the markup language that you need to understand to finally display what you have understood
in the previous weeks. I have discussed in the week section majorly the decision support
systems for the computer aided design and computer aided manufacturing. Majorly the
focus was on computer aided design in the last week. I have discussed the geometric
shapes, what are the geometric shapes, what are different kinds of the geometric modeling
features that we have, what types of geometric modeling, we shed a light on the surface modeling,
wire frame models and the solid modeling, the different applications and uses of them.
How is computer aided design supported by the different libraries that we also try to
see using the CNN, the convolutional neural network system, where the different shapes
are there and the kind of the object that we are trying to replicate that could be taken
from different library shapes and you can identify the specific shape while classifying
and matching with the existing one and you can set into a specific class and try to take
the features of that class and start to develop the model from there.
This is how big data analytics has helped us to have a more closer information or understanding
of the drawings that we are trying to develop. That means the people who are not from the
manufacturing or the CAD CAM background can also start their own designs. Yes, final vetting
is to be taken by the engineer who is a CAD engineer, that person would help us to have
the proper tolerancing and that would be definitely supporting you.
This week would be more focused on the decision support systems in computer aided manufacturing.
Since we discussed about the neutral files or the product data exchange in the last week
and also we understood that the post processor is the one that communicates with the machine
tools finally. But yes, there are many other things that are still needed to be discussed
because the decisions that are to be taken or to be communicated to the machine tools
requires certain steps in between. That is why I have designed this lecture to understand
first thing is the process planning. What is the process planning like we discussed
about the assembly planning or assembly tree in the last week. Assembly tree is just like
a decision tree as we see in the last week. Similarly, there are certain other decisions
written to be taken, certain other formats to be made which happens in the process planning.
Assembly planning is one of the only parts of the process planning.
Then comes the part programming. Part programming is one when you have the geometrical dimensions
and then you try to now have a program on them so that you can finally execute them
for the manufacturing. So that is part programming in which we will also see how do we integrate
CAD and CAM, what are the different steps or different languages in it in which we will
see different decision support systems for the computer numerical control machines.
We will start from the NC only, it is the numerical control. The final communication
is taken by the different code systems. This is one of the system that is the G code and
M code that also will put some light on. Process planning, process planning as a term itself
is planning of the process which means that the steps that you are going to execute for
the manufacturing that you are going to plan prior. It is also known as manufacturing planning.
It results in an increased output, higher precision, faster turnaround for vital business
tasks. It is described as a set of procedures that you follow to have a specific output.
So it generally what I could say is converts input into output when we flow through it.
So process planning is my processor in which the input is the design data and as an output
we communicate to machine tool and production control. In the production control there could
be scheduling, there could be routing, certain activities are there. If I try to list out
activities I will definitely start with routing. That is we make certain documents that we
call it operation sheets or route sheets that let us know that how the specific job would
be manufactured. For instance if you need to manufacture may be this pen stand, it has
a top body, has a bottom. How would this be manufactured? This is an assembly of two components.
These two components would be manufactured separately on an injection modeling machines.
Then these would be assembled. For assembly there would be a different setup of the machines
that could do it. So these steps would be first two components are manufactured. The
next step is the assembly part. So this is known as a route sheet.
So we have operation sheet and route sheet which has different headers such as the serial
number of the job, the department from which it is coming, the operation number or the
job number or the specific operations that would be carried on the job, the machine that
is there, tools, jigs and fixtures which are required for the machines that will also come.
Then time per piece, date that is a start date, end date, start time, end time these
all could come. Along with routing we have processes. When I say processes it could be
any of the processes that is the machining processes, in additive manufacturing it would
be the printing processes, what kind of printing are we taking into account that we will discuss
in the coming lectures in this week only that is the manufacturing technology and the processes.
In the general processes for manufacturing I could say different machines for the rectilinear
jobs it is generally milling or may be shape tools is there. For the curvilinear jobs we
also do some milling and also lathe is also kind of a milling operation some people consider
it just as a kind of milling operation where we only control the rotary motion. So what
processes are there? Then we have the process parameters. Process parameters if I say it
could be surface finish majorly that time is the parameter that is focused upon that
is what time it is taking for drilling because time is money that is what is called in a
business. So lesser the time it takes to produce the products to the conformed quality the
more would be the production or throughput more would be the profit. So process parameter
time is one of the major parameter that is taken into account.
Then we have machine tool selection. Machine tool could be any of the machines that conforms
or that could work on the processes that you have here at the second point. With machine
tools we cannot miss to have fixtures or jigs. Now operation plan sequence and summary of
the process plan is made that helps us to execute it to take it to the machine tool
and the production control in which schedules are also made. Scheduling I will put it as
here. To put it in an excel I would say the aim of the process planning is to identify
appropriate supplementary information from the drawing to aid the processes that is to
have the dimensional information, the geometric information from the drawing or the design
and try to communicate it to the machine tool and try to have the final output out of it.
So process planning helps us to communicate the things to the machine tool.
Process that we talk about is known as computed edit plus process planning. The computed edit
process planning or CAP is something that goes beyond the production control even that
means because computers are involved. These days now we do something known as the factory
simulation though the name is process planning only but if I say a word process simulation.
Process nowadays is more typically used a word for the machining processes. If I say
process that is for manufacturing a specific component, if I try to have a computed engineering
that is the final element analysis over it that is known as a process simulation. For
this process what would be the simulation, how would it work or for the specific machining
how would it work. This is known as process simulation that is the process planning helps
us to do. In the factory simulation we can even simulate how do we schedule the machines,
how do we put machines in a layout, at what distance the machine could be put so that
the material travels from one point to another and where do we keep the material, the work
in progress inventory, then who would operate it, all this is taken care, this is also known
as plant simulation. Siemens is a company that took a major lead
in it. Being a little out of the scope of this course this could be taken in the coming
courses that would be an extended courses to the present course only where we will discuss
the product life cycle management, we will talk about the plant simulation softwares
and how does this help in a present day life to make our life easy in a manufacturing concern.
So majorly in a computer aided process planning the factors that help or that affects the
process plant selections are the shape of the component or the product that you are
trying to produce, then we have the tolerances, we have along with shape the size of it. For
instance if in 3D manufacturing you if you need to produce a big size of a print maybe
we have a machine of size of about envelope 1 meter by 1 meter by 1 meter such a big component
as a one piece, in a 3D manufacturing that is possible or would you like to manufacture
the components in 2, 3 different parts and try to assemble them, that is more important
when we consider the design for maintenance. For the maintenance sometimes you manufacture
the components so that you can replace them easily, you can maintain them easily, so modular
design is more taken into account, size of the component is also one of the important
factors that helps you to plan the process.
Then surface finish, the material type, this is the kind of the material or the product
that you are trying to work upon, we can also have quantity here, when you are talking about
the schedule or the routine for that, here urgency I will put as one of the points, what
is the priorities that you set for the product, that is generally first in first out option
that you try to follow, but sometimes some products are required urgently to complete
some other assemblies or so, so then this becomes a more important factor.
Then the value that product is offering you, then the manufacturing system itself, so this
is the process planning, now when we talk about the shape, size, tolerances of the product,
we always have to consider the parts that we are trying to manufacture, that is we need
to have a part drawing with us, the part drawing has the geometrical and dimensional information,
here comes the role of the part programming or to integrate the CAD and CAM, computed
edit process planning plays a big role and to increase productivity and reliability in
an increasing competitive market nowadays, this integration is imperative.
This is something taken into an umbrella of computer integrated manufacturing, where we
have computed process plans, we have flexible manufacturing systems, where CAD, CAM, production
management or automated assembly, all they come into a single channel and try to communicate
with each other, the achievement of a true computer integrated manufacturing system is
a challenging task, because CAD and CAM data are heterogeneous and incompatible, though
neutral files helps you to transfer the data to the machine tool, but to have the data
for the production control as well, you need to understand the data in a better way, so
sometimes the geometrical data that is stored in a CAD database is of no use to the production
management directly.
On the other hand, the data related to the production management sometimes is no use
to the design department, those all go in a different directions, so that is why I need
to have a common system that tries to integrate them, so that is what we call as the computer
integrated manufacturing only.
So to meet a challenge to have a centrally integrated SIEM database, we need to have
an attractive practical link between multiple standalone CAD and standalone CAM, a communication
between them.
Now, the linked SIEM system would rely heavily on the communication software that links these
hardware mainly the computers, so with the advent of internet, intranet and extranets,
we have solved many of the networking problems nowadays, that is the communication protocols
at the software level such as we have the programs or the formats such as IGES, STEP
or many such have achieved a similar success.
Now, we have a crucial step in CNC programming that helps to communicate between the machine
tool and the design, here I said design, I could also say my drawing, so now not only
the neutral file would help us to do it, the post processor also needs to understand something
and it needs to convert the drawing into the final usable format.
Now, this is somewhere we have geometrical entities of the part which must be ordered
properly and the numerical control information might be pushed in on a separate layers, so
imposing these requirements on the generation of engineering drawing enables the automatic
generation of the NC programs, when a program that is a numerical control is taken using
a computer, it is a computer numerical control, when I say NC, it is just a numerical control
which is generally taken using a punched tape or a magnetic tape or this is the challenge
where we need to have to work upon the part programming.
In the part programming, the first thing is we need to develop the CAD data for CNC or
NC that means an engineering drawing that looks fine from the drafting view point sometimes
is not completely something that could be used that is NC packages include translation
routines that automatically format the drawings and convert them into the usable form.
And we prepare the drawing for the programming for successful what we call it as electronic
linking, in this few points I will have to jot it down here are part data should be
precise which means the coordinates must be accurate before the drawing is sent to the
NC package, the accuracy of data is actually using within a round off of the truncation
of the errors of the computer running the CAD software for instance, if I have a tolerance
of about may be 100 plus minus 0.5 millimetre, this is I am giving a binary tolerance here,
so here the nominal dimension if it is stored it has to be 100.000, if the nominal dimension
is stored that nominal means the central dimension for the tolerance, if it is stored as something
may be 100.02 or something this is not acceptable, yes 100.001 is okay, so that is the part data
should be precise depending upon the precision that we are trying to get through our program.
Now second is, now since the tolerances have to be given properly the drawing tolerances
should match with the manufacturing practice which means in the practice if the certain
dimensions are given based upon certain standards which are there and we need to take into account
certain allowances such as material deflection, such as the cutter wear out all these tolerances
all these allowances are to be taken into account when we are trying to give the specific
tolerances here that is the work tool combination or matching, for instance we need to give
certain allowances for different kinds of the tools sometimes or different kinds of
the jobs that we are using may be the cutter if we have the specific work tool combination
for instance if I need to grind a mild steel work piece using an aluminium wheel or may
be from a ceramic wheel, the aluminium wheel will wear out faster, so for that tolerances
are to be given or different work tool combinations are there for a harder work piece for example
may be high speed steel work piece has to be then grinded, it could be more useful to
have a ceramic wheel only, so it depends upon what kind of combination do we have, so this
is an important point that is considered.
Then separate drawing annotations from the drawing data are to be given which means we
place the annotations that is the nodes and dimensions and data that is the geometrical
entities on different layers that is why I put two letters there G codes, M codes,
what are those other than G and M we have N, C other kinds of codes as well, these are
all different layers for to put annotations, to put the machine information, to put the
geometric information, so all these were put through the different layers in a code, in
a code when I say it is a communication language for the numerical control or computer numerical
control.
Now an important point here is that the profile entities must connect which means a typical
machine tool will cut continuously only within may be 0.0001 centimeters, so these entities
should be connected in a way, so that within this tolerance may be say 0.0001 I would say
millimeter, so therefore it is important that CAD databases meet or exceed the machine
tool accuracy.
Now dimensionality requirement must be specified, so we need to have an order that is why we
do call it as routing there for the manufacturing input, order the manufacturing which means
the geometric entities should be input in an order they are connected to each other
may be it could be clockwise or anticlockwise, the path has to be unidirectional that the
cutting tool might follow, so these require the designers to enter geometry in a manufacturing
order, so that they could have a good creativity and productivity in their designs.
Now this part is my CAD data or my design, this has to communicate with the other part
which is my machine tool, now since the NC program is a combination of the machine tool
code, we have a program here which is machine tool code, machine specific instructions then
we have geometric information, we have with us the motion statements and we have the different
input parameters such as cutting speed, feed or we call it some auxiliary functions or
so when there is a parameter these are machining parameters.
Now the machine tool code and machine specific instructions would be definitely depending
upon the kind of machine tools that we have, here we need to have a good description of
the machine tools that is we need to understand that the machine tool has a central processing
unit that is known as MCU, MCU which is machine control unit, machine control unit that is
one which is connected to the machine which controls the machine, it is also known as
the controller unit or may be the controller only as a short people call it controller,
so it is the brain of the machine which reads the part program and controls the machine
tool operations, it is not a single unit, it majorly has two functions that is DPU and
CLU, DPU is my data processing unit and CLU is my control loop unit.
The data processing unit reads and decodes the part program statements and processes
the decoding information and provides the data to the control loop unit, the control
loop unit receives the data from DPU and converts it to a control signals, the data usually
provides the control information such as new position of each axis, its direction of motion,
velocity, some other controls, the CLU instructs the DPU to read new instructions of the part
program and control the drives that are attached to the machine lead screws and receives the
feedback signals, so CLU I would say instructs DPU control drives and receive feedback.
Each axis of the machine, machine could be set in a different kinds of the axis or different
kinds of the capacities that it could be moved or the kind of the motion that it could have
that is 2 axis, 3 axis, 4 axis, 5 axis machines could be there, the robotics which are not
using the Cartesian system, we have the robots which are working in the polar coordinates
that also work in the 6 axis, so or different degrees of freedom are given to them.
So, to design the machine, each axis has its own lead screw, control signals and its feedback
control, so that is for sure because each axis has to move independently that is how
it goes, so this becomes our second part of the machine tool characteristics that is the
axis of the machine, axis or motion of machine tool, so because workpiece is machined to
finish shape by allowing a relative motion between the workpiece and a cutting tool,
this relative motion is providing by either keeping the workpiece stationary and try to
move the cutting tool over it or sometimes the tool is stationary and workpiece only
moves.
This relative motion is known as the motion of the machine tool, this motion of the machine
tools can be into different axis as I said, it could be 2 axis, it could be 3 axis, with
2 also we have 2.5 axis, it is plural AXES, we have 4 axis and 5 axis machine, so in
NC machine tools each axis motion is equipped with driving device to replace hand wheel
of a conventional machine because in the conventional machine, suppose drilling to be taken, it
is a hand wheel that helps us to do the drilling, in NC machines it is a drive or a motor drive
or some mechanical or hydraulic drive that tries to drive your drill down to do the drilling.
So a driving device may be a DC motor, axis of motion is defined as an axis where relative
motion between the cutting tool and workpiece occurs, the primary 3 axis X, Y, Z are there,
so I will just put these axis here, let me say I have a workpiece with me, so we have
in the X direction, Y direction and Z direction, X, Y and Z direction, so we have 2 axis machines
either the bed of the machine or the tool moves in a single plane, it can move in X
direction, it can move in Y direction, it can control both the drives together to have
a diagonal movement as well, but it moves in 2 directions only 1, 2, X and Y.
In 2.5 axis, this third axis is independent, it cannot be controlled together with X and
Y, but bed can move in 2 directions X and Y and also it can be set into a third direction
that is Z, that is 2.5 which is controlled or which is manually controlled.
Then we have the 3 axis machine in which X, Y and Z, all of them can be controlled together
that is my point can move not only in the planar motion from one direction to another
in an angular way, it can also go to a diagonally into 3D space in any way, so that is why we
get the third axis here.
In a 4 axis machine on the top of these 3 rectilinear motions, there is a rotational
motion as well, for instance the bed can move in X, Y and Z direction and tool can also
rotate, this is 4th axis.
In 5th axis may be the workpiece can also rotate, there could be 5th, 6 axis machines
as well.
So, this is the machine tool description on which axis motion that we have different kind
of here in the machine tool.
Also we have 2 kinds of the machining, machining type number 1 is point to point, number 2
is contour or continuous.
When I say point to point motion, the machine moves from one point to another point that
is from one point to another point my tool moves, this is 0.1, 0.2.
So, may be to cut a square or to cut a rectangle, it move from 0.1 to 0.2 to 0.3 to 0.4, 0.3
and 0.4 on this plane.
So, point to point it will first move, the second point, third point it will keep on
moving for each movement it will consider as a linear motion between 2 points that is
it draws a line segment.
In the continuous or contour machining, it will start from one point and try to make
a curve, this is contour, the starting point and end point is all same, I will call it
as C.
So, machine tool can perform these 2 types of the operations or 2 types of machining,
the point to point and the continuous.
Point to point machining is a simplest type of machining.
So, the obvious example of this is drilling a hole, drilling a hole at one point, then
going to other point, drilling a hole to another point, all these things are taken and when
we write a G code, when we try to develop the decision support system, the machine nowadays
always understand by itself, the system was automated, but we need to understand whether
we are working with a 2 axis machine or we are working with 3 axis machine, if it is
simple drilling machine, the point to point is only the type of the process or machining
that it takes.
The exact path of the tool is followed by moving from point to point immaterial of assuming
of the time whatever it takes.
So, tool should not collide or the work put should be holding fixtures properly, these
we will discuss when we will talk about the certain tool path verification, in the tool
path verification we always see whether collision should not be there or the double movement
of the path should not be there.
Also it is important to understand that there are 3 kinds of systems in the machine tool,
it could be a numerical control, it could be computer numerical control, it could be
distributed numerical control.
When I say numerical control as I just discussed, it is just a machine or program that is stored
in a CD or it is stored in a system other than a regular computer, but nowadays whatever
we have is the computer numerical control machines, but the base is only the GUI is
only the numerical control machines, this is analogous to now we have python, now we
have anaconda different kind of languages that you try to work and in the mat lab you
have different modules to work upon different kind of languages, the base is generally the
C language that you have learnt.
In this case we are trying to learn the NC program that helps us to take decisions in
the computer numerical control and the distributed numerical control.
Now, computer numerical control is simply a numerical control where computer tries to
control all the system and the feedback since information is also generated by the computer
numerical control and it is taken by understanding different variables such as machine down
times, the work in process in the machine, the production rates, scrap rates and some
other production data that goes as a data input in my production scheduling as well.
On other hand, we have here is distributed numerical control in which a central computer
is there to which group of CNC machines are connected, because if separate CNC machines
are to be put the data into for each of them the data or the process would be taken as
an individual process or for instance if I have installed 4 exactly same or similar machines
let me say M co 250 drill I have installed, 4 machines are there for each of them I have
to operate them or put them the data together, in a distributed numerical control I can make
a one program that to put workpiece at the specific location in the work table that I
have and try to give a single program to all those machines, so this is distributed
numerical control.
So communication in a distributed numerical control system is usually achieved by using
a standard protocol that is we use general the TCP IP using the internet facility that
we have or may be within a program or within a system or within your server it could be
an intranet program itself.
So a central computer has various functions that is it stores NC programs, it downloads
these programs to any number of CNC machine tools, it performs the feedback task for them,
it provides communication between various components of the overall distributed network
system.
So major advantage of the distributed network system is that it can be centrally monitored,
it is very important when we are dealing with different operators, when we are dealing with
different working ships and when we are dealing with different kinds of the machines.
So DNC is the one of the systems that we work upon, so that is what we call as overall when
we use TCP IP systems in conjunction with the recent internet of things or industrial
internet of things we call it as smart manufacturing.
It is too narrow a term at this point of time to discuss because we are majorly talking
about the GUI of the part programming that we develop for a CNC machine.
So now I would like to take a small halt here and meet you in the next part of this
lecture where we will discuss the part programming features and how do we actually design a GNM
code.
