编号:传感器综合设计实训(论文)说明书题目:酒精传感器设计院(系):信息与通信学院专业:电子信息工程学生姓名:学号:指导教师:2011年6月22日桂林电子科技大学实训(论文)报告用纸第1页共3页摘要本设计实现了对不同浓度酒精的检测和显示,通过适当改进可以用于检测酒后驾车本文用STC12C5A60S2单片机与MQ-3型气体传感器实现了对酒精浓度的测量,并对测量数据进行显示,同时利用二极管简单显示浓度的高低,在设计允许值时发出报警。论文主要研究了(1)硬件方面,MQ-3气体传感器技术参数的检测和将它接入到酒精浓度检测模块中;将模拟电压信号放大驱动发光二极管点亮报警;将采集到的模拟电压信号通过单片机控制经A/D转换,得到数字电压信号;用于显示浓度的数码管显示模块。(2)软件方面,主要研究了电压到浓度的线性转换和最终浓度值的数码管显示。(3)对设计的传感器进行了标定。设计的传感器对酒精气体反应灵敏,能在有效范围内测量它的浓度值。并且在检测低浓度酒精时误差较小,最大误差为8.2%满足设计要求。本文的特色在于标准的确定。对于流动空气,样品的稳定性和水蒸气的影响,提出了解决方案和验证方法。对不同的区间浓度和电压转换关系做线性化处理,简化了硬件电路的设计。设计的传感器可以检测不同浓度的酒精气体,改进之后对解决酒后驾车事故和特殊场合酒精检测都可以使用。关键词:气体传感器,模数转换,单片机STC12C5A60S2,MQ-3AbstractDifferentconcentrationsofalcoholsolutionaredetectedandshowedinthedesign.Thedesigncanbeusedtothedetectionofdrunkdrivingthroughimprovement.Inthisthesis,theconcentrationofalcoholcanbemeasuredanddisplayedbyusingthegassensorbasedon桂林电子科技大学实训(论文)报告用纸第2页共3页STC12C5A60S2MCUandMQ-3.AtthesametimetheconcentrationisdisplayedbyLED,andthesystemallowtoalarminthecertainvalue.InthethesisMajorresearchesarethreepoints.(1)Inthehardware,detectingthetechnologyparametersMQ-3gassensor,andconnectingittoatestingpartofthealcoholgasconcentration;Analogvoltagesignalamplificationtodrivelight-emittingdiodelighttoalarm;conversingthevoltagesignalthroughtheA/Dconversionatthecontrolofthesingle-chip,obtainingthedigitalvoltagesignal;displayingtheconcentrationinthedigitaltubedisplaymodule.(2)IntheSoftware,linearconversionbetweentheconcentrationofthealcoholandthevoltageandthedigitaldisplayofthefinalconcentrationvalue.(3)Thedesignedsensoriscalibrated.Thedesignofgassensorisresponsivetothealcohol,canmeasureconcentrationintheeffectiverangeofitsconcentration.Andinthelowconcentrationofalcoholinthetesttheerrorissmallwiththemaximumerror8.2%,meetingrequirementsofthedesign.Thecharacteristicsofthethesisaretodeterminethestandard.Thesolutionsandverificationmethodsareproposedabouttheflowofairsamples,thesamplestabilityandwatervapor.Theconversionbetweenvoltageandconcentrationindifferentrangeistreatedaslinearrelationship.Thedesignofsensorcandetectdifferentthealcoholgaswithdifferentconcentration.Itplaysanimportantroletosolvethedrunk-drivingaccidentsandalcoholtestingforspecialoccasionsafterimprovement.KeyWords:Gassensor,A/Dconversion,Single-chipMicrocomputer,STC12C5A60S2,MQ-3目录引言...........................................................1桂林电子科技大学实训(论文)报告用纸第3页共3页1绪论........................................................11.1设计背景.............................................................................................................................11.2气敏传感器的研究现状.....................................................................................................21.3设计酒精浓度探测仪的意义..........................