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
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
- Research of Key Technology of Industrial Robots on ePLC
- Research on Dependability Assurance for Internetware
- Analysis Based on Petri Nets and Automatic Implementation of Sdn-Oriented Protocol Heartbeat Mechanism
- Parallel Compile Analysis of Ladder Diagram and It’s Implementation on FPGA Platform
- Multi-Objective Optimization of Job Shop Scheduling and System-Developing under Hybrid Genetic Algorithm
- The Research of Converting Ladder Diagram into VHDL Logic Expression
- Research of Some Key Technology about Train Control System Based on Petri Nets
- The Optimization and Coordination Theory of Petri Nets and Its Applications
- Analysis and Optimization of Production System Processes of Discrete Manufacturers Based on Petri Nets
- Research on Workflow Model Method and Validation Based on Petri Nets
- MIP Based Deadlock Prevention Monitor Design for S~4PR Nets
- The Research of Parallel Current-sharing for Modular High-power DC Power Supply
- Intelligent Community Context Aware Service System Research
- Optimal Design and Scheduling Simulation Study on the Ammunition Transport System
- Research on Petri Nets-based Aircraft Routing and Conflict Control for A-SMGCS
- Research on Modeling Method of Aircraft Assembly Line Based on Petri Nets
- Collaborative Design Process Modeling Technique Based on Petri Net
- Research on Control System for Pillow-style Packing Machine Based on Embedded Soft PLC
- The Research on Evaluation and Modeling of Production Logistics of Cigarette Factories
- Research on Mathematical Model of Hydrogen Absorption Process in NdFeB Hydrogen Decrepitation