如果您无法下载资料,请参考说明:
1、部分资料下载需要金币,请确保您的账户上有足够的金币
2、已购买过的文档,再次下载不重复扣费
3、资料包下载后请先用软件解压,在使用对应软件打开
本科毕业设计基于PID控制器的两轮自平衡小车设计摘要两轮自平衡小车具有体积小、结构简单、运动灵活的特点,适用于狭小和危险的工作空间,在安防和军事上有广泛的应用前景。两轮自平衡小车是一种两轮左右平衡布置的,像传统倒立摆一样,本身是一种自然不稳定体,其动力学方程具有多变量、非线性、强耦合、时变、参数不确定性等特性,需要施加强有力的控制手段才能使其保持平衡。本文在总结和归纳国内外对两轮自平衡小车的研究现状,提出了自己的两轮自平衡小车软硬件设计方案,小车硬件采用陀螺仪和加速度传感器检测车身的重力方向的倾斜角度和车身轮轴方向上的旋转加速度,数据通过控制器处理后,控制电机调整小车状态,使小车保持平衡。由于陀螺仪存在温漂和积分误差,加速度传感器动态响应较慢,不能有效可靠的反应车身的状态,所以软件使用互补滤波算法将陀螺仪和加速度传感器数据融合,结合陀螺仪的快速的动态响应特性和加速度传感器的长时间稳定特性,得到一个优化的角度近似值。文中最后通过实验验证了自平衡小车软硬件控制方案的可行性。关键词:自平衡互补滤波数据融合倒立摆Two-wheeledSelf-balancingRobotMaXuedong(CollegeofEngineering,SouthChinaAgriculturalUniversity,Guangzhou510642,China)Abstract:Thetwo-wheeledself-balancingrobotissmallinmechanism,withsimplestructureandcanmakeflexiblemotion,suitablefornarrowanddangerousworkspace.Soithaswiderangeofapplicationsinsecurityandmilitary.Thetwo-wheeledself-balancingrobotisanaturalunstablesystem.Thedeviceofthissystemisaparallelarrangementoftwosinglewheels,likeatraditionalinvertedpendulum.Itsdynamicsaremulti-variable,non-linear,seriouscouplinganduncertainparametersetc.Itmustbeexertedstrongcontroltomakeitstable.Inthispaper,studiesontwo-wheelself-balancingvehicleathomeandabroadaresummarized.Wedesignedthehardwareandsoftwareofourtwo-wheelself-balancingvehicle.Thecarusingrotationalaccelerometers,gyroscopesandaccelerationsensorstodetectbodyconditionandthestateinwhichthepitchchangerate.Thecentralprocessingunitcalculatetheappropriatedataandinstructions,andcontrolthemotortoachievethebodybalancing.BecauseofgyrodriftproblemsandIntegralerrorwithaccelerometersandslowdynamicresponseofaccelerationsensors.Itcan’tprovideeffectiveorreliableinformationtoreflecttherealstateofitsbody.Soweusingcomplementaryfiltertofusethedataoftwosensors,sothattheinclinationofitsbodycanbeapproximatedbetter.Finally,weverifiedthefeasibilityofthesystem’shardwareandsoftwarethroughexperiment.KeyWords:Self-BalancingcomplementaryfilterDataFusionInvertedPenduiPAGEII目录TOC\h\z\t"标题1,1,标题2,1,标题3,1,样式黑体小二加粗居中,1,样式5,1,样式4,3,样式2,2,样式样式黑体四号加粗左+(西文)TimesNewRom