Virtual Simulation System for Interactive OpenGL-based PLC

Author
ZhangDaiCong
Advisor
LiKaiLing
School
Shandong University
Major
Mechanical Engineering
Classification
TP391.9 Computer simulation
Degree
Master's thesis
Year
2012
Downloads
71
Citations
0

Request the full text

Abstract

The project designs and realizes a virtual simulation system of mechanical automation equipment on the basis of OpenGL and Visual C++6.0. In theory, this system can simulate any automation products controlled by mechanical equipment and PLC, including the operation simulation of the PLC program, motion simulation of the mechanical equipment, and user interaction operation simulation. In addition, the system uses three-dimensional OpenGL technology, making the virtual machinery and equipment real and visible, and enabling to examine the movement of the automation equipment from any direction. During the operational process of the PLC program, the interaction of user is added in order that the problems in the design can be timely discovered before the real products are produced.The main research contents involved:(1) Reconstruction of interactive three-dimensional mechanical model. The research analyzes the features of modeling between the traditional mechanical modeling tools such as UG, PROE, SOLID WORKS and OpenGL. Considering that the mechanical modeling is simple but the interactivity of the established model is poor, and the OpenGL modeling is complex but the interactivity of the model is better, the present research put forward a program realizing interactive3D reconstruction through the combination of a mechanical modeling tools and OpenGL. Using Visual C++6.0and OpenGL to write procedures to complete the3D model file, the experimental results show that:the combination of traditional mechanical modeling tools and OpenGL can create complex models, and realize the interaction with the model.(2) Virtual PLC simulation run and interactive interface. Making a deep study of the PLC working principle, the present research designs and realizes a ladder diagram instruction table emulator. The emulator has intuitive and nice simulation interface. During the process of simulation, the state of the components on the interface update following the simulation results. The simulation algorithm designs directly on the basis of the instruction list, realizing the fast simulation of the ladder diagram. The emulator can operate separating from the hardware PLC, enabling users to see the actual operating results and the movement of machinery and equipment in advance in order to modify the ladder diagram and automation equipment.Through the preliminary debugging, the project testifies the feasibility and effectiveness of this system. The results of this project have positive practical value on the offline simulation of automation equipment, control and monitoring of the large-scale automation equipment, teaching experiments of automation equipment and so on.

Table of contents

Summary 10-11 ABSTRACT 11-13 Chapter 1 Introduction 13-19 1.1 topics background 13-17 1.1.1 development of computer-aided design development 13-15 1.1.2 programmable logic controller (PLC) is 15-17 1.1.3 topics practical and academic significance of the study contents 17 1.2 research topic 17 1.3 Summary 17-19 interactive CAD model in Chapter 2 simulation and virtual PLC basic framework 19-25 2.1 overall theoretical scheme 19-20 2.2 virtual interactive CAD model basic framework 20-22 the basic framework 2.3 virtual PLC system 22-23 2.4 Summary 23-25 ?? Chapter 3 interactive CAD model module 25-45 3.1 MFC-based OpenGL graphics 25-29 3.2 three-dimensional CAD model of the basic operating environment 29-35 3.2.1 translational transform 30 - 31 3.2.2 rotational transform 31 3.2.3 scaling transformation 31-32 3.2.4 build OPENGL based drawing environment 32-35 load 3.3 three-dimensional CAD model 35-42 3.3.1 MS3D three-dimensional format Introduction 35-38 3.3.2 build a model class 38-40 3.3.3 loaded three-dimensional CAD model PLC address 40-42 3.4 CAD model of interactive interface 42-43 3.4.1 interaction three-dimensional CAD model of the basic principles of 42-43 3.4.2 virtual relays and virtual sensors trigger 43 3.5 Summary 43-45 Article Chapter 4 virtual PLC module architecture and working principle 45-69 4.1 PLC 's hardware architecture 45-46 4.1.1 PLC 's 45-46 4.1.2 PLC programming language works 46 4.1.3 PLC 's 46 4.2 PLC instruction sheet simulation run basic theory 46 -54 4.2.1 theoretical algorithm - binary tree algorithm part of the core program 46-49 4.2.2 processing instruction sheet 49-51 4.2.3 feasibility of the algorithm validation 51-54 specific program to run commands 4.3 virtual table read into the address 54-63 4.3.1 instruction table extraction 54-57 4.3.2 instruction sheet simulation run 57-62 4.3.3 instruction sheet simulation run results 62-63 4.4 by the instruction sheet generate ladder 63-66 4.4.1 Introduction ladder 63-64 4.4.2 ladder drawing 64 4.4.3 instruction sheet turn ladder specific implementation procedures 64-66 4.4.4 ladder instruction sheet transformation effect 66 4.5 Summary 66-69 <br / > Chapter 5 examples - assembly line table import 69-75 5.1 assembly line workbench 69-71 5.2 assembly lines Introduction 71 -73 5.2.1 assembly line control platform About addresses assigned 71 5.2.2 workbench assembly lines and PLC ladder , instruction list 71-73 <br / > virtual assembly lines running 5.3 workbench 73-74 5.4 Summary 74-75 conclusion 75-77 references 77-81 study published during the dissertation 81-83 Thanks 83-84 dissertation defense review and table 84

Related dissertations

  1. Multi-level Environment Representation and Path Planning in Virtual Reality
    ZhaoYingShen ·Harbin Institute of Technology ·2013 ·Master's thesis
  2. Key Technologies of Simulation System for Hip Arthroplasty Based on Virtual Reality
    WuHang ·Harbin Engineering University ·2013 ·Master's thesis
  3. Study on Orbit Flight and Operation Virtual Simulation Technology of Space Station
    LiDong ·Shenyang Ligong University ·2012 ·Master's thesis
  4. Decision-making Expert System in Production Cell Changeover Based on Interactive Simulation and Neural Network
    ChenJin ·Chongqing University ·2012 ·Doctoral dissertation
  5. Modeling and Simulation for Automatic Caster Assembly Machine Based on Virtual PLC
    ChenYin ·Guangdong University of Technology ·2012 ·Master's thesis
  6. Research on Interactive Simulation and Scheme Optimization for Operation System of Container Port Area
    SongHaiLiang ·Tianjin University ·2009 ·Doctoral dissertation
  7. Dynamic Simulation and Real-time Control for High Arch Dam Construction Operations
    WuKangXin ·Tianjin University ·2008 ·Doctoral dissertation
  8. The Design and Implementation of Experiment Software of Virtual PLC
    NiuLi ·Suzhou University ·2006 ·Master's thesis
  9. Simulation and Modeling of Interactive 3G HF Email System
  10. Research of Interactive Assembly Simulation System Based on Virtools
    XieChengFen ·Beijing Jiaotong University ·2010 ·Master's thesis
  11. Production Scheduling Expert System and Its Realization Technologies Based on Interactive Simualtion
    DuanShuangYue ·Chongqing University ·2009 ·Master's thesis
  12. Hardware Simulation System Design for Virtual PLC
    DuanYuTao ·Guangdong University of Technology ·2011 ·Master's thesis
  13. Design and Implementation of Virtual PLC Control System in Salt Product Packaging Pipe Line
    LiZheng ·Central China Normal University ·2011 ·Master's thesis
  14. Based on Virtual Reality Technology Interactive Assembly Training System
    MaDongXia ·Shandong University ·2011 ·Master's thesis
  15. Designing and Application on Simulation System of Tides Model Based on Steering Computing
    ZhangFeng ·Nanjing Normal University ·2011 ·Master's thesis
  16. Research on Interactive 3D Assembly Process Releasing System