CN101938872A - Method for controlling city street lamp master node - Google Patents

Method for controlling city street lamp master node Download PDF

Info

Publication number
CN101938872A
CN101938872A CN2010102515803A CN201010251580A CN101938872A CN 101938872 A CN101938872 A CN 101938872A CN 2010102515803 A CN2010102515803 A CN 2010102515803A CN 201010251580 A CN201010251580 A CN 201010251580A CN 101938872 A CN101938872 A CN 101938872A
Authority
CN
China
Prior art keywords
order
street lamp
street
lamp
light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010102515803A
Other languages
Chinese (zh)
Inventor
任彧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Dianzi University
Original Assignee
Hangzhou Dianzi University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Dianzi University filed Critical Hangzhou Dianzi University
Priority to CN2010102515803A priority Critical patent/CN101938872A/en
Publication of CN101938872A publication Critical patent/CN101938872A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention relates to a method for controlling a city street lamp master node. The conventional street lamp control is mainly based on manual work, and luminance cannot be regulated according to actual situations. The method comprises the following steps of: firstly, initializing a driver in a microprocessor module of a street lamp master-control node, a protocol stack in a wireless zigbee communication module, and the driver of a GPRS module; secondly, judging the types of received orders, wherein the order types comprise a street lamp information checking order, a broadcast lamp turn-on order, a broadcast lamp turn-off order, a broadcasting luminance-regulating order, a unicast lamp turn-on order, a unicast lamp turn-off order, and a unicast luminance-regulating order; and the microprocessor module performs different processing according to the order types; and finally, sending states of street lamps to the street lamp master node by analogue-to-digital (A/D) converters of microprocessor modules in street lamp nodes. The method of the invention makes the street lamp control more intelligent, faster and easier, reduces investment in street lamp management and lowers energy consumption.

Description

A kind of city street lamp host node control method
Technical field
The invention belongs to electronic information technical field, relate to a kind of city street lamp host node control method.
Background technology
Along with the speed of China's urban construction, town development is more and more faster, city illumination is built as the effect that embodies city image obvious day by day, and the range of management of city illumination enlarges day by day simultaneously; The fast development in city has proposed requirement higher, that upgrade to road lighting and Landscape Lighting, and this just makes that the management difficulty of city illumination is increasing, and operation cost is also improving constantly.
Traditional control method is promptly installed timer to disperse the time control mode in the street lamp distribution box, press preset time ON/OFF lamp voluntarily.Traditional method can not in time be adjusted the time of ON/OFF lamp, more can't in time reflect the ruuning situation of lighting installation, and failure rate height, maintenance difficult.Along with city's constant development, control range is increasing, and traditional control method can't in time reflect the ruuning situation of lighting installation, makes maintenance work very passive.
Summary of the invention
The objective of the invention is at the deficiencies in the prior art, a kind of city street lamp host node control method is provided, this method has made things convenient for the management of street lamp, as opens street lamp, closes street lamp, regulates street lamp brightness etc., thereby has reduced road lamp management personnel's the amount of labour.
Hardware used in the present invention comprises microprocessor module, wireless zigbee communication module, GPRS module and battery module.Microprocessor module, wireless zigbee communication module, GPRS module and battery module constitute a city street lamp main controlled node; City street-lamp node is made of microprocessor module, wireless zigbee communication module and battery module.Whole system is made up of a city street lamp main controlled node and some city street-lamp nodes.
Microprocessor module adopts the microcontroller STM32F103CBT6 based on the up-to-date kernel Cortex-M3 of ARM, is used for controlling the zigbee module of host node and the communication between other the street-lamp node, and the street lamp information of receiving is analyzed and handled.
Wireless zigbee communication module adopts the SPZB260 module of the STMicw Electronics of imported with original packaging, by SPI interface and microprocessor module interconnection; The zigbee module is supported 2.4GHz zigbee/IEEE802.15.4 standard, is used to the communication that realizes that the zigbee network is interior.
The GPRS module adopts the EM310GPRS module of Huawei, is used for communicating with the host computer server.
Power module adopts two kinds of schemes: the one, and powered battery, the battery of employing two joint 1.5V, series connection forms 3.0V voltage, powers to main controlled node; The 2nd, the power supply of 5V power supply becomes 3.3V to power the 5V voltage transitions to main controlled node by the AS1117-3.3 chip.
The concrete steps of the inventive method are:
Driving, the protocol stack in the wireless zigbee communication module and the driving of GPRS module in step (1) the initialization street lamp main controlled node microprocessor module; Set up the zigbee network by main controlled node, allow other street-lamp nodes to add.
GPRS module in step (2) main controlled node receives the order from server, microprocessor module is judged current command type, and described command type comprises checks street lamp message command, broadcasting turn on light order, broadcasting turn off the light order, the order of broadcasting brightness regulation, clean culture turn on light order, clean culture turn off the light order and clean culture brightness adjustment order; Command type is included in the command packet, command packet is made up of 8 order of the bit types, 8 order of the bit length, N bit data content and 8 CRC check sign indicating numbers, wherein N bit data content comprises the setting brightness value of a plurality of street lamp numberings and this street lamp, the street lamp numbering accounts for 16, the setting brightness value of street lamp accounts for 8, and the size of N is by the street-lamp node quantity decision of need control.
If current order of receiving by the GPRS module then jumps to step (3) for checking the street lamp message command; If the order of receiving then jumps to step (4) for broadcasting the order of turning on light; If the order of receiving then jumps to step (5) for broadcasting the order of turning off the light; If the order of receiving then jumps to step (6) for broadcasting brightness adjustment order; If the order of receiving then jumps to step (7) for the clean culture order of turning on light; If the order of receiving then jumps to step (8) for the clean culture order of turning off the light; If the order of receiving is clean culture brightness adjustment order, then jump to step (9); If the order of receiving is not above order, then abandon this order.
Step (3) is analyzed and to be checked the street lamp message command, obtains the numbering of the street lamp that need check from this order, from microprocessor module, transfer then contain this numbering the street lamp state feedback to server.
Step (4) is provided with in wireless zigbee communication module broadcasts the order of turning on light, and this order is sent to street-lamp node, jumps to step (2) then; The effect of broadcasting the order of turning on light is whole street lamps of opening in the zigbee network.
Step (5) is provided with in wireless zigbee communication module broadcasts the order of turning off the light, and this order is sent to street-lamp node, jumps to step (2) then; The effect of broadcasting the order of turning off the light is whole street lamps of closing in the zigbee network.
Step (6) is provided with broadcasting brightness adjustment order in wireless zigbee communication module, contain street lamp in this order and set brightness value, street-lamp node sends to street-lamp node to the order that sets by wireless zigbee communication module by the brightness of this value adjustment street lamp, jumps to step (2) then; The effect of broadcasting brightness adjustment order is to adjust the brightness of all street lamps in the zigbee network according to setting brightness value.
Step (7) is analyzed the clean culture order of turning on light, obtain the numbering of the street lamp that need turn on light from this order, the clean culture that the street lamp that need turn on light is set in the wireless zigbee communication module order of turning on light, and send to street-lamp node by wireless zigbee communication module, jump to step (2) then; The turn on light effect of order of clean culture is the part street lamp of opening in the zigbee network.
Step (8) is analyzed the clean culture order of turning off the light, obtain the numbering of the street lamp that need turn off the light from this order, the clean culture that the street lamp that need turn off the light is set in the wireless zigbee communication module order of turning off the light, and send to street-lamp node by wireless zigbee communication module, jump to step (2) then; The turn off the light effect of order of clean culture is the part street lamp of closing in the zigbee network.
Step (9) is analyzed clean culture brightness adjustment order, obtain needing the numbering of the street lamp that brightness adjusts and the setting brightness value of this street lamp from this order, clean culture brightness adjustment order is set in wireless zigbee communication module, send to street-lamp node by wireless zigbee communication module, jump to step (2) then; The effect of clean culture brightness adjustment order order is to adjust street lamp brightness according to the street lamp brightness adjusted value of setting.
The A/D of step (10) microprocessor module gathers the electric current of all street-lamp nodes in the zigbee network in the cycle of setting, determine the state and the storage of street lamp;
The concrete grammar of street lamp state confirmation is: if the current value that obtains of sampling greater than zero, then street lamp is the state of turning on light, and determines street lamp brightness according to the size of current value again, current value is directly proportional with street lamp brightness;
If the current value that sampling obtains equals zero, then street lamp is for closing the state of turning on light.
Step (11) repeating step (2)~step (10) keeps the street lamp main controlled node for the control that is in all street-lamp nodes in the zigbee network.
The present invention adopts the city street lamp host node control method of zigbee communication design can set up the zigbee network, and by the street-lamp node in the zigbee transmitting control commands Control Network or obtain the operating state of street-lamp node, this method makes the control of street lamp more smart, fast and simple, has reduced energy consumption when reducing the road lamp management input.
Description of drawings
Fig. 1 is a hardware configuration schematic diagram used in the present invention;
Fig. 2 is a flow chart of the present invention.
Embodiment
The invention will be further described below in conjunction with accompanying drawing
As shown in Figure 1, hardware foundation used in the present invention comprises power module 1, GPRS module 2, microprocessor module 3 and wireless zigbee communication module 4.
Power module 1 comprises 5V power supply 1-1 and is the voltage conversion circuit module 1-2 of core with the AS1117-3.3 chip; The battery of two joint 1.5V, series connection form 3.0V power supply 1-3.System adopts this two kinds of powering modes, and power module 1 is its excess-three module for power supply.
GPRS module 2 adopts the EM310 GPRS of Huawei, is used for communicating with the host computer server.
The microcontroller STM32F103C6T6 that microprocessor module 3 adopts based on the up-to-date kernel Cortex-M3 of ARM, its controller have powerful disposal ability and the abundant interior peripheral hardware of sheet.Wherein, microprocessor module 3 is by USART and 2 interconnection of GPRS module, by 4 interconnection of SPI interface and wireless zigbee communication module, communicating by letter between the wireless zigbee communication module that is used to control main controlled node and other the street-lamp node, and the command information of receiving is analyzed and handled.
Wireless zigbee communication module 4 adopts the SPZB260 module of the STMicw Electronics of imported with original packaging, and the SPZB260 module first interface 4-1 is connected with the SPI slave unit sheet choosing of MISO data wire, SPI mouth clock and MCU of MOSI data wire, the SPI interface of SPI interface; The SPZB260 module second interface 4-2 is connected with the reset signal of drawing on the wake-up signal, band inside of middle-end output, the module of module; SPZB260 module the 3rd interface 4-3 is connected with the wake-up signal of MISO data wire, SPI mouth clock and module of MOSI data wire, the SPI interface of the choosing of SPI slave unit sheet, the SPI interface of reset signal that band draws on the inside, the output of the middle-end in the module, MCU.The zigbee module is supported 2.4GHz zigbee/IEEE802.15.4 standard, is used for realizing the communication between the street-lamp node of zigbee network.
Fig. 2 is a flow chart of the present invention, and the street lamp main controlled node at first carries out initialization to the driving of the driving in the microprocessor module, GPRS module and the protocol stack among the wireless zigbee module SPZB260; Set up the zigbee network by this main controlled node, and allow other street-lamp nodes to add.The street lamp main controlled node is by the order of GPRS reception from server, order is analyzed, if order for checking street lamp information, then obtains the numbering of the street lamp that need check from this order, from microprocessor module, transfer then contain this numbering the street lamp state feedback to server.If order is turned on light for broadcasting, then turn on light order and send to street-lamp node by zigbee of broadcasting is set by zigbee; If order is the clean culture order of turning on light,, the order and send to each street-lamp node by zigbee of turning on light of the street-lamp node that need turn on light is set in program successively then according to turn on light street lamp numbering in the command packet of clean culture; If order is turned off the light for broadcasting, then turn off the light order and send to street-lamp node by zigbee of broadcasting is set by zigbee; If order is turned off the light for clean culture, then number according to the street lamp in the command packet of turning off the light, set gradually the order and send to each street-lamp node of turning off the light of the street-lamp node that need turn off the light by zigbee; If order lightens for broadcasting, then the brightness regulation value that lightens in the command packet according to broadcasting is provided with zigbee and sends to street-lamp node by zigbee; If order lightens for clean culture, then zigbee is set according to numbering of the street lamp in the command packet and brightness regulation value, send a command to the street-lamp node that needs to regulate brightness successively.The while street-lamp node is used by the current street lamp state of A/D sampling that carries, and is sent to the street lamp host node by the zigbee network, and the street lamp host node can effectively be grasped the state of each street-lamp node in the current network like this, thereby realizes control efficiently.

Claims (1)

1. a city street lamp host node control method is characterized in that this method comprises the steps:
Driving, the protocol stack in the wireless zigbee communication module and the driving of GPRS module in step (1) the initialization street lamp main controlled node microprocessor module; Set up the zigbee network by main controlled node, allow other street-lamp node to add;
GPRS module in step (2) main controlled node receives the order from server, microprocessor module is judged current command type, and described command type comprises checks street lamp message command, broadcasting turn on light order, broadcasting turn off the light order, the order of broadcasting brightness regulation, clean culture turn on light order, clean culture turn off the light order and clean culture brightness adjustment order; Command type is included in the command packet, command packet is made up of 8 order of the bit types, 8 order of the bit length, N bit data content and 8 CRC check sign indicating numbers, wherein N bit data content comprises the setting brightness value of a plurality of street lamp numberings and this street lamp, the street lamp numbering accounts for 16, the setting brightness value of street lamp accounts for 8, and the size of N is by the street-lamp node quantity decision of need control;
If current order of receiving by the GPRS module then jumps to step (3) for checking the street lamp message command; If the order of receiving then jumps to step (4) for broadcasting the order of turning on light; If the order of receiving then jumps to step (5) for broadcasting the order of turning off the light; If the order of receiving then jumps to step (6) for broadcasting brightness adjustment order; If the order of receiving then jumps to step (7) for the clean culture order of turning on light; If the order of receiving then jumps to step (8) for the clean culture order of turning off the light; If the order of receiving is clean culture brightness adjustment order, then jump to step (9); If the order of receiving is not above order, then abandon this order;
Step (3) is analyzed and to be checked the street lamp message command, obtains the numbering of the street lamp that need check from this order, from microprocessor module, transfer then contain this numbering the street lamp state feedback to server;
Step (4) is provided with in wireless zigbee communication module broadcasts the order of turning on light, and this order is sent to street-lamp node, jumps to step (2) then; The effect of broadcasting the order of turning on light is whole street lamps of opening in the zigbee network;
Step (5) is provided with in wireless zigbee communication module broadcasts the order of turning off the light, and this order is sent to street-lamp node, jumps to step (2) then; The effect of broadcasting the order of turning off the light is whole street lamps of closing in the zigbee network;
Step (6) is provided with broadcasting brightness adjustment order in wireless zigbee communication module, contain street lamp in this order and set brightness value, street-lamp node sends to street-lamp node to the order that sets by wireless zigbee communication module by the brightness of this value adjustment street lamp, jumps to step (2) then; The effect of broadcasting brightness adjustment order is to adjust the brightness of all street lamps in the zigbee network according to setting brightness value;
Step (7) is analyzed the clean culture order of turning on light, obtain the numbering of the street lamp that need turn on light from this order, the clean culture that the street lamp that need turn on light is set in the wireless zigbee communication module order of turning on light, and send to street-lamp node by wireless zigbee communication module, jump to step (2) then; The turn on light effect of order of clean culture is the part street lamp of opening in the zigbee network;
Step (8) is analyzed the clean culture order of turning off the light, obtain the numbering of the street lamp that need turn off the light from this order, the clean culture that the street lamp that need turn off the light is set in the wireless zigbee communication module order of turning off the light, and send to street-lamp node by wireless zigbee communication module, jump to step (2) then; The turn off the light effect of order of clean culture is the part street lamp of closing in the zigbee network;
Step (9) is analyzed clean culture brightness adjustment order, obtain needing the numbering of the street lamp that brightness adjusts and the setting brightness value of this street lamp from this order, clean culture brightness adjustment order is set in wireless zigbee communication module, send to street-lamp node by wireless zigbee communication module, jump to step (2) then; The effect of clean culture brightness adjustment order order is to adjust street lamp brightness according to the street lamp brightness adjusted value of setting;
The A/D of step (10) microprocessor module gathers the electric current of all street-lamp nodes in the zigbee network in the cycle of setting, determine the state and the storage of street lamp;
The concrete grammar of street lamp state confirmation is: if the current value that obtains of sampling greater than zero, then street lamp is the state of turning on light, and determines street lamp brightness according to the size of current value again, current value is directly proportional with street lamp brightness; If the current value that sampling obtains equals zero, then street lamp is for closing the state of turning on light;
Step (11) repeating step (2)~step (10) keeps the street lamp main controlled node for the control that is in all street-lamp nodes in the zigbee network.
CN2010102515803A 2010-08-10 2010-08-10 Method for controlling city street lamp master node Pending CN101938872A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102515803A CN101938872A (en) 2010-08-10 2010-08-10 Method for controlling city street lamp master node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102515803A CN101938872A (en) 2010-08-10 2010-08-10 Method for controlling city street lamp master node

Publications (1)

Publication Number Publication Date
CN101938872A true CN101938872A (en) 2011-01-05

Family

ID=43391930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102515803A Pending CN101938872A (en) 2010-08-10 2010-08-10 Method for controlling city street lamp master node

Country Status (1)

Country Link
CN (1) CN101938872A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611755A (en) * 2012-03-27 2012-07-25 杭州电子科技大学 Communication method between road lamp and remote equipment in road lamp control system
CN102665293A (en) * 2012-04-23 2012-09-12 杭州电子科技大学 Mobile device and street lamp communication method
CN105824299A (en) * 2016-03-15 2016-08-03 浙江创意声光电科技有限公司 City-level smart illumination control management system and control method thereof
CN106413231A (en) * 2016-11-29 2017-02-15 浙江方大智控科技有限公司 Wireless control method for intelligent street lamp and system thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101370334A (en) * 2008-10-08 2009-02-18 天津理工大学 Road lamp energy-saving remote management system based on Zigbee and GPRS
CN101583222A (en) * 2009-03-16 2009-11-18 东莞勤上光电股份有限公司 LED street lamp control method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101370334A (en) * 2008-10-08 2009-02-18 天津理工大学 Road lamp energy-saving remote management system based on Zigbee and GPRS
CN101583222A (en) * 2009-03-16 2009-11-18 东莞勤上光电股份有限公司 LED street lamp control method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611755A (en) * 2012-03-27 2012-07-25 杭州电子科技大学 Communication method between road lamp and remote equipment in road lamp control system
CN102665293A (en) * 2012-04-23 2012-09-12 杭州电子科技大学 Mobile device and street lamp communication method
CN105824299A (en) * 2016-03-15 2016-08-03 浙江创意声光电科技有限公司 City-level smart illumination control management system and control method thereof
CN106413231A (en) * 2016-11-29 2017-02-15 浙江方大智控科技有限公司 Wireless control method for intelligent street lamp and system thereof

Similar Documents

Publication Publication Date Title
CN201001214Y (en) Intelligent wireless network type LED road lamp
CN204598421U (en) A kind of intelligent power saving LED street lamp control system
CN201846504U (en) Remotely controllable LED (light-emitting diode) street lamp control circuit based on ZIGBEE wireless communication
CN204859641U (en) Automatic LED street lamp of luminance is adjusted to sensitization
CN105960071A (en) ZLL (ZigBee light link) technology based intelligent streetlamp interconnection system and control method
CN101938872A (en) Method for controlling city street lamp master node
CN103974514A (en) Method and device for intelligently controlling street lamps based on internet of things
CN101917797B (en) City street-lamp node control method
CN102427640A (en) Remotely-monitored wind-light complementary LED road lamp system
CN202475863U (en) Intelligent monitoring system based on 3G and electric power carrier wave technology for LED street lamps
CN109429405A (en) A kind of intelligent light controller
CN102984870A (en) Solar street lamp controller
CN203352899U (en) LED dimming lamp
CN202488847U (en) Street lamp intelligent control system
CN104394634A (en) Power line communication (PLC) technology based street lamp energy-saving control system
CN203057604U (en) Direct current bus power supply classroom energy saving LED lighting system
CN203136259U (en) LED power supply four-in-one light modulation circuit
CN202818697U (en) LED illumination energy saving control system on campus
CN203193947U (en) Led lamp control system
CN201957299U (en) Light emitting diode (LED) light-sensitive electrodeless light modulation circuit
CN202998563U (en) Energy-saving road lamp control device based on single chip machine
CN108076556A (en) A kind of LED intelligent illumination system
CN206100580U (en) Illumination energy -saving control network system
CN201657399U (en) LED light circuit
CN201078864Y (en) Road lamp carrier control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110105