KR20080032855A - Three dimensions of algorithm for pipe alignment in shape reconstruction and registration - Google Patents

Three dimensions of algorithm for pipe alignment in shape reconstruction and registration Download PDF

Info

Publication number
KR20080032855A
KR20080032855A KR1020060098894A KR20060098894A KR20080032855A KR 20080032855 A KR20080032855 A KR 20080032855A KR 1020060098894 A KR1020060098894 A KR 1020060098894A KR 20060098894 A KR20060098894 A KR 20060098894A KR 20080032855 A KR20080032855 A KR 20080032855A
Authority
KR
South Korea
Prior art keywords
pipe
coordinates
plane
point group
curved surface
Prior art date
Application number
KR1020060098894A
Other languages
Korean (ko)
Other versions
KR100886656B1 (en
Inventor
이시열
Original Assignee
삼성중공업 주식회사
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 삼성중공업 주식회사 filed Critical 삼성중공업 주식회사
Priority to KR1020060098894A priority Critical patent/KR100886656B1/en
Publication of KR20080032855A publication Critical patent/KR20080032855A/en
Application granted granted Critical
Publication of KR100886656B1 publication Critical patent/KR100886656B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/14Pipes

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Length Measuring Devices With Unspecified Measuring Means (AREA)

Abstract

A method for restoring and registering a 3D(Dimensional) shape for pipe arrangement is provided to arrange pipes by using an arrangement algorithm capacity matching connection surfaces of the pipes without damaging the surface of the pipes. A NURBS(Non-Uniform Rational B-Spline) curved surface is obtained by applying a NURBS curved surface approximation method to measuring point group data of a pipe(S100). A section of the pipe and coordinates of the center of the section are converted to agree with the center of one reference place and a perpendicular vector of a standard coordinate system(S300). Curved surface coordinates of the measured pipe are rotated to agree with the curved surface coordinates of the pipe designed based on the center and the perpendicular vector of the agreed section(S400). A point group of the curved surface of the pipe is matched with the point group of the designed curved surface of the pipe by using an ICP(Interactive Closet Point) algorithm(S500).

Description

파이프 정렬을 위한 3차원 형상복원 및 레지스레이션 방법{Three dimensions of algorithm for pipe alignment in shape reconstruction and registration}Three dimensions of algorithm for pipe alignment in shape reconstruction and registration}

도 1은 종래의 파이프 정렬 장치의 조정구의 일 실시예의 형태를 나타낸 사시도이다.1 is a perspective view showing the form of an embodiment of a control mechanism of a conventional pipe alignment device.

도 2는 종래의 파이프 정렬 장치의 보호구의 장착 상태를 나타낸 정면도이다.2 is a front view showing a mounting state of the protective equipment of the conventional pipe alignment device.

도 3은 종래의 파이프 정렬 장치를 사용한 파이프 정렬 작업의 일 실시예를 나타낸 도면이다.3 is a view showing an embodiment of a pipe alignment operation using a conventional pipe alignment device.

도 4는 본 발명의 파이프 정렬을 위한 3차원 형상복원 및 레지스레이션 방법을 나타낸 흐름도이다.4 is a flowchart illustrating a three-dimensional shape restoration and registration method for pipe alignment according to the present invention.

도 5는 본 발명의 파이프 상의 계측 점군 데이터의 NURBS 곡면 근사법을 나타낸 도면이다.5 is a diagram showing a NURBS curved approximation method of measurement point group data on a pipe of the present invention.

도 6은 본 발명에서 이용되는 좌표축과 파이프 절단면 및 중심의 좌표를 구하는 방법을 나타내는 도면이다. 6 is a view showing a method for obtaining coordinates of a coordinate axis, a pipe cut plane, and a center used in the present invention.

도 7은 본 발명의 파이프 절단면을 XZ 평면과 일치하도록 좌표를 변환하는 방법을 나타낸 도면이다.7 is a view showing a method of transforming coordinates so that the pipe cut plane of the present invention coincides with the XZ plane.

도 8은 본 발명의 파이프를 둘러싸고 있는 박스의 회전변환을 나타낸 도면이다.8 is a view showing a rotation conversion of the box surrounding the pipe of the present invention.

도 9a는 본 발명의 파이프 곡면의 점군을 설계된 파이프 곡면의 점군에 매칭하는 방법을 나타낸 도면이다. 9A illustrates a method of matching a point group of pipe surfaces of the present invention to a point group of designed pipe surfaces.

도 9b는 도 9a의 오차 기준 최소화를 통하여 얻은 결과를 그래프로 나타낸 것이다.9B is a graph showing the results obtained through minimizing the error criterion of FIG. 9A.

본 발명은 파이프 정렬을 위한 3차원 형상복원 및 레지스레이션(registration) 방법에 관한 것으로, 특히 파이프의 곡면을 계측하여 형상을 복원하고 레지스레이션하는 알고리즘에 관한 것이다.The present invention relates to a three-dimensional shape restoration and registration method for pipe alignment, and more particularly, to an algorithm for measuring and restoring a shape by measuring a curved surface of a pipe.

각각의 파이프를 용접할 때 용접 부위가 일치하지 않은 상태에서 용접하여 배관을 하면 파이프 내를 흐르는 유체의 급격한 온도 변화에 따른 팽창과 수축의 반복에 의해 파이프의 용접 연결 부위가 파손되는 문제점이 있다.When welding each pipe, the welded pipes are welded in a state where the welded parts are not matched, and thus the welded connection parts of the pipes are damaged due to the repeated expansion and contraction caused by the rapid temperature change of the fluid flowing in the pipes.

따라서, 파이프를 제작할 경우에는 서로 연결된 파이프가 정확히 정렬되도록 하는 것이 중요하다.Therefore, when making pipes, it is important to ensure that the pipes connected together are aligned correctly.

상기와 같은 문제점을 해결하기 위하여 다음과 같은 파이프 정렬 장치가 제안된 바 있다.In order to solve the above problems, the following pipe arrangement has been proposed.

도 1은 종래의 파이프 정렬 장치의 조정구의 일 실시예의 형태를 나타낸 사시도이고, 도 2는 종래의 파이프 정렬 장치의 보호구의 장착 상태를 나타낸 정면도이다.1 is a perspective view showing an embodiment of an adjustment mechanism of a conventional pipe alignment device, Figure 2 is a front view showing the mounting state of the protective equipment of the conventional pipe alignment device.

종래의 파이프 정렬 장치는 반원 형태로 형성되고 양단에는 볼트에 의해 고정되는 고정단(70)이 돌출하여 형성된 보호구(60)를 볼트(25)의 단부가 맞닿는 제2파이프(2)의 위치에 추가로 설치하는 상기 조정구(10)와 보호구(60)를 동시에 사용하는 구조이다. 상기와 같이 구성된 실시예는 다음과 같이 설치 사용된다.Conventional pipe aligning device is formed in a semi-circular shape and both ends are added to the position of the second pipe (2) in which the end of the bolt 25 abuts the protective device 60 formed by protruding the fixed end 70 is fixed by the bolt It is a structure to use the adjusting device 10 and the protective device 60 installed at the same time. The embodiment configured as described above is installed and used as follows.

파이프를 제작하기 위해서는 같은 지름을 갖는 파이프를 다수 개 준비한다. 제1파이프(1)의 일단에 조정구(10)를 삽입한 후, 볼트 고정단(50)을 이용하여 조정구(10)가 움직이지 않도록 고정시킨다.In order to manufacture the pipe, several pipes having the same diameter are prepared. After inserting the adjusting tool 10 into one end of the first pipe 1, the adjusting tool 10 is fixed by using the bolt fixing end 50 so as not to move.

조정구(10)가 제1파이프(1)에 삽입 고정되어 있는 상태에서 용접되어 연결되어야 할 제2파이프(2)를 제1파이프(1) 측으로 접근시킨 후, 제1파이프(1)와 제2파이프(2)의 단부가 서로 맞닿도록 한다. 이때, 조정구(10)의 측면에 돌출 형성되어 있는 조정암(5)의 단부는 제2파이프(1)의 상부에 위치하도록 한다.After the adjusting tool 10 is inserted into and fixed to the first pipe 1, the second pipe 2 to be welded and connected is approached to the first pipe 1 side, and then the first pipe 1 and the second pipe 2 are approached. The ends of the pipe 2 abut against each other. At this time, the end of the adjustment arm (5) protruding from the side of the adjustment opening (10) is to be located above the second pipe (1).

이때, 제1파이프(1)와 제2파이프(2)가 맞닿아 있지만, 중심축이 일치하지 않은 상태에서 용접 작업을 진행할 경우에는 완성된 파이프 결합부의 강도가 낮아지게 된다.At this time, although the first pipe 1 and the second pipe 2 are in contact with each other, when the welding operation is performed in a state where the central axis does not coincide, the strength of the completed pipe joint becomes low.

우선, 조정암(5)의 단부에는 너트(20)가 고정되어 있으므로, 각각의 너트(20)에 볼트(25)를 끼워 넣고, 각각의 볼트(25)를 회전시켜, 볼트(25)의 단부가 제 2파이프(2)의 표면에 맞닿도록 한다.First, since the nut 20 is fixed to the end of the adjustment arm 5, the bolts 25 are inserted into the respective nuts 20, and the respective bolts 25 are rotated to end the bolts 25. Abut on the surface of the second pipe (2).

이 상태에서, 상술한 바와 같이, 제1파이프(1)와 제2파이프(2)의 중심축이 어긋나 있는 상태이면, 너트(20)에 끼워져 있는 각각의 볼트(25)를 조정하여 제1파이프(1)와 제2파이프(2)의 중심축이 일치하도록 한다.In this state, as described above, if the central axes of the first pipe 1 and the second pipe 2 are shifted, each bolt 25 fitted to the nut 20 is adjusted to adjust the first pipe. (1) and the central axis of the second pipe (2) to match.

즉, 제1파이프와 제2파이프의 지름은 동일하기 때문에 중심축이 일치할 경우에는 제1파이프와 제2파이프의 표면도 일치해야 한다. 제1파이프와 제2파이프의 표면이 일치하지 않을 경우에는 다음과 같은 조정 작업을 수행한다.That is, since the diameters of the first pipe and the second pipe are the same, when the central axes coincide, the surfaces of the first pipe and the second pipe must also coincide. If the surfaces of the first pipe and the second pipe do not coincide, the following adjustments are made.

도 3은 종래의 파이프 정렬 장치를 사용한 파이프 정렬 작업의 일 실시예를 나타낸 도면이다. 제2파이프의 표면이 제1파이프의 표면 바깥으로 돌출되어 있는 경우에는 제2파이프가 돌출되어 있는 측의 볼트를 조이고, 반대편 볼트를 풀어 제 2파이프가 이동하도록 한다. 이러한 작업은 제2파이프의 표면과 제1파이프의 표면이 일치할 때까지 계속 반복한다.3 is a view showing an embodiment of a pipe alignment operation using a conventional pipe alignment device. If the surface of the second pipe protrudes out of the surface of the first pipe, tighten the bolt on the side from which the second pipe protrudes, and loosen the opposite bolt to move the second pipe. This operation is repeated until the surface of the second pipe coincides with the surface of the first pipe.

상기와 같이 조정구를 사용하여 파이프 정렬 작업을 진행할 경우에 제2파이프(2)의 표면에 볼트(25)의 단부가 맞닿아 있기 때문에 제2파이프(2)의 표면에 손상이 발생할 수 있다.When the pipe alignment operation is performed using the adjusting tool as described above, since the end portion of the bolt 25 is in contact with the surface of the second pipe 2, damage may occur to the surface of the second pipe 2.

제2파이프(2)의 표면에 발생하는 손상을 방지하기 위해 도 2에 도시되어 있는 바와 같은 형태의 보호구(60)를 설치하여 사용하게 된다.In order to prevent damage occurring on the surface of the second pipe 2, a protective device 60 having a shape as shown in FIG. 2 is installed and used.

보호구(60)는 반원 형태로 형성되고, 양단에는 볼트에 의해 고정되는 고정단(70)이 형성되어 있어 제2파이프의 단부 측면에 한 쌍의 보호구(60)를 맞대어 결합시킨 후, 고정단(70)에 볼트(75)를 삽입하여 고정시킨다.The protective device 60 is formed in a semicircular shape, and both ends are provided with fixed ends 70 fixed by bolts so that the pair of protection devices 60 are coupled to the end side surfaces of the second pipes. Insert the bolt (75) into 70 to fix it.

따라서, 제1파이프(1)에 조정구(10)를 설치한 후, 조정구(10)에 부착되어 있는 볼트(25)와 제2파이프(2)가 맞닿는 부분에 보호구(60)를 설치하게 되면, 파이프 정렬 작업이 진행되는 동안 볼트(25)의 단부가 보호구(60)의 표면에 맞닿아 있기 때문에 제2파이프(2)의 표면에 손상이 발생하는 현상이 방지된다.Accordingly, after the adjusting tool 10 is installed in the first pipe 1, the protective tool 60 is provided at a portion where the bolt 25 attached to the adjusting tool 10 and the second pipe 2 contact each other. Since the end portion of the bolt 25 is in contact with the surface of the protective device 60 during the pipe alignment operation, the occurrence of damage to the surface of the second pipe 2 is prevented.

그러나, 상기와 같은 종래의 파이프 정렬 장치는 작업자의 수작업을 통해서만 파이프를 정렬할 수 있어 불편한 점이 많았다.However, the conventional pipe aligning device as described above has many inconveniences because the pipes can be aligned only by the worker's manual work.

본 발명은 상기와 같은 문제점을 해결하기 위한 것으로써, 파이프의 표면을 손상시키지 않으면서 파이프의 결합면을 매칭할 수 있는 정렬 알고리즘을 통한 파이프 정렬 방법을 제공하는 것을 목적으로 한다.An object of the present invention is to provide a pipe alignment method through an alignment algorithm that can match the mating surface of the pipe without damaging the surface of the pipe, to solve the above problems.

본 발명은 파이프 상의 계측 점군 데이터에 NURBS 곡면 근사법을 적용하여 NURBS 곡면을 얻는 제1단계; 상기 파이프의 절단면 및 중심의 좌표를 소정 기준 좌표계의 좌표로 구하는 제2단계; 상기 측정된 파이프의 절단면의 중심 및 법선벡터의 좌표를 상기 기준 좌표계의 어느 한 기준 평면의 중심 및 법선벡터와 일치하도록 좌표를 변환하는 제3단계; 상기 측정된 파이프의 곡면 좌표들을 상기 제3단계에서 일치시킨 절단면의 중심 및 법선벡터를 기준으로 설계된 파이프의 곡면 좌표들과 일치하도록 회전시키는 제4단계; 및 ICP(Iterative Closet Point) 알고리즘을 이용하여 상기 파이프 곡면의 점군을 설계된 파이프 곡면의 점군에 매칭하는 제5단계;를 포함하는 것을 특징으로 하는 파이프 정렬을 위한 3차원 형상복원 및 레지스레이션 방법을 제시한다.The present invention provides a first step of obtaining a NURBS surface by applying the NURBS surface approximation method to the measurement point group data on the pipe; A second step of obtaining coordinates of the cut plane and the center of the pipe as coordinates of a predetermined reference coordinate system; A third step of converting coordinates of the measured center of the cut plane of the pipe and the coordinates of the normal vector to match the center of the reference plane and the normal vector of the reference coordinate system; A fourth step of rotating the measured surface coordinates of the pipe to coincide with the surface coordinates of the pipe designed based on the center and the normal vector of the cut plane matched in the third step; And a fifth step of matching the point group of the pipe curved surface to the point group of the designed pipe curved surface by using an iterative closet point (ICP) algorithm. do.

이하, 본 발명을 도면을 통하여 상세히 설명하기로 한다.Hereinafter, the present invention will be described in detail with reference to the drawings.

도 4는 본 발명의 파이프 정렬을 위한 3차원 형상복원 및 레지스레이션 방법을 나타낸 흐름도이다. 도 4를 참조하면, 본 발명의 파이프 정렬을 위한 3차원 형상복원 및 레지스레이션 방법에 대하여 개략적으로 알 수 있다.4 is a flowchart illustrating a three-dimensional shape restoration and registration method for pipe alignment according to the present invention. Referring to Figure 4, it can be seen schematically about the three-dimensional shape restoration and registration method for pipe alignment of the present invention.

먼저, 파이프 상의 계측 점군 데이터에 NURBS 곡면 근사법을 적용하여 NURBS 곡면을 얻는다(S100). 여기서, 스캔된 방향과 스키닝 방향에 대하여 NURBS 곡면 근사법을 적용한다. First, a NURBS curved surface approximation method is applied to measurement point group data on a pipe (S100). Here, the NURBS curved approximation method is applied to the scanned direction and the skinning direction.

이후, 상기 파이프의 절단면 및 그 중심의 좌표를 소정 기준 좌표계의 좌표로 구한다(S200). 파이프의 절단면 및 중심의 좌표를 얻기 위해서는 상기 NURBS 곡면에서 모델링된 파이프의 절단면 상에 놓이는 에지 곡선을 추출한 후, 최소자승법을 적용하여 상기 에지 곡선을 포함하는 평면을 얻는다. 그리고, 상기 에지 곡선을 포함하는 평면이 기준 좌표계의 어느 한 평면(예를 들어, 도 6의 XZ 평면)이 되도록 에지 곡선을 회전변환한 후, 상기 회전변환된 에지 곡선을 XZ 평면에 투영변환한다. 그 후에는, 최소자승법을 적용하여 상기 XZ 평면에 투영변환된 에지 곡선을 원으로 근사하는 과정을 거친 후, 상기 원으로 근사된 에지 곡선을 역회전 변환하여 원래의 좌표계로 변환하는 과정을 거친다.Thereafter, the coordinates of the cut surface of the pipe and its center are obtained as coordinates of a predetermined reference coordinate system (S200). In order to obtain the coordinates of the cut plane and the center of the pipe, an edge curve placed on the cut plane of the modeled pipe is extracted from the NURBS curved surface, and then a least square method is applied to obtain a plane including the edge curve. The edge curve is rotated such that the plane including the edge curve becomes one plane of the reference coordinate system (for example, the XZ plane of FIG. 6), and then the projection edge is converted to the XZ plane. . Thereafter, the least square method is applied to approximate the edge curve projected on the XZ plane to a circle, and then the edge curve approximated to the circle is converted to the original coordinate system by reverse rotation conversion.

이후, 상기 측정된 파이프의 절단면의 중심 및 법선벡터의 좌표를 상기 기준 좌표계의 어느 한 기준 평면(예를 들어, 도 6의 XZ 평면)의 중심 및 법선벡터와 일치하도록 좌표를 변환한다(S300). 파이프의 절단면 매칭은 파이프의 에지 곡선을 포함하는 평면의 중심과 법선벡터를 XZ 평면의 중심과 법선벡터와 각각 일치하도록 좌표를 변환하는 것이다. 이때, 좌표축의 형태는 도 6과 같다.Subsequently, coordinates are transformed so that the coordinates of the center of the cut plane of the pipe and the normal vector are coincident with the center of the reference plane of the reference coordinate system (for example, the XZ plane of FIG. 6) and the normal vector (S300). . Cut plane matching of a pipe is to transform the coordinates of the plane and the normal vector containing the edge curve of the pipe to match the center and normal vector of the XZ plane, respectively. At this time, the shape of the coordinate axis is as shown in FIG.

이후, 상기 측정된 파이프의 곡면 좌표들을 상기 일치시킨 절단면의 중심 및 법선벡터를 기준으로 설계된 파이프의 곡면 좌표들과 일치하도록 회전변환시킨다(S400).Thereafter, the measured coordinates of the curved surfaces of the pipe are rotated to match the curved coordinates of the pipe designed based on the center and normal vector of the matched cutting plane (S400).

마지막으로, 상기 파이프의 점군을 매칭하여 레지스레이션한다(S500).Finally, the point group of the pipe is matched and registered (S500).

상기와 같은 과정은 도 5 내지 도 9b를 통하여 상세히 설명하기로 한다.The above process will be described in detail with reference to FIGS. 5 to 9B.

도 5는 본 발명의 파이프 상의 계측 점군 데이터의 NURBS 곡면 근사법을 나타낸 도면이다. 도 5를 참조하면, (100)은 파이프 상의 계측 점군 데이터가 곡면을 이루고 있는 모양을 나타내고 있고, (110)과 (120)은 상기 곡면의 스캔된 방향과 스캐닝 방향을 나타내고 있다. (100)에 상기 스캔된 방향과 스캐닝 방향의 NURBS 곡면 근사법을 적용하면, (130)과 같은 NURBS 곡면을 얻을 수 있는데, (140)은 (130)을 펼친 모양을 나타낸다.5 is a diagram showing a NURBS curved approximation method of measurement point group data on a pipe of the present invention. Referring to FIG. 5, reference numeral 100 denotes a shape in which measurement point group data on a pipe forms a curved surface, and reference numerals 110 and 120 represent a scanned direction and a scanning direction of the curved surface. When the NURBS curved surface approximation method of the scanned direction and the scanning direction is applied to (100), a NURBS curved surface as shown in (130) can be obtained, where (140) represents the unfolded shape of (130).

상기와 같은 파이프 상의 계측 점군 데이터의 NURBS 곡면 근사법을 수식을 통하여 설명하면 다음과 같다.The NURBS surface approximation method of the measurement point group data on the pipe as described above is described as follows.

파이프 상의 점군 데이터를 Dk,l(0≤k≤m, 0≤l≤n)라 하고, 자유도를 p, q라 하면, 0≤k≤m, 0≤l≤n에 대하여 Dk,l= S(sk, tl)인 자유도 p, q의 B-스프라인(B-spline) 곡면 S(u, v)를 찾을 수 있다. 여기서, sk 와 tl들은 선택된 파라미터 값들이다.If the point group data on the pipe is D k, l (0≤k≤m, 0≤l≤n), and the degrees of freedom are p and q, D k, l for 0≤k≤m and 0≤l≤n. We can find the B-spline surface S (u, v) of degrees of freedom p, q with = S (s k , t l ). Where s k And t l are the selected parameter values.

상기 Dk,l= S(sk, tl)은 수학식 1과 같다.D k, l = S (s k , t l ) is represented by Equation 1.

Figure 112006073430254-PAT00001
Figure 112006073430254-PAT00001

여기서, Pi ,j(0≤i≤m, 0≤j≤n)는 알려지지 않은 제어점이다.Where P i , j (0 ≦ i ≦ m, 0 ≦ j ≦ n) is an unknown control point.

상기 수학식 1은 수학식 2로 다시 쓸 수 있다.Equation 1 may be rewritten as Equation 2.

Figure 112006073430254-PAT00002
Figure 112006073430254-PAT00002

도 6은 본 발명에서 이용되는 좌표축과 파이프 절단면 및 중심의 좌표를 구 하는 방법을 나타내는 도면이다. 도 6을 참조하면, 본 발명의 파이프 절단면 및 중심의 좌표를 구하는 방법은 다음과 같다. 6 is a view showing a method for obtaining coordinates of a coordinate axis, a pipe cut plane, and a center used in the present invention. Referring to Figure 6, the method for obtaining the coordinates of the pipe cut surface and the center of the present invention is as follows.

먼저, 상기 도 5에서 얻은 NURBS 곡면으로 모델링된 파이프의 절단면 상에 놓이는 에지 곡선(200)을 추출한다.First, the edge curve 200 that lies on the cut surface of the pipe modeled with the NURBS curved surface obtained in FIG. 5 is extracted.

이후, 최소자승법을 적용하여 상기 에지 곡선을 포함하는 평면(210)을 얻는다. 즉, 에지 곡선을 포함하는 평면(210)은 거리를 나타내는 수학식 3과, 목적 함수를 나타내는 수학식 4를 통하여 ∇J=0을 만족하는 x, α를 구하여 얻어진다.The least squares method is then applied to obtain a plane 210 containing the edge curve. That is, the plane 210 including the edge curve is obtained by obtaining x and α satisfying ∇J = 0 through Equation 3 representing the distance and Equation 4 representing the objective function.

Figure 112006073430254-PAT00003
Figure 112006073430254-PAT00003

Figure 112006073430254-PAT00004
Figure 112006073430254-PAT00004

여기서, x는 평면상의 한 점을 나타내고, α는 평면에 대한 법선의 방향 코사인을 나타낸다.Here, x represents a point on the plane and α represents the directional cosine of the normal to the plane.

이후, 상기 에지 곡선을 포함하는 평면(210)이 XZ 평면과 일치하도록 에지 곡선을 회전변환한다. 먼저, 에지 곡선을 포함하는 평면(210)의 법선벡터와 XZ 평면의 법선벡터를 구하고, 이들이 서로 이루는 각도를 구한다. 그리고, 에지 곡선을 포함하는 평면(210)의 법선벡터가 XZ 평면의 법선벡터로 변환될 때, 좌표축의 원점을 보면서 X축, Y축, Z축에 대하여 시계 방향으로 각각 α, β, r의 각도만큼 회전한다면, 수학식 5 내지 수학식 7을 이용할 수 있다.Thereafter, the plane 210 including the edge curve is rotated so as to coincide with the XZ plane. First, the normal vector of the plane 210 including the edge curve and the normal vector of the XZ plane are obtained, and the angles between them are obtained. When the normal vector of the plane 210 including the edge curve is converted to the normal vector of the XZ plane, while viewing the origin of the coordinate axis, α, β, and r are respectively clockwise relative to the X, Y, and Z axes. If it rotates by an angle, Equations 5 to 7 can be used.

Figure 112006073430254-PAT00005
Figure 112006073430254-PAT00005

Figure 112006073430254-PAT00006
Figure 112006073430254-PAT00006

Figure 112006073430254-PAT00007
Figure 112006073430254-PAT00007

이후, 회전변환된 에지 곡선을 XZ 평면에 투영변환한다. 이때, 투영변환은 XZ 평면에 투영되었으므로, y의 값을 0으로 하면 된다.After that, the transformed edge curve is projected onto the XZ plane. At this time, since the projection transformation was projected on the XZ plane, the value of y may be 0.

이후, 최소자승법을 적용하여 상기 XZ 평면에 투영변환된 에지 곡선을 원(120)으로 근사한다. 즉, 상기 에지 곡선을 포함하는 평면(210)은 거리를 나타내는 수학식 8과, 목적 함수를 나타내는 수학식 9를 통하여 ∇J=0을 만족하는 x, A, r을 구하여 얻어진다.Then, the least square method is applied to approximate the edge curve projected on the XZ plane to the circle 120. That is, the plane 210 including the edge curve is obtained by obtaining x, A, and r satisfying k = 0 through Equation 8 representing a distance and Equation 9 representing an objective function.

Figure 112006073430254-PAT00008
Figure 112006073430254-PAT00008

Figure 112006073430254-PAT00009
Figure 112006073430254-PAT00009

여기서, x는 원의 중심을 나타내고, A는 원의 평면에 대한 법선의 방향 개수를 나타내고, r은 원의 반경을 나타낸다. 단, A는 그 값을 절대값으로 나눈 정규화된 값으로 나타낸다.Here, x represents the center of the circle, A represents the number of directions of the normal to the plane of the circle, and r represents the radius of the circle. However, A is represented by the normalized value divided by the absolute value.

이후, 원으로 근사된 에지 곡선(220)을 역회전 변환하여 원래의 좌표계로 변환한다. 역회전 변환방법은 상기 수학식 5 내지 수학식 7을 역으로 이용하면 된다.Thereafter, the edge curve 220 approximated by the circle is converted to the original coordinate system by reverse rotation conversion. In the reverse rotation conversion method, the above Equations 5 to 7 may be used inversely.

도 7은 본 발명의 파이프 절단면을 XZ 평면과 일치하도록 좌표를 변환하는 방법을 나타낸 도면이다. 7 is a view showing a method of transforming coordinates so that the pipe cut plane of the present invention coincides with the XZ plane.

상기 도 7을 참조하면, 파이프의 절단면을 매칭하기 위해서는 파이프의 에지 곡선을 포함하는 평면(300)을 XZ 평면(310)과 일치하도록 좌표를 변환해야 한다. 이때, 파이프의 에지 곡선을 포함하는 평면(300)의 중심 및 법선벡터를 각각 XZ 평면의 중심 및 법선벡터와 각각 일치하도록 좌표를 변환한다. 파이프의 에지 곡선을 포함하는 평면(300)의 중심을 변환하기 위해서는 수학식 10을 이용하고, 파이프의 에지 곡선을 포함하는 평면(300)의 법선벡터를 변환하기 위해서는 상기 수학식 5 내지 수학식 7을 이용한다.Referring to FIG. 7, in order to match the cut planes of the pipes, coordinates of the plane 300 including the edge curves of the pipes need to be converted to match the XZ plane 310. At this time, the coordinates are transformed so that the center and normal vectors of the plane 300 including the edge curve of the pipe coincide with the center and normal vectors of the XZ plane, respectively. Equation 10 is used to convert the center of the plane 300 including the edge curve of the pipe, and Equations 5 to 7 are used to convert the normal vector of the plane 300 including the pipe edge curve. Use

Figure 112006073430254-PAT00010
Figure 112006073430254-PAT00010

도 8은 본 발명의 파이프를 둘러싸고 있는 바운딩 박스의 회전변환을 나타낸 도면이다.8 is a view showing a rotation conversion of the bounding box surrounding the pipe of the present invention.

상기 도 8을 참조하면, 파이프를 회전하기 위해서는 측정곡면(400)과 설계곡면(410)을 각각 감싸는 측정곡면의 제 1 바운딩 박스(bounding Box, 400a), 설계곡면의 제 2 바운딩 박스(bounding Box, 410a)를 계산한 후, 상기 바운딩 박스들이 일치하도록 한다. Referring to FIG. 8, in order to rotate the pipe, a first bounding box 400a of a measurement surface surrounding the measurement surface 400 and the design surface 410, and a second bounding box of the design surface 410a), the bounding boxes match.

이때, 파이프의 곡면 좌표들을 상기 도 7에서 일치시킨 절단면의 중심 및 법선벡터를 기준으로 상기 수학식 5 내지 수학식 7을 이용하여 설계된 파이프의 곡면 좌표들로 회전 변환 시킨다. At this time, the curved surface coordinates of the pipe are rotated to the curved surface coordinates of the pipe designed using Equation 5 to Equation 7 based on the center and the normal vector of the cut plane matched in FIG. 7.

도 9a는 본 발명의 파이프 곡면의 점군을 설계된 파이프 곡면의 점군에 매칭하는 방법을 나타낸 도면이다. 파이프의 형상을 매칭하기 위해서는 다음과 같이 세부적인 과정을 거친다. 이는 ICP(Iterative Closet Point) 알고리즘을 이용한 것이다.9A illustrates a method of matching a point group of pipe surfaces of the present invention to a point group of designed pipe surfaces. In order to match the shape of the pipe goes through the detailed process as follows. It uses the ICP (Iterative Closet Point) algorithm.

먼저, 파이프 곡면의 점군을 선택한다. 도 9a의 (500)은 파이프 점군의 매칭 전의 데이터 점을 나타낸다.First, select a point group of pipe surfaces. Reference numeral 500 in FIG. 9A illustrates data points before matching the pipe point group.

이후, 상기 선택된 파이프 곡면의 점군을 파이프 설계 곡면의 점군과 매칭한다. 도 9a의 (510)은 파이프 점군의 매칭 후의 모델 점군을 나타내는데, 파이프 점군의 매칭을 완료하면, (510)와 같은 레지스레이션 결과를 얻는다. 즉, 도 9a에서 서로 대응되는 점을 하나의 쌍으로 하고, 이에 대하여 서로 다른 쌍에 서로 다른 가중치를 부여한다. 가중치 부여 방법에 대해서는 논문 "Godin, G., Rioux, M., and Baribeau, R. Three-dimensional Registration Using Range and Intensity Information," Proc. SPIE: Videometrics Ⅲ, Vol. 2350, 1994."에 따른다.The point group of the selected pipe surface is then matched with the point group of the pipe design surface. 9A of FIG. 9A shows a model point group after matching the pipe point group. When the matching of the pipe point group is completed, a registration result as shown in 510 is obtained. That is, in FIG. 9A, points corresponding to each other are formed as one pair, and different weights are given to different pairs. For weighting methods, the article "Godin, G., Rioux, M., and Baribeau, R. Three-dimensional Registration Using Range and Intensity Information," Proc. SPIE: Videometrics III , Vol. 2350, 1994. "

이후, 상기 가중치가 부여된 점의 쌍에서 노이즈가 있는 데이터를 제거한다. 노이즈가 있는 데이터 제거방법에 대해서는 논문 "Dorai, C., Weng, J., and Jain, A. Registeration and Intergration of Multiple Object Views for 3D Model Constrution," Trans. PAMI, Vol. 20, No. 1, 1998."에 따른다.The noisy data is then removed from the pair of weighted points. For a method of removing noisy data, see "Dorai, C., Weng, J., and Jain, A. Registration and Intergration of Multiple Object Views for 3D Model Constrution," Trans. PAMI , Vol. 20, No. 1, 1998. "

도 9b는 도 9a의 오차 기준 최소화를 통하여 얻은 결과를 그래프로 나타낸 것이다.9B is a graph showing the results obtained through minimizing the error criterion of FIG. 9A.

상기 도 9b에 도시된 바와 같이, 상기 노이즈가 제거된 데이터에서 오차 기준을 정의하고 오차를 최소화한다. 상기 도 9b는 오차가 원하는 범위 내에 있을 때까지 상기 전 과정을 계속 반복하여 오차를 최소화 한다. As shown in FIG. 9B, an error criterion is defined in the data from which the noise is removed and the error is minimized. 9b minimizes the error by repeating the whole process until the error is within the desired range.

이상에서 살펴본 바와 같은 파이프 정렬을 위한 3차원 형상복원 및 레지스레 이션 방법에 대한 기술사상을 첨부도면과 함께 서술하였지만, 이는 본 발명의 가장 양호한 실시 예를 예시적으로 설명한 것이지 본 발명을 한정하는 것은 아니다. 또한, 이 기술분야에서 통상의 지식을 가진 자라면 본 발명의 기술사상을 이탈하지 않는 범위 내에서 다양한 변형 및 모방이 가능함은 명백한 사실이다.Although the technical idea of the three-dimensional shape restoration and resistance method for pipe alignment as described above has been described with the accompanying drawings, it is intended to illustrate the best embodiments of the present invention by way of example. no. In addition, it will be apparent to those skilled in the art that various modifications and variations can be made without departing from the spirit of the present invention.

본 발명의 파이프 정렬을 위한 3차원 형상복원 및 레지스레이션 방법은 파이프의 곡면을 계측하여 형상을 복원하고 레지스레이션하는 알고리즘을 제공함으로써, 작업자가 수작업을 통해서만 파이프를 정렬할 수 있었기 때문에 불편한 점이 많았던 종래의 파이프 정렬 방법을 개선한 효과가 있다.The three-dimensional shape restoration and registration method for pipe alignment according to the present invention provides an algorithm for restoring and restoring a shape by measuring a curved surface of a pipe, whereby the operator was able to align the pipe only by manual labor, which is inconvenient. Improved pipe sorting method.

Claims (4)

파이프 상의 계측 점군 데이터에 NURBS 곡면 근사법을 적용하여 NURBS 곡면을 얻는 제1단계;Obtaining a NURBS surface by applying a NURBS surface approximation method to the measurement point group data on the pipe; 상기 파이프의 절단면 및 그 중심의 좌표를 소정 기준 좌표계의 좌표로 구하는 제2단계;A second step of obtaining coordinates of a cut surface of the pipe and its center as coordinates of a predetermined reference coordinate system; 상기 측정된 파이프의 절단면의 중심 및 법선벡터의 좌표를 상기 기준 좌표계의 어느 한 기준 평면의 중심 및 법선벡터와 일치하도록 좌표를 변환하는 제3단계;A third step of converting coordinates of the measured center of the cut plane of the pipe and the coordinates of the normal vector to match the center of the reference plane and the normal vector of the reference coordinate system; 상기 측정된 파이프의 곡면 좌표들을 상기 제3단계에서 일치시킨 절단면의 중심 및 법선벡터를 기준으로 설계된 파이프의 곡면 좌표들과 일치하도록 회전시키는 제4단계; 및A fourth step of rotating the measured surface coordinates of the pipe to coincide with the surface coordinates of the pipe designed based on the center and the normal vector of the cut plane matched in the third step; And ICP(Iterative Closet Point) 알고리즘을 이용하여 상기 파이프 곡면의 점군을 설계된 파이프 곡면의 점군에 매칭하는 제5단계;A fifth step of matching a point group of the pipe curved surface to a point group of a designed pipe curved surface using an iterative closet point (ICP) algorithm; 를 포함하는 것을 특징으로 하는 파이프 정렬을 위한 3차원 형상복원 및 레지스레이션 방법.3D shape restoration and registration method for pipe alignment comprising a. 제1항에 있어서,The method of claim 1, 상기 제2단계는,The second step, 상기 NURBS 곡면에서 모델링된 파이프의 절단면 상에 놓이는 에지 곡선을 추출하는 단계;Extracting an edge curve that lies on a cut plane of a modeled pipe in the NURBS surface; 최소자승법을 적용하여 상기 에지 곡선을 포함하는 평면을 얻는 단계;Applying a least square method to obtain a plane containing the edge curve; 상기 에지 곡선을 포함하는 평면이 상기 기준 평면이 되도록 에지 곡선을 회전변환하는 단계;Rotating the edge curve such that the plane containing the edge curve becomes the reference plane; 상기 회전변환된 에지 곡선을 상기 기준 평면에 투영변환하는 단계;Projecting the rotated edge curve onto the reference plane; 최소자승법을 적용하여 상기 기준 평면에 투영변환된 에지 곡선을 원으로 근사하는 단계; 및Applying a least square method to approximate an edge curve projected on the reference plane to a circle; And 상기 원으로 근사된 에지 곡선을 역회전 변환하여 원래의 좌표계로 변환하는 단계;Converting the edge curve approximated by the circle to reverse rotation to the original coordinate system; 를 포함하는 것을 특징으로 하는 파이프 정렬을 위한 3차원 형상복원 및 레지스레이션 방법.3D shape restoration and registration method for pipe alignment comprising a. 제1항에 있어서,The method of claim 1, 상기 제4단계는,The fourth step, 상기 측정된 파이프의 곡면을 둘러싸는 제1 바운딩 박스와 상기 설계된 파이프의 곡면을 둘러싸는 제2 바운딩 박스를 계산하는 단계; 및Calculating a first bounding box surrounding the measured surface of the pipe and a second bounding box surrounding the curved surface of the designed pipe; And 상기 제3단계에서 일치시킨 절단면의 중심 및 법선벡터를 기준으로 상기 제1 바운딩 박스와 제2 바운딩 박스가 일치하도록 상기 제1 바운딩 박스를 회전시키는 단계;Rotating the first bounding box such that the first bounding box and the second bounding box coincide with each other based on the center and the normal vector of the cut planes matched in the third step; 를 포함하는 것을 특징으로 하는 파이프 정렬을 위한 3차원 형상복원 및 레지스레이션 방법.3D shape restoration and registration method for pipe alignment comprising a. 제1항에 있어서,The method of claim 1, 상기 제5단계는,The fifth step, 상기 파이프 곡면의 점군을 선택하는 단계;Selecting a point group of the pipe curved surface; 상기 선택된 파이프 곡면의 점군을 파이프 설계 곡면의 점군과 매칭하는 단계;Matching the point group of the selected pipe surface with the point group of the pipe design surface; 상기 매칭 전과 매칭 후에 대응되는 점의 쌍에 가중치를 부여하는 단계;Weighting a pair of corresponding points before and after the matching; 상기 가중치가 부여된 점의 쌍에서 노이즈가 있는 데이터를 제거하는 단계;Removing noisy data from the pair of weighted points; 상기 노이즈가 제거된 데이터에서 오차 기준을 정의하고 오차를 최소화하는 단계; 및Defining an error criterion and minimizing the error in the noise-free data; And 오차가 원하는 범위 내에 있을 때까지 상기 단계를 반복하는 단계;Repeating the above steps until the error is within a desired range; 를 포함하는 것을 특징으로 하는 파이프 정렬을 위한 3차원 형상복원 및 레지스레이션 방법.3D shape restoration and registration method for pipe alignment comprising a.
KR1020060098894A 2006-10-11 2006-10-11 Three dimensions of algorithm for pipe alignment in shape reconstruction and registration KR100886656B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060098894A KR100886656B1 (en) 2006-10-11 2006-10-11 Three dimensions of algorithm for pipe alignment in shape reconstruction and registration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060098894A KR100886656B1 (en) 2006-10-11 2006-10-11 Three dimensions of algorithm for pipe alignment in shape reconstruction and registration

Publications (2)

Publication Number Publication Date
KR20080032855A true KR20080032855A (en) 2008-04-16
KR100886656B1 KR100886656B1 (en) 2009-03-04

Family

ID=39573218

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060098894A KR100886656B1 (en) 2006-10-11 2006-10-11 Three dimensions of algorithm for pipe alignment in shape reconstruction and registration

Country Status (1)

Country Link
KR (1) KR100886656B1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101337652B1 (en) * 2012-03-09 2013-12-05 삼성중공업 주식회사 Method for analyzing the manufacturing error of hull block
KR101640228B1 (en) * 2016-01-14 2016-07-22 와파시스템 주식회사 Pipe drawings generating system, pipe drawings generating method and recording medium
CN104008242B (en) * 2014-05-28 2017-01-04 西北工业大学 Multipoint distribution processing method for multiple boundary nodes in Nurbs-based finite element method
CN111754462A (en) * 2020-05-28 2020-10-09 新拓三维技术(深圳)有限公司 Visual detection method and system for three-dimensional bent pipe
CN113177283A (en) * 2021-04-28 2021-07-27 中国能源建设集团广东省电力设计研究院有限公司 Intelligent design method, system, equipment and storage medium for instrument measuring point installation
CN116626706A (en) * 2023-05-12 2023-08-22 北京交通大学 Rail transit tunnel intrusion detection method and system

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101500911B1 (en) * 2014-11-18 2015-03-12 중앙대학교 산학협력단 Method and apparatus for modeling 3d industrial object using 3d scanning data
KR101493659B1 (en) 2014-11-18 2015-02-16 중앙대학교 산학협력단 Method and apparatus for modeling pipe using 3 dimensional scanning data
KR101842698B1 (en) * 2015-08-05 2018-03-27 삼인정보시스템(주) Mesurement apparatus and method
KR102303089B1 (en) * 2019-08-30 2021-09-15 삼육대학교산학협력단 Assessment system for risk of building

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3439383B2 (en) 1999-06-30 2003-08-25 京セラミタ株式会社 Remote diagnostic method for facsimile machine and facsimile machine suitable for the method
JP3786412B2 (en) 2002-03-13 2006-06-14 本田技研工業株式会社 Fillet creation method and 3D CAD program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101337652B1 (en) * 2012-03-09 2013-12-05 삼성중공업 주식회사 Method for analyzing the manufacturing error of hull block
CN104008242B (en) * 2014-05-28 2017-01-04 西北工业大学 Multipoint distribution processing method for multiple boundary nodes in Nurbs-based finite element method
KR101640228B1 (en) * 2016-01-14 2016-07-22 와파시스템 주식회사 Pipe drawings generating system, pipe drawings generating method and recording medium
CN111754462A (en) * 2020-05-28 2020-10-09 新拓三维技术(深圳)有限公司 Visual detection method and system for three-dimensional bent pipe
CN113177283A (en) * 2021-04-28 2021-07-27 中国能源建设集团广东省电力设计研究院有限公司 Intelligent design method, system, equipment and storage medium for instrument measuring point installation
CN116626706A (en) * 2023-05-12 2023-08-22 北京交通大学 Rail transit tunnel intrusion detection method and system
CN116626706B (en) * 2023-05-12 2024-01-16 北京交通大学 Rail transit tunnel intrusion detection method and system

Also Published As

Publication number Publication date
KR100886656B1 (en) 2009-03-04

Similar Documents

Publication Publication Date Title
KR100886656B1 (en) Three dimensions of algorithm for pipe alignment in shape reconstruction and registration
Rabbani et al. An integrated approach for modelling and global registration of point clouds
US7565216B2 (en) Clearance measurement of manufactured parts
Huang et al. Combinatorial manifold mesh reconstruction and optimization from unorganized points with arbitrary topology
Becker et al. Semiautomatic 3D-model extraction from uncalibrated 2D-camera views
US6748112B1 (en) Method and apparatus for finding shape deformations in objects having smooth surfaces
Hartley et al. Parameter-free radial distortion correction with center of distortion estimation
Li et al. Free-form surface inspection techniques state of the art review
WO2014024579A1 (en) Optical data processing device, optical data processing system, optical data processing method, and optical data processing-use program
Newman et al. A system for 3D CAD-based inspection using range images
JP5523378B2 (en) Method and system for determining the attitude of a probe relative to an object by probing the object with the probe
CN111489432B (en) Bent pipe reconstruction and allowance calculation method based on point cloud data
CN112699573B (en) Reverse modeling method and system of virtual pipeline model and electronic equipment
CN111400830A (en) Machining and calibrating method and device for three-dimensional blank workpiece
Liu et al. Tube measurement based on stereo-vision: a review
US6611791B1 (en) Method for combining partially measured data
US6711530B1 (en) Method for evaluating error in shape of free curved surface
Radvar-Esfahlan et al. Robust generalized numerical inspection fixture for the metrology of compliant mechanical parts
Cauchois et al. Calibration of the omnidirectional vision sensor: SYCLOP
Ko et al. Shape intrinsic fingerprints for free-form object matching
CN109285210B (en) Pipeline three-dimensional reconstruction method combining topological relation and epipolar constraint
Jin et al. A multi-vision-based system for tube inspection
Bradley et al. A simple, low cost, 3D scanning system using the laser light-sectioning method
CN111951401B (en) Precise three-dimensional geometric model construction method of pipeline elbow capable of being used for laser scanning
Teutsch et al. Evaluation and correction of laser-scanned point clouds

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E90F Notification of reason for final refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20130201

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20140129

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20150202

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee