A kind of gate control system based on visible light communication
Technical field
The present invention relates to a kind of gate control system, in particular a kind of gate control system based on visible light communication.
Background technology
Traditional access control system of residential community adopts magnetic card or IC-card to carry out vehicle identification and registration.These two kinds of gate control systems have the following disadvantages in actual use, and magnetic card is by magnetic stripe recording information, and its memory data output is little, and magnetic stripe likely occurs loss of excitation after using certain hour and cause data to lose; IC-card utilizes radiofrequency signal to communicate, and takies radio resource, has the problem of electromagnetic compatibility.In addition, magnetic card technique and IC-card technology decipherment distance are short, generally be no more than 1 meter, while sailing other public places such as community, parking lot, turn pike into when automobile, vehicle must drive to enough near distance and could be identified and register by gate control system, this must slow down even vehicle to stop, thereby has caused traffic congestion.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The object of the present invention is to provide a kind of gate control system based on visible light communication, be intended to solve short, easy obliterated data of gate control system life-span of the prior art, decipherment distance short, there is the technical matterss such as electromagnetic compatibility.
Technical scheme of the present invention is as follows: a kind of gate control system based on visible light communication, wherein, comprises scrambler, information sending module, information receiving module and demoder; Described scrambler is electrically connected to information sending module, and described information receiving module is electrically connected to demoder, and described information sending module is connected by light signal with information receiving module; Described information sending module comprises modulation module and the electrooptic conversion module being connected with modulation module, described modulation module is connected with scrambler, described electrooptic conversion module comprises luminous group of the LED that at least three groups are arranged in parallel, luminous group of LED lamps that comprise that three series connection arrange of described LED.
The described gate control system based on visible light communication, wherein, described information receiving module comprises photoelectric conversion module, filter and amplification module and demodulation module; Described photoelectric conversion module, filter and amplification module are connected successively with demodulation module, and described photoelectric conversion module is phototriode.
The described gate control system based on visible light communication, wherein, modulation module and demodulation module include LM567CN chip; The LM567CN chip of described modulation module is connected with electrooptic conversion module by triode.
The described gate control system based on visible light communication, wherein, described encoder includes AT89S52 microcontroller; The P0/AD pin of the AT89S52 microcontroller of described scrambler connects the input end of modulation module.
The described gate control system based on visible light communication, wherein, described filter and amplification module is bandpass filtering amplifying circuit, described bandpass filtering amplifying circuit comprises three operational amplifiers, is respectively the first transport and placing device, the second transport and placing device and the 3rd transport and placing device; The reverse input end of described the first transport and placing device is connected with phototriode, and output terminal is connected with the reverse input end of the second transport and placing device, and the output terminal of the second transport and placing device is connected with the reverse input end of the 3rd transport and placing device, is connected with the input end of demodulation module simultaneously.
The described gate control system based on visible light communication, wherein, described scrambler and information sending module are arranged on automobile.
Beneficial effect of the present invention: the present invention is by information of vehicles is encoded to impulse level, and impulse level is after frequency modulation (PFM), and driving LED lamp is luminous.After photodiode receiving optical signals, be converted to electric signal, to electric signal amplify, filtering, demodulation code reduction information of vehicles, and control the outpost of the tax office according to information of vehicles, and the vehicle or no thoroughfare for vehicles of letting pass in time, decipherment distance of the present invention is far away and recognition speed is fast, circuit is simple, cost is low, easily apply, and the present invention do not take radio resource, can not cause electromagnetic interference (EMI), without electromagnetic compatibility problem, be easy to realize.
Accompanying drawing explanation
Fig. 1 is functional block diagram of the present invention.
Fig. 2 is the circuit diagram of scrambler of the present invention and information sending module.
Fig. 3 is the circuit diagram of information receiving module of the present invention and demoder.
Embodiment
For making object of the present invention, technical scheme and advantage clearer, clear and definite, referring to accompanying drawing, developing simultaneously, the present invention is described in more detail for embodiment.
The invention discloses a kind of gate control system based on visible light communication, its functional block diagram as shown in Figure 1, comprises scrambler 100, information sending module, information receiving module and demoder 400; Described scrambler 100 is electrically connected to information sending module, and described information receiving module is electrically connected to demoder 400, and described information sending module is connected by light signal with information receiving module; Described information sending module comprises modulation module 210 and the electrooptic conversion module 220 being connected with modulation module, and described modulation module 210 is connected with scrambler 100.Described information receiving module comprises photoelectric conversion module 310, filter and amplification module 320 and demodulation module 330; Described photoelectric conversion module 310, filter and amplification module 320 and demodulation module 330 are connected successively, and demodulation module 330 connects demoder 400.Scrambler 100 is encoded to impulse level electric signal, after modulation module 210 modulation, pass to electrooptic conversion module 220, electrooptic conversion module 220 is converted to light signal electric signal and is transmitted to photoelectric conversion module 310, photoelectric conversion module 310 is converted to electric signal light signal, this electric signal is after filtering after amplification module 320 filter and amplifications, electric signal after 330 pairs of amplifications of demodulation module carries out demodulation, and after demodulation, through demoder, 400 decodings are reduced into original electric signal.
As shown in Figure 2 and Figure 3, be physical circuit figure of the present invention, wherein, described electrooptic conversion module 220 comprises luminous group of the LED that at least three groups are arranged in parallel, luminous group of LED lamps that comprise that three series connection arrange of described LED.In practical application, the number that LED is luminous group is more, and light intensity is larger, the scope that light signal transmits is just far away, but relative cost is just higher, the number that while LED is luminous group also can exist and must require the power of system, therefore after considering these factors, through test of many times, obtain, when the quantity of luminous group of LED is eight groups, best results when namely the quantity of LED lamp is 24, propagation distance reaches 5-10 rice, and cost is lower, be easy to apply.
Concrete, described photoelectric conversion module 310 is phototriode Q2, in practical application, can carry out receiving optical signals by a plurality of phototriodes, in the present embodiment, is considering, under the prerequisite of cost, a phototriode Q2 to be only set.
In the present embodiment, modulation module 210 is LM567CN chip with demodulation module 330, and described scrambler 100 and demoder 400 are AT89S52 microcontroller.The LM567CN chip of described modulation module 210 is connected with electrooptic conversion module 310 by triode Q1; The P0/AD pin of the AT89S52 microcontroller of described scrambler 100 connects the input end of the LM567CN chip of modulation module 210.
Described phototriode Q2 connects filter and amplification module 320, and wherein, filter and amplification module 320 is bandpass filtering amplifying circuit, comprises three operational amplifiers, is respectively the first transport and placing device 321, the second transport and placing device 322 and the 3rd transport and placing device 323; The reverse input end of described the first transport and placing device 321 is connected with phototriode Q2, output terminal is connected with the reverse input end of the second transport and placing device 322, the output terminal of the second transport and placing device 322 is connected with the reverse input end of the 3rd transport and placing device 323, and the while is connected with the input end of the LM567CN chip of demodulation module 330.
In practical application, described scrambler 100 and information sending module are arranged on automobile, information receiving module and demoder 400 are arranged on door, in the time of in the scope of 10 meters of automobile range gate, scrambler 100 is encoded to electromagnetic pulse automobile information, after 210 modulation of straightening module, electrooptic conversion module 220 is converted to light signal electric signal, utilizes LED lamp that this light signal is launched; Photoelectric conversion module 310 in information receiving module on door receives this light signal and is converted into electric signal, this electric signal is after bandpass filtering amplifying circuit filter and amplification, electric signal after 330 pairs of amplifications of demodulation module carries out demodulation, passing to demoder 400 decodings, be reduced into automobile information, gate control system receives after this automobile information, according to information of vehicles, controls the outpost of the tax office, timely clearance vehicle or no thoroughfare for vehicles, without vehicle parking or deceleration.
Should be understood that, application of the present invention is not limited to above-mentioned giving an example, and for those of ordinary skills, can be improved according to the above description or convert, and all these improvement and conversion all should belong to the protection domain of claims of the present invention.