下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年铁路安检岗位履职考核试题及答案
- 2026年高职(会计信息化)财务数据分析综合测试题及答案
- 年生产1400吨金针菇、杏鲍菇等食用菌项目可行性研究报告
- 初中政治中国特色社会主义经济制度知识点梳理考试及答案
- 2026年双重预防机制全真模拟卷及答案
- 2026年输血安全管理知识测试题(含答案)
- 2026年事业单位招聘考试公共基础知识试题库及答案
- 2026年食品安全留样登记试题及答案
- 2026八年级下语文文学常识分析技巧
- 2026年及未来5年市场数据中国重庆轨道交通行业全景评估及投资规划建议报告
- 2026年辅警笔试题库1000道及答案
- 2026春统编版语文 16《田忌赛马》 教学课件
- 2026年北京市西城区高三一模英语试卷(含答案)
- 人工智能辅助下的高中化学个性化实验探究教学研究教学研究课题报告
- 2026年春季学期学校三月校园交通安全工作方案
- 中医穴位贴敷技术规范
- 粮食物流中心项目可行性研究报告
- 跨文化礼仪视域下的语言综合运用-人教版九年级英语Unit10整体教学设计
- 2026年国家公务员行测模拟试题及答案
- 智学网教师培训
- 中央国家卫生健康委妇幼健康中心2025年招聘事业编制工作人员笔试历年参考题库附带答案详解
评论
0/150
提交评论