KR100333267B1 - Building automation system - Google Patents

Building automation system Download PDF

Info

Publication number
KR100333267B1
KR100333267B1 KR1019990006586A KR19990006586A KR100333267B1 KR 100333267 B1 KR100333267 B1 KR 100333267B1 KR 1019990006586 A KR1019990006586 A KR 1019990006586A KR 19990006586 A KR19990006586 A KR 19990006586A KR 100333267 B1 KR100333267 B1 KR 100333267B1
Authority
KR
South Korea
Prior art keywords
cpu module
main cpu
module
building
function
Prior art date
Application number
KR1019990006586A
Other languages
Korean (ko)
Other versions
KR20000056861A (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 KR1019990006586A priority Critical patent/KR100333267B1/en
Publication of KR20000056861A publication Critical patent/KR20000056861A/en
Application granted granted Critical
Publication of KR100333267B1 publication Critical patent/KR100333267B1/en

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0283Predictive maintenance, e.g. involving the monitoring of a system and, based on the monitoring results, taking decisions on the maintenance schedule of the monitored system; Estimating remaining useful life [RUL]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Hardware Redundancy (AREA)

Abstract

본 발명은 빌딩에 설치되어 업무를 수행하거나 거주하는 사람들의 편의를 도모하기 위해 설치된 복수개의 기능모듈과; 빌딩에 설치된 상기 기능모듈의 동작 상태를 디스플레이하고, 상기 기능모듈로 제어명령을 수행하기 위한 호스트와; 빌딩의 관리자에 의해 입력된 설정치에 따라 상기 기능모듈을 자동으로 제어하기 위한 주 CPU모듈과; 상기 주 CPU모듈의 장애 발생 여부를 검출하여, 주 CPU모듈에 장애가 발생하면 그 기능을 수행하고, 상기 주 CPU모듈이 정상 상태로 회복되면 주 CPU모듈로 제어권을 이양한 후, 상기 주 CPU모듈의 감시기능을 수행하는 부 CPU 모듈과; 케이블 및 인터페이스로 구성되어 상기 호스트와 상기 주 CPU모듈 및 부 CPU모듈 간의 네트웍 통신을 수행하는 빌딩 자동제어 네트워크와, 케이블 및 인터페이스로 구성되어 상기 주 CPU 모듈 및 부 CPU 모듈 간의 시리얼 통신을 수행하는 시리얼 통신장치를 포함하는 빌딩자동화시스템에 관한 것으로서, 예측하지 못한 장애로 인하여 주 CPU 모듈에 이상이 발생하더라도 정상적으로 각종 장치들을 제어할 수 있기 때문에 빌딩관리를 안정적으로 운영할 수 있는 장점이 있게 된다.The present invention includes a plurality of functional modules installed in the building to facilitate the convenience of those who perform work or live; A host for displaying an operation state of the function module installed in the building and executing a control command with the function module; A main CPU module for automatically controlling the function module according to a set value input by a manager of a building; Detects whether the main CPU module has a failure, and if a failure occurs in the main CPU module, the function is performed. When the main CPU module returns to a normal state, the control right is transferred to the main CPU module, and the main CPU module is monitored. A sub CPU module that performs a function; A building automatic control network configured to perform a network communication between the host and the main CPU module and a sub CPU module by a cable and an interface, and a serial port configured by the cable and interface to perform serial communication between the main CPU module and a sub CPU module. The present invention relates to a building automation system including a communication device, and it is possible to stably operate a building management because various devices can be normally controlled even if an abnormality occurs in the main CPU module due to an unexpected failure.

Description

빌딩자동화시스템{BUILDING AUTOMATION SYSTEM}Building Automation System {BUILDING AUTOMATION SYSTEM}

본 발명은 자동화시스템에 관한 것으로서, 더 상세하게는 빌딩의 각종장치를 제어하기 위한 주 CPU 모듈에 장애가 발생하더라도 정상적인 기능을 수행하도록 한 빌딩자동화시스템에 관한 것이다.The present invention relates to an automation system, and more particularly, to a building automation system to perform a normal function even if a failure occurs in the main CPU module for controlling various devices of the building.

일반적으로, 건물에는 건물에 거주하거나 소정의 업종에 종사하기 위한 사람들에게 각종 편의를 제공하기 위하여 여러 가지 기능을 수행하기 위한 기계적, 전기적인 장치들이 설치되어 있다. 이러한 장치들 중에는 제어가 불필요한 구조물도 있고, 상태에 따라 제어해야 하는 전기적인 장치들도 있다.In general, the building is equipped with mechanical and electrical devices for performing various functions in order to provide a variety of convenience to people living in the building or working in a certain industry. Some of these devices do not require control, while others require electrical control.

이하, 첨부도면을 참조하여 일반적인 빌딩자동화시스템을 설명하면 다음과 같다.Hereinafter, a general building automation system will be described with reference to the accompanying drawings.

도 1은 일반적인 빌딩자동화시스템의 연결 구성을 나타내는 구성도로서, 빌딩에 설치된 각종 장치들을 적절하게 제어하는 호스트(10)가 설치되어 있고, 이 호스트(10)는 빌딩 자동 네트워크용 케이블인 제1 버스(L1)에 연결되어 있다. 이때, 상기 호스트(10)는 개인용 컴퓨터(Personal Computer ; 이하, PC) 또는 워크스테이션(Workstation)이 사용되지만, 저렴한 비용과 탁월한 호환성 때문에 PC가 선호되고 있다.FIG. 1 is a block diagram showing a connection configuration of a general building automation system, in which a host 10 for appropriately controlling various devices installed in a building is installed, and the host 10 is a first bus that is a cable for a building automation network. Is connected to (L1). At this time, the host 10 is a personal computer (PC) or workstation (Workstation) is used, but PC is preferred because of low cost and excellent compatibility.

또한, 상기 제1 버스(L1)는 빌딩내의 각종 장치들을 적절하게 제어하는 CPU 모듈(12)의 일단에도 접속되어 있고, 상기 CPU 모듈(12)의 타단에는 시리얼통신용 제2 버스(L2)가 접속되어 있다. 이때, 상기 제2 버스(L2)는 RS-485 칩을 사용한 비동기 시리얼통신용 버스이다.The first bus L1 is also connected to one end of the CPU module 12 for appropriately controlling various devices in the building, and the second bus L2 for serial communication is connected to the other end of the CPU module 12. It is. In this case, the second bus L2 is an asynchronous serial communication bus using an RS-485 chip.

그리고, 상기 제2 버스(L2)에는 빌딩내에 거주하거나 특정업무에 종사하는 사람들의 편의를 도모하기 위한 제1 내지 제n 기능 모듈(14a-14d)이 접속되어 있다. 이때, 상기 제1 내지 제n 기능모듈(14a-14d)중에는 여러 가지 장치들을 접속할 수 있는데, 예를 들어서 빌딩내의 공기를 소정의 상태로 정화시켜주는 공조기, 빌딩내의 온도를 소정의 상태로 상승시키는 보일러, 빌딩내의 조명장치를 적절하게 점등하거나 소등시키는 조명스위치, 빌딩내로 다른 층으로 사람을 수직이동시키는 엘리베이터가 있다.The second bus L2 is connected with first to nth function modules 14a-14d for convenience of people living in a building or engaged in a specific task. At this time, the first to n-th functional module (14a-14d) can be connected to a variety of devices, for example, an air conditioner for purifying the air in the building to a predetermined state, for raising the temperature in the building to a predetermined state There are boilers, light switches to properly light or turn off lighting devices in buildings, and elevators to vertically move people into different floors in a building.

상기한 바와 같은 구성을 가진 빌딩자동화시스템의 세부적 기능 및 구성을 설명하면 다음과 같다.Referring to the detailed function and configuration of the building automation system having the configuration as described above are as follows.

상기 호스트(10)는 전술한 바와 같이 본체와 모니터로 구성된 PC가 주로 사용되고, 빌딩내에 설치된 각종장치들의 작동 상태를 편리하게 감시하고, 관리하기에 용이하도록 한글화된 그래픽 사용자 인터페이스를 제공한다. 이때, 빌딩내의 각종 장치들의 동작 상태를 알 수 있고, 각종장치들을 적절히 제어할 수 있는 소프트웨어를 구비하도록 한다.As described above, the host 10 mainly uses a PC composed of a main body and a monitor, and provides a localized graphical user interface to easily monitor and manage the operation status of various devices installed in the building. At this time, it is possible to know the operation state of the various devices in the building, and to have software for controlling the various devices appropriately.

또한, 상기 제1 버스(L1)는 빌딩 자동 제어 네트워크로 이를 이용하여 호스트와 CPU 모듈과 통신 제어할 수 있다.In addition, the first bus L1 is a building automatic control network that can control communication with a host and a CPU module.

그리고, 상기 제2 버스(L2)는 시리얼통신용 RS-485 방식을 사용하고, 이 방식은 RS-422와 같은 전송거리를 가지며, 5V의 단일전원의 차동신호로 통신한다. RS-232C나 RS-422와 크게 다른점은 반이중 통신방법을 사용한다는 점이며, 1대 다수의 통신이 가능하다는 것이다. 그리고, 하나의 전송선로위에 최대 32대까지의 기기를 연결할 수 있다.In addition, the second bus L2 uses a serial communication RS-485 method, which has a transmission distance similar to that of RS-422, and communicates with a differential signal of a single power supply of 5V. The main difference from RS-232C or RS-422 is that it uses half-duplex communication method, and one-to-many communication is possible. And, up to 32 devices can be connected on one transmission line.

또한, 상기 제1 내지 제n 기능모듈(14a-14d)은 전술한 바와 같은 공조기, 보일러, 엘리베이터와 같이 빌딩에서 거주하거나 특정 업종에 종사하는 사람의 편의를 위한 각종장치들이고, 이러한 장치들은 기계장치와 같이 소정의 공간을 차지하며 설치될 수도 있고, 빌딩내에 분산되어 설치될 수도 있다. 이때, 제1 내지 제n 기능모듈(14a-14d)은 제어명령에 따라 소정의 기능을 수행하기 위해서 기계적 구조를 가진 전자식 장치이다.In addition, the first to n-th functional module (14a-14d) is a variety of devices for the convenience of people living in the building or in a particular industry, such as air conditioners, boilers, elevators as described above, these devices are mechanical devices It may be installed to occupy a predetermined space, or may be distributed and installed in a building. In this case, the first to n-th functional modules 14a-14d are electronic devices having a mechanical structure in order to perform a predetermined function according to a control command.

이와같은 빌딩자동화시스템의 구성은 빌딩의 구조에 따라 다양한 형태를 가지기 때문에 예를 들어서 동작을 설명하면 다음과 같다. 즉, 상기 호스트(10)는 CPU가 인텔사의 펜티엄 프로세서로 된 PC이고, 상기 제1 기능모듈(14a)은 공조기, 제2 기능모듈(14b)은 보일러, 제3 기능모듈(14c)은 엘리베이터로 정의한다.Since the configuration of the building automation system has various forms depending on the structure of the building, for example, the operation will be described as follows. That is, the host 10 is a PC of which the CPU is an Intel Pentium processor, the first function module 14a is an air conditioner, the second function module 14b is a boiler, and the third function module 14c is an elevator. define.

우선, 빌딩의 관리자는 상기 호스트(10)인 PC의 모니터에서 디스플레이되는 그래픽 데이터를 보고서 상기 제1 기능모듈(14a)인 공조기와, 제2 기능모듈(14b)인 보일러와, 제3 기능모듈(14c)인 엘리베이터의 동작 상태와 이상 유무를 파악한다.First, the manager of the building looks at the graphic data displayed on the monitor of the PC, which is the host 10, the air conditioner as the first function module 14a, the boiler as the second function module 14b, and the third function module ( 14c) The operation state of the elevator and the presence or absence of abnormality are grasped.

그런데, 제1 내지 제n 기능모듈의 기능을 수행하는데 필요한 연산은 CPU모듈에서 수행하고, 상기 CPU모듈에서 연산된 결과는 호스트의 모니터에 디스플레이된다.However, operations required to perform the functions of the first to nth function modules are performed by the CPU module, and the results calculated by the CPU module are displayed on the monitor of the host.

한편, 이더넷 랜에 다른 컴퓨터가 접속되어 있다면, 이더넷 랜과 상기 제1 버스(L1)을 통하여 다른 컴퓨터와도 데이터 통신을 수행할 수도 있고, 인터넷을 이용한 통신 및 제어가 가능하게 된다. 그리고, 상기 시리얼통신용 제2 버스(L2)는 복수개의 장치와도 접속되어 데이터통신 및 제어가 가능하게 된다.On the other hand, if another computer is connected to the Ethernet LAN, it is also possible to perform data communication with other computers via the Ethernet LAN and the first bus (L1), it is possible to communicate and control using the Internet. The second bus L2 for serial communication is also connected to a plurality of devices to enable data communication and control.

그러나, 상술한 바와 같은 종래의 빌딩자동화시스템은 CPU 모듈이 셧다운되면 고유의 기능을 수행할 수 없기 때문에 빌딩의 관리자가 시스템을 수동적으로 복구하는 동안 발생되는 시간적, 인적, 물적손실을 감당해야 하는 문제점이 있다.However, the conventional building automation system as described above is unable to perform its own function when the CPU module is shut down, so that the manager of the building must bear the time, human, and material loss occurring during the manual recovery of the system. There is this.

상술한 바와 같은 문제점을 극복하기 위한 본 발명의 목적은 빌딩내의 각종장치들을 제어하기 위한 주 CPU 모듈에 장애가 발생하더라도 시스템을 정상적으로 가동시키기 위한 빌딩자동화시스템을 제공하는데 있다.An object of the present invention for overcoming the problems described above is to provide a building automation system for operating the system normally even if the main CPU module for controlling various devices in the building fails.

도 1은 일반적인 빌딩자동화시스템의 연결구성을 나타내는 구성도.1 is a block diagram showing a connection configuration of a general building automation system.

도 2는 본 발명의 실시예에 따른 빌딩자동화시스템의 연결구성을 나타내는 구성도.2 is a block diagram showing a connection configuration of the building automation system according to an embodiment of the present invention.

도 3은 본 발명의 실시예에 따른 빌딩자동화시스템의 주 CPU모듈 및 부 CPU모듈의 장애시 발생되는 문제점을 해결하는 단계를 설명하는 상태도.3 is a state diagram illustrating a step of solving a problem occurring when a failure of a main CPU module and a sub CPU module of a building automation system according to an embodiment of the present invention.

도 4는 본 발명의 실시예에 따른 빌딩자동화시스템의 주 CPU모듈의 기능적 구성을 나타내는 구성도.4 is a block diagram showing the functional configuration of the main CPU module of the building automation system according to an embodiment of the present invention.

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for main parts of the drawings>

10 ; 호스트12a ; 주 CPU 모듈10; Host 12a; Main CPU module

12b ; 부 CPU 모듈14a ; 제1 기능모듈12b; Secondary CPU module 14a; 1st function module

14b ; 제2 기능모듈14c ; 제3 기능모듈14b; Second functional module 14c; 3rd function module

14d ; 제n 기능모듈L1 ; 제1 버스14d; Nth control module L1; First bus

L2 ; 제2 버스S1 ; 제1 상태L2; Second bus S1; First state

S2 ; 제2 상태S3 ; 제3 상태S2; Second state S3; Third state

S4 ; 제4 상태S4; 4th state

본 발명의 목적을 달성하기 위하여 본 발명의 빌딩자동화시스템은 빌딩에 설치되어 업무를 수행하거나 거주하는 사람들의 편의를 도모하기 위해 설치된 복수개의 기능모듈과; 빌딩에 설치된 상기 기능모듈의 동작 상태를 디스플레이하고, 상기 기능모듈로 제어명령을 수행하기 위한 호스트와; 빌딩의 관리자에 의해 입력된 설정치에 따라 상기 기능모듈을 자동으로 제어하기 위한 주 CPU모듈과; 상기 주 CPU모듈의 장애 발생 여부를 검출하여, 주 CPU모듈에 장애가 발생하면 그 기능을 수행하고, 상기 주 CPU모듈이 정상 상태로 회복되면 주 CPU모듈로 제어권을 이양한 후, 상기 주 CPU모듈의 감시기능을 수행하는 부 CPU 모듈과; 케이블 및 인터페이스로 구성되어 상기 호스트와 상기 주 CPU모듈 및 부 CPU모듈 간의 네트웍 통신을 수행하는 빌딩 자동 제어 네트웍 장치와; 케이블 및 인터페이스로 구성되어 상기 주 CPU 모듈 및 부 CPU 모듈 간의 시리얼 통신을 수행하는 시리얼 통신장치를 포함하는 빌딩자동화시스템을 포함하는 것이다.In order to achieve the object of the present invention, the building automation system of the present invention includes: a plurality of functional modules installed in a building to facilitate the convenience of those who perform tasks or reside; A host for displaying an operation state of the function module installed in the building and executing a control command with the function module; A main CPU module for automatically controlling the function module according to a set value input by a manager of a building; Detects whether the main CPU module has a failure, and if a failure occurs in the main CPU module, the function is performed. When the main CPU module returns to a normal state, the control right is transferred to the main CPU module, and the main CPU module is monitored. A sub CPU module that performs a function; A building automatic control network device comprising a cable and an interface configured to perform network communication between the host, the main CPU module, and the sub CPU module; And a building automation system including a serial communication device configured with a cable and an interface to perform serial communication between the main CPU module and the sub CPU module.

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

도 2는 본 발명의 실시예에 따른 빌딩자동화시스템의 연결 구성을 나타낸 구성도로서, 컴퓨터본체와 모니터로 구성된 호스트(10)가 설치되어 있고, 이 호스트(10)는 빌딩 자동 제어 네트웍용 케이블(L1)을 통하여 주 CPU모듈(12a) 및 부 CPU모듈(12b)에 각각 접속되어 있다. 또한, 주 CPU모듈(12a) 및 부 CPU모듈(12b)은 제1 기능모듈(14a) 및 제n 기능모듈(14n)에 각각 접속되어 있다.Figure 2 is a block diagram showing the connection configuration of the building automation system according to an embodiment of the present invention, a host 10 comprising a computer main body and a monitor is installed, the host 10 is a cable for building automatic control network ( It is connected to the main CPU module 12a and the sub CPU module 12b via L1), respectively. Further, the main CPU module 12a and the sub CPU module 12b are connected to the first function module 14a and the nth function module 14n, respectively.

이와같이 구성된 빌딩자동화시스템의 기능을 설명하면 다음과 같다.The function of the building automation system configured as described above is as follows.

상기 호스트(10)는 빌딩에 설치된 각종 장치들의 이상유무를 검출하기 때문에 빌딩의 관리자는 상기 호스트(10)의 모니터에 디스플레이된 상기 장치들의 동작상태를 보고서 장치들의 이상유무를 파악한다. 이때, 빌딩의 특정 장치에 이상이 발견될 경우 관리자는 필요한 소정의 조치 즉, 해당장치의 수리를 실시하여 시스템이 정상적으로 동작되도록 한다.Since the host 10 detects an abnormality of various devices installed in the building, the manager of the building detects the abnormality of the devices by reporting the operation status of the devices displayed on the monitor of the host 10. At this time, if an abnormality is found in a specific device of the building, the administrator performs a predetermined action, that is, repairing the corresponding device, so that the system can operate normally.

또한, 주 CPU 모듈(12a)은 호스트(10)를 통해 빌딩의 관리자에 의해 입력된정보로써 제1 내지 제n 기능모듈(14a-14n)을 제어하는 기능을 수행하고, 부 CPU모듈(12b)은 상기 주 CPU 모듈(12a)의 장애가 검출되면 주 CPU 모듈(12a)의 기능을 수행한다.In addition, the main CPU module 12a performs a function of controlling the first to nth function modules 14a-14n by the information input by the manager of the building through the host 10, and the sub CPU module 12b. When the failure of the main CPU module 12a is detected, the main CPU module 12a performs a function.

그리고, 상기 제1 내지 제n 기능모듈(14a-14d)은 빌딩을 적절히 운영하기 위한 전자식 장치들인데, 예를 들어서 주차장의 공기를 환기시키는 주차장 환기장치, 빌딩 내부를 소정의 온도 이상으로 유지시키는 보일러, 사람을 특정 층으로 수직 상승시키는 엘리베이터 등이 있다.In addition, the first to n-th functional modules 14a to 14d are electronic devices for properly operating a building, for example, a parking lot ventilator for ventilating the air in the parking lot, and maintaining the inside of the building at a predetermined temperature or more. Boilers, elevators that vertically elevate people to specific floors.

그런데, 상기한 바와 같은 제1 내지 제n 기능모듈은 빌딩의 규모에 따라 보다 다양한 종류의 장치들이 설치될 수 있는 것으로서, 변동 가능한 것이다.However, as described above, the first to nth functional modules may be installed in various types of devices according to the size of the building, and may vary.

한편, 상기한 바와 같은 구성을 가진 시스템 내에서의 데이터 통신에 관하여 설명하면 다음과 같다.On the other hand, the data communication in the system having the above configuration will be described as follows.

상기 호스트와 주 CPU 모듈 및 부 CPU 모듈 사이는 빌딩 자동 제어 네트웍용 케이블로 접속되어 있고, 상기 주 CPU 모듈 및 부 CPU 모듈과 제1 내지 제n 기능모듈 사이는 시리얼 통신용 케이블로 접속되어 있다.The host, the main CPU module and the sub CPU module are connected by a cable for a building automatic control network, and the main CPU module and the sub CPU module and the first through n-th functional modules are connected by a serial communication cable.

그리고, 상기 주 CPU 모듈(12a)과 제1 기능모듈(14a) 사이에는 RS-485 칩을 사용한 시리얼통신이 행해지는데, 이것을 예를 들어서 설명하면 다음과 같다.In addition, serial communication using an RS-485 chip is performed between the main CPU module 12a and the first functional module 14a.

상기 주 CPU모듈(12a)이 제1 기능모듈(14a)로 데이터를 송신하는 경우에는, 제1 기능모듈(14a)로 아스키코드 값인 '0xFx'를 먼저 송신하여 제1 기능모듈(14a)이 데이터를 수신할 준비가 되어 있는지를 질문한다. 데이터를 수신할 준비가 되어있지 않으면, 제1 기능모듈(14a)은 '0x04'를 송신하고, 데이터를 수신할 준비가되어 있으면 '0xFx'를 송신하게 된다.When the main CPU module 12a transmits data to the first function module 14a, the first function module 14a first transmits the ASCII code value '0xFx' to the first function module 14a. Ask if you are ready to receive it. If it is not ready to receive data, the first functional module 14a transmits '0x04', and if it is ready to receive data, it transmits '0xFx'.

이와는 반대로, 상기 제1 기능모듈(14a)이 주 CPU모듈(12a)로 데이터를 송신하는 경우에는, 주 CPU모듈(12a)은 제1 기능모듈(14a)로 아스키 코드값인 '0xEx'를 송신하여 현재 전송할 데이터가 있는지 여부를 질문한다. 제1 기능모듈(14a)이 전송할 데이터가 없으면 '0x04'를 송신하고, 전송할 데이터가 있으면 '0xEx'를 송신한다. '0x04'를 수신한 주 CPU모듈(12a)은 제1 기능모듈(14a)이 보낼 데이터가 없음을 인지하고, 자신도 '0x04'를 송신하여 보낸 데이터를 받았다는 신호를 보낸다.On the contrary, when the first function module 14a transmits data to the main CPU module 12a, the main CPU module 12a transmits an ASCII code value of '0xEx' to the first function module 14a. Ask whether there is currently data to send. If there is no data to transmit, the first function module 14a transmits '0x04', and if there is data to transmit, '0xEx'. Receiving '0x04', the main CPU module 12a recognizes that there is no data to be sent by the first function module 14a, and sends a signal indicating that it has also received the sent data by sending '0x04'.

여기서, 상기에서 사용된 외에도 시리얼통신에서는 여러 가지의 아스키코드들이 사용되는데, 이를 제어문자라고도 한다.Here, in addition to the above, serial ASCII codes are used in serial communication, which is also called a control character.

그런데, 상기 부 CPU모듈(12b)은 상기 주 CPU모듈(12a)과 상기 제1 내지 제n 기능모듈(14a)(14b)(14c)(14n) 사이에서 이뤄지는 시리얼통신시 송수신되는 제어문자를 검출하여 상기 주 CPU모듈(12a)이 셧다운 상태인지 아닌지를 감지한다.However, the sub CPU module 12b detects a control character transmitted and received during serial communication between the main CPU module 12a and the first to n th functional modules 14a, 14b, 14c, and 14n. To detect whether the main CPU module 12a is in a shutdown state.

즉, 상기 주 CPU모듈(12a)과 제1 내지 제n 기능모듈(14a)(14b)(14c)(14n) 사이에는 100ms의 주기로 제어문자를 주고 받게끔 되어 있는데, 이 제어문자가 소정 시간이 지나도 송수신되지 않으면 상기 부 CPU 모듈(12b)는 주 CPU모듈(12a)이 셧다운 상태인 것으로 판단한다.That is, between the main CPU module 12a and the first to n-th functional modules 14a, 14b, 14c, and 14n, a control character is transmitted and received at a cycle of 100 ms. If it is not transmitted or received after that, the secondary CPU module 12b determines that the main CPU module 12a is in the shutdown state.

한편, 상술한 바와 같은 주 CPU 모듈 및 부 CPU 모듈의 이상유무에 따른 발생조건과 처리방법에 대하여 설명하면 다음과 같다.On the other hand, the generation conditions and the processing method according to the above-mentioned whether or not the main CPU module and the secondary CPU module as described above are as follows.

도 3은 본 발명의 실시예에 따른 빌딩자동화시스템의 주 CPU모듈 및 부 CPU모듈의 이상유무에 따른 상태도로서, 제1 상태(S1)는 주 CPU 모듈(12a) 및 부 CPU모듈(12b)이 정상적으로 동작하는 상태이다. 또한, 제2 상태(S2)는 주 CPU 모듈(12a)이 정상적으로 동작하고, 부 CPU 모듈(12b)은 장애가 발생된 상태이고, 제3 상태(S3)는 주 CPU 모듈(12a)에 장애가 발생된 상태이고, 부 CPU 모듈(12b)은 정상 동작하는 상태이다. 그리고, 제4 상태(S4)는 주 CPU 모듈(12a) 및 부 CPU 모듈(12b)에 모두 장애가 발생된 상태이다.3 is a state diagram according to whether there is an abnormality of a main CPU module and a sub CPU module of a building automation system according to an exemplary embodiment of the present invention. The first state S1 includes a main CPU module 12a and a sub CPU module 12b. Normal operation. In addition, in the second state S2, the main CPU module 12a operates normally, the sub CPU module 12b is in a failure state, and in the third state S3, the failure in the main CPU module 12a is caused. In this state, the sub CPU module 12b is in a normal operation state. The fourth state S4 is a state in which a failure occurs in both the main CPU module 12a and the sub CPU module 12b.

제1 스텝(1)으로서, 주 CPU 모듈 및 부 CPU 모듈이 모두 다운된 상태에서 동시에 기동하는 경우와, 주 CPU 모듈 및 부 CPU 모듈이 파워 오프된 상태에서 파워온된 경우로서, 제4 상태에서 제1 상태로 이행되어 주 CPU 모듈 및 부 CPU 모듈은 정상 상태가 된다.As the first step (1), when the main CPU module and the sub-CPU module are both started simultaneously and the main CPU module and the sub-CPU module are powered on in the power-off state, The state transition to the first state causes the main CPU module and the sub CPU module to be in a normal state.

제2 스텝(2)으로서, 주기적으로 주 CPU모듈이 시리얼 통신을 위해 사용되는 질의문자인 '0xFx', '0xEx'를 검사하는 경우로서, 제1 상태를 유지하여 주 CPU 모듈 및 부 CPU 모듈은 정상상태를 유지한다.As the second step (2), in the case where the main CPU module periodically checks '0xFx', '0xEx', which are query characters used for serial communication, the main CPU module and the sub CPU module maintain the first state. Maintain steady state.

제3 스텝(3)으로서, 주 CPU모듈과 부 CPU모듈이 동시에 셧다운되거나, 전원이 오프되는 경우로서, 제1 상태에서 제4 상태로 이행하여 주 CPU 모듈 및 부 CPU 모듈은 모두 셧 다운 상태가 된다.In the third step (3), when the main CPU module and the sub CPU module are shut down at the same time or the power is turned off, the main CPU module and the sub CPU module are both shut down in the transition from the first state to the fourth state. do.

제4 스텝(4)으로서, 주 CPU 모듈에 오류가 발생되거나 주 CPU 모듈을 디버그하기 위해 동작을 멈출경우로서, 제1 상태에서 제3 상태로 이행되어 주 CPU 모듈에는 오류가 발생된 상태이고, 부 CPU 모듈은 정상 작동되는 상태이다.In the fourth step 4, when an error occurs in the main CPU module or stops to debug the main CPU module, the state transitions from the first state to the third state and an error occurs in the main CPU module. The secondary CPU module is in a normal operating state.

제5 스텝(5)으로서, 주 CPU 모듈이 정상동작하는 경우와, 주 CPU 모듈을 리셋한 후, 재동작하는 경우로서, 제3 상태에서 제1 상태로 이행되어 주 CPU 모듈 및부 CPU 모듈이 모두 정상적으로 동작하는 상태이다.As the fifth step 5, when the main CPU module operates normally and when the main CPU module is reset and then restarted, the main CPU module and the sub CPU module are both shifted from the third state to the first state. Normal operation.

여기서, 주 CPU모듈이 에러가 발생하여 부 CPU모듈이 그 기능을 대신하고 있다가 주 CPU모듈이 다시 재가동을 시작하면 로컬통신상에서 통신에러가 발생한다. 이 에러가 평균 이상으로 발생하면 부 CPU모듈은 주 CPU모듈이 재가동되었음으로 인식하고, 시스템관리를 주 CPU모듈로 이양하며 자신은 주 CPU모듈의 상태를 감시하는 동작을 계속한다.Here, if the main CPU module has an error and the sub CPU module takes over the function, and the main CPU module restarts again, a communication error occurs in local communication. If this error occurs above average, the secondary CPU module recognizes that the main CPU module has been restarted, transfers system management to the main CPU module, and continues to monitor the status of the main CPU module.

제6 스텝(6)으로서, 주 CPU 모듈에 오류가 발생되거나 주 CPU 모듈을 디버그하기 위해 동작을 멈출경우로서, 제1 상태에서 제2 상태로 이행되어 주 CPU 모듈은 정상 작동하고, 부 CPU 모듈에는 오류가 발생된 상태이다.As the sixth step 6, when an error occurs in the main CPU module or stops to debug the main CPU module, the state shifts from the first state to the second state and the main CPU module operates normally. An error has occurred.

제7 스텝(7)으로서, 주 CPU 모듈이 정상동작하거나 리셋한 후, 재동작하는 경우로서, 제2 상태에서 제1 상태로 이행되어 주 CPU 모듈 및 부 CPU 모듈이 모두 정상 작동하는 상태이다.As the seventh step 7, when the main CPU module operates normally or resets and then resumes operation, the state shifts from the second state to the first state, where both the main CPU module and the sub CPU module operate normally.

제8 스텝(8)으로서, 주 CPU 모듈이 없는 상태에서 전원이 턴온될 경우로서, 제4 상태에서 제3 상태로 이행되어 주 CPU 모듈에는 오류가 발생되고, 부 CPU 모듈은 정상적으로 동작하는 상태이다.As the eighth step 8, when the power is turned on in a state where there is no main CPU module, the state transitions from the fourth state to the third state, an error occurs in the main CPU module, and the sub CPU module is in a normal operation state. .

제9 스텝(9)으로서, 주 CPU 모듈이 없는 상태에서 전원이 턴오프될 경우로서, 제3 상태에서 제4 상태로 이행되어 주 CPU 모듈 및 부 CPU 모듈에 모두 오류가 발생된 상태이다.In the ninth step 9, when the power source is turned off in the absence of the main CPU module, the state transitions from the third state to the fourth state and an error has occurred in both the main CPU module and the sub CPU module.

상기한 바와 같은 CPU 모듈의 세부적 구성을 설명하면 다음과 같다.The detailed configuration of the CPU module as described above is as follows.

도 4는 본 발명의 실시예에 따른 빌딩자동화시스템에 접속되어 있는 주 CPU모듈의 세부적 구성을 나타낸 구성도로서, 연산 및 로직을 수행하는 CPU(10)가 설치되어 있고, 상기 CPU(10)에는 클럭주파수를 발생시키는 클럭발생기(12)가 접속되어 있다. 또한, 상기 CPU(10)에는 지역버스가 접속되어 있고, 이 버스에는 노드 어드레스(node address)를 저장해두는 노드메모리(14), 제1 메모리(16) 및 제2 메모리(18)와, 상기 제2 메모리(18)에는 보조전원으로서 기능하는 백업용배터리(20)가 접속되어 있다. 상기 지역버스에는 시리얼통신을 수행하게 하는 시리얼통신칩(22)과, 버스를 제어하는 버스제어기(24)와, 장치의 상태를 표시하는 상태표시LED(26)가 접속되어 있다.4 is a block diagram showing the detailed configuration of the main CPU module connected to the building automation system according to an embodiment of the present invention, the CPU 10 for performing the calculation and logic is installed, the CPU 10 A clock generator 12 for generating a clock frequency is connected. In addition, a local bus is connected to the CPU 10, and a node memory 14, a first memory 16 and a second memory 18, which store a node address, is connected to the bus. The backup memory 20, which functions as an auxiliary power supply, is connected to the two memories 18. The local bus is connected with a serial communication chip 22 for performing serial communication, a bus controller 24 for controlling the bus, and a status display LED 26 for displaying the status of the device.

그리고, 상기 시리얼통신칩(22)에는 시리얼 통신을 위해 구비된 접속장치로 된 시리얼통신 인터페이스(28)가 연결되어 있고, 상기 제1 및 제2 버스인터페이스(30a)(30b)가 각각 연결되어 있다. 이때, 상기 시리얼통신칩(22)과 버스제어기(24)는 독립적으로 연결되어 있다.In addition, the serial communication chip 22 is connected to a serial communication interface 28, which is a connection device provided for serial communication, and the first and second bus interfaces 30a and 30b are connected to each other. . At this time, the serial communication chip 22 and the bus controller 24 are independently connected.

상술한 바와 같이, 주 CPU모듈에 장애가 발생하더라도 장애 여부를 검출할 수 있는 부 CPU 모듈을 구비함으로써, 빌딩자동화시스템을 안정적으로 운영할 수 있게 된다.As described above, even if a failure occurs in the main CPU module by providing a secondary CPU module that can detect whether there is a failure, it is possible to stably operate the building automation system.

상술한 바와 같은 본 발명의 실시예에 따르면, 예측하지 못한 장애로 인하여 주 CPU모듈에 이상이 발생하더라도 정상적으로 각종 장치들을 제어할 수 있기 때문에 빌딩관리를 안정적으로 운영할 수 있는 장점이 있게 된다.According to the embodiment of the present invention as described above, even if an abnormality occurs in the main CPU module due to an unexpected failure, it is possible to control various devices normally, so that there is an advantage of stably operating building management.

Claims (1)

빌딩에 설치되어 제어명령에 따라 소정의 기능을 수행하는 복수개의 기능모듈과,A plurality of function modules installed in the building and performing a predetermined function according to a control command; 상기 기능모듈의 동작 상태를 디스플레이하고, 빌딩관리자로부터 상기 기능모듈의 설정치를 변경하는 입력수단을 구비하고, 입력된 설정치에 따른 제어명령을 출력하는 호스트와,A host for displaying an operation state of the function module and having input means for changing a setting value of the function module from a building manager, and outputting a control command according to the input setting value; 상기 호스트로부터 전달된 설정치에 따라 상기 기능모듈을 자동으로 제어하기 위한 주 CPU모듈과,A main CPU module for automatically controlling the function module according to a set value transmitted from the host; 상기 주 CPU모듈과 상기 복수개의 기능모듈사이의 송수신되는 제어문자를 검출하여 주 CPU의 장애 발생 여부를 검출하고, 주 CPU모듈에 장애가 발생하면 그 기능을 수행하고, 상기 주 CPU모듈이 정상 상태로 회복되면 주 CPU모듈로 제어권을 이양한 후, 상기 주 CPU모듈의 감시기능을 수행하는 부 CPU 모듈과,Detects whether or not a failure occurs in the main CPU by detecting control characters transmitted and received between the main CPU module and the plurality of function modules, and performs a function when a failure occurs in the main CPU module. After recovery, the control unit is transferred to the main CPU module, and the sub CPU module performing the monitoring function of the main CPU module; 케이블 및 인터페이스로 구성되어 상기 호스트와 상기 주 CPU모듈 및 부 CPU모듈 간의 네트웍 통신을 수행하는 빌딩 자동 제어 네트웍 장치와,A building automatic control network device configured with a cable and an interface to perform network communication between the host and the main CPU module and the sub CPU module; 케이블 및 인터페이스로 구성되어 상기 주 CPU 모듈 및 부 CPU 모듈 간의 시리얼 통신을 수행하는 시리얼 통신장치를 포함하는 빌딩자동화시스템.And a serial communication device comprising a cable and an interface to perform serial communication between the main CPU module and the sub CPU module.
KR1019990006586A 1999-02-26 1999-02-26 Building automation system KR100333267B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990006586A KR100333267B1 (en) 1999-02-26 1999-02-26 Building automation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990006586A KR100333267B1 (en) 1999-02-26 1999-02-26 Building automation system

Publications (2)

Publication Number Publication Date
KR20000056861A KR20000056861A (en) 2000-09-15
KR100333267B1 true KR100333267B1 (en) 2002-04-24

Family

ID=19575220

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990006586A KR100333267B1 (en) 1999-02-26 1999-02-26 Building automation system

Country Status (1)

Country Link
KR (1) KR100333267B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102275907B1 (en) 2021-04-20 2021-07-08 주익중 Building Automation System

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100679118B1 (en) * 2005-05-19 2007-02-06 이경수 Service system and method for management and ASP service of establishments assets using a optimized management technique of facilities
CN113220519B (en) * 2021-05-28 2024-04-16 中国建设银行股份有限公司 High-availability host system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980043103A (en) * 1998-05-27 1998-08-17 이용성 Controller redundancy control method of field control device in automatic control system and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980043103A (en) * 1998-05-27 1998-08-17 이용성 Controller redundancy control method of field control device in automatic control system and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102275907B1 (en) 2021-04-20 2021-07-08 주익중 Building Automation System

Also Published As

Publication number Publication date
KR20000056861A (en) 2000-09-15

Similar Documents

Publication Publication Date Title
JP3925660B2 (en) Communication master station startup control method
EP0183548A2 (en) Local power switching control subsystem
EP0663634A2 (en) Smart switch
CN103257514A (en) Communication device and control method for communication device
US20020029085A1 (en) System for automatic control of building
CN103645678A (en) Real-time response type network control system
CN107901036A (en) A kind of redundancy control system and control method for robot
US20200210201A1 (en) Information processing system and relay device
CN102508759A (en) Embedded intelligent platform management system
KR100333267B1 (en) Building automation system
CN108954702B (en) Control method and device of air conditioner, air conditioner and storage medium
JP2000092092A (en) Power source controller and power source control system
JPH0262606A (en) Cnc diagnosing system
CN106247571A (en) A kind of air-conditioner centralized control system
JP2007189878A (en) Power consumption control method and power supply system for achieving it, connection device, and power control means for equipment
JP2862051B2 (en) Numerical control device and numerical control system
CN102635918B (en) Control device and control system of air conditioning unit
KR20190135723A (en) Method for operating plc system and power saving plc system using the same
JP4788597B2 (en) Programmable controller redundant system
JP4407838B2 (en) Communication master station startup control method
TWI392191B (en) Remote control of the power supply system
WO2018116714A1 (en) Air conditioning controller and air conditioning system
JP2869240B2 (en) Communications system
JP2004134928A (en) Signal transmission apparatus
JPH11110333A (en) Central supervisory system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20120417

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20130416

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20141001

Year of fee payment: 13

FPAY Annual fee payment

Payment date: 20160407

Year of fee payment: 15

FPAY Annual fee payment

Payment date: 20170407

Year of fee payment: 16

LAPS Lapse due to unpaid annual fee