USB-HART Modem Design and meter reading software development
- Author
- ShiFeng
- Advisor
- ZhaoHui
- School
- University of Electronic Science and Technology
- Major
- Detection Technology and Automation
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 44
- Citations
- 0
Abstract
HART protocol is a two-way communication protocol can remotely control field instrumentation , digital frequency signal superimposed on the traditional 4 to 20 mA analog signal loop . As the average of the digital signal is 0 , so it does not affect the control system of the analog signal , to ensure the compatibility with the analog signal . Shows that smart meters in the transition to digital HART protocol transition period when , as in the instrumentation industry gradually digitized its role in a longer period of time , according to the current situation of our country , the HART protocol as a communication instrument market there is still a long lifetimes . There are various handsheet HART protocol for communication in the market , but are very few applications on the PC . In view of this , would like to develop a way to control handsheets based laptop , the vast majority of notebook computers have only USB interface , so we wanted to design a USB-HART Modem converter . It can be a laptop connected to a PC running the software interface , traditional hand-written by the operation of the interface , and the full realization of human-computer interaction . The topics in the design mainly divided into two categories , USB-HART Modem hardware circuit design, interface design software on the laptop . Hardware circuit to achieve the functionality preparation of large amounts of data and are familiar with the HART protocol specification . Completed the hardware circuit mainly by the microcontroller module , noise suppression and load driver module , power module , filter circuit module , modem module and USB to serial communication module , and these modules together to achieve the HART physical layer requirements . PC software design is completed in accordance with the requirements of HART communication protocol in the data link layer and application layer . The software interface is based on dialog , five from the dialog box , USB-HART Modem converter function from the dialog box contains a main dialog . Connection test , verify the software to work properly , the final software applications Note . Designed with traditional HART hand-written function . Run on the PC , so make the operation more convenient , looks more intuitive , and should have good market prospects .
Table of contents
Abstract 4-5
ABSTRACT 5-10
first chapter 10-16
1.1 Introduction to Fieldbus 10-11
the development and characteristics of the 1.2 Fieldbus 11-12
1.3 HART protocol technology background 12-15
The
contents and chapter 1.4 of this thesis arranged 15
1.5 This chapter subsections 15-16
Chapter HART protocol and analysis 16-29
2.1 HART protocol specification analysis 16-23
2.1.1 HART protocol model 16-17
2.1.2 Physical Layer Specification Analysis 17-18
the 2.1.3 data link layer specification analysis 18-23
2.1.4 application layer specification analysis 23
2.2 HART protocol implementation analysis 23-28
2.2.1 HART protocol network model 23-24
2.2.3 HART protocol command 24-28
2.3 This chapter subsections 28-29
third HART MODEM hardware design 29-40
3.1 system framework design 29-31
3.1.1 System design background and application 29-30
3.1.2 hardware framework design 30-31
3.2 hardware circuit design 31-38
3.2.1 microcontroller module 31-32
3.2.3 HART protocol modem module 32-38
3.3 USB to serial port communication design 38-39
3.4 PC serial port driver installation 39
3.5 Chapter Summary 39-40
Chapter IV PC software designed 40-72
4.1 software framework designed 40-42
4.2 software interface design basis 42-45
4.2.1 dialog box 42
4.2.2 common controls 42-44
4.2.3 message mapping mechanism 44
4.2.4 serial communication 44-45
4.3 interface design specific implementation 45-56
4.3.1 framework and dialog to establish 46-47
4.3.2 set variables and create message mapping 47-54
4.3.3 to establish the serial communication mechanisms 54-56
4.4 data link layer procedures 56-64
4.4.1 timing set 57-58
the
the 4.4.2 serial receiver parser 58-63
4.4.3 serial send program 63-64
4.5 Application layer program 64-71
4.5.1 data format 64-66
the 4.5.2 online test dialog achieve 66-68
4.5.3 process variable measurements dialog box function 68-70
4.5.4 Basic parameters Settings dialog box 70-71
4.6 This chapter subsections 71-72
Chapter V system installation and functional testing 72-76
5.1 installation instructions 72-73
5.1.1 Application Notes 72
5.1.2 system requirements 72
5.1.3 system 72-73
5.1.4 install connection 73
5.2 Functional Test 73-75
5.2.1 Basic parameters of the connection test 73-75
5.2.2 Notes 75
5.3 This chapter Summary 75-76
Chapter 6 Conclusions and Prospects 76-77
Acknowledgements 77-78
the
References 78-80
the
attack Shuo achieved during the research 80-81
Appendix 1 USB-HART MODEM circuit schematic diagram and PCB diagram 81-82
the
Appendix 2 USB-HART MODEM physical map 82-83
Related dissertations
- Research and Realization of Monitoring System in Combination Switch Based on Fourier Series Algorithm
- Design of the High-speed Data Acquisition System Based on USB Interface
- Control system design of robot based on ARM
- Design and Implementation of Smart Pressure Transmitter
- Design and Implementation of the Motion Control System Based on USB Interface
- Textphone Interface Design Using Microchip Graphics Library
- Constant Pressure Water Supply System Design and Implementation Based on Variable Frequency
- Research on Simulated Dynamic Positioning System of Vessels
- Research on Man-machine Interface Integrated Evaluation for Large-scale Ship Wheelhouse
- Heavy-Duty Truck Cab on Ergonomics Analysis
- The Study on Carrier Designing of Chinese Urban Traffic Guidance System
- Research of Embedded Devices Based on Home Medicalmonitor
- Pneumatic and Realization of the intelligent valve positioner
- Research on Virtual Digital Camera Based on Camera Link Interface
- Research on Ventilation Test System of the Filter in the Closed Cabin Underwater
- Research of CNC Modeling Based on Man-machine System Design
- Research on the Key Technology of Compiled-typed Cnc System Based on USB Communication Interface
- Automatic Adjustment of Downhole Pressure in Water Supply Network with the Exception of Early Warning System
- Design of Portable Methane Gas Detection with USB Interface
- Study of Oil Pipeline Leak Detection Based on HART Communication