CN116625285A - Method and system for determining pipeline volume according to pipeline length and pipeline diameter - Google Patents

Method and system for determining pipeline volume according to pipeline length and pipeline diameter Download PDF

Info

Publication number
CN116625285A
CN116625285A CN202310373643.XA CN202310373643A CN116625285A CN 116625285 A CN116625285 A CN 116625285A CN 202310373643 A CN202310373643 A CN 202310373643A CN 116625285 A CN116625285 A CN 116625285A
Authority
CN
China
Prior art keywords
length
pipeline
arm
reading
point
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.)
Pending
Application number
CN202310373643.XA
Other languages
Chinese (zh)
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.)
China Oil and Gas Pipeline Network Corp
Original Assignee
China Oil and Gas Pipeline Network Corp
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 China Oil and Gas Pipeline Network Corp filed Critical China Oil and Gas Pipeline Network Corp
Priority to CN202310373643.XA priority Critical patent/CN116625285A/en
Publication of CN116625285A publication Critical patent/CN116625285A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B21/00Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E30/00Energy generation of nuclear origin
    • Y02E30/30Nuclear fission reactors

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Length Measuring Devices With Unspecified Measuring Means (AREA)

Abstract

The application relates to a method and a system for determining the volume of a pipeline according to the length and the diameter of the pipeline, comprising the following steps: acquiring a plurality of first arm lengths and a plurality of second arm lengths of the rotating arm after rotating the rotating arm for a preset number of times according to a preset degree; for each rotation, constructing a coordinate system according to the origin of coordinates, the first arm length and the second arm length, and determining a first coordinate point corresponding to the first arm length and a second coordinate point corresponding to the second arm length according to the coordinate system; obtaining the local diameter of the pipeline corresponding to the local position according to each first coordinate point and each second coordinate point; obtaining a local diameter corresponding to each axial measuring position; determining the diameter of the pipeline according to each local diameter; acquiring the pipeline length of the pipeline through a stay wire displacement sensor; and determining the corresponding pipeline volume of the pipeline in the pipeline length according to the pipeline length and the local diameter. The problems of high requirement on the volume measurement environment and low precision of the existing pipeline are solved.

Description

Method and system for determining pipeline volume according to pipeline length and pipeline diameter
Technical Field
The application relates to the technical field of pipeline measurement, in particular to a method and a system for determining the volume of a pipeline according to the length and the diameter of the pipeline.
Background
The diameter and length measurement of the pipeline is an essential measurement work for survey design, construction, maintenance and management of various pipeline engineering construction, the conventional diameter measurement is usually carried out by using a vernier caliper, the length of the pipeline can be measured by manual measurement or other outside-pipe measurement methods, and the measurement modes such as laser, ultrasonic waves and the like have higher requirements on the measurement environment. The traditional measurement method has limited effect when a diameter measurement result with higher accuracy is needed, for example, when measuring a standard measurement section of a volume pipe in the field of natural gas flow measurement, the accuracy of the diameter and the length measurement directly influences the accuracy of the measurement result.
Disclosure of Invention
In order to solve the problems of high requirement and low precision of the volume measurement environment of the existing pipeline, the application provides a method and a system for determining the volume of the pipeline according to the length and the diameter of the pipeline.
In order to solve the above technical problems, the present application provides a method for determining a volume of a pipe according to a length of the pipe and a diameter of the pipe, in which a rotating arm and a pull wire displacement sensor are disposed, the rotating arm is driven by a motor to rotate in an axial direction in the pipe, the rotating arm is divided into a first rotating arm and a second rotating arm by taking a rotation center as a demarcation point, an included angle between the first rotating arm and the second rotating arm is 180 ° and is located on the same horizontal plane, an end point of the first rotating arm is provided with a first sensor, an end point of the second rotating arm is provided with a second sensor, the first sensor is used for obtaining a distance between a position of the first sensor and a point on an inner wall of the pipe, the second sensor is used for obtaining a distance between the position of the first sensor and the point on the inner wall of the pipe, and the pull wire displacement sensor is used for obtaining a length of the pipe, the method includes the steps of:
s1, acquiring a plurality of first arm lengths and a plurality of second arm lengths of a rotating arm after rotating for a preset number of times according to a preset degree, wherein each rotation corresponds to acquisition of a first arm length and a second arm length, the first arm length is the length between a rotation center and a first point on the inner wall of a pipeline corresponding to a first sensor, and the second arm length is the length between the rotation center and a second point on the inner wall of the pipeline corresponding to a second sensor;
s2, for each rotation, taking a rotation center as a coordinate origin, constructing a coordinate system according to the coordinate origin, the first arm length and the second arm length, and determining a first coordinate point corresponding to the first arm length and a second coordinate point corresponding to the second arm length according to the coordinate system, wherein the first coordinate point is a coordinate value of the first point relative to the rotation center, and the second coordinate point is a coordinate value of the second point relative to the rotation center;
s3, fitting a circle according to each first coordinate point and each second coordinate point by a least square method to obtain a local diameter corresponding to a local position of the pipeline, wherein the local position is the position of the rotating arm;
s4, taking each local position in the pipeline as an axial measurement position, and repeating the steps S1-S3 to obtain a local diameter corresponding to each axial measurement position;
s5, determining the pipeline diameter of the pipeline according to each local diameter;
s6, acquiring the pipeline length of the pipeline through a stay wire displacement sensor;
and S7, determining the corresponding pipeline volume of the pipeline in the pipeline length according to the pipeline length and the local diameter.
The method for determining the volume of the pipeline according to the length and the diameter of the pipeline has the beneficial effects that: through first sensor and second sensor on the swinging boom, can obtain the first coordinate point that first arm length corresponds and the second coordinate point that second arm length corresponds, the circle is fitted through the least square method to the rethread pipeline, obtain the local diameter that pipeline corresponds in local position, finally obtain the local diameter that a plurality of local positions correspond respectively through measuring, thereby synthesize a plurality of local diameters and obtain the pipeline diameter that the accuracy is high, the pipeline volume can be obtained to the pipeline length that combines the displacement sensor that draws wires to obtain again, swinging boom in this method, first sensor and second sensor do not receive the influence of environment, and synthesize the pipeline diameter through measuring a plurality of local diameters, the accuracy of pipeline volume has been improved, the volume measurement environment requirement of current pipeline is high and the low problem of precision has been solved.
On the basis of the technical scheme, the method for determining the volume of the pipeline according to the length and the diameter of the pipeline can be improved as follows.
Further, the obtaining the plurality of first arm lengths and the plurality of second arm lengths of the rotating arm after the rotating arm rotates for a preset number of times according to a preset number of degrees includes:
for each rotation, acquiring a first standard length corresponding to the first rotating arm and a second standard length corresponding to the second rotating arm, wherein the first standard length is the length between the rotation center and a corresponding first position of the first sensor in the pipeline, and the second standard length is the length between the rotation center and a corresponding second position of the second sensor in the pipeline;
for each rotation, obtaining a first reading corresponding to the first sensor and a second reading corresponding to the second sensor, the first reading representing a length between the first position and the first point, the second reading representing a length between the second position and the second point;
for each rotation, a first arm length is determined based on the first standard length and the first reading, and a second arm length is determined based on the second standard length and the second reading.
The beneficial effects of adopting the further scheme are as follows: the first arm length is determined by the first standard length and the first reading of the first rotating arm, the second arm length is determined by the second standard length and the second reading of the second rotating arm, and the first arm length and the second arm length are high in accuracy and accurate in measurement.
Further, the above-mentioned further includes:
rotating the rotating arm by 180 degrees by taking the rotation center as a rotation point, and acquiring a third reading corresponding to the first sensor and a fourth reading corresponding to the second sensor, wherein the third reading is the length between the first position and the second point, and the fourth reading is the length between the second position and the first point;
acquiring the actual length between the first point and the second point;
determining a proportion coefficient according to the first reading, the second reading, the third reading, the fourth reading and the actual length, wherein the proportion coefficient characterizes the proportion of the first rotating arm and the second rotating arm to the length of the rotating arm respectively;
for each rotation, obtaining a first standard length corresponding to the first rotating arm and a second standard length corresponding to the second rotating arm, including:
and for each rotation, acquiring a first standard length corresponding to the first rotating arm and a second standard length corresponding to the second rotating arm according to the proportionality coefficient.
The beneficial effects of adopting the further scheme are as follows: because the inner wall of the pipeline is not completely smooth and has uneven parts, by acquiring the proportionality coefficient, when each first coordinate point and each second coordinate point fit a circle by a least square method, measurement errors caused by the uneven parts are reduced.
Further, determining the scaling factor according to the first reading, the second reading, the third reading, the fourth reading and the actual length includes:
and determining a proportionality coefficient according to the first reading, the second reading, the third reading, the fourth reading and the actual length by a first formula, wherein the first formula is as follows:
where k represents a scaling factor, deltal 1,0° 、Δl 2,0° 、Δl 1,180° 、Δl 2,180° Respectively represent a first reading, a second reading, a third reading and a fourth reading, L 0 Representing the actual length.
The beneficial effects of adopting the further scheme are as follows: and obtaining a proportion coefficient through a first formula, and setting a first standard length and a second standard length of the rotating arm through the proportion coefficient, so that the accuracy of fitting the circle by the least square method is improved.
Further, the determining the diameter of the pipe according to each local diameter includes:
determining the diameter of the pipeline according to each local diameter through a second formula, wherein the second formula is as follows:
wherein D is ref Represents the diameter of the pipeline, D local Represents the local diameter, z cyl,2 、z cyl,1 Representing the last axial side position and the first axial measurement position, respectively, of the respective axial measurement positions.
The beneficial effects of adopting the further scheme are as follows: and taking integral average value of each local diameter through a second formula, thereby comprehensively obtaining the final pipeline diameter and improving the accuracy of the pipeline diameter.
In a second aspect, the present application provides a system for determining a pipe volume from a pipe length and a pipe diameter, comprising:
the arm length acquisition module is used for acquiring a plurality of first arm lengths and a plurality of second arm lengths after the rotating arm rotates for a preset number of times according to a preset degree, each rotation corresponds to acquisition of a first arm length and a second arm length, the first arm length is the length between the rotation center and a first point on the inner wall of the pipeline corresponding to the first sensor, and the second arm length is the length between the rotation center and a second point on the inner wall of the pipeline corresponding to the second sensor;
the coordinate point acquisition module is used for taking the rotation center as a coordinate origin for each rotation, constructing a coordinate system according to the coordinate origin, the first arm length and the second arm length, and determining a first coordinate point corresponding to the first arm length and a second coordinate point corresponding to the second arm length according to the coordinate system, wherein the first coordinate point is a coordinate value of the first point relative to the rotation center, and the second coordinate point is a coordinate value of the second point relative to the rotation center;
the first local diameter module is used for fitting a circle according to each first coordinate point and each second coordinate point by a least square method to obtain a local diameter corresponding to a local position of the pipeline, wherein the local position is the position of the rotating arm;
the second local diameter module is used for repeatedly executing the functions corresponding to the arm length acquisition module, the coordinate point acquisition module and the first local diameter module by taking each local position in the pipeline as an axial measurement position to obtain a local diameter corresponding to each axial measurement position;
the pipeline diameter acquisition module is used for determining the pipeline diameter of the pipeline according to each local diameter;
the pipeline length acquisition module is used for acquiring the pipeline length of the pipeline through the stay wire displacement sensor;
and the pipeline volume acquisition module is used for determining the corresponding pipeline volume of the pipeline in the pipeline length according to the pipeline length and the local diameter.
In a third aspect, the application also provides an electronic device comprising a memory, a processor and a program stored on the memory and running on the processor, the processor executing the program to perform the steps of a method of determining a pipe volume from a pipe length and a pipe diameter as described above.
In a fourth aspect, the application also provides a computer readable storage medium having instructions stored therein which, when run on a terminal device, cause the terminal device to perform the steps of a method of determining a pipe volume from a pipe length and a pipe diameter.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the present application is further described below with reference to the drawings and the embodiments.
FIG. 1 is a schematic diagram of a diameter measurement device;
FIG. 2 is a flow chart of a method of determining a pipe volume based on pipe length and pipe diameter according to an embodiment of the present application;
FIG. 3 is a schematic view of a structure of a rotary arm;
FIG. 4 is a schematic view of the structure of the rotary arm in the working state;
FIG. 5 is a schematic view of a structure of a rotating arm in another working state;
FIG. 6 is a schematic diagram of a least squares fit circle corresponding to a local diameter;
FIG. 7 is a schematic diagram of a pull-wire displacement sensor;
FIG. 8 is a schematic diagram of the structure of the stay wire displacement sensor in operation;
FIG. 9 is a graph of temperature inside and outside a pipe over time;
fig. 10 is a schematic structural view of a system for determining a pipe volume according to a pipe length and a pipe diameter according to an embodiment of the present application.
Detailed Description
The following examples are further illustrative and supplementary of the present application and are not intended to limit the application in any way.
A method and system for determining a pipe volume based on pipe length and pipe diameter according to embodiments of the present application are described below with reference to the accompanying drawings.
The method for determining the volume of the pipeline according to the length and the diameter of the pipeline is applied to terminal equipment, the terminal equipment is taken as an execution main body in the scheme of the application, the scheme of the application is explained, the terminal equipment can be a computer, a server and the like and is used for executing the steps of the method for determining the volume of the pipeline according to the length and the diameter of the pipeline, and the terminal equipment is connected with a first sensor, a second sensor and a stay wire displacement sensor.
Optionally, the diameter of the pipeline 1 is measured through a diameter measuring device, wherein, as shown in fig. 1, the diameter measuring device comprises a motor 2, a fixing frame 3, a main shaft 4, a rotating arm 5, a first sensor 6 and a second sensor 7, one end of the main shaft 4 is connected with the motor 2, the middle part of the main shaft 4 is fixed on the fixing frame 3 through a main shaft nut 8, the other end of the main shaft 4 is connected with the rotating arm 5, the fixing frame 3 slides on the inner wall of the pipeline 1 through a sliding shaft 9 so as to move the diameter measuring device to a target position, the rotating arm 5 is driven by the motor 2 to axially rotate in the pipeline 1, the rotating arm 5 is divided into a first rotating arm and a second rotating arm by taking a rotation center as a demarcation point, an included angle between the first rotating arm and the second rotating arm is 180 degrees and is located on the same horizontal plane, the end point of the first rotating arm is provided with the first sensor 6, the end point of the second rotating arm is provided with the second sensor 7, and the first sensor 6 is used for acquiring the distance between the position of the user and one point on the inner wall of the pipeline 1, and the second sensor 7 is used for acquiring the distance between the position of the user and one point on the inner wall of the pipeline 1.
As shown in fig. 2, the present application provides a method of determining a pipe volume from a pipe length and a pipe diameter, comprising the steps of:
s1, acquiring a plurality of first arm lengths and a plurality of second arm lengths of a rotating arm after rotating for a preset number of times according to a preset degree, wherein each rotation corresponds to acquisition of a first arm length and a second arm length, the first arm length is the length between a rotation center and a first point on the inner wall of a pipeline corresponding to a first sensor, and the second arm length is the length between the rotation center and a second point on the inner wall of the pipeline corresponding to a second sensor;
s2, for each rotation, taking a rotation center as a coordinate origin, constructing a coordinate system according to the coordinate origin, the first arm length and the second arm length, and determining a first coordinate point corresponding to the first arm length and a second coordinate point corresponding to the second arm length according to the coordinate system, wherein the first coordinate point is a coordinate value of the first point relative to the rotation center, and the second coordinate point is a coordinate value of the second point relative to the rotation center;
s3, fitting a circle according to each first coordinate point and each second coordinate point by a least square method to obtain a local diameter corresponding to a local position of the pipeline, wherein the local position is the position of the rotating arm;
s4, taking each local position in the pipeline as an axial measurement position, and repeating the steps S1-S3 to obtain a local diameter corresponding to each axial measurement position;
s5, determining the pipeline diameter of the pipeline according to each local diameter;
s6, acquiring the pipeline length of the pipeline through a stay wire displacement sensor;
and S7, determining the corresponding pipeline volume of the pipeline in the pipeline length according to the pipeline length and the local diameter.
Optionally, the obtaining the plurality of first arm lengths and the plurality of second arm lengths of the rotating arm after the rotating arm rotates for a preset number of times according to a preset number of degrees includes:
for each rotation, acquiring a first standard length corresponding to the first rotating arm and a second standard length corresponding to the second rotating arm, wherein the first standard length is the length between the rotation center and a corresponding first position of the first sensor in the pipeline, and the second standard length is the length between the rotation center and a corresponding second position of the second sensor in the pipeline;
for each rotation, obtaining a first reading corresponding to the first sensor and a second reading corresponding to the second sensor, the first reading representing a length between the first position and the first point, the second reading representing a length between the second position and the second point;
for each rotation, a first arm length is determined based on the first standard length and the first reading, and a second arm length is determined based on the second standard length and the second reading.
Alternatively, the preset degree and the preset number of times may be set according to practical situations, for example, the preset degree is phi °, and the preset number of times is 6, and the rotating arm rotates 6 times, and rotates phi ° each time.
Optionally, the method further comprises:
rotating the rotating arm by 180 degrees by taking the rotation center as a rotation point, and acquiring a third reading corresponding to the first sensor and a fourth reading corresponding to the second sensor, wherein the third reading is the length between the first position and the second point, and the fourth reading is the length between the second position and the first point;
acquiring the actual length between the first point and the second point;
determining a proportion coefficient according to the first reading, the second reading, the third reading, the fourth reading and the actual length, wherein the proportion coefficient characterizes the proportion of the first rotating arm and the second rotating arm to the length of the rotating arm respectively;
for each rotation, obtaining a first standard length corresponding to the first rotating arm and a second standard length corresponding to the second rotating arm, including:
and for each rotation, acquiring a first standard length corresponding to the first rotating arm and a second standard length corresponding to the second rotating arm according to the proportionality coefficient.
As shown in fig. 3, reference calliper represents a caliper for representing the distance between the first point and the second point, a represents the first point, B represents the second point, and as can be seen from fig. 3, the actual length L between the first point and the second point 0 =L 1 +L 2 Wherein L is 1 Indicating the first arm length, L 2 The second arm length is indicated, and since the first arm length and the second arm length are not identical in length in order to remove an error due to the irregularities of the inner wall of the pipe when fitting the circle by the least square method, it is necessary to determine the first standard length and the second standard length by determining the scaling factor at the time of actual measurement.
Alternatively, as shown in FIG. 4, which is a schematic diagram of the first sensor and the second sensor measuring the inner wall of the pipe, the actual length between the first point and the second point is L 0 The first reading of the first sensor is Deltal 1,0° The second reading of the second sensor is Deltal 2,0° The first standard length of the first rotating arm is L 1 The second standard length of the second rotating arm is L 2 Thus, it is possible to obtain:
first arm length L a,0° =L 1 +Δl 1,0° (1);
Second arm length L b,0° =L 2 +Δl 2,0° (2)。
As shown in fig. 5, the rotation arm is rotated 180 ° with the rotation center (the dot in fig. 5) as the rotation point to obtain a third reading Δl corresponding to the first sensor 2,180° And a fourth reading Δl corresponding to the second sensor 1,180° The method can obtain:
first arm length L after 180 DEG rotation a,180° =L 2 +Δl 2,180° (3);
Second arm length L after 180 DEG rotation b,180° =L 1 +Δl 1,180° (4)。
In addition, L is known from FIGS. 4 to 5 a,0° =L a,180° ,L b,0° =L b,180° (5) Thus, combining (1) - (5) can result in:
L a,0° -L a,180° =L 1 +Δl 1,0° -L 2 -Δl 2,180° (6)
L b,0° -L b,180° =L 2 +Δl 2,0° -L 1 -Δl 1,180° (7)
in addition, as can be seen from FIGS. 4 to 5, L is present assuming that the scaling factor is k 1 =k·L 0 ;L 2 =(1-k)·L 0 (8) Thus, combining (6) - (8) may yield a first formula, the first formula being as follows:
where k represents a scaling factor, deltal 1,0° 、Δl 2,0° 、Δl 1,180° 、Δl 2,180° Respectively represent a first reading, a second reading, a third reading and a fourth reading, L 0 Representing the actual length.
Optionally, based on the foregoing, determining the scaling factor according to the first reading, the second reading, the third reading, the fourth reading, and the actual length includes:
and determining a proportionality coefficient according to the first reading, the second reading, the third reading, the fourth reading and the actual length by a first formula, wherein the first formula is as follows:
where k represents a scaling factor, deltal 1,0° 、Δl 2,0° 、Δl 1,180° 、Δl 2,180° Respectively represent a first reading, a second reading, a third reading and a fourth reading, L 0 Representing the actual length.
Alternatively, as shown in FIG. 6, a first coordinate point and a second coordinate point may be obtained for each rotationWherein phi represents the degree of rotation, L a,φ Indicating the first arm length, L b,φ Indicating the second arm length, x a,φ =L a,φ Cos (φ) represents the abscissa, y, of the first coordinate point a,φ =L a,φ Sin (phi) denotes the ordinate, x of the first coordinate point b,φ =L b,φ Cos (φ) represents the abscissa, y, of the second coordinate point b,φ =L b,φ The sin (Φ) represents the ordinate of the second coordinate point, and it is known that a least square fitting circle can be obtained from each first coordinate point and each second coordinate point, and the local diameter can be obtained from the fitting circle.
Optionally, determining the diameter of the pipe according to the local diameters includes:
determining the diameter of the pipeline according to each local diameter through a second formula, wherein the second formula is as follows:
wherein D is ref Represents the diameter of the pipeline, D local Represents the local diameter, z cyl,2 、z cyl,1 Representing the last axial side position and the first axial measurement position, respectively, of the respective axial measurement positions.
Alternatively, as shown in fig. 7, a schematic diagram of a pull-wire displacement sensor is shown, where the pull-wire displacement sensor includes a servo motor 10, a displacement table 11, a connecting shaft 12, a piston 13, a pull-wire 14, a fixed end 15 and electronic switches, where one end of the pull-wire is connected with the fixed end 15, the other end of the pull-wire is connected with the piston, the piston is connected with the displacement table through the connecting shaft, each electronic switch is disposed on an inner wall of a pipeline, in addition, incremental encoder electronic represents an incremental encoder for detecting a length of the pull-wire 14 between the fixed end 15 and the piston 13, HPPP elcctronic represents each electronic switch, and PC based data acquisition represents uploading data collected by the pull-wire displacement sensor to a terminal device.
Alternatively, as shown in fig. 8, when in use, a plurality of electronic switches (a or b or c) are arranged at the target position of the pipeline, the servo motor 10 drives the displacement table 11 to push the piston to move in the pipeline 1, at this time, the pull wire 14 continuously contracts at the fixed end 15, when the piston 13 triggers the first electronic switch, the incremental encoder detects the length of the pull wire 14 between the fixed end 15 and the piston 13, so as to obtain the position information of the first electronic switch a4, when the piston 13 triggers the second electronic switch a2, the incremental encoder detects the length of the pull wire 14 between the fixed end 15 and the piston 13, so as to obtain the position information of the second electronic switch, and therefore, the pipeline length is the displacement difference between the displacement information of the first electronic switch and the displacement information of the second electronic switch, namely a2:a4 (or b2:b4 or c2:c4).
Optionally, in order to improve accuracy in measuring the length of the pipe, the initial length of the stay wire needs to be changed, where the initial length refers to that the fixed end needs to be set at a different position so as to measure the length of the pipe, where the number of changes of the initial length is preferably 6, and 5-10 times of measurements need to be repeated for each initial length to obtain displacement differences between 5 and 10 times, where each measurement can obtain a set of displacement differences, respectively a2:a4, b2:b4, and c2:c4, and for each set of displacement differences, an intermediate value between a maximum value and a minimum value in the set of displacement differences needs to be used as a typical value, and a span between the maximum value and the minimum value needs to be used as a recurrent estimated value, and a final length of the pipe is obtained based on the typical value and the estimated value.
Alternatively, as shown in fig. 9, the measurement time represents the measurement time, the Temperature represents the Temperature, the curve a is the Temperature curve of the outer surface of the pipeline, the curve b is the Temperature curve of the inner wall of the pipeline, and as can be seen from fig. 9, for different measurement times, due to the change of the environmental Temperature, a large Temperature difference exists between the inside and the outside of the pipeline, and the Temperature difference has an influence on the measurement of the diameter and the length of the pipeline.
Optionally, when measuring the diameter and length of the pipeline, one monitoring and controlling on the difference between the internal temperature and the external temperature, the temperature change, the deviation of the temperature to 20 ℃ and the like in the measuring process are needed, so that the measuring error caused by the temperature is avoided, and therefore, temperature sensors are uniformly distributed inside and outside the pipeline.
In order to reduce the influence of temperature on the measurement result, the diameter measurement device and the stay wire displacement sensor are made of stainless steel materials and are the same as the pipe, and the diameter measurement device and the pipe are placed close to each other before measurement, so that the temperature between the diameter measurement device and the pipe is as close as possible, and a small temperature difference is obtained.
As shown in fig. 10, an embodiment of the present application further provides a system for determining a volume of a pipe according to a pipe length and a pipe diameter, including:
the arm length obtaining module 201 is configured to obtain a plurality of first arm lengths and a plurality of second arm lengths after the rotating arm rotates for a preset number of times according to a preset degree, where each rotation corresponds to obtaining a first arm length and a second arm length, the first arm length is a length between a rotation center and a first point on an inner wall of the pipeline corresponding to the first sensor, and the second arm length is a length between the rotation center and a second point on the inner wall of the pipeline corresponding to the second sensor;
a coordinate point obtaining module 202, configured to construct a coordinate system with the rotation center as a coordinate origin for each rotation according to the coordinate origin, the first arm length, and the second arm length, and determine a first coordinate point corresponding to the first arm length and a second coordinate point corresponding to the second arm length according to the coordinate system, where the first coordinate point is a coordinate value of the first point relative to the rotation center, and the second coordinate point is a coordinate value of the second point relative to the rotation center;
the first local diameter module 203 is configured to obtain a local diameter corresponding to a local position of the pipeline by fitting a circle according to each first coordinate point and each second coordinate point by a least square method, where the local position is a position where the rotating arm is located;
the second local diameter module 204 is configured to repeatedly execute functions corresponding to the arm length acquisition module, the coordinate point acquisition module and the first local diameter module by using each local position in the pipeline as an axial measurement position, so as to obtain a local diameter corresponding to each axial measurement position;
a pipe diameter acquisition module 205 for determining a pipe diameter of the pipe based on each of the local diameters;
a pipe length obtaining module 206, configured to obtain a pipe length of the pipe through the stay wire displacement sensor;
the pipe volume obtaining module 207 is configured to determine a pipe volume corresponding to the pipe in the pipe length according to the pipe length and the local diameter.
Optionally, the arm length obtaining module 201 is specifically configured to:
for each rotation, acquiring a first standard length corresponding to the first rotating arm and a second standard length corresponding to the second rotating arm, wherein the first standard length is the length between the rotation center and a corresponding first position of the first sensor in the pipeline, and the second standard length is the length between the rotation center and a corresponding second position of the second sensor in the pipeline;
for each rotation, obtaining a first reading corresponding to the first sensor and a second reading corresponding to the second sensor, the first reading representing a length between the first position and the first point, the second reading representing a length between the second position and the second point;
for each rotation, a first arm length is determined based on the first standard length and the first reading, and a second arm length is determined based on the second standard length and the second reading.
Optionally, the system further comprises:
the scaling factor module is specifically configured to:
rotating the rotating arm by 180 degrees by taking the rotation center as a rotation point, and acquiring a third reading corresponding to the first sensor and a fourth reading corresponding to the second sensor, wherein the third reading is the length between the first position and the second point, and the fourth reading is the length between the second position and the first point;
acquiring the actual length between the first point and the second point;
and determining a proportion coefficient according to the first reading, the second reading, the third reading, the fourth reading and the actual length, wherein the proportion coefficient characterizes the proportion of the first rotating arm and the second rotating arm to the length of the rotating arm respectively.
The arm length acquisition module 201 is specifically configured to:
and for each rotation, acquiring a first standard length corresponding to the first rotating arm and a second standard length corresponding to the second rotating arm according to the proportionality coefficient.
Optionally, the scaling factor module is specifically configured to:
and determining a proportionality coefficient according to the first reading, the second reading, the third reading, the fourth reading and the actual length by a first formula, wherein the first formula is as follows:
where k represents a scaling factor, deltal 1,0° 、Δl 2,0° 、Δl 1,180° 、Δl 2,180° Respectively represent a first reading, a second reading, a third reading and a fourth reading, L 0 Representing the actual length.
Optionally, the pipe diameter obtaining module 205 is specifically configured to:
determining the diameter of the pipeline according to each local diameter through a second formula, wherein the second formula is as follows:
wherein D is ref Represents the diameter of the pipeline, D local Represents the local diameter, z cyl,2 、z cyl,1 Representing the last axial side position and the first axial measurement position, respectively, of the respective axial measurement positions.
The electronic equipment comprises a memory, a processor and a program stored in the memory and running on the processor, wherein the processor realizes part or all of the steps of the method for determining the pipeline volume according to the pipeline length and the pipeline diameter when executing the program.
The electronic device may be a computer, and correspondingly, the program is computer software, and the parameters and steps in the above-mentioned electronic device according to the present application may refer to the parameters and steps in the above-mentioned embodiment of the method for determining the pipe volume according to the pipe length and the pipe diameter, which are not described herein.
Those skilled in the art will appreciate that the present application may be implemented as a system, method, or computer program product. Accordingly, the present disclosure may be embodied in the following forms, namely: either entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or entirely software, or a combination of hardware and software, referred to herein generally as a "circuit," module "or" system. Furthermore, in some embodiments, the application may also be embodied in the form of a computer program product in one or more computer-readable media, which contain computer-readable program code. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
While embodiments of the present application have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the application, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the application.

Claims (8)

1. The method for determining the volume of the pipeline according to the length and the diameter of the pipeline is characterized in that a rotating arm and a stay wire displacement sensor are arranged in the pipeline, the rotating arm is driven by a motor to axially rotate in the pipeline, the rotating arm is divided into a first rotating arm and a second rotating arm by taking a rotation center as a demarcation point, an included angle between the first rotating arm and the second rotating arm is 180 degrees and is positioned on the same horizontal plane, a first sensor is arranged at an end point of the first rotating arm, a second sensor is arranged at an end point of the second rotating arm, the first sensor is used for acquiring the distance between the position of the first sensor and a point on the inner wall of the pipeline, the second sensor is used for acquiring the distance between the position of the first sensor and the point on the inner wall of the pipeline, and the stay wire displacement sensor is used for acquiring the length of the pipeline, and the method comprises the following steps:
s1, acquiring a plurality of first arm lengths and a plurality of second arm lengths of the rotating arm after rotating for a preset number of times according to a preset degree, wherein each rotation corresponds to acquisition of one first arm length and one second arm length, the first arm length is the length between the rotation center and a first point on the inner wall of a pipeline corresponding to the first sensor, and the second arm length is the length between the rotation center and a second point on the inner wall of the pipeline corresponding to the second sensor;
s2, for each rotation, taking the rotation center as a coordinate origin, constructing a coordinate system according to the coordinate origin, the first arm length and the second arm length, and determining a first coordinate point corresponding to the first arm length and a second coordinate point corresponding to the second arm length according to the coordinate system, wherein the first coordinate point is a coordinate value of the first point relative to the rotation center, and the second coordinate point is a coordinate value of the second point relative to the rotation center;
s3, fitting a circle according to each first coordinate point and each second coordinate point by a least square method to obtain a local diameter corresponding to a local position of the pipeline, wherein the local position is the position of the rotating arm;
s4, taking each local position in the pipeline as an axial measurement position, and repeating the steps S1-S3 to obtain the local diameter corresponding to each axial measurement position;
s5, determining the pipeline diameter of the pipeline according to each local diameter;
s6, acquiring the pipeline length of the pipeline through the stay wire displacement sensor;
and S7, determining the corresponding pipeline volume of the pipeline in the pipeline length according to the pipeline length and the local diameter.
2. The method of claim 1, wherein the obtaining the plurality of first arm lengths and the plurality of second arm lengths after the rotating arm rotates a preset number of times according to a preset number of degrees comprises:
for each rotation, acquiring a first standard length corresponding to the first rotating arm and a second standard length corresponding to the second rotating arm, wherein the first standard length is the length between the rotation center and a corresponding first position of the first sensor in the pipeline, and the second standard length is the length between the rotation center and a corresponding second position of the second sensor in the pipeline;
for each of the rotations, obtaining a first reading corresponding to the first sensor, the first reading representing a length between the first location and the first point, and a second reading corresponding to the second sensor, the second reading representing a length between the second location and the second point;
for each of the rotations, a first arm length is determined based on the first standard length and the first reading, and a second arm length is determined based on the second standard length and the second reading.
3. The method as recited in claim 1, further comprising:
rotating the rotating arm by 180 degrees by taking the rotation center as a rotation point, and acquiring a third reading corresponding to the first sensor and a fourth reading corresponding to the second sensor, wherein the third reading is the length between the first position and the second point, and the fourth reading is the length between the second position and the first point;
acquiring the actual length between the first point and the second point;
determining a scaling factor according to the first reading, the second reading, the third reading, the fourth reading and the actual length, wherein the scaling factor characterizes the length proportion of the first rotating arm and the second rotating arm to the rotating arm respectively;
for each rotation, obtaining a first standard length corresponding to the first rotating arm and a second standard length corresponding to the second rotating arm, including:
and for each rotation, acquiring a first standard length corresponding to the first rotating arm and a second standard length corresponding to the second rotating arm according to the proportionality coefficient.
4. A method according to claim 3, wherein said determining a scaling factor based on said first reading, said second reading, said third reading, said fourth reading and an actual length comprises:
determining a proportionality coefficient according to the first reading, the second reading, the third reading, the fourth reading and the actual length through a first formula, wherein the first formula is as follows:
where k represents a scaling factor, deltal 1,0° 、Δl 2,0° 、Δl 1,180° 、Δl 2,180° Respectively represent a first reading, a second reading, a third reading and a fourth reading, L 0 Representing the actual length.
5. The method of any one of claims 1-4, wherein said determining a pipe diameter from each of said local diameters comprises:
and determining the diameter of the pipeline according to each local diameter through a second formula, wherein the second formula is as follows:
wherein D is ref Represents the diameter of the pipeline, D local Represents the local diameter, z cyl,2 、z cyl,1 Representing the last axial side position and the first axial measurement position, respectively, of the respective axial measurement positions.
6. A system for determining a pipe volume based on a pipe length and a pipe diameter, comprising:
the arm length acquisition module is used for acquiring a plurality of first arm lengths and a plurality of second arm lengths after the rotating arm rotates for a preset number of times according to a preset degree, wherein each rotation corresponds to acquisition of one first arm length and one second arm length, the first arm length is the length between the rotation center and a first point on the inner wall of the pipeline corresponding to the first sensor, and the second arm length is the length between the rotation center and a second point on the inner wall of the pipeline corresponding to the second sensor;
a coordinate point acquisition module, configured to construct a coordinate system with the rotation center as a coordinate origin for each rotation, according to the coordinate origin, the first arm length, and the second arm length, and determine a first coordinate point corresponding to the first arm length and a second coordinate point corresponding to the second arm length according to the coordinate system, where the first coordinate point is a coordinate value of the first point relative to the rotation center, and the second coordinate point is a coordinate value of the second point relative to the rotation center;
the first local diameter module is used for obtaining a local diameter corresponding to a local position of the pipeline by fitting a circle through a least square method according to each first coordinate point and each second coordinate point, and the local position is the position of the rotating arm;
the second local diameter module is used for repeatedly executing the functions corresponding to the arm length acquisition module, the coordinate point acquisition module and the first local diameter module by taking each local position in the pipeline as an axial measurement position to obtain the local diameter corresponding to each axial measurement position;
a pipe diameter acquisition module for determining a pipe diameter of the pipe according to each of the local diameters;
the pipeline length acquisition module is used for acquiring the pipeline length of the pipeline through the stay wire displacement sensor;
and the pipeline volume acquisition module is used for determining the corresponding pipeline volume of the pipeline in the pipeline length according to the pipeline length and the local diameter.
7. An electronic device comprising a memory, a processor and a program stored on the memory and running on the processor, characterized in that the processor, when executing the program, carries out the steps of a method of determining a pipe volume from a pipe length and a pipe diameter according to any one of claims 1 to 5.
8. A computer readable storage medium having instructions stored therein which, when run on a terminal device, cause the terminal device to perform the steps of a method of determining a pipe volume from a pipe length and a pipe diameter as claimed in any one of claims 1 to 5.
CN202310373643.XA 2023-04-10 2023-04-10 Method and system for determining pipeline volume according to pipeline length and pipeline diameter Pending CN116625285A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310373643.XA CN116625285A (en) 2023-04-10 2023-04-10 Method and system for determining pipeline volume according to pipeline length and pipeline diameter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310373643.XA CN116625285A (en) 2023-04-10 2023-04-10 Method and system for determining pipeline volume according to pipeline length and pipeline diameter

Publications (1)

Publication Number Publication Date
CN116625285A true CN116625285A (en) 2023-08-22

Family

ID=87590447

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310373643.XA Pending CN116625285A (en) 2023-04-10 2023-04-10 Method and system for determining pipeline volume according to pipeline length and pipeline diameter

Country Status (1)

Country Link
CN (1) CN116625285A (en)

Similar Documents

Publication Publication Date Title
TWI495846B (en) Method and apparatus for measuring a part
US9423282B2 (en) Metrology device and a method for compensating for bearing runout error
CN109655024A (en) Using the displacement sensor method for calibrating external parameters of spatial transform technique
CN108731707B (en) Method and device for measuring absolute position by double-increment type encoder
CN102120230B (en) Device and method for measuring bending angle of bent piece
KR101829521B1 (en) Method for self-calibrating a rotary encoder
JP6694953B2 (en) Shaft rotation angle measuring method and system
JP2007315815A (en) Three-dimensional displacement measuring system
CN110497385B (en) Device and method for precisely measuring pose of moving platform of six-degree-of-freedom parallel mechanism
CN107843227B (en) Method for improving precision of encoder based on calibration technology
CN105865292A (en) Test indicator
CN109791128A (en) Measurement and the method and system for checking tubing
CN110455222A (en) A kind of high-precision rotary angle measuring method, device and equipment
CN111562563A (en) Laser radar rotary table calibration method and device and computer readable storage medium
JP5610443B2 (en) 3D dimension measurement method
CN116625285A (en) Method and system for determining pipeline volume according to pipeline length and pipeline diameter
CN110031024A (en) A kind of incremental encoder
TW202027428A (en) A rotary encoder eccentricity correction apparatus
JP5107791B2 (en) Rotation angle sensor
WO2020037989A1 (en) Position information self-calibration method, storage medium, and computer device
CN111077777A (en) Trigonometric function model error compensation method for angle measurement of double-channel rotary transformer
CN109163676A (en) A kind of development machine suspending arm rotary angle detection method and device
RU2471145C1 (en) Method of controlling accuracy parameters of end faces of body of rotation type articles
JP2008051637A (en) Method for measuring bending stress of fixed structure, recording medium, and computer
CN107192368B (en) A kind of rotation angle measurement method of 3 structure faces dead axle

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