KR20220096342A - Application recommendation methods for machine tools and the systems used there - Google Patents

Application recommendation methods for machine tools and the systems used there Download PDF

Info

Publication number
KR20220096342A
KR20220096342A KR1020200188691A KR20200188691A KR20220096342A KR 20220096342 A KR20220096342 A KR 20220096342A KR 1020200188691 A KR1020200188691 A KR 1020200188691A KR 20200188691 A KR20200188691 A KR 20200188691A KR 20220096342 A KR20220096342 A KR 20220096342A
Authority
KR
South Korea
Prior art keywords
application
machine tool
data
program
machining
Prior art date
Application number
KR1020200188691A
Other languages
Korean (ko)
Other versions
KR102455108B1 (en
Inventor
이경태
Original Assignee
현대위아 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 현대위아 주식회사 filed Critical 현대위아 주식회사
Priority to KR1020200188691A priority Critical patent/KR102455108B1/en
Publication of KR20220096342A publication Critical patent/KR20220096342A/en
Application granted granted Critical
Publication of KR102455108B1 publication Critical patent/KR102455108B1/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
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4093Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine
    • G05B19/40937Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine concerning programming of machining or material parameters, pocket machining
    • 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/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/408Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by data handling or data format, e.g. reading, buffering or conversion of data
    • 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/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4097Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by using design data to control NC machines, e.g. CAD/CAM
    • 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/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/414Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller
    • G05B19/4145Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller characterised by using same processor to execute programmable controller and numerical controller function [CNC] and PC controlled NC [PCNC]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Geometry (AREA)
  • Numerical Control (AREA)

Abstract

The present invention relates to a method for recommending an application for a machine tool, and a system used therefor and, more specifically, to a method for recommending an application for a machine tool, capable of analyzing characteristics between machine tool NC machining programs through a cooperative-filtering recommendation method, and recommending an application suitable for a new NC machining program made by a user based on signal data thereof, and a system used therefor. The method for recommending an application for a machine tool, includes the flowing steps of: (a) generating signal data of a plurality of machine tool NC machining programs into a matrix; (b) analyzing and processing the acquired signal data; (c) calculating similarity between the NC machining programs based on the analyzed and processed signal data; (d) calculating an application ranking matrix by applying the similarity between the NC machining programs as a weighted value; and (e) recommending an application for a specific NC machining program based on the calculated application ranking matrix.

Description

공작기계용 애플리케이션 추천 방법 및 이에 사용되는 시스템{Application recommendation methods for machine tools and the systems used there}Application recommendation methods for machine tools and the systems used there

본 발명은 공작기계용 애플리케이션(Application) 추천 방법 및 이에 사용되는 시스템에 관한 것으로서, 특히 협업필터링 추천방식을 이용하여 공작기계 NC 가공프로그램들간의 특징을 분석하고 그 신호 데이터를 기반으로 사용자가 작성하는 새로운 NC 가공프로그램에 적합한 애플리케이션을 추천할 수 있도록 하는 공작기계용 애플리케이션 추천 방법 및 이에 사용되는 시스템에 관한 것이다.The present invention relates to a method for recommending an application for a machine tool and a system used therefor, and in particular, analyzes characteristics between machine tool NC machining programs using a collaborative filtering recommendation method, and creates a user-created method based on the signal data. It relates to an application recommendation method for a machine tool that can recommend an application suitable for a new NC machining program, and a system used therefor.

일반적으로 공작기계를 이용하여 공작물을 가공하기 위해서는 컴퓨터 등의 제어장치를 이용해 공구 경로, 절삭조건, 주변장치를 자동제어하는 NC 가공 프로그램이 필요하며, 이런 가공 프로그램은 CAM 프로그램 또는 대화형 프로그램 등의 가공 프로그램 생성 시스템을 이용하여 작성하게 된다.In general, in order to process a workpiece using a machine tool, an NC machining program that automatically controls the tool path, cutting conditions, and peripheral devices using a control device such as a computer is required. It is created using the part program generation system.

그리고, 공작기계 가공 프로그램 생성 시스템을 이용하여 가공 프로그램을 작성할 때 가공 경로 생성을 위해 가공품의 형상에 대한 정보가 입력 되어야 한다.And, when creating a machining program using the machine tool machining program generation system, information on the shape of the workpiece must be input to create a machining path.

이러한 가공품의 형상은 CAD 프로그램으로 작성된 도면 파일의 형태로 제공되며, 작업자는 해당 도면 파일을 가공 프로그램 생성 시스템에서 로드하여 대상이되는 선분을 선택함으로써 가공품의 형상을 입력하게 된다.The shape of the workpiece is provided in the form of a drawing file created by a CAD program, and the operator loads the drawing file from the machining program generation system and inputs the shape of the workpiece by selecting the target line segment.

여기서, 상기 대상 선분을 선택하는 방법은, 작업자가 모든 선분을 직접 선택하도록 하는 "직접 선택 방법"과, 작업자가 현재 선택한 선분에서 출발하여 신규 추가된 선분과 연결된 선분들을 자동으로 선택하되, 분기점을 만나면 작업자에게 분기 선분을 선택하도록 하는 "분기점 자동 추적 선택 방법"등이 있다.Here, the method for selecting the target line segment includes a "direct selection method" in which an operator directly selects all line segments, and automatically selects line segments connected to a newly added line segment starting from the currently selected line segment by the operator, but a branch point There is a "branch point automatic tracking selection method" that asks the operator to select a branch line segment when it encounters .

그러나, 종래에는 NC 가공프로그램에 적합한 애플리케이션을 추천하는 방법이 없었기 때문에 매번 새로운 NC 가공프로그램에 적합한 애플리케이션을 찾아 연결(접속)하여야 하므로 작업성이 저하되는 문제점이 있었다.However, since there is no method of recommending an application suitable for an NC machining program in the prior art, there is a problem in that workability is deteriorated because it is necessary to find and connect (connect) an application suitable for a new NC machining program every time.

뿐만 아니라, 종래에는 NC 가공프로그램에 적합한 애플리케이션을 찾고 연결하기 위해서는 작업자의 많은 조작을 요구함으로써, 가공이 복잡한 경우 작업시간이 증가하고, 오조작의 가능성이 커지는 문제점이 있었다. In addition, in the prior art, in order to find and connect an application suitable for the NC machining program, many manipulations are required by the operator, so that when the machining is complicated, the working time increases and the possibility of erroneous manipulation increases.

공개특허번호 제10-2019-0105957호Publication No. 10-2019-0105957

이에, 본 발명은 상기한 문제점을 해결하기 위해 안출된 것으로서, 본 발명의 목적은, 사용자가 작성하는 공작기계 NC 가공프로그램에 적합한 애플리케이션을 자동으로 추천함으로써 작업성 향상을 이루도록 하는 공작기계용 애플리케이션 추천 방법 및 이에 사용되는 시스템을 제공하는 것이다.Accordingly, the present invention has been devised to solve the above problems, and an object of the present invention is to automatically recommend an application suitable for a machine tool NC machining program created by a user, thereby improving workability. It is to provide a method and a system used therefor.

상기한 목적을 달성하기 위해 본 발명은 공작기계용 애플리케이션 추천 방법으로서, (a) 복수 개의 공작기계 NC 가공프로그램 신호 데이터를 매트릭스(matrix)로 생성하는 단계와; (b) 상기 취득된 신호 데이터를 분석 및 처리하는 단계와; (c) 상기 분석 및 처리된 신호 데이터를 기반으로 각 NC 가공프로그램 상호 간의 유사도를 구하는 단계와; (d) 상기 각 NC 가공프로그램 상호 간의 유사도를 가중치로 적용하여 연산하는 단계와; (e) 상기 연산된 애플리케이션 순위 매트릭스를 기반으로 특정 NC 가공프로그램을 위한 애플리케이션을 추천하는 단계; 를 포함하여 이루어진다.In order to achieve the above object, the present invention provides an application recommendation method for a machine tool, comprising the steps of: (a) generating a plurality of machine tool NC machining program signal data in a matrix; (b) analyzing and processing the acquired signal data; (c) obtaining a degree of similarity between each NC machining program based on the analyzed and processed signal data; (d) calculating the degree of similarity between the respective NC machining programs as a weight; (e) recommending an application for a specific NC machining program based on the calculated application ranking matrix; is made including

본 발명은 공작기계용 애플리케이션 추천 방법에 있어서, 상기 신호 데이터는 공작기계의 보조 기능을 나타내는 프로그램 코드인 M코드의 명령시 발생되는 M 신호와, NC 공작기계의 준비기능을 나타내는 프로그램 코드인 G코드의 명령시 발생되는 G 신호 및 공구(Tool)의 사용 명령시 발생되는 T 신호 중 어느 하나로 사용될 수 있는 것을 특징으로 한다.The present invention is an application recommendation method for a machine tool, wherein the signal data is an M signal generated when an M code command is a program code representing an auxiliary function of a machine tool, and a G code is a program code representing a preparation function of the NC machine tool. It is characterized in that it can be used as any one of a G signal generated when a command of , and a T signal generated when a command to use a tool is commanded.

본 발명은 공작기계용 애플리케이션 추천 방법에 있어서, 상기 (a) 단계에서 신호 데이터는 사용 횟수인 것을 특징으로 한다.The present invention is characterized in that in the method for recommending an application for a machine tool, the signal data in the step (a) is the number of uses.

본 발명은 공작기계용 애플리케이션 추천 방법에 있어서, 상기 (a) 단계에서 매트릭스(행열)로 표시된 신호 값들 중 NC 가공프로그램과 신호의 연관도 값이 결정되지 않은 값들은 행렬 인자화(Matrix factorization)를 통하여 예측되는 것을 특징으로 한다.In the present invention, in the method for recommending an application for a machine tool, among the signal values displayed in a matrix (matrix) in step (a), the values for which the correlation value between the NC machining program and the signal is not determined are subjected to matrix factorization. It is characterized in that it is predicted through

본 발명은 공작기계용 애플리케이션 추천 방법에 있어서, 상기(c) 단계에서 각 NC 가공프로그램들 1,2,3,4,5의 피어슨 상관계수를 통해 각 NC 가공프로그램들 1,2,3,4,5 사이의 유사도를 구하는 것을 특징으로 한다.In the present invention, in the application recommendation method for a machine tool, each of the NC machining programs 1,2,3,4 through the Pearson correlation coefficient of each of the NC machining programs 1,2,3,4,5 in step (c) It is characterized by finding the similarity between ,5.

본 발명은 공작기계용 애플리케이션 추천 방법에 있어서, 상기 (d) 단계에서 연산은 애플리케이션의 실행 회수 값에 유사도 값을 가중치로 곱하는 것을 특징으로 한다.The present invention is characterized in that in the method for recommending an application for a machine tool, the calculation in step (d) multiplies the value of the number of executions of the application by the value of the similarity by a weight.

본 발명은 공작기계용 애플리케이션 추천 방법에 있어서, 상기 (e) 단계에서 추천은 구한 유사도 값을 가중치로 하고, 각 애플리케이션이 실행된 횟수에 가중치를 각각 곱하고, 해당 값들을 더한 총합이 제일 높은 것을 추천하는 것을 특징으로 한다.In the present invention, in the method for recommending an application for a machine tool, the recommendation in step (e) is based on the similarity value obtained as a weight, the number of times each application is executed is multiplied by the weight, and the sum of the values is the highest. characterized in that

또한, 본 발명은 공작기계용 애플리케이션 추천 방법에 사용되는 시스템에 있어서, CNC 공작기계와; 상기 공작기계의 컴퓨터 수치 제어(CNC) 및 프로그램 가능 논리 제어 장치로부터 발생되는 NC 가공프로그램 신호인 데이터를 애플리케이션 프로그래밍 인터페이스(API)를 통하여 수집하고, 전송하는 역할을 하는 데이터 수집부와; 상기 데이터 수집부로부터 수집되어 전송받은 데이터를 분석하고 기억, 저장하는 분석 및 저장부와; 상기 데이터 수집부와 분석 및 저장부를 통해 취득한 데이터를 바탕으로 애플리케이션을 추천하는 애플리케이션 추천부; 를 포함하여 이루어지는 것을 특징으로 한다.In addition, the present invention provides a system used in an application recommendation method for a machine tool, comprising: a CNC machine tool; a data collecting unit serving to collect and transmit data that is an NC machining program signal generated from a computer numerical control (CNC) and programmable logic control device of the machine tool through an application programming interface (API); an analysis and storage unit for analyzing, storing, and storing data collected and transmitted from the data collection unit; an application recommendation unit for recommending an application based on the data acquired through the data collection unit and the analysis and storage unit; It is characterized in that it comprises a.

본 발명은 공작기계용 애플리케이션 추천 방법에 사용되는 시스템에 있어서, 상기 공작기계는 공작기계 애플리케이션 추천을 위한 애플리케이션 및 HMI 장치(Humanmachine Interface)를 더 구비하는 것을 특징으로 한다.The present invention is a system used in a method for recommending an application for a machine tool, wherein the machine tool further comprises an application for recommending a machine tool application and an HMI device (Humanmachine Interface).

본 발명은 공작기계용 애플리케이션 추천 방법에 사용되는 시스템에 있어서, 상기 데이터 수집부의 애플리케이션 프로그래밍 인터페이스(API)는 화낙(FANUC), 지멘스(SIEMENS), 하이덴하인(HEIDENHAIN)과 같은 다양한 공작기계 제작사의 NC 통신 지원이 가능하도록 구성되는 것을 특징으로 한다.The present invention is a system used for an application recommendation method for a machine tool, wherein the application programming interface (API) of the data collection unit is NC of various machine tool manufacturers such as FANUC, Siemens, HEIDENHAIN. It is characterized in that it is configured to enable communication support.

본 발명은 공작기계용 애플리케이션 추천 방법에 사용되는 시스템에 있어서, 상기 분석 및 저장부는 수집된 데이터를 실시간으로 분석하고 시계열 데이터를 저장하는 분석모듈과, 수집된 데이터에서 필요한 정보를 얻기 위해 데이터를 분류 및 처리하는 데이터 처리(data processing) 모듈과, 분류 및 처리된 데이터를 저장하는 데이터 저장 모듈과, 서버 시스템을 관리하는 시스템 관리 모듈로 구성되는 것을 특징으로 한다.The present invention relates to a system used in a method for recommending an application for a machine tool, wherein the analysis and storage unit analyzes the collected data in real time and stores time series data, and an analysis module for storing the time series data classifies the data to obtain necessary information from the collected data and a data processing module for processing, a data storage module for storing classified and processed data, and a system management module for managing a server system.

본 발명은 공작기계용 애플리케이션 추천 방법에 사용되는 시스템항에 있어서, 상기 HMI 장치는 공작기계 내부에 저장되어 있는 NC 가공프로그램을 나타내는 표시부와, 상기 NC 가공프로그램의 선택을 위한 입력부와, 내부에 저장되어 있는 애플리케이션을 나타내는 표시부와, 애플리케이션 실행을 위한 입력부와, 현재 메인 NC 가공프로그램으로 지정되어 있는 프로그램의 저장 경로를 나타내는 표시부 및 현재 메인 NC 가공프로그램으로 지정되어 있는 프로그램의 내용을 나타내는 표시부를 포함하여 이루어지는 것을 특징으로 한다.The present invention is a system used for an application recommendation method for a machine tool, wherein the HMI device includes a display unit for indicating an NC machining program stored inside the machine tool, an input unit for selecting the NC machining program, and an internal storage Including a display unit indicating the application being processed, an input unit for application execution, a display unit indicating the storage path of the program currently designated as the main NC part program, and a display part showing the contents of the program currently designated as the main NC part program characterized by being made.

이상에서와 같은 본 발명은 매번 새로운 NC 가공프로그램에 적합한 애플리케이션을 자동으로 추천함으로써, 애플리케이션 사용을 위한 접속 경로가 간단하여 사용자의 작업 효율을 향상시키는 효과가 있다.As described above, the present invention automatically recommends an application suitable for a new NC machining program every time, so that the connection path for using the application is simple, thereby improving the user's work efficiency.

또, 본 발명은 딥러닝을 통하여 NC 가공프로그램들 간의 특징을 분석하고, 그 데이터를 기반으로 사용자가 작성하는 NC 가공프로그램에 적합한 애플리케이션을 자동으로 연결함으로써, 작업시간을 단축하고, 품질향상을 이루는 효과가 있다.In addition, the present invention analyzes characteristics between NC machining programs through deep learning, and automatically connects applications suitable for NC machining programs created by users based on the data, thereby reducing work time and achieving quality improvement. It works.

뿐만 아니라, 사용자가 작성한 프로그램 정보를 바탕으로 시스템 내부에서 알고리즘을 적용하여 애플리케이션을 추천해주므로, 애플리케이션 사용을 위한 별도의 접속 과정 없이 보다 쉽게 애플리케이션을 사용할 수 있는 효과가 있다.In addition, since the application is recommended by applying an algorithm inside the system based on the program information written by the user, there is an effect that the application can be used more easily without a separate connection process for using the application.

도 1은 본 발명의 바람직한 실시예에 따른 공작기계용 애플리케이션 추천 방법에 대한 순서도이다.
도 2는 본 발명에 따른 공작기계용 애플리케이션 추천을 위한 시스템의 일실시예를 나타낸 블록도이다.
도 3은 본 발명에 따른 데이터 수집부를 통해 신호 데이터가 수집되는 상태를 개략적으로 나타낸 블록도이다.
도 4는 본 발명에 따른 HMI 장치의 구성을 개략적으로 나타낸 도면이다.
1 is a flowchart for an application recommendation method for a machine tool according to a preferred embodiment of the present invention.
2 is a block diagram showing an embodiment of a system for application recommendation for a machine tool according to the present invention.
3 is a block diagram schematically illustrating a state in which signal data is collected through a data collection unit according to the present invention.
4 is a diagram schematically showing the configuration of an HMI device according to the present invention.

이하, 본 발명에 따른 바람직한 실시예를 첨부된 도면에 의거하여 보다 구체적으로 설명한다.Hereinafter, a preferred embodiment according to the present invention will be described in more detail based on the accompanying drawings.

여기서, 하기의 모든 도면에서 동일한 기능을 갖는 구성요소는 동일한 참조부호를 사용하여 반복적인 설명은 생략하며, 아울러 후술 되는 용어들은 본 발명에서의 기능을 고려하여 정의된 것으로서, 이것은 고유의 통용되는 의미로 해석되어야 함을 명시한다.Here, in all the drawings below, components having the same function are omitted by using the same reference numerals, and repeated descriptions are omitted, and the terms to be described below are defined in consideration of the functions in the present invention, which have their own and commonly used meanings. should be interpreted as

도 1에 도시된 바와 같이 본 발명에 따른 공작기계용 애플리케이션 추천 방법은 (a) 복수 개의 공작기계 NC 가공프로그램 신호 데이터를 매트릭스(matrix)로 생성하는 단계(S10)와; (b) 상기 취득된 신호 데이터를 분석 및 처리하는 단계(S20)와; (c) 상기 분석 및 처리된 신호 데이터를 기반으로 각 NC 가공프로그램 상호 간의 유사도를 구하는 단계(S30)와; (d) 상기 각 NC 가공프로그램 상호 간의 유사도를 가중치로 적용하여 연산하는 단계(S40)와; (e) 상기 연산된 애플리케이션 순위 매트릭스를 기반으로 특정 NC 가공프로그램을 위한 애플리케이션을 추천하는 단계(S50); 로 대별되어 이루어진다.As shown in Figure 1, the method for recommending an application for a machine tool according to the present invention includes (a) generating a plurality of machine tool NC machining program signal data in a matrix (S10); (b) analyzing and processing the acquired signal data (S20); (c) obtaining a degree of similarity between each NC machining program based on the analyzed and processed signal data (S30); (d) calculating by applying the degree of similarity between the respective NC machining programs as a weight (S40); (e) recommending an application for a specific NC machining program based on the calculated application ranking matrix (S50); is divided into

먼저, 본 발명에 따른 공작기계용 애플리케이션 추천 방법을 실시할 수 있는 시스템은, 도 2 내지 도 4에 도시된 바와 같이, 가공형상ㆍ가공조건ㆍ가공동작 등의 데이터를 컴퓨터에 의해 자동 프로그래밍을 하여 NC데이터로 변환시키고 펄스 신호화 된 상태로 보유하고 필요에 따라서 공작물을 가공하는 CNC 공작기계(computerized numerically controlled machine tool)(100)와, 상기 공작기계(100)의 컴퓨터 수치 제어(CNC) 및 프로그램 가능 논리 제어 장치(Programmable Logic Controller)로부터 발생되는 NC 가공프로그램 신호인 데이터를 애플리케이션 프로그래밍 인터페이스(API : application programming interface)를 통하여 수집하고, 전송하는 역할을 하는 데이터 수집부(200)와, 상기 데이터 수집부(200)로부터 수집되어 전송받은 데이터를 분석하고 기억, 저장하는 분석 및 저장부(300)와, 상기 데이터 수집부(200)와 분석 및 저장부(300)를 통해 취득한 데이터를 바탕으로 애플리케이션을 추천하는 애플리케이션 추천부(400)를 포함하여 이루어진다.First, the system capable of implementing the application recommendation method for a machine tool according to the present invention, as shown in FIGS. A CNC machine tool (computerized numerically controlled machine tool) 100 that converts NC data, holds it in a pulse signalized state, and processes a workpiece as needed, and a computer numerical control (CNC) and program of the machine tool 100 A data collection unit 200 that collects and transmits data that is an NC processing program signal generated from a programmable logic controller through an application programming interface (API), and the data collection An analysis and storage unit 300 that analyzes, stores, and stores data collected and transmitted from the unit 200, and an application based on the data acquired through the data collection unit 200 and the analysis and storage unit 300 and a recommended application recommendation unit 400 .

상기 공작기계(100)는 NC 가공프로그램 신호인 데이터를 받아오는 대상으로서, 기계의 자동 제어 및 모니터링에 사용되는 범용 제어장치로 프로그래머블 컨트롤러(programmable controller)라고도 불리는 프로그램 가능 논리 제어 장치(Programmable Logic Controller)를 구비하고 있다.The machine tool 100 is a programmable logic controller, also called a programmable controller, as a general-purpose control device used for automatic control and monitoring of the machine as a target for receiving data that is an NC machining program signal. is equipped with

따라서, 상기 공작기계(100)는 공작물 가공시 컴퓨터 수치제어 및 프로그램 가능 논리 제어장치에서 가공프로그램 신호(데이터)를 발생시켜 제공하게 된다.Accordingly, the machine tool 100 generates and provides a machining program signal (data) from a computer numerical control and programmable logic control device when machining a workpiece.

그리고, 본 발명에 따른 공작기계(100)는 도 4에 도시된 바와 같이 공작기계 애플리케이션 추천을 위한 애플리케이션 및 HMI 장치(Humanmachine Interface)(110)를 더 구비한다.And, the machine tool 100 according to the present invention further includes an application and HMI device (Humanmachine Interface) 110 for machine tool application recommendation as shown in FIG. 4 .

상기 HMI 장치(110)는 공작기계 내부에 저장되어 있는 NC 가공프로그램을 나타내는 표시부(111)와, 상기 NC 가공프로그램의 선택을 위한 입력부(112)와, 내부에 저장되어 있는 애플리케이션을 나타내는 표시부(113)와, 애플리케이션 실행을 위한 입력부(114)와, 현재 메인 NC 가공프로그램으로 지정되어 있는 프로그램의 저장 경로를 나타내는 표시부(115) 및 현재 메인 NC 가공프로그램으로 지정되어 있는 프로그램의 내용을 나타내는 표시부(116)를 포함하여 이루어진다.The HMI device 110 includes a display unit 111 indicating an NC machining program stored in the machine tool, an input unit 112 for selecting the NC machining program, and a display unit 113 indicating applications stored therein. ), an input unit 114 for application execution, a display unit 115 indicating the storage path of the program currently designated as the main NC machining program, and a display unit 116 indicating the contents of the program currently designated as the main NC machining program ) is included.

또, 상기 데이터 수집부(200)의 애플리케이션 프로그래밍 인터페이스(API : application programming interface)는 화낙(FANUC), 지멘스(SIEMENS), 하이덴하인(HEIDENHAIN)과 같은 다양한 공작기계 제작사의 NC 통신 지원이 가능하도록 구성된다.In addition, the application programming interface (API) of the data collection unit 200 is configured to support NC communication of various machine tool manufacturers such as FANUC, SIEMENS, and HEIDENHAIN. do.

또한, 상기 분석 및 저장부(300)는 수집된 데이터를 실시간으로 분석하고 시계열 데이터를 저장하는 분석모듈(310)과, 수집된 데이터에서 필요한 정보를 얻기 위해 데이터를 분류 및 처리하는 데이터 처리(data processing) 모듈(320)과, 분류 및 처리된 데이터를 저장하는 데이터 저장 모듈(330)과, 서버 시스템을 관리하는 시스템 관리 모듈(340)로 구성된다.In addition, the analysis and storage unit 300 includes an analysis module 310 that analyzes the collected data in real time and stores time series data, and a data processing unit that classifies and processes data to obtain necessary information from the collected data. processing) module 320 , a data storage module 330 for storing classified and processed data, and a system management module 340 for managing a server system.

이러한 분석 및 저장부(300)는 필요에 따라 다양한 형태로 통상적으로 적용되는 것이므로 구체적인 설명은 생략하기로 한다.Since the analysis and storage unit 300 is commonly applied in various forms as needed, a detailed description thereof will be omitted.

이러한 구성의 본 발명에 따른 시스템(1000)을 이용한 본 발명에 따른 공작기계용 애플리케이션 추천 방법을 설명하면 다음과 같다.A method for recommending an application for a machine tool according to the present invention using the system 1000 according to the present invention having such a configuration is described as follows.

상기 (a) 단계는, 복수 개의 공작기계 NC 가공프로그램 신호 데이터를 매트릭스(matrix)로 생성한다.(S10)In the step (a), a plurality of machine tool NC machining program signal data is generated as a matrix. (S10)

즉, 상기 공작기계(100)에서 공작물 가공시 컴퓨터 수치제어부 및 프로그램 가능 논리 제어장치에서 발생하는 신호 데이터를 상기 데이터 수집부(200)의 애플리케이션 프로그래밍 인터페이스(API : application programming interface)를 통하여 수집, 취득하여 매트릭스로 생성한다.That is, signal data generated by a computer numerical control unit and a programmable logic control device when machining a workpiece in the machine tool 100 is collected and acquired through an application programming interface (API) of the data collection unit 200 . to create a matrix.

여기서, 상기 신호 데이터는 공작기계(100)의 보조 기능을 나타내는 프로그램 코드인 M코드의 명령시 발생되는 M 신호와, NC 공작기계(110)의 준비기능을 나타내는 프로그램 코드인 G코드의 명령시 발생되는 G 신호 및 공구(Tool)의 사용 명령시 발생되는 T 신호 등이 사용될 수 있다.Here, the signal data is generated when an M signal, which is a program code indicating an auxiliary function of the machine tool 100, is commanded, and a G code, which is a program code indicating a preparation function of the NC machine tool 110, is commanded. A G signal and a T signal generated when a tool is commanded to be used may be used.

다시 말해, T신호, M신호(M코드), G신호(PLC 신호) 등의 신호 또한 특정 가공과 연관되어 있으므로 애플리케이션 추천을 위한 데이터로 사용할 수 있다.In other words, signals such as T signal, M signal (M code), and G signal (PLC signal) are also related to specific processing, so they can be used as data for application recommendation.

그 한예로써, 본 발명에서는 공작기계(100)에서 공작물 가공을 위해 NC 가공프로그램을 작성한다.As an example, in the present invention, an NC machining program is created for machining a workpiece in the machine tool 100 .

즉, 상기 공작기계(100)의 사용자(오퍼레이터)는 가공하고자 하는 공작물에 따른 NC 가공프로그램을 작성한다.That is, the user (operator) of the machine tool 100 creates an NC machining program according to the workpiece to be machined.

상기 공작기계(100)의 사용자(오퍼레이터)는 가공할 공작물의 제작도면을 보면서 공작기계(100)의 HMI 장치(110)를 구성하는 상기 NC 가공프로그램의 선택을 위한 입력부(112)를 통해 가공 대상물의 좌표값을 설정함으로써 공작물을 용이하게 가공하도록 NC 가공프로그램을 작성하게 된다.A user (operator) of the machine tool 100 sees a production drawing of the workpiece to be machined, and through the input unit 112 for selecting the NC machining program constituting the HMI device 110 of the machine tool 100, the object to be machined By setting the coordinate value of , an NC machining program is created to process the workpiece easily.

또, 작성된 모든 NC 가공프로그램은 상기 HMI 장치(110)의 NC 가공프로그램을 나타내는 표시부(111)를 통해 보여진다.In addition, all the created NC machining programs are displayed through the display unit 111 indicating the NC machining programs of the HMI device 110 .

그리고, 현재 메인 NC 가공프로그램으로 지정되어 있는 프로그램의 저장 경로는 표시부(115)에 의해 표시되고, 현재 메인 NC 가공프로그램으로 지정되어 있는 프로그램의 내용은 표시부(116)에 의해 표시된다.The storage path of the program currently designated as the main NC machining program is displayed by the display unit 115 , and the content of the program currently designated as the main NC machining program is displayed by the display unit 116 .

그리고, 작성된 각 NC 가공 프로그램과 각 NC 가공프로그램에 사용되는 공구 간에 발생하는 T신호를 신호 데이터로 수집, 취득한다.Then, the T signal generated between each created NC machining program and the tool used in each NC machining program is collected and acquired as signal data.

구체적으로 상기 공작기계(100)에서 다양한 공작물을 가공하게 되면 가공하고자 하는 공작물에 따라 각 NC 가공프로그램과 각 공구의 특징을 활용하여 적합한 가공을 수행하므로 컴퓨터 수치제어부 및 프로그램 가능 논리 제어장치는 사용되는 공구의 선택시 T신호를 발생하게 된다.Specifically, when various workpieces are processed in the machine tool 100, appropriate processing is performed by utilizing each NC processing program and the characteristics of each tool according to the workpiece to be processed, so the computer numerical control unit and the programmable logic control device are used When a tool is selected, a T signal is generated.

그리고, 상기 데이터 수집부(200)의 애플리케이션 프로그래밍 인터페이스(API : application programming interface)에서는 발생되는 T신호의 사용 횟수를 데이터로 수집, 취득한다.In addition, the application programming interface (API) of the data collection unit 200 collects and acquires the number of times of use of the generated T signal as data.

예컨대, 상기 공작기계(100)의 NC 가공프로그램 1,2,3,4,5를 이용하여 공작물 가공시, 각 공구 TOO1, T002, T003, T004, T005는 아래의 표 1에 나타난 바와 같이 사용되는 횟수가 T신호에 의해 발생된다.For example, when machining a workpiece using the NC machining programs 1,2,3,4,5 of the machine tool 100, each tool TOO1, T002, T003, T004, T005 is used as shown in Table 1 below. The number of times is generated by the T signal.

TOO1TOO1 T002T002 T003T003 T004T004 T005T005 0900109001 22 N/AN/A 1One N/AN/A 1One 0900209002 1One 1One N/AN/A N/AN/A 22 0900309003 33 1One N/AN/A 1One N/AN/A 0900409004 1One N/AN/A 1One 1One 1One 0900509005 1One N/AN/A 1One N/AN/A 1One

여기서, 상기 09001, 09002, 09003, 09004, 09005는 NC 가공프로그램 1,2,3,4,5이고, TOO1, T002, T003, T004, T005는 공작기계(110)에 사용되는 공구번호이며, 숫자 1,2,3은 호출된 공구의 횟수이며, N/A는 호출되지 않은 공구의 신호 값이다.Here, 09001, 09002, 09003, 09004, and 09005 are NC machining programs 1,2,3,4,5, and TOO1, T002, T003, T004, and T005 are tool numbers used in the machine tool 110, and numbers 1,2,3 are the number of called tools, and N/A is the signal value of the uncalled tool.

그리고, 상기 표 1에 표시된 값들을 표 2에 매트릭스(행렬)로 나타내면 다음과 같다.And, when the values shown in Table 1 are expressed as a matrix (matrix) in Table 2, it is as follows.

22 00 1One 00 1One 1One 1One 00 00 22 33 1One 00 1One 00 1One 00 1One 1One 1One 1One 00 1One 00 1One

이러한 과정은 각 NC 가공프로그램들 사이의 관계를 분석하기 위한 단계로써, 해당 조합 행렬에 대하여 행렬분해(Matrix Factorization)를 사용하여 호출되지 않은 신호 (N/A)의 값을 추측한다.This process is a step for analyzing the relationship between each NC part program, and the value of the uncalled signal (N/A) is estimated using matrix factorization for the corresponding combination matrix.

즉, 특정 프로그램에서 특정 신호가 호출되지 않았다고 해도 관련성이 없다고 생각할 수 없으므로, 암시적 데이터 집합(Implicit Dataset)에 대한 추정 값을 구하기 위한 과정이다.That is, even if a specific signal is not called in a specific program, it cannot be considered as irrelevant, so it is a process for obtaining an estimated value for an implicit data set.

이와 같이 상기 매트릭스(행열)로 표시된 신호 값들 중 NC 가공프로그램과 신호의 연관도 값이 결정되지 않은 값들은 행렬 인자화(Matrix factorization)를 통하여 예측된다.As such, among the signal values displayed in the matrix (matrix), the values for which the correlation value between the NC processing program and the signal is not determined are predicted through matrix factorization.

그리고, 상기 데이터 수집부(200)를 통해 취득된 신호 데이터는 상기 분석 및 저장부(300)로 전송된다.In addition, the signal data acquired through the data collection unit 200 is transmitted to the analysis and storage unit 300 .

상기 (b) 단계는, 상기 취득된 신호 데이터를 분석 및 처리한다.(S20)In step (b), the acquired signal data is analyzed and processed. (S20)

즉, 상기 데이터 수집부(200)로부터 수집, 취득된 신호 데이터를 본 발명에 따른 상기 시스템(1000)의 분석 및 저장부(300)를 통해 분석 및 처리된다.That is, the signal data collected and acquired from the data collection unit 200 is analyzed and processed through the analysis and storage unit 300 of the system 1000 according to the present invention.

이러한 신호 데이터의 분석 및 처리는 미리 프로그램 되어 있는 딥 러닝(Deep Learning)에 의해 이루어지는 것이므로 구체적인 설명은 생략한다.Since the analysis and processing of such signal data is performed by pre-programmed deep learning, a detailed description thereof will be omitted.

상기 (c) 단계는 처리된 신호 데이터를 기반으로 각 NC 가공프로그램 상호 간의 유사도를 구한다.(S30)In step (c), the degree of similarity between each NC machining program is obtained based on the processed signal data. (S30)

즉, 상기 과정을 통하여 얻은 공구의 T신호 데이터(T신호 사용 횟수)를 바탕으로 획득한 프로그램 상호 간 유사도를 알 수 있다.That is, it is possible to know the degree of similarity between the programs obtained based on the T signal data (the number of times the T signal is used) of the tool obtained through the above process.

한예로써, 상기 NC 가공프로그램들 중, NC 가공프로그램 1과 NC 가공프로그램 5 사이의 피어슨 상관계수(Pearson Correlation)를 적용하였으며, 아래의 해당 연산 공식을 이용하여 2 NC 프로그램 상호간 유사도를 구한다.As an example, among the NC machining programs, a Pearson correlation coefficient between NC machining program 1 and NC machining program 5 is applied, and the degree of similarity between 2 NC programs is obtained using the corresponding calculation formula below.

Figure pat00001
Figure pat00001

즉, X를 상기 NC 가공프로그램 09001이라 하고 X의 평균 값 0.800이 이며, Y를 NC 가공프로그램 09005이라 하고, Y의 평균 값이 0.600이다.That is, let X be the NC machining program 09001, the average value of X is 0.800, let Y be the NC machining program 09005, and the average value of Y is 0.600.

그리고, 상기 NC 가공프로그램 09001인 X의 표준편차 값이 0.837이고, NC 가공프로그램 09005인 Y의 표준편차 값이 0.548이다.The standard deviation value of X, which is the NC machining program 09001, is 0.837, and the standard deviation value of Y, which is the NC machining program 09005, is 0.548.

이를 상기 연산 공식을 이용하여 계산하면 결과 값은 0.873이 된다.If this is calculated using the above formula, the result is 0.873.

이와 같이, 상기 나머지 NC 가공프로그램 2 내지 NC 가공프로그램 4, 또한 피어슨 상관계수(Pearson Correlation)를 적용하여 각 NC 가공프로그램 상호간 유사도를 구한 결과 아래의 표 3과 같다.As described above, the results of obtaining the degree of similarity between the remaining NC machining programs 2 to 4 and also between the NC machining programs by applying the Pearson correlation coefficient are shown in Table 3 below.

0900109001 0900209002 0900309003 0900409004 0900509005 9000190001 1One 0.2860.286 0.4880.488 0.5350.535 0.8730.873 9000290002 0.2860.286 1One 00 -0.134-0.134 0.3270.327 0900309003 0.4880.488 00 1One 00 00 0900409004 0.5350.535 -0.134-0.134 00 1One 0.6120.612 0900509005 0.8730.873 0.3270.327 00 0.6120.612 1One

즉, 상기 NC 가공프로그램 1과 NC 가공프로그램 2 사이에 공구 신호 데이터를 바탕으로 작성된 유사도는 0.286이고, NC 가공프로그램 1과 NC 가공프로그램 3 사이에 공구 신호 데이터를 바탕으로 작성된 유사도는 0.488이며, NC 가공프로그램 1과 NC 가공프로그램 4 사이에 공구 신호 데이터를 바탕으로 작성된 유사도는 0.535이고, NC 가공프로그램 1과 NC 가공프로그램 5 사이에 공구 신호 데이터를 바탕으로 작성된 유사도는 0.873이다.That is, the similarity created based on the tool signal data between the NC part program 1 and the NC part program 2 is 0.286, and the similarity created between the NC part program 1 and the NC part program 3 based on the tool signal data is 0.488, and the NC The similarity between part program 1 and NC part program 4 based on tool signal data is 0.535, and between NC part program 1 and NC part program 5 based on tool signal data is 0.873.

그리고, 상기 표 3에 나타난 각 NC 가공프로그램들 1,2,3,4,5의 피어슨 상관계수를 통해 구해진 각 NC 가공프로그램들 1,2,3,4,5 사이의 유사도를 아래의 표 4에 나타내었다.And, the similarity between each of the NC machining programs 1,2,3,4,5 obtained through the Pearson correlation coefficient of each of the NC machining programs 1,2,3,4,5 shown in Table 3 is shown in Table 4 below. shown in

NC 가공프로그램NC machining program NC 가공프로그램NC machining program 유사도Similarity

09005


09005
0900109001 0.8730.873
0900209002 0.3270.327 0900309003 00 0900409004 0.6120.612

이와 같이 본 발명에서는 NC 가공프로그램 09005를 특정 NC 가공프로그램으로 선택하고, 다른 NC 가공프로그램 09001, 09002, 09003, 09004와의 유사도 값을 이용하여 두 프로그램 사이의 관계를 분석, 처리한다.As described above, in the present invention, NC machining program 09005 is selected as a specific NC machining program, and the relationship between the two programs is analyzed and processed using similarity values with other NC machining programs 09001, 09002, 09003, and 09004.

그리고, 상기 과정을 통해 구해진 해당 유사도 값은 다음 과정에서 가중치로 사용된다.Then, the corresponding similarity value obtained through the above process is used as a weight in the next process.

이때, 상기 구해진 해당 유사도 값이 음수일 경우 절대 값으로 치환하여 양수 값으로 가중하는 것이 바람직하다.In this case, when the obtained corresponding similarity value is a negative number, it is preferable to substitute an absolute value for weighting with a positive value.

상기 (d) 단계는 각 NC 가공프로그램 상호 간의 유사도를 가중치로 적용하여 연산한다.(S40)In step (d), the calculation is performed by applying the degree of similarity between each NC machining program as a weight. (S40)

이를 위해 아래의 표 5에 나타낸 바와 같이, 상기 각 NC 가공프로그램 09001, 09002, 09003, 09004에서 사용되는 애플리케이션의 실행 횟수를 기반으로 매트릭스를 생성하였다.To this end, as shown in Table 5 below, a matrix was created based on the number of executions of applications used in each of the NC machining programs 09001, 09002, 09003, and 09004.

App.1App.1 App.2App.2 App.3App.3 App.4App.4 0900109001 99 00 1One 00 0900209002 00 00 66 00 0900309003 88 00 00 1One 0900409004 33 00 1One 00

여기서, 상기 각 애플리케이션 App.1, App. 2, App. 3, App. 4 ....등은 HMI 장치(110)의 애플리케이션 실행을 위한 입력부(114)를 통해 입력되면 공작기계(100)의 내부에 저장되어 있는 애플리케이션은 표시부(113)에 의해 표시된다.Here, each of the above applications App.1, App. 2, App. 3, App. When 4 .... etc. are input through the input unit 114 for application execution of the HMI device 110 , the application stored in the machine tool 100 is displayed by the display unit 113 .

그리고, 상기 애플리케이션의 실행 회수 값에 상기 표 4에서 구한 유사도 값을 가중치로 곱하여 순위 매트릭스(rating matrix)를 아래의 표 6과 같이 생성한다.Then, a rating matrix is generated as shown in Table 6 below by multiplying the execution count value of the application by the similarity value obtained in Table 4 by a weight.

예컨대, 상기 NC 가공프로그램 90001에서 사용되는 애플리케이션의 실행 회수는 9이고, 상기 NC 가공프로그램 09005와 NC 가공프로그램 09001 사이의 유사도는 표 4에서 알 수 있는 바와 같이 0.873이다.For example, the number of executions of the application used in the NC part program 90001 is 9, and the similarity between the NC part program 09005 and the NC part program 09001 is 0.873 as shown in Table 4.

이를 연산하면 9×0.873 = 7.857이다.If we calculate this, we get 9×0.873 = 7.857.

또, 상기 NC 가공프로그램 90002에서 사용되는 애플리케이션의 실행 회수는 0이고, 상기 NC 가공프로그램 09005와 NC 가공프로그램 09002 사이의 유사도는 표 4에서 알 수 있는 바와 같이 0.327이다.In addition, the number of executions of the application used in the NC part program 90002 is 0, and the similarity between the NC part program 09005 and the NC part program 09002 is 0.327 as can be seen from Table 4.

이를 연산하면 0×0.327 = 0이다.If you calculate this, 0×0.327 = 0.

또한, 상기 NC 가공프로그램 09003에서 사용되는 애플리케이션의 실행 회수는 8이고, 상기 NC 가공프로그램 09005와 NC 가공프로그램 09003 사이의 유사도는 표 4에서 알 수 있는 바와 같이 0이다.Also, the number of executions of the application used in the NC machining program 09003 is 8, and the similarity between the NC machining program 09005 and the NC machining program 09003 is 0, as shown in Table 4.

이를 연산하면 8×0 = 0이다.If we compute this, we get 8×0 = 0.

그리고, 상기 NC 가공프로그램 09004에서 사용되는 애플리케이션의 실행 회수는 3이고, 상기 NC 가공프로그램 09005와 NC 가공프로그램 09004 사이의 유사도는 표 4에서 알 수 있는 바와 같이 0.612이다.Also, the number of executions of the application used in the NC machining program 09004 is 3, and the similarity between the NC machining program 09005 and the NC machining program 09004 is 0.612, as shown in Table 4.

이를 연산하면 3×0.612 = 1.836이다.If you calculate this, 3×0.612 = 1.836.

상기 (e) 단계는 애플리케이션 순위 매트릭스를 기반으로 특정 NC 가공프로그램을 위한 애플리케이션을 추천한다.(S50)In step (e), an application for a specific NC machining program is recommended based on the application ranking matrix. (S50)

즉, 상기 애플리케이션 추천부(400)는 상기 데이터 수집부(200)와 분석 및 저장부(300)를 통해 취득한 데이터를 바탕으로 애플리케이션을 추천하게 된다.That is, the application recommendation unit 400 recommends an application based on the data acquired through the data collection unit 200 and the analysis and storage unit 300 .

예컨대, 새로운 NC 가공프로그램 09005를 작성한다고 가정하면, 상기 표 4에서 구한 유사도 값을 가중치로 하고, 각 애플리케이션(App.1, App.2, App.3, App.4)이 실행된 횟수에 가중치를 각각 곱하고, 해당 값들을 더한 총합은 표 6과 같이 결과 값으로 도출된다. For example, assuming that a new NC machining program 09005 is created, the similarity value obtained in Table 4 above is used as a weight, and the weight is given to the number of times each application (App.1, App.2, App.3, App.4) is executed. The sum of multiplying each and adding the corresponding values is derived as a result value as shown in Table 6.

NC 가공프로그램NC machining program 애플리케이션application 결과 값result value

09005


09005
App.1App.1 9.6939.693
App.2App.2 00 App.3App.3 3.4473.447 App.4App.4 00

즉, 상기 NC 가공프로그램 09001에서 실행한 애플리케이션의 실행 횟수 9와 가중치인 NC 가공프로그램 09005와 NC 가공프로그램 09001 사이의 유사도인 0.873을 곱하여 구해진, 9×0.873 = 7.857과 NC 가공프로그램 90002에서 실행한 애플리케이션의 실행 회수 0과, NC 가공프로그램 09005와 NC 가공프로그램 09002 사이의 유사도인 0.327을 곱하여 구해진 0×0.327 = 0과, NC 가공프로그램 09003에서 실행한 애플리케이션의 실행 횟수 8과, NC 가공프로그램 09005와 NC 가공프로그램 09003 사이의 유사도인 0을 곱하여 구해진 8×0 = 0과, NC 가공프로그램 09004에서 실행한 애플리케이션의 실행 횟수 3과, NC 가공프로그램 09005와 NC 가공프로그램 09004 사이의 유사도인 0.612를 곱하여 구해진 3×0.612 = 1.836을 덧셈 연산 하면, 가장 추천 순위가 높은 애플리케이션은 7.857 + 0 + 0 + 1.836 = 9.693인 애플리케이션 1(App.1)이다.That is, 9×0.873 = 7.857 obtained by multiplying the number of executions of the application executed by the NC part program 09001 by 9 and the weight of the NC part program 09005 and 0.873, which is the similarity between the NC part program 09001, and the application executed by the NC part program 90002 0×0.327 = 0 obtained by multiplying 0, the number of executions of NC part program 09005 and 0.327, which is the degree of similarity between NC part program 09005 and NC part program 09002, and the number of executions of the application executed in NC part program 09003 8, NC part program 09005 and NC 8×0 = 0, which is obtained by multiplying 0, which is the similarity between part program 09003, 3, which is obtained by multiplying 3, the number of executions of the application executed in NC part program 09004, and 0.612, which is the similarity between NC part program 09005 and NC part program 09004 If ×0.612 = 1.836 is added, the application with the highest recommendation rank is Application 1 (App.1) with 7.857 + 0 + 0 + 1.836 = 9.693.

그 다음 추천 순위를 나열하면 0.873 + 1.9628 + 0 + 0.612 = 3.447인 애플리케이션 3(App.3), 0 + 0 + 0 + 0 = 0인 애플리케이션 2(App.2), 0 + 0 + 0 + 0 = 0인 애플리케이션 4(App.4)로 순위가 형성되어 상기 애플리케이션 추천부(400)를 통해 추천된다.Next, if the recommended rankings are listed, application 3 (App.3) with 0.873 + 1.9628 + 0 + 0.612 = 3.447, application 2 with 0 + 0 + 0 + 0 = 0 (App.2), 0 + 0 + 0 + 0 = 0, the application 4 (App.4) is ranked and recommended through the application recommendation unit 400 .

따라서 본 발명은 이와 같은 방법을 통해 공작기계 사용자가 새로운 NC 가공프로그램을 작성할 경우 프로그램 내의 데이터를 바탕으로 적합한 애플리케이션을 자동으로 추천해 주므로 작업성과 품질 향상을 이룰 수 있는 것이다.Therefore, in the present invention, when a machine tool user creates a new NC machining program through such a method, an appropriate application is automatically recommended based on the data in the program, thereby improving workability and quality.

1000 : 시스템 100 : 공작기계
110 : HMI 장치
111 : NC 가공프로그램을 나타내는 표시부
112 : NC 가공프로그램의 선택을 위한 입력부
113 : 애플리케이션을 나타내는 표시부
114 : 애플리케이션 실행을 위한 입력부
115 : 프로그램의 저장 경로를 나타내는 표시부
116 : 프로그램의 내용을 나타내는 표시부
200 : 데이터 수집부 300 : 분석 및 저장부
400 : 애플리케이션 추천부
1000: system 100: machine tool
110: HMI device
111: Display unit for NC machining program
112: Input part for NC part program selection
113: display unit indicating the application
114: input for application execution
115: display unit indicating the program storage path
116: display unit indicating the contents of the program
200: data collection unit 300: analysis and storage unit
400: application recommendation unit

Claims (12)

공작기계용 애플리케이션 추천 방법으로서,
(a) 복수 개의 공작기계 NC 가공프로그램 신호 데이터를 매트릭스(matrix)로 생성하는 단계와;
(b) 상기 취득된 신호 데이터를 분석 및 처리하는 단계와;
(c) 상기 분석 및 처리된 신호 데이터를 기반으로 각 NC 가공프로그램 상호 간의 유사도를 구하는 단계와;
(d) 상기 각 NC 가공프로그램 상호 간의 유사도를 가중치로 적용하여 연산하는 단계와;
(e) 상기 연산된 애플리케이션 순위 매트릭스를 기반으로 특정 NC 가공프로그램을 위한 애플리케이션을 추천하는 단계; 를 포함하여 이루어지는 공작기계용 애플리케이션 추천 방법.
A method for recommending an application for a machine tool, comprising:
(a) generating a plurality of machine tool NC machining program signal data in a matrix (matrix);
(b) analyzing and processing the acquired signal data;
(c) obtaining a degree of similarity between each NC machining program based on the analyzed and processed signal data;
(d) calculating the degree of similarity between the respective NC machining programs as a weight;
(e) recommending an application for a specific NC machining program based on the calculated application ranking matrix; Application recommendation method for machine tools, including.
제1항에 있어서,
상기 신호 데이터는 공작기계의 보조 기능을 나타내는 프로그램 코드인 M코드의 명령시 발생되는 M 신호와, NC 공작기계의 준비기능을 나타내는 프로그램 코드인 G코드의 명령시 발생되는 G 신호 및 공구(Tool)의 사용 명령시 발생되는 T 신호 중 어느 하나로 사용될 수 있는 것을 특징으로 하는 공작기계용 애플리케이션 추천 방법.
According to claim 1,
The signal data includes an M signal generated when an M code command, which is a program code representing an auxiliary function of a machine tool, and a G signal generated when a G code command, which is a program code representing the preparation function of an NC machine tool, is commanded and a tool Application recommendation method for machine tools, characterized in that it can be used as any one of the T signals generated when the use command of
제1항에 있어서,
상기 (a) 단계에서 신호 데이터는 사용 횟수인 것을 특징으로 하는 공작기계용 애플리케이션 추천 방법.
According to claim 1,
In the step (a), the signal data is an application recommendation method for a machine tool, characterized in that the number of uses.
제1항에 있어서,
상기 (a) 단계에서 매트릭스(행열)로 표시된 신호 값들 중 NC 가공프로그램과 신호의 연관도 값이 결정되지 않은 값들은 행렬 인자화(Matrix factorization)를 통하여 예측되는 것을 특징으로 하는 공작기계용 애플리케이션 추천 방법.
According to claim 1,
Among the signal values displayed in a matrix (matrix) in step (a), the values for which the correlation value between the NC machining program and the signal is not determined are predicted through matrix factorization. Way.
제1항에 있어서,
상기(c) 단계에서 각 NC 가공프로그램들 1,2,3,4,5의 피어슨 상관계수를 통해 각 NC 가공프로그램들 1,2,3,4,5 사이의 유사도를 구하는 것을 특징으로 하는 공작기계용 애플리케이션 추천 방법.
According to claim 1,
In the step (c), the similarity between each of the NC machining programs 1,2,3,4,5 is obtained through the Pearson correlation coefficient of each of the NC machining programs 1,2,3,4,5. How to recommend applications for machines.
제1항에 있어서,
상기 (d) 단계에서 연산은 애플리케이션의 실행 회수 값에 유사도 값을 가중치로 곱하는 것을 특징으로 하는 공작기계용 애플리케이션 추천 방법.
According to claim 1,
The calculation in step (d) is a method for recommending an application for a machine tool, characterized in that the value of the number of executions of the application is multiplied by the value of the similarity by a weight.
제1항에 있어서,
상기 (e) 단계에서 추천은 구한 유사도 값을 가중치로 하고, 각 애플리케이션이 실행된 횟수에 가중치를 각각 곱하고, 해당 값들을 더한 총합이 제일 높은 것을 추천하는 것을 특징으로 하는 공작기계용 애플리케이션 추천 방법.
According to claim 1,
Application recommendation method for a machine tool, characterized in that the recommendation in step (e) is based on the obtained similarity value as a weight, the number of times each application is executed is multiplied by the weight, and the sum of the values is the highest.
공작기계용 애플리케이션 추천 방법에 사용되는 시스템에 있어서,
CNC 공작기계와;
상기 공작기계의 컴퓨터 수치 제어(CNC) 및 프로그램 가능 논리 제어 장치로부터 발생되는 NC 가공프로그램 신호인 데이터를 애플리케이션 프로그래밍 인터페이스(API)를 통하여 수집하고, 전송하는 역할을 하는 데이터 수집부와;
상기 데이터 수집부로부터 수집되어 전송받은 데이터를 분석하고 기억, 저장하는 분석 및 저장부와;
상기 데이터 수집부와 분석 및 저장부를 통해 취득한 데이터를 바탕으로 애플리케이션을 추천하는 애플리케이션 추천부; 를 포함하여 이루어지는 것을 특징으로 하는 공작기계용 애플리케이션 추천 방법에 사용되는 시스템.
A system used in an application recommendation method for a machine tool, the system comprising:
CNC machine tools;
a data collecting unit serving to collect and transmit data that is an NC machining program signal generated from a computer numerical control (CNC) and programmable logic control device of the machine tool through an application programming interface (API);
an analysis and storage unit for analyzing, storing, and storing data collected and transmitted from the data collection unit;
an application recommendation unit for recommending an application based on the data acquired through the data collection unit and the analysis and storage unit; A system used in an application recommendation method for a machine tool, characterized in that it comprises a.
제8항에 있어서,
상기 공작기계는 공작기계 애플리케이션 추천을 위한 애플리케이션 및 HMI 장치(Humanmachine Interface)를 더 구비하는 것을 특징으로 하는 공작기계용 애플리케이션 추천 방법에 사용되는 시스템.
9. The method of claim 8,
The machine tool is a system used in an application recommendation method for a machine tool, characterized in that it further comprises an application for machine tool application recommendation and an HMI device (Humanmachine Interface).
제8항에 있어서,
상기 데이터 수집부의 애플리케이션 프로그래밍 인터페이스(API)는 화낙(FANUC), 지멘스(SIEMENS), 하이덴하인(HEIDENHAIN)과 같은 다양한 공작기계 제작사의 NC 통신 지원이 가능하도록 구성되는 것을 특징으로 하는 공작기계용 애플리케이션 추천 방법에 사용되는 시스템.
9. The method of claim 8,
The application programming interface (API) of the data collection unit is configured to support NC communication of various machine tool manufacturers such as FANUC, SIEMENS, and HEIDENHAIN. Application recommendation for machine tools, characterized in that The system used in the method.
제8항에 있어서,
상기 분석 및 저장부는 수집된 데이터를 실시간으로 분석하고 시계열 데이터를 저장하는 분석모듈과, 수집된 데이터에서 필요한 정보를 얻기 위해 데이터를 분류 및 처리하는 데이터 처리(data processing) 모듈과, 분류 및 처리된 데이터를 저장하는 데이터 저장 모듈과, 서버 시스템을 관리하는 시스템 관리 모듈로 구성되는 것을 특징으로 하는 공작기계용 애플리케이션 추천 방법에 사용되는 시스템.
9. The method of claim 8,
The analysis and storage unit includes an analysis module that analyzes the collected data in real time and stores time series data, a data processing module that classifies and processes data to obtain necessary information from the collected data, and A system used in an application recommendation method for a machine tool, characterized in that it consists of a data storage module for storing data, and a system management module for managing the server system.
제9항에 있어서,
상기 HMI 장치는 공작기계 내부에 저장되어 있는 NC 가공프로그램을 나타내는 표시부와, 상기 NC 가공프로그램의 선택을 위한 입력부와, 내부에 저장되어 있는 애플리케이션을 나타내는 표시부와, 애플리케이션 실행을 위한 입력부와, 현재 메인 NC 가공프로그램으로 지정되어 있는 프로그램의 저장 경로를 나타내는 표시부 및 현재 메인 NC 가공프로그램으로 지정되어 있는 프로그램의 내용을 나타내는 표시부를 포함하여 이루어지는 것을 특징으로 하는 공작기계용 애플리케이션 추천 방법에 사용되는 시스템.
10. The method of claim 9,
The HMI device includes a display unit displaying an NC machining program stored in the machine tool, an input unit for selecting the NC machining program, a display unit displaying an application stored therein, an input unit for executing an application, and a current main A system used in an application recommendation method for a machine tool, characterized in that it comprises a display unit indicating the storage path of the program designated as the NC machining program and a display unit displaying the contents of the program currently designated as the main NC machining program.
KR1020200188691A 2020-12-31 2020-12-31 Application recommendation methods for machine tools KR102455108B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200188691A KR102455108B1 (en) 2020-12-31 2020-12-31 Application recommendation methods for machine tools

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200188691A KR102455108B1 (en) 2020-12-31 2020-12-31 Application recommendation methods for machine tools

Publications (2)

Publication Number Publication Date
KR20220096342A true KR20220096342A (en) 2022-07-07
KR102455108B1 KR102455108B1 (en) 2022-10-14

Family

ID=82398891

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200188691A KR102455108B1 (en) 2020-12-31 2020-12-31 Application recommendation methods for machine tools

Country Status (1)

Country Link
KR (1) KR102455108B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190001371A (en) * 2017-06-27 2019-01-04 현대위아 주식회사 Process discrimination system using a numerical control data, and method thereof
KR20190105957A (en) 2018-03-07 2019-09-18 현대위아 주식회사 A drawing shape extraction apparatus and method for creating a machine tool machining program, The recording medium
KR20200080024A (en) * 2018-12-26 2020-07-06 동아대학교 산학협력단 A recommendation system for product purchase using collaborative filtering algorism and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190001371A (en) * 2017-06-27 2019-01-04 현대위아 주식회사 Process discrimination system using a numerical control data, and method thereof
KR20190105957A (en) 2018-03-07 2019-09-18 현대위아 주식회사 A drawing shape extraction apparatus and method for creating a machine tool machining program, The recording medium
KR20200080024A (en) * 2018-12-26 2020-07-06 동아대학교 산학협력단 A recommendation system for product purchase using collaborative filtering algorism and method thereof

Also Published As

Publication number Publication date
KR102455108B1 (en) 2022-10-14

Similar Documents

Publication Publication Date Title
Tokhirov Technological process development using CAD-CAM programs
US7949422B1 (en) Machine tool control system
US8588955B2 (en) Method and apparatus for optimizing, monitoring, or analyzing a process
Wang et al. An adaptable CNC system based on STEP-NC and function blocks
Shin et al. Developing a virtual machining model to generate MTConnect machine-monitoring data from STEP-NC
CN104932421A (en) Numerical control machine work process CPS modeling method based on instruction domain analysis
Gyulai et al. Matching demand and system structure in reconfigurable assembly systems
CN102023615B (en) Command sequence-based method for displaying processing state information of digital control machine tool
Aksonov et al. Visualization and analysis of technological systems experimental operating results
WO2020065032A1 (en) Information providing method and system
CN110059070B (en) Collecting data from a data source to a manufacturing operations management data warehouse
JP2021043771A (en) Information processor
US20210311464A1 (en) Line configuration planning device
KR102455108B1 (en) Application recommendation methods for machine tools
CN108931963A (en) A kind of air valve part by numerical control NC auto programming system
CN111937025A (en) Information processing device, information processing method, and information processing program
US20200341455A1 (en) Machining support device, numerical controller, and machining support system
JPH0818226B2 (en) Parts processing estimation device
Siemiatkowski et al. Planning optimised multi-tasking operations under the capability for parallel machining
CN111045390A (en) Control system for machine tool
CN116305929B (en) Numerical control machining simulation method, device, equipment and storage medium
CN111489043A (en) MPS-based enterprise medium and long term production planning system and method
KR102416836B1 (en) Data searching system
Leshchenko et al. Research of metal processing complex control systems
Shukla et al. Enhancing Manufacturing Processes through Data Analytics in Mastercam Setup Sheets

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant