KR20190023704A - Apparatus for determining communication connecting - Google Patents
Apparatus for determining communication connecting Download PDFInfo
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements 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/1607—Details of the supervisory signal
- H04L1/1685—Details of the supervisory signal the supervisory signal being transmitted in response to a specific request, e.g. to a polling signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring 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
Description
본 발명은 통신 연결 판단 장치에 관한 것이다.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
이때, PC Manager(10)는 복수의 HMI를 통해 복수의 전력 기기를 모니터링 하거나 제어할 수 있는 장치 또는 프로그램을 포함할 수 있다. 또한, HMI(20)는 디스플레이부를 포함하고, 복수의 전력 기기를 모니터링하거나, 제어할 수 있는 장치 또는 프로그램을 포함할 수 있다. 전력 기기(30)는 전자식 모터 보호 계전기(EMPR, Electronic motor protection relay)를 포함할 수 있다.At this time, the PC
또한, HMI(20) 또는 PC Manager(10)는 마스터 통신 모듈을 포함하고, 전력 기기(30)는 슬레이브 통신 모듈을 포함할 수 있다.In addition, the HMI 20 or the PC
HMI(20) 및 복수의 전력 기기(30, 30_1, 30_2, 30_n) 사이의 시리얼 통신에서 복수의 전력 기기의 통신 주소는 1 내지 247 중 사용자가 설정한 통신 주소가 설정될 수 있다.In the serial communication between the
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
중복 응답의 형태 중 중복 응답간 입출력 대기시간(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
마스터 통신 모듈(100)은 RS-485 기반의 모드버스 RTU 통신 프로토콜을 이용한 시리얼 통신을 수행하는 모듈, 장치 또는 프로그램을 포함한다.The
마스터 통신 모듈(100)은 복수의 전력 기기의 설정값을 설정 또는 변경하거나, 복수의 전력 기기를 모니터링하는 전자 장치를 포함할 수 있다. The
예를 들어, 마스터 통신 모듈(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
마스터 통신 모듈(100)은 시리얼 통신망을 이용하여 복수의 슬레이브 통신 모듈(200, 200_1, 200_n)과 데이터를 주고 받을 수 있다. 이때, 마스터 통신 모듈(100)과 슬레이브 통신 모듈(200)간 주고 받는 통신 프레임(Frame)의 전송 단위는 비트(Bit) 단위로 전송될 수 있다.The
마스터 통신 모듈(100)은 시리얼 통신망을 이용해 슬레이브 통신 모듈(200)에 데이터 요청 신호를 송신할 수 있다. 이때, 데이터 요청 신호를 수신한 슬레이브 통신 모듈(200)은 데이터 요청 신호 중 통신 주소를 추출하여, 해당 통신 주소에 해당하는 슬레이브 통신 모듈(200)만 마스터 통신 모듈(100)에 응답 신호를 송신할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The
슬레이브 통신 모듈(200)은 RS-485 기반의 모드버스 RTU 통신 프로토콜을 이용한 시리얼 통신을 수행하는 모듈, 장치 또는 프로그램을 포함한다.The
슬레이브 통신 모듈(200)은 전력 기기를 제어 또는 모니터링하는 전자 장치를 포함할 수 있다. 예를 들어, 슬레이브 통신 모듈(200)은 전자식 모터 보호 계전기(EMPR, Electronic motor protection relay), ACB(Air circuit breaker), MCCB(Molded case circuit breaker) 또는 MCB(Miniature Circuit Breaker)를 포함할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The
도 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
통신부(110)는 본 발명의 일 실시예에 따른 통신 연결 판단 방법을 수행하기 위하여 슬레이브 통신 모듈(200)과 데이터를 주고 받는 전자 장치, 모듈 또는 프로그램을 포함할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The
예를 들어, 통신부(110)는 모드버스 RTU 프로토콜의 시리얼 통신망을 이용하여, 미리 결정된 통신 주소에 해당하는 적어도 하나의 슬레이브 통신 모듈에 통신 주소를 포함하는 데이터 요청 신호를 송신하고, 슬레이브 통신 모듈로부터 상데이터 요청 신호에 대응하는 응답 신호를 수신할 수 있다.For example, the
제어부(170)는 임의의 유형의 종래의 프로세서, 마이크로 프로세서, 또는 명령어들을 해석하고 실행하는 프로세싱 로직을 포함할 수 있다. 제어부(170)는 고속 인터페이스에 결합된 디스플레이와 같은 외부의 입력/출력 디바이스상에 그래픽 사용자 인터페이스(GUI)를 위한 그래픽정보를 디스플레이하기 위해 메모리부(130) 내에 저장된 명령어들을 실행할 수 있다.The
본 발명의 다른 실시예에서, 다수의 제어부(170)는 다수의 메모리부(130)와 함께 사용될 수 있다. 일부 실시예들에서, 제어부(170)는 컴퓨터 실행 가능 명령어들을 실행함으로써 또는 프로그래밍 됨으로써 특수 목적 마이크로 프로세서로 변형될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터로 판독 가능한 기록 매체에 저장될 수 있다. In another embodiment of the present invention, a plurality of
제어부(170)는 운영 체제(OS) 및 상기 운영 체제 상에서 수행되는 하나 이상의 소프트웨어 어플리케이션을 수행할 수 있다. 또한, 제어부(170)는 소프트웨어의 실행에 응답하여, 데이터를 접근, 저장, 조작, 처리 및 생성할 수도 있다. 이해의 편의를 위하여, 제어부(170)는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 제어부(170)가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. The
예를 들어, 제어부(170)는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 콘트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다. 소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 제어부(170)를 구성하거나 독립적으로 또는 결합적으로(collectively) 제어부(170)를 명령할 수 있다. For example, the
소프트웨어 및/또는 데이터는, 제어부(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
또한, 메모리부(130)는 ROM(Read Only Memory)과 같이 제어부(170)에 의한 사용을 위한 정적 정보 및 명령어들을 저장하는 정적 저장 디바이스를 포함할 수 있다. 메모리부(130)는 휘발성 메모리 유닛 또는 비휘발성 메모리 유닛일 수 있다. 메모리부(130)는 또한 자기 또는 광디스크와 같은 컴퓨터 판독가능 매체의 또 다른 유형일 수 있다.In addition, the
메모리부(130)는 제어부(170)에 의한 통신 연결 판단 방법 실행 시 제어부(170)가 동작들을 수행하도록 하는 명령들을 포함하는 하나 이상의 프로그램을 저장하는 컴퓨터로 판독 가능한 기록 매체를 포함할 수 있다. 이때, 메모리부(130)는 모드버스 RTU 통신 프로토콜의 통신 프로토콜 맵(Map)을 포함할 수 있다.The
마스터 통신 모듈(100) 또는 슬레이브 통신 모듈(200)은 통신 프로토콜 맵을 기초로 생성한 통신 프레임(Frame)을 송신할 수 있다. 이때, 통신 프레임은 데이터 요청 신호 또는 응답 신호의 프레임을 포함할 수 있다. 예를 들어, 데이터 요청 신호는 통신 주소, 함수 코드, 요청 데이터의 시작 주소 또는 요청 데이터의 개수를 포함할 수 있다. 또한, 응답 신호는 통신 주소, 함수 코드, 응답 데이터의 바이트 카운트 또는 응답 데이터 값을 포함할 수 있다.The
예를 들어, 통신 프로토콜 맵은 전력 기기의 설정값, 전력 기기의 계측값, 사고 이력 또는 전력 기기의 모델 정보를 포함할 수 있다.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
디스플레이부(150)는 스크린에 사용자가 손가락이나 펜 등으로 화면을 누르거나 접촉하는 입력을 하면, 그 입력된 위치를 인지하여 시스템에 전달하는 터치 스크린 패널을 포함할 수 있다. 상기 입력을 감지하는 방식은 저항막, 정전용량, 적외선 또는 광학식 방식을 포함할 수 있다.The
디스플레이부(150)는 터치를 감지하는 터치 패드를 포함할 수 있다. 디스플레이부(150) 또는 터치 패드는 터치 스크롤(scroll)를 감지하도록 구성될 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The
디스플레이부(150)는 통신 연결 결과 비교부(177)에서 비교한 결과에 따라 서로 다른 통신 연결 결과 메시지를 표시할 수 있다.The
디스플레이부(150)는 마스터 통신 모듈(100) 및 적어도 하나의 슬레이브 통신 모듈(200) 사이의 통신 연결이 비정상 연결된 것으로 판단되면, 연결 수량 오류 메시지를 포함하는 통신 연결 결과 메시지를 표시할 수 있다.The
인터페이스부(190)는 사용자로부터 입력 신호를 수신하는 모듈 또는 전자 장치를 포함할 수 있다. 예를 들어, 인터페이스부(190)는 터치 패드, 마우스, 키보드, 카메라 또는 스피커를 포함할 수 있다. 이때, 사용자는 터치 패드, 마우스 또는 키보드를 통해 터치 또는 클릭하거나, 카메라 또는 스피커를 이용하여 제스처 또는 음성을 입력할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The
인터페이스부(190)는 사용자로부터 숫자 또는 문자를 입력 받거나, 디스플레이부(150)에 표시된 버튼을 입력 받을 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The
제어부(170)는 디스플레이부(150)에 표시된 연결 수량 오류 메시지를 기초로 사용자로부터 입력 받은 통신 연결 해제 명령에 따라 마스터 통신 모듈(100) 및 적어도 하나의 슬레이브 통신 모듈(200) 사이의 통신 연결을 해제할 수 있다.The
예를 들어, 제어부(170)는 연결 수량 오류 메시지를 기초로 사용자로부터 입력 받은 재시도 명령에 따라, 통신부(110)를 통해 마스터 통신 모듈(100)과 적어도 하나의 슬레이브 통신 모듈(200) 사이의 통신 연결을 재시도할 수 있다.For example, the
사용자는 디스플레이부(150) 또는 터치 패드를 스크롤 함으로써 디스플레이부(150)에 표시된 개체, 예를 들어, 리스트에 위치한 커서 또는 포인터를 이동시킬 수 있다. 나아가, 손가락을 디스플레이부(150) 또는 터치 패드 상에서 이동시키는 경우, 손가락이 움직이는 경로가 디스플레이부(150)에 시각적으로 표시될 수도 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The user can move a cursor or a pointer located in the object displayed on the
제어부(170)는 통신 연결 판단부(171), 데이터 요청 신호 생성부(173), 정상 응답 여부 판단부(175), 및 통신 연결 결과 비교부(177)를 포함할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The
데이터 요청 신호 생성부(173)는 메모리부(130)에 저장된 통신 프로토콜 맵을 기초로 통신을 연결하고자 하는 슬레이브 통신 모듈(200)의 통신 주소, 함수 코드(예를 들어, 전력 기기의 모델 정보가 저장되어 있는 함수 코드), 데이터 시작 주소(예를 들어, 전력 기기의 모델 정보가 저장되어 있는 시작 주소) 또는 요청 데이터 개수(예를 들어, 전력 기기의 모델 정보 비트 개수)를 포함하는 데이터 요청 신호를 생성할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The data request
정상 응답 여부 판단부(175)는 슬레이브 통신 모듈(200)로부터 수신한 응답 신호를 기초로 응답 신호의 정상 응답 여부를 판단할 수 있다. 예를 들어, 마스터 통신 모듈(100)에서 응답 신호의 바이트(Byte) 길이를 지정하여 미리 지정한 바이트 길이를 초과하는 경우 비정상 응답으로 판단할 수 있다.The normal
예를 들어, 마스터 통신 모듈(100)에서 데이터 요청 신호에 대응되는 응답 신호를 수신하는 경우 정상 응답으로 판단할 수 있다. 즉, 응답 신호의 형태가 데이터 요청 신호에서 요청한 응답 신호의 형태와 일치하는 경우 정상 응답으로 판단할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.For example, when the
통신 연결 판단부(171)는 마스터 통신 모듈(100) 및 슬레이브 통신 모듈(200) 사이의 통신 정상 연결 여부를 판단할 수 있다. 예를 들어, 마스터 통신 모듈(100)에서 슬레이브 통신 모듈(200)로부터 수신한 응답 신호가 정상 응답인 경우, 마스터 통신 모듈(100)과 슬레이브 통신 모듈(200) 사이의 통신이 정상 연결 되었다고 판단할 수 있다.The communication
통신 연결 판단부(171)는 마스터 통신 모듈(100)에서 슬레이브 통신 모듈(200)로부터 수신한 응답 신호가 2회 연속 정상 응답인 경우, 마스터 통신 모듈(100)과 슬레이브 통신 모듈(200) 사이의 통신이 정상 연결 되었다고 판단할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The communication
통신 연결 판단부(171)는 데이터 요청 신호 및 응답 신호를 기초로 마스터 통신 모듈(100) 및 슬레이브 통신 모듈(200) 사이의 통신 연결 여부를 판단할 수 있다. The communication
예를 들어, 통신 연결 판단부(171)는 마스터 통신 모듈(100)과 통신이 연결된 슬레이브 통신 모듈(200)의 수량(즉, 제1 수량)과 사용자로부터 입력 받은 통신 연결 대상 수량(즉, 제2 수량)의 크기가 동일한 경우, 마스터 통신 모듈(100) 및 적어도 하나의 슬레이브 통신 모듈(200) 사이의 통신 연결이 정상 연결된 것으로 판단할 수 있다. 예를 들어, 통신 연결 판단부(171)는 제1 수량의 크기가 제2 수량의 크기보다 크거나 작은 경우, 마스터 통신 모듈(100) 및 적어도 하나의 슬레이브 통신 모듈(200) 사이의 통신 연결이 비정상 연결된 것으로 판단할 수 있다.For example, the communication
통신 연결 결과 비교부(177)는 통신 연결 판단부(171)의 판단 결과를 기초로 마스터 통신 모듈(100)과 통신이 연결된 슬레이브 통신 모듈(200)의 수량과 사용자로부터 입력 받은 통신 연결 대상 수량의 크기를 비교할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The communication connection
도 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
통신부(210)는 본 발명의 일 실시예에 따른 통신 연결 판단 방법을 수행하기 위하여 마스터 통신 모듈(100)과 데이터를 주고 받는 전자 장치, 모듈 또는 프로그램을 포함할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The
메모리부(230)는 RAM(Random Access Memory)과 같이 제어부(250)에 의한 실행을 위한 동적 정보 및 명령어들을 저장하는 동적 저장 디바이스를 포함할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The
또한, 메모리부(230)는 ROM(Read Only Memory)과 같이 제어부(250)에 의한 사용을 위한 정적 정보 및 명령어들을 저장하는 정적 저장 디바이스를 포함할 수 있다. 메모리부(230)는 휘발성 메모리 유닛 또는 비휘발성 메모리 유닛일 수 있다. 메모리부(230)는 또한 자기 또는 광디스크와 같은 컴퓨터 판독가능 매체의 또 다른 유형일 수 있다. 이때, 메모리부(230)는 모드버스 RTU 통신 프로토콜의 통신 프로토콜 맵(Map)을 포함할 수 있다.In addition, the
슬레이브 통신 모듈(200)은 통신 프로토콜 맵을 기초로 생성한 통신 프레임(Frame)을 송신할 수 있다. 이때, 통신 프레임은 데이터 요청 신호 또는 응답 신호의 프레임을 포함할 수 있다. The
예를 들어, 데이터 요청 신호는 통신 주소, 함수 코드, 요청 데이터의 시작 주소 또는 요청 데이터의 개수를 포함할 수 있다. 또한, 응답 신호는 통신 주소, 함수 코드, 응답 데이터의 바이트 카운트 또는 응답 데이터 값을 포함할 수 있다. 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
본 발명의 다른 실시예에서, 다수의 제어부(250)는 다수의 메모리부(230)와 함께 사용될 수 있다. 일부 실시예들에서, 제어부(250)는 컴퓨터 실행 가능 명령어들을 실행함으로써 또는 프로그래밍 됨으로써 특수 목적 마이크로 프로세서로 변형될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터로 판독 가능한 기록 매체에 저장될 수 있다.In another embodiment of the present invention, a plurality of
이해의 편의를 위하여, 제어부(250)는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 제어부(250)가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. 예를 들어, 제어부(250)는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 콘트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다.One of ordinary skill in the art will recognize that the
본 발명의 다른 실시예에서, 다수의 제어부(250)는 다수의 메모리부(230)와 함께 사용될 수 있다. 일부 실시예들에서, 제어부(250)는 컴퓨터 실행 가능 명령어들을 실행함으로써 또는 프로그래밍 됨으로써 특수 목적 마이크로 프로세서로 변형될 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.In another embodiment of the present invention, a plurality of
응답 신호 생성부(270)는 마스터 통신 모듈(100)로부터 수신한 데이터 요청 신호에 포함된 통신 주소를 추출하고, 슬레이브 통신 모듈(200)에 대응하는 통신 주소가 추출되는 경우, 데이터 요청 신호에 대응하는 응답 신호를 생성할 수 있다. The response signal generation unit 270 extracts a communication address included in the data request signal received from the
예를 들어, 통신 주소 "1"에 해당하는 슬레이브 통신 모듈(200)의 응답 신호 생성부(270)는 데이터 요청 신호에서 추출한 통신 주소가 "1"에 해당하는 경우에만 응답 신호를 생성할 수 있다.For example, the response signal generator 270 of the
응답 신호 생성부(270)는 메모리부(230)에 저장된 통신 프로토콜 맵을 기초로 슬레이브 통신 모듈(200)의 통신 주소, 함수 코드(예를 들어, 전력 기기의 모델 정보가 저장되어 있는 함수 코드), 바이트 카운트(예를 들어, 응답 신호의 바이트 카운트) 또는 데이터 값(예를 들어, 전력 기기의 모델 정보)을 포함하는 응답 신호를 생성할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The response signal generation unit 270 generates a response signal based on the communication address and the function code of the
도 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
이어서, 마스터 통신 모듈(100)은 적어도 하나의 슬레이브 통신 모듈(200)과 통신 연결 시도를 진행한다(S110). 예를 들어, 마스터 통신 모듈(100)은 데이터 요청 신호에 응답하는 슬레이브 통신 모듈(200)과 통신 연결을 시도할 수 있다.Then, the
이어서, 마스터 통신 모듈(100)에서 통신 연결 결과를 비교한다(S120). 예를 들어, 마스터 통신 모듈(100)은 통신 연결 시도 결과 통신이 연결된 슬레이브 통신 모듈(200)의 수량과 최초 사용자로부터 입력 받은 통신 연결 대상 전력 기기의 수량을 비교할 수 있다.Subsequently, the
이어서, 마스터 통신 모듈(100)에서 통신 연결 결과를 표시한다(S130). 예를 들어, 마스터 통신 모듈(100)은 통신 연결 결과에 따라 서로 다른 결과 메시지를 표시할 수 있다. 이때, 통신 연결 결과는 통신 정상 연결과 통신 비정상 연결로 구분될 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.Then, the
도 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
이어서, 수량의 크기를 비교한 결과 N과 M이 동일한 경우(S210), 마스터 통신 모듈(100)은 통신이 정상 연결되었음을 의미하는 정상 연결 메시지를 포함한 통신 연결 결과를 표시할 수 있다(S213).Then, if N and M are equal to each other (S210), the
이어서, 마스터 통신 모듈(100)은 통신이 연결된 전력 기기에 대한 모니터링을 진행할 수 있다(S215). 예를 들어, 사용자가 입력한 수량과 통신이 연결된 전력 기기의 수량이 동일한 경우, 마스터 통신 모듈(100)은 누락되거나 중복된 전력 기기가 없다고 판단할 수 있다.Subsequently, the
이어서, 수량의 크기를 비교한 결과 N이 M보다 큰 경우(S220), 마스터 통신 모듈(100)은 연결 수량 오류 메시지를 포함하는 통신 연결 결과를 표시할 수 있다(S240). 또한, 수량의 크기를 비교한 결과 N이 M보다 작은 경우(S230), 마스터 통신 모듈(100)은 연결 수량 오류 메시지를 포함하는 통신 연결 결과를 표시할 수 있다(S240). 예를 들어, 연결 수량 오류 메시지는 오류 해결 방법을 포함할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.If N is greater than M (S220), the
이어서, 마스터 통신 모듈(100)은 연결 수량 오류 메시지를 기초로 사용자부터 입력 받은 통신 연결 해제 명령에 따라 마스터 통신 모듈(100) 및 적어도 하나의 슬레이브 통신 모듈(200) 사이의 통신 연결을 해제할 수 있다(S243). 또는, 마스터 통신 모듈(100)은 연결 수량 오류 메시지를 기초로 사용자부터 입력 받은 통신 연결 재시도 명령에 따라 마스터 통신 모듈(100) 및 적어도 하나의 슬레이브 통신 모듈(200) 사이의 통신 연결을 재시도할 수 있다(S245). 다만, 본 발명이 이에 한정되는 것은 아니다.Then, the
도 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
이때, 마스터 통신 모듈(100)은 1 내지 247의 통신 주소에 해당하는 슬레이브 통신 모듈(200) 중에서 통신 연결을 원하는 통신 주소에 해당하는 슬레이브 통신 모듈(200)에 데이터 요청 신호를 송신할 수 있다. At this time, the
예를 들어, 마스터 통신 모듈(100)은 통신 주소 1부터 247에 해당하는 슬레이브 통신 모듈(200)에 순차적으로 데이터 요청 신호를 송신할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.For example, the
이어서, 슬레이브 통신 모듈(200)에서 응답 신호를 생성하고(S510), 슬레이브 통신 모듈(200)에서 마스터 통신 모듈(100)에 응답 신호를 송신한다(S515). 예를 들어, 슬레이브 통신 모듈(200)에서 데이터 요청 신호를 수신하는 경우, 슬레이브 통신 모듈(200)은 데이터 요청 신호로부터 통신 주소를 추출할 수 있다. Next, the
이때, 슬레이브 통신 모듈(200)은 데이터 요청 신호로부터 추출된 통신 주소와 슬레이브 통신 모듈(200)의 통신 주소가 일치하는 경우에 마스터 통신 모듈(100)에 응답 신호를 송신할 수 있다.At this time, the
이어서, 마스터 통신 모듈(100)에서 정상 응답 여부를 판단한다(S520). 예를 들어, 마스터 통신 모듈(100)은 수신한 응답 신호를 기초로 슬레이브 통신 모듈(200)의 정상 응답 여부를 판단할 수 있다. Then, the
예를 들어, 마스터 통신 모듈(100)에서 응답 신호의 바이트(Byte) 길이를 지정하여 미리 지정한 바이트 길이를 초과하는 경우 비정상 응답으로 판단할 수 있다. 예를 들어, 마스터 통신 모듈(100)에서 데이터 요청 신호에 대응되는 응답 신호를 수신하는 경우 정상 응답으로 판단할 수 있다. 즉, 응답 신호의 형태가 데이터 요청 신호에서 요청한 응답 신호의 형태와 일치하는 경우 정상 응답으로 판단할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.For example, if the
이어서, 마스터 통신 모듈(100)에서 슬레이브 통신 모듈(200)에 데이터 요청 신호를 송신한다(S525). 이어서, 슬레이브 통신 모듈(200)에서 응답 신호를 생성하고(S530), 슬레이브 통신 모듈(200)에서 마스터 통신 모듈(100)에 응답 신호를 송신한다(S535). 예를 들어, 마스터 통신 모듈(100)에서 수신한 응답 신호가 정상 응답으로 판단되는 경우, 마스터 통신 모듈(100)은 데이터 요청 신호를 송신하는 단계 및 정상 응답 여부를 판단하는 단계를 재수행할 수 있다.Then, the
이어서, 마스터 통신 모듈(100)에서 통신 연결 여부를 판단한다(S540). 예를 들어, 마스터 통신 모듈(100)은 슬레이브 통신 모듈(200)로부터 2회에 걸쳐 수신한 응답 신호의 정상 응답 여부에 대한 판단값을 기초로 마스터 통신 모듈(100) 및 슬레이브 통신 모듈(200) 사이의 통신 정상 연결 여부를 판단할 수 있다.Then, the
예를 들어, 마스터 통신 모듈(100)에서 슬레이브 통신 모듈(200)로부터 수신한 응답 신호가 정상 응답인 경우, 마스터 통신 모듈(100)은 마스터 통신 모듈(100)과 슬레이브 통신 모듈(200) 사이의 통신이 정상 연결 되었다고 판단할 수 있다.For example, when the response signal received from the
또한, 마스터 통신 모듈(100)에서 슬레이브 통신 모듈(200)로부터 수신한 응답 신호가 2회 연속 정상 응답인 경우, 마스터 통신 모듈(100)은 마스터 통신 모듈(100)과 슬레이브 통신 모듈(200) 사이의 통신이 정상 연결 되었다고 판단할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.When the response signal received from the
도 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
예를 들어, 마스터 통신 모듈(100)에서 통신 주소 3번 주소를 포함하는 데이터 요청 신호를 통신 주소 3번 주소의 슬레이브 통신 모듈(200)에 최초 송신하는 경우를 1차 통신 연결 시도라고 할 수 있다. For example, when the
이어서, 마스터 통신 모듈(100)에서 통신 주소 N번 주소의 슬레이브 통신 모듈(200)로부터 수신한 응답 신호의 정상 응답 여부를 판단한다(S610).Then, the
예를 들어, 마스터 통신 모듈(100)은 통신 주소 3번 주소를 포함하는 데이터 요청 신호에 대응하는 통신 주소 3번 주소를 포함하는 응답 신호의 정상 응답 여부를 판단할 수 있다.For example, the
예를 들어, 마스터 통신 모듈(100)에서 수신한 응답 신호의 바이트 길이가 미리 결정된 바이트 길이 내인 경우, 상기 응답 신호는 정상 응답인 것으로 판단할 수 있다. For example, when the byte length of the response signal received by the
또한, 마스터 통신 모듈(100)에서 복수의 데이터 요청 신호를 송신할 때, 각각의 데이터 요청 신호 송출 시각 사이의 입출력 대기 시간에 슬레이브 통신 모듈(200)에서 응답 신호를 송신하는 경우, 마스터 통신 모듈(100)에서 입출력 대기 시간에 수신한 응답 신호는 비정상 응답인 것으로 판단할 수 있다.When transmitting a plurality of data request signals from the
이어서, 마스터 통신 모듈(100)에서 수신한 응답 신호가 정상 응답인 경우, 통신 주소 N번 주소에 대하여 2차 통신 연결을 시도한다(S615).Then, if the response signal received by the
예를 들어, 마스터 통신 모듈(100)은 1차 통신 연결 시도에서 수신한 응답 신호가 정상 응답인 경우, 1차 통신 연결 시도와 동일한 통신 주소에 2차 통신 연결을 시도할 수 있다. 이때, 통신 연결 시도는 1차 통신 연결 시도와 동일한 단계를 수행할 수 있다. For example, when the response signal received in the primary communication connection attempt is a normal response, the
예를 들어, 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
이어서, 마스터 통신 모듈(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
본 발명의 일 실시예에서, 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
이어서, 마스터 통신 모듈(100)에서 1차 및 2차 통신 연결 시도에서 응답 신호가 비정상 응답이거나, 1차 및 2차 통신 연결 시도 각각의 응답 신호가 동일하지 않은 경우에는 통신 연결 실패를 디스플레이부에 표시한다(S630).If the response signal in the primary and secondary communication connection attempts in the
또한, 마스터 통신 모듈(100)에서 1차 및 2차 통신 연결 시도 각각의 응답 신호가 동일한 경우에는 통신 연결 성공을 디스플레이부에 표시한다(S630).If the response signals of the primary and secondary communication connection attempts are identical in the
이어서, 마스터 통신 모듈(100)에서 통신 주소 N번 주소에 대한 통신 연결 시도를 마치고, 통신 주소 N이 247에 해당하는지를 판단한다(S640).Then, in step S640, the
이어서, 마스터 통신 모듈(100)에서 통신 주소 N이 247에 해당하지 않는 경우, 통신 주소 N+1번 주소의 슬레이브 통신 모듈(200)에 통신 연결을 시도한다(S650). 예를 들어, 마스터 통신 모듈(100)은 통신 주소 1번 주소에 대한 통신 연결 시도를 마치고, 통신 주소 2번 주소에 통신 연결을 시도할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.If the communication address N does not correspond to 247 in the
도 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
주소(711)는 모드버스 시리얼 통신의 통신 주소를 포함할 수 있다. 통신 주소는 1 내지 247의 자연수를 갖는 통신 주소를 포함할 수 있다. 예를 들어, 하나의 통신 주소에는 하나의 슬레이브 통신 모듈(200)이 설정될 수 있다.
이때, 하나의 통신 주소에 하나의 슬레이브 통신 모듈(200)이 연결되는 경우, 마스터 통신 모듈(100)에서 통신이 정상 연결되었다고 판단할 수 있다. 즉, 하나의 통신 주소에 둘 이상의 슬레이브 통신 모듈(200)이 연결되는 경우, 마스터 통신 모듈(100)은 통신이 비정상 연결되었다고 판단할 수 있다.At this time, when one
함수 코드(713)는 통신 프로토콜 맵에 포함된 모드버스 함수 코드를 포함할 수 있다. 예를 들어, 함수 코드(713)는 전력 기기를 ON/OFF 또는 초기화하는 "0x05", 전력 기기의 계측값을 읽는 "0x04", 전력 기기의 설정값을 읽는 "0x03" 또는 전력 기기에 설정값을 입력하는 "0x06"을 포함할 수 있다. The
시작 주소(715)는 통신 프로토콜 맵에서 요청하는 데이터가 위치하는 주소를 포함할 수 있다. 예를 들어, 데이터 요청 신호(710)에서 전력 기기의 모델 정보를 요청하는 경우, 전력 기기의 모델 정보는 통신 프로토콜 맵에서 주소 "0x53"에 위치할 수 있다. The
요청 데이터 갯수(717)는 데이터 요청 신호(710)에서 요청하는 데이터의 개수를 포함할 수 있다. 예를 들어, 전력 기기의 전류, 전압, 및 전압 계측값을 요청하는 경우, 데이터 요청 신호(710)는 3개의 데이터를 요청할 수 있다.The number of requested
또한, 데이터 요청 신호(710)는 CRC 에러 체크 값을 포함할 수 있다.The
또한, 응답 신호(730)는 주소(731), 함수 코드(733), 바이트 카운트(735), 및 데이터 값(737)을 포함할 수 있다.The
주소(731)는 슬레이브 통신 모듈(200)에 설정되어 있는 통신 주소를 포함할 수 있다. 이때, 하나의 슬레이브 통신 모듈(200)에 하나의 통신 주소가 설정될 수 있다.The
함수 코드(733)는 통신 프로토콜 맵에 포함된 모드버스 함수 코드를 포함할 수 있다. 예를 들어, 함수 코드(733)는 전력 기기를 ON/OFF 또는 초기화하는 "0x05", 전력 기기의 계측값을 읽는 "0x04", 전력 기기의 설정값을 읽는 "0x03" 또는 전력 기기에 설정값을 입력하는 "0x06"을 포함할 수 있다. The
바이트 카운트(735)는 응답 신호(730)의 총 바이트를 포함할 수 있다. 예를 들어, 마스터 통신 모듈(100)은 바이트 카운트의 길이를 이용해 응답 신호(730)의 정상 응답 여부를 판단할 수 있다.The
데이터 값(737)은 데이터 요청 신호(710)에서 요청한 데이터 값을 포함할 수 있다. 예를 들어, 데이터 요청 신호(710)에서 전력 기기의 모델 정보를 요청한 경우, 슬레이브 통신 모듈(200)은 데이터 값에 모델 정보가 포함된 응답 신호(730)를 마스터 통신 모듈(100)에 송신할 수 있다. The
또한, 응답 신호(730)는 CRC 에러 체크 값을 포함할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The
도 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
또한, 데이터 요청 신호(810)을 수신한 통신 주소 7번에 해당하는 슬레이브 통신 모듈(200)은 응답 신호(830)를 마스터 통신 모듈(100)에 송신할 수 있다. 예를 들어, 응답 신호(830)는 통신 주소 "7번"에 해당하는 슬레이브 통신 모듈(200)에서 함수 코드 "0x03"에 대한 응답으로, 총 2 바이트를 전송하고, 전송되는 값은 "37 06"임을 나타내는 응답을 포함할 수 있다. In addition, the
마스터 통신 모듈(100)은 최초 응답 신호(830)가 정상 응답으로 판단되는 경우, 2차 데이터 요청 신호(850)를 송신할 수 있다. 2차 데이터 요청 신호는 최초 데이터 요청 신호(810)와 동일할 수 있다.The
마스터 통신 모듈(100)은 1차 응답 신호(830) 및 2차 응답 신호(870) 각각이 모두 정상 응답으로 판단 되는 경우, 마스터 통신 모듈(100)과 통신 주소 7번의 슬레이브 통신 모듈(200) 사이의 통신이 정상 연결된 것으로 판단할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.The
도 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
도 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
도 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
예를 들어, 마스터 통신 모듈(100)은 사용자로부터 입력 받은 통신 연결 대상 수량 보다 통신 연결이 완료된 전력 기기의 수량이 적을 경우, 통신 연결 대상 수량에 대한 통신 연결이 비정상 연결된 것으로 판단할 수 있다. For example, the
이때, 안내 팝업(150_3)에서 사용자가 확인 버튼을 입력 하는 경우, 마스터 통신 모듈(100)은 통신 연결 대상 수량에 대한 통신 연결을 해제할 수 있다. 또는, 안내 팝업(150_3)에서 사용자가 재시도 버튼을 입력 하는 경우, 마스터 통신 모듈(100)은 통신 연결 대상 수량에 대한 통신 연결을 재시도할 수 있다. At this time, when the user inputs an OK button in the guide pop-up 150_3, the
예를 들어, 사용자로부터 입력 받은 통신 연결 대상 수량 보다 통신 연결이 완료된 전력 기기의 수량이 적은 오류의 원인으로는 사용자가 대상 전력 기기 수량을 잘못 입력하는 경우, 마스터 통신 모듈의 통신 연결 기능 오동작하는 경우, 전력 기기의 통신 연결 기능 오동작하는 경우, 전력 기기의 통신 주소 중복되는 경우, 통신선에 노이즈 발생하는 경우 또는 통신선에 결선 발생하는 경우를 포함할 수 있다. 다만, 본 발명이 이에 한정되는 것은 아니다.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
예를 들어, 마스터 통신 모듈(100)은 사용자로부터 입력 받은 통신 연결 대상 수량 보다 통신 연결이 완료된 전력 기기의 수량이 많을 경우, 통신 연결 대상 수량에 대한 통신 연결이 비정상 연결된 것으로 판단할 수 있다. For example, the
이때, 안내 팝업(150_4)에서 사용자가 확인 버튼을 입력 하는 경우, 마스터 통신 모듈(100)은 통신 연결 대상 수량에 대한 통신 연결을 해제할 수 있다. 또한, 안내 팝업(150_4)에서 사용자가 재시도 버튼을 입력 하는 경우, 마스터 통신 모듈(100)은 통신 연결 대상 수량에 대한 통신 연결을 재시도할 수 있다.At this time, when the user inputs an OK button in the guide pop-up 150_4, the
본 발명의 다른 실시예에서, 마스터 통신 모듈(100)은 통신 연결이 완료된 전력 기기의 수량이 '0'인 경우, 통신 연결이 비정상 연결된 것으로 판단할 수 있다. 이때, 안내 팝업에서 사용자가 확인 버튼을 입력 하는 경우, 마스터 통신 모듈(100)은 통신 연결 대상 수량에 대한 통신 연결을 해제할 수 있다. 또한, 안내 팝업에서 사용자가 재시도 버튼을 입력 하는 경우, 마스터 통신 모듈(100)은 통신 연결 대상 수량에 대한 통신 연결을 재시도할 수 있다.In another embodiment of the present invention, the
본 발명의 일 실시예에 따르면, 오류가 발생하는 상황별 안내 문구를 구분하여 사용자가 오류를 확인할 수 있도록 하였으며, 비교 수량이 일치하지 않는 경우 통신 연결을 제한하여, 감시 또는 제어 대상 기기가 누락 되거나 의도치 않게 추가될 확률을 낮추었다.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 수량과 상기 제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 수량의 크기가 상기 제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.
상기 디스플레이부는,
상기 마스터 통신 모듈 및 상기 적어도 하나의 슬레이브 통신 모듈 사이의 통신 연결이 비정상 연결된 것으로 판단되면, 연결 수량 오류 메시지를 포함하는 상기 통신 연결 결과 메시지를 표시하는 것을 포함하는
통신 연결 판단 장치.
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.
상기 연결 수량 오류 메시지를 기초로 사용자로부터 입력 받은 통신 연결 해제 명령에 따라 상기 마스터 통신 모듈 및 상기 적어도 하나의 슬레이브 통신 모듈 사이의 통신 연결을 해제하는 제어부를 더 포함하는
통신 연결 판단 장치.
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.
상기 제어부는,
상기 연결 수량 오류 메시지를 기초로 상기 사용자로부터 입력 받은 재시도 명령에 따라, 상기 통신부를 통해 상기 마스터 통신 모듈과 상기 적어도 하나의 슬레이브 통신 모듈 사이의 통신 연결을 재시도하는 것을 더 포함하는
통신 연결 판단 장치.
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.
상기 응답 신호를 기초로 상기 슬레이브 통신 모듈의 정상 응답 여부를 판단하는 정상 응답 여부 판단부를 더 포함하는
통신 연결 판단 장치.
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.
상기 통신 연결 판단부는,
상기 정상 응답 여부 판단부에서 정상 응답으로 판단된 상기 슬레이브 통신 모듈에 대해 상기 마스터 통신 모듈 및 상기 슬레이브 통신 모듈 사이의 통신 연결이 정상 연결된 것으로 판단하는 것을 포함하는
통신 연결 판단 장치.
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.
상기 통신 연결 판단부는,
상기 슬레이브 통신 모듈로부터 수신한 제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.
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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102374722B1 (en) * | 2020-09-29 | 2022-03-14 | 엘에스일렉트릭(주) | Communication parameter setting device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040016921A (en) * | 2004-01-30 | 2004-02-25 | 엘지전자 주식회사 | Control System for Home Appliance Network |
-
2017
- 2017-08-30 KR KR1020170109863A patent/KR101985692B1/en active IP Right Grant
Patent Citations (1)
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)
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 |