KR20100026647A - Zigbee system and formation method of zigbee network - Google Patents
Zigbee system and formation method of zigbee network Download PDFInfo
- Publication number
- KR20100026647A KR20100026647A KR1020080085728A KR20080085728A KR20100026647A KR 20100026647 A KR20100026647 A KR 20100026647A KR 1020080085728 A KR1020080085728 A KR 1020080085728A KR 20080085728 A KR20080085728 A KR 20080085728A KR 20100026647 A KR20100026647 A KR 20100026647A
- Authority
- KR
- South Korea
- Prior art keywords
- scan
- zigbee
- rfd
- router
- coordinator
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/18—Selecting a network or a communication service
Abstract
Description
실시예는 지그비 시스템 및 지그비 네트워크 구성 방법에 관한 것이다.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 them, interest in Zigbee technology, which is one of the IEEE 802.15.4 standards supporting near field communication, have.
지그비 기술은 10m 내지 최대 1㎞의 통신 거리 상에서 약 250 Kbps의 속도로 데이터를 전송할 수 있고, 다양한 네트워크 토폴리지를 형성하여 수천개의 기기를 연결할 수 있으며, 소비 전력이 작다는 장점을 가진다.ZigBee technology has the advantage of being able to transmit data at speeds of about 250 Kbps over a communication distance of 10m up to 1km, connecting various thousands of devices by forming various network topologies, and having low power consumption.
지그비 네트워크는, 네트워크를 관리하는 코디네이터, 네트워크의 라우팅 기능을 수행하는 FFD(Full Function Device) 및 엔드 디바이스(end device)로 동작되는 RFD(Reduced Function Device) 등의 지그비 장치로 구성된다.The Zigbee network is composed of a Zigbee device such as a coordinator for managing the network, a Full Function Device (FFD) that performs the routing function of the network, and a Reduced Function Device (RFD) that operates as an end device.
일반적으로, 지그비 네트워크를 구성하는 방법은 다음과 같다.In general, the 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. In this case, since the scan request message does not have a destination address, routers around the first RFD may receive all of 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 personal area network identification (PAN ID), and the network ID as a scan response message 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 transmits the scan response message having the greatest strength of the received signal. When the router is selected, the first RFD joins the routing path of the selected router by using corresponding network information.
넷째, 이어서, 제2 RFD, 제3 RFD,…, 제n RFD가 상기 첫째 내지 셋째의 과정을 각각 처리하여 가장 가까운 곳에 위치된 라우터를 선별하고 지그비 네트워크를 구성한다.Fourth, second RFD, third RFD,... Then, the n-th RFD processes the first to third processes, respectively, to select a router located closest to each other and form a Zigbee network.
이처럼, RFD가 가장 근접된 라우터를 찾아 지그비 네트워크를 구성하는 것이 중요한데, 각각의 RFD들은 스캔요청 메시지를 브로드 캐스팅하고, 라우터들은 각각의 스캔요청 메시지에 대하여 동일한 스캔응답 메시지를 반복적으로, 즉 RFD의 개수만큼 전송해야 한다.As such, it is important to configure the Zigbee network to find the router with the nearest RFD, where each RFD broadcasts a scan request message, and the routers repeat the same scan response message for each scan request message, i.e. You have to send as many numbers.
따라서, 라우터는 신호 처리에 대한 부하를 받게 되고, 이 과정에서 네트워크 트래픽이 증가하게 되며, 데이터 충돌 현상과 같은 장애 요인이 발생되므로, 지그비 네트워크를 구성하는데 많은 어려움이 있다.Therefore, since the router is subjected to a load for signal processing, network traffic increases in this process, and obstacles such as data collisions occur, it is difficult to construct a Zigbee network.
실시예는 지그비 네트워크를 구성하기 위하여 다수의 지그비 장치들이 스캔요청 메시지 및 스캔응답 메시지를 송수신하는 경우, 데이터 전송량, 신호 처리량을 감소시킴으로써 스캔의 실패 확률을 최소화하고 효율적으로 지그비 네트워크를 구성할 수 있는 지그비 시스템 및 지그비 네트워크 구성 방법을 제공한다.According to an embodiment of the present invention, when a plurality of ZigBee devices transmit and receive a scan request message and a scan response message to configure a ZigBee network, data transmission and signal throughput may be reduced to minimize the probability of scan failure and to efficiently configure the ZigBee network. It provides a Zigbee system and a Zigbee network configuration method.
실시예에 따른 지그비 시스템은 코디네이터, 라우터, RFD를 포함하는 지그비 장치로 구성된 지그비 시스템에 관한 것으로서, 스캔요청 메시지를 수신하고 스캔응답 메시지를 브로드캐스트하는 상기 라우터 또는 상기 코디네이터; 상기 스캔요청 메시지를 브로드캐스트하고 응답대기 모드로 진입하며, 상기 스캔응답 메시지가 수신되면 수신신호의 세기가 가장 크다고 판단된 상기 라우터 또는 상기 코디네이터를 선택하여 지그비 네트워크를 구성하는 소정의 지그비 장치; 및 브로드캐스트 전송 거리 내에서 상기 스캔요청 메시지를 수신하여 그룹을 이루고, 응답대기 모드로 진입하며, 상기 스캔응답 메시지가 수신되면 수신신호의 세기가 가장 크다고 판단된 상기 라우터 또는 상기 코디네이터를 선택하여 상기 지그비 네트워크를 구성하는 RFD를 포함한다.The Zigbee system according to the embodiment relates to a Zigbee system including a coordinator, a router, and a Zigbee device including an RFD, wherein the router or the coordinator receives a scan request message and broadcasts a scan response message; A predetermined ZigBee device configured to broadcast a scan request message and enter a response standby mode, and select the router or the coordinator which is determined to have the greatest strength of the received signal when the scan response message is received to form a Zigbee network; And form the group by receiving the scan request message within a broadcast transmission distance, enter a response standby mode, and when the scan response message is received, select the router or the coordinator determined that the strength of the received signal is the highest. It contains the RFDs that make up the Zigbee Network.
실시예에 따른 지그비 네트워크의 구성 방법은 코디네이터, 라우터, RFD를 포함하는 지그비 장치의 지그비 네트워크 구성 방법에 관한 것으로서, 소정의 지그비 장치가 스캔요청 메시지를 브로드캐스트하고 응답대기 모드로 진입하는 단계; 브로드캐스트 전송 거리 내에서 상기 스캔요청 메시지를 수신한 상기 RFD가 그룹을 이루어 응답대기 모드로 진입하는 단계; 상기 스캔요청 메시지를 수신한 상기 라우터 또는 상기 코디네이터가 스캔응답 메시지를 브로드캐스트하는 단계; 상기 스캔응답 메시지를 수신한 상기 소정의 지그비 장치 및 상기 RFD가 수신신호의 세기를 감지하고, 신호세기가 가장 크다고 판단된 신호를 송신한 상기 라우터 또는 상기 코디네이터를 선택하는 단계; 및 상기 소정의 지그비 장치 및 상기 RFD가 상기 선택된 라우터 또는 코디네이터에 접속하여 지그비 네트워크를 구성하는 단계를 포함한다.A method for configuring a Zigbee network according to an embodiment is related to a method for configuring a ZigBee network of a ZigBee device including a coordinator, a router, and an RFD; Entering the response waiting mode by forming a group of the RFDs receiving the scan request message within a broadcast transmission distance; The router or the coordinator receiving the scan request message to broadcast a scan response message; Detecting the strength of a received signal by the predetermined ZigBee device and the RFD that have received the scan response message, and selecting the router or the coordinator which has transmitted the signal determined to have the greatest signal strength; And connecting the predetermined ZigBee device and the RFD to the selected router or coordinator to configure a ZigBee network.
실시예에 의하면, 다음과 같은 효과가 있다.According to the embodiment, the following effects are 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 not necessary to repeatedly transmit and receive each message and may eliminate duplicate messages.
둘째, 따라서 각 지그비 장치에 걸리는 부하, 네트워크 트래픽, 데이터 충돌 현상 등을 최소화하여 지그비 네트워크를 구성할 수 있고, 지그비 네트워크의 효율을 극대화할 수 있다.Second, therefore, the Zigbee network can be configured by minimizing the load, network traffic, and data collisions on each Zigbee device, and the efficiency of the Zigbee network can be maximized.
셋째, 스캔요청 메시지 및 스캔응답 메시지의 송수신량을 대폭 감소시킬 수 있으므로, 지그비 장치는 전력 소비를 최소화하여 장시간 안정적으로 동작할 수 있다.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 by minimizing power consumption.
첨부된 도면을 참조하여, 실시예에 따른 지그비 시스템 및 지그비 네트워크의 구성 방법에 대하여 상세히 설명한다.With reference to the accompanying drawings, it will be described in detail a configuration method of a Zigbee system and a Zigbee network according to the embodiment.
이하, 실시예를 설명함에 있어, 관련된 공지 기능 또는 구성에 대한 구체적인 설명은 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되므로 본 발명의 기술적 사상과 직접적인 관련이 있는 핵심적인 구성부만을 언급하기로 한다.Hereinafter, in describing the embodiments, detailed descriptions of related well-known functions or configurations are deemed to unnecessarily obscure the subject matter of the present invention, and thus only the essential components directly related to the technical spirit of the present invention will be referred to. .
도 1은 실시예에 따른 지그비 시스템의 구성부들이 스캔 대기 모드를 유지하는 상태를 모식화한 도면이고, 도 2는 실시예에 따른 지그비 시스템의 일부 구성부들이 응답 대기 모드로 진입한 상태를 모식화한 도면이다.FIG. 1 illustrates a state in which components of a Zigbee system maintain a scan standby mode, and FIG. 2 illustrates a state in which some components of a Zigbee system enter a response standby mode. This is a drawing.
도 1 및 도 2를 참조하면, 실시예에 따른 지그비 시스템은 다수의 지그비 장치들로 이루어지는데, 상기 지그비 장치는 엔드 디바이스(E; End device)로 동작되는 RFD(Reduced Function Device), 라우터(R; Router), 코디네이터(coordinator)일 수 있다. 도 1 및 도 2에는, 설명의 편의를 위하여 RFD(E) 및 라우터(R)만을 도시하였다.1 and 2, the Zigbee system according to the embodiment is composed of a plurality of Zigbee devices, the Zigbee device is a reduced function device (RFD), a router (R) operated as an end device (E) A router, or a coordinator. 1 and 2, only RFD (E) and router (R) are shown for convenience of description.
도 3은 실시예에 따른 지그비 시스템에서 처리되는 데이터의 영역을 예시적으로 도시한 프로토콜 스택 구조도이다.3 is a diagram illustrating a protocol stack structure illustrating an area of data processed in a Zigbee system according to an 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)은 데이터베이스 관리 및 제어정보 생성과 관련된 응용 프로그램 영역에 해당된다.According to FIG. 3, the Zigbee protocol stack is largely classified into a physical (HY) layer (SHY) (S5), a media access controller (MAC) layer (S4), a network (network / security) layer (S3), and an application framework. Layer S2 and application / profiles S1, wherein the PHY layer S5 and the MAC layer S4 correspond to an IEEE standard area, and the network layer S3. The framework layer S2 corresponds to a prescribed area of Zigbee Alliance, and the application layer S1 corresponds to an application 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 according to a type of a loaded program, that is, a program that processes data of 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 communicate with all other FFDs or RFDs. In addition, the FFD that allows the remaining Zigbee devices to configure any one of the three nodes described above is called a personal area network (PAN) 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 is a Zigbee device that does not perform a coordinator function and a routing function and operates as an end device. The RFD may be a coordinator and may communicate with a router or coordinator. That is, the RFD may participate in a PAN configured with the same channel and PAN ID.
상기 코디네이터의 제어를 받으며, 라우팅 경로를 처리하여 상기 RFD로 데이터를 전달하는 FFD를 라우터라 한다. 상기 라우터는 동일한 채널 및 PAN ID 로 구성된 PAN에 참여하며, 아직 PAN에 참여하지 않은 다른 라우터 또는 RFD에 네트워크 주소를 할당하여 PAN에 참여하도록 한다.The FFD, which is controlled by the coordinator and processes a routing path and delivers 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 that has not yet participated in the PAN to participate in the PAN.
도 4는 실시예에 따른 지그비 시스템을 구성하는 지그비 장치(100)의 구성 요소를 개략적으로 도시한 블록도이고, 도 5는 실시예에 따른 지그비 시스템에서 처리되는 데이터 패킷의 형태를 개략적으로 도시한 데이터 구조도이다.FIG. 4 is a block diagram schematically illustrating components of a
도 4에 예시된 상기 지그비 장치(100)는 전술한 대로, 탑재된 프로그램의 종류에 따라 RFD, 라우터, 코디네이터로 동작될 수 있는데, 제어부(110), 저장부(120), 맥처리부(130), RF수신부(140), RF송신부(150), 전력제어회로(160), 위상동기회로(170) 및 안테나(180)를 포함하여 구성된다.As described above, the Zigbee
또한, 상기 제어부(110)는 모드제어부(112), 다중전송부(114), 네트워크구성부(116), 주기(period)연산부(118)를 포함하고, 상기 RF수신부(140)는 신호세기감지부(142)를 포함한다.In addition, the
도 5를 참조하면, 상기 제어부(110)가 생성하는 데이터 패킷은 프리앰블(D1), SPD(Start of Packet Delimiter)(D2), PHY 헤더(D3), PSDU(PHY Service Data Unit)(D4) 등으로 이루어지는데, 상기 프리앰블(혹은 "비콘"이 사용될 수 있음)(D1)은 전송 타이밍을 동기화하기 위하여 지그비 장치 사이에 해석될 수 있는 일련의 펄스 신호를 의미한다.Referring to FIG. 5, the data packet generated by the
그리고, 상기 SPD(D2)는 실제 패킷 데이터가 시작되었음을 상대 지그비 장치에게 알려주고 PHY헤더의 해석 지점을 표시하며, 상기 PHY헤더(D3)는 상기 PHY 계층(물리 계층)(S5)의 해석 정보를 담고 있으며, 상기 PSDU(D4)는 라우팅 정보와 함께 응용 데이터가 실리는 구간이다.The SPD D2 informs the counterpart ZigBee device that the actual packet data has begun and indicates an analysis point of the PHY header, and the PHY header D3 contains analysis information of the PHY layer (physical layer) S5. The PSDU D4 is a section in which application data is loaded along with routing information.
실시예에 따른 스캔요청 메시지, 스캔응답 메시지 등은 도 5에 도시된 데이 터 패킷의 형태로 구성되어 송수신될 수 있다.The scan request message, the scan response message, etc. according to the embodiment may be configured and transmitted in the form of a data packet shown in FIG. 5.
상기 제어부(110)는 소프트웨어 맥(Software-MAC)계층, 네트워크 계층(S3)의 기능, 프레임워크 계층(S2)(도 2 참조)의 기능을 수행하여 네트워크 토폴로지를 구성하고, 응용 계층(S1)의 기능을 수행하여 데이터베이스를 관리하고 지그비 네트워크를 구성한다.The
상기 제어부(110)를 구성하는 상기 모드제어부(112), 상기 다중전송부(114), 상기 네트워크구성부(116), 상기 주기연산부(118)의 구체적인 동작에 대해서는, 도 6을 참조하여 지그비 네트워크의 구성방법과 함께 설명하기로 한다.For detailed operations of the
상기 RF수신부(140), 상기 RF송신부(150), 상기 위상동기회로(170) 및 상기 전력제어회로(160)는 PHY 계층(S5)에 해당되는 동작을 처리하는 구성부들로서 RF통신 구조와 네트워크 토폴리지를 결정한다.The
상기 안테나(180)와 연결된 상기 RF수신부(140)와 상기 RF송신부(150)는 DSSS(Direct Sequence Spread Spectrum)를 이용하며, 2.4 GHz 대역의 경우 32 PN 코드 길이의 O-QPSK(Offset-Quadrature Phase-Shift Keying) 변복조 방식을 사용하여 RF신호와 디지털 신호를 상호변환하여 처리한다.The
또한, 상기 위상동기회로(170)는 상기 RF수신부(140)와 상기 RF송신부(150)로 발진주파수신호를 제공하고, 상기 전력제어회로(160)는 수신 신호의 세기를 판별하여 송신 전력량을 조정한다.In addition, the
상기 맥(MAC; Media Access Controller)처리부(130)는 전송된 데이터 프레임 구조를 해석하여 프레임을 승인하고, 에러를 감지하여(Error Detection; CRC 또는 Checksum을 통하여 감지함) 재전송 여부를 결정하며, 패킷 라우팅을 처리한다.The MAC (Media Access Controller)
이하, 도 6을 참조하여 실시예에 따른 지그비 네트워크의 구성 방법에 대하여 상세히 설명한다.Hereinafter, a method of configuring a Zigbee network according to an embodiment will be described in detail with reference to FIG. 6.
도 6은 실시예에 따른 지그비 네트워크의 구성 방법을 도시한 흐름도이다.6 is a flowchart illustrating a method of configuring a Zigbee network according to an embodiment.
우선, 도 1에 도시된 지그비 장치들은 스캔 요청 메시지를 브로드캐스팅 방식으로 전송하여 지그비 네트워크 구성을 요청할 수 있다.First, the ZigBee devices illustrated in FIG. 1 may request a ZigBee network configuration by transmitting a scan request message by broadcasting.
상기 지그비 네트워크 구성을 요청할 수 있는 지그비 장치는 코디네이터, 라우터, RFD일 수 있다.The Zigbee device capable of requesting the Zigbee network configuration may be a coordinator, a router, or an RFD.
실시예에서 설명의 편의를 위하여, 최초 네트워크 구성을 요청한 지그비 장치는 RFD인 것으로 한다.For convenience of description in the embodiment, it is assumed that the Zigbee device requesting the initial network configuration is an RFD.
또한, 참고적인 설명을 부가하는 경우 라우터와 코디네이터의 동작은 유사하므로, 라우터만을 예시하여 설명하기로 한다. 이 경우 라우터의 동작은 코디네이터에 적용될 수 있음은 물론이다.In addition, since the operation of the router and the coordinator is similar when adding a reference description, only the router will be described by way of example. In this case, the operation of the router may 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) ("RFD" in S100), the RFDs (E) are different from the start time of entering the scan standby mode and maintaining the scan standby mode, respectively. The scan standby mode is maintained for a random period (S100 and S105).
상기 랜덤 주기가 종료되면(S110의 "예"), 임의의 상기 RFD(E)의 상기 모드제어부(도 4; 112)는 스캔 모드로 진입하고, 상기 다중전송부(114)는 스캔요청 메시지를 브로드캐스트한다(S115).When the random period is terminated (YES in S110), the mode control unit (FIG. 4; 112) of any of the RFDs (E) enters a scan mode, and the multi-transmitter 114 sends a scan request message. Broadcast (S115).
상기 스캔요청 메시지는 상기 라우터(R) 또는 코디네이터에게 PAN ID를 요청하는 내용을 포함한다.The scan request message includes a content of requesting a PAN ID from the router R or the coordinator.
한편, 네트워크 구성을 요청하는 지그비 장치가 라우터인 경우(S100의 "라우터") 상기 라우터(R)는 단계 S105 내지 단계 S110의 과정을 거치지 않고 바로 스캔요청 메시지를 브로드캐스트할 수 있다(S115).Meanwhile, when the Zigbee device requesting the network configuration is a router (“router” in S100), the router R may immediately broadcast a scan request message without going through steps S105 to S110 (S115).
이후, 상기 스캔요청 메시지를 브로드캐스트한 상기 RFD(E)는 응답대기 모드로 진입한다(S120).Thereafter, the RFD (E) that broadcasts the scan request message enters the response waiting mode (S120).
이때, 브로드캐스트의 범위 내에 존재하는 라우터(R), 다른 RFD(E)만이 상기 스캔요청 메시지를 수신할 수 있으며, 스캔요청 메시지를 송신한 RFD(E), 브로드캐스트 범위 내에 존재하는 다른 RFD(E)는 함께 그룹핑되어(도 2의 G1) 최초 스캔요청 메시지를 송신한 것처럼 간주된다.At this time, only the router (R) existing within the range of the broadcast, other RFD (E) can receive the scan request message, the RFD (E) transmitting the scan request message, the other RFD (in the broadcast range) E) are grouped together (G1 in FIG. 2) and are considered as having sent the original scan request message.
상기 스캔요청 메시지를 수신한 다른 RFD(E)들은 스캔요청 메시지를 송신한 RFD(E)와 동일하게, 스캔대기 모드에서 응답대기 모드로 진입한다(S125).The other RFDs (E) that have received the scan request message enter the response standby mode from the scan standby mode in the same manner as the RFD (E) that has transmitted the scan request message (S125).
즉, 다수의 RFD(E)는 순서가 정해진 것이 아니라 각자 랜덤하게 이웃 노드의 스캔을 시작할 수 있으며, 어느 하나의 RFD(E)가 스캔을 시작하면 다른 RFD(E)들은 스캔대기 모드에서 응답대기 모드로 진입하는 것이다.That is, a plurality of RFDs (E) may start scanning the neighbor nodes at random rather than being ordered, and when one RFD (E) starts scanning, the other RFDs (E) wait for response in the scan standby mode. To enter the mode.
이때, 브로드캐스트 범위 밖에 존재하는 다른 RFD(E)는 최초 스캔요청 메시지를 송신하지 않은 그룹(도 2의 G2)으로 간주되며, 스캔대기 모드를 유지한다.At this time, another RFD (E) that exists outside the broadcast range is regarded as a group (G2 of FIG. 2) that did not transmit the original scan request message, and maintains a scan standby mode.
각각의 상기 RFD(E)들은 응답대기 모드의 주기를 계산하며, 상기 라우터(R)로부터 스캔응답 메시지가 수신되지 않은 상태에서 응답대기 모드의 주기가 종료되 면(S130의 "예") 다시 스캔대기 모드로 진입하여 각자 랜덤 주기를 다시 적용한다(S105).Each of the RFDs (E) calculates the period of the response standby mode, and scans again when the period of the response standby mode is terminated without receiving a scan response message from the router R (YES in S130). The mobile station enters the standby mode and reapplies each random period (S105).
또한, 상기 RFD(E)들의 응답대기 모드가 종료되지 않더라도, 상기 라우터(R) 모두가 브로드캐스트 전송범위 밖에 존재하는 경우, 어느 라우터(R)도 스캔응답 메시지를 송신할 수 없다(S135의 "아니오").Further, even if the response standby mode of the RFDs (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 RFDs (E) enter the scan standby mode and apply a random period again (S105).
즉, 상기 라우터(R)가 스캔응답 메시지를 송신하기 전에 상기 RFD(E)의 응답대기 모드가 종료되거나 거리상 이격된 상기 라우터(R)가 스캔응답 메시지를 송신할 수 없는 경우, 다른 RFD(E)에게 스캔요청 권한이 랜덤하게 이전될 수 있는 것이다.That is, when the response waiting mode of the RFD (E) is terminated or the router (R) spaced apart from each other cannot transmit the scan response message before the router (R) transmits a scan response message, another RFD (E) ) Can be transferred randomly.
반면, 응답대기 모드의 주기가 종료되지 않은 상태에서(S130의 "아니오") 상기 스캔요청 메시지를 수신한 라우터(R)가 스캔응답 메시지를 브로드캐스팅하면(S135의 "예"), 상기 응답대기 모드에 있던 상기 RFD(E)들은 모두 스캔응답 메시지를 수신하고, 지그비 네트워크를 구성할 수 있다(S140).On the other hand, if the router (R) receiving the scan request message broadcasts the scan response message (YES in S135) in a state in which the cycle of the response waiting mode is not finished (NO in S130), the response wait waits. All of the RFDs (E) in the mode may receive a scan response message and configure a Zigbee network (S140).
이때, 상기 스캔요청 메시지를 수신한 라우터(R)들은 모두 스캔응답 메시지를 브로드캐스트한다.At this time, all of the routers (R) receiving the scan request message broadcast a scan response message.
상기 RFD(E)들은 인접된 다수의 상기 라우터(R)들로부터 스캔응답 메시지를 수신하고, 상기 RFD(E)의 신호세기감지부(도 4; 142)는 수신신호의 세기를 감지하여 감지정보를 생성한다.The RFDs (E) receive scan response messages from a plurality of adjacent routers (R), and the signal strength detecting unit (FIG. 4; 142) of the RFD (E) detects the strength of a received signal and detects information. Create
예를 들어, 상기 신호세기감지부(142)는 로그 앰프로 구비될 수 있으며, 아날로그 상태인 중간주파 신호를 직류전압신호로 출력하여 전력 레벨을 감지할 수 있는 상태로 변환한다.For example, the signal
이때, 상기 신호세기감지부(142)는 중간주파 신호를 직접(Direct) 데시벨 값에 비례한 직류전압신호로 출력시킴으로써 수신 가능한 전력 레벨의 신호 감도 범위를 확장시킬 수 있다.In this case, the signal
상기 네트워크구성부(116)는 상기 신호세기감지부(142)로부터 감지정보가 전달되면 이를 비교가능한 디지털 신호로 변환하여 상기 저장부(120)에 기록한다.When the sensing information is transmitted from the signal
상기 네트워크구성부(116)는 상기 라우터(R) 별로 기록된 상기 감지정보를 비교하여 신호세기가 가장 크다고 판단되는 라우터를 선택하고, 선택된 라우터(R)의 스캔응답 메시지를 분석하여 네트워크 정보, 가령 채널, PAN ID, 기기식별정보를 추출한다.The
상기 네트워크구성부(116)는 상기 네트워크 정보, 상기 감지정보를 상기 저장부(120)의 스캔 테이블에 기록하고, 자신의 라우팅 정보로 설정한다.The
이후, 상기 RFD(E)는 설정된 라우팅 정보를 이용하여 상기 라우터(R)에 접속하면, 상기 라우터(R)는 자신의 주변에 위치된 상기 RFD(E)들을 인식하고 상기 RFD(E)에게 네트워크 ID를 부여한다.Then, when the RFD (E) is connected to the router (R) using the set routing information, the router (R) recognizes the RFD (E) located in its periphery and tells the RFD (E) a network Give an ID.
따라서, 최초 스캔요청 메시지의 브로드캐스트 범위 내에서 그룹(G1)을 이룬 다수의 RFD(E)들은 1회의 스캔요청 및 스캔응답 과정을 통하여 동시에 지그비 네트워크를 구성할 수 있다.Accordingly, a plurality of RFDs E forming a group G1 within the broadcast range of the original scan request message may simultaneously configure a Zigbee network through a single scan request and a scan response process.
이후, 최초 스캔요청 메시지의 브로드캐스트 범위 밖에서 그룹(G2)을 이룬 다른 RFD(E)들은 상기 단계 S100 내지 단계 S140의 과정을 진행함으로써 별도의 지그비 네트워를 구성할 수 있다.Subsequently, other RFDs E that form the group G2 outside the broadcast range of the original scan request message may configure a separate Zigbee network by performing the process of steps S100 to S140.
도 4의 상기 주기연산부(118)는 상기 스캔대기 모드의 랜덤 주기, 응답대기 모드의 주기를 연산하고, 상기 모드제어부(112)는 상기 연산된 주기 또는 스캔요청 메시지, 스캔응답 메시지의 송수신에 따른 각 모드의 전환을 처리한다.The
이상에서 본 발명에 대하여 그 바람직한 실시예를 중심으로 설명하였으나 이는 단지 예시일 뿐 본 발명을 한정하는 것이 아니며, 본 발명이 속하는 분야의 통상의 지식을 가진 자라면 본 발명의 본질적인 특성을 벗어나지 않는 범위에서 이상에 예시되지 않은 여러 가지의 변형과 응용이 가능함을 알 수 있을 것이다. 예를 들어, 본 발명의 실시예에 구체적으로 나타난 각 구성 요소는 변형하여 실시할 수 있는 것이다. 그리고 이러한 변형과 응용에 관계된 차이점들은 첨부된 청구 범위에서 규정하는 본 발명의 범위에 포함되는 것으로 해석되어야 할 것이다.The present invention has been described above with reference to the preferred embodiments, which are merely examples and are not intended to limit the present invention, and those skilled in the art to which the present invention pertains do not depart from the essential characteristics of the present invention. It will be appreciated that various modifications and applications are not possible that are not illustrated above. For example, each component specifically shown in the embodiment of the present invention can be modified. And differences relating to such modifications and applications will have to be construed as being included in the scope of the invention defined in the appended claims.
도 1은 실시예에 따른 지그비 시스템의 구성부들이 스캔 대기 모드를 유지하는 상태를 모식화한 도면.1 is a view schematically illustrating a state in which components of a Zigbee system maintain a scan standby mode according to an embodiment.
도 2는 실시예에 따른 지그비 시스템의 일부 구성부들이 응답 대기 모드로 진입한 상태를 모식화한 도면.2 is a view schematically illustrating a state in which some components of the Zigbee system enter the response waiting mode.
도 3은 실시예에 따른 지그비 시스템에서 처리되는 데이터의 영역을 예시적으로 도시한 프로토콜 스택 구조도.3 is an exemplary protocol stack structure diagram illustrating an area of data processed in a Zigbee system according to an embodiment.
도 4는 실시예에 따른 지그비 시스템을 구성하는 지그비 장치의 구성 요소를 개략적으로 도시한 블록도.4 is a block diagram schematically illustrating 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 data packets processed in the Zigbee system according to the embodiment.
도 6은 실시예에 따른 지그비 네트워크의 구성 방법을 도시한 흐름도.6 is a flowchart illustrating a method of configuring a Zigbee network according to an embodiment.
Claims (22)
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 true KR20100026647A (en) | 2010-03-10 |
KR101519139B1 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 (5)
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 |
CN103826253A (en) * | 2014-02-26 | 2014-05-28 | 江苏林洋电子股份有限公司 | ZigBee network coordinator redundancy backup method |
KR20150118466A (en) * | 2014-04-14 | 2015-10-22 | 주식회사 어서 | Wireless communication module and method for providing automatic configuration of network |
US20160029457A1 (en) * | 2014-07-25 | 2016-01-28 | Electronics And Telecommunications Research Institute | Zigbee lighting control apparatus and method |
US9591728B2 (en) | 2014-02-26 | 2017-03-07 | Electronics And Telecommunications Research Institute | Apparatus and method for controlling zigbee wireless lighting |
Families Citing this family (1)
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 |
-
2008
- 2008-09-01 KR KR1020080085728A patent/KR101519139B1/en active IP Right Grant
Cited By (5)
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 |
CN103826253A (en) * | 2014-02-26 | 2014-05-28 | 江苏林洋电子股份有限公司 | ZigBee network coordinator redundancy backup method |
US9591728B2 (en) | 2014-02-26 | 2017-03-07 | Electronics And Telecommunications Research Institute | Apparatus and method for controlling zigbee wireless lighting |
KR20150118466A (en) * | 2014-04-14 | 2015-10-22 | 주식회사 어서 | Wireless communication module and method for providing automatic configuration of network |
US20160029457A1 (en) * | 2014-07-25 | 2016-01-28 | Electronics And Telecommunications Research Institute | Zigbee lighting control apparatus and method |
Also Published As
Publication number | Publication date |
---|---|
KR101519139B1 (en) | 2015-05-11 |
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 | |
US10873896B2 (en) | Minimizing link layer discovery based on advertising access technology parameters in a multimode mesh network | |
US9693217B2 (en) | Method, apparatus, and computer program product for service discovery proxy for wireless communication | |
US20160323925A1 (en) | Method, apparatus, and computer program product for inter-ap communication in neighbor awareness networking environment | |
US9793947B2 (en) | Scalable protocol for large WSNs having low duty cycle end nodes | |
AU2017200795A1 (en) | Scalable protocol for large WSNs having low duty cycle end nodes | |
US8599789B2 (en) | Tone based cognitive radio for opportunistic communications | |
US8238319B2 (en) | Radio apparatus | |
EP1863197B1 (en) | Wireless communication apparatus and wireless communication method | |
US20090028090A1 (en) | Method and system of wireless communication between devices | |
KR20100026647A (en) | Zigbee system and formation method of zigbee network | |
WO2010086487A1 (en) | Cognitive radio | |
KR100870657B1 (en) | Wireless personal area network system supporting transmission between different sensor nodes | |
US7664120B2 (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 | |
JP6616805B2 (en) | Access point, wireless terminal, program and method for controlling beacon standby | |
KR101491151B1 (en) | Zigbee system 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 | |
KR101297135B1 (en) | Zigbee mesh network composition method for automatically avoiding peripheral frequency channel | |
KR101195903B1 (en) | Multi channel wireless data transmission and reception module and mesh network relay method thereof | |
JP6884585B2 (en) | Wireless communication systems, access points, and wireless communication methods | |
Srinidhi et al. | Development of Zigbee Based Energy Management System | |
Yang et al. | An improved self routing scheme by using parent-child relationship and beacon-only period for WSNs | |
KR20140077648A (en) | Method for discovering target terminal of direct communication between terminals | |
JP2008141598A (en) | Wireless communication system and wireless communication apparatus |
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 |