KR20130050420A - A measurement equipment and method for shape measure of curved spring - Google Patents

A measurement equipment and method for shape measure of curved spring Download PDF

Info

Publication number
KR20130050420A
KR20130050420A KR1020110115469A KR20110115469A KR20130050420A KR 20130050420 A KR20130050420 A KR 20130050420A KR 1020110115469 A KR1020110115469 A KR 1020110115469A KR 20110115469 A KR20110115469 A KR 20110115469A KR 20130050420 A KR20130050420 A KR 20130050420A
Authority
KR
South Korea
Prior art keywords
pitch
image
point
curved spring
turns
Prior art date
Application number
KR1020110115469A
Other languages
Korean (ko)
Other versions
KR101306583B1 (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 KR1020110115469A priority Critical patent/KR101306583B1/en
Publication of KR20130050420A publication Critical patent/KR20130050420A/en
Application granted granted Critical
Publication of KR101306583B1 publication Critical patent/KR101306583B1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/24Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
    • G01B11/25Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures by projecting a pattern, e.g. one or more lines, moiré fringes on the object
    • G01B11/2545Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures by projecting a pattern, e.g. one or more lines, moiré fringes on the object with one projection direction and several detection directions, e.g. stereo
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/02Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
    • G01B11/024Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness by means of diode-array scanning
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/08Measuring arrangements characterised by the use of optical techniques for measuring diameters
    • G01B11/10Measuring arrangements characterised by the use of optical techniques for measuring diameters of objects while moving
    • G01B11/105Measuring arrangements characterised by the use of optical techniques for measuring diameters of objects while moving using photoelectric detection means
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8806Specially adapted optical and illumination features

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

PURPOSE: A curved spring inspection device and an inspection method are provided to improve workability and reliability of inspecting the curved spring. CONSTITUTION: A curved spring inspection device comprises a flat plate type backlight(110), a fixed camera(120), a movable camera(120), 3-axis transporting units(141, 143), and an inspection controller(150). The backlight provides a space where the curved spring is plated and emits lights. The fixed camera is arranged perpendicularly in the upper part of the backlight and photographs the whole images of the curved spring placed on the backlight. The movable camera magnify-photographs partial images of the curved spring. The 3-axis transporting units transport the movable camera in an X-axis, a Y-axis, and a Z-axis. The inspection controller moves the movable camera by controlling the 3-axis transporting units based on the images photographed by the fixed camera and the movable camera and determines the existence of the faulty curved spring by analyzing the images photographed by the movable camera.

Description

곡선형 스프링 검사장치 및 검사방법{A measurement equipment and method for shape measure of curved spring}A measurement equipment and method for shape measure of curved spring}

본 발명은 곡선형 스프링의 검사방치 및 검사방법에 관한 것으로, 특히 자동 변속기와 엔진의 동력 전달 부품인 토오크 컨버트 등에 완충 장치로써 사용되는 곡선형 스프링의 검사작업을 비젼 시스템을 이용하여 비접촉식 방식으로 자동 검사할 수 있도록 한 곡선형 스프링 검사장치 및 검사방법에 관한 것이다.The present invention relates to the inspection method and inspection method of the curved spring, and in particular, the inspection work of the curved spring, which is used as a shock absorber, such as a torque converter, which is an automatic transmission and a power transmission part of the engine, automatically by a non-contact method using a vision system. The present invention relates to a curved spring inspection device and inspection method for inspecting.

일반적으로 자동차의 자동 변속기와 엔진의 동력 전달 부품인 토오크 컨버터 등에는 완충 장치가 사용되고 있으며, 이 완충 장치의 주요 부품으로 원형으로 굽어진 구조를 갖는 곡선형 스프링이 사용되고 있다.In general, a shock absorber is used for an automatic transmission of an automobile and a torque converter, which is a power transmission part of an engine, and a curved spring having a circular curved structure is used as a main part of the shock absorber.

상기 곡선형 스프링은 기존 직선형 스프링에 비하여 부품의 소형화 및 단순화 그리고 성능 개선이 가능한 장점을 갖고 있으며, 요구되는 성능을 제대로 구현하기 위해서는 설계단계에서 계획된 반경으로 굽어진 형상을 갖도록 정확히 제작되어야 한다.The curved spring has the advantage of miniaturization, simplification and performance improvement of components compared to the existing straight spring, and in order to properly implement the required performance, it must be accurately manufactured to have a bent shape with the planned radius in the design stage.

따라서 제작된 곡선형 스프링이 설계자가 의도한 반경으로 올바르게 굽어지진 구조로 제작되었는지를 검사하기 위한 검사작업을 실시해야만 하지만, 곡선형 스프링의 구조적인 특성 상 마땅한 검사장치가 없어 수작업에 의존하고 있는 실정이다.Therefore, the inspection work must be carried out to check whether the fabricated curved spring is made of a structure bent correctly to the intended radius of the designer. However, due to the structural characteristics of the curved spring, there is no proper inspection device. to be.

그러나 종래의 검사방법은 둥근 형태의 측정지그를 이용한 수작업 방식으로, 측정작업이 용이하지 못한 것은 물론이고, 정확한 측정이 어려우며, 측정자에 따라 편차가 심하여 측정 신뢰도가 낮은 문제점이 있다.However, the conventional inspection method is a manual method using a measuring jig of a round shape, the measurement operation is not easy, of course, accurate measurement is difficult, there is a problem that the measurement reliability is low due to the severe deviation depending on the measurer.

본 발명은 상기와 같은 문제점을 고려하여 이루어진 것으로, 본 발명의 목적은 곡선형 스프링의 검사작업을 실시함에 있어서 비젼 시스템을 이용하여 자동으로 곡선형 스프링의 불량 여부를 검사할 수 있으며, 이를 통해 곡선형 스프링의 검사작업에 대한 작업성과 신뢰성을 향상시킬 수 있는 곡선형 스프링 검사장치 및 검사방법을 제공함에 있다.The present invention has been made in consideration of the above problems, and an object of the present invention is to automatically inspect the failure of the curved spring using a vision system in performing the inspection operation of the curved spring, through this curve It is to provide a curved spring inspection device and inspection method that can improve the workability and reliability of the inspection work of the type spring.

상기한 바와 같은 목적을 달성하고 종래의 결점을 제거하기 위한 과제를 수행하는 본 발명의 곡선형 스프링 검사장치는 곡선형 스프링이 놓여지는 공간을 제공하며, 빛을 발산하는 평판형 구조의 백라이트; 상기 백라이트의 수직 상부에 위치하도록 배치되어 백라이트 상에 놓인 곡선형 스프링의 전체 영상을 촬영하는 고정 카메라; 상기 백라이트의 수직 상부에 위치하도록 배치되어 백라이트 상에 놓인 곡선형 스프링의 국부 영상을 확대 촬영하는 이동 카메라; 상기 이동 카메라를 X축과 Y축 및 Z축 방향으로 이송시키는 3축 이송 유니트; 및 상기 고정 카메라와 이동 카메라에 의해 촬영된 영상에 기초하여 3축 이송 유니트를 제어하여 이동 카메라를 이동시키며, 이동 카메라에 의해 촬영되는 영상을 분석하여 곡선형 스프링의 불량여부를 판정하는 검사 컨트롤러로 구성된 것을 특징으로 한다.Curved spring inspection apparatus of the present invention to achieve the object as described above and to perform the problem for eliminating the conventional drawbacks provides a space in which the curved spring is placed, the backlight of the flat structure to emit light; A fixed camera arranged to be positioned at a vertical upper portion of the backlight to capture the entire image of the curved spring placed on the backlight; A mobile camera arranged to be positioned at a vertical upper portion of the backlight to enlarge and photograph a local image of a curved spring placed on the backlight; A three-axis transfer unit which transfers the mobile camera in X, Y, and Z axis directions; And an inspection controller for controlling a three-axis transfer unit based on the images photographed by the fixed camera and the mobile camera to move the mobile camera, and analyzing the image taken by the mobile camera to determine whether the curved spring is defective. Characterized in that configured.

이때 상기 백라이트는 적색 LED로 구성되는 것이 바람직하다.At this time, the backlight is preferably composed of a red LED.

한편 본 발명의 곡선형 스프링 검사방법은 백라이트 상에 놓인 곡선형 스프링의 전체 영상을 고정 카메라를 이용하여 촬영하고, 검사 컨트롤러가 촬영된 영상으로부터 곡선형 스프링의 0권 피치점에 대한 좌표를 검출하는 단계(S100); 상기 S100 단계에서 검출된 0권 피치점으로 이동 카메라를 이동시켜 0권에 대한 국부 영상을 촬영하고, 촬영된 영상으로부터 검출되는 0권 피치점과 좌면각 및 미리 입력된 곡선형 스프링의 기준 외측 반경을 이용하여 가상 중심점을 설정하는 단계(S200); 상기 S200 단계에서 설정된 가상 중심점과 이동 카메라에서 촬영된 영상을 분석하여 다음 권수 피치점을 검출하고, 검출된 다음 권수 피치점과 가상 중심점을 이용하여 그 다음 권수 피치점을 검출하는 과정을 반복하여 0권 이외의 각 권수 피치점을 검출하는 단계(S300); 상기 S300 단계에서 검출된 각 권수 피치점을 이용하여 원의 방정식을 도출하고, 도출된 원의 방정식을 이용하여 곡선형 스프링의 외측 반경 중심점을 도출하는 단계(S400); 앞선 단계에서 검출된 각 권수 피치점으로 이동 카메라를 이동시키며 각 권수 피치점을 재촬영하고, 재촬영된 각 권수 영상과 앞선 단계에서 검출된 외측 반경 중심점을 이용하여 각 권수의 피치점을 재검출하는 단계(S500); 상기 S500 단계에서 재검출된 각 권수의 피치점을 이용하여 원의 방정식을 도출하며, 도출된 원의 방정식을 이용하여 곡선형 스프링의 외측 반경 중심점을 다시 도출하는 단계(S600); 상기 S600 단계에서 도출된 외측 반경 중심점과 바로 이전 도출된 외측 반경 중심점이 미리 입력된 오차범위 내에 있는지 확인하여, 두 외측 반경 중심점이 오차범위 내에 있으면, 최종 외측 반경 중심점과 각 권수 피치점의 사이거리를 연산하고, 연산된 사이거리와 미리 입력된 해당 곡선형 스프링의 기준 외측 반경을 비교하여 곡선형 스프링의 불량여부를 판정하는 단계(S700); 및 상기 S700 단계에서 두 외측 반경 중심점이 오차범위 내에 있지 않으면, 상기 S500 단계 내지 상기 S700 단계를 반복하는 단계(S800)로 구성된 것을 특징으로 한다.Meanwhile, the curved spring inspection method of the present invention photographs the entire image of the curved spring placed on the backlight using a fixed camera, and the inspection controller detects the coordinates of the zero-volume pitch point of the curved spring from the captured image. Step S100; The moving camera is moved to the zero-volume pitch point detected in step S100 to take a local image of the zero-volume, the zero-volume pitch point and the left angle detected from the photographed image, and the reference outer radius of the curved spring input in advance. Setting a virtual center point by using a step (S200); Analyzing the virtual center point set in the step S200 and the image taken by the mobile camera to detect the next number of pitch points, and then repeats the process of detecting the next number of turns pitch point using the detected next number of pitch points and the virtual center point 0 Detecting each number of winding pitch points other than the number of turns (S300); Deriving an equation of a circle using the number of turns pitch points detected in the step S300 and deriving an outer radius center point of the curved spring using the derived circle equation (S400); Move the camera to each number of pitch points detected in the previous step. Move the camera and retake each number of pitch points. Re-detect the pitch point of each number of windings using the re-photographed number of images and the outer radius center point detected in the previous step. Step (S500); Deriving an equation of a circle using a pitch point of each number of turns redetected in the step S500, and again deriving an outer radius center point of the curved spring using the derived circle equation (S600); Check whether the outer radius center point derived in step S600 and the outer radius center point immediately derived are within a preset error range, and if the two outer radius center points are within the error range, the distance between the final outer radius center point and each winding pitch point Calculating and comparing the calculated distance between the reference outer radius of the corresponding curved spring input in advance to determine whether the curved spring is defective (S700); And if the two outer radius center points are not within the error range in step S700, repeating steps S500 to S700 (S800).

상기와 같은 특징을 갖는 본 발명에 의하면, 백라이트 상에 놓여진 곡선형 스프링의 영상을 촬영하고, 촬영된 영상을 분석하여 곡선형 스프링의 불량여부를 판정하도록 함으로써, 곡선형 스프링의 검사작업에 대한 작업성과 신뢰성을 향상시킬 수 있는 효과가 있다.According to the present invention having the characteristics as described above, by taking an image of the curved spring placed on the backlight, and by analyzing the photographed image to determine whether the curved spring is defective, work on the inspection operation of the curved spring This has the effect of improving performance and reliability.

도 1 은 본 발명에 따른 곡선형 스프링 검사장치의 구조를 보인 정면도,
도 2 는 본 발명에 따른 곡선형 스프링 검사장치의 구조를 보인 평면도,
도 3 은 본 발명에 따른 검사 컨트롤러와 다른 장치와의 연결구조를 보인 블록도,
도 4 는 본 발명에 따른 검사방법의 공정순서를 보인 순서도,
도 5 는 고정 카메라에 의해 획득한 영상을 이용하여 0권 피치점을 검출하는 과정은 보인 예시도,
도 6 은 이동 카메라에 의해 촬영된 0권 피치점의 영상,
도 7 은 좌면각을 검출하는 과정을 보인 예시도,
도 8 은 회전된 영상을 분석하여 피치점을 검출하는 과정을 보인 예시도,
도 9 는 이동 카메라가 1권 피치점으로 이동하여 촬영한 영상,
도 10 은 각 권수 피치점의 재검출원리를 보인 예시도,
도 11 은 외측 반경 측정 및 중심과 권수 끝단의 거리와 각도를 측정 완료하고 합부 판정을 표시장치를 통해 나타낸 영상.
1 is a front view showing the structure of a curved spring inspection apparatus according to the present invention,
2 is a plan view showing the structure of a curved spring inspection apparatus according to the present invention,
3 is a block diagram showing a connection structure between an inspection controller and another device according to the present invention;
4 is a flowchart showing a process sequence of the inspection method according to the present invention;
5 is an exemplary view illustrating a process of detecting a zero-volume pitch point by using an image acquired by a fixed camera.
6 is an image of volume 0 pitch point photographed by a mobile camera;
7 is an exemplary view illustrating a process of detecting a seat angle;
8 is an exemplary view illustrating a process of detecting a pitch point by analyzing a rotated image;
9 is an image taken by the mobile camera moving to one pitch point;
10 is an exemplary view showing a redetection principle of each number of winding pitch points;
11 is an image showing the outer radius measurement and the measurement of the distance and the angle between the center and the end of the number of turns and the acceptance determination through the display device.

이하, 본 발명의 바람직한 실시예를 첨부된 도면과 연계하여 상세히 설명하면 다음과 같다. 본 발명을 설명함에 있어서, 관련된 공지기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명은 생략한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear.

도 1은 본 발명에 따른 곡선형 스프링 검사장치의 구조를 보인 정면도를, 도 2는 본 발명에 따른 곡선형 스프링 검사장치의 구조를 보인 평면도를 도시하고 있다.1 is a front view showing the structure of the curved spring inspection apparatus according to the present invention, Figure 2 is a plan view showing the structure of the curved spring inspection apparatus according to the present invention.

본 발명에 따른 곡선형 스프링 검사장치는 백라이트(110)와, 고정 카메라(120)와, 이동 카메라(130)와, 3축 이송 유니트(141,142,143)와, 검사 컨트롤러(150)로 구성되어 있다.The curved spring inspection apparatus according to the present invention includes a backlight 110, a fixed camera 120, a mobile camera 130, three-axis transfer units 141, 142, 143, and an inspection controller 150.

상기 백라이트(110)는 측정하고자 하는 곡선형 스프링이 놓여지는 공간을 제공하며 놓여진 곡선형 스프링의 빛을 발산하여 곡선형 스프링의 보다 선명하게 촬영될 수 있는 환경을 제공하게 된다. 한편 백라이트(110)는 평판형의 구조를 갖는 발광체 패널로써, 이러한 백라이트(110)는 컴퓨터 모니터나 TV 등에 사용되고 있는 주지 관용된 기술이므로 백라이트(110)의 구조에 대한 상세한 설명은 생략하도록 한다.The backlight 110 provides a space in which the curved spring to be measured is placed and emits light of the placed curved spring to provide an environment in which the curved spring can be photographed more clearly. Meanwhile, the backlight 110 is a light emitting panel having a flat panel structure. Since the backlight 110 is a well-known technique used in a computer monitor or a TV, a detailed description of the structure of the backlight 110 will be omitted.

다만 본 발명에 따른 백라이트(110)의 경우, 카메라(120,130)를 이용한 곡선형 스프링의 형상에 대한 데이터를 정확하게 획득할 수 있도록 하기 위한 적색 LED를 이용하여 백라이트(110)를 구성하는 것이 바람직하다.However, in the case of the backlight 110 according to the present invention, it is preferable to configure the backlight 110 by using a red LED for accurately acquiring data on the shape of the curved spring using the cameras 120 and 130.

상기 고정 카메라(120)는 백라이트(110)의 수직 상부에서 백라이트(110)와 이격되게 배치되어 백라이트(110) 상에 놓인 곡선형 스프링의 전체 영상을 촬영하게 된다.The fixed camera 120 is spaced apart from the backlight 110 at a vertical upper portion of the backlight 110 to capture the entire image of the curved spring placed on the backlight 110.

상기 이동 카메라(130)는 백라이트(110)의 수직 상부에서 백라이트(110)와 이격되게 배치되며, 검사 컨트롤러(150)의 제어에 의해 이동하며 곡선형 스프링의 국부 영상을 촬영하게 된다.The mobile camera 130 is disposed to be spaced apart from the backlight 110 in a vertical upper portion of the backlight 110, and moves under the control of the inspection controller 150 to capture a local image of the curved spring.

이와 같은 고정 카메라(120)와 이동 카메라(130)는 흑백 카메라로 구성될 수 있다.The fixed camera 120 and the mobile camera 130 may be configured as a black and white camera.

상기 3축 이송 유니트(141,142,143)는 검사 컨트롤러(150)의 제어에 의하여 이동 카메라(130)를 이동시키는 것으로, X축 이송 유니트(141)와, Y축 이송 유니트(142) 및 Z축 이송 유니트(143)로 구성되어 이동 카메라(130)를 X/Y/Z축방향으로 자유롭게 이동시킬 수 있도록 구성된다. 각축 이송 유니트(141,142,143)에는 이송모터(M)와, 이송모터(M)의 회전수를 감지하기 위한 엔코더(E)가 마련되어 검사 컨트롤러(150)가 이동 카메라(130)의 위치를 정확하게 인지하고, 제어할 수 있도록 구성되어 있으며, X축 이송 유니트(141)는 백라이트(110)의 가로 방향으로 연장되고, Y축 이송 유니트(142)는 백라이트(110)의 세로 방향으로 연장되며, Z축 이송 유니트(143)는 백라이트(110)로부터 수직 방향으로 연장된 구조로 배치되어 있다. 이러한 3축 이송 유니트(141,142,143)는 다양한 산업분야에서 활용되고 있는 주지 관용된 기술이므로 보다 구체적인 설명은 생략하도록 한다.The three-axis transfer unit (141, 142, 143) moves the mobile camera 130 under the control of the inspection controller 150, the X-axis transfer unit 141, the Y-axis transfer unit 142 and Z-axis transfer unit ( 143) is configured to freely move the mobile camera 130 in the X / Y / Z axis direction. Each axis transfer unit (141, 142, 143) is provided with a feed motor (M), and an encoder (E) for detecting the rotational speed of the feed motor (M), the inspection controller 150 accurately recognizes the position of the mobile camera 130, Is configured to control, the X-axis transfer unit 141 extends in the horizontal direction of the backlight 110, the Y-axis transfer unit 142 extends in the longitudinal direction of the backlight 110, Z-axis transfer unit 143 is disposed in a structure extending in the vertical direction from the backlight 110. Since the three-axis transfer unit (141, 142, 143) is a well-known technique that is used in various industries, a more detailed description thereof will be omitted.

도 3은 본 발명에 따른 검사 컨트롤러와 다른 장치와의 연결구조를 보인 블록도를 도시하고 있다.3 is a block diagram showing a connection structure between an inspection controller and another device according to the present invention.

상기 검사 컨트롤러(150)는 고정 카메라(120)와 이동 카메라(130)에 의해 촬영된 영상에 기초하여 3축 이송 유니트(141,142,143)를 제어하여 이동 카메라(130)를 이동시키며, 이동 카메라(130)에 의해 촬영된 영상을 분석하여 각 권수 피치점과 곡선형 스프링의 외측 반경을 검출함으로써 해당 곡선형 스프링의 불량여부를 판정하는 것이다.The inspection controller 150 moves the mobile camera 130 by controlling the three-axis transfer unit 141, 142, 143 based on the images captured by the fixed camera 120 and the mobile camera 130, and the mobile camera 130. By analyzing the image photographed by using the number of turns pitch point and the outer radius of the curved spring to determine whether the corresponding curved spring is defective.

이러한 검사 컨트롤러(150)는 화상 인터페이스를 매개로 고정 카메라(120) 및 이동 카메라(130)와 연결되어 고정 카메라(120) 및 이동 카메라(130)를 제어함과 더불어 두 카메라에서 촬영된 영상을 전송받고, 백라이트(110)와는 조명 컨트롤러를 매개로 연결되어 검사작업의 진행상황에 따라 백라이트(110)를 제어하게 되며, 3축 이송 유니트(141,142,143)를 구성하는 각축 이송 유니트의 이송모터(M) 및 엔코더(E)와는 모터 제어 인터페이스를 매개로 연결되어 모터를 제어하게 되며, 검사 컨트롤러(150)에 의해 이루어진 검사 결과를 표시장치를 통해 표시하게 된다.
The inspection controller 150 is connected to the fixed camera 120 and the mobile camera 130 through the image interface to control the fixed camera 120 and the mobile camera 130, and transmits images captured by the two cameras. Receiving, the backlight 110 is connected to the lighting controller to control the backlight 110 according to the progress of the inspection operation, the transfer motor (M) of each axis transfer unit constituting the three-axis transfer unit (141, 142, 143) and The encoder E is connected to the motor control interface to control the motor, and the test result made by the test controller 150 is displayed on the display device.

상기와 같이 구성된 곡선형 스프링 검사장치를 이용하여 곡선형 스프링의 불량여부를 검사하는 방법에 대해 설명하도록 한다. 한편 이하의 설명에서 특별한 언급이 없는 한 "해당 권수"는 이동 카메라의 촬영기준이 되어 영상 중심에 위치한 권수를 의미하고, "다음 권수"는 해당 권수 이후 피치점의 검출이 이루어지는 다음 권수를 의미하는 것으로써, 검사 단계가 진행됨에 따라 "다음 권수"는 "해당 권수"로 바뀌고, 다시 새로운 "다음 권수"가 나타나는 과정을 반복하게 된다.It will be described how to check whether the curved spring is defective using the curved spring inspection device configured as described above. Unless otherwise specified in the following description, "the number of turns" refers to the number of turns positioned at the center of the image as a photographing standard of the mobile camera, and "next turns" means the number of turns after the number of turns is detected. As a result, the "next volume" is changed to "the number of volumes" as the inspection step progresses, and a new "next volume" is displayed again.

또한 상기 언급된 피치점은 각 권수의 가장 바깥쪽에 위치하는 한 점을 의미하는 것으로, 이러한 피치점의 정의는 이하의 설명에서도 동일하다.In addition, the above-mentioned pitch point means one point located in the outermost part of each turn, and the definition of such a pitch point is the same also in the following description.

도 4는 본 발명에 따른 검사방법의 공정순서를 보인 순서도를 도시하고 있다.Figure 4 shows a flow chart showing the process sequence of the inspection method according to the present invention.

상기와 같이 구성된 검사장치를 이용하여 구현되는 본 발명의 곡선형 스프링 검사방법은 백라이트(110) 상에 놓인 곡선형 스프링의 전체 영상을 고정 카메라(120)를 이용하여 촬영하고, 검사 컨트롤러(150)가 촬영된 영상으로부터 곡선형 스프링의 0권 피치점에 대한 좌표를 검출하는 단계(S100); 상기 S100 단계에서 검출된 0권 피치점으로 이동 카메라(130)를 이동시켜 0권에 대한 국부 영상을 촬영하고, 촬영된 영상으로부터 검출되는 0권 피치점과 좌면각 및 미리 입력된 곡선형 스프링의 기준 외측 반경을 이용하여 가상 중심점을 설정하는 단계(S200); 상기 S200 단계에서 설정된 가상 중심점과 이동 카메라(130)에서 촬영된 영상을 분석하여 다음 권수 피치점을 검출하고, 검출된 다음 권수 피치점과 가상 중심점을 이용하여 그 다음 권수 피치점을 검출하는 과정을 반복하여 0권 이외의 각 권수 피치점을 검출하는 단계(S300); 상기 S300 단계에서 검출된 각 권수 피치점을 이용하여 원의 방정식을 도출하고, 도출된 원의 방정식을 이용하여 곡선형 스프링의 외측 반경 중심점을 도출하는 단계(S400); 앞선 단계에서 검출된 각 권수 피치점으로 이동 카메라(130)를 이동시키며 각 권수 피치점을 재촬영하고, 재촬영된 각 권수 영상과 앞선 단계에서 검출된 외측 반경 중심점을 이용하여 각 권수의 피치점을 재검출하는 단계(S500); 상기 S500 단계에서 재검출된 각 권수의 피치점을 이용하여 원의 방정식을 도출하며, 도출된 원의 방정식을 이용하여 곡선형 스프링의 외측 반경 중심점을 다시 도출하는 단계(S600); 상기 S600 단계에서 도출된 외측 반경 중심점과 바로 이전 도출된 외측 반경 중심점이 미리 입력된 오차범위 내에 있는지 확인하여, 두 외측 반경 중심점이 오차범위 내에 있으면, 최종 외측 반경 중심점과 각 권수 피치점의 사이거리를 연산하고, 연산된 사이거리와 미리 입력된 해당 곡선형 스프링의 기준 외측 반경을 비교하여 곡선형 스프링의 불량여부를 판정하는 단계(S700); 및 상기 S700 단계에서 두 외측 반경 중심점이 오차범위 내에 있지 않으면, 상기 S500 단계 내지 상기 S700 단계를 반복하는 단계(S800)로 구성되어 있다.Curved spring inspection method of the present invention implemented using the inspection device configured as described above is photographing the entire image of the curved spring placed on the backlight 110 using the fixed camera 120, the inspection controller 150 Detecting coordinates of the zero pitch point of the curved spring from the captured image (S100); The moving camera 130 is moved to the zero pitch point detected in step S100 to take a local image of the zero volume, and the zero volume pitch and the left angle and the curved spring input previously detected from the photographed image. Setting a virtual center point using a reference outer radius (S200); Analyzing the virtual center point set in step S200 and the image photographed by the mobile camera 130 to detect the next number of pitch points, and detecting the next number of pitch points using the detected next number of pitch points and the virtual center point. Iteratively detecting each number of pitch points other than 0 (S300); Deriving an equation of a circle using the number of turns pitch points detected in the step S300 and deriving an outer radius center point of the curved spring using the derived circle equation (S400); Move the camera 130 to each of the number of winding pitch points detected in the previous step and retake each number of winding pitch points, and use the re-photographed number of winding images and the outer radius center point detected in the previous step to determine the pitch of each number of turns. Re-detecting (S500); Deriving an equation of a circle using a pitch point of each number of turns redetected in the step S500, and again deriving an outer radius center point of the curved spring using the derived circle equation (S600); Check whether the outer radius center point derived in step S600 and the outer radius center point immediately derived are within a preset error range, and if the two outer radius center points are within the error range, the distance between the final outer radius center point and each winding pitch point Calculating and comparing the calculated distance between the reference outer radius of the corresponding curved spring input in advance to determine whether the curved spring is defective (S700); And when the two outer radius center points are not within the error range in step S700, repeating steps S500 to S700 (S800).

도 5는 고정 카메라에 의해 획득한 영상을 이용하여 0권 피치점을 검출하는 과정은 보인 예시도를 도시하고 있다.5 illustrates an example of a process of detecting a zero-volume pitch point by using an image acquired by a fixed camera.

측정하고자 하는 곡선형 스프링을 백라이트(110) 위에 올려놓고, 검사장치를 실행시키게 되면, 이동 카메라(130)는 원점 위치로 이동하게 되며, 작업자는 검사대상 곡선형 스프링의 이상적인 기준 외측 반경을 미리 검사장치에 입력하게 된다. 한편 검사 컨트롤러(150)는 미리 입력된 기준 외측 반경과 검사작업을 통해 연산되는 외측 반경을 비교함으로써 곡선형 스프링의 불량여부를 판정하게 된다.When the curved spring to be measured is placed on the backlight 110 and the inspection apparatus is executed, the moving camera 130 moves to the origin position, and the operator inspects in advance the ideal reference outer radius of the curved spring to be inspected. Will be entered into the device. Meanwhile, the inspection controller 150 determines whether the curved spring is defective by comparing the reference outer radius input in advance with the outer radius calculated through the inspection operation.

상기 S100 단계는 백라이트(110) 상에 놓인 곡선형 스프링의 0권 피치점을 검출하는 단계이다.The step S100 is a step of detecting a zero-pitch pitch point of the curved spring placed on the backlight 110.

백라이트(110) 상에는 곡선형 스프링의 위치를 정렬하기 위한 아무런 수단이 마련되어 있지 않으므로, 백라이트(110) 상에 놓여지는 곡선형 스프링의 자세 및 위치는 매번 다르다. 따라서 고정 카메라(120)를 이용하여 백라이트(110) 상에 놓여진 곡선형 스프링의 전체 영상을 촬영하고, 고정 카메라(120)에서 촬영된 영상을 분석하여 0권 피치점을 검출하게 된다.Since no means are provided for aligning the position of the curved spring on the backlight 110, the attitude and position of the curved spring lying on the backlight 110 are different each time. Therefore, the entire image of the curved spring placed on the backlight 110 is photographed using the fixed camera 120, and the zero-pixel pitch point is detected by analyzing the image photographed by the fixed camera 120.

보다 구체적으로, 고정 카메라(120)에 의해 촬영된 흑백 화상 정보는 화소(pixel)를 명암(밝기)의 값으로 나타낼 수 있으며, 8비트의 경우 0~255의 범우에서 명암값을 이용하여 화소를 나타낼 수 있다. 즉 255는 가장 밝은 색(백색)을 갖는 화소이며, 0은 가장 어두운 색(흑색)을 갖는 화소이다. 따라서 카메라에서 촬영된 영상 내의 곡선형 스프링은 어두운 색을 갖는 화소로 표현되므로, 고정 카메라(120)에 의해 촬영된 영상의 흑백 구분이 보다 명확하게 드러나도록 필터링 처리한 뒤, 영상 내에서 어두운 색을 갖는 화소를 찾아냄으로써 0권 피치점을 검출하게 된다.More specifically, the black and white image information photographed by the fixed camera 120 may represent a pixel as a value of contrast (brightness), and in the case of 8 bits, the pixel may be represented using a contrast value in a range of 0 to 255. Can be represented. That is, 255 is the pixel having the brightest color (white) and 0 is the pixel having the darkest color (black). Therefore, since the curved spring in the image captured by the camera is represented by pixels having dark colors, the black color of the image captured by the fixed camera 120 is filtered to make the black and white distinction more apparent, and then the dark color in the image is filtered. The zero pitch point is detected by finding the pixel to have.

도 5의 경우, 영상의 좌측에서 우측방향으로 영상의 아래에서 위쪽으로 각 화소의 명암값을 분석하여 0권 피치점을 검출하는 방식을 예시하고 있으며, 이 경우 각 화소를 명암값을 확인하는 과정에서 미리 입력된 제품 인식 설정값(백라이트(110)의 명암값 보다 작은 값)이 처음 검출된 화소를 0권 피치점으로 검출하게 된다.In the case of FIG. 5, a method of detecting the zero pitch point by analyzing the contrast value of each pixel from the bottom of the image to the left to the right of the image is illustrated. The first detected pixel recognition value (value smaller than the contrast value of the backlight 110) is detected as the zero pitch value.

한편 고정 카메라(120)의 중심 위치를 3축 이송 유니트(141,142,143)와 이동 카메라(130)의 중심 위치와 일치하도록 설정하면 곡선형 스프링의 실제 검출 위치는 다음과 같은 [수식 1] 및 [수직 2]에 의하여 결정될 수 있다.On the other hand, if the center position of the fixed camera 120 is set to match the center positions of the three-axis transfer unit (141, 142, 143) and the mobile camera 130, the actual detection position of the curved spring is as follows [Equation 1] and [Vertical 2] ] Can be determined.

고정 카메라(120)의 화소 폭 크기: Fix_Image_Width (X축)Pixel width size of fixed camera 120: Fix_Image_Width (X-axis)

고정 카메라(120)의 화소 높이 크기 : Fix_Image_Height (Y축)Pixel height size of fixed camera 120: Fix_Image_Height (Y-axis)

고정 카메라(120)의 측정 단위 : Fix_image_UnitUnit of measurement of the fixed camera 120: Fix_image_Unit

고정 카메라(120)의 실제 중앙 X 위치 : Fix_Camera_Center_XActual center X position of fixed camera 120: Fix_Camera_Center_X

고정 카메라(120)의 실제 중앙 Y 위치 : Fix_Camera_Center_YActual center Y position of fixed camera 120: Fix_Camera_Center_Y

고정 카메라(120)의 측정 제품 검출 X 위치 : Fix_Image_Edge_XMeasurement product detection of fixed camera 120 X position: Fix_Image_Edge_X

고정 카메라(120)의 측정 제품 검출 Y 위치 : Fix_Image_Edge_YMeasurement product detection of fixed camera 120 Y position: Fix_Image_Edge_Y

측정 제품의 실제 X 위치 :Actual X position of the measured product:

Real_X = Fix_Camera_Center_X-(Fix_Image_Width×0.5-Fix_Image_Edge_X)×Fix_image_Unit ------- [수식1]Real_X = Fix_Camera_Center_X- (Fix_Image_Width × 0.5-Fix_Image_Edge_X) × Fix_image_Unit ------- [Equation 1]

측정 제품의 실제 Y 위치 :Actual Y position of the measured product:

Real_Y = Fix_Camera_Center_Y-(Fix_Image_Height×0.5-Fix_Image_Edge_Y)×Fix_image_Unit ------- [수식2]Real_Y = Fix_Camera_Center_Y- (Fix_Image_Height × 0.5-Fix_Image_Edge_Y) × Fix_image_Unit ------- [Equation 2]

이와 같은 수식에 의하여 연산된 실제 곡선형 스프링의 0권 피치점의 좌표를 이용하여 검사 컨트롤러(150)가 3축 이송 유니트(141,142,143)를 제어함으로써 이동 카메라(130)를 0권 피치점으로 이동시킬 수 있게 된다.The inspection controller 150 controls the three-axis transfer units 141, 142, and 143 using the coordinates of the zero pitch point of the actual curved spring calculated by the above equation to move the mobile camera 130 to the zero pitch point. It becomes possible.

도 6은 이동 카메라에 의해 촬영된 0권 피치점의 영상을 도시하고 있다.6 illustrates an image of volume 0 pitch point photographed by a mobile camera.

상기 S200 단계는 검출된 곡선형 스프링의 좌면각 및 가상 중심점을 설정하는 단계이다. 이러한 S200 단계는 S100 단계에서 검출된 0권 피치점의 좌표를 이용하여 검사 컨트롤러(150)가 3축 이송 유니트(141,142,143)를 제어하여 이동 카메라(130)의 중심이 0권 피치점의 수직상부에 위치하도록 이동 카메라(130)를 이동시키고, 이동이 완료된 이동 카메라(130)를 이용하여 0권이 포함된 국부 영상을 촬영하고, 촬영된 영상으로부터 좌면의 기울기(좌면각)를 구하고, 상기 좌면각과 0권 피치점 및 미리 입력된 기준 외측 반경을 이용하여 가상 중심점을 설정하게 된다.The step S200 is a step of setting the left face angle and the virtual center point of the detected curved spring. In step S200, the inspection controller 150 controls the three-axis transfer units 141, 142, and 143 using the coordinates of the zero-pitch point detected in step S100, so that the center of the mobile camera 130 is located on the vertical upper portion of the zero-pitch point. The mobile camera 130 is moved to be positioned, the local image including the zero volume is photographed using the mobile camera 130 which has been moved, and the inclination (left angle) of the left side is obtained from the captured image, and the left angle The virtual center point is set using the volume 0 pitch point and the reference outer radius input in advance.

통상 이상적인 곡선형 스프링은 좌면이 0권 피치점을 지나는 법선과 일치하도록 형성된다. 따라서 0권 피치점의 좌표를 검출하고, 좌면의 기울기각(좌면각)을 검출한 뒤, 이들 0권 피치점의 좌표와 좌면각 및 미리 입력된 기준 외측 반경을 이용하면 곡선형 스프링의 가상 중심점을 연산할 수 있게 된다.Typically, an ideal curved spring is formed such that the seating surface coincides with the normal through the zero volume pitch point. Therefore, after detecting the coordinates of volume 0 pitch point, detecting the inclination angle (left angle) of the left surface, and using the coordinates of the volume 0 pitch angle, the surface angle and the reference outer radius input in advance, the virtual center point of the curved spring Can be calculated.

도 7은 좌면각을 검출하는 과정을 보인 예시도를 도시하고 있다.7 is an exemplary view illustrating a process of detecting a seat angle.

도 7은 실제 얻어진 화상을 제품 인식 설정값으로 구분하여 흑백으로 화상을 필터링 처리한 것으로, 초기 0권의 끝단(0권 피치점)은 이송 카메라의 중앙에 위치하고 있으므로, 우측 하단 영역에서 0권 피치점의 검출과 마찬가지 방식으로 화소 정보를 분석하면 좌면 상에 위치한 다수 개의 검출점을 획득할 수 있다.7 is an image obtained by dividing the actual obtained image by the product recognition setting value, and the image is filtered in black and white. Since the end of the initial volume 0 (the volume 0 pitch point) is located at the center of the transfer camera, the volume 0 pitch is displayed in the lower right area. By analyzing the pixel information in the same manner as the detection of the point, a plurality of detection points located on the left surface can be obtained.

상기 검출된 다수 개의 검출점을 아래의 [수식3] 내지 [수식8]에 적용함으로써 좌면각 및 가상 중심점을 좌표를 구할 수 있다.By applying the detected plurality of detection points to Equations 3 to 8 below, the coordinates of the left angle and the virtual center point can be obtained.

이동 카메라(130)의 화소 폭 크기 : Move_Image_Width (X축)Pixel Width Size of Move Camera 130: Move_Image_Width (X-axis)

이동 카메라(130)의 화소 폭 크기 : Move_Image_Height (Y축)Pixel width of the moving camera 130: Move_Image_Height (Y-axis)

이동 카메라(130)의 측정 단위 : Move_Image_UnitMeasurement unit of the moving camera 130: Move_Image_Unit

이동 유니트 X축 현재 위치 : X_Unit_Cureent_PostMoving unit X axis Current position: X_Unit_Cureent_Post

이동 유니트 Y축 현재 위치 : Y_Unit_Crrrent_PostMoving unit Y axis Current position: Y_Unit_Crrrent_Post

이동 카메라(130)의 검출 X 위치 : Move_Image_Edge_XDetection X position of moving camera 130: Move_Image_Edge_X

이동 카메라(130)의 검출 Y 위치 : Move_Image_Edge_YDetection Y position of moving camera 130: Move_Image_Edge_Y

검출점의 실제 X 위치 :Actual X position of the detection point:

Real_X = X_Unit_Cureent_Post-(Move_Image_Width×0.5-Move_Image_Edge_X)×Move_Image_Unit ------- [수식3]Real_X = X_Unit_Cureent_Post- (Move_Image_Width × 0.5-Move_Image_Edge_X) × Move_Image_Unit ------- [Equation 3]

검출점의 실제 Y 위치 :Actual Y position of the detection point:

Real_Y = Y_Unit_Crrrent_Post-(Move_Image_Height×0.5-Move_Image_Edge_Y)×Move_Image_Unit ------- [수식4]Real_Y = Y_Unit_Crrrent_Post- (Move_Image_Height × 0.5-Move_Image_Edge_Y) × Move_Image_Unit ------- [Equation 4]

검출된 n개의 검출점에 대한 좌표를 최소제곱법을 적용하면 다음과 같이 n개의 좌표를 지나가는 최적의 좌면 직선 방정식 y = ax + b 를 구할 수 있다.Applying the least squares method to the coordinates of the detected n detection points, the optimal left-handed linear equation y = ax + b passing through the n coordinates can be obtained as follows.

검출된 실제 Real_X 좌표 위치 : x1,x2,x3 ..... xnDetected actual Real_X coordinate position: x1, x2, x3 ..... xn

검출된 실제 Real_Y 좌표 위치 : y1,y2,y2 ..... ynActual Real_Y coordinate position detected: y1, y2, y2 ..... yn

Figure pat00001
-------- [수식5]
Figure pat00001
-------- [Equation 5]

좌면각(Start_Angle)은Left angle (Start_Angle) is

Start_Angle = tan-1(a) ------- [수식6]Start_Angle = tan -1 (a) ------- [Equation 6]

가 된다..

이와 같이 얻어진 좌면각과 0권 피치점의 좌표 및 미리 입력된 기준 외측 반경을 이용하여 가상 중심점은 다음과 같은 [수식7] 및 [수식8]을 이용하여 구할 수 있다.The virtual center point can be obtained using the following Equations 7 and 8 by using the coordinates of the seat surface angle, the zero pitch point, and the reference outer radius input in advance.

0권 끝단 좌표 X : Start_Post_XVolume 0 end coordinate X: Start_Post_X

0권 끝단 좌표 Y : Start_Post_YVolume 0 end coordinates Y: Start_Post_Y

곡선형 스프링의 기준 외측 반경 : Base_Out_RBase outer radius of curved spring: Base_Out_R

외측 반경 중심 좌표 X :Outer Radius Center Coordinate X:

Out_R_Center_X = Base_Out_R×cos(Start_Angle)+Start_Post_X ------- [수식7]Out_R_Center_X = Base_Out_R × cos (Start_Angle) + Start_Post_X ------- [Equation 7]

외측 반경 중심 좌표 Y :Outer radius center coordinate Y:

Out_R_Center_Y = Base_Out_R×sin(Start_Angle)+Start_Post_Y ------- [수식8]
Out_R_Center_Y = Base_Out_R × sin (Start_Angle) + Start_Post_Y ------- [Equation 8]

상기 S300 단계는 곡선형 스프링의 각 권수에 대한 피치점을 검출하는 단계이다.The step S300 is a step of detecting a pitch point for each number of turns of the curved spring.

이러한 S300 단계는 S200 단계를 통해 촬영된 영상을 회전시켜 1권 중심선이 Y축과 평행하게 놓여지도록 하는 단계(S310); 앞선 단계를 통해 회전된 영상을 검사 컨트롤러(150)가 분석하여 Y축 좌표가 증가하다가 다시 감소되는 피크점을 변곡점으로 인식하고, 이 변곡점을 다음 권수 피치점으로 검출하며, 검출된 피치점을 실제 좌표로 변환하는 단계(S320); 상기 S320 단계에서 검출된 피치점의 실제 좌표로 이동 카메라(130)를 이동시켜 또 다른 국부 영상을 촬영하는 단계(S330); 상기 S340 단계에서 촬영된 영상을 회전시켜 검출하고자 하는 피치점이 있는 다음 권수 중심선이 Y축과 평행하게 놓여지도록 하는 단계(S340); 및 상기 S320 단계 내지 S340 단계를 곡선형 스프링의 각 권수에 대한 피치점을 검출할 때가지 반복하는 단계(S350)로 구성된다.The step S300 may include rotating the image photographed through the step S200 such that the first centerline is parallel to the Y axis (S310); The inspection controller 150 analyzes the image rotated through the previous step and recognizes the peak point whose Y-axis coordinates increase and then decreases again as the inflection point, detects this inflection point as the next number of turns pitch point, and detects the detected pitch point. Converting to coordinates (S320); Photographing another local image by moving the moving camera 130 to actual coordinates of the pitch point detected in step S320 (S330); Rotating the image photographed in step S340 so that a next winding centerline having a pitch point to be detected is placed in parallel with the Y axis (S340); And repeating steps S320 to S340 until detecting a pitch point for each number of turns of the curved spring (S350).

상기 S310 단계는 다음 권수 피치점의 용이한 검출을 위하여 다음 권수 중심선이 Y축과 평행하게 놓여지도록 영상을 회전시키는 단계이다.The step S310 is a step of rotating the image so that the next winding centerline lies parallel to the Y axis for easy detection of the next winding number pitch point.

이러한 S310 단계는 S200 단계에서 검출된 좌면각을 이용하여 영상을 회전시킴으로써 다음 권수 중심선을 Y축 평행하도록 위치시키게 된다.In step S310, the next winding center line is positioned to be Y-axis parallel by rotating the image using the left angle detected in step S200.

보다 구체적으로, 상기 S310 단계는 좌면각을 이용하여 영상회전각을 아래의 [수식9]을 통해 구하고, S200 단계에서 촬영된 영상을 영상회전각으로 회전시킴으로써 0권의 다음인 1권 중심선을 Y축과 평행하게 위치시키게 된다.More specifically, in step S310, the image rotation angle is obtained by using Equation 9 below using the left angle, and the center of the first volume, which is next to volume 0, is rotated with the Y axis by rotating the image photographed in step S200 to the image rotation angle. It will be placed in parallel.

영상회전각 = 90 - 좌면각 ------- [수식9]Rotation angle = 90-Left angle ------- [Equation 9]

도 8은 회전된 영상을 분석하여 피치점을 검출하는 과정을 보인 예시도를 도시하고 있다.8 illustrates an example of a process of detecting a pitch point by analyzing a rotated image.

상기 S320 단계는 S310 단계를 통해 회전된 영상을 분석하여 영상 내의 변곡점을 검출하고, 검출된 변곡점을 다음 권수 피크점으로 검출하는 것이다.In step S320, the inflection point in the image is detected by analyzing the rotated image in step S310, and the detected inflection point is detected as the next number of peaks.

한편 영상의 회전은 해당 권수 피치점을 중심으로 이루어지게 되며, 해당 권 피치점은 영상의 중앙에 위치하고 있다. 따라서 도 8과 같이 영상의 중심부로부터 우측방향으로 영상의 위에서 아래쪽으로 각 화소의 명암값을 분석하여 다수 개의 검출점들을 도출하게 되며, 이때 Y축 좌표가 감소하다가 증가되고 다시 감소되는 피크점을 파악함으로써 변곡점을 검출하게 되며, 이때 2개 이상의 변곡점이 검출되는 경우, 해당 권수의 피치점에 가장 근접한 변곡점을 선정하여 다음 권수 피치점으로 검출하게 된다.On the other hand, the rotation of the image is made around the corresponding number of pitch points, the winding pitch point is located in the center of the image. Therefore, as shown in FIG. 8, the contrast value of each pixel is analyzed from the center of the image to the right from the top to the bottom of the image to derive a plurality of detection points. In this case, the inflection point is detected, and when two or more inflection points are detected, the inflection point closest to the pitch point of the number of turns is selected and detected as the next number of turns pitch point.

한편 검출된 다음 권수 피치점으로 이동 카메라(130)를 이동시키기 위해서는 다음 권 피치점에 대한 실제 좌표가 요구되며, 이러한 피치점의 실제 좌표는 아래의 [수식10] 및 [수식11}을 통해 구할 수 있다.Meanwhile, in order to move the moving camera 130 to the detected next number of pitch points, actual coordinates of the next number of pitch points are required, and the actual coordinates of the pitch points are obtained through Equations 10 and 11 below. Can be.

검출 각도 : Rotate_AngleDetection angle: Rotate_Angle

회전 각도 : 90 - Rotate_AngleRotation angle: 90-Rotate_Angle

회전된 화상에서 검출한 피치 끝단 좌표 X : FindEdgePoint_XPitch end coordinates detected in the rotated image X: FindEdgePoint_X

회전된 화상에서 검출한 피치 끝단 좌표 Y : FindEdgePoint_YPitch end coordinate detected in the rotated image Y: FindEdgePoint_Y

원래의 화상으로 환원한 화상의 피치 끝단 좌표 X : Move_Image_Edge_X (=식3의 이동 카메라의 좌표)Pitch end coordinates of the image reduced to the original image X: Move_Image_Edge_X (= coordinate of the moving camera of Equation 3)

원래의 화상으로 환원한 화상의 피치 끝단 좌표 Y : Move_Image_Edge_Y(=식4의 이동 카메라의 좌표)
Pitch end coordinates of the image reduced to the original image Y: Move_Image_Edge_Y (= coordinate of moving camera of Equation 4)

Move_Image_Edge_X = Move_Image_Width×0.5+(FindEdgePoint_X-Move_Image_Width×0.5)×cos(Rotate_Angle-90.0)+(FindEdgePoint_Y-Move_Image_Height×0.5)×sin(Rotate_Angle-90.0) ------- [수식10]
Move_Image_Edge_X = Move_Image_Width × 0.5 + (FindEdgePoint_X-Move_Image_Width × 0.5) × cos (Rotate_Angle-90.0) + (FindEdgePoint_Y-Move_Image_Height × 0.5) × sin (Rotate_Angle-90.0) ------- [Equation 10]

Move_Image_Edge_Y = Move_Image_Height×0.5+(FindEdgePoint_X-Move_Image_Width×0.5)×sin(Rotate_Angle-90.0)+(FindEdgePoint_Y-Move_Image_Height×0.5)×cos(Rotate_Angle-90.0) ------- [수식11]
Move_Image_Edge_Y = Move_Image_Height × 0.5 + (FindEdgePoint_X-Move_Image_Width × 0.5) × sin (Rotate_Angle-90.0) + (FindEdgePoint_Y-Move_Image_Height × 0.5) × cos (Rotate_Angle-90.0) ------- [Equation 11]

도 9는 이동 카메라가 1권 피치점으로 이동하여 촬영한 영상을 나타내고 있다.9 shows an image captured by a mobile camera by moving to one pitch point.

상기 S330 단계는 S320 단계에서 검출된 다음 권수 피치점으로 이동 카메라(130)를 이동시키고, 국부 영상을 촬영하는 단계이다.In step S330, the moving camera 130 is moved to the next number of turns pitch point detected in step S320, and a local image is photographed.

상기 S340 단계는 S330 단계에서 촬영된 영상을 회전시켜 검출하고자 하는 피치점이 있는 다음 권수 중심선이 Y축과 평행하게 놓여지도록 하는 단계이다. 이러한 S340 단계는 촬영된 영상의 중앙에 위치한 해당 권수의 피치점과 상기 가상 중심점으로부터 해당 권수 피치점의 기울기각을 연산하는 단계(S341); 및 다음 권수 중심선이 Y축과 평행하게 놓여지도록 상기 기울기각을 이용하여 영상을 회전시키는 단계(S342)로 구성되어 있다.The step S340 is to rotate the image taken in step S330 so that the next winding centerline having the pitch point to be detected is placed in parallel with the Y axis. The step S340 may include calculating a tilt angle of the pitch number of the number of turns and the pitch angle of the number of turns from the virtual center point located at the center of the photographed image (S341); And rotating the image using the inclination angle such that the next winding center line is parallel to the Y axis (S342).

한편 상기 S341 단계는 해당 권수 피치점과 S200 단계에서 연산된 가상 중심선을 이용하여 영상의 회전각도를 연산하게 되며, 보다 구체적으로 아래의 [수식12]을 이용하여 구할 수 있다.Meanwhile, in step S341, the rotation angle of the image is calculated by using the corresponding number of pitch points and the virtual center line calculated in step S200, and more specifically, it can be obtained by using Equation 12 below.

n 권 피치 끝단 검출 위치 : Circle_Edge_n(an, bn)n Volume Pitch End Detection Position: Circle_Edge_n (an, bn)

외측 반경 중심 좌표 : Out_R_Center (Cx, Cy)Outer radius center coordinates: Out_R_Center (Cx, Cy)

회전 각도 : Rotate_Angle = tan-1((an - Cx) / (bn - Cy) ------- [수식12]Rotation angle: Rotate_Angle = tan -1 ((an-Cx) / (bn-Cy) ------- [Equation 12]

상기 S342 단계는 S341 단계에서 연산된 해당 권수 피치점의 기울기각(회전 각도)를 이용하여 영상을 회전시킴으로써 다음 권수 중심선이 Y축과 평행하도록 위치시키게 된다.In the step S342 by rotating the image by using the inclination angle (rotation angle) of the number of winding pitch point calculated in step S341 to position the next winding centerline parallel to the Y axis.

상기 S350 단계는 앞선 단계를 통해 회전된 영상의 분석을 통해 다음 권수 피치점 검출(S320 단계), 검출된 다음 권수 피치점으로 이동 카메라(130)를 이동시키고 영상을 촬영하는 단계(S330 단계), 다음 권수 피치점의 검출을 위한 영상의 회전(S340 단계)을 곡선형 스프링의 각 권수에 대한 피치점을 검출할 때까지 반복시키는 단계이다. 한편 마지막 권수의 경우, 촬영된 영상 내에 다음 권수가 없어 변곡점이 검출되지 않으므로, 영상의 분석을 통해 변곡점이 검출되지 않을 경우, 이를 마지막 권수로 인식하고 피치점의 검출과정을 종료시키게 된다.The step S350 is to detect the next number of pitch points through the analysis of the image rotated through the previous step (step S320), the step of moving the moving camera 130 to the next number of turns pitch point detected (S330 step), The rotation of the image for detecting the next number of turns pitch point (step S340) is repeated until the pitch point for each number of turns of the curved spring is detected. On the other hand, since the inflection point is not detected because there is no next number in the photographed image, if the inflection point is not detected through the analysis of the image, it is recognized as the last number and the process of detecting the pitch point is terminated.

상기 S400 단계는 각 권수 피치점으로 검출된 모든 피치점의 좌표를 이용하여 원의 방정식을 도출하고, 도출된 원의 방정식을 이용하여 곡선형 스프링의 외측 반경 중심점을 연산하는 단계이다.The step S400 is a step of deriving an equation of a circle using coordinates of all pitch points detected as each number of pitch points, and calculating an outer radius center point of the curved spring using the derived circle equation.

상기 S300 단계를 통해 검출된 각 권수 피치점과 아래 [수식13] 내지 [수식17]을 이용하면, 각 권수 피치점을 지나는 최적의 원의 방정식과, 곡선형 스프링의 외측 반경 중심점을 도출할 수 있다.Using the number of turns pitch point detected through the step S300 and the following [Equation 13] to [Equation 17], it is possible to derive the equation of the optimal circle passing through each number of turns pitch point and the outer radius center point of the curved spring have.

피치 끝단 검출 위치 : CEn CE1(a1,b1), CE2(a2,b2),···· , CE1n(an,bn)Pitch end detection position: CEn CE 1 (a 1 , b 1 ), CE 2 (a 2 , b 2 ), ... CE 1n (a n , b n )

원의 중심 : Center Center_X = (a1+a2····+an)/n ------- [수식13]The center of the circle: Center Center_X = (a 1 + a 2 ···· + a n) / n ------- [ Equation 13]

Center_Y = (b1+b2····+bn)/n ------- [수직14]Center_Y = (b 1 + b 2 ... + b n ) / n ------- [Vertical 14]

중심과 피치 끝단과의 거리 : lk Distance from center to pitch end: l k

Figure pat00002
------- [수식15]
Figure pat00002
------- [Equation 15]

반지름 : R

Figure pat00003
------- [수식16]Radius: R
Figure pat00003
------- [Equation 16]

원의방정식

Figure pat00004
------- [수식17]Equation
Figure pat00004
------- [Equation 17]

상기 S500 단계는 이전 도출된 외측 반경 중심점을 이용하여 각 권수의 피치점을 재검출하고, 재검출된 각 권수의 피치점을 이용하여 원을 방정식을 도출하며, 도출된 원의 방정식을 이용하여 곡선형 스프링의 외측 반경 중심점을 새로 도출하게 된다.Step S500 redetects the pitch point of each number of turns using the previously derived outer radius center point, derives an equation of a circle using the pitch point of each number of turns again, and curves using the derived equation of the circle. The new radial center point of the outer spring is derived.

이러한 S500 단계는, 마지막에 검출된 0권 피치점으로부터 마지막에 검출된 각 권수 피치점으로 이동 카메라(130)를 순차적으로 이동시켜 각 권수에 대한 국부 영상을 촬영하는 단계(S510); 상기 S510 단계를 통해 해당 권수의 영상이 촬영되면, 검사 컨트롤러(150)는 마지막에 검출된 해당 권수 피치점과 마지막에 연산된 외측 반경 중심점을 이용하여 해당 권수 피치점에 대한 기울기각을 연산하고, 연산된 기울기각을 이용하여 해당 권수의 중심선이 Y축과 평행하게 놓여지도록 해당 권수의 영상을 회전시키는 단계(S520); 앞선 단계를 통해 회전된 영상을 검사 컨트롤러(150)가 분석하여 영상 내에 검출되는 다수 검출점들 중 가장 큰 Y축 좌표값을 갖는 화소를 선정하여 이를 해당 권수 피치점으로 재검출하고, 재검출된 피치점을 실제 좌표로 변환하는 단계(S530); 상기 S530 단계에서 검출된 해당 권수 피치점에 대한 좌표와 마지막에 검출된 해당 권수 피치점에 대한 좌표를 비교하는 단계(S540); 상기 S540 단계에서 두 피치점에 대한 좌표가 동일하면, 다음 권수 피치점으로 이동 카메라(130)를 이동시켜 다음 권수에 대한 국부 영상을 촬영하는 단계(S550); 상기 S540 단계에서 두 피치점에 대한 좌표가 동일하지 않으면, 상기 S530 단계에서 재검출된 피치점에 대한 실제 좌표로 이동 카메라(130)를 이동시켜 해당 권수에 대한 영상을 재촬영하고, 바로 이전 검출된 해당 권수 피치점과 바로 이전 연산을 통해 연산된 외측 반경 중심점을 이용하여 해당 권수 피치점에 대한 기울기각을 재연산하고, 재연산된 기울기각을 이용하여 해당 권수의 중심선이 Y축과 평행하게 놓여지도록 재촬영된 영상을 회전시킨 뒤, 상기 S530 단계 내지 S550 단계를 반복하되, 피치점에 대한 두 좌표가 동일할 때까지 반복하는 단계(S560)로 구성된다.The step S500 may include photographing a local image for each number of turns by sequentially moving the moving camera 130 from the last detected number 0 pitch point to the number of each pitch number detected last (S510). When the image of the number of turns is taken through the step S510, the inspection controller 150 calculates an inclination angle with respect to the number of turns pitch point by using the last number of turns detected and the outer radius center point calculated last. Rotating the image of the number of turns so that the centerline of the number of turns is parallel to the Y axis using the calculated tilt angle (S520); The inspection controller 150 analyzes the image rotated through the previous step, selects a pixel having the largest Y-axis coordinate value among the plurality of detection points detected in the image, redetects it to the corresponding number of pitch points, and redetects Converting the pitch point into actual coordinates (S530); Comparing coordinates of the corresponding number of winding pitch points detected in the step S530 with coordinates of the corresponding number of winding pitch points last detected (S540); If the coordinates of the two pitch points are the same in step S540, moving the moving camera 130 to the next number of pitch points to take a local image for the next number of turns (S550); If the coordinates for the two pitch points are not the same in step S540, by moving the moving camera 130 to the actual coordinates for the pitch point re-detected in step S530 to retake the image for the number of times, the previous detection Recomputation of the inclination angle for the number of turns pitch point using the corresponding number of turns pitch point and the outer radius center point calculated by the previous operation, and the center line of the number of turns is parallel to the Y axis using the recomputed inclination angle. After rotating the re-photographed image to be placed, the steps S530 to S550 are repeated, but are repeated until the two coordinates for the pitch point are the same (S560).

상기 S510 단계는 S500 단계의 최초 실행시 S100 단계 및 S300 단계에서 검출된 0권 피치점과 각 권수 피치점으로 이동 카메라(130)를 순차적으로 이송시키게 되며, S500 단계가 재차 실행되는 경우, 가장 마지막에 검출된 0권 피치점과 각 권수 피치점을 이용하여 이동 카메라(130)를 이동시켜 각 권수에 대한 영상의 촬영이 이루어지도록 하게 된다.In the step S510, the mobile camera 130 is sequentially transferred to the number 0 pitch point and each number pitch point detected in steps S100 and S300 during the initial execution of the step S500. When the step S500 is executed again, the last step is performed. The moving camera 130 is moved by using the zero-volume pitch point and each number-pitch point detected in order to take an image of each number of images.

상기 S520 단계는 S510 단계를 통한 영상의 촬영과정에서 각 권수에 대한 영상이 촬영되면 실행되어 해당 권수 피치점의 재검출을 위하여 영상을 회전시키는 단계이다.The step S520 is executed when an image of each number is taken in the process of capturing the image through the step S510 to rotate the image for redetection of the corresponding number of pitch points.

이러한 S520 단계는 가장 마지막에 검출된 해당 권수 피치점과, 가장 마지막에 도출된 외측 반경 중심점을 이용하여 해당 권수 피치점의 기울기각을 연산함으로써 영상의 회전각을 도출하게 되며, 도출된 영상의 회전각을 이용하여 해당 권수의 영상을 회전시킴으로써 해당 권수 중심선이 Y축과 평행하게 놓여지도록 위치시키게 된다.In the step S520, the rotation angle of the image is derived by calculating the inclination angle of the number of turns pitch points using the last detected number of turns pitch points and the outermost radial center point derived last. By rotating the image of the number of turns using an angle, the number of turns centerline is positioned to be parallel to the Y axis.

한편 위와 같은 영상 회전각의 도출은 [수식12]와 동일한 방식에 의해 도출될 수 있다.On the other hand, the derivation of the image rotation angle as described above may be derived by the same method as in [Equation 12].

도 10은 각 권수 피치점의 재검출원리를 보인 예시도를 도시하고 있다.Fig. 10 shows an exemplary view showing the re-detection principle of each turn pitch point.

상기 S530 단계는 앞선 단계를 통해 회전된 영상으로부터 해당 권수 피치점을 재검출하고, 재검출된 피치점으로 실제 좌표로 변환하는 단계이다.Step S530 is a step of re-detecting the corresponding number of pitch points from the image rotated through the previous step, and converting the re-detected pitch point to the actual coordinates.

이러한 S530 단계는 해당 권수 피치점이 항상 영상의 중앙부에 위치하는 것을 고려하여 도 10에 도시된 바와 같이, 영상의 중앙부를 기준으로 좌측영역일부와 우측일부를 검사영역으로 설정하게 된다.In step S530, as shown in FIG. 10, the corresponding left pitch part and the right part are set as the inspection area based on the center part of the image in consideration of the fact that the corresponding number of pitch points is always located in the center of the image.

한편 해당 권수 피치점에 대한 검출은 검사영역의 위에서 아래 방향으로 화소 정보를 분석하여 다수 개의 검출점을 검출하게 되며, 이때 다수 개의 검출점 중 가장 큰 Y축 좌표값을 갖는 검출점을 해당 권수 피치점으로 검출하게 된다. 이처럼 검출된 해당 권수 피치점은 [수식10] 및 [수식11]과 같은 방법으로 실제 좌표로 변환하게 된다.On the other hand, the detection of the number of turns pitch point analyzes the pixel information from the top to the bottom of the inspection area to detect a plurality of detection points, wherein the detection point having the largest Y-axis coordinate value among the plurality of detection points corresponding to the number of turns pitch The point is detected. The detected number of turns pitch points is converted into actual coordinates in the same manner as in [Formula 10] and [Formula 11].

상기 S540 단계는 S530 단계에서 검출된 해당 권수 피치점과 마지막에 검출된 해당 권수 피치점이 일치하는가를 확인하게 된다.In step S540, the corresponding number of turns pitch point detected in step S530 and the corresponding number of turns pitch point detected last are identified.

상기 S550 단계는 S540 단계어서 두 피치점이 일치하는 것으로 확인되면, S510 단계로 공정을 되돌려 다음 권수로 이동 카메라(130)의 이동 및 촬영이 이루어지도록 하는 단계이다.In step S550, if it is determined that the two pitch points coincide with step S540, the process returns to step S510 to move and photograph the moving camera 130 to the next turn.

상기 S560 단계는 S540 단계에서 두 피치점이 일치하지 않는 것으로 확인되면, 해당 피치점의 재검출이 이루어지도록 하는 단계이다.In step S560, when it is determined in step S540 that the two pitch points do not coincide with each other, the detection of the corresponding pitch point is performed.

이러한 S560 단계는 가장 마지막에 검출된 해당 권수 피치점의 실제 좌표로 이동 카메라(130)를 다시 이동시켜 영상을 촬영하고, S520 단계 및 S530 단계와 동일한 방식으로 해당 권수 피치점을 다시 검출하고, 다시 검출된 해당 권수 피치점과 가장 마지막에 검출된 해당 권수 피치점의 일치여부를 확인하여, 두 피치점이 일치하면 S510 단계로 공정을 되돌려 다음 권수 피치점의 재검출이 이루어지도록 하고, 두 피치점이 일치하지 않으면, S530 단계 내지 S550 단계를 해당 권수 피치점에 대한 두 좌표가 일치할 때까지 반복하게 된다.
In the step S560, the moving camera 130 is photographed by moving the moving camera 130 again to the actual coordinates of the corresponding number of winding pitch points detected last, and the corresponding number of winding pitch points is detected again in the same manner as the steps S520 and S530, and again. Check whether the detected number of turns pitch points coincide with the last number of turns pitch point detected, and if the two pitch points match, the process returns to step S510 to redetect the next number of turns pitch point, and the two pitch points coincide. Otherwise, steps S530 to S550 are repeated until the two coordinates of the corresponding number of pitch points coincide.

상기 S600 단계는 S500 단계를 통해 검출된 각 권수 피치점과 [수식13] 내지 [수식17]을 이용하여 원의 방정식과 외측 반경 중심점을 다시 도출하게 된다.The step S600 is to derive the circle equation and the outer radius center point by using the number of turns pitch point detected through the step S500 and [Equation 13] to [Equation 17].

상기 S700 단계는 S600 단계에서 새로 도출된 외측 반경 중심점과 바로 이전 도출된 외측 반경 중심점이 미리 입력된 오차범위 내에 있지는 확인하여, 두 중심점이 오차범위 내에 있으면 정확한 중심 위치가 연산된 것으로 판단하고, 최종 외측 반경 중심점과 각 권수 피치점의 사이거리를 연산하고, 연산된 사이거리와 미리 입력된 해당 곡선형 스프링의 기준 외측 반경을 비교하여 곡선형 스프링의 불량여부를 판정하게 된다. 한편 상기 오차범위는 검사작업에 앞서 작업자가 미리 검사장치에 입력해놓게 된다.In step S700, the newly-derived outer radius center point and the immediately-derived outer radius center point in step S600 are checked to be within a preset error range, and if the two center points are within the error range, it is determined that an accurate center position is calculated. The distance between the center of the outer radius and the number of turns pitch point is calculated, and it is determined whether the curved spring is defective by comparing the calculated distance and the reference outer radius of the corresponding curved spring previously input. Meanwhile, the error range is input by the operator in advance to the inspection device.

참고로 도 11에는 외측 반경 측정 및 중심과 권수 끝단의 거리와 각도를 측정 완료하고 합부 판정을 표시장치를 통해 나타낸 영상이 도시되어 있다.For reference, FIG. 11 illustrates an image of measuring the outer radius, measuring the distance and angle between the center and the end of the number of turns, and showing the summation determination through the display device.

상기 S800 단계는 S700 단계에서 두 외측 반경 중심점이 오차범위 내에 있지 않은 것으로 확인되면, 보다 정확한 외측 반경 중심점의 검출을 위하여 S500 단계 내지 S700 단계를 반복시키게 된다.
In step S800, if it is confirmed in step S700 that the two outer radius center points are not within the error range, steps S500 to S700 are repeated to more accurately detect the outer radius center point.

상술한 바와 같이, 본 발명은 곡선형 스프링의 영상을 고정 카메라(120)와 이동 카메라(130)로 촬영하고, 이를 분석함으로써 곡선형 스프링의 불량여부를 판정하게 되므로, 보다 신속하고 정확하게 곡선형 스프링의 불량여부를 판단할 수 있는 이점이 있다.
As described above, according to the present invention, the image of the curved spring is photographed by the fixed camera 120 and the mobile camera 130, and it is determined whether the curved spring is defective by analyzing the same. There is an advantage that can determine whether or not.

본 발명은 상술한 특정의 바람직한 실시 예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자라면 누구든지 다양한 변형실시가 가능한 것은 물론이고, 그와 같은 변경은 청구범위 기재의 범위 내에 있게 된다.
It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined in the appended claims and their equivalents. Of course, such modifications are within the scope of the claims.

<도면의 주요 부분에 대한 부호의 설명>
(110) : 백라이트 (120) : 고정 카메라
(130) : 이동 카메라 (141) : X축 이송 유니트
(142) : Y축 이송 유니트 (143) : Z축 이송 유니트
(150) : 검사 컨트롤러
Description of the Related Art
110: backlight 120: fixed camera
(130): mobile camera (141): X axis transfer unit
(142): Y-axis transfer unit (143): Z-axis transfer unit
150: inspection controller

Claims (6)

곡선형 스프링이 놓여지는 공간을 제공하며, 빛을 발산하는 평판형 구조의 백라이트(110);
상기 백라이트(110)의 수직 상부에 위치하도록 배치되어 백라이트(110) 상에 놓인 곡선형 스프링의 전체 영상을 촬영하는 고정 카메라(120);
상기 백라이트(110)의 수직 상부에 위치하도록 배치되어 백라이트(110) 상에 놓인 곡선형 스프링의 국부 영상을 확대 촬영하는 이동 카메라(130);
상기 이동 카메라(130)를 X축과 Y축 및 Z축 방향으로 이송시키는 3축 이송 유니트(141,142,143); 및
상기 고정 카메라(120)와 이동 카메라(130)에 의해 촬영된 영상에 기초하여 3축 이송 유니트(141,142,143)를 제어하여 이동 카메라(130)를 이동시키며, 이동 카메라(130)에 의해 촬영되는 영상을 분석하여 곡선형 스프링의 불량여부를 판정하는 검사 컨트롤러(150)로 구성된 것을 특징으로 하는 곡선형 스프링 검사장치.
A backlight 110 providing a space in which the curved spring is placed and emitting light;
A fixed camera 120 disposed to be positioned at a vertical upper portion of the backlight 110 to capture an entire image of a curved spring placed on the backlight 110;
A mobile camera 130 arranged to be positioned at a vertical upper portion of the backlight 110 to enlarge and photograph a local image of a curved spring placed on the backlight 110;
3-axis transfer units (141, 142, 143) for transferring the mobile camera 130 in the X-axis, Y-axis and Z-axis directions; And
The mobile camera 130 is moved by controlling the three-axis transfer units 141, 142, and 143 based on the images captured by the fixed camera 120 and the mobile camera 130, and the image captured by the mobile camera 130 is moved. Curved spring inspection device, characterized in that consisting of the inspection controller 150 to determine whether the failure of the curved spring by analyzing.
제 1 항에 있어서,
상기 백라이트(110)는 적색 LED로 구성된 것을 특징으로 하는 곡선형 스프링 검사장치.
The method of claim 1,
The backlight 110 is a curved spring inspection device, characterized in that consisting of a red LED.
백라이트(110) 상에 놓인 곡선형 스프링의 전체 영상을 고정 카메라(120)를 이용하여 촬영하고, 검사 컨트롤러(150)가 촬영된 영상으로부터 곡선형 스프링의 0권 피치점에 대한 좌표를 검출하는 단계(S100);
상기 S100 단계에서 검출된 0권 피치점으로 이동 카메라(130)를 이동시켜 0권에 대한 국부 영상을 촬영하고, 촬영된 영상으로부터 검출되는 0권 피치점과 좌면각 및 미리 입력된 곡선형 스프링의 기준 외측 반경을 이용하여 가상 중심점을 설정하는 단계(S200);
상기 S200 단계에서 설정된 가상 중심점과 이동 카메라(130)에서 촬영된 영상을 분석하여 다음 권수 피치점을 검출하고, 검출된 다음 권수 피치점과 가상 중심점을 이용하여 그 다음 권수 피치점을 검출하는 과정을 반복하여 0권 이외의 각 권수 피치점을 검출하는 단계(S300);
상기 S300 단계에서 검출된 각 권수 피치점을 이용하여 원의 방정식을 도출하고, 도출된 원의 방정식을 이용하여 곡선형 스프링의 외측 반경 중심점을 도출하는 단계(S400);
앞선 단계에서 검출된 각 권수 피치점으로 이동 카메라(130)를 이동시키며 각 권수 피치점을 재촬영하고, 재촬영된 각 권수 영상과 앞선 단계에서 검출된 외측 반경 중심점을 이용하여 각 권수의 피치점을 재검출하는 단계(S500);
상기 S500 단계에서 재검출된 각 권수의 피치점을 이용하여 원의 방정식을 도출하며, 도출된 원의 방정식을 이용하여 곡선형 스프링의 외측 반경 중심점을 다시 도출하는 단계(S600);
상기 S600 단계에서 도출된 외측 반경 중심점과 바로 이전 도출된 외측 반경 중심점이 미리 입력된 오차범위 내에 있는지 확인하여, 두 외측 반경 중심점이 오차범위 내에 있으면, 최종 외측 반경 중심점과 각 권수 피치점의 사이거리를 연산하고, 연산된 사이거리와 미리 입력된 해당 곡선형 스프링의 기준 외측 반경을 비교하여 곡선형 스프링의 불량여부를 판정하는 단계(S700); 및
상기 S700 단계에서 두 외측 반경 중심점이 오차범위 내에 있지 않으면, 상기 S500 단계 내지 상기 S700 단계를 반복하는 단계(S800)로 구성된 것을 특징으로 하는 곡선형 스프링 검사방법.
Photographing the entire image of the curved spring placed on the backlight 110 using the fixed camera 120, and the inspection controller 150 detecting coordinates of the zero-volume pitch point of the curved spring from the captured image. (S100);
The moving camera 130 is moved to the zero pitch point detected in step S100 to take a local image of the zero volume, and the zero volume pitch and the left angle and the curved spring input previously detected from the photographed image. Setting a virtual center point using a reference outer radius (S200);
Analyzing the virtual center point set in step S200 and the image photographed by the mobile camera 130 to detect the next number of pitch points, and detecting the next number of pitch points using the detected next number of pitch points and the virtual center point. Iteratively detecting each number of pitch points other than 0 (S300);
Deriving an equation of a circle using the number of turns pitch points detected in the step S300 and deriving an outer radius center point of the curved spring using the derived circle equation (S400);
Move the camera 130 to each of the number of winding pitch points detected in the previous step and retake each number of winding pitch points, and use the re-photographed number of winding images and the outer radius center point detected in the previous step to determine the pitch of each number of turns. Re-detecting (S500);
Deriving an equation of a circle using a pitch point of each number of turns redetected in the step S500, and again deriving an outer radius center point of the curved spring using the derived circle equation (S600);
Check whether the outer radius center point derived in step S600 and the outer radius center point immediately derived are within a preset error range, and if the two outer radius center points are within the error range, the distance between the final outer radius center point and each winding pitch point Calculating and comparing the calculated distance between the reference outer radius of the corresponding curved spring input in advance to determine whether the curved spring is defective (S700); And
If the two outer radius center point in the step S700 is not within the error range, the step of repeating the steps S500 to S700 (S800), characterized in that the curved spring inspection method.
제 3 항에 있어서, 상기 S300 단계는,
상기 S200 단계를 통해 촬영된 영상을 회전시켜 1권 중심선이 Y축과 평행하게 놓여지도록 하는 단계(S310);
앞선 단계를 통해 회전된 영상을 검사 컨트롤러(150)가 분석하여 Y축 좌표가 증가하다가 다시 감소되는 피크점을 변곡점으로 인식하고, 이 변곡점을 다음 권수 피치점으로 검출하며, 검출된 피치점을 실제 좌표로 변환하는 단계(S320);
상기 S320 단계에서 검출된 피치점의 실제 좌표로 이동 카메라(130)를 이동시켜 또 다른 국부 영상을 촬영하는 단계(S330);
상기 S340 단계에서 촬영된 영상을 회전시켜 검출하고자 하는 피치점이 있는 다음 권수 중심선이 Y축과 평행하게 놓여지도록 하는 단계(S340); 및
상기 S320 단계 내지 S340 단계를 곡선형 스프링의 각 권수에 대한 피치점을 검출할 때가지 반복하는 단계(S350)로 구성된 것을 특징으로 하는 곡선형 스프링 검사방법.
The method of claim 3, wherein the step S300,
Rotating the image taken through the step S200 step 1 so that the center line is placed parallel to the Y axis (S310);
The inspection controller 150 analyzes the image rotated through the previous step and recognizes the peak point whose Y-axis coordinates increase and then decreases again as the inflection point, detects this inflection point as the next number of turns pitch point, and detects the detected pitch point. Converting to coordinates (S320);
Photographing another local image by moving the moving camera 130 to actual coordinates of the pitch point detected in step S320 (S330);
Rotating the image photographed in step S340 so that a next winding centerline having a pitch point to be detected is placed in parallel with the Y axis (S340); And
Step S320 to step S340 is characterized in that for repeating the step of detecting the pitch point for each number of turns of the curved spring (S350) characterized in that it consists of.
제 4 항에 있어서, 상기 S340 단계는,
촬영된 영상의 중앙에 위치한 해당 권수의 피치점과 상기 가상 중심점으로부터 해당 권수 피치점의 기울기각을 연산하는 단계(S341); 및
다음 권수 중심선이 Y축과 평행하게 놓여지도록 상기 기울기각을 이용하여 영상을 회전시키는 단계(S342)로 이루어진 것을 특징으로 하는 곡선형 스프링 검사방법.
The method of claim 4, wherein the step S340,
Calculating a tilt angle of the pitch number of the number of turns located at the center of the photographed image and the pitch number of the number of turns from the virtual center point (S341); And
And a step (S342) of rotating the image using the inclination angle so that the next winding center line is parallel to the Y axis.
제 3 항에 있어서, 상기 S500 단계는,
마지막에 검출된 0권 피치점으로부터 마지막에 검출된 각 권수 피치점으로 이동 카메라(130)를 순차적으로 이동시켜 각 권수에 대한 국부 영상을 촬영하는 단계(S510);
상기 S510 단계를 통해 해당 권수의 영상이 촬영되면, 검사 컨트롤러(150)는 마지막에 검출된 해당 권수 피치점과 마지막에 연산된 외측 반경 중심점을 이용하여 해당 권수 피치점에 대한 기울기각을 연산하고, 연산된 기울기각을 이용하여 해당 권수의 중심선이 Y축과 평행하게 놓여지도록 해당 권수의 영상을 회전시키는 단계(S520);
앞선 단계를 통해 회전된 영상을 검사 컨트롤러(150)가 분석하여 영상 내에 검출되는 다수 검출점들 중 가장 큰 Y축 좌표값을 갖는 화소를 선정하여 이를 해당 권수 피치점으로 재검출하고, 재검출된 피치점을 실제 좌표로 변환하는 단계(S530);
상기 S530 단계에서 검출된 해당 권수 피치점과 마지막에 검출된 해당 권수 피치점이 일치하는가를 확인하는 단계(S540);
상기 S540 단계에서 두 피치점이 일치하면, S510 단계로 공정을 되돌려 다음 권수 피치점으로 이동 카메라(130)를 이동시켜 다음 권수에 대한 국부 영상을 촬영되게 하는 단계(S550);
상기 S540 단계에서 두 피치점이 일치하지 않으면, 상기 S530 단계에서 재검출된 피치점에 대한 실제 좌표로 이동 카메라(130)를 이동시켜 해당 권수에 대한 영상을 재촬영하고, 가장 마지막에 검출된 해당 권수 피치점과 가장 마지막에 연산된 외측 반경 중심점을 이용하여 해당 권수 피치점에 대한 기울기각을 재연산하고, 재연산된 기울기각을 이용하여 해당 권수의 중심선이 Y축과 평행하게 놓여지도록 재촬영된 영상을 회전시킨 뒤, 상기 S530 단계 내지 S550 단계를 반복하되, 피치점에 대한 두 좌표가 동일할 때까지 반복하는 단계(S560)로 구성된 것을 특징으로 하는 곡선형 스프링 검사방법.
The method of claim 3, wherein the step S500,
Step S510 of photographing a local image for each number of turns by sequentially moving the moving camera 130 from the last detected number 0 pitch point to each number of pitch number detected last (S510);
When the image of the number of turns is taken through the step S510, the inspection controller 150 calculates an inclination angle with respect to the number of turns pitch point by using the last number of turns detected and the outer radius center point calculated last. Rotating the image of the number of turns so that the centerline of the number of turns is parallel to the Y axis using the calculated tilt angle (S520);
The inspection controller 150 analyzes the image rotated through the previous step, selects a pixel having the largest Y-axis coordinate value among the plurality of detection points detected in the image, redetects it to the corresponding number of pitch points, and redetects Converting the pitch point into actual coordinates (S530);
Checking whether the corresponding number of winding pitch points detected in the step S530 and the corresponding number of winding pitch points last detected coincide (S540);
If the two pitch points coincide in step S540, the process returns to step S510 to move the moving camera 130 to the next turn pitch point so that a local image of the next turn is taken (S550);
If the two pitch points do not match in step S540, the moving camera 130 is moved to the actual coordinates of the pitch point redetected in step S530 to retake an image of the number of times, and the number of the last number of detected turns Using the pitch point and the outermost radius center computed last, recomputation of the inclination angle with respect to the number of turns pitch point, and using the recomputed inclination angle, retaken so that the centerline of the number of turns is parallel to the Y axis. After rotating the image, repeating steps S530 to S550, repeating until the two coordinates for the pitch point is the same (S560), characterized in that the curved spring inspection method.
KR1020110115469A 2011-11-08 2011-11-08 A measurement equipment and method for shape measure of curved spring KR101306583B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020110115469A KR101306583B1 (en) 2011-11-08 2011-11-08 A measurement equipment and method for shape measure of curved spring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020110115469A KR101306583B1 (en) 2011-11-08 2011-11-08 A measurement equipment and method for shape measure of curved spring

Publications (2)

Publication Number Publication Date
KR20130050420A true KR20130050420A (en) 2013-05-16
KR101306583B1 KR101306583B1 (en) 2013-09-10

Family

ID=48660765

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110115469A KR101306583B1 (en) 2011-11-08 2011-11-08 A measurement equipment and method for shape measure of curved spring

Country Status (1)

Country Link
KR (1) KR101306583B1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101446589B1 (en) * 2013-10-24 2014-10-07 대원강업주식회사 Curved spring gauge
KR101638097B1 (en) 2015-09-24 2016-07-08 대원강업주식회사 Apparatus for inspecting curved spring
CN107389545A (en) * 2016-05-17 2017-11-24 柳光龙 Centring means for detection object
WO2019009465A1 (en) * 2017-07-07 2019-01-10 문종판 Visual spring inspection device and visual spring inspection method
CN112229836A (en) * 2020-09-15 2021-01-15 华南农业大学 Detection device and detection method for rice filled grains and rice empty grains

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100467080B1 (en) * 2002-12-17 2005-01-24 대원강업주식회사 Coil Spring Marking Examination Method to Use Vision System
JP2008139190A (en) * 2006-12-04 2008-06-19 Garnet Precision Kk Size measuring device of coil spring
KR101020911B1 (en) * 2008-08-11 2011-03-09 대원강업주식회사 The way for measuring the turn of coil spring and the measurement instrument

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101446589B1 (en) * 2013-10-24 2014-10-07 대원강업주식회사 Curved spring gauge
KR101638097B1 (en) 2015-09-24 2016-07-08 대원강업주식회사 Apparatus for inspecting curved spring
CN107389545A (en) * 2016-05-17 2017-11-24 柳光龙 Centring means for detection object
CN107389545B (en) * 2016-05-17 2020-10-16 伸龙有限公司 Centering device for detecting object
WO2019009465A1 (en) * 2017-07-07 2019-01-10 문종판 Visual spring inspection device and visual spring inspection method
CN112229836A (en) * 2020-09-15 2021-01-15 华南农业大学 Detection device and detection method for rice filled grains and rice empty grains

Also Published As

Publication number Publication date
KR101306583B1 (en) 2013-09-10

Similar Documents

Publication Publication Date Title
KR101078781B1 (en) Method of inspecting a three dimensional shape
US9959451B2 (en) Image inspection device, image inspection method and image inspection program
JP5745178B2 (en) Three-dimensional measurement method, apparatus and system, and image processing apparatus
US8233041B2 (en) Image processing device and image processing method for performing three dimensional measurements
TWI440847B (en) Inspection method
KR101306583B1 (en) A measurement equipment and method for shape measure of curved spring
CN107615006B (en) Tunnel dimension measuring device and tunnel dimension measuring method
JP5626559B2 (en) Defect determination apparatus and defect determination method
TWI521471B (en) 3 - dimensional distance measuring device and method thereof
JP6989444B2 (en) Work terminal, oil leak detection device, and oil leak detection method
CN110615016B (en) Calibration method and verification method of steel rail profile and abrasion detection system
CN109739239A (en) A kind of planing method of the uninterrupted Meter recognition for crusing robot
US20170061209A1 (en) Object processing method, reference image generating method, reference image generating apparatus, object processing apparatus, and recording medium
KR20110098127A (en) Calibration device and method for revision of crack detection system by using image processing technology
JP4613626B2 (en) Mirror surface shape measuring method and apparatus, and inspection method and apparatus
JP2019197018A (en) Flatness detection method, flatness detection device and flatness detection program
TW201821758A (en) Profile measuring method, profile measuring apparatus and deformation inspecting apparatus
JP2008014700A (en) Workpiece inspection method and workpiece inspection device
CN115511788A (en) Method for automatic detection and modeling of motor vehicle driver examination field
JP2009523244A (en) System and method for inspecting workpieces with fine features
KR20120051108A (en) A measurement equipment and method for gear shape of gear rim and lock gear of seat recliner
CN108093618A (en) Inspecting mounting contents by comparing 3D height profile with reference height profile
CN115035031A (en) Defect detection method and device for PIN (personal identification number) PIN, electronic equipment and storage medium
CN112161598B (en) Detection method and detection device of detection equipment
JP2007303994A (en) Visual inspecting device and method

Legal Events

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

Payment date: 20160902

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20170901

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20180903

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20190902

Year of fee payment: 7