Research and Development on OPC Client and Server Based on New DCS

Author
ZhangMing
Advisor
LiZhengJun
School
Shandong University
Major
Control Theory and Control Engineering
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2010
Downloads
403
Citations
7

Request the full text

Abstract

Distributed Control System (DCS) is mainly used for computer control and management of the production process, it is widely used in various fields of industrial process control. Traditional DCS system, no uniform interface standard the upper configuration software with smart field devices, the sharing of information between the field between intelligent devices and intelligent devices and host monitoring software driver to achieve. Each application software must be developed according to their demand for a hardware device, a corresponding set of hardware drivers, which led to a duplication of development drivers, the devices are not interchangeable, the upgrading of the difficulties, access violation, such as a series of questions. OPC technology proposed a radical change of development mode driver to achieve data sharing. Upper application software as OPC client can not contain any hardware communication interface program, do not care about the type of the underlying hardware. Just follow the OPC data interface protocol, from different hardware vendors will be able to provide the OPC data server to read the data, in order to achieve a truly integrated configuration software flexible configuration data on a variety of hardware devices and a variety of system. OPC technology for the specific needs of the new DCS configuration software, in-depth study. The source of this topic is a major scientific and technological project of the Shandong Province Science and Technology Department, the project name is based on a new control system for industrial Ethernet and fieldbus technology, the item number is 31400004010437. According to the actual needs of the configuration software, the Windows 2000 platform, using Microsoft Visual C 6.0 as a development environment, complete the design and development of new DCS Software OPC client and server software. This paper first introduces the research background and significance, the generation of OPC technology, development and research status quo. Then, a brief description of the nature of OPC technology - COM technology, OPC Data Access Specification and OPC Historical Data Access specification. Then, on the basis of the study advanced configuration software, according to OPCDA specification proposed overall architecture of OPC client and server. OPC architecture and communication design OPC client to be able to read a local or remote OPC server; same time, real-time analysis of the new DCS system database, historical database and design specific software solutions , ATL and MFC software programming, developed the server of OPCDA and OPCHDA. Design of OPCHDA server, you need to read a large number of historical data, slow, low efficiency. This design uses multi-threading technology to improve the efficiency of the data read. The article also explored the the OPC driver software design and implementation, design and development based on the TCP / IP protocol driver, and verified via Modbus slave software. Finally, DCOM configuration on the client and server, respectively, DCS specific running system, remote reading and real-time monitoring of real-time data. This paper presents a new type of DCS configuration software OPC client and server design and realization of the correctness and feasibility of the method is confirmed, tested by the OPC server and client, and has a good practical application value.

Table of contents

Abstract 10-12 ABSTRACT 12-14 Chapter 1 Introduction 14-21 1.1 research background and significance 14-16 1.2 OPC technology 16-19 1.2.1 OPC technology generated background 16-18 1.2.2 OPC technology research status 18-19 1.3 content and innovative research projects point 19-20 1.4 Chapter Summary 20-21 Chapter 2 OPC specification 21-30 2.1 COM technology 21-23 2.1.1 COM Technology Overview 21-22 2.1.2 COM interfaces 22-23 2.2 OPC Data Access Specification 23-27 2.2.1 OPCDA client and server 23 2.2.2 OPCDA server object composition 23-24 2.2.3 OPC architecture 24-25 2.2.4 OPCDA object interface 25-27 2.3 OPC Historical Data Access specification 27-29 2.3.1 OPCHDA client and server 27-28 2.3.2 OPCHDA server object interface 28-29 2.3.3 OPCHDA client object interface 29 2.4 Summary 29-30 Chapter 3 OPC client software design and implementation 30-41 3.1 OPC client development in several ways 30-31 3.1.1 using ActiveX controls developed OPC client 30 3.1.2 Rapid Development Kit using the OPC develop OPC client 30 3.1.3 using COM technology developed directly OPC client 30-31 3.2 OPC function of the system analysis 31-33 3.2.1 The overall structure of the configuration software 31 3.2.2 OPC function of the system analysis 31-33 3.3 OPC client design 33-35 3.3.1 client interface design 33-34 3.3.2 client program processes 34-35 3.4 OPC client specific implementation 35-40 3.4.1 OPC client interface to achieve 35 3.4.2 OPC client interface 35-37 3.4.3 OPC client and server connections 37-40 3.5 Summary 40-41 Chapter 4 OPCDA server software design and implementation 41-53 4.1 OPC server developed several methods 41-43 4.1.1 using MFC COM support provided by developed OPC server 41-42 4.1.2 OPC server via ATL Development 42-43 4.2 OPCDA server design 43-45 4.2.1 OPCDA server's overall design 43-44 4.2.2 OPCDA server functionality designed 44-45 4.3 real-time data read 45-46 4.3.1 Real-time data collection 45 4.3.2-scale real-time data transformation 45-46 4.4 OPCDA server software 46-52 4.4.1 OPCDA server workflow 46 4.4.2 OPCDA server interface design 46-49 4.4.3 Data storage area design 49-51 4.4.4 server object registration 51-52 4.5 Chapter Summary 52-53 Chapter 5 OPCHDA server design and implementation 53-59 5.1 OPCHDA server's overall design 53 5.2 Historical data acquisition 53-57 5.2.1 database access 54-55 5.2.2 Historical data read 55-57 5.3 OPCHDA server interface 57 5.4 multithreading technology 57-58 5.5 Chapter Summary 58-59 Chapter 6 OPC driver software design and implementation 59-70 6.1 Modbus communication protocol 59-61 6.1.1 Modbus Profile 59 6.1.2 Modbus TCP protocol 59-61 6.2 OPC driver design 61-62 6.2.1 driver's overall structure 61 6.2.2 driver related classes designed 61-62 6.3 OPC driver software 62-67 6.3.1 messaging interface class 62-64 6.3.2 socket 64 6.3.3 Definitions 64-67 6.4 driver's test 67 6.5 drivers scalability achieved 67-69 6.5.1 Dynamic Link Library 68 6.5.2 secondary development 68-69 6.6 Summary 69-70 Chapter 7 OPC clients and servers in the DCS system application 70-76 7.1 application design 70-71 7.2 DCOM configuration 71-73 7.2.1 DCOM Overview 71-72 7.2.2 server and client configuration 72-73 7.3 client for remote access 73-75 7.3.1 Water Level Monitoring System 73-74 7.3.2 client remote access 74-75 7.4 Chapter Summary 75-76 Chapter 8 Conclusions and Outlook 76-78 References 78-82 Thanks 82-83 During the master's degree research 83-84 thesis reviewers and the respondent Fact Sheet 84

Related dissertations

  1. Design and Implementation of Oxygen Production Process Real-time Information System
  2. Research on the Integration of Industrial Fieldbus System Based on OPC
    YaoXiaoWei ·Tianjin University of Technology ·2007 ·Master's thesis
  3. The OPC communications technology research and development in the power plant full scope simulator system
    WeiWei ·Southeast University ·2005 ·Master's thesis
  4. Research on OPC Technology and Its Application to Simulation Systems of Power Station
    ChenWuYin ·Southeast University ·2006 ·Master's thesis
  5. The Research and Design on the Configuration Software of DCS by .NET
    KangZuo ·Hunan University ·2006 ·Master's thesis
  6. Development of Configuration Software for Engine Assembly Monitor System
    LiuXiaoYang ·Dalian Polytechnic University ·2008 ·Master's thesis
  7. Design and Implementation of Remote Video Monitor System Based on Embedded Technology
    QiuGuangNeng ·Hunan University ·2013 ·Master's thesis
  8. The Research and Implementation of Payment Terminals Based on Fingerprint Identification Technology
  9. Interface Technology Research of DCS and Real-time Database
  10. The Design and Implementation of a Network Communication Game on Linux
    PangTianCong ·Beijing Jiaotong University ·2014 ·Master's thesis
  11. Design and Implementation of Handheld Campus System Based on Theandroid Platform
    ZuoSuWang ·Hebei University of Technology ·2013 ·Master's thesis
  12. Design and Implemention of Android-based Taxi Reservations System
    XiaoFei ·Chang'an University ·2013 ·Master's thesis
  13. Designs and Realization of Mobile Office System Based on3G Smart Phones
    ZouQingBao ·WRI ·2012 ·Master's thesis
  14. Design and Implementation of Monitoring System for Shuttle Kiln
    JinZuo ·Northeastern University ·2012 ·Master's thesis
  15. The Engineering Practice and Design of the Hydrogen Plant DCS Control System
  16. The Research and Application of Data Acquisition Interface Technology in SCADA System
  17. Development of Thermal Control System Performance Assessment Software Based on OPC Technology
  18. Design and Implementation of Communication Converting Platform Base on OLE for Process Control
  19. Research and Realization of Interface between Industrial Ethernet and Configuration Software Based on OPC
  20. Design and Implementation of OPC Client in Semi-Physical Simulation System