基于组态王的畜牧无害化处理监控系统的开发
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
本文在对畜牧无害化处理现场设备及其控制器和畜牧无害化处理工艺进行研究的基础上,开发了国内第一套利用高温高压方法进行畜牧无害化处理的全过程中央监控系统,该系统将于近期投入使用。
     介绍了国内外畜牧无害化处理技术的发展现状,指出设计开发一套用于实现畜牧无害化处理过程完全自动化的中央监控系统的必要性和现实意义。
     在调查研究和深入分析用户需求的基础上,结合现场工艺、设备及其现场控制器的类型,提出了对高温高压消毒罐、粉碎机、包装机、牵引车等设备进行远程监视和控制的监控系统设计方案。通过组态软件(组态王)开发上位机监控系统,监控系统采用星型网络拓扑结构同下位机(PLC、变频器、智能仪表)相连,以RS485方式通信,构成一个具有设备层、现场控制层、过程监控层三层结构的网络化计算机监督与控制系统。另外,在三菱PLC协议的基础上,设计了用于上位机和PLC间命令握手的状态转换协议;同时,提出了通过在组态王画面中嵌入ActiveX控件,以其作为中介实现上位机和电子地衡仪表通信的方案,解决了组态王缺少该智能仪表设备驱动的问题。
     根据监控系统的设计方案,开发了用于人机交互的主监控画面和各子系统的监控画面;通过组态王的“设备配置向导”定义外部设备,实现了上位机和下位机(PLC、变频器)之间的通信,并在此基础上,利用数据改变命令语言实现了上位机和PLC间的自定义协议;在VB集成开发环境下编写了ActiveX控件,实现了上位机和电子地衡仪表的通信;编写了控制程序,实现了无害化处理过程的自动化和设备的远程手动控制。另外,监控系统还具有报警实时显示和故障定位功能,报表功能,数据的曲线显示和查询功能和系统安全管理功能。
     在实验室模拟环境下完成了监控系统的仿真调试,这样可以缩短现场调试的周期,减少现场调试带来的经济损失和风险。实验室模拟环境包括高温高压大罐模拟系统、粉碎模拟系统、喷淋消毒模拟系统;仿真调试过程分为单机调试和多设备联机调试两个阶段,单机调试完成了对监控程序中的子系统控制模块的调试,联机调试完成了监控系统在畜牧无害化处理过程正常运行和发生故障两种情况下自动控制程序、报表程序、历史趋势曲线程序等程序模块的调试。仿真调试初步验证了监控系统的可靠性。
     最后,对畜牧无害化处理监控系统的设计和开发工作进行了总结和展望。
Based on research on the devices and the process of safety disposal of diseasedlivestock,thefirst domestic supervisorycontrol system forsafetydisposal ofdiseasedlivestock is successfully developed, the technique kernel of which is the method ofhightemperatureandhighpressure.Thesystemistocomeintouseinfuture.
     The thesis introduces the development status of technology of safety disposal ofdiseased livestock at home and abroad, then makes a conclusion that it is necessaryand useful to develop the supervisory control system for safety disposal of diseasedlivestocktoachievetheautomationofthesafetydisposalprocess.
     On the basis of research on requests of customs, the thesis researches andanalyzes the process of safety disposal of diseased livestock, devices and its’thecontroller type, then puts forward the design plan of supervisory control systemremotelymonitoringand controllingaautoclave, apulverizer,apackagingmachine,atrailer tractor, and so on. The supervisory control system is designed to be the systemwithtriplex layerstructure(devicelayer,localcontrollayer,process-monitoringlayer),which connects with lower machines (PLC, frequency converters, and a intelligentinstrument) by star network topology structure, and communicates with lowermachines by RS485. The Kingview configuration software is chosen to be a quickdeveloping tool. In addition, the state-change-protocol applied to command-shakesbetween upper machine (IPC) and lower machine (PLC) is designed, based on PLCprivileged protocol. And a plan is put forward that embedding a custom ActiveXcontrol into Kingview picture to implement the data communication between IPC andthe weight intelligent instrument and solve the problem of the lack of device driver oftheintelligentinstrumentinKingview.
     Accordingtothedesignofsupervisorycontrolsystem,amainpicturemonitoringall the devices and a few sub pictures monitoring the devices of subsystem aredeveloped as human-machine interface. The data communication between IPC andlower machines (PLC, frequency converters) is implemented by“devicesconfiguration guide”in Kingview to define external devices, then custom protocoldefined on the basis of PLC privileged protocol to return the execution result ofcommands of IPC is implemented by using“data change command language”which Kingview supplies for developers to edit script language. An ActiveX control isfinished in the VB IDE as a medium to implement the data communication betweenIPC and the intelligent instrument. The main control program is made to implementthe automation of the process of safety disposal of diseased livestock and remotemanual control of devices. In addition, the supervisory control system also providessuch functions as real-time alarm, fault location, report, trend curve, and safetymanagementofsystem.
     The thesis completes the adjustment of supervisory control system in thesimulation environment of laboratory, that could shorten the period of adjustment onthe site and reduce the economic losses. The laboratory simulation environmentincludes aautoclave simulationsystem,apulverizer simulationsystem andasprayingsimulation system. The whole adjustment process is separated into twostages. In thefirst stage, the adjustment of sub system program modules is finished. In the secondstage, the whole adjustment of the system control program is finished when theautomation process of safety disposal of diseased livestock is respectively normal orat fault. The system control program includes a automation control module, a reportmodule, historical curve module, and so on. The adjustment in the simulationenvironmentprovesthatthesupervisorycontrolsystemisofhighreliability.
     In the end, the thesis summaries the entire design work and forecasts futureapplicationofthesupervisorycontrolsystemdisposingdiseasedlivestocksafely.
引文
[1]闻浩.浅议病害动物尸体的处理.河南畜牧兽医. 2007,28(10):34
    [2]郭立民,李铁全,林世武,等.浅谈动物尸体处理现状与危害及对策.中国动物检疫.2007,(24)6:8
    [3]李洪洲,毛友芳,汪焕尧,凌忠泉杭州市萧山区病害动物及产品无害化处理现状调查.浙江畜牧兽医. 2007,4:19
    [4]吴志强,李启成.畜禽病害肉尸及其产品无害化处理技术.防检技术. 2005,(22)8:28~29
    [5]梁天红.关于我国病死动物无害处理现状的思考.绵阳市畜牧局. 2005,9(5):17
    [6]任作新.网络化监督与控制系统.国防工业出版社,2007.
    [7]阳宪惠.工业数据通信与控制网络.清华大学出版社.2004.390~395
    [8]北京亚控.组态王6.52使用手册.北京:北京亚控科技发展有限公司,2006.
    [9]夏继强.现场总线工业控制网络技术.北京:北京航空航天大学出版社,2005. 6~9
    [10]于峰.海洋石油平台混配注水实时监控系统设计:[硕士学位论文].青岛:中国海洋大学工程学院,2005
    [11] AdvantechInc.PCL-733User’sManual.AdvantechInc,2007
    [12] AdvantechInc.PCL-813User’sManual.AdvantechInc,2007
    [13]袁秀英.组态控制技术.北京:电子工业出版社,2004
    [14]曾庆波.监控组态软件及其应用技术.哈尔滨:哈尔滨工业大学出版社,2005
    [15]江家宝.“组态王”组态软件及其应用实例.自动化信息. 2007,(11):73~74
    [16]许志彬.组态王软件在隧道监控中的应用.应用天地. 2007,10(7):42~44
    [17]张锡义.组态王在通风机性能试验平台中的应用.实验技术与管理.2007,24(10):99~101
    [18]喻宁娜,莫胜撼.上位机与多个PLC通信的实现.装备制造技术.2007,(6):136~137
    [19]韩祥波.基于组态王及多串口通讯的铁路供水监控系统.微计算机信息. 2007,23(7):52~53
    [20]新智工作室.VB6.0中文版教程.北京:电子工业出版社,2006
    [21]刘燕.基于VB实现的组态王与单片机间通讯.自动化与仪器仪表.2006,(5):91~93
    [22]刘雅俊.欧陆590与组态王的通讯.太钢科技. 2006,(1):56~58
    [23]李传峰.基于MSP430的智能仪表与组态王的通讯设计.微计算机信息.2007,2(33):91~93
    [24]刘雨刚.组态王与Visual Basic在矿井通风主扇监控系统中的应用.煤炭工程. 2006(11):109~111
    [25]陈涛.基于组态王的大型烟机监测诊断系统研究.微计算机信息. 2007,23(3):221~222
    [26]孙明革.基于组态王软件下的SQL数据库技术.微计算机信息.2006,2(23):109~111
    [27]滕柸忠.组态王与SQLServer在凝汽器运行优化中的应用.工业控制计算机. 2006,19(9):40~41
    [28]孙宏林,巫影.组态王的SQL访问功能在某舰船模拟器中的应用.航海工程. 2007,36(4):117~119
    [29]苏元浩.码头电力监控系统的通讯设计与实现.工业控制计算机.2007,20(9):23~24
    [30]童启明.控制系统数字仿真与监控组态软件应用.北京:科学出版社,2006
    [31] Mutsubishi. FXCommunicationsUser’sManual
    [32] Mutsubishi. FX2N-485-BDCommunicationBoardHardwareManual

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

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

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