Software Development of OPC Server Based on Optimal Control System
- Author
- JiangLiang
- Advisor
- XiaBoZuo , BaoYingChun
- School
- China University of Petroleum
- Major
- Control Theory and Control Engineering
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 167
- Citations
- 3
Abstract
OPC ( OLE for Process Control for Process Control Object Linking and Embedding ) is based on Microsoft's OLE (Object Linking and Embedding Object Linking and Embedding ) / COM ( Component Object Model Component Object Model ) technology to solve industrial an industrial clients with a variety of device drivers communicate technical specifications and standards . OPC technical specifications developed by the OPC Foundation , which provides a unified data access to the hardware and software interfaces . , Has been more and more recognition and support of the field of industrial control hardware and software manufacturers , in fact, has become a more open and advanced due to the OPC technology than traditional data access methods ( driver and dynamic data exchange ) industrial control software recognized standards . This paper first analyzes the background of OPC technology , history of development and research status at home and abroad ; Second , analysis of the optimal control system online real-time optimization , advanced control , soft measurement model simulation , abnormal forecast functions for real-time sharing of databases --- OPC server demand ; then analyzes the theoretical basis OPC application design and design methods , given the key technologies of the OPC server function design and software development . And Visual C 6.0 development platform provides a unified interface standard based on OPC OPC Data Access 2.05 specification design the developed OPCDA server software ; addition, interprocess shared memory design , memory-mapped file technology to establish a period of shared memory , and how memory allocation between optimal control module up to minimize the problem . Optimized control software requirements , given the design of the OPC server tags . Finally, the context of process control systems to SUPCON DCS A3000 , the OPC server is successfully applied to the optimization of the control software . OPC server as to optimize shared database of real-time control software systems , simplifying the complexity of the system , to improve the reliability and stability of the software running the Standardization of data exchange between various optimization control module , open and easy with other system interoperability and advantages . The preliminary results proved the validity of the OPC server design and software development .
Table of contents
Abstract 4-5
Abstract 5-9
Chapter 1 Introduction 9-14
the
research 1.1 Background 9-10
1.2 OPC technology Background 10-12
1.3 OPC's history of development and research status 12-13
1.3.1 OPC development history 12
the
research status of 1.3.2 OPC 12-13
the significance of the research
1.4 13-14
Chapter 2 Introduction to OPC technology 14-27
2.1 OPC technical nature --- the COM Technology Overview 14-20
2.1.1 COM characteristics 14-15
2.1.2 COM object's identity --- CLSID and ProgID 15-16
2.1.3 interface definition IUnknown interface 16-17
2.1.4 Interface Description Language IDL 17-19
2.1.5 interface function return value (HRESULT) 19-20
2.2 OPC technical specifications outlined 20-21
2.3 OPC client and OPC server 21-22
2.4 OPC server object 22-23
2.5 OPC's architecture 23
2.6 OPC data access 23-27
2.6.1 synchronous data access methods 24
2.6.2 asynchronous data access 24-25
2.6.3 subscription-based data access 25-27
Chapter 3 development program based on the to optimize control needs analysis with the OPC server 27-34
3.1 based on optimal control of demand analysis 27-32
3.1.1 optimized control software variable structure needs 28-30
3.1.2 optimized control software system running timing are found; 30-31
3.1.3 multiple clients to share real-time data 31-32
3.1.4 set client access priority 32
3.1.5 multiple clients for real-time monitoring 32
3.2 OPC server development program 32-34
Chapter 4, the design and development of the OPC server 34-59
4.1 OPC server functionality Summary Design 34-47
4.1.1 server interface module 34-35
4.1.2 OPC standard interface module 35-43
4.1.3 server initialization module 43-46
4.1.4 and shared memory communication module 46-47
4.2 OPC server overall structure 47-50
the 4.2.1 C call OPC server key code 49-50
4.3 interprocess shared memory implementations 50-53
4.3.1 Client / Server architecture shared-memory-based implementation steps 50-52
4.3.2 process the synchronized mechanism 52-53
4.3.3 shared memory in the form of DLL 53
4.4 develop an OPC server key technology 53-57
4.4.1 OPC server architecture organizations 53
4.4.2 OPC server handle assigned 53
4.4.3 OPC server tags designed to achieve 53-55
4.4.4 OPC server registered 55-57
4.5 OPC server test 57-59
Chapter 5 OPC server in optimized control software application 59-67
Chapter 6 Conclusion 67-68
the
References 68-71
Acknowledgements 71
Related dissertations
- Optimal Portfolio and Consumption Rules under Partial Information
- Design and research of simulation teaching system based on automatic production line
- Development of Configuration Software for Engine Assembly Monitor System
- Research on Subsea Production Facilities Monitoring System Based on WinCC
- Efficiency Optimization Method and Optimal Control of Mechanical and Electrical Equipments
- Design and Research of Master Control Station in the Electrohydraulic Subsea Control System
- Research of Heterogeneous System Integrated Optimization Based on OPC DX Technology
- Research and Application in The-loop Simulation DCS Test System Based on the OPC Technique
- Analysis and optimal control of online tungsten ion exchange process
- Research on Input-to-state Stability (ISS) and Control of Hybrid System
- Intelligent Integrated Modeling and Optimization Control of Greenhouse Environmental Systems for Energy Conservation
- Optimization Control Method and Hardware-in-the-loop Simulation Platform of the Raw Slurry Blending Process
- Dynamic Modeling and Control for Parallel Polishing Manipulator
- Anisotropy Analysis and Optimal Control of Continuous Alternate Omni-directional Wheel and Mobile Robot
- Study on the Stability Control of Double Inverted-pendulum System
- Research on Visual Inspection Method and Optimized Control Technology for Rotary Kiln
- Interface Technology Research of DCS and Real-time Database
- The software bus and self recovery technology based on VxWorks
- Researchment and Implementation of the LF System of MES without Process Control System
- Research and Implementation of Information Fusion Based on OPC