毕业论文-采用MATLAB与单片机的模糊温度控制.docVIP

  • 12
  • 0
  • 约5.47万字
  • 约 56页
  • 2019-05-13 发布于江西
  • 举报

毕业论文-采用MATLAB与单片机的模糊温度控制.doc

PAGE 桂林电子科技大学毕业设计(论文)报告用纸 编号: 毕业设计说明书 题 目: 采用MATLAB与单片机 的模糊温度控制 院 (系): 电子工程与自动化学院 专 业: 自动化 学生姓名: 学 号: 指导教师: 职 称: 高级工程师 题目类型: 理论研究 实验研究 √ 工程设计 工程技术研究 软件开发 2015 年 5 月 摘 要 在进行控制系统的设计中,都要对算法程序进行设计,其设计过程往往是脱离实际的被控对象在单独的实验平台上进行开发,经过反复的仿真实验,最后得出最优的控制算法,并运用与实际的对象模型上。但有时候由于实际被控对象与仿真控制平台会有区别,仿真得到的算法程序却不一定能够达到理想的控制效果,需要从新进行算法的设计,结果延长了系统的开发周期,所以,把仿真实验平台与实际被控对象进行联调,在设计仿真算法时直接运用在实际模型中进行调试,大大减少了开发时间,提升了产品开发效率。本设计通过分别设计模糊控制算法和PID控制算法,运用于实际的温控对象模型,对水温进行控制,通过对比测试,实现此实验平台上的算法研究。 本文主要对本次设计的系统要求进行介绍,分析MATLAB模糊控制和PID控制算法的设计过程,利用simulink环境下的系统模块通过串口与下位机进行数据交互,取代复杂的程序的设计过程,进行半硬件的仿真控制过程,可通过simulink上的图形界面方便地观察其控制算法对实际系统模型的控制性能,最后验证模糊控制和PID控制在这一平台上的可行性。 本设计使用到的软硬件由五个部分组成:MATLAB控制软件、STC89C52单片机系统、DS18B20传感器、加热器的可控硅控制电路,利用光耦实现了强电与弱的完全隔离。单片机系统作为其控制的核心,包括有LCD1602显示与RS232串口通信部分,DS18B20检测到温度数据,并传到单片机,单片机将数据通过串口发送到MATLAB,MATLAB处理后返回控制量到单片机,单片机根据控制量的大小来控制加热器功率,达到控制水温的目的。 关键词:MATLAB;模糊控制;PID控制;串口通信 Abstract When in a design of control system, should be to design of algorithm program, and the design process is often separate from the actual controlled object in a experiment platform, after repeated simulation experiment, it is concluded that the optimal control algorithm finally, and then apply to the actual object model.But sometimes due to the actual controlled object have a difference in simulation control platform, the simulation of algorithm program can not necessarily achieve the ideal control effect.So it is need to redesign of a processes for the algorithm, result in the system development cycle extend, therefore, when designing the simulation algorithm is directly in used a practical model for debugging, combine the simulation experiment platform and the actual controlled object get together, greatly reduce the development time, improve the efficiency of the product development.This design through a design of fu

文档评论(0)

1亿VIP精品文档

相关文档