自动加料机控制系统设计 联系客服

发布时间 : 星期五 文章自动加料机控制系统设计更新完毕开始阅读

青岛理工大学毕业设计

青岛理工大学

毕 业 设 计

题目: 自动加料机控制系统设计

学生姓名: 时鸿川 学生学号: 201181149 院系名称: 机电工程系 专业班级: 机电一体化技术115班 指导教师: 付立悦

2014年 6 月 17 日

青岛理工大学毕业设计

摘 要

本文设计的自动加料机控制系统是由STC89C52RC单片机和LCD1602显示器、压力传感器等组成的,其工作原理是:当加物料时压力传感器感测物料压力,24位AD转换芯片HX711对传感器采集到的模拟量进行AD转换,转换后的数据送到单片机进行处理从而液晶显示屏显示当前压力值,单片机显示当前压力与单片机设定的物料压力大小范围进行比较,从而实现自动控制物料在设定范围,实现智能控制物料大大节约成本提高了效率。

本设计的自动加料机控制系统,是采用自动控制技术来实现功能的,这样就大大提高了工作的效率,整个过程又快又稳。自动加料机的设计可以大大节省人力资源控制,加料过程完成了自动控制,提高了生产效率以及生产的质量。同时,家庭使用自动加料机进行生产养殖,也可以节省人力资源创造更大的利益,给人民的生产生活带来方便,给工业化大生产带来巨大的利益效益及工作效率。

关键词:STC89C52RC单片机;自动加料机;控制系统

I

青岛理工大学毕业设计

ABSTRACT

Automatic feeding machine control system designed in this paper is made up of STC89C52RC single chip and LCD1602 display, pressure sensors and other components, its working principle is: when the material pressure sensor sensing material pressure, analog 24 bit AD converter chip HX711 to collect the AD conversion, the transformed data processed by the single-chip microcomputer to the LCD display shows the current value of pressure, single-chip display comparative material pressure range of the current pressure and chip set, so as to realize the automatic control of material in the set range, to realize intelligent control material greatly improves the efficiency of cost saving.

The design of the automatic feeding machine control system is adopted to realize the function of automatic control technology, it can greatly improve the working efficiency, the whole process is fast and stable, the design of automatic feeding machine can greatly save manpower resources control feeding process and the production efficiency is increased and the production of automatic quality control, and household use automatic feeding machine for production farming can save human resources to create greater interest, bring convenience to people's production and life, bring great benefit and efficiency for industrial production.

Key words: STC89C52RC single chip microcomputer; Automatic feeding machine; Control system

II

青岛理工大学毕业设计

目 录

摘 要 ............................................................................................................................................... I ABSTRACT ....................................................................................................................................... II 第1章 绪论 ................................................................................................................................. 1

1.1 课题选择背景 .............................................................................................................. 1 1.2 研究的目的 ................................................................................................................... 1 1.3 课题研究的意义 .......................................................................................................... 2 1.4 设计主要完成的任务 ................................................................................................ 2 第2章 系统总体设计方案 ...................................................................................................... 3

2.1 系统方案 ....................................................................................................................... 3

2.2.1 人工加料和自动加料的比较 ...................................................................... 4 2.2.2 程序设计语言的选择 .................................................................................... 4

第3章 系统的硬件电路设计 .................................................................................................. 6

3.1 LCD1602显示模块 ...................................................................................................... 7 3.2 系统传感器模块 .......................................................................................................... 8 3.3 A/D转换模块 ............................................................................................................. 10 3.4 系统电源模块 ............................................................................................................ 11 3.5 系统单片机最小系统 .............................................................................................. 13

3.4.1 系统主控电路 ................................................................................................ 13 3.4.2 STC89C52功能特性概述 ............................................................................ 13 3.4.3 STC89C52RC单片机的引脚 ........................................................................ 14 3.6 复位电路 ..................................................................................................................... 17 第4章 软件设计 ...................................................................................................................... 20

4.1 系统主程序 ................................................................................................................. 21 4.2 系统子程序 ................................................................................................................. 22 4.3 系统的调试 ................................................................................................................. 23 结束语 ........................................................................................................................................... 25 致 谢 ............................................................................................................................................. 26 参考文献 ...................................................................................................................................... 27 附录A:程序清单 ..................................................................................................................... 28 附录B:元器件清单 ................................................................................................................. 33 附录C:系统硬件框图 ............................................................................................................ 34 附录D:外文资料 ..................................................................................................................... 35

I