CN101567823B - Communication system using ZigBee and method for controlling same - Google Patents
Communication system using ZigBee and method for controlling same Download PDFInfo
- Publication number
- CN101567823B CN101567823B CN200810091267.0A CN200810091267A CN101567823B CN 101567823 B CN101567823 B CN 101567823B CN 200810091267 A CN200810091267 A CN 200810091267A CN 101567823 B CN101567823 B CN 101567823B
- Authority
- CN
- China
- Prior art keywords
- zigbee
- communication
- pan
- channel
- coordinator
- 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
Links
Images
Landscapes
- Selective Calling Equipment (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
提供一种使用ZigBee的通信系统和控制该系统的方法,所述通信系统协调通信终端,经由协调器发送和接收数据,并且当在家用电器和遥控器之间形成ZigBee通信网络时仅使用遥控器来执行设置通信终端的信道和个人局域网(PAN)标识(ID)的绑定操作。形成多个通信终端之间的通信网络的通信系统包括:布置在所述多个通信终端中的一个上的ZigBee协调器,协调通信终端,并且发送和接收数据;以及布置在所述多个通信终端中的另一个上的ZigBee装置,通过与ZigBee协调器通信来形成ZigBee通信网络,其中,在布置了ZigBee装置的通信终端上提供用于设置ZigBee协调器的信道和PAN ID的输入单元。
Provided is a communication system using ZigBee that coordinates communication terminals, transmits and receives data via a coordinator, and uses only a remote controller when a ZigBee communication network is formed between a home appliance and a remote controller, and a method of controlling the system To execute the binding operation of setting the channel of the communication terminal and the identification (ID) of the personal area network (PAN). A communication system forming a communication network between a plurality of communication terminals includes: a ZigBee coordinator arranged on one of the plurality of communication terminals, coordinating the communication terminals, and sending and receiving data; The ZigBee device on the other of the terminals forms a ZigBee communication network by communicating with the ZigBee coordinator, wherein an input unit for setting a channel and a PAN ID of the ZigBee coordinator is provided on the communication terminal on which the ZigBee device is arranged.
Description
技术领域 technical field
与本发明一致的系统和方法涉及ZigBee通信,更具体地说,涉及一种使用ZigBee的通信系统以及控制所述通信系统的方法,所述通信系统协调通信终端,经由协调器发送和接收数据,并且使用ZigBee无线通信网络来设置通信终端的信道和个人局域网(PAN)标识(ID)。Systems and methods consistent with the present invention relate to ZigBee communication, and more specifically, to a communication system using ZigBee and a method of controlling said communication system, said communication system coordinating communication terminals to send and receive data via a coordinator, And the ZigBee wireless communication network is used to set the communication terminal channel and personal area network (PAN) identification (ID).
背景技术 Background technique
为了方便用户,通常在家庭中使用的电器(诸如空调系统、电视(TV)等)可被配置为通过遥控器操作。为此,家用电器和遥控器组成了相互无线通信的通信网络。For user convenience, electrical appliances generally used in homes, such as air conditioning systems, televisions (TVs), and the like, may be configured to be operated by a remote controller. To this end, the home appliance and the remote control form a communication network that communicates wirelessly with each other.
为了形成这种无线通信网络,近来已经广泛使用功耗小且安装成本低的使用ZigBee的通信技术。In order to form such a wireless communication network, communication technology using ZigBee, which consumes less power and has low installation costs, has recently been widely used.
ZigBee是基于IEEE 802.15.4标准的低速率无线个人局域网(LR-WPAN)。与蓝牙技术相比,这种技术用于需要低数据率的应用。然而,ZigBee是适合家庭网络的无线通信技术,ZigBee是一年使用一个电池的低功率规范并且软件和相关组件被最小化,从而实现成本大约是蓝牙的一半。ZigBee is a low-rate wireless personal area network (LR-WPAN) based on the IEEE 802.15.4 standard. This technology is used for applications requiring low data rates compared to Bluetooth technology. However, ZigBee is a wireless communication technology suitable for home networks, ZigBee is a low-power specification that uses one battery a year and software and related components are minimized, so that the implementation cost is about half that of Bluetooth.
需要用于在家用电器和遥控器之间设置相同的信道和PAN的ID的绑定程序以形成使用ZigBee的通信网络。通常,已经采用了使用程序下载的绑定方法、根据定义的规则通过通信执行的自动绑定方法和通过使用安装在家用电器和遥控器中的拨码开关(dip switch)从外部执行的手动绑定方法。A binding procedure for setting the same channel and ID of the PAN between the home appliance and the remote controller is required to form a communication network using ZigBee. Generally, a binding method using program download, an automatic binding method performed through communication according to defined rules, and a manual binding method performed externally by using dip switches installed in home appliances and remote controllers have been employed. Determine the method.
然而,在使用程序下载的绑定方法中,不反映实际区域的环境,并且每当执行下载时必须改变程序设置。在使用外部拨码开关的方法中,用户必须要接近家用电器(例如,在空调系统的情况下安装在屋顶的装置)以改变程序设置。在根据定义的规则通过通信执行的方法中,当在当前通信网络附近形成另一通信网络时,存在网络与不期望的网络的重叠。However, in the binding method using program download, the environment of the actual area is not reflected, and the program setting must be changed every time the download is performed. In the method using external dip switches, the user has to approach the home appliance (eg, a roof-mounted unit in the case of an air conditioning system) to change the program settings. In the method performed by communication according to defined rules, when another communication network is formed near the current communication network, there is an overlap of the network with an undesired network.
发明内容 Contents of the invention
本发明提供一种使用ZigBee的通信系统以及控制所述系统的方法,当在家用电器和遥控器之间形成ZigBee通信网络时,通过仅使用遥控器来容易地执行设置信道和PAN ID的绑定操作。The present invention provides a communication system using ZigBee and a method of controlling the system, when a ZigBee communication network is formed between home appliances and remote controllers, binding of setting channels and PAN IDs can be easily performed by using only remote controllers operate.
根据本发明的一方面,提供一种形成多个通信终端之间的通信网络的通信系统,所述系统包括:布置在所述多个通信终端中的一个上的ZigBee协调器,协调通信终端,并且发送和接收数据;以及布置在所述多个通信终端中的另一个上的ZigBee装置,通过与ZigBee协调器通信来形成ZigBee通信网络,其中,在布置了ZigBee装置的通信终端上提供用于设置ZigBee协调器的信道和PAN ID的输入单元。According to one aspect of the present invention, there is provided a communication system forming a communication network between a plurality of communication terminals, the system comprising: a ZigBee coordinator arranged on one of the plurality of communication terminals, coordinating communication terminals, and transmit and receive data; and a ZigBee device arranged on another one of the plurality of communication terminals forms a ZigBee communication network by communicating with a ZigBee coordinator, wherein the communication terminal on which the ZigBee device is arranged is provided for Set the channel of the ZigBee coordinator and the input unit of the PAN ID.
所述多个通信终端中的一个可以是家用电器,所述多个通信终端中的另一个可以是遥控器。One of the plurality of communication terminals may be a home appliance, and the other of the plurality of communication terminals may be a remote controller.
可在遥控器上提供用于处理具有与ZigBee格式不同的格式的IEEE802.15.4数据的安装模块。An installation module for processing IEEE802.15.4 data having a format different from the ZigBee format may be provided on the remote controller.
根据本发明的另一方面,提供一种用于控制形成多个通信终端之间的通信网络的通信系统的方法,所述方法包括:通过布置在所述多个通信终端中的一个上的安装模块,以ZigBee数据的格式或以与ZigBee数据的格式不同的格式请求IEEE地址;响应于所述IEEE地址请求,设置布置在所述多个通信终端中的另一个上的ZigBee协调器的IEEE地址;通过设置的IEEE地址发送信道和PAN ID设置消息;响应于发送的信道和PAN ID设置消息,设置ZigBee装置的信道和PAN ID。According to another aspect of the present invention, there is provided a method for controlling a communication system forming a communication network among a plurality of communication terminals, the method comprising: through an installation arranged on one of the plurality of communication terminals A module for requesting an IEEE address in the format of ZigBee data or in a format different from the format of ZigBee data; in response to the IEEE address request, setting the IEEE address of the ZigBee coordinator arranged on another of the plurality of communication terminals ; Send a channel and a PAN ID setting message through the set IEEE address; set the channel and the PAN ID of the ZigBee device in response to the sent channel and PAN ID setting message.
根据本发明的另一方面,提供一种记录有用于执行所述方法的程序的计算机可读记录介质。According to another aspect of the present invention, there is provided a computer-readable recording medium recording a program for executing the method.
附图说明 Description of drawings
通过下面参照附图对本发明的示例性实施例进行的详细描述,本发明的上述和其它方面将会变得更加明显,其中:The above and other aspects of the invention will become more apparent from the following detailed description of exemplary embodiments of the invention with reference to the accompanying drawings, in which:
图1示出根据本发明的示例性实施例的使用ZigBee通信网络的包括家用电器和遥控器的系统的配置;以及1 shows the configuration of a system including a home appliance and a remote controller using a ZigBee communication network according to an exemplary embodiment of the present invention; and
图2A和图2B是示出根据本发明的示例性实施例的在使用ZigBee的通信网络中设置信道和PAN ID的控制操作的流程图。2A and 2B are flowcharts illustrating a control operation of setting a channel and a PAN ID in a communication network using ZigBee according to an exemplary embodiment of the present invention.
具体实施方式 Detailed ways
现将参照示出本发明的示例性实施例的附图更加全面地描述本发明。The present invention will now be described more fully with reference to the accompanying drawings, in which exemplary embodiments of the invention are shown.
图1示出根据本发明的示例性实施例的使用ZigBee通信网络的包括家用电器和遥控器的系统的配置。参照图1,所述系统包括:家用电器10(例如,在空调系统的情况下多个内部装置中的任何一个)和遥控器20,遥控器20使用ZigBee无线通信网络将用户期望的操作指令发送到家用电器10。FIG. 1 shows a configuration of a system including a home appliance and a remote controller using a ZigBee communication network according to an exemplary embodiment of the present invention. Referring to FIG. 1 , the system includes: a home appliance 10 (for example, any one of a plurality of internal devices in the case of an air-conditioning system) and a
家用电器10是包括控制器12和ZigBee协调器模块14的通信终端,控制器12控制家用电器10的全部操作。ZigBee协调器模块14发送和接收数据,并且协调家用电器10和遥控器20。The
如果遥控器20发送数据,则ZigBee协调器14确定发送的数据是否是ZigBee格式。如果ZigBee协调器14确定发送的数据是ZigBee格式,则ZigBee协调器14通过使用用于处理ZigBee格式数据的模块准备与遥控器20形成网络。如果ZigBee协调器14确定发送的数据不是基于IEEE 802.15.4标准的ZigBee格式,则ZigBee协调器14通过将数据发送到用于处理除了ZigBee格式之外的格式的数据的另一模块准备与遥控器20形成网络。If the
遥控器20是包括控制器22、ZigBee端装置模块24(以下称为ZigBee装置)、输入单元26和安装模块28的通信终端,控制器22控制遥控器20的全部操作,ZigBee装置24通过ZigBee无线通信将数据发送到家用电器10和从家用电器10接收数据,输入单元26输入用于在IEEE 802.15.4标准的物理/媒体访问控制(PHY/MAC)层执行的设置ZigBee协调器14的信道和PANID的安装信号,当安装信号通过输入单元26被输入并且包括具有根据IEEE802.15.4标准的非ZigBee格式的数据时,安装模块28处理具有与ZigBee格式不同的格式的数据。
以下,将描述具有上述结构的使用ZigBee的通信系统和控制所述系统的方法的操作和效果。Hereinafter, the operation and effect of the communication system using ZigBee having the above structure and the method of controlling the system will be described.
图2A和图2B是示出根据本发明的示例性实施例的在使用ZigBee的通信网络中设置信道和PAN ID的控制操作的流程图。2A and 2B are flowcharts illustrating a control operation of setting a channel and a PAN ID in a communication network using ZigBee according to an exemplary embodiment of the present invention.
首先,如果遥控器20响应于用户的操作指令发送数据(操作S100),则家用电器10的ZigBee协调器14确定发送的数据是否是ZigBee格式(操作S102)。如果ZigBee协调器14确定发送的数据不是基于IEEE 802.15.4标准的ZigBee格式,则ZigBee协调器14处理具有与ZigBee格式不同的格式的数据,并且从遥控器20的安装模块28接收与网络形成相关的数据,以准备网络形成(操作S104)。First, if the
如果ZigBee协调器14确定发送的数据是ZigBee格式,则使用处理具有ZigBee格式的数据的模块来准备ZigBee无线通信网络的形成(操作S106)。If the ZigBee
其结果是,ZigBee协调器14可使用具有ZigBee格式或非ZigBee格式的数据基于IEEE 802.15.4标准形成网络。As a result, the ZigBee
ZigBee装置24不能确定ZigBee协调器14的IEEE地址或信道,而且不能执行通信,因此以ZigBee格式或非ZigBee格式发送IEEE地址请求消息(操作S108)。The ZigBee
ZigBee装置24确定已经接收IEEE地址请求消息的ZigBee协调器14是否已经发送IEEE地址响应消息(操作S110)。如果ZigBee装置24确定ZigBee协调器14没有发送IEEE地址响应消息,则ZigBee装置24在改变ZigBee协调器14的信道的同时继续将IEEE地址请求消息发送到ZigBee协调器14。The ZigBee
如果ZigBee装置24确定ZigBee协调器14已经发送IEEE地址响应消息,则信道(即,ZigBee协调器14的信道)被设置为用于当前通信网络的信道,并且包括在IEEE地址响应消息中的ZigBee协调器14的IEEE地址被设置为IEEE地址。其后,通过使用信道和IEEE地址可以进行与ZigBee协调器14的通信(操作S112)。If the ZigBee
为了形成ZigBee通信网络,还需要PAN ID以及信道。因此,ZigBee协调器14必须设置ZigBee装置24的PAN ID。为此,ZigBee装置24通过IEEE地址将PAN ID设置消息发送到ZigBee协调器14(操作S114)。In order to form a ZigBee communication network, PAN ID and channel are also required. Therefore, the ZigBee
在设置PAN ID之后,ZigBee协调器14根据PAN ID设置消息将PAN ID设置响应消息发送到ZigBee装置24(操作S116)。ZigBee装置24接收PANID设置响应消息(操作S116),并且根据包括在PAN ID设置响应消息中的PAN ID设置它自己的PAN ID(操作S118)。After setting the PAN ID, the ZigBee
另外,如果通过ZigBee协调器14的IEEE地址将信道设置消息发送到ZigBee协调器14(操作S120),则ZigBee协调器14接收信道设置消息,改变信道,并且将信道设置响应消息发送到ZigBee装置24(操作S122)。ZigBee协调器14通过先前的信道发送信道设置响应消息,并且改变它自己的信道(操作S124)。In addition, if the channel setting message is sent to the ZigBee
如上所述,按照根据本发明的使用ZigBee的通信系统以及控制所述系统的方法,由于当在家用电器和遥控器之间形成ZigBee通信网络时仅使用遥控器设置信道和PAN ID,因此可以防止多余的信道和PAN ID,并不需要附加硬件或软件来设置或改变信道或PAN ID。As described above, according to the communication system using ZigBee and the method of controlling the system according to the present invention, since only the remote controller is used to set the channel and PAN ID when the ZigBee communication network is formed between the home appliance and the remote controller, it is possible to prevent Redundant channel and PAN ID, no additional hardware or software is required to set or change channel or PAN ID.
尽管已经参照本发明的示例性实施例具体显示并描述了本发明,但是本领域的普通技术人员将理解,在不脱离权利要求限定的本发明的精神和范围的情况下,可以对其进行形式和细节的各种改变。While the invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those skilled in the art that modifications may be made thereto without departing from the spirit and scope of the invention as defined by the claims. and various changes in details.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810091267.0A CN101567823B (en) | 2008-04-23 | 2008-04-23 | Communication system using ZigBee and method for controlling same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810091267.0A CN101567823B (en) | 2008-04-23 | 2008-04-23 | Communication system using ZigBee and method for controlling same |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101567823A CN101567823A (en) | 2009-10-28 |
CN101567823B true CN101567823B (en) | 2014-01-22 |
Family
ID=41283785
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810091267.0A Expired - Fee Related CN101567823B (en) | 2008-04-23 | 2008-04-23 | Communication system using ZigBee and method for controlling same |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101567823B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106549977A (en) * | 2016-12-09 | 2017-03-29 | 北京小米移动软件有限公司 | A kind of binding relationship methods, devices and systems for setting up account and equipment |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102437903B (en) * | 2011-08-03 | 2014-03-05 | 杭州电子科技大学 | A multi-node coordinated communication method suitable for intelligent vehicles |
CN103312526B (en) * | 2012-03-07 | 2016-12-14 | 施耐德电气东南亚(总部)有限公司 | A kind of binding matching method, control system and equipment |
CN104714413A (en) * | 2015-03-17 | 2015-06-17 | 郑波 | Intelligent home system based on ZigBee technique |
CN104703250A (en) * | 2015-03-23 | 2015-06-10 | 上海海莱威无线通信技术有限公司 | Method for configuring PANID (personal area network identifier) on ZigBee terminal |
CN106292312B (en) * | 2015-06-10 | 2018-12-18 | 美的集团股份有限公司 | The control method and equipment of ZigBee pairing grouping |
CN105957323A (en) * | 2016-05-24 | 2016-09-21 | 上海玮舟微电子科技有限公司 | Remote control method, remote control device and remote control unit |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1728668A (en) * | 2004-07-26 | 2006-02-01 | 三星电子株式会社 | Based on the location tracking method in the wireless network of telegon |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8090807B2 (en) * | 2006-01-23 | 2012-01-03 | Lg Electronics Inc. | Home code setting method for home network system |
US20070211681A1 (en) * | 2006-03-09 | 2007-09-13 | Spinwave Systems, Inc. | Method and System for Frequency Agility in a Wireless Sensor Network |
US8149849B2 (en) * | 2006-08-31 | 2012-04-03 | Sony Ericsson Mobile Communications Ab | Zigbee/IP gateway |
-
2008
- 2008-04-23 CN CN200810091267.0A patent/CN101567823B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1728668A (en) * | 2004-07-26 | 2006-02-01 | 三星电子株式会社 | Based on the location tracking method in the wireless network of telegon |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106549977A (en) * | 2016-12-09 | 2017-03-29 | 北京小米移动软件有限公司 | A kind of binding relationship methods, devices and systems for setting up account and equipment |
CN106549977B (en) * | 2016-12-09 | 2019-08-30 | 北京小米移动软件有限公司 | A method, device and system for establishing a binding relationship between an account and a device |
Also Published As
Publication number | Publication date |
---|---|
CN101567823A (en) | 2009-10-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7826395B2 (en) | Communication system using zigbee and method of controlling the same | |
US11521482B2 (en) | Network access coordination of load control devices | |
CN101567823B (en) | Communication system using ZigBee and method for controlling same | |
US10691083B2 (en) | Thermostat system for remote reading, setting, and control of devices | |
TWI488463B (en) | Gateway, smart home system and smart control method of home appliance thereof | |
CN102132592B (en) | Commissioning a network system | |
CN107566229A (en) | The packet control process of intelligent domestic system | |
CN104898449A (en) | Smart home system and control method thereof | |
KR20150073057A (en) | Method and apparatus of communication for smart home devices | |
CN106909081B (en) | Household electrical appliance and expansion platform based on same | |
CN103493558B (en) | Channel switching method in medical body area network | |
KR20080023465A (en) | Wireless gateway device on home network and operation method thereof | |
JP2012129916A (en) | Communication device | |
WO2016192183A1 (en) | Communication method for wi-fi internet of things equipment and wi-fi internet of things system | |
KR101797032B1 (en) | Wireless router device with IoT gateway function | |
US20170094035A1 (en) | Management method and management device | |
CN104879894A (en) | Remote air conditioner control method, device and system | |
KR101479659B1 (en) | Method for individual and group controlling for multitap based on wireless communication and individual multitap and multitap group controlled based on wireless communication | |
KR100873905B1 (en) | Communication system using Zigbee and its control method | |
KR20210047075A (en) | User device control method and control system thereof | |
CN106330638A (en) | A method for controlling home appliances through home control bus and bluetooth radio | |
CN112435457B (en) | Control system based on remote controller | |
CN106851788B (en) | Wireless communication system based on CC2530 chip | |
JP2017011773A (en) | Communication adapter, communication method and program | |
US20150070141A1 (en) | Wireless control system and method of setting the control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140122 Termination date: 20200423 |