基于传感器MPX4115的智能压力检测系统设计与仿真
合集下载
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
1.2.1 传感器的技术性能 .......................................................................1 1.2.2 传感器的发展趋势 .......................................................................2 1.3 数字气压计系统的设计意义 .............................................................4
1.1 课题设计原理及要求 .........................................................................1 1.2 技术概况及发展趋势 .........................................................................1
This design is digital precision pressure design system of pressure sensor based on mpx4115. Mpx4115 pressure sensor through the received analog voltage corresponding to the atmospheric value, and through the voltage / frequency (V/F) loaded module loaded into digital pulse, pulse number through the microcontroller, based on the linear relationship between the voltage and frequency to calculate the actual pressure value corresponding to the rear, under the control of MCU by liquid crystal display the circuit shows the actual pressure values. The overall goal is to achieve system reliability, stability, security and economy.
2 系统总体设计 ...............................................................................................6 2.1 设计整体思想 .....................................................................................6 2.2 系统总体框图 .....................................................................................6 2.3 系统各功能模块的设计思想 .............................................................7
成都理工大学工程技术学院毕业论文
基于传感器MPX4115的智能压力检测 系统设计与仿真
基于传感器MPX4115的智能压力检测系统设计与仿真
Hale Waihona Puke Baidu摘要
数字式气压计被广泛应用于当前工业领域、国防领域、医疗领域以及日常生 活中。本设计中就介绍了一种气压的实时显示设备。它利用软、硬件基础知 识,通过单片机与气压传感器的结合,使得在液晶显示器上显示出当前大气 压值。本文详细的描述了基于mpx4115气压计的多功能应用以及软硬件实现 的过程。 本设计是基于气压传感器mpx4115的精密数字气压设计系统。通过气压传感 器mpx4115获得与大气相对应的模拟电压值,并经过电压/频率(V/F)装换模 块装换为数字脉冲,通过单片机接受脉冲数,依据电压与频率的线性关系式 计算出相对应的实际气压值,最后在单片机的控制下由液晶显示电路显示 出实际气压值。总体目标是实现系统的可靠性、稳定性、安全性和经济性。 关键词:mpx4115;气压传感器;单片机;液晶显示;V/F装换器
I
Abstract
Digital pressure gauge is widely used in the industrial field, national defense field, medical field and in daily life. This design introduced real-time display equip- ment for pressure. It makes use of soft, hardware based on knowledge, through a com- bination of single chip microcomputer and pressure sensor, which shows the current high pressure in the liquid crystal display. This paper describes the process of application of multifunctional mpx4115 barometer of the hardware and software based on.
Keywords mpx4115 Gs pressure transducer Single chip microcomputer Liquid crystal display Voltage / frequency conversion
I
目录
摘要 ..................................................................................................................I Abstract .............................................................................................................II 目录 ..................................................................................................................III 1绪论 ................................................................................................................1
3 硬件电路设计 ...............................................................................................8 3.1 数据采集模块 .....................................................................................8 3.1.1 数据采集模块的芯片选择 ...........................................................8 3.1.2 数据采集的仿真原理图 ...............................................................9 3.1.3 气压传感器MPX4115的原理.......................................................10 3.2 数据转换模块 .....................................................................................11 3.2.1 数据转换芯片选择 .......................................................................11 3.2.2 数据转换电路部分电路原理图 ...................................................12 3.2.3 ADC0832的原理 ...........................................................................13 3.3 数据处理模块 .....................................................................................14 3.3.1 数据处理模块的芯片选择 ...........................................................14 3.3.2 单片机部分的原理图 ...................................................................14 3.3.3 AT89C52引脚及功能 ...................................................................15 3.4 数据显示模块 .....................................................................................18 3.4.1 显示模块的芯片选择 ...................................................................18
III
3.4.2 显示器LCD部分的原理图 ...........................................................19 3.4.3 LCD1602原理 ...............................................................................19 3.5 电源模块、数据下载模块及报警模块...............................................22 4 仿真工具介绍 ...............................................................................................24 4.1单片机C语言........................................................................................24 4.2 Keil软件介绍 ......................................................................................25 4.3 Proteus软件介绍 .................................................................................25 4.3 Protel99介绍........................................................................................26 5 软件系统设计 ...............................................................................................28 5.1 程序流程图 .........................................................................................28 5.2气压值计算 ..........................................................................................29 6 系统的调试与仿真 .......................................................................................30 6.1 系统仿真电路图 .................................................................................30 6.2 系统仿真结果 .....................................................................................32 总结 ..................................................................................................................35 致谢 ..................................................................................................................36 参考文献 ..........................................................................................................37 附件1 系统整体框图 .......................................................................................38 附件2 系统Protel图..........................................................................................39 1 电路原理图 ............................................................................................39 2 PCB 版图................................................................................................40 附件3 程序代码 ...............................................................................................41
1.1 课题设计原理及要求 .........................................................................1 1.2 技术概况及发展趋势 .........................................................................1
This design is digital precision pressure design system of pressure sensor based on mpx4115. Mpx4115 pressure sensor through the received analog voltage corresponding to the atmospheric value, and through the voltage / frequency (V/F) loaded module loaded into digital pulse, pulse number through the microcontroller, based on the linear relationship between the voltage and frequency to calculate the actual pressure value corresponding to the rear, under the control of MCU by liquid crystal display the circuit shows the actual pressure values. The overall goal is to achieve system reliability, stability, security and economy.
2 系统总体设计 ...............................................................................................6 2.1 设计整体思想 .....................................................................................6 2.2 系统总体框图 .....................................................................................6 2.3 系统各功能模块的设计思想 .............................................................7
成都理工大学工程技术学院毕业论文
基于传感器MPX4115的智能压力检测 系统设计与仿真
基于传感器MPX4115的智能压力检测系统设计与仿真
Hale Waihona Puke Baidu摘要
数字式气压计被广泛应用于当前工业领域、国防领域、医疗领域以及日常生 活中。本设计中就介绍了一种气压的实时显示设备。它利用软、硬件基础知 识,通过单片机与气压传感器的结合,使得在液晶显示器上显示出当前大气 压值。本文详细的描述了基于mpx4115气压计的多功能应用以及软硬件实现 的过程。 本设计是基于气压传感器mpx4115的精密数字气压设计系统。通过气压传感 器mpx4115获得与大气相对应的模拟电压值,并经过电压/频率(V/F)装换模 块装换为数字脉冲,通过单片机接受脉冲数,依据电压与频率的线性关系式 计算出相对应的实际气压值,最后在单片机的控制下由液晶显示电路显示 出实际气压值。总体目标是实现系统的可靠性、稳定性、安全性和经济性。 关键词:mpx4115;气压传感器;单片机;液晶显示;V/F装换器
I
Abstract
Digital pressure gauge is widely used in the industrial field, national defense field, medical field and in daily life. This design introduced real-time display equip- ment for pressure. It makes use of soft, hardware based on knowledge, through a com- bination of single chip microcomputer and pressure sensor, which shows the current high pressure in the liquid crystal display. This paper describes the process of application of multifunctional mpx4115 barometer of the hardware and software based on.
Keywords mpx4115 Gs pressure transducer Single chip microcomputer Liquid crystal display Voltage / frequency conversion
I
目录
摘要 ..................................................................................................................I Abstract .............................................................................................................II 目录 ..................................................................................................................III 1绪论 ................................................................................................................1
3 硬件电路设计 ...............................................................................................8 3.1 数据采集模块 .....................................................................................8 3.1.1 数据采集模块的芯片选择 ...........................................................8 3.1.2 数据采集的仿真原理图 ...............................................................9 3.1.3 气压传感器MPX4115的原理.......................................................10 3.2 数据转换模块 .....................................................................................11 3.2.1 数据转换芯片选择 .......................................................................11 3.2.2 数据转换电路部分电路原理图 ...................................................12 3.2.3 ADC0832的原理 ...........................................................................13 3.3 数据处理模块 .....................................................................................14 3.3.1 数据处理模块的芯片选择 ...........................................................14 3.3.2 单片机部分的原理图 ...................................................................14 3.3.3 AT89C52引脚及功能 ...................................................................15 3.4 数据显示模块 .....................................................................................18 3.4.1 显示模块的芯片选择 ...................................................................18
III
3.4.2 显示器LCD部分的原理图 ...........................................................19 3.4.3 LCD1602原理 ...............................................................................19 3.5 电源模块、数据下载模块及报警模块...............................................22 4 仿真工具介绍 ...............................................................................................24 4.1单片机C语言........................................................................................24 4.2 Keil软件介绍 ......................................................................................25 4.3 Proteus软件介绍 .................................................................................25 4.3 Protel99介绍........................................................................................26 5 软件系统设计 ...............................................................................................28 5.1 程序流程图 .........................................................................................28 5.2气压值计算 ..........................................................................................29 6 系统的调试与仿真 .......................................................................................30 6.1 系统仿真电路图 .................................................................................30 6.2 系统仿真结果 .....................................................................................32 总结 ..................................................................................................................35 致谢 ..................................................................................................................36 参考文献 ..........................................................................................................37 附件1 系统整体框图 .......................................................................................38 附件2 系统Protel图..........................................................................................39 1 电路原理图 ............................................................................................39 2 PCB 版图................................................................................................40 附件3 程序代码 ...............................................................................................41