A kind of light signal transceiver and system
Technical field
The utility model relates to optical communication field, is specifically related to a kind of light signal transceiver and system.
Background technology
The wireless light communication technology claims again visible light communication, and its high-frequency by LED light source glimmers to communicate, and has light to represent 1, unglazedly represents 0, and its transmission rate is up to the per second gigabit.With microwave technology, compare, wireless light communication has quite abundant frequency spectrum resource, and this is that general microwave communication and radio communication are incomparable; Visible light communication can be suitable for any communication protocol, be applicable to any environment simultaneously; Aspect fail safe, it compares traditional magnetic material, without worrying the demagnetization problem, more needn't worry that Content of Communication stolen by the people; The equipment of wireless light communication sets up convenient flexibly, and electronic devices and components are as with low cost as LED light-emitting diode etc., are applicable to extensive popularization and application.
The principle that LED sends visible light signal is comparatively simple, within the cycle time of regulation, if information source data binary digit " 1 " applies forward voltage by LED, makes LED luminous; Within the cycle time of regulation, if information source data binary digit " 0 " does not apply forward voltage to LED, now LED is not luminous.
In existing visible light communication system, be all transmitting terminal by the information source data are encoded and modulated, recycling LED sends visible ray information is sent; And, at receiving terminal, by photoelectric components such as photo resistance, photodiode or photodiodes, visible light signal is received and converts to the signal of telecommunication, then detect by the demodulation code information source information that transmitting terminal sends.
In above-mentioned visible light communication system, because transmitting terminal only has the LED lamp, receiving terminal only has the photoelectric components such as photo resistance, photodiode or photodiode, therefore transmitting terminal can not receiving optical signals, receiving terminal can not the utilizing emitted light signal, also just makes whole visible light communication system can only carry out one-way transmission.
Summary of the invention
In order to overcome the deficiencies in the prior art, the utility model provides a kind of light signal transceiver and system, so that can realize two-way communication between the light signal transceiver, thus can save cost and system configuration.
A kind of light signal transceiver, comprise control unit, also comprise for sending the LED of light signal and receiving optical signals, described control unit comprises the first input/output port and the second input/output port, and the anode of described LED is connected with the second input/output port with described the first input/output port respectively with negative electrode.
In preferred embodiment, also comprise A/D converter, the input of described A/D converter is connected with the negative electrode of described LED, and the output of described A/D converter is connected with the second input/output port.
In preferred embodiment, also comprise the amplifying circuit of the cathode voltage for amplifying LED, the input of described amplifying circuit is connected with the negative electrode of described LED, and the output of described amplifying circuit is connected with the input of A/D converter.
In preferred embodiment, also comprise for amplifying the drive circuit of described control unit to the control signal of described LED, described the first input/output port is by the anodic bonding of described drive circuit and described LED.
The utility model also provides a kind of light signal sending/receiving system, comprises the first light signal transceiver and the second light signal transceiver;
Described the first light signal transceiver comprises the first control unit, for sending a LED of light signal and receiving optical signals, described the first control unit comprises the one one input/output port and the one or two input/output port, and the anode of a described LED is connected with the one or two input/output port with described the one one input/output port respectively with negative electrode;
Described the second light signal transceiver comprises the second control unit, for sending the 2nd LED of light signal and receiving optical signals, described the second control unit comprises the 21 input/output port and the two or two input/output port, and the anode of described the 2nd LED is connected with the two or two input/output port with described the 21 input/output port respectively with negative electrode.
In preferred embodiment,
The anode of the one LED connects high level by described the one one input/output port, and the negative electrode of a described LED connects low level by described the one or two input/output port, and a described LED sends light signal; After the anode of described the 2nd LED connects low level, described the 2nd LED negative electrode by described the 21 input/output port connects high level by described two or two input/output ports, described the 2nd LED receiving optical signals, described the second control unit is for reading the cathode voltage of described the 2nd LED by described two or two input/output ports;
The anode of the 2nd LED connects high level by described the 21 input/output port, and the negative electrode of described the 2nd LED connects low level by described the two or two input/output port, and described the 2nd LED sends light signal; After the anode of a described LED connects low level, described LED negative electrode by described the one one input/output port connects high level by described one or two input/output ports, a described LED receiving optical signals, described the first control unit is for reading the cathode voltage of a described LED by described one or two input/output ports.
In preferred embodiment,
Described the first light signal transceiver also comprises the first A/D converter, and the input of described the first A/D converter is connected with the negative electrode of a described LED, and the output of described the first A/D converter is connected with the one or two input/output port;
Described the second light signal transceiver also comprises the second A/D converter, and the input of described the second A/D converter is connected with the negative electrode of described two LED, and the output of described the second A/D converter is connected with the two or two input/output port.
In preferred embodiment,
Described the first light signal transceiver also comprises the first amplifying circuit of the cathode voltage for amplifying a LED, and the input of described the first amplifying circuit is connected with the negative electrode of a LED, output is connected with the input of the first A/D converter.
In preferred embodiment,
Described the second light signal transceiver also comprises the second amplifying circuit of the cathode voltage for amplifying the 2nd LED, and the input of described the second amplifying circuit is connected with the negative electrode of the 2nd LED, output is connected with the input of the second A/D converter.
In preferred embodiment,
Described the first light signal transceiver also comprises for amplifying first drive circuit of described the first control unit to the control signal of a described LED, and described the one one input/output port is by the anodic bonding of described the first drive circuit and a described LED;
Described the second light signal transceiver also comprises for amplifying second drive circuit of described the second control unit to the control signal of described the 2nd LED, and described the 21 input/output port is by the anodic bonding of described the second drive circuit and described the 2nd LED.
Light signal transceiver of the present utility model not only can send optical signal data, and can receive the optical signal data sent from another one light signal transceiver, thereby can realize bidirectional data communication between the light signal sending/receiving system, with existing, need to adopt the Unidirectional light communication system of the electronic components such as photo resistance, photodiode or photodiode to compare, more save cost, system configuration is also simpler.
The accompanying drawing explanation
Fig. 1 is the theory diagram of the light signal transceiver of a kind of embodiment;
Fig. 2 is the light signal sending/receiving system schematic diagram under a kind of communications status therein of a kind of embodiment;
Fig. 3 is the schematic diagram of the second light signal transceiver receiving optical signals state in Fig. 2;
Fig. 4 is the waveform schematic diagram of the negative electrode of the anode of a LED and the 2nd LED.
Embodiment
Below with reference to accompanying drawing, specific embodiment of the utility model is described in further detail.
As shown in Figure 1, the light signal transceiver of a kind of embodiment, comprise control unit, drive circuit, send the LED of receiving optical signals, A/D converter, amplifying circuit and power circuit, be connected with drive circuit between the LED of control unit and transmission receiving optical signals, the first input/output port of control unit connects the anode of the LED that sends receiving optical signals by drive circuit, the negative electrode of LED is connected with the second input/output port of control unit with A/D converter by amplifying circuit successively, control unit is controlled the LED that sends receiving optical signals and is sent light signal or receiving optical signals, drive circuit is for amplifying the control signal of control unit to LED, A/D converter is for being converted to the analog voltage signal of LED numerical value and exporting to control unit, amplifying circuit carries out the numerical value conversion for after the analog voltage of LED is amplified, inputing to A/D converter.
In specific embodiment more, as shown in Figure 2, a kind of light signal sending/receiving system, comprise the first identical light signal transceiver 1 and the second light signal transceiver 2, wherein the first light signal transceiver 1 comprises control unit 14 and LED11, the anode that control unit 14 has the first input/output port 12 and the second input/output port 13, the one LED11 is connected with the first input/output port 12, negative electrode is connected with the second input/output port 13 by the first resistance 15; Equally, the second light signal transceiver 2 also comprises control unit 24 and the 2nd LED21, the anode that control unit 24 has the first input/output port 22 and the second input/output port 23, the two LED21 is connected with the first input/output port 22, negative electrode is connected with the second input/output port 23 by the second resistance 25.
The process that the first light signal transceiver 1 sends data to the second light signal transceiver 2 is as follows:
As shown in Figures 2 to 4, if sending a two-stage system digital signal to the second light signal transceiver 2, the first light signal transceiver 1 needs t cycle time, at the front t/4 in this cycle in the cycle, the first input/output port 12 output high level, the second input/output port 13 output low levels, make the first diode 11 luminous to mean to send data " 1 ", and the first input/output port 12 keeps low level to make the not luminous expression of the first diode 11 send data " 0 ", and the first input/output port 12 keeps low level within the remaining time period of this cycle t.
Accordingly, as shown in Figure 2, front t/4 in the cycle at this cycle time of t, the first input/output port 22 output low levels of the second light signal transceiver 2 and the second input/output port 23 output high level, thereby the 2nd LED21 is applied to reverse bias-voltage, now, the 2nd LED21 equivalence becomes a capacitor, the voltage of the negative electrode of the 2nd LED21 very fast (being far smaller than the time of t/4) is charged to high level (as can be seen here, the t/4 cycle before also can adopting other numerical value that are less than cycle t to replace, as long as the voltage of the negative electrode of the 2nd LED21 can be charged to high level), subsequently, as shown in Figure 3, the second input/output port 23 is set to input state, the first input/output port 22 still is set to output low level, the negative electrode of the 2nd LED21 starts to the first input/output port 22 electric discharges, if the 2nd LED21 receives the light that a LED11 sends, the speed of the cathodic discharge of the 2nd LED21 is slower, if the 2nd LED21 does not receive the light that a LED11 sends, the speed of the cathodic discharge of the 2nd LED21, therefore on certain time point in each cycle t on (be greater than t/4 and be less than t), the voltage that receives the negative electrode of the 2nd LED21 in the situation of a LED11 light is higher, a discharge voltage threshold value Vth and corresponding some detection time can be set, the second input/output port 23 detects the voltage of the negative electrode of the 2nd LED21, if being greater than discharge voltage threshold value Vth, voltage judges that the 2nd LED21 receives the light that a LED11 sends, a LED11 sends data " 1 ", if being less than discharge voltage threshold value Vth, voltage judges that the 2nd LED21 does not receive the light that a LED11 sends, a LED11 sends data " 0 ".
As shown in Figure 4, in time 0-6t, a LED11 sends data " 110011 " successively, level waveform on the first input/output port 12 is as shown in curve L1, corresponding, voltage waveform on the negative electrode of the 2nd LED21 in time 0-6t is as shown in curve L2, as can be seen from the figure, when receiving data " 0 ", in t/4 to t in one-period t certain time point in the time, voltage on the negative electrode of the 2nd LED21 has been down to discharge voltage threshold value Vth, and when receiving data " 1 ", in whole cycle t, voltage on the negative electrode of the 2nd LED21 is also on discharge voltage threshold value Vth.
Equally, the second light signal transceiver 2 also can send data to the first light signal transceiver 1, and it is identical that its principle is caught up with the process of stating, now, the second light signal transceiver 2 is as transmitting terminal, and the first light signal transceiver 1 is as receiving terminal.Like this, just can realize two-way communication between the first light signal transceiver 1 and the second light signal transceiver 2.
For the second light signal transceiver 2, voltage for negative electrode that the 2nd LED21 detected more easily, can with the input of an A/D converter, be connected at the negative electrode of the 2nd LED21, the output of A/D converter is connected with the second input/output port 23, the voltage value that such the second input/output port 23 reads is greater than discharge voltage threshold value Vth can judge that a LED11 sends data " 1 ", otherwise sends data " 0 "; Equally, the first light signal transceiver 1 also can increase an A/D converter in an identical manner.
For the second light signal transceiver 2, because the cathode voltage of the 2nd LED21 after electric discharge is usually smaller, convert digital signal to through A/D converter again after utilizing amplifying circuit that this cathode voltage is amplified and flow to the second input/output port 23 and can more be conducive to control unit 24 and read, the input of amplifying circuit is connected with the negative electrode of the 2nd LED21, output is connected with the input of A/D converter.Amplifying circuit can adopt amplifier or metal-oxide-semiconductor to realize.Equally, the first light signal transceiver 1 also can increase an amplifying circuit in an identical manner.
Light signal transceiver of the present utility model and system, can send by adopting the LED that light signal again can receiving optical signals, can bidirectional data communication thereby realize between the light signal sending/receiving system, with existing Unidirectional light communication system, compare, more save cost, system configuration is also simpler.
Above content is in conjunction with concrete preferred implementation further detailed description of the utility model, can not assert that concrete enforcement of the present utility model is confined to these explanations.For the utility model person of an ordinary skill in the technical field, without departing from the concept of the premise utility, can also make some simple deduction or replace, all should be considered as belonging to protection range of the present utility model.