control of an inverted pendulum外文文献本科论文.docx
- 文档编号:1221779
- 上传时间:2022-10-19
- 格式:DOCX
- 页数:11
- 大小:449.68KB
control of an inverted pendulum外文文献本科论文.docx
《control of an inverted pendulum外文文献本科论文.docx》由会员分享,可在线阅读,更多相关《control of an inverted pendulum外文文献本科论文.docx(11页珍藏版)》请在冰豆网上搜索。
controlofaninvertedpendulum外文文献本科论文
ControlofanInvertedPendulum
JohnnyLam
Abstract:
Thebalancingofaninvertedpendulumbymovingacartalongahorizontaltrackisaclassicproblemintheareaofcontrol.Thispaperwilldescribetwomethodstoswingapendulumattachedtoacartfromaninitialdownwardspositiontoanuprightpositionandmaintainthatstate.Anonlinearheuristiccontrollerandanenergycontrollerhavebeenimplementedinordertoswingthependulumtoanuprightposition.Afterthependulumisswungup,alinearquadraticregulatorstatefeedbackoptimalcontrollerhasbeenimplementedtomaintainthebalancedstate.Theheuristiccontrolleroutputsarepetitivesignalattheappropriatemomentandisfinelytunedforthespecificexperimentalsetup.Theenergycontrolleraddsanappropriateamountofenergyintothependulumsysteminordertoachieveadesiredenergystate.Theoptimalstatefeedbackcontrollerisastabilizingcontrollerbasedonamodellinearizedaroundtheuprightpositionandiseffectivewhenthecart-pendulumsystemisnearthebalancedstate.Thependulumhasbeenswungfromthedownwardspositiontotheuprightpositionusingbothmethodsandtheexperimentalresultsarereported.
1.INTRODUCTION
Theinvertedpendulumsystemisastandardproblemintheareaofcontrolsystems.Theyareoftenusefultodemonstrateconceptsinlinearcontrolsuchasthestabilizationofunstablesystems.Sincethesystemisinherentlynonlinear,ithasalsobeenusefulinillustratingsomeoftheideasinnonlinearcontrol.Inthissystem,aninvertedpendulumisattachedtoacartequippedwithamotorthatdrivesitalongahorizontaltrack.Theuserisabletodictatethepositionandvelocityofthecartthroughthemotorandthetrackrestrictsthecarttomovementinthehorizontaldirection.Sensorsareattachedtothecartandthepivotinordertomeasurethecartpositionandpendulumjointangle,respectively.MeasurementsaretakenwithaquadratureencoderconnectedtoaMultiQ-3generalpurposedataacquisitionandcontrolboard.Matlab/Simulinkisusedtoimplementthecontrollerandanalyzedata.
Theinvertedpendulumsysteminherentlyhastwoequilibria,oneofwhichisstablewhiletheotherisunstable.Thestableequilibriumcorrespondstoastateinwhichthependulumispointingdownwards.Intheabsenceofanycontrolforce,thesystemwillnaturallyreturntothisstate.Thestableequilibriumrequiresnocontrolinputtobeachievedand,thus,isuninterestingfromacontrolperspective.Theunstableequilibriumcorrespondstoastateinwhichthependulumpointsstrictlyupwardsand,thus,requiresacontrolforcetomaintainthisposition.Thebasiccontrolobjectiveoftheinvertedpendulumproblemistomaintaintheunstableequilibriumpositionwhenthependuluminitiallystartsinanuprightposition.Thecontrolobjectiveforthisprojectwillfocusonstartingfromthestableequilibriumposition(pendulumpointingdown),swingingituptotheunstableequilibriumposition(pendulumupright),andmaintainingthisstate.
2.MODELLING
AschematicoftheinvertedpendulumisshowninFigure1.
Figure1.InvertedPendulumSetup
Acartequippedwithamotorprovideshorizontalmotionofthecartwhilecartposition,p,andjointangle,θ,measurementsaretakenviaaquadratureencoder.
Byapplyingthelawofdynamicsontheinvertedpendulumsystem,theequationsofmotionare
wheremcisthecartmass,mpisthependulummass,Iistherotationalinertia,listhehalf-lengthofthependulum,Risthemotorarmatureresistance,risthemotorpinionradius,Kmisthemotortorqueconstant,andKgisthegearboxratio.Also,forsimplicity,
andnotethattherelationshipbetweenforce,F,andvoltage,V,forthemotoris:
Letthestatevectorbedefinedas:
Finally,welinearizethesystemabouttheunstableequilibrium(0000)T.Notethatθ=0correspondstothependulumbeingintheuprightposition.Thelinearizationofthecart-pendulumsystemaroundtheuprightpositionis:
Where
Finally,bysubstitutingtheparametervaluesthatcorrespondtotheexperimentalsetup:
3.STABILIZINGCONTROLLERDESIGN
Thecontrollerdesignapproachforthisprojectisbrokenupintotwocomponents.Thefirstpartinvolvesthedesignofanoptimalstatefeedbackcontrollerforthelinearizedmodelthatwillstabilizethependulumaroundtheuprightposition.Thesecondpartinvolvesthedesignofacontrollerthatswingsthependulumuptotheunstableequilibrium.Whenthependulumapproachesthelinearizedpoint,thecontrolwillswitchtothestabilizingcontrollerwhichwillbalancethependulumaroundtheuprightposition.
ThestatefeedbackcontrollerresponsibleforbalancingthependulumintheuprightpositionisbasedonaLinearQuadraticRegulator(LQR)designusingthelinearizedsystem.Ina
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- control of an inverted pendulum外文文献本科论文 pendulum 外文 文献 本科 论文
![提示](https://static.bdocx.com/images/bang_tan.gif)