Component Based Modeling Method for PLC Control Softwares

Author
WangRui
Advisor
SunJiaGuang
School
Tsinghua University
Major
Computer Science and Technology
Classification
TP273 Automatic control,automatic control system
Degree
Doctoral dissertation
Year
2012
Downloads
123
Citations
0

Request the full text

Abstract

Embedded systems are widely used in many safety critical fields. The correctnessand reliability of embedded systems have significant influence on human safety, socialdevelopment and society steady. It is also an important research topic in computer scienceand automatic control. Formal method is an important way to ensure the correctness andreliability of embedded systems. However, formal method is based on mathematicaltheory and hard to learn. This hinders the applications of formal method in industry.This dissertation investigates the component-based modeling method for PLC soft-ware. Considering the characteristics and practical problems of PLC software, the methodcontains three levels: modeling language, consistency checking and implementation. Themain contributions are summarized as follows:1. The modeling language level provides a domain specific modeling language PLC-BIP. PLC-BIP extends BIP with two aspects. One is domain knowledge expression,and the other is concept annotation. The PLC features, such as cyclic executionmechanism, timer, function call and interruption scheduling are studied and mod-eled as component. It suggests top down general decomposition principles, andbottom up components mapping architecture for PLC systems. It defines the op-erational semantics for IL language, and provides a modeling method for exitingprograms using translation.2. The checking level provides a static checking framework based on domain knowl-edge for the problem that models may violate the potential domain constraints.It provides a formal expression for domain constraints. The constraints checkingproblem is converted to the concept lattice constraints solving problem. The check-ing is automatically executed whiling modeling, and can find errors more earlier.3. The implementation level presents a method for PLC code synthesis based on for-mal models. The method considers the realistic feature of hardware and the real-time and resource constraints. This makes the synthesis method more practical. Itprovides an algorithm of the method and show the synthesis steps by a two-doorcontrol case.4. A modeling prototype for the domain knowledge and component-based modeling method is implemented. It provides a graphic editor, a library for device controldomain and a compiler with the functions of syntax and semantic checking. Italso supports the domain concept annotation and domain constraints checking. Acase study about the modeling methodology for gate control system of LingShanBuddhist Palace in Wuxi is presented. It illustrates the PLC-BIP language providesan easier way for the modeling process by component types and domain operators.The automatic checking method of domain constraints is applied and shows itsefciency.

Table of contents

Summary 3-4 Abstract 4-9 main symbol table 9-10 Chapter 1 Introduction 10-18 1.1 background and significance 10-12 1.2 Research Status 12-14 1.2.1 modeling Language 12-13 <br / > 1.2.2 component-based modeling method 13-14 1.3 research ideas 14-16 1.4 The main work 16-17 1.5 paper structure 17-18 Chapter 2 PLC software component modeling 18-42 2.1 Introduction 18-19 2.2 related research 19-20 2.2.1 PLC software modeling and verification 19-20 2.2.2 modeling Language BIP 20 2.3 PLC construction field mold language 20-26 2.3.1 atomic member 21-22 2.3.2 linkers 22-23 2.3.3 composite components 23 2.3.4 connection operator 23-24 2.3.5 domain component type 24-26 2.4 PLC systems feature modeling 26-31 2.4.1 PLC overall system architecture 27 2.4.2 cycle work modeling 27-28 2.4.3 function call modeling 28-29 2.4.4 timer modeling 29-31 2.4.5 interrupt mechanism modeling 31 2.5 embedded general principles of system decomposition 31-34 2.5.1 software and hardware architecture is divided 32-33 2.5.2 control Software hierarchical decomposition 33 - internal 34 2.5.3 hierarchical decomposition 34 2.5.4 mapping component and system models 34 2.6 software modeling has 34 - 40 2.6.1 common commands 35 2.6.2 instruction semantics 35-38 2.6.3 conversion Rules 38-40 <br / > 2.7 Summary 40-42 Chapter 3 PLC static checking domain knowledge model based 42-55 3.1 Introduction 42-43 <br / > 3.2 Basic theory 43-45 3.2.1 grid 43-45 3.2.2 Fixed Point Theory 45 3.3 an example 45-46 3.4 multi-dimensional characteristics of the system 46-50 3.4.1 domain constraints 46-47 3.4.2 build concept lattice field definitions 47-49 3.4.3 multidimensional characteristics of the system 49-50 3.4.4 constraint functions 50 3.5 contains examine the relationship 50-54 3.5.1 contains relations 50-52 3.5.2 structural constraints 52 3.5.3 inspection methods 52-54 3.6 Summary 54-55 Chapter 4 PLC-based automatic generation of code model 55-74 4.1 Introduction 55-56 <br / > 4.2 background 56-58 4.2.1 time automata 56-57 4.2.2 PLC instruction 57-58 4.3 a PLC example 58-63 4.3.1 double Door control Profile 59 4.3.2 formal modeling and verification 59-63 <br / > 4.4 platform-independent model to a platform model 63-64 4.4.1 cycle 63 4.4.2 input and output ports 63 4.4 .3 memory mapping 63-64 4.4.4 timer 64 4.5 PLC automatic code generation method 64-72 4.5.1 code step generated 64-68 4.5.2 generation algorithm 68 4.5.3 case generated code 68-72 4.6 prototype tool 72-73 4.7 Summary 73-74 Chapter 5 prototype system and application examples analysis 74-96 5.1 Introduction 74 -75 5.2 modeling tool for the design and implementation design principles and needs 75-82 5.2.1 tool 75-76 5.2.2 functional Design 76-77 5.2.3 framework and tools to achieve achieve 77-79 5.2.4 static checking 79-80 5.2.5 graphical interface 80-82 5.3 Wuxi Lingshan Vatican palace warehouse control systems 82-84 5.4 Kadokura system modeling 84-92 <br / > 5.4.1 system Architecture 84-86 5.4.2 software modeling 86-88 5.4.3 environment Modeling 88-91 <br / > 5.4.4 linkers 91 5.4.5 loyalty model 91-92 5.5 model correctness checks 92-93 5.5.1 domain constraint checking 92 5.5.2 simulation model 92-93 5.6 related work comparing 93-95 5.6.1 and BIP language comparison 93-94 5.6.2 comparison with other modeling methods 94-95 5.7 Summary 95-96 6 Chapter summary and Outlook 96-98 6.1 summary 96-97 6.2 Prospect 97-98 References 98 -104 Thanks 104-106 resume, academic papers published during the study and research 106-107

Related dissertations

  1. Research on the Method for Modeling and Analyzing PLC Programs Based on Petri Nets
    ChenXueZuo ·Huaqiao University ·2013 ·Master's thesis
  2. Software PIC Design on Linux Operating System: Integrated Logic Controllers
  3. Research and Application of Knowledge-processing-based Test System
    LiShuang ·Dalian Maritime University ·2012 ·Master's thesis
  4. Study on Approach of ECG Classification with Domain Knowledge
    WangLiPing ·East China Normal University ·2013 ·Doctoral dissertation
  5. The Research on Physical Problem Representation System of Domain Knowledge Learning in Physical Discipline
    ZhengTengPeng ·Guangzhou University ·2012 ·Master's thesis
  6. Development of Intelligent Production System of Low-voltage Appatatus Based on Apparel Rapid Response
  7. Development of Automation Production System of Low-Voltage Used on Motor Vehicle
  8. Research and Development of Reliability Test of Clinching Automotive Metal Sheets
    ChengZhen ·South China University of Technology ·2013 ·Master's thesis
  9. Data Mining Techniques Guided by Domain Knowledge and Its Application in Extracting of Traditional Chinese Pharmacy
  10. Support vector regression machine theory and its industrial applications
    AnWenSen ·University of Science and Technology of China ·2006 ·Doctoral dissertation
  11. Research on Key Technologies for Modeling of Customized Product and Applications in Electrostatic Precipitator Industry
    WangXin ·Zhejiang University ·2006 ·Doctoral dissertation
  12. Research on Domain Knowledge Based Knowledge Discovery
    YangLi ·Institute of Software ·2005 ·Doctoral dissertation
  13. Research and Application on the Methods and Enable Technologies of General Requirement Modeling for Mass Customization
    DaiRuoYi ·Zhejiang University ·2004 ·Doctoral dissertation
  14. Domain Knowledge Mining in Network Environments
    WangPing ·East China Normal University ·2010 ·Doctoral dissertation
  15. Research on Domain Driven Knowledge Discovery Method
    ZhuZhengXiang ·Dalian University of Technology ·2010 ·Doctoral dissertation
  16. Research of Attribute Generalization Towards Classification Based on Domain Knowledge
    ZhouXun ·Hefei University of Technology ·2008 ·Master's thesis
  17. The Research of Bayesian Networks Learning Based on Domain Knowledge
    MoFuQiang ·Hefei University of Technology ·2008 ·Master's thesis
  18. The Study on Incorporating Domain Knowledge into Data Preprocessing
  19. The Improvement on the Facility Process Related Systems
    ZhangYunXiu ·Shanghai Jiaotong University ·2008 ·Master's thesis
  20. Research and Application of Fuzzy-PID Control Base on PLC in the Cut Stem on the Fluid Bed Dryer Control System
    DaiTao ·Chongqing University ·2007 ·Master's thesis