KR101846222B1 - Redundancy system and controllin method thereof - Google Patents

Redundancy system and controllin method thereof Download PDF

Info

Publication number
KR101846222B1
KR101846222B1 KR1020130055270A KR20130055270A KR101846222B1 KR 101846222 B1 KR101846222 B1 KR 101846222B1 KR 1020130055270 A KR1020130055270 A KR 1020130055270A KR 20130055270 A KR20130055270 A KR 20130055270A KR 101846222 B1 KR101846222 B1 KR 101846222B1
Authority
KR
South Korea
Prior art keywords
state
redundant
error
duplication
redundancy
Prior art date
Application number
KR1020130055270A
Other languages
Korean (ko)
Other versions
KR20140135031A (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 KR1020130055270A priority Critical patent/KR101846222B1/en
Publication of KR20140135031A publication Critical patent/KR20140135031A/en
Application granted granted Critical
Publication of KR101846222B1 publication Critical patent/KR101846222B1/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
    • G05B9/00Safety arrangements
    • G05B9/02Safety arrangements electric
    • G05B9/03Safety arrangements electric with multiple-channel loop, i.e. redundant control systems
    • 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
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/34Director, elements to supervisory
    • G05B2219/34484Use dual channels

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Hardware Redundancy (AREA)

Abstract

본 명세서는 이중화 연결 에러 시, 이중화 시스템의 상태를 제어하고, 이중화 연결 복귀 시 정상적인 이중화 상태로 복귀하는 이중화 시스템 및 그의 제어 방법에 관한 것이다. 이를 위하여 본 명세서에 따른 이중화 시스템은, 제1 이중화 장치, 제2 이중화 장치, 제1 시스템 및, 제2 시스템을 포함하는 이중화 시스템에 있어서, 연결된 상기 제1 시스템의 상태를 상기 제1 시스템 및 상기 제2 시스템에 전달하고, 상기 제1 시스템의 이중화 연결 상태 에러 시 이중화 연결 에러 정보를 생성하여 전달하는 제1 이중화 장치; 연결된 상기 제2 시스템의 상태를 상기 제1 시스템 및 상기 제2 시스템에 전달하고, 상기 제2 시스템의 이중화 연결 상태 에러 시 상기 이중화 연결 에러 정보를 생성하여 전달하는 제2 이중화 장치; 및 상기 제1 이중화 장치 또는 상기 제2 이중화 장치로부터 전달되는 상기 이중화 연결 에러 정보를 수신할 때, 상기 제1 이중화 장치 및 상기 제2 이중화 장치로부터 전달되는 상기 제1 시스템 및 상기 제2 시스템의 상태를 근거로, 이중화 상태를 에러 상태로 각각 전환하고, 액티브 시스템에서는 액티브 상태를 그대로 유지하고 대기 시스템에서는 대기 상태를 그대로 유지하는 제1 시스템 및 제2 시스템;을 포함한다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a duplicated system for controlling the state of a duplicated system in case of a duplicated connection error and returning to a normal duplicated state upon returning to a duplicated connection, and a control method thereof. To this end, a duplication system according to the present invention is a duplication system including a first duplication device, a second duplication device, a first system, and a second system, A first redundancy device for generating and transmitting redundant connection error information when a redundant connection status error occurs in the first system; A second duplication unit for transferring the status of the connected second system to the first system and the second system, and generating and transmitting the duplicated connection error information when a duplicated connection status error of the second system occurs; And when receiving the duplication connection error information transmitted from the first duplication apparatus or the second duplication apparatus, a state of the first system and the second system transmitted from the first duplication apparatus and the second duplication apparatus, And a first system and a second system for respectively switching the redundancy state to the error state based on the first state and maintaining the active state in the active system and the standby state in the standby system.

Description

이중화 시스템 및 그의 제어 방법{REDUNDANCY SYSTEM AND CONTROLLIN METHOD THEREOF}[0001] REDUNDANCY SYSTEM AND CONTROLLIN METHOD THEREOF [0002]

본 명세서는 이중화 시스템 및 그의 제어 방법에 관한 것으로, 특히 이중화 연결 에러 시, 이중화 시스템의 상태를 제어하고, 이중화 연결 복귀 시 정상적인 이중화 상태로 복귀하는 이중화 시스템 및 그의 제어 방법에 관한 것이다.
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a duplication system and a control method thereof, and more particularly, to a duplication system and a control method thereof, which control the state of a duplication system and return to a normal duplication state upon duplication connection return.

일반적으로, 이중화 시스템은, 공장 자동화, 빌딩 제어 및, 단위 기계 등 여러 자동화 분야에서 안정적인 시스템 운영을 위한 시스템이다.In general, the redundant system is a system for stable system operation in various automation fields such as factory automation, building control, and unit machine.

이러한 이중화 시스템은, 이중화 동기화 연결 선로 등이 고장인 경우, 상기 이중화 시스템을 형성하는 시스템 A와 시스템 B 모두 동시에 활성화 상태가 되어, 어느 쪽의 출력을 선택할 건인지 시스템에서 인지하지 못하여, 두 시스템이 동시에 출력을 내보낼 수 있다.
In such a redundant system, when the redundant synchronous connection line or the like fails, both the system A and the system B forming the redundant system become active at the same time, and the system can not recognize which output to select, You can export the output at the same time.

한국 특허 출원 번호 제10-2008-0063034호Korean Patent Application No. 10-2008-0063034

본 명세서의 목적은, HMI(Human Machine Interface), PLC(Programmable Logic Control) 및, DCS(Distributed Control System) 등의 자동화 시스템에서 이중화 동기화 복수를 위한 연결에 에러가 발생한 경우, 이중화 시스템의 상태 등의 처리 방법과 복귀에 대한 방법을 제공하는 이중화 시스템 및 그의 제어 방법을 제공하는 데 있다.It is an object of the present invention to provide a system and method for a redundant system in which when an error occurs in a connection for a plurality of redundant synchronous systems in an automation system such as an HMI (Human Machine Interface), PLC (Programmable Logic Control) and DCS A duplication system that provides a processing method and a method for returning, and a control method thereof.

본 명세서의 다른 목적은, 이중화 동기화를 위한 연결 상태를 확인하는 이중화 시스템 및 그의 제어 방법을 제공하는 데 있다.
It is another object of the present invention to provide a duplication system for confirming a connection state for redundancy synchronization and a control method thereof.

본 명세서의 실시예에 따른 이중화 시스템은, 제1 이중화 장치, 제2 이중화 장치, 제1 시스템 및, 제2 시스템을 포함하는 이중화 시스템에 있어서, 연결된 상기 제1 시스템의 상태를 상기 제1 시스템 및 상기 제2 시스템에 전달하고, 상기 제1 시스템의 이중화 연결 상태 에러 시 이중화 연결 에러 정보를 생성하여 전달하는 제1 이중화 장치; 연결된 상기 제2 시스템의 상태를 상기 제1 시스템 및 상기 제2 시스템에 전달하고, 상기 제2 시스템의 이중화 연결 상태 에러 시 상기 이중화 연결 에러 정보를 생성하여 전달하는 제2 이중화 장치; 및 상기 제1 이중화 장치 또는 상기 제2 이중화 장치로부터 전달되는 상기 이중화 연결 에러 정보를 수신할 때, 상기 제1 이중화 장치 및 상기 제2 이중화 장치로부터 전달되는 상기 제1 시스템 및 상기 제2 시스템의 상태를 근거로, 이중화 상태를 에러 상태로 각각 전환하고, 액티브 시스템에서는 액티브 상태를 그대로 유지하고 대기 시스템에서는 대기 상태를 그대로 유지하는 제1 시스템 및 제2 시스템;을 포함한다.A duplication system according to an embodiment of the present invention is a duplication system including a first duplication device, a second duplication device, a first system, and a second system, wherein the state of the connected first system is connected to the first system and / A first redundancy unit for transmitting the redundant connection error information to the second system and generating and transmitting redundant connection error information when the redundant connection status of the first system is erroneous; A second duplication unit for transferring the status of the connected second system to the first system and the second system, and generating and transmitting the duplicated connection error information when a duplicated connection status error of the second system occurs; And when receiving the duplication connection error information transmitted from the first duplication apparatus or the second duplication apparatus, a state of the first system and the second system transmitted from the first duplication apparatus and the second duplication apparatus, And a first system and a second system for respectively switching the redundancy state to the error state based on the first state and maintaining the active state in the active system and the standby state in the standby system.

본 명세서와 관련된 일 예로서, 상기 제1 이중화 장치는, 상기 연결된 상기 제1 시스템의 상태를 감지하여, 상기 제1 시스템이 활성화 상태인지 또는 대기 상태인지를 결정하고, 상기 결정된 상기 제1 시스템의 상태를 상기 제1 시스템 및 상기 제2 시스템에 전달할 수 있다.As an example associated with the present disclosure, the first duplication device may be configured to detect a state of the connected first system to determine whether the first system is in an active state or in a standby state, State to the first system and the second system.

본 명세서와 관련된 일 예로서, 상기 제2 이중화 장치는, 상기 연결된 상기 제2 시스템의 상태를 감지하여, 상기 제2 시스템이 활성화 상태인지 또는 대기 상태인지를 결정하고, 상기 결정된 상기 제2 시스템의 상태를 상기 제1 시스템 및 상기 제2 시스템에 전달할 수 있다.As an example associated with the present disclosure, the second duplication device may be configured to detect the state of the connected second system to determine whether the second system is in an active state or in a standby state, State to the first system and the second system.

본 명세서와 관련된 일 예로서, 상기 제1 시스템 및 상기 제2 시스템 각각은, 상기 제1 이중화 장치 및 상기 제2 이중화 장치로부터 전달되는 상기 제1 시스템 및 상기 제2 시스템의 상태를 근거로 액티브 시스템인지 대기 상태인지 여부를 확인할 수 있다.As an example related to the present disclosure, each of the first system and the second system may be configured such that, based on the states of the first system and the second system delivered from the first and second duplication devices, It is possible to confirm whether or not it is in a standby state.

본 명세서와 관련된 일 예로서, 상기 제1 이중화 장치는, 상기 제1 시스템으로부터 전달되는 제1 이중화 연결 상태 감시 정보를 근거로 이중화 연결 상태를 확인하고, 상기 확인 결과, 상기 제1 시스템과 상기 제2 시스템 간의 이중화 연결 상태에 에러가 발생할 때, 상기 이중화 연결 에러 정보를 생성하여 상기 제1 시스템 및 상기 제2 시스템에 전달할 수 있다.As an example related to the present specification, the first duplication apparatus checks the duplicated connection state based on the first duplicated connection state monitoring information transmitted from the first system, and as a result, When an error occurs in the redundant connection state between two systems, the redundant connection error information may be generated and transmitted to the first system and the second system.

본 명세서와 관련된 일 예로서, 상기 제2 이중화 장치는, 상기 제2 시스템으로부터 전달되는 제2 이중화 연결 상태 감시 정보를 근거로 이중화 연결 상태를 확인하고, 상기 확인 결과, 상기 제1 시스템과 상기 제2 시스템 간의 이중화 연결 상태에 에러가 발생할 때, 상기 이중화 연결 에러 정보를 생성하여 상기 제1 시스템 및 상기 제2 시스템에 전달할 수 있다.According to an embodiment of the present invention, the second duplication apparatus checks duplicated connection status based on second duplicated connection status monitoring information transmitted from the second system, and as a result of the checking, When an error occurs in the redundant connection state between two systems, the redundant connection error information may be generated and transmitted to the first system and the second system.

본 명세서와 관련된 일 예로서, 상기 제1 이중화 장치는, 상기 제1 시스템으로부터 미리 설정된 시간 간격으로 전달되는 제1 이중화 연결 상태 감시 정보를 근거로, 발생한 이중화 연결 상태의 에러가 복구된 것으로 확인될 때, 에러 복구 정보를 생성하여 상기 제1 시스템 및 상기 제2 시스템에 전달할 수 있다.As an example related to the present specification, the first redundant apparatus is confirmed that the error in the redundant connection state occurred is recovered based on the first redundant connection state monitoring information transmitted at a predetermined time interval from the first system , Error recovery information may be generated and transmitted to the first system and the second system.

본 명세서와 관련된 일 예로서, 상기 제2 이중화 장치는, 상기 제2 시스템으로부터 미리 설정된 시간 간격으로 전달되는 제2 이중화 연결 상태 감시 정보를 근거로, 발생한 이중화 연결 상태의 에러가 복구된 것으로 확인될 때, 상기 에러 복구 정보를 생성하여 상기 제1 시스템 및 상기 제2 시스템에 전달할 수 있다.As an example related to the present specification, the second duplication apparatus is confirmed to have recovered an error in the duplicated connection state that has occurred, based on the second duplicated connection state monitoring information transmitted at a predetermined time interval from the second system , The error recovery information may be generated and transmitted to the first system and the second system.

본 명세서와 관련된 일 예로서, 상기 제1 시스템 및 상기 제2 시스템 각각은, 상기 에러 상태로 전환된 각 시스템의 이중화 상태를 정상 상태로 각각 전환하고, 정상적인 이중화 상태를 유지할 수 있다.As an example related to the present specification, each of the first system and the second system can convert the redundancy state of each system that has been switched to the error state to a normal state, and maintain a normal redundancy state.

본 명세서의 실시예에 따른 이중화 시스템의 제어 방법은, 제1 이중화 장치, 제2 이중화 장치, 제1 시스템 및, 제2 시스템을 포함하는 이중화 시스템의 제어 방법에 있어서, 상기 제1 시스템 및 상기 제2 시스템을 통해, 상기 제1 이중화 장치 및 상기 제2 이중화 장치로부터 전달되는 상기 제1 시스템 및 상기 제2 시스템의 상태를 각각 수신하는 단계; 상기 제1 시스템 및 상기 제2 시스템을 통해, 액티브 상태 또는 대기 상태에 대응하는 연산 기능을 각각 수행하는 단계; 상기 제1 시스템 및 상기 제2 시스템을 통해, 상기 제1 이중화 장치 또는 상기 제2 이중화 장치로부터 전달되는 이중화 연결 에러 정보를 각각 수신하는 단계; 상기 수신된 상기 이중화 연결 에러 정보를 근거로, 상기 제1 시스템 및 상기 제2 시스템 중 액티브 시스템에서는, 상기 액티브 시스템의 이중화 상태를 에러 상태로 전환하고, 액티브 상태를 그대로 유지하는 단계; 및 상기 수신된 상기 이중화 연결 에러 정보를 근거로, 상기 제1 시스템 및 상기 제2 시스템 중 대기 시스템에서는, 상기 대기 시스템의 이중화 상태를 에러 상태로 전환하고, 대기 상태를 그대로 유지하는 단계;를 포함한다.A control method of a duplication system according to an embodiment of the present invention is a control method of a duplication system including a first duplication apparatus, a second duplication apparatus, a first system, and a second system, Receiving, via the first system and the second system, the states of the first system and the second system, respectively, transmitted from the first and second duplication devices; Performing an arithmetic function corresponding to an active state or a standby state through the first system and the second system, respectively; Receiving redundant connection error information from the first redundant apparatus or the second redundant apparatus via the first system and the second system, respectively; Switching the redundant state of the active system to the error state and maintaining the active state in the active system of the first system and the second system based on the received redundant connection error information; And switching the redundant state of the standby system to an error state and maintaining the standby state in the standby system of the first system and the second system based on the received redundant connection error information do.

본 명세서와 관련된 일 예로서, 상기 제1 시스템 및 상기 제2 시스템의 상태를 각각 수신하는 단계는, 상기 제1 이중화 장치를 통해, 연결된 상기 제1 시스템의 상태를 감지하여, 상기 제1 시스템이 활성화 상태인지 또는 대기 상태인지를 결정하는 과정; 상기 제1 이중화 장치를 통해, 상기 결정된 상기 제1 시스템의 상태를 상기 제1 시스템 및 상기 제2 시스템에 전달하는 과정; 상기 제1 시스템 및 상기 제2 시스템을 통해, 상기 제1 이중화 장치로부터 전달되는 상기 제1 시스템의 상태를 수신하는 과정; 상기 제2 이중화 장치를 통해, 연결된 상기 제2 시스템의 상태를 감지하여, 상기 제2 시스템이 활성화 상태인지 또는 대기 상태인지를 결정하는 과정; 상기 제2 이중화 장치를 통해, 상기 결정된 상기 제2 시스템의 상태를 상기 제1 시스템 및 상기 제2 시스템에 전달하는 과정; 및 상기 제1 시스템 및 상기 제2 시스템을 통해, 상기 제2 이중화 장치로부터 전달되는 상기 제2 시스템의 상태를 수신하는 과정;을 포함할 수 있다.As an example associated with the present disclosure, the step of receiving the states of the first system and the second system, respectively, may include sensing a state of the first system coupled through the first duplication device, Determining whether it is in an activated state or in a standby state; Transferring the determined state of the first system to the first system and the second system through the first duplication device; Receiving, via the first system and the second system, the status of the first system transmitted from the first duplication device; Detecting a state of the second system connected through the second duplication device and determining whether the second system is in an active state or in a standby state; Transferring the determined state of the second system to the first system and the second system via the second duplication apparatus; And receiving the status of the second system transmitted from the second duplication apparatus through the first system and the second system.

본 명세서와 관련된 일 예로서, 상기 액티브 상태 또는 대기 상태에 대응하는 연산 기능을 각각 수행하는 단계는, 상기 수신된 상기 제1 시스템 및 상기 제2 시스템의 상태를 근거로, 상기 제1 시스템 및 상기 제2 시스템 중 액티브 시스템에서는, 미리 설치된 래더 프로그램을 통해 상기 액티브 시스템의 주메모리에서 가져온 입력값에 대한 연산을 수행하는 과정; 상기 수신된 상기 제1 시스템 및 상기 제2 시스템의 상태를 근거로, 상기 제1 시스템 및 상기 제2 시스템 중 대기 시스템에서는, 상기 래더 프로그램을 통해 상기 대기 시스템의 주메모리에서 가져온 입력값에 대한 연산을 수행하는 과정; 상기 액티브 시스템의 연산 수행 결과를 상기 액티브 시스템의 이전 연산 수행 결과와 비교하여 변경된 제1 데이터를 상기 액티브 시스템의 주메모리에 기록하는 과정; 상기 대기 시스템의 연산 수행 결과를 상기 대기 시스템의 이전 연산 수행 결과와 비교하여 변경된 제2 데이터를 상기 대기 시스템의 주메모리에 기록하는 과정; 상기 변경된 제1 데이터를 포함하는 상기 액티브 시스템의 주메모리에 기록된 데이터를 상기 대기 시스템에 전달하는 과정; 및 상기 액티브 시스템으로부터 전달되는 상기 변경된 제1 데이터를 포함하는 상기 액티브 시스템의 주메모리에 기록된 데이터를 상기 대기 시스템의 주메모리에 기록하는 과정;을 포함할 수 있다.According to one embodiment of the present disclosure, the step of performing the arithmetic functions corresponding to the active state or the standby state, respectively, may further comprise the step of, based on the received states of the first system and the second system, Performing an operation on an input value fetched from a main memory of the active system through a pre-installed ladder program in an active system of a second system; Wherein the first system and the second system among the first system and the second system receive the input values obtained from the main memory of the standby system through the ladder program based on the received states of the first system and the second system, ; Comparing the operation result of the active system with a result of previous operation of the active system, and recording the changed first data in the main memory of the active system; Comparing the operation result of the standby system with a result of previous operation of the standby system, and recording the changed second data in the main memory of the standby system; Transmitting data recorded in a main memory of the active system including the changed first data to the standby system; And writing the data recorded in the main memory of the active system including the changed first data transferred from the active system to the main memory of the standby system.

본 명세서와 관련된 일 예로서, 상기 이중화 연결 에러 정보를 각각 수신하는 단계는, 상기 제1 이중화 장치를 통해, 상기 제1 시스템으로부터 전달되는 제1 이중화 연결 상태 감시 정보를 수신하는 과정; 상기 제2 이중화 장치를 통해, 상기 제2 시스템으로부터 전달되는 제2 이중화 연결 상태 감시 정보를 수신하는 과정; 상기 제1 이중화 장치 및 상기 제2 이중화 장치를 통해, 상기 수신된 상기 제1 이중화 연결 상태 감시 정보 및 상기 제2 이중화 연결 상태 감시 정보를 근거로 이중화 연결 상태를 확인하는 과정; 상기 제1 이중화 장치 및 상기 제2 이중화 장치를 통해, 상기 확인 결과, 상기 제1 시스템과 상기 제2 시스템 간의 이중화 연결 상태에 에러가 발생할 때, 상기 이중화 연결 에러 정보를 생성하는 과정; 상기 제1 이중화 장치 및 상기 제2 이중화 장치를 통해, 상기 생성된 상기 이중화 연결 에러 정보를 상기 제1 시스템 및 상기 제2 시스템에 각각 전달하는 과정; 및 상기 제1 시스템 및 상기 제2 시스템을 통해, 상기 제1 이중화 장치 또는 상기 제2 이중화 장치로부터 전달되는 상기 이중화 연결 에러 정보를 수신하는 과정;을 포함할 수 있다.According to an embodiment of the present invention, the step of receiving the duplicated connection error information may include: receiving first duplicated connection status monitoring information transmitted from the first system through the first duplication apparatus; Receiving second redundant connection status monitoring information transmitted from the second system through the second redundant apparatus; Confirming a redundant connection state based on the received first redundant connection state monitoring information and the second redundant connection state monitoring information through the first and second redundant devices; Generating redundant connection error information when an error occurs in the redundant connection state between the first system and the second system as a result of the checking through the first redundant apparatus and the second redundant apparatus; Transferring the generated redundant connection error information to the first system and the second system via the first redundant apparatus and the second redundant apparatus, respectively; And receiving the duplicated connection error information transmitted from the first duplication apparatus or the second duplication apparatus through the first system and the second system.

본 명세서와 관련된 일 예로서, 상기 제1 시스템 및 상기 제2 시스템을 통해, 상기 발생한 에러가 복구될 때, 상기 에러 상태로 전환된 각 시스템의 이중화 상태를 정상 상태로 각각 전환하고, 정상적인 이중화 상태를 유지하는 단계;를 더 포함할 수 있다.As an example related to the present specification, when the generated error is recovered through the first system and the second system, the redundancy state of each system converted into the error state is switched to a normal state, respectively, The method comprising the steps of:

본 명세서와 관련된 일 예로서, 상기 에러 상태로 전환된 각 시스템의 이중화 상태를 정상 상태로 각각 전환하고, 정상적인 이중화 상태를 유지하는 단계는, 상기 제1 이중화 장치 및 상기 제2 이중화 장치를 통해, 상기 제1 시스템 및 상기 제2 시스템의 이중화 연결 상태를 감시하는 과정; 상기 제1 이중화 장치 및 상기 제2 이중화 장치를 통해, 에러가 발생한 해당 시스템이 복구된 상태일 때, 에러 복구 정보를 생성하는 과정; 상기 제1 이중화 장치 및 상기 제2 이중화 장치를 통해, 상기 생성된 에러 복구 정보를 상기 제1 시스템 및 상기 제2 시스템에 전달하는 과정; 상기 제1 시스템 및 상기 제2 시스템을 통해, 상기 에러 복구 정보를 수신하는 과정; 및 상기 제1 시스템 및 상기 제2 시스템을 통해, 상기 에러 복구 정보를 수신할 때, 상기 에러 상태로 전환된 각 시스템의 이중화 상태를 정상 상태로 각각 전환하고, 정상적인 이중화 상태를 유지하는 과정;을 포함할 수 있다.
In one embodiment of the present invention, the switching of the redundancy state of each system, which has been switched to the error state, to the normal state and maintaining the normal redundancy state may be performed through the first redundancy apparatus and the second redundancy apparatus, Monitoring a redundant connection state of the first system and the second system; Generating error recovery information when a corresponding system in which an error occurs is recovered through the first and second duplication devices; Transferring the generated error recovery information to the first system and the second system through the first and second duplication devices; Receiving the error recovery information through the first system and the second system; And switching, when receiving the error recovery information through the first system and the second system, the redundancy state of each system switched to the error state to a normal state and maintaining a normal redundancy state, respectively .

본 명세서의 실시예에 따른 이중화 시스템 및 그의 제어 방법은, HMI, PLC 및, DCS 등의 자동화 시스템에서 이중화 동기화 복수를 위한 연결에 에러가 발생한 경우, 이중화 시스템의 상태 등의 처리 방법과 복귀에 대한 방법을 제공함으로써, 안정적인 이중화 시스템을 제공하고, 이중화 성능 향상을 개선할 수 있다.The redundancy system and the control method thereof according to the embodiment of the present invention can be applied to an automatic system such as an HMI, a PLC, and a DCS, By providing a method, it is possible to provide a stable redundancy system and improve the redundancy performance improvement.

또한, 본 명세서의 실시예에 따른 이중화 시스템 및 그의 제어 방법은, 이중화 동기화를 위한 연결 상태를 확인함으로써, 이중화 연결이 에러 상태인 경우에도 이중화 상태를 유지할 수 있다.
Also, the redundancy system and the control method according to the embodiment of the present invention can maintain the redundancy state even when the redundancy connection is in the error state by checking the connection state for the redundancy synchronization.

도 1은 본 명세서의 실시예에 따른 이중화 시스템의 구성을 나타낸 블록도이다.
도 2는 본 명세서의 일 실시예에 따른 이중화 시스템의 통신 과정을 보인 신호 흐름도이다.
1 is a block diagram illustrating a configuration of a redundancy system according to an embodiment of the present invention.
2 is a signal flow diagram illustrating a communication process of a redundancy system according to an embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 명세서에 따른 실시예를 상세히 설명하되, 도면 부호에 관계없이 동일하거나 대응하는 구성 요소는 동일한 참조 번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the like elements throughout.

도 1은 본 명세서의 실시예에 따른 이중화 시스템(10)의 구성을 나타낸 블록도이다.1 is a block diagram showing a configuration of a redundant system 10 according to an embodiment of the present invention.

도 1에 도시한 바와 같이, 이중화 시스템(10)은, 제1 이중화 장치(100), 제2 이중화 장치(200), 제1 시스템(300) 및, 제2 시스템(400)로 구성된다. 도 1에 도시된 이중화 시스템(10)의 구성 요소 모두가 필수 구성 요소인 것은 아니며, 도 1에 도시된 구성 요소보다 많은 구성 요소에 의해 이중화 시스템(10)이 구현될 수도 있고, 그보다 적은 구성 요소에 의해서도 이중화 시스템(10)이 구현될 수도 있다.As shown in FIG. 1, the duplication system 10 is composed of a first duplication apparatus 100, a second duplication apparatus 200, a first system 300, and a second system 400. Not all of the components of the redundant system 10 shown in FIG. 1 are essential components, and the redundant system 10 may be implemented by more components than the components shown in FIG. 1, The redundant system 10 may also be implemented.

상기 이중화 시스템(10)은, 동일한 구조의 마스터 장치와 슬레이브 장치에 해당하는 상기 제1 시스템(300) 및 상기 제2 시스템(400)을 구비한다.The redundant system 10 includes the first system 300 and the second system 400 corresponding to a master device and a slave device having the same structure.

또한, 상기 이중화 시스템(10)은, 상기 제1 시스템(300) 및 상기 제2 시스템(400)의 동작 상태를 결정하기 위해, 동일한 구조의 이중화 장치에 해당하는 상기 제1 이중화 장치(100) 및 상기 제2 이중화 장치(200)를 구비한다.The redundant system 10 includes a first redundant device 100 and a second redundant device 100. The first redundant device 100 and the second redundant device 100 have the same structure, And the second duplexer (200).

상기 제1 이중화 장치(100)는, 연결된 상기 제1 시스템(300)의 전반적인 상태를 감지한다.The first duplexer 100 senses the overall state of the connected first system 300.

또한, 상기 제1 이중화 장치(100)는, 상기 제1 시스템(300)의 상태 감지 결과를 근거로 상기 제1 시스템(300)의 상태(또는, 활성화 상태)(예를 들어, 활성화 상태 또는 대기 상태)를 결정(또는, 확인)한다.The first redundancy apparatus 100 may also be configured to determine a status (or an activated status) of the first system 300 based on the status detection result of the first system 300 (Or confirms) the state of the device.

즉, 상기 제1 이중화 장치(100)는, 상기 연결된 상기 제1 시스템(300)의 상태를 감지하여, 상기 제1 시스템(300)이 활성화 상태인지 또는 대기 상태인지를 결정한다.That is, the first redundancy apparatus 100 detects the state of the connected first system 300 and determines whether the first system 300 is in an active state or a standby state.

또한, 상기 제1 이중화 장치(100)는, 상기 결정된 상기 제1 시스템(300)의 상태를 상기 제1 시스템(300)과 상기 제2 시스템(400)에 전달한다.In addition, the first redundancy apparatus 100 transfers the determined state of the first system 300 to the first system 300 and the second system 400.

또한, 상기 제1 이중화 장치(100)는, 상기 제1 시스템(300)으로부터 미리 설정된 시간 간격(또는, 주기)으로 전달되는 제1 이중화 연결 상태 감시 정보를 근거로 이중화 연결 상태를 확인한다.Also, the first redundancy apparatus 100 checks the redundancy connection state based on the first redundancy connection state monitoring information transmitted at a predetermined time interval (or period) from the first system 300.

또한, 상기 제1 이중화 장치(100)는, 상기 확인 결과, 상기 제1 시스템(300)과 상기 제2 시스템(400) 간의 이중화 연결 상태가 정상 상태인 경우, 지속적으로 상기 이중화 연결 상태를 확인한다.If it is determined that the redundant connection state between the first system 300 and the second system 400 is in a normal state, the first redundancy apparatus 100 continuously checks the redundancy connection state .

또한, 상기 제1 이중화 장치(100)는, 상기 확인 결과, 상기 제1 시스템(300)과 상기 제2 시스템(400) 간의 이중화 연결 상태에 에러가 발생한 경우, 이중화 연결 에러 정보를 생성하고, 상기 생성된 이중화 연결 에러 정보를 상기 제2 이중화 장치(200), 상기 제1 시스템(300) 및, 상기 제2 시스템(400)에 전달한다.The first redundancy apparatus 100 generates redundant connection error information when an error occurs in a redundant connection state between the first system 300 and the second system 400 as a result of the checking, And transfers the generated duplicated connection error information to the second duplication device 200, the first system 300, and the second system 400. [

이때, 상기 제1 이중화 장치(100)는, 상기 이중화 연결 상태 확인 과정을 수행하고, 상기 수행 결과 에러가 발생할 때, 상기 이중화 연결 에러 정보를 생성하여 전달하는 대신에, 상기 제1 시스템(300)으로부터 전달되는 제1 이중화 연결 상태 감시 정보를 상기 제2 시스템(400)에 전달하는 기능만을 수행할 수도 있다.At this time, the first redundancy apparatus 100 performs the redundancy connection status check process, and instead of generating and transmitting the redundancy connection error information when an error occurs as a result of the execution, To the second system 400. In this case, the second system 400 may transmit the first redundant connection state monitoring information to the second system 400. [

또한, 상기 제1 이중화 장치(100)는, 상기 제1 시스템(300)으로부터 전달되는 제1 이중화 연결 상태 감시 정보를 근거로 이중화 연결 상태를 확인하여, 상기 발생한 에러가 복구된 경우, 에러 복구 정보를 생성하고, 상기 생성된 에러 복구 정보를 상기 제2 이중화 장치(200), 상기 제1 시스템(300) 및, 상기 제2 시스템(400)에 전달한다.In addition, the first redundancy apparatus 100 checks the redundancy connection state based on the first redundancy connection state monitoring information transmitted from the first system 300, and when the generated error is recovered, And transfers the generated error recovery information to the second duplication apparatus 200, the first system 300, and the second system 400. [

상기 제2 이중화 장치(200)는, 연결된 상기 제2 시스템(400)의 전반적인 상태를 감지한다.The second duplexer 200 senses the overall state of the connected second system 400.

또한, 상기 제2 이중화 장치(200)는, 상기 제2 시스템(400)의 상태 감지 결과를 근거로 상기 제2 시스템(400)의 상태(또는, 활성화 상태)(예를 들어, 활성화 상태 또는 대기 상태)를 결정(또는, 확인)한다.The second redundancy device 200 may also be configured to determine a state of the second system 400 based on the state detection result of the second system 400 (Or confirms) the state of the device.

즉, 상기 제2 이중화 장치(200)는, 상기 연결된 상기 제2 시스템(400)의 상태를 감지하여, 상기 제2 시스템(400)이 활성화 상태인지 또는 대기 상태인지를 결정한다.That is, the second duplexer 200 detects the state of the connected second system 400 and determines whether the second system 400 is in an active state or in a standby state.

또한, 상기 제2 이중화 장치(200)는, 상기 결정된 상기 제2 시스템(400)의 상태를 상기 제1 시스템(300)과 상기 제2 시스템(400)에 전달한다.In addition, the second duplication apparatus 200 transfers the determined state of the second system 400 to the first system 300 and the second system 400.

또한, 상기 제2 이중화 장치(200)는, 상기 제2 시스템(400)으로부터 미리 설정된 시간 간격(또는, 주기)으로 전달되는 제2 이중화 연결 상태 감시 정보를 근거로 이중화 연결 상태를 확인한다.Also, the second redundancy apparatus 200 checks the redundancy connection state based on the second redundancy connection state monitoring information transmitted at a predetermined time interval (or period) from the second system 400.

또한, 상기 제2 이중화 장치(200)는, 상기 확인 결과, 상기 제1 시스템(300)과 상기 제2 시스템(400) 간의 이중화 연결 상태에 에러가 발생한 경우, 이중화 연결 에러 정보를 생성하고, 상기 생성된 이중화 연결 에러 정보를 상기 제1 이중화 장치(100), 상기 제1 시스템(300) 및, 상기 제2 시스템(400)에 전달한다.The second redundancy apparatus 200 generates redundancy connection error information when an error occurs in the redundancy connection state between the first system 300 and the second system 400 as a result of the checking, And transmits the generated duplicated connection error information to the first duplication device 100, the first system 300, and the second system 400. [

이때, 상기 제2 이중화 장치(200)는, 상기 이중화 연결 상태 확인 과정을 수행하고, 상기 수행 결과 에러가 발생할 때, 상기 이중화 연결 에러 정보를 생성하여 전달하는 대신에, 상기 제2 시스템(400)으로부터 전달되는 제2 이중화 연결 상태 감시 정보를 상기 제1 시스템(300)에 전달하는 기능만을 수행할 수도 있다.At this time, the second duplication apparatus 200 performs the duplicated connection state check process, and instead of generating and transmitting the duplicated connection error information when an error occurs as a result of the execution, To the first system 300, the second redundant connection state monitoring information transmitted from the first system 300. [

또한, 상기 제2 이중화 장치(200)는, 상기 제2 시스템(400)으로부터 전달되는 제2 이중화 연결 상태 감시 정보를 근거로 이중화 연결 상태를 확인하여, 상기 발생한 에러가 복구된 경우, 에러 복구 정보를 생성하고, 상기 생성된 에러 복구 정보를 상기 제1 이중화 장치(100), 상기 제1 시스템(300) 및, 상기 제2 시스템(400)에 전달한다.In addition, the second redundancy apparatus 200 checks the redundancy connection state based on the second redundancy connection state monitoring information transmitted from the second system 400, and when the generated error is recovered, And transfers the generated error recovery information to the first duplication device 100, the first system 300, and the second system 400. [

이와 같이, 이중화 구조의 상기 제1 이중화 장치(100) 및 상기 제2 이중화 장치(200)를 통해, 상기 제1 시스템(300) 및 상기 제2 시스템(400)의 동작 상태를 고속으로 결정할 수 있다.In this manner, the operating states of the first system 300 and the second system 400 can be determined at a high speed through the first redundant device 100 and the second redundant device 200 of the redundant structure .

또한, 상기 제1 이중화 장치(100) 및 상기 제2 이중화 장치(200)는, 실시간 또는 미리 설정된 시간 간격(또는, 주기)으로 상기 제1 시스템(300) 및 상기 제2 시스템(400)의 동작 상태를 결정할 수 있다.The first and second duplication apparatuses 100 and 200 may be configured to perform operations of the first system 300 and the second system 400 in real time or at predetermined time intervals The state can be determined.

상기 제1 시스템(300)은, 상기 제1 이중화 장치(100) 및 상기 제2 이중화 장치(200)로부터 전달되는 상기 결정된 상기 제1 시스템(300) 및 상기 제2 시스템(400)의 상태를 각각 수신한다.The first system 300 may be configured to determine the states of the first system 300 and the second system 400 determined from the first and second duplication devices 100 and 200, .

또한, 상기 제1 시스템(300)은, 상기 도 1에 도시한 바와 같이, 제1 마이크로프로세서(310), 제1 이중화 연결 상태 진단부(320), 제1 주메모리(330) 및, 제1 이중화 통신 모듈(340)로 구성된다. 도 1에 도시된 제1 시스템(300)의 구성 요소 모두가 필수 구성 요소인 것은 아니며, 도 1에 도시된 구성 요소보다 많은 구성 요소에 의해 제1 시스템(300)이 구현될 수도 있고, 그보다 적은 구성 요소에 의해서도 제1 시스템(300)이 구현될 수도 있다.1, the first system 300 includes a first microprocessor 310, a first redundant connection state diagnosis unit 320, a first main memory 330, And a redundant communication module 340. Not all of the components of the first system 300 shown in FIG. 1 are required, and the first system 300 may be implemented by more components than the components shown in FIG. 1, The first system 300 may also be implemented by components.

상기 제1 마이크로프로세서(310)는, 상기 제1 시스템(300)의 전반적인 제어 기능을 수행한다.The first microprocessor 310 performs the overall control functions of the first system 300.

또한, 상기 제1 마이크로프로세서(310)는, 상기 제1 이중화 장치(100)로부터 전달된 상기 제1 시스템(300)의 상태(예를 들어, 상기 액티브 상태 또는 상기 대기 상태)를 근거로 상기 제1 시스템(300)의 상태(예를 들어, 액티브 상태 또는, 마스터 상태)를 확인하고, 상기 제2 이중화 장치(200)로부터 전달된 상기 제2 시스템(400)의 상태(예를 들어, 상기 액티브 상태 또는 상기 대기 상태)를 근거로 상기 제2 시스템(400)의 상태(예를 들어, 대기 상태 또는 슬레이브 상태)를 확인한다.The first microprocessor 310 may be configured to determine whether the first system 300 is in the active state or the standby state based on the state of the first system 300 1 state of the system 300 (for example, an active state or a master state) and checks the state of the second system 400 transmitted from the second duplication device 200 (for example, (E.g., a standby state or a slave state) of the second system 400 based on the state information (e.g., state or standby state).

또한, 상기 제1 마이크로프로세서(310)는, 상시-대기(hot-standby) 방식으로, 미리 설정된 제어 알고리즘을 수행한다.Also, the first microprocessor 310 performs a preset control algorithm in a hot-standby manner.

즉, 상기 제1 마이크로프로세서(310)는, 상기 제1 주메모리(330)로부터 입력값(또는, 제1 입력값)을 가져오고, 미리 설치된 제1 래더 프로그램을 통해 상기 가져온 상기 입력값에 대한 연산을 수행한다.That is, the first microprocessor 310 fetches an input value (or a first input value) from the first main memory 330, and outputs the input value .

또한, 상기 제1 마이크로프로세서(310)는, 상기 연산 수행 결과를 이전(또는, 직전) 연산 수행 결과와 비교하여, 변경된 제1 데이터(또는, 업데이트된 제1 데이터)를 상기 제1 주메모리(330)에 기록(또는, 저장)한다.The first microprocessor 310 compares the result of the operation with the result of previous operation or previous operation and outputs the changed first data (or updated first data) to the first main memory 330).

또한, 상기 제1 마이크로프로세서(310)는, 상기 제1 시스템(300)이 액티브 상태인 경우, 상기 제1 이중화 통신 모듈(340)을 통해 상기 변경된 제1 데이터를 제2 시스템(400)(또는, 상기 제2 시스템(400)에 포함된 제2 이중화 통신 모듈(440))에 전달한다.The first microprocessor 310 may also be configured to send the modified first data to the second system 400 (or the second system 400) via the first redundant communication module 340 if the first system 300 is in an active state. The second redundant communication module 440 included in the second system 400).

또한, 상기 제1 마이크로프로세서(310)는, 상기 제1 시스템(300)이 대기 상태인 경우, 상기 제2 시스템(400)으로부터 전달되는 변경된 제2 데이터를 수신하고, 상기 수신된 변경된 제2 데이터를 상기 제1 주메모리(330)에 기록한다.The first microprocessor 310 receives the changed second data transmitted from the second system 400 when the first system 300 is in the standby state and transmits the changed second data Is written in the first main memory 330.

또한, 상기 제1 마이크로프로세서(310)는, 상기 제1 이중화 장치(100)로부터 전달되는 상기 이중화 연결 에러 정보를 수신한다.In addition, the first microprocessor 310 receives the redundant connection error information transmitted from the first redundant device 100.

또한, 상기 제1 마이크로프로세서(310)는, 상기 제1 이중화 연결 상태 진단부(320)의 상태 감시 정보인 상기 제1 이중화 연결 상태 감시 정보 또는, 상기 제2 이중화 장치(200)로부터 전달되는 상기 제2 시스템(400)의 제2 이중화 연결 상태 감시 정보를 근거로 이중화 연결 상태를 확인한다.In addition, the first microprocessor 310 may receive the first redundant connection status monitoring information, which is status monitoring information of the first redundant connection status diagnosis unit 320, or the second redundant connection status monitoring information, And checks the redundant connection state based on the second redundant connection state monitoring information of the second system 400. [

또한, 상기 제1 마이크로프로세서(310)는, 상기 확인 결과, 상기 제1 시스템(300)과 상기 제2 시스템(400) 간의 이중화 연결 상태에 에러가 발생한 경우, 상기 이중화 연결 에러 정보를 생성하고, 상기 생성된 이중화 연결 에러 정보를 상기 제1 이중화 장치(100), 상기 제2 이중화 장치(200) 및, 상기 제2 시스템(400)에 전달할 수 있다.The first microprocessor 310 generates the redundant connection error information when an error occurs in the redundant connection state between the first system 300 and the second system 400 as a result of the checking, And may transmit the generated redundant connection error information to the first redundancy device 100, the second redundancy device 200, and the second system 400.

또한, 상기 제1 마이크로프로세서(310)는, 상기 제1 이중화 장치(100) 또는 상기 제2 이중화 장치(200)로부터 전달되는 상기 이중화 연결 에러 정보를 수신한다.The first microprocessor 310 receives the redundant connection error information transmitted from the first redundant device 100 or the second redundant device 200.

또한, 상기 제1 마이크로프로세서(310)는, 상기 이중화 연결 에러 정보를 수신할 때(또는, 상기 제1 마이크로프로세서(310)에서 상기 이중화 연결 에러 정보를 생성할 때), 이중화 상태를 에러 상태로 전환(또는, 처리/변환)하고, 상기 확인된 상기 제1 시스템(300)의 상태를 근거로 상기 제1 시스템(300)의 상태를 유지한다.In addition, when the first microprocessor 310 receives the redundant connection error information (or when the first microprocessor 310 generates the redundant connection error information), the first microprocessor 310 sets the redundant state to an error state (Or processes / converts) the first system 300 and maintains the state of the first system 300 based on the determined state of the first system 300.

즉, 상기 제1 마이크로프로세서(310)는, 상기 이중화 연결 에러 정보를 수신할 때, 이중화 상태를 에러 상태로 전환(또는, 처리/변환)하고, 상기 확인된 상기 제1 시스템(300)의 상태가 활성화 상태인 경우, 활성화 상태를 그대로 유지하고, 상기 확인된 상기 제1 시스템(300)의 상태가 대기 상태인 경우, 대기 상태를 그대로 유지한다.That is, when the first microprocessor 310 receives the redundant connection error information, the first microprocessor 310 converts (or processes / converts) the redundant state into the error state, When the first system 300 is in the standby state, the standby state is maintained as it is.

또한, 상기 제1 마이크로프로세서(310)는, 상기 발생한 에러가 복구된 경우, 상기 제1 이중화 장치(100) 또는 상기 제2 이중화 장치(200)로부터 전달되는 에러 복구 정보를 수신한다.The first microprocessor 310 receives the error recovery information transmitted from the first redundancy device 100 or the second redundancy device 200 when the generated error is recovered.

또한, 상기 제1 마이크로프로세서(310)는, 상기 에러 복구 정보를 수신할 때, 상기 이중화 상태를 에러 상태에서 정상 상태로 전환하고, 정상적인 이중화 상태를 유지한다.Further, when receiving the error recovery information, the first microprocessor 310 switches the redundancy state from the error state to the normal state, and maintains the normal redundancy state.

즉, 상기 제1 마이크로프로세서(310)는, 상기 에러 복구 정보를 수신할 때, 상기 이중화 상태를 에러 상태에서 정상 상태로 전환하고, 상기 제1 이중화 장치(100)로부터 전달되는 결정된 상기 제1 시스템(300)의 상태를 근거로 활성화 상태 또는 대기 상태 중 어느 하나로 동작한다.That is, when the error recovery information is received, the first microprocessor 310 switches the redundancy state from the error state to the normal state, and when the first redundancy apparatus 100 determines that the first system And operates in either an active state or a standby state based on the state of the controller 300.

상기 제1 이중화 연결 상태 진단부(320)는, 상기 제1 이중화 통신 모듈(340)의 상태를 감시한다.The first redundant connection state diagnosis unit 320 monitors the state of the first redundant communication module 340.

또한, 상기 제1 이중화 연결 상태 진단부(320)는, 상기 제1 이중화 통신 모듈(340)에 대한 상태 감시 정보인 상기 제1 이중화 연결 상태 감시 정보를 상기 제1 이중화 장치(100)에 전달한다.The first redundant connection status diagnosis unit 320 transmits the first redundant connection status monitoring information to the first redundant device 100, which is status monitoring information for the first redundant communication module 340 .

상기 제1 주메모리(330)는, 상기 제1 시스템(300)이 동작하는데 필요한 데이터와 프로그램 등을 저장한다.The first main memory 330 stores data and programs necessary for the first system 300 to operate.

또한, 상기 제1 주메모리(330)는, 플래시 메모리 타입(Flash Memory Type), 하드 디스크 타입(Hard Disk Type), 멀티미디어 카드 마이크로 타입(Multimedia Card Micro Type), 카드 타입의 메모리(예를 들면, SD 또는 XD 메모리 등), 자기 메모리, 자기 디스크, 광디스크, 램(Random Access Memory : RAM), SRAM(Static Random Access Memory), 롬(Read-Only Memory : ROM), EEPROM(Electrically Erasable Programmable Read-Only Memory), PROM(Programmable Read-Only Memory) 중 적어도 하나의 저장매체를 포함할 수 있다.The first main memory 330 may be a flash memory type, a hard disk type, a multimedia card micro type, a card type memory (for example, SD or XD memory), a magnetic disk, a magnetic disk, an optical disk, a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read- Memory, and a programmable read-only memory (PROM).

또한, 상기 제1 주메모리(330)는, 상기 제1 마이크로프로세서(310)에 의해 수행된 연산 결과를 저장한다.The first main memory 330 stores results of operations performed by the first microprocessor 310.

또한, 상기 제1 주메모리(330)는, 상기 제1 마이크로프로세서(310)의 제어에 의해, 액티브 상태인 시스템(예를 들어, 상기 제2 시스템(400))으로부터 전달되는 상기 변경된 제2 데이터를 기록한다.The first main memory 330 controls the first microprocessor 310 and the second microprocessor 310 under the control of the first microprocessor 310. The first main memory 330 receives the changed second data (for example, Lt; / RTI >

또한, 상기 제1 주메모리(330)는, 상기 제1 마이크로프로세서(310)의 제어에 의해, 대기 상태인 시스템(예를 들어, 상기 제2 시스템(400))으로부터 전달되는 상기 변경된 제2 데이터를 기록한다.The first main memory 330 controls the first microprocessor 310 to transmit the changed second data transmitted from the standby system (for example, the second system 400) Lt; / RTI >

상기 제1 이중화 통신 모듈(340)은, 상기 제1 마이크로프로세서(310)의 제어에 의해, 상기 연산 수행 결과에 따른 상기 변경된 제1 데이터를 제2 시스템(400)(또는, 상기 제2 시스템(400)에 포함된 제2 이중화 통신 모듈(440))에 전달한다.The first redundant communication module 340 may transmit the changed first data according to the result of the operation to the second system 400 (or the second system 400) by the control of the first microprocessor 310 400 to the second redundant communication module 440).

또한, 상기 제1 이중화 통신 모듈(340)은, 상기 제2 시스템(400)으로부터 전달되는 상기 변경된 제2 데이터를 수신한다.Also, the first redundant communication module 340 receives the changed second data transmitted from the second system 400.

상기 제2 시스템(400)은, 상기 제1 이중화 장치(100) 및 상기 제2 이중화 장치(200)로부터 전달되는 상기 결정된 상기 제1 시스템(300) 및 상기 제2 시스템(400)의 상태를 각각 수신한다.The second system 400 may be configured to determine the states of the first system 300 and the second system 400 determined from the first and second duplication devices 100 and 200, .

또한, 상기 제2 시스템(400)은, 상기 도 1에 도시한 바와 같이, 제2 마이크로프로세서(410), 제2 이중화 연결 상태 진단부(420), 제2 주메모리(430) 및, 제2 이중화 통신 모듈(440)로 구성된다. 도 1에 도시된 제2 시스템(400)의 구성 요소 모두가 필수 구성 요소인 것은 아니며, 도 1에 도시된 구성 요소보다 많은 구성 요소에 의해 제2 시스템(400)이 구현될 수도 있고, 그보다 적은 구성 요소에 의해서도 제2 시스템(400)이 구현될 수도 있다.1, the second system 400 includes a second microprocessor 410, a second redundant connection state diagnosis unit 420, a second main memory 430, and a second And a redundant communication module 440. Not all of the components of the second system 400 shown in FIG. 1 are required, and the second system 400 may be implemented by more components than the components shown in FIG. 1, The second system 400 may also be implemented by components.

상기 제2 마이크로프로세서(410)는, 상기 제2 시스템(400)의 전반적인 제어 기능을 수행한다.The second microprocessor 410 performs the overall control functions of the second system 400.

또한, 상기 제2 마이크로프로세서(410)는, 상기 제1 이중화 장치(100)로부터 전달된 상기 제1 시스템(300)의 상태(예를 들어, 상기 액티브 상태 또는 상기 대기 상태)를 근거로 상기 제1 시스템(300)의 상태(예를 들어, 액티브 상태 또는, 마스터 상태)를 확인하고, 상기 제2 이중화 장치(200)로부터 전달된 상기 제2 시스템(400)의 상태(예를 들어, 상기 액티브 상태 또는 상기 대기 상태)를 근거로 상기 제2 시스템(400)의 상태(예를 들어, 대기 상태 또는 슬레이브 상태)를 확인한다.The second microprocessor 410 may also be configured to control the first system 300 based on the state of the first system 300 (for example, the active state or the standby state) 1 state of the system 300 (for example, an active state or a master state) and checks the state of the second system 400 transmitted from the second duplication device 200 (for example, (E.g., a standby state or a slave state) of the second system 400 based on the state information (e.g., state or standby state).

또한, 상기 제2 마이크로프로세서(410)는, 상시-대기 방식으로, 미리 설정된 제어 알고리즘을 수행한다.In addition, the second microprocessor 410 performs a preset control algorithm in an always-on manner.

즉, 상기 제2 마이크로프로세서(410)는, 상기 제2 주메모리(430)로부터 입력값(또는, 제2 입력값)을 가져오고, 미리 설치된 제2 래더 프로그램을 통해 상기 가져온 상기 입력값에 대한 연산을 수행한다.That is, the second microprocessor 410 fetches an input value (or a second input value) from the second main memory 430, and performs a second ladder program on the fetched input value .

또한, 상기 제2 마이크로프로세서(410)는, 상기 연산 수행 결과를 이전(또는, 직전) 연산 수행 결과와 비교하여, 변경된 제2 데이터(또는, 업데이트된 제2 데이터)를 상기 제2 주메모리(430)에 기록(또는, 저장)한다.Also, the second microprocessor 410 may compare the result of the operation with the result of previous (or previous) operation, and output the changed second data (or the updated second data) to the second main memory 430). ≪ / RTI >

또한, 상기 제2 마이크로프로세서(410)는, 상기 제2 시스템(400)이 액티브 상태인 경우, 상기 제2 이중화 통신 모듈(440)을 통해 상기 변경된 제2 데이터를 제1 시스템(300)(또는, 상기 제1 시스템(300)에 포함된 상기 제1 이중화 통신 모듈(340))에 전달한다.The second microprocessor 410 may also be operable to transmit the changed second data to the first system 300 (or the first system 300) via the second redundant communication module 440 if the second system 400 is in an active state. To the first redundant communication module 340 included in the first system 300).

또한, 상기 제2 마이크로프로세서(410)는, 상기 제2 시스템(400)이 대기 상태인 경우, 상기 제1 시스템(300)으로부터 전달되는 변경된 제1 데이터를 수신하고, 상기 수신된 변경된 제1 데이터를 상기 제2 주메모리(430)에 기록한다.The second microprocessor 410 receives the changed first data transmitted from the first system 300 when the second system 400 is in a standby state, In the second main memory 430.

또한, 상기 제2 마이크로프로세서(410)는, 상기 제2 이중화 장치(200)로부터 전달되는 상기 이중화 연결 에러 정보를 수신한다.Also, the second microprocessor 410 receives the redundant connection error information transmitted from the second redundant device 200.

또한, 상기 제2 마이크로프로세서(410)는, 상기 제2 이중화 연결 상태 진단부(420)의 상태 감시 정보인 상기 제2 이중화 연결 상태 감시 정보 또는, 상기 제1 이중화 장치(100)로부터 전달되는 상기 제1 시스템(300)의 제1 이중화 연결 상태 감시 정보를 근거로 이중화 연결 상태를 확인한다.In addition, the second microprocessor 410 may receive the second redundant connection status monitoring information, which is status monitoring information of the second redundant connection status diagnosis unit 420, or the second redundant connection status monitoring information, The redundant connection state is checked based on the first redundant connection state monitoring information of the first system 300.

또한, 상기 제2 마이크로프로세서(410)는, 상기 확인 결과, 상기 제1 시스템(300)과 상기 제2 시스템(400) 간의 이중화 연결 상태에 에러가 발생한 경우, 상기 이중화 연결 에러 정보를 생성하고, 상기 생성된 이중화 연결 에러 정보를 상기 제1 이중화 장치(100), 상기 제2 이중화 장치(200) 및, 상기 제1 시스템(300)에 전달할 수 있다.The second microprocessor 410 generates the redundant connection error information when an error occurs in the redundant connection state between the first system 300 and the second system 400 as a result of the checking, And may transmit the generated redundant connection error information to the first redundancy device 100, the second redundancy device 200, and the first system 300.

또한, 상기 제2 마이크로프로세서(410)는, 상기 제1 이중화 장치(100) 또는 상기 제2 이중화 장치(200)로부터 전달되는 상기 이중화 연결 에러 정보를 수신한다.The second microprocessor 410 receives the redundant connection error information transmitted from the first redundant device 100 or the second redundant device 200.

또한, 상기 제2 마이크로프로세서(410)는, 상기 이중화 연결 에러 정보를 수신할 때(또는, 상기 제2 마이크로프로세서(410)에서 상기 이중화 연결 에러 정보를 생성할 때), 이중화 상태를 에러 상태로 전환(또는, 처리/변환)하고, 상기 확인된 상기 제2 시스템(400)의 상태를 근거로 상기 제2 시스템(400)의 상태를 유지한다.In addition, when the second microprocessor 410 receives the redundant connection error information (or when the second microprocessor 410 generates the redundant connection error information), the second microprocessor 410 sets the redundant state to an error state (Or processes / transforms) the second system 400 and maintains the state of the second system 400 based on the determined state of the second system 400.

즉, 상기 제2 마이크로프로세서(410)는, 상기 이중화 연결 에러 정보를 수신할 때, 이중화 상태를 에러 상태로 전환(또는, 처리/변환)하고, 상기 확인된 상기 제2 시스템(400)의 상태가 활성화 상태인 경우, 활성화 상태를 그대로 유지하고, 상기 확인된 상기 제2 시스템(400)의 상태가 대기 상태인 경우, 대기 상태를 그대로 유지한다.That is, when receiving the duplicated connection error information, the second microprocessor 410 converts (or processes / converts) the redundancy state to the error state, and when the state of the second system 400 When the second system 400 is in the standby state, the standby state is maintained as it is.

또한, 상기 제2 마이크로프로세서(410)는, 상기 발생한 에러가 복구된 경우, 상기 제1 이중화 장치(100) 또는 상기 제2 이중화 장치(200)로부터 전달되는 에러 복구 정보를 수신한다.The second microprocessor 410 receives the error recovery information transmitted from the first redundancy device 100 or the second redundancy device 200 when the generated error is recovered.

또한, 상기 제2 마이크로프로세서(410)는, 상기 에러 복구 정보를 수신할 때, 상기 이중화 상태를 에러 상태에서 정상 상태로 전환하고, 정상적인 이중화 상태를 유지한다.In addition, when receiving the error recovery information, the second microprocessor 410 switches the redundancy state from the error state to the normal state, and maintains the normal redundancy state.

즉, 상기 제2 마이크로프로세서(410)는, 상기 에러 복구 정보를 수신할 때, 상기 이중화 상태를 에러 상태에서 정상 상태로 전환하고, 상기 제2 이중화 장치(200)로부터 전달되는 결정된 상기 제2 시스템(400)의 상태를 근거로 활성화 상태 또는 대기 상태 중 어느 하나로 동작한다.That is, when the error recovery information is received, the second microprocessor 410 switches the redundancy state from the error state to the normal state, and transmits the error recovery information to the determined second system 200, Lt; RTI ID = 0.0 > 400, < / RTI >

상기 제2 이중화 연결 상태 진단부(420)는, 상기 제2 이중화 통신 모듈(440)의 상태를 감시한다.The second redundant connection status diagnosis unit 420 monitors the status of the second redundant communication module 440.

또한, 상기 제2 이중화 연결 상태 진단부(420)는, 상기 제2 이중화 통신 모듈(440)에 대한 상태 감시 정보인 상기 제2 이중화 연결 상태 감시 정보를 상기 제2 이중화 장치(200)에 전달한다.The second redundant connection status diagnosis unit 420 transmits the second redundant connection status monitoring information to the second redundant device 200, which is status monitoring information for the second redundant communication module 440 .

상기 제2 주메모리(430)는, 상기 제2 시스템(400)이 동작하는데 필요한 데이터와 프로그램 등을 저장한다.The second main memory 430 stores data and programs necessary for the second system 400 to operate.

또한, 상기 제2 주메모리(430)는, 플래시 메모리 타입, 하드 디스크 타입, 멀티미디어 카드 마이크로 타입, 카드 타입의 메모리(예를 들면, SD 또는 XD 메모리 등), 자기 메모리, 자기 디스크, 광디스크, 램(RAM), SRAM, 롬(ROM), EEPROM, PROM 중 적어도 하나의 저장매체를 포함할 수 있다.The second main memory 430 may be a flash memory type, a hard disk type, a multimedia card micro type, a card type memory (for example, SD or XD memory), a magnetic memory, a magnetic disk, (RAM), an SRAM, a ROM, an EEPROM, and a PROM.

또한, 상기 제2 주메모리(430)는, 상기 제2 마이크로프로세서(410)에 의해 수행된 연산 결과를 저장한다.The second main memory 430 stores the result of the operation performed by the second microprocessor 410.

또한, 상기 제2 주메모리(430)는, 상기 제2 마이크로프로세서(410)의 제어에 의해, 액티브 상태인 시스템(예를 들어, 상기 제1 시스템(300))으로부터 전달되는 상기 변경된 제1 데이터를 기록한다.The second main memory 430 controls the second microprocessor 410 under control of the second microprocessor 410 so that the changed first data 420 transmitted from the active system (for example, the first system 300) Lt; / RTI >

또한, 상기 제2 주메모리(430)는, 상기 제2 마이크로프로세서(410)의 제어에 의해, 대기 상태인 시스템(예를 들어, 상기 제1 시스템(300))으로부터 전달되는 상기 변경된 제2 데이터를 기록한다.The second main memory 430 controls the second microprocessor 410 to transmit the changed second data 420 transmitted from the standby system (for example, the first system 300) Lt; / RTI >

상기 제2 이중화 통신 모듈(440)은, 상기 제2 마이크로프로세서(410)의 제어에 의해, 상기 연산 수행 결과에 따른 상기 변경된 제2 데이터를 제1 시스템(300)(또는, 상기 제1 시스템(300)에 포함된 상기 제1 이중화 통신 모듈(340))에 전달한다.The second duplication communication module 440 may transmit the changed second data according to the result of the operation to the first system 300 (or the first system 300) by the control of the second microprocessor 410 300 to the first redundant communication module 340).

또한, 상기 제2 이중화 통신 모듈(440)은, 상기 제1 시스템(300)으로부터 전달되는 상기 변경된 제1 데이터를 수신한다.Also, the second duplication communication module 440 receives the changed first data transmitted from the first system 300.

또한, 상기 본 명세서의 실시예에서는, 액티브 상태인 시스템에서 변경된 데이터를 대기 상태인 시스템에 전달하는 내용을 설명하고 있으나, 이에 한정되는 것은 아니며, 상기 제1 시스템(300) 및 상기 제2 시스템(400)의 연산 수행 결과 중, 각각 변경된 데이터를 상대 시스템에 전달하고, 상대 시스템에서는 대응하는 시스템으로부터 전달되는 변경된 데이터를 각각 기록하도록 구성할 수도 있다.Although the present invention has been described with reference to the case where the changed data is transferred to the standby system in the active system, the present invention is not limited thereto. The first system 300 and the second system 400, the changed data may be transmitted to the partner system, and the partner system may record the changed data transmitted from the corresponding system, respectively.

즉, 상기 제1 시스템(300)의 변경된 제1 데이터를 상기 제2 시스템(400)에 전달하고, 상기 제2 시스템(400)에서 상기 변경된 제1 데이터를 상기 제2 시스템(400)의 상기 제2 주메모리(430)에 기록한다. 또한, 상기 제2 시스템(400)의 변경된 제2 데이터를 상기 제1 데이터(300)에 전달하고, 상기 제1 시스템(300)에서 상기 변경된 제2 데이터를 상기 제1 시스템(300)의 상기 제1 주메모리(330)에 기록할 수 있다.That is, the changed first data of the first system 300 is transmitted to the second system 400, and the changed first data is transmitted to the second system 400, 2 < / RTI > It is also possible to transfer the modified second data of the second system 400 to the first data 300 and to transmit the changed second data to the first system 300 in the first system 300, It is possible to record in the one-main memory 330.

이와 같이, HMI, PLC 및, DCS 등의 자동화 시스템에서 이중화 동기화 복수를 위한 연결에 에러가 발생한 경우, 이중화 시스템의 상태 등의 처리 방법과 복귀에 대한 방법을 제공할 수 있다.As described above, when an error occurs in a connection for a plurality of redundant synchronous systems in an automation system such as an HMI, a PLC, and a DCS, a processing method such as the state of the redundant system and a method for return can be provided.

또한, 이와 같이, 이중화 동기화를 위한 연결 상태를 확인할 수 있다.In this way, the connection status for synchronization synchronization can be confirmed.

이하에서는, 본 명세서에 따른 이중화 시스템의 제어 방법을 도 1 내지 도 2를 참조하여 상세히 설명한다.Hereinafter, a control method of the duplication system according to the present invention will be described in detail with reference to FIG. 1 to FIG.

도 2는 본 명세서의 일 실시예에 따른 이중화 시스템의 통신 과정을 보인 신호 흐름도이다.2 is a signal flow diagram illustrating a communication process of a redundancy system according to an embodiment of the present invention.

먼저, 제1 이중화 장치(100) 및 제2 이중화 장치(200)는, 각각 연결된 제1 시스템(300) 및 제2 시스템(400)의 전반적인 상태를 각각 감지하여, 각각의 시스템의 상태(예를 들어, 활성화 상태(Active State) 또는 대기 상태(StandBy State))를 결정(또는, 확인)한다.First, the first and second duplication devices 100 and 200 respectively detect the overall state of the first system 300 and the second system 400, respectively, and determine the state of each system (for example, (Or confirms) an active state (Standby State) or an active state (Standby State).

즉, 상기 제1 이중화 장치(100)는, 연결된 상기 제1 시스템(300)의 상태를 감지하여, 상기 제1 시스템(300)이 활성화 상태인지 또는 대기 상태인지를 결정한다. 또한, 상기 제2 이중화 장치(200)는, 연결된 상기 제2 시스템(400)의 상태를 감지하여, 상기 제2 시스템(400)이 활성화 상태인지 또는 대기 상태인지를 결정한다.That is, the first duplexer 100 detects the connected state of the first system 300 and determines whether the first system 300 is in an active state or a standby state. In addition, the second duplication device 200 detects the state of the connected second system 400 and determines whether the second system 400 is active or in a standby state.

일 예로, 상기 제1 이중화 장치(100)는, 상기 제1 시스템(300)의 상태를 감지하여 상기 제1 시스템(300)이 활성화 상태인 것으로 결정한다. 또한, 상기 제2 이중화 장치(200)는, 상기 제2 시스템(400)의 상태를 감지하여 상기 제2 시스템(400)이 대기 상태인 것으로 결정한다(SP210).For example, the first duplexer 100 detects the state of the first system 300 and determines that the first system 300 is in the active state. In addition, the second duplication apparatus 200 detects the state of the second system 400 and determines that the second system 400 is in a standby state (SP 210).

이후, 상기 제1 이중화 장치(100) 및 상기 제2 이중화 장치(200) 각각은, 상기 결정된 각각의 시스템의 상태를 상기 제1 시스템(300) 및 상기 제2 시스템(400)에 각각 전달(또는, 전송)한다.Each of the first and second redundant devices 100 and 200 then transmits the determined state of each system to the first system 300 and the second system 400 respectively , send.

즉, 상기 제1 이중화 장치(100)는, 상기 결정된 상기 제1 시스템(300)의 상태(예를 들어, 활성화 상태)를 상기 제1 시스템(300)과 상기 제2 시스템(400)에 전달한다. 또한, 상기 제2 이중화 장치(200)는, 상기 결정된 상기 제2 시스템(400)의 상태(예를 들어, 대기 상태)를 상기 제1 시스템(300)과 상기 제2 시스템(400)에 전달한다.That is, the first duplication apparatus 100 transmits the determined state (for example, activation state) of the first system 300 to the first system 300 and the second system 400 . The second duplexer 200 transmits the determined state of the second system 400 (for example, a standby state) to the first system 300 and the second system 400 .

일 예로, 상기 제1 이중화 장치(100)는, 상기 결정된 상기 제1 시스템(300)의 활성화 상태를 상기 제1 시스템(300)과 상기 제2 시스템(400)에 전달한다. 또한, 상기 제2 이중화 장치(200)는, 상기 결정된 상기 제2 시스템(400)의 대기 상태를 상기 제1 시스템(300)과 상기 제2 시스템(400)에 전달한다(SP220).For example, the first duplexer 100 transmits the determined activation state of the first system 300 to the first system 300 and the second system 400. In addition, the second duplication apparatus 200 transmits the determined standby state of the second system 400 to the first system 300 and the second system 400 (SP 220).

이후, 상기 제1 시스템(300) 및 상기 제2 시스템(400) 각각은, 상기 제1 이중화 장치(100) 및 상기 제2 이중화 장치(200)로부터 각각 전달되는 상기 제1 시스템(300) 및 상기 제2 시스템(400)의 동작 상태를 수신한다.Each of the first system 300 and the second system 400 is then connected to the first system 300 and the second system 300 that are respectively transmitted from the first duplexer 100 and the second duplexer 200, And receives the operating state of the second system 400.

또한, 상기 제1 시스템(300) 및 상기 제2 시스템(400) 각각은, 상기 수신된 상기 제1 시스템(300) 및 상기 제2 시스템(400)의 동작 상태를 근거로 해당 시스템의 상태를 확인한다.Each of the first system 300 and the second system 400 may check the status of the corresponding system based on the received operation states of the first system 300 and the second system 400 do.

즉, 상기 제1 시스템(300)은, 상기 제1 이중화 장치(100) 및 상기 제2 이중화 장치(200)로부터 각각 전달되는 상기 제1 시스템(300) 및 상기 제2 시스템(400)의 동작 상태를 수신하고, 상기 수신된 상기 제1 시스템(300) 및 상기 제2 시스템(400)의 동작 상태를 근거로 상기 제1 시스템(300)의 상태(예를 들어, 상기 활성화 상태)를 확인한다. 또한, 상기 제2 시스템(400)은, 상기 수신된 상기 제1 시스템(300) 및 상기 제2 시스템(400)의 동작 상태를 근거로 상기 제2 시스템(400)의 상태(예를 들어, 대기 상태)를 확인한다(SP230).That is, the first system 300 may be configured to transmit the operation statuses of the first system 300 and the second system 400, which are respectively transmitted from the first redundancy device 100 and the second redundancy device 200, (For example, the activation state) of the first system 300 based on the received operation state of the first system 300 and the second system 400. [ The second system 400 may also be configured to determine a state of the second system 400 based on operational states of the first system 300 and the second system 400, (SP230).

이후, 상기 제1 시스템(300) 및 상기 제2 시스템(400) 각각은, 상시-대기 방식으로 각각의 시스템에 미리 설치된 래더 프로그램을 통해서 각 시스템의 주메모리로부터 가져온 입력값에 대한 연산을 각각 수행한다.Each of the first system 300 and the second system 400 performs an operation on an input value fetched from the main memory of each system through a ladder program preinstalled in each system in an always- do.

일 예로, 액티브 상태인 상기 제1 시스템(300)은, 상기 제1 시스템(300)의 제1 주메모리(330)에서 제1 입력값을 가져오고, 상기 제1 시스템(300)에 미리 설치된 제1 래더 프로그램을 통해 상기 가져온 제1 입력값에 대한 연산을 수행한다. 또한, 대기 상태인 상기 제2 시스템(400)은, 상기 제2 시스템(400)의 제2 주메모리(430)에서 제2 입력값을 가져오고, 상기 제2 시스템(400)에 미리 설치된 제2 래더 프로그램을 통해 상기 가져온 제2 입력값에 대한 연산을 수행한다(SP240).For example, the first system 300 in an active state may receive a first input value from a first main memory 330 of the first system 300, And performs an operation on the imported first input value through one ladder program. The second system 400 in a standby state may also receive a second input value from a second main memory 430 of the second system 400 and may receive a second input value from a second And performs an operation on the second input value obtained through the ladder program (SP240).

이후, 상기 제1 시스템(300) 및 상기 제2 시스템(400) 각각은, 상기 연산 수행 결과를 각 시스템의 이전 연산 수행 결과와 비교하여, 변경된 데이터(또는, 업데이트된 데이터)를 각각의 시스템의 주메모리에 기록(또는, 저장)한다.Then, each of the first system 300 and the second system 400 compares the result of the operation with the result of previous operation of each system, and stores the changed data (or updated data) (Or stores) it in the main memory.

즉, 상기 제1 시스템(300)은, 상기 연산 수행 결과를 상기 제1 시스템(300)의 이전 연산 수행 결과와 비교하여, 변경된 제1 데이터를 상기 제1 주메모리(330에 기록한다. 또한, 상기 제2 시스템(400)은, 상기 연산 수행 결과를 상기 제2 시스템(400)의 이전 연산 수행 결과와 비교하여, 변경된 제2 데이터를 제2 주메모리(430)에 기록한다(SP250).That is, the first system 300 compares the result of the operation with the previous operation result of the first system 300, and records the changed first data in the first main memory 330. Also, The second system 400 compares the result of the operation with the result of previous operation of the second system 400 and records the changed second data in the second main memory 430 (SP250).

이후, 상기 제1 시스템(300) 및 상기 제2 시스템(400) 중에서 액티브 상태인 시스템의 주메모리에 기록된 상기 변경된 데이터를 대기 상태인 시스템에 전달(또는, 전송)한다.Then, the changed data recorded in the main memory of the active system among the first system 300 and the second system 400 is transferred (or transferred) to the standby system.

즉, 액티브 상태인 상기 제1 시스템(300)의 제1 주메모리(330)에 기록된 상기 변경된 제1 데이터를 대기 상태인 상기 제2 시스템(400)에 전달한다(SP260).That is, the changed first data recorded in the first main memory 330 of the first system 300 in an active state is transferred to the second system 400 in a standby state (SP260).

이후, 상기 제1 시스템(300) 및 상기 제2 시스템(400) 중에서 대기 상태인 시스템은, 액티브 상태인 시스템으로부터 전달되는 상기 변경된 데이터를 수신한다.Thereafter, the system in the standby state among the first system 300 and the second system 400 receives the changed data transmitted from the active system.

또한, 상기 대기 상태인 시스템은, 상기 수신된 상기 변경된 데이터를 상기 대기 상태인 시스템의 주메모리에 기록한다.Further, the system in the standby state records the received changed data in the main memory of the standby system.

즉, 대기 상태인 상기 제2 시스템(400)은, 액티브 상태인 상기 제1 시스템으로부터 전달되는 상기 변경된 제1 데이터를 수신하고, 상기 수신된 상기 변경된 제1 데이터를 상기 제2 주메모리(430)에 기록한다(SP270).That is, the second system 400 in the standby state receives the changed first data transmitted from the first system in the active state, and transmits the received changed first data to the second main memory 430, (SP270).

이후, 상기 제1 이중화 장치(100) 및 상기 제2 이중화 장치(200)는, 상기 제1 시스템(300)과 상기 제2 시스템(400)으로부터 각각 전달되는 이중화 연결 상태 감시 정보를 근거로, 이중화 연결 상태를 확인한다.Thereafter, the first and second duplication apparatuses 100 and 200 may receive redundant connection status monitoring information transmitted from the first system 300 and the second system 400, respectively, Check the connection status.

즉, 상기 제1 이중화 장치(100)는, 상기 제1 시스템(300)으로부터 전달되는 제1 이중화 연결 상태 감시 정보를 근거로 이중화 연결 상태를 확인한다. 또한, 상기 제2 이중화 장치(200)는, 상기 제2 시스템(400)으로부터 전달되는 제2 이중화 연결 상태 감시 정보를 근거로 이중화 연결 상태를 확인한다(SP280).That is, the first redundancy apparatus 100 checks the redundancy connection state based on the first redundancy connection state monitoring information transmitted from the first system 300. Also, the second redundancy apparatus 200 checks the redundancy connection status based on the second redundancy connection status monitoring information transmitted from the second system 400 (SP280).

이후, 상기 제1 이중화 장치(100) 및 상기 제2 이중화 장치(200)는, 상기 확인 결과, 상기 제1 시스템(300)과 상기 제2 시스템(400) 간의 이중화 연결 상태에 에러가 발생한 경우, 이중화 연결 에러 정보를 생성하고, 상기 생성된 이중화 연결 에러 정보를 상기 제1 시스템(300)과 상기 제2 시스템(400)에 전달한다(SP290).The first and second redundant devices 100 and 200 may be configured such that when an error occurs in the redundant connection state between the first system 300 and the second system 400, Generates duplicated connection error information, and transfers the generated duplicated connection error information to the first system 300 and the second system 400 (SP290).

이후, 상기 제1 시스템(300) 및 상기 제2 시스템(400) 각각은, 상기 제1 이중화 장치(100) 또는 상기 제2 이중화 장치(200)로부터 전달되는 상기 이중화 연결 에러 정보를 수신한다.Each of the first system 300 and the second system 400 receives the redundant connection error information transmitted from the first redundant apparatus 100 or the second redundant apparatus 200.

또한, 상기 제1 시스템(300) 및 상기 제2 시스템(400) 각각은, 이중화 상태를 에러 상태로 전환(또는, 처리/변환)하고, 상기 제1 시스템(300) 및 상기 제2 시스템(400) 중 활성화 상태인 시스템은 활성화 상태를 유지하고, 상기 제1 시스템(300) 및 상기 제2 시스템(400) 중 대기 상태인 시스템은 대기 상태를 유지한다.Each of the first system 300 and the second system 400 may also be configured to switch (or process / convert) the redundancy state to an error state, and the first system 300 and the second system 400 Of the first system 300 and the second system 400 are in the active state, and the system in the standby state among the first system 300 and the second system 400 maintains the standby state.

일 예로, 상기 제1 시스템(300)과 상기 제2 시스템(400) 간의 이중화 연결 상태에 에러가 발생할 때, 상기 제1 시스템(300) 및 상기 제2 시스템(400) 중 활성화 상태인 상기 제1 시스템(300)은 상기 제1 이중화 장치(100)로부터 전달되는 상기 이중화 연결 에러 정보를 근거로 이중화 상태를 에러 상태로 전환하고 상기 활성화 상태를 유지하며, 상기 제1 시스템(300) 및 상기 제2 시스템(400) 중 대기 상태인 상기 제2 시스템(400)은 상기 제2 이중화 장치(200)로부터 전달되는 상기 이중화 연결 에러 정보를 근거로 이중화 상태를 에러 상태로 전환하고 상기 대기 상태를 유지한다(SP300).For example, when an error occurs in the redundant connection state between the first system 300 and the second system 400, the first system 300 and the second system 400, The system 300 switches the redundancy state to an error state based on the redundancy connection error information transmitted from the first redundancy apparatus 100 and maintains the activation state, and the first system 300 and the second system 300 The second system 400 in the standby state of the system 400 switches the redundancy state to the error state based on the redundancy connection error information transmitted from the second redundancy apparatus 200 and maintains the standby state SP300).

이후, 상기 제1 시스템(300) 및 상기 제2 시스템(400) 각각은, 상기 발생한 에러가 복구된 경우, 상기 에러 상태로 전환된 이중화 상태를 정상 상태로 각각 전환하고, 정상적인 이중화 상태를 유지한다.Then, when the generated error is recovered, the first system 300 and the second system 400 respectively convert the redundancy state converted into the error state into a normal state, and maintain a normal redundancy state .

즉, 상기 제1 시스템(300)은, 상기 제1 이중화 장치(100) 또는 상기 제2 이중화 장치(200)로부터 전달되는 에러 복구 정보를 수신할 때, 상기 제1 이중화 장치(100)로부터 전달되는 결정된 상기 제1 시스템(300)의 상태를 근거로 활성화 상태 또는 대기 상태 중 어느 하나로 동작한다. 또한, 상기 제2 시스템(400)은, 상기 발생한 에러가 복구된 경우, 상기 제2 이중화 장치(200)로부터 전달되는 결정된 상기 제2 시스템(400)의 상태를 근거로 활성화 상태 또는 대기 상태 중 어느 하나로 동작한다(SP310).That is, when the first system 300 receives the error recovery information transmitted from the first redundancy device 100 or the second redundancy device 200, And operates in either an active state or a standby state based on the determined state of the first system 300. When the error is recovered, the second system 400 determines whether the second system 400 is in an active state or a standby state based on the determined state of the second system 400 transmitted from the second duplication apparatus 200 (SP310).

본 명세서의 실시예는 앞서 설명한 바와 같이, HMI, PLC 및, DCS 등의 자동화 시스템에서 이중화 동기화 복수를 위한 연결에 에러가 발생한 경우, 이중화 시스템의 상태 등의 처리 방법과 복귀에 대한 방법을 제공하여, 안정적인 이중화 시스템을 제공하고, 이중화 성능 향상을 개선할 수 있다.As described above, the embodiment of the present invention provides a method of handling a state of a redundant system and a method of returning when an error occurs in connection for a plurality of redundant synchronous systems in an automation system such as an HMI, a PLC, and a DCS , A stable redundancy system can be provided, and the redundancy performance improvement can be improved.

또한, 본 명세서의 실시예는 앞서 설명한 바와 같이, 이중화 동기화를 위한 연결 상태를 확인하여, 이중화 연결이 에러 상태인 경우에도 이중화 상태를 유지할 수 있다.
Also, as described above, the embodiment of the present invention can check the connection status for redundancy synchronization and maintain the redundancy status even when the redundancy connection is in an error state.

전술한 내용은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서, 본 발명에 개시된 실시예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.
The present invention is not limited to the above embodiments and various changes and modifications may be made without departing from the spirit and scope of the invention. Therefore, the embodiments disclosed in the present invention are intended to illustrate rather than limit the scope of the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments. The scope of protection of the present invention should be construed according to the following claims, and all technical ideas within the scope of equivalents should be construed as falling within the scope of the present invention.

10: 이중화 시스템 100: 제1 이중화 장치
200: 제2 이중화 장치 300: 제1 시스템
400: 제2 시스템 310: 제1 마이크로프로세서
320: 제1 이중화 연결 상태 진단부 330: 제1 주메모리
340: 제1 이중화 통신 모듈 410: 제2 마이크로프로세서
420: 제2 이중화 연결 상태 진단부 430: 제2 주메모리
440: 제2 이중화 통신 모듈
10: redundant system 100: first redundant system
200: second duplication device 300: first system
400: second system 310: first microprocessor
320: first redundant connection state diagnosis unit 330: first main memory
340: first redundant communication module 410: second microprocessor
420: second duplicated connection state diagnosis unit 430: second main memory
440: second duplicated communication module

Claims (11)

제1 시스템과 제2 시스템; 및
상기 제1 시스템의 상태와 상기 제2 시스템의 상태를 감지하는 이중화 장치를 포함하고,
상기 제1 시스템과 제2 시스템 간 이중화 연결 상태가 정상이면, 상기 제1 시스템의 상태는 활성화 상태이고, 상기 제2 시스템의 상태는 대기 상태이고,
상기 이중화 연결 상태에 에러가 발생되면, 상기 제1 시스템은 상기 제1 시스템의 상태를 상기 활성화 상태로 유지하고, 상기 제2 시스템은 상기 제2 시스템의 상태를 상기 대기 상태로 유지하고,
상기 이중화 연결 상태에서 상기 에러가 복구되면, 상기 이중화 장치가 상기 제1 시스템의 상태를 상기 활성화 상태 또는 대기 상태 중 어느 하나로 결정하고, 상기 제2 시스템의 상태를 상기 활성화 상태 또는 대기 상태 중 다른 하나로 결정하여, 상기 제1 시스템과 제2 시스템에 전달하는 이중화 시스템.
A first system and a second system; And
And a redundancy device for sensing a state of the first system and a state of the second system,
If the redundant connection state between the first system and the second system is normal, the state of the first system is in an active state, the state of the second system is in a standby state,
The first system maintains the state of the first system in the activated state when the error occurs in the redundant connection state and the second system keeps the state of the second system in the standby state,
If the error is recovered in the redundant connection state, the redundancy device determines the state of the first system as either the active state or the standby state, and switches the state of the second system to the other one of the active state or the standby state And transmits the information to the first system and the second system.
제1항에 있어서,
상기 제1 시스템의 상태 및 상기 제2 시스템의 상태가 모두 활성화 상태이면, 상기 이중화 연결 상태에 상기 에러가 발생되는 이중화 시스템.
The method according to claim 1,
Wherein if the state of the first system and the state of the second system are all active, the error is generated in the redundant connection state.
제1항에 있어서, 상기 이중화 장치는,
상기 제1 시스템의 상태와 상기 제2 시스템의 상태를 상기 제1 시스템과 제2 시스템에 전달하는 이중화 시스템.
The apparatus according to claim 1,
Wherein the state of the first system and the state of the second system are communicated to the first system and the second system.
제1항에 있어서, 상기 이중화 장치는,
상기 제1 시스템의 상태와 상기 제2 시스템의 상태를 근거로 상기 이중화 연결 상태를 확인하고,
상기 이중화 연결 상태에 상기 에러가 발생되면, 이중화 연결 에러 정보를 생성하여, 상기 제1 시스템 및 제2 시스템에 전달하는 이중화 시스템.
The apparatus according to claim 1,
Checking the redundant connection state based on the state of the first system and the state of the second system,
And generating redundant connection error information and transmitting the redundant connection error information to the first system and the second system when the error occurs in the redundant connection state.
제3항에 있어서, 상기 제1 시스템은,
상기 제1 시스템의 상태와 상기 제2 시스템의 상태를 근거로 상기 이중화 연결 상태를 확인하고,
상기 이중화 연결 상태에 상기 에러가 발생되면, 이중화 연결 에러 정보를 생성하여, 상기 이중화 장치 및 제2 시스템에 전달하는 이중화 시스템.
4. The system of claim 3,
Checking the redundant connection state based on the state of the first system and the state of the second system,
And generating redundant connection error information and transmitting the redundant connection error information to the redundant apparatus and the second system when the error occurs in the redundant connection state.
제3항에 있어서, 상기 제2 시스템은,
상기 제1 시스템의 상태와 상기 제2 시스템의 상태를 근거로 상기 이중화 연결 상태를 확인하고,
상기 이중화 연결 상태에 상기 에러가 발생되면, 이중화 연결 에러 정보를 생성하여, 상기 이중화 장치 및 제1 시스템에 전달하는 이중화 시스템.
4. The system of claim 3,
Checking the redundant connection state based on the state of the first system and the state of the second system,
And generating redundant connection error information when the error occurs in the redundant connection state, and transmitting the generated redundant connection error information to the redundant apparatus and the first system.
제1항에 있어서, 상기 이중화 장치는,
상기 이중화 연결 상태에서 상기 에러가 복구되면, 에러 복구 정보를 상기 제1 시스템과 제2 시스템에 전달하는 이중화 시스템.
The apparatus according to claim 1,
Wherein the error recovery information is communicated to the first system and the second system when the error is recovered in the redundant connection state.
제7항에 있어서, 상기 제1 시스템은,
상기 에러 복구 정보를 근거로 상기 제1 시스템의 상태를 활성화 상태 또는 대기 상태 중 어느 하나로 동작하는 이중화 시스템.
8. The system of claim 7,
Wherein the first system operates in either an active state or a standby state based on the error recovery information.
제8항에 있어서, 상기 제2 시스템은,
상기 에러 복구 정보를 근거로 상기 제2 시스템의 상태를 상기 활성화 상태 또는 대기 상태 중 다른 하나로 동작하는 이중화 시스템.
9. The system of claim 8,
Wherein the state of the second system operates as the other of the active state or the standby state based on the error recovery information.
제1 시스템, 제2 시스템 및 상기 제1 시스템의 상태와 상기 제2 시스템의 상태를 감지하는 이중화 장치를 포함하는 이중화 시스템의 제어 방법에 있어서,
상기 제1 시스템과 제2 시스템 간 이중화 연결 상태가 정상이면, 상기 제1 시스템과 제2 시스템이 상기 제1 시스템의 상태는 활성화 상태이고, 상기 제2 시스템의 상태는 대기 상태에서 동작하는 단계;
상기 이중화 연결 상태에 에러가 발생되면, 상기 제1 시스템과 제2 시스템이 상기 제1 시스템의 상태는 활성화 상태이고, 상기 제2 시스템의 상태는 대기 상태로 유지하는 단계; 및
상기 이중화 연결 상태에서 상기 에러가 복구되면, 상기 이중화 장치가 상기 제1 시스템의 상태를 상기 활성화 상태 또는 대기 상태 중 어느 하나로 결정하고, 상기 제2 시스템의 상태를 상기 활성화 상태 또는 대기 상태 중 다른 하나로 결정하여, 상기 제1 시스템과 제2 시스템에 전달하는 단계를 포함하는 방법.
A control method for a redundant system including a first system, a second system, and a redundancy device for detecting a state of the first system and a state of the second system,
If the redundant connection state between the first system and the second system is normal, the first system and the second system are in an active state and the second system operates in a standby state;
If an error occurs in the redundant connection state, the first system and the second system are in an active state and the state of the second system is kept in a standby state; And
If the error is recovered in the redundant connection state, the redundancy device determines the state of the first system as either the active state or the standby state, and switches the state of the second system to the other one of the active state or the standby state Determining and communicating to the first system and the second system.
삭제delete
KR1020130055270A 2013-05-15 2013-05-15 Redundancy system and controllin method thereof KR101846222B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020130055270A KR101846222B1 (en) 2013-05-15 2013-05-15 Redundancy system and controllin method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020130055270A KR101846222B1 (en) 2013-05-15 2013-05-15 Redundancy system and controllin method thereof

Publications (2)

Publication Number Publication Date
KR20140135031A KR20140135031A (en) 2014-11-25
KR101846222B1 true KR101846222B1 (en) 2018-04-06

Family

ID=52455875

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130055270A KR101846222B1 (en) 2013-05-15 2013-05-15 Redundancy system and controllin method thereof

Country Status (1)

Country Link
KR (1) KR101846222B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102646494B1 (en) 2023-10-18 2024-03-12 주식회사 유니즈테크 Controller redundancy device and method for controlling the same

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105938356B (en) * 2016-01-07 2018-12-07 杭州优稳自动化系统有限公司 The hardware redundancy of control module and operation cadence synchronization system in DCS system
CN114003014B (en) * 2021-09-30 2023-12-26 南京国电南自维美德自动化有限公司 Method and system for testing redundant switching time of controller

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001060160A (en) * 1999-08-23 2001-03-06 Mitsubishi Heavy Ind Ltd Cpu duplex system for controller
JP2004213412A (en) * 2003-01-06 2004-07-29 Hitachi Ltd Duplex controller
KR100796445B1 (en) * 2006-12-04 2008-01-22 텔코웨어 주식회사 Duplex system
JP2012221355A (en) * 2011-04-12 2012-11-12 Yokogawa Electric Corp Plant controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001060160A (en) * 1999-08-23 2001-03-06 Mitsubishi Heavy Ind Ltd Cpu duplex system for controller
JP2004213412A (en) * 2003-01-06 2004-07-29 Hitachi Ltd Duplex controller
KR100796445B1 (en) * 2006-12-04 2008-01-22 텔코웨어 주식회사 Duplex system
JP2012221355A (en) * 2011-04-12 2012-11-12 Yokogawa Electric Corp Plant controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102646494B1 (en) 2023-10-18 2024-03-12 주식회사 유니즈테크 Controller redundancy device and method for controlling the same

Also Published As

Publication number Publication date
KR20140135031A (en) 2014-11-25

Similar Documents

Publication Publication Date Title
US9934111B2 (en) Control and data transmission system, process device, and method for redundant process control with decentralized redundancy
CN103955188A (en) Control system and method supporting redundancy switching function
CN107390511A (en) For the method for the automated system for running redundancy
US11067969B2 (en) Relay device for relaying data between devices, control method therefor, and non-transitory computer-readable recording medium therefor
JP6772531B2 (en) Control systems, control methods, control programs, and recording media
CN107957692B (en) Controller redundancy method, device and system
US20080215913A1 (en) Information Processing System and Information Processing Method
JP2017151496A (en) Safety monitoring device, network system, and safety monitoring method
KR101846222B1 (en) Redundancy system and controllin method thereof
CN114355760A (en) Main control station and hot standby redundancy control method thereof
CN104440923A (en) Sudden stop signal control system used for robot and robot
JP6939085B2 (en) Communication equipment and communication system
US10386832B2 (en) Redundant control system for an actuator and method for redundant control thereof
CN102077148B (en) Monitoring system
JP5706347B2 (en) Redundant control system
EP2547045A1 (en) Field communication system
JP2008146236A (en) Duplex control device and redundancy method of its control right setting signal
JP4541241B2 (en) Plant control system
CN104301179A (en) Sensor data transmission system fault monitoring method based on Ethernet
KR101451747B1 (en) Redundancy system and controlling method thereof
CN104813613B (en) module, system and module switching method
JP7211173B2 (en) COMMUNICATION CONTROL DEVICE, ELECTRONIC DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM
JP6031757B2 (en) Transponder, its control method and control program
JP4874873B2 (en) Digital controller
KR200403626Y1 (en) Duplex control device of communication system

Legal Events

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