KR20160060250A - Facility control apparatus, building automation system comprising the same and method for controlling facilities - Google Patents

Facility control apparatus, building automation system comprising the same and method for controlling facilities Download PDF

Info

Publication number
KR20160060250A
KR20160060250A KR1020140161886A KR20140161886A KR20160060250A KR 20160060250 A KR20160060250 A KR 20160060250A KR 1020140161886 A KR1020140161886 A KR 1020140161886A KR 20140161886 A KR20140161886 A KR 20140161886A KR 20160060250 A KR20160060250 A KR 20160060250A
Authority
KR
South Korea
Prior art keywords
facility
equipment
program
control
unit
Prior art date
Application number
KR1020140161886A
Other languages
Korean (ko)
Other versions
KR101649659B1 (en
Inventor
이문환
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020140161886A priority Critical patent/KR101649659B1/en
Publication of KR20160060250A publication Critical patent/KR20160060250A/en
Application granted granted Critical
Publication of KR101649659B1 publication Critical patent/KR101649659B1/en

Links

Images

Classifications

    • 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/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services

Abstract

The purpose of the present invention is to provide a facility control device to randomly connect and form different facilities or equipment to one facility control device or to correct a device interface file stored in the facility control device, a building automation system including the same, and a facility control method. The facility control device comprises: one or more input and output modules connected to a facility or equipment; and a control unit to control the facility or the equipment through the input and output modules. The control unit converts a primitive program into an object program which is executable by the control unit, stores the converted program in a storage unit, and performs communications with the facility or the equipment by using the object program stored in the storage unit. The primitive program includes a network variable corresponding to at least on state information regarding the facility or the equipment or at least one control command.

Description

설비 제어 장치, 이를 포함한 빌딩 자동화 시스템 및 설비 제어 방법 {FACILITY CONTROL APPARATUS, BUILDING AUTOMATION SYSTEM COMPRISING THE SAME AND METHOD FOR CONTROLLING FACILITIES}TECHNICAL FIELD [0001] The present invention relates to a facility control apparatus, a building automation system including the facility control apparatus,

본 발명은 설비 제어 장치, 이를 포함한 빌딩 자동화 시스템 및 설비 제어 방법에 관한 것으로, 더욱 자세하게는 빌딩에 설치된 설비 또는 장비를 관제하기 위한 설비 제어 장치, 빌딩 자동화 시스템 및 설비 제어 방법에 관한 발명이다.The present invention relates to a facility control device, a building automation system including the same, and a facility control method, and more particularly, to a facility control device, a building automation system, and a facility control method for controlling facilities or equipment installed in a building.

공장에서 제품을 생산하거나, 빌딩에서 각종 시설물을 관리하기 위해서는 해당 설비 및 각 설비를 제어하기 위한 PLC(Programmable Logic Controller)나 DDC(Direct Digital Controller) 등과 같은 제어기기가 필요하다. 또한 각 설비가 정상적으로 동작하기 위해서는 각종 센서나 액츄에이터(actuator)들이 입출력 장치에 연결되어 있어야 한다.Control devices such as PLC (Programmable Logic Controller) or DDC (Direct Digital Controller) are required to control the facilities and each facility in order to produce products at the factory or manage various facilities in buildings. In addition, various sensors and actuators must be connected to the input / output device in order for each device to operate normally.

종래의 자동화 시스템에서는 필드(field)에 설치된 센서가 일대일(point-to-point)로 중앙의 제어컴퓨터에 전달되었고, 상기 제어컴퓨터에서 생성되는 제어신호도 역시 일대일로 액츄에이터에 전달되었으나, 이러한 자동화 시스템의 경우에는 시스템이 대형화되고 복잡해질수록 길게 연결되는 수많은 전선들 때문에, 배선에 소요되는 비용은 물론, 오류 발생시 시스템의 유지, 보수에 많은 노력과 비용을 필요로 하며, 중앙의 제어컴퓨터에 문제 발생시 전체 시스템이 동작불능 상태가 되는 문제가 있었다.In the conventional automation system, the sensors installed in the field are transmitted to the central control computer in a point-to-point manner, and the control signals generated by the control computer are also transmitted to the actuators on a one-to-one basis. In the case of a large-sized and complicated system, a large number of wires are connected to each other. Therefore, it takes a great deal of effort and cost to maintain and repair the system in the event of an error. There has been a problem that the entire system becomes inoperable.

이후, 마이크로프로세서 기술의 발전과 함께 분산제어기술이 소개되면서 중앙 컴퓨터에 의하여 수행되던 중앙 집중제어 기능이 여러 대의 작은 컴퓨터로 분산된 분산 시스템으로 구성하였으나, 분산 시스템에서도 역시 제어기의 프로세서와 입출력 장치가 하나의 장치로 묶여 있어 여전히 필드에 설치된 센서나 액츄에이터들과는 일대일로 연결될 수밖에 없었다.However, in a distributed system, the controller processor and the input / output device are also connected to each other in a distributed manner. It was tied up with a single device and could only be connected one-to-one with sensors or actuators installed in the field.

이를 개선하기 위해 입출력 장치를 센서나 액츄에이터에 근접해서 설치되는 형태로 변형된 필드버스(field bus) 즉, 입출력 장치가 현장에 분산된 형태가 나타났다. 필드버스는 배선을 획기적으로 간소화하고, 공정제어 및 빌딩제어에서 신속한 처리가 요구되는 다량의 데이터를 처리하기 효과적이며, 필드 디바이스(device)의 추가변경이 용이하여 시스템 구성에 유연성을 제공한다.In order to improve this, a field bus (input / output device), which is modified to be installed close to a sensor or an actuator, is provided on the field. The field bus dramatically simplifies wiring, effectively processes large amounts of data requiring rapid processing in process control and building control, and facilitates further configuration of field devices to provide flexibility in system configuration.

최근 빌딩 자동화 시스템(자동화 시스템에서 적용 대상을 한정하지 않고, 공장 자동화 시스템 등을 포함하는 개념이나 본 명세서에는 빌딩 자동화 시스템으로 약칭한다)에서 이용하는 필드버스 네트워크에는 CAN, DeviceNet, Profibus, Interbus, LonWorks 등이 있으며, 그 중 특히 LonWorks는 OSI 7계층을 모두 사용하여 인터넷에 쉽게 연결될 수 있어 인터넷을 통한 감시 및 제어가 가능하다는 장점이 있어 다양하게 응용되고, 그 중요성 역시 점차 확대되고 있다.Recently, a fieldbus network used in a building automation system (a concept including a factory automation system, etc., which is not limited to an automation system but abbreviated as a building automation system in this specification) includes CAN, DeviceNet, Profibus, Interbus, LonWorks Among them, LonWorks can be easily connected to the Internet using OSI 7 layer, so that it can be monitored and controlled through the Internet. Therefore, it is widely used and its importance is gradually increasing.

이러한 빌딩 자동화 시스템(10)은 도 1에 도시한 바와 같이, 중앙 제어 장치(100) 및 설비 제어 장치(200)를 포함할 수 있다.The building automation system 10 may include a central control device 100 and a facility control device 200, as shown in FIG.

이때, 중앙 제어 장치(100)는 빌딩종합관리시스템(BMS; Building Management System) 또는 건물 내에 설치된 설비들과 관련된 에너지를 관리하여 건물 내의 쾌적한 실내 환경을 유지하면서 에너지 성능을 높이기 위하여 사용되는 건물 에너지 관리 시스템(BEMS; Building Energy Management System)일 수 있다.At this time, the central control unit 100 manages the energy related to the building management system (BMS) or the facilities installed in the building, thereby maintaining a pleasant indoor environment in the building, System (BEMS; Building Energy Management System).

또한, 설비 제어 장치(200)는 연결되어 있는 설비(300) 또는 장비(400)를 감시 및/또는 제어할 수 있는 수단으로서, 상기 중앙 제어 장치(100)로부터 수신되는 데이터에 따라 설비(300) 또는 장비(400)를 감시 및/또는 제어할 수 있다.The facility control apparatus 200 is a means for monitoring and / or controlling the connected facility 300 or the equipment 400. The facility control apparatus 200 controls the facility 300 according to data received from the central control apparatus 100, Or monitor the equipment (400).

이때, 설비 제어 장치(200)는 설비(300) 또는 장비(400)를 제어하기 위한 DDC(Direct Digital Controller) 또는 PLC(Programmable Logic Controller)일 수 있다.The facility control apparatus 200 may be a direct digital controller (DDC) or a programmable logic controller (PLC) for controlling the facility 300 or the equipment 400.

설비(300, 300')는, 상기 빌딩 자동화 시스템(10)을 구성하는 서브 시스템으로서, 예를 들어, 에어컨, 환기, 공조기, 팬, 보일러, 냉각탑, 펌프, 온/습도센서, 냉동기, 조명기기, 전력 기기, 화재 시스템 등을 의미할 수 있다.The facilities 300 and 300 'are subsystems that constitute the building automation system 10 and can be used as a subsystem of the building automation system 10 such as an air conditioner, a ventilator, an air conditioner, a fan, a boiler, a cooling tower, a pump, , Electric power equipment, fire system, and the like.

또한, 장비(400, 400')는 예를 들어 냉각탑 시스템을 설비로 하는 경우, 냉각탑, 펌프, 온도 센서 등을 의미할 수 있다.The apparatuses 400 and 400 'may be, for example, a cooling tower, a pump, a temperature sensor, or the like in the case of a cooling tower system.

한편, 중앙 제어 장치(100)와 설비 제어 장치(200) 상호 간에는 통신을 위해 제1 네트워크(N1)에 의해 연결될 수 있고, 설비 제어 장치(200)와 설비(300) 상호 간에는 통신을 위해 제2 네트워크(N2)에 의해 연결될 수 있다.The central control apparatus 100 and the facility control apparatus 200 may be connected to each other by a first network N1 for communication and a second network N1 may be connected between the facility control apparatus 200 and the facility 300, And may be connected by a network N2.

설비(300) 및/또는 장비(400)는 도 1에 도시한 바와 같이, 제2 네트워크(N2)에 연결되어 제2 프로토콜에 따라 통신을 수행할 수 있으나, 이에 한정하지 않고, 제1 네트워크(N1)에 연결되어 제1 프로토콜에 따라 통신을 수행할 수도 있다.1, the equipment 300 and / or the equipment 400 may be connected to the second network N2 to perform communication according to the second protocol, but not limited thereto, the first network N1 to perform communication according to the first protocol.

중앙 제어 장치(100)가 설비(300) 및/또는 장비(400)와 통신을 수행하기 위해, 설비 제어 장치(200)는 게이트웨이(gateway)일 수 있고, 제1 프로토콜과 제2 프로토콜이 서로 다른 경우, 제1 프로토콜과 제2 프로토콜 상호 간에 프로토콜을 변환할 수 있다. In order for the central control apparatus 100 to communicate with the facility 300 and / or the equipment 400, the facility control apparatus 200 may be a gateway, and the first protocol and the second protocol may be different , The protocol can be switched between the first protocol and the second protocol.

이때, 제1 네트워크(N1)의 노드(node)들은 제1 프로토콜에 따라 통신을 수행하되, 일 예로, LanTalk를 프로토콜로 사용하는 LonWorks 네트워크일 수 있으며, 제2 네트워크(N2)의 노드들은 제2 프로토콜에 따라 통신을 수행하되, 일 예로, 제2 네트워크(N2)는 RS-485 따위의 직렬통신방식을 갖는 네트워크이거나 LonTalk를 프로토콜로 사용하는 LonWorks 네트워크일 수 있으나, 반드시 이에 한정하는 것은 아니다.In this case, the nodes of the first network N1 may communicate with each other according to the first protocol, for example, a LonWorks network using LanTalk as a protocol, and the nodes of the second network N2 may communicate with the second For example, the second network N2 may be a network having a serial communication scheme such as RS-485 or a LonWorks network using LonTalk as a protocol. However, the present invention is not limited thereto.

만약, 제1 프로토콜이 네트워크 변수(network variable)의 바인딩(binding)에 의한 통신방법을 지원하는 경우, 종래에는 도 2에 도시한 바와 같이, 하나의 게이트웨이에는 게이트웨이 종류에 따라 이에 대응되는 종류의 설비(300) 또는 장비(400)만 연결될 수 있었다. 일 예로, 공조기 게이트웨이(201)에는 공조기(301, 302, 303)만 연결될 수 있다.If the first protocol supports a communication method by binding a network variable, conventionally, as shown in FIG. 2, one gateway is provided with a type of facility corresponding to the type of gateway Only the apparatus 300 or the apparatus 400 could be connected. For example, only the air conditioners 301, 302, and 303 may be connected to the air conditioner gateway 201.

또한, 게이트웨이(201)에는 설비(300) 또는 장비(400)를 인식하거나 설비(300) 또는 장비(400)와 통신 등을 수행하기 위한 디바이스 인터페이스 파일을 저장하고 있으나, 이러한 디바이스 인터페이스 파일은 바이너리 파일 형태로서 수정할 수 없고, 따라서, 디바이스 인터페이스 파일 내에 주소별 기능 블록(FB; Functional Block)이나, 상기 기능 블록에 포함되어 있는 네트워크 변수(network variables)의 이름이나 타입(type) 등은 수정될 수 없는 문제가 있다.The device interface file for storing the device interface file for recognizing the equipment 300 or the equipment 400 or performing the communication with the equipment 300 or the equipment 400 is stored in the gateway 201, (FB) in the device interface file or the name or type of the network variables included in the function block can not be modified in the device interface file there is a problem.

따라서, 도 3A에 도시한 바와 같이, 게이트웨이(201)에 연결된 설비(300) 또는 장비(400)의 주소별로 기능 블록이 구성된 디바이스 인터페이스 파일(210)은 동일한 네트워크 변수 세트가 반복적으로 구성되게 된다. 구체적으로, 도 3B에 도시한 바와 같이, 디바이스 인터페이스 파일은 nviOnOff, nviMode, nviFanSpeedCmd, nviLock, ... 등을 포함한 네트워크 변수 세트와 동일한 네트워크 변수 세트가 반복하여 구성되는 문제가 있다.Therefore, as shown in FIG. 3A, the same network variable set is repeatedly configured in the device interface file 210 in which the function block is configured for each address of the facility 300 or the device 400 connected to the gateway 201. Specifically, as shown in FIG. 3B, the device interface file has a problem that a network variable set that is the same as the network variable set including nviOnOff, nviMode, nviFanSpeedCmd, nviLock, ... is repeatedly constructed.

따라서, 이러한 문제를 해결하기 위한 필요 기술이 절실히 요구되는 실정이다.Therefore, there is an urgent need for a technique for solving such a problem.

본 발명이 이루고자 하는 기술적 과제는 전술한 바와 같은 종래의 문제를 해결하기 위한 것으로서, 하나의 설비 제어 장치에 서로 다른 종류의 설비 또는 장비를 임의로 연결하여 구성하거나 설비 제어 장치에 저장된 디바이스 인터페이스 파일을 수정하기 위한 설비 제어 장치, 이를 포함하는 빌딩 자동화 시스템 및 설비 제어 방법을 제공하는 데 있다.According to an aspect of the present invention, there is provided an apparatus for controlling a device, comprising: a plurality of apparatuses, A building automation system including the same, and a facility control method.

전술한 기술적 과제를 해결하기 위한 수단으로서, 본 발명은 설비 또는 장비와 연결되는 적어도 하나의 입출력 모듈 및 상기 입출력 모듈을 통하여 상기 설비 또는 장비를 관제하는 제어부를 포함하는 설비 제어 장치에 있어서, 상기 제어부는, 원시 프로그램을 상기 제어부가 실행가능한 목적 프로그램으로 변환하여 저장부에 저장하고, 상기 저장부에 저장된 목적 프로그램을 이용하여 상기 설비 또는 장비와 통신을 수행하되, 상기 원시 프로그램은, 상기 설비 또는 장비에 대한 적어도 하나의 상태 정보 또는 적어도 하나의 제어 명령에 대응하는 네트워크 변수를 포함하는 것을 특징으로 하는 설비 제어 장치를 제공한다.According to an aspect of the present invention, there is provided a facility control apparatus including at least one input / output module connected to a facility or equipment, and a control unit controlling the facility or equipment through the input / output module, Converts the source program into an object program executable by the control unit and stores the source program in a storage unit and performs communication with the facility or equipment using an object program stored in the storage unit, At least one state information for the at least one control command, or at least one state variable for the at least one control command.

일 실시예에 따라, 상기 원시 프로그램은, 상기 네트워크 변수를 기능별로 군집화한 적어도 하나의 기능 블럭을 포함하되, 상기 기능 블럭은, 적어도 하나의 상기 네트워크 변수의 이름 및 속성을 포함할 수 있다.According to one embodiment, the primitive program includes at least one functional block that groups the network variables into functions, and the functional block may include a name and an attribute of the at least one network variable.

일 실시예에 따라, 상기 네트워크 변수의 이름 및 속성은, 상기 입출력 모듈별 또는 상기 입출력 모듈의 포트별로 구분될 수 있다.According to one embodiment, the name and the attribute of the network variable may be classified according to the input / output module or the port of the input / output module.

일 실시예에 따라, 상기 설비 제어 장치는 이더넷을 이용하여 외부 단말기와 통신하는 제1 통신부를 더 포함하되, 상기 제어부는, 상기 제1 통신부를 통해 상기 외부 단말기로부터 상기 원시 프로그램을 전송받을 수 있다.According to one embodiment, the facility control apparatus further includes a first communication unit for communicating with an external terminal using Ethernet, wherein the control unit can receive the original program from the external terminal through the first communication unit .

일 실시예에 따라, 상기 저장부는, 플래시 메모리 타입일 수 있다.According to one embodiment, the storage may be a flash memory type.

일 실시예에 따라, 상기 설비 또는 장비에 대한 관제를 수행하는 중앙 제어 장치와 데이터를 송수신하기 위한 제2 통신부를 더 포함할 수 있다.According to an exemplary embodiment, the apparatus may further include a second communication unit for transmitting and receiving data to and from a central control unit that performs the control of the facility or equipment.

일 실시예에 따라, 상기 제2 통신부는, 상기 중앙 제어 장치와 제1 프로토콜을 이용하여 통신을 수행하고, 상기 입출력 모듈은, 상기 설비 또는 장비와 제2 프로토콜을 이용하여 통신을 수행하되, 상기 제1 프로토콜과 상기 제2 프로토콜을 서로 다를 수 있다.According to an embodiment, the second communication unit performs communication using the first protocol with the central control unit, and the input / output module performs communication using the second protocol with the facility or equipment, The first protocol and the second protocol may be different from each other.

일 실시예에 따라, 상기 제1 프로토콜은, 론톡(LonTalk)일 수 있다.According to one embodiment, the first protocol may be LonTalk.

일 실시예에 따라, 상기 제어부는, 상기 원시 프로그램을 상기 목적 프로그램으로 변환하는 과정 중 또는 상기 변환된 목적 프로그램을 상기 저장부에 저장하는 과정 중 오류가 발생하면, 기 설정된 횟수만큼 반복하여 재시도할 수 있다.According to one embodiment, when an error occurs during the process of converting the source program into the destination program or during the process of storing the converted destination program in the storage unit, the control unit repeatedly performs the retry can do.

일 실시예에 따라, 상기 제어부는, 상기 변환하는 과정 또는 상기 저장하는 과정 전에 상기 저장부에 기 저장된 데이터를 백업하고, 상기 변환하는 과정 또는 상기 저장하는 과정을 상기 기 설정된 횟수만큼 오류가 발생하면, 상기 기 저장된 데이터를 상기 저장부에 복구할 수 있다.According to an embodiment, the control unit may back up data previously stored in the storage unit before the converting process or the storing process, and when the error occurs in the predetermined number of times of the converting process or the storing process , The pre-stored data can be restored to the storage unit.

일 실시예에 따라, 상기 제어부는, 상기 원시 프로그램을 상기 목적 프로그램으로 변환하는 과정 또는 상기 변환된 목적 프로그램을 상기 저장부에 저장하는 과정에 대한 진행 상태 정보를 시각 또는 청각적으로 출력할 수 있다.According to one embodiment, the control unit may visually or auditorily output progress information on a process of converting the source program into the destination program or storing the translated destination program in the storage unit .

또한, 본 발명은, 상기 일 실시예에 따른 설비 제어 장치 및 상기 설비 또는 장비에 대한 관제를 수행하는 중앙 제어 장치를 포함하는 빌딩 자동화 시스템을 제공한다.In addition, the present invention provides a building automation system including a facility control apparatus according to the above embodiment and a central control apparatus for performing a control on the facility or equipment.

또한, 본 발명은, 적어도 하나의 입출력 모듈을 통하여 상기 입출력 모듈에 연결된 설비 또는 장비를 관제하는 단계를 포함하는 설비 제어 방법에 있어서, 상기 설비 또는 장비를 관제하는 단계는, 제어부가, 원시 프로그램을 실행가능한 목적 프로그램으로 변환하여 저장부에 저장하는 단계 및 상기 제어부는, 상기 저장부에 저장된 목적 프로그램을 이용하여 상기 설비 또는 장비를 관제하는 단계를 포함하되, 상기 원시 프로그램은, 상기 설비 또는 장비에 대한 적어도 하나의 상태 정보 또는 적어도 하나의 제어 명령에 대응하는 네트워크 변수를 포함할 수 있다.Also, the present invention provides a facility control method comprising the steps of controlling a facility or equipment connected to the input / output module through at least one input / output module, wherein the step of controlling the facility or equipment comprises: Converting the program into an executable program and storing the program in a storage unit, and controlling the facility or equipment using the program stored in the storage unit, wherein the program is stored in the facility or equipment At least one state information for the at least one control command or a network variable corresponding to at least one control command.

일 실시예에 따라, 상기 원시 프로그램은, 상기 네트워크 변수를 기능별로 군집화한 적어도 하나의 기능 블럭을 포함하되, 상기 기능 블럭은, 적어도 하나의 상기 네트워크 변수의 이름 및 속성을 포함할 수 있다.According to one embodiment, the primitive program includes at least one functional block that groups the network variables into functions, and the functional block may include a name and an attribute of the at least one network variable.

일 실시예에 따라, 상기 네트워크 변수의 이름 및 속성은, 상기 입출력 모듈별 또는 상기 입출력 모듈의 포트별로 구분될 수 있다.According to one embodiment, the name and the attribute of the network variable may be classified according to the input / output module or the port of the input / output module.

일 실시예에 따라, 상기 설비 제어 방법은, 이더넷을 이용하여 통신하는 제1 통신부를 통해 외부 단말기로부터 상기 원시 프로그램을 전송받는 단계를 더 포함할 수 있다.According to an embodiment, the facility control method may further include receiving the source program from an external terminal through a first communication unit that communicates using Ethernet.

일 실시예에 따라, 상기 저장부는, 플래시 메모리 타입일 수 있다.According to one embodiment, the storage may be a flash memory type.

일 실시예에 따라, 상기 설비 또는 장비를 관제하는 단계는, 제2 통신부를 통해 중앙 제어 장치와 데이터를 송수신하여, 상기 설비 또는 장비에 대한 관제를 수행할 수 있다.According to one embodiment, the step of controlling the facility or equipment may transmit / receive data to / from the central control unit through the second communication unit, and perform the control of the facility or equipment.

일 실시예에 따라, 상기 제2 통신부는, 상기 중앙 제어 장치와 제1 프로토콜을 이용하여 통신을 수행하고, 상기 입출력 모듈은, 상기 설비 또는 장비와 제2 프로토콜을 이용하여 통신을 수행하되, 상기 제1 프로토콜과 상기 제2 프로토콜을 서로 다를 수 있다.According to an embodiment, the second communication unit performs communication using the first protocol with the central control unit, and the input / output module performs communication using the second protocol with the facility or equipment, The first protocol and the second protocol may be different from each other.

일 실시예에 따라, 상기 제1 프로토콜은, 론톡(LonTalk)일 수 있다.According to one embodiment, the first protocol may be LonTalk.

또한, 본 발명은 상기 설비 제어 방법을 실행하기 위한 컴퓨터 프로그램을 기록한 컴퓨터 판독 가능한 기록 매체를 제공한다.The present invention also provides a computer readable recording medium having recorded thereon a computer program for executing the facility control method.

이상의 본 발명에 따른 설비 제어 장치, 이를 포함하는 빌딩 자동화 시스템 및 설비 제어 방법은, 설비 제어 장치에 저장된 디바이스 인터페이스 파일, 이에 포함된 기능 블록, 네트워크 변수의 이름이나 타입 등을 수정할 수 있다.The facility control apparatus, the building automation system and the facility control method according to the present invention can modify the device interface file stored in the facility control apparatus, the function blocks included therein, and the name and type of the network variable.

이에 따라, 설비 제어 장치에 서로 다른 종류의 설비 또는 장비를 연결할 수 있고, 설비 제어 장치에 연결되는 설비 또는 장비의 연결을 임의로 구성할 수 있다.Accordingly, different types of equipments or equipments can be connected to the facility control apparatus, and the equipments or equipments connected to the facility control apparatus can be arbitrarily configured.

도 1은 본 발명의 일 실시예에 따른 빌딩 자동화 시스템의 구성을 나타내는 구성도이다.
도 2는 종래 게이트웨이에 설비가 연결된 일 예시도이다.
도 3A 및 3B는 종래 게이트웨이에 포함된 디바이스 인터페이스 파일의 구성에 대한 일 예시도이다.
도 4는 본 발명의 일 실시예에 따른 설비 제어 장치의 구성도이다.
도 5는 본 발명의 일 실시예에 따른 입출력 모듈과 설비 또는 장비 간의 연결 예시도이다.
도 6A 및 6B는 본 발명의 일 실시예에 따른 디바이스 인터페이스 파일의 구성에 대한 일 에시도이다.
도 7은 본 발명의 일 실시예에 따른 설비 제어 방법에 대한 단계별 흐름도이다.
도 8은 본 발명의 일 실시예에 따른 설비 제어 방법 중 원시 프로그램을 변환하고 저장하는 단계를 구체화한 단계별 흐름도이다.
FIG. 1 is a configuration diagram illustrating a configuration of a building automation system according to an embodiment of the present invention.
2 is a diagram illustrating an example in which a facility is connected to a conventional gateway.
3A and 3B are diagrams illustrating an example of a configuration of a device interface file included in a conventional gateway.
4 is a configuration diagram of a facility control apparatus according to an embodiment of the present invention.
5 is a diagram illustrating a connection between an input / output module and an equipment or equipment according to an embodiment of the present invention.
6A and 6B are a perspective view of a configuration of a device interface file according to an embodiment of the present invention.
FIG. 7 is a flowchart of steps of a facility control method according to an embodiment of the present invention.
FIG. 8 is a flowchart illustrating steps of converting and storing a source program among the facility control methods according to an embodiment of the present invention.

아래에는 첨부한 도면을 참조하여 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 본 발명의 실시예를 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구성될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙여 설명하기로 한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. In order to clearly explain the present invention in the drawings, parts not related to the description are omitted, and similar parts are denoted by similar reference numerals throughout the specification.

이하, 본 발명에서 실시하고자 하는 구체적인 기술내용에 대해 첨부도면을 참조하여 상세하고도 명확하게 설명하기로 한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

빌딩 자동화 시스템Building Automation System

본 발명에 따른 빌딩 자동화 시스템(10)은 건물 또는 빌딩에 배치된 설비를 제어하기 위한 빌딩 자동화 시스템일 수 있다.The building automation system 10 according to the present invention may be a building automation system for controlling facilities installed in buildings or buildings.

또한, 상기 빌딩 자동화 시스템은 자동화 시스템에서 적용 대상을 한정하지 않고, 공장 자동화 시스템 등을 포함하는 개념으로서, 본 명세서에서는 빌딩에 설치된 설비들을 제어하기 위한 빌딩 자동화 시스템을 일 예로 하여 설명하기로 한다.In addition, the building automation system is not limited to an automation system, but includes a factory automation system. In this specification, a building automation system for controlling facilities installed in a building will be described as an example.

빌딩 자동화 시스템(10)에서 설비(300) 또는 장비(400)를 관제하는 중앙 제어 장치(100)는 빌딩종합관리시스템(BMS; Building Management System) 또는 건물 내에 설치된 설비들과 관련된 에너지를 관리하여 건물 내의 쾌적한 실내 환경을 유지하면서 에너지 성능을 높이기 위하여 사용되는 건물 에너지 관리 시스템(BEMS; Building Energy Management System)일 수 있다.The central control unit 100 for controlling the facility 300 or the equipment 400 in the building automation system 10 manages the energy related to the building management system (BMS) The building energy management system (BEMS) used to enhance the energy performance while maintaining a pleasant indoor environment within the building.

도 4는 본 발명의 일 실시예에 따른 설비 제어 장치의 구성도이다.4 is a configuration diagram of a facility control apparatus according to an embodiment of the present invention.

도 4에 도시한 바와 같이, 본 발명의 일 실시예에 따른 설비 제어 장치(202)는 제어부(2021) 및 입출력 모듈(2022)를 포함하되, 이 외에, 제1 통신부(2023), 제2 통신부(2024), 저장부(2025) 및 인터페이스부(2026) 중 적어도 하나를 포함할 수 있다.4, the facility control apparatus 202 according to an embodiment of the present invention includes a control unit 2021 and an input / output module 2022. In addition to the first communication unit 2023 and the second communication unit 2022, A storage unit 2025, an interface unit 2026, and the like.

도 4에 도시한 제어 장치의 구성요소들이 필수적인 것은 아니어서, 그보다 많은 구성요소들을 갖거나 그보다 적은 구성요소들을 갖는 설비 제어 장치가 구현될 수 있음은 물론이다.It is needless to say that the components of the control apparatus shown in Fig. 4 are not essential, so that a facility control apparatus having more or fewer components can be implemented.

이하, 각 구성요소들에 대해 살펴보기로 한다.
Hereinafter, each component will be described.

입출력 모듈(2022)은 설비 제어 장치(202)가 설비(300) 및/또는 장비(400)와 통신 연결하기 위한 수단으로서, 설비(300) 또는 장비(400)를 노드로 하는 제2 네트워크는 다양한 물리적 또는 논리적 토폴로지(topology) 형태를 가질 수 있다.The input / output module 2022 is a means for communicating with the facility 300 and / or the equipment 400 by the facility control device 202. The second network having the facility 300 or the equipment 400 as a node may be various It can be in the form of a physical or logical topology.

여기서, 설비(300, 300')는, 전술한 바와 같이, 상기 빌딩 자동화 시스템(10)을 구성하는 서브 시스템으로서, 예를 들어, 에어컨, 환기, 공조기, 팬, 보일러, 냉각탑, 펌프, 온/습도센서, 냉동기, 조명기기, 전력 기기, 화재 시스템 등을 의미할 수 있다. 또한, 장비(400, 400')는, 예를 들어 냉각탑 시스템을 설비로 하는 경우, 냉각탑, 펌프, 온도 센서 등을 의미할 수 있다.As described above, the facilities 300 and 300 'are subsystems that constitute the building automation system 10, for example, an air conditioner, a ventilator, an air conditioner, a fan, a boiler, a cooling tower, A humidity sensor, a freezer, a lighting device, a power device, a fire system, and the like. The apparatuses 400 and 400 'may be, for example, a cooling tower, a pump, a temperature sensor, or the like when the cooling tower system is used as a facility.

중앙 제어 장치(100)는 하나 이상의 설비(300) 또는 장비(400)에 대한 하나 이상의 관제점을 등록하고, 상기 관제점을 이용하여 설비(300) 및/또는 장비(400)를 관제할 수 있다.The central control device 100 may register one or more point of control for one or more facilities 300 or equipment 400 and control facility 300 and / or equipment 400 using the point of control .

중앙 제어 장치(100)는 관제 프로그램을 이용하여, 등록된 관제점을 통해 설비(300) 또는 장비(400)를 제어 및/또는 감시할 수 있다.The central control device 100 can control and / or monitor the facility 300 or the equipment 400 through the registered control points using the control program.

일 예로, 설비(300)가 공조기인 경우, 중앙 제어 장치(100)는 실외기 또는 실내기의 가동 여부, 운전 모드, 온도, 습도, 풍속, 풍향 등과 같은 상태 정보를 수신하여, 디스플레이 장치를 통해 출력하거나, 사용자의 입력에 의해 상기 실외기 또는 실내기가 제어되도록 제어 명령을 실외기 또는 실내기에 전송할 수 있다.For example, when the facility 300 is an air conditioner, the central control device 100 receives status information such as whether the outdoor unit or the indoor unit is in operation, operation mode, temperature, humidity, wind speed, , And transmit the control command to the outdoor unit or the indoor unit so that the outdoor unit or the indoor unit is controlled by the user's input.

또한, 중앙 제어 장치(100)는 관제점의 적어도 일부를 등록하여 생성되는 하나 이상의 스테이션(또는 "가상의 서버")을 포함할 수 있고, 상기 각 스테이션은 사용자 입력을 통해 입력된 제어명령에 따라 등록된 일부 관제점에 대한 설비를 관제하도록 구성될 수 있다. 일 예로, 중앙 제어 장치(100)는, 건물 전체의 상황을 종합적으로 제어 및/또는 감시하는 장치로서, 상기 설비들(300, 300'), 예를 들어 기계설비, 조명, 전력, 출입 통제, 방재, 주차 관리, 시설 관리 등을 위한 별도의 단말기를 포함할 수 있다.In addition, the central control device 100 may include one or more stations (or "virtual servers") created by registering at least a portion of the points of control, It can be configured to control facilities for some registered points. As an example, the central control device 100 is a device for collectively controlling and / or monitoring the overall situation of a building. The facilities 300 and 300 ', for example, hardware, lighting, Disaster prevention, parking management, facility management, and the like.

한편, 상기 중앙 제어 장치(100)는, 상기 설비 제어 장치(200)와 제1 네트워크를 통해 서로 정보를 공유할 수 있다. 구체적으로, 설비 제어 장치(200)의 제2 통신부(2024)는 제1 프로토콜을 이용하여, 중앙 제어 장치(100)와 데이터를 송수신할 수 있다.Meanwhile, the central control apparatus 100 can share information with the facility control apparatus 200 through the first network. Specifically, the second communication unit 2024 of the facility control apparatus 200 can transmit and receive data to and from the central control apparatus 100 using the first protocol.

설비 제어 장치(200)는, 중앙 제어 장치(100)와 하나 이상의 설비(300) 또는 장비(400) 사이에 위치하여, 상기 중앙 제어 장치(100)로부터 수신되는 관제 프로그램을 실행하거나, 상기 관제 프로그램에 따른 제어 명령을 수신하여 실행함으로써, 설비(300) 및/또는 장비(400)를 관제할 수 있다.The facility control apparatus 200 is located between the central control apparatus 100 and one or more facilities 300 or 400 so as to execute a control program received from the central control apparatus 100, The equipment 300 and / or the equipment 400 can be controlled by receiving and executing the control command according to the control command.

즉, 설비 제어 장치(200)는, 설비(300) 및/또는 장비(400)를 제어하는 DDC(Direct Digital Controller) 또는 PLC(Programmable Logic Controller)일 수 있다.That is, the facility control apparatus 200 may be a DDC (Direct Digital Controller) or a PLC (Programmable Logic Controller) for controlling the facility 300 and / or the equipment 400.

또한, 설비 제어 장치(200)는 설비(300) 또는 장비(400)에 대하여 설정된 관제점을 통해, 설비(300) 또는 장비(400)에 대한 제어 명령 및/또는 설비(300) 또는 장비(400)의 상태 정보 등의 데이터를 저장하거나, 중앙 제어 장치(100) 또는 외부 단말기(미도시)로 전송할 수 있다.The facility control apparatus 200 may control the facility 300 or the equipment 400 through the control point set for the facility 300 or the equipment 400 and / , Or may transmit the data to the central control unit 100 or an external terminal (not shown).

이때, 설비 제어 장치(202)가 설비(300) 및/또는 장비(400)와 통신 연결하기 위한 입출력 모듈(2022)은 RS-232, RS-422, RS-485과 같은 직렬통신방식으로 설비(300) 및/또는 장비(400)와 연결되거나, LonTalk를 프로토콜을 사용하는 LonWorks 네트워크로 설비(300) 및/또는 장비(400)와 연결될 수 있으나, 반드시 이에 한정하는 것은 아니며, 기타 이더넷(Ethernet), PLC(Power Line Communication), PSDN(Public Switching Data Network), ISDN(Integrated Services Digital Network), ADSL(Asymmetric Digital Subscriber Line), VDSL(Very-high-data rate Digital Subscriber Line) 등의 유선 통신으로 연결될 수 있음은 물론이다. 또한, 와이브로(WIBRO), HSDPA(High Speed Downlink Packet Access)/WCDMA, 지그비(Zigbee), UWB(Ultra Wide band), 와이파이(Wireless Fidelity), 와이맥스(World Interoperability for Microwave Access), IRDA(Infrared Data Association), 무선주파수(RF: Radio Frequency), 블루투스(Bluetooth), 이동 컴퓨팅(Mobile Computing), 주파수 공용 통신(TRS: Trunked Radio System), 및 IEEE1394 등의 무선 통신으로 연결될 수도 있다.The input / output module 2022 for communicating with the facility 300 and / or the equipment 400 is connected to the facility 300 by a serial communication method such as RS-232, RS-422, and RS- The Ethernet 400 may be connected to the equipment 300 and / or the equipment 400 or may be connected to the equipment 300 and / or the equipment 400 using a LonWorks network using LonTalk protocol. However, , A Power Line Communication (PLC), a Public Switched Data Network (PSDN), an Integrated Services Digital Network (ISDN), an Asymmetric Digital Subscriber Line (ADSL), and a Very High Data Rate Digital Subscriber Line (VDSL) Of course. In addition, WIBRO, HSDPA / WCDMA, Zigbee, UWB, Wireless Fidelity, World Interoperability for Microwave Access, IRDA (Infrared Data Association ), A radio frequency (RF), a Bluetooth, a mobile computing, a trunked radio system (TRS), and IEEE1394.

한편, 제어부(2021)는 기 저장되거나 인터페이스부를 통해 사용자로부터 입력된 관제 프로그램 또는 제어 명령에 따라 입출력 모듈(2022)에 연결된 설비(300) 또는 장비(400)를 관제할 수 있다. 이때, 제어부(2021)는 설비(300) 또는 장비(400)를 관제하기 위한 일련의 명령어를 처리하거나 설비 제어 장치(202)에 포함된 구성 전반을 제어하기 위해 마이크로 컴퓨터일 수 있다.The control unit 2021 may control the facility 300 or the equipment 400 connected to the input / output module 2022 according to a control program or a control command that is stored or input from the user through the interface unit. The control unit 2021 may be a microcomputer for processing a series of commands for controlling the equipment 300 or the equipment 400 or for controlling the overall configuration included in the equipment control unit 202.

중앙 제어 장치(100) 또는 설비 제어 장치(202)가 설비(300) 또는 장비(400)를 관제하기 위해, 제어부(2021)가 설비(300) 또는 장비(400)를 인식하거나 설비(300) 또는 장비(400)와 통신 등을 수행하기 위해 디바이스 인터페이스 파일을 이용할 수 있다.The control unit 2021 recognizes the facility 300 or the equipment 400 or controls the facility 300 or the equipment 400 so that the central control apparatus 100 or the facility control apparatus 202 controls the facility 300 or the equipment 400. [ A device interface file can be used to perform communication with the device 400 and the like.

이러한 디바이스 인터페이스 파일은, 본 발명의 일 실시예에 따른 제어부(2021)가 원시 프로그램을 실행 가능한 목적 프로그램으로 변환함으로써 만들 수 있다. 즉, 고급 언어로 작성된 원시 프로그램을 제어부(2021)가 실행 가능한 목적 프로그램으로 변환할 수 있고, 변환된 디바이스 인터페이스 파일을 저장부(2025)에 저장할 수 있고, 제어부(2021)는 저장부(2025)에 저장된 디바이스 인터페이스 파일을 읽어들여, 이를 이용하여, 제어부(2021)는 설비(300) 또는 장비(400)를 관제할 수 있다.Such a device interface file can be created by the control unit 2021 according to an embodiment of the present invention by converting a source program into an executable program. The control unit 2021 can store the converted device interface file in the storage unit 2025. The control unit 2021 can store the converted device interface file in the storage unit 2025, The control unit 2021 can control the facility 300 or the equipment 400 using the read device interface file stored in the device interface file.

여기서, 디바이스 인터페이스 파일은 적어도 하나의 네트워크 변수(NV)를 포함하는 기능 블록(FB)을 적어도 하나 포함하되, 기능 블럭은 도 5에 도시한 바와 같이, 입출력 모듈(2022)별로 또는 입출력 모듈의 포트(a1, a2, b1, b2, c1, c2, d1, d2)별로 구분되어 디바이스 인터페이스 파일에 저장될 수 있다.Here, the device interface file includes at least one functional block FB including at least one network variable NV, and the functional blocks may include at least one input / output module 2022, (a1, a2, b1, b2, c1, c2, d1, d2) and stored in the device interface file.

입출력 모듈(2022)은 DI(Digital Input) 모듈, DO(Digital Output) 모듈, AI(Analogue Input) 모듈, AO(Analogue Output) 모듈, UI(Universial Input) 모듈, UO(Universial Output) 모듈 등을 포함할 수 있다.The input / output module 2022 includes a DI (Digital Input) module, a DO (Digital Output) module, an AI (Analogue Input) module, an AO (Analogue Output) module, a UI (Universial Input) module, a UO can do.

일 예로, 제1 입출력 모듈(2022a)에서 제1 내지 제3 포트(a1)와 제3 입출력 모듈(2022c)에서 제1 내지 제3 포트(c1)에 공조기의 통신선이 연결될 수 있고, 제1 입출력 모듈(2022a)에서 제4 내지 제6 포트(a2)와 제2 입출력 모듈(2022b)에서 제1 내지 제3 포트(b1)에 펌프의 통신선이 연결될 수 있으며, 제2 입출력 모듈(2022b)의 제4 내지 제6 포트(b2)와 제4 입출력 모듈(2022d)의 제1 내지 제6 포트(d1, d2)에 보일러의 통신선이 연결될 수 있다.For example, the communication line of the air conditioner may be connected to the first to third ports c1 in the first to third port a1 and the third input / output module 2022c in the first input / output module 2022a, The communication line of the pump can be connected to the first to third port b1 in the fourth to sixth port a2 and the second input and output module 2022b in the module 2022a, The communication line of the boiler may be connected to the first to sixth ports b1 to d4 of the fourth to sixth port b2 and the fourth to sixth ports d1 and d2 of the fourth input / output module 2022d.

이에 따라, 디바이스 인터페이스 파일은 서로 다른 종류의 설비(300) 또는 장비(400)에 대한 기능 블럭을 포함할 수 있다.Accordingly, the device interface file may include functional blocks for equipment 300 or equipment 400 of different kinds.

일 예로, 도 6A에 도시한 바와 같이, 디바이스 인터페이스 파일은 공조기, 보일러 및 펌프 각각에 대한 기능 블럭을 포함할 수 있고, 디바이스 인터페이스 파일의 제1 기능 블록(FB #1)에는 공조기에 대한 제어 명령을 수행하거나 공조기의 상태 정보를 획득하기 위해 함께 사용되는 네트워크 변수 세트인 nviOnOff, nviFanSpeed, nviLock, nviSetPoint 등을 포함할 수 있고, 제2 기능 블록(FB #2) 에는 보일러에 대한 제어 명령을 수행하거나 공조기의 상태 정보를 획득하기 위해 함께 사용되는 네트워크 변수 세트인 nviSpaceTemp, nviHotwaterTemp, nviTempSelection, nviHotwaterEnable, nviHeater 등을 포함할 수 있으며, 제3 기능 블록(FB #3)에는 펌프에 대한 제어 명령을 수행하거나 공조기의 상태 정보를 획득하기 위해 함께 사용되는 네트워크 변수 세트인 nviOnOff, nvoOnOff, nvoError 등을 포함할 수 있다.6A, the device interface file may include functional blocks for each of the air conditioner, the boiler, and the pump, and the first functional block (FB # 1) of the device interface file may include control commands for the air conditioner NviOnOff, nviFanSpeed, nviLock, nviSetPoint, etc., which are used together to obtain the state information of the air conditioner, or to execute a control command for the boiler in the second function block (FB # 2) NviHotwaterTemp, nviTempSelection, nviHotwaterEnable, and nviHeater, which are used together to obtain the state information of the air conditioner, and the third functional block FB # NvoOnOff, nvoOnOff, nvoError, etc. which are used together to obtain status information of the network The.

따라서, 원시 프로그램은 서로 다른 종류의 설비(300) 또는 장비(400)에 대한 적어도 하나의 상태 정보 또는 적어도 하나의 제어 명령에 대응하는 네트워크 변수를 포함할 수 있고, 이때, 네트워크 변수들은 기능별로 군집화된 적어도 하나의 기능 블록으로 저장되되, 입출력 모듈(2022)별로 또는 입출력 모듈의 포트(a1, a2, b1, b2, c1, c2, d1, d2)별로 구분되어 저장될 수 있다.Thus, the source program may include at least one state information for different types of equipment 300 or equipment 400, or network variables corresponding to at least one control command, wherein the network variables are grouped by function And may be separately stored for each of the input / output modules 2022 or the ports a1, a2, b1, b2, c1, c2, d1, and d2 of the input / output module.

이때, 상기 네트워크 변수는 네트워크 변수의 인덱스(index), 이름(name) 및 속성(type) 등을 포함할 수 있다. 여기서, 속성은 사용자가 임의로 정의할 수 있으나, 표준화된 SNVT(Standard Network Variable Type)로 설정될 수 있다.At this time, the network variable may include an index, a name, an attribute, and the like of a network variable. Here, the attribute can be arbitrarily defined by the user, but may be set to a standardized SNVT (Standard Network Variable Type).

사용자는 설비(300) 또는 장비(400)를 정의하는 기능 블록(FB)을 입출력 모듈(2022)에 연결되는 설비(300) 또는 장비(400)에 따라 임의로 구성하거나, 네트워크 변수(NV)의 이름이나 속성 등을 임의로 설정할 수 있다.The user may arbitrarily configure the facility 300 or the function block FB defining the equipment 400 according to the facility 300 or the equipment 400 connected to the input / output module 2022, And attributes can be arbitrarily set.

즉, 사용자는 고급 언어 형태로 설정하여 저장한 원시 프로그램을 본 발명의 일 실시예에 따른 설비 제어 장치(202)에 제공하면, 제어부(2021)는 상기의 원시 프로그램을 제어부(2021)가 실행가능한 목적 프로그램으로 변환하여, 설비 제어 장치(202)는 이에 연결된 설비(300) 또는 장비(400)의 구성에 맞는 적응형 설비 제어 장치가 될 수 있고, 역으로, 설비 제어 장치(202)에 설비(300) 또는 장비(400)의 연결 구성을 임의로 하고, 그에 맞는 원시 프로그램을 작성할 수 있다.That is, when the user provides the source program set and stored in the high-level language form to the facility control apparatus 202 according to an embodiment of the present invention, the control unit 2021 controls the control unit 2021 to execute the source program, The facility control device 202 may be an adaptive facility control device adapted to the configuration of the equipment 300 or the equipment 400 connected to the facility control device 202. Conversely, 300 or the apparatus 400, and can create a corresponding original program.

이때, 제어부(2021)는 네트워크 변수를 포함한 원시 프로그램(NV Info)을 각종 유무선 통신이 가능한 제1 통신부(2023)를 통하여 외부 단말기로부터 전송받거나, 설비 제어 장치(202)의 내외장 저장 장치로부터 읽혀질 수 있다. 일 예로, 제1 통신부(2023)는 이더넷(ethernet)을 이용하여 외부 단말기로부터 전송받은 원시 프로그램을 제어부(2021)에 전달하거나 읽기 쓰기가 가능한 저장 수단에 전달할 수 있고, 이와 달리 설비 제어 장치(202)에 포함된 메모리 리더기를 통해 사용자에 의해 탈장착 가능한 메모리로부터 읽어들여 질 수도 있다.At this time, the control unit 2021 receives the original program (NV Info) including the network variables from the external terminal through the first communication unit 2023 capable of various wired / wireless communication, or reads from the internal / external storage device of the facility control apparatus 202 . For example, the first communication unit 2023 may transmit a raw program received from an external terminal to the control unit 2021 using ethernet or may be transmitted to a storage unit capable of reading and writing. Alternatively, the facility control unit 202 May be read from a removable memory by a user via a memory reader included in the memory.

이에 따라, 제어부(2021)는 전술한 바와 같이, 상기 원시 프로그램을 제어부(2021)가 실행가능한 목적 프로그램으로 변환하여, 저장부(2025)에 저장할 수 있다.Accordingly, the control unit 2021 can convert the source program into an object program executable by the control unit 2021, and store it in the storage unit 2025, as described above.

저장부(2025)는 상기 변환된 목적 프로그램 또는 디바이스 인터페이스 파일을 저장하는 수단으로서, 상기 목적 프로그램 또는 디바이스 인터페이스 파일을 저장부(2025)에 전원의 인가 여부와 무관하게 저장을 지속할 수 있는 비휘발성인 것이 바람직하다.The storage unit 2025 stores the converted destination program or the device interface file. The storage unit 2025 stores the converted destination program or the device interface file in the storage unit 2025, .

일 예로, 저장부(2025)는 플래시 메모리 타입(flash memory type)인 것이 바람직하나, 이에 한하지 않고, 하드디스크 타입(hard disk type), SSD 타입(Solid State Disk type), SDD 타입(Silicon Disk Drive type), 멀티미디어 카드 마이크로 타입(multimedia card micro type), 카드 타입의 메모리(예를 들어 SD 또는 XD 메모리 등), EEPROM(electrically erasable programmable read-only memory), PROM(programmable read-only memory), 자기 메모리, 자기 디스크 및 광 디스크 중 적어도 하나의 타입의 저장매체일 수 있다.For example, the storage unit 2025 may be a flash memory type, but may be a hard disk type, an SSD type (Solid State Disk type), an SDD type (Silicon Disk Drive type, a multimedia card micro type, a card type memory (e.g., SD or XD memory), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM) A magnetic disk, a magnetic disk, a magnetic disk, and an optical disk.

따라서, 제어부(2021)는 상기 제어부(2021) 내부 또는 외부에 포함된 버닝(burning) 수단을 이용하여, 상기 변환된 목적 프로그램 또는 디바이스 인터페이스 파일을 비휘발성의 저장부(2025)에 저장할 수 있다.Accordingly, the control unit 2021 can store the converted object program or device interface file in the non-volatile storage unit 2025 using a burning unit included in the control unit 2021 or outside.

즉, 설비 제어 장치(202)는 비휘발성의 저장부(2025)에 데이터를 쓸 수 있는 버닝 수단(또는 버닝 장치)을 포함함으로써, 본 발명의 일 실시예에 따른 설비 제어 장치(202)는 외부의 별도의 버닝 수단을 통하지 않고, 내부에 포함된 버닝 수단을 이용하여, 상기 변환된 목적 프로그램 또는 디바이스 인터페이스 파일을 직접 비휘발성의 저장부(2025)에 버닝함으로써, 별도의 버닝 작업을 사용자에게 요구하지 않을 수 있다.In other words, the facility control device 202 includes a burning device (or a burning device) that can write data to the nonvolatile storage 2025, so that the facility control device 202 according to an embodiment of the present invention includes an external By using the burning means included therein without burning the separate burning means of the burn program, the burning means directly burns the converted target program or device interface file to the non-volatile storage unit 2025, I can not.

이때, 제어부(2021)가 상기 변환된 목적 프로그램 또는 디바이스 인터페이스 파일을 상기 버닝 수단을 통해 저장부(2025)에 저장하는 과정에서, 저장 과정이 성공적으로 완료되지 않은 경우, 제어부(2021)는 상기 변환된 목적 프로그램 또는 디바이스 인터페이스 파일을 저장부(2025)에 저장하는 과정을 기 설정된 횟수만큼 반복할 수 있다.At this time, if the control unit 2021 stores the converted destination program or device interface file in the storage unit 2025 through the burning unit, if the storage process is not completed successfully, Stored in the storage unit 2025 may be repeated a predetermined number of times.

이때, 제어부(2021)가 상기 기 설정된 횟수를 초과하여 상기 저장 과정을 시도하였으나, 상기 저장 과정을 성공적으로 완료하지 않은 경우에는, 인터페이스부(2026)를 통해 에러 메시지를 시각 또는 청각적으로 출력할 수 있다.At this time, if the controller 2021 has attempted to perform the above-mentioned storage process more than the predetermined number of times but the storage process has not been completed successfully, an error message is visually or audibly output through the interface unit 2026 .

또한, 제어부(2021)는 상기 저장 과정을 수행하기 전에, 저장부(2025)에 기 저장되어 있는 목적 프로그램 또는 디바이스 인터페이스 파일을 설비 제어 장치(202)에 포함된 저장 매체에 저장하거나, 제2 통신부(2024)를 통해 중앙 제어 장치(100) 또는 인터넷상에서 저장 기능을 수행하는 웹 스토리지(web storage)에 저장할 수 있고, 상기와 같이, 제어부(2021)가 상기 저장 과정 또는 상기 변환 과정을 기 설정된 횟수만큼 시도하였으나, 상기 저장 과정을 성공적으로 완료하지 않은 경우에는, 설비 제어 장치(202)에 포함된 저장 매체 또는 상기 웹 스토리지에 저장되어 있는 목적 프로그램 또는 디바이스 인터페이스 파일을 읽어들여, 상기 저장부(2025)에 저장할 수 있다.The control unit 2021 may also store the destination program or the device interface file stored in the storage unit 2025 in a storage medium included in the equipment control apparatus 202 before performing the storing process, May be stored in the central control apparatus 100 via the network 2024 or in a web storage functioning as a storage function on the Internet and the control unit 2021 may store the storing process or the converting process as a preset number of times The storage unit 2025 reads the target program or the device interface file stored in the storage medium included in the equipment control apparatus 202 or the web storage, ). ≪ / RTI >

한편, 본 발명의 일 실시예에 따라, 제어부(2021)는 상기 원시 프로그램을 상기 목적 프로그램으로 변환하거나, 상기 버닝 작업을 통해 상기 변환된 목적 프로그램 또는 디바이스 인터페이스 파일을 저장부(2025)에 저장하기 전에, 설비 제어 장치(200)는 현재 설비 제어 장치(200)의 진행 상태 정보를 포함하는 데이터를 제1 네트워크(N1)를 통해 중앙 제어 장치(100)에 전송하거나, 인터페이스부(2026)를 통해 상기 진행 상태 정보를 시각 또는 청각적으로 출력할 수 있다.Meanwhile, according to an embodiment of the present invention, the control unit 2021 converts the source program into the target program, or stores the converted destination program or device interface file in the storage unit 2025 through the burning operation The facility control apparatus 200 transmits data including the progress status information of the present facility control apparatus 200 to the central control apparatus 100 via the first network N1 or via the interface unit 2026 The progress status information can be output visually or audibly.

즉, 설비 제어 장치(200)가 현재 상기 원시 프로그램을 상기 목적 프로그램으로 변환하는 중인지, 상기 변환된 목적 프로그램 또는 디바이스 인터페이스 파일을 저장하는 중인지 등에 대한 진행 상태 정보를 포함하는 데이터를 상기 중앙 제어 장치(100)에 전송하거나, 인터페이스부(2026)를 통해 상기 진행 상태 정보를 시각 또는 청각적으로 출력할 수 있다.That is, data including progress status information about whether the facility control apparatus 200 is currently converting the source program into the destination program, whether the destination program or the device interface file is being stored, 100, or may output the progress status information through the interface unit 2026, either visually or audibly.

이에 따라, 중앙 제어 장치(100)는 설비 제어 장치(200)의 현재 상태를 사용자에게 제공하여, 사용자가 설비(300) 또는 장비(400)에 대한 관제를 할 수 없을 때, 설비(300) 또는 장비(400)에 대한 관제가 불가능한 이유 또는 현재 진행 상황을 알리는 것이 바람직하다.
The central control apparatus 100 provides the current state of the facility control apparatus 200 to the user so that when the user can not control the facility 300 or the apparatus 400, It is desirable to inform the reason why the control of the equipment 400 is impossible or the current progress.

한편, 본 발명의 일 실시예에 따른 설비 제어 장치(202)는 설비(300) 또는 장비(400)에 대한 관제를 수행하는 중앙 제어 장치(100)와 데이터를 송수신하기 위한 제2 통신부(2024)를 더 포함할 수 있다.The facility control device 202 according to an embodiment of the present invention includes a central control device 100 for performing control of the facility 300 or the equipment 400 and a second communication unit 2024 for transmitting / As shown in FIG.

제2 통신부(2024)는 중앙 제어 장치(100)와 TCP/IP(Transmission Control Protocol/Internet Protocol), 백넷(Building Automation & Control Network; BACnet)을 통해 서로 연결될 수 있다. The second communication unit 2024 can be connected to the central control unit 100 through a TCP / IP (Transmission Control Protocol / Internet Protocol) and a BACnet (Building Automation and Control Network).

또한, 구체적으로 CAN, DeviceNet, Profibus, Interbus, LonWorks 등을 사용할 수 있으나, 그 중 네트워크 변수를 이용하여 바인딩에 의한 통신을 수행하고, 인터넷을 통한 감시 및 제어가 가능하므로 하다는 장점이 있는 LonWorks를 사용하는 것이 바람직하다. 이때, 제1 네트워크를 통해 중앙 제어 장치(100)와 설비 제어 장치(200)가 LonWorks를 사용하는 경우, 제2 통신부(2024)는 뉴런칩(Neuron Chip)을 포함할 수 있고, 론톡(LonTalk) 프로토콜을 사용할 수 있다.In addition, CAN, DeviceNet, Profibus, Interbus, LonWorks, etc. can be used. Among them, LonWorks is used for performing communication by binding using network variables and monitoring and controlling through the Internet . In this case, when the central control apparatus 100 and the facility control apparatus 200 use the LonWorks through the first network, the second communication unit 2024 may include a neuron chip, Protocol can be used.

이에 따라, 중앙 제어 장치(100)는 제2 네트워크(N2)에 연결되어 있는 설비(300) 또는 장비(400)에 대한 관제를 수행할 수 있다.Accordingly, the central control apparatus 100 can perform the control of the equipment 300 or the equipment 400 connected to the second network N2.

구체적으로, 제2 통신부(2024)를 통해 중앙 제어 장치(100)는 설비(300) 및/또는 장비(400)에 제어 명령을 전송하거나, 제어 명령의 실행 결과, 처리 과정, 또는 설비(300, 300') 및/또는 장비(400, 400')의 각종 상태 정보 등에 대한 정보를 수신할 수 있다.The central control unit 100 transmits a control command to the facility 300 and / or the equipment 400 through the second communication unit 2024 or a process result of the control command, 300 ') and / or various status information of the equipment (400, 400').

이때, 제2 통신부(2024)를 통해, 중앙 제어 장치(100)와 설비(300) 또는 장비(400) 간에 유선 또는 무선에 의한 데이터 통신시, 제1 네트워크(N1) 및 제2 네트워크(N2) 들이 사용하는 통신 프로토콜이 서로 다른 경우, 즉, 제1 네트워크(N1)가 사용하는 제1 프토로콜과 제2 네트워크(N2)가 사용하는 제2 프로토콜이 서로 다른 경우, 두 네트워크 간의 통신이 가능하도록 제어부(2021)는 제1 프로토콜을 제2 프로토콜로, 또는 제2 프로토콜을 제1 프로토콜로 변환할 수 있다.At this time, the first network N1 and the second network N2 are connected to each other through the second communication unit 2024 during wired or wireless data communication between the central control unit 100 and the facility 300 or the equipment 400. [ When the first protocol used by the first network N1 and the second protocol used by the second network N2 are different from each other, communication between the two networks is possible The control unit 2021 can convert the first protocol to the second protocol or the second protocol to the first protocol.

이외에, 상기 중앙 제어 장치(100)는, 제2 네트워크(N2) 이외에 제1 네트워크(N1)에 연결되어 있는 설비나 장비에 대한 관제를 수행할 수도 있으며, 이때, 제1 네트워크(N1)에 연결되어 있는 설비나 장비는 제2 네트워크(N2)에서 사용하는 프로토콜을 지원하는 것이 바람직하다.
In addition, the central control unit 100 may perform control of equipment or equipment connected to the first network N1 in addition to the second network N2. At this time, the central control unit 100 may connect to the first network N1 It is preferable that the equipment or the equipment supporting the protocol used in the second network N2.

한편, 본 발명의 일 실시예에 따라, 본 발명에 따른 중앙 제어 장치(100)는 인터페이스부(2026)를 더 포함할 수 있다.Meanwhile, according to an embodiment of the present invention, the central control apparatus 100 according to the present invention may further include an interface unit 2026.

인터페이스부(2026)는 설비(300) 또는 장비(400)에 대한 상태 정보를 디스플레이 수단을 통해 출력하거나, 설비(300) 또는 장비(400)에 대한 제어명령을 사용자로부터 직접 입력받을 수 있다.The interface unit 2026 may output status information on the facility 300 or the equipment 400 through a display unit or directly receive a control command on the facility 300 or the equipment 400 from the user.

인터페이스부(2026)는 사용자로부터 제어명령을 입력받거나, 상태 정보를 출력하기 위해, 일반적으로 컴퓨터 단말기 또는 제어 터치 패널(Control Touch Panel)을 포함할 수 있다.The interface unit 2026 may include a computer terminal or a control touch panel in order to receive a control command from a user or to output status information.

또한, 인터페이스부(2026)는 HTTP(HyperText Transfer Protocol), HTTPS(HyperText Transfer Protocol over Secure Socket Layer), SMTP(Simple Mail Transfer Protocol) 등을 사용하여 XML 기반의 메세지를 네트워크 상에서 교환하는 형태의 프로토콜인 SOAP 또는 빌딩 자동화용 통신 프로토콜인 BACnet 등을 이용하여, 이동 통신 단말(미도시) 혹은 기타 단말기(미도시)를 통해 원격지의 사용자로부터 제어명령을 입력받거나, 원격의 사용자로 각종 상태 정보를 전송할 수도 있다.The interface unit 2026 is a protocol for exchanging XML-based messages on a network using HyperText Transfer Protocol (HTTP), HyperText Transfer Protocol over Secure Socket Layer (HTTPS), and Simple Mail Transfer Protocol (SMTP) A control command may be input from a remote user through a mobile communication terminal (not shown) or other terminal (not shown) by using SOAP or BACnet, which is a communication protocol for building automation, or may transmit various status information to a remote user have.

설비 제어 방법Equipment control method

도 7는 본 발명의 일 실시예에 따른 설비 제어 방법에 대한 단계별 흐름도이다.FIG. 7 is a flowchart showing steps of a facility control method according to an embodiment of the present invention.

도 7에 도시한 바와 같이, 본 발명의 일 실시예에 따른 설비 제어 방법은 적어도 하나의 입출력 모듈을 통하여 상기 입출력 모듈에 연결된 설비 또는 장비를 관제하는 단계(S100)를 포함하되, 상기 설비 또는 장비를 관제하는 단계(S100)는, 제어부가 원시 프로그램을 실행가능한 목적 프로그램으로 변환하여 저장부에 저장하는 단계(S120) 및 제어부가 상기 저장부에 저장된 목적 프로그램을 이용하여 상기 설비 또는 장비를 관제하는 단계(S130)를 포함할 수 있다.As shown in FIG. 7, the facility control method according to an embodiment of the present invention includes controlling a facility or equipment connected to the input / output module through at least one input / output module (S100) (S100), the control unit converts the original program into an executable program and stores the converted program in a storage unit (S120), and the control unit controls the facility or equipment using the object program stored in the storage unit Step S130.

이하, 도 1 내지 6을 참조하여 자세히 살펴보기로 하되, 앞선 설명과 중복되는 부분은 그에 갈음하고, 자세한 설명은 생략하기로 한다.Hereinafter, a detailed description will be given with reference to FIG. 1 to FIG. 6, but the parts overlapping with the preceding description will be omitted and a detailed description will be omitted.

설비 제어 장치(202)의 입출력 모듈(2022)은 설비 제어 장치(202)가 설비(300) 및/또는 장비(400)와 통신 연결하기 위한 수단으로서, 중앙 제어 장치(100) 및/또는 설비 제어 장치(202)는 적어도 하나의 입출력 모듈을 통하여 입출력 모듈에 연결된 설비 또는 장비를 관제할 수 있다(S100).The input / output module 2022 of the facility control apparatus 202 is a means for communicating with the facility 300 and / or the equipment 400 by connecting the facility control apparatus 202 to the central control apparatus 100 and / The device 202 may control equipment or equipment connected to the input / output module through at least one input / output module (S100).

이때, 입출력 모듈(2022)과 연결되는 제2 네트워크는 설비(300) 또는 장비(400)를 노드로 하되, 노드들간에는 다양한 물리적 또는 논리적 토폴로지(topology) 형태로 연결될 수 있다.At this time, the second network connected to the input / output module 2022 may be connected to the facility 300 or the device 400 in various physical or logical topologies among the nodes.

설비 제어 장치(202)는 직접 설비(300) 및/또는 장비(400)에 대한 관제를 수행할 수 있다.The facility control device 202 may perform the control on the direct facility 300 and / or the equipment 400. [

또한, 설비 제어 장치(200)는, 중앙 제어 장치(100)와 하나 이상의 설비(300) 또는 장비(400) 사이에 위치하여, 상기 중앙 제어 장치(100)로부터 수신되는 관제 프로그램을 실행하거나, 상기 관제 프로그램에 따른 제어 명령을 수신하여 실행함으로써, 설비(300) 및/또는 장비(400)를 관제할 수 있다.The facility control apparatus 200 is located between the central control apparatus 100 and one or more facilities 300 or 400 so as to execute a control program received from the central control apparatus 100, The facility 300 and / or the equipment 400 can be controlled by receiving and executing a control command according to the control program.

즉, 설비 제어 장치(200)는, 설비(300) 및/또는 장비(400)를 제어하는 DDC(Direct Digital Controller) 또는 PLC(Programmable Logic Controller)일 수 있다.That is, the facility control apparatus 200 may be a DDC (Direct Digital Controller) or a PLC (Programmable Logic Controller) for controlling the facility 300 and / or the equipment 400.

또한, 설비 제어 장치(200)는 설비(300) 또는 장비(400)에 대하여 설정된 관제점을 통해, 설비(300) 또는 장비(400)에 대한 제어 명령 및/또는 설비(300) 또는 장비(400)의 상태 정보 등의 데이터를 저장하거나, 중앙 제어 장치(100) 또는 외부 단말기(미도시)로 전송할 수 있다.The facility control apparatus 200 may control the facility 300 or the equipment 400 through the control point set for the facility 300 or the equipment 400 and / , Or may transmit the data to the central control unit 100 or an external terminal (not shown).

이때, 설비 제어 장치(202)가 설비(300) 및/또는 장비(400)와 통신 연결하기 위한 입출력 모듈(2022)은 RS-232, RS-422, RS-485과 같은 직렬통신방식으로 설비(300) 및/또는 장비(400)와 연결되거나, LonTalk를 프로토콜을 사용하는 LonWorks 네트워크로 설비(300) 및/또는 장비(400)와 연결될 수 있으나, 반드시 이에 한정하는 것은 아니며, 기타 다양한 유선 또는 무선 통신으로 연결될 수 있다.The input / output module 2022 for communicating with the facility 300 and / or the equipment 400 is connected to the facility 300 by a serial communication method such as RS-232, RS-422, and RS- The apparatus 400 may be connected to the apparatus 300 and / or the apparatus 400 or may be connected to the apparatus 300 and / or the apparatus 400 using a LonWorks network using the LonTalk protocol. However, Lt; / RTI >

한편, 상기 중앙 제어 장치(100)는, 상기 설비 제어 장치(200)와 제1 네트워크를 통해 서로 정보를 공유할 수 있다. 구체적으로, 설비 제어 장치(200)의 제2 통신부(2024)는 제1 프로토콜을 이용하여, 중앙 제어 장치(100)와 데이터를 송수신할 수 있다.Meanwhile, the central control apparatus 100 can share information with the facility control apparatus 200 through the first network. Specifically, the second communication unit 2024 of the facility control apparatus 200 can transmit and receive data to and from the central control apparatus 100 using the first protocol.

중앙 제어 장치(100)는 하나 이상의 설비(300) 또는 장비(400)에 대한 하나 이상의 관제점을 등록하고, 상기 관제점을 이용하여 설비(300) 및/또는 장비(400)를 관제할 수 있다. 중앙 제어 장치(100)는 관제 프로그램을 이용하여, 등록된 관제점을 통해 설비(300) 또는 장비(400)를 제어 및/또는 감시할 수 있다.The central control device 100 may register one or more point of control for one or more facilities 300 or equipment 400 and control facility 300 and / or equipment 400 using the point of control . The central control device 100 can control and / or monitor the facility 300 or the equipment 400 through the registered control points using the control program.

또한, 중앙 제어 장치(100)는 관제점의 적어도 일부를 등록하여 생성되는 하나 이상의 스테이션(또는 "가상의 서버")을 포함할 수 있고, 상기 각 스테이션은 사용자 입력을 통해 입력된 제어명령에 따라 등록된 일부 관제점에 대한 설비를 관제하도록 구성될 수 있다. 일 예로, 중앙 제어 장치(100)는, 건물 전체의 상황을 종합적으로 제어 및/또는 감시하는 장치로서, 상기 설비들(300, 300'), 예를 들어 기계설비, 조명, 전력, 출입 통제, 방재, 주차 관리, 시설 관리 등을 위한 별도의 단말기를 포함할 수 있다.In addition, the central control device 100 may include one or more stations (or "virtual servers") created by registering at least a portion of the points of control, It can be configured to control facilities for some registered points. As an example, the central control device 100 is a device for collectively controlling and / or monitoring the overall situation of a building. The facilities 300 and 300 ', for example, hardware, lighting, Disaster prevention, parking management, facility management, and the like.

전술한 바와 같이, 설비 제어 장치(202)는 중앙 제어 장치(100)와 제2 통신부(2024)에 의해 TCP/IP(Transmission Control Protocol/Internet Protocol), 백넷(Building Automation & Control Network; BACnet)을 통해 서로 연결될 수 있다. As described above, the facility control apparatus 202 transmits a TCP / IP (Transmission Control Protocol / Internet Protocol), a BACnet (BACnet), and the like by the central control apparatus 100 and the second communication unit 2024 Lt; / RTI >

또한, 구체적으로 CAN, DeviceNet, Profibus, Interbus, LonWorks 등을 사용할 수 있으나, 그 중 네트워크 변수를 이용하여 바인딩에 의한 통신을 수행하고, 인터넷을 통한 감시 및 제어가 가능하므로 하다는 장점이 있는 LonWorks를 사용하는 것이 바람직하다. 이때, 제1 네트워크를 통해 중앙 제어 장치(100)와 설비 제어 장치(200)가 LonWorks를 사용하는 경우, 제2 통신부(2024)는 뉴런칩(Neuron Chip)을 포함할 수 있고, 론톡(LonTalk) 프로토콜을 사용할 수 있다.In addition, CAN, DeviceNet, Profibus, Interbus, LonWorks, etc. can be used. Among them, LonWorks is used for performing communication by binding using network variables and monitoring and controlling through the Internet . In this case, when the central control apparatus 100 and the facility control apparatus 200 use the LonWorks through the first network, the second communication unit 2024 may include a neuron chip, Protocol can be used.

이에 따라, 중앙 제어 장치(100)는 제2 네트워크(N2)에 연결되어 있는 설비(300) 또는 장비(400)에 대한 관제를 수행할 수 있다.Accordingly, the central control apparatus 100 can perform the control of the equipment 300 or the equipment 400 connected to the second network N2.

구체적으로, 제2 통신부(2024)를 통해 중앙 제어 장치(100)는 설비(300) 및/또는 장비(400)에 제어 명령을 전송하거나, 제어 명령의 실행 결과, 처리 과정, 또는 설비(300, 300') 및/또는 장비(400, 400')의 각종 상태 정보 등에 대한 정보를 수신할 수 있다.The central control unit 100 transmits a control command to the facility 300 and / or the equipment 400 through the second communication unit 2024 or a process result of the control command, 300 ') and / or various status information of the equipment (400, 400').

이때, 제2 통신부(2024)를 통해, 중앙 제어 장치(100)와 설비(300) 또는 장비(400) 간에 유선 또는 무선에 의한 데이터 통신시, 제1 네트워크(N1) 및 제2 네트워크(N2) 들이 사용하는 통신 프로토콜이 서로 다른 경우, 즉, 제1 네트워크(N1)가 사용하는 제1 프토로콜과 제2 네트워크(N2)가 사용하는 제2 프로토콜이 서로 다른 경우, 두 네트워크 간의 통신이 가능하도록 제어부(2021)는 제1 프로토콜을 제2 프로토콜로, 또는 제2 프로토콜을 제1 프로토콜로 변환할 수 있다.At this time, the first network N1 and the second network N2 are connected to each other through the second communication unit 2024 during wired or wireless data communication between the central control unit 100 and the facility 300 or the equipment 400. [ When the first protocol used by the first network N1 and the second protocol used by the second network N2 are different from each other, communication between the two networks is possible The control unit 2021 can convert the first protocol to the second protocol or the second protocol to the first protocol.

이외에, 상기 중앙 제어 장치(100)는, 제2 네트워크(N2) 이외에 제1 네트워크(N1)에 연결되어 있는 설비나 장비에 대한 관제를 수행할 수도 있으며, 이때, 제1 네트워크(N1)에 연결되어 있는 설비나 장비는 제2 네트워크(N2)에서 사용하는 프로토콜을 지원하는 것이 바람직하다.In addition, the central control unit 100 may perform control of equipment or equipment connected to the first network N1 in addition to the second network N2. At this time, the central control unit 100 may connect to the first network N1 It is preferable that the equipment or the equipment supporting the protocol used in the second network N2.

한편, 제어부(2021)는 기 저장되거나 인터페이스부를 통해 사용자로부터 입력된 관제 프로그램 또는 제어 명령에 따라 입출력 모듈(2022)에 연결된 설비(300) 또는 장비(400)를 관제할 수 있다. 이때, 제어부(2021)는 설비(300) 또는 장비(400)를 관제하기 위한 일련의 명령어를 처리하거나 설비 제어 장치(202)에 포함된 구성 전반을 제어하기 위해 마이크로 컴퓨터일 수 있다.The control unit 2021 may control the facility 300 or the equipment 400 connected to the input / output module 2022 according to a control program or a control command that is stored or input from the user through the interface unit. The control unit 2021 may be a microcomputer for processing a series of commands for controlling the equipment 300 or the equipment 400 or for controlling the overall configuration included in the equipment control unit 202.

중앙 제어 장치(100) 또는 설비 제어 장치(202)가 설비(300) 또는 장비(400)를 관제하기 위해, 제어부(2021)가 설비(300) 또는 장비(400)를 인식하거나 설비(300) 또는 장비(400)와 통신 등을 수행하기 위해 디바이스 인터페이스 파일을 이용할 수 있다.The control unit 2021 recognizes the facility 300 or the equipment 400 or controls the facility 300 or the equipment 400 so that the central control apparatus 100 or the facility control apparatus 202 controls the facility 300 or the equipment 400. [ A device interface file can be used to perform communication with the device 400 and the like.

본 발명의 일 실시예에 따라, 상기 설비(300) 또는 장비(400)를 관제하는 단계(S100)는 제어부(2021)가 원시 프로그램을 실행 가능한 목적 프로그램으로 변환하고, 이를 저장부(2025)에 저장하는 단계(S120)를 포함할 수 있다.According to an embodiment of the present invention, the step of controlling the facility 300 or the equipment 400 may include converting the source program into a target program executable by the control unit 2021 and storing it in the storage unit 2025 (S120). ≪ / RTI >

즉, 제어부(2021)는 고급 언어로 작성된 원시 프로그램을 제어부(2021)가 실행 가능한 목적 프로그램으로 변환할 수 있고, 변환된 디바이스 인터페이스 파일을 저장부(2025)에 저장할 수 있다. 이에 따라, 제어부(2021)는 저장부(2025)에 저장된 디바이스 인터페이스 파일을 읽어들이고, 이를 이용함으로써, 제어부(2021)는 설비(300) 또는 장비(400)를 관제할 수 있다.In other words, the control unit 2021 can convert the source program created in the high-level language into the target program executable by the control unit 2021, and store the converted device interface file in the storage unit 2025. The control unit 2021 reads the device interface file stored in the storage unit 2025 and controls the device 300 or the device 400 by using the device interface file.

여기서, 디바이스 인터페이스 파일은 적어도 하나의 네트워크 변수(NV)를 포함하는 기능 블록(FB)을 적어도 하나 포함하되, 기능 블럭은 도 5에 도시한 바와 같이, 입출력 모듈(2022)별로 또는 입출력 모듈의 포트(a1, a2, b1, b2, c1, c2, d1, d2)별로 구분되어 디바이스 인터페이스 파일에 저장될 수 있다.Here, the device interface file includes at least one functional block FB including at least one network variable NV, and the functional blocks may include at least one input / output module 2022, (a1, a2, b1, b2, c1, c2, d1, d2) and stored in the device interface file.

여기서, 입출력 모듈(2022)은 DI(Digital Input) 모듈, DO(Digital Output) 모듈, AI(Analogue Input) 모듈, AO(Analogue Output) 모듈, UI(Universial Input) 모듈, UO(Universial Output) 모듈 등 중에서 적어도 하나를 포함할 수 있다.The input / output module 2022 includes a digital input module, a digital output module, an analog input module, an analog output module, a universal input module, a universal output module, As shown in FIG.

이에 따라, 디바이스 인터페이스 파일은 서로 다른 종류의 설비(300) 또는 장비(400)에 대한 기능 블럭을 포함할 수 있다.Accordingly, the device interface file may include functional blocks for equipment 300 or equipment 400 of different kinds.

일 예로, 도 6A에 도시한 바와 같이, 디바이스 인터페이스 파일은 공조기, 보일러 및 펌프 각각에 대한 기능 블럭을 포함할 수 있고, 디바이스 인터페이스 파일의 제1 기능 블록(FB #1)에는 공조기에 대한 제어 명령을 수행하거나 공조기의 상태 정보를 획득하기 위해 함께 사용되는 네트워크 변수 세트인 nviOnOff, nviFanSpeed, nviLock, nviSetPoint 등을 포함할 수 있고, 제2 기능 블록(FB #2) 에는 보일러에 대한 제어 명령을 수행하거나 공조기의 상태 정보를 획득하기 위해 함께 사용되는 네트워크 변수 세트인 nviSpaceTemp, nviHotwaterTemp, nviTempSelection, nviHotwaterEnable, nviHeater 등을 포함할 수 있으며, 제3 기능 블록(FB #3)에는 펌프에 대한 제어 명령을 수행하거나 공조기의 상태 정보를 획득하기 위해 함께 사용되는 네트워크 변수 세트인 nviOnOff, nvoOnOff, nvoError 등을 포함할 수 있다.6A, the device interface file may include functional blocks for each of the air conditioner, the boiler, and the pump, and the first functional block (FB # 1) of the device interface file may include control commands for the air conditioner NviOnOff, nviFanSpeed, nviLock, nviSetPoint, etc., which are used together to obtain the state information of the air conditioner, or to execute a control command for the boiler in the second function block (FB # 2) NviHotwaterTemp, nviTempSelection, nviHotwaterEnable, and nviHeater, which are used together to obtain the state information of the air conditioner, and the third functional block FB # NvoOnOff, nvoOnOff, nvoError, etc. which are used together to obtain status information of the network The.

따라서, 원시 프로그램은 서로 다른 종류의 설비(300) 또는 장비(400)에 대한 적어도 하나의 상태 정보 또는 적어도 하나의 제어 명령에 대응하는 네트워크 변수를 포함할 수 있고, 이때, 네트워크 변수들은 기능별로 군집화된 적어도 하나의 기능 블록으로 저장되되, 입출력 모듈(2022)별로 또는 입출력 모듈의 포트(a1, a2, b1, b2, c1, c2, d1, d2)별로 구분되어 저장될 수 있다.Thus, the source program may include at least one state information for different types of equipment 300 or equipment 400, or network variables corresponding to at least one control command, wherein the network variables are grouped by function And may be separately stored for each of the input / output modules 2022 or the ports a1, a2, b1, b2, c1, c2, d1, and d2 of the input / output module.

이때, 상기 네트워크 변수는 네트워크 변수의 인덱스(index), 이름(name) 및 속성(type) 등을 포함할 수 있다. 여기서, 속성은 사용자에 의해 임의로 정의할 수 있으나, 표준화된 SNVT(Standard Network Variable Type)로 설정될 수 있다.At this time, the network variable may include an index, a name, an attribute, and the like of a network variable. Here, the attribute can be arbitrarily defined by the user, but may be set as a standardized SNVT (Standard Network Variable Type).

본 발명의 일 실시예에 따르면, 사용자는 설비(300) 또는 장비(400)를 정의하는 기능 블록(FB)을 입출력 모듈(2022)에 연결되는 설비(300) 또는 장비(400)에 따라 임의로 구성하거나, 네트워크 변수(NV)의 이름이나 속성 등을 임의로 설정할 수 있다.According to one embodiment of the present invention, a user can arbitrarily configure the facility 300 or the function block FB defining the equipment 400 according to the facility 300 or the equipment 400 connected to the input / output module 2022 Or the name or attribute of the network variable (NV) can be arbitrarily set.

즉, 사용자는 고급 언어 형태로 설정하여 저장한 원시 프로그램을 본 발명의 일 실시예에 따른 설비 제어 장치(202)에 제공하면, 제어부(2021)는 상기의 원시 프로그램을 제어부(2021)가 실행가능한 목적 프로그램으로 변환하여, 설비 제어 장치(202)는 이에 연결된 설비(300) 또는 장비(400)의 구성에 맞는 적응형 설비 제어 장치가 될 수 있고, 역으로, 설비 제어 장치(202)에 설비(300) 또는 장비(400)의 연결 구성을 임의로 하고, 그에 맞는 원시 프로그램을 작성할 수 있다.That is, when the user provides the source program set and stored in the high-level language form to the facility control apparatus 202 according to an embodiment of the present invention, the control unit 2021 controls the control unit 2021 to execute the source program, The facility control device 202 may be an adaptive facility control device adapted to the configuration of the equipment 300 or the equipment 400 connected to the facility control device 202. Conversely, 300 or the apparatus 400, and can create a corresponding original program.

이때, 본 발명의 일 실시예에 따라, 제어부(2021)는 네트워크 변수를 포함한 원시 프로그램(NV Info)을 각종 유무선 통신이 가능한 제1 통신부(2023)를 통하여 외부 단말기로부터 전송받는 단계(S110)를 더 포함할 수 있다.At this time, according to an embodiment of the present invention, the control unit 2021 receives the original program (NV Info) including the network variables from the external terminal through the first communication unit 2023 capable of various wired / wireless communication .

그러나, 또 다른 실시예에 따라, 상기 원시 프로그램(NV Info)는 설비 제어 장치(202)의 내외장 저장 장치로부터 읽혀질 수도 있다.However, according to yet another embodiment, the raw program (NV Info) may be read from the internal and external storage of the facility control device 202. [

일 예로, 제1 통신부(2023)는 이더넷(ethernet)을 이용하여 외부 단말기로부터 전송받은 원시 프로그램을 제어부(2021)에 전달하거나 읽기 쓰기가 가능한 저장 수단에 전달할 수 있고, 이와 달리 설비 제어 장치(202)에 포함된 메모리 리더기를 통해 사용자에 의해 탈장착 가능한 메모리로부터 읽어들여 질 수도 있다.For example, the first communication unit 2023 may transmit a raw program received from an external terminal to the control unit 2021 using ethernet or may be transmitted to a storage unit capable of reading and writing. Alternatively, the facility control unit 202 May be read from a removable memory by a user via a memory reader included in the memory.

이에 따라, 제어부(2021)는 전술한 바와 같이, 상기 원시 프로그램을 제어부(2021)가 실행가능한 목적 프로그램으로 변환하여, 저장부(2025)에 저장할 수 있다.Accordingly, the control unit 2021 can convert the source program into an object program executable by the control unit 2021, and store it in the storage unit 2025, as described above.

저장부(2025)는 상기 변환된 목적 프로그램 또는 디바이스 인터페이스 파일을 저장하는 수단으로서, 상기 목적 프로그램 또는 디바이스 인터페이스 파일을 저장부(2025)에 전원의 인가 여부와 무관하게 저장을 지속할 수 있는 비휘발성인 것이 바람직하다.The storage unit 2025 stores the converted destination program or the device interface file. The storage unit 2025 stores the converted destination program or the device interface file in the storage unit 2025, .

일 예로, 저장부(2025)는 플래시 메모리 타입(flash memory type)인 것이 바람직하나, 이에 한하지 않고, 다양한 타입의 비휘발성 저장 매체일 수 있다.For example, the storage unit 2025 may be a flash memory type, but it may be various types of nonvolatile storage media.

따라서, 본 발명의 일 실시예에 따라, 목적 프로그램을 저장부에 저장하는 단계(S120)는, 제어부(2021)가 상기 제어부(2021) 내부 또는 외부에 포함된 버닝(burning) 수단을 이용하여, 상기 변환된 목적 프로그램 또는 디바이스 인터페이스 파일을 비휘발성의 저장부(2025)에 저장할 수 있다.Accordingly, according to an embodiment of the present invention, the step of storing the object program in the storage unit (S120) may be performed by the control unit 2021 using the burning means included in the control unit 2021 or outside, The converted target program or device interface file may be stored in the nonvolatile storage unit 2025.

즉, 설비 제어 장치(202)는 비휘발성의 저장부(2025)에 데이터를 쓸 수 있는 버닝 수단(또는 버닝 장치)을 포함함으로써, 본 발명의 일 실시예에 따른 설비 제어 장치(202)는 외부의 별도의 버닝 수단을 통하지 않고, 내부에 포함된 버닝 수단을 이용하여, 상기 변환된 목적 프로그램 또는 디바이스 인터페이스 파일을 직접 비휘발성의 저장부(2025)에 버닝함으로써, 별도의 버닝 작업을 사용자에게 요구하지 않을 수 있다.In other words, the facility control device 202 includes a burning device (or a burning device) that can write data to the nonvolatile storage 2025, so that the facility control device 202 according to an embodiment of the present invention includes an external By using the burning means included therein without burning the separate burning means of the burn program, the burning means directly burns the converted target program or device interface file to the non-volatile storage unit 2025, I can not.

이에 따라, 본 발명의 일 실시예에 따른 설비(300) 또는 장비(400)를 관제하는 단계(S100)는 설비 제어 장치(202) 및/또는 중앙 제어 장치(100)는 저장부(2025)에 저장된 목적 프로그램을 이용하여, 설비(300) 또는 장비(400)를 관제할 수 있다(S130).Accordingly, in step S100 of controlling the facility 300 or the equipment 400 according to the embodiment of the present invention, the facility control device 202 and / or the central control device 100 may be connected to the storage unit 2025 The facility 300 or the equipment 400 can be controlled using the stored object program (S130).

한편, 본 발명의 일 실시예에 따라, 제어부(2021)는 상기 원시 프로그램을 상기 목적 프로그램으로 변환하거나, 상기 버닝 작업을 통해 상기 변환된 목적 프로그램 또는 디바이스 인터페이스 파일을 저장부(2025)에 저장하기 전에, 설비 제어 장치(200)는 현재 설비 제어 장치(200)의 진행 상태 정보를 포함하는 데이터를 제1 네트워크(N1)를 통해 중앙 제어 장치(100)에 전송하거나, 인터페이스부(2026)를 통해 상기 진행 상태 정보를 시각 또는 청각적으로 출력할 수 있다.Meanwhile, according to an embodiment of the present invention, the control unit 2021 converts the source program into the target program, or stores the converted destination program or device interface file in the storage unit 2025 through the burning operation The facility control apparatus 200 transmits data including the progress status information of the present facility control apparatus 200 to the central control apparatus 100 via the first network N1 or via the interface unit 2026 The progress status information can be output visually or audibly.

즉, 설비 제어 장치(200)가 현재 상기 원시 프로그램을 상기 목적 프로그램으로 변환하는 중인지, 상기 변환된 목적 프로그램 또는 디바이스 인터페이스 파일을 저장하는 중인지 등에 대한 진행 상태 정보를 포함하는 데이터를 상기 중앙 제어 장치(100)에 전송하거나, 인터페이스부(2026)를 통해 상기 진행 상태 정보를 시각 또는 청각적으로 출력할 수 있다.That is, data including progress status information about whether the facility control apparatus 200 is currently converting the source program into the destination program, whether the destination program or the device interface file is being stored, 100, or may output the progress status information through the interface unit 2026, either visually or audibly.

이에 따라, 중앙 제어 장치(100)는 설비 제어 장치(200)의 현재 상태를 사용자에게 제공하여, 사용자가 설비(300) 또는 장비(400)에 대한 관제를 할 수 없을 때, 설비(300) 또는 장비(400)에 대한 관제가 불가능한 이유 또는 현재 진행 상황을 알리는 것이 바람직하다.
The central control apparatus 100 provides the current state of the facility control apparatus 200 to the user so that when the user can not control the facility 300 or the apparatus 400, It is desirable to inform the reason why the control of the equipment 400 is impossible or the current progress.

한편, 본 발명의 일 실시예에 따라, 상기 원시 프로그램을 변환하고 저장하는 단계(S120)는 도 8에 도시한 바와 같이, 제어부(2021)가 상기 원시 프로그램을 상기 목적 프로그램으로 변환하는 단계(S122), 상기 제어부(2021)가 상기 변환하는 과정(S122)을 성공하였는지 판단하는 단계(S123), 상기 제어부(2021)가 상기 변환 과정(S122)을 성공하였으면, 변환된 목적 프로그램 또는 디바이스 인터페이스 파일을 저장부(2025)에 저장하는 단계(S125) 및 상기 제어부(2021)가 상기 저장하는 과정(S125)를 성공하였는지 판단하는 단계(S126)를 포함할 수 있다.8, the step of converting and storing the source program according to an embodiment of the present invention may include converting the source program into the destination program (S122) If the control unit 2021 succeeds in the conversion step S122, the control unit 2021 determines whether the converted target program or the device interface file has been converted The step S125 of storing the data in the storage unit 2025 and the step S126 of determining whether the control unit 2021 has succeeded in the storing step S125.

이때, 상기 원시 프로그램을 변환하고 저장하는 단계(S120)는, 상기 원시 프로그램을 상기 목적 프로그램으로 변환하는 단계(S122)를 기 설정된 횟수(n)만큼 수행하였는지 판단하는 단계(S124)를 더 포함할 수 있다.At this time, the step of converting and storing the source program (S120) further includes a step (S124) of determining whether the step of converting the source program into the destination program (S122) has been performed for a preset number of times .

또한, 상기 원시 프로그램을 변환하고 저장하는 단계(S120)는, 상기 변환된 목적 프로그램 또는 디바이스 인터페이스 파일을 저장부(2025)에 저장하는 단계(S125)를 기 설정된 횟수(m)만큼 수행하였는지 판단하는 단계(S127)를 더 포함할 수 있다.Also, the step of converting and storing the source program (S120) determines whether the step S125 of storing the converted destination program or the device interface file in the storage unit 2025 has been performed for a preset number of times (m) Step S127 may be further included.

이때, 상기 변환하는 단계(S122)를 기 설정된 횟수(n)만큼 수행한 경우 또는 상기 저장하는 단계(S125)를 기 설정된 횟수(m)만큼 수행한 경우, 설비 제어 장치(202)에 포함된 저장 매체에 저장되어 있거나, 제2 통신부(2024)를 통해 중앙 제어 장치(100) 또는 인터넷상에서 저장 기능을 수행하는 웹 스토리지(web storage)에 저장되어 있는 데이터를 저장부(2025)로 복구하는 단계(S128)를 더 포함할 수 있다.If the conversion step S122 is performed for the predetermined number n or the storing step S125 is performed for the preset number m, Restoring data stored in a medium or stored in a web storage that performs a storage function on the central control apparatus 100 or the Internet via the second communication unit 2024 to the storage unit 2025 S128).

이에 따라, 본 발명의 일 실시예에 따라, 상기 원시 프로그램을 변환하고 저장하는 단계(S120)는, 원시 프로그램을 변환하는 단계(S122) 또는 변환된 프로그램을 저장부(2025)에 저장하는 단계(S125) 이전에 저장부(2025)에 기 저장되어 있는 목적 프로그램 또는 디바이스 인터페이스 파일을 설비 제어 장치(202)에 포함된 저장 매체에 저장하거나, 제2 통신부(2024)를 통해 중앙 제어 장치(100) 또는 인터넷상에서 저장 기능을 수행하는 웹 스토리지(web storage)에 저장하는 단계(S121)를 더 포함할 수 있다.Accordingly, according to an embodiment of the present invention, the step of converting and storing the source program (S120) may include the steps of converting a source program (S122) or storing the converted program in a storage unit (2025) The central control apparatus 100 stores the destination program or the device interface file previously stored in the storage unit 2025 in the storage medium included in the facility control apparatus 202, Or a web storage for performing a storage function on the Internet (S121).

한편, 제어부(2021)가 상기 변환 과정(S123) 또는 상기 저장 과정(S125)을 상기 기 설정된 횟수를 초과하여 시도하였으나, 상기 저장 과정을 성공적으로 완료하지 않은 경우에는, 인터페이스부(2026)를 통해 에러 메시지를 시각 또는 청각적으로 출력하는 단계(미도시)를 더 포함할 수 있다.
On the other hand, if the control unit 2021 has attempted the conversion process (S123) or the storing process (S125) exceeding the predetermined number of times but the storage process has not been completed successfully, (Not shown) of visually or audibly outputting an error message.

컴퓨터 판독 가능한 기록매체Computer readable recording medium

이상 설명된 본 발명의 일 실시예에 따른 설비 제어 방법은 다양한 컴퓨터 구성요소를 통하여 수행될 수 있는 프로그램 명령어의 형태로 구현되어 컴퓨터 판독 가능한 기록 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능한 기록 매체는 프로그램 명령어, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 컴퓨터 판독 가능한 기록 매체에 기록되는 프로그램 명령어는 본 발명을 위하여 특별히 설계되고 구성된 것들이나 컴퓨터 소프트웨어 분야의 당 업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능한 기록 매체의 예에는, 하드 디스크, 플로피 디스크, 및 자기 테이프와 같은 자기 매체, CD-ROM, DVD와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 ROM, RAM, 플래시 메모리 등과 같은 프로그램 명령어를 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령어의 예에는, 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드도 포함된다. 상기 하드웨어 장치는 본 발명에 따른 처리를 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.
The facility control method according to an embodiment of the present invention described above can be implemented in the form of program instructions that can be executed through various computer components and recorded on a computer-readable recording medium. The computer-readable recording medium may include program commands, data files, data structures, and the like, alone or in combination. The program instructions recorded on the computer-readable recording medium may be those specially designed and configured for the present invention or may be those known and used by those skilled in the computer software arts. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tape; optical recording media such as CD-ROMs and DVDs; magneto-optical media such as floptical disks; optical media), and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. Examples of program instructions include machine language code such as those generated 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 device may be configured to operate as one or more software modules for performing the processing according to the present invention, and vice versa.

이상에서 설명한 본 발명의 바람직한 실시예들은 기술적 과제를 해결하기 위해 개시된 것으로, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자라면 본 발명의 사상 및 범위 안에서 다양한 수정, 변경, 부가 등이 가능할 것이며, 이러한 수정 변경 등은 이하의 특허청구범위에 속하는 것으로 보아야 할 것이다.
While the preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, Such modifications and changes are to be considered as falling within the scope of the following claims.

10: 빌딩 자동화 시스템 100: 중앙 제어 장치
200, 201, 202: 설비 제어 장치 2021: 제어부
2022: 입출력 모듈 2023: 제1 통신부
2024: 제2 통신부 2025: 저장부
210: 디파이스 인터페이스 파일
211, 212, 213, 214, 216, 217, 218, 219: 기능 블록
300: 설비 301, 302, 303: 실내기
400: 장비 N1: 제1 네트워크
N2: 제2 네트워크
10: Building automation system 100: Central control device
200, 201, 202: facility control device 2021:
2022: input / output module 2023: first communication section
2024: second communication unit 2025:
210: Define interface file
211, 212, 213, 214, 216, 217, 218, 219:
300: Facilities 301, 302, 303: indoor units
400: Equipment N1: First network
N2: Second network

Claims (20)

설비 또는 장비와 연결되는 적어도 하나의 입출력 모듈; 및
상기 입출력 모듈을 통하여 상기 설비 또는 장비를 관제하는 제어부;
를 포함하는 설비 제어 장치에 있어서,
상기 제어부는, 원시 프로그램을 상기 제어부가 실행가능한 목적 프로그램으로 변환하여 저장부에 저장하고, 상기 저장부에 저장된 목적 프로그램을 이용하여 상기 설비 또는 장비와 통신을 수행하되,
상기 원시 프로그램은, 상기 설비 또는 장비에 대한 적어도 하나의 상태 정보 또는 적어도 하나의 제어 명령에 대응하는 네트워크 변수를 포함하는 것을 특징으로 하는 설비 제어 장치.
At least one input / output module connected to a facility or equipment; And
A control unit for controlling the facility or equipment through the input / output module;
A facility control apparatus comprising:
Wherein the control unit converts the source program into an object program executable by the control unit and stores the object program in a storage unit and performs communication with the facility or the equipment using the object program stored in the storage unit,
Wherein the source program comprises at least one state information for the facility or equipment or a network variable corresponding to at least one control command.
제 1 항에 있어서,
상기 원시 프로그램은, 상기 네트워크 변수를 기능별로 군집화한 적어도 하나의 기능 블럭을 포함하되,
상기 기능 블럭은, 적어도 하나의 상기 네트워크 변수의 이름 및 속성을 포함하는 것을 특징으로 하는 설비 제어 장치.
The method according to claim 1,
Wherein the original program includes at least one functional block grouping the network variables into functions,
Wherein the function block includes at least one name and an attribute of the network variable.
제 2 항에 있어서,
상기 네트워크 변수의 이름 및 속성은, 상기 입출력 모듈별 또는 상기 입출력 모듈의 포트별로 구분되는 것을 특징으로 하는 설비 제어 장치.
3. The method of claim 2,
Wherein the name and the attribute of the network variable are classified according to the input / output module or the port of the input / output module.
제 1 항에 있어서,
이더넷을 이용하여 외부 단말기와 통신하는 제1 통신부;
를 더 포함하되,
상기 제어부는, 상기 제1 통신부를 통해 상기 외부 단말기로부터 상기 원시 프로그램을 전송받는 것을 특징으로 하는 설비 제어 장치.
The method according to claim 1,
A first communication unit for communicating with an external terminal using Ethernet;
Further comprising:
Wherein the control unit receives the source program from the external terminal through the first communication unit.
제 1 항에 있어서,
상기 저장부는, 비휘발성의 플래시 메모리 타입인 것을 특징으로 하는 설비 제어 장치.
The method according to claim 1,
Wherein the storage unit is a non-volatile flash memory type.
제 5 항에 있어서,
상기 제어부는,
상기 설비 제어 장치에 포함된 버닝 수단을 이용하여, 상기 목적 프로그램을 상기 저장부에 저장하는 것을 특징으로 하는 설비 제어 장치.
6. The method of claim 5,
Wherein,
And stores the target program in the storage unit using burning means included in the facility control device.
제 1 항에 있어서,
상기 설비 또는 장비에 대한 관제를 수행하는 중앙 제어 장치와 데이터를 송수신하기 위한 제2 통신부;
를 더 포함하는 것을 특징으로 하는 설비 제어 장치.
The method according to claim 1,
A second communication unit for transmitting and receiving data to and from a central control unit for performing control of the facility or equipment;
Further comprising a control unit for controlling the facility.
제 7 항에 있어서,
상기 제2 통신부는, 상기 중앙 제어 장치와 제1 프로토콜을 이용하여 통신을 수행하고,
상기 입출력 모듈은, 상기 설비 또는 장비와 제2 프로토콜을 이용하여 통신을 수행하되,
상기 제1 프로토콜과 상기 제2 프로토콜을 서로 다른 것을 특징으로 하는 설비 제어 장치.
8. The method of claim 7,
Wherein the second communication unit performs communication using the first protocol with the central control unit,
The input / output module performs communication using the second protocol with the facility or equipment,
Wherein the first protocol and the second protocol are different from each other.
제 8 항에 있어서,
상기 제1 프로토콜은, 론톡(LonTalk)인 것을 특징으로 하는 설비 제어 장치.
9. The method of claim 8,
Wherein the first protocol is LonTalk.
제 1 항에 있어서,
상기 제어부는,
상기 원시 프로그램을 상기 목적 프로그램으로 변환하는 과정 중 또는 상기 변환된 목적 프로그램을 상기 저장부에 저장하는 과정 중 오류가 발생하면, 기 설정된 횟수만큼 반복하여 재시도하는 것을 특징으로 하는 설비 제어 장치.
The method according to claim 1,
Wherein,
Wherein the control unit repeatedly retries a predetermined number of times when an error occurs during the process of converting the source program into the destination program or during the process of storing the converted destination program in the storage unit.
제 9 항에 있어서,
상기 제어부는,
상기 변환하는 과정 또는 상기 저장하는 과정 전에 상기 저장부에 기 저장된 데이터를 백업하고, 상기 변환하는 과정 또는 상기 저장하는 과정을 상기 기 설정된 횟수만큼 오류가 발생하면, 상기 기 저장된 데이터를 상기 저장부에 복구하는 것을 특징으로 하는 설비 제어 장치.
10. The method of claim 9,
Wherein,
Backing up data previously stored in the storage unit before the converting process or the storing process, and when an error occurs by the predetermined number of times of the converting process or the storing process, the pre-stored data is stored in the storage unit And restoring the facility.
제 1 항에 있어서,
상기 제어부는,
상기 원시 프로그램을 상기 목적 프로그램으로 변환하는 과정 또는 상기 변환된 목적 프로그램을 상기 저장부에 저장하는 과정에 대한 진행 상태 정보를 시각 또는 청각적으로 출력하는 것을 특징으로 하는 설비 제어 장치.
The method according to claim 1,
Wherein,
Wherein the controller is operable to visually or acoustically output progress status information on a process of converting the source program into the destination program or a process of storing the converted destination program in the storage unit.
제 1 항 내지 제 12 항 중 어느 한 항에 따른 설비 제어 장치; 및
상기 설비 또는 장비에 대한 관제를 수행하는 중앙 제어 장치;
를 포함하는 빌딩 자동화 시스템.
A facility control apparatus according to any one of claims 1 to 12; And
A central control device for performing the control on the facility or equipment;
The system comprising:
적어도 하나의 입출력 모듈을 통하여 상기 입출력 모듈에 연결된 설비 또는 장비를 관제하는 단계;
를 포함하는 설비 제어 방법에 있어서,
상기 설비 또는 장비를 관제하는 단계는,
제어부가, 원시 프로그램을 실행가능한 목적 프로그램으로 변환하여 저장부에 저장하는 단계; 및
상기 제어부는, 상기 저장부에 저장된 목적 프로그램을 이용하여 상기 설비 또는 장비를 관제하는 단계;
를 포함하되,
상기 원시 프로그램은, 상기 설비 또는 장비에 대한 적어도 하나의 상태 정보 또는 적어도 하나의 제어 명령에 대응하는 네트워크 변수를 포함하는 것을 특징으로 하는 설비 제어 방법.
Controlling a facility or equipment connected to the input / output module through at least one input / output module;
A facility control method comprising:
The step of controlling the facility or equipment comprises:
Converting the original program into an executable program and storing the program in a storage unit; And
Controlling the facility or equipment using an object program stored in the storage unit;
, ≪ / RTI &
Wherein the source program comprises at least one state information for the facility or equipment or a network variable corresponding to at least one control command.
제 14 항에 있어서,
상기 원시 프로그램은,
상기 네트워크 변수를 기능별로 군집화한 적어도 하나의 기능 블럭을 포함하되,
상기 기능 블럭은, 적어도 하나의 상기 네트워크 변수의 이름 및 속성을 포함하는 것을 특징으로 하는 설비 제어 방법.
15. The method of claim 14,
The source program may include:
And at least one functional block grouping the network variables according to functions,
Wherein the functional block includes at least one name and an attribute of the network variable.
제 15 항에 있어서,
상기 네트워크 변수의 이름 및 속성은,
상기 입출력 모듈별 또는 상기 입출력 모듈의 포트별로 구분되는 것을 특징으로 하는 설비 제어 방법.
16. The method of claim 15,
The name and attributes of the network variable are:
Output module, and the port of the input / output module.
제 14 항에 있어서,
이더넷을 이용하여 통신하는 제1 통신부를 통해 외부 단말기로부터 상기 원시 프로그램을 전송받는 단계;
를 더 포함하는 것을 특징으로 하는 설비 제어 방법.
15. The method of claim 14,
Receiving the original program from an external terminal through a first communication unit for communicating using Ethernet;
Further comprising the steps of:
제 14 항에 있어서,
상기 저장부는, 플래시 메모리 타입인 것을 특징으로 하는 설비 제어 방법.
15. The method of claim 14,
Wherein the storage unit is a flash memory type.
제 14 항에 있어서,
상기 설비 또는 장비를 관제하는 단계는,
제2 통신부를 통해 중앙 제어 장치와 데이터를 송수신하여, 상기 설비 또는 장비에 대한 관제를 수행하는 것을 특징으로 하는 설비 제어 방법.
15. The method of claim 14,
The step of controlling the facility or equipment comprises:
And transmits and receives data to and from the central control unit through the second communication unit, and performs control of the facility or equipment.
제 19 항에 있어서,
상기 제2 통신부는, 상기 중앙 제어 장치와 제1 프로토콜을 이용하여 통신을 수행하고,
상기 입출력 모듈은, 상기 설비 또는 장비와 제2 프로토콜을 이용하여 통신을 수행하되,
상기 제1 프로토콜과 상기 제2 프로토콜을 서로 다른 것을 특징으로 하는 설비 제어 방법.
20. The method of claim 19,
Wherein the second communication unit performs communication using the first protocol with the central control unit,
The input / output module performs communication using the second protocol with the facility or equipment,
Wherein the first protocol and the second protocol are different from each other.
KR1020140161886A 2014-11-19 2014-11-19 Facility control apparatus, building automation system comprising the same and method for controlling facilities KR101649659B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140161886A KR101649659B1 (en) 2014-11-19 2014-11-19 Facility control apparatus, building automation system comprising the same and method for controlling facilities

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140161886A KR101649659B1 (en) 2014-11-19 2014-11-19 Facility control apparatus, building automation system comprising the same and method for controlling facilities

Publications (2)

Publication Number Publication Date
KR20160060250A true KR20160060250A (en) 2016-05-30
KR101649659B1 KR101649659B1 (en) 2016-08-19

Family

ID=56875161

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140161886A KR101649659B1 (en) 2014-11-19 2014-11-19 Facility control apparatus, building automation system comprising the same and method for controlling facilities

Country Status (1)

Country Link
KR (1) KR101649659B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102050312B1 (en) * 2019-03-28 2019-12-02 탑시스템주식회사 Supporting method, apparatus and computer-readable medium of multi communication type and protocol between systems using embedded cpu included in programmable logic controller
KR102097789B1 (en) * 2019-01-07 2020-04-06 성진계장 주식회사 Terminal for remote managing in building facility

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230045209A (en) 2021-09-28 2023-04-04 주식회사 케이티 Protocol gateway, method and computer program for processing facility data in building

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100780601B1 (en) * 2006-12-07 2007-11-30 주식회사 베스텍 Apparatus and method for intellectual integration auto controlling
KR20090004389A (en) * 2007-07-06 2009-01-12 청화 텔레콤 코., 엘티디. Network-based air-conditioning equipment remote monitoring and management system
KR20090035835A (en) * 2007-10-08 2009-04-13 주식회사 에스원 Unified system for managing building equipment using 3 dimensional virtual space and method thereof
KR20130046204A (en) * 2011-10-27 2013-05-07 (주)성림엠앤씨 Facility control method of remote supervisory control apparatus using machine code generation, and the remote supervisory control apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100780601B1 (en) * 2006-12-07 2007-11-30 주식회사 베스텍 Apparatus and method for intellectual integration auto controlling
KR20090004389A (en) * 2007-07-06 2009-01-12 청화 텔레콤 코., 엘티디. Network-based air-conditioning equipment remote monitoring and management system
KR20090035835A (en) * 2007-10-08 2009-04-13 주식회사 에스원 Unified system for managing building equipment using 3 dimensional virtual space and method thereof
KR20130046204A (en) * 2011-10-27 2013-05-07 (주)성림엠앤씨 Facility control method of remote supervisory control apparatus using machine code generation, and the remote supervisory control apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102097789B1 (en) * 2019-01-07 2020-04-06 성진계장 주식회사 Terminal for remote managing in building facility
KR102050312B1 (en) * 2019-03-28 2019-12-02 탑시스템주식회사 Supporting method, apparatus and computer-readable medium of multi communication type and protocol between systems using embedded cpu included in programmable logic controller

Also Published As

Publication number Publication date
KR101649659B1 (en) 2016-08-19

Similar Documents

Publication Publication Date Title
US11171803B2 (en) Smart home communications architecture
EP3760010B1 (en) Commissioning mesh network-capable devices within a building automation and control system
US20190104399A1 (en) System, Method and Apparatus for Building Operations Management
CN108234408A (en) A kind of things-internet gateway inter-linked controlling method and things-internet gateway
US20110112690A1 (en) Digital control manager
EP2631857A1 (en) Building automation and control system and method for operating the same
KR101649659B1 (en) Facility control apparatus, building automation system comprising the same and method for controlling facilities
JP6051089B2 (en) Air conditioning system
US9560167B2 (en) Network system, communication method, server, and terminal
CN103201690A (en) Local control network processor (LCNP) emulator for multi-generation control systems
JP2014165883A (en) Communication device
WO2018049244A1 (en) System and method for operating a hvac system by determining occupied state of a structure via ip address
EP2649755B1 (en) Dynamic host profiles for option modules
KR101990399B1 (en) Building automation system, gateway comprised therein and method of operating the gateway
US6996600B2 (en) System and method for servicing messages between device controller nodes and via a lon network
JP2011028571A (en) Monitor and control apparatus
JP2006129283A (en) Equipment management system and gateway device
US20220329455A1 (en) Building controller with managed multiport switch
JP6513444B2 (en) Communication network repeater, controller with LON communication function, and communication network relay method
KR20140106981A (en) Building automation system, gateway comprised therein and method of operating the gateway
KR101658092B1 (en) Building automation system, facilities control apparatus comprised therein and control method of the facilities control apparatus
Heo et al. Design and Implementation of Monitoring Software for Heterogeneous Control Network
JP5459133B2 (en) Protocol converter
JP7034892B2 (en) Air conditioning system
US11962653B2 (en) Device monitoring method, device monitoring apparatus, and recording medium for transmitting messages containing device control commands based on predetermined conditions

Legal Events

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