KR101862392B1 - Apparatus and method for avoiding interference between zigbee channel and wi-fi channel in a single device or a single system - Google Patents

Apparatus and method for avoiding interference between zigbee channel and wi-fi channel in a single device or a single system Download PDF

Info

Publication number
KR101862392B1
KR101862392B1 KR1020110070647A KR20110070647A KR101862392B1 KR 101862392 B1 KR101862392 B1 KR 101862392B1 KR 1020110070647 A KR1020110070647 A KR 1020110070647A KR 20110070647 A KR20110070647 A KR 20110070647A KR 101862392 B1 KR101862392 B1 KR 101862392B1
Authority
KR
South Korea
Prior art keywords
channel
zigbee
interference
built
ghz
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
KR1020110070647A
Other languages
Korean (ko)
Other versions
KR20130009489A (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 KR1020110070647A priority Critical patent/KR101862392B1/en
Publication of KR20130009489A publication Critical patent/KR20130009489A/en
Application granted granted Critical
Publication of KR101862392B1 publication Critical patent/KR101862392B1/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0808Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA]
    • H04W74/0816Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA] with collision avoidance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

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

Abstract

지그비 채널 및 와이파이 채널 간의 간섭을 회피하는 장치로서, 상기 장치가 사용하고 있는 와이파이 채널에 의한 지그비 채널에 대한 간섭 여부를 검출하는 간섭판단부; 상기 장치가 사용 중인 모든 와이파이 채널 및 지그비 채널 각각에 대한 정보를 읽어 들이고, 상기 정보로부터 상기 사용 중인 와이파이 채널 및 지그비 채널의 주파수 점유 범위가 중첩되는지 여부를 검출하는 중첩검출부; 및 상기 검출의 결과에 따라, 상기 사용 중인 와이파이 채널 또는 지그비 채널을 변경하는 채널변경부;를 포함하는, 지그비 채널 및 와이파이 채널 간의 간섭을 회피하는 장치가 개시된다. An apparatus for avoiding interference between a ZigBee channel and a Wi-Fi channel, the apparatus comprising: an interference determination unit for detecting interference with a ZigBee channel by a Wi-Fi channel used by the apparatus; An overlap detector for detecting information on each of the Wi-Fi channel and the ZigBee channel being used by the apparatus and detecting whether the frequency occupation range of the Wi-Fi channel and the ZigBee channel are overlapped with each other; And a channel changing unit for changing the Wi-Fi channel or the ZigBee channel in use according to a result of the detection. A device for avoiding interference between a ZigBee channel and a Wi-Fi channel is disclosed.

Description

단일 장치 또는 단일 시스템 내에서 지그비 채널과 와이파이 채널 간의 간섭을 회피하기 위한 장치 또는 방법{APPARATUS AND METHOD FOR AVOIDING INTERFERENCE BETWEEN ZIGBEE CHANNEL AND WI-FI CHANNEL IN A SINGLE DEVICE OR A SINGLE SYSTEM}BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a device or a method for avoiding interference between a ZigBee channel and a Wi-Fi channel in a single device or a single system,

본 발명은 지그비 채널 및 와이파이 채널 간의 간섭을 회피하기 위한 장치 또는 방법에 관한 것으로서, 더 상세하게는 동일/단일 장치 또는 시스템 내에서 지그비 채널과 와이파이 채널을 사용하는 경우 이 장치 또는 시스템 내에서 지그비 채널 및 와이파이 채널 간의 간섭을 회피하기 위한 장치 또는 방법에 관한 것이다.
The present invention relates to an apparatus or method for avoiding interference between a ZigBee channel and a Wi-Fi channel, and more particularly, to a method and apparatus for using a ZigBee channel and a Wi-Fi channel in the same / And an apparatus or method for avoiding interference between WiFi channels.

홈 네트워크 등의 소규모 네트워크를 이용하여 전력 스마트 그리드 또는 원격 제어에 대한 서비스가 제공되고 있거나 제공될 예정이다. 특히, 전력 스마트 그리드는 에너지의 효율적인 사용을 위해 최근 들어 연구 개발 및 시연이 진행 중이며, 홈 네트워크는 가정 내의 효율적인 가전 기기 사용을 위해 보급되고 있다. A service for electric power smart grid or remote control is being provided or will be provided using a small network such as a home network. In particular, the power smart grid has been undergoing research and development for efficient use of energy in recent years, and home networks are becoming popular for the efficient use of home appliances in the home.

홈 네트워크 등에는 좁은 네트워크 범위로 인해 전력 소비가 낮고 상대적으로 저렴한 비용으로 네트워크를 구성할 수 있는 지그비(ZigBee) 통신이 이용되고 있다. 지그비의 사용 주파수 대역은 흔히 와이파이(Wi-Fi)로 지칭되는 무선랜의 일종의 규격과 중첩되어, 상호간 통신이 충돌을 일으킬 가능성이 높다. 와이파이통신은 최근들어 사무실, 가정, 공공 건물 등에 급속도로 보급되어 서비스되고 있어, 이러한 충돌은 현 시점의 통신 환경에서 흔하게 발생하는 현상이다. ZigBee communication, which can configure a network at a relatively low cost due to a low power consumption due to a narrow network range, is used in a home network and the like. The frequency band used by ZigBee is often overlapped with a specification of a wireless LAN referred to as a Wi-Fi, so that there is a high possibility that communications between the two will collide with each other. In recent years, Wi-Fi communication has become popular in offices, homes, public buildings, and the like. Such a collision is a common phenomenon in the current communication environment.

따라서, 지그비와 와이파이 간의 통신 간섭 현상을 회피하기 위한 알고리즘 개발이 필요하고, 특히 지그비와 와이파이 모두를 사용하는 단일 장치 또는 시스템 내에서 상호간의 간섭을 제어할 수 있는 방안이 요구된다.
Therefore, it is necessary to develop an algorithm for avoiding communication interference between ZigBee and WiFi, and in particular, a method for controlling mutual interference within a single device or system using both ZigBee and WiFi is required.

본 발명의 일 실시예에 따라 지그비와 와이파이 통신 간에 발생할 수 있는 간섭 또는 충돌을 회피하기 위한 장치 또는 방법을 제안한다.
An apparatus or method for avoiding possible interference or collision between ZigBee and WiFi communication according to an embodiment of the present invention is proposed.

본 발명의 일 실시예에 따라 적어도 하나의 지그비(ZigBee) 통신칩과 적어도 하나의 와이파이(Wi-Fi) 통신칩을 구비하는 지그비 채널과 와이파이 채널을 동시에 사용하고, 상기 지그비 채널 및 와이파이 채널 간의 간섭을 회피하는 장치가 개시된다. According to an embodiment of the present invention, a ZigBee channel and a Wi-Fi channel including at least one ZigBee communication chip and at least one Wi-Fi communication chip are used at the same time, and interference between the ZigBee channel and Wi- Is avoided.

상기 장치는 상기 장치가 사용하고 있는 와이파이 채널에 의한 지그비 채널에 대한 간섭 여부를 검출하는 간섭판단부; 상기 장치가 사용 중인 모든 와이파이 채널 및 지그비 채널 각각에 대한 정보를 읽어 들이고, 상기 정보로부터 상기 사용 중인 와이파이 채널 및 지그비 채널의 주파수 점유 범위가 중첩되는지 여부를 검출하는 중첩검출부; 및 상기 검출의 결과에 따라, 상기 사용 중인 와이파이 채널 또는 지그비 채널을 변경하는 채널변경부를 포함할 수 있다. The apparatus includes an interference determination unit that detects interference with a zigbee channel by a Wi-Fi channel used by the apparatus; An overlap detector for detecting information on each of the Wi-Fi channel and the ZigBee channel being used by the apparatus and detecting whether the frequency occupation range of the Wi-Fi channel and the ZigBee channel are overlapped with each other; And a channel changing unit for changing the active Wi-Fi channel or the ZigBee channel according to a result of the detection.

또한, 상기 장치는 상기 장치가 사용하고 있는 와이파이 채널 또는 지그비 채널에 대한 정보를 저장하고 있는 채널정보저장부를 더 포함할 수 있다. In addition, the apparatus may further include a channel information storage unit for storing information on a Wi-Fi channel or a ZigBee channel used by the apparatus.

간섭판단부는 상기 사용 중인 지그비 채널을 간섭하는 외부의 와이파이 채널을 추가적으로 검출할 수 있고, 또한 상기 사용 중인 와이파이 채널 및 지그비 채널의 주파수 점유 범위가 중첩되어 상기 지그비 채널을 변경한 경우, 상기 간섭판단부는 외부의 와이파이 채널이 상기 변경된 지그비 채널을 간섭하는지를 추가로 검출할 수 있다. The interference determining unit may additionally detect an external Wi-Fi channel that interferes with the ZigBee channel being used, and when the frequency occupation range of the Wi-Fi channel and the ZigBee channel in use overlap and change the ZigBee channel, It is further possible to detect whether an external Wi-Fi channel interferes with the changed zigbee channel.

또한, 상기 외부의 와이파이 채널이 상기 사용 중인 지그비 채널을 간섭하는 경우, 채널변경부는 상기 사용 중인 지그비 채널을 상기 외부의 와이파이 채널 또는 상기 사용 중인 와이파이 채널과 중첩하지 않는 다른 채널로 변경할 수 있다. 채널 변경부는 상기 정보를 이용하여 사용가능한 지그비 채널 또는 와이파이 채널을 식별하여 채널을 변경할 수 있다. 그리고 상기 사용 중인 와이파이 채널 및 지그비 채널의 주파수 점유 범위가 중첩되는 경우, 상기 채널 변경부는 상기 사용 중인 지그비 채널보다 상기 사용 중인 와이파이 채널을 우선적으로 변경할 수 있다. In addition, when the external Wi-Fi channel interferes with the ZigBee channel in use, the channel changing unit may change the ZigBee channel in use to another channel that does not overlap the external Wi-Fi channel or the Wi-Fi channel in use. The channel changing unit may change the channel by identifying the usable Zigbee channel or the Wi-Fi channel using the information. If the frequency occupation range of the Wi-Fi channel and the ZigBee channel in use overlap, the channel changing unit may preferentially change the Wi-Fi channel in use than the ZigBee channel in use.

본 발명의 일 실시예에 따르면, 지그비 대역과 와이파이 대역 간의 간섭 또는 충돌을 예방하여, 홈 네트워크 등의 통신 신뢰성을 확보할 수 있다. 또한, 지그비와 와이파이 대역을 단일 장치 또는 단일 시스템 내에서 사용하고 있는 경우 사용 중인 지그비 채널과 와이파이 채널을 알 수 있으므로, 빠른 간섭/충돌 제어가 가능하다.
According to an embodiment of the present invention, interference or collision between the ZigBee band and the Wi-Fi band can be prevented, and communication reliability such as a home network can be ensured. In addition, if ZigBee and WiFi bands are used in a single device or a single system, it is possible to know the ZigBee channel and WiFi channel in use, thus enabling fast interference / collision control.

도 1은 지그비와 와이파이 채널의 주파수 범위를 도시한다.
도 2는 본 발명의 일 실시예에 따른 지그비와 와이파이 간의 간섭 또는 충돌을 회피 또는 예방할 수 있는 알고리즘의 순서도를 도시한다.
도 3은 본 발명의 일 실시예에 따른 지그비와 와이파이 간의 간섭 또는 충돌을 회피 또는 예방할 수 있는 방법을 도시한다.
도 4는 본 발명의 일 실시예에 따른 지그비와 와이파이 간의 간섭 또는 충돌을 회피 또는 예방할 수 있는 방법을 도시한다.
도 5는 본 발명의 일 실시예에 따른 지그비와 와이파이 간의 간섭 또는 충돌을 회피 또는 예방할 수 있는 지그비 채널과 와이파이 채널을 동시에 사용하는 장치의 블록도를 도시한다.
도 6은 본 발명의 일 실시예에 따른 지그비와 와이파이 간의 간섭 또는 충돌을 회피 또는 예방할 수 있는 방법을 도시한다.
도 7은 본 발명의 일 실시예의 적용예를 도시한다.
Figure 1 shows the frequency range of ZigBee and WiFi channels.
2 shows a flowchart of an algorithm that can avoid or prevent interference or collision between a ZigBee and a WiFi in accordance with an embodiment of the present invention.
FIG. 3 illustrates a method for avoiding or preventing interference or collision between a ZigBee and a WiFi according to an embodiment of the present invention.
4 illustrates a method for avoiding or preventing interference or collision between a ZigBee and a WiFi according to an embodiment of the present invention.
FIG. 5 illustrates a block diagram of an apparatus that simultaneously uses a ZigBee channel and a Wi-Fi channel to avoid or prevent interference or collision between a ZigBee and a Wi-Fi according to an embodiment of the present invention.
FIG. 6 illustrates a method for avoiding or preventing interference or collision between a ZigBee and a WiFi according to an embodiment of the present invention.
Fig. 7 shows an application example of an embodiment of the present invention.

본 명세서 및 청구범위에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정해서 해석되어서는 아니되며, 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야만 한다. 따라서, 본 명세서에 기재된 실시예와 도면에 도시된 구성은 본 발명의 가장 바람직한 일 실시예에 불과할 뿐이고 본 발명의 기술적 사상을 모두 포괄하는 것은 아니므로, 본 출원시점에 있어서 이들을 대체할 수 있는 다양한 균등물과 변형예들이 있을 수 있음을 이해하여야 한다.The terms and words used in the present specification and claims should not be construed as limited to ordinary or dictionary terms and should be construed in a sense and concept consistent with the technical idea of the present invention. Therefore, the embodiments described in the present specification and the configurations shown in the drawings are only the most preferred embodiments of the present invention, and are not intended to encompass all of the technical ideas of the present invention. Therefore, It is to be understood that equivalents and modifications are possible.

이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명하기로 한다.
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 지그비(ZigBee) 통신 채널과 와이-파이(Wi-Fi) 통신의 주파수 채널을 도시한다. Wi-Fi(또는 IEEE 802.11b)는 최근에 가장 많이 사용하고 있는 무선랜 표준 규격이며, 2.4㎓ 대역을 사용하고 있으며, 총 14개의 캐리어를 사용하나, 14번 캐리어는 일본에서만 허용되고 있다. 아래의 표 1은 Wi-Fi의 채널, 주파수, 대역폭, 채널폭, 중첩하는 채널 관계 등을 도시한다. 한편, 도 1은 Wi-Fi 주파수 채널을 3개만(채널 1, 채널 7 및 채널 13)을 도시했으나, 그 밖의 채널들은 간략함을 위해 생략했다. 1 shows a ZigBee communication channel and a frequency channel of Wi-Fi communication. Wi-Fi (or IEEE 802.11b) is the most widely used wireless LAN standard recently. It uses 2.4GHz band and uses 14 carriers in total, but 14th carrier is allowed only in Japan. Table 1 below shows the channel, frequency, bandwidth, channel width, overlapping channel relationships, and the like of Wi-Fi. On the other hand, Figure 1 shows only three Wi-Fi frequency channels (Channel 1, Channel 7 and Channel 13), but other channels have been omitted for brevity.

ChannelChannel Center FrequencyCenter Frequency Frequency deltaFrequency delta Channel WidthChannel Width Overlaps ChannelsOverlaps Channels 1One 2.412 GHz2.412 GHz 5 MHz5 MHz 2.401-2.423 GHz2.401-2.423 GHz 22 22 2.417 GHz2.417 GHz 5 MHz5 MHz 2.406-2.428 GHz2.406-2.428 GHz 1, 31, 3 33 2.422 GHz2.422 GHz 5 MHz5 MHz 2.411-2.433 GHz2.411-2.433 GHz 2, 42, 4 44 2.427 GHz2.427 GHz 5 MHz5 MHz 2.416-2.438 GHz2.416-2.438 GHz 3, 53, 5 55 2.432 GHz2.432 GHz 5 MHz5 MHz 2.421-2.443 GHz2.421-2.443 GHz 4, 64, 6 66 2.437 GHz2.437 GHz 5 MHz5 MHz 2.426-2.448 GHz2.426-2.448 GHz 5, 75, 7 77 2.442 GHz2.442 GHz 5 MHz5 MHz 2.431-2.453 GHz2.431-2.453 GHz 6, 86, 8 88 2.447 GHz2.447 GHz 5 MHz5 MHz 2.436-2.458 GHz2.436-2.458 GHz 7, 97, 9 99 2.452 GHz2.452 GHz 5 MHz5 MHz 2.441-2.463 GHz2.441-2.463 GHz 8, 108, 10 1010 2.457 GHz2.457 GHz 5 MHz5 MHz 2.446-2.468 GHz2.446-2.468 GHz 9, 119, 11 1111 2.462 GHz2.462 GHz 5 MHz5 MHz 2.451-2.473 GHz2.451-2.473 GHz 10, 1210, 12 1212 2.467 GHz2.467 GHz 5 MHz5 MHz 2.456-2.478 GHz2.456-2.478 GHz 1, 13 1, 13 1313 2.472 GHz2.472 GHz 5 MHz5 MHz 2.461-2.483 GHz2.461-2.483 GHz 1212 1414 2.484 GHz2.484 GHz 5 MHz5 MHz 2.473-2.495 GHz2.473-2.495 GHz --

지그비는 900㎒ 대역 및 2.4㎓ 대역의 범위를 차지하며, 대한민국 내에서는 2.4㎓ 대역만을 사용할 수 있다. 따라서, 900㎒ 대역의 1 내지 10번 채널은 사용하지 않으며, 2.4㎓ 대역의 11 내지 26번 채널만을 사용한다. 각 채널의 대역폭은 2㎒이며, 자세한 정보는 아래의 표 2에 도시된다. ZigBee covers the 900 MHz band and the 2.4 GHz band, and only 2.4 GHz band can be used in the Republic of Korea. Therefore, channels 1 to 10 in the 900 MHz band are not used, and only channels 11 to 26 in the 2.4 GHz band are used. The bandwidth of each channel is 2 MHz, and detailed information is shown in Table 2 below.

ChannelChannel Center FrequencyCenter Frequency Frequency deltaFrequency delta Channel WidthChannel Width Overlaps Channels with Wi-Fi ChannelsOverlaps Channels with Wi-Fi Channels 1111 2.405 GHz2.405 GHz 2 MHz2 MHz 2.404-2.406 GHz2.404-2.406 GHz 1One 1212 2.410 GHz2.410 GHz 2 MHz2 MHz 2.409-2.411 GHz2.409-2.411 GHz 1, 21, 2 1313 2.415 GHz2.415 GHz 2 MHz2 MHz 2.414-2.416 GHz2.414-2.416 GHz 1, 2, 31, 2, 3 1414 2.420 GHz2.420 GHz 2 MHz2 MHz 2.419-2.421 GHz2.419-2.421 GHz 1, 2, 3, 41, 2, 3, 4 1515 2.425 GHz2.425 GHz 2 MHz2 MHz 2.424-2.426 GHz2.424-2.426 GHz 2, 3, 4, 52, 3, 4, 5 1616 2.430 GHz2.430 GHz 2 MHz2 MHz 2.429-2.431 GHz2.429-2.431 GHz 3, 4, 5, 63, 4, 5, 6 1717 2.435 GHz2.435 GHz 2 MHz2 MHz 2.434-2.436 GHz2.434-2.436 GHz 4, 5, 6, 74, 5, 6, 7 1818 2.440 GHz2.440 GHz 2 MHz2 MHz 2.439-2.441 GHz2.439-2.441 GHz 5, 6, 7, 85, 6, 7, 8 1919 2.445 GHz2.445 GHz 2 MHz2 MHz 2.444-2.446 GHz2.444-2.446 GHz 6, 7, 8, 96, 7, 8, 9 2020 2.450 GHz2.450 GHz 2 MHz2 MHz 2.449-2.451 GHz2.449-2.451 GHz 7, 8, 9, 107, 8, 9, 10 2121 2.455 GHz2.455 GHz 2 MHz2 MHz 2.454-2.456 GHz2.454-2.456 GHz 8, 9, 10, 118, 9, 10, 11 2222 2.460 GHz2.460 GHz 2 MHz2 MHz 2.459-2.461 GHz2.459-2.461 GHz 9, 10, 11, 129, 10, 11, 12 2323 2.465 GHz2.465 GHz 2 MHz2 MHz 2.464-2.466 GHz2.464-2.466 GHz 10, 11, 12, 1310, 11, 12, 13 2424 2.470 GHz2.470 GHz 2 MHz2 MHz 2.469-2.471 GHz2.469-2.471 GHz 11, 12, 13, 1411, 12, 13, 14 2525 2.475 GHz2.475 GHz 2 MHz2 MHz 2.474-2.476 GHz2.474-2.476 GHz 12, 13, 1412, 13, 14 2626 2.480 GHz2.480 GHz 2 MHz2 MHz 2.479-2.481 GHz2.479-2.481 GHz 13, 1413, 14

도 1에서 도시한 것처럼, 지그비와 Wi-Fi는 그 대역폭이 겹친다. 겹치는 채널 번호는 표 2에 기술했다. 따라서, 지그비 신호는 상대적으로 크기(전력)가 낮으므로 Wi-Fi 신호와 충돌할 경우에 전송을 실패할 가능성이 높으며, 즉 에러율이 상대적으로 높을 수 있다.
As shown in FIG. 1, ZigBee and Wi-Fi overlap their bandwidths. The overlapping channel numbers are listed in Table 2. Therefore, since the ZigBee signal is relatively small in size (power), it is likely to fail to transmit in case of collision with the Wi-Fi signal, that is, the error rate may be relatively high.

도 2는 본 발명의 일 실시예에 따른 지그비와 Wi-Fi 대역 간의 간섭 또는 충돌을 회피 또는 예방할 수 있는 알고리즘의 순서도를 도시한다. 본 발명의 일 실시예에서는 지그비 통신 및 Wi-Fi 통신 모두를 수행할 수 있는 장치 또는 시스템을 예시로 든다. 상기 장치 또는 시스템은 스마트 그리드 시스템 또는 가전 기기 제어 네트워크 시스템의 가정 내 서버일 수 있으나, 이에 한정되는 것은 아니다. 상기 장치 또는 시스템은 지그비와 Wi-Fi 간의 간섭 또는 충돌을 예방 또는 회피할 수 있다. FIG. 2 shows a flowchart of an algorithm that can avoid or prevent interference or collision between a ZigBee and a Wi-Fi band in accordance with an embodiment of the present invention. In an embodiment of the present invention, an apparatus or a system capable of performing both Zigbee communication and Wi-Fi communication is exemplified. The device or system may be an in-home server of a smart grid system or a home appliance control network system, but is not limited thereto. The device or system may prevent or avoid interference or collision between ZigBee and Wi-Fi.

상기 장치 또는 시스템은 지그비와 Wi-Fi 통신 모두를 사용할 수 있으므로, 좁은 영역 내의 여러 장치 간에 지그비 통신을 하고 광역(외부) 내의 다른 시스템과의 와이파이 통신을 통해 직접 또는 인터넷 등과 접속하여 데이터를 송수신할 수 있다. Since the device or the system can use both ZigBee and Wi-Fi communication, it can perform ZigBee communication between various devices in a narrow area and access the Internet or the like directly or via WiFi communication with other systems in the wide area (outside) .

상기 장치 또는 시스템은 지그비 데이터를 전송할 수 있다(S210). 상기 장치 또는 시스템은 지그비 데이터를 전송하고, 간섭 검출 알고리즘을 이용하여 간섭이 존재하는지 여부를 판단할 수 있다(S220). 간섭 검출 알고리즘은, 상기 장치 또는 시스템은 지그비 패킷을 전송하고, 일정 기간 내에 ACK(확인 응답)를 수신하지 못하면, NACK(부정 확인 응답)으로 기록하여 NACK의 회수를 카운팅할 수 있다. 카운팅된 NACK의 수가 미리 결정된 수를 초과하면, 상기 장치 또는 시스템은 현재 사용 중인 지그비 채널 간섭이 존재하는 것으로 판단할 수 있다. 만약, 간섭이 존재하지 않는 것으로 판단하면, 상기 장치 또는 시스템은 지그비 통신을 계속할 수 있다. The device or system may transmit ZigBee data (S210). The apparatus or system may transmit ZigBee data and may determine whether interference is present using an interference detection algorithm (S220). The interference detection algorithm may count the number of NACKs by writing NACK (negative acknowledgment) if the apparatus or system transmits a ZigBee packet and does not receive an ACK (acknowledgment) within a predetermined period. If the number of counted NACKs exceeds a predetermined number, then the device or system may determine that there is ZigBee channel interference currently in use. If it is determined that interference does not exist, the apparatus or system can continue the ZigBee communication.

다시 말해서, 지그비 통신을 통한 데이터 송수신이 원활하게 되었는지, 좀더 자세히는 데이터 송수신에 에러가 발생하는지를 판단할 수 있다. 현재 사용 중인 지그비 채널에 간섭이 존재하는 것으로 판단되면, 상기 장치 또는 시스템은 자신이 사용 중인 모든 Wi-Fi 채널 및 지그비 채널에 대한 정보를 판독할 수 있다(S230). 상기 장치 또는 시스템은 Wi-Fi 통신 및 지그비 통신을 동시에 수행할 수 있으므로, 자신이 사용하고 있는 Wi-Fi 채널 및 지그비 채널에 대한 정보를 메모리에 저장해놓을 수 있다. 다시 말하면, 상기 장치 또는 시스템은 Wi-Fi 채널 및 지그비 채널에 대한 정보를 미리 알고 있을 수 있다. In other words, it is possible to judge whether data transmission / reception through the ZigBee communication is smooth or more precisely, an error occurs in data transmission / reception. If it is determined that interference exists in the current ZigBee channel, the device or system can read information about all the Wi-Fi channels and the ZigBee channel in use (S230). The device or the system can simultaneously perform Wi-Fi communication and ZigBee communication, so that information about the Wi-Fi channel and the ZigBee channel being used can be stored in the memory. In other words, the device or system may know information about the Wi-Fi channel and the ZigBee channel in advance.

예컨대, 상기 장치 또는 시스템은 표 2에서 기술한 Wi-Fi 채널과 지그비 채널간에 중첩되는 채널 번호에 대한 정보를 메모리에 저장할 수 있다. 또한, 상기 장치 또는 시스템은 현재 사용 중인 Wi-Fi 채널 번호 및 지그비 채널 번호를 내장된 통신 칩 또는 기타 다른 유닛으로부터 판독하여 알 수 있다. For example, the apparatus or system may store information on channel numbers superimposed between the Wi-Fi channel and the ZigBee channel described in Table 2 in a memory. In addition, the device or system can read and know the Wi-Fi channel number and the ZigBee channel number currently in use from the built-in communication chip or other unit.

상기 장치 또는 시스템은 내장된 메모리 또는 통신 칩 등으로부터 현재 사용 중인 Wi-Fi 채널 번호 및 지그비 채널 번호를 읽어들여, 현재 사용하고 있는 지그비 채널과 현재 사용 중인 Wi-Fi 채널이 중첩되고 있는지를 판단할 수 있다(S240). 상기 장치 또는 시스템은 단계(S220)에서 확인 또는 판단한 지그비 통신의 데이터 송수신의 간섭 또는 에러가 자신이 현재 사용 중인 Wi-Fi 채널과 지그비 채널이 중첩되어 발생한 것인지를 판단할 수 있다. 지그비 통신은 로우 파워, 로우 레이트 기반 통신이므로, Wi-Fi 통신과 주파수 대역이 중첩되기 때문에, Wi-Fi 채널에 의해 간섭받을 가능성이 높다. The device or the system reads the Wi-Fi channel number and the ZigBee channel number currently being used from the built-in memory, a communication chip, or the like, and determines whether the currently used ZigBee channel and the currently used Wi-Fi channel are overlapped (S240). The device or system can determine whether the interference or error of data transmission / reception of the Zigbee communication confirmed or determined in step S220 is caused by overlapping the Wi-Fi channel and the ZigBee channel currently being used. Because ZigBee communication is a low-power, low-rate communication, it is highly likely to be interfered by Wi-Fi channels because Wi-Fi communication and frequency band overlap.

만약 상기 장치 또는 시스템이 현재 사용 중인 Wi-Fi 채널과 지그비 채널이 중첩되는 경우에는, 현재 사용 중인 Wi-Fi 채널의 점유 범위(주파수 범위)에 속하지 않는 다른 지그비 채널을 선택하여 그 채널로 변경할 수 있다(S250). 현재 사용 중인 Wi-Fi 채널의 점유 범위에 속하지 않는 다른 지그비 채널을 탐색하는 것은, 앞에서 언급한 것처럼 현재 사용 중인 각 채널의 채널 정보를 메모리 또는 기타 내장 유닛에 저장하고 있으므로 그 정보를 이용하여 빠르게 탐색할 수 있다. If the Wi-Fi channel and the ZigBee channel overlap with each other, the other ZigBee channel that does not belong to the occupied range (frequency range) of the currently used Wi-Fi channel can be selected and changed to that channel (S250). Searching for other ZigBee channels that are not in the occupied range of the current Wi-Fi channel stores channel information of each currently used channel in the memory or other built-in unit, as described above. can do.

예컨대, 현재 상기 장치 또는 시스템이 지그비 채널 17번 그리고 Wi-Fi 채널 5번을 사용하고 있으면 , 현재 사용 중인 17번 지그비 채널과 5번 Wi-Fi 채널은 서로 주파수 대역이 중첩되므로, 5번 Wi-Fi 채널과 겹치지 않는 다른 지그비 채널을 선택할 수 있다. 상기 시스템 또는 장치는 예컨대 지그비 채널 20번을 선택할 수 있다. 지그비 채널의 탐색 또는 선택이 완료되면, 상기 장치 또는 시스템은 선택된 지그비 채널로 채널을 변경할 수 있다. For example, if the device or system currently uses the ZigBee channel 17 and the Wi-Fi channel 5, since the 17th ZigBee channel currently being used and the 5th Wi-Fi channel overlap with each other, You can select other ZigBee channels that do not overlap with Fi channels. The system or apparatus can select, for example, Zigbee channel 20. Once the search or selection of the ZigBee channel is complete, the device or system may change the channel to the selected ZigBee channel.

또한, 단계(S250)에서 탐색한 사용가능한 지그비 채널에 대한 정보를 저장해놓을 수 있다. 예컨대, 사용가능한 지그비 채널 번호를 저장할 수 있다. 또한, 지그비 채널을 탐색하여 새로운 지그비 채널을 선택하는 경우에, 사용가능한 지그비 채널의 수(n)를 메모리 등에 저장해놓고, 새로운 지그비 채널을 선택하여 그 채널로 변경하고 나면, 채널의 수에서 1을 제한 값(n-1)을 저장할 수 있다. 이러한 사용가능한 지그비 채널의 수는 '가용 지그비 채널 수' 변수로서 저장될 수 있다. In addition, information on the usable zigbee channel searched in step S250 may be stored. For example, a usable ZigBee channel number can be stored. When a new ZigBee channel is selected by searching a ZigBee channel, the number (n) of usable ZigBee channels is stored in a memory or the like. When a new ZigBee channel is selected and changed to that channel, And can store the limit value (n-1). The number of such usable ZigBee channels can be stored as the 'available ZigBee channel number' variable.

사용 중인 Wi-Fi 채널과 지그비 채널이 겹쳐서 사용 중인 지그비 채널을 변경하고 나면, 다시 외부 Wi-Fi 채널에 의한 간섭이 존재하는지를 검출할 수 있다(S260). 단계(S250)에서 지그비 채널을 변경했기 때문에, 변경된 지그비 채널에 외부에서 사용하고 있는 Wi-Fi 채널의 간섭이 영향을 미치는지를 검출할 수 있다. 최근에는, Wi-Fi 접속을 위한 수많은 AP(access point)가 활성화된 경우가 많고, 특히 홈 네트워크 시스템을 구축한 경우에는, 이웃집의 Wi-Fi AP가 존재하므로 외부의 간섭에 대한 영향도 무시할 수 있는 상황이 아니다. After the Wi-Fi channel being used and the ZigBee channel are overlapped and the ZigBee channel being used is changed, it is possible to detect whether there is interference due to the external Wi-Fi channel again (S260). Since the ZigBee channel has been changed in step S250, it is possible to detect whether the interference of the Wi-Fi channel that is being used externally affects the changed Zigbee channel. In recent years, a large number of access points (APs) for Wi-Fi access are often activated. In particular, when a home network system is established, the influence of external interference can be ignored because a neighboring Wi- This is not the situation.

따라서, 상기 장치 또는 시스템은 Wi-Fi 주파수 대역에서 전파 센싱 수단 또는 이와 동일한 기능을 갖는 수단을 사용하여 외부 Wi-Fi 채널을 검출할 수 있다. 또는, 단계(S250) 이후에 지그비 통신을 수행하고, 단계(S220)에서 이용한 간섭 검출 알고리즘을 이용하여 수행하고 있는 지그비 통신에 대한 간섭 또는 에러를 검출할 수 있다. Thus, the device or system can detect an external Wi-Fi channel using radio wave sensing means or a device having the same function in the Wi-Fi frequency band. Alternatively, the Zigbee communication may be performed after step S250, and the interference or error with respect to the Zigbee communication performed using the interference detection algorithm used in step S220 may be detected.

단계(S260)에서, 외부 Wi-Fi 간섭이 있는 것으로 판단되면, 단계(S250)에서 탐색했던 사용가능한 지그비 채널 중 다른 지그비 채널로 채널 변경할 수 있다. 이 경우에는, 단계(S270)에서 사용가능한 지그비 채널 모두에 대해 탐색, 선택 또는 변경을 수행했는지를 판단할 수 있다. 이러한 판단은 앞서 언급한 '가용 지그비 채널 수' 변수를 이용하여 이 변수 값이 0인지 여부를 검출하여 판단할 수 있다. 이 변수 값이 0이 아니라면, 사용가능한 지그비 채널이 존재하므로, 앞서 저장해놓은 사용가능한 채널 정보를 이용하여 새로운 지그비 채널로 변경할 수 있다. 또한, '가용 지그비 채널 수' 변수에 더불어, 최초에 판단했던 사용가능한 지그비 채널의 사용 여부에 대한 정보도 일 변수로서 저장할 수 있다. '가용 지그비 채널 수' 변수가 감소함에 따라, 채널 변경 히스토리를 저장함으로써 사용가능한 지그비 채널이 어떤 것인지를 쉽게 파악할 수 있게 한다. If it is determined in step S260 that external Wi-Fi interference exists, the channel can be changed to another Zigbee channel among the usable Zigbee channels found in step S250. In this case, it is possible to judge whether all of the available zigbee channels have been searched, selected, or changed in step S270. This determination can be made by detecting whether the value of this variable is 0 or not by using the aforementioned 'available ZigBee channel number' variable. If the value of this variable is not 0, since there is a usable ZigBee channel, it can be changed to a new ZigBee channel by using the previously stored available channel information. Also, in addition to the 'available ZigBee channel number' variable, information on whether or not the usable ZigBee channel that has been judged first can be stored as one variable. As the 'available ZigBee channel number' variable decreases, it is possible to easily identify which zigbee channel is available by storing the channel change history.

만약, 모든 사용가능한 지그비 채널에 대해 채널 변경을 수행했다면, 상기 장치 또는 시스템은 사용 중인 Wi-Fi 채널을 선택하여 변경할 수 있다(S280). 사용 중인 Wi-Fi에 대한 정보를 파악할 수 있으므로, 다른 Wi-Fi 채널로의 변경은 앞서 언급한 지그비 채널 변경과 유사하게 수행될 수 있다. If the channel change has been performed for all available ZigBee channels, the device or system may select and change the Wi-Fi channel in use (S280). Since information about the Wi-Fi being used can be grasped, a change to another Wi-Fi channel can be performed similarly to the aforementioned ZigBee channel change.

이 단계(S280)는 지그비 채널을 계속 변경했음에도 불구하고, 외부 Wi-Fi 간섭이 계속해서 존재하는 경우에, 현재 사용하고 있는 Wi-Fi 채널의 주파수 대역과 겹치는 지그비 채널로 지그비 채널을 변경하기 위한 선행하는 절차일 수 있다. 물론, 현재 사용하고 있는 Wi-Fi 채널의 주파수 대역과 겹치는 지그비 채널도 외부 Wi-Fi 채널에 의해 간섭이 발생할 수 있다. 단계(S280)는 모든 사용가능한 지그비 채널, 즉 현재 사용 중인 Wi-Fi 채널이 점유하고 있는 주파수 대역의 지그비 채널에 대해서 까지 채널 변경을 수행하여, 간섭을 회피하기 위한 것이다. Wi-Fi 채널간의 간섭 회피는 본 발명의 범위에 해당하지 않으며, 이미 Wi-Fi 통신 규격 또는 Wi-Fi AP에서 수행하고 있을 수 있다. In this step S280, even if the ZigBee channel is continuously changed, when the external Wi-Fi interference continues to exist, the ZigBee channel is changed to the ZigBee channel overlapping the frequency band of the currently used Wi-Fi channel It may be a preceding procedure. Of course, a ZigBee channel that overlaps the frequency band of the Wi-Fi channel you are currently using may also be interfered with by an external Wi-Fi channel. Step S280 is for avoiding interference by performing channel change to all usable ZigBee channels, that is, for a ZigBee channel occupied by the currently used Wi-Fi channel. Interference avoidance between Wi-Fi channels does not fall within the scope of the present invention, and may be already performed in a Wi-Fi communication standard or a Wi-Fi AP.

사용하고 있던 Wi-Fi 채널을 다른 Wi-Fi 채널로 변경한 경우에, 변경하려고 하는 지그비 채널은 기존에 사용하고 있던 Wi-Fi 채널의 주파수 대역에 중첩되는 지그비 채널 중 하나로 하는 것이 바람직하다. 채널 변경을 위해 단계(S250)로 진행하며, 다시 S250, S260, S270 및 S280 등을 반복할 수 있다. Wi-Fi 채널을 변경하고 나서, 단계(S270)를 수행하는 경우에 사용가능한 지그비 채널은 앞서 변경되기 전의 Wi-Fi 채널의 주파수 범위와 중첩하는 지그비 채널들이 될 것이며, 이 경우에 현재 사용하고 있는 Wi-Fi 채널과 중첩하지 않는 모든 지그비 채널을 탐색 또는 선택하는 것은 앞서 수행한 것과 중복하게 된다. 따라서, 위에서 언급한 사용가능한 지그비 채널에 대한 정보를 새로 업데이트하여 관리하는 것이 바람직하다. When the Wi-Fi channel being used is changed to another Wi-Fi channel, the ZigBee channel to be changed is preferably one of the ZigBee channels superimposed on the frequency band of the Wi-Fi channel that has been used. The flow advances to step S250 to change the channel, and steps S250, S260, S270, and S280 may be repeated. In the case of performing the step S270 after changing the Wi-Fi channel, the usable zigbee channel will be the zigbee channels overlapping the frequency range of the Wi-Fi channel before the change, and in this case, Browsing or selecting any ZigBee channel that does not overlap with a Wi-Fi channel will duplicate what you did earlier. Therefore, it is desirable to newly update and manage information on the above-mentioned usable ZigBee channel.

단계(S260)에서, 외부 Wi-Fi 간섭이 없는 것으로 판단되면, 상기 장치 또는 시스템은 단계(S210)로 진행하여 다시 지그비 통신을 수행할 수 있다. If it is determined in step S260 that there is no external Wi-Fi interference, the apparatus or the system may proceed to step S210 to perform ZigBee communication again.

만약 단계(S240)에서 상기 장치 또는 시스템이 현재 사용 중인 Wi-Fi 채널과 지그비 채널이 중첩되지 않는 경우, 이 알고리즘은 단계(S260)로 진행할 수 있다. 현재 사용 중인 Wi-Fi 채널과 지그비 채널이 중첩되지 않으면, 외부의 통신 간섭으로 인해 지그비 통신에 에러가 발생했을 수 있다. 따라서, 단계(S260)로 진행하여 외부 Wi-Fi에 의한 간섭 여부를 판단하여 그에 대응한 일련의 절차를 수행할 수 있다. 이에 대한 자세한 설명은 위와 공통되므로 생략한다.
If it is determined in step S240 that the Wi-Fi channel and the ZigBee channel are not overlapped with each other, the algorithm may proceed to step S260. If the Wi-Fi channel you are using does not overlap with the ZigBee channel, ZigBee communication may have failed due to external communication interference. Accordingly, the process proceeds to step S260, where it is determined whether interference is caused by external Wi-Fi, and a series of procedures corresponding thereto can be performed. A detailed description thereof will be omitted because it is common to the above.

도 3은 본 발명의 일 실시예에 따른 지그비와 Wi-Fi 간의 간섭 또는 충돌을 회피 또는 예방할 수 있는 방법을 도시한다. 도 3의 (a), (b) 및 (b')는 지그비 통신을 수행하고 있는 장치 또는 시스템의 주파수 캐리어의 사용을 나타낸다. 타원의 절반의 형태로 도시한 주파수 파형이 각 채널로 표시되며, 이들을 둘러싸고 있는 실선 사각형은 그 채널이 사용되고 있음을 표시하고, 이들을 둘러싸고 있는 점선 사각형은 그 채널로 변경되었음을 표시할 수 있다. FIG. 3 illustrates a method for avoiding or preventing interference or collision between ZigBee and Wi-Fi according to an embodiment of the present invention. Figures 3 (a), 3 (b) and 3 (b ') illustrate the use of a frequency carrier in an apparatus or system performing ZigBee communication. A frequency waveform shown in the form of half of an ellipse is displayed on each channel and a solid line rectangle surrounding them indicates that the channel is being used and a dotted rectangle surrounding them indicates that the channel has been changed.

또한, 도 3에 도시된 파형 외엔, 지그비 또는 Wi-Fi 대역에는 다른 신호는 검출되고 있지 않은 상황임을 가정한다. IEEE 802.15.4와 IEEE 802.11b로 표시된 파형은 각각 상기 장치 또는 시스템 내에서 사용하고 있는 지그비(이하, "내장 지그비"로 지칭함)와 Wi-Fi(이하, "내장 Wi-Fi"로 지칭함)를 각각 나타낸다. 설명의 간단함을 위해, 도 3에서는 Wi-Fi의 채널이 1, 7 및 13번만이 존재한다고 가정한다. It is also assumed that there are no other signals detected in the Zigbee or Wi-Fi bands other than the waveforms shown in Fig. The waveforms represented by IEEE 802.15.4 and IEEE 802.11b are referred to as ZigBee (hereinafter referred to as "built-in ZigBee") and Wi-Fi (hereinafter referred to as "built-in Wi-Fi") Respectively. For simplicity of explanation, it is assumed that only Wi-Fi channels 1, 7, and 13 exist in FIG.

도 3의 (a)에서, 상기 장치 또는 시스템은 내장 지그비 채널 11 및 내장 Wi-Fi 채널 1을 사용하고 있다. 상기 장치 또는 시스템은 지그비 통신을 수행할 수 있다. 다른 통신 장치 또는 시스템으로 지그비 통신을 이용하여 데이터를 전송하고나서, 상기 장치 또는 시스템은 간섭 검출 알고리즘을 이용하여 전송한 데이터가 수신측에 잘 전송되었는지를 판단할 수 있다. 상기 데이터가 에러 없이 전송되었다면, 상기 장치 또는 시스템은 통신을 종료할 수 있다. 도 2에서 도시된 방법은 1회의 데이터 전송마다 수행될 수 있고, 또한 일정 주기마다 수행될 수 있다. In Figure 3 (a), the device or system uses an embedded ZigBee channel 11 and built-in Wi-Fi channel 1. The device or system may perform ZigBee communication. After transferring data to another communication device or system using ZigBee communication, the device or system can determine whether the transmitted data is well transmitted to the receiving side using the interference detection algorithm. If the data has been transmitted without error, the device or system may terminate the communication. The method shown in FIG. 2 may be performed for each data transmission, and may be performed at regular intervals.

상기 장치 또는 시스템이 지그비 통신에 간섭이 존재한다고 판단되면, 상기 장치 또는 시스템은 사용 중인 모든 내장 지그비 채널 및 내장 Wi-Fi 채널을 판독할 수 있다. 상기 장치 또는 시스템은 표 1 및 표 2에 도시된 것처럼 지그비 채널과 Wi-Fi 채널에 대한 정보를 메모리 등에 저장하고 있고, 따라서 현재 사용 중인 채널 정보를 실시간으로 획득할 수 있다. If the device or system determines that there is interference in the ZigBee communication, the device or system can read all the in-use ZigBee channels in use and the built-in Wi-Fi channel. The device or system stores information about the ZigBee channel and the Wi-Fi channel in a memory or the like as shown in Tables 1 and 2, and thus can acquire channel information currently in use in real time.

상기 정보를 이용하여, 상기 장치 또는 시스템은 내장 지그비 채널과 내장 Wi-Fi 채널의 주파수 대역이 중첩되는지 여부를 판단할 수 있다. 도 3의 (a)에서 도시된 것처럼, 현재 사용 중인 내장 지그비 채널 11과 내장 Wi-Fi 채널 1은 서로 중첩되므로, 상기 장치 또는 시스템은 이를 확인할 수 있다. 그리고나서, 상기 장치 또는 시스템은 사용 중이던 내장 지그비 채널 11외에, 내장 Wi-Fi 채널과 주파수 대역이 겹치지 않는 사용가능한 지그비 채널을 탐색 또는 검색할 수 있다. Using this information, the device or system can determine whether the frequency bands of the built-in zigbee channel and the built-in Wi-Fi channel overlap. As shown in FIG. 3 (a), since the built-in Wi-Fi channel 1 and the built-in Wi-Fi channel 1 currently in use overlap each other, the device or the system can confirm this. The device or system may then search for or search for a usable ZigBee channel that does not overlap with the built-in Wi-Fi channel in addition to the built-in ZigBee channel 11 that is in use.

"탐색" 또는 "검색"한다고 언급하였지만, 상기 장치 또는 시스템은 내장 지그비 또는 Wi-Fi 채널 정보를 저장하고 있으므로, 상기 채널 정보를 획득하여 판단함으로써 수행할 수 있다. 내장 Wi-Fi 채널과 주파수 대역이 겹치지 않는 사용가능한 내장 지그비 채널은, 도 3의 (a)에 도시된 것처럼, 지그비 채널 15 내지 26일 것이다. 상기 장치 또는 시스템은 상기 사용가능한 내장 지그비 채널 중 하나를 선택하여 채널 변경을 수행할 수 있다. 도 3의 (b)에서는 내장 지그비 채널 15로 채널 변경을 수행했다. However, since the device or system stores the built-in zigbee or Wi-Fi channel information, it can be performed by acquiring and determining the channel information. A usable built-in ZigBee channel in which the frequency bands do not overlap with the built-in Wi-Fi channel will be ZigBee channels 15 to 26 as shown in FIG. 3 (a). The device or system may select one of the available built-in ZigBee channels to perform the channel change. In FIG. 3 (b), the channel is changed by the built-in zigbee channel 15.

한편, 내장 지그비 채널과 내장 Wi-Fi 채널의 주파수 대역이 중첩되는 경우에, 내장 지그비 채널을 변경하지 않고 내장 Wi-Fi 채널을 변경할 수 있다. 도 3의 (b')는 내장 Wi-Fi 채널을 Wi-Fi 채널 7로 변경한 예를 도시한다. 내장 Wi-Fi 채널을 먼저 변경함으로써, 상기 장치 또는 시스템의 주파수 간섭 회피 기능을 향상시킬 수 있다. On the other hand, when the built-in ZigBee channel and the built-in Wi-Fi channel overlap, you can change the built-in Wi-Fi channel without changing the built-in ZigBee channel. FIG. 3 (b ') shows an example of changing the built-in Wi-Fi channel to Wi-Fi channel 7. By changing the built-in Wi-Fi channel first, the frequency interference avoiding function of the device or system can be improved.

통신 환경에 따라, 선택적으로 내장 지그비 채널 또는 내장 Wi-Fi 채널을 변경함으로써, 통신 리소스의 사용의 효율성 내지는 신속성을 확보할 수 있다. 도 2의 순서도에는 모든 내장 지그비 채널을 먼저 변경한 뒤에도 간섭 현상이 해소되지 않으면 내장 Wi-Fi 채널을 변경하는 것으로 도시했으나, 내장 지그비 채널을 먼저 변경할지 또는 내장 Wi-Fi 채널을 먼저 변경할지에 관한 순서는 바뀔 수 있다. By selectively changing the built-in ZigBee channel or the built-in Wi-Fi channel according to the communication environment, the efficiency or speed of use of communication resources can be ensured. In the flowchart of FIG. 2, the built-in Wi-Fi channel is changed when all the built-in ZigBee channels are changed and the interference does not resolve. However, if the built-in WiBro channel is changed first or the built- The ordering can be changed.

내장 지그비 채널 또는 내장 Wi-Fi 채널을 변경하여, 상호 간섭을 회피하였으므로 본 방법은 종료될 수 있다.
The built-in ZigBee channel or the built-in Wi-Fi channel can be changed to avoid mutual interference, so the method can be terminated.

도 4는 본 발명의 일 실시예에 따른 지그비와 Wi-Fi 간의 간섭 또는 충돌을 회피 또는 예방할 수 있는 방법을 도시한다. 도 4의 (a) 내지 (d)는 지그비 통신을 수행하고 있는 장치 또는 시스템의 주파수 캐리어 사용을 나타낸다. 또한, 도 4에 도시된 파형 외엔, 지그비 또는 Wi-Fi 대역에는 다른 신호는 검출되고 있지 않는 상황임을 가정한다. IEEE 802.15.4와 IEEE 802.11b로 표시된 파형은 상기 장치 또는 시스템 내에서 사용하고 있는 지그비(이하, "내장 지그비"로 지칭함)와 Wi-Fi(이하, "내장 Wi-Fi"로 지칭함)를 각각 나타낸다. IEEE 802.11b(외부)로 표시된 파형은 외부에서 사용하고 있는 Wi-Fi(이하, "외부 Wi-Fi"로 지칭함)를 나타낸다. 설명의 간단함을 위해, 도 4에서는 Wi-Fi의 채널이 1, 7 및 13번만이 존재한다고 가정한다. FIG. 4 illustrates a method for avoiding or preventing interference or collision between ZigBee and Wi-Fi according to an embodiment of the present invention. 4 (a) - (d) illustrate the use of frequency carriers in an apparatus or system that is performing ZigBee communication. 4, it is assumed that no other signal is detected in the Zigbee or Wi-Fi band. The waveforms indicated by IEEE 802.15.4 and IEEE 802.11b are referred to as "built-in ZigBee" and Wi-Fi (hereinafter referred to as "embedded Wi-Fi") used in the device or system . The waveform indicated by IEEE 802.11b (external) represents Wi-Fi (hereinafter referred to as "external Wi-Fi" For simplicity of explanation, it is assumed in FIG. 4 that only Wi-Fi channels 1, 7, and 13 exist.

도 4의 (a)를 참조하면, 상기 장치 또는 시스템은 현재 지그비 채널 12번과 내장 Wi-Fi 채널 중 1 및 13번 채널을 사용하고 있다. 타원 절반으로 표시해놓은 채널 파형 위에 사각형으로 표시한 것은, 그 채널이 현재 사용 중임을 나타낸 것이다. 상기 장치 또는 시스템은 지그비 통신을 이용하여 데이터를 전송할 수 있다. 간섭 검출 알고리즘을 이용하여, 상기 장치 또는 시스템은 현재 사용하고 있는 지그비 통신이 양호하게 수행되고 있는지를 확인할 수 있다. 지그비 채널 12번은 내장 Wi-Fi 채널 1번과 주파수 대역이 중첩되므로, 지그비 채널에 대한 간섭이 발생하여 지그비 통신에 에러가 발생할 수 있다. Referring to FIG. 4 (a), the device or system currently uses ZigBee channel 12 and channels 1 and 13 of the built-in Wi-Fi channels. A rectangle on a channel waveform marked with an ellipse half indicates that the channel is currently in use. The device or system may transmit data using ZigBee communication. Using the interference detection algorithm, the device or system can verify that the ZigBee communication currently in use is being performed well. Since ZigBee channel 12 overlaps with the built-in Wi-Fi channel # 1 frequency band, interference with ZigBee channel may occur, which may cause an error in Zigbee communication.

지그비 채널에 대한 간섭으로 인해 지그비 통신 에러가 발생하였으므로, 상기 장치 또는 시스템은 현재 사용 중인 내장 Wi-Fi 채널 및 내장 지그비 채널을 판독하여, 주파수 범위가 서로 겹치는 채널이 있는 있는지를 확인할 수 있다. 도 1, 표 1 및 2, 그리고 도 2와 관련하여 설명한 것처럼, 상기 장치 또는 시스템은 어떠한 내장 Wi-Fi 채널과 내장 지그비 채널이 중첩되는지, 그리고 현재 어떤 채널을 사용하고 있는지를 파악하고 있을 수 있다. 도 4의 경우에는, 내장 지그비 채널 12와 내장 Wi-Fi 채널 1을 사용하고 있으므로, 서로 중첩됨을 확인할 수 있다. Since a ZigBee communication error has occurred due to interference with the ZigBee channel, the device or system can read the built-in Wi-Fi channel and the built-in ZigBee channel currently in use to check whether there is a channel whose frequency ranges overlap with each other. As described in connection with FIG. 1, Tables 1 and 2, and FIG. 2, the device or system may be aware of which embedded Wi-Fi channels and built-in ZigBee channels overlap and which channel is currently being used . In the case of FIG. 4, since the built-in ZigBee channel 12 and the built-in Wi-Fi channel 1 are used, it can be confirmed that they are overlapped with each other.

따라서, 상기 장치 또는 시스템은 사용가능한 지그비 채널을 검색 또는 탐색할 수 있다. 현재 지그비 채널 12번을 사용하고 있기에, 12번을 제외한 나머지 모두를 사용할 수 있으나, 내장 Wi-Fi 채널 1 및 13번이 사용되고 있으므로 내장 Wi-Fi 채널 1 및 13번과 주파수 범위가 중첩하지 않는 내장 지그비 채널 15 내지 22번이 사용가능한 지그비 채널임을 확인할 수 있다. Thus, the device or system can search for or search for available ZigBee channels. Because you are currently using ZigBee channel 12, you can use all but 12, but because there are built-in Wi-Fi channels 1 and 13, built-in Wi-Fi channels 1 and 13 It can be confirmed that the Zigbee channels 15 to 22 are usable Zigbee channels.

사용가능한 지그비 채널을 확인한 상기 장치 또는 시스템은, 지그비 채널 17번을 선택하여, 채널 변경을 수행할 수 있다. 도 4의 (b)를 참조하면, 지그비 채널 17번으로 채널을 변경했음을 확인할 수 있다. 지그비 채널 변경을 완료한 상기 장치 또는 시스템은, 다시 지그비 통신을 수행할 수 있다. 지그비 통신을 다시 수행하면서, 간섭 검출 알고리즘을 통해 지그비 통신에 간섭이 존재하는지를 다시 확인할 수 있다. 간섭이 없다고 판단되면, 이것으로 데이터의 전송은 종료될 수 있다. The device or system that has confirmed the usable ZigBee channel can select the ZigBee channel 17 to perform the channel change. Referring to FIG. 4 (b), it can be confirmed that the channel is changed to the Zigbee channel 17. The apparatus or system that has completed the ZigBee channel change can again perform ZigBee communication. While performing the Zigbee communication again, it is possible to confirm again whether the interference exists in the Zigbee communication through the interference detection algorithm. If it is determined that there is no interference, the transmission of data can be terminated with this.

상기 장치 또는 시스템은 예컨대, 지그비 통신으로 일 그룹의 데이터 또는 일정량의 데이터를 보낼 때마다 지그비 통신 에러를 확인하여, 내장 Wi-Fi 및 내장 지그비 간의 중첩을 회피하는 방법을 수행할 수 있다. 또는, 상기 장치 또는 시스템은 예컨대, 일정 주기마다 한번 씩 지그비 통신 에러를 확인하여, 내장 Wi-Fi 및 내장 지그비 간의 중첩을 회피하는 방법을 수행할 수 있다. The device or system can perform a method of avoiding the overlap between the built-in Wi-Fi and built-in zigbee, for example, by checking a zigbee communication error every time a group of data or a certain amount of data is transmitted through the zigbee communication. Alternatively, the device or system may perform a method of avoiding overlap between embedded Wi-Fi and built-in zigbee, for example, by checking for zigbee communication errors once every predetermined period.

또한, 상기 장치 또는 시스템은 다시 지그비 통신을 수행하기 전에, 변경된 지그비 채널 17이 외부의 Wi-Fi 채널에 의해 간섭받는지 여부를 판단할 수 있다. 내장 지그비 채널 17은 도 4의 (b)에 도시된 것처럼, 외부 Wi-Fi 채널 7과 주파수 영역이 겹친다. 채널 파형 위에 점선으로 표시한 사각형은, 이 채널로 채널 변경을 수행했음을 나타낸다. 물론, 앞선 사용가능한 지그비 채널 탐색 또는 검색을 통한 채널 변경을 지그비 채널 15, 17, 21, 또는 22 등으로 했다면 외부 Wi-Fi에 의한 간섭은 발생하지 않을 수 있다. In addition, the apparatus or system may determine whether the changed ZigBee channel 17 is interfered with by an external Wi-Fi channel before performing the ZigBee communication again. The built-in ZigBee channel 17 overlaps the frequency domain with the external Wi-Fi channel 7, as shown in FIG. 4 (b). A rectangle marked with a dotted line above the channel waveform indicates that the channel change has been performed with this channel. Of course, interference from external Wi-Fi may not occur if the channel is changed to ZigBee channel 15, 17, 21, or 22 by searching for or using a previously available ZigBee channel.

상기 장치 또는 시스템은 현재 사용하고 있는 내장 지그비 채널 17과 외부 Wi-Fi 채널이 겹치므로, 외부 Wi-Fi에 의한 간섭이 존재한다고 판단할 수 있다. 따라서, 상기 장치 또는 시스템은 다시 다른 사용가능한 내장 지그비 채널을 탐색 또는 검색할 수 있다. 탐색 또는 검색 결과, 외부 Wi-Fi 채널의 검출로 인해, 다른 사용가능한 내장 지그비 채널은 15, 16, 21 또는 22일 수 있다. 상기 장치 또는 시스템은 다시 사용가능한 내장 지그비 채널 중 하나를 선택하여 변경할 수 있다. The device or system may determine that there is interference due to external Wi-Fi because the built-in zigbee channel 17 currently used and the external Wi-Fi channel overlap. Thus, the device or system can again search for or search other available built-in ZigBee channels. As a result of the search or search, due to the detection of an external Wi-Fi channel, the other available built-in ZigBee channels can be 15, 16, 21 or 22. The device or system can be changed by selecting one of the available built-in ZigBee channels again.

그러나, 어떤 이유에 의해서든 내장 지그비 채널 15, 16, 21, 또는 22를 선택하지 못하는 경우, 이를 테면 내장 Wi-Fi 채널 1 및 13, 그리고 외부 Wi-Fi 채널 7외에도 다른 Wi-Fi 채널이 사용되고 있는 경우에, 상기 장치 또는 시스템은 더 이상 내장 지그비 채널을 변경할 수 없을 것이다. 이러한 경우에는, 상기 장치 또는 시스템은 내장 Wi-Fi 채널을 변경할 수 있다. 도 4의 (c)에 도시된 것처럼, 상기 장치 또는 시스템은 사용 중이던 내장 Wi-Fi 채널 13을 채널 7로 변경할 수 있다. 이 경우에, 변경된 내장 Wi-Fi 채널 7은 외부 Wi-Fi 채널과 중첩되지만, 이는 Wi-Fi 채널 간의 간섭에 관한 것으로 본 발명에서는 이에 대해 문제 삼지 않도록 한다. However, if for any reason you can not select the built-in ZigBee channel 15, 16, 21, or 22, for example, other Wi-Fi channels in addition to the built-in Wi-Fi channels 1 and 13 and external Wi-Fi channel 7 If so, the device or system will no longer be able to change the built-in ZigBee channel. In this case, the device or system may change the built-in Wi-Fi channel. As shown in FIG. 4 (c), the device or system may change the in-use Wi-Fi channel 13 in use to channel 7. In this case, the modified built-in Wi-Fi channel 7 overlaps with the external Wi-Fi channel, but this is related to the interference between the Wi-Fi channels and does not cause any problem in the present invention.

그리고나서, 상기 장치 또는 시스템은 다시 사용가능한 내장 지그비 채널을 탐색 또는 검색할 수 있다. 탐색 또는 검색 결과, 내장 지그비 채널 23, 24, 25 또는 26이 추가로 사용가능한 것으로 판단될 수 있다. 상기 장치 또는 시스템은 내장 지그비 채널을 23으로 선택하여 변경할 수 있다. 내장 지그비 채널을 변경한 상기 장치 또는 시스템은 외부의 Wi-Fi 간섭이 존재하는지를 검출할 수 있고, 도 4의 (d)에서 도시된 것처럼, 더이상 외부 Wi-Fi 간섭은 존재하지 않으므로 상기 장치 또는 시스템은 지그비 통신을 재개할 수 있다.
The device or system may then search for or retrieve an available built-in ZigBee channel. As a result of the search or search, it can be judged that the built-in ZigBee channel 23, 24, 25 or 26 is additionally usable. The device or system can be changed by selecting the built-in zigbee channel as 23. The device or system that changed the built-in ZigBee channel can detect if there is external Wi-Fi interference, and since there is no more external Wi-Fi interference, as shown in Figure 4 (d) ZigBee communication can be resumed.

도 5는 본 발명의 일 실시예에 따른 지그비와 와이파이 간의 간섭 또는 충돌을 회피 또는 예방할 수 있는 지그비 채널과 와이파이 채널을 동시에 사용하는 장치의 블록도를 도시한다. 상기 장치는 적어도 하나의 지그비 통신칩과 적어도 하나의 와이-파이(Wi-Fi) 통신칩을 구비하는 지그비 채널과 Wi-Fi 채널을 동시에 사용하는 장치일 수 있다. 상기 장치는 상기 장치가 사용하고 있는 내장 Wi-Fi 채널에 의한 내장 지그비 채널에 대한 간섭 여부를 검출하는 간섭판단부(510); 상기 장치가 사용 중인 모든 내장 Wi-Fi 채널 및 내장 지그비 채널 각각에 대한 정보를 읽어 들이고, 상기 정보로부터 상기 사용 중인 내장 Wi-Fi 채널 및 내장 지그비 채널의 주파수 점유 범위가 중첩되는지 여부를 검출하는 중첩검출부(520); 및 상기 검출의 결과에 따라, 상기 사용 중인 내장 Wi-Fi 채널 또는 내장 지그비 채널을 변경하는 채널변경부(530)를 포함할 수 있다. FIG. 5 illustrates a block diagram of an apparatus that simultaneously uses a ZigBee channel and a Wi-Fi channel to avoid or prevent interference or collision between a ZigBee and a Wi-Fi according to an embodiment of the present invention. The device may be a device that simultaneously uses a ZigBee channel and a Wi-Fi channel with at least one ZigBee communication chip and at least one Wi-Fi communication chip. The apparatus includes an interference determination unit (510) for detecting interference with the built-in Wi-Fi channel using the built-in Wi-Fi channel; Wherein the device reads information on each of the built-in Wi-Fi channels and the built-in zigbee channels being used by the device, and detects whether the frequency occupancy range of the built-in Wi-Fi channel and the built- A detection unit 520; And a channel changing unit 530 for changing the built-in Wi-Fi channel or the built-in ZigBee channel in accordance with a result of the detection.

간섭판단부(510)는 간섭 검출 알고리즘을 이용하여 사용 중인 지그비 통신 또는 채널 상에 간섭이 존재하는지를 결정할 수 있다. 간섭 검출 알고리즘은 ACK 응답을 확인하여 통신 에러를 검출할 수 있다. 간섭판단부(510)는 사용 중인 지그비 채널을 간섭하는 외부의 Wi-Fi 채널에 의한 간섭을 추가적으로 검출할 수 있다. 또한, 간섭판단부(520)는 사용 중인 내장 Wi-Fi 채널 및 내장 지그비 채널의 주파수 점유 범위가 중첩되어 내장 지그비 채널을 변경한 경우, 외부의 Wi-Fi 채널에 의해 변경된 내장 지그비 채널이 간섭받는지를 검출할 수 있다. The interference determining unit 510 can determine whether there is interference on the Zigbee communication or channel in use by using the interference detection algorithm. The interference detection algorithm can detect the communication error by checking the ACK response. The interference determination unit 510 can additionally detect interference caused by an external Wi-Fi channel that interferes with a zigbee channel in use. When the embedded frequency band of the built-in Wi-Fi channel and the built-in zigbee channel is overlapped with the built-in zigbee channel so that the built-in zigbee channel changed by the external Wi-Fi channel is interfered Can be detected.

중첩검출부(520)는 상기 장치 내에서 발생하는 주파수 간섭 또는 주파수 중첩을 검출할 수 있고, 특히 상기 장치의 내장 지그비 채널 및 내장 Wi-Fi 채널에 대한 주파수 중첩을 검출할 수 있다. 중첩검출부(520)는 내장 지그비 채널 또는 내장 Wi-Fi 채널에 대한 정보, 예컨대 각 채널별 중심주파수, 주파수 범위 등을 저장하고 있을 수 있다. 중첩검출부(520)는 이 정보를 이용하여 중첩 여부를 결정할 수 있다. The overlap detector 520 can detect frequency interference or frequency overlap occurring within the device, and in particular can detect frequency overlap for the device's built-in ZigBee channel and the built-in Wi-Fi channel. The overlap detection unit 520 may store information on the built-in zigbee channel or the built-in Wi-Fi channel, for example, a center frequency and a frequency range for each channel. The overlap detector 520 can determine whether to overlap using this information.

채널변경부(530)는 상기 장치의 내장 지그비 채널 및 내장 Wi-Fi 채널이 중첩되는 경우, 내장 지그비 채널 또는 내장 Wi-Fi 채널을 변경할 수 있다. 채널변경부(530)가 내장 지그비 채널을 변경할지, 또는 내장 Wi-Fi 채널을 변경할지 여부는 통신 환경에 따라 좌우될 수 있다. The channel changing unit 530 can change the built-in ZigBee channel or the built-in Wi-Fi channel when the built-in ZigBee channel and the built-in Wi-Fi channel of the device are overlapped. Whether the channel changing unit 530 changes the built-in ZigBee channel or changes the built-in Wi-Fi channel can be determined depending on the communication environment.

또한, 채널변경부(530)는 외부의 Wi-Fi 채널이 현재 사용 중인 내장 지그비 채널을 간섭하는 경우, 사용 중인 내장 지그비 채널을 외부의 Wi-Fi 채널 또는 사용 중인 내장 Wi-Fi 채널과 중첩하지 않는 다른 채널로 변경할 수 있다. 또한, 외부의 Wi-Fi 채널 또는 사용 중인 Wi-Fi 채널과 중첩하지 않는 지그비 채널이 더 이상 없는 경우, 채널변경부(530)는 사용 중인 내장 Wi-Fi 채널을 변경할 수 있다. 사용 중인 내장 Wi-Fi 채널 및 내장 지그비 채널의 주파수 점유 범위가 중첩되는 경우, 채널변경부(530)는 사용 중인 내장 Wi-Fi 채널을 우선적으로 변경할 수도 있다. In addition, when the external Wi-Fi channel interferes with the built-in zigbee channel currently being used, the channel changing unit 530 does not overlap the active built-in zigbee channel with the external Wi-Fi channel or the built-in Wi- You can change to a different channel. In addition, when there is no longer a ZigBee channel that does not overlap an external Wi-Fi channel or a Wi-Fi channel in use, the channel changing unit 530 can change the built-in Wi-Fi channel in use. When the frequency occupation range of the built-in Wi-Fi channel and the built-in zigbee channel in use is overlapped, the channel changing unit 530 may preferentially change the built-in Wi-Fi channel being used.

또한, 상기 장치는 상기 장치가 사용하고 있는 와이-파이 채널 또는 지그비 채널에 대한 정보를 저장하고 있는 채널정보저장부(540)를 더 포함할 수 있다. 채널정보저장부(540)는 또한 사용가능한 내장 지그비 채널 또는 내장 Wi-Fi 채널에 대한 정보를 저장할 수 있다. 채널정보저장부(540)는 내장 지그비 채널 변경 또는 내장 Wi-Fi 채널 변경을 수행한 경우 이러한 변경 이력을 저장하여 이미 한번 변경되었던 내장 지그비 채널 또는 내장 Wi-Fi 채널이 다시 사용되는 것을 방지할 수 있다. The apparatus may further include a channel information storage unit 540 that stores information about the Wi-Fi channel or the ZigBee channel used by the apparatus. The channel information storage unit 540 may also store information on an available built-in zigbee channel or built-in Wi-Fi channel. When the built-in zigbee channel is changed or the built-in Wi-Fi channel is changed, the channel information storage unit 540 stores the changed history to prevent the built-in zigbee channel or the built-in Wi-Fi channel, have.

도 6은 본 발명의 일 실시예에 따른 지그비와 Wi-Fi 간의 간섭 또는 충돌을 회피 또는 예방할 수 있는 방법을 도시한다. 상기 방법은 현재 사용 중인 지그비 채널에 대한 간섭 여부를 검출할 수 있다(S610). 현재 사용 중인 지그비 채널에 대한 간섭을 검출하면, 현재 사용 중인 모든 내장 Wi-Fi 채널 및 내장 지그비 채널에 대한 채널 정보를 획득하고, 이를 탐색할 수 있다(S620). 상기 채널 정보를 이용하여, 현재 사용 중인 내장 Wi-Fi 채널 및 내장 지그비 채널의 주파수 대역이 중첩하는지 여부를 검출할 수 있다(S630). 이러한 검출 결과에 따라, 내장 Wi-Fi 채널 또는 내장 지그비 채널을 변경할 수 있다(S640). FIG. 6 illustrates a method for avoiding or preventing interference or collision between ZigBee and Wi-Fi according to an embodiment of the present invention. The method may detect interference with a currently used zigbee channel (S610). Upon detecting the interference with the currently used ZigBee channel, channel information on all the built-in Wi-Fi channels and the built-in ZigBee channel currently being used can be acquired and searched (S620). In operation S630, whether or not the frequency bands of the built-in Wi-Fi channel and the built-in zigbee channel are overlapped can be detected using the channel information. In accordance with the detection result, the built-in Wi-Fi channel or the built-in ZigBee channel can be changed (S640).

현재 사용 중인 내장 Wi-Fi 채널 및 내장 지그비 채널의 주파수 대역이 중첩하면, 상기 방법은 내장 Wi-Fi 채널 또는 내장 지그비 채널을 변경할 수 있다. 내장 Wi-Fi 채널 또는 내장 지그비 채널을 변경하고 나서, 변경된 내장 지그비 채널에 대한 간섭 발생 여부를 검출할 수 있다. 특히, 외부에서 사용하고 있는 Wi-Fi 채널에 의한 내장 지그비 채널에 대한 간섭을 검출할 수 있다. 외부 Wi-Fi 채널에 의한 간섭이 발생하면, 상기 방법은 다시 다른 사용가능한 내장 지그비 채널을 탐색 또는 검색하고, 결과에 따라 내장 지그비 채널을 변경할 수 있다. 내장 지그비 채널 변경 작업을 외부 Wi-Fi 채널에 의한 간섭이 제거 또는 회피될 때까지 수행할 수 있다. When the frequency band of the built-in Wi-Fi channel and the built-in ZigBee channel in use overlap, the method can change the built-in Wi-Fi channel or the built-in ZigBee channel. After changing the built-in Wi-Fi channel or the built-in ZigBee channel, you can detect interference with the changed built-in ZigBee channel. In particular, it is possible to detect interference to the built-in zigbee channel by a Wi-Fi channel used externally. If interference is caused by an external Wi-Fi channel, the method may again search for or search for other available built-in ZigBee channels and change the built-in ZigBee channel accordingly. The built-in ZigBee channel change operation can be performed until interference by an external Wi-Fi channel is eliminated or avoided.

내장 Wi-Fi 채널 또는 내장 지그비 채널의 주파수 대역의 중첩 여부의 판정, 또는 사용가능한 내장 지그비 채널을 변경하는 경우에 상기 방법은 내장 Wi-Fi 채널 및 내장 지그비 채널의 채널 정보를 이용할 수 있다.
The method can utilize the channel information of the built-in Wi-Fi channel and the built-in ZigBee channel when determining whether to overlap the frequency band of the built-in Wi-Fi channel or the built-in ZigBee channel, or when changing the available built-in ZigBee channel.

본 발명의 실시예에 따른 Wi-Fi 채널 및 지그비 채널 간의 중첩을 회피하는 장치 또는 방법 등은, 앞서 언급한 것처럼, 가전 기기 네트워크 또는 전력 스마트 그리드 등에 이용될 수 있다. 도 7은 본 발명의 일 실시예에 따른 적용예를 도시한다.An apparatus or method for avoiding overlapping between a Wi-Fi channel and a ZigBee channel according to an embodiment of the present invention, as described above, can be used for a home appliance network or a power smart grid. Figure 7 shows an application according to an embodiment of the present invention.

도 7은 가정 내에서 사용될 수 있는 홈 네트워크의 일 예를 도시한다. 이 홈 네트워크는 전력 미터기와 서로 통신하며, Wi-Fi 채널과 지그비 채널간의 간섭 현상을 회피하도록 하는 서버(711); 지그비 통신칩(710-2, 710-3, 710-4)을 구비하고 있는 각각의 가전 기기(712, 713, 714); 및 이들의 전력 사용량을 계량하는 전력 미터기(715)로 구성될 수 있다. 서버(711) 및 전력 미터기(715)도 각각 지그비 통신칩(710-1, 710-5)을 구비하고 있다. Figure 7 shows an example of a home network that may be used in the home. The home network communicates with the power meter and includes a server 711 for avoiding interference between the Wi-Fi channel and the ZigBee channel; Each of the household appliances 712, 713, and 714 having the Zigbee communication chips 710-2, 710-3, and 710-4; And a power meter 715 for measuring the power consumption of these. The server 711 and the power meter 715 also have Zigbee communication chips 710-1 and 710-5, respectively.

서버(711)와 전력 미터기(715)는 주기적으로 가정 내 전력 사용량에 대한 데이터를 송수신할 수 있다. 서버(711)는 시간 별, 사용량 별 전력 요금 정보를 제공받을 수 있고, 실시간으로 가정 내 전력 사용량을 체크하여, 전력 사용량을 능동적으로 관리할 수 있다. 예컨대, 1시간 동안의 전력 사용량이, 과거 전력 사용량 패턴에 비하여 많이 사용하고 있는 경우에, 서버(711)는 각 가전 기기들로 전력 사용량을 감소시키기 위한 명령을 지그비 통신을 통해 전송할 수 있다. 냉장고(712)는 냉장/냉동 온도를 높힐 수 있고, 에어콘(AC, 714)은 풍량을 약하게 제어할 수 있고, TV(713)는 화면의 밝기를 제어할 수 있다. The server 711 and the power meter 715 can periodically transmit and receive data on the power consumption in the home. The server 711 can receive power charge information by time and usage amount, and can check the power consumption in the home in real time to actively manage the power consumption. For example, when the amount of power used for one hour is larger than the amount of used power patterns in the past, the server 711 may transmit a command for reducing the amount of power consumption to each of the home appliances through the zigbee communication. The refrigerator 712 can raise the refrigeration / freezing temperature, the air conditioner (AC) 714 can control the air volume lightly, and the TV 713 can control the brightness of the screen.

또한, 서버(711)는 Wi-Fi 통신칩(720)을 구비하여, 집 외부에 있는 사용자에게 이러한 전력 사용량/전력 요금 정보를 Wi-Fi를 통해 전송할 수 있다. 또한, 사용자는 외부에서 상기 서버(711)로 각 가전 기기를 제어하는 명령을 전송할 수 있다. In addition, the server 711 may include a Wi-Fi communication chip 720 to transmit the power consumption / power charge information to a user located outside the home via Wi-Fi. In addition, the user may transmit commands to control the respective home appliances from the outside to the server 711. [

한편, 이러한 네트워크에서 서버(711)는 Wi-Fi 통신 및 지그비 통신을 동시에 수행할 수 있기 때문에, 내장 Wi-Fi 채널 및 내장 지그비 채널 간의 중첩을 회피하기 위한 방법을 수행할 수 있다. 서버(711)는 지그비 통신이 원활하게 수행되는지 ACK/NACK 응답을 수행하여 확인할 수 있다. 만약, 지그비 통신이 타 채널 등에 의한 간섭으로 인한 송수신 장애가 발생하면, 서버(711)는 자신이 사용하고 있는 주파수 대역에 대한 검사를 먼저 수행할 수 있다. Meanwhile, in such a network, the server 711 can simultaneously perform Wi-Fi communication and ZigBee communication, and thus can perform a method for avoiding overlap between the built-in Wi-Fi channel and the built-in ZigBee channel. The server 711 can confirm whether the Zigbee communication is performed smoothly or by performing an ACK / NACK response. If a transmission / reception failure due to interference due to another channel or the like occurs in the Zigbee communication, the server 711 may first check the frequency band that it is using.

서버(711)는 현재 사용 중인 내장 Wi-Fi 채널 및 내장 지그비 채널에 대한 정보를 메모리 등에 저장해놓을 수 있고, 이 정보를 이용하여 내장 Wi-Fi 채널 및 내장 지그비 채널이 중첩하는지 여부를 판단할 수 있다. 다시 말하면, 내장 Wi-Fi 채널에 의해서 사용하고 있는 지그비 채널을 통한 통신이 간섭되는지를 확인할 수 있다. 내장 Wi-Fi 채널 및 내장 지그비 채널이 서로 중첩하면, 둘 중 하나의 채널을 변경할 수 있다. 서버(711)는 채널을 변경한 후, 지그비 통신을 재개할 수 있다. The server 711 can store information on the built-in Wi-Fi channel and the built-in ZigBee channel currently in use in a memory or the like, and can use this information to determine whether the built-in Wi-Fi channel and the built- have. In other words, it can be confirmed whether the communication through the ZigBee channel used by the built-in Wi-Fi channel is interfered with. If the built-in Wi-Fi channel and the built-in ZigBee channel overlap each other, you can change either channel. The server 711 can resume the Zigbee communication after changing the channel.

또한, 서버(711)는 지그비 통신을 재개하기 전에, 외부에서 사용하고 있는 Wi-Fi에 의한 간섭을 검출할 수 있다. 외부 Wi-Fi 채널에 의한 홈 네트워크 내의 지그비 채널에 대한 간섭은 홈 네트워크가 설치된 영역에서 Wi-Fi의 주파수 대역의 전파를 감지하여 판단할 수 있다. 외부 Wi-Fi에 의한 지그비 통신에 대한 간섭을 감지하면, 서버(711)는 다시 다른 사용가능한 지그비 채널로 채널 변경을 수행할 수 있고, 필요에 따라 내장 Wi-Fi 채널도 변경할 수 있다. In addition, the server 711 can detect the interference caused by the Wi-Fi used in the outside before resuming the Zigbee communication. Interference with the ZigBee channel in the home network by the external Wi-Fi channel can be detected by detecting the radio wave of the Wi-Fi frequency band in the area where the home network is installed. Upon detecting interference with ZigBee communication by external Wi-Fi, the server 711 can again perform channel change to another usable ZigBee channel and change the built-in Wi-Fi channel as needed.

본 명세서에는 본 발명의 실시예에 따른 내장 지그비 채널과 내장 Wi-Fi 채널 간의 간섭을 회피하기 위한 장치 또는 방법이 적용되는 예를 모두 예시하지는 않았다. 도 7에서 도시한, 홈 네트워크를 구축하여 스마트 그리드의 일 예뿐만 아니라, 대형 빌딩 에너지 관리 시스템, 상수도 관리 시스템, 홈 네트워크를 통한 개인의 헬스케어 시스템 등에도 적용될 수 있다.
The present specification does not exemplify all of the examples in which an apparatus or method for avoiding interference between the built-in ZigBee channel and the built-in Wi-Fi channel according to the embodiment of the present invention is applied. The home network shown in FIG. 7 can be constructed and applied to not only an example of a smart grid but also a large building energy management system, a water management system, and a personal healthcare system through a home network.

위에서 본 발명의 실시예들이 설명되었으며, 당해 기술 분야에 속한 통상의 지식을 가진 자는 이러한 실시예들은 발명을 한정하기 위한 것이 아니라 단지 예시적인 것임을 인식할 수 있고, 본 발명의 범위 또는 사상을 벗어나지 않고 변형, 수정 등이 가능함을 인식할 것이다.
Having described the embodiments of the present invention above, those of ordinary skill in the art will recognize that these embodiments are illustrative rather than limiting, and that various modifications, additions and substitutions are possible, without departing from the scope or spirit of the invention Variations, and modifications may be made without departing from the scope of the present invention.

510: 간섭판단부 520: 중첩검출부
530: 채널변경부 540: 채널정보저장부
711: 서버 712: 냉장고
713: TV 714: 에어콘
715: 전력 미터기
510: interference determination unit 520: superposition detection unit
530: Channel changing unit 540: Channel information storing unit
711: Server 712: Refrigerator
713: TV 714: Air conditioner
715: Power meter

Claims (7)

적어도 하나의 지그비(ZigBee) 통신칩과 적어도 하나의 와이파이(Wi-Fi) 통신칩을 구비하는 지그비 채널과 와이파이 채널을 동시에 사용하고, 상기 지그비 채널 및 와이파이 채널 간의 간섭을 회피하는 장치로서,
상기 장치가 사용하고 있는 와이파이 채널에 의한 지그비 채널에 대한 간섭 여부를 검출하는 간섭판단부;
상기 장치가 사용 중인 모든 와이파이 채널 및 지그비 채널 각각에 대한 정보를 읽어 들이고, 상기 정보로부터 상기 사용 중인 와이파이 채널 및 지그비 채널의 주파수 점유 범위가 중첩되는지 여부를 검출하는 중첩검출부;
상기 검출의 결과에 따라, 상기 사용 중인 와이파이 채널 또는 지그비 채널을 변경하는 채널변경부; 및
상기 장치가 사용하고 있는 와이파이 채널 또는 지그비 채널에 대한 정보를 저장하고 있는 채널정보저장부를 포함하며,
상기 채널변경부는 현재 사용 중인 와이파이 채널과 지그비 채널이 중첩되는 경우, 상기 현재 사용 중인 와이파이 채널의 점유범위에 속하지 않는 다른 지그비 채널을 선택하여 그 채널로 변경하며,
상기 채널정보저장부는 기존의 사용 가능한 지그비 채널의 수에서 1을 감산한 값을 '가용 지그비 채널 수' 변수로 저장하는, 지그비 채널 및 와이파이 채널 간의 간섭을 회피하는 장치.
A device for simultaneously using a ZigBee channel and a Wi-Fi channel having at least one ZigBee communication chip and at least one Wi-Fi communication chip, and avoiding interference between the ZigBee channel and the Wi-
An interference determination unit for detecting interference with a Zigbee channel by a Wi-Fi channel used by the apparatus;
An overlap detector for detecting information on each of the Wi-Fi channel and the ZigBee channel being used by the apparatus and detecting whether the frequency occupation range of the Wi-Fi channel and the ZigBee channel are overlapped with each other;
A channel changing unit for changing the Wi-Fi channel or the ZigBee channel in use according to a result of the detection; And
And a channel information storage unit for storing information on a Wi-Fi channel or a ZigBee channel used by the apparatus,
Wherein the channel change unit selects another ZigBee channel that does not belong to the occupied range of the WiFi channel currently being used and changes the channel to the ZigBee channel when the WiFi channel and the ZigBee channel overlap,
Wherein the channel information storage unit stores a value obtained by subtracting 1 from the number of existing usable ZigBee channels as an 'available ZigBee channel number' variable, thereby avoiding interference between the ZigBee channel and the Wi-Fi channel.
삭제delete 제1항에 있어서, 상기 간섭판단부는 상기 사용 중인 지그비 채널을 간섭하는 외부의 와이파이 채널을 추가적으로 검출하는, 지그비 채널 및 와이파이 채널 간의 간섭을 회피하는 장치.
The apparatus of claim 1, wherein the interference determination unit further detects an external Wi-Fi channel that interferes with the zigbee channel being used, wherein the interference determination unit interferes with the interference between the zigbee channel and the Wi-Fi channel.
제1항에 있어서,
상기 사용 중인 와이파이 채널 및 지그비 채널의 주파수 점유 범위가 중첩되어 상기 지그비 채널을 변경한 경우, 상기 간섭판단부는 외부의 와이파이 채널이 상기 변경된 지그비 채널을 간섭하는지를 추가로 검출하는, 지그비 채널 및 와이파이 채널 간의 간섭을 회피하는 장치.
The method according to claim 1,
Wherein the interference determination unit further detects whether an external Wi-Fi channel interferes with the changed ZigBee channel when the frequency occupation range of the Wi-Fi channel and the ZigBee channel being used overlap and the ZigBee channel is changed, Apparatus for avoiding interference.
제3항 또는 제4항에 있어서, 상기 외부의 와이파이 채널이 상기 사용 중인 지그비 채널을 간섭하는 경우, 상기 채널변경부는 상기 사용 중인 지그비 채널을 상기 외부의 와이파이 채널 또는 상기 사용 중인 와이파이 채널과 중첩하지 않는 다른 채널로 변경하는, 지그비 채널 및 와이파이 채널 간의 간섭을 회피하는 장치.
The method of claim 3 or 4, wherein, when the external Wi-Fi channel interferes with the active ZigBee channel, the channel changing unit overlaps the active ZigBee channel with the external Wi-Fi channel or the active Wi- A device that avoids interference between a ZigBee channel and a WiFi channel, changing to a different channel.
삭제delete 삭제delete
KR1020110070647A 2011-07-15 2011-07-15 Apparatus and method for avoiding interference between zigbee channel and wi-fi channel in a single device or a single system Expired - Fee Related KR101862392B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020110070647A KR101862392B1 (en) 2011-07-15 2011-07-15 Apparatus and method for avoiding interference between zigbee channel and wi-fi channel in a single device or a single system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020110070647A KR101862392B1 (en) 2011-07-15 2011-07-15 Apparatus and method for avoiding interference between zigbee channel and wi-fi channel in a single device or a single system

Publications (2)

Publication Number Publication Date
KR20130009489A KR20130009489A (en) 2013-01-23
KR101862392B1 true KR101862392B1 (en) 2018-07-04

Family

ID=47839266

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110070647A Expired - Fee Related KR101862392B1 (en) 2011-07-15 2011-07-15 Apparatus and method for avoiding interference between zigbee channel and wi-fi channel in a single device or a single system

Country Status (1)

Country Link
KR (1) KR101862392B1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160077992A (en) * 2014-12-24 2016-07-04 삼성전자주식회사 Method for controlling communication channel and electronic device supporting the same
KR101675735B1 (en) * 2015-11-03 2016-11-15 재단법인대구경북과학기술원 System for controlling guide busy tone singal for zigbee coexistence under wifi interference
KR101906222B1 (en) 2017-07-20 2018-10-10 어보브반도체 주식회사 Method for avoiding wi-fi interference using channel structure characteristics and bluetooth apparatus thereof
CN113301549B (en) * 2021-05-25 2025-06-27 腾讯科技(深圳)有限公司 Data transmission method, device and readable storage medium
CN115226219B (en) * 2022-02-22 2025-01-21 烽火通信科技股份有限公司 A method and system for enhancing the same-frequency anti-interference capability

Also Published As

Publication number Publication date
KR20130009489A (en) 2013-01-23

Similar Documents

Publication Publication Date Title
KR102466252B1 (en) Channel blind detection method, signal transmission method and related equipment
TWI461075B (en) Methods of optimizing scanning parameters for a plurality of channels in a wireless band
KR101862392B1 (en) Apparatus and method for avoiding interference between zigbee channel and wi-fi channel in a single device or a single system
US9049666B2 (en) Method and apparatus for providing machine-to-machine communication in a wireless network
WO2016023492A1 (en) Method to improve channel access opportunity in a wireless communications system
CN103582062A (en) Network connection control apparatus and method of mobile terminal
EP4017123B1 (en) Signal processing method and related device
JP7576627B2 (en) Method and device for random access in a wireless communication system - Patents.com
CN101409931A (en) Combined communications system, prohibiting-signal transmitting apparatus, wireless base station, and method
AU2013219865B2 (en) Wireless scan and advertisement in electronic devices background
US8576809B2 (en) Facilitating distributed channel access for a plurality of access terminals transmitting in a wireless communication environment
US9271252B2 (en) Communication terminal device, communication system, and method of controlling communication terminal device
JP6588481B2 (en) Wireless communication apparatus, method and program
KR102191366B1 (en) Handover method and apparatus of electronic deivce in a wireless communication system
WO2019192304A1 (en) Blind channel detection method, signal transmission method and related device
KR20170080636A (en) Control channel transmission method, device and communication system
CN107995686B (en) Wireless local area network channel allocation method, device and system
WO2014119284A1 (en) Communication terminal station for meter reading, and communication system for meter reading
EP3018969B1 (en) Communication terminal, communication method, and program
JP6089501B2 (en) Base station apparatus, radio communication system, and communication method
KR20150062442A (en) Data transmission system and method thereof
CN107241763A (en) Probe response method and device
KR20210075732A (en) Method and apparatus for detecting synchronization signal in wireless communication system
US11510245B2 (en) Thread boost mode for carrier-sense multiple access/carrier aggregation (CSMA/CA)
JP7481016B2 (en) Wireless communication terminal, wireless communication method and program

Legal Events

Date Code Title Description
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 20110715

PG1501 Laying open of application
A201 Request for examination
PA0201 Request for examination

Patent event code: PA02012R01D

Patent event date: 20160715

Comment text: Request for Examination of Application

Patent event code: PA02011R01I

Patent event date: 20110715

Comment text: Patent Application

E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

Comment text: Notification of reason for refusal

Patent event date: 20171030

Patent event code: PE09021S01D

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

Patent event code: PE07011S01D

Comment text: Decision to Grant Registration

Patent event date: 20180302

GRNT Written decision to grant
PR0701 Registration of establishment

Comment text: Registration of Establishment

Patent event date: 20180523

Patent event code: PR07011E01D

PR1002 Payment of registration fee

Payment date: 20180523

End annual number: 3

Start annual number: 1

PG1601 Publication of registration
PR1001 Payment of annual fee

Payment date: 20210414

Start annual number: 4

End annual number: 4

PC1903 Unpaid annual fee

Termination category: Default of registration fee

Termination date: 20230303