KR102396944B1 - System modeling method sysem interoperability method and for physical system and virtual system based on the segment - Google Patents

System modeling method sysem interoperability method and for physical system and virtual system based on the segment Download PDF

Info

Publication number
KR102396944B1
KR102396944B1 KR1020190129273A KR20190129273A KR102396944B1 KR 102396944 B1 KR102396944 B1 KR 102396944B1 KR 1020190129273 A KR1020190129273 A KR 1020190129273A KR 20190129273 A KR20190129273 A KR 20190129273A KR 102396944 B1 KR102396944 B1 KR 102396944B1
Authority
KR
South Korea
Prior art keywords
segment
work
physical system
virtual
state
Prior art date
Application number
KR1020190129273A
Other languages
Korean (ko)
Other versions
KR20210045811A (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 KR1020190129273A priority Critical patent/KR102396944B1/en
Publication of KR20210045811A publication Critical patent/KR20210045811A/en
Application granted granted Critical
Publication of KR102396944B1 publication Critical patent/KR102396944B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Abstract

세그먼트 기반의 가상 물리 시스템을 위한 시스템 모델링 방법 및 시스템 연동 방법이 개시된다. 시스템 모델링 방법은 물리 시스템의 디바이스들을 식별하는 단계; 상기 식별된 물리 시스템의 작업과 작업을 수행하는 디바이스에 기초하여 상기 물리 시스템에 대응하는 가상 시스템의 세그먼트를 설정하는 단계; 및 상기 설정된 세그먼트를 통해 가상 시스템을 모델링하는 단계를 포함할 수 있다.Disclosed are a system modeling method and a system interworking method for a segment-based virtual physical system. A system modeling method includes identifying devices in a physical system; setting a segment of a virtual system corresponding to the physical system based on the identified task of the physical system and a device performing the task; and modeling the virtual system through the set segment.

Description

세그먼트 기반의 가상 물리 시스템을 위한 시스템 모델링 방법 및 시스템 연동 방법{SYSTEM MODELING METHOD SYSEM INTEROPERABILITY METHOD AND FOR PHYSICAL SYSTEM AND VIRTUAL SYSTEM BASED ON THE SEGMENT }System modeling method and system interworking method for segment-based virtual physics system

본 발명은 세그먼트 기반의 가상 물리 시스템을 위한 시스템 모델링 방법 및 시스템 연동 방법에 관한 것으로, 보다 구체적으로는 실제 영역의 물리 시스템과 가상 영역의 가상 시스템 간의 연동을 위해 컴퓨팅 장치를 이용하여 물리 시스템과 가상 시스템 간에 맵핑 관계를 설정하고, 물리 시스템과 가상 시스템 간에 서로 연동하는 방법에 관한 것이다.The present invention relates to a system modeling method and a system interworking method for a segment-based virtual physical system, and more particularly, to a physical system and a virtual system using a computing device for interworking between a physical system in a real area and a virtual system in a virtual area. It relates to a method of establishing a mapping relationship between systems and interworking between a physical system and a virtual system.

최근에 실제 환경에서 동작하는 여러 구성 요소들로 구성되는 물리 시스템에 대해 직접적으로 제어하기 보다는 물리 시스템에 연동하는 가상 시스템을 설정하고, 가상 시스템을 통해 물리 시스템에의 데이터를 수집하고, 이를 분석하여 시뮬레이션하는 기술이 개발되고 있다.Recently, rather than directly controlling the physical system composed of various components operating in the real environment, set up a virtual system that interlocks with the physical system, collect data on the physical system through the virtual system, and analyze it. Simulation techniques are being developed.

가상 세계와 물리 세계 간의 인터페이스는 수많은 감지장치, 컴퓨팅 및 통신 장치들과 다양한 유형의 엑츄에이터들로 구성되며, 이들 장치들은 복잡하고 오류의 여지가 있는 실제 세계, 즉 실시간 환경에서 동작된다.The interface between the virtual world and the physical world consists of numerous sensing devices, computing and communication devices, and various types of actuators, which operate in a complex and error-prone real world, that is, a real-time environment.

이와 같은 실제 세계의 물리 시스템에 포함된 각 구성요소들의 동작 관계를 정확하게 설정하고, 이를 가상 시스템을 통해 모델링하고 이들 시스템 간에 연동할 수 있는 방안이 요구된다.There is a need for a method for accurately setting the operating relationship of each component included in the physical system of the real world, modeling it through a virtual system, and interworking between these systems.

본 발명은 실제 세계의 물리 시스템에 포함된 각 구성요소들의 프로세스를 가상 세계의 가상 시스템을 통해 세그먼트 단위로 모델링하여 물리 시스템과 가상 시스템 간의 맵핑 관계를 보다 정확하게 모델링하는 방법을 제안한다.The present invention proposes a method of more accurately modeling a mapping relationship between a physical system and a virtual system by modeling the process of each component included in the physical system of the real world in segments through the virtual system of the virtual world.

본 발명은 물리 시스템으로부터 스캔한 데이터를 가상 시스템에 적용하고, 가상 시스템에서 데이터를 처리한 결과를 물리 시스템에 적용하는 시스템 간의 연동 방법을 제안한다.The present invention proposes a method for interworking between systems in which data scanned from a physical system is applied to a virtual system and a result of data processing in the virtual system is applied to the physical system.

본 발명은 연속 시간에서 물리 시스템에 포함된 각 구성 요소들의 프로세스의 현재 상황을 보다 정확하게 판단하고, 서로 다른 구성 요소들의 프로세스의 진행 상황을 연결하는 방법을 제안한다.The present invention proposes a method for more accurately determining the current state of the process of each component included in a physical system in continuous time and linking the process progress of different components.

본 발명의 일실시예에 따른 시스템 모델링 방법은 물리 시스템의 디바이스들을 식별하는 단계; 상기 식별된 물리 시스템의 작업과 작업을 수행하는 디바이스에 기초하여 상기 물리 시스템에 대응하는 가상 시스템의 세그먼트를 설정하는 단계; 및 상기 설정된 세그먼트를 통해 가상 시스템을 모델링하는 단계를 포함할 수 있다.A system modeling method according to an embodiment of the present invention includes identifying devices of a physical system; setting a segment of a virtual system corresponding to the physical system based on the identified task of the physical system and a device performing the task; and modeling the virtual system through the set segment.

상기 가상 시스템은, 물리 시스템의 작업에 대응하는 작업 세그먼트와 물리 시스템의 작업에 참여하는 디바이스에 대응하는 디바이스 세그먼트로 모델링될 수 있다.The virtual system may be modeled as a work segment corresponding to the work of the physical system and a device segment corresponding to a device participating in the work of the physical system.

상기 세그먼트를 설정하는 단계는, 상기 디바이스 세그먼트의 스테이트를 물리 시스템의 작업에 따라 시퀀스 형태로 연결한 프로세스를 작업 세그먼트에 설정할 수 있다.In the step of setting the segment, a process in which the state of the device segment is connected in a sequence form according to the work of the physical system may be set in the work segment.

상기 세그먼트는, 외부 이벤트에 따라 작업 세그먼트의 프로세스가 시작하면 중단없이 종료될때까지 프로세스가 진행될 수 있다.In the segment, when the process of the work segment starts according to an external event, the process may proceed without interruption until the process is terminated.

상기 프로세스는, 상기 물리 시스템의 작업에 대한 시간적 및 공간적인 사건 흐름을 가상 시스템의 작업 세그먼트에 대해 설정한 결과일 수 있다.The process may be a result of setting the temporal and spatial event flow for the work of the physical system for the work segment of the virtual system.

상기 프로세스는, 상기 작업 세그먼트에 연결된 적어도 하나의 디바이스 세그먼트의 스테이트들을 시퀀스 형태로 연결함으로써 설정될 수 있다.The process may be set by connecting states of at least one device segment connected to the working segment in a sequence form.

상기 작업 세그먼트의 프로세스는, 상기 작업 세그먼트에 대한 제1 이벤트가 존재하면 초기 상태에서 시작되고, 상기 프로세스의 종료 상태는 작업 세그먼트에 대한 제2 이벤트에 따라 초기 상태로 전환될 수 있다.The process of the work segment may be started in an initial state when a first event for the work segment exists, and an end state of the process may be converted to an initial state according to a second event for the work segment.

상기 작업 세그먼트의 프로세스는, 상기 작업 세그먼트의 프로세스가 진행되는 연속적인 시간을 정규화한 정보와 상기 작업 세그먼트의 프로세스를 구성하는 디바이스 세그먼트의 스테이트에 대한 상태를 나타내는 정보, 상기 디바이스 세그먼트에 대응하는 디바이스의 이상 정도를 나타내는 정보 중 적어도 하나의 정보를 통해 표현될 수 있다.The process of the working segment includes information that normalizes a continuous time during which the process of the working segment is performed, information indicating a state of a device segment constituting the process of the working segment, and a device corresponding to the device segment. It may be expressed through at least one piece of information indicating the degree of abnormality.

상기 작업 세그먼트는, 상위 레벨에서 하위 레벨로 계층에 따라 설정될 수 있으며, 하위 레벨의 작업 세그먼트가 모두 종료되어야 최상위 레벨의 작업 세그먼트가 종료할 수 있다.The work segment may be set according to a hierarchy from an upper level to a lower level, and the work segment of the highest level can be ended only when all work segments of the lower level are finished.

상기 작업 세그먼트의 프로세스에서 종료 상태는, 상기 작업 세그먼트에서 초기 상태와 동일할 수 있다.An end state in the process of the work segment may be the same as an initial state in the work segment.

상기 세그먼트의 프로세스에서 특정 스테이트는, 상기 작업 세그먼트에 대해 병렬적으로 처리되는 다른 작업 세그먼트에 포함된 특정 스테이트를 트리거링하기 위한 이벤트가 될 수 있다.A specific state in the process of the segment may be an event for triggering a specific state included in another working segment that is processed in parallel to the working segment.

본 발명의 일실시예에 따른 시스템 모델링 방법은 물리 시스템의 디바이스들을 식별하는 단계; 상기 식별된 물리 시스템의 작업과 작업을 수행하는 디바이스에 기초하여 상기 물리 시스템에 대응하는 가상 시스템의 디바이스 세그먼트와 작업 세그먼트를 설정하는 단계; 및 상기 디바이스 세그먼트의 스테이트를 이용하여 상기 작업 세그먼트의 프로세스를 모델링하는 단계; 상기 작업 세그먼트의 프로세스를 컴파일하여 상기 가상 시스템의 가상 제어 또는 상기 물리 시스템의 물리 제어에 적용하는 단계를 포함할 수 있다.A system modeling method according to an embodiment of the present invention includes identifying devices of a physical system; setting a device segment and a working segment of a virtual system corresponding to the physical system based on the identified physical system operation and a device performing the operation; and modeling the process of the working segment using the state of the device segment. Compiling the process of the working segment and applying it to the virtual control of the virtual system or the physical control of the physical system.

본 발명의 일실시예에 따른 시스템 연동 방법은 물리 시스템에 대응하는 가상 시스템을 식별하는 단계; 상기 가상 시스템의 가상 제어에서 물리 시스템의 물리 제어로 전달되는 입력 데이터를 스캔하는 단계; 상기 스캔한 입력 데이터를 상기 물리 시스템의 물리 제어를 통해 수행되는 제1 로직과 미러 관계인 제2 로직을 통해 처리한 후, 상기 입력 데이터의 처리 결과를 통해 변경되는 데이터를 물리 시스템에 적용하는 단계를 포함하고, 상기 제2 로직은, 상기 물리 시스템의 작업과 작업을 수행하는 디바이스에 기초하여 상기 물리 시스템에 대응하는 가상 시스템의 작업 세그먼트에서 설정된 프로세스에 대응할 수 있다.A system interworking method according to an embodiment of the present invention includes: identifying a virtual system corresponding to a physical system; scanning input data transferred from the virtual control of the virtual system to the physical control of the physical system; processing the scanned input data through a first logic performed through physical control of the physical system and a second logic having a mirror relationship, and then applying data changed through the processing result of the input data to the physical system and, the second logic may correspond to a process set in a work segment of a virtual system corresponding to the physical system based on an operation of the physical system and a device performing the operation.

본 발명의 일실시예에 따르면, 실제 세계의 물리 시스템에 포함된 각 구성요소들의 프로세스를 가상 세계의 가상 시스템을 통해 세그먼트 단위로 모델링하여 물리 시스템과 가상 시스템 간의 연동 관계를 보다 정확하게 모델링할 수 있다.According to an embodiment of the present invention, the interworking relationship between the physical system and the virtual system can be more accurately modeled by modeling the process of each component included in the physical system of the real world in segments through the virtual system of the virtual world. .

본 발명의 일실시예에 따르면, 연속 시간에서 물리 시스템에 포함된 각 구성 요소들의 프로세스의 현재 상황을 보다 정확하게 판단하고, 서로 다른 구성 요소들의 프로세스의 진행 상황을 연결할 수 있다.According to an embodiment of the present invention, it is possible to more accurately determine the current state of the process of each component included in the physical system in continuous time, and connect the progress of the process of the different components.

본 발명의 일실시예에 따르면, 물리 시스템으로부터 스캔한 데이터를 가상 시스템에 적용하고, 가상 시스템에서 데이터를 처리한 결과를 물리 시스템에 적용하는 시스템 간에 정확한 연동이 진행될 수 있다. According to an embodiment of the present invention, accurate interworking can be performed between systems that apply data scanned from the physical system to the virtual system and apply the result of data processing in the virtual system to the physical system.

도 1은 본 발명의 일실시예에 따른 가상 물리 시스템의 전체 개요를 도시한 도면이다.
도 2는 본 발명의 일실시예에 따른 물리 시스템과 가상 시스템 간의 연동 과정을 모델링하는 것을 설명하기 위한 도면이다.
도 3은 본 발명의 일실시예에 따른 물리 시스템을 가상 시스템의 세그먼트로 모델링하는 과정을 도시한 도면이다.
도 4는 본 발명의 일실시예에 따른 가상 시스템을 구성하는 세그먼트를 설명하기 위한 도면이다.
도 5는 본 발명의 일실시예에 따른 작업 세그먼트에 연결되는 디바이스 세그먼트의 스테이트를 설명하기 위한 도면이다.
도 6은 본 발명의 일실시예에 따른 물리 시스템의 디바이스와 가상 시스템의 세그먼트 간의 관계를 설명하기 위한 도면이다.
도 7은 본 발명의 일실시예에 따른 물리 시스템과 가상 시스템 간의 연동을 설명하기 위한 예시이다.
도 8은 본 발명의 일실시예에 따른 물리 시스템에 포함된 각 구성 요소별로 연속 시간에서 프로세스의 진행 상황을 설명하기 위한 도면이다.
도 9는 본 발명의 일실시예에 따른 물리 시스템에 대응하는 가상 시스템의 세그먼트 및 세그먼트의 프로세스 예시를 도시한 도면이다.
도 10은 본 발명의 일실시예에 따른 서로 다른 세그먼트들에서 수행되는 프로세스 간의 관계를 나타내는 도면이다.
도 11은 본 발명의 일실시예에 따른 프로세스의 현재 상태를 설명하기 위한 도면이다.
도 12는 본 발명의 일실시예에 따른 가상 시스템의 세그먼트별 프로세스에 대응하는 현재 상태를 설명하기 위한 도면이다.
1 is a diagram illustrating an overall outline of a virtual physical system according to an embodiment of the present invention.
2 is a diagram for explaining modeling an interworking process between a physical system and a virtual system according to an embodiment of the present invention.
3 is a diagram illustrating a process of modeling a physical system into segments of a virtual system according to an embodiment of the present invention.
4 is a diagram for describing segments constituting a virtual system according to an embodiment of the present invention.
5 is a diagram for explaining the state of a device segment connected to a working segment according to an embodiment of the present invention.
6 is a diagram for describing a relationship between a device of a physical system and a segment of a virtual system according to an embodiment of the present invention.
7 is an example for explaining interworking between a physical system and a virtual system according to an embodiment of the present invention.
8 is a diagram for explaining the progress of a process in a continuous time for each component included in the physical system according to an embodiment of the present invention.
9 is a diagram illustrating a segment of a virtual system corresponding to a physical system and a process example of a segment according to an embodiment of the present invention.
10 is a diagram illustrating a relationship between processes performed in different segments according to an embodiment of the present invention.
11 is a diagram for explaining a current state of a process according to an embodiment of the present invention.
12 is a diagram for explaining a current state corresponding to a process for each segment of a virtual system according to an embodiment of the present invention.

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

도 1은 본 발명의 일실시예에 따른 가상 물리 시스템의 전체 개요를 도시한 도면이다.1 is a diagram illustrating an overall outline of a virtual physical system according to an embodiment of the present invention.

도 1을 참고하면, 실제 세계의 물리 시스템(101)과 가상 세계의 가상 시스템(102) 간의 연동 관계를 나타낸다. 그리고, 이러한 연동 관계는 제어, 시뮬레이션, 동기, 수집, 분석 등의 다양한 처리를 위해 컴퓨팅 장치(103)를 통해 모델링 또는 디자인(설계)될 수 있다.Referring to FIG. 1 , a linkage relationship between a physical system 101 in the real world and a virtual system 102 in the virtual world is shown. In addition, this interlocking relationship may be modeled or designed (designed) through the computing device 103 for various processes such as control, simulation, synchronization, collection, and analysis.

물리 시스템(101)은 복수의 센서들과 엑츄에이터, 컨트롤러 등과 같은 디바이스들로 구성될 수 있다. 물리 시스템(101)은 이벤트에 따라 디바이스들 각각의 스테이트가 변경됨으로써, 특정 작업이 처리될 수 있다. 가상 시스템(102)은 물리 시스템(101)에서 처리되는 특정 작업을 가상 환경에서 동일하게 반영되도록 디바이스들과 디바이스들을 통해 처리되는 작업들을 가상화하여 표현할 수 있다.The physical system 101 may include a plurality of sensors, actuators, and devices such as a controller. In the physical system 101, a specific task may be processed by changing the state of each device according to an event. The virtual system 102 may virtualize and express devices and tasks processed through the devices so that a specific task processed in the physical system 101 is equally reflected in the virtual environment.

본 발명은 물리 시스템(101)과 가상 시스템(102) 간의 연동 관계를 표현하여 보다 효과적으로 제어할 수 있는 모델링 방법을 제안한다. 물리 시스템(Physical System)(101)은 자동화 설비 시스템, 공장 자동화 시스템, 자동차 조립 시스템 등 모든 제품 제조 시스템 등 실제 세계에서 운영되는 구성 요소들의 집합을 의미한다. 그리고, 가상 시스템(Virtual System)(102)은 물리 시스템(101)과 1:1 관계로 설정되어 컴퓨팅 장치(103)를 통해 설계되거나 모델링될 수 있는 가상화된 시스템을 의미한다.The present invention proposes a modeling method that can more effectively control by expressing the interlocking relationship between the physical system 101 and the virtual system 102 . The physical system 101 refers to a set of components operating in the real world, such as all product manufacturing systems, such as an automated facility system, a factory automation system, and an automobile assembly system. In addition, the virtual system 102 refers to a virtualized system that is set in a 1:1 relationship with the physical system 101 to be designed or modeled through the computing device 103 .

즉, 컴퓨팅 장치(103)는 실제 세계의 물리 시스템(101)에 포함된 구성 요소들인 디바이스들을 가상 시스템(102)에서 디지털화된 가상의 모듈들로 변환하고, 물리 시스템(101)의 디바이스들 각각에서 변경되는 현재 상태인 스테이트들의 시간에 따라 연결한 시퀀스(sequence)를 가상 시스템(102)에서 동일하게 프로세스로 표현하여 모델링(디자인)할 수 있다. That is, the computing device 103 converts devices, which are components included in the physical system 101 of the real world, into digitized virtual modules in the virtual system 102 , and in each of the devices of the physical system 101 . It is possible to model (design) a sequence connected according to time of the changed current state as a process in the same manner in the virtual system 102 .

다시 말해서, 컴퓨팅 장치(103)는 실제 환경의 물리 시스템(101)과 가상 환경의 가상 시스템(102) 간의 관계를 1:1로 맵핑하는 디자인을 수행하는 것으로 볼 수 있다. 이하에서는, 물리 시스템(101)과 가상 시스템(102) 간의 연동 과정을 어떻게 모델링할 것인지를 보다 구체적으로 설명하기로 한다.In other words, the computing device 103 may be viewed as performing a design that maps the relationship between the physical system 101 in the real environment and the virtual system 102 in the virtual environment 1:1. Hereinafter, how to model the interworking process between the physical system 101 and the virtual system 102 will be described in more detail.

도 2는 본 발명의 일실시예에 따른 물리 시스템과 가상 시스템 간의 연동 과정을 모델링하는 것을 설명하기 위한 도면이다.2 is a diagram for explaining modeling an interworking process between a physical system and a virtual system according to an embodiment of the present invention.

도 2를 참고하면, 물리 시스템(101)은 센서와 엑츄에이터, 로봇과 같은 복수의 디바이스들로 구성될 수 있다. 일례로, 물리 시스템(101)을 구성하는 센서는 물리 시스템(101)에서 물리 제어를 하기 위해 데이터를 입력하는 역할을 수행하고, 엑츄에이터는 물리 시스템(101)의 물리 제어를 통해 특정 동작을 출력하는 역할을 수행한다. 센서는 물리 시스템(101)의 외부에서 발생되는 외부 이벤트에 따라 동작할 수 있다.Referring to FIG. 2 , the physical system 101 may include a plurality of devices such as a sensor, an actuator, and a robot. For example, the sensor constituting the physical system 101 serves to input data to perform physical control in the physical system 101 , and the actuator outputs a specific operation through the physical control of the physical system 101 . play a role The sensor may operate according to an external event occurring outside the physical system 101 .

센서와 같은 디바이스는 데이터를 수집하고, 이를 물리 시스템(101)의 물리 제어에 전달한다. 그러면, 물리 제어의 입력 데이터 영역에 센서에서 수집한 데이터들이 저장되고, 물리 제어에서 미리 설정된 로직에 따라 데이터를 처리하여 엑츄에이터와 같은 디바이스에 전달한다. A device such as a sensor collects data and transmits it to the physical control of the physical system 101 . Then, the data collected by the sensor is stored in the input data area of the physical control, and the data is processed according to the logic preset in the physical control and transmitted to a device such as an actuator.

컴퓨팅 장치(103)는 이러한 물리 시스템(101)을 가상 환경에서 동일하게 구현할 수 있는 가상 시스템(102)을 설정하고, 물리 시스템(101)의 구성 요소와 동작들을 모델링할 수 있다. 물리 시스템(101)의 디바이스들과 디바이스들을 통해 처리되는 작업들이 세그먼트를 통해 가상화되어 모델링될 수 있다.The computing device 103 may set up a virtual system 102 that can implement the physical system 101 in the same way in a virtual environment, and may model components and operations of the physical system 101 . Devices of the physical system 101 and tasks processed through the devices may be virtualized and modeled through segments.

이 때, 가상 시스템(102)은 물리 시스템(101)의 물리 제어(physical control)에 대응하는 가상 제어(virtual control)를 수행할 수 있다. 컴퓨팅 장치(103)를 통해 물리 시스템(101)의 물리 제어에 대응하는 가상 시스템(102)의 가상 제어가 디자인될 수 있다. 그러면, 물리 제어를 통해 처리되는 작업인 로직과 가상 제어를 통해 처리되는 작업인 로직은 서로 미러(mirror) 관계에 있다. 본 발명의 일실시예에 따르면, 물리 시스템(101)의 디바이스들과 디바이스를 통해 데이터를 처리하는 과정을 가상 시스템(102)의 세그먼트를 통해 표현될 수 있다. 특히, 물리 시스템(101)의 디바이스들이 데이터를 처리하는 과정은 가상 시스템(102)의 작업 세그먼트의 프로세스에 매핑될 수 있다.In this case, the virtual system 102 may perform virtual control corresponding to the physical control of the physical system 101 . A virtual control of the virtual system 102 corresponding to the physical control of the physical system 101 through the computing device 103 may be designed. Then, the logic that is the operation processed through the physical control and the logic that is the operation processed through the virtual control have a mirror relationship with each other. According to an embodiment of the present invention, the devices of the physical system 101 and the process of processing data through the devices may be expressed through segments of the virtual system 102 . In particular, a process of processing data by devices of the physical system 101 may be mapped to a process of a working segment of the virtual system 102 .

결국, 물리 시스템(101)의 디바이스와 디바이스를 통해 처리되는 로직들이 가상 시스템(102)의 세그먼트를 통해 모델링될 수 있으며, 이러한 모델링 작업은 컴퓨팅 장치(103)를 통해 처리될 수 있다. As a result, the device of the physical system 101 and the logic processed through the device may be modeled through the segment of the virtual system 102 , and such a modeling operation may be processed through the computing device 103 .

본 발명의 일실시예에 따르면, 물리 시스템(101)의 디바이스들 각각 또는 이들의 조합을 가상 시스템(102)에서 디지털 형태로 구조화한 단위인 디바이스 세그먼트로 디자인될 수 있다. 그리고, 물리 시스템(101)의 디바이스들이 수행하는 작업들은 디바이스의 상태를 나타내는 스테이트의 시간적인 흐름으로 표현될 수 있고, 스테이트의 시간적인 흐름인 시퀀스가 가상 시스템(102)의 작업 세그먼트에서 처리되는 프로세스에 대응되어 모델링될 수 있다. According to an embodiment of the present invention, each of the devices of the physical system 101 or a combination thereof may be designed as a device segment, which is a digitally structured unit in the virtual system 102 . In addition, tasks performed by the devices of the physical system 101 may be expressed as a temporal flow of states representing the state of the device, and a process in which a sequence that is a temporal flow of states is processed in a working segment of the virtual system 102 . can be modeled in correspondence with .

물리 시스템(101)에서 물리 제어는 물리 시스템(101)의 센서로부터 도출된 입력 데이터를 논리 연산을 통해 물리 시스템(101)의 구성 요소인 엑츄에이터에서 출력 데이터를 생성할 수 있도록 제어할 수 있다. In the physical system 101 , the physical control may control input data derived from a sensor of the physical system 101 to generate output data in an actuator, which is a component of the physical system 101 , through a logical operation.

컴퓨팅 장치(103)는 물리 시스템(101)의 디바이스를 통해 처리되는 작업을 컴파일하여 물리 시스템(101)의 물리 제어에 적용할 수 있다. 그리고, 물리 시스템(101)에 대응하는 가상 시스템(101)을 세그먼트 단위로 모델링한 결과를 컴파일하여 가상 시스템(101)의 가상 제어에 적용할 수 있다. The computing device 103 may compile a job processed through the device of the physical system 101 and apply it to the physical control of the physical system 101 . In addition, a result of modeling the virtual system 101 corresponding to the physical system 101 in units of segments may be compiled and applied to virtual control of the virtual system 101 .

이러한 과정을 통해 물리 시스템(101)과 가상 시스템(102)이 서로 트윈 관계로 모델링 될 수 있다. 그러면, 물리 시스템(101)에서의 실제 동작이 그대로 가상 시스템(102)에서 동일하게 수행되는 디지털 동기가 구현될 수 있다. 이를 위해, 물리 시스템(101)에서 수행되는 물리 제어가 그대로 미러 로직에 해당하는 가상 제어에서도 동일하게 재현된다. 그러면, 물리 시스템(101)의 입력 데이터와 동일한 입력 데이터가 가상 시스템(102)에 입력되고, 가상 시스템(102)의 가상 제어를 통해 물리 시스템(101)의 출력 데이터와 동일한 데이터가 출력되도록 컴퓨팅 장치(103)를 통해 모델링될 수 있다. 물리 시스템(101)의 동작과 가상 시스템(102)의 동작이 서로 동일하게 발생되는 것이 디지털 동기라고 정의될 수 있다.Through this process, the physical system 101 and the virtual system 102 may be modeled in a twin relationship with each other. Then, digital synchronization in which the actual operation in the physical system 101 is identically performed in the virtual system 102 may be implemented. To this end, the physical control performed in the physical system 101 is reproduced in the same way in the virtual control corresponding to the mirror logic as it is. Then, input data identical to the input data of the physical system 101 is input to the virtual system 102 , and the computing device outputs the same data as the output data of the physical system 101 through virtual control of the virtual system 102 . It can be modeled through (103). When the operation of the physical system 101 and the operation of the virtual system 102 occur identically to each other, it may be defined as digital synchronization.

물리 시스템(101)과 가상 시스템(102) 간의 실시간 연동 과정에 대해서는 이하에서 설명하기로 한다.A real-time interworking process between the physical system 101 and the virtual system 102 will be described below.

(i) 컴파일 통한 컨트롤 로직(Control Logic) 과 미러 로직(Mirror Logic) 생성(i) Creation of Control Logic and Mirror Logic through compilation

(ii) 물리 시스템(101)의 CPU 입력(Input) 영역을 매회 CPU 스캔(Scan) 마다 데이터 버스(Data bus)를 통해 미러 로직(Mirror Logic)에 전달 또는 공유(ii) transfer or share the CPU Input area of the physical system 101 to the Mirror Logic through the Data bus for every CPU Scan

(iii) 가상 시스템(102)은 Input Data정보와 미러 로직(Mirror Logic)을 이용하여 동일한 컨트롤(Control)을 가상 환경에서 실시간 동기화(iii) the virtual system 102 synchronizes the same control in real-time in a virtual environment using Input Data information and Mirror Logic

이때, 물리 시스템(101)에서 데이터 추적 과정은 물리 제어의 데이터 추적 방법을 이용할 수 있다. 물리 시스템(101)으로부터의 입력 데이터(Input Data)를 가상 시스템(102)의 가상 제어에서 스캔하여 획득한다. 내부 데이터(Internal Data)와 출력 데이터(Output Data)를 가상 시스템(102)의 가상 제어에서 시퀀스로 처리하고, 입력 데이터, 내부 데이터, 및 출력 데이터 중에서 변경된 데이터(Change on demand)를 인터페이스 모듈에 전달하는 물리 시스템(101)의 데이터 추적 과정이 수행된다. In this case, the data tracking process in the physical system 101 may use a data tracking method of physical control. Input data from the physical system 101 is acquired by scanning in the virtual control of the virtual system 102 . Processes internal data (Internal Data) and output data (Output Data) as a sequence in the virtual control of the virtual system 102, and transmits input data, internal data, and changed data (Change on demand) among output data to the interface module The data tracking process of the physical system 101 is performed.

여기서, 입력 데이터, 내부 데이터, 및 출력 데이터는 각각 입력 데이터 영역(Input Data Area), 내부 데이터 영역(Internal Data Area), 및 출력 데이터 영역(data Ara)에 존재한다. 한편, 입력 데이터 영역, 내부 데이터 영역, 및 출력 데이터 영역은 물리적으로 또는 적어도 논리적으로 구분된 메모리 영역에 해당한다. Here, input data, internal data, and output data exist in an input data area, an internal data area, and an output data area, data Ara, respectively. Meanwhile, the input data area, the internal data area, and the output data area correspond to physically or at least logically separated memory areas.

따라서, 물리 시스템(101)의 제어 및 감시를 가상 시스템(102)에서 효율적으로 수행하기 위해 입력 데이터, 내부 데이터, 및 출력 데이터가 별도의 영역 상에 저장되어 필요에 따라 특정 영역만을 스캔할 수 있다는 장점이 있다. Therefore, in order to efficiently perform control and monitoring of the physical system 101 in the virtual system 102, input data, internal data, and output data are stored in separate areas so that only a specific area can be scanned as needed. There are advantages.

한편, 이러한 물리 시스템(101)에 대해 가상 시스템(102)의 데이터 추적 과정은 다음과 같이 진행된다.Meanwhile, the data tracking process of the virtual system 102 with respect to the physical system 101 proceeds as follows.

(i) 가상 시스템(102)은 가상 제어를 통해 물리 시스템(101)의 입력 데이터(Input Data)를 매회 스캔(Scan) 마다 획득한다.(i) The virtual system 102 acquires input data of the physical system 101 for every scan through virtual control.

(ii) 가상 시스템(102)은 가상 제어를 통해 내부 데이터(Internal Data)와 출력 데이터(Output Data)를 시퀀스 형태인 프로세스로 처리한다.(ii) The virtual system 102 processes internal data and output data as a sequence-type process through virtual control.

(iii) 가상 시스템(102)은 프로세스를 통해 변경된 데이터를 확인하여 인터페이스 모듈(Interface module)로 전달할 수 있다.(iii) The virtual system 102 may check the data changed through the process and transmit it to the interface module.

본 발명의 일실시예에 따르면, 물리 시스템(101)에 연동하는 가상 시스템(102)을 컴퓨팅 장치(103)를 통해 모델링함으로써, 설계, 제어, 시뮬레이션, 디지털 동기, 수집, 분석 등의 어플리케이션 처리가 가능할 수 있다. According to an embodiment of the present invention, by modeling the virtual system 102 interworking with the physical system 101 through the computing device 103, application processing such as design, control, simulation, digital synchronization, collection, and analysis is performed. It may be possible.

도 3 내지 도 6은 물리 시스템(101)에 포함된 구성 요소들 각각의 동작 관계를 가상 시스템(102)의 세그먼트와 세그먼트의 프로세스를 통해 어떻게 연결시켜 모델링할 것인지를 구체적으로 설명한다.3 to 6 specifically describe how to model the operation relationship of each of the components included in the physical system 101 by connecting the segment of the virtual system 102 through the segmentation process.

도 3은 본 발명의 일실시예에 따른 물리 시스템을 가상 시스템의 세그먼트로 모델링하는 과정을 도시한 도면이다.3 is a diagram illustrating a process of modeling a physical system into segments of a virtual system according to an embodiment of the present invention.

도 3을 참고하면, 물리 시스템은 실제 환경에서 센서, 엑츄에이터, 로봇 등 다양한 디바이스들로 구성될 수 있다. 그리고, 이러한 디바이스들을 통해 특정 작업이 수행된다.Referring to FIG. 3 , a physical system may include various devices such as sensors, actuators, and robots in a real environment. And, a specific task is performed through these devices.

컴퓨팅 장치는 물리 시스템의 디바이스들 각각 또는 이들의 조합을 가상 시스템의 디바이스 세그먼트로 모델링할 수 있다. 디바이스 세그먼트는 디바이스의 현재 상태를 나타내는 스테이트 정보를 가질 수 있다. 그리고, 물리 시스템에서 작업이 수행되는 과정은 가상 시스템의 작업 세그먼트를 통해 모델링될 수 있다. 작업 세그먼트는 프로세스를 수행하며, 프로세스는 디바이스 세그먼트에 할당된 스테이트 정보가 시퀀스 형태로 연결된 결과를 의미한다. 작업 프로세스는 모델링하는 작업자의 설정에 따라 상위 레벨에서 하위 레벨로 계층화되어 표현될 수 있다.The computing device may model each of the devices of the physical system or a combination thereof as a device segment of the virtual system. The device segment may have state information indicating the current state of the device. In addition, a process in which work is performed in the physical system may be modeled through a work segment of the virtual system. The work segment performs a process, and the process refers to the result of concatenating the state information allocated to the device segment in the form of a sequence. The work process can be expressed hierarchically from the upper level to the lower level according to the setting of the modeling worker.

도 4는 본 발명의 일실시예에 따른 가상 시스템을 구성하는 세그먼트를 설명하기 위한 도면이다.4 is a diagram for describing segments constituting a virtual system according to an embodiment of the present invention.

도 4를 참고하면, 가상 시스템(102)은 복수의 작업 세그먼트들로 모델링될 수 있다. 가상 시스템(102)에서 작업 세그먼트는 특정 프로세스를 수행한다. 이 때, 작업 프로세스는 물리 시스템(101)의 디바이스를 모델링한 디바이스 세그먼트와 연결될 수 있다. 디바이스 세그먼트의 스테이트 정보를 시퀀스 형태로 연결함으로써 작업 세그먼트의 프로세스가 설정될 수 있다. 그러면, 프로세스에 포함된 스테이트 정보에 대응하는 디바이스 세그먼트가 작업 세그먼트와 연결될 수 있다.Referring to FIG. 4 , the virtual system 102 may be modeled as a plurality of work segments. In virtual system 102, work segments perform specific processes. In this case, the work process may be connected to a device segment modeling the device of the physical system 101 . The process of the working segment can be set by connecting the state information of the device segment in a sequence form. Then, the device segment corresponding to the state information included in the process may be connected to the working segment.

가상 시스템(102)에 재료에 해당하는 입력 데이터가 발생되면, 가상 시스템(102)의 복수의 작업 세그먼트들 각각에 설정된 프로세스를 통해 최종적으로 출력 데이터가 결정된다. 입력 데이터에서 출력 데이터로 도출되는 제어 로직은 도 2에서 설명한 가상 제어를 통해 수행되며, 가상 제어는 실제 세계의 물리 시스템(101)의 물리 제어와 실질적으로 동일 관계이다.When input data corresponding to a material is generated in the virtual system 102 , output data is finally determined through a process set in each of the plurality of work segments of the virtual system 102 . Control logic derived from input data to output data is performed through the virtual control described with reference to FIG. 2 , and the virtual control has substantially the same relationship as the physical control of the physical system 101 in the real world.

가상 시스템(102)에서 도 4에서 도시된 작업 세그먼트 1 내지 작업 세그먼트 6에 설정된 프로세스가 모두 처리되어야 입력 데이터에서 출력 데이터가 도출될 수 있다. 그리고, 작업 세그먼트는 적어도 하나의 하위 레벨의 작업 세그먼트가 설정될 수 있다. 즉, 작업 세그먼트는 레벨에 따라 구분되는 계층으로 구성될 수 있다. 도 4에 도시된 바와 같이, 작업 세그먼트 1은 하위 레벨에 작업 세그먼트 1-1, 작업 세그먼트 1-2, 작업 세그먼트 1-3으로 구성된다. 그러면, 작업 세그먼트 1-1, 작업 세그먼트 1-2, 작업 세그먼트 1-3들 각각에 설정된 프로세스가 모두 처리되어야, 작업 세그먼트 1의 전체 프로세스가 종료한다.In the virtual system 102 , the output data can be derived from the input data only when the processes set in the working segments 1 to 6 shown in FIG. 4 are all processed. In addition, as the work segment, at least one lower-level work segment may be set. That is, the work segment may be composed of a hierarchy divided according to levels. 4 , the working segment 1 is composed of a working segment 1-1, a working segment 1-2, and a working segment 1-3 at a lower level. Then, all processes set in each of the working segment 1-1, the working segment 1-2, and the working segments 1-3 must be processed, and the entire process of the working segment 1 is terminated.

작업 세그먼트의 프로세스는 외부 이벤트에 따라 시작될 수 있다. 그리고, 세그먼트에서 프로세스가 시작하면 종료할 때까지 외부 이벤트에 의해 중단되지 않는다. 그리고, 어느 하나의 작업 세그먼트의 처리 결과는 다른 작업 세그먼트의 프로세스가 진행되기 위한 외부 이벤트로 설정될 수 있다.A process in a work segment can be started in response to an external event. And, when a process starts in a segment, it is not interrupted by an external event until it ends. In addition, the processing result of one work segment may be set as an external event for the process of another work segment to proceed.

도 5는 본 발명의 일실시예에 따른 작업 세그먼트에 연결되는 디바이스 세그먼트의 스테이트를 설명하기 위한 도면이다.5 is a diagram for explaining the state of a device segment connected to a working segment according to an embodiment of the present invention.

물리 시스템(101)에 1:1로 대응하는 가상 시스템(101)을 모델링하기 위해, 물리 시스템(101)을 구성하는 디바이스들과 디바이스 각각의 상태들을 가상 시스템(102)의 세그먼트에 대응시킬 수 있다. In order to model the virtual system 101 corresponding to the physical system 101 1:1, the devices constituting the physical system 101 and the states of each device may correspond to segments of the virtual system 102 . .

본 발명의 일실시예에 따르면, 컴퓨팅 장치(103)를 통해 모델링하는 것은 물리 시스템(101)의 작업을 가상 시스템(102)에서 복수의 작업 세그먼트를 설정하는 것을 의미할 수 있다. 가상 시스템(102)에서 작업 세그먼트는 외부 이벤트를 통해 시작될 수 있다. 그리고, 가상 시스템(102)에서 작업 세그먼트들은 레벨에 따라 계층적으로 구성될 수 있으며, 최상위의 작업 세그먼트에서 프로세스가 종료되면, 작업 세그먼트의 시작/종료에 대한 초기화도 외부 이벤트에 의해 진행될 수 있다.According to an embodiment of the present invention, modeling through the computing device 103 may mean setting a plurality of work segments in the virtual system 102 for the work of the physical system 101 . A work segment in the virtual system 102 may be initiated through an external event. In addition, in the virtual system 102, work segments may be hierarchically configured according to levels, and when a process is terminated in the highest work segment, initialization for start/end of the work segment may also be performed by an external event.

최상위의 작업 세그먼트가 시작되면, 반드시 최상위의 작업 세그먼트 및 최상위의 작업 세그먼트에 포함된 하위의 작업 세그먼트들이 모두 종료되어야 한다. 그리고, 작업 세그먼트의 시작과 종료까지의 진행 과정에서 무한 루프 및 교착 상태가 발생되지 않도록 작업 세그먼트에 프로세스가 설정될 필요가 있다.When the uppermost working segment is started, the uppermost working segment and all of the lower working segments included in the topmost working segment must all be ended. In addition, the process needs to be set in the working segment so that an infinite loop and deadlock do not occur in the process of starting and ending the working segment.

작업 세그먼트는 Interface In과 Interface Out을 통해 가상 시스템(102)의 외부에 존재하는 타겟과 데이터의 송수신이 진행된다. 여기서 언급하는 타겟은 작업 세그먼트에 대한 또 다른 작업 세그먼트일 수 있다.In the work segment, transmission and reception of data with a target existing outside the virtual system 102 is performed through Interface In and Interface Out. The target referred to herein may be another work segment for the work segment.

작업 세그먼트의 프로세스가 시작하면, 종료 상태까지 연속적으로 진행되며 중간에 추가로 시작될 수 없다. 작업 세그먼트의 프로세스는 초기 상태에서 외부 이벤트에 따라 시작된 이후에 종료 상태로 진행한다. 작업 세그먼트가 종료 상태가 되더라도 외부 이벤트에 따라 초기 상태로 되돌아가지 않는 경우 프로세스는 재수행되지 않는다. When a process in a work segment starts, it continues to the end state and cannot be started further in the middle. A process in a work segment starts in an initial state according to an external event and then progresses to an end state. Even if the work segment enters the end state, the process is not re-executed if it does not return to the initial state according to an external event.

그렇기 때문에, 작업 세그먼트에 대해 프로세스의 종료 상태의 초기화가 요구되며, 종료 상태의 초기화를 통해 프로세스가 초기 상태로 진행될 수 있다. 그러면, 외부 이벤트의 발생에 따라 프로세스가 다시 시작된다. 이 때, 상위 레벨의 작업 세그먼트가 종료되면 자동으로 상위 레벨의 작업 세그먼트에 대한 하위 레벨의 작업 세그먼트도 종료 상태가 초기화될 수 있다.Therefore, initialization of the end state of the process is required for the work segment, and the process may proceed to the initial state through the initialization of the end state. Then, the process is restarted according to the occurrence of an external event. In this case, when the working segment of the upper level is ended, the end state of the working segment of the lower level with respect to the working segment of the upper level may be automatically initialized.

작업 세그먼트는 프로세스에 참여하는 디바이스 세그먼트와 연결될 수 있다. 도 5에서 작업 세그먼트 1의 프로세스는 디바이스 세그먼트인 Turn table의 스테이트 1 또는 스테이트 2로 구성될 수 있다. 디바이스 세그먼트와 작업 세그먼트 간의 연결 관계는 도 6에서 구체적으로 설명하기로 한다.A work segment may be associated with a device segment participating in a process. In FIG. 5 , the process of the working segment 1 may be configured as a state 1 or a state 2 of a turn table that is a device segment. A connection relationship between the device segment and the work segment will be described in detail with reference to FIG. 6 .

도 6은 본 발명의 일실시예에 따른 물리 시스템의 디바이스와 가상 시스템의 세그먼트 간의 관계를 설명하기 위한 도면이다.6 is a diagram for describing a relationship between a device of a physical system and a segment of a virtual system according to an embodiment of the present invention.

도 6을 참고하면, 물리 시스템(101)에 포함된 디바이스가 클램프(clamp)라고 가정한다. 클램프는 업(Up)과 다운(Down)이라는 상태가 될 수 있다. 물리 시스템(101)에서 클램프는 시간에 따라 업 상태와 다운 상태로 전환될 수 있다.Referring to FIG. 6 , it is assumed that a device included in the physical system 101 is a clamp. The clamp may be in a state of Up and Down. In the physical system 101 , the clamp may be switched between an up state and a down state according to time.

이러한 물리 시스템(101)의 디바이스의 상태 전환을 고려하여, 물리 시스템(101)에 대응하는 가상 시스템(102)이 컴퓨팅 장치(103)에 의해 모델링될 수 있다. 가상 시스템(102)을 모델링할 때, 물리 시스템(101)의 디바이스인 클램프, 핀, 콘텍트, 로봇, 롬 라이터들 각각이 가상 시스템(102)에서 디바이스 세그먼트로 모델링될 수 있다. In consideration of the state transition of the device of the physical system 101 , the virtual system 102 corresponding to the physical system 101 may be modeled by the computing device 103 . When modeling the virtual system 102 , each of clamps, pins, contacts, robots, and ROM writers that are devices of the physical system 101 may be modeled as device segments in the virtual system 102 .

그리고, 작업 세그먼트는 적어도 하나의 디바이스 세그먼트와 연결될 수 있다. 도 6에서 작업 세그먼트는 클램프, 핀, 콘텍트, 로봇, 롬 라이터들에 대응하는 디바이스 세그먼트와 연결된다. In addition, the working segment may be connected to at least one device segment. In FIG. 6 , the working segment is connected to a device segment corresponding to a clamp, a pin, a contact, a robot, and a ROM writer.

작업 세그먼트는 물리 시스템(101)을 통해 수행되는 특정 작업 단위로 설정되어 모델링될 수 있다. 그러면, 물리 시스템(101)에서 수행되는 특정 작업에 참여하는 디바이스들에 대응하는 디바이스 세그먼트가 특정 작업에 대응하는 작업 세그먼트에 연결될 수 있다.The work segment may be set and modeled as a specific work unit performed through the physical system 101 . Then, a device segment corresponding to devices participating in a specific job performed in the physical system 101 may be connected to a job segment corresponding to the specific job.

디바이스 세그먼트는 현재 상태에 대응하는 복수의 스테이트들이 할당될 수 있다. 그러면, 작업 세그먼트의 프로세스는 디바이스 세그먼트들의 스테이트들을 시퀀스 형태로 연결한 결과를 의미한다. 예를 들어, 도 6의 작업 세그먼트는 (i) clamp에 대응하는 디바이스 세그먼트의 Down 스테이트, (ii) Pin에 대응하는 디바이스 세그먼트의 UP 스테이트, (iii) Contact에 대응하는 디바이스 세그먼트의 ADV 스테이트, (iv) Robot에 대응하는 디바이스 세그먼트의 WORK1 스테이트, (v) RomWriter에 대응하는 디바이스 세그먼트의 WRITE 1 스테이트의 순서로 프로세스가 설정될 수 있다.A device segment may be assigned a plurality of states corresponding to the current state. Then, the process of the working segment means the result of connecting the states of the device segments in a sequence form. For example, the working segment of FIG. 6 includes (i) the down state of the device segment corresponding to the clamp, (ii) the UP state of the device segment corresponding to the pin, (iii) the ADV state of the device segment corresponding to the contact, ( The process can be set in the order of iv) WORK1 state of the device segment corresponding to Robot and (v) WRITE 1 state of the device segment corresponding to RomWriter.

디바이스 세그먼트들 각각은 프로세스의 초기 상태에 있다. 즉, 프로세스의 초기 상태는 (i) clamp에 대응하는 디바이스 세그먼트의 UP 스테이트, (ii) Pin에 대응하는 디바이스 세그먼트의 DOWN 스테이트, (iii) Contact에 대응하는 디바이스 세그먼트의 RTN 스테이트, (iv) Robot에 대응하는 디바이스 세그먼트의 HOME 스테이트, (v) RomWriter에 대응하는 디바이스 세그먼트의 READY 스테이트이다.Each of the device segments is in the initial state of the process. That is, the initial state of the process is (i) the UP state of the device segment corresponding to the clamp, (ii) the DOWN state of the device segment corresponding to the pin, (iii) the RTN state of the device segment corresponding to the contact, (iv) the Robot The HOME state of the device segment corresponding to (v) the READY state of the device segment corresponding to the RomWriter.

그러면, 작업 세그먼트에 대해 외부 이벤트가 발생되면, 프로세스가 시작한다. 외부 이벤트가 발생되면, 작업 세그먼트에 연결된 디바이스 세그먼트에 대해 (i) clamp에 대응하는 디바이스 세그먼트의 Down 스테이트, (ii) Pin에 대응하는 디바이스 세그먼트의 UP 스테이트, (iii) Contact에 대응하는 디바이스 세그먼트의 ADV 스테이트, (iv) Robot에 대응하는 디바이스 세그먼트의 WORK1 스테이트, (v) RomWriter에 대응하는 디바이스 세그먼트의 WRITE 1 스테이트로 전환되어 프로세스가 진행된다.Then, when an external event occurs for the work segment, the process starts. When an external event occurs, for the device segment connected to the working segment, (i) the down state of the device segment corresponding to the clamp, (ii) the UP state of the device segment corresponding to the pin, (iii) the device segment corresponding to the contact. ADV state, (iv) WORK1 state of the device segment corresponding to Robot, and (v) WRITE 1 state of the device segment corresponding to RomWriter, the process proceeds.

이 때, 프로세스의 종료 상태는 프로세스의 초기 상태와 동일하게 된다. 이 때, 프로세스가 종료 상태가 되더라도 자동으로 초기 상태로 진입하지 않고, 추가적인 외부 이벤트가 발생되어야 초기 상태로 전환된다.At this time, the end state of the process becomes the same as the initial state of the process. At this time, even if the process enters the end state, it does not automatically enter the initial state, but is converted to the initial state only when an additional external event occurs.

컴퓨팅 장치(103)에 의해 수행되는 시스템 모델링 방법을 설명하면 다음과 같다. 컴퓨팅 장치(103)는 물리 시스템(101)의 디바이스와 디바이스를 통해 수행되는 특정 작업을 정의한다. 그리고, 컴퓨팅 장치(103)는 물리 시스템(101)의 디바이스를 가상 시스템(102)의 디바이스 세그먼트로 모델링한다. 그리고, 컴퓨팅 장치(103)는 물리 시스템(101)을 통해 수행되는 특정 작업을 가상 시스템(102)의 작업 세그먼트와 작업 세그먼트의 프로세스로 모델링할 수 있다. 작업 세그먼트의 프로세스는 디바이스 세그먼트의 스테이트를 시퀀스 형태로 연결한 결과이며, 프로세스의 초기 상태는 프로세스의 종료 상태와 동일하게 설정된다. 그리고, 프로세스의 초기 상태에서 외부 이벤트가 발생되어야 프로세스가 시작되며, 프로세스가 종료 상태에 도달하더라도 외부 이벤트가 발생되어야 초기 상태로 다시 진입한다.A system modeling method performed by the computing device 103 will be described as follows. The computing device 103 defines a device of the physical system 101 and a specific operation performed through the device. Then, the computing device 103 models the device of the physical system 101 as a device segment of the virtual system 102 . In addition, the computing device 103 may model a specific task performed through the physical system 101 as a work segment of the virtual system 102 and a process of the work segment. The process of the working segment is the result of connecting the states of the device segments in a sequence form, and the initial state of the process is set to be the same as the end state of the process. In addition, the process starts only when an external event occurs in the initial state of the process, and even when the process reaches the end state, an external event must occur before the process enters the initial state again.

도 7은 본 발명의 일실시예에 따른 물리 시스템과 가상 시스템 간의 연동을 설명하기 위한 예시이다.7 is an example for explaining interworking between a physical system and a virtual system according to an embodiment of the present invention.

도 7을 참고하면, 물리 시스템(101)은 2개의 재료를 센싱한 후 이송하는 작업을 수행하는 것이라고 가정한다. 그러면, 물리 시스템(101)의 작업에 관여하는 물리 시스템(101)의 구성 요소인 디바이스 각각이 설정될 수 있다. Referring to FIG. 7 , it is assumed that the physical system 101 senses two materials and then transfers them. Then, each device that is a component of the physical system 101 involved in the operation of the physical system 101 may be set.

이 후, 컴퓨팅 장치(103)에서 특정 작업에 따라 물리 시스템(101)의 구성 요소인 디바이스 각각 또는 이들의 조합이 가상 시스템(102)의 디바이스 세그먼트로 모델링될 수 있다. 그리고, 컴퓨팅 장치(103)에서 물리 시스템(101)의 디바이스를 통해 수행되는 특정 작업이 가상 시스템(102)의 작업 세그먼트로 설정된다. 작업 세그먼트는 적어도 하나의 디바이스 세그먼트와 연결되며, 작업 세그먼트의 프로세스는 디바이스 세그먼트의 스테이트들을 시퀀스 형태로 연결함으로써 모델링될 수 있다.Thereafter, each device or a combination thereof that is a component of the physical system 101 may be modeled as a device segment of the virtual system 102 according to a specific operation in the computing device 103 . In addition, a specific task performed by the computing device 103 through the device of the physical system 101 is set as a work segment of the virtual system 102 . A working segment is connected to at least one device segment, and a process of the working segment may be modeled by connecting states of the device segment in a sequence form.

도 8은 본 발명의 일실시예에 따른 물리 시스템에 포함된 각 구성 요소별로 연속 시간에서 프로세스의 진행 상황을 설명하기 위한 도면이다.8 is a diagram for explaining the progress of a process in a continuous time for each component included in the physical system according to an embodiment of the present invention.

도 8을 참고하면, 물리 시스템(101)에서 수행되는 특정 작업을 가상 시스템(102)에 대응되도록 모델링한 결과를 나타낸다. 이 때, 물리 시스템(101)을 가상 시스템(101)으로 모델링하는 경우, 컴퓨팅 장치(103)는 물리 시스템(101)을 통해 수행되는 특정 작업에 관여하는 복수의 디바이스들을 정의한다. 그리고, 컴퓨팅 장치(103)는 물리 시스템(101)에서 수행하는 특정 작업에 참여하는 디바이스(Sub-clamp, sub-part, robot, main clamp, main stopper 등)를 가상 시스템(102)의 디바이스 세그먼트로 모델링한다. 그리고, 디바이스 세그먼트들 각각의 스테이트들을 사이클에 따라 반복될 수 있다. 물리 시스템(101)에서 수행되는 작업들이 가상 시스템(102)의 작업 세그먼트로 모델링될 수 있다. 작업 세그먼트에서 수행되는 프로세스는 물리 시스템(101)에서 수행되는 특정 작업의 로직과 관련된다. 그리고, 작업 세그먼트의 프로세스는 디바이스 세그먼트의 스테이트들을 연결함으로써 모델링될 수 있다.Referring to FIG. 8 , a result of modeling a specific task performed in the physical system 101 to correspond to the virtual system 102 is shown. In this case, when the physical system 101 is modeled as the virtual system 101 , the computing device 103 defines a plurality of devices involved in a specific operation performed through the physical system 101 . In addition, the computing device 103 converts a device (sub-clamp, sub-part, robot, main clamp, main stopper, etc.) participating in a specific operation performed by the physical system 101 as a device segment of the virtual system 102 . Model it. In addition, states of each of the device segments may be repeated according to a cycle. Tasks performed in the physical system 101 may be modeled as work segments in the virtual system 102 . The processes performed in a work segment are related to the logic of a particular task performed in the physical system 101 . And, the process of the working segment can be modeled by connecting the states of the device segment.

도 6에서 디바이스 세그먼트들의 스테이트들을 연결한 결과가 작업 세그먼트의 프로세스로 모델링된다. 디바이스 세그먼트들의 스테이트들은 사이클에 따라 반복적으로 전환된다.In FIG. 6 , a result of connecting states of device segments is modeled as a process of a working segment. The states of the device segments are repeatedly switched according to a cycle.

도 9는 본 발명의 일실시예에 따른 물리 시스템에 대응하는 가상 시스템의 세그먼트 및 세그먼트의 프로세스 예시를 도시한 도면이다.9 is a diagram illustrating a segment of a virtual system corresponding to a physical system and a process example of a segment according to an embodiment of the present invention.

도 9는 자동차 제작 공정이라는 특정 작업에 대해, 자동차 공장이라는 물리 시스템(101)을 가상 시스템(102)으로 모델링하는 과정을 나타낸다. 이 때, 자동차 제작 공정을 Main buck이라는 상위 레벨의 작업 세그먼트로 모델링될 수 있다. 그리고, 물리 시스템(101)에서 자동차의 바디를 제작하는 작업은 가상 시스템(102)에서 작업 세그먼트인 바디 세그먼트로 모델링된다. 또한, 물리 시스템(101)에서 자동차의 바디에 문을 조립하는 작업은 가상 시스템(102)에서 작업 세그먼트인 사이드 세그먼트로 모델링된다. 작업 세그먼트인 바디 세그먼트와 사이드 세그먼트는 main buck 세그먼트의 하위 레벨의 세그먼트로 설정될 수 있다.9 shows a process of modeling a physical system 101 called an automobile factory as a virtual system 102 for a specific operation called a car manufacturing process. At this time, the automobile manufacturing process can be modeled as a high-level work segment called the main buck. In addition, the work of manufacturing the body of the vehicle in the physical system 101 is modeled as a body segment that is a work segment in the virtual system 102 . In addition, the task of assembling the door to the body of the vehicle in the physical system 101 is modeled as a side segment, which is a work segment, in the virtual system 102 . The working segment, body segment and side segment, can be set as a segment at a lower level of the main buck segment.

바디 세그먼트의 프로세스는 바디 데이터가 입력되거나 또는 바디 파트가 전달되는 것과 같은 외부 이벤트가 발생됨에 따라 시작한다. 마찬가지로, 사이드 세그먼트의 프로세스도 사이드 데이터가 입력되거나 또는 사이드 파트가 전달되는 것과 같은 외부 이벤트가 발생됨에 다라 시작한다.The process of body segments begins as an external event occurs, such as body data being entered or body parts being transferred. Similarly, the process of a side segment begins when an external event occurs, such as side data being entered or a side part being delivered.

즉, 자동차의 바디를 제작하는 작업과 관련된 바디 세그먼트는 센서 등을 통해 확인된 바디 데이터(body data)가 입력되면 프로세스가 시작된다. 작업 프로세스인 바디 세그먼트의 프로세스는 (1) 바디 파트에 대한 클램프 닫기, (2) 사이드 세그먼트의 데이터 체크, (3) 3개의 독립된 로봇에서의 작업, (4) 바디 파트에 대한 클램프 열기와 같은 디바이스 세그먼트의 스테이트들을 시퀀스 형태로 모델링된다. 즉, 바디 세그먼트는 클램프에 대응하는 디바이스 세그먼트, 로봇에 대응하는 디바이스 세그먼트, 데이터를 체크하는 센서에 대응하는 디바이스 세그먼트와 연결된다. 바디 세그먼트의 프로세스는 바디 세그먼트에 연결된 디바이스 세그먼트들의 스테이트들의 연결 관계로 설명될 수 있다. 이 때, 바디 세그먼트의 프로세스가 종료 상태인 클램프 열기로 되더라도, 외부 이벤트를 통해 초기화되어야 초기 상태인 클램프 열기로 전환된다. 즉, 바디 세그먼트의 초기 상태는 클램프 열기이며, 외부 이벤트에 따라 프로세스의 첫번째 스테이트인 클램프 닫기부터 프로세스가 시작한다.That is, the process of the body segment related to the work of manufacturing the body of the vehicle is started when body data confirmed through a sensor or the like is input. The process of a body segment, which is a working process, is a device such as (1) close clamp on body part, (2) check data on side segment, (3) work on 3 independent robots, (4) open clamp on body part The states of the segment are modeled in the form of a sequence. That is, the body segment is connected to a device segment corresponding to a clamp, a device segment corresponding to a robot, and a device segment corresponding to a sensor for checking data. The process of a body segment can be described as a connection relationship between states of device segments connected to the body segment. At this time, even if the process of the body segment becomes the clamp open state that is the end state, it must be initialized through an external event to be converted to the initial clamp open state. That is, the initial state of the body segment is clamp open, and the process starts from clamp close, which is the first state of the process according to an external event.

그리고, 사이드 세그먼트의 프로세스는 (1) 로딩 위치로 게이트 들기, (2) 사이드 파트에 대한 클램프 닫기, (3) 세팅 위치로 게이트 들기 시퀀스, (4) 사이드 슬라이딩 전진, (5) 사이드 슬라딩 후진 및 사이드 파트 클램프 열기와 같은 디바이스 세그먼트의 스테이트들에 대한 시퀀스 형태로 모델링된다. And, the process of side segment is (1) gate lifting to loading position, (2) closing clamp on side part, (3) gate lifting sequence to setting position, (4) side sliding forward, (5) side sliding backward And it is modeled in the form of a sequence for the states of the device segment, such as opening the side part clamp.

바디 세그먼트와 사이드 세그먼트는 서로 병렬적으로 동작하나, 어느 하나의 세그먼트의 프로세스는 다른 세그먼트의 프로세스의 외부 이벤트로 적용될 수 있다. 바디 세그먼트의 프로세스에서 특정 스테이트(ex. 바디 사이드 데이터 체크)는 바디 세그먼트와 병렬적으로 처리되는 사이드 세그먼트의 프로세스에 외부 이벤트로 작용한다. 마찬가지로, 사이드 세그먼트의 프로세스에서 특정 스테이트(ex. 사이드 슬라이딩 후진 및 사이드 파트 클램프 열기)는 바디 세그먼트의 프로세스에서 특정 스테이트(ex. 바디 파트 클램프 열기)의 처리 결과에 따라 수행된다. Main Buck의 세그먼트는 하위 레벨의 작업 세그먼트인 바디 세그먼트와 사이드 세그먼트가 종료되어야 최종적으로 종료된다.The body segment and the side segment operate in parallel with each other, but the process of one segment may be applied as an external event of the process of the other segment. A specific state in the process of the body segment (eg, body-side data check) acts as an external event to the process of the side segment that is processed in parallel with the body segment. Similarly, in the process of the side segment, a specific state (eg, side sliding backward and opening the side part clamp) is performed according to the processing result of the specific state (eg, opening the body part clamp) in the process of the body segment. The segment of the Main Buck is finally finished only when the body segment and the side segment, which are the lower-level work segments, are finished.

도 10은 본 발명의 일실시예에 따른 서로 다른 세그먼트들에서 수행되는 프로세스 간의 관계를 나타내는 도면이다.10 is a diagram illustrating a relationship between processes performed in different segments according to an embodiment of the present invention.

도 10은 도 9에서 설명한 바디 세그먼트와 사이드 세그먼트의 각각의 프로세스를 타이밍 다이어그램을 통해 연동한 과정을 설명한다. 도 10을 참고하면, 사이드 세그먼트의 프로세스에서 사이드 세그먼트의 사이드 슬라이드라는 스테이트로 전환되면, 사이드 세그먼트와 병렬적으로 처리되는 바디 세그먼트의 로봇 작업라는 스테이트로 전환된다.FIG. 10 describes a process in which the processes of the body segment and the side segment described in FIG. 9 are linked through a timing diagram. Referring to FIG. 10 , when the side segment process is converted to a state called side slide, the state is changed to a robot operation of the body segment that is processed in parallel with the side segment.

즉, 본 발명의 일실시예에 따르면, 서로 다른 세그먼트들 간의 프로세스는 프로세스를 구성하는 스테이트들 간의 시간적인 선후 관계나 트리거링 조건을 설정하는 것만으로 물리 시스템(101)에 대응하는 가상 시스템(102)의 모델링이 가능할 수 있다.That is, according to an embodiment of the present invention, the virtual system 102 corresponding to the physical system 101 only by setting a temporal precedence relationship or a triggering condition between states constituting the process for a process between different segments. modeling may be possible.

도 11은 본 발명의 일실시예에 따른 프로세스의 현재 상태를 설명하기 위한 도면이다.11 is a diagram for explaining a current state of a process according to an embodiment of the present invention.

도 11은 가상 시스템(102)을 모델링하기 위한 작업 세그먼트에 연결되는 디바이스 세그먼트의 스테이트에 대한 진행 상태를 사이클 시작(Cycle start: CS)과 사이클 종료(Cycle End: CE)로 구분할 수 있다. 도 11의 경우, 특정 디바이스 세그먼트의 스테이트가 사이클에 따라 반복적으로 진행되며, 디바이스 세그먼트의 현재 진행 상황이 시작에서 종료가 0부터 1이라는 정규화된 값으로 매핑되어 설명될 수 있다. 각 디바이스 세그먼트 별로 1cycle당 시작에서 종료까지의 처리 속도가 다르기 때문에, 모든 디바이스 세그먼트의 진행 상황이 0에서 1로 정규화할 수 있다.11 , a progress state of a state of a device segment connected to a work segment for modeling the virtual system 102 may be divided into a cycle start (CS) and a cycle end (CE). In the case of FIG. 11 , the state of a specific device segment repeatedly progresses according to a cycle, and the current progress state of the device segment may be described by being mapped to normalized values ranging from 0 to 1 from start to end. Since the processing speed from start to end per cycle is different for each device segment, the progress of all device segments can be normalized from 0 to 1.

그리고, 디바이스 세그먼트에서 스테이트의 진행 상황이 특정 좌표(ex. 구좌표계- {θ, φ, r} = {f(x), g(x), h(x)} (x =tick))를 통해 설명될 수 있다.And, the state progress in the device segment is determined through specific coordinates (ex. spherical coordinate system- {θ, φ, r} = {f(x), g(x), h(x)} (x =tick)) can be explained.

θ는 디바이스 세그먼트에 대응하는 디바이스의 연속 값을 나타내며, 다음과 같은 관계를 나타낸다.θ represents a continuous value of a device corresponding to a device segment, and represents the following relationship.

θ = 0 이면 C.S, C.E = {false, false}If θ = 0 then C.S, C.E = {false, false}

0 < θ < 1 이면 C.S, C.E = {true, false}If 0 < θ < 1 then C.S, C.E = {true, false}

θ = 1 이면 C.S, C.E = {true ,true}If θ = 1 then C.S, C.E = {true ,true}

θ는 특정 디바이스의 정규화된 사이클 시작과 사이클 종료 사이에 어느 위치에 도달했는지를 파악할 수 있고, 이를 통해 해당 디바이스 세그먼트의 스테이트의 진행 상태가 확인될 수 있다.θ can determine which position is reached between the start and end of the normalized cycle of a specific device, and through this, the progress of the state of the corresponding device segment can be checked.

여기서, φ는 디바이스 세그먼트의 진행 상황을 나타내는 레이어(φ { 0≤ φ ≤1 } : State Layer)를 의미한다. 레이어와 관련하여, g(x) = φ = 0 이면 Single Layer, 0 < φ < 1 이면 Multi Layer로 구분될 수 있다.Here, φ means a layer (φ { 0 ≤ φ ≤ 1 }: State Layer) indicating the progress of the device segment. With respect to the layer, it can be divided into a single layer if g(x) = φ = 0, and a multi layer if 0 < φ < 1.

한편, r은 디바이스 세그먼트의 활성 상태 값(r { 0≤ r ≤1 } : Activation Value)을 나타내며, 디바이스 세그먼트에 대응하는 디바이스의 이상 여부를 파악할 수 있다. 이 때, h(x) = r = 1 이면 Normal condition, r < 1 이면 Abnormal Condition을 나타낸다.Meanwhile, r represents an activation state value (r { 0 ≤ r ≤ 1 }: Activation Value) of a device segment, and it is possible to determine whether a device corresponding to the device segment is abnormal. In this case, if h(x) = r = 1, it represents a Normal condition, and if r < 1, it represents an Abnormal Condition.

도 12는 본 발명의 일실시예에 따른 가상 시스템의 세그먼트별 프로세스에 대응하는 현재 상태를 설명하기 위한 도면이다.12 is a diagram for explaining a current state corresponding to a process for each segment of a virtual system according to an embodiment of the present invention.

도 12의 A는 재료에 특정 문자를 각인하는 엠보싱 작업을 나타낸다. 엠보싱 작업은 엠보싱 장치인 물리 시스템의 실린더 A와 실린더 B와 같은 디바이스에 의해 수행된다.12A shows an embossing operation to imprint a specific character on a material. The embossing operation is performed by devices such as cylinder A and cylinder B of the physical system, which is an embossing apparatus.

이와 같은 물리 시스템(101)에 대응하는 엠보싱 장치의 동작을 가상 시스템(102)의 작업 세그먼트와 작업 세그먼트의 프로세스로 모델링하면 도 12의 A로 표현될 수 있다. 도 12의 A의 경우, 실린더 A의 디바이스 세그먼트에서 UP/DOWN 스테이트의 전환 과정을 통해 재료에 각인하고, 실린더 B의 디바이스 세그먼트에서 재료를 실린더 A의 위치로 전진하거나 또는 원래 위치로 되돌아오는 후진하는 스테이트의 전환 과정을 나타낸다. 이 때, 실린더 A의 전진 스테이트는 A-, 후진 스테이트는 A+로 표현된다. 그리고, 실린더 B의 전진 스테이트는 B-, 후진 스테이트는 B+로 표현된다. 그리고, 디바이스 세그먼트인 실린더 A의 스테이트와 디바이스 세그먼트인 실린더 B의 스테이트를 엠보싱 작업에 따라 연결한 결과가 엠보싱 작업의 작업 세그먼트에서의 프로세스로 모델링될 수 있다.If the operation of the embossing apparatus corresponding to the physical system 101 is modeled as a working segment of the virtual system 102 and a process of the working segment, it may be represented by A of FIG. 12 . In the case of A of FIG. 12, the material is imprinted on the material through the switching process of the UP/DOWN state in the device segment of cylinder A, and the device segment of cylinder B advances the material to the position of cylinder A or backwards returning to the original position. State transition process. At this time, the forward state of the cylinder A is expressed as A-, and the reverse state is expressed as A+. And, the forward state of cylinder B is expressed as B-, and the reverse state is expressed as B+. In addition, a result of connecting the state of cylinder A, which is the device segment, and the state of, cylinder B, which is the device segment, according to the embossing operation may be modeled as a process in the working segment of the embossing operation.

이 때, 엠보싱 작업이라는 작업 세그먼트에 대해 실린더 A의 디바이스 세그먼트와 실린더 B의 디바이스 세그먼트가 연결될 수 있다. 그리고, 엠보싱 장치의 작업 세그먼트는 버튼 ON이라는 외부 이벤트가 발생되어야 작업 세그먼트의 프로세스가 시작한다. At this time, the device segment of the cylinder A and the device segment of the cylinder B may be connected for a work segment called an embossing operation. And, in the work segment of the embossing device, the process of the work segment starts only when an external event called button ON occurs.

엠보싱 작업이라는 작업 세그먼트의 프로세스는 디바이스 세그먼트 A의 (1) 실린더 A의 전진 스테이트(A-), (2) 실린더 A의 후진 스테이트(A+), (3) 실린더 A의 전진 스테이트 (A-)의 순서로 진행된다.The process of the work segment, called embossing, consists of (1) forward state of cylinder A (A-), (2) reverse state of cylinder A (A+), and (3) forward state of cylinder A (A-) of device segment A. proceeds in order.

If Start On 이벤트 then Cylinder A 전진명령(자기유지)If Start On event then Cylinder A forward command (self-holding)

If Cylinder A + then Cylinder A 후진명령(자기유지)If Cylinder A + then Cylinder A reverse command (self-holding)

If Cylinder A - Rising Edge then C.E(A) is ON If Cylinder A - Rising Edge then C.E(A) is ON

If Start Off 이벤트 then C.E(A) is OFFIf Start Off event then C.E(A) is OFF

엠보싱 작업이라는 작업 세그먼트의 프로세스는 디바이스 세그먼트 B의 (1) 실린더 B의 전진 스테이트(B-), (2)실린더 B의 후진 스테이트(B+), (3) 실린더 B의 후진 스테이트 (B-)의 순서로 진행된다. The process of the working segment, called embossing, consists of (1) the forward state of cylinder B (B-), (2) the reverse state of cylinder B (B+), and (3) the reverse state of cylinder B (B-) of device segment B. proceeds in order.

작업 세그먼트의 프로세스의 진행 중에 디바이스 세그먼트인 실린더 B의 전진 스테이트(B-)는 디바이스 세그먼트인 세그먼트 A에서 실린더 A의 전진 스테이트(A-)로 전환된 이후에 진행된다. During the process of the working segment, the forward state (B-) of cylinder B, which is the device segment, is changed after switching from the device segment, segment A, to the forward state (A-) of cylinder A.

그리고, 엠보싱 작업에 대한 작업 세그먼트의 프로세스는 엠보싱 장치에 대한 버튼 ON이라는 외부 이벤트에 따라 시작되며, 엠보싱 장치에 대한 버튼 OFF라는 외부 이벤트에 따라 종료 상태에서 초기화된다. 그러면, 버튼 OFF라는 외부 이벤트를 통해 프로세스의 종료 상태가 프로세스의 초기 상태로 전환될 수 있다. 이를 표현하면 다음과 같다.And, the process of the work segment for the embossing operation is started according to an external event of a button ON for the embossing device, and is initialized in an end state according to an external event of a button OFF for the embossing device. Then, the end state of the process may be converted to the initial state of the process through an external event called button OFF. This is expressed as:

If Cylinder A - & C.E(A) then Cylinder B 전진명령If Cylinder A - & C.E(A) then Cylinder B Forward

If Cylinder B + then Cylinder B 후진명령(자기유지)If Cylinder B + then Cylinder B reverse command (self-holding)

도 12의 B를 참고하면, 엠보싱 장치의 작업 프로세스에 연결된 디바이스 세그먼트의 스테이트에 대한 진행 상태(시작에서 종료)가 사이클로 표현되며, 디바이스 세그먼트의 사이클은 스테이트가 전환되는 과정으로 반복된다. 엠보싱 장치라는 물리 시스템을 구성하는 디바이스인 실린더 A에 대응하는 디바이스 세그먼트와 실린더 B에 대응하는 디바이스 세그먼트로 모델링될 수 있다.Referring to FIG. 12B , the progress state (from start to end) of the state of the device segment connected to the work process of the embossing apparatus is expressed as a cycle, and the cycle of the device segment is repeated as a process of state transition. It can be modeled as a device segment corresponding to cylinder A and a device segment corresponding to cylinder B, which are devices constituting a physical system called an embossing apparatus.

실린더 A의 디바이스 세그먼트에 대한 사이클에서 θ는 실린더 A의 프로세스의 진행 상태를 나타낸다. 그리고, 실린더 A의 디바이스 세그먼트에 대한 사이클에서 φ는 실린더 A의 디바이스 세그먼트에 대한 스테이트(A- or A+)를 나타낸다. 마찬가지로, 실린더 B의 디바이스 세그먼트에 대한 사이클에서 θ는 실린더 B의 프로세스의 진행 상태를 나타낸다. 그리고, 실린더 B의 디바이스 세그먼트에 대한 사이클에서 φ는 실린더 B의 프로세스에서 스테이트(B- or B+)를 나타낸다. 실린더 A와 실린더 B 각각의 디바이스 세그먼트에 대한 사이클을 통해 엠보싱 작업의 작업 세그먼트의 전체 진행 상황이 시각적으로 파악될 수 있다.In the cycle for the device segment of cylinder A, θ represents the progress of the process of cylinder A. And, in the cycle for the device segment of the cylinder A, φ represents the state (A- or A+) for the device segment of the cylinder A. Similarly, in the cycle for the device segment of cylinder B, θ represents the progress of the process of cylinder B. And, in the cycle for the device segment of cylinder B, φ represents the state (B- or B+) in the process of cylinder B. Through the cycle for each device segment of cylinder A and cylinder B, the overall progress of the working segment of the embossing operation can be visually grasped.

한편, 본 발명에 따른 방법은 컴퓨터에서 실행될 수 있는 프로그램으로 작성되어 마그네틱 저장매체, 광학적 판독매체, 디지털 저장매체 등 다양한 기록 매체로도 구현될 수 있다.Meanwhile, the method according to the present invention is written as a program that can be executed on a computer and can be implemented in various recording media such as magnetic storage media, optical reading media, and digital storage media.

본 명세서에 설명된 각종 기술들의 구현들은 디지털 전자 회로조직으로, 또는 컴퓨터 하드웨어, 펌웨어, 소프트웨어로, 또는 그들의 조합들로 구현될 수 있다. 구현들은 데이터 처리 장치, 예를 들어 프로그램가능 프로세서, 컴퓨터, 또는 다수의 컴퓨터들의 동작에 의한 처리를 위해, 또는 이 동작을 제어하기 위해, 컴퓨터 프로그램 제품, 즉 정보 캐리어, 예를 들어 기계 판독가능 저장 장치(컴퓨터 판독가능 매체) 또는 전파 신호에서 유형적으로 구체화된 컴퓨터 프로그램으로서 구현될 수 있다. 상술한 컴퓨터 프로그램(들)과 같은 컴퓨터 프로그램은 컴파일된 또는 인터프리트된 언어들을 포함하는 임의의 형태의 프로그래밍 언어로 기록될 수 있고, 독립형 프로그램으로서 또는 모듈, 구성요소, 서브루틴, 또는 컴퓨팅 환경에서의 사용에 적절한 다른 유닛으로서 포함하는 임의의 형태로 전개될 수 있다. 컴퓨터 프로그램은 하나의 사이트에서 하나의 컴퓨터 또는 다수의 컴퓨터들 상에서 처리되도록 또는 다수의 사이트들에 걸쳐 분배되고 통신 네트워크에 의해 상호 연결되도록 전개될 수 있다.Implementations of the various techniques described herein may be implemented in digital electronic circuitry, or in computer hardware, firmware, software, or combinations thereof. Implementations may be implemented for processing by, or for controlling the operation of, a data processing device, eg, a programmable processor, computer, or number of computers, a computer program product, ie an information carrier, eg, a machine readable storage It may be embodied as a computer program tangibly embodied in an apparatus (computer readable medium) or a radio signal. A computer program, such as the computer program(s) described above, may be written in any form of programming language, including compiled or interpreted languages, as a standalone program or in a module, component, subroutine, or computing environment. It can be deployed in any form including as other units suitable for use. A computer program may be deployed to be processed on one computer or multiple computers at one site or to be distributed across multiple sites and interconnected by a communications network.

컴퓨터 프로그램의 처리에 적절한 프로세서들은 예로서, 범용 및 특수 목적 마이크로프로세서들 둘 다, 및 임의의 종류의 디지털 컴퓨터의 임의의 하나 이상의 프로세서들을 포함한다. 일반적으로, 프로세서는 판독 전용 메모리 또는 랜덤 액세스 메모리 또는 둘 다로부터 명령어들 및 데이터를 수신할 것이다. 컴퓨터의 요소들은 명령어들을 실행하는 적어도 하나의 프로세서 및 명령어들 및 데이터를 저장하는 하나 이상의 메모리 장치들을 포함할 수 있다. 일반적으로, 컴퓨터는 데이터를 저장하는 하나 이상의 대량 저장 장치들, 예를 들어 자기, 자기-광 디스크들, 또는 광 디스크들을 포함할 수 있거나, 이것들로부터 데이터를 수신하거나 이것들에 데이터를 송신하거나 또는 양쪽으로 되도록 결합될 수도 있다. 컴퓨터 프로그램 명령어들 및 데이터를 구체화하는데 적절한 정보 캐리어들은 예로서 반도체 메모리 장치들, 예를 들어, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(Magnetic Media), CD-ROM(Compact Disk Read Only Memory), DVD(Digital Video Disk)와 같은 광 기록 매체(Optical Media), 플롭티컬 디스크(Floptical Disk)와 같은 자기-광 매체(Magneto-Optical Media), 롬(ROM, Read Only Memory), 램(RAM, Random Access Memory), 플래시 메모리, EPROM(Erasable Programmable ROM), EEPROM(Electrically Erasable Programmable ROM) 등을 포함한다. 프로세서 및 메모리는 특수 목적 논리 회로조직에 의해 보충되거나, 이에 포함될 수 있다.Processors suitable for processing a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer. In general, a processor will receive instructions and data from either read-only memory or random access memory or both. Elements of a computer may include at least one processor that executes instructions and one or more memory devices that store instructions and data. In general, a computer may include, receive data from, transmit data to, or both, one or more mass storage devices for storing data, for example magnetic, magneto-optical disks, or optical disks. may be combined to become Information carriers suitable for embodying computer program instructions and data are, for example, semiconductor memory devices, for example, magnetic media such as hard disks, floppy disks and magnetic tapes, Compact Disk Read Only Memory (CD-ROM). ), optical recording media such as DVD (Digital Video Disk), magneto-optical media such as optical disk, ROM (Read Only Memory), RAM (RAM) , Random Access Memory), flash memory, EPROM (Erasable Programmable ROM), EEPROM (Electrically Erasable Programmable ROM), and the like. Processors and memories may be supplemented by, or included in, special purpose logic circuitry.

또한, 컴퓨터 판독가능 매체는 컴퓨터에 의해 액세스될 수 있는 임의의 가용매체일 수 있고, 컴퓨터 저장매체 및 전송매체를 모두 포함할 수 있다.In addition, the computer-readable medium may be any available medium that can be accessed by a computer, and may include both computer storage media and transmission media.

본 명세서는 다수의 특정한 구현물의 세부사항들을 포함하지만, 이들은 어떠한 발명이나 청구 가능한 것의 범위에 대해서도 제한적인 것으로서 이해되어서는 안되며, 오히려 특정한 발명의 특정한 실시형태에 특유할 수 있는 특징들에 대한 설명으로서 이해되어야 한다. 개별적인 실시형태의 문맥에서 본 명세서에 기술된 특정한 특징들은 단일 실시형태에서 조합하여 구현될 수도 있다. 반대로, 단일 실시형태의 문맥에서 기술한 다양한 특징들 역시 개별적으로 혹은 어떠한 적절한 하위 조합으로도 복수의 실시형태에서 구현 가능하다. 나아가, 특징들이 특정한 조합으로 동작하고 초기에 그와 같이 청구된 바와 같이 묘사될 수 있지만, 청구된 조합으로부터의 하나 이상의 특징들은 일부 경우에 그 조합으로부터 배제될 수 있으며, 그 청구된 조합은 하위 조합이나 하위 조합의 변형물로 변경될 수 있다.While this specification contains numerous specific implementation details, they should not be construed as limitations on the scope of any invention or claim, but rather as descriptions of features that may be specific to particular embodiments of particular inventions. should be understood Certain features that are described herein in the context of separate embodiments may be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment may also be implemented in multiple embodiments, either individually or in any suitable subcombination. Further, although features operate in a particular combination and may be initially depicted as claimed as such, one or more features from a claimed combination may in some cases be excluded from the combination, the claimed combination being a sub-combination. or a variant of a sub-combination.

마찬가지로, 특정한 순서로 도면에서 동작들을 묘사하고 있지만, 이는 바람직한 결과를 얻기 위하여 도시된 그 특정한 순서나 순차적인 순서대로 그러한 동작들을 수행하여야 한다거나 모든 도시된 동작들이 수행되어야 하는 것으로 이해되어서는 안 된다. 특정한 경우, 멀티태스킹과 병렬 프로세싱이 유리할 수 있다. 또한, 상술한 실시형태의 다양한 장치 컴포넌트의 분리는 그러한 분리를 모든 실시형태에서 요구하는 것으로 이해되어서는 안되며, 설명한 프로그램 컴포넌트와 장치들은 일반적으로 단일의 소프트웨어 제품으로 함께 통합되거나 다중 소프트웨어 제품에 패키징 될 수 있다는 점을 이해하여야 한다.Likewise, although acts are depicted in the drawings in a particular order, it should not be construed that all acts shown must be performed or that such acts must be performed in the specific order or sequential order shown to obtain desirable results. In certain cases, multitasking and parallel processing may be advantageous. Further, the separation of the various device components of the above-described embodiments should not be construed as requiring such separation in all embodiments, and the program components and devices described may generally be integrated together into a single software product or packaged into multiple software products. You have to understand that you can.

한편, 본 명세서와 도면에 개시된 본 발명의 실시 예들은 이해를 돕기 위해 특정 예를 제시한 것에 지나지 않으며, 본 발명의 범위를 한정하고자 하는 것은 아니다. 여기에 개시된 실시 예들 이외에도 본 발명의 기술적 사상에 바탕을 둔 다른 변형 예들이 실시 가능하다는 것은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 자명한 것이다.On the other hand, the embodiments of the present invention disclosed in the present specification and drawings are merely presented as specific examples to aid understanding, and are not intended to limit the scope of the present invention. It will be apparent to those of ordinary skill in the art to which the present invention pertains that other modifications based on the technical spirit of the present invention can be implemented in addition to the embodiments disclosed herein.

Claims (13)

컴퓨팅 장치에 의해 수행되는 물리 시스템의 디바이스들을 식별하는 단계;
상기 식별된 물리 시스템의 작업과 작업을 수행하는 디바이스에 기초하여 상기 물리 시스템에 대응하는 가상 시스템의 세그먼트를 설정하는 단계; 및
상기 설정된 세그먼트를 통해 가상 시스템을 모델링하는 단계
를 포함하고,
상기 세그먼트는, (i) 물리 시스템의 작업에 대응하는 복수의 작업 세그먼트들 및 (ii) 물리 시스템의 작업을 수행하는 디바이스에 대응하는 디바이스 세그먼트를 포함하고,
상기 작업 세그먼트의 프로세스는, 상기 디바이스 세그먼트의 스테이트를 시퀀스 형태로 연결함으로써 설정되고,
상기 작업 세그먼트의 프로세스는 외부 이벤트에 따라 시작하며, 프로세스가 시작하면 종료될 때까지 외부 이벤트에 의해 중단되지 않고,
상기 복수의 작업 세그먼트들 중 어느 하나의 작업 세그먼트의 처리 결과는 다른 작업 세그먼트의 프로세스가 진행되기 위한 외부 이벤트로 설정되는 시스템 모델링 방법.
identifying devices of a physical system performed by a computing device;
setting a segment of a virtual system corresponding to the physical system based on the identified task of the physical system and a device performing the task; and
modeling a virtual system through the set segment
including,
The segment includes (i) a plurality of work segments corresponding to the work of the physical system and (ii) a device segment corresponding to a device performing the work of the physical system,
The process of the working segment is set by connecting the states of the device segment in a sequence form,
The process of the work segment starts according to an external event, and when a process starts, it is not interrupted by an external event until it ends,
A system modeling method in which a processing result of any one of the plurality of work segments is set as an external event for a process of another work segment to proceed.
삭제delete 삭제delete 삭제delete 제1항에 있어서,
상기 프로세스는,
상기 물리 시스템의 작업에 대한 시간적 및 공간적인 사건 흐름을 가상 시스템의 작업 세그먼트에 대해 설정한 결과인 시스템 모델링 방법.
According to claim 1,
The process is
A system modeling method that is a result of setting the temporal and spatial event flow for the work of the physical system for the work segment of the virtual system.
제1항에 있어서,
상기 프로세스는,
상기 작업 세그먼트에 연결된 적어도 하나의 디바이스 세그먼트의 스테이트들을 시퀀스 형태로 연결함으로써 설정되는 시스템 모델링 방법.
According to claim 1,
The process is
A system modeling method set by connecting states of at least one device segment connected to the working segment in a sequence form.
제1항에 있어서,
상기 작업 세그먼트의 프로세스는,
상기 작업 세그먼트에 대한 제1 이벤트가 존재하면 초기 상태에서 시작되고, 상기 프로세스의 종료 상태는 작업 세그먼트에 대한 제2 이벤트에 따라 초기 상태로 전환되는 시스템 모델링 방법.
According to claim 1,
The process of the working segment is
A method for modeling a system wherein the first event for the working segment is started in an initial state if it exists, and the end state of the process is transitioned to the initial state according to a second event for the working segment.
제1항에 있어서,
상기 작업 세그먼트의 프로세스는,
상기 작업 세그먼트의 프로세스가 진행되는 연속적인 시간을 정규화한 정보와 상기 작업 세그먼트의 프로세스를 구성하는 디바이스 세그먼트의 스테이트에 대한 상태를 나타내는 정보, 상기 디바이스 세그먼트에 대응하는 디바이스의 이상 정도를 나타내는 정보 중 적어도 하나의 정보를 통해 표현되는 시스템 모델링 방법.
According to claim 1,
The process of the working segment is
At least among information normalizing a continuous time during which the process of the working segment is performed, information indicating the state of a device segment constituting the process of the working segment, and information indicating the degree of abnormality of a device corresponding to the device segment A system modeling method expressed through a single piece of information.
제1항에 있어서,
상기 작업 세그먼트는,
상위 레벨에서 하위 레벨로 계층에 따라 설정될 수 있으며, 하위 레벨의 작업 세그먼트가 모두 종료되어야 최상위 레벨의 작업 세그먼트가 종료하는 시스템 모델링 방법.
According to claim 1,
The working segment is
A system modeling method that can be set according to the hierarchy from a higher level to a lower level, and that the work segments of the highest level end only when all work segments of the lower level are closed.
제1항에 있어서,
상기 작업 세그먼트의 프로세스에서 종료 상태는, 상기 작업 세그먼트에서 초기 상태와 동일한 시스템 모델링 방법.
According to claim 1,
An end state in the process of the work segment is the same as an initial state in the work segment.
제1항에 있어서,
상기 세그먼트의 프로세스에서 특정 스테이트는, 상기 작업 세그먼트에 대해 병렬적으로 처리되는 다른 작업 세그먼트에 포함된 특정 스테이트를 트리거링하기 위한 이벤트가 될 수 있는 시스템 모델링 방법.
According to claim 1,
A method for modeling a system wherein a specific state in the process of the segment may be an event for triggering a specific state included in another working segment that is processed in parallel to the working segment.
물리 시스템의 디바이스들을 식별하는 단계;
상기 식별된 물리 시스템의 작업과 작업을 수행하는 디바이스에 기초하여 상기 물리 시스템에 대응하는 가상 시스템의 디바이스 세그먼트와 작업 세그먼트를 설정하는 단계; 및
상기 디바이스 세그먼트의 스테이트를 이용하여 상기 작업 세그먼트의 프로세스를 모델링하는 단계;
상기 작업 세그먼트의 프로세스를 컴파일하여 상기 가상 시스템의 가상 제어 또는 상기 물리 시스템의 물리 제어에 적용하는 단계
를 포함하고,
상기 작업 세그먼트의 프로세스는, 상기 디바이스 세그먼트의 스테이트를 시퀀스 형태로 연결함으로써 설정되고,
상기 작업 세그먼트의 프로세스는 외부 이벤트에 따라 시작하며, 프로세스가 시작하면 종료될 때까지 외부 이벤트에 의해 중단되지 않고,
복수의 작업 세그먼트들 중 어느 하나의 작업 세그먼트의 처리 결과는 다른 작업 세그먼트의 프로세스가 진행되기 위한 외부 이벤트로 설정되는 시스템 모델링 방법.
identifying devices in the physical system;
setting a device segment and a working segment of a virtual system corresponding to the physical system based on the identified physical system operation and a device performing the operation; and
modeling the process of the working segment using the state of the device segment;
Compiling the process of the working segment and applying it to the virtual control of the virtual system or the physical control of the physical system
including,
The process of the working segment is set by connecting the states of the device segment in a sequence form,
The process of the work segment starts according to an external event, and when a process starts, it is not interrupted by an external event until it ends,
A system modeling method in which a processing result of one work segment among a plurality of work segments is set as an external event for a process of another work segment to proceed.
삭제delete
KR1020190129273A 2019-10-17 2019-10-17 System modeling method sysem interoperability method and for physical system and virtual system based on the segment KR102396944B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190129273A KR102396944B1 (en) 2019-10-17 2019-10-17 System modeling method sysem interoperability method and for physical system and virtual system based on the segment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190129273A KR102396944B1 (en) 2019-10-17 2019-10-17 System modeling method sysem interoperability method and for physical system and virtual system based on the segment

Publications (2)

Publication Number Publication Date
KR20210045811A KR20210045811A (en) 2021-04-27
KR102396944B1 true KR102396944B1 (en) 2022-05-13

Family

ID=75725761

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190129273A KR102396944B1 (en) 2019-10-17 2019-10-17 System modeling method sysem interoperability method and for physical system and virtual system based on the segment

Country Status (1)

Country Link
KR (1) KR102396944B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102409623B1 (en) * 2021-07-16 2022-06-22 주식회사 듀얼아이엔씨 Modeling method for target system and computing device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050022143A1 (en) * 2003-07-03 2005-01-27 Cadence Design Systems, Inc. System and method for performing design verification

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110109628A1 (en) * 2008-06-24 2011-05-12 Rurin Oleg Stanislavovich Method for producing an effect on virtual objects
US9495748B2 (en) * 2013-03-15 2016-11-15 Daqri, Llc Segmentation of content delivery

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050022143A1 (en) * 2003-07-03 2005-01-27 Cadence Design Systems, Inc. System and method for performing design verification

Also Published As

Publication number Publication date
KR20210045811A (en) 2021-04-27

Similar Documents

Publication Publication Date Title
CN100590629C (en) Device, program, recording medium and method for robot simulation
US9701019B2 (en) System and method for the automatic generation of robot programs
CN109807903B (en) Robot control method, device, equipment and medium
EP1485766B1 (en) Intelligent step-nc controller
US20040019402A1 (en) Intelligent system for generating and executing a sheet metal bending plan
CN105945946A (en) Six-axis mechanical arm movement control method based on G code programming
US20230356400A1 (en) Motion planning of a robot storing a discretized environment on one or more processors and improved operation of same
US20020069045A1 (en) Method of logical modeling of operator interaction with programmable logic controller logical verification system
US9604362B2 (en) Method and apparatus for failure handling of a robot
KR102396944B1 (en) System modeling method sysem interoperability method and for physical system and virtual system based on the segment
US10684605B2 (en) Control device with integrated optimizer
KR20220096754A (en) Method and system for real-time simulation using digital twin agent
US20210201183A1 (en) Training Collaborative Robots through User Demonstrations
Gordić et al. Collision detection on industrial robots in repetitive tasks using modified dynamic time warping
Xi et al. Design of a real-time robot control system oriented for human-robot cooperation
JP7383999B2 (en) Collaborative work system, analysis device and analysis program
Kluge-Wilkes et al. Mobile robot base placement for assembly systems: survey, measures and task clustering
CN102067134A (en) System and method for active selection in a solid model
KR20090036287A (en) System for real time control of total control system and method thereof
KR102409623B1 (en) Modeling method for target system and computing device
Wirkus Towards robot-independent manipulation behavior description
La COMMARE Trajectory optimization for collaborative robotics applications
JP3378545B2 (en) Operation plan determination device, operation plan determination method, recording medium recording operation plan determination program, and recording medium recording operation plan data
Krieger Multiactivity paradigm for the design and coordination of FMSs
US20210256317A1 (en) System for determining diverting availability of object recognition model

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant