Development of the Multi-Channel Gas Flow Computer

Author
WangJianJun
Advisor
YangJiang
School
Zhejiang University
Major
Detection Technology and Automation
Classification
TH814 Flow Meter
Degree
Master's thesis
Year
2013
Downloads
42
Citations
0

Request the full text

Abstract

With a large number of the national natural gas pipeline construction, the need for com-mercial flow computer increases significantly. A muti-functional, low-cost and configurable gas flow computer has been developed in this paper after analysis and summarization of existing flow computers.The main contents of this paper are:1. Implementation of high-precision compressibility factor algorithm SGERG-88and AGA8-92DC. Tests were performed and the results show that the proposed algorithm satisfies the computation requirement.2. Proposal of Vector Floating-Point Coprocessor (VFP) available microprocessor S3C6410X and Embedded Linux based, bus connected, multiple plug-in flow computer.3. Developed the principle of the flow computer prototype, including hardware design of CPU card, base board and flow card, software design as well as prototyping testing.4.Design and implement of Modbus/TCP and Modbus based protocol.The main contributions or innovation points of this paper are described as follows:1. The accuracy of calculating the compressibility factor can reach0.1%, owing to the adoption of the high-precision algorithms AGA8-92DC and SGERG-88from National Standard "GB/T17747-2011Natural Gas Compressibility Factor Calculation"2. The VFP11embedded in S3C6410X is used to process the double precision floating number computation, so that the flow computer is capable of real-time processing of mul-ti-channel sampling data.3. The low-power consumption microprocessor MSP430F5438by Texas Instrument is ap-plied on the flow card, which makes it capable of receiving independently all the signals of a measure point. These signals are used for calculating the volume flow or heat Thus parallel computation of multichannel can be achieved, resulting in the enhancement of system real-time performance and reduction of computation burden for S3C6410X. Since each flow card will manage all data through one flow channel, the communication protocol and configuration soft-ware for host computers can be simplified. Furthermore, the design makes it easier to fault de-tect, isolate and change the flow cards, as well as realize hardware redundancy.4. It is an irresistible trend that the quantity of heat, instead of volume of gas, will be used for commercial gas measurement. The proposed flow computer is capable of measuring the quantity of heat based on signals such as throughput volume, concentration and enthalpy of known ingredients.

Table of contents

Summary 5-7 Abstract 7-11 Chapter 1 Introduction 11-21 1.1 Background 11-14 1.1.1 national energy strategy 11 1.1.2 gas transport 11-14 1.1.3 Status metering of natural gas 14 1.2 development Status flow Computer 14-17 1.3 content and significance of this study 17-18 1.4 The paper is 18-21 Chapter 2 measurement of gas and compression factor algorithm 21-37 2.1 volume flow conditions 21-22 2.2 standard volumetric flow 22-23 <br / > 2.3 compression factor is calculated 23-30 2.3.1 AGA8-92DC 24-27 2.3.2 SGERG-88 27-29 2.3.3 AGANX-19 29-30 2.4 AGA8-92DC algorithm optimization 30-35 2.5 energy metering of natural gas 35-36 <br / > 2.5.1 gas at standard reference conditions to calculate the volume of heat 35-36 2.5.2 energy flow calculation formula 36 2.5.3 energy calculation method 36 2.6 Summary 36-37 Chapter 3 hardware Design 37-53 3.1 functional requirements 37-38 3.2 design 38 3.3 CPU card design 38-46 3.3.1 master chip selection 39-40 3.3 .2 storage module 40-42 3.3.3 HCI module 42 3.3.4 communication module circuit 42-46 3.4 traffic card design 46-50 3.4.1 flow cards consisting 46-47 3.4.2 A / D converter module 47-48 3.4 .3 D / A converter module 48 3.4.4 HART module 48-50 3.5 backplane 50-51 3.5.1 power Design 50-51 3.5.2 bus design 51 3.6 Summary 51-53 Chapter 4 software Design 53 - 77 4.1 embedded software 53-55 4.1.1 embedded Linux systems 53-54 4.1.2 Qt Profile 54 4.1.3 SQLite Introduction 54-55 4.1.4 Qwt graphics Library Introduction and transplantation 55 4.2 cross-compiler environment to build 55 - 57 4.3 Qt related software porting 57-58 4.3.1 transplantation Qt4.7.0 57 4.3.2 transplantation Qwt 57-58 4.3.3 qextserialport class transplant 58 4.4 Qt-based application development 58-67 4.4.1 monitoring interface module 60-63 <br / > 4.4.2 network Programming module 63-64 4.4.3 serial communication module 64-65 4.4.4 database module 65-67 <br / > 4.4.5 algorithm module 67 4.5 communication protocol design 67-73 4.5.1 Modbus protocol programming 68-71 4.5 .2 Modbus / TCP protocol programming 71-73 4.6 software design flow card 73-75 4.7 Summary 75-77 Article Chapter 5 prototype testing 77-87 5.1 physical map 77-78 5.2 algorithm testing 78-82 5.2.1 AGA8-92DC test 78-80 5.2.2 SGERG-88 test 80-81 5.2.3 AGA NX-19 test 81 5.2.4 algorithm test comparing 81-82 5.3 database testing 82-83 5.4 communications test 83-84 5.5 traffic signal test card 84-85 5.6 test Summary 85-87 Chapter 6 summary and Outlook 87-89 6.1 summarizes 87-88 <br / > 6.2 Prospects 88-89 References 89-93 master's degree in the same period to participate in research projects and published papers 93-95 <br / > Thanks 95