CN110895396A - Iterative approach follow-up leveling control method and device for beam-pumping unit - Google Patents

Iterative approach follow-up leveling control method and device for beam-pumping unit Download PDF

Info

Publication number
CN110895396A
CN110895396A CN201911004824.5A CN201911004824A CN110895396A CN 110895396 A CN110895396 A CN 110895396A CN 201911004824 A CN201911004824 A CN 201911004824A CN 110895396 A CN110895396 A CN 110895396A
Authority
CN
China
Prior art keywords
module
balance
pumping unit
follow
adjustment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911004824.5A
Other languages
Chinese (zh)
Other versions
CN110895396B (en
Inventor
张燕
赵怀军
胡定兴
张娜
吕晓鹏
梁旭涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xi'an Huarui Network Electric Polytron Technologies Inc
Original Assignee
Xi'an Huarui Network Electric Polytron Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xi'an Huarui Network Electric Polytron Technologies Inc filed Critical Xi'an Huarui Network Electric Polytron Technologies Inc
Priority to CN201911004824.5A priority Critical patent/CN110895396B/en
Publication of CN110895396A publication Critical patent/CN110895396A/en
Application granted granted Critical
Publication of CN110895396B publication Critical patent/CN110895396B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • EFIXED CONSTRUCTIONS
    • E21EARTH DRILLING; MINING
    • E21BEARTH DRILLING, e.g. DEEP DRILLING; OBTAINING OIL, GAS, WATER, SOLUBLE OR MELTABLE MATERIALS OR A SLURRY OF MINERALS FROM WELLS
    • E21B43/00Methods or apparatus for obtaining oil, gas, water, soluble or meltable materials or a slurry of minerals from wells
    • E21B43/12Methods or apparatus for controlling the flow of the obtained fluid to or in wells
    • E21B43/121Lifting well fluids
    • E21B43/126Adaptations of down-hole pump systems powered by drives outside the borehole, e.g. by a rotary or oscillating drive
    • E21B43/127Adaptations of walking-beam pump systems
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04BPOSITIVE-DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS
    • F04B47/00Pumps or pumping installations specially adapted for raising fluids from great depths, e.g. well pumps
    • F04B47/14Counterbalancing

Abstract

The invention provides an iterative approach follow-up leveling control method of a beam-pumping unit, which comprises the steps of firstly analyzing the motion rule and the energy circulation mechanism of a pumping unit system, and establishing a mathematical model of the incidence relation between the change of an integral value of input electric power of a motor and the balance degree of the pumping unit; secondly, calculating the power integral ratio of the unit stroke or the multi-stroke up-stroke and down-stroke to detect the system balance of the pumping unit on line by acquiring real-time operation electrical parameters of the beam pumping unit; and finally, according to the calculated balance degree, judging the balance state of the operation system of the pumping unit, and controlling the motor to drive the lead screw to adjust the position of the balance box body to move by adopting a servo method so as to change the balance moment and further realize the adjustment of the optimal balance state of the pumping unit. Compared with the prior art, the iterative approach follow-up leveling control method and device for the beam pumping unit improve the working efficiency and the production safety coefficient of balance adjustment of the pumping unit, the energy saving rate can reach 3%, and the engineering applicability is strong.

Description

Iterative approach follow-up leveling control method and device for beam-pumping unit
Technical Field
The invention relates to the technical field of oil pumping unit control, in particular to an iterative approach follow-up leveling control method and device for a beam-pumping unit.
Background
The balanced operation of the beam-pumping unit is one of the key factors for ensuring safe and efficient oil extraction. When the pumping unit is in an unbalanced state, the service life of the motor can be shortened, the pumping power consumption is increased, the uniformity of the rotation speed of the crank is damaged, the up-and-down swinging of the horse head is not uniform, the normal work of the pumping unit and an oil well pump is influenced, the vibration of the pumping unit is caused, the service life of the pumping unit is shortened, and unpredictable loss can be even caused by serious conditions.
The balance degree of the conventional pumping unit is regulated and controlled mainly in two ways: firstly, come increase the walking beam counter weight of beam-pumping unit self or remove the crank balancing piece by the manual work, this mode is by the technical staff basically calculate behind the required distance of moving of crank balancing piece or the required walking beam balancing piece number that increases, carry out the balanced operation of adjusting of high strength by operating personnel, this will lead to balanced work efficiency who adjusts low, the operation degree of difficulty is big, extravagant manpower and materials, the accuracy degree of adjustment is influenced by artificial subjective operation at to a great extent moreover. Secondly, when the self balance weight of the oil pumping unit can not continuously adjust the balance of the oil pumping unit, the oil pumping unit is continuously adjusted by installing a balance adjusting device, the current method for automatically adjusting the balance is realized by directly replacing a digital oil pumping unit or installing a mechanical part (a winding drum device) on the original oil pumping unit, the adjusting method needs to adjust the balance under the static condition of shutdown, belongs to a static leveling mode, and can not dynamically track the real-time balance state of the oil pumping unit, so that the oil pumping unit can operate in an unbalanced state for a long time.
Therefore, it is necessary to provide a new method and apparatus for controlling the iterative approach follow-up leveling of a beam pumping unit to solve the above problems.
Disclosure of Invention
The technical problem to be solved by the invention is to provide an iterative approach follow-up leveling control method and device of a beam-pumping unit, which are convenient to operate, high in adjustment efficiency and good in safety.
In order to solve the technical problem, the invention provides an iterative approach follow-up leveling control method of a beam-pumping unit, which comprises the following steps:
step S1, mounting the tail beam counterweight structure of the oil pumping unit on a tail beam, and moving the counterweight block to adjust to the middle position;
step S2, using power integration method to detect the balance degree of the oil pumping unit, and calculating the balance degree PHD at the current moment according to the formula (1)0
Figure BDA0002242427770000021
In formula (1), PHD is the degree of balance; EPtOn the upper part、EptLower partTotal power consumed by the motor for a single stroke cycle, or multiple stroke cycles EptOn the upper partK、EptLower partAverage value of K.
Wherein, EptLower partK is the algebraic sum of the upper-stroke phase-closing electric energy, EptOn the upper partK is the algebraic sum of the lower-stroke closed-phase electric energy, as shown in formula (2):
Figure BDA0002242427770000022
in the formula (2), tOn the upper partIs the time of the top dead center position of the pumping unit; t is tLower partIs the time of the lower dead point position of the pumping unit; i isOn the upper part、ILower partRespectively inputting instantaneous current by a motor in the processes of up stroke and down stroke; u is the instantaneous voltage value; t ═ TLower part-t0Representing the time of one stroke cycle;
when the current oil pumping unit is in an unbalanced state, the instantaneous power consumption of the current time T1 in unit time is countedEnergy Ept0It is represented as follows;
Figure BDA0002242427770000023
step S3, judging a balance state according to a follow-up leveling k coefficient change reference table, determining an adjusting coefficient k0 value, performing single adjustment and waiting for 10min after the adjusting position of a constraint function meets a constraint condition L (3) according to follow-up leveling adjustment, calculating the current balance PHD1 according to a formula (1) and judging the balance state of the current balance PHD1, and jumping to step 7 if the balance state is reached; the follow-up leveling adjustment constraint function is as follows:
Figure BDA0002242427770000031
wherein the constraint condition L (1) represents that the absolute value of the difference between the feedback balance degree and the balance range after the balance weight position of the tail beam is finally adjusted is less than or equal to 5 percent; the constraint condition L (2) means that the power consumption of the instantaneous active power P1(T) after follow-up regulation balance and the instantaneous active power P (T) of the motor when the motor is not leveled is reduced in the same T1 unit time; the constraint L (3) indicates that the position S (t) of the weight box on the tail beam is smaller than the movable range S of the tail beam, which is the following equation:
S(t)(i+1)=S(t)(i)+k*ΔS,(i=0,1,2,…)
wherein, k { -3, -2, -1, 0, 1, 2, 3}, k { [ delta ] S is the current adjusting balance weight displacement of the flattail beam and S (t) (i) - [ k ] Δ S ≧ 0, k depends on whether the current balance degree is in the range of the balanced state, if not, depends on the difference between the current balance degree and the range of the balanced state, the specific k value and the direction refer to table 2 for actual adjustment, and Δ S is the unit moving distance. The distance S and the unit m can be adjusted, the upper end point of the tail beam motor is the zero position of S, and the initial point position S (t) (0) of follow-up leveling control is the middle position;
step S4, judging a balance state according to a table follow-up leveling k coefficient change reference table, determining a current adjusting coefficient k1 value, waiting for 10min after single adjustment after the adjusting position meets a constraint condition L (3), calculating the current balance PHD2 and judging the balance state, and jumping to step S7 if the balance state is reached;
step S5, judging according to the follow-up adjusting direction function: when the balance degree is less than 100%, the follow-up adjusting direction e <0 represents that the adjusting direction is correct, when the balance degree is more than 100%, the follow-up adjusting direction e >0 represents that the adjusting direction is correct, and the follow-up adjusting direction function is as follows:
Figure BDA0002242427770000032
if not, the adjustment direction is considered to be wrong, the current balance degree is calculated again, and the correctness of the follow-up adjustment direction is judged;
step S6, judging whether the balance degree of the current oil pumping unit meets the constraint condition L (1), if so, performing the next step, otherwise, jumping to the step S2 to perform iterative adjustment;
step S7, when the PHD is adjusted to be less than or equal to 95%i<105% and the adjustment error is 0, and the current T is counted1Energy consumption per unit time Ept1It is represented as follows;
Figure BDA0002242427770000041
step S8, judging whether the energy consumption of the driving motor of the oil pumping unit before and after adjustment meets the constraint condition L (2):
if not, skipping to the step 2 for iterative adjustment; if the L (2) is satisfied, judging according to a constraint condition L (4):
if the condition satisfies L (4), the servo regulation is finished, and the oil pumping unit reaches a balanced state; and if not, skipping to the step 2 for iterative adjustment.
Preferably, in the step S5, if the adjustment direction is not considered to be wrong, the current balance degree is calculated again, the correctness of the follow-up adjustment direction is judged, and the process of judging the wrong direction is performed three times continuously.
Preferably, in the step S8, if neither of the two consecutive adjustments satisfies the adjustment constraint condition, a leveling fault alarm is issued.
The invention also provides a balance degree regulating mechanical tail arm, which is applied to the iterative approach follow-up leveling control method of the beam-pumping unit, wherein the balance degree regulating mechanical tail arm comprises a tail beam, a transmission mechanism, a movable balance arm box body and a limit switch;
the transmission mechanism comprises a motor fixed at one end of the top surface of the tail beam, a lead screw and an elastic diaphragm coupler, wherein the two ends of the lead screw are respectively supported and fixed at the two ends of the top surface of the tail beam and are arranged in parallel with the tail beam;
the movable balance arm box body is sleeved on the lead screw and is in threaded rotary connection with the lead screw, and the movable balance arm box body is sleeved on the tail beam and is in sliding connection;
the limit switch includes upper limit switch and lower limit switch, upper limit switch sets up in the lead screw is close to the one end of motor, lower limit switch set up in the lead screw is kept away from the one end of motor.
Preferably, the transmission mechanism further comprises protecting sleeves arranged at two ends of the lead screw.
The invention also provides an intelligent measurement and control device based on a double-DSP structure, which is applied to the iterative approach follow-up leveling control method of the beam pumping unit; the intelligent measurement and control device based on the double DSP structure comprises a forward measurement and control channel, an algorithm control processing module and a backward measurement and control channel;
the forward measurement and control channel comprises a three-phase voltage detection module, a three-phase current detection module and a 4-20mA detection loop module;
the algorithm control processing module comprises an analog signal conditioning module, a first DSP system module, a voltage-frequency conversion module, a first magnetic coupler, a second magnetic coupler, a third magnetic coupler, a serial communication module, a liquid crystal display module, a keyboard module and a CPLD logic and combined system module; the three-phase voltage detection module is connected with the analog signal conditioning module, processed by the first DSP system and then connected to the CPLD logic and combination system module; the three-phase voltage detection module is connected with the analog signal conditioning module, processed by the first DSP system and then connected to the CPLD logic and combination system module; the 4-20mA detection loop module is connected to the CPLD logic and combined system module through the voltage-frequency conversion module; the first DSP system module is connected with the first DSP system module and is connected with the CPLD logic and combined system module; the serial communication module is connected to the second DSP system module after being isolated by the first magnetic coupler module; the liquid crystal display module is connected to the CPLD logic and combined system module after being isolated by the second DSP system module; the keyboard module is connected to the CPLD logic and combined system module after being separated by the third magnetic coupler; the first magnetic coupler module, the second magnetic coupler module and the third magnetic coupler module are all directly connected with the CPLD logic and combination system module;
the backward measurement and control channel comprises an oil engine starting open loop module, an oil engine stopping open loop module, an unbalance warning loop module, a counterweight increasing open loop module, a counterweight reducing open loop module, a main switch state module, a balancing motor forward rotation upper limit state module, a balancing motor reverse rotation lower limit state module, an oil engine locking state module, a switch signal conditioning circuit module and five optical coupling modules; the CPLD logic and combined system module is respectively connected with the oil engine starting open loop module, the oil engine stopping open loop module, the unbalance warning loop module, the counterweight increasing open loop module and the counterweight reducing open loop module after passing through the five optical coupling modules; the main switch state module, the balancing motor forward rotation upper limit state module, the balancing motor reverse rotation lower limit state module and the oil engine locking state module are respectively connected to the CPLD logic and combined system module through the switch signal conditioning circuit.
Compared with the prior art, the iterative approach follow-up leveling control method and device for the beam-pumping unit firstly analyze the motion law and the energy circulation mechanism of the beam-pumping unit system, establish a correlation mathematical model between the change of the integral value of the input electric power of the motor and the balance degree of the pumping unit, secondly calculate the power integral ratio of the up stroke and the down stroke of a unit stroke or multiple strokes by acquiring the real-time operation electric parameters of the pumping unit, detect the balance degree of the pumping unit system on line, and finally control the motor to drive the lead screw to adjust the position of the balance box body to move by adopting the follow-up servo method so as to change the balance moment and further realize the adjustment of the optimal balance state of the pumping unit. The field test result shows that the method can accurately detect the balance degree of the oil pumping unit, iteratively approaches to control the follow-up counterweight, can enable the oil pumping unit to reach the optimal balance state, improves the working efficiency and the production safety coefficient of the balance adjustment of the oil pumping unit, has the energy saving rate of 3 percent, and has strong engineering applicability.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without inventive efforts, wherein:
FIG. 1 is a block diagram of an energy circulation mechanism of a pumping unit system in an iterative approach follow-up leveling control method of a beam-pumping unit according to the present invention;
FIG. 2 is a graph of balance degree determined by different methods for a walking beam pumping unit in the related art;
FIG. 3 is a schematic diagram of the pumping unit stress in the iterative approach follow-up leveling control method of the beam pumping unit according to the present invention;
FIG. 4 is a block diagram of a follow-up leveling control structure in the iterative approach follow-up leveling control method of the beam-pumping unit according to the present invention;
FIG. 5 is a schematic diagram of a change process of a follow-up leveling related quantity in the iterative approach follow-up leveling control method of the beam-pumping unit according to the present invention;
FIG. 6 is a schematic block diagram of an intelligent measurement and control platform based on dual DSP structure hardware in the iterative approach follow-up leveling control method of the beam pumping unit according to the present invention;
FIG. 7 is a control flow chart of the intelligent measurement and control platform shown in FIG. 6;
fig. 8 shows a mechanical trailing arm for adjusting and controlling the degree of balance in the iterative approach follow-up leveling control method applied to the beam-pumping unit.
Fig. 9 is a graph of a change of an instantaneous active power of the pumping unit according to the first embodiment of the present invention, wherein (a) is a graph of a change of an instantaneous active power of the pumping unit in an underbalanced state; (b) a curve diagram of the instantaneous active power change of the oil pumping unit in a balanced state; (c) the instantaneous active power change curve diagram of the pumping unit in an overbalance state is shown.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides an iterative approach follow-up leveling control method for a beam pumping unit by analyzing the motion law and the energy circulation mechanism of the beam pumping unit system. Firstly, analyzing the judgment basis of the optimal balance state of the pumping unit and the correlation between the balance degree of the pumping unit and the weight of the pumping unit, providing a secondary balance iterative control method capable of adjusting the weight in a follow-up manner, namely, the power integration method is adopted to calculate the balance degree, the moving direction and the moving distance of the follow-up counterweight block are controlled in an iterative way according to the feedback condition of the balance degree and the power consumption change condition of the pumping unit driving motor in fixed time, thereby changing the balance torque, achieving the purpose of measuring the change of the real-time power of the driving motor of the pumping unit to adjust the balance degree, realizing the secondary adjustment of the balance of the pumping unit, through designing an intelligent measurement and control platform and a follow-up leveling mechanical structure of which a motor drives a lead screw to adjust a balance box body to move along a guide rail, simulation and engineering experiments show that, the method can accurately detect the balance degree of the oil pumping unit, and the follow-up balance weight is controlled by iterative approximation, so that the oil pumping unit can reach the optimal balance state.
The invention provides an iterative approach follow-up leveling control method of a beam-pumping unit, which comprises the following steps:
and step S1, mounting the tail beam counterweight structure of the oil pumping unit on the tail beam, and moving the counterweight block to adjust to the middle position. In this embodiment, the pumping unit is a walking beam type pumping unit in the prior art.
Step S2, using power integration method to detect the balance degree of the oil pumping unit, and calculating the balance degree PHD at the current moment according to the formula (1)0
Figure BDA0002242427770000081
In formula (1), PHD is the degree of balance; EPtOn the upper part、EptLower partTotal power consumed by the motor for a single stroke cycle, or multiple stroke cycles EptOn the upper partK、EptLower partAverage value of K.
Wherein, EptLower partK is the algebraic sum of the upper-stroke phase-closing electric energy, EptOn the upper partK is the algebraic sum of the lower-stroke closed-phase electric energy, as shown in formula (2):
Figure BDA0002242427770000082
in the formula (2), tOn the upper partIs the time of the top dead center position of the pumping unit; t is tLower partIs the time of the lower dead point position of the pumping unit; i isOn the upper part、ILower partRespectively inputting instantaneous current by a motor in the processes of up stroke and down stroke; u is the instantaneous voltage value; t ═ TLower part-t0Representing the time of one stroke cycle;
when the current oil pumping unit is in an unbalanced state, counting the instantaneous power consumption Ept within unit time at the current time T10It is represented as follows;
Figure BDA0002242427770000091
fig. 1 is a block diagram of an energy flow mechanism of a beam pumping unit system. The input electric energy is transmitted to the four-bar mechanism through the driving motor module and the reducer module, the circular motion of the motor is converted into the upper and lower periodic reciprocating linear motion of the sucker rod, and the unbalanced stress of the four-bar mechanism is improved by the balancing block. Neglecting the energy transmission loss of each module, the input electric energy of the motor is converted into periodic work of the horsehead suspension point, and the load of the beam-pumping unit is uneven in the whole working cycle. For static load, a horsehead suspension point needs to lift a sucker rod string and an oil string during an upstroke, and the motor is in an electric state and applies a large amount of work to the outside; when the down stroke is reached, the sucker rod can fall down by means of self weight, and the motor does not need to provide power but does work to make the motor in a power generation running state. Therefore, the loads of the motor on the upper stroke and the lower stroke are very uneven, so the balance problem is solved in a beam pumping unit system through various balance modes, and the negative work is eliminated as far as possible, so that the loads of the motor and the reduction gearbox are even.
Identifying the optimal balance degree of the pumping unit:
the current method, the power method and the torque method are adopted as the method for measuring the balance state at present, the current method and the power method are mostly adopted for measuring because the torque of the crank of the reduction gearbox is difficult to measure directly, the original balance state is changed continuously when the pumping unit is influenced by geological change, wax deposition of an oil well, repeated vibration and the like in the oil extraction process, the load at two ends of a fulcrum of the pumping unit is unbalanced, and the phenomenon of reverse power generation of a motor often occurs. Under the condition that the motor reversely generates electricity in the oil pumping process, the current method or the conventional method for calculating the balance degree by utilizing the power peak value can generate the phenomenon of false balance, the balance degree of the oil pumping unit cannot be objectively and accurately judged, and the judgment result is obviously inconclusive as the basis for adjusting the balance weight.
As shown in fig. 2, the power integration method is closer to the equilibrium state, and the equilibrium degrees obtained by different determination methods in the same equilibrium state are different. The balance degree obtained by the torque is used as the judgment accuracy, the power integration method is most accurate, and the judgment error of the current method is the largest. Therefore, the power integration method is scientific and accurate as a method for detecting the balance degree of the pumping unit. Therefore, in this step, the balance is calculated by the above formula (1).
Analyzing the correlation between the balance degree and the weight of the pumping unit:
according to the principle of calculating the balance degree of the pumping unit by the power integration method and the energy conversion mechanism of the pumping unit, the change of the balance degree of the pumping unit is necessarily directly related to the change of the balance weight of the pumping unit, so that the incidence relation between the measured balance degree and the controlled balance weight of the follow-up measurement and control system can be analyzed according to the law of energy conservation of the motor of the three-phase asynchronous motor, the energy circulation mechanism of the pumping unit, the moment balance principle and the geometric relation of the four-bar linkage mechanism, thereby effectively changing the balance weight and realizing the iterative approximation of the balance state of the pumping unit.
The energy flow equation of the pumping unit of the formula (3) is obtained by performing basic analysis on a compound balance beam pumping unit, combining the parameters shown in figure 3, introducing the parameters shown in table 1 for convenient analysis, and respectively converting the input energy of a driving motor and the output energy of a suspension point load into the output torque of a crank of a reducer for a pumping unit parameter table. Wherein the crank angle theta is positive clockwise from the 12 o' clock position, and the horse head suspension point motion direction is positive vertically upwards.
Figure BDA0002242427770000101
Wherein the torque factor
Figure BDA0002242427770000102
Depending on the geometry of the pumping unit and the crank angle, the meaning is the torque produced on the crank per unit load of the suspension point, wherein α and β are derived from the four-bar linkage parameters and J is derived from the four-bar linkage parameters and is not derived here.
And (3) simplifying the formula (3) and then calculating to establish a mathematical model formula among the suspension point load, the weight of the balance weight and the output power of the motor, wherein the mathematical model formula is shown as a formula (4):
Figure BDA0002242427770000103
in the formula (4), W, B, M,
Figure BDA0002242427770000105
theta is a constant value, and is a constant value in the case of the determined type of the pumping unit. The balance degree adjustment is to change the change of the input power according to the calculation mode of the balance degree of the upper-section oil pumping machine, and then an additional balancing weight delta Gy needs to be added to achieve secondary balance (single position: kN).
TABLE 1 Pumping unit parameter table
Figure BDA0002242427770000104
Figure BDA0002242427770000111
For the oil pumping unit with balanced walking beam in operation, the invention adopts the following leveling to adjust the weight adjustment quantity delta G of the balance block of the walking beamyHas the unit of kN, Δ GyPositive, indicates that the weight of the beam balance mass is to be increased, Δ GyNegative, indicates that the weight of the walking beam weight is to be reduced, as shown in equation (5):
Figure RE-GDA0002343879910000121
wherein
Figure RE-GDA0002343879910000122
Is the average output power of the upper stroke motor, kW;
Figure RE-GDA0002343879910000123
is the average output power of the down stroke motor, kW, ηTThe mechanical transmission efficiency of the oil pumping unit; n is a radical ofsIs polished rod stroke times, min-1;HyIs the position of the balance weight in the vertical directionS (t) is the displacement of the balance weight in the direction of the tail beam, LyIs the length of balance arm of pumping unit, m, A is the length of front arm of pumping unit, m, L is the stroke of polish rod, m, α is the balance angle of walking beam (downward deflection angle), rad, HyAnd S (t) represents a group represented by formula (6):
Figure RE-GDA0002343879910000124
obtaining a mathematical model formula (7) between the weight of the balance weight and the input power of the motor from formulas (5) and (6):
Figure RE-GDA0002343879910000125
from the formula (7), it can be seen that under the condition of the existing pumping unit that the automatic adjustment cannot be performed during the pumping process, the dynamically adjustable balance weight Δ G needs to be addedyThe balance degree calculation parameter P1 is changed to realize the adjustment of the balance state of the oil pumping unit.
From the formula (6), ηT、Nsα is quantitative, the weight adjustment amount Δ G of the walking beam balance weight can be changed by adjusting the position S (t) of the weight box on the tail beamyTherefore, the adjustment of the follow-up balance weight is realized, and the oil pumping unit reaches a balance state.
Step S3, judging a balance state according to a follow-up leveling k coefficient change reference table (shown in the following table 2), determining an adjusting coefficient k0 value, performing single adjustment after a constraint condition L (3) is satisfied by adjusting a constraint function adjusting position according to follow-up leveling, waiting for 10min, calculating the current balance PHD1 according to a formula (1) and judging the balance state of the current balance PHD1, and if the balance state is reached, jumping to the step 7; the follow-up leveling adjustment constraint function is as follows:
Figure BDA0002242427770000131
wherein the constraint condition L (1) represents that the absolute value of the difference between the feedback balance degree and the balance range after the balance weight position of the tail beam is finally adjusted is less than or equal to 5 percent; the constraint condition L (2) means that the power consumption of the instantaneous active power P1(T) after follow-up regulation balance and the instantaneous active power P (T) of the motor when the motor is not leveled is reduced in the same T1 unit time; the constraint L (3) indicates that the position S (t) of the weight box on the tail beam is smaller than the movable range S of the tail beam, which is the following equation:
S(t)(i+1)=S(t)(i)+k*ΔS,(i=0,1,2,…)
wherein, k { -3, -2, -1, 0, 1, 2, 3}, k { [ delta ] S is the current adjusting balance weight displacement of the flattail beam and S (t) (i) - [ k ] Δ S ≧ 0, k depends on whether the current balance degree is in the range of the balanced state, if not, depends on the difference between the current balance degree and the range of the balanced state, the specific k value and the direction refer to table 2 for actual adjustment, and Δ S is the unit moving distance. The distance S and the unit m can be adjusted, the upper end point of the tail beam motor is the zero position of S, and the initial point position S (t) (0) of follow-up leveling control is the middle position.
The follow-up control system is a control system in which the change rule of a given signal along with time cannot be determined in advance, and is a feedback control system taking displacement, speed or force, torque and the like as controlled quantities. The controlled amount changes following the change of the input amount, and the change rule of the input amount cannot be determined in advance. The task of a follower system is to quickly and accurately track the change in the controlled quantity given a value in each case.
Referring to fig. 4, in which the position regulator is a digital controller, the output of the system is a given amount of the regulation part, and the regulation closed loop is a balance detection follow-up correction part of the follow-up system. The controlled quantity of the follow-up system is a balance degree signal, when the output position for adjusting the balance degree generates deviation, the balance degree feedback is used for calculating the actual balance state of the pumping unit, the deviation is generated by comparing the balance degree signal with the balance degree signal at a given position, the position loop correction is carried out, the position quantity change is controlled by the lead screw adjusting system, and the closed-loop follow-up control is realized. The method for directly expressing the requirements on the dynamic performance of the system by executing the output result of the motor is very visual and convenient for adjusting the motion control system.
According to the structure diagram of the follow-up leveling control shown in fig. 4, the corresponding relationship of the follow-up control amount is shown in fig. 5. In fig. 5, the actual adjustment displacement is represented as follows:
S(t)(i+1)=S(t)(i)+k*ΔS,(i=0,1,2,…)
wherein, k { -3, -2, -1, 0, 1, 2, 3}, k { [ delta ] S is the current adjusting balance weight displacement of the flattail beam and S (t) (i) - [ k ] Δ S ≧ 0, k depends on whether the current balance degree is in the range of the balanced state, if not, depends on the difference between the current balance degree and the range of the balanced state, the specific k value and the direction refer to table 2 for actual adjustment, and Δ S is the unit moving distance. The distance S and the unit m can be adjusted, the upper end point of the tail beam motor is the zero position of S, and the initial point position S (t) (0) of follow-up leveling control is the middle position.
The follow-up direction function is shown in equation (8) below:
Figure BDA0002242427770000141
in the formula (8), e is the following single-step adjustment direction, and is mainly used for judging whether the balance adjustment direction is correct or not.
The follow-up leveling adjustment constraint function is shown in equation (9) below:
Figure BDA0002242427770000142
in the formula, a constraint condition L (1) represents that the absolute value of the difference between the feedback balance degree and the balance range after the balance weight position of the tail beam is finally adjusted is less than or equal to 5 percent; the constraint condition L (2) means that the power consumption of the instantaneous active power P1(T) after follow-up regulation balance and the instantaneous active power P (T) of the motor when the motor is not leveled is reduced in the same T1 unit time; the constraint L (3) indicates that the position S (t) of the weight box on the tail beam is smaller than the movable range S of the tail beam.
TABLE 2 follow-up leveling k-factor variation reference table
Figure BDA0002242427770000143
Figure BDA0002242427770000151
Step S4, judging a balance state according to a table follow-up leveling k coefficient change reference table, determining a current adjusting coefficient k1 value, waiting for 10min after single adjustment after the adjusting position meets a constraint condition L (3), calculating the current balance PHD2 and judging the balance state, and jumping to step S7 if the balance state is reached;
step S5, judging according to the follow-up adjusting direction function: when the balance degree is less than 100%, the follow-up adjusting direction e <0 represents that the adjusting direction is correct, when the balance degree is more than 100%, the follow-up adjusting direction e >0 represents that the adjusting direction is correct, and the follow-up adjusting direction function is as follows:
Figure BDA0002242427770000152
otherwise, the adjustment direction is considered to be wrong, the current balance degree is calculated again, and the correctness of the follow-up adjustment direction is judged. In this step, if the adjustment direction is not correct, the current balance degree is calculated again, and the correctness of the follow-up adjustment direction is judged, and the process of judging the direction error is carried out three times continuously.
Step S6, judging whether the balance degree of the current oil pumping unit meets the constraint condition L (1), if so, performing the next step, otherwise, jumping to the step S2 to perform iterative adjustment;
step S7, when the PHD is adjusted to be less than or equal to 95%i<105% and the adjustment error is 0, and the current T is counted1Energy consumption per unit time Ept1It is shown below.
Figure BDA0002242427770000153
Step S8, judging whether the energy consumption of the driving motor of the oil pumping unit before and after adjustment meets the constraint condition L (2):
if not, skipping to the step 2 for iterative adjustment; if the L (2) is satisfied, judging according to a constraint condition L (4):
if the condition satisfies L (4), the servo regulation is finished, and the oil pumping unit reaches a balanced state; and if not, skipping to the step 2 for iterative adjustment.
Preferably, if the adjustment of two times can not meet the adjustment constraint condition, a leveling fault alarm is sent out. And checking whether the operation setting parameters of the pumping unit are correct, whether the voltage current of the driving motor is normal and the like, and maintaining.
In the iterative approach follow-up leveling control method of the beam-pumping unit, a balance degree regulating and controlling system of the beam-pumping unit is required to be used, and the system comprises an intelligent measuring and controlling platform based on a double DSP structure as a software control part and a balance degree regulating and controlling mechanical tail arm as a mechanical hardware part.
The design of the intelligent measurement and control platform based on a double-DSP structure is that the intelligent measurement and control platform is a high-performance hardware platform based on the double-DSP structure, the hardware platform consists of a parameter acquisition and control output board, a main control board and a display and key operation board, and comprises three links of an algorithm control processing module, a forward measurement and control channel and a backward measurement and control channel. Therefore, the invention also provides an intelligent measurement and control device based on a dual-DSP structure, which is applied to the iterative approach follow-up leveling control method of the beam-pumping unit, as shown in FIG. 6.
The intelligent measurement and control device based on the double-DSP structure comprises a forward measurement and control channel, an algorithm control processing module and a backward measurement and control channel.
The forward measurement and control channel comprises a three-phase voltage detection module, a three-phase current detection module and a 4-20mA detection loop module;
the algorithm control processing module comprises an analog signal conditioning module, a first DSP system module, a voltage-frequency conversion module, a first magnetic coupler, a second magnetic coupler, a third magnetic coupler, a serial communication module, a liquid crystal display module, a keyboard module and a CPLD logic and combined system module; the three-phase voltage detection module is connected with the analog signal conditioning module, processed by the first DSP system and then connected to the CPLD logic and combination system module; the three-phase voltage detection module is connected with the analog signal conditioning module, processed by the first DSP system and then connected to the CPLD logic and combination system module; the 4-20mA detection loop module is connected to the CPLD logic and combined system module through the voltage-frequency conversion module; the first DSP system module is connected with the first DSP system module and is connected with the CPLD logic and combined system module; the serial communication module is connected to the second DSP system module after being isolated by the first magnetic coupler module; the liquid crystal display module is connected to the CPLD logic and combined system module after being isolated by the second DSP system module; the keyboard module is connected to the CPLD logic and combined system module after being separated by the third magnetic coupler; the first magnetic coupler module, the second magnetic coupler module and the third magnetic coupler module are all directly connected with the CPLD logic and combination system module;
the backward measurement and control channel comprises an oil engine starting open loop module, an oil engine stopping open loop module, an unbalance warning loop module, a counterweight increasing open loop module, a counterweight reducing open loop module, a main switch state module, a balancing motor forward rotation upper limit state module, a balancing motor reverse rotation lower limit state module, an oil engine locking state module, a switch signal conditioning circuit module and five optical coupling modules; the CPLD logic and combined system module is respectively connected with the oil engine starting open loop module, the oil engine stopping open loop module, the unbalance warning loop module, the counterweight increasing open loop module and the counterweight reducing open loop module after passing through the five optical coupling modules; the main switch state module, the balancing motor forward rotation upper limit state module, the balancing motor reverse rotation lower limit state module and the oil engine locking state module are respectively connected to the CPLD logic and combined system module through the switch signal conditioning circuit.
Real-time active power parameters required by balance degree calculation are collected in real time by the forward measurement and control channel (a current and voltage transformer of a driving motor electrical parameter collection unit, filtered and digitized by the analog signal conditioning module and then transmitted to the first DSP system module (a DSP1 system of a driving motor electrical parameter algorithm control processing module), a balance degree calculation process, a balance degree judgment and follow-up control process are completed by the second DSP system module (a DSP2 system), wherein a follow-up tail beam balance structure regulation out-of-limit signal passes through the 4-20mA detection loop module, passes through the pressure-frequency conversion module and then enters the CPLD logic and combination system module to complete the collection of the regulation out-of-limit signal, and a follow-up control signal is processed by the second DSP system module to send signals for starting and stopping the pumping unit and regulating and balancing the motor up and down, and outputting a control signal through the backward measurement and control channel, and when the tail beam balance motor receives a signal that the balance weight moves up or down, driving the screw rod to move in a forward or reverse rotation manner to realize the up-and-down displacement S (t) of the tail beam balance block, thereby adjusting the balance degree PHD. In the control process, when the balance weight adjustment exceeds the adjustable length range of the tail beam, the balance motor does not move any more, the second DSP system sends out an unbalanced alarm signal when judging that the balance weight adjustment exceeds the limit, and information for reminding balance limit crossing such as a voice alarm, a ring alarm and the like can be configured outside through the CPLD logic and combined system module and the backward measurement and control channel output, and the limit crossing alarm can also be realized by adopting a liquid crystal display or communication background monitoring mode. Please refer to fig. 7 for a working flow of the pumping unit balance detection and follow-up control processing subroutine.
In the intelligent measurement and control device based on the double DSP structure, the three-phase voltage detection module adopts three parallel voltage transformers (such as HPT304A and HRPT-1), the three-phase current detection module adopts three parallel current transformers (such as HCT255A and HRCT-1), the 4-20mA detection loop passes through the voltage-frequency conversion module, analog signals are filtered by a filter consisting of I/V conversion, TVS protection and a universal capacitor, the analog signals are converted into frequency signals by the voltage-frequency conversion module (such as an LM331 voltage-frequency conversion chip) and directly enter a CPLD logic and combination system after optical coupling isolation.
The analog signal conditioning module is realized by a filter consisting of an I/V conversion and amplification circuit (such as RVC420, LM324 and peripheral auxiliary elements), a clamping diode (such as IN4148), a limiting voltage regulator tube and a general resistance-capacitance device;
the first DSP system module can adopt a built-in A/D digital signal processor (such as TMS320F 2812);
the second DSP system module adopts a DSPIC30F6014A and an ADuC8XX series single chip microcomputer.
The CPLD logic and combination system module adopts MAX7000 series devices (such as EPM 7128).
The serial communication module can be formed by MAX485 devices or directly selected serial special modules (such as HV2002D-TX, XXX).
The first magnetic coupler module, the second magnetic coupler module and the third magnetic coupler module are all selected to use high-speed magnetic isolation devices (such as ADUM 1200).
The five open loops (the oil engine starting open loop module, the oil engine stopping open loop module, the unbalance warning loop module, the counterweight increasing open loop module and the counterweight reducing open loop module) all adopt a general control relay (such as JQX-14) or a solid state relay SSR (such as S310 ZK).
Five optical coupling modules are five power photoelectric couplers, and an optical coupling device (such as TLP127) with large output driving capability is selected.
The 4-20mA detection circuit module is directly taken from an auxiliary contact signal of an air switch IN the distribution box and switching signals of upper and lower limit positions of a tail beam counterweight, and the switching value signal conditioning circuit module is realized by a typical anti-shake and isolation circuit which is composed of a clamping diode (such as IN4001), a limiting voltage-stabilizing tube, a general resistance-capacitance device and a general photoelectric coupler (such as TLP 521-X).
Combine above-mentioned intelligent measurement and control platform based on two DSP structures, mechanical trailing arm is regulated and control to the equilibrium, as shown in fig. 8, this mechanical trailing arm 80 is regulated and control to the equilibrium includes: tail beam 81, transmission 82, movable balance arm box 83 and limit switch.
The tail beam 81 serves as a balance body structure.
A transmission mechanism 82 fixed to one end of the top surface of the tail beam 81; in this embodiment, the transmission mechanism 82 includes a motor 821, a lead screw 822 having two ends supported and fixed to two ends of the top surface of the tail beam 81 and arranged in parallel with the tail beam 81, and an elastic diaphragm coupling 823.
The motor 821 is configured with a speed reducer for providing a larger driving force.
One end of the lead screw 822 near the motor 821 is connected to the motor 821 through an elastic diaphragm coupling 823. The motor 821 and the screw rod 822 are connected through the elastic diaphragm coupling 823, the deviation that the output shaft of the motor 821 and the screw rod 822 have micro coaxiality can be eliminated, a linear guide rail can be selected in a sliding mode, the precision is high, the resistance is small, intelligent control is facilitated, and relatively accurate movement can be achieved in the moving process.
The movable balance arm box 83 is sleeved on the lead screw 822 and is in threaded rotary connection with the lead screw 822; meanwhile, the movable balance arm box 83 is sleeved on the tail beam 81 and forms a sliding connection. The lead screw 822 is driven to rotate by the motor 821 to drive the movable balance arm box to move back and forth along the tail beam 81 for adjustment.
The limit switches include an upper limit switch 841 and a lower limit switch 842. The upper limit switch 841 is disposed at one end of the lead screw 822 close to the motor 821, and the lower limit switch 842 is disposed at one end of the lead screw 822 far from the motor 821.
In the working process, the motor 821 of the transmission mechanism 82 drives the lead screw belt 822 to move the n-shaped movable balance box body 83 to move back and forth along the tail beam 81, and the position of the balance weight on the tail beam 81 is changed, so that the moment generated by the balance degree regulating mechanical tail arm 80 on the pumping unit is changed, and the change of the balance state of the pumping unit is realized.
In consideration of field environmental conditions, in order to avoid the influence of wind, sand and the like on the precision of the lead screw 822 part, protective sleeves 824 are additionally arranged at two ends of the lead screw 822. Not only can protect the lead screw 822 from environmental erosion, but also can prolong the service life of the lead screw 822.
In addition, because the movable balance arm box 83 is important and large, a movable roller 85 can be additionally arranged between the tail beam 81 and the movable balance arm box 83 for enabling the movable balance arm box 83 to move more smoothly and accurately.
The balance degree regulating mechanical tail arm 80 is additionally arranged or transformed on a common oil pumping unit, so that the establishment of the hardware mechanical condition of the balance degree regulating system of the beam pumping unit can be realized.
The iterative approximation carrying leveling control method of the beam pumping unit adopts the following embodiments:
through the test of a plurality of oil wells such as 7-171 and 8-171 of king of a certain large-scale oil field oil production plant, the measured data results of the balance degree of the pumping unit after unadjusted balance degree and follow-up leveling are shown in table 2, and the change curve before and after the leveling of the active power input by the driving motor is shown in fig. 9 by taking king 8-171 as an example.
The model of the oil pumping unit of the test well is CYJY5-1.8-13HF (K), basic oil pumping unit parameter values such as the length, the angle and the like of a four-bar mechanism of the oil pumping unit can be found according to the national standard SY/T5044-2003, wherein the structure non-balancing weight B is-0.3 kN, the power of a driving motor of the oil pumping unit is 7.5kW, the rated voltage is 380V, and the stroke of the oil pumping unit is 1.8 m; the tail beam follow-up counterweight complete machine has the mass of 40kg, the adjustable lead screw length range is S of 1.6m, the rated power of a counterweight motor is 0.55kW, the output rotating speed of the counterweight motor is 25.9r/min, the transmission ratio of a reducer is 29:1, the rated voltage is 380V, the rated current is 2.2A, the weight of a single counterweight can be increased or decreased to 8.5kg, the relationship between the running distance of a lead screw and the rotating speed of the motor is 10mm/r, the Delta S is 100mm, and the single-step time can be adjusted by the counterweight motor: and 5 s.
Fig. 9(a) is a single-cycle real-time variation curve of active power input to the pumping unit driving motor in an underbalanced state of the pumping unit, which is tested by a field test, fig. 9(b) is a single-cycle real-time variation curve of the suspension point operating displacement and the active power input to the pumping unit driving motor after follow-up leveling, and fig. 9(c) is a single-cycle real-time variation curve of the active power input to the pumping unit driving motor in an overbalanced state of the pumping unit. In fig. 9, it can be seen that the areas enclosed by the active power integrals of the upper stroke motor and the lower stroke motor of the beam-pumping unit are respectively S1 and S2. In fig. 9(a), S1 is significantly larger than S2, that is, the pumping unit is in an underbalanced state, and the balance degree is 75% at this time through actual field measurement; in fig. 9(b), S2 is substantially equal to S1, i.e., the pumping unit is in a balanced state, which is 97% of the balance as measured in actual field, and in fig. 9(c), S2 is significantly greater than S1, i.e., the pumping unit is in an overbalanced state, which is 150% of the balance as measured in actual field. In fig. 9, the change of the instantaneous power of the pumping unit driving motor before and after the balance weight is adjusted in the same well proves the feasibility and accuracy of the power integration method for judging the balance degree and the effectiveness of the follow-up leveling control method.
Specific experimental data are shown in table 3 and actual measurement data are shown in table 4.
TABLE 3 Experimental data
Figure BDA0002242427770000211
TABLE 4 Experimental data
Figure BDA0002242427770000212
The data in tables 3 and 4 show that the current method and the power method do not necessarily accord with the actual production condition when judging the operation state of the pumping unit, and the power consumption of the pumping unit is obviously reduced after detecting the balance degree according to the power integration method to judge the unbalanced state and adjusting the pumping unit. Detecting that the well conditions of the test well are all in an unbalanced state by adopting a power integration method, and reversing the motor; the power consumption of the servo system after the balance adjustment is reduced by about 3 percent, namely the working condition is improved. The system well solves the problem of balance adjustment of the pumping unit, can realize the follow-up intelligent balance degree adjustment and control of the pumping unit, realizes the energy conservation and consumption reduction of the pumping unit, and provides a new approach for the research of realizing digital modification of the pumping unit.
Compared with the prior art, the iterative approach follow-up leveling control method and device for the beam-pumping unit firstly analyze the motion law and the energy circulation mechanism of the beam-pumping unit system, establish a correlation mathematical model between the change of the integral value of the input electric power of the motor and the balance degree of the pumping unit, secondly calculate the power integral ratio of the up stroke and the down stroke of a unit stroke or multiple strokes by acquiring the real-time operation electric parameters of the pumping unit, detect the balance degree of the pumping unit system on line, and finally control the motor to drive the lead screw to adjust the position of the balance box body to move by adopting the follow-up servo method so as to change the balance moment and further realize the adjustment of the optimal balance state of the pumping unit. The field test result shows that the method can accurately detect the balance degree of the oil pumping unit, iteratively approaches to control the follow-up counterweight, can enable the oil pumping unit to reach the optimal balance state, improves the working efficiency and the production safety coefficient of the balance adjustment of the oil pumping unit, has the energy saving rate of 3 percent, and has strong engineering applicability.
(1) The balance state of the pumping unit in the running process can be changed by adjusting the balance weight of the tail beam in a follow-up manner according to the linear correlation relationship between the measured quantity balance degree and the controlled quantity balance weight of the follow-up measurement and control system, so that dynamic tracking leveling is realized.
(2) According to the follow-up control thought and the energy conversion mechanism of the pumping unit, the follow-up leveling control structure disclosed by the invention completes calculation of the actual balance state of the pumping unit through balance degree feedback when the output position for adjusting the balance degree generates deviation, then the deviation is generated by comparison with a balance degree signal at a given position, the position quantity change is controlled through a lead screw adjusting system through position loop iterative correction, and the closed-loop follow-up leveling control of the pumping unit is realized.
(3) The field test result shows that the follow-up leveling control method can realize the measurement and the balance adjustment of the dynamic balance of the running state of the oil pumping unit, the intelligent measurement and control platform is designed to meet the calculation of real-time balance and the realization of a follow-up leveling control algorithm, the mechanical structure of the balance adjusting and controlling system is designed, the follow-up system controls and adjusts the motor to drive the lead screw to move the balance box body so as to change the balance moment, the balance degree is optimized, the control difficulty of the system can be effectively reduced, and the smoothness and the follow-up precision of the balance adjusting and controlling movement are improved. The iterative approach follow-up leveling control method of the beam-pumping unit meets the digital production requirement of the oil field, and the soft measurement and follow-up control thought and the intelligent measurement and control platform have theoretical reference significance and engineering application value in the digital realization process of other parameters.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or applied directly or indirectly to other related technical fields, are included in the scope of the present invention.

Claims (4)

1. An iterative approach follow-up leveling control method of a beam pumping unit is characterized by comprising the following steps:
step S1, mounting a tail beam counterweight structure of the oil pumping unit on a tail beam, and moving a counterweight block to be adjusted to a middle position;
step S2, using power integration method to detect the balance degree of the oil pumping unit, and calculating the balance degree PHD at the current moment according to the formula (1)0
Figure FDA0002242427760000011
In formula (1), PHD is the degree of balance; EPtOn the upper part、EptLower partTotal power consumed for a single stroke cycle motor, or multiple stroke cycles EptOn the upper partK、EptLower partAverage value of K.
Wherein, EptLower partK is the algebraic sum of the upper-stroke phase-closing electric energy, EptOn the upper partK is the algebraic sum of the downstroke phasor energy as shown in equation (2):
Figure FDA0002242427760000012
in the formula (2), tOn the upper partIs the time of the top dead center position of the pumping unit; t is tLower partIs the time of the bottom dead center position of the pumping unit; i isOn the upper part、ILower partRespectively inputting instantaneous current by a motor in the processes of up stroke and down stroke; u is the instantaneous voltage value; t ═ TLower part-t0Representing the time of one stroke cycle;
when the current oil pumping unit is in an unbalanced state, counting the instantaneous power consumption Ept within unit time at the current time T10It is represented as follows;
Figure FDA0002242427760000013
step S3, judging a balance state according to a follow-up leveling k coefficient change reference table, determining an adjusting coefficient k0 value, performing single adjustment and waiting for 10min after the adjusting position of a constraint function meets a constraint condition L (3) according to follow-up leveling adjustment, calculating the current balance PHD1 according to a formula (1) and judging the balance state of the current balance PHD1, and jumping to step 7 if the balance state is reached; the follow-up leveling adjustment constraint function is as follows:
Figure FDA0002242427760000021
wherein the constraint condition L (1) represents that the absolute value of the difference between the feedback balance degree and the balance range after the balance weight position of the tail beam is finally adjusted is less than or equal to 5 percent; the constraint condition L (2) means that the power consumption of the instantaneous active power P1(T) after follow-up regulation balance and the instantaneous active power P (T) of the motor when the motor is not leveled is reduced in the same T1 unit time; the constraint L (3) indicates that the position S (t) of the weight box on the tail beam is smaller than the movable range S of the tail beam, which is the following equation:
S(t)(i+1)=S(t)(i)+k*ΔS,(i=0,1,2,…)
wherein, k { -3, -2, -1, 0, 1, 2, 3}, k {. DELTA.S is the balanced weight displacement amount of the current adjusting horizontal tail beam and S (t) (i) - | k |. DELTA.S | ≧ 0, k depends on whether the current balance degree is in the balanced state range, if not, depends on the difference between the current balance degree and the balanced state range, the specific k value and the direction refer to table 2 for actual adjustment, and Δ S is the unit moving distance. The distance S and the unit m can be adjusted, the upper end point of the tail beam motor is the zero position of S, and the initial point position S (t) (0) of follow-up leveling control is the middle position;
step S4, judging a balance state according to a table follow-up leveling k coefficient change reference table, determining a current adjusting coefficient k1 value, waiting for 10min after single adjustment after the adjusting position meets a constraint condition L (3), calculating the current balance degree PHD2 and judging the balance state, and jumping to step S7 if the balance state is reached;
step S5, judging according to the follow-up adjusting direction function: when the balance degree is less than 100%, the follow-up adjusting direction e <0 represents that the adjusting direction is correct, when the balance degree is more than 100%, the follow-up adjusting direction e >0 represents that the adjusting direction is correct, and the follow-up adjusting direction function is as follows:
Figure FDA0002242427760000031
if not, the adjustment direction is considered to be wrong, the current balance degree is calculated again, and the correctness of the follow-up adjustment direction is judged;
step S6, judging whether the balance degree of the current oil pumping unit meets the constraint condition L (1), if so, performing the next step, otherwise, jumping to the step S2 to perform iterative adjustment;
step S7, when the PHD is adjusted to be less than or equal to 95%i<105% and the adjustment error is 0, and the current T is counted1Energy consumption per unit time Ept1It is represented as follows;
Figure FDA0002242427760000032
step S8, judging whether the energy consumption of the driving motor of the oil pumping unit before and after adjustment meets the constraint condition L (2):
if not, skipping to the step 2 for iterative adjustment; if the L (2) is satisfied, judging according to a constraint condition L (4):
if the condition satisfies L (4), the servo regulation is finished, and the oil pumping unit reaches a balanced state; and if not, skipping to the step 2 for iterative adjustment.
2. The iterative approximation follow-up leveling control method for a beam-pumping unit according to claim 1, wherein in the step S5, if the adjustment direction is not considered to be wrong, the current balance degree is calculated again, the correctness of the follow-up adjustment direction is judged, and the process of judging the direction error is performed three times continuously.
3. The iterative approximation follow-up leveling control method for a beam-pumping unit according to claim 1, wherein in step S8, if neither of the two consecutive adjustments satisfies the adjustment constraint condition, a leveling fault alarm is issued.
4. An intelligent measurement and control device based on a double DSP structure is applied to the iterative approach follow-up leveling control method of the beam-pumping unit according to any one of claims 1 to 3; the intelligent measurement and control device based on the double-DSP structure comprises a forward measurement and control channel, an algorithm control processing module and a backward measurement and control channel;
the forward measurement and control channel comprises a three-phase voltage detection module, a three-phase current detection module and a 4-20mA detection loop module;
the algorithm control processing module comprises an analog signal conditioning module, a first DSP system module, a voltage-frequency conversion module, a first magnetic coupler, a second magnetic coupler, a third magnetic coupler, a serial communication module, a liquid crystal display module, a keyboard module and a CPLD logic and combined system module; the three-phase voltage detection module is connected with the analog signal conditioning module, processed by the first DSP system and then connected to the CPLD logic and combination system module; the three-phase voltage detection module is connected with the analog signal conditioning module, processed by the first DSP system and then connected to the CPLD logic and combination system module; the 4-20mA detection loop module is connected to the CPLD logic and combined system module through the voltage-frequency conversion module; the first DSP system module is connected with the first DSP system module and is connected with the CPLD logic and combined system module; the serial communication module is connected to the second DSP system module after being isolated by the first magnetic coupler module; the liquid crystal display module is connected to the CPLD logic and combination system module after being partitioned by the second DSP system module; the keyboard module is connected to the CPLD logic and combined system module after being separated by the third magnetic coupler; the first magnetic coupler module, the second magnetic coupler module and the third magnetic coupler module are all directly connected with the CPLD logic and combination system module;
the backward measurement and control channel comprises an oil engine starting open loop module, an oil engine stopping open loop module, an unbalance warning loop module, a counterweight increasing open loop module, a counterweight reducing open loop module, a main switch state module, a balancing motor forward rotation upper limit state module, a balancing motor reverse rotation lower limit state module, an oil engine locking state module, a switch signal conditioning circuit module and five optical coupling modules; the CPLD logic and combined system module is respectively connected with the oil engine starting open loop module, the oil engine stopping open loop module, the unbalance warning loop module, the counterweight increasing open loop module and the counterweight reducing open loop module after passing through the five optical coupling modules; the main switch state module, the balancing motor forward rotation upper limit state module, the balancing motor reverse rotation lower limit state module and the oil engine locking state module are respectively connected to the CPLD logic and combined system module through the switch signal conditioning circuit.
CN201911004824.5A 2019-11-30 2019-11-30 Iterative approach follow-up leveling control method and device for beam-pumping unit Active CN110895396B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911004824.5A CN110895396B (en) 2019-11-30 2019-11-30 Iterative approach follow-up leveling control method and device for beam-pumping unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911004824.5A CN110895396B (en) 2019-11-30 2019-11-30 Iterative approach follow-up leveling control method and device for beam-pumping unit

Publications (2)

Publication Number Publication Date
CN110895396A true CN110895396A (en) 2020-03-20
CN110895396B CN110895396B (en) 2021-10-01

Family

ID=69785709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911004824.5A Active CN110895396B (en) 2019-11-30 2019-11-30 Iterative approach follow-up leveling control method and device for beam-pumping unit

Country Status (1)

Country Link
CN (1) CN110895396B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112783055A (en) * 2021-01-04 2021-05-11 西安华瑞网电科技股份有限公司 Online soft measurement method and device for suspension point load of beam-pumping unit
CN117027738A (en) * 2023-08-10 2023-11-10 大庆石油管理局有限公司 Balance monitoring and automatic regulating device for tower type oil pumping unit

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110103974A1 (en) * 2009-10-26 2011-05-05 Craig Lamascus Control device, oil well with device and method
CN103939058A (en) * 2014-05-06 2014-07-23 西安石油大学 Wind-solar storage combined beam-pumping unit intelligent balancing device
CN105350943A (en) * 2015-11-25 2016-02-24 中国石油化工股份有限公司胜利油田分公司技术检测中心 Automatic adjusting device and method of walking beam type pumping unit balance degree through minimum power method
CN108691756A (en) * 2017-04-11 2018-10-23 中国石油化工股份有限公司 Pumping unit automatic adjusting balance system and method
US20190012492A1 (en) * 2017-07-07 2019-01-10 Weatherford Technology Holdings, Llc System and Method for Handling Pumping Units in Out-Of-Balance Condition
CN110094186A (en) * 2019-05-27 2019-08-06 陕西安控科技有限公司 A kind of balance of well pumping unit degree adjusting method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110103974A1 (en) * 2009-10-26 2011-05-05 Craig Lamascus Control device, oil well with device and method
CN103939058A (en) * 2014-05-06 2014-07-23 西安石油大学 Wind-solar storage combined beam-pumping unit intelligent balancing device
CN105350943A (en) * 2015-11-25 2016-02-24 中国石油化工股份有限公司胜利油田分公司技术检测中心 Automatic adjusting device and method of walking beam type pumping unit balance degree through minimum power method
CN108691756A (en) * 2017-04-11 2018-10-23 中国石油化工股份有限公司 Pumping unit automatic adjusting balance system and method
US20190012492A1 (en) * 2017-07-07 2019-01-10 Weatherford Technology Holdings, Llc System and Method for Handling Pumping Units in Out-Of-Balance Condition
CN110094186A (en) * 2019-05-27 2019-08-06 陕西安控科技有限公司 A kind of balance of well pumping unit degree adjusting method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112783055A (en) * 2021-01-04 2021-05-11 西安华瑞网电科技股份有限公司 Online soft measurement method and device for suspension point load of beam-pumping unit
CN117027738A (en) * 2023-08-10 2023-11-10 大庆石油管理局有限公司 Balance monitoring and automatic regulating device for tower type oil pumping unit
CN117027738B (en) * 2023-08-10 2024-03-19 大庆石油管理局有限公司 Balance monitoring and automatic regulating device for tower type oil pumping unit

Also Published As

Publication number Publication date
CN110895396B (en) 2021-10-01

Similar Documents

Publication Publication Date Title
US10527034B2 (en) Digitized automatic control method for oil-pumping and digitized balance-shifting pumpjack
WO2016107592A1 (en) Intelligent oil pumping control method and intelligent oil pumping unit
CN201972199U (en) Automatic constant pressure device in water supply system
CN104612631A (en) Power balance digitization automatic control oil pumping method and oil extraction robot
CN110895396B (en) Iterative approach follow-up leveling control method and device for beam-pumping unit
CN103161430A (en) Pumping unit jig frequency, balance real-time capacity adjusting method and device thereof
CN204402440U (en) Shifting balance digitlization oil pumper
CN105672950B (en) Intelligent energy-saving pumping unit and its autocontrol method
CN106894797B (en) Crank swing control device and method for oil pumping unit
CN104265247A (en) Automatic beam pumper balance adjustment device and automatic control method
CN202391390U (en) Device for regulating stroke frequency and balance of pumping unit in real time
CN203535446U (en) Oil pumping unit intelligent control complete equipment
US9011108B2 (en) Intelligent online closed-loop balance adjusting system for pumping unit
CN202381045U (en) Balance automatic regulating device of beam-pumping unit
CN114333516A (en) Variable-speed water-pumping energy-storage water machine electric control coupling physical model experiment device
CN202331120U (en) Multi-split rotor variable-frequency remote intelligent speed control system oil pumping unit
CN105350943B (en) Beam pumping unit degree of balance minimum stream power self-checking device and method
CN204402439U (en) Oil recovery robot
CN206376832U (en) A kind of beam pumping unit energy-saving control system
CN102255516A (en) High-voltage converter and fan and water pump application system thereof
CN110094186A (en) A kind of balance of well pumping unit degree adjusting method
CN102255601B (en) Multifunctional energy-saving on-line monitoring device and method for frequency converter
CN106437625A (en) Novel walking beam pumping unit automatic balance adjustment method and device
Zhao et al. Electromechanical Based Energy Saving Control Strategy for Beam Pumping Motor Systems in Oil Production Industry
CN205936542U (en) Dynamic balance adjusting device of coalbed gas extraction machine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant