Background technology
Association of the low-cost wireless local area network technology in public illumination field (the such as, but not limited to street lighting of road)
Play irreplaceable effect in control, but simultaneously because currently known low-cost wireless local area network technology (such as it is but unlimited
In ZigBee technology) itself exist can not long-distance transmissions and can not the self-defect of large-scale network-estabilishing cause low-cost wireless office
Domain network technology can not large-scale application in public illumination field.
Specifically, because low-cost wireless local area network building is limited in one's ability, when lighting device quantity is more, i.e. networking section
When point quantity is more, it is classified into multiple WLANs and carries out networking.Using ZigBee technology in LAN as analysis examples, believing
Breath and the S2 phases in 2015 that communicate《ZigBee Large Copacity Mesh networking technology researchs》In mention, according to ZigBee-network layer protocol
Standard, the network address of each node in network represent with the data of 2 bytes, i.e., the number of nodes in whole network
More than 65 500 can be reached, but actual conditions are really not so.
By taking the ZigBee chips CC2530 of Texas Instruments as an example, the ram space in CC2530 pieces only has 4K sizes, removes
Remove OS, Zigbee protocol stack, and the ram space that application program takes, leave the space of storage routing table and neighbor table for
Remain little.In Zigbee protocol stack corresponding to CC2530, the NWK_MAX_DEVICE_LIST values of definition are 20, NWK_
MAX_ROUTERS values are 6, i.e. routing device can only be with most 20 sub- equipment, and in this 20 sub- equipment at most only
It is routing device that can have 6.So calculate, build a ZigBee-network with CC2530, the routing node quantity supported is not
Cross tens, only hundreds of, label, this perhaps can also be applicable in the occasion of Intelligent housing, but need to support it is up to ten thousand
Just no longer it is applicable in the technical grade network of individual network node.The high performance ZigBee wireless chips released on the market now, though
So lifted in Resources on Chip (such as RAM capacity), but nor solved the basic method of problem.
It is known, it is thus proposed that to use such as wireless multihop ad hoc networks agreement to carry out information transmission to realize that multiple illuminations fill
Association control between putting, but there are such as Guangzhou polytechnical university Zeng little Hu best papers in putting into practice《ZigBee route implementings are with leading to
Believe performance test research》In mention networking path capacity successively decrease and Network Packet Loss be incremented by the problem of.Except above mentioned problem, advising greatly
The problem of bandwidth limitation will be all faced in the communication of mould local area network building
In order to solve problem above, low-cost wireless local area network technology is set to be passed at a distance in public illumination field
Defeated and large-scale application, this area there is an urgent need to propose one kind can low cost, long-distance transmissions and can large-scale application in
The control method in existing public illumination field.
The content of the invention
It is therefore an object of the present invention to provide a kind of control method for being enough to overcome disadvantages mentioned above.
According to the public illumination local network control method based on computer vision of the present invention, the wherein public illumination includes
Along multiple lighting devices of paths arrangement, wherein each lighting device is respectively connected with wireless communication unit and control unit, pass through
The wireless communication unit networking of at least one lighting device is formed an independent LAN, the public illumination is divided into that
Independent multiple LANs around here, computer vision unit is provided with wherein at least one LAN, should be regarded based on computer
The public illumination local network control method of feel comprises the following steps:
Step 1:Along the path by multiple lighting device networkings of public illumination, with formed it is adjacent to each other, by least one
Multiple LANs that individual lighting device is formed, wherein at least one LAN carry computer vision unit, and the computer regards
Feel that unit is configured to detect the trigger event in LAN adjacent thereto;
Step 2:The trigger event in adjacent LAN, the wherein trigger event are detected using the computer vision unit
For the photograph of lighting device in the either adjacent LAN of the illumination change on the surface in corresponding path in adjacent LAN
Degree change;
Step 3:Signal after the trigger event processing that computer vision unit is received passes to the LAN belonging to it
In lighting device wireless connection unit and control unit, so as to controlling the illumination in the LAN to fill based on the trigger event
The illumination put, it is achieved thereby that signal transmission between multiple LANs independent of each other with associate control.
Preferably, the computer vision unit is imaging sensor, infrared emission sensor, infrared sensor or illumination
Spend detector.
Preferably, in the step 2, the illumination change on the surface in the path is by measuring LAN intraoral illumination
Certain limit where the vertical point of device carries out extracted region to realize.
Preferably, in the step 2, the illumination change of the lighting device is by measuring LAN interior lighting device
The certain limit at place carries out extracted region to realize.
Preferably, wherein, thresholding processing will be carried out to acquired image after carrying out extracted region to image, and will shine
Degree reaches trigger event of the situation of certain threshold value as signal transmission between independent WLAN.
Preferably, wherein, path is selected from following any:Highway, railway, tunnel, subway tunnel, tramcar or city
City's overhead railway.
Preferably, wherein, path is selected from following any:The navigation channel of ship or the air route of aircraft.
From the foregoing, it will be observed that method according to the invention it is possible to pass the information on in the first independent LAN and according to second
Light situation in independent LAN carries out the control of adaptability to the illumination in the first independent LAN.So as to merely with
Computer vision unit is inexpensive relay method, long-distance transmissions and can be applied to existing public illumination neck on a large scale
Domain.
It should be appreciated that foregoing description substantially and follow-up description in detail are exemplary illustration and explanation, should not
As the limitation to the claimed content of the present invention.
Embodiment
By reference to one exemplary embodiment, the purpose of the present invention and function and the side for realizing these purposes and function
Method will be illustrated.However, the present invention is not limited to one exemplary embodiment as disclosed below;Can by multi-form come
It is realized.The essence of specification is only to aid in the detail of the various equivalent modifications Integrated Understanding present invention.
Hereinafter, embodiments of the invention will be described with reference to the drawings.In the accompanying drawings, identical reference represents identical
Or similar part, or same or like step, unless otherwise indicated.
Below by specific embodiment a kind of signal transmission is carried out to provided by the present invention by computer vision
Method is described in detail, hereinafter for mention relevant speciality term (such as:Thresholding, networking node, brightness value,
Or gray value) should be those skilled in the art it will be appreciated that.Computer is based on according to one kind provided by the present invention
The public illumination local network control method of vision, below as wherein the path of public illumination is road in the embodiment of example
Illumination.But those skilled in the art it is contemplated that herein, path can also include highway, railway, tunnel, subway tunnel,
Other specific road traffics such as tramcar, city elevated railways.In this case, lighting device can be street lamp, tunnel
Wall lamp etc..
But the invention is not restricted to the embodiment of following road, other such as ships are can apply to according to actual conditions
Navigation channel, the air route etc. of aircraft (such as airbus) field waterborne or aerial need the path of the target illuminated.In this case,
Lighting device can be the aerial illuminator on the buildings such as lighting device or building body on river channel.
Below in conjunction with accompanying drawing, 1~5 pair carries out signal transmission according to one kind provided by the present invention by computer vision
Each step of method be described in detail, wherein the flow chart of each step of the method according to the invention is in Figure 5
It is illustrated, specific method includes:
S101, along road by multiple lighting device networkings of public illumination.
As shown in Figures 1 to 3, show multiple lighting device networkings in the public illumination of the road according to the present invention
Schematic diagram.As shown in figure 1, be, for example, positioned at the side of road 20 along the arrangement of road 20 comprising multiple lighting devices for example but not
It is limited to A1, M, N public illumination 10.Shown in the schematic diagram according to the present invention as 6 lighting devices, but art technology
Personnel know that this is simply schematical, and the number of lighting device can be far longer than 6.Certainly, in some alternative implementations
Multiple lighting devices 10 can be arranged in the both sides of road 20 in example, in further embodiments can be more in the intermediate arrangement of road 20
Individual lighting device 10.However, on the premise of ensureing to illuminate, arranged preferably according to the mode of the present embodiment in the side of road 20
Multiple lighting devices 10, each lighting device 10 are at least connected with a wireless communication unit, integer lighting device 10 it
Between (such as 2) networking carried out by wireless communication unit form independent LAN independently of other LANs.According to this
Invention is not limited to road, and the mobile route of the target of any required illumination is can apply to according to actual conditions.
With reference to Fig. 2-3, it is described how by multiple networkings of lighting device 10 into multiple independent LANs.Show in figure 3
Three-dimensional system of coordinate O is gone out, wherein XOY plane corresponds to the road surface of road, and Z-direction is short transverse spatially.In coordinate system O
In, it is schematically shown that three adjacent lighting devices:First lighting device A1, the second lighting device M and the 3rd illumination dress
Put N.As described above, each lighting device is used to be illuminated to the road surface of the road as coordinate system XOY plane.It is each to shine
Bright device is connected with its own wireless communication unit and control unit in itself, and wherein the wireless energy control units are used for by more
The communication and signal transmission in net between multiple lighting devices, control are realized between the independent LAN that individual lighting device is formed
Unit then adjusts the illumination of lighting device according to corresponding control signal.
Form LAN mode specifically, such as make both second lighting device M and the 3rd lighting device N by with
Its wireless communication unit networking being each connected is formed such as the second independent LAN B in Fig. 2.It is sharp between a small amount of lighting device
The method that independent LAN is formed with wireless communication unit is known in the art, be will not be repeated here.Meanwhile independent first
Lighting device A1The first independent independent LAN A is then formed by the wireless communication unit being connected with itself.In order to realize
Signal transmission between the one independent independent LAN B of LAN A and second is so as to realizing that the illumination in these independent LANs fills
The association control put, utilizes the middle wireless communication unit by computer vision unit and the first independent LAN A in the present invention
Connect to realize being in communication with each other between multiple independent LANs.Herein, the computer vision unit can be camera,
Imaging sensor, infrared emission sensor, infrared sensor or illuminance detector, wherein preferably camera.
S102, trigger event are identification illuminance of ground change.
When implementing the step of the present invention, it is necessary to by (such as the illumination or bright in the second independent LAN of a certain signal
Degree situation is delivered to the first independent LAN, to realize that the association of whole public illumination 10 controls) passed from the second independent LAN B
It is delivered to the first independent LAN A.In this step, it is necessary to transmit or the change as the parameter that control of association for illuminance of ground
Change.Because illuminance of ground depends on the brightness of lighting device in itself, and with the experience direct correlation of user on road, therefore supervise
The change for surveying illuminance of ground has realistic meaning.Principle in this step is as described below, wherein as shown in figure 3, being shone as first
Bright device A1The vertical line that hang down point O, the second lighting device M and YOX planes are met at the vertical line of YOX planes meets at the point U that hangs down, and the 3rd shines
Bright device N and the vertical line of YOX planes meet at the point W that hangs down.The meter being now connected with the wireless communication unit in the first independent LAN A
Calculation machine visual unit (such as can be in the first lighting device A1Opening position) X-axis ultimate range is detected as at maximum stadia point P.
By selecting the sighting distance of suitable computer vision unit more at least to do circle by radius of OP in the point U or W that hangs down
In the range of, brightness value (or gray value) change of the computer vision unit to the point U or W that hangs down is described in detail below and sentences
It is disconnected:
S1, extracted region.Extracted region is carried out to the certain limit comprising vertical point U or W, due to multiple independent illumination dresses
Spacing between putting be it is known or with corresponding pressure standard (such as the spacing between multiple street lamps be force have mark
It is accurate and be known), therefore the regional extent where the point U or W that can hang down is known to those skilled in the art, therefore can
Region is extracted with being set.Those skilled in the art know, are beneficial to drop via the step of extracted region
The total amount of low computer vision cell processing view data, application cost, while the extraction energy to the specific region are reduced with this
Effectively reduce interference incident.
S2, thresholding processing.Thresholding processing will be carried out to acquired image, specifically after carrying out extracted region to image
For, illumination is reached to trigger event of the situation as signal transmission between independent WLAN of certain threshold value.Enter with two
Illustrate exemplified by thresholding processing processed, when carrying out thresholding processing to 8 gray-scale maps, pre-set specific threshold quantity, threshold value
The gray value that changing operation only needs to will be greater than the threshold quantity is set as 255, and the gray value less than or equal to the threshold quantity is set as
0, the trigger event when it is 255 that gray value, which occurs, in image as signal transmission between independent WLAN.This area skill
Art personnel know that thresholding processing is not limited to binary thresholdization processing, or anti-binary thresholdization handles, blocks threshold
Value processing, self-adaption thresholding processing etc..
Between S104, independent LAN information transmission with associate control.Those skilled in the art know, independent from second
Illuminance of ground signal in LAN B is gathered by the computer vision unit in the first independent LAN A.Shone on ground
When degree is for default threshold value, when the illuminance of ground for showing in the second independent LAN B is to reach actual requirement, now via
Illuminance of ground in second independent LAN B is become wonderful works and obtains trigger event and the first independent office by computer vision unit
Wireless communication unit in the net A of domain, which is communicated and is sent into control unit, to be controlled, so as to pass the information on to first independently
Illumination in LAN A and in the light situation LAN A independent to first in the second independent LAN B carries out adaptability
Control, such as strengthen the first lighting device A1Illumination.
With step S102 alternatively, step S103, trigger event is identification lighting device illumination change.
When implementing the step of the present invention, it is necessary to by (such as the illumination or bright in the second independent LAN of a certain signal
Degree situation is delivered to the first independent LAN, to realize that the association of whole public illumination 10 controls) passed from the second independent LAN B
It is delivered to the first independent LAN A.In this step, it is necessary to which the parameter for transmitting or being controlled as association is lighting device illumination
Change.Because lighting device illumination is the source of all illumination in road or environment, therefore the illumination of monitoring light device
Change has realistic meaning.Principle in this step is as described below, wherein as shown in figure 4, due in the first independent LAN A
There is certain wide-angle in the computer vision unit being connected with wireless communication unit, i.e., the computer vision unit is put down to XOZ
While face is detected, due to the spacing between lighting device as described above, it is known that setting computer vision list can be passed through
The sighting distance of member come meet to detect in the second lighting device M or the 3rd lighting device N points to a little less, be described in detail below
Computer vision unit is judged the change of the brightness value (or gray value) of the second lighting device M or the 3rd lighting device N points:
S1, extracted region.Extracted region is carried out to the certain limit comprising M or N points.Due to multiple independent lighting devices
Between spacing be it is known or with corresponding pressure standard (such as the spacing between multiple street lamps be force with standard
And be known), therefore can be known to those skilled in the art with the regional extent where lighting device M or N, therefore
It can be set to be extracted to region.Those skilled in the art know, are beneficial to via the step of extracted region
The total amount of computer vision cell processing view data is reduced, application cost is reduced with this, while to the extraction of the specific region
Interference incident can effectively be reduced.
S2, thresholding.After carrying out extracted region to image thresholding processing will be carried out to acquired image, it is specific next
Say, illumination is not up to trigger event of the situation as signal transmission between independent WLAN of certain threshold value.With anti-two
Illustrate exemplified by the processing of system thresholding, when carrying out thresholding processing to 8 gray-scale maps, pre-set specific threshold quantity, threshold
The gray value that value operation only needs to will be greater than the threshold quantity is set as 255, by the gray value setting less than or equal to the threshold quantity
For 0, the trigger event when it is 255 that gray value, which occurs, in image as signal transmission between independent WLAN.This area
Technical staff knows that thresholding processing is not limited to binary thresholdization processing, or anti-binary thresholdization is handled, blocked
Thresholding processing, self-adaption thresholding processing etc..
Between S104, independent LAN information transmission with associate control.Those skilled in the art know, independent from second
The illumination intensity signal of lighting device M or N in itself in LAN B has been the computer vision unit in the first independent LAN A
Gathered.When lighting device illumination is less than default threshold value, show the illumination of the lighting device in the second independent LAN B
Be not up to actual requirement when, now via computer vision unit by the second independent LAN B lighting device illumination become
Wonderful works obtains trigger event and is communicated and be sent into control unit with the wireless communication unit in the first independent LAN A
Row control, so as to pass the information on in the first independent LAN A and the light situation in the second independent LAN B is to the
Illumination in one independent LAN A carries out the control of adaptability, such as strengthens the first lighting device A1Illumination.
In the case where having described some embodiments, can repaiied without departing from the spirit of the invention using various
Change, alternative constructions and equivalent.Therefore, above description does not limit the scope of the invention.Of the invention said with reference to what is disclosed here
Bright and practice, other embodiment of the invention all will be readily apparent and understand for those skilled in the art.Illustrate and implement
Example is to be considered only as exemplary, of the invention true scope and purport is defined in the claims.