摘要:随着微电子技术、计算机技术等现代科技的发展,传统的电子测量仪器在性能上也受到了挑战。传统检测仪器的功能、准确性和自动化程度等都受到了限制,各类智能仪表不断涌现,使得科学的实验和应用工程的自动化水平获得了明显的改进。本文针对传统位移测量系统测量精度低、智能化水平不高、数据处理能力低等难题,设计了一款基于单片机的高精度位移测量系统,系统由位移传感器、信号处理电路、单片机及串口通信电路、键盘显示模块等部分组成。系统以AT89C52芯片作为主控制核心,将电容位移传感器检测到的数据输入系统,经过一系列处理后在LCD显示具体位移。对系统进行了安装与调试,结果表明设计的检测系统能够对位移进行智能检测和实时控制。66706
毕业论文关键字:单片机AT89C52、电容式位移传感器、位移测量、LCD显示器
Abstract:With the development of microelectronics technology, computer technology and other modern technology, traditional electronic measuring instruments in performance has also been a challenge. Functionality, accuracy and automation of traditional detection equipment so limited, various intelligent instruments continue to emerge, so that the level of automation of scientific experiments and applications engineering to achieve a significant improvement. In this paper, the conventional displacement measuring system for measuring low accuracy, intelligence level is not high, data processing capability and low problem, design a high-precision displacement measurement system based on single-chip system by the displacement sensor, signal processing circuit, microcontroller and serial communication circuit , part of the keyboard display module. System AT89C52 chip as the main control center, after a series of processing and display specific displacement in LCD. The system was installed and commissioning results show that the design of the detection system can detect displacement intelligent and real-time control.
Key words: SCM AT89C52、capacitive displacement transducer、Displacement Measurement、LCD monitors
目录
1引言 3
2 位移检测系统的原理 4
2.1传感器的选择及原理 4
2.1.1传感器的选择 4
2.1.2电容传感器的原理 4
2.2总体设计方案 6
3系统的硬件设计 7
3.1硬件设计框图 7
3.2单片机子系统设计 8
3.3系统的数据存储和读取电路设计 9
3.4串口通信模块设计 10
3.5信号采集模块设计 12
3.6液晶显示模块设计 13
3.7键盘模块设计 13
3.8报警模块设计 14
3.9时钟模块设计 14
3.10系统的总体电路设计 15
4系统的软件设计 16
4.1系统主程序设计 16
4.2 ADC0832模块程序设计 17
4.3显示程序的设计 17
4.4数据的存储和读取的程序设计 18
4.5时钟程序设计