Distributed Measuring and Controling System Based on Embedded Controller
- Author
- DengHaiChao
- Advisor
- LiZhengJun
- School
- Shandong University
- Major
- Control Theory and Control Engineering
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 210
- Citations
- 4
- Distributed measuring and controling system
- CAN bus
- Embedded controller
- Distributed measuring and controling modules
Abstract
With the rapid development of Fieldbus, industrial Ethernet and embedded controller, distributed measuring and controling system has new ways to solve the problems of distributed control, integration of control systems and enterprise network and other issues. Distributed measuring and controling modules become more and more intelligent and miniaturized in order to meet the requirements of new technology. Embedded controller is used in field measuring and controling modules. It can improve system reliability, and make the whole distributed measuring and controling system become more competitive.CAN BUS is one of the most widely used Fieldbus. It is applied in the fields of process control, textile machinery, robots, sensors and so on. CAN BUS has many advanced characteristics, such as low cost, high reliability, real-time, strong anti-interference ability, which make it prospective. Embedded controller is widely used in consumer electronics, communications, automotives, aerospace, industrial control, instruments, office automation and other fields. Now it has become a common development direction of industrial control, communications and consumer products.The thesis mainly introduces the construction of distributed measuring and controling system. Field measuring and controling modules are the cores that conduct I/O data sampling, information exchanging, control operations, logic control, which realize real-time control function of the whole industrial control. Measuring and controling modules consist of standard signal I/O modules, digital signal I/O modules, thermocouple signal input modules, RTD (Resistance Temperature Detector) signal input modules, impulse signal input modules. These modules are connected with various kinds of the field signals, such as current, voltage, flow, pressure, temperature and so on, and they realize functions of field measuring and controling. Measuring and controling modules sample data from industrial field, then pack it and send it to main module by CAN BUS. Meanwhile these modules receive commands from main module to complete corresponding operations, such as channel configuration, channel rectification, etc. Finally, these modules return confirmation information to communication controller. As a result, distributed measuring and controlling system achieves centralized control.The emphases of the thesis are hardware design and software design of measuring and controling modules. Freescale’s 16-bit embedded controller MC9S12D64 with CAN communications controller is used as the microprocessor of these modules. It has plenty of I/O channels and communication interfaces for special use of industrial control.Hardware circuit of measuring and controling modules mainly consists of reset circuit, power circuit, communication circuit, signal conditioning circuit, analog switching circuit, optoelectronic isolation circuit, signal sampling circuit. Software design of modules is mainly about flow chart of main program, communication program of CAN BUS, analog-digital conversion program and algorithms of controlling and measuring.Distributed measuring and controlling system is based on Fieldbus and embedded controller. It can simplify the architecture of industrial control system, enhance the functions of process control, improve system reliability, and reduce production cost.
Table of contents
Abstract 8-10
ABSTRACT 10-12
Chapter 1 Introduction 12-16
1.1 Distributed Control System 12 < br /> 1.2 CAN bus characteristics 12-13
1.3 embedded technology 13-14
1.3.1 embedded microcontroller 13-14 <br / > 1.3.2 embedded technology development status and trends 14
1.4 issue contents 14-16
1.4.1 research 14-15 <br / > 1.4.2 innovations 15-16
Chapter 2 distributed control system Design 16-25
2.1 new distributed control system overall framework 16 -17
2.2 control module in the DCS application 17-19
2.3 control module design 19-25
2.3.1 SCM introduction 20
2.3.2 CPU peripheral circuit design 20-23
2.3.3 module functional block diagram of the overall 23-25 ??
Chapter 3 thermocouple input module design 25-44
3.1 hardware Design 25-31
3.1.1 input signal conditioning circuit 26
3.1.2 analog switch circuit design 26-28
3.1.3 principles and cold junction compensation circuit design 28-29
3.1.4 signal sampling circuit design 29-31
3.2 software design 31-42
3.2.1 main program flowchart 31-32
3.2.2 CAN communication program design 32-36
3.2 .3 signal conversion program design 36-39
3.2.4 scale transform algorithm 39-40
3.2.5 cold junction compensation algorithm 40 <br / > 3.2.6 temperature lookup algorithm 40-42
3.3 module development and debugging 42-44
3.3.1 CODE WARRIOR software 42 <br / > 3.3.2 BDM debugging method 42-44
Chapter 4 RTD input module design 44-55
4.1 hardware Design 44-46 < br /> 4.1.1 signal input circuit design 45
4.1.2 RTD signal sampling circuit 45-46
4.2 program and algorithm design 46 - 49
4.2.1 main program flowchart 46-47
4.2.2 measurement algorithm design 47-49
4.3 test interface development 49 -55
Chapter 5 digital input module design 55-58
5.1 hardware design 55-56
5.2 software design 56 - 58
Chapter 6 standard signal input module design 58-66
6.1 structural framework and device selection 58-61
6.1.1 hardware functional block diagram 59
6.1.2 AD7712 structural characteristics and working principle 59-60
6.1.3 AD620 structure and characteristics 60-61
6.2 hardware Design 61-63
6.2.1 signal conditioning circuit design 61
6.2.2 measuring Circuit Design 61-63
6.3 programming 63-66
Chapter 7 fuzzy Control in the application control module 66-72
7.1 traditional PID control 66-67
7.2 fuzzy Control System 67
7.3 fuzzy controller design 67-69
7.4 fuzzy control algorithm 69-72
7.4.1 hardware design 69-70
7.4.2 programming 70-72
Chapter 8 conclusions and Outlook 72-73
References 73-76 < br /> Thanks 76-77
thesis reviewers and the respondent Fact Sheet 77
Related dissertations
- The Design of Small Coal Mine Remote Monitoring System Based on ARM
- The Design and Realization of Extended System in Distributed Firealarm System Based on Microcontroller
- The Design of Monitoring System for the Photovoltaic Plant Based on DSP
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- The Design of Hybrid Electric Bus Data Acquisition and Test System
- Industrial Field Data Acquisition System Design Based on CAN Bus
- Design of the Hazard Source Monitoring System Based on CAN Bus
- The Design of Displacement Detection System Based on CPLD Grating Subdividing Technology
- Research on Data Acquisition System of Can Bus
- The Design and Implementation of Vehicle Data Acquisition and Communication Device Based on CAN Bus
- Design of Remote Monitoring System of Agricultural Field Information Based on GPRS Network
- Design and Implementation of Intelligent Wiring Hardness Detection System
- Research on Indoor Localization System for Intelligent Wheelchair
- Research on CAN Bus Communication and Application Experiments
- Based on Can Field-bus Technology and Web Service Home Intelligent Control System Design and Realization
- Research of Fieldbus Relay Basing on CAN Bus
- Research and Realization of Fieldbus Conversion and Monitoring System Based on ARM
- CAN Network Development of Commercial Vehicle
- Based on Smith Fuzzy-PID of Hot Drawing Roller Temperature Control System
- Research on the Scheduling Algorithm of Networked Control System Based on CAN Bus