RoI-based optical wireless communication method and device
11575445 · 2023-02-07
Assignee
Inventors
Cpc classification
H04B10/5167
ELECTRICITY
H04B10/676
ELECTRICITY
International classification
Abstract
An optical wireless transmission device according to an embodiment of the present invention comprises: a modulation unit for receiving input of a first input signal and outputting a first output signal; and a light source control unit for controlling a first light source in accordance with the first output signal. The first output signal repeats “0” and “1” in a first phase during clock time if a binary value of the first input signal is 0, and repeats “0” and “1” in a phase opposite from the first phase during the clock time if a binary value of the first input signal is 1.
Claims
1. An optical wireless reception apparatus, the optical wireless reception apparatus comprising: an image reception unit receiving images obtained by photographing a light source from an image sensor; and a demodulation unit outputting restored data based on the images, wherein a data rate of the restored data is half of a sampling rate of the received images, and the demodulation unit determines the restored data according to following equations:
y.sub.k=XOR(x.sub.k;x.sub.k-1)
b.sub.m=b.sub.m-1+[(y.sub.2m-1+y.sub.2m)mod 2] (Here, x.sub.k is a flashing state of the light source in a k-th image, b.sub.m is m-th restored data, b.sub.m−1 is m−1-th restored data, y2.sub.m−1 is 2m−1-th value of y.sub.k, and y.sub.2m is 2m-th value of y.sub.k, and mod is a modulo operator).
2. An optical wireless reception method, the optical wireless reception method comprising: receiving, by an image reception unit, images obtained by photographing a light source from an the image sensor; and outputting, by a demodulation unit, restored data based on the images, wherein a data rate of the restored data is half of a sampling rate of the received images, and the demodulation unit determines the restored data according to following equations:
y.sub.k=XOR(x.sub.k;x.sub.k-1)
b.sub.m=b.sub.m-1+[(y.sub.2m-1+y.sub.2m)mod 2] (Here, x.sub.k is a flashing state of the light source in a k-th image, b.sub.m is m-th restored data, b.sub.m−1 is m−1-th restored data, y.sub.2m−1 is 2m−1-th value of y.sub.k, and y.sub.2m is 2m-th value of y.sub.k, and mod is a modulo operator).
3. A non-transitory computer-readable recording medium in which a program for performing a method of claim 1 is recorded.
4. A non-transitory computer-readable recording medium in which a program for performing a method of claim 2 is recorded.
Description
DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
MODES OF THE INVENTION
(10) Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings to clarify the spirit of the present invention. In describing the present invention, when it is determined that specific description of already known functions or constitutional components related to the present invention may make the gist of the present invention unclear, detailed description thereof will be omitted. Whenever possible, the same reference numerals and symbols are assigned to the constitutional components practically having the same functional configuration in the drawings although they are shown in different drawings. For the convenience of explanation, apparatuses and methods are described together in case of necessity.
(11)
(12)
(13) An optical wireless reception apparatus 200 may receive images obtained by photographing the light source 130 from an image sensor 230, determine a RoI based on the received images, and restore the low speed data. The optical wireless reception 200 may obtain identification information of the light source 130 from the restored low speed data. The image sensor 230 may be a stereo camera.
(14) The optical wireless reception apparatus 200 may receive images obtained by photographing the light source 130 from an image sensor 240, and restore the high speed data based on the received images. In this case, the RoI determined above may be used. It is also possible to use the identification information of the light source. In particular, when a plurality of light sources are found, the RoI of each light source may be distinguished by the corresponding identification information. The images received from the image sensor 240 may be images captured at a higher sampling rate than the images received from the image sensor 230. The images received from the image sensor 240 may be images captured at a higher resolution than the images received from the image sensor 230.
(15) The image sensor 240 may be different from or the same as the image sensor 230. For example, the two image sensors may be different from each other, and the image sensor 230 may be an image sensor having low performance such as frame rate and resolution, and the image sensor 240 may be an image sensor having high performance such as frame rate and resolution. The two image sensors may be synchronized, and each operation may be performed simultaneously. The low performance image sensor part 230 and the high performance image sensor part 240 may be included within one image sensor 230 or 240. In this case, the two image sensor parts may be image sensors that operate in different schemes. The optical wireless reception apparatus 200 may use one image sensor 230 or 240, operate the image sensor at low performance (e.g., at a low frame rate) during RoI detection and/or low speed data recovery, and operate the image sensor at high performance (e.g., at a high frame rate) during high speed data recovery.
(16) The image sensor 240 may capture images at a high performance, for example, at a high frame rate, for the corresponding RoI portion using the RoI information. The RoI information may be used when the optical wireless reception apparatus 200 demodulates the high-speed data from the images received from the image sensor 240.
(17)
(18) The modulation unit 110 may modulate data to be transmitted, and the light source control unit 120 may control the light source 130 based on the modulated data. The image reception unit 210 may receive images of the light source 130 from the image sensor 230, and the demodulation unit 220 may restore data from the received images.
(19) For convenience of description, an input signal of the modulation unit 110 may be called a first input signal, and an output of the modulation unit may be called a first output signal. The first output signal may repeat 0 and 1 with a first phase for a clock time when the first input signal is a binary value 0, and may repeat 0 and 1 with a phase opposite to the first phase for the clock time when the first input value is a binary value 1. For example, the modulation unit may output (0, 1, 0, 1, . . . ) when the first input signal is a binary value 0, and may output (1, 0, 1, 1, . . . ) when the first input signal is a binary value 1. The light source control unit may flash the first light source 130 according to the first output signal. The modulation unit may output a second output signal obtained by inverting the first output signal, and the light source control unit may control the second light source according to the second output signal.
(20) The optical wireless transmission apparatus 100 may include a line coding unit in front of the modulation unit 110. That is, an output of the line coding unit may become the first input signal which is an input signal of the modulation unit 110. For convenience of description, the input signal of the line coding unit may be called a second input signal. The line coding unit may encode the input signal at a code rate of ½ according to Table 1 and output the coded input signal. That is, the line coding unit may output binary values (1, 0) when the input signal is a binary value 0, and output binary values (0, 1) when the input signal is a binary value 1.
(21) TABLE-US-00001 TABLE 1 Input bit Output code 0 1 0 1 0 1
(22) Unlike Table 1, the line coding unit may output binary values (0, 1) when the input signal is a binary value 0, and output binary values (1, 0) when the input signal is a binary value 1. However, the following description is based on Table 1.
(23) The line coding unit part may add a preamble (1, 1, 1, 1) or (0, 0, 0, 0) in front of the output signal, that is, the first input signal. The following description is based on the case of adding the preamble (1, 1, 1, 1).
(24) The line coding unit may add extension bits (0, 1) or (1, 0) in front of the first input signal. The following description is based on the case of adding the extension bits (0, 1). The addition of the extension bits (0, 1) to the output signal by the line coding unit may correspond to addition of the extension bit 1 before the second input signal, that is, the data to be transmitted.
(25) The operation of the modulation unit 110 described above may be summarized as shown in an example of Table 2.
(26) TABLE-US-00002 TABLE 2 Two bit Extension interval bit Data bit 1 Data bit 2 Data bit 3 Data bit 4 Data bit 1 0 0 0 RLL code 0 1 1 0 0 1 1 0 1 0 Preamble 1 1 1 1 0 1 1 0 0 1 1 0 1 0 added LED-1 (1 0 . . .).sub.4n (01 . . .).sub.n (10 . . .).sub.n (10 . . .).sub.n (01 . . .).sub.n (01 . . .).sub.n (10 . . .).sub.n (10 . . .).sub.n (01 . . .).sub.n (10 . . .).sub.n (01 . . .).sub.n waveform LED-2 (0 1 . . .).sub.4n (10 . . .).sub.n (01 . . .).sub.n (01 . . .).sub.n (10 . . .).sub.n (10 . . .).sub.n (01 . . .).sub.n (01 . . .).sub.n (10 . . .).sub.n (01 . . .).sub.n (10 . . .).sub.n waveform
(27) An error correction code may be used to correct errors in the low speed data transmission, and a majority vote may be used when the frame rate of the image sensor is multiple times the clock rate of the transmission side.
(28)
(29) Referring back to
(30) The demodulation unit 220 of the optical wireless reception apparatus 200 may compare flashing states of the light source 130 in two consecutive images as follows.
y.sub.k=XOR(x.sub.k;x.sub.k-1)
(31) x.sub.k is a flashing state of the light source 130 in the k-th image.
(32) When the demodulation unit receives the transmission data, y.sub.k does not become zero three times in succession. When the demodulation unit receives the preamble, y.sub.k may become zero three times in succession. Thus, the demodulation unit may detect the preamble. That is, the demodulation unit may determine that the preamble is detected when the flashing states of the light source are the same for the four consecutive images. The demodulation unit may determine that the preamble is detected when the flashing states of the light source are the same for the three consecutive images.
(33) After detecting the preamble, y.sub.k may become (1, 1) according to reception of the extension bit, and the demodulation unit may determine the restored data for this as a binary value 1, and output it. That is, the demodulation unit may output the restored data of two images after the preamble detection as a binary value 1, which is an extension bit.
(34) The demodulation unit may restore the transmission data by outputting a binary value identical to or opposite to the previous output value as the next output value according to y.sub.k. For example, the demodulation unit may output a binary value opposite to the previous value of the restored data as the next value of the restored data when the flashing states of the light source for two consecutive images are the same, and output a binary value equal to the previous value of the restored data as the next value of the restored data when the flashing states of the light source for two consecutive images are different from each other.
(35) The operation of the demodulation unit described above may be as shown in Table 3 or Table 4 depending on a time point at which the image is sampled.
(36) TABLE-US-00003 TABLE 3 Captured LED, x.sub.k 0 0 0 0 1 0 0 1 1 0 0 1 0 1 RLL decoding, y.sub.k — 0 0 0 1 1 0 1 0 1 0 1 1 1 Preamble detection >= three zeros No appearance of two zeros continuously. Packet reconstruct Detected preamble Data bit 1 0 1 0 0
(37) TABLE-US-00004 TABLE 4 Captured LED, x.sub.k 0 0 0 0 1 0 0 1 1 0 0 1 0 1 RLL decoding, y.sub.k — 0 0 0 1 1 0 1 0 1 0 1 1 1 Preamble detection >= three zeros No appearance of two zeros continuously. Packet reconstruct Detected preamble Data bit 1 0 1 0 0
(38) The operation of the demodulation unit may be expressed as follows.
y.sub.k=XOR(x.sub.k;x.sub.k-1)
b.sub.m=b.sub.m-1+(y.sub.2m-1+y.sub.2m)[mod−2]
(39) Here, x.sub.k is a flashing state of the light source in the k-th image, and b.sub.m is the m-th restored data.
(40) The demodulation unit may obtain only y.sub.2m to obtain the restored data according to the following equation.
b.sub.m=b.sub.m-1+(y.sub.2m-1+1)[mod-2]
(41)
(42) When photographing with a rolling shutter scheme, since the respective rows are sampled at different times, the flashing states of the light source may be photographed at various phases, and therefore errors may be corrected by majority voting or the like. That is, the demodulation unit may obtain the restored data for different rows in which the light source is photographed in two consecutive images, and determine the final restored data by applying a majority voting to the restored data.
(43) In the optical wireless communication system according to an exemplary embodiment of the present invention, a deep learning network may be applied to the light source detection, the low speed data recovery, and the high speed data recovery as shown in
(44) In order to maximize the communication performance and minimize the computation amount, adaptive control may be performed on frame rate, shutter speed, resolution, etc. of the high speed image sensor as shown in
(45) The present invention has been described in detail focusing on the preferred embodiments shown in the drawings. These embodiments are not to restrict the present invention but only illustrative, and should be considered from the descriptive viewpoint, not restrictive viewpoint. The real technical protection scope should be defined by the technical spirit of the appended claims, not by the descriptions stated above. Although specific terms are used in the specification, they are used only for the purpose of describing the concept of the present invention, not to restrict the meaning or limit the scope of the present invention stated in the claims. Each step of the present invention does not need to be necessarily performed in the stated order and may be performed in parallel, selectively or individually. Those skilled in the art may understand that various modified forms and equivalent other embodiments are possible without departing from the fundamental spirit of the present invention. It should be understood that the equivalents include equivalents that will be developed in the future, as well as presently known equivalents, i.e., all constitutional components invented to perform the same function regardless of a structure.