- 1、本文档共29页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
湖南文理学院
课程设计报告
课程名称: 专业课程设计
专业班级: 自动化11101班 学号39
学生姓名: 刘 童
指导教师: 王文虎
完成时间: 2014年6月12日
报告成绩:
摘 要
直线一级倒立摆,是由沿直线导轨运动的小车以及一端固定于小车的匀质长杆组成的非线性的、不稳定的系统。系统以C8051F020单片机为主控芯片,包括电源模块、高精度电位器检测模块、L298N电机驱动模块、直流减速电机以及倒立摆本体构成。由高精度电位器检测模块测得小车的位置和摆杆相对垂直方向的角度,作为系统的两个输出量被反馈至单片机。单片机根据PID控制算法,计算出控制量,并转化为相应的电压信号提供给驱动电路,以驱动直流减速电机的运动,从而通过牵引机构带动小车的移动来控制摆杆和保持平衡。借助倒立摆的数学模型加入PID调节来控制它,从而使其成为稳定的系统,通过Matlab对仿真效果的分析,基本上达到了预期的效果。
关键词 一级倒立摆;微处理器;增量式PID;伺服电机;Matlab
Abstract
Linear inverted pendulum system, is the movement of the carriage along the linear guide rail is fixed on the trolley and the uniformity of long rod composed of nonlinear, unstable.The system is mainly controlled by the microcontroller C8051F020, which comprises a power supply module, high precision potentio meter detection module, L298N motor drive module, DC motor and theinverted pendulum. A high precision potentiometer detection module measuredtrolley position and pendulum relative vertical angles, as the two output system isfeedback to the microcontroller. SCM based on PID control algorithm, calculates the volume control, and to provide a corresponding voltage signal to the drive circuit to drive DC motor, motor, and through the traction mechanism to drive thecar to control the movement and balance. With the help of a mathematical model of inverted pendulum with PID regulation to control it, so that it becomes a stable system, through the analysis of the simulation results of the Matlab, basically achieved the expected results.
Keywords: an inverted pendulum; microprocessor; incremental PID; servo motor; Matlab
目 录
摘 要 I
Abstract II
第一章 绪论 1
1.1 设计要求 1
1.2方案设计 1
1.2.1 光电编码检测 2
1.2.2 高精度电位器检测 2
1.2.3方案论证 2
第二章 一阶倒立摆的数学建模 4
2.1 倒立摆模型抽象 4
2.1.1 倒立摆微分方程模型 4
2.1.2 倒立摆的传递函数模型 5
2.2一阶倒立摆的状态空间模型 6
第三章 基于Matlab的倒立摆PID分析及仿真 8
3.1一级倒立摆模型 8
3.1.1 一级倒立摆实际参数 8
3.1.2系统阶跃响应分析 9
3.2一阶倒立摆PID控制器设计 10
3.2.1 PID概述 10
3.2.2 PID参数
您可能关注的文档
- 基于catia的桥壳设计与分析 毕业论文.docx
- 基于PLC和组态王的电梯控制设计.doc
- 光电检测研究生实验汇总.docx
- 光固化复合树脂充-FB.ppt
- 分词、独立结构、状语中省略比较.ppt
- 基于灰色关联分析的河南省资产投资与收益分析.doc
- 光固化行业发展概论.docx
- 光合作用 讲义.doc
- 光合作用 学生.doc
- 基于嵌入式的智能家居.docx
- 四川省德阳市罗江中学2025届高三考前热身化学试卷含解析.doc
- 山东省枣庄现代实验学校2025届高三下学期第五次调研考试化学试题含解析.doc
- 吉林省长春市十一高中等九校教育联盟2025届高三一诊考试生物试卷含解析.doc
- 2025届江苏省盐城市伍佑中学高考仿真模拟化学试卷含解析.doc
- 2025届广西贺州中学高考冲刺押题(最后一卷)生物试卷含解析.doc
- 安徽省池州市贵池区2025届高三第一次模拟考试生物试卷含解析.doc
- 宁夏银川一中2025届高三(最后冲刺)化学试卷含解析.doc
- 广东省广州市增城区四校联考2025届高考压轴卷化学试卷含解析.doc
- 2025届邯郸市第一中学高考生物必刷试卷含解析.doc
- 2025届安徽省安庆市石化第一中学高考仿真卷化学试卷含解析.doc
文档评论(0)