[go: up one dir, main page]

CN106406176B - Hotel guest room Zigbee network control system - Google Patents

Hotel guest room Zigbee network control system Download PDF

Info

Publication number
CN106406176B
CN106406176B CN201610894260.7A CN201610894260A CN106406176B CN 106406176 B CN106406176 B CN 106406176B CN 201610894260 A CN201610894260 A CN 201610894260A CN 106406176 B CN106406176 B CN 106406176B
Authority
CN
China
Prior art keywords
zigbee
switch
unit
curtain
zigbee network
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
CN201610894260.7A
Other languages
Chinese (zh)
Other versions
CN106406176A (en
Inventor
凌云
汤彩珍
周维龙
黄文威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Harbin Lingdan Hongyun Technology Co ltd
Original Assignee
Hunan University of Technology
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 Hunan University of Technology filed Critical Hunan University of Technology
Priority to CN201610894260.7A priority Critical patent/CN106406176B/en
Publication of CN106406176A publication Critical patent/CN106406176A/en
Application granted granted Critical
Publication of CN106406176B publication Critical patent/CN106406176B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24024Safety, surveillance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)

Abstract

一种酒店客房Zigbee网络控制系统,包括有多个分布单元。所述分布单元具有ZigBee模块,用于与其他分布单元进行通信。所述多个分布单元包括触摸开关单元,还可以包括窗帘控制单元、中继通信单元等其他功能的分布单元,所有分布单元通过ZigBee网络自行组成控制系统,灵活方便。多个触摸开关单元中的电器开关可以进行任意配置实现两地控制或者多地控制,联锁配置可以在任何时候取消,或者进行重新配置。多个窗帘控制单元中的窗帘控制器可以进行任意配置实现两地控制或者多地控制,联锁配置可以在任何时候取消,或者进行重新配置。各分布单元能够采用86底壳结构进行安装;具有成本低,安装调试方便的优势。

Figure 201610894260

A Zigbee network control system for hotel rooms includes a plurality of distribution units. The distribution unit has a ZigBee module for communicating with other distribution units. The plurality of distribution units include touch switch units, and may also include distribution units with other functions such as curtain control units, relay communication units, etc. All distribution units form a control system by themselves through the ZigBee network, which is flexible and convenient. The electrical switches in the multiple touch switch units can be arbitrarily configured to achieve two-site control or multiple-site control, and the interlock configuration can be canceled or reconfigured at any time. The curtain controllers in multiple curtain control units can be arbitrarily configured to achieve two-site control or multiple-site control, and the interlock configuration can be canceled or reconfigured at any time. Each distribution unit can be installed using the 86 bottom shell structure; it has the advantages of low cost and convenient installation and debugging.

Figure 201610894260

Description

Hotel guest room Zigbee network control system
Technical Field
The invention relates to a hotel room control system, in particular to a Zigbee network control system for hotel rooms.
Background
The existing hotel room or intelligent home control system generally adopts a centralized control mode, namely the whole control system comprises a centralized control box, peripheral modules such as a switch operation panel and a curtain controller, the centralized control box is communicated with the peripheral modules through control signal lines or communication buses, and related control is completed by the centralized control box and is realized through the peripheral modules. The centralized control system has high cost and is inconvenient to install; in addition, once a problem occurs in the centralized control box, the whole system is completely paralyzed.
Disclosure of Invention
In order to solve the technical problems of the existing hotel room control system, the invention provides a Zigbee network control system for hotel rooms, which comprises N distribution units; and N is more than or equal to 2.
The Zigbee network control system for hotel rooms does not need a control host. The N distribution units comprise ZigBee modules, each distribution unit is 1 ZigBee node, and the N distribution units have N ZigBee nodes in total; and the N distribution units are communicated through a ZigBee network.
And 1 of the ZigBee nodes of the ZigBee network is a ZigBee coordinator, and the other nodes are ZigBee terminal nodes or ZigBee routing nodes.
The N distribution units at least comprise 2 touch switch units; the touch switch unit comprises S switch input modules and S switch driving modules; s is greater than or equal to 1; the input end of the switch input module is a capacitance touch input end. The touch switch unit can work independently when not forming a network with other distribution units.
The touch switch unit comprises S electric switches; the S switch input modules and the S switch driving modules are included in S electrical switches; the S switch input modules are in one-to-one pairing with the S switch driving modules and in one-to-one correspondence with the S electrical switches.
In a touch switch unit in the Zigbee network control system of the hotel guest room, a plurality of electric switches can be randomly selected to form a switch group, and the electric switches in the switch group are configured to be in an interlocking state; the interlocking control can be realized among the electric switches configured in the interlocking state, the unified action can be realized, namely, the two-place control and the multi-place control can be realized, and the one-place control and the two-place or multi-place simultaneous action can also be realized. The method for configuring the plurality of electric switches in the switch group to be in the interlocking state is to number all the electric switches, and all the electric switches with the same number in the same Zigbee network are in the interlocking state. Operating one electric appliance switch in the switch group, converting the control information into data by the touch switch unit where the operated switch is located, and sending the data to the Zigbee network, and controlling the related electric appliance switches by the touch switch units where other electric appliance switches in the switch group are located according to the received control information to realize synchronization; when a distribution unit transmits data, only the relevant information of the distribution unit is transmitted, and the transmitted information is irrelevant to other distribution units.
The touch switch unit also comprises a switch microcontroller module; and the ZigBee module, the S switch input modules, the S switch driving modules and the switch microcontroller module are all in electric connection or with photoelectric isolation for transmitting information.
The N ZigBee nodes transmit information in a broadcasting mode; and the distribution unit sends the information of the distribution unit to all other distribution units. And the distribution unit sends the information of the distribution unit to all other distribution units in an event-driven mode.
At least 1 ZigBee node in the N ZigBee nodes is a full-function node and has the capability of a ZigBee coordinator.
The ZigBee coordinator selects a fixed network identifier when establishing a ZigBee network; and the ZigBee terminal node or the ZigBee routing node selects a corresponding fixed network identifier to join the ZigBee network.
In the N distribution units, 1 unit is a coordinator unit; and the ZigBee node in the coordinator unit is a ZigBee coordinator.
The invention has the beneficial effects that: the Zigbee network control system of the hotel guest room does not need a main controller, and can select a proper number of touch switch units, curtain control units and other distribution units to form a Zigbee network according to the requirement; the electric switches in the touch switch units can be combined randomly to realize interlocking control, and the switches configured in an interlocking state can realize interlocking control and unified action, namely two-place control and multi-place control are realized, and one-place control and two-place or multi-place simultaneous action are realized; the interlocking configuration of the electric switch can be reconfigured or reconfigured at any time; the curtain controllers in the plurality of curtain control units can be combined randomly to realize interlocking control, and the curtain controllers configured in an interlocking state can realize interlocking control and unified action, namely two-place control and multi-place control are realized, and one-place control and two-place or multi-place simultaneous action are realized; the interlocked configuration of the shade controller may be reconfigured or reconfigured at any time; each distribution unit can be installed by adopting an 86-bottom shell structure; the method has the advantages of low cost and convenience in installation and debugging.
Drawings
Fig. 1 is a structure diagram of a Zigbee network control system in a hotel room 1;
fig. 2 is a structure diagram of a Zigbee network control system in an embodiment 2 of a hotel room;
FIG. 3 is a block diagram of an embodiment of a touch switch unit;
FIG. 4 is a circuit of an embodiment of a touch switch unit including 2 switches;
FIG. 5 is a block diagram of an embodiment of a coordinator unit;
FIG. 6 is a block diagram of an embodiment of a shade control unit;
FIG. 7 is a block diagram of an embodiment of a communication relay unit;
FIG. 8 is a structural diagram of an embodiment of a power-taking switch unit.
Detailed Description
The invention is further described below with reference to the accompanying drawings.
As shown in fig. 1, a diagram of an embodiment 1 of a Zigbee network control system for hotel rooms includes 3 distribution units, where the 3 distribution units are all touch switch units, and are respectively a touch switch unit 110, a touch switch unit 112, and a touch switch unit 113.
The 3 distribution units shown in fig. 1 all have ZigBee modules, which are ZigBee nodes. The 3 distributed units communicate with each other via the ZigBee network 100.
In 3 ZigBee nodes of the ZigBee network shown in fig. 1, 1 is a ZigBee coordinator, and the other 2 nodes are all ZigBee terminal nodes, or all ZigBee routing nodes, or 1 is a ZigBee terminal node, and 1 is a ZigBee routing node.
There are only 3 distribution units in fig. 1. When the Zigbee network control system of the hotel guest room needs to be added with the distribution units, the added distribution units are provided with the ZigBee modules and are ZigBee nodes.
All 3 ZigBee nodes of the ZigBee network shown in FIG. 1 are touch switch units, but some of the touch switch units are ZigBee coordinators, and the other nodes are ZigBee routing nodes or ZigBee terminal nodes.
Fig. 2 shows a structure diagram of an embodiment 2 of a Zigbee network control system for hotel rooms, which includes 4 distribution units, where 1 is a coordinator unit 101, and the other 3 are touch switch units, which are a touch switch unit 102, a touch switch unit 103, and a touch switch unit 104, respectively.
The 4 distribution units shown in fig. 2 all have ZigBee modules, which are ZigBee nodes. The 4 distributed units communicate with each other via a ZigBee network 106.
In the 4 distribution units shown in fig. 2, the coordinator unit 101 is a ZigBee coordinator, and 3 touch switch units are all ZigBee terminal nodes, or all ZigBee routing nodes, or part ZigBee terminal nodes, and part ZigBee routing nodes.
There are only 4 distribution units in fig. 2. When the Zigbee network control system of the hotel guest room needs to be added with the distribution units, the added distribution units are provided with ZigBee modules which are ZigBee routing nodes or ZigBee terminal nodes.
The coordinator unit 101 in fig. 2 has only the function of the ZigBee coordinator. In different application scenarios of the Zigbee network control system in hotel rooms, the Zigbee coordinator function of the coordinator unit 10 in fig. 2 may be implemented in a distribution unit of other functions. For example, in the system shown in fig. 1, the ZigBee coordinator is implemented by one of 3 touch switch units; in hotel room control occasions, the ZigBee coordinator function can be realized by a power-taking switch unit or a communication relay unit; the control of the door lock can be realized by a door lock control unit; and so on.
The Zigbee network control system of the hotel guest room is provided with a plurality of distribution units, namely a plurality of ZigBee nodes; in all the ZigBee nodes in the system, 1 is a ZigBee coordinator, and the rest are all ZigBee terminal nodes, or all ZigBee routing nodes, or part of the ZigBee terminal nodes and part of the ZigBee routing nodes. At least 1 ZigBee node in all ZigBee nodes is an FFD node, namely a full-function node, and has the capability of a ZigBee coordinator.
When other ZigBee networks exist in the vicinity of the ZigBee network, for example, the ZigBee network is used for hotel room control, 1 ZigBee network control system for hotel rooms is provided in each room in the adjacent rooms, or 1 ZigBee network is provided in each room. When each ZigBee network is networked, in order to avoid the addition of the distribution units in other ZigBee networks, or the addition of the distribution units in the ZigBee networks in other ZigBee networks, a method of designating network identifiers can be adopted. The ZigBee coordinator selects a designated network identifier when establishing a ZigBee network; and selecting corresponding designated network identifiers to join the ZigBee network by the same hotel room Zigbee network control system, or the ZigBee terminal nodes or the ZigBee routing nodes in the same ZigBee network. And a time-sharing and batch networking method can be adopted to avoid wrong networking. The networking enabling state of the ZigBee coordinator can be set, namely the ZigBee coordinator does not allow the ZigBee terminal nodes or the ZigBee routing nodes to be added into the network under the normal condition, and the ZigBee coordinator is started for a period of time only under the condition that the networking enabling of the ZigBee coordinator is enabled, so that the ZigBee routing nodes or the ZigBee terminal nodes are added into the network. The opening time is no more than 5 minutes, and the typical time is 1 minute.
In the embodiment of the Zigbee network control system for hotel rooms shown in fig. 1 or fig. 2, only 3 touch switch units are included. The number of the touch switch units in the Zigbee network control system of the hotel guest room can be increased or reduced according to actual needs. Generally, the touch switch unit may need to control house lamps, bedside lamps, night lamps, table lamps, floor lamps, bathroom lamps, mirror lamps, spot lamps, down lamps, wall lamps, and the like, as well as other lamps; it may be desirable to control televisions, ventilators, and other electrical equipment; there may be a need to control do not disturb, request service, request clean-up, request later, and other request states; it may be necessary to control setting of sleep mode, guest-meeting mode, reading mode, and other contextual modes; and so on. Therefore, the total number of switches needs to be increased, and the number of touch switch units is generally more than 3; especially, when a plurality of devices need to realize two-place or multi-place control, more touch switch units are needed. In the same ZigBee network, the total number of the switches can exceed 256, and no upper limit is provided.
Fig. 3 is a structural diagram of an embodiment of a touch switch unit, and includes a switch microcontroller module 301, a ZigBee module 302, a switch 1 input module 303, a switch 2 input module 304, a switch 1 driving module 305, a switch 2 driving module 306, and an on-off indication module 307. The ZigBee module 302, the switch 1 input module 303, the switch 2 input module 304, the switch 1 drive module 305, the switch 2 drive module 306, the on-off indication module 307, and the switch microcontroller module 301 have an electrical connection relationship or an electrical connection relationship with photoelectric isolation, and are used for transmitting related signals.
The touch switch unit communicates with other distribution units through the ZigBee network via the ZigBee module 302, and functions to transmit data to the other distribution units and receive data of the other distribution units.
The role of the switching microcontroller module 301 includes: analyzing the data received by the ZigBee module 302, realizing the synchronous control of the switch driving module 304 of the touch switch unit, realizing the contextual model control and the like; the control operation and the state of the touch switch unit are formed into data and are sent out through the ZigBee module 302; judging and identifying the states and operations of the switch 1 input module 303 and the switch 2 input module 304; controlling the states of the switch 1 driving module 305 and the switch 1 driving module 306; controls the indication state of the on-off indication module 307.
The touch switch unit includes 1 or more switch input modules corresponding to 1 or more electrical switch devices, that is, so-called electrical switches or switches. In the embodiment of the touch switch unit shown in fig. 2, there are 2 switch input modules, namely, a switch 1 input module 303 and a switch 2 input module 304. In the same hotel room Zigbee network control system, the switch number of different touch switch units can be selected at will. The Zigbee network control system for hotel rooms is provided with K touch switch units, the switch number of each touch switch unit is determined according to the requirement, and the switch numbers can be the same or different; in K touch switch units, the switch number of each touch switch unit is more than or equal to 1; among the K touch switch units, there may be a plurality of 1-open switches, a plurality of 2-open switches, a plurality of 3-open switches, a plurality of 4-open switches, a plurality of 5-open switches, and other numbers of multi-open switches, respectively, and so on.
The function of each touch switch of the switch input module can be set to be switched on and off after one touch point is set for touch, or set to be switched on and off respectively by two touch points.
The touch switch unit comprises 1 or more switch driving modules, and in the same touch switch unit, the number of the switch driving modules is equal to that of the switch input modules, and the switch driving modules correspond to the switch input modules one to form the electric appliance switch devices with the same number. In the embodiment of the touch switch unit shown in fig. 3, there are 2 switch driving modules including a switch 1 driving module 305 and a switch 2 driving module 306. The switch driving module can be composed of an electromagnetic relay, or a solid-state relay, or a thyristor, and their driving circuits. The meaning of electrical switching device is here the same as that of the switch in general; for example, if one touch switch unit includes 2 electrical appliance switch devices, it indicates that the touch switch unit includes 2 switches, and the control of 2 electrical appliances can be respectively realized.
The on-off indication module 307 is used for indicating the on-off state of the switch driving module. The on-off indication module 307 does not need to be configured, and if the on-off indication module 307 is arranged, the on-off state of the controlled electric appliance can be observed on a panel of the touch switch unit; if there is no indication from the on-off indication module 307, the on-off state of the controlled electrical appliance needs to be judged directly by observing the operation condition of the controlled electrical appliance.
Fig. 4 shows a circuit of an embodiment of a touch switch unit including 2 switches. The control core of the switch microcontroller module adopts a single chip microcomputer, and in fig. 4, a circuit required by a minimum system of the single chip microcomputer is omitted and not shown. The switch input module is characterized in that a touch switch adopts a double-key capacitance touch sensing switch chip ASC0104-2, 2 touch input ends TP0 and TP1 of the ASC0104-2 are respectively connected with touch points K1 and K2, and meanwhile, the touch input ends TP0 and TP1 are respectively grounded through capacitances C1 and C2; 2 touch signal output ends TPQ0 and TPQ1 of the ASC0104-2 are respectively connected to input ends IN0 and IN1 of the single chip microcomputer; the high/low effective level selection end AHLB and the power supply positive end VDD of the ASC0104-2 are connected to a power supply + VCC; the output type selection terminal and the power supply negative terminal VSS of the ASC0104-2 are connected to the power supply ground. When the touch switch unit includes a plurality of switch input modules, an integrated chip with multi-key input may be used as shown in the embodiment of fig. 4; a separate circuit may be used for each switching input module.
In fig. 4, the ZigBee module is a fully functional CC2530 module. A serial port receiving end RX and a serial port TX of the CC2530 module are respectively connected with a transmitting end TX and a receiving end RX of a serial port of the single chip microcomputer; the power supply terminal VCC of the CC2530 module is connected to the power supply + VCC, and the ground terminal GND is connected to the power ground.
In fig. 4, the optocoupler isolator M1, the triac V1, the resistor R3, and the resistor R4 constitute a switch driving module of the switch K1, and the optocoupler isolator M2, the triac V2, the resistor R5, and the resistor R6 constitute a switch driving module of the switch K2. The resistor R4 is connected in series with the output of the optocoupler isolator M1 and then connected to the first anode and the gate of the bidirectional thyristor V1 in parallel; after the resistor R3 is connected with the input of the optocoupler isolator M1 in series, the output end OUT1 of the singlechip controls the on-off of the bidirectional thyristor V1; the first anode and the second anode of the bidirectional thyristor V1 are respectively an alternating current power supply phase line (live wire) input end L and an output end L1 of the switch K1; the load of the switch K1 is connected to the output terminal L1 and the neutral line of the ac power supply. The resistor R6 is connected in series with the output of the optocoupler isolator M2 and then connected to the first anode and the gate of the bidirectional thyristor V2 in parallel; after the resistor R5 is connected with the input of the optocoupler isolator M2 in series, the output end OUT2 of the singlechip controls the on-off of the bidirectional thyristor V2; the first anode and the second anode of the bidirectional thyristor V2 are respectively an alternating current power supply phase line (live wire) input end L and an output end L2 of the switch K2; the load of the switch K2 is connected to the output terminal L2 and the neutral line of the ac power supply. The optocoupler isolators M1 and M2 can be selected from devices such as MOC3041, MOC3042, MOC3043, MOC3061, MOC3062 and MOC3063 with zero-crossing triggering functions.
In fig. 4, the on-off indication module is composed of a light emitting diode LED1, a light emitting diode LED2, a resistor R1 and a resistor R2. The light emitting diode LED1 is a signal indication of the switch K1 and is controlled by the output end OUT3 of the single chip microcomputer; the light emitting diode LED2 is the signal indication of the switch K2 and is controlled by the output end OUT4 of the single chip microcomputer.
In fig. 4, when the user touches K1, the on/off state of the triac V1 changes, and the load becomes power-off when power is supplied or becomes power-on when power is supplied. Similarly, when the user touches the switch K2, the on/off state of the triac V2 changes, and the load becomes power-off when power is supplied or becomes power-on when power is supplied.
In the touch switch units of the Zigbee network control system of the hotel guest rooms, 2 or more than 2 electric appliance switch devices in any touch switch unit can be configured into an interlocking state to act in a unified way. The plurality of appliance switching devices configured in the interlocking state can be arbitrarily selected and combined in a plurality of touch switch units in the same ZigBee network, and can be from the same or different touch switch units, or the appliance switching devices in the same touch switch unit or the appliance switching devices in different touch switch units. Any number of touch switch units refers to 1 or more than 1 touch switch unit.
When part of electrical appliance switch devices are configured to be in an interlocking state in a touch switch unit of the Zigbee network control system of the hotel guest room, the electrical appliance switch devices configured to be in the interlocking state are regarded as 1 switch group; the rest electric appliance switch devices can still be selected and combined to be configured into an interlocking state to form another 1 switch group; in the same hotel room Zigbee network control system, the switch group configured in the interlocking state may be 0 group, may be 1 group, or may be multiple groups.
There are various ways in which the switch may be configured to interlock. For example, all switches are set to have their functions, and by setting the switch functions, the switches having the same function or the same controlled object are set to be in an interlocked state, that is, all switches in the same hotel room Zigbee network control system that are consistent with each other are in an interlocked state. Or all switches are coded (or numbered), and all switches with the same codes in the same hotel room Zigbee network control system are in an interlocking state; and so on. When only one switch of a controlled object is correspondingly set, namely the function of a certain switch is unique, or the code of a certain switch in the same hotel room Zigbee network control system is unique, the switch is not interlocked with other switches in the same hotel room Zigbee network control system.
When the plurality of electrical appliance switching devices are configured to be in the interlocking state, the power supply of the controlled object can be controlled by the output of the switch driving module of any one or more electrical appliance switching devices. For example, 2 electrical appliance switch devices using relay outputs are configured to be interlocked to control the exhaust fan, after any one switch input module of the 2 electrical appliance switch devices is operated, the 2 relays will act simultaneously, i.e. output power simultaneously or cut off power simultaneously, and the power of the exhaust fan can be connected to the output end of any one of the 2 relays. If 1 switch is to be implemented to control multiple controlled objects, the multiple controlled objects may be controlled by connecting to the outputs of different switches in the switch configured in the interlocked state.
For example, there are 3 touch switch units in the ZigBee network shown in fig. 1, and there are 4 electrical switch devices, or 4 switches, K11, K12, K13, and K14 in the touch switch unit 110; there are 5 electrical switching devices, or 5 switches, respectively K21, K22, K23, K24, and K25 in the touch switch unit 111; the touch switch unit 112 has 3 electrical switch devices, or 3 switches, K31, K32, and K33, respectively. Example 1, the electrical switch devices from 3 touch switch units are respectively configured to be in an interlocking state, for example, K11, K23 and K32 are configured to be in an interlocking state to control room lamps, and the power of the room lamps can be connected from the output end of any one of K11, K23 and K32; the control of the room lamp can be realized by operating any one of the switches K11, K23 and K32. Example 2, K21, K22, K33 are configured to be interlocked to control the exhaust fan, and since K21, K22 are in the same touch switch unit, the outputs of K21, K22 can be connected in parallel to control the exhaust fan, which can improve the load carrying capacity, of course, the exhaust fan can also be controlled by the output of K33; the control of the exhaust fan can be realized by operating any one of the switches K21, K22 and K33. Example 3, if it is only necessary to improve the loaded capacity, only a plurality of electrical switch devices in one touch switch unit may be configured to be in an interlocking state, for example, K23, K24, and K25 may be configured to be in an interlocking state, and then outputs of K23, K24, and K25 may be connected in parallel to control the electric heater, and any one of the switches K23, K24, and K25 may be operated to control the electric heater; compared with the common switch which is connected in parallel and then controls the electric appliance, the parallel interlocking control of the touch switch unit is automatically synchronous after interlocking, and the parallel interlocking control respectively operate and simultaneously act; the common switches need to be operated simultaneously, if only one switch in the parallel connection of the common switches is switched on, the load is still controlled by the switch, only when all the parallel switches are switched on simultaneously, all the parallel switches supply power simultaneously, and only when all the parallel switches are switched off, the load is switched off.
The function (or control object) of the write switch or the number of the write switch in the switch is called a configuration, and there are various methods of configuring the switch or configuring the switch group in an interlocked state.
The configuration is performed at the time of production. During production, the configuration information of the switch is set to be consistent with the screen printing name on the panel, for example, if the screen printing name on the panel is night light, the corresponding switch function is configured to be a night light switch; the screen printing name on the panel is a wall lamp, and the function of the corresponding switch is configured as a wall lamp switch; the screen printing name on the panel is the ventilator, and the corresponding switch function is configured to be a ventilator switch; when the switch is in the same ZigBee network with the touch switch unit of other switches and has the same switch function, the switch is automatically in an interlocking state. For example, when the function of 3 switches in the same ZigBee network is configured as a wall lamp switch, the 3 wall lamp switches automatically become an interlocked state; when only one switch is configured as the ventilator switch, the ventilator switch controls the ventilator alone. The spare switch, or when the switch is not configured in function during production, may be set to a special switch named as an unconfigured function, for example, set to the spare switch uniformly, or set to the unconfigured switch uniformly, or set to other names; all switches with the functions of a standby switch (or a non-configured switch) do not form a switch group and are not in an interlocking state. In actual configuration, the switch function may be replaced by a number, for example, No. 1 switch controls a wall lamp, and when the function of 2 switches in the same ZigBee network is configured as No. 1 switch, the 2 switches 1 automatically become an interlocking state. The spare switch, or when the switch is not configured in function during production, may set a special number, for example, set to 0, that is, the switch 0 is a switch that is not configured in function, therefore, in the same ZigBee network, even if there are a plurality of switches 0, the switch group will not be formed, that is, the switches 0 are not configured in an interlocked state; the special number is not necessarily 0, and other numbers, such as 999, 511, etc., may be selected.
The configuration is performed or modified in the field. Accessing a computer or a special configuration tool in a Zigbee network control system of a hotel guest room on site, and performing networking unified configuration; or the single touch switch unit is connected with a computer or a special configuration tool to carry out independent configuration.
Firstly, a computer or a special configuration tool is accessed to a site hotel room Zigbee network control system or is connected with a single touch switch unit;
editing functions or numbers of switches needing to be configured in a relevant engineering configuration interface of a computer or a special configuration tool and selecting the switches, or selecting the switches with the edited functions or numbers;
the selection switch is configured to complete configuration confirmation; if the switch group needs to be configured, continuing to select the switches for configuration until all the switches of the switch group and the selected switches in the engineering configuration interface are completely configured and confirmed;
and fourthly, returning to the step II (configuring in the Zigbee network control system of the hotel guest room on site) or the step II (configuring a single touch switch unit) and configuring other switches.
And step three, configuring the selection switch, and performing a plurality of methods for confirming the configuration, wherein one of the methods is to perform one-time switch operation to realize new configuration and cancel old configuration. For example, a room lamp switch is prepared and configured, a switch corresponding to a room lamp is selected in a relevant engineering configuration interface, and then a certain switch needing to be configured is operated once, so that the switch is configured to have the same switch function or the same switch number as the selected switch in the engineering configuration interface, and other switch functions or switch numbers which are configured once are cancelled; the other switch is operated once again, the other switch is also configured to have the same switch function or the same switch number as the switch selected in the engineering configuration interface, and the front switch and the rear switch are also configured to be 1 switch group; and then, the other switches are operated, so that the number of the switches of the switch group is increased. The second method is that all switches have the status indication of whether the switch is configured; if the switch which is not configured is subjected to the state indication display, the switch is subjected to one-time switch operation, new configuration is carried out, and the state indication display configuration is successful; when the switch with the status indication display configuration success is subjected to one-time switch operation, the configuration is cancelled, and the status indication display is not configured; the unconfigured switch can be set as a standby switch, or set as an unconfigured switch, or set as other names; the unconfigured switches may also be set to switch No. 0, or to other special numbers. Whether the configured state indication is available can be distinguished by the on and off of the indicator light, can be distinguished by the flicker of the indicator light, can be distinguished by the different flicker frequencies of the indicator light, and the like.
The interlocked configuration of all touch switch units can be reconfigured, reconfigured and the like changed at any time.
The touch switch unit can be set to an independent working mode to work independently when not forming a network with other distribution units.
Fig. 5 is a block diagram of an embodiment of a coordinator unit, which includes a coordinating microcontroller module 401 and a ZigBee module 402. The ZigBee module 402 and the coordination microcontroller module 401 have an electrical connection relationship or an electrical connection relationship with optical-electrical isolation, and are used for transmitting related signals.
The ZigBee node in the coordinator unit is determined as a ZigBee coordinator, and the coordination microcontroller module 401 controls the ZigBee node to implement the function of the ZigBee coordinator in the ZigBee network.
The Zigbee network control system for hotel rooms can further include 1 or more curtain control units in the plurality of distribution units, and each curtain control unit is 1 Zigbee node in the Zigbee network.
Fig. 6 shows a block diagram of an embodiment of a curtain control unit, which includes a curtain microcontroller module 801, and includes a ZigBee module 802, a curtain 1 given module 803, a curtain 2 given module 804, a curtain 1 open/close driving module 805, and a curtain 2 open/close driving module 806. The ZigBee module 802, the curtain 1 setting module 803, the curtain 2 setting module 804, the curtain 1 opening/closing driving module 805, the curtain 2 opening/closing driving module 806 and the curtain microcontroller module 801 are electrically connected or electrically connected with photoelectric isolation, and are used for transmitting relevant signals. The curtain control unit shown in fig. 6 includes 2 curtain controllers, that is, a curtain controller 1 and a curtain controller 2; one curtain control unit may include only 1 curtain controller, or 3 or more curtain controllers.
The curtain microcontroller module 801 functions to include: analyzing the data received by the ZigBee module 802 to realize synchronous control with curtain controllers in other curtain control units; the control operation and the state of the curtain control unit form data and the data are sent out through the ZigBee module 802; judging and identifying the states and operations of the curtain 1 giving module 803 and the curtain 2 giving module 804; controls the states of the curtain 1 open/close driving module 805 and the curtain 2 open/close driving module 806.
The curtain 1 given module 803 and the curtain 2 given module 804 both include a curtain open switch, a curtain close switch, and a curtain stop switch or button, and the curtain open switch, the curtain close switch, the curtain stop switch or button are touch switches or touch buttons.
The curtain opening/closing drive modules, for example, the curtain 1 opening/closing drive module 805 and the curtain 2 opening/closing drive module 806, each include a curtain opening drive device and a curtain closing drive device, and the curtain opening drive device and the curtain closing drive device may be composed of an electromagnetic relay, a solid-state relay, a thyristor, and their drive circuits. The curtain opening driving device and the curtain closing driving device can respectively drive the curtain opening motor and the curtain closing motor to operate, or respectively drive the curtain motor to operate in forward and reverse directions, so as to realize the opening and closing of the curtain. If the curtain motor has the remote control function, the curtain opening/closing driving module generates and drives the transmitting circuit for the corresponding remote control signal. The curtain motor adopts a motor with a function of automatic stop when meeting a resistance.
In the same hotel room Zigbee network control system, 2 or more than 2 curtain controllers in any curtain control unit can be configured to be in an interlocking state and act in a unified way. These plurality of curtain controllers configured in the interlocked state can be arbitrarily selected to be combined among the plurality of curtain control units in the ZigBee network. The shade controllers configured in an interlocked state operate on any one of the shade controllers, all of the shade controllers are simultaneously actuated. For example, there are A, B two curtain control units in the same hotel room Zigbee network control system, there are curtain controller 1 and curtain controller 2 in unit a, and there are curtain controller 3, curtain controller 4, and curtain controller 5 in unit B. Now, the curtain controller 1 and the curtain controller 5 are configured to be in an interlocking state, and when the curtain controller 1 performs curtain opening operation, the curtain controller 1 and the curtain controller 5 both perform curtain opening driving action; when the curtain controller 5 performs a curtain closing operation, both the curtain controller 1 and the curtain controller 5 perform a curtain closing drive operation. In practical application, the driving motor of the curtain can select one curtain controller to actually control, and other curtain controllers are used for realizing other control. The interlocking configuration of the window shade controllers in all the window shade control units can be cancelled at any time or changed operation such as reconfiguration can be carried out.
When some curtain controllers in the curtain control units of the same hotel room Zigbee network control system are configured to be in an interlocking state, the curtain controllers configured to be in the interlocking state are regarded as 1 curtain control group; the remaining shade controllers can still be selectively combined and configured into an interlocked state to form additional shade control groups; in the same hotel room Zigbee network control system, the curtain control groups configured in the interlocked state may be 0 group, 1 group, or multiple groups.
The shade controller is configured to interlock in the same manner as the electrical switch device is configured to interlock in a variety of ways and methods. For example, interlocking is performed by setting a controlled object, that is, all curtain controllers are provided with one controlled object, and all curtain controllers in a hotel room Zigbee network control system, which are consistent with each other, are in an interlocking state; in the example of the aforementioned A, B two curtain control units, when the curtain controller 1 and the curtain controller 5 are both configured to control the main curtain and the curtain controller 2, the curtain controller 3, and the curtain controller 4 are configured to control the other curtains, the curtain controllers 1 and 5 are configured to be interlocked. Or all curtain controllers are coded, and all curtain controllers with the same codes in the hotel room Zigbee network control system are in an interlocking state; and so on.
The number written in the control object of the curtain controller or written in the curtain controller of the curtain control unit is called the configuration. There are various methods of configuring the shade controllers, or the shade control groups, as the switches.
The configuration is performed at the time of production. During production, the configuration information of the curtain controller is set to be consistent with the silk-screen name on the panel, for example, if the silk-screen name on the panel is the main curtain, the corresponding curtain controller function is configured as the main curtain controller; if the screen printing name on the panel is an auxiliary curtain, the function of the corresponding curtain controller is configured into an auxiliary curtain controller; the screen printing name on the panel is a small curtain, and the corresponding curtain controller function is configured to be a small curtain controller; when the curtain controller is in the same ZigBee network with the curtain control units in which other curtain controllers are located and configured to be the controller function of the same curtain, the curtain controller automatically becomes an interlocking state. For example, when there are 3 curtain controllers in the same ZigBee network, and the functions of the 3 curtain controllers are configured as the sub-curtain controllers, the 3 sub-curtain controllers automatically become the interlocked state; when only one curtain controller is functionally configured as a small curtain controller, the small curtain controller controls the small curtain alone. The standby curtain controller, or when the curtain controller is not configured in function during production, may set a special curtain controller named as the unconfigured function, for example, set the standby curtain controller uniformly, or set the unconfigured curtain controller uniformly, or set the curtain controller as another name; all curtain controllers with the functions of standby curtain controllers (or curtain controllers without other names such as curtain controllers) do not form a curtain control group and are not in an interlocking state. In actual configuration, the curtain controller function may be replaced with a number, for example, when the curtain controller 1 controls the sub-curtain, and when the functions of 2 curtain controllers are configured as the curtain controller 1 in the same ZigBee network, the 2 curtain controllers 1 automatically become the interlocked state. The standby curtain controller, or when the curtain controller is not configured in function during production, may set a special number, for example, set to number 0, that is, the number 0 curtain controller is a curtain controller that is not configured in function with respect to the curtain controller, and therefore, even if there are a plurality of number 0 curtain controllers in the same ZigBee network, there is no curtain control group formed, that is, the plurality of number 0 curtain controllers are not configured in an interlocked state. The special number is not necessarily 0, and other numbers, such as 999, 511, etc., may be selected.
The configuration is performed or modified in the field. Accessing a computer or a special configuration tool in a field ZigBee network to perform networking unified configuration; or the single curtain control unit is connected with a computer or a special configuration tool to carry out independent configuration.
Firstly, a computer or a special configuration tool is accessed to a field ZigBee network or is connected with a single curtain control unit;
editing the function or number of the curtain controller to be configured in a relevant engineering configuration interface of a computer or a special configuration tool and selecting the function or number, or selecting the curtain controller with the edited function or number;
selecting a curtain controller in the curtain control unit to configure to complete configuration confirmation; if the curtain control group needs to be configured, continuously selecting the curtain controllers for configuration until all the curtain controllers of the curtain control group and the selected curtain controllers in the engineering configuration interface are completely configured and confirmed;
and fourthly, returning to the step II (configuration in a ZigBee network on site) or the step I (configuration of a single curtain control unit) to configure other curtain controllers.
And one of the methods is to perform one curtain controller operation to realize new configuration and cancel old configuration. For example, when a main curtain controller is prepared to be configured, the main curtain controller is selected in the relevant engineering configuration interface, and then a certain curtain controller is operated once (opened or closed), the curtain controller is configured to have the same curtain controller function or the same curtain controller number as the curtain controller selected in the engineering configuration interface, and the other curtain controller functions or curtain controller numbers which the curtain controller was configured to have are cancelled; the other curtain controller is operated once again, the other curtain controller is also configured to have the same curtain controller function or the same curtain controller number as the curtain controller selected in the engineering configuration interface, and the front and rear 2 curtain controllers are also configured to be 1 curtain control group; and then other curtain controllers are operated, the number of the curtain controllers of the curtain control group is increased. The second method is that all the curtain controllers have the status indication of whether the curtain controllers are configured; if the curtain controller which is not configured is operated for the first time in the state indication display, new configuration is carried out, and the state indication display configuration is successful; if the curtain controller with the successfully configured status indication display is operated once, the configuration is cancelled, and the status indication display is not configured; the unconfigured curtain controller can be set as a standby curtain controller, or set as an unconfigured curtain controller, or set as other names; the unconfigured shade controller may also be set to be the shade controller No. 0, or to be other special numbers. Whether the configured state indication is available can be distinguished by the on and off of the indicator light, can be distinguished by the flicker of the indicator light, can be distinguished by the different flicker frequencies of the indicator light, and the like.
The interlocked configuration of all the curtain control units can be changed at any time by reconfiguration, reconfiguration cancellation and the like. The Zigbee network control system for hotel rooms may further include 1 or more communication relay units in the plurality of distribution units, and each communication relay unit is 1 Zigbee node in the Zigbee network.
Fig. 7 is a block diagram of an embodiment of a communication relay unit, which includes a relay microcontroller module 701, a ZigBee module 702, and a WAN module 703. An electrical connection relation or an electrical connection relation with photoelectric isolation is formed between the ZigBee module 702, the WAN port module 703 and the relay microcontroller module 701 and is used for transmitting related signals.
And the communication relay unit is used for communicating the Zigbee network control system of the hotel guest room with the Internet and communicating with a server and the like according to an Internet protocol. For example, when the hotel room Zigbee network control system is used for hotel room control, the communication relay unit mainly functions to implement communication between the hotel room Zigbee network control system and a hotel server, and at this time, the communication relay unit may also be referred to as a room AP or a room access point unit. The communication relay unit is connected with the hotel server through the WAN port module 703 through the Internet, and can upload the relevant information of the Zigbee network control system of the hotel guest room to the hotel server in time, so that the monitoring is facilitated; any distribution unit in the Zigbee network control system of the hotel guest room can be managed by virtue of the hotel server, so that remote control is realized; the electric appliance switching devices in the Zigbee network control system of the hotel guest room can be configured by means of the hotel server, particularly, the interlocking state configuration among the electric appliance switching devices is carried out, and the method is convenient and quick; and so on. The functions of the communication relay unit are controlled by a program in the relay microcontroller module 701.
The communication relay unit may further include a WiFi module and a LAN port module, such as the WiFi module 704 and the LAN port module 705 shown in fig. 7. The WiFi module enables the communication relay unit to have a WiFi hot spot function, and the LAN port module provides a LAN port for a user. The WiFi module 704, the LAN module 705 and the relay microcontroller module 701 have an electrical connection relationship or an electrical connection relationship with photoelectric isolation, and are used for transmitting related signals.
When the Zigbee network control system of a hotel room includes a communication relay unit, 1 of the Zigbee network control systems can simultaneously implement the function of the coordinator unit shown in fig. 5, that is, the Zigbee node of the communication relay unit is a Zigbee coordinator. At this time, the function of implementing the communication relay unit, and the function as the ZigBee coordinator are controlled by the program in the relay microcontroller module 701.
When the Zigbee network control system for hotel guest rooms is used for hotel guest room control, the Zigbee network control system also comprises power-taking switch units, and each power-taking switch unit is 1 ZigBee node in the ZigBee network.
Fig. 8 is a structural diagram of an embodiment of a power-taking switch unit, which includes a power-taking microcontroller module 201, a ZigBee module 202, and a house card reading module 203. An electrical connection relation or an electrical connection relation with photoelectric isolation is formed between the ZigBee module 202, the room card reading module 203 and the power-taking microcontroller module 201, and the electrical connection relation or the electrical connection relation is used for transmitting related signals.
The power switch unit has the function of monitoring the card insertion state at any time and sending the card insertion state to other distribution units of the Zigbee network control system of the hotel guest room. The ZigBee module 202 implements communication with other distribution units through a ZigBee network, and functions to transmit data to other distribution units and receive data of other distribution units; the house card reading module 203 realizes communication connection with the house card through RF, and simultaneously completes conversion of house card output information and sends the house card output information to the electricity taking microcontroller module 201; the electricity-taking microcontroller module 201 judges the current card-inserting state by analyzing the output information of the house card, forms data and sends the data to the outside through the ZigBee module 202. The function of the power-taking switch unit is controlled by a program in the power-taking microcontroller module 201.
Other distribution units in the Zigbee network control system of the hotel guest room execute corresponding operation according to the card insertion state of the power-taking switch unit. The corresponding operation is selected according to the actual needs of the hotel. For example, when a card is required to be inserted to transmit power, other distribution units in the Zigbee network control system of a hotel room can only operate in an effective card insertion state; when the ZigBee network breaks down, other distribution units can not acquire the card inserting state of the power switch unit, and if no card is inserted, the power switch unit can not acquire the card inserting state. The other distribution units can also be set to operate only in an effective card insertion state when the Zigbee network control system of the hotel guest room works normally; when the ZigBee network fails or does not form a network with other distribution units, the distribution units can work independently, for example, the touch switch units can be operated independently and controlled independently.
When the Zigbee network control system of a hotel guest room includes a power-taking switch unit, the Zigbee network control system may also implement the function of the coordinator unit shown in fig. 5, that is, the Zigbee node of the power-taking switch unit is a Zigbee coordinator. At this time, the function of the power-taking switch unit and the function as the ZigBee coordinator are controlled by a program in the power-taking microcontroller module 201. If the Zigbee network control system of a hotel room includes a power-taking switch unit and a communication relay unit, 1 of them can be selected to realize the function of the coordinator unit shown in fig. 5.
The plurality of distribution units of the Zigbee network control system for hotel rooms may further include 1 or more air conditioner control units, 1 or more monitoring units, 1 or more dimming control units, 1 or more controllable sockets, and the like.
All the distribution units comprise microcontroller modules, for example, the microcontroller module included in the touch switch unit is a switch microcontroller module, the microcontroller module included in the coordinator unit is a coordination microcontroller module, the microcontroller module included in the curtain control unit is a curtain microcontroller module, the microcontroller module included in the communication relay unit is a relay microcontroller module, and the microcontroller module included in the power-taking switch unit is a power-taking microcontroller module; and so on.
In the Zigbee network control system for hotel guest rooms, all the distribution units are communicated in a broadcast mode, and the communication is implemented specifically according to the standard of realizing the communication in the broadcast mode of the Zigbee network through a program running in a microcontroller module in each distribution unit.
When the ZigBee network adopts a broadcast mode to realize communication, problems of accidental packet loss and the like can be caused due to reasons of interference and the like, and communication failure is caused. In order to improve the reliability of communication, each distribution unit may repeat the data to be broadcast and distributed 1 or more times, and each retransmission is performed after the interval delay time t. The specific value of the interval delay time t of the retransmission can be generated in a fixed value mode or a random mode. When t is generated in a random manner, the interval delay time t of each retransmission can be generated in a random manner, that is, the interval delay time of each retransmission is randomly selected. The range of the interval delay time t is not specifically required, and in general, the maximum value of the interval delay time t does not exceed 10ms, and the minimum value is greater than 0. For example, the interval delay time t can be set to be randomly generated between 0.1 ms and 1ms, or a fixed value between 0.1 ms and 1 ms.
The procedure of implementing communication and interlock in the broadcast mode is described by the above-described example in which a plurality of appliance switching devices in 3 touch switch units are configured in the interlock state. 3 touch switch units, wherein the touch switch unit 110 comprises 4 electric switch devices or 4 switches, namely K11, K12, K13 and K14; there are 5 electrical switching devices, or 5 switches, respectively K21, K22, K23, K24, and K25 in the touch switch unit 111; the touch switch unit 112 has 3 electrical switch devices, or 3 switches, K31, K32, and K33, respectively. Assuming that the same controlled object is set at this time, the interlock configuration is performed, the controlled objects of K11, K23, and K32 are all set as room lights, and the other switches are set as other controlled objects. When the current state of the room lamp is a lamp-on state, the room lamp is turned off on the K23, the touch switch unit 111 turns off the switch driving module of the K23, and meanwhile, related information of the room lamp is converted into data and sent to the ZigBee network in a broadcasting mode; after receiving the data of the touch switch unit 111, the touch switch unit 110 and the touch switch unit 112 respectively turn off the switch driving modules of K11 and K32 which are used for controlling the house lights, so as to realize synchronization; if a communication relay unit is also arranged in the ZigBee network, the communication relay unit reports the information of the house lamp controlled by the touch switch unit 111 to the hotel server 705. After the other distribution units receive the information of the house lamp controlled by the touch switch unit 111, the analysis result shows that the house lamp is irrelevant to the other distribution units, and the information is ignored.
The distribution units realize communication in a broadcasting mode, and form a ZigBee network in an ad hoc network mode; when data is transmitted, only the information related to the local distribution unit is transmitted, and the transmitted information is irrelevant to other distribution units. For example, when the room lamp closing operation is performed at K23, the touch switch unit 111 converts the information related to the room lamp controlled by K23 into data and transmits the data to other distribution units in a broadcast manner, and the data transmission of the touch switch unit 111 is independent of other distribution units, and more precisely, whether other switches (i.e., electrical switch devices) are configured in the interlocking state with K23. After receiving the information related to the room light controlled by K23 sent by the touch switch unit 111, the other distribution units perform corresponding processing on the information, for example, the touch switch unit 110 and the touch switch unit 112 also have switches (i.e., electrical switch devices) for controlling the room light, so as to perform corresponding synchronous operations; if the interlock configuration is modified to change K32 to control a wall light, the touch switch unit 112 receives information about the K23 control of the room light and ignores the information.
The distribution units realize communication in a broadcast mode, and when the ZigBee network fails or partial distribution units fail, the intact ZigBee network or the ZigBee network consisting of the intact ZigBee network and the partial distribution units can still work normally. Taking the example that the control objects of K11, K23, and K32 are all set as house lights to realize interlocking control as an example, when the distribution unit where K32 is located cannot communicate with other distribution units in the ZigBee network, that is, the distribution unit where K32 is located fails, or a part where the ZigBee network communicates with the distribution unit where K32 is located fails, although K32, K11, and K23 are configured to be in an interlocking state, the distribution unit where K32 is located is also in an independent operating state, and what is actually still in the interlocking state is K11 and K23. When the room lamp is controlled by the output of K11 or K23, the three-place control originally realized by K32, K11 and K23 is changed into the current two-place control realized by K11 and K23.
When a plurality of ZigBee are full-function nodes, that is, FFD nodes, in the ZigBee network, there are a variety of ways to configure one of them as a ZigBee coordinator.
The method for configuring the ZigBee coordinator comprises the following steps: and adopting a pre-fixed configuration mode, namely, one of the FFDs of the ZigBee network is pre-fixedly configured as a ZigBee coordinator, and the other FFDs are configured as router nodes or terminal nodes. For example, the ZigBee node of the coordinator unit 101 in the ZigBee network shown in fig. 2 is configured as a ZigBee coordinator, and the ZigBee nodes of the touch switch unit 102, the touch switch unit 103, and the touch switch unit 104 are configured as router nodes or terminal nodes; the other FFDs added to the system shown in fig. 2 are also configured as router nodes or end nodes. Or when a communication relay unit exists in a plurality of FFDs of the ZigBee network, configuring the ZigBee node of the communication relay unit as a ZigBee coordinator, and configuring other FFDs as router nodes or terminal nodes; when a plurality of communication relay units exist in a plurality of FFDs of the ZigBee network, one of the communication relay units is configured as a ZigBee coordinator, and other FFDs are configured as router nodes or terminal nodes. And so on. When a pre-fixed configuration mode is adopted, a program running in a microcontroller module in the FFD configured as the ZigBee coordinator is a program matched with the function of the coordinator, and programs matched with the function of a router node or the function of a terminal node run in other microcontroller modules.
A second mode for configuring the ZigBee coordinator: and determining one selection configuration of a plurality of FFDs of the ZigBee network as a ZigBee coordinator, and determining other selection configurations of the FFDs as router nodes or terminal nodes by adopting an engineering configuration determination mode. The ZigBee coordinator can be configured in a plurality of ways by adopting an engineering configuration determination mode, and the configuration determination can be carried out during production, and the configuration determination or the configuration modification can also be carried out on site; a computer or a special configuration tool can be connected to a ZigBee network on site to perform networking unified configuration determination, or a single distribution unit can be connected with the computer or the special configuration tool to perform off-network independent configuration determination; the configuration can also be performed by inputting a controllable level signal at the I/O terminal of the distributed-unit microcontroller module.
There are various methods for controlling whether the networking function of the ZigBee coordinator is turned on. Can be turned on by performing a prescribed operation on a control panel of a distribution unit having a ZigBee coordinator function; a controllable level signal can be input to an I/O end of a distributed unit microcontroller module with a ZigBee coordinator function to start, for example, a button is added to start; a computer or a special starting tool can be connected into a ZigBee network on site to start networking; the system can be controlled to be started by a corresponding management control program in the hotel server through the communication relay unit; and so on.
When the distribution unit sends data, whether the data is sent or not, namely, the driving mode of sending the data adopts one of an event driving mode and a time driving mode, or adopts the event driving mode and the time driving mode simultaneously. The event-driven mode is that when the distribution unit generates data to be sent, the data sending is started, and the data generated according to the relevant information of the distribution unit is sent to other distribution units; for example, when the touch switch unit has a switch operation, data transmission needs to be started; for example, after receiving data of a hotel server, the communication relay unit needs to start data transmission; and so on. The time driving mode is that the distribution unit sends data such as state information of the unit where the distribution unit is located out periodically.
The control cores of the microcontroller modules of the distribution unit, such as the switch microcontroller module, the coordination microcontroller module, the curtain microcontroller module, the relay microcontroller module, the power-taking microcontroller module and the like, can be selected from microcontrollers such as a single chip microcomputer, an ARM (advanced RISC machine), a DSP (digital signal processor), and the like, and can also be selected from controllers such as a CPLD (complex programmable logic device) and the like.
All the configuration information of each distribution unit, such as switch interlocking configuration information, configuration information of ZigBee nodes, various identification codes and address code information, and the like, which are allowed to be modified but still need to be kept when power is cut off, is stored in a nonvolatile memory of a control core of a microcontroller module of the distribution unit or a nonvolatile memory added outside the control core of the microcontroller module in the distribution unit. For example, when the control core selects the single chip microcomputer, the modification information is stored in a nonvolatile memory of the single chip microcomputer, or is stored in a nonvolatile memory device extended from the periphery of the single chip microcomputer.
The power supply of the distribution unit can adopt a zero-live wire power supply or a single-live wire power supply according to requirements.
The Zigbee network control system of the hotel guest room does not need a control host, and a proper number of touch switch units and other related distribution units can be selected according to the needs to form a Zigbee network; the switches configured to be in an interlocking state can realize interlocking control and unified action, namely two-place control and multi-place control are realized, and one-place control and two-place or multi-place simultaneous action can also be realized; the curtain controllers configured in the interlocking state can realize interlocking control and unified action, namely two-place control and multi-place control are realized, and one-place control and two-place or multi-place simultaneous action are realized; each distribution unit can be installed by adopting an 86-bottom shell structure; the method has the advantages of low cost, convenience and quickness in installation and debugging.
The embodiment of fig. 4 is merely an example. It is a conventional technique known to those skilled in the art to select or design the micro controller module circuits of the touch switch unit, the coordinator unit, the power switch unit, the communication relay unit, the curtain control unit, etc. according to the above requirements, and select or design the corresponding peripheral module devices and circuits to implement the corresponding functions.

Claims (8)

1.一种酒店客房Zigbee网络控制系统,其特征在于,包括有N个分布单元;所述N大于等于2;1. a hotel guest room Zigbee network control system, is characterized in that, comprises N distribution units; Described N is greater than or equal to 2; 所述酒店客房Zigbee网络控制系统无需控制主机;所述N个分布单元均包括有ZigBee模块,每个分布单元均为1个ZigBee节点,所述N个分布单元共有N个ZigBee节点;The hotel guest room Zigbee network control system does not need to control the host; the N distribution units all include ZigBee modules, each distribution unit is a ZigBee node, and the N distribution units have a total of N ZigBee nodes; 所述N个分布单元之间通过ZigBee网络进行通信;The N distribution units communicate through the ZigBee network; 所述ZigBee网络的ZigBee节点中,1个为ZigBee协调器,其他为ZigBee终端节点,或者是ZigBee路由节点;Among the ZigBee nodes of the ZigBee network, one is a ZigBee coordinator, and the others are ZigBee terminal nodes or ZigBee routing nodes; 所述N个分布单元中至少包括2个触摸开关单元;所述触摸开关单元包括有S个开关输入模块和S个开关驱动模块;所述S大于等于1;所述开关输入模块的输入端为电容触摸输入端;The N distribution units include at least 2 touch switch units; the touch switch unit includes S switch input modules and S switch drive modules; the S is greater than or equal to 1; the input end of the switch input module is Capacitive touch input; 所述触摸开关单元包括有S个电器开关;所述S个开关输入模块和S个开关驱动模块包括在S个电器开关中;所述S个开关输入模块与S开个关驱动模块一一组对且与S个电器开关一一对应;The touch switch unit includes S electrical switches; the S switch input modules and the S switch drive modules are included in the S electrical switches; the S switch input modules and the S switch drive modules are in one group Yes and one-to-one correspondence with S electrical switches; 所述酒店客房Zigbee网络控制系统内触摸开关单元中,能够任意选择其中的多个电器开关组成开关组,开关组之中的电器开关被配置成联锁状态;配置成联锁状态的电器开关之间能够实现联锁控制,统一动作,即配置成联锁状态的电器开关之间可以实现联锁控制,统一动作,即实现两地控制、多地控制,也可以实现一地控制,两地或者多地同时动作;In the touch switch unit in the Zigbee network control system of the hotel guest room, a plurality of electrical switches can be arbitrarily selected to form a switch group, and the electrical switches in the switch group are configured to be in an interlocking state; It can realize interlocking control and unified action, that is, the electrical switches configured in the interlocking state can realize interlocking control and unified action, that is, realize two-site control, multiple-site control, or one-site control, two-site or multiple simultaneous actions; 将开关组中的多个电器开关配置成联锁状态的方法是,对所有电器开关进行编号,同一酒店客房Zigbee网络控制系统中所有编号一致的电器开关为联锁状态;The method of configuring multiple electrical switches in the switch group into an interlocking state is to number all the electrical switches, and all the electrical switches with the same number in the Zigbee network control system of the same hotel room are in the interlocking state; 对开关组中的一个电器开关进行操作,由该被操作开关所在的触摸开关单元将控制信息转换为数据发送至Zigbee网络,开关组中其他电器开关所在的触摸开关单元依据接收到的控制信息,对相关电器开关进行控制,实现同步;分布单元发送数据时,只将本分布单元的相关信息进行发送,发送的信息与其他分布单元无关。Operate an electrical switch in the switch group, and the touch switch unit where the operated switch is located converts the control information into data and sends it to the Zigbee network, and the touch switch units where other electrical switches in the switch group are located are based on the received control information, Control the relevant electrical switches to achieve synchronization; when the distribution unit sends data, only the relevant information of the distribution unit is sent, and the sent information has nothing to do with other distribution units. 2.根据权利要求1所述的酒店客房Zigbee网络控制系统,其特征在于:所述触摸开关单元还包括有开关微控制器模块;所述触摸开关单元的ZigBee模块、S个开关输入模块、S开个关驱动模块与开关微控制器模块之间均有电连接关系或者带光电隔离的电连接关系,用于传递信息。2. The Zigbee network control system for hotel rooms according to claim 1, wherein the touch switch unit further comprises a switch microcontroller module; the ZigBee module, S switch input modules, S switch input modules of the touch switch unit There is an electrical connection relationship or an electrical connection relationship with photoelectric isolation between the switch driving module and the switch microcontroller module for transmitting information. 3.根据权利要求1所述的酒店客房Zigbee网络控制系统,其特征在于:所述N个ZigBee节点均采用广播方式发送信息;所述分布单元将所在分布单元的信息发至所有其他分布单元。3. The Zigbee network control system for hotel rooms according to claim 1, characterized in that: the N ZigBee nodes all use broadcasting to send information; the distribution unit sends the information of the distribution unit where it is located to all other distribution units. 4.根据权利要求1所述的酒店客房Zigbee网络控制系统,其特征在于:所述分布单元采用事件驱动方式将所在分布单元的信息发至所有其他分布单元。4 . The Zigbee network control system for hotel rooms according to claim 1 , wherein the distribution unit adopts an event-driven manner to send the information of the distribution unit where it is located to all other distribution units. 5 . 5.根据权利要求1所述的酒店客房Zigbee网络控制系统,其特征在于:所述N个ZigBee节点中,至少1个ZigBee节点是全功能节点,具备ZigBee协调器的能力。5 . The ZigBee network control system for a hotel room according to claim 1 , wherein at least one of the N ZigBee nodes is a full-function node and has the capability of a ZigBee coordinator. 6 . 6.根据权利要求1所述的酒店客房Zigbee网络控制系统,其特征在于:所述触摸开关单元在没有与其他分布单元组成网络时,能够单独工作。6 . The Zigbee network control system for hotel rooms according to claim 1 , wherein the touch switch unit can work alone when it does not form a network with other distribution units. 7 . 7.根据权利要求1所述的酒店客房Zigbee网络控制系统,其特征在于:所述ZigBee协调器建立ZigBee网络时选择固定网络标示符;所述ZigBee终端节点或者是ZigBee路由节点选择对应的固定网络标示符加入所述ZigBee网络。7. hotel room Zigbee network control system according to claim 1, is characterized in that: when described ZigBee coordinator sets up ZigBee network, select fixed network identifier; Described ZigBee terminal node or ZigBee routing node selects the corresponding fixed network Identifier to join the ZigBee network. 8.根据权利要求1所述的酒店客房Zigbee网络控制系统,其特征在于:所述N个分布单元中,有1个单元为协调器单元;所述协调器单元中的ZigBee节点为ZigBee协调器。8. hotel room Zigbee network control system according to claim 1, is characterized in that: in described N distribution units, there is 1 unit that is coordinator unit; The ZigBee node in described coordinator unit is ZigBee coordinator .
CN201610894260.7A 2016-10-13 2016-10-13 Hotel guest room Zigbee network control system Expired - Fee Related CN106406176B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610894260.7A CN106406176B (en) 2016-10-13 2016-10-13 Hotel guest room Zigbee network control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610894260.7A CN106406176B (en) 2016-10-13 2016-10-13 Hotel guest room Zigbee network control system

Publications (2)

Publication Number Publication Date
CN106406176A CN106406176A (en) 2017-02-15
CN106406176B true CN106406176B (en) 2021-11-09

Family

ID=59229371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610894260.7A Expired - Fee Related CN106406176B (en) 2016-10-13 2016-10-13 Hotel guest room Zigbee network control system

Country Status (1)

Country Link
CN (1) CN106406176B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107689903A (en) * 2017-08-17 2018-02-13 深圳市艾特智能科技有限公司 Intelligent home equipment control method, system, storage medium and computer equipment
CN112188697A (en) * 2020-11-05 2021-01-05 宁波钧飞智能科技有限公司 Light and air conditioner control algorithm and system for unreliable ZigBee network

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1716332A (en) * 2005-05-30 2006-01-04 浙江中控电子技术有限公司 Radio house control system
CN101610145A (en) * 2009-07-03 2009-12-23 中兴通讯股份有限公司 A method and system for realizing synchronous control of a distributed system
CN202013507U (en) * 2011-01-20 2011-10-19 黄健华 Distributed-space electrical device intelligent control system based on wireless technology
CN202166887U (en) * 2011-07-14 2012-03-14 湖南艾特美电子科技有限公司 IoT-based distributed control system
CN102385327A (en) * 2011-10-26 2012-03-21 东莞市中凌电子科技有限公司 Smart switch control method
CN102736599A (en) * 2012-06-14 2012-10-17 华北电力大学(保定) Real-time interaction intelligent terminal control system based on internet of things technology
CN203324767U (en) * 2013-05-22 2013-12-04 宁波市镇海星科智能技术有限公司 Intelligent switch system based on Zigbee network
CN104460625A (en) * 2014-12-10 2015-03-25 广西职业技术学院 Intelligent home switching system based on wireless network
CN204287795U (en) * 2014-11-12 2015-04-22 深圳市海运来科技有限公司 A kind of intelligent wireless doorplate control system
WO2015140800A1 (en) * 2014-03-20 2015-09-24 Wefind-Tech Ltd Frequent change of ssid message for ad-hoc data delivery
CN205028446U (en) * 2015-09-11 2016-02-10 江门市联创发展有限公司 Hotel room accuse system based on networking of wireless thing
CN105759625A (en) * 2016-03-29 2016-07-13 快住智能科技(苏州)有限公司 Internet of Things (IOT) system and method for smart hotel

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2610375Y (en) * 2003-04-14 2004-04-07 曹伟龙 Intelligent mixed switch system for hotel
US7680053B1 (en) * 2004-10-29 2010-03-16 Marvell International Ltd. Inter-device flow control
CN101938870B (en) * 2009-08-14 2014-04-16 张玉良 Lamp remote control switch and system thereof
CN101847893B (en) * 2010-04-16 2012-05-09 西南大学 Network control type universal change-over switch with CCLink communication
CN202269079U (en) * 2011-09-26 2012-06-06 东莞市华虹电子有限公司 Remote-controlled touch switch
CN105093942A (en) * 2014-10-26 2015-11-25 深圳市艾瑟网络技术有限公司 Intelligent household system and group control method based on the intelligent household system
CN205407777U (en) * 2016-03-08 2016-07-27 橙朴(上海)智能科技有限公司 Intelligent switching device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1716332A (en) * 2005-05-30 2006-01-04 浙江中控电子技术有限公司 Radio house control system
CN101610145A (en) * 2009-07-03 2009-12-23 中兴通讯股份有限公司 A method and system for realizing synchronous control of a distributed system
CN202013507U (en) * 2011-01-20 2011-10-19 黄健华 Distributed-space electrical device intelligent control system based on wireless technology
CN202166887U (en) * 2011-07-14 2012-03-14 湖南艾特美电子科技有限公司 IoT-based distributed control system
CN102385327A (en) * 2011-10-26 2012-03-21 东莞市中凌电子科技有限公司 Smart switch control method
CN102736599A (en) * 2012-06-14 2012-10-17 华北电力大学(保定) Real-time interaction intelligent terminal control system based on internet of things technology
CN203324767U (en) * 2013-05-22 2013-12-04 宁波市镇海星科智能技术有限公司 Intelligent switch system based on Zigbee network
WO2015140800A1 (en) * 2014-03-20 2015-09-24 Wefind-Tech Ltd Frequent change of ssid message for ad-hoc data delivery
CN204287795U (en) * 2014-11-12 2015-04-22 深圳市海运来科技有限公司 A kind of intelligent wireless doorplate control system
CN104460625A (en) * 2014-12-10 2015-03-25 广西职业技术学院 Intelligent home switching system based on wireless network
CN205028446U (en) * 2015-09-11 2016-02-10 江门市联创发展有限公司 Hotel room accuse system based on networking of wireless thing
CN105759625A (en) * 2016-03-29 2016-07-13 快住智能科技(苏州)有限公司 Internet of Things (IOT) system and method for smart hotel

Also Published As

Publication number Publication date
CN106406176A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
US12068606B2 (en) Method and apparatus for electrical load control network
CN106292327A (en) room central control management system
CN210534547U (en) Smart Home Control System
CN106354060B (en) Master-slave communication method of guest room control device
CN106687872B (en) Method for configuring a building automation system
CN106406176B (en) Hotel guest room Zigbee network control system
CN106325090A (en) Room scene mode control method
CN206301165U (en) A kind of room central control management system
CN106453556B (en) Distributed networking control switch
CN106292614B (en) Guest room networking control system
CN206302425U (en) A kind of distributed networking control intelligent domestic system
CN106527364B (en) Hotel guest room electrical equipment control system
CN106502223B (en) Hotel room monitoring and management system
CN106502222B (en) A kind of network communication method of guest room control device
CN106647438B (en) Hotel room wireless network control system
CN106547213B (en) A touch switch lock configuration method
CN106647319A (en) Bus control system suitable for smart home
CN106549659B (en) Wireless networking touch switch
CN106444401A (en) Distributed network control system of hotel or household rooms
CN206077455U (en) A kind of distributed control system of online in guest room
WO2018047181A1 (en) Smart switch network
CN206451027U (en) A kind of guest room control system of online
CN106547235A (en) A kind of room scene mode setting method
CN106444402A (en) Distributed networking control intelligent home system
CN106357797A (en) Guest room distributed networked control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230105

Address after: Room 105, Business Service, No. 7, Building 1, Xueyuan Community, Songbei District, Harbin, Heilongjiang Province, 150000

Patentee after: Heilongjiang Aowei New Technology Co.,Ltd.

Address before: 230000 Room 203, building 2, phase I, e-commerce Park, Jinggang Road, Shushan Economic Development Zone, Hefei City, Anhui Province

Patentee before: Hefei Jiuzhou Longteng scientific and technological achievement transformation Co.,Ltd.

Effective date of registration: 20230105

Address after: 230000 Room 203, building 2, phase I, e-commerce Park, Jinggang Road, Shushan Economic Development Zone, Hefei City, Anhui Province

Patentee after: Hefei Jiuzhou Longteng scientific and technological achievement transformation Co.,Ltd.

Address before: 412007 Hunan University of Technology Taishan 88 West Road, Hunan University of Technology, Hunan Institute of industry, education and research

Patentee before: HUNAN University OF TECHNOLOGY

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240123

Address after: Room A304, 3rd Floor, Building S14, Huamei Taikoo Plaza, Songbei District, Harbin City, Heilongjiang Province, 150000 RMB

Patentee after: Harbin Lingdan Hongyun Technology Co.,Ltd.

Country or region after: China

Address before: Room 105, Business Service, No. 7, Building 1, Xueyuan Community, Songbei District, Harbin, Heilongjiang Province, 150000

Patentee before: Heilongjiang Aowei New Technology Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20211109

CF01 Termination of patent right due to non-payment of annual fee