A Study on Parallel Dependence Relations Decomposition of Programmable Logic Controller
- Author
- ZhaoYing
- Advisor
- BaoJian
- School
- Hangzhou University of Electronic Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 18
- Citations
- 0
Abstract
Program Logic Controller is started from1969s, by virtue of its high reliability, long life, simpleness, easy to operate and a series of advantages.Which make it popularized in industry control fields.With the improvement of industral control and the scale of software in programmable logic controller expands rapidly, The PLC can’t meet all performance requirements of the actual application. Domestic and foreign scholars have started looking for a better implementation of PLC real time high speed method, which based on the FPGA parallel architecture of high-speed programmable controller.This research has become the hotspot in the field of industrial control. This paper established dependence relations among the rungs from the data and control aspects. And proposed a method of decomposing dependence relations,then used FPGA to implement high speed PLC.The work of this paper mainly includes the following aspects.Based on analysis of the way of work about traditional PLC, we proposed the whole design scheme of FPGA-based PLC, including hardware platform, software flow, LD-VHDL conversion and kinds of key technologies.Analyzed the language of LD, divide the dependences between rungs, and proposed the parallel dependency decomposition algorithm, to determine the parallel execution level, finally realized the concurrent execution of PLC programs. The method can effectively excavate the parallelism of LD, set up concurrent model, and resolve the problem of parallel compiler of PLC in the world. Finally builded the FPGA parallel architecture for programmable controller compiling method and theory.Builded the middle converted form (logic expression) between LD and VHDL, because logic expression is fitted to IEC61131-3standard and liable to be translated the target code. Meanwhile given the corresponding transform algorithm and examples, also given the transformation algorithms and exams of the Boolean, timer/counter and function block instruction logic expressions.Implemented the machnaism of the way of cycle scan execute, I/O mapping shield in PLC on FPGA.Constructed the FSM model to simulate the work way of PLC,and used changed control signal to strike the conversion of states,then achieved the scan way of implementing.Come up with the automatic generation algorithms from LD to VHDL.The LD instructions including Boolean logic, timer, counter, function. In order to prove the validity of PLC performance and control logic based FPGA, given the experiments of the printed stereogram texture of hard cutting. Finally give the compared results of implementation between FPGA-based PLC and traditional PLC. Realize the concurrently execute of rungs on FPGA.At present, traditional PLC has been well established. PLC parallel compilation system in this paper is just a beginning in the experimental platform. This paper will give a helpful theoretical exploration and try for getting mature products and the development of next-generation parallel PLC.
Table of contents
Summary 5-7
ABSTRACT 7-11
first chapter development and main applications 11-20
1.1 PLC 's 11-13
1.1.1 PLC development history 11-12
trends 1.1.2 PLC 's 12-13
1.1.3 PLC applications 13
Research Status 1.2 dependency analysis technology 13-14
1.3 high-speed parallel research status of the PLC 14-15
1.4 parallel PLC 's related technology 15-19
1.4.1 PLC technical Overview 15-16
1.4.2 parallelizing compiler technology overview 16-17
1.4. 3 FPGA technology and VHDL Language Overview 17-19
research article 1.5 19-20
Chapter II FPGA parallel architecture PLC overall design 20 -26
nbsp 2.1 FPGA -based programmable controller development environment ; 20-22
parallel dependencies between 2.2 PLC cascade realization 22-23
2.3 ladder to VHDL compiler implementations 23-25 ??
2.3.1 ladder to convert logical expressions 23-24
2.3.2 logical expressions to VHDL conversion and generating 24-25
2.4 Summary 25-26
Chapter III ladder to convert logical expressions 26-38
3.1 IEC61131 -3 ladder language 26-29
3.1.1 IEC61131-3 standard 26-27
3.1.2 ladder Profile 27-29 <br / > 3.2 ladder diagram to AOV conversion 29-31
3.2.1 Figure concepts abstract 29-30
3.2.2 ladder to AOV graph represents conversion 30-31
3.3 AOV plans to the logical expression generate 31-37
3.3.1 Boolean instructions logical expression 32-33
3.3.2 Timing command generates logical expression generate 33-34
3.3.3 timer instruction logic expressions 34-35
3.3.4 features instruction logic expression type of generation 35-37
3.4 Summary 37-38
Chapter ladder parallel build dependencies and decomposition 38-47
4.1 basic Concepts 38
4.2 ladder dependent model 38-44
4.2.1 data dependence 39
4.2.2 data dependencies decomposition 39-41
4.2.3 control dependency decomposition 41-44
4.3 level parallelism ladder rung determine 44-45
4.3.1 dependent decomposition algorithm in Figure 44-45
4.3.2 examples of decomposition resolve 45
4.4 Summary 45-47
Chapter of parallel PLC VHDL code to achieve the target of 47-58
5.1 FPGA realization ladder string and structure VHDL 47-48
5.2 PLC cycle work to achieve 48 - 50
5.3 VHDL logic expressions to convert 50-57
5.3.1 Boolean expressions to VHDL conversion 50-51
5.3.2 Timing VHDL logic expressions to convert 51-54
5.3.3 counter logic expressions into VHDL conversion 54-56
5.3.4 features the logical expression to VHDL conversion 56-57
5.4 VHDL hardware logic circuit generates the equivalent 57
5.5 Summary 57-58
Chapter VI FPGA implementation PLC parallel control system functional test 58-67
6.1 PLC die cutting control program instance 58-61
6.2 results 61-64
6.2. an editing and generation interface 61-63
6.2.2 simulation results 63-64
6.3 traditional PLC and PLC -based performance comparison nbsp FPGA 's ; 64-65
6.4 summary 65-67
Chapter VII Conclusion and outlook 67-69
7.1 summary 67
7.2 Prospects 67-69
Thanks 69-70
References 70-74
Appendix 74-75
detailed summary 75-78
Related dissertations
- Key Technology Research of High-performance Programmable Logic Controller Based on FPGA
- Research on Dependence Analysis and Software Testing
- The Research of Coding and Resolving of PLC LD Based on Standard IEC61131-3
- Reseach and Design of Automated Production Line of the New Prefabricated Exhaust for Residential Ketchen
- Development of Automated Production Line Teaching Experiment Platform Based on Profibus
- Development and Application about Data Management System of PVC Glove Production Line
- Based on PLC Street-lamps Romote Monitoring System Research and Implementation
- The Development and Research of an Intelligent Sewage Trestment System Based on Cast Craft
- Monitoring System of Motion Position Platform Design Based on Wincc
- Design of Monitoring System in Oilfield Metering Station Based on PLC
- The Sewage Treatment Plant of Langfang Development Zone Control System Analysis
- Mine Drainage Automation Monitoring System Design and Implementation
- Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
- Design and implementation of computer monitoring and control system of pumping station based on PLC
- Research and Development of Variable Frequency Speed Regulation Monitoring System for Coal Main Fan
- The Design and Application of Monitoring System for Wet Resin Ingredients Based on DCS
- Design of Monitoring Control System for Three-dimensional Steel Samples Warehouse on KingView
- Research on Tunnel Monitoring System Key Technology
- Automatic Monitoring System for Preparation and Pumping of the Filling Paste
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA