JP5163162B2 - Data transfer device and electronic camera - Google Patents

Data transfer device and electronic camera Download PDF

Info

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
Application number
JP2008023118A
Other languages
Japanese (ja)
Other versions
JP2009188454A (en
Inventor
隆文 豊田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nikon Corp
Original Assignee
Nikon Corp
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 Nikon Corp filed Critical Nikon Corp
Priority to JP2008023118A priority Critical patent/JP5163162B2/en
Publication of JP2009188454A publication Critical patent/JP2009188454A/en
Application granted granted Critical
Publication of JP5163162B2 publication Critical patent/JP5163162B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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では、パラレル方式のデータ転送において、クロック信号を基準信号として用いることにより、転送によって生じた各データ信号の遅延によるばらつきを調節するデータ転送装置が開示されている。
特開2004−171254号公報 特開平11−112483号公報
However, when the transfer rate is in the order of gigahertz, there are limits to measures such as equal-length wiring alone, and stable high-speed transmission is difficult due to the influence of jitter (fluctuations in delay time of data signals). Thus, for example, cited document 1 and cited document 2 disclose a data transfer device that adjusts variation due to delay of each data signal caused by transfer by using a clock signal as a reference signal in parallel data transfer. ing.
JP 2004-171254 A Japanese Patent Laid-Open No. 11-112383

しかしながら、従来技術である引用文献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 data transfer apparatus 100 according to the first embodiment of the present invention. FIG. 1 shows a configuration example when the imaging unit 10 of the electronic camera is a transmission unit and the signal processing circuit 13 of the electronic camera is a reception unit.

本第1の実施形態の撮像部10は、複数の受光素子が二次元配列された受光面を有する撮像素子11とA/D変換回路(不図示)とを備えており、撮像光学系(不図示)によって受光面に結像した被写体像の画像信号をディジタルの画像データとして出力する。また、撮像部10は、各遅延部14の遅延量を調整するためのテストデータを撮像された画像データの先頭に付加するテストデータ付加部12をさらに有する。   The imaging unit 10 of the first embodiment includes an imaging element 11 having a light receiving surface in which a plurality of light receiving elements are two-dimensionally arranged, and an A / D conversion circuit (not shown), and an imaging optical system (not shown). The image signal of the subject image formed on the light receiving surface is output as digital image data. The imaging unit 10 further includes a test data adding unit 12 that adds test data for adjusting the delay amount of each delay unit 14 to the head of the imaged image data.

ここで、本第1の実施形態の撮像部10には、画像信号を並列出力するn本のデータ信号線DATA0〜DATAn(n=0、1、2、…)の一端と、基準信号であるクロック信号を出力するクロック信号線CLKの一端とが接続されている。これら各信号線の他端は信号処理回路13に接続されており、撮像部10と信号処理回路13とのデータ転送では、n個のチャネルによって画像データをパラレル方式で転送される。   Here, the imaging unit 10 of the first embodiment includes one end of n data signal lines DATA0 to DATAn (n = 0, 1, 2,...) For outputting image signals in parallel and a reference signal. One end of a clock signal line CLK that outputs a clock signal is connected. The other end of each signal line is connected to the signal processing circuit 13, and in the data transfer between the imaging unit 10 and the signal processing circuit 13, the image data is transferred by n channels in a parallel manner.

信号処理回路13は、撮像部10から入力されたディジタルの画像信号に各種の画像処理を施すプリプロセス回路である。この信号処理回路13は、データ信号線DATA0〜DATAn毎に1組の遅延部14、取込部15および遅延制御部16を有し、さらに画像処理部17と記憶部18とを備える。遅延部14および取込部15はそれぞれ遅延制御部16と接続している。また、各取込部15は画像処理部17と、各遅延制御部16は記憶部18とそれぞれ接続している。なお、画像処理部17は、ディジタルの画像信号に各種の画像処理(欠陥画素補正、色補間、階調補正、ホワイトバランス調整、エッジ強調など)を施す回路構成である。   The signal processing circuit 13 is a preprocess circuit that performs various types of image processing on the digital image signal input from the imaging unit 10. The signal processing circuit 13 includes a set of delay unit 14, capture unit 15, and delay control unit 16 for each of the data signal lines DATA 0 to DATAn, and further includes an image processing unit 17 and a storage unit 18. The delay unit 14 and the capture unit 15 are each connected to the delay control unit 16. Each capturing unit 15 is connected to an image processing unit 17, and each delay control unit 16 is connected to a storage unit 18. The image processing unit 17 has a circuit configuration that performs various types of image processing (defective pixel correction, color interpolation, gradation correction, white balance adjustment, edge enhancement, etc.) on a digital image signal.

遅延部14は、各データ信号線DATA0〜DATAnのデータ信号の遅延量を制御する回路である。図2は遅延部14の構成例を示す模式図である。遅延部14は、複数段直列に接続された複数の遅延素子30(インバータなど)、各遅延素子30の出力と接続された複数のパス31およびパス31のいずれかを遅延制御部16の指示に従って選択するセレクタ32から構成される。そして、各データ信号線DATA0〜DATAnは、セレクタ32によって選択されたパス31に応じて、各々の遅延回路から出力されるデータ信号の遅延量が制御されて取込部15に出力される。なお、遅延部14の遅延段数は、データ転送の周期の数倍分に対応するように設計される。   The delay unit 14 is a circuit that controls the delay amount of the data signals of the data signal lines DATA0 to DATAn. FIG. 2 is a schematic diagram illustrating a configuration example of the delay unit 14. The delay unit 14 includes a plurality of delay elements 30 (inverters and the like) connected in series in a plurality of stages, and a plurality of paths 31 and paths 31 connected to the output of each delay element 30 in accordance with an instruction from the delay control unit 16. It consists of a selector 32 to select. The data signal lines DATA0 to DATAn are output to the capturing unit 15 with the delay amount of the data signal output from each delay circuit being controlled according to the path 31 selected by the selector 32. The number of delay stages of the delay unit 14 is designed to correspond to several times the data transfer period.

取込部15は、クロック信号線CLKと接続されており、クロック信号の立ち上がりまたは立ち下がりのタイミングに同期してデータ信号の示す値を取り込む。そして、取込部15は、データ信号の示す値を遅延制御部16および画像処理部17に出力する。なお、後述の動作例での取込部15は、クロック信号の立ち上がりのタイミングでデータ信号の値を取り込むものとする。   The capturing unit 15 is connected to the clock signal line CLK, and captures the value indicated by the data signal in synchronization with the rising or falling timing of the clock signal. Then, the capture unit 15 outputs the value indicated by the data signal to the delay control unit 16 and the image processing unit 17. Note that the capturing unit 15 in the operation example described later captures the value of the data signal at the rising timing of the clock signal.

遅延制御部16は、一対の遅延部14および取込部15を制御するプロセッサである。図3は、本第1の実施形態における遅延制御部16の構成例を示す模式図である。遅延制御部16は、画像データの前に転送されるテストデータによる取込部15の出力パターンに基づいてデータ信号線DATA0とクロック信号線CLKとの遅延量が一致したか否かを判定する判定部35、判定部35の判定に基づいて遅延部14における遅延量を増加させる遅延カウントアップ回路36、記憶部18に保持されている遅延量の初期値を読み込んで保持する保持部37およびいずれかの遅延量を選択するセレクタ38から構成される。これにより、遅延制御部16は、取込部15の出力に基づいて遅延部14の遅延量を決定する。なお、保持部37は、遅延制御部16内部に備えられているメモリでも良いし、外部のRAM等のメモリでも良い。   The delay control unit 16 is a processor that controls the pair of delay units 14 and the capture unit 15. FIG. 3 is a schematic diagram illustrating a configuration example of the delay control unit 16 in the first embodiment. The delay control unit 16 determines whether or not the delay amounts of the data signal line DATA0 and the clock signal line CLK match based on the output pattern of the capturing unit 15 based on the test data transferred before the image data. 35, a delay count-up circuit 36 that increases the delay amount in the delay unit 14 based on the determination of the determination unit 35, a holding unit 37 that reads and holds the initial value of the delay amount held in the storage unit 18, and any one of them The selector 38 selects the delay amount. Thereby, the delay control unit 16 determines the delay amount of the delay unit 14 based on the output of the capturing unit 15. The holding unit 37 may be a memory provided in the delay control unit 16 or a memory such as an external RAM.

記憶部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 delay unit 14 read by the holding unit 37 of the delay control unit 16 obtained in advance in a manufacturing process or the like is recorded.

次に、本第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 data transfer apparatus 100 according to the first embodiment will be described. Note that the configurations of the delay unit 14, the capture unit 15, and the delay control unit 16 of the data signal lines DATA0 to DATAn are the same. Therefore, in the following example, only the case of the data signal line DATA0 will be described for the sake of simplicity. However, the same processing is actually performed in parallel on the other data signal lines DATA1 to DATAn. This process is executed at a timing when image data captured by the imaging unit 10 is transferred. In the first embodiment, before the data transfer, the test data adding unit 12 adjusts the delay of the delay unit 14 in each of the data signal lines DATA0 to DATAn at the head of the image data captured by the image sensor 11. Test data is added (see FIG. 5). Note that the test data in the first embodiment includes a binary data string in which “0” and “1” are repeated in the same cycle as the clock signal. The data amount of the test data can be arbitrarily determined. In the first embodiment, the data signal lines DATA0 to DATAn are transferred for 1 second.

以下において、テストデータの転送時間内で遅延調節の作業が終了する場合と終了しない場合とに分けて説明する。
(テストデータ転送時間内に遅延調整が完了する場合)
図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 delay control unit 16 initializes the delay amount of the delay unit 14, and reads the initial value of the delay amount of the delay unit 14 from the storage unit 18 and holds it in the holding unit 37. The delay control unit 16 instructs the output start of the image data to which the test data is added in the imaging unit 10 described above. Thereby, test data is output from the imaging unit 10 to the data signal lines DATA0 to DATAn in synchronization with the clock signal. Then, the test data of the data signal line DATA0 is input to the capturing unit 15 via the delay unit 14.

ステップS102:遅延制御部16は、判定部35にクロック信号の立ち上がりのタイミングで取込部15から入力された値が「0」であるか否かを判定させる。「0」である場合にはステップS104(YES側)に移行する。一方、「0」でない場合にはステップS103(NO側)に移行する。   Step S102: The delay control unit 16 causes the determination unit 35 to determine whether or not the value input from the capture unit 15 at the rising timing of the clock signal is “0”. If it is “0”, the process proceeds to step S104 (YES side). On the other hand, if it is not “0”, the process proceeds to step S103 (NO side).

ステップS103:遅延制御部16は、判定部35に基づいて遅延カウントアップ回路36に対して遅延部14の遅延量(遅延回路の遅延段数)を「1」増加させて位相を遅らせる指令を出す。その後、遅延制御部16はステップS102に戻る。なお、ステップS102のNO側からステップS103までのループは、テストデータでの信号波形の立ち上がり位置を探索するために、データ信号の取り込み位置を「0」値のところまで一旦シフトさせる動作に相当する。   Step S103: The delay control unit 16 issues a command to increase the delay amount of the delay unit 14 (the number of delay stages of the delay circuit) by “1” to the delay count-up circuit 36 based on the determination unit 35 to delay the phase. Thereafter, the delay control unit 16 returns to Step S102. The loop from the NO side to step S103 in step S102 corresponds to the operation of temporarily shifting the data signal capture position to the value “0” in order to search for the rising position of the signal waveform in the test data. .

ステップS104:遅延制御部16は、判定部35にクロック信号の立ち上がりのタイミングで取込部15から入力された値が「1」であるか否かを判定させる。「1」である場合にはステップS106(YES側)に移行する。一方、「1」でない場合にはステップS105(NO側)に移行する。   Step S104: The delay control unit 16 causes the determination unit 35 to determine whether or not the value input from the capture unit 15 at the rising timing of the clock signal is “1”. If “1”, the process proceeds to step S106 (YES side). On the other hand, if it is not “1”, the process proceeds to step S105 (NO side).

ステップS105:遅延制御部16は、遅延カウントアップ回路36に遅延部14の遅延量を「1」増加させて位相を遅らせる指示を出す。その後、遅延制御部16はステップS104に戻る。なお、ステップS104のNO側からステップS105までのループは、テストデータでの信号波形の立ち下がり位置までデータ信号の取り込み位置をシフトさせる動作に相当する。   Step S105: The delay control unit 16 instructs the delay count-up circuit 36 to increase the delay amount of the delay unit 14 by “1” and delay the phase. Thereafter, the delay control unit 16 returns to Step S104. Note that the loop from the NO side to step S105 in step S104 corresponds to the operation of shifting the data signal capture position to the falling position of the signal waveform in the test data.

ステップS106:遅延制御部16は、遅延部14の現在の遅延量を「delay_start」として保持部37に一時的に保持する。なお、ステップS106で保持された遅延量「delay_start」は、テストデータでの信号波形の立ち下がり位置に対応する(図6参照)。   Step S106: The delay control unit 16 temporarily holds the current delay amount of the delay unit 14 in the holding unit 37 as “delay_start”. Note that the delay amount “delay_start” held in step S106 corresponds to the falling position of the signal waveform in the test data (see FIG. 6).

ステップS107:遅延制御部16は、判定部35にクロック信号の立ち上がりのタイミングで取込部15から入力された値が「0」であるか否かを判定させる。「0」である場合にはステップS109(YES側)に移行する。一方、「0」でない場合にはステップS108(NO側)に移行する。   Step S107: The delay control unit 16 causes the determination unit 35 to determine whether or not the value input from the capture unit 15 at the rising timing of the clock signal is “0”. If it is “0”, the process proceeds to step S109 (YES side). On the other hand, if it is not “0”, the process proceeds to step S108 (NO side).

ステップS108:遅延制御部16は、遅延カウントアップ回路36に遅延部14の遅延量を「1」増加させて位相を遅らせる指示を出す。その後、遅延制御部16はステップS107に戻る。なお、ステップS107のNO側からステップS108までのループは、テストデータでの信号波形の立ち上がり位置までデータ信号の取り込み位置をシフトさせる動作に相当する。   Step S108: The delay control unit 16 instructs the delay count-up circuit 36 to increase the delay amount of the delay unit 14 by “1” and delay the phase. Thereafter, the delay control unit 16 returns to Step S107. Note that the loop from the NO side to step S108 in step S107 corresponds to an operation of shifting the data signal capturing position to the rising position of the signal waveform in the test data.

ステップS109:遅延制御部16は、遅延部14の現在の遅延量を「delay_end」として保持部37に一時的に保持する。なお、ステップS109で記録された遅延量「delay_end」は、テストデータでの信号波形の立ち上がり位置に対応する(図6参照)。遅延制御部16は、判定部35に対して、AND回路19へ遅延量の調整が終了したことを伝えるフラグ信号を出力させる。   Step S109: The delay control unit 16 temporarily holds the current delay amount of the delay unit 14 in the holding unit 37 as “delay_end”. The delay amount “delay_end” recorded in step S109 corresponds to the rising position of the signal waveform in the test data (see FIG. 6). The delay control unit 16 causes the determination unit 35 to output a flag signal that informs the AND circuit 19 that the adjustment of the delay amount has been completed.

ステップ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 delay control unit 16 uses the delay amount “delay_start” acquired in step S106 and the delay amount “delay_end” acquired in step S109, to determine the delay amount (data signal) of the delay unit 14 during data communication. Determine the reference capture position). Specifically, the delay control unit 16 calculates the reference capture position of the data signal by the following equation (1).
Reference capture position = (delay_end−delay_start) / 2 + delay_start (1)
Step S111: The delay control unit 16 causes the delay count-up circuit 36 to output the number of delay stages of the delay element 30 corresponding to the reference capture position obtained in step S110, and transmits it to the delay unit 14 through the selector 38. At the same time, the delay control unit 16 updates the initial value data of the storage unit 18 and the initial value of the holding unit 37 by using the newly obtained delay stage number of the delay element 30 as a new initial value of the delay unit 14 to adjust the delay. Finish the work.

他のデータ信号線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 delay units 14 of the other data signal lines DATA1 to DATAn. When the delay adjustment of all the delay units 14 is completed and the AND circuit 19 receives a flag signal indicating completion of delay adjustment from the determination unit 35 of the delay control unit 16, the AND circuit 19 outputs a delay adjustment completion signal. The delay adjustment completion signal is input to the selector 38 of each delay control unit 16, and the delay amount of each delay unit 14 is fixed while the image data is being transferred. Thereafter, the image data transferred to the data signal lines DATA0 to DATAn in synchronization with the clock signal is acquired by the capturing unit 15 via the delay unit 14 adjusted to an appropriate delay amount and sent to the image processing unit 17. Is output.
(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 determination unit 35 of the data signal line whose delay adjustment has not ended is performed. Then, a flag signal indicating the end of the test data is output. The delay control unit 16 causes the selector 38 to output the initial value of the number of delay stages of the delay element 30 held in the holding unit 37 as the delay amount of the delay unit 14, and at the same time, causes the determination unit 35 to the AND circuit 19. A flag signal for which delay adjustment has been completed is output.

全ての遅延制御部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 delay control units 16, the AND circuit 19 sends a delay adjustment completion signal in the same manner as when the delay adjustment is completed within the test data transfer time. Output. The delay adjustment completion signal is input to the selector 38 of each delay control unit 16, and the delay amount of the delay unit 14 is fixed while the image data is being transferred. Thereafter, the image data transferred to the data signal lines DATA0 to DATAn in synchronization with the clock signal is acquired by the capturing unit 15 via the delay unit 14 adjusted to an appropriate delay amount and sent to the image processing unit 17. Is output.

このように、本第1の実施形態は、テストデータ転送時間内に各遅延部14の遅延調整を並行して行うことにより短時間で調節が完了し、レリーズタイム等の制限がある条件においても、画像データを取りこぼすことなくデータ転送ができる。   As described above, in the first embodiment, the delay adjustment of each delay unit 14 is performed in parallel within the test data transfer time, so that the adjustment is completed in a short time, and the release time is limited. Data transfer is possible without losing image data.

また、データ信号線DATA0〜DATAn毎に遅延部14の遅延調整を並行して行うことにより、パラレル方式のデータ転送装置100では等長配線設計を回避することができ、設計時において素子や配線のレイアウトの自由度が大きく向上する。   Further, by performing the delay adjustment of the delay unit 14 in parallel for each of the data signal lines DATA0 to DATAn, the parallel data transfer apparatus 100 can avoid the isometric wiring design, and at the time of designing, the elements and wirings can be avoided. Layout flexibility is greatly improved.

さらに、本第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 data transfer apparatus 100 can be improved.

また、テストデータ転送時間内に遅延調整が完了しない場合、予め記憶部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 delay unit 14 can be adjusted for delay.
<< Second Embodiment >>
FIG. 7 is a configuration diagram of a data transfer apparatus 200 according to the second embodiment of the present invention.

データ転送装置200は、データ信号線が3本(DATA0〜DATA2)であり、その3つのチャンネルを介して、撮像素子11によって撮像された画像の画像データ、垂直同期信号および水平同期信号をパラレル方式によって転送する。なお、本第2の実施形態に係るデータ転送装置200の構成要素は、図1の第1の実施形態に係るデータ転送装置100のものと同じであり、同じ動作をする構成要素については同じ番号を付し詳細な説明は省略する。   The data transfer apparatus 200 has three data signal lines (DATA0 to DATA2), and the image data, the vertical synchronization signal, and the horizontal synchronization signal of the image captured by the image sensor 11 are parallelized through the three channels. Forward by. Note that the components of the data transfer apparatus 200 according to the second embodiment are the same as those of the data transfer apparatus 100 according to the first embodiment of FIG. The detailed description is omitted.

そこで、本第2の実施形態に係るデータ転送装置200について、図4のフローチャートを参照しながら説明する。ただし、データ転送装置200における遅延調節の手順は、第1の実施形態と同様であり、データ信号線DATA0での場合のみ説明するが、実際には他のデータ信号線DATA1およびDATA2についても同じ処理が並行して行われる。この処理は、撮像部10で撮像された画像データを転送するタイミングで実行される。データ転送の前に、テストデータ付加部12によって、撮像素子11の撮像した画像データの先頭に、各データ信号線DATA0〜DATA2における遅延部14の遅延調整を行うためのテストデータが付加される。なお、本第2の実施形態においてもテストデータは、クロック信号と同じ周期で「0」と「1」とが繰り返される2値のデータ列であり、付加されるテストデータのデータ量は、各データ信号線DATA0〜DATA2を1秒の間転送される量とする。   Therefore, the data transfer apparatus 200 according to the second embodiment will be described with reference to the flowchart of FIG. However, the procedure of delay adjustment in the data transfer apparatus 200 is the same as that in the first embodiment, and will be described only for the data signal line DATA0. However, the same processing is actually applied to the other data signal lines DATA1 and DATA2. Are performed in parallel. This process is executed at a timing when image data captured by the imaging unit 10 is transferred. Before the data transfer, the test data adding unit 12 adds test data for adjusting the delay of the delay unit 14 in each of the data signal lines DATA0 to DATA2 to the head of the image data picked up by the image pickup device 11. Also in the second embodiment, the test data is a binary data string in which “0” and “1” are repeated in the same cycle as the clock signal, and the amount of test data to be added is as follows. The data signal lines DATA0 to DATA2 are assumed to be transferred for 1 second.

第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 delay control unit 16 initializes the delay amount of the delay unit 14, and reads the initial value of the delay amount of the delay unit 14 from the storage unit 18 and holds it in the holding unit 37. The delay control unit 16 instructs the output start of the image data to which the test data is added in the imaging unit 10 described above. Accordingly, test data is output from the imaging unit 10 to the data signal lines DATA0 to DATA2 in synchronization with the clock signal. Then, the test data of the data signal line DATA0 is input to the capturing unit 15 via the delay unit 14.

ステップS102:遅延制御部16は、判定部35にクロック信号の立ち上がりのタイミングで取込部15から入力された値が「0」であるか否かを判定させる。「0」である場合にはステップS104(YES側)に移行する。一方、「0」でない場合にはステップS103(NO側)に移行する。   Step S102: The delay control unit 16 causes the determination unit 35 to determine whether or not the value input from the capture unit 15 at the rising timing of the clock signal is “0”. If it is “0”, the process proceeds to step S104 (YES side). On the other hand, if it is not “0”, the process proceeds to step S103 (NO side).

ステップS103:遅延制御部16は、判定部35に基づいて遅延カウントアップ回路36に対して遅延部14の遅延量(遅延回路の遅延段数)を「1」増加させて位相を遅らせる指令を出す。その後、遅延制御部16はステップS102に戻る。   Step S103: The delay control unit 16 issues a command to increase the delay amount of the delay unit 14 (the number of delay stages of the delay circuit) by “1” to the delay count-up circuit 36 based on the determination unit 35 to delay the phase. Thereafter, the delay control unit 16 returns to Step S102.

ステップS104:遅延制御部16は、判定部35にクロック信号の立ち上がりのタイミングで取込部15から入力された値が「1」であるか否かを判定させる。「1」である場合にはステップS106(YES側)に移行する。一方、「1」でない場合にはステップS105(NO側)に移行する。   Step S104: The delay control unit 16 causes the determination unit 35 to determine whether or not the value input from the capture unit 15 at the rising timing of the clock signal is “1”. If “1”, the process proceeds to step S106 (YES side). On the other hand, if it is not “1”, the process proceeds to step S105 (NO side).

ステップS105:遅延制御部16は、遅延カウントアップ回路36に遅延部14の遅延量を「1」増加させて位相を遅らせる指示を出す。その後、遅延制御部16はステップS104に戻る。   Step S105: The delay control unit 16 instructs the delay count-up circuit 36 to increase the delay amount of the delay unit 14 by “1” and delay the phase. Thereafter, the delay control unit 16 returns to Step S104.

ステップS106:遅延制御部16は、遅延部14の現在の遅延量を「delay_start」として保持部37に一時的に保持する。   Step S106: The delay control unit 16 temporarily holds the current delay amount of the delay unit 14 in the holding unit 37 as “delay_start”.

ステップS107:遅延制御部16は、判定部35にクロック信号の立ち上がりのタイミングで取込部15から入力された値が「0」であるか否かを判定させる。「0」である場合にはステップS109(YES側)に移行する。一方、「0」でない場合にはステップS108(NO側)に移行する。   Step S107: The delay control unit 16 causes the determination unit 35 to determine whether or not the value input from the capture unit 15 at the rising timing of the clock signal is “0”. If it is “0”, the process proceeds to step S109 (YES side). On the other hand, if it is not “0”, the process proceeds to step S108 (NO side).

ステップS108:遅延制御部16は、遅延カウントアップ回路36に遅延部14の遅延量を「1」増加させて位相を遅らせる指示を出す。その後、遅延制御部16はステップS107に戻る。   Step S108: The delay control unit 16 instructs the delay count-up circuit 36 to increase the delay amount of the delay unit 14 by “1” and delay the phase. Thereafter, the delay control unit 16 returns to Step S107.

ステップS109:遅延制御部16は、遅延部14の現在の遅延量を「delay_end」として保持部37に一時的に保持する。遅延制御部16は、判定部35に対して、AND回路19へ遅延量の調整が終了したことを伝えるフラグ信号を出力させる。   Step S109: The delay control unit 16 temporarily holds the current delay amount of the delay unit 14 in the holding unit 37 as “delay_end”. The delay control unit 16 causes the determination unit 35 to output a flag signal that informs the AND circuit 19 that the adjustment of the delay amount has been completed.

ステップS110:遅延制御部16は、ステップS106で取得した遅延量「delay_start」およびステップS109で取得した遅延量「delay_end」と式(1)とを用いて、データ通信のときの遅延部14の遅延量(データ信号の基準取り込み位置)を決定する。   Step S110: The delay control unit 16 uses the delay amount “delay_start” acquired in step S106 and the delay amount “delay_end” acquired in step S109 and the equation (1) to delay the delay unit 14 during data communication. Determine the amount (reference capture position of the data signal).

ステップS111:遅延制御部16は、ステップS110で求めた基準取り込み位置に相当する遅延素子30の遅延段数を遅延カウントアップ回路36に出力させて、セレクタ38を通じて遅延部14に伝える。同時に、遅延制御部16は、新たに求めた遅延素子30の遅延段数をその遅延部14の新たな初期値として記憶部18の初期値データと保持部37の初期値とを更新して遅延調整の作業を終了する。   Step S111: The delay control unit 16 causes the delay count-up circuit 36 to output the number of delay stages of the delay element 30 corresponding to the reference capture position obtained in step S110, and transmits it to the delay unit 14 through the selector 38. At the same time, the delay control unit 16 updates the initial value data of the storage unit 18 and the initial value of the holding unit 37 by using the newly obtained delay stage number of the delay element 30 as a new initial value of the delay unit 14 to adjust the delay. Finish the work.

他のデータ信号線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 delay units 14 of the other data signal lines DATA1 and DATA2. When the delay adjustment of all the delay units 14 is completed and the AND circuit 19 receives a flag signal indicating completion of delay adjustment from the determination unit 35 of the delay control unit 16, the AND circuit 19 outputs a delay adjustment completion signal. The delay adjustment completion signal is input to the selector 38 of each delay control unit 16, and the delay amount of each delay unit 14 is fixed while the image data is being transferred. Thereafter, the image data, the vertical synchronization signal, and the horizontal synchronization signal transferred to each of the data signal lines DATA0 to DATA2 in synchronization with the clock signal are taken in via the delay unit 14 adjusted to an appropriate delay amount. Obtained by the unit 15 and output to the image processing unit 17.
(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 determination unit 35 of the data signal line whose delay adjustment has not been completed is performed. Then, a flag signal indicating the end of the test data is output. The delay control unit 16 causes the selector 38 to output the initial value of the number of delay stages of the delay element 30 held in the holding unit 37 as the delay amount of the delay unit 14. At the same time, the delay control unit 16 causes the determination unit 35 to output a flag signal whose delay adjustment has been completed to the AND circuit 19.

全ての遅延制御部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 delay control units 16, the AND circuit 19 sends a delay adjustment completion signal in the same manner as when the delay adjustment is completed within the test data transfer time. Output. The delay adjustment completion signal is input to the selector 38 of each delay control unit 16, and the delay amount of the delay unit 14 is fixed while the image data is being transferred. Thereafter, the image data, the vertical synchronization signal, and the horizontal synchronization signal transferred to each of the data signal lines DATA0 to DATA2 in synchronization with the clock signal are taken in via the delay unit 14 adjusted to an appropriate delay amount. Obtained by the unit 15 and output to the image processing unit 17.

このように、本第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 delay unit 14 of each of the data signal lines DATA0 to DATA2 is performed. Image data can be transferred at high speed without embedding codes of a vertical synchronization signal and a horizontal synchronization signal in data that has been used in data transfer.

さらに、本第2の実施形態では、テストデータ転送時間内に各遅延部14の遅延調整を並行して行うことにより短時間で調節が完了し、レリーズタイム等の制限がある条件においても、画像データを取りこぼすことなくデータ転送できる。   Furthermore, in the second embodiment, the delay adjustment of each delay unit 14 is performed in parallel within the test data transfer time, so that the adjustment is completed in a short time, and even under the condition that there is a restriction on the release time or the like. Data can be transferred without losing data.

また、データ信号線DATA0〜DATA2毎に遅延部14の遅延調整を行うことにより、パラレル方式のデータ転送装置200では等長配線設計を回避することができ、設計時において素子や配線のレイアウトの自由度が大きく向上する。   Further, by adjusting the delay of the delay unit 14 for each of the data signal lines DATA0 to DATA2, the parallel data transfer apparatus 200 can avoid the isometric wiring design, and the layout of elements and wiring can be freely set at the time of designing. The degree is greatly improved.

さらに、本第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 data transfer apparatus 200 can be further improved.

また、テストデータ転送時間内に遅延調整が完了しない場合、予め記憶部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 delay unit 14 can be adjusted for delay.
<< Third Embodiment >>
FIG. 8 is a configuration diagram of a data transfer apparatus 300 according to the third embodiment of the present invention.

データ転送装置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 data transfer device 300 has four data signal lines (DATA0 to DATA3) and is connected to the pair of data signal lines DATA0 and DATA1 or the data signal lines DATA2 and DATA3, respectively, and the capture unit 15 is connected to one delay control unit 16a. The components of the data transfer device 300 according to the third embodiment are the same as those of the data transfer device 100 according to the first embodiment of FIG. The detailed description is omitted. However, the configuration of the delay control unit 16a is the same as the configuration in the first embodiment (FIG. 3) as shown in FIG. 9, but the output of the determination unit 35a to the AND circuit 19 is lost, and the selector 38a The output is made to the two delay units 14 connected. The AND circuit 19a outputs a signal to the delay control unit 16a based on the outputs from the two capturing units 15.

本第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 imaging unit 10 is transferred. Before the data transfer, the test data adding unit 12 adds test data for adjusting the delay of the delay unit 14 in each of the data signal lines DATA0 to DATA3 to the head of the image data captured by the image sensor 11. In the third embodiment, the test data is a binary data string in which “0” and “1” are repeated in the same cycle as the clock signal. However, the amount of test data to be added is the amount of data signal lines DATA0 to DATA3 transferred for 2 seconds.

第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 delay control unit 16a initializes the delay amounts of the two delay units 14, and reads and holds the initial values of the delay amounts of the delay units 14 from the storage unit 18 in the holding unit 37, respectively. The delay control unit 16a instructs the output start of the image data to which the test data is added in the imaging unit 10 described above. Test data is output from the imaging unit 10 to the data signal lines DATA0 to DATA3 in synchronization with the clock signal. The delay control unit 16a sets the delay unit 14 so that the output from the capturing unit 15 connected to the delay unit 14 of the data signal line DATA1 is fixed to “1”. As a result, the delay adjustment of the delay unit 14 of DATA0 is first performed using the test data and the clock signal input to the capturing unit 15 via the delay unit 14 of the data signal line DATA0.

ステップS202:遅延制御部16aは、判定部35aにクロック信号の立ち上がりのタイミングでAND回路19aから入力された値が「0」であるか否かを判定させる。「0」である場合にはステップS204(YES側)に移行する。一方、「0」でない場合にはステップS203(NO側)に移行する。   Step S202: The delay control unit 16a causes the determination unit 35a to determine whether or not the value input from the AND circuit 19a is “0” at the rising timing of the clock signal. If it is “0”, the process proceeds to step S204 (YES side). On the other hand, if it is not “0”, the process proceeds to step S203 (NO side).

ステップS203:遅延制御部16aは、判定部35aに基づいて遅延カウントアップ回路36に対して遅延部14の遅延量(遅延回路の遅延段数)を「1」増加させて位相を遅らせる指令を出す。その後、遅延制御部16aはステップS202に戻る。   Step S203: The delay control unit 16a issues a command to delay the phase by increasing the delay amount of the delay unit 14 (the number of delay stages of the delay circuit) by “1” to the delay count-up circuit 36 based on the determination unit 35a. Thereafter, the delay control unit 16a returns to Step S202.

ステップS204:遅延制御部16aは、判定部35aにクロック信号の立ち上がりのタイミングでAND回路19aから入力された値が「1」であるか否かを判定させる。「1」である場合にはステップS206(YES側)に移行する。一方、「1」でない場合にはステップS205(NO側)に移行する。   Step S204: The delay control unit 16a causes the determination unit 35a to determine whether or not the value input from the AND circuit 19a is “1” at the rising timing of the clock signal. If “1”, the process proceeds to step S206 (YES side). On the other hand, if it is not “1”, the process proceeds to step S205 (NO side).

ステップS205:遅延制御部16aは、遅延カウントアップ回路36に遅延部14の遅延量を「1」増加させて位相を遅らせる指示を出す。その後、遅延制御部16aはステップS204に戻る。   Step S205: The delay control unit 16a instructs the delay count-up circuit 36 to increase the delay amount of the delay unit 14 by “1” and delay the phase. Thereafter, the delay control unit 16a returns to Step S204.

ステップS206:遅延制御部16aは、遅延部14の現在の遅延量を「delay_start」として保持部37に一時的に保持する。なお、ステップS206で保持された遅延量「delay_start」は、テストデータでの信号波形の立ち上がり位置に対応する(図6参照)。   Step S206: The delay control unit 16a temporarily holds the current delay amount of the delay unit 14 in the holding unit 37 as “delay_start”. Note that the delay amount “delay_start” held in step S206 corresponds to the rising position of the signal waveform in the test data (see FIG. 6).

ステップS207:遅延制御部16aは、判定部35aにクロック信号の立ち上がりのタイミングでAND回路19aから入力された値が「0」であるか否かを判定させる。「0」である場合にはステップS209(YES側)に移行する。一方、「0」でない場合にはステップS208(NO側)に移行する。   Step S207: The delay control unit 16a causes the determination unit 35a to determine whether or not the value input from the AND circuit 19a is “0” at the rising timing of the clock signal. If it is “0”, the process proceeds to step S209 (YES side). On the other hand, if it is not “0”, the process proceeds to step S208 (NO side).

ステップS208:遅延制御部16aは、遅延カウントアップ回路36に遅延部14の遅延量を「1」増加させて位相を遅らせる指示を出す。その後、遅延制御部16aはステップS207に戻る。   Step S208: The delay control unit 16a instructs the delay count-up circuit 36 to increase the delay amount of the delay unit 14 by “1” and delay the phase. Thereafter, the delay control unit 16a returns to Step S207.

ステップS209:遅延制御部16aは、遅延部14の現在の遅延量を「delay_end」として保持部37に一時的に保持する。なお、ステップS209で記録された遅延量「delay_end」は、テストデータでの信号波形の立ち下がり位置に対応する(図6参照)。   Step S209: The delay control unit 16a temporarily holds the current delay amount of the delay unit 14 in the holding unit 37 as “delay_end”. The delay amount “delay_end” recorded in step S209 corresponds to the falling position of the signal waveform in the test data (see FIG. 6).

ステップS210:遅延制御部16aは、ステップS206で取得した遅延量「delay_start」およびステップS209で取得した遅延量「delay_end」と式(1)とを用いて、データ通信のときの遅延部14の遅延量(データ信号の基準取り込み位置)を決定する。   Step S210: The delay control unit 16a uses the delay amount “delay_start” acquired in step S206, the delay amount “delay_end” acquired in step S209, and Expression (1) to delay the delay unit 14 during data communication. Determine the amount (reference capture position of the data signal).

ステップS211:遅延制御部16aは、ステップS210で求めた基準取り込み位置に相当する遅延素子30の遅延段数をデータ信号線DATA0の遅延部14の新たな初期値として記憶部18の初期値データと保持部37の初期値とを更新する。   Step S211: The delay control unit 16a retains the initial value data in the storage unit 18 as the new initial value of the delay unit 14 of the data signal line DATA0 with the number of delay stages of the delay element 30 corresponding to the reference capture position obtained in Step S210. The initial value of the unit 37 is updated.

ステップS212:遅延制御部16aは、判定部35aにより接続されている全ての遅延部14の遅延調整が終了したか否かを判断する。終了した場合にはステップS213(YES側)に移行する。一方、終了していない場合にはステップS202(NO側)に移行する。なお、ステップS202に移行するにあたって、遅延制御部16aは、データ信号線DATA0の遅延部14に接続された取込部15からの出力が「1」に固定されるように、その遅延部14の設定を行う。遅延制御部16aは、ステップS202からステップS212の作業をデータ信号線DATA1の遅延部14に対しても行い遅延調整する。   Step S212: The delay control unit 16a determines whether or not the delay adjustment of all the delay units 14 connected by the determination unit 35a has been completed. If completed, the process proceeds to step S213 (YES side). On the other hand, if not completed, the process proceeds to step S202 (NO side). It should be noted that when the process proceeds to step S202, the delay control unit 16a sets the output of the delay unit 14 so that the output from the capture unit 15 connected to the delay unit 14 of the data signal line DATA0 is fixed to “1”. Set up. The delay control unit 16a performs the operations from step S202 to step S212 on the delay unit 14 of the data signal line DATA1 to adjust the delay.

ステップS213:遅延制御部16aは、一連の作業で求めた一対のデータ信号線DATA0およびDATA1の遅延部14の遅延素子30の遅延段数を、それぞれの遅延部14へ出力し作業を終了する。   Step S213: The delay control unit 16a outputs the number of delay stages of the delay element 30 of the delay unit 14 of the pair of data signal lines DATA0 and DATA1 obtained in a series of operations to each delay unit 14, and ends the operation.

他の一対のデータ信号線DATA2およびDATA3の遅延部14の遅延調整についても、ステップS201からステップS213の作業が並行して行われる。その後、データ信号線DATA0〜DATA3に、クロック信号に同期して転送される画像データが、適切な遅延量に調整された遅延部14を介して、取込部15によって取得され画像処理部17へ出力される。
(テストデータ転送時間内に遅延調整が完了しない場合)
次に、テストデータの転送時間内に遅延調整が完了しない場合の手順について説明する。
For the delay adjustment of the delay unit 14 of the other pair of data signal lines DATA2 and DATA3, the operations from step S201 to step S213 are performed in parallel. Thereafter, the image data transferred to the data signal lines DATA0 to DATA3 in synchronization with the clock signal is acquired by the capturing unit 15 via the delay unit 14 adjusted to an appropriate delay amount and sent to the image processing unit 17. Is output.
(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 delay control unit 16a performs the operations from step S201 to step S213 in FIG. 10 in parallel. However, when the transfer of test data is completed before the delay adjustment to step S213 for the delay units 14 of all the data signal lines DATA0 to DATA3 is completed, the determination unit 35a displays a flag signal indicating the end of the test data. Is output. The delay control unit 16 a outputs and sets the initial value of the number of delay stages of the delay element 30 held in the holding unit 37 to the selector 38 a as the delay amount of each delay unit 14. Thereafter, the image data transferred in synchronization with the clock signal to the data signal lines DATA0 to DATA3 is acquired by the capturing unit 15 via the delay units 14 adjusted to an appropriate delay amount, and the image processing unit 17 Is output.

このように、本第3の実施形態は、データ信号線DATA1〜DATA3の遅延部14の遅延調整を行う遅延制御部16aを一部共有させて、各データ信号線DATA0〜DATA3の遅延部14の遅延調整を行うことで、データ転送の精度を維持しつつ回路規模を小さくすることができる。   As described above, in the third embodiment, a part of the delay control unit 16a that adjusts the delay of the delay unit 14 of the data signal lines DATA1 to DATA3 is shared, and the delay unit 14 of each of the data signal lines DATA0 to DATA3 is shared. By performing the delay adjustment, the circuit scale can be reduced while maintaining the accuracy of data transfer.

さらに、本第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 data transfer apparatus 300 can be further improved.

また、データ信号線DATA0〜DATA3毎に遅延部14の遅延調整を行うことにより、パラレル方式のデータ転送装置300では等長配線設計を回避することができ、設計時において素子や配線のレイアウトの自由度が大きく向上する。   Further, by adjusting the delay of the delay unit 14 for each of the data signal lines DATA0 to DATA3, the parallel data transfer apparatus 300 can avoid the isometric wiring design, and the layout of elements and wiring can be freely set at the time of designing. The degree is greatly improved.

また、テストデータ転送時間内に遅延調整が完了しない場合、予め記憶部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 delay unit 14 can be adjusted for delay.
<Supplementary items of the embodiment>
In the first to third embodiments, the example of data transfer between the imaging unit 10 and the signal processing circuit 13 in the camera has been described. However, the data transfer apparatus according to the present invention is connected between other elements in the camera. It can also be applied to data transfer. For example, instead of the imaging unit 10, an analog front end (AFE) that receives image data from the imaging element 11 having the test data adding unit 12 may be used. The data transfer apparatus according to the present invention can also be applied to a digital processing circuit incorporated in another electronic device. Furthermore, the data transfer apparatus of the present invention can also be applied to wired data transfer between mutually independent electronic devices.

なお、第1の実施形態ないし第3の実施形態では、テストデータ付加部12は直接画像データの先頭にテストデータを付加させたが、本発明はこれに限定されない。例えば、テストデータ付加部12は、テストデータと画像データとの間に、テストデータの終了コードや画像データの開始コード等を示すデータ、または空データ等を付加させても良い。   In the first to third embodiments, the test data adding unit 12 directly adds test data to the head of image data, but the present invention is not limited to this. For example, the test data adding unit 12 may add data indicating an end code of the test data, a start code of the image data, or empty data between the test data and the image data.

なお、第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 unit 15 captures the value of the data signal at the rising timing of the clock signal. However, even if the capturing unit 15 captures the value of the data signal at the falling timing of the clock signal. good.

なお、第1の実施形態ないし第3の実施形態では、遅延部14の遅延素子30の数を6つとしたが、本発明はこれに限定されない。遅延素子30の数は、1つの遅延素子30の遅延量やクロック信号に対するテストデータの位相を遅らせる範囲の大きさによって決めることができる。例えば、位相を遅らせる範囲の大きさとしては、クロック信号の1.5周期分くらいあるのが良い。   In the first embodiment to the third embodiment, the number of delay elements 30 of the delay unit 14 is six, but the present invention is not limited to this. The number of delay elements 30 can be determined by the amount of delay of one delay element 30 and the size of the range in which the phase of test data with respect to the clock signal is delayed. For example, the size of the range for delaying the phase is preferably about 1.5 cycles of the clock signal.

なお、第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 delay unit 14 that performs delay adjustment from the storage unit 18 and holds it in the holding unit 37, thereby creating a new delay. When the amount is obtained, the delay amount of the storage unit 18 is updated, but the present invention is not limited to this. For example, the delay amount of the delay unit 14 that adjusts the delay may be stored in the holding unit 37, and when a new delay amount is obtained, the delay amount of the holding unit 37 may only be updated. Thereby, the circuit scale can be further reduced.

なお、第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 delay unit 14 is stored in the storage unit 18 one by one, but the present invention is not limited to this. For example, the delay control unit 16 (16a) includes a temperature sensor, and the storage unit 18 stores a data table including a plurality of values for each temperature as an initial value of the delay amount for each delay unit 14, thereby the delay control unit. 16 (16a) may read or update the initial value of the delay amount of each delay unit 14 corresponding to the temperature such as the photographing situation measured by the temperature sensor from the data table of the storage unit 18.

なお、第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 delay unit 14 corresponding to two data signal lines is shared and controlled by one delay control unit 16a. However, the present invention is not limited to this. Three or more or all data signal lines may be shared and controlled by one delay control unit 16a. However, as the number of delay units 14 controlled by one delay control unit 16a increases, it takes time to complete the delay adjustment of all the delay units 14, and the amount of test data added to the image data also increases. It will increase. Therefore, it is preferable to determine the number of delay units 14 controlled by one delay control unit 16a according to the resolution of the image, shooting conditions, processing capability of the data transfer apparatus, and the like.

なお、第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 delay units 14 controlled by one delay control unit 16a, and the like.

なお、第3の実施形態では、AND回路19aを用いて各遅延部14の遅延調整を行ったが、本発明はこれに限定されない。例えば、OR回路を用いて各遅延部14の遅延調整を行っても良い。ただし、この場合には、遅延制御部16aは、遅延調整を行わない遅延部14に接続された取込部15から出力が「0」に固定されるように、その遅延部14を設定する必要がある。   In the third embodiment, the delay adjustment of each delay unit 14 is performed using the AND circuit 19a, but the present invention is not limited to this. For example, the delay adjustment of each delay unit 14 may be performed using an OR circuit. However, in this case, the delay control unit 16a needs to set the delay unit 14 so that the output is fixed to “0” from the capturing unit 15 connected to the delay unit 14 that does not perform delay adjustment. There is.

なお、本発明は、その精神またはその主要な特徴から逸脱することなく他の様々な形で実施することができる。そのため、上述した実施形態はあらゆる点で単なる例示に過ぎず、限定的に解釈してはならない。本発明は、特許請求の範囲によって示されるものであって、本発明は明細書本文にはなんら拘束されない。さらに、特許請求の範囲の均等範囲に属する変形や変更は、全て本発明の範囲内である。   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.

本発明の第1の実施形態に係るデータ転送装置100の構成例を示す模式図1 is a schematic diagram showing a configuration example of a data transfer apparatus 100 according to a first embodiment of the present invention. 本発明の第1の実施形態に係る遅延部14の構成例を示す模式図The schematic diagram which shows the structural example of the delay part 14 which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る遅延制御部16の構成例を示す模式図Schematic diagram showing a configuration example of the delay control unit 16 according to the first embodiment of the present invention. 本発明の第1の実施形態に係る遅延部14の遅延調整の手順を示すフローチャートThe flowchart which shows the procedure of the delay adjustment of the delay part 14 which concerns on the 1st Embodiment of this invention. テストデータ付加部12によって画像データの先頭にテストデータが付加された状態を例示する図The figure which illustrates the state where the test data was added to the head of the image data by the test data adding unit 12 本発明の第1の実施形態に係る遅延部14の遅延調整の手順を示すタイミングチャートTiming chart showing a procedure of delay adjustment of the delay unit 14 according to the first embodiment of the present invention. 本発明の第2の実施形態に係るデータ転送装置200の構成例を示す模式図Schematic diagram showing a configuration example of a data transfer apparatus 200 according to the second embodiment of the present invention 本発明の第3の実施形態に係るデータ転送装置300の構成例を示す模式図Schematic diagram showing a configuration example of a data transfer apparatus 300 according to the third embodiment of the present invention. 本発明の第3の実施形態に係る遅延制御部16aの構成例を示す模式図The schematic diagram which shows the structural example of the delay control part 16a which concerns on the 3rd Embodiment of this invention. 本発明の第3の実施形態に係る遅延部14の遅延調整の手順を示すフローチャートThe flowchart which shows the procedure of the delay adjustment of the delay part 14 which concerns on the 3rd Embodiment of this invention.

符号の説明Explanation of symbols

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 data signal is input together with a clock signal, and a capturing unit that captures the value of the data signal in synchronization with either the rising edge or the falling edge 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 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.
請求項1に記載のデータ転送装置において、The data transfer device according to claim 1, wherein
前記第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.
請求項1又は請求項2に記載のデータ転送装置と、The data transfer device according to claim 1 or 2,
被写体を撮像して画像データ信号を前記本データ信号として出力する撮像部とを備え、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
請求項3に記載の電子カメラにおいて、The electronic camera according to claim 3.
前記テストデータ信号のデータ量は、画像の解像度に応じて決定することThe data amount of the test data signal is determined according to the resolution of the image.
を特徴とする電子カメラ。An electronic camera characterized by
請求項3に記載の電子カメラにおいて、The electronic camera according to claim 3.
前記テストデータ信号のデータ量は、撮影条件に応じて決定することThe data amount of the test data signal should be determined according to the shooting conditions.
を特徴とする電子カメラ。An electronic camera characterized by
JP2008023118A 2008-02-01 2008-02-01 Data transfer device and electronic camera Expired - Fee Related JP5163162B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

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