Electric pump well fault diagnosis system and method based on fuzzy logic
Through an electric pump well fault diagnosis system based on fuzzy logic, combining dynamic and static data, and using membership functions for fault judgment, the problem of low reliability of fault diagnosis in the existing technology is solved, and higher diagnostic accuracy and reliability are achieved. sex.
Patent Information
- Application Number
- CN202111024040.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-01
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-09-01
AI Technical Summary
The existing electric pump well fault diagnosis method has a single parameter and fails to fully consider the fault types of the entire electric pump well system, resulting in low fault diagnosis reliability.
An electric pump well fault diagnosis system based on fuzzy logic is used to collect dynamic parameters through downhole data collectors, wellhead sensors and surface electric pump control cabinets. Combined with static data, membership functions and fuzzy data analysis modules are used to analyze fault types. judge.
It effectively reduces fault misjudgments and improves the accuracy of fault diagnosis in electric pump wells. It comprehensively applies dynamic parameters and systematically classifies fault types, improving the accuracy and reliability of diagnosis.
Smart Images

Figure CN115726764B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of downhole electric pumps for oilfield exploitation, and in particular to a fuzzy logic-based electric pump well fault diagnosis system and method. Background Art
[0002] The application of electric submersible pumps in oil fields is increasing. However, the electric submersible pump unit has the structural characteristics of many and interrelated parts. In addition, the working environment of the oil well is harsh, the physical parameters of the well fluid change complexly, and the production string structure is diverse. The comprehensive failure rate of electric submersible pump wells is high during their use, and the types of failures are diverse. Usually, the failures of electric pump wells include control cabinet failure, electric pump failure, string failure, formation problems, surface pipeline failures, etc.; therefore, once a failure occurs in an electric submersible pump well, timely and accurate judgment of the fault type is conducive to accurately determine the fault location, save a lot of operating costs and repair costs, reduce the economic and time losses brought to the development of the oil field, and extend the normal production of the oil well. Therefore, it is of great significance to carry out research on real-time diagnosis methods for electric pump well faults, which can timely and accurately judge the working conditions of electric pump wells, ensure the operation time of electric pump wells, reduce maintenance costs, and improve equipment utilization.
[0003] The traditional fault diagnosis method for electric pump wells is mainly based on current. Although methods such as pressure holding method, vibration signal analysis, and artificial neural network analysis have emerged later, these methods use single parameters and do not fully utilize the dynamic parameters of the entire electric pump well system. They only consider electric pump failures without comprehensively considering the fault types of various parts of the entire electric pump well system, resulting in low reliability of fault diagnosis.
[0004] In the Chinese patent application with application number: CN201710083533.4, a system and method for diagnosing electric pump well faults is involved, which is applied to the diagnosis and treatment of electric pump faults in oil fields. The system includes a downhole submersible device, a cable, a downhole parameter measurement device, a control cabinet, a wellhead casing pressure, oil pressure, and temperature measurement device, a ground data acquisition and analysis system, a fault analysis processor, and a control cabinet current, voltage, and frequency data acquisition system. The steps are: establish a database of fault type characteristic parameters and corresponding treatment measures; obtain production characteristic parameters in real time; calculate real-time flow; calculate the average value of production characteristic parameters and flow in 4 time periods respectively; calculate the change range; calculate the comprehensive evaluation value; determine the fault type of the electric pump well; and recommend corresponding electric pump well fault treatment measures.
[0005] In the Chinese patent application with application number: CN201711499533.9, a method and device for diagnosing the fault of electric pump load being too low is involved, which involves the field of detection technology, so as to alleviate the lack of methods for diagnosing the fault of electric pump load in the prior art, and can realize the diagnosis of the fault of electric pump load being too low. Among them, the method for diagnosing the fault of electric pump load being too low includes: first, obtaining the current speed and current current of the electric pump, secondly, comparing the current speed with the calibrated speed, and then, when the current speed is greater than the calibrated speed, looking up the minimum current in the corresponding table, and the corresponding table contains the corresponding relationship between the actual speed value and the current value under different oil temperature conditions; then, judging whether the current current is less than the minimum current, and the moment of judgment is recorded as the timing zero point, and then, when the judgment result is yes, and the difference between the timing time and the timing zero point reaches 2000ms, it is judged that the load of the electric pump is too low.
[0006] In the Chinese patent application with application number: CN202010868582.0, a submersible electric pump unit monitoring and fault prediction device is involved, including: the downhole device collects the current operating status information of the submersible electric pump unit in real time, inputs the current operating status information into the gray prediction neural network model, obtains the predicted vibration acceleration data of the next cycle of the submersible electric pump unit, and when the vibration acceleration data of the next cycle exceeds the vibration acceleration threshold, all vibration acceleration data of this cycle are compressed and processed, and the compressed vibration acceleration data is sent to the uphole device. The uphole device decompresses the compressed vibration acceleration data to obtain all vibration acceleration data in this cycle and sends it to the host computer. The host computer performs fault prediction analysis on the submersible electric pump unit based on all the vibration acceleration data of this cycle.
[0007] The above existing technologies are all significantly different from the present invention and fail to solve the technical problem we want to solve. For this reason, we have invented a new electric pump well fault diagnosis system and method based on fuzzy logic. Summary of the invention
[0008] The purpose of the present invention is to provide a fuzzy logic-based electric pump well fault diagnosis system and method which introduces fuzzy logic data analysis method into the electric pump well fault diagnosis process, effectively reduces fault misjudgment, and improves the accuracy of electric pump well fault diagnosis.
[0009] The purpose of the present invention can be achieved through the following technical measures: an electric pump well fault diagnosis system based on fuzzy logic, the electric pump well fault diagnosis system based on fuzzy logic includes a downhole data acquisition device, a wellhead sensor, a ground electric pump control cabinet and an electric pump well fault diagnosis device based on fuzzy logic, the downhole data acquisition device is connected to the electric pump located at the bottom of the oil pipe, collects dynamic parameters of the electric pump well, and transmits the collected parameters to the electric pump well fault diagnosis device based on fuzzy logic, the wellhead sensor is located at the wellhead, tests the pressure and temperature data in the wellhead oil pipe, and transmits the test data to the electric pump well fault diagnosis device based on fuzzy logic, the ground electric pump control cabinet supplies power to the electric pump, and transmits the voltage, current and frequency data provided to the electric pump to the electric pump well fault diagnosis device based on fuzzy logic, the electric pump well fault diagnosis device based on fuzzy logic is connected to the downhole data acquisition device, the wellhead sensor and the ground electric pump control cabinet, and performs fault judgment according to the received data.
[0010] The purpose of the present invention can also be achieved by the following technical measures:
[0011] The electric pump well fault diagnosis system based on fuzzy logic also includes a downhole safety valve and an oil nozzle. The downhole safety valve is connected to the oil pipe and is located between the electric pump and the wellhead to control the on-off of the oil pipe channel. The oil nozzle is installed above the oil pipe wellhead to adjust and control the production.
[0012] The dynamic parameters collected by the downhole data collector include: pump inlet pressure, pump outlet pressure, motor temperature, and pump inlet temperature.
[0013] The electric pump well fault diagnosis device based on fuzzy logic includes a dynamic data reading and storage module, which receives dynamic data transmitted by the downhole data collector, the wellhead sensor and the ground electric pump control cabinet, including: pump inlet pressure, pump outlet pressure, motor temperature, pump inlet temperature collected by the downhole data collector; pressure and temperature in the oil pipe at the wellhead transmitted by the wellhead sensor; voltage, current and frequency of power supply to the electric pump transmitted by the ground electric pump control cabinet.
[0014] The electric pump well fault diagnosis device based on fuzzy logic also includes a static data input and storage module, which pre-stores static data, and the static data includes: oil well production data, electric pump characteristic parameters, and cable characteristic parameters.
[0015] The electric pump well fault diagnosis device based on fuzzy logic also includes a membership function parameter setting module, which is connected to the dynamic data reading and storage module and the static data input and storage module, stores the membership function parameter settings, and sets the corresponding membership function parameters for different dynamic parameters.
[0016] In the membership function parameter setting module, for each dynamic parameter x i , set the parameter N required for its membership function i 、a i 、b i ; N i is the dynamic parameter x in the past period of time i The time average value, a i is the parameter x i The mean square error, b i is the parameter x i The experience threshold of change.
[0017] The electric pump well fault diagnosis device based on fuzzy logic also includes a fuzzy data analysis module connected to the dynamic data reading and storage module, the static data input and storage module and the membership function parameter setting module. The fuzzy data analysis module reads the dynamic parameters x associated with each dynamic parameter x from the membership function parameter setting module. i The corresponding membership function parameters; and for each dynamic parameter x i Perform fuzzy data analysis; obtain the value Y used to describe the speed and trend of the parameter change i .
[0018] The electric pump well fault diagnosis device based on fuzzy logic also includes a fault diagnosis criterion parameter library, which pre-stores electric pump well fault diagnosis criterion parameters. The electric pump well fault diagnosis criterion parameters include: power supply voltage, current and frequency; pump inlet pressure, pump outlet pressure, pump pressure difference, motor temperature, pump inlet temperature; wellhead pressure and wellhead temperature.
[0019] The electric pump well fault diagnosis device based on fuzzy logic also includes a defuzzification module connected to the fuzzy data analysis module and the fault diagnosis criterion parameter library. The defuzzification module performs comparative analysis and reads the fuzzy value Y of the dynamic parameter of the fuzzy data analysis module. i , read the fault diagnosis criterion parameters pre-stored in the fault diagnosis criterion parameter library, use the weighted average method to calculate the fault possibility and determine the fault type.
[0020] Fault types include: 1. Control cabinet failure: control cabinet power failure, frequency increase or decrease, voltage rise or drop; 2. Electric pump failure: pump inlet blockage, pump shaft breakage, electric pump jam, electric pump cavitation; 3. Pipe column failure: pipe column blockage, pipe column leakage; 4. Formation problems: insufficient formation fluid supply, sharp drop in water content, sharp increase in water content; 5. Ground pipeline failure: oil nozzle enlargement, oil nozzle reduction.
[0021] The object of the present invention can also be achieved by the following technical measures: an electric pump well fault diagnosis method based on fuzzy logic, the electric pump well fault diagnosis method based on fuzzy logic comprises:
[0022] Step 1) storing static data;
[0023] Step 2) Setting membership function parameters;
[0024] Step 3) Establishing a fault diagnosis criterion parameter library;
[0025] Step 4) Collect current dynamic data x i ;
[0026] Step 5) performing fuzzy data analysis;
[0027] Step 6) Perform defuzzification processing.
[0028] The purpose of the present invention can also be achieved by the following technical measures:
[0029] In step 1, the stored static data include: oil well production data, electric pump characteristic parameters, and cable characteristic parameters.
[0030] In step 2, for each dynamic parameter x i , set the parameters required for its membership function; N i 、a i 、b i ; N i is the dynamic parameter x in the past period of time i The time average value, a i For the parameter x i The mean square error, b i For the parameter x i Changing experience points.
[0031] In step 3, a fault diagnosis criterion parameter library is established based on the electric pump well fault diagnosis criterion parameters, and the electric pump well fault diagnosis criterion parameters include: power supply voltage, current and frequency; pump inlet pressure, pump outlet pressure, pump pressure difference, motor temperature, pump inlet temperature; wellhead pressure and wellhead temperature.
[0032] In step 4, the current dynamic data collected include: pump inlet pressure, pump outlet pressure, motor temperature, pump inlet temperature; pressure and temperature in the oil pipe at the wellhead; voltage, current and frequency of power supply to the electric pump.
[0033] In step 5, read the i The corresponding membership function parameters; fuzzy data analysis is performed on each dynamic parameter; the value Y used to describe the speed and trend of the parameter change is obtained i .
[0034] In step 6, read the fuzzy value Y of the dynamic parameter i ,According to the fault diagnosis criterion parameter library, the weighted average method is used to calculate the fault possibility and determine the fault type.
[0035] The electric pump well fault diagnosis system and method based on fuzzy logic in the present invention comprehensively applies dynamic parameters, systematically classifies fault types, effectively reduces fault misjudgment, and improves the accuracy of electric pump well fault diagnosis types.
[0036] The advantages of the present invention are: creatively applying the fuzzy logic mathematical model to characterize the dynamic data projected into the interval [-1, +1], realizing the use of mathematical methods to characterize the speed and trend of the dynamic data change. The application of mean square error digital analysis calculation combined with the experience of engineers to set the key parameters in the fuzzy logic mathematical model improves the accuracy and reliability of dynamic data analysis. The calculation method is simple, easy to understand and apply, and can be widely used in various dynamic parameter analyses. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a structural diagram of a specific embodiment of the electric pump well fault diagnosis system based on fuzzy logic of the present invention;
[0038] Figure 2 It is a structural diagram of an electric pump well fault diagnosis device based on fuzzy logic in a specific embodiment of the present invention;
[0039] Figure 3 It is a flow chart of a method for diagnosing electric pump well faults based on fuzzy logic in a specific embodiment of the present invention;
[0040] Figure 4 is a membership function curve in a specific embodiment of the present invention;
[0041] In the figure, 1-downhole data acquisition device; 2-electric pump; 3-oil pipe; 4-downhole safety valve; 5-wellhead sensor; 6-oil nozzle; 7-electric pump well fault diagnosis device based on fuzzy logic; 8-ground electric pump control cabinet; 9-electric pump power supply cable; 701-downhole data line; 702-wellhead data line; 703-control cabinet data line. DETAILED DESCRIPTION
[0042] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0043] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations and / or combinations thereof.
[0044] In a specific embodiment 1 of the present invention, Figure 1 As shown, Figure 1 It is a structural diagram of the electric pump well fault diagnosis system based on fuzzy logic of the present invention. The electric pump 2 is connected to the bottom end of the oil pipe 3, and the downhole data acquisition device 1 is connected to the lower part of the electric pump 2. The oil pipe 3 is connected from bottom to top: the electric pump 2 and the downhole safety valve 4 are connected, the wellhead sensor 5 is installed at the wellhead, the oil nozzle 6 is connected to the ground on the oil pipe 3, and the oil pipe 3 is externally connected to the oil pipeline. The ground electric pump control cabinet 8 supplies power to the electric pump 2 through the electric pump power supply cable 9. The electric pump well fault diagnosis device 7 based on fuzzy logic is connected to the downhole data acquisition device 1 through the downhole data line 701; the electric pump well fault diagnosis device 7 based on fuzzy logic is connected to the wellhead sensor 5 through the wellhead data line 702; the electric pump well fault diagnosis device 7 based on fuzzy logic is connected to the ground electric pump control cabinet 8 through the control cabinet data line 703;
[0045] The downhole data collector 1 is connected to the electric pump 2 and is used to collect the dynamic parameters of the electric pump 2: pump inlet pressure, pump outlet pressure, motor temperature, and pump inlet temperature. The dynamic parameters of the electric pump are transmitted to the electric pump well fault diagnosis device 7 based on fuzzy logic through the downhole data line 701.
[0046] The downhole safety valve 4 is connected to the oil pipe 3 and is located between the electric pump 2 and the wellhead. The downhole safety valve is installed on the production pipe string and is used to control the on-off of the oil pipe channel. It is a safety control tool.
[0047] The wellhead sensor 5 is connected to the wellhead and is used to test the pressure and temperature data in the wellhead oil pipe. The wellhead sensor 5 transmits the pressure and temperature data in the oil pipe at the wellhead to the electric pump well fault diagnosis device 7 based on fuzzy logic through the wellhead data line 702.
[0048] The nozzle 6 is preferably installed above the wellhead of the oil pipe 3 to adjust and control the production, and its function is equivalent to a wellhead valve. The oil pipe 3 is connected to an external transmission pipeline after the nozzle 6 to output the crude oil.
[0049] The surface electric pump control cabinet 8 supplies power to the electric pump 2 through the electric pump power supply cable 9. It is connected to the electric pump well fault diagnosis device 7 based on fuzzy logic through the control cabinet data line 703, and the transmitted data is the voltage, current and frequency of the power supplied by the surface electric pump control cabinet 8 to the electric pump 2.
[0050] The electric pump well fault diagnosis device 7 based on fuzzy logic is connected to the downhole data collector 1 through the downhole data line 701; the electric pump well fault diagnosis device 7 based on fuzzy logic is connected to the wellhead sensor 5 through the wellhead data line 702; the electric pump well fault diagnosis device 7 based on fuzzy logic is connected to the surface electric pump control cabinet 8 through the control cabinet data line 703;
[0051] In a specific embodiment 2 of the present invention, the electric pump well fault diagnosis device 7 based on fuzzy logic is as follows: Figure 2 As shown, it includes: a dynamic data reading and storage module 710, a static data input and storage module 720, a fuzzy data analysis module 730, a defuzzification module 740, a fault diagnosis criterion parameter library 750, and a membership function parameter setting module 760. The dynamic data reading and storage module 710, the static data input and storage module 720, and the fuzzy data analysis module 730 are respectively connected to the fuzzy analysis parameter setting module 760; the dynamic data reading and storage module 710 is connected to the fuzzy data analysis module 730; the fuzzy data analysis module 730 and the fault diagnosis criterion parameter library 750 are directly connected to the defuzzification module 740; and the defuzzification module 740 is connected to the output end.
[0052] The dynamic data in the electric pump well fault diagnosis device 7 based on fuzzy logic is stored in the dynamic data reading and storage module 710, and the data is transmitted to the electric pump well fault diagnosis device 7 based on fuzzy logic through the downhole data line 701, the wellhead data line 702, and the control cabinet data line 703. The dynamic data includes but is not limited to: the pump inlet pressure, pump outlet pressure, motor temperature, and pump inlet temperature transmitted by the downhole data line 701; the pressure and temperature in the oil pipe at the wellhead transmitted by the wellhead data line 702; and the voltage, current, and frequency of the surface electric pump control cabinet 8 supplying power to the electric pump 2 transmitted by the control cabinet data line 703.
[0053] The static data input and storage module 720 pre-stores static data, including but not limited to: oil well production data, electric pump characteristic parameters, and cable characteristic parameters;
[0054] The fault diagnosis criterion parameter library 750 stores the fault diagnosis criterion parameters of the electric pump well in advance, and the fault diagnosis criterion parameters of the electric pump well include but are not limited to: power supply voltage, current and frequency; pump inlet pressure, pump outlet pressure, pump pressure difference, motor temperature, pump inlet temperature; wellhead pressure, wellhead temperature; as shown in Table 1;
[0055] The fuzzy data analysis module 730 is used for fuzzy data analysis, in which the membership function for fuzzy analysis is pre-stored. The membership function parameter setting module 760 stores the membership function parameter settings, and sets the corresponding membership function parameters for different dynamic parameters. The membership function parameter setting module 760 and the fault diagnosis criterion parameter library 750 can both be input for modification.
[0056] In a specific embodiment 3 of the present invention, the present invention uses a fuzzy logic mathematical analysis method to analyze dynamic parameters and diagnose the fault of the electric pump well. The key to the fuzzy logic mathematical analysis is the membership function. That is, the membership function is used to analyze the changes in dynamic parameters. The membership function is introduced below:
[0057] First, the dynamic parameters include but are not limited to: pump inlet pressure, pump outlet pressure, motor temperature, pump inlet temperature transmitted by downhole data line 701; pressure and temperature in the oil pipe at the wellhead transmitted by wellhead data line 702; voltage, current and frequency of the power supplied to the electric pump 2 by the surface electric pump control cabinet 8 transmitted by the control cabinet data line 703. During the production process of the electric pump well, each dynamic parameter has the possibility of changing in two directions, rising and falling, and its rising and falling respectively represent different production conditions.
[0058] Secondly, when the electric pump is working normally, the membership function parameters of the dynamic parameter x, the normal range a of the dynamic parameter x fluctuation, and the abnormal range b of the dynamic parameter x fluctuation are set. The setting of the parameter N is preferably based on the time average value of the test value of the dynamic parameter x in the normal production process. The setting of the parameter a is preferably based on the mean square value of the dynamic parameter x tested in the normal production process, and the setting of the parameter b can preferably be based on the artificial experience value.
[0059]
[0060] The membership function Y has a value between -1 and +1, 0 indicates no significant change, 1 or -1 indicates a significant change. + indicates an increase, - indicates a decrease. +1 indicates a sharp increase, -1 indicates a sharp decrease, and the closer other values are to 1, the more drastic the change in the dynamic parameter x. When the value is between 0 and +1, it indicates that the dynamic parameter x increases slowly, and when the value is between 0 and -1, it indicates that the dynamic parameter x decreases slowly; the membership function in the method can also select other unilateral membership functions. But it must be selected according to the above regular trend. The membership function reflects a single dynamic parameter, its change trend and severity.
[0061] Fault diagnosis process: The fault diagnosis criteria database includes: dynamic parameters and fault types. Among them, the dynamic parameters include as described above. Fault types include but are not limited to: 1. Control cabinet failure: control cabinet power failure, frequency increase or decrease, voltage rise or fall; 2. Electric pump failure: pump inlet blockage, pump shaft breakage, electric pump jam, electric pump cavitation; 3. Pipeline failure: pipe blockage, pipe leakage; 4. Formation problem: insufficient formation fluid supply, significant drop in water content, significant increase in water content; 5. Ground pipeline failure: oil nozzle enlargement, oil nozzle reduction; For a certain fault, there are multiple parameters for determining the fault, and different faults have different related dynamic parameters. In the electric pump well fault diagnosis device 7 based on fuzzy logic, the fault diagnosis criteria parameter library is pre-stored in the fault diagnosis criteria parameter library 750, and in the defuzzification module 740, a comparative analysis is performed to determine the fault type.
[0062] In a specific embodiment 4 of the present invention, the determination method of the electric pump well fault determination system based on fuzzy logic has the following determination steps:
[0063] according to Figure 1 As shown, the well construction is completed and the power supply lines and data lines are connected.
[0064] Step 1) Enter static data
[0065] Input static data including oil well production data, electric pump characteristic parameters, and cable characteristic parameters into the static data input and storage module 720;
[0066] Step 2) Set the membership function parameters
[0067] In the membership function parameter setting module 760, for each dynamic parameter x i , set the parameters required for its membership function; N i 、a i 、b i . N i is the dynamic parameter x in the past period of time (such as a week) i The time average value, a i For the parameter x i The mean square error, b i For the parameter x i Changing experience points.
[0068] Step 3) Input the fault diagnosis criterion parameter library
[0069] Input the parameter judgment method required for fault diagnosis into the fault diagnosis judgment database 750;
[0070] Step 4) Read the current dynamic data x i
[0071] Read and store the dynamic data currently transmitted by each sensor;
[0072] Step 5) Fuzzy data analysis
[0073] One or more membership functions are pre-stored in the fuzzy data analysis module 730. The membership functions are as described above. The fuzzy data analysis module 730 reads the membership function parameter setting module 760 and the membership function parameter setting module 760. i The corresponding membership function parameters. Perform fuzzy data analysis on each membership parameter. Obtain the value Y used to describe the speed and trend of the parameter change i The value Y i It is a number between -1 and +1.
[0074] Step 6) Defuzzification
[0075] In the defuzzification module 740, a comparative analysis is performed and the fuzzy value Y of the dynamic parameter of the module 730 is read. i The fault diagnosis criteria parameters pre-stored in the 750 module are read and the fault possibility is calculated and the fault type is determined by using the weighted average method.
[0076] Step 7) Determine completion
[0077] In a specific embodiment 5 of the present invention, the electric pump well fault diagnosis method based on fuzzy logic of the present invention includes the following steps:
[0078] according to Figure 1 As shown, the well construction is completed and the power supply lines and data lines are connected.
[0079] Step 1) Enter static data
[0080] The static data including: oil well production data, electric pump characteristic parameters, and cable characteristic parameters are input into the static data input and storage module 720;
[0081] Step 2) Set the membership function parameters
[0082] In the membership function parameter setting module 760, for each dynamic parameter x i , set the parameters required for its membership function; N i 、a i 、b i . N i is the dynamic parameter x in the past period of time (such as a week) i The time average value, a i For the parameter x i The mean square error, b i For the parameter x iThe experience threshold of change.
[0083] For example, set the dynamic parameters of the power supply voltage to x1, current to x2, and frequency to x3; the pump inlet pressure to x4, the pump outlet pressure to x5, the pump pressure difference to x6, the motor temperature to x7, and the pump inlet temperature to x8; the wellhead pressure to x9, the wellhead temperature to x10, and the wellhead pressure to x11. 10 ;
[0084] Take the supply voltage x1 as an example: set N1, a1, and b1 according to the above method.
[0085] Step 3) Input the fault diagnosis criterion parameter library
[0086] The parameter judgment method required for fault diagnosis is input into the fault diagnosis judgment database 750, as shown in Table 1; the table shows the corresponding relationship between the change of each dynamic parameter and the fault type;
[0087] Table 1 Electric pump well fault diagnosis criteria parameter table
[0088]
[0089]
[0090] In the table, 0 means the data is zero. = unchanged, ↑ = increasing, ↑↑ = rapid increasing, ↓ = slow decreasing, ↓↓ = rapid decreasing, and blank means irrelevant to this item.
[0091] Step 4) Read the current dynamic data x i
[0092] Read and store the dynamic data currently transmitted by each sensor;
[0093] Step 5) Fuzzy data analysis
[0094] The fuzzy data analysis module 730 reads the information related to each dynamic parameter x from the membership function parameter setting module 760. i The corresponding membership function parameters. The membership function is used to perform fuzzy data analysis and calculation for each dynamic parameter. The value Y used to describe the speed and trend of the parameter change is obtained. i The value Y i It is a number between -1 and +1.
[0095] Step 6) Defuzzification
[0096] Read the fuzzy value Y of the dynamic parameter of the 730 module i , and comparative analysis is performed in the defuzzification module 740. The fault diagnosis criteria parameters pre-stored in the module 750 are read, as shown in Table 1, to determine the fault type: Table 1 is based on engineer experience.
[0097] Specific judgment method: Set the calculation results Y of all dynamic parameters i Convert it into the symbols in Table 2, and then compare it with Table 1. If it meets the conditions in Table 1, it is determined to be a certain fault type.
[0098] Table 2 Fuzzy logic calculation value Y i Table 1 Symbol correspondence and meaning table
[0099]
[0100] Step 7) Determine completion.
[0101] The present invention provides a fuzzy logic-based electric pump well fault diagnosis system and method: the fuzzy logic-based electric pump well fault diagnosis system, such as Figure 1 The system divides the electric pump well faults into five categories: control cabinet fault, electric pump fault, pipe column fault, formation problem, and ground pipeline fault; and divides the dynamic parameter collection into three categories: downhole electric pump data, wellhead data, and ground control cabinet data; the system has a simple structure and strong generalization, which is easy for on-site technicians to understand and analyze. The electric pump well fault diagnosis device based on fuzzy logic, such as Figure 2 The device has a simple structure, pre-inputs static parameters, and real-time inputs dynamic parameters. The key part is the fuzzy data analysis module, and the parameters of the module can be manually adjusted with field application and experience accumulation; the electric pump well fault diagnosis method based on fuzzy logic, such as Figure 3 As shown in the figure, this method is based on the mathematical analysis of fuzzy logic, and the membership function is used to fuzzify the dynamic data: that is, it is converted into a value in the range of -1 to +1 that can be used to represent the degree of change of the data. It is convenient for computer software to conduct the next step of data analysis; and then the fault diagnosis criterion parameter library obtained by the engineer's experience analysis is used to make fault judgments. The calculation method is simple and highly understandable, which provides a basis for the future fault diagnosis of electric pump wells.
[0102] like Figure 4 As shown, it is a membership function curve, wherein in the membership function parameter setting module, for each dynamic parameter x i , set the parameter N required for its membership function i 、a i 、b i ; N i is the dynamic parameter x in the past period of time i The time average value, a i is the parameter x i The mean square error, b i is the parameter x i The experience threshold of change.
[0103] Specific implementation method: For example, the dynamic values of the wellhead pressure P1 in the past week are: 1.8MPa, 1.9MPa, 2.1MPa, 2.0MPa, 2.1MPa, 1.7MPa, 1.8MPa, then the time average value of the wellhead pressure is The mean square error of the wellhead pressure Substitute data a1=(((1.8-1.914) 2 +(1.9-1.914) 2 +(2.1-1.914) 2 +(2.0-1.914) 2 +(2.1-1.914) 2 +(1.7-1.914) 2 +(1.8-1.914) 2 ) / 7) 1 / 2 =0.145686MPa; b1 is the engineer's experience value, for example, b1 = 1MPa; substitute into the formula:
[0104]
[0105] You can get Figure 4 Graphic shown.
[0106] Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions recorded in the aforementioned embodiments or replace some of the technical features therein with equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
[0107] Except for the technical features described in the specification, all other technical features are known technologies to those skilled in the art.
Claims
1. The electric pump well fault diagnosis system based on fuzzy logic is characterized by: The electric pump well fault diagnosis system based on fuzzy logic includes a downhole data collector, a wellhead sensor, a surface electric pump control cabinet and an electric pump well fault diagnosis device based on fuzzy logic. The downhole data collector is connected to the electric pump located at the bottom of the oil pipe to collect dynamic parameters of the electric pump well and transmit the collected parameters to the electric pump well fault diagnosis device based on fuzzy logic. The wellhead sensor is located at the wellhead to test the pressure and temperature data in the wellhead oil pipe and transmit the test data to the electric pump well fault diagnosis device based on fuzzy logic. The surface electric pump control cabinet supplies power to the electric pump and transmits the voltage, current and frequency data provided to the electric pump to the electric pump well fault diagnosis device based on fuzzy logic. The electric pump well fault diagnosis device based on fuzzy logic is connected to the downhole data collector, the wellhead sensor and the surface electric pump control cabinet to make a fault determination according to the received data. The electric pump well fault diagnosis system based on fuzzy logic also includes a downhole safety valve and an oil nozzle. The downhole safety valve is connected to the oil pipe and is located between the electric pump and the wellhead to control the on-off of the oil pipe channel. The oil nozzle is installed above the wellhead of the oil pipe to adjust and control the production. The electric pump well fault diagnosis device based on fuzzy logic includes a dynamic data reading and storage module, which receives dynamic data transmitted by the downhole data collector, the wellhead sensor and the surface electric pump control cabinet, including: pump inlet pressure, pump outlet pressure, motor temperature, pump inlet temperature collected by the downhole data collector; pressure and temperature in the oil pipe at the wellhead transmitted by the wellhead sensor; voltage, current and frequency of power supply to the electric pump transmitted by the surface electric pump control cabinet; The electric pump well fault diagnosis device based on fuzzy logic also includes a static data input and storage module, which pre-stores static data, and the static data includes: oil well production data, electric pump characteristic parameters, and cable characteristic parameters; The electric pump well fault diagnosis device based on fuzzy logic also includes a membership function parameter setting module, which is connected to the dynamic data reading and storage module and the static data input and storage module, stores membership function parameter settings, and sets corresponding membership function parameters corresponding to different dynamic parameters; Membership function: Where, x is the dynamic parameter; a is the mean square error of the dynamic parameter; b is the empirical threshold of the dynamic parameter; N is the time average value of the dynamic parameter; Y is a function belonging to [-1, +1]. Its value is between -1 and +1. 0 means that x has not changed significantly, 1 or -1 means that x has changed significantly; +1 means that x has increased dramatically; -1 means that x has decreased dramatically. When the value of Y is between 0 and +1, it means that the value of x has increased slowly. When the value of Y is between 0 and -1, it means that the value of x has decreased slowly. In the membership function parameter setting module, for each dynamic parameter x i , set the parameter N required for its membership function i 、a i 、b i ; N i is the dynamic parameter x in the past period of time i The time average value, a i is the parameter x i The mean square error, b i is the parameter x i the empirical threshold of change; The electric pump well fault diagnosis device based on fuzzy logic also includes a fuzzy data analysis module connected to the dynamic data reading and storage module, the static data input and storage module and the membership function parameter setting module. The fuzzy data analysis module reads the dynamic parameters x associated with each dynamic parameter x from the membership function parameter setting module. i The corresponding membership function parameters, and for each dynamic parameter x i Perform fuzzy data analysis to obtain the value Y used to describe the speed and trend of the parameter change. i ; The electric pump well fault diagnosis device based on fuzzy logic also includes a fault diagnosis criterion parameter library, which pre-stores the electric pump well fault diagnosis criterion parameters, and the electric pump well fault diagnosis criterion parameters include: power supply voltage, current and frequency; pump inlet pressure, pump outlet pressure, pump pressure difference, motor temperature, pump inlet temperature; wellhead pressure, wellhead temperature; The electric pump well fault diagnosis device based on fuzzy logic also includes a defuzzification module connected to the fuzzy data analysis module and the fault diagnosis criterion parameter library. The defuzzification module performs comparative analysis and reads the fuzzy value Y of the dynamic parameter of the fuzzy data analysis module. i , read the fault diagnosis criterion parameters pre-stored in the fault diagnosis criterion parameter library to determine the fault type; Fault types include:
1. Control cabinet failure: control cabinet power failure, frequency increase or decrease, voltage rise or drop; 2. Electric pump failure: pump inlet blockage, pump shaft breakage, electric pump jam, electric pump cavitation; 3. Pipe column failure: pipe column blockage, pipe column leakage; 4. Formation problems: insufficient formation fluid supply, sharp drop in water content, sharp increase in water content; 5. Ground pipeline failure: oil nozzle enlargement, oil nozzle reduction.
2. The electric pump well fault diagnosis method based on fuzzy logic is characterized by: The electric pump well fault diagnosis system based on fuzzy logic according to claim 1 comprises the following steps: Step 1) storing static data; Step 2) Setting membership function parameters; Step 3) Establishing a fault diagnosis criterion parameter library; Step 4) Collect current dynamic data x i ; Step 5) performing fuzzy data analysis; Step 6) Perform defuzzification processing.
Citation Information
Patent Citations
Real-time Fault Diagnosis System and Method for Electric Pump Wells Based on Time Series Data Analysis
CN106761681B
Electric pump excessively low load failure diagnosis method and device
CN108266364A
Monitoring and fault prediction device for electric submersible pumping unit and method
CN111852839A
