VIRTUAL COMMISSIONING FOR PLC SIMULATION.doc

上传人:文库蛋蛋多 文档编号:3025695 上传时间:2023-03-09 格式:DOC 页数:7 大小:461KB
返回 下载 相关 举报
VIRTUAL COMMISSIONING FOR PLC SIMULATION.doc_第1页
第1页 / 共7页
VIRTUAL COMMISSIONING FOR PLC SIMULATION.doc_第2页
第2页 / 共7页
VIRTUAL COMMISSIONING FOR PLC SIMULATION.doc_第3页
第3页 / 共7页
VIRTUAL COMMISSIONING FOR PLC SIMULATION.doc_第4页
第4页 / 共7页
VIRTUAL COMMISSIONING FOR PLC SIMULATION.doc_第5页
第5页 / 共7页
点击查看更多>>
资源描述

《VIRTUAL COMMISSIONING FOR PLC SIMULATION.doc》由会员分享,可在线阅读,更多相关《VIRTUAL COMMISSIONING FOR PLC SIMULATION.doc(7页珍藏版)》请在三一办公上搜索。

1、VIRTUAL COMMISSIONING FOR PLC SIMULATIONMinsuk Ko, Dae Soon Chang, and Sang C. Park Ajou University Department of Industrial EngineeringSan 5, Woncheon-dong, Yeongtong-gu, KoreaE-mail: sebastianminsukKEYWORDSPLC Simulation, Virtual device model, Virtual commissioning.ABSTRACTIn this paper, a templat

2、e-based modeling methodology is proposed for the effective construction of a virtual plant and it can be used for PLC simulation. As the proposed methodology provides high fidelity modeling power, the virtual plant consists of virtual devices which include sensors and actuators. One of the key ideas

3、 of the proposed methodology is to provide a virtual device template model and this is separated into two parts, a physical model and a logical behavior model. When both the physical and the logical models are defined, we can simply define a virtual device model by combining the two sub-models. The

4、proposed template model approach provides two major benefits: (1) Significant reduction in the time and efforts for the construction of a virtual plant, and (2) Reduction in the stabilization time of a production system through PLC simulation.INTRODUCTIONNowadays, product life cycles are reduced in

5、the constantly changing marketplace. Therefore, modern manufacturing systems must possess sufficient responsiveness to adapt their behaviors efficiently to a wide range of circumstances. Recently, in order to respond to these demands, including high productivity and production flexibility, the use o

6、f the concept of a virtual commissioning (VC) has been widely accepted (Pellicciari 2009). In the past, VC was applied to small size (cell) manufacturing system. However, due to the recent development in computer technology, it is possible to apply VC technology (VCT) to a huge manufacturing system

7、(line, factory). As a part of this revolution, offline programming for robots and verification of control program (Hibnio 2006) along with the virtual device models have emerged in various industries. Figure 1 shows the procedure to build a production system which is based on a concurrent engineerin

8、g approach. This has two major design activities: mechanical design and electrical design. The mechanical design phase produces a physical model which includes the hardware configurations of a production system whereas the electrical design phase describes the control program of the system. Usually,

9、 electrical design involves programmable logical controllers (PLCs), because PLCs are currently the basic and universal tool for the automation of manufacturing processes. Traditionally, the development of the PLC (Programmable Logical Controller) controlled applications, mechanical design and elect

10、rical design have been performed sequentially (Hibnio 2006) and partly on-line. So, the control engineer has to wait with the programming, verification and optimization of the control code until the mechanical engineer has completed his or her work (Fray 2000). It is an inefficient manufacturing pro

11、cess and it delays time required for the product to reach market. So, many manufacturing companies adopt a more attractive method to do this in a concurrent engineering approach and totally off-line and here, both the mechanical and the control engineers work simultaneously. Moreover, a simulation b

12、ased on the VCT has been considered as an essential tool in the design and analysis of the complex system which cannot be easily described by analytical or mathematical models (Hoffman 2010). As the implementation of a manufacturing line requires heavy investment, many companies apply VC simulation

13、to the production system design in order to ensure that a highly automated manufacturing system will successfully achieve the intended benefits. Figure 1. A framework for control level simulationThis demand has resulted in the concept of PLC simulation. PLC simulation can be described as a model tha

14、t executes digital manufacturing processes within a computer simulation (Hibnio 2006). In order to verify the mechanical and electrical designs of the production system, it provides a realistic effect as a test run for the production system. This is done, by using the 3D graphic model which appears

15、to be the same as a real shop floor, and the logical model that drives a PLC in a real factory.The objective of this paper is to develop an efficient method for the construction of models for PLC simulation in an automotive manufacturing system. The proposed model construct method employs a template

16、 model which consists of the physical model and the logical behavior model. The overall structure of the paper is as follows. Section 2 illustrates the architecture of the proposed template-based modeling methodology. Section 3 describes an efficient construction methodology for a template model whi

17、ch can be synchronized with a control program. Finally, concluding remarks are given in Section 4.APPROACH FOR TEMPLATE-BASED MODELING METHODOLOGY FOR PLC SIMULATION As PLC programs contain only the control information, without device models, it is necessary to build a corresponding virtual plant mo

18、del (a set of virtual device models) to perform simulation. However, construction of a virtual device model for the physical model and the logical model alike requires an excessive amount of time and effort, as we cannot use both the models directly for PLC simulation due to some limitations. Someti

19、mes, the virtual device model construction requires more time compared to PLC programming. This serves as the motivation for exploring the possibility of finding out a template-based modeling methodology for building a virtual device model. In order to apply the virtual device model to the PLC simul

20、ation that is connected with the shop floor environment, we have to progress sequentially through the some procedures as follow; After the construction of the simulation environment using virtual device models and layout, users have to progress sequentially to Manual mode simulation and Automatic mo

21、de simulation.Figure 2. Various components belonging to a virtual device modelIn this PLC simulation environment in order to achieve control level verification, the virtual device model has to represent behaviors of the device that of actual system. However, users have to invest much time and effort

22、 in the construction of a virtual device model that is suitable for the control level environment. This is shown in Figure 2. It is necessary to add virtual sensors and correct motions to achieve the intended control objectives for each task in the physical model. Furthermore, the most time-consumin

23、g task is the development of the logical model for analyzing device behaviors based on the process information. This is due to the process design information which contains only the process sequence of the production system and not the control level information, the level of sensor and actuator. The

24、refore, in order to define the logical model of a device as a DEVS(Discrete Event System Specification) model, users have to analyze the device behavior specifically according to the signals that are in a control program. As the logical model has high modeling DOF (Degree Of Freedom), users have to

25、consider on how to determine the set of DEVS components for the representation of the device behaviors.When both the models are determined suitable for simulation, they have to be connected with one another. The output of this step is usually the virtual device model and this becomes a practical gui

26、deline for simulation. Obviously, manufacturer can greatly benefit from PLC simulation by using the virtual device model, but there are still various difficulties that complicate the full utilization of the virtual device model. One of the main obstacles to build a logical model comes from understan

27、ding the device behaviors which are set of tasks that are assigned to the device. As a logical model interacts with a virtual factory which may consist of hundreds of machines and products, it is difficult to find out a modeling error of the designed logical model, and physical model during simulati

28、on. Sometimes, finding out modeling errors of the virtual device model becomes a bottleneck in the simulation time delay. Therefore before simulation, it is necessary to verify both the logical model and the physical model. In order to cope up with this problem, we apply the template-based modeling

29、approach to build a virtual device model of the PLC simulation. As mentioned earlier, the separation of the mechanical and electrical parts of a virtual device enables concurrent engineering of the mechanical and electrical designs of a virtual device model. Figure 3 shows the detailed construction

30、procedure of a virtual device by using template model. The template model consists of two steps, adjustment step and application step. In the adjustment step, it is necessary to prepare a solid model with motions that are obtained from the mechanical design and a task which is assigned to the device

31、. During this, as we can select a proper template model based on the identified task and the geometric model, efficient adjustment of both the models is possible. Once the template model is identified, a virtual device model can be simply obtained by combining the physical model and the logical mode

32、l in the application step. Figure 3. Proposed procedure to construct a virtual device model for PLC.TEMPLATE MODEL OF THE VIRTUAL DEVICE The objective of this paper is to propose the template model which is able to provide a practical guideline for the construction of a virtual device model for PLC

33、simulation. As mentioned above, the logical model of the proposed template model is based on the Zeiglers DEVS formalism. In DEVS formalism, one must specify two types of sub-models, atomic model and coupled model (Kim 1994). In the original DEVS formalism, the atomic model is similar to the Timed-F

34、SA (Finite State Automata). It is supposed to represent the core logics of the target device. Formally, an atomic model M is specified by a 7-tuple:X: input events set; S: sequential states set; Y: output events set;: SS: internal transition function;: Q* XS: external transition functionQ = (s,e)| s

35、 S, 0 e(s): total state of M;: SY: output function; : SReal: time advance function.In order to construct a template model of the virtual device, we extracted five major control components from the PLC program and this is shown in Figure 4. PLC program starts with an external precondition which has t

36、o be satisfied by other components. Moreover to progress this condition, it is necessary to satisfy the error conditions that are caused by other devices, process sequence, HMI signals, and product code. After checking the external precondition, the PLC program checks the self-condition of the devic

37、e, the internal precondition. These preconditions role is to check whether the device is located at the proper state for the execution of the task or not. Once these conditions are satisfied then, the device executes the target task. It is possible to separate device output types whether a device is

38、 controlled by PLC or own controller. As mentioned before, an automated device in the production system usually executes an output signal for the task through the PLC. On the other hand, if the device is like a robot then, is controlled by its own controller and a task can be executed by calling a p

39、rogram. The output of the task is usually verified with a sensor, timer, or a signal which indicates that the task is complete. As the proposed template model contains these components in the logical model, and physical model, the modeling errors can be avoided elegantly.Figure 4. Components of PLC

40、programFigure 5. Template model of the virtual device model of an AGVBy using the proposed template model, the virtual device model can be constructed as follows.1) Identify a set of tasks in the device, and confirm the PLC output symbols to trigger those tasks. After this, identify a set of input s

41、ignals whose role is to indicate the state of the device that is based on internal precondition. By using this information, determine a set of states of the device including an initial state.2) Identify int, ext to connect the device states sequentially.3) Identify the required virtual sensors to mo

42、nitor device states, and to make pairs between a sensor and X (or Y). Then, determine the output function () at the int, and connect it with the required virtual sensor.4) Connect a motion in the physical model with a state, and by considering motion time, determine ta.5) Connect signals in the exte

43、rnal precondition with HMI, and test a virtual device model with the PLC program.Figure 5 shows a simple template model by using a sample of an AGV (Automatic Guided Vehicle) with two tasks, M1 (movement from p1 to p2) and M2 (movement from p2 to p1). The two tasks should be triggered by external ev

44、ents, O_X1 and O_X2. When the user selects this template model, it is possible to automatically instantiate the logical model. Moreover, the physical model is instantiated from the predefined physical model which has two motions M1, M2, and also two position sensors S1, S2. The functional relationsh

45、ips will be automatically defined between DEVS components of the logical model and the physical activities in the physical model. This is shown in Figure 3. By using this template model, users can intuitively understand both the logical and the physical aspects of the device. The logical model of th

46、e virtual device corresponds to the AGV and it can be described as follows:M = X: X1, X2; S: S_P1*, M_P1_P1, S_P2, M_P2_P1 Y: Y1, Y2; int (M_P1_P2 ) = S_P2; int (M_P2_P1) = S_P1 ext (S_P1, X1 ) = M_P1_P2; ext (S_P2, X2) = M_P2_P1 (M_P1_P2) = Y1; (M_P2_P1) = Y2 ta(M_P1_P2)=T1 ; ta(M_P2_P1)= T2As ment

47、ioned above, this simple template model contains the major components of the PLC program. As S1, S2 have a role for sensing the AGV position, the preconditions of the AGV can be verified. Moreover, the time to travel between P1 and P2 can be used for the verification of the AGV motion verification.

48、If the time can not satisfied with the purpose of the motion then, the position of the sensors or motion properties has to be readjusted. Finally, the external functions have to be verified with the sensors before sending an external signal. I_P1, verifies to find out whether a task is complete or n

49、ot. In order to export I_P1, it is necessary to satisfy S1 and Y1 simultaneously. When the simulation has to be initialized by the process reset signal, the virtual model set up with the initial position (P1) and the initial state (S_P1).ACKNOWLEDGMENTS This work was supported by the Defense Acquisition Program Administration under the Contrac

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 教育教学 > 成人教育


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号