Based on bus type many illumination collector of wireless telecommunications
Technical field
The present invention relates to the technical field of intelligent equipment of illuminator, particularly, is a kind of bus type many illumination collector based on wireless telecommunications.
Background technology
Wireless telecommunications ZigBee technology be a kind of advanced person closely, low complex degree, low-power consumption, low data rate, low cost, high reliability, high security two-way wireless communication technology, its basis is IEEE802.15.4 international standard protocol.At present worldwide, ZigBee technology obtains a wide range of applications in multiple industry.The main feature of ZigBee technology be low in energy consumption, strong interference immunity, effective range flexibly, arrange net easily etc.Its operating power consumption is much smaller than the operating power consumption of WiFi, and Zigbee interference free performance is better than bluetooth and WiFi far away.
Wire communication KNX bus is the unique open international standard of household and building control field, is to be developed by large bus protocol EIB, BatiBus and EHS merging in Europe three.European standard (CENELECEN50090 & CENENl3321-1), international standard (ISO/IECl4543-3), Unite States Standard (ANSI/ASHRAEl35) and Chinese Industrial Standards (CIS) (GB/Z20965) has been approved for before KNX standard mesh.The main advantage of KNX standard has: international standard, can stand test in the future, the interoperability being guaranteed product by product certification and interactivity, can be used for application that all households and building control, is suitable for various building, supports various configurations pattern, supports multiple communication media, independent of any hardware or software engineering.KNX is a distributed bus system based on event control, system adopts serial data communication to carry out controlling, monitoring and status report, all bus units all connect (i.e. bus) exchange message mutually by the serial transmission shared, transfer of data is carried out according to the determined rule of bus protocol, the information that need send first is packed and is formed standard transmission formats (i.e. message), is then sent to one or more final controlling element (order recipient) by bus from a sensing device (order sender).
In the power consumption of the building construction in modern times, the power consumption of illuminator account for about 20% to 30%, very large on the power consumption impact of whole building, particularly the power consumption proportion of the building lighting system such as market, supermarket, office block is closer to the upper limit, so well can meet the call of country's " energy-saving and emission-reduction " undoubtedly to the conservation measures of illuminator.The conservation measures of the smart machine of illuminator is mainly started with from the invalid illumination of minimizing.To some indoor places in building, during as designed in office space, public aisle, toilet, garage parking, machine room, warehouse etc., according to the lighting standard of country, the actual illumination of design is often always above national standard.In order to reduce invalid illumination, the permanent illumination control system of general employing in intelligent building, and as the illuminance transducer in this kind of place of office, be the fixed installation mode and the wire communication form connecting system that adopt ceiling at present, wiring is inconvenient, detecting location is fixed, inaccurate, if and adopt the desktop illuminance meter of wireless illumination harvester combining wireless, particularly adopt this low-power consumption of ZigBee, strong interference immunity, effective range technology flexibly, a lot of wiring will be reduced, increase flexibility and the accuracy of illumination collection.If the rear end of illumination harvester, adopt the bus of general International or National standard with permanent illumination control system system bound fraction, will more be conducive to opening that illumination controls, operability and integration.So similar reception ZigBee wireless illumination intensity signal, and the device of being transferred by data-signal into this open bus of similar KNX just becomes present stage office lighting controls a kind of product that occasion needs badly.
Summary of the invention
The present invention is directed to above shortcomings in prior art, provide a kind of bus type many illumination collector based on wireless telecommunications.
The present invention is achieved by the following technical solutions.
A kind of bus type many illumination collector based on wireless telecommunications; comprise wireless communication module, embedded microprocessor (MCU), KNX bus communication module, power module, condition indication circuit and to code key circuit, described wireless communication module, KNX bus communication module, power module, condition indication circuit and code key circuit is connected with embedded microprocessor respectively; Wherein:
Wireless communication module, arranges according to embedded micro processor and uploads spacing command, the brightness value wireless signal that the outside some wireless illuminance meters of automatic reception send, thus forms some illumination communication wireless links;
KNX bus communication module, according to the communication instruction of embedded microprocessor, the brightness value collected by wireless communication module and outside KNX bus carry out data sharing;
Power module; for providing power supply to embedded microprocessor; thus to wireless communication module, KNX bus communication module, condition indication circuit and provide power supply to code key circuit, the system communication such as voltage clutter, the surge running interference produced is filtered meanwhile;
Condition indication circuit, is connected with illumination communication wireless link by embedded microprocessor, is used to indicate the communication state of each illumination communication wireless link;
To code key circuit, by embedded microprocessor and the wireless connections of external wireless illuminance meter, mate match for carrying out single loop with wireless illuminance meter;
Embedded microprocessor, for wireless communication module, KNX bus communication module, condition indication circuit and to the coordination between code key circuit, running, data calculate and store and logic control.
Described wireless communication module comprises: zigbee telecommunication circuit and antenna, the brightness value wireless signal that described zigbee telecommunication circuit reception antenna receives, and this wireless signal is processed, and be transferred to embedded microprocessor by internal bus, embedded microprocessor informs zigbee telecommunication circuit by needing the message sent by internal bus simultaneously, and zigbee telecommunication circuit transfers the receptible electric signal of wireless zigbee link to by packing message and launches.
Described KNX bus communication module comprises: KNX bus protocol chip and KNX bus physical interface circuit, described KNX bus protocol chip is connected with embedded microprocessor by internal bus, and described KNX bus physical interface circuit is connected with outside KNX bus.
The communication state of described KNX bus communication module is, the brightness value of each illumination communication wireless link that embedded microprocessor obtains after data being calculated is stored in the internal memory that embedded microprocessor carries, embedded microprocessor sets a threshold value, when current illumination value exceedes this threshold value relative to the change of previous brightness value, embedded microprocessor carries out communication by internal bus and KNX bus communication module, gives KNX bus communication module by needing to send current illumination value to the illumination transmission order of outside KNX bus:
After KNX bus protocol chip receives illumination transmission order; form the KNX message comprising current illumination value; then KNX message is sent to KNX bus physical interface circuit, message is formed and meets the physics voltage signal that KNX electrically sends requirement and be sent to outside KNX bus by KNX bus physical interface circuit; Or
After KNX bus protocol chip receives illumination transmission order, illumination is sent order and is sent to outside KNX bus by KNX bus physical interface circuit, after the message of brightness value is read in the requirement received by KNX bus physical interface circuit from outside KNX bus of KNX bus protocol chip, communication is carried out with embedded microprocessor, the brightness value stored in internal memory is returned to KNX bus protocol chip by embedded microprocessor, after KNX bus protocol chip receives brightness value, illumination is read feedback signal and be sent to outside KNX bus by KNX bus physical interface.
Described power module comprises: voltage conversion circuit and filter circuit, and described voltage conversion circuit is connected with external circuit, is, after 5V voltage, be connected outside 220V voltage transitions with filter circuit, filters system communication running interference.
Described filter circuit is EMC filter circuit.
Described illumination communication wireless link is 8 tunnels, and described condition indication circuit comprises 8 line state indicator light circuits, and each line state indicator light circuit described all connects by embedded microprocessor is corresponding with a road illumination communication wireless link.
Described indicator light is LED, and described 8 line state indicator light circuits have multimode Presentation Function.
Described external wireless illumination counts 8, described 8 tunnels are comprised to code button to code key circuit, each road described all to be mated with a wireless illuminance meter by embedded microprocessor code button and is matched, namely after a road is pressed code button, embedded microprocessor also can be in the external wireless illuminance meter to code state in predetermined Zigbee channel search, search successfully, one tunnel is mated passage to code button with corresponding external wireless illuminance meter by embedded microprocessor, then embedded microprocessor records match information, and automatically identify for the signal of follow-up same channel provides and store.
Compared with prior art, the present invention has following beneficial effect:
Bus type many illumination collector based on wireless telecommunications provided by the invention, a kind ofly carry out communication based on Zigbee wireless communication technique and multiple desktop wireless illuminance meter and signal be converted to the device of KNX STD bus data, the collection front end solving traditional illumination needs to be made up of multiple wired sensor, connect up loaded down with trivial details, transducer uses ceiling to install, cannot be correct, measure the actual brightness value of desk tops and family's desktop accurately, and intelligent bus is not supported in rear end, can not the problem that gathers of the multiple illumination of effective integration at a device, there is cost performance high, illumination amount of acquisition channels reaches 8 tunnels, leading portion can coordinate the wireless illuminance meter of Zigbee to use the information gathered accurate, flexible configuration, each loop can flexible configuration and any wireless illuminance meter matching transmission, simultaneously rear end can compatible international KNX communication standard, that illumination data is easy to the features such as integrated and control.
It is high that the present invention has cost performance; illumination amount of acquisition channels is more, information accurate, flexible configuration, the simultaneously feature such as compatible wireless Zigbee standard and wired KNX communication standard; being applicable to Smart Home field, using needing the occasion according to the strong and weak automatic control lamp of the illumination gathered is bright weak; Also be applicable to Intelligent Business building field, needing the situation according to illumination Based Intelligent Control Administrative Area brightness, the rear end as wireless illuminance meter gathers the use of collection.
Accompanying drawing explanation
By reading the detailed description done non-limiting example with reference to the following drawings, other features, objects and advantages of the present invention will become more obvious:
Fig. 1 is overall structure schematic diagram of the present invention.
Embodiment
Below embodiments of the invention are elaborated: the present embodiment is implemented under premised on technical solution of the present invention, give detailed execution mode and concrete operating process.It should be pointed out that to those skilled in the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.
As shown in Figure 1; present embodiments provide a kind of bus type many illumination collector based on wireless telecommunications; comprise wireless communication module, embedded microprocessor (MCU), KNX bus communication module, power module, condition indication circuit and to code key circuit, described wireless communication module, KNX bus communication module, power module, condition indication circuit and code key circuit is connected with embedded microprocessor respectively; Wherein:
Wireless communication module, arranges according to embedded emblem type processor and uploads spacing command, the brightness value wireless signal that the outside some wireless illuminance meters of automatic reception send, thus forms some illumination communication wireless links;
KNX bus communication module, according to the communication instruction of embedded microprocessor, the brightness value collected by wireless communication module and outside KNX bus carry out data sharing;
Power module; for providing power supply to embedded microprocessor; thus to wireless communication module, KNX bus communication module, condition indication circuit and provide power supply to code key circuit, the system communication such as voltage clutter, the surge running interference produced is filtered meanwhile;
Condition indication circuit, is connected with illumination communication wireless link by embedded microprocessor, is used to indicate the communication state of each illumination communication wireless link;
To code key circuit, by embedded microprocessor and the wireless connections of external wireless illuminance meter, mate match for carrying out single loop with wireless illuminance meter;
Embedded microprocessor, for wireless communication module, KNX bus communication module, condition indication circuit and to the coordination between code key circuit, running, data calculate and store and logic control.
Further, described wireless communication module comprises: zigbee telecommunication circuit and antenna, the brightness value wireless signal that described zigbee telecommunication circuit reception antenna receives, and this wireless signal is processed, and be transferred to embedded microprocessor by internal bus, embedded microprocessor informs zigbee telecommunication circuit by needing the message sent by internal bus simultaneously, and zigbee telecommunication circuit transfers the receptible electric signal of wireless zigbee link to by packing message and launches.
Further, described KNX bus communication module comprises: KNX bus protocol chip and KNX bus physical interface circuit, described KNX bus protocol chip is connected with embedded microprocessor by internal bus, and described KNX bus physical interface circuit is connected with outside KNX bus.
Further, the communication state of described KNX bus communication module is, the brightness value of each illumination communication wireless link that embedded microprocessor obtains after data being calculated is stored in the internal memory that embedded microprocessor carries, embedded microprocessor sets a threshold value, when current illumination value exceedes this threshold value relative to the change of previous brightness value, embedded microprocessor carries out communication by internal bus and KNX bus communication module, gives KNX bus communication module by needing to send current illumination value to the illumination transmission order of outside KNX bus:
After KNX bus protocol chip receives illumination transmission order; form the KNX message comprising current illumination value; then KNX message is sent to KNX bus physical interface circuit, message is formed and meets the physics voltage signal that KNX electrically sends requirement and be sent to outside KNX bus by KNX bus physical interface circuit; Or
After KNX bus protocol chip receives illumination transmission order, illumination is sent order and is sent to outside KNX bus by KNX bus physical interface circuit, after the message of brightness value is read in the requirement received by KNX bus physical interface circuit from outside KNX bus of KNX bus protocol chip, communication is carried out with embedded microprocessor, the brightness value stored in internal memory is returned to KNX bus protocol chip by embedded microprocessor, after KNX bus protocol chip receives brightness value, illumination is read feedback signal and be sent to outside KNX bus by KNX bus physical interface.
Further, described power module comprises: voltage conversion circuit and filter circuit, and described voltage conversion circuit is connected with external circuit, is, after 5V voltage, be connected outside 220V voltage transitions with filter circuit, filters system communication running interference.
Further, described filter circuit is EMC filter circuit.
Further, described illumination communication wireless link is 8 tunnels, and described condition indication circuit comprises 8 line state indicator light circuits, and each line state indicator light circuit described all connects by embedded microprocessor is corresponding with a road illumination communication wireless link.
Further, described indicator light is LED, and described 8 line state indicator light circuits have multimode Presentation Function.
Further, described external wireless illumination counts 8, described 8 tunnels are comprised to code button to code key circuit, each road described all to be mated with a wireless illuminance meter by embedded microprocessor code button and is matched, namely after a road is pressed code button, embedded microprocessor also can be in the external wireless illuminance meter to code state in predetermined Zigbee channel search, search successfully, one tunnel is mated passage to code button with corresponding external wireless illuminance meter by embedded microprocessor, then embedded microprocessor records match information, and automatically identify for the signal of follow-up same channel provides and store.
Be specially,
Wireless communication module is responsible for and is reached 8 wireless illuminance meter communications of outside Zigbee most, forms illumination and collects the wireless link gathered.KNX bus communication module is responsible for the international KNX STD bus of 8 illumination collection values and outside to carry out data sharing.220V voltage is changed into 5V voltage, powers for modules by power module, and with EMC filtering, the interference that the voltage clutter, surge etc. that can filter electrical network operate system communication.Condition indication circuit is used to refer to the communication state of each illumination communication wireless link.Be used for doing single loop with external wireless illuminance meter to code key circuit to mate to match and use.Embedded microprocessor (MCU) is responsible for coordination, running, the data calculating of modules and is stored and logic control in whole device.
During work,
Zigbee communication circuit, reception and the transmission of brightness value wireless signal is carried out by aluminum antenna, embedded micro processor is when initialization, can send by the Zigbee communication circuit of wireless communication module and antenna the order arranging and upload interval, outside wireless illuminance meter can upload interval time by Lookup protocol after receiving this order.So at set intervals, the wireless communication module of many illumination collector can receive the frame message with illumination sensed values to outside wireless illuminance meter automatically, Zigbee communication circuit by decoding and arranging the communication packet resolving to and can be identified, and sends it to embedded micro processor by internal bus and analyzes.Processor has during the message needing to send and broadcast will inform zigbee telecommunication circuit by internal bus, and zigbee telecommunication circuit transfers the receptible electric signal of wireless zigbee link to by packing message, is gone out wirelessly by antenna transmission.
The brightness value of each illumination communication wireless link that embedded microprocessor obtains after data being calculated is stored in the internal memory carried.According to different configurations; embedded microprocessor can set a threshold value; when current illumination value exceedes this threshold value relative to the change of previous value; embedded microprocessor can carry out communication by internal bus and KNX bus communication module, gives KNX bus communication module by needing to send current illumination value to the illumination transmission order of outside KNX bus; After KNX bus protocol chip in KNX bus communication module receives illumination transmission order, the KNX message comprising current illumination value can be formed, then send to KNX bus physical interface circuit, message can be formed and meet the physics voltage signal that KNX electrically sends requirement and be sent to outside KNX bus by KNX bus physical interface circuit.
Another kind of situation, after KNX bus protocol chip receives illumination transmission order, directly illumination is sent order and be sent to outside KNX bus by KNX bus physical interface circuit, after the message of brightness value is read in the requirement received by KNX bus physical interface circuit from outside KNX bus of KNX bus protocol chip, with embedded microprocessor communication, the brightness value stored in internal memory can be returned to bus protocol chip by embedded microprocessor, after bus protocol chip receives brightness value, illumination is read feedback signal to be sent by KNX bus physical interface circuit.
After one of them of bus type many illumination collector is pressed code button, embedded microprocessor also can be in the external wireless illuminance meter to code state in predetermined Zigbee channel search, search successfully, one tunnel is mated passage to code button with corresponding external wireless illuminance meter by embedded microprocessor, then embedded microprocessor records match information, if when receiving next time and send the signal of this channel, will automatically identify and be stored into corresponding internal memory.
8 line state indicator light circuits have multimode Presentation Function, when bus type many illumination collector carries out mating code, when the match is successful, normal communication when gathering wireless brightness value, broken string time, the LED state lantern festival of condition indication circuit presents different flickers and color state under the control of embedded microprocessor, to arrive the object of instruction many illumination collector wireless communication state, be beneficial to the application of configuration and Practical Project.
Power module converts 220V voltage to 5V voltage by high efficiency rectification and reduction voltage circuit, supplies other modules and uses.When occurring external voltage fluctuations, surge or being struck by lightning, by EMC filter circuit transient suppression diode and the gentle electric current and voltage violent change occurred instantaneously of its attached discharge circuit.
Above specific embodiments of the invention are described.It is to be appreciated that the present invention is not limited to above-mentioned particular implementation, those skilled in the art can make various distortion or amendment within the scope of the claims, and this does not affect flesh and blood of the present invention.