The Design of PLC Data Acquisition Module
- Author
- WangHongYi
- Advisor
- GuoRongXiang
- School
- Inner Mongolia University of Science and Technology
- Major
- Control Theory and Control Engineering
- Classification
- TP274.2 Data collection and processing systems
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 45
- Citations
- 0
- Programmable Logic Controller
- Data acquisition
- Linearization
- SerialCommunication
- Configuration display
Abstract
In the field of industrial process control,system is frequently collectting the currentsignals, voltage signals and temperature signals and so on analog signal from the scene.Especially in the complex control system of industrial automation, such as Steel RollingEngineering, Petroleum Engineering, Chemical Engineering, Electrical PowerEngineering, the reason of the complexity technological requirements, the dataacquisition of the scene is particularly important. In the industrial control,programmablelogic controller (PLC) served widely as the actuators. PLC is small volume, powerful,flexible assembly, reliability, simple programming, support diversify communicationmode, and working for a long time in the various severe conditions of industrial field,won the highly praise from users. But the variety of PLC producers,then make differentproducts and the analog acquisition module between each other is can’t swap, becauseless the unit and higher the price, the control cost increased to some extent. This topicdesign the data acquisition module can collect8channel PT100signal,8channel4~20mA current signal,8channels of0~5V voltage signal,completing a variety of analogquantity acquisition,at the same time,both save the PLC of the port resources andeffectively reduce control cost with a higher control precision.The CPU processor of acquisition module is MCU AT89SC52, selection of analogsignal source by dial the code switch set to complete, each analog signal through thesignal conditioning circuit and multiplex switch CD4051, putting them into multi-channel A/D converter CS5224, data is stored in the register of the MCU after filtering.In order to reduce the error of linear system,the four piecewise curve fitting algorithm isadopted to complete calibration of temperature data, using MATLAB software to getfour least squares curve fitting, and through the comparison of data forms,obtainingthe optimized control precision.This paper chooses omron manufacturer’s CPM2AH PLC to communicate withacquisition module,two communication modes is provided that is serial and parallel,putdate that is in the register of the MCU into PLC.Parallel communication is set up by fiveswitches of quantity sequence change,through the PLC program written the data from the MCU registers into omron PLC CPM2AH DM data storage registers.In the serial interface, designed RS485interface, through the converter that converts RS485to RS232,the module communicates with CPM2AH PLC through HostLink in serial communication,put date into PLC DM data storage registers. In order to reflect more brightly the analog data that is collected,by kingview software of BEIJING YAKONG company producers into Upper machine configuration display with the part of the collected analog datas. The design of the data acquisition module has reliable generality, and save the control cost, has the strong practical significance.
Table of contents
Abstract 3-4
Abstract 4-8
1 Introduction background and Methods of 8-17
1.1 research project 8 -11
1.1.1 industrial site on the need for data collection and development of PLC 8-9
1.1.2 PLC analog acquisition method for review 9-10
1.1.3 history and development trend of domestic and foreign data collection major technical issues 10-11
1.2 applications 11-15
1.2.1 sensor Technology 11-13
1.2.2 programmable Logic Controller (PLC) technology 13-14
1.2.3 SCM technology 14-15
1.3 significance of the topic 15-16
1.4 chapter Summary 16-17
2 system hardware design 17-27
2.1 module selected major chip introduced 18-21
2.2 system works 21
2.3 system hardware circuit design 21-25
2.3.1 PT100 measuring circuit uses is a three -wire connection mode 21-22
2.3.2 current signal measurement circuit voltage signal 22-23
2.3.3 and CS5524 single-chip wiring 23-24
2.3.4 and communications chip microcontroller connected 24-25
2.4 chapter Summary 3 system software research methods 25-27
27 -35
3.1 main microcontroller design 27-28
software temperature compensation of 3.2 errors introduced 28-29
3.2.1 interpolation 28
3.2.2 curve fitting 28-29
3.2.3 neural network correction method 29
3.3 MATLAB software for the least-squares curve fitting temperature data combined correction 29-34
3.4 Summary 34-35
4 system of communication design 35-55
4.1 Omron PLC (CPM2AH-20CDR ) PLC hardware and software application profile parallel communication 35-37
4.2 module design 37-40
4.3 serial communication module design 40-47
4.3.1 serial communication describes 40-42
4.3.2 one kind RS232- RS485 serial communication converter Profile 42-43
4.3.3 module and CPM2AH PLC serial host Link communications 43-47
4.4 KingView PC monitoring data 47-52
4.4.1 configuration software generates development and domestic status quo 47-48
4.4.2 configuration software Introduction 48-49
4.4.3 kingview right CPM2AH PLC PC monitoring modbus communications 49-52
4.5 module with other PLC devices 52-54
4.6 chapter Summary 54-55
conclusion 55-56
references 56-60
Appendix A Omron PLC (CPM2AH-20CDR) parallel data acquisition program 60-66
Appendix B system electrical schematics 66-67
in science research 67-68
Thanks 68-69
in science research 69-68
Related dissertations
- Research and Implementation of a Communication System in Command of Emergency Centralized Control System
- The Analysis of Automatic Collection System on Water Injection Wells' Pressure
- Design of Dual Channel Ultrasonic Testing System Based on HCS12X
- Research on the Reform of Taxation Information Management Mechanism in China
- The Ningbo Public Transit Circuit Capacity Model and Practical Research
- The Research on the Monitoring System of Sewage Treatment Plant Based on King Scada
- Research and Realization of Monitoring System in Combination Switch Based on Fourier Series Algorithm
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of Alarming Management System about Fireproof and Burglar
- Research on PLC remote monitoring technology based on Internet
- Research on Mechanical Vibration Testing System
- Study on Embedded Data Acquisition System Application
- The Data Acquisition and Monitoring System of Gas-liquid Two-phase Flow Based on Data Acquisition Card and Kingview
- Development of ATE Signals On-line Monitoring Equipment
- The Design of Hybrid Electric Bus Data Acquisition and Test System
- The Reliable Data Transmission System in the Maternal and Child Health Information Platform
- Electromagnetic Tomography System for Biological Electrical Impedance Imaging
- Research and Implementation of Meteorological Monitoring System Based on ARM9
- Design and Implementation of High Speed Data Recorder Based on FPGA
- Web Data Acquisition and Display System Based on Data-segment Technology of MDSplus