WMBPS系统软件设计及测试策略研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
WMBPS系统是钢管测长、称重、涂色环、打标、喷标系统,它由相应的五个工位组成,每个工位负责不同的功能。本论文围绕天津钢管有限公司的WMBPS系统改造,提出了工业控制软件设计方法。并提出了一种基于C语言的状态转移图(SFC),用来描述系统的控制流程。论文还探讨了控制软件的测试技术。在硬件条件无法满足测试的情况下,采用软件仿真模拟来代替各种硬件进行系统测试,并在实践中取得了成功。
     第一章介绍改造项目的来源,提出了原系统的不足,解释了改造的必要性。
     第二章介绍了WMBPS系统各个工位的硬件组成和工作原理,并进行了电气和相关软件的总体设计。
     第三章提出了基于C语言的状态转移图。通过C语言和状态转移图的结合,普通的状态转移图就具有了C语言简练、灵活的特点,各种复杂的控制系统的描述就变得相对的简单。本章以这种新的状态转移图为基础,详细设计了PLC的程序流程。
     第四章详细设计了上位机监控软件。上位机监控软件总共有三个程序组成,它们是WINCC程序、控制程序和数据库程序,本章论述了西门子WINCC组态软件的优缺点,分析了上位机软件多程序工作的必要性,并设计了各个程序以及它们之间的的接口。
     第五章提出了软件的测试方法,并设计了三个相关的测试程序。一个是共享内存监控程序,用来监视上位机软件各程序的相关数据及接口;另一个是上位机模拟程序,用来模拟PLC程序的运行,以协助上位机软件系统的联合调试;最后一个是PLC仿真程序,用来调试PLC的源程序。本章最后给出了测试的经验总结。
     第六章主要介绍现场调试过程中遇到的一些问题,以及解决各种问题所用的方法。最后介绍了调试完成后系统的性能。
     第七章对本次改造所做的工作进行总结,归纳出改造成功的因素。
WMBPS system is used in steel tube's length measure, weight measure , color band, pin stamp and character stencil. Based on WMBPS system reconstruction in steel company,Tian Jiang. ,this paper bring forward a design method of software used in industry control. By use of a kind of flow chart, we can easily and clearly describe many complexed control system, this paper also probe into testing technique of industry control software, when hardware can't meet the need of test, we can refer to software simulate, the following is the main content of this dissertation.
    in chapter one , this dissertation introduce the WMBPS system reconstruction and explain the necessity of WMBPS system reconstruction.
    in chapter two, hardware components and it's respective theory in WMBPS system is introduced in detail , this chapter also make out the whole design of the software.
    in chapter three , A kind of flow chart which is called C-Based-SFC is introduced in detail, this kind of flow chart which combine C language with SFC flow chart is of great flexibility and usefulness and can be used in many complicated system. PLC software used in WMBPS system also adopt this kind of flow chart.
    in chapter four, supervising software in Industry PC is designed, software in PC is composed of three program, they are WINCC software, Control Software and Database software. By the way of pointing out the excellence and shortcoming of WINCC, this chapter explain why we select cooperation of multi-program, at last, the interaction of multi-program is also introduced.
    in chapter five, three testing program are designed . the first program called Share Memory monitor can be used to view and edit the data and the interface of WMBPS software. The second program which simulate the PLC program is useful in debugging WMBPS software, the third is useful in debugging PLC program, some debugging experience is also given in this chapter.
    in chapter six, some problem met in locale's debugging process and it's respective solution is introduced, the performance of the system when applied in practice is also in this chapter.
    in chapter seven, the work in this dissertation is summed up, this chapter point out the factor which lead to success of the WMBPS system reconstruction.
引文
[1] 黄锡滋,软件可靠性、安全性与质量保证,电子工业出版社,2002
    [2] 郑人杰,软件工程概论,清华大学出版社,1999
    [3] 马有仁,软件工程与质量分析,电子工业出版社,1987
    [4] 谢克明 夏路易,可编程控制器原理与编程设计,电子工业出版社,2002
    [5] 王恒生,李丹峰,龙迎春。PLC的SFC程序设计法。机电工程,2002,17(11)
    [6] 夏幸明。可编程控制器计数及应用。北京:北京理工大学出版社,2001
    [7] 王也仿。可编程控制器应用技术。北京:机械工业出版社,2001
    [8] 三菱公司。三菱FX2N系列PLC编程手册。
    [9] 郑瑜平。可编程控制器,北京:北京航天航空大学出版社,2000
    [10] 齐治昌 谭庆平 宁洪,软件工程,高等教育出版社,2002
    [11] 职工培训系列教材,管加工工艺及设备,天津无缝钢管总厂培训中心
    [12] Visual C++ 6从入门到精通,[美]Michael J.Yong著,邱仲潘等译,电子工业出版社,1999
    [13] 谟浩强,C程序设计,清华大学出版社,1988
    [14] 王选,软件设计方法。北京:清华大学出版社,1992
    [15] 郝克刚。软件设计研究。西安:西北大学出版社,1992
    [16] 史济民,软件工程—原理、方法与应用。北京:高等教育出版社。1990
    [17] 计算机软件工程规范国家标准汇编。北京:中国标准出版社,1992
    [18] 张海藩。软件工程导论。北京:清华大学出版社,1987
    [19] 李军,一种面向PLC的通用控制程序开发平台CADEPA,机电工程,1999,Vol.16 No 1。
    [20] IEEE, Standard Glossary of Software Engineeringt Trerminology,IEEE,1983
    [21] Marco,kA.and Buxton,J.,The Craft of Software Engineering.Addison Wesley, Workengham, 1987.
    [22] H-D.Chu and Dobson,Govement Report,PB97-176671 ,USA, 1997
    [23] Myer.G.J.,Software Reliability Principles and Practices,John Wiley&Sons,New York, 1976
    [24] 何国伟,王纬,软件可靠性,国防工业出版社,1998
    [25] 何新贵、王纬,软件成熟度模型(CSCMM),装备质量,Vol.6,2000.
    [26] 王卫兵,高峻山。可编程控制器原理及应用。北京:机械工业出版社,2002
    [27] 江秀汉,李萍,薄保中。可编程控制器原理及应用。陕西:本安电子科技大学出版社,2000。

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

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

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