Research on the Key Technology of Intelligent Electromagnetic Flowmeter Based on HART Protocol
- Author
- SunLiMei
- Advisor
- ZhaoHui
- School
- Tianjin University of Technology
- Major
- Detection Technology and Automation
- Classification
- TP212.6 Intelligent sensors
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 239
- Citations
- 4
Abstract
Electromagnetic flowmeters because of its simple structure, no moving parts and obstruction measured media the flow disturbances pieces or cutting pieces and widely used in areas such as industrial production. Although China has made some achievements in the electromagnetic flow meter development, but due to the domestic flow instrumentation there is more information in the system design conversion links, and most of the lack of advanced signal processing capabilities of the small signal cut, non-linear compensation and digital filtering impact system detection accuracy and anti-jamming capability; addition, network communication interface is generally only configure the RS-232 or RS-485 serial interface, networking and communications capabilities. Fieldbus control system represents the direction of the development of industrial control system to a decentralized, networked, intelligent. To build fieldbus type of industrial measurement and control system, the requirements of all instruments in the system should have the fieldbus. In the process of transformation of the analog system to digital system, HART protocol is only backwards compatible smart meter solutions retain compatibility with existing system 4 ~ 20mA fieldbus series of advantages. Therefore, using the HART bus technology developed bus type electromagnetic flow meter is one of the key issues that enhance the technical level of industrial automation instruments and their master control system in China. To this end, this paper on the basis of the analysis on the the electromagnetic flowmeter key technology, research, compare and argument, the overall structure of the design of intelligent electromagnetic flow transmitter based on HART protocol. The main contents are as follows: paper HART protocol made a more comprehensive analysis. HART protocol uses a simplified model of the ISO / OSI physical layer provides for the transmission of the signal, and the signal level content. The data link layer provides the device type, and the data transmission frame format. The command layer provides for a variety of command and response code HART protocol. Intelligent electromagnetic flowmeter based on HART protocol communication function is implemented various specifications based on HART. In the hardware circuit in the focus of system acquisition amplification circuit, the excitation generation circuit, the analog-to-digital converter circuit, a communication interface circuit and system jamming circuit design and analysis. Analog Devices has introduced a high-performance synchronous V / F converter AD652, the sensor voltage signal acquisition and conversion, and improve the system detection accuracy. At the same time, the use of low-power CMOS chips P89C51RD2FN and X25045 chip constitutes SCM system, with power-down protection, self-diagnostic function, the input and output circuits using electrical isolation and overcurrent protection measures, not only simplifies the hardware design, but also improve the system reliability and anti-interference ability. SMAR company HART signal modulation and demodulation chip HT2012, 4 ~ 20mA analog signal does not interfere with HART communication circuit, two-way digital communications. Intelligent instrument and bus. System software MCS-51 microcontroller assembly language, and modular design method, a programmed divided into several small modules complete different functions in different modules, each module to maintain a relative independence. Including initialization subroutine, instrument monitoring the main program, the AD sampling subroutine, HART communications subroutine. Software interrupt handling mechanism, and software trap instruction processing means such as redundancy and watchdog technology to improve the performance of anti-jamming system. Sampling across the resistor connected to the meter standard PC serial port with a modem meet Be11202 communications standards, HART communication between a host computer flowmeter. Experiments show that the instrument conforms to the HART protocol specification, can be sent to the host computer command frame to make the appropriate response, HART bus communication function. Standard table comparison indicates that the instrument can meet on the front end of the sensor output voltage signal measurement, volume flow measurement accuracy requirements, and can also display the instantaneous flow rate and the pros and cons of two-way cumulative flow, and have a variety of alarm output, pulse width adjustable and excitation frequency adjustable features, the basic realization of intelligent electromagnetic flow transmitter performance and functionality requirements.
Table of contents
Summary 5-6
Abstract 6-9
first chapter 9-17
1.1 traffic detection technology, meaning 9
1.2 Introduction to electromagnetic flowmeter 9-15
1.2.1 Faraday's law of electromagnetic induction the works 10
1.2.2 Electromagnetic Flowmeter 10-12
1.2.3 Electromagnetic Flowmeter Features the 1.2.4 the history and status quo of the electromagnetic flowmeter 12-13
13-14
1.2.5 Electromagnetic the direction of flow measurement technology development 14-15
1.3 of the topics of significance nbsp a; the 15-16
1.4 In this thesis, the main research contents 16-17
System Analysis and Design 17-27 the
the 2.1 task analysis and the design principle 17-18
2.1.1 system functionality requirements 17 < br /> 2.1.2 system design principles the 2.2 system key technologies 17-18
the 18-25 2.2.1 excitation technology
18-21
2.2.2 analog-to-digital conversion technology the 2.2.3 system anti-jamming technology 21
21-24
2.2.4 fieldbus communications technology 24-25
2.3 System Architecture Design 25-27
Chapter HART protocol analysis 27-38
3.1 HART physical layer specification 27-28 < br /> 3.1.1 physical device type 27-28
3.1.2 Physical Layer areas 28
3.2 HART data link layer specification 28 - 34
3.2.1 application environment 28
3.2.2 device type the 28-29 3.2.3
service and protocol specifications 29-33 < br /> 3.2.4 HART communication to send and receive the 33-34
3.3 HART application layer specification 34-38
3.3.1 HART commands About 34 -36
3.3.2 response code 36-37
3.3.3 Device Description (DD) 37-38
Chapter hardware circuit design 38-53
4.1 SCM system 38-42
4.1.1 Central Processor 38-39
4.1.2 CPU monitoring circuit 39-41
4.1.3 keyboard and display interface design 41-42
4.2 excitation system design 42-43
4.3 voltage to frequency converter circuit design 43-45
4.3.1 V / F converter basic principle the 43-44
4.3.2 V / F converter 44-45
4.4 HART communication module 45-50
4.4.1 HART signal modem 45-46
4.4.2 HT2012, CPU interface circuit 46-47
4.4 .3 other auxiliary circuit 47-49
4.4.4 HART signal workflow nbsp a; 49-50
4.5 4-20mA loop current module 50-53
4.5.1 D / A converter the 50-51 4.5.2 AD421 working principle
the 51-52 4.5.3 current output circuit design
52-53
Chapter V software design 53-65
5.1 initialization routine 53-54
5.1.1 internal register settings 53-54
5.1.2-chip RAM and I / O initialization 54
5.2 main monitoring program 54-55 AD sampling
5.3 subroutine 55-56
5.4 HART communication subroutine nbsp the; 56-65
5.4.1 INTO interrupt service routine 57
5.4.2 serial interrupt The service program 57-62
5.4.3 T2 interrupt service routine achieve nbsp 62-64
5.4.4 application layer; 64-65
first The six chapters of experiments and system testing 65-77
6.1 Experiments and results 65-70
the 6.1.1 experimental apparatus and the requirements 65
6.1. the 2 excitation signal output the 65-66
6.1.3 sampling and processing of traffic signal 66-67
6.1.4 meter factor calibration 67-69
6.1.5 Experimental results and analysis 69-70
6.2 functional testing and results 70-77
6.2.1 Communications Test 70-76
6.2.2 empty pipe detection function 76-77
Chapter VII Summary and Outlook 77-78
References 78-80
Acknowledgements 80
Related dissertations
- Design and Implementation of Smart Pressure Transmitter
- Pneumatic and Realization of the intelligent valve positioner
- Study of Oil Pipeline Leak Detection Based on HART Communication
- Development of Quantitative Loading Monitoring Device Based on the ARM
- Research and Design Based on the HART Protocol of Intelligent Pressure Transmitter
- Research on General Telemetry Data Processing Platform and Exterior Ballistic Estimation Methods
- Research and Implementation of a General Missile Telemetry Data Processing Platform
- Based on HART protocol smart valve positioner Design and Implementation
- The Development of Several Automatic Devices for Educational Purpose
- Smart Pressure Transmitter Calibration System Design and Implementation
- Research of HART Communication Protocol Used to Smart Transducer
- Study on Intelligent Execution Mechanism Based on HART Protocol
- The Research and Development of HART Protocol Based Signal Collecting/alarming System
- Applying Fieldbus Technology in Distributed Control System
- Based on Fieldbus Technology propellant Monitoring System
- The Investigation of an High Accuracy Temperature Transducer Base on HART Protocol
- HART Protocol Based Micropower Intelligent Electric Pneumatic Valve Positioner
- Intelligent Pressure Transmitter Based on HART Protocol
- The Research on an Intelligent Variable-area Flow-meter Based on Hart Protocol
- HART protocol and XML technology extended finite state machine - based C code implementation