Embodiment
Need to prove, in the situation that do not conflict, embodiment and the feature among the embodiment among the application can make up mutually.Describe below with reference to the accompanying drawings and in conjunction with the embodiments the present invention in detail.
Embodiment 1
Fig. 3 is the structure chart according to a kind of visible light communication system of the embodiment of the invention, and as shown in Figure 3, the visible light communication system of this embodiment comprises:
A plurality of reflectors 11 are arranged on same launch point, are used for the utilizing emitted light signal, and wherein, the direction of the light signal of described a plurality of reflector 11 emissions is different.
For example, same launch point can refer to same light fixture, by a plurality of reflectors 11 are arranged on the same light fixture, and can be so that the light utilizing emitted light signal that each reflector utilizes light fixture to send.
Receiver 12 is used for receiving the light signal from described reflector 11.
Visible light communication system provided by the invention, by at same launch point a plurality of reflectors being set, and the direction of the light signal of these a plurality of reflectors is different, than at a launch point reflector only being set, the scope of utilizing emitted light signal is larger, thereby reduced the emission blind area of the light signal in the visible light communication, so that the reliability of optical communication is stronger.
Embodiment 2
Fig. 4 is the structure chart according to the another kind of visible light communication system of the embodiment of the invention, and as shown in Figure 4, the visible light communication system of this embodiment comprises:
A plurality of reflectors 21 are arranged on same launch point, are used for the utilizing emitted light signal, wherein, the direction of the light signal of described a plurality of reflector 21 emissions is different, wherein, a plurality of reflectors are centered on same launch point setting, and the transmitting boundary of any two adjacent transmitter partially overlaps.Preferably, referring to Fig. 5, four 90 degree reflectors can be centered on same launch point setting, and the transmitting boundaries of any two 90 adjacent degree reflectors partially overlap.
In this embodiment since with a plurality of reflectors around same launch point setting, and the transmitting boundary of any two adjacent transmitter partially overlaps, thus so that the transmitting boundary of a plurality of reflectors reaches maximum, thereby, reduced to the full extent the emission blind area.
The visible light communication system of this embodiment can also comprise the first controller 22, and this first controller 22 is connected respectively with described a plurality of reflectors 21, is used for controlling described a plurality of reflector 21 according to sequencing successively utilizing emitted light signal.
This first controller also is used for the light signal that a plurality of reflectors 21 send is encoded in advance, when coding is identical, then the signal that sends of reflector is identical, in like manner, when encoding not simultaneously, the signal that then sends is different, in embodiments of the present invention, the a plurality of reflectors 21 that are arranged on same launch point carry out identical coding in order to send identical light signal around a plurality of reflectors of same launch point setting, and the reflector that is arranged on different launch points carries out different codings each other so that the light signal that sends at the reflector of different launch points is different.
For example, referring to Fig. 6, the first controller is spent reflector according to sequencing successively utilizing emitted light signal by four 90 of coding-controls, at first control first reflector utilizing emitted light signal, after first reflector transmitting optical signal is complete, control again second reflector utilizing emitted light signal, after second reflector transmitting optical signal is complete, control again the 3rd reflector utilizing emitted light signal ... .. until last reflector with the light signal battery has fired.
The first above-mentioned controller 22 and a plurality of reflector 21 common emitters that consist of visible light communication system, this visible light communication system also comprises receiving system, this receiving system comprises:
A plurality of receivers 23 are used for receiving the light signal from described reflector 21.
Second controller 24 is connected respectively with a plurality of receivers 23, is used for controlling described a plurality of receiver 23 data that receive directly are stored to data storage.
As previously mentioned, the first controller also is used for the light signal that a plurality of reflectors 21 send is encoded in advance, this second controller is used for the light signal that receiver receives is decoded, owing to carrying out identical coding, a plurality of reflectors 21 that are arranged on same launch point send identical light signal in order to center on a plurality of reflectors of same launch point setting, the reflector that is arranged on different launch points carries out different codings each other so that the light signal that sends at the reflector of different launch points is different, thereby, second controller is after decoding, the decoded information that the light signal at a plurality of reflectors 21 of same launch point that receives is corresponding is identical, and the decoded information that the light signal of the reflector that is arranged on different launch points that receives is corresponding is different.Further, because the decoded information that the light signal at a plurality of reflectors 21 of same launch point that receives is corresponding is identical, the decoded information that the light signal of the reflector that is arranged on different launch points that receives is corresponding is different, second controller or main frame can position based on the position of decoded information to reflector, and the position of the reflector of location also is the residing position of receiver.
Preferably, a plurality of receivers are arranged on same acceptance point, and the range of receiving of any two adjacent reception devices partially overlaps in a plurality of receivers, preferably, referring to Fig. 7, four 90 degree receivers can be centered on same acceptance point setting, and any two adjacent 90 degree receiver range of receiving partially overlap.
In this embodiment, owing to a plurality of receivers are arranged on same acceptance point, and the range of receiving of any two adjacent reception devices partially overlaps in a plurality of receiver, thereby so that the range of receiving of a plurality of receivers reaches maximum, thereby, reduced to the full extent the reception blind area.
Referring to Fig. 8 when a plurality of receivers receive a plurality of data simultaneously, second controller is controlled receiver directly and memory carries out data interaction, and directly be stored to the data that receive in the data storage, after described a plurality of data receivers are complete, CPU(Central Processing Unit, central processing unit) again by address bus and data/address bus, successively described a plurality of data analysis is processed.
Preferably, second controller is dma controller, adds DMA(Direct Memory Access, direct memory access) processor took conflict when controller can solve a plurality of data that receive simultaneously.DMA, direct memory access (DMA), external equipment does not pass through CPU and direct and Installed System Memory swap data, occurring in batches, the situation of swap data adopts dma mode to solve efficient and speed issue, the speed of transfer of data depends on the operating rate of memory and peripheral hardware like this, the address of system and data/address bus and control signal wire are by CPU(Central Processing Unit, central processing unit) manages, when dma mode, it is that the line that CPU links on these buses is in the high resistant shape that CPU allows bus out, and is taken over the byte number that control transmits by dma controller, judge whether DMA finishes, and send the DMA end signal.
In addition, can increase the transmitting boundary of optical communication by adding reflecting surface or receiver being installed in expedite position, reduce communication blind district.
The visible light communication system that the embodiment of the invention provides, by at same launch point a plurality of reflectors being set, and the direction of the light signal of these a plurality of reflectors is different, than at a launch point reflector only being set, the scope of utilizing emitted light signal is larger, thereby reduced the emission blind area of the light signal in the visible light communication, so that the reliability of optical communication is stronger, by at same acceptance point a plurality of receivers being set, and the range of receiving of two of arbitrary neighborhood receivers partially overlaps in a plurality of receivers, compare a receiver is set, the scope of receiving optical signals is larger, in addition, control a plurality of reflectors according to sequencing successively utilizing emitted light signal by the first controller, avoided a plurality of reflectors to transmit simultaneously and caused interference, controlled a plurality of receivers by second controller the data that receive directly are stored in the data storage, realized to receive simultaneously a plurality of data.
Embodiment 3
Fig. 9 is a kind of emitter for visible light communication according to the embodiment of the invention, and as shown in Figure 9, the emitter of the visible light communication of this embodiment comprises:
A plurality of reflectors 31 are arranged on same launch point, are used for the utilizing emitted light signal, and wherein, the direction of the light signal of described a plurality of reflector 31 emissions is different.
For example, same launch point can refer to same light fixture, by a plurality of reflectors 11 are arranged on the same light fixture, and can be so that the light utilizing emitted light signal that each reflector utilizes light fixture to send.
The emitter that is used for visible light communication that the embodiment of the invention provides, by at same launch point a plurality of reflectors being set, and the direction of the light signal of these a plurality of reflectors is different, than at a launch point reflector only being set, the scope of utilizing emitted light signal is larger, thereby reduced the emission blind area of the light signal in the visible light communication, so that the reliability of optical communication is stronger.
Embodiment 4
Figure 10 is the emitter that is used for visible light communication according to the another kind of the embodiment of the invention, and as shown in figure 10, the emitter of the visible light communication that this embodiment provides comprises:
A plurality of reflectors 41 are arranged on same launch point, are used for the utilizing emitted light signal, and wherein, the direction of the light signal of described a plurality of reflector 41 emissions is different.
Preferably, a plurality of reflectors are centered on same launch point setting, and the transmitting boundary of any two adjacent transmitter partially overlaps.For example, referring to Fig. 5, four 90 degree reflectors are centered on same launch point setting, and the transmitting boundaries of any two 90 adjacent degree reflectors partially overlap.
In this embodiment since with a plurality of reflectors around same launch point setting, and the transmitting boundary of any two adjacent transmitter partially overlaps, thus so that the transmitting boundary of a plurality of reflectors reaches maximum, thereby, reduced to the full extent the emission blind area.
The emitter of the visible light communication of this embodiment can also comprise the first controller 42, and this first controller 42 is connected respectively with described a plurality of reflectors 41, is used for controlling described a plurality of reflector 41 according to sequencing successively utilizing emitted light signal.
For example, spend reflector according to sequencing successively utilizing emitted light signal referring to Fig. 6 the first controller by four 90 of coding-controls, at first control first reflector utilizing emitted light signal, after first reflector transmitting optical signal is complete, control again second reflector utilizing emitted light signal, after second reflector transmitting optical signal is complete, control again the 3rd reflector utilizing emitted light signal ... .. until last reflector with the light signal battery has fired.
In addition, can increase the transmitting boundary of optical communication by adding reflecting surface, reduce communication blind district.
The emitter of visible light communication provided by the invention, by at same launch point a plurality of reflectors being set, and the direction of the light signal of these a plurality of reflectors is different, than at a launch point reflector only being set, the scope of utilizing emitted light signal is larger, thereby reduced the emission blind area of the light signal in the visible light communication, so that the reliability of optical communication is stronger, in addition, control a plurality of reflectors according to sequencing successively utilizing emitted light signal by the first controller, avoided a plurality of reflectors to transmit simultaneously and caused interference.
Embodiment 5
Figure 11 is a kind of receiving system for visible light communication according to the embodiment of the invention, and as shown in figure 11, the receiving system of the visible light communication that this embodiment provides comprises:
A plurality of receivers 51 are arranged on same acceptance point, are used for receiving the light signal from reflector, and wherein, the direction of described a plurality of receiver receiving optical signals is different.
The receiving system of the visible light communication that the embodiment of the invention provides, by at same acceptance point a plurality of receivers being set, and the direction of described a plurality of receiver receiving optical signals is different, than receiving a receiver at an acceptance point, the scope of receiving optical signals is larger, thereby reduced the reception blind area of the light signal in the visible light communication, so that the reliability of optical communication is stronger.
Embodiment 6
Figure 12 is the receiving system that is used for visible light communication according to the another kind of the embodiment of the invention, and as shown in figure 12, the receiving system of the visible light communication that this embodiment provides comprises:
A plurality of receivers 61 are arranged on same acceptance point, are used for receiving the light signal from reflector, and wherein, the direction of the light signal that described a plurality of receivers 51 receive is different.
Preferably, a plurality of receivers are centered on same acceptance point setting, and the range of receiving of any two adjacent reception devices partially overlaps.For example, referring to Fig. 7, four 90 degree receivers can be centered on same acceptance point setting, and the range of receiving of any two 90 adjacent degree receivers partially overlap.
In this embodiment, because a plurality of receivers are arranged on same acceptance point, and the range of receiving of any two adjacent reception devices partially overlaps, thereby so that the range of receiving of a plurality of receivers reaches maximum, thereby, reduced to the full extent the reception blind area.
The receiving system of the visible light communication of this embodiment can also comprise second controller 62, and this second controller 62 is connected respectively with a plurality of receivers 61, is used for controlling described a plurality of receiver the data that receive directly are stored to data storage.
Referring to Fig. 8, when a plurality of receivers receive a plurality of data simultaneously, second controller is controlled receiver directly and memory carries out data interaction, and directly be stored to the data that receive in the data storage, after described a plurality of data receivers are complete, CPU processes described a plurality of data analysis successively again by address bus and data/address bus.
Processor took conflict when for example, the adding dma controller can solve a plurality of data that receive simultaneously.DMA, direct memory access (DMA), external equipment does not pass through CPU and direct and Installed System Memory swap data, occurring in batches, the situation of swap data adopts dma mode to solve efficient and speed issue, the speed of transfer of data depends on the operating rate of memory and peripheral hardware like this, the address of system and data/address bus and control signal wire are managed by CPU, when dma mode, it is that the line that CPU links on these buses is in the high resistant shape that CPU allows bus out, and taken over by dma controller, the byte number that control transmits is judged whether DMA finishes, and is sent the DMA end signal.
In addition, receiver can be installed in expedite position, reduce communication blind district.
Next introduces the embodiment of the Optical Receivers (also being the receiver in the embodiment of the invention) that this embodiment provides.
Communicating by visible light in the transmission course of signal, at optical transmission module one end information to be sent (information such as geocoding, control command) is encoded to light signal, send by light fixture (for example LED illuminating lamp), after Optical Receivers one end receives by optical pickup apparatus, be converted to photoelectric signal, so that decoding circuit is decoded.
Optical transmission module (also is, reflector in the embodiment of the invention) can adopt as shown in figure 13 light signal sending module, this light signal sending module comprises AC/DC change-over circuit, led drive circuit, bus control circuit, MCU, adjusting control circuit and LED lamp.
Wherein, the AC/DC change-over circuit is converted to direct voltage with the 220V alternating voltage, and this circuit can be realized by transformer, also can realize by Switching Power Supply; Direct voltage after will changing by led drive circuit further is converted to constant current voltage and offers the LED lamp; Bus control circuit can be used for the brightness that control information transmission is controlled the LED lamp; Adjusting control circuit receives the information of bus transfer, produces the PWM dimmer voltage signal of control LED.In order to satisfy the launch requirements of light signal, further, bus control circuit also is used for transmitting the communication information to be sent, bus control circuit sends to MCU with the communication information to be sent, MCU receives the communication information, and it is compiled as the light code signal, and adjusting control circuit is luminous according to code signal control illumination LED, thereby the form of the communication information with light signal sent from the LED lamp, finished the function of optical transmission module.Need to prove, when not sending the communication information, adjusting control circuit has the function of adjusting brightness of LED lamps equally.
In the embodiment shown in fig. 13, adjusting control circuit can adopt circuit as shown in figure 14 to realize.As shown in Figure 8, this circuit comprises four resistance and two metal-oxide-semiconductor Q1, and wherein, the first end of the first metal-oxide-semiconductor Q1 connects MCU, and the second end connects power supply, the 3rd end ground connection via the 14 resistance R 14; The first end of the second metal-oxide-semiconductor Q2 is connected to the node between the first metal-oxide-semiconductor Q1 and the 14 resistance R 14, and the second end is connected to LED lamp D2, and the 3rd end is via the 16 resistance R 16 ground connection; One termination power of the 13 resistance R 13, the other end is connected with the first end of the first metal-oxide-semiconductor Q1; One end ground connection of the 15 resistance R 15, the other end are connected to the node between the first end of the second end of the first metal-oxide-semiconductor Q1 and the second metal-oxide-semiconductor Q2.
Adopt this adjusting control circuit, amplify by metal-oxide-semiconductor and come driving LED, produce high frequency flicker light, send light signal.
Optical Receivers can adopt optical signal receiving module as shown in figure 15, this Optical Receivers is used for the signal receiving end of communicate optical signal transmission, the light signal that receives is converted to photoelectric signal, and the photoelectric signal after will changing amplifies, obtain stable square-wave signal by shaping after amplifying, so that decoding circuit is decoded, as shown in Figure 9, this optical signal receiving module comprises optical signal processing circuit, amplifying circuit and comparison shaping circuit.
Wherein, optical signal processing circuit is used for receiving optical signals, and the light signal that receives is converted to photoelectric signal; Amplifying circuit is connected with optical signal processing circuit, is used for the photoelectric signal of optical signal processing circuit output is amplified; Voltage signal and threshold voltage signal after relatively shaping circuit will amplify compare, and obtain a stable square-wave signal, so that decoding circuit is decoded.
Particularly, this optical signal receiving module can be realized by circuit shown in Figure 16.As shown in figure 16, optical signal processing circuit comprises optical receiving circuit and pre-amplification circuit, wherein, optical receiving circuit comprises light receiving diode D1, photo resistance RS and the second resistance R 2, and pre-amplification circuit comprises the first capacitor C 1, the 3rd resistance R 3, the 4th resistance R 4 and the first comparator UIA; Amplifying circuit comprises the second capacitor C 2, the 5th resistance R 5, the 6th resistance R 6, the 8th resistance R 8 and the second comparator UIB; Relatively shaping circuit comprises the 9th resistance R 9, the tenth resistance R 10, the 11 resistance R 11, the 12 resistance R 12 and the 3rd comparator UIC.
Particularly, the signal of the annexation of each circuit and output is described below respectively:
The termination power of light receiving diode D1 in the optical receiving circuit, the parallel circuits ground connection that the other end consists of via photo resistance RS and the second resistance R 2, wherein, light receiving diode D1 is converted to photovoltage with the light signal that receives by parallel circuits, because the characteristic that photo resistance RS resistance changes with intensity of illumination, so that the voltage signal of optical receiving circuit output is little, the stable voltage signal of fluctuation;
The 11 end ground connection of the first comparator UIA in the pre-amplification circuit, 2 ends are via the 3rd resistance R 3 ground connection, 3 ends connect optical receiving circuit, 4 termination powers via the first capacitor C 1,1 end is output, wherein, be connected with the 4th resistance R 4 between 2 ends and 1 end, pre-amplification circuit carries out preliminary amplification with weak voltage signal;
5 ends of the second comparator UIB in the amplifying circuit connect pre-amplification circuit via the second capacitor C 2,6 ends are via the 7th resistance R 7 ground connection, 7 ends are output, wherein, between 6 ends and 7 ends, be connected with the 8th resistance R 8, one termination power of the 5th resistance R 5, the other end is connected to the node between 5 ends of the second capacitor C 2 and the second comparator UIB, one end of the 6th resistance R 6 also is connected to this node, other end ground connection, amplifying circuit is coupled to voltage signal by the second capacitor C 2, because obtaining a galvanic current by the 5th resistance R 5 and the 6th resistance R 6 dividing potential drops, the voltage that the second capacitor C 2 is coupled to presses, fluctuate up and down with a stable DC voltage, and then do amplification by the second comparator UIB and process, the output amplifying signal;
Relatively 9 ends of the 3rd comparator UIC of shaping circuit are via the 11 resistance R 11 ground connection, 10 ends are connected with amplifying circuit, 8 ends are output, wherein, between 8 ends and 9 ends, be connected with the 12 resistance R 12, one termination power of the tenth resistance R 10, the other end is connected to 9 ends of the 3rd comparator UIC and the node between the 11 resistance R 11, one end ground connection of the 9th resistance R 9, the other end is connected to 10 ends of the 3rd comparator UIC and the node between the amplifying circuit, relatively shaping circuit compares the voltage signal of amplifying circuit output with the voltage signal that presets, and exports a stable square-wave signal, does decoding for follow-up decoding circuit and uses.
The circuit that optical signal processing circuit among this embodiment can adopt above-mentioned arbitrary embodiment to provide, after light signal is converted to photoelectric signal, photoelectric signal is regulated, so that the fluctuation of the photoelectric signal after regulating is little, is metastable voltage signal.Amplifying circuit is arranged at after this optical signal processing circuit, and the photoelectric signal after regulating is amplified, and is conducive to the decoding of photoelectric signal.
Preferably, upgrading light signal is the light signal that visible light produces according to the Preset Time interval flashing, finish the coding of geocoding by the time interval of different length, predetermined coded system can adopt such as Figure 17 (a) to the coded system shown in Figure 17 (c), wherein, Figure 17 (a) is for upgrading instruction waveform schematic diagram corresponding to guidance code in the light signal, this guidance code is set to upgrade the identification information of light signal, when the time interval of twice flicker of light signal is 102us, determine that this light signal is for upgrading light signal.Figure 17 (b) when the time interval of twice flicker of light signal is 22us, determines that the digital signal corresponding to light signal at this place is 0 for upgrading instruction waveform schematic diagram corresponding to digital signal " 0 " in the light signal.Figure 17 (c) when the time interval of twice flicker of light signal is 32us, determines that the digital signal corresponding to light signal at this place is 1 for upgrading instruction waveform schematic diagram corresponding to digital signal " 1 " in the light signal.
Adopt above-mentioned coded system to carry out the transmission of instruction waveform, the waveform schematic diagram as shown in figure 18, it is the waveform schematic diagram according to the embodiment of the invention, in the present embodiment, when receiving 2 trailing edges that device receives, MCU can calculate the time t of 2 trailing edges, the theoretical value t=102us of guidance code, according to the waveform schematic diagram of the guidance code of the embodiment of the invention, when 92us<t<112us, MCU is judged as and enters accepting state, otherwise continue to judge whether to enter accepting state, when entering accepting state, directly then receive data judges it is " 0 " or " 1 ", Figure 17 (b) is 0 waveform schematic diagram according to the embodiment of the invention, as shown in the figure, " 0 " theoretical value is 22us, and Figure 17 (c) is 1 waveform schematic diagram according to the embodiment of the invention, as shown in the figure, therefore " 1 " theoretical value is 32us, sets criterion to be: as t〉what determine during 27us to receive is 1, what determine to receive when t<27us is 0.
The receiving system of the visible light communication that the embodiment of the invention provides, by at same acceptance point a plurality of receivers being set, and the direction of described a plurality of receiver receiving optical signals is different, than receiving a receiver at an acceptance point, the scope of receiving optical signals is larger, thereby reduced the reception blind area of the light signal in the visible light communication, so that the reliability of optical communication is stronger, in addition, control described a plurality of receiver by second controller the data that receive directly are stored in the data storage, realized receiving simultaneously a plurality of data.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.