成都理工大学工程技术学院毕业论文基于传感器MPX4115的智能压力检测系统设计与仿真作者姓名:专业名称:指导教师:基于传感器MPX4115的智能压力检测系统设计与仿真I摘要数字式气压计被广泛应用于当前工业领域、国防领域、医疗领域以及日常生活中。本设计中就介绍了一种气压的实时显示设备。它利用软、硬件基础知识,通过单片机与气压传感器的结合,使得在液晶显示器上显示出当前大气压值。本文详细的描述了基于mpx4115气压计的多功能应用以及软硬件实现的过程。本设计是基于气压传感器mpx4115的精密数字气压设计系统。通过气压传感器mpx4115获得与大气相对应的模拟电压值,并经过电压/频率(V/F)装换模块装换为数字脉冲,通过单片机接受脉冲数,依据电压与频率的线性关系式计算出相对应的实际气压值,最后在单片机的控制下由液晶显示电路显示出实际气压值。总体目标是实现系统的可靠性、稳定性、安全性和经济性。关键词:mpx4115;气压传感器;单片机;液晶显示;V/F装换器基于传感器MPX4115的智能压力检测系统设计与仿真IIAbstractDigitalpressuregaugeiswidelyusedintheindustrialfield,nationaldefensefield,medicalfieldandindailylife.Thisdesignintroducedreal-timedisplayequip-mentforpressure.Itmakesuseofsoft,hardwarebasedonknowledge,throughacom-binationofsinglechipmicrocomputerandpressuresensor,whichshowsthecurrenthighpressureintheliquidcrystaldisplay.Thispaperdescribestheprocessofapplicationofmultifunctionalmpx4115barometerofthehardwareandsoftwarebasedon.Thisdesignisdigitalprecisionpressuredesignsystemofpressuresensorbasedonmpx4115.Mpx4115pressuresensorthroughthereceivedanalogvoltagecorrespondingtotheatmosphericvalue,andthroughthevoltage/frequency(V/F)loadedmoduleloadedintodigitalpulse,pulsenumberthroughthemicrocontroller,basedonthelinearrelationshipbetweenthevoltageandfrequencytocalculatetheactualpressurevaluecorrespondingtotherear,underthecontrolofMCUbyliquidcrystaldisplaythecircuitshowstheactualpressurevalues.Theoverallgoalistoachievesystemreliability,stability,securityandeconomy.Keywordsmpx4115GspressuretransducerSinglechipmicrocomputerLiquidcrystaldisplayVoltage/frequencyconversion基于传感器MPX4115的智能压力检测系统设计与仿真III目录摘要..................................................................................................................IAbstract............................................................................................................II目录..................................................................................................................III1绪论...............................................................................................................11.1课题设计原理及要求........................................................................11.2技术概况及发展趋势........................................................................11.2.1传感器的技术性能......................................................................11.2.2传感器的发展趋势......................................................................21.3数字气压计系统的设计意义............................................................42系统总体设计..............................................................................................62.1设计整体思想....................................................................................62.2系统总体框图....................................................................................62.3系统各功能模块的设计思想............................................................73硬件电路设计..............................................................................................83.1数据采集模块....................................................................................83.1.1数据采集模块的芯片选择..........................................................83.1.2数据采集的仿真原理图..............................................................93.1.3气压传感器MPX4115的原理...................................................103.2数据转换模块....................................................................................113.2.1数据转换芯片选择......................................................................113.2.2数据转换电路部分电路原理图..................................................123.2.3ADC0832的原理..........................................................................133.3数据处理模块....................................................................................143.3.1数据处理模块的芯片选择..........................................................143.3.2单片机部分的原理图..................................................................143.3.3AT89C52引脚及功能...................................................................153.4数据显示模块....................................................................................183.4.1显示模块的芯片选择..................................................................18基于传感器的智能压力检测系统设计IV3.4.2显示器LCD部分的原理图........................................................193.4.3LCD1602原理..............................................................................193.5电源模块、数据下载模块及报警模块............................................224仿真工具介绍..............................................................................................244.1单片机C语言....................................................................................244.2Keil软件介绍.....................................................................................254.3Proteus软件介绍................................................................................254.3Protel99介绍......................................................................................265软件系统设计..............................................................................................285.1程序流程图..............................................