KR102266711B1 - Facilities Linking Mangement System Using Fixed IP Adress - Google Patents

Facilities Linking Mangement System Using Fixed IP Adress Download PDF

Info

Publication number
KR102266711B1
KR102266711B1 KR1020200035021A KR20200035021A KR102266711B1 KR 102266711 B1 KR102266711 B1 KR 102266711B1 KR 1020200035021 A KR1020200035021 A KR 1020200035021A KR 20200035021 A KR20200035021 A KR 20200035021A KR 102266711 B1 KR102266711 B1 KR 102266711B1
Authority
KR
South Korea
Prior art keywords
data collection
address
mcu
data
network
Prior art date
Application number
KR1020200035021A
Other languages
Korean (ko)
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 KR1020200035021A priority Critical patent/KR102266711B1/en
Application granted granted Critical
Publication of KR102266711B1 publication Critical patent/KR102266711B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/30Managing network names, e.g. use of aliases or nicknames
    • H04L61/3015Name registration, generation or assignment
    • H04L61/302Administrative registration, e.g. for domain names at internet corporation for assigned names and numbers [ICANN]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • H04L61/2007
    • H04L61/2076
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5076Update or notification mechanisms, e.g. DynDNS
    • H04L61/6022
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Tourism & Hospitality (AREA)
  • Cardiology (AREA)
  • Primary Health Care (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Medical Informatics (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention relates to a facility interworking management system using a fixed IP. The facility interworking management system using a fixed IP comprises: a plurality of data collection MCUs for receiving sensing data transmitted from a sensor and transmitting it to a network; and a data collection management server that receives the transmitted sensing data and stores it in a database. Therefore, the facility interworking management system using a fixed IP simplifies an IP address change procedure and allows a changed IP address value to be checked with the naked eyes.

Description

고정IP를 이용한 설비연동관리시스템{Facilities Linking Mangement System Using Fixed IP Adress}Facility Linking Management System Using Fixed IP Address}

본 발명은 고정IP를 이용한 설비연동관리시스템에 관한 것으로서, 보다 상세하게는 고정IP를 갖는 데이터수집엠씨유와 TCP/IP 프로토콜에 따라 데이터가 송수신되는 네트워크를 통해 설비동작상태데이터를 수집하여 소정의 저장수단에 저장하도록 동작하는 시스템에 관한 것이다.The present invention relates to a facility interworking management system using a fixed IP, and more particularly, by collecting facility operation status data through a data collection MCU having a fixed IP and a network through which data is transmitted and received according to the TCP/IP protocol, It relates to a system operative to store in storage means.

일반적으로 산업현장에는 다수의 설비들이 분산설치되고, 이들 분산 설치된 설비들의 효율적 운영이나 유지보수를 위해 각 설비에 센서(아날로그 및 디지탈센서 포함)를 설치하여 설비의 동작상태데이터(설비설치영역의 온도 등과 같은 환경요소 포함)를 수집하고 있다.In general, a number of facilities are distributed in industrial sites, and for efficient operation and maintenance of these distributed facilities, sensors (including analog and digital sensors) are installed in each facility to provide operational status data (temperature of facility installation area). environmental factors such as, etc.) are being collected.

설비동작상태데이터를 수집하기 위한 방법의 하나로, 고정IP를 갖는 데이터수집엠씨유(Data Acquisition, DAQ)를 한편으로 센서에 연결하고 다른 한편으로 TCP/IP 프로토콜에 따라 데이터가 송수신되는 네트워크에 를 연결하고, 센서의 검출값, 즉 설비동작상태데이터를 데이터수집엠씨유와 네트워크를 통해 수집하여 소정의 저장수단(데이터베이스)에 저장하도록 동작하는 고정IP를 이용한 설비연동관리시스템이 안출되어 사용되고 있다.As one of the methods for collecting equipment operation status data, a data acquisition MC with a fixed IP (Data Acquisition, DAQ) is connected to the sensor on the one hand, and to the network through which data is transmitted and received according to the TCP/IP protocol on the other hand. In addition, a facility interlocking management system using a fixed IP that collects sensor detection values, that is, facility operation state data through data collection MCU and a network, and stores it in a predetermined storage means (database) has been devised and used.

도8은 종래 고정IP를 이용한 설비연동관리시스템의 기능별 블럭도이고, 도9는 도8에 도시된 주변장치의 기능별 블럭도이다.8 is a block diagram for each function of a facility interworking management system using a conventional fixed IP, and FIG. 9 is a block diagram for each function of the peripheral device shown in FIG.

종래의 고정IP를 이용한 설비연동관리시스템은, 이들 도면에 도시된 바와 같이, TCP/IP 프로토콜에 따라 데이터가 송수신되는 네트워크를 형성하는 라우터(203)를 통해 상호 연결된 복수의 데이터수집엠씨유(110)와, 네트워크에 연결된 데이터수집관리서버(140)를 갖고 있다.As shown in these drawings, the conventional facility interworking management system using a fixed IP includes a plurality of data collection MCUs 110 interconnected through a router 203 that forms a network through which data is transmitted and received according to the TCP/IP protocol. ) and a data collection management server 140 connected to the network.

네트워크는 유선 및 무선을 포함하고, TCP/IP 프로토콜에는 MQTT(Message Queue Telemetry Transport) 등과 같은 TCP/IP 기반의 프로토콜을 포함한다.The network includes wired and wireless, and the TCP/IP protocol includes a TCP/IP-based protocol such as MQTT (Message Queue Telemetry Transport).

각 데이터수집엠씨유(110)는 주변장치(112), 다수의 GPIO(General-Purpose Input/Output), Vcc 단자, GND 단자, 메모리(113), 제어부(111) 등을 갖고 있다.Each data collection MCU 110 has a peripheral device 112 , a plurality of GPIOs (General-Purpose Input/Output), a Vcc terminal, a GND terminal, a memory 113 , a control unit 111 , and the like.

주변장치(112)는 TCP/IP통신모듈(112a), I2C(Inter-Integrated Circuit)통신모듈(112c)을 포함하고 있다.The peripheral device 112 includes a TCP/IP communication module 112a and an I 2 C (Inter-Integrated Circuit) communication module 112c.

각 데이터수집엠씨유(110)는 TCP/IP통신모듈(112a)을 통해 데이터수집관리서버(140)에서 송신되는 데이터수집명령을 I2C통신모듈(112c)을 통해 센서(201)로 송신한다. 센서(201)는 소정의 설비에 설치된다. 데이터수집명령에는 데이터수집시간, 데이터수집주기 등이 포함된다.Each data collection MCU 110 transmits a data collection command transmitted from the data collection management server 140 through the TCP/IP communication module 112a to the sensor 201 through the I 2 C communication module 112c. . The sensor 201 is installed in a predetermined facility. The data collection command includes data collection time, data collection period, and the like.

각 데이터수집엠씨유(110)는 I2C통신모듈(112c)을 통해 센서(201)로부터 수신되는 센싱데이터를 TCP/IP통신모듈(112a)을 통해 데이터수집관리서버(140)로 송신한다.Each data collection MCU 110 transmits the sensing data received from the sensor 201 through the I 2 C communication module 112c to the data collection management server 140 through the TCP/IP communication module 112a.

각 데이터수집엠씨유(110)에는 Vcc단자를 통해 SMPS(Switched Mode Power Supply) 등의 전압공급장치(202)로부터 동작전압이 인가된다.An operating voltage is applied from a voltage supply device 202 such as a switched mode power supply (SMPS) through a Vcc terminal to each data collection MCU 110 .

각 데이터수집엠씨유(110)는 GND단자를 통해 접지된다.Each data collection MCU 110 is grounded through a GND terminal.

메모리(113)는 ROM과 RAM을 포함한다.The memory 113 includes ROM and RAM.

메모리(113)에는 자신의 맥어드레스와 데이터수집프로그램이 저장된다.The memory 113 stores its own MAC address and data collection program.

데이터수집프로그램은 펌웨어(Firm ware) 형태로 저장된다.The data collection program is stored in the form of firmware.

데이터수집프로그램은 데이터수집관리서버(140)에서 송신하는 데이터수집명령을 수신하여 센서(201)로 전달하는 루틴과 센서(201)에서 송신되는 센싱데이터를 네트워크를 통해 데이터수집관리서버(140)로 전달하는 루틴을 갖도록 프로그래밍되어 있다.The data collection program receives the data collection command transmitted from the data collection management server 140 and transmits the routine to the sensor 201 and the sensing data transmitted from the sensor 201 to the data collection management server 140 through the network. It is programmed to have a routine to pass it.

이러한 데이터수집프로그램을 이용하여 데이터수집관리서버(140)에서 각 데이터수집엠씨유(110)에 데이터수집방법에 대한 지시를 전송할 때와 각 데이터수집엠씨유(110)에서 데이터수집관리서버(140)로 설비동작상태데이터를 전송할 때 각 데이터수집엠씨유(110)를 특정하기 위해 데이터수집프로그램에는 맥어드레스와 IP주소에 대한 정보가 포함된다.When the data collection management server 140 transmits an instruction on a data collection method to each data collection MCU 110 using this data collection program, and when each data collection MCU 110 transmits the data collection management server 140 In order to specify each data collection MCU 110 when transmitting equipment operation state data to the ER, the data collection program includes information on a MAC address and an IP address.

데이터수집관리서버(140)는 데이터베이스(141)와, 네트워크에 연결된 TCP/IP통신모듈(112a)을 갖고 있다.The data collection management server 140 has a database 141 and a TCP/IP communication module 112a connected to a network.

데이터베이스(141)에는 엠씨유관리정보가 저장되어 있다.The database 141 stores MCU management information.

엠씨유관리정보는 데이터수집명령(데이터수집시간, 데이터수집주기 등), 데이터수집엠씨유(110) 각각에 대한 맥어드레스, 데이터수집엠씨유(110) 각각에 대한 IP주소, 데이터수집엠씨유(110) 상호간을 구별하기 위한 엠씨유식별번호를 포함할 수 있다. 엠씨유식별번호는 공통번호와 가지번호를 포함할 수 있다.The MCU management information includes a data collection command (data collection time, data collection cycle, etc.), a MAC address for each data collection MCU 110, an IP address for each data collection MCU 110, and a data collection MCU ( 110) may include an MCU identification number to distinguish them from each other. The MCU identification number may include a common number and a branch number.

데이터수집관리서버(140)는 TCP/IP통신모듈(도시되지 않음)을 통해 각 데이터수집엠씨유(110)로 데이터수집명령을 송신한다.The data collection management server 140 transmits a data collection command to each data collection MCU 110 through a TCP/IP communication module (not shown).

데이터수집관리서버(140)는 각 데이터수집엠씨유(110)에서 송신되는 센싱데이터를 TCP/IP통신모듈을 통해 수신하여 데이터베이스(141)에 저장한다.The data collection management server 140 receives the sensing data transmitted from each data collection MCU 110 through the TCP/IP communication module and stores it in the database 141 .

IP주소는 네트워크부분의 값은 공통되지만, 각 호스트부분의 값은 각 데이터수집엠씨유(110)에 따라 달라진다.Although the value of the network part of the IP address is common, the value of each host part varies according to each data collection MCU 110 .

IP주소는 데이터수집프로그램을 프로그래밍하기 전에 결정되고, 데이터수집프로그램을 프로그래밍할 때 포함된다.The IP address is determined prior to programming the data acquisition program and is included when programming the data acquisition program.

한편, 센서(201)와 센서(201)에 대응하는 데이터수집엠씨유(110)의 설치 위치가 달라지는 등의 사정이 있는 경우에는 IP주소가 변경되어야 하는 데, 그 변경은 다음과 같은 방법 등으로 이루어질 수 있다.On the other hand, if there is a circumstance such as a change in the installation location of the sensor 201 and the data collection MCU 110 corresponding to the sensor 201, the IP address must be changed, and the change is performed in the following way. can be done

먼저 변경된 IP주소가 포함된 새로운 데이터수집프로그램을 프로그래밍한다.First, program a new data collection program with the changed IP address.

다음에 새로운 데이터수집프로그램이 저장된 컴퓨터를 데이터수집엠씨유(110)에 연결한다.Next, the computer in which the new data collection program is stored is connected to the data collection MCU 110 .

다음에 컴퓨터를 통해 데이터수집엠씨유(110)에 저장된 이전 데이터수집프로그램을 지우고, 새로운 데이터수집프로그램을 메모리(113)에 저장한다.Next, the previous data collection program stored in the data collection MCU 110 is deleted through the computer, and the new data collection program is stored in the memory 113 .

전술한 이전 데이터수집프로그램을 지우고 새로운 데이터수집프로그램을 메모리에 저장하는 방법은 대한민국 등록특허공보 제10-0872180호(등록일자 2008년 11월 28일, 원격 펌웨어 업그레이드 장치, 시스템 및 방법), 대한민국 등록특허공보 제10-0706471호(2007년 04월 04일, 전자기기의 펌웨어 업데이트 방법) 등에 개시되어 있다.The method of erasing the above-mentioned previous data collection program and storing the new data collection program in memory is registered in Republic of Korea Patent Publication No. 10-0872180 (registration date November 28, 2008, remote firmware upgrade device, system and method), Republic of Korea Patent Publication No. 10-0706471 (April 04, 2007, method for updating firmware of an electronic device) and the like are disclosed.

전술한 구성을 갖는 종래의 고정IP를 이용한 설비연동관리시스템은 현장에서 사용되고 있는 것이라고 발명자가 확인해 준 종래기술에 해당한다.The facility interlocking management system using the conventional fixed IP having the above configuration corresponds to the prior art confirmed by the inventor that it is being used in the field.

그런데 종래의 고정IP를 이용한 설비연동관리시스템에 따르면, IP주소가 데이터수집프로그램을 프로그래밍할 때 포함되어야 하기 때문에 데이터수집엠씨유(110)를 현장에 설치하기 전에 IP주소가 부여되야 한다는 문제점이 있었다.However, according to the conventional facility interlocking management system using a fixed IP, since the IP address must be included when programming the data collection program, there is a problem that the IP address must be assigned before the data collection MCU 110 is installed in the field. .

그리고 변경된 IP주소가 포함된 새로운 데이터수집프로그램을 프로그래밍하는 과정과 컴퓨터를 데이터수집엠씨유(110)에 연결하는 과정을 거쳐 데이터수집엠씨유(110)의 IP주소가 변경되기 때문에 IP주소변경 절차가 복잡하고 변경된 IP주소값을 육안으로 확인하기 어렵다는 문제점이 있었다.And since the IP address of the data collection MCU 110 is changed through the process of programming a new data collection program including the changed IP address and the process of connecting the computer to the data collection MCU 110, the IP address change procedure is There was a problem in that it was difficult to visually check the complex and changed IP address value.

대한민국 등록특허공보 제10-0872180호(등록일자 2008년 11월 28일, 원격 펌웨어 업그레이드 장치, 시스템 및 방법)Republic of Korea Patent Publication No. 10-0872180 (Registration date November 28, 2008, remote firmware upgrade device, system and method)

따라서 본 발명의 목적은, 데이터수집엠씨유를 현장에 설치한 후에 IP주소를 부여할 수 있고, IP주소변경 절차가 간단해지고, 변경된 IP주소값을 육안으로 확인할 수 있도록 한 고정IP를 이용한 설비연동관리시스템을 제공하는 것이다.Therefore, an object of the present invention is to provide an IP address after installing the data collection MCU in the field, simplify the IP address change procedure, and link facilities using a fixed IP so that the changed IP address value can be visually checked to provide a management system.

상기 목적은, 본 발명에 따라, TCP/IP 프로토콜에 따라 데이터가 송수신되는 네트워크에 각각 연결되고 각각 소정의 설비에 설치된 센서와 통신할 수 있도록 연결되고 상기 센서에서 송신된 센싱데이터를 수신하여 상기 네트워크로 송신하는 복수의 데이터수집엠씨유와, 상기 네트워크에 연결되고 상기 데이터수집엠씨유 각각에 대한 맥어드레스가 포함된 엠씨유관리정보가 저장되어 있는 데이터베이스를 가지고 상기 데이터수집엠씨유에서 상기 네트워크로 송신한 센싱데이터를 수신하여 상기 데이터베이스에 저장하는 데이터수집관리서버를 갖는 고정IP를 이용한 설비연동관리시스템에 있어서, 상기 데이터수집엠씨유와 통신할 수 있도록 상기 데이터수집엠씨유에 하나씩 연결되고 단자순서가 정해져 있고 외부로부터 전압펄스를 입력받기 위한 복수의 스위치조작신호입력단자를 가지고 상기 단자순서에 대응하는 비트순서와 전압펄스가 입력되는 스위치조작신호입력단자에 대응하는 비트값은 1이 되고 전압펄스가 입력되지 않는 스위치조작신호입력단자에 대응하는 비트값은 0이 되는 펄스열 형태의 주소설정신호를 생성하여 상기 데이터수집엠씨유로 출력하는 주소설정신호생성부와, 상기 스위치조작신호입력단자에 일 대 일로 연결된 온오프스위치를 가지고 상기 온오프스위치를 각각 온오프 조작할 때 온상태로 조작된 온오프스위치에 연결된 스위치조작신호입력단자에는 전압펄스가 인가되고 오프상태로 조작된 온오프스위치에 연결된 스위치조작신호입력단자에는 전압펄스가 인가되지 않도록 동작하는 주소설정조작부를 포함하고: 상기 데이터수집엠씨유는 자신의 맥어드레스가 저장되어 있는 메모리를 가지고, 상기 주소설정신호생성부에서 입력되는 주소설정신호에 기초하여 자신의 IP주소를 생성하여 상기 메모리에 저장하고, 생성된 IP주소정보와 상기 메모리에 저장된 맥어드레스정보를 함께 상기 네트워크를 통해 상기 데이터수집관리서버로 송신하고; 상기 데이터수집관리서버는 상기 데이터수집엠씨유에서 송신된 데이터수집엠씨유 각각의 IP주소를 상기 데이터수집엠씨유 각각의 맥어드레스에 대응하도록 상기 데이터베이스에 업데이트하는 것을 특징으로 하는 고정IP를 이용한 설비연동관리시스템에 의해 달성된다.The above object is, according to the present invention, each connected to a network through which data is transmitted and received according to the TCP/IP protocol, each connected to communicate with a sensor installed in a predetermined facility, and receiving the sensing data transmitted from the sensor, the network transmits from the data collection MCU to the network with a plurality of data collection MCUs transmitted to and a database connected to the network in which MCU management information including MAC addresses for each of the data collection MCUs is stored In a facility linkage management system using a fixed IP having a data collection management server that receives one sensing data and stores it in the database, it is connected to the data collection MCU one by one so as to communicate with the data collection MCU, and the terminal sequence is determined and has a plurality of switch operation signal input terminals for receiving voltage pulses from the outside, and a bit sequence corresponding to the terminal sequence and a bit value corresponding to a switch operation signal input terminal to which voltage pulses are input is 1, and voltage pulses are input An address setting signal generating unit that generates an address setting signal in the form of a pulse train in which the bit value corresponding to the non-disabled switch operation signal input terminal becomes 0 and outputs the address setting signal to the data collection MC-U, one-to-one connected to the switch operation signal input terminal A voltage pulse is applied to the switch operation signal input terminal connected to the on-off switch operated in the on state when the on-off switches are respectively operated on and off with the on-off switch, and a switch operation signal connected to the on-off switch operated in the off state The input terminal includes an address setting operation unit that operates so that a voltage pulse is not applied: the data collection MCU has a memory in which its MAC address is stored, and based on the address setting signal input from the address setting signal generation unit to generate and store its own IP address in the memory, and transmit the generated IP address information and MAC address information stored in the memory together to the data collection management server through the network; The data collection management server updates the IP address of each data collection MCU transmitted from the data collection MCU in the database to correspond to the MAC address of each of the data collection MCUs. achieved by the management system.

여기서 데이터수집엠씨유에서 생성한 IP주소가 해당 네트워크에서 통신가능한 IP주소인지 여부를 육안으로 확인할 수 있도록, 상기 데이터수집엠씨유는 표시부를 더 포함하고, 네트워크상에서 통신가능 IP주소인지 여부를 확인하는 데 사용되는 PING 명령을 이용하여 자신이 생성한 IP주소가 통신가능한 IP주소인지 여부를 확인하고, 통신가능한 IP주소가 아닌 경우 상기 표시부에 통신불가능에러메시지를 표시하는 것이 바람직하다.Here, in order to visually confirm whether the IP address generated by the data collection MCU is a communicable IP address in the corresponding network, the data collection MCU further includes a display unit, and checks whether the IP address is a communicable IP address on the network. It is preferable to check whether the IP address created by the user is a communicable IP address by using the PING command used to perform communication, and to display a communication impossible error message on the display unit if it is not a communicable IP address.

그리고 데이터수집엠씨유에서 생성한 IP주소가 해당 시스템에서 사용가능한 IP주소인지 여부를 육안으로 확인할 수 있도록, 상기 데이터베이스에는 상기 데이터수집엠씨유에 부여할 수 있도록 계획된 사용가능IP주소정보가 저장되어 있고; 상기 데이터수집관리서버는 상기 데이터수집엠씨유로부터 수신된 IP주소가 상기 사용가능IP주소에 해당하는 지 여부를 판단하고, 상기 사용가능IP주소에 해당하지 않는 경우 사용불가능이라는 메시지를 상기 데이터수집엠씨유로 전송하고, 상기 사용가능IP주소에 해당하는 경우 IP주소를 상기 데이터베이스에 저장하고; 상기 데이터수집엠씨유는 표시부를 더 포함하고, 상기 데이터수집관리서버로부터 사용불가능에러메시지가 전송된 경우 상기 표시부에 사용불가능에러메시지를 표시하는 것이 바람직하다.And so that it can be visually confirmed whether the IP address generated by the data collection MCU is an IP address usable in the corresponding system, the database stores available IP address information planned to be assigned to the data collection MCU; The data collection management server determines whether the IP address received from the data collection MCU corresponds to the usable IP address, and if it does not correspond to the usable IP address, sends a message stating that it cannot be used. transmitting the flow path, and storing the IP address in the database if it corresponds to the usable IP address; Preferably, the data collection MCU further includes a display unit, and when an unusable error message is transmitted from the data collection management server, the unusable error message is displayed on the display unit.

따라서 본 발명에 따르면, 펄스열 형태의 주소설정신호를 생성하여 데이터수집엠씨유로 출력하는 주소설정신호생성부와 복수의 온오프스위치를 가지고 온오프스위치의 온오프조작상태에 대응하여 전압펄스가 주소설정신호생성부에 인가되거나 인가되지 않도록 동작하는 주소설정조작부를 포함하도록 구성하는 한편, 데이터수집엠씨유로 하여금 주소설정신호생성부에서 입력되는 주소설정신호에 기초하여 자신의 IP주소를 생성하여 메모리에 저장하고 생성된 IP주소정보와 맥어드레스정보를 함께 데이터수집관리서버로 송신하도록 하고 데이터수집관리서버로 하여금 데이터수집엠씨유에서 송신된 데이터수집엠씨유 각각의 IP주소를 데이터수집엠씨유 각각의 맥어드레스에 대응하도록 데이터베이스에 업데이트하도록 함으로써, 데이터수집엠씨유를 현장에 설치한 후에 IP주소를 부여할 수 있고, IP주소변경 절차가 간단해지고, 변경된 IP주소값을 육안으로(각 온오프스위치의 온오프조작상태를 통해) 확인할 수 있다.Therefore, according to the present invention, the address setting signal generating unit for generating an address setting signal in the form of a pulse train and outputting the address setting signal to the data collection MCEU and a plurality of on/off switches are used to set the address in response to the on/off operation state of the on/off switch. It is configured to include an address setting operation unit that operates to be applied or not applied to the signal generation unit, while causing the data collection MCU to generate its own IP address based on the address setting signal input from the address setting signal generation unit and store it in the memory and transmit the generated IP address information and MAC address information together to the data collection management server, and have the data collection management server convert the IP address of each data collection MCU sent from the data collection MCU to the MAC address of each data collection MCU By updating the database in response to the data collection MCU, an IP address can be assigned after the data collection MCU is installed in the field, the IP address change procedure is simplified, and the changed IP address value can be visually checked (on/off of each on/off switch). operation status) can be checked.

도1은 본 발명의 실시예에 따른 고정IP를 이용한 설비연동관리시스템의 기능별 블럭도,
도2는 도1에 도시된 주변장치의 기능별 블럭도,
도3, 도4 및 도5는 각각 본 발명의 실시예에 따른 주소설정신호생성부와 주소설정조작부를 구현한 예를 도시한 도면,
도6은 본 발명의 실시예에 따라 데이터수집엠씨유의 IP주소를 설정하는 과정을 도시한 흐름도,
도7은 본 발명의 실시예에 따른 고정IP를 이용한 설비연동관리시스템의 엠씨유관리정보의 일 예를 도시한 도면,
도8은 종래 고정IP를 이용한 설비연동관리시스템의 기능별 블럭도,
도9는 도8에 도시된 주변장치의 기능별 블럭도이다.
1 is a block diagram for each function of a facility interworking management system using a fixed IP according to an embodiment of the present invention;
2 is a block diagram for each function of the peripheral device shown in FIG. 1;
3, 4 and 5 are diagrams showing an example of implementing an address setting signal generating unit and an address setting operating unit according to an embodiment of the present invention, respectively;
6 is a flowchart illustrating a process of setting an IP address of a data collection MCU according to an embodiment of the present invention;
7 is a view showing an example of MCU management information of a facility interworking management system using a fixed IP according to an embodiment of the present invention;
8 is a block diagram for each function of a facility interworking management system using a conventional fixed IP;
9 is a block diagram for each function of the peripheral device shown in FIG.

이하에서, 첨부도면을 참조하여 본 발명을 상세히 설명하기로 한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

도1은 본 발명의 실시예에 따른 고정IP를 이용한 설비연동관리시스템의 기능별 블럭도이고, 도2는 도1에 도시된 주변장치의 기능별 블럭도이고, 도3, 도4 및 도5는 각각 본 발명의 실시예에 따른 주소설정신호생성부와 주소설정조작부를 구현한 예를 도시한 도면이고, 도6은 본 발명의 실시예에 따라 데이터수집엠씨유의 IP주소를 설정하는 과정을 도시한 흐름도이고, 도7은 본 발명의 실시예에 따른 고정IP를 이용한 설비연동관리시스템의 엠씨유관리정보의 일 예를 도시한 도면이다.1 is a block diagram for each function of a facility interworking management system using a fixed IP according to an embodiment of the present invention, FIG. 2 is a block diagram for each function of the peripheral device shown in FIG. 1, and FIGS. 3, 4 and 5 are respectively It is a diagram showing an example of implementing an address setting signal generating unit and an address setting operating unit according to an embodiment of the present invention, and FIG. 6 is a flowchart showing a process of setting an IP address of a data collection MCU according to an embodiment of the present invention 7 is a diagram illustrating an example of MCU management information of a facility interlocking management system using a fixed IP according to an embodiment of the present invention.

본 발명의 실시예에 따른 고정IP를 이용한 설비연동관리시스템은, 이들 도면에 도시된 바와 같이, TCP/IP 프로토콜에 따라 데이터가 송수신되는 네트워크를 형성하는 라우터(203)를 통해 상호 연결된 복수의 데이터수집엠씨유(10)와, 데이터수집엠씨유(10)에 연결된 표시부(51)와. 데이터수집엠씨유(10)와 통신할 수 있도록 각 데이터수집엠씨유(10)에 연결된 주소설정신호생성부(20)와, 각 주소설정신호생성부(20)에 연결된 주소설정조작부(30)와, 네트워크에 연결된 데이터수집관리서버(40)를 갖고 있다.As shown in these drawings, the facility interworking management system using a fixed IP according to an embodiment of the present invention includes a plurality of data interconnected through a router 203 forming a network through which data is transmitted and received according to the TCP/IP protocol. The collection MCU 10 and the display unit 51 connected to the data collection MCU 10 . An address setting signal generating unit 20 connected to each data collecting MCU 10 so as to communicate with the data collecting MCU 10, and an address setting operating unit 30 connected to each address setting signal generating unit 20, and , has a data collection management server 40 connected to the network.

네트워크는 유선 및 무선을 포함하고, TCP/IP 프로토콜에는 MQTT(Message Queue Telemetry Transport) 등과 같은 TCP/IP 기반의 프로토콜을 포함한다.The network includes wired and wireless, and the TCP/IP protocol includes a TCP/IP-based protocol such as MQTT (Message Queue Telemetry Transport).

각 데이터수집엠씨유(10)는 주변장치(12), 다수의 GPIO(General-Purpose Input/Output), Vcc 단자, GND 단자, 메모리(13), 제어부(11) 등을 갖고 있다.Each data collection MCU 10 has a peripheral device 12 , a plurality of GPIOs (General-Purpose Input/Output), a Vcc terminal, a GND terminal, a memory 13 , a control unit 11 , and the like.

주변장치(12)는 TCP/IP통신모듈(12a), I2C(Inter-Integrated Circuit)통신모듈(1c), SPI통신모듈(12b) 등을 포함하고 있다.The peripheral device 12 includes a TCP/IP communication module 12a, an I 2 C (Inter-Integrated Circuit) communication module 1c, an SPI communication module 12b, and the like.

각 데이터수집엠씨유(10)는 TCP/IP통신모듈(12a)을 통해 데이터수집관리서버(40)에서 송신되는 데이터수집명령을 I2C통신모듈(12c)을 통해 센서(201)로 송신한다. 센서(201)는 소정의 설비에 설치된다. 데이터수집명령에는 데이터수집시간, 데이터수집주기 등이 포함된다.Each data collection MCU 10 transmits a data collection command transmitted from the data collection management server 40 through the TCP/IP communication module 12a to the sensor 201 through the I 2 C communication module 12c. . The sensor 201 is installed in a predetermined facility. The data collection command includes data collection time, data collection period, and the like.

각 데이터수집엠씨유(10)는 I2C통신모듈(12c)을 통해 센서(201)에서 송신되는 센싱데이터를 TCP/IP통신모듈(12a)을 통해 데이터수집관리서버(40)로 송신한다.Each data collection MCU 10 transmits the sensing data transmitted from the sensor 201 through the I 2 C communication module 12c to the data collection management server 40 through the TCP/IP communication module 12a.

각 데이터수집엠씨유(10)는 SPI통신모듈(12b)을 통해 SPI통신방식으로 주소설정신호생성부(20)와 통신한다.Each data collection MCU 10 communicates with the address setting signal generator 20 in the SPI communication method through the SPI communication module 12b.

각 데이터수집엠씨유(10)에는 Vcc단자를 통해 SMPS(Switched Mode Power Supply) 등의 전압공급장치(202)로부터 동작전압이 인가된다.An operating voltage is applied from a voltage supply device 202 such as a SMPS (Switched Mode Power Supply) through a Vcc terminal to each data collection MCU 10 .

각 데이터수집엠씨유(10)는 GND단자를 통해 접지된다.Each data collection MCU 10 is grounded through a GND terminal.

메모리(13)는 ROM과 RAM을 포함한다.The memory 13 includes ROM and RAM.

메모리(13)에는 자신의 맥어드레스와 데이터수집프로그램이 저장된다.The memory 13 stores its own MAC address and data collection program.

데이터수집프로그램은 펌웨어(Firm ware) 형태로 저장된다.The data collection program is stored in the form of firmware.

데이터수집프로그램은 데이터수집관리서버(40)에서 송신하는 데이터수집명령을 수신하여 센서(201)로 전달하는 루틴과 센서(201)에서 송신되는 센싱데이터를 네트워크를 통해 데이터수집관리서버(40)로 전달하는 루틴에 더하여 주소설정신호생성부(20)에서 입력되는 주소설정신호에 기초하여 자신의 IP주소를 생성하여 처리하는 루틴을 갖도록 프로그래밍되어 있다.The data collection program receives the data collection command transmitted from the data collection management server 40 and transmits the routine to the sensor 201 and the sensing data transmitted from the sensor 201 to the data collection management server 40 through the network. It is programmed to have a routine for generating and processing its own IP address based on the address setting signal input from the address setting signal generation unit 20 in addition to the transmission routine.

각 데이터수집엠씨유(10)에서의 IP 주소를 생성하여 처리하는 루틴을 도6을 참조하여 설명하면 다음과 같다.A routine for generating and processing an IP address in each data collection MCU 10 will be described with reference to FIG. 6 as follows.

각 데이터수집엠씨유(10)는 주소설정신호생성부(20)로부터 펄스열(주소설정신호)이 SPI통신모듈(12b)로 입력되는 지 여부를 감시한다(S11).Each data collection MCU 10 monitors whether a pulse string (address setting signal) is input from the address setting signal generating unit 20 to the SPI communication module 12b (S11).

다음에 사용자는 후술하는 온오프스위치(31)의 온오프조작을 통해 주소설정신호의 각 비트값을 선택한다(S12).Next, the user selects each bit value of the address setting signal through an on-off operation of the on-off switch 31, which will be described later (S12).

주소설정신호생성부(20)에서 펄스열(주소설정신호)이 SPI통신모듈(12b)로 출력된다(S13).A pulse train (address setting signal) is output from the address setting signal generator 20 to the SPI communication module 12b (S13).

각 데이터수집엠씨유(10)는 아래와 같은 방법으로 자신의 IP주소(데이터수집엠씨유가 네트워크에 연결된 포트의 IP주소)를 생성하여 메모리(13)에 저장한다(S14).Each data collection MCU 10 generates its own IP address (the IP address of the port through which the data collection MCU is connected to the network) in the following way and stores it in the memory 13 (S14).

먼저 펄스열을 8비트 단위로 10진수로 변환하여 호스트부분 값을 생성한다.First, the value of the host part is generated by converting the pulse string into a decimal number in units of 8 bits.

다음에 공통된 네트워크부분값을 반영하여 자신의 IP주소(데이터수집엠씨유가 네트워크에 연결된 포트의 IP주소)를 생성한다.Next, it creates its own IP address (the IP address of the port where the data collection MCU is connected to the network) by reflecting the common network part value.

예를 들어 네트워크부분이 "192.168.0.0"으로 정해져 있다고 가정하면 "1101010111000101"인 주소설정신호가 입력되는 경우 데이터수집엠씨유(10)는 "11010101"는 "213"이고 "11000101"은 "197" 이므로 "192.168.213.197”라는 IP주소를 생성하고, "0000000100101110"인 주소설정신호가 입력되는 경우 "00000001"는 "1"이고 "00101110"는 "46"이므로 데이터수집엠씨유(10)는 "192.168.1.46"이라는 IP주소를 생성한다.For example, assuming that the network part is set to "192.168.0.0", when an address setting signal of "1101010111000101" is input, "11010101" is "213" and "11000101" is "197" in the data collection MCU 10. Therefore, if an IP address of "192.168.213.197" is created and an address setting signal of "0000000100101110" is input, "00000001" is "1" and "00101110" is "46", so the data collection MCU 10 is "192.168" Create an IP address of ".1.46".

다음에 생성된 IP주소를 메모리(13)에 저장한다.Next, the generated IP address is stored in the memory 13 .

생성된 IP주소는 사용가능 여부를 확인하기 위하여 네트웍 IP확인 방법인 “PING" 명령어를 이용하여 확인한다(S15).The generated IP address is checked using the “PING” command, which is a network IP verification method, to check whether it is usable (S15).

예를 들어 데이터수집엠씨유(10)는 자신이 생성한 IP주소 "192.168.1.46"를 지정하고 데이터수집관리서버(40)의 IP 주소 “192.168.1.200”를 지정하여 네트웍 명령어 “PING 192.168.1.200" 테스트를 한다.For example, the data collection MCU 10 designates the IP address “192.168.1.46” created by it and specifies the IP address “192.168.1.200” of the data collection management server 40, and the network command “PING 192.168.1.200” "Do the test.

데이터수집엠씨유(10)는 테스트 결과 0이면 통신 불가능, 1이면 통신 가능 판정한다.The data collection MCU 10 determines that communication is impossible if the test result is 0, and communication is possible if it is 1.

데이터수집엠씨유(10)는 통신 불가능 판정시 표시부(51)에 ”192.168.1.46 ERROR" 라는 통신불가능에러메시지를 표시하고(S16), 주소설정신호생성부(20)로부터 펄스열이 SPI통신모듈(12b)로 입력되는 지 여부를 다시 감시한다.When the data collection MCU 10 determines that communication is impossible, the display unit 51 displays a communication impossible error message of “192.168.1.46 ERROR” (S16), and the pulse train from the address setting signal generating unit 20 is sent to the SPI communication module ( 12b) is re-monitored.

사용자는 표시부(51)에서 ”192.168.1.46 ERROR" 표시를 확인하면 다시 후술하는 온오프스위치(31)의 온오프조작을 통해 주소설정신호의 각 비트값, 즉 IP주소를 선택한다.When the user confirms the “192.168.1.46 ERROR” indication on the display unit 51, the user selects each bit value of the address setting signal, that is, the IP address, through the on/off operation of the on/off switch 31, which will be described later.

한편 데이터수집엠씨유(10)는 통신 가능 판정시 표시부(51)에 ”192.168.1.46 OK" 표시 하며, 생성된 IP주소정보와 메모리(13)에 저장된 맥어드레스정보를 함께 네트워크를 통해 데이터수집관리서버(40)로 송신한다(S17).Meanwhile, the data collection MCU 10 displays “192.168.1.46 OK” on the display unit 51 when it is determined that communication is possible, and collects and manages the generated IP address information and the MAC address information stored in the memory 13 together through the network. It is transmitted to the server 40 (S17).

제어부(11)는 데이터수집프로그램을 실행하고, 주변장치(12)와 표시부(51)를 제어하는 등의 기능을 수행한다.The control unit 11 executes a data collection program and performs functions such as controlling the peripheral device 12 and the display unit 51 .

표시부(51)는 위에서 설명한 통신불가능메시지 또는 후술하는 메시지IP주소 사용불가 메시지를 사용자에게 표시하기 위한 것으로서, 발광다이오드(LED) 등을 사용하여 구현할 수 있다.The display unit 51 is for displaying the communication impossible message described above or the message IP address unavailable message to be described later to the user, and may be implemented using a light emitting diode (LED) or the like.

각 주소설정신호생성부(20)는 데이터수집엠씨유(10)의 SPI통신모듈(12b)에 연결되어 있다.Each address setting signal generator 20 is connected to the SPI communication module 12b of the data collection MCU 10 .

각 주소설정신호생성부(20)는 단자순서가 정해져 있는 복수의 스위치조작신호입력단자(20a)를 갖고 있다.Each address setting signal generating unit 20 has a plurality of switch operation signal input terminals 20a whose terminal order is determined.

스위치조작신호입력단자(20a)에는 외부 즉, 주소설정조작부(30)로부터 전압펄스가 입력된다.A voltage pulse is input to the switch operation signal input terminal 20a from the outside, that is, the address setting operation unit 30 .

주소설정신호생성부(20)는 단자순서에 대응하는 비트순서와 전압펄스가 입력되는 스위치조작신호입력단자에 대응하는 비트값은 1이 되고 전압펄스가 입력되지 않는 스위치조작신호입력단자에 대응하는 비트값은 0이 되는 펄스열 형태의 주소설정신호를 생성하여 데이터수집엠씨유(10)로 출력한다.The address setting signal generating unit 20 has a bit sequence corresponding to the terminal sequence and a bit value corresponding to the switch operation signal input terminal to which the voltage pulse is input becomes 1, and corresponds to the switch operation signal input terminal to which the voltage pulse is not input. The bit value generates an address setting signal in the form of a pulse string that becomes 0 and outputs it to the data collection MCU 10 .

이러한 구성을 갖는 주소설정신호생성부(20)는 8개의 병렬입력단자(21a), 1개의 직렬입력단자(21c) 및 1개의 직렬출력단자(21b)를 갖는 제1시프트레지스터(21)와, 8개의 병렬입력단자(22a) 및 1개의 직렬출력단자(22b)를 갖는 제2시프트레지스터(22)를 사용하여 구현할 수 있다. 제1시프트레지스터(21)와 제1시프트레지스터(21)의 병렬입력단자(21a, 22a)는 스위치조작신호입력단자(20a)의 기능을 수행한다.The address setting signal generator 20 having such a configuration includes a first shift register 21 having eight parallel input terminals 21a, one serial input terminal 21c and one serial output terminal 21b; It can be implemented using the second shift register 22 having eight parallel input terminals 22a and one serial output terminal 22b. The first shift register 21 and the parallel input terminals 21a and 22a of the first shift register 21 function as the switch operation signal input terminal 20a.

제1시프트레지스터(21)와 제2시프트레지스터(22)는 각각 Vcc단자를 통해 전압공급장치(202)로부터 동작전압이 인가된다. 제1시프트레지스터(21)와 제2시프트레지스터(22)는 각각 TEXAS INSTRUMENTS의 SN74HC165 시프트 레지스터칩 등을 사용하여 구현할 수 있다.An operating voltage is applied to the first shift register 21 and the second shift register 22 from the voltage supply device 202 through the Vcc terminal, respectively. The first shift register 21 and the second shift register 22 may be implemented using an SN74HC165 shift register chip of TEXAS INSTRUMENTS, respectively.

제1시프트레지스터(21)의 직렬입력단자(21c)에는 제2시프트레지스터(22)의 직렬출력단자(22b)가 연결된다.The serial output terminal 22b of the second shift register 22 is connected to the serial input terminal 21c of the first shift register 21 .

제1시프트레지스터(21)와 제2시프트레지스터(22)의 CLK INH단자 및 제2시프트레지스터(22)의 직렬입력단자는 접지된다.The CLK INH terminal of the first shift register 21 and the second shift register 22 and the serial input terminal of the second shift register 22 are grounded.

CLK INH단자가 접지됨에 따라 CLOCK ENABLE 상태가 되고, 이에 따라 제1시프트레지스터(21)의 직렬출력단자(21b)와 제2시프트레지스터(22)의 직렬출력단자(22b)를 통해 펄스열이 출력될 수 있게 된다.As the CLK INH terminal is grounded, it becomes a CLOCK ENABLE state, and accordingly, a pulse train is output through the serial output terminal 21b of the first shift register 21 and the serial output terminal 22b of the second shift register 22. be able to

제1시프트레지스터(21)와 제2시프트레지스터(22)의 CLK입력단자는 SPI통신모듈(12b)의 동기화 신호선(CLK)에,

Figure 112020030269433-pat00001
단자는 SPI통신모듈(12b)의 슬레이브선택 신호선(SS)에, 제1시프트레지스터(21)의 QH 단자(직렬출력단자)는 SPI통신모듈(12b)의 슬레이브출력마스터입력신호선(MISO)에 각각 연결된다.The CLK input terminals of the first shift register 21 and the second shift register 22 are connected to the synchronization signal line CLK of the SPI communication module 12b,
Figure 112020030269433-pat00001
The terminal is connected to the slave selection signal line (SS) of the SPI communication module 12b, and the Q H terminal (serial output terminal) of the first shift register 21 is connected to the slave output master input signal line (MISO) of the SPI communication module 12b. each is connected

위와 같이 제1시프트레지스터(21) 및 제2시프트레지스터(22)가 데이터수집엠씨유(10)에 연결됨에 따라 데이터수집엠씨유(10)와 제1시프트레지스터(21)와 제2시프트레지스터(22)는 SPI통신방식에 따라 데이터를 송수신할 수 있게 된다.As above, as the first shift register 21 and the second shift register 22 are connected to the data collection MCEU 10, the data collection MCEU 10, the first shift register 21, and the second shift register ( 22) can transmit and receive data according to the SPI communication method.

즉, 데이터수집엠씨유(10)에서 제1시프트레지스터(21)와 제2시프트레지스터(22)로 동기클럭이 송신되고,

Figure 112020030269433-pat00002
의 값이 로우일 때 제1시프트레지스터(21)와 제2시프트레지스터(22)에서는 후술하는 스위치조작신호입력단자에 인가되는 전압펄스 값의 로딩동작이 일어나고
Figure 112020030269433-pat00003
의 값이 하이일 때 로딩된 전압펄스값들의 시프트 동작이 일어나 스위치조작신호입력단자에 인가되는 전압펄스 값들이 데이터수집엠씨유(10)로 전달된다. 이에 따라 제1시프트레지스터(21)에서 QH 단자(직렬출력단자)를 통해 데이터수집엠씨유(10)에 데이터(펄스열 형태의 주소설정신호)가 송신될 수 있다.That is, the synchronous clock is transmitted from the data collection MCU 10 to the first shift register 21 and the second shift register 22,
Figure 112020030269433-pat00002
When the value of is low, the loading operation of the voltage pulse value applied to the switch operation signal input terminal, which will be described later, occurs in the first shift register 21 and the second shift register 22 .
Figure 112020030269433-pat00003
When the value of is high, a shift operation of the loaded voltage pulse values occurs, and the voltage pulse values applied to the switch operation signal input terminal are transferred to the data collection MCU 10 . Accordingly, data (address setting signal in the form of a pulse train) may be transmitted from the first shift register 21 to the data collection MCU 10 through the Q H terminal (serial output terminal).

제1시프트레지스터(21)와 제2시프트레지스터(22)에서 펄스열 형태의 주소설정신호가 생성되어 데이터수집엠씨유(10)로 출력하는 과정의 타이밍도는 도5와 같다.A timing diagram of a process in which an address setting signal in the form of a pulse train is generated in the first shift register 21 and the second shift register 22 and output to the data collection MCU 10 is shown in FIG. 5 .

주소설정조작부(30)는 스위치조작신호입력단자(20a)에 일 대 일로 연결된 온오프스위치(31)와, 각 온오프스위치(31)와 접지 사이에 하나씩 설치된 풀다운저항(32)을 갖고 있다.The address setting operation unit 30 has an on-off switch 31 connected one-to-one to the switch operation signal input terminal 20a, and a pull-down resistor 32 installed between each on-off switch 31 and the ground one by one.

온오프스위치(31)는 DIP스위치, 푸쉬버튼 스위치 등을 사용하여 구현할 수 있다.The on/off switch 31 may be implemented using a DIP switch, a push button switch, or the like.

온오프스위치(31)의 일측은 전압공급장치(202)에 연결된다.One side of the on/off switch 31 is connected to the voltage supply device 202 .

이러한 구성을 갖는 주소설정조작부(30)에 따르면 온상태로 조작된 온오프스위치에 연결된 스위치조작신호입력단자에는 전압펄스가 인가되고 오프상태로 조작된 온오프스위치에 연결된 스위치조작신호입력단자에는 전압펄스가 인가되지 않게 되므로, 온오프스위치(31)의 온오프조작을 통해 주소설정신호의 각 비트값, 즉 IP주소를 선택할 수 있게 된다.According to the address setting operation unit 30 having such a configuration, a voltage pulse is applied to the switch operation signal input terminal connected to the on-off switch operated in the on state, and a voltage is applied to the switch operation signal input terminal connected to the on-off switch operated in the off state. Since the pulse is not applied, each bit value of the address setting signal, that is, the IP address, can be selected through the on-off operation of the on-off switch 31 .

데이터수집관리서버(40)는 데이터베이스(41)와, 네트워크에 연결된 TCP/IP통신모듈(12a)을 갖고 있다.The data collection management server 40 has a database 41 and a TCP/IP communication module 12a connected to a network.

데이터베이스(41)에는 엠씨유관리정보와 사용가능IP주소정보가 저장되어 있다.The database 41 stores MCU management information and usable IP address information.

엠씨유관리정보는 데이터수집명령(데이터수집시간, 데이터수집주기 등), 데이터수집엠씨유(10) 각각에 대한 맥어드레스, 데이터수집엠씨유(10) 각각에 대한 IP주소, 데이터수집엠씨유(10) 상호간을 구별하기 위한 엠씨유식별번호를 포함할 수 있다. 엠씨유식별번호는 공통번호와 가지번호를 포함할 수 있다.The MCU management information includes a data collection command (data collection time, data collection cycle, etc.), a MAC address for each data collection MCU 10, an IP address for each data collection MCU 10, and a data collection MCU ( 10) It may include an MCU identification number to distinguish each other. The MCU identification number may include a common number and a branch number.

엠씨유관리정보는 도7에 도시된 바와 같이 테이블형태로 저정될 수 있다.The MCU management information may be stored in the form of a table as shown in FIG. 7 .

사용가능IP주소정보는 데이터수집엠씨유(10)에 부여할 수 있도록 계획된 IP주소를 의미한다.The usable IP address information means an IP address planned to be given to the data collection MCU 10 .

각 데이터수집엠씨유(10)에서 신규 IP주소가 송신될 때 데이터수집관리서버(40)에서의 처리과정을 도6을 참조하여 설명하면 다음과 같다.When a new IP address is transmitted from each data collection MCU 10, the processing process in the data collection management server 40 will be described with reference to FIG. 6 as follows.

먼저 데이터수집엠씨유(10)로부터 네트워크를 통해 수신된 IP주소가 계획된 IP주소에 해당하는 지 여부를 판단한다(S18).First, it is determined whether the IP address received through the network from the data collection MCU 10 corresponds to the planned IP address (S18).

판단결과 계획된 IP주소에 해당하지 않는 경우 데이터수집관리서버(40)는 데이터베이스(41)에 IP주소를 업데이트하지 않고 사용불가능이라는 메시지를 데이터수집엠씨유(10)에 전송한다(S19).If the determination result does not correspond to the planned IP address, the data collection management server 40 does not update the IP address in the database 41 and transmits a message stating that it cannot be used to the data collection MCU 10 (S19).

사용불가능 메시지를 받은 데이터수집엠씨유(10)는 표시부(51)에 사용불가능에러메시지를 IP주소와 함께 표시하고(S20), 주소설정신호생성부(20)로부터 펄스열이 SPI통신모듈(12b)로 입력되는 지 여부를 다시 감시한다.The data collection MCU 10 receiving the unusable message displays the unusable error message on the display unit 51 together with the IP address (S20), and the pulse string from the address setting signal generating unit 20 is sent to the SPI communication module 12b. It is monitored again whether it is input as .

한편 판단결과 계획된 IP주소에 해당하는 경우 IP주소를 데이터베이스(41)에 INSERT, UPDATE(SQL 명령어)한다(S21). 여기서 IP주소의 업데이트는 맥어드레스에 대응하도록 이루어진다.On the other hand, if the determination result corresponds to the planned IP address, INSERT, UPDATE (SQL command) the IP address into the database 41 (S21). Here, the update of the IP address is made to correspond to the MAC address.

다음에 사용자는 데이터베이스(41)의 엠씨유관리정보테이블에 맥어드레스와 IP주소에 해당되는 데이터수집엠씨유번호, 데이터수집명령을 UPDATE한다(S22).Next, the user updates the data collection MCU number and data collection command corresponding to the MAC address and IP address in the MCU management information table of the database 41 (S22).

데이터베이스(41)는 데이터베이스 스케즐러를 이용하여 맥어드레스와 IP주소에 UPDATE된 데이터수집명령을 데이터수집엠씨유(10)에 전송한다.The database 41 transmits the data collection command updated to the MAC address and IP address to the data collection MCU 10 using the database scheduler.

데이터수집명령을 받은 데이터수집엠씨유(10)는 데이터수집명령을 센서(201)전송하여 응답을 기다린다.The data collection MCU 10 that has received the data collection command transmits the data collection command to the sensor 201 and waits for a response.

센서(201)로부터 응답(센싱데이터)이 오면 데이터수집엠씨유(10)는 IP주소와 센싱데이터를 데이터수집관리서버(40)에 정보를 전송한다.When a response (sensing data) is received from the sensor 201 , the data collection MCU 10 transmits the IP address and the sensing data to the data collection management server 40 .

데이터수집관리서버(40)는 TCP/IP통신모듈(도시되지 않음)을 통해 각 데이터수집엠씨유(10)로 데이터수집명령을 송신한다.The data collection management server 40 transmits a data collection command to each data collection MCU 10 through a TCP/IP communication module (not shown).

데이터수집관리서버(40)는 각 데이터수집엠씨유(10)에서 송신되는 센싱데이터를 TCP/IP통신모듈을 통해 수신하여 데이터베이스(41)에 저장한다.The data collection management server 40 receives the sensing data transmitted from each data collection MCU 10 through the TCP/IP communication module and stores it in the database 41 .

상술한 바와 같이 본 발명의 실시예에 따르면, 펄스열 형태의 주소설정신호를 생성하여 데이터수집엠씨유(10)로 출력하는 주소설정신호생성부(20)와 복수의 온오프스위치(31)를 가지고 온오프스위치(31)의 온오프조작상태에 대응하여 전압펄스가 주소설정신호생성부(20)에 인가되거나 인가되지 않도록 동작하는 주소설정조작부(30)를 포함하도록 구성하는 한편, 데이터수집엠씨유(10)로 하여금 주소설정신호생성부(20)에서 입력되는 주소설정신호에 기초하여 자신의 IP주소를 생성하여 메모리(13)에 저장하고 생성된 IP주소정보와 맥어드레스정보를 함께 데이터수집관리서버(40)로 송신하도록 하고 데이터수집관리서버(40)로 하여금 데이터수집엠씨유(10)에서 송신된 데이터수집엠씨유(10) 각각의 IP주소를 데이터수집엠씨유(10) 각각의 맥어드레스에 대응하도록 데이터베이스(41)에 업데이트하도록 함으로써, 데이터수집엠씨유(10)를 현장에 설치한 후에 IP주소를 부여할 수 있고, IP주소변경 절차가 간단해지고, 변경된 IP주소값을 육안으로(각 온오프스위치의 온오프조작상태를 통해) 확인할 수 있다.As described above, according to the embodiment of the present invention, it has an address setting signal generator 20 that generates an address setting signal in the form of a pulse train and outputs it to the data collection MCU 10 and a plurality of on/off switches 31 . On the other hand, it is configured to include an address setting operation unit 30 that operates so that a voltage pulse is applied to or not applied to the address setting signal generation unit 20 in response to the ON/OFF operation state of the ON/OFF switch 31, while data collection MCU (10) generates its own IP address based on the address setting signal input from the address setting signal generating unit 20 and stores it in the memory 13, and collects and manages the generated IP address information and MAC address information together The data collection management server 40 sends the IP address of each data collection MCU 10 transmitted from the data collection MCU 10 to the server 40, and the MAC address of each data collection MCU 10. By updating the database 41 to correspond to the data collection MCU 10, an IP address can be assigned after the data collection MCU 10 is installed in the field, the IP address change procedure is simplified, and the changed IP address value can be visually checked (each It can be checked through the on/off operation status of the on/off switch).

그리고 데이터수집엠씨유(10)에 표시부(51)를 추가하는 한편, 네트워크상에서 통신가능 IP주소인지 여부를 확인하는 데 사용되는 PING 명령을 이용하여 자신이 생성한 IP주소가 통신가능한 IP주소인지 여부를 확인하고, 통신가능한 IP주소가 아닌 경우 표시부(51)에 통신불가능에러메시지를 표시하도록 함으로써, 데이터수집엠씨유(10)에서 생성한 IP주소가 해당 네트워크에서 사용가능한 IP주소인지 여부를 육안으로 확인할 수 있게 된다.And on the other hand, adding the display unit 51 to the data collection MCU 10, using the PING command used to check whether it is a communicable IP address on the network, whether the generated IP address is a communicable IP address , and display an uncommunicable error message on the display unit 51 if it is not a communicable IP address, so that it can be visually checked whether the IP address generated by the data collection MCU 10 is an IP address usable in the corresponding network. can be verified.

또한 데이터베이스(41)에 사용가능IP주소정보를 저장하고 데이터수집엠씨유(10)에 표시부(51)를 추가하는 한편, 데이터수집관리서버(40)로 하여금 데이터수집엠씨유(10)로부터 수신된 IP주소가 사용가능IP주소에 해당하는 지 여부를 판단하고 사용가능IP주소에 해당하지 않는 경우 사용불가능이라는 메시지를 데이터수집엠씨유(10)로 전송하도록 하고 데이터수집엠씨유(10)로 하여금 데이터수집관리서버(40)로부터 사용불가능메시지가 전송된 경우 표시부(51)에 사용불가능에러메시지를 표시하도록 함으로써, 데이터수집엠씨유(10)에서 생성한 IP주소가 해당 시스템에서 사용가능한 IP주소인지 여부를 육안으로 확인할 수 있게 된다.In addition, the available IP address information is stored in the database 41 and the display unit 51 is added to the data collection MCU 10 , while the data collection management server 40 causes the data collection MCU 10 to receive It is determined whether the IP address corresponds to the usable IP address, and if it does not correspond to the usable IP address, a message stating that it is not available is transmitted to the data collection MCU 10, and the data collection MCU 10 causes the data Whether the IP address generated by the data collection MCU 10 is an IP address usable in the system by displaying an unusable error message on the display unit 51 when an unusable message is transmitted from the collection management server 40 can be visually confirmed.

10, 110: 데이터수집엠씨유 11, 111: 제어부
12, 112: 주변장치 13, 113: 메모리
20: 주소설정신호생성부 21: 제1시프트레지스터
22: 제2시프트레지스터 30: 주소설정조작부
31: 온오프스위치 32: 풀다운저항
40, 140: 데이터수집관리서버 41, 141: 데이터베이스
51: 표시부
10, 110: data collection MCU 11, 111: control unit
12, 112: Peripherals 13, 113: Memory
20: address setting signal generator 21: first shift register
22: second shift register 30: address setting operation unit
31: on-off switch 32: pull-down resistor
40, 140: data collection management server 41, 141: database
51: display unit

Claims (3)

TCP/IP 프로토콜에 따라 데이터가 송수신되는 네트워크에 각각 연결되고 각각 소정의 설비에 설치된 센서와 통신할 수 있도록 연결되고 상기 센서에서 송신된 센싱데이터를 수신하여 상기 네트워크로 송신하는 복수의 데이터수집엠씨유와, 상기 네트워크에 연결되고 상기 데이터수집엠씨유 각각에 대한 맥어드레스가 포함된 엠씨유관리정보가 저장되어 있는 데이터베이스를 가지고 상기 데이터수집엠씨유에서 상기 네트워크로 송신한 센싱데이터를 수신하여 상기 데이터베이스에 저장하는 데이터수집관리서버를 갖는 고정IP를 이용한 설비연동관리시스템에 있어서,
상기 데이터수집엠씨유와 통신할 수 있도록 상기 데이터수집엠씨유에 하나씩 연결되고 단자순서가 정해져 있고 외부로부터 전압펄스를 입력받기 위한 복수의 스위치조작신호입력단자를 가지고 상기 단자순서에 대응하는 비트순서와 전압펄스가 입력되는 스위치조작신호입력단자에 대응하는 비트값은 1이 되고 전압펄스가 입력되지 않는 스위치조작신호입력단자에 대응하는 비트값은 0이 되는 펄스열 형태의 주소설정신호를 생성하여 상기 데이터수집엠씨유로 출력하는 주소설정신호생성부와, 상기 스위치조작신호입력단자에 일 대 일로 연결된 온오프스위치를 가지고 상기 온오프스위치를 각각 온오프 조작할 때 온상태로 조작된 온오프스위치에 연결된 스위치조작신호입력단자에는 전압펄스가 인가되고 오프상태로 조작된 온오프스위치에 연결된 스위치조작신호입력단자에는 전압펄스가 인가되지 않도록 동작하는 주소설정조작부를 포함하고:
상기 데이터수집엠씨유는 자신의 맥어드레스가 저장되어 있는 메모리를 가지고, 상기 주소설정신호생성부에서 입력되는 주소설정신호에 기초하여 자신의 IP주소를 생성하여 상기 메모리에 저장하고, 생성된 IP주소정보와 상기 메모리에 저장된 맥어드레스정보를 함께 상기 네트워크를 통해 상기 데이터수집관리서버로 송신하고;
상기 데이터수집관리서버는 상기 데이터수집엠씨유에서 송신된 데이터수집엠씨유 각각의 IP주소를 상기 데이터수집엠씨유 각각의 맥어드레스에 대응하도록 상기 데이터베이스에 업데이트하는 것을 특징으로 하는 고정IP를 이용한 설비연동관리시스템.
A plurality of data collection MCUs that are respectively connected to a network through which data is transmitted and received according to the TCP/IP protocol and are each connected to communicate with a sensor installed in a predetermined facility, receive sensing data transmitted from the sensor and transmit it to the network and, having a database connected to the network and storing MCU management information including MAC addresses for each of the data collection MCUs, receives the sensing data transmitted from the data collection MCU to the network, and stores the data in the database. In the facility linkage management system using a fixed IP having a data collection management server to store,
It is connected one by one to the data collection MCU so as to communicate with the data collection MCU, the terminal order is fixed, and has a plurality of switch operation signal input terminals for receiving voltage pulses from the outside, the bit order and voltage corresponding to the terminal order The bit value corresponding to the switch operation signal input terminal to which a pulse is input becomes 1, and the bit value corresponding to the switch operation signal input terminal to which a voltage pulse is not input becomes 0. An address setting signal in the form of a pulse train is generated to collect the data A switch operation connected to an on-off switch operated in an on state when the on-off switch is turned on and off with an address setting signal generator outputted to the MC-U and an on-off switch connected one-to-one to the switch operation signal input terminal A voltage pulse is applied to the signal input terminal and an address setting operation unit operable not to apply a voltage pulse to the switch operation signal input terminal connected to the on-off switch operated in the off state, and:
The data collection MCU has a memory in which its MAC address is stored, generates its own IP address based on the address setting signal input from the address setting signal generator, and stores the generated IP address in the memory. sending the information and the MAC address information stored in the memory together to the data collection management server through the network;
The data collection management server updates the IP address of each data collection MCU transmitted from the data collection MCU in the database to correspond to the MAC address of each of the data collection MCUs. management system.
제1항에 있어서,
상기 데이터수집엠씨유는 표시부를 더 포함하고, 네트워크상에서 통신가능 IP주소인지 여부를 확인하는 데 사용되는 PING 명령을 이용하여 자신이 생성한 IP주소가 통신가능한 IP주소인지 여부를 확인하고, 통신가능한 IP주소가 아닌 경우 상기 표시부에 통신불가능에러메시지를 표시하는 것을 특징으로 하는 고정IP를 이용한 설비연동관리시스템.
According to claim 1,
The data collection MCU further includes a display unit, and checks whether the IP address it generated is a communicable IP address by using a PING command used to check whether it is a communicable IP address on the network, and Facility interworking management system using a fixed IP, characterized in that the display unit displays a communication impossible error message when it is not an IP address.
제1항에 있어서,
상기 데이터베이스에는 상기 데이터수집엠씨유에 부여할 수 있도록 계획된 사용가능IP주소정보가 저장되어 있고;
상기 데이터수집관리서버는 상기 데이터수집엠씨유로부터 수신된 IP주소가 상기 사용가능IP주소에 해당하는 지 여부를 판단하고, 상기 사용가능IP주소에 해당하지 않는 경우 사용불가능이라는 메시지를 상기 데이터수집엠씨유로 전송하고, 상기 사용가능IP주소에 해당하는 경우 IP주소를 상기 데이터베이스에 저장하고;
상기 데이터수집엠씨유는 표시부를 더 포함하고, 상기 데이터수집관리서버로부터 사용불가능메시지가 전송된 경우 상기 표시부에 사용불가능에러메시지를 표시하는 것을 특징으로 하는 고정IP를 이용한 설비연동관리시스템.
According to claim 1,
the database stores available IP address information planned to be given to the data collection MCU;
The data collection management server determines whether the IP address received from the data collection MCU corresponds to the usable IP address, and if it does not correspond to the usable IP address, sends a message stating that it is unavailable to the data collection MC. transmitting the channel, and storing the IP address in the database if it corresponds to the available IP address;
The data collection MCU further includes a display unit, and when an unusable message is transmitted from the data collection management server, an unusable error message is displayed on the display unit.
KR1020200035021A 2020-03-23 2020-03-23 Facilities Linking Mangement System Using Fixed IP Adress KR102266711B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200035021A KR102266711B1 (en) 2020-03-23 2020-03-23 Facilities Linking Mangement System Using Fixed IP Adress

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200035021A KR102266711B1 (en) 2020-03-23 2020-03-23 Facilities Linking Mangement System Using Fixed IP Adress

Publications (1)

Publication Number Publication Date
KR102266711B1 true KR102266711B1 (en) 2021-06-18

Family

ID=76623192

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200035021A KR102266711B1 (en) 2020-03-23 2020-03-23 Facilities Linking Mangement System Using Fixed IP Adress

Country Status (1)

Country Link
KR (1) KR102266711B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007123045A (en) * 2005-10-27 2007-05-17 Matsushita Electric Works Ltd Illumination control system
KR100872180B1 (en) 2007-07-26 2008-12-09 주식회사 케이티프리텔 Apparatus, system and method for remotely upgrading the firmware of a device
KR20160070471A (en) * 2014-12-10 2016-06-20 한국전자통신연구원 Method and apparatus for allocating ip address for direct communication mobile station

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007123045A (en) * 2005-10-27 2007-05-17 Matsushita Electric Works Ltd Illumination control system
KR100872180B1 (en) 2007-07-26 2008-12-09 주식회사 케이티프리텔 Apparatus, system and method for remotely upgrading the firmware of a device
KR20160070471A (en) * 2014-12-10 2016-06-20 한국전자통신연구원 Method and apparatus for allocating ip address for direct communication mobile station

Similar Documents

Publication Publication Date Title
JP5027312B2 (en) Home network system
JP5960673B2 (en) How to configure field devices on a network
CN100373273C (en) Field maintenance tool with improved device description communication and storage
CN102307422A (en) Method for replacing a load control device of a load control system
CN101472275B (en) Address setting method and system for managing wireless appratus
CN103026661B (en) Equipment debugging and replacement
KR100885993B1 (en) Apparatus of controlling lamp for serving both as master and slave, and method thereof
KR100949814B1 (en) Monitoring system for totally remotely managing multiple uninterrupted power supplys
CN114600560B (en) Wireless debug system for DALI device
CN105629926A (en) Event generation management for an industrial controller
KR102266711B1 (en) Facilities Linking Mangement System Using Fixed IP Adress
JP2010038430A (en) Remote control system and its initial setting method
JP2006215999A (en) Data collection system
JP2006526305A (en) Home network system
CN111034126B (en) Station number setting device for network device
JP2006510974A (en) Intelligent unit location-based adaptation
JP2003151780A (en) Lighting-control receiving device, lighting-control transmitting device, and lighting control system
JP2007058394A (en) Measurement system and version upgrading method for measurement instrument
JP3496601B2 (en) Electronic device and operation state output method of electronic device
JP6952258B2 (en) Disaster prevention systems, fire receivers, and repeaters
JP2006094102A (en) Supervisory control system, and address setting method
JP2004221905A (en) Method for monitoring network system, monitoring system, repeater, and monitoring device
JP2005143055A (en) Terminal control apparatus and terminal control system
KR102096028B1 (en) Iot service device using intelligent hardware module
JP2016092677A (en) Communication system and communication device

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant