煤矿井下水仓水位监测系统.pdf
分类号分类号 TP277TP277密密级级 公公开开 U D CU D C 单位代码单位代码1 104240424 学学 位位 论论 文文 煤矿井下水仓水位监测系统煤矿井下水仓水位监测系统煤矿井下水仓水位监测系统煤矿井下水仓水位监测系统 刘刘 刚刚 申请学位级别申请学位级别硕士学位硕士学位专业专业名名称称检测技术与自动化装检测技术与自动化装置置 指导教师姓名指导教师姓名郑丰隆郑丰隆职职称称教教授授 山山 东东 科科 技技 大大 学学 二零零八年五月二零零八年五月 论文题目论文题目论文题目论文题目 煤矿井下水仓水位监测系统煤矿井下水仓水位监测系统煤矿井下水仓水位监测系统煤矿井下水仓水位监测系统 作者姓名作者姓名作者姓名作者姓名 刘刘 刚刚入学时间入学时间入学时间入学时间 2005200520052005 年年 9 9 9 9 月月 专业名称专业名称专业名称专业名称检测技术与自动化装置检测技术与自动化装置 研究方向研究方向研究方向研究方向 生产过程自动检测与智能控制生产过程自动检测与智能控制 指导教师指导教师指导教师指导教师 郑丰隆郑丰隆职职职职称称称称教教 授授 论文提交日期论文提交日期论文提交日期论文提交日期2008200820082008 年年年年 5 5 5 5 月月月月 论文答辩日期论文答辩日期论文答辩日期论文答辩日期2008200820082008 年年年年 6 6 6 6 月月月月 授予学位日期授予学位日期授予学位日期授予学位日期 WATER-BUNKERWATER-BUNKERWATER-BUNKERWATER-BUNKERLEVELLEVELLEVELLEVELMONITORINGMONITORINGMONITORINGMONITORING SYSTEMSYSTEMSYSTEMSYSTEM UNDERGROUNDUNDERGROUNDUNDERGROUNDUNDERGROUND COALCOALCOALCOALMINEMINEMINEMINE A A A ADissertationDissertationDissertationDissertation tedtedtedted inininin fulfillmentfulfillmentfulfillmentfulfillment ofofofof thethethethe requirementsrequirementsrequirementsrequirements ofofofof thethethethe degreedegreedegreedegree ofofofof MASTERMASTERMASTERMASTEROFOFOFOF PHILOSOPHYPHILOSOPHYPHILOSOPHYPHILOSOPHY fromfromfromfrom ShandongShandongShandongShandong UniversityUniversityUniversityUniversity ofofofof ScienceScienceScienceScience andandandand TechnologyTechnologyTechnologyTechnology bybybyby LiuLiuLiuLiuGangGangGangGang SupervisorSupervisorSupervisorSupervisor ProfessorProfessorProfessorProfessorZhengZhengZhengZheng FenglongFenglongFenglongFenglong CollegeCollegeCollegeCollege ofofofof InationInationInationInation andandandand ElectricalElectricalElectricalElectrical EngineeringEngineeringEngineeringEngineering MayMayMayMay 2008200820082008 声声明明 本人呈交给山东科技大学的这篇硕士学位论文,除了所列参考文献和世所本人呈交给山东科技大学的这篇硕士学位论文,除了所列参考文献和世所 公认的文献外,全部是本人在导师指导下的研究成果。该论文资料尚没有呈交公认的文献外,全部是本人在导师指导下的研究成果。该论文资料尚没有呈交 于其它任何学术机关作鉴定。于其它任何学术机关作鉴定。 硕士生签名硕士生签名 日日期期 AFFIRMATIONAFFIRMATIONAFFIRMATIONAFFIRMATION I I I I declaredeclaredeclaredeclare thatthatthatthat thisthisthisthis dissertation,dissertation,dissertation,dissertation, tedtedtedted inininin fulfillmentfulfillmentfulfillmentfulfillment ofofofof thethethethe requirementsrequirementsrequirementsrequirements forforforfor thethethethe awardawardawardaward ofofofof MasterMasterMasterMaster ofofofof PhilosophyPhilosophyPhilosophyPhilosophy inininin ShandongShandongShandongShandong UniversityUniversityUniversityUniversity ofofofof ScienceScienceScienceScience andandandand Technology,Technology,Technology,Technology, is is is is whollywhollywhollywholly mymymymy ownownownown workworkworkwork unlessunlessunlessunless referencedreferencedreferencedreferenced ofofofof acknowledge.acknowledge.acknowledge.acknowledge. TheTheTheThe documentdocumentdocumentdocument hashashashas notnotnotnot beenbeenbeenbeen tedtedtedted forforforfor qualificationqualificationqualificationqualification atatatat anyanyanyany otherotherotherother academicacademicacademicacademic institute.institute.institute.institute. SignatureSignatureSignatureSignature DateDateDateDate 山东科技大学硕士学位论文摘要 摘摘要要 本文主要论述了一种煤矿井下水仓水位监测系统的设计与实现。系统主要由控制电 路和液晶显示器组成,控制柜安装在井下水仓附近,外接多个传感器测量各项参数,控 制电路以 AT89C52 单片机为核心,完成对被测信号的采集和处理等操作,当被测量超过 允许值时,能够产生声光报警。电路板上配有键盘电路,当传感器初装或零点发生漂移 时,可以通过按键调节零点,同时也可以设置每个被测量的报警值。液晶显示器实时显 示现场模拟状态图,包括各个被测量的大小,并根据水位的高低有动态变化。 系统采集的信号主要包括水泵电机的电流值、开停状态和轴承温度值,以及水仓水 位值。其中,采用 WB 系列电量隔离传感器来测量电流;采用 KGT9 矿用机电设备开停 传感器来测量水泵电机的开停状态;采用数字温度传感器 MAX6577 测量水泵电机的温 度;水位传感器为自行设计,探头采用 MPM281 压力传感器,根据压力与水位的关系, 确定水位高度。系统采用彩色液晶显示器显示所有被测信息,如有报警可通过改变显示 颜色予以提示。 软件部分采用 C 语言进行编程,对系统的各项功能进行了实验室调试和现场实验验 证。整个系统在大屯煤电公司孔庄矿投入使用以来一直运行良好,社会效益和经济效益 都比较明显,对保证安全生产和提高生产效率起到了重要作用。 关键词关键词水仓水位,实时监测,单片机,传感器,液晶显示器 山东科技大学硕士学位论文摘要 ABSTRACTABSTRACTABSTRACTABSTRACT The essay mainly discusses a kind of design and reality of the water-bunker level monitoring system underground coal mine. The system is comprised by a control circuit and LCD. The controller is installed in the vicinity of the water-bunker, which linked a number of sensors to measure various parameters. The control circuit is in the core of AT89C52. It completes the measurement of the signal gathering and processing.When the index is beyond the limit, it will produce the acoustics-optics alarm. The PCB has the key circuit. When the sensors are installed at the first time or the zero value is changed, we can set the zero by the key, also we can set the alarm value by thekey.LCD display real time simulation of the scene state graph including the size of all measurement, which has dynamic change in accordance with the water level. The signals that the system collects include the current, on-off state and the bearing temperature of the pump engine and the water-bunker level. Among it, the measurement of current adopts WB series electric quantity isolation sensor. The measurement of on-off state adopts KGT9 on-off sensor.The collectingof temperature is realized by the digital temperature sensor MAX6577. The water level sensor is designed by us with the MPM281 pressing sensor as the probe to measure the water level according to the relationship between the pressure and the water level.The system displays all the signals with color Liquid Crystal Display LCD. If warning, the color of the display will be changed to tell the operator. The software part is programmed using the C language and its every function is tested in the laboratory and in the spot respectively. The whole system has run well since been installed in the datun coal mine. Both social and economic benefits are more obvious.It plays an important role in ensure safety in production and improve production efficiency. KeywordsKeywordsKeywordsKeywords Water-bunker level, Real time monitoring, Single chip microcomputer, Sensor, LCD Liquid Crystal Display 山东科技大学硕士学位论文摘要 目目录录 1 1 1 1绪绪绪绪 论论论论. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .1 1 1 1 1.1课题的提出................................................................................................................ 1 1.2课题研究的现状........................................................................................................ 2 1.3课题研究的意义........................................................................................................ 3 1.4课题研究的内容........................................................................................................ 4 2 2 2 2系统设计方案系统设计方案系统设计方案系统设计方案. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .5 5 5 5 2.1系统总体结构............................................................................................................ 5 2.2主控制柜的设计........................................................................................................ 6 2.3传感器的选型............................................................................................................ 8 2.4系统工作原理.......................................................................................................... 10 3 3 3 3水位传感器的设计水位传感器的设计水位传感器的设计水位传感器的设计. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .11111111 3.1传感器结构原理.......................................................................................................11 3.2V/F 转换电路........................................................................................................... 13 4 4 4 4监控主机的设计监控主机的设计监控主机的设计监控主机的设计. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .16161616 4.1硬件结构.................................................................................................................. 16 4.2微处理器.................................................................................................................. 16 4.3输入接口电路.......................................................................................................... 18 4.4电源管理电路.......................................................................................................... 24 4.5通道选择电路.......................................................................................................... 24 4.6自动复位电路.......................................................................................................... 25 4.7存储电路.................................................................................................................. 27 4.8调零设置电路.......................................................................................................... 28 4.9通信控制电路.......................................................................................................... 29 4.10报警电路................................................................................................................ 31 4.11硬件可靠性设计.....................................................................................................32 5 5 5 5液晶显示界面的设计液晶显示界面的设计液晶显示界面的设计液晶显示界面的设计. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .36363636 山东科技大学硕士学位论文摘要 5.1液晶显示器的选型.................................................................................................. 36 5.2显示器驱动模组 M600 介绍...................................................................................37 5.3界面设计.................................................................................................................. 38 6 6 6 6系统软件设计系统软件设计系统软件设计系统软件设计. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .42424242 6.18051 的编程语言..................................................................................................... 42 6.2主程序设计.............................................................................................................. 44 6.3数据采集子程序...................................................................................................... 45 6.4数据处理子程序...................................................................................................... 46 6.5数据存储子程序...................................................................................................... 47 6.6通信显示子程序...................................................................................................... 47 6.7软件可靠性设计...................................................................................................... 48 7 7 7 7系统调试与现场安装系统调试与现场安装系统调试与现场安装系统调试与现场安装. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .50505050 7.1实验室调试.............................................................................................................. 50 7.2现场安装及应用...................................................................................................... 51 8 8 8 8总结与展望总结与展望总结与展望总结与展望. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .