Specific embodiment
Below in conjunction with accompanying drawing, the invention will be further described.
As shown in Fig. 1 a hotel guest room Zigbee network control system embodiment 1 including 3 distribution units
Structure chart, 3 distribution units are soft-touch control unit, respectively soft-touch control unit 110, soft-touch control unit 112, touch
Switch element 113.
There is ZigBee module in 3 distribution units shown in Fig. 1, be ZigBee node.Pass through between 3 distribution units
ZigBee-network 100 is communicated.
In 3 ZigBee nodes of ZigBee-network shown in Fig. 1,1 is ZigBee telegon, and other 2 all
ZigBee terminal node, or all ZigBee routing nodes, or 1 be ZigBee terminal node, 1 be ZigBee road
By node.
3 distribution units are only had in Fig. 1.Described hotel guest room Zigbee network control system needs to increase distribution unit
When, the distribution unit of increase has ZigBee module, is ZigBee node.
3 ZigBee nodes of ZigBee-network shown in Fig. 1 are all soft-touch control units, but the soft-touch control list wherein having
Unit is ZigBee telegon, it is added that ZigBee routing node or ZigBee terminal node.
As shown in Fig. 2 a hotel guest room Zigbee network control system embodiment 2 including 4 distribution units
Structure chart, wherein 1 be telegon unit 101, in addition 3 is soft-touch control unit, respectively soft-touch control unit 102, touch
Touch switch element 103, soft-touch control unit 104.
There is ZigBee module in the distribution unit of shown in Fig. 24, be ZigBee node.Logical between 4 distribution units
Cross ZigBee-network 106 to be communicated.
In the distribution unit of shown in Fig. 24, telegon unit 101 is ZigBee telegon, and 3 is soft-touch control unit
All ZigBee terminal nodes, or all ZigBee routing nodes, or be partly ZigBee terminal node, be partly
ZigBee routing node.
4 distribution units are only had in Fig. 2.Described hotel guest room Zigbee network control system needs to increase distribution unit
When, the distribution unit of increase has ZigBee module, is ZigBee routing node or ZigBee terminal node.
Telegon unit 101 in Fig. 2 only has the function of ZigBee telegon.Control in hotel guest room Zigbee network
The different application scenario of system, the ZigBee coordinator function of the telegon unit 10 in Fig. 2 can be in the distribution of other functions
Realize in unit.For example, in the system shown in figure 1, ZigBee telegon is realized by one of 3 soft-touch control units;?
Hotel guest room controls occasion, and ZigBee coordinator function can be realized by electricity-getting switch unit, or mobile repeater units are real
Existing;In the occasion having door lock to control, can be realized by doorlock control unit;Etc..
There are multiple distribution units in described hotel guest room Zigbee network control system, that is, have multiple ZigBee nodes;
In all of ZigBee node in system, 1 is ZigBee telegon, other all ZigBee terminal nodes, or entirely
Portion is ZigBee routing node, or part is ZigBee terminal node, is partly ZigBee routing node.It is all of
In ZigBee node, at least 1 ZigBee node is FFD node, i.e. global function node possesses the energy of ZigBee telegon
Power.
When the place that ZigBee-network phase is closed on has other ZigBee-networks, for example described ZigBee-network is used for hotel
Guestroom control, then all have the hotel guest room Zigbee network control system described in 1 in each guest room in adjacent guest room, or often
All there is 1 described ZigBee-network in individual guest room.During each ZigBee-network networking described, for avoiding in other ZigBee-networks
Distribution unit add, or the distribution unit in described ZigBee-network adds in other ZigBee-networks, can adopt
The method of specified network designation symbol.Described ZigBee telegon is set up and is selected during ZigBee-network to specify network designation symbol;Same
Hotel guest room Zigbee network control system, the ZigBee terminal node in same ZigBee-network or ZigBee in other words
Routing node selects corresponding specified network designation symbol to add described ZigBee-network.Timesharing, in batches networking can also be adopted
Method, to avoid wrong networking.The networking enabled state of described ZigBee telegon can also be set, i.e. described ZigBee association
Adjust device not allow ZigBee terminal node or ZigBee routing node to add network under normal conditions, only assist in ZigBee
In the case of adjusting the networking of device to enable and be enabled, just open for a period of time, allow ZigBee routing node or ZigBee terminal section
Point adds network.The time span opened is less than 5 minutes, and typical time period is 1 minute.
In hotel guest room Zigbee network control system embodiment shown in Fig. 1 or Fig. 2, only include 3 touches and opened
Close unit.In hotel guest room Zigbee network control system the quantity of soft-touch control unit can increase according to the actual needs or
Person reduces.Under normal circumstances, soft-touch control unit may need to control room lamp, bedside lamp, night-light, desk lamp, floor lamp, bathroom
Lamp, Mirror front lamp, shot-light, Down lamp, wall lamp etc., and other lamps;May need to control television set, ventilation fan and other electrical equipment to set
Standby;May need to control that Do not disturb, request services, please clears up, please after a while and other solicited status;May need to control
Set sleep pattern, pattern of receiving a visitor, reading model and other contextual models;Etc..Therefore, the total quantity of switch needs to increase
Plus, the quantity of soft-touch control unit usually more than 3;When especially multiple equipment needs to realize two ground or how to control, need
Will more soft-touch control units.In same ZigBee-network, the total quantity of switch can exceed 256, does not have the upper limit to limit
System.
Fig. 3 show the structure chart of soft-touch control unit embodiment, including switch micro controller module 301, ZigBee mould
Block 302, switch 1 input module 303, switch 2 input modules 304, switch 1 drive module 305, switch 2 drive modules 306, logical
Disconnected indicating module 307.ZigBee module 302, switch 1 input module 303, switch 2 input modules 304, switch 1 drive module
305th, switch 2 drive modules 306, break-make indicating module 307 and switch micro controller module 301 between have electrical connection or
With the electrical connection of Phototube Coupling, for the transmission of coherent signal.
The communication by ZigBee-network realization and other distribution units via ZigBee module 302 of soft-touch control unit,
Its effect is the data transferring data to other distribution units and receiving other distribution units.
The effect of switch micro controller module 301 includes:Analyze the data receiving by ZigBee module 302, realize this
The Synchronization Control of soft-touch control unit switch drive module 304, realizes contextual model control etc.;Control by this soft-touch control unit
System operation and state, are formed data and are sent out by ZigBee module 302;Judge identification switch 1 input module 303, open
Close state and the operation of 2 input modules 304;Controlling switch 1 drive module 305, the state of switch 1 drive module 306;Control logical
The instruction state of disconnected indicating module 307.
1 or multiple switch input module is included, corresponding to 1 or multiple electric switch in soft-touch control unit
Device, electrical apparatus-switching device i.e. usually said electric switch, or switch.Soft-touch control unit shown in Fig. 2 is real
Apply in example, have switch 1 input module 303, switch 2 input modules 304 totally 2 input module switches.Same hotel guest room
In Zigbee network control system, the number of switches of different soft-touch control units can arbitrarily select.If same hotel guest room
In Zigbee network control system, there is K soft-touch control unit, the number of switches of each soft-touch control unit is true as needed
Fixed, quantity can identical it is also possible to different;I.e. in K soft-touch control unit, the number of switches of each soft-touch control unit
It is more than or equal to 1;In K soft-touch control unit, can there are several 1 switches, several 2 switches respectively, several 3 open
Switch, several 4 switch, several 5 switches, and many switches of other quantity, etc..
The setting of each soft-touch control function of input module switch can be to realize open and close after setting one touches touch
Conversion, or the function that two touch points realize open and close respectively is set.
1 or multiple switch drive module is included in soft-touch control unit, in same soft-touch control unit, switch
The quantity of drive module is equal with the quantity of input module switch, and corresponds, the electric switch of composition same number quantity
Device.In soft-touch control unit embodiment shown in Fig. 3, switch 1 drive module 305, switch 2 drive modules 306 is had to open for totally 2
Close drive module.Switch drive module can be by electromagnetic relay, or solid-state relay, or IGCT, and he
Drive circuit composition.Here, the implication of electrical apparatus-switching device is same with daily described Switch;For example, if one
Soft-touch control unit includes 2 electrical apparatus-switching devices, then show that this soft-touch control unit includes 2 switches, can distinguish
Realize the control to 2 electrical equipment.
Break-make indicating module 307 is used for indicating the on off operating mode of switch drive module.Break-make indicating module 307 does not require must
Must configure, have break-make indicating module 307, then opening, stopping by control apparatus can be observed on the panel of soft-touch control unit
State;There is no the instruction of break-make indicating module 307, then need directly to be judged it by observation by the ruuning situation of control apparatus
Open, stop state.
It is illustrated in figure 4 the soft-touch control unit embodiment circuit including 2 switches.The control of switch micro controller module
Core adopts single-chip microcomputer, and in Fig. 4, the circuit needed for single-chip minimum system omits and is not drawn into.Input module switch, that is, touch and open
Close and adopt double bond capacitance touch inductive switch chip ASC0104-2,2 touch input ends TP0, TP1 of ASC0104-2 connect respectively
Meet touch point K1, K2, meanwhile, touch input end TP0, TP1 are grounded via electric capacity C1, C2 respectively;2 touches of ASC0104-2
Signal output part TPQ0, TPQ1 are respectively connecting to input IN0, IN1 of single-chip microcomputer;The high/low significant level choosing of ASC0104-2
Select end AHLB and power positive end VDD to connect to power supply+VCC;The output type of ASC0104-2 selects end and power supply negative terminal VSS even
It is connected to power supply ground.When including multiple switch input module in soft-touch control unit, can adopt as shown in the embodiments of figure 4
With having the integrated chip of multikey input;A single circuit can also be adopted by each input module switch.
In Fig. 4, ZigBee module is using having Full Featured CC2530 module.The serial ports of CC2530 module receives, sends
RX, TX are connected with the transmission of microcontroller serial port, receiving terminal TX, RX respectively at end;The power end VCC of CC2530 module connects to power supply
+ VCC, ground terminal GND connects to power supply ground.
In Fig. 4, optical coupling isolator M1, bidirectional thyristor V1, the switch drive mould of resistance R3, resistance R4 composition switch K1
Block, optical coupling isolator M2, bidirectional thyristor V2, the switch drive module of resistance R5, resistance R6 composition switch K2.Resistance R4 and light
After the output series connection of coupling isolator M1, it is connected in parallel to the first anode and the gate pole of bidirectional thyristor V1;Resistance R3 and optical coupling isolator
After M1 input series connection, controlled the break-make of bidirectional thyristor V1 by output end OUT1 of single-chip microcomputer;First sun of bidirectional thyristor V1
Pole and second plate are respectively the AC power phase line (live line) input L switching K1 and output end L1;The load of switch K1 is even
It is connected to output end L1 and AC power zero line.After resistance R6 is connected with the output of optical coupling isolator M2, it is connected in parallel to bidirectional thyristor
The first anode of V2 and gate pole;After resistance R5 is connected with optical coupling isolator M2 input, controlled double by output end OUT2 of single-chip microcomputer
Break-make to IGCT V2;The first anode of bidirectional thyristor V2 and second plate are respectively the AC power phase line switching K2
(live wire) input L and output end L2;The load of switch K2 connects to output end L2 and AC power zero line.Optical coupling isolator
M1, M2 can select to have the MOC3041 of zero cross fired function, MOC3042, MOC3043, MOC3061, MOC3062,
The devices such as MOC3063.
In Fig. 4, LED 1, LED 2, resistance R1, resistance R2 composition break-make indicating module.Send out
Optical diode LED1 is the signal designation of switch K1, is controlled by output end OUT3 of single-chip microcomputer;LED 2 is switch
The signal designation of K2, is controlled by output end OUT4 of single-chip microcomputer.
In Fig. 4, touch K1, then the on off operating mode of bidirectional thyristor V1 change, its load be originally electric, become mistake
Electricity, or load be that dead electricity then becomes electric originally.Similarly, touch K2, then the on off operating mode of bidirectional thyristor V2 changes,
Its load be originally electric, become dead electricity, or load be that dead electricity then becomes electric originally.
In the soft-touch control unit of same hotel guest room Zigbee network control system, in arbitrarily individual soft-touch control unit
2 or more than 2 electrical apparatus-switching devices can be configured to Interlock Status, integrating action.These are configured to shape of interlocking
Multiple electrical apparatus-switching devices of state can arbitrarily select to combine in the multiple soft-touch control units in same ZigBee-network, can
With the electrical apparatus-switching device in same or different soft-touch control unit, or existing identical soft-touch control unit,
Also there is the electrical apparatus-switching device in different soft-touch control units.Arbitrarily individual soft-touch control unit refers to 1 or more than 1
Soft-touch control unit.
Fill when in the soft-touch control unit of same hotel guest room Zigbee network control system, there being part electric switch
Put when being configured to Interlock Status, the electrical apparatus-switching device that these are configured to Interlock Status regards 1 switches set as;Remaining
Electrical apparatus-switching device remains able to be chosen combination, is configured to Interlock Status, forms other 1 switches set;In same hotel visitor
In room Zigbee network control system, the switches set being configured to Interlock Status can be 0 group, can be 1 group or many
Group.
It is multiple that described switchgear distribution becomes the mode of Interlock Status to have.For example, all switches are respectively provided with its function, by setting
Switching function, function phase is with controlled device identical switch is arranged to Interlock Status in other words, i.e. same hotel guest room
In Zigbee network control system, the consistent switch of all controlled devices is Interlock Status.Or all switches are encoded
(or numbering), in same hotel guest room Zigbee network control system, the consistent switch of all codings is Interlock Status;Etc..
When a controlled device only one of which switch is correspondingly arranged, when that is, the function of a certain switch is unique, or same wine
When in customer room Zigbee network control system, the coding of certain switch is unique, then this switch does not have and same hotel guest room
Other switches in Zigbee network control system are interlocked.
After multiple electrical apparatus-switching devices are configured to Interlock Status, the power supply of controlled device can by any of which or
The output of the switch drive module of the multiple electrical apparatus-switching device of person is being controlled.For example, by 2 electricity adopting relay output
Device switching device is configured to Interlock Status and goes to control ventilating fan, is being opened by any one in this 2 electrical apparatus-switching devices
After closing the operation of input module, this 2 relays will action simultaneously, i.e. out-put supply or simultaneously cut off the electricity supply simultaneously, air draft
The power supply of fan can be connected to any one output end in 2 relays.If it is multiple controlled right to realize 1 switch control rule
As the output that then multiple controlled devices can be connected to the switch be configured to Interlock Status different switches is controlled
System.
For example, it is located at 3 soft-touch control units in ZigBee-network shown in Fig. 1, have in soft-touch control unit 110
4 electrical apparatus-switching devices, 4 switches in other words, respectively K11, K12, K13, K14;5 electricity are had in soft-touch control unit 111
Device switching device, 5 switches in other words, respectively K21, K22, K23, K24, K25;3 electrical equipment are had in soft-touch control unit 112
Switching device, 3 switches in other words, respectively K31, K32, K33.Example 1, respectively by 3 soft-touch control units
Electrical apparatus-switching device is configured to Interlock Status, for example, K11, K23, K32 is configured to Interlock Status and goes to control room lamp, room lamp
Power supply any one output end can pick out from K11, K23, K32;Any one switch in operation K11, K23, K32, all
The control to room lamp can be realized.Example 2, by K21, K22, K33 be configured to Interlock Status go control ventilating fan, due to K21,
K22, in same soft-touch control unit, therefore can will remove to control ventilating fan after the output-parallel of K21, K22, so permissible
Improve load-carrying ability, certainly, ventilating fan can also go to control with the output of K33;Operate any one in K21, K22, K33
Switch, all can realize the control to ventilating fan.One, if only needing to improve load-carrying ability, can only be touched by example 3
The multiple electrical apparatus-switching devices touched in switch element are configured to Interlock Status, for example, K23, K24, K25 are configured to shape of interlocking
State, then will after the output-parallel of K23, K24, K25, remove to control electric heater, any one switch in operation K23, K24, K25,
To realize the control to electric heater;Compared with going control apparatus after regular tap parallel connection, the interlocking in parallel of soft-touch control unit
Control is automatic synchronization after interlocking, operates respectively, simultaneously action;Regular tap then needs to operate simultaneously, if only open commonly opened
Close one of parallel connection switch, then load still a thus switch control rule, only open all of paralleling switch, just by institute simultaneously
The switch having parallel connection is powered simultaneously, and all of paralleling switch is closed in only operation, and load is just turned off power supply.
The numbering of the function (or control object) of write switch or write switch is referred to as configuring, to institute in the switch
State switch to be configured, or switches set carry out Interlock Status configuration method have multiple.
Configured when producing.During production, the configuration information of switch is set to consistent with the silk-screen title on panel,
For example, the entitled night-light of the silk-screen on panel, then switching function is configured to night lamp switch accordingly;Silk-screen on panel is entitled
Wall lamp, then the functional configuration of respective switch is wall lamp switch;The entitled ventilation fan of silk-screen on panel, then corresponding switching function
It is configured to ventilation fan switch;When the soft-touch control unit that switch passes through to be located switchs the soft-touch control unit being located same with other
In one ZigBee-network, and when being configured to same switching function, automatically become Interlock Status.For example, same ZigBee-network
In, when having 3 functional configuration switching to switch for wall lamp, this 3 wall lamps switches automatically become Interlock Status;Only one of which switchs
Functional configuration when switching for ventilation fan, then this ventilation fan switch individually controls ventilation fan.Backup circuit breaker, or when producing not
The switch of one special entitled non-configuration feature, when functional configuration is carried out to switch, can be set, and for example, unification is set to
Backup circuit breaker, or unify to be set to not configure switch, or it is arranged to other titles;Institute functional for backup circuit breaker
The switch of (or not configuring switch), does not form switches set, is not Interlock Status.It is also possible to by switching function during actual disposition
To be replaced with numbering, for example, No. 1 switch control rule wall lamp, when the functional configuration in same ZigBee-network, having 2 switches is No. 1
During switch, this 2 No. 1 switches automatically become Interlock Status.Backup circuit breaker, or functional configuration is not carried out to switch when producing
When, a special numbering can be set, for example, be set to No. 0, that is, No. 0 switch is not carry out functional configuration to switch to open
Closing, therefore, in same ZigBee-network, even if there being multiple No. 0 switches, also will not consist of switches set, i.e. multiple No. 0 switches
It is not configured to Interlock Status;Described special numbering, is not necessarily No. 0 it is also possible to select other numberings, for example, No. 999,
Or No. 511, etc..
Configured at the scene or changed configuration.Electricity is accessed in hotel guest room Zigbee network control system at the scene
Brain or specialized configuration instrument, carry out unified configuration of networking;Or by single soft-touch control unit and computer or special join
Instrument of putting connects, and is separately configured.
1. by computer or specialized configuration instrument access scene hotel guest room Zigbee network control system or with
Single soft-touch control unit connects;
2. in the correlation engineering configuration interface of computer or specialized configuration instrument editor's need configuration switch function
Or number and select, or select to have editted the switch of function or numbering;
3. selecting switch is configured, and completes configure-ack;If necessary to configure to switches set, then continue selection and open
Pass is configured, until all for this switches set switches and the switch selected in engineering configuration interface are fully completed configuration really
Recognize;
4. return to step 2. (to be configured in hotel guest room Zigbee network control system at the scene) or step
1. (single soft-touch control unit is configured), carry out the configuration of other switches.
Described step 3. in selecting switch configured, the method completing configure-ack has a lot, one of method be into
Switching manipulation of row, realizes new configuration, cancels old configuration simultaneously.For example, it is now ready for configuring room lamp switch, in related work
The corresponding switch of room lamp is selected, then to certain switching manipulation needing configuration once, then this switch is joined in journey configuration interface
Be set to engineering configuration interface in select switch identical switching function or identical switch number, this switch once by
Other switching functions of configuration or switch number are cancelled;Again to an other switching manipulation once, then this other opening
Close and be also configured as the switch identical switching function with selection in engineering configuration interface or identical switch number, in front and back
2 switches are also arranged to 1 switches set;Again other switches are operated, then the number of switches of this switches set increases.Method
Two be that all of switch has the state instruction whether configuring;State instruction is shown with the switch not configured once is opened
Close operation, then newly configured, state instruction shows configuration successful;The switch showing configuration successful to state instruction is carried out once
Switching manipulation, then cancel configuration, and state instruction shows and do not configure;The switch not configured can be arranged to backup circuit breaker, or
It is set to not configure switch, or be arranged to other titles;The switch not configured can also be arranged to No. 0 switch, or
Person is set to other special numberings.The whether good state instruction of configuration, can use the light on and off of indicator lamp to distinguish, can be with instruction
The whether flicker of lamp is distinguished, and can be made a distinction with the flicker frequency difference of indicator lamp, etc..
The interlocking configuration of all soft-touch control units can carry out at any time reconfiguring, cancel the change such as configuration
Operation.
Described soft-touch control unit, when not with other distribution unit network consistings, can be arranged to autonomous working mould
Formula, works independently.
Fig. 5 show the example structure figure of telegon unit, including coordination micro controller module 401, ZigBee module
402.There are electrical connection or the electrical connection with Phototube Coupling between ZigBee module 402 and coordination micro controller module 401
Relation, for the transmission of coherent signal.
ZigBee node in telegon unit is defined as ZigBee telegon, and coordinating micro controller module 401 control should
ZigBee node realizes the function of ZigBee telegon in described ZigBee-network.
In multiple distribution units of described hotel guest room Zigbee network control system, 1 or multiple can also be included
Curtain control unit, each curtain control unit is 1 ZigBee node in described ZigBee-network.
Fig. 6 show the structure chart of curtain control unit embodiment, including curtain micro controller module 801, and includes
ZigBee module 802, curtain 1 give module 803, curtain 2 gives module 804, curtain 1 ON/OFF drive module 805, curtain 2
ON/OFF drive module 806.ZigBee module 802, curtain 1 give module 803, curtain 2 gives module 804, curtain 1 ON/OFF is driven
There are electrical connection or band light between dynamic model block 805, curtain 2 ON/OFF drive module 806 and curtain micro controller module 801
The electrical connection of electric isolution, for the transmission of coherent signal.2 curtain controls are included in curtain control unit shown in Fig. 6
Device, that is, include curtain controller 1, curtain controller 2;In one curtain control unit, 1 curtain controller can be only included,
3 or more curtain controller can also be included.
The effect of curtain micro controller module 801 includes:Analyze the data being received by ZigBee module 802, realize and it
The Synchronization Control of curtain controller in his curtain control unit;By the control operation of this curtain control unit and state, form number
According to and be sent out by ZigBee module 802;Judge that curtain 1 gives module 803, curtain 2 gives the state of module 804 for identification
And operation;Control curtain 1 ON/OFF drive module 805, the state of curtain 2 ON/OFF drive module 806.
Curtain 1 gives module 803 and curtain 2 gives in module 804, all include curtain open, curtain close, curtain stop
Switch or button, curtain is opened, curtain closes, the type of curtain shutdown switch or button is soft-touch control or touch button.
Curtain ON/OFF drive module, for example, curtain 1 ON/OFF drive module 805 and curtain 2 ON/OFF drive module 806
In, all include that driving means opened by curtain, curtain closes driving means, curtain open driving means and curtain close driving means can be by
Electromagnetic relay, or solid-state relay, or IGCT, and their drive circuit composition.Driving dress opened by curtain
Put and close, with curtain, the operation that driving means can be that driving is opened curtain motor and closed curtain motor respectively, or drive window respectively
Curtain motor carries out forward and backward operation, realizes the open and close of curtain.If curtain motor has distant control function, curtain ON/OFF is driven
Dynamic model block is that corresponding remote signal produces and drives radiating circuit.Curtain motor is using the motor with the automatic stop function that is hampered.
In same hotel guest room Zigbee network control system, 2 or more than 2 in arbitrarily individual curtain control unit
Curtain controller can be configured to Interlock Status, integrating action.These are configured to multiple curtain controls of Interlock Status
Device can arbitrarily select to combine in the multiple curtain control units in ZigBee-network.These are configured to the window of Interlock Status
Curtain controller, is operated on any one wherein, the action simultaneously of all curtain controllers.For example, it is located at same hotel visitor
There are bis- curtain control units of A, B in room Zigbee network control system, in A unit, have curtain controller 1, curtain controller 2,
There are curtain controller 3, curtain controller 4, curtain controller 5 in unit B.Now curtain controller 1 and curtain controller 5 are joined
It is set to Interlock Status, execution windowing curtain operation on curtain controller 1, then curtain controller 1, curtain controller 5 are performed both by window
The drive actions that curtain is opened;On curtain controller 5, curtain operation is closed in execution, then curtain controller 1, curtain controller 5 are performed both by
The drive actions that curtain closes.In practical application, the motor of curtain can select one of curtain controller to carry out the fact
On control, other curtain controllers are used for realizing his ground and control.In all curtain control units, the interlocking of curtain controller is joined
Put and can cancel at any time, or the change operation such as carry out reconfiguring.
When in the curtain control unit of same hotel guest room Zigbee network control system, there is part curtain controller
When being configured to Interlock Status, the curtain controller that these are configured to Interlock Status regards 1 curtain control group as;Remaining
Curtain controller remains able to be chosen combination, is configured to Interlock Status, forms other curtain control group;In same hotel visitor
In room Zigbee network control system, the curtain control group being configured to Interlock Status can be 0 group, can be 1 group it is also possible to
It is multigroup.
Described curtain controller be configured to Interlock Status and electrical apparatus-switching device interlocking configure the same, have various ways and
Method.For example, by arrange controlled device by way of interlocked, that is, all curtain controllers be provided with one controlled right
As in hotel guest room Zigbee network control system, the consistent curtain controller of all controlled devices is Interlock Status;Above
In the example of bis- curtain control units of A, B, setting curtain controller 1, curtain controller 5 all control main curtain, curtain control
Device 2, curtain controller 3, curtain controller 4 control other curtain, then curtain controller 1, curtain controller 5 are configured to interlock
State.Or all curtain controllers are encoded, in hotel guest room Zigbee network control system, all codings are consistent
Curtain controller be Interlock Status;Etc..
Control object or the write curtain control of curtain controller is write in the curtain controller of curtain control unit
The numbering of device processed is referred to as configuring.As switch is configured, described curtain controller is configured, or curtain control
Processed group of method carrying out Interlock Status configuration has multiple.
Configured when producing.During production, the configuration information of curtain controller is set to and the silk-screen name on panel
Claim consistent, for example, curtain based on the silk-screen title on panel, then curtain control based on corresponding curtain controller functional configuration
Device;Silk-screen on panel entitled pair curtain, then the functional configuration of corresponding curtain controller is secondary curtain controller;On panel
The entitled little curtain of silk-screen, then corresponding curtain controller functional configuration is little curtain controller;When curtain controller passes through institute
The curtain control unit that is located of curtain control unit and other curtain controllers in same ZigBee-network, and be configured to
During the controller function of same curtain, automatically become Interlock Status.For example, in same ZigBee-network, there are 3 curtain controllers
Functional configuration when being secondary curtain controller, this 3 secondary curtain controllers automatically become Interlock Status;Only one of which curtain control
When the functional configuration of device is little curtain controller, then this little curtain controller individually controls little curtain.Standby curtain controller, or
When person does not carry out functional configuration to curtain controller when being and producing, the window of a special entitled non-configuration feature can be set
Curtain controller, for example, unification is set to standby curtain controller, or unification is set to not configure curtain controller, or
It is arranged to other titles;The functional window for standby curtain controller (or not configuring other titles such as curtain controller)
Curtain controller, does not form curtain control group, is not Interlock Status.It is also possible to compile curtain controller function during actual disposition
Number replacing, for example, No. 1 curtain controller controls secondary curtain, when, in same ZigBee-network, having the work(of 2 curtain controllers
When can be configured to No. 1 curtain controller, this 2 No. 1 curtain controllers automatically become Interlock Status.Standby curtain controller, or
When person does not carry out functional configuration to curtain controller when being and producing, a special numbering can be set, for example, be set to No. 0,
I.e. No. 0 curtain controller is the curtain controller that curtain controller is not carried out with functional configuration, therefore, in same ZigBee-network
In, even if there being multiple No. 0 curtain controllers, also will not consist of curtain control group, that is, multiple No. 0 curtain controllers are configured without
Become Interlock Status.Described special numbering, is not necessarily No. 0 it is also possible to select other numberings, for example, No. 999, or 511
Number, etc..
Configured at the scene or changed configuration.Computer or specialized configuration work is accessed in ZigBee-network at the scene
Tool, carries out unified configuration of networking;Or single curtain control unit is connected with computer or specialized configuration instrument, carry out list
Solely configure.
1. by computer or specialized configuration instrument access scene ZigBee-network or with single curtain control unit
Connect;
2. the curtain controller that editor's need configures in the correlation engineering configuration interface of computer or specialized configuration instrument
Function or number and select, or select to have editted the curtain controller of function or numbering;
3. select the curtain controller in curtain control unit to be configured, complete configure-ack;If necessary to curtain
Control group is configured, then continue to select curtain controller to be configured, until by this all curtain controller of curtain control group
It is fully completed configure-ack with the curtain controller selected in engineering configuration interface;
4. 2. 1. (configuration in ZigBee-network at the scene) or step (carry out single curtain control list to return to step
Unit's configuration), carry out the configuration of other curtain controllers.
Described step 3. in selection curtain controller configured, the method completing configure-ack has a lot, method it
One is by a curtain controller operation, realizes new configuration, cancels old configuration simultaneously.For example, it is now ready for configuring main window
Curtain controller, selects main curtain controller in correlation engineering configuration interface, then the operation of certain curtain controller once (is opened
Open or close), then this curtain controller is configured to the curtain controller identical curtain with selection in engineering configuration interface
Controller function or identical curtain controller numbering, other curtain controller work(that this curtain controller was once configured
Energy or curtain controller numbering are cancelled;Again an other curtain controller is operated once, then this other curtain control
Device processed is also configured as the curtain controller identical curtain controller function or identical with selecting in engineering configuration interface
Curtain controller numbering, 2 curtain controllers are also arranged to 1 curtain control group in front and back;Again to other curtain controllers
Operated, then the curtain controller quantity of this curtain control group increases.The two of method are that all of curtain controller has and is
The no state instruction having configured;State instruction is shown with the curtain controller not configured carries out a curtain controller operation, then
Newly configured, state instruction shows configuration successful;The curtain controller showing configuration successful to state instruction carries out a window
Curtain controller operates, then cancel configuration, and state instruction shows and do not configure;The curtain controller not configured can be arranged to standby
Curtain controller, or be set to not configure curtain controller, or it is arranged to other titles;The curtain control not configured
Device can also be arranged to No. 0 curtain controller, or is set to other special numberings.The whether good state instruction of configuration,
Can be distinguished with the light on and off of indicator lamp, the flicker frequency difference whether flicker distinguished, indicator lamp can be used of indicator lamp can be used
Make a distinction, etc..
The interlocking configuration of all curtain control units can carry out at any time reconfiguring, cancel the change such as configuration
Operation.In multiple distribution units of described hotel guest room Zigbee network control system, 1 or multiple communication can also be included
Relay unit, each mobile repeater units is 1 ZigBee node in described ZigBee-network.
Fig. 7 show the structure chart of mobile repeater units embodiment, including relaying micro controller module 701, and includes
ZigBee module 702, WAN mouth module 703.ZigBee module 702, WAN mouth module 703 and relaying micro controller module 701 it
Between have electrical connection or the electrical connection with Phototube Coupling, for the transmission of coherent signal.
Mobile repeater units, its effect is to be joined described hotel guest room Zigbee network control system with internet
Logical, communicated according to Internet protocol and server etc..For example, described hotel guest room Zigbee network control system is used for wine
During the guestroom control of shop, the Main Function of mobile repeater units is exactly to realize described hotel guest room Zigbee network control system and wine
Communication between the server of shop, now mobile repeater units be referred to as room AP, or room access dot element.Communication
Relay unit passes through to realize being connected via internet between WAN mouth module 703 and hotel service device, can be in time by hotel guest room
The relevant information of Zigbee network control system is uploaded to hotel service device, is easy to monitor;Can be by hotel service device to hotel
Any distribution unit in the Zigbee network control system of guest room is managed, and realizes remotely control;Can be by hotel service device
Electrical apparatus-switching device in hotel guest room Zigbee network control system is configured, be especially by electrical apparatus-switching device it
Between Interlock Status configuration, convenient and swift;Etc..The function of mobile repeater units is by the journey relaying in micro controller module 701
Sequence carrys out control realization.
WiFi module and LAN mouth module can also be included, WiFi module 704 as shown in Figure 7 in mobile repeater units
And LAN mouth module 705.WiFi module makes mobile repeater units have Wi-Fi hotspot function, and LAN mouth module then provides a user with
LAN mouth.There are electrical connection or band between described WiFi module 704, LAN mouth module 705 and relaying micro controller module 701
The electrical connection of Phototube Coupling, for the transmission of coherent signal.
When described hotel guest room Zigbee network control system includes mobile repeater units, 1 therein can be allowed
Realize the function of telegon unit shown in Fig. 5, that is, the ZigBee node of this mobile repeater units is ZigBee telegon simultaneously.This
When, the function of control realization mobile repeater units is carried out by the program in relaying micro controller module 701, and as ZigBee association
Adjust the function of device.
When described hotel guest room Zigbee network control system is used for hotel guest room control, electricity-getting switch can also be included
Unit, each electricity-getting switch unit is 1 ZigBee node in described ZigBee-network.
Fig. 8 show the example structure figure of electricity-getting switch unit, including power taking micro controller module 201, ZigBee mould
Block 202, reading CUSTOM HOUSE HOTEL module 203.There is electricity between ZigBee module 202, reading CUSTOM HOUSE HOTEL module 203 and power taking micro controller module 201
Annexation or the electrical connection with Phototube Coupling, for the transmission of coherent signal.
The function of electricity-getting switch unit is to monitor plug-in card state at any time, and plug-in card state is sent to hotel guest room Zigbee
Other distribution units of network control system.Wherein, ZigBee module 202 is realized and other distribution units by ZigBee-network
Communication, its effect is the data transferring data to other distribution units and receiving other distribution units;Read CUSTOM HOUSE HOTEL module
203 realize the communication connection with CUSTOM HOUSE HOTEL by RF, complete changing and sending into power taking microcontroller mould of CUSTOM HOUSE HOTEL output information simultaneously
Block 201;Power taking micro controller module 201 passes through analysis CUSTOM HOUSE HOTEL output information and judges current plug-in card state, forms data and simultaneously leads to
Cross ZigBee module 202 to be sent out.The function of electricity-getting switch unit to be controlled by the program in power taking micro controller module 201
Realize.
Other distribution units in hotel guest room Zigbee network control system are according to the plug-in card state of electricity-getting switch unit
Execution is corresponding to be operated.Corresponding operation is selected according to the actual demand in hotel.For example it is desirable to must plug-in card ability
Power transmission, other distribution units in hotel guest room Zigbee network control system can only be operated under effective plug-in card state;
When ZigBee-network breaks down, other distribution units cannot obtain the plug-in card state of electricity-getting switch unit, treats as not inserting
Card.Other distribution units can also be arranged in hotel guest room Zigbee network control system working properly when, other distributions are single
Unit can only be operated under effective plug-in card state;When ZigBee-network breaks down, or do not have and other distribution units
During network consisting, distribution unit can work independently, and for example, soft-touch control unit can carry out individually operated, individually control.
When described hotel guest room Zigbee network control system includes electricity-getting switch unit it is also possible to allow its realization figure
The function of telegon unit shown in 5, that is, the ZigBee node of this electricity-getting switch unit is ZigBee telegon.Now, by power taking
Program in micro controller module 201 comes the function of control realization electricity-getting switch unit, and the work(as ZigBee telegon
Energy.If hotel guest room Zigbee network control system includes electricity-getting switch unit, also include mobile repeater units, then permissible
Selecting 1 between them allows it realize the function of telegon unit shown in Fig. 5.
In multiple distribution units of described hotel guest room Zigbee network control system, can also be included one or more empty
Tune control unit, 1 or multiple monitoring unit, 1 or multiple dimming control unit, 1 or multiple controllable socket, etc.
Deng.
Micro controller module, for example, the microcontroller that soft-touch control unit includes all is included in all distribution units
Module is switch micro controller module, and the micro controller module that telegon unit includes is to coordinate micro controller module, curtain
The micro controller module that control unit includes is curtain micro controller module, the microcontroller mould that mobile repeater units include
Block is relaying micro controller module, and the micro controller module that electricity-getting switch unit includes is power taking micro controller module;Etc..
In described hotel guest room Zigbee network control system, broadcast mode is adopted to realize between all distribution units logical
Letter, by the program run in micro controller module within distribution unit, the broadcast mode according to ZigBee-network realizes communication
Specification being embodied as.
Described ZigBee-network using broadcast mode realize communication when, due to interference etc. reason, it is possible to produce accidental
Packet loss the problems such as, cause communication failure.For improving the reliability of communication, each distribution unit can need the number of broadcast distribution
Send 1 time or more than 1 time according to repeating, retransmit every time and carry out after the delay time t of interval.The interval delay time retransmitted
The occurrence of t can be with using fixed value mode, it would however also be possible to employ random fashion produces.When t is produced using random fashion, weigh every time
The interval delay time t sending out all can be produced using random fashion, and the interval delay time retransmitted every time all randomly chooses.Between
There is no specific requirement every the scope of delay time t it is generally the case that the maximum of interval delay time t is less than 10ms, minimum
Value is more than 0.For example, it is possible to set interval delay time t randomly generate between 0.1~1ms, or between 0.1~1ms
Fixed value.
Come with the example that multiple electrical apparatus-switching devices in 3 previously described soft-touch control units are configured to Interlock Status
Illustrate to realize communication and the process of interlocking using broadcast mode.3 soft-touch control units, have 4 electricity in soft-touch control unit 110
Device switching device, 4 switches in other words, respectively K11, K12, K13, K14;5 electric switches are had in soft-touch control unit 111
Device, 5 switches in other words, respectively K21, K22, K23, K24, K25;3 electric switch dresses are had in soft-touch control unit 112
Put, in other words 3 switches, respectively K31, K32, K33.If now use to arrange the mode of same controlled device to carry out
Interlocking configuration, the control object of K11, K23, K32 is both configured to room lamp, and other switches are set to other control objects.When room lamp
Present condition when being to turn on light state, K23 is carried out close the operation of room lamp, soft-touch control unit 111 is by the switch drive module of K23
Close, the relevant information controlling room lamp is converted to data simultaneously and is sent to ZigBee-network using broadcast mode;Soft-touch control
After unit 110, soft-touch control unit 112 receive the data of soft-touch control unit 111, respectively by be all the K11 controlling room lamp,
The switch drive module of K32 is closed, and realizes synchronous;If also having mobile repeater units, communication relay list in ZigBee-network
Soft-touch control unit 111 is controlled the information reporting of room lamp to hotel service device 705 by unit.Other distribution units receive touch and open
After closing the information that unit 111 controls room lamp, analysis result is learnt unrelated with own, then ignore this information.
Broadcast mode is adopted to realize communication between distribution unit, distribution unit forms ZigBee net using MANET mode
Network;When sending data, only the relevant information of this distribution unit is transmitted, the information of transmission is unrelated with other distribution units.
For example, the aforementioned pass room lamp that carries out on K23 operates, and the relevant information that K23 controls room lamp is converted to number by soft-touch control unit 111
Send to other distribution units according to using broadcast mode, the data is activation of soft-touch control unit 111 is unrelated with other distribution units,
More precisely, with whether have other switches (i.e. electrical apparatus-switching device) and K23 to be configured to Interlock Status unrelated.Other distributions
Unit receive soft-touch control unit 111 transmission K23 control the relevant information of room lamp after, the distribution unit related to this information
Then this information is processed accordingly, for example, in soft-touch control unit 110, soft-touch control unit 112, also had control room respectively
The switch (i.e. electrical apparatus-switching device) of lamp, therefore carries out corresponding simultaneously operating;If be modified to interlocking configuration, will
K32 is changed to control wall lamp, then soft-touch control unit 112 receives after K23 controls the relevant information of room lamp and also can ignore this information.
Distribution unit adopts broadcast mode to realize communication, and when described ZigBee-network breaks down, or part is distributed
When unit breaks down, the ZigBee-network of intact part or the ZigBee-network being made up of intact part distribution unit
Remain able to normal work.Room lamp be both configured to the control object of aforementioned K11, K23, K32 realize the example of interlocked control be
Example illustrates, when the distribution unit that K32 is located cannot be communicated with other distribution units in ZigBee-network, i.e. K32
The distribution unit being located breaks down, or the part appearance that the distribution unit that is located with K32 of ZigBee-network is communicated
During fault, although K32 and K11, K23 are configured to for Interlock Status, the distribution unit that K32 is located is also at autonomous working shape
State, actual that be still within Interlock Status is K11 and K23.When room lamp is to be controlled by the output of K11 or K23, former
This is controlled by three ground that K32, K11, K23 realize and becomes present being controlled by two ground that K11, K23 realize.
When there being multiple ZigBee to be global function node in described ZigBee-network, that is, during FFD node, one of them is joined
Be set to ZigBee telegon mode have multiple.
The mode one of configuration ZigBee telegon:By the way of fixed configurations in advance, will described ZigBee-network
Fixed configurations are ZigBee telegon to one of multiple FFD in advance, and other FFD are configured to router node or terminal section
Point.For example, the ZigBee node of telegon unit 101 in the ZigBee-network shown in Fig. 2 is configured to ZigBee telegon, touches
Touch switch element 102, soft-touch control unit 103, the ZigBee node of soft-touch control unit 104 are configured to router node or
Terminal node;Other FFD being further added by the basis of system shown in Figure 2 are also configured to router node or terminal section
Point.Or when having mobile repeater units in multiple FFD of described ZigBee-network, by the ZigBee section of mobile repeater units
Point is configured to ZigBee telegon, and other FFD are configured to router node or terminal node;When described ZigBee-network
When having multiple mobile repeater units in multiple FFD, one of mobile repeater units are configured to ZigBee telegon, other
FFD is configured to router node or terminal node.Etc..When by the way of fixed configurations in advance, it is configured to ZigBee
The program run in micro controller module within the FFD of telegon is the program of matching and coordination device function, other microcontroller moulds
Run in block is the program of coupling router node function or terminal node function.
The mode two of configuration ZigBee telegon:By the way of engineering configuration determines, will described ZigBee-network
One of multiple FFD option and installment is defined as ZigBee telegon, other FFD option and installments be defined as router node or
Terminal node.Using engineering configuration determine by the way of configure ZigBee telegon method have multiple, can produce when carry out
Configuration determines and determines or modification configuration it is also possible to carry out configuration at the scene;Electricity can be linked in ZigBee-network at the scene
Brain or specialized configuration instrument, the unified configuration that carries out networking determines it is also possible to by single distribution unit and computer or special join
Instrument of putting connects, and carries out off-network and determination is separately configured;Can also control in the input of the I/O end of distribution unit micro controller module
The level signal of system is being configured.
Whether the networking function of ZigBee telegon is opened the method being controlled have multiple.Can have ZigBee
The fixed operation of the enterprising professional etiquette of control panel of the distribution unit of coordinator function is opening;Can have ZigBee telegon work(
The level signal that the I/O end input input of the distribution unit micro controller module of energy can control, to be opened, for example, increases
One button is opening;Computer or specialized opener can be linked in ZigBee-network at the scene, carry out networking and open;
Mobile repeater units can be passed through, controlled by the corresponding management control program in hotel service device and open;Etc..
When described distribution unit sends data, if transmission data, the i.e. type of drive of transmission data adopt event-driven
One of mode, time type of drive, or adopt event driven manner and time type of drive simultaneously.Described event is driven
When flowing mode refers to that place distribution unit creates the data needing to send, that is, log-on data sends, will be according to this distribution unit
The data is activation that relevant information produces is to other distribution units;For example, when soft-touch control unit has switching manipulation, need to start number
According to transmission;For example, after mobile repeater units receive the data of hotel service device, log-on data is needed to send;Etc..When described
Between type of drive refer to that the data such as the status information of place unit are periodically sent out by distribution unit.
The control core of the micro controller module of described distribution unit, such as switch micro controller module, coordination microcontroller
The control core of the modules such as device module, curtain micro controller module, relaying micro controller module, power taking micro controller module is permissible
Select single-chip microcomputer, the microcontroller such as ARM, DSP it is also possible to select the controllers such as CPLD.
The configuration information of each distribution unit, such as switch interlock configuration information, the configuration information of ZigBee node, various knowledges
Other code, address code information, etc. all allow modification, but need the information of the still reservation when having a power failure, be saved in distribution unit
The nonvolatile memory that carries of control core of micro controller module in, or be stored in microcontroller in distribution unit
In outer the increasedd nonvolatile memory of the control core of module.For example, when control core selects single-chip microcomputer, modification information is protected
Exist in the nonvolatile memory of single-chip microcomputer, or be stored in the nonvolatile memory device that SCM peripheral is extended
In.
The power supply of described distribution unit can be using zero fire-wire power it is also possible to adopt single live wire electricity as needed
Source.
Described hotel guest room Zigbee network control system, without control main frame, can select appropriate number of as needed
The correlation distribution unit such as soft-touch control unit voluntarily forms ZigBee-network;It is configured to can realize between the switch of Interlock Status
Interlocked control, integrating action, that is, realize two places control, how to control and control it is also possible to realize a ground, two places or how simultaneously
Action;Be configured between the curtain controller of Interlock Status to realize interlocked control, integrating action, that is, realize two places control,
How to control and control it is also possible to realize a ground, two places or how action simultaneously;Each distribution unit can adopt 86 bottom case structures
Installed;There is low cost, installation and debugging and easily and efficiently advantage.
Fig. 4 embodiment is only an example.Select or design soft-touch control unit, telegon unit according to above-mentioned requirements, take
The micro controller module circuit of electric switch unit, mobile repeater units, curtain control unit etc., and select or to design it corresponding
Peripheral module device and circuit, to realize corresponding function, be the routine techniques that those skilled in the art are grasped.