KR20170110213A - Field Bus Communication System for Ship - Google Patents

Field Bus Communication System for Ship Download PDF

Info

Publication number
KR20170110213A
KR20170110213A KR1020160034052A KR20160034052A KR20170110213A KR 20170110213 A KR20170110213 A KR 20170110213A KR 1020160034052 A KR1020160034052 A KR 1020160034052A KR 20160034052 A KR20160034052 A KR 20160034052A KR 20170110213 A KR20170110213 A KR 20170110213A
Authority
KR
South Korea
Prior art keywords
communication
error
main controller
power
external
Prior art date
Application number
KR1020160034052A
Other languages
Korean (ko)
Other versions
KR102138402B1 (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 KR1020160034052A priority Critical patent/KR102138402B1/en
Publication of KR20170110213A publication Critical patent/KR20170110213A/en
Application granted granted Critical
Publication of KR102138402B1 publication Critical patent/KR102138402B1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B63SHIPS OR OTHER WATERBORNE VESSELS; RELATED EQUIPMENT
    • B63HMARINE PROPULSION OR STEERING
    • B63H21/00Use of propulsion power plant or units on vessels
    • B63H21/22Use of propulsion power plant or units on vessels the propulsion power units being controlled from exterior of engine room, e.g. from navigation bridge; Arrangements of order telegraphs
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B63SHIPS OR OTHER WATERBORNE VESSELS; RELATED EQUIPMENT
    • B63HMARINE PROPULSION OR STEERING
    • B63H21/00Use of propulsion power plant or units on vessels
    • B63H21/21Control means for engine or transmission, specially adapted for use on marine vessels
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40039Details regarding the setting of the power status of a node according to activity on the bus
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B63SHIPS OR OTHER WATERBORNE VESSELS; RELATED EQUIPMENT
    • B63BSHIPS OR OTHER WATERBORNE VESSELS; EQUIPMENT FOR SHIPPING 
    • B63B2203/00Communication means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40286Bus for use in transportation systems the transportation system being a waterborne vessel

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Ocean & Marine Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Hardware Design (AREA)
  • Debugging And Monitoring (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

단일 통신 버스를 공유하고 있는 복수개의 외부장치들 중 특정 외부 장치에 오류가 발생하거나 주제어기에 오류가 발생하더라도 오류가 발생된 외부장치 또는 주제어기의 오류 복구가 가능한 본 발명의 일 실시예에 따른 선박용 필드버스 통신 시스템은, 엔진제어로직에 따라 선박 엔진의 제어를 위한 제어 데이터를 생성하는 주제어기; 상기 주제어기와 필드버스 방식의 통신버스를 통해 연결되어 상기 주제어기로부터 상기 제어 데이터를 수신하고, 상기 선박 엔진의 상태정보를 수집하여 상기 주제어기로 전송하는 복수개의 외부장치; 및 상기 복수개의 외부장치에 각각 연결되고, 상기 주제어기의 제어에 따라 상기 각 외부장치의 통신 전원을 소정시간 동안 차단시키는 외부장치용 전력 스위치를 포함하고, 상기 주제어기는, 상기 제어명령을 생성하고, 상기 복수개의 외부장치에 오류가 발생된 것으로 판단되면 오류가 발생된 외부장치의 통신 전원을 소정시간 동안 차단시키기 위한 제1 전원제어명령을 생성하여 상기 오류가 발생된 외부장치에 연결된 외부장치용 전력 스위치로 전달하는 메인 프로세서를 포함하는 것을 특징으로 한다. In accordance with the present invention, it is possible to perform error recovery of an external device or main controller in which an error occurs even if an error occurs in a specific external device among a plurality of external devices sharing a single communication bus, A fieldbus communication system includes a main controller for generating control data for controlling the marine engine according to engine control logic; A plurality of external devices connected to the main controller through a field bus communication bus to receive the control data from the main controller and to collect status information of the marine engine and transmit the status data to the main controller; And a power switch for an external apparatus which is connected to the plurality of external apparatuses and which cuts off the communication power of each of the external apparatuses under the control of the main controller for a predetermined period of time and the main controller generates the control command And generating a first power control command for interrupting the communication power of the external device in which the error has occurred for a predetermined period of time if it is determined that an error has occurred in the plurality of external devices, And a main processor for transmitting the power to the power switch.

Figure P1020160034052
Figure P1020160034052

Description

선박용 필드버스 통신 시스템{Field Bus Communication System for Ship}Fieldbus Communication System for Ship [0001]

본 발명은 통신 시스템에 관한 것으로서, 보다 구체적으로 선박용 필드버스 통신 시스템에 관한 것이다.Field of the Invention [0002] The present invention relates to a communication system, and more particularly, to a marine fieldbus communication system.

필드 버스(Field Bus)란 필드에 설치된 다수의 센서 및 액추에이터와 상위의 제어 기기 등과 같은 현장 기기 간의 통신에 사용되는 디지털, 쌍방향, 멀티드롭, 또는 직렬버스의 특성을 갖는 네트워크로서 1980년대 후반에 그 필요성이 대두되어 1990년대에 처음 출현하였다. 버스 통신 시스템에서 대표적인 것으로는 디바이스넷(DeviceNet)이 있고, 이외에도 유럽 표준으로 제정된 ProfiBus(독일), WorldFIP(프랑스), 그리고 북미 지역의 FF(Foundation Fieldbus) 등이 있다.A field bus is a network having the characteristics of a digital, bi-directional, multi-drop, or serial bus used for communication between a plurality of sensors and actuators installed in a field and a field device such as an upper control device. It emerged in the 1990s as the need arises. The most common bus communication systems are DeviceNet, ProfiBus (Germany), WorldFIP (France) and Foundation Fieldbus (FF) in North America.

필드버스 통신 시스템의 일 예가 대한민국 공개특허 제10-2001-0084992호에 개시되어 있다.An example of a fieldbus communication system is disclosed in Korean Patent Publication No. 10-2001-0084992.

최근 이러한 필드 버스 방식의 통신 시스템은 선박의 엔진 제어를 위해 선박 분야에도 적용되고 있다.Recently, such a field bus communication system has been applied to the marine field for engine control of a ship.

도 1은 종래의 선박용 필드버스 통신 시스템의 구조를 개략적으로 보여주는 블록도이다.1 is a block diagram schematically showing a structure of a conventional marine fieldbus communication system.

도 1에 도시된 바와 같이, 선박용 필드버스 통신 시스템(100)은 선박의 엔진을 제어하는 주제어기(110) 및 주제어기의 제어에 따라 선박의 엔진을 제어하는 복수개의 외부장치(120a~120n)들을 포함하며, 주제어기(110)와 복수개의 외부장치(120a~120n)들은 필드버스 방식의 통신 버스(130)을 통해 서로 연결된다.1, a marine fieldbus communication system 100 includes a main controller 110 for controlling an engine of a ship and a plurality of external devices 120a to 120n for controlling an engine of the marine vessel under the control of a main controller, And the main controller 110 and the plurality of external devices 120a to 120n are connected to each other through a field bus communication bus 130. [

하지만, 도 1에 도시된 바와 같은 종래의 선박용 필드 버스 통신 시스템(100)의 경우, 복수개의 외부장치(120a~120n)가 원하는 송수신 데이터를 공통의 버스를 이용하여 송수신시 1개의 외부장치에서 오류가 발생하여 통신을 수행할 수 없을 때, 오류가 발생한 해당 외부장치뿐만 아니라 정상 상태인 다른 외부장치들도 통신을 수행하지 못하게 되는 문제점이 있다.However, in the conventional marine fieldbus communication system 100 as shown in FIG. 1, when a plurality of external devices 120a to 120n transmit / receive desired data using a common bus, There is a problem that not only the corresponding external device in which an error occurs but also other external devices in a normal state can not perform communication.

이는, 통신이상의 문제가 발생한 해당 외부장치가 공통의 통신 버스에서 다른 외부장치들의 정상적인 통신 신호에 영향을 주기 때문이다.This is because the corresponding external device that has a problem in communication affects a normal communication signal of other external devices on the common communication bus.

본 발명은 상술한 바와 같은 문제를 해결하고자 안출된 것으로 단일 통신 버스를 공유하고 있는 복수개의 외부장치들 중 특정 외부 장치에 오류가 발생하거나 주제어기에 오류가 발생하더라도 오류가 발생된 외부장치 또는 주제어기의 오류 복구가 가능한 선박용 필드버스 통신 시스템을 제공하는 것을 그 기술적 과제로 한다. SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to provide an external device or an external device, And an object of the present invention is to provide a marine field bus communication system capable of error recovery of a ship.

상술한 바와 같은 과제를 해결하기 위해, 본 발명은 하기와 같은 구성을 포함할 수 있다.In order to solve the above-described problems, the present invention can include the following configuration.

먼저, 본 발명의 일 실시예에 따른 선박용 필드버스 통신 시스템은, 엔진제어로직에 따라 선박 엔진의 제어를 위한 제어 데이터를 생성하는 주제어기; 상기 주제어기와 필드버스 방식의 통신버스를 통해 연결되어 상기 주제어기로부터 상기 제어 데이터를 수신하고, 상기 선박 엔진의 상태정보를 수집하여 상기 주제어기로 전송하는 복수개의 외부장치; 및 상기 복수개의 외부장치에 각각 연결되고, 상기 주제어기의 제어에 따라 상기 각 외부장치의 통신 전원을 소정시간 동안 차단시키는 외부장치용 전력 스위치를 포함하고, 상기 주제어기는, 상기 제어명령을 생성하고, 상기 복수개의 외부장치에 오류가 발생된 것으로 판단되면 오류가 발생된 외부장치의 통신 전원을 소정시간 동안 차단시키기 위한 제1 전원제어명령을 생성하여 상기 오류가 발생된 외부장치에 연결된 외부장치용 전력 스위치로 전달하는 메인 프로세서를 포함하는 것을 특징으로 한다.First, a marine fieldbus communication system according to an embodiment of the present invention includes a main controller for generating control data for controlling a marine engine according to engine control logic; A plurality of external devices connected to the main controller through a field bus communication bus to receive the control data from the main controller and to collect status information of the marine engine and transmit the status data to the main controller; And a power switch for an external apparatus which is connected to the plurality of external apparatuses and which cuts off the communication power of each of the external apparatuses under the control of the main controller for a predetermined period of time and the main controller generates the control command And generating a first power control command for interrupting the communication power of the external device in which the error has occurred for a predetermined period of time if it is determined that an error has occurred in the plurality of external devices, And a main processor for transmitting the power to the power switch.

일 실시에 있어서, 상기 주제어기는, 상기 주제어기로부터 전달되는 제어 데이터를 직렬 데이터로 변환하는 통신 제어기; 및 상기 통신 제어기로부터 전달되는 직렬 데이터를 물리적인 통신신호로 변환하여 상기 복수개의 외부장치로 전달하는 통신 드라이버를 더 포함하고, 상기 통신 제어기는 제1 통신 제어기 및 제2 통신 제어기로 이중화되어 있고, 상기 통신 드라이버는 제1 통신 드라이버 및 제2 통신 드라이버로 이중화되어 있는 것을 특징으로 한다.In one embodiment, the main controller includes: a communication controller for converting control data transmitted from the main controller into serial data; And a communication driver for converting the serial data transmitted from the communication controller into a physical communication signal and transmitting the same to the plurality of external devices, wherein the communication controller is duplicated as a first communication controller and a second communication controller, And the communication driver is duplicated by the first communication driver and the second communication driver.

상기 주제어기는, 상기 제1 통신 드라이버에 연결되고, 상기 메인 프로세서의 제어에 따라 상기 제1 통신 드라이버의 전원을 소정시간 동안 차단시키는 제1 전력 스위치; 및 상기 제2 통신 드라이버에 연결되고, 상기 메인 프로세서의 제어에 따라 상기 제2 통신 드라이버의 전원을 소정시간 동안 차단시키는 제2 전력 스위치를 더 포함하고, 상기 메인 프로세서는, 상기 주제어기에 오류가 발생된 것으로 판단되면 상기 제1 통신 드라이버 및 상기 제2 통신 드라이버 중 오류가 발생된 통신 드라이버를 검출하고, 오류가 발생된 통신 드라이버의 전원을 소정시간 동안 차단시키기 위한 제2 전원제어명령을 생성하여 상기 오류가 발생된 통신 드라이버에 연결된 전력 스위치로 전달하는 것을 특징으로 한다.Wherein the main controller has a first power switch connected to the first communication driver and for interrupting the power supply of the first communication driver for a predetermined time under the control of the main processor; And a second power switch, connected to the second communication driver, for interrupting the power supply of the second communication driver for a predetermined time under the control of the main processor, wherein the main processor generates an error A second power control command for detecting an error in the communication driver among the first communication driver and the second communication driver and for interrupting the power of the communication driver for which the error has occurred for a predetermined period of time, To the power switch connected to the communication driver in which the error has occurred.

상기 메인 프로세서는, 상기 외부장치에 오류가 발생되어 오류가 복구되지 않으면 상기 오류가 발생된 외부장치의 오류 발생 횟수를 증가시키고, 오류 발생 횟수가 임계치를 초과하게 되면 해당 외부 장치를 상기 통신 버스에서 분리시키는 것을 특징으로 한다.The main processor increases the number of times the error occurred in the external device in which the error occurred, if the error is not recovered due to an error in the external device, and if the error occurrence number exceeds the threshold value, .

본 발명에 따르면, 다음과 같은 효과를 얻을 수 있다.According to the present invention, the following effects can be obtained.

첫 번째로, 본 발명에 따르면 주제어기에 오류가 발생되면 주제어기의 통신 드라이버에 연결된 전력 스위치의 온오프를 통해 통신 드라이버의 전력공급을 중단 시킨후 재개하고, 외부장치들 중 어느 하나에 오류가 발생되면 외부장치에 연결된 전력 스위치의 온오프를 통해 외부 장치의 통신 전원 공급을 차단시킨 후 재개하기 때문에, 가장 하위 단계의 통신 상태 값도 초기화 시킬 수 있어 오류가 발생된 통신 드라이버 및 외부장치를 짧은 시간 내에 복구시킬 수 있다는 효과가 있다.First, according to the present invention, when an error occurs in the main controller, the power supply of the communication driver is stopped and restarted through on / off of the power switch connected to the communication driver of the main controller, and an error occurs in any one of the external devices Off state of the power switch connected to the external device and then resumes the communication power supply of the external device. Therefore, the communication state value of the lowest level can be initialized, so that the communication driver and the external device, It is possible to restore it in the inside.

두 번째로, 오류가 발생된 외부장치를 짧은 시간 내에 복구시킬 수 있기 때문에, 오류가 발생된 외부장치가 정상상태의 다른 외부장치들에 미치는 영향을 최소화할 수 있는 효과가 있다.Secondly, since an external device in which an error has occurred can be restored within a short time, there is an effect that the influence of an external device having an error on other external devices in a normal state can be minimized.

세 번째로, 전력 스위치를 트랜지스터로 구현함으로써 주제어기의 메인 프로세서가 전력 스위치의 온오프를 직접적으로 제어할 수 있다는 효과가 있다.Third, by implementing the power switch as a transistor, there is an effect that the main processor of the main controller can directly control on / off of the power switch.

도 1은 종래기술에 따른 선박용 필드버스 통신 시스템의 구성을 개략적으로 보여주는 블록도이다.
도 2는 본 발명의 일 실시예에 따른 선박용 필드버스 통신 시스템의 구성을 개략적으로 보여주는 블록도이다.
도 3은 본 발명의 일 실시예에 따른 선박용 필드버스 통신 시스템의 통신 복구 방법을 보여주는 플로우차트이다.
1 is a block diagram schematically showing a configuration of a marine fieldbus communication system according to the prior art.
2 is a block diagram schematically illustrating the configuration of a marine fieldbus communication system according to an embodiment of the present invention.
3 is a flowchart illustrating a communication restoration method of a marine fieldbus communication system according to an embodiment of the present invention.

본 명세서에서 각 도면의 구성요소들에 참조번호를 부가함에 있어서 동일한 구성 요소들에 한해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 번호를 가지도록 하고 있음에 유의하여야 한다. It should be noted that, in the specification of the present invention, the same reference numerals as in the drawings denote the same elements, but they are numbered as much as possible even if they are shown in different drawings.

한편, 본 명세서에서 서술되는 용어의 의미는 다음과 같이 이해되어야 할 것이다. Meanwhile, the meaning of the terms described in the present specification should be understood as follows.

단수의 표현은 문맥상 명백하게 다르게 정의하지 않는 한 복수의 표현을 포함하는 것으로 이해되어야 하고, "제1", "제2" 등의 용어는 하나의 구성요소를 다른 구성요소로부터 구별하기 위한 것으로, 이들 용어들에 의해 권리범위가 한정되어서는 아니 된다.The word " first, "" second," and the like, used to distinguish one element from another, are to be understood to include plural representations unless the context clearly dictates otherwise. The scope of the right should not be limited by these terms.

"포함하다" 또는 "가지다" 등의 용어는 하나 또는 그 이상의 다른 특징이나 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.It should be understood that the terms "comprises" or "having" does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or combinations thereof.

"적어도 하나"의 용어는 하나 이상의 관련 항목으로부터 제시 가능한 모든 조합을 포함하는 것으로 이해되어야 한다. 예를 들어, "제1항목, 제2항목 및 제3항목 중에서 적어도 하나"의 의미는 제1항목, 제2항목 또는 제3항목 각각 뿐만 아니라 제1항목, 제2항목 및 제3항목 중에서 2개 이상으로부터 제시될 수 있는 모든 항목의 조합을 의미한다.It should be understood that the term "at least one" includes all possible combinations from one or more related items. For example, the meaning of "at least one of the first item, the second item and the third item" means not only the first item, the second item or the third item, but also the second item and the second item among the first item, Means any combination of items that can be presented from more than one.

이하에서는 본 발명에 따른 선박용 필드버스 통신 시스템에 대한 실시예를 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, embodiments of a marine fieldbus communication system according to the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명의 일 실시예에 따른 선박용 필드버스 통신 시스템의 구성을 개략적으로 보여주는 블록도이다.2 is a block diagram schematically illustrating the configuration of a marine fieldbus communication system according to an embodiment of the present invention.

도 2에 도시된 바와 같이, 본 발명에 따른 선박용 필드버스 통신 시스템 (200)은 주제어기(210), 복수개의 외부장치(220a~220d)), 외부장치용 전력 스위치(230), 및 통신버스(240)를 포함한다. 도 2에서는 편의상 외부장치(220a~220d)가 4개인 것으로 도시하였지만, 주제어기(210)에 연결되는 외부장치의 개수는 4개미만이거나 4개 이상일 수도 있다.2, a marine fieldbus communication system 200 according to the present invention includes a main controller 210, a plurality of external devices 220a to 220d, a power switch 230 for an external device, (240). In FIG. 2, four external devices 220a to 220d are shown for convenience. However, the number of external devices connected to the main controller 210 may be four or more.

먼저, 주제어기(210)는 미리 정해진 엔진제어로직에 따라 선박 엔진을 제어하기 위한 제어 데이터를 생성하여 외부장치(220a~220d)들로 전송하고, 외부장치(220a~220d)들로부터 엔진상태정보들을 수집한다. First, the main controller 210 generates control data for controlling the marine engine according to a predetermined engine control logic, transmits control data to the external devices 220a to 220d, and receives engine status information from the external devices 220a to 220d ≪ / RTI >

특히, 본 발명에 따른 주제어기(210)는 자신의 오류 발생 여부 및 외부장치(220a~220d)들의 오류 발생여부를 판단하고, 오류가 발생된 것으로 판단되면, 오류를 복구시킨다.In particular, the main controller 210 according to the present invention determines whether an error has occurred and whether an error has occurred in the external devices 220a to 220d. If it is determined that an error has occurred, the error is recovered.

이하, 이러한 주제어기(210)의 구성을 보다 구체적으로 설명한다.Hereinafter, the configuration of the main controller 210 will be described in more detail.

주제어기(210)는 도 2에 도시된 바와 같이, 통신 제어기(212), 통신 드라이버(214), 전력 스위치(216), 및 메인 프로세서(218)를 포함한다.The main controller 210 includes a communication controller 212, a communication driver 214, a power switch 216, and a main processor 218, as shown in Fig.

통신 제어기(212)는 병렬 데이터인 제어 데이터를 직렬화 하고, 직렬화된 제어 데이터를 통신 드라이버(214)로 전달한다.The communication controller 212 serializes the control data, which is parallel data, and transfers the serialized control data to the communication driver 214.

일 실시예에 있어서, 통신 제어기(212)는 제1 통신 제어기(212a) 및 제2 통신 제어기(212b)로 이중화되어 있을 수 있다.In one embodiment, the communication controller 212 may be redundant to the first communication controller 212a and the second communication controller 212b.

통신 드라이버(214)는 통신 제어기(212)로부터 전달되는 직렬화된 제어 데이터를 외부장치(220a~220d)들로 전송한다.The communication driver 214 transmits the serialized control data transmitted from the communication controller 212 to the external devices 220a to 220d.

일 실시예에 있어서, 통신 드라이버(214)는 제1 통신 드라이버(214a) 및 제2 통신 드라이버(214b)로 이중화되어 있을 수 있다.In one embodiment, the communication driver 214 may be redundant with the first communication driver 214a and the second communication driver 214b.

통신 제어기(212) 및 통신 드라이버(214)가 이중화되어 있을 때, 제1 통신 제어기(212a) 및 제1 통신 드라이버(214a)가 액티브 상태일 때, 제2 통신 제어기(212b) 및 제2 통신 드라이버(214b)는 스탠바이 상태이고, 제1 통신 제어기(212a) 및 제1 통신 드라이버(214a)에 이상이 발생하는 경우 제2 통신 제어기(212b) 및 제2 통신 드라이버(214b)가 액티브 상태로 천이하게 된다.When the first communication controller 212a and the first communication driver 214a are in an active state, when the communication controller 212 and the communication driver 214 are duplicated, the second communication controller 212b and the second communication driver 214a, The second communication controller 214b is in the standby state and the second communication controller 212b and the second communication driver 214b transit to the active state when an error occurs in the first communication controller 212a and the first communication driver 214a do.

전력 스위치(216)는 메인프로세서(218)의 제어에 따라 통신 드라이버(214)로 공급되는 전원 공급을 차단하거나, 통신 드라이버(214)로의 전원공급을 재개한다. 일 실시예에 있어서, 통신 제어기(212) 및 통신 드라이버(214)가 이중화되어 있을 때, 전력 스위치(216)는 제1 전력 스위치(216a) 및 제2 전력 스위치(216b)로 구성된다.The power switch 216 interrupts the power supply to the communication driver 214 or resumes the power supply to the communication driver 214 under the control of the main processor 218. [ In one embodiment, when communication controller 212 and communication driver 214 are duplicated, power switch 216 is comprised of a first power switch 216a and a second power switch 216b.

제1 전력 스위치(216a)는 메인 프로세서(218)의 제어에 따라 제1 통신 드라이버(214a)에 연결되어 제1 통신 드라이버(214a)로 공급되는 전원을 차단하거나 제1 통신 드라이버(214a)로 전원 공급을 재개한다.The first power switch 216a is connected to the first communication driver 214a under the control of the main processor 218 to cut off the power supplied to the first communication driver 214a or to the first communication driver 214a, Resume supply.

제2 전력 스위치(216b)는 메인 프로세서(218)의 제어에 따라 제2 통신 드라이버(214b)에 연결되어 제2 통신 드라이버(214b)로 공급되는 전원을 차단하거나 제2 통신 드라이버(214b)로 전원 공급을 재개한다.The second power switch 216b is connected to the second communication driver 214b under the control of the main processor 218 to cut off the power supplied to the second communication driver 214b or to the second communication driver 214b Resume supply.

일 실시예에 있어서, 제1 전력 스위치(216a) 및 제2 전력 스위치(216b)는 트랜지스터(Transistor)로 구현될 수 있다.In one embodiment, the first power switch 216a and the second power switch 216b may be implemented as transistors.

다음으로, 메인 프로세서(218)는 먼저 미리 정해진 엔진제어로직에 따라 제어 데이터를 생성한다.Next, the main processor 218 first generates control data according to predetermined engine control logic.

특히, 메인 프로세서(218)는 주제어기(210)에 오류가 발생하는지 여부 및 외부장치(220a~220d)에 오류가 발생하는지 여부를 판단하고, 오류가 발생된 것으로 판단되면 오류를 복구시킨다.In particular, the main processor 218 determines whether an error has occurred in the main controller 210 and whether an error has occurred in the external devices 220a to 220d. If it is determined that an error has occurred, the main processor 218 recovers the error.

먼저, 메인 프로세서(218)는 주제어기(210) 또는 외부장치(220a~220d) 내부에 인스톨되어 있는 프로그램에 오류가 발생된 것으로 판단되면, 인스톨 되어 있는 프로그램을 초기화시킴으로써 오류를 복구시킨다.First, when it is determined that an error has occurred in a program installed in the main controller 210 or the external devices 220a to 220d, the main processor 218 initializes the installed program to recover the error.

또한, 메인 프로세서(218)는 주제어기(210)의 제1 또는 제2 통신 드라이버(214a, 214b)에 오류가 발생된 것으로 판단되면, 제1 및 제2 통신 드라이버(214a, 214b) 중 오류가 발생된 통신 드라이버(214)를 검출하고, 오류가 발생된 통신 드라이버(214)를 초기화시킴으로써 오류를 복구시킨다.If it is determined that an error has occurred in the first or second communication driver 214a or 214b of the main controller 210, the main processor 218 determines that an error among the first and second communication drivers 214a and 214b Detects the generated communication driver 214, and initializes the communication driver 214 in which the error occurred, thereby recovering the error.

일 실시예에 있어서, 메인 프로세서(218)는 제1 통신 드라이버(214a)에 오류가 발생된 것으로 판단되면, 제1 통신 드라이버(214a)에 연결되어 있는 제1 전력 스위치(216a)를 소정시간동안 오프시키기 위한 제1 전원제어명령을 생성하여 제1 전력 스위치(216a)로 인가한다. 이러한 제1 전원제어명령에 따라, 소정시간동안 제1 전력 스위치(216a)가 오프되어 제1 통신 드라이버(214a)로 전원공급이 차단되고, 소정시간 경과후 제1 전력 스위치(216a)가 온되어 제1 통신 드라이버(214a)로 전원공급이 재개되어 제1 통신 드라이버(214a)가 초기화된다.In one embodiment, when it is determined that an error has occurred in the first communication driver 214a, the main processor 218 controls the first power switch 216a connected to the first communication driver 214a for a predetermined time And then applies the generated power control command to the first power switch 216a. According to the first power control command, the first power switch 216a is turned off for a predetermined time, the power supply to the first communication driver 214a is interrupted, the first power switch 216a is turned on after a predetermined time elapses Power supply to the first communication driver 214a is resumed and the first communication driver 214a is initialized.

또한, 메인 프로세서(218)는 제2 통신 드라이버(214b)에 오류가 발생된 것으로 판단되면, 제2 통신 드라이버(214b)에 연결되어 있는 제2 전력 스위치(216b)를 소정시간동안 오프시키기 위한 제2 전원제어명령을 생성하여 제2 전력 스위치(216b)로 인가한다. 이러한 제2 전원제어명령에 따라, 소정시간동안 제2 전력 스위치(216b)가 오프되어 제2 통신 드라이버(214b)로 전원공급이 차단되고, 소정시간 경과후 제2 전력 스위치(216b)가 온되어 제2 통신 드라이버(214b)로 전원공급이 재개되어 제2 통신 드라이버(214b)가 초기화된다.If it is determined that an error has occurred in the second communication driver 214b, the main processor 218 sets a second power switch 216b for turning off the second power switch 216b connected to the second communication driver 214b for a predetermined period of time 2 power control command to the second power switch 216b. According to the second power control command, the second power switch 216b is turned off for a predetermined time, the power supply to the second communication driver 214b is interrupted, and after a predetermined time elapses, the second power switch 216b is turned on The power supply to the second communication driver 214b resumes and the second communication driver 214b is initialized.

상술한 실시 예에 있어서, 메인 프로세서(218)는 제1 및 제2 통신 드라이버(214a, 214b)를 통해 데이터가 수신되지 않는 경우 주제어기(210) 또는 제1 및 제2 통신 드라이버(214a, 214b)에 오류가 발생된 것으로 판단하고, 제1 및 제2 통신 드라이버(214a, 214b)를 통해 데이터가 수신되지만 수신된 데이터의 값이 비정상적인 경우 외부장치(220a~220d)에 설치된 프로그램에 이상이 발생된 것으로 판단할 수 있다.In the embodiment described above, the main processor 218 controls the main controller 210 or the first and second communication drivers 214a and 214b (if the data is not received via the first and second communication drivers 214a and 214b) If the data is received through the first and second communication drivers 214a and 214b but the received data value is abnormal, an error occurs in the program installed in the external devices 220a to 220d .

한편, 메인 프로세서(218)는 외부장치(220a~220d)에 오류가 발생하는지 여부를 판단하고, 오류가 발생된 것으로 판단되면 오류를 복구시킨다. 이를 위해, 메인 프로세서(218)는 복수개의 외부장치(220a~220d)들 중 오류가 발생된 외부장치를 검출한다.Meanwhile, the main processor 218 determines whether an error has occurred in the external devices 220a to 220d, and if it is determined that an error has occurred, the main processor 218 recovers the error. To this end, the main processor 218 detects an external device in which a failure has occurred among the plurality of external devices 220a to 220d.

일 실시예에 있어서, 메인 프로세서(218)는 제1 및 제2 통신 드라이버(214a, 214b)를 통해 데이터가 수신되지 않는 외부장치(220a~220d)에 오류가 발생된 것으로 판단한다. 이때, 제1 및 제2 통신 드라이버(214a, 214b)를 통해 수신된 데이터에는 해당 데이터를 전송한 외부장치(220a~220d)의 식별정보(ID)가 포함되어 있기 때문에, 메인 프로세서(210)는 제1 및 제2 통신 드라이버(214a, 214b)를 통해 수신된 데이터에 포함된 외부장치(220a~220d)의 식별정보 확인을 통해 식별정보가 검출되지 않는 외부장치(220a~220d)에 오류가 발생된 것으로 판단한다.In one embodiment, the main processor 218 determines that an error has occurred in the external devices 220a to 220d in which no data is received through the first and second communication drivers 214a and 214b. Since the data received through the first and second communication drivers 214a and 214b includes identification information (ID) of the external devices 220a to 220d that transmitted the corresponding data, the main processor 210 An error occurs in the external devices 220a to 220d in which the identification information is not detected by checking the identification information of the external devices 220a to 220d included in the data received through the first and second communication drivers 214a and 214b .

메인 프로세서(218)는 오류가 발생된 외부장치(220a~220d)가 특정되면, 해당 외부장치(220a~220d)를 초기화시킴으로써 오류를 복구시킨다. 일 실시예에 있어서, 메인 프로세서(218)는 제1 외부장치(220a)에 오류가 발생된 것으로 판단되면, 제1 외부장치(220a)에 연결되어 있는 제1 외부장치용 전력 스위치(230a)를 소정시간 동안 오프시키기 위한 제3 전원제어명령을 생성하여 제1 외부장치용 전력 스위치(230a)로 인가한다. 이러한 제3 전원제어명령에 따라, 소정시간동안 제1 외부장치용 전력 스위치(230a)가 오프되어 제1 외부장치(220a)(예컨대, 제1 외부장치(220a)에 포함된 통신 드라이버(미도시)로 전원공급이 차단되고, 소정시간 경과후 제1 외부장치용 전력 스위치(230a)가 온되어 제1 외부장치(220a)로 전원공급이 재개되어 제1 외부장치(220a)가 초기화된다.The main processor 218 initializes the external devices 220a to 220d when an error occurs in the external devices 220a to 220d, thereby recovering the error. In one embodiment, when it is determined that an error has occurred in the first external device 220a, the main processor 218 transmits a first external device power switch 230a connected to the first external device 220a Generates a third power control command for turning off the power switch 230a for a predetermined time, and applies the generated power control command to the power switch 230a for the first external apparatus. According to the third power control command, the power switch 230a for the first external apparatus is turned off for a predetermined period of time and the first external apparatus 220a (e.g., a communication driver included in the first external apparatus 220a The power supply for the first external device 230a is turned on and the power supply to the first external device 220a is restarted to initialize the first external device 220a.

다른 예에 있어서, 메인 프로세서(218)는 제2 외부장치(220b)에 오류가 발생된 것으로 판단되면, 제2 외부장치(220b)에 연결되어 있는 제2 외부장치용 전력 스위치(230b)를 소정시간 동안 오프시키기 위한 제4 전원제어명령을 생성하여 제2 외부장치용 전력 스위치(230b)로 인가한다. 이러한 제4 전원제어명령에 따라, 소정시간동안 제2 외부장치용 전력 스위치(230b)가 오프되어 제2 외부장치(220b) 에 포함된 통신 드라이버(미도시)로 전원공급이 차단되고, 소정시간 경과후 제2 외부장치용 전력 스위치(230b)가 온되어 제2 외부장치(220b)로 전원공급이 재개되어 제2 외부장치(220b)가 초기화된다.In another example, when it is determined that an error has occurred in the second external device 220b, the main processor 218 sets the second external device power switch 230b connected to the second external device 220b Generates a fourth power control command for turning off the power switch 230b for a second time and applies it to the power switch 230b for the second external apparatus. According to the fourth power supply control command, the second external device power switch 230b is turned off for a predetermined time, the power supply to the communication driver (not shown) included in the second external device 220b is interrupted, The power switch 230b for the second external apparatus is turned on and the power supply to the second external apparatus 220b is resumed to initialize the second external apparatus 220b.

또 다른 예에 있어서, 메인 프로세서(218)는 제3 외부장치(220c)에 오류가 발생된 것으로 판단되면, 제3 외부장치(220c)에 연결되어 있는 제3 외부장치용 전력 스위치(230c)를 소정시간 동안 오프시키기 위한 제5 전원제어명령을 생성하여 제3 외부장치용 전력 스위치(230c)로 인가한다. 이러한 제5 전원제어명령에 따라, 소정시간 동안 제3 외부장치용 전력 스위치(230c)가 오프되어 제3 외부장치(220c) 에 포함된 통신 드라이버(미도시)로 전원공급이 차단되고, 소정시간 경과후 제3 외부장치용 전력 스위치(230c)가 온되어 제3 외부장치(220c)로 전원공급이 재개되어 제3 외부장치(220c)가 초기화된다.In another example, when it is determined that an error has occurred in the third external device 220c, the main processor 218 transmits a third external device power switch 230c connected to the third external device 220c Generates a fifth power supply control command for turning off the power supply for a predetermined time, and applies it to the power switch 230c for the third external apparatus. According to the fifth power supply control command, the power switch 230c for the third external device is turned off for a predetermined time, the power supply to the communication driver (not shown) included in the third external device 220c is interrupted, The power switch 230c for the third external device is turned on and the power supply to the third external device 220c is resumed to initialize the third external device 220c.

또 다른 예에 있어서, 메인 프로세서(218)는 제4 외부장치(220d)에 오류가 발생된 것으로 판단되면, 제4 외부장치(220d)에 연결되어 있는 제4 외부장치용 전력 스위치(230d)를 소정시간 동안 오프시키기 위한 제6 전원제어명령을 생성하여 제4 외부장치용 전력 스위치(230d)로 인가한다. 이러한 제6 전원제어명령에 따라, 소정시간 동안 제4 외부장치용 전력 스위치(230d)가 오프되어 제4 외부장치(220d) 에 포함된 통신 드라이버(미도시)로 전원공급이 차단되고, 소정시간 경과후 제4 외부장치용 전력 스위치(230d)가 온되어 제4 외부장치(220d)로 전원공급이 재개되어 제4 외부장치(220d)가 초기화된다.In another example, when it is determined that an error has occurred in the fourth external device 220d, the main processor 218 transmits a fourth external device power switch 230d connected to the fourth external device 220d Generates a sixth power supply control command for turning off the power supply for a predetermined time and applies it to the power switch 230d for the fourth external apparatus. According to the sixth power supply control command, the power switch 230d for the fourth external device is turned off for a predetermined time, the power supply to the communication driver (not shown) included in the fourth external device 220d is interrupted, The power switch 230d for the fourth external device is turned on and the power supply to the fourth external device 220d is resumed to initialize the fourth external device 220d.

한편, 메인 프로세서(218)는 제1 및 제2 통신 드라이버(214a, 214b)의 오류가 복구되거나, 외부장치(220a~220d)의 오류가 복구되는 경우 복구된 통신 드라이버(214a, 214b)의 식별정보나 복구된 외부장치(220a~220d)의 식별정보를 상위 시스템(미도시)으로 전송할 수 있다.Meanwhile, the main processor 218 identifies the recovered communication drivers 214a and 214b when the errors of the first and second communication drivers 214a and 214b are recovered or errors of the external devices 220a to 220d are recovered And the identification information of the restored external devices 220a to 220d to an upper system (not shown).

일 실시예에 있어서, 메인 프로세서(218)는 외부장치(220a~220d)에 오류가 발생되어 오류가 복구되지 않는 경우 오류가 발생된 외부장치(220a~220d)의 오류 발생 횟수를 1만큼 증가시킨 후 상술한 오류 복구 과정을 반복하여 수행하고, 누적된 오류 발생 횟수가 미리 정해진 임계치를 초과하게 되면 해당 외부 장치를 통신 버스(240)에서 분리시키고, 알람을 생성하여 출력한다. 이때, 알람은 음성형식으로 생성되거나 디스플레이 상에서 출력되는 이미지로 생성될 수 있다.In one embodiment, the main processor 218 increases the number of times the error has occurred in the external devices 220a to 220d by 1 when an error occurs in the external devices 220a to 220d and the error is not recovered Then, the error recovery process is repeatedly performed. When the cumulative error occurrence count exceeds a predetermined threshold value, the external device is disconnected from the communication bus 240, and an alarm is generated and output. At this time, the alarm may be generated in a voice format or an image output on the display.

한편, 메인 프로세서(218)는 주제어기(210)에 오류가 발생되어 오류가 복구되지 않는 경우 알람을 생성하여 출력한다. 이때, 알람은 음성형식으로 생성되거나 디스플레이 상에서 출력되는 이미지로 생성될 수 있다.Meanwhile, the main processor 218 generates and outputs an alarm when an error occurs in the main controller 210 and the error is not recovered. At this time, the alarm may be generated in a voice format or an image output on the display.

다시 도 2를 참조하면, 복수개의 외부장치(220a~220d)는 주제어기(210)와 필드버스 방식의 통신버스(240)를 통해 연결되어 주제어기(210)로부터 제어 데이터를 수신하고, 선박 엔진의 상태정보를 수집하여 주제어기(210)로 전송한다.2, the plurality of external devices 220a to 220d are connected to the main controller 210 through a field bus communication bus 240 to receive control data from the main controller 210, And transmits the collected status information to the main controller 210.

일 실시예에 있어서, 외부장치(220a~220d)는 연료 주입을 제어하는 연료주입 제어장치(Fuel Injection Control Unit), 연료유(Fuel Oil)를 모니터링하는 연료유 모니터링 장치(Fuel Oil Monitor Unit), 냉각유(Cooling Oil)를 모니터링하는 냉각유 모니터링 장치(Cooling Oil Monitor Unit), 및 실린더 압력을 모니터링하는 실린더 압력 모니터링 장치(Cylinder Pressure Monitor Unit) 중 어느 하나일 수 있다.In one embodiment, the external devices 220a to 220d include a fuel injection control unit for controlling the fuel injection, a fuel oil monitor unit for monitoring the fuel oil, A cooling oil monitor unit for monitoring cooling oil, and a cylinder pressure monitoring unit for monitoring the cylinder pressure.

외부장치용 전력 스위치(230a~230d)는 각각의 외부장치(220a~220d)에 연결되어 각 외부장치(220a~220d)에 오류가 발생되는 경우 주제어기(210)의 제어하에 해당 외부장치(220a~220d)의 통신 드라이버에 공급되는 전원을 소정시간 동안 차단하고, 소정시간이 경과하면 해당 외부장치(220a~220d)의 통신 드라이버에 전원공급을 재개함으로써 해당 외부장치(220a~220d)를 초기화시킨다.The power switches 230a to 230d for external apparatuses are connected to the respective external apparatuses 220a to 220d so that when an error occurs in each of the external apparatuses 220a to 220d, 220d for a predetermined period of time and resumes power supply to the communication drivers of the external devices 220a to 220d when a predetermined time has elapsed, thereby initializing the external devices 220a to 220d .

일 실시예에 있어서, 전력 스위치(230a~230d)는 트랜지스터로 구현될 수 있다.In one embodiment, the power switches 230a through 230d may be implemented as transistors.

한편, 통신버스(240)는 주제어기(210)와 복수개의 외부장치(220a~220d)들을 연결시키고, 주제어기(210)와 복수개의 외부장치(220a~220d)는 통신버스(240)를 공유함으로써 서로 데이터를 송수신하게 된다.Meanwhile, the main controller 210 and the plurality of external devices 220a to 220d connect the main controller 210 and the plurality of external devices 220a to 220d, and the main controller 210 and the plurality of external devices 220a to 220d share the communication bus 240 Thereby transmitting and receiving data.

상술한 바와 같이, 본 발명의 경우 제1 및 제2 통신 제어기(212a, 212b)와 제1 및 제2 통신 드라이버(214a, 214b)가 이중화되어 있기 때문에, 주제어기(210)와 복수개의 외부장치(220a~220d)를 연결시키는 통신버스(240) 또한 이중화되어 있다. 즉, 제1 통신버스(240a)는 제1 통신 드라이버(214a)를 복수개의 외부장치(220a~220d)와 연결시키고, 제2 통신버스(240b)는 제2 통신 드라이버(214b)를 복수개의 외부장치(220a~220d)와 연결시킨다.As described above, since the first and second communication controllers 212a and 212b and the first and second communication drivers 214a and 214b are duplicated in the present invention, the main controller 210 and the plurality of external devices And the communication bus 240 connecting the first and second buses 220a to 220d are also duplicated. That is, the first communication bus 240a connects the first communication driver 214a to the plurality of external devices 220a to 220d, and the second communication bus 240b connects the second communication driver 214b to the plurality of external devices 220a to 220d. Device 220a-220d.

이하, 본 발명에 따른 선박용 필드버스 통신 시스템의 통신 복구 방법에 대해 설명한다.Hereinafter, a communication restoration method of a marine field bus communication system according to the present invention will be described.

도 3은 본 발명의 일 실시예에 따른 선박용 필드버스 통신 시스템의 통신 복구 방법에 을 보여주는 플로우차트이다. 도 3에 도시된 통신 복구 방법은 도 2에 도시된 바와 같은 구성을 갖는 선박용 필드버스 통신 시스템에 의해 수행될 수 있다.3 is a flowchart illustrating a communication restoration method of a marine fieldbus communication system according to an embodiment of the present invention. The communication restoration method shown in FIG. 3 may be performed by a marine field bus communication system having a configuration as shown in FIG.

먼저, 주제어기(210)가 외부장치(220a~220d)들과 주제어기(210)간의 통신 상태를 모니터링한다(S300).First, the main controller 210 monitors a communication state between the external devices 220a to 220d and the main controller 210 (S300).

모니터링 결과, 통신에 오류가 발생된 것으로 판단되면(S310), 오류가 발생된 장치가 주제어기(210)인지 아니면 외부장치(220a~220d)인지 여부를 판단한다(S320).If it is determined that an error has occurred in communication (S310), it is determined whether the error occurred device is main controller 210 or external device 220a to 220d (S320).

판단결과, 오류가 발생된 장치가 주제어기(210)이면, 주제어기(210)는 제1 및 제2 통신 드라이버(214a, 214d) 중 오류가 발생된 통신 드라이버를 검출한 후(S330), 소정시간 동안 오류가 발생된 통신 드라이버에 대한 전원 공급을 차단한 후(S340), 소정 시간이 경과하면 해당 통신 드라이버에 대한 전원 공급을 재개함으로써 해당 통신 드라이버를 초기화시킨다(S350).The main controller 210 detects a communication driver in which the error has occurred in the first and second communication drivers 214a and 214d (S330) (S340). After a predetermined time elapses, power supply to the corresponding communication driver is resumed to initialize the corresponding communication driver (S350).

일 실시예에 있어서, 주제어기(210)는 오류가 발생된 통신 드라이버(214a, 214b)에 연결되어 있는 전력 스위치(216a, 216b)를 소정시간 동안 오프시키기 위한 전원제어명령을 생성하여 해당 전력 스위치(216, 216b)로 인가한다. 이러한 전원제어명령에 따라, 소정시간 동안 해당 전력 스위치(216, 216b)가 오프되어 오류가 발생된 통신 드라이버(214a, 214b)로 전원공급이 차단되고, 소정시간 경과후 해당 전력 스위치(216, 216b)가 온되어 오류가 발생된 통신 드라이버(214a, 214b)로 전원공급이 재개되어 오류가 발생된 통신 드라이버(214a, 214b)가 초기화된다.In one embodiment, the main controller 210 generates a power control command for turning off the power switches 216a and 216b connected to the communication drivers 214a and 214b for a predetermined time, (216, 216b). The power switches 216 and 216b are turned off for a predetermined period of time according to the power supply control command and the power supply is interrupted by the communication drivers 214a and 214b in which an error has occurred. Is turned on to restart the supply of power to the communication drivers 214a and 214b in which the error has occurred, and the communication drivers 214a and 214b in which the error has occurred are initialized.

이후, 주제어기(210)는 통신 오류가 복구되었는지 여부를 판단하고(S360), 통신 오류가 복구되지 않았으면 알람을 생성하여 출력한다(S370).Thereafter, the main controller 210 determines whether or not the communication error has been recovered (S360). If the communication error has not been recovered, an alarm is generated and output (S370).

한편, S310의 판단결과, 오류가 발생된 장치가 외부장치(220a~220d)이면, 오류가 발생된 외부장치(220a~220d)를 검출한다(S380).If it is determined in step S310 that the error has occurred in the external apparatuses 220a to 220d, the external apparatuses 220a to 220d in which the error occurred are detected in step S380.

오류가 발생된 외부장치(220a~220d)가 검출되면, 주제어기(210)는 소정시간 동안 오류가 발생된 외부장치에 포함된 통신 드라이버에 대한 전원 공급을 차단한 후(S390), 소정 시간이 경과하면 해당 외부장치의 통신 드라이버에 대한 전원 공급을 재개함으로써 해당 해당 장치를 초기화시킨다(S400).When the external apparatuses 220a to 220d in which errors are generated are detected, the main controller 210 interrupts the power supply to the communication driver included in the external apparatus in which the error occurred for a predetermined time (S390) The power supply to the communication driver of the external device is resumed so that the corresponding device is initialized (S400).

일 실시예에 있어서, 주제어기(210)는 오류가 발생된 외부장치(220a~220d)에 연결되어 있는 외부장치용 전력 스위치(230)를 소정시간동안 오프시키기 위한 전원제어명령을 생성하여 해당 외부장치용 전력 스위치(230)로 인가한다. 이러한 전원제어명령에 따라, 소정시간 동안 해당 외부장치용 전력 스위치(230)가 오프되어 오류가 발생된 외부장치(220a~220d)로 전원공급이 차단되고, 소정시간 경과후 해당 외부장치용 전력 스위치(230)가 온되어 오류가 발생된 외부장치(220a~220d)로 전원공급이 재개되어 오류가 발생된 외부장치(220a~220d)가 초기화된다.In one embodiment, the main controller 210 generates a power control command for turning off the external device power switch 230 connected to the external devices 220a to 220d for a predetermined time, To the power switch 230 for the apparatus. According to the power supply control command, the power switch 230 for the external device is turned off for a predetermined period of time, the power supply to the external devices 220a to 220d in which an error has occurred is interrupted, The power supply to the external devices 220a to 220d in which the error has occurred is restarted and the external devices 220a to 220d in which the error has occurred are initialized.

이후, 주제어기(210)는 해당 장치의 통신 오류가 복구되었는지 여부를 확인하고(S410), 통신 오류가 복구되었으면 누적되어 있는 오류 발생 횟수를 초기화시킨다(S420).Then, the main controller 210 checks whether or not the communication error of the corresponding device is recovered (S410). If the communication error is recovered, the accumulated error occurrence count is initialized (S420).

한편, 주제어기(210)는 해장 장치의 통신 오류가 복구되지 않았으면 해당 장치의 오류 발생 횟수를 1만큼 증가시키고(S430), 누적된 오류 발생 횟수가 미리 정해진 임계치를 초과하는지 여부를 판단한다(S440).On the other hand, if the communication error of the decoding apparatus is not recovered, the main controller 210 increments the error occurrence count of the corresponding apparatus by 1 (S430), and determines whether the accumulated error occurrence count exceeds a predetermined threshold value S440).

판단결과, 누적된 오류 발생 횟수가 미리 정해진 임계치를 초과하지 않는 경우 S390으로 회귀하여 이후의 과정을 반복하고, 누적된 오류 발생 횟수가 미리 정해진 임계치를 초과하면 해당 외부장치를 통신버스(240)에서 분리한 후 알람을 생성하여 출력한다(S450).If it is determined that the accumulated number of errors does not exceed the predetermined threshold value, the process returns to step S390. If the accumulated number of errors exceeds the predetermined threshold value, the corresponding external device is notified to the communication bus 240 An alarm is generated and output (S450).

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것이 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 있어 명백할 것이다.It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the invention. Will be clear to those who have knowledge of.

200: 선박용 필드버스 통신 시스템 210: 주제어기
212a: 제1 통신 제어기 212b: 제2 통신 제어기
214a: 제1 통신 드라이버 214b: 제2 통신 드라이버
216a: 제1 전력 스위치 216b: 제2 전력 스위치
218: 메인 프로세서 220a~220d: 외부장치
230a~230d: 외부장치용 전력 스위치 240: 통신버스
200: Marine fieldbus communication system 210: Main controller
212a: first communication controller 212b: second communication controller
214a: first communication driver 214b: second communication driver
216a: first power switch 216b: second power switch
218: main processors 220a to 220d: external devices
230a to 230d: power switch for external device 240: communication bus

Claims (4)

엔진제어로직에 따라 선박 엔진의 제어를 위한 제어 데이터를 생성하는 주제어기;
상기 주제어기와 필드버스 방식의 통신버스를 통해 연결되어 상기 주제어기로부터 상기 제어 데이터를 수신하고, 상기 선박 엔진의 상태정보를 수집하여 상기 주제어기로 전송하는 복수개의 외부장치; 및
상기 복수개의 외부장치에 각각 연결되고, 상기 주제어기의 제어에 따라 상기 각 외부장치의 통신 전원을 소정시간 동안 차단시키는 외부장치용 전력 스위치를 포함하고,
상기 주제어기는,
상기 제어명령을 생성하고, 상기 복수개의 외부장치에 오류가 발생된 것으로 판단되면 오류가 발생된 외부장치의 통신 전원을 소정시간 동안 차단시키기 위한 제1 전원제어명령을 생성하여 상기 오류가 발생된 외부장치에 연결된 외부장치용 전력 스위치로 전달하는 메인 프로세서를 포함하는 것을 특징으로 하는 선박용 필드버스 통신 시스템.
A main controller for generating control data for controlling the marine engine according to the engine control logic;
A plurality of external devices connected to the main controller through a field bus communication bus to receive the control data from the main controller and to collect status information of the marine engine and transmit the status data to the main controller; And
And a power switch for an external apparatus which is connected to the plurality of external apparatuses and cuts off communication power of each of the external apparatuses for a predetermined time under the control of the main controller,
The main controller,
Generates a first power control command for interrupting a communication power of an external device in which an error has occurred if the plurality of external devices are judged to have generated an error for a predetermined time, To a power switch for an external device connected to the device.
제1항에 있어서,
상기 주제어기는,
상기 주제어기로부터 전달되는 제어 데이터를 직렬 데이터로 변환하는 통신 제어기; 및
상기 통신 제어기로부터 전달되는 직렬 데이터를 물리적인 통신신호로 변환하여 상기 복수개의 외부장치로 전달하는 통신 드라이버를 더 포함하고,
상기 통신 제어기는 제1 통신 제어기 및 제2 통신 제어기로 이중화되어 있고,
상기 통신 드라이버는 제1 통신 드라이버 및 제2 통신 드라이버로 이중화되어 있는 것을 특징으로 하는 선박용 필드버스 통신 시스템.
The method according to claim 1,
The main controller,
A communication controller for converting control data transmitted from the main controller into serial data; And
Further comprising: a communication driver for converting the serial data transmitted from the communication controller into a physical communication signal and delivering the serial data to the plurality of external devices,
Wherein the communication controller is duplicated as a first communication controller and a second communication controller,
Wherein the communication driver is duplicated by a first communication driver and a second communication driver.
제2항에 있어서,
상기 주제어기는,
상기 제1 통신 드라이버에 연결되고, 상기 메인 프로세서의 제어에 따라 상기 제1 통신 드라이버의 전원을 소정시간 동안 차단시키는 제1 전력 스위치; 및
상기 제2 통신 드라이버에 연결되고, 상기 메인 프로세서의 제어에 따라 상기 제2 통신 드라이버의 전원을 소정시간 동안 차단시키는 제2 전력 스위치를 더 포함하고,
상기 메인 프로세서는, 상기 주제어기에 오류가 발생된 것으로 판단되면 상기 제1 통신 드라이버 및 상기 제2 통신 드라이버 중 오류가 발생된 통신 드라이버를 검출하고, 오류가 발생된 통신 드라이버의 전원을 소정시간 동안 차단시키기 위한 제2 전원제어명령을 생성하여 상기 오류가 발생된 통신 드라이버에 연결된 전력 스위치로 전달하는 것을 특징으로 하는 선박용 필드버스 통신 시스템.
3. The method of claim 2,
The main controller,
A first power switch connected to the first communication driver, for blocking power of the first communication driver for a predetermined time under the control of the main processor; And
Further comprising a second power switch connected to the second communication driver and for shutting off the power of the second communication driver for a predetermined time under the control of the main processor,
Wherein the main processor detects a communication driver in which an error has occurred among the first communication driver and the second communication driver when it is determined that an error has occurred in the main controller, And transmits the second power control command to the power switch connected to the communication driver in which the error occurred.
제1항에 있어서,
상기 메인 프로세서는,
상기 외부장치에 오류가 발생되어 오류가 복구되지 않으면, 상기 오류가 발생된 외부장치의 오류 발생 횟수를 증가시키고, 오류 발생 횟수가 임계치를 초과하게 되면 해당 외부 장치를 상기 통신 버스에서 분리시키는 것을 특징으로 하는 선박용 필드버스 통신 시스템.
The method according to claim 1,
The main processor,
The number of times of occurrence of the error of the external device in which the error has occurred is increased and the corresponding external device is separated from the communication bus when the number of times of occurrence of the error exceeds the threshold value For shipborne fieldbus communication system.
KR1020160034052A 2016-03-22 2016-03-22 Field Bus Communication System for Ship KR102138402B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160034052A KR102138402B1 (en) 2016-03-22 2016-03-22 Field Bus Communication System for Ship

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160034052A KR102138402B1 (en) 2016-03-22 2016-03-22 Field Bus Communication System for Ship

Publications (2)

Publication Number Publication Date
KR20170110213A true KR20170110213A (en) 2017-10-11
KR102138402B1 KR102138402B1 (en) 2020-07-28

Family

ID=60139292

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160034052A KR102138402B1 (en) 2016-03-22 2016-03-22 Field Bus Communication System for Ship

Country Status (1)

Country Link
KR (1) KR102138402B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200046812A (en) * 2018-10-25 2020-05-07 삼성중공업 주식회사 Control system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR200406791Y1 (en) * 2005-10-24 2006-01-24 삼성중공업 주식회사 Ship automatic control system
JP4034816B1 (en) * 2007-05-11 2008-01-16 渦潮電機株式会社 Ship power supply system and power supply method
KR101109564B1 (en) * 2006-12-13 2012-02-28 호발츠벨케 도이췌 벨프트 게엠베하 Submarine boat

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR200406791Y1 (en) * 2005-10-24 2006-01-24 삼성중공업 주식회사 Ship automatic control system
KR101109564B1 (en) * 2006-12-13 2012-02-28 호발츠벨케 도이췌 벨프트 게엠베하 Submarine boat
JP4034816B1 (en) * 2007-05-11 2008-01-16 渦潮電機株式会社 Ship power supply system and power supply method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200046812A (en) * 2018-10-25 2020-05-07 삼성중공업 주식회사 Control system

Also Published As

Publication number Publication date
KR102138402B1 (en) 2020-07-28

Similar Documents

Publication Publication Date Title
US7120820B2 (en) Redundant control system and control computer and peripheral unit for a control system of this type
US20060161714A1 (en) Method and apparatus for monitoring number of lanes between controller and PCI Express device
US9223309B2 (en) Plant monitoring and control system and plant monitoring and control method
US7676693B2 (en) Method and apparatus for monitoring power failure
US10386832B2 (en) Redundant control system for an actuator and method for redundant control thereof
JP4655718B2 (en) Computer system and control method thereof
KR100928187B1 (en) Fault-safe structure of dual processor control unit
KR101448013B1 (en) Fault-tolerant apparatus and method in multi-computer for Unmanned Aerial Vehicle
JP2007058708A (en) Multiplex system
KR20170110213A (en) Field Bus Communication System for Ship
JP6135403B2 (en) Information processing system and information processing system failure processing method
CN105553735A (en) Stacking system fault handling method, equipment and stacking system
TWI434159B (en) Dual system control device
JP5176914B2 (en) Transmission device and system switching method for redundant configuration unit
JP2010081030A (en) Emergency disaster alarm transfer system
CN115699124A (en) Hardware-based sensor analysis
JP2006172050A (en) Duplexing system of hot standby type
KR20080084360A (en) Communication error treatment system and method thereof
JP6422429B2 (en) Supervisory control system
JP2000020336A (en) Duplex communication system
JP4600771B2 (en) Control device
JP4167511B2 (en) Redundant line determination processing method
JP2005050088A (en) High speed dual system controller
JP2007026038A (en) Path monitoring system, path monitoring method and path monitoring program
JP2007072980A (en) Computer control system

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