摘要在工业上,压力被广泛应用,对压力传感器进行标定后,得到的转换结果更加可靠。由于传统的压力传感器标定设备的体积较大,为实际应用带来了不方便性,所以本文设计了一套基于单片机的便携式压力标定系统,对高精度传感器和待标定传感器施加相同的压力,对比两者的激励响应曲线来评判被标定传感器的性能。
本文设计的系统主要包括硬件和软件两部分。硬件部分由ATmega128微处理器电路,稳压电源电路,键盘和显示电路等构成;用C语言编写底层软件,实现对压力信号的采集,进一步处理出标定系数;利用RS232实现上位机与单片机的通讯,即对单片机的功能扩展。21343
最后进行实验,验证是否符合设计要求。
关键词:便携式 单片机 C语言 压力 标定
毕业论文设计说明书(论文)外文摘要
Title Hardware and software design of measurement system
for projectile’s static structural parameters
Abstract
In industry, the pressure is widely used, the conversion result is more reliable after the calibration of the pressure sensor.
The traditional sensor used in the calibration of pressure is the larger equipment, bringing the inconvenience for the practical application, so this paper designs a set of hardware and software of portable pressure calibration system based on single chip microcomputer, giving the standard pressure sensor and the calibration sensor the same pressure with the pressure source, and compare the characteristic curve to test performance.
The design of the main part of the system is composed of hardware and software. The hardware circuit is composed of ATmega128 microcontroller circuit, serial communication circuit, power supply circuit, keyboard and display circuit; C language is used in the software part, realizing the acquisition and processing of the pressure signal; through the RS232 communication between PC and single chip microcomputer, realizing the single chip machine function expansion.
Lastly, experiments verify compliance with design requirements.
Keywords: portable MCU C language Pressure
calibration significant test
目录
1 绪论 1
1.1 课题研究的背景 1
1.2国内外相关技术的发展 2
1.3论文组织结构 4
2标定系统总体设计 5
2.1概述 5
2.2总体设计 5
2.2.1硬件设计 6
2.2.2软件设计 7
3下位机系统硬件电路设计 8
3.1器件选择 8
3.1.1压力传感器 8
3.1.2单片机选择 9
3.1.3显示器件的选择 9
3.2平衡电桥设计 10
3.3放大电路设计 12
3.4单片机最小系统 13
3.5串口通信电路 16
3.6键盘电路 17
3.7显示电路 18
3.8稳压电源 19
3.9外部存储电路 20
3.10实物展示 21
4下位机系统软件设计 22
4.1概述 22
4.2主程序模块 22
4.3键盘控制和显示模块 23
4.4数据采集模块 24
4.5数据处理模块 26
4.5.1零漂处理 26
4.5.2非线性处理 27
4.5.3软件的设计 29
4.6数据存储模块 30 ATmega128单片机的压力标定系统软硬件设计:http://www.youerw.com/zidonghua/lunwen_13503.html