SlideShare uma empresa Scribd logo
1 de 101
Baixar para ler offline
CAD/CAM/CAE
Asst. Prof. Abhay S. Gore
Dept. of Mechanical Engineering,
Maharashtra Institute of Technology,
Aurangabad
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 2
CHAPTER 1. INTRODUCTION
Syllabus
• Introduction to CAD, CAM, CIM and CAE,
• Product cycle,
• Mathematical model for product life cycle.
Introduction
• In today‟s global competition, industries cannot survive unless they introduce
new products or existing ones with:
– Better quality
– Lower cost
– Shorter lead time
• Computer aided design (CAD) can be defined as the use of computer systems
to assist in creation, modification, analysis and optimization
• Computer aided machining (CAM) can be defined as the use of computer
systems to plan, manage and control a manufacturing plant through either
direct or indirect computer interface with the plant‟s production resources.
CAM
• 3D CAD data can be read by CAM software which takes 3D data & CNC
machine parameters as inputs and delivers a tool path that cuts metal as per the
part designs.
• The tool path so generated can be simulated on the screen to evaluate tool
gauging so that the machining run is perfect.
Computer Integrated manufacturing
• Computer-integrated manufacturing (CIM) is manufacturing supported by
computers. It is the total integration of Computer Aided Design /
Manufacturing and also other business operations and databases.
• Definition: 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.
• The CIM concept is that all the operations related to the production function in
an integrated computer system to assist, enhance and /or automate the
operations.
• The computer system is spread throughout the firm , touching all the activities
that support manufacturing.
• In this integrated computer system, the output of one activity serves as the
input to the next activity, through the chain of events that starts with the sales
order and finishes with shipment of the product.
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 3
Figure 1 Scope of CAD/CAM and CIM
Figure 2 Computerized elements of CIM system
• Customer orders are initially entered by the company‟s sales force into a
computerized order-entry system. The orders contain the specifications
describing the product.
• The specifications serves as input to the design
• New products are designed on a CAD system. The components that comprise
product are designed, the BOM is complied, and assembly dwgs. are prepared.
• The output of design serves as input to mfg. engg, where process planning,
tool design and similar activities are accomplished to prepare for production
• The output of mfg. engg. Provides input to the PPC, where MRP and
scheduling is performed
Computer-Aided Engineering
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 4
• Computer-aided Engineering analysis (often referred to as CAE) is the
application of computer software in engineering to analyze the robustness and
performance of components and assemblies.
• It encompasses simulation, validation and optimization of products and
manufacturing tools.
• Parts and assemblies designed in CAD software can be „analyzed‟ for their
field performances right on the computer screen.
• Most of the olden-day destructive testing methods have found mathematical
replacements in the modern-day CAE software.
• CAE software delivers results that help analyzing designs.
• Analysis tools are available for
• static stress-strain,
• deflection,
• thermal,
• flow,
• motion,
• vibration
• This allows designers to “design-right-the-first-time”.
• Use of computer systems to analyze CAD geometry
• Allows designer to simulate and study how the product will behave, allowing
for optimization
• Finite-element method (FEM)
• Divides model into interconnected elements
• Solves continuous field problems
Ranges of CAE
• Kinematics Analysis: to determine motion paths and linkage velocities in
mechanism. Pro/E
• Finite Element Analysis (FEA): Solid Mechanics analysis (stress/strain), Heat
Transfer, Flow, and other continuous fields.
Pro/Mechanica, ANSYS, CATIA, NASTRAN
• Computational Fluid Dynamics (CFD): Fluid Simulation. Fluent, Phoenix,
CFX
Product Cycle (Design and Manufacturing )
Figure 3 Product Cycle (Design and Manufacturing)
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 5
• Driven by customers and markets which demand the product
• In some cases design functions are performed by the customer and the product
is manufactured by a different firm.
• In other cases , design and manufacturing is accomplished by the same firm
1. The product cycle begins with a concept, an idea of a product.
2. This concept refined, analyzed, improved and translated into a plan for the
product through the design engineering process.
3. The plan is documented by drafting a set of engineering drawings showing
how the product is made and providing a set of specifications indicating how
the product should perform
4. A process plan is formulated which specifies sequence of production
operations required to make the product.
5. New equipment and tools sometimes be acquired to produce the new product.
6. Scheduling provides a plan that commits the company to manufacture of
certain quantities of the product by certain dates.
7. Once all these plans are formulated product goes into production.
8. It is followed by quality testing and delivery to the customer.
Product Cycle revised with CAD/CAM overlaid
Figure 4 Product Cycle revised with CAD/CAM overlaid
 Computer aided design and computer automated drafting are utilized in
conceptualization, design and documentation of the product.
 Computers are used in process planning and scheduling to perform these functions
more efficiently.
 Computers are used in production to monitor and control the manufacturing
operations.
 In quality control , computer are used to perform inspections and performance
tests on the product and its components
Mathematical Model for product life cycle
• Let T1 be the time required to produce 1 unit of product.
– This includes sum of individual process times plus time to assemble,
inspect and package a single product.
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 6
• T2 be time associated with planning and setting for each batch of production
– This include the ordering of raw materials by purchasing department,
time required in production planning to schedule the batch, setup times
for each operation etc.
• T3 be the time required for designing the product and for all other activities
that are accomplished once for each different product.
– These include process planning, cost estimating and pricing, building
of special tools and fixtures.
• B be the number of batches produced throughout the product life cycle.
• Q be the number of units produced in each batch.
• The aggregate time spent on the product throughout its life cycle can be
The average time spent on each unit of product during its life cycle.
• In mass and batch production the T2 and T3 terms can be spread over a large
number of units.
• Their relative values ,therefore becomes less important as the production
quantities increase. The T1 term becomes most important term.
• In job shop manufacturing , the T2 and T3 terms can become significant
because the quantities are so low.
Relationship between CAD/CAM & Automation
• The goal of CAD/CAM and automation is to reduce the various time elements
in product life cycle.
• With this there is increase in productivity and improve in standard of living.
• The automation technology is concerned with reducing the T1 and T2
elements, with emphasize on the unit production cost (T1).
• The CAD/CAM technology is concerned with all the three terms but is
perhaps focused on the T3 and T2 terms in the life cycle model.
• CAD/CAM has made important contribution towards integrating the functions
of design and manufacturing.
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 7
CHAPTER 2. FUNDAMENTALS OF CAD
Syllabus
 The basic design Process and computer
 The manufacturing database
 Benefits of CAD
 Principles of Concurrent Engineering
The DesignProcess
 Recognition of need involves the realization by someone that a problem exists for
which some corrective action should be taken e.g. defect in current machine
design
 Definition of problem involves a through specifications of the item to be designed.
This specifications includes physical and fundamental characteristics, cost, quality
and operating performance.
 Synthesis and analysis are closely related and highly iterative in design process
 This iterative process is repeated until the design has been optimized within the
constrained imposed on the designer
 The philosophy, functionality and uniqueness are all determined during synthesis.
 The major financial commitments to turn conceived product into reality are made
during synthesis.
 Information generated during synthesis phase is qualitative and hard to capture by
computer system.
 The end goal of synthesis is a conceptual design
 Evaluation is concerned with measuring the design against the specifications
established in problem definition phase.
 This evaluation often requires fabrication and testing of a prototype model to
assess performance, quality, reliability and other criteria.
 Presentation includes documentation of design by means of drawing , material
specifications, assembly list and so on.
The Application of computer for Design
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 8
 Geometric modeling corresponds to the synthesis phase in which physical design
project takes form on the ICG system
 Engineering analysis corresponds to phase 4 , dealing with analysis and
optimization
 Design review and evaluation is the fifth step in the general design procedure
 Automated drafting involves a procedure for converting the design image data
residing in computer memory into a hard copy document.
Geometric Modeling
 It is concerned with the computer compatible mathematical description of the
geometry of the object.
 To use geometric modeling, the designer constructs the graphical image of the
object on the CRT screen of the ICG system by inputting three types of
commands
1. The first type of command generates basic geometric elements such as points,
lines and circles.
2. The second command type is used to accomplish scaling, rotation and other
transformations of these elements.
3. The third type of demand causes the various elements to be joined into the
desired shape of the object being created on the ICG system.
 During this process , the computer converts the commands into a mathematical
model, stores it in the computer data files, and displays it as an image on CRT
screen.
 The model can be called from the data files for review, analysis, or alteration.
 There are several different methods of representing the object in geometric
modeling.
 The basic form uses wire frames to represent the object. In this form the object
is displayed by interconnecting lines. Wire frame modeling is classified into
three types
1. 2D. Two dimensional representation is used for a flat object
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 9
2. 2 ½ D. In this a three dimensional object to be represented as long as it has no
side wall details.
3. 3D. This allows for full three dimensional modeling of a more complex
geometry
Figure 5 Wire-frame drawing of a part
 Even three dimensional wire frame representations of an object are inadequate
for complicated drawings
 Wire frame models can be enhanced by several methods
1. First uses dashed lines to show the rear edges of the object, those which would
be invisible from front
2. It removes the hidden lines completely, thus providing a less cluttered picture
of the object for the viewer.
Wire-frame drawing
Figure 6 Dashed lines to show rear edges of part Hidden line removal
3. By providing surface representation which makes the object appear solid to
the viewer.
4. The most advanced method uses solid geometry shapes called primitives to
construct the object.
5. Another feature of some CAD system is color graphics capability
Solid Modeling
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 10
Engineering Analysis
 The analysis may involve stress strain calculations, heat transfer computations,
or use of dynamic behaviour of the system being designed.
 The computer can be used to aid in this analysis work.
 Two important examples of this type are:
1. Analysis of mass properties
2. Finite element analysis
1. Analysis of mass properties:
 For solid object: surface area , weight , volume, centre of gravity, and moment
of inertia.
 For a plane surface (or c/s of solid object) the corresponding computations
may include the perimeter, area, and inertia properties.
2. Finite element analysis:
 With this technique the object is divided into large number of finite elements
(usually triangular or rectangular in shapes) which form an interconnecting
network of concentrated nodes.
 By using a computer with significant computer capabilities, the entire object
can be analyzed for stress-strain, heat transfer and other characteristics by
calculating the behaviour of each node.
 By determining the interrelating behavior of all the nodes in the system, the
behavior of the entire object can be assessed
Design Review and Analysis
 Semi automatic dimensioning and tolerancing routines which assign size
specifications to surfaces indicated by the user help to reduce the possibility of
the dimensioning errors.
 The designer can zoom in on part design details and magnify the image on
graphics screen for close scrutiny
 A procedure called layering is often helpful in design review. E.g. a good
application of layering involves overlaying the geometric image of the final
shape of the machined part on the top of the image if the rough casting.
 This ensures that sufficient material is available on the casting to accomplish
the final machined dimensions.
 Another related procedure for design review is interference checking. This
involves the analysis of an assembled structure in which there is a risk that the
components of the assembly may occupy the same space.
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 11
 The risk occurs in the design of large chemical plants, cold boxes, and other
complicated piping structures.
 One of the feature of CAD systems is kinematics. The available kinematics
packages provide the capability to animate the motion of simple designed
mechanisms such as hinged components and linkages.
Automated Drafting
 It involves the creation of hard copy engineering drawings directly from the
CAD database.
 CAD systems includes features like automatic dimensioning, generation of
crosshatched areas, scaling of the drawing, and the capability to develop
sectional views and enlarged views of particular part details
 Different views like oblique, isometric and perspective views can be of
significant assistance in drafting.
The manufacturing database from CAD/CAM
In the conventional manufacturing cycle practiced for so many years in industry,
• Engineering drawings were Prepared by design draftsman and then used by
manufacturing engineer to prepare process plan (“Route Sheet”)
• The activities involved in the designing the product were separated from the
activities associated with process planning.
• Essentially a two step procedure was employed.
• This was both time consuming and involved duplication of efforts by design
and manufacturing personnel
• In an integrated CAD/CAM system, a direct link is established between
product design and manufacturing.
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 12
• It is goal of CAD/CAM not only to automate certain design phases of design
and certain phases of mfg., but also to automate the transition from design to
manufacturing.
• Computer- based systems have been developed which create much of the data
and documentation required to plan and manage the mfg. operations for the
product.
• The manufacturing data base is an integrated CAD/CAM data base.
• It includes all the data on the product generated during design (geometry data,
BOM , material specifications) as well as additional data required for mfg.,
much of which based on the product design
Figure 7 The manufacturing database from CAD/CAM
Benefits of CAD
• Productivity improvement in Design
• Shorter lead times
• Reduced engineering personnel requirement
• Customer modifications are easier to make
• Rapid response of the design analysis
• Improved accuracy of design
• Avoidance of subcontracting to meet schedules
• Provide better functional analysis to reduce prototype testing
• Avoidance of subcontracting to meet schedules
• Assistance in preparation of documentation
• Minimized transcription errors
• Designs have more standardization
• Fewer errors in NC part programming
• Better communication interfaces and greater understanding among engineers,
designers, drafters, management and different project groups.
Principles of Concurrent Engineering
Definition
• It is a methodology of restructuring the product development activity in an
organization using a cross functional team and is a technique adopted to
improve efficiency of the product design and reduce product cycle time.
• Concurrent engineering brings together a wide spectrum of people from
several functional areas in the design and mfr. of a product.
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 13
• Representatives from R&D, engineering, manufacturing, materials
management, quality assurance marketing etc develop the product as a team.
Traditional Process of Serial Engineering
• Functions Separated
• Functions Serially Executed
• No Interaction
• Maintenance Usually an Afterthought
• Time Consuming
• Costly
Figure 8 Serial Engineering
Costs involved in Design changes
Figure 9 Costs involved in Design changes
Concurrent vs. Serial Engineering
• All Viewpoints Solicited
• Interdisciplinary Teams
• Life Cycle Cost Considered
• Attempt to represent Concept Early - Before Committing to Detail Design
• Data/Information/Knowledge Exchange Planned and Encouraged
• Cycle Time and Cost Reduced
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 14
Figure 10 A Concurrent Engineering Model
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 15
CHAPTER 3. HARDWARE REQUIREMENTS OF CAD
Syllabus
 Hardware configuration of a CAD system
 Display devices like raster scan devices, plasma panels, liquid crystal displays.
 Types of images like halftone, grayscale, colour
 Memory requirements for raster scan graphics terminal
 Concept of pointing and positioning.
DesignWorkstation
CAD system would include the following hardware components
 One or more workstations. These would consist of
 A graphics terminal
 Operator input devices
 One or more plotters and other output devices
 Central Processing unit (CPU)
 Secondary storage
Figure 11 Configuration of CAD Workstation
The Design workstation
Functions of CAD workstation
1. It must interface with the central processing unit
2. It must generate a steady graphic image for the user
3. It must provide digital descriptions of the graphics image
4. It must translate computer commands into operating functions
5. It must facilitate communication between the user and the system.
The Graphics Terminal
• Image generation in computer graphics
• Graphics terminals for computer aided design
Image generation in computer graphics
• All computer graphics terminals available today use the cathode ray tube
(CRT) as the display device.
The operation of CRT is as follows
• A heated cathode emits a high speed electron beam onto a phosphor-coated
glass screen.
• The electron energize the phosphor coating, causing it to glow at points where
the beam makes contact
• By focusing the electron beam , changing its intensity , and controlling its
point of contact against the phosphor coating through the use of deflector
system , the beam can be made to generate picture on the CRT screen
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 16
Figure 12 Cathode Ray Tube
Image generation in computer graphics
• There are two basic techniques used in computer graphics terminal to
generating the image on the CRT screen
1. Stroke writing
2. Raster scan
Other names for stroke writing technique include line drawing, random position,
vector writing and directed beam
Other names to raster scan technique include digital TV and scan graphics
Stroke Writing
• It uses an electron beam which operates like a pencil to create a line image on
the CRT screen.
• The image is constructed out of straight segments
• Each line can be drawn on the screen by directing the beam to move from one
point on the screen to the next, where each point is defined by its x and y
coordinates.
• Although the procedure results in images composed of only straight lines,
smooth curves can be approximated by making the connecting line segments
short enough.
Rasterscan
• In this viewing screen is divided into a large number of discrete phosphor
picture elements, called pixels.
• The number of pixels in the raster display might be range from 256 X 256 (a
total of 65,000 points) to 1024 X 1024 (a total of 10,00,000 points)
• Each pixel on the screen can be made to glow with a different brightness.
• Color screens provide for the pixels to have different colors as well as
brightness
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 17
Graphics Terminal for CAD
1. Directed-beam refresh
2. Direct-view storage tube (DVST)
3. Raster scan (digital TV)
Directed-beam refresh
• Utilizes stroke writing approach to generate the image on the screen
• The image must be regenerated many times per second to avoid flickering
• The phosphor elements on the screen surface are capable of maintaining their
brightness only for a short time (sometimes measured in micro seconds)
• On densely filled screens it is difficult to avoid flickering of the image
• As the image is continuously refreshing, selective erasure and alteration of the
image is readily accomplished
• It is also possible to provide animation of the image with refresh tube.
• Other names are vector refresh and stroke writing refresh
Direct-view storage tube (DVST)
• This also uses stroke writing approach to generate image on the CRT screen
• The term “storage tube” refers to the ability of the screen to retain the image
which has been projected against it, thus avoiding the need to rewrite the
image constantly
• This is possible with the use of an electron flood gun directed at the phosphor
coated screen which keeps the phosphor elements illuminated once they have
been energized by the stroke writing electron beam.
• The resulting image will be flicker free.
• In this individual lines cannot be erased selectively
• It lacks color capability
• These are lowest cost terminals
• They are capable of storing large amount of data
Raster Scan Terminals
• The operation is similar to commercial Television set
• The difference is that TV uses analogue signals generated by video camera to
construct image on CRT screen, while raster scan ICG terminal uses digital
signals generated by computer.
• Lowest cost terminals using two beam intensity levels, on or off . This means
that each pixel in the viewing screen is either illuminated or dark
• A picture tube with 256 lines of resolution and 256 addressable points per line
would form the image will require 256 X 256 or over 65,000 bits of storage.
• Each bit of memory contains the on/off status of the corresponding pixel on
the CRT screen.
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 18
• This memory is called as frame buffer or refresh buffer
• Picture quality can be improved in two ways: by increasing the pixel intensity
and or adding a grey scale (or color).
• Increasing picture intensity means adding more lines of resolution and more
addressable points par line.
• A 1024 X 1024 raster screen would require more than 1 million bits of storage
in the frame buffer.
• A grey scale is accomplished by expanding the number of intensity levels
which can be displayed on each pixel.
• This requires additional bits for each pixel to store the intensity level.
• Two bits are required for four levels, three bits required for eight levels, and so
forth.
• Five or six bits required to achieve approximation for continuous achieve an
approximation of continuous grey scale
• For color display , three times as many bits require to get various intensity
levels for each of the three primary colors: red, blue and green.
• A raster scan graphics terminal with high resolution and grey scale can require
very large capacity refresh buffer.
Colour CRT Monitors
• Two basic techniques used for producing colour display with a CRT are the
1. Beam penetration method
2. Shadow mask method
Beam Penetration Method
• It is used with random scan monitors.
• Two layers of phosphor, usually red and green, are coated onto the inside of
the CRT screen, and the displayed colour depends upon how far the electron
beam penetrates into the phosphor layer
• A beam of slow electrons excites only the outer red layer.
• A beam of fast electrons penetrates through the red layer and excites the inner
green layer.
• At intermediate speed, combination of red and green light are emitted to show
two additional colours, orange and yellow
• The speed of electrons, hence the screen colour at any point is controlled by
the beam acceleration voltage
Delta Delta Shadow Mask Method
• These are most widely used because they produce wide variety of range.
• A shadow mask CRT has three phosphor dots at each pixel position
• One phosphor dot emits a red light, another emits a green and the third emits a
blue light.
• This type of CRT has three electron guns one for each colour dot, and shadow
mask grid just behind the phosphor coated screen
• The electron beams are deflected and focused as a group onto the shadow
mask, which has series of holes aligned with phosphor dot patterns.
• When the three beams pass through a hole in the shadow mask, they activate a
dot triangle, which appears as a small colour spot on the screen.
• The phosphor dots are arranged so that each electron beam can activate only
its corresponding color dot when it passes through the shadow mask.
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 19
Comparison of Graphics terminal features
Direct Beam
storage
DVST Raster scan
Image Generation Stroke writing Stroke writing Raster scan
Picture quality Excellent Excellent Moderate to good
Data content Limited High
Selective erase Yes No Yes
Grey scale Yes No Yes
Color capability Moderate No Yes
Animation capability Yes No Moderate
Flat Panel Displays
• The term flat panel display refers to a class of video devices that have reduced
volume, weight and power requirements as compared to CRT.
• Applications of flat panel displays include small TV monitors, calculators,
Pocket video games, laptop computers, an advertising boards etc.
Flat panel displays are classified into two types
1. Emissive displays (emitters)
• covert electrical energy into light
• Plasma panels, thin film electroluminescent displays and light emitting diodes
etc.
2. Non emissive displays (or non emitters)
• use optical effects to convert sunlight or light from some other source to
graphics patterns
• Liquid crystal device
Plasma Panels
• Also called as gas-discharge displays.
• Constructed by filling the region between two glass plates with a mixture of
gases that usually includes neon
• A series of vertical ribbons is placed on one glass panel and a set of horizontal
ribbons is built into the another glass panel.
• Firing voltage is applied to a pair of horizontal and vertical conductors cause
the gas at intersection of the two conductors to break down into a glowing
plasma of electrons and ions.
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 20
• Picture definition is stored into a refresh buffer, and the firing voltage is
applied to refresh the pixel positions (at the intersection of the conductors) 60
times per second.
• Alternating current method are used to provide faster application of the firing
voltages, and thus brighter images.
• The disadvantage is that they are strictly monochromatic devices.
Basic design of plasma panel display device
Liquid Crystal Displays
• LCDs are commonly used in small systems such as calculators and portable
laptop computers
• These non-emissive devices produce a picture by passing a polarized light
from the surroundings or from an internal light source through a liquid crystal
material that can be aligned to block or transmit the light.
• Liquid crystal refers to that these compounds have a crystalline arrangement
of molecules, yet they flow like liquid.
• Flat panel display use nematic (threadlike) liquid crystal compounds that tend
to keep the long axis of the rod shaped molecules aligned.
• Two glass plates , each containing a light polarizer at right angles to other
plate, sandwich the liquid crystal material
• Rows of transparent conductors are built in one glass plate, and columns of
vertical conductors are put into another plate.
• The intersection of two conductors defines the pixel position
• In “on state” the molecules are aligned as shown.
• Polarized light passing through the material is twisted so that it will pass
though the opposite polarizer.
• The light is then reflected back to the viewer
• To turn off the pixel, a voltage is applied to the intersecting conductors to
align the molecules so that the light is not twisted.
• Picture definition is stored into a refresh buffer, and the firing voltage is
applied to refresh the pixel positions (at the intersection of the conductors) 60
times per second.
• This type of flat panel device is referred to as a passive matrix LCD
• Another method of constructing LCDs is to place a transistor at each pixel
location, using thin film transistor technology.
• The transistors are used to control voltage at pixel locations and to prevent
charge from gradually leaking out of the liquid crystal cells.
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 21
• These devices are called as active matrix displays.
Concept of pointing and positioning
• In conventional user interaction, the user enters data and selects or enters
commands through keystrokes made on a keyboard.
• In interactive graphics these are supplemented by the activities of:
1. Positioning, or location, generally for the data entry within the program
2. Pointing to, or picking, graphical or other elements on the display screen , for
object or command selection.
Positioning
• The CAD user inputs the positional information for such tasks as the location
of the geometry within the model, or for the indication of an image to be
magnifies in a zoom or other display control application
• Position may be precisely indicated by the entering of the coordinate values.
• But where approximate location is satisfactory the position may be given by a
positioning device.
• The cursor is used to indicate the current screen position to the user.
• The movement of the positioning device is normally reflected in the
movement of the cursor, and a button on the positioning device or a keyboard
keystroke is used to indicate a specific location
• Devices used : joystick , mouse, thumbwheels, digitizers
Pointing
• The most commonly used device is light pen, which could be pointed at
illuminated parts of the displays to select lines in the image.
• The light pens are rarely used.
Halftone
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 22
• Continuous tone photographs are reproduced for publications in newspaper,
magazines, and books with a printing process called halftoning, and the
reproduced pictures are called halftones.
• For a black and white photograph, each intensity area is reproduced as a series
of black circles on a white background.
• The diameter is propositional to the darkness required for that intensity level.
• Darker regions are printed with large circles and lighter regions are printed
with small circles.
• Book and magazine halftones are printed on high quality paper using
approximately 60 to 80 circles of varying diameter per centimeter.
• Newspaper use lower quality papers and lower resolution (about 20 to 30 dots
per centimeter.)
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 23
Chapter 4. Software in CAD
Computer Graphics Software
• The graphic software is the collection of programs written to make it
convenient for user to operate the computer graphics system.
• It includes programs to generate images on the CRT screen, to manipulate the
images, and to accomplish various types interaction between the user and the
system.
• Some other programs for implementing specialized functions of CAD/CAM
are
1. Design analysis programs (FEA & kinematic simulation)
2. Manufacturing planning programs (e.g. automated process planning and
numerical control part programming )
Ground rules in Designing Software
1. Simplicity : The graphics software should be easy to use
2. Consistency: The package should operate in a consistent and predictable way
to the user
3. Completeness: There should be no inconvenient omissions in the set of
graphics function
4. Robustness : The graphics system should be tolerant of minor instances of
misuse by the operator
5. Performance: Within limitations imposed by the system hardware, the
performance should be exploited as much as possible by software. Graphics
program should be efficient and speed of response should be fast and
consistent.
6. Economy: Graphics programs should not be so large or expensive as to make
their use prohibitive
The software configuration of a graphics system
In the operation of the graphics system by the user , a variety of activities take place,
which can be divided into three types
• Interact with the graphics terminal to create and alter images on the screen
• Construct a model of something physical out of the images on the screen. The
models are sometimes called as application models
• Enter the model into computer memory and/or secondary storage.
Graphics software
The graphics software can be divided into three modules
• The graphics package
• The application program
• The application data base
Application Program
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 24
• It controls the storage of data into and retrieves data out of application
database
• The application program is driven by the user through the graphics package
• The application program is implemented by the user to construct the model of
a physical entity whose image to be viewed on the graphics screen.
• Application programs are written for particular problem areas.
• Problem areas in engineering design would include arch, construction, mech.
Components, ext, chem, aerospace.
• Problem areas other than deign include flight simulators, graphical display of
data, mathematical analysis, and even artwork
Graphics Package
• The graphics package is the software support between the user and the
graphics terminal.
• It manages the graphical interaction between the user and the system
• It also serves as a s/w support between the user and the application software
• The graphics package consist of input subroutines and output subroutines
• The input subroutine accepts the input commands and data from the user and
forward them to the application program
• The output subroutines control the display terminal (or other output device)
and converts the application models into 2D or 3D graphics pictures.
Application data base
• The database contains mathematical, numerical and logical definitions of the
application models, such as electronic ckts, mechanical components,
automobile bodies, and so forth.
• It also contains alphanumeric information associated with the models, such as
BOM, mass properties and other data.
• The contents of the data base can be readily displayed on the CRT or plotted
out in hard copy form.
Functions of a Graphics package
• Generation of graphics elements
• Transformations
• Display control and windowing function
• Segmenting functions
• User input functions
Generation of graphics elements
• A graphic element in computer graphics is a basic image entity such as a dot
(or point), line segment, circle, and so forth
• The collection of elements in the system could also include alphanumeric
characters and special symbols
• There is often a special hardware component in the graphics system associated
with the display of many of the elements.
• This speeds up the process of generating the element
• The user can construct the application model out of collection of elements
• The term primitive is used in reference to the graphics element
• E.g. sphere, cube, or cylinder
• In 3D wire frame models and solid modelling, primitives are used as building
blocks.
Transformations
• Transformations are used to change the image on the display screen
• Transformations are applied to graphics elements in order to aid the user in
constructing an application model
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 25
• It includes enlargement and reduction of the image by a process called scaling,
repositioning the image or translation, and rotation.
Display control and windowing
• This provides the user with the ability to view the image from the desired
angle and at the desired magnification
• Another aspect of display control is hidden line removal.
Segmenting function
• Segmenting provides user with the capability to selectively replace, delete or
otherwise modify portions of the image.
• The term segment refers to a particular portion of the image which has been
identified for the purpose of modifying it.
• Storage type CRT is unsuited to segmenting function.
User input output functions
• User input functions constitute a critical set of functions in the graphics
package because they permit the operator to enter commands or data to the
system.
• The entry is accomplished by means of operator input devices.
Constructing the geometry
• The use of graphics elements
• Defining the graphics elements
• Editing the geometry
The use of graphics elements
 The graphics system accomplishes the definition of the model by constructing it
out of graphics elements
 These elements are called by the user during the construction process and added
one by one, to create the model
 There are several aspects about this construction process.
1. Each new element is being called but before it is added to the model, the user
can specify its size, its position and orientation.
These specifications are necessary to form the model to proper shape and size
For this purpose various transformations are utilized
2. Graphics element can be subtracted as well as added
Another way of saying this is that the model can be formed out of negative
elements as well as positive elements.
3. A third feature available during model building is the capability to group
several elements together into units which are sometimes called cells
A cell in this context , refers to a combination of elements which can be called
to use anywhere in the model e.g. a bolt is to be used in several places in
mechanical assembly
Define the graphics elements
• The user has variety of ways to call a particular graphic element and position it
on the geometric model
• Points, lines, arcs , circles can be defined in various ways through interaction
with the ICG system
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 26
• E.g. point can be defined simply by x, y and z coordinates. A polygon would
be defined as an ordered set of points representing the corners of the polygon
Editing the geometry
• A CAD provides system provides editing capabilities to make corrections and
adjustments in the geometric model
• When developing the model, the user must be able to delete, move, copy and
rotate the components of the model.
• The editing involves selecting the particular portion of the model, and
executing the appropriate command
Editing features in CAD
1. Move an item. This involves the translation of item from one place to
another
2. Duplication an item at another location. The copy function is similar to
move function except it preserves a copy of an item at its original location
3. Rotate an object. This is the rotation transformation, in which the item is
rotated through specified angle from its original orientation
4. Mirror an item. This crates a mirror image of an item about a specified
plane.
5. Delete an item. This causes selected segment of the model to be removed
from the screen and from the database.
6. Trim an line or other component
7. Scale an item
 The method of selecting the segment of the model varies from system to system
1. With cursor control common method is for a rectangle to be formed on the CRT
screen around the model segment. The rectangle is defines by entering the upper
left and lower right corners of the rectangle
2. It involves light pen to be placed over the component t be selected
 The computer must some how show indicate to the user which portion of the
model has been selected
 This includes placing mark on the segment, making segment brighter than the rest
of the image, and making the segment blink
Transformations
• 2-D Transformations
• 3-D Transformations
Two-dimensional Transformations
• To locate a point in a two-axis Cartesian system, the x and y coordinates are
specified.
• These coordinate can be treated together as a 1 x 2 matrix : (x, y), e.g. the
matrix (1,4) would be interpreted to be point which is 1 unit from the origin in
the x-direction and 4 units from the origin in the y-direction.
• This method of representation can be extended further to define a line as a
2 x 2 matrix by giving x and y coordinates of the two end points of the line.
The notation would be,
Translation
• Translation involves moving the element from one location to another
x‟= x + m, y‟ = y + n
Where,
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 27
x‟, y‟ = coordinates of the translated point
x, y = coordinates of the original point
m, n= movements in the x and y direction
In the matrix notation this can be represented as,
(x‟, y‟) = (x, y) + T
Where,
T = (m, n), the transformation matrix
• Scaling
Scaling of an element is used to enlarge it or reduce its size. The scaling need
not necessarily be done equally in x and y directions. e.g. a circle can be
transformed into ellipse by using unequal x and y scaling factors.
The points of an element can be scaled by scaling factor as follows:
(x‟, y‟) = (x, y )S
Where
• This would produce an alternation in the size of the element by the factor m in
the x-direction and by the factor n in the y direction
• It also repositions the element
• If the scaling factor is <1 , it is moved closer to origin
• If the scaling factor is >1 , it is moved farther from the origin
Rotation
In this transformation, the points of an object are rotated about the origin by an
angle θ
For a positive angle, this rotation is in the counter clockwise direction
This accomplishes rotation of the object by the same angle, but it also moves
the object. In matrix notation the procedure will be as follows:
(x‟, y‟) = (x, y) R
Where
Example : Translation
Consider the line defined by,
Suppose the line to be translate in space by 2 units in x direction and 3 units in the y
direction.
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 28
Example : Scaling
• Apply scaling factor of 2 to the line
The new line will be,
Example : Rotation
Rotate the line about origin by 30°
The new line would be defined as:
• The new line will be,
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 29
3 Dimensional Transformation
• Transformations by matrix methods can be extended to three dimensional
space.
Translation
• The translation matrix for a point defined in three dimensional matrix would
be, T = (m, n, p)
And would be applied by adding increments m, n and p to the respective
coordinates of each of the points defining the three-dimensional geometry
elements
Scaling
The scaling transformation is given by,
For equal values of m, n and p, the scaling is linear
Rotation
• Rotation in three dimensions can be defined for each of the axes
• Rotation about z axis by angle θ is accomplished by the matrix
• Rotation about y axis by angle θ is accomplished by the matrix
 Rotation about x axis by angle θ is accomplished by the matrix
Concatenation
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 30
• Single transformations can be combined as a sequence of transformations.
This is called as concatenation, and the combined transformations are called
concatenated transformations.
• During editing process when a graphics model is being developed , the use of
concatenated transformation is quite common
• More than one transformations are usually requires to accomplish the desired
transformation
e.g.
1. Rotation of the element about an arbitrary point the element
2. Magnifying the element but maintaining the location of one of its points in the
same location
• In the first case transformations would be: translation to the origin, then
rotation about the origin, then translation back to original location
• In the second case , the element would be scaled (magnified) followed by a
translation to locate the desired point as needed
• The objective of the concatenation is to accomplish a series of image
manipulations as a single transformation
• The concatenation is the product of the two transformation matrix
• It is important that order of matrix multiplication be the same as the order in
which the transformations are to be carried out.
Example : Concatenation
• A point to be scaled by a factor of 2 and rotated by 45°. Suppose point under
consideration was (3, 1) . This may be one of the several points defining a
geometric element
• First accomplish the transformations sequentially,
First consider the scaling,
(x‟, y ‟) = (x, y)S
Next rotation can be performed
(x”, y”) = ( x‟, y‟) R
The same result can be accomplished by concatenating the two transformation
matrices, The product of the two matrices would be
Now applying this concatenated transformation to the original matrix
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 31
Examples
• A line is defined in 2 D space by its end points (1,2) and (6,4). Express this in
matrix notation and perform the following transformation in succession on this
line
1. Rotate the line by 90° about the origin
2. Scale the line by a factor of 0.5 (Dec/Jan 04/05, 8 Marks)
• A square of side 30 units has its coordinates A(10,10), B(40,10), C(40,40) and
D(10,40),
Perform the following transformation in succession and show it on graph
paper
1. Rotate about origin 20° anticlockwise
2. Scale it by factor 1.5
3. Perform the above sequence of transformation by concatenation
(May/June 04, 18 Marks)
Homogeneous representation
• In order to concatenate the transformations matrices, all transformation
matrices should be multiplicative type.
• However, the translation matrix is vector additive while all other are matrix
multiplications.
• It is desirable , to express all geometric transformations in form that ,they can
be concatenated by matrix multiplication only.
• In homogeneous representation, an n-dimensional space is
mapped into (n+1) dimensional space.
• Thus a 2 dimensional point [x, y] is represented with the homogeneous
coordinate triple (xh,yh,h)
Where,
• Thus , a general homogeneous coordinates can also be written as (h.x, h.y, h).
• For two-dimensional geometric transformations, homogeneous parameter h to
be any nonzero value.
• Thus , there is an infinite number of equivalent homogeneous representations
for each coordinate point (x, y)
• A convenient choice is simply to set h=1.
• Each two-dimensional position is then represented with coordinates (x, y, 1)
• This facilitates the computer graphics operations where the concatenation of
multiple transformations can be easily carried out.
• The translation matrix in multiplication form can be given as,
The transformation operation can be written as
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 32
• The scaling matrix in multiplication form can be given as,
The transformation operation can be written as
The rotation matrix in multiplication form can be given as,
The transformation operation can be written as
Problem (Nov/Dec 2004)
A square ABCD of side 50 units having one of its vertex at A(10,10) is to be
scaled by 0.8 along x axis and 1.2 along y-axis. The model is then rotated
about origin by 30° in anticlockwise direction. Perform the necessary
transformations using homogeneous transformation matrix and show them on
graph paper.
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 33
CHAPTER 6. 3-D Modelling
Syllabus
 Preparing an application model by Boolean operations
 Primitive instancing
 Boundary representations
 CSG (Constructive Solid Geometry )
 Wire frame modeling and solid modeling
 Sweep representations
 Cell decomposition
Boolean operations
• Boolean operations are used to make more complicated shapes by combining
simpler shapes
• 3 types of operations are possible:
1. union („U‟) or “join”
2. intersection („∩‟)
3. difference („-‟) or “subtract”
Boolean operation on solids.
(a) Objects A and B, (b) A U B, (c) A ∩ B, (d) A - B, (e) B - A
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 34
Boolean operations applied to a cube and a sphere
Primitive Instancing
• In primitive instancing modeling approach, primitives are simple 3D solid
shapes, which form the base for creating a solid model
• These primitives are parameterized by geometric as well as physical
properties.
• The solid model of any object can be created with different combinations of
these primitives.
• e.g. one primitive object may be a regular pyramid with a user defined number
of faces meeting at the apex.
• A parameterized primitive may be thought of as defining family of parts
whose members vary in few parameters, an important CAD concept known as
group technology.
• Primitive instancing is often used for relatively complex objects, such as gears
, bolts, that are tedious to define in terms of Boolean combinations of simpler
objects.
• e.g. A gear may be parameterized by its diameter or no. of teeths.
• Primitive instancing is based on the concept of families of objects or parts
• All parts having same topology but different dimensions are grouped into
family
• Each individual part in the family is called a primitive instance.
• e.g. a cylinder is represented by diameter(D) and height (h)
• Each primitive instancing is defined by specific (D) and (H)
• A number of such cylinder primitive instancing creates a family of cylinders
• A group of such families can define a solid
Boundary representations (B-rep)
• Boundary representations or b-reps describe the solid object in terms of its
boundaries, that is the vertices, edges and faces.
• In this model, face is bounded by edges and each edge is bounded by vertices.
• The entities which constitute a B-rep model are:
Geometrical Entities Topological entities
Point Vertex
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 35
Curve, line Edge
Surface Face
B – Rep Model
An Edge-Based Model
v1 v2
v3
v4
e1
e2e3
e4
e6
e5
Faces:
f1 e1 e4 e5
f2 e2 e6 e4
f3 e3 e5 e6
f4 e3 e2 e1
Edges:
e1 v1 v2
e2 v2 v3
e3 v3 v1
e4 v2 v4
e5 v1 v4
e6 v3 v4
Vertices:
v1 x1 y1 z1
v2 x2 y2 z2
v3 x3 y3 z3
v4 x4 y4 z4
v5 x5 y5 z5
v6 x6 y6 z6
v1 v2
v3
v4
e1
e2e3
e4
e6
e5
v1 v2
v3
v4
e1
e2e3
e4
e6
e5
Faces:
f1 e1 e4 e5
f2 e2 e6 e4
f3 e3 e5 e6
f4 e3 e2 e1
Edges:
e1 v1 v2
e2 v2 v3
e3 v3 v1
e4 v2 v4
e5 v1 v4
e6 v3 v4
Vertices:
v1 x1 y1 z1
v2 x2 y2 z2
v3 x3 y3 z3
v4 x4 y4 z4
v5 x5 y5 z5
v6 x6 y6 z6
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 36
• Though B-rep models is constructed of surfaces of solids, computation of
mass and volumetric properties is possible.
• The range of models that can be modeled with B-rep technique is very large.
• The Boundary representation approach requires the user to draw the outline or
boundary of the object on CRT screen using an electronic tablet and pen or
analogous procedure.
• The user would sketch various views of the object (front, side and top , or
more views if needed), drawing interconnecting lines among the views to
establish their relationship.
• Various transformations and other specialized editing procedure are used to
refine the model to the desired shape.
• Unusual shapes can be formed with the help of this representation
• e.g. aircraft fuselage or wing shapes and automobile body styling
• This model is stored in the database as stores precise definition of the model
boundaries.
• The model requires more storage space but less computation effort in
reconstruction of the model and its image.
• It is relatively simple to convert back and forth between a boundary
representation and a corresponding wire frame.
Constructive Solid Geometry (CSG or C-rep)
• A CSG model is based on the concept that a physical object can be divided
into a set of primitives (basic elements or shapes) that can be combined in a
certain order following a set of rules (Boolean operations) to form the object.
• Each primitive is bounded by a set of surfaces; usually closed and orientable.
• A CSG model is fundamentally and topologically different from a B-rep
model in that the former does not store explicitly the faces, edges, and
vertices.
• There is a wide variety of primitives available commercially to users.
However, the four most commonly used are the block, cylinder, cone and
sphere.
• Initial formulation the object is easier in case of C-rep
• It is relatively easy to construct a precise solid model out of regular solid
primitives by use of Boolean operations.
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 37
• The building block approach is results in more compact file of the model in
the data base
• Unusual shapes can not be formed easily with this representation
• This model stores the model by combination of data and logical procedures
(the Boolean model)
• This model requires less storage but more computation to reproduce the model
and its image
• Because of relative advantages and disadvantages of the two approaches ,
hybrid systems have been developed which combine the CSG and B-rep
approaches.
Construction of a Wrench
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 38
Wire frame modeling
• In construction of the wire-frame model, the edges of the object are shown as
lines
• The image assumes the appearance of a frame structured out of wire- so it is
called as Wire frame model
• Very often designers also build physical models to help in the visualization of
a design.
• This may require the construction of „skeleton‟ models using wires to
represent the edges of an object or component.
• Wire frame modeling, as used currently in computer-aided engineering
techniques, is the computer-based analogue of this process.
• A wire-frame model consists of a finite set of points together with the edges
connecting various pairs of these points,
• There are limitations to the models which use the wire frame approach.
• These limitations are more prominent in case of three-dimensional models.
• These models are more suitable for two-dimensional representation.
• The more remarkable limitation is that all the lines that define edges of the
model are shown in the image.
• Many of 3-D wire frame systems does not have automatic hidden line removal
feature.
• The image becomes much complicated to understand and in some cases it
might be interpreted in number of ways.
• There is also limitation in defining the model in CAD database
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 39
Solid modeling
• An improvement in the wire frame modeling, both in terms of realism to the
user and definition to the computer.
• In this models are displayed with less risk of misinterpretation
• When color are added the picture becomes realistic one.
• The solid modeling has wide range of applications other than CAD and
manufacturing.
• These includes color illustrations in magazines and technical publications,
animation in movies and training simulators
The solid models are used widely because of following factors:
1. Increasing awareness among users of the limitation of the wire frame systems
2. Continuing development of computer hardware and software which makes
solid modeling possible
• These models require high computational power in terms of both speed and
memory, in order to operate
Sweep Representations
• When a curve /shape is moved along a curved path a new object created is
called a sweep
• When a 2D object is swept along a linear path , then the resulting object is
known as extrusion.
• Rotational sweeps are defined by rotating an area about an axis.
• Sweeps of solids are useful in modelling the regions swept by a machine tool
or a tool path.
(a) (b) (c)
Wireframe ambiguity:
Is this object (a), (b) or (c) ?
(a) (b) (c)
Wireframe ambiguity:
Is this object (a), (b) or (c) ?
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 40
• Sweeps whose generating volume or area changes in shape, size or in
orientation as they swept, are known as generalized sweeps.
• Sweep representation is useful in generating extruded solids and solids of
revolution.
• The sweeping operation is based on sweeping a curve or surface.
• Applications involves simulations of material removal due to machining
operations and interference detection of moving objects in space.
• There are three types of sweep
1. Linear
• Translational
• Rotational
2. Non linear
3. Hybrid
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 41
Cell Decomposition
• An object can be modelled by decomposing its volume into smaller volume of
cells which are mutually continuous and do not penetrate into each other.
• The shape in this need not be a cube nor they should be identical.
• It can be seen that some cells are partly outside the boundary, while some of them
are partly inside the boundary
• This is approximate representation of an object.
• In such a case , a smaller hole or cavity gets neglected if the size of cavity is
smaller of the cells or other than squares in this scheme.
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 42
• This difficulty can be overcome by permitting various shapes of cells other than
squares and rectangles, such as triangles.
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 43
CHAPTER 7. Graphics Standards
• The need for portability of the geometric model among different hardware
platforms has led to the development of device independent graphics
• Simultaneously standards for exchange of drawing data base among software
packages have been developed to facilitate integration of design and
manufacturing operations
• The heart of any CAD model is the component database.
• This includes the graphics entities like points, lines, arcs etc. and coordinate
points which define the location of these entities
• This geometric data is used in all downstream applications of CAD, which
include finite element modeling and analysis, process planning, estimation,
CNC programming, Robot programming, programming of CMM, MRP
systems
To achieve high level of integration between CAD, analysis and
manufacturing operations, the database must contain:
• Shapes of the components ( based on 3-D wire frame or solid model )
• Bill of materials (BOM), of the assembly which the components are used.
• Materials of the components
• The manufacturing, test and assembly procedures to carried out to produce a
component so that it is capable of functioning as per requirements of design
In designing data structure for CAD database the following factors to be
considered:
• The data must be neutral
• The data structure must be user friendly
• The data base must be portable
Features of GKS
The feature of Graphics Kernel system include
1. Device independent: The does not assume that any of the input or output
devices have particular features or restrictions
2. Text/ annotations : All text or clarification are in a neutral languages like
English
3. Display management: A complete set of display management functions, cursor
control and other features are provided.
4. Graphics Functions: Graphics functions are provided in 2D or 3D
GKS Implementation in a CAD W/S
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 44
• The drivers in GKS is also includes metafile drivers
• Metafiles are devices with no graphics capability
GKS offers two routine to define user created pictures
1. Primitive functions
2. Attribute functions
1. Primitive functions
Examples
• POLYLINE to draw set of connected straight lines
• FILL AREA to draw a closed polygon with interior fill
• TEXT to create characters
• GDP (Generalized Drawing Primitive ) to specify the standard drawing
entities like circles, ellipse etc.
2. Attribute functions defines appearance of the image e.g. color, line type etc.
Exchange of data between CAD packages
E.g. to transfer CAD model created in Pro/E to I-DEAS or Unigraphics
To transfer geometric data from one software to another e.g. to carry out
modeling in PRO/E and analysis in ANSYS
One method to meet this need is to use translators. This means developer will
have to produce its own translators
• A solution to translators is to use neutral files
• The neutral files have standard formats and software packages can have
preprocessors to convert the file data to neutral file and post processors to
convert neutral file data to drawing file
DATA EXCHANGE
• The need for exchanging modeling data is directly motivated by the need to
integrate and automate the design and mfg. processes to obtain max. benefits
from CAD/CAM.
• The component database can be used in downstream applications like FEA,
Process planning, Robot programming, MRP, C. N. C. programming.
• There should be tie between the two or more systems to form an application
that shares common data.
• Data exchange files are neutral files. Following are two types of neutral files:
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 45
1. DXF (Data Exchange File)
2. IGES file (Initial Graphics Exchange Specification )
DXF (Data Exchange File)
• DXF files are std. ASCII text files, which can be easily translated to the
formats of other CAD systems
• The DXF facility is available in several drafting packages.
• In case of Auto CAD , the data regarding the created drawing may require to
view , modify or plotting.
• Also data can be used for analysis purpose like FEA
• In case of Auto CAD , a drawing interchange file (DXF) can be generated
from the existing drawing by means of DXFOUT command.
• On the other hand a drawing interchange file can be converted into Auto CAD
drawing by means of DXFIN command
• The general structure of DXF file is as follows:
HEADER Section : general information of drawing
TABLE Section :
Linetype (LTYPE) table
Layer table
Text style (STYLE) table
User coordinate system (UCS) table
View port configuration file (VPORT) table
BLOCKS Section
ENTITIES Section
END OF FILE
IGES (Initial Graphics Exchange Specification )
• It is standard exchange format developed for communicating product data
among dissimilar CAD/CAM systems.
• It has been used for two purposes:
– Transfer of data within dissimilar systems
– Digital communication between company and its suppliers, customers
i.e. IGES enable data transfer from one CAD system to another
• The software which translates data from CAD system to IGES is known as
preprocessor
• The software which translates data from IGES data to a CAD system is known
as postprocessor
• IGES defines a database, in the form of a file format, which describes an
“IGES Model” of modeling data of a given product
• IGES model can be read and interpreted by dissimilar CAD/CAM systems.
• IGES model based on the concept of entities.
• The fundamental unit of information of model i.e. IGES file, is the entity, all
product definition data are expressed as a list of predefined entities.
• Each entity defined by IGES is assigned a specific entity type number to refer
to it in the IGES file.
• Entities are categorized as geometric and non geometric.
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 46
• Geometric entities represent the definition of the product shape and include
curves and surfaces.
• Non geometric entities provide views and drawings of the model to enrich its
representation and include annotation and structural entities.
• Annotation entities include types of dimensions (linear, angular) symbols,
centerlines, cross hatching.
• Structure entities include views, drawings, attributes (i.e. line and text fonts,
colors, layers etc.), properties (e.g. mass), symbol (e.g. mechanical and
electrical ) and macros (to define parametric parts)
IGES file structure
Flag section
Start section
Global section
Directory entry section
Parameter data section
Terminate section
• Start section contains comments that can be used to describe the drawing,
identify its source, comment on its format an so on.
• Global section includes information that describes global characteristics of the
IGES file, such as name of the file, the system that created the file, units of
measures, and precision
• Directory entry section describes the entities in the drawing. This section
contains attributes such as color, line style. Also provides an index to the
entities in the file
• Parameter data section contains data to describe each entity, such as point
coordinates, coefficients of curve and surface equations, text characters and
other attributes.
• Terminate section
IGES Limitations
• IGES is complex and wordy
• These files are about five times larger than an equivalent product file
• Several entities required for specialized CAD applications are not available in
IGES file
• It does not convey the extensive product information needed in the design and
mfg. cycle.
STEP
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 47
• Standard for the Exchange of Product Model Data, officially the ISO standard
10303, Product Data Representation and Exchange, is a series of International
Standards with the goal of defining data across the full engineering and mfg.
life cycle.
• The ability to share data across applications, across vendor platforms and
between contractors, suppliers and customers, is the main goal of this
standard.
Scope of STEP
• The standard method of representing the information necessary for completely
defining a product throughout its entire life, i.e. from the product conception
to the end of useful life.
• Standard method for exchanging the data electronically between two different
systems.
• It provides worldwide standard for storing, sharing and exchanging product
information among different CAD systems.
• It includes methods of representing all critical product specifications such as
shape information, materials, tolerances, finishes and product structure.
• It is data exchange that would apply to a wide range of product areas,
including architectural, engineering and construction.
STEP Architecture
• It has main four components
1. EXPRESS modelling language
2. Data schemes including attributes such as geometry, topology, features and
tolerances.
3. Application interface called Standard Data Access Interface (SDAI) to enable
applications to access and manipulate STEP data
4. STEP database
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 48
CHAPTER 8. ROBOTICS
Definition
 A robot is a programmable , multi function manipulator deigned to move
material, parts, tools or special devices through variable programmed motion
for the performance of a variety of tasks
 An industrial robot is a general purpose , programmable machine processing
certain anthropomorphic characteristics
What are the parts of a robot?
• Manipulator
• Pedestal
• Controller
• End Effectors
• Power Source
Manipulator (Mimics the human arm)
• Base
• Appendages
o Shoulder
o Arm
o Grippers
Pedestal (Human waist)
• Supports the manipulator.
• Acts as a counterbalance.
Controller (The brain)
• Issues instructions to the robot.
• Controls peripheral devices.
• Interfaces with robot.
• Interfaces with humans.
End Effectors (The hand)
• Spray paint attachments
• Welding attachments
• Vacuum heads
• Hands
• Grippers
Power Source (The food)
• Electric
• Pneumatic
• Hydraulic
ROBOT PHYSICAL CONFIGURATION
1. Cartesian configuration 2. Cylindrical configuration
3. Polar configuration 4. Joint-arm configuration
Cartesian Configuration
 Robots with Cartesian configurations consist of links connected by linear
joints (L). Gantry robots are Cartesian robots (LLL).
Cartesian Robots
 It consists of three orthogonal slides.
 Three slides are parallel to x, y and z axes of the Cartesian coordinate system
Commonly used for:
 pick and place work
 assembly operations
 handling machine tools
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 49
 arc welding
Advantages:
 ability to do straight line insertions into furnaces.
 easy computation and programming.
 most rigid structure for given length.
Disadvantages:
 requires large operating volume.
 exposed guiding surfaces require covering in corrosive or dusty environments.
 can only reach front of itself
Cylindrical Configuration
 Robots with cylindrical configuration have one rotary ( R) joint at the base and
linear (L) joints succeeded to connect the links.
Cylindrical Robots
 In this, the robot body is a vertical column that swivels about vertical axis
 The arm consist of several orthogonal slides which allow the arm to be moved
up and down and in or out w.r.t. to body
Commonly used for:
 handling at die-casting machines
 assembly operations
 handling machine tools
 spot welding
Advantages:
 can reach all around itself
 rotational axis easy to seal
 relatively easy programming
 rigid enough to handle heavy loads through large working space
 good access into cavities and machine openings
Disadvantages:
 linear axes is hard to seal
 won‟t reach around obstacles
 exposed drives are difficult to cover from dust and liquids
Spherical/Polar Robots
A robot with 1 prismatic joint and 2 rotary joints – the axes consistent with a polar
coordinate system.
Commonly used for:
• handling at die casting or fettling
machines
• handling machine tools
• arc/spot welding
Advantages:
 large working envelope.
 two rotary drives are easily sealed against liquids/dust.
Disadvantages:
 complex coordinates more difficult to visualize, control, and program.
 exposed linear drive.
 low accuracy
Joint-arm Configuration
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 50
 The jointed-arm is a combination of cylindrical and articulated configurations.
 The arm of the robot is connected to the base with a twisting joint.
 The links in the arm are connected by rotary joints. Many commercially
available robots have this configuration.
Advantages and Disadvantages of 4 Robot Types
Configuration Advantages Disadvantages
Cartesian
coordinates
3 linear axes, easy to visualize,
rigid structure, easy to program
Can only reach front of itself,
requires large floor space, axes
hard to seal
Cylindrical
coordinates
2 linear axes +1 rotating, can
reach all around itself, reach and
height axes rigid, rotational axis
easy to seal
Can‟t reach above itself, base
rotation axis as less rigid, linear
axes is hard to seal, won‟t reach
around obstacles
Spherical
coordinates
1 linear + 2 rotating axes, long
horizontal reach
Can‟t reach around obstacles,
short vertical reach
Joined-arm
Revolute
coordinates
3 rotating axes can reach above or
below obstacles, largest work area
for least floor space
Difficult to program off-line, 2
or 4 ways to reach a point, most
complex manipulator
Basic Motion Systems
Six degrees of freedom
 It provides the robot the capability to move and perform predetermined task
 These six degrees of freedom are intended to follow the versatility of
movement possessed by the human arm
 The six basic motions consists of three arm and body motions and three wrist
motions
Arm and body motions
1. Rotational transverse : Rotation about the vertical axis (right or left swivel of
the robot arm )
2. Vertical transverse : Up and down motions of the arm , caused by pivoting the
entire arm about a horizontal axis or moving the arm about vertical slide.
3. Radial transverse : extension and retraction of the arm (in and out movement)
Wrist motions
4. Wrist swivel : Rotation of the wrist
5. Wrist bent : Up and down movement of the wrist , which also involves a
rotational movement
6. Wrist yaw : swivel of the wrist
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 51
ROBOT MOTION SYSTEMS
Classification Based on Control Systems:
1. Point-to-point (PTP) control robot
2. Continuous-path (CP) control robot
Point to Point Control Robot (PTP):
 The PTP robot is capable of moving from one point to another point.
 The locations are recorded in the control memory. PTP robots do not control
the path to get from one point to the next point.
 Common applications include:
 component insertion
 spot welding
 hole drilling
 machine loading and unloading
 assembly operations
Continuous-Path Control Robot (CP):
 The CP robot is capable of performing movements along the controlled path.
 All the points along the path must be stored explicitly in the robot's control
memory.
 Straight-line motion is the simplest example for this type of robot.
 Some continuous-path controlled robots also have the capability to follow a
smooth curve path that has been defined by the programmer.
 In such cases the programmer manually moves the robot arm through the
desired path and the controller unit stores a large number of individual point
locations along the path in memory
Typical applications include:
spray painting
finishing
gluing
arc welding operations
Programming with Robot
1. Manual method
2. Walkthrough method
3. Leadthrough method
4. Off- line programming
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 52
Manual method
 It is more like setting machine rather than programming
 It involves setting mechanical stops, cams, switches, or relays in the robot‟s
control unit
 Used for short work cycles (e.g. pick-and-place operations )
Walkthrough Method
 In this programmer manually moves robots arm and hand through the
sequence of the work cycles.
 Each movement is recorded into memory for subsequent playback during the
production
 Speed is controlled independently
 Appropriate for spray painting, arc welding robots
Leadthrough Method
 Uses teach pendent to power drive the robot through its motion sequence
 Teach pendent is device, consists of switches and dials to control the robot‟s
physical movements
 Each motion is recorded into memory for future playback during the
workcycle
 Popular because of its ease and convenience
Off-line Programming
 It involves the preparation of robot program off-line , in a manner similar to
NC part programming
 It is accomplished on computer terminal
 After preparation it is entered into the memory of the computer for use during
the work cycle.
 The advantage is that production time of robot is not lost to delays in teaching
the robot a new task
Robotic Sensors
 Sensors provide feedback to the control systems and give the robots more
flexibility.
 Sensors such as visual sensors are useful in the building of more accurate and
intelligent robots.
 The sensors can be classified as follows:
Position sensors
• Position sensors are used to monitor the position of joints.
• Information about the position is fed back to the control systems that are used
to determine the accuracy of positioning
Range sensors
 Range sensors measure distances from a reference point to other points of
importance.
 Range sensing is accomplished by means of television cameras or sonar
transmitters and receivers.
Velocity Sensors
 They are used to estimate the speed with which a manipulator is moved.
 The velocity is an important part of the dynamic performance of the
manipulator.
 The DC tachometer is one of the most commonly used devices for feedback of
velocity information.
Proximity Sensors
 They are used to sense and indicate the presence of an object within a
specified distance without any physical contact.
 This helps prevent accidents and damage to the robot.
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 53
 infra red sensors
 acoustic sensors
 touch sensors
 force sensors
 tactile sensors for more accurate data on the position
The Hand of a Robot: End-Effectors
 The end- effecter (commonly known as robot hand) mounted on the wrist
enables the robot to perform specified tasks.
 Various types of end-effectors are designed for the same robot to make it more
flexible and versatile.
 End-effectors are categorized into two major types: grippers and tools.
Grippers
Grippers are generally used to grasp and hold an object and place it at a
desired location.
 mechanical grippers
 vacuum or suction cups
 magnetic grippers
 adhesive grippers
 hooks, scoops, and so forth
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 54
Tools
At times, a robot is required to manipulate a tool to perform an operation on a
workpiece. In such applications the end- effecter is a tool itself
 spot-welding tools
 arc-welding tools
 spray-painting nozzles
 rotating spindles for drilling
 rotating spindles for grinding
Technical features of Robot
1. Work volume
2. Precision of movement
3. Speed movement
4. Weight carrying capacity
5. Types of drive system
Work Volume
o It refers to the space within which the robot can operate
o It is the spatial region within which the end of the robot‟s wrist can be
manipulated
o The work volume is determined by its physical configuration , size, and limits
of its arms and joint manipulations
o E.g. work volume of Cartesian coordinate robot is rectangular, for polar it is
partial sphere etc.
Precision of movements
1. Spatial resolution:
The spatial resolution of a robot is the smallest increment of movement into
which the robot can divide its work volume.
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 55
It depends on the system‟s control resolution and the robot's mechanical
inaccuracies.
2. Accuracy :
Accuracy can be defined as the ability of a robot to position its wrist end at a
desired target point within its reach.
 Accuracy is closely related to spatial resolution , since the robot‟s ability to
reach a particular point in space depends on its ability to divide its joint
movements into small increments
 In terms of control resolution, the accuracy can be defined as one-half of the
control resolution.
 The accuracy of a robot is affected by many factors. For example, when the
arm is fully stretched out, the mechanical inaccuracies tend to be larger
because the loads tend to cause deflection.
3. Repeatability:
 It is the ability of the robot to position the end effector to the previously
positioned location.
 It depends on the stability of the control system and is affected by temperature,
load etc.
Speed of movement
 The speed with which the robot can manipulate the end effector ranges up to a
maximum of about 1.5 m/s
 The speed is determined depends of factors like weight of the object being
moved, the distance moved, and the precision required.
 Heavy objects can not be moved as fast as light objects because of inertia
problem
 Objects must be moved slowly when high positional accuracy is required
Weight carrying capacity
 It covers wide range
 At higher end, there are robots which can lift up to 500 kgs to 1000 kgs.
 At lower end, there are robots which can be used for 0.75 to 1.5 kgs.
Types of drive system
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 56
1. Hydraulic drive
 Provide fast movements
 Preferred for moving heavy parts
 Preferred to be used in explosive environments
 Occupy large space area
 There is a danger of oil leak to the shop floor
2. Electric drive
 Slower movement compare to the hydraulic robots
 Good for small and medium size robots
 Better positioning accuracy and repeatability
 stepper motor drive: open loop control
 DC motor drive: closed loop control
 Cleaner environment
 The most used type of drive in industry
3. Pneumatic drive
 Preferred for smaller robots
 Less expensive than electric or hydraulic robots
 Suitable for relatively less degrees of freedom design
 Suitable for simple pick and place application
 Relatively cheaper
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 57
CHAPTER 9. N. C. MACHINE TOOLS
SYLLABUS
 N. C. system
 Components and procedure
 Coordinate systems, axes
 Part Programming
 Manual Part Programming, Formats
 N. C. Codes
 Computer assisted part programming , Programming Languages
 Part programming for turning, milling and drilling by both methods
 Part Programming with APT
 Basic components of CNC and DNC
Introduction
 Numerical control is a form of programmable automation in which the
processing equipment is controlled by a set of instructions called as program
(which contains numbers, letters, and symbols)
 The numbers, letters, and symbols are coded in an appropriate format to define
a program of instructions for a particular work part or job.
 When the job changes, the program of instructions changed.
 The capability of changing programs makes NC suitable for low and medium
volume production
Basic components of NC
1. Program of Instructions
2. Machine Control Unit
3. Processing Equipment
Basic components of NC
1. Program of Instructions
 The program of instructions is the detailed step by step commands that direct
the processing equipment
 Commands refer to position of spindle w. r. t. worktable on which the part is
fixtured
 More advanced instructions include selection of spindle speeds, cutting tools
etc.
 The common medium used for coding of program is 1- in. wide punched tape.
 Some recently used are punched cards, magnetic tape cassettes and floppy
diskettes
2. Machine Control Unit (MOU)
 MCU consists of the electronics control and hardware that read and interpret
program of instruction and convert it into mechanical actions of the machine
tool or other processing equipment.
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 58
 The elements of machine tool are consists of a tape reader, data buffer, signal
input/output channels, feedback channels and sequence control,
 The tape reader has an electromechanical device used to read and wind the
tape
 The data buffer then interprets the program of instructions and also stores the
instructions in logical blocks of information
 From here signals are sent to through the signal output channels which are
connected to the servomotor and other controls in the machine tools.
 Feedback signals are provided for ensuring proper execution of the given
instructions
 The sequence control coordinates the activities of the other elements of the
control unit
3. Processing Equipment
 It is the component that performs useful work
 The machine tool consists of worktable and spindle to hold tools, motors and
controls necessary to drive them.
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 59
NC Procedure
1. Process planning
2. Part programming
3. Tape preparation
4. Tape verification
5. Production
Process Planning
 The engineering drawing of the workpart must be interpreted in terms of the
manufacturing processes to be used
 It consists of preparation of route sheet
Part Programming
 A part programmer plans for the portions of the job to be accomplished by NC
 The part programmers are responsible for planning the sequence of operations
to be performed by NC
 There are two ways to program for NC
 Manual part programming
 Computer-assisted part programming
Manual part programming
 In this, the machining instructions are prepared on a form called a part
program manuscript
 The manuscript is a listing of the relative cutter/ work piece positions which
must be followed to machine the part.
Computer assisted part programming
 In this , much of the tedious computational work required in manual part
programming is transferred to the computer.
 This is particularly appropriate for complex work piece geometries and jobs
with many machining steps
 It also saves part programming time
Tape Preparation
 A punched tape is prepared from the part programmer‟s NC process plan
 In manual part programming, the punched tape is prepared from the part
program manuscript or a typewriter like device equipped with tape punching
capability
 In Computer assisted part programming, the computer interprets the list of part
programming instructions, performs the necessary calculations to covert this
into detailed set of machine tool commands, and then controls a tape punched
device to prepare tape for specific NC machine
 To check the accuracy of punched tape some methods are used
 Sometimes the tape is checked by running it through a computer program
which plots the various tool movements (or table movements) on paper. In this
major errors can be discovered
 The “Acid Test” of the tape involves trying it on the machine tool to make the
part.
 A foam or plastic material is sometimes used for this purpose.
Production
 This involves ordering the raw workparts, specifying and preparing the tooling
and any special fixturing that may be required.
 The Operator‟s function is to load the workpart in the machine and establish
the starting position of the cutting tool relative to the workpiece.
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 60
 The NC system then takes over and machines the part according to the
instructions on tape.
NC coordinate system
In order to plan positions and movement of cutting tool relative to the workpiece,
a standard system is developed to specify relative positions.
NC axis system for milling and drilling
 Two axis, x and y, are defined in the plane of the table.
 z axis is perpendicular to this and movement in the z axis is controlled by the
vertical motion of the spindle.
 Three rotational axis defined in NC : the a, b and c axes. These axis specify
angles about x, y and z axis respectively
 To distinguish positive motion from negative motions, the right hand rule can
be used.
 Using the right hand with the thumb pointed in the positive linear direction (x,
y or z), the fingers of the right hand are curled to point in the positive
rotational direction.
NC axis system for Turing
 For turning operation, two axis are normally required to command the
movement of the tool relative to the rotating workpiece.
 The z-axis is the axis of rotation of the work part, and x-axis defines the radial
location of the cutting tool.
Fixed zero and floating zero
 The programmer must define the position of the tool relative to the origin
(zero) point of the coordinate system.
 There are two method for specifying zero point
1. Fixed point zero
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 61
2. Floating zero
Fixed zero
 In this the origin is always located at the same position on the machine table.
 Usually, that position is the southwest (lower left hand corner) of the table and
all tool locations will be defined by positive x and y coordinates.
Floating zero
 In this machine operator can set zero point at any point on the machine table.
 The part programmer decides the zero point.
 The decision based on the part programming convenience
 e.g. in case of symmetric part the zero point can be located at the centre of the
symmetry.
 The position of the zero point is communicated to the machine operator.
 At the start the operator moves the under manual control to some “Target
point” on the table.
 When the tool has been positioned to the target point, the machine operator
pressed a “zero” button on the machine tool
Absolute and incremental positioning
 Absolute positioning means that the tool locations are always defined in
relation to the zero point.
 Incremental positioning means that the next tool location must be defined with
reference to the previous tool location.
Absolute and incremental positioning
NC Systems
There are three types of motion control used in Numerical control
1. Point to point
2. Straight cut
3. Contouring
Point to point NC
 Point to point (PTP) is also called a positioning system.
 In PTP, the objective of the machine control unit is to move the cutting tool to
a predefined location
 The speed or path by which this movements is accomplished is not important
in point to point NC
 Once the tool reaches the desired location , the machining operation is
performed at that position
 Example of this system is NC drill press.
 Positioning system are the simplest machine tool control systems.
 This system is least expensive of the three types
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 62
Straight-cut NC
 Straight cut control systems are capable of moving the cutting tool parallel to
one of the major axis at a controlled rate suitable for machining
 It is appropriate for performing milling operations on work pieces of
rectangular shape.
 Angular cut would not be possible.
 An NC tool capable of straight cur movements is also capable of point to point
movements
Contouring NC
(Continuous path NC )
 Contouring is most complex, the most flexible and most expensive type of
machine tool control.
 It is capable of performing both PTP and straight cut operations
 In addition, it can control more than one axis movement of the machine tool.
 The path of the cutter is continuously controlled to generate desired geometry
of the machine tool.
 Turing and milling are common examples
 In order to machine a curved path in a NC system the direction of feed rate is
to be changed continuously to follow desired path.
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 63
 This is achieved by breaking the curved path into very short straight line
segments.
Applications
• Milling
• Drilling and related processes
• Boring
• Turning
• Grinding
• Sawing
Other applications
• Press working machine tools
• Welding machines
• Inspection machines
• Automatic drafting
• Assembly machines
• Tube bending
• Flame cutting
• Plasma arc cutting
• Laser beam processes
• Cloth cutting
• Automatic riveting
NC machines are suitable for
1. Parts are processed frequently and in small lot sizes
2. The part geometry is complex
3. Many operations must be performed on the part in its processing
4. Much metal needs to be removed
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 64
5. Engineering design changes are likely
6. Close tolerance must be held on the part
7. It is an expensive part where mistakes in processing would be costly
8. The parts require 100 % inspection.
Advantages of NC over conventional systems:
• Flexibility with accuracy, repeatability, reduced scrap, high production rates,
good quality
• Reduced tooling costs
• Easy machine adjustments
• More operations per setup, reduced leadtime, accommodate design change,
reduced inventory
• Rapid programming and program recall, less paperwork
• Faster prototype production
• Less-skilled operator , multi-work possible
• Reduced fixturing
Limitations of NC
• Relatively high initial cost of equipment
• Need for part programming
• Special maintenance requirements
• More costly breakdowns
• Finding and/or training NC personnel
The Punched tape in NC
• The part program is converted into a sequence of machine tool actions by
means of the input medium, which contains the program, the controller unit,
which interprets the input medium.
• The controller unit and input medium which must be compatible.
• Input medium uses symbols which represent part program and the controller
unit must be capable of reading it.
• The most common input medium is Punched Tape
• The punched tape used in NC is 1 inch wide.
• The tape has eight tracks or coding channels and a column of smaller holes for
feeding the tape.
• The coding of tape is provided by either the present or absence of a hole in
various positions
• This system of coding is called as binary system
• The NC tape coding system is used to code not only numbers, but also
alphabetical letters and other symbols
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 65
• There are two methods for preparing punched tape
• The first method associated with manual part programming and involves the
use of typewriter like device.
• The operator writes directly from the part programmer‟s hand written list of
coded instructions.
• This produces a typed copy of the program as well as the punched tape.
• The second method used with Computer assisted part programming.
• By this approach, the tape is prepared directly by the computer using a device
called a tape punch.
• During production, the tape id fed through the tape reader once for each
workpiece.
• It is advanced through the tape reader one instruction at a time.
• While the machine tool is performing one instruction, the next instruction is
being read into the controller unit‟s data buffer.
• After last instruction has been read into the controller, the tape is rewound
back to the start of the program to ready for next workpart.
How instructions are formed?
• A binary digit is called as bit.
• It has value of 0 or 1 depending on the absence or presence of hole in a certain
row or column position on the tape (columns of hole positions run lengthwise
along the tape. Row positions run across the tape.)
• Out of row of bits, a character is made
• A character is a combination of bits, which represent a letter, number or other
symbol
• A word is a collection of characters to form part of an instruction. Examples
of NC words are x position, y position, cutting speed and so on.
• Out of collection of words, a block is formed.
• A block of words is a complete NC instruction
• E.g. in NC drilling a block might contain information on the x and y
coordinates of the hole location, the speed and feed at which the cut should be
taken.
• To separate a block , an end-of block (EOB) symbol is used.
• The tape reader feeds the data from the tape into the buffer in blocks
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 66
• That is, it reads in a complete instruction at a time
NC words
Following are the different types of words in formation of block. Not every NC
uses all the words
• Sequence number (n-words): This is used to identify the block
• Preparatory words (g-words): This word is used to prepare the controller for
instructions that are to follow e.g. g02 is used for circular interpolation along
an arc in the clockwise direction . The preparatory words are needed so that
the controller can correctly interpret that follow it in the block
• Coordinates (x-, y-, and z-words): This give the coordinate positions of the
tool. In two axis system o9nly two of the words would be used. In four or five
axis, additional a-words and/or b-words would specify the angular positions
• Feed rate (f-words) : this specifies the feed in the machining operation
• Cutting speed (s-words) : This specifies the cutting speed of the process, the
rate at which the spindle rotates.
• Tool selection (t-word) : This control would needed only for machines with a
tool turret or automatic tool changer. The t-word specifies which tool is to be
used in the operation.
• Miscellaneous words (m-words): The m-word is used to specify certain
miscellaneous or auxiliary functions which may be available on machine tool
• E.g. m03 used to start spindle rotation. This word is last in the block.
Programming Formats
• Fixed block format
• Tab sequential format
• Word address format
Fixed block format
• In this number of characters in every block is the same
• The words in each block must follow a fixed sequence e.g. sequence number
followed by x dimension, followed by y dimension, followed by end of block
statement
• In case of floating zero coordinate system, every coordinate value must be
preceded by its sign.
• This is not necessary in case of fixed zero coordinate system.
Tab sequential format
• The tab character is used to separate the words in a block
• The words follow the fixed sequence as like fixed block format
• In this repeated words (dimension) need not be punched and may be passed
over by pressing the tab character.
Word address format
• The words in block need not follow fixed sequence, as each displacement
information is preceded by an identifying word (X or Y) which acts as the
address
• In this the X and Y characters must be punched
• This makes program longer at the same time offers greater flexibility to the
programmer.
MECHANICAL ENGINEERING CAD/CAM/CAE
MIT (T) Page 67
Program: Point to Point
1. Drilling a hole Φ6 at point 1.
2. Drilling a hole Φ6 at point 2, and
3. Making a threaded hole M12 at point 3;machining hole M12 involves drilling
a hole Φ10.3 and then tapping (Taps are come in two sets)
• The machine tool format is
N3.G2.X 3.3. Y 3.3. M2.EOB
• In this format. represents tab-sequential format
Additional features to be considered:
• Machine tool has provision for absolute as well as incremental dimensioning,
i/p of dimensions in mm or inch, and PTP and continuous path controls,
• The machine has full range zero shift
• The machine zero is shifted to the setup point, which is the lower left corner of
the part
• The machine control unit has provision for suppressing trailing zeros
• To avoid trouble in loading and unloading of the workpiece and tool changing
must be positioned at point 4 (X=100, Y = 100) during these operations
Coordinates of programmed points
Point X Y
On
drawing
On tape
On
drawing
On tape
1 5 005 5 005
2 5 005 45 045
3 55 055 25 025
4 100 1 100 1
Program
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes
CADCAM CAE Notes

Mais conteúdo relacionado

Mais procurados

Intro to CAD/CAM/CIM
Intro to CAD/CAM/CIMIntro to CAD/CAM/CIM
Intro to CAD/CAM/CIM
Abhay Gore
 
INTRODUCTION TO CAD,WORKSTATION & DESIGN PROCESS
INTRODUCTION TO CAD,WORKSTATION & DESIGN PROCESSINTRODUCTION TO CAD,WORKSTATION & DESIGN PROCESS
INTRODUCTION TO CAD,WORKSTATION & DESIGN PROCESS
Abhilash kk
 

Mais procurados (20)

CNC part programming
CNC part programmingCNC part programming
CNC part programming
 
Intro to CAD/CAM/CIM
Intro to CAD/CAM/CIMIntro to CAD/CAM/CIM
Intro to CAD/CAM/CIM
 
Unit 2.1 cim
Unit 2.1 cimUnit 2.1 cim
Unit 2.1 cim
 
CAD AND CAM PPT.pptx
CAD AND CAM PPT.pptxCAD AND CAM PPT.pptx
CAD AND CAM PPT.pptx
 
Machinability data syste
Machinability data systeMachinability data syste
Machinability data syste
 
Unit 1-ME8691 & COMPUTER AIDED DESIGN AND MANUFACTURING
Unit 1-ME8691 & COMPUTER AIDED DESIGN AND    MANUFACTURINGUnit 1-ME8691 & COMPUTER AIDED DESIGN AND    MANUFACTURING
Unit 1-ME8691 & COMPUTER AIDED DESIGN AND MANUFACTURING
 
Computer Integrated Manufacturing System
Computer Integrated Manufacturing SystemComputer Integrated Manufacturing System
Computer Integrated Manufacturing System
 
Introduction of computer aided manufacturing.pptx
Introduction of computer aided manufacturing.pptxIntroduction of computer aided manufacturing.pptx
Introduction of computer aided manufacturing.pptx
 
CAD CAM CAE
CAD CAM CAECAD CAM CAE
CAD CAM CAE
 
COMPUTER AIDED PROCESS PLANNING (CAPP)
COMPUTER AIDED PROCESS PLANNING (CAPP)COMPUTER AIDED PROCESS PLANNING (CAPP)
COMPUTER AIDED PROCESS PLANNING (CAPP)
 
Computer Aided Quality
Computer Aided QualityComputer Aided Quality
Computer Aided Quality
 
Chapter 1 fundamentals of cam
Chapter 1 fundamentals of camChapter 1 fundamentals of cam
Chapter 1 fundamentals of cam
 
Computer Aided Process Planning (CAPP)
Computer Aided Process Planning (CAPP)Computer Aided Process Planning (CAPP)
Computer Aided Process Planning (CAPP)
 
COORDINATE MEASURING MACHINE
COORDINATE MEASURING MACHINECOORDINATE MEASURING MACHINE
COORDINATE MEASURING MACHINE
 
Cad
CadCad
Cad
 
CAD/CAM -PPT UNIT NO-I
CAD/CAM -PPT UNIT NO-ICAD/CAM -PPT UNIT NO-I
CAD/CAM -PPT UNIT NO-I
 
CIM
CIMCIM
CIM
 
Cmm 3
Cmm 3Cmm 3
Cmm 3
 
INTRODUCTION TO CAD,WORKSTATION & DESIGN PROCESS
INTRODUCTION TO CAD,WORKSTATION & DESIGN PROCESSINTRODUCTION TO CAD,WORKSTATION & DESIGN PROCESS
INTRODUCTION TO CAD,WORKSTATION & DESIGN PROCESS
 
CAD - Unit-1 (Fundamentals of Computer Graphics)
CAD - Unit-1 (Fundamentals of Computer Graphics)CAD - Unit-1 (Fundamentals of Computer Graphics)
CAD - Unit-1 (Fundamentals of Computer Graphics)
 

Semelhante a CADCAM CAE Notes

Chapter 7 automation techniques
Chapter 7  automation techniquesChapter 7  automation techniques
Chapter 7 automation techniques
Mohamad Sahiedan
 
CIM- 1-120000000-UNIT-1 INTRODUCTION.ppt
CIM- 1-120000000-UNIT-1 INTRODUCTION.pptCIM- 1-120000000-UNIT-1 INTRODUCTION.ppt
CIM- 1-120000000-UNIT-1 INTRODUCTION.ppt
dharma raja`
 
It'sbeen long time thoda time lagega naho
It'sbeen long time thoda time lagega nahoIt'sbeen long time thoda time lagega naho
It'sbeen long time thoda time lagega naho
shivakrishnaaero
 

Semelhante a CADCAM CAE Notes (20)

Chapter 7 automation techniques
Chapter 7  automation techniquesChapter 7  automation techniques
Chapter 7 automation techniques
 
CIM Unit 1
CIM Unit 1CIM Unit 1
CIM Unit 1
 
Unit 1 cim
Unit 1 cimUnit 1 cim
Unit 1 cim
 
CAD _ UNIT 1.pptx
CAD _ UNIT 1.pptxCAD _ UNIT 1.pptx
CAD _ UNIT 1.pptx
 
CIM unit-1
CIM  unit-1CIM  unit-1
CIM unit-1
 
Computer Aided Design - Unit I Introduction
Computer Aided Design - Unit I IntroductionComputer Aided Design - Unit I Introduction
Computer Aided Design - Unit I Introduction
 
Introduction to CAD-CAM.pdf
Introduction to CAD-CAM.pdfIntroduction to CAD-CAM.pdf
Introduction to CAD-CAM.pdf
 
CIM- 1-120000000-UNIT-1 INTRODUCTION.ppt
CIM- 1-120000000-UNIT-1 INTRODUCTION.pptCIM- 1-120000000-UNIT-1 INTRODUCTION.ppt
CIM- 1-120000000-UNIT-1 INTRODUCTION.ppt
 
CAPP , JIT, FMS
CAPP , JIT, FMSCAPP , JIT, FMS
CAPP , JIT, FMS
 
Introduction to CAD-CAM.pptx
Introduction to CAD-CAM.pptxIntroduction to CAD-CAM.pptx
Introduction to CAD-CAM.pptx
 
CAD-CAM-CIM
CAD-CAM-CIMCAD-CAM-CIM
CAD-CAM-CIM
 
Part 1-Introduction to CAD-CAM-CAE.pptx
Part 1-Introduction to CAD-CAM-CAE.pptxPart 1-Introduction to CAD-CAM-CAE.pptx
Part 1-Introduction to CAD-CAM-CAE.pptx
 
COMPUTER INTEGRATED MANUFACTURING (CIM) IN DIE MANUFACTURING INDUSTRY FOR PRO...
COMPUTER INTEGRATED MANUFACTURING (CIM) IN DIE MANUFACTURING INDUSTRY FOR PRO...COMPUTER INTEGRATED MANUFACTURING (CIM) IN DIE MANUFACTURING INDUSTRY FOR PRO...
COMPUTER INTEGRATED MANUFACTURING (CIM) IN DIE MANUFACTURING INDUSTRY FOR PRO...
 
Introduction to cad/cam
Introduction to cad/camIntroduction to cad/cam
Introduction to cad/cam
 
Presentation_1375882767439
Presentation_1375882767439Presentation_1375882767439
Presentation_1375882767439
 
Presentation_1375882705328
Presentation_1375882705328Presentation_1375882705328
Presentation_1375882705328
 
CIM UNIT 1.ppt
CIM UNIT 1.pptCIM UNIT 1.ppt
CIM UNIT 1.ppt
 
Technology and design (a brief overview)
Technology and design (a brief overview)Technology and design (a brief overview)
Technology and design (a brief overview)
 
Cad cam
Cad camCad cam
Cad cam
 
It'sbeen long time thoda time lagega naho
It'sbeen long time thoda time lagega nahoIt'sbeen long time thoda time lagega naho
It'sbeen long time thoda time lagega naho
 

Último

Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Christo Ananth
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 

Último (20)

Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 

CADCAM CAE Notes

  • 1. CAD/CAM/CAE Asst. Prof. Abhay S. Gore Dept. of Mechanical Engineering, Maharashtra Institute of Technology, Aurangabad
  • 2. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 2 CHAPTER 1. INTRODUCTION Syllabus • Introduction to CAD, CAM, CIM and CAE, • Product cycle, • Mathematical model for product life cycle. Introduction • In today‟s global competition, industries cannot survive unless they introduce new products or existing ones with: – Better quality – Lower cost – Shorter lead time • Computer aided design (CAD) can be defined as the use of computer systems to assist in creation, modification, analysis and optimization • Computer aided machining (CAM) can be defined as the use of computer systems to plan, manage and control a manufacturing plant through either direct or indirect computer interface with the plant‟s production resources. CAM • 3D CAD data can be read by CAM software which takes 3D data & CNC machine parameters as inputs and delivers a tool path that cuts metal as per the part designs. • The tool path so generated can be simulated on the screen to evaluate tool gauging so that the machining run is perfect. Computer Integrated manufacturing • Computer-integrated manufacturing (CIM) is manufacturing supported by computers. It is the total integration of Computer Aided Design / Manufacturing and also other business operations and databases. • Definition: 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. • The CIM concept is that all the operations related to the production function in an integrated computer system to assist, enhance and /or automate the operations. • The computer system is spread throughout the firm , touching all the activities that support manufacturing. • In this integrated computer system, the output of one activity serves as the input to the next activity, through the chain of events that starts with the sales order and finishes with shipment of the product.
  • 3. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 3 Figure 1 Scope of CAD/CAM and CIM Figure 2 Computerized elements of CIM system • Customer orders are initially entered by the company‟s sales force into a computerized order-entry system. The orders contain the specifications describing the product. • The specifications serves as input to the design • New products are designed on a CAD system. The components that comprise product are designed, the BOM is complied, and assembly dwgs. are prepared. • The output of design serves as input to mfg. engg, where process planning, tool design and similar activities are accomplished to prepare for production • The output of mfg. engg. Provides input to the PPC, where MRP and scheduling is performed Computer-Aided Engineering
  • 4. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 4 • Computer-aided Engineering analysis (often referred to as CAE) is the application of computer software in engineering to analyze the robustness and performance of components and assemblies. • It encompasses simulation, validation and optimization of products and manufacturing tools. • Parts and assemblies designed in CAD software can be „analyzed‟ for their field performances right on the computer screen. • Most of the olden-day destructive testing methods have found mathematical replacements in the modern-day CAE software. • CAE software delivers results that help analyzing designs. • Analysis tools are available for • static stress-strain, • deflection, • thermal, • flow, • motion, • vibration • This allows designers to “design-right-the-first-time”. • Use of computer systems to analyze CAD geometry • Allows designer to simulate and study how the product will behave, allowing for optimization • Finite-element method (FEM) • Divides model into interconnected elements • Solves continuous field problems Ranges of CAE • Kinematics Analysis: to determine motion paths and linkage velocities in mechanism. Pro/E • Finite Element Analysis (FEA): Solid Mechanics analysis (stress/strain), Heat Transfer, Flow, and other continuous fields. Pro/Mechanica, ANSYS, CATIA, NASTRAN • Computational Fluid Dynamics (CFD): Fluid Simulation. Fluent, Phoenix, CFX Product Cycle (Design and Manufacturing ) Figure 3 Product Cycle (Design and Manufacturing)
  • 5. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 5 • Driven by customers and markets which demand the product • In some cases design functions are performed by the customer and the product is manufactured by a different firm. • In other cases , design and manufacturing is accomplished by the same firm 1. The product cycle begins with a concept, an idea of a product. 2. This concept refined, analyzed, improved and translated into a plan for the product through the design engineering process. 3. The plan is documented by drafting a set of engineering drawings showing how the product is made and providing a set of specifications indicating how the product should perform 4. A process plan is formulated which specifies sequence of production operations required to make the product. 5. New equipment and tools sometimes be acquired to produce the new product. 6. Scheduling provides a plan that commits the company to manufacture of certain quantities of the product by certain dates. 7. Once all these plans are formulated product goes into production. 8. It is followed by quality testing and delivery to the customer. Product Cycle revised with CAD/CAM overlaid Figure 4 Product Cycle revised with CAD/CAM overlaid  Computer aided design and computer automated drafting are utilized in conceptualization, design and documentation of the product.  Computers are used in process planning and scheduling to perform these functions more efficiently.  Computers are used in production to monitor and control the manufacturing operations.  In quality control , computer are used to perform inspections and performance tests on the product and its components Mathematical Model for product life cycle • Let T1 be the time required to produce 1 unit of product. – This includes sum of individual process times plus time to assemble, inspect and package a single product.
  • 6. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 6 • T2 be time associated with planning and setting for each batch of production – This include the ordering of raw materials by purchasing department, time required in production planning to schedule the batch, setup times for each operation etc. • T3 be the time required for designing the product and for all other activities that are accomplished once for each different product. – These include process planning, cost estimating and pricing, building of special tools and fixtures. • B be the number of batches produced throughout the product life cycle. • Q be the number of units produced in each batch. • The aggregate time spent on the product throughout its life cycle can be The average time spent on each unit of product during its life cycle. • In mass and batch production the T2 and T3 terms can be spread over a large number of units. • Their relative values ,therefore becomes less important as the production quantities increase. The T1 term becomes most important term. • In job shop manufacturing , the T2 and T3 terms can become significant because the quantities are so low. Relationship between CAD/CAM & Automation • The goal of CAD/CAM and automation is to reduce the various time elements in product life cycle. • With this there is increase in productivity and improve in standard of living. • The automation technology is concerned with reducing the T1 and T2 elements, with emphasize on the unit production cost (T1). • The CAD/CAM technology is concerned with all the three terms but is perhaps focused on the T3 and T2 terms in the life cycle model. • CAD/CAM has made important contribution towards integrating the functions of design and manufacturing.
  • 7. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 7 CHAPTER 2. FUNDAMENTALS OF CAD Syllabus  The basic design Process and computer  The manufacturing database  Benefits of CAD  Principles of Concurrent Engineering The DesignProcess  Recognition of need involves the realization by someone that a problem exists for which some corrective action should be taken e.g. defect in current machine design  Definition of problem involves a through specifications of the item to be designed. This specifications includes physical and fundamental characteristics, cost, quality and operating performance.  Synthesis and analysis are closely related and highly iterative in design process  This iterative process is repeated until the design has been optimized within the constrained imposed on the designer  The philosophy, functionality and uniqueness are all determined during synthesis.  The major financial commitments to turn conceived product into reality are made during synthesis.  Information generated during synthesis phase is qualitative and hard to capture by computer system.  The end goal of synthesis is a conceptual design  Evaluation is concerned with measuring the design against the specifications established in problem definition phase.  This evaluation often requires fabrication and testing of a prototype model to assess performance, quality, reliability and other criteria.  Presentation includes documentation of design by means of drawing , material specifications, assembly list and so on. The Application of computer for Design
  • 8. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 8  Geometric modeling corresponds to the synthesis phase in which physical design project takes form on the ICG system  Engineering analysis corresponds to phase 4 , dealing with analysis and optimization  Design review and evaluation is the fifth step in the general design procedure  Automated drafting involves a procedure for converting the design image data residing in computer memory into a hard copy document. Geometric Modeling  It is concerned with the computer compatible mathematical description of the geometry of the object.  To use geometric modeling, the designer constructs the graphical image of the object on the CRT screen of the ICG system by inputting three types of commands 1. The first type of command generates basic geometric elements such as points, lines and circles. 2. The second command type is used to accomplish scaling, rotation and other transformations of these elements. 3. The third type of demand causes the various elements to be joined into the desired shape of the object being created on the ICG system.  During this process , the computer converts the commands into a mathematical model, stores it in the computer data files, and displays it as an image on CRT screen.  The model can be called from the data files for review, analysis, or alteration.  There are several different methods of representing the object in geometric modeling.  The basic form uses wire frames to represent the object. In this form the object is displayed by interconnecting lines. Wire frame modeling is classified into three types 1. 2D. Two dimensional representation is used for a flat object
  • 9. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 9 2. 2 ½ D. In this a three dimensional object to be represented as long as it has no side wall details. 3. 3D. This allows for full three dimensional modeling of a more complex geometry Figure 5 Wire-frame drawing of a part  Even three dimensional wire frame representations of an object are inadequate for complicated drawings  Wire frame models can be enhanced by several methods 1. First uses dashed lines to show the rear edges of the object, those which would be invisible from front 2. It removes the hidden lines completely, thus providing a less cluttered picture of the object for the viewer. Wire-frame drawing Figure 6 Dashed lines to show rear edges of part Hidden line removal 3. By providing surface representation which makes the object appear solid to the viewer. 4. The most advanced method uses solid geometry shapes called primitives to construct the object. 5. Another feature of some CAD system is color graphics capability Solid Modeling
  • 10. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 10 Engineering Analysis  The analysis may involve stress strain calculations, heat transfer computations, or use of dynamic behaviour of the system being designed.  The computer can be used to aid in this analysis work.  Two important examples of this type are: 1. Analysis of mass properties 2. Finite element analysis 1. Analysis of mass properties:  For solid object: surface area , weight , volume, centre of gravity, and moment of inertia.  For a plane surface (or c/s of solid object) the corresponding computations may include the perimeter, area, and inertia properties. 2. Finite element analysis:  With this technique the object is divided into large number of finite elements (usually triangular or rectangular in shapes) which form an interconnecting network of concentrated nodes.  By using a computer with significant computer capabilities, the entire object can be analyzed for stress-strain, heat transfer and other characteristics by calculating the behaviour of each node.  By determining the interrelating behavior of all the nodes in the system, the behavior of the entire object can be assessed Design Review and Analysis  Semi automatic dimensioning and tolerancing routines which assign size specifications to surfaces indicated by the user help to reduce the possibility of the dimensioning errors.  The designer can zoom in on part design details and magnify the image on graphics screen for close scrutiny  A procedure called layering is often helpful in design review. E.g. a good application of layering involves overlaying the geometric image of the final shape of the machined part on the top of the image if the rough casting.  This ensures that sufficient material is available on the casting to accomplish the final machined dimensions.  Another related procedure for design review is interference checking. This involves the analysis of an assembled structure in which there is a risk that the components of the assembly may occupy the same space.
  • 11. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 11  The risk occurs in the design of large chemical plants, cold boxes, and other complicated piping structures.  One of the feature of CAD systems is kinematics. The available kinematics packages provide the capability to animate the motion of simple designed mechanisms such as hinged components and linkages. Automated Drafting  It involves the creation of hard copy engineering drawings directly from the CAD database.  CAD systems includes features like automatic dimensioning, generation of crosshatched areas, scaling of the drawing, and the capability to develop sectional views and enlarged views of particular part details  Different views like oblique, isometric and perspective views can be of significant assistance in drafting. The manufacturing database from CAD/CAM In the conventional manufacturing cycle practiced for so many years in industry, • Engineering drawings were Prepared by design draftsman and then used by manufacturing engineer to prepare process plan (“Route Sheet”) • The activities involved in the designing the product were separated from the activities associated with process planning. • Essentially a two step procedure was employed. • This was both time consuming and involved duplication of efforts by design and manufacturing personnel • In an integrated CAD/CAM system, a direct link is established between product design and manufacturing.
  • 12. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 12 • It is goal of CAD/CAM not only to automate certain design phases of design and certain phases of mfg., but also to automate the transition from design to manufacturing. • Computer- based systems have been developed which create much of the data and documentation required to plan and manage the mfg. operations for the product. • The manufacturing data base is an integrated CAD/CAM data base. • It includes all the data on the product generated during design (geometry data, BOM , material specifications) as well as additional data required for mfg., much of which based on the product design Figure 7 The manufacturing database from CAD/CAM Benefits of CAD • Productivity improvement in Design • Shorter lead times • Reduced engineering personnel requirement • Customer modifications are easier to make • Rapid response of the design analysis • Improved accuracy of design • Avoidance of subcontracting to meet schedules • Provide better functional analysis to reduce prototype testing • Avoidance of subcontracting to meet schedules • Assistance in preparation of documentation • Minimized transcription errors • Designs have more standardization • Fewer errors in NC part programming • Better communication interfaces and greater understanding among engineers, designers, drafters, management and different project groups. Principles of Concurrent Engineering Definition • It is a methodology of restructuring the product development activity in an organization using a cross functional team and is a technique adopted to improve efficiency of the product design and reduce product cycle time. • Concurrent engineering brings together a wide spectrum of people from several functional areas in the design and mfr. of a product.
  • 13. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 13 • Representatives from R&D, engineering, manufacturing, materials management, quality assurance marketing etc develop the product as a team. Traditional Process of Serial Engineering • Functions Separated • Functions Serially Executed • No Interaction • Maintenance Usually an Afterthought • Time Consuming • Costly Figure 8 Serial Engineering Costs involved in Design changes Figure 9 Costs involved in Design changes Concurrent vs. Serial Engineering • All Viewpoints Solicited • Interdisciplinary Teams • Life Cycle Cost Considered • Attempt to represent Concept Early - Before Committing to Detail Design • Data/Information/Knowledge Exchange Planned and Encouraged • Cycle Time and Cost Reduced
  • 14. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 14 Figure 10 A Concurrent Engineering Model
  • 15. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 15 CHAPTER 3. HARDWARE REQUIREMENTS OF CAD Syllabus  Hardware configuration of a CAD system  Display devices like raster scan devices, plasma panels, liquid crystal displays.  Types of images like halftone, grayscale, colour  Memory requirements for raster scan graphics terminal  Concept of pointing and positioning. DesignWorkstation CAD system would include the following hardware components  One or more workstations. These would consist of  A graphics terminal  Operator input devices  One or more plotters and other output devices  Central Processing unit (CPU)  Secondary storage Figure 11 Configuration of CAD Workstation The Design workstation Functions of CAD workstation 1. It must interface with the central processing unit 2. It must generate a steady graphic image for the user 3. It must provide digital descriptions of the graphics image 4. It must translate computer commands into operating functions 5. It must facilitate communication between the user and the system. The Graphics Terminal • Image generation in computer graphics • Graphics terminals for computer aided design Image generation in computer graphics • All computer graphics terminals available today use the cathode ray tube (CRT) as the display device. The operation of CRT is as follows • A heated cathode emits a high speed electron beam onto a phosphor-coated glass screen. • The electron energize the phosphor coating, causing it to glow at points where the beam makes contact • By focusing the electron beam , changing its intensity , and controlling its point of contact against the phosphor coating through the use of deflector system , the beam can be made to generate picture on the CRT screen
  • 16. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 16 Figure 12 Cathode Ray Tube Image generation in computer graphics • There are two basic techniques used in computer graphics terminal to generating the image on the CRT screen 1. Stroke writing 2. Raster scan Other names for stroke writing technique include line drawing, random position, vector writing and directed beam Other names to raster scan technique include digital TV and scan graphics Stroke Writing • It uses an electron beam which operates like a pencil to create a line image on the CRT screen. • The image is constructed out of straight segments • Each line can be drawn on the screen by directing the beam to move from one point on the screen to the next, where each point is defined by its x and y coordinates. • Although the procedure results in images composed of only straight lines, smooth curves can be approximated by making the connecting line segments short enough. Rasterscan • In this viewing screen is divided into a large number of discrete phosphor picture elements, called pixels. • The number of pixels in the raster display might be range from 256 X 256 (a total of 65,000 points) to 1024 X 1024 (a total of 10,00,000 points) • Each pixel on the screen can be made to glow with a different brightness. • Color screens provide for the pixels to have different colors as well as brightness
  • 17. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 17 Graphics Terminal for CAD 1. Directed-beam refresh 2. Direct-view storage tube (DVST) 3. Raster scan (digital TV) Directed-beam refresh • Utilizes stroke writing approach to generate the image on the screen • The image must be regenerated many times per second to avoid flickering • The phosphor elements on the screen surface are capable of maintaining their brightness only for a short time (sometimes measured in micro seconds) • On densely filled screens it is difficult to avoid flickering of the image • As the image is continuously refreshing, selective erasure and alteration of the image is readily accomplished • It is also possible to provide animation of the image with refresh tube. • Other names are vector refresh and stroke writing refresh Direct-view storage tube (DVST) • This also uses stroke writing approach to generate image on the CRT screen • The term “storage tube” refers to the ability of the screen to retain the image which has been projected against it, thus avoiding the need to rewrite the image constantly • This is possible with the use of an electron flood gun directed at the phosphor coated screen which keeps the phosphor elements illuminated once they have been energized by the stroke writing electron beam. • The resulting image will be flicker free. • In this individual lines cannot be erased selectively • It lacks color capability • These are lowest cost terminals • They are capable of storing large amount of data Raster Scan Terminals • The operation is similar to commercial Television set • The difference is that TV uses analogue signals generated by video camera to construct image on CRT screen, while raster scan ICG terminal uses digital signals generated by computer. • Lowest cost terminals using two beam intensity levels, on or off . This means that each pixel in the viewing screen is either illuminated or dark • A picture tube with 256 lines of resolution and 256 addressable points per line would form the image will require 256 X 256 or over 65,000 bits of storage. • Each bit of memory contains the on/off status of the corresponding pixel on the CRT screen.
  • 18. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 18 • This memory is called as frame buffer or refresh buffer • Picture quality can be improved in two ways: by increasing the pixel intensity and or adding a grey scale (or color). • Increasing picture intensity means adding more lines of resolution and more addressable points par line. • A 1024 X 1024 raster screen would require more than 1 million bits of storage in the frame buffer. • A grey scale is accomplished by expanding the number of intensity levels which can be displayed on each pixel. • This requires additional bits for each pixel to store the intensity level. • Two bits are required for four levels, three bits required for eight levels, and so forth. • Five or six bits required to achieve approximation for continuous achieve an approximation of continuous grey scale • For color display , three times as many bits require to get various intensity levels for each of the three primary colors: red, blue and green. • A raster scan graphics terminal with high resolution and grey scale can require very large capacity refresh buffer. Colour CRT Monitors • Two basic techniques used for producing colour display with a CRT are the 1. Beam penetration method 2. Shadow mask method Beam Penetration Method • It is used with random scan monitors. • Two layers of phosphor, usually red and green, are coated onto the inside of the CRT screen, and the displayed colour depends upon how far the electron beam penetrates into the phosphor layer • A beam of slow electrons excites only the outer red layer. • A beam of fast electrons penetrates through the red layer and excites the inner green layer. • At intermediate speed, combination of red and green light are emitted to show two additional colours, orange and yellow • The speed of electrons, hence the screen colour at any point is controlled by the beam acceleration voltage Delta Delta Shadow Mask Method • These are most widely used because they produce wide variety of range. • A shadow mask CRT has three phosphor dots at each pixel position • One phosphor dot emits a red light, another emits a green and the third emits a blue light. • This type of CRT has three electron guns one for each colour dot, and shadow mask grid just behind the phosphor coated screen • The electron beams are deflected and focused as a group onto the shadow mask, which has series of holes aligned with phosphor dot patterns. • When the three beams pass through a hole in the shadow mask, they activate a dot triangle, which appears as a small colour spot on the screen. • The phosphor dots are arranged so that each electron beam can activate only its corresponding color dot when it passes through the shadow mask.
  • 19. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 19 Comparison of Graphics terminal features Direct Beam storage DVST Raster scan Image Generation Stroke writing Stroke writing Raster scan Picture quality Excellent Excellent Moderate to good Data content Limited High Selective erase Yes No Yes Grey scale Yes No Yes Color capability Moderate No Yes Animation capability Yes No Moderate Flat Panel Displays • The term flat panel display refers to a class of video devices that have reduced volume, weight and power requirements as compared to CRT. • Applications of flat panel displays include small TV monitors, calculators, Pocket video games, laptop computers, an advertising boards etc. Flat panel displays are classified into two types 1. Emissive displays (emitters) • covert electrical energy into light • Plasma panels, thin film electroluminescent displays and light emitting diodes etc. 2. Non emissive displays (or non emitters) • use optical effects to convert sunlight or light from some other source to graphics patterns • Liquid crystal device Plasma Panels • Also called as gas-discharge displays. • Constructed by filling the region between two glass plates with a mixture of gases that usually includes neon • A series of vertical ribbons is placed on one glass panel and a set of horizontal ribbons is built into the another glass panel. • Firing voltage is applied to a pair of horizontal and vertical conductors cause the gas at intersection of the two conductors to break down into a glowing plasma of electrons and ions.
  • 20. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 20 • Picture definition is stored into a refresh buffer, and the firing voltage is applied to refresh the pixel positions (at the intersection of the conductors) 60 times per second. • Alternating current method are used to provide faster application of the firing voltages, and thus brighter images. • The disadvantage is that they are strictly monochromatic devices. Basic design of plasma panel display device Liquid Crystal Displays • LCDs are commonly used in small systems such as calculators and portable laptop computers • These non-emissive devices produce a picture by passing a polarized light from the surroundings or from an internal light source through a liquid crystal material that can be aligned to block or transmit the light. • Liquid crystal refers to that these compounds have a crystalline arrangement of molecules, yet they flow like liquid. • Flat panel display use nematic (threadlike) liquid crystal compounds that tend to keep the long axis of the rod shaped molecules aligned. • Two glass plates , each containing a light polarizer at right angles to other plate, sandwich the liquid crystal material • Rows of transparent conductors are built in one glass plate, and columns of vertical conductors are put into another plate. • The intersection of two conductors defines the pixel position • In “on state” the molecules are aligned as shown. • Polarized light passing through the material is twisted so that it will pass though the opposite polarizer. • The light is then reflected back to the viewer • To turn off the pixel, a voltage is applied to the intersecting conductors to align the molecules so that the light is not twisted. • Picture definition is stored into a refresh buffer, and the firing voltage is applied to refresh the pixel positions (at the intersection of the conductors) 60 times per second. • This type of flat panel device is referred to as a passive matrix LCD • Another method of constructing LCDs is to place a transistor at each pixel location, using thin film transistor technology. • The transistors are used to control voltage at pixel locations and to prevent charge from gradually leaking out of the liquid crystal cells.
  • 21. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 21 • These devices are called as active matrix displays. Concept of pointing and positioning • In conventional user interaction, the user enters data and selects or enters commands through keystrokes made on a keyboard. • In interactive graphics these are supplemented by the activities of: 1. Positioning, or location, generally for the data entry within the program 2. Pointing to, or picking, graphical or other elements on the display screen , for object or command selection. Positioning • The CAD user inputs the positional information for such tasks as the location of the geometry within the model, or for the indication of an image to be magnifies in a zoom or other display control application • Position may be precisely indicated by the entering of the coordinate values. • But where approximate location is satisfactory the position may be given by a positioning device. • The cursor is used to indicate the current screen position to the user. • The movement of the positioning device is normally reflected in the movement of the cursor, and a button on the positioning device or a keyboard keystroke is used to indicate a specific location • Devices used : joystick , mouse, thumbwheels, digitizers Pointing • The most commonly used device is light pen, which could be pointed at illuminated parts of the displays to select lines in the image. • The light pens are rarely used. Halftone
  • 22. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 22 • Continuous tone photographs are reproduced for publications in newspaper, magazines, and books with a printing process called halftoning, and the reproduced pictures are called halftones. • For a black and white photograph, each intensity area is reproduced as a series of black circles on a white background. • The diameter is propositional to the darkness required for that intensity level. • Darker regions are printed with large circles and lighter regions are printed with small circles. • Book and magazine halftones are printed on high quality paper using approximately 60 to 80 circles of varying diameter per centimeter. • Newspaper use lower quality papers and lower resolution (about 20 to 30 dots per centimeter.)
  • 23. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 23 Chapter 4. Software in CAD Computer Graphics Software • The graphic software is the collection of programs written to make it convenient for user to operate the computer graphics system. • It includes programs to generate images on the CRT screen, to manipulate the images, and to accomplish various types interaction between the user and the system. • Some other programs for implementing specialized functions of CAD/CAM are 1. Design analysis programs (FEA & kinematic simulation) 2. Manufacturing planning programs (e.g. automated process planning and numerical control part programming ) Ground rules in Designing Software 1. Simplicity : The graphics software should be easy to use 2. Consistency: The package should operate in a consistent and predictable way to the user 3. Completeness: There should be no inconvenient omissions in the set of graphics function 4. Robustness : The graphics system should be tolerant of minor instances of misuse by the operator 5. Performance: Within limitations imposed by the system hardware, the performance should be exploited as much as possible by software. Graphics program should be efficient and speed of response should be fast and consistent. 6. Economy: Graphics programs should not be so large or expensive as to make their use prohibitive The software configuration of a graphics system In the operation of the graphics system by the user , a variety of activities take place, which can be divided into three types • Interact with the graphics terminal to create and alter images on the screen • Construct a model of something physical out of the images on the screen. The models are sometimes called as application models • Enter the model into computer memory and/or secondary storage. Graphics software The graphics software can be divided into three modules • The graphics package • The application program • The application data base Application Program
  • 24. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 24 • It controls the storage of data into and retrieves data out of application database • The application program is driven by the user through the graphics package • The application program is implemented by the user to construct the model of a physical entity whose image to be viewed on the graphics screen. • Application programs are written for particular problem areas. • Problem areas in engineering design would include arch, construction, mech. Components, ext, chem, aerospace. • Problem areas other than deign include flight simulators, graphical display of data, mathematical analysis, and even artwork Graphics Package • The graphics package is the software support between the user and the graphics terminal. • It manages the graphical interaction between the user and the system • It also serves as a s/w support between the user and the application software • The graphics package consist of input subroutines and output subroutines • The input subroutine accepts the input commands and data from the user and forward them to the application program • The output subroutines control the display terminal (or other output device) and converts the application models into 2D or 3D graphics pictures. Application data base • The database contains mathematical, numerical and logical definitions of the application models, such as electronic ckts, mechanical components, automobile bodies, and so forth. • It also contains alphanumeric information associated with the models, such as BOM, mass properties and other data. • The contents of the data base can be readily displayed on the CRT or plotted out in hard copy form. Functions of a Graphics package • Generation of graphics elements • Transformations • Display control and windowing function • Segmenting functions • User input functions Generation of graphics elements • A graphic element in computer graphics is a basic image entity such as a dot (or point), line segment, circle, and so forth • The collection of elements in the system could also include alphanumeric characters and special symbols • There is often a special hardware component in the graphics system associated with the display of many of the elements. • This speeds up the process of generating the element • The user can construct the application model out of collection of elements • The term primitive is used in reference to the graphics element • E.g. sphere, cube, or cylinder • In 3D wire frame models and solid modelling, primitives are used as building blocks. Transformations • Transformations are used to change the image on the display screen • Transformations are applied to graphics elements in order to aid the user in constructing an application model
  • 25. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 25 • It includes enlargement and reduction of the image by a process called scaling, repositioning the image or translation, and rotation. Display control and windowing • This provides the user with the ability to view the image from the desired angle and at the desired magnification • Another aspect of display control is hidden line removal. Segmenting function • Segmenting provides user with the capability to selectively replace, delete or otherwise modify portions of the image. • The term segment refers to a particular portion of the image which has been identified for the purpose of modifying it. • Storage type CRT is unsuited to segmenting function. User input output functions • User input functions constitute a critical set of functions in the graphics package because they permit the operator to enter commands or data to the system. • The entry is accomplished by means of operator input devices. Constructing the geometry • The use of graphics elements • Defining the graphics elements • Editing the geometry The use of graphics elements  The graphics system accomplishes the definition of the model by constructing it out of graphics elements  These elements are called by the user during the construction process and added one by one, to create the model  There are several aspects about this construction process. 1. Each new element is being called but before it is added to the model, the user can specify its size, its position and orientation. These specifications are necessary to form the model to proper shape and size For this purpose various transformations are utilized 2. Graphics element can be subtracted as well as added Another way of saying this is that the model can be formed out of negative elements as well as positive elements. 3. A third feature available during model building is the capability to group several elements together into units which are sometimes called cells A cell in this context , refers to a combination of elements which can be called to use anywhere in the model e.g. a bolt is to be used in several places in mechanical assembly Define the graphics elements • The user has variety of ways to call a particular graphic element and position it on the geometric model • Points, lines, arcs , circles can be defined in various ways through interaction with the ICG system
  • 26. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 26 • E.g. point can be defined simply by x, y and z coordinates. A polygon would be defined as an ordered set of points representing the corners of the polygon Editing the geometry • A CAD provides system provides editing capabilities to make corrections and adjustments in the geometric model • When developing the model, the user must be able to delete, move, copy and rotate the components of the model. • The editing involves selecting the particular portion of the model, and executing the appropriate command Editing features in CAD 1. Move an item. This involves the translation of item from one place to another 2. Duplication an item at another location. The copy function is similar to move function except it preserves a copy of an item at its original location 3. Rotate an object. This is the rotation transformation, in which the item is rotated through specified angle from its original orientation 4. Mirror an item. This crates a mirror image of an item about a specified plane. 5. Delete an item. This causes selected segment of the model to be removed from the screen and from the database. 6. Trim an line or other component 7. Scale an item  The method of selecting the segment of the model varies from system to system 1. With cursor control common method is for a rectangle to be formed on the CRT screen around the model segment. The rectangle is defines by entering the upper left and lower right corners of the rectangle 2. It involves light pen to be placed over the component t be selected  The computer must some how show indicate to the user which portion of the model has been selected  This includes placing mark on the segment, making segment brighter than the rest of the image, and making the segment blink Transformations • 2-D Transformations • 3-D Transformations Two-dimensional Transformations • To locate a point in a two-axis Cartesian system, the x and y coordinates are specified. • These coordinate can be treated together as a 1 x 2 matrix : (x, y), e.g. the matrix (1,4) would be interpreted to be point which is 1 unit from the origin in the x-direction and 4 units from the origin in the y-direction. • This method of representation can be extended further to define a line as a 2 x 2 matrix by giving x and y coordinates of the two end points of the line. The notation would be, Translation • Translation involves moving the element from one location to another x‟= x + m, y‟ = y + n Where,
  • 27. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 27 x‟, y‟ = coordinates of the translated point x, y = coordinates of the original point m, n= movements in the x and y direction In the matrix notation this can be represented as, (x‟, y‟) = (x, y) + T Where, T = (m, n), the transformation matrix • Scaling Scaling of an element is used to enlarge it or reduce its size. The scaling need not necessarily be done equally in x and y directions. e.g. a circle can be transformed into ellipse by using unequal x and y scaling factors. The points of an element can be scaled by scaling factor as follows: (x‟, y‟) = (x, y )S Where • This would produce an alternation in the size of the element by the factor m in the x-direction and by the factor n in the y direction • It also repositions the element • If the scaling factor is <1 , it is moved closer to origin • If the scaling factor is >1 , it is moved farther from the origin Rotation In this transformation, the points of an object are rotated about the origin by an angle θ For a positive angle, this rotation is in the counter clockwise direction This accomplishes rotation of the object by the same angle, but it also moves the object. In matrix notation the procedure will be as follows: (x‟, y‟) = (x, y) R Where Example : Translation Consider the line defined by, Suppose the line to be translate in space by 2 units in x direction and 3 units in the y direction.
  • 28. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 28 Example : Scaling • Apply scaling factor of 2 to the line The new line will be, Example : Rotation Rotate the line about origin by 30° The new line would be defined as: • The new line will be,
  • 29. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 29 3 Dimensional Transformation • Transformations by matrix methods can be extended to three dimensional space. Translation • The translation matrix for a point defined in three dimensional matrix would be, T = (m, n, p) And would be applied by adding increments m, n and p to the respective coordinates of each of the points defining the three-dimensional geometry elements Scaling The scaling transformation is given by, For equal values of m, n and p, the scaling is linear Rotation • Rotation in three dimensions can be defined for each of the axes • Rotation about z axis by angle θ is accomplished by the matrix • Rotation about y axis by angle θ is accomplished by the matrix  Rotation about x axis by angle θ is accomplished by the matrix Concatenation
  • 30. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 30 • Single transformations can be combined as a sequence of transformations. This is called as concatenation, and the combined transformations are called concatenated transformations. • During editing process when a graphics model is being developed , the use of concatenated transformation is quite common • More than one transformations are usually requires to accomplish the desired transformation e.g. 1. Rotation of the element about an arbitrary point the element 2. Magnifying the element but maintaining the location of one of its points in the same location • In the first case transformations would be: translation to the origin, then rotation about the origin, then translation back to original location • In the second case , the element would be scaled (magnified) followed by a translation to locate the desired point as needed • The objective of the concatenation is to accomplish a series of image manipulations as a single transformation • The concatenation is the product of the two transformation matrix • It is important that order of matrix multiplication be the same as the order in which the transformations are to be carried out. Example : Concatenation • A point to be scaled by a factor of 2 and rotated by 45°. Suppose point under consideration was (3, 1) . This may be one of the several points defining a geometric element • First accomplish the transformations sequentially, First consider the scaling, (x‟, y ‟) = (x, y)S Next rotation can be performed (x”, y”) = ( x‟, y‟) R The same result can be accomplished by concatenating the two transformation matrices, The product of the two matrices would be Now applying this concatenated transformation to the original matrix
  • 31. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 31 Examples • A line is defined in 2 D space by its end points (1,2) and (6,4). Express this in matrix notation and perform the following transformation in succession on this line 1. Rotate the line by 90° about the origin 2. Scale the line by a factor of 0.5 (Dec/Jan 04/05, 8 Marks) • A square of side 30 units has its coordinates A(10,10), B(40,10), C(40,40) and D(10,40), Perform the following transformation in succession and show it on graph paper 1. Rotate about origin 20° anticlockwise 2. Scale it by factor 1.5 3. Perform the above sequence of transformation by concatenation (May/June 04, 18 Marks) Homogeneous representation • In order to concatenate the transformations matrices, all transformation matrices should be multiplicative type. • However, the translation matrix is vector additive while all other are matrix multiplications. • It is desirable , to express all geometric transformations in form that ,they can be concatenated by matrix multiplication only. • In homogeneous representation, an n-dimensional space is mapped into (n+1) dimensional space. • Thus a 2 dimensional point [x, y] is represented with the homogeneous coordinate triple (xh,yh,h) Where, • Thus , a general homogeneous coordinates can also be written as (h.x, h.y, h). • For two-dimensional geometric transformations, homogeneous parameter h to be any nonzero value. • Thus , there is an infinite number of equivalent homogeneous representations for each coordinate point (x, y) • A convenient choice is simply to set h=1. • Each two-dimensional position is then represented with coordinates (x, y, 1) • This facilitates the computer graphics operations where the concatenation of multiple transformations can be easily carried out. • The translation matrix in multiplication form can be given as, The transformation operation can be written as
  • 32. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 32 • The scaling matrix in multiplication form can be given as, The transformation operation can be written as The rotation matrix in multiplication form can be given as, The transformation operation can be written as Problem (Nov/Dec 2004) A square ABCD of side 50 units having one of its vertex at A(10,10) is to be scaled by 0.8 along x axis and 1.2 along y-axis. The model is then rotated about origin by 30° in anticlockwise direction. Perform the necessary transformations using homogeneous transformation matrix and show them on graph paper.
  • 33. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 33 CHAPTER 6. 3-D Modelling Syllabus  Preparing an application model by Boolean operations  Primitive instancing  Boundary representations  CSG (Constructive Solid Geometry )  Wire frame modeling and solid modeling  Sweep representations  Cell decomposition Boolean operations • Boolean operations are used to make more complicated shapes by combining simpler shapes • 3 types of operations are possible: 1. union („U‟) or “join” 2. intersection („∩‟) 3. difference („-‟) or “subtract” Boolean operation on solids. (a) Objects A and B, (b) A U B, (c) A ∩ B, (d) A - B, (e) B - A
  • 34. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 34 Boolean operations applied to a cube and a sphere Primitive Instancing • In primitive instancing modeling approach, primitives are simple 3D solid shapes, which form the base for creating a solid model • These primitives are parameterized by geometric as well as physical properties. • The solid model of any object can be created with different combinations of these primitives. • e.g. one primitive object may be a regular pyramid with a user defined number of faces meeting at the apex. • A parameterized primitive may be thought of as defining family of parts whose members vary in few parameters, an important CAD concept known as group technology. • Primitive instancing is often used for relatively complex objects, such as gears , bolts, that are tedious to define in terms of Boolean combinations of simpler objects. • e.g. A gear may be parameterized by its diameter or no. of teeths. • Primitive instancing is based on the concept of families of objects or parts • All parts having same topology but different dimensions are grouped into family • Each individual part in the family is called a primitive instance. • e.g. a cylinder is represented by diameter(D) and height (h) • Each primitive instancing is defined by specific (D) and (H) • A number of such cylinder primitive instancing creates a family of cylinders • A group of such families can define a solid Boundary representations (B-rep) • Boundary representations or b-reps describe the solid object in terms of its boundaries, that is the vertices, edges and faces. • In this model, face is bounded by edges and each edge is bounded by vertices. • The entities which constitute a B-rep model are: Geometrical Entities Topological entities Point Vertex
  • 35. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 35 Curve, line Edge Surface Face B – Rep Model An Edge-Based Model v1 v2 v3 v4 e1 e2e3 e4 e6 e5 Faces: f1 e1 e4 e5 f2 e2 e6 e4 f3 e3 e5 e6 f4 e3 e2 e1 Edges: e1 v1 v2 e2 v2 v3 e3 v3 v1 e4 v2 v4 e5 v1 v4 e6 v3 v4 Vertices: v1 x1 y1 z1 v2 x2 y2 z2 v3 x3 y3 z3 v4 x4 y4 z4 v5 x5 y5 z5 v6 x6 y6 z6 v1 v2 v3 v4 e1 e2e3 e4 e6 e5 v1 v2 v3 v4 e1 e2e3 e4 e6 e5 Faces: f1 e1 e4 e5 f2 e2 e6 e4 f3 e3 e5 e6 f4 e3 e2 e1 Edges: e1 v1 v2 e2 v2 v3 e3 v3 v1 e4 v2 v4 e5 v1 v4 e6 v3 v4 Vertices: v1 x1 y1 z1 v2 x2 y2 z2 v3 x3 y3 z3 v4 x4 y4 z4 v5 x5 y5 z5 v6 x6 y6 z6
  • 36. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 36 • Though B-rep models is constructed of surfaces of solids, computation of mass and volumetric properties is possible. • The range of models that can be modeled with B-rep technique is very large. • The Boundary representation approach requires the user to draw the outline or boundary of the object on CRT screen using an electronic tablet and pen or analogous procedure. • The user would sketch various views of the object (front, side and top , or more views if needed), drawing interconnecting lines among the views to establish their relationship. • Various transformations and other specialized editing procedure are used to refine the model to the desired shape. • Unusual shapes can be formed with the help of this representation • e.g. aircraft fuselage or wing shapes and automobile body styling • This model is stored in the database as stores precise definition of the model boundaries. • The model requires more storage space but less computation effort in reconstruction of the model and its image. • It is relatively simple to convert back and forth between a boundary representation and a corresponding wire frame. Constructive Solid Geometry (CSG or C-rep) • A CSG model is based on the concept that a physical object can be divided into a set of primitives (basic elements or shapes) that can be combined in a certain order following a set of rules (Boolean operations) to form the object. • Each primitive is bounded by a set of surfaces; usually closed and orientable. • A CSG model is fundamentally and topologically different from a B-rep model in that the former does not store explicitly the faces, edges, and vertices. • There is a wide variety of primitives available commercially to users. However, the four most commonly used are the block, cylinder, cone and sphere. • Initial formulation the object is easier in case of C-rep • It is relatively easy to construct a precise solid model out of regular solid primitives by use of Boolean operations.
  • 37. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 37 • The building block approach is results in more compact file of the model in the data base • Unusual shapes can not be formed easily with this representation • This model stores the model by combination of data and logical procedures (the Boolean model) • This model requires less storage but more computation to reproduce the model and its image • Because of relative advantages and disadvantages of the two approaches , hybrid systems have been developed which combine the CSG and B-rep approaches. Construction of a Wrench
  • 38. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 38 Wire frame modeling • In construction of the wire-frame model, the edges of the object are shown as lines • The image assumes the appearance of a frame structured out of wire- so it is called as Wire frame model • Very often designers also build physical models to help in the visualization of a design. • This may require the construction of „skeleton‟ models using wires to represent the edges of an object or component. • Wire frame modeling, as used currently in computer-aided engineering techniques, is the computer-based analogue of this process. • A wire-frame model consists of a finite set of points together with the edges connecting various pairs of these points, • There are limitations to the models which use the wire frame approach. • These limitations are more prominent in case of three-dimensional models. • These models are more suitable for two-dimensional representation. • The more remarkable limitation is that all the lines that define edges of the model are shown in the image. • Many of 3-D wire frame systems does not have automatic hidden line removal feature. • The image becomes much complicated to understand and in some cases it might be interpreted in number of ways. • There is also limitation in defining the model in CAD database
  • 39. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 39 Solid modeling • An improvement in the wire frame modeling, both in terms of realism to the user and definition to the computer. • In this models are displayed with less risk of misinterpretation • When color are added the picture becomes realistic one. • The solid modeling has wide range of applications other than CAD and manufacturing. • These includes color illustrations in magazines and technical publications, animation in movies and training simulators The solid models are used widely because of following factors: 1. Increasing awareness among users of the limitation of the wire frame systems 2. Continuing development of computer hardware and software which makes solid modeling possible • These models require high computational power in terms of both speed and memory, in order to operate Sweep Representations • When a curve /shape is moved along a curved path a new object created is called a sweep • When a 2D object is swept along a linear path , then the resulting object is known as extrusion. • Rotational sweeps are defined by rotating an area about an axis. • Sweeps of solids are useful in modelling the regions swept by a machine tool or a tool path. (a) (b) (c) Wireframe ambiguity: Is this object (a), (b) or (c) ? (a) (b) (c) Wireframe ambiguity: Is this object (a), (b) or (c) ?
  • 40. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 40 • Sweeps whose generating volume or area changes in shape, size or in orientation as they swept, are known as generalized sweeps. • Sweep representation is useful in generating extruded solids and solids of revolution. • The sweeping operation is based on sweeping a curve or surface. • Applications involves simulations of material removal due to machining operations and interference detection of moving objects in space. • There are three types of sweep 1. Linear • Translational • Rotational 2. Non linear 3. Hybrid
  • 41. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 41 Cell Decomposition • An object can be modelled by decomposing its volume into smaller volume of cells which are mutually continuous and do not penetrate into each other. • The shape in this need not be a cube nor they should be identical. • It can be seen that some cells are partly outside the boundary, while some of them are partly inside the boundary • This is approximate representation of an object. • In such a case , a smaller hole or cavity gets neglected if the size of cavity is smaller of the cells or other than squares in this scheme.
  • 42. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 42 • This difficulty can be overcome by permitting various shapes of cells other than squares and rectangles, such as triangles.
  • 43. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 43 CHAPTER 7. Graphics Standards • The need for portability of the geometric model among different hardware platforms has led to the development of device independent graphics • Simultaneously standards for exchange of drawing data base among software packages have been developed to facilitate integration of design and manufacturing operations • The heart of any CAD model is the component database. • This includes the graphics entities like points, lines, arcs etc. and coordinate points which define the location of these entities • This geometric data is used in all downstream applications of CAD, which include finite element modeling and analysis, process planning, estimation, CNC programming, Robot programming, programming of CMM, MRP systems To achieve high level of integration between CAD, analysis and manufacturing operations, the database must contain: • Shapes of the components ( based on 3-D wire frame or solid model ) • Bill of materials (BOM), of the assembly which the components are used. • Materials of the components • The manufacturing, test and assembly procedures to carried out to produce a component so that it is capable of functioning as per requirements of design In designing data structure for CAD database the following factors to be considered: • The data must be neutral • The data structure must be user friendly • The data base must be portable Features of GKS The feature of Graphics Kernel system include 1. Device independent: The does not assume that any of the input or output devices have particular features or restrictions 2. Text/ annotations : All text or clarification are in a neutral languages like English 3. Display management: A complete set of display management functions, cursor control and other features are provided. 4. Graphics Functions: Graphics functions are provided in 2D or 3D GKS Implementation in a CAD W/S
  • 44. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 44 • The drivers in GKS is also includes metafile drivers • Metafiles are devices with no graphics capability GKS offers two routine to define user created pictures 1. Primitive functions 2. Attribute functions 1. Primitive functions Examples • POLYLINE to draw set of connected straight lines • FILL AREA to draw a closed polygon with interior fill • TEXT to create characters • GDP (Generalized Drawing Primitive ) to specify the standard drawing entities like circles, ellipse etc. 2. Attribute functions defines appearance of the image e.g. color, line type etc. Exchange of data between CAD packages E.g. to transfer CAD model created in Pro/E to I-DEAS or Unigraphics To transfer geometric data from one software to another e.g. to carry out modeling in PRO/E and analysis in ANSYS One method to meet this need is to use translators. This means developer will have to produce its own translators • A solution to translators is to use neutral files • The neutral files have standard formats and software packages can have preprocessors to convert the file data to neutral file and post processors to convert neutral file data to drawing file DATA EXCHANGE • The need for exchanging modeling data is directly motivated by the need to integrate and automate the design and mfg. processes to obtain max. benefits from CAD/CAM. • The component database can be used in downstream applications like FEA, Process planning, Robot programming, MRP, C. N. C. programming. • There should be tie between the two or more systems to form an application that shares common data. • Data exchange files are neutral files. Following are two types of neutral files:
  • 45. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 45 1. DXF (Data Exchange File) 2. IGES file (Initial Graphics Exchange Specification ) DXF (Data Exchange File) • DXF files are std. ASCII text files, which can be easily translated to the formats of other CAD systems • The DXF facility is available in several drafting packages. • In case of Auto CAD , the data regarding the created drawing may require to view , modify or plotting. • Also data can be used for analysis purpose like FEA • In case of Auto CAD , a drawing interchange file (DXF) can be generated from the existing drawing by means of DXFOUT command. • On the other hand a drawing interchange file can be converted into Auto CAD drawing by means of DXFIN command • The general structure of DXF file is as follows: HEADER Section : general information of drawing TABLE Section : Linetype (LTYPE) table Layer table Text style (STYLE) table User coordinate system (UCS) table View port configuration file (VPORT) table BLOCKS Section ENTITIES Section END OF FILE IGES (Initial Graphics Exchange Specification ) • It is standard exchange format developed for communicating product data among dissimilar CAD/CAM systems. • It has been used for two purposes: – Transfer of data within dissimilar systems – Digital communication between company and its suppliers, customers i.e. IGES enable data transfer from one CAD system to another • The software which translates data from CAD system to IGES is known as preprocessor • The software which translates data from IGES data to a CAD system is known as postprocessor • IGES defines a database, in the form of a file format, which describes an “IGES Model” of modeling data of a given product • IGES model can be read and interpreted by dissimilar CAD/CAM systems. • IGES model based on the concept of entities. • The fundamental unit of information of model i.e. IGES file, is the entity, all product definition data are expressed as a list of predefined entities. • Each entity defined by IGES is assigned a specific entity type number to refer to it in the IGES file. • Entities are categorized as geometric and non geometric.
  • 46. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 46 • Geometric entities represent the definition of the product shape and include curves and surfaces. • Non geometric entities provide views and drawings of the model to enrich its representation and include annotation and structural entities. • Annotation entities include types of dimensions (linear, angular) symbols, centerlines, cross hatching. • Structure entities include views, drawings, attributes (i.e. line and text fonts, colors, layers etc.), properties (e.g. mass), symbol (e.g. mechanical and electrical ) and macros (to define parametric parts) IGES file structure Flag section Start section Global section Directory entry section Parameter data section Terminate section • Start section contains comments that can be used to describe the drawing, identify its source, comment on its format an so on. • Global section includes information that describes global characteristics of the IGES file, such as name of the file, the system that created the file, units of measures, and precision • Directory entry section describes the entities in the drawing. This section contains attributes such as color, line style. Also provides an index to the entities in the file • Parameter data section contains data to describe each entity, such as point coordinates, coefficients of curve and surface equations, text characters and other attributes. • Terminate section IGES Limitations • IGES is complex and wordy • These files are about five times larger than an equivalent product file • Several entities required for specialized CAD applications are not available in IGES file • It does not convey the extensive product information needed in the design and mfg. cycle. STEP
  • 47. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 47 • Standard for the Exchange of Product Model Data, officially the ISO standard 10303, Product Data Representation and Exchange, is a series of International Standards with the goal of defining data across the full engineering and mfg. life cycle. • The ability to share data across applications, across vendor platforms and between contractors, suppliers and customers, is the main goal of this standard. Scope of STEP • The standard method of representing the information necessary for completely defining a product throughout its entire life, i.e. from the product conception to the end of useful life. • Standard method for exchanging the data electronically between two different systems. • It provides worldwide standard for storing, sharing and exchanging product information among different CAD systems. • It includes methods of representing all critical product specifications such as shape information, materials, tolerances, finishes and product structure. • It is data exchange that would apply to a wide range of product areas, including architectural, engineering and construction. STEP Architecture • It has main four components 1. EXPRESS modelling language 2. Data schemes including attributes such as geometry, topology, features and tolerances. 3. Application interface called Standard Data Access Interface (SDAI) to enable applications to access and manipulate STEP data 4. STEP database
  • 48. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 48 CHAPTER 8. ROBOTICS Definition  A robot is a programmable , multi function manipulator deigned to move material, parts, tools or special devices through variable programmed motion for the performance of a variety of tasks  An industrial robot is a general purpose , programmable machine processing certain anthropomorphic characteristics What are the parts of a robot? • Manipulator • Pedestal • Controller • End Effectors • Power Source Manipulator (Mimics the human arm) • Base • Appendages o Shoulder o Arm o Grippers Pedestal (Human waist) • Supports the manipulator. • Acts as a counterbalance. Controller (The brain) • Issues instructions to the robot. • Controls peripheral devices. • Interfaces with robot. • Interfaces with humans. End Effectors (The hand) • Spray paint attachments • Welding attachments • Vacuum heads • Hands • Grippers Power Source (The food) • Electric • Pneumatic • Hydraulic ROBOT PHYSICAL CONFIGURATION 1. Cartesian configuration 2. Cylindrical configuration 3. Polar configuration 4. Joint-arm configuration Cartesian Configuration  Robots with Cartesian configurations consist of links connected by linear joints (L). Gantry robots are Cartesian robots (LLL). Cartesian Robots  It consists of three orthogonal slides.  Three slides are parallel to x, y and z axes of the Cartesian coordinate system Commonly used for:  pick and place work  assembly operations  handling machine tools
  • 49. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 49  arc welding Advantages:  ability to do straight line insertions into furnaces.  easy computation and programming.  most rigid structure for given length. Disadvantages:  requires large operating volume.  exposed guiding surfaces require covering in corrosive or dusty environments.  can only reach front of itself Cylindrical Configuration  Robots with cylindrical configuration have one rotary ( R) joint at the base and linear (L) joints succeeded to connect the links. Cylindrical Robots  In this, the robot body is a vertical column that swivels about vertical axis  The arm consist of several orthogonal slides which allow the arm to be moved up and down and in or out w.r.t. to body Commonly used for:  handling at die-casting machines  assembly operations  handling machine tools  spot welding Advantages:  can reach all around itself  rotational axis easy to seal  relatively easy programming  rigid enough to handle heavy loads through large working space  good access into cavities and machine openings Disadvantages:  linear axes is hard to seal  won‟t reach around obstacles  exposed drives are difficult to cover from dust and liquids Spherical/Polar Robots A robot with 1 prismatic joint and 2 rotary joints – the axes consistent with a polar coordinate system. Commonly used for: • handling at die casting or fettling machines • handling machine tools • arc/spot welding Advantages:  large working envelope.  two rotary drives are easily sealed against liquids/dust. Disadvantages:  complex coordinates more difficult to visualize, control, and program.  exposed linear drive.  low accuracy Joint-arm Configuration
  • 50. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 50  The jointed-arm is a combination of cylindrical and articulated configurations.  The arm of the robot is connected to the base with a twisting joint.  The links in the arm are connected by rotary joints. Many commercially available robots have this configuration. Advantages and Disadvantages of 4 Robot Types Configuration Advantages Disadvantages Cartesian coordinates 3 linear axes, easy to visualize, rigid structure, easy to program Can only reach front of itself, requires large floor space, axes hard to seal Cylindrical coordinates 2 linear axes +1 rotating, can reach all around itself, reach and height axes rigid, rotational axis easy to seal Can‟t reach above itself, base rotation axis as less rigid, linear axes is hard to seal, won‟t reach around obstacles Spherical coordinates 1 linear + 2 rotating axes, long horizontal reach Can‟t reach around obstacles, short vertical reach Joined-arm Revolute coordinates 3 rotating axes can reach above or below obstacles, largest work area for least floor space Difficult to program off-line, 2 or 4 ways to reach a point, most complex manipulator Basic Motion Systems Six degrees of freedom  It provides the robot the capability to move and perform predetermined task  These six degrees of freedom are intended to follow the versatility of movement possessed by the human arm  The six basic motions consists of three arm and body motions and three wrist motions Arm and body motions 1. Rotational transverse : Rotation about the vertical axis (right or left swivel of the robot arm ) 2. Vertical transverse : Up and down motions of the arm , caused by pivoting the entire arm about a horizontal axis or moving the arm about vertical slide. 3. Radial transverse : extension and retraction of the arm (in and out movement) Wrist motions 4. Wrist swivel : Rotation of the wrist 5. Wrist bent : Up and down movement of the wrist , which also involves a rotational movement 6. Wrist yaw : swivel of the wrist
  • 51. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 51 ROBOT MOTION SYSTEMS Classification Based on Control Systems: 1. Point-to-point (PTP) control robot 2. Continuous-path (CP) control robot Point to Point Control Robot (PTP):  The PTP robot is capable of moving from one point to another point.  The locations are recorded in the control memory. PTP robots do not control the path to get from one point to the next point.  Common applications include:  component insertion  spot welding  hole drilling  machine loading and unloading  assembly operations Continuous-Path Control Robot (CP):  The CP robot is capable of performing movements along the controlled path.  All the points along the path must be stored explicitly in the robot's control memory.  Straight-line motion is the simplest example for this type of robot.  Some continuous-path controlled robots also have the capability to follow a smooth curve path that has been defined by the programmer.  In such cases the programmer manually moves the robot arm through the desired path and the controller unit stores a large number of individual point locations along the path in memory Typical applications include: spray painting finishing gluing arc welding operations Programming with Robot 1. Manual method 2. Walkthrough method 3. Leadthrough method 4. Off- line programming
  • 52. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 52 Manual method  It is more like setting machine rather than programming  It involves setting mechanical stops, cams, switches, or relays in the robot‟s control unit  Used for short work cycles (e.g. pick-and-place operations ) Walkthrough Method  In this programmer manually moves robots arm and hand through the sequence of the work cycles.  Each movement is recorded into memory for subsequent playback during the production  Speed is controlled independently  Appropriate for spray painting, arc welding robots Leadthrough Method  Uses teach pendent to power drive the robot through its motion sequence  Teach pendent is device, consists of switches and dials to control the robot‟s physical movements  Each motion is recorded into memory for future playback during the workcycle  Popular because of its ease and convenience Off-line Programming  It involves the preparation of robot program off-line , in a manner similar to NC part programming  It is accomplished on computer terminal  After preparation it is entered into the memory of the computer for use during the work cycle.  The advantage is that production time of robot is not lost to delays in teaching the robot a new task Robotic Sensors  Sensors provide feedback to the control systems and give the robots more flexibility.  Sensors such as visual sensors are useful in the building of more accurate and intelligent robots.  The sensors can be classified as follows: Position sensors • Position sensors are used to monitor the position of joints. • Information about the position is fed back to the control systems that are used to determine the accuracy of positioning Range sensors  Range sensors measure distances from a reference point to other points of importance.  Range sensing is accomplished by means of television cameras or sonar transmitters and receivers. Velocity Sensors  They are used to estimate the speed with which a manipulator is moved.  The velocity is an important part of the dynamic performance of the manipulator.  The DC tachometer is one of the most commonly used devices for feedback of velocity information. Proximity Sensors  They are used to sense and indicate the presence of an object within a specified distance without any physical contact.  This helps prevent accidents and damage to the robot.
  • 53. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 53  infra red sensors  acoustic sensors  touch sensors  force sensors  tactile sensors for more accurate data on the position The Hand of a Robot: End-Effectors  The end- effecter (commonly known as robot hand) mounted on the wrist enables the robot to perform specified tasks.  Various types of end-effectors are designed for the same robot to make it more flexible and versatile.  End-effectors are categorized into two major types: grippers and tools. Grippers Grippers are generally used to grasp and hold an object and place it at a desired location.  mechanical grippers  vacuum or suction cups  magnetic grippers  adhesive grippers  hooks, scoops, and so forth
  • 54. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 54 Tools At times, a robot is required to manipulate a tool to perform an operation on a workpiece. In such applications the end- effecter is a tool itself  spot-welding tools  arc-welding tools  spray-painting nozzles  rotating spindles for drilling  rotating spindles for grinding Technical features of Robot 1. Work volume 2. Precision of movement 3. Speed movement 4. Weight carrying capacity 5. Types of drive system Work Volume o It refers to the space within which the robot can operate o It is the spatial region within which the end of the robot‟s wrist can be manipulated o The work volume is determined by its physical configuration , size, and limits of its arms and joint manipulations o E.g. work volume of Cartesian coordinate robot is rectangular, for polar it is partial sphere etc. Precision of movements 1. Spatial resolution: The spatial resolution of a robot is the smallest increment of movement into which the robot can divide its work volume.
  • 55. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 55 It depends on the system‟s control resolution and the robot's mechanical inaccuracies. 2. Accuracy : Accuracy can be defined as the ability of a robot to position its wrist end at a desired target point within its reach.  Accuracy is closely related to spatial resolution , since the robot‟s ability to reach a particular point in space depends on its ability to divide its joint movements into small increments  In terms of control resolution, the accuracy can be defined as one-half of the control resolution.  The accuracy of a robot is affected by many factors. For example, when the arm is fully stretched out, the mechanical inaccuracies tend to be larger because the loads tend to cause deflection. 3. Repeatability:  It is the ability of the robot to position the end effector to the previously positioned location.  It depends on the stability of the control system and is affected by temperature, load etc. Speed of movement  The speed with which the robot can manipulate the end effector ranges up to a maximum of about 1.5 m/s  The speed is determined depends of factors like weight of the object being moved, the distance moved, and the precision required.  Heavy objects can not be moved as fast as light objects because of inertia problem  Objects must be moved slowly when high positional accuracy is required Weight carrying capacity  It covers wide range  At higher end, there are robots which can lift up to 500 kgs to 1000 kgs.  At lower end, there are robots which can be used for 0.75 to 1.5 kgs. Types of drive system
  • 56. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 56 1. Hydraulic drive  Provide fast movements  Preferred for moving heavy parts  Preferred to be used in explosive environments  Occupy large space area  There is a danger of oil leak to the shop floor 2. Electric drive  Slower movement compare to the hydraulic robots  Good for small and medium size robots  Better positioning accuracy and repeatability  stepper motor drive: open loop control  DC motor drive: closed loop control  Cleaner environment  The most used type of drive in industry 3. Pneumatic drive  Preferred for smaller robots  Less expensive than electric or hydraulic robots  Suitable for relatively less degrees of freedom design  Suitable for simple pick and place application  Relatively cheaper
  • 57. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 57 CHAPTER 9. N. C. MACHINE TOOLS SYLLABUS  N. C. system  Components and procedure  Coordinate systems, axes  Part Programming  Manual Part Programming, Formats  N. C. Codes  Computer assisted part programming , Programming Languages  Part programming for turning, milling and drilling by both methods  Part Programming with APT  Basic components of CNC and DNC Introduction  Numerical control is a form of programmable automation in which the processing equipment is controlled by a set of instructions called as program (which contains numbers, letters, and symbols)  The numbers, letters, and symbols are coded in an appropriate format to define a program of instructions for a particular work part or job.  When the job changes, the program of instructions changed.  The capability of changing programs makes NC suitable for low and medium volume production Basic components of NC 1. Program of Instructions 2. Machine Control Unit 3. Processing Equipment Basic components of NC 1. Program of Instructions  The program of instructions is the detailed step by step commands that direct the processing equipment  Commands refer to position of spindle w. r. t. worktable on which the part is fixtured  More advanced instructions include selection of spindle speeds, cutting tools etc.  The common medium used for coding of program is 1- in. wide punched tape.  Some recently used are punched cards, magnetic tape cassettes and floppy diskettes 2. Machine Control Unit (MOU)  MCU consists of the electronics control and hardware that read and interpret program of instruction and convert it into mechanical actions of the machine tool or other processing equipment.
  • 58. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 58  The elements of machine tool are consists of a tape reader, data buffer, signal input/output channels, feedback channels and sequence control,  The tape reader has an electromechanical device used to read and wind the tape  The data buffer then interprets the program of instructions and also stores the instructions in logical blocks of information  From here signals are sent to through the signal output channels which are connected to the servomotor and other controls in the machine tools.  Feedback signals are provided for ensuring proper execution of the given instructions  The sequence control coordinates the activities of the other elements of the control unit 3. Processing Equipment  It is the component that performs useful work  The machine tool consists of worktable and spindle to hold tools, motors and controls necessary to drive them.
  • 59. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 59 NC Procedure 1. Process planning 2. Part programming 3. Tape preparation 4. Tape verification 5. Production Process Planning  The engineering drawing of the workpart must be interpreted in terms of the manufacturing processes to be used  It consists of preparation of route sheet Part Programming  A part programmer plans for the portions of the job to be accomplished by NC  The part programmers are responsible for planning the sequence of operations to be performed by NC  There are two ways to program for NC  Manual part programming  Computer-assisted part programming Manual part programming  In this, the machining instructions are prepared on a form called a part program manuscript  The manuscript is a listing of the relative cutter/ work piece positions which must be followed to machine the part. Computer assisted part programming  In this , much of the tedious computational work required in manual part programming is transferred to the computer.  This is particularly appropriate for complex work piece geometries and jobs with many machining steps  It also saves part programming time Tape Preparation  A punched tape is prepared from the part programmer‟s NC process plan  In manual part programming, the punched tape is prepared from the part program manuscript or a typewriter like device equipped with tape punching capability  In Computer assisted part programming, the computer interprets the list of part programming instructions, performs the necessary calculations to covert this into detailed set of machine tool commands, and then controls a tape punched device to prepare tape for specific NC machine  To check the accuracy of punched tape some methods are used  Sometimes the tape is checked by running it through a computer program which plots the various tool movements (or table movements) on paper. In this major errors can be discovered  The “Acid Test” of the tape involves trying it on the machine tool to make the part.  A foam or plastic material is sometimes used for this purpose. Production  This involves ordering the raw workparts, specifying and preparing the tooling and any special fixturing that may be required.  The Operator‟s function is to load the workpart in the machine and establish the starting position of the cutting tool relative to the workpiece.
  • 60. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 60  The NC system then takes over and machines the part according to the instructions on tape. NC coordinate system In order to plan positions and movement of cutting tool relative to the workpiece, a standard system is developed to specify relative positions. NC axis system for milling and drilling  Two axis, x and y, are defined in the plane of the table.  z axis is perpendicular to this and movement in the z axis is controlled by the vertical motion of the spindle.  Three rotational axis defined in NC : the a, b and c axes. These axis specify angles about x, y and z axis respectively  To distinguish positive motion from negative motions, the right hand rule can be used.  Using the right hand with the thumb pointed in the positive linear direction (x, y or z), the fingers of the right hand are curled to point in the positive rotational direction. NC axis system for Turing  For turning operation, two axis are normally required to command the movement of the tool relative to the rotating workpiece.  The z-axis is the axis of rotation of the work part, and x-axis defines the radial location of the cutting tool. Fixed zero and floating zero  The programmer must define the position of the tool relative to the origin (zero) point of the coordinate system.  There are two method for specifying zero point 1. Fixed point zero
  • 61. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 61 2. Floating zero Fixed zero  In this the origin is always located at the same position on the machine table.  Usually, that position is the southwest (lower left hand corner) of the table and all tool locations will be defined by positive x and y coordinates. Floating zero  In this machine operator can set zero point at any point on the machine table.  The part programmer decides the zero point.  The decision based on the part programming convenience  e.g. in case of symmetric part the zero point can be located at the centre of the symmetry.  The position of the zero point is communicated to the machine operator.  At the start the operator moves the under manual control to some “Target point” on the table.  When the tool has been positioned to the target point, the machine operator pressed a “zero” button on the machine tool Absolute and incremental positioning  Absolute positioning means that the tool locations are always defined in relation to the zero point.  Incremental positioning means that the next tool location must be defined with reference to the previous tool location. Absolute and incremental positioning NC Systems There are three types of motion control used in Numerical control 1. Point to point 2. Straight cut 3. Contouring Point to point NC  Point to point (PTP) is also called a positioning system.  In PTP, the objective of the machine control unit is to move the cutting tool to a predefined location  The speed or path by which this movements is accomplished is not important in point to point NC  Once the tool reaches the desired location , the machining operation is performed at that position  Example of this system is NC drill press.  Positioning system are the simplest machine tool control systems.  This system is least expensive of the three types
  • 62. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 62 Straight-cut NC  Straight cut control systems are capable of moving the cutting tool parallel to one of the major axis at a controlled rate suitable for machining  It is appropriate for performing milling operations on work pieces of rectangular shape.  Angular cut would not be possible.  An NC tool capable of straight cur movements is also capable of point to point movements Contouring NC (Continuous path NC )  Contouring is most complex, the most flexible and most expensive type of machine tool control.  It is capable of performing both PTP and straight cut operations  In addition, it can control more than one axis movement of the machine tool.  The path of the cutter is continuously controlled to generate desired geometry of the machine tool.  Turing and milling are common examples  In order to machine a curved path in a NC system the direction of feed rate is to be changed continuously to follow desired path.
  • 63. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 63  This is achieved by breaking the curved path into very short straight line segments. Applications • Milling • Drilling and related processes • Boring • Turning • Grinding • Sawing Other applications • Press working machine tools • Welding machines • Inspection machines • Automatic drafting • Assembly machines • Tube bending • Flame cutting • Plasma arc cutting • Laser beam processes • Cloth cutting • Automatic riveting NC machines are suitable for 1. Parts are processed frequently and in small lot sizes 2. The part geometry is complex 3. Many operations must be performed on the part in its processing 4. Much metal needs to be removed
  • 64. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 64 5. Engineering design changes are likely 6. Close tolerance must be held on the part 7. It is an expensive part where mistakes in processing would be costly 8. The parts require 100 % inspection. Advantages of NC over conventional systems: • Flexibility with accuracy, repeatability, reduced scrap, high production rates, good quality • Reduced tooling costs • Easy machine adjustments • More operations per setup, reduced leadtime, accommodate design change, reduced inventory • Rapid programming and program recall, less paperwork • Faster prototype production • Less-skilled operator , multi-work possible • Reduced fixturing Limitations of NC • Relatively high initial cost of equipment • Need for part programming • Special maintenance requirements • More costly breakdowns • Finding and/or training NC personnel The Punched tape in NC • The part program is converted into a sequence of machine tool actions by means of the input medium, which contains the program, the controller unit, which interprets the input medium. • The controller unit and input medium which must be compatible. • Input medium uses symbols which represent part program and the controller unit must be capable of reading it. • The most common input medium is Punched Tape • The punched tape used in NC is 1 inch wide. • The tape has eight tracks or coding channels and a column of smaller holes for feeding the tape. • The coding of tape is provided by either the present or absence of a hole in various positions • This system of coding is called as binary system • The NC tape coding system is used to code not only numbers, but also alphabetical letters and other symbols
  • 65. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 65 • There are two methods for preparing punched tape • The first method associated with manual part programming and involves the use of typewriter like device. • The operator writes directly from the part programmer‟s hand written list of coded instructions. • This produces a typed copy of the program as well as the punched tape. • The second method used with Computer assisted part programming. • By this approach, the tape is prepared directly by the computer using a device called a tape punch. • During production, the tape id fed through the tape reader once for each workpiece. • It is advanced through the tape reader one instruction at a time. • While the machine tool is performing one instruction, the next instruction is being read into the controller unit‟s data buffer. • After last instruction has been read into the controller, the tape is rewound back to the start of the program to ready for next workpart. How instructions are formed? • A binary digit is called as bit. • It has value of 0 or 1 depending on the absence or presence of hole in a certain row or column position on the tape (columns of hole positions run lengthwise along the tape. Row positions run across the tape.) • Out of row of bits, a character is made • A character is a combination of bits, which represent a letter, number or other symbol • A word is a collection of characters to form part of an instruction. Examples of NC words are x position, y position, cutting speed and so on. • Out of collection of words, a block is formed. • A block of words is a complete NC instruction • E.g. in NC drilling a block might contain information on the x and y coordinates of the hole location, the speed and feed at which the cut should be taken. • To separate a block , an end-of block (EOB) symbol is used. • The tape reader feeds the data from the tape into the buffer in blocks
  • 66. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 66 • That is, it reads in a complete instruction at a time NC words Following are the different types of words in formation of block. Not every NC uses all the words • Sequence number (n-words): This is used to identify the block • Preparatory words (g-words): This word is used to prepare the controller for instructions that are to follow e.g. g02 is used for circular interpolation along an arc in the clockwise direction . The preparatory words are needed so that the controller can correctly interpret that follow it in the block • Coordinates (x-, y-, and z-words): This give the coordinate positions of the tool. In two axis system o9nly two of the words would be used. In four or five axis, additional a-words and/or b-words would specify the angular positions • Feed rate (f-words) : this specifies the feed in the machining operation • Cutting speed (s-words) : This specifies the cutting speed of the process, the rate at which the spindle rotates. • Tool selection (t-word) : This control would needed only for machines with a tool turret or automatic tool changer. The t-word specifies which tool is to be used in the operation. • Miscellaneous words (m-words): The m-word is used to specify certain miscellaneous or auxiliary functions which may be available on machine tool • E.g. m03 used to start spindle rotation. This word is last in the block. Programming Formats • Fixed block format • Tab sequential format • Word address format Fixed block format • In this number of characters in every block is the same • The words in each block must follow a fixed sequence e.g. sequence number followed by x dimension, followed by y dimension, followed by end of block statement • In case of floating zero coordinate system, every coordinate value must be preceded by its sign. • This is not necessary in case of fixed zero coordinate system. Tab sequential format • The tab character is used to separate the words in a block • The words follow the fixed sequence as like fixed block format • In this repeated words (dimension) need not be punched and may be passed over by pressing the tab character. Word address format • The words in block need not follow fixed sequence, as each displacement information is preceded by an identifying word (X or Y) which acts as the address • In this the X and Y characters must be punched • This makes program longer at the same time offers greater flexibility to the programmer.
  • 67. MECHANICAL ENGINEERING CAD/CAM/CAE MIT (T) Page 67 Program: Point to Point 1. Drilling a hole Φ6 at point 1. 2. Drilling a hole Φ6 at point 2, and 3. Making a threaded hole M12 at point 3;machining hole M12 involves drilling a hole Φ10.3 and then tapping (Taps are come in two sets) • The machine tool format is N3.G2.X 3.3. Y 3.3. M2.EOB • In this format. represents tab-sequential format Additional features to be considered: • Machine tool has provision for absolute as well as incremental dimensioning, i/p of dimensions in mm or inch, and PTP and continuous path controls, • The machine has full range zero shift • The machine zero is shifted to the setup point, which is the lower left corner of the part • The machine control unit has provision for suppressing trailing zeros • To avoid trouble in loading and unloading of the workpiece and tool changing must be positioned at point 4 (X=100, Y = 100) during these operations Coordinates of programmed points Point X Y On drawing On tape On drawing On tape 1 5 005 5 005 2 5 005 45 045 3 55 055 25 025 4 100 1 100 1 Program