1、I 本科毕业设计(论文)本科毕业设计(论文) 题 目 : 电子秤控制系统的硬件设计电子秤控制系统的硬件设计 专 业: 自动化自动化 班 级: 学 号: 学生姓名: 指导教师: 起迄日期: 设计地点: II Graduation Design (Thesis) Hardware design of control system for Electronics Steelyard 南京工程学院自动化学院本科毕业设计(论文) I 摘摘 要要 该设计以 51 系列单片机 AT89S52 为控制核心, 实现电子秤的基本控制功能。 在设计系统时,为了更好地采用模块化设计法,分步的设计各个单元功能模块, 系
2、统的硬件部分可以分为最小系统、数据采集、人机交互界面和系统电源四大部 分。最小系统部分主要包括 AT89S52 和扩展的外部数据存储器;数据采集部分由 压力传感器、信号的前级处理和 A/D 转换部分组成,包括运算放大器 AD620 和 A/D 转换器 ICL7135;人机交互界面为键盘输入和点阵式液晶显示,主要使用 ZLG7289 键盘控制芯片和 OCM4x8C 显示器,可以方便的输入数据和直观的显示中 文。系统电源以 LM317 和 LM337 为核心设计电路以提供系统正常工作电源。软件 部分应用单片机 C 语言进行编程,实现了该设计的全部控制功能。该电子秤可以 实现基本的称重功能(称重范围
3、为 09.999Kg,重量误差不大于0.005Kg), 并发挥部分的显示购物清单的功能,可以设置日期和设定十种商品的单价, 还 具有超量程和欠量程的报警功能。整个系统结构简单,使用方便,功能齐全,精 度高,具有一定的开发价值。 关键词:关键词:单片机;采样电路;A/D 转换器;液晶显示 南京工程学院自动化学院本科毕业设计(论文) II ABSTRACT The design is based on the microcontroller AT89S52 system as the core to carry out the basic control function of the elect
4、ronics steelyard. While designing the system, I adopt the mold piece method to divide the hardware of the system into four parts: the minimum system, sampling circuit, I/O interface and the system power supply. The minimum system mainly includes the AT89S52 and the expanded exterior data memory. Sampling circuit is comprised of a pressure sensor, a differential meas