KR101519139B1 - Zigbee system and formation method of zigbee network - Google Patents

Zigbee system and formation method of zigbee network Download PDF

Info

Publication number
KR101519139B1
KR101519139B1 KR1020080085728A KR20080085728A KR101519139B1 KR 101519139 B1 KR101519139 B1 KR 101519139B1 KR 1020080085728 A KR1020080085728 A KR 1020080085728A KR 20080085728 A KR20080085728 A KR 20080085728A KR 101519139 B1 KR101519139 B1 KR 101519139B1
Authority
KR
South Korea
Prior art keywords
scan
router
coordinator
zigbee
rfds
Prior art date
Application number
KR1020080085728A
Other languages
Korean (ko)
Other versions
KR20100026647A (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 KR1020080085728A priority Critical patent/KR101519139B1/en
Publication of KR20100026647A publication Critical patent/KR20100026647A/en
Application granted granted Critical
Publication of KR101519139B1 publication Critical patent/KR101519139B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

실시예에 따른 지그비 시스템은 코디네이터, 라우터, RFD를 포함하는 지그비 장치로 구성된 지그비 시스템에 관한 것으로서, 스캔요청 메시지를 수신하고 스캔응답 메시지를 브로드캐스트하는 상기 라우터 또는 상기 코디네이터; 상기 스캔요청 메시지를 브로드캐스트하고 응답대기 모드로 진입하며, 상기 스캔응답 메시지가 수신되면 수신신호의 세기가 가장 크다고 판단된 상기 라우터 또는 상기 코디네이터를 선택하여 지그비 네트워크를 구성하는 소정의 지그비 장치; 및 브로드캐스트 전송 거리 내에서 상기 스캔요청 메시지를 수신하여 그룹을 이루고, 응답대기 모드로 진입하며, 상기 스캔응답 메시지가 수신되면 수신신호의 세기가 가장 크다고 판단된 상기 라우터 또는 상기 코디네이터를 선택하여 상기 지그비 네트워크를 구성하는 RFD를 포함한다.The ZigBee system includes a coordinator, a router, and a ZigBee device including an RFD. The ZigBee system includes a router or a coordinator that receives a scan request message and broadcasts a scan response message. A predetermined ZigBee device that broadcasts the scan request message and enters a response standby mode and selects the router or the coordinator determined to have the highest received signal strength when the scan response message is received to configure the ZigBee network; And receiving the scan request message within a broadcast transmission distance to form a group and entering a response standby mode. When the scan response message is received, the router or the coordinator, which is determined to have the highest intensity of the received signal, And RFDs that make up a ZigBee network.

실시예에 의하면, 다수의 지그비 장치가 스캔요청 메시지 및 스캔응답 메시지를 송수신하는 경우, 각 메시지를 반복적으로 송수신할 필요가 없으며 중복 메시지를 배제시킬 수 있다.According to the embodiment, when a plurality of ZigBee devices transmit and receive a scan request message and a scan response message, it is not necessary to repeatedly transmit and receive each message, and duplicate messages can be excluded.

지그비 네트워크, 코디네이터, 라우터, RFD, 브로드캐스트, 스캔 메시지 ZigBee Network, Coordinator, Router, RFD, Broadcast, Scan Message

Description

지그비 시스템 및 지그비 네트워크 구성 방법{Zigbee system and formation method of zigbee network}[0001] The present invention relates to a ZigBee system and a ZigBee network,

실시예는 지그비 시스템 및 지그비 네트워크 구성 방법에 관한 것이다.Embodiments relate to a ZigBee system and a ZigBee network configuration method.

유비쿼터스 네트워크 기술로는 지그비(ZigBee), 블루투스(Bluetooth), RFID(Radio Frequency IDentification) 등을 들 수 있는데, 그 중에서 근거리 통신을 지원하는 IEEE 802.15.4 표준의 하나인 지그비 기술에 대한 관심이 집중되고 있다.Ubiquitous network technologies include ZigBee, Bluetooth, and Radio Frequency Identification (RFID), among which ZigBee technology, which is one of the IEEE 802.15.4 standards supporting short-range communication, have.

지그비 기술은 10m 내지 최대 1㎞의 통신 거리 상에서 약 250 Kbps의 속도로 데이터를 전송할 수 있고, 다양한 네트워크 토폴리지를 형성하여 수천개의 기기를 연결할 수 있으며, 소비 전력이 작다는 장점을 가진다.ZigBee technology can transmit data at a speed of about 250 Kbps over a communication distance of 10 m to a maximum of 1 km, can form thousands of network topologies by connecting various devices, and has a small power consumption.

지그비 네트워크는, 네트워크를 관리하는 코디네이터, 네트워크의 라우팅 기능을 수행하는 FFD(Full Function Device) 및 엔드 디바이스(end device)로 동작되는 RFD(Reduced Function Device) 등의 지그비 장치로 구성된다.The ZigBee network is composed of a coordinator for managing the network, a full function device (FFD) for performing routing functions of the network, and a reduced function device (RFD) operated as an end device.

일반적으로, 지그비 네트워크를 구성하는 방법은 다음과 같다.Generally, a method of configuring a ZigBee network is as follows.

첫째, 제1 RFD는 스캔요청 메시지를 브로드캐스트(broadcast) 방식으로 전송 한다. 이때, 상기 스캔요청 메시지는 목적지 주소가 없는 상태이므로 상기 제1 RFD 주변의 라우터들은 상기 스캔요청 메시지를 모두 수신할 수 있다.First, the first RFD transmits a scan request message in a broadcast manner. At this time, since the scan request message has no destination address, routers around the first RFD can receive all the scan request messages.

둘째, 상기 스캔요청 메시지를 수신한 라우터들은 자신이 사용하고 있는 채널, PAN ID(Personal Area Network IDentification), 네트워크 ID를 포함한 네트워크 정보를 스캔응답 메시지로 구성하여 상기 제1 RFD로 전송한다.Second, the routers receiving the scan request message configure the network information including the channel, the PAN ID, and the network ID, which are used by the routers, as a scan response message and transmit the scan information to the first RFD.

셋째, 상기 제1 RFD는 다수의 상기 스캔응답 메시지를 수신하고, 수신신호의 세기가 가장 큰 스캔응답 메시지를 송신한 라우터를 선별한다. 상기 라우터가 선별되면, 상기 제1 RFD는 해당 네트워크 정보를 이용하여 상기 선별된 라우터의 라우팅 경로에 가담한다.Third, the first RFD receives a plurality of the scan response messages and selects a router that has transmitted the scan response message having the largest received signal strength. When the router is selected, the first RFD participates in the routing path of the selected router using the network information.

넷째, 이어서, 제2 RFD, 제3 RFD,…, 제n RFD가 상기 첫째 내지 셋째의 과정을 각각 처리하여 가장 가까운 곳에 위치된 라우터를 선별하고 지그비 네트워크를 구성한다.Fourth, the second RFD, the third RFD, ... , And the n-th RFD processes the first to third processes to select routers located closest to each other and configure the ZigBee network.

이처럼, RFD가 가장 근접된 라우터를 찾아 지그비 네트워크를 구성하는 것이 중요한데, 각각의 RFD들은 스캔요청 메시지를 브로드 캐스팅하고, 라우터들은 각각의 스캔요청 메시지에 대하여 동일한 스캔응답 메시지를 반복적으로, 즉 RFD의 개수만큼 전송해야 한다.As such, it is important to find the router closest to the RFD and configure the ZigBee network. Each RFD broadcasts a scan request message, and the routers repeat the same scan response message repeatedly for each scan request message, Number of times.

따라서, 라우터는 신호 처리에 대한 부하를 받게 되고, 이 과정에서 네트워크 트래픽이 증가하게 되며, 데이터 충돌 현상과 같은 장애 요인이 발생되므로, 지그비 네트워크를 구성하는데 많은 어려움이 있다.Therefore, the router is subjected to a load on the signal processing. In this process, network traffic increases, and obstacles such as data collision occur. Therefore, there are many difficulties in configuring the ZigBee network.

실시예는 지그비 네트워크를 구성하기 위하여 다수의 지그비 장치들이 스캔요청 메시지 및 스캔응답 메시지를 송수신하는 경우, 데이터 전송량, 신호 처리량을 감소시킴으로써 스캔의 실패 확률을 최소화하고 효율적으로 지그비 네트워크를 구성할 수 있는 지그비 시스템 및 지그비 네트워크 구성 방법을 제공한다.In the embodiment, when a plurality of ZigBee devices transmit and receive a scan request message and a scan response message in order to configure a ZigBee network, the probability of failure of the scan is minimized and the ZigBee network can be configured efficiently by reducing the data transmission amount and the signal processing amount ZigBee system and ZigBee network configuration method.

실시예에 따른 지그비 시스템은 코디네이터, 라우터, RFD를 포함하는 지그비 장치로 구성된 지그비 시스템에 관한 것으로서, 스캔요청 메시지를 수신하고 스캔응답 메시지를 브로드캐스트하는 상기 라우터 또는 상기 코디네이터; 상기 스캔요청 메시지를 브로드캐스트하고 응답대기 모드로 진입하며, 상기 스캔응답 메시지가 수신되면 수신신호의 세기가 가장 크다고 판단된 상기 라우터 또는 상기 코디네이터를 선택하여 지그비 네트워크를 구성하는 소정의 지그비 장치; 및 브로드캐스트 전송 거리 내에서 상기 스캔요청 메시지를 수신하여 그룹을 이루고, 응답대기 모드로 진입하며, 상기 스캔응답 메시지가 수신되면 수신신호의 세기가 가장 크다고 판단된 상기 라우터 또는 상기 코디네이터를 선택하여 상기 지그비 네트워크를 구성하는 RFD를 포함한다.The ZigBee system includes a coordinator, a router, and a ZigBee device including an RFD. The ZigBee system includes a router or a coordinator that receives a scan request message and broadcasts a scan response message. A predetermined ZigBee device that broadcasts the scan request message and enters a response standby mode and selects the router or the coordinator determined to have the highest received signal strength when the scan response message is received to configure the ZigBee network; And receiving the scan request message within a broadcast transmission distance to form a group and entering a response standby mode. When the scan response message is received, the router or the coordinator, which is determined to have the highest intensity of the received signal, And RFDs that make up a ZigBee network.

실시예에 따른 지그비 네트워크의 구성 방법은 코디네이터, 라우터, RFD를 포함하는 지그비 장치의 지그비 네트워크 구성 방법에 관한 것으로서, 소정의 지그비 장치가 스캔요청 메시지를 브로드캐스트하고 응답대기 모드로 진입하는 단계; 브로드캐스트 전송 거리 내에서 상기 스캔요청 메시지를 수신한 상기 RFD가 그룹을 이루어 응답대기 모드로 진입하는 단계; 상기 스캔요청 메시지를 수신한 상기 라우터 또는 상기 코디네이터가 스캔응답 메시지를 브로드캐스트하는 단계; 상기 스캔응답 메시지를 수신한 상기 소정의 지그비 장치 및 상기 RFD가 수신신호의 세기를 감지하고, 신호세기가 가장 크다고 판단된 신호를 송신한 상기 라우터 또는 상기 코디네이터를 선택하는 단계; 및 상기 소정의 지그비 장치 및 상기 RFD가 상기 선택된 라우터 또는 코디네이터에 접속하여 지그비 네트워크를 구성하는 단계를 포함한다.A method of configuring a ZigBee network according to an exemplary embodiment of the present invention is a ZigBee network configuration method of a ZigBee device including a coordinator, a router, and an RFD, the method comprising: broadcasting a scan request message to a predetermined Zigbee device and entering a response standby mode; The RFD having received the scan request message within a broadcast transmission distance enters a response standby mode in a group; Broadcasting the scan response message by the router or the coordinator receiving the scan request message; Selecting the router or the coordinator that has received the scan response message and detects a strength of a received signal from the predetermined ZigBee device and the RFD and transmits a signal determined to have the highest signal strength; And configuring the ZigBee network by connecting the predetermined ZigBee device and the RFD to the selected router or coordinator.

실시예에 의하면, 다음과 같은 효과가 있다.According to the embodiment, the following effects can be obtained.

첫째, 지그비 네트워크를 구성하기 위하여, 다수의 지그비 장치가 스캔요청 메시지 및 스캔응답 메시지를 송수신하는 경우, 각 메시지를 반복적으로 송수신할 필요가 없으며 중복 메시지를 배제시킬 수 있다.First, in order to configure a ZigBee network, when a plurality of ZigBee devices transmit and receive a scan request message and a scan response message, it is unnecessary to repeatedly transmit and receive each message, and duplicate messages can be excluded.

둘째, 따라서 각 지그비 장치에 걸리는 부하, 네트워크 트래픽, 데이터 충돌 현상 등을 최소화하여 지그비 네트워크를 구성할 수 있고, 지그비 네트워크의 효율을 극대화할 수 있다.Second, the ZigBee network can be minimized by minimizing the load on each ZigBee device, network traffic, data collision, etc., and maximizing the efficiency of the ZigBee network.

셋째, 스캔요청 메시지 및 스캔응답 메시지의 송수신량을 대폭 감소시킬 수 있으므로, 지그비 장치는 전력 소비를 최소화하여 장시간 안정적으로 동작할 수 있다.Third, since the transmission / reception amount of the scan request message and the scan response message can be greatly reduced, the ZigBee device can operate stably for a long time with minimum power consumption.

첨부된 도면을 참조하여, 실시예에 따른 지그비 시스템 및 지그비 네트워크의 구성 방법에 대하여 상세히 설명한다.A method of configuring a ZigBee system and a ZigBee network according to an embodiment will be described in detail with reference to the accompanying drawings.

이하, 실시예를 설명함에 있어, 관련된 공지 기능 또는 구성에 대한 구체적인 설명은 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되므로 본 발명의 기술적 사상과 직접적인 관련이 있는 핵심적인 구성부만을 언급하기로 한다.Hereinafter, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention unclear. Therefore, only the essential components directly related to the technical idea of the present invention will be described .

도 1은 실시예에 따른 지그비 시스템의 구성부들이 스캔 대기 모드를 유지하는 상태를 모식화한 도면이고, 도 2는 실시예에 따른 지그비 시스템의 일부 구성부들이 응답 대기 모드로 진입한 상태를 모식화한 도면이다.FIG. 1 is a diagram illustrating a state in which the configuration units of the ZigBee system according to the embodiment maintain the scan standby mode. FIG. 2 is a diagram illustrating a state in which some configuration units of the ZigBee system according to the embodiment enter the response standby mode, .

도 1 및 도 2를 참조하면, 실시예에 따른 지그비 시스템은 다수의 지그비 장치들로 이루어지는데, 상기 지그비 장치는 엔드 디바이스(E; End device)로 동작되는 RFD(Reduced Function Device), 라우터(R; Router), 코디네이터(coordinator)일 수 있다. 도 1 및 도 2에는, 설명의 편의를 위하여 RFD(E) 및 라우터(R)만을 도시하였다.1 and 2, a ZigBee system according to an embodiment includes a plurality of ZigBee devices. The ZigBee device includes an RFD (Reduced Function Device) operated as an end device (E), a router (R ; Router), and a coordinator. In FIGS. 1 and 2, only the RFD (E) and the router (R) are shown for convenience of explanation.

도 3은 실시예에 따른 지그비 시스템에서 처리되는 데이터의 영역을 예시적으로 도시한 프로토콜 스택 구조도이다.3 is a protocol stack structure diagram exemplarily showing an area of data processed in the ZigBee system according to the embodiment.

도 3에 의하면, 지그비 프로토콜 스택은 크게 PHY(Physical) 계층(Layer)(S5), MAC(Media Access Controller) 계층(S4), 네트워크(Network/security) 계층(S3), 애플리케이션 프레임워크(Application framework) 계층(S2) 및 응용(Application/Profiles) 계층(S1)으로 이루어지는데, 상기 PHY 계층(S5)과 MAC 계층(S4)은 IEEE 규정(Standard) 영역에 해당되고, 상기 네트워크 계 층(S3)과 프레임워크 계층(S2)은 지그비 연합(Alliance)의 규정 영역에 해당되며, 상기 응용 계층(S1)은 데이터베이스 관리 및 제어정보 생성과 관련된 응용 프로그램 영역에 해당된다.Referring to FIG. 3, the ZigBee protocol stack includes a physical layer S5, a media access controller (MAC) layer S4, a network / security layer S3, an application framework Layer S2 and an application / Profiles layer S1. The PHY layer S5 and the MAC layer S4 correspond to the IEEE standard area, and the network layer S3, And the framework layer S2 correspond to a prescribed area of the ZigBee Alliance and the application layer S1 corresponds to an application program area related to database management and control information generation.

상기 지그비 장치는 탑재된 프로그램의 종류, 즉 네트워크 계층(S3), 프레임워크 계층(S2)의 데이터를 처리하는 프로그램의 종류에 따라 RFD, FFD(Full Function Device) 또는 코디네이터로 기능될 수 있다.The ZigBee device may function as an RFD, a full function device (FFD), or a coordinator depending on the type of program loaded, that is, the type of program that processes data in the network layer S3 and the framework layer S2.

상기 FFD는 네트워크 초기화, 노드 관리, 노드 정보 저장 등의 기능을 수행하는데, 다른 FFD 또는 RFD 모두와 통신을 수행할 수 있다. 또한, 나머지 지그비 장치들이 전술한 세 가지 노드 중 어느 하나의 노드를 구성할 수 있도록 하는 FFD를 PAN(Personal Area Network) 코디네이터라 한다.The FFD performs functions such as network initialization, node management, and node information storage, and can perform communication with other FFDs or RFDs. Also, the FFD that allows the remaining ZigBee devices to configure any one of the three nodes is referred to as a PAN (Personal Area Network) coordinator.

상기 코디네이터는 채널과 PAN ID로 식별되는 PAN을 구성하고, 라우터 또는 RFD에 네트워크 주소를 할당한다.The coordinator configures a PAN identified by a channel and a PAN ID, and assigns a network address to a router or an RFD.

상기 RFD는 코디네이터 기능 및 라우팅 기능을 수행하지 못하며 엔드 디바이스로 동작되는 지그비 장치로서, 코디네이팅 대상이 되며 라우터 또는 코디네이터와 통신을 수행할 수 있다. 즉, 상기 RFD는 동일한 채널 및 PAN ID로 구성된 PAN에 참여할 수 있다.The RFD can not perform a coordinator function and a routing function, and is a ZigBee device operated as an end device. The RFD can be a target of coordination and can perform communication with a router or a coordinator. That is, the RFD can participate in a PAN composed of the same channel and PAN ID.

상기 코디네이터의 제어를 받으며, 라우팅 경로를 처리하여 상기 RFD로 데이터를 전달하는 FFD를 라우터라 한다. 상기 라우터는 동일한 채널 및 PAN ID 로 구성된 PAN에 참여하며, 아직 PAN에 참여하지 않은 다른 라우터 또는 RFD에 네트워크 주소를 할당하여 PAN에 참여하도록 한다.An FFD which receives control under the control of the coordinator and processes the routing path to transmit data to the RFD is called a router. The router participates in a PAN composed of the same channel and PAN ID, and assigns a network address to another router or RFD not participating in the PAN yet so as to participate in the PAN.

도 4는 실시예에 따른 지그비 시스템을 구성하는 지그비 장치(100)의 구성 요소를 개략적으로 도시한 블록도이고, 도 5는 실시예에 따른 지그비 시스템에서 처리되는 데이터 패킷의 형태를 개략적으로 도시한 데이터 구조도이다.4 is a block diagram schematically showing the components of the ZigBee apparatus 100 constituting the ZigBee system according to the embodiment, and Fig. 5 schematically shows the form of the data packet processed in the ZigBee system according to the embodiment Data structure diagram.

도 4에 예시된 상기 지그비 장치(100)는 전술한 대로, 탑재된 프로그램의 종류에 따라 RFD, 라우터, 코디네이터로 동작될 수 있는데, 제어부(110), 저장부(120), 맥처리부(130), RF수신부(140), RF송신부(150), 전력제어회로(160), 위상동기회로(170) 및 안테나(180)를 포함하여 구성된다.The ZigBee device 100 illustrated in FIG. 4 can be operated as an RFD, a router, and a coordinator depending on the type of the installed program. As described above, the ZigBee device 100 includes a control unit 110, a storage unit 120, An RF receiving unit 140, an RF transmitting unit 150, a power control circuit 160, a phase synchronization circuit 170, and an antenna 180.

또한, 상기 제어부(110)는 모드제어부(112), 다중전송부(114), 네트워크구성부(116), 주기(period)연산부(118)를 포함하고, 상기 RF수신부(140)는 신호세기감지부(142)를 포함한다.The control unit 110 includes a mode control unit 112, a multiplexing unit 114, a network configuration unit 116 and a period calculation unit 118. The RF reception unit 140 detects a signal intensity (142).

도 5를 참조하면, 상기 제어부(110)가 생성하는 데이터 패킷은 프리앰블(D1), SPD(Start of Packet Delimiter)(D2), PHY 헤더(D3), PSDU(PHY Service Data Unit)(D4) 등으로 이루어지는데, 상기 프리앰블(혹은 "비콘"이 사용될 수 있음)(D1)은 전송 타이밍을 동기화하기 위하여 지그비 장치 사이에 해석될 수 있는 일련의 펄스 신호를 의미한다.5, a data packet generated by the controller 110 includes a preamble D1, a start of packet delimiter D2, a PHY header D3, a PHY Service Data Unit (D4) The preamble (or "beacon" can be used) D1 means a series of pulse signals that can be interpreted between ZigBee devices to synchronize the transmission timing.

그리고, 상기 SPD(D2)는 실제 패킷 데이터가 시작되었음을 상대 지그비 장치에게 알려주고 PHY헤더의 해석 지점을 표시하며, 상기 PHY헤더(D3)는 상기 PHY 계층(물리 계층)(S5)의 해석 정보를 담고 있으며, 상기 PSDU(D4)는 라우팅 정보와 함께 응용 데이터가 실리는 구간이다.The SPD D2 notifies the relative Zigbee device that the actual packet data has been started and indicates an interpretation point of the PHY header. The PHY header D3 contains analysis information of the PHY layer (physical layer) S5 , And the PSDU (D4) is a section in which application data is loaded together with routing information.

실시예에 따른 스캔요청 메시지, 스캔응답 메시지 등은 도 5에 도시된 데이 터 패킷의 형태로 구성되어 송수신될 수 있다.The scan request message, the scan response message, and the like according to the embodiment may be transmitted and received in the form of a data packet shown in FIG.

상기 제어부(110)는 소프트웨어 맥(Software-MAC)계층, 네트워크 계층(S3)의 기능, 프레임워크 계층(S2)(도 2 참조)의 기능을 수행하여 네트워크 토폴로지를 구성하고, 응용 계층(S1)의 기능을 수행하여 데이터베이스를 관리하고 지그비 네트워크를 구성한다.The controller 110 configures a network topology by performing functions of a software-MAC layer, a function of a network layer S3 and a framework layer S2 (refer to FIG. 2) To manage the database and configure the ZigBee network.

상기 제어부(110)를 구성하는 상기 모드제어부(112), 상기 다중전송부(114), 상기 네트워크구성부(116), 상기 주기연산부(118)의 구체적인 동작에 대해서는, 도 6을 참조하여 지그비 네트워크의 구성방법과 함께 설명하기로 한다.6, the detailed operation of the mode control unit 112, the multiplexing unit 114, the network configuration unit 116, and the period operation unit 118 of the control unit 110 will be described with reference to FIG. Will be described together with a method for constructing the image forming apparatus.

상기 RF수신부(140), 상기 RF송신부(150), 상기 위상동기회로(170) 및 상기 전력제어회로(160)는 PHY 계층(S5)에 해당되는 동작을 처리하는 구성부들로서 RF통신 구조와 네트워크 토폴리지를 결정한다.The RF receiving unit 140, the RF transmitting unit 150, the phase synchronization circuit 170 and the power control circuit 160 are components for processing operations corresponding to the PHY layer S5, Determine the topology.

상기 안테나(180)와 연결된 상기 RF수신부(140)와 상기 RF송신부(150)는 DSSS(Direct Sequence Spread Spectrum)를 이용하며, 2.4 GHz 대역의 경우 32 PN 코드 길이의 O-QPSK(Offset-Quadrature Phase-Shift Keying) 변복조 방식을 사용하여 RF신호와 디지털 신호를 상호변환하여 처리한다.The RF receiver 140 and the RF transmitter 150 connected to the antenna 180 use DSSS (Direct Sequence Spread Spectrum), and in the 2.4 GHz band, an Offset-Quadrature Phase (O-QPSK) -Shift Keying) The RF signal and the digital signal are converted and processed by using the modulation / demodulation method.

또한, 상기 위상동기회로(170)는 상기 RF수신부(140)와 상기 RF송신부(150)로 발진주파수신호를 제공하고, 상기 전력제어회로(160)는 수신 신호의 세기를 판별하여 송신 전력량을 조정한다.The phase synchronization circuit 170 provides an oscillation frequency signal to the RF reception unit 140 and the RF transmission unit 150. The power control circuit 160 determines the strength of the reception signal and adjusts the amount of transmission power do.

상기 맥(MAC; Media Access Controller)처리부(130)는 전송된 데이터 프레임 구조를 해석하여 프레임을 승인하고, 에러를 감지하여(Error Detection; CRC 또는 Checksum을 통하여 감지함) 재전송 여부를 결정하며, 패킷 라우팅을 처리한다.The MAC (Media Access Controller) processor 130 analyzes the transmitted data frame structure to acknowledge a frame, detects an error (Error Detection (CRC or Checksum), determines whether to retransmit) Routing is handled.

이하, 도 6을 참조하여 실시예에 따른 지그비 네트워크의 구성 방법에 대하여 상세히 설명한다.Hereinafter, a method of configuring a ZigBee network according to an embodiment will be described in detail with reference to FIG.

도 6은 실시예에 따른 지그비 네트워크의 구성 방법을 도시한 흐름도이다.6 is a flowchart illustrating a method of configuring a ZigBee network according to an embodiment.

우선, 도 1에 도시된 지그비 장치들은 스캔 요청 메시지를 브로드캐스팅 방식으로 전송하여 지그비 네트워크 구성을 요청할 수 있다.First, the ZigBee devices shown in FIG. 1 can request a ZigBee network configuration by transmitting a scan request message in a broadcast manner.

상기 지그비 네트워크 구성을 요청할 수 있는 지그비 장치는 코디네이터, 라우터, RFD일 수 있다.The ZigBee device capable of requesting the ZigBee network configuration may be a coordinator, a router, or an RFD.

실시예에서 설명의 편의를 위하여, 최초 네트워크 구성을 요청한 지그비 장치는 RFD인 것으로 한다.For convenience of explanation in the embodiment, it is assumed that the ZigBee device that requested the initial network configuration is RFD.

또한, 참고적인 설명을 부가하는 경우 라우터와 코디네이터의 동작은 유사하므로, 라우터만을 예시하여 설명하기로 한다. 이 경우 라우터의 동작은 코디네이터에 적용될 수 있음은 물론이다.In addition, when a reference description is added, the operations of the router and the coordinator are similar to each other, so that only the router will be described. In this case, it is needless to say that the operation of the router can be applied to the coordinator.

네트워크 구성을 요청하는 지그비 장치가 상기 RFD(E)인 경우(S100의 "RFD"), 상기 RFD(E)들은 각각 스캔대기 모드로 진입하는 시작 시간, 스캔대기 모드를 유지하는 시간을 달리하여, 랜덤한 주기(random period) 동안 스캔대기 모드를 유지한다(S100, S105).When the ZigBee device requesting the network configuration is the RFD (E) (S100 "RFD"), the RFDs (E) differ in the start time to enter the scan standby mode, The scan standby mode is maintained during a random period (S100, S105).

상기 랜덤 주기가 종료되면(S110의 "예"), 임의의 상기 RFD(E)의 상기 모드제어부(도 4; 112)는 스캔 모드로 진입하고, 상기 다중전송부(114)는 스캔요청 메시지를 브로드캐스트한다(S115).When the random period ends (YES in S110), the mode control unit (FIG. 4; 112) of any RFD (E) enters the scan mode and the multiplexing unit 114 transmits a scan request message Broadcast (S115).

상기 스캔요청 메시지는 상기 라우터(R) 또는 코디네이터에게 PAN ID를 요청하는 내용을 포함한다.The scan request message includes a request for a PAN ID to the router R or the coordinator.

한편, 네트워크 구성을 요청하는 지그비 장치가 라우터인 경우(S100의 "라우터") 상기 라우터(R)는 단계 S105 내지 단계 S110의 과정을 거치지 않고 바로 스캔요청 메시지를 브로드캐스트할 수 있다(S115).On the other hand, if the ZigBee device requesting the network configuration is a router ("router" of S100), the router R can immediately broadcast a scan request message without going through steps S105 to S110 (S115).

이후, 상기 스캔요청 메시지를 브로드캐스트한 상기 RFD(E)는 응답대기 모드로 진입한다(S120).Then, the RFD (E) broadcasting the scan request message enters a response standby mode (S120).

이때, 브로드캐스트의 범위 내에 존재하는 라우터(R), 다른 RFD(E)만이 상기 스캔요청 메시지를 수신할 수 있으며, 스캔요청 메시지를 송신한 RFD(E), 브로드캐스트 범위 내에 존재하는 다른 RFD(E)는 함께 그룹핑되어(도 2의 G1) 최초 스캔요청 메시지를 송신한 것처럼 간주된다.At this time, only the router R and another RFD (E) within the broadcast range can receive the scan request message, and the RFD (E) transmitting the scan request message, the other RFD (E) E) are grouped together (G1 in FIG. 2) and are considered to have transmitted the initial scan request message.

상기 스캔요청 메시지를 수신한 다른 RFD(E)들은 스캔요청 메시지를 송신한 RFD(E)와 동일하게, 스캔대기 모드에서 응답대기 모드로 진입한다(S125).The other RFDs (E) that have received the scan request message enter the response standby mode in the scan standby mode in the same manner as the RFD (E) that transmitted the scan request message (S125).

즉, 다수의 RFD(E)는 순서가 정해진 것이 아니라 각자 랜덤하게 이웃 노드의 스캔을 시작할 수 있으며, 어느 하나의 RFD(E)가 스캔을 시작하면 다른 RFD(E)들은 스캔대기 모드에서 응답대기 모드로 진입하는 것이다.In other words, a plurality of RFDs (E) can start to scan the neighboring nodes randomly, and when one RFD (E) starts scanning, the other RFDs (E) Mode.

이때, 브로드캐스트 범위 밖에 존재하는 다른 RFD(E)는 최초 스캔요청 메시지를 송신하지 않은 그룹(도 2의 G2)으로 간주되며, 스캔대기 모드를 유지한다.At this time, another RFD (E) existing outside the broadcast range is regarded as a group (G2 in FIG. 2) that did not transmit the initial scan request message, and the scan standby mode is maintained.

각각의 상기 RFD(E)들은 응답대기 모드의 주기를 계산하며, 상기 라우터(R)로부터 스캔응답 메시지가 수신되지 않은 상태에서 응답대기 모드의 주기가 종료되 면(S130의 "예") 다시 스캔대기 모드로 진입하여 각자 랜덤 주기를 다시 적용한다(S105).When the period of the response standby mode is terminated in a state in which the scan response message is not received from the router R (YES in S130), the RFD (E) And enters the standby mode and applies the random period again (S105).

또한, 상기 RFD(E)들의 응답대기 모드가 종료되지 않더라도, 상기 라우터(R) 모두가 브로드캐스트 전송범위 밖에 존재하는 경우, 어느 라우터(R)도 스캔응답 메시지를 송신할 수 없다(S135의 "아니오").Also, even if the response standby mode of the RFD (E) is not terminated, if all of the routers R are out of the broadcast transmission range, no router R can transmit a scan response message (S135: no").

이러한 경우, 상기 RFD(E)들은 다시 스캔대기 모드로 진입하여 각자 랜덤 주기를 다시 적용한다(S105).In this case, the RFD (E) enters the scan standby mode again and applies the random period again (S105).

즉, 상기 라우터(R)가 스캔응답 메시지를 송신하기 전에 상기 RFD(E)의 응답대기 모드가 종료되거나 거리상 이격된 상기 라우터(R)가 스캔응답 메시지를 송신할 수 없는 경우, 다른 RFD(E)에게 스캔요청 권한이 랜덤하게 이전될 수 있는 것이다.That is, if the response standby mode of the RFD (E) is terminated before the router R transmits a scan response message or if the router R spaced apart from the router R can not transmit a scan response message, another RFD (E The scan request authority can be transferred at random.

반면, 응답대기 모드의 주기가 종료되지 않은 상태에서(S130의 "아니오") 상기 스캔요청 메시지를 수신한 라우터(R)가 스캔응답 메시지를 브로드캐스팅하면(S135의 "예"), 상기 응답대기 모드에 있던 상기 RFD(E)들은 모두 스캔응답 메시지를 수신하고, 지그비 네트워크를 구성할 수 있다(S140).On the other hand, if the router R that has received the scan request message broadcasts the scan response message (Yes in S135) while the cycle of the response standby mode is not terminated (NO in S130) Mode, the RFDs (E) can receive a scan response message and configure a ZigBee network (S140).

이때, 상기 스캔요청 메시지를 수신한 라우터(R)들은 모두 스캔응답 메시지를 브로드캐스트한다.At this time, the routers R receiving the scan request message all broadcast a scan response message.

상기 RFD(E)들은 인접된 다수의 상기 라우터(R)들로부터 스캔응답 메시지를 수신하고, 상기 RFD(E)의 신호세기감지부(도 4; 142)는 수신신호의 세기를 감지하여 감지정보를 생성한다.The RFDs E receive a scan response message from a plurality of neighboring routers R. The signal intensity detector of the RFD E detects the strength of a received signal and outputs detection information .

예를 들어, 상기 신호세기감지부(142)는 로그 앰프로 구비될 수 있으며, 아날로그 상태인 중간주파 신호를 직류전압신호로 출력하여 전력 레벨을 감지할 수 있는 상태로 변환한다.For example, the signal strength detector 142 may be provided as a logarithmic amplifier and converts an intermediate frequency signal, which is an analog state, into a DC voltage signal so as to detect a power level.

이때, 상기 신호세기감지부(142)는 중간주파 신호를 직접(Direct) 데시벨 값에 비례한 직류전압신호로 출력시킴으로써 수신 가능한 전력 레벨의 신호 감도 범위를 확장시킬 수 있다.At this time, the signal strength detection unit 142 may extend the signal sensitivity range of the power level that can be received by outputting the intermediate frequency signal as a DC voltage signal proportional to a direct decibel value.

상기 네트워크구성부(116)는 상기 신호세기감지부(142)로부터 감지정보가 전달되면 이를 비교가능한 디지털 신호로 변환하여 상기 저장부(120)에 기록한다.When the sensing information is received from the signal strength sensing unit 142, the network configuration unit 116 converts the sensing information into a comparable digital signal and records the digital signal in the storage unit 120.

상기 네트워크구성부(116)는 상기 라우터(R) 별로 기록된 상기 감지정보를 비교하여 신호세기가 가장 크다고 판단되는 라우터를 선택하고, 선택된 라우터(R)의 스캔응답 메시지를 분석하여 네트워크 정보, 가령 채널, PAN ID, 기기식별정보를 추출한다.The network configuration unit 116 compares the detection information recorded for each router R to select a router that is determined to have the highest signal strength and analyzes the scan response message of the selected router R to obtain network information, Channel, PAN ID, and device identification information.

상기 네트워크구성부(116)는 상기 네트워크 정보, 상기 감지정보를 상기 저장부(120)의 스캔 테이블에 기록하고, 자신의 라우팅 정보로 설정한다.The network configuration unit 116 records the network information and the sensing information in the scan table of the storage unit 120 and sets the network information and the sensing information as its own routing information.

이후, 상기 RFD(E)는 설정된 라우팅 정보를 이용하여 상기 라우터(R)에 접속하면, 상기 라우터(R)는 자신의 주변에 위치된 상기 RFD(E)들을 인식하고 상기 RFD(E)에게 네트워크 ID를 부여한다.Then, when the RFD (E) accesses the router R using the set routing information, the router R recognizes the RFDs (E) located in the vicinity of the router R and informs the RFD ID.

따라서, 최초 스캔요청 메시지의 브로드캐스트 범위 내에서 그룹(G1)을 이룬 다수의 RFD(E)들은 1회의 스캔요청 및 스캔응답 과정을 통하여 동시에 지그비 네트워크를 구성할 수 있다.Accordingly, a plurality of RFDs (E) forming the group G1 within the broadcast range of the first scan request message can configure the ZigBee network simultaneously through one scan request and scan response process.

이후, 최초 스캔요청 메시지의 브로드캐스트 범위 밖에서 그룹(G2)을 이룬 다른 RFD(E)들은 상기 단계 S100 내지 단계 S140의 과정을 진행함으로써 별도의 지그비 네트워를 구성할 수 있다.Thereafter, other RFDs (E) having the group G2 outside the broadcast range of the initial scan request message can construct a separate ZigBee network by performing the processes of steps S100 to S140.

도 4의 상기 주기연산부(118)는 상기 스캔대기 모드의 랜덤 주기, 응답대기 모드의 주기를 연산하고, 상기 모드제어부(112)는 상기 연산된 주기 또는 스캔요청 메시지, 스캔응답 메시지의 송수신에 따른 각 모드의 전환을 처리한다.The period calculator 118 of FIG. 4 calculates the period of the random period and the response standby mode of the scan standby mode, and the mode control unit 112 calculates the period of the random period and the response standby mode of the scan standby mode, Processes switching of each mode.

이상에서 본 발명에 대하여 그 바람직한 실시예를 중심으로 설명하였으나 이는 단지 예시일 뿐 본 발명을 한정하는 것이 아니며, 본 발명이 속하는 분야의 통상의 지식을 가진 자라면 본 발명의 본질적인 특성을 벗어나지 않는 범위에서 이상에 예시되지 않은 여러 가지의 변형과 응용이 가능함을 알 수 있을 것이다. 예를 들어, 본 발명의 실시예에 구체적으로 나타난 각 구성 요소는 변형하여 실시할 수 있는 것이다. 그리고 이러한 변형과 응용에 관계된 차이점들은 첨부된 청구 범위에서 규정하는 본 발명의 범위에 포함되는 것으로 해석되어야 할 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, It will be understood that various modifications and applications other than those described above are possible. For example, each component specifically shown in the embodiments of the present invention can be modified and implemented. It is to be understood that all changes and modifications that come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.

도 1은 실시예에 따른 지그비 시스템의 구성부들이 스캔 대기 모드를 유지하는 상태를 모식화한 도면.BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a diagram illustrating a state in which components of a ZigBee system according to an embodiment maintain a scan standby mode. FIG.

도 2는 실시예에 따른 지그비 시스템의 일부 구성부들이 응답 대기 모드로 진입한 상태를 모식화한 도면.FIG. 2 is a diagram illustrating a state in which some constituent parts of a ZigBee system according to an embodiment enter a response standby mode; FIG.

도 3은 실시예에 따른 지그비 시스템에서 처리되는 데이터의 영역을 예시적으로 도시한 프로토콜 스택 구조도.3 is a diagram showing a protocol stack structure exemplarily showing an area of data processed in a ZigBee system according to an embodiment;

도 4는 실시예에 따른 지그비 시스템을 구성하는 지그비 장치의 구성 요소를 개략적으로 도시한 블록도.4 is a block diagram schematically showing the components of a ZigBee device constituting a ZigBee system according to an embodiment;

도 5는 실시예에 따른 지그비 시스템에서 처리되는 데이터 패킷의 형태를 개략적으로 도시한 데이터 구조도.5 is a data structure diagram schematically showing the form of a data packet processed in a ZigBee system according to an embodiment;

도 6은 실시예에 따른 지그비 네트워크의 구성 방법을 도시한 흐름도.6 is a flowchart illustrating a method of configuring a ZigBee network according to an embodiment.

Claims (22)

코디네이터, 라우터, RFD를 포함하는 지그비 장치의 지그비 네트워크 구성 방법에 있어서,A method for configuring a ZigBee network of a ZigBee device including a coordinator, a router, and an RFD, 소정의 지그비 장치가 스캔요청 메시지를 브로드캐스트하고 응답대기 모드로 진입하는 단계;A predetermined ZigBee device broadcasts a scan request message and enters a response standby mode; 브로드캐스트 전송 거리 내에서 상기 스캔요청 메시지를 수신한 복수의 RFD들이 그룹을 이루어 응답대기 모드로 진입하는 단계;Entering a response standby mode in a group of a plurality of RFDs receiving the scan request message within a broadcast transmission distance; 상기 스캔요청 메시지를 수신한 상기 라우터 또는 상기 코디네이터가 스캔응답 메시지를 브로드캐스트하는 단계;Broadcasting the scan response message by the router or the coordinator receiving the scan request message; 상기 스캔응답 메시지를 수신한 상기 소정의 지그비 장치 및 상기 복수의 RFD들이 수신신호의 세기를 감지하고, 신호세기가 가장 크다고 판단된 신호를 송신한 상기 라우터 또는 상기 코디네이터를 각각 선택하는 단계; 및Selecting the router or the coordinator that has received the scan response message and detects the strength of the received signal by the predetermined ZigBee device and the plurality of RFDs and transmits the signal determined to have the highest signal strength; And 상기 소정의 지그비 장치 및 상기 복수의 RFD들이 상기 각각 선택된 라우터 또는 코디네이터에 접속하여 지그비 네트워크를 구성하는 단계를 포함하며,Configuring the ZigBee network by connecting the predetermined ZigBee device and the plurality of RFDs to the respective selected routers or coordinators, 상기 응답대기 모드로 진입하는 복수의 RFD에는,In the plurality of RFDs entering the response standby mode, 상기 스캔응답 메시지의 브로드 캐스트 범위 내에 존재하면서 상기 스캔요청 메시지를 전송하지 않은 RFD들을 포함하며,And RFDs that are within the broadcast range of the scan response message and do not transmit the scan request message, 상기 복수의 RFD들은,The plurality of RFDs, 상기 스캔요청 메시지를 수신한 상기 라우터 또는 상기 코디네이터로부터 전송되는 스캔응답 메시지를 공통으로 수신하는 지그비 네트워크의 구성 방법.And a scan response message transmitted from the router or the coordinator that receives the scan request message. 제1항에 있어서, 상기 스캔요청 메시지는The method of claim 1, wherein the scan request message PAN ID를 요청하는 내용을 포함하는 것을 특징으로 하는 지그비 네트워크의 구성 방법.And requesting the PAN ID to the ZigBee network. 제1항에 있어서, 상기 스캔응답 메시지는2. The method of claim 1, wherein the scan response message 상기 라우터 또는 상기 코디네이터의 채널, PAN ID, 기기식별정보를 포함하는 것을 특징으로 하는 지그비 네트워크의 구성 방법.And a channel, a PAN ID, and device identification information of the router or the coordinator. 제1항에 있어서, 상기 소정의 지그비 장치는The apparatus according to claim 1, wherein the predetermined Zigbee device 상기 코디네이터, 상기 라우터, 상기 복수의 RFD들 중 어느 하나인 것을 특징으로 하는 지그비 네트워크의 구성 방법.The router, the plurality of RFDs, and the coordinator, the router, and the plurality of RFDs. 제1항에 있어서, 상기 소정의 지그비 장치가 응답대기 모드로 진입하는 단계는,2. The method of claim 1, wherein the predetermined ZigBee device enters a response standby mode, 상기 복수의 RFD들 중 적어도 하나가 모드 시작 시간, 모드 유지 시간을 달리하여 랜덤한 주기 동안 스캔대기 모드 상태를 유지하는 단계;Maintaining at least one of the plurality of RFDs in a scan standby mode for a random period with different mode start times and mode hold times; 상기 소정의 지그비 장치가 RFD인 경우 상기 랜덤 주기가 종료되면, 상기 복수의 RFD들 중 적어도 하나는 상기 스캔대기 모드에서 스캔 모드로 진입하여 상기 스캔요청 메시지를 브로드캐스트하는 단계를 포함하는 지그비 네트워크의 구성 방법.Wherein at least one of the plurality of RFDs enters the scan mode in the scan standby mode and broadcasts the scan request message when the random period ends when the predetermined Zigbee device is RFD. How to configure. 제5항에 있어서, 상기 스캔요청 메시지를 수신한 상기 복수의 RFD들이 그룹을 이루어 응답대기 모드로 진입하는 단계는,6. The method of claim 5, wherein the plurality of RFDs having received the scan request message are grouped into a response standby mode, 상기 스캔요청 메시지를 수신하지 않은 다른 그룹의 상기 RFD는 상기 스캔대기 모드를 유지하는 것을 특징으로 하는 지그비 네트워크의 구성 방법.And the RFD of another group that has not received the scan request message maintains the scan standby mode. 제5항에 있어서, 상기 라우터 또는 상기 코디네이터가 스캔응답 메시지를 브로드캐스트하는 단계는,6. The method of claim 5, wherein the step of the router or the coordinator broadcasting the scan response message comprises: 상기 소정의 지그비 장치 및 상기 그룹을 이룬 복수의 RFD들이 상기 응답대기 모드의 주기를 계산하는 단계;Calculating a period of the response standby mode by the predetermined ZigBee device and the plurality of grouped RFDs; 상기 스캔응답 메시지가 수신되지 않은 상태에서 상기 응답대기 모드의 주기가 종료되면, 상기 소정의 지그비 장치 및 상기 그룹을 이룬 복수의 RFD들이 상기 스캔대기 모드 상태를 유지하는 단계로 복귀하는 단계를 포함하는 지그비 네트워크의 구성 방법.And returning to the step of maintaining the predetermined standby mode when the period of the response standby mode is terminated in a state in which the scan response message is not received by the plurality of RFDs having the predetermined ZigBee device and the group How to configure ZigBee network. 제5항에 있어서, 상기 라우터 또는 상기 코디네이터가 스캔응답 메시지를 브로드캐스트하는 단계는,6. The method of claim 5, wherein the step of the router or the coordinator broadcasting the scan response message comprises: 상기 라우터 또는 상기 코디네이터가 상기 스캔요청 메시지의 브로드캐스트 전송 거리 밖에 위치되고, 상기 스캔응답 메시지를 송신하지 못한 경우,When the router or the coordinator is located outside the broadcast transmission distance of the scan request message and fails to transmit the scan response message, 상기 소정의 지그비 장치 및 상기 그룹을 이룬 RFD가 상기 스캔대기 모드 상태를 유지하는 단계로 복귀하는 단계를 포함하는 지그비 네트워크의 구성 방법.And restoring the predetermined ZigBee device and the grouped RFD to the step of maintaining the scan standby mode state. 제1항에 있어서, 상기 소정의 지그비 장치 및 상기 복수의 RFD들이 상기 라우터 또는 상기 코디네이터를 선택하는 단계는,2. The method of claim 1, wherein the step of selecting the router or the coordinator by the predetermined ZigBee device and the plurality of RFDs comprises: 상기 소정의 지그비 장치 및 상기 복수의 RFD들이 상기 각각 선택된 라우터 또는 코디네이터의 채널응답 정보를 분석하여 채널, PAN ID, 기기식별정보 중 하나 이상의 네트워크 정보를 추출하는 단계; 및The predetermined ZigBee device and the plurality of RFDs analyzing channel response information of each selected router or coordinator to extract one or more network information of a channel, PAN ID, and device identification information; And 상기 소정의 지그비 장치 및 상기 복수의 RFD들이 상기 네트워크 정보, 수신신호 세기의 감지정보를 스캔 테이블에 기록하는 단계를 포함하는 지그비 네트워크의 구성 방법.Wherein the predetermined ZigBee device and the plurality of RFDs record the detection information of the network information and the received signal strength in a scan table. 제1항에 있어서, 상기 지그비 네트워크를 구성하는 단계는2. The method of claim 1, wherein configuring the ZigBee network comprises: 상기 소정의 지그비 장치 및 상기 복수의 RFD들이 상기 각각 선택된 라우터 또는 코디네이터에 접속하는 단계;Connecting the predetermined ZigBee device and the plurality of RFDs to each selected router or coordinator; 상기 접속된 라우터 또는 상기 코디네이터가 상기 소정의 지그비 장치 및 상기 복수의 RFD들에게 네트워크 ID를 각각 부여하는 단계; 및The connected router or the coordinator assigning a network ID to the predetermined ZigBee device and the plurality of RFDs, respectively; And 상기 소정의 지그비 장치 및 상기 복수의 RFD들이 상기 라우터 또는 코디네이터와 지그비 네트워크를 구성하고 데이터 통신을 수행하는 단계를 포함하는 지그비 네트워크의 구성 방법.Wherein the predetermined ZigBee device and the plurality of RFDs constitute a ZigBee network with the router or the coordinator and perform data communication. 제1항에 있어서,The method according to claim 1, 상기 브로드캐스트 전송 거리 밖에서 상기 그룹을 이루지 못한 상기 지그비 장치들이 상기 스캔요청 메시지를 브로드캐스트하고 응답대기 모드로 진입하는 단계 내지 상기 지그비 네트워크를 구성하는 단계를 진행하는 단계를 포함하는 지그 비 네트워크의 구성 방법.And a step of configuring the ZigBee network by broadcasting the scan request message and entering a response standby mode when the ZigBee devices that do not form the group outside the broadcast transmission distance are configured to configure the ZigBee network Way. 코디네이터, 라우터, RFD를 포함하는 지그비 장치로 구성된 지그비 시스템에 있어서,In a ZigBee system composed of a ZigBee device including a coordinator, a router and an RFD, 스캔요청 메시지를 수신하고 스캔응답 메시지를 브로드캐스트하는 상기 라우터 또는 상기 코디네이터;Said router or said coordinator receiving a scan request message and broadcasting a scan response message; 상기 스캔요청 메시지를 브로드캐스트하고 응답대기 모드로 진입하며, 상기 스캔응답 메시지가 수신되면 수신신호의 세기가 가장 크다고 판단된 상기 라우터 또는 상기 코디네이터를 선택하여 지그비 네트워크를 구성하는 소정의 지그비 장치; 및A predetermined ZigBee device that broadcasts the scan request message and enters a response standby mode and selects the router or the coordinator determined to have the highest received signal strength when the scan response message is received to configure the ZigBee network; And 브로드캐스트 전송 거리 내에서 상기 스캔요청 메시지를 수신하여 그룹을 이루고, 응답대기 모드로 진입하며, 상기 스캔응답 메시지가 수신되면 수신신호의 세기가 가장 크다고 판단된 상기 라우터 또는 상기 코디네이터를 선택하여 상기 지그비 네트워크를 구성하는 복수의 RFD들을 포함하며,The router receives the scan request message within a broadcast transmission distance to form a group and enters a response standby mode. When the scan response message is received, the router or the coordinator determined to have the highest intensity of the received signal is selected, A plurality of RFDs constituting a network, 상기 그룹을 이룬 복수의 RFD들은,The plurality of RFDs forming the group, 상기 스캔응답 메시지의 브로드 캐스트 범위 내에 존재하면서 상기 스캔요청 메시지를 전송하지 않은 RFD들을 포함하며,And RFDs that are within the broadcast range of the scan response message and do not transmit the scan request message, 상기 그룹을 이룬 복수의 RFD들은,The plurality of RFDs forming the group, 상기 스캔요청 메시지를 수신한 상기 라우터 또는 상기 코디네이터로부터 전송되는 스캔응답 메시지를 공통으로 수신하는 지그비 시스템.And a scan response message transmitted from the router or the coordinator that receives the scan request message. 제12항에 있어서, 상기 스캔요청 메시지는13. The method of claim 12, wherein the scan request message PAN ID를 요청하는 내용을 포함하는 것을 특징으로 하는 지그비 시스템.And requesting the PAN ID. 제12항에 있어서, 상기 스캔응답 메시지는13. The method of claim 12, wherein the scan response message 상기 라우터 또는 상기 코디네이터의 채널, PAN ID, 기기식별정보를 포함하 는 것을 특징으로 하는 지그비 시스템.And a channel, a PAN ID, and device identification information of the router or the coordinator. 제12항에 있어서, 상기 소정의 지그비 장치는13. The method of claim 12, wherein the predetermined ZigBee device 상기 코디네이터, 상기 라우터, 상기 복수의 RFD들 중 어느 하나인 것을 특징으로 하는 지그비 시스템.The router, the plurality of RFDs, and the ZigBee system. 제12항에 있어서, 상기 복수의 RFD들 중 적어도 하나는13. The method of claim 12, wherein at least one of the plurality of RFDs 모드 시작 시간, 모드 유지 시간을 달리하여 랜덤한 주기를 계산하고, 상기 랜덤 주기 동안 스캔대기 모드 상태를 유지하고, 상기 랜덤 주기가 종료되면, 상기 스캔대기 모드에서 스캔 모드로 진입하여 상기 스캔요청 메시지를 브로드캐스트하는 것을 특징으로 하는 지그비 시스템.A mode start time and a mode holding time, and maintains the scan standby mode during the random period. When the random period ends, the scan mode enters the scan mode in the scan standby mode, To the ZigBee system. 제16항에 있어서, 상기 스캔요청 메시지를 수신하지 않은 다른 그룹의 RFD는17. The method of claim 16, wherein the RFD of another group that has not received the scan request message 상기 스캔대기 모드를 유지하는 것을 특징으로 하는 지그비 시스템.And the scan standby mode is maintained. 제16항에 있어서, 상기 복수의 RFD들 중 적어도 하나는17. The method of claim 16, wherein at least one of the plurality of RFDs 상기 응답대기 모드의 주기를 계산하고, 상기 스캔응답 메시지가 수신되지 않은 상태에서 상기 응답대기 모드의 주기가 종료되면, 상기 랜덤 주기를 다시 계산하여 상기 스캔대기 모드로 진입하는 것을 특징으로 하는 지그비 시스템.Wherein the controller is further configured to calculate the period of the response standby mode and to enter the scan standby mode by recalculating the random period when the period of the response standby mode is ended while the scan response message is not received. . 제16항에 있어서, 상기 복수의 RFD들 중 적어도 하나는17. The method of claim 16, wherein at least one of the plurality of RFDs 상기 라우터 또는 상기 코디네이터가 상기 스캔요청 메시지의 브로드캐스트 전송 거리 밖에 위치되고 상기 스캔응답 메시지를 송신하지 못한 경우, 상기 랜덤 주기를 다시 계산하여 상기 스캔대기 모드로 진입하는 것을 특징으로 하는 지그비 시스템.Wherein when the router or the coordinator is located outside the broadcast transmission distance of the scan request message and fails to transmit the scan response message, the router or the coordinator recalculates the random period and enters the scan standby mode. 제12항에 있어서, 상기 소정의 지그비 장치, 상기 복수의 RFD들 중 하나 이상의 지그비 장치는13. The method of claim 12, wherein the predetermined ZigBee device, at least one of the plurality of RFDs, 상기 선택된 라우터 또는 코디네이터의 채널응답 정보를 분석하여 채널, PAN ID, 기기식별정보 중 하나 이상의 네트워크 정보를 추출하고, 상기 네트워크 정보, 수신신호 세기의 감지정보를 스캔 테이블에 기록하는 것을 특징으로 하는 지그비 시스템.Extracting one or more network information of a channel, a PAN ID, and device identification information by analyzing channel response information of the selected router or a coordinator, and recording the network information and sensing information of received signal strength in a scan table system. 제12항에 있어서,13. The method of claim 12, 상기 소정의 지그비 장치, 상기 복수의 RFD들 중 하나 이상의 지그비 장치가 상기 선택된 라우터 또는 코디네이터에 접속하면,When one or more of the predetermined ZigBee device, the plurality of RFDs, and the ZigBee device are connected to the selected router or the coordinator, 상기 접속된 라우터 또는 상기 코디네이터가 상기 소정의 지그비 장치, 상기 복수의 RFD들 중 하나 이상의 지그비 장치에게 네트워크 ID를 부여함으로써 상기 지그비 네트워크를 구성하는 것을 특징으로 하는 지그비 시스템.Wherein the connected router or the coordinator configures the ZigBee network by assigning a network ID to at least one of the predetermined ZigBee device and the plurality of RFDs. 제16항에 있어서,17. The method of claim 16, 상기 지그비 장치의 RF수신부는 상기 스캔응답 메시지의 신호 세기를 감지하여 감지정보를 생성하는 신호세기감지부를 포함하고,Wherein the RF receiver of the ZigBee device includes a signal strength sensor for sensing signal strength of the scan response message and generating sensing information, 상기 지그비 장치의 제어부는 상기 감지정보를 디지털신호로 변환하고, 감지정보를 비교하여 상기 수신신호의 세기가 가장 크다고 판단된 상기 라우터 또는 코디네이터를 선택하며, 상기 선택된 라우터 또는 코디네이터의 네트워크 정보를 라우팅 정보로 처리하는 네트워크구성부; 상기 스캔대기 모드의 랜덤 주기, 상기 응답대기 모드의 주기를 연산하는 주기연산부; 상기 연산된 주기 또는 상기 스캔요청 메시지, 상기 스캔응답 메시지의 송수신에 따른 모드의 전환을 처리하는 모드제어부; 및 상기 스캔요청 메시지 또는 상기 스캔응답 메시지를 브로드캐스트하는 다중전송부를 포함하는 지그비 시스템.The control unit of the ZigBee device converts the sensing information into a digital signal and compares the sensing information to select the router or coordinator that is determined to have the greatest intensity of the received signal, and transmits the network information of the selected router or coordinator to the routing information A network configuration unit for processing the received data; A periodic operation unit for calculating a random period of the scan standby mode and a period of the response standby mode; A mode control unit for processing the switching of the mode according to the calculated period or transmission / reception of the scan request message and the scan response message; And a multiplex transmitter for broadcasting the scan request message or the scan response message.
KR1020080085728A 2008-09-01 2008-09-01 Zigbee system and formation method of zigbee network KR101519139B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080085728A KR101519139B1 (en) 2008-09-01 2008-09-01 Zigbee system and formation method of zigbee network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080085728A KR101519139B1 (en) 2008-09-01 2008-09-01 Zigbee system and formation method of zigbee network

Publications (2)

Publication Number Publication Date
KR20100026647A KR20100026647A (en) 2010-03-10
KR101519139B1 true KR101519139B1 (en) 2015-05-11

Family

ID=42177960

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080085728A KR101519139B1 (en) 2008-09-01 2008-09-01 Zigbee system and formation method of zigbee network

Country Status (1)

Country Link
KR (1) KR101519139B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108668380A (en) * 2018-04-26 2018-10-16 镤赛光电科技(上海)有限公司 A kind of the Internet of Things network connection system and its method of intelligent radio regulation and control

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101222382B1 (en) * 2011-04-28 2013-01-16 경북대학교 산학협력단 Wireless access points sharing method between users based in community and system therefor
KR20150101140A (en) 2014-02-26 2015-09-03 한국전자통신연구원 Apparatus and method for controlling zigbee wireless lighting
CN103826253A (en) * 2014-02-26 2014-05-28 江苏林洋电子股份有限公司 ZigBee network coordinator redundancy backup method
KR101599905B1 (en) * 2014-04-14 2016-03-07 주식회사 어서 Wireless communication module and method for providing automatic configuration of network
KR20160012661A (en) * 2014-07-25 2016-02-03 한국전자통신연구원 Apparatus and method for controlling zigbee lighting

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108668380A (en) * 2018-04-26 2018-10-16 镤赛光电科技(上海)有限公司 A kind of the Internet of Things network connection system and its method of intelligent radio regulation and control

Also Published As

Publication number Publication date
KR20100026647A (en) 2010-03-10

Similar Documents

Publication Publication Date Title
US10448424B2 (en) Method and apparatus for use of simultaneous multiple channels in the dynamic frequency selection band in wireless networks
US6876643B1 (en) Clustering in wireless ad hoc networks
EP2829148B1 (en) Scalable protocol for large wsns having low duty cycle end nodes
US7693119B2 (en) Transmission power control over a wireless ad-hoc network
CN106793014B (en) Wireless automatic networking method
KR101074644B1 (en) Methods of discovering neighbors in opportunistic open access ad hoc wireless networks
US9793947B2 (en) Scalable protocol for large WSNs having low duty cycle end nodes
EP3928469B1 (en) Method and system for detecting stations in wireless local area networks
KR101519139B1 (en) Zigbee system and formation method of zigbee network
US20070019594A1 (en) Neighbor based TDMA slot assignment
US20100118737A1 (en) Method and apparatus for constructing synchronous sensor network
US7904534B2 (en) Network topology aware configuration of network addresses in wireless personal area networks
KR20060084434A (en) Method and apparatus for discovering neighbors within a piconet communication system
EP1863197B1 (en) Wireless communication apparatus and wireless communication method
US10462844B2 (en) Dynamic packet relay apparatus and method for sensor network
Yang et al. Principle of wireless sensor networks
Shin et al. Spectrum: Lightweight hybrid address autoconfiguration protocol based on virtual coordinates for 6LoWPAN
US20070070918A1 (en) Multiple-transceiver distributed dynamic channel selection in a communication network
KR20070106097A (en) Method and apparatus for low power communications in a beacon-enabled wireless communications system
KR101491151B1 (en) Zigbee system and formation method of zigbee network
CN112637923B (en) Node confirmation method and device, computer equipment and storage medium
KR101469976B1 (en) Zigbee device and formation method of zigbee network
JP4307350B2 (en) Ad hoc multi-hop communication system, radio terminal thereof, and ad hoc multi-hop network connection method
Teng Sequence Configuration With Self-Organized Function Structure for Networking of Smart Sensors
Srinidhi et al. Development of Zigbee Based Energy Management System

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20180409

Year of fee payment: 4