基于AT89S52单片机的家用面包机控制系统.doc

基于AT89S52单片机的家用面包机控制系统.doc

  1. 1、本文档共47页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
. PAGE . 摘 要 本设计是基于AT89S52单片机的家用面包机控制系统,以AT89S52为主控芯片,以Pt100热电阻为温度传感器,采用三线制测温方法,用最小二乘法对温度的非线性进行优化,检测后的数据由8位A/D转换器AD0832转换为数字信号传输给单片机,根据PID控制算法得到输出控制量来控制加热器的功率,实现恒温加热,以压阻式压力传感器检测原料的质量,单片机根据测得质量值控制直流电机的转动和搅拌的时间;时间预约采用低功耗时钟芯片DS1302,单片机通过串行通信来控制DS1302工作,计时准确,而且避免了由于突然停电而造成时钟停止;通过独立式键盘设定预约时间,自由选择烘烤方式;采用四联共阳数码管显示工作的时间;面包制作完成有提示音,并具有自动保温且显示保温的时间。 关键词 面包机 单片机 最小二乘法 温度 压力传感器 Abstract This design is a bread maker control system which is based on AT89S52 microcontroller. The AT89S52 is the main chip,the hot resistance Pt100 is the temperature sensor,using the method of three-wire for measuring temperature,the nonlinear least square method for temperature optimization.The test data are converted to digital signals by 8-bit A/D converter and sent to MCU,by the way of PID control algorithm getting the output volume and control the heater power,so achieving constant temperature heating; piezoresistive pressure sensor detect the mass of raw materials, MCU based on mass signal to control the motor rotating and stirring timeof the DC gear motor; low-power clock chip DS1302 is the time booking component, MCU control the DS1302 by the serial communication, timing accuracy, and avoiding sudden power outages due caused the clock to stop; independent keypad to set an appointment, choice baking methods free; four cooperating digital display the time; bread was finished after the beep, automatically insulation and display the time of thermal insulation. Keywords Bread maker MCU Least square method Temperature Pressure sensor . 目 录 摘要I AbstractII 第1章 绪 论1 1.1课题背景1 1.2 面包机发展现状2 1.3 面包机展望2 1.4 主要研究内容3 第2章 系统总体结构4 2.1 系统总体设计方案4 2.2 系统框图及各电路组成4 2.3 芯片选择5 第3章 系统硬件设计8 3.1 面包机功能8 3.2 电源稳压电路8 3.3 数据采集电路设计9 3.4 电机搅拌电路13 3.5 加热电路14 3.6 键盘和显示电路15 3.7 提示音电路17 第4章 软件设计19 4.1 主程序设计19 4.2 中断服务程序设计20 4.3 A/D转换程序设计21 4.4 温度控制程序设计22 4.5 显示程序设计24 4.6 键盘程序设计25 结论26 参考文献 27 附 录29 . 第1章 绪论 1.1 课题背景 随着信息社会和知识经济时代的到来,生活水平逐渐提高,

文档评论(0)

hkfgmny + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档