KR102220139B1 - Apparatus and method generating master pattern of PLC control logic - Google Patents

Apparatus and method generating master pattern of PLC control logic Download PDF

Info

Publication number
KR102220139B1
KR102220139B1 KR1020200093874A KR20200093874A KR102220139B1 KR 102220139 B1 KR102220139 B1 KR 102220139B1 KR 1020200093874 A KR1020200093874 A KR 1020200093874A KR 20200093874 A KR20200093874 A KR 20200093874A KR 102220139 B1 KR102220139 B1 KR 102220139B1
Authority
KR
South Korea
Prior art keywords
symbol
output
condition
input
master pattern
Prior art date
Application number
KR1020200093874A
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 KR1020200093874A priority Critical patent/KR102220139B1/en
Application granted granted Critical
Publication of KR102220139B1 publication Critical patent/KR102220139B1/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/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
    • 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/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/41865Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by job scheduling, process planning, material flow
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/13Plc programming
    • G05B2219/13044Display as flow chart, SFC, FUP
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/13Plc programming
    • G05B2219/13122Flow chart program activates several ladder diagrams, each controls one machine
    • 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)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Programmable Controllers (AREA)

Abstract

According to the present invention, provided is a method for generating a master pattern of PLC control logic, which comprises the steps of: generating a process flowchart related to PLC control logic; using collected real-time log data to verify and supplement whether the generated process flowchart is abnormal; and generating a master pattern of the PLC control logic using the verified and supplemented process flowchart and the real-time log data.

Description

PLC 제어로직의 마스터패턴 생성장치 및 방법{Apparatus and method generating master pattern of PLC control logic}Apparatus and method generating master pattern of PLC control logic}

본 발명은 PLC 제어 기술에 관한 것으로, 보다 상세하게는 PLC 제어에 의한 자동화 라인의 정상 상태 판단을 위한 마스터패턴 생성기술에 관한 것이다. The present invention relates to a PLC control technology, and more particularly, to a master pattern generation technology for determining the normal state of an automated line by PLC control.

PLC는 자동화 공정 구축에 주로 사용되고 있으며, AND/OR 등의 연산기호와 TIMER/FUNCTION BLOCK 등의 비교적 단순한 기능을 통해 작성된 PLC 제어 로직에 대한 명세(PLC 제어 로직 코드)를 의해서 구동된다. 제어 로직은 PLC 하드웨어의 메모리 주소를 이용하여 정의되며 이때 PLC 하드웨어의 메모리 주소는 접점이라고 불린다. 이러한 접점들에 입/출력 관계를 정의하고 상황 별 접점의 값을 컨트롤함으로써 자동화 공정이 운영된다.PLC is mainly used to build an automated process, and is driven by specifications (PLC control logic code) for PLC control logic created through relatively simple functions such as AND/OR and TIMER/FUNCTION BLOCK. The control logic is defined using the memory address of the PLC hardware, and the memory address of the PLC hardware is called a contact. The automation process is operated by defining the input/output relationship to these contacts and controlling the value of the contact points for each situation.

PLC로 운영되는 자동화 공정은 다수의 작업공정으로 이루어져 있는 경우가 대부분이며, 이러한 각 작업 공정별로 해당 작업 공정이 정상적으로 운영되고 있는지를 확인하기 위한 기준이 되는 마스터 패턴이 필요하게 된다. 이러한 마스터 패턴은 다수의 접점들의 시간적인 시퀀스 정보 및 접점들 간의 시간간격정보를 포함한다. In most cases, the automation process operated by PLC consists of a number of work processes, and for each of these work processes, a master pattern that serves as a standard for checking whether the corresponding work process is operating normally is required. This master pattern includes temporal sequence information of a plurality of contact points and time interval information between the contact points.

그러나 작업 공정별로 해당 작업 공정이 정상적으로 운영되고 있는가를 확인하기 위한 마스터 패턴을 구성하는 접점들의 선별은 해당 작업공정에 대한 지식을 가진 전문가에 의해서 PLC 로직 분석 후에 이루어지고 있는 실정이다.However, the selection of the contacts constituting the master pattern to check whether the corresponding work process is operating normally is carried out after PLC logic analysis by an expert who has knowledge of the work process.

하지만 작업공정에 대한 지식을 가진 전문가가 실수로 인해서 PLC 로직 분석을 잘못하여서 마스터 패턴을 구성하는 접점들을 잘못 선별할 수 있다. 이로 인해서 마스터 패턴이 잘못 생성되어, 결국 작업 공정의 정상 운영상태 파악이 정확하게 이루어지지 못하는 문제점이 발생하게 된다.However, an expert with knowledge of the work process may incorrectly analyze the PLC logic due to a mistake and select the contacts that constitute the master pattern incorrectly. As a result, the master pattern is incorrectly generated, resulting in a problem that it is not possible to accurately grasp the normal operating state of the work process.

본 발명과 관련된 선행문헌으로는 대한민국 등록특허 제10-0414437호(등록일: 2003년 12월 24일)가 있다.As a prior document related to the present invention, there is Korean Patent Registration No. 10-0414437 (registration date: December 24, 2003).

자동화 공정의 작업별 정상운영 상태를 파악하기 위한 마스터패턴을 구성하는 접점들의 선택이 작업 전문가의 개입 없이, PLC 제어 프로그램을 구성하는 접점들 간에 입출력 관계를 갖는 공정 플로우차트 및 자동화 공정의 정상 운영에 따라 발생한 로그(log data) 데이터를 이용하여 마스터 패턴을 생성할 수 있는 PLC 제어로직의 마스터 패턴 생성장치 및 방법에 관한 것이다.The selection of the contact points constituting the master pattern for grasping the normal operation status of each job of the automation process is suitable for the normal operation of the automatic process and the process flowchart having input/output relationships between the contacts constituting the PLC control program without the intervention of a work expert. The present invention relates to an apparatus and method for generating a master pattern of PLC control logic capable of generating a master pattern using log data generated accordingly.

상기의 과제를 해결하기 위한, 본 발명에 따른 PLC 제어로직의 마스터패턴 생성방법은 PLC 제어로직에 관한 공정 플로우차트를 생성하는 단계; 수집된 실시간 로그 데이터를 이용해, 상기 생성된 공정 플로우차트의 이상 여부를 검증 및 보완하는 단계; 및 상기 검증 및 보완된 공정 플로우차트와 상기 실시간 로그 데이터를 이용하여, 상기 PLC 제어로직의 마스터 패턴을 생성하는 단계를 포함하는 것을 특징으로 한다.In order to solve the above problems, the master pattern generation method of the PLC control logic according to the present invention comprises the steps of: generating a process flowchart related to the PLC control logic; Using the collected real-time log data, verifying and supplementing whether or not the generated process flowchart is abnormal; And generating a master pattern of the PLC control logic using the verified and supplemented process flowchart and the real-time log data.

상기 공정 플로우차트를 생성하는 단계는, 사용자로부터 동작 태그 리스트 및 상기 동작 태그 리스트 중 최우선 동작 태그를 입력받는 단계; 상기 최우선 동작 태그에 대해 우선적으로 공정 출력조건 및 공정 입력조건을 추출한 후에, 순차적으로 다른 동작 태그들에 대한 공정 출력조건 및 공정 입력조건을 추출함으로써, 상기 공정 출력조건을 행으로 하고 상기 공정 입력조건을 열로 하는 입출력 매트릭스를 생성하는 단계; 상기 생성된 입출력 매트릭스에 대한 매트릭스 전처리를 수행하는 단계; 매트릭스 전처리가 수행된 상기 입출력 매트릭스에서 동작 태그 리스트에 대한 실행 순서를 나타내는 상기 공정 플로우차트를 생성하는 단계를 포함하는 것을 특징으로 한다.The generating of the process flowchart may include receiving an action tag list and a top priority action tag from the action tag list from a user; After extracting the process output condition and the process input condition for the highest priority operation tag, the process output condition and the process input condition for other operation tags are sequentially extracted, thereby making the process output condition a row and the process input condition Generating an input/output matrix having as columns; Performing matrix pre-processing on the generated input/output matrix; And generating the process flowchart indicating an execution order of an operation tag list in the input/output matrix on which matrix preprocessing has been performed.

상기 입출력 매트릭스를 생성하는 단계는, 상기 동작 태그 리스트에 포함된 각각의 동작 태그가 출력으로 사용되는 공정을 추출하고, 추출된 공정에 포함된 수동 경로를 제거한 후에 상기 공정 출력조건 및 상기 공정 입력조건을 추출하는 것을 특징으로 한다.In the step of generating the input/output matrix, the process output condition and the process input condition after extracting a process in which each motion tag included in the motion tag list is used as an output, and removing a manual path included in the extracted process It is characterized in that to extract.

상기 입출력 매트릭스를 생성하는 단계는, 상기 공정 출력조건에 대응하는 공정 태그 자체를 상기 공정 입력조건으로 하는 경우에 자체 공정기호(I)로 인덱싱하고, 상기 공정 입력조건이 온 상태인 경우에 온 공정기호(A)로 인덱싱하고, 상기 공정 입력조건이 오프 상태인 경우에 오프 공정기호(B)로 인덱싱하는 것을 특징으로 한다.In the step of generating the input/output matrix, the process tag corresponding to the process output condition is indexed by its own process symbol (I) when the process input condition is used as the process input condition, and an on process is performed when the process input condition is on. Indexing is performed with a symbol (A), and indexing is performed with an off process symbol (B) when the process input condition is in an off state.

상기 매트릭스 전처리를 수행하는 단계는, 상기 공정 출력조건을 기준으로 공정 입력조건들이 상기 자체 공정기호(I)와 상기 온 공정기호(A)인 경우에, 상기 자체 공정기호(I)와 상기 온 공정기호(A)를 갖는 공정 입력조건들을 병합하는 것을 특징으로 한다.The performing of the matrix pretreatment includes the self process symbol (I) and the on process when the process input conditions are the self process symbol (I) and the on process symbol (A) based on the process output condition. It is characterized by merging process input conditions having the symbol (A).

상기 매트릭스 전처리를 수행하는 단계는, 공정 입력조건들이 상기 자체 공정기호(I), 상기 온 공정기호(A) 및 상기 오프 공정기호(B) 중 어느 하나로만 구성된 경우에, 상기 자체 공정기호(I), 상기 온 공정기호(A) 또는 상기 오프 공정기호(B)만을 갖는 공정 입력조건들을 삭제하는 것을 특징으로 한다.The step of performing the matrix pre-treatment may include, when the process input conditions consist of only one of the self process symbol (I), the on process symbol (A), and the off process symbol (B), the self process symbol (I ), the process input conditions having only the on process symbol (A) or the off process symbol (B) are deleted.

상기 매트릭스 전처리를 수행하는 단계는, 상기 공정 출력조건을 기준으로 상기 공정 입력조건이 존재하지 않는 경우에, 이에 해당하는 상기 공정 출력조건을 삭제하는 것을 특징으로 한다.The performing of the matrix preprocessing may include deleting the process output condition corresponding to the process input condition when the process input condition does not exist based on the process output condition.

상기 공정 플로우차트를 생성하는 단계는, 상기 공정 입력조건이 상기 오프 공정기호(B) 및 상기 자체 공정기호(I)를 모두 포함하는 경우에, 상기 오프 공정기호(B) 및 상기 자체 공정기호(I)를 상기 공정 입력조건으로 포함하는 공정 출력조건들을 그룹화하여 상기 공정 플로우차트를 생성하는 것을 특징으로 한다.In the step of generating the process flowchart, when the process input condition includes both the off process symbol (B) and the own process symbol (I), the off process symbol (B) and the own process symbol ( The process flow chart is generated by grouping process output conditions including I) as the process input condition.

상기 공정 플로우차트를 생성하는 단계는, 상기 공정 입력조건이 상기 오프 공정기호(B), 상기 자체 공정기호(I) 및 상기 온 공정기호(A)를 모두 포함하는 경우에, 상기 오프 공정기호(B), 상기 자체 공정기호(I) 및 상기 온 공정기호(A)의 순차적 실행이 이루어지도록 상기 공정 출력조건 각각의 공정 순서를 조정하고, 상기 공정 입력조건이 상기 오프 공정기호(B) 및 상기 온 공정기호(A)를 포함하는 경우에, 상기 오프 공정기호(B) 및 상기 온 공정기호(A)의 순차적 실행이 이루어지도록 상기 공정 출력조건 각각의 공정 순서를 조정하고, 상기 공정 입력조건이 상기 자체 공정기호(I) 및 상기 온 공정기호(A)를 포함하는 경우에, 상기 자체 공정기호(I) 및 상기 온 공정기호(A)의 순차적 실행이 이루어지도록 상기 공정 출력조건 각각의 공정 순서를 조정하는 것을 특징으로 한다.In the step of generating the process flowchart, when the process input condition includes all of the off process symbol (B), the self process symbol (I), and the on process symbol (A), the off process symbol ( B), the process order of each of the process output conditions is adjusted so that the self process symbol (I) and the on process symbol (A) are sequentially executed, and the process input condition is the off process symbol (B) and the When the on process symbol (A) is included, the process order of each of the process output conditions is adjusted so that the off process symbol (B) and the on process symbol (A) are sequentially executed, and the process input condition is When the self process symbol (I) and the on process symbol (A) are included, the process sequence of each of the process output conditions so that the self process symbol (I) and the on process symbol (A) are sequentially executed. It is characterized in that to adjust.

상기 PLC 제어로직의 마스터 패턴을 생성하는 단계는, 상기 실시간 로그 데이터를 이용하여, 상기 동작 태그 리스트에 속하는 동작 태그 각각의 공정 듀레이션(duration) 정보를 추출하고, 상기 동작 태그 각각에 대한 듀레이션 정보들의 평균 및 표준편차를 산출하고, 상기 공정 플로우차트를 이용해, 상기 동작 태그 각각에 대한 공정 선후관계에 대응하는 링크를 설정하여, 상기 마스터 패턴을 생성하는 것을 특징으로 한다.The generating of the master pattern of the PLC control logic may include extracting process duration information of each motion tag belonging to the motion tag list using the real-time log data, and duration information for each motion tag. It is characterized in that the master pattern is generated by calculating an average and a standard deviation, and by setting a link corresponding to a process precedence relationship for each of the operation tags using the process flowchart.

상기의 과제를 해결하기 위한, PLC 제어로직의 마스터패턴 생성장치는, PLC 제어로직에 관한 공정 플로우차트를 생성하는 플로우차트 생성부; 수집된 실시간 로그 데이터를 이용해, 상기 생성된 공정 플로우차트의 이상 여부를 검증 및 보완하는 차트 검증부; 및 상기 검증 및 보완된 공정 플로우차트와 상기 실시간 로그 데이터를 이용하여, 상기 PLC 제어로직의 마스터 패턴을 생성하는 마스터패턴 생성부를 포함하는 것을 특징으로 한다.In order to solve the above problems, the master pattern generation apparatus of the PLC control logic includes: a flowchart generator for generating a process flowchart related to the PLC control logic; A chart verification unit for verifying and supplementing whether or not the generated process flowchart is abnormal using the collected real-time log data; And a master pattern generation unit generating a master pattern of the PLC control logic using the verified and supplemented process flowchart and the real-time log data.

상기 플로우차트 생성부는, 사용자로부터 동작 태그 리스트 및 상기 동작 태그 리스트 중 최우선 동작 태그를 입력받는 사용자 인터페이스 모듈; 상기 최우선 동작 태그에 대해 우선적으로 공정 출력조건 및 공정 입력조건을 추출한 후에, 순차적으로 다른 동작 태그들에 대한 공정 출력조건 및 공정 입력조건을 추출함으로써, 상기 공정 출력조건을 행으로 하고 상기 공정 입력조건을 열로 하는 입출력 매트릭스를 생성하는 매트릭스 생성모듈; 상기 생성된 입출력 매트릭스에 대한 매트릭스 전처리를 수행하는 전처리 모듈; 매트릭스 전처리가 수행된 상기 입출력 매트릭스에서 동작 태그 리스트에 대한 실행 순서를 나타내는 상기 공정 플로우차트를 생성하는 차트 생성모듈을 포함하는 것을 특징으로 한다.The flowchart generator includes: a user interface module for receiving a motion tag list and a highest priority motion tag from the motion tag list from a user; After extracting the process output condition and the process input condition for the highest priority operation tag, the process output condition and the process input condition for other operation tags are sequentially extracted, thereby making the process output condition a row and the process input condition A matrix generation module for generating an input/output matrix having as columns; A pre-processing module that performs matrix pre-processing on the generated input/output matrix; And a chart generation module for generating the process flowchart indicating an execution order of an operation tag list in the input/output matrix on which matrix preprocessing has been performed.

상기 매트릭스 생성모듈은, 상기 동작 태그 리스트에 포함된 각각의 동작 태그가 출력으로 사용되는 공정을 추출하고, 추출된 공정에 포함된 수동 경로를 제거한 후에 상기 공정 출력조건 및 상기 공정 입력조건을 추출하는 것을 특징으로 한다.The matrix generation module extracts a process in which each motion tag included in the motion tag list is used as an output, and extracts the process output condition and the process input condition after removing a manual path included in the extracted process. It features.

상기 매트릭스 생성모듈은, 상기 공정 출력조건에 대응하는 공정 태그 자체를 상기 공정 입력조건으로 하는 경우에 자체 공정기호(I)로 인덱싱하고, 상기 공정 입력조건이 온 상태인 경우에 온 공정기호(A)로 인덱싱하고, 상기 공정 입력조건이 오프 상태인 경우에 오프 공정기호(B)로 인덱싱하는 것을 특징으로 한다.The matrix generation module indexes the process tag corresponding to the process output condition with its own process symbol (I) when the process input condition is used as the process input condition, and the on process symbol (A) when the process input condition is on. ), and indexing with an off process symbol (B) when the process input condition is off.

상기 전처리 모듈은, 상기 공정 출력조건을 기준으로 상기 공정 입력조건이 상기 자체 공정기호(I)와 상기 온 공정기호(A)인 경우에, 상기 자체 공정기호(I)와 상기 온 공정기호(A)가 병합되도록 상기 매트릭스 전처리를 수행하는 것을 특징으로 한다.The pre-processing module, when the process input condition is the self process symbol (I) and the on process symbol (A) based on the process output condition, the self process symbol (I) and the on process symbol (A) It characterized in that the matrix pre-processing is performed so that) is merged.

상기 전처리 모듈은, 상기 공정 입력조건이 상기 자체 공정기호(I), 상기 온 공정기호(A) 및 상기 오프 공정기호(B) 중 어느 하나로만 구성된 경우에, 이에 해당하는 상기 공정 입력조건을 삭제하도록 상기 매트릭스 전처리를 수행하는 것을 특징으로 한다.The pre-processing module deletes the corresponding process input condition when the process input condition is composed of only one of the self process symbol (I), the on process symbol (A), and the off process symbol (B). It is characterized in that the matrix pre-processing is performed.

상기 전처리 모듈은, 상기 공정 출력조건을 기준으로 상기 공정 입력조건이 존재하지 않는 경우에, 이에 해당하는 상기 공정 출력조건을 삭제하도록 상기 매트릭스 전처리를 수행하는 것을 특징으로 한다.The pre-processing module is characterized in that, when the process input condition does not exist based on the process output condition, the matrix pre-processing is performed to delete the process output condition corresponding thereto.

상기 차트 생성모듈은, 상기 공정 입력조건이 상기 오프 공정기호(B) 및 상기 자체 공정기호(I)를 모두 포함하는 경우에, 상기 오프 공정기호(B) 및 상기 자체 공정기호(I)를 상기 공정 입력조건으로 포함하는 공정 출력조건들을 그룹화하여 상기 공정 플로우차트를 생성하는 것을 특징으로 한다.The chart generation module, when the process input condition includes both the off process symbol (B) and the own process symbol (I), the off process symbol (B) and the own process symbol (I) The process flow chart is generated by grouping process output conditions included as process input conditions.

상기 차트 생성모듈은, 상기 공정 입력조건이 상기 오프 공정기호(B), 상기 자체 공정기호(I) 및 상기 온 공정기호(A)를 모두 포함하는 경우에, 상기 오프 공정기호(B), 상기 자체 공정기호(I) 및 상기 온 공정기호(A)의 순차적 실행이 이루어지도록 상기 공정 출력조건 각각의 공정 순서를 조정하고, 상기 공정 입력조건이 상기 오프 공정기호(B) 및 상기 온 공정기호(A)를 포함하는 경우에, 상기 오프 공정기호(B) 및 상기 온 공정기호(A)의 순차적 실행이 이루어지도록 상기 공정 출력조건 각각의 공정 순서를 조정하고, 상기 공정 입력조건이 상기 자체 공정기호(I) 및 상기 온 공정기호(A)를 포함하는 경우에, 상기 자체 공정기호(I) 및 상기 온 공정기호(A)의 순차적 실행이 이루어지도록 상기 공정 출력조건 각각의 공정 순서를 조정하는 것을 특징으로 한다.The chart generation module, when the process input condition includes all of the off process symbol (B), the self process symbol (I), and the on process symbol (A), the off process symbol (B), the The process order of each of the process output conditions is adjusted so that the self process symbol (I) and the on process symbol (A) are sequentially executed, and the process input condition is the off process symbol (B) and the on process symbol ( In case A) is included, the process order of each of the process output conditions is adjusted so that the off process symbol (B) and the on process symbol (A) are sequentially executed, and the process input condition is the own process symbol In the case of including (I) and the on process symbol (A), adjusting the process order of each of the process output conditions so that the self process symbol (I) and the on process symbol (A) are sequentially executed. It is characterized.

상기 마스터패턴 생성부는, 상기 실시간 로그 데이터를 이용하여, 상기 동작 태그 리스트에 속하는 동작 태그 각각의 공정 듀레이션(duration) 정보를 추출하고, 상기 동작 태그 각각에 대한 듀레이션 정보들의 평균 및 표준편차를 산출하고, 상기 공정 플로우차트를 이용해, 상기 동작 태그 각각에 대한 공정 선후관계에 대응하는 링크를 설정하여, 상기 마스터 패턴을 생성하는 것을 특징으로 한다.The master pattern generation unit extracts process duration information of each motion tag belonging to the motion tag list using the real-time log data, calculates an average and standard deviation of duration information for each motion tag, and , Using the process flowchart, a link corresponding to a process precedence relationship for each of the operation tags is set, and the master pattern is generated.

본 발명의 실시예에 따르면, PLC 제어 프로그램을 구성하는 접점들 간에 입출력 관계를 갖는 공정 플로우차트 및 자동화 공정의 정상 운영에 따라 발생한 로그(log data) 데이터를 이용하여 마스터패턴을 생성할 수 있도록 함으로써, 전문가의 개입 없이도 자동화 공정의 작업별 정상운영 상태를 용이하게 파악할 수 있으며, 자동화 라인의 상태가 변경된 상태에서도 자동화 라인의 운영이 원활하게 이루어질 수 있도록 한다.According to an embodiment of the present invention, a master pattern can be generated using a process flowchart having input/output relationships between contacts constituting a PLC control program and log data generated according to normal operation of an automated process. , It is possible to easily grasp the normal operation status of each task of the automation process without the intervention of an expert, and the operation of the automation line can be smoothly performed even when the status of the automation line is changed.

도 1은 본 발명의 실시예에 따른 PLC 제어로직의 마스터패턴 생성장치를 설명하기 위한 구성 블록도이다.
도 2는 도 1에 도시된 플로우차트 생성부를 설명하기 위한 일 실시예의 구성 블록도이다.
도 3a는 사용자인터페이스 모듈을 통해 입력받는 동작 태그 리스트를 예시하는 참조도이다.
도 3b는 도 3a의 동작 태그 리스트 중에서 사용자에 의해 선택되는 최우선 동작 태그를 예시하는 참조도이다.
도 4a는 매트릭스 생성모듈에 의해 최우선 동작 태그가 출력조건으로 사용되는 PLC 공정을 예시하는 참조도이다.
도 4b는 매트릭스 생성모듈에 의해 수동 모드로 동작하는 경로가 제거된 상태를 예시하는 참조도이다.
도 4c는 매트릭스 생성모듈에 의해 추출된 공정 출력조건 및 공정 입력조건의 테이블 정보를 예시하는 참조도이다.
도 4d는 매트릭스 생성모듈에 의해 다른 동작 태그에 대한 공정 출력조건 및 공정 입력조건을 추출하는 것을 예시하는 참조도이다.
도 4e는 매트릭스 생성모듈에 의해 모든 동작 태그들에 대한 공정출력조건 및 공정입력조건의 추출결과에 대응하는 입출력 매트릭스를 예시하는 참조도이다.
도 5a는 전처리 모듈에 의해 입출력 매트릭스가 전처리된 상태를 예시하는 일 예의 참조도이다.
도 5b는 전처리 모듈에 의해 입출력 매트릭스가 전처리된 상태를 예시하는 다른 예의 참조도이다.
도 5c는 전처리 모듈에 의해 입출력 매트릭스가 전처리된 상태를 예시하는 또다른 예의 참조도이다.
도 6a는 차트 생성모듈에 의해 입출력 매트릭스 중 공정 출력조건들이 그룹화된 상태를 예시하는 일 예의 참조도이다.
도 6b 내지 도 6d는 차트 생성모듈에 의해 입출력 매트릭스의 공정 출력조건들이 조정되는 과정을 예시하는 일 예의 참조도이다.
도 6e는 차트 생성모듈에 의해 입출력 매트릭스의 공정 순서가 조정된 공정 플로우차트를 예시하는 참조도이다.
도 7은 PLC 제어 로직에 대응하는 실시간 로그 데이터를 예시하는 참조도이다.
도 8은 도 7에 도시된 실시간 로그 데이터를 이용해 공정 플로우차트에 대한 검증 과정을 예시하는 참조도이다.
도 9a 및 도 9b는 마스터패턴 생성부에 의해 동작 태그 각각에 대한 링크를 설정하는 과정을 예시하는 참조도이다.
도 10은 마스터 패턴을 통해 공정 상의 이상 여부를 파악하는 경우를 예시하는 참조도이다.
도 11은 본 발명의 실시예에 따른 PLC 제어로직의 마스터패턴 생성방법을 설명하기 위한 흐름도이다.
도 12는 도 11에 도시된 공정 플로우차트를 생성하는 단계를 설명하기 위한 일 실시예의 흐름도이다.
1 is a block diagram illustrating a master pattern generation apparatus of a PLC control logic according to an embodiment of the present invention.
FIG. 2 is a block diagram illustrating an embodiment of a flowchart generator illustrated in FIG. 1.
3A is a reference diagram illustrating a list of motion tags input through a user interface module.
3B is a reference diagram illustrating the highest priority motion tag selected by a user from the motion tag list of FIG. 3A.
4A is a reference diagram illustrating a PLC process in which a top priority operation tag is used as an output condition by a matrix generation module.
4B is a reference diagram illustrating a state in which a path operating in a passive mode is removed by a matrix generation module.
4C is a reference diagram illustrating table information of a process output condition and a process input condition extracted by the matrix generation module.
4D is a reference diagram illustrating extraction of a process output condition and a process input condition for another operation tag by a matrix generation module.
4E is a reference diagram illustrating an input/output matrix corresponding to an extraction result of a process output condition and a process input condition for all operation tags by a matrix generation module.
5A is a reference diagram of an example illustrating a state in which an input/output matrix is preprocessed by a preprocessing module.
5B is a reference diagram of another example illustrating a state in which the input/output matrix is preprocessed by the preprocessing module.
5C is a reference diagram of another example illustrating a state in which the input/output matrix is preprocessed by the preprocessing module.
6A is a reference diagram of an example illustrating a state in which process output conditions are grouped in an input/output matrix by a chart generation module.
6B to 6D are reference diagrams of an example illustrating a process of adjusting process output conditions of an input/output matrix by a chart generation module.
6E is a reference diagram illustrating a process flowchart in which a process order of an input/output matrix is adjusted by a chart generation module.
7 is a reference diagram illustrating real-time log data corresponding to the PLC control logic.
8 is a reference diagram illustrating a verification process for a process flow chart using real-time log data shown in FIG. 7.
9A and 9B are reference diagrams illustrating a process of setting a link for each operation tag by a master pattern generator.
10 is a reference diagram illustrating a case of determining whether there is an abnormality in a process through a master pattern.
11 is a flowchart illustrating a method of generating a master pattern of a PLC control logic according to an embodiment of the present invention.
12 is a flowchart of an embodiment for explaining the step of generating the process flowchart shown in FIG. 11.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명하기로 한다.  Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명의 실시예들은 당해 기술 분야에서 통상의 지식을 가진 자에게 본 발명을 더욱 완전하게 설명하기 위하여 제공되는 것이며, 아래의 실시예들은 여러 가지 다른 형태로 변형될 수 있으며, 본 발명의 범위가 아래의 실시예들로 한정되는 것은 아니다. 오히려, 이들 실시예는 본 개시를 더욱 충실하고 완전하게 하며 당업자에게 본 발명의 사상을 완전하게 전달하기 위하여 제공되는 것이다.  The embodiments of the present invention are provided to more completely describe the present invention to those of ordinary skill in the art, and the following embodiments may be modified in various other forms, and the scope of the present invention is It is not limited to the following examples. Rather, these embodiments are provided to make the present disclosure more faithful and complete, and to fully convey the spirit of the present invention to those skilled in the art.

본 명세서에서 사용된 용어는 특정 실시예를 설명하기 위하여 사용되며, 본 발명을 제한하기 위한 것이 아니다. 본 명세서에서 사용된 바와 같이 단수 형태는 문맥상 다른 경우를 분명히 지적하는 것이 아니라면, 복수의 형태를 포함할 수 있다. 또한, 본 명세서에서 사용되는 경우 "포함한다(comprise)" 및/또는"포함하는(comprising)"은 언급한 형상들, 숫자, 단계, 동작, 부재, 요소 및/또는 이들 그룹의 존재를 특정하는 것이며, 하나 이상의 다른 형상, 숫자, 동작, 부재, 요소 및/또는 그룹들의 존재 또는 부가를 배제하는 것이 아니다. 본 명세서에서 사용된 바와 같이, 용어 "및/또는"은 해당 열거된 항목 중 어느 하나 및 하나 이상의 모든 조합을 포함한다.  The terms used in this specification are used to describe specific embodiments, and are not intended to limit the present invention. As used herein, the singular form may include the plural form unless the context clearly indicates another case. Also, as used herein, "comprise" and/or "comprising" specify the presence of the mentioned shapes, numbers, steps, actions, members, elements and/or groups thereof. And does not exclude the presence or addition of one or more other shapes, numbers, actions, members, elements, and/or groups. As used herein, the term "and/or" includes any and all combinations of one or more of the corresponding listed items.

본 명세서에서 제1, 제2 등의 용어가 다양한 부재, 영역 및/또는 부위들을 설명하기 위하여 사용되지만, 이들 부재, 부품, 영역, 층들 및/또는 부위들은 이들 용어에 의해 한정되어서는 안됨은 자명하다. 이들 용어는 특정 순서나 상하, 또는 우열을 의미하지 않으며, 하나의 부재, 영역 또는 부위를 다른 부재, 영역 또는 부위와 구별하기 위하여만 사용된다. 따라서, 이하 상술할 제1 부재, 영역 또는 부위는 본 발명의 가르침으로부터 벗어나지 않고서도 제2 부재, 영역 또는 부위를 지칭할 수 있다.In the present specification, terms such as first and second are used to describe various members, regions, and/or parts, but it is obvious that these members, parts, regions, layers and/or parts should not be limited by these terms. Do. These terms do not imply any particular order, top or bottom, or superiority, and are only used to distinguish one member, region, or region from another member, region, or region. Accordingly, the first member, region, or region to be described below may refer to the second member, region, or region without departing from the teachings of the present invention.

이하, 본 발명의 실시예들은 본 발명의 실시예들을 개략적으로 도시하는 도면들을 참조하여 설명한다. 도면들에 있어서, 예를 들면, 제조 기술 및/또는 공차에 따라, 도시된 형상의 변형들이 예상될 수 있다. 따라서, 본 발명의 실시예는 본 명세서에 도시된 영역의 특정 형상에 제한된 것으로 해석되어서는 아니 되며, 예를 들면 제조상 초래되는 형상의 변화를 포함하여야 한다.Hereinafter, embodiments of the present invention will be described with reference to the drawings schematically showing embodiments of the present invention. In the drawings, for example, depending on manufacturing techniques and/or tolerances, variations of the illustrated shape can be expected. Accordingly, the embodiments of the present invention should not be construed as being limited to the specific shape of the region shown in the present specification, but should include, for example, a change in shape caused by manufacturing.

도 1은 본 발명의 실시예에 따른 PLC 제어로직의 마스터패턴 생성장치를 설명하기 위한 구성 블록도이다.1 is a block diagram illustrating a master pattern generation apparatus of a PLC control logic according to an embodiment of the present invention.

도 1을 참조하면, 마스터패턴 생성장치(100)는 플로우차트 생성부(110), 차트 검증부(120) 및 마스터패턴 생성부(130)를 포함한다.Referring to FIG. 1, the master pattern generation apparatus 100 includes a flowchart generation unit 110, a chart verification unit 120, and a master pattern generation unit 130.

플로우차트 생성부(110)는 PLC 제어로직에 관한 공정 플로우차트를 생성한다. 공정 플로우차트는 입출력 매트릭스에서 동작 태그 리스트에 대한 실행 순서를 나타내는 흐름도이다. The flowchart generation unit 110 generates a process flowchart related to the PLC control logic. The process flow chart is a flow chart showing the execution order of the action tag list in the input/output matrix.

도 2는 도 1에 도시된 플로우차트 생성부(110)를 설명하기 위한 일 실시예의 구성 블록도이다. FIG. 2 is a block diagram illustrating an embodiment of the flowchart generator 110 illustrated in FIG. 1.

도 2를 참조하면, 플로우차트 생성부(110)는 사용자인터페이스 모듈(112), 매트릭스 생성모듈(114), 전처리 모듈(116), 및 차트 생성모듈(118)을 포함한다.Referring to FIG. 2, the flowchart generation unit 110 includes a user interface module 112, a matrix generation module 114, a preprocessing module 116, and a chart generation module 118.

사용자인터페이스 모듈(112)은 사용자로부터 동작 태그 리스트 및 상기 동작 태그 리스트 중 최우선 동작 태그를 입력 받는다. 사용자인터페이스 모듈(112)은 PLC 제어로직의 동작 태그와 관련한 리스트와 이러한 동작 태그 리스트 중에서 가정 먼저 동작되어야 하는 최우선 동작 태그에 대한 정보를 사용자로부터 입력 받는다. 도 3a는 사용자인터페이스 모듈(112)을 통해 입력 받는 동작 태그 리스트를 예시하는 참조도이고, 도 3b는 도 3a의 동작 태그 리스트 중에서 사용자에 의해 선택되는 최우선 동작 태그를 예시하는 참조도이다.The user interface module 112 receives the motion tag list and the highest priority motion tag from the motion tag list from the user. The user interface module 112 receives a list related to the operation tag of the PLC control logic and information on the highest priority operation tag to be operated first from among the operation tag list from the user. 3A is a reference diagram illustrating a list of motion tags input through the user interface module 112, and FIG. 3B is a reference diagram illustrating a top priority motion tag selected by a user from the list of motion tags in FIG. 3A.

동작 태그 리스트 및 최우선 동작 태그를 입력 받기 위해, 사용자인터페이스 모듈(112)은 키보드, 마우스, 터치 스크린 등을 포함하며, 디스플레이 화면 상에 동작 태그 리스트 및 최우선 동작 태그를 입력 받기 위한 다이얼로그 창을 표시할 수 있다. In order to receive the motion tag list and the highest priority motion tag, the user interface module 112 includes a keyboard, a mouse, and a touch screen, and displays a dialog window for receiving the motion tag list and the highest priority motion tag on the display screen. I can.

매트릭스 생성모듈(114)은 상기 최우선 동작 태그에 대해 우선적으로 공정 출력조건 및 공정 입력조건을 추출한 후에, 순차적으로 다른 동작 태그들에 대한 공정 출력조건 및 공정 입력조건을 추출함으로써, 상기 공정 출력조건을 행으로 하고 상기 공정 입력조건을 열로 하는 입출력 매트릭스를 생성한다.The matrix generation module 114 preferentially extracts the process output condition and the process input condition for the highest priority operation tag, and then sequentially extracts the process output condition and the process input condition for the other operation tags, thereby determining the process output condition. An input/output matrix with rows and columns as the process input conditions is generated.

우선, 매트릭스 생성모듈(114)은 최우선 동작 태그에 대해 우선적으로 공정 출력조건 및 공정 입력조건을 추출한다. 이를 위해, 매트릭스 생성모듈(114)은 최우선 동작 태그가 출력으로 사용되는 공정을 추출한다. 그 후, 매트릭스 생성모듈(114)은 추출된 공정에 포함된 수동 경로를 제거한 후에 상기 공정 출력조건 및 상기 공정 입력조건을 추출할 수 있다.First, the matrix generation module 114 preferentially extracts a process output condition and a process input condition with respect to the highest priority operation tag. To this end, the matrix generation module 114 extracts a process in which the highest priority operation tag is used as an output. Thereafter, the matrix generation module 114 may extract the process output condition and the process input condition after removing the manual path included in the extracted process.

도 4a는 매트릭스 생성모듈(114)에 의해 최우선 동작 태그가 출력조건으로 사용되는 PLC 공정을 예시하는 참조도이다. 도 4a를 참조하면, 최우선 동작 태그인 "Y0461"가 출력 조건으로 사용되는 PLC 공정을 예시하고 있다. 매트릭스 생성모듈(114)은 도 4a에 도시된 바와 같이, PLC 제어로직에서 "Y0461"가 출력 조건으로 사용되는 PLC 공정을 추출할 수 있다. "Y0461"가 출력 조건으로 사용되는 PLC 공정은 4가지의 경로로 분기될 수 있다. 4A is a reference diagram illustrating a PLC process in which a top priority operation tag is used as an output condition by the matrix generation module 114. Referring to FIG. 4A, a PLC process in which the highest priority operation tag "Y0461" is used as an output condition is illustrated. The matrix generation module 114 may extract a PLC process in which "Y0461" is used as an output condition in the PLC control logic, as shown in FIG. 4A. The PLC process in which "Y0461" is used as the output condition can be branched into 4 paths.

매트릭스 생성모듈(114)은 이러한 4가지 경로 중에서 수동 모드로 동작하는 경로(#170 공정, 수동모드)를 제거한다. 도 4b는 매트릭스 생성모듈(114)에 의해 수동 모드로 동작하는 경로(#170 공정, 수동모드)가 제거된 상태를 예시하는 참조도이다. 도 4b를 참조하면, 수동 경로인 "#170 공정"이 제거된 PLC 공정을 예시하고 있다. The matrix generation module 114 removes a path operating in a passive mode (process #170, a passive mode) among these four paths. 4B is a reference diagram illustrating a state in which a path operating in a passive mode (process #170, a passive mode) is removed by the matrix generation module 114. Referring to FIG. 4B, a PLC process in which the manual path "#170 process" is removed is illustrated.

그 후, 매트릭스 생성모듈(114)은 수동 경로가 제거된 PLC 공정에서 공정 출력조건 및 공정 입력조건을 추출한다.After that, the matrix generation module 114 extracts the process output condition and the process input condition from the PLC process in which the manual path is removed.

도 4c는 매트릭스 생성모듈(114)에 의해 추출된 공정 출력조건 및 공정 입력조건의 테이블 정보를 예시하는 참조도이다. 4C is a reference diagram illustrating table information of a process output condition and a process input condition extracted by the matrix generation module 114.

도 4c를 참조하면, 매트릭스 생성모듈(114)은 수동 경로가 제거된 PLC 공정에서 최우선 동작 태그(현재의 분석 대상이 되는 동작 태그)인 "Y0461"를 공정 출력조건으로 추출할 수 있다. 또한, 매트릭스 생성모듈(114)은 수동 경로가 제거된 PLC 공정에서 다른 공정에서 출력조건으로 사용되는 동작 태그들인 "L0104", "Y0461", "Y0460", "L0651"을 공정 입력조건으로 추출할 수 있다. 매트릭스 생성모듈(114)은 다른 공정에서 출력조건으로 사용되지 않는 동작 태그인 "B504"에 대해서는 공정 입력조건으로 추출하지 않는다.Referring to FIG. 4C, the matrix generation module 114 may extract “Y0461” as a process output condition, which is the highest priority action tag (the current action tag to be analyzed) in the PLC process in which the manual path is removed. In addition, the matrix generation module 114 extracts the operation tags "L0104", "Y0461", "Y0460", and "L0651", which are used as output conditions in other processes in the PLC process from which the manual path is removed, as a process input condition. I can. The matrix generation module 114 does not extract the operation tag "B504" that is not used as an output condition in another process as a process input condition.

매트릭스 생성모듈(114)은 상기 공정 출력조건에 대응하는 공정 태그 자체를 상기 공정 입력조건으로 하는 경우에 자체 공정기호(I)로 인덱싱하고, 상기 공정 입력조건이 온 상태인 경우에 온 공정기호(A)로 인덱싱하고, 상기 공정 입력조건이 오프 상태인 경우에 오프 공정기호(B)로 인덱싱할 수 있다. 도 4c에 도시된 바와 같이, 공정 출력조건 및 공정 입력조건으로 사용되는 "Y0461"의 경우에 자체 공정기호(I)로 인덱싱되어 있으며, 공정 입력조건이 온 상태인 "L0104"의 경우에 온 공정기호(A)로 인덱싱되어 있고, 공정 입력조건이 오프 상태인 "Y0460" 및 "L0651"의 경우에 오프 공정기호(B)로 인덱싱되어 있다. The matrix generation module 114 indexes the process tag corresponding to the process output condition as the process input condition with its own process symbol (I), and when the process input condition is on, the on process symbol ( Indexing is performed by A), and when the process input condition is in the off state, indexing can be performed by the off process symbol (B). As shown in Fig. 4c, in the case of "Y0461" used as the process output condition and the process input condition, it is indexed with its own process symbol (I), and the ON process in the case of "L0104" in which the process input condition is on. Indexed by the symbol (A), and in the case of "Y0460" and "L0651" in which the process input condition is off, they are indexed by the off process symbol (B).

매트릭스 생성모듈(114)은 최우선 동작 태그에 대해 우선적으로 공정 출력조건 및 공정 입력조건을 추출한 후에, 순차적으로 다른 동작 태그들에 대한 공정 출력조건 및 공정 입력조건을 각각 추출한다. 도 4d는 매트릭스 생성모듈(114)에 의해 다른 동작 태그("L0651")에 대한 공정 출력조건 및 공정 입력조건을 추출하는 것을 예시하는 참조도이다. The matrix generation module 114 first extracts the process output condition and the process input condition for the highest priority operation tag, and then sequentially extracts the process output condition and the process input condition for other operation tags. 4D is a reference diagram illustrating extraction of a process output condition and a process input condition for another operation tag ("L0651") by the matrix generation module 114.

매트릭스 생성모듈(114)은 동작 태그 리스트에 포함된 모든 동작 태그들에 대한 공정 출력조건 및 공정 입력조건을 추출함으로써, 상기 공정 출력조건을 행으로 하고 상기 공정 입력조건을 열로 하는 입출력 매트릭스를 생성한다. 도 4e는 매트릭스 생성모듈(114)에 의해 모든 동작 태그들에 대한 공정 출력조건 및 공정 입력조건의 추출 결과에 대응하는 입출력 매트릭스를 예시하는 참조도이다. 도 4e를 참조하면, 공정 출력조건으로 동작 태그 리스트가 행으로 열거되어 있고, 공정 출력조건에 대응하는 공정 입력조건이 열로 열거된 입출력 매트릭스를 확인할 수 있다. The matrix generation module 114 generates an input/output matrix having the process output condition as a row and the process input condition as a column by extracting process output conditions and process input conditions for all motion tags included in the motion tag list. . 4E is a reference diagram illustrating an input/output matrix corresponding to an extraction result of a process output condition and a process input condition for all operation tags by the matrix generation module 114. Referring to FIG. 4E, an input/output matrix in which an operation tag list is listed as a process output condition in rows and a process input condition corresponding to the process output condition is listed in a column can be confirmed.

전처리 모듈(116)은 상기 생성된 입출력 매트릭스에 대한 매트릭스 전처리를 수행한다. 전처리 모듈(116)은 상기 공정 출력조건을 기준으로 공정 입력조건들이 각각 상기 자체 공정기호(I)와 상기 온 공정기호(A)인 경우에, 상기 자체 공정기호(I)와 상기 온 공정기호(A)를 갖는 공정 입력조건들을 병합하도록 하는 매트릭스 전처리를 수행한다.The preprocessing module 116 performs matrix preprocessing on the generated input/output matrix. The pre-processing module 116 is based on the process output condition, when the process input conditions are the self process symbol (I) and the on process symbol (A), respectively, the self process symbol (I) and the on process symbol ( Matrix preprocessing is performed to merge the process input conditions with A).

도 5a는 전처리 모듈(116)에 의해 입출력 매트릭스가 전처리된 상태를 예시하는 일 예의 참조도이다. 도 5a를 참조하면, 공정 출력조건에 해당하는 "L0270"에 대한 각각의 공정 입력조건인 "L0270" 및 "T0110"는 각각 자체 공정기호(I)와 온 공정기호(A)에 해당하므로, 전처리 모듈(116)에 의해 자체 공정기호(I)와 온 공정기호(A)를 갖는 "L0270" 및 "T0110"가 병합되어 하나의 공정 입력조건이 된다. 이때, 병합되는 공정 입력조건의 자체 공정기호(I)와 온 공정기호(A)는 자체 공정기호(I)로 일원화될 수 있다.5A is a reference diagram of an example illustrating a state in which an input/output matrix is preprocessed by the preprocessing module 116. Referring to FIG. 5A, since each process input condition "L0270" and "T0110" for "L0270" corresponding to the process output condition corresponds to its own process symbol (I) and the on process symbol (A), preprocessing By the module 116, "L0270" and "T0110" having their own process symbol (I) and on process symbol (A) are merged to become one process input condition. At this time, the own process symbol (I) and the on process symbol (A) of the process input condition to be merged may be unified into the own process symbol (I).

또한, 전처리 모듈(116)은 공정 입력조건들이 자체 공정기호(I), 온 공정기호(A) 및 오프 공정기호(B) 중 어느 하나로만 구성된 경우에, 자체 공정기호(I), 온 공정기호(A) 또는 오프 공정기호(B)만을 갖는 공정 입력조건을 삭제한다.In addition, the pre-processing module 116, when the process input conditions are composed of only one of its own process symbol (I), on process symbol (A), and off process symbol (B), its own process symbol (I), on process symbol Delete the process input condition with only (A) or off process symbol (B).

도 5b는 전처리 모듈(116)에 의해 입출력 매트릭스가 전처리된 상태를 예시하는 다른 예의 참조도이다. 도 5b를 참조하면, 공정 입력조건인 "L0104", "Y0460", "Y0471", "L0108", "Y0470", "Y0474" 및 "L0164"는 각각 자체 공정기호(I), 온 공정기호(A) 또는 오프 공정기호(B) 하나만을 포함하고 있으므로, 전처리 모듈(116)에 의해 공정 입력조건이 삭제된다.5B is a reference diagram of another example illustrating a state in which the input/output matrix is preprocessed by the preprocessing module 116. 5B, the process input conditions "L0104", "Y0460", "Y0471", "L0108", "Y0470", "Y0474" and "L0164" respectively represent their own process symbol (I) and the ON process symbol ( Since only one A) or off process symbol (B) is included, the process input condition is deleted by the preprocessing module 116.

또한, 전처리 모듈(116)은 상기 공정 출력조건을 기준으로 상기 공정 입력조건이 존재하지 않는 경우에, 이에 해당하는 상기 공정 출력조건을 삭제하도록 상기 매트릭스 전처리를 수행한다.In addition, when the process input condition does not exist based on the process output condition, the preprocessing module 116 performs the matrix preprocessing to delete the process output condition corresponding thereto.

도 5c는 전처리 모듈(116)에 의해 입출력 매트릭스가 전처리된 상태를 예시하는 또다른 예의 참조도이다. 도 5c를 참조하면, 공정 출력조건인 "Y0270"은 공정 입력조건이 존재하지 않으므로, 전처리 모듈(116)에 의해 공정 출력조건인 "Y0270"는 삭제된다.5C is a reference diagram of another example illustrating a state in which the input/output matrix is preprocessed by the preprocessing module 116. Referring to FIG. 5C, since the process output condition "Y0270" does not exist, the process output condition "Y0270" is deleted by the preprocessing module 116.

차트 생성모듈(118)은 매트릭스 전처리가 수행된 상기 입출력 매트릭스에서 동작 태그 리스트에 대한 실행 순서를 나타내는 상기 공정 플로우차트를 생성한다.The chart generation module 118 generates the process flowchart showing the execution order of the operation tag list in the input/output matrix on which the matrix preprocessing has been performed.

차트 생성모듈(118)은 공정 입력조건이 오프 공정기호(B) 및 자체 공정기호(I)를 모두 포함하는 경우에, 오프 공정기호(B) 및 자체 공정기호(I)를 공정 입력조건으로 포함하는 공정 출력조건들을 그룹화 한다. 이때, 차트 생성모듈(118)은 공정 입력조건의 오프 공정기호(B)의 다음에 인접하여 자체 공정기호(I)가 배치될 수 있도록 공정 출력조건들의 공정 순서를 정렬하여 그룹화 한다.When the process input condition includes both the off process symbol (B) and its own process symbol (I), the chart generation module 118 includes the off process symbol (B) and its own process symbol (I) as a process input condition. Group the output conditions of the process. At this time, the chart generation module 118 arranges and groups the process order of the process output conditions so that the process symbol I can be disposed adjacent to the off process symbol B of the process input condition.

한편, 차트 생성모듈(118)은 공정 입력조건이 오프 공정기호(B) 및 자체 공정기호(I)를 모두 포함하는 것이 아닌 경우에, 공정 출력조건들 각각에 대해 독립적으로 그룹화된 것으로 설정한다.Meanwhile, when the process input condition does not include both the off process symbol (B) and its own process symbol (I), the chart generation module 118 sets the process output conditions to be independently grouped.

도 6a는 차트 생성모듈(118)에 의해 입출력 매트릭스 중 공정 출력조건들이 그룹화된 상태를 예시하는 일 예의 참조도이다. 6A is a reference diagram illustrating an example of a state in which process output conditions are grouped in an input/output matrix by the chart generation module 118.

도 6a를 참조하면, 차트 생성모듈(118)은 오프 공정기호(B) 및 자체 공정기호(I)를 모두 포함하는 공정 입력조건 "L0651"에 대한 공정 출력조건들 "Y0461" 및 "L0651"를 그룹 1로 설정한다. 이때, 차트 생성모듈(118)은 오프 공정기호(B)의 다음에 자체 공정기호(I)가 배치될 수 있도록 공정 출력조건 "Y0461"의 아래에 공정 출력조건 "L0651"을 정렬하여 그룹화 한다.6A, the chart generation module 118 sets the process output conditions "Y0461" and "L0651" for the process input condition "L0651" including both the off process symbol (B) and the own process symbol (I). Set to group 1. At this time, the chart generation module 118 arranges and groups the process output condition "L0651" under the process output condition "Y0461" so that the own process symbol (I) can be placed after the off process symbol (B).

또한, 차트 생성모듈(118)은 오프 공정기호(B) 및 자체 공정기호(I)를 모두 포함하는 공정 입력조건 "L0270"에 대한 공정 출력조건들 "Y0470" 및 "L0270"를 그룹 2로 설정한다. 이때, 차트 생성모듈(118)은 오프 공정기호(B)의 다음에 자체 공정기호(I)가 배치될 수 있도록 공정 출력조건 "Y0470"의 아래에 공정 출력조건 "L0270"을 정렬하여 그룹화 한다.In addition, the chart generation module 118 sets the process output conditions "Y0470" and "L0270" for the process input condition "L0270" including both the off process symbol (B) and its own process symbol (I) as group 2 do. At this time, the chart generation module 118 arranges and groups the process output condition "L0270" under the process output condition "Y0470" so that the own process symbol (I) can be placed after the off process symbol (B).

또한, 도 6a에서, 차트 생성모듈(118)은 공정 입력조건이 오프 공정기호(B) 및 자체 공정기호(I)를 모두 포함하는 것이 아닌 경우에, 이에 대응하는 공정 출력조건들 "L0107", "Y0473" 및 "L0130"을 각각 그룹 3, 그룹 4 및 그룹 5로 설정할 수 있다. In addition, in FIG. 6A, when the process input condition does not include both the off process symbol (B) and its own process symbol (I), the process output conditions “L0107” corresponding thereto, "Y0473" and "L0130" can be set to group 3, group 4 and group 5, respectively.

차트 생성모듈(118)은 상기 공정 입력조건이 상기 오프 공정기호(B), 상기 자체 공정기호(I) 및 상기 온 공정기호(A)를 모두 포함하는 경우에, 상기 오프 공정기호(B), 상기 자체 공정기호(I) 및 상기 온 공정기호(A)의 순차적 실행이 이루어지도록 공정 출력조건들의 공정 순서를 조정한다. 또한, 차트 생성모듈(118)은 상기 공정 입력조건이 상기 오프 공정기호(B) 및 상기 온 공정기호(A)를 포함하는 경우에, 상기 오프 공정기호(B) 및 상기 온 공정기호(A)의 순차적 실행이 이루어지도록 상기 공정 출력조건 각각의 공정 순서를 조정한다. 또한, 차트 생성모듈(118)은 상기 공정 입력조건이 상기 자체 공정기호(I) 및 상기 온 공정기호(A)를 포함하는 경우에, 상기 자체 공정기호(I) 및 상기 온 공정기호(A)의 순차적 실행이 이루어지도록 상기 공정 출력조건 각각의 공정 순서를 조정한다.When the process input condition includes all of the off process symbol (B), the self process symbol (I), and the on process symbol (A), the off process symbol (B), The process order of the process output conditions is adjusted so that the self process symbol (I) and the on process symbol (A) are sequentially executed. In addition, when the process input condition includes the off process symbol (B) and the on process symbol (A), the chart generation module 118 is provided with the off process symbol (B) and the on process symbol (A). The process order of each of the process output conditions is adjusted so that the sequential execution of is performed. In addition, when the process input condition includes the self process symbol (I) and the on process symbol (A), the chart generation module 118 is the self process symbol (I) and the on process symbol (A). The process order of each of the process output conditions is adjusted so that the sequential execution of is performed.

이때, 차트 생성모듈(118)은 공정 출력조건들의 공정 순서를 조정할 때에, 그룹화된 공정 출력조건들을 그룹 별로 공정 순서를 조정할 수 있다.At this time, when adjusting the process order of the process output conditions, the chart generation module 118 may adjust the process order of the grouped process output conditions for each group.

도 6b 내지 도 6d는 차트 생성모듈(118)에 의해 입출력 매트릭스의 공정 출력조건들이 조정되는 과정을 예시하는 일 예의 참조도이고, 도 6e는 차트 생성모듈(118)에 의해 입출력 매트릭스의 공정 순서가 조정된 공정 플로우차트를 예시하는 참조도이다. 6B to 6D are reference diagrams of an example illustrating a process of adjusting process output conditions of the input/output matrix by the chart generation module 118, and FIG. 6E is a process sequence of the input/output matrix by the chart generation module 118 It is a reference diagram exemplifying the adjusted process flow chart.

도 6b를 참조하면, 공정 입력조건 "L0270"의 경우에, 오프 공정기호(B), 상기 자체 공정기호(I) 및 상기 온 공정기호(A)를 모두 포함하고 있으므로, 오프 공정기호(B), 자체 공정기호(I) 및 온 공정기호(A)의 순서로 순차적인 공정이 수행되기 위해서, 차트 생성모듈(118)은 그룹 2에 속하는 공정 출력조건 "Y0470"보다 선행되어야 하는 공정이 그룹 1에 속하는 "Y0461" 및 "L0651"이 되도록 조정하고, 공정 출력조건 "Y0470"보다 후행되어야 하는 공정이 그룹 2에 속하는 "L0270"과, 그룹 4에 속하는 "Y0473"과, 그룹 5에 속하는 "L0130"이 되도록 조정한다. Referring to FIG. 6B, in the case of the process input condition "L0270", the off process symbol (B), the self process symbol (I), and the on process symbol (A) are all included. , In order to sequentially perform the process in the order of the own process symbol (I) and the on process symbol (A), the chart generation module 118 has a process that must precede the process output condition "Y0470" belonging to group 2 in group 1 The processes to be "Y0461" and "L0651" belonging to, and to be followed by the process output condition "Y0470" are "L0270" belonging to group 2, "Y0473" belonging to group 4, and "L0130" belonging to group 5 Adjust to be ".

또한, 도 6c를 참조하면, 공정 입력조건 "L0107"의 경우에, 자체 공정기호(I) 및 온 공정기호(A)를 포함하고 있으므로, 자체 공정기호(I) 및 온 공정기호(A)의 순서로 순차적인 공정이 수행되기 위해서, 차트 생성모듈(118)은 그룹 3에 속하는 공정 출력조건 "L0107"보다 후행되어야 하는 공정이 그룹 4에 속하는 "Y0473"과, 그룹 5에 속하는 "L0130"이 되도록 조정한다. 또한, 공정 입력조건 "L0274"의 경우에, 오프 공정기호(B) 및 온 공정기호(A)를 포함하고 있으므로, 오프 공정기호(B) 및 온 공정기호(A)의 순서로 순차적인 공정이 수행되기 위해서, 차트 생성모듈(118)은 그룹 4에 속하는 공정 출력조건 "Y0473"보다 후행되어야 하는 공정이 그룹 5에 속하는 "L0130"이 되도록 조정한다. In addition, referring to Fig. 6c, in the case of the process input condition "L0107", since the process symbol (I) and the on process symbol (A) are included, the process symbol (I) and the on process symbol (A) are In order to perform sequential processes in order, the chart generation module 118 includes a process to be followed by a process output condition “L0107” belonging to group 3, “Y0473” belonging to group 4, and “L0130” belonging to group 5, Adjust as much as possible. In addition, in the case of the process input condition "L0274", since the off process symbol (B) and the on process symbol (A) are included, a sequential process is performed in the order of the off process symbol (B) and the on process symbol (A). In order to be performed, the chart generation module 118 adjusts so that the process to be followed by the process output condition "Y0473" belonging to the group 4 becomes "L0130" belonging to the group 5.

차트 생성모듈(118)은 각 그룹별 공정 순서의 선후 관계를 조정함으로써, 도 6d에 도시된 바와 같은 그룹별 공정 순서를 설정할 수 있으며, 이에 따라, 도 6e에 도시된 바와 같이 각각의 공정 출력조건들에 대한 공정 순서가 조정된 공정 플로우차트를 생성할 수 있다. The chart generation module 118 can set the process order for each group as shown in FIG. 6D by adjusting the relationship between the preceding and subsequent processes for each group, and accordingly, each process output condition as shown in FIG. 6E It is possible to create a process flowchart in which the order of the processes is adjusted.

차트 검증부(120)는 수집된 실시간 로그 데이터를 이용해, 상기 생성된 공정 플로우차트의 이상 여부를 검증 및 보완한다. The chart verification unit 120 verifies and supplements whether the generated process flowchart is abnormal using the collected real-time log data.

도 7은 PLC 제어 로직에 대응하는 실시간 로그 데이터를 예시하는 참조도이고, 도 8은 도 7에 도시된 실시간 로그 데이터를 이용해 공정 플로우차트에 대한 검증 과정을 예시하는 참조도이다.7 is a reference diagram illustrating real-time log data corresponding to the PLC control logic, and FIG. 8 is a reference diagram illustrating a verification process for a process flowchart using real-time log data shown in FIG. 7.

도 8을 참조하면, 차트 검증부(120)는 수집된 실시간 로그 데이터에서 시간 경과에 따른 순차적인 출력 조건을 확인할 수 있다. 즉, 차트 검증부(120)는 시간 경과에 따라 순차적인 출력 조건으로서 "Y0461", "L0561", "Y0470", "L0270", "Y0270", "L0107", "Y0473", "L0130"을 확인할 수 있다. 이에 따라, 차트 검증부(120)는 실시간 로그 데이터에 해당하는 출력 조건인 "Y0461", "L0561", "Y0470", "L0270", "Y0270", "L0107", "Y0473", "L0130"과 차트 생성모듈(118)에서 생성된 공정 플로우차트를 비교함으로써, 공정 플로우차트의 출력 조건에서 "Y0270"이 누락되었음을 검증할 수 있다. 이에 따라, 차트 검증부(120)는 누락된 출력 조건 "Y0270"에 대해 실시간 로그 데이터의 해당 공정 순서에 대응하도록 공정 플로우차트에 삽입하는 보완 작업을 수행한다. Referring to FIG. 8, the chart verification unit 120 may check sequential output conditions over time from the collected real-time log data. That is, the chart verification unit 120 sets "Y0461", "L0561", "Y0470", "L0270", "Y0270", "L0107", "Y0473", and "L0130" as sequential output conditions over time. I can confirm. Accordingly, the chart verification unit 120 is the output conditions "Y0461", "L0561", "Y0470", "L0270", "Y0270", "L0107", "Y0473", "L0130" corresponding to the real-time log data. By comparing the process flowchart generated by the chart generation module 118 with the process flowchart, it can be verified that "Y0270" is omitted from the output condition of the process flowchart. Accordingly, the chart verification unit 120 performs a supplementary operation of inserting the missing output condition "Y0270" into the process flowchart to correspond to the corresponding process order of real-time log data.

마스터패턴 생성부(130)는 상기 검증 및 보완된 공정 플로우차트와 상기 실시간 로그 데이터를 이용하여, 상기 PLC 제어로직의 마스터 패턴을 생성한다. 마스터 패턴은 다수의 접점들의 시간적인 시퀀스 정보 및 접점들 간의 시간간격정보를 포함한다. The master pattern generation unit 130 generates a master pattern of the PLC control logic using the verified and supplemented process flowchart and the real-time log data. The master pattern includes temporal sequence information of a plurality of contact points and time interval information between the contact points.

마스터패턴 생성부(130)는 실시간 로그 데이터로부터 동작 태그 리스트에 속하는 동작 태그 각각의 공정 듀레이션(duration) 정보를 추출한다. 마스터패턴 생성부(130)는 공정 듀레이션(duration) 정보로서 동작 태그에 대응하는 시작 시간(start time) 및 종료 시간(end time)를 추출할 수 있다. 그 후, 마스터패턴 생성부(130)는 동작 태그 각각에 대한 듀레이션 정보들에 대한 평균 및 표준편차를 산출한다.The master pattern generation unit 130 extracts process duration information of each motion tag belonging to the motion tag list from real-time log data. The master pattern generation unit 130 may extract a start time and an end time corresponding to an operation tag as process duration information. Thereafter, the master pattern generation unit 130 calculates an average and a standard deviation of duration information for each motion tag.

그 후, 마스터패턴 생성부(130)는 공정 플로우차트를 이용해, 동작 태그 각각에 대한 공정 선후관계에 대응하는 링크 설정을 통해 마스터 패턴을 생성한다.Thereafter, the master pattern generation unit 130 generates a master pattern by setting a link corresponding to a process precedence relationship for each operation tag using a process flowchart.

도 9a 및 도 9b는 마스터패턴 생성부(130)에 의해 동작 태그 각각에 대한 링크를 설정하는 과정을 예시하는 참조도이다. 도 9a 및 도 9b를 참조하면, 마스터패턴 생성부(130)는 공정 플로우차트 상의 동작 태그들 각각의 선후관계정보를 이용해 해당 동작 태그들에 대한 링크를 설정할 수 있다. 9A and 9B are reference diagrams illustrating a process of setting a link for each operation tag by the master pattern generation unit 130. Referring to FIGS. 9A and 9B, the master pattern generator 130 may set links to corresponding motion tags by using the precedence relationship information of each of the motion tags on a process flowchart.

마스터패턴 생성부(130)에 의해 생성된 마스터 패턴으로부터 동작 태그들에 대한 입력 조건 또는 출력조건들을 확인할 수 있으므로, 설비 동작의 연관 관계를 분석할 수 있다.Since it is possible to check input conditions or output conditions for operation tags from the master pattern generated by the master pattern generation unit 130, it is possible to analyze the relationship between equipment operation.

도 10은 마스터 패턴을 통해 공정 상의 이상 여부를 파악하는 경우를 예시하는 참조도이다. 10 is a reference diagram illustrating a case of determining whether there is an abnormality in a process through a master pattern.

도 10을 참조하면, 마스터 패턴을 통해 임의의 동작 태그(예, 로그잠김 SOL)에 대한 공정이 마스터패턴 생성부(130)에서 추출된 듀레이션 정보의 평균 및 표준편차로부터 3 시그마(sigma) 이상 벗어나는 경우에 이상이라고 판단할 수 있고, 이상이라고 판단된 동작 태그(예, 로그잠김 SOL)와 링크된 동작 태그(예, 리프터 상승단)를 이상 발생의 원인으로 추적할 수 있다. Referring to FIG. 10, a process for an arbitrary operation tag (eg, log-locked SOL) through a master pattern deviates by more than 3 sigma from the average and standard deviation of duration information extracted from the master pattern generator 130. In some cases, it can be determined as an abnormality, and an operation tag (eg, a lifter rising end) linked with an operation tag (eg, log locked SOL) determined as an abnormality can be tracked as the cause of the error.

도 11은 본 발명의 실시예에 따른 PLC 제어로직의 마스터패턴 생성방법을 설명하기 위한 흐름도이다.11 is a flowchart illustrating a method of generating a master pattern of a PLC control logic according to an embodiment of the present invention.

플로우차트 생성부는 PLC 제어로직에 관한 공정 플로우차트를 생성한다(S1000 단계).The flowchart generator generates a process flowchart related to the PLC control logic (step S1000).

도 12는 도 11에 도시된 공정 플로우차트를 생성하는 단계(S1000)를 설명하기 위한 일 실시예의 흐름도이다.12 is a flowchart of an embodiment for explaining the step (S1000) of generating the process flowchart shown in FIG. 11.

플로우차트 생성부는 사용자로부터 동작 태그 리스트 및 상기 동작 태그 리스트 중 최우선 동작 태그를 입력받는다(S1010 단계).The flowchart generator receives the motion tag list and the highest priority motion tag from the motion tag list from the user (step S1010).

플로우차트 생성부는 사용자로부터 PLC 제어로직의 동작 태그와 관련한 리스트와 이러한 동작 태그 리스트 중에서 가정 먼저 동작되어야 하는 최우선 동작 태그에 대한 정보를 사용자로부터 입력받는다. The flowchart generator receives from the user the list related to the operation tag of the PLC control logic and the information on the highest priority operation tag that should be operated first among the operation tag list from the user.

S1010 단계 후에, 플로우차트 생성부는 상기 최우선 동작 태그에 대해 우선적으로 공정 출력조건 및 공정 입력조건을 추출한 후에, 순차적으로 다른 동작 태그들에 대한 공정 출력조건 및 공정 입력조건을 추출함으로써, 상기 공정 출력조건을 행으로 하고 상기 공정 입력조건을 열로 하는 입출력 매트릭스를 생성한다(S1012 단계).After step S1010, the flowchart generation unit preferentially extracts the process output condition and the process input condition with respect to the highest priority operation tag, and then sequentially extracts the process output condition and the process input condition with respect to the other operation tags, so that the process output condition An input/output matrix using as a row and a column as the process input condition is generated (step S1012).

플로우차트 생성부는 상기 동작 태그 리스트에 포함된 각각의 동작 태그가 출력으로 사용되는 공정을 추출하고, 추출된 공정에 포함된 수동 경로를 제거한 후에 상기 공정 출력조건 및 상기 공정 입력조건을 추출한다.The flowchart generator extracts a process in which each action tag included in the action tag list is used as an output, and extracts the process output condition and the process input condition after removing a manual path included in the extracted process.

플로우차트 생성부는 상기 공정 출력조건에 대응하는 공정 태그 자체를 상기 공정 입력조건으로 하는 경우에 자체 공정기호(I)로 인덱싱하고, 상기 공정 입력조건이 온 상태인 경우에 온 공정기호(A)로 인덱싱하고, 상기 공정 입력조건이 오프 상태인 경우에 오프 공정기호(B)로 인덱싱한다. The flowchart generator indexes the process tag corresponding to the process output condition with its own process symbol (I) when the process input condition is used, and with the on process symbol (A) when the process input condition is on. Indexing is performed, and when the process input condition is off, indexing is performed with an off process symbol (B).

플로우차트 생성부는 최우선 동작 태그에 대해 우선적으로 공정 출력조건 및 공정 입력조건을 추출한 후에, 순차적으로 다른 동작 태그들에 대한 공정 출력조건 및 공정 입력조건을 각각 추출한다. 플로우차트 생성부는 동작 태그 리스트에 포함된 모든 동작 태그들에 대한 공정 출력조건 및 공정 입력조건을 추출함으로써, 상기 공정 출력조건을 행으로 하고 상기 공정 입력조건을 열로 하는 입출력 매트릭스를 생성한다. The flowchart generator first extracts the process output condition and the process input condition with respect to the highest priority operation tag, and then sequentially extracts the process output condition and the process input condition for the other operation tags. The flowchart generator generates an input/output matrix having the process output condition as a row and the process input condition as a column by extracting process output conditions and process input conditions for all motion tags included in the motion tag list.

S1010 단계 후에, 플로우차트 생성부는 상기 생성된 입출력 매트릭스에 대한 매트릭스 전처리를 수행한다(S1014 단계).After step S1010, the flowchart generator performs matrix preprocessing on the generated input/output matrix (step S1014).

플로우차트 생성부는 상기 공정 출력조건을 기준으로 공정 입력조건들이 상기 자체 공정기호(I)와 상기 온 공정기호(A)인 경우에, 상기 자체 공정기호(I)와 상기 온 공정기호(A)를 갖는 공정 입력조건들을 병합한다. When the process input conditions are the self process symbol (I) and the on process symbol (A) based on the process output condition, the flowchart generation unit generates the self process symbol (I) and the on process symbol (A). Merging process input conditions with

또한, 플로우차트 생성부는 공정 입력조건들이 상기 자체 공정기호(I), 상기 온 공정기호(A) 및 상기 오프 공정기호(B) 중 어느 하나로만 구성된 경우에, 상기 자체 공정기호(I), 상기 온 공정기호(A) 또는 상기 오프 공정기호(B)만을 갖는 공정 입력조건들을 삭제한다. 또한, 플로우차트 생성부는 상기 공정 출력조건을 기준으로 상기 공정 입력조건이 존재하지 않는 경우에 이에 해당하는 상기 공정 출력조건을 삭제한다. In addition, when the process input conditions are composed of only one of the own process symbol (I), the on process symbol (A), and the off process symbol (B), the flow chart generation unit Process input conditions having only the on process symbol (A) or the off process symbol (B) are deleted. Also, when the process input condition does not exist based on the process output condition, the flowchart generator deletes the process output condition corresponding thereto.

S1010 단계 후에, 플로우차트 생성부는 매트릭스 전처리가 수행된 상기 입출력 매트릭스에서 동작 태그 리스트에 대한 실행 순서를 나타내는 상기 공정 플로우차트를 생성한다(S1016 단계).After step S1010, the flowchart generation unit generates the process flowchart indicating the execution order of the operation tag list in the input/output matrix on which the matrix preprocessing has been performed (step S1016).

플로우차트 생성부는 공정 입력조건이 오프 공정기호(B) 및 자체 공정기호(I)를 모두 포함하는 경우에, 오프 공정기호(B) 및 자체 공정기호(I)를 공정 입력조건으로 포함하는 공정 출력조건들을 그룹화 한다. 이때, 플로우차트 생성부는 공정 입력조건의 오프 공정기호(B)의 다음에 인접하여 자체 공정기호(I)가 배치될 수 있도록 공정 출력조건들의 공정 순서를 정렬하여 그룹화 한다.When the process input condition includes both the off process symbol (B) and the own process symbol (I), the flowchart generation unit outputs the process including the off process symbol (B) and the own process symbol (I) as the process input condition. Group conditions. At this time, the flowchart generator arranges and groups the process order of the process output conditions so that the process symbol I is disposed adjacent to the off process symbol B of the process input condition.

한편, 플로우차트 생성부는 공정 입력조건이 오프 공정기호(B) 및 자체 공정기호(I)를 모두 포함하는 것이 아닌 경우에, 공정 출력조건들 각각에 대해 독립적으로 그룹화된 것으로 설정한다.On the other hand, when the process input condition does not include both the off process symbol (B) and its own process symbol (I), the flowchart generator sets each of the process output conditions as independently grouped.

또한, 플로우차트 생성부는 상기 공정 입력조건이 상기 오프 공정기호(B), 상기 자체 공정기호(I) 및 상기 온 공정기호(A)를 모두 포함하는 경우에, 상기 오프 공정기호(B), 상기 자체 공정기호(I) 및 상기 온 공정기호(A)의 순차적 실행이 이루어지도록 공정 출력조건들의 공정 순서를 조정한다. In addition, when the process input condition includes all of the off process symbol (B), the self process symbol (I), and the on process symbol (A), the off process symbol (B) and the The process order of the process output conditions is adjusted so that the self process symbol (I) and the on process symbol (A) are sequentially executed.

또한, 플로우차트 생성부는 상기 공정 입력조건이 상기 오프 공정기호(B) 및 상기 온 공정기호(A)를 포함하는 경우에, 상기 오프 공정기호(B) 및 상기 온 공정기호(A)의 순차적 실행이 이루어지도록 상기 공정 출력조건 각각의 공정 순서를 조정한다. In addition, when the process input condition includes the off process symbol (B) and the on process symbol (A), the flowchart generation unit sequentially executes the off process symbol (B) and the on process symbol (A). The process order of each of the process output conditions is adjusted to achieve this.

또한, 플로우차트 생성부는 상기 공정 입력조건이 상기 자체 공정기호(I) 및 상기 온 공정기호(A)를 포함하는 경우에, 상기 자체 공정기호(I) 및 상기 온 공정기호(A)의 순차적 실행이 이루어지도록 상기 공정 출력조건 각각의 공정 순서를 조정한다. 이때, 플로우차트 생성부는 공정 출력조건들의 공정 순서를 조정할 때에, 그룹화된 공정 출력조건들을 그룹 별로 공정 순서를 조정할 수 있다.In addition, when the process input condition includes the self process symbol (I) and the on process symbol (A), the flowchart generation unit sequentially executes the self process symbol (I) and the on process symbol (A). The process order of each of the process output conditions is adjusted to achieve this. In this case, when adjusting the process order of the process output conditions, the flowchart generator may adjust the process order of the grouped process output conditions for each group.

한편, S1000 단계 후에, 차트 검증부는 수집된 실시간 로그 데이터를 이용해, 상기 생성된 공정 플로우차트의 이상 여부를 검증 및 보완한다(S1002 단계).Meanwhile, after step S1000, the chart verification unit verifies and supplements whether or not the generated process flowchart is abnormal using the collected real-time log data (step S1002).

차트 검증부는 수집된 실시간 로그 데이터에서 시간 경과에 따른 순차적인 출력 조건을 확인할 수 있다. 이에 따라, 차트 검증부는 실시간 로그 데이터에 해당하는 출력 조건과 공정 플로우차트를 비교함으로써, 공정 플로우차트의 출력 조건에서 누락된 동작 태그를 보완할 수 있다. The chart verification unit may check the sequential output conditions over time from the collected real-time log data. Accordingly, the chart verification unit may compensate for the missing operation tag in the output condition of the process flowchart by comparing the output condition corresponding to the real-time log data with the process flowchart.

S1002 단계 후에, 마스터패턴 생성부는 상기 검증 및 보완된 공정 플로우차트와 상기 실시간 로그 데이터를 이용하여, 상기 PLC 제어로직의 마스터 패턴을 생성한다(S1004 단계).After step S1002, the master pattern generation unit generates a master pattern of the PLC control logic using the verified and supplemented process flowchart and the real-time log data (step S1004).

마스터패턴 생성부는 실시간 로그 데이터로부터 동작 태그 리스트에 속하는 동작 태그 각각의 공정 듀레이션(duration) 정보를 추출한다. 마스터패턴 생성부는 공정 듀레이션(duration) 정보로서 동작 태그에 대응하는 시작 시간(start time) 및 종료 시간(end time)를 추출할 수 있다. 그 후, 마스터패턴 생성부는 동작 태그 각각에 대한 듀레이션 정보들에 대한 평균 및 표준편차를 산출한다.The master pattern generator extracts process duration information of each motion tag belonging to the motion tag list from real-time log data. The master pattern generator may extract a start time and an end time corresponding to an operation tag as process duration information. Thereafter, the master pattern generator calculates an average and a standard deviation of duration information for each motion tag.

그 후, 마스터패턴 생성부는 공정 플로우차트를 이용해, 동작 태그 각각에 대한 공정 선후관계에 대응하는 링크 설정을 통해 마스터 패턴을 생성한다. 마스터패턴 생성부는 공정 플로우차트 상의 동작 태그들 각각의 선후관계정보를 이용해 해당 동작 태그들에 대한 링크를 설정할 수 있다. 마스터패턴 생성부에 의해 생성된 마스터 패턴으로부터 동작 태그들에 대한 입력 조건 또는 출력조건들을 확인할 수 있으므로, 설비 동작의 연관 관계를 분석할 수 있다.Thereafter, the master pattern generation unit generates a master pattern by setting a link corresponding to a process precedence relationship for each operation tag using a process flowchart. The master pattern generator may set a link to the corresponding motion tags by using the precedence relationship information of each of the motion tags on the process flowchart. Since the input conditions or output conditions for operation tags can be checked from the master pattern generated by the master pattern generation unit, the relationship between the operation of the facility can be analyzed.

마스터 패턴을 통해 임의의 동작 태그에 대한 공정이 마스터패턴 생성부에서 추출된 듀레이션 정보의 평균 및 표준편차로부터 일정 크기의 시그마(sigma) 이상 벗어나는 경우에 이상이라고 판단할 수 있고, 이상이라고 판단된 동작 태그와 링크된 동작 태그를 이상 발생의 원인으로 추적할 수 있다. If the process for an arbitrary motion tag through the master pattern deviates from the average and standard deviation of the duration information extracted from the master pattern generation unit by more than a certain sigma, it can be determined as an abnormality, and the operation determined as an abnormality The action tag linked with the tag can be tracked as the cause of the error.

이제까지 본 발명에 대하여 실시예들을 중심으로 살펴보았다. 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 따라서 본 발명의 범위는 전술한 실시예에 한정되지 않고 특허청구범위에 기재된 내용 및 그와 동등한 범위 내에 있는 다양한 실시 형태가 포함되도록 해석되어야 할 것이다. So far, the present invention has been looked at around the examples. Those of ordinary skill in the art to which the present invention pertains will appreciate that it may be implemented in a modified form without departing from the essential characteristics of the present invention. Therefore, the disclosed embodiments should be considered from an illustrative point of view rather than a limiting point of view. Therefore, the scope of the present invention is not limited to the above-described embodiments, and should be interpreted to include the contents described in the claims and various embodiments within the scope equivalent thereto.

100: 마스터패턴 생성장치
110: 플로우차트 생성부
112: 사용자인터페이스 모듈
114: 매트릭스 생성모듈
116: 전처리 모듈
118: 차트 생성모듈
120: 차트 검증부
130: 마스터패턴 생성부
100: master pattern generation device
110: flowchart generation unit
112: user interface module
114: matrix generation module
116: pretreatment module
118: chart generation module
120: chart verification unit
130: master pattern generation unit

Claims (20)

PLC 제어로직에 관한 공정 플로우차트를 생성하는 단계;
수집된 실시간 로그 데이터를 이용해, 상기 생성된 공정 플로우차트의 이상 여부를 검증 및 보완하는 단계; 및
상기 검증 및 보완된 공정 플로우차트와 상기 실시간 로그 데이터를 이용하여, 상기 PLC 제어로직의 마스터 패턴을 생성하는 단계를 포함하는 것을 특징으로 하는 PLC 제어로직의 마스터 패턴 생성방법.
Generating a process flowchart related to the PLC control logic;
Using the collected real-time log data, verifying and supplementing whether or not the generated process flowchart is abnormal; And
And generating a master pattern of the PLC control logic using the verified and supplemented process flowchart and the real-time log data.
청구항 1에 있어서,
상기 공정 플로우차트를 생성하는 단계는,
사용자로부터 동작 태그 리스트 및 상기 동작 태그 리스트 중 최우선 동작 태그를 입력받는 단계;
상기 최우선 동작 태그에 대해 우선적으로 공정 출력조건 및 공정 입력조건을 추출한 후에, 순차적으로 다른 동작 태그들에 대한 공정 출력조건 및 공정 입력조건을 추출함으로써, 상기 공정 출력조건을 행으로 하고 상기 공정 입력조건을 열로 하는 입출력 매트릭스를 생성하는 단계;
상기 생성된 입출력 매트릭스에 대한 매트릭스 전처리를 수행하는 단계;
매트릭스 전처리가 수행된 상기 입출력 매트릭스에서 동작 태그 리스트에 대한 실행 순서를 나타내는 상기 공정 플로우차트를 생성하는 단계를 포함하는 것을 특징으로 하는 PLC 제어로직의 마스터 패턴 생성방법.
The method according to claim 1,
The step of generating the process flowchart,
Receiving a motion tag list and a top priority motion tag from the motion tag list from a user;
After extracting the process output condition and the process input condition for the highest priority operation tag, the process output condition and the process input condition for other operation tags are sequentially extracted, thereby making the process output condition a row and the process input condition Generating an input/output matrix having as columns;
Performing matrix pre-processing on the generated input/output matrix;
And generating the process flowchart showing an execution order of an operation tag list in the input/output matrix on which the matrix pre-processing has been performed.
청구항 2에 있어서,
상기 입출력 매트릭스를 생성하는 단계는,
상기 동작 태그 리스트에 포함된 각각의 동작 태그가 출력으로 사용되는 공정을 추출하고, 추출된 공정에 포함된 수동 경로를 제거한 후에 상기 공정 출력조건 및 상기 공정 입력조건을 추출하는 것을 특징으로 하는 PLC 제어로직의 마스터 패턴 생성방법.
The method according to claim 2,
The step of generating the input/output matrix,
PLC control, characterized in that the process output condition and the process input condition are extracted after extracting a process in which each action tag included in the action tag list is used as an output, and removing a manual path included in the extracted process How to create a master pattern of logic.
청구항 2에 있어서,
상기 입출력 매트릭스를 생성하는 단계는,
상기 공정 출력조건에 대응하는 공정 태그 자체를 상기 공정 입력조건으로 하는 경우에 자체 공정기호(I)로 인덱싱하고, 상기 공정 입력조건이 온 상태인 경우에 온 공정기호(A)로 인덱싱하고, 상기 공정 입력조건이 오프 상태인 경우에 오프 공정기호(B)로 인덱싱하는 것을 특징으로 하는 PLC 제어로직의 마스터 패턴 생성방법.
The method according to claim 2,
The step of generating the input/output matrix,
When a process tag corresponding to the process output condition is used as the process input condition, indexing is performed with its own process symbol (I), and when the process input condition is on, indexing is performed with the on process symbol (A), and the A method for generating a master pattern of PLC control logic, characterized in that indexing with an off process symbol (B) when the process input condition is in an off state.
청구항 4에 있어서,
상기 매트릭스 전처리를 수행하는 단계는,
상기 공정 출력조건을 기준으로 공정 입력조건들이 상기 자체 공정기호(I)와 상기 온 공정기호(A)인 경우에, 상기 자체 공정기호(I)와 상기 온 공정기호(A)를 갖는 공정 입력조건들을 병합하는 것을 특징으로 하는 PLC 제어로직의 마스터 패턴 생성방법.
The method of claim 4,
The step of performing the matrix pretreatment,
When the process input conditions based on the process output condition are the self process symbol (I) and the on process symbol (A), the process input condition having the self process symbol (I) and the on process symbol (A) A master pattern generation method of PLC control logic, characterized in that merging them.
청구항 4에 있어서,
상기 매트릭스 전처리를 수행하는 단계는,
공정 입력조건들이 상기 자체 공정기호(I), 상기 온 공정기호(A) 및 상기 오프 공정기호(B) 중 어느 하나로만 구성된 경우에, 상기 자체 공정기호(I), 상기 온 공정기호(A) 또는 상기 오프 공정기호(B)만을 갖는 공정 입력조건들을 삭제하는 것을 특징으로 하는 PLC 제어로직의 마스터 패턴 생성방법.
The method of claim 4,
The step of performing the matrix pretreatment,
When the process input conditions consist of only one of the own process symbol (I), the on process symbol (A), and the off process symbol (B), the self process symbol (I) and the on process symbol (A) Or deleting the process input conditions having only the off process symbol (B).
청구항 4에 있어서,
상기 매트릭스 전처리를 수행하는 단계는,
상기 공정 출력조건을 기준으로 상기 공정 입력조건이 존재하지 않는 경우에 이에 해당하는 상기 공정 출력조건을 삭제하는 것을 특징으로 하는 PLC 제어로직의 마스터 패턴 생성방법.
The method of claim 4,
The step of performing the matrix pretreatment,
When the process input condition does not exist based on the process output condition, the process output condition corresponding thereto is deleted.
청구항 4에 있어서,
상기 공정 플로우차트를 생성하는 단계는,
상기 공정 입력조건이 상기 오프 공정기호(B) 및 상기 자체 공정기호(I)를 모두 포함하는 경우에, 상기 오프 공정기호(B) 및 상기 자체 공정기호(I)를 상기 공정 입력조건으로 포함하는 공정 출력조건들을 그룹화하여 상기 공정 플로우차트를 생성하는 것을 특징으로 하는 PLC 제어로직의 마스터 패턴 생성방법.
The method of claim 4,
The step of generating the process flowchart,
When the process input condition includes both the off process symbol (B) and the self process symbol (I), including the off process symbol (B) and the self process symbol (I) as the process input condition A method for generating a master pattern of PLC control logic, characterized in that the process output conditions are grouped to generate the process flowchart.
청구항 8에 있어서,
상기 공정 플로우차트를 생성하는 단계는,
상기 공정 입력조건이 상기 오프 공정기호(B), 상기 자체 공정기호(I) 및 상기 온 공정기호(A)를 모두 포함하는 경우에, 상기 오프 공정기호(B), 상기 자체 공정기호(I) 및 상기 온 공정기호(A)의 순차적 실행이 이루어지도록 상기 공정 출력조건 각각의 공정 순서를 조정하고, 상기 공정 입력조건이 상기 오프 공정기호(B) 및 상기 온 공정기호(A)를 포함하는 경우에, 상기 오프 공정기호(B) 및 상기 온 공정기호(A)의 순차적 실행이 이루어지도록 상기 공정 출력조건 각각의 공정 순서를 조정하고, 상기 공정 입력조건이 상기 자체 공정기호(I) 및 상기 온 공정기호(A)를 포함하는 경우에, 상기 자체 공정기호(I) 및 상기 온 공정기호(A)의 순차적 실행이 이루어지도록 상기 공정 출력조건 각각의 공정 순서를 조정하는 것을 특징으로 하는 PLC 제어로직의 마스터 패턴 생성방법.
The method of claim 8,
The step of generating the process flowchart,
When the process input condition includes both the off process symbol (B), the self process symbol (I), and the on process symbol (A), the off process symbol (B) and the self process symbol (I) And when the process order of each of the process output conditions is adjusted so that the on process symbol (A) is sequentially executed, and the process input condition includes the off process symbol (B) and the on process symbol (A). In, the process order of each of the process output conditions is adjusted so that the off process symbol (B) and the on process symbol (A) are sequentially executed, and the process input condition is the own process symbol (I) and the on process symbol (I). PLC control logic, characterized in that when the process symbol (A) is included, the process order of each of the process output conditions is adjusted so that the self process symbol (I) and the on process symbol (A) are sequentially executed. How to create a master pattern
청구항 2에 있어서,
상기 PLC 제어로직의 마스터 패턴을 생성하는 단계는,
상기 실시간 로그 데이터를 이용하여, 상기 동작 태그 리스트에 속하는 동작 태그 각각의 공정 듀레이션(duration) 정보를 추출하고, 상기 동작 태그 각각에 대한 듀레이션 정보들의 평균 및 표준편차를 산출하고, 상기 공정 플로우차트를 이용해, 상기 동작 태그 각각에 대한 공정 선후관계에 대응하는 링크를 설정하여, 상기 마스터 패턴을 생성하는 것을 특징으로 하는 PLC 제어로직의 마스터 패턴 생성방법.
The method according to claim 2,
Generating the master pattern of the PLC control logic,
Using the real-time log data, extracting process duration information of each motion tag belonging to the motion tag list, calculating an average and standard deviation of duration information for each motion tag, and calculating the process flowchart Using, the master pattern generation method of the PLC control logic, characterized in that for generating the master pattern by setting a link corresponding to a process precedence relationship for each of the operation tags.
PLC 제어로직에 관한 공정 플로우차트를 생성하는 플로우차트 생성부;
수집된 실시간 로그 데이터를 이용해, 상기 생성된 공정 플로우차트의 이상 여부를 검증 및 보완하는 차트 검증부; 및
상기 검증 및 보완된 공정 플로우차트와 상기 실시간 로그 데이터를 이용하여, 상기 PLC 제어로직의 마스터 패턴을 생성하는 마스터패턴 생성부를 포함하는 것을 특징으로 하는 PLC 제어로직의 마스터 패턴 생성장치.
A flowchart generator for generating a process flowchart related to the PLC control logic;
A chart verification unit for verifying and supplementing whether or not the generated process flowchart is abnormal using the collected real-time log data; And
And a master pattern generation unit generating a master pattern of the PLC control logic using the verified and supplemented process flowchart and the real-time log data.
청구항 11에 있어서,
상기 플로우차트 생성부는,
사용자로부터 동작 태그 리스트 및 상기 동작 태그 리스트 중 최우선 동작 태그를 입력받는 사용자 인터페이스 모듈;
상기 최우선 동작 태그에 대해 우선적으로 공정 출력조건 및 공정 입력조건을 추출한 후에, 순차적으로 다른 동작 태그들에 대한 공정 출력조건 및 공정 입력조건을 추출함으로써, 상기 공정 출력조건을 행으로 하고 상기 공정 입력조건을 열로 하는 입출력 매트릭스를 생성하는 매트릭스 생성모듈;
상기 생성된 입출력 매트릭스에 대한 매트릭스 전처리를 수행하는 전처리 모듈;
매트릭스 전처리가 수행된 상기 입출력 매트릭스에서 동작 태그 리스트에 대한 실행 순서를 나타내는 상기 공정 플로우차트를 생성하는 차트 생성모듈을 포함하는 것을 특징으로 하는 PLC 제어로직의 마스터 패턴 생성장치.
The method of claim 11,
The flowchart generation unit,
A user interface module that receives a motion tag list and a top priority motion tag from the motion tag list from a user;
After extracting the process output condition and the process input condition for the highest priority operation tag, the process output condition and the process input condition for other operation tags are sequentially extracted, thereby making the process output condition a row and the process input condition A matrix generation module for generating an input/output matrix having as columns;
A pre-processing module that performs matrix pre-processing on the generated input/output matrix;
And a chart generation module for generating the process flowchart indicating an execution order of an operation tag list in the input/output matrix on which the matrix pre-processing has been performed.
청구항 12에 있어서,
상기 매트릭스 생성모듈은,
상기 동작 태그 리스트에 포함된 각각의 동작 태그가 출력으로 사용되는 공정을 추출하고, 추출된 공정에 포함된 수동 경로를 제거한 후에 상기 공정 출력조건 및 상기 공정 입력조건을 추출하는 것을 특징으로 하는 PLC 제어로직의 마스터 패턴 생성장치.
The method of claim 12,
The matrix generation module,
PLC control, characterized in that the process output condition and the process input condition are extracted after extracting a process in which each action tag included in the action tag list is used as an output, and removing a manual path included in the extracted process Logic's master pattern generator.
청구항 12에 있어서,
상기 매트릭스 생성모듈은,
상기 공정 출력조건에 대응하는 공정 태그 자체를 상기 공정 입력조건으로 하는 경우에 자체 공정기호(I)로 인덱싱하고, 상기 공정 입력조건이 온 상태인 경우에 온 공정기호(A)로 인덱싱하고, 상기 공정 입력조건이 오프 상태인 경우에 오프 공정기호(B)로 인덱싱하는 것을 특징으로 하는 PLC 제어로직의 마스터 패턴 생성장치.
The method of claim 12,
The matrix generation module,
When a process tag corresponding to the process output condition is used as the process input condition, indexing is performed with its own process symbol (I), and when the process input condition is on, indexing is performed with the on process symbol (A), and the A master pattern generating apparatus of PLC control logic, characterized in that indexing with an off process symbol (B) when a process input condition is in an off state.
청구항 14에 있어서,
상기 전처리 모듈은,
상기 공정 출력조건을 기준으로 상기 공정 입력조건이 상기 자체 공정기호(I)와 상기 온 공정기호(A)인 경우에, 상기 자체 공정기호(I)와 상기 온 공정기호(A)가 병합되도록 상기 매트릭스 전처리를 수행하는 것을 특징으로 하는 PLC 제어로직의 마스터 패턴 생성장치.
The method of claim 14,
The pretreatment module,
Based on the process output condition, when the process input condition is the self process symbol (I) and the on process symbol (A), the self process symbol (I) and the on process symbol (A) are merged. A master pattern generator of PLC control logic, characterized in that performing matrix pre-processing.
청구항 14에 있어서,
상기 전처리 모듈은,
상기 공정 입력조건이 상기 자체 공정기호(I), 상기 온 공정기호(A) 및 상기 오프 공정기호(B) 중 어느 하나로만 구성된 경우에, 이에 해당하는 상기 공정 입력조건을 삭제하도록 상기 매트릭스 전처리를 수행하는 것을 특징으로 하는 PLC 제어로직의 마스터 패턴 생성장치.
The method of claim 14,
The pretreatment module,
When the process input condition consists of only one of the own process symbol (I), the on process symbol (A), and the off process symbol (B), the matrix pre-processing is performed to delete the process input condition corresponding thereto. PLC control logic master pattern generation device, characterized in that to perform.
청구항 14에 있어서,
상기 전처리 모듈은,
상기 공정 출력조건을 기준으로 상기 공정 입력조건이 존재하지 않는 경우에 이에 해당하는 상기 공정 출력조건을 삭제하도록 상기 매트릭스 전처리를 수행하는것을 특징으로 하는 PLC 제어로직의 마스터 패턴 생성장치.
The method of claim 14,
The pretreatment module,
When the process input condition does not exist based on the process output condition, the matrix preprocessing is performed to delete the process output condition corresponding to the process input condition.
청구항 14에 있어서,
상기 차트 생성모듈은,
상기 공정 입력조건이 상기 오프 공정기호(B) 및 상기 자체 공정기호(I)를 모두 포함하는 경우에, 상기 오프 공정기호(B) 및 상기 자체 공정기호(I)를 상기 공정 입력조건으로 포함하는 공정 출력조건들을 그룹화하여 상기 공정 플로우차트를 생성하는 것을 특징으로 하는 PLC 제어로직의 마스터 패턴 생성장치.
The method of claim 14,
The chart generation module,
When the process input condition includes both the off process symbol (B) and the self process symbol (I), including the off process symbol (B) and the self process symbol (I) as the process input condition A master pattern generation apparatus for PLC control logic, characterized in that the process output conditions are grouped to generate the process flowchart.
청구항 14에 있어서,
상기 차트 생성모듈은,
상기 공정 입력조건이 상기 오프 공정기호(B), 상기 자체 공정기호(I) 및 상기 온 공정기호(A)를 모두 포함하는 경우에, 상기 오프 공정기호(B), 상기 자체 공정기호(I) 및 상기 온 공정기호(A)의 순차적 실행이 이루어지도록 상기 공정 출력조건 각각의 공정 순서를 조정하고, 상기 공정 입력조건이 상기 오프 공정기호(B) 및 상기 온 공정기호(A)를 포함하는 경우에, 상기 오프 공정기호(B) 및 상기 온 공정기호(A)의 순차적 실행이 이루어지도록 상기 공정 출력조건 각각의 공정 순서를 조정하고, 상기 공정 입력조건이 상기 자체 공정기호(I) 및 상기 온 공정기호(A)를 포함하는 경우에, 상기 자체 공정기호(I) 및 상기 온 공정기호(A)의 순차적 실행이 이루어지도록 상기 공정 출력조건 각각의 공정 순서를 조정하는 것을 특징으로 하는 PLC 제어로직의 마스터 패턴 생성장치.
The method of claim 14,
The chart generation module,
When the process input condition includes both the off process symbol (B), the self process symbol (I), and the on process symbol (A), the off process symbol (B) and the self process symbol (I) And when the process order of each of the process output conditions is adjusted so that the on process symbol (A) is sequentially executed, and the process input condition includes the off process symbol (B) and the on process symbol (A). In, the process order of each of the process output conditions is adjusted so that the off process symbol (B) and the on process symbol (A) are sequentially executed, and the process input condition is the own process symbol (I) and the on process symbol (I). PLC control logic, characterized in that when the process symbol (A) is included, the process order of each of the process output conditions is adjusted so that the self process symbol (I) and the on process symbol (A) are sequentially executed. Master pattern generator.
청구항 12에 있어서,
상기 마스터패턴 생성부는,
상기 실시간 로그 데이터를 이용하여, 상기 동작 태그 리스트에 속하는 동작 태그 각각의 공정 듀레이션(duration) 정보를 추출하고, 상기 동작 태그 각각에 대한 듀레이션 정보들의 평균 및 표준편차를 산출하고, 상기 공정 플로우차트를 이용해, 상기 동작 태그 각각에 대한 공정 선후관계에 대응하는 링크를 설정하여, 상기 마스터 패턴을 생성하는 것을 특징으로 하는 PLC 제어로직의 마스터 패턴 생성장치.
The method of claim 12,
The master pattern generation unit,
Using the real-time log data, extracting process duration information of each motion tag belonging to the motion tag list, calculating an average and standard deviation of duration information for each motion tag, and calculating the process flowchart Using, the master pattern generating apparatus of the PLC control logic, characterized in that for generating the master pattern by setting a link corresponding to the relationship between the process preceding and following for each of the operation tags.
KR1020200093874A 2020-07-28 2020-07-28 Apparatus and method generating master pattern of PLC control logic KR102220139B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200093874A KR102220139B1 (en) 2020-07-28 2020-07-28 Apparatus and method generating master pattern of PLC control logic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200093874A KR102220139B1 (en) 2020-07-28 2020-07-28 Apparatus and method generating master pattern of PLC control logic

Publications (1)

Publication Number Publication Date
KR102220139B1 true KR102220139B1 (en) 2021-02-26

Family

ID=74687939

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200093874A KR102220139B1 (en) 2020-07-28 2020-07-28 Apparatus and method generating master pattern of PLC control logic

Country Status (1)

Country Link
KR (1) KR102220139B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220140291A (en) * 2021-04-09 2022-10-18 주식회사 유디엠텍 Master pattern generation method based on control program analysis and training method for cycle analysis model
KR20230015648A (en) * 2021-07-23 2023-01-31 주식회사 유디엠텍 Anomaly detecting method in the sequence of the control segment of automation facility using graph autoencoder

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06250731A (en) * 1993-02-26 1994-09-09 Toyota Motor Corp Monitor device and monitoring method of programmable controller
KR100414437B1 (en) 2001-04-06 2004-01-07 전영민 Factory automation control method
KR101566355B1 (en) * 2014-07-28 2015-11-06 주식회사 유디엠텍 Master pattern generation method and apparatus for checking normal operation of plc based manufacturing system
KR101780627B1 (en) * 2017-05-17 2017-09-21 이민우 System and method of process management capable of controlling facilities linked with work conditions change management

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06250731A (en) * 1993-02-26 1994-09-09 Toyota Motor Corp Monitor device and monitoring method of programmable controller
KR100414437B1 (en) 2001-04-06 2004-01-07 전영민 Factory automation control method
KR101566355B1 (en) * 2014-07-28 2015-11-06 주식회사 유디엠텍 Master pattern generation method and apparatus for checking normal operation of plc based manufacturing system
KR101780627B1 (en) * 2017-05-17 2017-09-21 이민우 System and method of process management capable of controlling facilities linked with work conditions change management

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220140291A (en) * 2021-04-09 2022-10-18 주식회사 유디엠텍 Master pattern generation method based on control program analysis and training method for cycle analysis model
KR102494921B1 (en) * 2021-04-09 2023-02-06 주식회사 유디엠텍 Master pattern generation method based on control program analysis and training method for cycle analysis model
KR20230015648A (en) * 2021-07-23 2023-01-31 주식회사 유디엠텍 Anomaly detecting method in the sequence of the control segment of automation facility using graph autoencoder
KR102535019B1 (en) 2021-07-23 2023-05-26 주식회사 유디엠텍 Anomaly detecting method in the sequence of the control segment of automation facility using graph autoencoder

Similar Documents

Publication Publication Date Title
KR102220139B1 (en) Apparatus and method generating master pattern of PLC control logic
US6993456B2 (en) Mechanical-electrical template based method and apparatus
US20040216002A1 (en) Planning and scheduling for failure recovery system and method
CN107193250B (en) Evaluation system and evaluation method
CN101088071A (en) Method and device for secure parameterization of electronic devices
Wang et al. Automated test case selection using feature model: An industrial case study
CN106649090A (en) Automated test system and method
CN102157037B (en) Automatic test method and system for software and module
JP3658061B2 (en) FA system control device and method, control program generation method
CN107193251B (en) Evaluation system and evaluation method
CN106339553B (en) A kind of the reconstruct flight control method and system of spacecraft
Umeda et al. Digital triplet and its implementation on learning factory
CN109815124A (en) Method and device, the interlock system of interlock defect analysis based on MBSE
JP4379687B2 (en) Simulation support tool and ladder program verification system and program product
KR101566355B1 (en) Master pattern generation method and apparatus for checking normal operation of plc based manufacturing system
JP3666507B2 (en) Simulation support tool, ladder program verification system, test input ladder program generation method, and ladder program verification method
Hill Software development methods in practice
Sarachaga et al. Methodological approach for developing reconfigurable automation systems
CN100367233C (en) Program execution control mode
JP5180809B2 (en) Information control system and method for creating control software
CN110928761A (en) System and method for demand chain and application thereof
CN110058875A (en) It is a kind of for the deriving method of robot off-line program, system and storage medium
US20110184543A1 (en) Method and Device for Planning an Industrial Automation Arrangement
KR102647480B1 (en) Apparatus for logic verification of logic drawing for nuclear safety class for nuclear safety grades
KR102494921B1 (en) Master pattern generation method based on control program analysis and training method for cycle analysis model

Legal Events

Date Code Title Description
GRNT Written decision to grant