Computer Integrated Manufacturing Digital Notes
Computer Integrated Manufacturing Digital Notes
UNIT – I
Computer-Aided Programming: General information, APT programming, Examples Apt programming
problems (2D machining only). NC programming on CAD/CAM systems, the design and
implementation of post processors .Introduction to CAD/CAM software, Automatic Tool Path
generation.
UNIT - II
Tooling for CNC Machines: Interchangeable tooling system, preset and qualified tools, coolant fed
tooling system, modular featuring, quick change tooling system, automatic head changers. DNC
Systems and Adaptive Control: Introduction, type of DNC systems, advantages and disadvantages of
DNC, adaptive control with optimization, Adaptive control with constrains, Adaptive control of
machining processes like turning, grinding.
UNIT - III
Post Processors for CNC: Introduction to Post Processors: The necessity of a Post Processor, the
general structure of a Post Processor, the functions of a Post Processor, DAPP — based-Post Processor:
Communication channels and major variables in the DAPP — based Post Processor, th creation of a
DAPP — Based Post Processor.
UNIT – IV
Micro Controllers: Introduction, Hardware components, I/O pins, ports, external memory: counters,
timers and serial data I/O interrupts. Selection of Micro Controllers Embedded Controllers,
Applications and Programming of Micro Controllers. Programming Logic Controllers (PLC‘ s):
Introduction, Hardware components of PLC, System, basic structure, principle of operations,
Programming mnemonics timers, Internal relays and counters, Applications of PLC‘s in CNC
Machines.
UNIT - V
Computer Aided Process Planning: Hybrid CAAP System, Computer Aided Inspection and quality
control, Coordinate Measuring Machine, Limitations of CMM, Computer Aided Testing, Optical
Inspection Methods, Artificial Intelligence and expert system: Artificial Neural Networks, Artificial
Intelligence in CAD, Experts systems and its structures.
TEXT BOOKS
1. Computer Control of Manufacturing Systems / Yoram Koren / Mc Graw Hill. 1983.
2. Computer Aided Design Manufacturing - K. Lalit Narayan, K. Mallikarjuna Rao and M.M.M.
Sarcar, PHI, 2008.
3. CAD/CAM Principles and Applications, P.N.Rao, TMH
REFERENCES
1. CAD / CAM Theory and Practice,/ Ibrahim Zeid,TMH
2. CAD / CAM / CIM, Radhakrishnan and Subramanian, New Age
3. Principles of Computer Aided Design and Manufacturing, Farid Amirouche, Pearson
4. Computer Numerical Control Concepts and programming, Warren S Seames, Thomson.
OUTCOMES:
Acquire knowledge on components of computer integrated manufacturing.
Students should be able to understand business functions those influence design of a particular
product.
Students should be able to know function of computer in design and manufacturing.
I
Computer-Aided Programming 4-11
Micro Controllers
IV
24-42
CNC milling machines have of course been developed based on conventional millingmachines, where the
tool is moved through the material by operating a hand wheel for each ofthe available axes (X, Y, Z,). The basis
of adding NC (Numerical Control) is very simple:replace the hand wheel by a positioning motor and add some
electronics (the NC controller) tocontrol the position. Nowadays many conversion kits are available to perform
such operation.The first NC controllers were very simple: no user-interface, just an option to read the
toolpositionsto go to from a punched tape. Very soon new controllers were introduced, includinga simple
computer with a special-purpose keyboard and a display. The operator now couldenter the sequence of
movements to make (the NC program) on the controller, which wascalled CNC (Computerized Numerical
Control). In some cases a tape puncher / reader stillwas available for external storage.Next step was of course to
use a PC for external storage, communicating with the CNCcontroller via a serial cable. This allowed the operator
to conveniently sit at his desk to enter anew NC program, while at the same time the CNC machine was executing
a previous job. Donote that for most desktop machines the situation is a bit different, as here a PC is used forthe
CNC controller (much cheaper than a special purpose control computer).In the situation just described the
operator enters the complete NC program on the computer,using a plain editor like Notepad or a special purpose
NC editor. Each movement has to beseparately entered, like "G0X10Y20Z30" for "Machine in a straight line from
the currentposition to position (10, 20, and 30)". This is of course very labor intensive, and this is where
CAMsoftware comes in to 'automatically' generate NC program files.
In order to manufacture a part, nowadays typically three different software programs are used
(See the illustration above):
First the CAD software to make the design of the part
Next de CAM software to calculate the toolpaths based on the design, compensating for the cutter's
geometry, adding feedrate and spindle commands, etc Third the control software to read the toolpaths and
let the machine actually move along these paths. This subdivision of tasks by three different programs is
the same for both 2D and 3D applications.
2. Product Design: The design department of the company establishes the initial
database for production of a proposed product. In a CIM system this is accomplished
through activities such as geometric modeling and computer aided design while
considering the product requirements and concepts generated by the creativity of the
design engineer. Configuration management is an important activity in many designs.
Complex designs are usually carried out by several teams working simultaneously,
located often in different parts of the world. The design process is constrained by the
costs that will be incurred in actual production and by the capabilities of the available
production equipment and processes. The design process creates the database required to
manufacture the part.
3. Planning: The planning department takes the database established by the design
department and enriches it with production data and information to produce a plan for the
production of the product. Planning involves several subsystems dealing with materials,
facility, process, tools, manpower, capacity, scheduling, outsourcing, assembly,
inspection, logistics etc. In a CIM system, this planning process should be constrained by
the production costs and by the production equipment and process capability, in order to
generate an optimized plan.
4. Purchase: The purchase departments is responsible for placing the purchase orders and
follow up, ensure quality in the production process of the vendor, receive the items,
arrange for inspection and supply the items to the stores or arrange timely delivery
depending on the production schedule for eventual supply to manufacture and assembly.
vii. Warehousing: Warehousing is the function involving storage and retrieval of raw
materials, components, finished goods as well as shipment of items. In today's complex
outsourcing scenario and the need for just-in-time supply of components and subsystems,
logistics and supply chain management assume great importance.
viii. Finance: Finance deals with the resources pertaining to money. Planning of investment,
working capital, and cash flow control, realization of receipts, accounting and allocation
of funds are the major tasks of the finance departments.
Definition of CIM
Joel Goldhar, Dean, Illinois Institute of Technology gives CIM as a computer system in
which the peripherals are robots, machine tools and other processing equipment.
Dan Appleton, President, DACOM, Inc. defines CIM is a management philosophy, not a
turnkey product.
Jack Conaway, CIM Marketing manager, DEC, defines CIM is nothing but a data
management and networking problem.
The computer and automated systems association of the society of Manufacturing
Engineers (CASA/SEM) defines CIM is the integration of total manufacturing enterprise
by using integrated systems and data communication coupled with new managerial
philosophies that improve organizational and personnel efficiency.
CIM is recognized as Islands of Automation. They are
1. CAD/CAM/CAE/GT
2. Manufacturing Planning and Control.
3. Factory Automation
4. General Business Management
The first four of these functions are the physical activities that "touch" the product as it is
being made. Processing and assembly are operations that add value to the product. The third
and fourth functions must be performed in a manufacturing plant, but they do not add value
to the product. The Figure 6, shows the model of the functions of manufacturing in factory .
Basic processes are those which give the work material its initial form. Metal
casting and plastic molding are examples. In both cases, the raw materials are
converted into the basic geometry of the desired product.
Secondary processes follow the basic process and are performed to give the work
part its final desired geometry. Examples in this category include machining
(turning, drilling, milling, etc.) and press working operations (blanking, forming,
drawing, etc.).
Finishing operations are the final processes performed on the work part. Their
purpose is, for example, to improve the appearance, or to provide a protective
coating on the part. Examples in this fourth category include polishing, painting,
and chrome plating.
Qualified Tools
(c) The dimensions of the tool holder which are fixed and known.
(g) Cutter for better size control e.g. end mills, teamers.
Modular tooling plates feature a grid of locating holes which are used to attach clamping
An automatic tool changer in a machine tool for automatically changing a tool. The
machine tool includes a main frame, a main spindle head movably provided to the main
frame, a main spindle rotatably disposed in the main spindle head, the main spindle head
being movable in an axial direction of the main spindle, and a tool magazine provided with
a rotatable magazine base for holding a plurality of tool holders and for rotationally
indexing one of the tool holders, whereby the one of rotationally indexed tool holder is
changed by a tool holder provided at the main spindle. The automatic tool changer
comprises; a plurality of tool holder gripping means radially arranged on and pivotably
supported to the magazine base, the tool magazine being secured to a stationary portion of
the main frame, and means for pivotting one of the tool holder gripping means rotationally
indexed independent of remaining tool holder gripping means. The pivotting means moves
the one of tool holder gripping...
Claims
1. An automatic tool changer for use in a machine tool for automatically changing a tool,
the machine tool including a main frame, a main spindle head movably provided with
respect to the main frame, a main spindle rotatably disposed in the main spindle head with
the main spindle head being movable in an axial direction of the main spindle, and a tool
magazine provided with a rotatable magazine base for holding a plurality of tool holders
and for rotationally indexing one of the tool holders such that one of the rotationally
indexed tool holders may be interchanged with a tool holder provided at the main spindle,
the automatic tool changer comprising:
a plurality of tool holder gripping means radially arranged on and pivotably supported by
said magazine base, said tool magazine being secured to a stationary portion of said main
frame; and,
means for pivoting one of said tool holder gripping means independently of the remaining
tool holder gripping means, said pivoting means including a moving means for moving said
one of said tool holder gripping means toward and away from said main spindle, said
moving means being operative to move said one of said tool holder gripping means away
from said main spindle at times when said main spindle head is moved towards a work
piece for machining.
2. The automatic tool changer as defined in claim 1, wherein said tool magazine further
comprises a plurality of pivot shafts radially arranged with respect to said magazine base,
each of said plurality of tool holder gripping means being pivotally supported by a
respective one of said pivot shafts.
3. The automatic tool changer as defined in claim 1, wherein each of said tool holder
gripping means comprises a first portion, an intermediate portion, and a second portion,
said first portion being in association with said magazine base for normally urging said tool
holder gripping means toward said main spindle head, said intermediate portion being
rotatably supported by said pivot shaft, and said second portion being provided with a
bifurcated portion for gripping said tool holder.
4. The automatic tool changer as defined in claim 1, wherein said pivoting means comprises
a first cam follower provided on each of said tool holder gripping means at a position in
confrontation with said main spindle head; and a first cam surface provided on said main
spindle head and at a position in confrontation with said tool magazine, said first cam
5. The automatic tool changer as defined in claim 4, wherein said first portion of said tool
holder gripping means comprises a biasing means for biasing said second portion toward
said main spindle head.
6. The automatic tool changer as defined in claim 4, wherein said pivoting means further
comprises a second cam follower provided at said tool holder gripping means at a position
in confrontation with said main spindle head, and a second cam surface provided at said
main spindle head and at a position in confrontation with said tool magazine, said second
cam follower being selectively engageable with said second cam surface in response to
movement of said main spindle head, said second cam surface being adapted to prevent
said tool holder gripping means from excessive pivotal movement to a direction away from
said main spindle head against biasing force of said biasing means.
7. The automatic tool changer as defined in claim 4, wherein each of said tool holder
gripping means defines a central line along longitudinal direction thereof, said first cam
follower being positioned opposite to said second cam follower with respect to said central
line.
8. The automatic tool changer as defined in claim 3, wherein said tool holder gripping
means comprises a grip arm having said first, intermediate and second portions; and
wherein each of said tool holders has a maximum diameter portion formed with annular V-
shaped groove, and wherein said bifurcated portion comprises two bifurcated members
each formed with a bore extending in a direction perpendicular to said grip arm; retractable
pins disposed in said bores, and spring means disposed in said bores for biasing said pins,
said pins being engageable with said annular V-shaped groove.
9. The automatic tool changer as defined in claim 1, further comprising: clamping and
unclamping means for clamping and unclamping one of said tool holder with respect to said
main spindle synchronously with an operation of said pivotting means and with the
movement of said main spindle head.
In the final phase of an NC project, the NC operation toolpaths are processed to convert
them to the NC code needed by the machine that will cut the part. This conversion process,
called post processing, is accomplished with programs called post processors. After NC
code has been created for the specific machine that will do the cutting, it must be
transmitted to that machine. One common method of doing this is to make an RS-232
connection between a computer and the NC machine and then download the NC code
directly to the machine. This process is referred to as Direct Numerical Control or DNC
communications.
SURFCAM is shipped with two post processor systems and one DNC system
Post processors are programs that take toolpath information from a file created by a CAM
program and machine information from a machine configuration file (often called a post) to
create the final NC code understood by the NC machine’s controller. Post processors
usually come in a package consisting of a processor for each general type of NC machine
(that is lathe, mill, and wire EDM) and files and/or programs that help you create machine
configuration files or posts for individual NC machines.SURFCAM is shipped with two
such post processor packages. One consists of three separate post processors called
MPOST, LPOST and EPOST. For convenience, this package is referred to as MPOST. The
other, called SPOST has more powerful post processors and a machine configuration utility
for developing posts or machine configuration files. Both packages contain a library of
existing posts for a number of NC machines.
Most CAM systems generate one or more types of neutral language files containing
instructions for a CNC machine. These are either in a binary format called CLDATA or
some ASCII readable format tailored after the APT language. APT is an acronym for
"Automatically Programmed Tools," software that accepts symbolic geometry and
manufacturing instructions, and generates CLDATA describing the manufacturing
operation in absolute terms. Some CAM systems provide a large degree of flexibility,
allowing just about anything to be included in the neutral file, others are quite strict about
what can and cannot be included.
At the other end of the equation sits the NC machine. It requires input customized
for the controller being used and arguably to a lesser extent, the operator running the
machine. Most important, the NC machine must be driven in a manner that satisfies shop
floor criteria, which are primarily based on safety, efficiency and tradition.
Your CAD/CAM system has a “natural break” at the point where it produces a GENERIC
form of Numerical Control (N/C) output called the aCL-file (Cutter Location File).
This generic intermediate output merely represents the path(s) your machine’s cutter will
take while machining your part. It does not reflect, and is not optimized for, the SPECIFIC
CNC Control and Machine Tool capabilities of the machine you will actually use to cut the
part.
At this generic “breakpoint,” the Post Processor software - sometimes called a LINK -
comes in. It takes the CL-file and processes it into the specific form of RS-274 NC data
required by your CNC and Machine Tool combination.
The quality of the final RS-274 part program (the extent to which it fully, optimally, and
accurately uses the capabilities of your machine tool) completely depends on the
sophistication and capabilities of the Post Processor software.
A poor Post Processor can mean longer cycle times. It can also produce incorrect NC data
which can scrap parts, damage equipment, or injure personnel. Inaccurate NC data output
can lower part quality and lessen cutting tool life.
In short, without the best Post Processor, you are missing out on the highest part throughput
and part quality. You are also missing out on producing parts at the lowest cost.
As the tie between CAD/CAM system and manufacturing, post processing is one of
the key technologies in numerical control programmed technologies, it directly influences
the result of using automatic programming system, the reliable operation of the machine
and the processing quality and efficiency of parts. Providing or developing effective post
processing programs has important significance to solve the bottleneck from design to
manufacture, increase the programming efficiency and reliability of machining. The
research results can serve as references to post processing program developing of other
types of five axis CNC machines, which also provide the thought for post processing
program developing of other CAD/CAM software.
Toolchanges
If the machine tool is equipped with an automatic toolchanger, or the user wants to allow
manual toolchanges part way through an output file, the TOOLCHANGE statement can be
used to output the appropriate commands. NOTE: Toolchangers are NOT supported by
Hardware components:-
Basically, hardware can be classified as input or output. Inputs range from simple
switches to complexanalog sensors which measure physical values and (ultimately) convert
them into a correspondingvoltage. Outputs encompass primitive LEDs as well as
sophisticated actuators.In the following sections, we will introduce some basic hardware
elements, most of which areused in the lab of our course. We will explain how the
Digital I/O, or, to be more general, the ability to directly monitor and control
hardware, is the maincharacteristic of microcontrollers. As a consequence, practically all
microcontrollers have at least1-2 digital I/O pins that can be directly connected to hardware
(within the electrical limits of thecontroller). In general, you can find 8-32 pins on most
controllers, and some even have a lot morethan that (like Motorola’s HCS12 with over 90
I/O pins).I/O pins are generally grouped into ports of 8 pins, which can be accessed with a
single byteaccess. Pins can either be input only, output only, or —most commonly,—
bidirectional, that is,capable of both input and output. Apart from their digital I/O
capabilities, most pins have one ormore alternate functions to save pins and keep the chip
small. All other modules of the controllerwhich require I/O pins, like the analog module or
the timer, use in fact alternate functions of the digital I/O pins. The application programmer
can select which function should be used for the pin byenabling the functionality within the
appropriate module. Of course, if a pin is used for the analogmodule, then it is lost for
digital I/O and vice versa, so the hardware designer must choose carefullywhich pins to use
for which functions. In this section, we will concentrate on the digital I/O capabilityof pins.
Later sections will cover the alternate functions.First, let us explain what we mean by
“digital”: When we read the voltage level of a pin witha voltmeter (with respect to GND),
we will see an analog voltage. However, the microcontrollerdigitizes this voltage by
mapping it to one of two states, logical 0 or logical 1. So when we talk aboutdigital I/O, we
mean that the value of the pin, from the controller’s perspective, is either 1 or 0. Notethat in
positive-logic, 1 corresponds to the “high” state (the more positive resp. less negative
state)of the line, whereas 0 corresponds to the “low” state (the less positive resp. more
negative state). Innegative-logic, 1 corresponds to “low” and 0 to “high”. Microcontrollers
generally use positive-logic.As far as digital I/O is concerned, three registers control the
behavior of the pins.
Data Direction Register (DDR): Each bidirectional port has its own DDR, which contains
one bit for each pin of the port. The functionality of a pin (input or output) is determined by
clearing or setting its bit in the DDR. Different pins of a port may be configured differently,
so it is perfectly okay to have three pins configured to output and use the other five as
inputs. After a reset, the DDR bits are generally initialized to input. Reading the register
Port Register (PORT): This register is used to control the voltage level of output pins.
Assuming a pin has been configured to output, and then if its bit in the PORT register is set,
the pin will be high; if the bit is cleared, the pin will be low. To avoid overwriting the other
bits in the port when setting a particular bit, it is generally best to use the controller’s bit
operations. Otherwise, you must use a read-modify-write access and hence must ensure that
this access is not interrupted. For output pins, reading the register returns the value you
have written. For input pins, the functionality depends on the controller. Some controllers
allow you to read the state of input pins through the port register. Other controllers, e.g. the
ATmega16, use the port bits for other purposes if the corresponding pins are set to input, so
here you will read back the value you have written to the register.
Port Input Register (PIN):The PIN register is generally read-only and contains the current
state (high or low) of all pins, whether they are configured as output or as input. It is used
to read the state of input pins, but it can also be used to read the state of output pins to
verify that the output was taken over correctly. A write to this register generally has no
effect.
Digital Input
The digital input functionality is used whenever the monitored signal should be interpreted
digitally, that is, when it only changes between the two states “high” (corresponding to
logic 1) and “low” (corresponding to 0). Whether a given signal should be interpreted as
high or low depends on its voltage level, which must conform to the controller’s
specifications, which in turn depend on the operating voltage of the controller. For
example, the operating voltage VCC of the ATmega16 must be within the interval [4.5, 5.5]
V, its input low voltage must be within [-0.5, 0.2VCC] V, and its inputhigh voltage must be
within [0.6VCC, VCC+0.5] V. This leaves the interval (0.2VCC, 0.6VCC) within which
the signal is said to be undefined
Digital Output:-
The digital output functionality is used to set output pins to given voltage levels.
The levels corresponding to high and low are again specified by the controller and depend
on the controller’s operating voltage. For the ATmega16 at VCC = 5V, the maximum
output low voltage is 0.7 V, and the minimum output high voltage is 4.2 V. Whenever the
DDR of a pin is set to output, the controller drives the pin according to the valuegiven in
the PORT register. An output pin generally has to sink or source current, so we can again
distinguish between a sink output and a source output. The maximum current ratings
discussed in the previous section apply, so we are talking about 4-20 mA maximum
current5. Output pins are more critical than input pins in the sense that they heavily depend
on external current protection. After all, you could connect an output pin directly to GND
External memory:-
Data Memory: For longer term storage, generic CPUs usually employ an external memory
which is much larger than the register file. Data that is stored there may be short-lived, but
may also bevalid for as long as the CPU is running. Of course, attaching external memory
to a CPU requiressome hardware effort and thus incurs some cost. For that reason,
microcontrollers usually sport on-chip data memory.
Instruction Memory:
Like the data memory, the instruction memory is usually a relatively large external memory
(at least with general CPUs). Actually, with von-Neumann-architectures, it may even be the
same physical memory as the data memory. With microcontrollers, the instruction memory,
too, is usually integrated right into the MCU.
These are the most prominent uses of memory in or around a CPU. However, there
is more memory in a CPU than is immediately obvious. Depending on the type of CPU,
there can be pipeline registers, caches, various buffers, and so on. About memory
embedded in an MCU: Naturally, the size of such on-chip memory is limited. Even worse,
it is often not possible to expand the memory externally (in order to keep the design
simple). However, since MCUs most often are used for relatively simple tasks and hence do
not need excessive amounts of memory, it is prudent to include a small amount of data and
instruction memory on the chip. That way, total system cost is decreased considerably, and
even if the memory is not expandable, you are not necessarily stuck with it: Different
members in a MCU family usually provide different amounts of memory, so you can
choose a particular MCU which offers the appropriate memory space. Now, the functional
distinction of memory types made above is based on the way the memory is used. From a
programmer’s perspective, that makes sense. However, hardware or chip designers usually
view memory rather differently: They prefer to distinguish according to the physical
properties of the electronic parts the memory is made of. There, the most basic distinction
would be volatile versus non-volatile memory. In this context, volatile means that the
contents of the memory are lost as soon as the system’s power is switched off. Of course,
there are different ways either type of memory can be implemented. Therefore, the
distinction based on the physical properties can go into more detail. Volatile memory can
be static or dynamic, and there is quite a variety of non-volatile memory types: ROM,
PROM, EPROM, EEPROM, FLASH, and NV-RAM. Let’s examine those more closely.
Timer
The timer module, which is strictly speaking a counter module, is an important part of
every microcontroller, and most controllers provide one or more timers with 8 and/or 16 bit
resolution. Timers are used for a variety of tasks ranging from simple delays over
measurement of periods to waveform generation. The most basic use of the timer is in its
function as a counter, but timers generally also allow the user to timestamp external events,
to trigger interrupts after a certain number of clock cycles, and even to generate pulse-width
modulated signals for motor control.
Input Capture
The input capture feature is used to timestamp (mostly external) events, which may
again be rising and/or falling edges, or levels. Whenever the event occurs, the timer
automatically copies its current count value to an input capture register, where it can be
read by the program. It also sets the input capture flag and can raise an interrupt to notify
the application that an input capture event has occurred. Microcontrollers may provide one
or more pins with input capture functionality.
The input capture feature may also be linked to internal event sources. The
ATmega16, for instance, can trigger an input capture from its analog comparator module,
allowing the application to timestamp changes in the comparator output. Note that enabling
the input capture feature of a pin does not necessarily cause the pin to be set to input. This
may still have to be done by the program. In fact, the ATmega16 allows you to use the pin
as output and will trigger an input capture if the program generates the appropriate event
condition. This can for example be used to measure the delay between an output event and
the reaction of the system.
Since the input capture feature is used to timestamp events, it is obvious that this timestamp
should be as accurate as possible. As we have explained in Section 2.6.1, the timer has a
certain granularity which is affected by the pre scaler, and this influences the time stamping
accuracy, leading to
clock cycles, where tev is the (real-)time the event occured, tcap is the (real-)time that
corresponds to the timestamp the event was time stamped with, dmaxin resp. dmin in is the
worst case resp. best case input delay (see Section 2.3.1), and P is the prescaler value.
Output Compare
The output compare feature is the counterpart to the input capture. For the latter, the
timestamp gets stored whenever something interesting happens on the input line. With
output compare, something happens on an output line when a certain time is reached. To
implement this feature, the timer offers an output compare register, where you can enter the
time at which the output compare event should happen. Whenever the counter value
reaches this compare value, the output compare event is triggered. It can automatically set
or clear an output line, or even toggle its state. It can also do nothing and simply raise an
internal interrupt. Output compare often comes with a reset option, which automatically
resets the counter when the compare value is reached. This allows to set up a periodic
interrupt (or output signal) with a minimum of effort.
A controller is used to control (makes sense!) some process or aspectof the environment.
A typical microcontroller application is the monitoring of my house. As the temperature
rises, the controlled causes the windows to open. If the temperature goes above a certain
threshold, the air conditioner is activated. If the system detects my mother-in-law
approaching, the doors are locked and the windowsbarred. In addition, upon detecting that
my computer is turned on, the stereo turns on at a deafening volume (for more on this, see
the section on development tools).
At one time, controllers were built exclusively from logic components, and were usually
large, heavy boxes (before this, they were even bigger, more complex analog
monstrosities). Later on, microprocessors were used and the entire controller could fit on a
small circuit board. This is still common - you can find many [good]controllers powered
by one of the many common microprocessors(including Zilog Z80, Intel 8088, Motorola
6809, and others).
As the process of miniaturization continued, all of the components needed for a
controller were built right onto one chip. A one chip computer or microcontroller was
born. Microcontroller is a highly integrated chip which includes, on one chip, all or most
of the parts needed for a controller. The microcontroller could be called a "one-chip
solution". It typically includes:
CPU (central processing unit)
Inputs Microcontroller
Outputs
(uC)
Feedback
2.3) Applications
In addition to the above home monitoring system, embedded processors and
microcontrollers are frequently found in: appliances (microwave oven, refrigerators,
television and VCRs, stereos), computers and computer equipment (laser printers,
modems, disk drives), automobiles (engine control, diagnostics, climate control),
Microcontrollers are typically used where processing power isn't so important. Although
some of you out there might find a microwave oven controlled by a UNIX system an
attractive idea, controlling a microwave oven is easily accomplished with the smallest of
microcontrollers. On the other hand, if you're putting together a cruise missile to solve the
problem of your neighbor's dog barking at 3 in the morning, you'll probably need to use
processors with a bit more computing power.
A special application that microcontrollers are well suited for is data logging. Stick one
of these chips out in the middle of a corn field or up in a ballon, and monitor and record
environmental parameters (temperature, humidity, rain, etc.). Small size, low power
consumption, and flexibility make these devices ideal for unattended data monitoring and
recording.
Applications:-
A leader in microcontroller solutions, Philips’ extensive product portfolio covers 8-, 16-
and 32-bit families and includes the industry’s broadest range of 80C51 derivatives. Our
products deliver the flexibility and performance needed for the huge variety of today’s
applications spanning across all markets, while featuring the lowest power consumption in
the Smallest packages
Knowing about PLC hardware components is another factor we should know when
discussing about PLC. Speaking about PLCs, the first thing we should do is to understand
about PLCs and functions of PLCs. In automation industry, PLCs have changed the way we
work and run several tasks. Everything is made easier with the use of PLCs. So what should
we know about PLCs? PLC is known as a control device as it takes information from the
inputs and then makes decisions to do some tasks. All the decisions are made based on
outputs and inputs. In PLCs, ladder logic program is known as the most common
programming method used in PLCs. Before going further, let’s learn more about PLC
hardware components.
CPU – Keeps checking the PLC controller to avoid errors. They perform functions
including logic operations, arithmetic operations, computer interface and many more.
Memory – Fixed data is used by the CPU. System (ROM) stores the data
permanently for the operating system. RAM stores the information of the status of input
and output devices, and the values of timers, counters and other internal devices.
I/O section – Input keeps a track on field devices which includes sensors, switches.
O/P Section - Output has a control over the other devices which includes motors,
pumps, lights and solenoids. The I/O ports are based on Reduced Instruction Set Computer
(RISC).
Power supply – Certain PLCs have an isolated power supply. But, most of the
PLCs work at 220VAC or 24VDC.
Programming device – This device is used to feed the program into the memory of
the processor. The program is first fed to the programming device and later it is transmitted
to the PLC’s memory.
System Buses – Buses are the paths through which the digital signal flows internally of the
PLC. The four system buses are:
· Data bus is used by the CPU to transfer data among different elements.
· Control bus transfers signals related to the action that are controlled internally.
· Address bus sends the location’s addresses to access the data.
· System bus helps the I/O port and I/O unit to communicate with each other.
Top
Working
The Programmable logic controller functions in four steps.
Initially, programmable logic controllers were used to replace traditional hard-wired relay
logic; however, with its ever increasing functionality it is found in many more complex
applications. PLCs are used in any industrial application where operating requirements are
complex, are constantly changing, or where high reliability is necessary.
Principles of operation:-
A programmable controller, as illustrated in Figure 1-5, consists of two basic sections:
• The central processing unit
• The input/output interface system
The central processing unit (CPU) governs all PLC activities. The following three
components, shown in Figure 1-6, form the CPU:
• The processor
• The memory system
• The system power supply
The input/output system forms the interface by which field devices are connected to
the controller (see Figure 1-8). The main purpose of the interface is to condition the various
signals received from or sent to external field devices. Incoming signals from sensors (e.g.,
push buttons, limit switches, analog sensors, selector switches, and thumbwheel switches)
are wired t terminals on the input interfaces. Devices that will be controlled, like motor
starters, solenoid valves, pilot lights, and position valves, are connected to the terminals of
the output interfaces. The system power supply provides all the voltages required for the
proper operation of the various central processing unit sections.
Programming mnemonics timers:-
Basic PLC Programming
Globally, the programming language used on the PLC there are two, namely LADDER
DIAGRAM and MNEMONIC CODE or STL (Statement List). But now, PLC already can
programmed in five programming language.
mnemonic codes
Ladder diagram:-
Ladder diagram is used when we create a PLC program using the computer. Ladder
diagrams are easier to understand than the mnemonic code. This is because the Ladder
diagrams almost similar shape with the wiring diagrams. Grooves can be seen directly,
without having to understand the many codes such as program code in mnemonic code.
STL and Ladder diagram on each brand of PLC has a different symbol, although its basic
principles are the same.
contact
coil
input
Accumulator
reset
contact
output
This is the planning strategy for manufacturing the part. It is defined as the activity
that translates part design specifications from an engineering drawing into the
manufacturing operation instructions required to convert a part from a rough to a
finished state. It represents the link between engineering design and shop-floor
manufacturing. It is a major determinant of manufacturing cost and profitability. The
gap between CAD and CAM can be shortened considerably by developing better
systems for process planning.
There are two levels of process planning
High-level planning'■ The planner identifies the machineable features (surfaces)
of the part, groups them into set-ups, and orders these set-ups. The features to be
cut in each of the set-ups, and the tools for cutting each feature.
Low-level planning- Specifying the details of performing each step that results
from the first level such as choosing machines, cutting conditions (speed and
feed), type of fixture, cost and time estimates, etc.
5.2 Approaches of Process Planning
There are three approaches of process planning
Manual approach
Computer assisted variant approach
Computer assisted generative approach
The later two are known as Computer Aided Process Planning (CAPP)
The following are some of the drawbacks of manual approach
The approach becomes rapidly inefficient and unmanageable
when the number of process plans and revision to those plans
increase. Consequently, inconsistent plans and large time
requirements for planning often result.
or The plans by this approach reflect the personal experiences and
preferences of the process planner.
This is considered a poor use of engineering skills because of the
high clerical content in most of its functions.
These limitations have logically lead to computerized approach to process planing.
The importance of CAPP has already been identified by industries. Many companies
in manufacturing sector have started developing CAPP for their internal use. The aim
of Computer Aided Process Planning is to eliminate or at least reduce the manual
intervention in process planning. The role of Process Planning from design to part is
shown in Fig. 2.2.
It is also found that there is generally a lack of consistency among process plans
prepared by different individuals with varying manufacturing backgrounds and levels
of skill. It is therefore imperative to automate the process planning function and this
Its basic task is to determine by what means and how a product is to be manufactured
economically and competitively.
Process planning involves, according to the part specification, determination of
processes, machine tools, cutting tools, operation sequences, machineability data and
calculations of time and costs. The results obtained must be reflected in
documentation.
Computer aided process planning should diminish as much as possible deficiencies in
traditional process planning.
A set of process plans would include,
Design input
Material selection
Process sequence
Fixture selection
Cost/time estimation
Clear-cut pictures about the necessities have to be formed before starting the
development of a project. George P. Sutton [16] had done a survey for CAM-I
(Computer Aided Manufacturing - International) on CAPP practices, plans and future
needs in 1987. Fifty companies participated in this survey and it was found that there
were no fully automated CAPP systems and almost all of them required extensive
manual operations. However benefits that accrued to those companies that had a semi-
manual CAPP system were substantial. The survey indicated a user desire for
standardizing the interfaces of CAD with CAM, as well as with other manufacturing
oriented systems (like scheduling, inventory control, cost estimating, etc.). There
seems to be agreement that CAPP is an essential element of future CIM systems.
ASCAPP
ASCAPP is a generative CAPP system for process planning of aircraft
structural parts. This has been developed at Nanjing University of
Aeronautics and Astronautics, Peoples Republic of China. In the
developed CAPP system a 6- orientation, multi level feature oriented
method is adopted for part description. The technological decision
module of the ASCAPP system is an expert system that is composed of
a knowledge base, a inference engine and a data base for storing part
information and interim decision results.
APSS (Automated Process selection and sequencing)
OPPS-ROT:
OPPS-ROT is generative CAPP system for rotational parts. This has
been developed at university of Gazintep, Turkey. The sequential
CMPP
CMPP is a generative system developed in FORTRAN 77, aimed at
high technology machined cylindrical parts. Parts characterized by
expensive material, tight tolerances and complex machining
processes are most suitable for this system. CMPP is interfaced to
many CAD/CAM systems in American aircraft companies.
GENPLAN
GENPLAN is generative system developed in 1981. It uses a GT
based coding system that covers part geometry and process variables
to generate comprehensive operations sequence. GENPLAN can
be interfaced with management decision support systems, automatic
shop loading and scheduling, tool order processing systems.
GIFTS
GIFTS is a generative interactive feature-based system for process
planning of rotational components. This was developed at IIT Delhi.
GIFTS selects the operations, machines, tools, cutting parameters for
each feature by taking the relevant data from the data base and finally
sequences the operation.
Part of the slow progress in this area is due to the complex and dynamic nature of the
planning domain which posses a great challenge to the research community. Because
our present understanding of process planning activities is limited to local micros, we
can attain some success in programming specific kinds of process planning activities
(e.g., to machine a cylindrical part), but are unable to automate the whole process
which would require a much broader understanding of the necessary tasks. Currently,
the variant and semi-generative approaches seem to be the most practical ones, and
these systems are readily amenable to certain real-world applications.
5.7 Objectives of Process Planning Systems
Notable requirements for process planning systems are consistency, accuracy, and
ease of application and completeness. These are explained below.
5.7.1 Consistency
One of the most common problems of manual process planning is the existence of
inconsistent process plans. Consistency is essential not only in the application of data
and knowledge to generate process plan, but also in the acquisition and presentation of
manufacturing information. Process plans prepared by different process planners will
vary depending on the variations in their knowledge, process logic and
5.7.2 Accuracy
Accuracy is another important objective to maintain in any process planning system.
Inaccuracies in process plans and corresponding information in them can greatly
undermine the integrity of the system.
5.7.4 Completeness
Information about manufacturing processes, machines, tools, cutting parameters etc.,
must be completely known while decisions about process planning g are made. If
complete data is not provided, then the choice can easily lead to inconsistency in
processing methods and corresponding inconsistencies in part quality and costs.
Assignment No.56
1) What is CAM? What are the Objectives of it?
2) Explain the types of Manufacturing System in CAM.
3) What are the Scope & Benefits of CAM?
4) What is CIM? What are the Objectives & Benefits of it?
5) Elaborate the role of elements of CIM with the help of CIM wheel.
6) Explain Role of Management and Manufacturing engineers in CIM & CAM.
Assignment No.56
1) Differentiate between NC and CNC. List their advantages and limitations.
2) What are the basic components of numerical control system. Draw and discuss
function of each components.
3) Classification of Numerical Control System.
4) Explain the axis designation rules for machine tools employing rotating tools.
Sketch a vertical machining centre and designate its axes.
5) Write a short note on recirculating ball screw used in CNC machines with sketch.
6) Explain geometrical, motion and auxiliary statements used in APT with
illustration.
7) Explain with illustration; i) Drilling canned cycle (ii) Parametric subroutine
(iii) Fixed zero and floating zero.
Assignment No.4
1) Explain part family in brief.
2) What is Group Technology (GT)? Explain Opitz classification and coding
system in brief.
3) Explain (I) Coding Structure & (II) Composite Part with reference to
Group Technology.
4) Explain types of GT machine cells.
5) What are the major functions of process planning? What are the main
problems associated with manual process planning?
6) Explain with neat diagram retrieval type CAPP.
7) Explain with neat diagram generative type CAPP.
Questions
12. Explain the types of manufacturing systems. Justify: “CNC machines are more
suitable for job-shop and batch production”.
13. Compare CNC machines with conventional machines in regard to hardware