基于PIC单片机的塑封机控制系统【毕业作品】.pdf
BIYESHEJI
(20届)
基于PIC单片机的塑封机控制系统
所在学院
专业班级自动化
学生姓名学号
指导教师职称
完成日年月
摘要
摘要
本论文主要分析了基于PIC单片机塑封机控制系统,该系统由温度采集、
主控板、温度控制、液晶显示、键盘、打印机等部分组成。以PIC16F946为主
控芯片及其外围扩展电路实现系统整体功能,数据采样使用高精度温度传感器
PT100,可以准确测量出塑封机加热板的温度;主控制器通过控制电子开关的开
断给加热板加热,温度过高时自动接通散热电机和报警器;串口迪文液晶屏实
现实时显示加热板的温度等参数;采用爱普生打印机可以随时打印系统的相关
信息。塑封机控制系统是一个连续的控制过程,控制规律采用积分分离增量式
PID控制算法通过模糊控制技术对加热板温度进行定位采样和控制。通过测试,
该设计方案能很好的完成系统的指标要求。
关键词:温度传感器,PIC16F946单片机,温度控制,液晶屏,打印机
I
Abstract
Abstract
Thisthesismainlyanalysesasystemofplasticmachinecontrolsystembasedon
thePICmicrocontroller.thissystemmainlybytemperaturegathering,masterboard,
temperaturecontrol,liquidcrystaldisplay,keyboard,printerandotherparts.
PIC16F946asthecontrollerchipanditsperipheralexpansioncircuitachievethe
overallfunctionofsystem.DatasamplingusingthehigaccuracyPT100
temperaturesensor,canaccuratelymeasurethetemperatureoftheplasticmachine
heatingplate;TheLordcontrollerthroughelectronicswitchcontrolofopencircuitto
theheatingplateheat,whentemperatureishighheatthemotorandalarmwillwork
automatically;TheserialportDWINLCDreal-timedisplaytheparameterssuchas
temperatureofheatingplate;TheEPSONprintercanprintinformationofsystemat
anytime.Plasticmachinecontrolsystemisacontinuouscontrolprocess,control
lawsusetheintegralincrementtypePIDcontrolalgorithmthroughthefuzzycontrol
technology