CN102752827A - Communication method between a plurality of subnets in street lamp control system - Google Patents

Communication method between a plurality of subnets in street lamp control system Download PDF

Info

Publication number
CN102752827A
CN102752827A CN2012101195737A CN201210119573A CN102752827A CN 102752827 A CN102752827 A CN 102752827A CN 2012101195737 A CN2012101195737 A CN 2012101195737A CN 201210119573 A CN201210119573 A CN 201210119573A CN 102752827 A CN102752827 A CN 102752827A
Authority
CN
China
Prior art keywords
street
intelligent gateway
lamp
telegon
command
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
CN2012101195737A
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 CN2012101195737A priority Critical patent/CN102752827A/en
Publication of CN102752827A publication Critical patent/CN102752827A/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
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a communication method between a plurality of subnets in a street lamp control system. The existing street lamp control system utilizes the mobile phone short message mode to control street lamps and sends command in one-way mode in the communication mode of managing personnel and the street lamps, and the communication is not complete communication. The communication method utilizes intelligent gateway to achieve two communication functions that a main coordinator sends control command to street lamp nodes and subnet nodes send information to the main coordinator to enable communication between managers and the street lamps to achieve the interaction function, and design of the communication method between the subnets lays a foundation for achievement of the interaction. The specific communication method between the subnets in the street lamp control system is achieved, so that the whole communication is reasonable and stable, and communication reliability between the street lamps is guaranteed.

Description

Communication means in the street lamp control system between a plurality of subnets
Technical field
The invention belongs to electronic information technical field, be specifically related to the communication means between a plurality of subnets in the street lamp control system.
Background technology
Along with development of Communication Technique, short-distance wireless communication technology is being played the part of more and more important role in people's life.The ZigBee technology relies on many advantages such as its low cost, low-power consumption, networking convenience in the wireless communication technology competition of fierceness, to be shown one's talent gradually.What is worth mentioning is that the ZigBee technology possesses powerful network function.It supports the main ad hoc deployed wireless networks type of order first three, and has very strong network robustness and system reliability, makes the ZigBee network more flexibly, efficiently, reliably.Commercial production and daily life are more pressed close in the application of this low rate wireless communication technology, can well be applied to home automation, Industry Control, building automation, medical treatment and nursing etc.
The ZigBee agreement is based on the 802.15.4 standard; This standard is physical layer and the media access control layer standard that IEEE is used for low-speed wireless personal area network (LR-WPAN); Arranging net in being used among a small circle more; The ZigBee network also is called as " personal area network " (Personal Area Network is called for short PAN) usually.In the ZigBee protocol stack standard that ZigBee alliance formulates, the restriction that has routing iinformation maximum 15 to jump has so just limited the arranging net and using in extensive scope of ZigBee network.But,, need utilize the low-power consumption of ZigBee technology, reliable communications, advantage any wide-area deployment ZigBee node capacious like city street lamp control, forest zone environmental monitoring, the monitoring of the reservoir hydrology etc. in some practical application.The restriction of ZigBee protocol network hop count has restricted the application of ZigBee technology in above-mentioned field greatly.
Summary of the invention
The objective of the invention is deficiency to prior art; A kind of communication means that is used between a plurality of subnets of street lamp control system is provided; The present invention has realized that in street lamp control system the concrete communication means between each sub-net has ensured the reliability of communicating by letter between street lamp.
This communication means is mainly realized through intelligent gateway device.This intelligent gateway device mainly is made up of three modules: first wireless communication module, second wireless communication module, power module.
First wireless communication module is connected through spi bus with second wireless communication module, and the first wireless communication module and the second wireless communication module are carried out two-way transparent transmission through SPI.Power module is first wireless communication module, second powered.
Described first wireless communication module and second wireless communication module all adopt STM32w108C8.
Described power module provides the burning voltage of 5V direct current.
Wherein, we are referred to as telegon first wireless communication module, and we are referred to as router second wireless communication module.
Main communication process:
The data message method for stream processing is: the telegon of intelligent gateway is received book networking Lantern Festival point data sent information; The time delay of intelligent gateway through setting sends to the telegon of subnet under the router, promptly adjacent intelligent gateway through router with this data message.Adjacent intelligent gateway repeats above-mentioned steps, has realized the propagation of data message between a plurality of subnets through transmitting successively.
The command information method for stream processing is: the router of current intelligent gateway is received the command information that adjacent intelligent gateway telegon is sent, and current intelligent gateway judges whether command information belongs to this subnet; If command information is this subnet under issuing, so current intelligent gateway is responsible for order is issued to the appointment street-lamp node; If command information is not this subnet under issuing, then current intelligent gateway is transmitted to another adjacent intelligent gateway with command information.Repeat above-mentioned steps, intelligent gateway passes to corresponding street-lamp node through transmitting successively with command information at last.
The present invention is through in street lamp control system, makes the communication means between a plurality of subnets, realizes the information of whole road lamp network through each sub-net of master coordinator control and treatment.Its main communication means is that the realization master coordinator is sent these two kinds of communication functions of information to street-lamp node transmitting control commands and each sub-net street-lamp node to master coordinator:
Communication function (1): master coordinator is to the street-lamp node transmitting control commands.
When master coordinator during to the street-lamp node transmitting control commands; After receiving this command frame near the router of the intelligent gateway of certain sub-net N of master coordinator; Current intelligent gateway judges whether this command frame belongs to this sub-network, if command frame is this sub-network under issuing, so current intelligent gateway is responsible for command frame is sent to the destination node of affiliated subnet; Destination node is operated accordingly, and this subcommand sends and finishes; If command frame is not this sub-network under issuing; Then current intelligent gateway is transmitted to another adjacent intelligent gateway with command frame; And the repetition above-mentioned steps, intelligent gateway passes to node corresponding through transmitting successively with command frame at last, has realized the communication of command frame between each sub-net thus.
Described control command comprises broadcasting command and clean culture order, and their processing mode is respectively:
When the telegon of the intelligent gateway of certain sub-net is received certain broadcasting command; This command frame of the subnet broadcast of the telegon of this intelligent gateway under this intelligent gateway then; And this command frame is transmitted to the telegon of adjacent intelligent gateway through the router of this subnet; Repeat this process and all receive this command frame up to all street-lamp nodes, all street-lamp nodes are operated accordingly; Said broadcasting command comprises that master coordinator is upgraded the time order of street lamp and router, all street lamp on/off commands, master coordinator are revised street lamp report cycle command;
When the telegon of the intelligent gateway of certain sub-net is received certain clean culture order; Judge at first then whether this order belongs to this subnet; If belong to this subnet, then telegon is to this command frame of purpose street-lamp node clean culture of this subnet, and the purpose street-lamp node is carried out associative operation; If this order does not belong to this subnet; Then the telegon that is transmitted to adjacent intelligent gateway through the router of this subnet is ordered in this clean culture, repeat above-mentioned steps, this clean culture order is transmitted between each sub-net; The final purpose street-lamp node that arrives, the purpose street-lamp node is operated accordingly; Described clean culture order comprises single lamp on/off commands, single lamp adjusting intensity command.
Communication function (2): each sub-net street-lamp node sends information to master coordinator.
When certain street-lamp node in the subnet will be when master coordinator be sent data message; Its information frame will be sent to the telegon of the intelligent gateway of the affiliated subnet of this street-lamp node; The telegon of this intelligent gateway can be transmitted to this information frame the router of this intelligent gateway again by spi bus; This router can send to this information frame the telegon of the subnet under this router again by wireless network; It is the telegon of adjacent intelligent gateway; If this telegon is the target master coordinator, then current data message sends and finishes; If this telegon is not the target master coordinator, then adjacent intelligent gateway repeats above-mentioned steps, has realized the transmission of information frame between a plurality of subnets by transmitting successively, finally arrives the target master coordinator.
The present invention has following beneficial effect with respect to prior art:
Communication means in the street lamp control system among the present invention between a plurality of subnets has been realized in street lamp control system, and the concrete communication means between each sub-net makes whole communication reasonably stability more, has ensured the reliability of communicating by letter between street lamp.
Description of drawings
Fig. 1 is the sketch map of intelligent gateway of the present invention;
Fig. 2 is the flow chart that the order of master coordinator transmission of the present invention is transmitted between each sub-net;
Fig. 3 is street-lamp node of the present invention sends a flow chart from information to master coordinator.
Embodiment
Street lamp control system described in the present invention is based on the LED energy-saving control system for roam lamp of ZigBee, and this system mainly is made up of LED street lamp and efficient switch power supply, controller for road lamp, street lamp telegon, portable hand-held management equipment and information service platform.To controller for road lamp and LED street lamp power supply, road lamp power supply, control is implemented in the work of LED street lamp through the efficient switch power supply, and utilized ZigBee module on the controller to realize and the communicating by letter of remote equipment by controller for road lamp.Remote equipment be responsible for realizing and controller for road lamp and information service platform between communication, play the transfer information function.Information service platform is realized the control to controller for road lamp by the road lamp management personnel.Portable hand-held management equipment realizes the direct control to controller for road lamp by the maintenance personal.
Master coordinator described in the present invention is exactly the street lamp coordinator module in the street lamp control system, and master coordinator hardware comprises microprocessor module, GPRS radio-frequency module, power management module, LED charactron display module and memory module.Have ZigBee and GPRS module simultaneously, both be responsible for the networking of ZigBee network, be responsible for again reporting information and obtaining control command to information service platform, and be distributed to the controller for road lamp in the network through GPRS network.
Described in the present invention in the street lamp control system a plurality of subnets be meant owing to adopted the number of street-lamp node in the intelligent gateway technique extension road lamp network; And the street-lamp node in the street lamp control system has been divided into many little communication networks; And be responsible for the communication between each little communication network by the intelligent gateway of setting, and these little communication networks are exactly described a plurality of subnet.
Below in conjunction with accompanying drawing the communication means between a plurality of subnets in the street lamp control system provided by the invention is further described.
As shown in Figure 1, each intelligent gateway is made up of two wireless communication modules, and they are known as telegon and router respectively, is directly to communicate through spi bus between telegon and the router.Communication between two intelligent gateways is to realize through the wireless sub network of between the telegon of an intelligent gateway and another intelligent gateway router, setting up.
As shown in Figure 2; Master coordinator is sent a command frame to street-lamp node, receive this command frame near the router of the intelligent gateway of certain sub-net N of master coordinator after, current intelligent gateway judges whether this command frame belongs to this sub-network; If command frame is this sub-network under issuing; So current intelligent gateway is responsible for command frame is sent to the destination node of affiliated subnet, and destination node is operated accordingly, and this subcommand sends and finishes; If command frame is not this sub-network under issuing; Then current intelligent gateway is transmitted to another adjacent intelligent gateway with command frame; And the repetition above-mentioned steps, intelligent gateway passes to node corresponding through transmitting successively with command frame at last, has realized the communication of command frame between each sub-net thus.
As shown in Figure 3; When certain street-lamp node in the subnet will be when master coordinator be sent data message; Its information frame will be sent to the telegon of the intelligent gateway of the affiliated subnet of this street-lamp node; The telegon of this intelligent gateway can be transmitted to the router of this intelligent gateway with this information frame through spi bus again, and this router can send to the telegon of the subnet under this router, the i.e. telegon of adjacent intelligent gateway with this information frame through wireless network again; If this telegon is the target master coordinator, then current data message sends and finishes; If this telegon is not the target master coordinator, then adjacent intelligent gateway repeats above-mentioned steps, has realized the transmission of information frame between a plurality of subnets through transmitting successively, finally arrives the target master coordinator.

Claims (2)

1. the communication means between a plurality of subnets in the street lamp control system is characterized in that: through in street lamp control system, make the communication means between a plurality of subnets, realize the information of whole road lamp network through each sub-net of master coordinator control and treatment; Specifically comprise and realize that master coordinator sends these two kinds of communication meanss of information to street-lamp node transmitting control commands and each sub-net street-lamp node to master coordinator:
Master coordinator is to the street-lamp node transmitting control commands specifically:
When master coordinator when street-lamp node sends control command; After the router of the intelligent gateway of certain sub-net N of close master coordinator is received this command frame; Current intelligent gateway judges whether this command frame belongs to this sub-network; If command frame is this sub-network under issuing; So current intelligent gateway is responsible for command frame is sent to the destination node of affiliated subnet; Destination node is operated accordingly, and this subcommand sends and finishes; If command frame is not this sub-network under issuing; Then current intelligent gateway is transmitted to another adjacent intelligent gateway with command frame; And the repetition above-mentioned steps, intelligent gateway passes to node corresponding by transmitting successively with command frame at last, has realized the communication of command frame between each sub-net thus;
Each sub-net street-lamp node sends data message specifically to master coordinator:
When certain street-lamp node in the subnet will be when master coordinator be sent data message; Its information frame will be sent to the telegon of the intelligent gateway of the affiliated subnet of this street-lamp node; The telegon of this intelligent gateway can be transmitted to this information frame the router of this intelligent gateway again by spi bus; This router can send to this information frame the telegon of the subnet under this router again by wireless network; It is the telegon of adjacent intelligent gateway; If this telegon is the target master coordinator, then current data message sends and finishes; If this telegon is not the target master coordinator, then adjacent intelligent gateway repeats above-mentioned steps, has realized the transmission of information frame between a plurality of subnets by transmitting successively, finally arrives the target master coordinator.
2. the communication means in the street lamp control system according to claim 1 between a plurality of subnets is characterized in that: described control command comprises broadcasting command and clean culture order;
When the telegon of the intelligent gateway of certain sub-net is received certain broadcasting command; This command frame of the subnet broadcast of the telegon of this intelligent gateway under this intelligent gateway then; And this command frame is transmitted to the telegon of adjacent intelligent gateway through the router of this subnet; Repeat this process and all receive this command frame up to all street-lamp nodes, all street-lamp nodes are operated accordingly; Said broadcasting command comprises that master coordinator is upgraded the time order of street lamp and router, all street lamp on/off commands, master coordinator are revised street lamp report cycle command;
When the telegon of the intelligent gateway of certain sub-net is received certain clean culture order; Judge at first then whether this order belongs to this subnet; If belong to this subnet, then telegon is to this command frame of purpose street-lamp node clean culture of this subnet, and the purpose street-lamp node is carried out associative operation; If this order does not belong to this subnet; Then the telegon that is transmitted to adjacent intelligent gateway through the router of this subnet is ordered in this clean culture, repeat above-mentioned steps, this clean culture order is transmitted between each sub-net; The final purpose street-lamp node that arrives, the purpose street-lamp node is operated accordingly; Described clean culture order comprises single lamp on/off commands, single lamp adjusting intensity command.
CN2012101195737A 2012-04-23 2012-04-23 Communication method between a plurality of subnets in street lamp control system Pending CN102752827A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101195737A CN102752827A (en) 2012-04-23 2012-04-23 Communication method between a plurality of subnets in street lamp control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101195737A CN102752827A (en) 2012-04-23 2012-04-23 Communication method between a plurality of subnets in street lamp control system

Publications (1)

Publication Number Publication Date
CN102752827A true CN102752827A (en) 2012-10-24

Family

ID=47032670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101195737A Pending CN102752827A (en) 2012-04-23 2012-04-23 Communication method between a plurality of subnets in street lamp control system

Country Status (1)

Country Link
CN (1) CN102752827A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107949073A (en) * 2018-01-04 2018-04-20 西南民族大学 A kind of jamproof ZigBee elastomer networks
CN108282938A (en) * 2016-12-30 2018-07-13 欧普照明股份有限公司 A kind of lighting control system
CN108770045A (en) * 2018-06-05 2018-11-06 云丁智能科技(北京)有限公司 Method of network entry, relevant device and network system
CN109039793A (en) * 2018-11-06 2018-12-18 杭州鸿雁智能科技有限公司 Terminal node control system and method and communication node
CN109413812A (en) * 2018-08-31 2019-03-01 杭州古北电子科技有限公司 A kind of more equipment synchronize the method executed instruction
CN111271825A (en) * 2020-03-09 2020-06-12 珠海格力电器股份有限公司 Multi-split air conditioning system and communication control method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101400159A (en) * 2008-11-11 2009-04-01 江苏技术师范学院 ZigBee cellular network
CN201303452Y (en) * 2008-12-04 2009-09-02 王雷 Energy-saving control device of city road lamp based on WSN
CN101977447A (en) * 2010-10-19 2011-02-16 杭州电子科技大学 ZigBee intelligent gateway for large-scale networking and implementing method thereof
KR20110060872A (en) * 2011-04-28 2011-06-08 연세대학교 산학협력단 Network management system for wireless sensor networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101400159A (en) * 2008-11-11 2009-04-01 江苏技术师范学院 ZigBee cellular network
CN201303452Y (en) * 2008-12-04 2009-09-02 王雷 Energy-saving control device of city road lamp based on WSN
CN101977447A (en) * 2010-10-19 2011-02-16 杭州电子科技大学 ZigBee intelligent gateway for large-scale networking and implementing method thereof
KR20110060872A (en) * 2011-04-28 2011-06-08 연세대학교 산학협력단 Network management system for wireless sensor networks

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108282938A (en) * 2016-12-30 2018-07-13 欧普照明股份有限公司 A kind of lighting control system
CN107949073A (en) * 2018-01-04 2018-04-20 西南民族大学 A kind of jamproof ZigBee elastomer networks
CN108770045A (en) * 2018-06-05 2018-11-06 云丁智能科技(北京)有限公司 Method of network entry, relevant device and network system
CN109413812A (en) * 2018-08-31 2019-03-01 杭州古北电子科技有限公司 A kind of more equipment synchronize the method executed instruction
CN109039793A (en) * 2018-11-06 2018-12-18 杭州鸿雁智能科技有限公司 Terminal node control system and method and communication node
CN111271825A (en) * 2020-03-09 2020-06-12 珠海格力电器股份有限公司 Multi-split air conditioning system and communication control method thereof

Similar Documents

Publication Publication Date Title
CN106792916B (en) Hybrid remote wireless sensor network system and communication method thereof
US10693719B2 (en) Centralized controlling system controlling interactions and cooperation between radio-operated devices operating in a mesh network supporting multiple radio communication protocols
CN101873240B (en) Multifunctional wireless Mesh gateway device for multi-RF (Radio Frequency) mine and control system thereof
CN101902805B (en) Multi-radio frequency mining multifunctional wireless Mesh router device and control system thereof
CN102752827A (en) Communication method between a plurality of subnets in street lamp control system
CN109104790A (en) A kind of wisdom street lamp control system
CN101079772A (en) Intelligent traffic control system based on ZigBee wireless communication
CN109041367A (en) Intelligent lighting control system, method, medium, terminal, Intelligent lamp and intelligent gateway
CN103917019B (en) A kind of street lamp control system based on Internet of Things
CN101977447B (en) ZigBee intelligent gateway for large-scale networking and implementing method thereof
Fan et al. The application of a ZigBee based wireless sensor network in the LED street lamp control system
Badgaiyan et al. Smart street lighting system
CN103490813A (en) Museum intelligent explanation system based on visible light and power line carrier communication
CN102420859A (en) Data acquisition system based on wireless sensing network and virtual apparatus technology
Long et al. Research on ZigBee wireless communication technology and its application
CN102118206A (en) Broadcast principle-based lighting equipment wireless network deployment method and system
CN104619079A (en) Ad hoc network control system of LED (Light Emitting Diode) lighting lamp
Mathew et al. Iot based street light monitoring & control with lora/lorawan network
CN201690618U (en) Multifunctional wireless Mesh gateway device for multi-RF mine
CN101466160B (en) Method and system for saving energy of wireless netted network node
Ke et al. Research of intelligent street light system based on ZigBee
Abhishek et al. Design of smart street lighting system
CN107371297A (en) A kind of two-way independent control and the Intelligent lamp controller and control method of metering
Nayak et al. Development Of street lighting system with vehicular sensing at low light intensity based on ZigBee intelligence
CN106488631A (en) Based on the alignment system that lamp is networked

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: 20121024