JP6653128B2 - Visible light communication system - Google Patents

Visible light communication system Download PDF

Info

Publication number
JP6653128B2
JP6653128B2 JP2015101439A JP2015101439A JP6653128B2 JP 6653128 B2 JP6653128 B2 JP 6653128B2 JP 2015101439 A JP2015101439 A JP 2015101439A JP 2015101439 A JP2015101439 A JP 2015101439A JP 6653128 B2 JP6653128 B2 JP 6653128B2
Authority
JP
Japan
Prior art keywords
light
blinking
image sensor
interval
time
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.)
Active
Application number
JP2015101439A
Other languages
Japanese (ja)
Other versions
JP2015233276A (en
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.)
Gocco Inc
Original Assignee
Gocco Inc
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 Gocco Inc filed Critical Gocco Inc
Priority to JP2015101439A priority Critical patent/JP6653128B2/en
Publication of JP2015233276A publication Critical patent/JP2015233276A/en
Application granted granted Critical
Publication of JP6653128B2 publication Critical patent/JP6653128B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Optical Communication System (AREA)

Description

本発明は、可視光通信システムに関し、特に、撮像素子として(CMOSイメージセンサ等の)受光イメージを一定時間ごとに位置をずらしながら走査して撮像するタイプの撮像素子を使用した可視光通信システムに関する。   The present invention relates to a visible light communication system, and more particularly, to a visible light communication system using an image sensor of a type that scans a received light image (such as a CMOS image sensor) while shifting its position at regular time intervals and captures an image. .

[従来の可視光通信]
近年、可視光通信なる通信方式が提案されている。この可視光通信は、発光素子から出力する可視光を変調(即ち、強度変調)することにより、可視光に所望の情報を付与して出力し、受光素子で受光した可視光を復調して前記所望の情報を読み出すことにより、所望のデータを送受信する通信方式である。可視光通信は、信号出力装置として特別な装置を用意しなくても、照明器具、誘導灯、交通信号機等の身近な発光装置を利用して情報伝送を行うことができることから、光の直進性による制約がない環境(即ち、発光側と受光側との間に障害物がない環境)で、従来の無線通信方式を代替する、或いは、従来の無線通信方式と競合する通信技術として期待されている。なお、可視光通信で使用される発光素子としては、LED(発光ダイオード)や有機EL等の高速点滅可能な半導体素子が一般的である。また、可視光通信の受光素子としては、フォトダイオードが一般的であるが、CCDイメージセンサやCMOSイメージセンサ等の固体撮像素子の使用も提案されている。なお、受光素子として固体撮像素子を使用した可視光通信は、イメージセンサ通信とも呼ばれている。
[Conventional visible light communication]
In recent years, a communication method called visible light communication has been proposed. This visible light communication modulates the visible light output from the light emitting element (that is, modulates the intensity) to give desired information to the visible light and outputs the same, and demodulates the visible light received by the light receiving element to demodulate the visible light. This is a communication method for transmitting and receiving desired data by reading out desired information. Visible light communication can transmit information using familiar light-emitting devices, such as lighting fixtures, guide lights, and traffic signals, without preparing special devices as signal output devices. Is expected to be a communication technology that replaces the conventional wireless communication system or competes with the conventional wireless communication system in an environment where there is no restriction due to (i.e., an environment where there is no obstacle between the light emitting side and the light receiving side). I have. In addition, as a light emitting element used in visible light communication, a semiconductor element such as an LED (light emitting diode) or an organic EL that can blink at high speed is generally used. As a light receiving element for visible light communication, a photodiode is generally used, but the use of a solid-state imaging element such as a CCD image sensor or a CMOS image sensor has also been proposed. Note that visible light communication using a solid-state imaging device as a light receiving element is also called image sensor communication.

[従来の可視光通信に関する特許文献]
ここで、可視光通信に関する発明として、特許文献1に記載の表示装置及びプログラムが提案されている。この発明は、可視光による情報送信を好適に行なえるようにすることを目的とし、携帯端末において、制御部が、他の携帯端末へ送信すべき情報であるタグIDを可視光通信に用いるマーカーに変換するようにしている。更に、制御部及びドライバが、変換されたマーカーを表示部に表示させる制御を行うようにしている。また、制御部及びドライバが、表示部に表示されるマーカーの表示態様を調整する制御を行うようにしている。
[Patent Documents Related to Conventional Visible Light Communication]
Here, as an invention related to visible light communication, a display device and a program described in Patent Document 1 have been proposed. SUMMARY OF THE INVENTION An object of the present invention is to make it possible to appropriately transmit information by visible light, and in a portable terminal, a control unit uses a marker that uses a tag ID, which is information to be transmitted to another portable terminal, for visible light communication. Is converted to Further, the control unit and the driver perform control for displaying the converted marker on the display unit. In addition, the control unit and the driver perform control for adjusting the display mode of the marker displayed on the display unit.

特許文献1に記載の可視光通信装置は、受光素子としてCCDイメージセンサを使用するため、上記したイメージセンサ通信技術に関するものであるが、一般に、イメージセンサ通信技術では、データ処理の高速化が難しいという課題があり、データ処理の高速化を図るためには構成が複雑化するという更なる課題がある。   The visible light communication device described in Patent Document 1 relates to the above-described image sensor communication technology because a CCD image sensor is used as a light receiving element, but generally, it is difficult to speed up data processing with the image sensor communication technology. There is a further problem that the configuration is complicated in order to increase the speed of data processing.

特開2013−236363号公報JP 2013-236363 A

そこで、本発明は、撮像素子として(CMOSイメージセンサ等の)受光イメージを経時的に位置をずらしながら走査して撮像するタイプの撮像素子を使用すると共に、そのような撮像素子に特有の現象を利用して、全体の構成を複雑化することなくデータ処理の高速化を実現することができる可視光通信システムを提供することを目的とする。   Therefore, the present invention uses an image sensor of a type that scans a light-receiving image (such as a CMOS image sensor) while shifting its position over time as an image sensor and captures an image. It is an object of the present invention to provide a visible light communication system capable of realizing high-speed data processing without complicating the entire configuration using the same.

本発明に係るコンピュータ装置用の可視光通信システムは、発光側装置と受光側装置とからなる可視光通信システムである。前記発光側装置は、発光素子からなる光源と、前記光源からの光を直接的にまたは間接的に所定の態様で出力するように制御する発光側制御手段とを備える。前記受光側装置は、前記光源の光を受光して、その受光イメージを撮像し、その撮像データを出力する撮像素子と、前記撮像素子からの撮像データを入力し、前記撮像データに基づき所定の制御を行う受光側制御手段とを備える。前記発光側制御手段は、前記光源からの光を直接的に又は間接的に使用して、所定の複数個の点滅光を出力すると共に、前記複数個の点滅光の点滅間隔を、それぞれ、固有の点滅間隔とすることで、前記複数個の点滅光を符号化してその符号化データを出力する。前記受光側制御手段は、前記光源からの前記複数個の点滅光を前記撮像素子に入力して、前記撮像素子により、前記複数の点滅光のそれぞれの固有の点滅間隔に対応するパターンを撮像し、そのパターンを出力して、そのパターンに基づき、前記点滅光からの符号化データを復号化する。前記発光側制御手段は、更に、前記撮像素子の解像度に応じて、前記点滅光の各点灯時間及び各消灯時間が、前記撮像素子の複数画素にわたる露光時間以上の時間となるよう、前記点滅光の点滅間隔を設定して、前記点滅間隔の点滅光により所定の点滅光セットを構成する。前記発光側制御手段は、前記撮像素子の1回の走査時間内に撮像される前記点滅光セットの点滅光の数である1走査時間内点滅光数が、少なくとも、1組の前記点滅光セットの点滅光の総数の2倍より1少ない数となるよう、前記点滅光セットの点滅制御を行う。   The visible light communication system for a computer device according to the present invention is a visible light communication system including a light emitting side device and a light receiving side device. The light emitting side device includes a light source composed of a light emitting element and light emitting side control means for controlling the light from the light source to be output directly or indirectly in a predetermined manner. The light-receiving-side device receives light from the light source, captures an image of the received light, inputs an image pickup device that outputs the image pickup data, and image pickup data from the image pickup device, and receives a predetermined image based on the image pickup data. Light receiving side control means for performing control. The light-emitting side control means outputs a plurality of predetermined blinking lights by directly or indirectly using light from the light source, and sets a blinking interval of the plurality of blinking lights to a specific value. , The plurality of blinking lights are encoded, and the encoded data is output. The light receiving side control unit inputs the plurality of blinking lights from the light source to the image sensor, and captures an image of a pattern corresponding to each unique blinking interval of the plurality of blinking lights by the image sensor. , And outputs the pattern, and decodes the encoded data from the blinking light based on the pattern. The light-emitting side control unit further includes: a flashing light, such that each lighting time and each lighting time of the flashing light is equal to or longer than an exposure time over a plurality of pixels of the imaging device, according to a resolution of the imaging device. Are set, and a predetermined blinking light set is constituted by the blinking lights at the blinking intervals. The light-emitting-side control means may include at least one set of the blinking light set, wherein the number of blinking lights within one scanning time, which is the number of blinking lights of the blinking light set imaged within one scanning time of the image sensor, The flashing control of the flashing light set is performed so that the number becomes one less than twice the total number of the flashing lights.

本発明は、上記のように構成したことにより、撮像素子として(CMOSイメージセンサ等の)受光イメージを経時的に位置をずらしながら走査して撮像するタイプの撮像素子を使用すると共に、そのような撮像素子に特有の現象を利用して、全体の構成を複雑化することなくデータ処理の高速化を実現することができる。   According to the present invention, as described above, an image sensor of a type that scans a light-receiving image (such as a CMOS image sensor) while shifting its position over time and captures an image is used as the image sensor. Utilizing a phenomenon peculiar to the image sensor, it is possible to realize high-speed data processing without complicating the entire configuration.

図1は本発明の実施の形態1に係る可視光通信システムの全体構成を概略的に示す機能ブロック図である。FIG. 1 is a functional block diagram schematically showing an overall configuration of the visible light communication system according to Embodiment 1 of the present invention. 図2は本発明の実施の形態1に係る可視光通信システムの骨子となる構成を説明するための説明図である。FIG. 2 is an explanatory diagram for explaining a configuration serving as a main part of the visible light communication system according to Embodiment 1 of the present invention. 図3は本発明の実施の形態1に係る可視光通信システムの特に受光部側制御ユニットのカメラモジュールの詳細構成を概略的に示す機能ブロック図である。FIG. 3 is a functional block diagram schematically showing a detailed configuration of the camera module of the light-receiving-side control unit of the visible light communication system according to Embodiment 1 of the present invention. 図4は本発明の実施の形態1に係る可視光通信システムの使用例を示す説明図である。FIG. 4 is an explanatory diagram showing a usage example of the visible light communication system according to the first embodiment of the present invention. 図5は本発明の実施の形態1に係る可視光通信システムの発光部側制御ユニットによる発光パターンの一例を示すタイミングチャートである。FIG. 5 is a timing chart showing an example of a light emission pattern by the light emitting unit side control unit of the visible light communication system according to Embodiment 1 of the present invention. 図6は本発明の実施の形態1に係る可視光通信システムの受光部側制御ユニットによる撮像パターンの一例(実施の形態1)を示す説明図である。FIG. 6 is an explanatory diagram illustrating an example (Embodiment 1) of an imaging pattern by the light receiving unit side control unit of the visible light communication system according to Embodiment 1 of the present invention. 図7は本発明の実施の形態1に係る可視光通信システムの受光部側制御ユニットによる撮像パターンの一例(実施例1)について、異なる撮像タイミングでの撮像例を対比して示す説明図である。FIG. 7 is an explanatory diagram illustrating an example of an imaging pattern (Example 1) by the light receiving unit side control unit of the visible light communication system according to Embodiment 1 of the present invention in comparison with imaging examples at different imaging timings. . 図8は本発明の実施の形態1に係る可視光通信システムの受光部側制御ユニットによる撮像パターンの他の例(実施例2)を示す説明図である。FIG. 8 is an explanatory diagram showing another example (Example 2) of the imaging pattern by the light receiving unit side control unit of the visible light communication system according to Embodiment 1 of the present invention. 図9は本発明の実施の形態1に係る可視光通信システムの受光部側制御ユニットによる撮像パターンの他の例(実施例2)について、異なる撮像タイミングでの撮像例を対比して示す説明図である。FIG. 9 is an explanatory diagram showing another example (Example 2) of the imaging pattern by the light receiving unit side control unit of the visible light communication system according to Embodiment 1 of the present invention in comparison with imaging examples at different imaging timings. It is. 図10は本発明の実施の形態1に係る可視光通信システムの受光部側制御ユニットによる撮像パターンによって構成される制御符号の具体例を示す説明図である。FIG. 10 is an explanatory diagram showing a specific example of a control code formed by an imaging pattern by the light receiving unit side control unit of the visible light communication system according to Embodiment 1 of the present invention. 図11は本発明の実施の形態1に係る可視光通信システムの受光部側制御ユニットによる撮像パターンの更に別の例(実施例3、実施例4、実施例5)を示す説明図である。FIG. 11 is an explanatory diagram showing still another example (Example 3, Example 4, and Example 5) of the imaging pattern by the light receiving unit side control unit of the visible light communication system according to Embodiment 1 of the present invention. 図12は本発明の実施の形態1に係る可視光通信システムによる複数フレームにわたる撮像パターンの撮像例(実施例6)を示す説明図である。FIG. 12 is an explanatory diagram illustrating an imaging example (Example 6) of an imaging pattern over a plurality of frames by the visible light communication system according to Embodiment 1 of the present invention. 図13は本発明の実施の形態1に係る可視光通信システムにより中央部が強い発光を受光した場合の撮像イメージの一例を示す説明図である。FIG. 13 is an explanatory diagram illustrating an example of a captured image when the central portion receives strong light emission by the visible light communication system according to Embodiment 1 of the present invention. 図14は本発明の実施の形態1に係る可視光通信システムによる撮像データの画像処理による明暗線の幅認識処理の一例(実施例7)を示す説明図である。FIG. 14 is an explanatory diagram illustrating an example (Example 7) of a light-dark line width recognition process by image processing of imaging data by the visible light communication system according to the first embodiment of the present invention. 図15は本発明の実施の形態1に係る可視光通信システムの受光側制御手段の処理の一例(実施例8)を示すフローチャートである。FIG. 15 is a flowchart illustrating an example (Example 8) of the process of the light receiving side control unit of the visible light communication system according to Embodiment 1 of the present invention. 図16は本発明の実施の形態1に係る可視光通信システムの受光側制御手段の発光制御処理の一例(実施例8)におけるコード復号化用の情報を格納するテーブルを示す説明図である。FIG. 16 is an explanatory diagram showing a table for storing code decoding information in an example (Example 8) of the light emission control process of the light receiving side control means of the visible light communication system according to Embodiment 1 of the present invention. 図17は本発明の実施の形態1に係る可視光通信システムの受光側制御手段の処理の一例(実施例8)におけるチェックデジット用の情報を格納するテーブルを示す説明図である。FIG. 17 is an explanatory diagram showing a table for storing check digit information in an example (Example 8) of the processing of the light receiving side control means of the visible light communication system according to Embodiment 1 of the present invention. 図18は本発明の実施の形態2に係る可視光通信システムの発光部の一例を示す説明図である。FIG. 18 is an explanatory diagram illustrating an example of a light emitting unit of the visible light communication system according to Embodiment 2 of the present invention. 図19は本発明の実施の形態3に係る可視光通信システムの発光部の一例を示す説明図である。FIG. 19 is an explanatory diagram illustrating an example of a light emitting unit of the visible light communication system according to Embodiment 3 of the present invention. 図20は本発明の実施の形態4に係る可視光通信システムの発光部の一例を示す説明図であり、(a)は発光部本体を示し、(b)は点滅光セット設定手段を示す。FIG. 20 is an explanatory diagram showing an example of the light emitting unit of the visible light communication system according to Embodiment 4 of the present invention, where (a) shows the light emitting unit body and (b) shows blinking light set setting means. 図21は本発明の実施の形態5に係る可視光通信システムの発光部の一例を示す説明図である。FIG. 21 is an explanatory diagram illustrating an example of a light emitting unit of the visible light communication system according to Embodiment 5 of the present invention. 図22は本発明の実施の形態6に係る可視光通信システムの一例を示す説明図であり、(a)は発光部を示し、(b)は受光部を示す。FIG. 22 is an explanatory diagram showing an example of the visible light communication system according to Embodiment 6 of the present invention, where (a) shows a light emitting unit and (b) shows a light receiving unit. 図23は本発明の実施の形態7に係る可視光通信システムの一例を示す説明図であり、(a)は発光部を示し、(b)は受光部を示す。FIGS. 23A and 23B are explanatory diagrams illustrating an example of a visible light communication system according to Embodiment 7 of the present invention. FIG. 23A illustrates a light emitting unit, and FIG. 23B illustrates a light receiving unit.

以下、本発明を実施するための形態(以下、実施の形態という)を説明する。なお、各実施の形態を通じ、同一の部材、要素または部分には同一の符号を付して、その説明を省略する。なお、以下の説明における「・・・手段」とは、所定の電気・電子部品や電子素子等により対応する所定の機能を実現するよう構成されたハードウエア資源による構成を指す場合もあり、また、コンピュータ装置のCPU、ROM、RAM、外部記憶装置、入力装置、出力装置等のハードウエア資源を、所定のプログラムによる指令によって動作させることで、対応する所定の機能を実現するように構成されたソフトウエア資源による構成を指す場合もあり、更には、ハードウエア資源とソフトウエア資源との組み合わせによる構成を指す場合もある。いずれにしても、ある「手段」について、ハードウエア資源による構成をソフトウエア資源による構成で置換できる場合は、そのようなソフトウエア資源による構成も発明の範囲内にあり、また、ソフトウエア資源による構成をハードウエア資源による構成で置換できる場合は、そのようなハードウエア資源による構成も発明の範囲内にある。   Hereinafter, embodiments for carrying out the present invention (hereinafter, referred to as embodiments) will be described. Note that, throughout the embodiments, the same members, elements, or portions are denoted by the same reference numerals, and description thereof will be omitted. In the following description, "... means" may refer to a configuration using hardware resources configured to realize a predetermined function corresponding to a predetermined electric / electronic component, an electronic element, or the like. By operating hardware resources such as a CPU, a ROM, a RAM, an external storage device, an input device, and an output device of a computer device in accordance with a command of a predetermined program, a corresponding predetermined function is realized. In some cases, it refers to a configuration based on software resources, and also refers to a configuration based on a combination of hardware resources and software resources. In any case, for a certain “means”, if the configuration using hardware resources can be replaced by a configuration using software resources, such a configuration using software resources is also within the scope of the invention, and a configuration using software resources is also considered. If the configuration can be replaced by a configuration using hardware resources, such a configuration using hardware resources is also within the scope of the invention.

[実施の形態1:可視光通信システム]
本発明は、図1〜図3に示す実施の形態1の可視光通信システムとして具体化することができる。以下、この可視光通信システムの全体構成について、まず、図1を参照して概略的に説明する。本実施の形態の可視光通信システムは、図1に示すように、発光側装置(発光部)10と、受光側装置(受光部)50とから構成されている。発光側装置10は、発光素子からなる光源11と、発光部側制御ユニット20と、入力装置25とを備えている。一方、受光側装置50は、カメラモジュール60と、受光部側制御ユニット90と、出力装置93とを備えている。カメラモジュール60は、筐体61と、筐体61の前面開口部に装着した絞り部62と、絞り部62と同軸状に配設したレンズ63と、デジタルシグナルプロセッサ(DSP)70と、受光素子としてのCMOSイメージセンサ80とを備える構成である。
Embodiment 1 Visible Light Communication System
The present invention can be embodied as the visible light communication system according to the first embodiment shown in FIGS. Hereinafter, the entire configuration of the visible light communication system will be schematically described first with reference to FIG. As shown in FIG. 1, the visible light communication system according to the present embodiment includes a light emitting device (light emitting unit) 10 and a light receiving device (light receiving unit) 50. The light emitting side device 10 includes a light source 11 composed of a light emitting element, a light emitting unit side control unit 20, and an input device 25. On the other hand, the light receiving side device 50 includes a camera module 60, a light receiving unit side control unit 90, and an output device 93. The camera module 60 includes a housing 61, a diaphragm 62 attached to the front opening of the housing 61, a lens 63 disposed coaxially with the diaphragm 62, a digital signal processor (DSP) 70, and a light receiving element. And a CMOS image sensor 80 as an example.

[可視光通信システムの骨子]
本実施の形態の可視光システムの各部の詳細について説明する前に、本発明に係る可視光通信システムの骨子となる構成について概略的に説明する。まず、本実施の形態を含む本発明に係る可視光通信システムは、後述するように、CMOSイメージセンサ80からなる撮像素子の1回分の走査時間(動画の場合、1フレーム分の走査時間)内に、(点滅駆動手段から出力される)所定の点滅周期による点滅光が光源11からCMOSイメージセンサ80に入力されると、CMOSイメージセンサ80には、光源11からの1つの点滅光に対応して1対の明暗線(1本の明線と1本の暗線との対)が撮像されるという本発明者らの新規な知見に基づき完成されたものである。例えば、CMOSイメージセンサ80の1回分の走査時間内に、光源11から10個の点滅光が出力されてCMOSイメージセンサ80に入力されると、CMOSイメージセンサ80には、対応する10対の明暗線が点滅光の周期(即ち、点滅間隔)に相当する間隔を置いて連続的に平行に配置された状態で撮像され、ストライプ状のパターン(縞模様)の撮像イメージがCMOSイメージセンサ80から出力される。本発明に係る可視光通信システムは、かかる本発明者らの新規な知見に係る現象を前提として創作されたものであり、このようなCMOSイメージセンサ80に撮像された明暗線のパターンを、コンピュータ装置を制御するための(例えば、コンピュータ装置に所定のイベント等の処理を実行させるための)制御用データ又は制御符号(制御コード)として使用する。
[Overview of Visible Light Communication System]
Before describing the details of each unit of the visible light system according to the present embodiment, the outline of the configuration of the visible light communication system according to the present invention will be schematically described. First, visible light communication system according to the present invention including this embodiment, as described below (in the case of video, one frame scanning time) batch of scanning time of the image pickup device consisting of CMOS image sensor 80 in the When the blinking light (output from the blinking driving means) at a predetermined blinking cycle is input from the light source 11 to the CMOS image sensor 80, the CMOS image sensor 80 responds to one blinking light from the light source 11 at the same time. Thus, the present invention has been completed based on a new finding of the present inventors that a pair of bright and dark lines (a pair of one bright line and one dark line) is imaged. For example, in one batch of the scanning time of the CMOS image sensor 80, the ten flashing light from the light source 11 is input is output to the CMOS image sensor 80, the CMOS image sensor 80, the corresponding 10-to-dark The lines are imaged in a state where they are continuously arranged in parallel at intervals corresponding to the period of the blinking light (that is, the blinking interval), and an image of a striped pattern (striped pattern) is output from the CMOS image sensor 80. Is done. The visible light communication system according to the present invention is created on the premise of the phenomenon according to the novel findings of the present inventors, and a light-dark line pattern imaged by such a CMOS image sensor 80 is formed by a computer. It is used as control data or control code (control code) for controlling the device (for example, for causing a computer device to execute a process such as a predetermined event).

詳細には、本実施の形態を含む本発明の可視光通信システムでは、典型的には、所定の複数対数だけ連続する明暗線の集合(セット)により1組の明暗線のセット(本願では、「明暗線セット」と称する。)を構成し、この明暗線セットを前記CMOSイメージセンサ80の撮像データ(即ち、制御用データ又は制御符号)として使用する。このとき、この可視光通信システムでは、明暗線セットを構成する各明暗線の明線の幅及び暗線の幅のうち、少なくともいずれか一方の幅(明線若しくは暗線の幅、又は、両方の幅)を所定幅に設定し、一つの明暗線セットにおいて連続する明暗線の幅(明線及び/又は暗線の幅)の相互の関係により、一意の情報を表現している。   In detail, in the visible light communication system of the present invention including the present embodiment, typically, a set of light-dark lines (set in this application, The light / dark line set is used as image data (that is, control data or control code) of the CMOS image sensor 80. At this time, in this visible light communication system, at least one of the width of the bright line and the width of the dark line (the width of the bright line or the dark line, or both widths) ) Is set to a predetermined width, and unique information is expressed by the mutual relationship between the widths of the continuous light and dark lines (the width of the light and / or dark lines) in one light and dark line set.

一方、この可視光通信システムでは、前記明暗線セットをCMOSイメージセンサ80に撮像するため、前記明暗線セットの明暗線の数に対応して(明暗線セットの明暗線の数と)同一の複数だけ連続する点滅光の集合(セット)により1組の点滅光のセット(本願では、「点滅光セット」と称する。)を構成し、この点滅光セットを前記発光部側制御ユニット20の制御によって光源11から出力する。このとき、この可視光通信システムでは、点滅光セットを構成する各点滅光の点灯間隔(オン時間間隔)及び消灯間隔(オフ時間間隔)の時間間隔のうち、少なくともいずれか一方の時間間隔(点灯間隔若しくは消灯間隔、又は、両方の時間間隔)を(前記明暗線の幅に対応する)所定時間間隔に設定し、一つの点滅光セットにおいて連続する点滅光の時間間隔(点灯間隔及び/又は消灯間隔)の相互の関係が、前記明暗線の幅の相互の関係と一致するようにしている。即ち、1組の点滅光セットの点滅光は、明暗線セットの明暗線の数と同一の複数だけ連続すると共に、明暗線セットの各明暗線の幅に対応する周期で点滅(オンオフ)する点滅光の集合により構成され、この点滅光セットが、前記発光部側制御ユニット20の制御によって光源11から出力される。   On the other hand, in this visible light communication system, since the light and dark line set is imaged by the CMOS image sensor 80, the same plurality of light and dark lines (corresponding to the number of light and dark lines in the light and dark line set) are used. A set of blinking lights (referred to as “blinking light set” in the present application) is formed by a set of blinking lights that are continuous only with each other, and this blinking light set is controlled by the light emitting unit side control unit 20. Output from the light source 11. At this time, in the visible light communication system, at least one of the lighting intervals (on time intervals) and the lighting intervals (off time intervals) of the blinking lights constituting the blinking light set (lighting intervals) The interval or the light-off interval or both time intervals) is set to a predetermined time interval (corresponding to the width of the light-dark line), and the time interval (lighting interval and / or light-off) of successive blinking lights in one blinking light set is set. (Interval) is matched with the mutual relationship of the width of the light and dark lines. That is, the blinking light of one set of blinking light sets is continuous by the same number as the number of light and dark lines of the light and dark line set, and blinks (on / off) at a cycle corresponding to the width of each light and dark line of the light and dark line set. This blinking light set is constituted by a set of lights, and this blinking light set is output from the light source 11 under the control of the light emitting unit side control unit 20.

そして、本実施の形態を含む本発明の可視光通信システムでは、前記発光部側制御ユニット20の制御によって光源11から出力された点滅光セットの点滅光パターンを、カメラモジュール60によりCMOSイメージセンサ80に撮像し、前記明暗線パターンを撮像データとして取得する。その後、受光部側制御ユニット90が、CMOSイメージセンサ80から出力された明暗線セットのパターンの態様(即ち、明暗線の数と明暗線の幅とにより決定される一意の情報)を認識して読解し、その明暗線セットに対応する所定の信号を出力することで、その明暗線セットに対応する所定の処理をコンピュータ装置に実行させる。   In the visible light communication system of the present invention including the present embodiment, the blinking light pattern of the blinking light set output from the light source 11 under the control of the light emitting unit side control unit 20 is converted by the camera module 60 into the CMOS image sensor 80. And the light and dark line pattern is obtained as image data. Thereafter, the light receiving unit side control unit 90 recognizes the mode of the pattern of the light and dark line set output from the CMOS image sensor 80 (that is, unique information determined by the number of light and dark lines and the width of the light and dark lines). By reading and outputting a predetermined signal corresponding to the set of light and dark lines, the computer device executes a predetermined process corresponding to the set of light and dark lines.

<点滅光セット及び明暗線セットの具体例1(モノクロ態様)>
次に、前記点滅光セット及び明暗線セットの具体例について説明する。例えば、本実施の形態の可視光通信システムでは、図2に示すように、発光部側制御ユニット20の制御により、光源11から、前記点滅光セットとして、合計6つの連続する点滅光(即ち、連続する6つのオン時間及びオフ時間の対)から構成する。この場合、図2中の光源11からの点滅光のタイミングチャート(図2中の左下側)に示すように、6つの点滅光を光源11から順次出力すると共に、6つの点滅光の消灯部分(オフ部分)L1,L2,L3,L4,L5,L6の消灯間隔(オフ時間間隔)を、所定の時間間隔(時間幅)W1,W2,W3,W4,W5,W6に設定する。この場合、例えば、6つの点滅光の消灯部分L1,L2,L3,L4,L5,L6の消灯間隔W1,W2,W3,W4,W5,W6として、最大の時間間隔(最大間隔)、最小の時間間隔(最小間隔)、及び、それらの中間的な時間間隔(中間間隔)の3つの相対的な間隔を設定し、これら最大間隔、中間間隔及び最小間隔のいずれかを前記6つの点滅光の消灯部分L1,L2,L3,L4,L5,L6の消灯間隔W1,W2,W3,W4,W5,W6として割り当てることができる。具体的には、6つの点滅光の最初の2つの消灯部分L1,L2(開始部)の消灯間隔W1,W2をいずれも中間間隔の対として同一間隔とすると共に、次の2つの消灯部分(データ部の最初の2つの消灯部分)L3,L4を最小間隔及び最大間隔の対として異なる間隔とし、更に、次の2つの消灯部分(データ部の最後の2つの消灯部分)L5,L6を最小間隔及び最大間隔の対として異なる間隔とすることができる。
<Specific Example 1 of Flashing Light Set and Light / Dark Line Set (Monochrome Mode)>
Next, specific examples of the blinking light set and the light / dark line set will be described. For example, in the visible light communication system of the present embodiment, as shown in FIG. 2, under the control of the light emitting unit side control unit 20, a total of six consecutive blinking lights (ie, It consists of six consecutive on-time and off-time pairs). In this case, as shown in the timing chart of the blinking light from the light source 11 in FIG. 2 (lower left side in FIG. 2), six blinking lights are sequentially output from the light source 11, and the light-off portions of the six blinking lights ( The off interval (off time interval) of L1, L2, L3, L4, L5, L6 is set to a predetermined time interval (time width) W1, W2, W3, W4, W5, W6. In this case, for example, as the light-off intervals W1, W2, W3, W4, W5, and W6 of the light-off portions L1, L2, L3, L4, L5, and L6 of the six blinking lights, the maximum time interval (maximum interval) and the minimum A time interval (minimum interval) and three relative intervals of an intermediate time interval (intermediate interval) are set, and any one of these maximum interval, intermediate interval, and minimum interval is set for the six blinking lights. Light-off intervals L1, L2, L3, L4, L5, and L6 can be assigned as light-off intervals W1, W2, W3, W4, W5, and W6. More specifically, the light-off intervals W1 and W2 of the first two light-off portions L1 and L2 (starting portions) of the six blinking lights are the same as a pair of intermediate intervals, and the next two light-off portions ( The first two light-off portions of the data portion) L3 and L4 are different intervals as a pair of the minimum interval and the maximum interval, and the next two light-off portions (the last two light-off portions of the data portion) L5 and L6 are minimum. Different intervals can be used as pairs of intervals and maximum intervals.

前記点滅光セットの構成に対応して、明暗線セットにおいては、明暗線セットを合計6対の連続する明暗線(即ち、連続する6つの明線及び暗線の対)から構成する。この場合、それらの明暗線のうち、最初の2対の明暗線(2つの明線及び暗線の対)を、その明暗線セットの開始位置を(受光部側制御ユニット90が)認識するため開始位置認識用明暗線又は同期信号用明暗線(いわゆるスタートビットに対応する開始部又はプリコード)として設定し、残りの4対の明暗線を、前記制御用データ又は制御符号となるデータ部として設定することができる。また、この場合、明暗線セットの各明暗線の明線及び暗線のうち、暗線を前記開始部及びデータ部を構成する信号又はデータとして使用することができる。即ち、この場合、図2中のCMOSイメージセンサ80における撮像イメージの概念図(図2中の右下側)に示すように、光源11からの点滅光セットの6つの点滅光に対応して、6対の明暗線がCMOSイメージセンサ80に撮像される。このとき、6対の明暗線の暗線S1,S2,S3,S4,S5,S6の幅(CMOSイメージセンサ80の走査方向における間隔)を、所定の間隔W1,W2,W3,W4,W5,W6に設定する。なお、この明暗線セットの暗線S1,S2,S3,S4,S5,S6の幅W1,W2,W3,W4,W5,W6の値は、点滅光セットの点滅光の消灯部分L1,L2,L3,L4,L5,L6の消灯間隔W1,W2,W3,W4,W5,W6の値にそれぞれ対応している。   Corresponding to the configuration of the blinking light set, in the light-dark line set, the light-dark line set is composed of a total of six pairs of continuous light-dark lines (that is, six consecutive pairs of light lines and dark lines). In this case, the first two pairs of light and dark lines (two light and dark line pairs) are started because the light receiving unit side control unit 90 recognizes the start position of the light and dark line set. Set as a position recognition light / dark line or a synchronization signal light / dark line (a start portion or precode corresponding to a so-called start bit), and set the remaining four pairs of light / dark lines as the control data or a control code data portion. can do. In this case, of the light and dark lines of each of the light and dark lines in the light and dark line set, the dark line can be used as a signal or data constituting the start portion and the data portion. That is, in this case, as shown in a conceptual diagram (lower right side in FIG. 2) of the captured image in the CMOS image sensor 80 in FIG. 2, corresponding to the six blinking lights of the blinking light set from the light source 11, Six pairs of light and dark lines are imaged by the CMOS image sensor 80. At this time, the widths of the six pairs of dark lines S1, S2, S3, S4, S5, and S6 (intervals in the scanning direction of the CMOS image sensor 80) are set to predetermined intervals W1, W2, W3, W4, W5, and W6. Set to. The values of the widths W1, W2, W3, W4, W5, and W6 of the dark lines S1, S2, S3, S4, S5, and S6 of the light and dark line set are the light-off portions L1, L2, and L3 of the blinking light of the blinking light set. , L4, L5, and L6 correspond to the values of the light-off intervals W1, W2, W3, W4, W5, and W6, respectively.

即ち、6対の明暗線の暗線S1,S2,S3,S4,S5,S6の幅W1,W2,W3,W4,W5,W6は、点滅光セットの点滅光の消灯部分L1,L2,L3,L4,L5,L6の消灯間隔W1,W2,W3,W4,W5,W6に対応して、最大の間隔(最大間隔)、最小の間隔(最小間隔)、及び、それらの中間的な間隔(中間間隔)の3つの相対的な間隔に設定され、これら最大間隔、中間間隔及び最小間隔のいずれかが前記6対の明暗線の暗線S1,S2,S3,S4,S5,S6の幅W1,W2,W3,W4,W5,W6として割り当てられる。具体的には、6つの点滅光の最初の2つの消灯部分L1,L2(開始部)の消灯間隔W1,W2をいずれも中間間隔の対として同一間隔とすると共に、次の2つの消灯部分(データ部の最初の2つの消灯部分)L3,L4を最小間隔及び最大間隔の対として異なる間隔とし、更に、次の2つの消灯部分(データ部の最後の2つの消灯部分)L5,L6を最小間隔及び最大間隔の対として異なる間隔とした場合、6対の明暗線の最初の2本の暗線S1,S2(開始部)の幅W1,W2のいずれも中間間隔の対として同一間隔となると共に、次の2本の暗線(データ部の最初の2本の暗線)S3,S4も最小間隔及び最大間隔の対として異なる間隔となり、更に、次の2本の暗線(データ部の最後の2本の暗線)S5,S6も最小間隔及び最大間隔の対として異なる間隔となる。   That is, the widths W1, W2, W3, W4, W5, and W6 of the dark lines S1, S2, S3, S4, S5, and S6 of the six pairs of light and dark lines are the light-off portions L1, L2, L3 of the blinking light of the blinking light set. The maximum intervals (maximum intervals), the minimum intervals (minimum intervals), and the intermediate intervals (intermediate intervals) corresponding to the light-off intervals W1, W2, W3, W4, W5, and W6 of L4, L5, and L6. ), And any one of the maximum interval, the intermediate interval, and the minimum interval is the width W1, W2 of the six pairs of dark lines S1, S2, S3, S4, S5, and S6. , W3, W4, W5, and W6. More specifically, the light-off intervals W1 and W2 of the first two light-off portions L1 and L2 (start portions) of the six blinking lights are set to the same interval as a pair of intermediate intervals, and the next two light-off portions ( The first two light-off portions of the data portion) L3 and L4 are different intervals as a pair of the minimum interval and the maximum interval, and the next two light-off portions (the last two light-off portions of the data portion) L5 and L6 are minimized. When different intervals are used as the pair of the interval and the maximum interval, the widths W1 and W2 of the first two dark lines S1 and S2 (starting portion) of the six pairs of bright and dark lines are the same interval as the pair of the intermediate intervals. , The next two dark lines (the first two dark lines in the data portion) S3 and S4 also have different intervals as a pair of the minimum interval and the maximum interval, and further, the next two dark lines (the last two dark lines in the data portion) Dark lines) S5 and S6 are also the minimum interval and the maximum interval A different spacing as pairs of.

なお、かかる点滅光セットの点滅光の消灯間隔の設定、及び、これに対応する明暗線セットの暗線の幅の設定については、より具体的な事例を後述する。また、点滅光セットの他の態様、及び、これに対応する明暗線セットの他の態様についても、より具体的な事例を後述する。   A more specific example of setting of the interval of turning off the flashing light of the flashing light set and setting of the width of the dark line of the light and dark line set corresponding thereto will be described later. Further, other specific examples of the blinking light set and other corresponding light / dark line sets will be described later.

<1フレーム内の明暗線の最低包含数>
ここで、本実施の形態を含む本発明の可視光通信システムでは、CMOSイメージセンサ80では、前記明暗線セットによるパターンを取得するためには、1フレーム分の走査時間内に、最低でも前記点滅光セットの点滅光の数以上の点滅光が入力されて撮像される必要がある。即ち、上記のとおり、CMOSイメージセンサ80による1フレーム分の走査時間(即ち、1フレーム分の撮像時間)内に、例えば6個の点滅光を1セットとするデータセットである点滅光セットが、少なくとも1セットは(点滅光セット内のどの点滅光も欠けることなく)全て含まれるようにする必要がある(即ち、CMOSイメージセンサ80により全て撮像されるようにする必要がある)。こうすると、CMOSイメージセンサ80には、光源11からの1つの点滅光に対応して1対の明暗線(1本の明線と1本の暗線との対)が撮像される。即ち、1セットの点滅光セットを構成する6個の点滅光については、6対の明暗線が点滅光の周期(即ち、点滅間隔)に相当する間隔を置いて連続的に平行に配置された状態で撮像され、ストライプ状のパターン(縞模様)の撮像イメージがCMOSイメージセンサ80から出力される。
<Minimum number of light and dark lines included in one frame>
Here, in the visible light communication system of the present invention including the present embodiment, in the CMOS image sensor 80, in order to acquire the pattern by the light and dark line set, at least the blinking within one frame scanning time is required. It is necessary to input more flashing light than the number of flashing lights of the light set and capture an image. That is, as described above, within the scanning time for one frame by the CMOS image sensor 80 (i.e., the imaging time for one frame), for example, a blinking light set which is a data set including six blinking lights as one set, At least one set must be included (without missing any flashing light in the flashing light set) (ie, all must be imaged by CMOS image sensor 80). In this way, the CMOS image sensor 80 captures a pair of bright and dark lines (a pair of one bright line and one dark line) corresponding to one blinking light from the light source 11. That is, with respect to the six blinking lights constituting one set of blinking lights, six pairs of light and dark lines are continuously arranged in parallel at intervals corresponding to the period of the blinking light (that is, the blinking interval). The CMOS image sensor 80 captures an image in the state, and outputs an image of a striped pattern (striped pattern).

しかし、このとき、光源11からCMOSイメージセンサ80への点滅光セットの点滅光の入力開始のタイミングと、CMOSイメージセンサ80による走査開始のタイミングとがずれると、点滅光セットの最初の点滅光が、CMOSイメージセンサ80の走査時間の途中から入力されて、対応する明暗線セットの明暗線が、CMOSイメージセンサ80の走査方向の途中から撮像開始されることになる。この場合、CMOSイメージセンサ80の1フレーム分の走査時間内に撮像される点滅光の数(本願書類において、「フレーム内点滅光数」と称する。)が、少なくとも、1組の点滅光セットの点滅光の総数の2倍より1少ない数だけあれば、即ち、光源11からの点滅光を連続的に撮像する場合において、CMOSイメージセンサ80に撮像される明暗線の数(本願書類において、「フレーム内明暗線数」と称する。)が、少なくとも、1組の明暗線セットの明暗線の総数の2倍より1少ない数だけあれば、CMOSイメージセンサ80における点滅光の入力タイミングと走査タイミングとの時間的ずれに関係なく、少なくとも1組の点滅光セットの全ての点滅光をCMOSイメージセンサに撮像できるとの新規な知見を、本発明者らは鋭意の試験研究により得ている。したがって、この知見に基づき、本発明者らは、使用するCMOSイメージセンサ80の特性(解像度や走査速度等)に応じて、前記フレーム内点滅数が、少なくとも、1組の点滅光セットの点滅光の総数の2倍より1少ない数(本願書類において、「最小フレーム内点滅光数」と称する。)となり、前記フレーム内明暗線が、少なくとも、1組の明暗線セットの明暗線の総数の2倍より1少ない数(本願書類において、「最小フレーム内明暗線数」と称する。)となるよう、発光部側制御ユニット20により、光源11から出力される点滅光の周期を設定するようにしている。例えば、1組の点滅光セットの点滅光の総数が6つで、1組の明暗線セットの明暗線の総数が6対の場合、前記フレーム内点滅数が、少なくとも、1組の点滅光セットの点滅光の総数(6個)の2倍(12個)より1少ない数(11個)となり、前記フレーム内明暗線が、少なくとも、1組の明暗線セットの明暗線の総数(6対)の2倍(12対)より1少ない数(11対)となるよう、発光部側制御ユニット20により、光源11から出力される点滅光の周期を設定するようにしている。無論、使用するCMOSイメージセンサ80の特性(解像度や走査速度等)に応じて、前記フレーム内点滅数が、1組の点滅光セットの点滅光の総数の2倍以上の数となり、前記フレーム内明暗線が、1組の明暗線セットの明暗線の総数の2倍以上の数となるよう、発光部側制御ユニット20により、光源11から出力される点滅光の周期を設定することもできる。   However, at this time, if the timing of starting the input of the blinking light of the blinking light set from the light source 11 to the CMOS image sensor 80 and the timing of starting the scanning by the CMOS image sensor 80 deviate, the first blinking light of the blinking light set will change. The light and dark lines of the corresponding set of light and dark lines are inputted from the middle of the scanning time of the CMOS image sensor 80, and the imaging is started from the middle of the scanning direction of the CMOS image sensor 80. In this case, the number of blinking lights (hereinafter, referred to as “the number of blinking lights in a frame” in the present application) taken within the scanning time of one frame of the CMOS image sensor 80 is at least one blinking light set. If there is only one number less than twice the total number of blinking lights, that is, in the case where the blinking light from the light source 11 is continuously imaged, the number of bright and dark lines imaged by the CMOS image sensor 80 (" As long as the number of light and dark lines in a frame is at least one less than twice the total number of light and dark lines in one set of light and dark lines, the input timing and scanning timing of the flashing light in the CMOS image sensor 80 are determined. The present inventors have made a new finding that a CMOS image sensor can capture all the blinking lights of at least one set of blinking lights regardless of the time lag of the image. It is obtained by testing and research. Therefore, based on this finding, the present inventors have determined that the number of blinks in the frame is at least one of the blinking lights of one set of blinking lights according to the characteristics (resolution, scanning speed, etc.) of the CMOS image sensor 80 used. (Hereinafter referred to as “the minimum number of blinking lights in a frame” in the present document), and the number of light and dark lines in the frame is at least 2 of the total number of light and dark lines in one set of light and dark lines. The period of the blinking light output from the light source 11 is set by the light emitting unit side control unit 20 so that the number becomes one less than twice (referred to as “the minimum number of light and dark lines in the frame” in the present document). I have. For example, when the total number of blinking lights of one set of blinking light sets is 6 and the total number of bright and dark lines of one set of light and dark lines is 6 pairs, the number of blinks in the frame is at least one set of blinking lights. The number (11) is one less than twice (12) the total number (12) of the blinking lights of (6), and the number of light-dark lines in the frame is at least the total number (6 pairs) of light-dark lines of one set of light-dark lines. The light emitting unit side control unit 20 sets the period of the blinking light output from the light source 11 so that the number becomes one less (11 pairs) than twice (12 pairs). Of course, depending on the characteristics (resolution, scanning speed, etc.) of the CMOS image sensor 80 to be used, the number of blinks in the frame is twice or more the total number of blinking lights of one set of blinking light sets. The light emitting unit side control unit 20 can also set the cycle of the blinking light output from the light source 11 so that the number of light and dark lines is at least twice the total number of light and dark lines in one set of light and dark lines.

[発光側装置]
次に、本実施の形態の発光側装置(発光部10)について詳細に説明すると、前記光源11の発光素子としては、発光ダイオード(LED)を好適に使用することができるが、後述するような点滅動作が可能な限りにおいて、有機EL等の他の光源を使用することもできる。また、LEDとしては、白色LED等の特定色の可視光LEDを使用することができるが、赤色、緑色及び青色の三原色を発光自在なフルカラーLEDを使用することもできる。また、光源は、LED等の発光素子を1個のみ配設した構成とすることもできるが、後述するような所定の発光パターン(点滅パターン)での発光駆動が可能な限りにおいて、複数個の発光素子を集合的に配置した構成(例えば、複数個のLEDを集合配置したLEDモジュールの構成)とすることもでき、或いは、LEDチップを基板上に複数又は多数実装したチップLEDモジュールを使用することもできる。更には、後述するような所定の発光パターン(点滅パターン)での発光駆動が可能な限りにおいて、一般的な照明器具を光源として使用することもできる。
[Light emitting device]
Next, the light emitting side device (light emitting unit 10) of the present embodiment will be described in detail. As a light emitting element of the light source 11, a light emitting diode (LED) can be suitably used. Other light sources such as organic EL can be used as long as the blinking operation is possible. Further, as the LED, a visible light LED of a specific color such as a white LED can be used, but a full-color LED capable of freely emitting three primary colors of red, green and blue can also be used. Further, the light source may have a configuration in which only one light emitting element such as an LED is provided. However, as long as light emission driving in a predetermined light emission pattern (blinking pattern) described later is possible, a plurality of light sources may be provided. A configuration in which light emitting elements are collectively disposed (for example, a configuration of an LED module in which a plurality of LEDs are collectively disposed) can be used, or a chip LED module in which a plurality or a large number of LED chips are mounted on a substrate is used. You can also. Further, as long as light emission driving in a predetermined light emission pattern (flashing pattern) as described later is possible, a general lighting fixture can be used as a light source.

<発光部側制御ユニット>
前記発光部側制御ユニット20は、光源11を所定の態様で発光するように(即ち、上記のような点滅光セットを出力するための所定の点滅パターンで発光するように)制御する発光制御手段を構成する。詳細には、発光部側制御ユニット20は、点滅駆動手段を構成する点滅駆動回路21、点滅周期調整手段22、点滅セット設定手段23、変調回路24、及び、発光駆動回路25を備える構成とすることができる。発光部側制御ユニット20は、本実施の形態の発光側装置の特徴的な構成であるが、ハードウエア資源による構成としての各種のマイコン(マイクロコンピュータ)に対して、後述するような所定の機能を当該マイコンに実現させる(各種プログラム等の)ソフトウエア資源による構成を組み合わせて構成することができる。
<Light emitting unit side control unit>
The light emitting unit side control unit 20 controls the light source 11 to emit light in a predetermined manner (ie, to emit light in a predetermined blinking pattern for outputting the blinking light set as described above). Is composed. Specifically, the light emitting unit side control unit 20 is configured to include a blinking drive circuit 21, a blinking cycle adjusting unit 22, a blinking set setting unit 23, a modulation circuit 24, and a light emission drive circuit 25, which constitute blinking drive means. be able to. The light-emitting unit side control unit 20 is a characteristic configuration of the light-emitting side device of the present embodiment, but has a predetermined function as described later for various microcomputers (microcomputers) configured by hardware resources. Can be configured in combination with a configuration using software resources (such as various programs) for realizing the microcomputer.

<点滅駆動回路>
点滅駆動手段としての点滅駆動回路21は、光源11を所定の点滅周期で連続的に点滅駆動する点滅駆動機能を実現するものである。典型的には、点滅駆動回路21からなる点滅駆動手段は、連続する所定幅のパルスにより光源11の発光素子(典型的にはLED)をパルス駆動するパルス駆動機能を実現するものであり、パルス発振器から出力するパルスの幅を任意に増減調節して、パルスを一定周期で連続的に出力すると共に、PWM制御によりデューティー比(1周期に対するパルスのオン時間の比)を制御して出力するPWM駆動回路より構成することができる。ここで、点滅駆動回路21は、一例として、1周期2000マイクロ秒(T=2000μs/周期)のパルスを出力するよう構成することができ、この場合、所定の点滅周波数(500Hz)でLED等の発光素子を連続的に点滅駆動するものである。即ち、本実施の形態では、点滅駆動回路21からなる点滅駆動手段は、PWM駆動回路等の点滅駆動回路からなるハードウエア資源による構成として実現することができ、パルスを、一定周期で(即ち、一定間隔で)、かつ、一定のデューティー比で連続的に(即ち、回路の駆動開始時から回路の駆動停止時まで連続して)出力する機能を実現するものである。
<Blinking drive circuit>
The blinking drive circuit 21 as a blinking drive unit realizes a blinking drive function of continuously driving the light source 11 to blink at a predetermined blinking cycle. Typically, the blinking drive means including the blinking drive circuit 21 implements a pulse drive function of pulse-driving the light-emitting element (typically, an LED) of the light source 11 by continuous pulses of a predetermined width. A PWM that arbitrarily increases or decreases the width of a pulse output from an oscillator to output a pulse continuously at a constant cycle, and that controls and outputs a duty ratio (a ratio of a pulse on time to one cycle) by PWM control. It can be composed of a drive circuit. Here, the blinking drive circuit 21 can be configured to output a pulse of 2000 microseconds per cycle (T = 2000 μs / period) as an example. In this case, the LED or the like is driven at a predetermined blinking frequency (500 Hz). The light-emitting element is driven to blink continuously. That is, in the present embodiment, the blinking drive unit including the blinking drive circuit 21 can be realized as a configuration using hardware resources including the blinking drive circuit such as the PWM drive circuit, and the pulse is generated at a constant cycle (ie, This realizes a function of outputting continuously (at a constant interval) and at a constant duty ratio (that is, continuously from the start of driving of the circuit to the stop of driving of the circuit).

<点滅周期調整手段>
ここで、上記のように、本実施の形態を含む本発明の可視光通信システムでは、CMOSイメージセンサ80の1回分の走査時間(動画の場合、1フレーム分の走査時間)内に、前記点滅光セットの全ての点滅光が必ずCMOSイメージセンサ80内に入力されて撮像されるよう(即ち、前記明暗線セットの全ての明暗線が撮像されるように)、前記光源11からの点滅光の周期が設定されている必要がある。即ち、発光部側制御ユニット20において、点滅駆動回路21による点滅光の周期が、CMOSイメージセンサ80の1回分の走査時間内に前記点滅光セットの全ての点滅光が包含される周期となる必要がある(即ち、全点滅光の個数分の時間間隔が、前記1回分の走査時間内となる必要がある)。この場合、発光部側制御ユニット20の点滅駆動回路21による点滅光の周期の初期設定値において、全点滅光の個数分の時間間隔が前記1回分の走査時間内となるような周期である場合、発光部側制御ユニット20による点滅光の周期の調整は不要である。しかし、発光部側制御ユニット20の点滅駆動回路21による点滅光の周期の初期設定値において、全点滅光の個数分の時間間隔が前記1回分の走査時間を超えるような周期である場合、発光部側制御ユニット20による点滅光の周期の調整が必要となる。
<Flashing cycle adjusting means>
Here, as described above, in the visible light communication system of the present invention including the present embodiment, the blinking is performed within one scan time of the CMOS image sensor 80 (one frame of scan time for a moving image). In order that all the blinking lights of the light set are always input into the CMOS image sensor 80 and imaged (that is, all the light and dark lines of the light and dark line set are imaged), the blinking light from the light source 11 is imaged. The cycle must be set. That is, in the light emitting unit side control unit 20, the cycle of the blinking light by the blinking drive circuit 21 must be a cycle in which all the blinking lights of the blinking light set are included within one scanning time of the CMOS image sensor 80. (That is, the time interval corresponding to the number of all blinking lights needs to be within the one-time scanning time). In this case, when the initial setting value of the cycle of the blinking light by the blinking drive circuit 21 of the light emitting unit side control unit 20 is such that the time interval corresponding to the number of all blinking lights is within the one scanning time. The adjustment of the cycle of the blinking light by the light emitting unit side control unit 20 is unnecessary. However, in the initial setting value of the cycle of the blinking light by the blinking drive circuit 21 of the light emitting unit side control unit 20, if the time interval corresponding to the number of all blinking lights exceeds the one scanning time, the light emission is performed. It is necessary to adjust the cycle of the blinking light by the unit side control unit 20.

これに加え、上記のとおり、本実施の形態を含む本発明の可視光通信システムでは、CMOSイメージセンサ80の撮像動作における1フレーム内の明暗線の最低包含数が、前記最小フレーム内明暗線(明暗線セットの明暗線の総数の2倍より1少ない数以上の数)となるよう、光源11からの点滅光の周期を設定することが望ましい。   In addition, as described above, in the visible light communication system of the present invention including the present embodiment, the minimum inclusion number of light and dark lines in one frame in the imaging operation of the CMOS image sensor 80 is determined by the light and dark lines in the minimum frame ( It is desirable to set the cycle of the blinking light from the light source 11 so that the number is equal to or more than one less than twice the total number of light and dark lines in the light and dark line set.

そこで、本実施の形態では、発光部側制御ユニット20は、かかる点滅光の周期の調整のために、点滅周期調整手段22を設けている。詳細には、点滅周期調整手段22は、前記点滅駆動回路21の設置値の点滅周期による光源11からの点滅光の点滅数が、前記最小フレーム内点滅光数に満たない場合に、前記点滅駆動回路21から出力されるパルスの周期を、点滅光数が前記最小フレーム内点滅光数以上の数となる所定の周期へと調整するものであり、本実施の形態では、上記ソフトウエア資源による構成として実現されている。なお、点滅駆動回路21の設定値において、前記点滅駆動回路21の設置値の点滅周期による光源11からの点滅光の点滅数が、前記最小フレーム内点滅光数以上の数となっている場合は、点滅周期調整手段22は省略することもできる。   Therefore, in the present embodiment, the light emitting unit side control unit 20 is provided with the blinking cycle adjusting means 22 for adjusting the cycle of the blinking light. More specifically, the blinking cycle adjusting means 22 performs the blinking drive when the number of blinking lights from the light source 11 according to the blinking cycle of the setting value of the blinking drive circuit 21 is less than the number of blinking lights in the minimum frame. The cycle of the pulse output from the circuit 21 is adjusted to a predetermined cycle in which the number of blinking lights is equal to or more than the number of blinking lights in the minimum frame. In the present embodiment, the configuration using the software resources is used. It has been realized as. In the case where the blinking number of the blinking light from the light source 11 in the blinking cycle of the setting value of the blinking drive circuit 21 is equal to or more than the blinking light number in the minimum frame in the setting value of the blinking drive circuit 21, In addition, the blinking cycle adjusting means 22 can be omitted.

詳細には、点滅周期調整手段22は、CMOSイメージセンサ80の1回分の走査時間内に点滅駆動回路21から出力される(その際の設定値である)点滅周期の点滅光の数が、前記最小フレーム内点滅光数未満の数となっている場合(例えば、最小フレーム内点滅光数が11個の場合において、1回分の走査時間内に入力されている点滅光の数が10個以下の数となっている場合)、点滅駆動回路21による点滅駆動用の信号の周期を短くする(例えば、PWM制御におけるパルスの周期を短くする)ことにより、CMOSイメージセンサ80の1回分の走査時間内に点滅駆動回路21から出力される(新たな設定値である)点滅周期の点滅光の数が、前記最小フレーム内点滅光数以上の数になるように、点滅駆動回路21を制御する(即ち、点滅駆動回路21に対応する制御信号を出力して制御する)。例えば、最小フレーム内点滅光数が11個の場合において、1回分の走査時間内に入力されている点滅光の数が10個以下の数となっている場合、点滅周期調整手段22は、1回分の走査時間内に入力されている点滅光の数が11個以上の数となるように、点滅光の周期を早める。このように、例えば、1組の点滅光セットの点滅光数を6個とした場合に、フレーム内点滅光数を11個以上(即ち、最小フレーム内点滅光数以上の数)とすれば、点滅光セットを複数セット連続的にCMOSイメージセンサ80に入力したときに、CMOSイメージセンサ80に撮像されたイメージには、必ず、1セット分の点滅光セットの点滅光が完全に含まれる(即ち、いずれの点滅光も欠けることなく、全ての点滅光が含まれる)ことになり、データセットとしての点滅光セットの情報を欠けることなく読み出すことができるようになる。したがって、例えば、1組の点滅光セットの点滅光数を6個とした場合、フレーム内点滅光数は、少なくとも11個とすることが好ましい。 More specifically, the blinking period adjusting means 22 determines the number of blinking lights of the blinking period output from the blinking drive circuit 21 (which is a set value at that time) within one scanning time of the CMOS image sensor 80, as described above. When the number of blinking lights in the minimum frame is less than the number of blinking lights (for example, when the number of blinking lights in the minimum frame is 11, the number of blinking lights input in one scanning time is 10 or less) In this case, the cycle of the signal for the blinking drive by the blinking drive circuit 21 is shortened (for example, the cycle of the pulse in the PWM control is shortened) so that the scanning time of the CMOS image sensor 80 can be reduced by one time. The blinking drive circuit 21 is controlled so that the number of blinking lights of the blinking cycle outputted from the blinking drive circuit 21 (which is a new set value) is equal to or more than the number of blinking lights in the minimum frame ( Chi, controlled by outputting a control signal corresponding to the flashing drive circuit 21). For example, in the case where the number of blinking lights in the minimum frame is 11, and the number of blinking lights input within one scanning time is 10 or less, the blinking cycle adjusting means 22 is set to 1 The cycle of the blinking light is advanced so that the number of blinking lights input within the number of scanning times becomes 11 or more. Thus, for example, when the number of blinking lights in one set of blinking lights is set to 6, and the number of blinking lights in a frame is set to 11 or more (that is, the number of blinking lights in a minimum frame or more), When a plurality of sets of blinking lights are successively input to the CMOS image sensor 80, the image captured by the CMOS image sensor 80 always includes the blinking light of one set of blinking lights completely (that is, the blinking light of one set). Therefore, all the blinking lights are included without missing any blinking lights), and the information of the blinking light set as the data set can be read without missing. Therefore, for example, when the number of blinking lights in one set of blinking lights is 6, the number of blinking lights in the frame is preferably at least 11.

このとき、CMOSイメージセンサ80の1回分の走査時間内に光源11からの点滅光が何個撮像されるかは、例えば、実機としての光源11から実機としてのカメラモジュール60に点滅光を入力することで実験的に確認することもできる。即ち、この場合、図4に示すように、光源11からの点滅光を、スマートフォンや通信機能付デジカメ等のコンピュータ装置からなる情報端末装置100のカメラモジュール60により撮影し、それらの点滅光を、レンズ63を介してCMOSイメージセンサ80に入射して実際に撮像して、情報端末装置100のディスプレイ110に表示することにより、その撮像イメージからなる受信データ111に何対の明暗線が含まれるかを目視により確認する。そして、実際に撮像された明暗線の数が11対未満の場合は、11対以上となるように、点滅駆動回路21によるパルス出力の周期を調節して設定することで、前記フレーム内点滅数を前記最小フレーム内点滅数以上の数に設定することができる。   At this time, the number of blinking lights from the light source 11 captured within one scanning time of the CMOS image sensor 80 is determined, for example, by inputting the blinking light from the light source 11 as the actual device to the camera module 60 as the actual device. This can be confirmed experimentally. That is, in this case, as shown in FIG. 4, the blinking light from the light source 11 is photographed by the camera module 60 of the information terminal device 100 including a computer device such as a smartphone or a digital camera with a communication function, and the blinking light is By entering the CMOS image sensor 80 via the lens 63 and actually taking an image, and displaying the image on the display 110 of the information terminal device 100, how many pairs of light and dark lines are included in the reception data 111 composed of the imaged image Is visually checked. When the number of light and dark lines actually captured is less than 11 pairs, the number of blinks in the frame is set by adjusting the period of the pulse output by the blinking drive circuit 21 so that the number becomes 11 or more. Can be set to be equal to or more than the minimum number of blinks in the frame.

<点滅光セット設定手段>
また、上記のように、本実施の形態を含む本発明の可視光通信システムでは、CMOSイメージセンサ80に(所定複数の明暗線からなると共に、各明暗線の幅が所定幅となる)明暗線セットからなるパターンを撮像するために、光源11から対応する点滅光セットの点滅光を出力する(即ち、明暗線セットと同一数の点滅光からなり、かつ、各点滅光の暗線の幅を各明暗線の所定幅と対応させた点滅光を出力する)必要がある。そこで、本実施の形態では、発光部側制御ユニット20は、かかる点滅光セットの設定のために、点滅光セット設定手段23を設けている。詳細には、点滅光設定手段23により点滅光セットを設定していない状態では、点滅駆動回路21から出力される信号(パルス)は、一定周期であり、点滅周期調整手段22による周期調整を受けた後でも、やはり、点滅駆動回路21は、調整後の一定周期の信号を出力している。そこで、点滅光セット設定手段23は、前記点滅駆動回路21から出力される信号を、1周期単位及びパルス単位で変調することにより、点滅駆動回路21からの信号が前記点滅光セットの信号となるように変調する機能を実現するものであり、上記のソフトウエア資源による構成として実現されている。
<Blinking light set setting means>
Further, as described above, in the visible light communication system of the present invention including the present embodiment, the CMOS image sensor 80 includes a light-dark line (consisting of a plurality of predetermined light-dark lines and each light-dark line having a predetermined width). In order to capture a pattern consisting of sets, the flashing light of the corresponding flashing light set is output from the light source 11 (that is, the flashing light of the same number as the light-dark line set and the width of the dark line of each flashing light is set to each It is necessary to output blinking light corresponding to a predetermined width of the light-dark line). Therefore, in the present embodiment, the light emitting unit side control unit 20 is provided with the blinking light set setting means 23 for setting the blinking light set. More specifically, when the blinking light setting unit 23 does not set the blinking light set, the signal (pulse) output from the blinking drive circuit 21 has a constant cycle, and is subjected to the cycle adjustment by the blinking cycle adjusting unit 22. After that, the blinking drive circuit 21 still outputs a signal having a fixed period after the adjustment. Therefore, the blinking light set setting means 23 modulates the signal output from the blinking drive circuit 21 in one cycle unit and pulse unit, so that the signal from the blinking drive circuit 21 becomes the signal of the blinking light set. The modulation function is realized as described above, and is realized as a configuration using the above-mentioned software resources.

例えば、点滅光セットを合計6個の点滅光から構成し、かつ、各点滅光の周期をそれぞれ異なる値に設定する場合、点滅光セット設定手段23は、点滅駆動回路21から一定周期で連続して出力される信号を、6個単位で1セットとして設定し、かつ、各セットの各信号の周期を前記各点滅光の周期と一致する周期に設定し、その設定値を変調回路24に出力する。具体的には、図5に示すように、点滅光セットが、6つの点滅光の消灯部分L1,L2,L3,L4,L5,L6について、それぞれ、固有の(一定幅ではない)消灯間隔W1,W2,W3,W4,W5,W6を有する場合、各消灯部分L1,L2,L3,L4,L5,L6の間隔がそのような消灯間隔W1,W2,W3,W4,W5,W6とするための制御信号(即ち、変調回路24が点滅駆動回路21からの信号をそのような態様に変調するための制御信号)を変調回路24に出力する。即ち、例えば、ある点滅光セットについて、6つの点滅光の最初の2つの消灯部分L1,L2(開始部)の消灯間隔W1,W2が、いずれも中間間隔の対として同一間隔に設定されると共に、次の2つの消灯部分(データ部の最初の2つの消灯部分)L3,L4が、最小間隔及び最大間隔の対として異なる間隔に設定され、更に、次の2つの消灯部分(データ部の最後の2つの消灯部分)L5,L6が、最小間隔及び最大間隔の対として異なる間隔に設定されている場合、点滅駆動回路21からの信号をそのような消灯部分L1〜L6の間隔W1〜W6とそれぞれ一致するように変調するための制御信号を、変調回路24に出力する。   For example, when the blinking light set is composed of a total of six blinking lights and the period of each blinking light is set to a different value, the blinking light set setting means 23 is continuously transmitted from the blinking drive circuit 21 at a constant period. The signals to be output are set as a set of six signals, and the cycle of each signal in each set is set to a cycle that matches the cycle of each blinking light, and the set value is output to the modulation circuit 24. I do. More specifically, as shown in FIG. 5, the blinking light set includes a unique (not constant width) light-off interval W1 for each of the light-off portions L1, L2, L3, L4, L5, and L6 of the six blinking lights. , W2, W3, W4, W5, and W6, the intervals between the light-off portions L1, L2, L3, L4, L5, and L6 are set to such light-off intervals W1, W2, W3, W4, W5, and W6. (That is, a control signal for the modulation circuit 24 to modulate the signal from the blinking drive circuit 21 in such a manner) to the modulation circuit 24. That is, for example, for a certain blinking light set, the light-off intervals W1 and W2 of the first two light-off portions L1 and L2 (start portions) of the six blinking lights are both set to the same interval as a pair of intermediate intervals. , The next two extinguished portions (the first two extinguished portions of the data portion) L3 and L4 are set at different intervals as a pair of the minimum interval and the maximum interval. If the two light-off portions L5 and L6 are set at different intervals as a pair of the minimum interval and the maximum interval, the signal from the blinking drive circuit 21 is transmitted to the intervals W1 to W6 of the light-off portions L1 to L6. A control signal for performing modulation so as to match each other is output to the modulation circuit 24.

<変調回路>
変調回路24は、点滅駆動回路21からの信号を入力すると共に、前記点滅光セット設定手段23からの制御信号を受けて、点滅駆動回路21から一定周期で連続して出力される信号を、6個単位で1セットとして、各セットの各信号の周期を前記各点滅光の周期と一致する周期に変調し、その変調後の信号を出力するものであり、ハードウエア資源による構成として実現されている。例えば、変調回路24は、ある点滅光セットの6つの点滅光の最初の2つの消灯部分L1,L2(開始部)の消灯間隔W1,W2がいずれも中間間隔の対として同一間隔に設定されると共に、次の2つの消灯部分(データ部の最初の2つの消灯部分)L3,L4が最小間隔及び最大間隔の対として異なる間隔に設定され、更に、次の2つの消灯部分(データ部の最後の2つの消灯部分)L5,L6が最小間隔及び最大間隔の対として異なる間隔に設定されている場合、点滅駆動回路21からの信号をそのような消灯部分L1〜L6の間隔W1〜W6とそれぞれ一致するように変調して出力する。
<Modulation circuit>
The modulation circuit 24 receives the signal from the blinking drive circuit 21 and receives the control signal from the blinking light set setting means 23, and converts the signal output continuously from the blinking drive circuit 21 at a constant period into six. As one set in units, the cycle of each signal in each set is modulated to a cycle that matches the cycle of each blinking light, and the modulated signal is output. This is realized as a configuration using hardware resources. I have. For example, in the modulation circuit 24, the light-off intervals W1 and W2 of the first two light-off portions L1 and L2 (start portions) of the six blinking lights of a certain blinking light set are both set to the same interval as a pair of intermediate intervals. At the same time, the next two light-off portions (the first two light-off portions of the data portion) L3 and L4 are set at different intervals as a pair of the minimum interval and the maximum interval. In the case where L5 and L6 are set at different intervals as a pair of the minimum interval and the maximum interval, the signal from the blinking drive circuit 21 is referred to as the intervals W1 to W6 of the off portions L1 to L6, respectively. The output is modulated to match.

<発光駆動回路>
発光駆動回路25は、変調回路24からの信号を入力し、その信号にしたがって光源11を発光駆動するものであり、上記ハードウエア資源により構成されている。詳細には、発光駆動回路25は、変調回路24から前記点滅光セットに対応する信号(6個単位で1セットとされ、各セットの各信号の周期が前記各点滅光の周期と一致する周期に変調された変調後の信号)を受けて、その変調後の信号を増幅等した駆動信号を光源11に出力する。これにより、光源は、発光駆動回路25からの駆動信号にしたがって点滅発光し、例えば、上記のように、6個の点滅光を1セットとした点滅光セットであって、最初の2つの消灯部分L1,L2(開始部)の消灯間隔W1,W2がいずれも中間間隔の対として同一間隔に設定されると共に、次の2つの消灯部分(データ部の最初の2つの消灯部分)L3,L4が最小間隔及び最大間隔の対として異なる間隔に設定され、更に、次の2つの消灯部分(データ部の最後の2つの消灯部分)L5,L6が最小間隔及び最大間隔の対として異なる間隔に設定されている点滅光セットを出力する。
<Light emission drive circuit>
The light emission drive circuit 25 inputs a signal from the modulation circuit 24 and drives the light source 11 to emit light according to the signal, and is constituted by the above hardware resources. In detail, the light emission drive circuit 25 outputs a signal corresponding to the blinking light set from the modulation circuit 24 (one set of six signals, and a cycle of each signal of each set coincides with the cycle of each blinking light). , And outputs a drive signal obtained by amplifying the modulated signal to the light source 11. As a result, the light source emits blinking light in accordance with the drive signal from the light emission drive circuit 25. For example, as described above, the light source is a blinking light set including six sets of blinking lights, and the first two light-off portions The light-off intervals W1 and W2 of L1 and L2 (starting portions) are both set at the same interval as a pair of intermediate intervals, and the next two light-off portions (the first two light-off portions of the data portion) L3 and L4 are Different intervals are set as a pair of the minimum interval and the maximum interval, and further, the next two extinguished portions (last two extinguished portions of the data portion) L5 and L6 are set at different intervals as a pair of the minimum interval and the maximum interval. Output flashing light set.

<入力装置>
入力装置26は、前記点滅周期調整手段22及び前記点滅光セット調整手段24への入力インターフェースを提供するものであり、上記ハードウエア資源による構成として実現されている。詳細には、入力装置は、点滅周期調整手段22に対して、前記点滅周期を調整して調整後の点滅周期を設定するための入力機能を提供すると共に、点滅光セット調整手段24に対して、所望の各種の点滅光セットを設定するための入力機能を提供する。
<Input device>
The input device 26 provides an input interface to the blinking cycle adjusting means 22 and the blinking light set adjusting means 24, and is realized as a configuration using the above hardware resources. In detail, the input device provides an input function for adjusting the blinking cycle and setting the adjusted blinking cycle to the blinking cycle adjusting means 22, and also provides an input function to the blinking light set adjusting means 24. And an input function for setting various desired blinking light sets.

[受光側装置]
次に、本実施の形態の受光側装置(受光部50)について詳細に説明する。まず、前記カメラモジュール60自体は、公知の構成であり、上記のとおり、筐体61の前面開口部に絞り部62を装着し、絞り部62と同軸状にレンズ63を配設している。そして、絞り部62を介してレンズ63から受光されたイメージが、デジタルシグナルプロセッサ(DSP)70の制御により、CMOSイメージセンサ80により撮像されて出力される。なお、図3に示すように、DSP70は、メモリコントロールユニット(MCU)、クロック発生手段、RGB補完処理手段、色再現調整手段、ノイズ除去手段、ホワイトバランス手段、γ補正手段、スケーラ手段、色差信号生成手段、輪郭補正手段、出力インターフェース等の公知の構成を備えている。また、CMOSイメージセンサ80自体も、公知の構成であり、駆動回路によりフォトダイオードアレイを駆動して撮像動作を行い、その撮像データ(アナログデータ)をA−Dコンバータによりデジタルデータへと変換して出力するモノであり、CDS(相関二重サンプリング)によるノイズ低減機能を備えたものもある。
[Receiver device]
Next, the light receiving side device (light receiving unit 50) of the present embodiment will be described in detail. First, the camera module 60 itself has a known configuration. As described above, the aperture 62 is attached to the front opening of the housing 61, and the lens 63 is disposed coaxially with the aperture 62. Then, an image received from the lens 63 through the aperture unit 62 is captured and output by the CMOS image sensor 80 under the control of the digital signal processor (DSP) 70. As shown in FIG. 3, the DSP 70 includes a memory control unit (MCU), a clock generation unit, an RGB complement processing unit, a color reproduction adjustment unit, a noise removal unit, a white balance unit, a gamma correction unit, a scalar unit, a color difference signal, A known configuration such as a generation unit, a contour correction unit, and an output interface is provided. In addition, the CMOS image sensor 80 itself has a known configuration, in which a driving circuit drives a photodiode array to perform an imaging operation, and converts the imaging data (analog data) into digital data by an AD converter. Some are output and have a noise reduction function by CDS (correlated double sampling).

<CMOSイメージセンサによる撮像イメージ>
上記のように、CMOSイメージセンサ80には、光源11からの所定の点滅光セットの点滅光が、上記所定の固有の周期で連続的に入力され、それらの点滅光に対応する周期の明暗線が、ストライプ状のパターンとなる撮像イメージとして記録される。具体的には、図5に示す点滅光セットを入力した場合、CMOSイメージセンサ80には、その点滅光セットに対応して、図6に示すような明暗線セットが撮像される。即ち、図5に示すように、点滅光セットが、6つの点滅光の消灯部分L1,L2,L3,L4,L5,L6について、それぞれ、固有の(一定幅ではない)消灯間隔W1,W2,W3,W4,W5,W6を有する場合、CMOSイメージセンサ80には、これに対応して、6対の明暗線から明暗線セットが撮像される。このとき、この撮像パターンである明暗線セットの暗線S1,S2,S3,S4,S5,S6は、それぞれ、点滅光セットの消灯部分L1,L2,L3,L4,L5,L6に相当し、かつ、各暗線S1,S2,S3,S4,S5,S6の幅W1,W2,W3,W4,W5,W6は、各点滅光の消灯間隔W1,W2,W3,W4,W5,W6に相当する値となり、固有の(一定幅ではない)値となる。
<Image taken by CMOS image sensor>
As described above, the flashing light of the predetermined flashing light set from the light source 11 is continuously input to the CMOS image sensor 80 at the predetermined specific period, and the bright and dark lines of the period corresponding to the flashing light are input to the CMOS image sensor 80. Is recorded as a captured image that forms a stripe pattern. Specifically, when the blinking light set shown in FIG. 5 is input, the CMOS image sensor 80 captures a bright and dark line set as shown in FIG. 6 corresponding to the blinking light set. That is, as shown in FIG. 5, the blinking light set includes unique (not constant width) light-off intervals W1, W2 for the light-off portions L1, L2, L3, L4, L5, and L6 of the six blinking lights. If the CMOS image sensor 80 has W3, W4, W5, and W6, the CMOS image sensor 80 correspondingly picks up an image of a light and dark line set from six pairs of light and dark lines. At this time, the dark lines S1, S2, S3, S4, S5, and S6 of the light and dark line set, which are the imaging patterns, correspond to the light-off portions L1, L2, L3, L4, L5, and L6 of the blinking light set, respectively, and The widths W1, W2, W3, W4, W5, and W6 of the dark lines S1, S2, S3, S4, S5, and S6 are values corresponding to the light-off intervals W1, W2, W3, W4, W5, and W6 of the blinking lights. And a unique (not constant) value.

具体的には、点滅光セットについて、6つの点滅光の最初の2つの消灯部分L1,L2(開始部)の消灯間隔W1,W2が、いずれも中間間隔の対として同一間隔に設定されると共に、次の2つの消灯部分(データ部の最初の2つの消灯部分)L3,L4が、最小間隔及び最大間隔の対として異なる間隔に設定され、更に、次の2つの消灯部分(データ部の最後の2つの消灯部分)L5,L6が、最小間隔及び最大間隔の対として異なる間隔に設定されている場合を例にとる。この場合、CMOSイメージセンサ80に撮像される明暗線セットについては、6本の暗線の最初の2本の暗線S1,S2(開始部)の幅W1,W2は、消灯部L1,L2の消灯間隔W1,W2に対応して、いずれも中間間隔の対として同一間隔となる。また、次の2つの暗線(データ部の最初の2本の暗線)S3,S4の幅W3,W4は、消灯部分L3,L4の消灯間隔W3.W4に対応して、最小間隔及び最大間隔の対として異なる間隔となる。更に、次の2つの暗線(データ部の最後の2本の暗線)S5,S6は、消灯部分L5,L6の消灯間隔W5,W6に対応して、最小間隔及び最大間隔の対として異なる間隔となる。   Specifically, in the blinking light set, the light-off intervals W1 and W2 of the first two light-out portions L1 and L2 (start portions) of the six blinking lights are set to the same interval as a pair of intermediate intervals. , The next two extinguished portions (the first two extinguished portions of the data portion) L3 and L4 are set at different intervals as a pair of the minimum interval and the maximum interval. The two light-off portions L5 and L6 are set at different intervals as a pair of the minimum interval and the maximum interval. In this case, for the set of bright and dark lines imaged by the CMOS image sensor 80, the widths W1 and W2 of the first two dark lines S1 and S2 (starting portion) of the six dark lines are the light-off intervals of the light-off portions L1 and L2. Both have the same interval as a pair of intermediate intervals corresponding to W1 and W2. The widths W3 and W4 of the next two dark lines (the first two dark lines in the data section) S3 and S4 are equal to the light-off intervals W3. In correspondence with W4, the interval is different as a pair of the minimum interval and the maximum interval. Further, the next two dark lines (the last two dark lines in the data section) S5 and S6 correspond to different intervals as a pair of the minimum interval and the maximum interval, corresponding to the extinguishing intervals W5 and W6 of the extinguishing portions L5 and L6. Become.

<撮像タイミングと撮像イメージ(1フレーム12本の暗線撮像の場合)>
ここで、例えば、光源11から、6個の点滅光からなる点滅光セットを連続的に出力して、その点滅光をCMOSイメージセンサ80により1フレーム分撮像した場合、CMOSイメージセンサ80のフレームの走査開始タイミングと光源11からの点滅光セットの開始位置とが同期して一致している場合は、図6及び図7(a)に示すように、フレームの読取り方向(走査方向)における始端から明暗線セットの1本目の暗線が順番に連続して撮像されることになる。そして、例えば、CMOSイメージセンサ80の1フレーム内に12対の明暗線(即ち、12本の暗線)が撮像される場合は、1フレーム内に2セット分の明暗線セットが完全な態様で(即ち、各明暗線セットが6対の明暗線を含む態様で)撮像されることになる。一方、CMOSイメージセンサ80のフレームの走査開始タイミングと光源11からの点滅光セットの開始位置とが同期していない場合は、図7(b)及び図7(c)に示すように、明暗線セットの1本目の暗線が、フレームの読取り方向における途中位置から順番に連続して撮像されることになる。そして、例えば、CMOSイメージセンサ80の1フレーム内に12対の明暗線が撮像される場合は、1フレーム内に2セット分の明暗線セットは完全な態様で撮像されず、1セット分の明暗線セットのみが完全な態様で撮像されることになる。いずれにしても、明暗線セットの1本目の暗線が、フレームの読取り方向におけるどの位置から開始しても、少なくとも、1セット分の明暗線セットが完全な態様で撮像されることになる。
<Imaging timing and imaging image (in the case of imaging 12 dark lines per frame)>
Here, for example, when a blinking light set including six blinking lights is continuously output from the light source 11 and the blinking light is imaged by the CMOS image sensor 80 for one frame, the frame of the CMOS image sensor 80 is When the scanning start timing and the start position of the blinking light set from the light source 11 coincide with each other, as shown in FIG. 6 and FIG. 7A, from the start end in the frame reading direction (scanning direction). The first dark line of the set of light and dark lines is sequentially imaged. Then, for example, when 12 pairs of light and dark lines (that is, 12 dark lines) are imaged in one frame of the CMOS image sensor 80, two sets of light and dark lines are completely set in one frame ( That is, each light-dark line set is imaged (in a mode including six pairs of light-dark lines). On the other hand, when the scan start timing of the frame of the CMOS image sensor 80 and the start position of the blinking light set from the light source 11 are not synchronized, as shown in FIG. 7B and FIG. The first dark line of the set is continuously imaged in order from the middle position in the frame reading direction. For example, when 12 pairs of light and dark lines are imaged in one frame of the CMOS image sensor 80, two sets of light and dark lines are not completely imaged in one frame, and one set of light and dark lines is not imaged. Only the line set will be imaged in a perfect manner. In any case, even if the first dark line of the set of light and dark lines starts from any position in the frame reading direction, at least one set of light and dark lines is imaged in a perfect manner.

<撮像タイミングと撮像イメージ(1フレーム11本の暗線撮像の場合)>
また、図8に示すように、6個の点滅光からなる点滅光セットを連続的に出力する場合において、CMOSイメージセンサ80の1フレーム内に11対の明暗線(即ち、11本の暗線)が撮像されるようにした場合、かかる11対の明暗線は、前記フレーム内最低明暗線数となるため、上記のとおり、CMOSイメージセンサ80における点滅光の入力タイミングと走査タイミングとの時間的ずれに関係なく、少なくとも1組の点滅光セットの全ての点滅光をCMOSイメージセンサに撮像して、1組の明暗線セットを完全な態様で撮像することができる。例えば、光源11から、6個の点滅光からなる点滅光セットを連続的に出力して、その点滅光をCMOSイメージセンサ80により1フレーム分撮像した場合、CMOSイメージセンサ80のフレームの走査開始タイミングと光源11からの点滅光セットの開始位置とが同期して一致している場合は、図8及び図9(a)に示すように、フレームの読取り方向(走査方向)における始端から明暗線セットの1本目の暗線が順番に連続して撮像されることになる。この場合、1フレーム内に1セット分の明暗線セットが完全な態様で撮像されることになる。一方、CMOSイメージセンサ80のフレームの走査開始タイミングと光源11からの点滅光セットの開始位置とが同期していない場合は、図9(b)及び図9(c)に示すように、明暗線セットの1本目の暗線が、フレームの読取り方向における途中位置から順番に連続して撮像されることになる。そして、この場合も、1セット分の明暗線セットが完全な態様で撮像されることになる。いずれにしても、明暗線セットの1本目の暗線が、フレームの読取り方向におけるどの位置から開始しても、少なくとも、1セット分の明暗線セットが完全な態様で撮像されることになる。
<Imaging timing and imaging image (in the case of imaging 11 dark lines per frame)>
Further, as shown in FIG. 8, when a blinking light set including six blinking lights is continuously output, 11 pairs of bright and dark lines (that is, 11 dark lines) are included in one frame of the CMOS image sensor 80. Is taken, the eleven pairs of light and dark lines have the minimum number of light and dark lines in the frame. Therefore, as described above, the time lag between the input timing of the blinking light in the CMOS image sensor 80 and the scanning timing is obtained. Regardless of the above, all the blinking lights of at least one set of blinking lights can be imaged by the CMOS image sensor, and one set of light and dark lines can be imaged in a perfect manner. For example, when the blinking light set including six blinking lights is continuously output from the light source 11 and the blinking light is imaged for one frame by the CMOS image sensor 80, the scanning start timing of the frame of the CMOS image sensor 80 is started. When the start position of the blinking light set from the light source 11 coincides with the start position of the blinking light set from the light source 11, as shown in FIG. 8 and FIG. The first dark line is sequentially and continuously imaged. In this case, one set of bright and dark line sets is captured in a complete mode in one frame. On the other hand, when the scan start timing of the frame of the CMOS image sensor 80 and the start position of the blinking light set from the light source 11 are not synchronized, as shown in FIG. 9B and FIG. The first dark line of the set is continuously imaged in order from an intermediate position in the frame reading direction. Also in this case, one set of light and dark line sets is imaged in a perfect mode. In any case, even if the first dark line of the set of light and dark lines starts from any position in the frame reading direction, at least one set of light and dark lines is imaged in a perfect manner.

<明暗線撮像の機序>
ここで、本実施の形態を含む本発明の可視光通信システムでは、CMOSイメージセンサ80には、光源11自体のイメージやその周囲の風景等のイメージが撮像されるのではなく、上記のとおり、入力された点滅光の点滅周期に対応する明暗線からなるストライプ状のパターン(即ち、所定の点滅光セットを入力し田場合は所定の明暗線セットからなるパターン)のみが撮像される。これは、CMOSイメージセンサの動作機序(特に、蓄積した電化を順次走査方向に走査して読み出すという機序)に起因するものと予想される。即ち、例えば、CMOSイメージセンサと共に固体撮像素子の典型例となるCCDイメージセンサでは、グローバル露光と呼ばれる動作方式を採用し、同一期間中に各画素のフォトダイオードに入射した光(撮影イメージを反映した光)を、信号電荷として各画素のフォトダイオードに同時に蓄積し、全ての画素の電荷を同時に垂直CCDに読み出している。そのため、CCDイメージセンサは、電子シャッターと組み合わせることで、高速に移動する物体(即ち、高速動体)もその瞬間を止めて撮像することができ、撮像イメージに歪みが生じることはない。即ち、CCDイメージセンサの場合、全ての画素の信号電化の蓄積動作は同一期間に行われるため、いわゆる蓄積の同時性が維持される。
<Mechanism of light-dark line imaging>
Here, in the visible light communication system of the present invention including the present embodiment, the CMOS image sensor 80 does not capture an image of the light source 11 itself or an image of the surrounding scenery or the like. Only a stripe pattern composed of light and dark lines corresponding to the blinking cycle of the input blinking light (that is, a pattern consisting of a predetermined set of light and dark lines when a predetermined blinking light set is input and input). This is expected to be due to the operating mechanism of the CMOS image sensor (particularly, the mechanism of sequentially scanning and reading out the stored electrifications in the scanning direction). That is, for example, a CCD image sensor, which is a typical example of a solid-state imaging device together with a CMOS image sensor, employs an operation method called global exposure, and light (which reflects a captured image) incident on a photodiode of each pixel during the same period. Light) is simultaneously stored in the photodiode of each pixel as signal charges, and the charges of all pixels are simultaneously read out to the vertical CCD. Therefore, by combining the CCD image sensor with the electronic shutter, an object that moves at a high speed (that is, a high-speed moving object) can be stopped and captured at that moment, and the captured image is not distorted. That is, in the case of the CCD image sensor, the accumulation operation of signal electrification of all pixels is performed in the same period, so that the so-called accumulation synchronization is maintained.

一方、CMOSイメージセンサの場合、ライン露光又はローリングシャッターと呼ばれる動作方式を採用しており、同一期間中に各画素のフォトダイオードに入射した光(撮影イメージを反映した光)を、信号電荷として各画素のフォトダイオードに蓄積する際に、各画素のフォトダイオードにおける電荷の蓄積期間が走査方向における走査タイミングに依存し、走査線単位でみると、走査する時間差分だけ信号電荷の蓄積期間が走査方向にずれることになる。したがって、CMOSイメージセンサの場合、高速動体を撮像すると、その撮像イメージに走査方向への歪み(いわゆる動体歪み)が生じる。   On the other hand, in the case of a CMOS image sensor, an operation method called a line exposure or a rolling shutter is adopted, and light (light reflecting a captured image) incident on a photodiode of each pixel during the same period is converted into a signal charge. When the charge is accumulated in the photodiode of the pixel, the charge accumulation period in the photodiode of each pixel depends on the scanning timing in the scanning direction. Will be shifted to Therefore, in the case of a CMOS image sensor, when a high-speed moving object is imaged, distortion in the scanning direction (so-called moving object distortion) occurs in the captured image.

本発明の可視光通信システムにおいて、CMOSイメージセンサ80に、所定の点滅光セットを入力した場合に所定の明暗線セットからなるパターンのみが撮像されるのは、このCMOSイメージセンサ80に固有の動作方式によるものと推定される。即ち、CMOSイメージセンサ80の特性(解像度に応じた画素数、特に、走査方向の画素数、及び、1フレームの走査に要する走査時間等)に基づき、CMOSイメージセンサ80に入射した点滅光セットの各点滅光の点滅間隔(点滅周期)に対応する時間間隔の信号電荷が、CMOSイメージセンサ80の走査タイミングに応じて、順次、CMOSイメージセンサ80の走査方向(図6中の読取り方向)における対応画素に蓄積されることで、点滅光の点滅順序にしたがって、各点滅光の点滅周期に対応する固有の幅を有する明暗線が、CMOSイメージセンサ80の走査方向に順次撮像され、最終的に、点滅光セットに対応する明暗線セットのパターンが撮像イメージとして出力されると推定される。   In the visible light communication system of the present invention, when a predetermined blinking light set is input to the CMOS image sensor 80, only the pattern consisting of the predetermined light / dark line set is imaged. It is presumed that it depends on the method. That is, based on the characteristics of the CMOS image sensor 80 (the number of pixels corresponding to the resolution, particularly the number of pixels in the scanning direction, the scanning time required for scanning one frame, and the like), the blinking light set incident on the CMOS image sensor 80 is determined. The signal charges at time intervals corresponding to the blinking interval (blinking cycle) of each blinking light sequentially correspond to the scanning direction of the CMOS image sensor 80 (the reading direction in FIG. 6) in accordance with the scanning timing of the CMOS image sensor 80. By being accumulated in the pixels, light and dark lines having a specific width corresponding to the blinking cycle of each blinking light are sequentially imaged in the scanning direction of the CMOS image sensor 80 according to the blinking order of the blinking light, and finally, It is estimated that the pattern of the light and dark line set corresponding to the blinking light set is output as a captured image.

[制御符号の具体例]
ここで、CMOSイメージセンサ80に撮像された明暗線セットを所定の制御用データ又は制御符号として利用する場合の具体例について説明する。まず、この場合、1個の点滅光がCMOSイメージセンサ80で占める画素数について算出し、その画素数に基づき、点滅光の周期(特に、消灯部分の消灯間隔の値)を設定する。詳細には、まず、点滅光セットについて、例えば、光源11としてLEDを使用し、(必要に応じて点滅周期調整手段22により周期を調整した)点滅駆動回路21によって、2000マイクロ秒で1周期となる波長の点滅光又はパルス光を光源11から出力する場合において、デューティー比を50とすると、各パルス光のオン時間間隔は1000マイクロ秒となり、オフ時間間隔は1000マイクロ秒となる。そして、この周期の点滅光を光源11から出力した場合において、CMOSイメージセンサ80に11対の明暗線が撮像される場合、CMOSイメージセンサの解像度に基づき、1対の明暗線が占める画素数を算出できる。即ち、この場合において、例えば、CMOSイメージセンサの走査方向の画素数が1080ピクセルである場合、1フレームの撮像イメージにおいて1対の明暗線が占める走査方向の画素数(ピクセル数)は、1080/11=約98(1対の明暗線当たり約98ピクセル)となる。即ち、2000マイクロ秒/周期の点滅光は、CMOSイメージセンサ80において約98ピクセル分の幅を有することになり、その暗線部分は、約49ピクセル(約98/2=約49)分の幅を有することになる。
[Specific example of control code]
Here, a specific example in the case where a set of light and dark lines captured by the CMOS image sensor 80 is used as predetermined control data or a control code will be described. First, in this case, the number of pixels that one blinking light occupies in the CMOS image sensor 80 is calculated, and the period of the blinking light (particularly, the value of the light-off interval of the light-off portion) is set based on the number of pixels. More specifically, first, for the blinking light set, for example, an LED is used as the light source 11 and the blinking drive circuit 21 (the cycle of which is adjusted by the blinking cycle adjusting means 22 as necessary) sets one cycle in 2000 microseconds. When the blinking light or the pulsed light having a certain wavelength is output from the light source 11, if the duty ratio is 50, the on-time interval of each pulsed light is 1000 microseconds and the off-time interval is 1000 microseconds. When 11 pairs of light and dark lines are captured by the CMOS image sensor 80 when the flashing light of this cycle is output from the light source 11, the number of pixels occupied by the pair of light and dark lines is determined based on the resolution of the CMOS image sensor. Can be calculated. That is, in this case, for example, when the number of pixels in the scanning direction of the CMOS image sensor is 1080 pixels, the number of pixels (pixel number) in the scanning direction occupied by a pair of light and dark lines in one frame of an image is 1080 / pixel. 11 = about 98 (about 98 pixels per pair of light and dark lines). That is, the blinking light of 2000 microseconds / period has a width of about 98 pixels in the CMOS image sensor 80, and the dark line portion has a width of about 49 pixels (about 98/2 = about 49). Will have.

そこで、本実施の形態の可視光通信システムでは、点滅光の消灯部分の消灯間隔(1周期のオフ部分の時間間隔)を所定の調整単位で増減調整することで、結果的に、CMOSイメージセンサ80に撮像される明暗線の暗線の幅を調整し、その調整幅の値をID化することで、制御用データ又は制御符号として使用する。具体的には、点滅光の消灯部分の消灯間隔の調整単位は、1単位100マイクロ秒とする(即ち、消灯部分の時間間隔である1000マイクロ秒の10分の1の間隔とする)。この場合、点滅光の消灯部分の時間間隔について1単位分の増減調整を行うと、対応する明暗線の暗線の幅は、CMOSイメージセンサ80の約5ピクセル分の幅となる(約49/10=約5)。そして、上記のように、点滅光セットを6個の点滅光から構成し、明暗線セットに6本の暗線S1〜S6を含むようにした場合において、各点滅光の消灯部分L1〜L6の消灯間隔W1〜W6を、基準値としての1000マイクロ秒に対して100マイクロ秒単位で増減調整すると、各暗線S1〜S6の幅W1〜W6は、基準値である約49ピクセルに対して約5ピクセル単位で増減調整される。なお、各明線の幅は、増減調整されず、(点滅光の点灯部分の時間間隔の設定値である1000マイクロ秒に対応する)約49ピクセル分の同一幅となる。また、点滅光の消灯部分の消灯間隔の増減調整は、例えば、発光部側制御ユニット20を構成するマイコン等のdelay関数(又は、delayMicroseconds関数)を使用して実現することができる。   Therefore, in the visible light communication system of the present embodiment, the CMOS image sensor is consequently adjusted by increasing or decreasing the light-off interval (the time interval of one cycle of the off-portion) of the light-off portion of the blinking light in a predetermined adjustment unit. By adjusting the width of the dark line of the light and dark lines imaged at 80 and converting the value of the adjusted width into an ID, it is used as control data or a control code. Specifically, the adjustment unit of the light-off interval of the light-off portion of the blinking light is 100 microseconds per unit (that is, one-tenth of the time interval of the light-off portion, 1000 microseconds). In this case, if the increase or decrease of the time interval of the portion where the blinking light is turned off is increased or decreased by one unit, the width of the dark line of the corresponding light and dark line becomes the width of about 5 pixels of the CMOS image sensor 80 (about 49/10). = About 5). Then, as described above, when the blinking light set is composed of six blinking lights, and the dark and dark line set includes six dark lines S1 to S6, the light-off portions L1 to L6 of the blinking lights are turned off. When the intervals W1 to W6 are increased or decreased in units of 100 microseconds with respect to 1000 microseconds as the reference value, the width W1 to W6 of each dark line S1 to S6 becomes about 5 pixels with respect to the reference value of about 49 pixels. It is increased or decreased in units. The width of each bright line is not adjusted to be increased or decreased, and has the same width of about 49 pixels (corresponding to 1000 microseconds, which is the set value of the time interval of the lighting portion of the blinking light). Further, the increase / decrease adjustment of the turn-off interval of the turn-off portion of the blinking light can be realized using, for example, a delay function (or a delay Microseconds function) of a microcomputer or the like constituting the light emitting unit side control unit 20.

<制御符号の具体例1>
この場合について更に詳細に説明すると、まず、6個の点滅光の消灯部分L1〜L6について、以下のように消灯間隔W1〜W6を前記調整単位で増減調整することができる。
消灯部分L1(プリコード)の間隔W1:0(ゼロ調整、即ち、増減なし)
消灯部分L2(プリコード)の間隔W2:0(ゼロ調整、即ち、増減なし)
消灯部分L3(コード)の間隔W3:−100(100マイクロ秒減少)
消灯部分L4(コード)の間隔W4:100(100マイクロ秒増加)
消灯部分L5(コード)の間隔W5:−400(400マイクロ秒減少)
消灯部分L6(コード)の間隔W6:400(400マイクロ秒増加)
<Specific Example 1 of Control Code>
This case will be described in more detail. First, for the light-off portions L1 to L6 of the six blinking lights, the light-off intervals W1 to W6 can be increased or decreased in the above-described adjustment units as described below.
Interval W1: 0 between light-off portions L1 (precode) (zero adjustment, ie, no increase or decrease)
Interval W2: 0 of light-off portion L2 (precode) (zero adjustment, ie, no increase or decrease)
Light-off portion L3 (code) interval W3: -100 (reduced by 100 microseconds)
Light-out portion L4 (code) interval W4: 100 (100 microsecond increase)
Light-off portion L5 (code) interval W5: -400 (reduced by 400 microseconds)
Light-out portion L6 (code) interval W6: 400 (increase by 400 microseconds)

したがって、制御符号の具体例1の場合、6本の明暗線における暗線S1〜S6の幅W1〜W6は、上記点滅光の消灯部分L1〜L6の幅W1〜W6の増減に対応する値となる。即ち、図10に示すように、プリコードとなる暗線S1及び暗線S2の幅は、共に、(点滅光の暗線部分の基準値である100マイクロ秒に対応する)基準値である約5ピクセル分を1単位として、10単位分の幅となる。また、コードとなる暗線S3及び暗線S4の幅は、基準値である約5ピクセル分を1単位として、それぞれ、9単位分の幅及び11単位分の幅となる。また、コードとなる暗線S5及び暗線S6の幅は、基準値である約5ピクセル分を1単位として、それぞれ、6単位分の幅及び14単位分の幅となる。なお、図10では、説明の便宜上、(実際は図9等に示すように走査方向に連続する)暗線S1〜S6を、暗線単位で分割して描画し、かつ、暗線S1〜S6を基準値である約5ピクセル分を1単位として分割するよう描画しているが、実際は、単位間の直線が表れるものではない。   Therefore, in the case of the specific example 1 of the control code, the widths W1 to W6 of the dark lines S1 to S6 of the six light and dark lines are values corresponding to the increase and decrease of the widths W1 to W6 of the light-off portions L1 to L6 of the blinking light. . That is, as shown in FIG. 10, the widths of the dark lines S1 and S2 serving as precodes are both about 5 pixels which is the reference value (corresponding to 100 μs which is the reference value of the dark line portion of the blinking light). Is a unit, and the width is 10 units. The widths of the dark lines S3 and S4, which are codes, are 9 units and 11 units, respectively, with the reference value of about 5 pixels as one unit. Further, the widths of the dark lines S5 and S6 serving as codes are 6 units and 14 units, respectively, with the reference value of about 5 pixels as one unit. In FIG. 10, for convenience of explanation, the dark lines S1 to S6 (actually continuous in the scanning direction as shown in FIG. 9 and the like) are divided and drawn in units of dark lines, and the dark lines S1 to S6 are used as reference values. Although drawing is performed so as to divide a certain approximately five pixels into one unit, in reality, a straight line between the units does not appear.

<制御符号の具体例2>
また、6個の点滅光の消灯部分L1〜L6について、以下のように消灯間隔W1〜W6を前記調整単位で増減調整することもできる。
消灯部分L1(プリコード)の間隔W1:0(ゼロ調整、即ち、増減なし)
消灯部分L2(プリコード)の間隔W2:0(ゼロ調整、即ち、増減なし)
消灯部分L3(コード)の間隔W3:−400(400マイクロ秒減少)
消灯部分L4(コード)の間隔W4:400(400マイクロ秒増加)
消灯部分L5(コード)の間隔W5:−200(200マイクロ秒減少)
消灯部分L6(コード)の間隔W6:200(200マイクロ秒増加)
<Specific Example 2 of Control Code>
Further, with respect to the extinguished portions L1 to L6 of the six blinking lights, the extinguishing intervals W1 to W6 can be increased or decreased in the above-described adjustment units as follows.
Interval W1: 0 between light-off portions L1 (precode) (zero adjustment, ie, no increase or decrease)
Interval W2: 0 of light-off portion L2 (precode) (zero adjustment, ie, no increase or decrease)
Light-off portion L3 (code) interval W3: -400 (reduced by 400 microseconds)
Light-out portion L4 (code) interval W4: 400 (increase by 400 microseconds)
Light-off portion L5 (code) interval W5: -200 (reduced by 200 microseconds)
Light-out portion L6 (code) interval W6: 200 (increase by 200 microseconds)

<制御符号の具体例3>
また、6個の点滅光の消灯部分L1〜L6について、以下のように消灯間隔W1〜W6を前記調整単位で増減調整することもできる。
消灯部分L1(プリコード)の間隔W1:0(ゼロ調整、即ち、増減なし)
消灯部分L2(プリコード)の間隔W2:0(ゼロ調整、即ち、増減なし)
消灯部分L3(コード)の間隔W3:400(400マイクロ秒増加)
消灯部分L4(コード)の間隔W4:−400(400マイクロ秒減少)
消灯部分L5(コード)の間隔W5:200(200マイクロ秒増加)
消灯部分L6(コード)の間隔W6:−200(200マイクロ秒減少)
<Specific Example 3 of Control Code>
Further, with respect to the extinguished portions L1 to L6 of the six blinking lights, the extinguishing intervals W1 to W6 can be increased or decreased in the above-described adjustment units as follows.
Interval W1: 0 between light-off portions L1 (precode) (zero adjustment, ie, no increase or decrease)
Interval W2: 0 of light-off portion L2 (precode) (zero adjustment, ie, no increase or decrease)
Light-out portion L3 (code) interval W3: 400 (increase by 400 microseconds)
Light-off portion L4 (code) interval W4: -400 (reduced by 400 microseconds)
Light-off portion L5 (code) interval W5: 200 (increase by 200 microseconds)
Light-off portion L6 (code) interval W6: -200 (reduced by 200 microseconds)

また、上記点滅光セットによりCMOSイメージセンサ80に撮像される明暗線セットの例を、図11(a)〜(c)に示す。図11(a)の例は、点滅光のデューティー比を50とした場合の例を示す。即ち、図11(a)の例では、基準値と同一幅となる暗線S1,S2の幅W1,W2が、(全て同一幅となる)明線の幅と同一となっている。また、図11(b)の例は、点滅光のデューティー比を50より小さくとした場合の例を示す。即ち、図11(b)の例では、デューティー比の減少にしたがって暗線の幅の基準値が相対的に小さくなり、かつ、明線の幅の設定値が相対的に大きくなるため、暗線S1,S2の幅W1,W2が、明線の幅よりも小さくなっている。また、図11(c)の例は、点滅光のデューティー比を50より小さくとした場合の例を示す。即ち、図11(c)の例でも、デューティー比の減少にしたがって暗線の幅の基準値が相対的に小さくなり、かつ、明線の幅の設定値が相対的に大きくなるため、暗線S1,S2の幅W1,W2が、明線の幅よりも小さくなっている。このように、点滅光のデューティー比を50以外の値として点滅光セットを構成することもできるが、いずれの場合も、上記制御符号の具体例のように、点滅光の消灯間隔を増減調整して明暗線の暗線の幅を増減調整することで、所望の制御用データ又は制御符号を得ることができる。   FIGS. 11A to 11C show examples of light and dark line sets captured by the CMOS image sensor 80 using the blinking light set. The example of FIG. 11A shows an example in which the duty ratio of the blinking light is 50. That is, in the example of FIG. 11A, the widths W1 and W2 of the dark lines S1 and S2 having the same width as the reference value are the same as the widths of the bright lines (all having the same width). FIG. 11B shows an example in which the duty ratio of the blinking light is set to be smaller than 50. That is, in the example of FIG. 11B, the reference value of the width of the dark line becomes relatively small as the duty ratio decreases, and the set value of the width of the bright line becomes relatively large. The widths W1 and W2 of S2 are smaller than the width of the bright line. FIG. 11C shows an example in which the duty ratio of the blinking light is set to be smaller than 50. That is, also in the example of FIG. 11C, the reference value of the width of the dark line becomes relatively small and the set value of the width of the bright line becomes relatively large as the duty ratio decreases. The widths W1 and W2 of S2 are smaller than the width of the bright line. As described above, the blinking light set can be configured by setting the duty ratio of the blinking light to a value other than 50. In any case, as in the specific example of the control code, the light-off interval of the blinking light is adjusted by increasing or decreasing. The desired control data or control code can be obtained by increasing or decreasing the width of the dark line of the bright and dark lines.

<受光部側制御ユニット>
次に、受光部側制御ユニット90は、上記のように所定の明暗線セットからなる撮像イメージを出力するCMOSイメージセンサ80に接続され、CMOSイメージセンサ80の出力を受けて所定の制御動作を行うものであり、本実施の形態の受光側装置の特徴的な構成である。受光部側制御ユニット90は、ハードウエア資源による構成としての各種のマイコン(マイクロコンピュータ)に対して、後述するような所定の機能を当該マイコンに実現させる(各種プログラム等の)ソフトウエア資源による構成を組み合わせて構成することができる。詳細には、受光部側制御ユニット90は、パターン認識手段91、マッチング手段92、及び、指令手段93を備える構成とすることができる。
<Light receiving unit side control unit>
Next, the light-receiving-unit-side control unit 90 is connected to the CMOS image sensor 80 that outputs a captured image including a predetermined set of light and dark lines as described above, and performs a predetermined control operation in response to the output of the CMOS image sensor 80. This is a characteristic configuration of the light receiving side device of the present embodiment. The light-receiving unit-side control unit 90 is configured by software resources (such as various programs) for causing various microcomputers (microcomputers) configured as hardware resources to realize predetermined functions as described below. Can be combined. More specifically, the light receiving unit side control unit 90 can be configured to include a pattern recognition unit 91, a matching unit 92, and a command unit 93.

<パターン認識手段>
パターン認識手段91は、CMOSイメージセンサ80の出力した撮像イメージを入力して、その撮像イメージのパターンを認識するものであり、例えば、上記ソフトウエア資源による構成として実現することができる。即ち、パターン認識手段91は、CMOSイメージセンサ80の出力した明暗線セットのパターンにおいて走査方向(読取り方向)に連続する各明暗線(制御符号として暗線を使用した場合は各暗線)と、各明暗線の幅(制御符号として暗線を使用した場合は暗線の幅)とを認識し、その認識結果に応じた制御信号を出力する。例えば、上記制御符号の具体例1(図10参照)のように制御符号を校正した場合、パターン認識手段91は、まず、プリコードとしての暗線S1,S2を、その幅W1,W2により認識し(即ち、暗線S1,S2の幅W1,W2が基準値と同一値であることを認識し)、これに続くコードである一対の暗線S3,S4及び一対の暗線S5,S6を認識する。このとき、パターン認識手段91は、一対の暗線S3,S4の幅W3,W4の基準値からの増減幅、及び、一対の暗線S5,S6の幅W5,W6の基準値からの増減幅を認識し、それらの増減幅をID情報として利用する。具体的には、前記制御符号の具体例1では、パターン認識手段91は、図10に示すように、暗線S1〜S6の幅W1〜W6の基準値からの増減幅が、「0_0_−100_100_−400_400」からなる配列であると認識し、この配列(特に、コード部分の配列である「−100_100_−400_400」)を一意のコード情報又は識別子(即ち、ID)として、対応する信号を出力する。
<Pattern recognition means>
The pattern recognizing unit 91 receives the captured image output from the CMOS image sensor 80 and recognizes the pattern of the captured image, and can be realized, for example, as a configuration using the above software resources. That is, the pattern recognizing unit 91 outputs each light-dark line continuous in the scanning direction (reading direction) (each dark line when a dark line is used as a control code) in the light-dark line set pattern output from the CMOS image sensor 80, and each light-dark line. The line width (the width of the dark line when a dark line is used as the control code) is recognized, and a control signal corresponding to the recognition result is output. For example, when the control code is calibrated as in the specific example 1 of the control code (see FIG. 10), the pattern recognition unit 91 first recognizes the dark lines S1 and S2 as the precode by their widths W1 and W2. (That is, it is recognized that the widths W1 and W2 of the dark lines S1 and S2 are the same value as the reference value.) Then, a pair of dark lines S3 and S4 and a pair of dark lines S5 and S6, which are codes subsequent thereto, are recognized. At this time, the pattern recognizing unit 91 recognizes the width of increase and decrease of the widths W3 and W4 of the pair of dark lines S3 and S4 from the reference value and the width of increase and decrease of the widths W5 and W6 of the pair of dark lines S5 and S6 from the reference value. Then, those increase / decrease ranges are used as ID information. Specifically, in the specific example 1 of the control code, as shown in FIG. 10, the pattern recognition unit 91 sets the widths W1 to W6 of the dark lines S1 to S6 from the reference value to “0_0_−100_100_−”. It recognizes that it is an array consisting of "400_400", and outputs a corresponding signal using this array (in particular, "-100_100_-400_400" which is an array of code portions) as unique code information or an identifier (ie, ID).

<マッチング手段>
マッチング手段92は、パターン認識手段91からの信号を入力し、パターン認識手段91の認識結果を、所定の処理とマッチングするものであり、例えば、上記ソフトウエア資源による構成として実現することができる。詳細には、前記明暗線セットのパターンに応じた特定の処理をコンピュータ装置に実行させるための特定の指令情報が、異なる明暗線セットごとに対応付けて用意されている(例えば、データベースに格納されている)。よって、マッチング手段92は、パターン認識手段91から入力された(明暗線セットの制御符号の内容に対応する)一意のコード情報を表す信号に基づき、CMOSイメージセンサ80に撮像された明暗線セットのパターンを、特定の指令情報とマッチングし、そのマッチング情報に対応する信号を出力する。
<Matching means>
The matching unit 92 receives a signal from the pattern recognition unit 91 and matches the recognition result of the pattern recognition unit 91 with a predetermined process, and can be realized, for example, as a configuration using the above software resources. Specifically, specific command information for causing the computer device to execute a specific process according to the pattern of the light-dark line set is prepared in association with each different light-dark line set (for example, stored in a database). ing). Therefore, the matching unit 92 determines the brightness and dark line set captured by the CMOS image sensor 80 based on the signal representing the unique code information (corresponding to the content of the control code of the brightness and dark line set) input from the pattern recognition unit 91. The pattern is matched with specific command information, and a signal corresponding to the matching information is output.

<指令手段>
指令手段93は、マッチング手段92からの信号を入力し、その信号に対応する指令情報を出力するものであり、例えば、上記ソフトウエア資源による構成として実現することができる。例えば、指令手段93は、マッチング手段92からのマッチング情報に基づき、コンピュータ装置に特定の処理を実行させるための指令情報を出力することができ、この指令情報に応答して、コンピュータ装置が、例えば、その出力装置94に、所定の情報(映像、画像、音声等)を出力するよう構成することができる。
<Instruction means>
The command means 93 is for inputting a signal from the matching means 92 and outputting command information corresponding to the signal, and can be realized, for example, as a configuration using the above software resources. For example, the command unit 93 can output command information for causing the computer device to execute a specific process based on the matching information from the matching unit 92. In response to the command information, the computer device The output device 94 may be configured to output predetermined information (video, image, audio, etc.).

[使用方法]
本実施の形態の可視光通信システムは、例えば、以下のようにして使用することができる。即ち、図4に示すように、まず、カメラ装置(例えば、情報端末装置100のカメラモジュール60)をオンする一方で、光源11から所定の点滅光セットからなる点滅光を出力し、この点滅光をカメラモジュール60のレンズ63を介して撮影し、CMOSイメージセンサ80の1フレームに撮像する。このときの撮像は、静止画により行ってもよく、動画により行ってもよい。動画による撮像とすると、制御符号の情報量を多く確保することができる。いずれにしても、1フレーム内に少なくとも1つの明暗線セットが過不足なく撮像されればよい。そして、CMOSイメージセンサ80の撮像パターンをパターン認識手段91により認識してID等の制御符号に変換し、マッチング手段92によりその認識結果に応じたマッチング情報を出力して、指令手段93によりそのマッチング情報に対応する指令をコンピュータ装置に出力する。なお、パターン認識手段91により認識した明暗線セットの撮像パターンは、情報端末装置100のディスプレイ110等にそのまま表示してもよいが、表示しないよう構成することもできる(即ち、プログラムの仕様により任意の設定とすることができる)。
[how to use]
The visible light communication system of the present embodiment can be used, for example, as follows. That is, as shown in FIG. 4, first, while turning on the camera device (for example, the camera module 60 of the information terminal device 100), the light source 11 outputs blinking light composed of a predetermined blinking light set, Is captured through the lens 63 of the camera module 60, and is captured in one frame of the CMOS image sensor 80. The imaging at this time may be performed using a still image or a moving image. In the case of imaging with a moving image, a large amount of control code information can be secured. In any case, it is sufficient that at least one set of light and dark lines is imaged in one frame without excess or deficiency. The imaging pattern of the CMOS image sensor 80 is recognized by the pattern recognition means 91 and converted into a control code such as an ID, and matching information corresponding to the recognition result is output by the matching means 92, and the matching information is output by the command means 93. An instruction corresponding to the information is output to a computer device. Note that the imaging pattern of the light and dark line set recognized by the pattern recognition means 91 may be displayed as it is on the display 110 or the like of the information terminal device 100, but may be configured not to be displayed (that is, arbitrary according to the program specifications). Settings).

[作用効果]
上記実施の形態を含む本発明の可視光通信装置によれば、光源11の明るさ(即ち、輝度)の変化によってもCMOSイメージセンサ80における撮像イメージのパターン(明暗線の周期や幅)は影響されず、光源11からの点滅光セットに常に対応する明暗線セットを得ることができるため、安定した動作が可能となる。また、光源11からの距離に関係なく(即ち、光源11からカメラモジュール60等のカメラ装置までの距離が遠くても近くても)、撮影によりCMOSイメージセンサ80に撮像される明暗線セットの明暗線の幅は変わることがなく、常に、点滅光セットの点滅間隔に対応する幅となる。即ち、明暗線の(幅調製される)暗線の幅は、点滅光の消灯部分の時間間隔にのみ依存して決定される。更に、カメラモジュール60等のカメラ装置を光源11に対して傾斜させて撮影しても、CMOSイメージセンサに撮像される明暗線セットの明暗線が傾斜することはなく、常に、走査方向に直交する直線状となる。よって、このようなバイに対処するための補正機能が不要となり、カメラ装置をどの角度として撮影しても所期の良好な結果を得ることができる。また、光源11は、点滅光を出力するが、この点滅動作は(上記のように、周期2000マイクロ秒等の)高速点滅動作となるため、通常の点灯状態と同様に視認され、点滅光にIDが含まれているにもかかわらず、人には認識できないものとなっている。また、従来の可視光通信は、「0」及び「1」のビット情報からなるタイムラインの信号を読み取るが、本発明は、撮像イメージをストライプ状の縞模様としてID化すると共に、CMOSイメージセンサの1フレームを撮像する間に一つのIDが含まれる構成であるため、非常に高速動作が可能となる。なお、この動作速度は、使用するカメラ装置やスマートフォン等に実装したカメラモジュールのCMOSイメージセンサの性能に応じた1秒間のフレーム数に依存し、CMOSイメージセンサの精度やリフレッシュレートに依存する。
[Effects]
According to the visible light communication device of the present invention including the above-described embodiment, the change in the brightness (that is, the brightness) of the light source 11 affects the pattern of the captured image in the CMOS image sensor 80 (the period and width of the light and dark lines). Instead, a set of light and dark lines that always corresponds to the set of blinking light from the light source 11 can be obtained, so that stable operation can be achieved. Further, regardless of the distance from the light source 11 (that is, whether the distance from the light source 11 to the camera device such as the camera module 60 is long or short), the brightness of the set of light and dark lines captured by the CMOS image sensor 80 by photographing. The width of the line does not change and always has a width corresponding to the blinking interval of the blinking light set. That is, the width of the dark line (the width is adjusted) of the light and dark line is determined only depending on the time interval of the portion where the blinking light is turned off. Further, even when a camera device such as the camera module 60 is tilted with respect to the light source 11, the light and dark lines of the light and dark line set captured by the CMOS image sensor do not tilt and are always orthogonal to the scanning direction. It becomes straight. Therefore, a correction function for coping with such a bye is not required, and a desired good result can be obtained regardless of the angle at which the camera device is photographed. Further, the light source 11 outputs blinking light. Since this blinking operation is a high-speed blinking operation (with a period of 2000 microseconds or the like as described above), the light source 11 is visually recognized in the same manner as a normal lighting state. Despite the inclusion of the ID, it is unrecognizable to humans. In the conventional visible light communication, a signal on a time line including bit information of “0” and “1” is read. However, the present invention converts a captured image into an ID as a striped stripe pattern and a CMOS image sensor. Since one ID is included while one frame is imaged, very high-speed operation is possible. The operation speed depends on the number of frames per second according to the performance of the CMOS image sensor of the camera module mounted on the camera device or smartphone to be used, and depends on the accuracy and refresh rate of the CMOS image sensor.

[撮像パターンの使用例]
上記実施の形態を含む本発明の可視光通信装置によれば、明暗線セットからなる撮像パターンの制御符号は、IDとして使用することができるが、制御符号をコード化して文字データとしたり、制御符号をURLを表す情報として使用することもでき、或いは、エラー訂正のための符号として使用することもできる。URLとして実現する場合、そのURLを送信して対応するウエブページを取得する等の処理をコンピュータ装置に実行させることもできる。なお、制御符号をID化する場合は、明暗線セットは、上記のようにCMOSイメージセンサ80の1フレーム内に収まる情報量ですむが、文字コード化する場合、2〜3フレーム分の情報量が必要となる。また、URL化する場合も、同様に、2〜3フレーム分の情報量が必要となる。
[Example of using imaging pattern]
According to the visible light communication device of the present invention including the above-described embodiment, the control code of the imaging pattern including the light and dark line set can be used as an ID. The code can be used as information representing the URL, or can be used as a code for error correction. In the case where the URL is realized, the computer device may execute a process such as transmitting the URL and acquiring a corresponding web page. When the control codes are converted into IDs, the bright and dark line sets need to be the amount of information that fits within one frame of the CMOS image sensor 80 as described above. Is required. Also, in the case of URL conversion, an information amount of 2 to 3 frames is similarly required.

[本発明の範囲]
[別例1(RGB出力による情報量増大)]
上記実施の形態の可視光通信システムで説明した構成以外に、本発明の可視光通信システムは、各部の構成を変更して実施することもできる。例えば、上記実施の形態では、光源11から白色光等の同一色又は単色の点滅光を出力し、この点滅光からなる点滅光セットの各消灯部分の消灯間隔を増減調整することで、CMOSイメージセンサ80に撮像する明暗線セットの各暗線の幅を増減調整して符号化している。即ち、明暗線セットをモノクロ情報として撮像している。しかし、光源11からRGB(赤、緑、青)の3原色の光からなる点滅光を選択的に出力し、この3原色の点滅光からなる点滅光セットの各消灯部分の消灯間隔を増減調整することで、CMOSイメージセンサ80に撮像する明暗線セットの各暗線の幅を増減調整して符号化することもできる。この場合、明暗線セットの明線の色を認識することにより、明暗線セットによる符号化の際の情報量を、モノクロ情報として撮像する場合の情報量の3乗の情報量を確保することができる。更に、RGBの3原色以外の色を使用して、色数を増やすことも可能である。ただし、色数を増やすと、それに応じてエラーが増加するので、エラーが増加しないよう、色数を所定数以下に抑える必要がある。また、CMOSイメージセンサの1フレーム分のスペースの制約もあるため、色数を大きく増加することは好ましくない。
[Scope of the present invention]
[Another Example 1 (Increase in Information Amount by RGB Output)]
In addition to the configuration described in the visible light communication system of the above embodiment, the visible light communication system of the present invention can be implemented by changing the configuration of each unit. For example, in the above-described embodiment, the flashing light of the same color or a single color such as white light is output from the light source 11, and the turning-off interval of each turning-off portion of the flashing light set including the flashing light is adjusted to increase or decrease the CMOS image. The width of each dark line of the set of bright and dark lines captured by the sensor 80 is adjusted by increasing or decreasing the width. That is, the light and dark line set is imaged as monochrome information. However, the light source 11 selectively outputs blinking light composed of light of three primary colors of RGB (red, green, and blue), and increases or decreases the light-off interval of each light-out portion of the blinking light set composed of the light of three primary colors. By doing so, the width of each dark line of the set of bright and dark lines captured by the CMOS image sensor 80 can be adjusted by increasing or decreasing the width. In this case, by recognizing the color of the bright line in the light and dark line set, the information amount at the time of encoding by the light and dark line set can be secured to the third power of the information amount when imaged as monochrome information. it can. Furthermore, it is also possible to increase the number of colors by using colors other than the three primary colors of RGB. However, if the number of colors is increased, the number of errors increases accordingly. Therefore, it is necessary to suppress the number of colors to a predetermined number or less so that the number of errors does not increase. Further, since there is a space limitation for one frame of the CMOS image sensor, it is not preferable to greatly increase the number of colors.

[別例2(明暗線セット)]
また、上記実施の形態では、明暗線セットの最初の2本の暗線を同一幅の暗線としてプリコードとして使用しているが、プリコードとしては、他の本数及び/又は幅(例えば、異なる幅)の暗線を使用することもできる。また、上記実施の形態では、明暗線セットは、6本の暗線からなる構成としているが、これを他の本数からなる構成とすることもできる。更に、明暗線セットの明線の幅を認識して符号化する構成としたり、明暗線セットの明線の幅及び暗線の幅を共に認識して符号化する構成とすることも理論上は可能である。
[Another example 2 (light and dark line set)]
In the above embodiment, the first two dark lines of the set of light and dark lines are used as precodes as dark lines having the same width. However, as the precode, other numbers and / or widths (for example, different widths) are used. ) Can also be used. Further, in the above-described embodiment, the light-dark line set has a configuration including six dark lines, but may have a configuration including another number. Further, it is theoretically possible to adopt a configuration in which the width of the bright line in the set of bright and dark lines is recognized and encoded, or a configuration in which the width of the bright line and the width of the dark line in the bright and dark line set are both recognized and encoded. It is.

[別例3(左右一対の構成)]
また、上記実施の形態を含む本発明の可視光通信装置において、左右一対の光源を用意すると共に、左側の光源からの点滅光セットを音声出力用とし、右側の光源からの点滅光セットを映像(動画)出力用とすることもできる。
[Another example 3 (a pair of right and left)]
In the visible light communication device of the present invention including the above-described embodiment, a pair of right and left light sources is prepared, a blinking light set from the left light source is used for audio output, and a blinking light set from the right light source is used as an image. (Movie) output can also be used.

[別例4(CMOSイメージセンサ)]
まず、本発明の可視光通信システムの全体構成において、前記受光素子としての撮像素子としてCMOSイメージセンサを使用する場合、CMOSイメージセンサとしては、直線状の構成のものに加え、直線状でない構成のもの(例えば、曲線状の構成のもの等、非直線形状の構成のもの)も理論上は製作可能であり、将来的に開発されるこのようなCMOSイメージセンサも含め、任意のCMOSイメージセンサを使用することもできる。
[Another example 4 (CMOS image sensor)]
First, in the overall configuration of the visible light communication system of the present invention, when a CMOS image sensor is used as an image sensor as the light receiving element, the CMOS image sensor has a non-linear configuration in addition to a linear configuration. A sensor (for example, one having a non-linear configuration such as a curved configuration) can be theoretically manufactured, and any CMOS image sensor including such a CMOS image sensor to be developed in the future can be used. Can also be used.

[別例5(受光素子)]
また、上記実施の形態を含む本発明の可視光通信システムの全体構成においては、前記受光素子としての撮像素子(イメージセンサ)としては、CMOSイメージセンサを典型的な撮像素子として使用しているが、CMOSイメージセンサ以外にも、CMOSイメージセンサと同等の撮像動作を行うイメージセンサを使用することもできる。即ち、本発明の受光素子は、CCDイメージセンサのように同時にイメージを取得する撮像方式(グローバル露光方式又は同時撮像方式)ではなく、CMOSイメージセンサのようにずれたタイミングでイメージを取得する撮像方式(ライン露光方式又は順次撮像方式)と同等の撮像方式による撮像を行うものであれば、将来的に開発されるイメージセンサも含め、任意のイメージセンサを使用することができる。即ち、本発明の受光側装置に必要な本質的性質は、「同時にイメージを取得するものではない(ずれたタイミングで取得する)」構造であることであり、このような構造を備える限り、任意の構成を採用することができる。
[Another example 5 (light receiving element)]
In the overall configuration of the visible light communication system of the present invention including the above embodiment, a CMOS image sensor is used as a typical image sensor as the image sensor (image sensor) as the light receiving element. In addition to the CMOS image sensor, an image sensor that performs the same imaging operation as that of the CMOS image sensor can be used. That is, the light receiving element of the present invention is not an imaging method for acquiring images at the same time (global exposure method or simultaneous imaging method) like a CCD image sensor, but an imaging method for acquiring images at shifted timing like a CMOS image sensor. Any image sensor including an image sensor to be developed in the future can be used as long as an image is captured by an imaging method equivalent to (line exposure method or sequential imaging method). That is, the essential property required for the light-receiving side device of the present invention is that it has a structure that “images are not acquired at the same time (acquires at shifted timings)”. Can be adopted.

[別例6(変調手段)]
上記実施の形態では、変調手段は、電気回路によるハードウエア構成からなる変調回路により実現され、光源に供給する発光駆動用の電力を制御する構成とされているが、光源から前記点滅光セットを出力できる限りにおいて、電力での変調以外の構成も採用することができ、例えば、液晶シャッターによる構成等、任意の構成を採用することができる。
[Another example 6 (modulation means)]
In the above embodiment, the modulating means is realized by a modulating circuit having a hardware configuration by an electric circuit, and is configured to control power for driving light emission to be supplied to the light source. As long as the output is possible, a configuration other than the modulation with electric power can be adopted. For example, an arbitrary configuration such as a configuration using a liquid crystal shutter can be adopted.

[別例7(本発明の本質的特徴に関する別例)]
可視光通信システムに具体化される本発明の本質的特徴は、大きく、以下の二点にある。即ち、(1)使用する撮像素子の「非同時のイメージ取得」という特性を用いることで、フレームレートを上回る転送レートを出す仕組み、及び、(2)この撮像素子に載せるコード及びデコード手法又は符号化・復号化手法(なお、今回の実装に係るコード・デコード手法はごく一例を示すにすぎない)。例えば、本発明の可視光通信システムは、光源の明るさの変化にできるだけ追従する工夫も盛り込んでいる(以下、この工夫に係る機能実現手段を「明度変化追従手段」という)。更には、本発明の可視光通信システムは、「ゆっくり明滅する光源」にも安定してデータを載せられる(任意に、即時に、データが得られる)工夫をしている(以下、この工夫に係る機能実現手段を「低速点滅光源用データ安定化手段」という)。また、本発明の可視光通信システムは、光源にフルカラーLEDを使用する場合は、フルカラーLEDの各色のLEDを個別に駆動することで(同期しつつも独立した情報を載せることで)、単位時間あたりに送信できる容量を増やせるという大変重要な性質を備えている(以下、この性質を達成するための機能実現手段を「データ送信容量増大手段」という)。
[Another Example 7 (Another Example Concerning Essential Features of the Present Invention)]
The essential features of the present invention embodied in the visible light communication system are mainly in the following two points. That is, (1) a mechanism for providing a transfer rate higher than the frame rate by using a characteristic of “non-simultaneous image acquisition” of an image sensor to be used, and (2) a code and a decoding method or code to be mounted on the image sensor. Coding / decoding method (the code / decoding method according to this implementation is only an example). For example, the visible light communication system of the present invention incorporates a device for following a change in the brightness of the light source as much as possible (hereinafter, the function realizing means according to this device is referred to as “brightness change tracking device”). Furthermore, the visible light communication system of the present invention is devised so that data can be stably loaded even on the “light source that blinks slowly” (data can be obtained arbitrarily and immediately). Such a function realizing means is referred to as “a low-speed blinking light source data stabilizing means”). Further, in the visible light communication system of the present invention, when a full-color LED is used as a light source, each color LED of the full-color LED is individually driven (by putting independent information while being synchronized), so that the unit time can be reduced. It has a very important property that the capacity that can be transmitted per unit can be increased (hereinafter, the function realizing means for achieving this property is referred to as "data transmission capacity increasing means").

[別例7(撮像動作の時間間隔)]
上記実施の形態を含む本発明の可視光通信システムでは、CMOSイメージセンサ等の撮像素子は、光源からの点滅光セットを経時的に入力し、(CMOSイメージセンサ等のローリングシャッター機能又はそれに相当する機能を利用して)一定時間間隔ごとに入力データとしての点滅光セットの各点滅光を撮像する構成であるが、この入力データの撮像のための時間間隔は、一定時間間隔でなくともよい。例えば、その時間間隔が既知であればその非一定の時間間隔を既知の情報に基づいて調整することで(或いは、未知であっても、事前校正することで)、本発明の可視光通信システムを構成することができる。また、この時間間隔が仮にランダムであったとしても、その揺らぎが一定範囲以内であれば、その揺らぎ範囲を考慮した制御を行うことで、本発明の可視光通信システムを構成することができる。即ち、撮像素子の撮像動作における前記時間間隔の要件としては、時間がずれていること(また、更には、ある時間間隔以下であること)だけが必要である。即ち、本発明の可視光通信システムは、入力データの撮像のための時間間隔が非一定である一方で既知の場合においてその非一定の時間間隔を既知の情報(即ち、既知の非一定時間間隔)に基づいて調整するための機能実現手段(以下、「非一定時間間隔調整手段」という)、入力データの撮像のための時間間隔が非一定である一方で既知の場合においてその非一定の時間間隔が未知の場合においてその非一定の時間間隔を事前校正するための機能実現手段(以下、「非一定時間間隔事前校正手段」という)、及び、入力データの撮像のための時間間隔が仮にランダムである一方でその揺らぎが一定範囲以内である場合においてその揺らぎ範囲を考慮した制御を実行するための機能実現手段(以下、「揺らぎ範囲に基づく非一定時間間隔制御手段」という)を設けることで、入力データの撮像のための時間間隔が非一定又はランダムである場合においても、上記と同様に所定の点滅光セットに応じた所定の明暗線セットを復元可能である。
[Another Example 7 (Time Interval of Imaging Operation)]
In the visible light communication system of the present invention including the above-described embodiment, an image sensor such as a CMOS image sensor inputs a blinking light set from a light source over time, and outputs a (rolling shutter function of a CMOS image sensor or the like). In this configuration, each blinking light of the blinking light set as input data is imaged at regular time intervals (using a function). However, the time intervals for imaging the input data need not be constant time intervals. For example, if the time interval is known, the non-constant time interval is adjusted based on the known information (or, if unknown, by pre-calibration), the visible light communication system of the present invention. Can be configured. Even if the time interval is random, if the fluctuation is within a certain range, the visible light communication system of the present invention can be configured by performing control in consideration of the fluctuation range. In other words, the only requirement for the time interval in the imaging operation of the image sensor is that the time be shifted (and further, be less than or equal to a certain time interval). That is, in the visible light communication system of the present invention, when the time interval for imaging the input data is non-constant while it is known, the non-constant time interval is replaced with known information (that is, the known non-constant time interval). ) (Hereinafter referred to as “non-constant time interval adjusting means”), wherein the time interval for imaging of input data is non-constant while the non-constant time is A function realizing means for pre-calibrating the non-constant time interval when the interval is unknown (hereinafter referred to as "non-constant time interval pre-calibration means"), and a time interval for imaging of input data is temporarily random On the other hand, when the fluctuation is within a certain range, a function realizing means for executing control in consideration of the fluctuation range (hereinafter referred to as “non-constant time interval control based on the fluctuation range”) In this case, even if the time interval for imaging the input data is non-constant or random, a predetermined light-dark line set corresponding to a predetermined blinking light set can be restored in the same manner as described above. is there.

[別例8(撮像動作の方向)]
上記実施の形態を含む本発明の可視光通信システムでは、CMOSイメージセンサ等の撮像素子は、光源からの点滅光セットを経時的に入力し、(CMOSイメージセンサ等のローリングシャッター機能又はそれに相当する機能を利用して)所定の方向(又は一定方向)に入力データとしての点滅光セットの各点滅光を撮像する構成であるが、この入力データの撮像のための方向は、一定方向でなくともよい。例えば、その方向が一定でなくても、その撮像順序が既知であればその非一定の方向を既知の情報に基づいて調整することで(或いは、未知であっても、事前校正することで)本発明の可視光通信システムを構成することができる。即ち、本発明の可視光通信システムは、入力データの撮像方向又は撮像順序が非一定方向である一方で既知の場合においてその非一定方向を既知の撮像順序に基づいて調整するための機能実現手段(以下、「非一定撮像順序調整手段」という)、入力データの撮像方向が非一定である一方で未知の場合においてその非一定の時間間隔を事前校正するための機能実現手段(以下、「非一定撮像順序事前校正手段」という)を設けることで、入力データの撮像順序が非一定又はランダムである場合においても、上記と同様に所定の点滅光セットに応じた所定の明暗線セットを復元可能である。
[Another Example 8 (Direction of Imaging Operation)]
In the visible light communication system of the present invention including the above-described embodiment, an image sensor such as a CMOS image sensor inputs a blinking light set from a light source over time, and outputs a signal (a rolling shutter function of a CMOS image sensor or the like). This is a configuration in which each blinking light of the blinking light set as input data is imaged in a predetermined direction (or a fixed direction) using a function. Good. For example, even if the direction is not constant, if the imaging order is known, the non-constant direction is adjusted based on known information (or even if unknown, pre-calibration is performed). The visible light communication system of the present invention can be configured. That is, the visible light communication system of the present invention is a function realizing means for adjusting the non-constant direction based on the known imaging order when the imaging direction or the imaging order of the input data is a non-constant direction and is known. (Hereinafter, referred to as “non-constant imaging order adjusting means”), a function realizing means (hereinafter, “non-constant imaging order adjusting means”) for pre-calibrating the non-constant time interval when the imaging direction of input data is unknown while unknown. In the case where the imaging order of input data is non-constant or random, a predetermined light-dark line set corresponding to a predetermined blinking light set can be restored even if the imaging order of input data is irregular or random. It is.

[別例9(撮像素子における撮像動作の位置)]
上記実施の形態を含む本発明の可視光通信システムでは、CMOSイメージセンサ等の撮像素子は、光源からの点滅光セットを経時的に入力し、(CMOSイメージセンサ等のローリングシャッター機能又はそれに相当する機能を利用して)所定の方向(又は一定方向、或いは、上記のような非一定の方向)に入力データとしての点滅光セットの各点滅光の位置をずらして(位置をシフトして)撮像する構成であるが、この入力データの撮像のための位置のシフトは、下記のように、一定の条件を満たせば、必ずしも必要ではない。即ち、上記実施の形態を含む本発明の可視光通信システムでは、撮像素子は、1フレーム分の走査時間内に1セット分の点滅光セットの点滅光を撮像している。これにより、この可視光通信システムは、1フレーム分の走査時間内で一つの点滅光セット(即ち、一つのコード情報)を処理することができ、(従来のように一つのコード情報を処理するために多数のフレームを必要とする場合と比較して)情報処理を大幅に高速化することができる。しかし、本発明の可視光通信システムは、撮像素子における1フレーム分の走査時間を分割して(例えば、1フレーム分の1/5に分割して)撮像し、その分割した時間範囲内で1セットの点滅光セットを撮像するように構成する動作方式を採用することもできる。即ち、この動作方式は、撮像素子のフレームを走査方向に分割して使用する動作方式と考えることもできる。こうすると、1フレームを更に複数に分割した短い走査時間内で一つの点滅光セットを処理することができ、情報処理を更に大幅に高速化することができる。更には、この動作方式を更に押し進めて、撮像素子の一素子だけを超高速で動作する光センサとして使用することも理論上は可能であり、この場合、「位置をずらして」撮影することを必要とせず、本発明の可視光通信システムを構成することができる。即ち、この場合、撮像素子の特定のアドレスの単一のフォトダイオードのみにより、光源からの点滅光セットを受光して、その受光した点滅光のタイミングに基づいて(即ち、点滅光の点滅間隔に基づいて)所定のパターン(即ち、点滅間隔のパターン)を読取り、点滅光セットのコード情報(符号化データ)を読解することも可能である。
[Another Example 9 (Position of Imaging Operation in Image Sensor)]
In the visible light communication system of the present invention including the above-described embodiment, an image sensor such as a CMOS image sensor inputs a blinking light set from a light source over time, and outputs a (rolling shutter function of a CMOS image sensor or the like). Image is taken by shifting the position of each blinking light of the blinking light set as input data in a predetermined direction (or a fixed direction, or a non-constant direction as described above) using a function. However, the shift of the position for capturing the input data is not always necessary if certain conditions are satisfied as described below. That is, in the visible light communication system of the present invention including the above-described embodiment, the imaging device captures one set of blinking light in a blinking light set within one frame of scanning time. Thereby, this visible light communication system can process one blinking light set (that is, one code information) within one frame of scanning time, and process one code information as in the related art. Therefore, the information processing speed can be significantly increased (compared to the case where a large number of frames are required). However, the visible light communication system of the present invention captures an image by dividing the scanning time of one frame in the image sensor (for example, by dividing it into 1 / of one frame), and within one time within the divided time range. An operation method configured to capture an image of a blinking light set of the set may be adopted. That is, this operation method can be considered as an operation method in which a frame of the image sensor is divided and used in the scanning direction. In this way, one blinking light set can be processed within a short scanning time in which one frame is further divided into a plurality of frames, and the information processing can be further speeded up. Further, it is theoretically possible to further advance this operation method and use only one element of the image sensor as an optical sensor that operates at a very high speed. Without the need, the visible light communication system of the present invention can be configured. That is, in this case, the flashing light set from the light source is received only by the single photodiode at the specific address of the image sensor, and based on the timing of the received flashing light (ie, the flashing interval of the flashing light). It is also possible to read a predetermined pattern (that is, a pattern of blinking intervals) and read code information (encoded data) of the blinking light set.

[別例10(光源からの光による点滅光セット)]
上記実施の形態では、光源として、能動的に発光するLED等の能動的光源を使用したが、本発明の可視光通信システムは、他の光源からの光を反射して前記点滅光セットを出力するように構成することもでき、本発明の可視光システムにおける「光源」には、このような受動的光源も含む。また、本発明の可視光通信システムは、上記実施の形態では、発光側制御手段により、光源自体の発光動作を制御して、光源から直接的に所定の点滅光セットを出力する構成の機能実現手段(以下、「直接的点滅光出力手段」という)を採用しているが、光源からの発光を点滅光ではなく連続光とする一方で、光源と受光側装置との間に、前記光源からの連続光を所定の点滅光セットに変換して間接的に出力する構成の機能実現手段(以下、「間接的点滅光出力手段」という)を採用してもよい。例えば、このような間接的点滅光出力手段としては、光源からの連続光を機械式シャッター構造等によってオンオフ動作(開閉動作)するシャッター装置がある。また、このような間接的点滅光出力手段は、光源と受光側装置との間に配設して光源から直接入射する連続光(即ち、直接光)をオンオフ動作するよう構成してもよいが、光源からの連続光を一旦反射手段により反射した反射光を間接的点滅光出力手段によりオンオフ動作するよう構成してもよい。この場合、間接的点滅光出力手段は反射手段と受光側装置との間に配設する。なお、上記の場合、本発明の可視光通信システムにおいて、間接的点滅光出力手段や反射手段は、発光側装置に含まれる。
[Another example 10 (flashing light set by light from light source)]
In the above embodiment, an active light source such as an LED that actively emits light is used as the light source. However, the visible light communication system of the present invention reflects the light from another light source and outputs the blinking light set. The “light source” in the visible light system of the present invention also includes such a passive light source. Further, in the visible light communication system of the present invention, in the above-described embodiment, the function of realizing a configuration in which the light emitting side control means controls the light emitting operation of the light source itself and directly outputs a predetermined blinking light set from the light source. Means (hereinafter referred to as "direct blinking light output means"), while the light emission from the light source is not a blinking light but a continuous light, and the light source is disposed between the light source and the light receiving side device. A function realizing means (hereinafter, referred to as “indirect flashing light output means”) configured to convert the continuous light into a predetermined flashing light set and indirectly output the set may be employed. For example, as such an indirect blinking light output unit, there is a shutter device that performs an on / off operation (opening / closing operation) of continuous light from a light source by a mechanical shutter structure or the like. Further, such an indirect blinking light output unit may be arranged between the light source and the light receiving side device so as to turn on / off continuous light (that is, direct light) directly incident from the light source. Alternatively, the continuous light from the light source may be temporarily reflected by the reflection means, and the reflected light may be turned on and off by the indirect blinking light output means. In this case, the indirect blinking light output means is disposed between the reflection means and the light receiving side device. In the above case, in the visible light communication system of the present invention, the indirect blinking light output means and the reflection means are included in the light emitting side device.

[別例11(可視光通信システムの応用)]
本発明の可視光通信システムは、上記実施の形態のように、発光側装置からの符号化データを受光側装置により復号化し、その復号化データに基づき、所定の処理をコンピュータ装置に実行させるための指令を出力するように構成する以外にも、出力側にコンピュータ装置を使用しない場合(即ち、出力側のコンピュータ装置に何らかの処理を指令する指令信号を出力しない場合)にも適用できる。例えば、本発明の可視光通信システムは、復号化データを指令信号として出力するのではなく、データとして表示したり、データとして活用するだけのアプリケーションにも適用することができる。また、本発明の可視光通信システムは、コンピュータ装置で利用する識別子や一意の情報(ID、パスワード、アカウント情報等)を表現するよう符号化データ及び複合化データを構成し、コンピュータ装置で利用する識別子や一意の情報を出力する構成として具体化することもできる。
[Another Example 11 (Application of Visible Light Communication System)]
The visible light communication system according to the present invention, as in the above embodiment, decodes encoded data from the light emitting side device by the light receiving side device and causes the computer device to execute predetermined processing based on the decoded data. The present invention can be applied to a case where a computer device is not used on the output side (that is, a case where no command signal for instructing any processing is output to the computer device on the output side) in addition to the configuration in which the command is output. For example, the visible light communication system of the present invention can be applied to an application in which decoded data is not displayed as a command signal but is displayed as data or used only as data. In the visible light communication system of the present invention, encoded data and composite data are configured so as to express an identifier and unique information (ID, password, account information, and the like) used by the computer device, and are used by the computer device. It may be embodied as a configuration for outputting an identifier and unique information.

[別例12(コード化)]
本発明の可視光通信システムでは、撮影のシャッタースピードが落ちると、明線が「太くなる」現象が生じるとの知見を本発明者らは得ている。即ち、この現象により、光源からの点滅光におけるオン時間間隔とオフ時間間隔とが同一である場合でも、撮像素子に撮像される明線の幅が異なることがあるとの知見を、本発明者らは得ている。したがって、本発明の可視光通信システムを実現するための(所定のプログラムの)アルゴリズムでは、この現象を軽減するための手段(工夫)が施されている(以下、この工夫に係る機能実現手段を「低シャッタースピード用コード化手段」という)。
[Another Example 12 (Coding)]
The present inventors have found that in the visible light communication system of the present invention, when the shutter speed for shooting is reduced, the phenomenon that the bright line becomes “thicker” occurs. In other words, the present inventor has found that, due to this phenomenon, even when the on-time interval and the off-time interval in the blinking light from the light source are the same, the width of the bright line imaged by the image sensor may be different. Have gained. Therefore, in the algorithm (of a predetermined program) for realizing the visible light communication system of the present invention, means (invention) for reducing this phenomenon is provided (hereinafter, the function realization means according to this ingenuity is provided). "Coding means for low shutter speed").

[別例13(走査方向又は走査順序)]
本発明の実施の形態1では、(CMOSイメージセンサ等の)受光イメージを一定時間ごとに一定方向に位置をずらしながら走査して撮像するタイプの撮像素子を使用することを想定して、撮像素子は、従来のパソコン用ディスプレイにおける走査方式であるプログレッシブ方式(ノンインターレース方式)と同様に、撮像素子の各露光ラインを一定方向に順次走査して撮像する構成となっている。したがって、この場合、発光側装置からの所定の点滅光セットに応じて撮像素子が撮像するのは、上記実施の形態1で述べたような明暗線セットのパターンとなる。なお、上記の場合における撮像素子の「露光ライン」とは、例えば、撮像素子の水平方向に隣接配置されて左右方向に延びる1列の画素ブロック(以下、「水平列ライン」という)の各々により構成され、或いは、撮像素子の垂直方向に隣接配置されて上下方向に延びる1列の画素ブロック(以下、「垂直列ライン」という)の各々により構成される。そして、この場合、撮像素子は、露光ラインの延びる方向と直交する方向、即ち、水平列ラインの場合は撮像素子の垂直方向となる上下方向(例えば、上端から下端に向かう方向)、垂直列ラインの場合は撮像素子の水平方向となる左右方向(例えば、左端から右端に向かう方向)に位置をずらしながら走査して、点滅光セットの点滅光を経時的に順次撮像することになる。具体的には、この場合、例えば、上記のように、撮像素子において垂直列ラインの画素ブロックを左右方向に(即ち、最も左端の垂直列ラインから右端の垂直列ラインに向かって、又は、最も右端の垂直列ラインから左端の垂直列ラインに向かって)位置をずらしながら走査して撮像する場合、点滅光セットのパターンに応じて、撮像素子の垂直方向に延びる明暗線からなる明暗線セットのパターンが撮像されることになる。
[Another example 13 (scanning direction or scanning order)]
In the first embodiment of the present invention, it is assumed that an image sensor of a type that scans a light-receiving image (such as a CMOS image sensor) while shifting its position in a certain direction at regular time intervals and uses the image is used. Has a configuration in which each exposure line of an image sensor is sequentially scanned in a fixed direction to capture an image, similarly to a progressive method (non-interlace method) which is a scanning method in a conventional personal computer display. Therefore, in this case, the image pickup device picks up an image in accordance with the predetermined blinking light set from the light emitting side device, in the pattern of the light and dark line set as described in the first embodiment. Note that the “exposure line” of the image sensor in the above case is, for example, each of a row of pixel blocks (hereinafter, referred to as “horizontal line”) that are arranged adjacent to the image sensor in the horizontal direction and extend in the horizontal direction. Or one pixel block (hereinafter, referred to as a “vertical column line”) arranged vertically adjacent to the image sensor and extending in the vertical direction. Then, in this case, the image sensor is arranged in a direction perpendicular to the direction in which the exposure line extends, that is, in the case of a horizontal column line, a vertical direction (for example, a direction from the upper end to the lower end) which is a vertical direction of the image sensor. In the case of (1), scanning is performed while shifting the position in the horizontal direction (for example, the direction from the left end to the right end), which is the horizontal direction of the image sensor, and the flashing light of the flashing light set is sequentially imaged with time. Specifically, in this case, for example, as described above, the pixel block of the vertical column line in the image sensor is shifted in the horizontal direction (that is, from the leftmost vertical column line to the rightmost vertical column line, or When scanning and imaging while shifting the position (from the rightmost vertical column line to the leftmost vertical column line), according to the pattern of the blinking light set, a bright and dark line set consisting of bright and dark lines extending in the vertical direction of the image sensor is set. The pattern will be imaged.

一方、上記別例8(撮像動作の方向)で述べたように、本発明のコンピュータ装置用の可視光通信システムでは、撮像素子において、一定方向ではない任意の方向に経時的に順次位置をずらしながら走査して撮像することにより、点滅光セットのパターンに応じたパターンの(前記明暗線パターンに相当する)明暗部パターンを出力することもできる。例えば、撮像素子は、従来のNTSC方式のテレビにおける走査方式であるインターレース方式と同様に、撮像素子の各露光ラインを1本置きに(又は複数本置きに)順次走査して撮像する構成とすることができる。発光側装置からの所定の点滅光セットに応じて撮像素子が撮像する明暗部のパターンは、上記実施の形態1で述べたような明暗線セットの各明暗線が、露光ラインの1本置きに(又は複数本置きに)隙間を置いて平行となるよう配置されたパターンとなる。なお、上記実施の形態1のようないわゆるプログレッシブ方式による撮像の場合も、上記インターレース方式による撮像の場合も、撮像素子の1回の露光単位が同列上の連続する画素からなる1本の直線帯状の画素ラインである露光ラインとなるため、明暗部パターンは、実施の形態1の明線及び暗線から構成されるパターン(即ち、点滅光の点灯間隔に相当する幅の明線と、点滅光の消灯間隔に相当する幅の暗線とが、プログレッシブ方式の場合は互いに隣接して、インターレース方式の場合は単位本数だけの画素列を飛ばした隙間間隔を置いて平行に配置されるパターン)となる。   On the other hand, in the visible light communication system for a computer apparatus according to the present invention, as described in the above-mentioned another example 8 (direction of imaging operation), the position of the imaging device is sequentially shifted in an arbitrary direction other than a fixed direction over time. By scanning and capturing an image, it is possible to output a bright / dark portion pattern (corresponding to the bright / dark line pattern) corresponding to the pattern of the blinking light set. For example, similarly to the interlacing method, which is a scanning method in a conventional NTSC television, the image sensor sequentially scans every other exposure line (or every other line) of the image sensor to capture an image. be able to. The pattern of the light and dark portions imaged by the image sensor in accordance with the predetermined blinking light set from the light emitting side device is such that each light and dark line of the light and dark line set as described in the first embodiment is arranged every other exposure line. The pattern is arranged so as to be parallel with a gap (or every other). Note that, in both the case of the so-called progressive method as in the first embodiment and the case of the interlaced method, one exposure unit of the image sensor is formed by a single linear band formed of continuous pixels on the same row. Therefore, the bright / dark portion pattern is a pattern composed of the bright line and the dark line of the first embodiment (that is, a bright line having a width corresponding to the lighting interval of the blinking light, In the case of the progressive system, the dark lines having a width corresponding to the light-off interval are adjacent to each other, and in the case of the interlaced system, the dark lines are arranged in parallel at intervals of a pixel row of a unit number.

一方、撮像素子及び/又は発光制御手段を適宜構成することにより、撮像素子の1回の露光単位を、1本の直線帯状の露光ラインではなく、撮像素子の1個の画素単位(即ち、各画素単位)、或いは、隣接する複数個の画素を1ブロックとして1つの画素ブロックを構成した場合における各画素ブロック単位とすると共に、撮像方向又は撮像順序を、撮像素子の全画素単位又は全画素ブロック単位を、最初の画素単位又は画素ブロック単位から最後の画素単位又は画素ブロック単位まで、一つずつ、かつ、重複しないよう、任意の順番で経時的に移動しながら撮像する構成とすることもできる。好ましくは、撮像方向又は撮像順序については、撮像素子の全画素ブロック単位を、最初の画素ブロック単位から最後の画素ブロック単位まで、一ブロックずつ、かつ、画素ブロックが重複しないよう、任意の順番で経時的に移動しながら撮像する構成とする。こうすれば、露光単位を画素単位とする場合と比較して、より大面積の画素ブロックにより明部及び暗部を判別できるため、撮像素子のダイナミックレンジが低く明暗の差の表現能力が低い等、ハードウエア資源の性能が低い場合であっても、点滅光セットの符号化データに対応する完全な複合化データを正確に復元することができる。また、この場合、撮像素子における全画素ブロックの各々を同一数で同一寸法(及び同一外形)とすることもできるが(即ち、全ての画素ブロックの各々を同一数のn個の画素により構成し、かつ、例えば同一の矩形状等に形成することもできるが)、理論上は、一部の画素ブロックを他の画素ブロックと異なる画素数の画素ブロックとしたり、一部の画素ブロックを他の画素ブロックと異なる寸法(及び外形)の画素ブロックとしたりすることも可能である。なお、撮像素子における露光単位を画素ブロック単位とする場合、(撮像素子における露光単位を画素ライン単位とする場合の)前記明暗線の明線及び暗線に対応する明部及び暗部が、撮像素子の対応する画素ブロックに撮像され、これら明部及び暗部の対からなる明暗部の所定数の組(例えば、6つの点滅光からなる点滅光セットを撮像する場合、6組の明暗部)により、前記明暗線パターンに対応する明暗部パターンが生成される。このとき、明部及び暗部のそれぞれの外形及び寸法は、対応する画素ブロックのそれぞれの外形及び寸法に対応するものとなる。   On the other hand, by appropriately configuring the image sensor and / or the light emission control means, one exposure unit of the image sensor is not a single linear strip exposure line but a single pixel unit of the image sensor (that is, Pixel unit), or each pixel block unit when one pixel block is configured with a plurality of adjacent pixels as one block, and the imaging direction or imaging order is set to all pixel units or all pixel blocks of the image sensor. It is also possible to adopt a configuration in which images are taken from the first pixel unit or the pixel block unit to the last pixel unit or the pixel block unit while moving in an arbitrary order with time so as not to overlap one by one. . Preferably, with respect to the imaging direction or the imaging order, all the pixel block units of the image sensor are arranged in an arbitrary order from the first pixel block unit to the last pixel block unit, one block at a time, and so that the pixel blocks do not overlap. An image is taken while moving over time. In this case, as compared with the case where the exposure unit is a pixel unit, since a bright portion and a dark portion can be determined by a pixel block having a larger area, the dynamic range of the image pickup device is low, and the ability to express the difference between light and dark is low. Even when the performance of the hardware resources is low, it is possible to accurately restore complete composite data corresponding to the encoded data of the blinking light set. Further, in this case, all the pixel blocks in the image sensor can have the same number and the same size (and the same outer shape) (that is, all the pixel blocks are configured by the same number of n pixels). And, for example, can be formed in the same rectangular shape), but in theory, some pixel blocks may have a different number of pixels from other pixel blocks, or some pixel blocks may have other pixel blocks. It is also possible to use a pixel block having a different size (and outer shape) from the pixel block. When the exposure unit in the image sensor is a pixel block unit, the bright and dark portions corresponding to the bright and dark lines of the light and dark lines (when the exposure unit in the image sensor is a pixel line unit) are the image sensor. A predetermined number of sets of bright and dark parts (for example, when capturing a blinking light set consisting of six blinking lights, six sets of bright and dark parts) are picked up by a corresponding pixel block, A light / dark portion pattern corresponding to the light / dark line pattern is generated. At this time, the respective outer shapes and dimensions of the bright and dark portions correspond to the respective outer shapes and dimensions of the corresponding pixel blocks.

[別例14(撮像素子)]
本発明の可視光通信システムは、撮像素子としてCMOSイメージセンサを使用する以外にも、発光側装置からの所定の点滅光セットの点滅光を、その点滅光の順序に応じた所定の順序で、経時的に撮像位置をずらしながら撮像する(即ち、画素ライン単位、画素単位又は画素ブロック単位で位置をずらしながら撮像する)ことにより、点滅光セットの符号化データに対応する完全な複合化データを正確に復元することができる限りにおいて、任意の撮像素子を使用することができる。例えば、CCDイメージセンサであっても、オンオフリレーにより、点滅光セットの点滅光を、その点滅光の順序に応じた所定の順序で、経時的に撮像位置をずらしながら撮像することも可能である。
[Another Example 14 (Imaging Device)]
The visible light communication system of the present invention, besides using a CMOS image sensor as an image sensor, a flashing light of a predetermined flashing light set from the light emitting side device, in a predetermined order according to the order of the flashing light, By performing imaging while shifting the imaging position over time (that is, imaging while shifting the position in pixel line units, pixel units or pixel block units), complete composite data corresponding to the encoded data of the blinking light set is obtained. Any image sensor can be used as long as the image can be accurately restored. For example, even in the case of a CCD image sensor, it is also possible to image the blinking light of the blinking light set by an on / off relay in a predetermined order according to the order of the blinking light while shifting the imaging position over time. .

[別例15(点滅光セットの点滅光の点滅間隔及び点滅タイミング)]
本発明の可視光通信システムは、前記発光制御手段により生成する点滅光セットは、得るべき符号化データに応じて、点滅光セットを構成する点滅光の点滅間隔が非均一となることもあるが、符号化データにより表現する情報の種類が少なく、情報館の区別のための符号化データの種類が少なくなるような場合は、均一な点滅間隔の点滅光により点滅光セットを生成することも可能である。即ち、本発明の可視光通信システムは、前記発光制御手段により生成する点滅光セットの点滅光の点滅間隔が特定のパターンとなる限りにおいて、点滅光の点滅間隔を任意の間隔とすることができる。また、本発明の可視光通信システムは、前記発光制御手段により生成する点滅光セットは、所定の周期で点滅する所定の複数の点滅光により構成する以外に、所定の点滅タイミングで点滅する所定の複数の点滅光により構成することもできる。即ち、点滅光セットにより所定のパターンの点滅光を表現できる限りにおいて、点滅光セットの点滅光の点滅間隔は、周期性を有するもの以外に、任意の点滅タイミングとなる点滅間隔とすることもできる。
[Another Example 15 (Blinking interval and blinking timing of blinking light of blinking light set)]
In the visible light communication system of the present invention, the blinking light set generated by the light emission control means may have a non-uniform blinking interval of blinking lights constituting the blinking light set according to encoded data to be obtained. When the type of information expressed by encoded data is small and the type of encoded data for discriminating information halls is small, it is possible to generate a blinking light set with blinking light with a uniform blinking interval It is. That is, in the visible light communication system of the present invention, the blinking interval of the blinking light can be set to an arbitrary interval as long as the blinking interval of the blinking light of the blinking light set generated by the light emission control unit has a specific pattern. . Further, in the visible light communication system according to the present invention, the blinking light set generated by the light emission control means may be constituted by a plurality of blinking lights blinking at a predetermined cycle, and a predetermined blinking timing at a predetermined blinking timing. It can also be constituted by a plurality of blinking lights. That is, as long as a blinking light of a predetermined pattern can be expressed by the blinking light set, the blinking interval of the blinking light of the blinking light set may be a blinking interval at any blinking timing other than the one having periodicity. .

[別例16(点滅光セットの時間間隔)]
本発明の可視光通信システムは、実施の形態1では、一つの点滅光セットの時間間隔が、撮像素子の1回の操作時間間隔(及び、シャッタースピード)よりも短い時間間隔となるよう、発光制御手段により点滅光セットを生成し、これにより、点滅光セットのパターンに応じた明暗部のパターンを撮像素子に撮像して生成し、その結果、撮像素子の1フレームに相当する時間間隔内に所定の情報を表現する符号化データを包含させることで、撮像素子のフレームレートを超える高速な情報処理を可能としている。換言すれば、本発明の可視光通信システムは、撮像素子の1フレーム内で所定の情報処理を完結することができるが、表現すべき情報量が増大した場合、撮像素子の複数フレーム(2フレーム以上)にわたって1つの点滅光セットのパターンが撮像されるよう、発光制御手段により点滅光を発光制御すると共に、これにより撮像素子の複数フレームにわたって撮像された明暗部のパターンに基づき、点滅光セットのパターンが表現する符号化データに対応する複合化データを復元するよう、受光制御手段によって撮像素子による撮像データを処理することも可能である。
[Another example 16 (time interval of blinking light set)]
In the visible light communication system of the present invention, in the first embodiment, light emission is performed such that the time interval of one blinking light set is shorter than one operation time interval (and shutter speed) of the image sensor. A flashing light set is generated by the control unit, and thereby, a pattern of a light and dark portion corresponding to the pattern of the flashing light set is captured and generated by the image sensor, and as a result, within a time interval corresponding to one frame of the image sensor. By including coded data representing predetermined information, high-speed information processing exceeding the frame rate of the image sensor is enabled. In other words, the visible light communication system of the present invention can complete predetermined information processing within one frame of the image sensor, but when the amount of information to be expressed increases, a plurality of frames (two frames) of the image sensor The light emission control means controls the emission of the blinking light so that one blinking light set pattern is imaged over the above), and thereby, the blinking light set of the blinking light set is determined based on the pattern of the light and dark portions imaged over a plurality of frames of the image sensor. It is also possible to process the image data by the image sensor by the light receiving control unit so as to restore the composite data corresponding to the encoded data represented by the pattern.

[別例17(情報処理速度)]
本発明の可視光通信システムは、上記のとおり、少なくとも1セットの点滅光セットの点滅光を、撮像素子の画素ライン単位や画素ブロック単位で一定方向又は任意の方向又はランダムに位置をずらしながら走査して撮像するため、各点滅光セットの時間間隔は、上記のとおり、撮像素子の1回分の走査時間以下の時間間隔となり、撮像素子のシャッタースピード以下の時間間隔となる。例えば、撮像素子のシャッタースピードが1/30秒の場合は、各点滅光セットの時間間隔は、1/30秒以下となり、撮像素子のシャッタースピードが1/60秒の場合は、各点滅光セットの時間間隔は、1/60秒以下となる。また、本発明の可視光通信システムは、上記のとおり、撮像素子における点滅光の入力タイミングと走査タイミングとの時間的ずれに関係なく、少なくとも1組の点滅光セットの全ての点滅光を撮像素子により完全に撮像できるよう、撮像素子の1回の走査時間内に撮像される点滅光セットの点滅光の数である1走査時間内点滅光数が、少なくとも、1組の点滅光セットの点滅光の総数の2倍より1少ない数となるよう、発光側制御手段による点滅光セットの点滅制御を行うことで、前記1組の点滅光セットの点滅光に対応して撮像素子の1操作時間内に撮像素子により撮像される明暗部の数である1走査時間内明暗部数が、少なくとも、1組の明暗部セットの明暗部の総数の2倍より1少ない数となるようにすることが好ましい。なお、この場合のシャッタリングは、撮像のラインごとに行われる。この場合、シャッターの開始時間が、フレームレートをライン数で割っただけずれているものと予想される。この場合、シャッターが閉じるタイミングについては、それぞれスタートからの経過時間(開放時間)で閉じられることとなる。(「開放時間」は、一フレーム内では、通常、同じ時間と思われる。)開放時間が、「ずれ」の時間より遅い場合は、線が太く写る。短い場合は、露出が抑えられるだけと考えられる。(被写体の動きが激しい場合は別であり、ラインごとの像が、とぎれとぎれになることがある。)
[Another example 17 (information processing speed)]
As described above, the visible light communication system of the present invention scans the blinking light of at least one blinking light set while shifting the position in a fixed direction or an arbitrary direction or randomly in units of pixel lines or pixel blocks of the image sensor. As described above, the time interval of each blinking light set is equal to or less than one scanning time of the image sensor, and is equal to or less than the shutter speed of the image sensor. For example, when the shutter speed of the image sensor is 1/30 second, the time interval of each blinking light set is 1/30 second or less, and when the shutter speed of the image sensor is 1/60 second, each blinking light set Is less than 1/60 second. Further, as described above, the visible light communication system according to the present invention is capable of transmitting all blinking lights of at least one set of blinking lights to the image pickup device regardless of the time lag between the input timing of the blinking light and the scanning timing in the image pickup device. The number of blinking lights in one scanning time, which is the number of blinking lights of the blinking light set imaged within one scanning time of the image sensor, is at least the blinking light of one set of blinking light sets so that imaging can be performed completely. By controlling the blinking of the blinking light set by the light emitting side control means so as to be one less than twice the total number of the light emitting devices, the light emitting side control means can respond to the blinking light of the one blinking light set within one operation time of the image sensor. It is preferable that the number of light and dark parts within one scanning time, which is the number of light and dark parts imaged by the image sensor, is at least one less than twice the total number of light and dark parts in one set of light and dark parts. Note that shuttering in this case is performed for each imaging line. In this case, it is expected that the shutter start time is shifted by the frame rate divided by the number of lines. In this case, the shutter closes at the time elapsed from the start (open time). (The “open time” is usually considered to be the same time within one frame.) If the open time is later than the “shift” time, a thick line appears. If it is short, it is considered that exposure is only suppressed. (Unless the movement of the subject is severe, the image of each line may be interrupted.)

[実施例6(複数フレームにわたる点滅光セットの処理)]
本発明の可視光通信システムは、実施の形態1では、1セットの点滅光セットの全体を1フレーム内に撮像することで、情報処理の高速化を図っているが、1セットの点滅光セットの符号長が1フレームを超えるような情報の場合、図12に示すような処理が可能である。具体的には、例えば、1セットの点滅光セットの符号長が1.5フレームに相当する長さとなる情報の場合、このままこの点滅光セットを撮像素子により撮像すると、この点滅光セットの点滅光は、2フレームにわたって撮像されることになる。このとき、フレーム間のタイミングで点滅光セットの点滅光が撮像素子に入射することがあるが、この場合、フレーム間の時間間隔を正確に予測して補完を行うことは容易でない。したがって、本実施例の可視光通信システムは、図12に示すように、例えば、1セットの点滅光セットの符号長が1フレームを越える長さで2フレーム未満の長さとなる情報の場合、撮像素子の連続する3フレームを使用してその撮像を行うよう、発光制御手段による制御を行う構成としている。例えば、1セットの点滅光セットの符号長が1.5フレームに相当する長さとなる情報の場合、撮像素子の連続する3フレームを使用してイメージを撮像素子に撮像させるよう、発光制御手段は、撮像素子のフレームレート(及び/またはシャッタースピード)に応じて、点滅光セットの符号長のうち、前半2/3の長さの符号部分の点滅光を1番目のフレームF1の時間間隔の範囲内で出力し(例えば、フレームF1の走査開始と同期して前半2/3の点滅光の最初の点滅光を出力すると共に、フレームF1の走査終了直前に前半2/3の点滅光の最後の点滅光を出力し)、次に、2番目のフレームF2に対応する時間間隔を置いて(即ち、2番目のフレームF2の時間間隔内では、残りの1/3の点滅光を出力せずに消灯動作を維持して待機し)、残りの後半1/3の長さの符号部分の点滅光を3番目のフレームF3の時間間隔の範囲内で出力する(例えば、フレームF3の走査開始と同期して後半1/3の点滅光の最初の点滅光を出力する)。こうすると、点滅光セットの符号長のうち、前半2/3の長さの符号部分の点滅光が3フレーム中の1番目のフレームF1に撮像され、次の2番目のフレームF2は点滅光は撮像されることなく空白フレームとなり、後半1/3の長さの符号部分の点滅光が3番目のフレームF3に撮像される。したがって、1セットの点滅光セットの撮像に撮像素子の3フレームを必要とし、上記実施の形態1のように撮像素子の1フレーム内に1セットの点滅光セットを撮像する場合と比較すると、情報処理速度は低下する(情報処理時間が3倍になる)が、それでも、フレームレートが30fpsの場合でも、1単位の点滅光セットの符号データの撮像時間は1/10秒となり、従来の可視光通信装置と比較して大幅に高速な情報処理が可能となる。また、複数フレームに渡る信号を載せる場合は、一連の情報のスタート、一連の情報のエンド、個別のデータの区切り(ダブったり抜けたりしないため)のマーカーが必要である。
[Example 6 (Processing of blinking light set over a plurality of frames)]
In the visible light communication system of the present invention, in the first embodiment, the speed of information processing is increased by imaging the entire set of blinking light sets in one frame. In the case of information having a code length of more than one frame, processing as shown in FIG. 12 can be performed. Specifically, for example, in the case of information in which the code length of one set of blinking light sets is a length corresponding to 1.5 frames, if the blinking light set is imaged by the image sensor as it is, the blinking light of this blinking light set Will be imaged over two frames. At this time, the blinking light of the blinking light set may be incident on the image sensor at the timing between frames. In this case, it is not easy to accurately predict the time interval between frames and perform complementation. Therefore, as shown in FIG. 12, the visible light communication system according to the present embodiment is configured to perform image capturing when the code length of one blinking light set is longer than 1 frame and shorter than 2 frames. The configuration is such that control is performed by the light emission control means so that imaging is performed using three consecutive frames of the element. For example, in the case of information in which the code length of one set of blinking light sets is a length corresponding to 1.5 frames, the light emission control means controls the image sensor to capture an image using three consecutive frames of the image sensor. According to the frame rate (and / or shutter speed) of the image sensor, the blinking light of the code portion having the length of the first two-thirds of the code length of the blinking light set is within the range of the time interval of the first frame F1. (For example, the first blinking light of the first two-thirds of the blinking light is output in synchronization with the start of scanning of the frame F1 and the last one of the last two-thirds of the blinking light of the first half immediately before the end of the scanning of the frame F1) Blinking light is output), and then at the time interval corresponding to the second frame F2 (that is, within the time interval of the second frame F2, the remaining 1/3 of the blinking light is not output). Keep the operation off And outputs the remaining blinking light of the code portion having the length of the latter half of the latter half within the time interval of the third frame F3 (for example, the latter half of the latter in synchronization with the start of scanning of the frame F3). The first flashing light of the flashing light is output). In this case, of the code length of the blinking light set, the blinking light of the code portion having the length of 前 of the first half is captured in the first frame F1 of the three frames, and the blinking light of the next second frame F2 is A blank frame is formed without being imaged, and the blinking light of the code portion having the length of the latter half is imaged in the third frame F3. Therefore, imaging of one set of blinking light sets requires three frames of the image sensor, and as compared with the case of imaging one set of blinking light sets in one frame of the image sensor as in the first embodiment, Although the processing speed is reduced (the information processing time is tripled), even when the frame rate is 30 fps, the imaging time of the code data of one unit of the blinking light set is 1/10 second, and the conventional visible light The information processing can be performed at a significantly higher speed than the communication device. In addition, when carrying a signal over a plurality of frames, a marker for starting a series of information, ending the series of information, and delimiting individual data (to avoid dubbing or dropping) is required.

[実施例7(明暗部セットの明暗線の幅認識処理)]
本発明の可視光通信システムは、実施の形態1のように、点滅光セットのパターンに対応して撮像素子に明暗線セットのパターンを撮像する場合において、明暗線セットの明線の幅及び暗線の幅は、点滅光の点灯時間(オン時間)及び消灯時間(オフ時間)に対応する幅、即ち、同一又は比例する幅となるが、明線の場合、撮像素子の走査特性に依存して、撮像素子においてより高い明度の光を撮像した部分(即ち、輝度の大きい部分)において、明線の幅方向端縁が外方に膨出する傾向にあることを本発明者らは実験結果により確認している。例えば、図13に示すように、光源からの点滅光の強度が撮像素子の(露光ラインの長さ方向中央部で大きくなり、撮像素子の垂直方向中央部の輝度が他の部分より大きくなるような場合、明線の長さ方向中央部の両端縁が外方に張り出すように撮像される傾向にある。この場合、明線の幅及び暗線の幅の比率が、実際の点滅光の点灯間隔及び消灯間隔の比率と異なる比率になる(例えば、実際は6:4の比率が7:3として撮像される)可能性がある。
[Embodiment 7 (light / dark line width recognition processing of light / dark portion set)]
In the visible light communication system of the present invention, when the pattern of the bright and dark line set is imaged on the image sensor corresponding to the pattern of the blinking light set as in the first embodiment, the width of the bright line and the dark line of the bright and dark line set Is the width corresponding to the lighting time (on time) and the extinguishing time (off time) of the blinking light, that is, the same or proportional width. However, in the case of a bright line, it depends on the scanning characteristics of the image sensor. According to experimental results, the inventors have found that in a portion where light with higher brightness is imaged by an image sensor (that is, a portion with high luminance), the edge in the width direction of the bright line tends to bulge outward. I have confirmed. For example, as shown in FIG. 13, the intensity of the blinking light from the light source is increased at the center of the image sensor in the length direction of the exposure line, and the luminance at the center of the image sensor in the vertical direction is higher than other portions. In such a case, there is a tendency that the image is taken such that both edges of the central portion in the longitudinal direction of the bright line project outward, and in this case, the ratio of the width of the bright line to the width of the dark line is determined by the actual lighting of the blinking light. The ratio may be different from the ratio between the interval and the light-off interval (for example, a 6: 4 ratio is actually imaged as 7: 3).

このような事態に対処し、撮像素子の撮像(特に明線)が入射光の強度によって部分的又は全体的に膨張した場合にも、撮像データを復号化する際に明線及び暗線の比率を誤認識しないよう、本発明の可視光通信システムは、図14に示すような構成を採用することができる。詳細には、本発明の可視光通信システムは、撮像素子に撮像される明線の幅が一定となり、暗線の幅の大小により情報を表現するよう、発光制御手段により、点滅光セットの点灯部分の時間間隔を一定とし、消灯部分の時間間隔を基準値から所定単位で増減して設定し、かかる点滅光セットを出力するようになっている。また、本発明の可視光通信システムは、図14に示すように、明線の両側に隣接する1対の暗線のそれぞれの幅方向中心位置の間の間隔THを取得し、この間隔THから、(幅が一定である)左右の明線のそれぞれの幅の1/2の間隔をそれぞれ減算することで、結果的に、中央の暗線の幅を取得している。こうすると、撮像素子に撮像された明線の幅が、点滅光の点灯時間に対応する本来の幅よりも幅方向に拡大して撮像される場合に(例えば、明線の幅が、本来は図14中に実線で示す位置であるにもかかわらず、破線で示す位置まで拡大して撮像された場合に)、両明線の中心位置間の間隔THから、拡大した左側の明線の幅の中心位置までの寸法1/2WH1と、拡大した右側の明線の幅の中心位置までの寸法1/2WH1とを減算すると、両明線の中心位置間の間隔THから、本来の左側の明線の幅の中心位置までの寸法1/2WH2と、本来の右側の明線の幅の中心位置までの寸法1/2WH2とを減算した値と同一となり、明線の幅の拡大いかんにかかわらず、常に本来の暗線の幅BW2を取得することができる。即ち、TH−(1/2WH1−1/2WH1)=TH−(1/2WH2−1/2WH2)=BH2となる。なお、上記のように明線を固定長とし暗線を可変長とする構成とは逆に、暗線を固定長とし明線を可変長とする場合にも、上記の明線及び暗線を暗線及び明線として取り扱うことで、上記発光制御手段により制御を適用することができる。   In order to cope with such a situation, even when the imaging of the image sensor (especially the bright line) is partially or wholly expanded due to the intensity of the incident light, the ratio between the bright line and the dark line is determined when decoding the imaging data. In order to avoid erroneous recognition, the visible light communication system of the present invention can adopt a configuration as shown in FIG. In detail, the visible light communication system of the present invention uses a light emission control unit to control the lighting portion of the blinking light set so that the width of the bright line captured by the image sensor is constant and the information is represented by the width of the dark line. Is set to be constant, and the time interval of the light-off portion is set to be increased or decreased by a predetermined unit from the reference value, and the blinking light set is output. Further, as shown in FIG. 14, the visible light communication system of the present invention obtains an interval TH between respective widthwise center positions of a pair of dark lines adjacent to both sides of the bright line, and from this interval TH, As a result, the width of the central dark line is obtained by subtracting half the width of each of the left and right bright lines (having a constant width). In this case, when the width of the bright line imaged by the image sensor is larger in the width direction than the original width corresponding to the lighting time of the blinking light and the image is captured (for example, the width of the bright line is originally smaller than the original width). In the case where the image is enlarged to the position indicated by the dashed line in spite of the position indicated by the solid line in FIG. 14), the width of the enlarged left clear line is calculated from the interval TH between the center positions of the both light lines. Is subtracted from the dimension 1 / 2WH1 up to the center position of the width of the enlarged right-hand line, and the original left-side brightness is obtained from the distance TH between the center positions of the two right-hand lines. The value is the same as the value obtained by subtracting the dimension 1 / 2WH2 up to the center position of the line width and the dimension 1 / 2WH2 up to the center position of the original right clear line width, regardless of the width of the bright line. Thus, the original dark line width BW2 can always be obtained. That is, TH- (1 / 2WH1-1 / 2WH1) = TH- (1 / 2WH2-1 / 2WH2) = BH2. In contrast to the above-described configuration in which the bright line has a fixed length and the dark line has a variable length, even when the dark line has a fixed length and the bright line has a variable length, the bright line and the dark line have the dark line and the bright line. By treating it as a line, control can be applied by the light emission control means.

[実施例8(発光制御処理)]
本発明の可視光通信システムは、発光性制御手段により、例えば、図15に示すような発光制御処理を行う。詳細には、図15に示すように、STEP1で、撮像素子の垂直方向(縦方向)の画素における輝度の平均化を行う(即ち、露光ラインの上の画素を縦方向に全て同じ平均輝度にする)。詳細には、STEP1では、露光ラインの長さ方向(上下方向)に沿って、中心付近の所定画素数文(例えば、50px分)の輝度を取得して、これらの輝度値に基づき1つの平均値を算出する。ここで、露光ラインの画素数が縦方向に768pxであるとすると、768個の全ての画素の輝度を取得して、それらの輝度の合計値に基づき(合計値/768)1つの平均値を算出することもできるが、処理量軽減等の観点から、また、撮像素子においては中心部では光強度が大きくなる傾向にあることから、中心部の所定画素数文の輝度を取得して、平均値を算出するようにしている。なお、撮像素子の特性として、露光ラインの長さ方向(縦方向)において入射光の輝度に差が生じることから、STEP1のように、縦方向においても輝度差を平均化する処理を実行するようにしている。
[Example 8 (light emission control processing)]
In the visible light communication system of the present invention, the light emission control means performs, for example, light emission control processing as shown in FIG. More specifically, as shown in FIG. 15, in STEP1, the luminance of the pixels in the vertical direction (vertical direction) of the image sensor is averaged (that is, all the pixels on the exposure line have the same average luminance in the vertical direction). Do). More specifically, in STEP 1, the luminance of a predetermined number of pixels (for example, 50 px) near the center is acquired along the length direction (vertical direction) of the exposure line, and one average is obtained based on these luminance values. Calculate the value. Here, assuming that the number of pixels of the exposure line is 768 px in the vertical direction, the luminance of all 768 pixels is obtained, and one average value is calculated based on the total value of the luminance (total value / 768). Although it can be calculated, from the viewpoint of reducing the processing amount and the like, and since the light intensity tends to increase in the central portion of the image sensor, the luminance of a predetermined number of pixels in the central portion is obtained, and the average is obtained. The value is calculated. Note that, as a characteristic of the image sensor, since a difference occurs in the luminance of the incident light in the length direction (vertical direction) of the exposure line, a process of averaging the luminance difference in the vertical direction as in STEP 1 is performed. I have to.

次に、STEP2で、撮像素子の水平方向の撮像領域(有効画素範囲)をn分割してそれらの撮像領域について、それぞれ、(平均値−標準偏差/2)を閾値の候補(仮閾値)として設定する。この場合、例えば、n=3に設定する。即ち、撮像素子に明暗線(ストライプ)を生成する場合、撮像素子の横方向(水平方向、走査方向)において、中心付近と周辺での輝度の差があるため、これを平均化して標準化する。例えば、撮像素子の画素数が水平方向1080pxの場合、1080pxを3つの領域に分けて3つの値を算出する。なお、上記n分割は例えば3分割とすることができるが、その他の分割数としてもよい。そして、n領域の各領域において、平均値−標準偏差/2を仮閾値として設定する。   Next, in STEP2, the horizontal imaging region (effective pixel range) of the imaging device is divided into n, and (average value−standard deviation / 2) is set as a threshold candidate (temporary threshold) for each of those imaging regions. Set. In this case, for example, n = 3. That is, when a light-dark line (stripe) is generated in the image sensor, there is a difference in luminance between the vicinity of the center and the periphery in the horizontal direction (horizontal direction, scanning direction) of the image sensor. For example, when the number of pixels of the image sensor is 1080 px in the horizontal direction, three values are calculated by dividing 1080 px into three regions. Note that the above n division can be, for example, three divisions, but may be another division number. Then, in each of the n regions, the average value−standard deviation / 2 is set as the provisional threshold.

次に、STEP3で、STEP2で得た閾値の最大値が画面の中心となり、最小値が画面の外側になるように線形に補完し、閾値を画素分(例えば、水平方向1080pxの場合は1080個)求める。このとき、STEP2の仮閾値の最大値と最小値を使用する(中間値は使用しない)。即ち、撮像素子の特性として、画面中央の方が光の強度が相対的に大きくなるため、画面中央の閾値を最大値とし、画面の周辺は光の強度が想定的に小さくなるため、画面周辺の閾値を最小値とする。このようにして、画面の左右前置にわたって等分に閾値が変わるようにする。なお、このとき、処理量の軽減等の理由により、まず、水平方向の全ての画素ではなく中央部分の所定数の画素(例えば、100px分の画素)について計算を行う。そして、その後、線形補完により、全ピクセル分(1080)について閾値を出す。   Next, in step 3, linear interpolation is performed so that the maximum value of the threshold value obtained in step 2 is the center of the screen and the minimum value is outside the screen, and the threshold value is set to the number of pixels (for example, 1080 pixels in the horizontal direction of 1080 px). )Ask. At this time, the maximum value and the minimum value of the provisional threshold value in STEP 2 are used (intermediate values are not used). That is, as the characteristics of the image pickup device, the light intensity is relatively large in the center of the screen, so that the threshold value in the center of the screen is set to the maximum value. Is the minimum value. In this way, the threshold value is changed evenly over the left and right fronts of the screen. At this time, for reasons such as reduction of the processing amount, first, the calculation is performed not on all the pixels in the horizontal direction but on a predetermined number of pixels in the central portion (for example, pixels for 100 px). Then, a threshold value is set for all pixels (1080) by linear interpolation.

次に、STEP4で、STEP3で求めた値を閾値にして、各画素について2値化を行う。即ち、画素を水平方向に走査して全ピクセルの輝度を閾値と比較し、閾値より大きければ白(1)、小さければ黒(0)と判断する。   Next, in STEP4, binarization is performed for each pixel using the value obtained in STEP3 as a threshold. That is, the pixels are scanned in the horizontal direction, and the luminance of all the pixels is compared with a threshold. If the luminance is larger than the threshold, white (1) is determined, and if smaller, black (0) is determined.

次に、STEP5で、2値化した画像の1列を走査して(黒+白)の幅を数列化する。このとき、任意の水平方向の一列の画素を走査して、黒が何個あるかを数え、数列化する(数列として保持する)。なお、白は一定間隔に設定されているため、白に対応する画素の数は一定数となる。例えば、黒5、白、黒6、白、黒3、白・・・のように連続する場合、(5,2,6,2,3,2,・・・)のような数列化を行う。   Next, in STEP 5, one column of the binarized image is scanned to convert the (black + white) width into several columns. At this time, one row of pixels in an arbitrary horizontal direction is scanned, the number of blacks is counted, and a number is formed (stored as a number). Since white is set at a constant interval, the number of pixels corresponding to white is constant. For example, in the case of continuous black 5, white, black 6, white, black 3, white..., A sequence such as (5, 2, 6, 2, 3, 2,...) Is performed. .

次に、STEP6において、STEP5で得られた数列が送信コードかどうか判定する。この場合、数列の最小値から2つの数が6つおきに配置されるかどうかを判定する。詳細には、数列の最小値から2つの数、即ち、プリコードとして最初に表れる最小値の黒(200ms分)と、その次の白の組合せからなるストライプ(黒白2本の線)が、6つおきに表れるかどうか判断し、6つおきの場合、送信コードと判定する。異なる数値の場合、送信コードを正常に読取れなかったと判断する。   Next, in STEP 6, it is determined whether or not the sequence obtained in STEP 5 is a transmission code. In this case, it is determined whether two numbers are arranged at intervals of six from the minimum value of the sequence. In detail, two stripes from the minimum value of the sequence, that is, the minimum value of black (200 ms) first appearing as a precode and the next stripe of a combination of white (two black and white lines) are 6 It is determined whether or not it appears every other word, and in the case of every six, it is determined to be a transmission code. If the values are different, it is determined that the transmission code could not be read normally.

次に、STEP7において、STEP6で得られたコードの候補の6つの数字を時間に置き換える。(黒の最小値が200usであるため。)例えば、1ピクセル分の時間がt=20μs/pxである場合、各数字の数値にt=20を乗算して、点灯時間及び消灯時間として算出する。   Next, in STEP 7, the six numbers of the code candidates obtained in STEP 6 are replaced with time. (Because the minimum value of black is 200 us.) For example, when the time for one pixel is t = 20 μs / px, the numerical value of each number is multiplied by t = 20 to calculate the lighting time and the lighting time. .

次に、STEP8において、STEP7で得られた時間を分解能に対応する所定数(例えば、「50」)で割って送信数列にする。なお、この所定数は「50」以外の数とすることができるが、本発明者らが現在の送信数列の分解能を実験結果により確認した結果、50μsが最小値となることが判明したため、分解能として設定している。また、この分解能に対応する所定数は、カメラや撮像素子の性能によって相違する数値となる。   Next, in STEP 8, the time obtained in STEP 7 is divided by a predetermined number (for example, “50”) corresponding to the resolution to form a transmission sequence. The predetermined number can be a number other than “50”. However, as a result of the present inventors confirming the resolution of the current transmission sequence by experimental results, it has been found that 50 μs is the minimum value. Is set as The predetermined number corresponding to the resolution is a numerical value that differs depending on the performance of the camera and the image sensor.

次に、STEP9において、STEP8でのチェックデジットを計算する。即ち、送信コードの最終ビットに基づきチェックデジットを計算する。   Next, in STEP 9, the check digit in STEP 8 is calculated. That is, a check digit is calculated based on the last bit of the transmission code.

次に、STEP10で、チェックデジットが正しかったらテーブルから対応するコードをを探す。なお、このテーブルは、コードと数列との対応表である。   Next, in STEP 10, if the check digit is correct, a corresponding code is searched from the table. This table is a correspondence table between codes and numerical sequences.

STEP7及びSTEP10で、「NO」の場合、STEP12及びSTEP13の例外処理に移行する。   In the case of “NO” in STEP7 and STEP10, the process proceeds to the exception process of STEP12 and STEP13.

なお、本発明では、コードとしては、ON時間(白)、OFF時間(黒)とし、白+黒をストライプと称している。また、白の間隔は一定に設定し(固定長とし)、黒の最小値は200μsに設定している。また、6ストライプで1つのコードを表す(先頭+コード部(4本)+チェックデジット(1本))ようにしている。更に、最初のストライプは、最小値(200us)としている。また、黒は600usを基準にして、図16の表のように時間的なずらしを加えている。具体的には、コードを、50us区切りで16段階作成すると、OFF時間は200us(最小)及び1000us(最大)となる。また、データ部分の単位合計が「50」になるようにしている(明るさが一定になるようにしている)。これは、1つの数字あたりが16通りの場合、4つの数字の合計の組み合わせが一番多い場合が「50(2736通り)」となるためである。   In the present invention, codes are an ON time (white) and an OFF time (black), and white + black is called a stripe. The white interval is set to be constant (fixed length), and the minimum value for black is set to 200 μs. Also, one code is represented by six stripes (head + code part (four) + check digit (one)). Further, the first stripe has a minimum value (200 us). Black is time-shifted with reference to 600 us as shown in the table of FIG. More specifically, if a code is created in 16 steps at intervals of 50 us, the OFF time is 200 us (minimum) and 1000 us (maximum). Further, the unit sum of the data portion is set to “50” (the brightness is kept constant). This is because “50 (2736 kinds)” is the case where the number of combinations of the four numbers is the largest when there are 16 ways per one number.

送信する数列は、送信時は5から20までの16種類である。また、5つの数字をセットにし(X1,X2,X3,X4,CD)、(X1+X2+X3+X4=50)になるものをコードとして採用している(全2736種類)。また、誤り検出のためにチェックデジット(CD)を計算している。CDの計算に関しては、便宜上、X1,X2,X3,X4を0から15として扱う(コードの値から5を引いたもの)。また、計算式は、CD=(X1−X2+16)%4+((X3−X4+16)%4)*4である。また、この計算式で得られるCDの分布は、図17の表の左側部に示すとおりであり、更にCDの2進数表記を(d3,d2,d1,d0)とした時にd0が「0」になるようにしている。これにより、d3,d2=(0,1)又は(1,1)のときにd0を反転させることで、図17の表の左側部に示すとおりとなる。   The sequence to be transmitted is 16 types from 5 to 20 at the time of transmission. A set of five numbers (X1, X2, X3, X4, CD) and (X1 + X2 + X3 + X4 = 50) are adopted as codes (total 2736 types). Also, a check digit (CD) is calculated for error detection. Regarding the calculation of CD, for convenience, X1, X2, X3, and X4 are treated as 0 to 15 (the value of the code minus 5). The calculation formula is CD = (X1-X2 + 16)% 4 + ((X3-X4 + 16)% 4) * 4. The distribution of CD obtained by this formula is as shown on the left side of the table in FIG. 17, and when the binary notation of CD is (d3, d2, d1, d0), d0 is "0". I am trying to be. Thus, by inverting d0 when d3, d2 = (0, 1) or (1, 1), the result is as shown on the left side of the table in FIG.

[実施の形態2:カード型発光装置]
本発明の可視光通信システムは、図18に示す実施の形態2の発光部としての発光装置として具体化することができる。詳細には、発光装置200は、シート状又はカード状の基体201の内部に、(上記発光制御手段に相当する)マイコンチップ202と、電源203と、光源としてのLED204とを実装し、マイコンチップ202からの発光制御によりLED204を上記した所定の態様で点滅発光制御する。また、LED204の表面側には拡散層がLED204を覆うように設けられ、LED204からの点滅光を拡散して放射するようになっている。
[Embodiment 2: Card type light emitting device]
The visible light communication system of the present invention can be embodied as a light emitting device as a light emitting unit of Embodiment 2 shown in FIG. More specifically, the light emitting device 200 has a microcomputer chip 202 (corresponding to the light emission control means), a power supply 203, and an LED 204 as a light source mounted inside a sheet-shaped or card-shaped substrate 201. The flash control of the LED 204 is performed by the light emission control from the LED 202 in the above-described predetermined mode. In addition, a diffusion layer is provided on the surface side of the LED 204 so as to cover the LED 204, and diffuses and emits blinking light from the LED 204.

[実施の形態3:電球型発光装置]
本発明の可視光通信システムは、図19に示す実施の形態3の発光部としての発光装置として具体化することができる。詳細には、発光装置300は、通常の電球と同様の構成のソケット部301、電球部302及び発光部303を備え、電球部302及び発光部303の内部に、基板304を配設すると共に、基板304に、光源としてのLED305と、(上記発光制御手段に相当する)マイコンチップ306とを実装し、マイコンチップ306からの発光制御によりLED305を上記した所定の態様で点滅発光制御する。
[Embodiment 3: Light bulb type light emitting device]
The visible light communication system of the present invention can be embodied as a light emitting device as a light emitting unit of Embodiment 3 shown in FIG. Specifically, the light emitting device 300 includes a socket part 301, a light bulb part 302, and a light emitting part 303 having the same configuration as a normal light bulb, and a substrate 304 is disposed inside the light bulb part 302 and the light emitting part 303. An LED 305 as a light source and a microcomputer chip 306 (corresponding to the light emission control means) are mounted on the substrate 304, and the light emission control from the microcomputer chip 306 controls the LED 305 to blink in a predetermined manner as described above.

[実施の形態4:プロジェクタ型発光装置]
本発明の可視光通信システムは、図20に示す実施の形態4の発光部としての発光装置として具体化することができる。詳細には、発光装置400は、通常のプロジェクタと同様の構成の基体401及びレンズ402を備え、基体401の内部に、(上記発光制御手段に相当する)マイコンチップ(図示略)を実装し、マイコンチップからの発光制御によりプロジェクタに内装した光源からの光を、上記した所定の態様で点滅発光制御する。また、発光装置400は、基体401の所定位置にスロット403を設け、所定形状(例えば、コイン型又はメダル型)の識別子提供装置410をスロット403に挿入することにより、識別子提供装置410に固有の識別子411を認識して、識別子411に応じた発光制御態様でレンズ402から前記点滅光セットに対応する点滅光を出力するようになっている。
[Embodiment 4: Projector type light emitting device]
The visible light communication system of the present invention can be embodied as a light emitting device as a light emitting unit of Embodiment 4 shown in FIG. Specifically, the light emitting device 400 includes a base 401 and a lens 402 having the same configuration as a normal projector, and a microcomputer chip (not shown) (corresponding to the light emission control unit) is mounted inside the base 401. The light emission from the light source incorporated in the projector is controlled by the light emission control from the microcomputer chip to blink and emit light in the above-described predetermined mode. The light emitting device 400 has a slot 403 at a predetermined position on the base 401, and inserts the identifier providing device 410 having a predetermined shape (for example, a coin type or a medal type) into the slot 403, thereby providing a unique identifier for the identifier providing device 410. Recognizing the identifier 411, the lens 402 outputs a blinking light corresponding to the blinking light set in a light emission control mode corresponding to the identifier 411.

[実施の形態5:コイン型発光装置]
本発明の可視光通信システムは、図21に示す実施の形態5の発光部としての発光装置として具体化することができる。詳細には、発光装置500は、コイン型の基体501の内部に、(上記発光制御手段に相当する)マイコンチップ502と、電源503と、光源としてのLED504とを実装し、マイコンチップ502からの発光制御によりLED504を上記した所定の態様で点滅発光制御する。また、マイコンチップ502の記憶部に、所定の通貨情報を格納しており、前記点滅光は、この通貨情報に対応したコード情報を提供するような点滅光セットとして出力される。
[Embodiment 5: coin-type light emitting device]
The visible light communication system of the present invention can be embodied as a light emitting device as a light emitting unit of Embodiment 5 shown in FIG. More specifically, the light emitting device 500 has a microcomputer chip 502 (corresponding to the above light emission control means), a power supply 503, and an LED 504 as a light source mounted inside a coin-shaped base 501. By the light emission control, the LED 504 is controlled to blink in a predetermined manner as described above. Further, predetermined currency information is stored in the storage unit of the microcomputer chip 502, and the blinking light is output as a blinking light set that provides code information corresponding to the currency information.

[実施の形態6:鍵型発光装置]
本発明の可視光通信システムは、図22に示す実施の形態6の発光部としての発光装置として具体化することができる。詳細には、発光装置600は、把持部601及び鍵部602を備え、把持部601の内部に、電源603と、(上記発光制御手段に相当する)マイコンチップ604とを実装すると共に、鍵部602の先端にLED606を実装し、マイコンチップ603からの発光制御によりLED606を、上記した所定の態様で点滅発光制御する。また、タブレットやスマートフォン等の携帯端末装置620のカメラレンズ部分に対応する位置には(3Dプリンタ等で製作した)嵌合部610が装着され、嵌合部610の鍵孔611に、発光装置600の鍵部602の先端を差し込んで嵌合することで、タブレット620がLED606からの点滅光パターンを認識して、その点滅光パターンに応じた動作を行うようになっている。
[Embodiment 6: Key type light emitting device]
The visible light communication system of the present invention can be embodied as a light emitting device as a light emitting unit of Embodiment 6 shown in FIG. More specifically, the light emitting device 600 includes a grip 601 and a key 602, and a power supply 603 and a microcomputer chip 604 (equivalent to the light emission control unit) are mounted inside the grip 601, and a key The LED 606 is mounted on the tip of the 602, and the LED 606 is controlled to emit light by blinking in the above-described predetermined mode by controlling the light emission from the microcomputer chip 603. A fitting portion 610 (manufactured by a 3D printer or the like) is attached to a position corresponding to a camera lens portion of a portable terminal device 620 such as a tablet or a smartphone. The tablet 620 recognizes the blinking light pattern from the LED 606 and performs an operation according to the blinking light pattern by inserting and fitting the tip of the key portion 602.

[実施の形態7:ボール型発光装置]
本発明の可視光通信システムは、図23に示す実施の形態7の発光部としての発光装置として具体化することができる。詳細には、発光装置700は、球状の基部701を備え、基部701の内部に、電源702と、(上記発光制御手段に相当する)マイコンチップ703と、LED705とを実装し、マイコンチップ703からの発光制御によりLED705を、上記した所定の態様で点滅発光制御する。また、基部701の内部には、図示はしないが、近距離無線通信装置が内蔵されている。更に、任意の位置に隠蔽状態で配置した発光装置700を、タブレットやスマートフォン等の携帯端末装置710が、そのGPS機能や近距離無線通信技術を使用して探索し、所定のアプリによりディスプレイ711に表示した探索画面720の探索領域721上に、探索した発光装置700の位置722を表示する。そして、探索された発光装置700のLED705から、その発光装置700に固有のパターンの点滅光セットを出力することで、携帯端末装置701がその点滅光セットに対応するコードを取得し、そのコードに応じた動作を実行する。
[Embodiment 7: Ball type light emitting device]
The visible light communication system of the present invention can be embodied as a light emitting device as a light emitting unit of Embodiment 7 shown in FIG. Specifically, the light emitting device 700 includes a spherical base 701, and a power supply 702, a microcomputer chip 703 (corresponding to the light emission control unit), and an LED 705 are mounted inside the base 701. LED 705 is controlled to blink in a predetermined manner as described above. Although not shown, a short-range wireless communication device is built in the base 701. Furthermore, the portable terminal device 710 such as a tablet or a smartphone searches for the light emitting device 700 arranged in a concealed state at an arbitrary position using its GPS function or short-range wireless communication technology, and displays it on the display 711 by a predetermined application. The searched position 722 of the light emitting device 700 is displayed on the search area 721 of the displayed search screen 720. Then, by outputting a blinking light set of a pattern unique to the light emitting device 700 from the LED 705 of the searched light emitting device 700, the portable terminal device 701 acquires a code corresponding to the blinking light set, and Perform the corresponding action.

10:発光部(発光側装置)
11:光源
20:発光部側制御ユニット(発光部側制御手段)
50:受光部(受光側装置)
60:カメラモジュール
80:CMOSイメージセンサ(撮像素子)
90:受光部側制御ユニット(受光部側制御手段)
10: Light emitting unit (light emitting side device)
11: Light source 20: Light emitting unit side control unit (light emitting unit side control means)
50: Light receiving unit (light receiving side device)
60: Camera module 80: CMOS image sensor (imaging device)
90: light receiving unit side control unit (light receiving unit side control means)

Claims (9)

発光側装置と受光側装置とからなる可視光通信システムであって、
前記発光側装置は、
発光素子からなる光源と、
前記光源からの光を直接的にまたは間接的に所定の態様で出力するように制御する発光側制御手段とを備え、
前記受光側装置は、
前記光源の光を受光して、その受光イメージを経時的に位置をずらしながら異なる画素に露光して撮像し、その撮像データを出力する撮像素子と、
前記撮像素子からの撮像データを入力し、前記撮像データに基づき所定の制御を行う受光側制御手段とを備え、
前記発光側制御手段は、
前記光源からの光を直接的に又は間接的に使用して、所定の複数個の点滅光を出力すると共に、前記複数個の点滅光の点滅間隔を、それぞれ、固有の点滅間隔とすることで、前記複数個の点滅光を符号化してその符号化データを出力し、
前記受光側制御手段は、
前記光源からの前記複数個の点滅光を前記撮像素子に入力して、前記撮像素子により、前記複数の点滅光のそれぞれの固有の点滅間隔に対応するパターンを撮像し、そのパターンを出力して、そのパターンに基づき、前記点滅光からの符号化データを復号化し、
前記発光側制御手段は、更に、前記撮像素子の解像度に応じて、前記点滅光の各点灯時間及び各消灯時間が、前記撮像素子の複数画素にわたる露光時間以上の時間となるよう、前記点滅光の点滅間隔を設定して、前記点滅間隔の点滅光により所定の点滅光セットを構成し、
前記発光側制御手段は、前記撮像素子の1回の走査時間内に撮像される前記点滅光セットの点滅光の数である1走査時間内点滅光数が、少なくとも、1組の前記点滅光セットの点滅光の総数の2倍より1少ない数となるよう、前記点滅光セットの点滅制御を行うことを特徴とする可視光通信システム。
A visible light communication system including a light emitting side device and a light receiving side device,
The light emitting side device,
A light source comprising a light emitting element,
Light-emitting side control means for controlling to output light from the light source directly or indirectly in a predetermined manner,
The light receiving side device,
An image sensor that receives light from the light source, exposes the received light image to different pixels while shifting the position over time to capture an image, and outputs the captured data;
Light receiving side control means for inputting image data from the image sensor and performing predetermined control based on the image data,
The light emitting side control means,
By directly or indirectly using the light from the light source, and outputting a plurality of predetermined blinking lights, the blinking intervals of the plurality of blinking lights, respectively, by a unique blinking interval. Encoding the plurality of blinking lights and outputting the encoded data;
The light receiving side control means,
The plurality of blinking lights from the light source are input to the imaging device, and the imaging device captures an image of a pattern corresponding to a unique blinking interval of each of the plurality of blinking lights, and outputs the pattern. Decoding the encoded data from the blinking light based on the pattern,
The light-emitting-side control means further includes: a lighting time and a lighting-off time of the blinking light corresponding to a resolution of the image sensor such that the blinking light is longer than an exposure time over a plurality of pixels of the image sensor. Set the blinking interval, configure a predetermined blinking light set by the blinking light of the blinking interval,
The light-emitting-side control means may include at least one set of the blinking light set, wherein the number of blinking lights within one scanning time, which is the number of blinking lights of the blinking light set imaged within one scanning time of the image sensor, A blinking light set, wherein the blinking light set is controlled to be one less than twice the total number of blinking lights.
前記受光側制御手段は、
前記光源からの光を直接的に又は間接的に使用して前記点滅光セットの複数個の点滅光を前記撮像素子に入力して、前記撮像素子により、前記点滅光セットの複数個の点滅光のそれぞれの固有の点滅間隔に対応するパターンを撮像し、そのパターンを出力して、そのパターンに基づき、前記点滅光からの符号化データを復号化して復号化データを出力することを特徴とする請求項1記載の可視光通信システム。
The light receiving side control means,
Using the light from the light source directly or indirectly, inputting the plurality of blinking lights of the blinking light set to the image sensor, and the image sensor causes the plurality of blinking lights of the blinking light set to enter. Capturing a pattern corresponding to each unique blinking interval, outputting the pattern, decoding decoded data from the blinking light based on the pattern, and outputting decoded data. The visible light communication system according to claim 1.
前記発光側制御手段は、
前記光源からの光を直接的に又は間接的に使用して、前記撮像素子の1フレーム分の走査時間内に、前記撮像素子の露光ラインの複数本に相当する所定の複数個の点滅光を出力すると共に、前記複数個の点滅光の点滅間隔を、それぞれ、前記点滅光セットに固有の点滅間隔とすることで、前記複数個の点滅光を符号化してその符号化データを出力し、
前記受光側制御手段は、
前記複数個の点滅光を前記撮像素子に入力して、前記撮像素子により、前記点滅光セットの複数個の点滅光と同一数の明暗線からなると共に、前記点滅光セットの複数個の点滅光のそれぞれの固有の点滅間隔に対応する幅をそれぞれ有する明暗線パターンを撮像し、その明暗線パターンを出力して、その明暗線パターンに基づき、前記点滅光からの符号化データを復号化して復号化データを出力することを特徴とする請求項1記載の可視光通信システム。
The light emitting side control means,
Using the light from the light source directly or indirectly, within a scanning time of one frame of the image sensor, a predetermined plurality of blinking lights corresponding to a plurality of exposure lines of the image sensor. And outputting the blinking intervals of the plurality of blinking lights, each of which is a blinking interval unique to the blinking light set, thereby encoding the plurality of blinking lights and outputting encoded data thereof.
The light receiving side control means,
The plurality of blinking lights are input to the image sensor, and the imager includes a plurality of blinking lights of the blinking light set, the same number of bright and dark lines as the plurality of blinking lights of the blinking light set. Image a light-dark line pattern having a width corresponding to each unique blinking interval, output the light-dark line pattern, and decode and decode encoded data from the blinking light based on the light-dark line pattern. 2. The visible light communication system according to claim 1, wherein the visible light communication system outputs digitized data.
前記発光側制御手段は、
前記光源を所定の点滅タイミングで連続的に点滅駆動する点滅駆動手段と、
前記撮像素子の1フレーム分の走査時間内に、所定の点滅周期の点滅光が2以上の所定の複数からなるフレーム内点滅数以上包含されるように、前記点滅光の所定の点滅タイミングを設定する点滅タイミング設定手段と、
前記点滅光において、前記フレーム内点滅数の範囲内で、所定の複数だけ連続する一連の点滅光の集合を、前記点滅光の複数個と同一数である点滅光セットとして設定すると共に、前記点滅光セットの各々の点滅光について、そのオン時間とオフ時間のうちの少なくともいずれか一方を、前記点滅光の所定の点滅タイミングにおける初期設定値を基準として増減調整した所定の時間間隔である駆動用設定値に設定することで、前記点滅光セットの各々の点滅光の点滅間隔を駆動用点滅間隔へと設定する点滅光セット設定手段と、
前記点滅駆動手段による前記光源の点滅駆動を制御して、前記点滅光セットの各々の点滅光の点滅間隔が前記駆動用点滅間隔となるように変調する変調手段とを備え、
前記変調手段により変調した点滅光により前記光源を発光駆動することを特徴とする請求項2記載の可視光通信システム。
The light emitting side control means,
Blinking driving means for continuously blinking the light source at a predetermined blinking timing,
A predetermined blinking timing of the blinking light is set such that a blinking light having a prescribed blinking cycle is included in a scanning time for one frame of the image sensor, the number of blinking being more than two in a plurality of frames. Blinking timing setting means for
In the blinking light, a set of a series of blinking lights continuous by a predetermined number within the range of the blinking number in the frame is set as a blinking light set having the same number as the plurality of blinking lights, and the blinking light is set. For each blinking light of the light set, at least one of the on time and the off time is a predetermined time interval obtained by increasing or decreasing the blinking light based on an initial set value at a predetermined blinking timing of the blinking light. By setting to a set value, blinking light set setting means for setting the blinking interval of each blinking light of the blinking light set to the drive blinking interval,
Modulating means for controlling the blinking drive of the light source by the blinking drive means, and modulating the blinking interval of each blinking light of the blinking light set to be the driving blinking interval,
3. The visible light communication system according to claim 2, wherein the light source is driven to emit light by blinking light modulated by the modulation unit.
前記受光側装置は、
前記光源からの前記駆動用点滅間隔で点滅する点滅光を前記撮像素子により撮像することで、前記撮像素子の前記固有の特性を利用して、前記撮像素子による撮像イメージとして、前記点滅光セットの各点滅光のオン時間部分を直線状の明線とすると共にオフ時間部分を直線状の暗線とし、前記点滅光セットの点滅数に対応する数の前記明線及び前記暗線が交互に連続的に繰り返すストライプ状のパターンとなる縞模様イメージを撮像し、かつ、前記縞模様イメージにおける前記明線の各々の幅が、当該明線の元となる点滅光のオン時間部分に対する前記駆動用設定値に対応する幅となると共に、前記縞模様イメージにおける前記暗線の各々の幅が、当該暗線の元となる点滅光のオフ時間部分に対する前記駆動用設定値に対応する幅となるようにして、その縞模様イメージを前記点滅光セットのパターンデータとして前記撮像素子から出力し、
前記受光側制御手段は、前記撮像素子からの前記縞模様イメージからなる点滅光セットのパターンデータを入力し、そのパターンデータに基づき、コンピュータ装置に対応する所定の処理を実行させる指令を出力することを特徴とする請求項4記載の可視光通信装置。
The light receiving side device,
By imaging the blinking light that blinks at the drive blinking interval from the light source with the image sensor, utilizing the unique characteristic of the image sensor, as an image captured by the image sensor, the blinking light set The on-time portion of each flashing light is a linear bright line and the off-time portion is a linear dark line, and the number of the bright lines and the dark lines corresponding to the number of flashes of the flashing light set are alternately and continuously. An image of a stripe pattern image to be a repeating stripe pattern is taken, and the width of each of the bright lines in the stripe pattern image is set to the drive setting value for the on-time portion of the blinking light that is the source of the bright line. In addition to the corresponding width, the width of each of the dark lines in the striped image is the width corresponding to the drive setting value for the off-time portion of the blinking light that is the source of the dark line. The to and output from the imaging element the stripes image as pattern data of the flashing light set,
The light-receiving-side control means inputs pattern data of a blinking light set including the striped pattern image from the imaging element, and outputs a command for causing a computer device to execute a predetermined process based on the pattern data. The visible light communication device according to claim 4, wherein:
前記発光側装置の撮像素子は、前記光源の光を受光して、ライン露光により、その受光イメージを一定時間ごとに所定の方向に位置をずらしながら走査して撮像し、その撮像データを出力するCMOSイメージセンサであり、
前記発光側制御手段は、
前記光源を所定の点滅周期で連続的に点滅駆動する点滅駆動手段と、
前記CMOSイメージセンサの1フレーム分の走査時間内に、所定の点滅周期の点滅光が2以上の所定の複数からなるフレーム内点滅数以上包含されるように、前記点滅光の所定の点滅周期を設定する点滅周期設定手段と、
前記点滅光において、前記フレーム内点滅数の範囲内で、所定の複数だけ連続する一連の点滅光の集合を、前記点滅光の複数個と同一数である点滅光セットとして設定すると共に、前記点滅光セットの各々の点滅光について、そのオン時間とオフ時間のうちの少なくともいずれか一方を、前記点滅光の所定の点滅タイミングにおける初期設定値を基準として増減調整した所定の時間間隔である駆動用設定値に設定することで、前記点滅光セットの各々の点滅光の点滅間隔を駆動用点滅間隔へと設定する点滅光セット設定手段と、
前記点滅駆動手段による前記光源の点滅駆動用の電力を、前記点滅光セットの各々の点滅光の点滅間隔が前記駆動用点滅間隔となるように変調する変調手段と、
前記変調手段からの点滅駆動用の電力を前記光源に供給して前記光源を発光駆動する発光駆動手段とを備えることを特徴とする請求項2記載の可視光通信システム。
The image pickup device of the light emitting side device receives the light of the light source, scans the received light image by shifting the position in a predetermined direction at regular time intervals by a line exposure, and outputs the image pickup data. A CMOS image sensor,
The light emitting side control means,
Blinking driving means for continuously blinking the light source at a predetermined blinking cycle,
The predetermined blinking cycle of the blinking light is set so that the blinking light of the prescribed blinking cycle is included in the scanning time for one frame of the CMOS image sensor by the number of blinks in the frame composed of two or more predetermined pluralities. Blinking period setting means to be set;
In the blinking light, a set of a series of blinking lights continuous by a predetermined number within the range of the blinking number in the frame is set as a blinking light set having the same number as the plurality of blinking lights, and the blinking light is set. For each blinking light of the light set, at least one of the on time and the off time is a predetermined time interval obtained by increasing or decreasing the blinking light based on an initial set value at a predetermined blinking timing of the blinking light. By setting to a set value, blinking light set setting means for setting the blinking interval of each blinking light of the blinking light set to the drive blinking interval,
Modulating means for modulating the power for blinking driving of the light source by the blinking driving means, so that the blinking interval of each blinking light of the blinking light set is the driving blinking interval,
3. The visible light communication system according to claim 2, further comprising: a light emission drive unit that supplies power for blinking drive from the modulation unit to the light source to drive the light source to emit light.
前記受光側装置は、
前記光源からの前記駆動用点滅間隔で点滅する点滅光を前記CMOSイメージセンサにより撮像することで、前記CMOSイメージセンサのライン露光による固有の特性を利用して、前記CMOSイメージセンサによる撮像イメージとして、前記点滅光セットの各点滅光のオン時間部分を直線状の明線とすると共にオフ時間部分を直線状の暗線とし、前記点滅光セットの点滅数に対応する数の前記明線及び前記暗線が交互に連続的に繰り返すストライプ状のパターンとなる縞模様イメージを撮像し、かつ、前記縞模様イメージにおける前記明線の各々の幅が、当該明線の元となる点滅光のオン時間部分に対する前記駆動用設定値に対応する幅となると共に、前記縞模様イメージにおける前記暗線の各々の幅が、当該暗線の元となる点滅光のオフ時間部分に対する前記駆動用設定値に対応する幅となるようにして、その縞模様イメージを前記点滅光セットのパターンデータとして前記CMOSイメージセンサから出力し、
前記受光側制御手段は、前記CMOSイメージセンサからの前記縞模様イメージからなる点滅光セットのパターンデータを入力し、そのパターンデータに基づき、コンピュータ装置に対応する所定の処理を実行させる指令を出力することを特徴とする請求項6記載の可視光通信装置。
The light receiving side device,
By imaging the flashing light that flashes at the drive flashing interval from the light source with the CMOS image sensor, utilizing the unique characteristics of the CMOS image sensor by line exposure, as an image captured by the CMOS image sensor, The on-time portion of each flashing light set of the flashing light set is a linear bright line and the off-time portion is a linear dark line, and the number of the bright lines and the dark lines corresponding to the number of flashes of the flashing light set is An image of a stripe pattern that is a stripe pattern that is alternately and continuously repeated is taken, and the width of each of the bright lines in the stripe pattern image is the width of the on-time portion of the blinking light that is the source of the bright line. The width corresponding to the set value for driving and the width of each of the dark lines in the striped pattern image correspond to the width of the blinking light that is the source of the dark line. As a width corresponding to the driving set value for the time portion, and output from the CMOS image sensor that striped image as pattern data of the flashing light set,
The light receiving side control means inputs pattern data of a blinking light set including the striped pattern image from the CMOS image sensor, and outputs a command for executing a predetermined process corresponding to a computer device based on the pattern data. 7. The visible light communication device according to claim 6, wherein:
発光側装置と受光側装置とからなる可視光通信システムであって、
前記発光側装置は、
発光素子からなる光源と、
前記光源からの光を直接的にまたは間接的に所定の態様で出力するように制御する発光側制御手段とを備え、
前記受光側装置は、
前記光源の光を受光して、その受光イメージを経時的に位置をずらしながら異なる画素に露光して撮像し、その撮像データを出力する撮像素子と、
前記撮像素子からの撮像データを入力し、前記撮像データに基づき所定の制御を行う受光側制御手段とを備え、
前記発光側制御手段は、
前記光源からの光を直接的に又は間接的に使用して、所定の複数個の点滅光を出力すると共に、前記複数個の点滅光の点滅間隔を、それぞれ、固有の点滅間隔とすることで、前記複数個の点滅光を符号化してその符号化データを出力し、
前記受光側制御手段は、
前記光源からの前記複数個の点滅光を前記撮像素子に入力して、前記撮像素子により、前記複数の点滅光のそれぞれの固有の点滅間隔に対応するパターンを撮像し、そのパターンを出力して、そのパターンに基づき、前記点滅光からの符号化データを復号化し、
前記発光側制御手段は、更に、前記撮像素子の解像度に応じて、前記点滅光の各点灯時間及び各消灯時間が、前記撮像素子の複数画素にわたる露光時間以上の時間となるよう、前記点滅光の点滅間隔を設定して、前記点滅間隔の点滅光により所定の点滅光セットを構成し、かつ、前記点滅光セットの各々の点滅光について、そのオン時間とオフ時間のうちの少なくともいずれか一方を、前記点滅光の所定の点滅タイミングにおける初期設定値を基準として増減調整した所定の時間間隔である駆動用設定値に設定することで、前記点滅光セットの各々の点滅光の点滅間隔を駆動用点滅間隔へと設定し、
前記受光側装置は、
前記光源からの前記駆動用点滅間隔で点滅する点滅光を前記撮像素子により撮像することで、前記撮像素子の前記固有の特性を利用して、前記撮像素子による撮像イメージとして、前記点滅光セットの各点滅光のオン時間部分を直線状の明線とすると共にオフ時間部分を直線状の暗線とし、前記点滅光セットの点滅数に対応する数の前記明線及び前記暗線が交互に連続的に繰り返すストライプ状のパターンとなる縞模様イメージを撮像し、かつ、前記縞模様イメージにおける前記明線の各々の幅が、当該明線の元となる点滅光のオン時間部分に対する前記駆動用設定値に対応する幅となると共に、前記縞模様イメージにおける前記暗線の各々の幅が、当該暗線の元となる点滅光のオフ時間部分に対する前記駆動用設定値に対応する幅となるようにして、その縞模様イメージを前記点滅光セットのパターンデータとして前記撮像素子から出力し、
前記受光側制御手段は、前記撮像素子からの前記縞模様イメージからなる点滅光セットのパターンデータを入力し、そのパターンデータに基づき、コンピュータ装置に対応する所定の処理を実行させる指令を出力し、
前記発光側制御手段は、前記撮像素子に撮像される前記明線及び前記暗線の一方の幅が一定の固定長となると共に前記明線及び前記暗線の他方の幅が可変長となるようにし、前記可変長となる前記明線及び前記暗線の他方の幅の大小により情報を表現するよう、前記点滅光のオン時間及びオフ時間の一方を固定長とすると共に他方を可変長とし、かつ、可変長となる前記点滅光のオン時間及びオフ時間の他方の時間間隔を基準値から所定単位で増減して設定して前記点滅光セットを出力することを特徴とする可視光通信装置。
A visible light communication system including a light emitting side device and a light receiving side device,
The light emitting side device,
A light source comprising a light emitting element,
Light-emitting side control means for controlling to output light from the light source directly or indirectly in a predetermined manner,
The light receiving side device,
An image sensor that receives light from the light source, exposes the received light image to different pixels while shifting the position over time to capture an image, and outputs the captured data;
Light receiving side control means for inputting image data from the image sensor and performing predetermined control based on the image data,
The light emitting side control means,
By directly or indirectly using the light from the light source, and outputting a plurality of predetermined blinking lights, the blinking intervals of the plurality of blinking lights, respectively, by a unique blinking interval. Encoding the plurality of blinking lights and outputting the encoded data;
The light receiving side control means,
The plurality of blinking lights from the light source are input to the imaging device, and the imaging device captures an image of a pattern corresponding to a unique blinking interval of each of the plurality of blinking lights, and outputs the pattern. Decoding the encoded data from the blinking light based on the pattern,
The light-emitting side control unit further includes: a flashing light, such that each lighting time and each lighting time of the flashing light is equal to or longer than an exposure time over a plurality of pixels of the imaging device, according to a resolution of the imaging device. Are set , and a predetermined blinking light set is constituted by the blinking lights of the blinking interval, and at least one of the on time and the off time of each blinking light of the blinking light set. By setting the drive setting value which is a predetermined time interval adjusted to increase or decrease based on the initial setting value at the predetermined blink timing of the blinking light, the blinking interval of each blinking light of the blinking light set is driven. To the flashing interval for
The light receiving side device,
By imaging the blinking light that blinks at the drive blinking interval from the light source with the image sensor, utilizing the unique characteristic of the image sensor, as an image captured by the image sensor, the blinking light set The on-time portion of each flashing light is a linear bright line and the off-time portion is a linear dark line, and the number of the bright lines and the dark lines corresponding to the number of flashes of the flashing light set are alternately and continuously. An image of a stripe pattern image to be a repeating stripe pattern is taken, and the width of each of the bright lines in the stripe pattern image is set to the drive setting value for the on-time portion of the blinking light that is the source of the bright line. In addition to the corresponding width, the width of each of the dark lines in the striped image is the width corresponding to the drive setting value for the off-time portion of the blinking light that is the source of the dark line. The to and output from the imaging element the stripes image as pattern data of the flashing light set,
The light-receiving-side control means inputs pattern data of a blinking light set including the striped pattern image from the imaging device, and outputs a command to execute a predetermined process corresponding to a computer device based on the pattern data,
The light-emitting side control means, so that the width of one of the bright line and the dark line imaged by the image sensor has a fixed fixed length and the other width of the bright line and the dark line has a variable length, One of the on-time and off-time of the blinking light has a fixed length and the other has a variable length, and the variable length, so that the information is represented by the width of the other of the bright line and the dark line having the variable length. A visible light communication device, characterized in that the blinking light set is output by setting the other time interval of the long on time and off time of the blinking light by increasing or decreasing a predetermined unit from a reference value.
発光側装置と受光側装置とからなる可視光通信システムであって、
前記発光側装置は、
発光素子からなる光源と、
前記光源からの光を直接的にまたは間接的に所定の態様で出力するように制御する発光側制御手段とを備え、
前記受光側装置は、
前記光源の光を受光して、その受光イメージを経時的に位置をずらしながら異なる画素に露光して撮像し、その撮像データを出力する撮像素子と、
前記撮像素子からの撮像データを入力し、前記撮像データに基づき所定の制御を行う受光側制御手段とを備え、
前記発光側制御手段は、
前記光源からの光を直接的に又は間接的に使用して、所定の複数個の点滅光を出力すると共に、前記複数個の点滅光の点滅間隔を、それぞれ、固有の点滅間隔とすることで、前記複数個の点滅光を符号化してその符号化データを出力し、
前記受光側制御手段は、
前記光源からの前記複数個の点滅光を前記撮像素子に入力して、前記撮像素子により、前記複数の点滅光のそれぞれの固有の点滅間隔に対応するパターンを撮像し、そのパターンを出力して、そのパターンに基づき、前記点滅光からの符号化データを復号化し、
前記発光側制御手段は、更に、前記撮像素子の解像度に応じて、前記点滅光の各点灯時間及び各消灯時間が、前記撮像素子の複数画素にわたる露光時間以上の時間となるよう、前記点滅光の点滅間隔を設定して、前記点滅間隔の点滅光により所定の点滅光セットを構成し、かつ、前記点滅光セットの各々の点滅光について、そのオン時間とオフ時間のうちの少なくともいずれか一方を、前記点滅光の所定の点滅タイミングにおける初期設定値を基準として増減調整した所定の時間間隔である駆動用設定値に設定することで、前記点滅光セットの各々の点滅光の点滅間隔を駆動用点滅間隔へと設定し、
前記受光側装置は、
前記光源からの前記駆動用点滅間隔で点滅する点滅光を前記撮像素子により撮像することで、前記撮像素子の前記固有の特性を利用して、前記撮像素子による撮像イメージとして、前記点滅光セットの各点滅光のオン時間部分を直線状の明線とすると共にオフ時間部分を直線状の暗線とし、前記点滅光セットの点滅数に対応する数の前記明線及び前記暗線が交互に連続的に繰り返すストライプ状のパターンとなる縞模様イメージを撮像し、かつ、前記縞模様イメージにおける前記明線の各々の幅が、当該明線の元となる点滅光のオン時間部分に対する前記駆動用設定値に対応する幅となると共に、前記縞模様イメージにおける前記暗線の各々の幅が、当該暗線の元となる点滅光のオフ時間部分に対する前記駆動用設定値に対応する幅となるようにして、その縞模様イメージを前記点滅光セットのパターンデータとして前記撮像素子から出力し、
前記受光側制御手段は、前記撮像素子からの前記縞模様イメージからなる点滅光セットのパターンデータを入力し、そのパターンデータに基づき、コンピュータ装置に対応する所定の処理を実行させる指令を出力し、
前記発光側制御手段は、前記撮像素子に撮像される前記明線の幅が一定の固定長となると共に前記暗線の幅が可変長となるようにし、前記可変長となる前記暗線の幅の大小により情報を表現するよう、前記点滅光のオン時間を固定長とすると共にオフ時間を可変長とし、かつ、可変長となる前記点滅光のオフ時間の時間間隔を基準値から所定単位で増減して設定して前記点滅光セットを出力することを特徴とする可視光通信装置。
A visible light communication system including a light emitting side device and a light receiving side device,
The light emitting side device,
A light source comprising a light emitting element,
Light-emitting side control means for controlling to output light from the light source directly or indirectly in a predetermined manner,
The light receiving side device,
An image sensor that receives light from the light source, exposes the received light image to different pixels while shifting the position over time to capture an image, and outputs the captured data;
Light receiving side control means for inputting image data from the image sensor and performing predetermined control based on the image data,
The light emitting side control means,
By directly or indirectly using the light from the light source, and outputting a plurality of predetermined blinking lights, the blinking intervals of the plurality of blinking lights, respectively, by a unique blinking interval. Encoding the plurality of blinking lights and outputting the encoded data;
The light receiving side control means,
The plurality of blinking lights from the light source are input to the imaging device, and the imaging device captures an image of a pattern corresponding to a unique blinking interval of each of the plurality of blinking lights, and outputs the pattern. Decoding the encoded data from the blinking light based on the pattern,
The light-emitting side control unit further includes: a flashing light, such that each lighting time and each lighting time of the flashing light is equal to or longer than an exposure time over a plurality of pixels of the imaging device, according to a resolution of the imaging device. Are set , and a predetermined blinking light set is constituted by the blinking lights of the blinking interval, and at least one of the on time and the off time of each blinking light of the blinking light set. By setting the drive setting value which is a predetermined time interval adjusted to increase or decrease based on the initial setting value at the predetermined blink timing of the blinking light, the blinking interval of each blinking light of the blinking light set is driven. To the flashing interval for
The light receiving side device,
By imaging the blinking light that blinks at the drive blinking interval from the light source with the image sensor, utilizing the unique characteristic of the image sensor, as an image captured by the image sensor, the blinking light set The on-time portion of each flashing light is a linear bright line and the off-time portion is a linear dark line, and the number of the bright lines and the dark lines corresponding to the number of flashes of the flashing light set are alternately and continuously. An image of a stripe pattern image to be a repeating stripe pattern is taken, and the width of each of the bright lines in the stripe pattern image is set to the drive setting value for the on-time portion of the blinking light that is the source of the bright line. In addition to the corresponding width, the width of each of the dark lines in the striped image is the width corresponding to the drive setting value for the off-time portion of the blinking light that is the source of the dark line. The to and output from the imaging element the stripes image as pattern data of the flashing light set,
The light-receiving-side control means inputs pattern data of a blinking light set including the striped pattern image from the imaging device, and outputs a command to execute a predetermined process corresponding to a computer device based on the pattern data,
The light-emitting-side control means controls the width of the bright line imaged by the image sensor to have a fixed fixed length and the width of the dark line to be a variable length. In order to express information, the on-time of the blinking light has a fixed length and the off-time has a variable length, and the time interval of the off-time of the blinking light having a variable length is increased or decreased by a predetermined unit from a reference value. And transmitting the blinking light set.
JP2015101439A 2014-05-16 2015-05-18 Visible light communication system Active JP6653128B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015101439A JP6653128B2 (en) 2014-05-16 2015-05-18 Visible light communication system

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2014102863 2014-05-16
JP2014102863 2014-05-16
JP2015101439A JP6653128B2 (en) 2014-05-16 2015-05-18 Visible light communication system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2019128821A Division JP7090233B2 (en) 2014-05-16 2019-07-10 Visible light communication system

Publications (2)

Publication Number Publication Date
JP2015233276A JP2015233276A (en) 2015-12-24
JP6653128B2 true JP6653128B2 (en) 2020-02-26

Family

ID=54934484

Family Applications (3)

Application Number Title Priority Date Filing Date
JP2015101439A Active JP6653128B2 (en) 2014-05-16 2015-05-18 Visible light communication system
JP2019128821A Active JP7090233B2 (en) 2014-05-16 2019-07-10 Visible light communication system
JP2022078459A Pending JP2022097664A (en) 2014-05-16 2022-05-11 Visible light communication system

Family Applications After (2)

Application Number Title Priority Date Filing Date
JP2019128821A Active JP7090233B2 (en) 2014-05-16 2019-07-10 Visible light communication system
JP2022078459A Pending JP2022097664A (en) 2014-05-16 2022-05-11 Visible light communication system

Country Status (1)

Country Link
JP (3) JP6653128B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3528584A4 (en) 2016-10-12 2019-11-06 Panasonic Intellectual Property Corporation of America Transmission device, reception device, communication system, transmission method, reception method, and communication method
WO2019041167A1 (en) * 2017-08-30 2019-03-07 陕西外号信息技术有限公司 Optical communication device and system, and corresponding information transmission and reception method
US10591385B2 (en) 2017-12-01 2020-03-17 Exfo Inc. Method and system for multi-fiber cable testing
US11340137B2 (en) 2017-12-01 2022-05-24 Exfo Inc. Method and system for multi-link connection testing
CN110943778B (en) * 2018-09-25 2021-12-07 北京外号信息技术有限公司 Optical communication device and method for transmitting and receiving information
JP7052696B2 (en) 2018-11-30 2022-04-12 カシオ計算機株式会社 Transmitter, transmission method and program
JP7228889B2 (en) * 2019-04-11 2023-02-27 学校法人加計学園 Visible light communication device and visible light communication method
CN111416661B (en) * 2020-01-15 2021-06-29 华中科技大学 Light path alignment method for space optical communication
CN112394322B (en) * 2020-05-27 2023-06-20 南京邮电大学 Method for realizing accurate positioning of indoor visible light communication system based on two-step method
US20240162982A1 (en) * 2021-04-02 2024-05-16 Nippon Telegraph And Telephone Corporation Optical space communication device and optical space communication method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0380719A (en) * 1989-08-24 1991-04-05 Sunx Ltd Optical communication system and its transmitting station and receiving station
JP4736397B2 (en) * 2004-10-22 2011-07-27 日本電気株式会社 Imaging device, imaging module, and portable terminal
JP4577612B2 (en) * 2005-03-30 2010-11-10 カシオ計算機株式会社 Information display system and information display method
JP4639127B2 (en) * 2005-08-31 2011-02-23 株式会社オプナス Receiving machine
JP2007274580A (en) * 2006-03-31 2007-10-18 Nakagawa Kenkyusho:Kk Visible light communication system
JP5936902B2 (en) * 2012-04-13 2016-06-22 株式会社東芝 Transmission system, transmission device and reception device
ES2668904T3 (en) * 2012-05-24 2018-05-23 Panasonic Intellectual Property Corporation Of America Information communication procedure
EP2893651B1 (en) * 2012-09-10 2016-04-20 Koninklijke Philips N.V. Light detection system and method

Also Published As

Publication number Publication date
JP7090233B2 (en) 2022-06-24
JP2015233276A (en) 2015-12-24
JP2022097664A (en) 2022-06-30
JP2019208233A (en) 2019-12-05

Similar Documents

Publication Publication Date Title
JP6653128B2 (en) Visible light communication system
US10949647B2 (en) System and method of efficient illuminator-sensor synchronization to capture images
JP6236356B2 (en) Visible light communication signal display method and display device
JP5936902B2 (en) Transmission system, transmission device and reception device
US9516295B2 (en) Systems and methods for multi-channel imaging based on multiple exposure settings
KR102278509B1 (en) Continuous video in a light deficient environment
US10194129B2 (en) Method of taking pictures for generating three-dimensional image data
US20100171875A1 (en) Imager capturing an image with a rolling shutter
CN109784120B (en) Optical code generation device, light sensation data interaction method and image acquisition device
JP6073501B2 (en) Method and apparatus for generating a variable illumination pattern infrared illumination beam
JP6373577B2 (en) Imaging control device
JP5989284B1 (en) Imaging system and light source device
KR20180057505A (en) Hidden camera prevention device
US10218439B2 (en) Optical communication device, optical communication method, and non-transitory recording medium
TWI713887B (en) Optical communication device and system and corresponding information transmission and reception method
JP7091326B2 (en) Information processing equipment and methods
CN104917938A (en) Depth camera device for mobile communication device
CN113422945A (en) Laser projection equipment and display method of projected image thereof
CN108306682B (en) Light emitting device, information transmission system, and information transmission method
US8681263B2 (en) Imager capturing an image with a rolling shutter using flicker detection
JP2020153715A (en) Ranging device and ranging method
KR101945969B1 (en) object color independence camera communication system and method thereof
JP7070530B2 (en) Information acquisition device, information acquisition method and program
US20170070712A1 (en) Lighting device, lighting system, and program
JP6307922B2 (en) Imaging system, imaging device, light emitting device, imaging method, light emitting method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180330

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20180330

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180330

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190311

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20190510

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190710

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190911

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191111

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20191226

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200127

R150 Certificate of patent or registration of utility model

Ref document number: 6653128

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250