下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、A PLC programming environment based on a virtual plantSang C. Park & Chang Mok Park & Gi-Nam WangAbstract This paper proposes the architecture of a PLC programming environment that enables a visual verification of PLC programs that integrates a PLC program with a corresponding plant model, so that u
2、sers can intuitively verify the PLC program in a 3D graphic environment. The plant model includes all manufacturing devices of a production system as well as corresponding device programs to perform their tasks in the production system, and a PLC program contains the control logic for the plant mode
3、l. For the implementation of the proposed PLC programming environment, it is essential to develop an efficient methodology to construct a virtual device model as well as a virtual plant model. The proposed PLC programming environment provides an efficient construction method for a plant model based
4、on the DEVS (Discrete Event Systems Specifications) formalism, which supports the specification of discrete event models in a hierarchical, modular manner. Keywords PLC verification . Plant model . Virtual device model . Virtual factory simulation1 IntroductionGenerally, industrial production lines
5、are dynamic systems whose states change according to the occurrence of variousevents, and thus exhibit the characteristics of a discrete event system. If manufacturers are to remain competitive in a continuously changing marketplace, they must not only continue to improve their products but also str
6、ive to improve production systems continuously 10. Thus, an efficient prototyping environment for production systems is crucial. A modern production line is a highly integrated system composed of automated workstations such as robots with tool-changing capabilities, a hardware handling system and st
7、orage system, and a computer control system that controls the operations of the entire system. The implementation of a production line requires much investment, and decisions at the design stage have to be made very carefully in order to ensure that a highly automated manufacturing system will succe
8、ssfully achieve the intended benefits. Simulation is an essential tool in the design and analysis of complex systems that cannot be easily described by analytical or mathematical models 5, 6. It is useful for calculating utilization statistics, finding bottlenecks, pointing out scheduling errors and
9、 even for creating manufacturing schedules. Traditionally, various simulation languages, including ARENA and Auto- Mod, are used for the simulation of manufacturing systems 14. Those simulation languages have been widely accepted both in industry and in academia; however, they remain as analysis too
10、ls for the rough design stage of a production line, because their simulation models are not realistic enough to be utilized for a detailed design or for implementation purposes. For example, real production lines are usually controlled by PLC (ProgrammableLogic Controller) programs 3, as shown in Fi
11、g. 1, but conventional simulation languages roughly describe the control logic with independent entity flows (job flows) between processes.Fig. 1 Production system controlled by a PLC programFor a detailed design (virtual prototyping) of a production line, it is necessary to create a much more detai
12、led simulation model that can forecast not only the production capability of the system but also the physical validity and efficiency of co-working machines and control programs. As shown in Fig. 1, various machines that operate simultaneously in an industrial manufacturing system are usually contro
13、lled by PLCs, currently the most suitable and widely employed industrial control technology 14. A PLC (Programmable Logic Controller) emulates the behavior of an electric ladder diagram. As they are sequential machines, to emulate the workings of parallel circuits that respond instantaneously, PLCs
14、use an input/ output image table and a scanning cycle. When a program is being run in a PLC, it is continuously executing a scanning cycle. The program scan solves the Boolean logic related to the information in the input table with that in output and internal relay tables. In addition, the informat
15、ion in the output and internal relay tables is updated during the program scan. In a PLC, this Boolean logic is typically represented using a graphical language known as a ladder diagram 3. Previous approaches on PLC programs can be categorized into two groups; (1) Verification of a given PLC progra
16、m 18, 19, and (2) Generation of a dependable PLC program 1517. In the first group, various software tools have been developed for the verification of PLCbased systems via the use of timed automata, such asUPPAAL2k, KRONOS, Supremica and HyTech, mainly for programs written in a statement list languag
17、e also termed Boolean 2. These software tools verify PLC programs to a certain extent; however, they remain limited. Since they are mainly focusing on the checking of theoretical attributes (safety, liveness, and reachability), it is not easy for users to determine whether the PLC programs actually
18、achieve the intended control objectives. In the second group, many researchers have focused on the automatic generation of PLC programs from various formalisms including state diagrams, Petri nets and IDEF0. These formalisms can help the design process of control logics, however, it is still difficu
19、lt to find hidden errors, which are the most difficult part of the verification of a control program. To cope with the problem, we need a more transparent PLC programming environment helping users to recognize hidden errors. The objective of this paper is to propose the architecture of a PLC program
20、ming environment that enables the visual validation of a PLC program. The proposed PLC programming environment employs a virtual plant model consisting of virtual devices, so that users can easily verify the PLC program. The overall structure of the paper is as follows. Section 2 illustrates the arc
21、hitecture of the proposed PLC programming environment, while Section 3 describes an efficient construction methodology for a plant model, which can be synchronized with a PLC program. Section 4 shows an example and illustrations. Finally, concluding remarks are given in Section 5. 2 Visual validatio
22、n of PLC programs To design the architecture of the PLC programming environment, it is important to understand the basic procedure used to construct a PLC program (ladder diagram). Chuang et al. 1 proposed a procedure for the development of an industrial automated production system that consists of
23、nine steps. They are: (1) Define the process to be controlled; (2) Make a sketch of the process operation; (3) Create a written sequence listing of the process step by step; (4) On the sketch, add the sensors needed to carry out the control sequence; (5) Add the manual controls needed for the proces
24、s-setup or for operational checks; (6) Consider the safety of the operating personnel and make additions and adjustments as needed; (7) Add the master stop switches required for a safe shutdown; (8) Create a ladder logic diagram that will be used as a basis for the PLC program; and (9) Consider the
25、possible points where the process-sequence may go astray. The most time-consuming task for the control logic designers is the 8-th step, which is usually done by the repetitive method of Code writing, testing and debugging until the control objectives are achieved 2. The bottleneck of the 8-th step
26、is that the conventional PLC programming environments are not especially intuitive, particularly for the testing and debugging of a PLC program, as they showonly the status of a PLC without providing any links to the target system (production line). For the validation of a PLC program, engineers nee
27、d to imagine the state changes of a production line from the input and output ports of a PLC. That is the reason conventional PLC programming environments are often inefficient and prone to human error. As the configurations of production lines and their control programs become more complicated, the
28、re is a strong need for a more intuitive PLC programming environment. It is hoped that this paper will take positive steps in this direction. Figure 2 shows the architecture of the proposed PLC programming environment. It consists of two layers, a model layer and an application layer. The model layer has three m
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 农村低保测试题目及详细答案
- 2025-2026学年昭通市永善县三下数学期中统考模拟试题(含答案)
- 2025-2026学年成都市青白江区数学四下期末监测试题含答案
- 气道管理单选题附答案
- 人货电梯试题和答案全解析
- 入院病人宣教知识测验题目及答案
- 2025-2026学年山西省大同市四年级数学第二学期期中达标测试试题含答案
- 企业保洁考试题目及详细答案
- 祁阳小升初试题集及答案分享
- 社会生单招历年试题及答案呈现
- 2026年秋季新教材统编版九年级上册道德与法治全册知识点背诵提纲精简版
- 2026建信养老金管理有限责任公司校园招聘9人笔试备考题库及答案解析
- 科技成果转化:新质生产力的路径
- 中级经济师人力资源试题及答案
- GB/T 45355-2025无压埋地排污、排水用聚乙烯(PE)管道系统
- 新婚培训知识课件
- DB52∕T 1633-2021 山地风电场风机微观选址技术规程
- 露天矿山作业安全操作规程
- 《无粘结钢绞线体外预应力束》(JT∕T 853-2013)
- 第四章煤的结构
- 第七章 人员配备
评论
0/150
提交评论