汽油型号识别设计
摘 要
汽油型号识别的设计是采用AT89S52单片机作为系统的控制模块。将电容传感器插入汽油中,当开始检测时,系统通过单片机的定时、计数器配合工作,计算出在不同的汽油中不同的介电常数,从而计算出汽油的型号。由于介电常数不能直接测量,所以将汽油的介电常数转化为电容,电容的变化转化为频率的变化来测量。最终将电容值拟合出辛烷值,通过LCD液晶显示器1602显示出被测量的汽油的型号。此系统可以检测出93号、95号、97号以及100号汽油。
关键词:汽油 识别 单片机 介电常数
Gasoline models to identify
Abstract
AT89C52 MCU is used as the system control module in the design of the Gasoline models to identify. Capacitance sensor will be inserted in gasoline, when the beginning of testing, the system through the single-chip timing, counters with the work, calculated at different dielectric constant of different gasoline in order to estimate the petrol models. As the dielectric constant can not be directly measured, so the dielectric constant will be converted into gasoline capacitance, changes in capacitance into a frequency shift to measure. Capacitance value will eventually be fitted with an octane number, LCD liquid crystal display through 1602 show that the petrol was measured models. This system can detect 93, 95, 97 and 100 petrol.
Key words:Gasoline identify MCU Permittivity
目 录
摘要 I
Abstract II
1 前言 1
1.1 引言 1
1.2 测定方法介绍 2
2 方案设计 3
2.1 系统设计方案论证 3
2.2 芯片引脚及参数介绍 5
2.3 设计原理框图 13
2.4 功能介绍 14
3 系统硬件电路设计 15
3.1 系统框图及说明 15
3.2 模块电路设计 15
3.2.1 电源模块 15
3.2.2 函数信号发生模块 16
3.2.3 显示模块 17
3.2.4 主控模块 19
3.2.5 测量模块 20
4 软件设计 23
5 系统测试及整机调试 24
6 结论 27
参考文献 28
附录 29
谢辞 42
|
[1] [2] [3] [4] [5] [6] [7] [8] [9] 下一页