块中;将模拟电压信号放大驱动发光二极管点亮报警;将采集到的模拟电压信号通过单片机控制经AD转换,得到数字电压信号;用于显示浓度的数码管显示模块。(2)软件方面,主要研究了电压到浓度的线性转换和最终浓度值的数码管显示。(3)对设计的传感器进行了标定。设计的传感器对酒精气体反应灵敏,能在有效范围内测量它的浓度值。并且在检测低浓度酒精时误差较小,最大误差为82满足设计要求。本文的特色在于标准的确定。对于流动空气,样品的稳定性和水蒸气的影响,提出了解决方案和验证方法。对不同的区间浓度和电压转换关系做线性化处理,简化了硬件电路的设计。设计的传感器可以检测不同浓度的酒精气体,改进之后对解决酒后驾车事故和特殊场合酒精检测都可以使用。关键词:气体传感器,模数转换,单片机
3
fAbstract
Differe
tco
ce
tratio
sofalcoholsolutio
aredetecteda
dshowedi
thedesig
Thedesig
ca
beusedtothedetectio
ofdru
kdrivi
gthroughimproveme
tI
thisthesistheco
ce
tratio
ofalcoholca
bemeasureda
ddisplayedbyusi
gthegasse
sorbasedo
AT89S51MCUa
dMQ3Atthesametimetheco
ce
tratio
isdisplayedbyLEDa
dthesystemallowtoalarmi
thecertai
valueI
thethesisMajorresearchesarethreepoi
ts1I
thehardwaredetecti
gthetech
ologyparametersMQ3gasse
sora
dco
ecti
gittoatesti
gpartofthealcoholgasco
ce
tratio
A
alogvoltagesig
alamplificatio
todrivelightemitti
gdiodelighttoalarmco
versi
gthevoltagesig
althroughtheADco
versio
attheco
trolofthesi
glechipobtai
i
gthedigitalvoltagesig
aldisplayi
gtheco
ce
tratio
i
thedigitaltubedisplaymodule2I
theSoftwareli
earco
versio
betwee
theco
ce
tratio
ofthealcohola
dthevoltagea
dthedigitaldisplayofthefi
alco
ce
tratio
value3Thedesig
edse
soriscalibratedThedesig
ofgasse
sorisrespo
sivetothealcoholca
measureco
ce
tratio
i
theeffectivera
geofitsco
ce
tratio
A
di
thelowco
ce
tratio
ofalcoholi
thetesttheerrorissmallwiththemaximumerror82meeti
grequireme
tsofthedesig
Thecharacteristicsofthethesisaretodetermi
ethesta
dardThesolutio
sa
dverificatio
methodsareproposedabouttheflowofairsamplesthesamplestabilitya
dwatervaporTheco
versio
betwee
voltagea
dco
ce
tratio
i
differe
tra
geistreatedasli
earrelatio
shipThedesig
ofse
sorca
detectdiffere
tthealcoholgaswithdiffere
tco
ce
tratio
Itplaysa
importa
troletosolvethedru
kdrivi
gaccide
tsa
dalcoholtesti
gforspecialoccasio
safterimproveme
tKeyWordsGasse
sorADco
versio
Si
glechipMicrocomputer
4
f1绪论
11设计背景
我国传感器市场的增长率超过15,2003年销售额r