3. 3
MODULE1
INTRODUCTION
CAD/CAM
CAD/CAM is a term which means computer-aided design and
computer-aidedmanufacturing.Itisthetechnologyconcernedwiththeuse
ofdigitalcomputerstoperform certainfunctionsindesignandproduction.
Thistechnologyismovinginthedirectionofgreaterintegrationofdesign
andmanufacturing,twoactivitieswhichhavetraditionallybeentreatedas
distinctandseparatefunctionsinaproductionfirm.Ultimately,CAD/CAM
willprovidethetechnologybaseforthecomputer-integratedfactoryofthe
future.
Computer-aideddesign(CAD)canbedefinedastheuseofcomputer
systemstoassistinthecreation,modification,analysis,oroptimizationofa
design.Thecomputersystemsconsistofthehardwareandsoftwareto
perform thespecializeddesignfunctionsrequiredbytheparticularuserfirm.
TheCADhardwaretypicallyincludesthecomputer,oneormoregraphics
displayterminals,keyboards,and otherperipheralequipment.TheCAD
software consists ofthe computerprograms to implementcomputer
graphics on the system plus application programs to facilitate the
engineeringfunctionsoftheusercompany.Examplesoftheseapplication
programsincludestress-strainanalysisofcomponents,dynamicresponseof
mechanisms, heat-transfer calculations, and numerical control part
programming.Thecollectionofapplicationprogramswillvaryfrom oneuser
firm tothenextbecausetheirproductlines,manufacturingprocesses,and
customermarketsaredifferent.ThesefactorsgiverisetodifferencesinCAD
systemrequirements.
Computer-aidedmanufacturing(CAM)canbedefinedastheuseof
computersystems to plan,manage,and controlthe operations ofa
manufacturingplantthrougheitherdirectorindirectcomputerinterfacewith
the plant's production resources.As indicated by the definition,the
applicationsofcomputer-aidedmanufacturingfallintotwobroadcategories:
4. 4
1. Computer monitoring and control. These are the direct
applicationsinwhichthecomputerisconnecteddirectlytothe
manufacturing process for the purpose of monitoring or
controllingtheprocess.
2.Manufacturing supportapplications.These are the indirect
applicationsinwhichthecomputerisusedinsupportofthe
productionoperationsintheplant,butthereisnodirectinterface
betweenthecomputerandthemanufacturingprocess.
Thedistinctionbetweenthetwocategoriesisfundamentaltoan
understandingofcomputer-aidedmanufacturing.Itseemsappropriateto
elaborateonourbriefdefinitionsofthetwotypes.
Computermonitoringandcontrolcanbeseparatedintomonitoring
applicationsandcontrolapplications.Computerprocessmonitoringinvolves
adirectcomputerinterfacewiththemanufacturingprocessforthepurpose
ofobservingtheprocessandassociatedequipmentandcollectingdatafrom
theprocess.Thecomputerisnotusedtocontroltheoperationdirectly.The
controloftheprocessremainsinthehandsofhumanoperators,whomaybe
guidedbytheinformationcompiledbythecomputer.
Computerprocesscontrolgoesonestepfurtherthanmonitoringby
notonly observing the process butalso controlling itbased on the
observations.Thedistinctionbetweenmonitoringandcontrolisdisplayedin
Figure.Withcomputermonitoringtheflowofdatabetweentheprocessand
thecomputerisinonedirectiononly,from theprocesstothecomputer.In
control,thecomputerinterfaceallowsforatwo-wayflowofdata.Signalsare
transmitted from theprocessto thecomputer,justasin thecaseof
computermonitoring.Inaddition,thecomputerissuescommandsignals
directlytothemanufacturingprocessbasedoncontrolalgorithmscontained
initssoftware.
Inadditiontotheapplicationsinvolvingadirectcomputer-processinterface
for the purpose of process monitoring and control,computer-aided
manufacturingalsoincludesindirectapplicationsinwhichthecomputer
10. 10
periodically.Examples include books,
clothing, and certain industrial
machinery.
4.Jobshopproduction Productionoflowquantities,oftenone
ofakind,ofspecializedproducts.The
products are often customized and
technologically complex. Examples
include prototypes,aircraft,machine
tools,andotherequipment.
Fourproductiontypesrelatedtoquantityandproductvariation
TABLEAutomationAchievementsfortheFourTypesofProduction
11. 11
Category Automationachievements
1.Continuous-flow
processes
Flowprocessfrombeginningtoend
Sensortechnologyavailabletomeasureimportant
processvariables
Use of sophisticated controland optimization
strategies
Fullycomputer-automatedplants
2.Massproduction
of discrete
products
Automatedtransfermachines
Dialindexingmachines
Partiallyandfullyautomatedassemblylines
Industrialrobotsforspotwelding,partshandling,
machineloading,spraypainting,etc.
Automatedmaterialshandlingsystems
Computerproductionmonitoring
3.Batchproduction Numericalcontrol(NC),directnumericalcontrol
(DNC),computernumericalcontrol(CNC)
Adaptivecontrolmachining
Robotsforarcwelding,partshandling,etc.
Computer-integratedmanufacturingsystems
4. Job shop
production
Numericalcontrol,computernumericalcontrol
FUNDAMENTALSOFCAD
INTRODUCTION
Thecomputerhasgrowntobecomeessentialintheoperationsof
business,government,themilitary,engineering,andresearch.Ithasalso
demonstrateditself,especiallyinrecentyears,tobeaverypowerfultoolin
design and manufacturing.In thisand the following two chapters,we
considertheapplicationofcomputertechnologytothedesignofaproduct.
Thissectonprovidesanoverviewofcomputer-aideddesign.
TheCADsystemdefined
Asdefinedinprevioussection,computer-aideddesigninvolvesany
12. 12
typeofdesignactivitywhichmakesuseofthecomputertodevelop,analyze,
ormodifyanengineeringdesign.Modem CADsystems(alsooftencalled
CAD/CAM systems) are based on interactive computer graphics
(ICG).Interactivecomputergraphicsdenotesauser-orientedsystem inwhich
thecomputerisemployedtocreate,transform,anddisplaydataintheform
ofpicturesorsymbols.Theuserinthecomputergraphicsdesignsystem is
thedesigner,whocommunicatesdataandcommandstothecomputer
throughanyofseveralinputdevices.Thecomputercommunicateswiththe
userviaacathoderaytube(CRT).ThedesignercreatesanimageontheCRT
screenbyenteringcommandstocallthedesiredsoftwaresub-routines
storedinthecomputer.Inmostsystems,theimageisconstructedoutof
basicgeometricelements-points,lines,circles,andsoon.Itcanbemodified
accordingtothecommandsofthedesigner-enlarged,reducedinsize,
movedtoanotherlocationonthescreen,rotated,andothertransformations.
Throughthesevariousmanipulations,therequireddetailsoftheimageare
formulated.
ThetypicalICGsystem isacombinationofhardwareandsoftware.
Thehardwareincludesacentralprocessingunit,oneormoreworkstations
(includingthegraphicsdisplayterminals),andperipheraldevicessuchas
printers.Plotters,anddraftingequipment.Someofthishardwareisshownin
Figure.The software consists ofthe computerprograms needed to
implementgraphicsprocessingonthesystem.Thesoftwarewouldalso
typicallyincludeadditionalspecializedapplicationprogramstoaccomplish
theparticularengineeringfunctionsrequiredbytheusercompany.
ItisimportanttonotethefactthattheICGsystemisonecomponent
ofacomputer-aideddesignsystem.AsillustratedinFigure,theothermajor
componentisthehumandesigner.Interactivecomputergraphicsisatool
usedbythedesignertosolveadesignproblem.Ineffect,theICGsystem
magnifiesthepowersofthedesigner.Thisbasbeenreferredtoasthe
synergisticeffect.Thedesignerperformstheportionofthedesignprocess
thatis mostsuitable to human intellectualskills (conceptualization,
independentthinking);thecomputerperformsthetask:bestsuitedtoits
16. 16
ofanalysis.Theanalysismayinvolvesophisticatedengineeringcalculations
oritmay involve a very subjective judgmentofthe aesthete appeal
possessed by the design.The analysis procedure identifies certain
improvementsthatcanhemadeinthedesign.Asstatedpreviously,the
processisiterative.Eachiterationyieldsanimprovementinthedesign.The
trouble with this iterative process is thatitis time consuming.Many
engineeringlaborhoursarerequiredtocompletethedesignproject.
THEAPPLICATIONOFCOMPUTERSFORDESIGN
Thevariousdesign-relatedtaskswhichareperformedbyamodem
computer-aideddesign-systemcanbegroupedintofourfunctionalareas:
1.Geometricmodeling
2.Engineeringanalysis
3.Designreviewandevaluation
4.Automateddrafting
ThesefourareascorrespondtothefinalfourphasesinShigley's
general design process, illustrated in Figure. Geometric modeling
correspondstothesynthesisphaseinwhichthephysicaldesignproject
takesform ontheICGsystem.Engineeringanalysiscorrespondstophase4,
dealingwithanalysisandoptimization.Designreviewandevaluationisthe
fifthstepinthegeneraldesignprocedure.Automateddraftinginvolvesa
procedure forconverting the design image data residing in computer
memoryintoahard-copydocument.Itrepresentsanimportantmethodfor
presentation(phase6)ofthedesign.Thefollowingfoursectionsexplore
eachofthesefourCADfunctions.
Geometricmodeling
Incomputer-aideddesign,geometricmodelingisconcernedwiththe
computer-compatiblemathematicaldescriptionofthegeometryofanobject.
Themathematicaldescriptionallowstheimageoftheobjecttobedisplayed
andmanipulatedonagraphicsterminalthroughsignalsfrom theCPUofthe
CAD system.Thesoftwarethatprovidesgeometricmodelingcapabilities
24. 24
views),asillustratedinFigure,canbeofsignificantassistanceindrafting.
MostCADsystemsarecapableofgeneratingasmanyassixviewsofthe
part.Engineeringdrawingscanbemadetoadheretocompanydrafting
standardsbyprogrammingthestandardsintotheCADsystem.Figureshows
an engineering drawing with fourviews displayed.This drawing was
producedautomaticallybyaCADsystem.Notehowmuchtheisometricview
promotesahigherlevelofunderstandingoftheobjectfortheuserthanthe
threeorthographicviews.
Partsclassificationandcoding
Inadditionto thefourCAD functionsdescribed above,another
featureoftheCAD databaseisthatitcanbeusedtodevelopaparts
classificationandcodingsystem.Partsclassificationandcodinginvolves
thegroupingofsimilarpartdesignsintoclasses,andrelatingthesimilarities
bymeanofacodingscheme.Designerscanusetheclassificationand
coding system to retrieve existing part designs rather than always
redesigningnewparts.
CREATINGTHEMANUFACTURINGDATABASE
AnotherimportantreasonforusingaCADsystemisthatitoffersthe
opportunitytodevelopthedatabaseneededtomanufacturetheproduct.In
theconventionalmanufacturingcyclepracticedforsomanyyearsinindustry,
engineeringdrawingswerepreparedbydesigndraftsmenandthenusedby
manufacturingengineerstodeveloptheprocessplan(i.e.,the"routesheets").
Theactivitiesinvolvedindesigningtheproductwereseparatedfrom the
activitiesassociatedwithprocessplanning.Essentially,atwo-stepprocedure
wasemployed.Thiswasbothtimeconsumingandinvolvedduplicationof
effortbydesignandmanufacturingpersonnel.InanintegratedCAD/CAM
system,a direct link is established between product design and
manufacturing:It"isthegoalofCAD/CAM notonlytoautomatecertain
phasesofdesignandcertainphasesofmanufacturing,butalsotoautomate
thetransitionfrom designtomanufacturing.Computer-basedsystemshave
beendevelopedwhichcreatemuchofthedataanddocumentationrequired
27. 27
19. Helps ensure designs are appropriate to existing
manufacturingtechniques
20. Saves materials and machining time by optimization
algorithms
21.Providesoperationalresultsonthestatusofworkinprogress
22.Makesthemanagementofdesignpersonnelonprojectsmore
effective
23.Assistanceininspectionofcomplicatedparts
24.Bettercommunicationinterfacesandgreaterunderstanding
among engineers,designers,drafters,management,and
differentprojectgroups.
Productivityimprovementincomputer-aideddesignascomparedto
thetraditionaldesignprocessisdependentonsuchfactorsas:
Complexityoftheengineeringdrawing
Levelofdetailrequiredinthedrawing
Degreeofrepetitivenessinthedesignedparts
Degreeofsymmetryintheparts
Extensivenessoflibraryofcommonlyusedentities
Aseachofthesefactorsisincreased.theproductivityadvantageof
CADwilltendtoincrease
Shorterleadtimes
Interactive computer-aided design is inherently fasterthan the
traditionaldesign.Italsospeedsupthetaskofpreparingreportsandlists
(e.g.,the assembly lists)which are normally accomplished manually.
Accordingly,itispossiblewithaCADsystem toproduceafinishedsetof
componentdrawingsandtheassociatedreportsinarelativelyshorttime.
Shorterleadtimesindesigntranslateintoshorterelapsedtimebetween
receiptofacustomerorderanddeliveryofthefinalproduct.Theenhanced
productivityofdesignersworkingwithCADsystemswilltendtoreducethe
prominenceofdesign,engineeringanalysis,anddraftingascriticaltime
elementsintheoverallmanufacturingleadtime.
28. 28
Designanalysis
ThedesignanalysisroutinesavailableinaCAD system helpto
consolidatethedesignprocessintoamorelogicalworkpattern.Ratherthan
havingaback-and-forthexchangebetweendesignandanalysisgroups,the
samepersoncanperformtheanalysiswhileremainingataCADworkstation.
This helps to improve the concentration ofdesigners,since theyare
interactingwiththeirdesignsinareal-timesense.Becauseofthisanalysis
capability,designscanbecreatedwhichareclosertooptimum.Thereisa
timesavingtobederivedfrom thecomputerizedanalysisroutines,bothin
designertimeand in elapsed time.Thissaving resultsfrom therapid
responseofthedesignanalysisandfrom thetunenolongerlostwhilethe
design findsitswayfrom thedesigner'sdrawing board to thedesign
analyst'squeueandbackagain.
Fewerdesignerrors
InteractiveCADsystemsprovideanintrinsiccapabilityforavoiding
design,drafting,anddocumentationerrors.Dataentry,transposition,and
extensionerrorsthatoccurquitenaturallyduringmanualdatacompilation
forpreparationofabillofmaterialsarevirtuallyeliminated.Onekeyreason
forsuchaccuracyissimplythat
No manualhandling ofinformation is required once the initial
drawinghasbeendeveloped.Errorsarefurtheravoidedbecauseinteractive
CAD systemsperform time-consumingrepetitivedutiessuchasmultiple
symbolplacement,andsortsbyareaandbylikeitem,athighspeedswith
consistentandaccurateresults.Stillmoreerrorscanbeavoidedbecausea
CADsystem,withitsinteractivecapabilities,canbeprogrammedtoquestion
inputthatmaybeerroneous.Forexample,thesystem mightquestiona
toleranceof0.00002in.Itislikelythattheuserspecifiedtoomanyzeros.
ThesuccessofthischeckingwoulddependontheabilityoftheCADsystem
designerstodeterminewhatinputislikelytobeincorrectandhence,whatto
question.
29. 29
Greateraccuracyindesigncalculations
Thereisalsoahighlevelofdimensionalcontrol,farbeyondthe
levelsofaccuracyattainablemanually.Mathematicalaccuracyisoftento14
significantdecimalplaces.The accuracy delivered by interactive CAD
systemsinthree-dimensionalcurvedspacedesignsissofarbehindthat
providedbymanualcalculationmethodsthatthereisnorealcomparison.
Computer-basedaccuracypaysoffinmanyways.Partsarelabeled
bythesamerecognizablenomenclatureandnumberthroughoutalldrawings.
InsomeCAD systems,achangeenteredonasingleitem canappear
throughouttheentiredocumentationpackage,effectingthechangeonall
drawingswhichutilizethatpart.Theaccuracyalsoshowsupintheform of
more accurate materialand costestimates and tighterprocurement
scheduling.Theseitemsareespeciallyimportantinsuchcasesaslong-lead-
timematerialpurchases.
Standardizationofdesign,drafting,anddocumentationprocedures
The single data base and operating system is common to all
workstationsin theCAD system:Consequently,thesystem providesa
naturalstandardfordesign/draftingprocedure-Withinteractivecomputer-
aideddesign,drawingsare“standardized”astheyaredrawn;thereisno
confusionastoproperproceduresbecausetheentireformatis"builtinto"
thesystemprogram.
Drawingsaremoreunderstandable
Interactive CAD is equally adeptatcreating and maintaining
isometricsandobliquedrawingsaswellasthesimplerorthographies.All
drawingscanhegeneratedandupdatedwithequalease.Thusanup-to-date
versionofanydrawingtypecanalwayshemadeavailable.
31. 31
checkedagainstnewinformation.Sincedatastorageisextremelycompact,
historicalinformationfrom previousdrawingscanbeeasilyretainedinthe
system'sdatabase,foreasycomparisonwithcurrentdesign/draftingneeds.
Benefitsinmanufacturing
Thebenefitsofcomputer-aideddesigncarryoverintomanufacturing.
As indicated previously,the same CAD/CAM data base is used for
manufacturing planning and control,as wellas for design.These
manufacturingbenefitsarefoundinthefollowingareas:
Toolandfixturedesignformanufacturing
Numericalcontrolpartprogramming
Computer-aidedprocessplanning
Assemblylists(generatedbyCAD)forproduction
Computer-aidedinspection
Roboticsplanning
Grouptechnology
Shortermanufacturingleadtimesthroughbetterscheduling
Thesebenefitsarederivedlargelyfrom theCAD/CAM database,
whoseinitialframeworkisestablishedduringcomputer-aideddesign.Wewill
discussthemanyfacetsofcomputer-aidedmanufacturinginlaterchapters.
Intheremainderofthischapter,letusexploreseveralapplicationsthat
utilize computer graphics technology to solve various problems in
engineeringandrelatedfields.
HARDWAREINCOMPUTER-AIDEDDESIGN
INTRODUCTION
Hardwarecomponentsforcomputer-aideddesignareavailableina
varietyofsizes,configurations,andcapabilities.Henceitispossibletoselect
a CAD system thatmeets the particularcomputationaland graphics
requirementsoftheuserfirm.Engineeringfirmsthatarenotinvolvedin
32. 32
productionwouldchooseasystem exclusivelyfordraftinganddesign-
relatedfunctions.Manufacturingfirmswouldchooseasystem tobepartof
acompany-wideCAD/CAM system.Ofcourse,theCADhardwareisoflittle
valuewithoutthesupportingsoftwareforthesystem,andweshalldiscuss
thesoftwareforcomputer-aideddesigninthefollowingchapter.
amodem computer-aideddesignsystem isbasedoninteractive
computergraphics(ICG).However,thescopeofcomputer-aideddesign
includesothercomputersystemsaswell.Forexample,computerizeddesign
hasalsobeenaccomplishedinabatchmode,ratherthaninteractively.Batch
designmeansthatdataaresuppliedtothesystem (adeckofcomputer
cardsistraditionallyusedforthispurpose)andthenthesystem proceedsto
developthedetailsofthedesign.Thedisadvantageofthebatchoperationis
thatthereisatimelagbetweenwhenthedataaresubmittedandwhenthe
answerisreceivedbackasoutput.Withinteractivegraphics,thesystem
providesanimmediateresponsetoinputsbytheuser.Theuserandthe
system areindirectcommunicationwitheachother,theuserentering
commandsandrespondingtoquestionsgeneratedbythesystem.
Computer-aideddesignalsoincludesnongraphicapplicationsofthe
computerindesignwork.Theseconsistofengineeringresultswhichare
bestdisplayedinotherthangraphicalform.Nongraphichardware(e.g.,line
printers)canbeemployedtocreateroughimagesonapieceofpaperby
appropriatecombinationsofcharactersandsymbols.However,theresulting
pictures,whiletheymaycreateinterestingwallposters,arenotsuitablefor
designpurposes.
The hardware we discuss in this chapteris restricted to CAD
systemsthatutilizeinteractivecomputergraphics.Typically,astand-alone
CADsystemwouldincludethefollowinghardwarecomponents:
Oneormoredesignworkstations.Thesewouldconsistof:
Agraphicsterminal
Operatorinputdevices
33. 33
Oneormoreplottersandotheroutputdevices
Centralprocessingunit(CPU)
Secondarystorage
Thesehardwarecomponentswouldbearrangedinaconfiguration
as illustrated in Figure.The following sections discuss these various
hardwarecomponentsandthealternativesandoptionsthatcanbeobtained
ineachcategory.
FIGURETypicalconfigurationofhardwarecomponentsinastand-aloneCAD
system.Therewouldlikelybemorethanonedesignworkstation.
THEDESIGNWORKSTATION
TheCADworkstationisthesystem interfacewiththeoutsideworld.
Itrepresentsasignificantfactorindetermininghowconvenientandefficient
itisforadesignertousetheCADsystem.Theworkstationmustaccomplish
fivefunctions:
1.Itmustinterfacewiththecentralprocessingunit.
2.Itmustgenerateasteadygraphicimagefortheuser.
3.Itmustprovidedigitaldescriptionsofthegraphicimage.
4.Itmusttranslatecomputercommandsintooperatingfunctions.
5.Itmustfacilitatecommunicationbetweentheuserandthesystem]
34. 34
Theuseofinteractivegraphicshasbeenfoundtobethebest
approach to accomplish these functions.A typicalinteractive graphics
workstationwouldconsistofthefollowinghardwareComponents:
Agraphicsterminal
Operatorinputdevices
A graphics design workstation showing these components is
illustratedinFigure.
FIGUREInteractivegraphicsdesignworkstationshowinggraphicsterminal
andtwoinputdevices:alphanumerickeyboardandelectronictabletandpen.
THEGRAPHICSTERMINAL
'Therearevarioustechnologicalapproacheswhichhavebeenapplied
tothedevelopmentofgraphicsterminals.Thetechnologycontinuesto
evolveasCADsystem manufacturesattempttoimprovetheirproductsand
reducetheircosts.Inthissectionwepresentadiscussionofthecurrent
technologyininteractivecomputergraphicsterminals.
Imagegenerationincomputergraphics
Nearlyallcomputergraphics terminals available todayuse the
35. 35
cathoderaytube(CRT)asthedisplaydevice.Televisionsetsuseaform of
thesamedeviceasthepicturetube.'TheoperationoftheCRTisillustrated
inFigure.A heated cathodeemitsahigh-speed electronbeam onto a
phosphor-coatedglassscreen.'Theelectronsenergizethephosphorcoating,
causingittoglowatthepointswherethebeam makescontact.Byfocusing
theelectronbeam,changingitsintensity,andcontrollingitspointofcontact
againstthephosphorcoatingthroughtheuseofadeflectorsystem,the
beamcanbemadetogenerateapictureontheCRTscreen.
Therearetwobasictechniquesusedincurrentcomputergraphics
terminalsforgeneratingtheimageontheCRTscreen.Theyare:
1.Strokewriting
2.Rasterscan
Othernamesforthestroke-writingtechniqueincludelinedrawing,
random position,vectorwriting,strokewriting,anddirectedbeam.Other
namesfortherasterscantechniqueincludedigitalTVandscangraphics.
FIGUREDiagramofcathoderaytube(CRT).
55. 55
Usingtherulesofmatrixalgebra,apointorline(orothergeometric
element represented in matrix notation) can be operated on by a
transformationmatrixtoyieldanewelement.
There are severalcommon transformations used in computer
graphics.Wewilldiscussthreetransformations:translation,scaling,and
rotation.
TRANSLATION.Translationinvolvesmovingtheelementfrom one
locationtoanother.Inthecaseofapoint,theoperationwouldbe
x'=x+m, y'=y+n
wherex',y'=coordinatesofthetranslatedpoint
x,y=coordinatesoftheoriginalpoint
m,n=movementsinthexandydirections,respectively
Inmatrixnotationthiscanberepresentedas
(x',y')=(x,y)+T
where
T=(m,n),thetranslationmatrix
AnygeometricelementcanbetranslatedinspacebyapplyingEq.to
eachpointthatdefinestheelement.Foraline,thetransformationmatrix
wouldbeappliedtoitstwoendpoints.
SCALING.Scalingofanelementisusedtoenlargeitorreduceits
size.Thescalingneednotnecessarilybedoneequallyinthexandy
directions.Forexample,acirclecouldbetransformedintoanellipsebyusing
unequalxandyscalingfactors.
Thepointsofanelementcanbescaledbythescalingmatrixas
follows:
(x',y')=(x,y)S
where
64. 64
FIGUREPerspectiveviewofthree-dimensionalobjectofFigurewithout
hiddenlineremoval.
There are limitations to the models which use the wire-frame
approachtoform theimage.Theselimitationsare,ofcourse,especially
pronouncedinthecaseofthree-dimensionalobjects.Inmanycases,wire-
framemodelsarequiteadequatefortwo-dimensionalrepresentation.The
mostconspicuouslimitationisthatallofthelinesthatdefinetheedges(and
contouredsurfaces)ofthemodelareshownintheimage.Manythree-
dimensionalwire-framesystemsinusetodaydonotpossessanautomatic
hidden-lineremovalfeature.Consequently,thelinesthatindicatetheedges
attherearofthemodelshowrightthroughtheforegroundsurfaces.Thiscan
causetheimagetobesomewhatconfusingtotheviewer,andinsomecases
theimagemightbeinterpretableinseveraldifferentways.Thisinterpretation
problem canbealleviatedtosomeextentthroughhumaninterventionin
removingthehiddenbackgroundlinesintheimage.
Therearealsolimitationswiththewire-framemodelsintheway
manyCADsystemsdefinethemodelintheirdatabases.Forexample,there
mightbeambiguityinthecaseofasurfacedefinitionastowhichsideofthe
surfaceissolid.Thistypeoflimitationpreventsthecomputersystem from
achievingacomprehensiveandunambiguousdefinitionoftheobject.
73. 73
Pk+1=Pk+2dx
Otherwise,nextpointtoplotis(xk+1,yk+1)and
Pk+1=Pk+2dx–2dy
4. Repeat‘step3’dytimesory1=y2
5. Stop
MODULEII
NUMERICALCONTROL
INTRODUCTION
Numericalcontroldefined
Numericalcontrolcan be defined as a form ofprogrammable
automationinwhichtheprocessiscontrolledbynumbers,letters,and
symbol.InNC,thenumbersform aprogram ofinstructionsdesignedfora
particularwork partorjob.When the job changes,the program of
instructionsischanged.Thiscapabilitytochangetheprogram foreachnew
jobiswhatgivesNCitsflexibility.Itismucheasiertowritenewprograms
thantomakemajorchangesintheproductionequipment.
NC technologyhasbeenappliedtoawidevarietyofoperations,
includingdrafting,assembly,inspection,sheetmetalpressworking,andspot
welding.However,numericalcontrolfindsitsprincipalapplicationsinmetal
machiningprocesses.Themachinedworkpartsaredesignedinvarious
sizesandshapes,andmostmachinedpartsproducedinindustrytodayare
madeinsmalltomedium-sizebatches.Toproduceeachpart,asequenceof
drilling operations may be required,ora series ofturning ormilling
operations.ThesuitabilityofNCforthesekindsofjobsisthereasonforthe
tremendousgrowthofnumericalcontrolinthemetal-workingindustryover
thelast25years.
75. 75
FIGUREThreebasiccomponentsofanumericalcontrolsystem:(a)program
ofinstruction;(b)controllerunit;(c)machinetool.
ofadirectlinkwithacomputer.Thisiscalleddirectnumerical
control,orDNC,.
Theprogram ofinstructionsispreparedbysomeonecalledapart
programmer.The programmer's job is to provide a setofdetailed
instructionsbywhichthesequenceofprocessingstepsistobeperformed.
Fora machining operation,the processing steps involve the relative
movementbetweenthecuttingtoolandtheworkpiece.
Controllerunit
ThesecondbasiccomponentoftheNCsystem isthecontrollerunit.
Thisconsistsoftheelectronicsandhardwarethatreadandinterpretthe
program ofinstructions and convertitinto mechanicalactions ofthe
machinetool.ThetypicalelementsofaconventionalNC controllerunit
includethetapereader,adatabuffersignalout-putchannelstothemachine
tool,feedbackchannelsfrom themachinetool,andthesequencecontrolsto
coordinatetheoveralloperationoftheforegoingelements.Itshouldbe
noted that nearly allmodern NC systems today are sold with a
microcomputerasthecontrollerunit.ThistypeofNCiscalledcomputer
numericalcontrol(CNC).
Thetapereaderisanelectromechanicaldeviceforwindingand
readingthepunchedtapecontainingtheprogram ofinstructions.Thedata
containedonthetapearereadintothedatabuffer.Thepurposeofthis
deviceistostoretheinputinstructionsinlogicalblocksofinformation.A
blockofinformationusuallyrepresentsonecompletestepinthesequence
ofprocessingelements.Forexample,oneblockmaybethedatarequiredto
movethemachinetabletoacertainpositionanddrillaholeatthatlocation.
Thesignaloutputchannelsareconnectedtotheservomotorsand
othercontrolsinthemachinetool.Throughthesechannels,theinstructions
aresenttothemachinetoolfromthecontrollerunit.Tomakecertainthatthe
instructionshavebeenproperlyexecutedbythemachine,feedbackdataare
78. 78
inaspecialformat.TherearetwowaystoprogramforNC:
Manualpartprogramming
Computer-assistedpartprogramming
Inmanualprogramming,themachininginstructionsarepreparedon
aform calledapartprogram manuscript.Themanuscriptisalistingofthe
relativecutter/workpiecepositionswhichmustbefollowedtomachinethe
part.In computer-assisted part programming,much of the tedious
computationalworkrequiredinmanualpartprogrammingistransferredto
the computer.This is especially appropriate forcomplex work piece
geometriesandjobswithmanymachiningsteps.Useofthecomputerin
thesesituationsresultsinsignificantsavingsinpartprogrammingtime.
3.Tapepreparation.A punchedtapeispreparedfrom thepart
programmer’sNCprocessplan.Inmanualpartprogramming,thepunched
tapeisprepareddirectlyfrom thepartprogram manuscriptonatypewriter
likedeviceequippedwithtapepunchingcapability.Incomputer-assistedpart
programming,the computer interprets the list of part programming
instructions,performsthenecessarycalculationsto convertthisinto a
detailedsetofmachinetoolmotioncommands,andthencontrolsatape
punchdevicetopreparethetapeforthespecificNCmachine.
4.Tapeverification.Afterthepunchedtapehasbeenprepared,a
methodisusuallyprovidedforcheckingtheaccuracyofthetape.Some
timesthetapeischeckedbyrunningitthroughacomputerprogram which
plotsthevarioustoolmovements(ortablemovements)onpaper.Inthisway,
majorerrorsinthetapecanbediscovered.The"acidtest"ofthetape
involvestryingitoutonthemachinetooltomakethepart.Afoam orplastic
materialissometimesusedforthistryout.Programmingerrorsarenot
uncommon,anditmayrequireaboutthreeattemptsbeforethetapeis
correctandreadytouse.
5.Production.ThefinalstepintheNCproceduretousetheNCtape
in production.Thisinvolvesordering theraw workpartsspecifying and
preparingthetoolingandanyspecialfixturingthatmayberequired,and