A kind of device of traffic signal light fault detection
Technical field
The present invention relates to the dresses that electronic traffic signal control technology field more particularly to a kind of traffic signal light fault detect
It sets.
Background technique
End of the traffic lights as urban traffic control system plays a part of directly adjusting to urban transportation.It hands over
Ventilating signal lamp is installed on mostly on the lamp stand at crossing, is easy to be destroyed in thunderstorm, sweltering heat, bitter cold weather, is caused traffic signals
Lamp failure.Gently then cause traffic jam when traffic signal light fault, it is heavy then cause traffic accident casualties, because of traffic lights
The reconsideration situation violating the regulations that failure causes also more generation, virtually increases the workload of traffic administration department.
Based on this, it was found by the inventors of the present invention that dispersing since traffic lights are distributed, each corner in city is spread, far
From traffic surveillance centre, traffic monitoring personnel are unable to learn in time the working condition of crossroad traffic signal lamp, caused by traffic believe
It can not be found and be repaired to be technical problem urgently to be solved in time after signal lamp failure.
The information disclosed in the background technology section is intended only to increase the understanding to general background of the invention, without answering
When being considered as recognizing or imply that the information constitutes the prior art already known to those of ordinary skill in the art in any form.
Summary of the invention
In view of this, how the technical problem to be solved by the present invention is to provide a kind of dress of traffic signal light fault detection
It sets and can automatically detect whether traffic lights break down and fault message is reported to relevant department in time.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of device of traffic signal light fault detection, comprising:
Detection node module, connect with traffic lights, for judging whether the traffic lights break down;
Coordinator module is connect, for what whether the traffic lights broke down with the detection node module
Information is sent to remote server.
In one possible implementation, the detection node module includes:
Current transformer is connected on the zero curve of one group of traffic lights;
Full-bridge rectifier and sampling resistor module, connect with the current transformer, the current transformer output signal
Enter sampling resistor after full-bridge rectification;
CC2530 processor is connect with the full-bridge rectifier and sampling resistor module, the full-bridge rectifier and sampling
The output signal of resistive module is completed by the analog-digital converter that sets in the CC2530 processor to current value and each phase lamp
The acquisition of lighting time, by the lighting time of collected current value and each phase lamp respectively with the reference current value prestored and prestore
Reference lighting time be compared, when comparison result not within the predefined range when, generate signal lamp failure information, and will be described
Signal lamp failure information is transferred to the coordinator module by Zigbee network.
In one possible implementation, the coordinator module, comprising:
STM32 processor, for receiving whether the traffic lights that the detection node module is sent break down
Information and by GPRS remote communication module circuit by the transmitting fault information to remote server.
In one possible implementation, the coordinator module, further includes: display circuit, for showing the event
Hinder information.
In one possible implementation, the detection node module further include:
Self study key, for receiving the triggering of user;
The CC2530 processor is also used to:
When the self study key receives the triggering of user, within a preset period of time to the current value of traffic lights
It is acquired, respectively obtains the reference current value of three traffic lights;
The preset time period is greater than a duty cycle of traffic lights, according to acquisition current peak starting
The timer internal of CC2530 processor records three preset time periods, calculates each phase lamp by converting commutating current peak meter
The lighting time bright time as a reference point, by the reference current value and described be stored in the CC2530 with reference to lighting time
In the internal flash of processor.
In one possible implementation, the detection node module, further includes:
Toggle switch is connect with the CC2530 processor;
Power supply circuit is connect with the CC2530 processor;When dialling on the toggle switch and the coordinator module
When code switch state is identical, the power supply circuit is described device power supply;
Networking indicator light is connect with the CC2530 processor, the identical inspection in STM32 processor search address
Survey node module, after the key circuit in the coordinator module receives the triggering of user, the identical detection in address
Networking indicator light on node module is lit.
In one possible implementation, the detection node module, further includes:
AP power amplifier and antenna are connect, for enhancing Zigbee wireless signal with the CC2530 processor.
In one possible implementation, the detection node module is multiple, and the coordinator module is 1.
A kind of device of traffic signal light fault detection provided in an embodiment of the present invention can automatically detect traffic lights
Whether break down and fault message is reported into relevant department in time.
According to below with reference to the accompanying drawings becoming to detailed description of illustrative embodiments, other feature of the invention and aspect
It is clear.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys
The bright restriction not constituted to embodiment, the element in attached drawing with same reference numbers label are expressed as similar element, remove
Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 shows a kind of structural schematic diagram of the device of traffic signal light fault detection of one embodiment of the invention offer;
Fig. 2 shows another embodiment of the present invention provides a kind of traffic signal light fault detection device structural representation
Figure;
Fig. 3 show another embodiment of the present invention provides a kind of traffic signal light fault detection device structural representation
Figure;
Fig. 4 show another embodiment of the present invention provides a kind of traffic signal light fault detection device structural representation
Figure;
Fig. 5 show another embodiment of the present invention provides a kind of traffic signal light fault detection device structural representation
Figure;
Fig. 6 a~6b shows each phase lamp sampling commutation figure;
Fig. 7 a shows green-yellow commutation signal figure;
Fig. 7 b shows green-yellow commutator pulse figure;
Fig. 7 c shows yellow-red commutator pulse figure;
Fig. 7 d shows red-green commutator pulse figure.
Specific embodiment
With reference to the accompanying drawing, specific embodiments of the present invention will be described in detail, it is to be understood that guarantor of the invention
Shield range is not limited by the specific implementation.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.Unless
Separately have it is other explicitly indicate that, otherwise in entire disclosure and claims, term " includes " or its transformation such as "comprising" or
" including " etc. will be understood to comprise stated element or component, and not exclude other elements or other compositions
Part.
Dedicated word " exemplary " means " being used as example, embodiment or illustrative " herein.Here as " exemplary "
Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, in order to better illustrate the present invention, numerous details is given in specific embodiment below.
It will be appreciated by those skilled in the art that without certain details, the present invention equally be can be implemented.In some instances, for
Method well known to those skilled in the art, means, element are not described in detail, in order to highlight purport of the invention.
Embodiment 1
Fig. 1 shows a kind of structural schematic diagram of the device of traffic signal light fault detection provided in an embodiment of the present invention, such as
Shown in Fig. 1, which includes: detection node module 11 and coordinator module 12.
Detection node module 11, connect with traffic lights, for judging whether traffic lights break down.Coordinator
Module 12 is connect with detection node module 11, and the information for whether traffic lights to break down is sent to remote service
Device.Remote server is the server of higher level's traffic control part, can receive the information whether traffic lights break down, make to have
Pass department can be according to the traffic lights of the information on-call maintenance failure.
A kind of device 10 of traffic signal light fault detection provided in an embodiment of the present invention can automatically detect traffic as a result,
Whether signal lamp breaks down and fault message is reported to relevant department in time.
Embodiment 2
Fig. 2 shows a kind of structural schematic diagrams of the device of traffic signal light fault detection provided in an embodiment of the present invention, such as
Shown in Fig. 2, which includes: multiple detection node modules 11 and a coordinator module 12.
In general, multiple traffic lights can be arranged in a crossing, such as a traffic lights are respectively arranged in 4 directions, this
When, can each traffic lights respectively connect 1 detection node module 11, what which was used to judge to be connected
Whether traffic lights break down.1 coordinator module 12 is arranged in one crossing, and the coordinator module 12 and multiple detections save
Any one connection in point module 11, the information for whether the traffic lights to break down are sent to remote service
Device.Remote server is the server of higher level's traffic control part, can receive the information whether traffic lights break down, make to have
Pass department can be according to the traffic lights of the information on-call maintenance failure.
A kind of device 10 of traffic signal light fault detection provided in an embodiment of the present invention can automatically detect traffic as a result,
Whether signal lamp breaks down and fault message is reported to relevant department in time.
Embodiment 3
Fig. 3 shows a kind of structural schematic diagram of the device of traffic signal light fault detection provided in an embodiment of the present invention, such as
Shown in Fig. 3, which includes: detection node module 11 and coordinator module 12.
Detection node module 11, comprising: current transformer 111, such as neutral line current mutual inductor are connected to one group of traffic letter
On the zero curve of signal lamp.Full-bridge rectifier and sampling resistor module 112, connect with current transformer 111, and current transformer 111 is defeated
Signal enters sampling resistor after full-bridge rectification out.Processor 113 is connect with full-bridge rectifier and sampling resistor module 112,
Processor 11 can be CC2530 processor, the output signal of full-bridge rectifier and sampling resistor module 112 by CC2530 at
The analog-digital converter set in reason device 113 completes the acquisition to the lighting time t of current value i and each phase lamp, collected current value i
It is stored in the flash memory of CC2530 processor 113 with the lighting time t of each phase lamp, by collected current value i and each phase lamp
Lighting time t is compared with the reference current value I prestored and the reference lighting time T prestored respectively, when comparison result does not exist
When in preset range, signal lamp failure information is generated, and the signal lamp failure information is transferred to association by Zigbee network
Adjust device module 12.
Coordinator module 12, comprising: processor 121, which can be STM32 processor, for receiving detection
The information that whether breaks down of traffic lights that node module 11 is sent and by GPRS remote communication module circuit 122 by institute
Transmitting fault information is stated to remote server.
Optionally, coordinator module 12, further includes: display circuit 123 can be OLED display circuit, for showing
State fault message.Optionally, display circuit 123, can be also used for display indicates that traffic lights operate normal information.
Optionally, detection node module 11 further include: run indicator 119 will test the testing result of node module 11
In in run indicator, can be used for debugging, fault simulation indicates simultaneous display and detecting state indicates.
Using a kind of detection traffic lights of device 10 of traffic signal light fault detection provided in an embodiment of the present invention
When failure, which is powered on, by the lighting time t of collected current value i and each phase lamp respectively with the reference current that prestores
Value I and reference the lighting time T prestored are compared, when comparison result not within the predefined range when, generate signal lamp failure and believe
Breath, and the signal lamp failure information is transferred to coordinator module 12 by Zigbee network.The device 10 is detectable
Failure includes: the long bright failure of 1. red, green, yellow lamps.The failure 2. red, green, yellow lamp does not work.3. red, green, yellow lamp is not according to introductory die
Formula periodic duty failure.4. signal lamp electric leakage, short trouble.
A kind of device 10 of traffic signal light fault detection provided in an embodiment of the present invention can automatically detect traffic as a result,
Whether signal lamp breaks down and fault message is reported to relevant department in time, also, by neutral line current detection method, makes one
Group green three signal lamps of reddish yellow only need detection node module 11 all the way, it is not necessary that a detection node is arranged for every lamp, reduce hard
Part cost and detection device faults itself rate.One detection node module 11 can detecte out straight trip, left-hand rotation, right-hand rotation, timer
Four groups of signal lamp failures.
Embodiment 4
Fig. 4 shows a kind of structural schematic diagram of the device of traffic signal light fault detection provided in an embodiment of the present invention, figure
In with embodiment 1-3 identical explanatory note is used with embodiment 1-3 using the component of same reference numerals, it is no longer superfluous herein
It states.As shown in figure 4, detection node module 11 further include: toggle switch 114, power supply circuit 115.
Toggle switch 114 is connect with CC2530 processor 113.
Power supply circuit 115 is connect with the CC2530 processor 113, when on toggle switch 114 and coordinator module 12
When toggle switch (not shown) state is identical, power supply circuit 115 is the power supply of described device 10.Detection node module 11 may be used also
To include: networking indicator light 116.
Networking indicator light 116 is connect with CC2530 processor 113, and STM32 processor 121 searches for the identical detection in address
Node module 11, after the key circuit 124 in coordinator module 12 receives the triggering of user, the identical detection node in address
Networking indicator light 116 in module 11 is lit.
Optionally, detection node module 11, further includes: AP power amplifier and antenna 117 connect with CC2530 processor 113
It connects, for enhancing Zigbee wireless signal.Thereby it is ensured that networking distance and stability.
When using a kind of progress networking of device 10 that traffic signal light fault detects provided in an embodiment of the present invention, one
A traffic lights installation point will test toggle switch 114 on node module 11 and be allocated to and opens with the dial-up in coordinator module 12
Same state is closed, device 10 powers on, and the automatic searching and detecting node module 11 of coordinator module 12, coordinator module 12 is shown entirely
After the detection node module 11 of portion's identical address, confirm that key (not shown) is complete by pressing networking in coordinator module 12
At network construction, networking indicator light 116 is lighted after the completion of 12 networking of detection node module 11 and coordinator module.
A kind of device 10 of traffic signal light fault detection provided in an embodiment of the present invention can automatically detect traffic as a result,
Whether signal lamp breaks down and fault message is reported to relevant department in time, also, by way of wireless networking, reduces
With routing problem between belisha beacon, it is ensured that a crossing at most only needs a coordinator module 12, reduce hardware at
Originally with later period operating cost, keep signal lamp failure detection more practical.
Embodiment 5
Fig. 5 shows a kind of structural schematic diagram of the device of traffic signal light fault detection provided in an embodiment of the present invention, figure
In with embodiment 1-4 identical explanatory note is used with embodiment 1-4 using the component of same reference numerals, it is no longer superfluous herein
It states.As shown in figure 5, detection node module 11 further include: self study key 118.
Self study key 118, for receiving the triggering of user.The CC2530 processor 113 is also used to: when the self-study
When habit key 118 receives the triggering of user, the current value of traffic lights is acquired within a preset period of time, respectively
To the reference current value I of three traffic lights, the preset time period is greater than a duty cycle of traffic lights, according to
Acquisition current peak starts the timer internal of the CC2530 processor, records three preset time periods, passes through commutation
Current peak calculates the lighting time T bright time as a reference point of each phase lamp, by the reference current value I and the reference point
Bright time T is stored in the internal flash of CC2530 processor 113.
When the device 10 using a kind of traffic signal light fault detection provided in an embodiment of the present invention is learnt, pre-
Fix time, such as in three seconds, artificially press that self study key 118 is primary, then enter the study of mode one, press twice then into
Enter the study of mode two.Mode of learning is skipped if not pressing self study key, is directly entered normal mode of operation.
Timing in three seconds is full, and CC2530 processor 113 starts to traffic signals lamp current if self study key 118 has operation
Value is acquired, and acquisition is greater than one normal work period of traffic lights, and Harvest time intermediate node is opened according to acquisition current peak
Dynamic 113 timer internal of CC2530 processor, records three periods, logic judgment goes out the red, yellow, and green lamp time, by three kinds of lamps
Current value is stored in 113 internal flash of CC2530 processor, when completing the reference current I of signal lamp normal mode and lighting
Between T statistics.It is restarted automatically after the completion of study.Mode of learning core is to calculate the point of each phase lamp by converting commutating current peak meter
Bright time T.
Fig. 6 a~6b shows each phase lamp sampling commutation figure, as shown in Fig. 6 a~6b, zero curve sampled voltage when red light, amber light are bright
Almost consistent, green light sampled voltage is higher by 152mv than red light voltage, may determine that green light phase according to sample voltage value
Sequence.
Fig. 7 a shows green-yellow commutation signal figure, and Fig. 7 b shows green-yellow commutator pulse figure, as shown in Fig. 7 a~7b, commutation arteries and veins
It rushes sampled voltage and is apparently higher than normal voltage value, it can be determined that go out the commutation of green light to amber light, green light end time point and amber light
Start time point.
Fig. 7 c shows yellow-red commutator pulse figure, as shown, commutator pulse sampled voltage is apparently higher than normal voltage value,
It may determine that the commutation of amber light to red light, amber light end time point and red light start time point.
Fig. 7 d shows red-green commutator pulse figure, as shown, commutator pulse sampled voltage is apparently higher than normal voltage value,
It may determine that the commutation of red light to green light, red light end time point and green light start time point.
A kind of device 10 of traffic signal light fault detection provided in an embodiment of the present invention can learn automatically as a result, from
Dynamic that reference current value is arranged and refers to lighting time, learning efficiency is high, can run in traffic lights complete within two periods
Learn at one mode, the study of the various states such as normal mode, night amber light mode, tidal model is rapidly completed, the later period is automatic
Mode fault judgement is carried out, removal time error influences.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It is realized by the mode of software plus general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, above-mentioned technology
Scheme substantially in other words can be embodied in the form of software products the part that the relevant technologies contribute, the computer
Software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions to
So that computer equipment (can be personal computer, server or the network equipment etc.) execute each embodiment or
Method described in certain parts of embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.