KR101524152B1 - Duplication control apparatus and duplication control method - Google Patents
Duplication control apparatus and duplication control method Download PDFInfo
- Publication number
- KR101524152B1 KR101524152B1 KR1020130115336A KR20130115336A KR101524152B1 KR 101524152 B1 KR101524152 B1 KR 101524152B1 KR 1020130115336 A KR1020130115336 A KR 1020130115336A KR 20130115336 A KR20130115336 A KR 20130115336A KR 101524152 B1 KR101524152 B1 KR 101524152B1
- Authority
- KR
- South Korea
- Prior art keywords
- control
- control logic
- response time
- logic
- controller
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/10—Plc systems
- G05B2219/14—Plc safety
- G05B2219/14015—Dual plc's, processors and dual I-O
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25172—Duplex
Abstract
본 발명은 이중화 제어 장치 및 이중화 제어 방법에 관한 것으로서, 주 제어기 및 보조 제어기가 구비된 이중화 시스템에서 주 제어기의 제어 로직에 의한 응답 시간이 사전에 설정된 값을 초과하는 경우 보조 제어기로 제어 로직의 실행 권한을 이전시키는 이중화 제어 장치 및 이중화 제어 방법에 관한 것이다.
본 발명의 실시예에 따른 이중화 제어 장치는 동작 중인 적어도 하나 이상의 제어 로직의 동작 상태를 감시하는 로직 관리부와, 상기 감시 결과에 따라 상기 동작 중인 적어도 하나 이상의 제어 로직의 우선 순위를 고려하여 제어권을 이전할 제어 로직을 추출하는 제어부 및 상기 추출된 제어 로직의 제어권을 별도의 제어 장치로 송신하는 통신부를 포함한다.The present invention relates to a duplication control apparatus and a duplication control method. In a duplication system having a main controller and a sub controller, when the response time of the main controller's control logic exceeds a preset value, And a duplication control method for transferring rights.
The redundancy control apparatus according to an embodiment of the present invention includes a logic management unit for monitoring an operation state of at least one control logic in operation and a control unit for transferring a control right in consideration of the priority of at least one control logic in operation, And a communication unit for transmitting the control right of the extracted control logic to a separate control device.
Description
본 발명은 이중화 제어 장치 및 이중화 제어 방법에 관한 것으로서, 더욱 상세하게는 주 제어기 및 보조 제어기가 구비된 이중화 시스템에서 주 제어기의 제어 로직에 의한 응답 시간이 사전에 설정된 값을 초과하는 경우 보조 제어기로 제어 로직의 실행 권한을 이전시키는 이중화 제어 장치 및 이중화 제어 방법에 관한 것이다.The present invention relates to a duplication control apparatus and a duplication control method, and more particularly, to a duplication control apparatus and a duplication control method in a duplication system having a main controller and a sub controller, when the response time by the control logic of the main controller exceeds a preset value, To a duplication control apparatus and a duplication control method for transferring an execution right of control logic.
이중화는 주 제어기와 보조 제어기로 구성된 이중화 시스템에서 주 제어기에 의한 제어 동작이 수행하는 도중에 주 제어기의 하드웨어에 이상이 발생한 경우 보조 제어기로 제어 권한이 이전하는 것을 의미한다.The redundancy means that the control authority is transferred to the auxiliary controller when a failure occurs in the main controller's hardware during the control operation by the main controller in the redundant system composed of the main controller and the auxiliary controller.
다시 말해, 센서 또는 액추에어터와 같은 제어 대상을 제어하기 위하여 제어 알고리즘을 수행하는 제어기가 구비되는데, 이 때 하나의 제어기만을 구비하는 경우 해당 제어기에 문제가 발생하는 경우 제어 대상에 대한 제어 자체가 마비된다.In other words, a controller for performing a control algorithm to control a control object such as a sensor or an actuator is provided. In the case where only one controller is provided at this time, when a problem occurs in the controller, It is paralyzed.
이를 방지하기 위하여, 하나의 제어기가 아닌 2개의 제어기 즉, 주 제어기 및 보조 제어기로 구성된 이중화 시스템을 구축할 수 있다.In order to prevent this, a redundant system composed of two controllers, that is, a main controller and a sub controller, rather than one controller, can be constructed.
이중화 시스템에 따르면, 우선적으로 주 제어기만으로 제어 대상을 제어하고, 보조 제어기는 어떠한 동작도 수행하지 않은 상태를 유지하고 있게 되는데, 만일 주 제어기에서 문제가 발생하여 더 이상 제어 대상에 대한 제어를 수행할 수 없게 되는 경우 주 제어기에서 보조 제어기로 제어 권한이 이전되어 보조 제어기가 제어 대상에 대한 제어를 수행할 수 있도록 하는 것이다. 이에 따라, 제어 대상에 대한 끊김 없는 제어가 수행될 수 있게 된다.According to the redundant system, the control target is controlled primarily by the main controller only, and the auxiliary controller maintains the state in which no operation is performed. If a problem occurs in the main controller, the control is no longer performed The control authority is transferred from the primary controller to the secondary controller so that the secondary controller can perform control over the controlled object. Thus, seamless control of the control target can be performed.
이와 같이, 주 제어기가 제어 대상을 제어할 수 없는 상황이 아니라면 보조 제어기는 어떠한 동작도 하지 않고 그 상태를 유지하게 되는데, 이는 불필요한 자원의 낭비로 간주될 수 있다.In this manner, the auxiliary controller remains in that state without any operation unless the main controller is unable to control the controlled object, which can be regarded as a waste of unnecessary resources.
따라서, 주 제어기에 치명적인 문제가 발생하지 않는 경우 주 제어기의 제어 동작을 보조 제어기가 일부 처리하도록 함으로써 주 제어기의 제어 대상에 대한 작업 처리를 보다 원활하게 하고, 불필요한 자원의 낭비를 감소시킬 수 있는 발명의 등장이 요구된다.Therefore, in the case where a fatal problem does not occur in the main controller, the auxiliary controller performs a part of the control operation of the main controller, thereby making it possible to smoothly perform the work process on the control target of the main controller and to reduce waste of unnecessary resources Is required.
본 발명은 주 제어기 및 보조 제어기가 구비된 이중화 시스템에서 주 제어기의 제어 로직에 의한 응답 시간이 사전에 설정된 값을 초과하는 경우 보조 제어기로 제어 로직의 실행 권한을 이전시키는데 그 목적이 있다.An object of the present invention is to transfer the execution right of the control logic to the auxiliary controller when the response time by the control logic of the main controller exceeds a preset value in the redundant system including the main controller and the auxiliary controller.
본 발명의 목적들은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 또 다른 목적들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The objects of the present invention are not limited to the above-mentioned objects, and other objects not mentioned can be clearly understood by those skilled in the art from the following description.
상기 목적을 달성하기 위하여, 본 발명의 실시예에 따른 이중화 제어 장치는 동작 중인 적어도 하나 이상의 제어 로직의 동작 상태를 감시하는 로직 관리부와, 상기 감시 결과에 따라 상기 동작 중인 적어도 하나 이상의 제어 로직의 우선 순위를 고려하여 제어권을 이전할 제어 로직을 추출하는 제어부 및 상기 추출된 제어 로직의 제어권을 별도의 제어 장치로 송신하는 통신부를 포함한다.According to another aspect of the present invention, there is provided a duplication control apparatus comprising: a logic management unit for monitoring an operation state of at least one control logic in operation; A control unit for extracting control logic to transfer the control right in consideration of the rank, and a communication unit for transmitting the control right of the extracted control logic to a separate control unit.
본 발명의 실시예에 따른 이중화 제어 방법은 동작 중인 적어도 하나 이상의 제어 로직의 동작 상태를 감시하는 단계와, 상기 감시 결과에 따라 상기 동작 중인 적어도 하나 이상의 제어 로직의 우선 순위를 고려하여 제어권을 이전할 제어 로직을 추출하는 단계 및 상기 추출된 제어 로직의 제어권을 별도의 제어 장치로 송신하는 단계를 포함한다.The redundancy control method according to an embodiment of the present invention includes the steps of monitoring an operation state of at least one control logic in operation and transferring a control right in consideration of the priority of at least one control logic in operation according to the monitoring result Extracting the control logic and transmitting the control right of the extracted control logic to a separate control device.
기타 실시예들의 구체적인 사항들은 상세한 설명 및 도면들에 포함되어 있다.The details of other embodiments are included in the detailed description and drawings.
상기한 바와 같은 본 발명의 이중화 제어 장치 및 이중화 제어 방법에 따르면 주 제어기 및 보조 제어기가 구비된 이중화 시스템에서 주 제어기의 제어 로직에 의한 응답 시간이 사전에 설정된 값을 초과하는 경우 보조 제어기로 제어 로직의 실행 권한을 이전시킴으로써, 제어 대상에 대한 작업 처리를 보다 원활하게 하고, 불필요한 자원의 낭비를 감소시키는 장점이 있다.According to the duplication control apparatus and the duplication control method of the present invention, when the response time by the control logic of the main controller exceeds a predetermined value in the redundancy system including the main controller and the sub controller, It is possible to smoothly perform the work process on the control object and to reduce the waste of unnecessary resources.
도 1은 본 발명의 실시예에 따른 이중화 시스템을 나타낸 도면이다.
도 2는 본 발명의 실시예에 따른 제어 로직의 제어권이 이전되는 것을 나타낸 도면이다.
도 3은 본 발명의 실시예에 따른 이중화 제어 장치를 나타낸 블록도이다.
도 4는 본 발명의 실시예에 따른 낮은 우선 순위의 제어 로직에 대한 제어권이 이전되는 것을 나타낸 도면이다.
도 5는 본 발명의 실시예에 따른 제어 로직별 응답 시간을 나타낸 도면이다.
도 6은 본 발명의 실시예에 따른 전체 응답 시간과 임계 응답 시간을 나타낸 도면이다.
도 7은 본 발명의 실시예에 따라 제어 로직의 제어권이 이전되는 과정을 나타낸 흐름도이다.1 is a diagram illustrating a redundancy system according to an embodiment of the present invention.
Figure 2 is a diagram illustrating the transfer of control of control logic according to an embodiment of the present invention.
3 is a block diagram showing a duplication control apparatus according to an embodiment of the present invention.
4 is a diagram illustrating transfer of control rights to low priority control logic according to an embodiment of the present invention.
FIG. 5 is a diagram illustrating response time for each control logic according to an exemplary embodiment of the present invention. Referring to FIG.
FIG. 6 is a diagram illustrating total response time and critical response time according to an embodiment of the present invention. Referring to FIG.
7 is a flowchart illustrating a process of transferring the control right of the control logic according to an embodiment of the present invention.
이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명한다. 본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시 예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 게시되는 실시 예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시 예들은 본 발명의 게시가 완전하도록 하고, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS The advantages and features of the present invention and the manner of achieving them will become apparent with reference to the embodiments described in detail below with reference to the accompanying drawings. The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Is provided to fully convey the scope of the invention to those skilled in the art, and the invention is only defined by the scope of the claims. Like reference numerals refer to like elements throughout the specification.
다른 정의가 없다면, 본 명세서에서 사용되는 모든 용어(기술 및 과학적 용어를 포함)는 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 공통적으로 이해될 수 있는 의미로 사용될 수 있을 것이다. 또 일반적으로 사용되는 사전에 정의되어 있는 용어들은 명백하게 특별히 정의되어 있지 않는 한 이상적으로 또는 과도하게 해석되지 않는다.Unless defined otherwise, all terms (including technical and scientific terms) used herein may be used in a sense commonly understood by one of ordinary skill in the art to which this invention belongs. Also, commonly used predefined terms are not ideally or excessively interpreted unless explicitly defined otherwise.
도 1은 본 발명의 실시예에 따른 이중화 시스템을 나타낸 도면으로서, 이중화 시스템(100)은 모니터링 장치(110), 데이터 입출력 장치(120), 주 제어기(130), 보조 제어기(140) 및 제어 대상(151, 152, 153, 154)을 포함하여 구성된다.1 is a diagram illustrating a redundant system according to an embodiment of the present invention. The
모니터링 장치(110)는 주 제어기(130) 및 보조 제어기(140)를 모니터링하는 역할을 수행한다. 예를 들어, 주 제어기(130) 및 보조 제어기(140)의 동작 과정이 모니터링 장치(110)를 통하여 출력될 수 있으며, 주 제어기(130) 또는 보조 제어기(140)에서 발생된 이벤트가 모니터링 장치(110)를 통하여 출력될 수도 있다.The
따라서, 모니터링 장치(110)는 실시간으로 주 제어기(130) 및 보조 제어기(140)의 동작 과정을 수신하여 출력할 수 있으며, 사전에 설정된 이벤트가 발생된 경우에만 이벤트 정보를 수신하여 출력할 수도 있다. 또한, 사용자의 요청에 따라 주 제어기(130) 및 보조 제어기(140)의 동작 과정 및 이벤트가 출력될 수도 있다.Accordingly, the
도 1은 하나의 모니터링 장치(110)를 도시하고 있으나, 복수의 모니터링 장치가 구비될 수도 있다. 이에 따라, 사용자는 서로 다른 장소에 구비된 모니터링 장치를 이용하여 주 제어기(130) 및 보조 제어기(140)에 대한 모니터링 결과를 확인할 수 있게 된다.Although FIG. 1 shows one
데이터 입출력 장치(120)는 주 제어기(130) 및 보조 제어기(140)에 데이터를 입력하고, 주 제어기(130) 및 보조 제어기(140)에 저장되어 있는 데이터를 출력하는 역할을 수행한다.The data input and
데이터 입출력 장치(120)에 의해 입출력되는 데이터는 제어 로직을 포함한다.The data input / output by the data input /
본 발명에서 제어 로직은 제어 대상(151, 152, 153, 154)을 제어하기 위한 제어 프로그램인 것으로 이해될 수 있다. 즉, 제어 로직을 실행함에 따라 제어 대상(151, 152, 153, 154)에 대한 제어가 수행될 수 있는 것으로서, 하나의 제어 로직에 의하여 하나의 제어 대상에 대한 제어가 수행될 수 있으며, 하나의 제어 로직에 의하여 복수의 제어 대상에 대한 제어가 수행될 수도 있다.In the present invention, it can be understood that the control logic is a control program for controlling the controlled
또한, 복수의 제어 로직에 의하여 하나의 제어 대상에 대한 제어가 수행될 수도 있다.Further, control for one control target may be performed by a plurality of control logic.
본 발명에서 제어 대상(151, 152, 153, 154)은 센서 또는 액추에이터와 같이 특정 기능을 수행하는 장비를 의미할 수 있다. 특히, 본 발명에서 제어 대상(151, 152, 153, 154)은 선박에 구비되어 선박의 운용에 이용되는 것일 수 있으나, 이에 한정되지는 않는다.In the present invention, the
사용자는 데이터 입출력 장치(120)를 이용하여 주 제어기(130) 및 보조 제어기(140)에 제어 로직을 입력할 수 있다. 이 때, 주 제어기(130) 및 보조 제어기(140)에 입력된 제어 로직의 개수 및 기능은 서로 동일할 수 있으며 상이할 수도 있다.A user may input control logic to the
또한, 사용자는 데이터 입출력 장치(120)를 이용하여 주 제어기(130) 및 보조 제어기(140)에 입력된 제어 로직을 삭제하거나 편집할 수도 있다.In addition, the user may delete or edit the control logic input to the
도 1은 하나의 데이터 입출력 장치(120)를 도시하고 있으나, 복수의 데이터 입출력 장치가 구비될 수도 있다. 이에 따라, 사용자는 서로 다른 장소에 구비된 데이터 입출력 장치를 이용하여 주 제어기(130) 및 보조 제어기(140)에 대한 데이터 입출력 작업을 수행할 수 있게 된다.1 shows one data input /
주 제어기(130) 및 보조 제어기(140)는 구비된 제어 로직을 이용하여 제어 대상(151, 152, 153, 154)에 대한 제어를 수행하는 역할을 수행한다.The
본 발명에서 주 제어기(130) 및 보조 제어기(140)는 이중화 프로세스에 따라 동작할 수 있는데, 이에 따라 우선적으로 주 제어기(130)가 제어 대상(151, 152, 153, 154)에 대한 제어를 수행하다가 주 제어기(130)에 문제가 발생하는 경우 제어권이 보조 제어기(140)로 이전되어 보조 제어기(140)가 제어 대상(151, 152, 153, 154)에 대한 제어를 수행하게 된다.In the present invention, the
다시 말해, 주 제어기(130)가 동작하는 도중에는 보조 제어기(140)가 제어 동작을 수행하지 않다가, 주 제어기(130)에 치명적인 문제가 발생하여 제어 동작을 수행할 수 없는 경우 보조 제어기(140)가 전체 제어 로직에 대한 제어권을 전달받아 제어 대상(151, 152, 153, 154)에 대한 제어 동작을 수행하는 것이다. 이에 따라, 제어 대상(151, 152, 153, 154)에 대한 끊김 없는 제어가 구현될 수 있게 된다.In other words, when the
도 2는 본 발명의 실시예에 따른 제어 로직의 제어권이 이전되는 것을 나타낸 도면이다.Figure 2 is a diagram illustrating the transfer of control of control logic according to an embodiment of the present invention.
주 제어기(130) 및 보조 제어기(140)는 각각 적어도 하나 이상의 제어 로직(210, 220)을 구비할 수 있다. 주 제어기(130)로부터 제어권(300)을 이전 받아 주 제어기(130)와 동일한 제어 동작을 수행하기 위하여 보조 제어기(140)는 주 제어기(130)와 동일한 제어 로직을 구비할 수 있다. 그러나, 전술한 바와 같이 주 제어기(130) 및 보조 제어기(140)에 입력된 제어 로직의 개수 및 기능은 서로 상이할 수도 있다The
도 2는 주 제어기(130) 및 보조 제어기(140)가 동일한 제어 로직(210, 220)을 구비하는 것을 도시하고 있는데, 이하 주 제어기(130) 및 보조 제어기(140)에 동일한 제어 로직(210, 220)이 구비되어 있는 것을 가정하여 설명하기로 한다.2 illustrates that the
전술한 바와 같이, 주 제어기(130)가 제어 대상(151, 152, 153, 154)에 대한 제어를 수행하기 위하여 제어 로직(210)을 실행하고 있다가 치명적인 문제가 발생한 경우, 예를 들어 하드웨어적으로 제어 로직(210)을 더 이상 실행할 수 없는 문제가 발생한 경우 주 제어기(130)는 전체 제어 로직(210)에 대한 제어권(300)을 보조 제어기(140)로 송신한다.As described above, when the
이에 따라, 보조 제어기(140)는 자신이 구비하고 있는 제어 로직(220)을 실행하여 제어 대상(151, 152, 153, 154)에 대한 제어를 수행하게 된다.Accordingly, the
한편, 본 발명의 실시예에 따르면 주 제어기(130)에 치명적인 문제가 발생하지 않더라도 보조 제어기(140)로 제어권(300)이 이전될 수 있다. 즉, 주 제어기(130)가 제어 동작은 수행할 수 있지만 부하량이 증가하여 응답 시간이 증가하는 경우 보조 제어기(140)로 제어권(300)이 이전될 수 있는 것이다.Meanwhile, according to the embodiment of the present invention, the control right 300 can be transferred to the sub-controller 140 even if a fatal problem does not occur in the
이 때, 보조 제어기(140)로 이전되는 제어권(300)은 주 제어기(130)에서 실행 중인 모든 제어 로직(210)에 대한 제어권이 아니라 일부 제어 로직에 대한 제어권일 수 있다.In this case, the
본 발명에서 각 제어 로직(210)에는 제어 대상(151, 152, 153, 154)의 중요도 또는 사용자 설정에 따라 우선 순위가 부여될 수 있는데, 우선 순위가 고려되어 제어권이 이전될 제어 로직이 추출될 수 있다. 예를 들어, 높은 우선 순위를 갖는 제어 로직은 주 제어기(130)가 처리하고 낮은 우선 순위를 갖는 제어 로직은 보조 제어기(140)가 처리할 수 있도록 하기 위하여, 주 제어기(130)는 낮은 우선 순위를 갖는 제어 로직의 제어권(300)을 보조 제어기(140)로 이전할 수 있다.In the present invention, priority can be assigned to each
이 때, 주 제어기(130)는 가장 낮은 우선 순위를 갖는 하나의 제어 로직의 제어권을 보조 제어기(140)로 이전할 수 있으며, 낮은 우선 순위 순으로 복수의 제어 로직의 제어권을 보조 제어기(140)로 이전할 수도 있다.At this time, the
도 3은 본 발명의 실시예에 따른 이중화 제어 장치를 나타낸 블록도이다.3 is a block diagram showing a duplication control apparatus according to an embodiment of the present invention.
본 발명에서 이중화 제어 장치(300)는 주 제어기(130) 또는 보조 제어기(140)의 역할을 수행하는 것일 수 있다. 주 제어기(130) 및 보조 제어기(140)가 동일한 성능으로 제어 대상(151, 152, 153, 154)을 제어해야 하기 때문에 주 제어기(130) 및 보조 제어기(140)는 동일한 구성을 포함하고 있는 것이 바람직하다.In the present invention, the
따라서, 이하 이중화 제어 장치(300)가 주 제어기(130)인 것으로 설명하나, 이에 한정되지 않고 보조 제어기(140)도 이중화 제어 장치(300)의 구성을 가지고 있을 수 있음에 유의하여야 한다.Therefore, it should be noted that the
이중화 제어 장치(300)는 입력부(310), 출력부(320), 저장부(330), 제어부(340), 로직 관리부(350) 및 통신부(360)를 포함하여 구성된다.The
입력부(310)를 데이터 입출력 장치(120)로부터 데이터를 수신하는 역할을 수행하고, 출력부(320)는 데이터를 데이터 입출력 장치(120)로 송신하는 역할을 수행한다.The
사용자는 데이터 입출력 장치(120)를 이용하여 이중화 제어 장치(300)에 데이터를 입력하거나 이중화 제어 장치(300)에 저장되어 있는 데이터를 수신하여 확인할 수 있는데, 입력부(310) 및 출력부(320)는 데이터 입출력 장치(120)와의 통신을 통하여 데이터를 입력하거나 출력하는 것이다.The user can input data to the
입력부(310)를 통하여 입력된 데이터는 저장부(330)에 저장되는데, 이는 사용자의 요청에 따라 삭제되거나 편집될 수도 있다.Data input through the
따라서, 입력부(310)는 데이터 입출력 장치(120)로부터 단순히 데이터만을 수신하는 것이 아니라, 삭제 명령 또는 편집 명령을 수신할 수 있으며, 제어부(340)는 입력된 삭제 명령 또는 편집 명령에 따라 저장부(330)에 저장되어 있는 데이터를 삭제하거나 편집할 수 있다.Accordingly, the
저장부(330)는 하드 디스크, 플래시 메모리, CF 카드(Compact Flash Card), SD 카드(Secure Digital Card), SM 카드(Smart Media Card), MMC(Multimedia Card) 또는 메모리 스틱(Memory Stick) 등 정보의 입출력이 가능한 모듈로서 데이터를 저장하는 역할을 수행한다.The
전술한 바와 같이, 본 발명에서 데이터는 제어 로직일 수 있으나, 이에 한정되지는 않는다.As described above, in the present invention, the data may be control logic, but is not limited thereto.
로직 관리부(350)는 저장부(330)에 저장되어 있는 제어 로직을 실행시키는 역할을 수행한다. 여기서, 실행되는 제어 로직은 저장부(330)에 저장되어 있는 전체 제어 로직일 수 있으나, 제어 대상의 동작 상태 또는 사용자의 명령에 따라 일부 제어 로직만이 실행될 수도 있다.The
또한, 로직 관리부(350)는 동작 중인 적어도 하나 이상의 제어 로직의 동작 상태를 감시하는 역할을 수행한다. 즉, 로직 관리부(350)는 제어 로직이 정상적으로 동작하는지 여부를 감시하는 것으로서, 동작 중인 적어도 하나 이상의 제어 로직의 응답 시간 중 사전에 설정된 임계 응답 시간을 초과하는 것이 있는지를 감시할 수 있다.In addition, the
여기서, 사전에 설정된 임계 응답 시간은 전체 제어 로직에 대한 임계 응답 시간일 수 있으며, 각 제어 로직별로 부여된 임계 응답 시간일 수 있다.Here, the predetermined threshold response time may be the critical response time for the entire control logic, and may be the critical response time assigned for each control logic.
다시 말해, 각 제어 로직별로 임계 응답 시간이 부여될 수 있는데, 로직 관리부(350)는 각 제어 로직 중 부여된 임계 응답 시간을 초과하는 것이 있는지 감시하는 것이다.In other words, a critical response time may be given for each control logic, and the
예를 들어, 제어 로직 1에는 5초의 임계 응답 시간이 부여되어 있고, 제어 로직 2에는 3초의 임계 응답 시간이 부여되어 있을 수 있는데, 제어 로직 1 및 제어 로직 2의 응답 시간이 모두 4초라면, 제어 로직 1의 응답 시간은 임계 응답 시간을 초과하지 않은 것으로 판단하고, 제어 로직 2의 응답 시간은 임계 응답 시간을 초과한 것으로 판단할 수 있다.For example, the
한편, 사전에 설정된 임계 응답 시간이 전체 제어 로직에 대한 임계 응답 시간인 경우 로직 관리부(350)는 동작 중인 제어 로직 중 어느 하나의 응답 시간이라도 임계 응답 시간을 초과하는 경우 전체 제어 로직의 응답 시간이 임계 응답 시간을 초과한 것으로 판단할 수 있다.On the other hand, when the preset critical response time is the critical response time for the entire control logic, if the response time of any of the control logic in operation exceeds the critical response time, the response time of the entire control logic It can be determined that the critical response time has been exceeded.
제어부(340)는 로직 관리부(350)의 감시 결과에 따라 동작 중인 적어도 하나 이상의 제어 로직의 우선 순위를 고려하여 제어권을 이전할 제어 로직을 추출하는 역할을 수행한다.The
즉, 동작 중인 적어도 하나 이상의 제어 로직 중 하나의 응답 시간이 해당 제어 로직에 부여된 임계 응답 시간을 초과하거나, 동작 중인 적어도 하나 이상의 제어 로직 중 어느 하나라도 임계 응답 시간을 초과하는 경우 제어부(340)는 제어권을 이전할 제어 로직을 추출할 수 있는 것이다.That is, if the response time of one of the at least one control logic in operation exceeds the critical response time given to the control logic, or if any one of the at least one control logic in operation exceeds the critical response time, Can extract the control logic to transfer control.
이 때, 제어부(340)는 제어권을 이전할 제어 로직으로서 동작 중인 적어도 하나 이상의 제어 로직 중 가장 낮은 우선 순위를 갖는 제어 로직을 추출할 수 있다.At this time, the
또는, 제어부(340)는 동작 중인 적어도 하나 이상의 제어 로직 중 낮은 우선 순위 순으로 적어도 하나 이상의 제어 로직을 추출할 수 있다.Alternatively, the
추출된 제어 로직의 제어권은 통신부(360)를 통하여 별도의 제어 장치로 송신되는데, 도 4는 제어 로직의 추출 및 제어권의 송신을 나타내고 있다.The control right of the extracted control logic is transmitted to the separate control device through the
이중화 제어 장치(300)인 주 제어기(130) 및 제어권을 이전 받는 장치인 보조 제어기(140)는 각각 제어 로직 1 내지 제어 로직 9(410, 420)를 구비할 수 있다. 이 때, 적어도 주 제어기(130)의 로직 관리부(350)는 제어 로직(410)에 우선 순위를 부여하여 관리할 수 있는데, 도 4는 주 제어기(130)에 구비된 제어 로직(410)이 우선 순위 순으로 나열된 것을 도시하고 있다. 도 4에서 주 제어기(130)에 구비된 제어 로직(410)에 표시된 원 문자는 각 제어 로직(410)의 우선 순위를 나타낸다.The
제어 대상에 대한 제어를 수행하기 위하여 제어 로직 1 내지 제어 로직 9(410)가 실행되어 동작 중에 제어 로직 3(413)의 응답 시간이 임계 응답 시간을 초과하였다고 가정하자.Suppose that the
이에 따라, 주 제어기(130)의 제어부(340)는 가장 낮은 우선 순위를 갖고 있는 제어 로직 4(419)를 추출하여 통신부(360)로 하여금 제어 로직 4(419)의 제어권(431)을 보조 제어기(140)로 송신하도록 할 수 있다. 이에 따라, 보조 제어기(140)는 수신된 제어권(431)에 따라 구비된 제어 로직 4(424)를 실행시켜 해당 제어 대상에 대한 제어를 수행하게 된다.The
한편, 제어 로직의 응답 시간이 임계 응답 시간을 초과한 정도에 따라 제어부(340)는 복수의 제어 로직에 대한 제어권을 동시에 추출하여 보조 제어기(140)로 송신할 수도 있다.Meanwhile, the
즉, 제어 로직 4(419)의 제어권(431)뿐만 아니라 제어 로직 8(418)의 제어권(432)도 보조 제어기(140)로 송신하는 것이다. 이에 따라, 보조 제어기(140)는 수신된 제어권(431, 432)에 따라 구비된 제어 로직 4(424) 및 제어 로직 8(428)을 실행시켜 해당 제어 대상에 대한 제어를 수행하게 된다.That is, the
제어권이 송신되면 송신된 제어권에 대응하는 제어 로직은 동작을 중지하게 되는데, 한번의 통신으로 복수의 제어 로직에 대한 제어권이 송신됨에 따라 주 제어기(130)의 제어 동작이 보다 신속하게 정상으로 회복될 수 있으며, 주 제어기(130) 및 보조 제어기(140)간의 네트워크 자원의 낭비도 감소된다.When the control right is transmitted, the control logic corresponding to the transmitted control right stops operating. As the control right for the plurality of control logic is transmitted in one communication, the control operation of the
도 5는 본 발명의 실시예에 따른 제어 로직별 응답 시간을 나타낸 도면으로서, 이중화 제어 장치(300)에 구비된 제어 로직(410)이 제어 대상을 제어한 것에 대한 응답 시간(500)을 나타낸 도면이다.FIG. 5 is a diagram illustrating a response time for each control logic according to an embodiment of the present invention. FIG. 5 is a diagram showing a
또한, 도 5는 전체 제어 로직(410)에 대한 임계 응답 시간(500)을 나타내고 있는데, 제어 로직 1(412) 및 제어 로직 2(417)의 응답 시간이 임계 응답 시간(510)을 초과한 것을 나타내고 있다.5 also shows the
로직 관리부(350)에 의하여 제어 로직 2(417)의 응답 시간이 임계 응답 시간(510)을 초과한 것으로 확인되면, 제어부(340)는 제어 로직 4(419)를 추출하여 그 제어권이 송신되도록 할 수 있다.If it is determined by the
제어 로직 2(417)의 응답 시간이 임계 응답 시간(510)을 초과한 양이 2초이고, 가장 낮은 우선 순위를 가지고 있는 제어 로직 4(419)의 응답 시간이 6초이기 때문에 제어 로직 4(419)의 제어권만을 이전하더라도 제어 로직 2(417)를 실행함에 따른 응답 시간이 임계 응답 시간(510) 이내로 회복될 수 있을 것으로 기대할 수 있기 때문이다.Since the amount of time the response time of the
한편, 로직 관리부(350)에 의하여 제어 로직 1(412)의 응답 시간이 임계 응답 시간(510)을 초과한 것으로 확인되면, 제어부(340)는 제어 로직 4(419)뿐만 아니라 제어 로직 8(418)를 추출하여 그 제어권이 송신되도록 할 수 있다.If it is determined by the
제어 로직 1(412)의 응답 시간이 임계 응답 시간(510)을 초과한 양이 7초이고, 가장 낮은 우선 순위를 가지고 있는 제어 로직 4(419)의 응답 시간이 6초이기 때문에 제어 로직 4(419)의 제어권만을 이전하는 경우 제어 로직 1을 실행함에 따른 응답 시간이 임계 응답 시간(510) 이내로 회복될 수 있을 것으로 기대할 수 없기 때문에 제어 로직 8(418)의 제어권까지 이전하는 것이다.Since the amount of time the response time of the
즉, 제어부(340)는 제어 로직의 응답 시간이 임계 응답 시간(510)을 초과한 양보다 많은 응답 시간의 합을 갖도록 낮은 우선 순위 순으로 복수의 제어 로직을 추출하는 것으로서, 위의 예에서 제어 로직 1(412)의 응답 시간이 임계 응답 시간(510)을 초과한 양이 7초이기 때문에 응답 시간의 합이 8인 제어 로직 4(419) 및 제어 로직 8(418)이 추출되는 것이다.That is, the
도 6은 본 발명의 실시예에 따른 전체 응답 시간과 임계 응답 시간을 나타낸 도면이다.FIG. 6 is a diagram illustrating total response time and critical response time according to an embodiment of the present invention. Referring to FIG.
로직 관리부(350)는 각 제어 로직별로 응답 시간이 임계 응답 시간을 초과하는 것을 감시하는 것이 아니라 동작 중인 제어 로직의 전체 응답 시간(610)이 임계 응답 시간(620)을 초과하는지 여부를 감시할 수도 있다.The
도 6은 전체 응답 시간(610)이 24초이고, 임계 응답 시간(620)이 20초임에 따라 전체적으로 4초만큼(630) 초과한 것을 나타내고 있다.FIG. 6 shows that the
이에 따라, 제어부(340)는 우선 순위가 가장 낮은 하나의 제어 로직만을 추출하여 해당 제어 로직의 제어권만이 송신되도록 할 수 있으며, 초과된 응답 시간을 고려하여 복수의 제어 로직을 추출하여 복수의 제어권이 송신되도록 할 수도 있다.Accordingly, the
복수의 제어 로직을 추출하는 방식에 대해서는 도 5를 통하여 전술하였으므로, 여기서는 자세한 설명을 생략하기로 한다.A method of extracting a plurality of control logic has been described above with reference to FIG. 5, and a detailed description thereof will be omitted here.
도 7은 본 발명의 실시예에 따라 제어 로직의 제어권이 이전되는 과정을 나타낸 흐름도이다.7 is a flowchart illustrating a process of transferring the control right of the control logic according to an embodiment of the present invention.
제어 대상을 제어하기 위하여 로직 관리부(350)는 적어도 하나 이상이 제어 로직을 실행시키고, 동작 중인 제어 로직의 동작 상태를 감시한다(S710).In order to control the object to be controlled, the
그리하여, 로직 관리부(350)는 제어 로직의 응답 시간이 임계 응답 시간을 초과하는지 여부를 감시한다(S720).Thus, the
제어 로직의 응답 시간이 임계 응답 시간을 초과하는지 여부는 각 제어 로직별로 수행될 수 있으며, 전체 제어 로직에 대하여 수행될 수도 있다.Whether the response time of the control logic exceeds the critical response time may be performed for each control logic and may be performed for the entire control logic.
그리하여, 응답 시간이 임계 응답 시간을 초과한 것으로 판단되는 경우 제어부(340)는 제어권을 이전할 제어 로직을 추출한다(S730). 이 때, 제어부(340)는 가장 낮은 우선 순위를 갖는 제어 로직을 추출할 수 있으며, 응답 시간이 임계 응답 시간을 초과한 양에 따라 복수의 제어 로직을 추출할 수도 있다.If it is determined that the response time exceeds the threshold response time, the
제어 로직이 추출되면 통신부(360)는 추출된 제어 로직의 제어권을 보조 제어기(140)로 송신한다(S740). 제어권을 수신함에 따라 보조 제어기(140)는 수신된 제어권에 대응하는 제어 로직을 실행시켜 제어 대상에 대한 제어를 수행하게 된다.When the control logic is extracted, the
한편, S720 단계에서 응답 시간이 임계 응답 시간을 초과하지 않는 것으로 판단되는 경우 제어 로직 추출 및 제어권 이전에 대한 어떠한 작업도 수행되지 않고 제어 로직의 동작 상태가 지속적으로 감시된다.On the other hand, if it is determined in step S720 that the response time does not exceed the threshold response time, the operation state of the control logic is continuously monitored without performing any operation for extracting the control logic and transferring the control right.
이상과 첨부된 도면을 참조하여 본 발명의 실시예를 설명하였지만, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다.While the present invention has been described in connection with what is presently considered to be practical exemplary embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, It will be understood. It is therefore to be understood that the above-described embodiments are illustrative in all aspects and not restrictive.
310: 입력부 320: 출력부
330: 저장부 340: 제어부
350: 로직 관리부 360: 통신부310: input unit 320: output unit
330: storage unit 340:
350: logic management unit 360: communication unit
Claims (10)
상기 감시 결과에 따라 상기 동작 중인 적어도 하나 이상의 제어 로직의 우선 순위를 고려하여 제어권을 이전할 제어 로직을 추출하는 제어부; 및
상기 추출된 제어 로직의 제어권을 별도의 제어 장치로 송신하는 통신부를 포함하되,
상기 제어부는 상기 동작 중인 적어도 하나 이상의 제어 로직의 응답 시간이 사전에 설정된 임계 응답 시간을 초과한 정도를 고려하여 대응하는 개수의 제어 로직을 추출하는 이중화 제어 장치.A logic manager for monitoring an operation state of at least one control logic in operation;
A control unit for extracting control logic to transfer a control right in consideration of the priority of at least one control logic in operation according to the monitoring result; And
And a communication unit for transmitting the control right of the extracted control logic to a separate control device,
Wherein the control unit extracts a corresponding number of control logic in consideration of a degree of response time of the at least one control logic in operation exceeding a preset critical response time.
상기 로직 관리부는 상기 동작 중인 적어도 하나 이상의 제어 로직의 응답 시간 중 사전에 설정된 임계 응답 시간을 초과하는 것이 있는지를 감시하는 이중화 제어 장치.The method according to claim 1,
Wherein the logic management unit monitors whether the response time of the at least one control logic in operation exceeds a preset critical response time.
상기 제어부는 상기 감시 결과에 따라 상기 동작 중인 적어도 하나 이상의 제어 로직 중 가장 낮은 우선 순위를 갖는 제어 로직을 추출하는 이중화 제어 장치.The method according to claim 1,
Wherein the control unit extracts control logic having the lowest priority among the at least one control logic in operation according to the monitoring result.
상기 제어부는 상기 감시 결과에 따라 상기 동작 중인 적어도 하나 이상의 제어 로직 중 낮은 우선 순위 순으로 적어도 하나 이상의 제어 로직을 추출하는 이중화 제어 장치.The method according to claim 1,
Wherein the control unit extracts at least one control logic in the order of low priority among the at least one control logic in operation according to the monitoring result.
상기 송신된 제어권에 대응하는 제어 로직은 동작을 중지하는 이중화 제어 장치.The method according to claim 1,
Wherein the control logic corresponding to the transmitted control right stops operation.
상기 감시 결과에 따라 상기 동작 중인 적어도 하나 이상의 제어 로직의 우선 순위를 고려하여 제어권을 이전할 제어 로직을 추출하는 단계; 및
상기 추출된 제어 로직의 제어권을 별도의 제어 장치로 송신하는 단계를 포함하되,
상기 제어 로직을 추출하는 단계는 상기 동작 중인 적어도 하나 이상의 제어 로직의 응답 시간이 사전에 설정된 임계 응답 시간을 초과한 정도를 고려하여 대응하는 개수의 제어 로직을 추출하는 단계를 포함하는 이중화 제어 방법.Monitoring an operating state of at least one or more control logic in operation;
Extracting control logic to transfer the control right in consideration of the priority of at least one control logic in operation according to the monitoring result; And
And transmitting the control right of the extracted control logic to a separate control device,
Wherein extracting the control logic comprises extracting a corresponding number of control logic in consideration of the extent to which the response time of the at least one control logic in operation exceeds a predetermined critical response time.
상기 동작 상태를 감시하는 단계는 상기 동작 중인 적어도 하나 이상의 제어 로직의 응답 시간 중 사전에 설정된 임계 응답 시간을 초과하는 것이 있는지를 감시하는 단계를 포함하는 이중화 제어 방법.The method according to claim 6,
Wherein monitoring the operating state includes monitoring whether a response time of the at least one control logic in operation exceeds a preset critical response time.
상기 제어권을 이전할 제어 로직을 추출하는 단계는 상기 감시 결과에 따라 상기 동작 중인 적어도 하나 이상의 제어 로직 중 가장 낮은 우선 순위를 갖는 제어 로직을 추출하는 단계를 포함하는 이중화 제어 방법.The method according to claim 6,
Wherein extracting the control logic to transfer the control right comprises extracting control logic having the lowest priority among the at least one control logic in operation according to the monitoring result.
상기 제어권을 이전할 제어 로직을 추출하는 단계는 상기 감시 결과에 따라 상기 동작 중인 적어도 하나 이상의 제어 로직 중 낮은 우선 순위 순으로 적어도 하나 이상의 제어 로직을 추출하는 단계를 포함하는 이중화 제어 방법.The method according to claim 6,
Wherein the step of extracting the control logic to transfer the control right includes extracting at least one control logic in order of lower priority among the at least one control logic in operation according to the monitoring result.
상기 송신된 제어권에 대응하는 제어 로직은 동작을 중지하는 이중화 제어 방법.The method according to claim 6,
Wherein the control logic corresponding to the transmitted control right stops operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020130115336A KR101524152B1 (en) | 2013-09-27 | 2013-09-27 | Duplication control apparatus and duplication control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020130115336A KR101524152B1 (en) | 2013-09-27 | 2013-09-27 | Duplication control apparatus and duplication control method |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20150035121A KR20150035121A (en) | 2015-04-06 |
KR101524152B1 true KR101524152B1 (en) | 2015-05-29 |
Family
ID=53030178
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020130115336A KR101524152B1 (en) | 2013-09-27 | 2013-09-27 | Duplication control apparatus and duplication control method |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101524152B1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20000059718A (en) * | 1999-03-08 | 2000-10-05 | 이종수 | Nonstop operation method and circuit for plc duplication system |
KR20050014435A (en) * | 2003-07-31 | 2005-02-07 | 학교법인 한양학원 | Response time analysis method for optimally designing distributed real-time control system |
JP2007034359A (en) * | 2005-07-22 | 2007-02-08 | Hitachi Ltd | Distributed control system |
KR20110090592A (en) * | 2010-02-04 | 2011-08-10 | 한국항공우주산업 주식회사 | Duplex control logic system of mc |
-
2013
- 2013-09-27 KR KR1020130115336A patent/KR101524152B1/en active IP Right Grant
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20000059718A (en) * | 1999-03-08 | 2000-10-05 | 이종수 | Nonstop operation method and circuit for plc duplication system |
KR20050014435A (en) * | 2003-07-31 | 2005-02-07 | 학교법인 한양학원 | Response time analysis method for optimally designing distributed real-time control system |
JP2007034359A (en) * | 2005-07-22 | 2007-02-08 | Hitachi Ltd | Distributed control system |
KR20110090592A (en) * | 2010-02-04 | 2011-08-10 | 한국항공우주산업 주식회사 | Duplex control logic system of mc |
Also Published As
Publication number | Publication date |
---|---|
KR20150035121A (en) | 2015-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105874428B (en) | Technology for the operating system transformation in multiple operating system environments | |
JP2008250695A (en) | Disk array controller and disk array system therewith | |
WO2019084916A1 (en) | Method and system for recovering logic in fpga chip, and fpga apparatus | |
JP4641443B2 (en) | Log information management apparatus, log information management method, and log information management program | |
JP2009151685A (en) | Disk array device management system, disk array device, method for controlling disk array device and management server | |
EP2624093B1 (en) | Plant monitoring and control system and plant monitoring and control method | |
EP2642388B1 (en) | Standby system device, control method, and program thereof | |
JP4491482B2 (en) | Failure recovery method, computer, cluster system, management computer, and failure recovery program | |
US20120124221A1 (en) | Element terminal and communication system | |
KR101524152B1 (en) | Duplication control apparatus and duplication control method | |
US9652325B2 (en) | Storage system and method to support scheduled and operational going down of a storing unit | |
JP5408620B2 (en) | Data distribution management system and data distribution management method | |
CN103152209A (en) | Application service operation processing system based on multi-machine hot backup | |
WO2015174223A1 (en) | Programmable controller and arithmetic processing system | |
JP2015045905A (en) | Information processing system and failure processing method of information processing system | |
US20180039248A1 (en) | Programmable logic controller, slave device, and duplex system | |
EP2579465B1 (en) | Communication device, method of controlling communication device, and information processing system | |
US20070201387A1 (en) | Information processing device, communication load distribution method | |
JP2008262426A (en) | Duplex controller system and controller | |
US10089200B2 (en) | Computer apparatus and computer mechanism | |
CN105022666A (en) | Method, device and system for controlling MapReduce task scheduling | |
KR101422718B1 (en) | Method for processing duplication of control logic | |
US20200241988A1 (en) | Information processing apparatus, method, and computer program product | |
RU2684348C1 (en) | Method, system and apparatus for treating two control unit trains | |
US20150301911A1 (en) | Information processing apparatus, control method for information processing apparatus, and computer-readable recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20190425 Year of fee payment: 5 |