嵌入式检测仪及水中油含量检测技术研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着水资源的日益宝贵,及水污染的日益严重,保护水资源已成为社会各界日益关注的问题。保护水资源的必不可缺的手段就是水质检测,而水中油含量的检测又是水质检测的重要方面,所以研制水中油含量检测仪,具有重要的社会和经济价值。
     本文详细介绍了基于微控制器的水中油含量检测仪的设计与实现。关于水中油含量的检测有多种方法,最常用的是红外吸光光度法,本文对吸光光度法在物质定量分析中的基本理论——Lambert-Beer定律做了简要介绍,并以此提出了系统测量的基本模型,进而设计了系统的测量逻辑。鉴于基本模型自身的特点,作为对它的补充,文中又提出了系统测量的RBFNN模型,系统测试的结果证实了这种模型的有效性。系统测量的这两种模型共存于系统中,由上层功能软件完成这两种模型的有机整合。接着从硬件、软件两方面叙述系统的具体实现,在硬件设计中,采取层次式电路设计策略,完成系统硬件的电路图设计,并建立了系统硬件的硬件抽象层;在软件设计中,引入了嵌入式多任务内核作为系统的开发平台。硬件抽象层屏蔽底层硬件细节,向上层功能软件提供稳定、友好的用户接口。嵌入式多任务内核的引入降低了系统设计的难度,更使目标系统具有很好的性能。在本文最后,对系统的电磁兼容性进行了分析、设计,以提高目标系统的可靠性和抗干扰能力。
As water resource is being more and more precious, and water pollution is becoming serious increasingly, it has been become one important issue which is concerned by society to protect water resource from pollution. The indispensable method to protect water resource is to detect quality of water, and detecting oli concentration of water is the significant aspect of water quality detection, so it is very meaningful in the side of society and economy to implement the Detector of Oil Concentration.
    In this article, the detailed introduction is shown about design and implementation of oil concentration detector based on microcontroller. There is many a method to measure oil concentration, but the commonly used one is Infrared Absorbance Luminosity Method, so firstly the article illustrates fundamental of Absorbance Luminosity Method for quantitative analysis - Lambert Beer Law, and puts up with the basic model for system measurement, and then designs measure logic of system. In the view of characteristics of basic model, the article gives RBFNN model for system measurement as supplement to the former, the result of test for RBFNN approves that the model is effective. The two models for system measurement coexist in target system; this is maintained by the high-level software perfectly. And then the article gives concrete implementation of system from two aspects of hardware and software. For hardware design, the schematic of system hardware is finished with the strategy of Modeling Schematic Design, and
     setup HAL (Hardware Abstract Layer) for system hardware. For software, embedded multi-task kernel is introduced as the platform for development. HAL shields complex detail of low-level hardware, and supplies stable and friendly user interface to high-level software. The introduction of Multi-task Kernel reduces the difficulty of system design, and makes target system possess better performance. At last, the article analyzes and designs EMC ( ElectroMagnetic Compatibility ) for target system to enhance its reliability and the ability of anti-disturbance.
引文
[1] 分析化学。高等教育出版社,1995
    [2] 现代仪器分析。清华大学出版社,1983
    [3] 蔡美琴,张为民等。MCS-51系列单片机系统及其应用。高等教育出版社,1992
    [4] 司光宇,李鹏飞等。一种新型油田注水水质检测仪器的研制。大庆石油学院学报,2003-3
    [5] 庸朔飞。电子数字计算机原理。哈尔滨工业大学出版社,1990。
    [6] 邵贝贝。μC/OS-Ⅱ——源码公开的实时嵌入式操作系统。北京:中国电力出版社,2001。
    [7] 徐爱钧,彭秀华。单片机高级语言C51应用程序设计。电子工业出版社,1998。
    [8] 汤子赢,哲凤屏,汤小丹。计算机操作系统。西安电子科技大学出版社,1996。
    [9] 史忠植。知识发现[M]。清华大学出版社,2002.1。
    [10] Tom M.Mitchell。机器学习[M]。机械工业出版社,2003.1。
    [11] 嵌入式实时多任务操作系统,成都:电子科技大学出版社,1999。
    [12] 张有志。可编程逻辑器件(PLD)原理与应用。北京:中国铁道出版社,1996。
    [13] 孔祥营,柏桂枝。嵌入式实时操作系统VxWorks及其开发环境Tornado。中国电力出版社,2002.01.
    [14] 王学龙。嵌入式VxWorks系统开发与应用。人民邮电出版社,2003.10
    [15] 王幸之等,单片机应用系统抗干扰技术.北京:北京航空航天大学出版社,2000.1-25。
    [16] 周慈航.单片机应用程序设计技术.北京:北京航空航天大学出版社,1991.
    [17] 闫玉德,俞虹。MCS-51单片机原理与应用(C语言版)。机械工业出版社,2003.01
    [18] 王铁勇,吴盘龙,在单片机中嵌入操作系统的利弊
    [19] 苏铁力等.传感器及其接口技术.北京:中国石化出版社,1997.
    [20] 齐治昌,谭庆平,宁洪编著。软件工程。高等教育出版社,2001.08.
    [21] M.D. Beer. MicrocomputerInterfacing. 1985。
    [22] CxS1 Compiler。Keil Software, Inc. 2000.01。
    [23] Getting Started with μVision2。Keil Software, Inc. 2001.02。
    [24] Macro Assembler and Utilities。Keil Software, Inc. 2001.02。
    [25] RTX51 Tiny User's Guide。Keil Software, Inc. 2002.03。
    [26] 刘铁男等,带优选算法RBFNN辨识器的设计及应用,控制与决策,2003,No.5
    [27] 柴天佑,王笑波,RBF神经网络在加速冷却控制系统中的应用,自动化学报,2000,Vol.26,No.2
    [28] 冯重熙,张伟良,王涛,嵌入式系统硬件抽象层的原理与实现,电子技术应用,2001 Vol.27 No.10
    [29] 肖踞雄,嵌入式系统硬件抽象层的建立及软件的可移植性设计,单片机与嵌入式系统应用,2003.7
    [30] 郭静寰,孟祥迪等,Windows NT硬件抽象层HAL功能分析,计算机应用,2002 Vol.22,No.7
    [31] 陈养平,贺占庄,基于VxWorks的实时多任务软件设计,微电子学与计算机,2002,No.7
    [32] 宏英,陈曦,嵌入式实时多任务程序设计,计算机应用,2000,Vol.20,No.7
    [33] 毋国庆,朱立松,嵌入式实时系统的软件需求检测,软件学报,Vol.13,No.5
    [34] 陈爱弟,Protel 99实用培训教程,人民邮电出版社,2001.07
    [35] 裘宗燕译,C++程序设计语言,机械工业出版社,2002.07
    [36] 钱能,C++程序设计教程,清华大学出版社,1999.04
    [38] 张海藩,软件工程导论,清华大学出版社,1998.01.
    [39] 李鹏飞,油田注水水质检测技术的研究与实现.工学硕士.大庆石油学院,2003.3
    [40] 王福瑞,单片机测控系统设计大全,北京航空航天大学出版社,1999.
    
    
    [41] Continuous oil concentration monitor. United State Patent 4207450.1980.
    [42] Ravi Jethra. Turbility Measurement. ISA Transaction, 1993(32):397-405