您好,欢迎来到佳博论文网!

称重显示器控制板的软硬件设计

论文编号:DZXX283 论文字数:13868,页数:38

摘 要

本论文首先介绍了称重显示器系统的研究意义,以及本课题研究的应用领域、国内外研究现状和发展趋势。然后简要说明了本称重显示器系统设计的设计要求和指标,并简单说明了PROTEL软件的使用。在此基础上,论文详细阐述了本称重显示器的硬件设计。系统硬件设计包括单片机、A/D转换电路、键盘显示电路、通信接口电路、电源电路等几个模块设计。并给出了由PROTEL软件画出的称重显示器PCB图。接着论文介绍了系统的软件设计,并给出了部分程序的流程图。本文的设计是用asm51汇编语言与C51高级语言编写源程序的。

最后论文给出了系统设计的结果和使用说明。经过测试系统的综合精度可达到1/3000F.S(满量程),符合OIML三级秤要求。

关键词:单片机 A/D转换器 串口通信 RS-232 称重传感器

Abstract

This paper first introduced the research significance of the heavy monitor system, As well as the research application domain, domestic and foreign research present situation and development tendency of this topic. Then the paper illustrates the design request and the target of the heavy monitor system design in briefly, and simply explained the use of the PROTEL software. In this foundation, the paper illustrates the hardware design of the heavy monitor system in detail. The Hardware design of the system include monolithic integrated modules circuit, A/D switching modules circuit, keyboard display modules circuit, correspondence connection electric modules circuit, power modules circuit and so on . And has produced the heavy monitor system PCB chart which draws by PROTEL software. The paper introduced software design of the system in the next. And have gave the flow chart of subprogram of the system. the source program of the system is compilated by the asm51 assembly language and the C51 higher order language.

Finally the paper has produced the result of the system design and gave the operating instructions of system. After the system test ,the system comprehensive precision may achieve 1/3000F.S (full measuring range), conformed to the OIML three levels of scales requirements.

Keywords: Micro-Controller A/D Converter Serial Port Communication RS-232 Weighing Sensor

目录

摘要I

AbstractII

第1章 绪论1

1.1本课题的研究意义1

1.2 本课题国内外研究现状1

1.3 本课题研究的关键问题和方法2

第2章 称重显示器的设计要求3

第3章 称重显示器硬件电路的设计4

3.1硬件设计的整体电路4

3.1.1称重显示器完整电路框图4

3.1.2称重显示器完整电路原理图5

3.2称重传感器6

3.3 SST89C52单片机6

3.4 A/D电路的设计7

3.5键盘显示电路的设计8

3.6系统复位电路设计10

3.7电源电路的设计11

3.8称重显示器的串口通信设计12

3.9称重显示器原理图的插座说明及连接图14

第4章 称重显示器的PCB图设计16

4.1PROTEL简介16

4.2称重显示器PCB图16

4.3键盘的单面PCB板图18

第5章 称重显示器的软件设计19

5.1主程序设计19

5.2显示程序设计20

5.3键盘中断程序设计21

5.3.1键盘中断程序21

5.3.2功能状态进入程序设计22

5.3.3设置最大称量和最小显示分度值程序设计23

5.4串口通信模块程序设计24

5.5 A/D转换程序模块设计25

第6章 称重显示器设计结果及使用说明27

6.1称重显示器面板图27

6.2功能状态进入27

6.3最大称量设置27

6.3最小显示分度值设置28

6.4标定方法28

6.5称重状态下的键功能28

6.6显示说明29

毕业设计总结30

致谢32

参考文献33

称重显示器控制板的软硬件设计......