基于现场总线构架的智能化小区监控系统
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
现场总线采用智能现场设备,突破了分布式控制系统的缺陷。现场总线控制系统的信号传输实现了全数字化,系统结构为全分散式,通信网络为开放式互连网络,技术和标准实现了全开放。现场总线控制体系引入智能社区管理系统,实现了智能社区的升级换代,提高了智能化整体水平。
     本文课题是上海市交通部重点实验室建设的子项目。课题来源于实验室建设,研究成果可应用于智能化小区的建设。本文运用计算机技术、通信技术和自动控制技术,以单片机、DeviceNet总线与上位工控机为核心,设计并构筑了智能化小区系统。
     设计的智能化小区系统结构形式具有以下特点:
     (1)系统包括1个安装在智能社区管理中心的中央监控计算机,它主要负责对整个智能社区智能节点的组网、报警信息的实时显示、报警历史信息的查询、三表数据的计量与统计以及社区住户信息的管理等任务。实际上,中央监控计算机本身也是1个DeviceNet网络智能节点,这里我们通过插于上位监控计算机上PCI插槽上的由SST公司提供的板卡5136—DNP—PCI主站接口卡与DeviceNet网络连接在一起。
     (2)对每一幢居民楼作为1个通信节点,主要负责采集整幢居民楼中每一住户室内的报警信号数据以及水、电、气三表的使用情况,并将这些数据通过DeviceNet网络上传至中央监控计算机。
     (3)每一住户室内装有一个用户级监测器,负责整个住户室内的安全状态信息的监测和传送,包括门禁控制、火灾报警、煤气报警、盗窃报警、紧急求助以及三表抄送。根据该用户监测器设计了一个对ATMEL89c51系列芯片加以功能扩展的单片机控制系统。
     在本课题中,我们将模拟量与开关量信号的传感器通过DeviceNet总线模块(包括数字量输入、数字量输出、模拟量输入、模拟量输出模块以及适配控制器模块),与安装在上位工控机PCI插槽中的主站通信适配卡进行连接,实现了传感器,总线模块以及上位机的通信,并且运用VB语言所编的上位监控软件实现了对底层输入量的监控,此结果可应用于智能化小区中。为方便智能化小区结构
    
    的进一步扩展以及考虑到系统廉价性,我们对系统的扩展方案进行了探索,并且
    需要进一步完善。一方面我们将传感器通过单片机系统,再由单片机系统与
    DeviceNet总线连接:为了充分发挥DeviCeNet的总线优势,另一方面,我们对
    Devi ceNet的从设备进行了探索和尝试开发,此部分有待进一步完善。为拓展智
    能化小区系统的实用功能,将三表计量纳入到此监控系统中,逐步完善智能化小
    区的功能,达到更好的实用效果。系统不仅通过SST软件包实现了DeviceNet
    网络的设置、通讯和监控,还用VB实现了节点的自动配置,实现了系统的自我
    管理,无论是10点的变化还是总线节点、模块的变化,只要保持系统配置数据
    库中的数据与物理连接相一致,系统的软、硬件无需人为改动。
     DeviceNet是基于以N总线的一种现场总线协议,其物理层与CAN相同,因
    此在设计从适配设备时,采用与CAN从设备所用相同的主芯片。DeviceNet是我
    国现场总线的标准,具有通用性,而且具有价格低廉,可靠性高等特点。因此我
    们选择DeviceNet为网络构架总线。
The fieldbus control system adopts intelligent equipments, breaking through the faults of the distributed control system. The signal transfer accomplishes the wholly digitalization. The structure of the system is wholly distributed, the network is open connected, the technology and the standard achieve wholly open. The fieldbus control system is introduced into the intelligent community management system so that the intelligent community is upgraded, and the whole level is enhanced.
    This paper describes research works involved in the important sub items of new laboratory's construction which is coming from the fund of the ministry of communications in order to extend to the construction of the intelligent community. In this project, we make use of the computer technology, the communication technology and the auto-control technology. MCU , DeviceNet fieldbus modules and the top-level control computer are the cores in this project.
    The structure of the intelligent community has features as follows: (1) central monitor computer is installed in the system. It is mainly in charge of the network configuration , the real-time show of the alarm information, the query of the historical information, the measurement and the statistic of the three mete, the management of the customer's information, and so on. In fact , the central computer is also a DeviceNet network node. Here we connect the DeviceNet network and the master node interface card 5136-DNP-PCI of SST company.
    (2) The residential building as a communication node is mainly in charge of collecting the alarm signal in every house and the information of three meters. These data are transferred to the central control computer via DeviceNet network. This paper describes the communication manner of the
    
    
    network.
    (3) There is a detector for each customer in every customer's home, which is in charge of the security status detection and transfer including the doorcontrok firealarnru gasalarnrK burglar alarm> urgency query and three meters' copy and transfer. According to the customers' detectors , we design and construct a MCU control system based on AT89C51 single chip and extend its functions.
    In this project, we connect the analog and digital detectors( including the digital input, digital output, analog input, analog output modules and adapt control modules) with the master communication adapt card which is installed in the PCI slot of the computer. The communication of the top-level computer , the detectors and the fieldbus modules is accomplished. According to the scale and the demand of the system, we design the monitor picture. We use the Visual Basic 6.0 to achieve the software design for direct data test , interface simulation , auto-control and hand-control node configuration to get the goal of monitor and alarm. In order to extend the system and reduce the cost and the system, we explore in the extension of it, and it need to be developed further. On one hand, we connect detectors with the MCU, connect the MCU with the DeviceNet fieldbus; On the other hand, we also explore in the slave equipment of DeviceNet. In order to extend the applicable functions, we combine the three-meters with the network to develop the network. Not only can we use SST software kits to achieve the self-management , we also use VB to achieve the node's self-configuration. Either the change of the the I/O node or the change of the modules, if only the connection of the data in the database of the system configuration is the same with the physical devices, we need no more change with the software and the hardware.
    DeviceNet fieldbus is a kind of fieldbus protocol based on CANbus. It has the same physical layer protocol with the CANbus. So when we design the slave equipment, we adopt the same core chip with the CAN slave
    
    equipment. DeviceNet is the standard of China's fieldbus and has common utility. It is cheaper and stable. So we choose DeviceNet as the fieldbus in the infrastructure of the network.
引文
[1] 邬宽明.CAN总线原理和应用系统设计.北京航空航天大学出版社.1996.
    [2] Art Baker.Windows 2000设备驱动程序设计指南(第2版).机械工业出版社.2001.
    [3] Philips Inc. SJA1000 Stand-alone CAN controller Application Note.
    [4] Atmel Inc. AT89C51 Manual.
    [5] 建设部《全国住宅小区智能化系统示范工程建议要点与技术守则》(试行稿).1999.12.10.
    [6] 李林.智能大厦系统工程.北京:电子工业出版社.1998.1.
    [7] 康博创作室.Visual Basic新起点6.0实用教程.机械工业出版社.1999.
    [8] 李华 孙晓民.MCS-51系列单片机实用接口技术.北京:北京航空航天大学出版社.1993.
    [9] 余永权.ATMEL89系列单片机应用技术.北京:北京航空航天大学出版社.2002.4.
    [10] 沈红卫.单片机应用系统设计实例与分析.北京航空航天大学出版社.2003.1.
    [11] 阳宪惠.现场总线技术及其应用.清华大学出版社.1999.6.
    [12] 何衍庆 俞金寿.集散控制系统原理及应用.化学工业出版社.2002.10.
    [13] PC机与单片机&DSP数据通信技术选编.北京航空航天大学出版社.2003.5.
    [14] DeviceNet technical overview.
    [15] Technical documentation. WAGO-I/O-SYSTEM750.
    [16] Tangm K H, Mclaughlin R T. From CAN theory to DeviceNet. practice[J].Electronic Engineering. 1999.71(874):13-4902
    
    
    [17] 刘建昌.CAN总线及DeviceNet现场总线[J].基础自动化.2001,8(3):
    [18] 刘权.DeviceNet技术[J].微计算机信息.2000.16(4):12-17
    [19] 魏震.DeviceNet总线应用层协议的实现[J].自动化与仪表.2002.23(1):
    [20] 邬宽明.CAN总线原理和应用系统设计.北京航空航天大学出版社.1996.
    [21] DeviceNet Specification. Release 2. 0. 1997.
    [22] 李华 孙晓民.MCS-51系列单片机实用接口技术.北京:北京航空航天大学出版社,1993.
    [23] 谢希仁.计算机网络.北京:电子工业出版社.1999.
    [24] X25043/45可编程看门狗监控EEPROM数据手册.武汉力源电子股份公司.1998.
    [25] 徐平 王光能.KF-1型仓库监控管理系统.测控技术.1997(6).
    [26] 徐平.HB-2住宅小区智能化报警监视系统.电气&智能建筑.2001(1).
    [27] 求是科技 王钦编著.Visual Basic 6.0入门与提高.人民邮电出版社.
    [28] 李朝青.PC机与单片机&DSP数据通信技术选编.北京航空航天大学出版社.2003.5.
    [29] 桑楠.嵌入式系统原理及应用开发技术.北京航空航天大学出版社.2002.4
    [30] 余永权 汪明慧 黄英编著.单片机在控制系统中的应用.电子工业出版社.2003年10月.
    [31] 周航慈著.单片机应用程序设计技术.北京航空航天大学出版社.2002年11月.
    [30] Biegecki S and Van Gompel D. The Appliction of DeviceNet in Process Control. ISA Transactions. 1996. 35(2):169-176.
    [31] CAN Specification—Version 2.0. Robert Bosch Gmbh. 1991.
    
    
    [32] DeviceNet Specification, ODVA Inc.. 1999.
    [33] Bob Law. DeviceNet Technical Bible. Rockwell Automation. 1999-06.
    [34] Jim Brady. Networking with DeviceNet. Circuit Cellar Ink. 1998-08.
    [35] Zheng Huayao. Guo Yi. Huang Xuewu. Investigation of Integrated Electric Propulsion Simulation System of Modern Ship. IMECE' 2003:123-129.
    [36] Xu Yongfa. Li Gongxuan. Du Jun. A Study of the Application of the CAN Field Bus in the Cabin Roboticized System (CRS) of Naval Vessel. IMECE' 2003. 208-223.
    [37] 基于AID058515的三表数据处理器.叶剑锋.计量技术 2004.No5.
    [38] 智能化小区中的家庭安全管理系统(发端).李诚元.电子技术应用.
    [39] 气、水、电三表联抄初探.高军法.城市燃气2003/6(Vol.340).
    [40] TMS320F206 DSP的以太网接口设计.李绍民.大连民族学院学报.VOL.5 NO.3 JUL.2003.
    [41] 魏忠等.嵌入式系统开发详解.北京:电子工业出版社,2003年1月.
    [42] 马忠梅等.AT91系列ARM核微控制器结构与开发.北京:北京航空航天大学出版社,2003年1月.
    [43] 马忠梅等.ARM嵌入式处理器与应用基础.北京:北京航空航天大学出版社,2002年1月.
    [44] TMS320C54x Evaluation Module Technical Reference (literature number SPRU135) Texas Instrument Inc.
    [45] Dave Walsh. Using Advanced RISC Machines (ARM) Ltd's RISC Microprocessor Architecture for Cost -Effective Embedded Signal Processing Performance.
    
    
    [46] CAN总线技术在控制系统中的应用与实现.贵州工业大学.王红蕾.现代机械.2002年第二期.
    [47] CAN总线及DeviceNet现场总线.东北大学 罗克韦尔自动化实验室.基础自动化.2001年6月.Vol.8,No.3.
    [48] Jim Brady. Networking with DeviceNet. Circuit Cellar Ink. 1998-08.
    [49] Bob Law. DeviceNet Technical Bible, Rockwell Automation. 1999-06.
    [50] Biegacki S and VanGompel D. The Application of DeviceNet in Process Control. ISA Transactions. 1996(35):169-176.
    [51] 基于现场总线的船舶柴油机报警与监控系统.段柏林、郑华耀.2001年中国智能自动化会议,《机电智能化》,亚洲联合报业出版社,2001.6.
    [52] 自动化机舱监测系统与计算机总线技术.郑华耀 汤天浩 段柏林 张劲.全国第七届工业控制系统应用学术会议优秀论文《机电一体化》2001.No.6.
    [53] IEC FDIS 61158-5(1999) Fieldbus for use in Industrial Control System. Part5: Application Layer Service Defmition.
    [54] Richard H.caro. Ethernet takes on the plant floor. World Bus Journal,1999(12).
    [55] PIC微控制器在温度湿度测控系统中的应用.潭立地.江西科学.2000.3-18(1).
    [56] PIC16C7X -Bit CMOS Microcontrollers with A/D Converter [DB/OL].
    [57] Li Jieren,and J.MindykOwski. Development of Engine Room Monitoring and Alarm System. Proceedings of the 1997 International Marine Electrotechnology Conference and Exhibition IareCE'97. China. Shanghai 1997 P131-135.
    [58] Advanced Computer Technology for Development of Marine Simulation Center. Huayao Zheng . Proc. of the 9th IEEE International Conference on MMAR (Methods and Models in Automation and Robotics) 25-28 Aug. 2003.

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

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

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