The Study of the Measuring System of Oil-water Interface and the Control System
- Author
- ShangXuChao
- Advisor
- WangAnMin
- School
- Qingdao University of Science and Technology
- Major
- Mechanical Manufacturing and Automation
- Classification
- TE972 Oil and gas database, oil and gas tank
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 79
- Citations
- 2
Abstract
In the production process of crude oil, the crude oil exploited from the oil well has certain moisture content, because the specific gravity of oil and water is different, the water in the crude oil will subside to the base of oil tank, and must be separated from the water in separation tank and finished crude oil with low water can be gotten. At the same time, the height of oil-water interface is the most important parameter which ensures the oil-water separation. Therefore, fast and accurate measuring of the interface is the key to make clear the quantity of water and oil output, and it also provides evidence to know the quantity and life of the oil well.After the careful study of present methods on oil-water interface detection at home and abroad, it is easy to know many of these methods’sensors are apt to be captured and are often high in price. As to such problems, this paper puts up with a new method, which takes advantage of the interface’s color saltation caused by different color between oil and water to achieve the on-line oil-water interface detection. This technique not only has the advantage of solving the work problem and high price, but also has the merits of being fast in response, simple in structure, good in security and high in reliability, so it is a technique that has great value of practice and popularization.The whole instrument is made up of hardware and software parts. The paper has introduced the hardware parts’ design algorithm and their function in details, and then given a lot of facts of designing the software parts. This paper also has focused on how to realize the upper monitor’s control to lower computer throuth serial communication and then how to design the oil-water interface detection instrument using Visual Basic 6.0 Programming Language’s visual control software. Finally, this paper has summarized the deficiencies of this topic and extracts some constructive advices for the further improvement.The characteristic of this paper is the adoption of color sensor technich and computer remote monitoring in oil field’s production, and this paper also has proposed a new solution to the difficult problem of oil-water interface detection.
Table of contents
Abstract 4-5
ABSTRACT 5-10
1 Introduction 10-16
1.1 Introduction 10-11
1.2 domestic and international oil-water interface detection methods and problems 11-13
1.3 thesis research content 13-14
1.4 This chapter Summary 14-16
2 overall planning 16-32
system 2.1 overall structural design 16-19
2.1.1 crude oil production process 16-17
2.1.2 system overall structural design 17-18
2.1.3 system overall block diagram 18-19
the
systems 2.2 module design 19-21
2.2.1 system to achieve the functionality 19-20
2.2.2 function module divided 20-21
2.3 The main components of choice and related technology 21-31
2.3.1 Sensor 21
2.3.2 microcontroller 21-27
2.3.3 stepper motor 27-28
2.3.4 photoelectric encoder 28-30
2.3.5 RS-485 bus and RS-232/485 converter 30-31
2.4 This chapter Summary 31-32
3 system hardware design 32-68
3.1 system hardware design principles 32-33
3.2 system reset circuit design 33-36
3.3 system the show circuit design 36-37
3.4 stepper motor control circuit design 37-59
3.4.1 stepper motor works 38-40
3.4.2 stepper motor drive circuit 40-43
3.4.3 Stepper Motor Subdivision Driver and isolation circuit 43-47
3.4.4 stepper motor to start and variable frequency acceleration control 47-50
3.4.5 stepper motor control circuit design and driver chips 50-59
3.5 photoelectric encoder output signal processing circuit design 59-62
3.5.1 photoelectric isolated part of the circuit design 59-60
3.5.2 damping part of the circuit design 60-61
3.5.3 quadruple frequency part of the circuit design 61-62
3.5.4 count and output part of the circuit design 62
3.6 oil-water interface detection probe design 62-66
3.6.1 TCS230 color sensor 62-65
3.6.2 oil-water interface detection probe 65-66
3.7 system overall circuit design 66
3.8 This chapter Summary 66-68
4 system software design 68-81
4.1 programming language choice 68-69
4.2 development tools choose 69-70
4.3 system software design principles 70
4.4 system main program design 70-73
4.5 keyboard the control subroutines design 73-74
4.6 stepper motor control subroutine designed 74-78
4.7 color sensor interface detection routine designed 78-79
4.8 data display routines designed 79
4.9 interrupt subroutine designed 79-80
4.10 This chapter Summary 80-81
5 serial communication with the host computer software design 81-98
5.1 serial communication Profile 81
5.2 RS-485 bus technology and driver chips 81-84
5.3 monitoring and control system composed of structural 84-85
5.3.1 main control part 84
5.3.2 84 from the control part
5.3.3 data acquisition part 84-85
5.4 PC with RS485 communication interface design 85
5.5 serial communication program design 85-95
5.5.1 the lower machine communication software design 86-91
5.5.2 upper Communication Software Design 91-95
5.6 upper computer software design 95-97
5.6.1 the host machine software overall program design 95-96
5.6.2 host computer interface design 96-97
5.7 This chapter Summary 97-98
6 system's anti-jamming measures 98-103
6.1 interference classification and coupling 98-99
6.1.1 interference classification 98
6.1.2 interference coupling 98-99
6.2 anti-jamming hardware measures 99-101
6.3 anti-jamming software measures 101-102
6.4 This chapter Summary 102-103
Summary and Outlook The 103-105
summarize 103
Looking 103-105
the
References 105-108
Acknowledgements 108-109
studying for a degree during the thesis 109
during the degree to participate in scientific research 109
studying for a degree during the application of the patent 109-110
Related dissertations
- The Impact of Control System Design Based on ARM
- A Multi-channel Data-Acquisition Processing System of Wireless Laser Shooting Target
- Research on the Intelligent Instrument for Monitoring Oil-water Interface
- Design of the Frequency Phase Generator in the Intelligent Test System
- Design and Implementation of Hydrological Information Telemetry System Based on GSM
- Design and Implementation of Management System of the Sms Alarm
- Emulsifier Fault Diagnosis System Research Based on Data-driven
- Research on PLC remote monitoring technology based on Internet
- Design of an Automatic Test System for Radar
- Study of Vision-based Tracking and Positioning System for Moving Target in a Large-scale Space
- Development and design of intelligent residential area centralized control system
- Development of Simple Controller Device
- Development of Automatic Towel Hemming Machine Control System
- PID Parameters Adjustingand Optimization Tuning Assistant by Upper Computer
- Research on Robot Teaching-box Based on an Embedded Computer
- Research on Batch Testing Platform Technology of the Acceleration Sensor
- The Development and Application of Tobacco WMS Based on RFID
- Design and Implementation of Student Information Management System for the Secondary College of University
- Design and Application of Remote Meter Reading System of Shenyang Power Company
- Warehouse Management System