Design and Exploitation of Transmitter Based on AVR Microcontroller
- Author
- WangShengGang
- Advisor
- LiKaiLing
- School
- Shandong University
- Major
- Mechanical and Electronic Engineering
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 72
- Citations
- 0
Abstract
Transmitter is an important device in modern industrial control systems, with the analog Circuit, the disadvantage of the traditional transmitter in lacking of control and Poor anti-interference ability couldn’t meet the users’requirment。With the amazing development of network and automation technology, the new smart transmitter which bases on CAN bus and MCU to replace the traditional transmitter is imperative.This subject is based on transforming traditional transmitter for automatic strapping machine. The new instrument should not only have the communication function and control function, but also possess the fundamental measurement capability. This paper selects DCD-500 of jinzhong electronic scale company as the sensor. It has exploited the AT product:ATmegal6 microprocessor, and has conducted hardware and software design. Hardware design including the microcontroller module, the sensor module, the temperature measurement modules, the power module, and the operational amplifier module, the V/I conversion module, the LCD module, the A/D conversion module and the communication module. The software design including main program design, liquid crystal display program design, the keyboard program design, temperature measurement program design and A/D conversion program design. From the Angle of system reliability, it chooses the median value average filtering algorithm as the software filter. Through third-party software Settings, it enable the transmitter communicate to the bus monitoring room.The reasons of zero drift in transmitter were analyzed in this thesis. This paper applies two currently used methods to eliminate zero drift. The two methods are Zero baseline drift compensation method and the slope of the zero drift compensation method. In order to eliminate the nonlinear error of the transmitter, the least squares curve fitting method was used in this paper. Through designing the software, it achieves point drift compensation method and the nonlinear compensation method.Considering the requirements of the transmitter control object, this paper exploits CMAC and PID control algorithm in parallel. It can get the three Parameters of PID through the test methods, and writes matlab program to simulate.Through testing the traditional transmitter and the new transmitter in practical application, it can obtain that the new transmitter has solved the anti-interference problem of the transmitter through adapting the digital signals transmission and has improved the reliability.
Table of contents
Abstract 9-10
ABSTRACT 10-12
Chapter 1 Introduction 12-18
1.1 topics background 12-13 < br /> 1.2 Transmitter domestic developments 13-14
1.3 Transmitter developments abroad 14-15
1.4 meter fieldbus technology development 15-16
1.5 topics sources 16-17
1.6 The main research topics 17
1.7 Chapter Summary 17-18
Chapter 2 transmitter hardware design 18-34
2.1 microcontroller module 18-20
2.1.1 AVR microcontroller introduction 18-20
2.1.2 Atmega16 module design 20
2.2 Sensor Module 20-22
2.3 Temperature measurement module DS18B20 22-24
2.3.1 DS18B20 Profile 22-23
2.3.2 Temperature measurement circuit design 23-24
2.4 Power Module 24-25
2.4.1 LM2576 Profile 24-25
2.4.2 Power circuit design 25
2.5 operational amplifier module 25-27
2.6 A / D converter module 27
2.7 LCD module 27-28
2.8 V / I converter module 28-29
2.8.1 AD694 Introduction 28-29 <br / > 2.8.2 V / I converter module circuit design 29
2.9 communication module 29-32
2.9.1 CAN bus technology introduction 29-30
2.9.2 CAN bus protocol 30-31
2.9.3 CAN bus hardware design 31-32
2.10 Summary 32-34 <br / > Chapter 3 of the transmitter zero drift and non-linear compensation algorithm 34-40
3.1 Zero drift compensation algorithm 34-36
3.2 transmitter temperature error and nonlinear compensation 36-39
3.3 Chapter Summary 39-40
Chapter 4 transmitter software design 40-52
4.1 SCM master program design 40-41
4.2 LCD programming 41-42
4.3 keyboard input program design 42-43
4.4 Temperature measurement program design 43-45
4.5 A / D conversion process design 45-46
4.6 software filtering algorithm design 46-47
4.7 CAN Communication Design 47-49
4.7.1 Initialization 47-48
4.7.2 data transmission 48
4.7.3 Data Receive 48 - 49
4.8 configuration software industry monitoring 49-51
4.8.1 configurations Wang Jieshao 49
4.8.2 kingview monitoring design 49-51
4.9 Chapter Summary 51-52
Chapter 5 control algorithm 52-62
5.1 PID control 52-53 <br / > 5.2 CMAC (neural networks) 53-57
5.2.1 CMAC Neural Network Fundamentals 54-55
5.2.2 CMAC design method 55-57
5.3 CMAC and PID parallel control 57-61
5.4 Summary 61-62
Chapter 6, experiments and data analysis 62-68 < br /> 6.1 conventional transmitter test 62-63
6.2 new transmitter test 63-66
6.3 Chapter Summary 66-68 <br / > Conclusion 68-70
Appendix 70-78
Appendix 1 transmitter circuit diagram 70-71
Appendix 2 microcontroller program 71-74
Appendix 3 matlab program 74-78
References 78-80
Thanks 80-81 <br / > Review and the respondent Dissertation Table of 81
Related dissertations
- The Changes of the Theory of New Media Era News Agents Transmission
- The Foam Insulation Greenhouse Monitoring System Design
- Design and Implementation of the Airtight Detection System Based on PLC Technology
- Research of a System Integrated Rotational Speed and Temperature Measurement Based on MCU
- The Wireless Temperature and Humidity Monitoring System Design
- The Design for Wireless Multiple Measuring System of Small Area Crop Growth Environment
- Development of Intelligent Control System for Precise Wheat Seeder with Suction and Stepless Speed Regulation
- The Design of PCR Temperature Control System in STC
- Design of Temperature and Humidity Control System Based on Micro-controller
- The Design and Implementation of Automatic Nail System for Greenhouses Heat Preservation Quilt
- Research and Design of Transfer Robot Using Competition
- The Design of Kerosene Vapor Concentration Detector
- Study on Modeling and Compensation of Eddy Current Sensor and Its Electromagnetic Field Simulation Study
- Design and Research of Intelligent Pressure Transmitter Based on the Internet of Things
- Research and Design of Moisture and Temperature Transmitter in Oil
- Study of CPS Communication Based on MCU and Intelligent Optimization Algorithms
- Research on System of Digital Image Proccessing and Recognition of Instruments
- Design of Micro-weighing System for Capsules of Tradical Medicine Based on VC++
- Application Research of Wireless Anti-theft System Based on GSM/GPRS
- Research and Implementation of Wide-band Multi-antenna Transmitter