基于单片机的家用面包机控制系统的设计(含电路图,程序清单) 
      来源:wenku7.com  资料编号:WK713940 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9AWK713940
      
          
          以下是资料介绍,如需要完整的请充值下载。
 
            1.无需注册登录,支付后按照提示操作即可获取该资料.
            2.资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用.  密 保 惠 帮助
             
         
	  
	  资料介绍
      
        
          
            | 基于单片机的家用面包机控制系统的设计(含电路图,程序清单)(论文11800字)摘    要
 本设计是基于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
 
 面包机功能
 面包生产工艺中,对温度的控制非常严格,在各个阶段所需的温度不同,且受面包辅料成分多少、面包的形状、大小等因素的影响,因此面包机最主要的目的是对面包桶内的温度进行控制,除此之外还实现下述功能:
 (1)电机转动,搅拌面团,额定功率40W
 (2)具有预约功能,任意设定开机时间
 (3)具有LED 数码显示各阶段工作的时间
 (4)整体导电薄膜的轻触式按键设计
 (5)超温断电保护并报警功能
 (6)系统断电能保护设定数据
 (7)自动保温,并显示保温的时间
 
  
  
  
     目    录
 摘要..................................................................I
 Abstract.............................................................II
 第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
 |