Pumping unit working condition analysis method

By collecting and analyzing the pumping unit dynamometer data, establishing a feature library and using the cosine similarity formula, the problem of low computational efficiency in analyzing the pumping unit working conditions has been solved, real-time monitoring and early warning of the pumping unit working conditions have been achieved, and improved Improve the safety production and maintenance efficiency of equipment.

CN118548015APending Publication Date: 2024-08-27CHINA PETROLEUM & CHEMICAL CORP +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310163945.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-24
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

In the existing technology, the calculation efficiency of pumping unit working condition analysis is low, real-time monitoring and early warning cannot be achieved, and there are hidden dangers of equipment failure.

Method used

By collecting the pumping unit dynamometer data, calculating the characteristic values, establishing a standard characteristic library, and using the cosine similarity formula to compare the characteristic values ​​of the working conditions to be determined with the standard characteristic values, the working conditions are determined, and the frequency range of 1 to 30 Hz is selected. Improve computing efficiency.

Benefits of technology

It realizes real-time monitoring and early warning of the working conditions of the pumping unit, improves the safety production and maintenance efficiency of the equipment, reduces downtime, and improves calculation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118548015A
    Figure CN118548015A
Patent Text Reader

Abstract

The invention relates to a pumping unit working condition analysis method, and belongs to the technical field of oil and gas field exploitation. According to the method for analyzing the working condition of the oil pumping unit, the characteristic values corresponding to the indicator diagrams under different working conditions are obtained through expansion analysis of the indicator diagrams, the standard characteristic library is established, and then the to-be-determined characteristic values and the standard characteristic value of each working condition in the standard characteristic library are calculated and compared through the cosine similarity calculation formula to determine the to-be-determined working condition. The method has the advantage of high calculation efficiency. According to the oil pumping unit working condition analysis method, the working condition diagnosis technology of the indicator diagram in the aspect of ground oil pumping unit equipment is excavated, subtle changes of the working condition of the oil pumping unit are perceived, on the basis of production dynamic perception, an intelligent factory mode of industrial internet + safety production and equipment cloud can be achieved, the operation state of the oil pumping unit can be mastered at any time, and real-time alarming is achieved; decision is driven by data, failure shutdown of equipment is reduced, safe production of the equipment is guaranteed, and predictive maintenance is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method for analyzing the working condition of an oil pump and belongs to the technical field of oil and gas field exploitation. Background Art

[0002] The oil pump is the most important lifting equipment in the rod pumping system. Due to its long-term operation in the field environment, it is damaged and affected by various natural environmental factors. The oil pump suspension system carries the downhole pump rod column, the oil pump and the lifted liquid column to do up and down reciprocating motion. The influence of periodic alternating loads, vibration, friction and other factors makes the oil pump suspension system prone to various faults, affecting the normal production of the oil well. At present, the oil pump is generally inspected by manual on-site inspections every day, or by collecting image information through video cameras. The above methods cannot achieve real-time monitoring and there are potential safety hazards. Therefore, it is necessary to monitor the working condition of the oil pump in real time and promptly remind the repair and maintenance of the oil pump. The schematic diagram of the oil pump suspension system is shown below. Figure 1 As shown, it includes a wire rope hanger 1, a donkey head pin 2, a wire rope (hair braid) 3 and a rope hanger 4.

[0003] Theoretically, the purpose of monitoring can be achieved by monitoring the changes in stress or displacement of the suspension system. Since most oil fields currently have the ability to monitor the dynamometer diagram online, how to extract the fault characteristics of the suspension system from the load information of the dynamometer diagram has become a major problem that needs to be solved.

[0004] Chinese patent document CN1328214A discloses a method for distinguishing the similarity of pumping well working conditions based on cloud-edge collaborative computing. The method first takes the historical stable working conditions of the pumping units at the edge node as the normal working conditions, and removes the non-stable working condition data as the training set in combination with the cloud platform expert system; then analyzes the data characteristics carried by each variable through data coordinate transformation, calculates the contribution of each variable, calculates the similarity characteristics and their thresholds, and then establishes the working condition model of the edge pumping unit node on the same day; according to the model, the working condition changes are distinguished in real time, and sudden abnormal working conditions and gradual working condition deterioration are discovered in time, and the abnormal working conditions are reported to the cloud platform. This method can reduce false alarms and missed alarms, fully utilizes the real-time computing capabilities of the cloud platform expert system and the edge computing gateway, implements efficient and reliable management and control of pumping equipment, and achieves safe and stable production. Chinese patent document CN103541723A discloses a real-time working condition diagnosis method for a pumping well based on the change of the surface dynamometer area. The method comprises the steps of establishing a feature knowledge base and corresponding working condition knowledge, determining a standard surface dynamometer, calculating characteristic values ​​such as the slope of the upper and lower stroke loading lines of the standard surface dynamometer, determining the warning value range of the surface dynamometer, obtaining a real-time measured surface dynamometer, extracting and calculating the characteristic values ​​of the measured dynamometer, calculating the rate of change of the measured surface dynamometer characteristics based on the standard surface dynamometer, calculating the rate of change of the surface dynamometer characteristics at different test times, drawing a continuous change curve, judging the oil well condition according to the warning value and the change curve, and issuing a real-time warning. In addition, He Yanfeng et al. published "A New Method for Spectral Analysis of Dynamometer Diagrams" (see: Journal of Petroleum, Vol. 29, No. 4, July 2008). The authors performed discrete Fourier transform on the load time and stroke time series after time-frequency conversion and normalization of the load and stroke time domain signals, and then calculated the energy spectrum. Based on this, a fuzzy mathematical model was established to identify the dynamometer diagram and analyze the working characteristics of the oil pump. Li Xiangyu et al. published "Research on Diagnostic Analysis Methods of Dynamometer Diagrams of Pumping Wells" in the Journal of Shenyang Ligong University on February 15, 2021, proposing to divide the dynamometer diagram into eight sections by determining ten characteristic points on the dynamometer diagram, and qualitatively analyze the shape characteristics of the dynamometer diagram in combination with the principle of oil production, and then proposed a method for quantitatively calculating well parameters such as downhole dry friction, well fluid density, and pump valve resistance. However, the above-mentioned methods for diagnosing and analyzing the working conditions of the oil pump are mainly aimed at the working conditions of the oil pump, and none of them involve the working conditions of the suspension system on the ground, and all of them use traditional algorithms, which are not efficient in calculation. Summary of the invention

[0005] The purpose of the present invention is to provide a method for analyzing the working condition of an oil pump, which can solve the problem of low calculation efficiency when analyzing and determining the working condition of an oil pump.

[0006] In order to achieve the above object, the technical solution adopted by the method for analyzing the working condition of the oil pumping unit of the present invention is:

[0007] A method for analyzing the working condition of an oil pumping unit comprises the following steps:

[0008] (1) The indicator diagrams of the target pumping unit under different working conditions are collected, and then the characteristic values ​​corresponding to the indicator diagrams under different working conditions are calculated, a standard characteristic library is established, and the characteristic value corresponding to the indicator diagram under a certain working condition in the standard characteristic library is defined as the standard characteristic value of the working condition;

[0009] The calculation method of the characteristic value corresponding to a certain indicator diagram is as follows:

[0010] S1, acquiring collected data from the dynamometer diagram, the collected data including load data and displacement data;

[0011] S2, determining the maximum value and the minimum value in the displacement data, and simultaneously determining the upstroke portion and the downstroke portion in the dynamometer diagram;

[0012] The displacement data in the collected data corresponding to the upper stroke part is named as the upper stroke displacement data, and the displacement data in the collected data corresponding to the lower stroke part is named as the lower stroke displacement data, and the lower stroke displacement data is corrected to obtain the corrected lower stroke displacement data; the correction method comprises the following steps: assuming that the maximum value in the upper stroke displacement data is A, the corrected lower stroke displacement data is equal to the difference between 2A and the lower stroke displacement data;

[0013] The upstroke displacement data and the corrected downstroke displacement data are defined as target displacement data; then the load data are arranged from small to large according to the target displacement data to obtain a load data sequence;

[0014] S3, performing a fast Fourier transform on the load data sequence obtained in step S2 to obtain a frequency domain load data sequence, where the frequency domain load data are all complex numbers, including a real part and an imaginary part; a data sequence consisting of frequency domain load data within a frequency range of 1 to 30 Hz is defined as a target frequency domain load data sequence;

[0015] The real part and the imaginary part of each frequency domain load data in the target frequency domain load data sequence are extracted respectively to form a real part sequence and an imaginary part sequence, and the obtained real part sequence and imaginary part sequence are the eigenvalues ​​corresponding to the indicator diagram;

[0016] (2) Obtain the characteristic value corresponding to the indicator diagram under the working condition to be determined, and define the characteristic value corresponding to the indicator diagram under the working condition to be determined as the characteristic value to be determined; calculate and compare the characteristic value to be determined with the standard characteristic value of each working condition in the standard characteristic library using the cosine similarity calculation formula. If the cosine similarity between the characteristic value to be determined and the standard characteristic value of a certain working condition in the standard characteristic library is the largest and greater than the set threshold, then the working condition and the working condition to be determined belong to the same working condition.

[0017] The method for analyzing the working condition of the oil pumping unit of the present invention obtains the characteristic values ​​corresponding to the indicator diagram under different working conditions through the extended analysis of the indicator diagram, establishes a standard characteristic library, and then uses the cosine similarity calculation formula to calculate and compare the characteristic value to be determined with the standard characteristic value of each working condition in the standard characteristic library to determine the working condition to be determined, and selects the frequency domain load data within the frequency range of 1 to 30 Hz for calculation, which has the advantage of high calculation efficiency. The method for analyzing the working condition of the oil pumping unit of the present invention detects the subtle changes in the working condition of the oil pumping unit by mining the working condition diagnosis technology of the indicator diagram in the ground oil pumping unit equipment, and based on the dynamic perception of production, it can realize the intelligent factory mode of industrial Internet + safe production and equipment on the cloud, grasp the operating status of the oil pumping unit at any time, real-time alarm, use data to drive decision-making, reduce equipment failure shutdown, ensure equipment safe production, and realize predictive maintenance. Since the oil pump is a low-speed operating equipment, and through experimental statistics, even for the analysis and judgment of the working condition of sand production in the oil pump (the characteristics of the sand production working condition are very obvious and easy to distinguish from other working conditions, the amplitude of the 13-30Hz high-frequency component is obviously higher than that of other working conditions, and the high-frequency components of other working conditions are very low), using 1-30Hz data, it is also possible to fully analyze and identify that the amplitude of the excessively high frequency component is very low and has little effect on the analysis results. Not including these data in the calculation can also reduce the amount of calculation and improve calculation efficiency.

[0018] Preferably, the collected data is a floating point array. Preferably, the collected data is a single precision floating point array. Using a single precision floating point array for calculation and comparison can minimize the occupation of program memory and network bandwidth; in addition, because the displacement used for storage generally does not exceed 10 meters and the load generally does not exceed 200 kilonewtons, the values ​​are not large, so there is no need to use a higher precision storage type.

[0019] It can be understood that, since each collected data includes a load data and an upstroke displacement data or a load data and a downstroke displacement data, that is, each upstroke displacement data and each downstroke displacement data corresponds to a load data, each target displacement data also corresponds to a load data.

[0020] It can be understood that the i-th data in the real part sequence is the real part of the i-th frequency domain load data in the frequency domain load data sequence, and the i-th data in the imaginary part sequence is the imaginary part of the i-th frequency domain load data in the frequency domain load data sequence.

[0021] Preferably, the method for establishing the standard feature library is as follows: all the operating condition names and the feature values ​​corresponding to the indicator diagram under each operating condition are stored in the library to obtain the standard feature library of the target oil pumping unit.

[0022] It can be understood that the working conditions include the suspension system working conditions and the oil pump working conditions. The suspension system working conditions include donkey head fatigue tearing, wire rope fatigue breaking, and square clip hitting the wellhead; the oil pump working conditions include normal, insufficient liquid supply, gas influence, fixed valve leakage, floating valve leakage, pump stuck, double leakage, rod breakage, and sand production.

[0023] It can be understood that when the eigenvalue to be determined is compared with the standard eigenvalue of each working condition in the standard eigenvalue library by using the cosine similarity calculation formula, the imaginary part sequence in the eigenvalue to be determined is compared with the imaginary part sequence in the standard eigenvalue of each working condition in the standard eigenvalue library by using the cosine similarity calculation formula, or the real part sequence in the eigenvalue to be determined is compared with the real part sequence in the standard eigenvalue of each working condition in the standard eigenvalue library by using the cosine similarity calculation formula. For example, the data of the imaginary part sequence in the eigenvalue to be determined is A i Indicates that the data in the imaginary part sequence of the standard eigenvalue of a certain working condition is expressed by B i Represented, the formula for comparing the similarity between the two is as follows:

[0024]

[0025] Where n is the number of data in the imaginary part sequence of the eigenvalue to be determined or the number of data in the imaginary part sequence of the standard eigenvalue of a certain working condition, A i represents the data in the imaginary part sequence of the eigenvalue to be determined, B i The data in the imaginary part sequence of the standard eigenvalue of a certain working condition. For the same target pumping unit, since the number of data collected from the bare rod is the same and the collection interval is the same, the number of data in the imaginary part sequence of the eigenvalue to be determined is the same as the number of data in the imaginary part sequence of the standard eigenvalue of a certain working condition.

[0026] Preferably, n≤30.

[0027] Preferably, the set threshold is not less than 0.85. For example, the set threshold is 0.85.

[0028] Preferably, when analyzing the working condition of the oil pump, only the real part sequence in the eigenvalue can be calculated and compared using the cosine similarity calculation formula; when analyzing the working condition of the oil pump suspension system, only the imaginary part sequence in the eigenvalue can be calculated and compared using the cosine similarity calculation formula. Through experimental statistics, when the real part sequence in the eigenvalue is used for calculation and comparison to analyze the working condition of the oil pump, it has a higher accuracy rate; when the imaginary part sequence in the eigenvalue is used for calculation and comparison to analyze the working condition of the oil pump suspension system, it has a higher accuracy rate.

[0029] In order to improve the accuracy of the analysis, a certain number of dynamometer diagrams are required for each operating condition in order to establish a comprehensive and complete standard feature library. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 The structure diagram of the oil pumping unit suspension system of the present invention is shown in the figure. The reference numerals are as follows: 1-wire rope hanger, 2-donkey head pin, 3-wire rope, 4-rope hanger;

[0031] Figure 2 A certain dynamometer diagram used in the embodiment of the present invention;

[0032] Figure 3 It is a schematic diagram of the result after plotting each load data in the load data sequence and the corresponding target displacement data in an embodiment of the present invention;

[0033] Figure 4 It is a schematic diagram of a real part sequence of frequency domain load data within a frequency range of 1 to 85 Hz in a frequency domain load data sequence obtained according to the indicator diagram of the target oil pumping unit under normal working conditions;

[0034] Figure 5 It is a schematic diagram of an imaginary part sequence of frequency domain load data within a frequency range of 1 to 85 Hz in a frequency domain load data sequence obtained according to the indicator diagram of the target oil pumping unit under normal working conditions;

[0035] Figure 6 It is a schematic diagram of a real part sequence of frequency domain load data within a frequency range of 1 to 85 Hz in a frequency domain load data sequence obtained according to the dynamometer diagram of the target pumping unit suspension system when the wire rope is in a fatigue condition;

[0036] Figure 7 It is a schematic diagram of an imaginary part sequence of frequency domain load data within a frequency range of 1 to 85 Hz in a frequency domain load data sequence obtained according to the dynamometer diagram of the target pumping unit suspension system when the wire rope is in a fatigue condition;

[0037] Figure 8 It is a schematic diagram of a real part sequence of frequency domain load data within a frequency range of 1 to 85 Hz in a frequency domain load data sequence obtained according to the dynamometer diagram of the target pumping unit suspension system under the condition that the wire rope is before fatigue breaking;

[0038] Fig. 9 It is a schematic diagram of the imaginary part sequence of frequency domain load data within the frequency range of 1 to 85 Hz in the frequency domain load data sequence obtained according to the dynamometer diagram of the target pumping unit suspension system when the wire rope is in the working condition before fatigue breaking. DETAILED DESCRIPTION

[0039] The technical solution of the present invention is further described below in conjunction with specific embodiments.

[0040] Example

[0041] The method for analyzing the working condition of the oil pumping unit in this embodiment specifically comprises the following steps:

[0042] (1) Collect the indicator diagrams of the target pumping unit under different working conditions, then calculate the characteristic values ​​corresponding to the indicator diagrams under different working conditions and establish a standard characteristic library;

[0043] The calculation method of the characteristic value corresponding to a certain indicator diagram is as follows:

[0044] S1, from the indicator diagram (such as Figure 2 The collected data is extracted from the database (as shown in the figure), and the collected data includes load data and displacement data; the collected data is generally stored in the database in the form of a long text string, which contains two groups of 256 data points of displacement and load of the light rod, with the displacement data in the front and the load data in the back. The displacement data and the load data are separated by a ";", and each displacement data or each load data is separated by a ",". Each displacement data and each load data are represented by a number and a subscript. The number represents the size of the displacement or load, and the subscript represents the data collection sequence number. The expression form of displacement data is x n , the load data is expressed in the form of y n , n represents the acquisition sequence number. The displacement data and load data with the same acquisition sequence number represent a group of data acquired at the same time. The format of the long text string is as follows: "x1, x2,......, x 256 ;y1,y2,......,y 256 ”;

[0045] S2, split the collected data in the form of long text strings

[0046] The collected data in the form of long text strings are split by the split method to obtain displacement strings and load strings, the formats of which are "x1, x2,......, x 256 " and "y1,y2,......,y 256 ”;

[0047] S3, split string data into single-precision floating-point arrays

[0048] The displacement string is split by the split method to obtain a discrete displacement character array in the format of "x1", "x2", ..., "x 256 "; Then create a new single-precision floating-point array, convert each data item in the displacement character array into single-precision floating-point data through a loop, and assign it to each data item in the newly created single-precision floating-point array to obtain a single-precision floating-point displacement array;

[0049] The payload string is split by the split method to obtain a discrete payload character array in the format of "y1", "y2", ..., "y 256 "; Then create a new single-precision floating-point array, convert each data item in the payload character array into single-precision floating-point data through a loop, and assign it to each data item in the newly created single-precision floating-point array to obtain a single-precision floating-point payload array;

[0050] S4, reorder the load data

[0051] Traverse all displacement data in the single-precision floating-point displacement array obtained in step S3, determine the minimum and maximum values ​​of the displacement, and record the acquisition sequence numbers (lower and upper dead center positions) corresponding to the minimum and maximum values ​​of the displacement. Assume that the acquisition sequence number corresponding to the minimum value of the displacement is i, and the acquisition sequence number corresponding to the maximum value of the displacement is i+n;

[0052] At the same time, according to the change characteristics of load with displacement in the dynamometer diagram (at the beginning of stroke operation, the displacement changes linearly, the downstroke decreases linearly, and the upstroke increases linearly), the upstroke part and the downstroke part in the dynamometer diagram are determined; wherein, the curve of the upstroke part reflects the upstroke process of the sucker rod pump well, which is the process in which the sucker rod string pulls the plunger upward under the action of the power device, the oil is sucked into the pump and the wellhead discharges the oil; the curve of the downstroke part reflects the downstroke process of the sucker rod pump well, which is the process in which the sucker rod string pushes the plunger downward under the action of the power device, and the pump discharges the oil into the oil pipe; then determine the acquisition data corresponding to the upstroke part and the downstroke part in the dynamometer diagram;

[0053] Assuming that the collected data (including load data and displacement data) corresponding to the dynamometer diagram is composed of N sampling points (a certain sampling point includes load data and displacement data of a certain collection sequence number), the collected data corresponding to the upstroke part includes n+1 sampling points from the sampling point with the smallest displacement of collection sequence number i to the sampling point with the largest displacement of collection sequence number (i+n); the data corresponding to the downstroke part includes Nn-1 sampling points from the sampling point with the collection sequence number (i+n+1) to the sampling point with the collection sequence number (N+i-1);

[0054] The displacement data in the collected data corresponding to the upstroke part is named as the upstroke displacement data, and the displacement data in the collected data corresponding to the downstroke part is named as the downstroke displacement data, and the downstroke displacement data is corrected to obtain the corrected downstroke displacement data; the correction method comprises the following steps: assuming that the maximum value in the upstroke displacement data is A, the corrected downstroke displacement data is equal to the difference between 2A and the downstroke displacement data; for example, the displacement data corresponding to the sampling point with the collection sequence number (i+n+1) is a1, that is, the downstroke displacement data corresponding to the sampling point is a1, and the corrected downstroke displacement data corresponding to the sampling point is 2A-a1;

[0055] The upstroke displacement data and the corrected downstroke displacement data are defined as target displacement data; since each collected data includes a load data and an upstroke displacement data or a load data and a downstroke displacement data, that is, each upstroke displacement data and each downstroke displacement data corresponds to a load data, each target displacement data also corresponds to a load data;

[0056] Then arrange the load data from small to large according to the target displacement data to obtain a load data sequence; plot each load data in the load data sequence against the corresponding target displacement data, and the result is as follows: Figure 3 As shown;

[0057] S5, perform fast Fourier transform on the load data sequence

[0058] Perform fast Fourier transform on the load data sequence obtained in step S4 to obtain a frequency domain load data sequence. The frequency domain load data are all complex numbers, including a real part and an imaginary part, which are represented by a+bi, where a is the real part and b is the imaginary part. Since the alternating frequency of the pumping unit load is not high, the load data of the high-frequency part can be ignored. In this embodiment, the frequency domain load data within the frequency range of 1 to 30 Hz is taken; the frequency domain load data within the frequency range of 1 to 30 Hz is defined as the target frequency domain load data sequence;

[0059] The real part and imaginary part of each frequency domain load data in the target frequency domain load data sequence are extracted respectively to form a real part sequence and an imaginary part sequence, that is, the i-th data in the real part sequence is the real part of the i-th frequency domain load data in the frequency domain load data sequence, and the i-th data in the imaginary part sequence is the imaginary part of the i-th frequency domain load data in the frequency domain load data sequence; since the data in the real part sequence and the imaginary part sequence are both symmetrically distributed, only the first half of the data (the first 128 data) in the real part sequence and the imaginary part sequence can be taken for subsequent calculation; the obtained real part sequence and imaginary part sequence are the eigenvalues ​​corresponding to the indicator diagram;

[0060] All the names of the working conditions and the characteristic values ​​corresponding to the indicator diagram under each working condition are stored in the library to obtain the standard characteristic library of the target pumping unit, and the characteristic value corresponding to the indicator diagram under a certain working condition in the standard characteristic library is defined as the standard characteristic value of the working condition;

[0061] Since most working conditions have an evolutionary process, and the current classification of working conditions in production sites is not detailed enough, a certain working condition will use the same working condition label even if it is in different development stages of the working condition. However, in fact, the features of the same working condition at different stages extracted by this method are different, that is, the same working condition may actually correspond to multiple feature values. Therefore, in order to achieve analysis results that better meet the needs of the site and to improve the accuracy of the analysis, each working condition needs to have a certain number (3 to 10) of indicator diagrams to establish a comprehensive and complete standard feature library;

[0062] According to the indicator diagram of the target pumping unit under normal working conditions (both the suspension system and the pump are normal), the corresponding frequency domain load data sequence is obtained according to the above method. The real and imaginary parts of the frequency domain load data within the frequency range of 1 to 85 Hz are taken. The schematic diagram of the obtained real and imaginary part sequences is as follows: Figure 4-5 As shown;

[0063] According to the indicator diagram of the target pumping unit suspension system under the fatigue condition of the wire rope (braid), the corresponding frequency domain load data sequence is obtained according to the above method. The real part and imaginary part of the frequency domain load data within the frequency range of 1 to 85 Hz are taken. The schematic diagram of the real part sequence and the imaginary part sequence is as follows: Figure 6-7 As shown in the figure, the target pumping unit is in a fatigue condition with the wire rope (braid), and the wire rope's tensile capacity decreases, but it has not yet broken;

[0064] According to the indicator diagram of the target pumping unit suspension system under the working condition of the wire rope (braid) before fatigue breaking, the corresponding frequency domain load data sequence is obtained according to the above method. The real part and imaginary part of the frequency domain load data within the frequency range of 1 to 85 Hz are taken. The schematic diagram of the real part sequence and the imaginary part sequence is as follows: Figure 8-9 As shown in the figure, when the wire rope (braid) of the target pumping unit is in the working condition before fatigue breaking, the wire rope has reached its load limit. If it is not repaired in time, it may break at any time. Figure 4-9 It can be seen that the data corresponding to the real and imaginary sequences with frequencies greater than 30 Hz are relatively small, that is, the amplitude of the excessively high frequency components is very low;

[0065] (2) obtaining a characteristic value corresponding to the indicator diagram under the working condition to be determined, and defining the characteristic value corresponding to the indicator diagram under the working condition to be determined as the characteristic value to be determined;

[0066] Compare the eigenvalue to be determined with the standard eigenvalue of each working condition in the standard eigenvalue library. If the cosine similarity between the eigenvalue to be determined and the standard eigenvalue of a working condition in the standard eigenvalue library is the largest and greater than the set threshold (0.85), then the working condition belongs to the same working condition as the working condition to be determined.

[0067] For the analysis of the working condition of the pump, only the real part sequence in the eigenvalue can be used for comparison. For the analysis and diagnosis of the working condition of the pumping unit suspension system, only the imaginary part sequence in the eigenvalue can be used for comparison.

[0068] When comparing the eigenvalue to be determined with the standard eigenvalue of each working condition in the standard eigenvalue library, the n-dimensional variable cosine similarity calculation formula is used for calculation and comparison. For example, when analyzing and diagnosing the working condition of the oil pumping unit suspension system, it is assumed that the data in the imaginary part sequence of the standard eigenvalue of a certain working condition of the oil pumping unit suspension system is expressed as B i Indicates that the data in the imaginary part sequence of the to-be-determined eigenvalues ​​of the pumping unit suspension system is expressed by A i If , the following formula is used for comparison:

[0069]

[0070] Where n is 30 (the number of data is equal to 30 frequencies in 1 to 30 Hz), A i represents the data in the imaginary part sequence of the to-be-determined eigenvalues ​​of the pumping unit suspension system, B i Data in the imaginary part sequence representing the standard characteristic value of a certain working condition of the pumping unit suspension system;

[0071] If the calculated cosine value is closer to 1, the similarity is greater; when judging whether the characteristic value to be determined is close to the standard characteristic value of each working condition in the standard characteristic library, a threshold needs to be set. If the calculated cosine value reaches the set threshold, it can be considered that the two are close, and it can be determined that the corresponding working condition and the working condition to be determined belong to the same working condition; if the calculated cosine value does not reach the set threshold, it can be considered that the two are not close, and it can be determined that the corresponding working condition and the working condition to be determined do not belong to the same working condition; if it is confirmed to be a new working condition, the data can also be marked and added to the standard feature library to improve the standard feature library.

[0072] Experimental example

[0073] In order to evaluate the accuracy of the analysis and judgment of the suspension system working condition and the oil pump working condition by the oil pump working condition analysis method of the present invention, a prediction analysis was carried out on multiple oil pump working conditions in a certain oil field. The results showed that when analyzing the donkey head fatigue tearing condition, the number of predicted donkey head fatigue tearing conditions was 1. After inspection, when the real part sequence in the eigenvalue was calculated and compared using the cosine similarity calculation formula, the number of accurate predictions was 1, and when the imaginary part sequence in the eigenvalue was calculated and compared using the cosine similarity calculation formula, the number of accurate predictions was 1.

[0074] When analyzing the wire rope fatigue breaking conditions, the number of predicted wire rope fatigue breaking conditions is 5 in total. After inspection, when the real part sequence in the eigenvalue is calculated and compared using the cosine similarity calculation formula, the number of accurate predictions is 3, and when the imaginary part sequence in the eigenvalue is calculated and compared using the cosine similarity calculation formula, the number of accurate predictions is 5.

[0075] When analyzing the square clamp hitting the wellhead working condition, the number of predicted square clamp hitting the wellhead working conditions is 6 in total. After inspection, when the real part sequence in the eigenvalue is calculated and compared using the cosine similarity calculation formula, the number of accurate predictions is 4, and when the imaginary part sequence in the eigenvalue is calculated and compared using the cosine similarity calculation formula, the number of accurate predictions is 5.

[0076] When analyzing the fixed valve leakage working condition of the oil pump, the number of predicted fixed valve leakage working conditions is 16 in total. After inspection, when the real part sequence in the eigenvalue is calculated and compared using the cosine similarity calculation formula, the number of accurate predictions is 14, and when the imaginary part sequence in the eigenvalue is calculated and compared using the cosine similarity calculation formula, the number of accurate predictions is 7.

[0077] When analyzing the insufficient fluid supply condition of the oil well pump, the number of predicted insufficient fluid supply conditions is 407 in total. After inspection, when the real part sequence in the eigenvalue is calculated and compared using the cosine similarity calculation formula, the number of accurate predictions is 395, and when the imaginary part sequence in the eigenvalue is calculated and compared using the cosine similarity calculation formula, the number of accurate predictions is 266.

[0078] From the above experimental results, it can be seen that the method for analyzing the working condition of the oil pumping unit of the present invention has a higher accuracy rate in analyzing and diagnosing the working condition of the suspension system. In addition, when analyzing the working condition of the oil pumping unit suspension system, the accuracy rate of using the cosine similarity calculation formula to calculate the imaginary part sequence in the eigenvalue is higher than the accuracy rate of using the cosine similarity calculation formula to calculate the real part sequence in the eigenvalue; when analyzing the working condition of the oil pump, the accuracy rate of using the cosine similarity calculation formula to calculate the real part sequence in the eigenvalue is higher than the accuracy rate of using the cosine similarity calculation formula to calculate the imaginary part sequence in the eigenvalue.

Claims

1. A method for analyzing the working condition of an oil pumping unit. It is characterized in that The following steps are involved: (1) The indicator diagrams of the target pumping unit under different working conditions are collected, and then the characteristic values ​​corresponding to the indicator diagrams under different working conditions are calculated, a standard characteristic library is established, and the characteristic value corresponding to the indicator diagram under a certain working condition in the standard characteristic library is defined as the standard characteristic value of the working condition; The calculation method of the characteristic value corresponding to a certain indicator diagram is as follows: S1, acquiring collected data from the dynamometer diagram, the collected data including load data and displacement data; S2, determining the maximum value and the minimum value in the displacement data, and simultaneously determining the upstroke portion and the downstroke portion in the dynamometer diagram; The displacement data in the collected data corresponding to the upper stroke part is named as the upper stroke displacement data, and the displacement data in the collected data corresponding to the lower stroke part is named as the lower stroke displacement data, and the lower stroke displacement data is corrected to obtain the corrected lower stroke displacement data; the correction method comprises the following steps: assuming that the maximum value in the upper stroke displacement data is A, the corrected lower stroke displacement data is equal to the difference between 2A and the lower stroke displacement data; The upstroke displacement data and the corrected downstroke displacement data are defined as target displacement data; then the load data are arranged from small to large according to the target displacement data to obtain a load data sequence; S3, performing a fast Fourier transform on the load data sequence obtained in step S2 to obtain a frequency domain load data sequence, where the frequency domain load data are all complex numbers, including a real part and an imaginary part; a data sequence consisting of frequency domain load data within a frequency range of 1 to 30 Hz is defined as a target frequency domain load data sequence; The real part and the imaginary part of each frequency domain load data in the target frequency domain load data sequence are extracted respectively to form a real part sequence and an imaginary part sequence, and the obtained real part sequence and imaginary part sequence are the eigenvalues ​​corresponding to the indicator diagram; (2) Obtain the characteristic value corresponding to the indicator diagram under the working condition to be determined, and define the characteristic value corresponding to the indicator diagram under the working condition to be determined as the characteristic value to be determined; calculate and compare the characteristic value to be determined with the standard characteristic value of each working condition in the standard characteristic library using the cosine similarity calculation formula. If the cosine similarity between the characteristic value to be determined and the standard characteristic value of a certain working condition in the standard characteristic library is the largest and greater than the set threshold, then the working condition and the working condition to be determined belong to the same working condition.

2. The method for analyzing the operating condition of an oil pumping unit according to claim 1, It is characterized in that The method for establishing the standard feature library is as follows: all the names of the working conditions and the feature values ​​corresponding to the indicator diagram under each working condition are stored in the library to obtain the standard feature library of the target oil pumping unit.

3. The method for analyzing the operating condition of an oil pumping unit according to claim 1, It is characterized in that When the eigenvalue to be determined is calculated and compared with the standard eigenvalue of each working condition in the standard feature library using the cosine similarity calculation formula, the imaginary part sequence in the eigenvalue to be determined and the imaginary part sequence in the standard eigenvalue of each working condition in the standard feature library are calculated and compared using the cosine similarity calculation formula, or the real part sequence in the eigenvalue to be determined and the real part sequence in the standard eigenvalue of each working condition in the standard feature library are calculated and compared using the cosine similarity calculation formula.

4. The method for analyzing the operating condition of an oil pumping unit according to claim 3, It is characterized in that When analyzing the working condition of the oil pump, only the real part sequence in the eigenvalue can be calculated and compared using the cosine similarity calculation formula; when analyzing the working condition of the oil pump suspension system, only the imaginary part sequence in the eigenvalue can be calculated and compared using the cosine similarity calculation formula.

5. The method for analyzing the working condition of an oil pumping unit according to any one of claims 1 to 4, It is characterized in that The set threshold is not less than 0.85.

Citation Information

Patent Citations

  • Method for diagnosing working conditions of rod-pumped well in real time based on change of area of ground indicator diagram

    CN103541723A

  • Electric power circulation detection and diagnosis technique for petroleum recovering station

    CN1328214A