Many illumination of bus type collector based on wireless telecommunications
Technical field
The present invention relates to the smart machine technical field of illuminator, particularly, is a kind of many illumination of bus type collector based on wireless telecommunications.
Background technology
Wireless telecommunications ZigBee technology be a kind of advanced person closely, the two-way wireless communication technology of low complex degree, low-power consumption, low data rate, low cost, high reliability, high security, its basis is the IEEE802.15.4 international standard protocol.At present worldwide, the Zigbee technology has obtained to use widely 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 work power consumption is much smaller than the work power consumption of WiFi, and the 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 merge development by Europe three big bus protocol EIB, BatiBus and EHS.European standard (CENELEC EN 50090 ﹠amp have been approved for before the KNX standard mesh; CEN ENl3321-1), international standard (ISO/IECl4543-3), Unite States Standard (ANSI/ASHRAEl35) and Chinese Industrial Standards (CIS) (GB/Z20965).The main advantage of KNX standard has: international standard, can stand in the future test, by product certification guarantee product interoperability and interactivity, can be used for all households and building control application, be suitable for various building, support various configurations pattern, support multiple communication media, be independent of any hardware or software engineering.KNX is a distributed bus system that controls based on event, system adopts that serial data communication is controlled, monitoring and status report, all bus units all connect (being bus) exchange message mutually by the serial transmission of sharing, transfer of data is carried out according to the determined rule of bus protocol, the information packing earlier that needs to send forms standard transmission formats (being message), is sent to one or more final controlling elements (order recipient) by bus from a sensing device (order sender) then.
In the power consumption of the building construction in modern times, the power consumption of illuminator has accounted for about 20% to 30%, power consumption influence to whole building is very big, the more close upper limit of power consumption proportion of building lighting systems such as market, supermarket, office block particularly is so can well 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 reducing invalid illumination.To some indoor places, when doing design as office space, public aisle, toilet, garage parking, machine room, warehouse etc., according to the lighting standard of country, the actual illumination of design often always surpasses national standard in the building.In order to reduce invalid illumination, the permanent illumination control system of general employing in the intelligent building, and the illuminance transducer in this class place of picture office at present is to adopt to inhale fixed installation mode and the wire communication form connecting system that pushes up, wiring is inconvenient, detecting location fixes, 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 wirings be will reduce, flexibility and accuracy that illumination is gathered increased.If the rear end of illumination harvester is adopted the bus of general International or National standard with permanent illumination control system system bound fraction, but will more be conducive to opening, operability and the integration of illumination control.So the wireless illumination intensity signal of similar reception ZigBee, and the device that data-signal is transferred into this open bus of similar KNX just becomes a kind of product that present stage office lighting control occasion is needed badly.
Summary of the invention
The present invention is directed to above shortcomings in the prior art, a kind of many illumination of bus type collector based on wireless telecommunications is provided.
The present invention is achieved by the following technical solutions.
A kind of many illumination of bus type collector based on wireless telecommunications, comprise wireless communication module, embedded microprocessor (MCU), KNX bus communication module, power module, condition indication circuit and to the sign indicating number key circuit, described wireless communication module, KNX bus communication module, power module, condition indication circuit and the sign indicating number key circuit is connected with embedded microprocessor respectively; Wherein:
Wireless communication module, order is at interval uploaded in setting according to the embedded micro processor, the brightness value wireless signal that the outside some wireless illuminance meters of automatic reception send, thus form some illumination communication Radio Links;
The KNX bus communication module according to the communication instruction of embedded microprocessor, carries out data sharing with brightness value and outside KNX bus that wireless communication module collects;
Power module, be used for providing power supply to embedded microprocessor, thereby provide power supply to wireless communication module, KNX bus communication module, condition indication circuit and to the sign indicating number key circuit, simultaneously, system communication runnings such as the voltage clutter that produces, surge are disturbed filter;
Condition indication circuit is connected with illumination communication Radio Link by embedded microprocessor, is used to indicate the communication state of each illumination communication Radio Link;
To the sign indicating number key circuit, by embedded microprocessor and the wireless connections of external wireless illuminance meter, be used for carrying out the coupling pairing of single loop with wireless illuminance meter;
Embedded microprocessor is used for wireless communication module, KNX bus communication module, condition indication circuit and to the coordination between the sign indicating number key circuit, running, data computation and storage 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 handled, and be transferred to embedded microprocessor by internal bus, the message that the while embedded microprocessor will need to send is informed the zigbee telecommunication circuit by internal bus, and the zigbee telecommunication circuit transfers the receptible electric signal emission of wireless zigbee link to by the packing message.
Described KNX bus communication module comprises: KNX bus communication protocol chip and KNX bus physical interface circuit, described KNX bus communication 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 Radio Link that embedded microprocessor obtains after with data computation is stored in the internal memory that embedded microprocessor carries, embedded microprocessor is set a threshold value, when current brightness value surpasses this threshold value with respect to the variation of previous brightness value, embedded microprocessor carries out communication by internal bus and KNX bus communication module, needs is sent current brightness value give KNX bus communication module to the illumination transmission order of outside KNX bus:
After KNX bus communication protocol chip receives that illumination sends order, formation comprises the KNX message of current brightness value, then the KNX message is sent to KNX bus physical interface circuit, KNX bus physical interface circuit forms the physics voltage signal that satisfies the electric transmission requirement of KNX with message and is sent to outside KNX bus; Or
After KNX bus communication protocol chip receives that illumination sends order, illumination is sent order be sent to outside KNX bus by KNX bus physical interface circuit, when KNX bus communication protocol chip receive by KNX bus physical interface circuit read the message of brightness value from the requirement of outside KNX bus after, carry out communication with embedded microprocessor, embedded microprocessor is returned to KNX bus communication protocol chip with the brightness value that stores in the internal memory, after KNX bus communication protocol chip is received brightness value, illumination is read feedback signal be sent to outside KNX bus by KNX bus physical interface.
Described power module comprises: voltage conversion circuit and filter circuit, described voltage conversion circuit is connected with external circuit, outside 220V voltage transitions is 5V voltage after, be connected with filter circuit, system communication running is disturbed is filtered.
Described filter circuit is the EMC filter circuit.
Described illumination communication Radio Link is 8 the tunnel, and described condition indication circuit comprises 8 line state indicator light circuits, and described each line state indicator light circuit is all by embedded microprocessor and the corresponding connection of one tunnel illumination communication Radio Link.
Described indicator light is the LED lamp, and described 8 line state indicator light circuits have the multimode Presentation Function.
Described external wireless illumination is counted 8, described the sign indicating number key circuit is comprised 8 the tunnel to the sign indicating number button, all match by embedded microprocessor and a wireless illuminance meter coupling to the sign indicating number button on described each road, namely one the tunnel sign indicating number button pressed after, embedded microprocessor can also be in the external wireless illuminance meter to the sign indicating number state in predetermined Zigbee channel search, after searching successfully, embedded microprocessor with one the tunnel to sign indicating number button and corresponding external wireless illuminance meter coupling passage, embedded microprocessor is noted match information then, and provides automatic identification and storage for the signal of follow-up same channel.
Compared with prior art, the present invention has following beneficial effect:
Many illumination of bus type collector based on wireless telecommunications provided by the invention, be a kind ofly to carry out communication and signal is converted to the device of KNX STD bus data based on Zigbee wireless communication technique and a plurality of wireless desktop illuminance meter, the collection front end that has solved traditional illumination need be made up of a plurality of wired sensors, it is loaded down with trivial details to connect up, transducer uses inhales the top installation, can't be correct, measure the actual brightness value of desk tops and family's desktop accurately, and intelligent bus is not supported in the rear end, the problem of gathering in can not the effective integration a plurality of illumination of a device, has the cost performance height, illumination is gathered way and is reached 8 the tunnel, leading portion can cooperate the wireless illuminance meter of Zigbee to use the information of gathering accurate, flexible configuration, but each loop flexible configuration and the transmission of any wireless illuminance meter coupling, the rear end can compatible international KNX communication standard simultaneously, be that illumination data is easy to characteristics such as integrated and control.
The present invention has the cost performance height, illumination gathers that way is more, information accurately, flexible configuration, characteristics such as compatible wireless Zigbee standard and wired formula KNX communication standard simultaneously, be applicable to the Smart Home field, in needs occasion use a little less than the strong and weak automatic control lamp light according to the illumination of gathering; Also be applicable to intelligent commercial building field, in the situation of needs according to illumination Based Intelligent Control Administrative Area brightness, gather the usefulness of collection as the rear end of wireless illuminance meter.
Description of drawings
By reading the detailed description of non-limiting example being done with reference to the following drawings, it is more obvious that other features, objects and advantages of the present invention will become:
Fig. 1 is overall structure schematic diagram of the present invention.
Embodiment
Below embodiments of the invention are elaborated: present embodiment is being to implement under the prerequisite with the technical solution of the present invention, has provided detailed execution mode and concrete operating process.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 embodiment provides a kind of many illumination of bus type collector based on wireless telecommunications, comprise wireless communication module, embedded microprocessor (MCU), KNX bus communication module, power module, condition indication circuit and to the sign indicating number key circuit, described wireless communication module, KNX bus communication module, power module, condition indication circuit and the sign indicating number key circuit is connected with embedded microprocessor respectively; Wherein:
Wireless communication module is uploaded order at interval according to the type processor setting of embedded emblem, the brightness value wireless signal that the outside some wireless illuminance meters of automatic reception send, thus form some illumination communication Radio Links;
The KNX bus communication module according to the communication instruction of embedded microprocessor, carries out data sharing with brightness value and outside KNX bus that wireless communication module collects;
Power module, be used for providing power supply to embedded microprocessor, thereby provide power supply to wireless communication module, KNX bus communication module, condition indication circuit and to the sign indicating number key circuit, simultaneously, system communication runnings such as the voltage clutter that produces, surge are disturbed filter;
Condition indication circuit is connected with illumination communication Radio Link by embedded microprocessor, is used to indicate the communication state of each illumination communication Radio Link;
To the sign indicating number key circuit, by embedded microprocessor and the wireless connections of external wireless illuminance meter, be used for carrying out the coupling pairing of single loop with wireless illuminance meter;
Embedded microprocessor is used for wireless communication module, KNX bus communication module, condition indication circuit and to the coordination between the sign indicating number key circuit, running, data computation and storage 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 handled, and be transferred to embedded microprocessor by internal bus, the message that the while embedded microprocessor will need to send is informed the zigbee telecommunication circuit by internal bus, and the zigbee telecommunication circuit transfers the receptible electric signal emission of wireless zigbee link to by the packing message.
Further, described KNX bus communication module comprises: KNX bus communication protocol chip and KNX bus physical interface circuit, described KNX bus communication 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 Radio Link that embedded microprocessor obtains after with data computation is stored in the internal memory that embedded microprocessor carries, embedded microprocessor is set a threshold value, when current brightness value surpasses this threshold value with respect to the variation of previous brightness value, embedded microprocessor carries out communication by internal bus and KNX bus communication module, needs is sent current brightness value give KNX bus communication module to the illumination transmission order of outside KNX bus:
After KNX bus communication protocol chip receives that illumination sends order, formation comprises the KNX message of current brightness value, then the KNX message is sent to KNX bus physical interface circuit, KNX bus physical interface circuit forms the physics voltage signal that satisfies the electric transmission requirement of KNX with message and is sent to outside KNX bus; Or
After KNX bus communication protocol chip receives that illumination sends order, illumination is sent order be sent to outside KNX bus by KNX bus physical interface circuit, when KNX bus communication protocol chip receive by KNX bus physical interface circuit read the message of brightness value from the requirement of outside KNX bus after, carry out communication with embedded microprocessor, embedded microprocessor is returned to KNX bus communication protocol chip with the brightness value that stores in the internal memory, after KNX bus communication protocol chip is received brightness value, illumination is read feedback signal be sent to outside KNX bus by KNX bus physical interface.
Further, described power module comprises: voltage conversion circuit and filter circuit, described voltage conversion circuit is connected with external circuit, outside 220V voltage transitions is 5V voltage after, be connected with filter circuit, system communication running is disturbed is filtered.
Further, described filter circuit is the EMC filter circuit.
Further, described illumination communication Radio Link is 8 the tunnel, and described condition indication circuit comprises 8 line state indicator light circuits, and described each line state indicator light circuit is all by embedded microprocessor and the corresponding connection of one tunnel illumination communication Radio Link.
Further, described indicator light is the LED lamp, and described 8 line state indicator light circuits have the multimode Presentation Function.
Further, described external wireless illumination is counted 8, described the sign indicating number key circuit is comprised 8 the tunnel to the sign indicating number button, all match by embedded microprocessor and a wireless illuminance meter coupling to the sign indicating number button on described each road, namely one the tunnel sign indicating number button pressed after, embedded microprocessor can also be in the external wireless illuminance meter to the sign indicating number state in predetermined Zigbee channel search, after searching successfully, embedded microprocessor with one the tunnel to sign indicating number button and corresponding external wireless illuminance meter coupling passage, embedded microprocessor is noted match information then, and provides automatic identification and storage for the signal of follow-up same channel.
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 Radio Link of gathering.The KNX bus communication module is responsible for 8 illumination collection values and outside international KNX STD bus are carried out data sharing.Power module with 220V voltage change into 5V voltage, for each module for power supply, and have EMC filtering, can filter the voltage clutter, surge etc. of electrical network to the interference of system communication running.Condition indication circuit is used to refer to the communication state of each illumination communication Radio Link.The sign indicating number key circuit is used for doing the coupling pairing of single loop with the external wireless illuminance meter to be used.Embedded microprocessor (MCU) is responsible for coordination, running, data computation and storage and the logic control of each module in whole device.
During work,
The Zigbee telecommunication circuit, carry out reception and the transmission of brightness value wireless signal by the aluminum antenna, the embedded micro processor is when initialization, can send the order that the interval is uploaded in setting by Zigbee telecommunication circuit and the antenna of wireless communication module, outside wireless illuminance meter can be uploaded blanking time after receiving this order in automatic setting.So at set intervals, the wireless communication module of many illumination collector can be received to the frame message that has the illumination sensed values of outside wireless illuminance meter automatically, the Zigbee telecommunication circuit is by decoding and arrange and to resolve to the communication packet that can be identified, and sends it to embedded micro processor by internal bus and analyze.To inform the zigbee telecommunication circuit by internal bus when processor has the message that needs transmission and broadcasting, the zigbee telecommunication circuit transfers the receptible electric signal of wireless zigbee link to by the packing message, launches by antenna wirelessly.
Embedded microprocessor can be stored in the brightness value of each illumination communication Radio Link of obtaining after the data computation in the internal memory that carries.According to different configurations, embedded microprocessor can be set a threshold value, when current brightness value surpasses this threshold value with respect to the variation of previous value, embedded microprocessor can carry out communication by internal bus and KNX bus communication module, needs is sent current brightness value give KNX bus communication module to the illumination transmission order of outside KNX bus; After KNX bus communication protocol chip in the KNX bus communication module receives that illumination sends order, can form the KNX message that comprises current brightness value, send to KNX bus physical interface circuit then, KNX bus physical interface circuit can form message the physics voltage signal that satisfies the electric transmission requirement of KNX and be sent to outside KNX bus.
Another kind of situation, after KNX bus communication protocol chip receives that illumination sends order, directly illumination is sent order and be sent to outside KNX bus by KNX bus physical interface circuit, when KNX bus protocol chip receive by KNX bus physical interface circuit read the message of brightness value from the requirement of outside KNX bus after, with the embedded microprocessor communication, embedded microprocessor can be returned to the bus protocol chip with the brightness value that stores in the internal memory, and the bus protocol chip receives that illumination being read feedback signal behind the brightness value sends by KNX bus physical interface circuit.
After one of them of many illumination of bus type collector pressed the sign indicating number button, embedded microprocessor can also be in the external wireless illuminance meter to the sign indicating number state in predetermined Zigbee channel search, after searching successfully, embedded microprocessor with one the tunnel to sign indicating number button and corresponding external wireless illuminance meter coupling passage, embedded microprocessor is noted match information then, if receive next time and when sending the signal of this channel, will identify and be stored into corresponding internal memory automatically.
8 line state indicator light circuits have the multimode Presentation Function, when many illumination of bus type collector carries out sign indicating number mated, when the match is successful, when normal communication is gathered wireless brightness value, during broken string, the led state lantern festival of condition indication circuit presents different flickers and color state under the control of embedded microprocessor, to arrive the purpose of many illumination of indication collector wireless communication state, be beneficial to dispose the application with actual engineering.
Power module converts 220V voltage to 5V voltage by high efficiency rectification and reduction voltage circuit, supplies with other modules and uses.When external voltage fluctuations, surge or thunderbolt occurring, can be by the electric current and voltage violent change of EMC filter circuit transient suppression diode and the gentle moment generation of its attached discharge circuit.
More than specific embodiments of the invention are described.It will be appreciated that the present invention is not limited to above-mentioned specific implementations, those skilled in the art can make various distortion or modification within the scope of the claims, and this does not influence flesh and blood of the present invention.