This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2007-57435, filed on Mar. 7, 2007; the entire contents of which are incorporated herein by reference.
1. Field of the Invention
The present invention relates to a transmitting device, a receiving device, and an optical communication method performing an optical communication by a luminance change of a light source.
2. Description of the Related Art
An optical communication using an LED illumination is proposed (refer to IEICE technical report WBS2003-38 SAT2003-30 (2003-06)). In this optical communication, a signal is transmitted while changing luminance of light with high frequency which is not sensed by a person so as to keep a function as the illumination. The change of the luminance is converted into the signal by a high-speed receiver such as a phototransistor and a photodiode.
Incidentally, an art of an imaging device is disclosed, in which a row of plural light-receiving elements arranged in a row direction and a column direction is selected and scanned (refer to JP-A No. 2005-191814).
Here, only information for brightness can be retrieved by a single light-receiving element such as a phototransistor and a photodiode. It is therefore difficult to obtain plural transmission data and to specify a position of a blinking light source. There exists an image sensor (a CMOS image sensor, a CCD image sensor, and so on) as a sensor capable of specifying the position of the blinking light source. However, among them, a sensor sensing in a fast cycle is expensive, and it is difficult to reduce a size as a system.
An object of the present invention is to provide a transmitting device, a receiving device, an optical communication system, and an optical communication method performing an optical communication by using a light-receiving unit.
A receiving device according to an aspect of the present invention includes: a light-receiving unit receiving a light transmitted from a light source, luminance of the light changing corresponding to an information, the light-receiving unit having a plurality of light-receiving elements detecting the light repeatedly at times different from one another; and a decoding unit decoding a light-receiving signal outputted from the light-receiving unit into the information, the light-receiving signal including signal components detected from the light-receiving elements at times different from one another.
A transmitting device according to an aspect of the present invention, which transmits information to a receiving device having plural light-receiving elements detecting a light repeatedly at times different from one another, includes: a first light source; and a first control unit controlling luminance of the first light source with corresponding to the information to be transmitted.
An optical communication method according to an aspect of the present invention includes: controlling luminance of a light source with corresponding to an information; receiving a light from the light source by a light-receiving unit having plural light-receiving elements detecting a light repeatedly at times different from one another; and decoding a light-receiving signal outputted from the light-receiving unit into the information, the light-receiving signal including signal components detected from the light-receiving elements at times different from one another.
Hereinafter, an optical communication system according to the present invention is described in detail based on the drawings. Note that the present invention is not limited by these embodiments.
Hereinafter, a description of the transmitting device 110 is explained.
The transmission signal storage unit 111 is a storage device, for example, a memory storing a signal (a transmission signal (transmission information)) transmitted from the transmitting device 110. The transmission signal is represented as, for example, digital information such as “100”.
This transmission signal is divided into communication units and transmitted from the transmitting device 110. This communication unit means an information length [bit] transmitted at a time at a later-described one light source 117. For example, when one bit is represented by a contrast of luminance of the light source 117, the communication unit is one bit. In this case, the transmission signal “100” is divided into “1”, “0”, “0”, and they are transmitted sequentially. Here, the communication unit is one bit. As it is described later, it is possible to represent multi-bits by using phases of the contrast of the luminance of the light source 117.
The signal conversion unit 112 converts the transmission signal into a light-emission signal (a luminance control signal controlling the luminance of the light-emitting unit 116), and it has an address signal adding unit 113 and a signal color separation unit 114. Incidentally, details of the address signal adding unit 113 and the signal color separation unit 114 are described later. The light-emission signal storage unit 115 stores the light-emission signal converted at the signal conversion unit 112.
The light-emitting unit 116 has light sources 117a to 117c, and control units 118a to 118c. The light sources 117a to 117c are light-emitting elements such as LED, and emit lights of a first to third colors different from one another (for example, R (red), G (green), B (blue)). The control units 118a to 118c respectively control the luminance of the light sources 117a to 117c based on the light-emission signal stored at the light-emission signal storage unit 115. At this time, the luminance changes with a predetermined interval.
The address signal adding unit 113 adds an address signal by each communication unit of the transmission signal. The address signal is information to identify the communication units with each other (it can be said that a sequence is supplied by each communication unit).
For example, the transmission signal “100” is divided into the communication units, the address signals are added by each communication unit, and thereby, a signal S1 as follows is generated.
(001), (010), (100) . . . signal S1
Here, the address signals of two bits “(00)”, “(01)”, “(10)” are respectively added to the transmission signal “1”, “0”, “0” divided into the communication units. Incidentally, here, “(11)” is not used as an address, but it can be used as the address.
In this example, the transmission signal is three bits. When a transmission signal with a longer information length is transmitted, the address signals “(00)”, “(01)”, “(10)” may be used again.
The signal color separation unit 114 separates the transmission signal and the address signal by each light emission color of the light-emitting unit 116. When display colors of the light-emitting unit 116 are three colors (for example, R, G, B), the signals are separated, for example, by assigning one color (or two colors) to the transmission signal, and the remaining two colors (or one color) to the address signal. Here, one color is assigned to the transmission signal, and the remaining two colors are assigned to the address signal. This assignment of colors means the assignment of the signals to the light sources 117a to 117c respectively.
The above-stated signal S1 is separated into signals S2a to S2c as follows by the signal color separation unit 114.
“0, 0, 1” . . . signal S2a
“0, 1, 0” . . . signal S2b
“1, 0, 0” . . . signal S2c
Each of the signals S2a to S2c mean an address signal 1 (an upper bit of the address signal), an address signal 2 (a lower bit of the address signal), and the transmission signal. The signals S2a to S2c are used for a luminance control of the light sources 117a to 117c, and function as luminance control signals.
The control units 118a to 118c control the luminance of the light sources 117a to 117c based on the signals S2a to S2c, and thereby, the transmission signal to which the address signal is added is transmitted repeatedly from the transmitting device 110.
At this time, the light sources 117a to 117c are in bright states as normal states as shown in later-described
As shown in
Hereinafter, a description of the receiving device 120 is explained.
The optical system 121 forms an image of the light-emitting unit 116 on the light-receiving unit 122. Namely, the lights from the light sources 117a to 117c are condensed on a part of the light-receiving unit 122 (a later-described pixel array 131). As it is described later, it becomes easy to separate the signal from the light-receiving unit 122 into the signals from each of the light sources 117a to 117c as a result of this image-forming (light-condensing).
The light-receiving unit 122 is a unit, for example, a CMOS image sensor, receiving the light emitted from the light-emitting unit 116 as an image, and outputting a light-receiving signal.
The light-receiving unit 122 has the pixel array 131, a timing generator 132, a scanning circuit 133, and a signal retrieving circuit 134.
The pixel array 131 has plural pixels (light-receiving elements 141) arranged in a row direction (the number of rows: m) and in a column direction (the number of columns: n). Each of the light-receiving elements 141 can receive lights from the light sources 117a to 117c.
Incidentally, the light-receiving element 141 is enabled to receive any light among R, G, or B, for example, by attaching a color filter of any color of R, G, or B to the light-receiving element 141. It is possible to flatly arrange the light-receiving elements 141 receiving the lights of R, G, B. As a result of this, it becomes possible to identify the light sources 117a to 117c by color.
The timing generator 132 generates a control signal driving the scanning circuit 133 and the signal retrieving circuit 134. The scanning circuit 133 sequentially selects (scans) the row of the pixel array 131 based on the control signal from the timing generator 132. The light-receiving elements 141 with the row number of “1” to the row number of “m” are sequentially selected by the scanning circuit 133, and thereby, signals from all of the light-receiving elements 141 are outputted. The signal retrieving circuit 134 retrieves the signal from the light-receiving element 141 at the row selected by the scanning circuit 133 based on the control signal from the timing generator 132.
As stated above, signal components from the light-receiving elements 141 at respective rows receiving lights at different times from one another are contained in the signal outputted from the light-receiving unit 122. Accordingly, it is possible to grasp a time change of the luminance of the light-emitting unit 116 by the signal from the light-receiving unit 122.
Here, a time when the scanning circuit 133 selects one line is set as a selection time Δt (refer to
Tf=Δt*m expression (1)
As shown in
The light-receiving signal storage unit 123 is, for example, a buffer memory, temporary storing a signal (a light-receiving signal S3) outputted from the light-receiving unit 122. This light-receiving signal S3 includes information of light intensity at each light-receiving element 141.
The light source signal extracting unit 124 extracts signal components S4a to S4c corresponding to the lights from the respective light sources 117a to 117c from the light-receiving signal S3. Namely, the signals from the light-receiving elements 141 corresponding to the light sources 117a to 117c are extracted from the light-receiving signal S3. In
When a positional relationship between the light-emitting unit 116 and the light-receiving unit 122 is constant, a first to third ranges within the pixel array 131 are just to be stored as fixed values.
Here, there is a possibility that the positional relationship between the light-emitting unit 116 and the light-receiving unit 122 changes. It is preferable that the light source signal extracting unit 124 dynamically determines the ranges (the first to third ranges) of the images Ia to Ic within the pixel array 131, to correspond to the change of the positional relationship. For example, it is possible to determine the ranges of the images Ia to Ic as the following descriptions 1) to 3).
As a result of a measurement for a certain period, a whole range of the images Ia to Ic is determined by specifying the light-receiving elements 141 of which signal intensity changes over a predetermined range. This range is specified by a group of the light-receiving elements 141. Incidentally, the ranges of the images Ia to Ic are integrally handled at this stage.
Respective ranges of the images Ia to Ic are divided from the whole range of the images Ia to Ic. For example, the following methods can be used for the above-stated division.
In general, the groups of the light-receiving elements 141 corresponding to the respective ranges of the images Ia to Ic are separated from one another. Consequently, it is possible to divide the ranges of the images Ia to Ic on a basis that the groups are separated from one another.
Besides, it is also possible to divide the ranges of the images Ia to Ic by a difference of colors. In this case, it is necessary to identify the color of the light received by the light-receiving unit 122 (for example, the light-receiving element 141 is enabled to receive any light of R, G, B).
Incidentally, it is conceivable that the ranges of the images Ia to Ic are limited so as to improve an S/N ratio. For example, centers of gravity of the respective ranges of the images Ia to Ic are asked, and ranges within the predetermined number of pixels from these centers of gravity are set as new ranges of the images Ia to Ic. It becomes possible to eliminate disturbance lights from other than the light sources 117a to 117c owing to the above-stated setting.
3) Determination of Correspondence between Images Ia to Ic and Light Sources 117a to 117c
A correspondence between the images Ia to Ic and the light sources 117a to 117c is unclear in the above-stated descriptions 1) and 2). Consequently, a correspondence between the signal components S4a to S4c and the transmission signal and the address signal is not settled, and the transmission signal cannot be decoded. Accordingly, it is necessary to determine the correspondence between the images Ia to Ic and the light sources 117a to 117c. For example, the determination becomes possible by the difference of colors of the light sources 117a to 117c. Besides, the determination may be made by using the positional relationship between the light sources 117a to 117c and the light-receiving unit 122.
As stated above, the light-receiving elements 141 on which the images Ia to Ic are formed are decided. This means that the lights from the light sources 117a to 117c can be received simultaneously as it is already described.
On the other hand, this means that the light-receiving elements 141 receiving lights from the light sources 117a to 117c are limited. Namely, the received signal from the light-receiving unit 122 remains in a part of the luminance change of the light sources 117a to 117c. For example, when all of the number of rows of the pixel array 131 is set as “m”, and the range of the light-receiving elements 141 on which the image Ib is formed is set as “Δm” rows, then a time zone capable of detecting the luminance change becomes (Δm/m) within every time zone. The reason why the transmission signal is transmitted repeatedly is to enable a reception of the transmission signal within a limited detectable time zone.
The signal decoding unit 125 is to decode the transmission signal based on the three signal components S4a to S4c extracted at the light source signal extracting unit 124, and has a signal sequence organizing unit 126 and a received signal recording unit 127.
The signal sequence organizing unit 126 temporally decomposes the signal component based on the interval ΔT (a transmission speed of information) of the luminance change at the light-emitting unit 116, and converts into the transmission signal (the received signal) and the address signal by each communication unit. Besides, the signal sequence organizing unit 126 aligns the received signals based on the address signals. As a result of this, the received signal is decoded.
Here, sets of (an address 1, an address 2, a signal) are received repeatedly, and therefore, pairs having the same address signal and data information may appear. The received signal (for example, “100”) is determined based on the set of a series of (the address, the signal) (for example, (001), (010), (100)) while ignoring the same pair of the address signal and the data information, as stated above.
The signal sequence organizing unit 126 judges a cut-line of the received signal. The received signal which is different from the former one is decoded with the same address signal, and thereby, the cut-line of the received signal is judged. As it is already described, the transmission signal is transmitted repeatedly, and therefore, there is a possibility that the sets of the same address signals, the received signals may be decoded repeatedly. On the other hand, when information having a long bit length for some extent is transmitted, the same address is reused. In this case, the received signal (transmission information) having the same address signal but different value is to be decoded.
The received signal recording unit 127 stores the decoded received signal to the received signal storage unit 128. The received signal storage unit 128 stores the received information decoded at the signal decoding unit 125.
Operation procedures of the optical communication system 100 are described.
The operation procedures at the transmitting device 110 are described.
Information to be transmitted is retrieved from the transmission signal storage unit 111, and outputted to the signal conversion unit 112. For example, a transmission signal “001” is outputted.
The address signal adding unit 113 of the signal conversion unit 112 adds the address signal to the transmission signal. For example, the transmission signal “001” is divided into the communication units, the address signal is added by each communication unit, and thereby, the above-stated signal S1 is generated.
(3) Separation of Transmission Signal, Address Signal into Each of Light Sources 117a to 117c (Step S13)
The signal color separation unit 114 separates the signal S1 into each of the light sources 117a to 117c. As a result of this, the signals S2a to S2c being luminance control signals are generated. The converted luminance control signals are stored at the light-emission signal storage unit 115.
The light sources 117a to 117c of the light-emitting unit 116 emit lights based on the luminance control signals stored at the light-emission signal storage unit 115. As a result of this, the transmission signal and the address signal are transmitted. As shown in
(0, 0, 1), (0, 1, 0), (1, 0, 0)
Incidentally, when the information having the longer number of bits is transmitted, the address signals “(0, 0)”, “(0, 1)”, “(1, 0)” are used again, and the set of (the address 1, the address 2, the signal) may be transmitted repeatedly.
Operation procedures at the receiving device 120 are described.
(1) Output of Light-Receiving Signal from Light-Receiving Unit 122 (Step S21)
The light-receiving unit 122 receives lights from the light sources 117a to 117c. The light-receiving signal S3 is outputted from the light-receiving unit 122, and stored at the light-receiving signal storage unit 123.
The light source signal extracting unit 124 extracts the signal components S4a to S4c, corresponding to the lights from the light sources 117a to 117c, from the light-receiving signal.
(3) Conversion into Received Signal, Address Signal (Step S23)
The signal sequence organizing unit 126 of the signal decoding unit 125 converts the signal components S4a to S4c into the pair of the address signal and the received signal by each communication unit.
The signal sequence organizing unit 126 decodes the received signal by aligning the sequence of the received signal based on the address signals.
When the different received signals are decoded with the same address signal, the signal sequence organizing unit 126 detects the cut-line of the signal. In addition, the cut-line of the transmission signal may be detected based on the number of repeated times “K” of the transmission.
When the cut-line of the transmission signal is detected, the data prior to the cut-line is stored at the received signal storage unit 128 as the data of which organization is completed, by using the received signal recording unit 127.
As stated above, in the present embodiment, the plural light-receiving elements 141 having light-receiving timing lags are used, and thereby, it becomes possible to receive a light blinking signal blinking in a cycle (the interval ΔT) faster than the imaging cycle (the frame time Tf) at the light-receiving unit 122. Besides, it becomes possible to obtain the signals from the plural light sources 117 simultaneously by using the plural light-receiving elements 141.
Hereinafter, a description of the transmitting device 210 is explained.
The signal conversion unit 212 is to convert a transmission signal into a light-emission signal (a luminance control signal controlling luminance of the light-emitting unit 216), and it has a start signal adding unit 213 and a control signal correction unit 214.
The start signal adding unit 213 adds a start signal at a beginning of the transmission signal. The start signal is a kind of control signal showing start of the transmission signal. The control signal is a signal used to control the transmission of the signal, and it is different from the transmission signal of which object is the transmission of the signal itself. There is a data identification signal in addition to the start signal within the control signals.
The data identification signal is a signal showing that the subsequent signal is not the control signal such as the start signal, but data as it is. It becomes possible to transmit a signal which is the same as the control signal by using the data identification signal.
The control signal correction unit 214 checks whether there is a signal which is the same type as the control signals such as the start signal and the data identification signal or not, in the transmission signal. When there is the same type of signal as the control signal in the transmission signal, the control signal correction unit 214 supplies the data identification signal prior to that portion, and enables the transmission as the transmission signal.
The signal processed by the start signal adding unit 213 and the control signal correction unit 214 is used for a later-described luminance control of a light source 217, and functions as a luminance control signal.
The light-emitting unit 216 has the light source 217 and a control unit 218. Namely, in the present embodiment, the light source 217 of which luminance is controlled is one.
Incidentally, the transmission signal storage unit 211 and the light-emission signal storage unit 215 respectively are not substantially different from the transmission signal storage unit 111 and the light-emission signal storage unit 115 in the first embodiment, and therefore, the detailed description is not given.
(Description of Receiving Device 220)
Hereinafter, a description of the receiving device 220 is described.
The light source signal extracting unit 224 extracts a signal component S4 corresponding to the light from the light source 217 from a light-receiving signal S3. This corresponds that the number of the light source 217 of which luminance is controlled is one. In the other points, there is no substantial difference between the light source signal extracting unit 224 and the light source signal extracting unit 124 in the first embodiment.
The signal decoding unit 225 is to decode the transmission signal based on the signal component S4 extracted at the light source signal extracting unit 224, and it has a start signal detecting unit 226 and a received signal recording unit 227.
The start signal detecting unit 226 estimates a received signal from the signal component S4 based on a ratio “R” (=Δtp/Δt) between a period when the luminance changes (a pulse width Δtp) and a selection time Δt, and an information length “N” of the transmission signal. Further, the start signal detecting unit 226 decodes the received signal by detecting a start signal in the estimated received signal. Incidentally, a description will be stated later.
The received signal recording unit 227 stores the decoded received signal to the received signal storage unit 228.
Incidentally, the optical system 221, the light-receiving unit 222, the light-receiving signal storage unit 223 and the received signal storage unit 228 respectively are not substantially different from the optical system 121, the light-receiving unit 122, the light-receiving signal storage unit 123 and the received signal storage unit 128 in the first embodiment, and therefore, the detailed description is not given.
Operation procedures of the optical communication system 200 are described.
Information to be transmitted is retrieved from the transmission signal storage unit 211, and outputted to the signal conversion unit 212. For example, a transmission signal “01101001100” is outputted.
The start signal adding unit 213 of the signal conversion unit 212 adds a start signal at a beginning of the transmission signal. Here, a start signal “0001” is added to the signal “01101001100”, and a signal “000101101001100” is generated. This signal functions as a luminance control signal. The luminance control signal is stored at the light-emission signal storage unit 215.
Incidentally, the control signal correction unit 214 checks whether there is the same type of signal as the control signal or not within the transmission signal, and adds a data identification signal if necessary.
The light-emitting unit 216 emits light based on the luminance control signal stored at the light-emission signal storage unit 215. As a result, for example, the signal “000101101001100” is transmitted.
Operation Procedures at the receiving device 220 are described.
(1) Output of Light-Receiving Signal from Light-Receiving Unit 222 (Step S41)
The light-receiving unit 222 receives the light from the light source 217. A light-receiving signal is outputted from the light-receiving unit 222, and stored at the light-receiving signal storage unit 223.
The light source signal extracting unit 224 extracts the signal component S4 corresponding to the light from the light source 217 from the light-receiving signal. Here, the signal component S4 during a period when the luminance changes (a section of the pulse width Δtp) is extracted. Incidentally, it is possible to extract the period when the luminance changes from the signal component based on a periodicity of change of signal intensity.
The start signal detecting unit 226 of the signal decoding unit 225 estimates the received signal based on the signal component S4.
The transmission signal is estimated by each communication unit based on the signal component S4. It is assumed that the received signal is shown in
The estimation result based on the received signal in
The signal is divided and superposed based on an information length “N” [bit] of the transmission signal. Here, the information length “N” of the transmission signal is set as “15”. A state in which the signal in
As stated above, the value of the received signal is calculated by using the ratio “R” between the period when the luminance changes (the pulse width Δtp) and the selection time Δt, and the information length “N” of the transmission signal. The received signal is then estimated by superposing the values of the received signal by each sequence number based on the light-receiving signals received repeatedly.
The start signal “0001” is detected from the estimated received signal, and deleted. At the same time, the received information is decoded by reading the signal just after the start signal as the first of the signal (
In this example, the start signal “0001” is dispersed into the tentative sequence numbers 15, 1 to 3. The signal is transmitted repeatedly, and therefore, the dispersion of the start signal as stated above may occur. Namely, the start signal is searched from among the estimated received signal on a basis that the last part and the beginning part of the tentative sequence numbers are connected, and a start position of the signal is determined.
The start signal detecting unit 226 detects a cut-line of the transmission signal. For example, the cut-line of the transmission signal can be detected based on the repetition number of times “K” of the transmission. Besides, the decoding results of the signal are monitored constantly, and the cut-line of the transmission signal may be detected based on a change of the decoding results. When the cut-line of the transmission signal is detected, the data prior to the cut-line is stored at the received signal storage unit 228 by using the received signal recording unit 227 as the data of which organization is completed.
Embodiments of the present invention can be expanded/modified without being limited to the above-described embodiments, and such expanded/modified embodiments are also included in the technical scope of the present invention.
In the first embodiment, the address signal is transmitted together with the transmission signal. A trigger signal may be transmitted instead of the address signal.
Incidentally, the address signals 1, 2 shown in the first embodiment can be used as the trigger signal. As shown in
It is possible to transmit the transmission signal in parallel by using plural light sources 117. For example, the trigger signal, a transmission signal 1, a transmission signal 2 are assigned to each of the light sources 117a to 117c.
It is possible to turn the transmission signal into multi-bit.
It is possible to represent the transmission signal by using a difference from reference luminance. Here, two kinds of differences are conceivable in which a usage of a difference of the luminance among the plural light sources from one another, and a usage of a difference of the luminance which temporally changes at the same light source.
Difference of Luminance from Other Light Sources
Luminance of the temporally subsequent step is set as reference luminance, and a signal may be transmitted by a difference of a luminance value relative to the reference luminance.
Number | Date | Country | Kind |
---|---|---|---|
P2007-057435 | Mar 2007 | JP | national |