The Design of Oil Exploitation Interim Controller Based on LPC2210 and μC/OS-Ⅱ
- Author
- WeiMeng
- Advisor
- WangXiaoLiang
- School
- Dalian University of Technology
- Major
- Control Theory and Control Engineering
- Classification
- TM571.6 Special controller
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 180
- Citations
- 1
Abstract
In this paper , in the late oil exploration in oil production , beam pumping unit motor \optimization algorithm for system optimization calculation method , calculates the best boot time and shutdown time , the oil well system to be optimized . Many BP algorithm , LMBP algorithm for its fast convergence has been widely used. In this algorithm based neural network model constructed wells system to be realized , and object-oriented C program . Optimization calculation , we use the global search ability of genetic algorithm , and the floating point number coding to overcome the lack of binary coded . The combination of these two algorithms that became the core of the system , the purpose of calculating the best boot time and downtime , to achieve the advantages of one of the most comprehensive index of well yield and boot time . The whole system consists of two parts of the flow sensor and the intermittent controller . The real-time flow of oil as a parameter of the system model to be collected and calculated , this article using the charge transfer method to calculate the flow sensor probe capacitance change with limit switches installed in the pumping unit crank eventually calculate the flow of oil . Intermittent production controller Philips ARM7-based LPC2210 processor the peripheral chip itself , such as real-time clock , capture compare module and so the system is designed to provide convenient and software aspects of the system also uses open source μC/OS- Ⅱ operating system as the software underlying support , software writing more simple and flexible . Although the power factor of the motor as model parameters , but it reflects the condition of the oil wells internal diagnostic information system retains the functionality of the power factor . The system has the function automatically switches the motor connection so that the motor can automatically adapt to the wells to changes in load . And the system also has the overcurrent protection, phase protection, 10 seconds before the start , alarm and other functions . The system also left 232 interface for remote transmission of data to the monitoring center , order and connected to the GSM module , wireless networking .
Table of contents
Abstract 4-5
Abstract 5-9
Introduction 9-11
1 wells system modeling 11-26
1.1 LM optimization algorithm and neural network 11-17
1.1.1 Levenberg-Marquardt optimization method 11-14
1.1.2 based on the Levenberg-Marquardt optimization algorithm the BP algorithm 14-17
1.2 LM neural networks, object-oriented programming 17-23
1.2.1 CMatrix build 17-19
1.2.2 Jacobian matrix J 19-21
1.2.3 LM neural network algorithm for the program to achieve 21-23
1.3 wells system modeling 23-26
1.3.1 wells system working conditions 23
1.3.2 wells system neural network modeling 23-26
2 intermittent control algorithm 26-32
2.1 wells intermittent control objective function 26-28
2.1.1 objective function to establish 26-27
2.1.2 objective function embodied 27-28
2.2 multi-parameter genetic algorithm based on a floating-point number coding 28-29
2.2.1 Genetic Algorithm basic steps 28-29
2.2.2 encoding select 29
2.3 intermittent control algorithm to achieve 29-31
the
simulation results 2.4 intermittent control algorithm 31-32
3 crude oil flow measurement 32-41
3.1 sensor probe 32
3.2 measurement circuit design 32-37
3.2.1 charge and discharge the capacitance measurement circuit 33-34
the 3.2.2 R_f and C_f circuit 34-36
3.2.3 measurement transmitter circuit 36-37
3.3 hydrocarbon ratio is calculated 37-39
3.3.1 weights calculated 37-38
3.3.2 Oil and Gas ratio calculation 38-39
3.4 Crude oil flow calculation method 39
3.5 Experimental data and analysis 39-41
4 system hardware design 41-55
the the
the 4.1 oil recovery intermittent controller hardware framework 41-42
4.2 LPC2210 microcontroller and its peripheral circuit 42-47
4.2.1 LPC2210 microcontroller 42-43
4.2.2 power circuit 43-44
4.2.3 reset circuit 44-45
the 4.2.4 system clock circuit 45-46
4.2.5 memory circuit 46-47
4.3 power factor detection circuit 47-49
4.3.1 power factor calculation 47-48
4.3.2 power factor detection circuit 48-49
4.4 system protection circuit 49-51
4.4.1 phase protection circuit 49-50
4.4.2 current detection circuit 50-51
4.5 man-machine interface circuit 51-52
4.5.1 keyboard circuit 51
4.5.2 display interface circuit 51-52
4.6 system output interface 52-53
4.7 serial communication interface 53-55
5 system software design 55-70
5.1 μC/OS- II operating system 55
5.2 The main program flow 55-58
5.3 traffic detection task 58-60
5.4 system modeling tasks 60-61
5.5 to optimize computing tasks 61-62
5.6 keyboard scan tasks 62-65
5.7 display tasks 65-66
5.8 interrupt handling 66-70
5.8.1 Timer 1 interrupt 66-67
5.8.2 A / D conversion interrupt 67-70
concluded 70-71
the
References 71-73
during the master's degree Post academic situation 73-74
Acknowledgements 74-75
the
Dalian University dissertation Copyright use the power of attorney 75
Related dissertations
- Intelligent Intrusion Detection Algorithm for WLAN
- Application of Soft Switch Technology in Switching Power Supply and Harmonic Analysis
- An Intelligent Control Method for the Shifting of the Dry-type DSG
- Analysis of Draw Flow Field and Deformation Control during Extrusion of Polymer Catheter
- Stock Prediction Based on Genetic Neural Network Algorithm
- Research of P2P Detection Based on Genetic Neural Network
- Research on the Optimal Methods of the Listed Company Financial Distress Prediction
- Analog Circuit Fault Diagnosis Based on Neural Networks
- The Application of GA-BP Nneural Network in the Navigation Path Planning
- Self-propelled artillery optimization method and its application
- Prediction of Interference Path Loss from PEDs Inside an Aircraft Cabin to Exterior Fuselage-mounted Antennas Based on Hybrid Neural Network
- Research on Elid Grinding Mechanism and Technique for Monocrystalline Silicon
- A Study on Intelligent Detection and Control Approaches of Distortion Currents for Active Power Filters
- Intelligent Soft Computing Method and Application to the Forward and Inverse Analysis of Dam’s Security Monitoring Data
- The Experiment and Optimization Approaches Research on Selective Laser Sintering Process
- Study on Small Business Credit Scoring and Its Application Based on Logistics-ANN Model
- The Logistics Center Location Planning of Tralin Group Straw Supply
- Stock Price Index Analysis and Prediction Based on Data Mining Technology
- Research on Elevator Group Control System Scheduling Policy and Simulation Design
- Study on MDF Continuous Press Position Servo System Modeling and Intelligent Control