CN113472441A - Visible light communication method and device - Google Patents

Visible light communication method and device Download PDF

Info

Publication number
CN113472441A
CN113472441A CN202110961584.9A CN202110961584A CN113472441A CN 113472441 A CN113472441 A CN 113472441A CN 202110961584 A CN202110961584 A CN 202110961584A CN 113472441 A CN113472441 A CN 113472441A
Authority
CN
China
Prior art keywords
visible light
binary code
signal
code streams
signals
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110961584.9A
Other languages
Chinese (zh)
Inventor
邹骁
夏冠志诚
肖智翔
王朝阳
王鸣杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Shanyi Technology Co ltd
Original Assignee
Hangzhou Shanyi Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Shanyi Technology Co ltd filed Critical Hangzhou Shanyi Technology Co ltd
Priority to CN202110961584.9A priority Critical patent/CN113472441A/en
Publication of CN113472441A publication Critical patent/CN113472441A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/11Arrangements specific to free-space transmission, i.e. transmission through air or vacuum
    • H04B10/114Indoor or close-range type systems
    • H04B10/116Visible light communication

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)

Abstract

The application relates to the technical field of communication and provides a visible light communication method and device. The visible light communication method includes: converting the source signal into a plurality of binary code streams according to a preset coding rule; and controlling the plurality of light sources corresponding to the plurality of binary code streams to be turned on or turned off according to the plurality of binary code streams so as to emit a plurality of visible light signals. The preset encoding rule comprises the following steps: the first effective data is cooperatively expressed by a plurality of second effective data, and the plurality of second effective data are not completely the same for any value of the first effective data; the first valid data is at least one bit of data in the source signal, and the plurality of second valid data are respectively at least one bit of data in the plurality of binary code streams.

Description

Visible light communication method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a visible light communication method and apparatus.
Background
Visible Light communication is a novel wireless high-speed communication technology developed on the basis of LED (Light Emitting Diode) technology. The principle is that the characteristic that the LED can be quickly lightened or extinguished is utilized, a high-speed binary signal is sent out through high-frequency flicker of a light source, and the binary signal is converted into an electric signal to acquire information through receiving and conversion of corresponding equipment.
In particular, visible light communication has advantages in that, compared to radio communication technology, it is good in directivity and does not generate electromagnetic radiation in a wide space; meanwhile, signals transmitted by the transmitting end except the receiving end are difficult to capture in other directions, so that the method also has good confidentiality. Furthermore, the cost of the required transmitting device (such as an LED light-emitting device and the like) and the cost of the required receiving device (such as a photosensitive device and the like) are lower than those of devices used in radio communication technology, so that the wireless communication device is more suitable for wide popularization and application.
Disclosure of Invention
One aspect of the embodiments of the present application provides a visible light communication method, including: converting the source signal into a plurality of binary code streams according to a preset coding rule; controlling a plurality of light sources corresponding to the plurality of binary code streams to be turned on or turned off according to the plurality of binary code streams so as to emit a plurality of visible light signals; wherein, the preset coding rule comprises: the first effective data is cooperatively expressed by a plurality of second effective data, and the plurality of second effective data are not completely the same for any value of the first effective data; the first valid data is at least one bit of data in the source signal, and the plurality of second valid data are at least one bit of data in the plurality of binary code streams respectively.
One aspect of the embodiments of the present application provides a visible light communication method, including: receiving a visible light signal; converting the visible light signal into a plurality of binary code streams; converting the binary code streams into source signals according to a preset decoding rule corresponding to a preset coding rule of the transmitting end; wherein the preset decoding rule comprises: the plurality of second valid data cooperatively represent the first valid data, the plurality of second valid data are respectively data of at least one bit in the plurality of binary code streams, and the first valid data are data of at least one bit in the source signal.
An aspect of an embodiment of the present application provides a visible light communication apparatus, including: the encoding module is configured to convert the source signal into a plurality of binary code streams according to a preset encoding rule; wherein, the preset coding rule comprises: the first effective data is cooperatively expressed by a plurality of second effective data, and the plurality of second effective data are not completely the same for any value of the first effective data; the first effective data is at least one bit of data in a source signal, and the plurality of second effective data are respectively at least one bit of data in a plurality of binary code streams; and the visible light emitting module is configured to control the plurality of light sources corresponding to the plurality of binary code streams to be turned on or turned off according to the plurality of binary code streams so as to emit a plurality of visible light signals.
An aspect of an embodiment of the present application provides a visible light communication apparatus, including: a visible light receiving module configured to receive a visible light signal; a signal extraction module configured to convert the visible light signal into a plurality of binary code streams; the decoding module is configured to convert the plurality of binary code streams into source signals according to a preset decoding rule corresponding to a preset encoding rule of the transmitting end; wherein the preset decoding rule comprises: the plurality of second valid data cooperatively represent the first valid data, the plurality of second valid data are respectively data of at least one bit in the plurality of binary code streams, and the first valid data are data of at least one bit in the source signal.
Drawings
The accompanying drawings are included to provide a further understanding of the embodiments of the present application and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the embodiments of the application do not constitute a limitation of the disclosure. The above and other features and advantages will become more apparent to those skilled in the art by describing in detail exemplary embodiments with reference to the attached drawings.
Fig. 1 is a schematic flowchart of a visible light communication method according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of a visible light emitting module at a transmitting end according to an embodiment of the present disclosure.
Fig. 3 is an exemplary circuit diagram of a light source driving circuit and a light source provided in an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a visible light receiving module and a signal extraction module of a receiving end according to an embodiment of the present disclosure.
Fig. 5 is an exemplary circuit diagram of a visible light receiver and a signal extraction circuit provided in an embodiment of the present application.
Fig. 6 is a schematic diagram of two laser signals sequentially passing through a first polarized glass at a transmitting end and a second polarized glass at a receiving end according to an embodiment of the present disclosure.
Fig. 7 is a schematic diagram of a plurality of visible light signals sequentially incident on the fresnel lens and the concave lens at the transmitting end according to an embodiment of the present disclosure.
Fig. 8 is a schematic structural diagram of another visible light emitting module at a transmitting end according to an embodiment of the present application.
Fig. 9 is an exemplary circuit diagram of a light source driving circuit, a light source and a frequency generator according to an embodiment of the present application.
Fig. 10 is a schematic structural diagram of a visible light receiving module and a signal extraction module at a receiving end according to an embodiment of the present application.
Fig. 11 is an exemplary circuit diagram of a visible light receiver, a band-pass filter circuit, and a signal extraction circuit provided in an embodiment of the present application.
Fig. 12 is a schematic diagram of two laser signals sequentially passing through a first polarized glass at a transmitting end and a fresnel lens and a second polarized glass at a receiving end according to an embodiment of the present disclosure.
Fig. 13 is a schematic diagram of a plurality of visible light signals sequentially incident to a first fresnel lens and a concave lens at a transmitting end and a second fresnel lens at a receiving end according to an embodiment of the present disclosure.
Fig. 14 is a block diagram of a visible light communication device according to an embodiment of the present disclosure.
Fig. 15 is a block diagram of a visible light communication device according to an embodiment of the present application.
Fig. 16 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present application, a visible light communication method, an apparatus and a system, an electronic device, a computer readable storage medium, and a computer program product provided by the present application are described in detail below with reference to the accompanying drawings.
Example embodiments will be described more fully hereinafter with reference to the accompanying drawings, but which may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, this embodiment is provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In the present invention, the embodiments and the features of the embodiments may be combined with each other without conflict.
As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and the present application and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The principle of visible light communication is that, by utilizing the characteristic that an LED can be quickly turned on or off, a high-speed binary signal is emitted through high-frequency flicker of a light source, and the binary signal is converted into an electric signal to acquire information through receiving and converting corresponding equipment. However, when performing visible light communication, the method of turning on or off the light source at the transmitting end and detecting the turning on or off of the light source at the receiving end is usually adopted to transmit valid data, so when the frequency of light source flicker is too high, the detection difficulty and the error rate of the receiving end are increased, which severely restricts the transmission rate of visible light communication.
In order to solve the above technical problem, an embodiment of the present application provides a visible light communication method. Fig. 1 is a schematic flowchart of a visible light communication method according to an embodiment of the present application.
In step S101, the transmitting end converts a source signal into a plurality of binary code streams according to a preset encoding rule.
The preset encoding rule comprises the following steps: the first effective data is cooperatively expressed by a plurality of second effective data, and the plurality of second effective data are not completely the same for any value of the first effective data; the first valid data is at least one bit of data in the source signal, and the plurality of second valid data are at least one bit of data in the plurality of binary code streams respectively.
In step S102, the transmitting end controls, according to the plurality of binary code streams, a plurality of light sources corresponding to the plurality of binary code streams to be turned on or off, respectively, so as to emit a plurality of visible light signals.
In step S201, the receiving end receives a visible light signal.
In step S202, the receiving end converts the received visible light signal into a plurality of binary code streams.
In step S203, the receiving end converts the plurality of binary code streams into the source signal according to a preset decoding rule corresponding to a preset encoding rule of the transmitting end.
Accordingly, the preset decoding rule includes: the plurality of second valid data cooperatively represent the first valid data, the plurality of second valid data are respectively data of at least one bit in the plurality of binary code streams, and the first valid data are data of at least one bit in the source signal.
That is, since the corresponding valid data in the source signal is cooperatively represented by the corresponding valid data in the binary code streams, and whenever the corresponding valid data in the binary code streams are not completely identical, it is possible to realize that for each valid data in the source signal, it can be cooperatively represented by turning on or off the light sources, and the light sources are not turned on simultaneously or turned off simultaneously.
When the first valid data in the preset source signal is data of one bit, each bit of the source signal can be represented by the turning on or turning off of at least two light sources, and the at least two light sources are not turned on or turned off at the same time; therefore, the receiving end can recover the source signal by detecting at least two visible light signals, and the error rate can be reduced by mutual verification of the detection results, so that the flicker frequency of the light source can be improved on the basis of the related technology, namely the transmission rate of communication is improved.
When the first valid data in the source signal is preset to be data of a plurality of bits, the plurality of bits in the source signal can be represented at one time by utilizing the turning-on or turning-off of the plurality of light sources, so that the transmission rate of communication can be remarkably improved.
For example, the preset encoding rules include: the first valid data is two bits of data in the source signal, and the second valid data is one bit of data in the binary code stream. Because the first valid data of two bits in the source signal has four values of "00", "01", "10" and "11", and the preset coding rule requires that for any first valid data in the source signal, the corresponding second valid data in the binary code streams are not completely the same, the source signal needs to be converted into at least three binary code streams to meet the coding requirement. For example, an exemplary encoding rule is shown in table 1.
Table 1: example of coding rule 1
Dereferencing of first valid data 00 01 10 11
Value of the second payload data 1 0 0 0 1
Value of the second payload 2 0 1 1 0
Value of the second payload data 3 1 0 1 0
In encoding rule example 1, when the value of the first valid data is "00", the values of the three second valid data are "0", and "1" in this order; when the value of the first effective data is "01", the values of the three second effective data are "0", "1" and "0" in sequence; when the value of the first effective data is "10", the values of the three second effective data are "0", "1" and "1" in sequence; when the value of the first valid data is "11", the values of the three second valid data are "1", "0", and "0" in order. Assuming that the source signal is embodied as a binary signal "10110010", the result of the source signal being converted into three binary code streams can be shown in table 2.
Table 2: coding example 1
Figure BDA0003222220770000061
Figure BDA0003222220770000071
In coding example 1, the source signal "10110010" is converted into three binary code streams, which are "0100", "1001", and "1011", in this order. After the transmitting end respectively drives the light source 1, the light source 2 and the light source 3 to be turned on or turned off according to the binary code stream "0100", "1001" and "1011", the receiving end can respectively receive the visible light signal 1, the visible light signal 2 and the visible light signal 3 based on the corresponding visible light receiver 1, the visible light receiver 2 and the visible light receiver 3, and respectively convert the visible light signal 1, the visible light signal 2 and the visible light signal 3 into the binary code stream "0100", "1001" and "1011". Then, the receiving end may restore the three binary code streams to the source signal "10110010" (as shown in table 4) according to a preset decoding rule corresponding to the preset encoding rule (as shown in table 3).
Table 3: decoding rule example 1 corresponding to encoding rule example 1
Value of the second payload data 1 0 0 0 1
Value of the second payload 2 0 1 1 0
Value of the second payload data 3 1 0 1 0
Dereferencing of first valid data 00 01 10 11
Table 4: decoding example 1
Binary code stream 1: 0 1 0 0
binary code stream 2: 1 0 0 1
binary code stream 3: 1 0 1 1
source signal: 10 11 00 10
as can be seen from the above example, a source signal of 8 bits in length is converted into 3 binary code streams of 4 bits in length, and the 3 binary code streams of 4 bits in length can be converted into three visible light signals and transmitted in parallel, which greatly improves the transmission rate of communication compared to generating a beam of visible light signal based directly on the source signal.
It should be noted that the source signal may carry any information related to communication, such as communication content information, and the like, which is not limited in this embodiment of the present application.
Accordingly, when the source signal carries the communication content information, the plurality of binary code streams converted from the source signal also carry the communication content information, which is not described herein again. In addition, it will be understood by those skilled in the art that, in order to achieve synchronization between the plurality of binary code streams (i.e., alignment of the corresponding plurality of second valid data in the plurality of binary code streams), there may be a preamble sequence at the beginning of each binary code stream, and the plurality of binary code streams have the same clock frequency.
In an optional embodiment, the preset encoding rule may further include: each of the plurality of second valid data takes a value of "10" or "01". That is, the corresponding valid data in the source signal are cooperatively represented by the corresponding "jumps" in the binary code streams, so that it can be realized that for each valid data in the source signal, it can be cooperatively represented by the blinking of the light sources (the light sources are turned on first and then turned off, or turned on first and then turned on). Therefore, the situation that a long string of '0' or a long string of '1' appears in the binary code stream for some source signals, namely the light source is continuously turned on or continuously turned off for a long time is avoided, and after the error rate is further reduced, the flicker frequency of the light source can be further improved, namely the transmission rate of communication is further improved.
For example, an exemplary encoding rule is shown in table 5.
Table 5: example of coding rule 2
Dereferencing of first valid data 00 01 10 11
Second valid dataValue of 1 01 01 01 10
Value of the second payload 2 01 10 10 01
Value of the second payload data 3 10 01 10 01
In encoding rule example 2, when the value of the first valid data is "00", the values of the three second valid data are "01", and "10" in this order; when the value of the first effective data is 01, the values of the three second effective data are 01, 10 and 01 in sequence; when the value of the first effective data is '10', the values of the three second effective data are '01', '10' and '10' in sequence; when the value of the first valid data is "11", the values of the three second valid data are "10", "01", and "01" in order. Assuming that the source signal is embodied as a binary signal "10110010", the result of the source signal being converted into three binary code streams can be shown in table 6.
Table 6: coding example 2
Figure BDA0003222220770000081
Figure BDA0003222220770000091
In coding example 2, the source signal "10110010" is converted into three binary code streams, in turn "01100101", "10010110" and "10011010". After the transmitting end respectively drives the light source 1, the light source 2 and the light source 3 to be turned on or turned off according to the binary code streams "01100101", "10010110" and "10011010", the receiving end can respectively receive the visible light signal 1, the visible light signal 2 and the visible light signal 3 based on the corresponding visible light receiver 1, the visible light receiver 2 and the visible light receiver 3, and respectively convert the visible light signal 1, the visible light signal 2 and the visible light signal 3 into the binary code streams "01100101", "10010110" and "10011010". Then, the receiving end may restore the three binary code streams to the source signal "10110010" (as shown in table 8) according to a preset decoding rule corresponding to the preset encoding rule (as shown in table 7).
Table 7: decoding rule example 2 corresponding to encoding rule example 2
Value of the second payload data 1 01 01 01 10
Value of the second payload 2 01 10 10 01
Value of the second payload data 3 10 01 10 01
Dereferencing of first valid data 00 01 10 11
Table 8: decoding example 2
Binary code stream 1: 01 10 01 01
binary code stream 2: 11 01 01 10
binary code stream 3: 11 01 10 10
source signal: 10 11 00 10
it can be seen from the above example that no three or more "0" or three or more "1" in succession appear in any binary code stream, i.e. the light source is not turned on or off for a long time, so that even at a high transmission rate, the error rate can be kept low, and the communication quality can be ensured.
In an alternative embodiment, the plurality of binary code streams in step S101 may specifically be two binary code streams. Correspondingly, the step S101, the transmitting end converts the source signal into a plurality of binary code streams according to a preset coding rule, which may include: the transmitting end carries out Manchester coding (Manchester Code) on the source signal to obtain a first binary Code stream which is used as one of the two binary Code streams; and performing bit-wise negation on the first binary code stream to obtain a second binary code stream as the other of the two binary code streams.
Manchester coding, also called phase-splitting code, synchronous code, phase coding, is a coding method using level jumps to represent 1 or 0, i.e. each symbol is represented by two level signals with different phases, i.e. a square wave of one period, but the phase of the 0 code and the phase of the 1 code are opposite.
For example, an exemplary encoding process is shown in table 9.
Table 9: coding example 3
Figure BDA0003222220770000101
In coding example 3, the source signal "10110010" is manchester coded, representing "1" by "01" (i.e., a 0 transition to 1) and "0" by "10" (i.e., a 1 transition to 0), resulting in a first binary code stream "0110010110100110" which is bit-inverted resulting in a second binary code stream "1001101001011001". The encoding rule corresponding to the encoding example 3 shown in table 9 is shown in table 10.
Table 10: example of encoding rules 3
Dereferencing of first valid data 0 1
Value of the second payload data 1 10 01
Value of the second payload 2 01 10
After the transmitting end respectively drives the light source 1 and the light source 2 to be turned on or off according to the binary code streams "0110010110100110" and "1001101001011001", the receiving end can respectively receive the visible light signal 1 and the visible light signal 2 based on the corresponding visible light receiver 1 and visible light receiver 2, and respectively convert the visible light signal 1 and the visible light signal 2 into the binary code streams "0110010110100110" and "1001101001011001". Then, the receiving end may restore the two binary code streams to the source signal "10110010" (as shown in table 12) according to a preset decoding rule corresponding to the preset encoding rule (as shown in table 11).
Table 11: example 3 encoding rule example 3 corresponding to decoding rule example 3
Value of the second payload data 1 10 01
Value of the second payload 2 01 10
Dereferencing of first valid data 0 1
Table 12: decoding example 3
Two-inCode stream 1: 01 10 01 01 10 10 01 10
binary code stream 2: 10 01 10 10 01 01 10 01
source signal: 1 0 1 1 0 0 1 0
it can be seen from the above example that no three or more "0" or three or more "1" in succession appear in any binary code stream, i.e. the light source is not turned on or off for a long time, so that even at a high transmission rate, the error rate can be kept low, and the communication quality can be ensured. In addition, two binary code streams corresponding to the source signal are obtained by performing Manchester coding on the source signal and then inverting the bit, so that the coding mode is simple and the coding rate is higher.
In an optional implementation manner, the sending end of step S102 controls, according to the plurality of binary code streams, the plurality of light sources corresponding to the plurality of binary code streams to be turned on or turned off, so as to emit the plurality of visible light signals, and may specifically be implemented by using a plurality of light source driving circuits and a plurality of light sources corresponding to the plurality of light source driving circuits.
Fig. 2 is a schematic structural diagram of a visible light emitting module at a transmitting end according to an embodiment of the present disclosure. The visible light emitting module 20 may include a plurality of light source driving circuits 21 and a plurality of light sources 22 corresponding to the plurality of light source driving circuits 21, respectively. For each binary code stream, the binary code stream is input to the corresponding light source driving circuit 21 to control the light source driving circuit 21 to generate a driving signal, so as to drive the light source 22 corresponding to the binary code stream to be turned on or turned off.
The light source driving circuit 21 may include a first voltage comparing unit and a first power amplifying unit, the light source 22 may include a laser light source or an LED, and the like, and the embodiments of the present application do not specifically limit the devices and circuit structures included in the light source driving circuit 21 and the light source 22, as long as the light source driving circuit 21 can control the corresponding light source 22 to be turned on or off in response to an input binary code stream. Fig. 3 is a schematic circuit diagram of the light source driving circuit 21 and the light source 22 according to the embodiment of the present application.
In the circuit shown in fig. 3, U1A is a voltage comparator, which can separately intercept "1" or "0" in the binary code stream as the control signal for controlling LED D1; U2A is a power operational amplifier that can drive D1 on or off in response to a control signal.
For example, when two circuits shown in fig. 3 are applied to the coding example 3 described above, manchester code (binary code stream 1) can be input to U1A of the circuit shown in fig. 3, by setting a suitable first reference voltage, U1A individually intercepts "1" in the manchester code as a first control signal for controlling the LED D1, and U2A drives D1 to be turned on or off in response to the first control signal; meanwhile, the manchester code is input into U1A ' of another circuit (not shown in FIG. 3, but the structure of the manchester code is similar to that of the circuit shown in FIG. 3), by setting a proper second reference voltage, U1A ' separately intercepts ' 0 ' in the manchester code as a second control signal for controlling the LED D1 ' (namely, the binary code stream 2 is obtained), and U2A ' drives the D1 ' to be turned on or off in response to the second control signal.
As another example, when the two circuits shown in fig. 3 are applied to the encoding example 3 described above, the encoding module (which may be implemented by a processor, for example) may also be used to directly obtain the binary code stream 1 and the binary code stream 2, and then the binary code stream 1 and the binary code stream 2 are respectively input to the two circuits shown in fig. 3 (in this application, the same reference voltage is set for the voltage comparators in the two circuits), so as to respectively intercept "1" in the binary code stream 1 and the binary code stream 2 and respectively serve as the control signal for controlling the two LEDs.
It should be noted that, specific parameter values of the resistors R1, R2, R3 and R4, specific parameter values of the capacitors C1 and C2, values of the reference voltage, and types and parameter values of the LED D1 shown in fig. 3 can be flexibly set according to actual use requirements, and this embodiment of the present application is not limited in any way.
In an optional implementation manner, the receiving end in step S202 converts the received visible light signal into a plurality of binary code streams, which may be implemented by using a plurality of visible light receivers and a plurality of signal extraction circuits respectively corresponding to the plurality of visible light receivers.
Fig. 4 is a schematic structural diagram of a visible light receiving module and a signal extracting module of a receiving end according to an embodiment of the present application. The visible light receiving module 40a may include a plurality of visible light receivers 41, and the signal extraction module 40b may include a plurality of signal extraction circuits 42 respectively corresponding to the plurality of visible light receivers 41.
For each visible light signal, the visible light receiver 41 corresponding thereto converts the visible light signal into a current signal; and, the signal extraction circuit 42 corresponding to the visible light receiver 41 converts the current signal into a level signal, and then converts the level signal into a binary code stream.
The visible light receiver 41 may include a photodiode, the signal extraction circuit 42 may include a current-voltage conversion unit, a second power amplification unit, and a second voltage comparison unit, and the embodiments of the present application do not specifically limit the devices and circuit structures included in the visible light receiver 41 and the signal extraction circuit 42, as long as the visible light receiver 41 can convert the received visible light signal into an electrical signal, and the corresponding signal extraction circuit 42 can convert the electrical signal into a binary code stream. Fig. 5 is a schematic circuit diagram of a visible light receiver 41 and a signal extraction circuit 42 according to an embodiment of the present disclosure.
In the circuit shown in fig. 5, D2 may be a high-speed photodiode that converts a visible light signal into a current signal; U3A is FET operational amplifier which can convert current signal into level signal; U4A is a high-speed operational amplifier, which can amplify the level signal of the previous stage and transmit it to the next stage; U5A is a voltage comparator that extracts the active level signal from the received level signal to obtain a binary code stream.
For example, when two circuits shown in fig. 5 are applied to the decoding example 3 described above, in one circuit shown in fig. 5, the high-speed photodiode D2 converts the visible light signal 1 into the current signal 1, and the U3A converts the current signal 1 into the level signal 1; the level signal 1 is sequentially amplified by U4A and extracted by effective voltage of U5A, and finally a binary code stream 1 is obtained; similarly, the visible light signal 2 can be converted into a binary code stream 2 by another processing of the circuit shown in fig. 5.
It should be noted that the specific parameter values of the resistors R5-R10, the specific parameter values of the capacitors C3 and C4, the values of the driving voltage and the reference voltage, and the type and parameter values of the photodiode D2 shown in fig. 5 can be flexibly set according to the actual use requirement, which is not limited in this embodiment of the present application.
In an optional implementation manner, after the transmitting end transmits the plurality of visible light signals at step S102, the method may further include: the transmitting end combines a plurality of visible light signals. Accordingly, in step S201, the receiving end receives the combined beam of visible light signals.
That is, as described in the foregoing examples, the transmitting end may drive the turning on or off of the plurality of light sources according to the plurality of binary code streams, respectively, to simultaneously transmit the plurality of visible light signals; the receiving end can directly receive the plurality of visible light signals respectively based on the corresponding plurality of visible light receivers. However, in this embodiment, considering that after the transmission of the plurality of visible light signals, the plurality of visible light signals may overlap in the incident area of the receiving end, and thus the plurality of visible light signals are mixed up and cannot be accurately converted into the plurality of binary code streams, the transmitting end may combine the plurality of visible light signals, that is, perform optical path optimization, and receive and process the combined visible light signals at the receiving end; therefore, mutual interference of a plurality of visible light signals can be avoided, and energy attenuation of the visible light signals in long-distance transmission can be reduced due to the fact that energy of the combined visible light signals is concentrated.
In an exemplary embodiment, the plurality of light sources may include two laser light sources, i.e., the plurality of visible light signals may include two laser signals, and the reflectivity of the two laser signals is different. Accordingly, after the transmitting end transmits the two laser signals in step S102, the transmitting end combining the two laser signals may specifically include: at a transmitting end, two laser signals are respectively incident to first polarized glass at a set first angle and a set first position, so that one path of laser emitted from the first polarized glass is obtained.
Accordingly, before the receiving end receives the visible light signal in step S201, the method may further include: and at the receiving end, one path of laser is incident to the second polarized glass at a set second angle and a set second position, so that two laser signals emitted from the second polarized glass are obtained. Step S201 of receiving the visible light signal by the receiving end may specifically include: the receiving end uses two visible light receivers to respectively convert the two laser signals into two current signals. Step S202, the converting the visible light signal into a plurality of binary code streams by the receiving end may specifically include: the receiving end respectively converts the two current signals into two level signals; and converting the two level signals into two binary code streams respectively.
Fig. 6 is a schematic diagram illustrating two laser signals sequentially passing through a first polarized glass at a transmitting end and a second polarized glass at a receiving end according to an embodiment of the present application. At the transmitting end shown in fig. 6, due to the difference in reflectivity, the first laser signal is transmitted in the first polarized glass, and the second laser signal is totally reflected in the first polarized glass, so that the first laser signal and the second laser signal are combined into one laser. At the receiving end shown in fig. 6, due to the difference in reflectivity, the first laser signal portion of the one path of laser still transmits in the second polarized glass, and the second laser signal portion of the one path of laser still totally reflects in the second polarized glass, so that the first laser signal portion and the second laser signal portion of the one path of laser are split, and then the first laser signal and the second laser signal can be respectively received at the receiving end by using the first visible light receiver and the second visible light receiver.
It should be noted that, in the embodiment of the present application, the first angle, the first position, the first polarized glass, the second angle, the second position, the second polarized glass, and the reflectivity of two laser signals are not specifically limited, as long as the structure illustrated in fig. 6 is adopted, the combination of the two laser signals can be realized at the transmitting end, and the combined laser can be recovered into two laser signals at the receiving end.
Optionally, after obtaining one path of laser light emitted from the first polarizing glass, the method may further include: at a sending end, a laser beam expander is used for scattering one path of laser.
In actual transmission, laser can be scattered in a small range, that is, the cross-sectional area of the laser beam at the transmitting end is small, but the cross-sectional area of the laser beam at the receiving end is large after long-distance transmission, so that even if the laser beam slightly deviates in the transmission process, at least part of light can enter a set incidence area of the receiving end. However, since the laser has very high directivity and limited scattering ability, if the light beam is greatly deviated during transmission, there is a high possibility that no light enters the set incident region of the receiving end. Therefore, in order to avoid this, it is preferable that the laser light is actively scattered at the transmitting end; specifically, the laser light may be scattered using a laser beam expander. Therefore, the cross-sectional area of the laser beam at the receiving end is enlarged, and even if the beam is greatly deviated in the transmission process, at least partial light rays can enter the set incidence area of the receiving end, so that the reliability of communication is improved.
It should be noted that the set incident area of the receiving end is not particularly limited, and may be, for example, the second position on the second polarizing glass as described above, or may be a set area on a visible light receiver or other devices such as a lens, as long as the set incident area of the receiving end for the light to enter is favorable for implementing visible light communication.
In an exemplary embodiment, after the transmitting end converts the source signal into the plurality of binary code streams according to the preset coding rule at step S101, and before the transmitting end controls the plurality of light sources corresponding to the plurality of binary code streams to be turned on or off according to the plurality of binary code streams at step S102, the method may further include: based on a plurality of carriers, the transmitting end respectively modulates a plurality of binary code streams, and the frequency of any two carriers in the plurality of carriers is different. Correspondingly, the merging of multiple visible light signals by the transmitting end may specifically include: and at the transmitting end, the plurality of visible light signals are respectively incident to the Fresnel lens at a set third angle and a set third position and then incident to the concave lens, so that a bundle of visible light signals emitted from the concave lens is obtained.
Correspondingly, the step S201 of receiving the visible light signal by the receiving end may specifically include: the receiving end uses a visible light receiver to convert the beam of visible light signal transmitted to the receiving end into a current signal. Step S202, the receiving end converts the received visible light signal into a plurality of binary code streams, which may specifically include: the receiving end converts the current signal into a level signal, performs band-pass processing on the level signal to obtain a plurality of level signals, and converts the plurality of level signals into a plurality of binary code streams respectively.
That is, at the transmitting end, different frequency components may be added to the plurality of binary code streams, respectively; and after the corresponding light sources are respectively controlled to generate visible light signals according to the binary code streams, the visible light signals can be sequentially incident to the Fresnel lens and the concave lens, so that a bundle of visible light signals which are transmitted in parallel is obtained. At the receiving end, after converting a received visible light signal into an electrical signal, the electrical signals containing different frequency components can be distinguished by using a plurality of band pass filters corresponding to the frequency components, respectively, and then the electrical signals can be converted into a plurality of binary code streams.
For example, as shown in fig. 7, which is a schematic diagram of multiple visible light signals sequentially incident on the fresnel lens and the concave lens at the transmitting end according to the embodiment of the present application. At a transmitting end, visible light signals generated by a light source 1, a light source 2, a light source 3 and a light source 4 respectively carry a frequency (component) 1, a frequency (component) 2, a frequency (component) 3 and a frequency (component) 4; after the visible light signals sequentially transmit through the Fresnel lens and the concave lens, the visible light signals are combined into a bundle of visible light signals which are propagated in parallel.
It should be noted that, in the embodiment of the present application, no specific limitation is imposed on the third angle, the third position, the concave lens and the fresnel lens, as long as the structure illustrated in fig. 7 is adopted, and a plurality of visible light signals can be combined into one bundle of visible light signals that are propagated in parallel at a transmitting end.
In an optional implementation manner, the transmitting end modulates a plurality of binary code streams based on a plurality of carriers, and may specifically be implemented by using a frequency generator.
On the basis of fig. 2, fig. 8 is another schematic structural diagram of a visible light emitting module at a transmitting end according to an embodiment of the present application. The visible light emitting module 80 may include a plurality of light source driving circuits 81, a plurality of light sources 82 corresponding to the plurality of light source driving circuits 81, respectively, and a frequency generator 83. The frequency component N (N is a positive integer greater than or equal to 1) generated by the frequency generator 83 is input to the corresponding light source driving circuit 81, so that the binary code stream N and the frequency component N are combined and then the light source 82 corresponding to the binary code stream N is driven to be turned on or turned off.
On the basis of fig. 3, fig. 9 is an exemplary circuit diagram of the light source driving circuit 81, the light source 82 and the frequency generator 83 provided in the embodiment of the present application. Similar to fig. 3, the light source driving circuit 81 may include a first voltage comparing unit and a first power amplifying unit, and the light source 82 may include a laser light source or an LED, etc.; furthermore, the frequency generator 83 may be specifically implemented by a CLOCK chip CLOCK.
For example, when the circuit shown in fig. 9 is applied to the encoding example 3 described above, the binary code stream 1 and the binary code stream 2 can be directly obtained using an encoding module (e.g., which can be implemented by a processor). The binary code stream 1 is input to the U1A, the first control signal output by the U1A and the frequency component CLK1 generated by the CLOCK chip CLOCK are simultaneously input to the U2A, and the U2A drives the D1 to be turned on or off in response to the common control of the first control signal and the frequency component CLK1, so that the frequency component CLK1 is added to the binary code stream 1. The second control signal output by the binary code stream 2 is input to the U1A ', the frequency component CLK2 generated by the CLOCK chip CLOCK and the second control signal output by the U1A ' are simultaneously input to the U2A ', and the U2A ' drives the D1 ' to be turned on or off in response to the common control of the second control signal and the frequency component CLK2, so that the frequency component CLK2 is added to the binary code stream 2.
Similar to fig. 3, the specific parameter values of the resistors R, the specific parameter values of the capacitors C, the values of the reference voltages, the types and the parameter values of the LEDs, and the specific types and the parameter values of the CLOCK chip CLOCK shown in fig. 9 can be flexibly set according to actual use requirements, which is not limited in this embodiment of the present application.
In a preferred embodiment, the absolute value of the difference between the frequencies of any two of the plurality of carriers is not less than the set threshold. For example, the absolute value of the difference between CLK1 and CLK2 in fig. 9 is not less than 50MHz, so that the filtering effect of the level signal converted from one visible light signal by the plurality of band pass filters at the receiving end is better.
In an optional implementation manner, the receiving end receives the visible light signal in step S201 and converts the received visible light signal into a plurality of binary code streams in step S202, which may be implemented by using a visible light receiver, a plurality of band-pass filter circuits, and a plurality of signal extraction circuits respectively corresponding to the plurality of band-pass filter circuits.
Fig. 10 is a schematic structural diagram of a visible light receiving module and a signal extraction module of a receiving end according to an embodiment of the present application. The visible light receiving module 100a may include a visible light receiver 101; the signal extraction module 100b may include a plurality of band-pass filter circuits 102 and a plurality of signal extraction circuits 103 respectively corresponding to the plurality of band-pass filter circuits 102.
For a received visible light signal, the visible light receiver 101 may convert it into a current signal; after the current signal is converted into a level signal, it allows only a level signal of a specific frequency band to pass through and is input to the signal extraction circuit 103 corresponding to the band pass filter circuit 102 for each band pass filter circuit 102; and the signal extraction circuit 103 corresponding to the band-pass filter circuit 102 can convert the level signal of the specific frequency band into a binary code stream.
Similar to the visible light receiving module 40a shown in fig. 4, in the visible light receiving module 100a shown in fig. 10, the visible light receiver 101 may include a photodiode. Similar to the signal extraction module 40b shown in fig. 4, in the signal extraction module 100b shown in fig. 10, the signal extraction circuit 103 may include a current-voltage conversion unit, a second power amplification unit, and a second voltage comparison unit.
Based on the circuit shown in fig. 5, fig. 11 is an exemplary circuit diagram of the visible light receiver 101, the band-pass filter circuit 102 and the signal extraction circuit 103 provided in the embodiment of the present application. At the output terminal of the FET operational amplifier U3A of each signal extraction circuit 103 (which can be regarded as multiplexing one FET operational amplifier U3A by a plurality of signal extraction circuits 103), a band-pass filter circuit 102 is added to band-pass filter the level signal output from U3A to allow only the level signal of a specific frequency band to pass through and be input to the high-speed operational amplifier U4A of the signal extraction circuit 103; a detector circuit is added to the signal extraction circuit 103 to identify the level signal output from U4A, that is, the high level and the low level of the level signal.
For example, when the circuit shown in fig. 11 is applied to the decoding example 3 described above, the high-speed photodiode D2 converts a visible light signal into a current signal, and the U3A converts the current signal into a level signal. A band-pass filter circuit 102 for passing the level signal with the frequency of CLK1 to obtain a level signal 1; the level signal 1 is sequentially amplified by U4A and extracted by effective voltage of U5A, and finally a binary code stream 1 is obtained. Similarly, another band-pass filter circuit 102 may pass a level signal with a frequency of CLK2 to obtain a level signal 2; the level signal 2 is sequentially amplified by U4A 'and extracted by effective voltage of U5A', and finally the binary code stream 2 is obtained.
It should be noted that the specific parameter values of the resistors R, the capacitors C, the inductors L, the driving voltage and the reference voltage, and the types and parameter values of the photodiode D2 and the diode D3 shown in fig. 11 can be flexibly set according to the actual use requirements, which is not limited in this embodiment of the present invention.
In an optional implementation manner, before the receiving end receives the visible light signal in step S201, the method may further include: at the receiving end, a fresnel lens is used to focus the visible light signal.
That is, in actual transmission, visible light signals (especially non-laser signals) are scattered, so that a receiving end cannot acquire visible light signals with strong energy and clearness; therefore, the visible light signal can be focused first at the receiving end to obtain a sufficiently strong and clear visible light signal.
For example, on the basis of fig. 6, fig. 12 is a schematic diagram that two laser signals sequentially pass through a first polarized glass at a transmitting end and a fresnel lens and a second polarized glass at a receiving end according to an embodiment of the present application. After the first laser signal and the second laser signal at the transmitting end are combined into a path of laser, at the receiving end, the path of laser is firstly arranged into a Fresnel lens for focusing at a set fourth angle and a set fourth angle, and then the first laser signal part and the second laser signal part in the path of laser are separated by second polarized glass at the receiving end.
It should be noted that, in the embodiment of the present application, no specific limitation is imposed on the fourth angle, the fourth position, the first polarized glass, the second polarized glass, and the fresnel lens, as long as the structure illustrated in fig. 12 is adopted, the combination of two laser signals can be realized at the transmitting end, and the focusing and splitting of laser can be realized at the receiving end.
For example, on the basis of fig. 7, fig. 13 is a schematic diagram of a plurality of visible light signals sequentially incident to a first fresnel lens and a concave lens at a transmitting end and a second fresnel lens at a receiving end according to an embodiment of the present disclosure. After a plurality of visible light signals sequentially transmit a first Fresnel lens and a concave lens of a transmitting end, combining the visible light signals into a bundle of visible light signals which are transmitted in parallel; at a receiving end, the parallel-transmitted visible light signal is incident to the second fresnel lens at a set fifth angle and a set fifth position, is focused, and is received by the visible light receiver.
It should be noted that, in the embodiment of the present application, no specific limitation is imposed on the fifth angle, the fifth position, the concave lens, and the first fresnel lens and the second fresnel lens, as long as the structure illustrated in fig. 13 is adopted, a plurality of visible light signals can be combined into one bundle of visible light signals that are propagated in parallel at the transmitting end, and the focusing of the bundle of visible light signals that are propagated in parallel can be achieved at the receiving end.
In an alternative embodiment, at the receiving end, after the visible light signal is focused by using the fresnel lens, the method may further include: at the receiving end, the visible light signal is transmitted through the concave lens so that the visible light signal propagates in parallel.
For example, on the basis of fig. 12, a concave lens may be further added between the fresnel lens and the second polarizing glass, so that the laser signals incident on the second polarizing glass all propagate in parallel. For another example, in addition to fig. 13, a concave lens may be additionally disposed between the second fresnel lens and the visible light receiver, so that the visible light signals incident on the visible light receiver all propagate in parallel.
Finally, it should be noted that, since the visible light communication method provided in the embodiment of the present application involves encoding/decoding and parallel transmission of visible light signals, it is understood by those skilled in the art that, there is a respective corresponding relationship between a source signal at a transmitting end, a plurality of binary code streams, a plurality of visible light emitting modules (including a plurality of light source driving circuits and a plurality of light sources) and a plurality of visible light signals, and a visible light signal at a receiving end, a visible light receiving module (including a visible light receiver), a plurality of signal extracting modules (including a plurality of signal extracting circuits, or including a plurality of band pass filters and a plurality of signal extracting circuits), a plurality of binary code streams, and a source signal; if the correspondence is confused, communication errors may occur. Therefore, in the embodiment of the present application, the correspondence between the signals can be realized by spatially corresponding the hardware structures referred to above; or, the correspondence between the signals can be realized by carrying identification information in the related signals and/or pre-allocating identification information for the related hardware structure, and pre-establishing the corresponding relationship between the identification information; alternatively, the correspondence between the signals may also be realized by adopting a combination of the above two manners, and the embodiments of the present application are not described herein again.
The embodiment of the application also provides a visible light communication device which is applied to a sending end of visible light communication. As shown in fig. 14, which is a block diagram of a structure of a visible light communication device provided in an embodiment of the present application, the visible light communication device 1400 includes an encoding module 1401 and a visible light emitting module 1402.
An encoding module 1401 configured to convert a source signal into a plurality of binary code streams according to a preset encoding rule; wherein, the preset coding rule comprises: the first effective data is cooperatively expressed by a plurality of second effective data, and the plurality of second effective data are not completely the same for any value of the first effective data; the first valid data is at least one bit of data in the source signal, and the plurality of second valid data are at least one bit of data in the plurality of binary code streams respectively.
The visible light emitting module 1402 is configured to control the plurality of light sources corresponding to the plurality of binary code streams to be turned on or off according to the plurality of binary code streams, so as to emit a plurality of visible light signals.
In an alternative embodiment, the encoding module 1401 may be implemented by a processor and an associated program; alternatively, the encoding module 1401 may be implemented by a hardware circuit; alternatively, the code module 1401 may be implemented by a combination of a processor and related programs and hardware circuits.
In an alternative embodiment, the visible light emitting module 1402 may include a plurality of light source driving circuits 21 and a corresponding plurality of light sources 22 as shown in fig. 2.
In an alternative embodiment, the visible light emitting module 1402 may include a plurality of light source driving circuits 81, a corresponding plurality of light sources 82, and a frequency generator 83 as shown in fig. 8.
In an alternative embodiment, the visible light communication device 1400 may further include a first polarizing glass as shown in fig. 6.
In an alternative embodiment, the visible light communication device 1400 may further include a fresnel lens and a concave lens as shown in fig. 7.
The working modes and specific circuit structures or optical structures of the modules of the visible light communication apparatus 1400 may refer to the descriptions of the visible light communication method in the embodiments of the present application, and are not described herein again.
The embodiment of the application also provides a visible light communication device which is applied to a receiving end of visible light communication. As shown in fig. 15, which is a block diagram of a visible light communication device according to an embodiment of the present application, the visible light communication device 1500 includes a visible light receiving module 1501, a signal extracting module 1502, and a decoding module 1503.
A visible light receiving module 1501 configured to receive a visible light signal.
A signal extraction module 1502 configured to convert the visible light signal into a plurality of binary code streams.
A decoding module 1503 configured to convert the plurality of binary code streams into a source signal according to a preset decoding rule corresponding to a preset encoding rule of the transmitting end; wherein the preset decoding rule comprises: the plurality of second valid data cooperatively represent the first valid data, the plurality of second valid data are respectively data of at least one bit in the plurality of binary code streams, and the first valid data are data of at least one bit in the source signal.
In an alternative embodiment, the decoding module 1503 may be implemented by a processor and an associated program; alternatively, the decoding module 1503 may be implemented by a hardware circuit; still alternatively, the decoding module 1503 may be implemented by a combination of a processor and related programs and hardware circuits.
In an alternative embodiment, the visible light receiving module 1501 may include a plurality of visible light receivers 41 shown in fig. 4; accordingly, signal extraction module 1502 may include a corresponding plurality of signal extraction circuits 42 shown in fig. 4.
In an alternative embodiment, the visible light receiving module 1501 may include one visible light receiver 101 shown in fig. 10; accordingly, the signal extraction module 1502 may include a plurality of band pass filter circuits 102 and a corresponding plurality of signal extraction circuits 103 shown in fig. 10.
In an alternative embodiment, the visible light communication device 1500 may further include a second polarizing glass as shown in fig. 6.
In an alternative embodiment, the visible light communication device 1500 may further include a fresnel lens and a second polarizing glass as shown in fig. 12.
In an alternative embodiment, the visible light communication device 1500 may further include a second fresnel lens as shown in fig. 13.
The working modes and specific circuit structures or optical structures of the modules of the visible light communication apparatus 1500 may refer to the descriptions of the visible light communication method in the embodiments of the present application, and are not described herein again.
The embodiment of the present application further provides a visible light communication system, which includes the visible light communication device 1400 shown in fig. 14 and the visible light communication device 1500 shown in fig. 15. The working modes and specific circuit structures or optical structures of the modules of the visible light communication system may refer to the descriptions of the visible light communication method in the embodiments of the present application, and are not described herein again.
The embodiment of the application also provides the electronic equipment. Fig. 16 is a block diagram of an electronic device according to an embodiment of the present application. The electronic device may include: at least one processor 1601; a memory 1602 on which at least one program is stored, and when the at least one program is executed by the at least one processor 1601, the at least one processor 1601 is capable of implementing at least an encoding method for converting a source signal into a binary code stream or a decoding method for converting the binary code stream into the source signal in the visible light communication method provided by the embodiment of the present application; and at least one I/O interface (read/write interface) 1603 connected between the at least one processor 1601 and the memory 1602, configured to enable information interaction between the at least one processor 1601 and the memory 1602.
The processor 1601 is a device with data Processing capability, which includes but is not limited to a Central Processing Unit (CPU); the Memory 1602 is a device having data storage capability, and includes, but is not limited to, Random Access Memory (RAM, more specifically sdram (synchronous Dynamic Random Access Memory), ddr (data Direction register), etc.), Read-Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), and FLASH Memory (FLASH); the I/O interface 1603 is coupled between the processor 1601 and the memory 1602 to enable information interaction between the processor 1601 and the memory 1602, which includes but is not limited to a data Bus (Bus) and the like.
In an alternative embodiment, the processor 1601, the memory 1602 and the I/O interface 1603 are connected to each other via a bus and further to other components of the electronic device, such as sensors.
The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the computer program implements an encoding method for converting a source signal into a binary code stream, or a decoding method for converting the binary code stream into the source signal, in the visible light communication method provided by the embodiment of the present application.
The embodiment of the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the method for encoding a source signal into a binary code stream or a method for decoding a binary code stream into a source signal in the visible light communication method provided by the embodiment of the present application is implemented.
The computer program for implementing the encoding/decoding method may be written in any combination of one or more programming languages. These computer programs may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the functions/acts specified in the flowchart and/or block diagram block or blocks are performed when the computer programs are executed by the processor or controller. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted in a generic and descriptive sense only and not for purposes of limitation. In some instances, features, characteristics and/or elements described in connection with a particular embodiment may be used alone or in combination with features, characteristics and/or elements described in connection with other embodiments, unless expressly stated otherwise, as would be apparent to one skilled in the art. Accordingly, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the application as set forth in the appended claims.

Claims (13)

1. A visible light communication method, comprising:
converting the source signal into a plurality of binary code streams according to a preset coding rule; and
controlling a plurality of light sources corresponding to the plurality of binary code streams to be turned on or turned off according to the plurality of binary code streams so as to emit a plurality of visible light signals;
wherein the preset encoding rule comprises: the first effective data is cooperatively expressed by a plurality of second effective data, and the plurality of second effective data are not completely the same for any value of the first effective data; the first valid data is at least one bit of data in the source signal, and the plurality of second valid data are at least one bit of data in the plurality of binary code streams respectively.
2. The visible light communication method according to claim 1, wherein the preset encoding rule further comprises: each of the plurality of second valid data takes a value of "10" or "01".
3. The visible light communication method according to claim 2, wherein the plurality of binary code streams are two binary code streams; and
converting the source signal into the plurality of binary code streams according to the preset encoding rule, including:
manchester coding is carried out on the source signal to obtain a first binary code stream which is used as one of the two binary code streams; and
and performing bit-wise negation on the first binary code stream to obtain a second binary code stream serving as the other of the two binary code streams.
4. The visible light communication method of claim 1, further comprising, after transmitting the plurality of visible light signals: and combining the plurality of visible light signals.
5. The visible light communication method according to claim 4, wherein: the plurality of light sources comprise two laser light sources, the plurality of visible light signals comprise two laser signals, and the reflectivity of the two laser signals is different; and
combining the plurality of visible light signals, comprising: and enabling the two laser signals to be respectively incident to the polarized glass at a set first angle and a set first position so as to obtain one path of laser emitted from the polarized glass.
6. The visible light communication method according to claim 5, further comprising, after obtaining the one path of laser light emitted from the polarizing glass: and scattering the laser by using a laser beam expander.
7. The visible light communication method according to claim 4,
after converting the source signal into the plurality of binary code streams according to the preset encoding rule and before controlling the plurality of light sources respectively corresponding to the plurality of binary code streams to be turned on or off according to the plurality of binary code streams, the method further includes: modulating the plurality of binary code streams based on a plurality of carriers respectively; wherein any two carriers of the plurality of carriers are different in frequency; and
combining the plurality of visible light signals, comprising:
and enabling the plurality of visible light signals to be respectively incident to the Fresnel lens at a set second angle and a set second position and then to be incident to the concave lens, so as to obtain a bundle of visible light signals emitted from the concave lens.
8. A visible light communication method, comprising:
receiving a visible light signal;
converting the visible light signal into a plurality of binary code streams; and
converting the binary code streams into source signals according to a preset decoding rule corresponding to a preset coding rule of a transmitting end;
wherein the preset decoding rule comprises: the plurality of second valid data cooperatively represent first valid data, the plurality of second valid data are respectively data of at least one bit in the plurality of binary code streams, and the first valid data are data of at least one bit in the source signal.
9. The visible light communication method of claim 8, further comprising, prior to receiving the visible light signal: and focusing the visible light signal by using a Fresnel lens.
10. The visible light communication method according to claim 8 or 9, wherein:
prior to receiving the visible light signal, the method further comprises: enabling the visible light signal to be incident on a polarized glass at a set third angle and a set third position so as to obtain two laser signals emitted from the polarized glass, wherein the reflectivity of the two laser signals is different;
receiving the visible light signal, comprising: converting the two laser signals into two current signals respectively by using two visible light receivers; and
converting the visible light signal into the plurality of binary code streams, comprising: converting the two current signals into two level signals respectively; and converting the two level signals into two binary code streams respectively.
11. The visible light communication method according to claim 8 or 9, wherein:
receiving the visible light signal, comprising: converting the visible light signal into a current signal using a visible light receiver; and
converting the visible light signal into the plurality of binary code streams, comprising: converting the current signal into a level signal; performing band-pass processing on the level signals to obtain a plurality of level signals; and converting the level signals into the binary code streams respectively.
12. A visible light communication device, comprising:
the encoding module is configured to convert the source signal into a plurality of binary code streams according to a preset encoding rule; wherein the preset encoding rule comprises: the first effective data is cooperatively expressed by a plurality of second effective data, and the plurality of second effective data are not completely the same for any value of the first effective data; wherein the first valid data is at least one bit of data in the source signal, and the second valid data is at least one bit of data in the binary code streams; and
and the visible light emitting module is configured to control a plurality of light sources corresponding to the plurality of binary code streams to be turned on or turned off according to the plurality of binary code streams so as to emit a plurality of visible light signals.
13. A visible light communication device, comprising:
a visible light receiving module configured to receive a visible light signal;
a signal extraction module configured to convert the visible light signal into a plurality of binary code streams; and
the decoding module is configured to convert the plurality of binary code streams into source signals according to a preset decoding rule corresponding to a preset encoding rule of a transmitting end; wherein the preset decoding rule comprises: the plurality of second valid data cooperatively represent first valid data, the plurality of second valid data are respectively data of at least one bit in the plurality of binary code streams, and the first valid data are data of at least one bit in the source signal.
CN202110961584.9A 2021-08-20 2021-08-20 Visible light communication method and device Pending CN113472441A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110961584.9A CN113472441A (en) 2021-08-20 2021-08-20 Visible light communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110961584.9A CN113472441A (en) 2021-08-20 2021-08-20 Visible light communication method and device

Publications (1)

Publication Number Publication Date
CN113472441A true CN113472441A (en) 2021-10-01

Family

ID=77866907

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110961584.9A Pending CN113472441A (en) 2021-08-20 2021-08-20 Visible light communication method and device

Country Status (1)

Country Link
CN (1) CN113472441A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4791407A (en) * 1987-08-04 1988-12-13 Trustees Of Columbia University In The City Of New York Alternate mark/space inversion line code
US6437893B1 (en) * 1996-07-16 2002-08-20 Robert Rivollet System and method for transmitting messages, in particular for updating data recorded in electronic labels
US20130272717A1 (en) * 2012-04-13 2013-10-17 Kabushiki Kaisha Toshiba Transmission system, transmitter and receiver
US20150304030A1 (en) * 2014-04-18 2015-10-22 National Chiao Tung University Visible light communication method
CN110784261A (en) * 2019-11-07 2020-02-11 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Flicker-free visible light communication method and system based on coding
CN111427121A (en) * 2020-04-27 2020-07-17 武汉光鱼科技有限公司 Eight-channel wavelength division multiplexing and wavelength division demultiplexing optical device
CN112511227A (en) * 2020-12-08 2021-03-16 中国科学技术大学 MIMO visible light communication system based on LED array

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4791407A (en) * 1987-08-04 1988-12-13 Trustees Of Columbia University In The City Of New York Alternate mark/space inversion line code
US6437893B1 (en) * 1996-07-16 2002-08-20 Robert Rivollet System and method for transmitting messages, in particular for updating data recorded in electronic labels
US20130272717A1 (en) * 2012-04-13 2013-10-17 Kabushiki Kaisha Toshiba Transmission system, transmitter and receiver
US20150304030A1 (en) * 2014-04-18 2015-10-22 National Chiao Tung University Visible light communication method
CN110784261A (en) * 2019-11-07 2020-02-11 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Flicker-free visible light communication method and system based on coding
CN111427121A (en) * 2020-04-27 2020-07-17 武汉光鱼科技有限公司 Eight-channel wavelength division multiplexing and wavelength division demultiplexing optical device
CN112511227A (en) * 2020-12-08 2021-03-16 中国科学技术大学 MIMO visible light communication system based on LED array

Similar Documents

Publication Publication Date Title
US11159244B2 (en) Methods and apparatus for frequency shift keying for optical communication
CN107615684A (en) The enhancing of the digital remote diagnostic monitoring information of optical transceiver sends and receives
US20160315758A1 (en) Optical transceiver and method with channel binding, clock forwarding, and integrate-and-dump receivers
US7486897B2 (en) Polarization duobinary optical transmitter
US9948393B2 (en) Visible light communication system and method and related device
WO2017113878A1 (en) Optical signal transmission method, device, and system
US20070043898A1 (en) Information processing system
JPH0787428B2 (en) Digital information transmission method and apparatus
US10469173B2 (en) High-speed low-power-consumption optical transceiver chip
CN109274431B (en) One-to-many broadcast optical communication method and system based on orbital angular momentum coding
US9755751B2 (en) Optical transceiver of flexible modulation format
US10187146B2 (en) Light converting device
US20050078965A1 (en) RZ-AMI optical transmitter module
CN113472441A (en) Visible light communication method and device
US20100247111A1 (en) Optical relay system and method
US20180076885A1 (en) Bandwidth throttling
US7424230B2 (en) Digital transmission system
CN216873206U (en) Difference mutual check demodulation device in free space optical communication
CN211378032U (en) Classical optical communication device, transmitter, receiver and system in common-fiber transmission
CN113014317A (en) Differential cross-check modulation and demodulation method and device in free space optical communication
JPH01208920A (en) Optical communication system
US11533110B1 (en) Transmitting an optical signal including heterodyne combinations
US7433603B2 (en) Using active and passive optical components for an optical network
US20240298098A1 (en) Optoelectronic systems and methods for inspection of optically encoded data
WO2016116047A1 (en) Optical signal sending method, optical transceiver and optical back panel interconnection system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Xia Guanzhicheng

Inventor after: Zou Xiao

Inventor before: Zou Xiao

Inventor before: Xia Guanzhicheng

Inventor before: Xiao Zhixiang

Inventor before: Wang Chaoyang

Inventor before: Wang Mingjie