JP2015106769A - Control device for imaging device - Google Patents
Control device for imaging device Download PDFInfo
- Publication number
- JP2015106769A JP2015106769A JP2013246884A JP2013246884A JP2015106769A JP 2015106769 A JP2015106769 A JP 2015106769A JP 2013246884 A JP2013246884 A JP 2013246884A JP 2013246884 A JP2013246884 A JP 2013246884A JP 2015106769 A JP2015106769 A JP 2015106769A
- Authority
- JP
- Japan
- Prior art keywords
- image sensor
- clock
- image
- frame
- sensor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Transforming Light Signals Into Electric Signals (AREA)
- Studio Devices (AREA)
Abstract
Description
本発明は、CMOSセンサなどの画像データを出力する画像センサを備えた撮像装置における制御装置に関し、表示装置や記録装置などの外部機器からのトリガ信号に同期して動画を撮像する撮像装置の制御装置に関する。 The present invention relates to a control device in an imaging apparatus including an image sensor that outputs image data such as a CMOS sensor, and controls the imaging apparatus that captures a moving image in synchronization with a trigger signal from an external device such as a display device or a recording device. Relates to the device.
CMOSセンサ等の画像センサを用いた撮像装置からの画像データを、表示装置に動画として表示する場合、表示装置における画像のフレーム表示のタイミングに同期して画像センサからの画像データを取得することが望ましい。画像センサと表示装置のフレーム周期が異なる場合、表示装置の内部または表示装置と画像センサとの間にメモリ(フレームバッファ)とメモリ制御回路を配置して、画像センサからのフレームデータ(1フレーム分の画像データ)を一旦メモリ内に格納し、表示装置のフレーム表示のタイミングで、つまり表示装置の表示動作に同期するようにフレームデータを出力する方法が知られている(例えば特許文献1参照)。 When image data from an imaging device using an image sensor such as a CMOS sensor is displayed as a moving image on a display device, the image data from the image sensor may be acquired in synchronization with the frame display timing of the image on the display device. desirable. When the frame periods of the image sensor and the display device are different, a memory (frame buffer) and a memory control circuit are arranged inside the display device or between the display device and the image sensor, and the frame data from the image sensor (for one frame) Is temporarily stored in the memory, and the frame data is output at the frame display timing of the display device, that is, in synchronization with the display operation of the display device (see, for example, Patent Document 1). .
しかしながら、この方法では、1フレームないしは数フレーム分の画像データをメモリに記憶する必要があり、大容量のメモリが必要となって装置構成が大型化するばかりでなく、複雑な回路が必要となってコストが増大するという問題がある。 However, in this method, it is necessary to store image data for one frame or several frames in a memory, which requires a large-capacity memory, which not only increases the apparatus configuration but also requires a complicated circuit. There is a problem that the cost increases.
ここで、画像センサのなかには、画像センサ内部の固定タイミングによる内部フレーム同期動作(VIDEOモード)のほかに、外部トリガモードと称されるモードを備えたものがあり、この外部トリガモードでは、外部トリガによる同期動作を行うことができるため、上記のようなフレームメモリは不要となる。 Here, some image sensors have a mode called an external trigger mode in addition to an internal frame synchronization operation (VIDEO mode) at a fixed timing inside the image sensor. In this external trigger mode, an external trigger is provided. Therefore, the frame memory as described above is not necessary.
しかしながら、一部の画像センサには、外部トリガモードを備えていないものや、外部トリガモードを備えるものの、その機能が制限(例えば露光と前のフレームの画像出力を同時に行うオーバーラップができないために高速化できない等)されているものがある。このような画像センサは、性能がよくても内部フレーム同期動作(VIDEOモード)で使用しなければならず、フレームバッファメモリ制御を用いて同期を取り直す必要があった。 However, some image sensors do not have an external trigger mode or have an external trigger mode, but their functions are limited (for example, they cannot overlap with exposure and image output of the previous frame at the same time). Some of them are not able to speed up. Such an image sensor has to be used in the internal frame synchronization operation (VIDEO mode) even if the performance is good, and it is necessary to re-synchronize using the frame buffer memory control.
また、フレームバッファを使用しない方法として、従来、外部機器側のフレーム同期信号の周期と、1フレームに必要なクロック数とから、画像センサの動作用クロックの周波数を決定して生成する方法、つまり、画像センサの動作用クロックを外部機器のフレーム周期に応じた周波数とする方法が知られている(例えば特許文献2参照)。しかし、画像センサによっては、性能を良好なものとするために推奨の周波数のクロック入力が求められているデバイスがあり、そのような画像センサに対してはこのような手法を適用することはできない。 Also, as a method not using a frame buffer, conventionally, a method of determining and generating the frequency of the operation clock of the image sensor from the cycle of the frame synchronization signal on the external device side and the number of clocks required for one frame, that is, A method is known in which the operation clock of the image sensor is set to a frequency corresponding to the frame period of the external device (see, for example, Patent Document 2). However, depending on the image sensor, there is a device that requires a clock input of a recommended frequency for good performance, and such a method cannot be applied to such an image sensor. .
本発明は上記した従来の各技術が有する諸問題を解決し、外部トリガモードを有さない、あるいは外部トリガモードを実質的に適用できない画像センサであっても、フレームバッファやその制御回路等の複雑な回路を使用することなく、また、画像センサの動作用クロックの周波数をその画像センサの推奨周波数としながらも、画像センサを外部機器からのフレーム周期に同期させることのできる撮像装置の制御装置の提供をその課題としている。 The present invention solves the problems of the conventional technologies described above, and even an image sensor that does not have an external trigger mode or cannot substantially apply the external trigger mode, such as a frame buffer and its control circuit. Control device for an image pickup apparatus that can synchronize the image sensor with a frame period from an external device without using a complicated circuit and using the frequency of the operation clock of the image sensor as a recommended frequency of the image sensor Is the issue.
上記の課題を解決するため、本発明の撮像装置の制御装置は、画像データを出力する画像センサを備えた撮像装置の制御装置であって、クロック発振器からの基準クロックに基づいて上記画像センサの動作用クロックを生成するセンサ動作用クロック生成手段と、上記画像センサのフレーム周期を記憶する記憶手段と、表示装置や記録装置などの画像データを出力すべき外部機器からのトリガ信号を受信するトリガ信号受信手段と、その受信したトリガ信号の周期を計測するトリガ周期計測手段と、計測したトリガ周期と上記記憶手段に記憶されているフレーム周期との差を算出するフレーム周期差算出手段と、その算出されたフレーム周期差の時間だけ上記センサ動作用クロック生成手段からのクロックを停止するクロック停止制御手段を備え、上記トリガ信号に同期して上記画像センサからのフレームデータを上記外部機器に供給するとともに、当該外部機器と上記画像センサとのフレーム周期差の時間だけ、上記画像センサの動作を停止することによって特徴づけられる(請求項1)。 In order to solve the above-described problems, a control device for an image pickup apparatus according to the present invention is a control device for an image pickup apparatus including an image sensor that outputs image data, and the image sensor is based on a reference clock from a clock oscillator. Trigger for receiving a trigger signal from an external device to output image data, such as a display device or a recording device, a sensor operation clock generating device for generating an operation clock, a storage device for storing the frame period of the image sensor A signal receiving means, a trigger period measuring means for measuring the period of the received trigger signal, a frame period difference calculating means for calculating a difference between the measured trigger period and the frame period stored in the storage means, and Clock stop control means for stopping the clock from the sensor operation clock generation means for the calculated frame period difference time. In addition, the frame data from the image sensor is supplied to the external device in synchronization with the trigger signal, and the operation of the image sensor is stopped for the time of the frame period difference between the external device and the image sensor. (Claim 1).
ここで、本発明においては、上記画像センサからの1フレームの画像出力の完了を検知する検知手段を備え、上記クロック停止制御手段は、その検知手段による検知後に上記動作用クロックを停止する構成(請求項2)を採用することが好ましい。 Here, in the present invention, there is provided a detecting means for detecting completion of output of one frame of image from the image sensor, and the clock stop control means stops the operation clock after detection by the detecting means ( It is preferable to adopt claim 2).
また、本発明においては、上記画像センサからの画像データを少なくとも1ライン分以上の一時的に記憶するラインバッファを備え、このラインバッファへの書き込みは上記画像センサの動作用クロックに同期して行うとともに、当該バッファからの読み出しは別のクロックに同期して行う構成(請求項3)を採用することもできる。 In the present invention, a line buffer that temporarily stores at least one line of image data from the image sensor is provided, and writing to the line buffer is performed in synchronization with the operation clock of the image sensor. In addition, it is possible to adopt a configuration in which reading from the buffer is performed in synchronization with another clock (claim 3).
本発明は、画像センサ側のフレーム周期と、表示装置等の外部機器のフレーム周期との差の時間だけ、画像センサに供給する動作用クロックを停止させることにより、互いに異なるフレーム周期を持つ画像センサと外部機器とを実質的に同期させることを可能とし、課題を解決するものである。 The present invention provides an image sensor having different frame periods by stopping the operation clock supplied to the image sensor for the time difference between the frame period of the image sensor and the frame period of an external device such as a display device. And the external device can be substantially synchronized to solve the problem.
すなわち、画像センサを例えばその最適周波数のクロックで動作させたときのフレーム周期が、表示装置等の外部機器のフレーム周期よりも短い場合、最適周波数のクロックで画像センサを動作させてそのままデータを出力すると、外部機器とは非同期となってしまうが、画像センサと外部機器の各フレーム周期の差の時間だけ画像センサの動作用クロックを停止し、その間の画像センサの動作を停止させることで、画像センサのフレーム周期を外部機器のフレーム周期に実質的に同期させることができる。 That is, for example, if the frame period when the image sensor is operated with the clock of the optimum frequency is shorter than the frame period of an external device such as a display device, the image sensor is operated with the clock of the optimum frequency and the data is output as it is. Then, although it becomes asynchronous with the external device, the image sensor operation clock is stopped for the time of the difference between the frame periods of the image sensor and the external device, and the operation of the image sensor during that time is stopped. The frame period of the sensor can be substantially synchronized with the frame period of the external device.
画像センサの動作用クロックを停止させるタイミングは、1フレームデータの出力の完了を検知する検知手段を設けて、その検知を行ってからとすることにより(請求項2)、フレームデータを確実に外部機器に対して出力することができる。 The timing to stop the operation clock of the image sensor is provided by detecting means for detecting the completion of output of one frame data, and after the detection is performed (Claim 2), the frame data is reliably externally output. Can be output to the device.
また、画像センサと外部機器のライン周期が相違する場合には、画像センサの動作用クロックの周波数で直接的に外部機器に出力することができないので、少なくとも1ライン分以上のラインデータを一時的に記憶するラインバッファを設け、そのラインバッファへの書き込みは画像センサの動作用クロックに同期して行い、読み出しは別のクロックに同期して行うこと(請求項3)、つまり外部機器に都合のよい周波数のクロックに同期してデータの読み出しを行うことで、画像センサの動作用クロックを独立させ、しかもライン周期の相違を吸収することができる。 In addition, when the line cycles of the image sensor and the external device are different, since it cannot be directly output to the external device at the frequency of the operation clock of the image sensor, at least one line of line data is temporarily stored. A line buffer for storing data is provided, and writing to the line buffer is performed in synchronization with the operation clock of the image sensor, and reading is performed in synchronization with another clock. By reading data in synchronization with a clock having a good frequency, the operation clock of the image sensor can be made independent and the difference in line cycle can be absorbed.
本発明によれば、画像センサと表示装置等の外部機器のフレーム周期に差があっても、その差の分だけ画像センサの動作用クロックを停止することにより、画像センサの動作をその分だけ停止させるので、画像センサと外部機器の各動作クロックの周波数が互いに相違していても、そのままの状態で画像センサのフレーム周期を外部機器のフレーム周期に同期させることができる。したがって、フレームバッファが不要となり、しかも、画像センサの動作用クロックの周波数を特に変更する必要もない。 According to the present invention, even if there is a difference in the frame period between the image sensor and an external device such as a display device, the operation of the image sensor is reduced by that amount by stopping the operation clock of the image sensor by the difference. Since the operation is stopped, the frame period of the image sensor can be synchronized with the frame period of the external device as it is even if the frequency of each operation clock of the image sensor and that of the external device are different from each other. Therefore, the frame buffer is not necessary, and there is no need to change the frequency of the operation clock of the image sensor.
また、画像センサの動作用クロックの停止を、1フレームのデータの出力完了を検知してから行うことにより、フレームデータが異常になることを防止することができる。 Further, by stopping the operation clock of the image sensor after detecting the completion of output of one frame of data, it is possible to prevent the frame data from becoming abnormal.
そして、ラインバッファを設けて、画像センサからの画像データの書き込みを当該画像センサの動作用クロックに同期して行い、その読み出しを別のクロック、例えば外部機器に対応したクロックで行うことにより、画像センサの動作用クロックを独立させることが可能となり、画像センサと、表示装置等の外部機器との双方をそれぞれに最適な周波数のクロックで動作させることが可能となる。 Then, by providing a line buffer, writing image data from the image sensor is performed in synchronization with the operation clock of the image sensor, and reading is performed with another clock, for example, a clock corresponding to an external device, thereby It is possible to make the operation clock of the sensor independent, and it is possible to operate both the image sensor and the external device such as a display device with a clock having an optimum frequency.
以下、図面を参照しつつ本発明の実施の形態について説明する。
図1は本発明の実施の撮像装置の構成を示すブロック図で、外部機器(表示装置もしくは録画装置)に接続した状態で示している。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram illustrating a configuration of an imaging apparatus according to an embodiment of the present invention, in a state where it is connected to an external device (display device or recording device).
撮像装置1は、CMOSセンサなどの画像センサ11と、その画像センサ11の受光面に被写体像を結像させるための光学レンズ12、画像センサ11を制御するためのセンサ制御部13、およびこのセンサ制御部13に基準クロックを供給する水晶発振器14を主体として構成されている。
The
外部機器2は表示装置もしくは録画装置(記録装置)であって、この外部機器2と撮像装置1との間はカメラリンク等の画像データ転送用のケーブルによって接続されている。なお、本例では画像データ転送用のケーブルで接続しているが、USBやEthernet(登録商標)等のデータ転送用のケーブルで接続してもよい。
The
画像センサ11は2次元の撮像素子のほかにA−D変換器を含み、撮像素子の受光面に結像した被写体像情報をデジタルデータとして送信する。画像センサ11内では、蓄積容量のリセット、電荷の蓄積、サンプリング、A−D変換がライン単位で制御され、また、各ラインの画像データの出力は画素単位で制御が行われる。これらの制御は、後述するセンサ制御部13から供給される動作用クロック(以下、センサクロックと称する)を基準に画像センサ11内で水平同期信号や垂直同期信号などのタイミング信号を生成して、そのタイミング信号に基づいて動作を行う。そのため、画像センサ11はセンサ制御部13からのセンサクロックに同期して動作することになる。なお、図1の例では画像センサ内のA−D変換器を含んでいるが、画像センサ内に含まず、センサ制御部13に含むようにしてもよい。
画像センサ11で生成された画像データは、画像データの有効区間を示すタイミング信号および転送クロックと共に、センサ制御部13に送られる。
The
Image data generated by the
センサ制御部13から画像センサ11に送られるセンサクロックの元となり、また、センサ制御部13の内部回路を動作させるための内部クロックの元となる基準クロックは、センサ制御部13に接続された水晶発振器14から供給される。
The reference clock that is the source of the sensor clock sent from the
画像センサ11とセンサ制御部13との間は通信信号で結ばれ、この通信信号は画像センサ11のタイミング等の設定を行うために使用される。
The
また、表示装置や録画装置などの外部機器2の表示タイミングまたは記録タイミングに画像センサ11を同期させるため、外部機器2から各フレームデータの開始のタイミングを示すトリガ信号がセンサ制御部13に供給される。センサ制御部13では、入力したトリガ信号を基準に画像センサ11の動作有効信号とセンサクロックを制御することにより、外部機器2に対する画像センサ11のフレーム同期を行う。
Further, in order to synchronize the
なお、図1の例では1台の撮像装置1のみを外部機器2に接続しているが、1台の外部機器2に対して2台以上の撮像装置1を接続して重畳表示等を行うこともできる。
In the example of FIG. 1, only one
さて、図2に本発明の特徴であるセンサ制御部13の構成例をブロック図で示す。センサ制御部13は、クロック生成部21、タイミング制御部22、画像入力部23、画像出力部24、および通信制御部25から構成されている。
Now, FIG. 2 is a block diagram showing a configuration example of the
画像入力部23は画像センサ11からの画像データを受信する。この画像入力部23には、少なくとも1ライン分、好ましくは数ライン分の画像データを蓄積可能なメモリが搭載されており、入力された画像データを図1の画像センサ11からのタイミング(画像データとともに送られてくるクロックに同期)で蓄積し、蓄積した画像データをセンサ制御部13の内部のタイミング(後述する内部クロックに同期)で読み出して出力する。なお、この画像入力部23の具体的な構成例は後述する。
The
画像入力部23から出力された画像データは画像出力部24に入力され、画像出力部24では図1の外部機器2へ出力するインターフェースによって構成され、入力した画像データを例えばカメラリンク信号形式および信号レベルに変換して出力する。なお、図2の例では、画像入力部23と画像出力部24が直接接続されているが、画像入力部23と画像出力部24の間に画像処理部を設け、γ補正、欠損補正等の画像処理を行ってもよい。
The image data output from the
クロック生成部21は例えばPLL等で構成され、図1の水晶発振器14から供給される基準クロックから、画像センサ11動作用のセンサクロックと、センサ制御部13自体を動作させるための内部クロックを生成する。センサクロックの周波数は画像センサ11に適した周波数であり、この周波数は、画像センサの製造元により指定されている場合もある。一方、内部クロックの周波数は、フレームレートを満たし、なおかつ外部機器2に対応した周波数である。なお、この例では、センサクロックと内部クロックの各周波数は互いに異なる例を示しているが、画像センサ11と外部機器2の条件が合うのであれば同一の周波数でもかまわない。
The
タイミング制御部22は、外部機器2から送られてくるトリガ信号を基準として動作有効信号を生成するとともに、その動作有効信号と、上記したクロック生成部21で生成されたセンサクロックを以下に示すようにマスクを掛けた上で画像センサ11に供給する。
The
通信制御部25は、画像センサ11に対してタイミングやモード設定のための通信を行う。具体的には、この通信制御部25にはCPUとプログラムROMを搭載し、電源投入後に、画像センサ11に対して、1フレームのライン数(画像有効ライン+ブランキング)と1ライン当たりのクロック数等のタイミングに関する設定および通信の信号の生成を行う。なお、CPUは特に搭載しなくてもよいし、他の代替手段で賄うこともできる。
The
図3にタイミング制御部22の構成例を示すブロック図を示し、図4にはタイミング制御部22におけるクロックマスク動作を表すタイムチャートを示す。これらの図を参照しつつ、以下にタイミング制御部22によるセンサクロックのマスク処理の動作について詳述する。
FIG. 3 is a block diagram showing a configuration example of the
周期カウント部31は、図4(b)に示す外部機器2からのトリガ信号の立ち上がりエッジを検出し、前後のトリガ信号の立ち上がりエッジ間においてセンサクロックをカウントし、2つのトリガ信号間の時間、つまり外部機器2における1フレームの周期を表すクロック数を図4(c)に示す時間領域において出力する。具体的構成としてセンサクロックをカウントするカウンタを有し、トリガ信号の立ち上がりエッジの検出により、それまでのカウント値を保持して出力し、同時にカウント値を0にクリアしてセンサクロックの立ち上がりでカウントアップを行う。なお、トリガ信号はある程度一定の間隔でアサートするものとする(表示装置もしくは録画装置等の外部機器2が60fpsであれば約16.666ms毎)。また、画像表示装置等の外部機器2が生成するトリガ信号は、センサクロックとは非同期であることが多いため、上記の動作において不安定状態になることを避けるためにトリガ信号の入力時にメタステーブルの対策を行い、センサクロックに同期させる。
The
メモリ32では、画像センサ11のフレーム周期を表すクロック数の情報を記憶している。画像センサ11は1フレームのライン数(画像有効ライン+ブランキング)と1ライン当たりのクロック数が設定されおり、ライン数と1ライン当たりのクロック数を積算した値がフレーム周期のクロック数となる。なお、この例において画像センサ11は内部フレーム同期動作(VIDEOモード)で動作することを想定しており、上記のライン数、1ライン当たりのクロック数の積算値のサイクル毎に画像データの出力を行う。画像センサ11のモードおよびライン数、クロック数については通信制御部25を通じて画像センサ11に設定される。
The
減算部33は、前記した周期カウント部31からの直前のトリガ信号とその一つ前のトリガ信号との間隔、つまり外部機器2のフレーム周期に対応するクロック数と、メモリ32に記憶している画像センサ11のフレーム周期に対応するクロック数を入力し、外部機器2のフレーム周期から画像センサ11のフレーム周期を減算し、図4(d)に示す時間領域にその結果をマスク区間幅として出力する。なお、トリガ信号間の周期、つまり外部機器2側のフレーム周期は、必ず画像センサ11のフレーム周期よりも長くなければならない。そのため、画像センサ11のフレームレートは外部機器2(表示装置または録画装置)のフレームレートよりも大きくなければならない。実施例としては、画像センサ11のクロック周波数114MHzで、フレームレート60.015fps、フレーム周期16.662ms(クロック数1,899,520)であり、外部機器2のフレームレート60fps、フレーム周期16.666ms(クロック数1,900,000)である。この場合、減算部33による減算値は480クロックとなる。
The subtracting
マスク信号生成部34は、画像センサ11からのタイミング信号をモニタすることにより、1フレームの画像データの出力の完了を検知し、その検知のタイミングを基準に、減算部33により求められたマスク区間幅分だけアサートし、図4(g)に示すようなマスク信号を出力する。具体的には、画像センサ11からの図4(e)に示すような垂直同期信号(Lowアクティブ)の立ち上がりを検出した時点でマスク信号をアサートし、内蔵のカウンタによるセンサクロックのカウント値が減算部33で求められた減算値と等しくなったタイミングでマスク信号をネゲートする。
The mask
クロックマスク部35は論理和回路で構成され、クロック生成部21で生成した図4(a)に示すセンサクロックと、マスク信号生成部34で生成した図4(g)に示すマスク信号の論理和信号を生成することにより、図4(h)に示すように、センサクロックがその一部時間領域で欠落した信号、換言すれば一部時間領域においてセンサクロックが停止している状態の信号を作り、画像センサ11を動作させるセンサクロックとして出力する。前記したように、画像センサ11は供給されたセンサクロックを基準として動作を行うため、クロックのマスク区間中は動作を停止することになる。
The
有効信号生成部36は、撮像、出力動作の許可/禁止を制御する動作有効信号を生成する回路であり、この動作有効信号によって外部機器2からのトリガ信号と画像データの出力タイミングをコントロールすることができる。この点については後で詳述する。
The valid
以上の動作により、VIDEOモードで動作する画像センサ11は設定された周期(ライン数×1ラインのクロック数、実施例では114MHz、1,899,529クロック)毎に画像出力を行うが、画像出力完了後に外部機器2のフレーム周期との差のクロック数分(実施例では480クロック)だけクロックを停止するため、画像センサ11は外部トリガ信号と実質的に同じフレームレート(実施例では60fps、114MHz、1,900,000クロック)で動作することが可能となる。また、以上の動作において、垂直同期信号などの画像センサからのタイミング信号から画像出力が完了したことを検知してからクロックを停止するので、画像出力中にクロックを停止することによる一部画像データの出力停止といった弊害も生じない。
With the above operation, the
次に、外部機器2からのトリガ信号に同期して画像データを出力する方法について、図5に示すタイムチャートを参照しつつ以下に説明する。画像センサ11には、撮像、出力動作の許可/禁止を制御する図5(c)に示す動作有効信号が、前記したセンサ制御部13の有効信号生成部36(図3参照)から供給される。この動作有効信号のアサート後に、図5(d)に示すように撮像(露光)を開始し、撮像完了次第図5(e)の画像センサタイミング信号を出力し、同図(f)のように画像データの出力を開始する。各フレームの露光時間は画像センサ11に設定可能であり、あらかじめ決められた値である。そのため、外部機器2からのトリガ信号を基準に動作有効信号をコントロールすることにより、そのトリガ信号と画像データの出力タイミングをコントロールすることができる。
Next, a method for outputting image data in synchronization with a trigger signal from the
具体的には有効信号生成部36において、外部機器2からのトリガ信号の周期から露光時間を減算した値をクロック数の形で保持し、外部機器2からのトリガ信号の立ち上がりからクロックをカウントし、減算した値のクロック数に達した以降に動作有効信号をアサートする。
Specifically, the effective
このようにしてトリガ信号に同期して出力された画像データは、前記した図2に示したセンサ制御部13の画像入力部23に取り込まれ、この画像入力部23に1ないしは数ライン分の画像データを蓄積するメモリ(ラインバッファ)を設けて、その書き込みをセンサクロックで行い、読み出しを内部クロックで行うことは既に述べたが、以下にこの画像入力部23の構成例について述べる。
The image data output in synchronization with the trigger signal in this way is taken into the
図6に画像入力部23の構成例をブロック図で示す。この例では、ラインバッファとしてデュアルポートのSRAM41を用い、その一方のポートに書き込み制御部42を介して画像センサ11からのタイミング信号(センサクロック、水平同期信号)と画像データを入力するとともに、他方のポートは読み出し制御部43を介して外部機器2に接続する。この読み出し制御部43の出力タイミング信号はタイミング信号生成部44により生成する。このタイミング信号生成部44による出力タイミング信号は、外部機器2のタイミングと一致させる。
ラインバッファのSRAM41の必要容量は、書き込みのライン速度(ライン周期の逆数)や読み出しのライン速度の差により異なる。それぞれのライン速度に差がある場合は、SRAM41への書き込みのアドレスに対して読み出しのアドレスが追い越さないように制御する必要がある。書き込みライン速度が速い場合は、書き込みと読み出しを同時に開始しても、読み出し速度が遅いため、書き込みが先に終了する。そのため、書き込みが終了した時点で、まだ読み出しが終了していない分のデータ容量はSRAM41に格納する必要がある。また読み出しライン速度が早い場合は、読み出し時間の方が短いため、追い越しが発生しないように、ある程度書き込みが完了してから読み出しを開始する必要がある。そのため、読み出しが開始するまでの書き込みを行う分のデータ容量をSRAM41に格納する必要がある。具体的には、(1−遅いライン速度÷早いライン速度)×1フレームの有効ライン数、以上の容量が少なくとも必要となる。なお、実施例ではCMOSセンサ(書き込み)のライン速度は63.6KHzであり、表示機器(読み出し)のライン速度は64KHzであり、1フレームの有効ライン数は1024のため、6.4ライン以上のメモリが必要となる。実際には8ライン分の容量を持つメモリを搭載する。
FIG. 6 is a block diagram illustrating a configuration example of the
The required capacity of the
以上の構成により、SRAM41には画像センサ11の動作タイミングであるセンサクロックと水平同期信号等の画像センサ11に最適なタイミングで画像データが書き込まれ、その書き込まれたデータは、外部機器2に最適なタイミングで画像出力部24を介して外部機器2に送ることができる。
With the above configuration, image data is written in the
1 撮像装置
2 外部機器
11 画像センサ
12 光学レンズ
13 センサ制御部
14 水晶発振器
21 クロック生成部
22 タイミング制御部
23 画像入力部
24 画像出力部
25 通信制御部
31 周期カウント部
32 メモリ
33 減算部
34 マスク信号生成部
35 クロックマスク部
36 有効信号生成部
41 SRAM
42 書き込み制御部
43 読み出し制御部
44 タイミング信号生成部
DESCRIPTION OF
42
Claims (3)
クロック発振器からの基準クロックに基づいて上記画像センサの動作用クロックを生成する動作用クロック生成手段と、上記画像センサのフレーム周期を記憶する記憶手段と、表示装置や記録装置などの画像データを出力すべき外部機器からのトリガ信号を受信するトリガ信号受信手段と、その受信したトリガ信号の周期を計測するトリガ周期計測手段と、計測したトリガ周期と上記記憶手段に記憶されているフレーム周期との差を算出するフレーム周期差算出手段と、その算出されたフレーム周期差の時間だけ上記動作用クロック生成手段からのクロックを停止するクロック停止制御手段を備え、上記トリガ信号に同期して上記画像センサからのフレームデータを上記外部機器に供給するとともに、当該外部機器と上記画像センサとのフレーム周期差の時間だけ、上記画像センサの動作を停止するよう構成されていることを特徴とする撮像装置の制御装置。 A control device for an imaging device including an image sensor that outputs image data,
An operation clock generating means for generating an operation clock for the image sensor based on a reference clock from a clock oscillator, a storage means for storing the frame period of the image sensor, and outputting image data such as a display device or a recording device A trigger signal receiving means for receiving a trigger signal from an external device to be measured, a trigger period measuring means for measuring a period of the received trigger signal, a measured trigger period, and a frame period stored in the storage means A frame period difference calculating means for calculating a difference; and a clock stop control means for stopping the clock from the operation clock generating means for a time corresponding to the calculated frame period difference, wherein the image sensor is synchronized with the trigger signal. Frame data from the external device and the frame between the external device and the image sensor. Just in time arm period difference, the control unit of the imaging apparatus characterized by being configured to stop the operation of the image sensor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013246884A JP2015106769A (en) | 2013-11-29 | 2013-11-29 | Control device for imaging device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013246884A JP2015106769A (en) | 2013-11-29 | 2013-11-29 | Control device for imaging device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2015106769A true JP2015106769A (en) | 2015-06-08 |
Family
ID=53436682
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013246884A Pending JP2015106769A (en) | 2013-11-29 | 2013-11-29 | Control device for imaging device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2015106769A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9979861B2 (en) | 2016-03-11 | 2018-05-22 | Seiko Epson Corporation | Photographing apparatus |
US10313619B2 (en) | 2016-03-11 | 2019-06-04 | Seiko Epson Corporation | Photographing apparatus including an oscillator outputting an output signal based on which a first timing signal and a second timing signal are generated |
-
2013
- 2013-11-29 JP JP2013246884A patent/JP2015106769A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9979861B2 (en) | 2016-03-11 | 2018-05-22 | Seiko Epson Corporation | Photographing apparatus |
US10212313B2 (en) | 2016-03-11 | 2019-02-19 | Seiko Epson Corporation | Data processing device |
US10313619B2 (en) | 2016-03-11 | 2019-06-04 | Seiko Epson Corporation | Photographing apparatus including an oscillator outputting an output signal based on which a first timing signal and a second timing signal are generated |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6156578B2 (en) | Control device for imaging device | |
US9654672B1 (en) | Synchronized capture of image and non-image sensor data | |
US20200204772A1 (en) | Reduction of Banding Artifacts in Image Processing | |
US20080165268A1 (en) | Image display controlling device | |
US20200084387A1 (en) | Low power mode for one or more cameras of a multiple camera system | |
JP5917116B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
JP5745961B2 (en) | Electronic endoscope device | |
JP6170311B2 (en) | Imaging apparatus and control method thereof | |
CN102082901B (en) | Imaging apparatus | |
JP6006083B2 (en) | Imaging apparatus and imaging method | |
JP2015106769A (en) | Control device for imaging device | |
JP2007199816A (en) | Bank controller, information processing device, imaging device and control method | |
JP2010141799A (en) | Electronic camera, and program | |
US10313619B2 (en) | Photographing apparatus including an oscillator outputting an output signal based on which a first timing signal and a second timing signal are generated | |
JP6070308B2 (en) | Imaging device | |
US9363465B2 (en) | Data processing apparatus and data processing method | |
US10979626B2 (en) | Image capturing apparatus, method of controlling same, and storage medium for reducing power consumption in transmission of image data | |
JP5055705B2 (en) | Imaging device | |
JP2017120355A (en) | CAMERA SHAKE SUPPRESSION SYSTEM USING Gyro DEVICE AND Gyro DEVICE | |
JP7414431B2 (en) | Imaging device and its control method and program | |
JP6836722B2 (en) | Image processing device | |
JP5423071B2 (en) | Data transfer device and imaging device | |
JP2019134240A (en) | Image processing device | |
JP6021556B2 (en) | Image processing device | |
JP2017027506A (en) | Data processing device and data processing method |