用户名: 密码: 验证码:
基于CAN总线的臭氧发生器远程监控系统的研究与设计
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
由于臭氧在杀菌消毒方面的广泛应用,使得臭氧发生器行业得到了巨大的发展,但单台的臭氧发生器的产量仍然很低,所以自来水厂、污水厂一般为多台同时使用,但是至今为止,还没有成熟的多台臭氧发生器的远程监控网络系统,本论文就是在这样的背景下,研究使用CAN总线实现多台臭氧发生器的远程监控。
     现在用的大型臭氧发生器本身为一个复杂的系统,且在运行过程中,具有多个模拟量和开关量参数,不具备挂入总线的能力。为了实现该监控系统,必须完成以下三个任务:臭氧发生器组入CAN网络的物理条件、实现CAN通信的协议条件和上位机监控的软件条件。本论文也主要围绕这三方面展开。
     首先,根据臭氧发生器的特点,利用ARM7处理器LPC2129设计了含有CAN控制器和收发器的智能节点,该智能节点的主要功能为:数据采集、LCD显示、报警、与CAN网络通讯、控制发生器的运行状态等。利用该智能节点,把数据发送至CAN网络的同时,管理人员也可在现场查看发生器的实时运行参数信息。
     其次,根据CAN2.0B规范,设计合适的CAN通信协议。根据传输内容不同,对标识符进行分配;在智能节点中对臭氧发生器的不同参数进行组合发送;主机用数据帧的不同的数据表达不同的命令要求;同时对LPC2129的接收滤波器进行设置,使其只接收广播帧和固定的某些报文。
     最后,用MCGS组态软件设计了主机的监控软件,这里主要介绍了监控软件中的数据处理部分,包括了对接收的数据进行类型转换以及目标数据库的转存。从小容量的数据库转入大容量的数据库SQL Server 2000,并对目标数据库进行优化和维护,更能保障整个监控软件的后台数据库的正常运行。
     以上三个方面相互结合,才构成完备的臭氧发生器的远程监控系统。
With the widely application of the ozone in the sterilization, the Ozonizer industry has a large development. But the output of single ozonizer is low, so the waterworks and the sewage farms always use several ozonizers at the same time. There is no case of the successfull control system of the ozonizers until now. In this background, the article researchs the control system by using the CAN bus.
     The ozonizer is a complex system by itself which has many analog and digital parameters when running. And it does not have the capacity to hang up the CAN bus. So we have to meet three conditions if we want to realize the system. They are the physics condition to let the ozonizer connect with the CAN bus、the protocol condition to realize the CAN bus communication and the software condition. This text expands surrounding the three conditions.
     Firstly, I design the smart node using the LPC2129 of ARM7 for the ozonizer connecting with the CAN bus. This smart node includes the CAN controller and the transceiver. The main ability of the node is data collection、LCD display、sound alarming、connecting with the CAN bus、controlling the state of the ozonizer. Using the node, the user can watch the running information in the field as while as the data was sent to the main node.
     Secondly, design the protocol of the CAN communication according to the standards of CAN2.0B. Define the ID according to the sender; Send the combination of the different parameter in the smart nod; Use the different data to deliver the different order in the host computer. At the same time, set the acceptance filter of the LPC2129. Then it can only receive the broadcast frames and the special frames. In the end, design the control software of the host computer using the MCGS. There I mostly introduce the part of the data processing. The part includes the data transform and the changing of the aim database. Change the database from the little capacity to the big one SQL Server 2000、optimize and maintain the aim database. The database can run well and longer from this way.
     To sum up, we can form a complete remote monitor and control system of the ozonizer with the mentioned above.
引文
[1]孟志强.大功率介质阻挡放电臭氧发生电源的关键技术研究与实现:[湖南大学博士学位论文].湖南长沙:湖南大学电气与信息工程学院,2006,3-4
    [2]陈燕东.串联谐振式氧气型臭氧发生系统关键技术研究:[湖南大学硕士学位论文].湖南长沙:湖南大学电气与信息工程学院,2006,49
    [3]饶运涛,邹继军,王进宏等.现成总线CAN原理与应用技术.第二版.北京:北京航空航天大学出版社,2007,11-18
    [4]黄先智.常用现场总线技术的比较.电子与电脑,2006,(12):129-129
    [5] Liang Geng,Bai Yan.Application of Foundation Fieldbus Technology in Chain Grate Boiler Automation Control System.In:The Eighth International Conference on Electronic Measurement and Instruments.P R China Xian, 2007, 813-817
    [6] Byoung-Hee Kim,Kwang-Hyun Cho,Kyoung-Sup Park.Towards LonWorks technology and its applications to automation.Science and technology, 2000, 2(2):197-199
    [7]刘泽祥,李媛,何镇湖等.现场总线技术.北京:机械工业出版社,2005,51-53
    [8] Diaz J,Rodriguez E,Hurtado.CAN bus embedded system for lighting network applications.Circuits and systems, 2008,(8):531-532
    [9]广州周立功.LPC2119/LPC2129/LPC2194/LPC2292/LPC2294使用指南.http://www.zlgmcu.com/,2004-5-3
    [10]广州周立功.ARM嵌入式系统选项指南.http://www.zlgmcu.com/,2008
    [11]周林,殷侠.数据采集与分析技术.第一版.陕西:西安电子科技大学出版社,2005,85-87
    [12]李兴山,杨继红.多通道数据采集装置的研究.内江科技,2006,(7):137-138
    [13]柴玉华,房俊龙,范永存.谷物干燥机自动检测系统开关量的采集与控制.农机化研究,2002,(2):59
    [14]广州三元晶公司.液晶显示模块使用手册.http://www.lcmlcd.com,2006-6-10
    [15]程海林,刘百芬,汪利宝.ARM微控制器LPC210X的LCD接口技术.新器件新技术,2004,(4):47-48
    [16]广州周立功.基于32位ARM7的CAN节点设计,http://www.zlgmcu.com/,2006-12-21
    [17]康华光,陈大钦.电子技术基础数字部分.第四版.北京:高等教育出版社,2003,197-198
    [18]新华龙电子有限公司.USB转UART的单芯片桥接器.http://www.xhl.com.cn/,2007-5
    [19]周立功.ARM嵌入式系统基础教程.北京:北京航空航天大学出版社,2005,262-271
    [20]粱天明,耿相铭,陈健.多通道串行A/D转换器与TI DSPs的接口实现.通信技术,2002,(5):4-5
    [21]党瑞荣,苗强.基于PICl6F73单片机和ADS8341的SPI通信软硬件实现方法.石油仪器,2008,(4):76-78
    [22] Tom Hendrick.Simple DSP interface for ADS784x/834x ADCs.EDN Asia, 2005,(1):8
    [23]马明建.数据采集与处理技术.第二版.西安:西安交通大学出版社,2005,23-24
    [24] Obermaisser R.The design of communication convertor based on CAN b-us.Industrial electronic,2002,(1):270-273
    [25]谢智波,万忠.基于CAN总线的楼宇温度检测系统.宁波大学学报,2008,21(4):510-512
    [26]佟俐,潘宏侠,胡田.基于T MS320F2812的CAN总线通信系统.仪表技术与传感器,2008,(10):36-38
    [27] Realview中国.MDK指导.http://www.realview.com.cn/,2008-12
    [28] Keil公司.ARM开发工具MDK用户指南.http://www.realview.com.cn/,2007
    [29] Chiu K,Govindaraju M,Gannon D.The Proteus Multiprotocol Message Lib-rary.In:ACM/IEEE 2002 Conference,Piscataway NJ,2002,30
    [30]风标科技.从概念产品到设计完成的完整电子设计工具.http://www.windway.cn/,2006
    [31]单片机与嵌入式系统开发.KEIL与proteus的完美结合.http://www.51c51.net
    [32]李维諟,郭强.液晶显示应用技术.北京:电子工业出版社,2005,374-400
    [33]广州周立功公司.LPC2200启动代码分析.http://www.zlgmcu.com/,2005
    [34]邬宽明.CAN总线原理与设计.北京:北京航空航天大学出版社,1996,252-255
    [35]广州周立功公司.LPC2000系列32位ARM微控制器的CAN接收过滤设置.http://www.zlgmcu.com/,2004
    [36] Renjun Li, Chu Liu, Feng Luo.A design for automotive CAN bus monitoring system.In:Vehicle Power and Propulsion Conference.P R China Harbin,2008,1-5
    [37]杨兴果.基于MCGS与CAN-bus的石墨电极生产过程参数监测网设计:[湖南大学硕士学位论文].湖南长沙:湖南大学电气与信息工程学院,2007,15-20
    [38]北京昆仑通态有限公司.MCGS用户指南.http://www.mcgs.com.cn/,2005
    [39]北京昆仑通态有限公司.MCGS用户参考手册.http://www.mcgs.com.cn/,2005
    [40] Wang Xi-jing,Zhang Zhong-ke,Guo Rui-jie.Application of MCGS for process control and realtime detection in the process of friction stir welding.In:Control, Automation, Robotics and Vision Conference,2004,499-503
    [41]广州周立功.ZOPC_Server帮助文档.http://www.zlgmcu.com/,2007
    [42]徐红,陈玉国.数据库原理与应用教程与实训Access版.北京:北京大学出版社,2005,20-25
    [43] Galindo-Legaria C A,Grabs T, Gukal S.Optimizing star join queries for Data Warehousing in Microsoft SQL.In:IEEE 24th International Conference.2008,1190-1199
    [44] Mateen A, Raza B Hussain, T Awai.Autonomic computing in SQL Server.Computer and Information Science, 2008. ICIS 08.In:Seventh IEEE/ACIS International Conference.USA Washington,2008,113-118
    [45] Larson P A, Goldstein J, Zhou J MTCache.transparent mid-tier database caching in SQL Server.In:Proceedings 20th International Conference.Yokohama Japan, 2004,177-188
    [46]罗运模.完全掌握SQL Server 2000.北京:人民邮电出版社,2000,185-190
    [47] Jenney Lynne Fields.Microsoft SQL Server 2000优化指南.何欣.北京:清华大学出版社,2001,41-42
    [48]李伟红,张保通,张景峰.SQL Server 2000数据及应用.北京:清华大学出版社,2005,16-18
    [49]程永恒.C语言程序代码优化探讨.武汉船舶职业技术学院学报,2008,7(2):39-41
    [50] Mark Linsenbardt,Shane Stigler.SQL Server 2000管理指南.吕静桦,施妍然.北京:清华大学出版社,2002,120-125

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700