KR20190023704A - Apparatus for determining communication connecting - Google Patents

Apparatus for determining communication connecting Download PDF

Info

Publication number
KR20190023704A
KR20190023704A KR1020170109863A KR20170109863A KR20190023704A KR 20190023704 A KR20190023704 A KR 20190023704A KR 1020170109863 A KR1020170109863 A KR 1020170109863A KR 20170109863 A KR20170109863 A KR 20170109863A KR 20190023704 A KR20190023704 A KR 20190023704A
Authority
KR
South Korea
Prior art keywords
communication
communication module
communication connection
slave
master
Prior art date
Application number
KR1020170109863A
Other languages
Korean (ko)
Other versions
KR101985692B1 (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 KR1020170109863A priority Critical patent/KR101985692B1/en
Publication of KR20190023704A publication Critical patent/KR20190023704A/en
Application granted granted Critical
Publication of KR101985692B1 publication Critical patent/KR101985692B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • H04L1/1685Details of the supervisory signal the supervisory signal being transmitted in response to a specific request, e.g. to a polling signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Communication Control (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

The present invention relates to a communication connection determination device capable of restricting a communication connection of a power device having a duplicated communication address. According to an embodiment of the present invention, the communication connection determination device includes a master communication module connected to a plurality of slave communication modules through a serial communication network. The device comprises: a communication unit which, by using the serial communication network, transmits a data request signal including a communication address to at least one slave communication module corresponding to a predetermined communication address and receives a response signal corresponding to the data request signal from the slave communication module; a communication connection determination unit which, based on the data request signal and the response signals, determines whether communication connection between the master communication module and the slave communication module is established; an interface unit which receives from a user input of a first quantity indicating the total number of the at least one slave communication module connected to the master communication module; a communication connection result comparison unit which compares the input first quantity with a second quantity indicating the total number of the at least one slave communication module communicatively connected to the master communication module based on the determination result of the communication connection determination unit; and a display unit which displays a communication connection result message indicating whether a normal communication connection is established according to a comparison result of the communication connection result comparison unit.

Description

통신 연결 판단 장치{Apparatus for determining communication connecting}BACKGROUND OF THE INVENTION 1. Field of the Invention [0001]

본 발명은 통신 연결 판단 장치에 관한 것이다.The present invention relates to a communication connection determination device.

최근 산업 현장에서, RS-485 통신 표준 규격 기반의 모드버스(Modbus) RTU(Remote Terminal Unit) 통신 프로토콜을 이용한 데이터 전송 방식을 이용하여, 복수의 전력 기기를 실시간 모니터링하고 있다.Recently, a plurality of power devices are monitored in real time by using a data transmission method using a Modbus RTU (Remote Terminal Unit) communication protocol based on the RS-485 communication standard in an industrial field.

RS-485 기반의 모드버스 RTU 통신 프로토콜을 이용한 시리얼(Serial) 통신은 마스터(Master) 및 슬레이브(Slave) 통신 모듈 사이의 통신을 포함하고, 슬레이브 통신 모듈은 최대 247개까지 연결 가능하다. 이때, 시리얼 통신의 통신 주소는 각 슬레이브 통신 모듈에 대해 1 내지 247의 주소가 설정될 수 있다.Serial communication using RS-485 based Modbus RTU communication protocol includes communication between master and slave communication modules, and up to 247 slave communication modules can be connected. At this time, the communication address of the serial communication may be set to an address of 1 to 247 for each slave communication module.

모드버스 시리얼 통신에서 마스터 통신 모듈은 데이터 폴링(Polling) 방식을 통해, 통신 주소에 따라 순차적으로 송신한 요청 신호(Request)에 대한 응답으로 슬레이브 통신 모듈로부터 응답 신호(Response)를 수신한다. In the Modbus serial communication, the master communication module receives a response signal from the slave communication module in response to a request signal transmitted sequentially according to the communication address through a data polling method.

모드버스 시리얼 통신에서 슬레이브 통신 모듈을 포함하는 복수의 전력 기기와 마스터 통신 모듈 사이에 통신 연결 오류가 발생하는 경우, 전력 기기의 손상 또는 인명과 재산 피해가 발생할 수 있다. In the case of a communication connection failure between a plurality of power devices including a slave communication module in a modbus serial communication and a master communication module, damage to the power equipment or damage to property and property may occur.

즉, 모든 전력 기기가 하나의 통신선으로 연결되는 시리얼 통신 구조에서 복수의 전력 기기 중 적어도 하나의 전력 기기에서 통신 연결 오류가 발생하는 경우, 모든 전력 기기에 부정적인 영향을 미칠 수 있다.That is, when a communication connection error occurs in at least one power device among a plurality of power devices in a serial communication structure in which all power devices are connected to one communication line, all power devices may be negatively affected.

따라서, 최초 통신 연결시 전력 기기를 누락하거나, 전력 기기의 통신 주소를 중복하여 인식하지 않도록 전력 기기를 정확히 인식하는 것이 중요하다.Therefore, it is important to accurately recognize the power device so as not to miss the power device at the initial communication connection, or to not recognize the communication address of the power device in duplicate.

만약, 전력 기기가 누락 되는 경우, 누락된 전력 기기는 모니터링 또는 제어 대상에서 영구적으로 제외되므로 사고 발생시 조치가 지연되는 문제가 있다.If a power device is missing, the missing power device is permanently excluded from the monitoring or control target, and there is a problem that the measure is delayed in the event of an accident.

이와 같은 통신 연결 오류를 방지하기 위해 모드버스 프로토콜 프레임(Frame)에 포함된 CRC(Cyclic Redundancy Check) 데이터를 이용하는 오류 체크 방법을 사용하고 있지만, CRC 데이터를 이용한 오류 체크 방법만으로는 모든 통신 연결 오류를 해결할 수 없다.In order to prevent such a communication connection error, an error check method using CRC (Cyclic Redundancy Check) data included in a Modbus protocol frame is used. However, only an error check method using CRC data can solve all communication connection errors I can not.

즉, CRC 데이터를 이용한 오류 체크 방법은 CRC 데이터가 포함된 해당 신호에 대한 오류는 체크할 수 있지만, 통신 주소가 중복으로 설정되는 통신 연결 오류는 해결할 수 없다.That is, in the error checking method using the CRC data, an error can be checked for the corresponding signal including the CRC data, but a communication connection error in which the communication address is set to be redundant can not be resolved.

도 1은 종래의 통신 연결 방법을 설명하기 위한 도면이다.1 is a view for explaining a conventional communication connection method.

도 1을 참조하면, PC Manager(10)는 복수의 HMI(Human machine interface)(20, 20_1, 20_n)와 통신이 연결되어 있고, HMI(20)는 복수의 전력 기기(30, 30_1, 30_2, 30_n)와 통신이 연결되어 있다. 이때, HMI(20)와 복수의 전력 기기(30, 30_1, 30_2, 30_n) 사이의 통신은 RS-485 기반의 모드버스 RTU 프로토콜을 이용하는 시리얼 통신을 포함한다.1, the PC Manager 10 is connected to a plurality of human machine interfaces (HMI) 20, 20_1 and 20_n, and the HMI 20 includes a plurality of power devices 30, 30_1, 30_2, 30_n are connected to the communication. Communication between the HMI 20 and the plurality of power devices 30, 30_1, 30_2, and 30_n includes serial communication using the RS-485 based Modbus RTU protocol.

이때, PC Manager(10)는 복수의 HMI를 통해 복수의 전력 기기를 모니터링 하거나 제어할 수 있는 장치 또는 프로그램을 포함할 수 있다. 또한, HMI(20)는 디스플레이부를 포함하고, 복수의 전력 기기를 모니터링하거나, 제어할 수 있는 장치 또는 프로그램을 포함할 수 있다. 전력 기기(30)는 전자식 모터 보호 계전기(EMPR, Electronic motor protection relay)를 포함할 수 있다.At this time, the PC Manager 10 may include a device or a program capable of monitoring or controlling a plurality of power devices through a plurality of HMIs. Further, the HMI 20 includes a display unit and may include a device or a program capable of monitoring or controlling a plurality of power devices. The power device 30 may include an electronic motor protection relay (EMPR).

또한, HMI(20) 또는 PC Manager(10)는 마스터 통신 모듈을 포함하고, 전력 기기(30)는 슬레이브 통신 모듈을 포함할 수 있다.In addition, the HMI 20 or the PC Manager 10 may include a master communication module, and the power device 30 may include a slave communication module.

HMI(20) 및 복수의 전력 기기(30, 30_1, 30_2, 30_n) 사이의 시리얼 통신에서 복수의 전력 기기의 통신 주소는 1 내지 247 중 사용자가 설정한 통신 주소가 설정될 수 있다.In the serial communication between the HMI 20 and the plurality of power devices 30, 30_1, 30_2, and 30_n, a communication address set by the user among the communication addresses 1 to 247 of the plurality of power devices may be set.

HMI(20) 및 복수의 전력 기기(30, 30_1, 30_2, 30_n) 사이의 통신 연결 과정에서 전력 기기의 통신 주소가 중복 설정된 경우, 통신 응답이 중복으로 발생하게 된다. 이때, 중복 응답의 형태에 따라 중복 통신 응답을 정상 응답으로 판단하는 경우가 발생할 수 있다.When the communication address of the power device is duplicated in the process of communicating between the HMI 20 and the plurality of power devices 30, 30_1, 30_2, and 30_n, the communication response is duplicated. At this time, it may happen that the redundant communication response is determined as a normal response depending on the type of the redundant response.

중복 응답의 형태 중 중복 응답간 입출력 대기시간(Idle time)이 발생하는 형태의 경우, 마스터 통신 모듈은 중복 응답 중 먼저 수신한 응답을 기준으로 정상 응답 여부를 판단할 수 있다. In the case of the type in which the input / output wait time occurs between the redundant responses in the form of the redundant response, the master communication module can determine whether the normal response is based on the response received first in the redundant response.

예를 들어, 마스터 통신 모듈에 먼저 도착한 응답이 정상 응답인 경우 나중에 도착한 응답이 정상 인지 비정상인지와 관계 없이 정상 응답으로 판단하는 문제가 있었다. 이때, 마스터 통신 모듈에서 통신 주소가 중복된 복수의 슬레이브 통신 모듈을 하나의 슬레이브 통신 모듈로 인식하여 통신을 수행하는 문제점이 있었다.For example, if a response arriving first in a master communication module is a normal response, there is a problem that a response that arrives later is determined as a normal response regardless of whether the response is normal or abnormal. At this time, there is a problem in that a plurality of slave communication modules in which the communication address is duplicated in the master communication module are recognized as one slave communication module and communication is performed.

본 발명은 통신 연결 대상 전력 기기의 수량을 사전에 입력 받아 통신 연결 결과 수량과 용이하게 비교할 수 있는 통신 연결 판단 장치를 제공하는 것을 목적으로 한다.An object of the present invention is to provide a communication connection determination device capable of easily inputting a quantity of power devices subject to communication connection, and comparing the quantity of communication device connection result with the quantity of communication connection result.

또한, 본 발명은 통신 연결 판단 조건을 강화하여 통신 주소가 중복된 전력 기기의 통신 연결을 제한하는 통신 연결 판단 장치를 제공하는 것을 다른 목적으로 한다.Another object of the present invention is to provide a communication connection determination device for enhancing a communication connection determination condition to restrict a communication connection of a power device having a duplicated communication address.

또한, 본 발명은 정상 응답 판단 조건을 추가하여 통신 연결 오류를 방지하는 통신 연결 판단 장치를 제공하는 것을 다른 목적으로 한다.It is another object of the present invention to provide a communication connection determination device for preventing a communication connection error by adding a normal response determination condition.

또한, 본 발명은 통신 주소를 사용자가 직접 입력하지 않아도 자동으로 전력 기기의 통신을 연결하는 통신 연결 판단 장치를 제공하는 것을 다른 목적으로 한다.It is another object of the present invention to provide a communication connection determination device that automatically connects communication of a power device without directly inputting a communication address by a user.

본 발명의 목적들은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 본 발명의 다른 목적 및 장점들은 하기의 설명에 의해서 이해될 수 있고, 본 발명의 실시예에 의해 보다 분명하게 이해될 것이다. 또한, 본 발명의 목적 및 장점들은 특허 청구 범위에 나타낸 수단 및 그 조합에 의해 실현될 수 있음을 쉽게 알 수 있을 것이다.The objects of the present invention are not limited to the above-mentioned objects, and other objects and advantages of the present invention which are not mentioned can be understood by the following description and more clearly understood by the embodiments of the present invention. It will also be readily apparent that the objects and advantages of the invention may be realized and attained by means of the instrumentalities and combinations particularly pointed out in the appended claims.

상기의 목적을 달성하기 위해 본 발명의 통신 연결 판단 장치는 복수의 슬레이브 통신 모듈과 시리얼 통신망으로 연결된 마스터 통신 모듈을 포함하는 통신 연결 판단 장치에 있어서, 상기 시리얼 통신망을 이용하여, 미리 결정된 통신 주소에 해당하는 적어도 하나의 슬레이브 통신 모듈에 상기 통신 주소를 포함하는 데이터 요청 신호를 송신하고, 상기 슬레이브 통신 모듈로부터 상기 데이터 요청 신호에 대응하는 응답 신호를 수신하는 통신부, 상기 데이터 요청 신호 및 상기 응답 신호를 기초로 상기 마스터 통신 모듈 및 상기 슬레이브 통신 모듈 사이의 통신 연결 여부를 판단하는 통신 연결 판단부, 사용자로부터 상기 마스터 통신 모듈과 연결되는 상기 적어도 하나의 슬레이브 통신 모듈의 총개수를 나타내는 제1 수량을 입력 받는 인터페이스부, 상기 통신 연결 판단부의 판단 결과를 기초로 상기 마스터 통신 모듈과 통신 연결된 상기 적어도 하나의 슬레이브 통신 모듈의 총개수를 나타내는 제2 수량과 입력 받은 상기 제1 수량의 크기를 비교하는 통신 연결 결과 비교부, 및 상기 통신 연결 결과 비교부에서 비교한 결과에 따라 정상 통신 연결 여부를 나타내는 통신 연결 결과 메시지를 표시하는 디스플레이부를 포함한다.In order to achieve the above object, a communication connection determination device of the present invention is a communication connection determination device including a plurality of slave communication modules and a master communication module connected with a serial communication network, the communication connection determination device comprising: A communication unit for transmitting a data request signal including the communication address to at least one corresponding slave communication module and receiving a response signal corresponding to the data request signal from the slave communication module, A communication connection determination unit for determining whether or not communication is established between the master communication module and the slave communication module based on a first quantity, a first quantity indicating a total number of the at least one slave communication module connected to the master communication module from a user Receiving interface unit, A communication connection result comparison unit for comparing a second quantity indicating the total number of the at least one slave communication modules communicatively connected to the master communication module based on the determination result of the communication connection determination unit, And a display unit for displaying a communication connection result message indicating whether a normal communication connection is established according to a result of the comparison by the communication connection result comparison unit.

또한, 상기 통신 연결 판단부는, 상기 제1 수량과 상기 제2 수량의 크기가 동일한 경우, 상기 마스터 통신 모듈 및 상기 적어도 하나의 슬레이브 통신 모듈 사이의 통신 연결이 정상 연결된 것으로 판단하는 것을 더 포함할 수 있다.The communication connection determination unit may further include determining that a communication connection between the master communication module and the at least one slave communication module is normally connected when the first quantity and the second quantity are equal in size have.

또한, 상기 통신 연결 판단부는, 상기 제1 수량의 크기가 상기 제2 수량의 크기보다 크거나 작은 경우, 상기 마스터 통신 모듈 및 상기 적어도 하나의 슬레이브 통신 모듈 사이의 통신 연결이 비정상 연결된 것으로 판단하는 것을 더 포함할 수 있다.The communication connection determining unit may determine that the communication connection between the master communication module and the at least one slave communication module is abnormally connected when the size of the first quantity is larger or smaller than the size of the second quantity .

또한, 상기 디스플레이부는, 상기 마스터 통신 모듈 및 상기 적어도 하나의 슬레이브 통신 모듈 사이의 통신 연결이 비정상 연결된 것으로 판단되면, 연결 수량 오류 메시지를 포함하는 상기 통신 연결 결과 메시지를 표시하는 것을 포함할 수 있다.The display unit may display the communication connection result message including the connection number error message if it is determined that the communication connection between the master communication module and the at least one slave communication module is abnormally connected.

또한, 상기 연결 수량 오류 메시지를 기초로 사용자로부터 입력 받은 통신 연결 해제 명령에 따라 상기 마스터 통신 모듈 및 상기 적어도 하나의 슬레이브 통신 모듈 사이의 통신 연결을 해제하는 제어부를 더 포함할 수 있다.The controller may further include a controller for releasing a communication connection between the master communication module and the at least one slave communication module according to a communication connection release command received from the user based on the connection quantity error message.

또한, 상기 제어부는, 상기 연결 수량 오류 메시지를 기초로 상기 사용자로부터 입력 받은 재시도 명령에 따라, 상기 통신부를 통해 상기 마스터 통신 모듈과 상기 적어도 하나의 슬레이브 통신 모듈 사이의 통신 연결을 재시도하는 것을 더 포함할 수 있다.In addition, the control unit may retry the communication connection between the master communication module and the at least one slave communication module through the communication unit according to the retry command received from the user based on the connection quantity error message .

또한, 상기 응답 신호를 기초로 상기 슬레이브 통신 모듈의 정상 응답 여부를 판단하는 정상 응답 여부 판단부를 더 포함할 수 있다.The control unit may further include a normal response determination unit for determining whether the slave communication module is normally responding based on the response signal.

또한, 상기 통신 연결 판단부는, 상기 정상 응답 여부 판단부에서 정상 응답으로 판단된 상기 슬레이브 통신 모듈에 대해 상기 마스터 통신 모듈 및 상기 슬레이브 통신 모듈 사이의 통신 연결이 정상 연결된 것으로 판단하는 것을 포함할 수 있다.The communication connection determination unit may include determining that a communication connection between the master communication module and the slave communication module is normally connected to the slave communication module determined as a normal response by the normal response determination unit .

또한, 상기 통신 연결 판단부는, 상기 슬레이브 통신 모듈로부터 수신한 제1 응답 신호 및 제2 응답 신호가 상기 정상 응답 여부 판단부에서 모두 정상 응답으로 판단되는 경우, 상기 마스터 통신 모듈 및 상기 슬레이브 통신 모듈 사이의 통신 연결이 정상 연결된 것으로 판단하고, 상기 제2 응답 신호는 상기 제1 응답 신호가 정상 응답인 경우, 상기 마스터 통신 모듈에서 상기 슬레이브 통신 모듈로부터 수신하는 것을 포함할 수 있다.When the first response signal and the second response signal received from the slave communication module are all determined to be normal responses by the normal response determination unit, the communication connection determination unit determines that the communication response between the master communication module and the slave communication module And the second response signal may include receiving from the slave communication module in the master communication module when the first response signal is a normal response.

본 발명에 따르면 통신 연결 대상 전력 기기의 수량을 사전에 입력 받아 통신 연결 결과 수량과 비교함으로써, 전력 기기의 누락 및 비정상적인 통신 연결을 방지할 수 있는 장점이 있다.According to the present invention, there is an advantage that omission of the power equipment and abnormal communication connection can be prevented by comparing the quantity of the power equipment subject to communication connection with the quantity of communication connection result in advance.

또한, 본 발명에 따르면 통신 연결 판단 조건을 강화하여 통신 주소가 중복된 전력 기기의 통신 연결을 제한함으로써, 통신 주소 중복시 발생할 수 있는 전력 기기의 손상 및 오작동 위험을 제거할 수 있다.Also, according to the present invention, it is possible to eliminate the risk of damage or malfunction of the power device, which may occur when the communication address is duplicated, by restricting the communication connection of the power device in which the communication address is duplicated by enhancing the communication connection determination condition.

또한, 본 발명에 따르면 정상 응답 판단 조건을 추가하여 통신 연결 오류를 방지함으로써, 산업 현장에서 업무의 효율을 향상시킬 수 있는 장점이 있다.In addition, according to the present invention, it is possible to improve the efficiency of work in an industrial field by preventing a communication connection error by adding a normal response judgment condition.

또한, 본 발명에 따르면 통신 주소를 사용자가 직접 입력하지 않아도 자동으로 전력 기기의 통신을 연결함으로써, 사용자의 시간과 비용을 절감할 수 있는 장점이 있다.In addition, according to the present invention, there is an advantage that the time and cost of the user can be reduced by automatically connecting the communication of the power device without directly inputting the communication address by the user.

상술한 효과와 더불어 본 발명의 구체적인 효과는 이하 발명을 실시하기 위한 구체적인 사항을 설명하면서 함께 기술한다. The above and other objects, features and advantages of the present invention will be more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which: FIG.

도 1은 종래의 통신 연결 방법을 설명하기 위한 도면이다.
도 2는 본 발명의 몇몇 실시예에 따른 통신 연결 판단 방법을 설명하기 위한 도면이다.
도 3은 도 2에 포함된 마스터 통신 모듈의 세부적인 구성을 도시한 도면이다.
도 4는 도 2에 포함된 슬레이브 통신 모듈의 세부적인 구성을 도시한 도면이다.
도 5는 본 발명의 몇몇 실시예에 따른 통신 연결 판단 방법을 설명하기 위한 순서도이다.
도 6은 본 발명의 일 실시예에 따른 통신 연결 판단 방법을 설명하기 위한 순서도이다.
도 7은 본 발명의 다른 실시예에 따른 통신 연결 판단 방법을 설명하기 위한 순서도이다.
도 8은 본 발명의 또 다른 실시예에 따른 통신 연결 판단 방법을 설명하기 위한 순서도이다.
도 9는 본 발명의 몇몇 실시예에 따른 데이터 요청 신호 및 응답 신호의 일 예를 설명하기 위한 도면이다.
도 10은 본 발명의 몇몇 실시예에 따른 데이터 요청 신호 및 응답 신호의 다른 예를 설명하기 위한 도면이다.
도 11은 본 발명의 몇몇 실시예에 따른 사용자로부터 통신 연결 대상 수량을 입력 받는 방법을 설명하기 위한 도면이다.
도 12는 본 발명의 몇몇 실시예에 따른 통신 연결 결과의 일 예를 나타내는 도면이다.
도 13은 본 발명의 몇몇 실시예에 따른 통신 연결 결과의 다른 예를 나타내는 도면이다.
도 14는 본 발명의 몇몇 실시예에 따른 통신 연결 결과의 또 다른 예를 나타내는 도면이다.
1 is a view for explaining a conventional communication connection method.
2 is a diagram for explaining a communication connection determination method according to some embodiments of the present invention.
FIG. 3 is a diagram illustrating a detailed configuration of the master communication module included in FIG. 2. FIG.
FIG. 4 is a diagram illustrating a detailed configuration of a slave communication module included in FIG. 2. FIG.
5 is a flowchart illustrating a communication connection determination method according to some embodiments of the present invention.
6 is a flowchart illustrating a communication connection determination method according to an exemplary embodiment of the present invention.
7 is a flowchart illustrating a communication connection determination method according to another embodiment of the present invention.
8 is a flowchart illustrating a communication connection determination method according to another embodiment of the present invention.
9 is a view for explaining an example of a data request signal and a response signal according to some embodiments of the present invention.
10 is a view for explaining another example of a data request signal and a response signal according to some embodiments of the present invention.
11 is a view for explaining a method for receiving a communication connection target quantity from a user according to some embodiments of the present invention.
12 is a diagram showing an example of a communication connection result according to some embodiments of the present invention.
13 is a diagram showing another example of the result of communication connection according to some embodiments of the present invention.
14 is a diagram showing another example of the result of communication connection according to some embodiments of the present invention.

본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 것이며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.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 being 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.

비록 제1, 제2 등이 다양한 구성 요소들을 서술하기 위해서 사용되나, 이들 구성 요소들은 이들 용어에 의해 제한되지 않음은 물론이다. 이들 용어들은 단지 하나의 구성 요소를 다른 구성 요소와 구별하기 위하여 사용하는 것이다. 따라서, 이하에서 언급되는 제1 구성 요소는 본 발명의 기술적 사상 내에서 제2 구성 요소 일 수도 있음은 물론이다.Although the first, second, etc. are used to describe various components, it goes without saying that these components are not limited by these terms. These terms are used only to distinguish one component from another. Therefore, it goes without saying that the first component mentioned below may be the second component within the technical scope of the present invention.

다른 정의가 없다면, 본 명세서에서 사용되는 모든 용어(기술 및 과학적 용어를 포함)는 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 공통적으로 이해될 수 있는 의미로 사용될 수 있을 것이다. 또 일반적으로 사용되는 사전에 정의되어 있는 용어들은 명백하게 특별히 정의되어 있지 않는 한 이상적으로 또는 과도하게 해석되지 않는다.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.

이하에서, 도 2 내지 도 14를 참조하여 본 발명의 몇몇 실시예에 따른 통신 연결 판단 장치를 설명하도록 한다.Hereinafter, a communication connection determination apparatus according to some embodiments of the present invention will be described with reference to FIG. 2 to FIG.

도 2는 본 발명의 몇몇 실시예에 따른 통신 연결 판단 방법을 설명하기 위한 도면이다.2 is a diagram for explaining a communication connection determination method according to some embodiments of the present invention.

도 2를 참조하면, 본 발명의 일 실시예에 따른 통신 연결 판단 시스템은 마스터 통신 모듈(100) 및 슬레이브 통신 모듈(200)을 포함할 수 있다.Referring to FIG. 2, the communication connection determination system according to an embodiment of the present invention may include a master communication module 100 and a slave communication module 200.

마스터 통신 모듈(100)은 RS-485 기반의 모드버스 RTU 통신 프로토콜을 이용한 시리얼 통신을 수행하는 모듈, 장치 또는 프로그램을 포함한다.The master communication module 100 includes a module, an apparatus, or a program for performing serial communication using an RS-485 based Modbus RTU communication protocol.

마스터 통신 모듈(100)은 복수의 전력 기기의 설정값을 설정 또는 변경하거나, 복수의 전력 기기를 모니터링하는 전자 장치를 포함할 수 있다. The master communication module 100 may include an electronic device for setting or changing a set value of a plurality of power devices or monitoring a plurality of power devices.

예를 들어, 마스터 통신 모듈(100)은 HMI(Human machine interface), 컴퓨터, UMPC(Ultra Mobile PC), 워크스테이션, 넷북(net-book), PDA(Personal Digital Assistants), 포터블(portable) 컴퓨터, 웹 타블렛(web tablet), 무선 전화기(wireless phone), 모바일 폰(mobile phone), 스마트폰(smart phone), e-북(e-book), PMP(portable multimedia player), 휴대용 게임기, 네비게이션(navigation) 장치, 블랙 박스(black box) 또는 디지털 카메라(digital camera) 같은 전자 장치의 다양한 구성 요소들 중 하나로 제공될 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.For example, the master communication module 100 may be a personal computer, such as a human machine interface (HMI), a computer, an Ultra Mobile PC (UMPC), a workstation, a netbook, a personal digital assistant (PDA) Such as a web tablet, a wireless phone, a mobile phone, a smart phone, an e-book, a portable multimedia player (PMP), a portable game machine, ) Device, a black box, or a digital camera, for example. However, the present invention is not limited thereto.

마스터 통신 모듈(100)은 시리얼 통신망을 이용하여 복수의 슬레이브 통신 모듈(200, 200_1, 200_n)과 데이터를 주고 받을 수 있다. 이때, 마스터 통신 모듈(100)과 슬레이브 통신 모듈(200)간 주고 받는 통신 프레임(Frame)의 전송 단위는 비트(Bit) 단위로 전송될 수 있다.The master communication module 100 can exchange data with a plurality of slave communication modules 200, 200_1 and 200_n using a serial communication network. At this time, the transmission unit of a communication frame exchanged between the master communication module 100 and the slave communication module 200 can be transmitted in units of bits.

마스터 통신 모듈(100)은 시리얼 통신망을 이용해 슬레이브 통신 모듈(200)에 데이터 요청 신호를 송신할 수 있다. 이때, 데이터 요청 신호를 수신한 슬레이브 통신 모듈(200)은 데이터 요청 신호 중 통신 주소를 추출하여, 해당 통신 주소에 해당하는 슬레이브 통신 모듈(200)만 마스터 통신 모듈(100)에 응답 신호를 송신할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The master communication module 100 can transmit a data request signal to the slave communication module 200 using the serial communication network. At this time, the slave communication module 200 receiving the data request signal extracts the communication address of the data request signal, and transmits only the slave communication module 200 corresponding to the communication address to the master communication module 100 . However, the present invention is not limited thereto.

슬레이브 통신 모듈(200)은 RS-485 기반의 모드버스 RTU 통신 프로토콜을 이용한 시리얼 통신을 수행하는 모듈, 장치 또는 프로그램을 포함한다.The slave communication module 200 includes a module, an apparatus, or a program for performing serial communication using an RS-485 based Modbus RTU communication protocol.

슬레이브 통신 모듈(200)은 전력 기기를 제어 또는 모니터링하는 전자 장치를 포함할 수 있다. 예를 들어, 슬레이브 통신 모듈(200)은 전자식 모터 보호 계전기(EMPR, Electronic motor protection relay), ACB(Air circuit breaker), MCCB(Molded case circuit breaker) 또는 MCB(Miniature Circuit Breaker)를 포함할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The slave communication module 200 may include an electronic device for controlling or monitoring the power device. For example, the slave communication module 200 may include an electronic motor protection relay (EMPR), an air circuit breaker (ACB), a molded case circuit breaker (MCCB), or a miniature circuit breaker (MCB) . However, the present invention is not limited thereto.

도 3은 도 2에 포함된 마스터 통신 모듈의 세부적인 구성을 도시한 도면이다.FIG. 3 is a diagram illustrating a detailed configuration of the master communication module included in FIG. 2. FIG.

도 3을 참조하면, 본 발명의 일 실시예에 따른 마스터 통신 모듈(100)은 통신부(110), 메모리부(130), 디스플레이부(150), 제어부(170), 인터페이스부(190), 통신 연결 판단부(171), 데이터 요청 신호 생성부(173), 정상 응답 여부 판단부(175), 및 통신 연결 결과 비교부(177)를 포함할 수 있다. 도 3에 도시된 마스터 통신 모듈(100)의 구성요소들이 필수적인 것은 아니어서, 그보다 많은 구성요소들을 갖거나 그보다 적은 구성요소들을 갖는 마스터 통신 모듈(100)이 구현될 수 있다.3, a master communication module 100 according to an exemplary embodiment of the present invention includes a communication unit 110, a memory unit 130, a display unit 150, a controller 170, an interface unit 190, A connection determination unit 171, a data request signal generation unit 173, a normal response determination unit 175, and a communication connection result comparison unit 177. The components of the master communication module 100 shown in FIG. 3 are not essential, so that a master communication module 100 having more or fewer components can be implemented.

통신부(110)는 본 발명의 일 실시예에 따른 통신 연결 판단 방법을 수행하기 위하여 슬레이브 통신 모듈(200)과 데이터를 주고 받는 전자 장치, 모듈 또는 프로그램을 포함할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The communication unit 110 may include an electronic device, a module, or a program for exchanging data with the slave communication module 200 to perform a communication connection determination method according to an embodiment of the present invention. However, the present invention is not limited thereto.

예를 들어, 통신부(110)는 모드버스 RTU 프로토콜의 시리얼 통신망을 이용하여, 미리 결정된 통신 주소에 해당하는 적어도 하나의 슬레이브 통신 모듈에 통신 주소를 포함하는 데이터 요청 신호를 송신하고, 슬레이브 통신 모듈로부터 상데이터 요청 신호에 대응하는 응답 신호를 수신할 수 있다.For example, the communication unit 110 transmits a data request signal including a communication address to at least one slave communication module corresponding to a predetermined communication address using the serial communication network of the MODBUS RTU protocol, It is possible to receive a response signal corresponding to the phase data request signal.

제어부(170)는 임의의 유형의 종래의 프로세서, 마이크로 프로세서, 또는 명령어들을 해석하고 실행하는 프로세싱 로직을 포함할 수 있다. 제어부(170)는 고속 인터페이스에 결합된 디스플레이와 같은 외부의 입력/출력 디바이스상에 그래픽 사용자 인터페이스(GUI)를 위한 그래픽정보를 디스플레이하기 위해 메모리부(130) 내에 저장된 명령어들을 실행할 수 있다.The controller 170 may include any type of conventional processor, microprocessor, or processing logic for interpreting and executing instructions. The control unit 170 may execute instructions stored in the memory unit 130 to display graphical information for a graphical user interface (GUI) on an external input / output device such as a display coupled to a high speed interface.

본 발명의 다른 실시예에서, 다수의 제어부(170)는 다수의 메모리부(130)와 함께 사용될 수 있다. 일부 실시예들에서, 제어부(170)는 컴퓨터 실행 가능 명령어들을 실행함으로써 또는 프로그래밍 됨으로써 특수 목적 마이크로 프로세서로 변형될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터로 판독 가능한 기록 매체에 저장될 수 있다. In another embodiment of the present invention, a plurality of controllers 170 may be used in conjunction with a plurality of memory units 130. In some embodiments, the controller 170 may be modified into a special purpose microprocessor by executing computer program instructions or by being programmed. The software may be distributed over a networked computer system and stored or executed in a distributed manner. The software and data may be stored on one or more computer readable recording media.

제어부(170)는 운영 체제(OS) 및 상기 운영 체제 상에서 수행되는 하나 이상의 소프트웨어 어플리케이션을 수행할 수 있다. 또한, 제어부(170)는 소프트웨어의 실행에 응답하여, 데이터를 접근, 저장, 조작, 처리 및 생성할 수도 있다. 이해의 편의를 위하여, 제어부(170)는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 제어부(170)가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. The control unit 170 may execute an operating system (OS) and one or more software applications executed on the operating system. In addition, the control unit 170 may access, store, manipulate, process, and generate data in response to execution of the software. One of ordinary skill in the art will appreciate that the control unit 170 may include a plurality of processing elements and / or a plurality of processing elements, ≪ / RTI > type of processing element.

예를 들어, 제어부(170)는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 콘트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다. 소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 제어부(170)를 구성하거나 독립적으로 또는 결합적으로(collectively) 제어부(170)를 명령할 수 있다. For example, the control unit 170 may include a plurality of processors or one processor and one controller. Other processing configurations are also possible, such as a parallel processor. The software may comprise a computer program, code, instructions, or a combination of one or more of the foregoing, and may be configured to configure the controller 170 to operate as desired, ) Control unit 170 in response to the command.

소프트웨어 및/또는 데이터는, 제어부(170)에 의하여 해석되거나 제어부(170)에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 가상 장치(virtual equipment), 컴퓨터 저장매체 또는 장치, 또는 전송되는 신호 파(signal wave)에 영구적으로, 또는 일시적으로 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터로 판독 가능한 기록 매체에 저장될 수 있다.The software and / or data may be in the form of any type of machine, component, physical device, virtual equipment, computer, Or may be embodied permanently, or temporarily, in a storage medium or device, or in a signal wave being transmitted. The software may be distributed over a networked computer system and stored or executed in a distributed manner. The software and data may be stored on one or more computer readable recording media.

실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 실시예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.The method according to an embodiment may be implemented in the form of a program command that can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions to be recorded on the medium may be those specially designed and configured for the embodiments or may be available to those skilled in the art of computer software. Examples of program instructions include machine language code such as those produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the embodiments, and vice versa.

메모리부(130)는 RAM(Random Access Memory)과 같이 제어부(170)에 의한 실행을 위한 동적 정보 및 명령어들을 저장하는 동적 저장 디바이스를 포함할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The memory unit 130 may include a dynamic storage device for storing dynamic information and instructions for execution by the control unit 170, such as a random access memory (RAM). However, the present invention is not limited thereto.

또한, 메모리부(130)는 ROM(Read Only Memory)과 같이 제어부(170)에 의한 사용을 위한 정적 정보 및 명령어들을 저장하는 정적 저장 디바이스를 포함할 수 있다. 메모리부(130)는 휘발성 메모리 유닛 또는 비휘발성 메모리 유닛일 수 있다. 메모리부(130)는 또한 자기 또는 광디스크와 같은 컴퓨터 판독가능 매체의 또 다른 유형일 수 있다.In addition, the memory unit 130 may include a static storage device for storing static information and instructions for use by the control unit 170, such as a ROM (Read Only Memory). The memory unit 130 may be a volatile memory unit or a non-volatile memory unit. The memory portion 130 may also be another type of computer readable medium, such as a magnetic or optical disk.

메모리부(130)는 제어부(170)에 의한 통신 연결 판단 방법 실행 시 제어부(170)가 동작들을 수행하도록 하는 명령들을 포함하는 하나 이상의 프로그램을 저장하는 컴퓨터로 판독 가능한 기록 매체를 포함할 수 있다. 이때, 메모리부(130)는 모드버스 RTU 통신 프로토콜의 통신 프로토콜 맵(Map)을 포함할 수 있다.The memory unit 130 may include a computer-readable recording medium storing one or more programs including instructions for causing the control unit 170 to perform operations when executing the communication connection determination method by the control unit 170. [ At this time, the memory unit 130 may include a communication protocol map (Map) of the Modbus RTU communication protocol.

마스터 통신 모듈(100) 또는 슬레이브 통신 모듈(200)은 통신 프로토콜 맵을 기초로 생성한 통신 프레임(Frame)을 송신할 수 있다. 이때, 통신 프레임은 데이터 요청 신호 또는 응답 신호의 프레임을 포함할 수 있다. 예를 들어, 데이터 요청 신호는 통신 주소, 함수 코드, 요청 데이터의 시작 주소 또는 요청 데이터의 개수를 포함할 수 있다. 또한, 응답 신호는 통신 주소, 함수 코드, 응답 데이터의 바이트 카운트 또는 응답 데이터 값을 포함할 수 있다.The master communication module 100 or the slave communication module 200 can transmit a communication frame generated based on the communication protocol map. At this time, the communication frame may include a frame of a data request signal or a response signal. For example, the data request signal may include a communication address, a function code, a start address of request data, or a number of request data. The response signal may also include a communication address, a function code, a byte count of the response data, or a response data value.

예를 들어, 통신 프로토콜 맵은 전력 기기의 설정값, 전력 기기의 계측값, 사고 이력 또는 전력 기기의 모델 정보를 포함할 수 있다.For example, the communication protocol map may include a set value of the power device, a measured value of the power device, an accident history, or model information of the power device.

디스플레이부(150)는 액정 디스플레이(Liquid Crystal Display, LCD), 박막 트랜지스터 액정 디스플레이(Thin Film Transistor-Liquid Crystal Display, TFT- LCD), 유기 발광 다이오드(Organic Light Emitting Diode, OLED), 플렉시블 디스플레이(flexible display), 3차원 디스플레이(3D display), 및 전자잉크 디스플레이(e-ink display) 중 적어도 하나를 포함할 수 있다.The display unit 150 may be a liquid crystal display (LCD), a thin film transistor liquid crystal display (TFT-LCD), an organic light emitting diode (OLED), a flexible display display, a 3D display, and an e-ink display.

디스플레이부(150)는 스크린에 사용자가 손가락이나 펜 등으로 화면을 누르거나 접촉하는 입력을 하면, 그 입력된 위치를 인지하여 시스템에 전달하는 터치 스크린 패널을 포함할 수 있다. 상기 입력을 감지하는 방식은 저항막, 정전용량, 적외선 또는 광학식 방식을 포함할 수 있다.The display unit 150 may include a touch screen panel that recognizes the input position and transmits the input to the system when the user touches the screen or touches the screen with a finger or a pen. The method of detecting the input may include a resistive film, a capacitance, an infrared ray or an optical type.

디스플레이부(150)는 터치를 감지하는 터치 패드를 포함할 수 있다. 디스플레이부(150) 또는 터치 패드는 터치 스크롤(scroll)를 감지하도록 구성될 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The display unit 150 may include a touch pad for sensing a touch. The display unit 150 or the touch pad may be configured to detect touch scrolling. However, the present invention is not limited thereto.

디스플레이부(150)는 통신 연결 결과 비교부(177)에서 비교한 결과에 따라 서로 다른 통신 연결 결과 메시지를 표시할 수 있다.The display unit 150 may display different communication connection result messages according to the result of the comparison by the communication connection result comparison unit 177. [

디스플레이부(150)는 마스터 통신 모듈(100) 및 적어도 하나의 슬레이브 통신 모듈(200) 사이의 통신 연결이 비정상 연결된 것으로 판단되면, 연결 수량 오류 메시지를 포함하는 통신 연결 결과 메시지를 표시할 수 있다.The display unit 150 may display a communication connection result message including a connection amount error message if it is determined that the communication connection between the master communication module 100 and the at least one slave communication module 200 is abnormally connected.

인터페이스부(190)는 사용자로부터 입력 신호를 수신하는 모듈 또는 전자 장치를 포함할 수 있다. 예를 들어, 인터페이스부(190)는 터치 패드, 마우스, 키보드, 카메라 또는 스피커를 포함할 수 있다. 이때, 사용자는 터치 패드, 마우스 또는 키보드를 통해 터치 또는 클릭하거나, 카메라 또는 스피커를 이용하여 제스처 또는 음성을 입력할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The interface unit 190 may include a module or an electronic device for receiving an input signal from a user. For example, the interface unit 190 may include a touch pad, a mouse, a keyboard, a camera, or a speaker. At this time, the user can touch or click through a touch pad, a mouse or a keyboard, or input a gesture or voice using a camera or a speaker. However, the present invention is not limited thereto.

인터페이스부(190)는 사용자로부터 숫자 또는 문자를 입력 받거나, 디스플레이부(150)에 표시된 버튼을 입력 받을 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The interface unit 190 may receive a number or letter from a user or input a button displayed on the display unit 150. However, the present invention is not limited thereto.

제어부(170)는 디스플레이부(150)에 표시된 연결 수량 오류 메시지를 기초로 사용자로부터 입력 받은 통신 연결 해제 명령에 따라 마스터 통신 모듈(100) 및 적어도 하나의 슬레이브 통신 모듈(200) 사이의 통신 연결을 해제할 수 있다.The control unit 170 controls the communication connection between the master communication module 100 and the at least one slave communication module 200 according to the communication connection release command received from the user based on the connection quantity error message displayed on the display unit 150 Can be released.

예를 들어, 제어부(170)는 연결 수량 오류 메시지를 기초로 사용자로부터 입력 받은 재시도 명령에 따라, 통신부(110)를 통해 마스터 통신 모듈(100)과 적어도 하나의 슬레이브 통신 모듈(200) 사이의 통신 연결을 재시도할 수 있다.For example, the control unit 170 may control the communication between the master communication module 100 and the at least one slave communication module 200 through the communication unit 110 according to the retry command received from the user based on the connection quantity error message. The communication connection can be retried.

사용자는 디스플레이부(150) 또는 터치 패드를 스크롤 함으로써 디스플레이부(150)에 표시된 개체, 예를 들어, 리스트에 위치한 커서 또는 포인터를 이동시킬 수 있다. 나아가, 손가락을 디스플레이부(150) 또는 터치 패드 상에서 이동시키는 경우, 손가락이 움직이는 경로가 디스플레이부(150)에 시각적으로 표시될 수도 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The user can move a cursor or a pointer located in the object displayed on the display unit 150, for example, the list by scrolling the display unit 150 or the touch pad. Further, when the finger is moved on the display unit 150 or the touch pad, the path along which the finger moves may be visually displayed on the display unit 150. [ However, the present invention is not limited thereto.

제어부(170)는 통신 연결 판단부(171), 데이터 요청 신호 생성부(173), 정상 응답 여부 판단부(175), 및 통신 연결 결과 비교부(177)를 포함할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The control unit 170 may include a communication connection determination unit 171, a data request signal generation unit 173, a normal response determination unit 175, and a communication connection result comparison unit 177. However, the present invention is not limited thereto.

데이터 요청 신호 생성부(173)는 메모리부(130)에 저장된 통신 프로토콜 맵을 기초로 통신을 연결하고자 하는 슬레이브 통신 모듈(200)의 통신 주소, 함수 코드(예를 들어, 전력 기기의 모델 정보가 저장되어 있는 함수 코드), 데이터 시작 주소(예를 들어, 전력 기기의 모델 정보가 저장되어 있는 시작 주소) 또는 요청 데이터 개수(예를 들어, 전력 기기의 모델 정보 비트 개수)를 포함하는 데이터 요청 신호를 생성할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The data request signal generating unit 173 generates a data request signal based on the communication address and the function code of the slave communication module 200 to which the communication is to be connected based on the communication protocol map stored in the memory unit 130 (E.g., a stored function code), a data start address (e.g., a start address where the model information of the power device is stored), or a request data number (e.g., the number of model information bits of the power device) Lt; / RTI > However, the present invention is not limited thereto.

정상 응답 여부 판단부(175)는 슬레이브 통신 모듈(200)로부터 수신한 응답 신호를 기초로 응답 신호의 정상 응답 여부를 판단할 수 있다. 예를 들어, 마스터 통신 모듈(100)에서 응답 신호의 바이트(Byte) 길이를 지정하여 미리 지정한 바이트 길이를 초과하는 경우 비정상 응답으로 판단할 수 있다.The normal response determination unit 175 can determine whether the response signal is normally responded based on the response signal received from the slave communication module 200. For example, if the master communication module 100 designates the byte length of the response signal and exceeds the predetermined byte length, it can be determined that the response is an abnormal response.

예를 들어, 마스터 통신 모듈(100)에서 데이터 요청 신호에 대응되는 응답 신호를 수신하는 경우 정상 응답으로 판단할 수 있다. 즉, 응답 신호의 형태가 데이터 요청 신호에서 요청한 응답 신호의 형태와 일치하는 경우 정상 응답으로 판단할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.For example, when the master communication module 100 receives a response signal corresponding to the data request signal, it can determine that the response is a normal response. That is, if the type of the response signal matches the type of the response signal requested in the data request signal, it can be determined as a normal response. However, the present invention is not limited thereto.

통신 연결 판단부(171)는 마스터 통신 모듈(100) 및 슬레이브 통신 모듈(200) 사이의 통신 정상 연결 여부를 판단할 수 있다. 예를 들어, 마스터 통신 모듈(100)에서 슬레이브 통신 모듈(200)로부터 수신한 응답 신호가 정상 응답인 경우, 마스터 통신 모듈(100)과 슬레이브 통신 모듈(200) 사이의 통신이 정상 연결 되었다고 판단할 수 있다.The communication connection determination unit 171 can determine whether communication between the master communication module 100 and the slave communication module 200 is normally established. For example, when the response signal received from the slave communication module 200 in the master communication module 100 is a normal response, it is determined that communication between the master communication module 100 and the slave communication module 200 is normally established .

통신 연결 판단부(171)는 마스터 통신 모듈(100)에서 슬레이브 통신 모듈(200)로부터 수신한 응답 신호가 2회 연속 정상 응답인 경우, 마스터 통신 모듈(100)과 슬레이브 통신 모듈(200) 사이의 통신이 정상 연결 되었다고 판단할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The communication connection determination unit 171 determines whether the response signal received from the slave communication module 200 in the master communication module 100 is a normal response twice, It can be determined that the communication is normally connected. However, the present invention is not limited thereto.

통신 연결 판단부(171)는 데이터 요청 신호 및 응답 신호를 기초로 마스터 통신 모듈(100) 및 슬레이브 통신 모듈(200) 사이의 통신 연결 여부를 판단할 수 있다. The communication connection determination unit 171 can determine whether communication is established between the master communication module 100 and the slave communication module 200 based on the data request signal and the response signal.

예를 들어, 통신 연결 판단부(171)는 마스터 통신 모듈(100)과 통신이 연결된 슬레이브 통신 모듈(200)의 수량(즉, 제1 수량)과 사용자로부터 입력 받은 통신 연결 대상 수량(즉, 제2 수량)의 크기가 동일한 경우, 마스터 통신 모듈(100) 및 적어도 하나의 슬레이브 통신 모듈(200) 사이의 통신 연결이 정상 연결된 것으로 판단할 수 있다. 예를 들어, 통신 연결 판단부(171)는 제1 수량의 크기가 제2 수량의 크기보다 크거나 작은 경우, 마스터 통신 모듈(100) 및 적어도 하나의 슬레이브 통신 모듈(200) 사이의 통신 연결이 비정상 연결된 것으로 판단할 수 있다.For example, the communication connection determination unit 171 determines the number of slave communication modules 200 connected to the master communication module 100 based on the quantity of the slave communication module 200 (i.e., the first quantity) The master communication module 100 and the at least one slave communication module 200 can be determined to be normally connected to each other. For example, the communication connection determination unit 171 may determine that the communication connection between the master communication module 100 and the at least one slave communication module 200 is established when the size of the first quantity is larger or smaller than the size of the second quantity It can be judged that it is abnormally connected.

통신 연결 결과 비교부(177)는 통신 연결 판단부(171)의 판단 결과를 기초로 마스터 통신 모듈(100)과 통신이 연결된 슬레이브 통신 모듈(200)의 수량과 사용자로부터 입력 받은 통신 연결 대상 수량의 크기를 비교할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The communication connection result comparison unit 177 compares the quantity of the slave communication module 200 connected to the master communication module 100 and the quantity of the communication connection target quantity received from the user based on the determination result of the communication connection determination unit 171 You can compare sizes. However, the present invention is not limited thereto.

도 4는 도 2에 포함된 슬레이브 통신 모듈의 세부적인 구성을 도시한 도면이다.FIG. 4 is a diagram illustrating a detailed configuration of a slave communication module included in FIG. 2. FIG.

도 4를 참조하면, 본 발명의 일 실시예에 따른 슬레이브 통신 모듈(200)은 통신부(210), 메모리부(230), 제어부(250), 및 응답 신호 생성부(270)를 포함한다. 도 4에 도시된 슬레이브 통신 모듈(200)의 구성요소들이 필수적인 것은 아니어서, 그보다 많은 구성요소들을 갖거나 그보다 적은 구성요소들을 갖는 슬레이브 통신 모듈(200)이 구현될 수 있다.4, the slave communication module 200 according to an exemplary embodiment of the present invention includes a communication unit 210, a memory unit 230, a controller 250, and a response signal generator 270. The components of the slave communication module 200 shown in FIG. 4 are not essential, so that the slave communication module 200 having more or fewer components can be implemented.

통신부(210)는 본 발명의 일 실시예에 따른 통신 연결 판단 방법을 수행하기 위하여 마스터 통신 모듈(100)과 데이터를 주고 받는 전자 장치, 모듈 또는 프로그램을 포함할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The communication unit 210 may include an electronic device, a module, or a program for exchanging data with the master communication module 100 to perform a communication connection determination method according to an embodiment of the present invention. However, the present invention is not limited thereto.

메모리부(230)는 RAM(Random Access Memory)과 같이 제어부(250)에 의한 실행을 위한 동적 정보 및 명령어들을 저장하는 동적 저장 디바이스를 포함할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The memory unit 230 may include a dynamic storage device for storing dynamic information and instructions for execution by the control unit 250, such as a RAM (Random Access Memory). However, the present invention is not limited thereto.

또한, 메모리부(230)는 ROM(Read Only Memory)과 같이 제어부(250)에 의한 사용을 위한 정적 정보 및 명령어들을 저장하는 정적 저장 디바이스를 포함할 수 있다. 메모리부(230)는 휘발성 메모리 유닛 또는 비휘발성 메모리 유닛일 수 있다. 메모리부(230)는 또한 자기 또는 광디스크와 같은 컴퓨터 판독가능 매체의 또 다른 유형일 수 있다. 이때, 메모리부(230)는 모드버스 RTU 통신 프로토콜의 통신 프로토콜 맵(Map)을 포함할 수 있다.In addition, the memory unit 230 may include a static storage device for storing static information and instructions for use by the control unit 250, such as a ROM (Read Only Memory). The memory unit 230 may be a volatile memory unit or a non-volatile memory unit. The memory portion 230 may also be another type of computer readable medium, such as a magnetic or optical disk. At this time, the memory unit 230 may include a communication protocol map (Map) of the Modbus RTU communication protocol.

슬레이브 통신 모듈(200)은 통신 프로토콜 맵을 기초로 생성한 통신 프레임(Frame)을 송신할 수 있다. 이때, 통신 프레임은 데이터 요청 신호 또는 응답 신호의 프레임을 포함할 수 있다. The slave communication module 200 can transmit a communication frame generated based on the communication protocol map. At this time, the communication frame may include a frame of a data request signal or a response signal.

예를 들어, 데이터 요청 신호는 통신 주소, 함수 코드, 요청 데이터의 시작 주소 또는 요청 데이터의 개수를 포함할 수 있다. 또한, 응답 신호는 통신 주소, 함수 코드, 응답 데이터의 바이트 카운트 또는 응답 데이터 값을 포함할 수 있다. For example, the data request signal may include a communication address, a function code, a start address of request data, or a number of request data. The response signal may also include a communication address, a function code, a byte count of the response data, or a response data value.

예를 들어, 통신 프로토콜 맵은 전력 기기의 설정값, 전력 기기의 계측값, 사고 이력 또는 전력 기기의 모델 정보를 포함할 수 있다.For example, the communication protocol map may include a set value of the power device, a measured value of the power device, an accident history, or model information of the power device.

제어부(250)는 임의의 유형의 종래의 프로세서, 마이크로 프로세서, 또는 명령어들을 해석하고 실행하는 프로세싱 로직을 포함할 수 있다. 제어부(250)는 고속 인터페이스에 결합된 디스플레이와 같은 외부의 입력/출력 디바이스상에 그래픽 사용자 인터페이스(GUI)를 위한 그래픽정보를 디스플레이하기 위해 메모리부(230) 내에 저장된 명령어들을 실행할 수 있다.The control unit 250 may include any type of conventional processor, microprocessor, or processing logic for interpreting and executing instructions. The control unit 250 may execute instructions stored in the memory unit 230 to display graphical information for a graphical user interface (GUI) on an external input / output device such as a display coupled to a high speed interface.

본 발명의 다른 실시예에서, 다수의 제어부(250)는 다수의 메모리부(230)와 함께 사용될 수 있다. 일부 실시예들에서, 제어부(250)는 컴퓨터 실행 가능 명령어들을 실행함으로써 또는 프로그래밍 됨으로써 특수 목적 마이크로 프로세서로 변형될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터로 판독 가능한 기록 매체에 저장될 수 있다.In another embodiment of the present invention, a plurality of control units 250 may be used with a plurality of memory units 230. In some embodiments, the control unit 250 may be modified into a special purpose microprocessor by executing computer program instructions or by being programmed. The software may be distributed over a networked computer system and stored or executed in a distributed manner. The software and data may be stored on one or more computer readable recording media.

이해의 편의를 위하여, 제어부(250)는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 제어부(250)가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. 예를 들어, 제어부(250)는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 콘트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다.One of ordinary skill in the art will recognize that the control unit 250 may include a plurality of processing elements and / or a plurality of processing elements, ≪ / RTI > type of processing element. For example, the control unit 250 may include a plurality of processors or one processor and one controller. Other processing configurations are also possible, such as a parallel processor.

본 발명의 다른 실시예에서, 다수의 제어부(250)는 다수의 메모리부(230)와 함께 사용될 수 있다. 일부 실시예들에서, 제어부(250)는 컴퓨터 실행 가능 명령어들을 실행함으로써 또는 프로그래밍 됨으로써 특수 목적 마이크로 프로세서로 변형될 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.In another embodiment of the present invention, a plurality of control units 250 may be used with a plurality of memory units 230. In some embodiments, the control unit 250 may be modified into a special purpose microprocessor by executing computer program instructions or by being programmed. However, the present invention is not limited thereto.

응답 신호 생성부(270)는 마스터 통신 모듈(100)로부터 수신한 데이터 요청 신호에 포함된 통신 주소를 추출하고, 슬레이브 통신 모듈(200)에 대응하는 통신 주소가 추출되는 경우, 데이터 요청 신호에 대응하는 응답 신호를 생성할 수 있다. The response signal generation unit 270 extracts a communication address included in the data request signal received from the master communication module 100, and when a communication address corresponding to the slave communication module 200 is extracted, A response signal can be generated.

예를 들어, 통신 주소 "1"에 해당하는 슬레이브 통신 모듈(200)의 응답 신호 생성부(270)는 데이터 요청 신호에서 추출한 통신 주소가 "1"에 해당하는 경우에만 응답 신호를 생성할 수 있다.For example, the response signal generator 270 of the slave communication module 200 corresponding to the communication address " 1 " can generate a response signal only when the communication address extracted from the data request signal corresponds to " 1 & .

응답 신호 생성부(270)는 메모리부(230)에 저장된 통신 프로토콜 맵을 기초로 슬레이브 통신 모듈(200)의 통신 주소, 함수 코드(예를 들어, 전력 기기의 모델 정보가 저장되어 있는 함수 코드), 바이트 카운트(예를 들어, 응답 신호의 바이트 카운트) 또는 데이터 값(예를 들어, 전력 기기의 모델 정보)을 포함하는 응답 신호를 생성할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The response signal generation unit 270 generates a response signal based on the communication address and the function code of the slave communication module 200 based on the communication protocol map stored in the memory unit 230. For example, , A byte count (e.g., a byte count of the response signal), or a data value (e.g., model information of the power device). However, the present invention is not limited thereto.

도 5는 본 발명의 몇몇 실시예에 따른 통신 연결 판단 방법을 설명하기 위한 순서도이다.5 is a flowchart illustrating a communication connection determination method according to some embodiments of the present invention.

도 5를 참조하면, 마스터 통신 모듈(100)에서 통신 연결 대상 전력 기기의 수량을 사용자로부터 수신할 수 있다(S100). 예를 들어, 사용자는 통신 연결을 원하는 전력 기기의 수량을 마스터 통신 모듈(100)에 입력할 수 있다.Referring to FIG. 5, the master communication module 100 can receive from the user the quantity of electric power devices to which communication is to be connected (S100). For example, the user may input the number of power devices for which communication is desired to be connected to the master communication module 100.

이어서, 마스터 통신 모듈(100)은 적어도 하나의 슬레이브 통신 모듈(200)과 통신 연결 시도를 진행한다(S110). 예를 들어, 마스터 통신 모듈(100)은 데이터 요청 신호에 응답하는 슬레이브 통신 모듈(200)과 통신 연결을 시도할 수 있다.Then, the master communication module 100 proceeds to a communication connection attempt with at least one slave communication module 200 (S110). For example, the master communication module 100 may attempt to establish a communication connection with the slave communication module 200 responding to the data request signal.

이어서, 마스터 통신 모듈(100)에서 통신 연결 결과를 비교한다(S120). 예를 들어, 마스터 통신 모듈(100)은 통신 연결 시도 결과 통신이 연결된 슬레이브 통신 모듈(200)의 수량과 최초 사용자로부터 입력 받은 통신 연결 대상 전력 기기의 수량을 비교할 수 있다.Subsequently, the master communication module 100 compares the communication connection result (S120). For example, the master communication module 100 may compare the quantity of the slave communication module 200 to which the communication connection result is communicated as a result of the communication connection attempt, with the quantity of the power communication device to which the communication connection is made.

이어서, 마스터 통신 모듈(100)에서 통신 연결 결과를 표시한다(S130). 예를 들어, 마스터 통신 모듈(100)은 통신 연결 결과에 따라 서로 다른 결과 메시지를 표시할 수 있다. 이때, 통신 연결 결과는 통신 정상 연결과 통신 비정상 연결로 구분될 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.Then, the master communication module 100 displays the communication connection result (S130). For example, the master communication module 100 may display different result messages depending on the result of the communication connection. At this time, the result of the communication connection can be divided into the communication normal connection and the communication abnormal connection. However, the present invention is not limited thereto.

도 6은 본 발명의 일 실시예에 따른 통신 연결 판단 방법을 설명하기 위한 순서도이다.6 is a flowchart illustrating a communication connection determination method according to an exemplary embodiment of the present invention.

도 6을 참조하면, 통신 연결 대상 기기의 수량 "N"(여기에서, N 은 자연수)과 통신이 연결된 전력 기기의 수량 "M"(여기에서, M은 자연수)을 비교한다(S200). 예를 들어, 마스터 통신 모듈(100)은 사용자로부터 입력 받은 수량 N과 통신 연결 시도 결과 통신이 연결된 전력 기기의 수량 M의 크기를 비교할 수 있다.Referring to FIG. 6, the number "N" (where N is a natural number) of the communication connection target devices and the quantity "M" (where M is a natural number) of the power devices to which communication is connected are compared (S200). For example, the master communication module 100 can compare the quantity N input from the user with the quantity M of the power devices connected to the communication result of the communication connection attempt.

이어서, 수량의 크기를 비교한 결과 N과 M이 동일한 경우(S210), 마스터 통신 모듈(100)은 통신이 정상 연결되었음을 의미하는 정상 연결 메시지를 포함한 통신 연결 결과를 표시할 수 있다(S213).Then, if N and M are equal to each other (S210), the master communication module 100 may display a communication connection result including a normal connection message indicating that the communication is normally connected (S213).

이어서, 마스터 통신 모듈(100)은 통신이 연결된 전력 기기에 대한 모니터링을 진행할 수 있다(S215). 예를 들어, 사용자가 입력한 수량과 통신이 연결된 전력 기기의 수량이 동일한 경우, 마스터 통신 모듈(100)은 누락되거나 중복된 전력 기기가 없다고 판단할 수 있다.Subsequently, the master communication module 100 can perform monitoring on the power device to which the communication is connected (S215). For example, if the quantity input by the user is equal to the number of power devices to which communication is connected, the master communication module 100 may determine that there are no missing or duplicated power devices.

이어서, 수량의 크기를 비교한 결과 N이 M보다 큰 경우(S220), 마스터 통신 모듈(100)은 연결 수량 오류 메시지를 포함하는 통신 연결 결과를 표시할 수 있다(S240). 또한, 수량의 크기를 비교한 결과 N이 M보다 작은 경우(S230), 마스터 통신 모듈(100)은 연결 수량 오류 메시지를 포함하는 통신 연결 결과를 표시할 수 있다(S240). 예를 들어, 연결 수량 오류 메시지는 오류 해결 방법을 포함할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.If N is greater than M (S220), the master communication module 100 may display a communication connection result including the connection quantity error message (S240). If N is less than M (S230), the master communication module 100 may display the communication connection result including the connection quantity error message (S240). For example, the connection quantity error message may include a method of resolving the error. However, the present invention is not limited thereto.

이어서, 마스터 통신 모듈(100)은 연결 수량 오류 메시지를 기초로 사용자부터 입력 받은 통신 연결 해제 명령에 따라 마스터 통신 모듈(100) 및 적어도 하나의 슬레이브 통신 모듈(200) 사이의 통신 연결을 해제할 수 있다(S243). 또는, 마스터 통신 모듈(100)은 연결 수량 오류 메시지를 기초로 사용자부터 입력 받은 통신 연결 재시도 명령에 따라 마스터 통신 모듈(100) 및 적어도 하나의 슬레이브 통신 모듈(200) 사이의 통신 연결을 재시도할 수 있다(S245). 다만, 본 발명이 이에 한정되는 것은 아니다.Then, the master communication module 100 can release the communication connection between the master communication module 100 and the at least one slave communication module 200 according to the communication connection release command received from the user based on the connection quantity error message (S243). Alternatively, the master communication module 100 may retry the communication connection between the master communication module 100 and the at least one slave communication module 200 in accordance with the communication connection retry command received from the user based on the connection quantity error message (S245). However, the present invention is not limited thereto.

도 7은 본 발명의 다른 실시예에 따른 통신 연결 판단 방법을 설명하기 위한 순서도이다.7 is a flowchart illustrating a communication connection determination method according to another embodiment of the present invention.

도 7을 참조하면, 마스터 통신 모듈(100)에서 데이터 요청 신호를 생성하고(S500), 마스터 통신 모듈(100)에서 슬레이브 통신 모듈(200)에 데이터 요청 신호를 송신한다(S505). 예를 들어, 마스터 통신 모듈(100)에서 미리 결정된 통신 주소를 포함하는 데이터 요청 신호를 생성하고, 모드버스 RTU 프로토콜의 시리얼 통신망을 이용하여 슬레이브 통신 모듈(200)에 데이터 요청 신호를 송신할 수 있다. Referring to FIG. 7, the master communication module 100 generates a data request signal (S500), and the master communication module 100 transmits a data request signal to the slave communication module 200 (S505). For example, the master communication module 100 may generate a data request signal including a predetermined communication address, and may transmit a data request signal to the slave communication module 200 using the serial communication network of the Modbus RTU protocol .

이때, 마스터 통신 모듈(100)은 1 내지 247의 통신 주소에 해당하는 슬레이브 통신 모듈(200) 중에서 통신 연결을 원하는 통신 주소에 해당하는 슬레이브 통신 모듈(200)에 데이터 요청 신호를 송신할 수 있다. At this time, the master communication module 100 can transmit a data request signal to the slave communication module 200 corresponding to the communication address of the slave communication module 200 corresponding to the communication address of 1 to 247.

예를 들어, 마스터 통신 모듈(100)은 통신 주소 1부터 247에 해당하는 슬레이브 통신 모듈(200)에 순차적으로 데이터 요청 신호를 송신할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.For example, the master communication module 100 may sequentially transmit a data request signal to the slave communication module 200 corresponding to the communication addresses 1 to 247. However, the present invention is not limited thereto.

이어서, 슬레이브 통신 모듈(200)에서 응답 신호를 생성하고(S510), 슬레이브 통신 모듈(200)에서 마스터 통신 모듈(100)에 응답 신호를 송신한다(S515). 예를 들어, 슬레이브 통신 모듈(200)에서 데이터 요청 신호를 수신하는 경우, 슬레이브 통신 모듈(200)은 데이터 요청 신호로부터 통신 주소를 추출할 수 있다. Next, the slave communication module 200 generates a response signal (S510), and the slave communication module 200 transmits a response signal to the master communication module 100 (S515). For example, when receiving the data request signal from the slave communication module 200, the slave communication module 200 can extract the communication address from the data request signal.

이때, 슬레이브 통신 모듈(200)은 데이터 요청 신호로부터 추출된 통신 주소와 슬레이브 통신 모듈(200)의 통신 주소가 일치하는 경우에 마스터 통신 모듈(100)에 응답 신호를 송신할 수 있다.At this time, the slave communication module 200 can transmit a response signal to the master communication module 100 when the communication address extracted from the data request signal matches the communication address of the slave communication module 200.

이어서, 마스터 통신 모듈(100)에서 정상 응답 여부를 판단한다(S520). 예를 들어, 마스터 통신 모듈(100)은 수신한 응답 신호를 기초로 슬레이브 통신 모듈(200)의 정상 응답 여부를 판단할 수 있다. Then, the master communication module 100 determines whether a normal response is received (S520). For example, the master communication module 100 can determine whether or not the slave communication module 200 has a normal response based on the received response signal.

예를 들어, 마스터 통신 모듈(100)에서 응답 신호의 바이트(Byte) 길이를 지정하여 미리 지정한 바이트 길이를 초과하는 경우 비정상 응답으로 판단할 수 있다. 예를 들어, 마스터 통신 모듈(100)에서 데이터 요청 신호에 대응되는 응답 신호를 수신하는 경우 정상 응답으로 판단할 수 있다. 즉, 응답 신호의 형태가 데이터 요청 신호에서 요청한 응답 신호의 형태와 일치하는 경우 정상 응답으로 판단할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.For example, if the master communication module 100 designates the byte length of the response signal and exceeds the predetermined byte length, it can be determined that the response is an abnormal response. For example, when the master communication module 100 receives a response signal corresponding to the data request signal, it can determine that the response is a normal response. That is, if the type of the response signal matches the type of the response signal requested in the data request signal, it can be determined as a normal response. However, the present invention is not limited thereto.

이어서, 마스터 통신 모듈(100)에서 슬레이브 통신 모듈(200)에 데이터 요청 신호를 송신한다(S525). 이어서, 슬레이브 통신 모듈(200)에서 응답 신호를 생성하고(S530), 슬레이브 통신 모듈(200)에서 마스터 통신 모듈(100)에 응답 신호를 송신한다(S535). 예를 들어, 마스터 통신 모듈(100)에서 수신한 응답 신호가 정상 응답으로 판단되는 경우, 마스터 통신 모듈(100)은 데이터 요청 신호를 송신하는 단계 및 정상 응답 여부를 판단하는 단계를 재수행할 수 있다.Then, the master communication module 100 transmits a data request signal to the slave communication module 200 (S525). Then, the slave communication module 200 generates a response signal (S530), and the slave communication module 200 transmits a response signal to the master communication module 100 (S535). For example, when the response signal received by the master communication module 100 is determined to be a normal response, the master communication module 100 can re-execute the step of transmitting the data request signal and determining whether the response is a normal response .

이어서, 마스터 통신 모듈(100)에서 통신 연결 여부를 판단한다(S540). 예를 들어, 마스터 통신 모듈(100)은 슬레이브 통신 모듈(200)로부터 2회에 걸쳐 수신한 응답 신호의 정상 응답 여부에 대한 판단값을 기초로 마스터 통신 모듈(100) 및 슬레이브 통신 모듈(200) 사이의 통신 정상 연결 여부를 판단할 수 있다.Then, the master communication module 100 determines whether communication is established (S540). For example, the master communication module 100 determines whether the master communication module 100 and the slave communication module 200 have received the response signal twice from the slave communication module 200, It is possible to determine whether or not the communication is normally established.

예를 들어, 마스터 통신 모듈(100)에서 슬레이브 통신 모듈(200)로부터 수신한 응답 신호가 정상 응답인 경우, 마스터 통신 모듈(100)은 마스터 통신 모듈(100)과 슬레이브 통신 모듈(200) 사이의 통신이 정상 연결 되었다고 판단할 수 있다.For example, when the response signal received from the slave communication module 200 in the master communication module 100 is a normal response, the master communication module 100 determines whether the response signal received from the master communication module 100 and the slave communication module 200 It can be determined that the communication is normally connected.

또한, 마스터 통신 모듈(100)에서 슬레이브 통신 모듈(200)로부터 수신한 응답 신호가 2회 연속 정상 응답인 경우, 마스터 통신 모듈(100)은 마스터 통신 모듈(100)과 슬레이브 통신 모듈(200) 사이의 통신이 정상 연결 되었다고 판단할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.When the response signal received from the slave communication module 200 in the master communication module 100 is a normal response twice in succession, the master communication module 100 performs a normal response between the master communication module 100 and the slave communication module 200 It can be determined that the communication of the mobile station 100 is normally connected. However, the present invention is not limited thereto.

도 8은 본 발명의 또 다른 실시예에 따른 통신 연결 판단 방법을 설명하기 위한 순서도이다.8 is a flowchart illustrating a communication connection determination method according to another embodiment of the present invention.

도 8을 참조하면, 마스터 통신 모듈(100)에서 통신 주소 N번(예를 들어, N은 자연수) 주소의 슬레이브 통신 모듈(200)에 대하여 1차 통신 연결을 시도한다(S600).Referring to FIG. 8, in step S600, the master communication module 100 attempts to establish a primary communication connection with the slave communication module 200 having the communication address N (for example, N is a natural number) address.

예를 들어, 마스터 통신 모듈(100)에서 통신 주소 3번 주소를 포함하는 데이터 요청 신호를 통신 주소 3번 주소의 슬레이브 통신 모듈(200)에 최초 송신하는 경우를 1차 통신 연결 시도라고 할 수 있다. For example, when the master communication module 100 first transmits a data request signal including the communication address 3 to the slave communication module 200 at the communication address 3, it can be referred to as a primary communication connection attempt .

이어서, 마스터 통신 모듈(100)에서 통신 주소 N번 주소의 슬레이브 통신 모듈(200)로부터 수신한 응답 신호의 정상 응답 여부를 판단한다(S610).Then, the master communication module 100 determines whether the response signal received from the slave communication module 200 having the communication address N address is a normal response (S610).

예를 들어, 마스터 통신 모듈(100)은 통신 주소 3번 주소를 포함하는 데이터 요청 신호에 대응하는 통신 주소 3번 주소를 포함하는 응답 신호의 정상 응답 여부를 판단할 수 있다.For example, the master communication module 100 may determine whether the response signal including the communication address 3 corresponding to the data request signal including the communication address 3 is a normal response.

예를 들어, 마스터 통신 모듈(100)에서 수신한 응답 신호의 바이트 길이가 미리 결정된 바이트 길이 내인 경우, 상기 응답 신호는 정상 응답인 것으로 판단할 수 있다. For example, when the byte length of the response signal received by the master communication module 100 is within the predetermined byte length, it can be determined that the response signal is a normal response.

또한, 마스터 통신 모듈(100)에서 복수의 데이터 요청 신호를 송신할 때, 각각의 데이터 요청 신호 송출 시각 사이의 입출력 대기 시간에 슬레이브 통신 모듈(200)에서 응답 신호를 송신하는 경우, 마스터 통신 모듈(100)에서 입출력 대기 시간에 수신한 응답 신호는 비정상 응답인 것으로 판단할 수 있다.When transmitting a plurality of data request signals from the master communication module 100 and transmitting a response signal from the slave communication module 200 in the input / output waiting time between each data request signal transmission time, the master communication module 100, it can be determined that the response signal received in the input / output wait time is an abnormal response.

이어서, 마스터 통신 모듈(100)에서 수신한 응답 신호가 정상 응답인 경우, 통신 주소 N번 주소에 대하여 2차 통신 연결을 시도한다(S615).Then, if the response signal received by the master communication module 100 is a normal response, a secondary communication connection is attempted to the address N of the communication address (S615).

예를 들어, 마스터 통신 모듈(100)은 1차 통신 연결 시도에서 수신한 응답 신호가 정상 응답인 경우, 1차 통신 연결 시도와 동일한 통신 주소에 2차 통신 연결을 시도할 수 있다. 이때, 통신 연결 시도는 1차 통신 연결 시도와 동일한 단계를 수행할 수 있다. For example, when the response signal received in the primary communication connection attempt is a normal response, the master communication module 100 may attempt to establish a secondary communication connection to the same communication address as the primary communication connection attempt. At this time, the communication connection attempt can perform the same steps as the primary communication connection attempt.

예를 들어, 1차 및 2차 통신 연결은 1단계 및 2단계 또는 1회 및 2회 통신 연결을 포함할 수 있다.For example, the primary and secondary communication connections may include one or two or one or two communication connections.

이어서, 마스터 통신 모듈(100)에서 2차 통신 연결 시도 후, 통신 주소 N번 주소의 슬레이브 통신 모듈(200)로부터 수신한 응답 신호의 정상 응답 여부를 판단한다(S620). 이때, 응답 신호의 정상 응답 여부 판단은 1차 통신 연결 시도와 동일할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.Then, in step S620, the master communication module 100 determines whether the response signal received from the slave communication module 200 at the communication address N address is a normal response. At this time, the determination of whether or not the response signal is a normal response may be the same as the first communication connection attempt. However, the present invention is not limited thereto.

이어서, 마스터 통신 모듈(100)에서 2차 통신 연결 시도에 대한 응답 신호가 정상 응답인 경우, 1차 및 2차 통신 연결 시도 각각의 응답 신호가 동일한지 비교한다(S625). 예를 들어, 마스터 통신 모듈(100)은 1차 및 2차 통신 연결 시도 각각의 응답 신호가 정상 응답으로 판단되면, 마스터 통신 모듈(100)과 응답 신호를 송출한 슬레이브 통신 모듈(200) 사이의 통신이 정상 연결된 것으로 판단할 수 있다. 또한, 1차 및 2차 통신 연결 시도 각각의 응답 신호에 포함된 모델 정보가 동일한 경우, 마스터 통신 모듈(100)과 응답 신호를 송출한 슬레이브 통신 모듈(200) 사이의 통신이 정상 연결된 것으로 판단할 수 있다If the response signal to the secondary communication connection attempt in the master communication module 100 is a normal response, it is determined whether the response signals of the primary and secondary communication connection attempts are the same (S625). For example, when the response signals of the first and second communication connection attempts are determined to be normal responses, the master communication module 100 determines whether the master communication module 100 and the slave communication module 200, It can be determined that the communication is normally connected. When the model information included in the response signals of the primary and secondary communication connection attempts is the same, it is determined that the communication between the master communication module 100 and the slave communication module 200 transmitting the response signal is normally connected Can

본 발명의 일 실시예에서, 1차 및 2차 통신 연결 시도에서 각각의 응답 신호가 모두 정상 응답으로 판단되는 경우, 마스터 통신 모듈(100)은 응답 신호를 송출한 통신 주소의 슬레이브 통신 모듈(200)과 마스터 통신 모듈(100) 사이의 통신 연결이 정상 연결된 것으로 판단할 수 있다.In an embodiment of the present invention, when all of the response signals in the primary and secondary communication connection attempts are determined to be a normal response, the master communication module 100 transmits the response signal to the slave communication module 200 ) And the master communication module 100 are normally connected to each other.

이어서, 마스터 통신 모듈(100)에서 1차 및 2차 통신 연결 시도에서 응답 신호가 비정상 응답이거나, 1차 및 2차 통신 연결 시도 각각의 응답 신호가 동일하지 않은 경우에는 통신 연결 실패를 디스플레이부에 표시한다(S630).If the response signal in the primary and secondary communication connection attempts in the master communication module 100 is an abnormal response or the response signals in the primary and secondary communication connection attempts are not the same, (S630).

또한, 마스터 통신 모듈(100)에서 1차 및 2차 통신 연결 시도 각각의 응답 신호가 동일한 경우에는 통신 연결 성공을 디스플레이부에 표시한다(S630).If the response signals of the primary and secondary communication connection attempts are identical in the master communication module 100, the communication connection success is displayed on the display unit (S630).

이어서, 마스터 통신 모듈(100)에서 통신 주소 N번 주소에 대한 통신 연결 시도를 마치고, 통신 주소 N이 247에 해당하는지를 판단한다(S640).Then, in step S640, the master communication module 100 ends the communication connection attempt for the address N of the communication address, and determines whether the communication address N corresponds to 247.

이어서, 마스터 통신 모듈(100)에서 통신 주소 N이 247에 해당하지 않는 경우, 통신 주소 N+1번 주소의 슬레이브 통신 모듈(200)에 통신 연결을 시도한다(S650). 예를 들어, 마스터 통신 모듈(100)은 통신 주소 1번 주소에 대한 통신 연결 시도를 마치고, 통신 주소 2번 주소에 통신 연결을 시도할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.If the communication address N does not correspond to 247 in the master communication module 100, a communication connection is attempted to the slave communication module 200 having the address N + 1 in operation S650. For example, the master communication module 100 may attempt to establish a communication connection to the communication address 2 after completing the communication connection attempt to the communication address 1 address. However, the present invention is not limited thereto.

도 9는 본 발명의 몇몇 실시예에 따른 데이터 요청 신호 및 응답 신호의 일 예를 설명하기 위한 도면이다.9 is a view for explaining an example of a data request signal and a response signal according to some embodiments of the present invention.

도 9를 참조하면, 본 발명의 일 실시예에 따른 데이터 요청 신호(710)는 주소(711), 함수 코드(713), 시작 주소(715), 및 요청 데이터 갯수(717)를 포함할 수 있다. 9, the data request signal 710 according to an embodiment of the present invention may include an address 711, a function code 713, a start address 715, and a request data number 717 .

주소(711)는 모드버스 시리얼 통신의 통신 주소를 포함할 수 있다. 통신 주소는 1 내지 247의 자연수를 갖는 통신 주소를 포함할 수 있다. 예를 들어, 하나의 통신 주소에는 하나의 슬레이브 통신 모듈(200)이 설정될 수 있다. Address 711 may include the communication address of the Modbus serial communication. The communication address may include a communication address having a natural number between 1 and 247. [ For example, one slave communication module 200 can be set to one communication address.

이때, 하나의 통신 주소에 하나의 슬레이브 통신 모듈(200)이 연결되는 경우, 마스터 통신 모듈(100)에서 통신이 정상 연결되었다고 판단할 수 있다. 즉, 하나의 통신 주소에 둘 이상의 슬레이브 통신 모듈(200)이 연결되는 경우, 마스터 통신 모듈(100)은 통신이 비정상 연결되었다고 판단할 수 있다.At this time, when one slave communication module 200 is connected to one communication address, the master communication module 100 can determine that the communication is normally connected. That is, when two or more slave communication modules 200 are connected to one communication address, the master communication module 100 can determine that the communication is abnormally connected.

함수 코드(713)는 통신 프로토콜 맵에 포함된 모드버스 함수 코드를 포함할 수 있다. 예를 들어, 함수 코드(713)는 전력 기기를 ON/OFF 또는 초기화하는 "0x05", 전력 기기의 계측값을 읽는 "0x04", 전력 기기의 설정값을 읽는 "0x03" 또는 전력 기기에 설정값을 입력하는 "0x06"을 포함할 수 있다. The function code 713 may include a modbus function code included in the communication protocol map. For example, the function code 713 may be set to " 0x05 " to turn on / off the power device, " 0x04 " to read the measured value of the power device, " 0x03 &Quot; 0x06 "

시작 주소(715)는 통신 프로토콜 맵에서 요청하는 데이터가 위치하는 주소를 포함할 수 있다. 예를 들어, 데이터 요청 신호(710)에서 전력 기기의 모델 정보를 요청하는 경우, 전력 기기의 모델 정보는 통신 프로토콜 맵에서 주소 "0x53"에 위치할 수 있다. The start address 715 may include an address at which the requested data is located in the communication protocol map. For example, when requesting the model information of the power device in the data request signal 710, the model information of the power device may be located at address " 0x53 " in the communication protocol map.

요청 데이터 갯수(717)는 데이터 요청 신호(710)에서 요청하는 데이터의 개수를 포함할 수 있다. 예를 들어, 전력 기기의 전류, 전압, 및 전압 계측값을 요청하는 경우, 데이터 요청 신호(710)는 3개의 데이터를 요청할 수 있다.The number of requested data 717 may include the number of requested data in the data request signal 710. For example, when requesting current, voltage, and voltage measurements of a power device, the data request signal 710 may request three data.

또한, 데이터 요청 신호(710)는 CRC 에러 체크 값을 포함할 수 있다.The data request signal 710 may also include a CRC error check value.

또한, 응답 신호(730)는 주소(731), 함수 코드(733), 바이트 카운트(735), 및 데이터 값(737)을 포함할 수 있다.The response signal 730 may also include an address 731, a function code 733, a byte count 735, and a data value 737.

주소(731)는 슬레이브 통신 모듈(200)에 설정되어 있는 통신 주소를 포함할 수 있다. 이때, 하나의 슬레이브 통신 모듈(200)에 하나의 통신 주소가 설정될 수 있다.The address 731 may include a communication address set in the slave communication module 200. At this time, one communication address may be set in one slave communication module 200.

함수 코드(733)는 통신 프로토콜 맵에 포함된 모드버스 함수 코드를 포함할 수 있다. 예를 들어, 함수 코드(733)는 전력 기기를 ON/OFF 또는 초기화하는 "0x05", 전력 기기의 계측값을 읽는 "0x04", 전력 기기의 설정값을 읽는 "0x03" 또는 전력 기기에 설정값을 입력하는 "0x06"을 포함할 수 있다. The function code 733 may include a modbus function code included in the communication protocol map. For example, the function code 733 may be set to "0x05" for turning on / off the power device, "0x04" for reading the measured value of the power device, "0x03" for reading the set value of the power device, Quot; 0x06 "

바이트 카운트(735)는 응답 신호(730)의 총 바이트를 포함할 수 있다. 예를 들어, 마스터 통신 모듈(100)은 바이트 카운트의 길이를 이용해 응답 신호(730)의 정상 응답 여부를 판단할 수 있다.The byte count 735 may include the total byte of the response signal 730. For example, the master communication module 100 can determine whether a response of the response signal 730 is normal using the byte count length.

데이터 값(737)은 데이터 요청 신호(710)에서 요청한 데이터 값을 포함할 수 있다. 예를 들어, 데이터 요청 신호(710)에서 전력 기기의 모델 정보를 요청한 경우, 슬레이브 통신 모듈(200)은 데이터 값에 모델 정보가 포함된 응답 신호(730)를 마스터 통신 모듈(100)에 송신할 수 있다. The data value 737 may include the data value requested in the data request signal 710. For example, when requesting the model information of the power device from the data request signal 710, the slave communication module 200 transmits a response signal 730 including the model information to the data value to the master communication module 100 .

또한, 응답 신호(730)는 CRC 에러 체크 값을 포함할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The response signal 730 may also include a CRC error check value. However, the present invention is not limited thereto.

도 10은 본 발명의 몇몇 실시예에 따른 데이터 요청 신호 및 응답 신호의 다른 예를 설명하기 위한 도면이다.10 is a view for explaining another example of a data request signal and a response signal according to some embodiments of the present invention.

도 10을 참조하면, 마스터 통신 모듈(100)에서 통신 주소 "7번"에 해당하는 슬레이브 통신 모듈(200)에 최초 데이터 요청 신호(810)를 송신할 수 있다. 예를 들어, 데이터 요청 신호(810)는 통신 주소 "7번"에 해당하는 슬레이브 통신 모듈(200)에게 함수 코드 "0x03" 중 "0x53" 번째 주소로부터 데이터 "1개"를 요청하는 명령을 포함할 수 있다. Referring to FIG. 10, the master communication module 100 may transmit an initial data request signal 810 to the slave communication module 200 corresponding to the communication address " 7 ". For example, the data request signal 810 includes a command to request the slave communication module 200 corresponding to the communication address " 7 " from the " 0x53 " can do.

또한, 데이터 요청 신호(810)을 수신한 통신 주소 7번에 해당하는 슬레이브 통신 모듈(200)은 응답 신호(830)를 마스터 통신 모듈(100)에 송신할 수 있다. 예를 들어, 응답 신호(830)는 통신 주소 "7번"에 해당하는 슬레이브 통신 모듈(200)에서 함수 코드 "0x03"에 대한 응답으로, 총 2 바이트를 전송하고, 전송되는 값은 "37 06"임을 나타내는 응답을 포함할 수 있다. In addition, the slave communication module 200 corresponding to the communication address 7, which has received the data request signal 810, can transmit the response signal 830 to the master communication module 100. For example, the response signal 830 transmits a total of 2 bytes in response to the function code " 0x03 " in the slave communication module 200 corresponding to the communication address " 7 & &Quot; can be included.

마스터 통신 모듈(100)은 최초 응답 신호(830)가 정상 응답으로 판단되는 경우, 2차 데이터 요청 신호(850)를 송신할 수 있다. 2차 데이터 요청 신호는 최초 데이터 요청 신호(810)와 동일할 수 있다.The master communication module 100 may transmit the secondary data request signal 850 when the initial response signal 830 is determined to be a normal response. The secondary data request signal may be the same as the initial data request signal 810.

마스터 통신 모듈(100)은 1차 응답 신호(830) 및 2차 응답 신호(870) 각각이 모두 정상 응답으로 판단 되는 경우, 마스터 통신 모듈(100)과 통신 주소 7번의 슬레이브 통신 모듈(200) 사이의 통신이 정상 연결된 것으로 판단할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The master communication module 100 determines that the master communication module 100 and the slave communication module 200 at the communication address 7 are in a normal state when both the primary response signal 830 and the secondary response signal 870 are determined to be normal responses. It can be determined that the communication of the mobile station 100 is normally connected. However, the present invention is not limited thereto.

도 11은 본 발명의 몇몇 실시예에 따른 사용자로부터 통신 연결 대상 수량을 입력 받는 방법을 설명하기 위한 도면이다.11 is a view for explaining a method for receiving a communication connection target quantity from a user according to some embodiments of the present invention.

도 11을 참조하면, 사용자는 마스터 통신 모듈(100)의 디스플레이부에 표시된 통신 연결 대상 수량 입력 화면(150_1)에서 통신 연결 대상 전력 기기의 수량을 입력할 수 있다. 예를 들어, 설정값(150_a)은 사용자는 최소값 1 및 최대값 30에 해당하는 수량을 입력할 수 있고, 사용자가 수량을 입력하지 않는 경우 기본값으로 30이 설정될 수 있다.Referring to FIG. 11, the user can input the quantity of power devices to be communicated with on the communication connection target quantity input screen 150_1 displayed on the display unit of the master communication module 100. [ For example, the setting value 150_a allows the user to input a quantity corresponding to the minimum value 1 and the maximum value 30, and when the user does not input the quantity, the default value 30 can be set.

도 12는 본 발명의 몇몇 실시예에 따른 통신 연결 결과의 일 예를 나타내는 도면이다.12 is a diagram showing an example of a communication connection result according to some embodiments of the present invention.

도 12를 참조하면, 마스터 통신 모듈은 디스플레이부에 통신 연결 결과가 표시된 안내 팝업(150_2)을 표시할 수 있다. Referring to FIG. 12, the master communication module may display a guidance popup 150_2 indicating the result of communication connection on the display unit.

예를 들어, 마스터 통신 모듈(100)은 사용자로부터 입력 받은 통신 연결 대상 수량과 통신 연결이 완료된 전력 기기의 수량이 일치하는 경우, 통신 연결 대상 수량에 대한 통신 연결이 정상 연결된 것으로 판단할 수 있다. 이때, 마스터 통신 모듈(100)은 통신이 연결된 전력 기기에 대한 모니터링을 수행할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.For example, the master communication module 100 may determine that the communication connection for the communication connection target quantity is normally connected when the quantity of the communication connection target received from the user matches the quantity of the power device for which the communication connection is completed. At this time, the master communication module 100 can perform monitoring on the power device to which the communication is connected. However, the present invention is not limited thereto.

도 13은 본 발명의 몇몇 실시예에 따른 통신 연결 결과의 다른 예를 나타내는 도면이다.13 is a diagram showing another example of the result of communication connection according to some embodiments of the present invention.

도 13을 참조하면, 마스터 통신 모듈(100)은 디스플레이부에 통신 연결 결과가 표시된 안내 팝업(150_3)을 표시할 수 있다.Referring to FIG. 13, the master communication module 100 may display a guidance popup 150_3 indicating the result of the communication connection on the display unit.

예를 들어, 마스터 통신 모듈(100)은 사용자로부터 입력 받은 통신 연결 대상 수량 보다 통신 연결이 완료된 전력 기기의 수량이 적을 경우, 통신 연결 대상 수량에 대한 통신 연결이 비정상 연결된 것으로 판단할 수 있다. For example, the master communication module 100 may determine that the communication connection to the communication connection target quantity is abnormally connected when the quantity of the electric power devices whose communication connection is completed is smaller than the communication connection target quantity inputted from the user.

이때, 안내 팝업(150_3)에서 사용자가 확인 버튼을 입력 하는 경우, 마스터 통신 모듈(100)은 통신 연결 대상 수량에 대한 통신 연결을 해제할 수 있다. 또는, 안내 팝업(150_3)에서 사용자가 재시도 버튼을 입력 하는 경우, 마스터 통신 모듈(100)은 통신 연결 대상 수량에 대한 통신 연결을 재시도할 수 있다. At this time, when the user inputs an OK button in the guide pop-up 150_3, the master communication module 100 can release the communication connection to the communication connection target quantity. Alternatively, when the user inputs a retry button in the guidance popup 150_3, the master communication module 100 may retry the communication connection for the communication connection target quantity.

예를 들어, 사용자로부터 입력 받은 통신 연결 대상 수량 보다 통신 연결이 완료된 전력 기기의 수량이 적은 오류의 원인으로는 사용자가 대상 전력 기기 수량을 잘못 입력하는 경우, 마스터 통신 모듈의 통신 연결 기능 오동작하는 경우, 전력 기기의 통신 연결 기능 오동작하는 경우, 전력 기기의 통신 주소 중복되는 경우, 통신선에 노이즈 발생하는 경우 또는 통신선에 결선 발생하는 경우를 포함할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.For example, when the user inputs the target power device quantity incorrectly and the communication connection function of the master communication module malfunctions , A malfunction of the communication connection function of the power equipment, a duplication of the communication device's communication address, noise in the communication line, or wiring in the communication line. However, the present invention is not limited thereto.

도 14는 본 발명의 몇몇 실시예에 따른 통신 연결 결과의 또 다른 예를 나타내는 도면이다.14 is a diagram showing another example of the result of communication connection according to some embodiments of the present invention.

도 14를 참조하면, 마스터 통신 모듈(100)은 디스플레이부에 통신 연결 결과가 표시된 안내 팝업(150_4)을 표시할 수 있다.Referring to FIG. 14, the master communication module 100 may display a guidance popup 150_4 indicating the result of the communication connection on the display unit.

예를 들어, 마스터 통신 모듈(100)은 사용자로부터 입력 받은 통신 연결 대상 수량 보다 통신 연결이 완료된 전력 기기의 수량이 많을 경우, 통신 연결 대상 수량에 대한 통신 연결이 비정상 연결된 것으로 판단할 수 있다. For example, the master communication module 100 may determine that the communication connection to the communication connection target quantity is abnormally connected when the quantity of the electric devices whose communication connection is completed is larger than the communication connection target quantity inputted from the user.

이때, 안내 팝업(150_4)에서 사용자가 확인 버튼을 입력 하는 경우, 마스터 통신 모듈(100)은 통신 연결 대상 수량에 대한 통신 연결을 해제할 수 있다. 또한, 안내 팝업(150_4)에서 사용자가 재시도 버튼을 입력 하는 경우, 마스터 통신 모듈(100)은 통신 연결 대상 수량에 대한 통신 연결을 재시도할 수 있다.At this time, when the user inputs an OK button in the guide pop-up 150_4, the master communication module 100 can release the communication connection to the communication connection target quantity. In addition, when the user inputs the retry button in the guide pop-up 150_4, the master communication module 100 may retry the communication connection for the communication connection target quantity.

본 발명의 다른 실시예에서, 마스터 통신 모듈(100)은 통신 연결이 완료된 전력 기기의 수량이 '0'인 경우, 통신 연결이 비정상 연결된 것으로 판단할 수 있다. 이때, 안내 팝업에서 사용자가 확인 버튼을 입력 하는 경우, 마스터 통신 모듈(100)은 통신 연결 대상 수량에 대한 통신 연결을 해제할 수 있다. 또한, 안내 팝업에서 사용자가 재시도 버튼을 입력 하는 경우, 마스터 통신 모듈(100)은 통신 연결 대상 수량에 대한 통신 연결을 재시도할 수 있다.In another embodiment of the present invention, the master communication module 100 may determine that the communication connection is abnormally connected when the number of power devices for which the communication connection is completed is '0'. At this time, when the user inputs an OK button in the guide pop-up, the master communication module 100 can release the communication connection for the communication connection target quantity. Also, when the user inputs the retry button in the guide pop-up, the master communication module 100 can retry the communication connection for the communication connection target quantity.

본 발명의 일 실시예에 따르면, 오류가 발생하는 상황별 안내 문구를 구분하여 사용자가 오류를 확인할 수 있도록 하였으며, 비교 수량이 일치하지 않는 경우 통신 연결을 제한하여, 감시 또는 제어 대상 기기가 누락 되거나 의도치 않게 추가될 확률을 낮추었다.According to an embodiment of the present invention, the user can identify the error by distinguishing the guidance statements according to the situation in which the error occurs. If the comparison quantities do not match, the communication connection is restricted so that the monitoring or control target device is missing Lowering the probability of unintentional additions.

지금까지 설명된 본 발명에 따르면 통신 연결 대상 전력 기기의 수량을 사전에 입력 받아 통신 연결 결과 수량과 비교함으로써, 전력 기기의 누락 및 비정상적인 통신 연결을 방지할 수 있는 장점이 있다.According to the present invention as described above, there is an advantage that omission of the power equipment and abnormal communication connection can be prevented by comparing the quantity of power devices subject to communication connection with the quantity of communication connection result in advance.

또한, 본 발명에 따르면 통신 연결 판단 조건을 강화하여 통신 주소가 중복된 전력 기기의 통신 연결을 제한함으로써, 통신 주소 중복시 발생할 수 있는 전력 기기의 손상 및 오작동 위험을 제거할 수 있다.Also, according to the present invention, it is possible to eliminate the risk of damage or malfunction of the power device, which may occur when the communication address is duplicated, by restricting the communication connection of the power device in which the communication address is duplicated by enhancing the communication connection determination condition.

또한, 본 발명에 따르면 정상 응답 판단 조건을 추가하여 통신 연결 오류를 방지함으로써, 산업 현장에서 업무의 효율을 향상시킬 수 있는 장점이 있다.In addition, according to the present invention, it is possible to improve the efficiency of work in an industrial field by preventing a communication connection error by adding a normal response judgment condition.

또한, 본 발명에 따르면 통신 주소를 사용자가 직접 입력하지 않아도 자동으로 전력 기기의 통신을 연결함으로써, 사용자의 시간과 비용을 절감할 수 있는 장점이 있다.In addition, according to the present invention, there is an advantage that the time and cost of the user can be reduced by automatically connecting the communication of the power device without directly inputting the communication address by the user.

이상 첨부된 도면을 참조하여 본 발명의 실시예를 설명하였지만, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다.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, You will understand. It is therefore to be understood that the above-described embodiments are illustrative in all aspects and not restrictive.

100: 마스터 통신 모듈
200: 슬레이브 통신 모듈
100: Master communication module
200: Slave communication module

Claims (9)

복수의 슬레이브 통신 모듈과 시리얼 통신망으로 연결된 마스터 통신 모듈을 포함하는 통신 연결 판단 장치에 있어서,
상기 시리얼 통신망을 이용하여, 미리 결정된 통신 주소에 해당하는 적어도 하나의 슬레이브 통신 모듈에 상기 통신 주소를 포함하는 데이터 요청 신호를 송신하고, 상기 슬레이브 통신 모듈로부터 상기 데이터 요청 신호에 대응하는 응답 신호를 수신하는 통신부;
상기 데이터 요청 신호 및 상기 응답 신호를 기초로 상기 마스터 통신 모듈 및 상기 슬레이브 통신 모듈 사이의 통신 연결 여부를 판단하는 통신 연결 판단부;
사용자로부터 상기 마스터 통신 모듈과 연결되는 상기 적어도 하나의 슬레이브 통신 모듈의 총개수를 나타내는 제1 수량을 입력 받는 인터페이스부;
상기 통신 연결 판단부의 판단 결과를 기초로 상기 마스터 통신 모듈과 통신 연결된 상기 적어도 하나의 슬레이브 통신 모듈의 총개수를 나타내는 제2 수량과 입력 받은 상기 제1 수량의 크기를 비교하는 통신 연결 결과 비교부; 및
상기 통신 연결 결과 비교부에서 비교한 결과에 따라 정상 통신 연결 여부를 나타내는 통신 연결 결과 메시지를 표시하는 디스플레이부를 포함하는
통신 연결 판단 장치.
A communication connection determination device including a plurality of slave communication modules and a master communication module connected to each other via a serial communication network,
Transmitting a data request signal including the communication address to at least one slave communication module corresponding to a predetermined communication address using the serial communication network and receiving a response signal corresponding to the data request signal from the slave communication module ;
A communication connection determination unit for determining whether communication is established between the master communication module and the slave communication module based on the data request signal and the response signal;
An interface unit receiving a first quantity indicating a total number of the at least one slave communication module connected to the master communication module from a user;
A communication connection result comparison unit for comparing a second quantity indicating the total number of the at least one slave communication modules communicatively connected to the master communication module based on the determination result of the communication connection determination unit and the size of the first quantity received; And
And a display unit for displaying a communication connection result message indicating whether a normal communication connection is established according to a result of the comparison by the communication connection result comparison unit
Communication connection determination device.
제1항에 있어서,
상기 통신 연결 판단부는,
상기 제1 수량과 상기 제2 수량의 크기가 동일한 경우, 상기 마스터 통신 모듈 및 상기 적어도 하나의 슬레이브 통신 모듈 사이의 통신 연결이 정상 연결된 것으로 판단하는 것을 더 포함하는
통신 연결 판단 장치.
The method according to claim 1,
The communication connection determination unit may determine,
Further comprising determining that a communication connection between the master communication module and the at least one slave communication module is normally connected if the first quantity and the second quantity have the same size
Communication connection determination device.
제1항에 있어서,
상기 통신 연결 판단부는,
상기 제1 수량의 크기가 상기 제2 수량의 크기보다 크거나 작은 경우, 상기 마스터 통신 모듈 및 상기 적어도 하나의 슬레이브 통신 모듈 사이의 통신 연결이 비정상 연결된 것으로 판단하는 것을 더 포함하는
통신 연결 판단 장치.
The method according to claim 1,
The communication connection determination unit may determine,
Further comprising determining that a communication connection between the master communication module and the at least one slave communication module is abnormally connected if the magnitude of the first quantity is greater than or less than the magnitude of the second quantity
Communication connection determination device.
제3항에 있어서,
상기 디스플레이부는,
상기 마스터 통신 모듈 및 상기 적어도 하나의 슬레이브 통신 모듈 사이의 통신 연결이 비정상 연결된 것으로 판단되면, 연결 수량 오류 메시지를 포함하는 상기 통신 연결 결과 메시지를 표시하는 것을 포함하는
통신 연결 판단 장치.
The method of claim 3,
The display unit includes:
And displaying the communication connection result message including a connection quantity error message if it is determined that the communication connection between the master communication module and the at least one slave communication module is abnormally connected
Communication connection determination device.
제4항에 있어서,
상기 연결 수량 오류 메시지를 기초로 사용자로부터 입력 받은 통신 연결 해제 명령에 따라 상기 마스터 통신 모듈 및 상기 적어도 하나의 슬레이브 통신 모듈 사이의 통신 연결을 해제하는 제어부를 더 포함하는
통신 연결 판단 장치.
5. The method of claim 4,
And a control unit for releasing a communication connection between the master communication module and the at least one slave communication module according to a communication connection release command received from the user based on the connection quantity error message
Communication connection determination device.
제5항에 있어서,
상기 제어부는,
상기 연결 수량 오류 메시지를 기초로 상기 사용자로부터 입력 받은 재시도 명령에 따라, 상기 통신부를 통해 상기 마스터 통신 모듈과 상기 적어도 하나의 슬레이브 통신 모듈 사이의 통신 연결을 재시도하는 것을 더 포함하는
통신 연결 판단 장치.
6. The method of claim 5,
Wherein,
And retrying a communication connection between the master communication module and the at least one slave communication module through the communication unit according to a retry command received from the user based on the connection amount error message
Communication connection determination device.
제1항에 있어서,
상기 응답 신호를 기초로 상기 슬레이브 통신 모듈의 정상 응답 여부를 판단하는 정상 응답 여부 판단부를 더 포함하는
통신 연결 판단 장치.
The method according to claim 1,
And a normal response determination unit for determining whether the slave communication module is in a normal response based on the response signal
Communication connection determination device.
제7항에 있어서,
상기 통신 연결 판단부는,
상기 정상 응답 여부 판단부에서 정상 응답으로 판단된 상기 슬레이브 통신 모듈에 대해 상기 마스터 통신 모듈 및 상기 슬레이브 통신 모듈 사이의 통신 연결이 정상 연결된 것으로 판단하는 것을 포함하는
통신 연결 판단 장치.
8. The method of claim 7,
The communication connection determination unit may determine,
And determining that the communication connection between the master communication module and the slave communication module is normally connected to the slave communication module determined as a normal response by the normal response determination unit
Communication connection determination device.
제8항에 있어서,
상기 통신 연결 판단부는,
상기 슬레이브 통신 모듈로부터 수신한 제1 응답 신호 및 제2 응답 신호가 상기 정상 응답 여부 판단부에서 모두 정상 응답으로 판단되는 경우, 상기 마스터 통신 모듈 및 상기 슬레이브 통신 모듈 사이의 통신 연결이 정상 연결된 것으로 판단하고,
상기 제2 응답 신호는 상기 제1 응답 신호가 정상 응답인 경우, 상기 마스터 통신 모듈에서 상기 슬레이브 통신 모듈로부터 수신하는 것을 포함하는
통신 연결 판단 장치.
9. The method of claim 8,
The communication connection determination unit may determine,
When it is determined that the first response signal and the second response signal received from the slave communication module are all normal responses in the normal response determination unit, it is determined that the communication connection between the master communication module and the slave communication module is normally connected and,
Wherein the second response signal includes receiving from the slave communication module in the master communication module when the first response signal is a normal response
Communication connection determination device.
KR1020170109863A 2017-08-30 2017-08-30 Apparatus for determining communication connecting KR101985692B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170109863A KR101985692B1 (en) 2017-08-30 2017-08-30 Apparatus for determining communication connecting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170109863A KR101985692B1 (en) 2017-08-30 2017-08-30 Apparatus for determining communication connecting

Publications (2)

Publication Number Publication Date
KR20190023704A true KR20190023704A (en) 2019-03-08
KR101985692B1 KR101985692B1 (en) 2019-06-04

Family

ID=65801558

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170109863A KR101985692B1 (en) 2017-08-30 2017-08-30 Apparatus for determining communication connecting

Country Status (1)

Country Link
KR (1) KR101985692B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102374722B1 (en) * 2020-09-29 2022-03-14 엘에스일렉트릭(주) Communication parameter setting device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040016921A (en) * 2004-01-30 2004-02-25 엘지전자 주식회사 Control System for Home Appliance Network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040016921A (en) * 2004-01-30 2004-02-25 엘지전자 주식회사 Control System for Home Appliance Network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102374722B1 (en) * 2020-09-29 2022-03-14 엘에스일렉트릭(주) Communication parameter setting device

Also Published As

Publication number Publication date
KR101985692B1 (en) 2019-06-04

Similar Documents

Publication Publication Date Title
CN106569847B (en) Method for vehicle-mounted system to realize IAP remote upgrade based on mobile network
CN109558282B (en) PCIE link detection method, system, electronic equipment and storage medium
CN111427803B (en) Automated random test method, apparatus, computer device and medium
CN109388604B (en) Hot plug control method, device and storage medium based on PCIe
CN108553894B (en) Display control method and device, electronic equipment and storage medium
US10037135B2 (en) Method and electronic device for user interface
US9378054B2 (en) Testing system with methodology for background application control
CN104914815A (en) Processor monitoring method, device and system
KR101985692B1 (en) Apparatus for determining communication connecting
CN113832663B (en) Control chip fault recording method and device and control chip fault reading method
US10698468B2 (en) Device and method for changing setting value of electric power equipment
CN111274092A (en) Remote positioning method of server, computer equipment and storage medium
EP3859528A2 (en) Method and apparatus for handling memory failure, electronic device and storage medium
CN109240928A (en) A kind of test method, device, equipment and storage medium
CN108648297A (en) Equipment detection method and device, storage medium, electronic equipment
KR101978402B1 (en) Method for determining communication connecting
KR101948722B1 (en) Method for changing setting value of electric power equipments
KR101949983B1 (en) Device and method for changing setting value of electric power equipments
KR101949757B1 (en) Method for changing setting value of electric power equipments
CN114079658B (en) Cross-device synchronization method, terminal device and storage medium
CN105787351A (en) Password input control method and intelligent terminal
CN105827413A (en) Electronic terminal, and system safety verification device and method thereof
CN111861791A (en) Automatic error correction method and system for operation ticket
CN115016434B (en) Bench, whole vehicle data linkage method and electronic equipment
CN114003837A (en) Table display method, device, equipment and storage medium

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant