A kind of street lighting remote measurement, remote signalling, remote control thereof and electric ballast of supporting ZigBee
Technical field
The present invention relates to the electric ballast of a kind of ZigBee of support and street lighting remote measurement thereof, remote signalling, remote control thereof.
Background technology
City illumination is an important component part of urban construction, and it strengthens the urban management level to saving the electrification energy, strengthens citizen's satisfaction and plays an important role.And the problem that existing lighting energy saving management exists comprises: the power save mode that reduces voltage causes electropollution; Can't manage the illumination network system effectively in real time; The evening lamp control mode easily causes traffic accident and public security problem; Day by day huge management maintenance expense.Adopt the street lighting three distant (remote measurements of advanced electric ballast, remote signalling, remote control) technology is to address the above problem and improve one of effective way of electric power system management of power use level, " remote monitoring system for saving power in lighting " of Chinese patent CN200410020437.8 bulletin for example, but, this long distance control system is subjected to GSM, the restriction of cdma network cellular telecommunication art scale, the number of users of unit region can not be too many, be unsuitable for remote measurement simultaneously on a large scale, remote signalling, remote control, and, need pay network operation expense, operating cost all the year round, particularly at remote-terminal unit (Remote Terminal Unit, be called for short RTU) when many, the city management department that operating cost often is difficult to be used RTU accepts.
Summary of the invention
A technical problem to be solved by this invention is the defective that exists at prior art, proposes a kind of street lighting remote measurement, remote signalling, remote control thereof of supporting ZigBee.
Another technical problem to be solved by this invention is to propose a kind of electric ballast of realizing the support ZigBee of said method.
Support the electrical energy data acquiring method of ZigBee for the present invention, its technical problem is solved by the following technical programs.
The characteristics of the street lighting remote measurement of this support ZigBee, remote signalling, remote control thereof are:
Following steps are arranged successively:
(1) after each supports the electric ballast energising of ZigBee, start and set up the self-organizing network of supporting ZigBee, comprise that each electric ballast of supporting ZigBee is set up to the route of ZigBee cohort controller, and ZigBee cohort controller is set up to the routing table of each electric ballast in the ZigBee network;
(2) each supports the electric ballast of ZigBee, be set up to the route of ZigBee cohort controller by it, each circuit switching state, switch " power down " information, the door gathered are opened information such as warning information, network failure information, electric current, overvoltage, undervoltage alarm information and be sent to ZigBee and cohort controller;
(3) the management and monitoring center is by the route of ZigBee cohort controller each electric ballast in the ZigBee network, support the electric ballast of ZigBee to send remote control command to each, manually or according to setting-up time in advance the electric ballast of the support ZigBee of full night-light, evening lamp and night scene lamp is controlled respectively, the time of setting can be provided with for the cycle by sky, week, the moon, year.
(4) the management and monitoring center is by the route of ZigBee cohort controller each electric ballast in the ZigBee network, support the electric ballast of ZigBee to send telemetry command to each, measure turnover line voltage, each loop three-phase current, power factor, lamp temperatures, information such as photosensitive, the electric ballast of supporting ZigBee is sent to ZigBee cohort controller to the route of above-mentioned information by the ZigBee network, down to the management and monitoring center.
For street lighting remote measurement, remote signalling, the remote control thereof of support ZigBee of the present invention, its technical problem is solved by following further technical scheme.
Described foundation supports that the self-organizing network of ZigBee is to set up Ad hoc network (Ad hocnetwork), be formed with tissue by each electric ballast that is provided with the wireless communication module of supporting ZigBee, structure is arranged, self-forming, self-healing multi-hop wireless network, support the wireless communication module of ZigBee to have routing function, can constitute network topology arbitrarily by wireless connections, communicate by the node in the network itself and this node node on every side, promptly realize between the wireless communication module and with the management and monitoring center between communicate by letter, this network can work alone, also can heterogeneous network be connected with IP or GSM/CDMA be wireless etc., in the later case, Ad hoc network normally is the form access heterogeneous network of tree network with terminal subnet.
Described support ZigBee is a wireless sensor network standards of supporting that ZigBee alliance (ZigBee Alliance) is dominated, adopt IEEE 802.15.4 as its physical layer standard, exploitation network layer and application interface agreement on it, and product test and authentication are provided.
Described heterogeneous network is a communication channel, comprises pstn telephone network, GSM/CDMA/3G wireless network, IP network, Wi-Fi, Wi-Max, UWB wireless broadband network, and optical fiber, xDSL, ISDN wired broadband network.
The electric ballast of described each support ZigBee is set up to the route of ZigBee cohort controller, comprises through at least one supporting the electric ballast of ZigBee or supporting the repeater of ZigBee to be set up to the route of ZigBee cohort controller.
The repeater of described support ZigBee is to possess the ZigBee network routing function, and does not possess the electronic equipment of ballast function, carries out the storage forwarding capability in the ZigBee network.
Support the electric ballast of ZigBee for the present invention, its technical problem is solved by the following technical programs.
The electric ballast of described support ZigBee, the power inleting terminal of high intensity discharge (HID) lamp, comprise and be arranged on electromagnetic interface filter, rectifier, power factor correction stage, inverse cascade, resonance level, the ballast output stage that is connected step by step between input and the output, and ballast controlled stage flow measurement, pressure measurement, survey resonance, thermometric are wet, the wireless communication module of survey line road, the quick unit of photometry, microcontroller and support ZigBee is formed, described main control unit comprises the microcontroller of being with nonvolatile memory, and the peripheral circuit of microcontroller.
The characteristics of the electric ballast of described support ZigBee are:
Described microcontroller is flush bonding processor/controller of supporting ZigBee, the program of solidifying comprises multithreading real time operating system, ZigBee protocol stack, data security layer, application support sublayer and ZigBee equipment control, be responsible for safety, information exchange reliably.
Be provided with the wireless communication module of supporting ZigBee, the wireless communication module of described support ZigBee is by described microprocessor controls, link to each other with described microcontroller by the spi bus interface, promptly support the wireless communication module of ZigBee and the microcontroller that the ballast control unit share main control unit, with the raising stability of a system, and significantly reduce system cost.
The wireless communication module of described support ZigBee links to each other with the management and monitoring center with the cohort controller by ZigBee, microcontroller passes through remote control, the telemetry command of the wireless communication module receiving management Surveillance center of support ZigBee, and converges the data remote signalling of gathering whole to the management and monitoring center.
For the electric ballast of support ZigBee of the present invention, its technical problem is solved by following further technical scheme.
The wireless communication module of described support ZigBee is the wireless communication module that has following function at least:
(1) 2.4GHz direct sequence spread spectrum (Direct Sequence Spread Spectrum is called for short DSSS) communication mode is arranged;
(2) low power dissipation design;
(3) the SPI interface is arranged;
(4) there are received signal intensity indication (Received Signal Strength Indication is called for short RSSI) and link-quality indication (link quality indication is called for short LQI) to support.
The wireless communication module of described support ZigBee can adopt discrete connector structure to link to each other by the spi bus interface with microcontroller.When supporting the wireless communication module decreased performance of ZigBee, as long as with its independent replacing, and needn't change whole electric ballast, obviously prolong the useful life of electric ballast.
Flush bonding processor/controller of described support ZigBee is the flush bonding processor/controller that has following function at least:
(1) having enough capacity to deposit the RAM and the Flash program area of ZigBee protocol stack can be from read-write;
(2) be solidified with remote control, telemetry command reception, electric current, voltage, resonance, temperature/humidity, line status detection, period switching, data run calculating, storage, transmission, the address information of store electrons ballast, setting light modulation reference level and support ZigBee group-net communication program, and the online programming function is arranged;
(3) have and comprise interruption, the unusual controlled function that resets;
(4) the EMS electromagnetic protection function is arranged.
Described ZigBee protocol stack; comprise the service that MAC layer and network layer are provided; but form the network topology structure of multihop network route and Autonomous Control automatically; quick self-adapted recovery under the situation that individual nodes lost efficacy simultaneously; to realize the self-organizing of network; from redundancy; from recovery; sleep mode automatically with revive; keep the extremely low energy consumption of electric ballast; safe floor provides the general safety mechanism of system; protection MAC layer; network or application layer; in order to reduce memory requirement; they can share safety key; application support sublayer is joined by network layer and safe floor and end points, and is that data transmit; safety and binding provide service.
Described ZigBee safe floor provides DES, AES, the aerial cryptographic algorithm of ECC, SSF33, by writing the method for ZigBee safe floor agreement, and respectively to MAC, NWK, APL layer data bag carries out encryption and decryption processing.
Described management and monitoring center comprises network monitoring system, database and http server, described network monitoring system is based on Web data management mode, data, the state information of the electric ballast of monitoring ZigBee network topology structure, routing state, support ZigBee, and make timely processing; Described database receives the data that each electric ballast is gathered, and to data add up, computing, processing, finish classification, screening and analysis-by-synthesis, generate various forms automatically; Described http server receives the connection request from the telecommunication network browser, and the HTTP service of standard is provided to administrative department in the mode of client/server.
The present invention compared with prior art has following advantage and beneficial effect:
The inventive method adopts Ad hoc automatic network-building technology, the electric ballast of any support ZigBee, as long as be in the range for wireless communication, need not any installation dispose, can add existing network automatically, and form the information routed path automatically, exempted the loaded down with trivial details layoutprocedure of traditional network of checking meter, because the apparatus for network node hardware price is cheap, not only farthest reduced the network operation cost, manpower and time, and the network of the highly redundant node of 65,000 electric ballasts of outfit as many as is set up in permission, guarantee that network has powerful data acquisition ability and the automatic recovery ability of makeing mistakes, under the out-of-work situation of individual nodes, still can run well.In addition, the inventive method adopts 2.4GHz industry control frequency range radio communication, need not the machine-operated approval of national radio control, needn't pay the frequency spectrum occupancy expenses, also needn't rent public network, need not pay communication cost, can significantly reduce operating cost, and support that the wireless communication module of ZigBee is the low power-consumption intelligent equipment of coin-size, its small volume can reduce the requirement and the cost of installation and maintenance, can also use under particular surroundings.
The electric ballast of support ZigBee of the present invention can replace existing inductance or conventional electrical ballast, illumination supervision department can utilize the electric ballast of supporting ZigBee to realize the illumination fine-grained management, and the single lamp current of intelligentized detection, voltage, power, power factor, resonance, lamp temperature, lamp are wet, photosensitive, line status, whether have real time information such as stealing; Adjust single lamp luminosity, regularly polling lamp loaded work piece state; Form the illumination control of team control, group control, some control, effectively, further improve the lighting energy saving managerial skills, realize the control of green illumination and intelligent radio according to ambient brightness and the single lamp load power of energy saver mode adjustment.
Description of drawings
Below in conjunction with embodiment and contrast accompanying drawing the invention will be further described.
Fig. 1 is that street lighting remote measurement, remote signalling, the remote control thereof of the inventive method formed schematic diagram;
Fig. 2 is that electric ballast embodiment circuit of the present invention is formed block diagram;
Fig. 3 is the street lighting remote signalling process schematic diagram of the embodiment of the inventive method;
Fig. 4 is the street lighting remote control process schematic diagram of the embodiment of the inventive method;
Fig. 5 is the street lighting remote measurement process schematic diagram of the embodiment of the inventive method.
Embodiment
Support ZigBee street lighting remote measurement as shown in Figure 1, remote signalling, remote control system are made up of electric ballast 1, ZigBee cohort controller 2 and the management and monitoring center 3 of supporting ZigBee.
Support the electric ballast 1 of ZigBee, after the energising, start and set up the self-organizing network of supporting ZigBee, comprise that each electric ballast of supporting ZigBee is set up to the route of ZigBee cohort controller 2, ZigBee cohort controller 2 is set up to the routing table of each electric ballast in the ZigBee network.
Each supports the electric ballast 1 of ZigBee, be set up to the route of ZigBee cohort controller 2 by it, with the routine data gathered, the remote signalling of abnormality data to ZigBee cohort controller 2, transfer to management and monitoring center 3 again by ZigBee cohort controller 2, receive remote measurement, remote control command simultaneously from management and monitoring center 3.
Management and monitoring center 3 is by the route of each electric ballast in ZigBee cohort controller 2 to the ZigBee networks, support the electric ballast 1 of ZigBee to send remote measurement, remote control command to each, converging after the routine data of whole electric ballast, the abnormality, to the electronic ballast operation instruction of appointment.
The electric ballast of support ZigBee as shown in Figure 2, be directly installed on electric power incoming line front end 10, comprise and be arranged on the electromagnetic interface filter 11 that is connected step by step between input and the output, full-bridge rectifier 12, PFC power factor correction stage 13, inverter 14, resonant circuit 15, HID lamp 16, and the input go out and wireline inspection circuit 17, high-voltage triggering circuit 18, inverse changing driving circuit 19, resonance signal measures 20, crest voltage measures 21, load current measures 22, temperature wet measure 25, photosensitive measurement 26, microcontroller 24, support wireless communication module 23 and other communication module 27 of ZigBee to form.Interior power supply circuit is the public knowledge of person skilled in the art, so do not mark at Fig. 2.
Support the electric ballast of ZigBee to have three parts to constitute: conventional electrical ballast, microprocessor control and communication module.
The electromagnetic interface filter 11, full-bridge rectifier 12, PFC power factor correction stage 13, inverter 14, resonant circuit 15, the HID lamp 16 that are connected step by step between input and output are the composition module of the public conventional electrical ballast of knowing of person skilled in the art.
Microcontroller 24 among the present invention is that the model that Freescale company produces is the embedded microcontroller of the support ZigBee of MC68HC908LJ24,8MHz internal bus frequency, 768 byte ram in slice, 24K in-chip FLASH program storage has online programming ability and function of keeping secret, and working voltage is lower, power consumption is little, use battery can finish power supply, it carries real-time clock module and LCD driver module, is specially adapted to intelligence instrument.
The program that microcontroller 24 solidifies comprises multithreading real time operating system, ZigBee protocol stack, data security layer, application support sublayer, ZigBee equipment control and illumination control (address information of store electrons ballast, set the light modulation reference level, accept the instruction of cohort controller, accept and send information that electric ballast detects to the cohort controller), be responsible for whole fully, accurate lighting environment control and safe and reliable information exchange.
Input go out and wireline inspection circuit 17 control by microprocessor 24, by electromagnetic interface filter 11 detection line states, simultaneously to electromagnetic interface filter 11 send open the pass signal.
Power-factor measurement 28 collection power factors able to programme, and be sent to microprocessor 24.
High-voltage triggering circuit 18 is controlled by microprocessor 24, sends igniting high-voltage pulse control signal to inverter 14.
Resonance signal is measured 20 current signal in the resonant circuit 15 is provided, and microprocessor 24 receives and handle this signal, and passes through the mode of operation of inverse changing driving circuit 19 control inverters 14.
Microprocessor 24 produces benchmark light modulation level, by the bearing power of inverse changing driving circuit 19 control inverters 14.
Crest voltage is measured 21 and controlled by microprocessor 24, is made up of isolation, filtering, several parts of amplitude limit, and the A/D conversion is sent to microprocessor 24.
Load current is measured 22 and controlled by microprocessor 24, and current sampling circuit and voltage sampling circuit similar are to gather after voltage signal is converted into current signal by resistance.
Temperature wet measure 25 collecting temperatures able to programme moisture signal, through amplification, filtering and A/D conversion and deliver to microprocessor 24.
Microprocessor 24 is changed and delivered to photosensitive measurement 26 collection photosensor signals able to programme through amplification, filtering and A/D.
Be provided with wireless communication module 23 by the support ZigBee of microcontroller 24 controls, it links to each other with microcontroller 24 by the spi bus interface, and link to each other with management and monitoring center 3 by ZigBee cohort controller 2, remote measurement, the remote control command of the microcontroller 24 wireless communication module 23 receiving management Surveillance center 3 by supporting ZigBee, and with the data remote signalling of gathering to the management and monitoring center 3 converge whole.
Support the wireless communication module 23 of ZigBee to comprise that the model that Freescale company produces is two-way 2.4GHz rf data modulator-demodulator, the clock circuit of MC13192/1, balance and unbalanced circuit and antenna, described rf data modulator-demodulator is according to IEEE 802.15.4 standard design, adopt the ZigBee technology, digital core with optimization, help to reduce processing power, shorten the execution cycle, use battery can finish power supply.
Other communication module 27 comprises RS232/485, with plc communication, and the module of other communication patterns of person skilled in the art such as control interface common recognition manually.
The application program of services such as the program of solidifying comprises provides that the triggering of electric ballast high pressure, flow measurement, pressure measurement, survey resonance, thermometric are wet, survey line road, photometry are quick, light modulation management, the communication application program of other communication service is provided, provide the ZigBee device systems that network layer parameter is configured and visits program, the service that they use 802.15.4 and ZigBee protocol stack to provide jointly.
The street lighting remote measurement of the inventive method, remote signalling, remote control thereof comprise street lighting remote signalling method, street lighting remote control thereof, the street lighting method of telemetering (1), the street lighting method of telemetering (2).
Street lighting remote signalling method as shown in Figure 3 has following steps successively:
(1) each electric ballast 1 of supporting ZigBee is to be sent in buffer etc. with the information stores of gathering;
(2) before next sending time slots, if the data of same target address are arranged, just pool packet, according to the route of self-organizing network, packet is sent to the electric ballast 1 of the next ZigBee of support;
If what arrive is not ZigBee cohort controller 2, just packet is sent to the electric ballast 1 of the next ZigBee of support according to routing table;
If what arrive is ZigBee cohort controller 2, just packet is sent to management and monitoring center 3 by heterogeneous network by ZigBee cohort controller 2.
Street lighting remote control thereof process as shown in Figure 4 has following steps successively:
(1) management and monitoring center 3 sends remote control (team control, group control, some control) instruction by heterogeneous network and gives ZigBee cohort controller 2;
(2) ZigBee cohort controller 2 checks whether remote control command is that itself team control or group are controlled, if not team control, group control, the some control to this cohort, end; If team control, group control, the point of this group are controlled, carry out (3).
(3) inspection is the some control to this cohort controller, if, carry out control command, finish; If not, carry out (4)
(4) according to the route of self-organizing network,, remote control command is sent to the node of the next ZigBee of support by ZigBee cohort controller 2 relayings;
(5) if the node of next support ZigBee is a destination node, carry out control command;
If the node of next support ZigBee is not a destination node,, continue remote control command is sent to the node of the next ZigBee of support again, until sending to destination node according to the route of self-organizing network.
Street lighting method of telemetering process as shown in Figure 5 has following steps successively:
(1) management and monitoring center 3 is instructed and is given ZigBee cohort controller 2 by heterogeneous network transmission remote measurement (group's survey, group are surveyed, put and survey);
(2) ZigBee cohort controller 2 checks that whether telemetry commands are that group itself is surveyed or group is surveyed, if not the group to this cohort survey, group is surveyed, point is surveyed, finish; If the group of this group is surveyed, organizes and survey, put and survey, carry out (3).
(3) inspection is that the point of this cohort controller is surveyed, if, carry out control command, send report and return data monitor center, finish; If not, carry out (4)
(4) according to the route of self-organizing network,, telemetry command is sent to the node of the next ZigBee of support by ZigBee cohort controller 2 relayings;
(5) if the node of next support ZigBee is a destination node, carries out and measure instruction, send and report the passback data monitor center;
If the node of next support ZigBee is not a destination node,, continue telemetry command is sent to the node of the next ZigBee of support again, until sending to destination node according to the route of self-organizing network.
Above content be in conjunction with concrete preferred implementation to further describing that the present invention did, can not assert that concrete enforcement of the present invention is confined to these explanations.For the those skilled in the art of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to the scope of patent protection that the present invention is determined by claims of being submitted to.