Smart meter communication system design based on HART protocol
- Author
- NieLei
- Advisor
- ZhaoHui
- School
- University of Electronic Science and Technology
- Major
- Detection Technology and Automation
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 274
- Citations
- 4
Abstract
Fieldbus has become a hotspot in the field of process control, represents the direction of the development of intelligent instruments. With the completion of the international fieldbus standard fieldbus products, its perfect functionality and outstanding features is bound to market acceptance. HART protocol as an open protocol, smart meters has now become the \Which is characterized by the transmission line in existing analog signal to digital signal communication belongs to the analog system to digital system transformation process of transition products with strong market competitiveness, and thus in the current transitional period, has been rapid development. In this context, this paper studies the smart meter communication system design based on HART protocol HART protocol applications in the field of intelligent instruments to do some useful attempt. The HART protocol specification is the basis of the design of this project and the research, but also guarantee equipment compatibility and functionality to achieve. First HART protocol made a more comprehensive analysis of correspondence between the HART protocol and OSI / ISO seven layer protocol, and HART protocol three levels (physical layer, data link layer and application layer) Definition and function. On this basis, according to the understanding of the HART protocol, as well as in the course of practice summary paper HART protocol to achieve some of the problems in the process of doing a further description and discussion. Design, based on the in-depth analysis of the actual demand and application environment, I propose a \original equipment and lines subtler case for upgrading traditional analog gauges. In the paper, focusing on HART protocol communication system software and hardware design, analysis and presentation. More detailed hardware chip select, and various components of the system module - microprocessor module, current loop module, modem module features and implementation methods; analysis and description of the software architecture of the system software, focusing on HART protocol communication system with smart meter standard interface between design and HART protocol communication system, data link layer and application layer software design. In addition, in the paper last debugging and functional testing of equipment introduced. The HART protocol communication system basically meet the requirements of the protocol specification equipment functionality and compatibility tested. The article describes many of which are summed to obtain the actual development process, has strong relevance and practicality.
Table of contents
Abstract 4-5
ABSTRACT 5-11
first chapter 11-18
1.1 Introduction to Fieldbus 11
the development and characteristics of the 1.2 Fieldbus 11-13
1.3 HART protocol technology background 13-16
The
contents and chapter 1.4 of this thesis arranged 16
1.5 This chapter subsections 16-18
Chapter HART protocol and analysis 18-37
2.1 HART protocol specification 18-25
2.1.1 HART protocol model 18-19
2.1.2 Physical Layer specification 19-20
2.1.3 data link layer specification 20-25
2.1.3.1 Device Type 21
2.1.3.2 communication 21-22
2.1.3.3 character encoding 22
2.1.3.4 frame format 22-25
2.1.4 application layer specification 25
2.2 HART protocol implementation analysis 25-36
2.2.1 HART protocol network mode 25-27
2.2.1.1 Single point mode 26
2.2.1.2 multi-point mode 26-27
2.2.2 HART protocol timing and bus arbitration analysis 27-33
2.2.2.1 timing analysis 27-28
2.2.2.2 device synchronization operations analysis 28-29
2.2.2.3 bus operation and arbitration analysis 29-33
2.2.3 HART protocol command 33-36
2.2.3.1 Equipment Identity command 33-34
2.2.3.2 measured value operation command 34-35
2.2.3.3 Burst Mode configuration commands 35-36
2.3 This chapter subsections 36-37
the
HART protocol communication system hardware to achieve 37-49
3.1 hardware overall design 37-39
3.1.1 system design 37
3.1.2 hardware overall program 37-39
3.1.3 hardware works 39
3.2 hardware module design 39-47
3.2.1 microcontroller (MCU) modules 39-41
3.2.1.1 module functions 39
3.2.1.2 P89LPC936 Model selection 39-41
3.2.2 4-20mA current loop module 41-45
3.2.2.1 AD421 chip introduced and functional analysis 41-42
3.2.2.2 AD421 analog output 42-43
3.2.2.3 AD421 digital output 43-44
3.2.2.4 AD421 power supply and reference voltage 44-45
3.2.3 HART protocol modem module 45-47
3.2.3.1 the HT2015 chip introduced and functional analysis 45
3.2.3.2 HT2015 interface with other devices 45-47
low power consumption of the 3.3-power analysis and hardware design 47-48
3.4 Chapter Summary 48-49
Chapter HART protocol communication system software design 49-81
4.1 software design overall structure 49-51
4.2 underlying program design 51-58
4.2.1 timing program 51-53
the
the 4.2.2 serial transceiver calibration procedure 53-56
4.2.3 FLASH program 56-58
4.3 motherboard communication program 58-65
4.3.1 I 2C interface's configuration 58-59
the 4.3.2 custom frame format 59-61
4.3.3 standard interface 61
4.3.4 communication process 61-62
4.3.4.1 request frame transmission process 62
4.3.4.2 response frame transmission process 62
4.3.5 Communication program 62-65
4.4 data link layer procedures 65-71
4.4.1 frame receiving parser are found; 66-70
4.4.2 frame encapsulation sending program 70-71
4.5 main state machine program 71-74
4.5.1 initialization state 71
4.5.2 receiving state 71-73
4.5.3 unexpected state 73-74
4.5.4 Acknowledge Status 74
4.6 Application layer program 74-79
4.6.1 command handler 75-76
4.6.2 state program 76-79
4.7 software anti-jamming and low power design 79-80
4.7.1 software anti-jamming design 79
4.7.2 software, low-power design 79-80
4.8 This chapter subsections 80-81
Chapter system debug and functional test 81-85
5.1 the PC machines debug system 81-82
5.2 debugging environment 82-83
5.3 Functional Test 83-84
5.4 This chapter subsections 84-85
Chapter 6 Conclusions and Prospects 85-87
Acknowledgements 87-88
the
References 88-90
the
attack Shuo achieved during the research 90-91
Appendix 1 communication circuit board schematics 91-92
the
Appendix 2 communication board circuit PCB diagram 92-93
the
Appendix 3 BELL202 modem circuit schematic 93-94
Appendix 4 BELL202 to is the modem PCB diagram 94-95
Related dissertations
- The Investigation of an High Accuracy Temperature Transducer Base on HART Protocol
- Design and Application of Energy Measurement System in a Cigarette Factory
- Research of HART Communication Protocol Used to Smart Transducer
- Applying Fieldbus Technology in Distributed Control System
- Based on Fieldbus Technology propellant Monitoring System
- The Development of Intelligent Pressure Transmitter Based on WorldFIP Fieldbus Technology
- Design of Smart Field Communicatior Based on Dsp Technology
- Based on HART Protocol Smart Temperature Transmitter Design
- Research on Solid Materials Storage and Transportation Control System
- Research and Realization of the Control System to Improve the Conversion Efficiency of Solar Photovoltaic
- Research and Application Based on Fieldbus Temperature Control System of Reaction Kettle
- Research and Design of High-power Temperature Control System Based on PROFIBUS
- The Development of PROFIBUS-DP Embedded Slave Station Module Based on DPC31
- Design of DeviceNet-CANopen Integrated Slave Node
- Research of Heterogeneous System Integrated Optimization Based on OPC DX Technology
- Research on the Slave Station for AC Servo Driver Based on DeviceNet Fieldbus
- Design of Autocontrol System of Ingredient Process
- Design and Implementation of Smart Pressure Transmitter
- Research of Integrated Slave Node Based on PROFIBUS-DP and MODBUS
- Research and Development of the Internet of Things Based on Lonworks