CN114838672A - Deformation image determining method and device of sleeve, terminal and storage medium - Google Patents

Deformation image determining method and device of sleeve, terminal and storage medium Download PDF

Info

Publication number
CN114838672A
CN114838672A CN202110140944.9A CN202110140944A CN114838672A CN 114838672 A CN114838672 A CN 114838672A CN 202110140944 A CN202110140944 A CN 202110140944A CN 114838672 A CN114838672 A CN 114838672A
Authority
CN
China
Prior art keywords
measuring
target
arm
depth
measurement
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
CN202110140944.9A
Other languages
Chinese (zh)
Other versions
CN114838672B (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.)
Petrochina Co Ltd
Original Assignee
Petrochina Co Ltd
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 Petrochina Co Ltd filed Critical Petrochina Co Ltd
Priority to CN202110140944.9A priority Critical patent/CN114838672B/en
Publication of CN114838672A publication Critical patent/CN114838672A/en
Application granted granted Critical
Publication of CN114838672B publication Critical patent/CN114838672B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/16Measuring arrangements characterised by the use of optical techniques for measuring the deformation in a solid, e.g. optical strain gauge
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • G06T2207/10012Stereo images

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Length Measuring Devices With Unspecified Measuring Means (AREA)

Abstract

The application provides a deformation image determination method and device of a casing, a terminal and a storage medium, and belongs to the technical field of oil fields. The method comprises the following steps: acquiring first running-in depth and inner diameter information of a plurality of measuring points of the casing, wherein the first running-in depth of any measuring point is the distance between the top of the casing and the measuring point, and the first running-in depth and inner diameter information of each measuring point are obtained by measuring with a multi-arm caliper; determining a rotation angle of the multi-arm caliper during measurement of the plurality of measurement points based on the first run-in depth of the plurality of measurement points; determining three-dimensional coordinate data of the plurality of measuring points based on first run-in depth and inner diameter information of the plurality of measuring points in response to the fact that the rotating angle is smaller than a preset angle; and drawing a three-dimensional deformation image of the casing pipe based on the three-dimensional coordinate data of the plurality of measuring points. The technical personnel can intuitively determine the deformation condition of the sleeve from the three-dimensional deformation image, and the accuracy of the deformation image of the sleeve is further improved.

Description

Deformation image determining method and device of sleeve, terminal and storage medium
Technical Field
The application relates to the technical field of oil fields, in particular to a deformation image determining method and device of a casing, a terminal and a storage medium.
Background
At present, because shale has the characteristics of low porosity and low permeability, when oil and gas resources in shale are developed, fracturing operation needs to be carried out on the shale. However, the fracturing operation may cause damage to the casing, such as deformation of the casing of the production well, and the casing deformation may cause the fracturing operation to be unable to continue. Therefore, a deformation image of the casing needs to be determined so as to detect the deformation condition of the casing through the deformation image.
In the related art, a multi-arm caliper is generally used to move along the inner wall of a casing, and a measurement arm of the multi-arm caliper changes along with the change of the inner diameter of the casing, so that the inner diameters of a plurality of measurement points of the casing are measured by the multi-arm caliper, and a deformation image of the casing is drawn based on the inner diameters of the plurality of measurement points.
The inner diameter of the measuring point in the technology can only reflect the deformation condition of the cross section of the sleeve, but cannot be measured to reflect the whole deformation, so that the accuracy of the deformation image is low.
Disclosure of Invention
The embodiment of the application provides a method, a device, a terminal and a storage medium for determining a deformation image of a casing, which can improve the accuracy of the deformation image of the casing. The technical scheme is as follows:
in one aspect, a method for determining a deformation image of a casing is provided, the method comprising:
acquiring first running-in depth and inner diameter information of a plurality of measuring points of the casing, wherein the first running-in depth of any measuring point is the distance between the top of the casing and the measuring point, and the first running-in depth and inner diameter information of each measuring point are obtained by measuring with a multi-arm caliper;
determining a rotation angle of the multi-arm caliper during the measuring of the plurality of measurement points based on the first run-in depth of the plurality of measurement points;
determining three-dimensional coordinate data of the plurality of measuring points based on first run-in depth and inner diameter information of the plurality of measuring points in response to the rotation angle being smaller than a preset angle;
and drawing a three-dimensional deformation image of the casing pipe based on the three-dimensional coordinate data of the plurality of measuring points.
In one possible implementation, the determining a rotation angle of the multi-arm caliper during the measuring of the plurality of measurement points based on the first depths of penetration of the plurality of measurement points comprises:
selecting a first target measurement point and a second target measurement point from the plurality of measurement points;
acquiring a second penetration depth of the first target measuring point and a second penetration depth of the second target measuring point, wherein the second penetration depth of any target measuring point is a theoretical penetration depth of the target measuring point;
determining a rotation angle of the multi-arm caliper during the measurement of the plurality of measurement points based on the first and second run-in depths of the first target measurement point and the first and second run-in depths of the second target measurement point.
In one possible implementation, the determining a rotation angle of the multi-arm caliper during the measuring of the plurality of measurement points from the first and second run-in depths of the first target measurement point and the first and second run-in depths of the second target measurement point comprises:
determining the rotation angle of the multi-arm caliper during the measurement of the plurality of measurement points by adopting a formula I according to the first and second penetration depths of the first target measurement point and the first and second penetration depths of the second target measurement point:
wherein, the first formula is:
Figure BDA0002928560110000021
wherein θ is the rotation angle, h m A first run-in depth for the first target measurement point; h is n A first run-in depth of the second target measurement point; h m A second run-in depth for the first target measurement point; h n Measuring a second run-in depth of the point for the second target; arccos is an inverse cosine function.
In one possible implementation, the multi-arm caliper includes a plurality of measurement arms;
determining three-dimensional coordinate data of the plurality of measurement points based on the first run-in depth and the inner diameter information of the plurality of measurement points, including:
selecting a target measuring arm from the plurality of measuring arms, and determining an included angle between each other measuring arm except the target measuring arm and the target measuring arm by adopting a formula II;
wherein, the formula two is:
Figure BDA0002928560110000022
wherein alpha is j The included angle between the jth measuring arm and the target measuring arm is defined, and n is the number of the measuring arms of the multi-arm caliper;
and determining three-dimensional coordinate data of the plurality of measuring points based on the included angle between each other measuring arm and the target measuring arm and the first penetration depth and inner diameter information of the plurality of measuring points.
In a possible implementation manner, the inner diameter information includes a radius measured by each measuring arm, and the determining three-dimensional coordinate data of the plurality of measuring points based on an included angle between each other measuring arm and the target measuring arm, the first penetration depth of the plurality of measuring points, and the inner diameter information includes:
establishing a coordinate system by taking the center of the top of the sleeve as an origin, wherein a vertical axis of the coordinate system is parallel to the sleeve, a horizontal axis of the coordinate system is vertical to the vertical axis, and a longitudinal axis of the coordinate system is respectively vertical to the horizontal axis and the vertical axis;
for each measuring point, taking the first penetration depth of the measuring point as the vertical axis coordinate data of the measuring point;
respectively determining the coordinate data of the horizontal axis and the coordinate data of the vertical axis of each measuring arm corresponding to the measuring points by adopting a formula III and a formula IV based on the included angle between each other measuring arm and the target measuring arm and the radius measured by each measuring arm;
wherein, the formula three is:
X j =r ij ×cosα j
the fourth formula is:
Y j =r ij ×sinα j
wherein, X j For the transverse axis coordinate data, Y, corresponding to the jth measuring arm j Is the coordinate data of the longitudinal axis corresponding to the jth measuring arm, i is the coordinate data of the vertical axis of the measuring point, r ij The radius measured for the jth measuring arm; cos is a cosine function and sin is a sine function;
and combining the transverse axis coordinate data, the longitudinal axis coordinate data and the vertical axis coordinate data of the measuring points corresponding to each measuring arm into three-dimensional coordinate data of the measuring points.
In one possible implementation, the rendering a three-dimensional deformation image of the casing based on three-dimensional coordinate data of the plurality of measurement points includes:
for each measuring point, determining the connection direction of the plurality of measuring points based on the three-dimensional coordinate data corresponding to the target measuring arm;
and drawing a three-dimensional deformation image of the sleeve based on the three-dimensional coordinate data and the connecting direction.
In another aspect, there is provided a deformation image determination apparatus of a casing, the apparatus including:
the system comprises an acquisition module, a data acquisition module and a data processing module, wherein the acquisition module is used for acquiring first running-in depth and inner diameter information of a plurality of measurement points of a casing, the first running-in depth of any measurement point is the distance between the top of the casing and the measurement point, and the first running-in depth and inner diameter information of each measurement point are obtained by measuring with a multi-arm caliper;
a first determination module to determine an angle of rotation of the multi-arm caliper during measurement of the plurality of measurement points based on a first depth of penetration of the plurality of measurement points;
the second determination module is used for determining three-dimensional coordinate data of the plurality of measurement points based on the first penetration depth and the inner diameter information of the plurality of measurement points in response to the fact that the rotation angle is smaller than a preset angle;
and the drawing module is used for drawing the three-dimensional deformation image of the sleeve based on the three-dimensional coordinate data of the plurality of measuring points.
In one possible implementation manner, the first determining module includes:
a selection unit configured to select a first target measurement point and a second target measurement point from the plurality of measurement points;
the acquisition unit is used for acquiring a second penetration depth of the first target measurement point and a second penetration depth of the second target measurement point, wherein the second penetration depth of any target measurement point is a theoretical penetration depth of the target measurement point;
a first determination unit for determining a rotation angle of the multi-arm caliper during measurement of the plurality of measurement points, based on the first and second run-in depths of the first and second target measurement points, and the first and second run-in depths of the second target measurement point.
In a possible implementation manner, the first determining unit is configured to determine the rotation angle of the multi-arm caliper during the measurement of the plurality of measurement points according to the first and second penetration depths of the first target measurement point and the first and second penetration depths of the second target measurement point by using a formula one:
wherein, the first formula is:
Figure BDA0002928560110000041
wherein θ is the rotation angle, h m A first run-in depth for the first target measurement point; h is n A first run-in depth of the second target measurement point; h m A second run-in depth for the first target measurement point; h n A second run-in depth for the second target measurement point; arccos is an inverse cosine function.
In one possible implementation, the multi-arm caliper includes a plurality of measurement arms; the second determining module includes:
a second determining unit, configured to select a target measurement arm from the multiple measurement arms, and determine an included angle between each of the other measurement arms except the target measurement arm and the target measurement arm by using a formula two;
wherein, the formula two is:
Figure BDA0002928560110000051
wherein alpha is j As the jth testThe included angle between the measuring arm and the target measuring arm is measured, and n is the number of the measuring arms of the multi-arm caliper;
and the third determining unit is used for determining the three-dimensional coordinate data of the plurality of measuring points based on the included angle between each other measuring arm and the target measuring arm and the first penetration depth and inner diameter information of the plurality of measuring points.
In a possible implementation manner, the inner diameter information includes a radius measured by each measuring arm, and the third determining unit is configured to establish a coordinate system with a center of a top of the casing as an origin, where a vertical axis of the coordinate system is parallel to the casing, a horizontal axis of the coordinate system is perpendicular to the vertical axis, and a longitudinal axis of the coordinate system is perpendicular to the horizontal axis and the vertical axis, respectively;
for each measuring point, taking the first penetration depth of the measuring point as the vertical axis coordinate data of the measuring point;
respectively determining the coordinate data of the horizontal axis and the coordinate data of the vertical axis of each measuring arm corresponding to the measuring points by adopting a formula III and a formula IV based on the included angle between each other measuring arm and the target measuring arm and the radius measured by each measuring arm;
wherein, the formula three is:
X j =r ij ×cosα j
the fourth formula is:
Y j =r ij ×sinα j
wherein, X j For the transverse axis coordinate data, Y, corresponding to the jth measuring arm j Is the coordinate data of the longitudinal axis corresponding to the jth measuring arm, i is the coordinate data of the vertical axis of the measuring point, r ij The radius measured for the jth measuring arm; cos is a cosine function and sin is a sine function;
and combining the coordinate data of the horizontal axis, the coordinate data of the vertical axis and the coordinate data of the vertical axis of the measuring point corresponding to each measuring arm into the three-dimensional coordinate data of the measuring point.
In a possible implementation manner, the drawing module is configured to determine, for each measurement point, a connection direction of the plurality of measurement points based on three-dimensional coordinate data corresponding to the target measurement arm; and drawing a three-dimensional deformation image of the casing pipe based on the three-dimensional coordinate data and the connection direction.
In another aspect, a terminal is provided, which includes a processor and a memory, where at least one program code is stored in the memory, and the at least one program code is loaded into and executed by the processor to implement the operations performed by the above-mentioned deformed image determination method for casing.
In another aspect, a computer-readable storage medium is provided, in which at least one program code is stored, and the at least one program code is loaded and executed by a processor of a terminal to implement the operations performed by the above-mentioned deformed image determination method of a casing.
In another aspect, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer program code, the computer program code being stored in a computer readable storage medium. The processor of the terminal reads the computer program code from the computer-readable storage medium, and executes the computer program code, so that the terminal performs the operations performed by the deformed image determining method of a casing described above.
In the embodiment of the application, the three-dimensional coordinate data of the plurality of measuring points can be determined based on the first penetration depth and the inner diameter information of the plurality of measuring points of the sleeve, and then the three-dimensional coordinate data can embody the deformation information of the sleeve, so that the whole deformation of the sleeve can be embodied in the three-dimensional deformation image of the sleeve drawn based on the three-dimensional coordinate data, a technician can intuitively determine the deformation condition of the sleeve from the three-dimensional deformation image, and the accuracy of the deformation image of the sleeve is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a deformation image determination method for a casing according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a deformation image determination method for a casing according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a deformed image of a casing provided by an embodiment of the present application;
fig. 4 is a block diagram illustrating a structure of an apparatus for determining a deformation image of a casing according to an embodiment of the present disclosure;
fig. 5 is a block diagram of a terminal according to an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Fig. 1 is a flowchart of a deformation image determination method for a casing according to an embodiment of the present application. Referring to fig. 1, the method comprises the steps of:
step 101: the terminal obtains first running-in depth and inner diameter information of a plurality of measuring points of the casing, the first running-in depth of any measuring point is the distance between the top of the casing and the measuring point, and the first running-in depth and inner diameter information of each measuring point are obtained by measuring through a multi-arm caliper.
During a casing measurement using a multi-arm caliper, the multi-arm caliper is entered from the top of the casing, so that for each measurement point, the first run-in depth is the distance between the casing and the measurement point, for example, the distance is 182.312 meters.
The multi-arm caliper comprises a motor, a measuring arm, a centering arm, a spring, a measuring rod and a displacement sensor. When the multi-arm caliper is used for measuring the casing, the motor drives the measuring arm and the centering arm to open and close. The measuring arm is supported by the spring and moves along the inner wall of the sleeve, and when the inner wall of the sleeve is deformed, the measuring arm stretches and contracts along with the deformation of the inner wall of the sleeve, so that the measuring rod is driven to axially move. Each measuring arm corresponds to one non-contact displacement sensor, and the displacement change of each measuring arm is directly reflected to the corresponding displacement sensor.
In the measuring process, a displacement sensor of the multi-arm caliper transmits displacement information of a measuring arm to a terminal; the terminal receives the displacement information and determines the inner diameter information of the casing pipe based on the displacement information. The multi-arm caliper includes a plurality of measurement arms and, correspondingly, the inner diameter information includes the radius measured by each measurement arm.
Multi-arm caliper instruments reflect casing longitudinal and lateral deformation by measuring changes in the internal diameter of the casing. The longitudinal deformation mainly includes sleeve bending and shaft deviation; the transverse deformation is complex, and comprises ellipse deformation, diameter reduction, diameter expansion, extrusion, concave-convex deformation, irregular deformation and the like.
In this step, the data from the multi-arm caliper measurement further includes a first run-in depth for the plurality of measurement points of the casing.
Step 102: the terminal selects a first target measurement point and a second target measurement point from the plurality of measurement points.
In one possible implementation manner, the implementation manner of this step may be: the terminal directly selects a first target measuring point and a second target measuring point from a plurality of measuring points corresponding to the casing.
The terminal can select a first target measuring point and a second target measuring point based on a first penetration depth corresponding to the plurality of measuring points; correspondingly, the terminal selects a first target measuring point with the first drop depth matched with the preset drop depth from the plurality of measuring points, and selects a second target measuring point with the distance between the first drop depth and the first drop depth of the first target measuring point matched with the first distance threshold on the basis of the first distance threshold.
In this step, the preset setting depth and the first distance threshold may be set and changed as needed, which is not specifically limited in this embodiment of the present application; for example, the preset penetration depth is 150 meters, and the first distance threshold is 3 meters and 5 meters.
In another possible implementation manner, since the casing includes a plurality of casing segments, and two adjacent casing segments are connected together, this step may be implemented as follows: the terminal selects a target casing segment from the plurality of casing segments, and selects a first target measuring point and a second target measuring point from a plurality of measuring points corresponding to the target casing segment.
Correspondingly, in this step, the terminal stores the identifier of each casing segment in advance, and in response to the input of the identifier of the casing segment by the technician, the terminal determines that the casing segment corresponding to the identifier of the casing segment is the target casing segment.
For a target casing segment, if the length of the target casing segment is short, the terminal can select two measurement points located at two ends of the casing segment in the target casing segment, and the two measurement points are respectively used as a first target measurement point and a second target measurement point; if the target casing segment is long, the terminal may select the first target measurement point and the second target measurement point from the target casing segment based on the first run-in depth corresponding to the plurality of measurement points. This step is similar to the implementation manner in which the terminal directly selects the first target measurement point and the second target measurement point from the plurality of measurement points corresponding to the casing, and is not described herein again.
Step 103: and the terminal acquires a second penetration depth of the first target measuring point and a second penetration depth of the second target measuring point, wherein the second penetration depth of any target measuring point is a theoretical penetration depth of the target measuring point.
The theoretical penetration depth is the penetration depth corresponding to the target measuring point during initial installation of the casing, namely the penetration depth when the casing is not deformed.
Step 104: and the terminal determines the rotation angle of the multi-arm caliper in the process of measuring the plurality of measuring points according to the first and second running-in depths of the first target measuring point and the first and second running-in depths of the second target measuring point.
The implementation manner of the step may be: the terminal determines the rotation angle of the multi-arm caliper in the process of measuring the plurality of measuring points by adopting a first formula according to the first and second penetration depths of the first target measuring point and the first and second penetration depths of the second target measuring point;
wherein, the first formula is:
Figure BDA0002928560110000091
wherein θ is the rotation angle h m A first run-in depth of the first target measurement point; h is n A first run-in depth of the second target measurement point; h m A second run-in depth for the first target measurement point; h n A second run-in depth for the second target measurement point; arccos is an inverse cosine function.
For example, for a target casing segment, the difference (H) between the second run-in depth of the first target measurement point and the second run-in depth of the second target measurement point m -H n ) 374.56m, and the difference (h) between the first run-in depth of the first target measurement point and the first run-in depth of the second target measurement point measured by a multi-arm caliper m -h n ) 377.46m, θ is 7.1 °.
It should be noted that, if the rotation angle is smaller than the preset angle, which indicates that the error caused by the rotation operation of the multi-arm caliper during the measurement process to the measured inner diameter information is small, the terminal performs the operation of steps 105 and 107. For example, if the predetermined angle is 36 °, i.e., the error caused by the rotation operation of the multi-arm caliper is less than 10%, and θ is 7.1 °, θ is less than the predetermined angle, the terminal performs the subsequent operation according to the fact that the multi-arm caliper is not rotated, i.e., the terminal continues to perform the operation of step 105 and step 107.
In the embodiment of the application, since the multi-arm caliper may make the measuring arm fit to the inner wall of the casing through a rotating operation during the measuring process, the maximum rotation angle possible for the multi-arm caliper can be calculated based on the original run-in depth of the casing section and the run-in depth measured by the multi-arm caliper, so that a basis is provided for subsequently determining whether a three-dimensional deformation image of the casing can be drawn according to the method.
Step 105: and the terminal responds to the fact that the rotating angle is smaller than the preset angle, selects a target measuring arm from the plurality of measuring arms, and determines the included angle between each other measuring arm except the target measuring arm and the target measuring arm by adopting a formula II.
Wherein, the formula two is:
Figure BDA0002928560110000092
wherein alpha is j The included angle between the jth measuring arm and the target measuring arm is shown, and n is the number of the measuring arms of the multi-arm caliper.
For example, if n is 40 and j is 15, then α j Is 126 deg..
The terminal stores the identification of each measuring arm of the multi-arm caliper in advance; correspondingly, the implementation manner of selecting the target measurement arm from the plurality of measurement arms by the terminal may be as follows: for each measuring point, the terminal selects a measuring arm corresponding to the target identification from the plurality of measuring arms as a target measuring arm.
Wherein, the target mark can be preset by the terminal; the target measuring arm of each measuring point may be the same or different, and this is not specifically limited in this application. For example, the target identification may be 1, 10, 20.
Step 106: and the terminal determines the three-dimensional coordinate data of the plurality of measuring points based on the included angle between each other measuring arm and the target measuring arm and the first penetration depth and inner diameter information of the plurality of measuring points.
Referring to fig. 2, the terminal selects the radii measured by the multiple measuring arms of the multi-arm caliper for analysis, and the radius is taken as the vertical axis, the first penetration depth is taken as the horizontal axis, and an image of the radius changing along with the first penetration depth is drawn. Wherein, the radius has a sudden change at every distance, and the position of the sudden change is the position of the gap at the joint of two adjacent casing sections.
Wherein, the realization mode of the step comprises the following steps (1) to (4):
(1) the terminal takes the center of the top of the sleeve as an origin to establish a coordinate system, the vertical axis of the coordinate system is parallel to the sleeve, the horizontal axis of the coordinate system is perpendicular to the vertical axis, and the longitudinal axis of the coordinate system is perpendicular to the horizontal axis and the vertical axis respectively.
Wherein, because the multi-arm caliper enters from the top of the casing during the measurement of the casing using the multi-arm caliper, the terminal establishes a coordinate system with the center of the top of the casing as the origin, the coordinate system being a three-dimensional coordinate system. For example, the vertical axis is the z-axis, the horizontal axis is the x-axis, and the vertical axis is the y-axis.
(2) And the terminal takes the first penetration depth of each measuring point as the vertical axis coordinate data of the measuring point.
For example, the first penetration depth is 182312.50mm, the vertical axis coordinate data of the measurement point is Z, and Z is 182312.50 mm.
(3) And the terminal respectively determines the coordinate data of the horizontal axis and the coordinate data of the vertical axis of each measuring arm corresponding to the measuring point by adopting a formula III and a formula IV based on the included angle between each other measuring arm and the target measuring arm and the radius measured by each measuring arm.
Wherein, the formula three is:
X j =r ij ×cosα j
the fourth formula is:
Y j =r ij ×sinα j
wherein, X j For the transverse axis coordinate data, Y, corresponding to the jth measuring arm j Is the coordinate data of the longitudinal axis corresponding to the jth measuring arm, i is the coordinate data of the vertical axis of the measuring point, r ij The radius measured for the jth measuring arm; cos is a cosine function and sin is a sine function.
(4) And the terminal combines the horizontal axis coordinate data, the vertical axis coordinate data and the vertical axis coordinate data of the measuring point corresponding to each measuring arm into the three-dimensional coordinate data of the measuring point.
For example, a multi-arm caliper has 40 measurement arms, and for this first run-in depth of 182312.50mm, i.e. for a measurement point with vertical axis coordinate data Z of 182312.50mm, the horizontal axis coordinate data X and the vertical axis coordinate data Y for the 1 st, 10 th, 20 th, 30 th and 40 th measurement arms of the multi-arm caliper can be seen in table 1.
TABLE 1
r182312.5,j X Y Z
1 57.91 0.00 182312.50
10 8.18 51.64 182312.50
20 -59.73 9.46 182312.50
30 -9.21 -58.12 182312.50
40 57.13 -9.05 182312.50
In the embodiment of the application, the first penetration depth and the radius obtained based on the measurement of the multi-arm caliper are converted into three-dimensional coordinate data which can be identified by three-dimensional drawing software, so that the three-dimensional drawing software can draw a three-dimensional deformation image of the casing, the traditional image of the circumferential section is converted into a form of a three-dimensional image which is easy to observe, and the subsequent research on the casing damage problem is facilitated.
Step 107: and the terminal draws a three-dimensional deformation image of the sleeve based on the three-dimensional coordinate data of the plurality of measuring points.
The terminal draws a three-dimensional deformation image of the sleeve through three-dimensional drawing software; correspondingly, three-dimensional drawing software is pre-installed in the terminal. Since the three-dimensional drawing software determines a circle by the horizontal axis data and the vertical axis data during the process of drawing the image, the three-dimensional drawing software needs to determine the relative position of each circle, i.e., the connection direction. Correspondingly, the steps can be as follows: the terminal determines the connection direction of the plurality of measuring points for each measuring point based on the three-dimensional coordinate data corresponding to the target measuring arm; and drawing a three-dimensional deformation image of the casing pipe based on the three-dimensional coordinate data and the connection direction.
For example, for the 1 st measuring arm, see table 2 for the three-dimensional coordinate data of the measuring points at the first penetration depths of 182312.5m and 185306.2 m.
TABLE 2
ri,1 X Y Z
r182312.5,1 57.91 0.00 182312.50
r185306.2,1 57.28 0.00 185306.20
Referring to fig. 3, for a casing with a length of 3m, the terminal selects a measuring point every 0.3m, determines three-dimensional coordinate data of all measuring arms at the measuring point to obtain three-dimensional coordinate data of the casing, and inputs the data into three-dimensional drawing software to obtain a three-dimensional deformation image of the casing.
In the embodiment of the application, a space curve capable of connecting all the measurement points is obtained by connecting the data of the horizontal axis and the data of the vertical axis corresponding to the measurement arms with the same number of each measurement point in series, so that the three-dimensional drawing software can determine the connection directions of a plurality of measurement points based on the curve, and conditions are provided for drawing the three-dimensional deformation image.
Fig. 4 is a block diagram of an apparatus for determining a deformation image of a casing according to an embodiment of the present application. Referring to fig. 4, the apparatus includes: an acquisition module 401, a first determination module 402, a second determination module 403, and a drawing module 404;
the acquiring module 401 is configured to acquire first run-in depth and inner diameter information of multiple measurement points of a casing, where the first run-in depth of any measurement point is a distance between the top of the casing and the measurement point, and the first run-in depth and inner diameter information of each measurement point are obtained by measurement of a multi-arm caliper;
a first determination module 402 for determining an angle of rotation of the multi-arm caliper during measurement of the plurality of measurement points based on a first depth of penetration of the plurality of measurement points;
a second determining module 403, configured to determine three-dimensional coordinate data of the plurality of measurement points based on the first run-in depth and the inner diameter information of the plurality of measurement points in response to that the rotation angle is smaller than a preset angle;
a drawing module 404, configured to draw a three-dimensional deformation image of the casing based on the three-dimensional coordinate data of the plurality of measurement points.
In a possible implementation manner, the first determining module 402 includes:
a selection unit configured to select a first target measurement point and a second target measurement point from the plurality of measurement points;
the acquisition unit is used for acquiring a second penetration depth of the first target measurement point and a second penetration depth of the second target measurement point, wherein the second penetration depth of any target measurement point is a theoretical penetration depth of the target measurement point;
a first determination unit for determining a rotation angle of the multi-arm caliper during measurement of the plurality of measurement points, based on the first and second run-in depths of the first and second target measurement points, and the first and second run-in depths of the second target measurement point.
In a possible implementation manner, the first determining unit is configured to determine, according to the first and second penetration depths of the first target measurement point and the first and second penetration depths of the second target measurement point, a rotation angle of the multi-arm caliper during measurement of the plurality of measurement points by using a formula one;
wherein, the first formula is:
Figure BDA0002928560110000131
wherein θ is the rotation angle, h m A first run-in depth for the first target measurement point; h is n A first run-in depth of the second target measurement point; h m A second run-in depth for the first target measurement point; h n A second run-in depth for the second target measurement point; arccos is an inverse cosine function.
In one possible implementation, the multi-arm caliper includes a plurality of measurement arms; the second determining module 403 includes:
a second determining unit, configured to select a target measurement arm from the multiple measurement arms, and determine an included angle between each of the other measurement arms except the target measurement arm and the target measurement arm by using a formula two;
wherein, the formula two is:
Figure BDA0002928560110000132
wherein alpha is j The included angle between the jth measuring arm and the target measuring arm is defined, and n is the number of the measuring arms of the multi-arm caliper;
and the third determining unit is used for determining the three-dimensional coordinate data of the plurality of measuring points based on the included angle between each other measuring arm and the target measuring arm and the first penetration depth and inner diameter information of the plurality of measuring points.
In a possible implementation manner, the inner diameter information includes a radius measured by each measuring arm, and the third determining unit is configured to establish a coordinate system with a center of a top of the casing as an origin, where a vertical axis of the coordinate system is parallel to the casing, a horizontal axis of the coordinate system is perpendicular to the vertical axis, and a longitudinal axis of the coordinate system is perpendicular to the horizontal axis and the vertical axis, respectively;
for each measuring point, taking the first penetration depth of the measuring point as the vertical axis coordinate data of the measuring point;
respectively determining the coordinate data of the horizontal axis and the coordinate data of the vertical axis of each measuring arm corresponding to the measuring points by adopting a formula III and a formula IV based on the included angle between each other measuring arm and the target measuring arm and the radius measured by each measuring arm;
wherein, the formula three is:
X j =r ij ×cosα j
the fourth formula is:
Y j =r ij ×sinα j
wherein, X j For the transverse axis coordinate data, Y, corresponding to the jth measuring arm j Is the coordinate data of the longitudinal axis corresponding to the jth measuring arm, i is the coordinate data of the vertical axis of the measuring point, r ij The radius measured for the jth measuring arm; cos is a cosine function and sin is a sine function;
and combining the coordinate data of the horizontal axis, the coordinate data of the vertical axis and the coordinate data of the vertical axis of the measuring point corresponding to each measuring arm into the three-dimensional coordinate data of the measuring point.
In a possible implementation manner, the drawing module 404 is configured to determine, for each measurement point, a connection direction of the plurality of measurement points based on three-dimensional coordinate data corresponding to the target measurement arm; and drawing a three-dimensional deformation image of the casing pipe based on the three-dimensional coordinate data and the connection direction.
In the embodiment of the application, the three-dimensional coordinate data of the plurality of measuring points can be determined based on the first penetration depth and the inner diameter information of the plurality of measuring points of the sleeve, and then the three-dimensional coordinate data can embody the deformation information of the sleeve, so that the three-dimensional deformation image of the sleeve drawn based on the three-dimensional coordinate data can embody the whole deformation of the sleeve, a technician can intuitively determine the deformation condition of the sleeve from the three-dimensional deformation image, and the accuracy of the deformation image of the sleeve is further improved.
It should be noted that: in the above-described embodiment, when determining the deformation image of the casing, the deformation image determining apparatus for a casing provided in the above-described embodiment is merely illustrated by dividing the functional modules, and in practical applications, the above-described function distribution may be completed by different functional modules according to needs, that is, the internal structure of the terminal is divided into different functional modules, so as to complete all or part of the above-described functions. In addition, the deformation image determining apparatus for a casing and the deformation image determining method for a casing provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiments and are not described herein again.
Fig. 5 is a block diagram of a terminal 50 according to an embodiment of the present disclosure. The terminal 50 may be a portable mobile terminal such as: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. The terminal 50 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
Generally, the terminal 50 includes: a processor 501 and a memory 502.
The processor 501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 501 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 501 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In this embodiment, the processor 501 may be integrated with a GPU (Graphics Processing Unit), and the GPU is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, processor 501 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
Memory 502 may include one or more computer-readable storage media, which may be non-transitory. Memory 502 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In an embodiment of the present application, the non-transitory computer-readable storage medium in the memory 502 is configured to store at least one instruction for execution by the processor 501 to implement the method for determining a deformed image of a casing provided by the method embodiment of the present application.
In the embodiment of the present application, the terminal 50 may further include: a peripheral interface 503 and at least one peripheral. The processor 501, memory 502 and peripheral interface 503 may be connected by a bus or signal lines. Each peripheral may be connected to the peripheral interface 503 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 504, display screen 505, camera assembly 506, audio circuitry 507, positioning assembly 508, and power supply 509.
The peripheral interface 503 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 501 and the memory 502. In the present embodiment, the processor 501, the memory 502, and the peripheral interface 503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 501, the memory 502, and the peripheral interface 503 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 504 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 504 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 504 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 504 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In the embodiment of the present application, the radio frequency circuit 504 may further include a circuit related to NFC (Near Field Communication), which is not limited in the present application.
The display screen 505 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 505 is a touch display screen, the display screen 505 also has the ability to capture touch signals on or over the surface of the display screen 505. The touch signal may be input to the processor 501 as a control signal for processing. At this point, the display screen 505 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In the embodiment of the present application, the display screen 505 may be one, and is disposed on the front panel of the terminal 50; in other embodiments, the display 505 may be at least two, respectively disposed on different surfaces of the terminal 50 or in a folded design; in other embodiments, the display 505 may be a flexible display disposed on a curved surface or a folded surface of the terminal 50. Even more, the display screen 505 can be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 505 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 506 is used to capture images or video. Optionally, camera assembly 506 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In this embodiment of the application, the number of the rear cameras is at least two, and the rear cameras are respectively any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and a VR (Virtual Reality) shooting function or other fusion shooting functions. In the present embodiment, camera head assembly 506 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuitry 507 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 501 for processing, or inputting the electric signals to the radio frequency circuit 504 to realize voice communication. For stereo sound acquisition or noise reduction purposes, the microphones may be provided in plural numbers, respectively, at different portions of the terminal 50. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 501 or the radio frequency circuit 504 into sound waves. The loudspeaker can be a traditional film loudspeaker and can also be a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In the present embodiment, the audio circuit 507 may further include a headphone jack.
The positioning component 508 is used to locate the current geographic Location of the terminal 50 for navigation or LBS (Location Based Service). The Positioning component 508 may be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in russia.
Power supply 509 is used to power the various components in terminal 50. The power source 509 may be alternating current, direct current, disposable or rechargeable. When power supply 509 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In the embodiment of the present application, the terminal 50 further includes one or more sensors 510. The one or more sensors 510 include, but are not limited to: acceleration sensor 511, gyro sensor 512, pressure sensor 513, fingerprint sensor 514, optical sensor 515, and proximity sensor 516.
The acceleration sensor 511 can detect the magnitude of acceleration on three coordinate axes of the coordinate system established with the terminal 50. For example, the acceleration sensor 511 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 501 may control the display screen 505 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 511. The acceleration sensor 511 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 512 may detect a body direction and a rotation angle of the terminal 50, and the gyro sensor 512 may cooperate with the acceleration sensor 511 to acquire a 3D motion of the user on the terminal 50. The processor 501 may implement the following functions according to the data collected by the gyro sensor 512: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensor 513 may be disposed on a side frame of the terminal 50 and/or underneath the display screen 505. When the pressure sensor 513 is disposed on the side frame of the terminal 50, the holding signal of the user to the terminal 50 can be detected, and the processor 501 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 513. When the pressure sensor 513 is disposed at the lower layer of the display screen 505, the processor 501 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 505. The operability control comprises at least one of a button control, a scroll bar control, an icon control, and a menu control.
The fingerprint sensor 514 is used for collecting a fingerprint of the user, and the processor 501 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 514, or the fingerprint sensor 514 identifies the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 501 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 514 may be disposed on the front, back, or side of the terminal 50. When a physical button or vendor Logo is provided on the terminal 50, the fingerprint sensor 514 may be integrated with the physical button or vendor Logo.
The optical sensor 515 is used to collect the ambient light intensity. In one embodiment, the processor 501 may control the display brightness of the display screen 505 based on the ambient light intensity collected by the optical sensor 515. Specifically, when the ambient light intensity is high, the display brightness of the display screen 505 is increased; when the ambient light intensity is low, the display brightness of the display screen 505 is reduced. In another embodiment, processor 501 may also dynamically adjust the shooting parameters of camera head assembly 506 based on the ambient light intensity collected by optical sensor 515.
A proximity sensor 516, also known as a distance sensor, is typically disposed on the front panel of the terminal 50. The proximity sensor 516 is used to collect the distance between the user and the front of the terminal 50. In one embodiment, when the proximity sensor 516 detects that the distance between the user and the front surface of the terminal 50 gradually decreases, the processor 501 controls the display screen 505 to switch from the bright screen state to the dark screen state; when the proximity sensor 516 detects that the distance between the user and the front surface of the terminal 50 gradually becomes larger, the processor 501 controls the display screen 505 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 5 is not intended to be limiting with respect to terminal 50 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In an embodiment of the present application, there is provided a computer-readable storage medium having at least one program code stored therein, the at least one program code being loaded and executed by a processor of a terminal to implement the operations performed by the deformed image determining method for casing described above.
In an embodiment of the application, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer program code, the computer program code being stored in a computer readable storage medium. The processor of the terminal reads the computer program code from the computer-readable storage medium, and executes the computer program code, so that the terminal performs the operations performed by the deformed image determining method of a casing described above.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A method for determining a deformation image of a casing, the method comprising:
acquiring first running-in depth and inner diameter information of a plurality of measuring points of the casing, wherein the first running-in depth of any measuring point is the distance between the top of the casing and the measuring point, and the first running-in depth and inner diameter information of each measuring point are obtained by measuring with a multi-arm caliper;
determining a rotation angle of the multi-arm caliper during the measuring of the plurality of measurement points based on a first run-in depth of the plurality of measurement points;
determining three-dimensional coordinate data of the plurality of measuring points based on first run-in depth and inner diameter information of the plurality of measuring points in response to the rotation angle being smaller than a preset angle;
and drawing a three-dimensional deformation image of the casing pipe based on the three-dimensional coordinate data of the plurality of measuring points.
2. The method of claim 1, wherein the determining the angle of rotation of the multi-arm caliper during the measuring of the plurality of measurement points based on the first depth of penetration of the plurality of measurement points comprises:
selecting a first target measurement point and a second target measurement point from the plurality of measurement points;
acquiring a second penetration depth of the first target measuring point and a second penetration depth of the second target measuring point, wherein the second penetration depth of any target measuring point is a theoretical penetration depth of the target measuring point;
determining a rotation angle of the multi-arm caliper during the measurement of the plurality of measurement points based on the first and second run-in depths of the first target measurement point and the first and second run-in depths of the second target measurement point.
3. The method of claim 2, wherein said determining the angle of rotation of the multi-arm caliper during the measurement of the plurality of measurement points from the first and second depths of penetration of the first target measurement point and the first and second depths of penetration of the second target measurement point comprises:
determining the rotation angle of the multi-arm caliper in the process of measuring the plurality of measuring points by adopting a formula I according to the first and second penetration depths of the first target measuring point and the first and second penetration depths of the second target measuring point;
wherein, the first formula is:
Figure FDA0002928560100000021
wherein θ is the rotation angle, h m A first run-in depth for the first target measurement point; h is n A first run-in depth of the second target measurement point; h m A second run-in depth for the first target measurement point; h n A second run-in depth for the second target measurement point; arccos is an inverse cosine function.
4. The method of claim 1, wherein the multi-arm caliper comprises a plurality of measurement arms;
determining three-dimensional coordinate data of the plurality of measurement points based on the first run-in depth and the inner diameter information of the plurality of measurement points, including:
selecting a target measuring arm from the plurality of measuring arms, and determining an included angle between each other measuring arm except the target measuring arm and the target measuring arm by adopting a formula II;
wherein, the formula two is:
Figure FDA0002928560100000022
wherein alpha is j The included angle between the jth measuring arm and the target measuring arm is defined, and n is the number of the measuring arms of the multi-arm caliper;
and determining three-dimensional coordinate data of the plurality of measuring points based on the included angle between each other measuring arm and the target measuring arm and the first penetration depth and inner diameter information of the plurality of measuring points.
5. The method of claim 4, wherein the inner diameter information comprises a radius measured by each measurement arm, and wherein determining three-dimensional coordinate data for the plurality of measurement points based on an angle between each of the other measurement arms and the target measurement arm, a first run-in depth of the plurality of measurement points, and inner diameter information comprises:
establishing a coordinate system by taking the center of the top of the sleeve as an origin, wherein a vertical axis of the coordinate system is parallel to the sleeve, a horizontal axis of the coordinate system is vertical to the vertical axis, and a longitudinal axis of the coordinate system is respectively vertical to the horizontal axis and the vertical axis;
for each measuring point, taking the first penetration depth of the measuring point as the vertical axis coordinate data of the measuring point;
respectively determining the coordinate data of the horizontal axis and the coordinate data of the vertical axis of each measuring arm corresponding to the measuring points by adopting a formula III and a formula IV based on the included angle between each other measuring arm and the target measuring arm and the radius measured by each measuring arm;
wherein, the formula three is:
X j =r ij ×cosα j
the fourth formula is:
Y j =r ij ×sinα j
wherein, X j For the transverse axis coordinate data, Y, corresponding to the jth measuring arm j Is the coordinate data of the longitudinal axis corresponding to the jth measuring arm, i is the coordinate data of the vertical axis of the measuring point, r ij The radius measured for the jth measuring arm; cos is a cosine function and sin is a sine function;
and combining the coordinate data of the horizontal axis, the coordinate data of the vertical axis and the coordinate data of the vertical axis of the measuring point corresponding to each measuring arm into the three-dimensional coordinate data of the measuring point.
6. The method of claim 5, wherein said rendering a three-dimensional deformation image of said casing based on three-dimensional coordinate data of said plurality of measurement points comprises:
for each measuring point, determining the connection direction of the plurality of measuring points based on the three-dimensional coordinate data corresponding to the target measuring arm;
and drawing a three-dimensional deformation image of the casing pipe based on the three-dimensional coordinate data and the connection direction.
7. An apparatus for determining a deformed image of a casing, the apparatus comprising:
the system comprises an acquisition module, a data acquisition module and a data processing module, wherein the acquisition module is used for acquiring first running-in depth and inner diameter information of a plurality of measurement points of a casing, the first running-in depth of any measurement point is the distance between the top of the casing and the measurement point, and the first running-in depth and inner diameter information of each measurement point are obtained by measuring with a multi-arm caliper;
a first determination module to determine an angle of rotation of the multi-arm caliper during measurement of the plurality of measurement points based on a first depth of penetration of the plurality of measurement points;
the second determination module is used for determining three-dimensional coordinate data of the plurality of measurement points based on the first penetration depth and the inner diameter information of the plurality of measurement points in response to the fact that the rotation angle is smaller than a preset angle;
and the drawing module is used for drawing the three-dimensional deformation image of the sleeve based on the three-dimensional coordinate data of the plurality of measuring points.
8. The apparatus of claim 7, wherein the first determining module comprises:
a selection unit configured to select a first target measurement point and a second target measurement point from the plurality of measurement points;
the acquisition unit is used for acquiring a second penetration depth of the first target measurement point and a second penetration depth of the second target measurement point, wherein the second penetration depth of any target measurement point is a theoretical penetration depth of the target measurement point;
a first determination unit for determining a rotation angle of the multi-arm caliper during measurement of the plurality of measurement points, based on the first and second run-in depths of the first and second target measurement points, and the first and second run-in depths of the second target measurement point.
9. A terminal, characterized in that the terminal comprises a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement the deformation image determination method of a casing according to any one of claims 1 to 6.
10. A computer-readable storage medium, wherein at least one program code is stored therein, the at least one program code being loaded and executed by a processor of a terminal to implement the deformation image determination method of a casing according to any one of claims 1 to 6.
CN202110140944.9A 2021-02-02 2021-02-02 Method, device, terminal and storage medium for determining deformation image of sleeve Active CN114838672B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110140944.9A CN114838672B (en) 2021-02-02 2021-02-02 Method, device, terminal and storage medium for determining deformation image of sleeve

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110140944.9A CN114838672B (en) 2021-02-02 2021-02-02 Method, device, terminal and storage medium for determining deformation image of sleeve

Publications (2)

Publication Number Publication Date
CN114838672A true CN114838672A (en) 2022-08-02
CN114838672B CN114838672B (en) 2024-03-01

Family

ID=82560986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110140944.9A Active CN114838672B (en) 2021-02-02 2021-02-02 Method, device, terminal and storage medium for determining deformation image of sleeve

Country Status (1)

Country Link
CN (1) CN114838672B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4334271A (en) * 1980-02-25 1982-06-08 Schlumberger Technology Corporation Well logging method and system
CN102536201A (en) * 2011-12-20 2012-07-04 西安思坦仪器股份有限公司 Multi-arm imaging data correcting method
CN105550448A (en) * 2015-12-15 2016-05-04 中国石油天然气股份有限公司 Drilling trajectory design parameter based pre-drilling three-dimensional hole modeling method and apparatus
CN105735977A (en) * 2014-12-12 2016-07-06 中石化胜利石油工程有限公司钻井工艺研究院 While-drilling well logging curve real-time comparison method
CN110069796A (en) * 2018-01-23 2019-07-30 中石化石油工程技术服务有限公司 A kind of three-dimensional horizontal well wellbore rail design method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4334271A (en) * 1980-02-25 1982-06-08 Schlumberger Technology Corporation Well logging method and system
CN102536201A (en) * 2011-12-20 2012-07-04 西安思坦仪器股份有限公司 Multi-arm imaging data correcting method
CN105735977A (en) * 2014-12-12 2016-07-06 中石化胜利石油工程有限公司钻井工艺研究院 While-drilling well logging curve real-time comparison method
CN105550448A (en) * 2015-12-15 2016-05-04 中国石油天然气股份有限公司 Drilling trajectory design parameter based pre-drilling three-dimensional hole modeling method and apparatus
CN110069796A (en) * 2018-01-23 2019-07-30 中石化石油工程技术服务有限公司 A kind of three-dimensional horizontal well wellbore rail design method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王型明: "基于面绘制的油水井套管三维可视化的应用研究", 《中国优秀硕士学位论文全文数据库 信息科辑》, no. 12, pages 138 - 340 *
虞桐 等: "多臂井径测井准确性影响因素分析", 《石油管材与仪器》, vol. 1, no. 4, pages 77 - 80 *

Also Published As

Publication number Publication date
CN114838672B (en) 2024-03-01

Similar Documents

Publication Publication Date Title
CN109862412B (en) Method and device for video co-shooting and storage medium
CN111768454B (en) Pose determination method, pose determination device, pose determination equipment and storage medium
CN109166150B (en) Pose acquisition method and device storage medium
CN109886208B (en) Object detection method and device, computer equipment and storage medium
CN110784370B (en) Method and device for testing equipment, electronic equipment and medium
CN110211202B (en) Fold line drawing method and device, electronic equipment and storage medium
CN114092655A (en) Map construction method, device, equipment and storage medium
CN110349527B (en) Virtual reality display method, device and system and storage medium
CN112396076A (en) License plate image generation method and device and computer storage medium
CN107943484B (en) Method and device for executing business function
CN111928861B (en) Map construction method and device
CN111797017A (en) Method and device for storing log, test equipment and storage medium
CN109281664B (en) Method and device for predicting oil production of horizontal well
CN111580892A (en) Method, device, terminal and storage medium for calling service component
CN114838672B (en) Method, device, terminal and storage medium for determining deformation image of sleeve
CN110673214B (en) Method and device for predicting depths of inlet target point and end point of horizontal well
CN110471613B (en) Data storage method, data reading method, device and system
CN109388732B (en) Music map generating and displaying method, device and storage medium
CN110928867B (en) Data fusion method and device
CN112365088A (en) Method, device and equipment for determining travel key points and readable storage medium
CN112964612A (en) Method and device for determining fractal dimension of shale reservoir
CN112990421A (en) Method, device and storage medium for optimizing operation process of deep learning network
CN112990424A (en) Method and device for training neural network model
CN111158791A (en) Configuration file updating method, device and system and storage medium
CN112329355B (en) Method and device for determining single-well control area, computer equipment and storage medium

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