JP2016220254A - Imaging device - Google Patents

Imaging device Download PDF

Info

Publication number
JP2016220254A
JP2016220254A JP2016179730A JP2016179730A JP2016220254A JP 2016220254 A JP2016220254 A JP 2016220254A JP 2016179730 A JP2016179730 A JP 2016179730A JP 2016179730 A JP2016179730 A JP 2016179730A JP 2016220254 A JP2016220254 A JP 2016220254A
Authority
JP
Japan
Prior art keywords
image
bus
imaging
control circuit
data
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.)
Granted
Application number
JP2016179730A
Other languages
Japanese (ja)
Other versions
JP6330873B2 (en
Inventor
田中 智憲
Tomonori Tanaka
智憲 田中
寺尾 典之
Noriyuki Terao
典之 寺尾
祥明 入野
Yoshiaki Irino
祥明 入野
亨 原田
Toru Harada
亨 原田
山本 英明
Hideaki Yamamoto
英明 山本
竹中 博一
Hiroichi Takenaka
博一 竹中
聡 澤口
Satoshi Sawaguchi
聡 澤口
今江 望
Nozomi Imae
望 今江
大介 別所
Daisuke Bessho
大介 別所
憲介 増田
Kensuke Masuda
憲介 増田
佐藤 裕之
Hiroyuki Sato
裕之 佐藤
誠 庄原
Makoto Shohara
誠 庄原
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2016179730A priority Critical patent/JP6330873B2/en
Publication of JP2016220254A publication Critical patent/JP2016220254A/en
Application granted granted Critical
Publication of JP6330873B2 publication Critical patent/JP6330873B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Systems (AREA)
  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To enable simultaneous command setting to the same kind of plural devices (imaging device or the like) using a serial I/F bus (I2C bus) with a simple configuration without requiring a complex processing.SOLUTION: An I2C control circuit 320, and SDA1 and SDA2 of imaging elements 11 and 12 are connected through input/output selectors 330 and 340. When a command or the like is to be set to the imaging elements 11 and 12, SDA output of the I2C control circuit 320 is connected to both of the SDA1 and SDA2 through the output selector 330. Either the SDA1 or the SDA2 is connected to SDA input of the I2C control circuit 320 through the input selector 340. With the configuration, simultaneous setting of a command or the like to the imaging elements 11 and 12 is made possible according to normal I2C communication protocol with I2C control circuit 320 as the master device and the imaging elements 11 and 12 as slave devices.SELECTED DRAWING: Figure 6

Description

本発明は、撮像装置に関する。   The present invention relates to an imaging apparatus.

最近の撮像装置は、CMOSセンサ等を含む撮像素子の内部に種々のレジスタ(コマンドレジスタ)を有し、これらのレジスタにコマンドやパラメータを設定することで、撮像素子の種々の動作内容を決定している。この撮像素子の内部レジスタ群への読み書きは、撮像制御回路により、画像データの経路とは別の専用経路を使って行われるが、この専用経路には、一般に1本のクロック線(SCL)と1本のデータ線(SDA)からなるシリアルI/Fバス(I2Cバス)が利用される。すなわち、撮像制御回路と撮像素子をI2Cバスを介して接続し、撮像制御回路をマスタデバイス、撮像素子をスレーブデバイスとして動作させて、撮像素子の内部レジスタ群への読み書きを行う。   Recent image pickup devices have various registers (command registers) inside an image pickup device including a CMOS sensor and the like, and determine various operation contents of the image pickup device by setting commands and parameters in these registers. ing. Reading and writing to the internal register group of the image sensor is performed by the imaging control circuit using a dedicated path different from the path of the image data. In general, one clock line (SCL) is connected to the dedicated path. A serial I / F bus (I2C bus) composed of one data line (SDA) is used. That is, the image pickup control circuit and the image pickup device are connected via an I2C bus, and the image pickup control circuit is operated as a master device and the image pickup device is operated as a slave device to read / write data from / to an internal register group of the image pickup device.

一方、複数の同一種類の撮像素子を用いて全方位を撮影し、得られた複数の画像データを合成処理して、パノラマ画像を生成する全方位撮像装置が知られている。このような全方位撮像装置において、複数の同一種類の撮像素子のそれぞれの内部レジスタ群への読み書きにI2Cバスを利用する場合、次のような問題がある。   On the other hand, there is known an omnidirectional imaging apparatus that captures omnidirectional images using a plurality of image sensors of the same type and generates a panoramic image by synthesizing a plurality of obtained image data. In such an omnidirectional imaging apparatus, when the I2C bus is used for reading and writing to each internal register group of a plurality of imaging elements of the same type, there are the following problems.

I2Cバスには、複数のスレーブデバイスを接続することが可能であるが、各スレーブデバイスは異なるアドレス(スレーブアドレス)とする必要があり、同一のスレーブアドレスを有する複数のスレーブデバイスをI2Cバスに接続することができない。同一種類の撮像素子は、一般にスレーブアドレスが同じ値となるため、複数の同一種類の撮像素子をI2Cバスに接続することができない。   Multiple slave devices can be connected to the I2C bus, but each slave device must have a different address (slave address), and multiple slave devices having the same slave address are connected to the I2C bus. Can not do it. Since the same type of image pickup device generally has the same slave address, a plurality of the same type of image pickup devices cannot be connected to the I2C bus.

撮像素子には、スレーブアドレスを外部端子にて指定可能なものもある。このような撮像素子では、各撮像素子のスレーブアドレスを異なる値にすることで、複数の同一種類の撮像素子をI2Cバスに接続することが可能である。しかしながら、各撮像素子の内部レジスタ群に同じコマンド等を設定する際にも、ACK等の応答信号を確認するなど、I2Cバスの規格上の都合で、各撮像素子ごとに個別に実施する必要があり、設定処理に時間がかかり、処理が煩雑となる問題がある。また、スレーブアドレスを外部端子にて指定する機能が無い撮像素子は使用できない。各撮像素子ごとにI2C制御回路を持たせれば、各撮像素子の内部レジスタ群へのコマンド等を同時に設定することができるが、回路規模が増え、コストアップになってしまう。   Some image sensors can specify a slave address with an external terminal. In such an image sensor, it is possible to connect a plurality of image sensors of the same type to the I2C bus by setting the slave address of each image sensor to a different value. However, even when setting the same command or the like in the internal register group of each image sensor, it is necessary to carry out each image sensor individually for the convenience of the I2C bus standard, such as checking a response signal such as ACK. There is a problem that the setting process takes time and the process becomes complicated. In addition, an image sensor that does not have a function of designating a slave address with an external terminal cannot be used. If each image sensor has an I2C control circuit, commands to the internal register group of each image sensor can be set at the same time, but the circuit scale increases and the cost increases.

なお、I2Cバスの規格にあるジェネラルコードアドレス機能を使えば、I2Cバスに接続された全てのスレーブデバイスにデータを一斉に送信することが可能であるが、ACK等の応答信号を無視するために信頼性に欠けるのと、この機能に撮像素子自体が対応できないことが多いという問題がある。   If the general code address function in the I2C bus standard is used, it is possible to transmit data to all slave devices connected to the I2C bus at the same time. However, in order to ignore response signals such as ACK The lack of reliability has the problem that the image pickup device itself often cannot cope with this function.

ここでは、全方位撮像装置について説明したが、一般にI2Cバスを利用して、複数の同一種類のデバイスにコマンド等を設定する際に、上述のような問題が生じる。   Although the omnidirectional imaging apparatus has been described here, the above-described problem occurs when a command or the like is generally set to a plurality of devices of the same type using the I2C bus.

なお、特許文献1には、I2Cバスに複数のスレーブデバイスを接続すると共に、該I2Cバスに通信制御装置を介してマスタデバイスを接続し、通信制御装置がマスタデバイスと複数のスレーブデバイスの間のデータ通信を制御する構成とすることで、同一のアドレス値を有する複数のスレーブデバイスをI2Cバスに接続できるようにすることが記載されているが、回路規模が増えてコストアップになり、また、処理が煩雑になる問題がある。   In Patent Document 1, a plurality of slave devices are connected to the I2C bus, and a master device is connected to the I2C bus via a communication control device. The communication control device is connected between the master device and the plurality of slave devices. Although it is described that a plurality of slave devices having the same address value can be connected to the I2C bus by adopting a configuration for controlling data communication, the circuit scale increases, resulting in an increase in cost. There is a problem that the processing becomes complicated.

本発明は、簡単な構成で、且つ、煩雑な処理を必要とせずに、シリアルI/Fバスを利用して、複数の同一種類の撮像素子を制御することが可能な撮像装置を提供することにある。   The present invention provides an image pickup apparatus that can control a plurality of image sensors of the same type using a serial I / F bus with a simple configuration and without requiring complicated processing. It is in.

本発明は、複数の撮像素子を有する撮像装置であって、複数の前記撮像素子により撮像された画像データから全天球画像を合成する画像合成手段と、マスタデバイスとなり、複数の前記撮像素子をスレーブデバイスとして、同一のスレーブアドレス、同一の内部アドレスをもつレジスタを備えた複数の該撮像素子とシリアルI/Fバスを利用した所定の通信プロトコルに基づいて該撮像素子の動作に必要な設定データの書き込みを制御する1つの制御手段と、複数の前記撮像素子の同一の内部アドレスを持つ複数のレジスタに対して該制御手段により前記所定のプロトコルに基づいて同時に同一設定データの書き込みを実行させる第1モードと、複数の前記撮像素子の1つの撮像素子のレジスタに対して該制御手段により前記所定のプロトコルに基づいて個別に設定データの書き込みを実行させる第2モードとを持つ切替え手段と、を有する、ことを特徴とする。   The present invention is an image pickup apparatus having a plurality of image pickup elements, and serves as a master device and image composition means for synthesizing an omnidirectional image from image data picked up by the plurality of image pickup elements. Setting data necessary for the operation of the image sensor based on a predetermined communication protocol using the serial I / F bus and a plurality of the image sensors having registers having the same slave address and the same internal address as slave devices A first control unit that controls writing of the same setting data, and a plurality of registers having the same internal address of the plurality of image pickup devices, wherein the control unit simultaneously writes the same setting data based on the predetermined protocol. 1 mode and the predetermined protocol by the control means for one image sensor register of the plurality of image sensors. And it means switching with a second mode for executing the writing of configuration data separately on the basis of it, characterized in.

1つのシリアルI/Fバス制御手段で、複数のデバイスを制御することが可能となる。   A plurality of devices can be controlled by a single serial I / F bus control means.

本発明のシリアルI/Fバス制御装置を適用した撮像装置の全体的回路構成例を示す図である。It is a figure which shows the example of a whole circuit structure of the imaging device to which the serial I / F bus control apparatus of this invention is applied. 図1の画像処理ユニットの詳細構成図である。It is a detailed block diagram of the image processing unit of FIG. I2Cバスのシリアルクロック線(SCL)とシリアルデータ線(SDA)の動作タイミングを説明する図である。It is a figure explaining the operation timing of the serial clock line (SCL) and serial data line (SDA) of an I2C bus. I2Cバス通信の標準的なデータ・フォーマットを示す図である。It is a figure which shows the standard data format of I2C bus communication. I2Cバス通信のリピート・スタート・コンディション機能を説明する図である。It is a figure explaining the repeat start condition function of I2C bus communication. 図1の撮像制御ユニット(シリアルI/Fバス制御装置)の一実施形態に係る詳細構成図である。It is a detailed block diagram concerning one Embodiment of the imaging control unit (serial I / F bus control device) of FIG. 単独動作モード時の撮像制御ユニットの構成(その一)を示す図である。It is a figure which shows the structure (the 1) of the imaging control unit at the time of single operation mode. 単独動作モード時の撮像制御ユニットの構成(その二)を示す図である。It is a figure which shows the structure (the 2) of the imaging control unit at the time of single operation mode.

以下、本発明の一実施形態について図面にもとづいて説明する。以下では、本発明のシリアルI/Fバス制御装置を全方位撮像装置に適用した実施例について説明するが、本発明のシリアルI/Fバス制御装置は、一般にシリアルI/Fバスを利用して、複数の同一種類のデバイスにコマンド等を設定する必要のある装置に広く適用可能である。また、シリアルI/FバスはI2C(Inter Integrated Circuit)とするが、SCCB(Serial Camera Control Bus)でもよい。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In the following, an embodiment in which the serial I / F bus control device of the present invention is applied to an omnidirectional imaging device will be described. The serial I / F bus control device of the present invention generally uses a serial I / F bus. The present invention can be widely applied to apparatuses that need to set commands or the like to a plurality of devices of the same type. The serial I / F bus is I2C (Inter Integrated Circuit), but it may be SCCB (Serial Camera Control Bus).

図1は、本発明のシリアルI/Fバス制御装置(I2Cバス制御装置)の適用例としての全方位撮像装置の全体的回路構成例を示している。   FIG. 1 shows an overall circuit configuration example of an omnidirectional imaging apparatus as an application example of a serial I / F bus control apparatus (I2C bus control apparatus) of the present invention.

図1において、撮像ユニット10は、各々半球画像を結像するための180°以上の画角を有する広角レンズ(いわゆる魚眼レンズ)と、各広角レンズに対応させて設けられている同一種類の2つの撮像素子11,12を有している。撮像素子11,12は、先の魚眼レンズによる光学像を電気信号の画像データに変換して出力するCMOSセンサなどの画像センサ、該画像センサの水平/垂直同期信号や画素クロックなどを生成するタイミング生成回路、画像センサやタイミング生成回路の動作を制御したり、画像センサから出力される画像データの必要な前処理などを行うプロセッサ、及び、撮像素子の動作に必要な種々のコマンド、パラメータなどが設定されるレジスタ群や種々のステータス・データが格納されるレジスタ群などを有している。この種の撮像素子は既に知られているので(例えば、Omni Vision Technologies社のOV5653等)、撮像素子11,12の具体的構成は省略する。なお、図1では撮像素子を2つとしたが、一般に2つ以上いくつでもよい。   In FIG. 1, an imaging unit 10 includes a wide-angle lens (so-called fisheye lens) having an angle of view of 180 ° or more for forming a hemispherical image, and two of the same type provided corresponding to each wide-angle lens. Imaging elements 11 and 12 are provided. The image sensors 11 and 12 generate timings for generating an image sensor such as a CMOS sensor that converts an optical image obtained by the previous fisheye lens into image data of an electric signal and outputs it, and a horizontal / vertical synchronization signal and a pixel clock of the image sensor. Various commands and parameters required for the operation of the image sensor and the processor that controls the operation of the circuit, image sensor, and timing generation circuit, and performs the necessary preprocessing of the image data output from the image sensor. And a group of registers for storing various status data. Since this type of imaging device is already known (for example, OV5653 from Omni Vision Technologies), the specific configuration of the imaging devices 11 and 12 is omitted. In FIG. 1, two image sensors are used, but generally two or more image sensors may be used.

撮像ユニット10の撮像素子11,12は、各々、画像処理ユニット20とはパラレルI/Fバスで接続されている。一方、撮像ユニット10の撮像素子11,12は、撮像制御ユニット30とは、別途、シリアルI/Fバス(I2Cバス)で接続されている。画像処理ユニット20及び撮像制御ユニット30は、バス80を介してCPU40と接続される。さらに、バス80には、メモリ50、操作部60、外部I/F70なども接続される。   The imaging elements 11 and 12 of the imaging unit 10 are each connected to the image processing unit 20 by a parallel I / F bus. On the other hand, the imaging elements 11 and 12 of the imaging unit 10 are separately connected to the imaging control unit 30 via a serial I / F bus (I2C bus). The image processing unit 20 and the imaging control unit 30 are connected to the CPU 40 via the bus 80. Further, a memory 50, an operation unit 60, an external I / F 70, and the like are connected to the bus 80.

画像処理ユニット20は、撮像素子11,12から出力される画像データをパラレルI/Fバスを通して取り込み、それぞれの画像データに対して所定の処理を施した後、これらの画像データを合成処理して全方位画像データを生成する。   The image processing unit 20 takes in the image data output from the image sensors 11 and 12 through the parallel I / F bus, performs predetermined processing on the respective image data, and then combines these image data. Omnidirectional image data is generated.

撮像制御ユニット30は、該撮像制御ユニット30をマスタデバイス、撮像素子11,12をスレーブデバイスとして、I2Cバスを利用して、撮像素子11,12のレジスタ群にコマンド等を設定する。必要なコマンド等は、CPU40から受け取る。また、該撮像制御ユニット30は、同じくI2Cバスを利用して、撮像素子11,12のレジスタ群のステータス・データ等を取り込み、CPU40に送る。   The imaging control unit 30 sets a command or the like in the register group of the imaging elements 11 and 12 using the I2C bus using the imaging control unit 30 as a master device and the imaging elements 11 and 12 as slave devices. Necessary commands and the like are received from the CPU 40. The imaging control unit 30 also uses the I2C bus to capture the status data of the register groups of the imaging elements 11 and 12 and send them to the CPU 40.

この撮像制御ユニット30として、本発明のシリアルI/Fバス制御装置(I2C制御装置)を使用する。これにより、撮像制御ユニット30は、同一種類の撮像素子11,12のレジスタ群に対して、I2C通信の標準的なデータ・フォーマットでもって同時にコマンド等を設定することが可能になる。この撮像制御ユニット30の構成、動作については、後で詳しく説明する。ここで、同一種類とは、同一のスレーブアドレス、同一の内部アドレスを持つと言う意味である。したがって、同一種類のデバイスとは、同一のスレーブアドレス、内部アドレスを有するデバイスと言う意味である。   As the imaging control unit 30, the serial I / F bus control device (I2C control device) of the present invention is used. As a result, the imaging control unit 30 can simultaneously set commands or the like for the register groups of the same type of imaging elements 11 and 12 with a standard data format of I2C communication. The configuration and operation of the imaging control unit 30 will be described in detail later. Here, the same type means having the same slave address and the same internal address. Therefore, the same type of device means a device having the same slave address and internal address.

CPU40は、当該撮像装置の全体の動作を制御すると共に必要な処理を実行する。ここで、撮像制御ユニット30に関して云えば、CPU40は、例えば電源ON後の撮像素子11,12の初期化時などに、撮像制御ユニット30に対して、撮像素子11,12へのコマンド等の設定を指示し、コマンド等を送信する。また、該CPU40は、撮影終了時などに、撮像制御ユニット30に対して、撮像素子11,12からステータス・データ等の読み出しを指示し、ステータス・データ等を受け取る。   The CPU 40 controls the overall operation of the imaging apparatus and executes necessary processing. Here, regarding the imaging control unit 30, the CPU 40 sets commands and the like to the imaging elements 11 and 12 with respect to the imaging control unit 30 when the imaging elements 11 and 12 are initialized after the power is turned on, for example. And send a command or the like. In addition, the CPU 40 instructs the imaging control unit 30 to read status data and the like from the imaging elements 11 and 12 and receives the status data and the like at the end of shooting.

メモリ50は、ROM,RAM、外付けメモリ(USBカード、SDカード等)の総称である。ROMは、CPU40のための種々のプログラムを記憶している。RAMはワークメモリであり、CPU40で実行するプログラムや処理途中のデータ等を記憶する。また、RAMは、画像処理ユニット20での処理途中の画像データを一時記憶する。外付けメモリは、必要に応じて画像処理ユニット20での処理済みの全方位画像データを直接あるいはRAMを介して記憶する。   The memory 50 is a general term for ROM, RAM, and external memory (USB card, SD card, etc.). The ROM stores various programs for the CPU 40. The RAM is a work memory and stores programs executed by the CPU 40, data being processed, and the like. The RAM temporarily stores image data being processed by the image processing unit 20. The external memory stores the omnidirectional image data processed by the image processing unit 20 directly or via the RAM as required.

操作部60は、種々の操作ボタンや電源スイッチ、シャッタボタン、表示と操作の機能を兼ねたタッチパネルなどの総称である。ユーザは操作ボタン等を操作することで、種々の撮影モードや撮影条件などを入力する。   The operation unit 60 is a general term for various operation buttons, a power switch, a shutter button, a touch panel that has both display and operation functions, and the like. The user inputs various shooting modes and shooting conditions by operating the operation buttons and the like.

外部I/F70には、例えばパーソナルコンピュータが接続される。画像処理ユニット20での処理済みの全方位画像データは、必要に応じて該外部I/F70を通して、パーソナルコンピュータに転送される。なお、本実施形態では、撮像装置には表示部が設けられていないが、表示部を設けて良いことは言うまでもない。さらに、外部I/F70として、USB I/F、シリアル I/F、ネットワークI/Fなどが挙げられる。   For example, a personal computer is connected to the external I / F 70. The omnidirectional image data processed by the image processing unit 20 is transferred to the personal computer through the external I / F 70 as necessary. In the present embodiment, the imaging device is not provided with a display unit, but it is needless to say that a display unit may be provided. Furthermore, examples of the external I / F 70 include a USB I / F, a serial I / F, and a network I / F.

図2は、画像処理ユニット20の詳細構成図である。画像処理ユニット20は、画像処理回路(1)210、画像処理回路(2)220、画像合成回路230、バスI/F回路240、及び、これらを接続する内部バス250からなる。   FIG. 2 is a detailed configuration diagram of the image processing unit 20. The image processing unit 20 includes an image processing circuit (1) 210, an image processing circuit (2) 220, an image composition circuit 230, a bus I / F circuit 240, and an internal bus 250 connecting them.

撮像素子11,12は、それぞれ画像データをライン単位で出力する。同時に、撮像素子11,12は水平/垂直同期信号、画素クロック等も出力する。画像処理回路210,220は、撮像素子11,12から出力される画像データについてそれぞれ所定の画像処理を施す。画像処理回路210,220での画像処理の種類としては、レンズ補正、黒レベル補正、色補正、欠陥画素補正、ホワイトバランス等がある。画像処理回路210,220でそれぞれ所定の画像処理が施された画像データは、一旦、バスI/F240を介してメモリ50のRAMに格納される。すなわち、メモリ50の例えばRAMには、撮像素子11,12でそれぞれ撮影して得られた2つの半球画像データが、所定の画像処理が施されて格納される。この2つの半球画像データは、互いにオーバーラップ領域を有している。ここで、本実施形態では、2つの撮像素子を用いた場合を示しているので、画角が180度以上の半球画像である。しかし、撮像素子の個数が変更されると、それに応じて画角が変更されることは言うまでもない。また、画角が狭くなる場合が考えられるが、本実施形態では広角レンズと言う用語を利用するが、必ずしも広角とならない場合もある。   The image sensors 11 and 12 each output image data in units of lines. At the same time, the image sensors 11 and 12 also output horizontal / vertical synchronization signals, pixel clocks, and the like. The image processing circuits 210 and 220 perform predetermined image processing on the image data output from the imaging elements 11 and 12, respectively. Types of image processing in the image processing circuits 210 and 220 include lens correction, black level correction, color correction, defective pixel correction, white balance, and the like. The image data that has undergone predetermined image processing by the image processing circuits 210 and 220 is temporarily stored in the RAM of the memory 50 via the bus I / F 240. That is, in the RAM 50 of the memory 50, for example, two hemispherical image data obtained by photographing with the imaging elements 11 and 12 are stored after being subjected to predetermined image processing. The two hemispherical image data have overlapping areas. Here, in this embodiment, since the case where two image sensors are used is shown, it is a hemispherical image with an angle of view of 180 degrees or more. However, it goes without saying that when the number of image sensors is changed, the angle of view is changed accordingly. Although the case where the angle of view becomes narrow is conceivable, the term “wide-angle lens” is used in the present embodiment, but the angle may not always be wide.

メモリ50のRAMに格納された2つの半球画像データは、その後、バスI/Fを介して画像合成回路230に取り込まれる。画像合成回路230は、2つの半球画像データについて、互いのオーバーラップ領域をもとに合成して全方位画像データを生成する。そして、生成された全方位画像データは、バスI/F240を介して再度、メモリ50のRAMに格納される。その後、全方位画像データは、RAMから外付けメモリ(USBカード、SDカード等)に蓄積されたり、表示部に表示されたり、必要に応じて外部I/F回路70を通して、パーソナルコンピュータ等に転送される。   The two hemispherical image data stored in the RAM of the memory 50 are then taken into the image composition circuit 230 via the bus I / F. The image synthesizing circuit 230 synthesizes two hemispherical image data based on the overlapping areas of each other to generate omnidirectional image data. The generated omnidirectional image data is stored again in the RAM of the memory 50 via the bus I / F 240. Thereafter, the omnidirectional image data is accumulated from the RAM into an external memory (USB card, SD card, etc.), displayed on the display unit, or transferred to a personal computer or the like through the external I / F circuit 70 as necessary. Is done.

次に、撮像制御ユニット30について説明する。先に述べたように、この撮像制御ユニット30に本発明に係るシリアルI/Fバス制御装置(I2C制御装置)が使用される。   Next, the imaging control unit 30 will be described. As described above, the imaging control unit 30 uses the serial I / F bus control device (I2C control device) according to the present invention.

まず、I2Cバス・インタフェースについて説明する。I2Cバスは、1本のシリアルデータ線(SDA)と1本のシリアルクロック線(SCL)の計2本のバス(シリアルI/Fバス)のみで構成される。このI2Cバスには、複数のデバイスを接続することができるが、その一つをマスタデバイス、そのほかのデバイスをスレーブデバイスとして、マスタデバイスが主導権を握り、通常、I2Cバスに接続された1つのスレーブデバイスとデータ等の送受信を行う。スレーブデバイスはそれぞれ固有のアドレス(スレーブアドレス)を持っている。   First, the I2C bus interface will be described. The I2C bus is composed of only two buses (serial I / F bus), one serial data line (SDA) and one serial clock line (SCL). A plurality of devices can be connected to this I2C bus. One of them is a master device, and the other device is a slave device. The master device takes the initiative and is usually connected to one I2C bus. Send / receive data to / from slave devices. Each slave device has a unique address (slave address).

マスタデバイスが、あるスレーブデバイスとデータ等の送受信を行う場合、マスタデバイスは、そのスレーブアドレスをI2Cバス上に送信して、通信対象のスレーブデバイスに通信の開始を知らせる。こうして、一旦スレーブデバイスが特定された後、マスタデバイスは、そのスレーブデバイスとだけデータ等の送受信を行うことが可能になる。データの送受信が終了すると、マスタデバイスは当該スレーブデバイスに通信の終了を通知する。   When the master device transmits / receives data or the like to / from a certain slave device, the master device transmits the slave address on the I2C bus to notify the slave device to be communicated of the start of communication. Thus, once a slave device is identified, the master device can transmit and receive data and the like only with the slave device. When the data transmission / reception ends, the master device notifies the slave device of the end of communication.

以下に、I2Cバスの通信プロトコルの概要について説明する。
(1)通信の開始
マスタデバイスは、あるスレーブデバイスと通信を始める際に、通信シーケンスの始まりを示すためにスタート・コンディション信号(S)を発行する。これは、図3の(a)のように、SCLが“H”レベルのときにSDAを“H”レベルから“L”レベルに変化させることで成立する。スタート・コンディション信号(S)は、すべのスレーブデバイスへ一斉に通知される。なお、SCLはマスタデバイスで駆動されて、所定の周波数で“H”レベルと“L”レベルを交互に繰り返す。通信が開始される前は、SCLとSDAとも“H”レベルである。
The outline of the communication protocol of the I2C bus will be described below.
(1) Start of communication When the master device starts communication with a certain slave device, it issues a start condition signal (S) to indicate the start of the communication sequence. This is established by changing SDA from the “H” level to the “L” level when the SCL is at the “H” level, as shown in FIG. The start condition signal (S) is simultaneously notified to all slave devices. The SCL is driven by the master device, and alternately repeats “H” level and “L” level at a predetermined frequency. Before communication is started, both SCL and SDA are at the “H” level.

(2)スレーブデバイスの選択
マスタデバイスは、スタート・コンディション信号を発行した後、全てのスレーブデバイスへコントロール・バイト(CB)を送信する。コントロール・バイトは、7ビットのスレーブアドレスと1ビットの送受信(読出し書込み)の向きを示すR/Wフラグからなり、SCL上のクロックに同期してSDA上に1ビットずつ送出される。図3の(c)はこれを示している。
すべてのスレーブデバイスは、スタート・コンディション信号(S)を受信した後、SCL上のクロックに同期してSDA上のコントロール・バイト(8ビット)を受信する。各スレーブデバイスは、コントロール・バイトを受信すると、そのスレーブアドレスが自分のアドレスと一致しているかどうか調べ、一致していない場合はアイドル状態へ戻り、再び、スタート・コンディション信号(S)が発行されるまで待機する。
一方、受信したコントロール・バイトのスレーブアドレスが自分のアドレスと一致している場合には、そのスレーブデバイスは、マスタデバイスへ応答信号としてACKを返し、コントロール・バイトのR/Wフラグに応じてデータの送受信の処理に備える。なお、ACKは、SCL上のクロックに同期して、SDAを“L”レベルにすることで応答する。
(2) Selection of slave device After issuing a start condition signal, the master device transmits a control byte (CB) to all slave devices. The control byte consists of a 7-bit slave address and an R / W flag indicating the direction of 1-bit transmission / reception (read / write), and is sent bit by bit on the SDA in synchronization with the clock on the SCL. FIG. 3C shows this.
All slave devices receive the control byte (8 bits) on the SDA in synchronization with the clock on the SCL after receiving the start condition signal (S). When each slave device receives the control byte, it checks whether the slave address matches its own address. If it does not match, it returns to the idle state, and the start condition signal (S) is issued again. Wait until
On the other hand, if the slave address of the received control byte matches its own address, the slave device returns ACK as a response signal to the master device, and data is sent according to the R / W flag of the control byte. Preparing for the transmission / reception process. The ACK responds by setting the SDA to the “L” level in synchronization with the clock on the SCL.

(3)データの送受信
コントロール・バイトのR/Wフラグが“W”(例えば論理0)の場合には、マスタデバイスが、選択されたスレーブデバイスからACKが返ってきたのを確認してデータの送信を開始する。また、コントロール・バイトのR/Wフラグが“R”(例えば論理1)の場合には、選択されたスレーブデバイスが、マスタデバイスへACKを返した後、データの送信を開始する。
データの送受信は1バイト(8ビット)単位で行う。すなわち、送信側は、SCL上のクロックに同期して、1バイトのデータを1ビットずつSDA上に載せる。これは、図3の(c)に示したコントロール・バイトの場合と同様である。受信側は、SCL上のクロックに同期して、SDA上のデータを1ビットずつ受信し、1バイト(8ビット)のデータを受信すると、送信側へACKを返し、受信しなければ、送信側へNOACKを返す。送信側は、受信側からACKが返ってきたのを確認し、まだ送信すべきデータがあれば、同様にして、次の1バイトのデータを1ビットずつSDAに乗せる。これを送信するデータがなくなるまで繰り返す。
このように、データはコントロール・バイトと同様に、1ビットずつSCL上のクロックに同期した形でSDA上に出力される。マスタデバイスは自分でクロックを出力しながらデータを送受信する。これに対してスレーブデバイスは、マスタデバイスが出力するクロックに合わせてデータを送受信する。ACK/NOACKはマスタ、スレーブの違いに関わらず、受信した側が出力する。
通常、ACKはデータを正常に受信したことを意味し、NOACKは正常に受信されないことを意味するが、該NOACKに特定の意味を持たせる場合がある。例えば、マスタデバイスが最終データを受信した後に、スレーブデバイスへ通信終了を知らせるためにNOACKを返す。
(3) Data transmission / reception When the R / W flag in the control byte is “W” (eg, logic 0), the master device confirms that an ACK has been returned from the selected slave device and Start sending. When the R / W flag of the control byte is “R” (for example, logic 1), the selected slave device returns ACK to the master device and then starts data transmission.
Data is transmitted and received in units of 1 byte (8 bits). That is, the transmission side loads 1-byte data on the SDA bit by bit in synchronization with the clock on the SCL. This is the same as the case of the control byte shown in FIG. The receiving side receives the data on the SDA one bit at a time in synchronization with the clock on the SCL. When receiving 1 byte (8 bits) of data, the receiving side returns an ACK to the transmitting side. Returns NOACK to The transmission side confirms that the ACK has been returned from the reception side, and if there is still data to be transmitted, similarly, the next 1-byte data is put on the SDA bit by bit. This is repeated until there is no data to be transmitted.
As described above, data is output on the SDA bit by bit in synchronization with the clock on the SCL, like the control byte. The master device sends and receives data while outputting its own clock. On the other hand, the slave device transmits and receives data according to the clock output from the master device. The receiving side outputs ACK / NOACK regardless of the difference between the master and the slave.
Usually, ACK means that the data has been normally received, and NOACK means that the data has not been normally received. However, the NOACK may have a specific meaning. For example, after the master device receives the final data, NOACK is returned to notify the slave device of the end of communication.

(4)通信の終了
一連の通信シーケンスが終わると、マスタデバイスはストップ・コンディション信号(P)を発行して、通信シーケンスの終わりをスレーブデバイスに知らせる。これは、図3の(b)のように、SCLが“H”レベルの時に、スタート・コンディションのときとは逆にSDAを“L”レベルから“H”レベルに変化させることで成立する。この後、スレーブデバイスは待機状態に戻る。
図4は、I2Cバス通信の標準的なデータ・フォーマットを示した図である。ここでは、簡単に送信データは1バイトとしている。
図4の(a)は、マスタデバイスがスレーブデバイスへデータを送信(書込み)する例である。マスタデバイスは、スタート・コンディション信号(S)を発行した後、コントロール・バイトを送信する。ここで、A6〜A0はスレーブアドレスであり、Wはデータ送信を意味する。コントロール・バイトのスレーブアドレス(A6〜A0)と自分のアドレスが一致したスレーブデバイスは、マスタデバイスへACKを返して、データの受信に備える。マスタデバイスは、ACKが返ったのを確認して、データ(D7〜D0)をスレーブデバイスへ送信する。スレーブデバイスは、データを正常に受信すると、マスタデバイスにACKを返す。マスタデバイスは、ストップ・コンディション信号(P)を発行して、通信シーケンスの終わりをスレーブデバイスに知らせる。
図4の(b)は、マスタデバイスがスレーブデバイスからデータを受信(読出し)する例である。マスタデバイスは、スタート・コンディション信号(S)を発行した後、コントロール・バイトを送信する。ここで、A6〜A0はスレーブアドレスであり、Rはデータ受信を意味する。コントロール・バイトのスレーブアドレスと自分のアドレスが一致したスレーブデバイスは、マスタデバイスへACKを返した後、引き続いてデータ(D7〜D0)をマスタデバイスへ送信する。マスタデバイスは、データを受信するとスレーブデバイスへ通信の終了を知らせるためにNOACKを返し、引き続いてストップ・コンディション信号(P)を発行する。
(4) End of communication When a series of communication sequences is completed, the master device issues a stop condition signal (P) to notify the slave device of the end of the communication sequence. This is established by changing SDA from “L” level to “H” level when SCL is at “H” level, as opposed to the start condition, as shown in FIG. Thereafter, the slave device returns to the standby state.
FIG. 4 is a diagram showing a standard data format of I2C bus communication. Here, the transmission data is simply 1 byte.
FIG. 4A shows an example in which the master device transmits (writes) data to the slave device. The master device transmits a control byte after issuing a start condition signal (S). Here, A6 to A0 are slave addresses, and W means data transmission. The slave device whose own address matches the slave address (A6 to A0) of the control byte returns an ACK to the master device to prepare for data reception. The master device confirms that the ACK has been returned, and transmits data (D7 to D0) to the slave device. When the slave device normally receives the data, it returns ACK to the master device. The master device issues a stop condition signal (P) to inform the slave device of the end of the communication sequence.
FIG. 4B shows an example in which the master device receives (reads) data from the slave device. The master device transmits a control byte after issuing a start condition signal (S). Here, A6 to A0 are slave addresses, and R means data reception. The slave device whose slave address matches the slave address of the control byte returns ACK to the master device, and subsequently transmits data (D7 to D0) to the master device. When receiving the data, the master device returns NOACK to notify the slave device of the end of communication, and subsequently issues a stop condition signal (P).

次に、I2Cバス通信プロトコルのその他の主な機能について簡単に説明する。
<クロック・ストレッチ>
スレーブデバイスは、マスタデバイスからデータを受信した後(またはマスタデバイスへデータを送信した後)に、内部処理に時間がかかるなどの理由で、マスタデバイスに対してWAITをかけることができる。その手段としてスレーブデバイスがSCLを“L”レベルにする。この結果、マスタデバイスはクロックが出せなくなるので通信を一時停止する。スレーブデバイスは準備が整うとSCLの“L”レベル出力を解除する。これを受けてマスタデバイスは通信を再開する。このように、マスタデバイスを待たせるためにスレーブデバイスがSCLを強制的に“L”レベルにすることをクロック・ストレッチという。
Next, other main functions of the I2C bus communication protocol will be briefly described.
<Clock Stretch>
After receiving data from the master device (or after transmitting data to the master device), the slave device can apply a WAIT to the master device for the reason that it takes time for internal processing. As a means for this, the slave device sets the SCL to the “L” level. As a result, the master device cannot generate a clock and temporarily stops communication. When the slave device is ready, the SCL “L” level output is released. In response to this, the master device resumes communication. In this way, the slave device forcing the SCL to the “L” level in order to make the master device wait is called clock stretching.

<リピート・スタート・コンディション>
通常、スタート・コンディション信号(S)とストップ・コンディション信号(P)の区間内での通信の向き(送/受)は、コントロール・バイトを除いて、コントロール・バイト内のR/Wフラグの値に応じた方向に固定されている。しかし、この区間の中で通信の方向を切り替えたい場合がある。たとえば、スレーブデバイスがEEPROMで、特定のROMアドレスからROMデータを読み出したい場合、アクセス対象のROMアドレスの設定はスレーブデバイスに対してW(書き込み)要求を出すが、ROMデータの読み出しにはスレーブデバイスに対してR(読み出し)の要求を出さなければならない。このようなときは、ROMアドレスをスレーブデバイスへ送信(W)したあとに、通信の向きを読み出し(R)に切り替えるために、スタート・コンディション信号(S)を再発行し、R要求のコントロール・バイトを送信する。このときに発行するスタート・コンディション信号(S)をリピート・スタート・コンディションという。図5は、リピート・スタート・コンディションの具体例を示している。
<Repeat start condition>
Normally, the communication direction (send / receive) within the section of the start condition signal (S) and the stop condition signal (P) is the value of the R / W flag in the control byte except for the control byte. It is fixed in the direction according to. However, there are cases where it is desired to switch the communication direction during this interval. For example, when the slave device is an EEPROM and ROM data is to be read from a specific ROM address, the setting of the ROM address to be accessed issues a W (write) request to the slave device. An R (read) request must be issued to. In such a case, after transmitting the ROM address to the slave device (W), in order to switch the communication direction to read (R), the start condition signal (S) is reissued to control the R request. Send a byte. The start condition signal (S) issued at this time is called a repeat start condition. FIG. 5 shows a specific example of the repeat start condition.

<ジェネラル・コール・アドレス>
スレーブアドレスの“0”は特別のアドレスとして定義される。これはジェネラル・コール・アドレスと言われ、バス上のすべてのスレーブデバイスへ一斉にデータを送信するための特殊なアドレスである。ただし、スレーブデバイス側ではこのアドレス・モードをサポートしている必要がある。当然ながら、データがぶつかるので、ジェネラル・コールでスレーブデバイスからデータを一斉に受信することはできない。
<General call address>
The slave address “0” is defined as a special address. This is called a general call address, and is a special address for transmitting data to all slave devices on the bus simultaneously. However, the slave device must support this address mode. Of course, since data collides, it is not possible to receive data from slave devices all at once by a general call.

図1に戻り、本発明の特徴である撮像制御ユニット30について説明する。
図6は、本実施形態に係るシリアルI/Fバス制御装置(I2C制御装置)としての撮像制御ユニット30の詳細構成図である。図6において、撮像制御ユニット30は、バスI/F回路310、制御手段としてのI2C制御回路320、バス切替え手段としての出力セレクタ330と入力セレクタ340、エラー検出回路350、3ステート・バッファ回路361,362,363、バッファ回路371,372,373、及び、バッファI/F回路310とI2C制御回路320、エラー検出回路350を接続する内部バス370を有している。
Returning to FIG. 1, the imaging control unit 30 that is a feature of the present invention will be described.
FIG. 6 is a detailed configuration diagram of the imaging control unit 30 as a serial I / F bus control device (I2C control device) according to the present embodiment. In FIG. 6, the imaging control unit 30 includes a bus I / F circuit 310, an I2C control circuit 320 as control means, an output selector 330 and an input selector 340 as bus switching means, an error detection circuit 350, and a three-state buffer circuit 361. 362, 363, buffer circuits 371, 372, 373, and an internal bus 370 for connecting the buffer I / F circuit 310 to the I2C control circuit 320 and the error detection circuit 350.

撮像制御ユニット30と撮像素子11,12との間はそれぞれ個別のI2Cバスで接続される。ただし、本実施形態では、SCLについては撮像素子11,12で共通に使用するようにして、撮像制御ユニット30と撮像ユニット10の間のI2Cバスの本数の軽減を図っている。SCL,SDA1,SDA2はそれぞれ抵抗Rを通して所定の電源に接続されている。待機時、SCL,SDA1,SDA2は電源電圧VDDにプルアップ(Hレベル)されている。 The imaging control unit 30 and the imaging elements 11 and 12 are connected by individual I2C buses. However, in this embodiment, the number of I2C buses between the imaging control unit 30 and the imaging unit 10 is reduced by using the SCL in common with the imaging elements 11 and 12. SCL, SDA1, and SDA2 are each connected to a predetermined power source through a resistor R. During standby, SCL, SDA1, and SDA2 are pulled up (H level) to the power supply voltage V DD .

バスI/F回路310は、CPU40(図1)からのコマンド等をI2C制御回路320に送り、また、I2C制御回路320からのステータス等をCPU40に送る。また、バスI/F回路310は、エラー検出回路350のエラー検出信号をCPU40に送る。これらは、汎用バスのプロトコルで行われる。   The bus I / F circuit 310 sends a command or the like from the CPU 40 (FIG. 1) to the I2C control circuit 320, and sends a status or the like from the I2C control circuit 320 to the CPU 40. Further, the bus I / F circuit 310 sends an error detection signal from the error detection circuit 350 to the CPU 40. These are performed using a general-purpose bus protocol.

I2C制御回路320は、基本的に従来と同様である。すなわち、I2C制御回路320は、I2C制御回路320自身がマスタデバイスとなり、撮像素子11,12をスレーブデバイスとして、I2Cバス(SCL,SDA1,SDA2)を使用して、撮像素子11,12とI2Cバス通信プロトコルに則ってコマンド、ステータス等の送受信を実施する。従来と異なる点は、I2C制御回路320は、撮像素子11,12とコマント、ステータス等の送受信を開始するのに先立って、出力セレクタ330や入力セレクタ340を切替え制御することである。切替えはCPU40から指示される。   The I2C control circuit 320 is basically the same as the conventional one. That is, the I2C control circuit 320 uses the I2C bus (SCL, SDA1, SDA2) by using the I2C control circuit 320 itself as a master device and the imaging devices 11 and 12 as slave devices, and the I2C bus. Sends and receives commands and statuses according to the communication protocol. The difference from the prior art is that the I2C control circuit 320 switches and controls the output selector 330 and the input selector 340 before starting transmission / reception of commands, statuses and the like with the image sensors 11 and 12. Switching is instructed from the CPU 40.

出力セレクタ330は、I2C制御回路320からの切替信号に基づいて、I2C制御回路320のSDA出力をSDA1とSDA2の両方(第1モード)またはいずれか一方(第2モード)と接続するように切替える。図6は、I2C制御回路320のSDA出力がSDA1とSDA2の両方に接続されている状態を示している。入力セレクタ340は、I2C制御回路320からの切替信号に基づいて、SDA1とSDA2のいずれか一方をI2C制御回路320のSDA入力と接続するように切り替える。図6は、SDA2がI2C制御回路320のSDA入力に接続されている状態を示している。   Based on the switching signal from the I2C control circuit 320, the output selector 330 switches the SDA output of the I2C control circuit 320 so that it is connected to both SDA1 and SDA2 (first mode) or one (second mode). . FIG. 6 shows a state where the SDA output of the I2C control circuit 320 is connected to both SDA1 and SDA2. Based on the switching signal from the I2C control circuit 320, the input selector 340 switches so that one of SDA1 and SDA2 is connected to the SDA input of the I2C control circuit 320. FIG. 6 shows a state in which SDA 2 is connected to the SDA input of the I2C control circuit 320.

3ステート・バッファ回路361は、I2C制御回路320により所定の周波数でオン、オフされる。これにより、SCLが“H”レベル、“H”レベルを繰り返し、撮像素子11,12にクロックが送出される。バッファ回路371は、撮像素子あるいは12がSCLを一時“L”レベルとした場合に(クロック・ストレッチ機能)、それをI2C制御回路320に伝える働きをする。ここで、SCLは撮像素子11,12に共通であるため、クロック・ストレッチ機能が3ステート・バッファ回路361のデータライン構成で有効に働く。   The 3-state buffer circuit 361 is turned on and off at a predetermined frequency by the I2C control circuit 320. As a result, the SCL repeats the “H” level and the “H” level, and the clock is sent to the image sensors 11 and 12. The buffer circuit 371 functions to transmit the SCL to the I2C control circuit 320 when the image sensor or 12 temporarily sets the SCL to the “L” level (clock stretch function). Here, since the SCL is common to the imaging elements 11 and 12, the clock stretch function works effectively in the data line configuration of the three-state buffer circuit 361.

3ステート・バッファ回路362,363は、I2C制御回路326のSDA出力で出力セレクタ330を介してオン、オフされる。これにより、SDA1及び/又はSDA2がSDA出力に応じて“H”レベルあるいは“L”レベルとなる。すなわち、I2C制御回路320からコマンド等が撮像素子11及び/又は撮像素子12に送信される。   The three-state buffer circuits 362 and 363 are turned on and off via the output selector 330 at the SDA output of the I2C control circuit 326. As a result, SDA1 and / or SDA2 becomes "H" level or "L" level according to the SDA output. That is, a command or the like is transmitted from the I2C control circuit 320 to the image sensor 11 and / or the image sensor 12.

バッファ回路372,373は、撮像素子11あるいは12が出力するステータス等を入力セレクタ340を介してI2C制御回路に入力する働きをする。   The buffer circuits 372 and 373 function to input the status output from the image sensor 11 or 12 to the I2C control circuit via the input selector 340.

エラー検出回路350は、撮像素子11,12が同時にI2C制御回路320とI2Cプロトコル通信を実施している時、撮像素子11,12がそれぞれSDA1,SDA2に出力する応答信号(ACK,NOACK)をバッファ回路372,373を介して入力して、監視する。このエラー検出回路350の作用、効果については後述する。   The error detection circuit 350 buffers response signals (ACK, NOACK) output from the image sensors 11 and 12 to SDA1 and SDA2, respectively, when the image sensors 11 and 12 are simultaneously performing I2C protocol communication with the I2C control circuit 320. Input via circuits 372 and 373 and monitor. The operation and effect of the error detection circuit 350 will be described later.

次に、撮像素子11,12のレジスタ群にコマンド等を設定する場合の動作について詳述する。撮像素子11,12は同一種類のデバイスであり、そのアドレス(スレーブアドレス)、内部レジスタアドレスは同じである。ここで、I2C制御回路320が撮像素子11,12にコマンド等を同時に設定するケースを同時動作モードと称すことにする。   Next, the operation when a command or the like is set in the register group of the image sensors 11 and 12 will be described in detail. The image sensors 11 and 12 are devices of the same type, and their addresses (slave addresses) and internal register addresses are the same. Here, a case where the I2C control circuit 320 simultaneously sets commands or the like to the image sensors 11 and 12 is referred to as a simultaneous operation mode.

撮像制御ユニット30のI2C制御回路320は、まず、CPU40(図1)からバスI/F回路310を通して、撮像素子11,12の同時動作モード指令を受け取る。I2C制御回路320は、該同時動作モード指令に基づき、出力セレクタ330にはI2C制御回路320のSDA出力をSDA1とSDA2の両方に接続すべく切替信号を送出し、入力セレクタ340には撮像素子11のSDA1をI2C制御回路320のSDA入力に接続すべく切替信号を送出する。これにより、出力セレクタ330は、I2C制御回路320のSDA出力を3ステート・バッファ回路362,363を介してSDA1,SDA2の両方に接続する(第1モード)。また、入力セレクタ340は、撮像素子11のSDA1をバッファ回路372を介してI2C制御回路320のSDA入力に接続する。図6はこの状態を示している。   The I2C control circuit 320 of the imaging control unit 30 first receives a simultaneous operation mode command for the imaging elements 11 and 12 from the CPU 40 (FIG. 1) through the bus I / F circuit 310. Based on the simultaneous operation mode command, the I2C control circuit 320 sends a switching signal to the output selector 330 to connect the SDA output of the I2C control circuit 320 to both SDA1 and SDA2, and to the input selector 340 to the image sensor 11. A switch signal is sent to connect the SDA1 to the SDA input of the I2C control circuit 320. As a result, the output selector 330 connects the SDA output of the I2C control circuit 320 to both SDA1 and SDA2 via the three-state buffer circuits 362 and 363 (first mode). The input selector 340 connects the SDA 1 of the image sensor 11 to the SDA input of the I2C control circuit 320 via the buffer circuit 372. FIG. 6 shows this state.

なお、I2C制御回路320は、入力セレクタ340については、撮像素子12のSDA2をI2C制御回路320のSDA入力に接続するように指示してもよい。すなわち、撮像素子11,12を同時に動作させる場合、撮像素子11,12はそれぞれ応答信号を出力するが、I2Cバスの通信プロトコルの制約上、I2C制御回路320は両方の応答信号を受け取ることができない。そこで、撮像素子11,12のいずれか一方の応答信号を受け取るようにする。   Note that the I2C control circuit 320 may instruct the input selector 340 to connect the SDA2 of the image sensor 12 to the SDA input of the I2C control circuit 320. That is, when the image sensors 11 and 12 are simultaneously operated, the image sensors 11 and 12 output response signals, respectively, but the I2C control circuit 320 cannot receive both response signals due to restrictions on the communication protocol of the I2C bus. . Therefore, the response signal of either one of the image sensors 11 and 12 is received.

次に、I2C制御回路320は、CPU40からバスI/F回路310を通して、撮像素子11,12に共通のスレーブアドレス、フラグ(W)、内部レジスタアドレス、コマンド等の一連のデータ群を受け取る。I2C制御回路320は、これら一連のデータ群を内部レジスタに格納した後、以下のようにして、あたかも1つのスレーブデバイスにデータを送信するかのように、通常のI2Cバスの通信プロトコルに則って撮像素子の11,12のレジスタ群に同時にコマンド等を設定する。   Next, the I2C control circuit 320 receives a series of data groups such as a slave address, a flag (W), an internal register address, and a command common to the image sensors 11 and 12 from the CPU 40 through the bus I / F circuit 310. After storing the series of data groups in the internal register, the I2C control circuit 320 follows the normal I2C bus communication protocol as if sending data to one slave device as follows. Commands and the like are simultaneously set in the register groups 11 and 12 of the image sensor.

まず、I2C制御回路320は、3ステート・バッファ回路361を通してSCLにクロックを送出する。クロックは一連の通信シーケンスが終了するまで送出される。   First, the I2C control circuit 320 sends a clock to the SCL through the 3-state buffer circuit 361. The clock is transmitted until a series of communication sequences is completed.

次に、I2C制御回路320は、クロックに同期してスタート・コンディション信号(S)を出力する。スタート・コンディション信号(S)は、出力セレクタ330、3ステート・バッファ回路362,363、SDA1,SDA2の経路で撮像素子11,12に通知される。撮像素子11,12は、それぞれクロックに同期してスタート・コンディション信号(S)を受信することで、通信の開始を認識する。   Next, the I2C control circuit 320 outputs a start condition signal (S) in synchronization with the clock. The start condition signal (S) is notified to the image sensors 11 and 12 through the paths of the output selector 330, the three-state buffer circuits 362 and 363, and SDA1 and SDA2. The image sensors 11 and 12 recognize the start of communication by receiving the start condition signal (S) in synchronization with the clock.

次に、I2C制御回路320は、クロックに同期してコントロール・バイトを出力する。コントロール・バイトは、撮像素子11,12のスレーブアドレス(7ビット)とWフラグ(1ビット)からなる。該コントロール・バイトは、出力セレクタ330、3ステート・バッファ回路362,363、SDA1,SDA2の経路で撮像素子11,12に送信される。撮像素子11,12は、それぞれクロックに同期してコントロール・バイトを受信し、該受信したコントロール・バイト内のスレーブアドレスと撮像素子のアドレスが一致し、フラグが“W”ということで、データの受信処理に備える。そして、撮像素子11,12は、それぞれクロックに同期して応答信号ACKをSDA1,SDA2に出力する。このうち、撮像素子11のACKがSDA1、バッファ回路372、入力セレクタ340の経路でI2C制御回路320に受信される。   Next, the I2C control circuit 320 outputs a control byte in synchronization with the clock. The control byte includes a slave address (7 bits) and a W flag (1 bit) of the image sensors 11 and 12. The control byte is transmitted to the image sensors 11 and 12 through the path of the output selector 330, the three-state buffer circuits 362 and 363, and SDA1 and SDA2. Each of the image sensors 11 and 12 receives the control byte in synchronization with the clock, the slave address in the received control byte matches the address of the image sensor, and the flag is “W”. Prepare for reception processing. The image sensors 11 and 12 output response signals ACK to the SDA1 and SDA2 in synchronization with the clock, respectively. Among these, the ACK of the image sensor 11 is received by the I2C control circuit 320 through the path of the SDA 1, the buffer circuit 372, and the input selector 340.

I2C制御回路320は、ACKの受信を確認して、撮像素子11,12内のレジスタアドレス(8ビット)をクロックに同期して出力する。該レジスタアドレスは、出力セレクタ330、3ステート・バッファ回路362,363、SDA1,SDA2の経路で撮像素子11,12に送信される。撮像素子11,12は、それぞれクロックに同期してレジスタアドレスを受信し、保持する。そして、撮像素子11,12は、それぞれクロックに同期して応答信号ACKをSDA1,SDA2に出力する。このうち、撮像素子11のACKがSDA1、バッファ回路372、入力セレクタ340の経路でI2C制御回路320に受信される。   The I2C control circuit 320 confirms reception of ACK, and outputs the register address (8 bits) in the image sensors 11 and 12 in synchronization with the clock. The register address is transmitted to the image sensors 11 and 12 through the path of the output selector 330, the three-state buffer circuits 362 and 363, and SDA1 and SDA2. The image sensors 11 and 12 receive and hold register addresses in synchronization with the clocks. The image sensors 11 and 12 output response signals ACK to the SDA1 and SDA2 in synchronization with the clock, respectively. Among these, the ACK of the image sensor 11 is received by the I2C control circuit 320 through the path of SDA1, the buffer circuit 372, and the input selector 340.

次に、I2C制御回路320は、ACKの受信を確認して、ライトデータ(8ビット)をクロックに同期して出力する。該ライトデータは、出力セレクタ330、3ステート・バッファ回路362,363、SDA1,SDA2の経路で撮像素子11,12に送信される。撮像素子11,12は、それぞれクロックに同期してライトデータを受信し、先に保持しておいてレジスタアドレスに対応するレジスタに該ライトデータを書き込む。そして、撮像素子11,12は、それぞれクロックに同期して応答信号ACKをSDA1,SDA2に出力する。このうち、撮像素子11のACKがSDA1、バッファ回路372、入力セレクタ340の経路でI2C制御回路320に受信される。   Next, the I2C control circuit 320 confirms reception of ACK, and outputs write data (8 bits) in synchronization with the clock. The write data is transmitted to the image sensors 11 and 12 through the path of the output selector 330, the three-state buffer circuits 362 and 363, and SDA1 and SDA2. The image sensors 11 and 12 receive the write data in synchronization with the clock, respectively, hold the data first, and write the write data to the register corresponding to the register address. The image sensors 11 and 12 output response signals ACK to the SDA1 and SDA2 in synchronization with the clock, respectively. Among these, the ACK of the image sensor 11 is received by the I2C control circuit 320 through the path of SDA1, the buffer circuit 372, and the input selector 340.

以下、同様にして、I2C制御回路と撮像素子11,12との間で、クロックに同期してレジスタアドレス、ACK、ライトデータ、ACKの送受信が繰り返される。これにより、撮像素子11,12内のレジスタ群にデータが書き込まれる(コマンド等が設定される)。   Thereafter, in the same manner, transmission / reception of a register address, ACK, write data, and ACK is repeated between the I2C control circuit and the image sensors 11 and 12 in synchronization with the clock. As a result, data is written into a register group in the image sensors 11 and 12 (commands are set).

I2C制御回路320は、すべてのデータの送信を終え、撮像素子側からの応答信号の受信を確認すると、ストップ・コンディション信号(P)を出力する。ストップ・コンディション信号(P)は、出力セレクタ330、3ステート・バッファ回路362,362、SDA1,SDA2の経路で撮像素子11,12に通知される。撮像素子11,12はストップ・コンディション信号(P)を受信することで、一連の通信シーケンスの終了を確認して、待機状態に戻る。I2C制御回路320は、ストップ・コンディション信号を送出後、クロックの送出を止め(SCLを“H”レベルに保持)、待機状態へ戻る。   When the I2C control circuit 320 finishes transmission of all data and confirms reception of the response signal from the image sensor side, it outputs a stop condition signal (P). The stop condition signal (P) is notified to the image sensors 11 and 12 through the path of the output selector 330, the three-state buffer circuits 362 and 362, and SDA1 and SDA2. The image sensors 11 and 12 receive the stop condition signal (P), thereby confirming the end of a series of communication sequences and returning to the standby state. After sending the stop condition signal, the I2C control circuit 320 stops sending the clock (holds SCL at “H” level) and returns to the standby state.

なお、ここでは説明を簡単にするために、レジスタアドレス、ライトデータはそれぞれ8ビット(1バイト)としたが、8ビット以上の場合には、8ビットずつ2回あるいはそれ以上に分けて送受信されることになる。   In order to simplify the explanation, the register address and the write data are each 8 bits (1 byte). However, in the case of 8 bits or more, each 8 bits are transmitted and received twice or more. Will be.

図6の構成の撮像制御ユニット30によれば、同一種類、つまり、同一のスレーブアドレスを有する2つの撮像素子11,12へのコマンド等の書込み(設定)処理が同一タイミングで行うことが可能で、各撮像素子毎に個別に実施する必要がないため、設定処理時間を短縮することができる。しかも、撮像素子11,12は、スレーブアドレスを外部端子にて指定する機能が無くてもよい。このように、設定処理時間を短縮できるのは、一度に撮像素子等のデバイスを制御したり、使用したりする必要がある装置においては非常に有用である。   According to the imaging control unit 30 having the configuration of FIG. 6, writing (setting) processing of commands and the like to two imaging elements 11 and 12 having the same type, that is, the same slave address, can be performed at the same timing. Since it is not necessary to carry out each image pickup device individually, the setting processing time can be shortened. In addition, the image sensors 11 and 12 may not have a function of specifying a slave address with an external terminal. Thus, the shortening of the setting processing time is very useful in an apparatus that needs to control or use a device such as an image sensor at a time.

また、I2C制御回路320のI2Cの通信プロトコルは変更する必要がなく、I2C制御回路320は、撮像素子11,12を1つのスレーブデバイスと見做して、通常のI2Cバス通信プロトコルに則ってコマンド等を送信するだけでよい。すなわち、I2C制御回路320は、特別に煩雑な処理を行うことなく、同一種類の撮像素子11,12へコマンド等を同時に設定することができる。   The I2C communication protocol of the I2C control circuit 320 does not need to be changed. The I2C control circuit 320 regards the image sensors 11 and 12 as one slave device, and performs a command according to a normal I2C bus communication protocol. All you need to do is send etc. That is, the I2C control circuit 320 can simultaneously set commands and the like to the same type of image pickup devices 11 and 12 without performing specially complicated processing.

また、撮像素子11,12が同一スレーブアドレスの場合、各撮像素子11,12毎にI2C制御回路320を持たせることで、撮像素子11,12へコマンド等を同時に設定することが可能であるが、回路規模が増え、コストアップとなる。これに対し、本発明による実施形態である図6の構成によれば、2つの撮像素子11,12に対して1つのI2C制御回路320でよく、回路規模も小さくでき、コストダウンの効果もある。   In addition, when the image sensors 11 and 12 have the same slave address, it is possible to set commands to the image sensors 11 and 12 simultaneously by providing the I2C control circuit 320 for each image sensor 11 and 12. This increases the circuit scale and increases the cost. On the other hand, according to the configuration of FIG. 6 which is an embodiment according to the present invention, only one I2C control circuit 320 is required for the two image sensors 11 and 12, the circuit scale can be reduced, and the cost can be reduced. .

次に、図6の構成中のエラー検出回路350について説明する。撮像素子11,12は、I2C制御回路310からのコマンド等を正常に受信すれば、応答信号としてACKをSDA1,SDA2へ出力し、正常に受信されなければ、応答信号としてNOACKをSDA1,SDA2へ出力する。I2C制御回路320のI2Cバス通信プロトコルの制約上、このうちの一方の応答信号のみがI2C制御回路320へ送られる(図6では撮像素子11の応答信号)。   Next, the error detection circuit 350 in the configuration of FIG. 6 will be described. The imaging elements 11 and 12 output ACK to the SDA1 and SDA2 as response signals if they normally receive a command from the I2C control circuit 310, and if they are not received normally, NOACK to the SDA1 and SDA2 as response signals. Output. Due to restrictions on the I2C bus communication protocol of the I2C control circuit 320, only one of the response signals is sent to the I2C control circuit 320 (the response signal of the image sensor 11 in FIG. 6).

一方、エラー検出回路350は、撮像素子11,12がSDA1,SDA2へ出力する応答信号をバッファ回路372,373を介して入力して、撮像素子11,12が出力する応答信号の状態を監視している。そして、エラー検出回路350は、一方あるいは両方の応答信号がNOACKの場合や、ACK出力タイミングにて応答信号が出力されない場合等、エラー発生をバスI/Fを介してCPU40(図1)に通知する。これを受けて、CPU40はI2C制御回路320に対して処理の中止を指示して、例えば、最初から処理をやり直すようにする。これにより、コマンド設定処理の信頼性を向上させることができる。   On the other hand, the error detection circuit 350 inputs response signals output from the image sensors 11 and 12 to the SDA1 and SDA2 via the buffer circuits 372 and 373, and monitors the state of the response signals output from the image sensors 11 and 12. ing. The error detection circuit 350 notifies the CPU 40 (FIG. 1) of the occurrence of an error via the bus I / F when one or both response signals are NOACK or when no response signal is output at the ACK output timing. To do. In response to this, the CPU 40 instructs the I2C control circuit 320 to stop the process, and for example, the process is restarted from the beginning. Thereby, the reliability of the command setting process can be improved.

なお、エラー検出回路350は、エラー発生時、CPU40と共にI2C制御回路320へもエラー発生を通知することでもよい。この場合、I2C制御回路320は、直ちに処理を中止して、CPU40から以後の指示を待つこととなる。   Note that the error detection circuit 350 may notify the I2C control circuit 320 together with the CPU 40 when an error occurs. In this case, the I2C control circuit 320 immediately stops processing and waits for a subsequent instruction from the CPU 40.

次に、図6の本実施形態に係る撮像制御ユニット(I2C制御装置)30において、I2C制御回路320が撮像素子11あるいは撮像素子12と個別にデータ等の送受信行う単独モード時の動作について説明する。   Next, in the imaging control unit (I2C control device) 30 according to the present embodiment in FIG. 6, the operation in the single mode in which the I2C control circuit 320 individually transmits and receives data and the like with the imaging device 11 or the imaging device 12 will be described. .

撮像制御ユニット30のI2C制御回路320は、必要に応じてCPU40(図1)等の指示により撮像素子11あるいは撮像素子12と個別にコマンドやステータス等の送受信を実施することがある。これを単独動作モードと称することにする。図6の構成の場合、出力セレクタ330及び入力セレクタ340を切り替えるだけで、単独動作モードを実施することができる。   The I2C control circuit 320 of the imaging control unit 30 may perform transmission / reception of commands and status individually with the imaging device 11 or the imaging device 12 according to an instruction from the CPU 40 (FIG. 1) or the like as necessary. This will be referred to as a single operation mode. In the case of the configuration of FIG. 6, the single operation mode can be implemented simply by switching the output selector 330 and the input selector 340.

図7は、I2C制御回路320が撮像素子11とコマンドやステータス等の送受信を実施する場合の出力セレクタ330及び入力セレクタ340の状態を示した図である。なお、単独動作モードではエラー検出回路350は不要であるため、図7では省略してある。   FIG. 7 is a diagram illustrating states of the output selector 330 and the input selector 340 when the I2C control circuit 320 performs transmission / reception of commands, statuses, and the like with the image sensor 11. Note that the error detection circuit 350 is not necessary in the single operation mode, and is omitted in FIG.

I2C制御回路320は、CPU40から撮像素子11の単独動作モード指令を受け取ることで、出力セレクタ330にはI2C制御回路320のSDA出力を撮像素子11のSDA1に接続すべく切替信号を送出し、入力セレクタ340には撮像素子11のSDA1をI2C制御回路320のSDA入力に接続すべく切替信号を送出する。これにより、出力セレクタ330は、I2C制御回路320のSDA出力を3ステート・バッファ回路362を介して撮像素子11のSDA1に接続する(第2モード)。また、入力セレクタ340は、撮像素子11のSDA1をバッファ回路372を介してI2C制御回路320のSDA入力に接続する。これにより、撮像素子12のSDA2は非アクティブとなる。   The I2C control circuit 320 receives a single operation mode command of the image sensor 11 from the CPU 40, and sends a switching signal to the output selector 330 to connect the SDA output of the I2C control circuit 320 to the SDA1 of the image sensor 11. The selector 340 sends a switching signal to connect the SDA 1 of the image sensor 11 to the SDA input of the I2C control circuit 320. As a result, the output selector 330 connects the SDA output of the I2C control circuit 320 to the SDA1 of the image sensor 11 via the three-state buffer circuit 362 (second mode). The input selector 340 connects the SDA 1 of the image sensor 11 to the SDA input of the I2C control circuit 320 via the buffer circuit 372. Thereby, SDA2 of the image sensor 12 becomes inactive.

以後、I2C制御回路320がマスタデバイス、撮像素子11がスレーブデバイスとなって、I2C制御回路320と撮像素子11との間でSDA1を使用して、通常のI2Cバス通信プロトコルに則ってコマンドやステータス等の送受信が実施されることになる。すなわち、データ書込み動作では、I2C制御回路320は出力セレクタ330、3ステート・バッファ回路362、SDA1の経路でコマンド等を撮像素子11に送信し、撮像素子11はSDA1、バッファ回路372、入力セレクタ340の経路で応答信号(ACK)をI2C制御回路320に返す。また、データ読み出し動作では、撮像素子11はSDA1、バッファ回路372、入力セレクタ340の経路でステータス等をI2C制御回路320に送信し、I2C制御回路320は出力セレクタ330、3ステート・バッファ回路362、SDA1の経路で応答信号(ACK)を撮像素子11に返す。一連の通信シーケンスが終了するまで、I2C制御回路320が3ステート・バッファ回路361を駆動してSCLにクロックを送出することは、先の同時動作モードの場合と同様である。   Thereafter, the I2C control circuit 320 serves as a master device, the image sensor 11 serves as a slave device, and the SDA1 is used between the I2C control circuit 320 and the image sensor 11 to execute commands and status in accordance with a normal I2C bus communication protocol. Etc. will be implemented. That is, in the data write operation, the I2C control circuit 320 transmits a command or the like to the image sensor 11 through the path of the output selector 330, the three-state buffer circuit 362, and SDA1, and the image sensor 11 has SDA1, the buffer circuit 372, and the input selector 340. The response signal (ACK) is returned to the I2C control circuit 320 through the path (1). In the data read operation, the image sensor 11 transmits the status and the like to the I2C control circuit 320 through the path of the SDA1, the buffer circuit 372, and the input selector 340. The I2C control circuit 320 outputs the output selector 330, the three-state buffer circuit 362, A response signal (ACK) is returned to the image sensor 11 through the route of SDA1. Until the end of a series of communication sequences, the I2C control circuit 320 drives the 3-state buffer circuit 361 and sends a clock to the SCL, as in the previous simultaneous operation mode.

図8は、I2C制御回路320が撮像素子12とコマンドやステータス等の送受信を実施する場合の出力セレクタ330及び入力セレクタ340の状態を示した図である。ここでも、エラー検出回路350は省略してある。   FIG. 8 is a diagram illustrating the states of the output selector 330 and the input selector 340 when the I2C control circuit 320 performs transmission / reception of commands, statuses, and the like with the image sensor 12. Again, the error detection circuit 350 is omitted.

図8に示すように、I2C制御回路320と撮像素子12の間でコマンドやステータス等の送受信を実施する場合、出力セレクタ330は、I2C制御回路320から切替信号を受け取ることで、I2C制御回路320のSDA出力を3ステート・バッファ回路363を介して撮像素子12のSDA2に接続する(第2モード)。また、入力セレクタ340は、同様にI2C制御回路320から切替信号を受け取ることで、撮像素子12のSDA2をバッファ回路373を介してI2C制御回路320のSDA入力に接続する。これにより、I2C制御回路320がマスタデバイス、撮像素子12がスレーブデバイスとなって、I2C制御回路320と撮像素子12との間でSDA2を使用して、通常のI2Cバス通信プロトコルに則ってコマンドやステータス等の送受信が可能になる。この時、撮像素子11のSDA1は非アクティブである。   As illustrated in FIG. 8, when performing transmission / reception of commands, statuses, and the like between the I2C control circuit 320 and the image sensor 12, the output selector 330 receives a switching signal from the I2C control circuit 320, thereby causing the I2C control circuit 320 to perform transmission / reception. Are connected to the SDA2 of the image sensor 12 via the three-state buffer circuit 363 (second mode). Similarly, the input selector 340 receives the switching signal from the I2C control circuit 320 to connect the SDA2 of the image sensor 12 to the SDA input of the I2C control circuit 320 via the buffer circuit 373. As a result, the I2C control circuit 320 becomes a master device and the image pickup device 12 becomes a slave device, and the SDA2 is used between the I2C control circuit 320 and the image pickup device 12 to execute commands and commands in accordance with a normal I2C bus communication protocol. Status and other information can be sent and received. At this time, SDA1 of the image sensor 11 is inactive.

このように、本実施形態に係る撮像制御ユニット30では、I2C制御回路320が撮像素子11あるいは撮像素子12と個別にコマンドやステータス等を送受信する単独動作モードと、撮像素子11と撮像素子12の両方に同一のコマンド等を同時に送信して設定する同時動作モードを使い分けることが可能であり、撮像装置等に搭載することで利便性が向上する。   As described above, in the imaging control unit 30 according to the present embodiment, the I2C control circuit 320 individually transmits and receives commands and statuses with the imaging device 11 or the imaging device 12, and the imaging device 11 and the imaging device 12. It is possible to use the simultaneous operation mode in which the same command or the like is simultaneously transmitted and set for both, and the convenience is improved by installing the image processing apparatus in the imaging apparatus or the like.

なお、実施形態では、撮像素子は2つとしたが、3つ以上でもよい。すなわち、撮像素子の数だけSDAを増やし、入出力セレクタは、各SDAを選択できる構成とすればよい。   In the embodiment, two image sensors are used, but three or more image sensors may be used. That is, the SDA may be increased by the number of image sensors, and the input / output selector may be configured to select each SDA.

10 撮像ユニット
11,12 撮像素子
20 画像処理ユニット
30 撮像制御ユニット
40 CPU
320 I2C制御回路
330 出力セレクタ
340 入力セレクタ
SCL シリアルクロック線
SDA1,SDA2 シリアルデータ線
DESCRIPTION OF SYMBOLS 10 Imaging unit 11, 12 Image sensor 20 Image processing unit 30 Imaging control unit 40 CPU
320 I2C control circuit 330 Output selector 340 Input selector SCL Serial clock line SDA1, SDA2 Serial data line

特開2009−105731号公報JP 2009-105731 A

Claims (4)

複数の撮像素子を有する撮像装置であって、
複数の前記撮像素子により撮像された画像データから全天球画像を合成する画像合成手段と、
マスタデバイスとなり、複数の前記撮像素子をスレーブデバイスとして、同一のスレーブアドレス、同一の内部アドレスをもつレジスタを備えた複数の該撮像素子とシリアルI/Fバスを利用した所定の通信プロトコルに基づいて該撮像素子の動作に必要な設定データの書き込みを制御する1つの制御手段と、
複数の前記撮像素子の同一の内部アドレスを持つ複数のレジスタに対して該制御手段により前記所定のプロトコルに基づいて同時に同一設定データの書き込みを実行させる第1モードと、複数の前記撮像素子の1つの撮像素子のレジスタに対して該制御手段により前記所定のプロトコルに基づいて個別に設定データの書き込みを実行させる第2モードとを持つ切替え手段と、
を有することを特徴とする撮像装置。
An imaging apparatus having a plurality of imaging elements,
Image synthesizing means for synthesizing an omnidirectional image from image data captured by the plurality of image sensors;
Based on a predetermined communication protocol using a serial I / F bus and a plurality of the image sensors having registers having the same slave address and the same internal address, with the plurality of image sensors as slave devices. One control means for controlling writing of setting data necessary for the operation of the image sensor;
A first mode in which the control means simultaneously writes the same setting data to a plurality of registers having the same internal address of the plurality of image sensors based on the predetermined protocol; and one of the plurality of image sensors Switching means having a second mode in which writing of setting data is individually executed by the control means on the basis of the predetermined protocol with respect to the registers of two image sensors;
An imaging device comprising:
前記バス切替え手段が前記第1モードの時、複数の前記撮像素子それぞれがマスタデバイスである前記制御手段と同一タイミングで前記設定データの受信を行なった応答として前記シリアルI/Fバスに送出する応答信号に基づいて、1つの前記撮像素子または複数の前記撮像素子それぞれがマスタデバイスである前記制御手段から同一タイミングで前記設定データの受信を行った応答として前記設定データを受信したことを示す前記応答信号を出力しない場合をエラーとして検出するエラー検出手段を有する、
ことを特徴とする請求項1に記載の撮像装置。
When the bus switching means is in the first mode, a response sent to the serial I / F bus as a response that the plurality of image sensors have received the setting data at the same timing as the control means that is a master device. The response indicating that the setting data has been received as a response in which the setting data is received at the same timing from the control unit that is one master imaging device or a plurality of the imaging devices based on a signal Having an error detection means for detecting a case where no signal is output as an error;
The imaging apparatus according to claim 1.
前記シリアルI/Fバスはシリアルクロック線とシリアルデータ線とからなり、前記シリアルクロック線は複数の前記撮像素子に共通に接続される、
ことを特徴とする請求項1または2に記載の撮像装置。
The serial I / F bus includes a serial clock line and a serial data line, and the serial clock line is commonly connected to the plurality of imaging elements.
The imaging apparatus according to claim 1 or 2, wherein
前記シリアルI/FバスはI2Cバスであり、前記制御手段はI2C制御手段である、
ことを特徴とする請求項1乃至3のいずれか1項に記載の撮像装置。
The serial I / F bus is an I2C bus, and the control means is an I2C control means.
The image pickup apparatus according to claim 1, wherein the image pickup apparatus is an image pickup apparatus.
JP2016179730A 2016-09-14 2016-09-14 Imaging device Expired - Fee Related JP6330873B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016179730A JP6330873B2 (en) 2016-09-14 2016-09-14 Imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016179730A JP6330873B2 (en) 2016-09-14 2016-09-14 Imaging device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2012040502A Division JP6007509B2 (en) 2012-02-27 2012-02-27 Serial I / F bus control device and imaging device

Publications (2)

Publication Number Publication Date
JP2016220254A true JP2016220254A (en) 2016-12-22
JP6330873B2 JP6330873B2 (en) 2018-05-30

Family

ID=57581883

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016179730A Expired - Fee Related JP6330873B2 (en) 2016-09-14 2016-09-14 Imaging device

Country Status (1)

Country Link
JP (1) JP6330873B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020522029A (en) * 2017-05-31 2020-07-27 ドンウン アナテック カンパニー リミテッド Data transmission method in camera module
WO2023061052A1 (en) * 2021-10-14 2023-04-20 上海矽睿科技股份有限公司 Automatic jumper apparatus and communication device
WO2023061053A1 (en) * 2021-10-14 2023-04-20 上海矽睿科技股份有限公司 I2c communication device and communication system
CN116381468A (en) * 2023-06-05 2023-07-04 浙江瑞测科技有限公司 Method and device for supporting multi-chip parallel test by single image acquisition card

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002544742A (en) * 1999-05-12 2002-12-24 アイ ムーヴ コーポレイション Digital imaging system
JP2006011926A (en) * 2004-06-28 2006-01-12 Ricoh Co Ltd Serial data transfer system, serial data transfer device, serial data transfer method and image forming apparatus
JP2006023903A (en) * 2004-07-07 2006-01-26 Sharp Corp Electronic equipment
JP2007525054A (en) * 2003-06-03 2007-08-30 スチュアート,レオナード,ピー.,Iii Digital 3D / 360 degree camera system
WO2011127078A1 (en) * 2010-04-05 2011-10-13 Qualcomm Incorporated Combining data from multiple image sensors

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002544742A (en) * 1999-05-12 2002-12-24 アイ ムーヴ コーポレイション Digital imaging system
JP2007525054A (en) * 2003-06-03 2007-08-30 スチュアート,レオナード,ピー.,Iii Digital 3D / 360 degree camera system
JP2006011926A (en) * 2004-06-28 2006-01-12 Ricoh Co Ltd Serial data transfer system, serial data transfer device, serial data transfer method and image forming apparatus
JP2006023903A (en) * 2004-07-07 2006-01-26 Sharp Corp Electronic equipment
WO2011127078A1 (en) * 2010-04-05 2011-10-13 Qualcomm Incorporated Combining data from multiple image sensors
JP2013539608A (en) * 2010-04-05 2013-10-24 クゥアルコム・インコーポレイテッド Combining data from multiple image sensors

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020522029A (en) * 2017-05-31 2020-07-27 ドンウン アナテック カンパニー リミテッド Data transmission method in camera module
US11330181B2 (en) 2017-05-31 2022-05-10 Dongwoon Anatech Co., Ltd. Method for transmitting data in camera module
WO2023061052A1 (en) * 2021-10-14 2023-04-20 上海矽睿科技股份有限公司 Automatic jumper apparatus and communication device
WO2023061053A1 (en) * 2021-10-14 2023-04-20 上海矽睿科技股份有限公司 I2c communication device and communication system
CN116381468A (en) * 2023-06-05 2023-07-04 浙江瑞测科技有限公司 Method and device for supporting multi-chip parallel test by single image acquisition card
CN116381468B (en) * 2023-06-05 2023-08-22 浙江瑞测科技有限公司 Method and device for supporting multi-chip parallel test by single image acquisition card

Also Published As

Publication number Publication date
JP6330873B2 (en) 2018-05-30

Similar Documents

Publication Publication Date Title
JP6123274B2 (en) Imaging device
JP6007509B2 (en) Serial I / F bus control device and imaging device
JP6330873B2 (en) Imaging device
TWI545388B (en) Systems and methods for generating a panoramic image
US9596408B2 (en) Image capturing apparatus
EP3591959B1 (en) Image sensor and control system
JP2023532689A (en) SPI-based data transmission system
CN111416923B (en) Image processor and image processing method
KR20210127409A (en) Ois circuit, ois device with a synchronization function between a single sensor and multiple drivers, and its operation method
US20180191940A1 (en) Image capturing device and control method thereof
US10649938B2 (en) Information processing apparatus and method of transferring data
WO2002060175A1 (en) Data transfer device
US8436915B2 (en) Image processing apparatus
CN112689991B (en) Initialization synchronization device, initialization synchronization method, and camera
US9053225B2 (en) Data processing apparatus, data processing method, and storage medium
CN101782928A (en) Data acquisition processing device and method
CN112449137A (en) Data transmission system and data transmission method based on mobile industry processor interface
US20120131315A1 (en) Data processing apparatus
JP2004023397A (en) Image processing system
JP7387420B2 (en) Accessory devices, imaging devices, and control methods
JP2013150666A (en) Endoscope apparatus
JP6245389B2 (en) Imaging apparatus and image processing apparatus
JP2021114755A (en) Imaging device and accessory device
JP2017076358A (en) Information processing apparatus, control method of information processing apparatus, and program therefor
JP2019020576A (en) Imaging device, accessory device, and control method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160914

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170529

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170704

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170901

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: 20180327

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180409

R151 Written notification of patent or utility model registration

Ref document number: 6330873

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees