Method and device for determining bending angle
The method and device improve bending angle determination at pipe joints by integrating image processing and user input validation, addressing inaccuracies in existing methods and enhancing precision and efficiency.
Patent Information
- Application Number
- JP2021086264
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-05-21
- Publication Date
- 2024-12-04
- Estimated Expiration
- 2041-05-21
AI Technical Summary
Existing methods for determining the bending angle at pipe joints are prone to inaccuracies due to varying image capturing conditions, which can lead to inappropriate calculations.
A method and device that includes steps for image capture, contour extraction, derivation of laying direction straight lines, and calculation of bending angles, with additional checks to ensure accuracy and user input for parameter validation, reducing reliance on image quality.
Enables precise determination of bending angles with reduced user effort by incorporating image processing and parameter input, ensuring high accuracy and reliability in pipe joint assessments.
Smart Images

Figure 0007594495000001 
Figure 0007594495000002 
Figure 0007594495000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a method and device for calculating a bending angle at a joint of a pipe. [Background technology]
[0002] At the joint between the pipes, the pipes need to be joined so that the bend angle is within an allowable range. As an example of a method for determining whether or not the bend angle is within the allowable range, there is a method for calculating and determining the bend angle by the calculation method disclosed in Non-Patent Document 1. In this calculation method, the distance between a white line drawn on the circumferential surface of one pipe and the end face of the other pipe is measured at multiple points in the circumferential direction of the pipe, and the bend angle is calculated from the difference between the maximum and minimum values of the distance and the nominal diameter of the pipe. [Prior art documents] [Non-patent literature]
[0003] [Non-Patent Document 1] Japan Ductile Iron Pipe Association, "T-shaped Ductile Iron Pipe Joining Instructions", p.21-22 Summary of the Invention [Problem to be solved by the invention]
[0004] Another method for determining the bending angle is to calculate it based on an image of the joint between the pipes, but this method may not be able to properly calculate the bending angle depending on the image capturing conditions.
[0005] An object of one aspect of the present invention is to provide a method for determining a bending angle with higher accuracy. [Means for solving the problem]
[0006] In order to solve the above problems, a method for determining a bend angle according to one embodiment of the present invention includes an input receiving step of receiving parameters indicating the degree of insertion of a first pipe into a second pipe for each of a plurality of predetermined positions set in the circumferential direction of a first pipe, for a joint in which a first pipe and a second pipe are joined by inserting the insertion port of the first pipe into the receiving port of a second pipe, and a bend angle determination step of determining whether the bend angle of the joint is appropriate based on the plurality of parameters input in the input receiving step.
[0007] According to the above configuration, the method for determining a bending angle includes an input receiving step and a bending angle determining step. The bending angle determining step determines whether the bending angle is appropriate based on the multiple parameters input in the input receiving step. Therefore, the bending angle can be determined with high accuracy based on the parameters measured by the user who executes the determination method.
[0008] In addition, a method for determining a bend angle according to one embodiment of the present invention may further include an imaging step of capturing an image of the joint, a derivation step of deriving a laying direction line corresponding to the laying direction of the pipe from the image, and a calculation feasibility determination step of determining whether the bend angle can be calculated based on the laying direction line, and if it is determined in the calculation feasibility determination step that the bend angle cannot be calculated, the input receiving step and the bend angle determination step may be executed.
[0009] According to the above configuration, the bending angle determination method further includes an imaging step, a derivation step, and a calculation possibility determination step. These steps are for capturing an image, deriving a laying direction straight line from the image, and determining whether or not the bending angle can be calculated based on the laying direction straight line. If the bending angle cannot be calculated based on the laying direction straight line, an input reception step and a bending angle determination step are executed. This reduces the user's effort in executing the determination method.
[0010] Moreover, the bending angle determination method according to one aspect of the present invention may further include an auxiliary calculation step of calculating the bending angle based on the parameters.
[0011] According to the above configuration, not only is the bending angle judged, but the user can also recognize the actual bending angle.
[0012] In addition, a bend angle determination device according to one embodiment of the present invention includes an input receiving unit that receives input of parameters indicating the degree of insertion of a first pipe into a second pipe for each of a plurality of predetermined positions set in the circumferential direction of the first pipe, for a joint where a first pipe and a second pipe are joined by inserting the insertion port of the first pipe into the receiving port of a second pipe, and a bend angle determination unit that determines whether the bend angle of the joint is appropriate based on the plurality of parameters received as input by the input receiving unit.
[0013] According to the above configuration, the same effects as those of the above-mentioned determination method are achieved.
[0014] In addition, the bending angle determination device according to one aspect of the present invention may further include an auxiliary calculation unit that calculates the bending angle based on the parameters, and an auxiliary calculation result display unit that is capable of displaying the parameters and the bending angle on the same screen.
[0015] According to the above configuration, the user can easily check the parameters and the flexion angle calculated based on the parameters. Effect of the Invention
[0016] According to one aspect of the present invention, the bending angle can be determined with higher accuracy. [Brief description of the drawings]
[0017] [Figure 1] 4 is a flowchart showing a process in the calculation system according to the first embodiment. [Diagram 2] 1 is a block diagram showing a configuration of a main part of a calculation system according to a first embodiment. [Diagram 3] 11 is a diagram showing extraction of the contour of a first tube by a contour extraction unit. FIG. [Figure 4] 13 is a diagram showing extraction of the contour of a second tube by a contour extraction unit. FIG. [Diagram 5] FIG. 4 is a diagram showing a first example of a method for calculating a bending angle according to the first embodiment. [Figure 6] 13 is a diagram for explaining derivation of a straight line in the laying direction of the first pipe by the derivation section. FIG. [Figure 7] 13 is a diagram for explaining derivation of a straight line in the laying direction of the second pipe by the derivation section. FIG. [Figure 8] FIG. 4 is a diagram showing a second example of a method for calculating a bending angle according to the first embodiment. [Figure 9] FIG. 11 is a diagram showing a third example of a method for calculating a bending angle according to the first embodiment. [Figure 10] FIG. 11 is a diagram showing a fourth example of a method for calculating a bending angle according to the first embodiment. [Figure 11] FIG. 13 is a diagram showing a state in which the guide-out assistance tool is attached to the first tube and the second tube. [Figure 12] FIG. 13 is a diagram showing a state in which the guide-out aid is attached to the first tube and the second tube. [Figure 13] FIG. 2 shows a state in which an evacuation aid is placed in the background of the first tube and the second tube. [Figure 14] FIG. 11 is a block diagram showing the configuration of a main part of a calculation system according to a second embodiment. [Figure 15] FIG. 11 is a diagram showing an example of an imaging method using a camera in the second embodiment. [Figure 16] FIG. 11 is a diagram showing a first example of a method for calculating a bending angle according to the second embodiment. [Figure 17] FIG. 11 is a diagram showing a second example of a method for calculating a bending angle according to the second embodiment. [Figure 18] FIG. 11 is a diagram showing a modified example of the second example of the method for calculating a bending angle according to the second embodiment. [Figure 19] FIG. 11 is a diagram showing a third example of a method for calculating a bending angle according to the second embodiment. [Figure 20]FIG. 11 is a diagram showing a fourth example of a method for calculating a bending angle according to the second embodiment. [Figure 21] FIG. 13 is a diagram showing a modified example of the fourth example of the method for calculating a bending angle according to the second embodiment. [Figure 22] FIG. 11 is a block diagram showing the configuration of the main parts of a bending angle determination system according to a third embodiment. [Figure 23] 13 is a diagram for explaining another example of the process performed by the calculation feasibility determining unit; FIG. [Figure 24] FIG. 11 is a diagram showing an example of an image displayed on a display device when an input receiving unit according to the third embodiment receives input of a parameter. [Diagram 25] FIG. 11 is a diagram showing an example of an image that a display processing unit according to the third embodiment causes a display device to display. [Figure 26] FIG. 11 is a block diagram showing the configuration of the main parts of a bending angle determination system according to a fourth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0018] [Embodiment 1] Hereinafter, one embodiment of the present invention will be described in detail.
[0019] Fig. 2 is a block diagram showing the configuration of the main parts of a bending angle calculation system 1 according to this embodiment (hereinafter, simply referred to as the calculation system 1). As shown in Fig. 2, the calculation system 1 includes a calculation device 10 (bending angle calculation device), a camera 20, a display device 30, and a storage device 40.
[0020] The calculation device 10 executes a process for calculating the bending angle at the joint of the pipes. The calculation device 10 includes an image acquisition unit 11, a contour extraction unit 12, a derivation unit 13, a calculation unit 14, and a display processing unit 15.
[0021] The image acquisition unit 11 acquires an image of a first pipe P1 and a second pipe P2 (see FIG. 3, etc.) joined by a joint. The material of the first pipe P1 and the second pipe P2 is not particularly limited, and may be metal or resin. In the following description, it is assumed that the first pipe P1 and the second pipe P2 are joined by inserting the opening of the first pipe P1 into the receiving opening of the second pipe P2. In this embodiment, the image acquisition unit 11 acquires an image captured by the camera 20. The contour extraction unit 12 extracts the contour of the first pipe P1 and the contour of the second pipe P2 in the image acquired by the image acquisition unit 11.
[0022] The derivation unit 13 derives a laying direction straight line corresponding to the laying direction of the pipe from the image acquired by the image acquisition unit 11. In this embodiment, the derivation unit 13 derives the laying direction straight line based on the contour of the pipe extracted by the contour extraction unit 12. Specific processing in the derivation unit 13 will be described later. The calculation unit 14 calculates the intersection angle between the laying direction straight line of the first pipe P1 and the laying direction straight line of the second pipe P2 as the bending angle at the joint between the first pipe P1 and the second pipe P2.
[0023] In addition, the "laying direction straight line corresponding to the laying direction" is not limited to a straight line parallel to the laying direction, and may be, for example, a straight line perpendicular to the laying direction. When the laying direction straight line of either the first pipe P1 or the second pipe P2 is a straight line perpendicular to the laying direction, the angle obtained by subtracting the crossing angle of the laying direction straight line from 90° is the bending angle at the joint between the first pipe P1 and the second pipe P2. When the laying direction straight lines of both the first pipe P1 and the second pipe P2 are straight lines perpendicular to the laying direction, the crossing angle of the laying direction straight line is the bending angle at the joint between the first pipe P1 and the second pipe P2.
[0024] The display processing unit 15 displays an image showing the calculation result by the calculation unit 14 on the display device 30. The display processing unit 15 causes the display device 30 to display, for example, an image showing the bending angle at the joint between the first pipe P1 and the second pipe P2 calculated by the calculation unit 14. In addition, when the arithmetic device 10 executes a determination process for determining whether or not the bending angle calculated by the calculation unit 14 is within an allowable range, the display processing unit 15 may perform a process of displaying an image showing the result of the determination process on the display device 30.
[0025] The camera 20 is an imaging device that captures an image of the joint between the first pipe P1 and the second pipe P2. The camera 20 may be, for example, a general-purpose camera attached to a smartphone or the like, but is not limited to this. The display device 30 is a display device that displays images. The storage device 40 is a storage device that stores information necessary for processing in the arithmetic device 10. The camera 20, the display device 30, and the storage device 40 can be any known device without any particular restrictions.
[0026] The calculation system 1 is used, for example, to calculate the bending angle of a pipe placed in a trench. The conditions for using the calculation system 1 are, for example, as follows. The location for imaging the pipe is outdoors, and the time period may be either day or night. The distance from the ground surface to the pipe is about 60 cm or more and 120 cm or less, and the distance from the camera 20 to the pipe is adjusted so that the image covers a range of 400 mm to the left and right from the end face of the second pipe P2. The color of the pipe is gray or black, and the surface of the pipe is uneven. The diameter of the pipe is in the range of 75 mm or more and 400 mm or less. However, the conditions for using the calculation system 1 are not limited to this.
[0027] 1 is a flowchart showing the processing in the calculation system 1. In the calculation system 1, first, the image acquisition unit 11 captures an image of a first pipe P1 and a second pipe P2 joined by a joint (S1, imaging step). Next, the contour extraction unit 12 extracts the contour of the first pipe P1 and the contour of the second pipe P2 from the image of the pipes captured in step S1 (S2, contour extraction step).
[0028] The derivation unit 13 derives a laying direction straight line corresponding to the laying direction of the pipes based on the outline of the pipes extracted in step S2 (S3, derivation step). The calculation unit 14 calculates the intersection angle of the laying direction straight line of the first pipe P1 and the laying direction straight line of the second pipe P2 as the bending angle at the joint (S4, calculation step).
[0029] 3 is a diagram showing extraction of the contour of the first pipe P1 by the contour extraction unit 12. In FIG. 3, an example of an image captured by the camera 20 is indicated by reference numeral 3100. In a saturation image obtained by subjecting the captured image to HSV (Hue Saturation Value) conversion, there is a large difference in saturation between the images of the first pipe P1 and the second pipe P2 and the image of the soil in the background. The contour extraction unit 12 removes areas with high saturation, i.e., the areas of the images of the first pipe P1 and the second pipe P2, from the saturation image to generate an image indicated by reference numeral 3200 in FIG. 3.
[0030] Furthermore, the contour extraction unit 12 generates an image in which unnecessary background is removed while leaving only an image of the background near the first pipe P1, as indicated by reference numeral 3300 in Fig. 3. Furthermore, the contour extraction unit 12 generates an image in which only the region R1 of the first pipe P1 is extracted, as indicated by reference numeral 3400 in Fig. 3. The contour extraction unit 12 extracts the contour of the region R1 as the contour of the first pipe P1.
[0031] FIG. 4 is a diagram showing the extraction of the contour of the second tube P2 by the contour extraction unit 12. As in the extraction of the contour of the first tube P1, the contour extraction unit 12 generates an image in which the image regions of the first tube P1 and the second tube P2 are removed from the saturation image, as indicated by reference numeral 4100 in FIG. 4. The contour extraction unit 12 then generates an image in which only the image of the background near the second tube P2 is left, as indicated by reference numeral 4200 in FIG. 4, and unnecessary background is removed. Furthermore, the contour extraction unit 12 generates an image in which only the region R2 of the second tube P2 is extracted, as indicated by reference numeral 4300 in FIG. 4. The contour extraction unit 12 extracts the contour of the region R2 as the contour of the second tube P2.
[0032] FIG. 5 is a diagram showing a first example of a method for calculating a bending angle according to the present embodiment. In the example shown in FIG. 5, the second pipe P2 is covered with a sleeve S made of polyethylene, except for the socket. The sleeve S is for protecting the second pipe P2. In the example shown in FIG. 5, the deriving unit 13 derives the center lines of the first pipe P1 and the second pipe P2 as laying direction straight lines L1 and L2 based on the contours of the first pipe P1 and the second pipe P2. The calculating unit 14 calculates the intersection angle θ1 of the laying direction straight lines L1 and L2 as the bending angle at the joint of the first pipe P1 and the second pipe P2.
[0033] FIG. 6 is a diagram for explaining the derivation of the laying direction straight line of the first pipe P1 by the derivation unit 13. The derivation unit 13 first defines a plurality of straight lines LA1 that intersect with the contour of the side surface of the first pipe P1 at two points. Next, as shown by reference numeral 6100 in FIG. 6, the derivation unit 13 derives the midpoint between the two points that intersect with the contour of the side surface of the first pipe P1 for each of the plurality of straight lines LA1, and derives an approximate midpoint C11 that approximates a set of the midpoints. Furthermore, as shown by reference numeral 6200 in FIG. 6, the derivation unit 13 derives a straight line C12 that approximates a set of the midpoints that exist within a predetermined distance from the approximate midpoint C11 as a laying direction straight line L1.
[0034] 7 is a diagram for explaining the derivation of the laying direction straight line of the second pipe P2 by the derivation unit 13. The derivation unit 13 first defines a plurality of straight lines LA2 that intersect with the contour of the side surface of the second pipe P2 at two points. Next, as shown by reference numeral 7100 in FIG. 7, the derivation unit 13 derives the midpoint between the two points that intersect with the contour of the side surface of the second pipe P2 for each of the plurality of straight lines LA2, and derives an approximate midpoint C21 that approximates a set of the midpoints. Furthermore, as shown by reference numeral 7200 in FIG. 7, the derivation unit 13 derives a straight line C22 that approximates a set of the midpoints that exist within a predetermined distance from the approximate midpoint C21 as a laying direction straight line L2.
[0035] In the example shown in FIG. 7, the contour extraction unit 12 may generate a saturation image (first component image) showing the saturation (first component) and a brightness image (second component image) showing the brightness (second component) of the image acquired by the image acquisition unit 11 before extracting the contours of the first pipe P1 and the second pipe P2 (image generation step). In this case, the contour extraction unit 12 extracts the contours of the first pipe P1 and the second pipe P2 in the saturation image and the brightness image, respectively. The derivation unit 13 derives the approximate middle lines C11 and C12 based on the contours of the first pipe P1 and the second pipe P2 in the saturation image and the brightness image, respectively. Furthermore, the derivation unit 13 derives the laying direction straight line based on the contours extracted from the image having more midpoints within a predetermined distance from the approximate middle line C11 or C12 out of the saturation image and the brightness image. In this case, the derivation unit 13 derives the laying direction straight line based on the outline of the pipe extracted from the image that is less affected by noise, etc., out of the saturation image and the brightness image. Therefore, the accuracy of the laying direction straight line can be improved.
[0036] In addition, in the image generating step, instead of either the saturation image or the brightness image, or in addition to the saturation image and the brightness image, the contour extraction unit 12 may generate a hue image indicating the hue of the image acquired by the image acquisition unit 11. In addition, in the image generating step, instead of either the saturation image or the brightness image, or both, the contour extraction unit 12 may generate an image of the R component, the G component, the B component, or a combination of these components of the image acquired by the image acquisition unit 11.
[0037] 8 is a diagram showing a second example of the method for calculating the bending angle according to the present embodiment. In the example shown in FIG. 8, the derivation unit 13 derives the laying direction straight lines L11 and L12 showing the side surface of the first pipe P1 as the laying direction straight line L1 of the first pipe P1. In addition, the derivation unit 13 derives a straight line perpendicular to the laying direction of the second pipe P2 based on the contour P2 of the second pipe as the laying direction straight line L2 of the second pipe P2. For example, the derivation unit 13 derives the major axis of an ellipse appearing on the end surface of the second pipe P2 as the laying direction straight line L2 of the second pipe P2. The calculation unit 14 calculates one or both of the angle obtained by subtracting the intersection angle θ1 of the laying direction straight lines L11 and L2 from 90° and the angle obtained by subtracting the intersection angle θ2 of the laying direction straight lines L12 and L2 from 90° as the bending angle at the joint of the first pipe P1 and the second pipe P2.
[0038] When both crossing angles are calculated, there is a possibility that the two crossing angles will have different magnitudes due to the influence of noise, etc. In this case, the calculation unit 14 may output the larger crossing angle as the final bending angle for safety reasons.
[0039] FIG. 9 is a diagram showing a third example of the bending angle calculation method according to the present embodiment. In the example shown in FIG. 9, the derivation unit 13 derives a straight line indicating the laying direction of the first pipe P1 and the second pipe P2 based on the shapes of the first pipe P1 and the second pipe P2 stored in advance as a laying direction straight line. Specifically, in the example shown in FIG. 9, the pattern of the shape of the first pipe P1 and the second pipe P2 and the laying direction of the pipe in the pattern are associated with each other in advance and stored in the storage device 40. The derivation unit 13 derives straight lines indicating the laying direction of the first pipe P1 and the second pipe P2 in the pattern as laying direction straight lines L1 and L2 by matching the contours of the first pipe P1 and the second pipe P2 with the pattern. The calculation unit 14 calculates the intersection angle θ1 of the laying direction straight lines L1 and L2 as the bending angle at the joint of the first pipe P1 and the second pipe P2.
[0040] FIG. 10 is a diagram showing a fourth example of the bending angle calculation method according to the present embodiment. In the example shown in FIG. 10, the sleeve S (see FIG. 5, etc.) of the second pipe P2 is removed, and a cylindrical area on the opposite side of the first pipe P1 with respect to the socket is exposed. The lead-out unit 13 derives the laying direction straight lines L21 and L22 showing the side of the area as the laying direction straight line L2 of the second pipe P2. Furthermore, the lead-out unit 13 derives the laying direction straight line L1 of the first pipe P1 in the same manner as the example shown in FIG. 5. The calculation unit 14 calculates the crossing angle of a single combination of the laying direction straight lines (for example, the crossing angle θ1 of the laying direction straight lines L11 and L21, or the crossing angle θ2 of the laying direction straight lines L12 and L22) or the crossing angles of multiple combinations of the laying direction straight lines as the bending angle at the joint of the first pipe P1 and the second pipe P2. When calculating the intersection angles for a plurality of combinations, the calculation unit 14 may determine the maximum one of the plurality of intersection angles as the bending angle at the joint between the first pipe P1 and the second pipe P2.
[0041] The examples shown in Figures 8 to 10 also allow calculation of the bending angle at the joint between the first pipe P1 and the second pipe P2, similar to the example shown in Figure 5. Note that in the examples shown in Figures 5 and 8 to 10, the first pipe P1 and the second pipe P2 are both straight pipes. However, the first pipe P1 and the second pipe P2 may be, for example, a T-shaped pipe, a curved pipe, or an irregular pipe, or a valve.
[0042] When calculating the bending angle by the above-mentioned method, it is preferable to take images in the imaging step with the first pipe P1 and the second pipe P2 attached with the guide-out aid. In this case, in the deriving step, the deriving unit 13 derives the laying direction straight line based on the image of the guide-out aid. An example of the guide-out aid will be described below.
[0043] 11 is a diagram showing a state in which the lead-out aid 51 is attached to the first pipe P1 and the second pipe P2. The lead-out aid 51 has a shape obtained by cutting a tube that can be attached to the outside of each of the first pipe P1 and the second pipe P2 along a plane passing through the central axis. There are no particular limitations on the material of the lead-out aid 51, and it may be, for example, metal or resin. In addition, the lead-out aid 51 is colored in a different color from the first pipe P1 and the second pipe P2.
[0044] When the contrast between the color of the first pipe P1 and the second pipe P2 and the color of the background is small, it is preferable to capture the image with the guide aid 51 attached to the first pipe P1 and the second pipe P2. In this case, the contrast between the guide aid 51 and the background is large, so that the contour of the image of the guide aid 51 can be easily extracted from the captured image. Therefore, the guide unit 13 can easily derive the installation direction straight line based on the extracted contour.
[0045] 12 is a diagram showing the state in which the lead-out aid 52 is attached to the first tube P1 and the second tube P2. The lead-out aid 52 has the shape of a part of a tube that can be attached to the outside of each of the first tube P1 and the second tube P2. In addition, a light source 52a having a shape in which a line segment perpendicular to the axial direction of the attached tube and a line segment parallel to the same intersect is provided on the surface of the lead-out aid 52. The light source 52a is, for example, a plurality of LEDs (Light Emitting Diodes) arranged in this shape.
[0046] In the imaging step, imaging is performed with the derivation aid 52 attached to the first pipe P1 and the second pipe P2, so that the derivation unit 13 can easily derive the installation direction straight line based on the shape of the light source 52a. Also, the derivation unit 13 may derive the installation direction straight line based on the contour of the derivation aid 52, similarly to the case where the derivation aid 51 is used.
[0047] 13 is a diagram showing a state where the lead-out aid 53 is arranged as a background of the first pipe P1 and the second pipe P2. The lead-out aid is not necessarily limited to being attached to each of the first pipe P1 and the second pipe P2. The lead-out aid 53 is, for example, a paper or a flat plate colored in a color (e.g., red) different from the colors of the first pipe P1 and the second pipe P2, or a backlight that emits light from a surface. By capturing an image of the first pipe P1 and the second pipe P2 with the lead-out aid 53 arranged, the boundaries between the first pipe P1 and the second pipe P2 and the background in the image become clear, making it easier to extract the contours and derive the installation direction straight line.
[0048] As described above, the arithmetic device 10 can calculate the bending angle at the joint between the first pipe P1 and the second pipe P2 based on the images of the first pipe P1 and the second pipe P2 captured by the camera 20. This reduces the effort required of an operator to calculate the bending angle.
[0049] [Embodiment 2] Other embodiments of the present invention will be described below. For ease of explanation, the same reference numerals are given to members having the same functions as those described in the above embodiment, and the description thereof will not be repeated.
[0050] 14 is a block diagram showing the configuration of the main parts of a bending angle calculation system 2 according to this embodiment (hereinafter simply referred to as the calculation system 2). The calculation system 2 differs from the calculation system 1 in that it includes a calculation device 60 (bending angle calculation device) instead of the calculation device 10. The calculation device 60 differs from the calculation device 10 in that it includes an image region specification unit 16 instead of the contour extraction unit 12.
[0051] The image area specifying unit 16 specifies an area on the image used for deriving the laying direction line by the derivation unit 13. The image area specifying unit 16 specifies the area by, for example, matching with a pattern of a pipe shape stored in advance in the storage device 40. The derivation unit 13 derives the laying direction line in three-dimensional space based on the area of the image specified by the image area specifying unit 16.
[0052] Fig. 15 is a diagram showing an example of an imaging method using camera 20 in this embodiment. In the example shown in Fig. 15, a support 71 is erected on second pipe P2 in a direction parallel to the axis of the second pipe P2. Furthermore, a horizontal arm 72 extends from support 71 in a direction parallel to the axis of the second pipe P2. Camera 20 is installed on a portion of horizontal arm 72 facing the joint between first pipe P1 and second pipe P2.
[0053] By installing the camera 20 in this manner, the straight line in the laying direction of the second pipe P2 relative to the camera 20 is always constant. Therefore, the derivation unit 13 only needs to derive the straight line in the laying direction of the first pipe P1, so the amount of processing by the calculation device 60 is reduced. Note that the support 71 may be installed on the first pipe P1. In that case, the horizontal arm 72 extends in a direction horizontal to the axis of the first pipe P1, and the straight line in the laying direction of the first pipe P1 relative to the camera 20 is always constant.
[0054] Fig. 16 is a diagram showing a first example of a method for calculating a bending angle according to this embodiment. In the example shown in Fig. 16, two parallel straight lines L31 and L32 are displayed on the first tube P1 along the circumferential direction. The straight lines L31 and L32 may be directly drawn on the first tube P1 with luminous paint or the like, or luminous tape may be attached in a linear manner.
[0055] The image region specifying unit 16 specifies a region including images of straight lines L31 and L32 including P2 in the images of the first pipe P1 and the second pipe. The derivation unit 13 derives a straight line in the laying direction of the first pipe P1 based on the distance between the straight lines L31 and L32 in the images. However, when the straight lines L31 and L32 are displayed on the second pipe P2, the derivation unit 13 derives a straight line in the laying direction of the second pipe P2.
[0056] Specifically, the derivation unit 13 calculates the distances between the straight lines L31 and L32 at a plurality of locations. The distances at the plurality of locations are, for example, distances d1 and d2 at both ends in the width direction of the first pipe P1. The relative relationship of the distances at the plurality of locations depends on the laying direction of the first pipe P1 and the positional relationship between the camera 20 and the first pipe P1. Therefore, the derivation unit 13 can derive the laying direction straight line of the first pipe P1 based on the relative relationship of the distances between the straight lines L31 and L32 at the plurality of locations and the positional relationship between the camera 20 and the first pipe P1.
[0057] Fig. 17 is a diagram showing a second example of the bending angle calculation method according to this embodiment. In the example shown in Fig. 17, a calculation jig 81 is arranged on a first pipe P1. The calculation jig 81 has a shape that follows the surface of the first pipe P1. A light source 81a having a predetermined shape is arranged on the surface of the calculation jig 81. In Fig. 17, the shape of the light source 81a is two line segments that are perpendicular to each other, but is not limited to this. The light source 81a is, for example, a plurality of LEDs arranged in that shape.
[0058] The image region specifying unit 16 specifies a region including an image of the light source 81a in the images of the first pipe P1 and the second pipe. The derivation unit 13 derives a straight line in the laying direction of the first pipe P1 or a straight line in the laying direction of the second pipe P2 based on the shape of the light source 81a in the images. However, when the calculation jig 81 is disposed in the second pipe P2, the derivation unit 13 derives a straight line in the laying direction of the second pipe P2.
[0059] The shape of the light source 81a in the image depends on the installation direction of the first pipe P1 and the positional relationship between the camera 20 and the first pipe P1. Therefore, the derivation unit 13 can derive the installation direction straight line of the first pipe P1 based on the shape of the light source 81a and the positional relationship between the camera 20 and the first pipe P1.
[0060] Instead of the light source 81a, a non-self-luminous mark having a predetermined shape may be drawn on the surface of the calculation jig 81. However, by using the self-luminous light source 81a, the influence of noise in the image is reduced.
[0061] Fig. 18 is a diagram showing a modified example of the second example of the bending angle calculation method according to the present embodiment. When the bending angle is calculated using a calculation jig 81, the camera 20 does not necessarily have to be installed as shown in Fig. 15. For example, as shown in Fig. 18, by disposing the calculation jig 81 not only on the first pipe P1 but also on the second pipe P2, the derivation unit 13 can derive the laying direction straight line for each of the first pipe P1 and the second pipe P2.
[0062] FIG. 19 is a diagram showing a third example of the method for calculating the bending angle in this embodiment. In the example shown in FIG. 19, a straight line L41 along the circumferential direction is displayed on the first tube P1. The straight line L41 may be displayed by luminous paint or luminous tape, similar to the straight lines L31 and L32. For simplicity, the image of the straight line L41 is shown as a straight line in FIG. 19. However, the image of the straight line L41 in the image actually captured of the first tube P1 becomes a curve that is a part of the ellipse L42 depending on the positional relationship between the camera 20 and the straight line L41.
[0063] The image region specifying unit 16 specifies a region including an image of the straight line L41 in the images of the first pipe P1 and the second pipe. The derivation unit 13 derives a straight line in the laying direction of the first pipe P1 based on the shape of an ellipse L42 including the straight line L41 in the image. However, when the straight line L41 is displayed in the second pipe P2, the derivation unit 13 derives a straight line in the laying direction of the second pipe P2.
[0064] The derivation unit 13 specifies the ellipse L42 by a total of three points, including both ends of the image of the straight line L41 and one point between them. The length of the minor axis of the ellipse L42 depends on the laying direction of the first pipe P1 in a direction perpendicular to the plane of the image and the positional relationship between the camera 20 and the first pipe P1. The direction of the major axis of the ellipse L42 depends on the laying direction of the first pipe P1 in a direction parallel to the plane of the image and the positional relationship between the camera 20 and the first pipe P1. Therefore, the derivation unit 13 derives a straight line including the major axis of the ellipse L42 as a laying direction straight line perpendicular to the laying direction of the first pipe P1 in a plane parallel to the image. The derivation unit 13 can also derive a laying direction straight line parallel to the laying direction of the first pipe P1 in a plane perpendicular to the image from the ratio of the lengths of the minor axis and major axis of the ellipse L42. In this case, the calculation unit 14 calculates the bending angle for each of a plane parallel to the image and a plane perpendicular to the image.
[0065] In addition, when using the method shown in Fig. 19, the camera 20 does not necessarily have to be installed as shown in Fig. 15. When the camera 20 is not installed as shown in Fig. 15, for example, luminous paint or luminous tape is applied to the end face or end of the second pipe P2, and the camera 20 is placed closer to the first pipe P1 than the end face of the second pipe P2 and images are taken. In this case, the image captured by the camera 20 includes an image of the end face or end of the second pipe P2. The derivation unit 13 can derive the straight line in the laying direction of the second pipe P2 in each of the planes parallel and perpendicular to the image based on the shape of the ellipse L43 including the end face or end.
[0066] Fig. 20 is a diagram showing a fourth example of the method for calculating the bending angle in this embodiment. In the example shown in Fig. 20, a sheet 82 on which a predetermined pattern is drawn is placed on the first pipe P1. The material of the sheet is not particularly limited, and may be, for example, paper or resin. In the example shown in Fig. 20, the pattern drawn on the sheet 82 is a lattice pattern, but is not limited thereto. The pattern may also be drawn directly on the first pipe P1.
[0067] The image region specifying unit 16 specifies a region including an image of the sheet 82 in the images of the first pipe P1 and the second pipe. The derivation unit 13 derives a straight line in the laying direction of the first pipe P1 based on the shape of the pattern in the image. However, when the sheet 82 is disposed in the second pipe P2, the derivation unit 13 derives a straight line in the laying direction of the second pipe P2.
[0068] The shape of the pattern drawn on the sheet 82 in the image depends on the installation direction of the first pipe P1 and the positional relationship between the camera 20 and the first pipe P1. Therefore, the derivation unit 13 can derive the installation direction straight line of the first pipe P1 based on the shape of the pattern drawn on the sheet 82 and the positional relationship between the camera 20 and the first pipe P1.
[0069] The sheet 82 may be a light-transmitting sheet on which a three-dimensional grid is drawn. In this case, the derivation unit 13 can easily derive the straight line in the laying direction of the first pipe P1 based on the shape of the three-dimensional grid in the image, particularly the grid spacing in the direction perpendicular to the surface of the first pipe P1.
[0070] FIG. 21 is a diagram showing a modified example of the fourth example of the bending angle calculation method according to the second embodiment. When the bending angle is calculated using the sheet 82, the camera 20 does not necessarily need to be installed as shown in FIG. 15. For example, as shown in FIG. 21, by disposing the sheet 82 not only on the first pipe P1 but also on the second pipe P2, the derivation unit 13 can derive the laying direction straight line in the three-dimensional space for each of the first pipe P1 and the second pipe P2. As a result, even if the position of the camera 20 is not fixed, the calculation unit 14 can calculate the bending angle based on the laying direction straight line of each of the first pipe P1 and the second pipe P2.
[0071] As described above, the calculation device 60 can three-dimensionally calculate the bending angles of the first pipe P1 and the second pipe P2, thereby further reducing the workload of the operator.
[0072] [Embodiment 3] Further embodiments of the present invention are described below.
[0073] 22 is a block diagram showing the configuration of the main parts of a bending angle determination system 3 according to embodiment 3 (hereinafter, simply referred to as the determination system 3). The determination system 3 differs from the calculation system 1 in that it includes a calculation device 90 (bending angle determination device) instead of the calculation device 10. The calculation device 90 includes, in addition to the configuration of the calculation device 10, a calculation feasibility determination unit 17, an input receiving unit 18A, and a bending angle determination unit 18B.
[0074] The calculation feasibility determination unit 17 executes a calculation feasibility determination step of determining whether or not it is possible to calculate the bending angle at the joint between the first pipe P1 and the second pipe P2 based on the laying direction straight line derived by the derivation unit 13. For example, the calculation feasibility determination unit 17 calculates the length of the laying direction straight line, and determines that the bending angle is not calculable if the length is less than a predetermined threshold value.
[0075] FIG. 23 is a diagram for explaining another example of the process by the calculation feasibility determination unit 17. When the image acquisition unit 11 normally acquires an image, the region R1 (see FIG. 3) of the first pipe P1 and the region R2 (see FIG. 4) of the second pipe P2 appear within the region R0 shown in FIG. 23. The calculation feasibility determination unit 17 may determine that the bending angle cannot be calculated when at least a part of the regions R1 and R2 exists outside a predetermined range. The calculation feasibility determination unit 17 determines that the bending angle cannot be calculated when, for example, at least a part of the region R1 or R2 exists in a region near the upper end portion RU or the lower end portion RL in the image shown in FIG. 23.
[0076] The input receiving unit 18A executes an input receiving step of receiving an input of a parameter indicating the degree of insertion of the first pipe P1 into the second pipe P2 for each of a plurality of predetermined positions set in the circumferential direction of the first pipe P1. The parameter is input by a user via an input device such as a touch panel or a keyboard (not shown). The parameter is, for example, the distance in a direction parallel to the axial direction of the first pipe P1 between a straight line L32 (see FIG. 16) drawn on the surface of the first pipe P1 and an end face of the socket of the second pipe P2.
[0077] Fig. 24 is a diagram showing an example of an image displayed on the display device 30 when the input accepting unit 18A accepts the input of parameters. The image shown in Fig. 24 includes an image PIC1 showing four equally spaced points in the circumferential direction of the first pipe P1, and input fields BOX11, BOX13, BOX15, and BOX17 for accepting input of parameters corresponding to the four points. The user measures the above-mentioned distances at each of the four points shown in the image PIC1 and inputs them into the input fields BOX11, BOX13, BOX15, and BOX17. The input accepting unit 18A accepts the input of the distances into the input fields BOX11, BOX13, BOX15, and BOX17 as input of parameters.
[0078] The bend angle determination unit 18B executes a bend angle determination step of determining whether the bend angle at the joint where the first pipe P1 and the second pipe P2 are joined is appropriate. When the calculation feasibility determination unit 17 determines that the bend angle can be calculated based on the laying direction straight line, the bend angle determination unit 18B determines whether the bend angle calculated by the calculation unit 14 is appropriate.
[0079] Furthermore, when the calculation feasibility determination unit 17 determines that the bend angle cannot be calculated based on the laying direction straight line, the bend angle determination unit 18B determines whether the bend angle at the joint is appropriate based on the parameters input by the input reception unit 18A. For example, the bend angle determination unit 18B calculates the difference between parameters at two opposing points, and determines that the bend angle is appropriate when the absolute values of the differences are both equal to or less than a predetermined threshold value.
[0080] In the example shown in Fig. 24, parameters are input for four equally spaced points in the circumferential direction of the first pipe P1. These points are divided into a pair of two points facing each other in the horizontal direction and a pair of two points facing each other in the vertical direction. The bending angle determination unit 18B calculates the absolute value of the difference between the parameters for each of these pairs. Thereafter, if each of the calculated absolute values is equal to or less than a predetermined threshold, the bending angle determination unit 18B determines that the bending angle is appropriate.
[0081] The display processing unit 15A causes the display device 30 to display the calculation result of the bending angle by the calculation unit 14. The display processing unit 15A also causes the display device 30 to display the determination result by the bending angle determination unit 18B.
[0082] Fig. 25 is a diagram showing an example of an image that the display processing unit 15A displays on the display device 30. In Fig. 25, reference numeral 2501 indicates an example of a display when the calculation feasibility determination unit 17 determines that the bending angle can be calculated based on the laying direction straight line. Reference numeral 2502 indicates an example of a display when the calculation feasibility determination unit 17 determines that the bending angle cannot be calculated based on the laying direction straight line.
[0083] The image that the display processing unit 15A displays on the display device 30 includes display fields BOX21, BOX22, and BOX23. The display field BOX21 is a field that displays the calculation result of the bending angle by the calculation unit 14. The display field BOX22 is a field that displays the parameters that the input receiving unit 18A receives. The display field BOX23 is a field that displays the judgment result by the bending angle judgment unit 18B. For example, when the bending angle judgment unit 18B judges that the bending angle is appropriate, the display field BOX23 displays a symbol "○". When the bending angle judgment unit 18B judges that the bending angle is not appropriate, the display field BOX23 displays a symbol "×". However, the display in the display field BOX23 is not limited to these, and the judgment result may be displayed as a character string.
[0084] In the example indicated by reference numeral 2501, the bending angle calculated by the calculation unit 14 is displayed in a display field BOX 21. On the other hand, since the input reception unit 18A did not receive the input of the parameter, an impossible value as the parameter ("9999" in the image indicated by reference numeral 2501) is displayed in a display field BOX 22. In addition, a determination result by the bending angle determination unit 18B based on the bending angle calculated by the calculation unit 14 is displayed in a display field BOX 23.
[0085] In the example shown by reference numeral 2502, since the calculation unit 14 could not calculate the bending angle, a numerical value that is impossible as the bending angle ("9999" in the image of reference numeral 2502) is displayed in the display field BOX 21. Meanwhile, the parameters that the input receiving unit 18A received are displayed in the display field BOX 22. Moreover, the judgment result by the bending angle judgment unit 18B based on the input parameters is displayed in the display field BOX 23.
[0086] As described above, the arithmetic device 90 receives input of parameters measured by the user and determines whether the flexion angle is appropriate based on the parameters, thereby making it possible to determine the flexion angle with high accuracy.
[0087] In particular, when it is determined in the calculation feasibility determination step that the bending angle cannot be calculated, the calculation device 90 executes the input reception step and the bending angle determination step. In other words, when the bending angle can be calculated based on the laying direction straight line, input of parameters is not required. Therefore, the calculation device 90 reduces the user's effort.
[0088] In addition, even if the bending angle can be calculated based on the laying direction straight line, the calculation device 90 may accept input of parameters and judge the suitability of the bending angle based on the parameters. In this case, it becomes possible to judge the suitability of the bending angle in two ways, and it is possible to judge with higher accuracy.
[0089] The arithmetic device 90 may further include a parameter determination unit that determines parameters before the bending angle determination unit 18B. The parameter determination unit determines whether or not at least one parameter is within a predetermined range (for example, 65 mm or more and 85 mm or less). If all parameters are outside the predetermined range, the parameter determination unit may cause the display device 30 to display a warning image. In this case, the arithmetic device 90 can also manage the degree of insertion of the first pipe P1 into the second pipe P2 based on the parameters.
[0090] In the above example, the input receiving unit 18A receives the input of four parameters. However, depending on the condition of the joint, it may be necessary to determine the bending angle in only one direction. In such a case, the input receiving unit 18A may receive the input of two parameters corresponding to the direction.
[0091] [Embodiment 4] 26 is a block diagram showing the configuration of the main parts of a bending angle determination system 4 according to embodiment 4 (hereinafter simply referred to as the determination system 4). The determination system 4 differs from the determination system 3 in that it includes a calculation device 90A (bending angle determination device) instead of the calculation device 90. The calculation device 90A differs from the calculation device 90 in that (i) it includes a display processing unit 15B (auxiliary calculation result display unit) instead of the display processing unit 15A, and (ii) it further includes an auxiliary calculation unit 18C.
[0092] The auxiliary calculation unit 18C executes an auxiliary calculation step of calculating the bending angle based on the input parameters. For example, the auxiliary calculation unit 18C calculates a bending angle φA in the horizontal direction and a bending angle φB in the vertical direction, and calculates a composite angle φC of these as a final bending angle.
[0093] Specifically, the auxiliary calculation unit 18C calculates the bending angle φA in the horizontal direction based on the absolute value diffA of the difference between the parameters at two locations facing each other in the horizontal direction and the outer diameter dia of the first pipe P1, using the following equation (1). φA=tan-1 (diffA / dia) (1) In addition, the auxiliary calculation unit 18C calculates the bending angle φB in the vertical direction based on the absolute value diffB of the difference between the parameters at two locations facing each other in the vertical direction and the outer diameter dia of the first pipe P1, using the following formula (2). φB=tan -1 (diffB / dia) (2) Furthermore, the auxiliary calculation unit 18C calculates a composite angle φC, which is the final bending angle, by combining the bending angles φA and φB using the following formula (3). φC=(φA 2 +φB 2 ) 0.5 (3) As a specific example, consider a case where the outer diameter dia of the first tube P1 is 93 mm, the parameters at two locations facing each other in the horizontal direction are 80 mm, 80 mm, and the parameters at two locations facing each other in the vertical direction are 79 mm, 81 mm. In this case, diffA=0 and diffB=2. Substituting these values into equations (1) and (2), φA=0° and φB=1.2° are obtained. Further substituting these values into equation (3), φC=1.2° is obtained.
[0094] The bending angle determination unit 18B determines whether the bending angle is appropriate based on the composite angle φ C. Note that the horizontal and vertical directions described above are merely examples, and any two directions that are perpendicular to each other may be used.
[0095] The display processing unit 15B displays one or both of the input parameters and the bending angle calculated by the auxiliary calculation unit 18C on the display device 30. When the display processing unit 15B displays the bending angle calculated by the auxiliary calculation unit 18C, the user can recognize not only the judgment result regarding the bending angle but also the actual bending angle.
[0096] In addition, when displaying both the parameters and the bending angle, the display processing unit 15B can display them on the same screen. In this case, the user can compare and check the parameters and the bending angle displayed side by side on the same screen, thereby preventing overlooking input errors in the parameters.
[0097] The display processing unit 15B may display the bending angle calculated by the auxiliary calculation unit 18C in a display field BOX 21 on the display screen shown in Fig. 25. Furthermore, the display processing unit 15B may cause the display device 30 to display a display screen other than the display screen shown in Fig. 25, which has a display field for displaying the bending angle calculated by the auxiliary calculation unit 18C.
[0098] [Software implementation example] The control blocks of the calculation devices 10, 60, 90 and 90A (particularly the image acquisition unit 11, the derivation unit 13, the calculation unit 14, the calculation feasibility determination unit 17, the input reception unit 18A, the bending angle determination unit 18B and the auxiliary calculation unit 18C) may be realized by a logic circuit (hardware) formed in an integrated circuit (IC chip) or the like, or may be realized by software.
[0099] In the latter case, the arithmetic devices 10 and 60 are provided with a computer that executes instructions of a program, which is software that realizes each function. The computer is provided with, for example, one or more processors, and a computer-readable recording medium that stores the program. The object of the present invention is achieved by the processor reading the program from the recording medium and executing it in the computer. The processor may be, for example, a CPU (Central Processing Unit). The recording medium may be a "non-transient tangible medium", such as a ROM (Read Only Memory), as well as a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, or the like. The computer may further include a RAM (Random Access Memory) that expands the program. The program may be supplied to the computer via any transmission medium (such as a communication network or a broadcast wave) that can transmit the program. Note that one aspect of the present invention may also be realized in the form of a data signal embedded in a carrier wave, in which the program is embodied by electronic transmission.
[0100] The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope of the claims. Embodiments obtained by appropriately combining the technical means disclosed in different embodiments are also included in the technical scope of the present invention. [Explanation of symbols]
[0101] 90, 90A Calculation device (Bending angle determination device) 15B Display processing unit (auxiliary calculation result display unit) 17 Calculation possibility determination section 18A Input reception section 18B Bending angle determination section 18C Auxiliary Calculation Section
Claims
1. an input receiving step of receiving an input of a parameter indicating an insertion degree of the first pipe into the second pipe for each of a plurality of predetermined positions set in a circumferential direction of the first pipe, for a joint in which a first pipe and a second pipe are joined by inserting an insertion port of the first pipe into a receiving port of the second pipe; a bending angle determination step of determining whether or not a bending angle of the joint is appropriate based on a plurality of parameters input in the input receiving step, An imaging step of capturing an image of the joint; A derivation step of deriving a laying direction straight line corresponding to the laying direction of the pipe from the image; and determining whether or not the bending angle can be calculated based on the laying direction straight line. When it is determined that the bending angle cannot be calculated in the calculation possibility determination step, the input reception step and the bending angle determination step are executed; A method for determining a bending angle, in which, in the bending angle determination step, it is determined that the bending angle cannot be calculated if at least a portion of the first tube region and the second tube region in the image is outside a predetermined range.
2. The method for determining a bending angle according to claim 1 , further comprising an auxiliary calculation step of calculating the bending angle based on the parameters.
3. an input receiving unit configured to receive an input of a parameter indicating an insertion degree of the first pipe into the second pipe for each of a plurality of predetermined positions set in a circumferential direction of the first pipe, for a joint in which a first pipe and a second pipe are joined by inserting an insertion port of the first pipe into a receiving port of the second pipe; a bending angle determination unit that determines whether a bending angle of the joint is appropriate based on a plurality of parameters input by the input receiving unit, An image acquisition unit that captures an image of the joint; A derivation unit that derives a laying direction straight line corresponding to the laying direction of the pipe from the image; A calculation possibility judgment is performed to judge whether the bending angle can be calculated based on the laying direction straight line. A fixed portion is further provided, When the calculation feasibility determination unit determines that the bending angle cannot be calculated, the bending angle determination unit determines whether the bending angle is appropriate based on the parameters input by the input receiving unit.
4. an auxiliary calculation unit for calculating the bending angle based on the parameters; The bending angle determination device according to claim 3 , further comprising: an auxiliary calculation result display unit capable of displaying the parameters and the bending angle on the same screen.
Citation Information
Patent Citations
JP1974035055A
Method of investigating pipe inside and flex joint
JP2017151031A
Bending angle calculation method and calculation apparatus
WO2020262214A1
