




已阅读5页,还剩3页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
IntJAdvManufTechnol(2000)16:6356422000Springer-VerlagLondonLimitedThePre-ProcessingofDataPointsforCurveFittinginReverseEngineeringMing-ChihHuangandChing-ChihTaiDepartmentofMechanicalEngineering,TatungUniversity,Taipei,TaiwanReverseengineeringhasbecomeanimportanttoolforCADmodelconstructionfromthedatapoints,measuredbyacoordi-natemeasuringmachine(CMM),ofanexistingpart.Amajorprobleminreverseengineeringisthatthemeasuredpointshavinganirregularformatandunequaldistributionarediffi-culttofitintoaB-splinecurveorsurface.Thepaperpresentsamethodforpre-processingdatapointsforcurvefittinginreverseengineering.TheproposedmethodhasbeendevelopedtoprocessthemeasureddatapointsbeforefittingintoaB-splineform.TheformatofthenewdatapointsregeneratedbytheproposedmethodissuitablefortherequirementsforfittingintoasmoothB-splinecurvewithagoodshape.Theentireprocedureofthismethodinvolvesfiltering,curvatureanalysis,segmentation,regressing,andregeneratingsteps.Themethodisimplementedandusedforapracticalapplicationinreverseengineering.TheresultofthereconstructionprovestheviabilityoftheproposedmethodforintegrationwithcurrentcommercialCADsystems.Keywords:Curvefitting;Pre-processingofdatapoints;Reverseengineering1.IntroductionWiththeprogressinthedevelopmentofcomputerhardwareandsoftwaretechnology,theconceptofcomputer-aidedtech-nologyforproductdevelopmenthasbecomemorewidelyacceptedbyindustry.Thegapbetweendesignandmanufactur-ingisnowbeinggraduallynarrowedthroughthedevelopmentofnewCADtechnology.Inanormalautomatedmanufacturingenvironment,theoperationsequenceusuallystartsfromproductdesignviageometricmodelscreatedinCADsystems,andendswiththegenerationofmachininginstructionsrequiredtoconvertrawmaterialintoafinishedproduct,basedonthegeometricmodel.Torealisetheadvantagesofmoderncom-Correspondenceandoffprintrequeststo:Ming-ChihHuang,Depart-mentofMechanicalEngineering,TatungUniversity,40ChungshanNRoad,3rdSection,Taipei104,Taiwan.E-mail:mindyK.twputer-aidedtechnologyintheproductdevelopmentandmanu-facturingprocess,ageometricmodeloftheparttobecreatedintheCADsystemisrequired.However,therearesomesituationsinproductdevelopmentinwhichaphysicalmodelorsampleisproducedbeforecreatingtheCADmodel:1.Whereaclaymodel,forexample,indesigningautomobilebodypanels,ismadebythedesignerorartistbasedonconceptualsketchesofwhatthepanelshouldlooklike.2.Whereasampleexistswithouttheoriginaldrawingordocumentationdefinition.3.WheretheCADmodelrepresentingtheparthastoberevisedowingtodesignchangeduringmanufacturing.Inallofthesesituations,thephysicalmodelorsamplemustbereverseengineeredtocreateorrefinetheCADmodel.Incontrasttothisconventionalmanufacturingsequence,reverseengineeringtypicallystartswithmeasuringanexistingphysicalobjectsothataCADmodelcanbededucedinordertoexploittheadvantagesofCADtechnologies.Theprocessofreverseengineeringcanusuallybesubdividedintothreestages,i.e.datacapture,datasegmentationandCADmodellingand/orupdating1,2.Aphysicalmock-uporprototypeisfirstmeasuredbyacoordinatemeasuringmachineoralaserscannertoacquirethegeometricinformationintheformof3Dpoints.Themeasuredresultsarethensegmentedintotopologicalregionsforfurtherprocessing.Eachregionrepresentsasinglegeometricfeaturethatcanberepresentedmathematicallybyasimplesurfaceinthecaseofmodelreconstruction.CADmodellingreconstructsthesurfaceofaregionandcombinesthesesurfacesintoacompletemodelrepresentingthemeasuredpartorprototype3.Inpracticalmeasuringcases,however,therearemanysitu-ationswherethegeometricinformationofaphysicalprototypeorsamplecannotbemeasuredcompletelyandaccuratelytoreconstructagoodCADmodel.Somedatapointsofthemeasuredsurfacemaybeirregular,havemeasurementerrors,orcannotbeacquired.AsshowninFig.1,themainsurfaceofmeasuredobjectmayhavefeaturessuchasholes,islands,orroughnesscausedbymanufacturinginaccuracy,consequentlytheCMMprobecannotcapturethecompletesetofdatapointstoreconstructtheentiresurface.636M.-C.HuangandC.-C.TaiFig.1.Thegeneralproblemsinapracticalmeasuringcase.Measurementofanexistingobjectsurfaceinreverseengin-eeringcanbeachievedbyusingeithercontactprobingornon-contactsensingprobingtechniques.Whatevertechniqueisapplied,therearemanypracticalproblemswithacquiringdatapoints,forexamples,noise,andincompletedata.Withoutextensiveprocessingtoadjustthedatapoints,theseproblemswillcausetheCADmodeltobereconstructedwithanunde-siredshape.InordertorebuildtheCADmodelcorrectlyandsatisfactorily,thispaperpresentsausefulandeffectivemethodtopre-processthedatapointsforcurvefitting.Usingtheproposedmethod,thedatapointsareregeneratedinaspecifiedformat,whichissuitableforfittingintoacurverepresentedinB-splineformwithouttheproblemspreviouslymentioned.Afterfittingallofthecurves,thesurfacemodelcanbecompletedbyconnectingthecurves.2.TheTheoryofB-splineMostofthesurface-basedCADsystemsexpressshapesrequiredformodellingbyparametricequations,suchasinBezierorB-splineforms.ThemostusedistheB-splineform.B-splinesarethestandardforrepresentingfreeformcurvesandsurfacesincurrentcommercialCADsystems.B-splinecurvesandBeziercurveshavemanyadvantagesincommon4.Controlpointsinfluencethecurveshapeinapredictable,naturalway,makingthemgoodcandidatesforuseinaninteractiveenvironment.Bothtypesofcurvearevariationdiminishing,axisindependent,andmultivalued,andbothexhi-bittheconvexhullproperty.However,itisthelocalcontrolofcurveshapewhichispossiblewithB-splinesthatgivesthetechniqueanadvantageovertheBeziertechnique,asdoestheabilitytoaddcontrolpointswithoutincreasingthedegreeofthecurve.Consideringthereal-worldapplicationsrequirement,theB-splinetechniqueisusedtorepresentcurvesandsurfacesinthisresearch.AB-splinecurveisasetofbasisfunctionswhichcombinestheeffectsofn+1controlpoints.AparametricB-splinecurveisgivenbyp(u)=Oni=0piNi,k(u)(0#u#1)(1)Pi=controlpointsn+1=numberofcontrolpointsNi,k(u)=theB-splinebasisfunctionsu=parameterForB-splinecurves,thedegreeofthesepolynomialsiscontrolledbyaparameterkandisusuallyindependentofthenumberofcontrolpoints,andtheB-splinebasisfunctionsaredefinedbythefollowingexpression:Ni,1(u)=H1ifui#u#ui+10otherwise(2)andNi,k(u)=u-uiui+k-uiNi,k-1(u)+ui+k+1-uui+k+1-ui+1Ni+1,k-1(u)(3)Wherekcontrolsthedegree(k-1)oftheresultingpoly-nomialsinuandthusalsocontrolsthecontinuityofthecurve.AB-splinesurfaceisdefinedinasimilarwaytoatensorproductinaB-splinecurve.ItisalsopossibletodefineaB-splinesurfacehavingdifferentdegreesintheu-andv-direc-tions:S(u,v)=Oni=0Omj=0pijNi,p(u)Ni,q(v)(0#u#1)(4)3.CurveFittingGivenasetofdatapointsmeasuredfromexistingobject,curvefittingisrequiredtopassthroughthedatapoints.Theleast-squaresfittingtechniqueisthemostusedalgorithmwhichaimsatapproximating,basedonaniterativemethod,asetofdatapointstoformaB-spline57.GivenasetofdatapointsQk,k=0,1,2,.,n,thatlieonanunknowncurvePforcertainparametervaluesuk,k=0,1,2,.,n;itisnecessarytodetermineanexactinterp-olationorbestfittingcurve,P.Tosolvethisproblem,theparametervalues(uk)foreachofthedatapointsmustbeassumed.Theknotvectorandthedegreeofthecurvearealsodetermined.Thedegreeinpracticalapplicationsisgenerally3(order=4).Theparametervaluescanbedeterminedbythechordlengthmethod:QkP(uk)=Oni=0piNi,p(uk)(k=0,1,.,n)(5)u0=0,ui=Oij=1uQj-Qj-1u.Onj-1uQj-Qj-1u.(6)Giventheparametervalues,aknotvectorthatreflectsthedistributionoftheseparametershasthefollowingform:U=0,0,.,0,V1,V2,.,Vn,1,1,.,1p+1p+1Vj=1pOj+p-1i=jui(j=1,2,.,n-p)(7)Pre-ProcessingofDataPointsforCurveFitting637Fig.2.Curvefittingwithunequaldistributionofdatapoints.Itcanbeprovedthatthecoefficientmatrixistotallypositiveandbandedwithabandwidthoflessthanp,therefore,thelinearsystemcanbesolvedsafelybyGaussianeliminationwithoutpivoting.Ni,p(uk)ui,k=0,.,nEquation(5)canbewritteninamatrixform:QNP(8)whereQisan(m+1)1matrix,Nisan(m+1)(n+1)matrix,andPisan(n+1)1matrix.Sincem.n,thisequationisover-determined.ThesolutionisP*=(NTN)-1NTQ(9)4.TheRequirementforFittingaSetofDataintoaB-SplineCurveInordertoproduceaB-splinecurvewitha“goodshape”,somecharacteristicsarerequiredtofitthedatapointsetintoacurvepresentedinB-splineform.First,thedatapointsmustbeinawell-orderedsequence.WhenapplyingtheprogramtofitasetofdatapointsintoaB-splinecurve,thedatapointsmustbereadonebyoneinaspecifiedorder.Ifthedatapointsarenotinorder,thiswillcauseanundesiredtwistoranout-of-controlshapeoftheB-splinecurve.Secondly,anevendispersionofthedatapointsisbetterforcurvefitting.Inthemeasuringprocedure,somefactors,suchasthevibrationofthemachine,thenoiseinthesystem,andtheroughnessofthesurfaceofthemeasuredobjectwillinfluencetheresultofthemeasurement.Allofthesephenom-enawillcauselocalshakesinthecurvewhichpassesthroughtheproblempoints.Therefore,asmoothgradationofthelocationofthedatapointsisnecessaryforgeneratinga“highquality”B-splinecurve.HavingthedatapointsequallydistributedisimportantforimprovingtheresultofparameterisationforfittingaB-splinecurve.AsthemathematicalpresentationshowsinEq.(9),thecontrolpointsmatrixPisdeterminedbythebasisfunctionsNanddatapointsQ,wherethebasisfunctionsNaredeterminedbytheparametersuiwhicharecorrespondtothedistributionofthedatapoints.Ifthedatapointsaredistributedunequally,thecontrolpointswillalsobedistributedunequallyandwillcausealackofsmoothnessofthefittingcurve.Asmentionedabove,inpracticalmeasuringcases,themainsurfaceFig.3.Curvefittingwithequaldistributionofdatapoints.Fig.4.Theprocedureofdatapointspre-processing.ofaphysicalsampleoftenhassomefeaturessuchasholes,islands,andradiusfillets,whichpreventtheCMMprobefromcapturingdatapointswithequaldistribution.Ifacurveisrebuiltbyfittingdatapointswithanunequaldistribution,asshowninFig.2,thegeneratedcurvemaydifferfromtherealshapeofthemeasuredobject.Figure3illustratesthatasmootherandmoreaccuratereconstructionmaybeobtainedbyfittinganequallyspacedsetofdatapoints.5.ThePre-ProcessingofDataPointsToachievetherequirementsforfittingasetofdatapointsintoaB-splinecurveasmentionedabove,itisveryimportantandnecessarythatthedatapointsmustbepre-processedbeforecurvefitting.Inthefollowingdescription,ausefulandeffectivemethodforpre-processingthedatapointsforcurvefittingispresented.Theconceptofthismethodistoregressasetofmeasuringdatapointsintoanon-parametricequationinimplicitorexplicitform,andthisequationmustalsosatisfytheconti-nuityofthecurvature.Foraplanecurve,theexplicitnon-parametricequationtakesthegeneralform:y=f(x).Figure4638M.-C.HuangandC.-C.TaiFig.5.Curvatureiscalculatedbythreediscretepointsonacircle.illustratesanoverviewoftheproceduretopre-processthedatapointsforreverseengineering.Datapointfilteringisthefirststepindisplacingtheunwantedpointsandthenoisypoints.TheoriginaldatapointsmeasuredfromaphysicalprototypeoranexistingsamplebyaCMMareindiscreteformat.Whenthemeasuredpointsareplottedinadiagram,thenoisypointswhichobviouslydeviatefromtheoriginalcurvecanbeselectedandremovedbyavisualsearchbythedesignerforextensiveprocessing.Inaddition,thedistinctdiscontinuouspointswhichapparentlyrelatetoasharpchangeinshapemayalsobeseparatedeasilyforfurtherprocessing.ManyapproacheshavebeendevelopedforgeneratingaCADmodelfrommeasuredpointsinreverseengineering.Acomplexmodelisusuallyconstructedbysubdividingthecom-pletemodelintoindividualsimplesurfaces8,9.EachoftheindividualsurfacesdefinesasinglefeatureinaCADsystemandacompleteCADmodelisobtainedbyfurthertrimming,blendingandfilleting,orusingothersurface-processingtools.Whenthedesignerisgivenasetofunorganiseddatapointsmeasuredfromanexistingobject,datapointsegmentationisrequiredtoreconstructacompletemodelbydefiningindividualsimplesurfaces.Therefore,curvatureanalysisforthedatapointsisusedforsubdividingthedatapointsintoindividualgroups.InordertoextracttheprofilecurvesforCADmodelrecon-struction,inthisstep,datapointsaredividedintodifferentgroupsdependingupontheresultofcurvaturecalculationandanalysisofthedatapoints.Foreach2Dcurve,y=f(x),thecurvatureisdefinedas:k=d2ydx2F1+SdydxD2G3/2=f1+(f)23/2(10)Ifthedataisexpressedindiscreteform,foranythreeconsecutivepointsinthesameplane(X1,Y1)(X2,Y2)(X3,Y3),thethreepointsformacircleandthecentre(X0,Y0)canbecalculatedas(seeFig.5):X0=a-b+cdY0=e-f+g-dwherea=(X1+X2)(X2-X1)(Y3-Y2)b=(X2+X3)(X3-X2)(Y2-Y1)c=(Y1-Y3)(Y2-Y1)(Y3-Y2)d=2(X2-X1)(Y3-Y2)-(X3-X2)(Y2-Y1)Fig.6.Thefilletofthemodel.Fig.7.Thecurvaturechangeofthefillet.e=(Y1+Y2)(Y2-Y1)(X3-X2)f=(Y2+Y3)(Y3-Y2)(X2-X1)g=(X1-X3)(X2-X1)(X3-X2)And,thecurvaturekof(X2,Y2)canbedefinedas:k=1r=1(X0-X2)2+(Y0-Y2)2)(11)Figure6illustratesanexampleinwhichthecurvaturesofaplanecurveconsistingofadatapointsetarecalculatedusingthepreviousmethod.Thecurvatureofthecurvedeterminedbythedatapointsetchangesfrom0to0.0333,assh
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 广西经济职业学院《材料化学基础(二)》2023-2024学年第二学期期末试卷
- 成都工业职业技术学院《有机合成设计》2023-2024学年第二学期期末试卷
- 团圆创意美术课件
- 长春理工大学《翻译与实践》2023-2024学年第二学期期末试卷
- 贵州大学《聚合物成型加工原理》2023-2024学年第二学期期末试卷
- 贵阳职业技术学院《西藏近现代发展史》2023-2024学年第二学期期末试卷
- 潍坊职业学院《电子商务综合》2023-2024学年第二学期期末试卷
- 内蒙古经贸外语职业学院《事故调查与案例分析》2023-2024学年第二学期期末试卷
- 鹤岗师范高等专科学校《逆向分析技术》2023-2024学年第二学期期末试卷
- 南京审计大学《广播电视新闻报道》2023-2024学年第二学期期末试卷
- 腾讯微博VS新浪微博
- DB63-T 1110-2020 青海省绿色建筑评价标准-(高清现行)
- 公共政策导论完整版课件全套ppt教学教程(最新)
- DBJ04∕T 416-2020 农村宅基地自建住房技术指南(标准)
- 归档范围和保管期限(8号令)讲解课件
- 瓦斯抽放泵培训PPT课件
- GA 1517-2018 金银珠宝营业场所安全防范要求
- 疑似预防接种异常反应(AEFI)监测与处理PPT课件
- 德森印刷机常见问题点维修参考手册
- 输电线反时限零序电流保护_图文
- 强对阵图模板(共1页)
评论
0/150
提交评论