Method for eliminating floating of rod-pumped well rod based on motor torque feedback

Through the motor torque feedback method of the third-generation vector-controlled inverter, automatic monitoring and control of wellbore float is achieved, which solves the problems of cumbersome installation and maintenance and low reliability of traditional load displacement sensors, and improves the accuracy of wellbore float monitoring and job security.

CN119021677AActive Publication Date: 2024-11-26WENZHOU JIADI ELECTRIC CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411139436.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-11-26
Estimated Expiration
2044-08-20

AI Technical Summary

Technical Problem

Traditional well rod floating monitoring relies on load displacement sensors, which are cumbersome to install and maintain and have low reliability, making it prone to misjudgment or misjudgment, affecting the accurate monitoring and control of well rod floating.

Method used

The motor torque feedback method based on the third generation vector-controlled inverter is adopted to detect and feedback the torque change signal of the oil pump in real time. By calculating the real-time torque and average torque of the motor, the changes in heavy oil viscosity are monitored and early warning, and the working parameters are automatically adjusted. Eliminate the floating conditions of the well rod to achieve automated control without external intervention.

Benefits of technology

It improves the automated dynamic adjustment and control of the floating conditions of the well rod, reduces the equipment failure rate, reduces the cumbersome operations of sensor installation and maintenance in traditional methods, and improves the continuity and safety of operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119021677A_ABST
    Figure CN119021677A_ABST
Patent Text Reader

Abstract

The invention discloses a method for eliminating floating of a pumping unit well rod based on motor torque feedback, and belongs to the technical field of oil exploitation, and the method comprises the following steps: detecting and feeding back a torque change signal of a pumping unit in a working process in real time based on torque data of a motor in a third-generation vector control frequency converter; according to a torque change signal obtained through feedback, the real-time torque and the average torque of the motor are calculated, the torque load rate of the motor is subjected to statistical analysis, the viscosity change of the thickened oil is monitored and early warned in real time, and the fault phenomenon of a soft card / hard card is eliminated by controlling the running speed. The working state of the oil pumping equipment is analyzed and recognized through an algorithm, and whether the well rod floating working condition occurs or not is judged; according to the method for eliminating the floating of the rod-pumped well rod based on the motor torque feedback, the problems and defects that a load displacement sensor is time-consuming and labor-consuming to install, the floating working condition of the well rod needs to be identified manually, and conditions appearing on site cannot be found in time in the prior art are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of oil extraction, and in particular to a method for eliminating the floating of a well rod of an oil pumping unit based on motor torque feedback. Background Art

[0002] In the daily production of pumping wells, wellbore floating is a common phenomenon that affects production efficiency. Traditionally, the monitoring and control of wellbore floating mainly rely on load displacement sensors. Through these sensors, technicians can obtain the load and displacement data of the wellbore and adjust the wellbore floating accordingly.

[0003] However, this method has some obvious disadvantages. First, the installation and maintenance of the load displacement sensor is cumbersome and time-consuming. Especially in the complex and changeable field environment, the sensor is easily affected by external factors and causes failure, which in turn affects the normal operation of the entire pumping system. Secondly, due to the ever-changing field environment, the reliability of the load displacement sensor is low, and it is easy to make misjudgments or misses, which in turn affects the accurate monitoring of the wellbore floating. Summary of the invention

[0004] The purpose of the present invention is to provide a method for eliminating the floating of a well rod of an oil pumping unit based on motor torque feedback, so as to solve the problems existing in the prior art.

[0005] To achieve the above object, the present invention provides the following technical solution: a method for eliminating the floating of a pumping unit well rod based on motor torque feedback, the method comprising the following steps:

[0006] S1: Based on the internal motor torque data of the third-generation vector control inverter, the torque change signal of the pumping unit during operation is detected in real time and fed back;

[0007] S2: Based on the torque change signal obtained by feedback, the real-time torque and average torque of the motor are calculated, the motor torque load rate is statistically analyzed, the viscosity change of heavy oil is monitored and warned in real time, the soft and hard jam faults are eliminated by controlling the running speed, the working status of the pumping equipment is identified through algorithm analysis, and whether the wellbore floating condition occurs;

[0008] S3: When the floating condition of the wellbore is identified, the working parameters of the pumping unit are automatically adjusted and the torque area between units is calculated and compared with the optimized flow state to obtain the corresponding relationship between the load and the viscosity change;

[0009] S4: The motor torque changes are continuously monitored during operation and compared with the preset threshold value, and the above judgment and elimination actions are automatically completed without external intervention.

[0010] Preferably, the step S1 is based on the real-time detection of the internal motor torque of the third-generation vector control inverter and the feedback of the torque change signal of the pumping unit during operation, which includes:

[0011] Motor start-up, initialization setting of the internal motor torque of the third-generation vector control inverter;

[0012] Real-time monitoring and quantification of torque fluctuations to form a sequence value S(t);

[0013] Perform A / D conversion on each acquired S(t) to generate digital torque data;

[0014] The latest torque data generated is fed back to the central processing module in real time.

[0015] Preferably, the method of generating real-time digital torque data S(t) based on the internal motor torque detection result of the third-generation vector control inverter further includes:

[0016] When quantifying the torque change, ensure that the minimum range is not less than 1 / 500 of the maximum possible torque change;

[0017] If the currently acquired digital torque data S(t)>=(last measured value+preset minimum change threshold δ), record this change; otherwise, regard it as an invalid reading and discard the value;

[0018] After collecting three consecutive valid values ​​according to the above steps, a preliminary trend determination is made to determine whether there is a significant increase in torque C;

[0019] The trend determination formula is expressed as: when [S(n)+S(n1)] / 2>S(n2)+ε, C holds, where ε is the torque increment threshold setting, and n1 represents the first valid torque measurement value before the current time point n; n2 represents the second valid torque measurement value before the current time point n.

[0020] Preferably, the confirmation of whether there is a significant torque increment in the preliminary trend determination further comprises:

[0021] Calculate the difference D between S(n) and S(nm), where m>=2 is the preset historical reading value, where S(n) is the real-time digital torque data measured at the current time point n, S(nm) is the mth historical torque reading before the time point n, and m is the preset historical reading interval;

[0022] If the difference satisfies the condition D>S avg×ξ, the threshold is set to the current torque average level amplification coefficient ξ, which is regarded as the signal T of abnormal torque increase, where Savg represents the average level of torque value monitored by the current system, D is the difference between the torque value S(n) at the current time point and the historical torque value S(nm), and ξ is an amplification coefficient used to adjust the sensitivity of the threshold;

[0023] The state judgment formula is: if [T = true], the motor speed adjustment preparation program is triggered;

[0024] For each adjustment step, the adjustment parameter μ is fine-tuned according to the coefficient ratio based on the size of the torque increment: μ=k×[D×η(S)], k is the positive adjustment factor, η(S)=γ·S2 is the negative feedback correction, where μ is the parameter used to adjust the motor speed, k is a positive adjustment factor that determines the sensitivity of the adjustment parameter μ, η(S) is a correction function used to introduce negative feedback during the adjustment process, and S is the current torque value.

[0025] Preferably, the step of adjusting the motor parameters during operation of the pumping unit to cope with the change in torque further comprises:

[0026] Record the speed ri of the latest n (≥3) adjustments, i ranging from 1 to n, and count the effectiveness E of these adjustments;

[0027] If two consecutive adjustments make [T=false]E set to true, the self-adjustment mechanism is considered successful, where E is a Boolean value (True / False) used to record the validity of the most recent n adjustments;

[0028] Design an adaptation function φ(r) that dynamically changes r according to the result of E=true or false, and takes into account the number of historical adjustments j:

[0029] When E=True then:φ(rj)→(r+(αβj) 2 );

[0030] Conversely: φ(rj)→(r(α+βj)) 3, Among them, α is a coefficient, β is an incremental coefficient, and j is the number of historical adjustments;

[0031] According to the output result of φ, the relationship between the voltage V and the speed r of the pump armature drive is modified to V=f(φ(r)); if the torque increment signal T is generated again, repeat this process until the abnormal state is eliminated.

[0032] Preferably, the further fine-tuning of the motor parameters in the stable operation state after the torque adjustment includes:

[0033] Select the first N valid values ​​S(i) in the rolling average torque sequence, i ranges from Nt to N;

[0034] Determine that S(i) in the continuous rolling average window falls within the threshold range [(Smin+δ1)-(Smax+δ2)];

[0035] Under the above conditions, if torque S(i) = k × S avg +β, (where the coefficient k∈[1±θ1]) is determined to be the optimal stable state F;

[0036] Compare the torque fluctuations δS1 and δS2 before and after. If δS1 / δS2<φα in the optimal state, reduce the fine-tuning step size β and continue stable operation.

[0037] Preferably, in step S2, data analysis is performed based on the torque change signal obtained through feedback, specifically including:

[0038] Real-time reading of the internal motor torque feedback information of the third-generation vector control inverter;

[0039] The current instantaneous motor torque value Ti and the average motor torque value T over a period of time are obtained through an algorithm = (T1+T2+…+Tn) / n;

[0040] For any time point i, the torque load rate of the motor is calculated as

[0041] If Li exceeds the first set threshold TH at one or some time points, an early warning of the change in the viscosity of the heavy oil is issued based on the torque change.

[0042] Preferably, the step of judging the working state according to the change of the motor torque further includes:

[0043] Fit and match the actual working torque curve of the motor with the normal working standard torque curve;

[0044] Evaluation based on the deviation D = |Ti-Texp| between the actual torque data and the expected value;

[0045] When D>the second set threshold THD, it is judged that the pumping unit may be in a non-standard state;

[0046] If D is greater than THD for N consecutive data cycles, it is determined that a potential soft or hard card condition has occurred, and the emergency plan is activated to reduce the probability of failure.

[0047] Preferably, the specific steps of pre-processing the possible rod floating situation are as follows:

[0048] Monitor the torque fluctuation amplitude and calculate the fluctuation index based on the maximum and minimum torque values ​​(Tmax, Tmin) of the current cycle

[0049] Let VITH3 be the third floating warning threshold;

[0050] If VI>VITH3, based on this condition, it is determined that the floating condition may be entered and parameters are prepared for adjustment;

[0051] After identifying this state, corresponding measures are taken to address the floating risk by changing working parameters such as stroke and speed S to restore the extraction efficiency.

[0052] Preferably, the implementation method of verifying the adjustment effect in the early warning process includes:

[0053] Calculate the contrast of the torque curves before and after implementing preventive measures Ti represents the adjusted data value, and Ti represents the unadjusted data value;

[0054] Compare based on CT value with the set target contrast TH4;

[0055] If CT = TH4, the improvement is considered successful and the next round of cycle monitoring begins;

[0056] If the CT value falls outside the range of TH4, it indicates that the strategy is ineffective or the situation is aggravated, and the pumping plan is further modified according to actual needs until the expected control effect is achieved;

[0057] The scheme for setting an abnormal jump protection mechanism while executing the automation process is as follows:

[0058] Continuously track and monitor the absolute value of the instantaneous torque difference ΔT= in the data sequence;

[0059] When |ΔT| exceeds the threshold TH5, it is determined that the mechanical system may be jammed or blocked;

[0060] Based on this judgment, an emergency load reduction command is taken to reduce ΔT and return the value to a safe and stable level;

[0061] If it is determined that the torque difference can return to the acceptable threshold range after a certain period of time, the normal operation procedure is gradually restored, and the subsequent working state prediction and processing method are recalculated.

[0062] It can be seen from the above technical solution that the present invention has the following beneficial effects:

[0063] The method for eliminating the floating of the well rod of the oil pumping unit based on the motor torque feedback detects and feeds back the torque change signal of the oil pumping unit in the working process in real time based on the internal motor torque of the third-generation vector control inverter; according to the torque change signal obtained by feedback, the real-time torque and average torque of the motor are calculated, the motor torque load rate is statistically analyzed, the viscosity change of the heavy oil is monitored and warned in real time, the soft / hard card fault phenomenon is eliminated by controlling the running speed, and the working state of the oil pumping equipment is identified through algorithm analysis and it is judged whether the well rod floating condition occurs; when the well rod floating condition is identified, the corresponding relationship between the load and the viscosity change can be obtained by automatically adjusting the working parameters of the oil pumping unit, calculating the torque area between units and comparing with the optimized flow state; during the operation, the motor torque change is continuously monitored and compared with the preset threshold value, and the above judgment and elimination actions are automatically completed without external intervention, so as to realize the automatic dynamic adjustment and control of the well rod floating condition, avoid the tedious operation of sensor installation and maintenance in the traditional method, and significantly reduce the equipment failure rate. In practical applications, the method uses intelligent means to quickly detect changes in the floating conditions of the wellbore and respond quickly, without relying on manual intervention, thereby further improving the continuity and safety of operations. The solution of the embodiments of the present disclosure can solve the problems of the current technology, such as the time-consuming and labor-intensive installation of load displacement sensors, the large amount of maintenance during the application process, and the proneness to failure in the field application environment; the wellbore floating conditions require manual identification, and the problems and disadvantages of being unable to be discovered in time when conditions occur on site. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1 The figure is a flow chart of the method of the present invention. DETAILED DESCRIPTION

[0065] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0066] like Figure 1 As shown, a method for eliminating the floating of a pumping unit well rod based on motor torque feedback, the method comprising:

[0067] S1: By installing the third-generation vector control inverter in the power system of the oil pump and connecting it to the controller, the actual torque changes during the operation of the motor can be continuously obtained. The real-time data interaction between the motor torque data inside the third-generation vector control inverter and the control system can capture the tiny torque fluctuations in the operation of the oil pumping equipment motor at every moment. When the equipment is working normally or encounters changes in the well conditions, the feedback change signal will be very subtle or even difficult to detect. But this signal is crucial because it not only helps us understand the motor load situation, but also indirectly understand the downhole environmental status. For example, in a conventional operating environment, when the third-generation vector control inverter is installed and calibrated, the system begins to monitor the torque changes of the oil pump motor as it moves periodically during work.

[0068] For example, let's take a specific example: suppose we install such a third-generation vector control inverter in a heavy oil well, and connect it through a control system to realize real-time monitoring function. The maximum, minimum and horizontal torque values ​​of the motor recorded in the normal operation cycle are about 75Nm, 68Nm and 72Nm respectively. Further monitoring and analysis are carried out on this basis.

[0069] S2: In order to more precisely control the oil pumping equipment and identify faults, the measured data obtained in the above steps needs to be converted into an understandable form for in-depth analysis. The specific steps include using the control system software module to calculate the torque value and its change trend in each cycle, the maximum value minus the minimum value is the change, and extracting the average value within a certain time window to form the working data of the motor under the actual load state. By comprehensively comparing and analyzing these data, the following purposes can be achieved:

[0070] Quantitative analysis and evaluation of the torque-to-load ratio of the motor. For example, the ratio of the average torque to the maximum theoretical rated torque in the above example is an indicator that directly reflects the weight of the load. If the average load is 72Nm and the rated maximum torque is 120Nm, the load ratio is about 59%, which is in the safe range, indicating that the operation is stable.

[0071] - Use the torque information of the motor to estimate the change in underground oil viscosity. For example, in a certain oil production operation, as the oil layer is gradually depleted, the produced fluid becomes thicker and thicker, resulting in a gradual increase in the required torque. By calculating the average growth rate of this change, we can help predict the possible thick oil blockage in advance; on the contrary, if it is a clear flow operation, the low viscosity and small torque fluctuation may indicate that there may be gas plugs or impurity blockages in the oil pipeline.

[0072] The algorithm analysis of dynamic change trends is used to determine whether the current status of the oil pumping equipment is normal / abnormal, and a quick response is made according to the specific situation.

[0073] S3: Once abnormal fluctuations are detected in the well pipe, and combined with the above analysis of the pumping load ratio, it is determined that the phenomenon may be caused by the floating static friction of the well pipe, the system will start the automatic adjustment module to improve the working conditions. Here, the adjustment method is mainly considered from three aspects:

[0074] 1. Adjust the operating frequency. When it is determined that the problem is caused by excessive friction, the system first reduces the frequency of the motor to reduce the vibration of the well pipe, thereby alleviating the adverse effects of the floating point friction.

[0075] 2. Control the up and down movement distance of the pump barrel. Proper adjustment of the stroke distance can effectively avoid the resistance point at the floating rod position and minimize the resistance or wear problems that the downhole equipment may encounter during operation. As in the previous example, the system reduces the operating burden of the equipment and prevents problems such as jamming by reducing the motor speed in the working cycle and appropriately reducing the small stroke range, such as the original single stroke height setting of 4.5m is reduced to 3.75m or 3.2m.

[0076] 3. At the same time, it is also necessary to consider whether the coverage area under the torque curve per unit time reaches the preset level. Under the premise of maintaining the stability of the motor output force, the internal flow state of the well pipe is optimized to reduce the friction coefficient or increase the flow medium to ensure the oil production quality.

[0077] For example, in a typical heavy oil well, the algorithm above determines that the current torque fluctuation deviates greatly from the standard mining curve and has affected the viscosity value of the normal output fluid. In order to restore the normal state, the system may automatically adjust the working cycle speed and frequency, reducing the frequency from the initial 14Hz to 12Hz, and at the same time increase the working water pressure of the injection pump accordingly to dilute the medium and improve the overall efficiency.

[0078] S4: Finally, the stable workflow is maintained through continuous monitoring and automatic adjustment during the operation period, and the above monitoring and adjustment actions are automatically performed to ensure that the pumping process is not affected by external conditions and continues. The control system sets a certain torque range and sets appropriate thresholds according to different working conditions. Only when the real-time measurement value falls within this range can the equipment operation be considered reliable. Once the threshold is exceeded, it means there is a potential fault, and the system will automatically take countermeasures such as reducing the speed or alarming to deal with it.

[0079] Through the implementation of the above steps, several outstanding problems existing in the original technical system were solved:

[0080] *Reduces the need for traditional mechanical load and displacement detectors, significantly reduces installation costs, simplifies installation steps, and alleviates the pressure of long-term management and maintenance.

[0081] Next, the specific steps of a method for eliminating the floating of the pumping unit rod based on motor torque feedback are described:

[0082] Motor starting and internal motor torque initialization of the third generation vector control inverter

[0083] In this step, when the pumping unit motor starts, the internal motor torque data of the third-generation vector control inverter connected to the motor will also be initialized and set synchronously. At this time, the inverter will be ready to monitor the torque changes of the motor during operation. In order to obtain reliable signal feedback, the system must first confirm that the sensor is working properly and calibrate its measurement benchmark to avoid misreading in the subsequent process.

[0084] Real-time monitoring and quantification of torque change signals

[0085] Subsequently, the system implements continuous monitoring of the motor torque data feedback inside the third-generation vector control inverter, and digitizes the collected analog signals using appropriate data processing methods. During each pumping cycle, a set of dynamic analog data streams St representing the torque changes experienced by the motor during actual operation will be continuously generated, where t is the sampling time point. These data reflect the torque changes over time.

[0086] Digital processing and feedback of signals

[0087] The A / D analog / digital conversion process is performed on each analog data point at time t to achieve quantification, thereby generating a series of digital signal sequences that are consistent with the actual torque fluctuations, namely digital torque data. The digital torque information generated in each sampling time period after this processing can accurately record the change amplitude and change trend of the motor torque. Then the system receives the motor torque data from the third-generation vector control inverter in real time and transmits it to the central processor through the data line for analysis and processing.

[0088] Through the above process, the central processing control unit of the oil pump can timely obtain the torque change signal generated by the motor under the current operating state and make a response judgment, and optimize and regulate the working conditions or control logic of the oil pump based on this, thereby effectively solving or reducing the negative impact and harm of rod vibration on the system, improving mining efficiency and extending the service life of the equipment.

[0089] Next, the specific steps of torque change detection and preliminary trend determination in a method for eliminating pumping unit well rod floating based on motor torque feedback are described:

[0090] First, quantification of torque changes requires ensuring that the internal motor torque data of the selected third-generation vector control inverter can be accurately detected, and the minimum range is set to no less than 1 / 500 of the possible torque change, that is, the minimum resolution should at least cover one-five-hundredth of more than half of the potential maximum fluctuation value to ensure the sensitivity and accuracy of the torque data.

[0091] Then, according to the set standards, it is determined whether the currently detected torque value has changed - compare the newly obtained digital torque value St with the previously stored data St-1; if St is greater than or equal to the last reading plus the preset change threshold δ, this reading is regarded as a valid change and is recorded for trend analysis; on the contrary, if St-St1<δ, the torque sampling this time is considered insufficient to represent substantial physical changes and is ignored to eliminate the possibility of misjudgment.

[0092] When at least three verified effective torque values ​​are collected continuously, the next step is to determine whether there is a phenomenon that may indicate the early signal of the floating of the pumping rod. The three effective values ​​Sn, Sn1 and Sn2 are used to make a preliminary trend judgment. The specific method is as follows: the average of two consecutive effective readings is calculated as [Sn+Sn1] / 2 and compared with the third value to check whether there is a significant increase in torque C. The mathematical discriminant of this process can be expressed as follows: if [Sn+Sn-1] / 2 is greater than Sn-2 plus the preset threshold ε of the torque change, the judgment condition C is established, indicating that the pumping rod may show signs of lifting.

[0093] Therefore, in the actual operation environment, when a sudden and continuous increase in torque is detected during the pumping process, the risk of rod floating can be preliminarily identified. For example, when it is detected that the pumping efficiency decreases due to changes in downhole conditions or that the torque borne by the motor tends to increase rapidly due to excessive load changes, such as sand jamming, gas-liquid lock, etc., corresponding preventive maintenance or adjustments can be made in time based on this preliminary judgment result to avoid further damage to the equipment, thereby extending the safe operation cycle of the production facilities and ensuring the continuity and efficient operation of production operations.

[0094] Next, the torque increment detection and motor speed adjustment steps in a method for eliminating the floating of a pumping unit well rod based on motor torque feedback are described:

[0095] First, the process of performing preliminary trend judgment to confirm whether there is a significant torque increment is: calculate the difference D between the current torque measurement value Sn and the historical torque measurement value Snm of at least two periods; here m is the preset historical reading value to capture the torque change over a period of time. Then judge whether the torque level change exceeds a specific threshold: if the difference D exceeds the current torque average level Savg according to a certain amplification ratio ξ, that is, D>Savg×ξ, it is considered to be an abnormally increased signal T. At this time, the state judgment criterion becomes if the Boolean value of T is true, that is, when there is a torque abnormality signal, the motor is triggered to enter the speed adjustment preparation program. The key to this step is to accurately judge the unexpected torque increase trend that occurs in the working state of the pumping well and prepare for subsequent responses.

[0096] When the above preliminary judgment shows a significant increase trend, the system will enter the adjustment step and fine-tune the speed adjustment parameter μ in proportion to the actual torque increment, so as to make timely and fine adjustments to the operating speed of the pumping equipment to prevent the occurrence and development of the rod floating phenomenon. The specific algorithm can be expressed as follows: fine-tuning parameter μ = k × [D × ηS], where k is a positive adjustment factor, ηs = γ × S2 represents the method of implementing negative feedback correction based on the current torque S; in this way, the μ value generated by comprehensively considering the torque increase and decrease and the current torque level will guide the next step to adjust the working speed of the pumping unit motor drive system, so as to maintain the dynamic stability of the system when the torque changes greatly, and reduce the increase of rod buoyancy due to abnormal loads.

[0097] The technical implementation of the above steps can accurately monitor the torque changes in the dynamic working conditions of the pumping unit, and take timely and accurate measures to adjust the motor operating state, ensuring the safe and reliable operation of the overall system, and avoiding or reducing the impact of rod floating problems on the efficiency and quality of oil production operations.

[0098] Next, the specific steps of a torque adaptation control strategy in a method for eliminating the floating of a pumping unit well rod based on motor torque feedback are described:

[0099] Record and evaluate control effectiveness: The control system records the latest n (n ≥ 3) adjustment results ri for the speed r, i from 1 to n; and by comparing the pumping effect before and after, the effectiveness of these control adjustments in solving the rod floating phenomenon E is statistically analyzed. If it is observed that the rod floating problem has improved during two consecutive tunings, E is set to true, indicating that the two control adjustments are effective; otherwise, E is marked as false, indicating that the ideal improvement goal has not been achieved.

[0100] Definition and calculation of adjustment factors: The system designs an adaptation function φr, which is used to dynamically update the target speed rj of the next control stage according to the statistical results of the previous effective mark E = true or false, where j represents the number of historical speed adjustments. Specifically, when the effective indicator E shows true, that is, the last adjustment is effective, φ will increase the speed by r plus αβ multiplied by j squared, where α and β represent two constant coefficients respectively. If E does not show an increase in effectiveness, φ uses r multiplied by the above adjustment coefficient α+β and the cube of the historical number of times to make the next round of correction attempts in an attempt to achieve the effect of torque feedback adjustment, thereby eliminating the floating rod situation.

[0101] Correct the relationship between motor voltage and speed to realize self-tuning cycle: according to the output of the adaptation function, the control system updates the control circuit of the pumping motor armature, changes the functional relationship between the voltage V and the actual motor speed r, and makes the correspondence between the two more reasonable through the above dynamic adjustment strategy. Once the new torque signal increment T appears again, the above process is repeated to further correct the control variables and optimize the working process, so that the system's operating state returns to stability, eliminating the work efficiency problems caused by the floating rod and the possible equipment damage.

[0102] Next, the specific steps of the torque fine-tuning process in a method for eliminating the floating of a pumping unit well rod based on motor torque feedback are described:

[0103] Select and calculate a subset of the torque series

[0104] For the case where the torque is adjusted and the pump is running in a relatively stable state, the first N valid values ​​are selected from the latest rolling average torque sequence Si as the investigation objects, where the value range of i is Nt to N, where Nt represents the latest data position in the current sequence.

[0105] Determine the stable operation state within the torque threshold range

[0106] Calculate the maximum and minimum threshold values ​​of the selected torque subset Si within the continuous rolling average window. If all selected torque effective values ​​Si are within the predefined maximum and minimum threshold range [(Smin+δ1)-(Smax+δ2)], it indicates that the current system is running smoothly in a safe and controllable state.

[0107] Optimize motor parameters to the most ideal working state

[0108] For all selected sequences that meet the conditions, i.e. fall within the specified threshold range, the torque optimization judgment criterion S(i)=k×S is further set. avg +β, where the coefficient k∈[1±θ1] is in the interval; when this condition is met, it is considered that the motor is in the optimal state F for optimal operation.

[0109] Further adjust parameter optimization according to torque fluctuation situation

[0110] The change in torque of the two cycles before and after the current optimal stable state is evaluated by ratio of δS1 and δS2. If the comparison result shows δS1 / δS2<φα, it means that the current torque fluctuation can be effectively mitigated. At this time, the step length β can be reduced to make a more precise adjustment to maintain stable operation while maintaining the optimal torque state.

[0111] The above steps ensure that the motor can achieve more accurate and reliable parameter fine-tuning, further improve the operating efficiency and stability of the oil pumping system, and reduce the floating phenomenon of the rod system, ultimately achieving the optimal working condition.

[0112] Next, the steps of analyzing the torque variation signal in a method for eliminating the floating of the pumping unit rod based on motor torque feedback are described:

[0113] The operating status of the downhole motor is monitored by collecting feedback information of the motor torque data inside the third-generation vector control inverter in real time. During this process, the motor torque data inside the third-generation vector control inverter continuously monitors the actual value of the motor torque during downhole operations and transmits it to the central control unit through signals for data processing. The real-time reading of this data is crucial for dynamically understanding the current working status and lays the foundation for subsequent processing.

[0114] By processing the torque values ​​fed back to the central control system, the torque value Ti of the instantaneous motor at each time sampling point is calculated, and then the average value T = (T1+T2+…+Tn) / n of the instantaneous torque value sequence within a certain time window is solved. In this way, the average torque change over a period of time under the actual working state of the motor can be accurately known, which is convenient for comparison with the instantaneous torque change at each specific measurement moment.

[0115] The torque load rate at the corresponding time is calculated based on the actual instantaneous torque Ti of the motor at the specific time point i and the average torque value of the motor during this period. This will help the operator to quantitatively analyze the actual working conditions underground in each time period and the comparison differences with the normal state, so as to identify whether there is a possible abnormality.

[0116] The formula for torque load rate is:

[0117] The relative relationship between the instantaneous load rate Li at each time point and its preset alarm threshold TH is determined. If Li>TH exists, a possible warning of a change in the viscosity of the heavy oil well pipe is triggered, prompting maintenance personnel to check and make appropriate adjustments or preventive measures; this allows on-site staff to obtain early warnings before obvious abnormalities occur in the equipment and take corresponding measures in time to prevent the fault from expanding.

[0118] To more clearly demonstrate how to apply these steps, consider the following example:

[0119] During downhole operations, assume that a sampling window length contains 10 consecutively sampled torque data, that is, n=10, such as reading data once every 1 second. Assume that the instantaneous torque values ​​measured at these 10 data points are T1=15N·m, T2=16N·m, ..., T10=17N·m, so the average motor torque value in the sampling period is (15+16+...+17) / 10.

[0120] Then, for the instantaneous torque at the ith time point, for example, the 5th time point, the transient torque load rate is calculated, and the calculation results are:

[0121]

[0122] The design threshold TH = 20%. If the calculated L at any time point is greater than the threshold TH, the system immediately starts the early warning process. For example, when L5>TH, it indicates that the motor torque recorded at the 5th time sampling point significantly exceeds the normal level by more than 20%. The system will notify the operator through sound and light, and may link other control units to adjust the operation mode to avoid further damage. Through the above process, effective prevention of pumping unit well rod floating is achieved.

[0123] Through the above method, while achieving real-time monitoring of underground conditions, it also provides maintenance engineers with a way to promptly and accurately detect deviations of well conditions from expected states and provide early warning prompts.

[0124] Next, the specific steps of determining torque changes in a method for eliminating pumping unit well rod floating based on motor torque feedback are described:

[0125] By collecting the actual working torque data of the motor and combining it with the ideal torque baseline generated by the motor under normal conditions, an actual working torque curve and a preset normal working standard torque curve are formed. The two curves are then fitted and compared to analyze whether there is a significant difference between the two.

[0126] By comparing the difference between the actual torque data Ti and the expected torque data Texp during normal operation, the deviation D is defined as the absolute value of the difference between the two values ​​D = |Ti-Texp|; if the calculated deviation D exceeds the second threshold THD set in advance, it means that there is a large difference in the actual working torque of the motor. At this time, it is judged that the probability of encountering abnormal operating conditions or potential problem situations may increase.

[0127] The abnormal condition is confirmed by setting the number of consecutive data cycles N as the time window. If the deviation continues to exceed the threshold THD in the above N consecutive data cycles, it indicates that the oil pump may have a so-called "soft card" or "hard card" fault state. At this time, the system will activate the emergency plan to reduce the risk of such faults, thereby ensuring the smooth operation of the entire production process and avoiding equipment damage.

[0128] To take a specific example: if the torque data of a motor in a certain pumping well is maintained at around 50N·m when it is operating normally, a theoretical curve for normal operation can be set. When the actual measured working torque of the motor changes to 54N·m and the difference between this data and the ideal expected value reaches 4N·m, if this deviation continuously exceeds the preset threshold value of 3N·m within a set window, the pumping unit control system should adjust the operation in time to prevent dangerous conditions such as jamming, and implement emergency plans in a timely manner to mitigate possible adverse consequences.

[0129] Next, the specific steps of torque monitoring and floating risk assessment in a method for eliminating pumping unit well rod floating based on motor torque feedback are described:

[0130] The torque variation of the motor in a certain period of time is monitored by sensors, and the maximum torque value Tmax and the minimum torque value Tmin are determined accordingly; then, the average value of the torque values ​​recorded at each measurement time in the period is calculated. Based on this information, the torque fluctuation index of the period is further obtained. This index is used to quantitatively measure the torque variability of the motor during the extraction process and its indication of the possible risk of pumping rod floating.

[0131] in:

[0132] A predefined torque fluctuation warning threshold VITH3 is determined. The calculated torque fluctuation index VI is compared and analyzed. When the calculated VI is greater than VITH3, it can be considered that the pumping rod has a high floating tendency. At this time, the system enters the warning stage, which means that the next step should immediately consider adjusting the relevant operating parameters to avoid potential problems.

[0133] If the above situation is detected, the operating parameters of the equipment, especially the stroke length, usually expressed as L, and the rotation speed or stroke rate, expressed as S, will be adjusted in time. The specific adjustment strategy can be to reduce the current value to reduce torque fluctuations, prevent rod floating and ultimately ensure continuous and effective liquid extraction. This strategy needs to be accurately formulated based on the actual working conditions, well characteristics and required extraction volume, in order to avoid the problem of low oil extraction efficiency caused by excessive floating as much as possible.

[0134] Next, the specific steps of verifying the adjustment effect of the early warning processing in the method of eliminating the floating of the pumping unit rod based on the motor torque feedback are described:

[0135] The effect of adjusting the floating condition of the sucker rod is verified by analyzing the change in motor torque after the preventive measures are implemented. The contrast CT value of the torque curve before and after the measures are taken is calculated using the following formula:

[0136]

[0137] Ti, after adjustment, represents a set of torque data points obtained in a specific time period after the adjustment measures are implemented; Ti, before adjustment, represents the data points of the motor torque recorded in the same time period before the adjustment is implemented; n is the number of measurement points. The purpose of this calculation is to compare the working status of the motor before and after the implementation of preventive measures, evaluate whether the measures taken have really slowed down or solved the problem of wellbore floating, and reflect it in a quantitative CT value.

[0138] The next step is to compare the calculated CT value with the preset target contrast threshold TH4. Compare the calculated CT value with the preset target threshold TH4:

[0139] If the CT value is just equal to or slightly lower than the preset target value, that is, if TH4≤CT and the value does not exceed the set value, it can be determined that the adjustment plan is effective and has achieved the expected effect. At this time, the equipment enters the normal monitoring stage and waits for a new round of monitoring or preventive maintenance.

[0140] However, if the CT value falls outside the preset target contrast TH4 range, it means that the current torque change fails to meet the expected results, indicating that the pumping unit prevention plan has failed to successfully suppress or alleviate the rod floating problem of the pumping well. In this case, the adjustment effect and possible influencing factors should be re-evaluated, and further corrections or more effective prevention and control measures should be formulated until the torque contrast reaches the expected effect.

[0141] In summary, in the adjustment process based on motor torque feedback, the above-mentioned method for calculating CT value and the judgment method compared with the threshold TH4 can realize the dynamic control of the effectiveness and sustainability of the pumping rod floating problem. This cyclic iterative improvement measure not only ensures the safe and efficient operation of the equipment, but also can solve the actual problems that occur on site in a targeted manner.

[0142] Next, the specific steps of the abnormal jump protection mechanism in the method of eliminating the floating of the pumping unit well rod based on the motor torque feedback are described:

[0143] The real-time sensor monitoring device continuously measures the torque value Ti of the pumping unit motor and forms a series of torque measurement records to form a data sequence. For these continuous data sequences, the difference between any two adjacent data ΔT=Ti-Ti-1 is calculated using the standard difference definition and its absolute value |ΔT| is recorded. This continuous process helps monitor the changes in motor torque, especially the possibility of identifying instantaneous or drastic changes.

[0144] The absolute value of the instantaneous torque difference is compared with the preset alarm threshold TH5. If |ΔT| exceeds the threshold TH5, it means that an abnormal situation may have occurred, such as mechanical equipment blockage or a sudden increase in mechanical load. When this situation is detected, the system will start the emergency protection logic and automatically send a command to the drive control module to reduce the load of the pumping unit to prevent overload or other mechanical damage accidents.

[0145] In order to ensure that the pumping unit can continue to operate in a safe state and minimize the time of interruption to the production process, the control system will continue to track the changing trend of |ΔT| according to a set of recovery strategies set previously. As long as the size of |ΔT| returns to the threshold range of normal operation within a certain time window, the load reduction operation made in the previous emergency situation can be gradually revoked, and the next operation strategy and possible working condition predictions can be adjusted accordingly to restore the normal automatic control logic execution process.

[0146] The above process is intended to provide a flexible and effective means to adapt to various working conditions that may occur on site, reduce unnecessary equipment failures and improve work efficiency and safety.

[0147] In actual operation, when this device is used, the motor torque data inside the third-generation vector control inverter of the motor will collect the torque data of the pumping unit in real time, and convert these data into electrical signals that can be understood by the system and feed them back to the controller. The control system accurately calculates the actual torque and average torque level currently borne by the motor based on the collected torque change information, and uses this dynamic feedback data to perform real-time data comparison and analysis. When the motor starts pumping oil, by real-time monitoring of the motor's working status, especially the high load conditions caused by heavy oil or hard wax that may occur during the pumping process, the specific motor load rate and possible changes in working conditions can be calculated. The system can quickly identify whether the motor has a trend of change that exceeds the scope of normal work under high load conditions. In addition, the system can also combine the preset alarm thresholds to achieve predictive diagnostic warnings for the operating efficiency and health status of the pumping unit. Once the working resistance is detected to be increased due to complex factors such as heavy oil, which may cause the downhole pump to be unable to pump oil smoothly - that is, when the so-called "well rod floating" condition occurs in the pumping well, this solution will use the built-in algorithm to intelligently adjust the frequency and size of the inverter drive motor current according to the medium viscosity corresponding to different load values ​​under known conditions, thereby realizing the automatic and precise control of the pumping speed and start-stop action; this can not only improve work efficiency and reduce power consumption, but also effectively reduce the frequency of abnormal friction between the pumping rod and the well wall and the potential safety accidents caused by it. The whole process can continue without human intervention. Such a highly integrated automatic control solution significantly improves the stability and applicability of the overall device and provides solid technical support for field applications. .

[0148] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A method for eliminating the floating of a pumping unit rod based on motor torque feedback, characterized in that: The method comprises the following steps: S1: Based on the internal motor torque data of the third-generation vector control inverter, the torque change signal of the pumping unit during operation is detected in real time and fed back; S2: Based on the torque change signal obtained by feedback, the real-time torque and average torque of the motor are calculated, the motor torque load rate is statistically analyzed, the viscosity change of heavy oil is monitored and warned in real time, the soft and hard jam faults are eliminated by controlling the running speed, the working status of the pumping equipment is identified through algorithm analysis, and whether the wellbore floating condition occurs; S3: When the floating condition of the wellbore is identified, the working parameters of the pumping unit are automatically adjusted and the torque area between units is calculated and compared with the optimized flow state to obtain the corresponding relationship between the load and the viscosity change; S4: The motor torque changes are continuously monitored during operation and compared with the preset threshold value, and the above judgment and elimination actions are automatically completed without external intervention.

2. The method for eliminating the floating of a pumping unit rod based on motor torque feedback according to claim 1 is characterized in that: The step S1 detects and feeds back the torque change signal of the pumping unit in the working process in real time based on the internal motor torque data of the third generation vector control inverter, and includes: The motor starts and the internal motor torque data of the third-generation vector control inverter is initialized and set; Real-time monitoring and quantification of torque fluctuations to form a sequence value S(t); Perform A / D conversion on each acquired S(t) to generate digital torque data; The latest torque data generated is fed back to the central processing module in real time.

3. The method for eliminating the floating of the well rod of the pumping unit based on the motor torque feedback according to claim 2 is characterized in that: The method of generating real-time digital torque data S(t) based on the internal motor torque data detection result of the third-generation vector control inverter further includes: When quantifying the torque change, ensure that the minimum range is not less than 1 / 500 of the maximum possible torque change; If the currently acquired digital torque data S(t)>=(last measured value+preset minimum change threshold δ), record this change; otherwise, regard it as an invalid reading and discard the value; After collecting three consecutive valid values ​​according to the above steps, a preliminary trend determination is made to determine whether there is a significant increase in torque C; The trend determination formula is expressed as: when [S(n)+S(n1)] / 2>S(n2)+ε, C holds, where ε is the torque increment threshold setting, and n1 represents the first valid torque measurement value before the current time point n; n2 represents the second valid torque measurement value before the current time point n.

4. The method for eliminating the floating of a pumping unit rod based on motor torque feedback according to claim 3 is characterized in that: The confirmation of whether there is a significant torque increment in the preliminary trend determination further includes: Calculate the difference D between S(n) and S(nm), where m>=2 is the preset historical reading value, where S(n) is the real-time digital torque data measured at the current time point n, S(nm) is the mth historical torque reading before the time point n, and m is the preset historical reading interval; If the difference satisfies the condition D>S avg ×ξ, the threshold is set to the current torque average level amplification coefficient ξ, which is regarded as the signal T of abnormal torque increase, where Savg represents the average level of torque value monitored by the current system, D is the difference between the torque value S(n) at the current time point and the historical torque value S(nm), and ξ is an amplification coefficient used to adjust the sensitivity of the threshold; The state judgment formula is: if [T = true], the motor speed adjustment preparation program is triggered; For each adjustment step, the adjustment parameter μ is fine-tuned according to the coefficient ratio based on the size of the torque increment: μ=k×[D×η(S)], k is the positive adjustment factor, η(S)=γ·S2 is the negative feedback correction, where μ is the parameter used to adjust the motor speed, k is a positive adjustment factor that determines the sensitivity of the adjustment parameter μ, η(S) is a correction function used to introduce negative feedback during the adjustment process, and S is the current torque value.

5. The method for eliminating the floating of the well rod of the oil pumping unit based on the motor torque feedback according to claim 4 is characterized in that: The adjusting of motor parameters during operation of the pumping unit to cope with the change in torque further comprises: Record the speed ri of the latest n (≥3) adjustments, i ranging from 1 to n, and count the effectiveness E of these adjustments; If two consecutive adjustments make [T=false]E set to true, the self-adjustment mechanism is considered successful, where E is a Boolean value (True / False) used to record the validity of the most recent n adjustments; Design an adaptation function φ(r) that dynamically changes r according to the result of E=true or false, and takes into account the number of historical adjustments j: When E=True then: φ(rj)→(r+(αβj)2); Conversely: φ(rj)→(r(α+βj)) 3, Among them, α is a coefficient, β is an incremental coefficient, and j is the number of historical adjustments; According to the output result of φ, the relationship between the voltage V and the speed r of the pump armature drive is modified to V=f(φ(r)); if the torque increment signal T is generated again, repeat this process until the abnormal state is eliminated.

6. The method for eliminating the floating of the well rod of the pumping unit based on the motor torque feedback according to claim 5 is characterized in that: The further fine-tuning of the motor parameters in the case of stable operation after the torque adjustment includes: Select the first N valid values ​​S(i) in the rolling average torque sequence, i ranges from Nt to N; Determine that S(i) in the continuous rolling average window falls within the threshold range [(Smin+δ1)-(Smax+δ2)]; Under the above conditions, if torque S(i) = k × S avg +β, (where the coefficient k∈[1±θ1]) is determined as the optimal stable state F; Compare the torque fluctuations δS1 and δS2 before and after. If δS1 / δS2<φα in the optimal state, reduce the fine-tuning step size β and continue stable operation.

7. The method for eliminating the floating of the well rod of the oil pumping unit based on the motor torque feedback according to claim 1 is characterized in that In step S2, data analysis is performed based on the torque change signal obtained through feedback, specifically including: Real-time reading of the internal motor torque data feedback of the third-generation vector control inverter; The current instantaneous motor torque value Ti and the average motor torque value T over a period of time are obtained through an algorithm = (T1+T2+…+Tn) / n; For any time point i, the torque load rate of the motor is calculated as If Li exceeds the first set threshold TH at one or some time points, an early warning of the change in the viscosity of the heavy oil is issued based on the torque change.

8. The method for eliminating the floating of the well rod of the pumping unit based on the motor torque feedback according to claim 7 is characterized in that The step of judging the working state according to the change of the motor torque further includes: Fit and match the actual working torque curve of the motor with the normal working standard torque curve; Evaluation based on the deviation D = |Ti-Texp| between the actual torque data and the expected value; When D>the second set threshold THD, it is judged that the pumping unit may be in a non-standard state; If D is greater than THD for N consecutive data cycles, it is determined that a potential soft or hard card condition has occurred, and the emergency plan is activated to reduce the probability of failure.

9. The method for eliminating the floating of the well rod of the pumping unit based on the motor torque feedback according to claim 8 is characterized in that , the specific steps of pre-processing the possible rod floating situation are as follows: Monitor the torque fluctuation amplitude and calculate the fluctuation index based on the maximum and minimum torque values ​​(Tmax, Tmin) of the current cycle Let VITH3 be the third floating warning threshold; If VI>VITH3, based on this condition, it is determined that the floating condition may be entered and parameters are prepared for adjustment; After identifying this state, corresponding measures are taken to address the floating risk by changing working parameters such as stroke and speed S to restore the extraction efficiency.

10. A method for eliminating the floating of a pumping unit rod based on motor torque feedback according to claim 9, characterized in that ,The implementation methods of verifying the adjustment effect in the early warning process include: Calculate the contrast of the torque curves before and after implementing preventive measures Ti represents the adjusted data value, and Ti represents the unadjusted data value; Compare based on CT value with the set target contrast TH4; If CT = TH4, the improvement is considered successful and the next round of cycle monitoring begins; If the CT value falls outside the range of TH4, it indicates that the strategy is ineffective or the situation is aggravated, and the pumping plan is further modified according to actual needs until the expected control effect is achieved; The scheme for setting an abnormal jump protection mechanism while executing the automation process is as follows: Continuously track and monitor the absolute value of the instantaneous torque difference ΔT in the data sequence; When |ΔT| exceeds the threshold TH5, it is determined that the mechanical system may be jammed or blocked; Based on this judgment, an emergency load reduction command is taken to reduce ΔT and return the value to a safe and stable level; If it is determined that the torque difference can return to the acceptable threshold range after a certain period of time, the normal operation procedure is gradually restored, and the subsequent working state prediction and processing method are recalculated.

Citation Information

Patent Citations

  • Fault detection method and device for screw pump well

    CN114412447A

  • Automatic regulation and control method for preventing eccentric wear of sucker rod in oil extraction of horizontal well

    CN117248882A

  • Pumping unit upper and lower dead center position determination method, parameter determination method and related device

    CN117668409A

  • Rod pump control system including parameter estimator

    US20040062657A1

  • Method for mitigating rod float in rod pumped wells

    US20060067834A1