Design and Development of Automatic Test System of a Kind of DCS System I/O Modules
- Author
- JinYu
- Advisor
- ZhaoJianJun , TuQin
- School
- Shanghai Jiaotong University
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 113
- Citations
- 0
Abstract
DCS is the abbreviation of distributed control system. Distributed control systemoriginated in the last century seventy’s, is compared with the centralized control system. TheDCS system integrates "4C" technology,which include Computer technology, Communicationtechnology, display technology(CRT) and Control technology. The basic target of distributedcontrol system is centralized operation and Classification management, system can beconfigured flexible,maintenance easy and high reliability.DCS system is besed in communication network, with computer and automationinstrumentation as implement.DCS can perform reporting statistics, alarm display, faultdiagnosis, remote control and other functions in production process to achieve industrialautomation monitoring and control.The DCS system is wide used in electric power,metallurgical, chemical, paper and other important economic fields, in order to improveproduction efficiency, reduce labor intensity and improve working environment.The I/O module in DCS system is used to connect the DCS controller and the electricaldevices. On one hand, the I/O module will be responsible for the controller instructions areconverted to the digital or analog signals that electrical device can identify, and then driviethe electric device to make a correct response; on the other hand, the I/O module can bedetected electrical equipment working state in real time, the collected data would be reportedto the controller, so that the workstation software can make a correct judgment for measuring system working state. It can be said that the I/O moduleIs in a DCS is the bridge and link ofsystem controller and electrical device.its working condition directly affects the performanceof the DCS system. Therefore, in the DCS system production and installation process, the I/Omodule testing is very important.This project takes "HPCS system" as the foundation,which is the DCS system of someCompany. This article analyzes a DSC I/O module automatic test platform. The automatedtesting platform is make up of CardDebug procedures and USB-RS485conversionmodule.CardDebug procedures is running on the Windows operating system, andUSB-RS485is with responsibility for computer and module of I/O protocol conversion.CardDebug program encapsulates most Modbus protocol details, can provide users with afriendly, visual operation interface. Program make checker of I/O modules can get rid ofcommand line using in serial port, with the operation of the mouse to complete the basic test.At the same time, CardDebug program also retained the custom Modbus command sendingfunction, for the checker to provide enough flexibility and scalability. Through USB to RS485interface card conversion and adaptation, Any computer as long as the computer can haveUSB interface can implement I/O module’s debugging and configuration. This makes theautomation test programs can implement in a variety of hardware platforms.This paper describes development process based on Visual C++CardDebug applicationin detail, about the Modbus protocol, serial port communication based on the VC and thethreading operation and timer settings and other core processes in-depth summary; In USB toRS485interface card design,a detailed description of development process and key technicalpoints based on FT232B chip of FTDI is given.This automation test platform has been applied in the DCS system I/O moduleproduction, testing, delivery chain, It improved the HPCS system I/O module testeffectively,and is an important process to ensure the reliability of HPCS system. This topic’sviewpoint and the realization of the project has certain reference significance and practicalvalue on a similar system of automated testing.
Table of contents
Summary 3-5
ABSTRACT 5-10
1 Introduction 10-14
1.1 Background and Significance 10-11
1.2 domestic and foreign research status targets 11-12
1.3 thesis and main content 12-13
1.4 the organizational structure of the paper and its chapters arranged 13-14
2 overall program and related technology 14-26
2.1 Modbus technology 14-16
2.2 USB technology 16-20
2.3 RS485 technology 20-21
2.4 system overall program 21-25
2.4.1 Requirements Analysis and overall program objectives outlined 21-22
2.4.2 CardDebug software 22-24
2.4.3 USB-RS485 converter module 24-25
2.5 Summary 25-26 <br / > Design and Implementation 3 CardDebug software 26-52
3.1 architecture design 26-30
3.1.1 software interface 27-28
3.1.2 class Hierarchy 28-30
3.1.3 core processes 30
3.2 CardDebug key technology 30-37
3.2.1 VC-based serial communication 30-35
3.2.2 operation threads 35-36
3.2.3 timer 36-37
3.3 CardDebug realization of software 37-52
3.3.1 serial acquisition system information 37-41
3.3.2 to open and close the serial port 41-42
generating and parsing 3.3.3 Modbus frame 42-44
Search 3.3.4 DUT I / O modules 44-49
3.3.5 I / O modules feature configuration and test Show 49-50
3.3.6 serial communication 50-52
4 USB transfer RS4 85 module design 52-62
4.1 needs analysis 52
4.1.1 USB to RS485 module design requirements 52
4.2 chip solutions contrast 52-55
4.2.1 Tusb3410 ( Ti) 52-53
4.2.2 USB2SER (Freescale) 53-54
4.2.3 FT232B (FTDI) 54-55
4.3 conversion card design 55-62
4.3.1 FT232B internal structure 55-57
4.3.2 veneer design 57-60
4.3. 3 Parameter burning 60-61
4.3.4 conversion module finished 61-62
5 system FBI and testing 62-69
5.1 system FBI 62-67
5.1.1 communications Test 62-63
5.1.2 custom commands test 63-64
5.1. 3 analog input module type test 64-66
5.1.4 analog Output module type test 66
5.1.5 switching module type test 66 - 67
5.2 test results 67-69
6 summary and Outlook 69-71
6.1 This work summary 69
6.2 Prospects 69-71
References 71-73
Thanks published during 73-74
pursue a degree academic 74-77
accessories 77
Related dissertations
- The Application of Modbus Protocol in the Huatugou Union Station
- Design and Development of Central Air-conditioning Energy-saving Control System
- The Development of Embedded Remote Data Acquisition System for Internet of Things
- United Device Control System Design in Isoprene Rubber Production Process
- Design of IOT Smart Gateway Based on ARM9
- Design of Networked Motion Control System of Stepper Motor
- The Research in the Embedded Data Communication System Based Modbus Protocol
- Research on Embedded Intelligent Electro-hydraulic Proportional Valve Controller
- Design and Implementation of Automatic Shift Manipulator in Transmission Test-bed of Vehicle
- Application of FCS Control System in Gas Thermoelectrical Plant
- The Multiband MP signal shielding intelligent network control system
- Study on Embedded Smart Home Controller and Development of Homenet
- Design and Implementation of RS485 Wireless Wiring System Based on Modbus Protocol
- The Development and Application of Multi-functional Communication Converter Based on AT90CAN128
- Research of Automatic Monitoring System of Sewage Treatment Based on RS485 Fieldbus
- Electricity five anti- error lockout prevention embedded in the design and implementation of the control unit
- Research on Energy Monitoring System for Civil Air Defense Projects Based on Modbus
- Research and Design of Intelligent Medical Infusion Monitoring System
- The Design and Application of Monitoring System for Wet Resin Ingredients Based on DCS
- Foam Concrete Board Insulation Mortar Equipment Automatic Monitoring System Design