Artwork master Inspection and touch up Production phototools Inspection and touch up. development of outer layers



Similar documents
An Algorithm for Classification of Five Types of Defects on Bare Printed Circuit Board

Novel Automatic PCB Inspection Technique Based on Connectivity

Automatic Detection of PCB Defects

PCB DETECTION AND CLASSIFICATION USING DIGITAL IMAGEPROCESSING

PCB Defect Detection and Classification Using Image Processing

AN ALGORITHM TO GROUP DEFECTS ON PRINTED CIRCUIT BOARD FOR AUTOMATED VISUAL INSPECTION

Wavelet-Based Printed Circuit Board Inspection System

CHAPTER 5. OVERVIEW OF THE MANUFACTURING PROCESS

PCB defect detection based on pattern matching and segmentation algorithm

AUTOMATIC ATIC PCB DEFECT DETECTION USING IMAGE SUBTRACTION METHOD

How to Build a Printed Circuit Board. Advanced Circuits Inc 2004

FLEXIBLE CIRCUITS MANUFACTURING

Introduction to Photolithography Concepts via printed circuit board (PCB) manufacturing. PCB Background Information (courtesy of Wikipedia)

Ms. Prachi P. Londe #1, Prof. Atul N. Shire #2 #1 II nd Year M.E. (D.E), EXTC Dept.DBNCOET Yavatmal. #2 H.O.D, EXTC Dept,DBNCOET Yavatmal.

Bare PCB Verification System Using Optical Inspection & Image Processing

Good Boards = Results

Key Processes used to Build a Quality Printed Circuit Board

Chapter 14. Printed Circuit Board

MULTI-FLEX CIRCUITS AUSTRALIA. International Suppliers of PRINTED CIRCUIT BOARDS

PCB Defect Detection Using Image Processing And Embedded System

Detection of Bare PCB Defects by Image Subtraction Method using Machine Vision

Printed Circuits. Danilo Manstretta. microlab.unipv.it/ AA 2012/2013 Lezioni di Tecnologie e Materiali per l Elettronica

Flexible Printed Circuits Design Guide

Historical production of rigid PCB s

White Paper. Recommendations for Installing Flash LEDs on Flex Circuits. By Shereen Lim. Abstract. What is a Flex Circuit?

1. Single sided PCB: conductors on only one surface of a dielectric base.

Auditing a Printed Circuit Board Fabrication Facility Greg Caswell

Executive Summary. Table of Contents

Webinar HDI Microvia Technology Cost Aspects

Work Instruction SUPPLIER PRINTED CIRCUIT BOARD REQUIREMENTS

LO5: Understand commercial circuit manufacture

Compliant Terminal Technology Summary Test Report

Image Processing Based Automatic Visual Inspection System for PCBs

PRINTED CIRCUIT BOARD SURFACE FINISHES - ADVANTAGES AND DISADVANTAGES

Rigid-Flex Technology: Mainstream Use but More Complex Designs by John Isaac October 1, 2007

PCB Board Design. PCB boards. What is a PCB board

Flex Circuit Design and Manufacture.

Flexible Circuit Simple Design Guide


COMPUTER VISION SYSTEM FOR PRINTED CIRCUIT BOARD INSPECTION

COLOR-BASED PRINTED CIRCUIT BOARD SOLDER SEGMENTATION

Development and Integration of a Micro-Computer. . based Image Analysis System for Automatic PCB Inspection

Designing with High-Density BGA Packages for Altera Devices

3 Embedded Capacitor Material

An Introduction to Rigid-Flex PCB Design Best Practices

Using CAD Data in Assembly - Advantages and Pitfalls

Dynamic & Proto Circuits Inc. Corporate Presentation

Connector Launch Design Guide

DRIVING COST OUT OF YOUR DESIGNS THROUGH YOUR PCB FABRICATOR S EYES!

Printed Circuit Board Defect Detection using Wavelet Transform

How to avoid Layout and Assembly got chas with advanced packages

Report. Soldering Tests at COM Express Connectors, Type Receptacle and Plug. Order: Bergwerkstraße 50 D Peiting. Your Order-No.

BGA - Ball Grid Array Inspection Workshop. Bob Willis leadfreesoldering.com

Aspocomp, PCBs for Demanding Applications

RESEARCH PAPERS FACULTY OF MATERIALS SCIENCE AND TECHNOLOGY IN TRNAVA SLOVAK UNIVERSITY OF TECHNOLOGY IN BRATISLAVA

3D TOPOGRAPHY & IMAGE OVERLAY OF PRINTED CIRCUIT BOARD ASSEMBLY

Printed Circuit Board Fabrication N I A G A R A C O L L E G E T E C H N O L O G Y D I V I S I O N

Flexible Solutions. Hubert Haidinger Director PE/CAM BU Industrial & Automotive 5.June

Laboratory 2. Exercise 2. Exercise 2. PCB Design

Printed Circuit Board Design & Fabrication

PCB Prototyping Machine. Auto Lab. Tutorial MITS Electronics

Computer-Aided System for Defect Inspection in the PCB Manufacturing Process

DESIGN GUIDELINES FOR LTCC

Page 1

Quality assurance of flex circuits in the SCT barrel hybrid production

Rogers 3003, 3006, 3010, 3035, 3203, 3206, 3210

ECP Embedded Component Packaging Technology

Miniaturizing Flexible Circuits for use in Medical Electronics. Nate Kreutter 3M

ADVANCES IN AUTOMATIC OPTICAL INSPECTION: GRAY SCALE CORRELATION vs. VECTORAL IMAGING

VECTORAL IMAGING THE NEW DIRECTION IN AUTOMATED OPTICAL INSPECTION

Introducing CAM350 a Complete PCB Fabrication Flow for Both PCB Designers and PCB Fabricators.

This presentation is courtesy of PCB3D.COM

SCREEN PRINTING INSTRUCTIONS

Multi-Flex Circuits Aust.

PIN IN PASTE APPLICATION NOTE.

Designing a Schematic and Layout in PCB Artist

IIB. Complete PCB Design Using OrCAD Capture and PCB Editor. Kraig Mitzner. ~»* ' AMSTERDAM BOSTON HEIDELBERG LONDON ^ i H

italtec PRINTED CIRCUITS EQUIPMENT PRINTED CIRCUITS EQUIPMENT Insulator machines Echting machines Special equipment and machines

Automated Optical Inspection is one of many manufacturing test methods common in the assembly of printed circuit boards. This list includes:

What is surface mount?

! Making your own Open Source Hardware Arduino Shield with Fritzing. Justin Mclean

Graser User Conference Only

Solutions without Boundaries. PCB Surface Finishes. Todd Henninger, C.I.D. Sr. Field Applications Engineer Midwest Region

Flexible Circuits and Interconnect Solutions More than a manufacturer

Defect Detection of SMT Electronic Modules

Balancing the Electrical and Mechanical Requirements of Flexible Circuits. Mark Finstad, Applications Engineering Manager, Minco

SpeedLight 2D. for efficient production of printed circuit boards

Complete. PCB Design Using. NI Multisim, NI Ultiboard, LPKF CircuitCAM and BoardMaster. pg. 1. Wei Siang Pee

Ultra Reliable Embedded Computing

Guide to Designing and Fabricating Printed Circuit Boards

Reflection and Refraction

Basic Designs Of Flex-Rigid Printed Circuit Boards

Document number RS-PRD Revision 05 Date 20/10/2009 Page 1/30

3D Deformation Measurement with Akrometrix TherMoiré and Digital Fringe Projection

Be the best. PCBA Design Guidelines and DFM Requirements. Glenn Miner Engineering Manager March 6, 2014 DFM DFT. DFx DFC DFQ

Transcription:

AutomaticPCBInspectionAlgorithms:ASurvey UniversityofMissouri-Rolla,Rolla,MO65401 MadhavMoganti1 DepartmentofComputerScience FikretErcal2 UniversityofMissouri-Rolla,Rolla,MO65401 DepartmentofEngineeringManagement CihanH.Dagli3 ToshibaCorporation ShouTsunekawa Japan 1 abstract ofthemodernmanufacturingenvironment.inelectronicsmass-productionmanufacturingfacilities,anattemptisoftenmadetoachieve100%qualityassuranceof Inthissurvey,algorithmsandtechniquesfortheautomatedinspectionofprinted allparts,subassemblies,andnishedgoods.avarietyofapproachesforautomated visualinspectionofprintedcircuitshavebeenreportedoverthelasttwodecades. circuitboardsareexamined.aclassicationtreeforthesealgorithmsispresented andthealgorithmsaregroupedaccordingtothisclassication.thissurveyconcen- state-of-the-arttechniques.asummaryofthecommercialpcbinspectionsystems tratesmainlyonimageanalysisandfaultdetectionstrategies,thesealsoincludethe Theimportanceoftheinspectionprocesshasbeenmagniedbytherequirements 2 Introduction isalsopresented. Manyimportantapplicationsofvisionarefoundinthemanufacturinganddefenseindustries. Inparticular,theareasinmanufacturingwherevisionplaysamajorroleareinspection,measurements,andsomeassemblytasks.Theorderamongthesetopicscloselyreectsthemanufacturingneeds.Inmostmass-productionmanufacturingfacilities,anattemptismadeto achieve100%qualityassuranceofallparts,subassemblies,andnishedproducts.oneofthe mostdiculttasksinthisprocessisthatofinspectingforvisualappearance-aninspection thatseekstoidentifybothfunctionalandcosmeticdefects.withtheadvancesincomputers (includinghighspeed,largememoryandlowcost)imageprocessing,patternrecognition,and photomasks,etc.nello[1]givesasummaryofthemachinevisioninspectionapplicationsin articialintelligencehaveresultedinbetterandcheaperequipmentforindustrialimageanalysis.thisdevelopmenthasmadetheelectronicsindustryactiveinapplyingautomatedvisual inspectiontomanufacturing/fabricatingprocessesthatincludeprintedcircuitboards,icchips, electronicsindustry. 01mmoganti@@cs.umr.edu;2ercal@@cs.umr.edu;3c3260@@umrvmb.umr.edu

printedcircuitboard(pcb).theysimplyinspecttheworkvisuallyagainstprescribedstandards. Thedecisionsmadebythesehumaninspectorsofteninvolvesubjectivejudgment,inaddition tobeinglaborintensive[2]andthereforecostly,whereasautomaticinspectionsystemsremove Humanoperatorsmonitortheresultsofthemorethan50processstepsrequiredtofabricatea thesubjectiveaspectsandprovidefast,quantitativedimensionalassessments.theseautomatic systemsdonotgettired,donotsuerburnouts,andareconsistentdayinanddayout.applied ateachappropriatestepoftheassemblyprocesstheycanpreventvaluebeingaddedaftera defecthasoccurred,reducereworkcosts,andmakeelectricaltestingmoreecient.allofthis meansbetterqualityatalowercost.overtheyearsmanyresearchers[3,4,5,6]haveemphasized theimportanceofautomaticinspectionsystemsintheelectronicsindustry. boardassembly,andsolderedboardprocess[5,7,8].theincreaseinautomatedproductionline technologyhasrapidlyinitiatedsubstitutesforhumanvisualinspection.thesesystemshave beenproducedwithdistinctandlimitedcapabilitiesforcoveringthefaultspectrumateach ThemajorPCBmanufacturingstagesandprocessstepsinvolvebare-boardfabrication,loaded signicantstageofpcbmanufacture[5].eventodatemachinevisioncommunityconsiders Theproblemsofloaded-boardandsoldered-boardinspectionhavebeenaddressedbuttheresults automaticbarepcbinspectiontobethemostmatureindustrialvisualinspectionapplication. manufacturingenvironment[6,10,11,12,13,14]: criteria,thesophisticationinautomatedvisualinspectionhasbecomeapartofthemodern aretypicallylimitedtodetectionofmorenoticeablediscrepancies[9].duetothefollowing Theyrelievehumaninspectorsofthetediousjobsinvolved. Manualinspectionisslow,costly,leadstoexcessivescraprates,anddoesnotassurehigh Multi-layerboardsarenotsuitableforhumaneyestoinspect. Withtheaidofamagnifyinglens,theaveragefault-ndingrateofahumanbeingisabout quality. 90%.However,onmulti-layeredboards(say6layered),theratedropstoabout50%.Even Productionratesaresohighthatmanualinspectionisnotfeasible. Industryhassetqualitylevelssohighthatsamplinginspectionisnotapplicable. withfaultfreepowerandgroundlayers,theratedoesnotexceed70%[11]. Aspackagingtechnologiesbecomeincreasinglycomplex,substratesbecomemorecostly, Tolerancesaresotightthatmanualvisualinspectionisinadequate. suitableforonespecicapplication.avarietyofapproachesforautomatedopticalinspection Mostvisionsystemsforautomatedindustrialinspectionarecustomdesigned,sotheyareonly hencescrapbeminimized. spectionofbarepcbsisthemostmatureindustrialinspectionapplication,thereisnosingle ofprintedcircuitboards(pcbs)havebeenreportedoverthelasttwodecades.thoughinviewonautomaticvisualinspection[15,16]hasasectiondedicatedtotheinspectionofpcbs. publicationwhichcomprehensivelysurveysthetechniquesstudiedthisfar.themostrecentre- ThisreviewcoversverybrieysomeoftherecentadvancesinPCBinspection,alongwiththe 2

madesolelyintheeldofbarepcbvisualinspection.thesignicantimprovementsinthis theprintedwiringboardalgorithms.thissurveyisanattempttoputtogethertheadvances techniquesthatwerepublishedin[17,18,19].sanzandjain[20]presentedagoodreviewof arepresented.oneofthegoalsofthisstudyistocollectmost(ifnotall)ofthearticlesinthis ofpcbsareexamined.thissurveyconcentratesmainlyonimageanalysisandfaultdetection strategies,whichincludestate-of-the-arttechniques.limitationsofcurrentinspectionsystems eldjustifythissurvey.inthissurvey,algorithmsandtechniquesfortheautomatedinspection eldpublishedtodate,toclassifyanddiscussthemaccordingtothemethodologiesemployed. Allofthesewillbediscussedunderaconsistentsetofterminologies(wherevariationswillbe 2.1TypesofInspection mentioned)inthehopethatsuchauniedtreatmentwillbehelpful. PCBawdetectionprocedurescanbebroadlydividedintotwoclasses[12,21]:electrical/contact methodsandnon-electrical/non-contactmethods.electricaltestmethodscanndawssuch asshortsandopens;theothersrequiresomeothermethodsofdetection.eventhoughmany designparameterscanbesuccessfullycheckedbyelectricaltest[22],ithaslimitationsthatcould allowdefectiveproductstopass.potentialdefectssuchaslinewidthorspacingreductionsare inches,thexturesnecessaryfortestingbecomeextremelycomplicatedandexpensive.electrical electricaltestingisverysetup-insensitive.asboardscometobedesignedongridsoflessthan0.1 copperonaninnerlayer,whichmaycausefailureofthenalboard,arealsomissed.further, notdetected,norarecosmeticdefectsorthosecausedbyprocessproblems.defectslikeexcess testing,therefore,augmentsvisualinspectionbutcannotreplaceit.thedouble-linedboxesin Figure1designatestagesatwhichelectricaltestingcaninprinciple,beapplied.Animageofa PCBcanbeacquiredusingvisibleorinvisiblelightandthenanalyzedfordefects.Mostcommon imagingtechnologies.someofthenon-contactautomaticinspectionmethodsthatarecurrently spectrum.thissectionbrieylistssomeofthedierentinspectionsystemsbasedondierent availableare[21,23,24,25,26]: andreliablemethodsreportedintheliteraturehavemadeuseoflightinthevisiblepartofthe AutomaticVisual/Opticalinspection:Automaticopticalinspection(AOI)systemsdetectthesametypeofsurface-relateddefectsasmanualinspection,includingbare-board inspection,solderbridging,lackofsolder,missingcomponents,poorpartorientation,lifted nddefectsotherthanshorts,andopens,suchaslinewidtherrors,padmousebites,and leads,tombstoning,andsolderballs.consideringbare-boarddefectsopticaltesterscan tracemisplacements.thispaperfocusesontheautomaticinspectionofbare-boards.the loaded-boardinspectionsystemscanbefoundinthefollowingreferences[7,27,28].automaticopticalinspectionhasthefollowingcharacteristicsthatcontacttesting(electronic testing)doesnothave[11,29,30]: {Itrecognizespotentialdefectssuchasout-of-specs,linewidths,linespacing,voids, linesburnupoverlongperiodsorunderfairlylargecurrents.also,inhighfrequency circuits,thesedefectsmaycauseleakage,parasitecapacitance,impedanceormutual pinholes,etc.thesearenotalwaystraceablebycontacttestingmethods.narrow atthesystemlevel. inductance.therefore,afterelectronictesting,apcbmaystillnotoperateeectively 3

Artwork master Inspection and touch up Production phototools Inspection and touch up Exposure and development of inner layers Inspection and touch up Etching of inner layers Inspection and repair Lamination and drilling Plating through holes Exposure and development of outer layers Inspection and repair Plating tin-lead and Inspection and repair Machine and solder mask Inspection and repair etch {AnAOIsystemisnotconnedbyadesigngridduringinspection-unlikemost electronictestingequipment. Figure1:StagesinMultilayerPCBfabrication {Electricaltestmethodsareexpensivebecauseofthenumberofxturesrequired. {AOIisanon-contactinspection,thusavoidingmechanicaldamage. {AOIcaninspectartworkandprovidesstrictproductcontrolfromtheonsetofproduction. X-rayimaging:X-rayimagingsystems[2,24,30]areusedforrapidandprecisemeasurementofmulti-layeredPCBs.Basedonthemeasurementsofindividualtestpads,the thelayers.x-raysalsorevealminutedefects,suchashairlinecracks,whichescapeother systemsuppliesspecicinformationonlayerregistration,distortionandthetorsionof methodsofinspection.smddefectslikeheelcracking,voids,componentmisalignment, Scanned-BeamLaminography:Laminography[30]providescross-sectionalX-rayimaging leadscanbedetectedusingx-rays. bridging,insucientsolder,excesssolder,solderthreadsandballs,poorwetting,andbent separatedimages.thebasicprincipleoflaminographyistomovethex-raysourceand thex-rayimagedetectoraroundonoppositesidesoftheobject.aslongasthex-ray whichseparatesthetopandbottomsides,oranyotherlayerofthepcb,intocleanly detectorsimultaneously,across-sectionalimageisformedinrealtime.bychangingthe sizeofthex-rayscanningcircle,theeldofviewandmagnicationoftheimagecanbe variedonthey.thisenablesinspectionofne-pitchcomponentsathighmagnication beamalwayspassesthroughthesamepointsintheobjectandthesamepointsinthe UltrasonicImaging:Ultrasonicimagingtechnologybestdetectssolder-jointdefectssuch andofothercomponentsatnormalmagnicationtooptimizethroughput. asinternalvoids,cracks,anddisbands.anultrasonicimagingsystem[31]generatesprecise 4

imagesbyscanningafocusedpiezoelectrictransducersignalinarasterpatternoverthe dissimilarmaterialsmaketheirpresenceknownbyreecting(echoing)thehigh-frequency pulses.inpractice,thissystemislimitedtosimplesolder-jointgeometries.forextremely producedbythetransducertoreachthesolderjoints.defectsorthejuxtapositionof solderjoints.acouplinguidallowstransmissionofshortpulsesofultrasonicenergy ThermalImaging:Thermalimagingsystems[24]indicatehotspotsonoperatingPCBs ne-pitchsurfacemountapplications,thereectionandrefractioneectsmayscatterthe pulses,makingdetectiondicult. indicatingshortsandoverstressedcomponents.usuallythesesystemsndsuccessin applicationsinwhichautomatedmeasurementofheatisutilizedtounderstandprocess performanceorinwhichtemperaturemeasurementandcontrolarevitaltoprocessyield. ComparedtoopticalandX-rayinspectionsystems,thermalinspectionsystemsareless automated[30].laserscanningsystems[2]belongtothiscategory.theyaresuccessful 2.2StagesinMultilayerPCBfabrication indierentiatingbetweenpcbcopperandsubstrate.usinginfrareddetectorsdistinctive thermalproleofthedefectivesolderjointsovernormaljointscanbedetected. visualinspectioncanbeapplied. TheactualinspectionconditionsthatexistatdierentpointsofthemultilayerPCBmanufacturingprocess[12,32]areasfollows.Figure1depictsthesestagesalongwiththepointswhere Artworkmasters:Thesearesilverhalide1:1scaletransparenciesoftheconductorpattern willdirectlyaectallensuingproductionbatchesofthegivenpcb.therefore,agreat dealofworkisusuallyputintotheincominginspectionandtouch-upofartworkmasters. areproducedinmostcasesbycomputerdrivenphotoplotters.defectsonthemaster onlm.forveryhigh-qualityproducts,glassmastersarealsoinuse.artworkmasters nishedboardshowthatthesmallestdefectonthemasterortoolwhichistransmittedto Investigationsofthepropagationofdefectsfromtheartworkmasterandphototoolstothe thenishedproducthasdimensionsofapproximately1mil.themostcommondefectson Phototools:Thesearesilverhalideordiazotransparenciesobtainedbycontactprinting productasopens,shorts,andpinholesorcoppersplashes. artworkmastersarecausedbyscratchesanddustparticles.theseshowuponthenished Innerandouterlayersafterexposureanddevelopment:Thesearesheetsofcopper-clad inspectionneedsanddefectsofartworkmastersapplyalsotophototools. fromtheartworkmaster.theyareusedfortheactualexposureoftheboards.the and-repeatthephotoresistprocess.defectscausedbydustandotherforeignparticles Inspectionatthisstageisverybenecialbecauseofthepossibilitiestotouch-uporstrip- thedefectsfoundafteretchingwerealreadypresentasdefectsinthephotoresistpattern. laminate,overcoatedwithphotoresist,withtheconductorpatternexposedonit.manyof duringexposurecanbeaddedtothelistofdefectsmentionedforartworkandphototools. Imperfectrinsingofthephotoresistmayleaveexcessmaterialonthepanel,whichcan createopensafteretching. 5

Innerlayersafteretchandstrip:Thisisthepointatwhichmostofthevisualinspection isinvestedinthemultilayermanufacturingcycle,becausethisisthelastinspectionstage beforelamination.afterthispoint,adefectiveinnerlayerinthemultilayerboardisnot repairable.defectsmentionedthusfarcanappearatthisstage,inadditiontosubsequent Outerlayersafteretch:Asinthecaseofinspectionoftheinnerlayersafteretch,thisis copper.exactgaugingofconductorandspacingwidthsisusuallynecessaryatthisstage. defectslikeover-andunder-etch,whichleadtonarrowconductorsorspacingsandexcess thelastpointatwhichrepairscanbemadeontheconductorpattern.theaoiproblem Inspectionaftermachiningandsoldermasking:Thisismainlyacosmeticnalinspection. isdierentatthisstagebecauseoftheappearanceofholesandthenecessityofinspecting theirannularringsforwidthandbreakout. 2.3Defects Defectsintheconductorpatterncanhardlybedetectedatthisstagebecausethesolder maskobscurestheconductors. Printedcircuitboardsareinspectedextensivelybeforetheinsertionofcomponentsandthe processingstepsinvolvedinthevericationofartworkdesign.avarietyofdefectscanaict approachesareusedinthevericationofartwork[33,34,35,36],beforebeginningactualetching solderingprocesstoisolatedefects(alsocalledanomaliesorfaults).eventhoughautomated thecopperpatternofpcbs;notallmeanimmediaterejectionoftheboardfromconsideration. processontheboard,bare-boarddefectsstillexist.hall[33]outlinestheprocessingandpost- Thetypesoffaultsrangefromhair-line(e.g.,sizeequalto100microns)breaksandbridges shorts(bridge),incipientshort(newiring),overetching,underetching(abnormalwirewidth), unetchedcopper,open(breakorcut),partialopen(mousebiteornicks),scratchesorcracks, linewidths,topoorlyformedplatedthroughholes.theanomalieslookedat,forexampleare: assmallas1mmbetweenconductorpaths,tounacceptableenlargementsandreductionsin whiskersorsmears),crackingofwallsofholes,violationsofspacingofholes,violationofspacing padsizeviolations,spurious(excessorresidual)metalormetalspecks,spurs(protrusionsor ofconductortraces,etc.awidevarietyofterminologyisusedinnamingthesefaults.the popular/unpopularnamesinparenthesis. abovelistgivesthecommonlyassociatednamesusedinnamingthedefects,followedbyother dierentpatternsareshowninoneexampleimage.figure2.3showsthesameimagepattern PCBpatterns,printedwiringboardpatterns,andsurfacemountPCBpatternsinthesame image.becausemostofthedefectsarecommontoallthreevarietiesofboards,thethree Figure2showsanarticialdefect-freePCBimagepattern.Thisguredepictsthrough-hole asinfigure2withavarietyofdefectsshowninit.thougheachdefectshowninthegure isarepresentativeexampleforthatparticulardefect,theshapeandsizeofthedefectvaries defectsarecausedduetooneormoreofthefollowingerrors[21,37]: serious,morelikelyandhardertodetect.studies[29,37,38]showthatopen/partialopen, short,pinhole,breakout,overetch,underetcharethemostfrequentdefectsthatoccur.these fromoneoccurrencetoanother.smallerandsmallerlinesandspacesmakethesedefectsmore thermalexpansionoftheartworkduringprinting,orbydefectiveetching, 6

dirtonboard,airbubblesfromelectrolysis, Figure2:ExampleofGoodPCBPatterns mechanicalmisregistrations, distortionsofthepcbduetowarping,etc. incorrectelectrolysistiming, thefabricationofpcbs.thedimensionalvariationsintheconductorspacingsandwidthsdue faultsrequireatleast0.5milimagingresolution,thereforedust,hair,lint,andngerprints toseasonaltemperatureandhumiditychangesshouldbetakenintoaccount.further,1mil Thibadeauin[39]givesagoodsummaryofsomedefectsandtheircausesthatoccurduring Althoughitispossibletodetectinitialdefectssuchasconductorbreaksandshortcircuits becomeunwantednoisesourcesforfalse-alarms,makingcleanroomconditionsnecessary[5]. throughconductortests,thesetestscannotrevealoveretchedconductors,limitedconductor spacing,andotherdefectsthatcanleadtodeteriorationwithage[32].inadditiontodefect detectioninspectionofbarepcbsdemands[40]: highspeed, alowfalse-alarmrate. highdetectionaccuracy,and highdatarate, 7

1. Breakout 2. Pin Hole 3. Open Circuit 4. Underetch 5. Mousebite 6. Missing Conductor 7. Spur 8. Short 9. Wrong Size Hole 10. Conductors too close 11. Spurious copper Figure3:ExampleofDefectivePCBPatterns 12. Excessive Short 13. Missing Hole 14. Overetch 3Thissectionbrieydenesthemostcommonlyusedterminologyinthiseld.Thereaderisnot providedwithanyrigorousandcompletedenitions.interestedreadersareadvisedtoreferto ComponentsandTerminologyInvolved recentpictureprocessingormachinevisiontextbookstogetacompleteunderstandingofthe individualsubjectsinvolved.thissectionalsoidentiesthemajorcomponentsofaninspection boards,andsurfacemountboards,inthispaperthegenerictermprintedcircuitboard(pcb)is system.thoughthereisdistinctionbetweenprintedcircuitboards(multilayer),printedwiring usedtorefertoallofthem.thisisbecausemostofthedefectsandtechniquesofdefectanalysis arecommonforallofthem.alsoitisworthmentioningthatsomeofthesetechniquesareused inothertypesofinspection[8,20,41,42,43,44,45]likeintegratedcircuitinspection,thicklm analysisinvolvestheprocessingoftheimagerytoenhancerelevantfeaturesandthedetection andhybridcircuitinspection. anomalies.theprocessinvolvesdigitizationoftheobjecttobeinspectedforvisualdataandthe ofdefects.oneinspectionprocedureofsuchasystemrstprecompilesadescriptionofeach Atypicalinspectionprocessinvolvesobservingthesametypeofobjectrepeatedlytodetect ofaknownsetofdefectsandthenusesthesemodelstodetectdefectsinanimage.another proceduremodelsthepartbyitsnormal,expectedfeaturesandthenusesthepartmodelto verifyinanimagethatthepartunderinspectionhasalltheexpectedfeatures.fosteretal.[10] general.thefollowingdiscussionoutlinessomeofthemajorcomponentsinvolvedinautomated andchin[46]outlinedthemajorissuesinvolvedinpcbinspection,andindustrialinspectionin visualinspectionsystems: HardwareSystem:IndustrialPCBvisualinspectionideallyrequiresacost-eectiveo- 8

the-shelfsystem.thismeansthatitshouldbedesignedtotakeintoaccountoperation arethematerialandcomponenthandlingsystem,illuminationsystem,imageacquisition speed,reliability,easeofuse,andmodularexibility,inorderthatitcanbeadaptedto dierentinspectiontasks[11].themainhardwarecomponentsoftheinspectionsystem system,andtheprocessor. {MaterialandComponentHandlingSystem:Thissystemcomprisesthemechanism {IlluminationSystem:Suitablelightingandviewingconditionsfacilitateinspection, componentsoftheautomatedvisualinspectionsystem[47]. whichpresentsthepartorassembly,denotedmaterial,indierentorientationstothe pointedouttheimportanceoflightingtechniques[48,49,50].themainparameters avoidingtheneedforcompleximageprocessingalgorithms.manyresearchershave goodqualityare:(a)intensity,(b)uniformity,(c)directionality,and(d)spectral thatcharacterizethesuitabilityofanilluminationsystemtoacquireanimageof prole.therelativeimportanceoftheseparametersandthedegreetowhicheach PCBandtheconstraintsimposedbythecamera.Examplesofdierentsurface onemustbecontrolledarelargelygovernedbythesurfacecharacteristicsofagiven photoresist,(d)redphotoresist,(e)solderbeforereow,(f)solderafterreow,(g) characteristicsinclude[51]:(a)etchedcleancopper,(b)oxidecoatedcopper,(c)blue dierentlightingtechniques.amongthelightingtechniquesmostcommonlyusedare layersthatareopaque,(h)thintransparentlayers,and(i)phototools.mostofthe inspectionsystemsbuilttodateeitherrequiregoodlightingconditionsortheyemploy [37,48,49,50,52,53]:standardlightsources,indirectandbacklighting,uorescent Camera Camera Camera Half-mirror Light source (a) (b) (c) Camera Camera Light Light source 1 source 2 Diffuse Surface Fluorescent filter Figure4:Dierentilluminationtechniques(a)Backlighting(b)Directedlighting(c)Vertical Camera Filter transparent lighting(d)fluorescentlighting(e)bidirectionallightingand(f)diuselighting to ultra-violet rays Dichroic mirror Light source Object Shadow Light Source 9 (e) (f)

lighting,reected(vertical)lighting,bidirectionallighting,diuseillumination,beroptic,quartz-halogenlightsources,etc.someoftheselightingtechniquesareshown wasilluminatedwithasuperhigh-pressuremercurylamp,andthereectedlightis anduorescentlightingtechniques.incaseofreectedlightfigure4(c),thepcb experimentation.forexample,haraetal.[54]haveexperimentedwithreected ingure4.anappropriatelightingcongurationisdeterminedbyjudgementand highsensitiveimagetubetypetvcameraisusedtodetectthelightsignals.a detectedbyusingaccdlinearimagesensor.inuorescentlightdetectionfigure 4(d),astheamountofuorescentlightemittedbythebasematerialissmall,a {ImageAcquisitionSystem:Imagesareusuallyacquiredbyuseofacameraora dichroicmirrorisusedtoreectshortwavelengthradiationsalongwithvarioustypes ofltersusedtocompletelyseparatetheexcitationradiationfromthesuperhigh pressuremercurylamp,leavingadequateuorescentlightsignals. camera,etc.aoisystemcorp.developedtheaoi-20systemthatutilizesasmany digitizerthatactsasasensor.thereareaseveraltypesofcamerasavailableand as20ccdcameras[32].themop-5002systemoperateswithoneortwocameras typesaretelevisioncamera(achargedcoupleddevice(ccd)camera),laserscanner thedeterminationoftheappropriatetypeisdictatedbyuse.examplesofdierent whichscanthepcbimagethroughlinearccdsensors,wherehighprecisionlenses guaranteethemaximumpossibleresolutionandawidedepthofeld.everycamera {Processor:Theprocessorsystemusuallyconsistsofahighspeedcomputersystem. hasitsownmicroprocessorsystemjustforcamerafunctionssuchasautomaticfocus, automaticexposure,andautomaticcontrastadjustment.greyscaleprocessorsand realtimedigitizationfacilitiesbreaktheimagedownintoindividualpoints. highspeedparallelprocessingsystem[32].anzaloneetal.[55],implementedtheir inspectionsystemonthesmaemultiprocessorsimd/mimdarchitectureemulator. Mostofthecommerciallyavailablesystemshavespecialprocessorsdesignedsolely forinspectionpurposes.acommerciallyavailableinspectionsystem,aoi-20,usesa Resolution:Anyadequatevisionsystemmusthavesucientresolutiontodetectthe compensatingtechniquesareemployed(multiplecameras,etc.). milsystempixelsize.asmallerpixelsizeusuallymeansasmallereldofvisionifno beatleasttwicethatofthevisionsystem;i.e.,twomilminimumfaultsizerequiresaone potentialfaultsunderinspection.thepixelsizeofthesmallestfaulttobedetectedshould ImageEnhancement:Involvesremovalofnoise,enhancementofedges,enhancementof contrast,etc.thresholding(pointprocessingoperation),convolution(groupprocessing FeatureExtraction:Thedecisionregardingwhatfeaturestobeconsideredisrathersubjectiveanddependsonpracticalsituations.Featuresarelesssensitivewithrespecttothe encounteredvariationsoftheoriginalnoisygray-scaleimagesandprovidedatareduction techniquesusedforenhancementoftheimages[47,56]. operation),andpictureprocessing(processingovertheentireimage)aresomeofthe Model-BasedSystem:Themostcommoninspectiontechniqueisthemodelbasedprocess, whilepreservingtheinformationrequiredfortheinspection.mostoftheproceduresused forfeatureextractionaresimpleedge-detection,linetracing,andobjectshapeproperties. 10

Modeling:Modelinginvolvestraining,inwhichtheuserusesamodelparttoteachthe whichperformsinspectionbymatchingthepartunderinspectionwithasetofpredened systemthefeaturestobeexamined,theirrelations,andtheiracceptabletolerances. models. Detection/Verication:Detectionprocessconsistsofmatchingtheextractedfeaturesfrom positionsandorientations.detectionusingrepresentativefeaturesandtheirrelationships verycomplexiftheimagetobeinspectedisnoisyandthefeaturescouldoccuratrandom dureinvolvessimplecomparison,likeimagesubtraction.thedetectionprocessbecomes theimageunderinspectionwiththoseofthepredenedmodel.atypicaldetectionproce- BoundaryAnalysis:Modelsofgoodboundariesarecomparedwiththoseoftheboard fromkeyfeatures.thesemethodsareusuallycomputationallyintensive. provideawaytoinspectapartandlocatedefectsonthebasisofmeasurementstaken Thinning,Contraction,andExpansion:Theseareimage-to-imagetransformationoperations[59,60].Theseoperationsaredenedusingneighborhoodconnectivityrelations.An expansionsetsallbackgroundpixelsinanimagetoforegroundpixelvalue,ifanyoneof result.thinningreducesanentitytoitsskeleton,asimpliedversioncontainedinthe byrstexpandingthecomplementofanimageandthentakingthecomplementofthe originalentitythatretainsthebasicshapeofanentity.unlikeexpansionorcontraction, thinningmaintainstheconnectivity[61]ofanentityandpreservesitsholes(noneare beinginspected[57,58]. theneighboringpixelvaluesisequaltotheforegroundpixelvalue.contractionisrealized Morphology:Thisreferstoabranchofnonlinearimageprocessingandanalysis.The removedoradded).dierentdenitionsandimplementationsoftheseoperationscanbe foundin[62,63,64,65]. completetreatmentofthissubjectcanbefoundinreferences[66,67]. basicideaistoprobeanimagewithastructuringelementandtoquantifythemanner inwhichthestructuringelementts(ordoesnott)withintheimage.theoperations ofdilation,erosion,opening,closing,etc.,areusedinthistypeofimageprocessing.a 4Eduardo[15]hasgroupedtheconventionalvisualinspectiontasksintothreebroadcategories basedonthetypesofdefectstheydetect:(a)dimensionalverication,(b)surfacedetection Algorithms gorithmscouldaswellbeputintothesecategories.sanzandjain[20]classiedtheprinted methods,and(c)inspectionofcompleteness.theconventionalpcbbare-boardinspectional- wiringboardinspectiontechniquesintothefollowingfourdierentcategories:run-length-based orindirectimagerelateddata)ofthealgorithmsuseforfaultidenticationispresentedhere. methods,boundaryanalysistechniques,patterndetectionmethods,andmorphologicaltechniques.aclassicationbasedonthenatureoftheinformation(designspecicationdata/direct AlargenumberofPCBinspectionalgorithmshavebeenproposedintheliteraturetodate, gories:referencecomparison(orreferentialapproaches),non-referentialapproaches,andhybrid Figure5showstheclassicationofthesealgorithms.Ingeneral,theyfallintooneofthreecate- 11

Image subtraction PCB inspection Automatic visual inspection X-ray imaging and other technologies Manual inspection Hybrid inspection methods Non-referential inspection Reference based inspection Image comparison techniques Model-based inspection Encoding techniques Template matching Phase-Only method Tree Syntactic Graph matching methods Morphological processing Boundary analysis Run-length encoding Generic method Attributed graph Pattern attributed hypergraph Pattern detection using boundary analysis Figure5:ClassicationofInspectionAlgorithms Radial matching algorithm Learning methods Shape comparison method Circular pattern matching 12

approaches-whichinvolveacombinationofmorethanoneofthesemethods.thereferencecomparisonapproachesusecompleteknowledgeofthecircuitundertest,whereasthenon-referential approachesusetheknowledgeofpropertiescommontoacircuitfamilybutnotknowledgeofthe approachesinvolvesomekindofdirectimagecomparison,betweenpixelsinthetestimageand speciccircuitundertest.therearetwotypesofreferencecomparisonmethods:thesimpler inanidealizedreferenceimage.somewhatmoresophisticatedapproachesinvolverecognitionof circuitfeaturesinthetestimagefollowedbyacomparisonagainstasetofreferencefeatures. Thenon-referentialapproacheseitherworkontheassumptionthatfeaturesaresimplegeometricshapesandthedefectsareunexpectedirregularfeaturesorondirectlyverifyingthedesign requireddimensions.thisapproachdoesnotrequireprecisealignment,butmightmisslarge rules.basically,thesemethods,uselocalneighborhoodprocessingtechniquesovertheimageto awsanddistortedfeatures. beinspected.inthesemethods,thetaskistodeterminewhethereachfeaturefallswithinthe 4.1ReferentialModeling Thereferentialmethodsexecutearealpoint-to-point(orfeature-to-feature)comparisonwhereby thereferencedatafromthesurfaceimageofa\good"sampleisstoredinanimagedatabase. Thesemethodsdetecterrorslikemissingtracks,missingtermination,opens,shorts,etc.The drawbackofthismethodisthat,sincedierencesbetweenthepcbunderinspectionanda \goldenboard"orcaddataarecalleddefects,boarddistortions,asaconsequenceofprocessing, maybeidentiedasanomalies[29]. XOR Figure6:ImageSubtraction 13

4.1.1ImageComparisonTechniques. ImageSubtractionImagesubtractionisthesimplestandmostdirectapproachtothePCB inspectionproblem.thisisoneoftheearliesttechniquesemployedininspection[68].the PCB.Theadvantagesofthismethodisthatitistrivialtoimplementinspecializedhardwareand showsthisdirectsubtractionprocessasalogicalxoroperationonthesubimagepatternsofthe Thesubtractedimage,showingdefects,cansubsequentlybedisplayedandanalyzed.Figure6 boardtobeinspectedisscannedanditsimageiscomparedagainsttheimageofanidealpart. AfairlyhightoleranceofthePCBboardmakesthemethodtoorestrictiveforpracticaluse. problems,includingregistration,colorvariation,reectivityvariation,andlightingsensitivity. oftheoveralldefectsinthegeometryoftheboard.thistechniquesuersfrommanypractical thereforehighpixelratescanbeobtained.anotheradvantageisthatitallowsforverication Oneotherproblemisthatstatisticalanalysismustbeperformedtodetermineifthedierences areduetononconformitiesorduetoalignment. FeatureMatchingFeaturematchingisanimprovedformofimagesubtraction,inwhich theextractedfeaturesfromtheobjectandthosedenedbythemodelarecompared.the timereducesthesensitivitytotheinputdataandenhancestherobustnessofthesystem.this matchingprocessiscalledtemplatematching[69,70].oneofthemajorlimitationsoftemplate advantageofthismatchingisthatitgreatlycompressesthedataforstorage,andatthesame matchingforinspectionisthatanenormousnumberoftemplatesmustoftenbeused,making theprocedurecomputationallyexpensive.thisproblemcanbeeliminatedifthefeaturestobe matchedareinvariantinsize,location,androtation.thedisadvantagesofthismethodarethat forcomparison.itissensitivetoilluminationanddigitizationconditions,andthemethodlacks itrequiresalargedatastoragefortheidealpcbpatterns,andpreciseregistrationisnecessary exibility.haraetal.[54,71,72]developedathitachiadefectdetectionmethodbasedon featureextractionandcomparison.largedefectsaredetectedbyextractionofboundariesusing HKX;HKY;HK45;andHK?45operatortemplates,showninFigure7(a),inthefourdirections (0o;90o;+45o;?45o).Thesetemplatesareusedfordetectionofalldefectsofwidthgreaterthan axedvalueandforisolateddefects.narrowdefects,likenewiringandwhiskers,aredetected bysearchinginfourdirections(0o;90o;+45o;?45o)usinghby;hbx;hb45;andhb?45operator templates,showninfigure7(b).thenalresultofextractionisalogicalandofthefour directionfeaturesextracted.thesizesofthetemplatesharenotxedandcanberegulated alsobighopscanbemadeusinglargertemplatesizesintheuninterestingregions(e.g.,which bysettinglimitsonthelengths,orientationsandwidthsofthepatterns.thesedierentsizes donothavetracepixels),thusreducingunnecessarycomputationtime. arenecessarytopreciselyidentifytheboundaries,asthetracepatternwidthsmaychangeand showsthetwopatternsf(defectivepattern)andg(non-defectivepattern)thatarecompared;(2) showstheboundaryimagesfkandgkobtainedbyapplyingthehkyoperatorinydirection; and(3)showsthene-lineboundaryimagesfbandgbobtainedbyapplyingthehbxoperator Figure7(c),explainstheextractionofpatternfeaturesanddefectrecognitionprocedure:(1) inthexdirection.defectrecognitioninvolvesthecomparisonoffkandgk(orfbandgb) 14

a1 a2 ai H Y p1 b1 b2 bi a1 a2 b1 b2 H X ai bi p1 q3 a1 a2 a7 p3 a8 b1 b2 b3 b4 a9 a10 p3 a1 a2 q3 a9 b4 b3 b2 b1 a8 a16 a7 A fine line is, for example, determined when: a1 =... = a16 and either of b1,..., b4!= ai a1 a2 p2 p2 b1 b2 h BY h BX ai bi H K + 45 b1 b2 a1 a2 H K - 45 p1 = 6 p2 = 4 i = 3 or 4 or 5 ai bi q4 a1 a2 b1 b2 p4 a10 a1 a2 q4 p4 b2 b1 q3 = 3 or 5 or 7 q4 = 2 or 4 or 6 For the conductors ( = w): p3 = 2 or 3 or 4 p4 = 1 or 2 or 3 A boundary is, for example, determined when: a1 =... = ai, b1 =... = bi, for all i and ai!= bi (a) Boundary Extraction Operators h B45 h B-45 (b) Fine-line Extraction Operators For the substrate ( = B) p3 = 4 or 5 or 6 p4 = 2 or 3 or 4 Pattern f and its processed image Pattern g and its processed image Feature Extraction Operators Result of comparison of F and G (1) Detected patterns f, g f g (2) Extracted boundry lined F K, G K in the Y direction F K G K (3) Extracted fine line pattern F, G in the B B direction X F Figure7:LocalFeatureMatchingMethod B G B (c) Extraction of features and comparison of the extracted feature patterns 15

images.whenthecorrespondingpointsonthereferencepatternandpcbtestpatternexhibit thesamefeatures,thepatternisfreefromdefects.otherwiseadefectexists.inpart(3)of thecompletesystemcanbeimplementedinhardware.thesystemworkson5:5millinesand 500mil600milboardswithaspeedperformanceof2:5min/panel. Figure7(c),ashort(shownasanarrowline)isdetected.Theadvantageofthismethodisthat Phase-OnlyMethodDavidetal.[73]discussanalternativemethodtostandardtemplate whichhasunitpowerspectraldensityamplitudesothatallinformationiscontainedinthe matchingtechniquewhichisbasedonphase-onlyimaging.aphase-onlyimageisanimage phase.phase-onlyimagecomparisonhasthepropertiesofredundancyremoval(correlation betweendatapointsisremoved)andedgeenhancement.themethodusesfouriertransform, followedbynormalizationoftheresultantimage,tospreadovertheentiregreyscalerange (bydividingeachspectralpointbyitsownmagnitude),andtheninversefouriertransformsan ofdatapointsintheimageareremoved,allperiodiccomponentsoftheimagearesuppressed. Twosimilarimagescanbecomparedbycreatingacompositeimagebyplacingthemside-bysideandapplyingaphase-onlytransformationatonce.Ifthetwoimagesareverysimilar,a imagepairtoproduceamapofsignicantimagedierences.becausethecorrelationsofanypair ofthecompositeimage.bysuppressingthiscomponent,allpointswhichcorrespondtothetwo subimageswillbesuppressed,andonlythedierencesremain.thepaperpresentedexamples strongperiodiccomponentwithperiodequaltothesubimagespacingappearsinthespectrum ofrealandsimulatedimageswithdierentilluminationlevels,lightinggradients,andboard substratecolors,allcomparedwiththesamemasterreference.thismethodhasadvantagesover conventionaltemplatematching/comparisontechniquesbecauseofitslightintensityinvariance, andinvariancetotranslation.themethodsuersfromthedisadvantagethatitrequiresalarge amountofcomputationaltimecomparedtosimpletemplatematchingmethods. insensitivitytoilluminationgradients,tolerancetomisregistrationoftheimagestobecompared, Model-basedmethodsaretechniqueswhichperforminspectionbymatchingthepatternunder inspectionwithasetofpredenedmodels.theselectionofasuitablemodelrepresentationof 4.1.2Model-BasedMethods. thetrainingpatternsstronglyaectstheperformanceofaninspectionsystem.forexample, oneoftheapproachesthatfallsintomodel-basedtechniquesisthesyntacticapproach,also calledstringmatchingtechnique.inthesyntacticapproach[74,75],apcbimageismodeled asanitesetofalphabets/symbols.themethodinvolvestracingtheboundarytoproducean Onemajorlimitationofthissyntacticapproachisthatthechoiceofprimitivesinquantifying orderedlistofboundarypoints,andanalyzingtheshapetoproducesyntacticdescriptionof thebasicshapeinvolvedinthepatternsisadicultproblem.thismakestheapproachnot theshapeusingprimitiveshapesthatbestdescribethepcbpattern.thedetectionofdefects theninvolvesthedetectionoflocaldefectivefeaturesexpressedinniteregularexpressionform. applicableforarealtimeapplicationlikethis. GraphMatchingMethodsThegraphmatchingmethodsarebasedonthestructural,topological,andgeometricpropertiesoftheimage.Theideaisbasedonthetopological/structural comparisonwhichcomparesthestandardgraphobtainedfromtheconductorandinsulatorim- 16

informationincorporatesaweightedgraphcomposedofseveraltypesofnodes,edges,connections,andtheirlocation[76].pavlidis[77]presentedatechniqueforconvertingrasterdatainto thisgraphissearchedtoobtainalistoftheboundarypointsoftheregionsandholesinthe image.atechniquebasedonmatchingthelinearadjacencygraphofthetestboardtoamodel alineadjacencygraphdescribingthetransitionbetweentheconductorandthesubstrate.then agepatternsofthereferencepcbwiththoseofinspectionboards.forexample,topological AttributedGraphDarwishandJain[62]proposedamethodthatworksintwomainsteps. graphispresentedasanapplicationtoprintedwiringboardinspection. Intherststep,theimageistransformedintoacollectionofnodesthatdescribesthe2-D jects.spatialrelationsareaddedtothegraphintheformofdirectedattributes,whichdescribes relationalpropertiesbetweenprimitivesbelongingtothesameobjectandbetweendierentob- shapeofthedierentobjectsintheimage.thesenodesareconnectedtogetherdependingon functionisusedtomeasurehowwellthescenegraphmatchesthemodelgraph.experimental andmodelpatternsisthemosttime-consumingstepduringinspection.asimilarityevaluation connectivityandneighborhoodrelationships.thisgraphiscalledanattributedgraph(ag).the secondstepinvolvesamodelvericationprocess.thismatchingprocessbetweentheinspected isovercomebysunandtsai[63]byreducingthelargeamountofunnecessarycomputations joinsthecouplingpermutationateachiterationforeveryattributedrelationship.thisproblem false-alarmrate.butthecomplexityofmatchingagsisverylarge,sinceeverynodeofanag resultsindicated100%detectionofallshorts,cuts,andminimumwidthviolationswithazero PatternAttributedHypergraphSunandTsai[63]presentarepresentationcalledpattern doneinevaluatingscoresbetweenimpossiblecouplesduringtheexhaustivepermutations.the followingsectiondiscussesthismethod. primitivefeaturesconnectedtooneanotherwithinaregion,whichisthebottomlevelofpahg. attributedhypergraph(pahg)andastructuralinspectionalgorithm.theproposedgraph, ThetoplevelofPAHGcontainsregionalfeaturesandthespatialrelationsamongthem.This calledpahg,describesallsegmentedregionsandthespatialrelationshipamongthem.these representationprunesthesearchspacebyperformingonlyselectivematchingoperationsduring segmentedregionsarerepresentedbyaregionalattributedgraph(rag)thatrepresentsasetof theinformationisrepresentedintwodierentlevels,isamajorimprovementovertheattributed thematchingphase,therebyreducingtheinspectiontime.thisnewrepresentation,inwhich thenlabelingtheprunedpattern.figure8(a)isthinnedtoobtainfigure8(b).figure8(c)isthe graphmethod.figures8(a),8(b)and8(c)showallthestepsinvolvedintheconstructionof thinnedimageusingthepruningoperationinordertoeliminatespuriouseectsinthinningand thebottomlevelofpahg.thisstepinvolvesthinningofthebinaryimage,thensmoothingthe labeledgraphobtainedafterpruningthefigure8(b).figure8(d)showstheragconstructed forthesub-patternofthepcbpatterna.figure8(e)showsthepahgforthecompletepcb and(c)verifyingeachragofthescenemodelwiththecorrespondingragofthereference sub-patternshowninfigure8(a).thematchingalgorithmproposedworksby(a)verifying model.anewinspectionalgorithmwasproposedtoutilizethehierarchicalstructureofpahg thetoplevelofpahgonthescenemodelandreferencemodel,(b)ndingthecorresponding pairsofragsbyevaluatingthecondencescoresbetweentwopahgsandthepairofrags, 17

A 1 C 2 B 1 C 1 A 2 C 3 B 2 A 3 B 3 C 4 C 5 A 4 (a) PCB sub-pattern (b) Thinned sub-pattern A 5 (c) Pruned sub-pattern with lables A A A A A 1 2 3 4 5 Right-Connect Right-Connect Right-Connect Right-Connect Right-Connect Left-Connect Left-Connect Left-Connect Left-Connect Left-Connect NULL NULL NULL NULL NULL NULL (d) Representation of RAG for segment A in Figure (c) NULL B up down right left NULL A up down right left (e) Graphical representation of PAHG for the sub-image pattern (a) C up down right left NULL A 1 A 2 D 2 D 1 C 1 B 1 A D 3 C 3 D C B B 2 (f) Pruned defective PCB D 2 pattern with lables C Figure8:GraphMatchingUsingPatternAttributedHypergraph D B3 B 18 4 (g) PAHG for (f) 4 5

toimprovethematchingeciency.thematchingcomplexityofthismethodis1=k3ofthatof theagapproach,thusmakingthemethodmorepractical. 4.2Non-ReferentialInspection Non-Referentialmethodsdonotneedanyreferencepatterntoworkwith,theyworkontheidea thatapatternisdefectiveifitdoesnotconformwiththedesignspecicationstandards.these [21,63,64].Theybasicallyusethedesign-specicationknowledgeinverifyingtheboardtobe methodsarealsocalleddesign-rulevericationmethodsorgenericpropertyvericationmethods thedesigncharacteristicsofapcbasasimplesetofrulesandfeaturedimensionsandtolerances. inspected.applyingthedesign-rulevericationprocessdirectlytotheimagepatternsisatime Featuresspeciedinclude[78]: process/transformtheimageintoaformwhichreducesthevericationtime.themethodsuse consumingprocess,andhencetheresponsetimeofthesystemdecreases.usuallythesemethods Minimumandmaximumtracewidthsforallthedierenttracesused, Minimumandmaximumcircularpaddiameters, Minimumconductorclearance, Minimumandmaximumholediameters, Ejiri[60]developedtheclassicexpansion-contractiontechniquethatassumesdefectsexistina highrst-orderspatial-frequencydomain(viz.,patternsthataresmallrelativetotheacceptablepatterns).expansion-contractionmethodsemploymorphologicaloperationslikeerosion, Minimumannularrings,traceterminationrules,etc. applyingtheseoperatorsdirectlyreectsthediscrepanciesintheimagepatterns,ifanyexist. designedinsuchawaythattheyembedthedesignspecicationsinthemandtheresultof dilation,expansion,contraction,thinning,etc.,inthepre-processingstage.theoperatorsare byextractingthetopologicalfeaturesandimposinglocalizedconstraintssuchasminimumor theimagepatternsandthevericationphaseinvolvesinterpretingthesetransformedpatterns generateimagesthatcouldeasilybeinterpretedfordefects.encodingtechniquesalsotransform Design-specicationinformationisembeddedintheseoperators,suchthatthetransformations thattheyworkwellinidentifyingonlysomekindsofdefects,suchasinthevericationof widthsandspacingviolations.also,anotherdrawbackofthisinspectionisthatitrequiresthe maximumwidthstodetectanomalies.thedisadvantageofthesenon-referentialmethodsis standardizationoftheconductortracetypes[11],forexample: Conductortracesmustbeseparatedbyaminimumpermissiblespacing. Conductortracesmusthaveaminimumpermissiblewidth;and Conductortracesmustendatsolderpads; maymissawsthatdonotviolatetherules,suchasshortsthatareidenticaltoconductors. However,speedismaximizedandcomputerstoragerequirementisminimized. Thesenon-referentialmethodsdependonsophisticatedfeaturerecognitionalgorithmsand 19

4.2.1MorphologicalProcessing. MorphologicalprocessingisoneofthewidelyusedtechniquesinPCBinspection.Theinspection involvestheexpansion-contractionprocess,whichdoesnotrequireanypredenedmodelof perfectpatterns.yeanddanielson[61]presentedanalgorithmforverifyingminimumconductor andinsulatortracewidths.themethoditerativelyappliesshrinking(similartocontraction operation)andconnectivitypreservingshrinking(similartothinning)operationsontheimage. Aftersomenumberofiterations,thedierence(logicalAND)betweentheresultsgivesthe defectspresentinthepatterns.themainadvantageofthesemethodsisthatthealignment problemiseliminated.but,theproblemwiththesemethodsisthatdierentpre-processing algorithmsaretobeappliedtocheckdierentviolationsintheboard,whichautomatically decreasestheresponsetimeofthesystem. Board Type Trace Type Intermediate Type (a) PCB sub-image (b) After format filtering (a) Figure9:ExpansionandContractionFiltering lterandthentheconnectivitythroughthecircuittraceischecked.theformattinglter classieseachpixeloftheobservedcircuitboardintooneofthreetypes:tracetype,boardtype, methodgivenbymandeville[64].inthismethod,theimageisrstenhancedbyaformatting Grinetal.[79,80]discussaninspectionalgorithmwhichisavariationoftheshrinking (c) Defective PCB sub-pattern (d) After filtering (c) orindeterminatetype.apixelisclassiedatrace(board)typeifitissurroundedbyacircle thenatthatpointthetrace(board)satisesminimumtrace(board)requirement.pixelswhich oftrace(board)pixelswithaminimumradius.ifthisradiusisequaltoaspeciedminimum, 9(a)showsaPCBsub-imagewhoseoutputpatternwouldlooklikeFigure9(b)afterformat arenotclassiedaseithertracetypeorboardtypeareclassiedasindeterminate.figure 20

spacingsandsurfacenonconformitiesonthecircuitboards.figure9(c)showsadefectivepcb outputpatternlookslikefigure9(d)afterformatltering.opens/partialopensareidentiedby sub-image,whichhasamousebite,wrongsizeholeandconductortooclosedefects,andwhose ltering.thisclassicationprovidesameanstocheckforopen/partialopens,minimumtrace checkingforconnectivityalongthetrace,wherefailureofminimumwidthrequirementindicates abreakintheconnectivity.minimumspacingrequirementsarecheckedbyverifyingifthereare anyoftheindeterminatepixelsofonetraceconnectedtoindeterminatepixelsofanothertrace, likescratchesanddustareinspectedafterthealgorithmforwidthandspacingrequirementshas ifanyexist,thentheminimumspacingrequirementsarenotsatised.surfacenonconformities beenperformed.thesenonconformitiesareidentiedtobetheareasofhighintensitypixelsby sourceisatanacuteangletotheboard. subtractingthemetaltracepixelsfromtheimagewhoselightingcongurationissuchthatthe minimumlandwidthrequirement(mlw),violationofminimumconductorspacingrequirement imagetransformationsbasedonmathematicalmorphology.thesystemdetects:violationsof (MCS),andtheviolationofminimumconductortracewidthrequirement(MCTW).Thefundamentaloperationsusedinthetransformationsarehit/misstransformation,erosionoperationitalimagesasshowninFigure10(a):substratepixelswithvalue0,conductingstructurepixel valueswithvalue1,andholeswithvalue2.asegmentationalgorithmwhichseparatesthe systemtoapplydesign-rulecheckingeasilyandthusavoidingfalse-alarms.thefollowingsteps conductorlandssurroundingtheholesfromtheconductortracesisemployed.thisenablesthe depictthealgorithm: Thesystemproposedby[81]makesuseofdefectdetectionalgorithmswhicharederivedusing dilationoperation,andsymmetricalthinning.thepcbimagesaresupposedtobe3-leveldig- 2.theholelocationsareenlarged,asshowninFigure10(c),suchthattheycoverthesurroundinglandsusingdilationoperation. 1.theoriginalimageistransformedusingthefollowingrule0?>0,1?>0and2?>1. Figure10(b)showstheresultantbinaryimage. 3.transformtheoriginalimagebytherule0?>0,1?>1,and2?>0.Figure10(d)shows 4.Imagesobtainedinsteps2and3areANDed.Theresultantimageafterthisoperationon theresultantbinaryimage. 5.Imagesinstep3and4areEXORed,resultingtheconductortraceimage,asshownin Figures10(c)and10(d)isshowninFigure10(e). caneasilybeunderstoodwiththehelpoffigure11,whichdepictseachstepintheprocess: Algorithmforverifyingminimumconductorspacing(MCS)worksasfollows.Thealgorithm Figure10(f). 2.theaboveimageissymmetricallythinnedandprunedtoremovehairlikeprotrusions.The 1.dilatetheoriginalPCBimageFigure11(a)byanisotropicstructuringelement(anelliptic one).theresultantimageisshowninfigure11(b). thisstep. resultantimageisoredwiththeoriginalimage.figure11(c)showstheapplicationof 21

0 = Board Type 1 = Trace Type 2 = Hole Type (a) Original PCB sub-pattern (b) After (1 -> 0) and (2 -> 1) operation (c) After dialation operation Figure10:SeparatingConductorSurroundingHolesfromOtherConductorTraces (d) After (2 -> 0) operation (a) (e) After AND oepration (f) After XOR operation (c) and (d) (d) and (e) 22

3.theoriginalimageisEXORedwiththeimageobtainedinthepreviousstep,thusobtaining defectivepatternsasshowninfigure11(d). Figure11:VericationofMinimumConductorSpacing andtablelookupoperationsasameanstoimplementmorphologicaloperations.themain advantageofmorphologicaloperationsisthattheyaresimpleandeasytoimplementinhardware algorithmtospeed-upthecompleteprocessispresented,whichmakesuseof2-dconvolution SimilaralgorithmsarepresentedforverifyingMLWandMCTWrequirements.Also,afaster (a) (b) (c) (d) [15,60,64]. 4.2.2EncodingTechniques. BoundaryAnalysisTechniquesBoundaryanalysistechniquesstudiedarebasedonthe Westetal.[82,83]implementedaboundaryanalysistechniquetodetectsmallfaultsbyusing representationoftheboundariesinatractableform,followedbyarulevericationprocedure. Freemanchaincoding[84]todescribetheboundaries.Smallfaultsaredenedasthosefeatures thatcaneasilybedistinguishedfromtheconductorpatternsbecauseofthepresenceofcertain characteristicsnotnormallyfoundonboards.freemanchaincodingtranslatestheboundary ofapatternintoapolygonalapproximation.thisapproximationtendstoeliminatesome digitizationandthresholdingnoisefromrepresentationdataatthecostofsomesmallfeatures ofpotentialdefects.eachlinesegmentinthepatternisoneofeightpossiblevectorsofeither 1.0or1.4142resolutiondistanceslongandatincrementalanglesof45degreesasshownin Figure12(c).Themethodworksinthreestages:(i)ItcomparestheEuclideandistanceandthe 23

Chain Code: 7777788118777665567777 Curvature code: 0001010-1-100-10-1011000 Changes in dir.: 01010-20-10-1020 Duration: 3 1 1 1 1 2 2 1 1 1 1 2 3 Extracted corners: (a) (b) (c) (d) 7 8 1 2 3 A Changes in direction: 2-2 -2 2 (e) Duration: 3 2 3 2 (f) Distance from A: 4.5 8.0 12.5 16.0 (g) 6 5 4 (a) Example of a small fault shape (b) Corner extraction on image in Figure (a) (c) Chain code directions C c F b B a b F B a F B b c D E D E (1) Nick/Bump A C E A A a Figure12:FaultDetectionusingChainCodingTechnique (2) Nick/Bump (3)Break/Short (d) Fault shapes detectable by small fault detector C 24

codesegmentsapart.itworksontheassumptionthat,foranormalboundary,thedierencewill boundarydistancebetweentwopointsontheboundarythatareaconstantnumberofchain areextractedfromtheboundaries,usinganiterativecornerdetectionalgorithm.thiscorner detectionalgorithmmakesuseofdierentialchaincodes(curvaturecodes),whicheliminatethe detectedasfaultyarepassedtothesecondstageofinspection.inthesecondstagethecorners besmall,butforadefectiveboundarythedierencewillbelarge.theseboundarieswhichare makingthesharpcornersmorevisibleintheprocessedcornerdata.thechangesindirectionare orientationproblems.initiallyadjacentcurvaturecodesthathavethesamesignarecombined indirection.thisgroupingiscontinueduntilnofurthergroupingcanbedone.finallyall istogroupthelikesignedchangesindirectioniftheyareseparatedbyonlyonezerochange denedasthetotalchangeindirectionoveradjacentcurvaturecodes.thedurationisdened zerochangesindirectionareeliminated,asthiscornercombinationissucienttodiscriminate asthenumberofcurvaturecodesoverwhichthechangeindirectionoccurs.thenextstep dierentfaults,likenicks,bumps,etc,usingthesignofthecodes.theseedgecornerson theboundaryareprocessedusingthreedierentcornerfaultmodelsbytraversingalongthe boundariesinaclockwisedirection.lines(a)and(b)infigure12(b)arethefreemanchain codesandcurvaturecodesrespectivelyfortheimagepatterninfigure12(a).thelines(c) through(g)infigure12(b)showtheextractedcornerswiththechangesindirection,duration, 12(a). distanceinformation.thefollowingareexamplecornerfaultmodelsforthefaultinfigure (1)Fourcornerfaultmodel: (4.1)Combination+*-*-*+or-*+*+*-. where(-)isanegativegoingcorner (4.3)E<12.0 (4.2)a<10.0andb<7.0andc<10.0 (*)isanoptionalcornerofanydirection (+)isapositivegoingcorner (2)Threecornerfaultmodel: (4.4)F-E>THRESHOLD. (3.4)F-E<THRESHOLD. (3.3)E<12.0 (3.2)a<15.0andb<15.0 (3.1)Detectionofcorners+*-*+or-*+*-. (3)Twocornerfaultmodel: (2.1)Detectionofcorners+*********+or (2.4)F-E>8.0 (2.3)E>7.0andE<14.0 (2.2)b<14.0 -*********-. nickswith(+--+)andbumpswith(-++-).the\*"indicatesthatacornerofanysensemay Thesignofthecornersisusedtodiscriminatebetweendierentkindsofdefects,forexample, 25

distanceandtheboundarydistancebetweentwopointsonthecornermodelsarecalculatedfor appearbetweentwocornersallowingsomeexibilityinthefaultshape.againtheeuclidean obtainedinstagetwoiscalculated.severityisdeterminedbymeasuringtheminimumtrack of1.5isrecommendedasathresholdvalue.(iii)instagethreetheseverityofthefaults ltering,steps(4.4),(3.4)and(2.4).theprocessingcanbestoppedatthisstageandgood widthofafaultandthedepthofthefault.thetrackwidthismeasuredalongnormalstothe resultscanbeobtainedwithathresholdvalueof2.3.ifprocessingiscontinuedavalue ysesbothverticalandhorizontalhistogramsofrun-lengths.themethodcountscontinuousruns Run-LengthEncodingTherun-lengthencodingtechniquedevelopedbyThibadeau[39]anal- boundarybetweentheoutermostcornersofthefaults. histogramreectsveryshorthorizontalrunsalongahorizontaledgeorverticalrunsalonga oftracepixelsalongeachrowandcolumnofthepcbimageandconstructsahistogram.this verticaledge.alsoline-widthoftheconductorsgetsreectedinthehistogramwhichisuseful [85,86]determinesthepositionoftheedgesoftheconductoroneachscanline,whichprovidesa todetectaws.theconductorminimumwidthrequirementisveriedbycheckingifrun-length ofpixelsisshorterthanathresholdvalue.thissystemwasoperationalat10millinepanels withaspeedperformanceof4megapixelspersecond.sterling'srun-lengthencodingmethod convenientwaytolinktheinformationonascanlinetothepreviousscanlines.theinspection minimumandmaximumconductorwidth.thespeedperformanceofthesystem,operatingat1 topologicalfeaturesandthedetectionofanomaliesbyimposinglocalizedconstraintssuchas processinvolvesthetrackingofregionsfromonescanlinetootherscanline,theextractionof tobeimplementedinhardware.althoughthefeaturesextractedneednotchangefordierent boardstyles,itisnecessarytochangetherulesgoverningthefeaturestobeweightedagainst milresolutionandoverboardsof450mil600mil,isabout4minutes.themainadvantage ofthistechniqueisthatiteliminatestheneedforprecisealignmentandenablestheprocess 4.3HybridInspectionMethods oneanotherinordertodecidewhetherarealdefecthasbeendetected. Thehybridaw-detectiontechniquesincreasetheeciencyofthesystembymakinguseofboth referentialanddesign-ruletechniquesexploitingthestrengthsandovercomingtheweaknessesof landwidths,spacingviolations,defectiveannularringwidths,angularerrors,spuriouscopper. eachofthemethods.thesemethodshavetheaddedadvantagethattheycoveralargevariety ofdefectscomparedtoeitherreferentialornon-referencemethodsalone.forexample,most ofthedesign-rulevericationmethodsarelimitedtoverifyingminimumconductortraceand Printedcircuitboarderrorswhichdonotviolatethedesignrulesaredetectedbyreference comparisonmethods.thesemethodscandetectmissingfeaturesorextraneousfeatureslike features;thecomparisonmethodsareequallysensitiverightuptothelargestfeatures.figure13 isolatedblobs,etc.thedesign-ruleprocessdetectsalldefectswithinsmallandmediumsized depictstheperformanceofboththesemethodsbasedonthesizeofthefeatures.hybridsystems otherandthereforeachieve100%errorsensitivity,irrespectiveoffeaturesizesontheprinted makeuseofboththedesign-rulemethodsandcomparisonmethodsastheycomplementeach circuitboards. 26

Error sensitivity Reference Comparison Figure13:ComparisonbetweenDesign-RuleandComparisonmethods 4.3.1GenericMethod. Feature size Thegenericmethodisacombinationofreferentialandnon-referentialinspectionalgorithms. AsMandevilleexplainsin[64],itisasynthesisofreference-comparisonandgeneric-property approaches.themethoddoesnotcompareareferenceimageandthetestimagepixel-by-pixel, ofareferenceimagewiththetestimage.instead,themethodcomparesasmalllistofpredicted iteliminatestheneedforthestoragerequirement,generation,registration,andthecomparison featuretypesandlocationswithalistofdetectedfeatures.thismethodisamajorimprovement connections,isolatedblobs,holes,etc.mostofthefalse-alarmsthatcanoccurindesign-rule thatlookslikegoodfeatures.unlikemostdesign-ruleapproaches,thismethodisnotlimitedto verifyingjustminimumconductortracewidthandspacing;italsoveriespads,varioustrace overdesign-ruleapproachesbecauseitcandetectmissingfeaturesandextraneouscircuitization typicalcircuitfeaturescanbeinferredfromthecorrectnessofskeletalversionsofthecircuit expansion,etc.theobservationthatthelocalgeometricandglobaltopologicalcorrectnessof approachesareovercomeinthistechnique. featuresinatestimage,isusedintheanalysisoftheprintedcircuitpatterns.themethod Themethodmakesuseofimage-to-imagetransformoperationslikecontraction,thinning, worksasfollows: transformtheimagetoobtainaskeletalimagefromwhichdefectsandgoodcircuitfeatures comparethedetectedfeaturelistwithadesignfeaturelistgeneratedfromcircuitdesign caneasilybedetected, data,and 27

typicaldefects.figure14(a)showsthesejoins:whereann-joinisanonzeroelementwithn Thefactthatthepresenceof0-,1-,T-andblob-joinsissucienttoinfertheexistenceof conictingfeaturesimplydefects. ablob-joinisaskeletalelementwithan8-neighborthatisnotaskeletalelement.inthe Figure14(a),Xisblob-join,sisaskeletalelement(anonzeroelementnecessarytomaintainthe nonzero8-neighbors(0n8);at-joinisa3-joinwhose8-neighborsareskeletalelements; versionoftheimagewiththebasicshape.the4-and8-thinningoperationsremovesthe connectivityofits8-neighbors),andbisaboundaryelement(anonzeroelementwithazero 8-neighbor).Thinningreducesaconnectedsetofonesinanimagetoitsskeleton,asimplied elementsineachiterationwiththefollowingconstraints:(a)theglobalconnectivityofentities ismaintainedandtheholesarepreserved;(b)ateachstep,4-thinningremovesonlyelements withazero4-neighbor,whereas8-thinningremovesallelementswithazero8-neighbor.the verifyingpadposition,area,shape,andtrace-to-padconnections. detectingexcessivetracewidth,verifyingminimumspacinganddetectingshortcircuits,and methodcanbeusedinverifyingminimumconductortracewidthanddetectingopencircuits, Wisthenominaltracewidthandwistheminimumacceptabletracewidth,lessthanW.The algorithmworksonthebinaryversionofthetestimageasfollows: Algorithmforverifyingminimumconductortracewidth(MCTW):Supposethat 8-thin(W2?w2)timestheimageobtainedinpreviousstep.Figure14(d)depictsthe alternately4-and8-thinthebinaryimage(w2)times.figure14(c)depictstheresultof 8-thinnedoutputofFigure14(c). applyingthisoperationontheoriginalpcbsub-patterninfigure14(b). comparethedetectedfeaturesinpreviousstepwithdesignlist: detect1-andblob-joinsinthinnedimageobtainedinpreviousstep. {if1-joinsisnotindesignlist,thisimpliestracewidthviolations.thesquareboxes {if1-andblob-joinsindesignlistarenotindetectedfeatures,thentheimageismissing infigure14(e)are1-joins,whichimpliesthepresenceofdefects(open). Eachofthealgorithmspresentedinthepaperuseadierentthinningprocesssuchthata particularclassinducesaknowncorrespondingclassofskeletalfeaturesthatcaneasilyand thesefeatures. reliablybedetected.thetechniquespresentedhereareamenabletohigh-speedimplementation inpipelinearchitecturesinwhicheachprocessingelementofthepipelineisinchargeofthe executionofamorphologicaloperation.mandevilleclaimsthatbyusing150elementpipeline, theinspectionofapanelof500mil600milcanbeaccomplishedin30secondsataresolution of0:5mil/pixel. TheinspectionsystemproposedbyBenhabibetal.[37]usesahybridaw-detectiontechniquebasedonpattern-detectionandboundary-analysistechniques.Forconductoraws,the 4.3.2PatternDetectionusingBoundaryAnalysis. 28

Fox X = X X X X X X: 0-join X: 1-join X: 2-join X: 3-join X: 4-join Fox X = X X X s s s X b b b b b b b X: T-joins X: blob-join s: skeletal element b: boundary element (a) n-joins; T-joins and blob-joins a a a a c c c c b (b) Defective image Figure14:VericationofMinimumTraceWidth b b (c) After contracting n-times (d) After thinning m-times (e) With joins identified b 29

non-standardedges,whichareanalyzedbyapattern-detectionsystemtomeasureconductor boundary-analysisalgorithmlocatesareasthatcouldhavepotentialaws,thesearemarkedas widths.thusthistechniquesignicantlyincreasesthespeedofthepattern-detectionalgorithm byisolatingtheconductormeasurementsonlytothoselocationsthatcouldbeaws.similarly,a pattern-detectionalgorithmmeasuresland-widthsforholeaws,afterlocatingtheholecenters usinganimagesubtractiontechnique.flawanalysisforconductorsinvolves: Edgedetection:wherefouredge-pixeltemplates,showninFigure15(a),areusedtodeterminewhetherthepixelsinawindowbelongtoanedgeofaconductorintheimagedardornon-standardbasedonasetofhorizontal,verticalanddiagonaledge-templates, Non-standardedgepixeldetermination:whereedge-pixelsareclassiedaseitherstan- Edge-normaldetermination:wherethreedierentoperators(T;Y;I),showninFigure asshowninfigure15(b).anedge-pixelthatdoesnotmatchanyofthetemplatesis 15(c),areusedtodeterminetheedge-normalsofnon-standardconductoredge-pixels.First consideredtobeapotentialawlocation,hencemarkedasnon-standard. thentheedge-normalisinthedirectionindicatedbytheoperatorbase.whenthisoperator thet-operatorisappliedandifeachpixelunderthisoperatorisclassiedassubstrate, Flawdetectioninvolves:(i)thenon-standardedge-pixelanditscounterpartontheoppositeedgeoftheconductorareexaminedtodeterminewhethertheybelongtoaland determineifthereexistsaaw,(iii)thepin-holesizeiscompared,asapercentagewitha speciedmaximumvaluetodetermineifthereexistsaaw,(iv)theinterconductorspacing oraconductor,(ii)theconductorwidthiscomparedwithaspeciedminimumvalueto theselocations.whenbothoperatorsfail,thei-operatorisapplied. fails,usuallyatinternalsquarecornersofconductors,they-operatorisnextappliedat bytracingfromthecurrentnon-standardedge-pixeltotheoppositeedge-pixelalongthe edge-pixelofthenextconductorislocated.thisiscomparedwithaminimumspecied ismeasuredbycountingsubstratepixelsintheopposite-normaldirectionuntiltherst edgeoftheconductor.ifthetracesucceedswithinaspeciednumberofedge-pixels,there existsaconductorbreak. valuetoverifytheexistenceofaaw,and(v)aconductor-break-detectionisperformed Shiaw-ShianYu,et.al.[11]proposedandimplementedatechniquebasedonradialencoding intohardwareforhighspeedinspectionofartworkandbare-boards.thebasicprincipleisthat 4.3.3Circularpatternmatching. tobottom.atemplatecomparatorisusedtoperformtheencoding,whilethedefectdetection logicisusedtoverifythecodestojudgeifthecodesarecontradicting.adefectlocationrecorder animagewindowofsize3232ismovedoverthepcbimagefromlefttorightandfromtop recordsthedefectlocationsandtotalnumberofdefectsinthatarea.thedefectdetectionlogic worksasfollows.todetectifatracewidthisassmallaswidthd,acirclewithdisdrawn, withthecenterofthecircleonthetraceedge.ifthecircleisdividedintotwoareas,thenitisa normaltrace;otherwise,thetracewidthissmallerthandorcertainotherdefectsexists.figure 16(a)showsatracewidthsmallerthand.Figure16(b)-(d)showtheabilityofthismethodto 30

(a) Edge pixel templates Horizontal Edge templates Vertical Edge templates Diagnol Edge templates (b) Edge templates n n n T Operator Figure15:TemplatesUsedinthePatternDetection Y Operator I Operator (c) Edge normal determination operators 31

d d d (a) (c) (b) diagnoseotherdefects.thismethodisnotsensitivetotracedirection,butdefectslikefigure d 16(e)-(f)cannotbediscovered. Figure16:DefectdetectionusingTemplateT2 d d (d) (e) (f) Sincethelinesmustendatthesolderpads,whicharegreaterinsizethanthelinewidth,thelines Todiagnoseopencircuitsorshortcircuits,theextensibilityofthelineorsubstrateisinspected. Figure17:16Extensiondirections inlocalareas,mustmaintaingoodextensibility.figure17showsthedirectionsofextension, altogether16,eachdividedbyanangleof22.5degrees.thesmallconcentriccircleinthemiddle isusedtopreventinspectingthelineedgesandmakingincorrectextractions.theextensibility criteriaisthatallpixelswithinadistancer,fromthecenterofthecircleinthatdirection,have thesamecolor.figure18(a)-(c)showlinesthatsatisfyextensibility.figure18(d)isanopen circuit,figure18(e)isashortcircuit,bothofwhichdonotsatisfyextensibility.itshouldbe notedthatthemethodreliesonthejudiciousselectionofthevaluer. pixelsoncircleperimetersandlinesegments.themethodassumesthatthestandardlinewidth is10pixels.forexamplet1,t2,t3,t4andt5templatesareusedasfollows: TemplatesT1throughT5showninFigure19,areusedasbasictemplatesforanalyzingthe T1isusedtodecideweatherthepresentwindowscenterisatapointontheedge.The 32

(a) (b) (c) Figure18:ExtensibilitytestonaConductortraceorSubstrate (d) (e) T1 T2 T3 Figure19:Templatesusedinthepatternmatching T5 T4 33

Whenthewindowcenterislocatedontheedge,T2isusedtocheckforasituationwhere regions. edgepointmeansitisonconductoranditsneighboring8pixelsaredividedintotwo T3isusedtocheckifthecolorsofpixelsinthewindowarethesame.T3alongwith thelinewidthissmallerthan6pixelsandthelinespacingissmallerthan5pixels.itis alsousedtodiagnosepinholes,copperspecks,mousebites,extrusionsandotherdefects. AfterT3hasbeenusedtocheckthelinewidthsandlinespacingstobesmallerthan10 canalsodiagnosepinholesandcopperspecks. templatet2isusedtoinspectthelinesorspacingsofwidthsmallerthan10pixels.this T5isusedtomeasureextensibility.Tosatisfyextensibilityinacertaindirection,allthe pixelswithinacertaindistance,fromthecenterofthetemplatet5,arecheckedforpixels pixels,t4isusedtomeasuretheactuallinewidthorspacing. ofthesamecolor.thesmallcircleinthemiddleofthetemplatet5isusedtoprevent patterns.itperformsataspeedof4106pixels/secondat0.5milresolution. Thesystemdetectsopenandshortcircuits,pinholes,overetchandunderetchoftheconductor inspectingthelineedgesandmakingincorrectextensions. 4.3.4Learningmethods. RadialmatchingalgorithmTheFVIS-110systemdevelopedbyFujitsu[15,32,87]usesa radialcodeself-learningmethod.inthismethodtheusersinputlearningsamplepatternsfrom radialcodes.radialcodesassumethreeconcentriccirclesaroundthecenterofthepcbpatterns; goodpcbboards,andthesystemconvertsthesepatternstocharacteristicfeaturesknownas codesforthelocationsoftheedgesofeachsub-patterndependonwhichcirculardomainitfalls infourdirections,45degreesapart.eachmeasuringlinehasapairofsensorsthatmeasurethe withineachofeightdirectionsasshowninfigure20.thepatternlengthsaremeasuredradially distancefromthecentertothepatternedges.theoutputofeachsensorpairisthencheckedfor themaximumwidth,andlengthofthemeasuringsensor.thesystemassignscodesconsisting exceedthepredeterminednumber.thelengthisdividedintofourareasbytheminimumwidth, equivalentlengths.thepatterncenterisdenedwherethenumberofequivalentsensorpairs ofs(shorter),c(correct),l(longer)andov(over)foreachpointontheline.ovindicates thedirectionofthepatternline.thepatternwidthisperpendiculartothedirection.whenthe patternisnormal,thewidthiswithinthecarea.forexample,forthelinepatterninfigure sensorpairshaveanequivalentlengthfromthecenter. 20(a),the0-degreemeasurementisC,45-degreemeasurementisL,90-degreemeasurementis OV,and135-degreemeasurementagainisL.Theradialcodeis(C,L,OV,L),andallofthe codeis(c,l,ov,l).butifthereisashortasshowninfigure20(b),the0-degreelengthis Figure20showsthedetectionofshortinaPCBsub-pattern.Foranormalpatterntheradial 34

135 90 45 OV L C S 0 225 Minimum width Maximum width OV,andthecodechangesto(OV,L,OV,L).Thesedefectivecodeswillbedetectedatmany Length of sensor points,becauseinspectionisperformedateverycenterpixel.thesystemcountsandmemorizes Figure20:Radialmatchingalgorithm(a)Perfectpattern(b)Shortdetection thefrequencywithwhicheachcodeoccurs.becausethesystemassumesthatdefectstendto algorithm (b) detection occurlessfrequentlythancorrectpoints,itjudgestheitemsthatoccurinfrequentlyasdefects. Therefore,ifthefrequencyofoccurrenceexceedsasetvalue,theproductisgood;ifthefrequency isgreaterthanoneandlessthanthesetvalue,thesystemdisplaysthecomponentscorresponding tothecodeaspotentiallydefectivepoints,askingtheoperatortodeterminewhetherornotthe itemsaredefective.figure21showshowapartialopenisdetectedbythismethod.thesystem detectsopenandshortcircuits,spur,narrowtraces,andpoorspacingbetweenconductors.it performsataspeedof40106pixels/secondat0:2milresolution. ShapecomparisonmethodIntheAi-1029system[32],Nikonemployedapatterncomparisonmethodbasedonautomaticlearningprocedures.Figure22showsthestepsinvolvedinthe andthesystembreakstheinputimageintosmallsegments.thenitstoressmallpatternsfrom trainingandtestingofthesystemforfaultidentication.firsttheuserinputsalearningsample eachsegmentinareferencele.next,thesystemrepeatsthisprocesswiththesubjectboard, productasdefective.inthissystem,theallowanceforpatternvariationarethekeystoaccurate dividingtheinputimageintosmallpatternswiththoseinthereferenceles.ifthesubject evaluation. boarddoesnotexhibitpatternsthatmatchthoseinthereferenceles,thesystemjudgesthe 5Inordertomakethissurveycomplete,thissectionbrieysurveyssomeofthecurrentlyavailable commercialpcbinspectionsystems.manyfactorsmustbeconsideredindesigningacommercial CommercialSystems referstothenumberofdierentinspectionsthesystemcanperform.someofthecommercial inspectionsystem:hardware,software,systemthroughput,versatility,andreliability.versatility 35

Coding character patterns Counting frequencies Checking correct answers for the minimum frequency Completing normal learning pattern Pattern edge Central line OV L C S Figure21:Fujitsuradialcodeself-learningmethod Radial coding Characteristic pattern code Frequency Learning Samples Pattern (shape) elements constituting learning samples Image reading Storage Learning process Reference file Printed circuit be tested board to Image reading Figure22:Nikon'sshapecomparisonmethod 36 Test process "Defect": no corresponding pattern is found in the reference file

bare-boards.somecanmakeexactmeasurementofboardfeaturesorperforminspectioninlinewiththeproductionprocess.formanufacturing,themostcomplete(andmostexpensive) systemscanexecuteallthesefunctions.thefollowingisalistofcapabilitiesandfeaturesa typicalcommercialpcbinspectionsystemisexpectedtohave: Systemcapability: {Minimumawthatcanberepeatedlydetectedatthestatedescaperate:-2.0mil. {Scanrate:-4.0ft2/min. systemsrunthegamutfrominspectingholesandmeasuringdimensionstoinspectingcomplete {Typicalpixelsize:-1.0mil. {Panelthrough-put:-inspectbothsidesof1824inchpanel(85%active)including {Falsealarmrate(failgoodproduct):-lessthan2.0perft2. setup,loading,scanning,andunloadingatarateof40panels/hour. {Escaperate(passbadproduct):-lessthan1.0per100ft2(dependsondefectcriteria) Typicaldimensionsofpanelstobeinspected: {Gagingcapability(wherespecied):-measurefeaturesizeto1.0mil.. {Scanarea:-18"24". {Paneldimension:-20"26". {Nominalconductorwidth:-4mil. {Nominalconductorspacing:-4mil. Typesofpaneltobeinspected: {Padsize:-roundorrectangularpadsofdimensionbetween3and10mil. {Conductorlayout:-allpossiblelineorientationsandpower/groundlayers. {Conductorviaholediametersize:-5milorlarger. {Photoprintedboards:-allcommercialphotoresisttypes. {Innerlayermetalization:-drilledandundrilledPCBsincoppertechnology. {Artwork:-mostformsincludingsilver-halideanddiazoonbothmylarandglasssubstrate. {Finishedboards:-withoutsolderandpriortosoldermask {Substrates:-FR4,polymideandothercommonsubstratematerial Typesofdefectstobeinspected: {Shorts:-Anyshortwithawidthinaccessof2milatanypoint {Voids:-anyvoidinaconductorthatexposesbaresubstratematerialandexceeds5% {Opens:-Anyconductoropenexceeding2milsinwidth ofthedesignwidth. 37

{Spacing:-Anymetalizationthatreducesthespacebetweenconductorbymorethan5 {Artwork:-Anydefectviolatingtheaboverulesforvoids,spacing,orextraneousmetal; {Extraneousmetal:-Anyisolatedspotwhoseareaexceeds2mil2 %ofdesignspacing throughputsinthetableareestimatedandmayvaryuponvariousinspectionfactors.itcan Table1presentsalistofcommercialPCBinspectionsystemscurrentlyavailable.Thequoted aswellasanypinholeinexcessof3mil beobservedthatmostmachinesusethehybridinspectiontechniques-design-rulechecking speedscontinuetoaccelerateandsomemakersnowadoptmultiprocessingsystems.aoisystem andcomparisonmethodsjointly.thesesystemscaninspectmoreitemswithgreateraccuracy Corp.developedtheAOI-20product,whichemploysasmanyas20CCDcamerasandperforms reectedlight,transmittedlightanduorescentlightfrommultiplelightsources.processing thanbefore.toimproveimagequality,makersapplieddierentkindsofilluminationfrom anastonishingspeedof10ns=pixel.withprogressindiminishingpatternthickness,developers parallelprocessing.evenaslowsystemwitha1milresolutionattainsaprocessingspeedof6.00 ft2=min;fastsystemsreach33.33ft2=min.convertingthisvaluetoapre-pixelspeedreveals improvedresolution.the1milresolutionoftheearlydaysnowhasreached0.2mil.inaddition incorporatecorrectionmachinesandaccommodatescomputer-integratedmanufacturing(cim). tohandlinginspectionprocesses,thesesystemsnowdisplaydefectivelocations,components, 6Withtheadvancesmadeoverthelastdecade,machinevisionmayanswerthemanufacturing industry'sneedtoimproveproductqualityandincreaseproductivity.thisstudypresenteda Summary surveyofalgorithmsforvisualinspectionofprintedcircuitboards.aclassicationtreeofthealgorithmsispresented.theclassicationdividesthetechniquesintothreebasicclasses:reference comparisoninwhichproductionboardsarecomparedwithadatabaseorgoldenboardpatterns, designrulecheckingprovidesformakingmeasurementsthatarecheckedagainstpredetermined qualityrules,hybridtechniquescombinebothinselectivelyperformingpatternmatchesaswell asdesign-rulemeasurements. rithmicallycouldreducethecostofthesesystemsdrastically.however,theyremainasabetter aspecialhardwareplatforminordertoachievethedesiredreal-timespeeds,whichmakethe systemsextremelyexpensive.anyimprovementsinspeedingupthecomputationprocessalgo- Themajorlimitationofalltheexistinginspectionsystemsisthatallthealgorithmsneed optionwhendecidingbetweenincreasinglyerrorproneandslowmanualinspectionandhigher productivity.anothermajorprobleminautomatedinspectionsystemdesignisthedevelopment frontinthechallengesconfrontingtheautomatedvisualinspectionresearchisthedevelopment animperfectionisaobjectivedecisionandwillvaryamongdierentmanufacturers.also,fore- ofalgorithmsthatwillprovidethesensitivityneededtondfaultswhileignoring`noise'caused ofgenericinspectionequipment,hardwareandsoftware,capableofhandlingawidevarietyof byacceptableimperfections.thisproblembecomesmoredicultbecausetheacceptabilityof inspectiontasks.manyeortsareunderwaytoimproveexibilityintheeldofvisualinspection systems.systemsinthefuturewillbeeasiertooperatethanthosenowavailable. 38

TableI.CommerciallyAvailableBarePCBInspectionSystems System Inspecion Methods Image System Resolution Scan Rate Features/Benefits AOI System AOI-20 Design Rule Checking (8 kinds of detection sensors) and Comparison method 20 CCD Cameras Reflection/Transmission lighting 1 mil 6.00 sq. ft/min Continuous operation is possible through the use of conveyor system Mania MOP-5002 Simultaneous use of Design Rule Checking and Image Comparison Two CCD Cameras Halogen Lamp Lighting 1 mil 6.00 sq. ft/min Menu driven user friendly software for easy and fast setup. Fast unit under test change- over using patented vacuum adaptor system Dai-Nippon Screen OPI-5220 Design Rule Checking and Comparison method LED light, CCD line sensor Reflection/Transmission lighting 1 mil 19.20 sq. ft/min Complete Comparison Inspection Inspection function of product with special shape Shin-Nippon Steel PT-2130 Design Rule Checking and Comparison method Halogen Lamp, Multi-Directional illumination Speedy CCD Camera 1 mil 33.33 sq. ft/min Continuous Variable Resolution (0.2 to 1mil) Fastest Speed Orbotech PC-1411 Design Rule Checking and Comparison method (Golden Board or CAD download) Reflective and Diffusive Omni lighting Fixed resolution 0.5 mil 18 x 24 panels 45 sides / hour Low cost startup, On-line verification Orbotech PC-1450 Design Rule Checking and Comparison method (Golden Board or CAD download) Reflective and Diffusive Omni lighting Variable resolution 0.25-0.9 mil 18 x 24 panels 38-160 sides / hour 3-10 mil line width technology Orbotech PC-1490 Design Rule Checking and Comparison method (Golden Board or CAD download) Reflective and Diffusive Omni lighting Variable resolution 0.20-0.5 mil 18 x 24 panels 45-130 sides / hour 3-6 mil line width technology for high volume PCB shops Orbotech V-309i/x Design Rule Checking and Comparison method (Golden Board or CAD download) Fluorescent technology (Blue Laser) Variable resolution 0.4-1.0 mil 18 x 24 panels 77-180 sides / hour 3-10 mil line width technology for high volume PCB shops Orbotech Vision Blaser Design Rule Checking and Comparison method (Golden Board or CAD download) Fluorescent technology (Blue Laser) Variable resolution 39 0.25-0.5 mil 12 x 12 panels 2-4 mil line width 80-180 sides / hour technology for high volume PCB shops

reviewersfortheirvaluablesuggestionsinimprovingthequalityofthispaper.theauthors andmr.w.grihill,maniatesterion,forprovidingnecessarytechnicalinformationabout wouldliketothankmrs.dyanmacdonald,orbotechinc.,mr.vijaypatel,viewengineering, Acknowledgments-TheauthorswouldliketoacknowledgeDr.BruceMcMillinandthe commercialinspectionsystems.theauthorsthanktheintelligentsystemscenter,umrfor References thesupportincarryingoutthiswork. [2]WalterH.Schwartz,\VisionSystemsforPCBoardInspection",AssemblyEngineering, [1]NelloZuech,\IntroductoryThoughtsonMachineVision/AOIApplicationsintheElectronic Industry"ProceedingsofNEPCON'92,Vol.2,pp.443-444,1992. [3]StephenT.Barnard,\AutomaticVisualInspectionofPrintedCircuitBoards",Advanced Vol.29,No.8,pp.18-21,1986. [4]RyanHendricks,\On-LineInspectionEnables6SigmaQuality",CircuitsAssembly,Vol. SystemsforManufacturing:ConferenceonProductionResearchandTechnology,pp.423-1,No.3,pp.24-27,December1990. 429,1985. [5]FrankJ.Langley,\ImagingSystemsforPCBInspection",CircuitsManufacturing,Vol.25, [6]ShinMukai,\PCBContinuousLineSystemProceedsfromManufacturingtoInspection", No.1,pp.50-54,1985. [7]MichaelBeck,andDavidClark,\SMTInspectionStrategies:MaximizingCostEectiveness",ProceedingsoftheTechnicalProgram:NEPCONWest'91,pp.1075-1081,1991. JournalofElectronicEngineering,Vol.29,No.305,pp.34-39,May1992. [9]Charles-HenriMangin,\WhereQualityisLostonSMTBoards",CircuitsAssembly,pp. [8]BrentR.Taylor,\AutomaticInspectioninElectronicsManufacturing",SPIE-Automatic 63-64,February1991. OpticalInspection,Vol.654,pp.157-159,1986. [11]Shiaw-ShianYu,Wen-ChinCheng,andS.C.Chiang,\PrintedCircuitBoardInspection [10]JosephW.FosterIII,PaulM.Grin,SherriL.Messimer,andJ.ReneVillalobos,\AutomatedVisualInspection:ATutorial",ComputersinIndustrialEngineering,Vol.18,No. 4,pp.493-504,1990. SystemPI/1",SPIEAutomatedInspectionandHighSpeedVisionArchitecturesII,Vol. [12]EmanuelBin-Nun,\AutomaticOpticalInspectionFocusesOnDefects",ElectronicPackaging&Production,pp.82-87,April1984. 1004,pp.126-134,1988. [14]HowardW.Markstein,\AutomaticOpticalInspectionImprovesMultilayerYields",ElectronicPackaging&Production,pp.60-64,September,1983. [13]JohnRagland,\AutomatingInnerlayerInspection",CircuitsManufacturing,pp.91-94, February1985. 40

[15]EduardoBayro-Corrochano,\ReviewofAutomatedVisualInspection1983to1993-Part [16]EduardoBayro-Corrochano,\ReviewofAutomatedVisualInspection1983to1993-Part I:conventionalapproaches",SPIE-IntelligentRobotsandComputerVisionXII,Vol.2055, II:approachestointelligentsystems",SPIE-IntelligentRobotsandComputerVisionXII, Vol.2055,pp.159-172,1993. pp.128-158,1993. [17]RonaldT.Chin,\AutomatedVisualInspection:ASurvey",IEEETransactionsonPattern [18]RonaldT.Chin,\Survey:AutomatedVisualInspection:1981to1987",ComputerVision, Graphics,andImageProcessing,Vol.41,pp.346-381,1988. AnalysisandMachineIntelligence,Vol.PAMI-4,No.6,pp.557-573,November1982. [19]RobertThibadeau,\PrintedCircuitBoardInspection",TechnicalReport:CMU-RI-TR- [20]Sanz,J.L.C.andJain,A.K.,\Machine-VisionTechniquesforInspectionofPrintedWiring 81-8,Carnegie-MellonUniversity,1981. [21]A.J.E.Goodall,andE.K.LO,\AReviewofInspectionTechniquesApplicabletoPCB pp.1465-1482,september1986. ManufacturingandAssembly,particularlywithrespecttoSMT",AdvancedManufacturing BoardsandThick-FilmCircuits",JournalofOpticalSocietyofAmericaA,Vol.3,No.9, [22]GeorgeHroundas,\ImportanceofElectricalInspectionforthePrintedCircuitBoard", Engineering,Vol.3,January1991. [23]MichaelL.Martel,\AutomatedInspectionRoundup",CircuitsManufacturing,Vol.29,No. 7,pp.24-eoa,July1989. CircuitExpoWest'86:ConferenceProceedings,pp.53-60,1986. [24]GeraldJacob,\AdvancesinBoardInspection",EvaluationEngineering,pp.126-133, [25]ThiloSack,\ImplementationStrategyforanAutomatedX-RayInspectionMachine",NationalElectronicPackagingandProductionConference,pp.65-73,1991. September1992. [26]GeorgeJ.Goss,\UsingX-RayTechnologyforPCBInspection",EE-EvaluationEngineering,Vol.32,No.4,pp.46-53,April1993. [27]DavidM.Walker,StephenR.McNeill,GlenDavis,andMikeA.Sutton,\ASystemfor [28]SullivanChen,\TheRoleofAutomaticSolderInspectionandProcessControlintheMIL- InspectionofSurfaceMountPCBoards",Vision'87:ConferenceProceedings,pp.11.1-11.11,1987. [29]S.LeonardSpitz,\AOI\sees"Better,UsersSay",ElectronicPackagingandProduction, 1989. STD-2000Environment",ProceedingsoftheTechnicalProgram:NEPCON'89,pp.723-734, [30]JohnBond,\InspectionSystemsDistributeTestThroughoutManufacturing",Test&MeasurementWorld,pp.65-66,December1991. pp.48-53,june1987. 41

[31]RobertM.Savage,\NASAEvaluatesAutomatedInspectionSystems",Test&Measurement [32]HisashiTsunekawa,\LatestImageEvaluationSystemsAidEortsforProductQuality", World,pp.59-64,November1993. [34]GeorgeC.Koutures,\AutomatedOpticalInspectionPacesFuturePCProduction",ElectronicPackagingandProduction,pp.126-128,June1983. [33]WesleyHall,\Postprocessinginthe'90s",PrintedCircuitDesign,pp.12-16,August1991. JournalofElectronicEngineering,Vol.29,No.306,pp.72-77,June1992. [35]SherrySteele,\CADandthePCBDesigner",PrintedCircuitDesign,Vol.9,No.7,pp. [36]CliveR.Maxeld,\HardwareDescriptionLanguageandPCBDesign",PrintedCircuit 26-28,July1992. [37]B.Benhabib,C.R.Charette,K.C.Smith,andA.M.Yip,\AutomaticVisualInspection ofprintedcircuitboards:anexperimentalsystem",internationaljournalofrobotics andautomation,vol.5,no.2,1990. Design,Vol.9,No.10,pp.30-33,October1992. [38]ScottT.Jones,\ATEFindsaPartner:InspectionSystemsforPCBProduction",Electrionics,pp.51-55,June1985. [39]RobertH.Thibadeau,\AutomatedVisualInspectionasSkilledPerception",Vision'85 (TECON):ConferenceProceedings,pp.5.1-5.19,1985. [40]AbeAbramovich,\AdvancedVisionTechnologyforPrintedCircuitInspection",Vision'85 [41]WilliamH.Arnold,andAlanL.Levine,\AutomatedDefectInspectionforIn-Process (TECON):ConferenceProceedings,pp.5.168-5.179,1985. [42]L.F.Pau,\IntegratedtestingandAlgorithmsforVisualInspectionofIntegratedCircuits", SemiconductorDevices",SPIE-AutomaticOpticalInspection,Vol.654,pp.143-156,1986. [43]L.Arlan,M.J.Cantella,T.J.Dudziak,andM.F.Krayewsky,\High-ResolutionComputer- IEEETransactionsonPatternAnalysisandMachineIntelligence,Vol.PAMI-5,No.6, November1983. [44]VelerieC.Bolhouse,\MachineVisionApplicationsforHighVolumeElectronicsManufacturing",Vision'85(TECON):ConferenceProceedings,pp.5.75-5.98,1985. ControlledTelevisionSystemforHybridCircuitInspection",SPIE-ImagingApplications forautomatedindustrialinspection&assembly,vol.182,pp.130-137,1979. [45]C.H.Stapper,\ModelingofDefectsinIntegratedCircuitPhotolithographicPatterns", IBMJournalofResearchandDevelopment,Vol.28,No.4,pp.461-475,July1984. [46]RonaldT.Chin,CharlesA.Harlow,andSamuelJ.DwyerIII,\AutomaticVisualInspectionofPrintedCircuitBoards",SPIE:ImageUnderstandingSystemsandIndustrial [47]JosephW.Foster,G.KembleBennett,andPaulM.Grin,\AutomatedVisualInspection: SystemsConferenceProceedings,pp.135-140,1987. QualityControlTechniquesfortheModernManufacturingEnvironment",IEEIntegrated Applications,Vol.155,pp.199-213,1978. 42

[48]BatchelorB.G.,\IlluminationandImageAcquisitionTechniquesforIndustrialVision [49]UberG.T.,\Illuminationmethodsformachinevision",ProceedingsofSPIE,Vol.1005, Systems",InZimmerman,N.J.,Oosterlinck,A.,eds.,IndustrialApplicationsofImage Analysis,D.E.B.Publishers,PijnackerTheNetherlands,pp.97-118,1984. [50]Jen-KouChou,\AutomatedInspectionofPrintedCircuitBoard",Vision'85(TECON): pp.93-102,1986. [51]RobertThibadeau,\TheState-of-the-ArtinPrintedWiringBoardInspection,SPIE- ApplicationsofDigitalImageProcessingVII,Vol.504,pp.85-90,1984. ConferenceProceedings,pp.5.20-5.33,1985. [53]M.A.West,S.M.DeFoster,E.C.Baldwin,andR.A.Ziegler,\Computer-Controlled [52]StephenPage,\DesigningPCBoardsforOpticalInspection",ProceedingsofNEPCON'92, Vol.2,pp.1184-1187,1992. [54]YasuhikoHara,HideakiDoi,KoichiKarasaki,andTadashiIida,\ASystemforPCBAutomatedInspectionUsingFluorescentLight",IEEETransactionsonPatternAnalysisand MachineIntelligence,Vol.PAMI-10,No.1,January1988. OpticalTestingofHigh-DensityPCB",IBMJournalofResearchandDevelopment,Vol. 27,No.1,pp.50-58,1983. [55]A.Anzalone,M.Frucci,A.Machi,andG.SannitidiBaja,\ParallelImplementationon [56]JosephW.FosterIII,PaulM.Grin,andJ.D.Korry,\AutomaticVisualInspectionof amimdmachineofapcbcomputerassistedinspectionmethod",6thinternational ConferenceonImageAnalysisandProcessing:ProgressinImageAnalysisandProcessing ofadvancedmanufacturingtechnology,vol.2,no.2,pp.69-74,1987. BarePrintedCircuitBoardsusingParallelProcessorHardware",TheInternationalJournal II,pp.679-687,September1991. [57]O.Silven,T.Westman,S.HuotariandH.Hakalahti,\ADefectAnalysisMethodforVisual [58]J.Jarvis,\AMethodofAutomatingtheVisualInspectionofPrintedWiringBoards", Inspection",Proc.of8thIEEEInt.ConferenceofPatternRecognition,pp.868-870,1986. [59]E.Abbott,M.Hegyi,R.Kelley,D.McCubbrey,andC.Morningstar,\ComputerAlgorithms IEEETransactionsonPatternAnalysisandMachineIntelligence,Vol.PAMI-2,No.1,pp. 77-82,1980. [60]M.Ejiri,T.Uno,M.Mese,andS.Ikeda,\AProcessforDetectingDefectsinComplicated Patterns",ComputerGraphicsandImageProcessing,Vol.2,pp.326-339,1973. forvisuallyinspectingthickfilmcircuits",proceedingsofri/smeconferenceonapplied MachineVision,Memphis,TN,February1983. [61]Qin-ZhongYe,andPerE.Danielson,\InspectionofPrintedCircuitBoardsbyConnectivity [62]AhmedM.Darwish,andAnilK.Jain,\ARuleBasedApproachforVisualPatternInspection",IEEETransactionsofPatternAnalysisandMachineIntelligence,Vol.PAMI-10,No. Vol.PAMI-10,No.5,pp.737-742,September1988. PreservingShrinking",IEEETransactionsonPatternAnalysisandMachineIntelligence, 1,pp.56-68,January1988. 43

[64]JonR.Mandeville,\NovelMethodforAnalysisofPrintedCircuitImages",IBMJournal [63]Yung-NienSun,andChing-TsorngTsai,\ANewModel-BasedApproachforIndustrial VisualInspection",PatternRecognition,Vol.25,No.11,pp.1327-1336,1992. [65]LouisaLam,Seong-WhanLee,andChingY.Suen,\ThinningMethodologies-AComprehensiveSurvey",IEEETransactionsonPatternAnalysisandMachineIntelligence,Vol. 14,No.9,pp.869-885,September1992. ofresearchanddevelopment,vol.29,no.1,pp.73-87,january1985. [66]EdwardR.Dougherty,IntroductiontoMorphologicalImageprocessing,Bellingham,Washington,SPIEOpticalEngineeringPress,1992. [67]J.Serra,ImageAnalysisandMathematicalMorphology,AcademicPress,1982. [68]DavidT.Lee,\AComputerizedAutomaticInspectionSystemforComplexPrintedThick [69]RosenfeldA.,andKak,A.C.,DigitalPictureProcessing,Vol.I,AcademicPress,Orlando, FilmPatterns",SPIE-ApplicationsofElectronicImagingSystems,Vol.143,pp.172-177, 1978. [70]WilliamK.Pratt,\ImageDetectionandRegistration",DigitalImageProcessing,pp.551- FL. [71]YasuhikoHara,NobuyukiAkiyama,andKoichiKarasaki,\AutomaticInspectionSystem forprintedcircuitboards",ieeetransactionsonpatternanalysisandmachineintelligence,vol.pami-5,no.6,pp.623-630,november1983. 566,AWiley-IntersciencePublication,JohnWiley&Sons,1978. [72]YasuoNakagawa,YasuhikoHara,andMasayukiHashimoto,\AutomaticVisualInspection [73]E.B.DavidLeesandPhilipD.Henshaw,\PrintedCircuitBoardInspection-ANovel Approach",SPIE-AutomatedInspectionandMeasurement,Vol.730,1986. usingdigitalimageprocessing",hitachireview,vol.34,no.1,pp.55-60,1985. [74]T.Pavlidis,\AMinimumStorageBoundaryTracingAlgorithmanditsApplicationto [75]C.M.BjorklundandT.Pavlidis,\OntheAutomaticInspectionandDescriptionofPrinted WiringBoards",Proc.ofInt.ConferenceonCybern.Soc.,Princeton,NJ,pp.690-693,1977. AutomaticInspection",PrincetonUniversity,Tech.Report222,December1976. [77]TheoPavlidis,\Minimumstorageboundarytracingalgorithmanditsapplicationtoautomaticinspection",IEEETransactionsonSystems,ManandCybernetics,Vol.SMC-8,pp. GraphInformation",TransactionsofIEEJapan,Vol.112-C,No.2,pp.102-111,1992. [76]MasayasuIto,andYasuhiroNikaido,\PatternInspectionofaPrintedCircuitBoardusing 66-69,1978. [78]RobertE.Bible,RobertE.Bible,Jr.,\AutomatedOpticalInspectionofPrintedCircuit [79]PaulM.Grin,J.ReneVillalobos,JosephW.FosterIII,andSherriL.Messimer,\Auto- Boards",Test&MeasurementWorld,pp.208-213,October1984. neering,vol.18,no.4,pp.505-509,1990. matedvisualinspectionofbareprintedcircuitboards",computersandindustrialengi- 44

[80]JosephW.FosterIII,PaulM.Grin,SherriL.Messimer,andJ.ReneVillalobos,\Auto- [81]SeyfullahHalitOGUZ,andLeventONURAL,\AnAutomatedSystemforDesign-Rule- neering,vol.18,no.4,pp.493-504,1990. matedvisualinspectionofbareprintedcircuitboards",computersandindustrialengi- [82]G.A.W.West,L.Norton-Wayne,andW.J.Hill,\TheAutomaticVisualInspectionof BasedVisualInspectionofPrintedCircuitBoards",Proceedingsofthe1991IEEEInternationalConferenceonRoboticsandAutomation,pp.2696-2701,April1991. PrintedCircuitBoards",CircuitWorld,Vol.8,No.2,pp.50-56,1982. 45

[84]H.Freeman,\ComputerProcessingofLine-DrawingImages",ComputingSurveys,Vol.6, [83]G.A.W.West,\ASystemfortheAutomaticVisualInspectionofBare-PrintedCircuit 767-773,September/October1984. No.1,March1974. Boards",IEEETransactionsonSystems,Man,andCybernetics,Vol.SMC-14,No.5,pp. [85]W.M.Sterling,\AutomaticNon-ReferenceInspectionofPrintedWiringBoards",Proc. [86]W.M.Sterling,\Nonreferenceopticalinspectionofcomplexandrepetitivepatterns",SPIE IEEEComputerSocietyConferencePatternRecognitionandImageProcessing,pp.93-100, August1979. [87]MoritoshiAndo,HiroshiOka,SatoshiIwata,andTakefumiInagaki,\AutomatedOptical TechniquesandApplicationsofImageUnderstanding,Vol.281,pp.182-190,1981. PatternInspectionforHigh-DensityPrintedWiringBoards",SPIE,AutomatedInspection andhighspeedvisionarchitecturesii,vol.1004,pp.135-141,1988. 46