Background technology
With the development of modern city, instrument of the street lamp as city illumination, it provides convenient same for people
When, also bring the huge consumption of electric energy.Meanwhile the maintenance management of street lamp needs special messenger's scene inspection, setting street lamp operation plan
Slightly, high maintenance cost is brought.
In order to reach cost that is energy saving, reducing maintenance management, currently used way is:Connect using Timer Controlling exchange
Tentaculum, half night train lack people it is dilute when by the power supply of breaking part A.C. contactor cut-off parts street lamp, so as to reach energy saving
Purpose.Realize that this way mainly there are two schemes:A kind of scheme is, when street lamp is installed the street lamp collection for needing midnight to power off
In be connected in service cable in L1 phase lines, midnight needs to realize in L1 by controlling A.C. contactor 3 to disconnect L1 phase lines during power-off
Street lamp in phase line is closed.There is following deficiency in this scheme, L1 phase lines are controlled by A.C. contactor, L1 phases during normal operation
Three-phase balance in line, L2 phase lines, L3 phase lines, electric current is almost 0 in zero curve, when disconnecting L1 phase lines, is not had in L1 phase lines
Electric current, causes three-phase current unbalance in service cable, and the electric current in zero curve is bigger, causes cable and transformer to generate heat, can
Cable can be burnt out, or even burn out transformer.Another scheme is to be laid with special confession to this part street lamp when street lamp is installed
Electrical cables, other street lamps are connected on an other service cable, i.e. although the parallel cabling of two cables, this mode solves three
The unbalanced problem of phase current, but the wasting of resources is caused, construction cost is higher, and in some old towns, difficulty of construction compares
Greatly.
The content of the invention
It is an object of the invention to provide a kind of method for controlling street lamps based on lamp attribute, can easily realize to street lamp
Control and autgmentability it is high.
In order to achieve the above object, the technical solution adopted by the present invention is:A kind of method for controlling street lamps based on lamp attribute, bag
Include following steps:(A) electric ballast is pressed into attributive classification, attribute is stored in each electric ballast, the identical electricity of attribute
Street lamp corresponding to sub-ballast is distributed in each phase line;(B) it is whole to the Street lamps control to send control instruction for streetlamp control terminal
Hold all electric ballasts controlled;(C) after electric ballast receives control instruction, the attribute and the control that are stored refer to
Attribute in order is compared, if attribute is identical, performs the control instruction, otherwise, does not perform the control instruction.
Compared with prior art, there are following technique effect by the present invention:By setting a property to each electric ballast, then
Each street lamp is controlled by these attributes, ensure that the flexibility of control;Simultaneously because the street lamp of same alike result uniformly divides
Cloth is not in the phenomenon of current unevenness so when being controlled to these street lamps, ensures the peace of circuit in each phase line
Entirely.
Embodiment
With reference to specific embodiment, the present invention is described in further detail.
A kind of method for controlling street lamps based on lamp attribute, includes the following steps:(A) electric ballast is pressed into attributive classification,
Attribute is stored in each electric ballast, the street lamp corresponding to the identical electric ballast of attribute is distributed in each phase line;(B)
Streetlamp control terminal sends all electric ballasts that control instruction is controlled to the streetlamp control terminal;(C) electric ballast
After receiving control instruction, the attribute stored is compared with the attribute in control instruction, if attribute is identical, performing should
Control instruction, otherwise, does not perform the control instruction.In step, by the way that the identical street lamp of attribute is distributed in each phase line,
When so to being controlled according to attribute to street lamp, on the one hand convenient control, to each phase line after on the other hand controlling
Influence very little.Here attribute can have in many kinds, such as a street and have main stem Deng Hefu roads lamp, auxiliary after 24 points
Road lamp can close, and main stem lamp continues to be remain on, in this way, the attribute of the electric ballast corresponding to main stem lamp is main stem lamp,
Road lamp supplemented by the attribute of electric ballast corresponding to auxiliary road lamp.When control, streetlamp control terminal is when 24
Control instruction " auxiliary road lamp, is closed " is sent, after each electric ballast receives control instruction, contrasting self attributes first is
It is no with control instruction in attribute be " auxiliary road lamp " unanimously, be to be shut off if auxiliary road lamp.
In addition to main stem Deng Hefu roads lamp can be used as attribute, odd number lamp and even number of lamps, high-position lamp and low level lamp can
As attribute, odd number lamp and even number of lamps can realize that the interval of street lamp is lighted, the high-order height that street lamp can be realized with low level lamp
Low level street lamp is lighted, or even when main stem lamp is more, can continue to be subdivided into main stem lamp 1, main stem lamp 2, main stem lamp 3 etc..
According to actual street lamp deployment scenarios, attribute is assigned for each street lamp, is then controlled according to attribute.It should be noted that
Each electric ballast can have multiple attributes, such as either main stem lamp, and be odd number lamp.
As the preferred solution of the present invention, following steps are further included in the step A:(A1) deposited in streetlamp control terminal
Attribute, the attribute-bit information of each electric ballast are contained, attribute, the attribute-bit letter of itself are stored with electric ballast
Breath;(A2) streetlamp control terminal obtains the attribute-bit of electric ballast, and the attribute-bit got and Street lamps control is whole
The attribute-bit stored in end is compared, if identical, enters step B, if differing, enters step A3;(A3) Street lamps control
Terminal, which downloads to the electric ballast attribute of its memory storage, attribute-bit information in electric ballast, to be updated in electric ballast
The attribute of storage, attribute-bit information, subsequently into step B.In order to improve scalability, attribute in electric ballast can be with
Change, user are directly stored in new attribute information into streetlamp control terminal, and streetlamp control terminal is by new attribute according to electronics
The address distribution of ballast is gone down;Equally, attribute-bit is also provided with here, for whether examining attribute in electric ballast
It is newest definite.Before streetlamp control terminal sends control instruction, first contrast and deposited in streetlamp control terminal and electric ballast
Whether the attribute-bit of storage is consistent, if unanimously, can directly perform step B, if it is different, the category in explanation electric ballast
Property needs to change.The attribute-bit is version number or time, such as when user is stored in attribute to streetlamp control terminal, can
Time during being stored into updates as attribute-bit, the attribute-bit with the renewal of attribute.
It is highly preferred that since streetlamp control terminal is more and is arranged in roadside, when the attribute of electric ballast has been changed
When, it is necessary to it is modified to scene.In the present embodiment, the streetlamp control terminal is led to by communication module and host computer
Letter, user set the attribute of electric ballast by host computer, and host computer is defeated by communication module by the attribute of electric ballast
Go out the attribute mark for the attribute information and host computer or streetlamp control terminal being generated to streetlamp control terminal, streetlamp control terminal
Know information to store in the lump.Here streetlamp control terminal is directly connected into internet, attribute information is passed to by each road by host computer
Lamp control terminal so that operation is more convenient.
Further, user sets the control strategy of electric ballast by host computer, and host computer leads to the control strategy
Cross communication module and export to streetlamp control terminal, streetlamp control terminal and corresponding control instruction is sent according to the control strategy.Have
When control instruction can also change, here again by host computer to each streetlamp control terminal issue control strategy, keep away
The scene for having exempted from user to streetlamp control terminal is controlled the modification of instruction.Control instruction has very much, it is common include opening,
Close, increase power and reduce power, there can also be other control instructions, be set according to the demand of user.