Compilation Technology for Control Program Based on Event Graph Method
- Author
- LiZuoLun
- Advisor
- ZhongChongQuan
- School
- Dalian University of Technology
- Major
- Control Theory and Control Engineering
- Classification
- TP314 Compiler,interpreter
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 10
- Citations
- 0
Abstract
Programmable Logic Controller (PLC) is the basic unit of Distributed Control Systems (DCS). In recent years, as the development of computer science, communication technology and control technology, DCS have been widely used. At present, the configuration software can only be used for single PLC programming, so it is inconvenient to design and analyze control programs with the various dispersing of PLC logic. Therefore, programming for DCS without specific devices in an unified way has great development value and application prospect.A compilation approach based on event graph is proposed referring to the dependencies among variables for FBD programs. The programs of the controlling network are mapped to Discrete Event Systems(DES). Variable transitions and instruction executions are mapped to events and scheduling activities. Create an Event Graph model for control programs according to the relationship between variables and connections. This model describes the interactions between input variables, internal variables and output variables. It put forward a new event graph traversal rule based on Depth First Search(DFS). This rule can analyze the dependencies of control programs and extract instruction sequences which don’t have coupling relationships.According to the principle of minimum communication time and load balancing, instruction sequences are assigned to different devices based on the types of I/O variables while control programs are downloaded accurately. Through analyzing the topology of DCS, the communication paths and communication instructions can be got. Then variables in different devices can be refreshed automatically.A configuration software named DConfig is developed with Visual Studio2005. It can program for DCS in an unified way. Building monitoring system is designed as an example to verify the effect of the compilation approach. The result shows that instructions can be downloaded to corresponding devices and I/O variables are refreshed automatically while the control logic is correct. The compilation approach can solve the contradiction between unified programming and distributed downloading and be applied to network-oriented programming.
Table of contents
Summary 4-5
Abstract 5-9
1 Introduction 9-14
1.1 research background 9-10 <br / > 1.1.1 Status control system Analysis 9-10
1.1.2 discrete Event System value 1.2 Status domestic and foreign research 10
10-11
1.3 research significance 11-12
1.4 content papers and chapters arrangements 12-14
2 control program modeled 14-29 <br / > 2.1 Introduction control program 14-17
2.1.1 programming language 14-15
2.1.2 control program consisting 15
2.1.3 control program execution characteristics 15-16
2.1.4 compiler control program targets 16-17
2.2 control program Analysis 17-21
2.2. a split function block network 17-20
2.2.2 vector control program , said 20-21
2.3 event function block diagram mapping 21-24
2.3.1 discrete event systems concepts 21-22
2.3.2 Introduction event graph 22
2.3.3 mapping between 22-24
2.4 to create an event graph model 24-26
2.5 model storage structure 26-28
2.6 Summary 28-29
3 event graph model to analyze 29-37
3.1 event graph node classification 29-30
3.2 event graph traversal algorithm 30-34
3.2. an improved DFS algorithm 31-33
3.2.2 traversal process 33-34
3.3 event tree optimization grouping 34-36
3.4 of this chapter Summary 36-37
4 dispersed download 37-50
4.1 device communication channels 37-40
4.1.1 device network level 38
4.1.2 direct communication channel 38-39
4.1.3 indirect communication channels 39-40
4.2 control instructions to download 40 - 45
4.2.1 I / O unrelated instructions to download 41-43
4.2.2 I / O -related instructions to download 43-45
4.3 remote refresh command to download 45-49
4.3.1 controller scan cycle 45-46
4.3.2 refresh command input variables download 46-47
4.3. 3 output variables refresh command to download 47-49
4.4 Summary 49-50
5 compile software development 50-66
5.1 compiler software overall architecture 50-52
5.2 project management to achieve 52-53
5.2.1 document management 52-53
5.2.2 network topology management 53
5.3 editing functions to achieve 53-55
5.3.1 program editor 53-54
5.3.2 program Manager 54 - 55
5.4 compiler function realization 55-59
5.4.1 precompiled 55-56
5.4.2 compiler oriented network 56-57
5.4.3 I / O variable remote refresh 57-59
5.5 real-time data exchange platform 59-60
5.6 application Examples 60-65
5.6.1 building integrated monitoring system 60-62
5.6.2 programming and modeling examples 62-64
5.6.3 Download dispersion effect 64-65
5.7 Summary 65-66
conclusion 66-67
References 67-70
master's degree published during the academic situation 70-71
Thanks 71-72
Related dissertations
- Research on the Performance Evaluation of ERP System Implementation of A Electric Power Company
- FCA-based E-Government System Modeling and Prototyping System Implementation
- Design and Evaluation of Physical Model in Short Track Speed Skating Technical and Tactical Simulation System
- Designing and Implementing for Guizhou Huaxi Guest House Information Management System
- Study on Modeling and Control Strategy for Distributed Generation Based Micro-grid System
- Modeling and Parameter Identification for Supercritical Steam Turbine and Governor
- Research on the Method of Navigation and Positioning for AUV Based on Feature Extraction
- Research on March Control Technology of Self-balancing Two-wheeled Electrical Vehicle
- Study on Simulation and Optimization for Production Line of Vehicle Maintenance and Workshop Modeling
- L1Adaptive Control for Hypersonic Vehicle in Near Space
- Design and Research of3/2High-Speed Pneumatic On/Off Valve
- The Research on Evaluation and Modeling of Production Logistics of Cigarette Factories
- Load Analysis of Walking Beam Pump and PMSM Motoring/Generating Dual-mode Driven Technique
- Stability Analysis and H_∞Control of Periodic Networked Control Systems
- Study on the Performance Evaluation System of Commercial Bank"A"Based on Balanced Scorecard
- Study on State Prediction of Networked Control System with Delay
- Research and Design of Networked Control Systems
- Aerospace Cyber-physicai Systems Analysis and Design Methods
- Symbolic Calculation of Model Based Diagnosis in Discrete Event System
- Based on the Flexsim Hall of Jilin Province Trafifc Materials Supply Station Logistics Warehousing System Research