Research on the Method for Modeling and Analyzing PLC Programs Based on Petri Nets

Author
ChenXueZuo
Advisor
LuoJiLiang
School
Huaqiao University
Major
Electrical Engineering
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2013
Downloads
1
Citations
0

Request the full text

Abstract

Programmable logic controllers (PLCs) are significant control devices forautomation in modern discrete processing enterprises. They have been widely used insafe-critical systems, such as railway, nuclear power stations, petrochemical plantsand defense industry. Therefore, it is great important to guarantee the safety andreliability of PLC programs. For the PLC, the correctness of programs is hard to beassured with respect to the reliability of hardware. The conventional development ofPLC programs is that the programs are designed according to the control objectionsand then confirmed by reduplicate debugging. Therefore, the workload is great heavyand the reliability of programs is difficult to be guaranteed. Moreover, along with theincreasing amount of sensors and actuators in the system, the state space is toexplode; this makes it difficult or even impossible to locate all logical mistakes in aladder diagram (LD) program by debugging and detecting item by item. As a result,the cost and cycle of development will rise, and even the human safety will bemenaced.The formal methods fulfill the maintenance and rectification of system fromformal designation and formal verification. The formal designation models a systemby using formal language, improves the model after analyzing its properties based onthe specification what the system should fulfill; this can avoid exhausted testing in theconventional development. The formal verification not only changes the situation thatthe system behaviors which are verified in the conventional testing are limited, butalso improves the efficiency of detection of logic mistakes. Hence, the formal methodis the indispensable way by complementing the conventional testing method.Petri nets (PNs) are emerging as a very promising formal tool to validate andverify LD programs, which are intuitive and have precise mathematic foundation,since they are well applicable to model and analyze PLC systems. In this paper, weintroduce the method which is to translate LDs to PNs and the methods for analyzingand detecting the race of LDs based on the PN models: (1) According to IEC61131-3, an LD is abstracted as a kind of data structurebased on its semantics, and then the corresponding PN model is translatedfrom this data structure.(2) According to the working principle of PLC, the state space of PLC system iscomputed based on the reachable graph of its PN model.(3) Using the state space of a PLC system, the instructions which incur the racecan be detected and located.This paper presents a systematic and comprehensive translating algorithm froman LD program to an ordinary PN, the method for computing the state space of PLCsystem based on reachability graph of PN model and detecting the race in programs.It is possible to simulate the dynamic behavior of LD programs and efficientlyanalyze the properties of programs using the PN theory that is well developed forordinary PNs. The race detection can avoid the loss caused by the race condition andmake an effort to the formal verification of PLC programs.

Related dissertations

  1. Research of Key Technology of Industrial Robots on ePLC
  2. Research on Dependability Assurance for Internetware
    SiGuanNan ·Nankai University ·2012 ·Doctoral dissertation
  3. Analysis Based on Petri Nets and Automatic Implementation of Sdn-Oriented Protocol Heartbeat Mechanism
  4. Parallel Compile Analysis of Ladder Diagram and It’s Implementation on FPGA Platform
  5. Multi-Objective Optimization of Job Shop Scheduling and System-Developing under Hybrid Genetic Algorithm
    GaoYi ·Donghua University ·2014 ·Master's thesis
  6. The Research of Converting Ladder Diagram into VHDL Logic Expression
  7. Research of Some Key Technology about Train Control System Based on Petri Nets
    LiuJianKun ·West China University ·2013 ·Master's thesis
  8. The Optimization and Coordination Theory of Petri Nets and Its Applications
    FangHuan ·Hefei University of Technology ·2013 ·Doctoral dissertation
  9. Analysis and Optimization of Production System Processes of Discrete Manufacturers Based on Petri Nets
  10. Research on Workflow Model Method and Validation Based on Petri Nets
  11. MIP Based Deadlock Prevention Monitor Design for S~4PR Nets
    ZhuDan ·Zhejiang University ·2013 ·Master's thesis
  12. The Research of Parallel Current-sharing for Modular High-power DC Power Supply
    ZhaoLiJuan ·Hebei University of Technology ·2012 ·Master's thesis
  13. Intelligent Community Context Aware Service System Research
  14. Optimal Design and Scheduling Simulation Study on the Ammunition Transport System
    ZhuLinLin ·Harbin Engineering University ·2013 ·Master's thesis
  15. Research on Petri Nets-based Aircraft Routing and Conflict Control for A-SMGCS
  16. Research on Modeling Method of Aircraft Assembly Line Based on Petri Nets
  17. Collaborative Design Process Modeling Technique Based on Petri Net
    LiHaiTao ·University of Jinan ·2013 ·Master's thesis
  18. Research on Control System for Pillow-style Packing Machine Based on Embedded Soft PLC
    ChenLiuYang ·Hubei University of Technology ·2013 ·Master's thesis
  19. The Research on Evaluation and Modeling of Production Logistics of Cigarette Factories
    LuoPeiChun ·Hunan University ·2013 ·Master's thesis
  20. Research on Mathematical Model of Hydrogen Absorption Process in NdFeB Hydrogen Decrepitation