外文翻译向5轴计算机数控加工刀具轨迹的实时生成和控制.doc
附录A:英文资料Real-timegenerationandcontrolofcutterpathfor5-axisCNCmachiningAbstract:Thispaperpresentsanewapproachtoreal-timegenerationandcontrolofthecutterpathfor5-axismachiningapplications.Thecutterpathgenerationmethodcomprisesreal-timealgorithmsforcutter-contactpathinterpolation,cutteroffsetting,andcoordinateconversion.Inaddition,aglobalfeedbackloopisclosedbytheCNCinterpolatorsoastoaugmentthecontrolledaccuracyinpracticalcutterpathgeneration.Anerrorcompensationalgorithmandafeedrateadaptationalgorithmforthecontrollooparedeveloped,respectively.Keywords:5-axismachining;Cutterpathgeneration;CNCinterpolator;Errorcompensation;Feedrateadaptation1Introduction5-axiscomputernumericalcontrolled(CNC)machinetoolsarewidelyusedinmachiningdies,molds,turbineblades,andaerospaceparts.Thesepartsusuallyhavecomplexgeometryandarerepresentedbyparametricorfree-formsurfaces.Ascomparedto3-axismachining,the5-axismachiningoffersmanyadvantagessuchashigherproductivityandbettermachiningquality.In5-axismachining,theorientationofthetoolcanbedeterminedbythetwoadditionaldegreesoffreedomsoastoobtainefficientcutterpaths.Toachievehighefficiencyandinterference-freecutterpathplanning,manyalgorithmsfordeterminationofthecutterpathdirectionandintervalanddetectionandavoidanceofthecutterinterferencehavebeendeveloped.Basedonthesealgorithmsthatareimplementedinacomputer-aidedmanufacturing(CAM)system,thecutterpathsthatcomprisecutterlocationandorientationtrajectoriesaredeterminedandrepresentedbyaseriesoflinearorsplinemotioncommands.Toconducton-line5-axismachining,themotioncommandsgeneratedbytheCAMsystemareloadedtotheCNCmachinethatadoptsareal-timeinterpolator.TheCNCinterpolatorcanconvertthecutterpathtomotiontrajectoriesofthefiveseparateaxesinordertocoordinatetheirmotionin5-axismachining.Manyinterpolatorsfordifferenttypesofcurveshavebeendeveloped.Amongthemthelinearandthesplineinterpolatorsarethemostpopularinparametricsurfacemachining.ItwasreportedbyYangandKongthatlinearinterpolatormethodrequiresasignificantlylargefileforthelinearmotioncommandsandresultsinfederatefluctuationalongthecutterpath.Forthisreason,onlythesplineinterpolatormethodisconsideredhere.Beingaccompaniedbythecoefficientsofthesplinecurve,apresetfederateorvelocitycommandisalsofedtotheCNCmachine.Basedonthesplinecoefficientsandthefederaterequirement,theinterpolatorconductsareal-timeinterpolationorgenerationofthecutterpath.Intheory,theparametricsplineisconvertedtobeafunctionoftime.Noticethatinadditiontothepathinterpolator,the5-axisinterpolatormustconductaconversionbetweentheworkpiececoordinatebasis(WCB)andthemachinecoordinatebasis(MCB)inwhichthecutterpathandthepracticalmachinemovementaredefined,respectively.Intheexistingapproach,thedatafedtotheCNCinterpolatorarethepathandthevelocityforthecutterlocation(CL).Thecutterlocationdenotesthecenterofthetoolbottomandisusuallynotthelocationwherethecuttingtakesplace.Incontrast,thecuttercontact(CC)location,whichdenotestheintersectionpointofthecutterandthesculpturedaurface,isourmainconcern.Forthisreason,thecurrentapproachcannotachievehighefficiencyandqualitybecauseboththegenerationandthecontrolofthecutterpatharebasedontheCLpath,ratherthantheCCpath.Incutterpathgeneration,aconstantCLvelocityisusuallyassignedalongtheCLpath.Accordingtothesurfacecurvature,aconstantCLvelocitywillcorrespondtoavaryingCCvelocity.BecausetheCCvelocityissignificantlyrelatedtothemachiningquality,theexistingapproachmayresultinlowefficiencyand/orlowqualitymachining.Inreal-timecutterpathcontrol,thetraditionalCNCsystemconstructsservoschemethatfocusesoneliminatingthepositioningerrorsalongeachdrivingaxes.TheservocontrolschemecanbemodifiedsoastoeliminatetheCLpatherror.However,ourmainconcernisthedeviationerrorfromtheCCpath,whichdirectlyrelatestothemachinederroronthesculpturedsurface.Accordingly,currentCNCschemecannotachievehighefficiencyincontrolofthemachiningaccuracy.Inthispaperanewmethodforreal-timecutterpathgenerationfor5-axismachiningispresented.Intheproposedmethod,compositecutterdatacomprisingthecutterorientation,theCClocation,theCCvelocityandthesurfacenormalarefedtotheCNCinterpolator,whichconsistsofreal-timealgorithmsforCCpathinterpolation,thecutteroffsetting,andthecoordinateconversion.Withtheproposedmethod,thecutterpathisgeneratedsoastosatisfythedesiredvelocityalongtheCCpathonthesculpturedsurface.Inadditiontothecutterpathgeneration,theproposedCNCsystemconstructsaglobalfeedbacklooptoaugmenttheperformanceincutterpathcontrol.Theloopisclosedbytheinterpolator,whichcanmonitorthepracticalcutterpathsoastocompensatefortheCCpathdeviationerrorortoreduceitthroughon-lineadaptationoftheCCvelocity(thismeanstoslowdownthemachiningastheCCpatherroristoolarge).Inthispaper,wefirstdiscusstheexistingapproachtocutterpathgenerationandcontrolandthecorrespondingproblems.Then,anewapproachisproposed.Simulationexamplesareprovidedtosupporttheadequacyoftheproposedapproach.Finally,concludingremarksaregiven.2ToolpathdescriptionandmachinetoolmotionThecuttertoolscommonlyusedin5-axismachiningareendmillcutters.Thecuttersendcanbeflat,spherical,orfilleted.Fig.1showsatypicalfilletedendmillcutterwithatoolradiusoftrandacornerradiusofcr.Noticethatthecutterforcr=0referstoaflatendmillandthecutterforcr=trreferstoasphericalendmill.Cdenotesthecuttercontact(CC)pointthatistheintersectionofthecutterandthesculpturedsurface,S.Nistheunitnormalvectortothesurfaceon.CTand()BTNdenotetheCCpathdirectionandthepathinterval(orscallop)direction,respectively.NandOarethecutterlocation(CL)pointandthetoolorientationvector,respectively.Traditionally,thecutterorientation(O)issettoafixedangleoffthesurfaceprinciplenormal(N)duringmachining.However,theangleformedbetweenNandOcanbealteredsoastoavoidcutterinterference.Geometrically,thisanglecanbefurtherdecomposedintoaninclinationangle()andatiltangle()sothattheendmillisrotatedaboutCwithalongBandthenwithalongN.Basedonthesurfaceandcutterpathgeometry(,CNTand),theCLdata(,)LOaredefined.Throughsomemathematicalmanipulation,wecanhavethecutteroffsettingalgorithmasfollows.()(coscossincossin)ctccLCrNrrTNBrO(1)sincoscossinsinOTNB(2)Basedontheabovealgorithm,thecutterlocationandorientationtrajectoriesaredeterminedandrepresentedbylinearorsplinemotioncommands.BecausetoutilizelinearmotioncommandsrequiresasignificantlylargeCLfileandresultsinvelocityfluctuationalongthecutterpath,weutilizeparametricsplinefunctionstorepresentthecutterpathhere.Inpractice,weneedthreesplinefunctionsforthecutterlocation(,Lxtytzt)andtwosplinefunctionsforthetoolorientation(O).NoticethatthethreecomponentsofOcanbereducedtotwoEulerangles.Inthispaper,theEulerangles,tand,taredefinedsothatthetoolaxisisoriginallyinthez-direction,thenrotateswithtalongx-axis,andfinallyrotateswithtalongy-axis.Accordingly,wehave11,sin()tan()xyzttooo(3)AttheCAMstage,thetoolpath(,)LOor,(,)tttttxyzisdefinedinacoordinateframe,wF,whichisfixedtothepartortheworktableonthemachinetool.AttheCNCdesiredtoolpath,(,)tttttxyzwithrespecttoworktable(wF).LetmFdenoteamachinecoordinateframethatisattachedtoafixedpointonthemachinetool.AssumethatthecutterlocationLisafixedpointinmF(thismeansthatthe5degreesoffreedomareallappliedontheworktable).Toconductthe5-axismachining,acoordinateconversionalgorithmfromwFtomFmustbeimplementedintheCNCsystem.Thiscoordinateconversion,usuallycalledaninversekinematicstransformation,obviouslydependsonthemachinetoolstructure.Atypicalmachinetoolstructurethatisutilizedinthispaper.Inthestructure,thetoolisfixedandtheworktableisdrivenbythreeslidingandtworotatingaxes.,mmxyandmzarethepositionsalongthethreeslidingaxes.mistherotationanglealongx-axisthroughA(=(,mmmxyz),afixedpointonthelowertable.mistherotationanglealongthey-axisthroughB,afixedpointontheworktable.Noticethatforsimplicity,weletBbetheoriginoftheworkcoordinateframe,wF.LetxyzLlxlylz(afixedpointwithrespecttomF)andassumethatthecenteroftheuppertableisrightonthetopofthelowertable,i.e.zBAbz.Withtheabovedefinitions,wecanformulatethekinematicsequationsthatrelatethemachinetoolmotion,()mmmmmxyztothecutterpath,(,)tttttxyzasfollows.,(,)()tttttmmmmmxyzKinematicsxyz(4a)orsin()cos()sinsin()cossintmxmmymmmzmmmxbzlxlylz()cos()sintymmzmmylylzcos()sin()sincos()coscostmxmmymmmzmmmzbzlxlylz(4b)tm,tmand,()(,)mmmmmtttttxyzInvKinematicsxyz(5a)orcossinmxttttxlxzsinsinsincossincosmyztttttttttylbxyz