KR102250058B1 - Recording Medium Storage Program for Executing Application for Vision Inspection of Fusing and Terminal In Manufacturing Process of Motor Stator - Google Patents

Recording Medium Storage Program for Executing Application for Vision Inspection of Fusing and Terminal In Manufacturing Process of Motor Stator Download PDF

Info

Publication number
KR102250058B1
KR102250058B1 KR1020210025842A KR20210025842A KR102250058B1 KR 102250058 B1 KR102250058 B1 KR 102250058B1 KR 1020210025842 A KR1020210025842 A KR 1020210025842A KR 20210025842 A KR20210025842 A KR 20210025842A KR 102250058 B1 KR102250058 B1 KR 102250058B1
Authority
KR
South Korea
Prior art keywords
inspection
setting
screen
terminal
model
Prior art date
Application number
KR1020210025842A
Other languages
Korean (ko)
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 KR1020210025842A priority Critical patent/KR102250058B1/en
Application granted granted Critical
Publication of KR102250058B1 publication Critical patent/KR102250058B1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M99/00Subject matter not provided for in other groups of this subclass
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/058Safety, monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02KDYNAMO-ELECTRIC MACHINES
    • H02K15/00Methods or apparatus specially adapted for manufacturing, assembling, maintaining or repairing of dynamo-electric machines
    • H02K15/02Methods or apparatus specially adapted for manufacturing, assembling, maintaining or repairing of dynamo-electric machines of stator or rotor bodies
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02KDYNAMO-ELECTRIC MACHINES
    • H02K15/00Methods or apparatus specially adapted for manufacturing, assembling, maintaining or repairing of dynamo-electric machines
    • H02K15/06Embedding prefabricated windings in machines

Abstract

The present invention relates to a computer program stored in a medium for realizing an application which inspects a fusing of a coil and a defect in a terminal by a vision in a process of manufacturing a stator for a motor. The computer program comprises: a function of a tool bar which is able to change a model management, screen photographing, inspection unit setting, configuration, camera setting, or the like; a function of an inspection screen which shows images photographed by a camera and inspection results; a function of setting inspection records and inspection units, and outputting and inputting images on the screen; a function of execution of inspection and setting of a manual mode and an automatic mode; a function of a window which is able to output the processing status of unit during the inspection in letters; a function of setting the whole and partial results of unit and the inspection lighting value of the relevant model; and a function of managing the major input and output status. The present invention is able to precisely inspect and determine various models by setting various conditions.

Description

모터용 스테이터의 제조 공정에서 퓨징 및 터미널의 비전검사용 애플리케이션을 구현하기 위하여 매체에 저장된 컴퓨터로 읽을 수 있는 프로그램{Recording Medium Storage Program for Executing Application for Vision Inspection of Fusing and Terminal In Manufacturing Process of Motor Stator}Recording Medium Storage Program for Executing Application for Vision Inspection of Fusing and Terminal In Manufacturing Process of Motor Stator

본 발명은 모터용 스테이터를 제조하는 공정에서 코일의 퓨징과 터미널의 양, 불량을 비전으로 검사하는 애플리케이션을 구현하기 위하여 매체에 저장된 컴퓨터 프로그램에 관한 것이다.The present invention relates to a computer program stored in a medium in order to implement an application for visually inspecting a fusing of a coil and a quantity and a defect of a terminal in a process of manufacturing a stator for a motor.

일반적으로 모터는 로터와 스테이터로 구분된다. 스테이터에는 일정 굵기의 코일이 권취된다. 스테이터에 권취된 코일의 단부에는 터미널과 연결된다. 그리고 터미널은 외부 전원과 연결되는 커넥터와 연결된다. 더욱이 모터는 전기적인 연결을 위하여 단자와 단자 또는 단자와 코일 사이에 접합을 해야 한다. 이러한 접합을 위하여 퓨징(Fusing) 과정이 수행되고, 퓨징은 접합부에 국부적인 열을 가하고 압착하여 코일이나 단자의 표면에 피막을 벗긴 상태로 접합대상물을 결합시켜 통전이 이루어지도록 한다. 여기서 터미널의 단부가 접혀 내측에 퓨징 공간이 형성된다. 그리고 코일의 단부는 2개로 배열되는데, 2개의 코일 단부 중 상대적으로 내측에 위치하여 터미널의 절곡부분에 근접한 코일단부가 외측에 배치된 코일단부보다 퓨징을 위한 접촉 면적이 넓다. 또한, 스테이터의 상단에는 코일과 전기적으로 연결되는 버스바가 배치된다. 버스바는 대략 링 형상의 버스바 하우징과, 버스바 하우징에 결합되어 코일이 연결되는 버스바 터미널이 구성된다. 이러한 버스바 터미널은 동판과 같은 판금을 프레스 가공하여 성형한다.In general, motors are divided into rotors and stators. A coil of a certain thickness is wound on the stator. The end of the coil wound on the stator is connected to the terminal. And the terminal is connected to a connector that is connected to an external power source. Moreover, the motor must have a junction between terminals and terminals or between terminals and coils for electrical connection. For this bonding, a fusing process is performed. In the fusing, local heat is applied to the bonded portion, and the bonding object is bonded in a state where the film is peeled off the surface of the coil or terminal by compressing and applying local heat to the bonded portion. Here, the end of the terminal is folded to form a fusing space inside. And the end of the coil is arranged in two, and the coil end which is located relatively inward among the two coil ends and is close to the bent portion of the terminal has a larger contact area for fusing than the coil end disposed outside. In addition, a bus bar electrically connected to the coil is disposed on the upper end of the stator. The bus bar comprises a substantially ring-shaped bus bar housing and a bus bar terminal coupled to the bus bar housing to which a coil is connected. Such a busbar terminal is formed by pressing a sheet metal such as a copper plate.

종래에 모터용 스테이터에서 퓨징 버스바의 들뜸이나 누락 또는 버스바의 높이 터미널의 높이나 위치 등은 작업자에 의해 수작업으로 양, 불량을 검사하여 판정하거나 또는 촬영된 가시적인 영상으로부터 양, 불량을 검사하여 판정하는 것이 대부분이다. 이로부터 모터의 정확한 검사와 판정이 어려워 품질의 문제나 대량생산이 불리한 문제가 있었다.Conventionally, in the motor stator, the fusing bus bar is lifted or missing, or the height or position of the height of the bus bar is determined by manually inspecting the quantity or defect by the operator, or by inspecting the quantity and defect from the visual image taken. Most of them are to judge. From this, accurate inspection and determination of the motor was difficult, and there were problems of quality and mass production.

본 발명과 관련된 선행기술로, 특허문헌1의 퓨징 검사 장치 및 퓨징 검사 방법은 복수 개의 퓨징 파라미터의 측정값을 합산하여 산출한 산출 값에 기초하여 불량 여부를 판단하는 모니터링부를 포함하는 퓨징 검사 장치를 제공하여 각각의 퓨징 파라미터의 기준 값을 기준으로 접합품질의 불량 또는 양호를 판단하는 것이 개시되어 있다. 그러나 선행기술에 따르면, 측정된 전류, 저항, 전압 등의 퓨징 파라미터들의 측정값을 합산하여 접합품질을 판단하므로, 모터용 스테이터의 퓨징 버스바와 터미널의 접합을 위한 규격과 무관하게 접합품질만 검사할 뿐 다양한 규격 및 모델의 모터용 스테이터를 검사할 수 없는 문제가 있었다.As a prior art related to the present invention, the fusing inspection apparatus and the fusing inspection method of Patent Document 1 include a fusing inspection apparatus including a monitoring unit that determines whether there is a defect based on a calculated value calculated by summing measurement values of a plurality of fusing parameters. It is disclosed to provide a determination of poor or good bonding quality based on a reference value of each fusing parameter. However, according to the prior art, since the bonding quality is determined by summing the measured values of the measured fusing parameters such as current, resistance, and voltage, only the bonding quality can be inspected regardless of the standard for bonding the fusing busbar of the motor stator and the terminal. However, there was a problem that it was not possible to inspect stators for motors of various standards and models.

대한민국 공개특허공보 제10-2017-0032661호(2017.03.23., 공개)Republic of Korea Patent Publication No. 10-2017-0032661 (published on 23 March 2017)

본 발명은 상기 문제를 해결하기 위하여, 모터용 스테이터의 버스바와 터미널의 접합상태나 위치를 촬영하여 미리 설정된 범위를 벗어나는지 검사하여 양호, 불량, 가성불량을 판단할 수 있도록 하는 비전검사용 애플리케이션을 제공하기 위한 것이 목적이다.In order to solve the above problem, the present invention provides an application for vision inspection that enables the determination of good, bad, or false negative by photographing the state or position of the junction between the bus bar and the terminal of the motor stator and checking whether it is out of a preset range. The purpose is to provide.

또한, 본 발명은 모터용 스테이터의 비전 검사를 위하여 툴바를 통해 다양한 설정을 제공하고, 이미지의 입출력과 자동 및 수동모드에서의 검사를 제공하며, 다양한 모델의 변경 및 옵션설정이 가능하고, 이기종장비와의 연결을 위한 환경설정으로 보다 정확한 품질관리를 위한 것이 또 다른 목적이다. In addition, the present invention provides various settings through a tool bar for vision inspection of a stator for a motor, provides input and output of images and inspection in automatic and manual modes, and various model changes and option settings are possible, and heterogeneous equipment Another purpose is to achieve more accurate quality control by setting the environment for connection with the product.

본 발명은 상기 목적을 달성하기 위하여, 모터의 스테이터 제조 공정에서 퓨징 및 터미널의 비전검사용 애플리케이션을 구현하기 위하여 매체에 저장된 컴퓨터로 읽을 수 있는 프로그램에 있어서, (a) 비전검사용 애플리케이션의 실행으로 초기 화면창을 통해 작업자모드 및 관리자모드의 변경과, 생산하는 모델의 생성, 변경, 복사, 삭제 및 선택을 위한 관리와, 해당 스텝의 촬상과, 검사에 필요한 유닛의 설정을 위한 티칭과, 검사 물체의 물리적인 위치 및 변화의 확인과, 카메라의 설정과, 검사이미지가 저장된 로그폴더로 이동을 위한 로그와, 촬상 대기시간, 파일 저장기간, 이미지 저장방법, 장비 파트시간을 설정하는 작동 옵션 및 이기종 장비의 환경을 설정하는 환경설정을 제공하는 툴바창 기능; (b) 상기 설정된 카메라로부터 촬상화면과 검사 결과를 출력하는 검사화면을 출력하는 기능; (c) 주간 및 야간 상태를 화면에 출력하는 파트상태, 선택된 모델명의 출력, 양품 및 불량품의 개수를 포함하는 총 검사수량을 출력하는 검사수량 출력, 현재까지 검사한 결과를 초기화하는 검사기록 리셋, 검사 상태창을 표시하는 검사결과창과, 물체의 유무를 검색하는 서치, 위치 보정유닛 및 검사유닛 결과를 다른 유닛에 반영하는 데이터연결과, 작업자가 정한 위치에 특성을 통한 검사를 수행하는 검사와, 검사결과를 작업자가 원하는 방법으로 화면을 통해 출력하는 검사결과를 제공하는 검사결과 기록 및 검사유닛 설정기능; (d) 화면의 크기설정, 이미지를 저장하거나 기존 이미지 불러오기, 저장된 위치에서 이미지 불러오기를 제공하는 이미지 입력 및 출력검사 기능; (e) 장비와 연동하여 PLC를 통해 검사 요청신호가 들어 왔을 때 검사를 실시하는 자동모드와, 장비와의 연동을 차단하는 수동모드와, 수동모드에서 검사가 필요할 때에 사용하는 시작모드와, 검사완료 상태를 표시하는 정지모드를 제공하는 자동모드와 수동모드 설정기능; (f) 작동에 관한 판단을 위하여 작동 중 남겨야 할 로그를 화면에 출력하는 로그창 기능; (g) 작업자에게 검사에 대한 스텝 및 결과 정보를 제공하고, 화면을 통해 작업이 필요한 조명, 판정 및 분할을 설정하는 결과 및 조명설정 기능; (h) 자동모드, 검사요청, 스텝요청, 스텝완료, 알람, 모델, 양, 불량, 검사완료를 포함하는 입출력(IO) 상태를 출력하는 요소와, 카메라, MCU(Micro Controller Unit), PLC(Programmable Logic Controller)를 포함하는 이기종 장비와의 연결 상태를 출력하는 요소와, 모델, 자동모드, 작업자판단 및 불량을 포함하는 작동에 영향을 미치는 요소들의 상태를 확인할 수 있는 상태바 기능; (i) 설정된 드라이브에 날짜별 데이터의 저장위치와 검사한 모델의 양, 불량, 가성불량 저장정보를 구분하여 저장하는 데이터 저장경로 및 요소 창 기능; 을 포함하는, 모터용 스테이터의 제조 공정에서 퓨징 및 터미널의 비전검사용 애플리케이션을 구현하기 위하여 매체에 저장된 컴퓨터로 읽을 수 있는 프로그램을 제공한 것이 특징이다.In order to achieve the above object, the present invention provides a computer-readable program stored in a medium to implement an application for fusing and vision inspection of a terminal in a stator manufacturing process of a motor. Through the initial screen window, change operator mode and manager mode, management for creation, change, copy, deletion and selection of the model to be produced, imaging of the step, and teaching and inspection for setting units required for inspection. Operation options for checking the physical location and change of the object, setting the camera, and moving to the log folder in which the inspection image is stored, the waiting time for imaging, the file storage period, the image storage method, and the equipment part time. Toolbar window function that provides environment setting for setting the environment of heterogeneous equipment; (b) a function of outputting an inspection screen for outputting an imaging screen and an inspection result from the set camera; (c) Part status outputting day and night status on the screen, output of selected model name, inspection quantity output outputting total inspection quantity including the number of good and defective products, inspection record reset to initialize inspection results up to now, An inspection result window that displays an inspection status window, a search to search for the presence or absence of an object, a data connection that reflects the position correction unit and inspection unit results to other units, and an inspection that performs an inspection through characteristics at a location determined by the operator, An inspection result recording and inspection unit setting function for providing an inspection result outputting the inspection result through a screen in a manner desired by an operator; (d) image input and output inspection functions that provide screen size setting, saving images or loading existing images, and loading images from a saved location; (e) Automatic mode that performs inspection when an inspection request signal is received through PLC in connection with equipment, manual mode that blocks interlocking with equipment, and start mode used when inspection is needed in manual mode, and inspection Automatic mode and manual mode setting function to provide a stop mode indicating the completion status; (f) a log window function that outputs a log to be left during operation on the screen for judgment on operation; (g) a result and lighting setting function of providing information on steps and results for inspection to an operator, and setting lighting, judgment and division required for work through the screen; (h) Element that outputs input/output (IO) status including automatic mode, inspection request, step request, step completion, alarm, model, quantity, defect, inspection completion, camera, MCU (Micro Controller Unit), PLC ( A status bar function that can check the status of elements that output the connection status with heterogeneous equipment including (Programmable Logic Controller) and factors that affect operation including model, automatic mode, operator judgment, and failure; (i) a data storage path and element window function that separates and stores the storage location of data by date and the quantity, defect, and false-defect storage information of the tested model in the set drive; In order to implement an application for fusing and vision inspection of a terminal in a manufacturing process of a stator for a motor including, a program that can be read by a computer stored in a medium is provided.

또한, 본 발명에서, 상기 비전검사용 애플리케이션에서 비전 검사하는 항목은, 버스바의 높이, 버스바의 압착 각도, 버스바 내에 코일의 안착을 포함하는 버스바 검사와, 터미널 높이, 터미널 좌우 위치, 중심에서 터미널까지의 거리를 포함할 수 있다.In addition, in the present invention, the items for vision inspection in the vision inspection application include the height of the bus bar, the crimping angle of the bus bar, the bus bar inspection including the seating of the coil in the bus bar, the terminal height, the left and right positions of the terminal, It may include the distance from the center to the terminal.

또한, 본 발명에서, 상기 비전검사용 애플리케이션에서 비전 검사를 위한 퓨징 검사는 버스바와 터미널을 4개의 검사그룹으로 10번의 스텝을 반복하여 검사하되, 1번 그룹은 슬롯에서 버스바의 높이, 버스바의 각도 및 코일안착유무를 검사하고, 측정 위치는 슬롯의 경계, 버스바의 중심, 측면 경계의 위치 및 코일안착위치를 검사하며, 2번 그룹은 버스바 상부로 코일의 이탈, 슬롯영역에 코일의 유무를 검사하고, 3번 그룹은 터미널의 높이와 터미널의 좌우위치를 검사하고, 4번 그룹은 중심에서 터미널의 거리와 위치를 검사할 수 있다.Further, in the present invention, in the fusing inspection for vision inspection in the vision inspection application, the busbar and the terminal are inspected by repeating ten steps in four inspection groups, but the first group is the height of the busbar in the slot, the busbar Inspect the angle of the coil and whether or not the coil is seated, and the measurement position is the boundary of the slot, the center of the bus bar, the position of the side boundary, and the position of the coil seating. Group 2 is the separation of the coil to the top of the bus bar, and the coil in the slot area. The presence or absence of is checked, group 3 checks the height of the terminal and the left and right position of the terminal, and group 4 checks the distance and position of the terminal from the center.

또한, 본 발명에서, (j) 검사한 판정결과, 검사에 설정된 조명 값, 검사를 실시한 시간, 현재 선택 모델, 설정한 ROI(Region of Interest) 위치의 평균 RGB 값, 검사 상태의 모드, 현재 검사 스텝 및 검사 결과를 화면을 통해 출력하는 결과 값 화면 출력기능을 더 포함할 수 있다.In addition, in the present invention, (j) the inspection result, the illumination value set for the inspection, the inspection time, the current selection model, the average RGB value of the set region of interest (ROI) position, the mode of the inspection state, the current inspection A result value screen output function for outputting step and test results through a screen may be further included.

본 발명에 따르면, 모터용 스테이터의 퓨징 버스바의 들뜸이나 누락을 검사할 수 있고, 버스바 및 터미널의 높이와 터미널의 접합상태 및 위치를 복수로 촬영하여 미리 설정된 범위를 벗어나는지 검사하여 판단할 수 있으며, 다양한 모델의 변경에 대응하여 해당하는 조건의 설정으로 비전검사를 수행할 수 있고, 화면창의 출력되는 애플리케이션을 통해 다양한 환경과 옵션을 설정할 수 있으며, 화면창을 통해 검사결과를 정확하게 확인할 수 있고, 자동모드와 수동모드로 검사가 가능하며, 검사가 진행되는 동안 해당 유닛의 처리상태를 문자로 표시하고, 주요한 입출력 상태 등을 관리할 수 있어 모터용 스테이터의 퓨징과 코일포밍과 관련된 품질관리와 대량생산 및 비용절감을 구현한 이점이 있다.According to the present invention, it is possible to inspect the lifting or omission of the fusing bus bar of the motor stator, and to determine whether it is out of a preset range by photographing a plurality of heights of the bus bar and the terminal and the bonding state and position of the terminal. In response to changes in various models, vision inspection can be performed by setting the corresponding conditions, various environments and options can be set through the application displayed on the screen, and inspection results can be accurately checked through the screen window. In addition, inspection is possible in automatic mode and manual mode, and the processing status of the unit is displayed in text while the inspection is in progress, and the main input/output status can be managed, so that quality control related to fusing and coil forming of the motor stator It has the advantage of realizing mass production and cost reduction.

도 1은 본 발명에 따른 실시 예로, 모터용 스테이터의 제조 공정에서 퓨징 및 터미널의 비전검사를 위한 장치와 비전검사용 애플리케이션을 나타낸 구성도이다.
도 2는 본 발명에 따른 모터 스테이터의 제조 공정에서 퓨징 및 터미널의 비전검사를 위한 애플리케이션이 화면장치를 통해 표시된 것을 나타낸 예시도이다.
도 3 내지 도 21은 본 발명에 따른 모터 스테이터의 제조 공정에서 퓨징 및 터미널의 비전검사를 위한 애플리케이션에서, 툴바의 기능 및 설정을 나타낸 예시도이다.
도 22는 본 발명에 따른 모터 스테이터의 제조 공정에서 퓨징 및 터미널의 비전검사를 위한 애플리케이션에서, 검사화면을 나타낸 예시도이다.
도 23 내지 도 41은 본 발명에 따른 모터 스테이터의 제조 공정에서 퓨징 및 터미널의 비전검사를 위한 애플리케이션에서, 검사를 위한 다양한 설정을 나타낸 예시도이다.
도 42 및 도 43은 본 발명에 따른 모터 스테이터의 제조 공정에서 퓨징 및 터미널의 비전검사를 위한 애플리케이션에서, 검사항목을 나타낸 예시도이다.
도 44 내지 도 46은 본 발명에 따른 모터 스테이터의 제조 공정에서 퓨징 및 터미널의 비전검사를 위한 애플리케이션에서, 비전검사의 순서를 나타낸 예시도이다.
도 47 내지 도 63은 본 발명에 따른 모터 스테이터의 제조 공정에서 퓨징 및 터미널의 비전검사를 위한 애플리케이션에서, 검사유닛의 공통설정 방법을 나타낸 예시도이다.
도 64 내지 도 123은 본 발명에 따른 모터 스테이터의 제조 공정에서 퓨징 및 터미널의 비전검사를 위한 애플리케이션에서, 비전검사를 위한 설정방법을 나타낸 예시도이다.
도 124 내지 도 143은 본 발명에 따른 모터 스테이터의 제조 공정에서 퓨징 및 터미널의 비전검사를 위한 애플리케이션에서, 결과 값의 화면출력을 나타낸 예시도이다.
1 is a block diagram showing an apparatus for fusing and vision inspection of a terminal and an application for vision inspection in a manufacturing process of a stator for a motor according to an embodiment of the present invention.
2 is an exemplary view showing an application for fusing and vision inspection of a terminal in a manufacturing process of a motor stator according to the present invention is displayed through a screen device.
3 to 21 are exemplary views showing functions and settings of a toolbar in an application for fusing and vision inspection of a terminal in a manufacturing process of a motor stator according to the present invention.
22 is an exemplary view showing an inspection screen in an application for fusing and vision inspection of a terminal in a manufacturing process of a motor stator according to the present invention.
23 to 41 are exemplary views showing various settings for inspection in an application for fusing and vision inspection of a terminal in a manufacturing process of a motor stator according to the present invention.
42 and 43 are exemplary views showing inspection items in an application for fusing and vision inspection of a terminal in a manufacturing process of a motor stator according to the present invention.
44 to 46 are exemplary diagrams showing a sequence of vision inspection in an application for fusing and vision inspection of a terminal in a manufacturing process of a motor stator according to the present invention.
47 to 63 are exemplary views showing a common setting method of an inspection unit in an application for fusing and vision inspection of a terminal in a manufacturing process of a motor stator according to the present invention.
64 to 123 are exemplary diagrams showing a setting method for vision inspection in an application for fusing and vision inspection of a terminal in a manufacturing process of a motor stator according to the present invention.
124 to 143 are exemplary views showing screen output of result values in an application for fusing and vision inspection of a terminal in a manufacturing process of a motor stator according to the present invention.

이하 본 발명에 따른 모터용 스테이터의 제조 공정에서 퓨징 및 터미널의 비전검사용 애플리케이션을 구현하기 위하여 매체에 저장된 컴퓨터로 읽을 수 있는 프로그램에 관한 실시 예를 첨부된 도면을 참조하여 상세하게 설명한다.Hereinafter, in order to implement an application for fusing and vision inspection of a terminal in the manufacturing process of a stator for a motor according to the present invention, an embodiment of a computer-readable program stored in a medium will be described in detail with reference to the accompanying drawings.

도 1에서, 검사용 지그(100)는 모터용 스테이터의 제조 공정을 거쳐 제조된 스테이터의 퓨징 및 터미널을 검사하기 위한 지그이다. 검사용 지그(100)로서 모터용 스테이터를 파지하고 이송하는 파지이송용 지그는 제조된 스테이터가 컨베이어를 따라 이송되는 동안 파지이송용 지그에서 스테이터를 파지한 후에 회전용 지그 위에 올려놓는다. 검사용 지그(100)로서 회전용 지그는 스테이터를 일정의 각도로 회전시킨다. 카메라(110)는 회전용 지그에서 스테이터가 회전하는 동안 스테이터의 주요 부분을 촬영한다. 조명장치 및 디지털 입출력장치(120)는 상기 카메라(110)가 촬영하는 동안 일정 광도의 빛을 점멸시킨다.In FIG. 1, the inspection jig 100 is a jig for inspecting the fusing and terminal of a stator manufactured through a manufacturing process of a stator for a motor. As the inspection jig 100, the gripping jig that grips and transfers the motor stator is placed on the rotating jig after the stator is gripped by the gripping jig while the manufactured stator is transferred along the conveyor. As the inspection jig 100, the rotation jig rotates the stator at a predetermined angle. The camera 110 photographs the main part of the stator while the stator rotates in the rotating jig. The lighting device and the digital input/output device 120 blinks light of a certain luminous intensity while the camera 110 is photographing.

서버(200)는 모터용 스테이터의 퓨징 및 터미널의 검사를 위한 검사용 지그(100), 카메라(110) 및 조명장치 및 디지털 입출력장치(120)의 작동을 제어한다. 서버(200)는 카메라(110)에서 촬용된 영상을 표시장치(300)를 통해 표시되도록 한다. 서버(200)는 모터용 스테이터의 퓨징 및 터미널의 검사를 위하여 복수의 모듈들이 포함된 비전검사용 애플리케이션(220)이 설치된다. 그리고 서버(200)는 입력되는 데이터를 데이터베이스(210)에 저장하고 관리한다.The server 200 controls the operation of the inspection jig 100, the camera 110, the lighting device, and the digital input/output device 120 for fusing of the motor stator and inspection of the terminal. The server 200 displays an image captured by the camera 110 through the display device 300. The server 200 is installed with a vision inspection application 220 including a plurality of modules for fusing of a motor stator and inspection of a terminal. In addition, the server 200 stores and manages the input data in the database 210.

비전검사용 애플리케이션(220)의 촬영모듈(221)은 카메라로 모터용 스테이터의 주요 부분을 촬영한 영상을 처리하는 것이고, 검사화면출력모듈(222)은 표시장치(300)의 화면을 통해 검사가 완료된 결과를 출력하는 것이며, 환경과 옵션을 설정하는 설정모듈(223)은 비전검사를 위한 장비의 각종 환경과 옵션을 설정하는 것이고, 결과출력모듈(224)은 스텝검사에 관한 결과를 출력하는 것이며, 판정모듈(225)은 촬상된 이미지의 검사그룹의 검사판정의 종합적인 판정을 하는 것이고, 저장모듈(226)은 촬상된 이미지와 검사결과 등을 저장하는 것이며, 카메라설정모듈(227)은 카메라의 설정이나 장비와의 연결 상태를 설정하는 것이고, 장비설정모듈(228)은 비전검사를 위한 IO 장비의 동작, 사용포트, 동작방식 등을 설정하는 것이다. 또한, 검사유닛설정모듈(229)은 검사유닛의 각종 속성 등을 설정하는 것이고, 모드설정모듈(230)은 자동모드와 수동모드를 설정하는 것이며, 텍스트출력모듈(231)은 각종 판정결과를 텍스트로 출력하는 것이고, 조명설정모듈(232)은 카메라의 촬상 때에 조명의 점멸주기나 밝기 등을 설정하는 것이며, 모델관리모듈(233)은 생산 모델의 생성, 변경, 복사, 삭제 및 선택을 설정하는 것이고, 동영상출력모듈(234)은 카메라에서 촬영된 영상이미지를 출력하는 것이며, 로그설정모듈(235)은 검사가 수행되는 동안 유닛 처리상태를 문자로 출력하는 것이고, 상태바모듈(236)은 IO 상태의 출력, 검사환경설정 및 이기종 장비의 연결상태를 표시하는 것이다.The photographing module 221 of the vision inspection application 220 is to process an image photographed by the camera of the main part of the stator for the motor, and the inspection screen output module 222 can perform inspection through the screen of the display device 300. The completed result is output, the setting module 223 for setting the environment and options is for setting various environments and options of the equipment for vision inspection, and the result output module 224 is for outputting the result of step inspection. , The determination module 225 is to make a comprehensive determination of the test determination of the test group of the captured image, the storage module 226 is to store the captured image and test results, etc., the camera setting module 227 is a camera It is to set the configuration of the device or the connection state with the device, and the device setting module 228 is to set the operation of the IO device for vision inspection, the port to be used, the operation method, and the like. In addition, the inspection unit setting module 229 is to set various attributes of the inspection unit, the mode setting module 230 is to set the automatic mode and the manual mode, and the text output module 231 is to set various determination results as text. The lighting setting module 232 sets the blinking period or brightness of the lighting when the camera is photographed, and the model management module 233 sets the creation, change, copy, deletion, and selection of the production model. The video output module 234 outputs the video image captured by the camera, the log setting module 235 outputs the unit processing status as text while the inspection is being performed, and the status bar module 236 outputs the IO It displays status output, inspection environment setting, and connection status of heterogeneous equipment.

또한, 비전검사용 애플리케이션(220)은 모터용 스테이터의 검사항목으로 버스바의 갭의 들뜸과 누락을 검사하여 판정한다. 예컨대, 300W급 및 400W급의 모터용 스테이터에서 버스바의 높이는 대략 10.0ㅁ0.4mm 이내이고, 터미널의 높이는 20.1+0.1, -0.3mm, 즉, 19.8~20.2mm 이내이며, 터미널의 정위치는 R22.85~24.85 이내를 판정하고, 600W급의 모터에서 버스바의 높이는 대략 11.0ㅁ0.5mm 이내이고, 터미널의 높이는 23.3+0.1, -0.3mm, 즉, 23.0~23.4mm 이내이며, 터미널의 정위치는 R32.75~35.25 이내를 판정한다.In addition, the vision inspection application 220 checks and determines whether the gap of the bus bar is lifted or missing as an inspection item of the stator for the motor. For example, in 300W class and 400W class motor stators, the height of the bus bar is approximately within 10.0ㅁ0.4mm, the height of the terminal is within 20.1+0.1, -0.3mm, that is, within 19.8~20.2mm, and the exact position of the terminal is R22. It is judged within .85~24.85, and in a 600W class motor, the height of the busbar is within approximately 11.0ㅁ0.5mm, the height of the terminal is within 23.3+0.1, -0.3mm, that is, within 23.0~23.4mm, and the exact position of the terminal Is judged within R32.75~35.25.

이와 같이 이루어진 본 발명에 따른 모터용 스테이터의 제조 공정에서 퓨징 및 터미널의 비전검사용 애플리케이션을 구현하기 위하여 매체에 저장된 컴퓨터로 읽을 수 있는 프로그램에 관한 작용을 설명한다.In order to implement an application for fusing and vision inspection of a terminal in the manufacturing process of a stator for a motor according to the present invention thus made, an operation of a computer-readable program stored in a medium will be described.

(환경설정을 제공하는 툴바창 기능)(Toolbar window function that provides environment setting)

먼저, 도 2에서, 본 발명의 비전검사용 애플리케이션(220)은 상단에 프로그램의 실행과 함께 표시장치(300)의 화면창(1)에서, 생산하는 모델의 관리, 촬상화면의 표시, 검사유닛의 설정과 환경설정 및 카메라의 설정 등 각종 환경을 변경하거나 설정할 수 있는 툴바창(2)을 제공한다. 검사화면창(3)은 카메라에서 촬상한 이미지와 검사결과를 화면창에 보여준다. 검사결과 기록 및 검사유닛 설정창(4)은 검사기록과 검사유닛을 설정하는 창이고, 이미지 입력 및 출력검사창(5)은 이미지의 입력, 출력 및 검사를 수행하는 창이며, 자동모드와 수동모드 설정창(6)은 검사방법에 관한 모드를 설정하는 창이고, 로그창(7)은 검사가 진행되는 동안 유닛의 처리 상태를 문자(Text)로 출력하는 창이며, 결과 및 조명설정창(8)은 유닛의 전체 및 부분 결과와 해당하는 모델의 검사 조명 값을 설정하는 창이고, 상태바 창(9)은 주요한 입출력(IO) 상태를 관리하는 창이다.First, in FIG. 2, the vision inspection application 220 of the present invention is in the screen window 1 of the display device 300 with the execution of the program at the top, the management of the model to be produced, the display of the imaging screen, the inspection unit Provides a toolbar window (2) for changing or setting various environments such as settings and environment settings and camera settings. The inspection screen window 3 shows the image captured by the camera and the inspection result on the screen window. Inspection result record and inspection unit setting window (4) is a window for setting inspection record and inspection unit, image input and output inspection window (5) is a window for input, output and inspection of images, automatic mode and manual mode The setting window (6) is a window for setting the mode related to the inspection method, the log window (7) is a window that outputs the processing status of the unit as text while the inspection is in progress, and the result and lighting setting window (8) is It is a window for setting the overall and partial results of the unit and the inspection lighting value of the corresponding model, and the status bar window 9 is a window that manages the main input/output (IO) status.

표시장치(300)에 표시되는 화면창(1)의 툴바창(2)은 프로그램의 실행과 함께 초기화면에서, 생산하는 모델의 관리, 촬상화면의 표시, 검사유닛의 설정과 환경설정 및 카메라의 설정을 변경할 수 있다. 도 3에서, 툴바창(2)에서 작업자모드는 비전검사용 애플리케이션(220)을 사용하는 환경에 따라 작업자모드와 관리자모드를 지원한다. 작업자모드는 작업자가 생산모델에 맞추어 모델의 변경과 자동검사 및 1스텝(Step)을 검사할 수 있는 모드이다. 작업자모드에서 관리자모드로 변경할 때에는 변경하고자하는 모드의 비밀번호의 입력으로 변경할 수 있다.The toolbar window 2 of the screen window 1 displayed on the display device 300 is the initial screen with the execution of the program, the management of the model to be produced, the display of the imaging screen, the setting and environment setting of the inspection unit and the camera You can change the settings. In FIG. 3, the operator mode in the toolbar window 2 supports an operator mode and an administrator mode according to the environment in which the application 220 for vision inspection is used. The operator mode is a mode in which the operator can change the model, automatically inspect, and inspect one step according to the production model. When changing from worker mode to manager mode, you can change it by entering the password of the mode you want to change.

더욱이 도 4에서, 툴바창(2)에서 생산모델을 변경하거나 관리할 수 있다. 즉, 새로운 모델을 등록하기 위한 모델생성과, 선택된 모델명을 변경하는 모델변경과, 현재 모델의 파라미터 값으로 새로운 모델을 등록하는 모델복사와, 선택된 모델을 삭제하는 모델삭제, 그리고 선택된 모델을 검사모델로 선택하는 모델선택을 할 수 있다.Moreover, in FIG. 4, the production model can be changed or managed in the toolbar window 2. In other words, model creation to register a new model, model change to change the selected model name, model copy to register a new model with the parameter value of the current model, model deletion to delete the selected model, and inspection model of the selected model. You can select a model to choose from.

도 5a에서, 생산모델의 생성은 모델 생성은 검사를 수행할 고유 모델의 정보그룹을 생성한다. 모델정보에는 검사를 위한 환경들이 기본 값으로 설정되게 되고, 생성된 모델의 독립적인 검사환경과 데이터저장을 제공한다. 모델생성은 신규모델 버튼의 입력으로, 생성할 모델의 모델명과 모델코드를 입력한 후 선택버튼을 클릭하여 모델을 추가한다. 이때, 모델명은 해당하는 모델의 고유이름을 입력하되, 동일한 모델이 있을 경우에는 생성되지 않는다. 모델코드는 숫자만 입력이 가능하고, 자동 모델 변경기능이 활성화되어 있으면 IO입력을 통해 모델을 변경할 수 있다. 그리고 선택한 모델 정보를 저장한다. 정상적으로 모델이 추가되면 리스트에 생성된 모델이 추가된다. In FIG. 5A, the generation of the production model generates an information group of the unique model to be inspected. In the model information, environments for inspection are set as default values, and independent inspection environments and data storage of the created model are provided. Model creation is the input of the new model button. After entering the model name and model code of the model to be created, click the select button to add the model. At this time, for the model name, input the unique name of the corresponding model, but if there is the same model, it is not created. Only numbers can be entered for the model code, and if the automatic model change function is activated, the model can be changed through IO input. And it saves the selected model information. When a model is added normally, the created model is added to the list.

도 5b에서, 모델의 변경은 모델명과 코드번호를 변경하기 위한 것으로, 동일한 검사환경에서 모델명이나 모델코드가 변경되어야 할 때에 모델변경을 이용하여 모델명과 모델코드를 변경할 수 있다. 모델의 변경은 변경하고자 하는 모델을 리스트에서 선택하고 모델변경 버튼을 클릭한다. 이때, 모델명은 해당하는 모델의 고유이름을 입력하되, 동일한 모델이 있을 경우에는 생성되지 않는다. 모델코드는 숫자만 입력이 가능하고, 자동 모델 변경기능이 활성화되어 있으면 IO입력을 통해 모델을 변경할 수 있다. 그리고 선택한 모델 정보를 저장한다. 정상적으로 저장되었으면 리스트에 변경한 정보가 변경되었음을 확인할 수 있다. In FIG. 5B, the model name and the code number are changed, and when the model name or model code is to be changed in the same inspection environment, the model name and the model code can be changed using the model change. To change the model, select the model you want to change from the list and click the Change Model button. At this time, for the model name, input the unique name of the corresponding model, but if there is the same model, it is not created. Only numbers can be entered for the model code, and if the automatic model change function is activated, the model can be changed through IO input. And it saves the selected model information. If it is saved normally, it can be confirmed that the changed information in the list has been changed.

그리고 도 6a에서, 모델의 복사는 현재 모델의 검사 속성을 그대로 유지한 채 새로운 모델을 생성하는 것으로, 복사하고자 하는 모델을 리스트에서 선택하고 모델변경 버튼을 클릭한다. 새로운 모델명과 모델코드를 입력하고 선택버튼을 클릭한다. 이때, 모델명은 해당하는 모델의 고유이름을 입력하되, 동일한 모델이 있을 경우에는 생성되지 않는다. 모델코드는 숫자만 입력이 가능하고, 자동 모델 변경기능이 활성화되어 있으면 IO입력을 통해 모델을 변경할 수 있다. 그리고 선택한 모델 정보를 저장한다. 정상적으로 저장되었으면 리스트에 복사한 모델이 생성되었음을 확인할 수 있다. In Fig. 6A, copying a model creates a new model while maintaining the inspection properties of the current model. Select a model to be copied from the list and click the model change button. Enter the new model name and model code and click the Select button. At this time, for the model name, input the unique name of the corresponding model, but if there is the same model, it is not created. Only numbers can be entered for the model code, and if the automatic model change function is activated, the model can be changed through IO input. And it saves the selected model information. If it is saved normally, you can see that the copied model has been created in the list.

도 6b에서, 모델의 삭제는 선택한 모델을 제거하는 것으로, 선택된 모델이 현재 모델로 선택되어 있다면 삭제되지 않는다. 삭제하고자 하는 모델을 리스트에서 선택하고 삭제버튼을 클릭한다. 모델의 제거를 확인하면, 해당 모델은 제거된다. 정상적으로 제거가 완료되면, 모델리스트에는 선택한 모델이 제거된다. In FIG. 6B, the deletion of the model is to remove the selected model, and if the selected model is currently selected as a model, it is not deleted. Select the model you want to delete from the list and click the Delete button. Upon confirming the removal of the model, the model is removed. When the removal is normally completed, the selected model is removed from the model list.

도 7a에서, 모델의 선택은 검사를 수행할 모델을 선택하는 것으로, 검사가 시작되면 선택된 모델로 검사결과와 검사옵션이 적용된다. 도 7b에서, 모델선택의 변경 전에는 임시모델로 설정되고, 모델 변경 후에는 현재 선택된 모델이 활성화되고 검사창의 오른쪽에 모델명이 표시된다.In FIG. 7A, selection of a model is to select a model to perform inspection, and when inspection starts, the inspection result and inspection option are applied to the selected model. In FIG. 7B, before the model selection is changed, it is set as a temporary model, and after the model is changed, the currently selected model is activated, and the model name is displayed on the right side of the inspection window.

또한, 도 8a의 툴바창(2)에서, 해당 스텝의 촬상버튼의 입력으로 현재 화면을 촬상한다. 촬상 전에 오른쪽 하단의 스텝창에서 원하는 스텝을 선택하고 촬상을 한다. 도 8b에서, 촬상 때에는 해당 화면에 직전에 캡처된 화면이 갱신된다. 도 8c에서, 촬상은 수동모드에서만 작동하고 촬상 때에 검사결과가 초기화된다. In addition, in the tool bar window 2 of FIG. 8A, the current screen is captured by the input of the image capturing button in the corresponding step. Before capturing, select the desired step in the step window at the bottom right and take the image. In Fig. 8B, when capturing an image, a screen captured immediately before the corresponding screen is updated. In Fig. 8C, imaging is operated only in the manual mode, and the inspection result is initialized at the time of imaging.

도 9a의 툴바창(2)에서 관리자모드는 티칭, 동영상, 환경설정, 카메라 및 로그를 통해 수행된다. 즉, 티칭모드는 검사에 필요한 유닛을 설정할 수 있는 것으로, 관리자모드에서 티칭버튼을 입력하면 작업자모드로 바뀌고 결과창으로 변경된다. 그리고 도 9b에서, 작업자모드에서 티칭버튼이 입력되면 암호를 입력하는 창이 활성화되어 암호의 입력으로 티칭모드로 변환된다.In the toolbar window 2 of FIG. 9A, the manager mode is performed through teaching, video, environment setting, camera and log. In other words, the teaching mode allows you to set the unit required for inspection, and if you press the teaching button in the manager mode, the operator mode is changed and the result window is changed. In addition, in FIG. 9B, when the teaching button is input in the operator mode, a window for inputting a password is activated, and the input of the password is converted to the teaching mode.

동영상모드는 검사하려는 물체의 물리적인 위치와 변화를 확인하기 위한 것으로, 검사 수동상태에서 동영상모드를 사용할 수 있다. 카메라 설정은 특별한 경우를 제외하고 미리 설정된 상태로 사용할 수 있다. 로그는 로그폴더의 클릭으로 검사이미지가 저장되는 로그폴더로 이동한다. The moving picture mode is for checking the physical location and change of the object to be inspected, and the moving picture mode can be used in the inspection manual state. Camera settings can be used in a preset state except in special cases. The log is moved to the log folder where the inspection image is saved by clicking on the log folder.

도 10에서, 환경설정을 위한 메뉴는 비전의 작동옵션, 이기종 장비의 환경 설정이 가능하고, 작동옵션은 촬상 대기시간, 파일 저장기간 및 이미지 저장방법, 장비 파트시간 등을 설정할 수 있다.In FIG. 10, a menu for environment setting may set an operation option of a vision and an environment of heterogeneous equipment, and an operation option may set an image pickup waiting time, a file storage period and an image storage method, and an equipment part time.

옵션설정을 위한 메뉴는 해당 장비의 촬상 대기시간, 파일 저장기간 및 이미지 저장방법, 장비 파트시간 등을 설정할 수 있다. 예컨대, 도 11에서, 촬상 대기시간은 검사 시작신호가 들어오고 나서 이미지를 촬영하기 전의 대기시간이다. 물체가 설정된 위치에 들어와 안정화가 되기까지의 시간을 입력하면 된다. 그리고 도 12에서, 검사이미지를 저장할 것인지를 지정하는 항목으로, 양품, 불량, 가성불량 버튼이 체크되어 있다면 로그기록 폴더에 저장되게 된다. 도 13에서, 저장기간 설정은 해당 로그가 남아있을 기간을 설정한다. 최소 여유 공간은 설정된 용량보다 공간이 부족하게 되면 공간부족 메시지를 출력하게 된다. 저장드라이브는 해당 드라이브에 프로젝트 명으로 내용이 저장된다. 도 14에서, 파트시간의 설정은 오전, 오후 작업으로 시간을 설정하고, 설정된 시간이 되면 자동으로 검사 파트를 변경해준다. 도 15에서, 검사시작 방법과 출력타입은 검사판정 이후의 출력방법을 설정한다. 즉, 작업자의 판단은 설정했을 때 불량이 발생하면 OK, NG버튼이 깜박거리면서 입력을 기다린다. 불량 배출하는 방법은 검사결과가 NG시 배출(NG), PASS(OK) 신호를 출력한다. 검사시작은 연속모드에서 검사시작신호는 검사 끝날 때까지 유지해야 한다. 상승 에지는 검사시작이 최소검사시작시간 만큼만 유지되면 된다. PASS 출력타입은 PASS 상태 때에 검사결과신호를 OK로 표시할지 NG로 표시할 지를 선택한다. 그리고 작업자 판단이 사용일 때는 불량 발생 때에 결과 창의 하단 OVK, NG 버튼 색이 변경되며 OVK, NG중 한 개가 입력 또는 OP패널에서 판정이 입력되어야 검사가 마무리 됩니다. 불량 배출방법으로 PASS 출력타입은 작업자의 판단을 비사용으로 선택했을 때와 검사판정이 NG일 때 "배출"로 선택되었을 때는 NG로 판정결과를 보낸다. 그리고 PASS로 되어있을 때는 OK로 판정결과를 보낸다.In the menu for option setting, you can set the image pickup waiting time, file storage period and image storage method, and equipment part time of the device. For example, in FIG. 11, the waiting time for imaging is the waiting time before taking an image after the test start signal is received. Enter the time until the object enters the set position and stabilizes. In addition, in FIG. 12, as an item specifying whether to store the inspection image, if the Good, Defect, and False Defect buttons are checked, they are stored in the log recording folder. In FIG. 13, the storage period setting sets the period in which the corresponding log remains. When the minimum free space becomes insufficient than the set capacity, a space shortage message is displayed. The contents of the storage drive are saved as the project name in the relevant drive. In FIG. 14, the part time is set to work in the morning and afternoon, and the inspection part is automatically changed when the set time is reached. In Fig. 15, the inspection start method and the output type set the output method after the inspection determination. In other words, the operator's judgment is that if a defect occurs when setting, the OK and NG buttons blink and wait for input. The method of discharging defects is to output discharge (NG) and PASS (OK) signals when the inspection result is NG. In the continuous mode, the test start signal should be maintained until the end of the test. As for the rising edge, the test start only needs to be maintained for the minimum test start time. PASS output type selects whether to display the test result signal as OK or NG in the PASS state. And when the operator's judgment is in use, the color of the OVK and NG buttons at the bottom of the result window changes when a defect occurs, and the inspection is completed only when one of OVK and NG is input or judgment is entered on the OP panel. As the defective discharge method, the PASS output type sends the judgment result to NG when the operator's judgment is selected as non-use and when the inspection judgment is NG and “emission” is selected. And when it is set as PASS, the decision result is sent as OK.

또한, 도 16에서, 장비의 사용여부를 선택하고, IO장치는 통신장치 카메라는 영상취득장치의 사용여부를 설정한다. 또한, 도 17에서, 모델의 변경 타입의 설정으로, 모델변경모드는 외부로 설정되어 있을 때 IO입력신호에 맞추어 자동으로 모델을 변경한다. 모델고정은 자동 모델상태에서 모델을 선택 시 다음 모델로 IO신호가 변경되기 전까지 선택모델을 유지한다. 모델은 IO장비 입력은 7번, 6번, 5번, 4번, 8번, 9번의 순으로 비트연산을 통해 64개의 모델변경을 지원한다. 또한, 도 18에서, 불량 시 재검사 횟수를 지정한다. 불량발생 시 설정한 시간 이후에 재검사를 실시하고, NG 시 재검사 횟수만큼 반복한다. 스텝검사 결과출력을 스텝판정으로 했을 때만 NG 재검사를 실시한다. 또한, 도 19에서, 스텝검사 NG 처리는 스텝의 결과처리 방법과 스텝 검사 중 NG 발생 시 처리방법을 설정한다. 즉, 스텝검사 NG처리를 배출로 설정하면 NG가 발생한 스텝에서 검사가 마무리되고, PLC와 통신은 검사결과 NG출력 후 검사완료 출력을 보내며, 연속으로 설정하면 도중에 NG가 발생하더라도 검사를 마무리하고 결과를 보낸다. 또, 스텝검사 결과출력은 종합판정으로 설정하게 되면 모든 그룹 촬상 후 다음그룹으로 이미지를 촬상하게 되고, 스텝판정으로 설정 시 해당스텝 모든 검사그룹의 검사판정 후 다음 스텝으로 이동하게 되며, 검사시간을 줄이기 위해서는 종합판정으로 설정을 해야 한다. 또한, 도 20에서, 검사시작신호는 모두로 설정 시 검사시작신호 발생 후 자동과 수동 상태와 관계없이 검사를 실시한다. 자동으로 설정 시 수동 상태에서는 검사에 진입하지 않는다.In addition, in FIG. 16, whether to use the equipment is selected, and the IO device sets whether to use the communication device camera and the image acquisition device. In addition, in FIG. 17, as the model change type is set, the model change mode is automatically changed according to the IO input signal when the model change mode is externally set. Model fixation maintains the selected model until the IO signal is changed to the next model when a model is selected in the automatic model state. As for the model, IO device input supports 64 model changes through bit operation in the order of 7, 6, 5, 4, 8, and 9. In addition, in FIG. 18, the number of retests in case of failure is designated. When defects occur, re-inspection is performed after the set time, and in case of NG, the number of re-inspections is repeated. NG re-inspection is performed only when the step test result is output as step determination. In addition, in FIG. 19, in the step inspection NG processing, a result processing method of a step and a processing method when NG occurs during the step inspection are set. In other words, if step inspection NG processing is set to discharge, the inspection is finished at the step where NG has occurred, and communication with PLC sends the inspection completion output after the inspection result NG is output.If set to continuous, the inspection is finished even if NG occurs in the middle and the result Send. In addition, when the step test result output is set to comprehensive judgment, the image is captured by the next group after all groups are captured, and when set to the step judgment, the test moves to the next step after the inspection of all the inspection groups in the corresponding step. In order to reduce it, it is necessary to set it as a comprehensive judgment. In addition, in FIG. 20, when the test start signal is set to all, the test is performed regardless of the automatic or manual state after the test start signal is generated. When set to automatic, the test does not enter in the manual state.

또한, 도 21에서, IO장비의 설정메뉴로, IO장비이 수동동작 및 사용포트와 동작방식을 설정하기 위한 것으로, 디지털IO의 입력포트는 현재 연결 장비에서 보내는 출력 값을 확인할 수 있다. 출력포트는 사용자가 임의로 연결 장비에 입력신호를 보낼 수 있다. 출력확인은 현재 출력이 나가고 있는 상태이다. MCU(Micro Controller Unit) 대기시간은 프로그램의 문제가 발생 시 조명 및 IO 출력신호를 off 하는 기능이다. 현재 설정된 MCU 대기시간과 동작여부를 확인할 수 있다. 통신횟수는 IO장비와 통신한 횟수를 출력한다. 타임아웃은 장비상황으로 통신이 이루어지지 않은 횟수, 코드불량은 장비에서 수신된 데이터코드의 유효성이 맞는 횟수, 갱신주기가 몇 ms로 갱신되는지 출력한다. 조명 값을 현재 채널에서 출력되는 조명 값을 화면에 표시한다. 첫 번째 값은 PV값 두 번째 값은 SV값이 출력된다. IO환경 설정은 현재 종류에 맞는 모델, 통신포트, baud값을 설정하여 통신환경을 설정해야 한다. 조명제어타입, MCU 대기시간, IO사용, 통신실패 시 재전송은 통신에 대한 규칙을 정의한다.In addition, in FIG. 21, a setting menu of the IO device is used to set the manual operation of the IO device, the port used, and the operation method, and the input port of the digital IO can check the output value sent from the current connected device. The output port allows the user to send input signals to the connected equipment arbitrarily. Output check is a state in which output is currently being output. The microcontroller unit (MCU) waiting time is a function that turns off the lighting and IO output signal when a program problem occurs. You can check the currently set MCU standby time and operation status. The number of communication outputs the number of communication with the IO device. The timeout is the number of times that communication has not been performed due to the equipment status, the number of times the validity of the data code received from the device is correct for the bad code, and the number of ms the update period is updated. The lighting value displays the lighting value output from the current channel on the screen. The first value is the PV value and the second value is the SV value. In IO environment setting, communication environment should be set by setting the model, communication port, and baud value suitable for the current type. Lighting control type, MCU waiting time, IO usage, and retransmission in case of communication failure define the rules for communication.

(검사화면 출력기능)(Inspection screen output function)

다음으로, 비전검사용 애플리케이션(220)의 검사화면출력모듈(222)은 검사화면창(3)에서, 카메라(110)의 촬상화면과 검사했던 결과를 검사화면에 출력한다. 즉, 도 22에서, 설정된 카메라(110)로부터 촬상화면으로부터 검사한 결과를 검사화면을 통해 출력한다.Next, the inspection screen output module 222 of the vision inspection application 220 outputs an imaging screen of the camera 110 and the inspection result on the inspection screen in the inspection screen window 3. That is, in FIG. 22, the result of the inspection from the imaging screen from the set camera 110 is output through the inspection screen.

(검사결과 기록 및 검사유닛 설정기능)(Inspection result recording and inspection unit setting function)

도 23에서, 비전검사용 애플리케이션(220)의 결과출력모듈(224)과 검사유닛설정모듈(229)은 검사유닛 설정창(4)을 통해 주간 및 야간 상태를 화면에 출력하는 파트상태를 포함한다. 이때, 파트상태는 환경설정에서 설정했던 시간이 도래하면 변경된다. 또한, 선택된 모델명의 출력과 더불어 양품 및 불량품의 개수를 포함하는 총 검사수량을 출력하는 검사수량을 출력한다. 그리고 현재까지 검사한 결과를 초기화하는 검사기록 리셋과, 사용자 판단모드일 때 OVK, NG버튼이 활성화되는 검사상태창(10)이 활성화되어 표시된다.In FIG. 23, the result output module 224 and the inspection unit setting module 229 of the vision inspection application 220 include a part status for outputting day and night status on the screen through the inspection unit setting window 4. At this time, the part status is changed when the time set in the environment setting arrives. In addition, the number of inspections that outputs the total number of inspections including the number of good and defective products is output along with the output of the selected model name. In addition, the inspection record reset to initialize the inspection results up to now and the inspection status window 10 in which the OVK and NG buttons are activated in the user judgment mode are activated and displayed.

다음으로, 검사유닛의 설정은 검사유닛의 속성을 설정하기 위한 항목으로, 설정하는 방법은 수정할 유닛의 종류에 맞추어 유닛 탭을 선택하고 해당 유닛을 더블 클릭한다. 이때, 유닛의 설정으로, 물체의 유무를 검색하는 서치와, 위치 보정유닛 및 검사유닛 결과를 다른 유닛에 반영하는 데이터연결과, 작업자가 정한 위치에 특성을 통한 검사를 수행하는 검사와, 검사결과를 작업자가 원하는 방법으로 화면을 통해 출력하는 검사결과를 제공한다. Next, the setting of the inspection unit is an item for setting the properties of the inspection unit, and the setting method is to select a unit tab according to the type of unit to be modified, and double-click the unit. At this time, by setting the unit, a search to search for the presence or absence of an object, data connection that reflects the results of the position correction unit and the inspection unit to other units, an inspection that performs an inspection through characteristics at a location determined by the operator, and the inspection result It provides the inspection result that the operator wants to output through the screen.

더욱이 도 24에서, 검사결과와 검사유닛의 설정으로, 화면창(10)에서, 검사유닛 설정창(5)의 "<<", ">>" 을 클릭하여 이전, 이후 이미지는 불러온 이미지의 이전, 다음 이미지를 불러와 검사를 실시한다. 모델에 1개 이상의 스텝이 있을 경우에 모든 스텝에 대한 이미지를 불러온다. 도 25에서, 검사버튼을 클릭하면 현재 스템에 있는 이미지로 비전검사가 이루어진다. 또한, 도 26에서, "Set", "+" 는 가이드라인을 출력하는 것으로, Set기능으로 사용자가 가이드라인을 만들 수 있고, +로 화면으로 출력여부를 결정한다.In addition, in FIG. 24, as the inspection result and the setting of the inspection unit, in the screen window 10, click "<<", ">>" in the inspection unit setting window 5 to transfer the previous and subsequent images to the imported image. , Load the next image and perform the inspection. If there is more than one step in the model, images for all steps are loaded. In FIG. 25, when the inspection button is clicked, vision inspection is performed with the image currently in the stem. In addition, in FIG. 26, "Set" and "+" refer to the output of the guideline, and the user can create the guideline with the Set function, and determine whether to display the screen with +.

(이미지 입력 및 출력검사 기능)(Image input and output inspection function)

또한, 도 27에서, 비전검사용 애플리케이션(220)의 결과출력모듈(224)과 검사유닛설정모듈(229)은 검사유닛 설정창(4)을 통해 화면의 크기설정, 이미지를 저장하거나 기존 이미지 불러오기, 저장된 위치에서 이미지 불러오기를 제공한다. 즉, 이미지 크기설정은 보여주는 화면에 크기를 조정하기 위한 목적으로 사용하는 것으로, 도 28에서, "+" 는 화면을 1단계 확대, "-" 는 화면을 1단계 축소, "=" 는 원본사이즈로 출력, "0" 는 화면에 들어가는 최소사이즈로 출력, "<<", ">>", "Load", "Save" 는 이미지를 저장하거나 기존의 이미지를 불러오는 것이다. 특히 도 29에서, Load는 저장된 위치에서 화면에 이미지를 불러오는 것으로, 모델에 스텝검사가 있다면 해당스텝의 모든 이미지를 불러온다.In addition, in FIG. 27, the result output module 224 and the inspection unit setting module 229 of the vision inspection application 220 set the size of the screen through the inspection unit setting window 4, save an image, or load an existing image. , Provides image retrieval from saved location. That is, the image size setting is used for the purpose of adjusting the size of the screen to be displayed. In FIG. 28, "+" refers to the enlargement of the screen by one level, "-" refers to the reduction of the screen by one level, and "=" refers to the original size. Output to, "0" is the minimum size to fit on the screen, and "<<", ">>", "Load", and "Save" are to save an image or load an existing image. In particular, in FIG. 29, Load loads an image on the screen from a stored location, and if there is a step inspection in the model, all images of the corresponding step are loaded.

(자동모드와 수동모드 설정기능)(Auto mode and manual mode setting function)

도 30에서, 비전검사용 애플리케이션(220)의 모드설정모듈(50)은 자동모드와 수동모드 설정창(6)을 통해 자동검사를 위한 자동모드와 수동검사를 위한 수동모드의 상태를 변경하기 위하여 사용하는 것이다. 자동모드는 장비와 연동하여 PLC를 통해 검사 요청신호가 들어 왔을 때 검사를 실시한다. 그리고 수동모드는 장비와의 연동을 차단하고, 검사시작신호가 입력되어도 검사가 이루어지지 않는다. 또한, 시작모드는 수동모드에서 검사가 필요할 때에 사용하는 것으로, 시작버튼을 누르면 자동검사와 같이 1회 검사를 수행하고 검사결과 DO신호가 PLC로 출력된다. 정지모드는 검사완료 상태를 표시한다.In FIG. 30, the mode setting module 50 of the vision inspection application 220 is used to change the state of the automatic mode for automatic inspection and the manual mode for manual inspection through the automatic mode and manual mode setting window 6 It is to do. The automatic mode interlocks with the equipment and performs the inspection when the inspection request signal is received through the PLC. In addition, in the manual mode, the linkage with the equipment is blocked, and the inspection is not performed even when the inspection start signal is input. In addition, the start mode is used when inspection is needed in the manual mode. When the start button is pressed, the inspection is performed once as in the automatic inspection, and the inspection result DO signal is output to the PLC. Stop mode displays the inspection completion status.

(로그창 기능)(Log window function)

도 31에서, 비전검사용 애플리케이션(220)의 로그설정모듈(55)은 로그창(7)을 통해 작동에 관한 판단을 위하여 작동 중 남겨야 할 로그를 화면에 출력한다. 이후 출력된 해당 로그를 참조하여 작동에 대한 판단을 할 수 있다. In FIG. 31, the log setting module 55 of the vision inspection application 220 outputs a log to be left during operation through the log window 7 to determine the operation. After that, you can judge the operation by referring to the output log.

(결과 및 조명설정 기능)(Result and lighting setting function)

도 32에서, 비전검사용 애플리케이션(220)의 결과출력모듈(44)과 조명설정모듈(52)은 결과 및 조명설정창(8)을 통해 작업자에게 검사에 대한 스텝과 결과 정보를 제공하고, 화면을 통해 작업이 필요한 조명, 판정 및 분할을 설정한다. 결과 및 조명설정창(8)의 스텝(Step)은 검사한 결과를 화면에 출력하고, 불량발생 등으로 인해 검사한 스텝을 확인하기 위한 것으로, 스텝은 모델에 설정된 스텝의 개수로 세로로 출력한다. 그룹은 모델에 설정된 검사그룹으로 가로로 출력한다. 스텝번호는 선택된 번호를 출력한다. 넘버(Number)는 이미지를 불러왔을 때 해당 번호를 출력한다. 리셋(Reset)은 모든 스텝의 검사결과를 초기화한다. 원하는 스텝을 클릭하면 해당 스텝의 검사이미지가 검사화면창(3)에 출력된다. In FIG. 32, the result output module 44 and the lighting setting module 52 of the vision inspection application 220 provide the step and result information for the inspection to the operator through the result and lighting setting window 8, and display the screen. Through setting the lighting, judgment and division required for work. The step of the result and lighting setting window 8 is to output the inspection result on the screen and confirm the inspection step due to defects, etc., and the step is output vertically with the number of steps set in the model. The group is a test group set in the model and is output horizontally. Step number displays the selected number. Number (Number) outputs the number when the image is loaded. Reset initializes the inspection results of all steps. When a desired step is clicked, the inspection image of the step is displayed on the inspection screen window (3).

또한, 도 33에서, 결과를 나타내는 검사화면창(3)은 개별 유닛의 검사결과를 출력한다. 더욱이 티칭모드에서 유닛을 선택하면 선택한 유닛의 검사결과가 해당하는 창에 출력되나. 그리고 도 34에서, 판정창은 유닛의 검사결과를 스킵이 필요할 경우 사용한다. 검사 때에 특정 유닛에서 계속해서 가성불량이 나타나면 임시로 판정을 성공으로 처리할 때 이용한다.Further, in Fig. 33, the inspection screen window 3 indicating the result outputs the inspection result of the individual unit. Moreover, if a unit is selected in the teaching mode, will the inspection result of the selected unit be displayed in the corresponding window? And in Fig. 34, the judgment window is used when it is necessary to skip the inspection result of the unit. It is used to temporarily treat the decision as successful if a certain unit continues to fail during the test.

다음으로, 도 35에서, 조명 모드는 1개 스텝의 조명을 설정할 수 있는 "1개 스텝" 모드 모든 스텝의 조명을 조정할 수 있는 "전체 스텝" 모드로 나누어진다. 1스텝(Step1)모드의 조정은 해당 스텝의 설정을 위하여 스텝을 선택하고, 전체조명을 제어한다. 개별조명은 원하는 조명번호를 선택하여 제어하고, 조명 조정은 슬라이더를 이동하여 조정한다. 도 36에서, 전체 모드에서 해당 채널의 모든 스텝의 조명을 변경할 때는 원하는 채널번호를 입력한 후, 원하는 조명 값을 입력하고 Set버튼을 클릭한다. 도 37에서, 1개의 값만 변경하고 싶을 때는 직접 조명 값을 클릭하고 변경하고자 하는 조명 값을 변경하고 엔터를 누르면 해당 내용이 적용된다. 또한, 도 38에서, 화면에 표시되는 개수의 변경을 위하여 해당하는 개수만큼 그룹의 영상화면이 출력되도록 한다. 즉, 도 39에서, 가로개수와 세로개수를 입력하고 Set버튼을 클릭하여 화면 표시개수를 설정할 수 있다.Next, in Fig. 35, the lighting mode is divided into a "one step" mode in which lighting of one step can be set, and a "all step" mode in which lighting of all steps can be adjusted. Adjustment in Step 1 mode selects a step for setting the corresponding step and controls the overall lighting. Individual lighting is controlled by selecting a desired lighting number, and lighting adjustment is adjusted by moving a slider. In FIG. 36, when changing the lighting of all steps of the corresponding channel in the all mode, input the desired channel number, input the desired lighting value, and click the Set button. In FIG. 37, if you want to change only one value, click the lighting value directly, change the lighting value to be changed, and press Enter to apply the corresponding content. In addition, in FIG. 38, in order to change the number displayed on the screen, the number of video screens of the group is output. That is, in FIG. 39, the number of screen displays may be set by inputting the number of horizontal and vertical number and clicking the Set button.

(상태바 기능)(Status bar function)

비전검사용 애플리케이션(220)의 상태바모듈(56)은 상태바 창(9)을 통해 자동모드, 검사요청, 스텝요청, 스텝완료, 알람, 모델, 양, 불량, 검사완료를 포함하는 입출력(IO) 상태를 출력하는 요소와, 카메라, MCU(Micro Controller Unit), PLC(Programmable Logic Controller)를 포함하는 이기종 장비와의 연결 상태를 출력하는 요소와, 모델, 자동모드, 작업자판단 및 불량을 포함하는 작동에 영향을 미치는 요소들의 상태를 확인할 수 있도록 한다. The status bar module 56 of the vision inspection application 220 is input/output (including automatic mode, inspection request, step request, step completion, alarm, model, quantity, defect, inspection completion) through the status bar window 9 IO) status output, camera, MCU (Micro Controller Unit), PLC (Programmable Logic Controller) It allows you to check the status of the factors that affect the operation.

도 40a에서, 입출력(IO) 상태출력은 PLC와 통신에 이용하는 IO 입력,출력신호 상태를 표시하기 위해 사용한다. 세부적인 요소로 자동모드는 비전에서 PLC에 비전검사 연동해달라는 신호를 보낼 때 활성화되고, 검사요청은 PLC에서 비전검사를 수행하라는 입력신호가 들어올 때 활성화되며, 스텝요청은 다중스텝검사를 실시할 때 다음 스텝의 검사를 시작하라는 입력신호가 들어올 때 활성화되고, 스텝완료는 비전에서 PLC로 해당 스텝의 검사를 끝났다는 신호를 보낼 때 활성화되며, 알람(Alarm)은 불량판정 작업자 판단모드에서 NG가 발생 했을 때 PLC로 알람을 요청하는 신호를 보낼 때 활성화되고, 모델(Model(A))은 비전에서 PLC에서 보내준 모델 상태 값에 일치하는 모델이 없을 때 PLC로 알람을 요청하는 신호를 보낼 때 활성화되며, OK는 검사를 완료하고 판정결과가 양품임을 알려주는 신호를 PLC로 보낼 때 활성화되고, NG는 검사를 완료하고 판정결과가 불량임을 알려주는 신호를 PLC로 보낼 때 활성화된다. 그리고 검사완료는 비전에서 PLC로 검사가 끝났다는 신호를 보낼 때 활성화된다.In FIG. 40A, the input/output (IO) status output is used to display the status of the IO input and output signals used for communication with the PLC. As a detailed factor, the automatic mode is activated when the vision sends a signal to connect the vision inspection to the PLC, and the inspection request is activated when an input signal to perform the vision inspection is received from the PLC, and the step request is a multi-step inspection. It is activated when the input signal to start the inspection of the next step is received, and the step completion is activated when the vision sends a signal that the inspection of the step has been completed to the PLC, and the alarm is NG in the defect judgment operator judgment mode. When it occurs, it is activated when a signal requesting an alarm is sent to the PLC, and the model (Model(A)) is activated when a signal requesting an alarm is sent to the PLC when there is no model that matches the model status value sent from the PLC in the vision. OK is activated when the inspection is completed and a signal indicating that the judgment result is good is sent to the PLC, and NG is activated when the inspection is completed and a signal informing that the judgment result is defective is sent to the PLC. And the inspection completion is activated when the vision sends a signal that the inspection is over to the PLC.

도 40b에서, 이기종 장비의 상태출력은 카메라와 PLC 및 IO보드의 연결 상태를 표시한다. 즉, 카메라는 비전장비에 연동된 카메라가 연결되었을 때 활성화되고, MCU는 비전장비에 연동된 조명IO보드가 연결되었을 때 500ms간격으로 깜박거리며, PLC는 PLC와 연동되었을 때 비전 자동 모드일 때 활성화된다.In FIG. 40B, the state output of the heterogeneous equipment indicates the connection state of the camera, the PLC, and the IO board. In other words, the camera is activated when the camera linked to the vision equipment is connected, the MCU blinks every 500ms when the lighting IO board linked to the vision equipment is connected, and the PLC is activated when it is in vision auto mode when linked with the PLC. do.

또한, 도 40c에서, 검사 환경상태 출력은 비전작동에 영향을 미치는 요소들의 상태를 확인하기 쉽게 표시한다. 즉, 모델은 PLC와 연동하여 모델 변경할 때 활성화되고, 자동모드는 비전에서 PLC에 비전검사 연동해달라는 신호를 보낼 때 활성화되며, 작업자판단은 불량발생에서 작업자판단 모드로 변경되어 있을 때 활성화되고, 불량배출은 불량발생 때에 배출모드로 설정되어있을 때 활성화된다.In addition, in FIG. 40C, the inspection environment state output easily displays the states of elements that affect the vision operation. In other words, the model is activated when the model is changed by interlocking with the PLC, and the automatic mode is activated when the vision sends a signal to connect the vision inspection to the PLC, and the operator judgment is activated when the defect occurs to the operator judgment mode. Defective discharge is activated when the discharge mode is set at the time of failure.

(데이터 저장경로 및 요소 기능)(Data storage path and element function)

도 41a에서, 비전검사용 애플리케이션(220)의 저장모듈(46)은 설정된 드라이브에 날짜별 데이터의 저장위치와 검사한 모델의 양, 불량, 가성불량 저장정보를 구분하여 저장한다. 예컨대, 데이터 저장 위치는 설정된 드라이브에 프로그램 이름으로 저장된다. 날짜별 저장위치는 예를 들어, 2018년 10월 24일 자료, 저장로그/Log/2018/10/24폴더에 저장된다. 그리고 도 41b에서, 일일로그 폴더의 내용으로, Day는 주간에 생산한 검사이미지와 로그가 저장되고, Night는 야간에 생산한 검사이미지와 로그가 저장되며, Device는 디바이스장비와 통신한 내용이 저장되고, Inspector는 수동검사를 실시한 이미지와 로그가 저장되며, ButtonEvent는 사용자가 버튼을 누를 내용이 저장되고, InspectListLog는 자동 검사한 내용으로, 시간, 모델, 검사번호, 결과 등이 저장되며, systemLog는 프로그램의 시작 과종료시간이 저장된다. 또한, 도 41c에서, Day, Night폴더에 들어가서 검사한 모델을 선택하면 양품, 불량, 가성불량에 관한 저장정보가 구분되어 저장된다.In FIG. 41A, the storage module 46 of the vision inspection application 220 separates and stores the storage location of data for each date and the amount, defect, and false-defect storage information of the tested model in a set drive. For example, the data storage location is stored in the set drive under the program name. The storage location by date is, for example, stored in the October 24, 2018 data and the storage log/Log/2018/10/24 folder. In Figure 41b, as the contents of the daily log folder, Day stores inspection images and logs produced during the day, Night stores inspection images and logs produced at night, and Device stores the contents of communication with the device equipment. Inspector, the image and log of manual inspection are stored, ButtonEvent is the contents of the user pressing the button, InspectListLog is the automatic inspection contents, time, model, inspection number, results, etc. are stored, and systemLog is The start and end times of the program are stored. In addition, in FIG. 41C, when a model inspected by entering the Day and Night folders is selected, storage information on good products, defects, and false performances is classified and stored.

다음으로, 모터용 스테이터의 제조 공정에서 퓨징 및 터미널의 비전검사용 애플리케이션(220)의 검사항목은 버스바의 높이, 버스바의 압착 후 각도, 버스바 내에 코일의 안착유무 및 상단코일의 안착위치 등을 검사한다. Next, the inspection items of the application 220 for fusing and vision inspection of the terminal in the manufacturing process of the motor stator are the height of the bus bar, the angle after the compression of the bus bar, whether or not the coil is seated in the bus bar, and the seating position of the upper coil. Check your back.

도 42a에서, 버스바의 높이불량은 코어 하단에서부터 버스바 상단까지의 높이가 최소, 최대 범위 안에 들어가지 못하면 불량으로 판정한다. 도 42b에서, 버스바의 압착 후 각도 불량은 버스바의 압착 후 버스바의 중심점에서 외각점의 각도가 일정 수준이하이면 불량으로 판정한다. 또한, 도 42c에서, 코일안착유무는 버스바의 안쪽에 코일이 안착되지 않았다면 불량으로 판정하고, 도 42d에서, 상단코일의 안착위치는 버스바 상단에 코일이 올라타 있으면 불량으로 판정한다.In FIG. 42A, the defective height of the bus bar is determined as defective when the height from the lower end of the core to the upper end of the bus bar does not fall within the minimum and maximum ranges. In FIG. 42B, a defective angle after compression of the bus bar is determined as a defect if the angle of the outer point from the center point of the bus bar after the compression of the bus bar is less than a certain level. In addition, in Fig. 42C, whether the coil is seated is determined as defective if the coil is not seated inside the bus bar, and in Fig. 42D, the seating position of the upper coil is determined as defective if the coil is mounted on the upper end of the bus bar.

그리고 모터용 스테이터의 제조 공정에서 퓨징 및 터미널의 비전검사용 애플리케이션(220)의 검사항목으로, 터미널 높이, 터미널 좌우 위치, 중심에서 터미널까지의 거리를 포함하는 터미널을 검사한다. 즉, 도 43a에서, 터미널의 높이 불량은 슬롯에서 터미널까지의 길이가 다르면 불량으로 판단하고, 도 43b에서, 터미널의 좌우위치 불량은 터미널의 좌우위치가 기준을 넘어가면 불량으로 판단하며, 도 43c에서, 중심에서 터미널까지의 거리는 스테이터의 중심에서 터미널까지의 길이가 기준을 넘어가면 불량으로 판단한다.In addition, as an inspection item of the application 220 for fusing and vision inspection of the terminal in the manufacturing process of the motor stator, the terminal including the height of the terminal, the left-right position of the terminal, and the distance from the center to the terminal is inspected. That is, in FIG. 43A, a defective height of a terminal is determined as a defect when the length from a slot to a terminal is different, and in FIG. 43B, a defective left and right position of a terminal is determined as a defect when the left and right positions of the terminal exceed the standard, and FIG. 43C In, the distance from the center to the terminal is judged as defective if the length from the center of the stator to the terminal exceeds the standard.

다음으로, 도 44에서, 퓨징비전검사에 따른 순서는 검사하려는 위치를 한 번에 보지 못하기 때문에 대략 10번의 스텝을 반복하여 해당하는 위치에 따른 검사를 실시한다. 도 45에서, 총 10번의 검사스텝 중 1개의 스텝이라도 불량이 발생하게 되면 최종적으로 불량으로 판정한다. 검사요소는 화면 우측 하단에 있는 스텝결과로 확인할 수 있다. 그리고 도 46에서, 불량이 발생한 스텝의 화면을 보기 위하여 불량이 발생한 스텝에 마우스를 클릭하면 해당 스텝의 검사화면이 보이게 된다.(32-33페?)Next, in FIG. 44, in the order according to the fusing vision test, since the position to be inspected cannot be seen at once, approximately 10 steps are repeated to perform the inspection according to the corresponding position. In FIG. 45, if a failure occurs in even one of the total ten inspection steps, it is finally determined as a failure. The inspection factor can be checked with the step result at the bottom right of the screen. And in Fig. 46, if you click the mouse on the step where the defect has occurred in order to see the screen of the step where the defect has occurred, the inspection screen of the corresponding step is displayed. (pages 32-33?)

또한, 검사유닛의 설정방법에서, 도 47에서, 검사유닛은 검사를 위한 기능을 담당하는 검사객체로, 화면의 ROI 박스내의 경계 위치를 측정하거나 또는 코일유무를 검사하는 등 각 기능에 따라 수행한다. 해당하는 검사기능에 따른 유닛의 검사결과와 연산을 통하여 최종적인 검사판정을 실시한다. 그리고 도 48에서, 검사유닛의 설정방법으로 검사유닛은 검사유닛 설정창(4)을 이용하여 설정한다. 검사유닛 설정창(4)에 진입하는 방법은 툴바창(2)에서 티칭을 거쳐 설정을 원하는 유닛을 더블 클릭함으로써 검사유닛 설정창(4)이 활성화된다. 검사유닛에서 검사하는 방법은 ROI설정, 측정 및 파라미터 설정, 판정 및 파라미터 설정을 통한 3가지의 설정으로 검사할 수 있는 환경이 제공된다. 그리고 도 49에서, 검사유닛의 공통 설정방법에서 UI공통 사용방법으로, 유닛 기능 탭 및 편집은 설정창 화면을 3개의 구성으로 나누어지고 설정 값을 변경하는 영역, ROI를 설정하거나 측정 및 설정결과를 보여주는 화면영역, 기능 탭을 이동하는 화면영역으로 나누어진다. 그리고 도 50에서, 화면창은 ROI 티칭화면, 측정결과, 검사결과를 확인할 수 있다.In addition, in the method of setting the inspection unit, in FIG. 47, the inspection unit is an inspection object responsible for a function for inspection, and is performed according to each function, such as measuring a boundary position in the ROI box of the screen or inspecting the presence or absence of a coil. . The final inspection decision is made through the unit's inspection results and calculations according to the corresponding inspection function. And in Fig. 48, the inspection unit is set using the inspection unit setting window 4 as a method of setting the inspection unit. To enter the inspection unit setting window 4, the inspection unit setting window 4 is activated by double-clicking the desired unit through teaching in the toolbar window 2. The inspection method in the inspection unit provides an environment in which inspection can be performed in three settings through ROI setting, measurement and parameter setting, judgment and parameter setting. And in FIG. 49, from the common setting method of the inspection unit to the common UI usage method, the unit function tab and edit are divided into three configurations of the setting window, and the area for changing the setting value, setting the ROI, or showing the measurement and setting results. It is divided into a screen area and a screen area to move the function tab. In addition, in FIG. 50, the screen window can confirm the ROI teaching screen, the measurement result, and the inspection result.

또한, 도 51에서, 검사세팅을 하면서 검사위치를 더욱 자세히 보기 위해서 화면을 확대해야 할 필요성이 있다. 화면을 확대하고 응용하는 방법으로, 상부의 화면이 메인 뷰(View)이고, 하부의 화면은 화면을 확대하거나 축소하는 서브 뷰이다. 도 52에서, 서브 뷰의 메뉴로, "…" 는 이미지 확대 비율입력 버튼이고, "+" 는 이미지 확대 버튼이며, "=" 는 원본이미지 비율이고, "-"는 이미지 축소 버튼이며, "0" 는 화면크기에 맞추는 출력 버튼이다. 또, 도 53에서, 원하는 검사위치를 확인하기 위해서 "…" 버튼으로 확대한다. 배율을 확대하고 난 다음 서브화면의 확대를 원하는 지점으로 이동하면 원하는 위치를 확대해서 볼 수 있다.In addition, in FIG. 51, there is a need to enlarge the screen in order to see the inspection position in more detail while setting the inspection. As a method of enlarging and applying the screen, the upper screen is the main view, and the lower screen is a sub view that enlarges or reduces the screen. In FIG. 52, in the sub-view menu, "..." is an image enlargement ratio input button, "+" is an image enlargement button, "=" is an original image ratio, "-" is an image reduction button, and "0" "Is an output button that fits the screen size. Further, in Fig. 53, it is enlarged with the "..." button in order to confirm the desired inspection position. After magnifying the magnification, if you move the sub-screen to the desired point, you can zoom in on the desired location.

또한, ROI 설정방법으로, 도 54에서, ROI 설정은 검사할 범위를 설정하는 기능이다. 검사유닛의 패턴 매칭을 제외하고 모두 영역 탭에서 검사영역 ROI를 지정한다. 설정방법은 영역 탭으로 이동한 후 화면 왼쪽의 설정창 Edit박스를 클릭하면 ROI 설정 다이얼로그가 활성화된다. 그리고 도 55에서, ROI 편집 다이얼로그의 기능으로, 등록 도형 리스트는 등록된 ROI 도형의 명칭이 일람에 표시된다. 도형추가 버튼그룹은 ROI 도형을 추가하고, 도형 복사/삭제그룹은 선택도형을 제거 및 복사하며, 도형타입 설정은 도형타입을 설정한다. 또한, 도 56에서, ROI를 추가 및 위치를 지정하는 방법으로, 해당 유닛에서 녹색범위 안에 활성화된 해당 유닛에서 지원하는 ROI 도형이다. 도 57에서, WideLine 버튼을 클릭해서 ROI를 추가하면, 새로운 Roi영역이 만들어진다. ROI 위치를 수정하는 방법은 크기를 고정적으로 크기를 직접입력하거나 메인화면에서 설정하여 변경하는 방법과, 링크식을 이용하여 동적으로 변경하는 방법이 있다. 고정적으로 변경하게 되면 해당위치는 항상 고정되지만 동적으로 변경하게 되면 다른 유닛의 검사결과에 따라서 위치가 이동하게 된다. 도 58에서, 새로 추가된 ROI의 위치를 조정하기 위하여, 먼저 변경하고자 하는 ROI를 리스트에서 선택하면 메인화면에 다음과 같이 ROI에 가이드라인이 만들어진다. 도 59에서, 해당 가이드라인을 움직여서 원하는 위치로 이동하면 된다. 변경하려는 방향의 가이드 사각형에 마우스를 올리면 황색으로 변경된다. 마우스를 드래그해서 원하는 위치로 이동하고, 이동 후 OK버튼을 클릭하여 저장한다.In addition, as an ROI setting method, in FIG. 54, the ROI setting is a function of setting a range to be inspected. Except for the pattern matching of the inspection unit, the inspection area ROI is specified in the area tab. For the setting method, move to the area tab and click the Edit box in the setting window on the left side of the screen to activate the ROI setting dialog. And in Fig. 55, as a function of the ROI edit dialog, the registered figure list displays the names of the registered ROI figures in the list. The figure add button group adds the ROI figure, the figure copy/delete group removes and copies the selected figure, and figure type setting sets the figure type. In addition, in FIG. 56, as a method of adding an ROI and designating a location, it is an ROI diagram supported by a corresponding unit activated within a green range in the corresponding unit. In FIG. 57, when an ROI is added by clicking the WideLine button, a new Roi area is created. There are two ways to modify the ROI position: a method of changing the size by directly entering the size or setting it on the main screen, and a method of dynamically changing the size using a link formula. If it is fixedly changed, the corresponding position is always fixed, but if it is changed dynamically, the position is moved according to the inspection results of other units. In FIG. 58, in order to adjust the position of the newly added ROI, if the ROI to be changed is first selected from the list, a guideline is created on the ROI as follows on the main screen. In Fig. 59, the guideline may be moved to a desired position. When you place the mouse on the guide square in the direction you want to change, it turns yellow. Drag the mouse to move it to the desired location, then click OK button to save it.

다음으로, 직접 포인트 픽셀위치를 이동해서 지정하기 위하여 적색의 사각형을 눌러서 원하는 위치설정창으로 이동하면 된다. Winline은 중심위치 탭, 시작/종료위치 탭, 링크식 탭 3개의 탭이 있다. 도 60에서, 변경하고자 하는 위치에 "…" 버튼을 클릭하고 픽셀 값을 입력하면 화면과 같이 좌표가 이동됨을 확인할 수 있다. 이동 후 OK버튼을 클릭하여 저장한다. 또한, 도 61에서, 수식을 이용하여 ROI 설정할 수 있다. 링크식 탭으로 이동 후 변경을 원하는 항목을 설정하고 "Edit" 버튼을 클릭한다. 설정할 포지션에 맞는 원하는 링크식 탭을 작성 후 확인버튼을 클릭하여 저장하면 된다. 더욱이 영역으로 설정할 ROI를 추가한다. 여기서 특정 유닛은 미리 설정된 도형만 사용 가능하다. 위치를 수정할 ROI 도형을 선택하고, 선택된 도형의 위치를 검사를 원하는 위치로 이동하고 OK버튼을 클릭하여 변경사항을 저장한다.Next, you can move to the desired location setting window by pressing the red square in order to directly move and designate the point pixel location. Winline has three tabs: center position tab, start/end position tab, and link type tab. In FIG. 60, it can be seen that the coordinates are moved as shown on the screen when the "..." button is clicked on the position to be changed and a pixel value is input. After moving, click OK button to save. In addition, in FIG. 61, the ROI can be set using an equation. After moving to the link-type tab, set the item you want to change and click the "Edit" button. After creating the desired link type tab for the position to be set, click the OK button to save. Furthermore, an ROI to be set as an area is added. Here, for a specific unit, only preset figures can be used. Select the ROI figure to modify its location, move the location of the selected figure to the location you want to check, and click the OK button to save the changes.

측정 파라미터를 변경하기 위하여 측정 파라미터는 검사하고자 하는 위치의 판단의 기준을 정의하는 값이다. 도 62에서, 버스바의 경계위치를 확인하기 위해 경계판정의 민감도를 40에서 4로 조정하면, 경계를 판정하는 위치가 달라진다.In order to change the measurement parameter, the measurement parameter is a value that defines the criterion for determining the location to be inspected. In Fig. 62, if the sensitivity of the boundary determination is adjusted from 40 to 4 in order to check the boundary position of the bus bar, the position at which the boundary is determined is changed.

도 63에서, 결과 판정 파라미터는 측정된 값이 판정범위의 최소, 최대 범위에 들어오는지를 판단한다. 판정버튼을 클릭하게 되면 해당 판정의 결과가 나온다. 여기서 원하는 판정항목의 최소, 최대판정범위 조정버튼 "…" 을 눌러 판정범위를 지정한다. 검사항목이 해당 판정결과 항목의 최소값 및 최대값 범위 안에 있어야 양품으로 판정된다. 여기서 특정 유닛은 미리 설정된 도형만 사용 가능하다. 위치를 수정할 ROI 도형을 선택하고, 선택된 도형의 위치를 검사를 원하는 위치로 이동하고 OK버튼을 클릭하여 변경사항을 저장한다.In Fig. 63, the result determination parameter determines whether the measured value falls within the minimum and maximum range of the determination range. When you click the judgment button, the result of the judgment comes out. Here, press the minimum and maximum judgment range adjustment button "…" of the desired judgment item to designate the judgment range. The inspection item must be within the range of the minimum and maximum values of the corresponding judgment result item to be judged as good. Here, for a specific unit, only preset figures can be used. Select the ROI figure to modify its location, move the location of the selected figure to the location you want to check, and click the OK button to save the changes.

다음은 비전검사 설정방법이다. 도 64에서, 퓨징검사는 4개의 검사그룹을 10번의 스텝을 반복하며 검사한다. 도 65에서, 스텝을 반복하면서 검사하는 그룹으로, 그룹별 검사항목 설정방법은 1번 그룹에서, 슬롯에서 버스바 높이, 버스바 각도, 코일안착유무를 설정한다. 도 66에서, 측정의 위치는 슬롯의 경계, 버스바 중심, 측면 경계의 위치, 코일안착위치를 검사한다. The following is how to set up vision inspection. In Fig. 64, in the fusing test, four test groups are tested by repeating ten steps. In FIG. 65, as a group to be inspected while repeating the steps, the method of setting inspection items for each group is to set the height of the bus bar in the slot, the angle of the bus bar, and whether or not the coil is seated in the first group. In Fig. 66, the position of the measurement checks the position of the boundary of the slot, the center of the bus bar, the position of the side boundary, and the seating position of the coil.

그리고 도 67에서, 설정된 비전검사를 재설정하기 위하여, 검사화면을 육안으로 보았을 때 원하는 검출위치가 기준에 틀어졌을 때는 검사를 위한 유닛을 설정하여 정확한 위치를 가리키도록 한다. 도 68에서, 검사 최소, 최대 범위를 설정해야 할 때는 판정범위를 설정한다. 도 69에서, 원하는 측정위치를 검사했으나 버스바 높이 값이 맞지 않을 때는 판정 탭의 교정 값을 설정한다.And in FIG. 67, in order to reset the set vision inspection, when a desired detection position is wrong with the reference when the inspection screen is visually viewed, a unit for inspection is set to indicate the correct position. In Fig. 68, when it is necessary to set the inspection minimum and maximum ranges, the judgment range is set. In Fig. 69, when the desired measurement position is checked, but the height value of the bus bar does not match, the calibration value of the determination tap is set.

또한, 도 70에서, 1번 그룹의 검사위치를 설정하기 위하여, 툴바에서 티칭버튼을 클릭하고, 오른쪽 상단 1번 그룹 버튼클릭하며, 검사 탭을 클릭하여 1번 그룹검사 유닛을 더블클릭한다. 그리고 도 71에서, 슬롯의 경계를 검사한다. 측정된 슬롯 경계는 버스바 중심에서 슬롯까지의 거리를 재기 위해 사용된다. 먼저 ROI를 모든 스텝에서 검사될 수 있도록 ROI 위치를 설정한다. 설정방법은 좌측 상단의 Edit 버튼을 클릭하고, 우측 화면에 검사를 원하는 범위를 설정한 뒤 OK 버튼을 클릭한다. 도 72에서, ROI가 설정된 다음은 정확한 경계를 구하기 위하여 그래프를 보고 경계의 위치가 제대로 검출될 수 있게 슬라이더바를 움직여 수치를 설정한다.In addition, in FIG. 70, in order to set the inspection position of the first group, the teaching button is clicked on the toolbar, the first group button is clicked on the upper right, and the first group inspection unit is double-clicked by clicking the inspection tab. And in Fig. 71, the boundary of the slot is checked. The measured slot boundary is used to measure the distance from the center of the busbar to the slot. First, set the ROI location so that the ROI can be inspected at all steps. To set up, click the Edit button on the top left, set the range you want to check on the right screen, and click the OK button. In FIG. 72, after the ROI is set, a value is set by moving the slider bar so that the position of the boundary can be properly detected by looking at the graph in order to obtain an accurate boundary.

다음은 도 73에서, 슬롯의 경계를 검사한다. 측정된 슬롯 경계는 버스바의 중심에서 슬롯까지의 거리를 재기 위해 사용된다. 먼저 ROI를 모든 스텝에서 검사될 수 있도록 ROI 위치를 설정한다. 설정을 위하여 좌측 상단의 Edit 버튼을 클릭하고, 우측 화면에 검사를 원하는 범위를 설정한 다음 OK 버튼을 클릭한다. 도 74에서, ROI가 설정된 후에는 정확한 버스바 경계를 구하기 위해 그래프를 보고 경계의 위치가 제대로 검출될 수 있도록 슬라이더바를 움직여 수치를 설정한다. 그리고 도 75에서, 스텝마다 버스바 방향이 달라지므로 스텝별 측면 검사위치 Offset 지정한다. 설정을 위하여 스텝을 선택하고, 값을 변경한 후, 수정버튼을 클릭한다. 그리고 화면에 원하는 위치에 설정되었는지 확인한다.Next, in FIG. 73, the boundary of the slot is checked. The measured slot boundary is used to measure the distance from the center of the busbar to the slot. First, set the ROI location so that the ROI can be inspected at all steps. To set, click the Edit button on the top left, set the range you want to check on the right screen, and click the OK button. In FIG. 74, after the ROI is set, a value is set by moving the slider bar so that the position of the boundary can be properly detected by looking at the graph in order to obtain an accurate bus bar boundary. In FIG. 75, since the bus bar direction is different for each step, the side inspection position Offset for each step is designated. Select a step for setting, change the value, and click the Modify button. And check if it is set in the desired location on the screen.

다음은 도 76에서, ROI내 코일 블록을 검출하기 위한 설정을 실시한다. 우선, 좌측상단 Edit 버튼을 클릭하고, 오른쪽 화면에 ROI 박스를 코일영역이 다 들어갈 수 있도록 설정하며, Ok 버튼을 눌러 저장한다. 도 77에서, 스텝마다 ROI 위치가 달라질 수 있으므로 스텝마다 X방향으로 이동할 수 있는 옵셋을 설정 후 수정버튼을 클릭한다. 그리고 화면에 맞게 이동했는지 확인한다. 다음으로, 도 78에서, 코일의 설정을 확인하기 위하여, 영역 내에 있는데 검출이 되지 않는다면 코일위치에 마우스커서를 놓고 출력된 Proc 값보다 더 적은 ProtectIOn 값을 설정한다. 그래도 박스가 검출되지 않는다면 블록크기의 최소범위를 조정하여 설정한다.Next, in FIG. 76, setting for detecting the coil block in the ROI is performed. First, click the Edit button on the top left, set the ROI box on the right screen so that the coil area can be filled in, and click the Ok button to save. In FIG. 77, since the ROI position may vary for each step, an offset that can be moved in the X direction is set for each step, and then the edit button is clicked. And check that it has moved to fit the screen. Next, in Fig. 78, in order to check the setting of the coil, if it is in the area and is not detected, place the mouse cursor on the coil position and set the ProtectIOn value less than the output Proc value. If the box is still not detected, adjust and set the minimum range of the block size.

다음은 도 79에서, 1번 그룹의 교정 값의 설정으로, 측정된 pixel 길이를 교정하기 위해서는 mm로 변경하기 위한 교정 설정을 실시한다. 교정작업은 상단 좌측의 단위 변환 값을 pixel:1, mm:1로 변경한다. 판정결과 버스바 높이를 높이(Pixel) 값에 입력하고 mm값을 측정된 mm 값을 입력한다. 도 80에서, 단위변환 기준에 값과 맞지 않는 스텝위치가 있을 때는 해당 스텝번호를 선택하고, 차이가 발생한 값을 입력하며, 수정버튼을 눌렸을 때 해당 값만큼 Offset 값이 지정되게 된다.Next, in FIG. 79, a calibration value of group 1 is set. In order to calibrate the measured pixel length, calibration setting to change to mm is performed. For calibration, change the unit conversion value at the top left to pixel:1, mm:1. As a result of the judgment, input the height of the busbar into the height (Pixel) value and the mm value into the measured mm value. In FIG. 80, when there is a step position that does not match the value in the unit conversion criterion, a corresponding step number is selected, a value with a difference is input, and when a correction button is pressed, an offset value is designated as much as the corresponding value.

다음은 도 81에서, 1번 그룹의 판정범위의 설정으로, 버스바의 높이, 버스바 각도의 최소, 최대 판정범위를 입력하면, 검사 시 해당 범위를 벗어났을 때 불량으로 판정된다. 버스바 높이의 최대 값과 최소 값은 황색 라인으로 표시되므로 해당범위를 보고 판단의 기준으로 하면 된다.Next, in FIG. 81, as the determination range of group 1 is set, if the height of the bus bar and the minimum and maximum determination ranges of the bus bar angle are input, it is determined as defective when the range is out of the corresponding range during inspection. The maximum and minimum values of the busbar height are indicated by yellow lines, so you can look at the corresponding range as a criterion for judgment.

또한, 도 82에서, 2번 그룹의 검사위치를 설정하기 위하여, 먼저 유닛 설정을 위해 높이확인 유닛에 들어간다. 즉, 툴바에서 티칭버튼을 클릭하고, 오른쪽 상단 1번 그룹 버튼을 클릭하며, 티칭창의 검사 탭을 클릭하여 슬롯상단의 높이확인 항목을 더블 클릭하여 설정창에 진입한다. 다음은 도 83에서, 슬롯의 경계를 검사한다. 측정된 슬롯 경계는 버스바 중심에서 슬롯까지의 거리를 재기 위해 사용된다. 먼저 ROI를 모든 스텝에서 검사될 수 있도록 ROI위치를 설정한다. 설정방법은 좌측 상단의 Edit 버튼을 클릭하고, 우측 화면에 검사를 원하는 범위를 설정하며, OK 버튼을 클릭한다. 도 84에서, ROI가 설정된 다음은 정확한 경계를 구하기 위해 그래프를 보고 경계의 위치가 제대로 검출될 수 있게 슬라이더바를 움직여 수치를 설정한다.In addition, in FIG. 82, in order to set the inspection position of the second group, the height check unit is first entered to set the unit. In other words, click the teaching button on the toolbar, click the group button at the top right, click the inspection tab of the teaching window, and double-click the height check item at the top of the slot to enter the setting window. Next, in FIG. 83, the boundary of the slot is checked. The measured slot boundary is used to measure the distance from the center of the busbar to the slot. First, set the ROI position so that the ROI can be inspected at all steps. To set up, click the Edit button at the top left, set the range you want to check on the right screen, and click the OK button. In FIG. 84, after the ROI is set, a value is set by moving the slider bar so that the position of the boundary can be properly detected by looking at the graph in order to obtain an accurate boundary.

도 85에서, 2번 그룹은 버스바 상부에 코일이 올라타는 것과 슬롯영역에 코일 유무를 검사한다. 더욱이 비전검사를 재설정하기 위하여, 도 86에서, 버스바 위치와 센터위치가 잘못 검출되었을 때는 센터, 버스바 영역을 다시 설정한다. 도 87에서, 코일 검사범위 및 코일블록 검출조건을 바꾸기 위해서는 코일검사 1~3번 탭에서 설정한다.In FIG. 85, group 2 checks whether the coil is mounted on the upper part of the bus bar and the presence or absence of the coil in the slot area. Further, in order to reset the vision inspection, in Fig. 86, when the bus bar position and the center position are incorrectly detected, the center and bus bar areas are set again. In FIG. 87, in order to change the coil inspection range and the coil block detection condition, set in the coil inspection 1 to 3 taps.

다음은 도 88에서, 2번 그룹의 검사위치를 설정하기 위하여, 툴바에서 티칭버튼을 클릭하고 오른쪽 상단 2번 그룹 버튼을 클릭한 후 검사탭 클릭하여 2번 그룹검사 유닛을 더블 클릭한다. 먼저 도 89에서, 중심위치를 설정한다. 센터위치 탭을 클릭하고 좌측 상단의 Edit 버튼을 클릭하며, 화면에서 ROI 위치를 설정하고, OK 버튼을 클릭하여 ROI 위치를 설정한다. 도 90에서, ROI가 설정된 다음은 정확한 경계를 구하기 위하여 경계 임계치를 움직이고, 오른쪽 화면에 홀의 위치가 제대로 검출될 때까지 수치를 조정한다.In FIG. 88, in order to set the inspection position of group 2, click the teaching button in the toolbar, click the group button 2 in the upper right, click the inspection tab, and double-click the inspection unit 2 group. First, in Fig. 89, the center position is set. Click the center location tab, click the Edit button at the top left, set the ROI location on the screen, and click the OK button to set the ROI location. In FIG. 90, after the ROI is set, the boundary threshold is moved to obtain an accurate boundary, and the numerical value is adjusted until the position of the hole on the right screen is properly detected.

다음은 도 91에서, 버스바 위치를 설정한다. 버스바 위치 탭을 클릭하여 좌측 상단의 Edit 버튼클릭하고, 화면에서 ROI 위치를 설정하며, OK 버튼을 클릭하여 ROI 위치를 설정한다. 도 92에서, ROI가 설정된 다음은 정확한 경계를 구하기 위하여 경계 임계치를 움직이고, 화면에서 버스바 중심에 +표시가 될 때까지 설정한다.Next, in Fig. 91, the busbar position is set. Click the busbar location tab, click the Edit button at the top left, set the ROI location on the screen, and click the OK button to set the ROI location. In FIG. 92, after the ROI is set, the boundary threshold is moved to obtain an accurate boundary, and is set until a + mark is displayed at the center of the bus bar on the screen.

다음은 도 93에서, 각 영역별 검사 범위를 설정한다. 검사범위에 맞게 왼쪽 상단에 각도, Offset, 길이를 설정한다. 각도를 설정하면 이미지와 같이 좌우 검사범위가 조정된다. 도 94에서, Offset을 설정하면 검사할 ROI를 앞, 뒤로 이동한다. 도 95에서, 코일 블록을 설정할 때는 우측 화면의 커서를 사하고자 하는 코일위치에 이동하고, 왼쪽 문자의 Proc 값보다 작은 값을 Protected 값에 설정한다. 화면에서 해당 블록에 박스가 생길 때까지 조정한다.Next, in FIG. 93, an inspection range for each area is set. Set the angle, offset, and length in the upper left corner according to the inspection range. When you set the angle, the left and right inspection ranges are adjusted as in the image. In FIG. 94, when Offset is set, the ROI to be examined is moved forward and backward. In FIG. 95, when setting the coil block, the cursor on the right screen is moved to the desired coil position, and a value smaller than the Proc value of the left character is set as the protected value. Adjust until there is a box in the block on the screen.

다음은 도 96에서, 2번 그룹의 판정 값의 설정으로 판정결과 설정은 해당 영역에 검출된 블록의 최소, 최대 범위를 지정한다.Next, in FIG. 96, by setting the determination value of the second group, the determination result setting designates the minimum and maximum ranges of the blocks detected in the corresponding region.

또한, 도 97에서, 3번 그룹의 검사위치를 설정하기 위하여, 검사화면을 육안으로 보았을 때 원하는 검출위치가 기준에 틀어졌을 때는 검사를 위한 유닛을 설정하여 정확한 위치를 가리키게 한다. 도 98에서, 검사 최소, 최대 범위를 설정해야 할 때는 판정범위를 설정한다. 도 99에서, 원하는 측정위치를 검사했으나 버스바 높이 값이 맞지 않을 때는 판정 탭의 교정 값을 설정한다.In addition, in FIG. 97, in order to set the inspection position of group 3, when the desired detection position is wrong with the reference when the inspection screen is visually viewed, a unit for inspection is set to indicate the correct position. In Fig. 98, when it is necessary to set the inspection minimum and maximum ranges, the judgment range is set. In FIG. 99, when a desired measurement position is checked but the bus bar height value is not correct, a calibration value of the determination tap is set.

다음은 도 100에서, 3번 그룹의 검사위치를 설정하기 위하여, 툴바에서 티칭버튼을 클릭하고 오른쪽 상단의 3번 그룹 버튼을 클릭하며, 검사탭을 클릭하여 3번 그룹검사 유닛을 더블클릭 한다. 다음은 도 101에서, 슬롯의 경계를 검사한다. 측정된 슬롯 경계는 버스바 중심에서 슬롯까지의 거리를 재기 위해 사용된다. 먼저 ROI를 모든 스텝에서 검사될 수 있도록 ROI위치를 설정한다. 설정방법은 좌측 상단의 Edit 버튼을 클릭하고, 우측 화면에 검사를 원하는 범위를 설정한 후 OK 버튼을 클릭한다. 도 102에서, ROI가 설정된 다음은 정확한 경계를 구하기 위해 그래프를 보고 경계의 위치가 제대로 검출될 수 있게 슬라이더바를 움직여 수치를 설정한다.Next, in FIG. 100, in order to set the inspection position of group 3, click the teaching button on the toolbar, click the group button 3 in the upper right, click the inspection tab, and double-click the inspection unit 3 group. Next, in FIG. 101, the boundary of the slot is checked. The measured slot boundary is used to measure the distance from the center of the busbar to the slot. First, set the ROI position so that the ROI can be inspected at all steps. To set up, click the Edit button at the top left, set the range you want to inspect on the right screen, and click the OK button. In FIG. 102, after the ROI is set, a value is set by moving a slider bar so that the position of the boundary can be properly detected by looking at a graph in order to obtain an accurate boundary.

다음은 도 103에서, 슬롯의 경계를 검사한다. 측정된 슬롯 경계는 터미널 상단에서 슬롯까지의 거리를 재기 위해 사용된다. 먼저 ROI를 모든 스텝에서 검사될 수 있도록 ROI위치를 설정한다. 설정방법은 좌측 상단의 Edit버튼을 클릭하고 우측 화면에 검사를 원하는 범위를 설정한 후 OK버튼을 클릭한다. 도 104에서, ROI가 설정된 다음은 정확한 버스바 경계를 구하기 위하여 그래프를 보고 경계의 위치가 제대로 검출될 수 있도록 슬라이더바를 움직여 수치를 설정한다.Next, in FIG. 103, the boundary of the slot is checked. The measured slot boundary is used to measure the distance from the top of the terminal to the slot. First, set the ROI position so that the ROI can be inspected at all steps. To set up, click the Edit button on the top left, set the range you want to check on the right screen, and click the OK button. In FIG. 104, after the ROI is set, a graph is viewed in order to obtain an accurate bus bar boundary, and a value is set by moving a slider bar so that the position of the boundary can be properly detected.

다음은 3번 그룹의 교정 값의 설정으로, 도 105에서, 측정된 pixel길이를 교정하기 위해서는 mm로 변경하기 위한 교정 설정을 실시한다. 교정작업은 상단 좌측의 단위 변환 값을 pixel:1, mm:1로 변경한다. 판정결과로 버스바 높이를 높이(Pixel) 값에 입력하고 mm 값을 측정된 mm 값을 입력한다. 도 106에서, 단위변환 기준에 값과 맞지 않는 스텝위치가 있을 때는 해당 스텝번호를 선택하고 차이가 발생한 값을 입력하여 수정버튼을 눌렸을 때 해당 값만큼 Offset값이 지정된다.The following is the setting of the calibration value of group 3, and in FIG. 105, in order to calibrate the measured pixel length, calibration setting to change to mm is performed. For calibration, change the unit conversion value at the top left to pixel:1, mm:1. As a result of the judgment, the height of the busbar is inputted into the height (Pixel) value, and the measured mm value is inputted into the mm value. In FIG. 106, when there is a step position that does not match the value in the unit conversion criterion, the corresponding step number is selected, the difference occurs, and the offset value is designated by the corresponding value when the correct button is pressed.

다음은 도 107에서, 3번 그룹의 판정범위의 설정으로, 터미널 높이, 좌우길이 판정범위를 입력하면 검사 시 해당 범위를 벗어났을 때 불량으로 판정된다. 터미널 높이, 좌우길이의 최대 값과 최소 값은 황색 라인으로 표시되기에 해당범위를 보고 판단의 기준으로 한다.The following is the setting of the determination range of group 3 in FIG. 107. If the terminal height and the left and right length determination ranges are input, it is determined as defective when the range is out of the range during inspection. The maximum and minimum values of the terminal height and left and right length are indicated by a yellow line, so look at the range as a criterion for judgment.

또한, 4번 그룹의 검사위치를 설정하기 위하여, 도 108에서, 먼저 유닛 설정을 위해 높이확인 유닛에 들어간다. 즉, 툴바에서 티칭버튼을 클릭하고, 오른쪽 상단 4번 그룹 버튼을 클릭하며, 티칭창의 검사 탭을 클릭하여 슬롯상단의 높이확인 항목을 더블 클릭하여 설정창에 진입한다. 다음은 도 109에서, 슬롯의 경계를 검사한다. 측정된 슬롯 경계는 버스바 중심에서 슬롯까지의 거리를 재기 위해 사용된다. 먼저 ROI를 모든 스텝에서 검사될 수 있도록 ROI위치를 설정한다. 설정방법은 좌측 상단의 Edit 버튼을 클릭하고, 우측 화면에 검사를 원하는 범위를 설정하며, OK 버튼을 클릭한다. 도 110에서, ROI가 설정된 다음은 정확한 경계를 구하기 위해 그래프를 보고 경계의 위치가 제대로 검출될 수 있게 슬라이더바를 움직여 수치를 설정한다.In addition, in order to set the inspection position of the fourth group, in FIG. 108, first, the height check unit is entered to set the unit. That is, click the teaching button on the toolbar, click the group button in the upper right corner, click the inspection tab in the teaching window, and double-click the height check item at the top of the slot to enter the setting window. Next, in FIG. 109, the boundary of the slot is checked. The measured slot boundary is used to measure the distance from the center of the busbar to the slot. First, set the ROI position so that the ROI can be inspected at all steps. To set up, click the Edit button at the top left, set the range you want to check on the right screen, and click the OK button. In FIG. 110, after the ROI is set, a value is set by moving the slider bar so that the position of the boundary can be properly detected by looking at the graph in order to obtain an accurate boundary.

도 111에서, 4번 그룹은 모터용 스테이터의 중심에서 터미널의 앞뒤거리를 검사한다. 더욱이 비전검사를 재설정하기 위하여, 도 112에서, 터미널위치와 센터위치가 잘못 검출되었을 때는 센터, 터미널 영역을 다시 설정한다. 도 113에서, 터미널 길이가 실제 길이와 맞지 않을 경우에 교정 값을 변경한다.In Fig. 111, group 4 checks the front and rear distance of the terminal from the center of the stator for the motor. Further, in order to reset the vision inspection, in Fig. 112, when the terminal position and the center position are incorrectly detected, the center and the terminal area are set again. In FIG. 113, when the terminal length does not match the actual length, the calibration value is changed.

다음은 4번 그룹의 검사위치를 설정하기 위하여, 도 114에서, 툴바에서 티칭버튼을 클릭하고 오른쪽 상단 4번 그룹 버튼을 클릭한 후 검사탭 클릭하여 4번 그룹검사 유닛을 더블 클릭한다. 도 115에서, 먼저 중심위치를 설정한다. 센터위치 탭을 클릭하고 좌측 상단의 Edit 버튼을 클릭하며, 화면에서 ROI 위치를 설정하고, OK 버튼을 클릭하여 ROI 위치를 설정한다. 도 116에서, ROI가 설정된 다음은 정확한 경계를 구하기 위하여 경계 임계치를 움직이고, 화면에 홀의 위치가 제대로 검출될 때까지 수치를 조정한다.Next, in order to set the inspection position of group 4, in Fig. 114, click the teaching button on the toolbar, click the group button 4 in the upper right, click the inspection tab, and double-click the inspection unit 4 group. In Fig. 115, first, the center position is set. Click the center location tab, click the Edit button at the top left, set the ROI location on the screen, and click the OK button to set the ROI location. In FIG. 116, after the ROI is set, the boundary threshold is moved to obtain an accurate boundary, and the numerical value is adjusted until the position of the hole on the screen is properly detected.

다음은 터미널 위치를 설정한다. 도 117에서, 터미널 위치 탭을 클릭하여 좌측 상단의 Edit 버튼클릭하고, 화면에서 ROI 위치를 설정하며, OK 버튼을 클릭하여 ROI 위치를 설정한다. 도 118에서, ROI가 설정된 다음은 정확한 경계를 구하기 위하여 경계 임계치를 움직이고, 화면에서 버스바 중심에 +표시가 될 때까지 설정한다.Next, set the terminal location. In FIG. 117, by clicking the terminal location tab, clicking the Edit button in the upper left corner, setting the ROI location on the screen, and clicking the OK button to set the ROI location. In FIG. 118, after the ROI is set, the boundary threshold is moved to obtain an accurate boundary, and is set until a + mark is displayed at the center of the bus bar on the screen.

다음은 4번 그룹의 앞뒤 길이를 측정하기 위하여, 도 119에서, 각 영역별 검사 범위를 설정한다. 검사범위에 맞게 왼쪽 상단에 각도, Offset, 길이를 설정한다. 각도를 설정하면 검사범위가 조정된다. 도 120에서, 임계치 슬라이더를 움직이면서 검출위치를 설정한다.Next, in order to measure the front and rear lengths of group 4, in FIG. 119, an inspection range for each area is set. Set the angle, offset, and length in the upper left corner according to the inspection range. Setting the angle adjusts the inspection range. In Fig. 120, the detection position is set while moving the threshold slider.

다음은 4번 그룹의 교정 값의 설정으로, 도 121에서, 측정된 pixel 길이를 교정하기 위해서는 mm로 변경하기 위한 교정 설정을 실시한다. 교정작업은 상단 좌측의 단위 변환 값을 pixel:1, mm:1로 변경한다. 판정결과로 터미널 높이를 높이(Pixel) 값에 입력하고 mm 값을 측정된 mm 값을 입력한다. 도 122에서, 단위변환 기준에 값과 맞지 않는 스텝위치가 있을 때는 해당 스텝번호를 선택하고 차이가 발생한 값을 입력하여 수정버튼을 눌렀을 때 해당 값만큼 Offset 값이 지정된다.The following is the setting of the calibration value of group 4, in FIG. 121, in order to calibrate the measured pixel length, calibration setting to change to mm is performed. For calibration, change the unit conversion value at the top left to pixel:1, mm:1. As a result of the judgment, input the height of the terminal into the height (Pixel) value and the mm value into the measured mm value. In FIG. 122, when there is a step position that does not match the value in the unit conversion criterion, when a corresponding step number is selected and a value in which the difference has occurred, and a correction button is pressed, an offset value is designated as much as the corresponding value.

다음은 도 123에서, 4번 그룹의 판정 값의 설정으로 판정결과 설정은 중심에서부터 앞쪽, 뒤쪽의 최소, 최대 범위를 설정한다. 설정된 판정범위로 황색 라인이 출력된다Next, in FIG. 123, by setting the judgment value of group 4, the judgment result setting sets the minimum and maximum ranges from the center to the front and rear. A yellow line is output in the set judgment range.

다음은 결과 값의 화면 출력으로, 도 124에서, 결과 값은 화면에 검사에서 측정된 결과 및 기타 정보를 출력하기 위한 유닛이다. 출력 결과 중 지원하는 결과 값을 화면에 출력할 수 있다. 예컨대, 검사한 판정결과의 출력, 검사에 설정된 조명 값의 출력, 해당 검사를 실시한 시간, 현재 선택된 모델, 설정한 ROI 위치의 평균 RGB 값의 출력, 검사상태가 자동모드인지 수동모드인지 출력, 현재 검사스텝 출력, 검사한 결과를 화면을 통해 출력한다.The following is a screen output of the result value. In FIG. 124, the result value is a unit for outputting the result measured in the test and other information on the screen. Among the output results, supported result values can be displayed on the screen. For example, the output of the inspection result, the output of the lighting value set for the inspection, the time when the inspection was performed, the currently selected model, the average RGB value of the set ROI location, output whether the inspection status is automatic mode or manual mode, current The inspection step is output, and the inspection result is output through the screen.

여기서 결과 값의 화면 출력을 설정할 수 있다. 즉, 도 125에서, 툴바에서 티칭버튼을 클릭하고, 오른쪽 상단 그룹버튼을 클릭하며, 결과탭을 클릭하여 그룹검사 유닛을 더블클릭한다. 도 126에서, 설정창은 요소리스트창, 제어컨트롤로 구분된다. 요소리스트창은 설정된 출력요소를 출력하는 창이고, 제어컨트롤을 해당요소를 추가, 삭제, 편집할 때 사용하는 그룹이다.Here, you can set the screen output of the result value. That is, in FIG. 125, the teaching button is clicked on the toolbar, the upper right group button is clicked, the result tab is clicked, and the group inspection unit is double-clicked. In FIG. 126, the setting window is divided into an element list window and a control control. The element list window is a window that outputs the set output elements, and is a group used to add, delete, or edit control control elements.

화면의 결과 요소를 추가하는 방법으로, 도 127에서, 비어 있는 리스트를 선택하고, 추가버튼을 클릭하며, 요소 선택창이 활성화되면 Data Value를 선택한 후 OK 버튼을 클릭한다.As a method of adding a result element on the screen, in FIG. 127, select an empty list, click the Add button, and when the element selection window is activated, select Data Value and click the OK button.

다음은 추가된 요소의 위치와 폰트크기, 내용의 설정으로, 도 128에서, 생성한 아이템을 선택 후 변경버튼을 눌러 설정창으로 들어간다. 그리고 도 129에서, 출력할 위치를 변경할 때에 Edit 버튼을 클릭한 후, 화면에 위치를 선택하거나 직접 위치 값을 입력하고, 확인버튼을 클릭하면 위치가 설정된다. 또한, 도 130에서, 출력할 위치를 변경할 때에는 상세버튼을 클릭한 후, 크기 값을 조정하면 화면과 같이 크기가 변경된다. 그리고 도 131에서, 설명 문자의 변경으로, 캡션의 오른쪽 "…" 버튼을 클릭하고, 변경할 문자를 입력한 후 OK 버튼을 클릭한다. 변경 후에는 변경한 문자로 내용이 출력된다.The following is the setting of the location, font size, and content of the added element. In FIG. 128, after selecting the created item, press the change button to enter the setting window. In FIG. 129, when changing the location to be output, after clicking the Edit button, selecting a location on the screen or directly inputting a location value, and clicking the OK button, the location is set. In addition, in FIG. 130, when changing the output position, clicking the detail button and then adjusting the size value changes the size as shown in the screen. Then, in FIG. 131, by changing the description text, click the "..." button on the right side of the caption, input the text to be changed, and click the OK button. After the change, the content is displayed in the changed text.

다음은 결과 값의 적용으로, 도 132에서, 판정식의 오른쪽 "…" 버튼을 클릭하면 화면과 같은 설정창이 활성화된다. 예컨대, 도 133에서, 현재 2번 그룹검사의 코일면적1을 얻어오기 위하여, 콤보 박스에서 검사유닛을 선택한다. 그리고 얻어오기 위한 값인 길이 아이템을 선택하면, 연산식란에 표기된다. 그 후 OK 버튼을 누르면 해당 연산식이 기록된다. 또한, 도 134에서, 출력하는 숫자의 소수점 자리 수를 설정한다. 소수부를 설정하면 출력되는 소수점의 자리수가 조절된다.Next is the application of the result value. In Fig. 132, clicking the "..." button on the right side of the judgment expression activates the setting window as shown in the screen. For example, in FIG. 133, in order to obtain the coil area 1 of the current group 2 inspection, the inspection unit is selected from the combo box. And if you select the length item that is the value to get, it is displayed in the calculation expression column. After that, if you press the OK button, the formula is recorded. Further, in Fig. 134, the number of decimal places of the number to be output is set. When the decimal part is set, the number of decimal places to be displayed is adjusted.

다음은 결과 값의 판정결과에 따라 텍스트 색상의 변경으로, 도 135에서, 상세 버튼을 클릭하여 색상콤보박스에서 판정조건 지정으로 설정하고, "…" 버튼을 클릭하여 이전에 추가한 방법으로 판정결과를 추가한다. 도 136에서, 여기서 검사유닛의 결과영역1에 대한 판정결과를 판정식에 등록하여 색상을 변경하게 설정한다. 도 137에서, 설정 후 해당 판정식 값에 대한 판정범위를 설정한다. 여기서 최소범위 0~9999일 때 녹색 -1일 때 적색으로 판정될 수 있도록 판정범위를 설정할 수 있다.The next is to change the text color according to the judgment result of the result value. In Fig. 135, click the detail button to set the judgment condition designation in the color combo box, and click the "..." button to add the judgment result by the method previously added. Add In Fig. 136, here, the determination result for the result area 1 of the inspection unit is registered in the determination formula, and the color is set to be changed. In Fig. 137, after setting, the determination range for the value of the determination expression is set. Here, when the minimum range is 0 to 9999, the judgment range can be set so that when the minimum range is green -1, the judgment range is red.

다음은 변경된 요소 값의 제거로, 도 138에서, 제거하고자 하는 요소를 선택한 후, 제거버튼을 클릭하면 해당 요소가 제거된다. 도 139에서, 해당 요소 값을 출력하지 않고자 할 때는 Show 컬럼의 내용을 더블 클릭하면 화면에 출력되지 않는다.Next, the changed element value is removed. In FIG. 138, when an element to be removed is selected and a delete button is clicked, the element is removed. In FIG. 139, when a corresponding element value is not to be displayed, if the contents of the Show column are double-clicked, it is not displayed on the screen.

다음으로, 도 140에서, 각 그룹별로 결과 값의 출력에 관하여 설명한다. 먼저, 1번 그룹에서 출력할 수 있는 검사결과 값은 검사결과가 성공이면 1, 실패면 ??1로 판정하고, 검사에 걸린 소요시간(초), 슬롯상단의 경계위치, 버스바 중심의 경계위치, 버스바 측면의 경계위치, 버스바의 경계1에서 슬롯상단 경계까지의 버스바 높이, 버스바 경계1에서 버스바 경계2의 버스바 각도, 버스바의 각도 측정결과, 버스바 코일의 블록 개수, 버스바 코일 개수의 결과, 버스바 코일의 최대사이즈, 버스바 코일 등의 판정결과가 화면을 통해 출력된다.Next, in FIG. 140, output of result values for each group will be described. First, the test result value that can be output from group 1 is judged as 1 if the test result is successful and ??1 if it fails, and the time required for the test (seconds), the boundary position at the top of the slot, and the boundary of the center of the bus bar. Location, boundary position of the side of the busbar, the height of the busbar from the boundary 1 of the busbar to the upper boundary of the slot, the angle of the busbar from the boundary of the busbar 1 to the boundary of the busbar 2, the measurement result of the angle of the busbar, the block of the busbar coil The number, the result of the number of busbar coils, the maximum size of the busbar coil, and the determination result of the busbar coil are displayed on the screen.

또한, 도 141에서, 2번 그룹에서 출력할 수 있는 검사결과 값은 검사결과가 성공이면 1, 실패면 ??1로 판정하고, 검사에 걸린 소요시간(초), 찾은 중심의 기준이 되는 센터위치, 찾은 중심의 기준이 되는 센터의 반지름, 찾은 버스바의 위치, 각 영역의 코일블록의 개수, 각 영역의 최대 코일면적, 각 영역의 판정결과 등이 화면을 통해 출력된다.In addition, in FIG. 141, the test result value that can be output from the second group is determined as 1 if the test result is successful and ??1 if the test result is unsuccessful, and the time taken for the test (seconds), the center serving as the standard of the found center The location, the radius of the center that is the reference of the found center, the location of the found busbar, the number of coil blocks in each area, the maximum coil area of each area, and the determination result of each area are displayed on the screen.

도 142에서, 3번 그룹에서 출력할 수 있는 검사결과 값은 검사결과가 성공이면 1, 실패면 ??1로 판정하고, 검사에 걸린 소요시간(초), 슬롯 상단의 경계위치, 찾은 터미널의 경계 상단위치, 찾은 터미널의 경계 좌측위치, 찾은 터미널의 경계 우측위치, 슬롯 상단부터 터미널 상단의 길이, 터미널의 높이 결과, 중심에서 터미널의 좌측길이, 터미널의 좌측길이 판정 값, 중심에서 터미널의 우측길이, 터미널의 우측길이 판정 값 등이 화면을 통해 출력된다.In Figure 142, the test result value that can be output from group 3 is determined as 1 if the test result is successful and ??1 if the test result is unsuccessful, and the time taken for the test (seconds), the boundary position at the top of the slot, and the found terminal Boundary top position, found terminal border left position, found terminal border right position, slot top to terminal top length, terminal height result, center to terminal left length, terminal left length judgment value, center to terminal right The length, the right length determination value of the terminal, etc. are displayed on the screen.

도 143에서, 4번 그룹에서 출력할 수 있는 검사결과 값은 검사결과가 성공이면 1, 실패면 ??1로 판정하고, 검사에 걸린 소요시간(초), 찾은 중심의 기준이 되는 센터의 위치, 찾은 중심의 기준이 되는 센터의 반지름, 찾은 터미널의 위치, 터미널의 안쪽위치, 터미널의 바깥쪽위치, 중심에서 터미널의 안쪽까지의 길이, 터미널의 안쪽길이 판정결과, 중심에서 터미널의 바깥쪽까지의 길이, 터미널의 바깥쪽길이 판정결과 등이 화면을 통해 출력된다.In Figure 143, the test result value that can be output from the fourth group is determined as 1 if the test result is successful and ??1 if the test result is unsuccessful, and the time taken for the test (seconds), the location of the center that is the reference of the found center , The radius of the center that is the reference of the found center, the location of the found terminal, the inner position of the terminal, the outer position of the terminal, the length from the center to the inner side of the terminal, the result of the determination of the inner length of the terminal, from the center to the outer side of the terminal. The length of the terminal and the result of determining the outer length of the terminal are displayed on the screen.

이와 같이 본 발명의 모터용 스테이터의 제조 공정에서 퓨징 및 터미널의 비전검사용 애플리케이션을 구현하기 위하여 매체에 저장된 컴퓨터로 읽을 수 있는 프로그램은 비전검사를 위한 다양한 조건의 설정으로 다양한 모델을 정확하게 검사 및 판단할 수 있는 장점이 있다.As described above, in order to implement the application for fusing and vision inspection of the terminal in the manufacturing process of the motor stator of the present invention, the program that can be read by a computer stored in the medium accurately inspects and judges various models by setting various conditions for vision inspection. There is an advantage to be able to do.

이상의 설명에서 본 발명은 특정의 실시 예와 관련하여 도시 및 설명하였지만, 청구범위에 의해 나타난 발명의 사상 및 영역으로부터 벗어나지 않는 한도 내에서 다양한 개조 및 변화가 가능하다는 것을 이 기술분야에서 통상의 지식을 가진 자라면 누구나 쉽게 알 수 있을 것이다.In the above description, the present invention has been illustrated and described in connection with specific embodiments, but it is understood that various modifications and changes are possible within the scope of the spirit and scope of the invention indicated by the claims. Anyone who has it will be easy to know.

1: 화면창 2: 툴바창 3: 검사화면창 4: 검사유닛 설정창 5: 이미지 입력 및 출력검사창 6: 자동모드와 수동모드 설정창 7: 로그창 8: 결과 및 조명설정창 9: 상태바 창 10: 검사상태창
100: 검사용 지그 110: 카메라 120: 조명장치 및 디지털 입출력장치
200: 서버 210: 데이터베이스
220: 비전검사용 애플리케이션 221: 촬영모듈 222: 검사화면출력모듈 223: 설정모듈 224: 결과출력모듈 225: 판정모듈 226: 저장모듈 227: 카메라설정모듈 228: 장비설정모듈 229: 검사유닛설정모듈 230: 모드설정모듈 231: 텍스트출력모듈 232: 조명설정모듈 233: 모델관리모듈 234: 동영상출력모듈 235: 로그설정모듈 236: 상태바모듈
300: 표시장치
1: Screen window 2: Tool bar window 3: Inspection screen window 4: Inspection unit setting window 5: Image input and output inspection window 6: Automatic mode and manual mode setting window 7: Log window 8: Result and lighting setting window 9: Status bar window 10 : Inspection status window
100: inspection jig 110: camera 120: lighting device and digital input/output device
200: server 210: database
220: vision inspection application 221: photographing module 222: inspection screen output module 223: setting module 224: result output module 225: judgment module 226: storage module 227: camera setting module 228: equipment setting module 229: inspection unit setting module 230 : Mode setting module 231: Text output module 232: Lighting setting module 233: Model management module 234: Video output module 235: Log setting module 236: Status bar module
300: display device

Claims (4)

모터의 스테이터 제조 공정에서 퓨징 및 터미널의 비전검사용 애플리케이션을 구현하기 위하여 매체에 저장된 컴퓨터로 읽을 수 있는 프로그램에 있어서,
(a) 비전검사용 애플리케이션의 실행으로 초기 화면창을 통해 작업자모드 및 관리자모드의 변경과, 생산하는 모델의 생성, 변경, 복사, 삭제 및 선택을 위한 관리와, 해당 스텝의 촬상과, 검사에 필요한 유닛의 설정을 위한 티칭과, 검사 물체의 물리적인 위치 및 변화의 확인과, 카메라의 설정과, 검사이미지가 저장된 로그폴더로 이동을 위한 로그와, 촬상 대기시간, 파일 저장기간, 이미지 저장방법, 장비 파트시간을 설정하는 작동 옵션 및 이기종 장비의 환경을 설정하는 환경설정을 제공하는 툴바창 기능;
(b) 상기 설정된 카메라로부터 촬상화면과 검사 결과를 출력하는 검사화면을 출력하는 기능;
(c) 주간 및 야간 상태를 화면에 출력하는 파트상태, 선택된 모델명의 출력, 양품 및 불량품의 개수를 포함하는 총 검사수량을 출력하는 검사수량 출력, 현재까지 검사한 결과를 초기화하는 검사기록 리셋, 검사 상태창을 표시하는 검사결과창과, 물체의 유무를 검색하는 서치, 위치 보정유닛 및 검사유닛 결과를 다른 유닛에 반영하는 데이터연결과, 작업자가 정한 위치에 특성을 통한 검사를 수행하는 검사와, 검사결과를 작업자가 원하는 방법으로 화면을 통해 출력하는 검사결과를 제공하는 검사결과 기록 및 검사유닛 설정기능;
(d) 화면의 크기설정, 이미지를 저장하거나 기존 이미지 불러오기, 저장된 위치에서 이미지 불러오기를 제공하는 이미지 입력 및 출력검사 기능;
(e) 장비와 연동하여 PLC를 통해 검사 요청신호가 들어 왔을 때 검사를 실시하는 자동모드와, 장비와의 연동을 차단하는 수동모드와, 수동모드에서 검사가 필요할 때에 사용하는 시작모드와, 검사완료 상태를 표시하는 정지모드를 제공하는 자동모드와 수동모드 설정기능;
(f) 작동에 관한 판단을 위하여 작동 중 남겨야 할 로그를 화면에 출력하는 로그창 기능;
(g) 작업자에게 검사에 대한 스텝 및 결과 정보를 제공하고, 화면을 통해 작업이 필요한 조명, 판정 및 분할을 설정하는 결과 및 조명설정 기능;
(h) 자동모드, 검사요청, 스텝요청, 스텝완료, 알람, 모델, 양, 불량, 검사완료를 포함하는 입출력(IO) 상태를 출력하는 요소와, 카메라, MCU(Micro Controller Unit), PLC(Programmable Logic Controller)를 포함하는 이기종 장비와의 연결 상태를 출력하는 요소와, 모델, 자동모드, 작업자판단 및 불량을 포함하는 작동에 영향을 미치는 요소들의 상태를 확인할 수 있는 상태바 기능;
(i) 설정된 드라이브에 날짜별 데이터의 저장위치와 검사한 모델의 양, 불량, 가성불량 저장정보를 구분하여 저장하는 데이터 저장경로 및 요소 창 기능; 을 포함하는, 모터용 스테이터의 제조 공정에서 퓨징 및 터미널의 비전검사용 애플리케이션을 구현하기 위하여 매체에 저장된 컴퓨터로 읽을 수 있는 프로그램.
In a computer-readable program stored in a medium to implement an application for fusing and vision inspection of a terminal in a motor stator manufacturing process,
(a) By executing the application for vision inspection, it is possible to change the operator mode and the manager mode through the initial screen window, to create, change, copy, delete, and select the model to be produced, and to capture and inspect the corresponding step. Teaching for the necessary unit setting, checking the physical position and change of the inspection object, setting the camera, log for moving to the log folder where the inspection image is stored, waiting time for image capture, file storage period, and image storage method , A toolbar window function that provides an operation option for setting the equipment part time and an environment setting for setting the environment of heterogeneous equipment;
(b) a function of outputting an inspection screen for outputting an imaging screen and an inspection result from the set camera;
(c) Part status outputting day and night status on the screen, output of selected model name, inspection quantity output outputting total inspection quantity including the number of good and defective products, inspection record reset to initialize inspection results up to now, An inspection result window that displays an inspection status window, a search to search for the presence or absence of an object, a data connection that reflects the position correction unit and inspection unit results to other units, and an inspection that performs an inspection through characteristics at a location determined by the operator, An inspection result recording and inspection unit setting function that provides an inspection result outputting the inspection result through a screen in a manner desired by an operator;
(d) image input and output inspection functions that provide screen size setting, saving images or loading existing images, and loading images from a saved location;
(e) Automatic mode that performs inspection when an inspection request signal is received through PLC in connection with equipment, manual mode that blocks interlocking with equipment, and start mode used when inspection is needed in manual mode, and inspection Automatic mode and manual mode setting function to provide a stop mode indicating the completion status;
(f) a log window function that outputs a log to be left during operation on the screen for judgment on operation;
(g) a result and lighting setting function of providing information on steps and results for inspection to an operator, and setting lighting, judgment and division required for work through the screen;
(h) Element that outputs input/output (IO) status including automatic mode, inspection request, step request, step completion, alarm, model, quantity, defect, inspection completion, camera, microcontroller unit (MCU), PLC ( A status bar function that can check the status of elements that output the connection status with heterogeneous equipment including (Programmable Logic Controller) and elements that affect operation including model, automatic mode, operator judgment, and failure;
(i) a data storage path and element window function that separates and stores the storage location of data by date and the quantity, defect, and false-defect storage information of the tested model in the set drive; Including, a computer-readable program stored in a medium to implement an application for fusing and vision inspection of the terminal in the manufacturing process of the motor stator.
제1항에 있어서, 상기 비전검사용 애플리케이션에서 비전 검사하는 항목은, 버스바의 높이, 버스바의 압착 각도, 버스바 내에 코일의 안착을 포함하는 버스바 검사와, 터미널 높이, 터미널 좌우 위치, 중심에서 터미널까지의 거리를 포함하는 터미널 검사를 포함하는, 모터용 스테이터의 제조 공정에서 퓨징 및 터미널의 비전검사용 애플리케이션을 구현하기 위하여 매체에 저장된 컴퓨터로 읽을 수 있는 프로그램.
The method of claim 1, wherein the items for vision inspection in the vision inspection application include: a height of a bus bar, a compression angle of the bus bar, a bus bar inspection including seating of a coil in the bus bar, a terminal height, a terminal left and right position, A computer-readable program stored on a medium to implement applications for fusing and vision inspection of terminals in the manufacturing process of a stator for a motor, including terminal inspection including the distance from the center to the terminal.
제1항에 있어서, 상기 비전검사용 애플리케이션에서 비전 검사를 위한 퓨징 검사는 버스바와 터미널을 4개의 검사그룹으로 10번의 스텝을 반복하여 검사하되, 1번 그룹은 슬롯에서 버스바의 높이, 버스바의 각도 및 코일안착유무를 검사하고, 측정 위치는 슬롯의 경계, 버스바의 중심, 측면 경계의 위치 및 코일안착위치를 검사하며, 2번 그룹은 버스바 상부로 코일의 이탈, 슬롯영역에 코일의 유무를 검사하고, 3번 그룹은 터미널의 높이와 터미널의 좌우위치를 검사하고, 4번 그룹은 중심에서 터미널의 거리와 위치를 검사하는, 모터용 스테이터의 제조 공정에서 퓨징 및 터미널의 비전검사용 애플리케이션을 구현하기 위하여 매체에 저장된 컴퓨터로 읽을 수 있는 프로그램.
The method of claim 1, wherein in the fusing inspection for vision inspection in the vision inspection application, the busbar and the terminal are inspected by repeating ten steps in four inspection groups, and the first group is the height of the busbar in the slot and the busbar. Inspect the angle of the coil and whether or not the coil is seated, and the measurement position is the boundary of the slot, the center of the bus bar, the position of the side boundary, and the position of the coil seating. Group 2 is the departure of the coil to the top of the bus bar, the coil in the slot Inspect the presence or absence of, group 3 inspects the height of the terminal and the left and right position of the terminal, and group 4 inspects the distance and position of the terminal from the center, fusing and vision inspection of the terminal in the manufacturing process of the stator for motors. A program that can be read by a computer stored on a medium to implement an application for use.
제1항에 있어서, (j) 검사한 판정결과, 검사에 설정된 조명 값, 검사를 실시한 시간, 현재 선택 모델, 설정한 ROI(Region of Interest) 위치의 평균 RGB 값, 검사 상태의 모드, 현재 검사 스텝 및 검사 결과를 화면을 통해 출력하는 결과 값 화면 출력기능을 더 포함하는, 모터용 스테이터의 제조 공정에서 퓨징 및 터미널의 비전검사용 애플리케이션을 구현하기 위하여 매체에 저장된 컴퓨터로 읽을 수 있는 프로그램.The method of claim 1, wherein (j) the inspection result, the illumination value set for the inspection, the inspection time, the current selection model, the average RGB value of the set region of interest (ROI) position, the mode of the inspection state, and the current inspection. A program that can be read by a computer stored in a medium to implement an application for fusing and vision inspection of a terminal in the manufacturing process of a stator for a motor, further including a result value screen output function for outputting step and inspection results through a screen.
KR1020210025842A 2021-02-25 2021-02-25 Recording Medium Storage Program for Executing Application for Vision Inspection of Fusing and Terminal In Manufacturing Process of Motor Stator KR102250058B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210025842A KR102250058B1 (en) 2021-02-25 2021-02-25 Recording Medium Storage Program for Executing Application for Vision Inspection of Fusing and Terminal In Manufacturing Process of Motor Stator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210025842A KR102250058B1 (en) 2021-02-25 2021-02-25 Recording Medium Storage Program for Executing Application for Vision Inspection of Fusing and Terminal In Manufacturing Process of Motor Stator

Publications (1)

Publication Number Publication Date
KR102250058B1 true KR102250058B1 (en) 2021-05-07

Family

ID=75916888

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210025842A KR102250058B1 (en) 2021-02-25 2021-02-25 Recording Medium Storage Program for Executing Application for Vision Inspection of Fusing and Terminal In Manufacturing Process of Motor Stator

Country Status (1)

Country Link
KR (1) KR102250058B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170032661A (en) 2015-09-15 2017-03-23 엘지이노텍 주식회사 Apparatus for Inspection fusing Method for for Inspection fusing
KR20190108805A (en) * 2018-03-15 2019-09-25 주식회사 금성정공 Vision inspection apparatus and method to inspect defect of target object

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170032661A (en) 2015-09-15 2017-03-23 엘지이노텍 주식회사 Apparatus for Inspection fusing Method for for Inspection fusing
KR20190108805A (en) * 2018-03-15 2019-09-25 주식회사 금성정공 Vision inspection apparatus and method to inspect defect of target object

Similar Documents

Publication Publication Date Title
US8428336B2 (en) Inspecting method, inspecting system, and method for manufacturing electronic devices
JP5865707B2 (en) Appearance inspection apparatus, appearance inspection method, and computer program
JP3834041B2 (en) Learning type classification apparatus and learning type classification method
JP5075111B2 (en) Image classification reference updating method, program, and image classification apparatus
US6434264B1 (en) Vision comparison inspection system
CN100565630C (en) Display multiangle measurement system and method
JP2019212073A (en) Image discriminating apparatus and method thereof
JP7005930B2 (en) Sheet inspection equipment and inspection system
KR101117472B1 (en) Apparatus and Method for Visual Inspection
KR20130084617A (en) Registration method of inspection reference for solder inspection and substrate inspection apparatus using the same
JP2004294358A (en) Method and apparatus for inspecting defect
JP6988500B2 (en) Inspection management system, inspection management device, inspection management method
CN109819245B (en) On-line measuring method and device for chroma and brightness data based on AOI platform
KR102250058B1 (en) Recording Medium Storage Program for Executing Application for Vision Inspection of Fusing and Terminal In Manufacturing Process of Motor Stator
CN115578321A (en) Finished product detection system and method for industrial production
CN108511356B (en) Battery series welding machine positioning and battery appearance detection method
JP5182121B2 (en) Library data creation method and inspection data creation method for substrate visual inspection
CN105136818A (en) Printing substrate image detecting method
JP6049052B2 (en) Wafer visual inspection apparatus and sensitivity threshold setting method in wafer visual inspection apparatus
KR101891126B1 (en) Vision inspection method
US20080062268A1 (en) Apparatus, Method and Program for Information Processing
CN110602299A (en) Appearance defect detection method based on different inclination angles
JP4994738B2 (en) Mounting component inspection equipment
JP3381129B2 (en) Observation area setting method and apparatus, and appearance inspection method and apparatus using the observation area setting method
KR20230078729A (en) Printed circuit board remote optical maintenance method and system

Legal Events

Date Code Title Description
A302 Request for accelerated examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant