- 2022-09-27 发布 |
- 37.5 KB |
- 16页
申明敬告: 本站不保证该用户上传的文档完整性,不预览、不比对内容而直接下载产生的反悔问题本站不予受理。
文档介绍
球在平板上的鲁棒视觉伺服运动控制
Mechatronics13(2003)723–738Robustvisualservoingformotioncontroloftheballonaplatea,*bJongHyeonPark,YoungJongLeeaSchoolofMechanicalEngineering,HanyangUniversity,Seoul133-791,RepublicofKoreabDepartmentofPrecisionMechanicalEngineering,HanyangUniversity,Seoul133-791,RepublicofKoreaAbstractThispaperpresentsvisualservoingcontrolforaballonaflatplatetotrackitsdesiredtrajectory.Anindustrialrobotmanipulatorisusedastheactuatorstochangetheangleoftheplatesothattheballcantrackitsgiventrajectoryontheplate.Thecenterpositionoftheballismeasuredwithamachinevisionsystem.BasedontheEulerestimator,analgorithmtofindthecenteroftheballwithinterlaced-scannedimagedataisproposed.Tocopewiththevariationsinthesurfacecharacteristicsoftheplate,andthesizeandmassoftheball,asliding-modecontrolisusedforthevisualservoing.Experimentalresultsshowthattheproposedalgorithmandthesliding-modecontrollerworkwellwithrobustness.Ó2002ElsevierScienceLtd.Allrightsreserved.Keywords:Machinevision;Sliding-modecontrol;Visualservoing;Interlacedscanning1.IntroductionWhenahumanoperatorperformsatask,heorsheusesvarioussensingorganstodealwithanychangeoruncertaintyinvolvedinthetaskandtheenvironment.Amongmanysensingorgans,eyevisionistheprimeinformationroutetogatherthedataontheenvironmentinmanytasks.Theoperator’shand-eyecoordinationisakeytosuccessinmanycases.Forrobots,whichhavethecapabilityofpositioningtheirend-effectorsveryprecisely,withoutsensorssuchasvisionsystems,theyarelimitedtoperformingsimpletasksinapre-determinedenvironment.Asinhumancounterparts,oneoftheprimesensorsthatrobotsneedinperformingtasksdex-terouslyisvision.Visualinformationbecomesmoreimportantespeciallywhenthe*Correspondingauthor.Tel.:+822-2290-0435;fax:+822-2298-4634.E-mailaddress:jongpark@hanyang.ac.kr(JongH.Park).0957-4158/03/$-seefrontmatterÓ2002ElsevierScienceLtd.Allrightsreserved.doi:10.1016/S0957-4158(02)00039-9\n724J.H.Park,Y.J.Lee/Mechatronics13(2003)723–738environmentchangesdynamicallyandnoothernon-contactmeanstomeasurethestatusofthechangingenvironmentisfeasible.Manyresearchershaveusedmachinevisionsystemsinperformingdifficulttasksefficiently.ShiraiandInoue[1]describedhowavisualfeedbackloopcanbeusedtocorrectthepositionofarobottoincreasetaskaccuracy.Hashimoto[2]provedtheusefulnessofthevisualfeedbackusingaroboticsystem.Hutchinsonetal.[3]providesagoodconceptualintroductiontovisualservoingandcategorizesvisualservoingintodifferentsub-categories.Camerascanbefixedormovedaroundin-dependentoftherobotconfiguration,orcanbeattachedtotherobotsothatitspositionandorientationsaredirectlydependentontherobotconfigurationasin[4].Controlsystemscanbeeitherposition-based[5,6]orimage-based[7].Intheformer,thevisualdataisusedtocomputetherelativepositionoftheobject(s)tothecamera.Inthispaper,amachinevisionsystembasedonpositioncontrolisproposedandusedinordertocontrolthetrajectoryoftheballonaflatplate.Thevisionsystem,fixedinalocation,collectstheinformationonthepositionoftheballontheplate.AfastalgorithmtodetectthepositionoftheballontheimageplanecombinedwiththeEulerpositionestimatorresultsinafastcontrol-loopattheregularframerate.A6-DOFindustrialrobotisusedtocontroltheorientationoftheplatetomovetheballaroundontheplate.Thevisualservoingsystemiscontrolledbythesliding-modecontroller,whichhasrobustnesstosystemuncertainty,andunmodelleddistur-bances.Section2describesanalgorithmofsearchingtheballfromtheimagedataandtherelationshipbetweentheworldcoordinatesandtheimagecoordinates.InSection3,thedynamicsofaballonaplateandthesliding-modecontrolleriscovered.ExperimentsandtheirresultsarecoveredinSection4,followedbyconclusionsinSection5.2.Visionsystem2.1.ImageprocessingThevisionsystemusedinthispapertakesbinarydataafterdigitizingtheimagedataatthehardwarelevel,thethresholdlevelsforwhicharestoredinalookuptableoftheframegrabber.Itisadvantageoustousebinarydataindifferentiatinganobjectfromitsnear-monotonicsurroundingsfast[8].Inthevisionsystemused,onefull-frameofimageconsistsof640480pixels.Searchingthewholevideodataofafull-frameforasmallmovingobjectusuallytakesquitelongtime,andthusdegradestheperformanceofthevisualservoingsystem.Thus,basedonthesizeoftheballintheimageplane,only100100-pixel-sizedimagedataaroundtheestimatedpositionoftheballaresearchedtofindtheprecisepositionoftheball(center),asshowninFig.1.Estimatedpositionoftheballatðkþ1Þ-thframe,denotedbyxbðkþ1Þ,iscalculatedusingtheEulerestimator[9],i.e.,\nJ.H.Park,Y.J.Lee/Mechatronics13(2003)723–738725Fig.1.Estimationoftheballcenter.ixðkÞixðk1Þix^ibbbðkþ1Þ¼xbðkÞþ;ð1ÞDtwhereixðkÞisthemeasuredpositionoftheballontheimageplaneatkthframeandbDtisthetimegapbetweenthekthandtheðk1Þthframesamples.Thecenterpositionoftheballintheimageplaneiscomputedbyaveragingthemaximumpositionandtheminimumpositionsoftheimageblobassociatedwiththeball.Thus,ixðkÞ¼1½þmaxix2BðkÞminix2BðkÞ;ð2Þb2whereix2R2denotesthepixelindexontheimageplaneandBðkÞdenotestheimageblobatframekthatrepresentstheball.Whenanobjectmovesfast,itsimagetakenfromvideocameraswithinterlacedscanningmaybecomeblurred.Fig.2showstheimagestakenwhenacircularobjectmovesfasthorizontallyandvertically.Thus,interlacedscanning,whichscansevenandoddfieldsofthevideosignalseparately,introducesimagedistortions[10],andthuspreventsanaccuratemeasurementofthepositionoftheobject.Tominimizetheerrorinthepositionoftheball,onlyonefield(evenorodd)ofthevideodataisusedtomeasurethecenteroftheball.Fig.3showstheprioritymasksusedfortheal-gorithm.MaskMxmininthefigureisusedtofindthepixelthatrepresentsthelower-boundoftheimagebloboftheballinthex-direction.Tofindthebound,thefollowingstepsaretaken:Step1.Placethecenterofthemask,mcatthepreviouslyestimatedcenteroftheball,ix^ðk1Þ.b\n726J.H.Park,Y.J.Lee/Mechatronics13(2003)723–738Fig.2.Imagedistortionduetotheinterlacedscanning:whenacircularobjectmoves:(a)horizontally,and(b)vertically.Step2.Ifthepixelat‘‘first’’isoneofthepixelsrepresentingtheball,thenthemaskismovedsuchthatitscenterislocatedatthatpixel.Then,gobacktoStep1.Step3.Ifthepixelat‘‘first’’doesnotrepresenttheball,checkthepixelat‘‘second’’ofthemask.Ifitrepresentstheball,thenthecenterofthemaskismovedtothepositionofthepixel.Then,gobacktoStep1.Step4.Ifthepixelat‘‘second’’isnotassociatedwiththeimageoftheball,checkifthepixelat‘‘third’’isassociatedwiththeimageoftheball.Ifso,thecenterofthemaskisshifteddowntothepositionofthepixel,andthengobacktoStep1.Otherwise,thelower-boundinthex-direction,i.e.,minix2BðkÞ,issetasthepixelatthecenterofthemask.Tofindtheupper-boundpixelinthex-direction,Mxmax,isusedinasimilarfashiontomovethemasktotherightoftheobjectblobontheimageplane.Sim-\nJ.H.Park,Y.J.Lee/Mechatronics13(2003)723–738727Fig.3.Amaskusedincomputingthecenterofaball.ilarly,tofindtheupper-andlower-boundsinthey-direction,masksMymaxandMyminareused,respectively.2.2.CameraprojectionmodelInsettinguptherelationshipbetweenanobjectanditsimageontheimageplane,theso-calledscaledorthographicprojectionisoftenusedespeciallywhenthemotionrangeoftheobjectinthedirectionperpendiculartotheimageplaneissmallcom-paredwiththedistancebetweentheobjectandthecamera.Sincethatthedepthvariationoftheballontheplateissmallduetosmallchangesintheplaneorien-tationasshowninFig.4,thescaledorthographicprojectionisused.Therelationshipbetweenthereferencecoordinatesandtheimagecoordinatesinthescaledortho-graphicprojection[11]canbeexpressedbyixxi¼Sc;ð3Þyywhereðx;yÞisthepositionoftheobjectaboutthecamerareferencecoordinateandðix;iyÞisthepositionoftheobjectintheimagecoordinatesontheimageplane.And,\n728J.H.Park,Y.J.Lee/Mechatronics13(2003)723–738Fig.4.Configurationofthecameraandtheplate.22matrixSc2Risascalefactor,whichdependsonmanyfactorsincludingthedistancebetweenthecameraandtheobject,andthefocallengthofthecameralens.3.Controllerdesign3.1.EquationsofmotionfortheballonaplateSupposethattheballandtheplatearealignedasinFig.5.Thex–yplaneiscoplanarwiththeplaneonwhichtheballislocated.Thez-directionisupwardandnormaltotheplane.Itwillbeassumedthattheballontheplaneisperfectlyasphere.Then,fromNewton’ssecondlaw,TymR€xJayþmgRsinhy¼0;ð4ÞTxþmR€yJaxþmgRsinhx¼0;ð5ÞwhereR,mandJaretheradius,themassandthemomentinertiaoftheball;hxandhyaretheinclinationangleoftheplateinthex-andy-direction;axandayaretheangularaccelerationoftheballinthex-andy-direction;TxandTyarethetorquegeneratedinthex-andy-directionrespectively,atthecontactareabetweentheballandtheplate,associatedwiththedeformationoftheplate(andtheball)duetothecontactforcebetweenthem.TorqueTxandTyarestronglydependsonthetypeofthematerialsandthesurfacecondition,suchasroughness,oftheballandtheplate.Iftheballisuniform,itsmomentofinertiaisJ¼2mR2:5\nJ.H.Park,Y.J.Lee/Mechatronics13(2003)723–738729Fig.5.Theballrollsdowntheinclinedplate.Fig.6.Overallsystemblockdiagram.\n730J.H.Park,Y.J.Lee/Mechatronics13(2003)723–738Ingeneral,foraballthatismadeoftwodifferentmaterials,22Ml2MhJ¼kmR查看更多