JP5163162B2 - Data transfer device and electronic camera - Google Patents
Data transfer device and electronic camera Download PDFInfo
- Publication number
- JP5163162B2 JP5163162B2 JP2008023118A JP2008023118A JP5163162B2 JP 5163162 B2 JP5163162 B2 JP 5163162B2 JP 2008023118 A JP2008023118 A JP 2008023118A JP 2008023118 A JP2008023118 A JP 2008023118A JP 5163162 B2 JP5163162 B2 JP 5163162B2
- Authority
- JP
- Japan
- Prior art keywords
- delay
- unit
- data signal
- delay amount
- test 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Transforming Light Signals Into Electric Signals (AREA)
Description
本発明は、データ転送装置および電子カメラに関する。
The present invention relates to a data transfer device, and an electronic camera.
近年、撮像素子の高画素化等に伴い、ディジタルデータの転送の高速化が求められている。従来の高速転送を目的とする電子機器の設計では、伝送路のインピーダンスコントロール、等長配線またはプリント基板等の材質の選定を行い、その後に信号波形のシミュレーション等を行っている。 In recent years, with an increase in the number of pixels of an image sensor, there has been a demand for speeding up digital data transfer. In the design of conventional electronic equipment for the purpose of high-speed transfer, impedance control of a transmission path, selection of materials such as equal-length wiring or a printed circuit board, etc. are performed, and then a signal waveform is simulated.
しかしながら、転送速度がギガヘルツ近傍のオーダーになると等長配線等の対策のみでは限界があり、また、ジッタ(データ信号の遅延時間のゆらぎ)の影響によって安定した高速伝送が困難となる。そこで、例えば、引用文献1や引用文献2では、パラレル方式のデータ転送において、クロック信号を基準信号として用いることにより、転送によって生じた各データ信号の遅延によるばらつきを調節するデータ転送装置が開示されている。
しかしながら、従来技術である引用文献1では、遅延量の調節が完了するまで調節用のテストデータの信号が出力され続けることから、その間データ転送が行えず待機しなければならなかった。 However, in the cited document 1 as the prior art, since the test data signal for adjustment continues to be output until the adjustment of the delay amount is completed, the data transfer cannot be performed during that time and it has to wait.
また、引用文献2では、遅延量の調節において、転送前と転送後とのテストデータを比較して最適な遅延量を算出するために、実装される回路が複雑で大規模になるという問題があった。 Further, in the cited document 2, there is a problem that the circuit to be mounted becomes complicated and large in order to calculate the optimum delay amount by comparing the test data before and after the transfer in adjusting the delay amount. there were.
上記従来技術が有する問題に鑑み、本発明の目的は、クロック信号に対するデータ信号の遅延調節を短時間に行うことができる技術を提供することにある。 SUMMARY OF THE INVENTION In view of the above-described problems of the prior art, an object of the present invention is to provide a technique capable of adjusting a delay of a data signal with respect to a clock signal in a short time.
請求項1に記載のデータ転送装置は、クロック信号が入力されるとともにデータ信号が入力され、前記クロック信号の立ち上がり及び立ち下がりいずれか一方のタイミングに同期して前記データ信号の値を取込む取込部と、前記取込部に入力される前記データ信号の位相を遅延させるための遅延量として予め決められた初期遅延量を記憶する記憶部を有する遅延制御部と、前記初期遅延量を含む最終遅延量に基づいて、前記取込部に入力される前記データ信号の位相を遅延させる遅延部とを備え、前記遅延制御部は、前記取込部により取込まれた前記データ信号の値を判定する判定部と、前記判定部による判定結果に基づいて、前記最終遅延量を増加させる増加部とを更に有し、テストデータ信号に続いて本データ信号が前記取込部に入力される場合であって前記テストデータ信号が前記取込部に入力された場合、第1処理と第2処理と第3処理と第4処理とを順に実行するように制御し、前記第1処理として、前記取込部により取込まれた前記テストデータ信号の値が0でないと前記判定部により判定されたときは、前記増加部は、前記取込部により取込まれた前記テストデータ信号の値が0であると前記判定部により判定されるまで前記最終遅延量を増加させ、前記取込部により取込まれた前記テストデータ信号の値が0であると前記判定部により判定されたときは、前記第1処理を終了し、前記第2処理として、前記取込部により取込まれた前記テストデータ信号の値が1でないと前記判定部により判定されたときは、前記増加部は、前記取込部により取込まれた前記テストデータ信号の値が1であると前記判定部により判定されるまで前記最終遅延量を増加させ、前記取込部により取込まれた前記テストデータ信号の値が1であると前記判定部により判定されたときは、前記最終遅延量を第1遅延量として記憶するとともに前記第2処理を終了し、前記第3処理として、前記取込部により取込まれた前記テストデータ信号の値が0でないと前記判定部により判定されたときは、前記増加部は、前記取込部により取込まれた前記テストデータ信号の値が0であると前記判定部により判定されるまで前記最終遅延量を増加させ、前記取込部により取込まれた前記テストデータ信号の値が0であると前記判定部により判定されたときは、前記最終遅延量を第2遅延量として記憶するとともに前記第3処理を終了し、前記第4処理として、前記第1遅延量及び前記第2遅延量に基づいて、前記テストデータ信号に続いて前記取込部に入力される前記本データ信号の位相を遅延させるための第3遅延量を演算し、前記遅延部は、所定時間内に前記第3遅延量を演算できた場合は、前記第3遅延量に基づいて、前記取込部に取り込まれる前記本データ信号の位相を遅延させ、前記所定時間内に前記第3遅延量を演算できない場合は、前記初期遅延量に基づいて、前記取込部に取込まれる前記本データ信号の位相を遅延させることを特徴とする。
The data transfer apparatus according to claim 1, wherein a clock signal is input and a data signal is input, and the value of the data signal is captured in synchronization with either the rising or falling timing of the clock signal. A delay control unit having a storage unit that stores a predetermined initial delay amount as a delay amount for delaying the phase of the data signal input to the acquisition unit, and the initial delay amount A delay unit that delays the phase of the data signal input to the acquisition unit based on a final delay amount, and the delay control unit calculates a value of the data signal acquired by the acquisition unit. A determination unit for determining, and an increase unit for increasing the final delay amount based on a determination result by the determination unit, and the data signal is input to the capturing unit following the test data signal. If the test data signal is input to the capture unit, the first process, the second process, the third process, and the fourth process are controlled in order, and the first process is performed as the first process. When the determination unit determines that the value of the test data signal captured by the capture unit is not 0, the increase unit determines the value of the test data signal captured by the capture unit. When the determination unit determines that the value of the test data signal acquired by the acquisition unit is 0, the final delay amount is increased until the determination unit determines that 0 is 0. When the determination unit determines that the value of the test data signal acquired by the acquisition unit is not 1 as the second processing, the increase unit The test taken by the take-in part The final delay amount is increased until the determination unit determines that the value of the data signal is 1, and the determination unit determines that the value of the test data signal acquired by the acquisition unit is 1. When the determination is made, the final delay amount is stored as a first delay amount and the second process is terminated. As the third process, the value of the test data signal taken in by the take-in unit is 0. Otherwise, the increase unit determines the final delay amount until the determination unit determines that the value of the test data signal captured by the capture unit is 0. When the determination unit determines that the value of the test data signal acquired by the acquisition unit is 0, the final delay amount is stored as a second delay amount and the third process is performed. To exit As a fourth process, based on the first delay amount and the second delay amount, a third delay amount for delaying the phase of the main data signal that is input to the capturing unit following the test data signal is determined. And when the delay unit is able to calculate the third delay amount within a predetermined time, based on the third delay amount, delays the phase of the main data signal captured by the capture unit, When the third delay amount cannot be calculated within the predetermined time, the phase of the main data signal taken into the take-in unit is delayed based on the initial delay amount.
請求項2に記載のデータ転送装置は、請求項1に記載のデータ転送装置において、前記第3遅延量は、次式(前記第2遅延量−前記第1遅延量)/2+前記第1遅延量により演算されることを特徴とする。The data transfer device according to claim 2 is the data transfer device according to claim 1, wherein the third delay amount is expressed by the following equation (the second delay amount−the first delay amount) / 2 + the first delay. It is calculated by quantity.
請求項3に記載の撮像装置は、請求項1又は請求項2に記載のデータ転送装置と、被写体を撮像して画像データ信号を前記本データ信号として出力する撮像部とを備え、前記撮像部は、前記所定時間の間で出力されるデータ量の前記テストデータ信号を出力し、前記テストデータ信号に続けて前記画像データ信号を出力することを特徴とする。An imaging apparatus according to a third aspect includes the data transfer apparatus according to the first or second aspect, and an imaging unit that captures an image of a subject and outputs an image data signal as the main data signal. Outputs the test data signal having a data amount output during the predetermined time, and outputs the image data signal following the test data signal.
請求項4に記載の電子カメラは、請求項3に記載の電子カメラにおいて、前記テストデータ信号のデータ量は、画像の解像度に応じて決定することを特徴とする。According to a fourth aspect of the present invention, in the electronic camera according to the third aspect, the data amount of the test data signal is determined according to the resolution of the image.
請求項5に記載の電子カメラは、請求項3に記載の電子カメラにおいて、前記テストデータ信号のデータ量は、撮影条件に応じて決定することを特徴とする。According to a fifth aspect of the present invention, in the electronic camera according to the third aspect, the data amount of the test data signal is determined according to a photographing condition.
本発明によれば、クロック信号に対するデータ信号の遅延調節を短時間に行うことができる。 According to the present invention, the delay adjustment of the data signal with respect to the clock signal can be performed in a short time.
≪第1の実施形態≫
図1は、本発明の第1の実施形態に係るデータ転送装置100の構成例を示す模式図である。図1では、電子カメラの撮像部10を送信部とし、電子カメラの信号処理回路13を受信部としたときの構成例を示している。
<< First Embodiment >>
FIG. 1 is a schematic diagram illustrating a configuration example of a
本第1の実施形態の撮像部10は、複数の受光素子が二次元配列された受光面を有する撮像素子11とA/D変換回路(不図示)とを備えており、撮像光学系(不図示)によって受光面に結像した被写体像の画像信号をディジタルの画像データとして出力する。また、撮像部10は、各遅延部14の遅延量を調整するためのテストデータを撮像された画像データの先頭に付加するテストデータ付加部12をさらに有する。
The
ここで、本第1の実施形態の撮像部10には、画像信号を並列出力するn本のデータ信号線DATA0〜DATAn(n=0、1、2、…)の一端と、基準信号であるクロック信号を出力するクロック信号線CLKの一端とが接続されている。これら各信号線の他端は信号処理回路13に接続されており、撮像部10と信号処理回路13とのデータ転送では、n個のチャネルによって画像データをパラレル方式で転送される。
Here, the
信号処理回路13は、撮像部10から入力されたディジタルの画像信号に各種の画像処理を施すプリプロセス回路である。この信号処理回路13は、データ信号線DATA0〜DATAn毎に1組の遅延部14、取込部15および遅延制御部16を有し、さらに画像処理部17と記憶部18とを備える。遅延部14および取込部15はそれぞれ遅延制御部16と接続している。また、各取込部15は画像処理部17と、各遅延制御部16は記憶部18とそれぞれ接続している。なお、画像処理部17は、ディジタルの画像信号に各種の画像処理(欠陥画素補正、色補間、階調補正、ホワイトバランス調整、エッジ強調など)を施す回路構成である。
The
遅延部14は、各データ信号線DATA0〜DATAnのデータ信号の遅延量を制御する回路である。図2は遅延部14の構成例を示す模式図である。遅延部14は、複数段直列に接続された複数の遅延素子30(インバータなど)、各遅延素子30の出力と接続された複数のパス31およびパス31のいずれかを遅延制御部16の指示に従って選択するセレクタ32から構成される。そして、各データ信号線DATA0〜DATAnは、セレクタ32によって選択されたパス31に応じて、各々の遅延回路から出力されるデータ信号の遅延量が制御されて取込部15に出力される。なお、遅延部14の遅延段数は、データ転送の周期の数倍分に対応するように設計される。
The
取込部15は、クロック信号線CLKと接続されており、クロック信号の立ち上がりまたは立ち下がりのタイミングに同期してデータ信号の示す値を取り込む。そして、取込部15は、データ信号の示す値を遅延制御部16および画像処理部17に出力する。なお、後述の動作例での取込部15は、クロック信号の立ち上がりのタイミングでデータ信号の値を取り込むものとする。
The capturing
遅延制御部16は、一対の遅延部14および取込部15を制御するプロセッサである。図3は、本第1の実施形態における遅延制御部16の構成例を示す模式図である。遅延制御部16は、画像データの前に転送されるテストデータによる取込部15の出力パターンに基づいてデータ信号線DATA0とクロック信号線CLKとの遅延量が一致したか否かを判定する判定部35、判定部35の判定に基づいて遅延部14における遅延量を増加させる遅延カウントアップ回路36、記憶部18に保持されている遅延量の初期値を読み込んで保持する保持部37およびいずれかの遅延量を選択するセレクタ38から構成される。これにより、遅延制御部16は、取込部15の出力に基づいて遅延部14の遅延量を決定する。なお、保持部37は、遅延制御部16内部に備えられているメモリでも良いし、外部のRAM等のメモリでも良い。
The
記憶部18は、レジスタ等の記憶媒体で構成される。この記憶部18には、予め製造工程等にて求めた遅延制御部16の保持部37によって読み込まれる遅延部14の遅延量(遅延素子30の遅延段数)のデータ等が記録される。
The storage unit 18 is configured by a storage medium such as a register. In the storage unit 18, data of the delay amount (the number of delay stages of the delay element 30) of the
次に、本第1の実施形態に係るデータ転送装置100における遅延調節の作業手順について説明する。なお、各データ信号線DATA0〜DATAnの遅延部14、取込部15および遅延制御部16の構成はいずれも共通する。そこで、以下の例では、簡単のため、データ信号線DATA0での場合のみ説明するが、実際には他のデータ信号線DATA1〜DATAnについても同様の処理が並行して行われる。この処理は、撮像部10で撮像された画像データを転送するタイミングで実行される。本第1の実施形態では、データ転送の前に、テストデータ付加部12によって、撮像素子11の撮像した画像データの先頭に、各データ信号線DATA0〜DATAnにおける遅延部14の遅延調整を行うためのテストデータが付加される(図5参照)。なお、本第1の実施形態におけるテストデータは、クロック信号と同じ周期で「0」と「1」とが繰り返される2値のデータ列で構成される。また、テストデータのデータ量は、任意に決めることができるが、本第1の実施形態では各データ信号線DATA0〜DATAnを1秒の間転送される量とする。
Next, a delay adjustment work procedure in the
以下において、テストデータの転送時間内で遅延調節の作業が終了する場合と終了しない場合とに分けて説明する。
(テストデータ転送時間内に遅延調整が完了する場合)
図4のフローチャートを参照しながら説明する。
In the following, the case where the delay adjustment operation is completed within the test data transfer time and the case where it is not completed will be described separately.
(When delay adjustment is completed within the test data transfer time)
This will be described with reference to the flowchart of FIG.
ステップS101:遅延制御部16は、遅延部14の遅延量を初期化するとともに、記憶部18からその遅延部14の遅延量の初期値を読み込み保持部37に保持する。遅延制御部16は、上述した撮像部10においてテストデータが付加された画像データの出力開始を指示する。これにより、撮像部10からは、クロック信号に同期して各データ信号線DATA0〜DATAnにテストデータが出力される。そして、データ信号線DATA0のテストデータは、遅延部14を介して取込部15に入力される。
Step S <b> 101: The
ステップS102:遅延制御部16は、判定部35にクロック信号の立ち上がりのタイミングで取込部15から入力された値が「0」であるか否かを判定させる。「0」である場合にはステップS104(YES側)に移行する。一方、「0」でない場合にはステップS103(NO側)に移行する。
Step S102: The
ステップS103:遅延制御部16は、判定部35に基づいて遅延カウントアップ回路36に対して遅延部14の遅延量(遅延回路の遅延段数)を「1」増加させて位相を遅らせる指令を出す。その後、遅延制御部16はステップS102に戻る。なお、ステップS102のNO側からステップS103までのループは、テストデータでの信号波形の立ち上がり位置を探索するために、データ信号の取り込み位置を「0」値のところまで一旦シフトさせる動作に相当する。
Step S103: The
ステップS104:遅延制御部16は、判定部35にクロック信号の立ち上がりのタイミングで取込部15から入力された値が「1」であるか否かを判定させる。「1」である場合にはステップS106(YES側)に移行する。一方、「1」でない場合にはステップS105(NO側)に移行する。
Step S104: The
ステップS105:遅延制御部16は、遅延カウントアップ回路36に遅延部14の遅延量を「1」増加させて位相を遅らせる指示を出す。その後、遅延制御部16はステップS104に戻る。なお、ステップS104のNO側からステップS105までのループは、テストデータでの信号波形の立ち下がり位置までデータ信号の取り込み位置をシフトさせる動作に相当する。
Step S105: The
ステップS106:遅延制御部16は、遅延部14の現在の遅延量を「delay_start」として保持部37に一時的に保持する。なお、ステップS106で保持された遅延量「delay_start」は、テストデータでの信号波形の立ち下がり位置に対応する(図6参照)。
Step S106: The
ステップS107:遅延制御部16は、判定部35にクロック信号の立ち上がりのタイミングで取込部15から入力された値が「0」であるか否かを判定させる。「0」である場合にはステップS109(YES側)に移行する。一方、「0」でない場合にはステップS108(NO側)に移行する。
Step S107: The
ステップS108:遅延制御部16は、遅延カウントアップ回路36に遅延部14の遅延量を「1」増加させて位相を遅らせる指示を出す。その後、遅延制御部16はステップS107に戻る。なお、ステップS107のNO側からステップS108までのループは、テストデータでの信号波形の立ち上がり位置までデータ信号の取り込み位置をシフトさせる動作に相当する。
Step S108: The
ステップS109:遅延制御部16は、遅延部14の現在の遅延量を「delay_end」として保持部37に一時的に保持する。なお、ステップS109で記録された遅延量「delay_end」は、テストデータでの信号波形の立ち上がり位置に対応する(図6参照)。遅延制御部16は、判定部35に対して、AND回路19へ遅延量の調整が終了したことを伝えるフラグ信号を出力させる。
Step S109: The
ステップS110:遅延制御部16は、ステップS106で取得した遅延量「delay_start」と、ステップS109で取得した遅延量「delay_end」とを用いて、データ通信のときの遅延部14の遅延量(データ信号の基準取り込み位置)を決定する。具体的には、遅延制御部16は、次式(1)によってデータ信号の基準取り込み位置を演算する。
基準取り込み位置=(delay_end−delay_start)/2+delay_start …(1)
ステップS111:遅延制御部16は、ステップS110で求めた基準取り込み位置に相当する遅延素子30の遅延段数を遅延カウントアップ回路36に出力させて、セレクタ38を通じて遅延部14に伝える。同時に、遅延制御部16は、新たに求めた遅延素子30の遅延段数をその遅延部14の新たな初期値として記憶部18の初期値データと保持部37の初期値とを更新して遅延調整の作業を終了する。
Step S110: The
Reference capture position = (delay_end−delay_start) / 2 + delay_start (1)
Step S111: The
他のデータ信号線DATA1〜DATAnのそれぞれの遅延部14の遅延調整に対しても、ステップS101からステップS111の作業が並行して行われる。全ての遅延部14の遅延調整が終了して、遅延制御部16の判定部35から遅延調整完了を示すフラグ信号をAND回路19が受け取ると、AND回路19は遅延調整完了信号を出力する。遅延調整完了信号は、各遅延制御部16のセレクタ38に入力され、画像データが転送されている間、各遅延部14の遅延量は固定される。その後、データ信号線DATA0〜DATAnに、クロック信号に同期して転送される画像データが、適切な遅延量に調整された遅延部14を介して、取込部15によって取得され画像処理部17へ出力される。
(テストデータ転送時間内に遅延調整が完了しない場合)
次に、テストデータの転送時間内に遅延調整が完了しない場合の手順について説明する。
The operations from step S101 to step S111 are also performed in parallel for the delay adjustment of the
(When delay adjustment is not completed within the test data transfer time)
Next, a procedure when the delay adjustment is not completed within the test data transfer time will be described.
この場合にも、データ信号線DATA0〜DATAnにテストデータが転送されている間は、図4のステップS101〜ステップS111までの作業がそれぞれ並行して行われる。しかしながら、いずれかのデータ信号線DATA0〜DATAnにおいて、ステップS111までの作業が終了する前にテストデータの転送が終了してしまった場合、遅延調整が終了しなかったデータ信号線の判定部35は、テストデータ終了を示すフラグ信号を出力する。遅延制御部16は、セレクタ38に対して保持部37に保持されている遅延素子30の遅延段数の初期値を、遅延部14の遅延量として出力させると同時に、判定部35にAND回路19へ遅延調整が完了したフラグ信号を出力させる。
Also in this case, while the test data is transferred to the data signal lines DATA0 to DATAn, the operations from Step S101 to Step S111 in FIG. 4 are performed in parallel. However, when the transfer of test data is completed before any of the operations up to step S111 is completed on any of the data signal lines DATA0 to DATAn, the
全ての遅延制御部16から遅延調整が終了したことを示すフラグ信号をAND回路19が受け取ると、テストデータ転送時間内に遅延調整が完了した場合と同様に、AND回路19は遅延調整完了信号を出力する。遅延調整完了信号は、各遅延制御部16のセレクタ38に入力され、画像データが転送されている間、遅延部14の遅延量は固定される。その後、データ信号線DATA0〜DATAnに、クロック信号に同期して転送される画像データが、適切な遅延量に調整された遅延部14を介して、取込部15によって取得され画像処理部17へ出力される。
When the AND circuit 19 receives a flag signal indicating that the delay adjustment is completed from all the
このように、本第1の実施形態は、テストデータ転送時間内に各遅延部14の遅延調整を並行して行うことにより短時間で調節が完了し、レリーズタイム等の制限がある条件においても、画像データを取りこぼすことなくデータ転送ができる。
As described above, in the first embodiment, the delay adjustment of each
また、データ信号線DATA0〜DATAn毎に遅延部14の遅延調整を並行して行うことにより、パラレル方式のデータ転送装置100では等長配線設計を回避することができ、設計時において素子や配線のレイアウトの自由度が大きく向上する。
Further, by performing the delay adjustment of the
さらに、本第1の実施形態では、テストデータ転送時間内に遅延調整が完了する場合、ステップS110で求める基準取り込み位置はテストデータの実測値によって決定されるため、配線長および素子のばらつきや環境変化による誤差も吸収され、データ転送装置100の信頼性を向上させることができる。
Furthermore, in the first embodiment, when the delay adjustment is completed within the test data transfer time, the reference capture position obtained in step S110 is determined by the actually measured value of the test data. Errors due to changes are also absorbed, and the reliability of the
また、テストデータ転送時間内に遅延調整が完了しない場合、予め記憶部18に記憶されている遅延量の初期値を用いるので、調整途中の不正確な遅延量を用いることなく適正な遅延量で遅延部14を遅延調整できる。
≪第2の実施形態≫
図7は、本発明の第2の実施形態に係るデータ転送装置200の構成図である。
Further, when the delay adjustment is not completed within the test data transfer time, the initial value of the delay amount stored in advance in the storage unit 18 is used, so that an appropriate delay amount can be used without using an inaccurate delay amount during the adjustment. The
<< Second Embodiment >>
FIG. 7 is a configuration diagram of a
データ転送装置200は、データ信号線が3本(DATA0〜DATA2)であり、その3つのチャンネルを介して、撮像素子11によって撮像された画像の画像データ、垂直同期信号および水平同期信号をパラレル方式によって転送する。なお、本第2の実施形態に係るデータ転送装置200の構成要素は、図1の第1の実施形態に係るデータ転送装置100のものと同じであり、同じ動作をする構成要素については同じ番号を付し詳細な説明は省略する。
The
そこで、本第2の実施形態に係るデータ転送装置200について、図4のフローチャートを参照しながら説明する。ただし、データ転送装置200における遅延調節の手順は、第1の実施形態と同様であり、データ信号線DATA0での場合のみ説明するが、実際には他のデータ信号線DATA1およびDATA2についても同じ処理が並行して行われる。この処理は、撮像部10で撮像された画像データを転送するタイミングで実行される。データ転送の前に、テストデータ付加部12によって、撮像素子11の撮像した画像データの先頭に、各データ信号線DATA0〜DATA2における遅延部14の遅延調整を行うためのテストデータが付加される。なお、本第2の実施形態においてもテストデータは、クロック信号と同じ周期で「0」と「1」とが繰り返される2値のデータ列であり、付加されるテストデータのデータ量は、各データ信号線DATA0〜DATA2を1秒の間転送される量とする。
Therefore, the
第1の実施形態と同様に、テストデータの転送時間内で遅延調節の作業が終了する場合と終了しない場合とに分けて説明する。
(テストデータ転送時間内に遅延調整が完了する場合)
ステップS101:遅延制御部16は、遅延部14の遅延量を初期化するとともに、記憶部18からその遅延部14の遅延量の初期値を読み込み保持部37に保持する。遅延制御部16は、上述した撮像部10においてテストデータが付加された画像データの出力開始を指示する。これにより、撮像部10からは、クロック信号に同期して各データ信号線DATA0〜DATA2にテストデータが出力される。そして、データ信号線DATA0のテストデータは、遅延部14を介して取込部15に入力される。
As in the first embodiment, the case where the delay adjustment operation is completed within the test data transfer time and the case where the operation is not completed will be described separately.
(When delay adjustment is completed within the test data transfer time)
Step S <b> 101: The
ステップS102:遅延制御部16は、判定部35にクロック信号の立ち上がりのタイミングで取込部15から入力された値が「0」であるか否かを判定させる。「0」である場合にはステップS104(YES側)に移行する。一方、「0」でない場合にはステップS103(NO側)に移行する。
Step S102: The
ステップS103:遅延制御部16は、判定部35に基づいて遅延カウントアップ回路36に対して遅延部14の遅延量(遅延回路の遅延段数)を「1」増加させて位相を遅らせる指令を出す。その後、遅延制御部16はステップS102に戻る。
Step S103: The
ステップS104:遅延制御部16は、判定部35にクロック信号の立ち上がりのタイミングで取込部15から入力された値が「1」であるか否かを判定させる。「1」である場合にはステップS106(YES側)に移行する。一方、「1」でない場合にはステップS105(NO側)に移行する。
Step S104: The
ステップS105:遅延制御部16は、遅延カウントアップ回路36に遅延部14の遅延量を「1」増加させて位相を遅らせる指示を出す。その後、遅延制御部16はステップS104に戻る。
Step S105: The
ステップS106:遅延制御部16は、遅延部14の現在の遅延量を「delay_start」として保持部37に一時的に保持する。
Step S106: The
ステップS107:遅延制御部16は、判定部35にクロック信号の立ち上がりのタイミングで取込部15から入力された値が「0」であるか否かを判定させる。「0」である場合にはステップS109(YES側)に移行する。一方、「0」でない場合にはステップS108(NO側)に移行する。
Step S107: The
ステップS108:遅延制御部16は、遅延カウントアップ回路36に遅延部14の遅延量を「1」増加させて位相を遅らせる指示を出す。その後、遅延制御部16はステップS107に戻る。
Step S108: The
ステップS109:遅延制御部16は、遅延部14の現在の遅延量を「delay_end」として保持部37に一時的に保持する。遅延制御部16は、判定部35に対して、AND回路19へ遅延量の調整が終了したことを伝えるフラグ信号を出力させる。
Step S109: The
ステップS110:遅延制御部16は、ステップS106で取得した遅延量「delay_start」およびステップS109で取得した遅延量「delay_end」と式(1)とを用いて、データ通信のときの遅延部14の遅延量(データ信号の基準取り込み位置)を決定する。
Step S110: The
ステップS111:遅延制御部16は、ステップS110で求めた基準取り込み位置に相当する遅延素子30の遅延段数を遅延カウントアップ回路36に出力させて、セレクタ38を通じて遅延部14に伝える。同時に、遅延制御部16は、新たに求めた遅延素子30の遅延段数をその遅延部14の新たな初期値として記憶部18の初期値データと保持部37の初期値とを更新して遅延調整の作業を終了する。
Step S111: The
他のデータ信号線DATA1およびDATA2のそれぞれの遅延部14の遅延調整に対しても、ステップS101からステップS111の作業が並行して行われる。全ての遅延部14の遅延調整が終了して、遅延制御部16の判定部35から遅延調整完了を示すフラグ信号をAND回路19が受け取ると、AND回路19は遅延調整完了信号を出力する。遅延調整完了信号は、各遅延制御部16のセレクタ38に入力され、画像データが転送されている間、各遅延部14の遅延量は固定される。その後、データ信号線DATA0〜DATA2のそれぞれに、クロック信号に同期して転送される画像データ、垂直同期信号および水平同期信号が、適切な遅延量に調整された遅延部14を介して、取込部15によって取得され画像処理部17へ出力される。
(テストデータ転送時間内に遅延調整が完了しない場合)
次に、テストデータの転送時間内に遅延調整が完了しない場合の手順について説明する。
The operations from step S101 to step S111 are also performed in parallel for the delay adjustment of the
(When delay adjustment is not completed within the test data transfer time)
Next, a procedure when the delay adjustment is not completed within the test data transfer time will be described.
この場合にも、データ信号線DATA0〜DATA2にテストデータが転送されている間は、図4のステップS101〜ステップS111までの作業がそれぞれ並行して行われる。しかしながら、いずれかのデータ信号線DATA0〜DATA2において、ステップS111までの作業が終了する前にテストデータの転送が終了してしまった場合、遅延調整が終了しなかったデータ信号線の判定部35は、テストデータ終了を示すフラグ信号を出力する。遅延制御部16は、セレクタ38に対し保持部37に保持されている遅延素子30の遅延段数の初期値を、遅延部14の遅延量として出力させる。同時に、遅延制御部16は、判定部35にAND回路19へ遅延調整が完了したフラグ信号を出力させる。
Also in this case, while the test data is transferred to the data signal lines DATA0 to DATA2, the operations from step S101 to step S111 in FIG. 4 are performed in parallel. However, if the transfer of the test data is completed before any of the operations up to step S111 is completed on any of the data signal lines DATA0 to DATA2, the
全ての遅延制御部16から遅延調整が終了したことを示すフラグ信号をAND回路19が受け取ると、テストデータ転送時間内に遅延調整が完了した場合と同様に、AND回路19は遅延調整完了信号を出力する。遅延調整完了信号は、各遅延制御部16のセレクタ38に入力され、画像データが転送されている間、遅延部14の遅延量は固定される。その後、データ信号線DATA0〜DATA2のそれぞれに、クロック信号に同期して転送される画像データ、垂直同期信号および水平同期信号が、適切な遅延量に調整された遅延部14を介して、取込部15によって取得され画像処理部17へ出力される。
When the AND circuit 19 receives a flag signal indicating that the delay adjustment is completed from all the
このように、本第2の実施形態は、画像データを転送する前にテストデータを付加して、各データ信号線DATA0〜DATA2の遅延部14の遅延調整を行うことにより、従来の画像の高速データ転送において行われていたデータ内に垂直同期信号と水平同期信号とのコードを埋め込むこと無く、高速に画像データを転送させることができる。
As described above, in the second embodiment, the test data is added before the image data is transferred, and the delay adjustment of the
さらに、本第2の実施形態では、テストデータ転送時間内に各遅延部14の遅延調整を並行して行うことにより短時間で調節が完了し、レリーズタイム等の制限がある条件においても、画像データを取りこぼすことなくデータ転送できる。
Furthermore, in the second embodiment, the delay adjustment of each
また、データ信号線DATA0〜DATA2毎に遅延部14の遅延調整を行うことにより、パラレル方式のデータ転送装置200では等長配線設計を回避することができ、設計時において素子や配線のレイアウトの自由度が大きく向上する。
Further, by adjusting the delay of the
さらに、本第2の実施形態では、テストデータ転送時間内に遅延調整が完了する場合、ステップS110で求める基準取り込み位置はテストデータの実測値によって決定されるため、配線長および素子のばらつきや環境変化による誤差も吸収され、データ転送装置200の信頼性をより向上させることができる。
Further, in the second embodiment, when the delay adjustment is completed within the test data transfer time, the reference capture position obtained in step S110 is determined by the actually measured value of the test data. Errors due to changes are also absorbed, and the reliability of the
また、テストデータ転送時間内に遅延調整が完了しない場合、予め記憶部18に記憶されている遅延量の初期値を用いるので、調整途中の不正確な遅延量を用いることなく適正な遅延量で遅延部14を遅延調整できる。
≪第3の実施形態≫
図8は、本発明の第3の実施形態に係るデータ転送装置300の構成図である。
Further, when the delay adjustment is not completed within the test data transfer time, the initial value of the delay amount stored in advance in the storage unit 18 is used, so that an appropriate delay amount can be used without using an inaccurate delay amount during the adjustment. The
<< Third Embodiment >>
FIG. 8 is a configuration diagram of a
データ転送装置300は、データ信号線が4本(DATA0〜DATA3)であり、一対のデータ信号線DATA0とDATA1、またはデータ信号線DATA2とDATA3とにそれぞれ接続している遅延部14および取込部15は、1つの遅延制御部16aに接続されている。なお、本第3の実施形態に係るデータ転送装置300の構成要素は、図1の第1の実施形態に係るデータ転送装置100のものと同じであり、同じ動作をする構成要素については同じ番号を付し詳細な説明は省略する。ただし、遅延制御部16aの構成は、図9に示すように、第1の実施形態における構成(図3)と同じであるが、判定部35aのAND回路19への出力は無くなり、セレクタ38aの出力は接続されている2つの遅延部14に対してなされる。また、AND回路19aは、2つの取込部15からの出力に基づいて信号を遅延制御部16aへ出力する。
The
本第3の実施形態に係るデータ転送装置について、図10のフローチャートを参照しながら説明する。ただし、本第3の実施形態に係るデータ転送装置における遅延調節の手順は、第1の実施形態と同様であり、一対のデータ信号線DATA0とDATA1との場合のみ説明するが、実際には他の一対データ信号線DATA2およびDATA3についても同じ処理が並行して行われる。この処理は、撮像部10で撮像された画像データを転送するタイミングで実行される。データ転送の前に、テストデータ付加部12によって、撮像素子11の撮像した画像データの先頭に、各データ信号線DATA0〜DATA3における遅延部14の遅延調整を行うためのテストデータを付加する。なお、本第3の実施形態においてもテストデータは、クロック信号と同じ周期で「0」と「1」とが繰り返される2値のデータ列である。ただし、付加されるテストデータのデータ量は、各データ信号線DATA0〜DATA3を2秒の間転送される量とする。
A data transfer apparatus according to the third embodiment will be described with reference to the flowchart of FIG. However, the delay adjustment procedure in the data transfer apparatus according to the third embodiment is the same as that in the first embodiment, and will be described only for the pair of data signal lines DATA0 and DATA1. The same processing is performed in parallel for the pair of data signal lines DATA2 and DATA3. This process is executed at a timing when image data captured by the
第1の実施形態と同様に、テストデータの転送時間内で遅延調節の作業が終了する場合と終了しない場合とに分けて説明する。
(テストデータ転送時間内に遅延調整が完了する場合)
ステップS201:遅延制御部16aは、2つの遅延部14の遅延量を初期化するとともに、記憶部18からそれらの遅延部14の遅延量の初期値をそれぞれ読み込み保持部37に保持する。遅延制御部16aは、上述した撮像部10においてテストデータが付加された画像データの出力開始を指示する。撮像部10からは、クロック信号に同期して各データ信号線DATA0〜DATA3にテストデータが出力される。なお、遅延制御部16aは、データ信号線DATA1の遅延部14に接続された取込部15からの出力が「1」に固定されるように、その遅延部14の設定を行う。これにより、データ信号線DATA0の遅延部14を介して取込部15に入力されたテストデータとクロック信号とを用いて、最初にDATA0の遅延部14の遅延調整を行う。
As in the first embodiment, the case where the delay adjustment operation is completed within the test data transfer time and the case where the operation is not completed will be described separately.
(When delay adjustment is completed within the test data transfer time)
Step S201: The
ステップS202:遅延制御部16aは、判定部35aにクロック信号の立ち上がりのタイミングでAND回路19aから入力された値が「0」であるか否かを判定させる。「0」である場合にはステップS204(YES側)に移行する。一方、「0」でない場合にはステップS203(NO側)に移行する。
Step S202: The
ステップS203:遅延制御部16aは、判定部35aに基づいて遅延カウントアップ回路36に対して遅延部14の遅延量(遅延回路の遅延段数)を「1」増加させて位相を遅らせる指令を出す。その後、遅延制御部16aはステップS202に戻る。
Step S203: The
ステップS204:遅延制御部16aは、判定部35aにクロック信号の立ち上がりのタイミングでAND回路19aから入力された値が「1」であるか否かを判定させる。「1」である場合にはステップS206(YES側)に移行する。一方、「1」でない場合にはステップS205(NO側)に移行する。
Step S204: The
ステップS205:遅延制御部16aは、遅延カウントアップ回路36に遅延部14の遅延量を「1」増加させて位相を遅らせる指示を出す。その後、遅延制御部16aはステップS204に戻る。
Step S205: The
ステップS206:遅延制御部16aは、遅延部14の現在の遅延量を「delay_start」として保持部37に一時的に保持する。なお、ステップS206で保持された遅延量「delay_start」は、テストデータでの信号波形の立ち上がり位置に対応する(図6参照)。
Step S206: The
ステップS207:遅延制御部16aは、判定部35aにクロック信号の立ち上がりのタイミングでAND回路19aから入力された値が「0」であるか否かを判定させる。「0」である場合にはステップS209(YES側)に移行する。一方、「0」でない場合にはステップS208(NO側)に移行する。
Step S207: The
ステップS208:遅延制御部16aは、遅延カウントアップ回路36に遅延部14の遅延量を「1」増加させて位相を遅らせる指示を出す。その後、遅延制御部16aはステップS207に戻る。
Step S208: The
ステップS209:遅延制御部16aは、遅延部14の現在の遅延量を「delay_end」として保持部37に一時的に保持する。なお、ステップS209で記録された遅延量「delay_end」は、テストデータでの信号波形の立ち下がり位置に対応する(図6参照)。
Step S209: The
ステップS210:遅延制御部16aは、ステップS206で取得した遅延量「delay_start」およびステップS209で取得した遅延量「delay_end」と式(1)とを用いて、データ通信のときの遅延部14の遅延量(データ信号の基準取り込み位置)を決定する。
Step S210: The
ステップS211:遅延制御部16aは、ステップS210で求めた基準取り込み位置に相当する遅延素子30の遅延段数をデータ信号線DATA0の遅延部14の新たな初期値として記憶部18の初期値データと保持部37の初期値とを更新する。
Step S211: The
ステップS212:遅延制御部16aは、判定部35aにより接続されている全ての遅延部14の遅延調整が終了したか否かを判断する。終了した場合にはステップS213(YES側)に移行する。一方、終了していない場合にはステップS202(NO側)に移行する。なお、ステップS202に移行するにあたって、遅延制御部16aは、データ信号線DATA0の遅延部14に接続された取込部15からの出力が「1」に固定されるように、その遅延部14の設定を行う。遅延制御部16aは、ステップS202からステップS212の作業をデータ信号線DATA1の遅延部14に対しても行い遅延調整する。
Step S212: The
ステップS213:遅延制御部16aは、一連の作業で求めた一対のデータ信号線DATA0およびDATA1の遅延部14の遅延素子30の遅延段数を、それぞれの遅延部14へ出力し作業を終了する。
Step S213: The
他の一対のデータ信号線DATA2およびDATA3の遅延部14の遅延調整についても、ステップS201からステップS213の作業が並行して行われる。その後、データ信号線DATA0〜DATA3に、クロック信号に同期して転送される画像データが、適切な遅延量に調整された遅延部14を介して、取込部15によって取得され画像処理部17へ出力される。
(テストデータ転送時間内に遅延調整が完了しない場合)
次に、テストデータの転送時間内に遅延調整が完了しない場合の手順について説明する。
For the delay adjustment of the
(When delay adjustment is not completed within the test data transfer time)
Next, a procedure when the delay adjustment is not completed within the test data transfer time will be described.
この場合にも、データ信号線DATA0〜DATA3にテストデータが転送されている間、各遅延制御部16aは、図10のステップS201〜ステップS213までの作業を並行して行う。しかしながら、全てのデータ信号線DATA0〜DATA3の遅延部14に対するステップS213までの遅延調整が終了する前にテストデータの転送が終了してしまった場合には、判定部35aがテストデータ終了のフラグ信号を出力する。遅延制御部16aは、セレクタ38aに対し保持部37に保持されている遅延素子30の遅延段数の初期値を、各遅延部14の遅延量として出力し設定する。その後、データ信号線DATA0〜DATA3に、クロック信号に同期して転送される画像データが、適切な遅延量に調整された各遅延部14を介して、取込部15によって取得され画像処理部17へ出力される。
Also in this case, while the test data is being transferred to the data signal lines DATA0 to DATA3, each
このように、本第3の実施形態は、データ信号線DATA1〜DATA3の遅延部14の遅延調整を行う遅延制御部16aを一部共有させて、各データ信号線DATA0〜DATA3の遅延部14の遅延調整を行うことで、データ転送の精度を維持しつつ回路規模を小さくすることができる。
As described above, in the third embodiment, a part of the
さらに、本第3の実施形態では、テストデータ転送時間内に遅延調整が完了する場合、ステップS210で求める基準取り込み位置はテストデータの実測値によって決定されるため、配線長および素子のばらつきや環境変化による誤差も吸収され、データ転送装置300の信頼性をより向上させることができる。
Furthermore, in the third embodiment, when the delay adjustment is completed within the test data transfer time, the reference capture position obtained in step S210 is determined by the actual measurement value of the test data. Errors due to changes are also absorbed, and the reliability of the
また、データ信号線DATA0〜DATA3毎に遅延部14の遅延調整を行うことにより、パラレル方式のデータ転送装置300では等長配線設計を回避することができ、設計時において素子や配線のレイアウトの自由度が大きく向上する。
Further, by adjusting the delay of the
また、テストデータ転送時間内に遅延調整が完了しない場合、予め記憶部18に記憶されている遅延量の初期値を用いるので、調整途中の不正確な遅延量を用いることなく適正な遅延量で遅延部14を遅延調整できる。
<実施形態の補足事項>
第1の実施形態ないし第3の実施形態では、カメラ内の撮像部10と信号処理回路13とのデータ転送の例を説明したが、本発明のデータ転送装置はカメラ内の他の素子間のデータ転送に適用することもできる。例えば、撮像部10に代えて、テストデータ付加部12を有する撮像素子11からの画像データを受け付けるアナログ・フロントエンド(AFE)でも良い。また、本発明に係るデータ転送装置は、他の電子機器に組み込まれるディジタル処理回路にも適用できる。さらに、本発明のデータ転送装置は、相互に独立した電子デバイス間の有線でのデータ転送にも適用できる。
Further, when the delay adjustment is not completed within the test data transfer time, the initial value of the delay amount stored in advance in the storage unit 18 is used, so that an appropriate delay amount can be used without using an inaccurate delay amount during the adjustment. The
<Supplementary items of the embodiment>
In the first to third embodiments, the example of data transfer between the
なお、第1の実施形態ないし第3の実施形態では、テストデータ付加部12は直接画像データの先頭にテストデータを付加させたが、本発明はこれに限定されない。例えば、テストデータ付加部12は、テストデータと画像データとの間に、テストデータの終了コードや画像データの開始コード等を示すデータ、または空データ等を付加させても良い。
In the first to third embodiments, the test
なお、第1の実施形態ないし第3の実施形態では、画像データの転送方式をパラレル方式としたが、本発明に係るデータ転送装置は、シリアル方式にも適応可能である。 In the first to third embodiments, the image data transfer method is the parallel method. However, the data transfer device according to the present invention is also applicable to the serial method.
なお、第1の実施形態ないし第3の実施形態では、取込部15はクロック信号の立ち上がりのタイミングでデータ信号の値を取り込んだが、クロック信号の立ち下がりのタイミングでデータ信号の値を取り込んでも良い。
In the first to third embodiments, the capturing
なお、第1の実施形態ないし第3の実施形態では、遅延部14の遅延素子30の数を6つとしたが、本発明はこれに限定されない。遅延素子30の数は、1つの遅延素子30の遅延量やクロック信号に対するテストデータの位相を遅らせる範囲の大きさによって決めることができる。例えば、位相を遅らせる範囲の大きさとしては、クロック信号の1.5周期分くらいあるのが良い。
In the first embodiment to the third embodiment, the number of
なお、第1の実施形態ないし第3の実施形態では、遅延制御部16(16a)は遅延調整を行う遅延部14の初期値を記憶部18から読み込んで保持部37に保持し、新たな遅延量が求められた場合には、記憶部18の遅延量を更新したが、本発明はこれに限定されない。例えば、保持部37に遅延調整する遅延部14の遅延量を記憶させておき、新たな遅延量が求められた場合には保持部37の遅延量を更新するだけにしても良い。これにより、回路規模をさらに小さくすることができる。
In the first to third embodiments, the delay control unit 16 (16 a) reads the initial value of the
なお、第1の実施形態ないし第3の実施形態では、遅延部14毎の遅延量の初期値を1つずつ記憶部18に記憶したが、本発明はこれに限定されない。例えば、遅延制御部16(16a)は温度センサーを備え、且つ記憶部18は遅延部14毎に遅延量の初期値として温度毎の複数の値からなるデータテーブルを記憶することで、遅延制御部16(16a)は、温度センサーが測定する撮影状況等の温度に対応した各遅延部14の遅延量の初期値を記憶部18のデータテーブルから読み込んだり更新するようにしても良い。
In the first embodiment to the third embodiment, the initial value of the delay amount for each
なお、第1の実施形態または第2の実施形態では、画像データに付加されるテストデータのデータ量を、各データ信号線を1秒間転送される量としたが、本発明はこれに限定されない。例えば、画像の解像度、撮影条件またはデータ転送装置の処理能力等によって決定されるのが良い。 In the first embodiment or the second embodiment, the data amount of the test data added to the image data is the amount that each data signal line is transferred for one second. However, the present invention is not limited to this. . For example, it may be determined by the resolution of the image, shooting conditions, processing capability of the data transfer device, or the like.
なお、第3の実施形態では、4チャネルでのパラレル転送を行うデータ転送装置の例を説明した。しかし、本発明のデータ転送装置のチャネル数は、これに限定されることなく、2チャンネルまたは4チャネルを超える複数チャネルでのパラレル転送を行うデータ転送装置にも当然に適用できる。 In the third embodiment, an example of a data transfer apparatus that performs parallel transfer using four channels has been described. However, the number of channels of the data transfer apparatus according to the present invention is not limited to this, and can naturally be applied to a data transfer apparatus that performs parallel transfer using a plurality of channels exceeding two channels or four channels.
なお、第3の実施形態では、2本のデータ信号線に対応する遅延部14を1つの遅延制御部16aで共有し制御させたが、本発明はこれに限定されない。3本以上あるいは全てのデータ信号線を1つの遅延制御部16aで共有し制御させても良い。しかしながら、1つの遅延制御部16aが制御する遅延部14の数が増えると、全ての遅延部14の遅延調整は完了するまでの時間がかかるとともに、画像データに付加されるテストデータのデータ量も増えてしまう。したがって、画像の解像度、撮影条件またはデータ転送装置の処理能力等によって1つの遅延制御部16aが制御する遅延部14の数を決定するのが良い。
In the third embodiment, the
なお、第3の実施形態では、画像データに付加されるテストデータのデータ量を、各データ信号線を2秒間転送される量としたが、本発明はこれに限定されない。例えば、画像の解像度、撮影条件、データ転送装置の処理能力や1つの遅延制御部16aが制御する遅延部14の数等によって決定されるのが好適である。
In the third embodiment, the data amount of the test data added to the image data is the amount that each data signal line is transferred for 2 seconds. However, the present invention is not limited to this. For example, it is preferably determined by the resolution of the image, shooting conditions, the processing capability of the data transfer apparatus, the number of
なお、第3の実施形態では、AND回路19aを用いて各遅延部14の遅延調整を行ったが、本発明はこれに限定されない。例えば、OR回路を用いて各遅延部14の遅延調整を行っても良い。ただし、この場合には、遅延制御部16aは、遅延調整を行わない遅延部14に接続された取込部15から出力が「0」に固定されるように、その遅延部14を設定する必要がある。
In the third embodiment, the delay adjustment of each
なお、本発明は、その精神またはその主要な特徴から逸脱することなく他の様々な形で実施することができる。そのため、上述した実施形態はあらゆる点で単なる例示に過ぎず、限定的に解釈してはならない。本発明は、特許請求の範囲によって示されるものであって、本発明は明細書本文にはなんら拘束されない。さらに、特許請求の範囲の均等範囲に属する変形や変更は、全て本発明の範囲内である。 It should be noted that the present invention can be implemented in various other forms without departing from the spirit or main features thereof. Therefore, the above-described embodiment is merely an example in all respects and should not be interpreted in a limited manner. The present invention is defined by the claims, and the present invention is not limited to the text of the specification. Further, all modifications and changes belonging to the equivalent scope of the claims are within the scope of the present invention.
CLK クロック信号線、DATA0〜DATAn データ信号線、10 撮像部、11 撮像素子、12 テストデータ付加部、13 信号処理回路、14 遅延部、15 取込部、16 遅延制御部、17 画像処理部、18 記憶部、19 AND回路、30 遅延素子、31 パス、32、38 セレクタ、35 判定部、36 遅延カウントアップ回路、37 保持部、 100 データ転送装置
CLK clock signal line, DATA0 to DATAn data signal line, 10 imaging unit, 11 imaging element, 12 test data adding unit, 13 signal processing circuit, 14 delay unit, 15 capture unit, 16 delay control unit, 17 image processing unit, 18 storage unit, 19 AND circuit, 30 delay element, 31 path, 32, 38 selector, 35 determination unit, 36 delay count-up circuit, 37 holding unit, 100 data transfer device
Claims (5)
前記取込部に入力される前記データ信号の位相を遅延させるための遅延量として予め決められた初期遅延量を記憶する記憶部を有する遅延制御部と、A delay control unit having a storage unit that stores a predetermined initial delay amount as a delay amount for delaying the phase of the data signal input to the capture unit;
前記初期遅延量を含む最終遅延量に基づいて、前記取込部に入力される前記データ信号の位相を遅延させる遅延部とを備え、A delay unit that delays the phase of the data signal input to the capture unit based on a final delay amount including the initial delay amount;
前記遅延制御部は、The delay control unit
前記取込部により取込まれた前記データ信号の値を判定する判定部と、A determination unit for determining a value of the data signal captured by the capture unit;
前記判定部による判定結果に基づいて、前記最終遅延量を増加させる増加部とを更に有し、Based on the determination result by the determination unit, further includes an increase unit that increases the final delay amount,
テストデータ信号に続いて本データ信号が前記取込部に入力される場合であって前記テストデータ信号が前記取込部に入力された場合、第1処理と第2処理と第3処理と第4処理とを順に実行するように制御し、When this data signal is input to the capture unit following the test data signal, and the test data signal is input to the capture unit, the first process, the second process, the third process, 4 processes are executed in order,
前記第1処理として、As the first process,
前記取込部により取込まれた前記テストデータ信号の値が0でないと前記判定部により判定されたときは、前記増加部は、前記取込部により取込まれた前記テストデータ信号の値が0であると前記判定部により判定されるまで前記最終遅延量を増加させ、When the determination unit determines that the value of the test data signal captured by the capture unit is not 0, the increase unit determines that the value of the test data signal captured by the capture unit is Increasing the final delay amount until it is determined by the determination unit to be 0,
前記取込部により取込まれた前記テストデータ信号の値が0であると前記判定部により判定されたときは、前記第1処理を終了し、When the determination unit determines that the value of the test data signal acquired by the acquisition unit is 0, the first process ends.
前記第2処理として、As the second process,
前記取込部により取込まれた前記テストデータ信号の値が1でないと前記判定部により判定されたときは、前記増加部は、前記取込部により取込まれた前記テストデータ信号の値が1であると前記判定部により判定されるまで前記最終遅延量を増加させ、When the determination unit determines that the value of the test data signal captured by the capture unit is not 1, the increase unit determines that the value of the test data signal captured by the capture unit is Increasing the final delay amount until it is determined by the determination unit to be 1,
前記取込部により取込まれた前記テストデータ信号の値が1であると前記判定部により判定されたときは、前記最終遅延量を第1遅延量として記憶するとともに前記第2処理を終了し、When the determination unit determines that the value of the test data signal acquired by the acquisition unit is 1, the final delay amount is stored as a first delay amount and the second process is terminated. ,
前記第3処理として、As the third process,
前記取込部により取込まれた前記テストデータ信号の値が0でないと前記判定部により判定されたときは、前記増加部は、前記取込部により取込まれた前記テストデータ信号の値が0であると前記判定部により判定されるまで前記最終遅延量を増加させ、When the determination unit determines that the value of the test data signal captured by the capture unit is not 0, the increase unit determines that the value of the test data signal captured by the capture unit is Increasing the final delay amount until it is determined by the determination unit to be 0,
前記取込部により取込まれた前記テストデータ信号の値が0であると前記判定部により判定されたときは、前記最終遅延量を第2遅延量として記憶するとともに前記第3処理を終了し、When the determination unit determines that the value of the test data signal acquired by the acquisition unit is 0, the final delay amount is stored as a second delay amount and the third process is terminated. ,
前記第4処理として、As the fourth process,
前記第1遅延量及び前記第2遅延量に基づいて、前記テストデータ信号に続いて前記取込部に入力される前記本データ信号の位相を遅延させるための第3遅延量を演算し、Based on the first delay amount and the second delay amount, calculate a third delay amount for delaying the phase of the main data signal input to the acquisition unit following the test data signal,
前記遅延部は、所定時間内に前記第3遅延量を演算できた場合は、前記第3遅延量に基づいて、前記取込部に取り込まれる前記本データ信号の位相を遅延させ、前記所定時間内に前記第3遅延量を演算できない場合は、前記初期遅延量に基づいて、前記取込部に取込まれる前記本データ信号の位相を遅延させることIf the delay unit can calculate the third delay amount within a predetermined time, the delay unit delays the phase of the main data signal captured by the capture unit based on the third delay amount, and the predetermined time If the third delay amount cannot be calculated, the phase of the main data signal taken into the fetch unit is delayed based on the initial delay amount.
を特徴とするデータ転送装置。A data transfer device.
前記第3遅延量は、次式The third delay amount is given by
(前記第2遅延量−前記第1遅延量)/2+前記第1遅延量(Second delay amount−first delay amount) / 2 + first delay amount
により演算されることCalculated by
を特徴とするデータ転送装置。A data transfer device.
被写体を撮像して画像データ信号を前記本データ信号として出力する撮像部とを備え、An imaging unit that images a subject and outputs an image data signal as the main data signal;
前記撮像部は、前記所定時間の間で出力されるデータ量の前記テストデータ信号を出力し、前記テストデータ信号に続けて前記画像データ信号を出力することThe imaging unit outputs the test data signal having a data amount output during the predetermined time, and outputs the image data signal following the test data signal.
を特徴とする電子カメラ。An electronic camera characterized by
前記テストデータ信号のデータ量は、画像の解像度に応じて決定することThe data amount of the test data signal is determined according to the resolution of the image.
を特徴とする電子カメラ。An electronic camera characterized by
前記テストデータ信号のデータ量は、撮影条件に応じて決定することThe data amount of the test data signal should be determined according to the shooting conditions.
を特徴とする電子カメラ。An electronic camera characterized by
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008023118A JP5163162B2 (en) | 2008-02-01 | 2008-02-01 | Data transfer device and electronic camera |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008023118A JP5163162B2 (en) | 2008-02-01 | 2008-02-01 | Data transfer device and electronic camera |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009188454A JP2009188454A (en) | 2009-08-20 |
JP5163162B2 true JP5163162B2 (en) | 2013-03-13 |
Family
ID=41071328
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008023118A Expired - Fee Related JP5163162B2 (en) | 2008-02-01 | 2008-02-01 | Data transfer device and electronic camera |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5163162B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5335360B2 (en) * | 2008-10-15 | 2013-11-06 | キヤノン株式会社 | Imaging device |
JP2019161441A (en) | 2018-03-13 | 2019-09-19 | ソニーセミコンダクタソリューションズ株式会社 | Signal processing apparatus, signal processing method, and signal processing system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100601149B1 (en) * | 1998-03-12 | 2006-07-13 | 가부시키가이샤 히타치세이사쿠쇼 | Data transmitter |
JP4362898B2 (en) * | 1999-08-16 | 2009-11-11 | 株式会社ニコン | Digital camera |
JP2002208916A (en) * | 2001-01-11 | 2002-07-26 | Fujitsu Ltd | Automatic phasing circuit and data communication system |
JP2006191389A (en) * | 2005-01-06 | 2006-07-20 | Sony Corp | Video camera |
-
2008
- 2008-02-01 JP JP2008023118A patent/JP5163162B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2009188454A (en) | 2009-08-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101485194B (en) | Solid-state image pickup device, data transmitting method and image pickup device | |
KR101515046B1 (en) | Solid-state imaging apparatus and method of driving the same | |
CN107509049B (en) | Image capturing apparatus | |
CN102870404B (en) | Imaging device and dark current correction method of same | |
JP4573769B2 (en) | Image processing circuit and image processing method | |
US20110228105A1 (en) | Data transfer device and electronic camera | |
KR20080100142A (en) | Data processing method, data processing apparatus, solid-state image pickup apparatus, image pickup apparatus and electronic apparatus | |
KR20110011622A (en) | Solid-state imaging device, data transfer circuit, and camera system | |
JP2013207433A (en) | Solid-state image sensor, imaging signal output method, and electronic apparatus | |
JP2009296323A (en) | Photographing apparatus | |
US20110317029A1 (en) | Imaging apparatus which corrects effects of flash | |
JP5163162B2 (en) | Data transfer device and electronic camera | |
JP2009017371A (en) | Imaging device and control method thereof | |
JP4664118B2 (en) | Solid-state imaging device | |
JP2007174590A (en) | Signal processor and imaging apparatus | |
WO2009087960A1 (en) | Data transfer device and camera | |
JP4892402B2 (en) | Semiconductor integrated circuit device | |
JP5720213B2 (en) | Imaging device | |
WO2010079749A1 (en) | Data transfer device and camera | |
JP2009159252A (en) | Data transfer device, and electronic camera | |
JP2010219638A (en) | Data transfer device and imager | |
JP4401858B2 (en) | Imaging device | |
US10701292B2 (en) | Device and method for controlling solid-state electronic imaging device | |
JP2007274212A (en) | Image pickup device and its control method | |
JPH09130603A (en) | Shading correction device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110131 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110323 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120613 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120619 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120820 |
|
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: 20121120 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20121203 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151228 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5163162 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151228 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |