control of an inverted pendulum外文文献本科论文.docx

上传人:b****3 文档编号:1221779 上传时间:2022-10-19 格式:DOCX 页数:11 大小:449.68KB
下载 相关 举报
control of an inverted pendulum外文文献本科论文.docx_第1页
第1页 / 共11页
control of an inverted pendulum外文文献本科论文.docx_第2页
第2页 / 共11页
control of an inverted pendulum外文文献本科论文.docx_第3页
第3页 / 共11页
control of an inverted pendulum外文文献本科论文.docx_第4页
第4页 / 共11页
control of an inverted pendulum外文文献本科论文.docx_第5页
第5页 / 共11页
点击查看更多>>
下载资源
资源描述

control of an inverted pendulum外文文献本科论文.docx

《control of an inverted pendulum外文文献本科论文.docx》由会员分享,可在线阅读,更多相关《control of an inverted pendulum外文文献本科论文.docx(11页珍藏版)》请在冰豆网上搜索。

control of an inverted pendulum外文文献本科论文.docx

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

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 人文社科 > 视频讲堂

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1